diff --git a/dist/1.3.1/start-sygic-config.json b/dist/1.3.1/start-sygic-config.json
new file mode 100644
index 0000000..562d207
--- /dev/null
+++ b/dist/1.3.1/start-sygic-config.json
@@ -0,0 +1,22 @@
+{
+ "name": "Start Sygic Professional Navigation",
+ "supportEmail": "os-team@sygic.com",
+ "solutionId": "sygicSygic",
+ "version": "1.0",
+ "items": [
+ {
+ "url": "https://cdn.jsdelivr.net/gh/sygic/geotab@1.3.1/geotabdrive-start-sygic-addin/dist/start-sygic.html",
+ "path": "DriveAppLink/",
+ "menuName": {
+ "en": "Start Sygic Truck",
+ "de": "Sygic Truck Starten",
+ "es": "Iniciar Sygic Truck",
+ "fr": "Démarrer Sygic Truck",
+ "it": "Avviare Sygic Truck",
+ "pl": "Uruchom Sygic Truck"
+ },
+ "icon": "https://cdn.jsdelivr.net/gh/sygic/geotab@1.3.1/geotabdrive-start-sygic-addin/dist/images/icon.svg"
+ }
+ ],
+ "isSigned": "false"
+}
\ No newline at end of file
diff --git a/dist/1.3.1/truck-settings-config.json b/dist/1.3.1/truck-settings-config.json
new file mode 100644
index 0000000..f1ed8f0
--- /dev/null
+++ b/dist/1.3.1/truck-settings-config.json
@@ -0,0 +1,35 @@
+{
+ "name": "Sygic Professional Navigation",
+ "supportEmail": "os-team@sygic.com",
+ "solutionId": "sygicSygic",
+ "version": "1.0",
+ "items": [
+ {
+ "url": "https://cdn.jsdelivr.net/gh/sygic/geotab@1.3.1/mygeotab-sygic-page/dist/mygeotabSygicPage.html",
+ "path": "",
+ "menuName": {
+ "en": "Sygic Truck Settings",
+ "de": "Sygic Truck Einstellungen",
+ "es": "Configuración Sygic Truck",
+ "fr": "Paramètres Sygic Truck",
+ "it": "Sygic Truck Impostazioni",
+ "pl": "Ustawienia Sygic Truck"
+ },
+ "icon": "https://cdn.jsdelivr.net/gh/sygic/geotab@1.3.1/mygeotab-sygic-page/dist/images/icon.svg"
+ },
+ {
+ "url": "https://cdn.jsdelivr.net/gh/sygic/geotab@1.3.1/geotabdrive-sygic-addin/dist/sygic.html",
+ "path": "DriveAppLink/",
+ "menuName": {
+ "en": "Sygic Truck Settings",
+ "de": "Sygic Truck Einstellungen",
+ "es": "Configuración Sygic Truck",
+ "fr": "Paramètres Sygic Truck",
+ "it": "Sygic Truck Impostazioni",
+ "pl": "Ustawienia Sygic Truck"
+ },
+ "icon": "https://cdn.jsdelivr.net/gh/sygic/geotab@1.3.1/geotabdrive-sygic-addin/dist/images/icon.svg"
+ }
+ ],
+ "isSigned": "false"
+}
\ No newline at end of file
diff --git a/geotabdrive-start-sygic-addin/dist/config.json b/geotabdrive-start-sygic-addin/dist/config.json
index 546fb3c..562d207 100644
--- a/geotabdrive-start-sygic-addin/dist/config.json
+++ b/geotabdrive-start-sygic-addin/dist/config.json
@@ -5,7 +5,7 @@
"version": "1.0",
"items": [
{
- "url": "https://cdn.jsdelivr.net/gh/sygic/geotab@1.3.0/geotabdrive-start-sygic-addin/dist/start-sygic.html",
+ "url": "https://cdn.jsdelivr.net/gh/sygic/geotab@1.3.1/geotabdrive-start-sygic-addin/dist/start-sygic.html",
"path": "DriveAppLink/",
"menuName": {
"en": "Start Sygic Truck",
@@ -15,7 +15,7 @@
"it": "Avviare Sygic Truck",
"pl": "Uruchom Sygic Truck"
},
- "icon": "https://cdn.jsdelivr.net/gh/sygic/geotab@1.3.0/geotabdrive-start-sygic-addin/dist/images/icon.svg"
+ "icon": "https://cdn.jsdelivr.net/gh/sygic/geotab@1.3.1/geotabdrive-start-sygic-addin/dist/images/icon.svg"
}
],
"isSigned": "false"
diff --git a/geotabdrive-start-sygic-addin/dist/start-sygic.html b/geotabdrive-start-sygic-addin/dist/start-sygic.html
index babb456..940a6c4 100644
--- a/geotabdrive-start-sygic-addin/dist/start-sygic.html
+++ b/geotabdrive-start-sygic-addin/dist/start-sygic.html
@@ -1 +1 @@
-
Sygic truck
\ No newline at end of file
+ Sygic truck
\ No newline at end of file
diff --git a/geotabdrive-start-sygic-addin/dist/start-sygic.js b/geotabdrive-start-sygic-addin/dist/start-sygic.js
index 1575708..32f32c4 100644
--- a/geotabdrive-start-sygic-addin/dist/start-sygic.js
+++ b/geotabdrive-start-sygic-addin/dist/start-sygic.js
@@ -1 +1 @@
-!function(t){var n={};function r(e){var i;return(n[e]||(i=n[e]={i:e,l:!1,exports:{}},t[e].call(i.exports,i,i.exports,r),i.l=!0,i)).exports}r.m=t,r.c=n,r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,n){if(1&n&&(t=r(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var i in t)r.d(e,i,function(n){return t[n]}.bind(null,i));return e},r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,"a",n),n},r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.p="https://cdn.jsdelivr.net/gh/sygic/geotab@1.3.0/geotabdrive-start-sygic-addin/dist/",r(r.s=2)}([function(t,n,r){"use strict";(function(t){r.d(n,"e",(function(){return e})),r.d(n,"p",(function(){return i})),r.d(n,"a",(function(){return o})),r.d(n,"c",(function(){return u})),r.d(n,"d",(function(){return a})),r.d(n,"o",(function(){return c})),r.d(n,"q",(function(){return f})),r.d(n,"t",(function(){return l})),r.d(n,"i",(function(){return s})),r.d(n,"r",(function(){return d})),r.d(n,"s",(function(){return h})),r.d(n,"k",(function(){return p})),r.d(n,"m",(function(){return v})),r.d(n,"j",(function(){return y})),r.d(n,"l",(function(){return g})),r.d(n,"g",(function(){return m})),r.d(n,"f",(function(){return w})),r.d(n,"h",(function(){return b})),r.d(n,"n",(function(){return x})),r.d(n,"b",(function(){return _}));var e="1.13.1",i="object"==typeof self&&self.self===self&&self||"object"==typeof t&&t.global===t&&t||Function("return this")()||{},o=Array.prototype,u=Object.prototype,a="undefined"!=typeof Symbol?Symbol.prototype:null,c=o.push,f=o.slice,l=u.toString,s=u.hasOwnProperty,d="undefined"!=typeof ArrayBuffer,h="undefined"!=typeof DataView,p=Array.isArray,v=Object.keys,y=Object.create,g=d&&ArrayBuffer.isView,m=isNaN,w=isFinite,b=!{toString:null}.propertyIsEnumerable("toString"),x=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],_=Math.pow(2,53)-1}).call(this,r(5))},function(t,n,r){"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */i=function(){return t};var t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,n,r){t[n]=r.value},u=(y="function"==typeof Symbol?Symbol:{}).iterator||"@@iterator",a=y.asyncIterator||"@@asyncIterator",c=y.toStringTag||"@@toStringTag";function f(t,n,r){return Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[n]}try{f({},"")}catch(n){f=function(t,n,r){return t[n]=r}}function l(t,n,r,e){var i,u,a,c;n=n&&n.prototype instanceof h?n:h,n=Object.create(n.prototype),e=new j(e||[]);return o(n,"_invoke",{value:(i=t,u=r,a=e,c="suspendedStart",function(t,n){if("executing"===c)throw new Error("Generator is already running");if("completed"===c){if("throw"===t)throw n;return{value:void 0,done:!0}}for(a.method=t,a.arg=n;;){var r=a.delegate;if(r&&(r=function t(n,r){var e=r.method,i=n.iterator[e];return void 0===i?(r.delegate=null,"throw"===e&&n.iterator.return&&(r.method="return",r.arg=void 0,t(n,r),"throw"===r.method)||"return"!==e&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+e+"' method")),d):"throw"===(e=s(i,n.iterator,r.arg)).type?(r.method="throw",r.arg=e.arg,r.delegate=null,d):(i=e.arg)?i.done?(r[n.resultName]=i.value,r.next=n.nextLoc,"return"!==r.method&&(r.method="next",r.arg=void 0),r.delegate=null,d):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}(r,a))){if(r===d)continue;return r}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if("suspendedStart"===c)throw c="completed",a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);if(c="executing","normal"===(r=s(i,u,a)).type){if(c=a.done?"completed":"suspendedYield",r.arg===d)continue;return{value:r.arg,done:a.done}}"throw"===r.type&&(c="completed",a.method="throw",a.arg=r.arg)}})}),n}function s(t,n,r){try{return{type:"normal",arg:t.call(n,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var d={};function h(){}function p(){}function v(){}var y,g,m=((g=(g=(f(y={},u,(function(){return this})),Object.getPrototypeOf))&&g(g(E([]))))&&g!==n&&r.call(g,u)&&(y=g),v.prototype=h.prototype=Object.create(y));function w(t){["next","throw","return"].forEach((function(n){f(t,n,(function(t){return this._invoke(n,t)}))}))}function b(t,n){var i;o(this,"_invoke",{value:function(o,u){function a(){return new n((function(i,a){!function i(o,u,a,c){var f;if("throw"!==(o=s(t[o],t,u)).type)return(u=(f=o.arg).value)&&"object"==e(u)&&r.call(u,"__await")?n.resolve(u.__await).then((function(t){i("next",t,a,c)}),(function(t){i("throw",t,a,c)})):n.resolve(u).then((function(t){f.value=t,a(f)}),(function(t){return i("throw",t,a,c)}));c(o.arg)}(o,u,i,a)}))}return i=i?i.then(a,a):a()}})}function x(t){var n={tryLoc:t[0]};1 in t&&(n.catchLoc=t[1]),2 in t&&(n.finallyLoc=t[2],n.afterLoc=t[3]),this.tryEntries.push(n)}function _(t){var n=t.completion||{};n.type="normal",delete n.arg,t.completion=n}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function E(t){if(t){var n,e=t[u];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return n=-1,(e=function e(){for(;++nt.length)&&(n=t.length);for(var r=0,e=new Array(n);r=t.length?{done:!0}:{done:!1,value:t[o++]}},e:function(t){throw t},f:n};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}("123456789I");try{for(o.s();!(e=o.n()).done;){var u=e.value;t.querySelector("input[name=sygic-truck-hazmat-class".concat(u,"]")).checked&&(i+=u)}}catch(t){o.e(t)}finally{o.f()}var a=t.querySelector("input[name=sygic-truck-hazmat-general]").checked,c=t.querySelector("select[name=sygic-truck-hazmat-adr_tunnel]").value,f=t.querySelector("input[name=sygic-truck-hazmat-water]").checked;r.hazmat.h_class=i,r.hazmat.general=a,r.hazmat.adr_tunnel=c,r.hazmat.water=f}return r}};n.Dimensions=O},function(t,n,r){r(3),geotab.addin.sygic||r(4),r(6)},function(t,n,r){t=function(t){"use strict";var n,r=Object.prototype,e=r.hasOwnProperty,i=Object.defineProperty||function(t,n,r){t[n]=r.value},o=(w="function"==typeof Symbol?Symbol:{}).iterator||"@@iterator",u=w.asyncIterator||"@@asyncIterator",a=w.toStringTag||"@@toStringTag";function c(t,n,r){return Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[n]}try{c({},"")}catch(r){c=function(t,n,r){return t[n]=r}}function f(t,r,e,o){var u,a,c,f;r=r&&r.prototype instanceof y?r:y,r=Object.create(r.prototype),o=new S(o||[]);return i(r,"_invoke",{value:(u=t,a=e,c=o,f=s,function(t,r){if(f===h)throw new Error("Generator is already running");if(f===p){if("throw"===t)throw r;return k()}for(c.method=t,c.arg=r;;){var e=c.delegate;if(e&&(e=function t(r,e){var i=e.method,o=r.iterator[i];return o===n?(e.delegate=null,"throw"===i&&r.iterator.return&&(e.method="return",e.arg=n,t(r,e),"throw"===e.method)||"return"!==i&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+i+"' method")),v):"throw"===(i=l(o,r.iterator,e.arg)).type?(e.method="throw",e.arg=i.arg,e.delegate=null,v):(o=i.arg)?o.done?(e[r.resultName]=o.value,e.next=r.nextLoc,"return"!==e.method&&(e.method="next",e.arg=n),e.delegate=null,v):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,v)}(e,c))){if(e===v)continue;return e}if("next"===c.method)c.sent=c._sent=c.arg;else if("throw"===c.method){if(f===s)throw f=p,c.arg;c.dispatchException(c.arg)}else"return"===c.method&&c.abrupt("return",c.arg);if(f=h,"normal"===(e=l(u,a,c)).type){if(f=c.done?p:d,e.arg!==v)return{value:e.arg,done:c.done}}else"throw"===e.type&&(f=p,c.method="throw",c.arg=e.arg)}})}),r}function l(t,n,r){try{return{type:"normal",arg:t.call(n,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=f;var s="suspendedStart",d="suspendedYield",h="executing",p="completed",v={};function y(){}function g(){}function m(){}var w,b,x=((b=(b=(c(w={},o,(function(){return this})),Object.getPrototypeOf))&&b(b(A([]))))&&b!==r&&e.call(b,o)&&(w=b),m.prototype=y.prototype=Object.create(w));function _(t){["next","throw","return"].forEach((function(n){c(t,n,(function(t){return this._invoke(n,t)}))}))}function j(t,n){var r;i(this,"_invoke",{value:function(i,o){function u(){return new n((function(r,u){!function r(i,o,u,a){var c;if("throw"!==(i=l(t[i],t,o)).type)return(o=(c=i.arg).value)&&"object"==typeof o&&e.call(o,"__await")?n.resolve(o.__await).then((function(t){r("next",t,u,a)}),(function(t){r("throw",t,u,a)})):n.resolve(o).then((function(t){c.value=t,u(c)}),(function(t){return r("throw",t,u,a)}));a(i.arg)}(i,o,r,u)}))}return r=r?r.then(u,u):u()}})}function E(t){var n={tryLoc:t[0]};1 in t&&(n.catchLoc=t[1]),2 in t&&(n.finallyLoc=t[2],n.afterLoc=t[3]),this.tryEntries.push(n)}function O(t){var n=t.completion||{};n.type="normal",delete n.arg,t.completion=n}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function A(t){if(t){var r,i=t[o];if(i)return i.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return r=-1,(i=function i(){for(;++r":">",'"':""","'":"'","`":"`"}),Tt=It(rt(m)),Ft=G.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},Nt=/(.)^/,Pt={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Dt=/\\|'|\r|\n|\u2028|\u2029/g;function Ct(t){return"\\"+Pt[t]}var zt=/^\s*(\w|\$)+\s*$/;function qt(t,n,r){n=at({},n=!n&&r?r:n,G.templateSettings);r=RegExp([(n.escape||Nt).source,(n.interpolate||Nt).source,(n.evaluate||Nt).source].join("|")+"|$","g");var e,i=0,o="__p+='";if(r=(t.replace(r,(function(n,r,e,u,a){return o+=t.slice(i,a).replace(Dt,Ct),i=a+n.length,r?o+="'+\n((__t=("+r+"))==null?'':_.escape(__t))+\n'":e?o+="'+\n((__t=("+e+"))==null?'':__t)+\n'":u&&(o+="';\n"+u+"\n__p+='"),n})),o+="';\n",n.variable)){if(!zt.test(r))throw new Error("variable is not a bare identifier: "+r)}else o="with(obj||{}){\n"+o+"}\n",r="obj";o="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+o+"return __p;\n";try{e=new Function(r,"_",o)}catch(n){throw n.source=o,n}function u(t){return e.call(this,t,G)}return u.source="function("+r+"){\n"+o+"}",u}function Gt(t,n,r){var e=(n=ht(n)).length;if(!e)return w(r)?r.call(t):r;for(var i=0;it.length)&&(n=t.length);for(var r=0,e=new Array(n);r=t.length?{done:!0}:{done:!1,value:t[o++]}},e:function(t){throw t},f:n};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}("123456789I");try{for(o.s();!(e=o.n()).done;){var u=e.value;t.querySelector("input[name=sygic-truck-hazmat-class".concat(u,"]")).checked&&(i+=u)}}catch(t){o.e(t)}finally{o.f()}var a=t.querySelector("input[name=sygic-truck-hazmat-general]").checked,c=t.querySelector("select[name=sygic-truck-hazmat-adr_tunnel]").value,f=t.querySelector("input[name=sygic-truck-hazmat-water]").checked;r.hazmat.h_class=i,r.hazmat.general=a,r.hazmat.adr_tunnel=c,r.hazmat.water=f}return r}};n.Dimensions=S},function(t,n,r){r(3),geotab.addin.sygic||r(4),r(6)},function(t,n,r){t=function(t){"use strict";var n,r=Object.prototype,e=r.hasOwnProperty,i=Object.defineProperty||function(t,n,r){t[n]=r.value},o=(w="function"==typeof Symbol?Symbol:{}).iterator||"@@iterator",u=w.asyncIterator||"@@asyncIterator",a=w.toStringTag||"@@toStringTag";function c(t,n,r){return Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[n]}try{c({},"")}catch(r){c=function(t,n,r){return t[n]=r}}function f(t,r,e,o){var u,a,c,f;r=r&&r.prototype instanceof y?r:y,r=Object.create(r.prototype),o=new O(o||[]);return i(r,"_invoke",{value:(u=t,a=e,c=o,f=s,function(t,r){if(f===h)throw new Error("Generator is already running");if(f===p){if("throw"===t)throw r;return k()}for(c.method=t,c.arg=r;;){var e=c.delegate;if(e&&(e=function t(r,e){var i=e.method,o=r.iterator[i];return o===n?(e.delegate=null,"throw"===i&&r.iterator.return&&(e.method="return",e.arg=n,t(r,e),"throw"===e.method)||"return"!==i&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+i+"' method")),v):"throw"===(i=l(o,r.iterator,e.arg)).type?(e.method="throw",e.arg=i.arg,e.delegate=null,v):(o=i.arg)?o.done?(e[r.resultName]=o.value,e.next=r.nextLoc,"return"!==e.method&&(e.method="next",e.arg=n),e.delegate=null,v):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,v)}(e,c))){if(e===v)continue;return e}if("next"===c.method)c.sent=c._sent=c.arg;else if("throw"===c.method){if(f===s)throw f=p,c.arg;c.dispatchException(c.arg)}else"return"===c.method&&c.abrupt("return",c.arg);if(f=h,"normal"===(e=l(u,a,c)).type){if(f=c.done?p:d,e.arg!==v)return{value:e.arg,done:c.done}}else"throw"===e.type&&(f=p,c.method="throw",c.arg=e.arg)}})}),r}function l(t,n,r){try{return{type:"normal",arg:t.call(n,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=f;var s="suspendedStart",d="suspendedYield",h="executing",p="completed",v={};function y(){}function g(){}function m(){}var w,b,x=((b=(b=(c(w={},o,(function(){return this})),Object.getPrototypeOf))&&b(b(A([]))))&&b!==r&&e.call(b,o)&&(w=b),m.prototype=y.prototype=Object.create(w));function _(t){["next","throw","return"].forEach((function(n){c(t,n,(function(t){return this._invoke(n,t)}))}))}function j(t,n){var r;i(this,"_invoke",{value:function(i,o){function u(){return new n((function(r,u){!function r(i,o,u,a){var c;if("throw"!==(i=l(t[i],t,o)).type)return(o=(c=i.arg).value)&&"object"==typeof o&&e.call(o,"__await")?n.resolve(o.__await).then((function(t){r("next",t,u,a)}),(function(t){r("throw",t,u,a)})):n.resolve(o).then((function(t){c.value=t,u(c)}),(function(t){return r("throw",t,u,a)}));a(i.arg)}(i,o,r,u)}))}return r=r?r.then(u,u):u()}})}function E(t){var n={tryLoc:t[0]};1 in t&&(n.catchLoc=t[1]),2 in t&&(n.finallyLoc=t[2],n.afterLoc=t[3]),this.tryEntries.push(n)}function S(t){var n=t.completion||{};n.type="normal",delete n.arg,t.completion=n}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function A(t){if(t){var r,i=t[o];if(i)return i.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return r=-1,(i=function i(){for(;++r":">",'"':""","'":"'","`":"`"}),Tt=It(rt(m)),Ft=G.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},Nt=/(.)^/,Pt={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Dt=/\\|'|\r|\n|\u2028|\u2029/g;function Ct(t){return"\\"+Pt[t]}var zt=/^\s*(\w|\$)+\s*$/;function qt(t,n,r){n=at({},n=!n&&r?r:n,G.templateSettings);r=RegExp([(n.escape||Nt).source,(n.interpolate||Nt).source,(n.evaluate||Nt).source].join("|")+"|$","g");var e,i=0,o="__p+='";if(r=(t.replace(r,(function(n,r,e,u,a){return o+=t.slice(i,a).replace(Dt,Ct),i=a+n.length,r?o+="'+\n((__t=("+r+"))==null?'':_.escape(__t))+\n'":e?o+="'+\n((__t=("+e+"))==null?'':__t)+\n'":u&&(o+="';\n"+u+"\n__p+='"),n})),o+="';\n",n.variable)){if(!zt.test(r))throw new Error("variable is not a bare identifier: "+r)}else o="with(obj||{}){\n"+o+"}\n",r="obj";o="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+o+"return __p;\n";try{e=new Function(r,"_",o)}catch(n){throw n.source=o,n}function u(t){return e.call(this,t,G)}return u.source="function("+r+"){\n"+o+"}",u}function Gt(t,n,r){var e=(n=ht(n)).length;if(!e)return w(r)?r.call(t):r;for(var i=0;i Sygic truck My Plans
missing_tripsactivityreport_warning
missing_vehicle_warning
missing_devicelist_viewaddindata_warning
\ No newline at end of file
+ Sygic truck My Plans
missing_tripsactivityreport_warning
missing_vehicle_warning
missing_devicelist_viewaddindata_warning
\ No newline at end of file
diff --git a/geotabdrive-sygic-addin/dist/sygic.js b/geotabdrive-sygic-addin/dist/sygic.js
index 09db4db..34e466a 100644
--- a/geotabdrive-sygic-addin/dist/sygic.js
+++ b/geotabdrive-sygic-addin/dist/sygic.js
@@ -1 +1 @@
-!function(n){var t={};function e(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return n[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}e.m=n,e.c=t,e.d=function(n,t,r){e.o(n,t)||Object.defineProperty(n,t,{enumerable:!0,get:r})},e.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},e.t=function(n,t){if(1&t&&(n=e(n)),8&t)return n;if(4&t&&"object"==typeof n&&n&&n.__esModule)return n;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var i in n)e.d(r,i,function(t){return n[t]}.bind(null,i));return r},e.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(t,"a",t),t},e.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},e.p="https://cdn.jsdelivr.net/gh/sygic/geotab@1.3.0/geotabdrive-sygic-addin/dist/",e(e.s=4)}([function(n,t,e){"use strict";(function(n){e.d(t,"e",(function(){return r})),e.d(t,"p",(function(){return i})),e.d(t,"a",(function(){return u})),e.d(t,"c",(function(){return o})),e.d(t,"d",(function(){return a})),e.d(t,"o",(function(){return c})),e.d(t,"q",(function(){return f})),e.d(t,"t",(function(){return l})),e.d(t,"i",(function(){return s})),e.d(t,"r",(function(){return d})),e.d(t,"s",(function(){return h})),e.d(t,"k",(function(){return p})),e.d(t,"m",(function(){return v})),e.d(t,"j",(function(){return y})),e.d(t,"l",(function(){return m})),e.d(t,"g",(function(){return g})),e.d(t,"f",(function(){return b})),e.d(t,"h",(function(){return w})),e.d(t,"n",(function(){return x})),e.d(t,"b",(function(){return _}));var r="1.13.1",i="object"==typeof self&&self.self===self&&self||"object"==typeof n&&n.global===n&&n||Function("return this")()||{},u=Array.prototype,o=Object.prototype,a="undefined"!=typeof Symbol?Symbol.prototype:null,c=u.push,f=u.slice,l=o.toString,s=o.hasOwnProperty,d="undefined"!=typeof ArrayBuffer,h="undefined"!=typeof DataView,p=Array.isArray,v=Object.keys,y=Object.create,m=d&&ArrayBuffer.isView,g=isNaN,b=isFinite,w=!{toString:null}.propertyIsEnumerable("toString"),x=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],_=Math.pow(2,53)-1}).call(this,e(3))},function(n,t,e){"use strict";(function(n){e.d(t,"e",(function(){return r})),e.d(t,"p",(function(){return i})),e.d(t,"a",(function(){return u})),e.d(t,"c",(function(){return o})),e.d(t,"d",(function(){return a})),e.d(t,"o",(function(){return c})),e.d(t,"q",(function(){return f})),e.d(t,"t",(function(){return l})),e.d(t,"i",(function(){return s})),e.d(t,"r",(function(){return d})),e.d(t,"s",(function(){return h})),e.d(t,"k",(function(){return p})),e.d(t,"m",(function(){return v})),e.d(t,"j",(function(){return y})),e.d(t,"l",(function(){return m})),e.d(t,"g",(function(){return g})),e.d(t,"f",(function(){return b})),e.d(t,"h",(function(){return w})),e.d(t,"n",(function(){return x})),e.d(t,"b",(function(){return _}));var r="1.13.1",i="object"==typeof self&&self.self===self&&self||"object"==typeof n&&n.global===n&&n||Function("return this")()||{},u=Array.prototype,o=Object.prototype,a="undefined"!=typeof Symbol?Symbol.prototype:null,c=u.push,f=u.slice,l=o.toString,s=o.hasOwnProperty,d="undefined"!=typeof ArrayBuffer,h="undefined"!=typeof DataView,p=Array.isArray,v=Object.keys,y=Object.create,m=d&&ArrayBuffer.isView,g=isNaN,b=isFinite,w=!{toString:null}.propertyIsEnumerable("toString"),x=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],_=Math.pow(2,53)-1}).call(this,e(3))},function(n,t,e){"use strict";function r(n){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function i(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */i=function(){return t};var n,t={},e=Object.prototype,u=e.hasOwnProperty,o=Object.defineProperty||function(n,t,e){n[t]=e.value},a="function"==typeof Symbol?Symbol:{},c=a.iterator||"@@iterator",f=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function s(n,t,e){return Object.defineProperty(n,t,{value:e,enumerable:!0,configurable:!0,writable:!0}),n[t]}try{s({},"")}catch(n){s=function(n,t,e){return n[t]=e}}function d(t,e,r,i){var u,a,c,f;e=e&&e.prototype instanceof b?e:b,e=Object.create(e.prototype),i=new O(i||[]);return o(e,"_invoke",{value:(u=t,a=r,c=i,f=p,function(t,e){if(f===y)throw new Error("Generator is already running");if(f===m){if("throw"===t)throw e;return{value:n,done:!0}}for(c.method=t,c.arg=e;;){var r=c.delegate;if(r){var i=function t(e,r){var i,u=r.method;return(i=e.iterator[u])===n?(r.delegate=null,"throw"===u&&e.iterator.return&&(r.method="return",r.arg=n,t(e,r),"throw"===r.method)||"return"!==u&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+u+"' method")),g):"throw"===(i=h(i,e.iterator,r.arg)).type?(r.method="throw",r.arg=i.arg,r.delegate=null,g):(i=i.arg)?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=n),r.delegate=null,g):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}(r,c);if(i){if(i===g)continue;return i}}if("next"===c.method)c.sent=c._sent=c.arg;else if("throw"===c.method){if(f===p)throw f=m,c.arg;c.dispatchException(c.arg)}else"return"===c.method&&c.abrupt("return",c.arg);if(f=y,"normal"===(i=h(u,a,c)).type){if(f=c.done?m:v,i.arg===g)continue;return{value:i.arg,done:c.done}}"throw"===i.type&&(f=m,c.method="throw",c.arg=i.arg)}})}),e}function h(n,t,e){try{return{type:"normal",arg:n.call(t,e)}}catch(n){return{type:"throw",arg:n}}}t.wrap=d;var p="suspendedStart",v="suspendedYield",y="executing",m="completed",g={};function b(){}function w(){}function x(){}var _={};s(_,c,(function(){return this})),(a=(a=Object.getPrototypeOf)&&a(a(M([]))))&&a!==e&&u.call(a,c)&&(_=a);var j=x.prototype=b.prototype=Object.create(_);function k(n){["next","throw","return"].forEach((function(t){s(n,t,(function(n){return this._invoke(t,n)}))}))}function E(n,t){var e;o(this,"_invoke",{value:function(i,o){function a(){return new t((function(e,a){!function e(i,o,a,c){if("throw"!==(i=h(n[i],n,o)).type){var f=i.arg;return(o=f.value)&&"object"==r(o)&&u.call(o,"__await")?t.resolve(o.__await).then((function(n){e("next",n,a,c)}),(function(n){e("throw",n,a,c)})):t.resolve(o).then((function(n){f.value=n,a(f)}),(function(n){return e("throw",n,a,c)}))}c(i.arg)}(i,o,e,a)}))}return e=e?e.then(a,a):a()}})}function S(n){var t={tryLoc:n[0]};1 in n&&(t.catchLoc=n[1]),2 in n&&(t.finallyLoc=n[2],t.afterLoc=n[3]),this.tryEntries.push(t)}function A(n){var t=n.completion||{};t.type="normal",delete t.arg,n.completion=t}function O(n){this.tryEntries=[{tryLoc:"root"}],n.forEach(S,this),this.reset(!0)}function M(t){if(t||""===t){if(e=t[c])return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var e,i=-1;return(e=function e(){for(;++in.length)&&(t=n.length);for(var e=0,r=new Array(t);e=n.length?{done:!0}:{done:!1,value:n[r++]}},e:function(n){throw n},f:t}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,u=!0,o=!1;return{s:function(){e=e.call(n)},n:function(){var n=e.next();return u=n.done,n},e:function(n){o=!0,i=n},f:function(){try{u||null==e.return||e.return()}finally{if(o)throw i}}}}("123456789I");try{for(u.s();!(r=u.n()).done;){var o=r.value;n.querySelector("input[name=sygic-truck-hazmat-class".concat(o,"]")).checked&&(i+=o)}}catch(n){u.e(n)}finally{u.f()}var a=n.querySelector("input[name=sygic-truck-hazmat-general]").checked,c=n.querySelector("select[name=sygic-truck-hazmat-adr_tunnel]").value,f=n.querySelector("input[name=sygic-truck-hazmat-water]").checked;e.hazmat.h_class=i,e.hazmat.general=a,e.hazmat.adr_tunnel=c,e.hazmat.water=f}return e}};t.Dimensions=A},function(n,t){var e=function(){return this}();try{e=e||new Function("return this")()}catch(n){"object"==typeof window&&(e=window)}n.exports=e},function(n,t,e){e(5),geotab.addin.sygic||e(7),e(6)},function(n,t,e){n=function(n){"use strict";var t,e=Object.prototype,r=e.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},u=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",a=i.toStringTag||"@@toStringTag";function c(n,t,e){return Object.defineProperty(n,t,{value:e,enumerable:!0,configurable:!0,writable:!0}),n[t]}try{c({},"")}catch(e){c=function(n,t,e){return n[t]=e}}function f(n,e,r,i){var u,o,a,c;e=e&&e.prototype instanceof y?e:y,e=Object.create(e.prototype),i=new E(i||[]);return e._invoke=(u=n,o=r,a=i,c=s,function(n,e){if(c===h)throw new Error("Generator is already running");if(c===p){if("throw"===n)throw e;return A()}for(a.method=n,a.arg=e;;){var r=a.delegate;if(r){var i=function n(e,r){var i;if((i=e.iterator[r.method])===t){if(r.delegate=null,"throw"===r.method){if(e.iterator.return&&(r.method="return",r.arg=t,n(e,r),"throw"===r.method))return v;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}return"throw"===(i=l(i,e.iterator,r.arg)).type?(r.method="throw",r.arg=i.arg,r.delegate=null,v):(i=i.arg)?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,v):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}(r,a);if(i){if(i===v)continue;return i}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(c===s)throw c=p,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);if(c=h,"normal"===(i=l(u,o,a)).type){if(c=a.done?p:d,i.arg!==v)return{value:i.arg,done:a.done}}else"throw"===i.type&&(c=p,a.method="throw",a.arg=i.arg)}}),e}function l(n,t,e){try{return{type:"normal",arg:n.call(t,e)}}catch(n){return{type:"throw",arg:n}}}n.wrap=f;var s="suspendedStart",d="suspendedYield",h="executing",p="completed",v={};function y(){}function m(){}function g(){}var b={};c(b,u,(function(){return this})),(i=(i=Object.getPrototypeOf)&&i(i(S([]))))&&i!==e&&r.call(i,u)&&(b=i);var w=g.prototype=y.prototype=Object.create(b);function x(n){["next","throw","return"].forEach((function(t){c(n,t,(function(n){return this._invoke(t,n)}))}))}function _(n,t){var e;this._invoke=function(i,u){function o(){return new t((function(e,o){!function e(i,u,o,a){if("throw"!==(i=l(n[i],n,u)).type){var c=i.arg;return(u=c.value)&&"object"==typeof u&&r.call(u,"__await")?t.resolve(u.__await).then((function(n){e("next",n,o,a)}),(function(n){e("throw",n,o,a)})):t.resolve(u).then((function(n){c.value=n,o(c)}),(function(n){return e("throw",n,o,a)}))}a(i.arg)}(i,u,e,o)}))}return e=e?e.then(o,o):o()}}function j(n){var t={tryLoc:n[0]};1 in n&&(t.catchLoc=n[1]),2 in n&&(t.finallyLoc=n[2],t.afterLoc=n[3]),this.tryEntries.push(t)}function k(n){var t=n.completion||{};t.type="normal",delete t.arg,n.completion=t}function E(n){this.tryEntries=[{tryLoc:"root"}],n.forEach(j,this),this.reset(!0)}function S(n){if(n){if(e=n[u])return e.call(n);if("function"==typeof n.next)return n;if(!isNaN(n.length)){var e,i=-1;return(e=function e(){for(;++i":">",'"':""","'":"'","`":"`"}),Fn=Dn(rn(b)),Nn=H.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},Pn=/(.)^/,zn={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Bn=/\\|'|\r|\n|\u2028|\u2029/g;function Cn(n){return"\\"+zn[n]}var qn=/^\s*(\w|\$)+\s*$/;function Vn(n,t,e){t=fn({},t=!t&&e?e:t,H.templateSettings);e=RegExp([(t.escape||Pn).source,(t.interpolate||Pn).source,(t.evaluate||Pn).source].join("|")+"|$","g");var r,i=0,u="__p+='";if(n.replace(e,(function(t,e,r,o,a){return u+=n.slice(i,a).replace(Bn,Cn),i=a+t.length,e?u+="'+\n((__t=("+e+"))==null?'':_.escape(__t))+\n'":r?u+="'+\n((__t=("+r+"))==null?'':__t)+\n'":o&&(u+="';\n"+o+"\n__p+='"),t})),u+="';\n",e=t.variable){if(!qn.test(e))throw new Error("variable is not a bare identifier: "+e)}else u="with(obj||{}){\n"+u+"}\n",e="obj";u="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+u+"return __p;\n";try{r=new Function(e,"_",u)}catch(t){throw t.source=u,t}return(t=function(n){return r.call(this,n,H)}).source="function("+e+"){\n"+u+"}",t}function Gn(n,t,e){var r=(t=vn(t)).length;if(!r)return x(e)?e.call(n):e;for(var i=0;in.length)&&(t=n.length);for(var e=0,r=new Array(t);e\n <% if (dimensions.hasOwnProperty(key)) { %>\n <% let dimension_label = dimensions[key].label; %>\n <% let value = dimensions[key].value; %>\n <%= dimension_label %> | <%= value %> |
\n <% }} %>\n \n <% _.each(hazmats, hazmat => { %>\n <% if (hazmat.visible) { %>\n <% if (hazmat.key === 'adr_tunnel') { %>\n <%= hazmat.label %> | <%= hazmat.value %> |
\n <% } else { %>\n <%= hazmat.label %> | <% if (hazmat.value) { %>On<% } else { %>Off<% } %> |
\n <% } %>\n <% } %>\n <% }) %>\n "),r=pe.template("\n <% for (const key in dimensions) { %>\n <% if (dimensions.hasOwnProperty(key)) { %>\n <% let dimension_label = dimensions[key].label; %>\n <% let value = dimensions[key].value; %>\n \n \n
\n <% }} %>\n \n \n <% _.each(hazmats, hazmat => { %>\n <% let name = 'sygic-truck-hazmat-' + hazmat.key; %>\n \n
hidden='hidden' <% } %>>\n <% if (hazmat.key === 'adr_tunnel') { %>\n \n <% } else { %>\n \n <% } %>\n
\n <% }) %>\n
\n "),i={};for(t in n){var u=n[t];"hazmat"!==t&&(i[t]={value:u.value,label:u.label})}var o=Object.keys(n.hazmat.value).map((function(t){return{value:n.hazmat.value[t].value,key:t,label:n.hazmat.value[t].label,visible:n.hazmat.value[t].visible,options:n.hazmat.value[t].options}}));document.getElementById("sygic-dimensions-summary-content").innerHTML=e({dimensions:i,hazmats:o}),document.getElementById("sygic-dimensions-form-content").innerHTML=r({dimensions:i,hazmats:o})}function l(){document.getElementById("sygic-dimensions-form").classList.toggle("hidden"),document.getElementById("sygic-dimensions-summary").classList.toggle("hidden")}function s(){return(s=xe(be().mark((function n(t,e){var r,i,u;return be().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r="com.sygic.aura://coordinate|".concat(e,"|").concat(t,"|drive"),i=ve.Dimensions.getInputValues(c),n.next=4,g();case 4:return u=n.sent,u=ve.DimensionsModel.getFromStringInputs(i,u.isMetric),u=Object(ve.createSygicTruckAttrUrl)(u),u="".concat(r,"&&&").concat(u).concat("&&&back_button|com.geotab.androidCheckmate"),n.abrupt("return",u);case 10:case"end":return n.stop()}}),n)})))).apply(this,arguments)}function d(){return(d=xe(be().mark((function n(t){var e,r,i,u,o,a,f,l;return be().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:for(e={version:"3.1",directives:{vehicleType:"truck",routeComputeType:"truck"},routeParts:[]},r=0;r":">",'"':""","'":"'","`":"`"}),Tn=Ln(en(b)),Fn=G.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},Nn=/(.)^/,Pn={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},zn=/\\|'|\r|\n|\u2028|\u2029/g;function Bn(n){return"\\"+Pn[n]}var Cn=/^\s*(\w|\$)+\s*$/;function qn(n,t,e){t=cn({},t=!t&&e?e:t,G.templateSettings);e=RegExp([(t.escape||Nn).source,(t.interpolate||Nn).source,(t.evaluate||Nn).source].join("|")+"|$","g");var r,i=0,u="__p+='";if(n.replace(e,(function(t,e,r,o,a){return u+=n.slice(i,a).replace(zn,Bn),i=a+t.length,e?u+="'+\n((__t=("+e+"))==null?'':_.escape(__t))+\n'":r?u+="'+\n((__t=("+r+"))==null?'':__t)+\n'":o&&(u+="';\n"+o+"\n__p+='"),t})),u+="';\n",e=t.variable){if(!Cn.test(e))throw new Error("variable is not a bare identifier: "+e)}else u="with(obj||{}){\n"+u+"}\n",e="obj";u="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+u+"return __p;\n";try{r=new Function(e,"_",u)}catch(t){throw t.source=u,t}return(t=function(n){return r.call(this,n,G)}).source="function("+e+"){\n"+u+"}",t}function Vn(n,t,e){var r=(t=pn(t)).length;if(!r)return x(e)?e.call(n):e;for(var i=0;in.length)&&(t=n.length);for(var e=0,r=new Array(t);e=n.length?{done:!0}:{done:!1,value:n[r++]}},e:function(n){throw n},f:t}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,u=!0,o=!1;return{s:function(){e=e.call(n)},n:function(){var n=e.next();return u=n.done,n},e:function(n){o=!0,i=n},f:function(){try{u||null==e.return||e.return()}finally{if(o)throw i}}}}("123456789I");try{for(u.s();!(r=u.n()).done;){var o=r.value;n.querySelector("input[name=sygic-truck-hazmat-class".concat(o,"]")).checked&&(i+=o)}}catch(n){u.e(n)}finally{u.f()}var a=n.querySelector("input[name=sygic-truck-hazmat-general]").checked,c=n.querySelector("select[name=sygic-truck-hazmat-adr_tunnel]").value,f=n.querySelector("input[name=sygic-truck-hazmat-water]").checked;e.hazmat.h_class=i,e.hazmat.general=a,e.hazmat.adr_tunnel=c,e.hazmat.water=f}return e}};t.Dimensions=A},function(n,t){var e=function(){return this}();try{e=e||new Function("return this")()}catch(n){"object"==typeof window&&(e=window)}n.exports=e},function(n,t,e){e(5),geotab.addin.sygic||e(7),e(6)},function(n,t,e){n=function(n){"use strict";var t,e=Object.prototype,r=e.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},u=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",a=i.toStringTag||"@@toStringTag";function c(n,t,e){return Object.defineProperty(n,t,{value:e,enumerable:!0,configurable:!0,writable:!0}),n[t]}try{c({},"")}catch(e){c=function(n,t,e){return n[t]=e}}function f(n,e,r,i){var u,o,a,c;e=e&&e.prototype instanceof y?e:y,e=Object.create(e.prototype),i=new E(i||[]);return e._invoke=(u=n,o=r,a=i,c=s,function(n,e){if(c===h)throw new Error("Generator is already running");if(c===p){if("throw"===n)throw e;return A()}for(a.method=n,a.arg=e;;){var r=a.delegate;if(r){var i=function n(e,r){var i;if((i=e.iterator[r.method])===t){if(r.delegate=null,"throw"===r.method){if(e.iterator.return&&(r.method="return",r.arg=t,n(e,r),"throw"===r.method))return v;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}return"throw"===(i=l(i,e.iterator,r.arg)).type?(r.method="throw",r.arg=i.arg,r.delegate=null,v):(i=i.arg)?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,v):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}(r,a);if(i){if(i===v)continue;return i}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(c===s)throw c=p,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);if(c=h,"normal"===(i=l(u,o,a)).type){if(c=a.done?p:d,i.arg!==v)return{value:i.arg,done:a.done}}else"throw"===i.type&&(c=p,a.method="throw",a.arg=i.arg)}}),e}function l(n,t,e){try{return{type:"normal",arg:n.call(t,e)}}catch(n){return{type:"throw",arg:n}}}n.wrap=f;var s="suspendedStart",d="suspendedYield",h="executing",p="completed",v={};function y(){}function m(){}function g(){}var b={};c(b,u,(function(){return this})),(i=(i=Object.getPrototypeOf)&&i(i(S([]))))&&i!==e&&r.call(i,u)&&(b=i);var w=g.prototype=y.prototype=Object.create(b);function x(n){["next","throw","return"].forEach((function(t){c(n,t,(function(n){return this._invoke(t,n)}))}))}function _(n,t){var e;this._invoke=function(i,u){function o(){return new t((function(e,o){!function e(i,u,o,a){if("throw"!==(i=l(n[i],n,u)).type){var c=i.arg;return(u=c.value)&&"object"==typeof u&&r.call(u,"__await")?t.resolve(u.__await).then((function(n){e("next",n,o,a)}),(function(n){e("throw",n,o,a)})):t.resolve(u).then((function(n){c.value=n,o(c)}),(function(n){return e("throw",n,o,a)}))}a(i.arg)}(i,u,e,o)}))}return e=e?e.then(o,o):o()}}function j(n){var t={tryLoc:n[0]};1 in n&&(t.catchLoc=n[1]),2 in n&&(t.finallyLoc=n[2],t.afterLoc=n[3]),this.tryEntries.push(t)}function k(n){var t=n.completion||{};t.type="normal",delete t.arg,n.completion=t}function E(n){this.tryEntries=[{tryLoc:"root"}],n.forEach(j,this),this.reset(!0)}function S(n){if(n){if(e=n[u])return e.call(n);if("function"==typeof n.next)return n;if(!isNaN(n.length)){var e,i=-1;return(e=function e(){for(;++i":">",'"':""","'":"'","`":"`"}),Fn=Dn(rn(b)),Nn=H.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},Pn=/(.)^/,zn={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Bn=/\\|'|\r|\n|\u2028|\u2029/g;function Cn(n){return"\\"+zn[n]}var qn=/^\s*(\w|\$)+\s*$/;function Vn(n,t,e){t=fn({},t=!t&&e?e:t,H.templateSettings);e=RegExp([(t.escape||Pn).source,(t.interpolate||Pn).source,(t.evaluate||Pn).source].join("|")+"|$","g");var r,i=0,u="__p+='";if(n.replace(e,(function(t,e,r,o,a){return u+=n.slice(i,a).replace(Bn,Cn),i=a+t.length,e?u+="'+\n((__t=("+e+"))==null?'':_.escape(__t))+\n'":r?u+="'+\n((__t=("+r+"))==null?'':__t)+\n'":o&&(u+="';\n"+o+"\n__p+='"),t})),u+="';\n",e=t.variable){if(!qn.test(e))throw new Error("variable is not a bare identifier: "+e)}else u="with(obj||{}){\n"+u+"}\n",e="obj";u="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+u+"return __p;\n";try{r=new Function(e,"_",u)}catch(t){throw t.source=u,t}return(t=function(n){return r.call(this,n,H)}).source="function("+e+"){\n"+u+"}",t}function Gn(n,t,e){var r=(t=vn(t)).length;if(!r)return x(e)?e.call(n):e;for(var i=0;in.length)&&(t=n.length);for(var e=0,r=new Array(t);e\n <% if (dimensions.hasOwnProperty(key)) { %>\n <% let dimension_label = dimensions[key].label; %>\n <% let value = dimensions[key].value; %>\n <%= dimension_label %> | <%= value %> |
\n <% }} %>\n \n <% _.each(hazmats, hazmat => { %>\n <% if (hazmat.visible) { %>\n <% if (hazmat.key === 'adr_tunnel') { %>\n <%= hazmat.label %> | <%= hazmat.value %> |
\n <% } else { %>\n <%= hazmat.label %> | <% if (hazmat.value) { %>On<% } else { %>Off<% } %> |
\n <% } %>\n <% } %>\n <% }) %>\n "),r=pe.template("\n <% for (const key in dimensions) { %>\n <% if (dimensions.hasOwnProperty(key)) { %>\n <% let dimension_label = dimensions[key].label; %>\n <% let value = dimensions[key].value; %>\n \n \n
\n <% }} %>\n \n \n <% _.each(hazmats, hazmat => { %>\n <% let name = 'sygic-truck-hazmat-' + hazmat.key; %>\n \n
hidden='hidden' <% } %>>\n <% if (hazmat.key === 'adr_tunnel') { %>\n \n <% } else { %>\n \n <% } %>\n
\n <% }) %>\n
\n "),i={};for(t in n){var u=n[t];"hazmat"!==t&&(i[t]={value:u.value,label:u.label})}var o=Object.keys(n.hazmat.value).map((function(t){return{value:n.hazmat.value[t].value,key:t,label:n.hazmat.value[t].label,visible:n.hazmat.value[t].visible,options:n.hazmat.value[t].options}}));document.getElementById("sygic-dimensions-summary-content").innerHTML=e({dimensions:i,hazmats:o}),document.getElementById("sygic-dimensions-form-content").innerHTML=r({dimensions:i,hazmats:o})}function l(){document.getElementById("sygic-dimensions-form").classList.toggle("hidden"),document.getElementById("sygic-dimensions-summary").classList.toggle("hidden")}function s(){return(s=xe(be().mark((function n(t,e){var r,i,u;return be().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r="com.sygic.aura://coordinate|".concat(e,"|").concat(t,"|drive"),i=ve.Dimensions.getInputValues(c),n.next=4,g();case 4:return u=n.sent,u=ve.DimensionsModel.getFromStringInputs(i,u.isMetric),u=Object(ve.createSygicTruckAttrUrl)(u),u="".concat(r,"&&&").concat(u).concat("&&&back_button|com.geotab.androidCheckmate"),n.abrupt("return",u);case 10:case"end":return n.stop()}}),n)})))).apply(this,arguments)}function d(){return(d=xe(be().mark((function n(t){var e,r,i,u,o,a,f,l;return be().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:for(e={version:"3.1",directives:{vehicleType:"truck",routeComputeType:"truck"},routeParts:[]},r=0;r":">",'"':""","'":"'","`":"`"}),Tn=Ln(en(b)),Fn=G.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},Nn=/(.)^/,Pn={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},zn=/\\|'|\r|\n|\u2028|\u2029/g;function Bn(n){return"\\"+Pn[n]}var Cn=/^\s*(\w|\$)+\s*$/;function qn(n,t,e){t=cn({},t=!t&&e?e:t,G.templateSettings);e=RegExp([(t.escape||Nn).source,(t.interpolate||Nn).source,(t.evaluate||Nn).source].join("|")+"|$","g");var r,i=0,u="__p+='";if(n.replace(e,(function(t,e,r,o,a){return u+=n.slice(i,a).replace(zn,Bn),i=a+t.length,e?u+="'+\n((__t=("+e+"))==null?'':_.escape(__t))+\n'":r?u+="'+\n((__t=("+r+"))==null?'':__t)+\n'":o&&(u+="';\n"+o+"\n__p+='"),t})),u+="';\n",e=t.variable){if(!Cn.test(e))throw new Error("variable is not a bare identifier: "+e)}else u="with(obj||{}){\n"+u+"}\n",e="obj";u="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+u+"return __p;\n";try{r=new Function(e,"_",u)}catch(t){throw t.source=u,t}return(t=function(n){return r.call(this,n,G)}).source="function("+e+"){\n"+u+"}",t}function Vn(n,t,e){var r=(t=pn(t)).length;if(!r)return x(e)?e.call(n):e;for(var i=0;i Sygic Truck Settings
\ No newline at end of file
+ Sygic Truck Settings
\ No newline at end of file
diff --git a/mygeotab-sygic-page/dist/mygeotabSygicPage.js b/mygeotab-sygic-page/dist/mygeotabSygicPage.js
index 0f5c13b..5cc93e3 100644
--- a/mygeotab-sygic-page/dist/mygeotabSygicPage.js
+++ b/mygeotab-sygic-page/dist/mygeotabSygicPage.js
@@ -1 +1 @@
-!function(n){var t={};function r(e){var i;return(t[e]||(i=t[e]={i:e,l:!1,exports:{}},n[e].call(i.exports,i,i.exports,r),i.l=!0,i)).exports}r.m=n,r.c=t,r.d=function(n,t,e){r.o(n,t)||Object.defineProperty(n,t,{enumerable:!0,get:e})},r.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},r.t=function(n,t){if(1&t&&(n=r(n)),8&t)return n;if(4&t&&"object"==typeof n&&n&&n.__esModule)return n;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var i in n)r.d(e,i,function(t){return n[t]}.bind(null,i));return e},r.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return r.d(t,"a",t),t},r.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},r.p="https://cdn.jsdelivr.net/gh/sygic/geotab@1.3.0/mygeotab-sygic-page/dist/",r(r.s=4)}([function(n,t,r){"use strict";(function(n){r.d(t,"e",(function(){return e})),r.d(t,"p",(function(){return i})),r.d(t,"a",(function(){return u})),r.d(t,"c",(function(){return o})),r.d(t,"d",(function(){return c})),r.d(t,"o",(function(){return a})),r.d(t,"q",(function(){return f})),r.d(t,"t",(function(){return l})),r.d(t,"i",(function(){return s})),r.d(t,"r",(function(){return d})),r.d(t,"s",(function(){return h})),r.d(t,"k",(function(){return p})),r.d(t,"m",(function(){return v})),r.d(t,"j",(function(){return y})),r.d(t,"l",(function(){return g})),r.d(t,"g",(function(){return m})),r.d(t,"f",(function(){return b})),r.d(t,"h",(function(){return w})),r.d(t,"n",(function(){return x})),r.d(t,"b",(function(){return _}));var e="1.13.6",i="object"==typeof self&&self.self===self&&self||"object"==typeof n&&n.global===n&&n||Function("return this")()||{},u=Array.prototype,o=Object.prototype,c="undefined"!=typeof Symbol?Symbol.prototype:null,a=u.push,f=u.slice,l=o.toString,s=o.hasOwnProperty,d="undefined"!=typeof ArrayBuffer,h="undefined"!=typeof DataView,p=Array.isArray,v=Object.keys,y=Object.create,g=d&&ArrayBuffer.isView,m=isNaN,b=isFinite,w=!{toString:null}.propertyIsEnumerable("toString"),x=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],_=Math.pow(2,53)-1}).call(this,r(3))},function(n,t,r){"use strict";(function(n){r.d(t,"e",(function(){return e})),r.d(t,"p",(function(){return i})),r.d(t,"a",(function(){return u})),r.d(t,"c",(function(){return o})),r.d(t,"d",(function(){return c})),r.d(t,"o",(function(){return a})),r.d(t,"q",(function(){return f})),r.d(t,"t",(function(){return l})),r.d(t,"i",(function(){return s})),r.d(t,"r",(function(){return d})),r.d(t,"s",(function(){return h})),r.d(t,"k",(function(){return p})),r.d(t,"m",(function(){return v})),r.d(t,"j",(function(){return y})),r.d(t,"l",(function(){return g})),r.d(t,"g",(function(){return m})),r.d(t,"f",(function(){return b})),r.d(t,"h",(function(){return w})),r.d(t,"n",(function(){return x})),r.d(t,"b",(function(){return _}));var e="1.13.1",i="object"==typeof self&&self.self===self&&self||"object"==typeof n&&n.global===n&&n||Function("return this")()||{},u=Array.prototype,o=Object.prototype,c="undefined"!=typeof Symbol?Symbol.prototype:null,a=u.push,f=u.slice,l=o.toString,s=o.hasOwnProperty,d="undefined"!=typeof ArrayBuffer,h="undefined"!=typeof DataView,p=Array.isArray,v=Object.keys,y=Object.create,g=d&&ArrayBuffer.isView,m=isNaN,b=isFinite,w=!{toString:null}.propertyIsEnumerable("toString"),x=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],_=Math.pow(2,53)-1}).call(this,r(3))},function(n,t,r){"use strict";function e(n){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function i(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */i=function(){return n};var n={},t=Object.prototype,r=t.hasOwnProperty,u=Object.defineProperty||function(n,t,r){n[t]=r.value},o=(y="function"==typeof Symbol?Symbol:{}).iterator||"@@iterator",c=y.asyncIterator||"@@asyncIterator",a=y.toStringTag||"@@toStringTag";function f(n,t,r){return Object.defineProperty(n,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),n[t]}try{f({},"")}catch(t){f=function(n,t,r){return n[t]=r}}function l(n,t,r,e){var i,o,c,a;t=t&&t.prototype instanceof h?t:h,t=Object.create(t.prototype),e=new j(e||[]);return u(t,"_invoke",{value:(i=n,o=r,c=e,a="suspendedStart",function(n,t){if("executing"===a)throw new Error("Generator is already running");if("completed"===a){if("throw"===n)throw t;return{value:void 0,done:!0}}for(c.method=n,c.arg=t;;){var r=c.delegate;if(r&&(r=function n(t,r){var e=r.method,i=t.iterator[e];return void 0===i?(r.delegate=null,"throw"===e&&t.iterator.return&&(r.method="return",r.arg=void 0,n(t,r),"throw"===r.method)||"return"!==e&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+e+"' method")),d):"throw"===(e=s(i,t.iterator,r.arg)).type?(r.method="throw",r.arg=e.arg,r.delegate=null,d):(i=e.arg)?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=void 0),r.delegate=null,d):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}(r,c))){if(r===d)continue;return r}if("next"===c.method)c.sent=c._sent=c.arg;else if("throw"===c.method){if("suspendedStart"===a)throw a="completed",c.arg;c.dispatchException(c.arg)}else"return"===c.method&&c.abrupt("return",c.arg);if(a="executing","normal"===(r=s(i,o,c)).type){if(a=c.done?"completed":"suspendedYield",r.arg===d)continue;return{value:r.arg,done:c.done}}"throw"===r.type&&(a="completed",c.method="throw",c.arg=r.arg)}})}),t}function s(n,t,r){try{return{type:"normal",arg:n.call(t,r)}}catch(n){return{type:"throw",arg:n}}}n.wrap=l;var d={};function h(){}function p(){}function v(){}var y,g,m=((g=(g=(f(y={},o,(function(){return this})),Object.getPrototypeOf))&&g(g(E([]))))&&g!==t&&r.call(g,o)&&(y=g),v.prototype=h.prototype=Object.create(y));function b(n){["next","throw","return"].forEach((function(t){f(n,t,(function(n){return this._invoke(t,n)}))}))}function w(n,t){var i;u(this,"_invoke",{value:function(u,o){function c(){return new t((function(i,c){!function i(u,o,c,a){var f;if("throw"!==(u=s(n[u],n,o)).type)return(o=(f=u.arg).value)&&"object"==e(o)&&r.call(o,"__await")?t.resolve(o.__await).then((function(n){i("next",n,c,a)}),(function(n){i("throw",n,c,a)})):t.resolve(o).then((function(n){f.value=n,c(f)}),(function(n){return i("throw",n,c,a)}));a(u.arg)}(u,o,i,c)}))}return i=i?i.then(c,c):c()}})}function x(n){var t={tryLoc:n[0]};1 in n&&(t.catchLoc=n[1]),2 in n&&(t.finallyLoc=n[2],t.afterLoc=n[3]),this.tryEntries.push(t)}function _(n){var t=n.completion||{};t.type="normal",delete t.arg,n.completion=t}function j(n){this.tryEntries=[{tryLoc:"root"}],n.forEach(x,this),this.reset(!0)}function E(n){if(n){var t,e=n[o];if(e)return e.call(n);if("function"==typeof n.next)return n;if(!isNaN(n.length))return t=-1,(e=function e(){for(;++tn.length)&&(t=n.length);for(var r=0,e=new Array(t);r=n.length?{done:!0}:{done:!1,value:n[u++]}},e:function(n){throw n},f:t};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}("123456789I");try{for(u.s();!(e=u.n()).done;){var o=e.value;n.querySelector("input[name=sygic-truck-hazmat-class".concat(o,"]")).checked&&(i+=o)}}catch(n){u.e(n)}finally{u.f()}var c=n.querySelector("input[name=sygic-truck-hazmat-general]").checked,a=n.querySelector("select[name=sygic-truck-hazmat-adr_tunnel]").value,f=n.querySelector("input[name=sygic-truck-hazmat-water]").checked;r.hazmat.h_class=i,r.hazmat.general=c,r.hazmat.adr_tunnel=a,r.hazmat.water=f}return r}};t.Dimensions=S},function(n,t){var r=function(){return this}();try{r=r||new Function("return this")()}catch(n){"object"==typeof window&&(r=window)}n.exports=r},function(n,t,r){r(5),geotab.addin.mygeotabSygicPage||r(7),r(6)},function(n,t,r){n=function(n){"use strict";var t,r=Object.prototype,e=r.hasOwnProperty,i=Object.defineProperty||function(n,t,r){n[t]=r.value},u=(b="function"==typeof Symbol?Symbol:{}).iterator||"@@iterator",o=b.asyncIterator||"@@asyncIterator",c=b.toStringTag||"@@toStringTag";function a(n,t,r){return Object.defineProperty(n,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),n[t]}try{a({},"")}catch(r){a=function(n,t,r){return n[t]=r}}function f(n,r,e,u){var o,c,a,f;r=r&&r.prototype instanceof y?r:y,r=Object.create(r.prototype),u=new A(u||[]);return i(r,"_invoke",{value:(o=n,c=e,a=u,f=s,function(n,r){if(f===h)throw new Error("Generator is already running");if(f===p){if("throw"===n)throw r;return k()}for(a.method=n,a.arg=r;;){var e=a.delegate;if(e&&(e=function n(r,e){var i=e.method,u=r.iterator[i];return u===t?(e.delegate=null,"throw"===i&&r.iterator.return&&(e.method="return",e.arg=t,n(r,e),"throw"===e.method)||"return"!==i&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+i+"' method")),v):"throw"===(i=l(u,r.iterator,e.arg)).type?(e.method="throw",e.arg=i.arg,e.delegate=null,v):(u=i.arg)?u.done?(e[r.resultName]=u.value,e.next=r.nextLoc,"return"!==e.method&&(e.method="next",e.arg=t),e.delegate=null,v):u:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,v)}(e,a))){if(e===v)continue;return e}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(f===s)throw f=p,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);if(f=h,"normal"===(e=l(o,c,a)).type){if(f=a.done?p:d,e.arg!==v)return{value:e.arg,done:a.done}}else"throw"===e.type&&(f=p,a.method="throw",a.arg=e.arg)}})}),r}function l(n,t,r){try{return{type:"normal",arg:n.call(t,r)}}catch(n){return{type:"throw",arg:n}}}n.wrap=f;var s="suspendedStart",d="suspendedYield",h="executing",p="completed",v={};function y(){}function g(){}function m(){}var b,w,x=((w=(w=(a(b={},u,(function(){return this})),Object.getPrototypeOf))&&w(w(O([]))))&&w!==r&&e.call(w,u)&&(b=w),m.prototype=y.prototype=Object.create(b));function _(n){["next","throw","return"].forEach((function(t){a(n,t,(function(n){return this._invoke(t,n)}))}))}function j(n,t){var r;i(this,"_invoke",{value:function(i,u){function o(){return new t((function(r,o){!function r(i,u,o,c){var a;if("throw"!==(i=l(n[i],n,u)).type)return(u=(a=i.arg).value)&&"object"==typeof u&&e.call(u,"__await")?t.resolve(u.__await).then((function(n){r("next",n,o,c)}),(function(n){r("throw",n,o,c)})):t.resolve(u).then((function(n){a.value=n,o(a)}),(function(n){return r("throw",n,o,c)}));c(i.arg)}(i,u,r,o)}))}return r=r?r.then(o,o):o()}})}function E(n){var t={tryLoc:n[0]};1 in n&&(t.catchLoc=n[1]),2 in n&&(t.finallyLoc=n[2],t.afterLoc=n[3]),this.tryEntries.push(t)}function S(n){var t=n.completion||{};t.type="normal",delete t.arg,n.completion=t}function A(n){this.tryEntries=[{tryLoc:"root"}],n.forEach(E,this),this.reset(!0)}function O(n){if(n){var r,i=n[u];if(i)return i.call(n);if("function"==typeof n.next)return n;if(!isNaN(n.length))return r=-1,(i=function i(){for(;++r":">",'"':""","'":"'","`":"`"}),Tn=Nn(en(b)),Dn=V.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},Pn=/(.)^/,zn={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},qn=/\\|'|\r|\n|\u2028|\u2029/g;function Bn(n){return"\\"+zn[n]}var Cn=/^\s*(\w|\$)+\s*$/;function Vn(n,t,r){t=fn({},t=!t&&r?r:t,V.templateSettings);r=RegExp([(t.escape||Pn).source,(t.interpolate||Pn).source,(t.evaluate||Pn).source].join("|")+"|$","g");var e,i=0,u="__p+='";if(r=(n.replace(r,(function(t,r,e,o,c){return u+=n.slice(i,c).replace(qn,Bn),i=c+t.length,r?u+="'+\n((__t=("+r+"))==null?'':_.escape(__t))+\n'":e?u+="'+\n((__t=("+e+"))==null?'':__t)+\n'":o&&(u+="';\n"+o+"\n__p+='"),t})),u+="';\n",t.variable)){if(!Cn.test(r))throw new Error("variable is not a bare identifier: "+r)}else u="with(obj||{}){\n"+u+"}\n",r="obj";u="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+u+"return __p;\n";try{e=new Function(r,"_",u)}catch(t){throw t.source=u,t}function o(n){return e.call(this,n,V)}return o.source="function("+r+"){\n"+u+"}",o}function Rn(n,t,r){var e=(t=vn(t)).length;if(!e)return w(r)?r.call(n):r;for(var i=0;in.length)&&(t=n.length);for(var r=0,e=new Array(t);r'>\n \n
>\n
\n
\n
\n <%= vehicle.name %>\n
\n \n \n
\n
\n
\n
\n
\n\n ")),l=0;l":">",'"':""","'":"'","`":"`"}),Fn=In(rn(m)),Tn=C.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},Dn=/(.)^/,Pn={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},zn=/\\|'|\r|\n|\u2028|\u2029/g;function qn(n){return"\\"+Pn[n]}var Bn=/^\s*(\w|\$)+\s*$/;function Cn(n,t,r){t=an({},t=!t&&r?r:t,C.templateSettings);r=RegExp([(t.escape||Dn).source,(t.interpolate||Dn).source,(t.evaluate||Dn).source].join("|")+"|$","g");var e,i=0,u="__p+='";if(r=(n.replace(r,(function(t,r,e,o,c){return u+=n.slice(i,c).replace(zn,qn),i=c+t.length,r?u+="'+\n((__t=("+r+"))==null?'':_.escape(__t))+\n'":e?u+="'+\n((__t=("+e+"))==null?'':__t)+\n'":o&&(u+="';\n"+o+"\n__p+='"),t})),u+="';\n",t.variable)){if(!Bn.test(r))throw new Error("variable is not a bare identifier: "+r)}else u="with(obj||{}){\n"+u+"}\n",r="obj";u="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+u+"return __p;\n";try{e=new Function(r,"_",u)}catch(t){throw t.source=u,t}function o(n){return e.call(this,n,C)}return o.source="function("+r+"){\n"+u+"}",o}function Vn(n,t,r){var e=(t=pn(t)).length;if(!e)return b(r)?r.call(n):r;for(var i=0;in.length)&&(t=n.length);for(var r=0,e=new Array(t);r=n.length?{done:!0}:{done:!1,value:n[u++]}},e:function(n){throw n},f:t};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}("123456789I");try{for(u.s();!(e=u.n()).done;){var o=e.value;n.querySelector("input[name=sygic-truck-hazmat-class".concat(o,"]")).checked&&(i+=o)}}catch(n){u.e(n)}finally{u.f()}var c=n.querySelector("input[name=sygic-truck-hazmat-general]").checked,a=n.querySelector("select[name=sygic-truck-hazmat-adr_tunnel]").value,f=n.querySelector("input[name=sygic-truck-hazmat-water]").checked;r.hazmat.h_class=i,r.hazmat.general=c,r.hazmat.adr_tunnel=a,r.hazmat.water=f}return r}};t.Dimensions=E},function(n,t){var r=function(){return this}();try{r=r||new Function("return this")()}catch(n){"object"==typeof window&&(r=window)}n.exports=r},function(n,t,r){r(5),geotab.addin.mygeotabSygicPage||r(7),r(6)},function(n,t,r){n=function(n){"use strict";var t,r=Object.prototype,e=r.hasOwnProperty,i=Object.defineProperty||function(n,t,r){n[t]=r.value},u=(b="function"==typeof Symbol?Symbol:{}).iterator||"@@iterator",o=b.asyncIterator||"@@asyncIterator",c=b.toStringTag||"@@toStringTag";function a(n,t,r){return Object.defineProperty(n,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),n[t]}try{a({},"")}catch(r){a=function(n,t,r){return n[t]=r}}function f(n,r,e,u){var o,c,a,f;r=r&&r.prototype instanceof y?r:y,r=Object.create(r.prototype),u=new A(u||[]);return i(r,"_invoke",{value:(o=n,c=e,a=u,f=s,function(n,r){if(f===h)throw new Error("Generator is already running");if(f===p){if("throw"===n)throw r;return k()}for(a.method=n,a.arg=r;;){var e=a.delegate;if(e&&(e=function n(r,e){var i=e.method,u=r.iterator[i];return u===t?(e.delegate=null,"throw"===i&&r.iterator.return&&(e.method="return",e.arg=t,n(r,e),"throw"===e.method)||"return"!==i&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+i+"' method")),v):"throw"===(i=l(u,r.iterator,e.arg)).type?(e.method="throw",e.arg=i.arg,e.delegate=null,v):(u=i.arg)?u.done?(e[r.resultName]=u.value,e.next=r.nextLoc,"return"!==e.method&&(e.method="next",e.arg=t),e.delegate=null,v):u:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,v)}(e,a))){if(e===v)continue;return e}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(f===s)throw f=p,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);if(f=h,"normal"===(e=l(o,c,a)).type){if(f=a.done?p:d,e.arg!==v)return{value:e.arg,done:a.done}}else"throw"===e.type&&(f=p,a.method="throw",a.arg=e.arg)}})}),r}function l(n,t,r){try{return{type:"normal",arg:n.call(t,r)}}catch(n){return{type:"throw",arg:n}}}n.wrap=f;var s="suspendedStart",d="suspendedYield",h="executing",p="completed",v={};function y(){}function g(){}function m(){}var b,w,x=((w=(w=(a(b={},u,(function(){return this})),Object.getPrototypeOf))&&w(w(O([]))))&&w!==r&&e.call(w,u)&&(b=w),m.prototype=y.prototype=Object.create(b));function _(n){["next","throw","return"].forEach((function(t){a(n,t,(function(n){return this._invoke(t,n)}))}))}function j(n,t){var r;i(this,"_invoke",{value:function(i,u){function o(){return new t((function(r,o){!function r(i,u,o,c){var a;if("throw"!==(i=l(n[i],n,u)).type)return(u=(a=i.arg).value)&&"object"==typeof u&&e.call(u,"__await")?t.resolve(u.__await).then((function(n){r("next",n,o,c)}),(function(n){r("throw",n,o,c)})):t.resolve(u).then((function(n){a.value=n,o(a)}),(function(n){return r("throw",n,o,c)}));c(i.arg)}(i,u,r,o)}))}return r=r?r.then(o,o):o()}})}function S(n){var t={tryLoc:n[0]};1 in n&&(t.catchLoc=n[1]),2 in n&&(t.finallyLoc=n[2],t.afterLoc=n[3]),this.tryEntries.push(t)}function E(n){var t=n.completion||{};t.type="normal",delete t.arg,n.completion=t}function A(n){this.tryEntries=[{tryLoc:"root"}],n.forEach(S,this),this.reset(!0)}function O(n){if(n){var r,i=n[u];if(i)return i.call(n);if("function"==typeof n.next)return n;if(!isNaN(n.length))return r=-1,(i=function i(){for(;++r":">",'"':""","'":"'","`":"`"}),Tn=Nn(en(b)),Pn=V.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},zn=/(.)^/,Dn={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},qn=/\\|'|\r|\n|\u2028|\u2029/g;function Bn(n){return"\\"+Dn[n]}var Cn=/^\s*(\w|\$)+\s*$/;function Vn(n,t,r){t=fn({},t=!t&&r?r:t,V.templateSettings);r=RegExp([(t.escape||zn).source,(t.interpolate||zn).source,(t.evaluate||zn).source].join("|")+"|$","g");var e,i=0,u="__p+='";if(r=(n.replace(r,(function(t,r,e,o,c){return u+=n.slice(i,c).replace(qn,Bn),i=c+t.length,r?u+="'+\n((__t=("+r+"))==null?'':_.escape(__t))+\n'":e?u+="'+\n((__t=("+e+"))==null?'':__t)+\n'":o&&(u+="';\n"+o+"\n__p+='"),t})),u+="';\n",t.variable)){if(!Cn.test(r))throw new Error("variable is not a bare identifier: "+r)}else u="with(obj||{}){\n"+u+"}\n",r="obj";u="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+u+"return __p;\n";try{e=new Function(r,"_",u)}catch(t){throw t.source=u,t}function o(n){return e.call(this,n,V)}return o.source="function("+r+"){\n"+u+"}",o}function Rn(n,t,r){var e=(t=vn(t)).length;if(!e)return w(r)?r.call(n):r;for(var i=0;in.length)&&(t=n.length);for(var r=0,e=new Array(t);r'>\n \n
>\n
\n
\n
\n <%= vehicle.name %>\n
\n \n \n
\n
\n
\n
\n
\n\n ")),l=0;l":">",'"':""","'":"'","`":"`"}),Fn=In(rn(m)),Tn=C.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},Pn=/(.)^/,zn={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Dn=/\\|'|\r|\n|\u2028|\u2029/g;function qn(n){return"\\"+zn[n]}var Bn=/^\s*(\w|\$)+\s*$/;function Cn(n,t,r){t=an({},t=!t&&r?r:t,C.templateSettings);r=RegExp([(t.escape||Pn).source,(t.interpolate||Pn).source,(t.evaluate||Pn).source].join("|")+"|$","g");var e,i=0,u="__p+='";if(r=(n.replace(r,(function(t,r,e,o,c){return u+=n.slice(i,c).replace(Dn,qn),i=c+t.length,r?u+="'+\n((__t=("+r+"))==null?'':_.escape(__t))+\n'":e?u+="'+\n((__t=("+e+"))==null?'':__t)+\n'":o&&(u+="';\n"+o+"\n__p+='"),t})),u+="';\n",t.variable)){if(!Bn.test(r))throw new Error("variable is not a bare identifier: "+r)}else u="with(obj||{}){\n"+u+"}\n",r="obj";u="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+u+"return __p;\n";try{e=new Function(r,"_",u)}catch(t){throw t.source=u,t}function o(n){return e.call(this,n,C)}return o.source="function("+r+"){\n"+u+"}",o}function Vn(n,t,r){var e=(t=pn(t)).length;if(!e)return b(r)?r.call(n):r;for(var i=0;i