@bravophone/webphone 0.1.2 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. package/README.md +49 -3
  2. package/dist/bravophone.mjs +358 -287
  3. package/dist/bravophone.umd.js +43 -7
  4. package/host/_locales/pt_BR/messages.json +1430 -0
  5. package/host/allowed-origins.json +8 -0
  6. package/host/css/bravophoneContactDialer.css +385 -0
  7. package/host/css/dark-theme.css +116 -0
  8. package/host/favicon.ico +0 -0
  9. package/host/fonts/Audiowide-Regular.ttf +0 -0
  10. package/host/fonts/Seguiemj.ttf +0 -0
  11. package/host/images/answer-gray.png +0 -0
  12. package/host/images/answer.png +0 -0
  13. package/host/images/auto-answer-off.png +0 -0
  14. package/host/images/auto-answer-on.png +0 -0
  15. package/host/images/avatar.png +0 -0
  16. package/host/images/bravophone-logo.svg +39 -0
  17. package/host/images/bravotech_Bravotech_logo.png +0 -0
  18. package/host/images/circle-green.png +0 -0
  19. package/host/images/circle-orange.png +0 -0
  20. package/host/images/circle-red.png +0 -0
  21. package/host/images/dialer-button-down.png +0 -0
  22. package/host/images/dialer-button.png +0 -0
  23. package/host/images/gateways/activecampaign.png +0 -0
  24. package/host/images/gateways/agendor.png +0 -0
  25. package/host/images/gateways/appfacilita.png +0 -0
  26. package/host/images/gateways/call-in.png +0 -0
  27. package/host/images/gateways/click-to-call.png +0 -0
  28. package/host/images/gateways/clickup.png +0 -0
  29. package/host/images/gateways/exactsales.png +0 -0
  30. package/host/images/gateways/go-high-lvl.png +0 -0
  31. package/host/images/gateways/groner.png +0 -0
  32. package/host/images/gateways/hubspot.png +0 -0
  33. package/host/images/gateways/kommo.png +0 -0
  34. package/host/images/gateways/moskit.png +0 -0
  35. package/host/images/gateways/nectar.png +0 -0
  36. package/host/images/gateways/pipedrive.png +0 -0
  37. package/host/images/gateways/pipefy.png +0 -0
  38. package/host/images/gateways/piperun.png +0 -0
  39. package/host/images/gateways/ploomes.png +0 -0
  40. package/host/images/gateways/rdstation-crm.png +0 -0
  41. package/host/images/gateways/salesforce.png +0 -0
  42. package/host/images/gateways/sharpspring.png +0 -0
  43. package/host/images/gateways/sunhub.png +0 -0
  44. package/host/images/gateways/vendfly.png +0 -0
  45. package/host/images/gateways/zendesk.png +0 -0
  46. package/host/images/gateways/zoho.png +0 -0
  47. package/host/images/hangup.png +0 -0
  48. package/host/images/hold.png +0 -0
  49. package/host/images/icons/logo-128-christmas-celebration.png +0 -0
  50. package/host/images/icons/logo-128.png +0 -0
  51. package/host/images/icons/logo-16-christmas-celebration.png +0 -0
  52. package/host/images/icons/logo-16.png +0 -0
  53. package/host/images/icons/logo-24-christmas-celebration.png +0 -0
  54. package/host/images/icons/logo-24.png +0 -0
  55. package/host/images/icons/logo-32-christmas-celebration.png +0 -0
  56. package/host/images/icons/logo-32.png +0 -0
  57. package/host/images/icons/logo-48-christmas-celebration.png +0 -0
  58. package/host/images/icons/logo-48.png +0 -0
  59. package/host/images/loading.gif +0 -0
  60. package/host/images/logo-bravotech-white.png +0 -0
  61. package/host/images/logo-bravotech.png +0 -0
  62. package/host/images/logo-inline-christmas-celebration.png +0 -0
  63. package/host/images/logo-inline.png +0 -0
  64. package/host/images/mic-off.png +0 -0
  65. package/host/images/mic-on.png +0 -0
  66. package/host/images/play.png +0 -0
  67. package/host/images/transfer.png +0 -0
  68. package/host/index.html +34 -0
  69. package/host/js/bravophone-noise-suppressor.js +418 -0
  70. package/host/js/bravophone-route-selector.js +1099 -0
  71. package/host/js/libwebphone.js +20 -0
  72. package/host/js/noise/LICENSE-web-noise-suppressor.txt +21 -0
  73. package/host/js/noise/rnnoise-worklet.js +13 -0
  74. package/host/js/noise/rnnoise.wasm +0 -0
  75. package/host/js/noise/rnnoise_simd.wasm +0 -0
  76. package/host/mock-webphone.js +195 -0
  77. package/host/mock.html +54 -0
  78. package/host/popup.js +23 -0
  79. package/host/shim/chrome-shim.js +287 -0
  80. package/host/shim/guest-bridge.js +353 -0
  81. package/host/shim/messages.js +13 -0
  82. package/host/styles/theme-fixes.css +92 -0
  83. package/package.json +4 -2
  84. package/types/index.d.ts +21 -1
package/host/popup.js ADDED
@@ -0,0 +1,23 @@
1
+ (function(){var t={2505:function(t,e,n){t.exports=n(8015)},5592:function(t,e,n){"use strict";var r=n(9516),o=n(7522),i=n(3948),a=n(9106),s=n(9615),l=n(2012),d=n(4202),c=n(4896),u=n(5845),p=n(8563),h=n(5656);t.exports=function(t){return new Promise(function(e,n){var m,f=t.data,g=t.headers,v=t.responseType;function b(){t.cancelToken&&t.cancelToken.unsubscribe(m),t.signal&&t.signal.removeEventListener("abort",m)}r.isFormData(f)&&r.isStandardBrowserEnv()&&delete g["Content-Type"];var y=new XMLHttpRequest;if(t.auth){var w=t.auth.username||"",x=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";g.Authorization="Basic "+btoa(w+":"+x)}var $=s(t.baseURL,t.url);function C(){if(y){var r="getAllResponseHeaders"in y?l(y.getAllResponseHeaders()):null,i=v&&"text"!==v&&"json"!==v?y.response:y.responseText,a={data:i,status:y.status,statusText:y.statusText,headers:r,config:t,request:y};o(function(t){e(t),b()},function(t){n(t),b()},a),y=null}}if(y.open(t.method.toUpperCase(),a($,t.params,t.paramsSerializer),!0),y.timeout=t.timeout,"onloadend"in y?y.onloadend=C:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(C)},y.onabort=function(){y&&(n(new u("Request aborted",u.ECONNABORTED,t,y)),y=null)},y.onerror=function(){n(new u("Network Error",u.ERR_NETWORK,t,y,y)),y=null},y.ontimeout=function(){var e=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",r=t.transitional||c;t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(new u(e,r.clarifyTimeoutError?u.ETIMEDOUT:u.ECONNABORTED,t,y)),y=null},r.isStandardBrowserEnv()){var k=(t.withCredentials||d($))&&t.xsrfCookieName?i.read(t.xsrfCookieName):void 0;k&&(g[t.xsrfHeaderName]=k)}"setRequestHeader"in y&&r.forEach(g,function(t,e){"undefined"===typeof f&&"content-type"===e.toLowerCase()?delete g[e]:y.setRequestHeader(e,t)}),r.isUndefined(t.withCredentials)||(y.withCredentials=!!t.withCredentials),v&&"json"!==v&&(y.responseType=t.responseType),"function"===typeof t.onDownloadProgress&&y.addEventListener("progress",t.onDownloadProgress),"function"===typeof t.onUploadProgress&&y.upload&&y.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(m=function(t){y&&(n(!t||t&&t.type?new p:t),y.abort(),y=null)},t.cancelToken&&t.cancelToken.subscribe(m),t.signal&&(t.signal.aborted?m():t.signal.addEventListener("abort",m))),f||(f=null);var _=h($);_&&-1===["http","https","file"].indexOf(_)?n(new u("Unsupported protocol "+_+":",u.ERR_BAD_REQUEST,t)):y.send(f)})}},8015:function(t,e,n){"use strict";var r=n(9516),o=n(9012),i=n(5155),a=n(5343),s=n(7412);function l(t){var e=new i(t),n=o(i.prototype.request,e);return r.extend(n,i.prototype,e),r.extend(n,e),n.create=function(e){return l(a(t,e))},n}var d=l(s);d.Axios=i,d.CanceledError=n(8563),d.CancelToken=n(3191),d.isCancel=n(3864),d.VERSION=n(9641).version,d.toFormData=n(6440),d.AxiosError=n(5845),d.Cancel=d.CanceledError,d.all=function(t){return Promise.all(t)},d.spread=n(7980),d.isAxiosError=n(5019),t.exports=d,t.exports["default"]=d},3191:function(t,e,n){"use strict";var r=n(8563);function o(t){if("function"!==typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise(function(t){e=t});var n=this;this.promise.then(function(t){if(n._listeners){var e,r=n._listeners.length;for(e=0;e<r;e++)n._listeners[e](t);n._listeners=null}}),this.promise.then=function(t){var e,r=new Promise(function(t){n.subscribe(t),e=t}).then(t);return r.cancel=function(){n.unsubscribe(e)},r},t(function(t){n.reason||(n.reason=new r(t),e(n.reason))})}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.prototype.subscribe=function(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]},o.prototype.unsubscribe=function(t){if(this._listeners){var e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}},o.source=function(){var t,e=new o(function(e){t=e});return{token:e,cancel:t}},t.exports=o},8563:function(t,e,n){"use strict";var r=n(5845),o=n(9516);function i(t){r.call(this,null==t?"canceled":t,r.ERR_CANCELED),this.name="CanceledError"}o.inherits(i,r,{__CANCEL__:!0}),t.exports=i},3864:function(t){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},5155:function(t,e,n){"use strict";var r=n(9516),o=n(9106),i=n(3471),a=n(4490),s=n(5343),l=n(9615),d=n(4841),c=d.validators;function u(t){this.defaults=t,this.interceptors={request:new i,response:new i}}u.prototype.request=function(t,e){"string"===typeof t?(e=e||{},e.url=t):e=t||{},e=s(this.defaults,e),e.method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var n=e.transitional;void 0!==n&&d.assertOptions(n,{silentJSONParsing:c.transitional(c.boolean),forcedJSONParsing:c.transitional(c.boolean),clarifyTimeoutError:c.transitional(c.boolean)},!1);var r=[],o=!0;this.interceptors.request.forEach(function(t){"function"===typeof t.runWhen&&!1===t.runWhen(e)||(o=o&&t.synchronous,r.unshift(t.fulfilled,t.rejected))});var i,l=[];if(this.interceptors.response.forEach(function(t){l.push(t.fulfilled,t.rejected)}),!o){var u=[a,void 0];Array.prototype.unshift.apply(u,r),u=u.concat(l),i=Promise.resolve(e);while(u.length)i=i.then(u.shift(),u.shift());return i}var p=e;while(r.length){var h=r.shift(),m=r.shift();try{p=h(p)}catch(f){m(f);break}}try{i=a(p)}catch(f){return Promise.reject(f)}while(l.length)i=i.then(l.shift(),l.shift());return i},u.prototype.getUri=function(t){t=s(this.defaults,t);var e=l(t.baseURL,t.url);return o(e,t.params,t.paramsSerializer)},r.forEach(["delete","get","head","options"],function(t){u.prototype[t]=function(e,n){return this.request(s(n||{},{method:t,url:e,data:(n||{}).data}))}}),r.forEach(["post","put","patch"],function(t){function e(e){return function(n,r,o){return this.request(s(o||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}u.prototype[t]=e(),u.prototype[t+"Form"]=e(!0)}),t.exports=u},5845:function(t,e,n){"use strict";var r=n(9516);function o(t,e,n,r,o){Error.call(this),this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}r.inherits(o,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var i=o.prototype,a={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach(function(t){a[t]={value:t}}),Object.defineProperties(o,a),Object.defineProperty(i,"isAxiosError",{value:!0}),o.from=function(t,e,n,a,s,l){var d=Object.create(i);return r.toFlatObject(t,d,function(t){return t!==Error.prototype}),o.call(d,t.message,e,n,a,s),d.name=t.name,l&&Object.assign(d,l),d},t.exports=o},3471:function(t,e,n){"use strict";var r=n(9516);function o(){this.handlers=[]}o.prototype.use=function(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},o.prototype.forEach=function(t){r.forEach(this.handlers,function(e){null!==e&&t(e)})},t.exports=o},9615:function(t,e,n){"use strict";var r=n(9137),o=n(4680);t.exports=function(t,e){return t&&!r(e)?o(t,e):e}},4490:function(t,e,n){"use strict";var r=n(9516),o=n(2881),i=n(3864),a=n(7412),s=n(8563);function l(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new s}t.exports=function(t){l(t),t.headers=t.headers||{},t.data=o.call(t,t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),r.forEach(["delete","get","head","post","put","patch","common"],function(e){delete t.headers[e]});var e=t.adapter||a.adapter;return e(t).then(function(e){return l(t),e.data=o.call(t,e.data,e.headers,t.transformResponse),e},function(e){return i(e)||(l(t),e&&e.response&&(e.response.data=o.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)})}},5343:function(t,e,n){"use strict";var r=n(9516);t.exports=function(t,e){e=e||{};var n={};function o(t,e){return r.isPlainObject(t)&&r.isPlainObject(e)?r.merge(t,e):r.isPlainObject(e)?r.merge({},e):r.isArray(e)?e.slice():e}function i(n){return r.isUndefined(e[n])?r.isUndefined(t[n])?void 0:o(void 0,t[n]):o(t[n],e[n])}function a(t){if(!r.isUndefined(e[t]))return o(void 0,e[t])}function s(n){return r.isUndefined(e[n])?r.isUndefined(t[n])?void 0:o(void 0,t[n]):o(void 0,e[n])}function l(n){return n in e?o(t[n],e[n]):n in t?o(void 0,t[n]):void 0}var d={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l};return r.forEach(Object.keys(t).concat(Object.keys(e)),function(t){var e=d[t]||i,o=e(t);r.isUndefined(o)&&e!==l||(n[t]=o)}),n}},7522:function(t,e,n){"use strict";var r=n(5845);t.exports=function(t,e,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?e(new r("Request failed with status code "+n.status,[r.ERR_BAD_REQUEST,r.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):t(n)}},2881:function(t,e,n){"use strict";var r=n(9516),o=n(7412);t.exports=function(t,e,n){var i=this||o;return r.forEach(n,function(n){t=n.call(i,t,e)}),t}},7412:function(t,e,n){"use strict";var r=n(9516),o=n(7018),i=n(5845),a=n(4896),s=n(6440),l={"Content-Type":"application/x-www-form-urlencoded"};function d(t,e){!r.isUndefined(t)&&r.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}function c(){var t;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(t=n(5592)),t}function u(t,e,n){if(r.isString(t))try{return(e||JSON.parse)(t),r.trim(t)}catch(o){if("SyntaxError"!==o.name)throw o}return(n||JSON.stringify)(t)}var p={transitional:a,adapter:c(),transformRequest:[function(t,e){if(o(e,"Accept"),o(e,"Content-Type"),r.isFormData(t)||r.isArrayBuffer(t)||r.isBuffer(t)||r.isStream(t)||r.isFile(t)||r.isBlob(t))return t;if(r.isArrayBufferView(t))return t.buffer;if(r.isURLSearchParams(t))return d(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString();var n,i=r.isObject(t),a=e&&e["Content-Type"];if((n=r.isFileList(t))||i&&"multipart/form-data"===a){var l=this.env&&this.env.FormData;return s(n?{"files[]":t}:t,l&&new l)}return i||"application/json"===a?(d(e,"application/json"),u(t)):t}],transformResponse:[function(t){var e=this.transitional||p.transitional,n=e&&e.silentJSONParsing,o=e&&e.forcedJSONParsing,a=!n&&"json"===this.responseType;if(a||o&&r.isString(t)&&t.length)try{return JSON.parse(t)}catch(s){if(a){if("SyntaxError"===s.name)throw i.from(s,i.ERR_BAD_RESPONSE,this,null,this.response);throw s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:n(1534)},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],function(t){p.headers[t]={}}),r.forEach(["post","put","patch"],function(t){p.headers[t]=r.merge(l)}),t.exports=p},4896:function(t){"use strict";t.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},9641:function(t){t.exports={version:"0.27.2"}},9012:function(t){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return t.apply(e,n)}}},9106:function(t,e,n){"use strict";var r=n(9516);function o(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var i;if(n)i=n(e);else if(r.isURLSearchParams(e))i=e.toString();else{var a=[];r.forEach(e,function(t,e){null!==t&&"undefined"!==typeof t&&(r.isArray(t)?e+="[]":t=[t],r.forEach(t,function(t){r.isDate(t)?t=t.toISOString():r.isObject(t)&&(t=JSON.stringify(t)),a.push(o(e)+"="+o(t))}))}),i=a.join("&")}if(i){var s=t.indexOf("#");-1!==s&&(t=t.slice(0,s)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t}},4680:function(t){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},3948:function(t,e,n){"use strict";var r=n(9516);t.exports=r.isStandardBrowserEnv()?function(){return{write:function(t,e,n,o,i,a){var s=[];s.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(o)&&s.push("path="+o),r.isString(i)&&s.push("domain="+i),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},9137:function(t){"use strict";t.exports=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}},5019:function(t,e,n){"use strict";var r=n(9516);t.exports=function(t){return r.isObject(t)&&!0===t.isAxiosError}},4202:function(t,e,n){"use strict";var r=n(9516);t.exports=r.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(t){var r=t;return e&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=o(window.location.href),function(e){var n=r.isString(e)?o(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return function(){return!0}}()},7018:function(t,e,n){"use strict";var r=n(9516);t.exports=function(t,e){r.forEach(t,function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])})}},1534:function(t){t.exports=null},2012:function(t,e,n){"use strict";var r=n(9516),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,n,i,a={};return t?(r.forEach(t.split("\n"),function(t){if(i=t.indexOf(":"),e=r.trim(t.substr(0,i)).toLowerCase(),n=r.trim(t.substr(i+1)),e){if(a[e]&&o.indexOf(e)>=0)return;a[e]="set-cookie"===e?(a[e]?a[e]:[]).concat([n]):a[e]?a[e]+", "+n:n}}),a):a}},5656:function(t){"use strict";t.exports=function(t){var e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}},7980:function(t){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},6440:function(t,e,n){"use strict";var r=n(9516);function o(t,e){e=e||new FormData;var n=[];function o(t){return null===t?"":r.isDate(t)?t.toISOString():r.isArrayBuffer(t)||r.isTypedArray(t)?"function"===typeof Blob?new Blob([t]):Buffer.from(t):t}function i(t,a){if(r.isPlainObject(t)||r.isArray(t)){if(-1!==n.indexOf(t))throw Error("Circular reference detected in "+a);n.push(t),r.forEach(t,function(t,n){if(!r.isUndefined(t)){var s,l=a?a+"."+n:n;if(t&&!a&&"object"===typeof t)if(r.endsWith(n,"{}"))t=JSON.stringify(t);else if(r.endsWith(n,"[]")&&(s=r.toArray(t)))return void s.forEach(function(t){!r.isUndefined(t)&&e.append(l,o(t))});i(t,l)}}),n.pop()}else e.append(a,o(t))}return i(t),e}t.exports=o},4841:function(t,e,n){"use strict";var r=n(9641).version,o=n(5845),i={};["object","boolean","number","function","string","symbol"].forEach(function(t,e){i[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}});var a={};function s(t,e,n){if("object"!==typeof t)throw new o("options must be an object",o.ERR_BAD_OPTION_VALUE);var r=Object.keys(t),i=r.length;while(i-- >0){var a=r[i],s=e[a];if(s){var l=t[a],d=void 0===l||s(l,a,t);if(!0!==d)throw new o("option "+a+" must be "+d,o.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new o("Unknown option "+a,o.ERR_BAD_OPTION)}}i.transitional=function(t,e,n){function i(t,e){return"[Axios v"+r+"] Transitional option '"+t+"'"+e+(n?". "+n:"")}return function(n,r,s){if(!1===t)throw new o(i(r," has been removed"+(e?" in "+e:"")),o.ERR_DEPRECATED);return e&&!a[r]&&(a[r]=!0,console.warn(i(r," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,r,s)}},t.exports={assertOptions:s,validators:i}},9516:function(t,e,n){"use strict";var r=n(9012),o=Object.prototype.toString,i=function(t){return function(e){var n=o.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())}}(Object.create(null));function a(t){return t=t.toLowerCase(),function(e){return i(e)===t}}function s(t){return Array.isArray(t)}function l(t){return"undefined"===typeof t}function d(t){return null!==t&&!l(t)&&null!==t.constructor&&!l(t.constructor)&&"function"===typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}var c=a("ArrayBuffer");function u(t){var e;return e="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&c(t.buffer),e}function p(t){return"string"===typeof t}function h(t){return"number"===typeof t}function m(t){return null!==t&&"object"===typeof t}function f(t){if("object"!==i(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}var g=a("Date"),v=a("File"),b=a("Blob"),y=a("FileList");function w(t){return"[object Function]"===o.call(t)}function x(t){return m(t)&&w(t.pipe)}function $(t){var e="[object FormData]";return t&&("function"===typeof FormData&&t instanceof FormData||o.call(t)===e||w(t.toString)&&t.toString()===e)}var C=a("URLSearchParams");function k(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function _(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function S(t,e){if(null!==t&&"undefined"!==typeof t)if("object"!==typeof t&&(t=[t]),s(t))for(var n=0,r=t.length;n<r;n++)e.call(null,t[n],n,t);else for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.call(null,t[o],o,t)}function T(){var t={};function e(e,n){f(t[n])&&f(e)?t[n]=T(t[n],e):f(e)?t[n]=T({},e):s(e)?t[n]=e.slice():t[n]=e}for(var n=0,r=arguments.length;n<r;n++)S(arguments[n],e);return t}function M(t,e,n){return S(e,function(e,o){t[o]=n&&"function"===typeof e?r(e,n):e}),t}function O(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t}function E(t,e,n,r){t.prototype=Object.create(e.prototype,r),t.prototype.constructor=t,n&&Object.assign(t.prototype,n)}function A(t,e,n){var r,o,i,a={};e=e||{};do{r=Object.getOwnPropertyNames(t),o=r.length;while(o-- >0)i=r[o],a[i]||(e[i]=t[i],a[i]=!0);t=Object.getPrototypeOf(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e}function I(t,e,n){t=String(t),(void 0===n||n>t.length)&&(n=t.length),n-=e.length;var r=t.indexOf(e,n);return-1!==r&&r===n}function P(t){if(!t)return null;var e=t.length;if(l(e))return null;var n=new Array(e);while(e-- >0)n[e]=t[e];return n}var D=function(t){return function(e){return t&&e instanceof t}}("undefined"!==typeof Uint8Array&&Object.getPrototypeOf(Uint8Array));t.exports={isArray:s,isArrayBuffer:c,isBuffer:d,isFormData:$,isArrayBufferView:u,isString:p,isNumber:h,isObject:m,isPlainObject:f,isUndefined:l,isDate:g,isFile:v,isBlob:b,isFunction:w,isStream:x,isURLSearchParams:C,isStandardBrowserEnv:_,forEach:S,merge:T,extend:M,trim:k,stripBOM:O,inherits:E,toFlatObject:A,kindOf:i,kindOfTest:a,endsWith:I,toArray:P,isTypedArray:D,isFileList:y}},9573:function(t,e,n){"use strict";n.r(e);var r=n(1601),o=n.n(r),i=n(6314),a=n.n(i),s=a()(o());s.push([t.id,".spin-once[data-v-1883dfa1]{animation:spinOnce-1883dfa1 .7s ease}@keyframes spinOnce-1883dfa1{to{transform:rotate(1turn)}}",""]),e["default"]=s},4335:function(t,e,n){"use strict";n.r(e);var r=n(1601),o=n.n(r),i=n(6314),a=n.n(i),s=a()(o());s.push([t.id,".banner[data-v-3eb6a2d1]{font-family:Ubuntu,Arial,sans-serif;min-height:32px}.banner-icon-svg[data-v-3eb6a2d1]{display:inline-flex;align-items:center;flex-shrink:0}.banner-icon-svg[data-v-3eb6a2d1] svg{width:100%;height:100%;display:block}.banner-cta-btn[data-v-3eb6a2d1]{font-family:Ubuntu,Arial,sans-serif;letter-spacing:.01em;text-decoration:none}.banner-cta-btn[data-v-3eb6a2d1]:hover{filter:brightness(1.1)}",""]),e["default"]=s},1206:function(t,e,n){"use strict";n.r(e);var r=n(1601),o=n.n(r),i=n(6314),a=n.n(i),s=a()(o());s.push([t.id,"@keyframes pulseRing-09192b30{0%{transform:scale(1);opacity:.5}to{transform:scale(1.4);opacity:0}}.pulse-ring[data-v-09192b30]{animation:pulseRing-09192b30 1.6s ease-out infinite}@keyframes pulseDot-09192b30{0%,to{opacity:1}50%{opacity:.4}}.pulse-dot[data-v-09192b30]{animation:pulseDot-09192b30 1.5s infinite}",""]),e["default"]=s},5788:function(t,e,n){"use strict";n.r(e);var r=n(1601),o=n.n(r),i=n(6314),a=n.n(i),s=a()(o());s.push([t.id,'.fab-container[data-v-1f5ee452]{z-index:100}.fab-main[data-v-1f5ee452]{box-shadow:0 8px 25px rgba(0,0,0,.3)}.fab-secondary[data-v-1f5ee452]{box-shadow:0 4px 15px rgba(0,0,0,.2)}.fab-label[data-v-1f5ee452]{opacity:0;transform:translateX(10px);transition:all .3s ease}.fab-item-container:hover .fab-label[data-v-1f5ee452]{opacity:1;transform:translateX(0)}.fab-submenu .fab-label[data-v-1f5ee452]{opacity:.8;transform:translateX(0)}.fab-slide-enter-active[data-v-1f5ee452],.fab-slide-leave-active[data-v-1f5ee452]{transition:all .3s ease}.fab-slide-enter-from[data-v-1f5ee452],.fab-slide-leave-to[data-v-1f5ee452]{opacity:0;transform:translateY(20px) scale(.8)}.fab-slide-enter-to[data-v-1f5ee452],.fab-slide-leave-from[data-v-1f5ee452]{opacity:1;transform:translateY(0) scale(1)}.fab-submenu .fab-item-container[data-v-1f5ee452]{transition:all .3s ease}.fab-submenu .fab-item-container[data-v-1f5ee452]:first-child{transition-delay:.1s}.fab-submenu .fab-item-container[data-v-1f5ee452]:nth-child(2){transition-delay:.15s}.fab-submenu .fab-item-container[data-v-1f5ee452]:nth-child(3){transition-delay:.2s}[data-v-1f5ee452]::-webkit-scrollbar{width:7px}[data-v-1f5ee452]::-webkit-scrollbar-track{border-radius:10px;background:#eee;box-shadow:0 0 1px 1px #bbb,inset 0 0 7px rgba(0,0,0,.3)}[data-v-1f5ee452]::-webkit-scrollbar-thumb{border-radius:10px;background:linear-gradient("to left",#96a6bf,#63738c);box-shadow:inset 0 0 1px 1px #5c6670}[data-v-1f5ee452]::-webkit-scrollbar-thumb:hover{background:linear-gradient("to left",#8391a6,#536175)}',""]),e["default"]=s},3556:function(t,e,n){"use strict";n.r(e);var r=n(1601),o=n.n(r),i=n(6314),a=n.n(i),s=a()(o());s.push([t.id,".w-98p[data-v-582b5ece]{width:98%!important}.fade-enter-active[data-v-582b5ece],.fade-leave-active[data-v-582b5ece]{transition:opacity .2s}.fade-enter[data-v-582b5ece],.fade-leave-to[data-v-582b5ece]{opacity:0}",""]),e["default"]=s},8274:function(t,e,n){"use strict";n.r(e);var r=n(1601),o=n.n(r),i=n(6314),a=n.n(i),s=a()(o());s.push([t.id,".spin-loop[data-v-34aa2590]{animation:spinLoop-34aa2590 1s linear infinite}@keyframes spinLoop-34aa2590{to{transform:rotate(1turn)}}",""]),e["default"]=s},7058:function(t,e,n){"use strict";n.r(e);var r=n(1601),o=n.n(r),i=n(6314),a=n.n(i),s=a()(o());s.push([t.id,".login-screen[data-v-737e75f4]{font-family:Segoe UI,system-ui,-apple-system,sans-serif}.animate-spin[data-v-737e75f4]{animation:spinLoop-737e75f4 .8s linear infinite}@keyframes spinLoop-737e75f4{to{transform:rotate(1turn)}}",""]),e["default"]=s},4043:function(t,e,n){"use strict";n.r(e);var r=n(1601),o=n.n(r),i=n(6314),a=n.n(i),s=a()(o());s.push([t.id,".section-title[data-v-11afbabc]{font-size:10px;line-height:1;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#94a3b8;margin:4px 4px 6px;text-align:left}.section-header[data-v-11afbabc]{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;background:transparent;border:0;padding:0}.action-icon[data-v-11afbabc]{width:28px;height:28px;border-radius:8px;flex-shrink:0}.spin-loop[data-v-11afbabc]{animation:spinLoop-11afbabc 1s linear infinite}@keyframes spinLoop-11afbabc{to{transform:rotate(1turn)}}input[type=range][data-v-11afbabc]{-webkit-appearance:none;background:linear-gradient(to right,#2563eb 0,#2563eb var(--p,0),#e5e7eb var(--p,0),#e5e7eb 100%);border-radius:999px}.dropdown-fade-enter-active[data-v-11afbabc],.dropdown-fade-leave-active[data-v-11afbabc]{transition:opacity .12s ease,transform .12s ease}.dropdown-fade-enter-from[data-v-11afbabc],.dropdown-fade-leave-to[data-v-11afbabc]{opacity:0;transform:translateY(-4px)}.device-menu[data-v-11afbabc]{scrollbar-width:thin}.device-menu[data-v-11afbabc]::-webkit-scrollbar{width:6px}.device-menu[data-v-11afbabc]::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}",""]),e["default"]=s},1757:function(t,e,n){"use strict";n.r(e);var r=n(1601),o=n.n(r),i=n(6314),a=n.n(i),s=a()(o());s.push([t.id,".presence-pulse[data-v-5069a8ea]{animation:presencePulse-5069a8ea .7s ease}.spin-once[data-v-5069a8ea]{animation:spinOnce-5069a8ea .7s ease}.contact-dialer-bridge[data-v-5069a8ea]{display:none}@keyframes presencePulse-5069a8ea{0%{transform:scale(1)}50%{transform:scale(1.4)}to{transform:scale(1)}}@keyframes spinOnce-5069a8ea{to{transform:rotate(1turn)}}",""]),e["default"]=s},432:function(t,e,n){"use strict";n.r(e);var r=n(1601),o=n.n(r),i=n(6314),a=n.n(i),s=a()(o());s.push([t.id,"input[type=range][data-v-6770b86e]::-webkit-slider-thumb{width:5px;height:8px;border:1px solid #60a5fa;-webkit-appearance:none;background:#fff;cursor:ew-resize}@media (min-width:640px){input[type=range][data-v-6770b86e]::-webkit-slider-thumb{width:8px;height:16px;border:1px solid #60a5fa;-webkit-appearance:none;background:#fff;cursor:ew-resize}}@media (min-width:1024px){input[type=range][data-v-6770b86e]::-webkit-slider-thumb{width:10px;height:22px;border:1px solid #60a5fa;-webkit-appearance:none;background:#fff;cursor:ew-resize}}@media (min-width:1536px){input[type=range][data-v-6770b86e]::-webkit-slider-thumb{width:12px;height:26px;border:1px solid #60a5fa;-webkit-appearance:none;background:#fff;cursor:ew-resize}}",""]),e["default"]=s},6981:function(t,e,n){"use strict";n.r(e);var r=n(1601),o=n.n(r),i=n(6314),a=n.n(i),s=a()(o());s.push([t.id,".resize-observer[data-v-b329ee4c]{border:none;background-color:transparent;opacity:0}.resize-observer[data-v-b329ee4c],.resize-observer[data-v-b329ee4c] object{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%;pointer-events:none;display:block;overflow:hidden}.v-popper__popper{z-index:10000;top:0;left:0;outline:none}.v-popper__popper.v-popper__popper--hidden{visibility:hidden;opacity:0;transition:opacity .15s,visibility .15s;pointer-events:none}.v-popper__popper.v-popper__popper--shown{visibility:visible;opacity:1;transition:opacity .15s}.v-popper__popper.v-popper__popper--skip-transition,.v-popper__popper.v-popper__popper--skip-transition>.v-popper__wrapper{transition:none!important}.v-popper__backdrop{position:absolute;top:0;left:0;width:100%;height:100%;display:none}.v-popper__inner{position:relative;box-sizing:border-box;overflow-y:auto}.v-popper__inner>div{position:relative;z-index:1;max-width:inherit;max-height:inherit}.v-popper__arrow-container{position:absolute;width:10px;height:10px}.v-popper__popper--arrow-overflow .v-popper__arrow-container,.v-popper__popper--no-positioning .v-popper__arrow-container{display:none}.v-popper__arrow-inner,.v-popper__arrow-outer{border-style:solid;position:absolute;top:0;left:0;width:0;height:0}.v-popper__arrow-inner{visibility:hidden;border-width:7px}.v-popper__arrow-outer{border-width:6px}.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-inner{left:-2px}.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-outer,.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-outer{left:-1px}.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-outer{border-bottom-width:0;border-left-color:transparent!important;border-right-color:transparent!important;border-bottom-color:transparent!important}.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-inner{top:-2px}.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-container{top:0}.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-outer{border-top-width:0;border-left-color:transparent!important;border-right-color:transparent!important;border-top-color:transparent!important}.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-inner{top:-4px}.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-outer{top:-6px}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-inner{top:-2px}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-outer,.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-outer{top:-1px}.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-outer{border-left-width:0;border-left-color:transparent!important;border-top-color:transparent!important;border-bottom-color:transparent!important}.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-inner{left:-4px}.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-outer{left:-6px}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-container{right:-10px}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-outer{border-right-width:0;border-top-color:transparent!important;border-right-color:transparent!important;border-bottom-color:transparent!important}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-inner{left:-2px}.v-popper--theme-tooltip .v-popper__inner{background:rgba(0,0,0,.8);color:#fff;border-radius:6px;padding:7px 12px 6px}.v-popper--theme-tooltip .v-popper__arrow-outer{border-color:#000c}.v-popper--theme-dropdown .v-popper__inner{background:#fff;color:#000;border-radius:6px;border:1px solid #ddd;box-shadow:0 6px 30px #0000001a}.v-popper--theme-dropdown .v-popper__arrow-inner{visibility:visible;border-color:#fff}.v-popper--theme-dropdown .v-popper__arrow-outer{border-color:#ddd}",""]),e["default"]=s},9367:function(t,e,n){"use strict";n.r(e);var r=n(1601),o=n.n(r),i=n(6314),a=n.n(i),s=a()(o());s.push([t.id,".Vue-Toastification__container{z-index:9999;position:fixed;padding:4px;width:600px;box-sizing:border-box;display:flex;min-height:100%;color:#fff;flex-direction:column;pointer-events:none}@media only screen and (min-width:600px){.Vue-Toastification__container.top-center,.Vue-Toastification__container.top-left,.Vue-Toastification__container.top-right{top:1em}.Vue-Toastification__container.bottom-center,.Vue-Toastification__container.bottom-left,.Vue-Toastification__container.bottom-right{bottom:1em;flex-direction:column-reverse}.Vue-Toastification__container.bottom-left,.Vue-Toastification__container.top-left{left:1em}.Vue-Toastification__container.bottom-left .Vue-Toastification__toast,.Vue-Toastification__container.top-left .Vue-Toastification__toast{margin-right:auto}@supports not (-moz-appearance:none){.Vue-Toastification__container.bottom-left .Vue-Toastification__toast--rtl,.Vue-Toastification__container.top-left .Vue-Toastification__toast--rtl{margin-right:unset;margin-left:auto}}.Vue-Toastification__container.bottom-right,.Vue-Toastification__container.top-right{right:1em}.Vue-Toastification__container.bottom-right .Vue-Toastification__toast,.Vue-Toastification__container.top-right .Vue-Toastification__toast{margin-left:auto}@supports not (-moz-appearance:none){.Vue-Toastification__container.bottom-right .Vue-Toastification__toast--rtl,.Vue-Toastification__container.top-right .Vue-Toastification__toast--rtl{margin-left:unset;margin-right:auto}}.Vue-Toastification__container.bottom-center,.Vue-Toastification__container.top-center{left:50%;margin-left:-300px}.Vue-Toastification__container.bottom-center .Vue-Toastification__toast,.Vue-Toastification__container.top-center .Vue-Toastification__toast{margin-left:auto;margin-right:auto}}@media only screen and (max-width:600px){.Vue-Toastification__container{width:100vw;padding:0;left:0;margin:0}.Vue-Toastification__container .Vue-Toastification__toast{width:100%}.Vue-Toastification__container.top-center,.Vue-Toastification__container.top-left,.Vue-Toastification__container.top-right{top:0}.Vue-Toastification__container.bottom-center,.Vue-Toastification__container.bottom-left,.Vue-Toastification__container.bottom-right{bottom:0;flex-direction:column-reverse}}.Vue-Toastification__toast{display:inline-flex;position:relative;max-height:800px;min-height:64px;box-sizing:border-box;margin-bottom:1rem;padding:22px 24px;border-radius:8px;box-shadow:0 1px 10px 0 rgba(0,0,0,.1),0 2px 15px 0 rgba(0,0,0,.05);justify-content:space-between;font-family:Lato,Helvetica,Roboto,Arial,sans-serif;max-width:600px;min-width:326px;pointer-events:auto;overflow:hidden;transform:translateZ(0);direction:ltr}.Vue-Toastification__toast--rtl{direction:rtl}.Vue-Toastification__toast--default{background-color:#1976d2;color:#fff}.Vue-Toastification__toast--info{background-color:#2196f3;color:#fff}.Vue-Toastification__toast--success{background-color:#4caf50;color:#fff}.Vue-Toastification__toast--error{background-color:#ff5252;color:#fff}.Vue-Toastification__toast--warning{background-color:#ffc107;color:#fff}@media only screen and (max-width:600px){.Vue-Toastification__toast{border-radius:0;margin-bottom:.5rem}}.Vue-Toastification__toast-body{flex:1;line-height:24px;font-size:16px;word-break:break-word;white-space:pre-wrap}.Vue-Toastification__toast-component-body{flex:1}.Vue-Toastification__toast.disable-transition{animation:none!important}.Vue-Toastification__close-button{font-weight:700;font-size:24px;line-height:24px;background:transparent;outline:none;border:none;padding:0;padding-left:10px;cursor:pointer;transition:.3s ease;align-items:center;color:#fff;opacity:.3;transition:visibility 0s,opacity .2s linear}.Vue-Toastification__close-button:focus,.Vue-Toastification__close-button:hover{opacity:1}.Vue-Toastification__toast:not(:hover) .Vue-Toastification__close-button.show-on-hover{opacity:0}.Vue-Toastification__toast--rtl .Vue-Toastification__close-button{padding-left:unset;padding-right:10px}@keyframes scale-x-frames{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Vue-Toastification__progress-bar{position:absolute;bottom:0;left:0;width:100%;height:5px;z-index:10000;background-color:hsla(0,0%,100%,.7);transform-origin:left;animation:scale-x-frames linear 1 forwards}.Vue-Toastification__toast--rtl .Vue-Toastification__progress-bar{right:0;left:unset;transform-origin:right}.Vue-Toastification__icon{margin:auto 18px auto 0;background:transparent;outline:none;border:none;padding:0;transition:.3s ease;align-items:center;width:20px;height:100%}.Vue-Toastification__toast--rtl .Vue-Toastification__icon{margin:auto 0 auto 18px}@keyframes bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes bounceOutRight{40%{opacity:1;transform:translate3d(-20px,0,0)}to{opacity:0;transform:translate3d(1000px,0,0)}}@keyframes bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes bounceOutLeft{20%{opacity:1;transform:translate3d(20px,0,0)}to{opacity:0;transform:translate3d(-2000px,0,0)}}@keyframes bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes bounceOutUp{20%{transform:translate3d(0,-10px,0)}40%,45%{opacity:1;transform:translate3d(0,20px,0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes bounceOutDown{20%{transform:translate3d(0,10px,0)}40%,45%{opacity:1;transform:translate3d(0,-20px,0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Vue-Toastification__bounce-enter-active.bottom-left,.Vue-Toastification__bounce-enter-active.top-left{animation-name:bounceInLeft}.Vue-Toastification__bounce-enter-active.bottom-right,.Vue-Toastification__bounce-enter-active.top-right{animation-name:bounceInRight}.Vue-Toastification__bounce-enter-active.top-center{animation-name:bounceInDown}.Vue-Toastification__bounce-enter-active.bottom-center{animation-name:bounceInUp}.Vue-Toastification__bounce-leave-active:not(.disable-transition).bottom-left,.Vue-Toastification__bounce-leave-active:not(.disable-transition).top-left{animation-name:bounceOutLeft}.Vue-Toastification__bounce-leave-active:not(.disable-transition).bottom-right,.Vue-Toastification__bounce-leave-active:not(.disable-transition).top-right{animation-name:bounceOutRight}.Vue-Toastification__bounce-leave-active:not(.disable-transition).top-center{animation-name:bounceOutUp}.Vue-Toastification__bounce-leave-active:not(.disable-transition).bottom-center{animation-name:bounceOutDown}.Vue-Toastification__bounce-enter-active,.Vue-Toastification__bounce-leave-active{animation-duration:.75s;animation-fill-mode:both}.Vue-Toastification__bounce-move{transition-timing-function:ease-in-out;transition-property:all;transition-duration:.4s}@keyframes fadeOutTop{0%{transform:translateY(0);opacity:1}to{transform:translateY(-50px);opacity:0}}@keyframes fadeOutLeft{0%{transform:translateX(0);opacity:1}to{transform:translateX(-50px);opacity:0}}@keyframes fadeOutBottom{0%{transform:translateY(0);opacity:1}to{transform:translateY(50px);opacity:0}}@keyframes fadeOutRight{0%{transform:translateX(0);opacity:1}to{transform:translateX(50px);opacity:0}}@keyframes fadeInLeft{0%{transform:translateX(-50px);opacity:0}to{transform:translateX(0);opacity:1}}@keyframes fadeInRight{0%{transform:translateX(50px);opacity:0}to{transform:translateX(0);opacity:1}}@keyframes fadeInTop{0%{transform:translateY(-50px);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes fadeInBottom{0%{transform:translateY(50px);opacity:0}to{transform:translateY(0);opacity:1}}.Vue-Toastification__fade-enter-active.bottom-left,.Vue-Toastification__fade-enter-active.top-left{animation-name:fadeInLeft}.Vue-Toastification__fade-enter-active.bottom-right,.Vue-Toastification__fade-enter-active.top-right{animation-name:fadeInRight}.Vue-Toastification__fade-enter-active.top-center{animation-name:fadeInTop}.Vue-Toastification__fade-enter-active.bottom-center{animation-name:fadeInBottom}.Vue-Toastification__fade-leave-active:not(.disable-transition).bottom-left,.Vue-Toastification__fade-leave-active:not(.disable-transition).top-left{animation-name:fadeOutLeft}.Vue-Toastification__fade-leave-active:not(.disable-transition).bottom-right,.Vue-Toastification__fade-leave-active:not(.disable-transition).top-right{animation-name:fadeOutRight}.Vue-Toastification__fade-leave-active:not(.disable-transition).top-center{animation-name:fadeOutTop}.Vue-Toastification__fade-leave-active:not(.disable-transition).bottom-center{animation-name:fadeOutBottom}.Vue-Toastification__fade-enter-active,.Vue-Toastification__fade-leave-active{animation-duration:.75s;animation-fill-mode:both}.Vue-Toastification__fade-move{transition-timing-function:ease-in-out;transition-property:all;transition-duration:.4s}@keyframes slideInBlurredLeft{0%{transform:translateX(-1000px) scaleX(2.5) scaleY(.2);transform-origin:100% 50%;filter:blur(40px);opacity:0}to{transform:translateX(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}}@keyframes slideInBlurredTop{0%{transform:translateY(-1000px) scaleY(2.5) scaleX(.2);transform-origin:50% 0;filter:blur(240px);opacity:0}to{transform:translateY(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}}@keyframes slideInBlurredRight{0%{transform:translateX(1000px) scaleX(2.5) scaleY(.2);transform-origin:0 50%;filter:blur(40px);opacity:0}to{transform:translateX(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}}@keyframes slideInBlurredBottom{0%{transform:translateY(1000px) scaleY(2.5) scaleX(.2);transform-origin:50% 100%;filter:blur(240px);opacity:0}to{transform:translateY(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}}@keyframes slideOutBlurredTop{0%{transform:translateY(0) scaleY(1) scaleX(1);transform-origin:50% 0;filter:blur(0);opacity:1}to{transform:translateY(-1000px) scaleY(2) scaleX(.2);transform-origin:50% 0;filter:blur(240px);opacity:0}}@keyframes slideOutBlurredBottom{0%{transform:translateY(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}to{transform:translateY(1000px) scaleY(2) scaleX(.2);transform-origin:50% 100%;filter:blur(240px);opacity:0}}@keyframes slideOutBlurredLeft{0%{transform:translateX(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}to{transform:translateX(-1000px) scaleX(2) scaleY(.2);transform-origin:100% 50%;filter:blur(40px);opacity:0}}@keyframes slideOutBlurredRight{0%{transform:translateX(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}to{transform:translateX(1000px) scaleX(2) scaleY(.2);transform-origin:0 50%;filter:blur(40px);opacity:0}}.Vue-Toastification__slideBlurred-enter-active.bottom-left,.Vue-Toastification__slideBlurred-enter-active.top-left{animation-name:slideInBlurredLeft}.Vue-Toastification__slideBlurred-enter-active.bottom-right,.Vue-Toastification__slideBlurred-enter-active.top-right{animation-name:slideInBlurredRight}.Vue-Toastification__slideBlurred-enter-active.top-center{animation-name:slideInBlurredTop}.Vue-Toastification__slideBlurred-enter-active.bottom-center{animation-name:slideInBlurredBottom}.Vue-Toastification__slideBlurred-leave-active:not(.disable-transition).bottom-left,.Vue-Toastification__slideBlurred-leave-active:not(.disable-transition).top-left{animation-name:slideOutBlurredLeft}.Vue-Toastification__slideBlurred-leave-active:not(.disable-transition).bottom-right,.Vue-Toastification__slideBlurred-leave-active:not(.disable-transition).top-right{animation-name:slideOutBlurredRight}.Vue-Toastification__slideBlurred-leave-active:not(.disable-transition).top-center{animation-name:slideOutBlurredTop}.Vue-Toastification__slideBlurred-leave-active:not(.disable-transition).bottom-center{animation-name:slideOutBlurredBottom}.Vue-Toastification__slideBlurred-enter-active,.Vue-Toastification__slideBlurred-leave-active{animation-duration:.75s;animation-fill-mode:both}.Vue-Toastification__slideBlurred-move{transition-timing-function:ease-in-out;transition-property:all;transition-duration:.4s}",""]),e["default"]=s},472:function(t,e,n){"use strict";n.r(e);var r=n(1601),o=n.n(r),i=n(6314),a=n.n(i),s=a()(o());s.push([t.id,".b-tab{padding:10px;display:none}.b-tab.active{display:block}.b-nav-tab{display:inline-block;padding:10px}.b-nav-tab.active,.b-nav-tab.hover-active{font-family:SegoeUIEmoji!important;font-weight:700;outline:2px solid transparent!important;outline-offset:2px!important}.v-popper--theme-tooltip .v-popper__inner{font-family:SegoeUIEmoji!important;background:#fff;color:#2563eb;padding:8px;border:1px solid #dbeafe;border-radius:5px;box-shadow:0 0 10px rgba(0,0,0,.1)}.v-popper--theme-tooltip .v-popper__arrow-outer{border-color:#dbeafe}.v-popper--theme-tooltip .v-popper__arrow-inner{visibility:visible;border-color:#fff}.truncate{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}",""]),e["default"]=s},5063:function(t,e,n){"use strict";n.r(e);var r=n(1601),o=n.n(r),i=n(6314),a=n.n(i),s=n(4417),l=n.n(s),d=new URL(n(4894),n.b),c=new URL(n(4661),n.b),u=a()(o()),p=l()(d),h=l()(c);u.push([t.id,'*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/*! tailwindcss v3.4.19 | MIT License | https://tailwindcss.com*/*,:after,:before{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:after,:before{--tw-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}@font-face{font-family:Audiowide;src:url('+p+') format("truetype")}@font-face{font-family:SegoeUIEmoji;src:url('+h+') format("truetype")}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.pointer-events-none{pointer-events:none!important}.invisible{visibility:hidden!important}.collapse{visibility:collapse!important}.fixed{position:fixed!important}.absolute{position:absolute!important}.relative{position:relative!important}.sticky{position:sticky!important}.inset-0{inset:0!important}.inset-x-0{left:0!important;right:0!important}.bottom-0{bottom:0!important}.bottom-0\\.5{bottom:.125rem!important}.left-0{left:0!important}.left-2\\.5{left:.625rem!important}.right-0{right:0!important}.right-0\\.5{right:.125rem!important}.right-1\\.5{right:.375rem!important}.top-0{top:0!important}.top-1\\/2{top:50%!important}.z-10{z-index:10!important}.z-20{z-index:20!important}.z-30{z-index:30!important}.z-50{z-index:50!important}.z-\\[1\\]{z-index:1!important}.order-1{order:1!important}.order-2{order:2!important}.order-3{order:3!important}.order-4{order:4!important}.col-span-1{grid-column:span 1/span 1!important}.col-span-2{grid-column:span 2/span 2!important}.col-span-3{grid-column:span 3/span 3!important}.float-right{float:right!important}.m-0{margin:0!important}.m-1{margin:.25rem!important}.m-2{margin:.5rem!important}.mx-1{margin-left:.25rem!important;margin-right:.25rem!important}.mx-4{margin-left:1rem!important;margin-right:1rem!important}.mx-auto{margin-left:auto!important;margin-right:auto!important}.my-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.mb-0\\.5{margin-bottom:.125rem!important}.mb-1{margin-bottom:.25rem!important}.mb-1\\.5{margin-bottom:.375rem!important}.mb-16{margin-bottom:4rem!important}.mb-2{margin-bottom:.5rem!important}.mb-8{margin-bottom:2rem!important}.ml-0\\.5{margin-left:.125rem!important}.ml-1{margin-left:.25rem!important}.ml-2{margin-left:.5rem!important}.ml-3{margin-left:.75rem!important}.ml-4{margin-left:1rem!important}.ml-5{margin-left:1.25rem!important}.ml-6{margin-left:1.5rem!important}.mr-0{margin-right:0!important}.mr-0\\.5{margin-right:.125rem!important}.mr-1{margin-right:.25rem!important}.mr-2{margin-right:.5rem!important}.mr-3{margin-right:.75rem!important}.mr-4{margin-right:1rem!important}.mr-5{margin-right:1.25rem!important}.mr-6{margin-right:1.5rem!important}.mt-0\\.5{margin-top:.125rem!important}.mt-1{margin-top:.25rem!important}.mt-1\\.5{margin-top:.375rem!important}.mt-2{margin-top:.5rem!important}.mt-3{margin-top:.75rem!important}.mt-4{margin-top:1rem!important}.mt-8{margin-top:2rem!important}.mt-auto{margin-top:auto!important}.block{display:block!important}.inline-block{display:inline-block!important}.flex{display:flex!important}.inline-flex{display:inline-flex!important}.grid{display:grid!important}.hidden{display:none!important}.h-1{height:.25rem!important}.h-1\\.5{height:.375rem!important}.h-2{height:.5rem!important}.h-2\\.5{height:.625rem!important}.h-3{height:.75rem!important}.h-3\\.5{height:.875rem!important}.h-4{height:1rem!important}.h-5{height:1.25rem!important}.h-6{height:1.5rem!important}.h-7{height:1.75rem!important}.h-8{height:2rem!important}.h-9{height:2.25rem!important}.h-auto{height:auto!important}.h-full{height:100%!important}.max-h-48{max-height:12rem!important}.max-h-56{max-height:14rem!important}.min-h-0{min-height:0!important}.min-h-\\[36px\\]{min-height:36px!important}.min-h-\\[50px\\]{min-height:50px!important}.w-0{width:0!important}.w-1\\.5{width:.375rem!important}.w-1\\/2{width:50%!important}.w-1\\/3{width:33.333333%!important}.w-14{width:3.5rem!important}.w-2{width:.5rem!important}.w-2\\.5{width:.625rem!important}.w-20{width:5rem!important}.w-3{width:.75rem!important}.w-3\\.5{width:.875rem!important}.w-3\\/4{width:75%!important}.w-4{width:1rem!important}.w-4\\/5{width:80%!important}.w-5{width:1.25rem!important}.w-5\\/6{width:83.333333%!important}.w-6{width:1.5rem!important}.w-7{width:1.75rem!important}.w-8{width:2rem!important}.w-9{width:2.25rem!important}.w-auto{width:auto!important}.w-full{width:100%!important}.min-w-0{min-width:0!important}.max-w-full{max-width:100%!important}.max-w-screen-sm{max-width:640px!important}.max-w-xs{max-width:20rem!important}.flex-1{flex:1 1 0%!important}.flex-none{flex:none!important}.flex-shrink{flex-shrink:1!important}.flex-shrink-0{flex-shrink:0!important}.flex-grow,.grow{flex-grow:1!important}.-rotate-90{--tw-rotate:-90deg!important}.-rotate-90,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.rotate-180{--tw-rotate:180deg!important}.rotate-45{--tw-rotate:45deg!important}.rotate-45,.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite!important}.cursor-not-allowed{cursor:not-allowed!important}.cursor-pointer{cursor:pointer!important}.select-none{-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important}.appearance-none{-webkit-appearance:none!important;-moz-appearance:none!important;appearance:none!important}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))!important}.grid-rows-1{grid-template-rows:repeat(1,minmax(0,1fr))!important}.flex-row{flex-direction:row!important}.flex-col{flex-direction:column!important}.flex-wrap{flex-wrap:wrap!important}.items-start{align-items:flex-start!important}.items-end{align-items:flex-end!important}.items-center{align-items:center!important}.items-stretch{align-items:stretch!important}.justify-start{justify-content:flex-start!important}.justify-end{justify-content:flex-end!important}.justify-center{justify-content:center!important}.justify-between{justify-content:space-between!important}.justify-around{justify-content:space-around!important}.gap-0\\.5{gap:.125rem!important}.gap-1{gap:.25rem!important}.gap-1\\.5{gap:.375rem!important}.gap-2{gap:.5rem!important}.gap-2\\.5{gap:.625rem!important}.gap-3{gap:.75rem!important}.gap-6{gap:1.5rem!important}.gap-y-1\\.5{row-gap:.375rem!important}.gap-y-2{row-gap:.5rem!important}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-top:calc(.25rem*(1 - var(--tw-space-y-reverse)))!important;margin-bottom:calc(.25rem*var(--tw-space-y-reverse))!important}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)))!important;margin-bottom:calc(.5rem*var(--tw-space-y-reverse))!important}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse:0!important;border-top-width:calc(1px*(1 - var(--tw-divide-y-reverse)))!important;border-bottom-width:calc(1px*var(--tw-divide-y-reverse))!important}.divide-gray-100>:not([hidden])~:not([hidden]){--tw-divide-opacity:1!important;border-color:rgb(243 244 246/var(--tw-divide-opacity,1))!important}.place-self-center{place-self:center!important}.self-center{align-self:center!important}.justify-self-end{justify-self:end!important}.overflow-hidden{overflow:hidden!important}.overflow-x-auto{overflow-x:auto!important}.overflow-y-auto{overflow-y:auto!important}.truncate{overflow:hidden!important;text-overflow:ellipsis!important}.truncate,.whitespace-nowrap{white-space:nowrap!important}.rounded{border-radius:.25rem!important}.rounded-full{border-radius:9999px!important}.rounded-lg{border-radius:.5rem!important}.rounded-md{border-radius:.375rem!important}.rounded-xl{border-radius:.75rem!important}.rounded-t-2xl{border-top-left-radius:1rem!important;border-top-right-radius:1rem!important}.rounded-bl-sm{border-bottom-left-radius:.125rem!important}.rounded-br-sm{border-bottom-right-radius:.125rem!important}.rounded-tl-sm{border-top-left-radius:.125rem!important}.rounded-tr-sm{border-top-right-radius:.125rem!important}.border{border-width:1px!important}.border-b{border-bottom-width:1px!important}.border-l{border-left-width:1px!important}.border-r{border-right-width:1px!important}.border-t{border-top-width:1px!important}.border-none{border-style:none!important}.border-amber-200{--tw-border-opacity:1!important;border-color:rgb(253 230 138/var(--tw-border-opacity,1))!important}.border-blue-100{--tw-border-opacity:1!important;border-color:rgb(219 234 254/var(--tw-border-opacity,1))!important}.border-blue-300{--tw-border-opacity:1!important;border-color:rgb(147 197 253/var(--tw-border-opacity,1))!important}.border-blue-400{--tw-border-opacity:1!important;border-color:rgb(96 165 250/var(--tw-border-opacity,1))!important}.border-blue-500{--tw-border-opacity:1!important;border-color:rgb(59 130 246/var(--tw-border-opacity,1))!important}.border-gray-100{--tw-border-opacity:1!important;border-color:rgb(243 244 246/var(--tw-border-opacity,1))!important}.border-gray-200{--tw-border-opacity:1!important;border-color:rgb(229 231 235/var(--tw-border-opacity,1))!important}.border-gray-400{--tw-border-opacity:1!important;border-color:rgb(156 163 175/var(--tw-border-opacity,1))!important}.border-gray-50{--tw-border-opacity:1!important;border-color:rgb(249 250 251/var(--tw-border-opacity,1))!important}.border-red-400{--tw-border-opacity:1!important;border-color:rgb(248 113 113/var(--tw-border-opacity,1))!important}.border-slate-200\\/70{border-color:rgba(226,232,240,.7)!important}.bg-\\[\\#25D366\\]{--tw-bg-opacity:1!important;background-color:rgb(37 211 102/var(--tw-bg-opacity,1))!important}.bg-\\[\\#E1EDFE\\]{--tw-bg-opacity:1!important;background-color:rgb(225 237 254/var(--tw-bg-opacity,1))!important}.bg-amber-50{--tw-bg-opacity:1!important;background-color:rgb(255 251 235/var(--tw-bg-opacity,1))!important}.bg-black\\/80{background-color:rgba(0,0,0,.8)!important}.bg-blue-400{background-color:rgb(96 165 250/var(--tw-bg-opacity,1))!important}.bg-blue-400,.bg-blue-450{--tw-bg-opacity:1!important}.bg-blue-450{background-color:rgb(61 171 252/var(--tw-bg-opacity,1))!important}.bg-blue-50{--tw-bg-opacity:1!important;background-color:rgb(239 246 255/var(--tw-bg-opacity,1))!important}.bg-blue-50\\/60{background-color:rgba(239,246,255,.6)!important}.bg-blue-500{background-color:rgb(59 130 246/var(--tw-bg-opacity,1))!important}.bg-blue-500,.bg-gray-100{--tw-bg-opacity:1!important}.bg-gray-100{background-color:rgb(243 244 246/var(--tw-bg-opacity,1))!important}.bg-gray-300{background-color:rgb(209 213 219/var(--tw-bg-opacity,1))!important}.bg-gray-300,.bg-gray-50{--tw-bg-opacity:1!important}.bg-gray-50{background-color:rgb(249 250 251/var(--tw-bg-opacity,1))!important}.bg-gray-800{background-color:rgb(31 41 55/var(--tw-bg-opacity,1))!important}.bg-gray-800,.bg-gray-900{--tw-bg-opacity:1!important}.bg-gray-900{background-color:rgb(17 24 39/var(--tw-bg-opacity,1))!important}.bg-green-100{--tw-bg-opacity:1!important;background-color:rgb(220 252 231/var(--tw-bg-opacity,1))!important}.bg-green-400{--tw-bg-opacity:1!important;background-color:rgb(74 222 128/var(--tw-bg-opacity,1))!important}.bg-green-50{--tw-bg-opacity:1!important;background-color:rgb(240 253 244/var(--tw-bg-opacity,1))!important}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity,1))!important}.bg-green-500,.bg-red-400{--tw-bg-opacity:1!important}.bg-red-400{background-color:rgb(248 113 113/var(--tw-bg-opacity,1))!important}.bg-red-50{background-color:rgb(254 242 242/var(--tw-bg-opacity,1))!important}.bg-red-50,.bg-red-500{--tw-bg-opacity:1!important}.bg-red-500{background-color:rgb(239 68 68/var(--tw-bg-opacity,1))!important}.bg-slate-100\\/70{background-color:rgba(241,245,249,.7)!important}.bg-transparent{background-color:transparent!important}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity,1))!important}.bg-white,.bg-yellow-400{--tw-bg-opacity:1!important}.bg-yellow-400{background-color:rgb(250 204 21/var(--tw-bg-opacity,1))!important}.bg-gradient-to-b{background-image:linear-gradient(to bottom,var(--tw-gradient-stops))!important}.bg-gradient-to-t{background-image:linear-gradient(to top,var(--tw-gradient-stops))!important}.from-blue-100{--tw-gradient-from:#dbeafe var(--tw-gradient-from-position)!important;--tw-gradient-to:rgba(219,234,254,0) var(--tw-gradient-to-position)!important;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)!important}.from-blue-50{--tw-gradient-from:#eff6ff var(--tw-gradient-from-position)!important;--tw-gradient-to:rgba(239,246,255,0) var(--tw-gradient-to-position)!important;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)!important}.via-white{--tw-gradient-to:hsla(0,0%,100%,0) var(--tw-gradient-to-position)!important;--tw-gradient-stops:var(--tw-gradient-from),#fff var(--tw-gradient-via-position),var(--tw-gradient-to)!important}.to-white{--tw-gradient-to:#fff var(--tw-gradient-to-position)!important}.bg-cover{background-size:cover!important}.fill-current{fill:currentColor!important}.p-0\\.5{padding:.125rem!important}.p-1{padding:.25rem!important}.p-1\\.5{padding:.375rem!important}.p-2{padding:.5rem!important}.p-2\\.5{padding:.625rem!important}.p-3{padding:.75rem!important}.p-4{padding:1rem!important}.px-0\\.5{padding-left:.125rem!important;padding-right:.125rem!important}.px-1{padding-left:.25rem!important;padding-right:.25rem!important}.px-1\\.5{padding-left:.375rem!important;padding-right:.375rem!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.px-2\\.5{padding-left:.625rem!important;padding-right:.625rem!important}.px-3{padding-left:.75rem!important;padding-right:.75rem!important}.px-4{padding-left:1rem!important;padding-right:1rem!important}.px-5{padding-left:1.25rem!important;padding-right:1.25rem!important}.px-6{padding-left:1.5rem!important;padding-right:1.5rem!important}.px-8{padding-left:2rem!important;padding-right:2rem!important}.py-0\\.5{padding-top:.125rem!important;padding-bottom:.125rem!important}.py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-1\\.5{padding-top:.375rem!important;padding-bottom:.375rem!important}.py-10{padding-top:2.5rem!important;padding-bottom:2.5rem!important}.py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-3{padding-top:.75rem!important;padding-bottom:.75rem!important}.py-4{padding-top:1rem!important;padding-bottom:1rem!important}.py-7{padding-top:1.75rem!important;padding-bottom:1.75rem!important}.pb-1{padding-bottom:.25rem!important}.pb-1\\.5{padding-bottom:.375rem!important}.pb-2{padding-bottom:.5rem!important}.pb-3{padding-bottom:.75rem!important}.pb-4{padding-bottom:1rem!important}.pb-5{padding-bottom:1.25rem!important}.pl-1{padding-left:.25rem!important}.pl-3{padding-left:.75rem!important}.pl-7{padding-left:1.75rem!important}.pr-1{padding-right:.25rem!important}.pr-7{padding-right:1.75rem!important}.pr-9{padding-right:2.25rem!important}.pt-1{padding-top:.25rem!important}.pt-2{padding-top:.5rem!important}.pt-3{padding-top:.75rem!important}.pt-4{padding-top:1rem!important}.pt-8{padding-top:2rem!important}.text-left{text-align:left!important}.text-center{text-align:center!important}.text-right{text-align:right!important}.align-middle{vertical-align:middle!important}.font-audiowide{font-family:Audiowide!important}.font-segoe{font-family:SegoeUIEmoji!important}.text-2xl{font-size:1.5rem!important;line-height:2rem!important}.text-base{font-size:1rem!important;line-height:1.5rem!important}.text-lg{font-size:1.125rem!important;line-height:1.75rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-tiny{font-size:.55rem!important;line-height:.85rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.font-bold{font-weight:700!important}.font-medium{font-weight:500!important}.font-normal{font-weight:400!important}.font-semibold{font-weight:600!important}.uppercase{text-transform:uppercase!important}.italic{font-style:italic!important}.tabular-nums{--tw-numeric-spacing:tabular-nums!important;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)!important}.leading-none{line-height:1!important}.leading-normal{line-height:1.5!important}.leading-relaxed{line-height:1.625!important}.leading-snug{line-height:1.375!important}.leading-tight{line-height:1.25!important}.tracking-tight{letter-spacing:-.025em!important}.tracking-wide{letter-spacing:.025em!important}.tracking-wider{letter-spacing:.05em!important}.text-amber-600{--tw-text-opacity:1!important;color:rgb(217 119 6/var(--tw-text-opacity,1))!important}.text-amber-700{color:rgb(180 83 9/var(--tw-text-opacity,1))!important}.text-amber-700,.text-black{--tw-text-opacity:1!important}.text-black{color:rgb(0 0 0/var(--tw-text-opacity,1))!important}.text-blue-400{--tw-text-opacity:1!important;color:rgb(96 165 250/var(--tw-text-opacity,1))!important}.text-blue-50{--tw-text-opacity:1!important;color:rgb(239 246 255/var(--tw-text-opacity,1))!important}.text-blue-500{--tw-text-opacity:1!important;color:rgb(59 130 246/var(--tw-text-opacity,1))!important}.text-blue-600{--tw-text-opacity:1!important;color:rgb(37 99 235/var(--tw-text-opacity,1))!important}.text-blue-700{--tw-text-opacity:1!important;color:rgb(29 78 216/var(--tw-text-opacity,1))!important}.text-gray-300{--tw-text-opacity:1!important;color:rgb(209 213 219/var(--tw-text-opacity,1))!important}.text-gray-400{--tw-text-opacity:1!important;color:rgb(156 163 175/var(--tw-text-opacity,1))!important}.text-gray-500{--tw-text-opacity:1!important;color:rgb(107 114 128/var(--tw-text-opacity,1))!important}.text-gray-600{--tw-text-opacity:1!important;color:rgb(75 85 99/var(--tw-text-opacity,1))!important}.text-gray-700{--tw-text-opacity:1!important;color:rgb(55 65 81/var(--tw-text-opacity,1))!important}.text-gray-800{--tw-text-opacity:1!important;color:rgb(31 41 55/var(--tw-text-opacity,1))!important}.text-gray-900{--tw-text-opacity:1!important;color:rgb(17 24 39/var(--tw-text-opacity,1))!important}.text-green-300{--tw-text-opacity:1!important;color:rgb(134 239 172/var(--tw-text-opacity,1))!important}.text-green-500{--tw-text-opacity:1!important;color:rgb(34 197 94/var(--tw-text-opacity,1))!important}.text-green-600{--tw-text-opacity:1!important;color:rgb(22 163 74/var(--tw-text-opacity,1))!important}.text-red-500{color:rgb(239 68 68/var(--tw-text-opacity,1))!important}.text-red-500,.text-red-600{--tw-text-opacity:1!important}.text-red-600{color:rgb(220 38 38/var(--tw-text-opacity,1))!important}.text-white{--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity,1))!important}.text-yellow-500{--tw-text-opacity:1!important;color:rgb(234 179 8/var(--tw-text-opacity,1))!important}.underline{text-decoration-line:underline!important}.no-underline{text-decoration-line:none!important}.antialiased{-webkit-font-smoothing:antialiased!important;-moz-osx-font-smoothing:grayscale!important}.accent-blue-500{accent-color:#3b82f6!important}.opacity-0{opacity:0!important}.opacity-40{opacity:.4!important}.opacity-50{opacity:.5!important}.opacity-70{opacity:.7!important}.shadow-2xl{--tw-shadow:0 25px 50px -12px rgba(0,0,0,.25)!important;--tw-shadow-colored:0 25px 50px -12px var(--tw-shadow-color)!important}.shadow-2xl,.shadow-lg{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1)!important;--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)!important}.shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05)!important;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)!important}.shadow-sm,.shadow-xl{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.shadow-xl{--tw-shadow:0 20px 25px -5px rgba(0,0,0,.1),0 8px 10px -6px rgba(0,0,0,.1)!important;--tw-shadow-colored:0 20px 25px -5px var(--tw-shadow-color),0 8px 10px -6px var(--tw-shadow-color)!important}.ring-1{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important}.ring-1,.ring-2{box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}.ring-2{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important}.ring-blue-100{--tw-ring-opacity:1!important;--tw-ring-color:rgb(219 234 254/var(--tw-ring-opacity,1))!important}.ring-blue-400{--tw-ring-opacity:1!important;--tw-ring-color:rgb(96 165 250/var(--tw-ring-opacity,1))!important}.grayscale{--tw-grayscale:grayscale(100%)!important}.filter,.grayscale{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}.transition-all{transition-property:all!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}.transition-opacity{transition-property:opacity!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}.transition-transform{transition-property:transform!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}.duration-300{transition-duration:.3s!important}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)!important}.hover\\:scale-110:hover{--tw-scale-x:1.1!important;--tw-scale-y:1.1!important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.hover\\:border-gray-300:hover{--tw-border-opacity:1!important;border-color:rgb(209 213 219/var(--tw-border-opacity,1))!important}.hover\\:bg-\\[\\#128C7E\\]:hover{--tw-bg-opacity:1!important;background-color:rgb(18 140 126/var(--tw-bg-opacity,1))!important}.hover\\:bg-\\[\\#D1E3FE\\]:hover{--tw-bg-opacity:1!important;background-color:rgb(209 227 254/var(--tw-bg-opacity,1))!important}.hover\\:bg-blue-600:hover{--tw-bg-opacity:1!important;background-color:rgb(37 99 235/var(--tw-bg-opacity,1))!important}.hover\\:bg-gray-100:hover{--tw-bg-opacity:1!important;background-color:rgb(243 244 246/var(--tw-bg-opacity,1))!important}.hover\\:bg-gray-200:hover{--tw-bg-opacity:1!important;background-color:rgb(229 231 235/var(--tw-bg-opacity,1))!important}.hover\\:bg-gray-50:hover{--tw-bg-opacity:1!important;background-color:rgb(249 250 251/var(--tw-bg-opacity,1))!important}.hover\\:bg-red-50:hover{--tw-bg-opacity:1!important;background-color:rgb(254 242 242/var(--tw-bg-opacity,1))!important}.hover\\:bg-red-600:hover{--tw-bg-opacity:1!important;background-color:rgb(220 38 38/var(--tw-bg-opacity,1))!important}.hover\\:bg-white:hover{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))!important}.hover\\:bg-white\\/60:hover{background-color:hsla(0,0%,100%,.6)!important}.hover\\:text-blue-200:hover{--tw-text-opacity:1!important;color:rgb(191 219 254/var(--tw-text-opacity,1))!important}.hover\\:text-blue-500:hover{--tw-text-opacity:1!important;color:rgb(59 130 246/var(--tw-text-opacity,1))!important}.hover\\:text-blue-600:hover{--tw-text-opacity:1!important;color:rgb(37 99 235/var(--tw-text-opacity,1))!important}.hover\\:text-blue-700:hover{--tw-text-opacity:1!important;color:rgb(29 78 216/var(--tw-text-opacity,1))!important}.hover\\:text-gray-200:hover{--tw-text-opacity:1!important;color:rgb(229 231 235/var(--tw-text-opacity,1))!important}.hover\\:text-gray-600:hover{--tw-text-opacity:1!important;color:rgb(75 85 99/var(--tw-text-opacity,1))!important}.hover\\:text-gray-700:hover{--tw-text-opacity:1!important;color:rgb(55 65 81/var(--tw-text-opacity,1))!important}.hover\\:text-red-500:hover{--tw-text-opacity:1!important;color:rgb(239 68 68/var(--tw-text-opacity,1))!important}.hover\\:underline:hover{text-decoration-line:underline!important}.hover\\:opacity-90:hover{opacity:.9!important}.focus\\:border-blue-400:focus{--tw-border-opacity:1!important;border-color:rgb(96 165 250/var(--tw-border-opacity,1))!important}.focus\\:bg-blue-600:focus{--tw-bg-opacity:1!important;background-color:rgb(37 99 235/var(--tw-bg-opacity,1))!important}.focus\\:bg-gray-50:focus{--tw-bg-opacity:1!important;background-color:rgb(249 250 251/var(--tw-bg-opacity,1))!important}.focus\\:bg-white:focus{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))!important}.focus\\:opacity-100:focus{opacity:1!important}.focus\\:outline-none:focus{outline:2px solid transparent!important;outline-offset:2px!important}.focus\\:ring-1:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important}.focus\\:ring-1:focus,.focus\\:ring-2:focus{box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}.focus\\:ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important}.focus\\:ring-blue-100:focus{--tw-ring-opacity:1!important;--tw-ring-color:rgb(219 234 254/var(--tw-ring-opacity,1))!important}.focus\\:ring-blue-200:focus{--tw-ring-opacity:1!important;--tw-ring-color:rgb(191 219 254/var(--tw-ring-opacity,1))!important}.focus\\:ring-blue-600:focus{--tw-ring-opacity:1!important;--tw-ring-color:rgb(37 99 235/var(--tw-ring-opacity,1))!important}.focus\\:ring-red-100:focus{--tw-ring-opacity:1!important;--tw-ring-color:rgb(254 226 226/var(--tw-ring-opacity,1))!important}.focus\\:ring-opacity-5:focus{--tw-ring-opacity:0.05!important}.focus\\:ring-opacity-50:focus{--tw-ring-opacity:0.5!important}.active\\:scale-95:active{--tw-scale-x:.95!important;--tw-scale-y:.95!important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed!important}.disabled\\:opacity-60:disabled{opacity:.6!important}.group:hover .group-hover\\:opacity-100{opacity:1!important}@media (min-width:640px){.sm\\:bottom-1{bottom:.25rem!important}.sm\\:right-1{right:.25rem!important}.sm\\:m-2{margin:.5rem!important}.sm\\:mx-2{margin-left:.5rem!important;margin-right:.5rem!important}.sm\\:my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.sm\\:mb-1{margin-bottom:.25rem!important}.sm\\:mb-1\\.5{margin-bottom:.375rem!important}.sm\\:mb-10{margin-bottom:2.5rem!important}.sm\\:mb-2{margin-bottom:.5rem!important}.sm\\:ml-1{margin-left:.25rem!important}.sm\\:ml-1\\.5{margin-left:.375rem!important}.sm\\:ml-2{margin-left:.5rem!important}.sm\\:mr-1{margin-right:.25rem!important}.sm\\:mr-1\\.5{margin-right:.375rem!important}.sm\\:mr-2{margin-right:.5rem!important}.sm\\:mr-4{margin-right:1rem!important}.sm\\:mt-2{margin-top:.5rem!important}.sm\\:mt-3{margin-top:.75rem!important}.sm\\:h-10{height:2.5rem!important}.sm\\:h-2{height:.5rem!important}.sm\\:h-3{height:.75rem!important}.sm\\:h-4{height:1rem!important}.sm\\:h-5{height:1.25rem!important}.sm\\:h-6{height:1.5rem!important}.sm\\:h-8{height:2rem!important}.sm\\:w-10{width:2.5rem!important}.sm\\:w-20{width:5rem!important}.sm\\:w-3{width:.75rem!important}.sm\\:w-4{width:1rem!important}.sm\\:w-4\\/5{width:80%!important}.sm\\:w-5{width:1.25rem!important}.sm\\:w-6{width:1.5rem!important}.sm\\:w-8{width:2rem!important}.sm\\:gap-2{gap:.5rem!important}.sm\\:space-y-1\\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-top:calc(.375rem*(1 - var(--tw-space-y-reverse)))!important;margin-bottom:calc(.375rem*var(--tw-space-y-reverse))!important}.sm\\:p-1\\.5{padding:.375rem!important}.sm\\:px-1{padding-left:.25rem!important;padding-right:.25rem!important}.sm\\:px-1\\.5{padding-left:.375rem!important;padding-right:.375rem!important}.sm\\:px-4{padding-left:1rem!important;padding-right:1rem!important}.sm\\:px-7{padding-left:1.75rem!important;padding-right:1.75rem!important}.sm\\:py-0\\.5{padding-top:.125rem!important;padding-bottom:.125rem!important}.sm\\:py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.sm\\:py-5{padding-top:1.25rem!important;padding-bottom:1.25rem!important}.sm\\:py-6{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.sm\\:pl-2{padding-left:.5rem!important}.sm\\:pt-2{padding-top:.5rem!important}.sm\\:text-base{font-size:1rem!important;line-height:1.5rem!important}.sm\\:text-lg{font-size:1.125rem!important;line-height:1.75rem!important}.sm\\:text-sm{font-size:.875rem!important;line-height:1.25rem!important}.sm\\:text-xs{font-size:.75rem!important;line-height:1rem!important}}@media (min-width:768px){.md\\:bottom-1{bottom:.25rem!important}.md\\:right-1{right:.25rem!important}.md\\:my-3{margin-top:.75rem!important;margin-bottom:.75rem!important}.md\\:mb-1\\.5{margin-bottom:.375rem!important}.md\\:mb-11{margin-bottom:2.75rem!important}.md\\:mb-12{margin-bottom:3rem!important}.md\\:mb-2{margin-bottom:.5rem!important}.md\\:mb-20{margin-bottom:5rem!important}.md\\:mb-3{margin-bottom:.75rem!important}.md\\:ml-1\\.5{margin-left:.375rem!important}.md\\:ml-2{margin-left:.5rem!important}.md\\:ml-3{margin-left:.75rem!important}.md\\:mr-1{margin-right:.25rem!important}.md\\:mr-1\\.5{margin-right:.375rem!important}.md\\:mr-2{margin-right:.5rem!important}.md\\:mr-3{margin-right:.75rem!important}.md\\:mr-4{margin-right:1rem!important}.md\\:mr-5{margin-right:1.25rem!important}.md\\:mt-1{margin-top:.25rem!important}.md\\:mt-2{margin-top:.5rem!important}.md\\:mt-3{margin-top:.75rem!important}.md\\:mt-4{margin-top:1rem!important}.md\\:h-10{height:2.5rem!important}.md\\:h-12{height:3rem!important}.md\\:h-2\\.5{height:.625rem!important}.md\\:h-4{height:1rem!important}.md\\:h-5{height:1.25rem!important}.md\\:h-6{height:1.5rem!important}.md\\:h-7{height:1.75rem!important}.md\\:h-8{height:2rem!important}.md\\:w-10{width:2.5rem!important}.md\\:w-12{width:3rem!important}.md\\:w-24{width:6rem!important}.md\\:w-3\\/4{width:75%!important}.md\\:w-4{width:1rem!important}.md\\:w-5{width:1.25rem!important}.md\\:w-6{width:1.5rem!important}.md\\:w-7{width:1.75rem!important}.md\\:w-8{width:2rem!important}.md\\:w-9{width:2.25rem!important}.md\\:max-w-screen-md{max-width:768px!important}.md\\:gap-3{gap:.75rem!important}.md\\:space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)))!important;margin-bottom:calc(.5rem*var(--tw-space-y-reverse))!important}.md\\:rounded-bl{border-bottom-left-radius:.25rem!important}.md\\:rounded-br{border-bottom-right-radius:.25rem!important}.md\\:rounded-tl{border-top-left-radius:.25rem!important}.md\\:rounded-tr{border-top-right-radius:.25rem!important}.md\\:p-2{padding:.5rem!important}.md\\:px-2{padding-left:.5rem!important;padding-right:.5rem!important}.md\\:px-5{padding-left:1.25rem!important;padding-right:1.25rem!important}.md\\:px-8{padding-left:2rem!important;padding-right:2rem!important}.md\\:py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.md\\:py-1\\.5{padding-top:.375rem!important;padding-bottom:.375rem!important}.md\\:py-5{padding-top:1.25rem!important;padding-bottom:1.25rem!important}.md\\:py-6{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.md\\:pb-2{padding-bottom:.5rem!important}.md\\:pt-3{padding-top:.75rem!important}.md\\:text-base{font-size:1rem!important;line-height:1.5rem!important}.md\\:text-lg{font-size:1.125rem!important;line-height:1.75rem!important}.md\\:text-sm{font-size:.875rem!important;line-height:1.25rem!important}.md\\:text-xl{font-size:1.25rem!important;line-height:1.75rem!important}.md\\:text-xs{font-size:.75rem!important;line-height:1rem!important}}@media (min-width:1024px){.lg\\:bottom-1\\.5{bottom:.375rem!important}.lg\\:right-1\\.5{right:.375rem!important}.lg\\:m-3{margin:.75rem!important}.lg\\:mx-3{margin-left:.75rem!important;margin-right:.75rem!important}.lg\\:my-3{margin-top:.75rem!important;margin-bottom:.75rem!important}.lg\\:my-4{margin-top:1rem!important;margin-bottom:1rem!important}.lg\\:mb-14{margin-bottom:3.5rem!important}.lg\\:mb-2{margin-bottom:.5rem!important}.lg\\:mb-2\\.5{margin-bottom:.625rem!important}.lg\\:mb-24{margin-bottom:6rem!important}.lg\\:mb-3{margin-bottom:.75rem!important}.lg\\:mb-4{margin-bottom:1rem!important}.lg\\:ml-1\\.5{margin-left:.375rem!important}.lg\\:ml-2{margin-left:.5rem!important}.lg\\:ml-2\\.5{margin-left:.625rem!important}.lg\\:ml-3{margin-left:.75rem!important}.lg\\:ml-4{margin-left:1rem!important}.lg\\:mr-2{margin-right:.5rem!important}.lg\\:mr-2\\.5{margin-right:.625rem!important}.lg\\:mr-3{margin-right:.75rem!important}.lg\\:mr-4{margin-right:1rem!important}.lg\\:mr-6{margin-right:1.5rem!important}.lg\\:mt-3{margin-top:.75rem!important}.lg\\:mt-4{margin-top:1rem!important}.lg\\:mt-5{margin-top:1.25rem!important}.lg\\:h-10{height:2.5rem!important}.lg\\:h-12{height:3rem!important}.lg\\:h-14{height:3.5rem!important}.lg\\:h-3{height:.75rem!important}.lg\\:h-5{height:1.25rem!important}.lg\\:h-6{height:1.5rem!important}.lg\\:h-7{height:1.75rem!important}.lg\\:h-8{height:2rem!important}.lg\\:w-10{width:2.5rem!important}.lg\\:w-12{width:3rem!important}.lg\\:w-14{width:3.5rem!important}.lg\\:w-2\\/3{width:66.666667%!important}.lg\\:w-24{width:6rem!important}.lg\\:w-28{width:7rem!important}.lg\\:w-5{width:1.25rem!important}.lg\\:w-6{width:1.5rem!important}.lg\\:w-7{width:1.75rem!important}.lg\\:w-8{width:2rem!important}.lg\\:max-w-screen-lg{max-width:1024px!important}.lg\\:gap-1{gap:.25rem!important}.lg\\:gap-4{gap:1rem!important}.lg\\:space-y-2\\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-top:calc(.625rem*(1 - var(--tw-space-y-reverse)))!important;margin-bottom:calc(.625rem*var(--tw-space-y-reverse))!important}.lg\\:p-3{padding:.75rem!important}.lg\\:px-2{padding-left:.5rem!important;padding-right:.5rem!important}.lg\\:px-2\\.5{padding-left:.625rem!important;padding-right:.625rem!important}.lg\\:px-6{padding-left:1.5rem!important;padding-right:1.5rem!important}.lg\\:px-9{padding-left:2.25rem!important;padding-right:2.25rem!important}.lg\\:py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.lg\\:py-1\\.5{padding-top:.375rem!important;padding-bottom:.375rem!important}.lg\\:py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.lg\\:py-4{padding-top:1rem!important;padding-bottom:1rem!important}.lg\\:pb-3{padding-bottom:.75rem!important}.lg\\:pl-3{padding-left:.75rem!important}.lg\\:pt-4{padding-top:1rem!important}.lg\\:text-2xl{font-size:1.5rem!important;line-height:2rem!important}.lg\\:text-base{font-size:1rem!important;line-height:1.5rem!important}.lg\\:text-lg{font-size:1.125rem!important;line-height:1.75rem!important}.lg\\:text-sm{font-size:.875rem!important;line-height:1.25rem!important}.lg\\:text-xl{font-size:1.25rem!important;line-height:1.75rem!important}.lg\\:text-xs{font-size:.75rem!important;line-height:1rem!important}}@media (min-width:1280px){.xl\\:bottom-2{bottom:.5rem!important}.xl\\:right-2{right:.5rem!important}.xl\\:my-5{margin-top:1.25rem!important;margin-bottom:1.25rem!important}.xl\\:mb-16{margin-bottom:4rem!important}.xl\\:mb-2\\.5{margin-bottom:.625rem!important}.xl\\:mb-28{margin-bottom:7rem!important}.xl\\:mb-3{margin-bottom:.75rem!important}.xl\\:mb-4{margin-bottom:1rem!important}.xl\\:mb-5{margin-bottom:1.25rem!important}.xl\\:ml-2\\.5{margin-left:.625rem!important}.xl\\:ml-3{margin-left:.75rem!important}.xl\\:ml-3\\.5{margin-left:.875rem!important}.xl\\:ml-4{margin-left:1rem!important}.xl\\:ml-5{margin-left:1.25rem!important}.xl\\:mr-2{margin-right:.5rem!important}.xl\\:mr-2\\.5{margin-right:.625rem!important}.xl\\:mr-3{margin-right:.75rem!important}.xl\\:mr-4{margin-right:1rem!important}.xl\\:mr-5{margin-right:1.25rem!important}.xl\\:mr-7{margin-right:1.75rem!important}.xl\\:mr-8{margin-right:2rem!important}.xl\\:mt-11{margin-top:2.75rem!important}.xl\\:mt-2{margin-top:.5rem!important}.xl\\:mt-4{margin-top:1rem!important}.xl\\:mt-5{margin-top:1.25rem!important}.xl\\:mt-6{margin-top:1.5rem!important}.xl\\:h-10{height:2.5rem!important}.xl\\:h-12{height:3rem!important}.xl\\:h-14{height:3.5rem!important}.xl\\:h-16{height:4rem!important}.xl\\:h-3\\.5{height:.875rem!important}.xl\\:h-4{height:1rem!important}.xl\\:h-6{height:1.5rem!important}.xl\\:h-7{height:1.75rem!important}.xl\\:h-8{height:2rem!important}.xl\\:h-9{height:2.25rem!important}.xl\\:w-1\\/2{width:50%!important}.xl\\:w-10{width:2.5rem!important}.xl\\:w-11{width:2.75rem!important}.xl\\:w-12{width:3rem!important}.xl\\:w-14{width:3.5rem!important}.xl\\:w-16{width:4rem!important}.xl\\:w-4{width:1rem!important}.xl\\:w-6{width:1.5rem!important}.xl\\:w-7{width:1.75rem!important}.xl\\:w-8{width:2rem!important}.xl\\:w-9{width:2.25rem!important}.xl\\:max-w-screen-xl{max-width:1280px!important}.xl\\:gap-5{gap:1.25rem!important}.xl\\:space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-top:calc(.75rem*(1 - var(--tw-space-y-reverse)))!important;margin-bottom:calc(.75rem*var(--tw-space-y-reverse))!important}.xl\\:rounded-bl-md{border-bottom-left-radius:.375rem!important}.xl\\:rounded-br-md{border-bottom-right-radius:.375rem!important}.xl\\:rounded-tl-md{border-top-left-radius:.375rem!important}.xl\\:rounded-tr-md{border-top-right-radius:.375rem!important}.xl\\:p-4{padding:1rem!important}.xl\\:px-10{padding-left:2.5rem!important;padding-right:2.5rem!important}.xl\\:px-3{padding-left:.75rem!important;padding-right:.75rem!important}.xl\\:px-7{padding-left:1.75rem!important;padding-right:1.75rem!important}.xl\\:py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.xl\\:py-2\\.5{padding-top:.625rem!important;padding-bottom:.625rem!important}.xl\\:py-3{padding-top:.75rem!important;padding-bottom:.75rem!important}.xl\\:py-8{padding-top:2rem!important;padding-bottom:2rem!important}.xl\\:pb-4{padding-bottom:1rem!important}.xl\\:pt-5{padding-top:1.25rem!important}.xl\\:text-2xl{font-size:1.5rem!important;line-height:2rem!important}.xl\\:text-3xl{font-size:1.875rem!important;line-height:2.25rem!important}.xl\\:text-base{font-size:1rem!important;line-height:1.5rem!important}.xl\\:text-lg{font-size:1.125rem!important;line-height:1.75rem!important}.xl\\:text-sm{font-size:.875rem!important;line-height:1.25rem!important}.xl\\:text-xl{font-size:1.25rem!important;line-height:1.75rem!important}.xl\\:text-xs{font-size:.75rem!important;line-height:1rem!important}}@media (min-width:1536px){.\\32xl\\:bottom-2{bottom:.5rem!important}.\\32xl\\:right-2{right:.5rem!important}.\\32xl\\:m-4{margin:1rem!important}.\\32xl\\:mx-4{margin-left:1rem!important;margin-right:1rem!important}.\\32xl\\:my-4{margin-top:1rem!important;margin-bottom:1rem!important}.\\32xl\\:my-6{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.\\32xl\\:mb-20{margin-bottom:5rem!important}.\\32xl\\:mb-3{margin-bottom:.75rem!important}.\\32xl\\:mb-36{margin-bottom:9rem!important}.\\32xl\\:mb-4{margin-bottom:1rem!important}.\\32xl\\:mb-5{margin-bottom:1.25rem!important}.\\32xl\\:mb-6{margin-bottom:1.5rem!important}.\\32xl\\:ml-2{margin-left:.5rem!important}.\\32xl\\:ml-3{margin-left:.75rem!important}.\\32xl\\:ml-4{margin-left:1rem!important}.\\32xl\\:ml-5{margin-left:1.25rem!important}.\\32xl\\:ml-6{margin-left:1.5rem!important}.\\32xl\\:mr-10{margin-right:2.5rem!important}.\\32xl\\:mr-3{margin-right:.75rem!important}.\\32xl\\:mr-4{margin-right:1rem!important}.\\32xl\\:mr-5{margin-right:1.25rem!important}.\\32xl\\:mr-6{margin-right:1.5rem!important}.\\32xl\\:mr-9{margin-right:2.25rem!important}.\\32xl\\:mt-5{margin-top:1.25rem!important}.\\32xl\\:mt-6{margin-top:1.5rem!important}.\\32xl\\:mt-7{margin-top:1.75rem!important}.\\32xl\\:h-10{height:2.5rem!important}.\\32xl\\:h-12{height:3rem!important}.\\32xl\\:h-14{height:3.5rem!important}.\\32xl\\:h-16{height:4rem!important}.\\32xl\\:h-20{height:5rem!important}.\\32xl\\:h-4{height:1rem!important}.\\32xl\\:h-6{height:1.5rem!important}.\\32xl\\:h-7{height:1.75rem!important}.\\32xl\\:h-8{height:2rem!important}.\\32xl\\:h-9{height:2.25rem!important}.\\32xl\\:w-10{width:2.5rem!important}.\\32xl\\:w-12{width:3rem!important}.\\32xl\\:w-14{width:3.5rem!important}.\\32xl\\:w-16{width:4rem!important}.\\32xl\\:w-20{width:5rem!important}.\\32xl\\:w-28{width:7rem!important}.\\32xl\\:w-7{width:1.75rem!important}.\\32xl\\:w-8{width:2rem!important}.\\32xl\\:w-9{width:2.25rem!important}.\\32xl\\:max-w-screen-2xl{max-width:1536px!important}.\\32xl\\:gap-2{gap:.5rem!important}.\\32xl\\:gap-6{gap:1.5rem!important}.\\32xl\\:space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-top:calc(1rem*(1 - var(--tw-space-y-reverse)))!important;margin-bottom:calc(1rem*var(--tw-space-y-reverse))!important}.\\32xl\\:p-5{padding:1.25rem!important}.\\32xl\\:px-12{padding-left:3rem!important;padding-right:3rem!important}.\\32xl\\:px-3{padding-left:.75rem!important;padding-right:.75rem!important}.\\32xl\\:px-4{padding-left:1rem!important;padding-right:1rem!important}.\\32xl\\:px-8{padding-left:2rem!important;padding-right:2rem!important}.\\32xl\\:py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.\\32xl\\:py-10{padding-top:2.5rem!important;padding-bottom:2.5rem!important}.\\32xl\\:py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.\\32xl\\:py-3{padding-top:.75rem!important;padding-bottom:.75rem!important}.\\32xl\\:pb-5{padding-bottom:1.25rem!important}.\\32xl\\:pl-4{padding-left:1rem!important}.\\32xl\\:pt-6{padding-top:1.5rem!important}.\\32xl\\:text-2xl{font-size:1.5rem!important;line-height:2rem!important}.\\32xl\\:text-3xl{font-size:1.875rem!important;line-height:2.25rem!important}.\\32xl\\:text-4xl{font-size:2.25rem!important;line-height:2.5rem!important}.\\32xl\\:text-base{font-size:1rem!important;line-height:1.5rem!important}.\\32xl\\:text-lg{font-size:1.125rem!important;line-height:1.75rem!important}.\\32xl\\:text-sm{font-size:.875rem!important;line-height:1.25rem!important}.\\32xl\\:text-xl{font-size:1.25rem!important;line-height:1.75rem!important}}',""]),e["default"]=u},6314:function(t){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n="",r="undefined"!==typeof e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),r&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),r&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n}).join("")},e.i=function(t,n,r,o,i){"string"===typeof t&&(t=[[null,t,void 0]]);var a={};if(r)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(a[l]=!0)}for(var d=0;d<t.length;d++){var c=[].concat(t[d]);r&&a[c[0]]||("undefined"!==typeof i&&("undefined"===typeof c[5]||(c[1]="@layer".concat(c[5].length>0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=i),n&&(c[2]?(c[1]="@media ".concat(c[2]," {").concat(c[1],"}"),c[2]=n):c[2]=n),o&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=o):c[4]="".concat(o)),e.push(c))}},e}},4417:function(t){"use strict";t.exports=function(t,e){return e||(e={}),t?(t=String(t.__esModule?t.default:t),/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/["'() \t\n]|(%20)/.test(t)||e.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t):t}},1601:function(t){"use strict";t.exports=function(t){return t[1]}},4744:function(t){"use strict";var e=function(t){return n(t)&&!r(t)};function n(t){return!!t&&"object"===typeof t}function r(t){var e=Object.prototype.toString.call(t);return"[object RegExp]"===e||"[object Date]"===e||a(t)}var o="function"===typeof Symbol&&Symbol.for,i=o?Symbol.for("react.element"):60103;function a(t){return t.$$typeof===i}function s(t){return Array.isArray(t)?[]:{}}function l(t,e){return!1!==e.clone&&e.isMergeableObject(t)?g(s(t),t,e):t}function d(t,e,n){return t.concat(e).map(function(t){return l(t,n)})}function c(t,e){if(!e.customMerge)return g;var n=e.customMerge(t);return"function"===typeof n?n:g}function u(t){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[]}function p(t){return Object.keys(t).concat(u(t))}function h(t,e){try{return e in t}catch(n){return!1}}function m(t,e){return h(t,e)&&!(Object.hasOwnProperty.call(t,e)&&Object.propertyIsEnumerable.call(t,e))}function f(t,e,n){var r={};return n.isMergeableObject(t)&&p(t).forEach(function(e){r[e]=l(t[e],n)}),p(e).forEach(function(o){m(t,o)||(h(t,o)&&n.isMergeableObject(e[o])?r[o]=c(o,n)(t[o],e[o],n):r[o]=l(e[o],n))}),r}function g(t,n,r){r=r||{},r.arrayMerge=r.arrayMerge||d,r.isMergeableObject=r.isMergeableObject||e,r.cloneUnlessOtherwiseSpecified=l;var o=Array.isArray(n),i=Array.isArray(t),a=o===i;return a?o?r.arrayMerge(t,n,r):f(t,n,r):l(n,r)}g.all=function(t,e){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(t,n){return g(t,n,e)},{})};var v=g;t.exports=v},9738:function(t){!function(e,n){t.exports=n()}(0,()=>{return t={12:(t,e,n)=>{"use strict";var r=n(539);t.exports=function(t,e,n){var o,i,a,s,l=r.isType(t,"object"),d=r.isType(t,"array"),c=[];if(n=n||{obj:[],mapped:[]},l){if(s=n.obj.indexOf(t),l&&-1!==s)return n.mapped[s]||n.obj[s];n.obj.push(t),s=n.obj.length-1}if(l)for(o in t)Object.prototype.hasOwnProperty.call(t,o)&&c.push(o);else if(d)for(a=0;a<t.length;++a)c.push(a);var u=l?{}:[],p=!0;for(a=0;a<c.length;++a)i=t[o=c[a]],u[o]=e(o,i,n),p=p&&u[o]===t[o];return l&&!p&&(n.mapped[s]=u),p?t:u}},61:t=>{"use strict";t.exports={parse:function(t){var e,n,r={protocol:null,auth:null,host:null,path:null,hash:null,href:t,hostname:null,port:null,pathname:null,search:null,query:null};if(-1!==(e=t.indexOf("//"))?(r.protocol=t.substring(0,e),n=e+2):n=0,-1!==(e=t.indexOf("@",n))&&(r.auth=t.substring(n,e),n=e+1),-1===(e=t.indexOf("/",n))){if(-1===(e=t.indexOf("?",n)))return-1===(e=t.indexOf("#",n))?r.host=t.substring(n):(r.host=t.substring(n,e),r.hash=t.substring(e)),r.hostname=r.host.split(":")[0],r.port=r.host.split(":")[1],r.port&&(r.port=parseInt(r.port,10)),r;r.host=t.substring(n,e),r.hostname=r.host.split(":")[0],r.port=r.host.split(":")[1],r.port&&(r.port=parseInt(r.port,10)),n=e}else r.host=t.substring(n,e),r.hostname=r.host.split(":")[0],r.port=r.host.split(":")[1],r.port&&(r.port=parseInt(r.port,10)),n=e;if(-1===(e=t.indexOf("#",n))?r.path=t.substring(n):(r.path=t.substring(n,e),r.hash=t.substring(e)),r.path){var o=r.path.split("?");r.pathname=o[0],r.query=o[1],r.search=r.query?"?"+r.query:null}return r}}},67:(t,e,n)=>{"use strict";var r=n(539),o=n(91),i={hostname:"api.rollbar.com",path:"/api/1/item/",search:null,version:"1",protocol:"https:",port:443};function a(t,e,n,r,o){this.options=t,this.transport=e,this.url=n,this.truncation=r,this.jsonBackup=o,this.accessToken=t.accessToken,this.transportOptions=s(t,n)}function s(t,e){return o.getTransportFromOptions(t,i,e)}a.prototype.postItem=function(t,e){var n=o.transportOptions(this.transportOptions,"POST"),r=o.buildPayload(this.accessToken,t,this.jsonBackup),i=this;setTimeout(function(){i.transport.post(i.accessToken,n,r,e)},0)},a.prototype.buildJsonPayload=function(t,e){var n,i=o.buildPayload(this.accessToken,t,this.jsonBackup);return(n=this.truncation?this.truncation.truncate(i):r.stringify(i)).error?(e&&e(n.error),null):n.value},a.prototype.postJsonPayload=function(t,e){var n=o.transportOptions(this.transportOptions,"POST");this.transport.postJsonPayload(this.accessToken,n,t,e)},a.prototype.configure=function(t){var e=this.oldOptions;return this.options=r.merge(e,t),this.transportOptions=s(this.options,this.url),void 0!==this.options.accessToken&&(this.accessToken=this.options.accessToken),this},t.exports=a},91:(t,e,n)=>{"use strict";var r=n(539);t.exports={buildPayload:function(t,e,n){if(!r.isType(e.context,"string")){var o=r.stringify(e.context,n);o.error?e.context="Error: could not serialize 'context'":e.context=o.value||"",e.context.length>255&&(e.context=e.context.substr(0,255))}return{access_token:t,data:e}},getTransportFromOptions:function(t,e,n){var r=e.hostname,o=e.protocol,i=e.port,a=e.path,s=e.search,l=t.timeout,d=function(t){var e="undefined"!=typeof window&&window||"undefined"!=typeof self&&self,n=t.defaultTransport||"xhr";return void 0===e.fetch&&(n="xhr"),void 0===e.XMLHttpRequest&&(n="fetch"),n}(t),c=t.proxy;if(t.endpoint){var u=n.parse(t.endpoint);r=u.hostname,o=u.protocol,i=u.port,a=u.pathname,s=u.search}return{timeout:l,hostname:r,protocol:o,port:i,path:a,search:s,proxy:c,transport:d}},transportOptions:function(t,e){var n=t.protocol||"https:",r=t.port||("http:"===n?80:"https:"===n?443:void 0),o=t.hostname,i=t.path,a=t.timeout,s=t.transport;return t.search&&(i+=t.search),t.proxy&&(i=n+"//"+o+i,o=t.proxy.host||t.proxy.hostname,r=t.proxy.port,n=t.proxy.protocol||n),{timeout:a,protocol:n,hostname:o,path:i,port:r,method:e,transport:s}},appendPathToPath:function(t,e){var n=/\/$/.test(t),r=/^\//.test(e);return n&&r?e=e.substring(1):n||r||(e="/"+e),t+e}}},108:function(t,e){var n,r,o;!function(){"use strict";r=[],void 0===(o="function"==typeof(n=function(){function t(t){return!isNaN(parseFloat(t))&&isFinite(t)}function e(t){return t.charAt(0).toUpperCase()+t.substring(1)}function n(t){return function(){return this[t]}}var r=["isConstructor","isEval","isNative","isToplevel"],o=["columnNumber","lineNumber"],i=["fileName","functionName","source"],a=["args"],s=["evalOrigin"],l=r.concat(o,i,a,s);function d(t){if(t)for(var n=0;n<l.length;n++)void 0!==t[l[n]]&&this["set"+e(l[n])](t[l[n]])}d.prototype={getArgs:function(){return this.args},setArgs:function(t){if("[object Array]"!==Object.prototype.toString.call(t))throw new TypeError("Args must be an Array");this.args=t},getEvalOrigin:function(){return this.evalOrigin},setEvalOrigin:function(t){if(t instanceof d)this.evalOrigin=t;else{if(!(t instanceof Object))throw new TypeError("Eval Origin must be an Object or StackFrame");this.evalOrigin=new d(t)}},toString:function(){var t=this.getFileName()||"",e=this.getLineNumber()||"",n=this.getColumnNumber()||"",r=this.getFunctionName()||"";return this.getIsEval()?t?"[eval] ("+t+":"+e+":"+n+")":"[eval]:"+e+":"+n:r?r+" ("+t+":"+e+":"+n+")":t+":"+e+":"+n}},d.fromString=function(t){var e=t.indexOf("("),n=t.lastIndexOf(")"),r=t.substring(0,e),o=t.substring(e+1,n).split(","),i=t.substring(n+1);if(0===i.indexOf("@"))var a=/@(.+?)(?::(\d+))?(?::(\d+))?$/.exec(i,""),s=a[1],l=a[2],c=a[3];return new d({functionName:r,args:o||void 0,fileName:s,lineNumber:l||void 0,columnNumber:c||void 0})};for(var c=0;c<r.length;c++)d.prototype["get"+e(r[c])]=n(r[c]),d.prototype["set"+e(r[c])]=function(t){return function(e){this[t]=Boolean(e)}}(r[c]);for(var u=0;u<o.length;u++)d.prototype["get"+e(o[u])]=n(o[u]),d.prototype["set"+e(o[u])]=function(e){return function(n){if(!t(n))throw new TypeError(e+" must be a Number");this[e]=Number(n)}}(o[u]);for(var p=0;p<i.length;p++)d.prototype["get"+e(i[p])]=n(i[p]),d.prototype["set"+e(i[p])]=function(t){return function(e){this[t]=String(e)}}(i[p]);return d})?n.apply(e,r):n)||(t.exports=o)}()},175:t=>{"use strict";var e={ieVersion:function(){var t;if("undefined"==typeof document)return t;for(var e=3,n=document.createElement("div"),r=n.getElementsByTagName("i");n.innerHTML="\x3c!--[if gt IE "+ ++e+"]><i></i><![endif]--\x3e",r[0];);return e>4?e:t}};t.exports=e},197:(t,e,n)=>{"use strict";var r=n(335),o=n(539),i=n(67),a=n(306),s=n(796),l=n(497),d=n(61),c=n(203),u=n(962),p=n(584),h=n(581),m=n(342);function f(t,e){this.options=o.handleOptions($,t,null,a),this.options._configuredOptions=t;var n=this.components.telemeter,s=this.components.instrumenter,m=this.components.polyfillJSON;this.wrapGlobals=this.components.wrapGlobals,this.scrub=this.components.scrub;var f=this.components.truncation,g=new l(f),v=new i(this.options,g,d,f);n&&(this.telemeter=new n(this.options)),this.client=e||new r(this.options,v,a,this.telemeter,"browser");var b=y(),w="undefined"!=typeof document&&document;this.isChrome=b.chrome&&b.chrome.runtime,this.anonymousErrorsPending=0,function(t,e,n){t.addTransform(c.handleDomException).addTransform(c.handleItemWithError).addTransform(c.ensureItemHasSomethingToSay).addTransform(c.addBaseInfo).addTransform(c.addRequestInfo(n)).addTransform(c.addClientInfo(n)).addTransform(c.addPluginInfo(n)).addTransform(c.addBody).addTransform(u.addMessageWithError).addTransform(u.addTelemetryData).addTransform(u.addConfigToPayload).addTransform(c.addScrubber(e.scrub)).addTransform(u.addPayloadOptions).addTransform(u.userTransform(a)).addTransform(u.addConfiguredOptions).addTransform(u.addDiagnosticKeys).addTransform(u.itemToPayload)}(this.client.notifier,this,b),this.client.queue.addPredicate(h.checkLevel).addPredicate(p.checkIgnore).addPredicate(h.userCheckIgnore(a)).addPredicate(h.urlIsNotBlockListed(a)).addPredicate(h.urlIsSafeListed(a)).addPredicate(h.messageIsIgnored(a)),this.setupUnhandledCapture(),s&&(this.instrumenter=new s(this.options,this.client.telemeter,this,b,w),this.instrumenter.instrument()),o.setupJSON(m),this.rollbar=this}var g=null;function v(t){var e="Rollbar is not initialized";a.error(e),t&&t(new Error(e))}function b(t){for(var e=0,n=t.length;e<n;++e)if(o.isFunction(t[e]))return t[e]}function y(){return"undefined"!=typeof window&&window||"undefined"!=typeof self&&self}f.init=function(t,e){return g?g.global(t).configure(t):g=new f(t,e)},f.prototype.components={},f.setComponents=function(t){f.prototype.components=t},f.prototype.global=function(t){return this.client.global(t),this},f.global=function(t){if(g)return g.global(t);v()},f.prototype.configure=function(t,e){var n=this.options,r={};return e&&(r={payload:e}),this.options=o.handleOptions(n,t,r,a),this.options._configuredOptions=o.handleOptions(n._configuredOptions,t,r),this.client.configure(this.options,e),this.instrumenter&&this.instrumenter.configure(this.options),this.setupUnhandledCapture(),this},f.configure=function(t,e){if(g)return g.configure(t,e);v()},f.prototype.lastError=function(){return this.client.lastError},f.lastError=function(){if(g)return g.lastError();v()},f.prototype.log=function(){var t=this._createItem(arguments),e=t.uuid;return this.client.log(t),{uuid:e}},f.log=function(){if(g)return g.log.apply(g,arguments);v(b(arguments))},f.prototype.debug=function(){var t=this._createItem(arguments),e=t.uuid;return this.client.debug(t),{uuid:e}},f.debug=function(){if(g)return g.debug.apply(g,arguments);v(b(arguments))},f.prototype.info=function(){var t=this._createItem(arguments),e=t.uuid;return this.client.info(t),{uuid:e}},f.info=function(){if(g)return g.info.apply(g,arguments);v(b(arguments))},f.prototype.warn=function(){var t=this._createItem(arguments),e=t.uuid;return this.client.warn(t),{uuid:e}},f.warn=function(){if(g)return g.warn.apply(g,arguments);v(b(arguments))},f.prototype.warning=function(){var t=this._createItem(arguments),e=t.uuid;return this.client.warning(t),{uuid:e}},f.warning=function(){if(g)return g.warning.apply(g,arguments);v(b(arguments))},f.prototype.error=function(){var t=this._createItem(arguments),e=t.uuid;return this.client.error(t),{uuid:e}},f.error=function(){if(g)return g.error.apply(g,arguments);v(b(arguments))},f.prototype.critical=function(){var t=this._createItem(arguments),e=t.uuid;return this.client.critical(t),{uuid:e}},f.critical=function(){if(g)return g.critical.apply(g,arguments);v(b(arguments))},f.prototype.buildJsonPayload=function(t){return this.client.buildJsonPayload(t)},f.buildJsonPayload=function(){if(g)return g.buildJsonPayload.apply(g,arguments);v()},f.prototype.sendJsonPayload=function(t){return this.client.sendJsonPayload(t)},f.sendJsonPayload=function(){if(g)return g.sendJsonPayload.apply(g,arguments);v()},f.prototype.setupUnhandledCapture=function(){var t=y();this.unhandledExceptionsInitialized||(this.options.captureUncaught||this.options.handleUncaughtExceptions)&&(s.captureUncaughtExceptions(t,this),this.wrapGlobals&&this.options.wrapGlobalEventHandlers&&this.wrapGlobals(t,this),this.unhandledExceptionsInitialized=!0),this.unhandledRejectionsInitialized||(this.options.captureUnhandledRejections||this.options.handleUnhandledRejections)&&(s.captureUnhandledRejections(t,this),this.unhandledRejectionsInitialized=!0)},f.prototype.handleUncaughtException=function(t,e,n,r,i,a){if(this.options.captureUncaught||this.options.handleUncaughtExceptions){if(this.options.inspectAnonymousErrors&&this.isChrome&&null===i&&""===e)return"anonymous";var s,l=o.makeUnhandledStackInfo(t,e,n,r,i,"onerror","uncaught exception",m);o.isError(i)?(s=this._createItem([t,i,a]))._unhandledStackInfo=l:o.isError(e)?(s=this._createItem([t,e,a]))._unhandledStackInfo=l:(s=this._createItem([t,a])).stackInfo=l,s.level=this.options.uncaughtErrorLevel,s._isUncaught=!0,this.client.log(s)}},f.prototype.handleAnonymousErrors=function(){if(this.options.inspectAnonymousErrors&&this.isChrome){var t=this;try{Error.prepareStackTrace=function(e,n){if(t.options.inspectAnonymousErrors&&t.anonymousErrorsPending){if(t.anonymousErrorsPending-=1,!e)return;e._isAnonymous=!0,t.handleUncaughtException(e.message,null,null,null,e)}return e.stack}}catch(t){this.options.inspectAnonymousErrors=!1,this.error("anonymous error handler failed",t)}}},f.prototype.handleUnhandledRejection=function(t,e){if(this.options.captureUnhandledRejections||this.options.handleUnhandledRejections){var n="unhandled rejection was null or undefined!";if(t)if(t.message)n=t.message;else{var r=o.stringify(t);r.value&&(n=r.value)}var i,a=t&&t._rollbarContext||e&&e._rollbarContext;o.isError(t)?i=this._createItem([n,t,a]):(i=this._createItem([n,t,a])).stackInfo=o.makeUnhandledStackInfo(n,"",0,0,null,"unhandledrejection","",m),i.level=this.options.uncaughtErrorLevel,i._isUncaught=!0,i._originalArgs=i._originalArgs||[],i._originalArgs.push(e),this.client.log(i)}},f.prototype.wrap=function(t,e,n){try{var r;if(r=o.isFunction(e)?e:function(){return e||{}},!o.isFunction(t))return t;if(t._isWrap)return t;if(!t._rollbar_wrapped&&(t._rollbar_wrapped=function(){n&&o.isFunction(n)&&n.apply(this,arguments);try{return t.apply(this,arguments)}catch(n){var e=n;throw e&&window._rollbarWrappedError!==e&&(o.isType(e,"string")&&(e=new String(e)),e._rollbarContext=r()||{},e._rollbarContext._wrappedSource=t.toString(),window._rollbarWrappedError=e),e}},t._rollbar_wrapped._isWrap=!0,t.hasOwnProperty))for(var i in t)t.hasOwnProperty(i)&&"_rollbar_wrapped"!==i&&(t._rollbar_wrapped[i]=t[i]);return t._rollbar_wrapped}catch(e){return t}},f.wrap=function(t,e){if(g)return g.wrap(t,e);v()},f.prototype.captureEvent=function(){var t=o.createTelemetryEvent(arguments);return this.client.captureEvent(t.type,t.metadata,t.level)},f.captureEvent=function(){if(g)return g.captureEvent.apply(g,arguments);v()},f.prototype.captureDomContentLoaded=function(t,e){return e||(e=new Date),this.client.captureDomContentLoaded(e)},f.prototype.captureLoad=function(t,e){return e||(e=new Date),this.client.captureLoad(e)},f.prototype.loadFull=function(){a.info("Unexpected Rollbar.loadFull() called on a Notifier instance. This can happen when Rollbar is loaded multiple times.")},f.prototype._createItem=function(t){return o.createItem(t,a,this)};var w=n(441),x=n(537),$={version:w.version,scrubFields:x.scrubFields,logLevel:w.logLevel,reportLevel:w.reportLevel,uncaughtErrorLevel:w.uncaughtErrorLevel,endpoint:w.endpoint,verbose:!1,enabled:!0,transmit:!0,sendConfig:!1,includeItemsInTelemetry:!0,captureIp:!0,inspectAnonymousErrors:!0,ignoreDuplicateErrors:!0,wrapGlobalEventHandlers:!1};t.exports=f},203:(t,e,n)=>{"use strict";var r=n(539),o=n(342),i=n(306);function a(t,e,n){var o=t.message,i=t.custom;o||(o="Item sent with null or missing arguments.");var a={body:o};i&&(a.extra=r.merge(i)),r.set(t,"data.body",{message:a}),n(null,t)}function s(t){var e=t.stackInfo.stack;return e&&0===e.length&&t._unhandledStackInfo&&t._unhandledStackInfo.stack&&(e=t._unhandledStackInfo.stack),e}function l(t,e,n){var i=t&&t.data.description,a=t&&t.custom,l=s(t),c=o.guessErrorClass(e.message),u={exception:{class:d(e,c[0],n),message:c[1]}};if(i&&(u.exception.description=i),l){var p,h,m,f,g,v,b,y;for(0===l.length&&(u.exception.stack=e.rawStack,u.exception.raw=String(e.rawException)),u.frames=[],b=0;b<l.length;++b)h={filename:(p=l[b]).url?r.sanitizeUrl(p.url):"(unknown)",lineno:p.line||null,method:p.func&&"?"!==p.func?p.func:"[anonymous]",colno:p.column},n.sendFrameUrl&&(h.url=p.url),h.method&&h.method.endsWith&&h.method.endsWith("_rollbar_wrapped")||(m=f=g=null,(v=p.context?p.context.length:0)&&(y=Math.floor(v/2),f=p.context.slice(0,y),m=p.context[y],g=p.context.slice(y)),m&&(h.code=m),(f||g)&&(h.context={},f&&f.length&&(h.context.pre=f),g&&g.length&&(h.context.post=g)),p.args&&(h.args=p.args),u.frames.push(h));u.frames.reverse(),a&&(u.extra=r.merge(a))}return u}function d(t,e,n){return t.name?t.name:n.guessErrorClass?e:"(unknown)"}t.exports={handleDomException:function(t,e,n){if(t.err&&"DOMException"===o.Stack(t.err).name){var r=new Error;r.name=t.err.name,r.message=t.err.message,r.stack=t.err.stack,r.nested=t.err,t.err=r}n(null,t)},handleItemWithError:function(t,e,n){if(t.data=t.data||{},t.err)try{t.stackInfo=t.err._savedStackTrace||o.parse(t.err,t.skipFrames),e.addErrorContext&&function(t){var e=[],n=t.err;for(e.push(n);n.nested||n.cause;)n=n.nested||n.cause,e.push(n);r.addErrorContext(t,e)}(t)}catch(e){i.error("Error while parsing the error object.",e);try{t.message=t.err.message||t.err.description||t.message||String(t.err)}catch(e){t.message=String(t.err)||String(e)}delete t.err}n(null,t)},ensureItemHasSomethingToSay:function(t,e,n){t.message||t.stackInfo||t.custom||n(new Error("No message, stack info, or custom data"),null),n(null,t)},addBaseInfo:function(t,e,n){var o=e.payload&&e.payload.environment||e.environment;t.data=r.merge(t.data,{environment:o,level:t.level,endpoint:e.endpoint,platform:"browser",framework:"browser-js",language:"javascript",server:{},uuid:t.uuid,notifier:{name:"rollbar-browser-js",version:e.version},custom:t.custom}),n(null,t)},addRequestInfo:function(t){return function(e,n,o){var i={};t&&t.location&&(i.url=t.location.href,i.query_string=t.location.search);var a="$remote_ip";n.captureIp?!0!==n.captureIp&&(a+="_anonymize"):a=null,a&&(i.user_ip=a),Object.keys(i).length>0&&r.set(e,"data.request",i),o(null,e)}},addClientInfo:function(t){return function(e,n,o){if(!t)return o(null,e);var i=t.navigator||{},a=t.screen||{};r.set(e,"data.client",{runtime_ms:e.timestamp-t._rollbarStartTime,timestamp:Math.round(e.timestamp/1e3),javascript:{browser:i.userAgent,language:i.language,cookie_enabled:i.cookieEnabled,screen:{width:a.width,height:a.height}}}),o(null,e)}},addPluginInfo:function(t){return function(e,n,o){if(!t||!t.navigator)return o(null,e);for(var i,a=[],s=t.navigator.plugins||[],l=0,d=s.length;l<d;++l)i=s[l],a.push({name:i.name,description:i.description});r.set(e,"data.client.javascript.plugins",a),o(null,e)}},addBody:function(t,e,n){t.stackInfo?t.stackInfo.traceChain?function(t,e,n){for(var o=t.stackInfo.traceChain,i=[],a=o.length,s=0;s<a;s++){var d=l(t,o[s],e);i.push(d)}r.set(t,"data.body",{trace_chain:i}),n(null,t)}(t,e,n):function(t,e,n){var i=s(t);if(i){var c=l(t,t.stackInfo,e);r.set(t,"data.body",{trace:c}),n(null,t)}else{var u=t.stackInfo,p=o.guessErrorClass(u.message),h=d(u,p[0],e),m=p[1];t.message=h+": "+m,a(t,0,n)}}(t,e,n):a(t,0,n)},addScrubber:function(t){return function(e,n,r){if(t){var o=n.scrubFields||[],i=n.scrubPaths||[];e.data=t(e.data,o,i)}r(null,e)}}}},215:t=>{"use strict";var e=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=function(t){if(!t||"[object Object]"!==n.call(t))return!1;var r,o=e.call(t,"constructor"),i=t.constructor&&t.constructor.prototype&&e.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!o&&!i)return!1;for(r in t);return void 0===r||e.call(t,r)};t.exports=function t(){var e,n,o,i,a,s=Object.create(null),l=null,d=arguments.length;for(e=0;e<d;e++)if(null!=(l=arguments[e]))for(a in l)n=s[a],s!==(o=l[a])&&(o&&r(o)?(i=n&&r(n)?n:{},s[a]=t(i,o)):void 0!==o&&(s[a]=o));return s}},263:function(t,e,n){var r,o,i;!function(){"use strict";o=[n(108)],void 0===(i="function"==typeof(r=function(t){var e=/(^|@)\S+:\d+/,n=/^\s*at .*(\S+:\d+|\(native\))/m,r=/^(eval@)?(\[native code])?$/;return{parse:function(t){if(void 0!==t.stacktrace||void 0!==t["opera#sourceloc"])return this.parseOpera(t);if(t.stack&&t.stack.match(n))return this.parseV8OrIE(t);if(t.stack)return this.parseFFOrSafari(t);throw new Error("Cannot parse given Error object")},extractLocation:function(t){if(-1===t.indexOf(":"))return[t];var e=/(.+?)(?::(\d+))?(?::(\d+))?$/.exec(t.replace(/[()]/g,""));return[e[1],e[2]||void 0,e[3]||void 0]},parseV8OrIE:function(e){return e.stack.split("\n").filter(function(t){return!!t.match(n)},this).map(function(e){e.indexOf("(eval ")>-1&&(e=e.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(\),.*$)/g,""));var n=e.replace(/^\s+/,"").replace(/\(eval code/g,"("),r=n.match(/ (\((.+):(\d+):(\d+)\)$)/),o=(n=r?n.replace(r[0],""):n).split(/\s+/).slice(1),i=this.extractLocation(r?r[1]:o.pop()),a=o.join(" ")||void 0,s=["eval","<anonymous>"].indexOf(i[0])>-1?void 0:i[0];return new t({functionName:a,fileName:s,lineNumber:i[1],columnNumber:i[2],source:e})},this)},parseFFOrSafari:function(e){return e.stack.split("\n").filter(function(t){return!t.match(r)},this).map(function(e){if(e.indexOf(" > eval")>-1&&(e=e.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),-1===e.indexOf("@")&&-1===e.indexOf(":"))return new t({functionName:e});var n=/((.*".+"[^@]*)?[^@]*)(?:@)/,r=e.match(n),o=r&&r[1]?r[1]:void 0,i=this.extractLocation(e.replace(n,""));return new t({functionName:o,fileName:i[0],lineNumber:i[1],columnNumber:i[2],source:e})},this)},parseOpera:function(t){return!t.stacktrace||t.message.indexOf("\n")>-1&&t.message.split("\n").length>t.stacktrace.split("\n").length?this.parseOpera9(t):t.stack?this.parseOpera11(t):this.parseOpera10(t)},parseOpera9:function(e){for(var n=/Line (\d+).*script (?:in )?(\S+)/i,r=e.message.split("\n"),o=[],i=2,a=r.length;i<a;i+=2){var s=n.exec(r[i]);s&&o.push(new t({fileName:s[2],lineNumber:s[1],source:r[i]}))}return o},parseOpera10:function(e){for(var n=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,r=e.stacktrace.split("\n"),o=[],i=0,a=r.length;i<a;i+=2){var s=n.exec(r[i]);s&&o.push(new t({functionName:s[3]||void 0,fileName:s[2],lineNumber:s[1],source:r[i]}))}return o},parseOpera11:function(n){return n.stack.split("\n").filter(function(t){return!!t.match(e)&&!t.match(/^Error created at/)},this).map(function(e){var n,r=e.split("@"),o=this.extractLocation(r.pop()),i=r.shift()||"",a=i.replace(/<anonymous function(: (\w+))?>/,"$2").replace(/\([^)]*\)/g,"")||void 0;i.match(/\(([^)]*)\)/)&&(n=i.replace(/^[^(]+\(([^)]*)\)$/,"$1"));var s=void 0===n||"[arguments not available]"===n?void 0:n.split(",");return new t({functionName:a,args:s,fileName:o[0],lineNumber:o[1],columnNumber:o[2],source:e})},this)}}})?r.apply(e,o):r)||(t.exports=i)}()},306:(t,e,n)=>{"use strict";n(738);var r=n(175),o=n(539);t.exports={error:function(){var t=Array.prototype.slice.call(arguments,0);t.unshift("Rollbar:"),r.ieVersion()<=8?console.error(o.formatArgsAsString(t)):console.error.apply(console,t)},info:function(){var t=Array.prototype.slice.call(arguments,0);t.unshift("Rollbar:"),r.ieVersion()<=8?console.info(o.formatArgsAsString(t)):console.info.apply(console,t)},log:function(){var t=Array.prototype.slice.call(arguments,0);t.unshift("Rollbar:"),r.ieVersion()<=8?console.log(o.formatArgsAsString(t)):console.log.apply(console,t)}}},335:(t,e,n)=>{"use strict";var r=n(513),o=n(744),i=n(777),a=n(539);function s(t,e,n,r,c){this.options=a.merge(t),this.logger=n,s.rateLimiter.configureGlobal(this.options),s.rateLimiter.setPlatformOptions(c,this.options),this.api=e,this.queue=new o(s.rateLimiter,e,n,this.options);var u=this.options.tracer||null;d(u)?(this.tracer=u,this.options.tracer="opentracing-tracer-enabled",this.options._configuredOptions.tracer="opentracing-tracer-enabled"):this.tracer=null,this.notifier=new i(this.queue,this.options),this.telemeter=r,l(t),this.lastError=null,this.lastErrorHash="none"}function l(t){t.stackTraceLimit&&(Error.stackTraceLimit=t.stackTraceLimit)}function d(t){if(!t)return!1;if(!t.scope||"function"!=typeof t.scope)return!1;var e=t.scope();return!(!e||!e.active||"function"!=typeof e.active)}s.rateLimiter=new r({maxItems:0,itemsPerMinute:60}),s.prototype.global=function(t){return s.rateLimiter.configureGlobal(t),this},s.prototype.configure=function(t,e){var n=this.options,r={};e&&(r={payload:e}),this.options=a.merge(n,t,r);var o=this.options.tracer||null;return d(o)?(this.tracer=o,this.options.tracer="opentracing-tracer-enabled",this.options._configuredOptions.tracer="opentracing-tracer-enabled"):this.tracer=null,this.notifier&&this.notifier.configure(this.options),this.telemeter&&this.telemeter.configure(this.options),l(t),this.global(this.options),d(t.tracer)&&(this.tracer=t.tracer),this},s.prototype.log=function(t){var e=this._defaultLogLevel();return this._log(e,t)},s.prototype.debug=function(t){this._log("debug",t)},s.prototype.info=function(t){this._log("info",t)},s.prototype.warn=function(t){this._log("warning",t)},s.prototype.warning=function(t){this._log("warning",t)},s.prototype.error=function(t){this._log("error",t)},s.prototype.critical=function(t){this._log("critical",t)},s.prototype.wait=function(t){this.queue.wait(t)},s.prototype.captureEvent=function(t,e,n){return this.telemeter&&this.telemeter.captureEvent(t,e,n)},s.prototype.captureDomContentLoaded=function(t){return this.telemeter&&this.telemeter.captureDomContentLoaded(t)},s.prototype.captureLoad=function(t){return this.telemeter&&this.telemeter.captureLoad(t)},s.prototype.buildJsonPayload=function(t){return this.api.buildJsonPayload(t)},s.prototype.sendJsonPayload=function(t){this.api.postJsonPayload(t)},s.prototype._log=function(t,e){var n;if(e.callback&&(n=e.callback,delete e.callback),this.options.ignoreDuplicateErrors&&this._sameAsLastError(e)){if(n){var r=new Error("ignored identical item");r.item=e,n(r)}}else try{this._addTracingInfo(e),e.level=e.level||t,this.telemeter&&this.telemeter._captureRollbarItem(e),e.telemetryEvents=this.telemeter&&this.telemeter.copyEvents()||[],this.notifier.log(e,n)}catch(t){n&&n(t),this.logger.error(t)}},s.prototype._defaultLogLevel=function(){return this.options.logLevel||"debug"},s.prototype._sameAsLastError=function(t){if(!t._isUncaught)return!1;var e=function(t){var e=t.message||"",n=(t.err||{}).stack||String(t.err);return e+"::"+n}(t);return this.lastErrorHash===e||(this.lastError=t.err,this.lastErrorHash=e,!1)},s.prototype._addTracingInfo=function(t){if(this.tracer){var e=this.tracer.scope().active();if(function(t){if(!t||!t.context||"function"!=typeof t.context)return!1;var e=t.context();return!!(e&&e.toSpanId&&e.toTraceId&&"function"==typeof e.toSpanId&&"function"==typeof e.toTraceId)}(e)){e.setTag("rollbar.error_uuid",t.uuid),e.setTag("rollbar.has_error",!0),e.setTag("error",!0),e.setTag("rollbar.item_url",`https://rollbar.com/item/uuid/?uuid=${t.uuid}`),e.setTag("rollbar.occurrence_url",`https://rollbar.com/occurrence/uuid/?uuid=${t.uuid}`);var n=e.context().toSpanId(),r=e.context().toTraceId();t.custom?(t.custom.opentracing_span_id=n,t.custom.opentracing_trace_id=r):t.custom={opentracing_span_id:n,opentracing_trace_id:r}}}},t.exports=s},342:(t,e,n)=>{"use strict";var r=n(263),o=new RegExp("^(([a-zA-Z0-9-_$ ]*): *)?(Uncaught )?([a-zA-Z0-9-_$ ]*): ");function i(){return null}function a(t){var e={};return e._stackFrame=t,e.url=t.fileName,e.line=t.lineNumber,e.func=t.functionName,e.column=t.columnNumber,e.args=t.args,e.context=null,e}function s(t,e){return{stack:function(){var n=[];e=e||0;try{n=r.parse(t)}catch(t){n=[]}for(var o=[],i=e;i<n.length;i++)o.push(new a(n[i]));return o}(),message:t.message,name:(n=t,o=n.name&&n.name.length&&n.name,i=n.constructor.name&&n.constructor.name.length&&n.constructor.name,o&&i?"Error"===o?i:o:o||i),rawStack:t.stack,rawException:t};var n,o,i}t.exports={guessFunctionName:function(){return"?"},guessErrorClass:function(t){if(!t||!t.match)return["Unknown error. There was no error message to display.",""];var e=t.match(o),n="(unknown)";return e&&(n=e[e.length-1],t=(t=t.replace((e[e.length-2]||"")+n+":","")).replace(/(^[\s]+|[\s]+$)/g,"")),[n,t]},gatherContext:i,parse:function(t,e){var n=t;if(n.nested||n.cause){for(var r=[];n;)r.push(new s(n,e)),n=n.nested||n.cause,e=0;return r[0].traceChain=r,r[0]}return new s(n,e)},Stack:s,Frame:a}},352:(t,e,n)=>{"use strict";var r=n(539),o=100;function i(t){this.queue=[],this.options=r.merge(t);var e=this.options.maxTelemetryEvents||o;this.maxQueueSize=Math.max(0,Math.min(e,o))}function a(t,e){return e||{error:"error",manual:"info"}[t]||"info"}i.prototype.configure=function(t){var e=this.options;this.options=r.merge(e,t);var n=this.options.maxTelemetryEvents||o,i=Math.max(0,Math.min(n,o)),a=0;this.queue.length>i&&(a=this.queue.length-i),this.maxQueueSize=i,this.queue.splice(0,a)},i.prototype.copyEvents=function(){var t=Array.prototype.slice.call(this.queue,0);if(r.isFunction(this.options.filterTelemetry))try{for(var e=t.length;e--;)this.options.filterTelemetry(t[e])&&t.splice(e,1)}catch(t){this.options.filterTelemetry=null}return t},i.prototype.capture=function(t,e,n,o,i){var s={level:a(t,n),type:t,timestamp_ms:i||r.now(),body:e,source:"client"};o&&(s.uuid=o);try{if(r.isFunction(this.options.filterTelemetry)&&this.options.filterTelemetry(s))return!1}catch(t){this.options.filterTelemetry=null}return this.push(s),s},i.prototype.captureEvent=function(t,e,n,r){return this.capture(t,e,n,r)},i.prototype.captureError=function(t,e,n,r){var o={message:t.message||String(t)};return t.stack&&(o.stack=t.stack),this.capture("error",o,e,n,r)},i.prototype.captureLog=function(t,e,n,r){return this.capture("log",{message:t},e,n,r)},i.prototype.captureNetwork=function(t,e,n,r){e=e||"xhr",t.subtype=t.subtype||e,r&&(t.request=r);var o=this.levelFromStatus(t.status_code);return this.capture("network",t,o,n)},i.prototype.levelFromStatus=function(t){return t>=200&&t<400?"info":0===t||t>=400?"error":"info"},i.prototype.captureDom=function(t,e,n,r,o){var i={subtype:t,element:e};return void 0!==n&&(i.value=n),void 0!==r&&(i.checked=r),this.capture("dom",i,"info",o)},i.prototype.captureNavigation=function(t,e,n){return this.capture("navigation",{from:t,to:e},"info",n)},i.prototype.captureDomContentLoaded=function(t){return this.capture("navigation",{subtype:"DOMContentLoaded"},"info",void 0,t&&t.getTime())},i.prototype.captureLoad=function(t){return this.capture("navigation",{subtype:"load"},"info",void 0,t&&t.getTime())},i.prototype.captureConnectivityChange=function(t,e){return this.captureNetwork({change:t},"connectivity",e)},i.prototype._captureRollbarItem=function(t){if(this.options.includeItemsInTelemetry)return t.err?this.captureError(t.err,t.level,t.uuid,t.timestamp):t.message?this.captureLog(t.message,t.level,t.uuid,t.timestamp):t.custom?this.capture("log",t.custom,t.level,t.uuid,t.timestamp):void 0},i.prototype.push=function(t){this.queue.push(t),this.queue.length>this.maxQueueSize&&this.queue.shift()},t.exports=i},356:(t,e,n)=>{"use strict";var r=n(539),o=n(12);function i(t,e){var n=e.split("."),o=n.length-1;try{for(var i=0;i<=o;++i)i<o?t=t[n[i]]:t[n[i]]=r.redact()}catch(t){}}t.exports=function(t,e,n){if(e=e||[],n)for(var a=0;a<n.length;++a)i(t,n[a]);var s=function(t){for(var e,n=[],r=0;r<t.length;++r)e="^\\[?(%5[bB])?"+t[r]+"\\[?(%5[bB])?\\]?(%5[dD])?$",n.push(new RegExp(e,"i"));return n}(e),l=function(t){for(var e,n=[],r=0;r<t.length;++r)e="\\[?(%5[bB])?"+t[r]+"\\[?(%5[bB])?\\]?(%5[dD])?",n.push(new RegExp("("+e+"=)([^&\\n]+)","igm"));return n}(e);function d(t,e){return e+r.redact()}return o(t,function t(e,n,i){var a=function(t,e){var n;for(n=0;n<s.length;++n)if(s[n].test(t)){e=r.redact();break}return e}(e,n);return a===n?r.isType(n,"object")||r.isType(n,"array")?o(n,t,i):function(t){var e;if(r.isType(t,"string"))for(e=0;e<l.length;++e)t=t.replace(l[e],d);return t}(a):a})}},364:t=>{"use strict";t.exports=function(t,e,n,r,o){var i=t[e];t[e]=n(i),r&&r[o].push([t,e,i])}},424:t=>{"use strict";function e(t,e,n){if(e.hasOwnProperty&&e.hasOwnProperty("addEventListener")){for(var r=e.addEventListener;r._rollbarOldAdd&&r.belongsToShim;)r=r._rollbarOldAdd;var o=function(e,n,o){r.call(this,e,t.wrap(n),o)};o._rollbarOldAdd=r,o.belongsToShim=n,e.addEventListener=o;for(var i=e.removeEventListener;i._rollbarOldRemove&&i.belongsToShim;)i=i._rollbarOldRemove;var a=function(t,e,n){i.call(this,t,e&&e._rollbar_wrapped||e,n)};a._rollbarOldRemove=i,a.belongsToShim=n,e.removeEventListener=a}}t.exports=function(t,n,r){if(t){var o,i,a="EventTarget,Window,Node,ApplicationCache,AudioTrackList,ChannelMergerNode,CryptoOperation,EventSource,FileReader,HTMLUnknownElement,IDBDatabase,IDBRequest,IDBTransaction,KeyOperation,MediaController,MessagePort,ModalWindow,Notification,SVGElementInstance,Screen,TextTrack,TextTrackCue,TextTrackList,WebSocket,WebSocketWorker,Worker,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload".split(",");for(o=0;o<a.length;++o)t[i=a[o]]&&t[i].prototype&&e(n,t[i].prototype,r)}}},435:(t,e,n)=>{"use strict";var r=n(538);t.exports=r},440:(t,e,n)=>{"use strict";var r=n(539),o=n(306);function i(t,e){var n=new Error(t);return n.code=e||"ENOTFOUND",n}t.exports=function(t,e,n,a,s,l,d){var c;if(!(c=l?l():function(){var t,e,n=[function(){return new XMLHttpRequest},function(){return new ActiveXObject("Msxml2.XMLHTTP")},function(){return new ActiveXObject("Msxml3.XMLHTTP")},function(){return new ActiveXObject("Microsoft.XMLHTTP")}],r=n.length;for(e=0;e<r;e++)try{t=n[e]();break}catch(t){}return t}()))return s(new Error("No way to send a request"));try{try{var u=function(){try{if(u&&4===c.readyState){u=void 0;var t=r.jsonParse(c.responseText);if((a=c)&&a.status&&200===a.status)return void s(t.error,t.value);if(function(t){return t&&r.isType(t.status,"number")&&t.status>=400&&t.status<600}(c)){if(403===c.status){var e=t.value&&t.value.message;o.error(e)}s(new Error(String(c.status)))}else s(i("XHR response had no status code (likely connection failure)"))}}catch(t){var n;n=t&&t.stack?t:new Error(t),s(n)}var a};c.open(n,e,!0),c.setRequestHeader&&(c.setRequestHeader("Content-Type","application/json"),c.setRequestHeader("X-Rollbar-Access-Token",t)),r.isFiniteNumber(d)&&(c.timeout=d),c.onreadystatechange=u,c.send(a)}catch(t){if("undefined"!=typeof XDomainRequest){if(!window||!window.location)return s(new Error("No window available during request, unknown environment"));"http:"===window.location.href.substring(0,5)&&"https"===e.substring(0,5)&&(e="http"+e.substring(5));var p=new XDomainRequest;p.onprogress=function(){},p.ontimeout=function(){s(i("Request timed out","ETIMEDOUT"))},p.onerror=function(){s(new Error("Error during request"))},p.onload=function(){var t=r.jsonParse(p.responseText);s(t.error,t.value)},p.open(n,e,!0),p.send(a)}else s(new Error("Cannot find a method to transport a request"))}}catch(t){s(t)}}},441:t=>{"use strict";t.exports={version:"2.26.5",endpoint:"api.rollbar.com/api/1/item/",logLevel:"debug",reportLevel:"debug",uncaughtErrorLevel:"error",maxItems:0,itemsPerMin:60}},497:(t,e,n)=>{"use strict";var r=n(539),o=n(534),i=n(440);function a(t){this.truncation=t}a.prototype.get=function(t,e,n,o,i){o&&r.isFunction(o)||(o=function(){}),r.addParamsAndAccessTokenToPath(t,e,n);var a=r.formatUrl(e);this._makeZoneRequest(t,a,"GET",null,o,i,e.timeout,e.transport)},a.prototype.post=function(t,e,n,o,i){if(o&&r.isFunction(o)||(o=function(){}),!n)return o(new Error("Cannot send empty request"));var a;if((a=this.truncation?this.truncation.truncate(n):r.stringify(n)).error)return o(a.error);var s=a.value,l=r.formatUrl(e);this._makeZoneRequest(t,l,"POST",s,o,i,e.timeout,e.transport)},a.prototype.postJsonPayload=function(t,e,n,o,i){o&&r.isFunction(o)||(o=function(){});var a=r.formatUrl(e);this._makeZoneRequest(t,a,"POST",n,o,i,e.timeout,e.transport)},a.prototype._makeZoneRequest=function(){var t="undefined"!=typeof window&&window||void 0!==r&&r,e=t&&t.Zone&&t.Zone.root,n=Array.prototype.slice.call(arguments);if(e){var r=this;e.run(function(){r._makeRequest.apply(void 0,n)})}else this._makeRequest.apply(void 0,n)},a.prototype._makeRequest=function(t,e,n,r,a,s,l,d){if("undefined"!=typeof RollbarProxy)return function(t,e){(new RollbarProxy).sendJsonPayload(t,function(t){},function(t){e(new Error(t))})}(r,a);"fetch"===d?o(t,e,n,r,a,l):i(t,e,n,r,a,s,l)},t.exports=a},513:(t,e,n)=>{"use strict";var r=n(539);function o(t){this.startTime=r.now(),this.counter=0,this.perMinCounter=0,this.platform=null,this.platformOptions={},this.configureGlobal(t)}function i(t,e,n){return!t.ignoreRateLimit&&e>=1&&n>e}function a(t,e,n,r,o,i,a){var s=null;return n&&(n=new Error(n)),n||r||(s=function(t,e,n,r,o){var i=e.environment||e.payload&&e.payload.environment,a={body:{message:{body:o?"item per minute limit reached, ignoring errors until timeout":"maxItems has been hit, ignoring errors until reset.",extra:{maxItems:n,itemsPerMinute:r}}},language:"javascript",environment:i,notifier:{version:e.notifier&&e.notifier.version||e.version}};return"browser"===t?(a.platform="browser",a.framework="browser-js",a.notifier.name="rollbar-browser-js"):"server"===t?(a.framework=e.framework||"node-js",a.notifier.name=e.notifier.name):"react-native"===t&&(a.framework=e.framework||"react-native",a.notifier.name=e.notifier.name),a}(t,e,o,i,a)),{error:n,shouldSend:r,payload:s}}o.globalSettings={startTime:r.now(),maxItems:void 0,itemsPerMinute:void 0},o.prototype.configureGlobal=function(t){void 0!==t.startTime&&(o.globalSettings.startTime=t.startTime),void 0!==t.maxItems&&(o.globalSettings.maxItems=t.maxItems),void 0!==t.itemsPerMinute&&(o.globalSettings.itemsPerMinute=t.itemsPerMinute)},o.prototype.shouldSend=function(t,e){var n=(e=e||r.now())-this.startTime;(n<0||n>=6e4)&&(this.startTime=e,this.perMinCounter=0);var s=o.globalSettings.maxItems,l=o.globalSettings.itemsPerMinute;if(i(t,s,this.counter))return a(this.platform,this.platformOptions,s+" max items reached",!1);if(i(t,l,this.perMinCounter))return a(this.platform,this.platformOptions,l+" items per minute reached",!1);this.counter++,this.perMinCounter++;var d=!i(t,s,this.counter),c=d;return d=d&&!i(t,l,this.perMinCounter),a(this.platform,this.platformOptions,null,d,s,l,c)},o.prototype.setPlatformOptions=function(t,e){this.platform=t,this.platformOptions=e},t.exports=o},534:(t,e,n)=>{"use strict";var r=n(306),o=n(539);t.exports=function(t,e,n,i,a,s){var l,d;o.isFiniteNumber(s)&&(l=new AbortController,d=setTimeout(function(){l.abort()},s)),fetch(e,{method:n,headers:{"Content-Type":"application/json","X-Rollbar-Access-Token":t,signal:l&&l.signal},body:i}).then(function(t){return d&&clearTimeout(d),t.json()}).then(function(t){a(null,t)}).catch(function(t){r.error(t.message),a(t)})}},537:t=>{"use strict";t.exports={scrubFields:["pw","pass","passwd","password","secret","confirm_password","confirmPassword","password_confirmation","passwordConfirmation","access_token","accessToken","X-Rollbar-Access-Token","secret_key","secretKey","secretToken","cc-number","card number","cardnumber","cardnum","ccnum","ccnumber","cc num","creditcardnumber","credit card number","newcreditcardnumber","new credit card","creditcardno","credit card no","card#","card #","cc-csc","cvc","cvc2","cvv2","ccv2","security code","card verification","name on credit card","name on card","nameoncard","cardholder","card holder","name des karteninhabers","ccname","card type","cardtype","cc type","cctype","payment type","expiration date","expirationdate","expdate","cc-exp","ccmonth","ccyear"]}},538:t=>{t.exports=function(t){var e,n,r,o,i,a,s,l,d,c,u,p,h,m=/[\\"\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;function f(t){return t<10?"0"+t:t}function g(){return this.valueOf()}function v(t){return m.lastIndex=0,m.test(t)?'"'+t.replace(m,function(t){var e=r[t];return"string"==typeof e?e:"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+t+'"'}function b(t,r){var i,a,s,l,d,c=e,u=r[t];switch(u&&"object"==typeof u&&"function"==typeof u.toJSON&&(u=u.toJSON(t)),"function"==typeof o&&(u=o.call(r,t,u)),typeof u){case"string":return v(u);case"number":return isFinite(u)?String(u):"null";case"boolean":case"null":return String(u);case"object":if(!u)return"null";if(e+=n,d=[],"[object Array]"===Object.prototype.toString.apply(u)){for(l=u.length,i=0;i<l;i+=1)d[i]=b(i,u)||"null";return s=0===d.length?"[]":e?"[\n"+e+d.join(",\n"+e)+"\n"+c+"]":"["+d.join(",")+"]",e=c,s}if(o&&"object"==typeof o)for(l=o.length,i=0;i<l;i+=1)"string"==typeof o[i]&&(s=b(a=o[i],u))&&d.push(v(a)+(e?": ":":")+s);else for(a in u)Object.prototype.hasOwnProperty.call(u,a)&&(s=b(a,u))&&d.push(v(a)+(e?": ":":")+s);return s=0===d.length?"{}":e?"{\n"+e+d.join(",\n"+e)+"\n"+c+"}":"{"+d.join(",")+"}",e=c,s}}"function"!=typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},Boolean.prototype.toJSON=g,Number.prototype.toJSON=g,String.prototype.toJSON=g),"function"!=typeof t.stringify&&(r={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},t.stringify=function(t,r,i){var a;if(e="",n="","number"==typeof i)for(a=0;a<i;a+=1)n+=" ";else"string"==typeof i&&(n=i);if(o=r,r&&"function"!=typeof r&&("object"!=typeof r||"number"!=typeof r.length))throw new Error("JSON.stringify");return b("",{"":t})}),"function"!=typeof t.parse&&(t.parse=(c={"\\":"\\",'"':'"',"/":"/",t:"\t",n:"\n",r:"\r",f:"\f",b:"\b"},u={go:function(){i="ok"},firstokey:function(){l=d,i="colon"},okey:function(){l=d,i="colon"},ovalue:function(){i="ocomma"},firstavalue:function(){i="acomma"},avalue:function(){i="acomma"}},p={go:function(){i="ok"},ovalue:function(){i="ocomma"},firstavalue:function(){i="acomma"},avalue:function(){i="acomma"}},h={"{":{go:function(){a.push({state:"ok"}),s={},i="firstokey"},ovalue:function(){a.push({container:s,state:"ocomma",key:l}),s={},i="firstokey"},firstavalue:function(){a.push({container:s,state:"acomma"}),s={},i="firstokey"},avalue:function(){a.push({container:s,state:"acomma"}),s={},i="firstokey"}},"}":{firstokey:function(){var t=a.pop();d=s,s=t.container,l=t.key,i=t.state},ocomma:function(){var t=a.pop();s[l]=d,d=s,s=t.container,l=t.key,i=t.state}},"[":{go:function(){a.push({state:"ok"}),s=[],i="firstavalue"},ovalue:function(){a.push({container:s,state:"ocomma",key:l}),s=[],i="firstavalue"},firstavalue:function(){a.push({container:s,state:"acomma"}),s=[],i="firstavalue"},avalue:function(){a.push({container:s,state:"acomma"}),s=[],i="firstavalue"}},"]":{firstavalue:function(){var t=a.pop();d=s,s=t.container,l=t.key,i=t.state},acomma:function(){var t=a.pop();s.push(d),d=s,s=t.container,l=t.key,i=t.state}},":":{colon:function(){if(Object.hasOwnProperty.call(s,l))throw new SyntaxError("Duplicate key '"+l+'"');i="ovalue"}},",":{ocomma:function(){s[l]=d,i="okey"},acomma:function(){s.push(d),i="avalue"}},true:{go:function(){d=!0,i="ok"},ovalue:function(){d=!0,i="ocomma"},firstavalue:function(){d=!0,i="acomma"},avalue:function(){d=!0,i="acomma"}},false:{go:function(){d=!1,i="ok"},ovalue:function(){d=!1,i="ocomma"},firstavalue:function(){d=!1,i="acomma"},avalue:function(){d=!1,i="acomma"}},null:{go:function(){d=null,i="ok"},ovalue:function(){d=null,i="ocomma"},firstavalue:function(){d=null,i="acomma"},avalue:function(){d=null,i="acomma"}}},function(t,e){var n,r,o=/^[\u0020\t\n\r]*(?:([,:\[\]{}]|true|false|null)|(-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)|"((?:[^\r\n\t\\\"]|\\(?:["\\\/trnfb]|u[0-9a-fA-F]{4}))*)")/;i="go",a=[];try{for(;n=o.exec(t);)n[1]?h[n[1]][i]():n[2]?(d=+n[2],p[i]()):(r=n[3],d=r.replace(/\\(?:u(.{4})|([^u]))/g,function(t,e,n){return e?String.fromCharCode(parseInt(e,16)):c[n]}),u[i]()),t=t.slice(n[0].length)}catch(t){i=t}if("ok"!==i||/[^\u0020\t\n\r]/.test(t))throw i instanceof SyntaxError?i:new SyntaxError("JSON");return"function"==typeof e?function t(n,r){var o,i,a=n[r];if(a&&"object"==typeof a)for(o in d)Object.prototype.hasOwnProperty.call(a,o)&&(void 0!==(i=t(a,o))?a[o]=i:delete a[o]);return e.call(n,r,a)}({"":d},""):d}))}},539:(t,e,n)=>{"use strict";var r=n(215),o={};function i(t,e){return e===a(t)}function a(t){var e=typeof t;return"object"!==e?e:t?t instanceof Error?"error":{}.toString.call(t).match(/\s([a-zA-Z]+)/)[1].toLowerCase():"null"}function s(t){return i(t,"function")}function l(t){var e=Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?"),n=RegExp("^"+e+"$");return d(t)&&n.test(t)}function d(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function c(){var t=b();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var n=(t+16*Math.random())%16|0;return t=Math.floor(t/16),("x"===e?n:7&n|8).toString(16)})}var u={strictMode:!1,key:["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"],q:{name:"queryKey",parser:/(?:^|&)([^&=]*)=?([^&]*)/g},parser:{strict:/^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,loose:/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/}};function p(t,e){var n,r;try{n=o.stringify(t)}catch(o){if(e&&s(e))try{n=e(t)}catch(t){r=t}else r=o}return{error:r,value:n}}function h(t,e){return function(n,r){try{e(n,r)}catch(e){t.error(e)}}}function m(t){return function t(e,n){var r,o,s,l={};try{for(o in e)(r=e[o])&&(i(r,"object")||i(r,"array"))?n.includes(r)?l[o]="Removed circular reference: "+a(r):((s=n.slice()).push(r),l[o]=t(r,s)):l[o]=r}catch(t){l="Failed cloning custom data: "+t.message}return l}(t,[t])}var f=["log","network","dom","navigation","error","manual"],g=["critical","error","warning","info","debug"];function v(t,e){for(var n=0;n<t.length;++n)if(t[n]===e)return!0;return!1}function b(){return Date.now?+Date.now():+new Date}t.exports={addParamsAndAccessTokenToPath:function(t,e,n){(n=n||{}).access_token=t;var r,o=[];for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&o.push([r,n[r]].join("="));var i="?"+o.sort().join("&");(e=e||{}).path=e.path||"";var a,s=e.path.indexOf("?"),l=e.path.indexOf("#");-1!==s&&(-1===l||l>s)?(a=e.path,e.path=a.substring(0,s)+i+"&"+a.substring(s+1)):-1!==l?(a=e.path,e.path=a.substring(0,l)+i+a.substring(l)):e.path=e.path+i},createItem:function(t,e,n,r,o){for(var i,s,l,d,u,p,f=[],g=[],v=0,y=t.length;v<y;++v){var w=a(p=t[v]);switch(g.push(w),w){case"undefined":break;case"string":i?f.push(p):i=p;break;case"function":d=h(e,p);break;case"date":f.push(p);break;case"error":case"domexception":case"exception":s?f.push(p):s=p;break;case"object":case"array":if(p instanceof Error||"undefined"!=typeof DOMException&&p instanceof DOMException){s?f.push(p):s=p;break}if(r&&"object"===w&&!u){for(var x=0,$=r.length;x<$;++x)if(void 0!==p[r[x]]){u=p;break}if(u)break}l?f.push(p):l=p;break;default:if(p instanceof Error||"undefined"!=typeof DOMException&&p instanceof DOMException){s?f.push(p):s=p;break}f.push(p)}}l&&(l=m(l)),f.length>0&&(l||(l=m({})),l.extraArgs=m(f));var C={message:i,err:s,custom:l,timestamp:b(),callback:d,notifier:n,diagnostic:{},uuid:c()};return function(t,e){e&&void 0!==e.level&&(t.level=e.level,delete e.level),e&&void 0!==e.skipFrames&&(t.skipFrames=e.skipFrames,delete e.skipFrames)}(C,l),r&&u&&(C.request=u),o&&(C.lambdaContext=o),C._originalArgs=t,C.diagnostic.original_arg_types=g,C},addErrorContext:function(t,e){var n=t.data.custom||{},o=!1;try{for(var i=0;i<e.length;++i)e[i].hasOwnProperty("rollbarContext")&&(n=r(n,m(e[i].rollbarContext)),o=!0);o&&(t.data.custom=n)}catch(e){t.diagnostic.error_context="Failed: "+e.message}},createTelemetryEvent:function(t){for(var e,n,r,o,i=0,s=t.length;i<s;++i)switch(a(o=t[i])){case"string":!e&&v(f,o)?e=o:!r&&v(g,o)&&(r=o);break;case"object":n=o}return{type:e||"manual",metadata:n||{},level:r}},filterIp:function(t,e){if(t&&t.user_ip&&!0!==e){var n=t.user_ip;if(e)try{var r;if(-1!==n.indexOf("."))(r=n.split(".")).pop(),r.push("0"),n=r.join(".");else if(-1!==n.indexOf(":")){if((r=n.split(":")).length>2){var o=r.slice(0,3),i=o[2].indexOf("/");-1!==i&&(o[2]=o[2].substring(0,i)),n=o.concat("0000:0000:0000:0000:0000").join(":")}}else n=null}catch(t){n=null}else n=null;t.user_ip=n}},formatArgsAsString:function(t){var e,n,r,o=[];for(e=0,n=t.length;e<n;++e){switch(a(r=t[e])){case"object":(r=(r=p(r)).error||r.value).length>500&&(r=r.substr(0,497)+"...");break;case"null":r="null";break;case"undefined":r="undefined";break;case"symbol":r=r.toString()}o.push(r)}return o.join(" ")},formatUrl:function(t,e){if(!(e=e||t.protocol)&&t.port&&(80===t.port?e="http:":443===t.port&&(e="https:")),e=e||"https:",!t.hostname)return null;var n=e+"//"+t.hostname;return t.port&&(n=n+":"+t.port),t.path&&(n+=t.path),n},get:function(t,e){if(t){var n=e.split("."),r=t;try{for(var o=0,i=n.length;o<i;++o)r=r[n[o]]}catch(t){r=void 0}return r}},handleOptions:function(t,e,n,o){var i=r(t,e,n);return i=function(t,e){return t.hostWhiteList&&!t.hostSafeList&&(t.hostSafeList=t.hostWhiteList,t.hostWhiteList=void 0,e&&e.log("hostWhiteList is deprecated. Use hostSafeList.")),t.hostBlackList&&!t.hostBlockList&&(t.hostBlockList=t.hostBlackList,t.hostBlackList=void 0,e&&e.log("hostBlackList is deprecated. Use hostBlockList.")),t}(i,o),!e||e.overwriteScrubFields||e.scrubFields&&(i.scrubFields=(t.scrubFields||[]).concat(e.scrubFields)),i},isError:function(t){return i(t,"error")||i(t,"exception")},isFiniteNumber:function(t){return Number.isFinite(t)},isFunction:s,isIterable:function(t){var e=a(t);return"object"===e||"array"===e},isNativeFunction:l,isObject:d,isString:function(t){return"string"==typeof t||t instanceof String},isType:i,isPromise:function(t){return d(t)&&i(t.then,"function")},jsonParse:function(t){var e,n;try{e=o.parse(t)}catch(t){n=t}return{error:n,value:e}},LEVELS:{debug:0,info:1,warning:2,error:3,critical:4},makeUnhandledStackInfo:function(t,e,n,r,o,i,a,s){var l={url:e||"",line:n,column:r};l.func=s.guessFunctionName(l.url,l.line),l.context=s.gatherContext(l.url,l.line);var d="undefined"!=typeof document&&document&&document.location&&document.location.href,c="undefined"!=typeof window&&window&&window.navigator&&window.navigator.userAgent;return{mode:i,message:o?String(o):t||a,url:d,stack:[l],useragent:c}},merge:r,now:b,redact:function(){return"********"},RollbarJSON:o,sanitizeUrl:function(t){var e=function(t){if(i(t,"string")){for(var e=u,n=e.parser[e.strictMode?"strict":"loose"].exec(t),r={},o=0,a=e.key.length;o<a;++o)r[e.key[o]]=n[o]||"";return r[e.q.name]={},r[e.key[12]].replace(e.q.parser,function(t,n,o){n&&(r[e.q.name][n]=o)}),r}}(t);return e?(""===e.anchor&&(e.source=e.source.replace("#","")),t=e.source.replace("?"+e.query,"")):"(unknown)"},set:function(t,e,n){if(t){Object.setPrototypeOf(t,null);var r=e.split("."),o=r.length;if(!(o<1))if(1!==o)try{for(var i=t[r[0]]||{},a=i,s=1;s<o-1;++s)i[r[s]]=i[r[s]]||{},i=i[r[s]];i[r[o-1]]=n,t[r[0]]=a}catch(t){return}else t[r[0]]=n}},setupJSON:function(t){s(o.stringify)&&s(o.parse)||(i(JSON,"undefined")||(t?(l(JSON.stringify)&&(o.stringify=JSON.stringify),l(JSON.parse)&&(o.parse=JSON.parse)):(s(JSON.stringify)&&(o.stringify=JSON.stringify),s(JSON.parse)&&(o.parse=JSON.parse))),s(o.stringify)&&s(o.parse)||t&&t(o))},stringify:p,maxByteSize:function(t){for(var e=0,n=t.length,r=0;r<n;r++){var o=t.charCodeAt(r);o<128?e+=1:o<2048?e+=2:o<65536&&(e+=3)}return e},typeName:a,uuid4:c}},554:(t,e,n)=>{"use strict";var r=n(944),o="undefined"!=typeof window&&window._rollbarConfig,i=o&&o.globalAlias||"Rollbar",a="undefined"!=typeof window&&window[i]&&"function"==typeof window[i].shimId&&void 0!==window[i].shimId();if("undefined"==typeof window||window._rollbarStartTime||(window._rollbarStartTime=(new Date).getTime()),!a&&o){var s=new r(o);window[i]=s}else"undefined"!=typeof window?(window.rollbar=r,window._rollbarDidLoad=!0):"undefined"!=typeof self&&(self.rollbar=r,self._rollbarDidLoad=!0);t.exports=r},581:(t,e,n)=>{"use strict";var r=n(539);function o(t,e,n){if(!t)return!n;var o,i,a=t.frames;if(!a||0===a.length)return!n;for(var s=e.length,l=a.length,d=0;d<l;d++){if(o=a[d].filename,!r.isType(o,"string"))return!n;for(var c=0;c<s;c++)if(i=e[c],new RegExp(i).test(o))return!0}return!1}function i(t,e,n,i){var a,s,l=!1;"blocklist"===n&&(l=!0);try{if(a=l?e.hostBlockList:e.hostSafeList,s=r.get(t,"body.trace_chain")||[r.get(t,"body.trace")],!a||0===a.length)return!l;if(0===s.length||!s[0])return!l;for(var d=s.length,c=0;c<d;c++)if(o(s[c],a,l))return!0}catch(t){l?e.hostBlockList=null:e.hostSafeList=null;var u=l?"hostBlockList":"hostSafeList";return i.error("Error while reading your configuration's "+u+" option. Removing custom "+u+".",t),!l}return!1}t.exports={checkLevel:function(t,e){var n=t.level,o=r.LEVELS[n]||0,i=e.reportLevel;return!(o<(r.LEVELS[i]||0))},userCheckIgnore:function(t){return function(e,n){var o=!!e._isUncaught;delete e._isUncaught;var i=e._originalArgs;delete e._originalArgs;try{r.isFunction(n.onSendCallback)&&n.onSendCallback(o,i,e)}catch(e){n.onSendCallback=null,t.error("Error while calling onSendCallback, removing",e)}try{if(r.isFunction(n.checkIgnore)&&n.checkIgnore(o,i,e))return!1}catch(e){n.checkIgnore=null,t.error("Error while calling custom checkIgnore(), removing",e)}return!0}},urlIsNotBlockListed:function(t){return function(e,n){return!i(e,n,"blocklist",t)}},urlIsSafeListed:function(t){return function(e,n){return i(e,n,"safelist",t)}},messageIsIgnored:function(t){return function(e,n){var o,i,a,s,l,d;try{if(!(a=n.ignoredMessages)||0===a.length)return!0;if(d=function(t){var e=t.body,n=[];if(e.trace_chain)for(var o=e.trace_chain,i=0;i<o.length;i++){var a=o[i];n.push(r.get(a,"exception.message"))}return e.trace&&n.push(r.get(e,"trace.exception.message")),e.message&&n.push(r.get(e,"message.body")),n}(e),0===d.length)return!0;for(s=a.length,o=0;o<s;o++)for(l=new RegExp(a[o],"gi"),i=0;i<d.length;i++)if(l.test(d[i]))return!1}catch(e){n.ignoredMessages=null,t.error("Error while reading your configuration's ignoredMessages option. Removing custom ignoredMessages.")}return!0}}}},584:(t,e,n)=>{"use strict";var r=n(539);t.exports={checkIgnore:function(t,e){return!r.get(e,"plugins.jquery.ignoreAjaxErrors")||!r.get(t,"body.message.extra.isAjax")}}},683:(t,e,n)=>{"use strict";var r=n(539),o=n(974),i=n(364),a=n(356),s=n(61),l=n(790),d={network:!0,networkResponseHeaders:!1,networkResponseBody:!1,networkRequestHeaders:!1,networkRequestBody:!1,networkErrorOnHttp5xx:!1,networkErrorOnHttp4xx:!1,networkErrorOnHttp0:!1,log:!0,dom:!0,navigation:!0,connectivity:!0,contentSecurityPolicy:!0,errorOnContentSecurityPolicy:!1};function c(t,e){for(var n;t[e].length;)(n=t[e].shift())[0][n[1]]=n[2]}function u(t,e,n,o,i){this.options=t;var a=t.autoInstrument;!1===t.enabled||!1===a?this.autoInstrument={}:(r.isType(a,"object")||(a=d),this.autoInstrument=r.merge(d,a)),this.scrubTelemetryInputs=!!t.scrubTelemetryInputs,this.telemetryScrubber=t.telemetryScrubber,this.defaultValueScrubber=function(t){for(var e=[],n=0;n<t.length;++n)e.push(new RegExp(t[n],"i"));return function(t){var n=function(t){if(!t||!t.attributes)return null;for(var e=t.attributes,n=0;n<e.length;++n)if("name"===e[n].key)return e[n].value;return null}(t);if(!n)return!1;for(var r=0;r<e.length;++r)if(e[r].test(n))return!0;return!1}}(t.scrubFields),this.telemeter=e,this.rollbar=n,this.diagnostic=n.client.notifier.diagnostic,this._window=o||{},this._document=i||{},this.replacements={network:[],log:[],navigation:[],connectivity:[]},this.eventRemovers={dom:[],connectivity:[],contentsecuritypolicy:[]},this._location=this._window.location,this._lastHref=this._location&&this._location.href}function p(t){return"undefined"!=typeof URL&&t instanceof URL}u.prototype.configure=function(t){this.options=r.merge(this.options,t);var e=t.autoInstrument,n=r.merge(this.autoInstrument);!1===t.enabled||!1===e?this.autoInstrument={}:(r.isType(e,"object")||(e=d),this.autoInstrument=r.merge(d,e)),this.instrument(n),void 0!==t.scrubTelemetryInputs&&(this.scrubTelemetryInputs=!!t.scrubTelemetryInputs),void 0!==t.telemetryScrubber&&(this.telemetryScrubber=t.telemetryScrubber)},u.prototype.instrument=function(t){!this.autoInstrument.network||t&&t.network?!this.autoInstrument.network&&t&&t.network&&this.deinstrumentNetwork():this.instrumentNetwork(),!this.autoInstrument.log||t&&t.log?!this.autoInstrument.log&&t&&t.log&&this.deinstrumentConsole():this.instrumentConsole(),!this.autoInstrument.dom||t&&t.dom?!this.autoInstrument.dom&&t&&t.dom&&this.deinstrumentDom():this.instrumentDom(),!this.autoInstrument.navigation||t&&t.navigation?!this.autoInstrument.navigation&&t&&t.navigation&&this.deinstrumentNavigation():this.instrumentNavigation(),!this.autoInstrument.connectivity||t&&t.connectivity?!this.autoInstrument.connectivity&&t&&t.connectivity&&this.deinstrumentConnectivity():this.instrumentConnectivity(),!this.autoInstrument.contentSecurityPolicy||t&&t.contentSecurityPolicy?!this.autoInstrument.contentSecurityPolicy&&t&&t.contentSecurityPolicy&&this.deinstrumentContentSecurityPolicy():this.instrumentContentSecurityPolicy()},u.prototype.deinstrumentNetwork=function(){c(this.replacements,"network")},u.prototype.instrumentNetwork=function(){var t=this;function e(e,n){e in n&&r.isFunction(n[e])&&i(n,e,function(e){return t.rollbar.wrap(e)})}if("XMLHttpRequest"in this._window){var n=this._window.XMLHttpRequest.prototype;i(n,"open",function(t){return function(e,n){var o=p(n);return(r.isType(n,"string")||o)&&(n=o?n.toString():n,this.__rollbar_xhr?(this.__rollbar_xhr.method=e,this.__rollbar_xhr.url=n,this.__rollbar_xhr.status_code=null,this.__rollbar_xhr.start_time_ms=r.now(),this.__rollbar_xhr.end_time_ms=null):this.__rollbar_xhr={method:e,url:n,status_code:null,start_time_ms:r.now(),end_time_ms:null}),t.apply(this,arguments)}},this.replacements,"network"),i(n,"setRequestHeader",function(e){return function(n,o){return this.__rollbar_xhr||(this.__rollbar_xhr={}),r.isType(n,"string")&&r.isType(o,"string")&&(t.autoInstrument.networkRequestHeaders&&(this.__rollbar_xhr.request_headers||(this.__rollbar_xhr.request_headers={}),this.__rollbar_xhr.request_headers[n]=o),"content-type"===n.toLowerCase()&&(this.__rollbar_xhr.request_content_type=o)),e.apply(this,arguments)}},this.replacements,"network"),i(n,"send",function(n){return function(o){var a=this;function s(){if(a.__rollbar_xhr&&(null===a.__rollbar_xhr.status_code&&(a.__rollbar_xhr.status_code=0,t.autoInstrument.networkRequestBody&&(a.__rollbar_xhr.request=o),a.__rollbar_event=t.captureNetwork(a.__rollbar_xhr,"xhr",void 0)),a.readyState<2&&(a.__rollbar_xhr.start_time_ms=r.now()),a.readyState>3)){a.__rollbar_xhr.end_time_ms=r.now();var e=null;if(a.__rollbar_xhr.response_content_type=a.getResponseHeader("Content-Type"),t.autoInstrument.networkResponseHeaders){var n=t.autoInstrument.networkResponseHeaders;e={};try{var i,s;if(!0===n){var l=a.getAllResponseHeaders();if(l){var d,c,u=l.trim().split(/[\r\n]+/);for(s=0;s<u.length;s++)i=(d=u[s].split(": ")).shift(),c=d.join(": "),e[i]=c}}else for(s=0;s<n.length;s++)e[i=n[s]]=a.getResponseHeader(i)}catch(t){}}var p=null;if(t.autoInstrument.networkResponseBody)try{p=a.responseText}catch(t){}var h=null;(p||e)&&(h={},p&&(t.isJsonContentType(a.__rollbar_xhr.response_content_type)?h.body=t.scrubJson(p):h.body=p),e&&(h.headers=e)),h&&(a.__rollbar_xhr.response=h);try{var m=a.status;m=1223===m?204:m,a.__rollbar_xhr.status_code=m,a.__rollbar_event.level=t.telemeter.levelFromStatus(m),t.errorOnHttpStatus(a.__rollbar_xhr)}catch(t){}}}return e("onload",a),e("onerror",a),e("onprogress",a),"onreadystatechange"in a&&r.isFunction(a.onreadystatechange)?i(a,"onreadystatechange",function(e){return t.rollbar.wrap(e,void 0,s)}):a.onreadystatechange=s,a.__rollbar_xhr&&t.trackHttpErrors()&&(a.__rollbar_xhr.stack=(new Error).stack),n.apply(this,arguments)}},this.replacements,"network")}"fetch"in this._window&&i(this._window,"fetch",function(e){return function(n,i){for(var a=new Array(arguments.length),s=0,l=a.length;s<l;s++)a[s]=arguments[s];var d,c=a[0],u="GET",h=p(c);r.isType(c,"string")||h?d=h?c.toString():c:c&&(d=c.url,c.method&&(u=c.method)),a[1]&&a[1].method&&(u=a[1].method);var m={method:u,url:d,status_code:null,start_time_ms:r.now(),end_time_ms:null};if(a[1]&&a[1].headers){var f=o(a[1].headers);m.request_content_type=f.get("Content-Type"),t.autoInstrument.networkRequestHeaders&&(m.request_headers=t.fetchHeaders(f,t.autoInstrument.networkRequestHeaders))}return t.autoInstrument.networkRequestBody&&(a[1]&&a[1].body?m.request=a[1].body:a[0]&&!r.isType(a[0],"string")&&a[0].body&&(m.request=a[0].body)),t.captureNetwork(m,"fetch",void 0),t.trackHttpErrors()&&(m.stack=(new Error).stack),e.apply(this,a).then(function(e){m.end_time_ms=r.now(),m.status_code=e.status,m.response_content_type=e.headers.get("Content-Type");var n=null;t.autoInstrument.networkResponseHeaders&&(n=t.fetchHeaders(e.headers,t.autoInstrument.networkResponseHeaders));var o=null;return t.autoInstrument.networkResponseBody&&"function"==typeof e.text&&(o=e.clone().text()),(n||o)&&(m.response={},o&&("function"==typeof o.then?o.then(function(e){e&&t.isJsonContentType(m.response_content_type)?m.response.body=t.scrubJson(e):m.response.body=e}):m.response.body=o),n&&(m.response.headers=n)),t.errorOnHttpStatus(m),e})}},this.replacements,"network")},u.prototype.captureNetwork=function(t,e,n){return t.request&&this.isJsonContentType(t.request_content_type)&&(t.request=this.scrubJson(t.request)),this.telemeter.captureNetwork(t,e,n)},u.prototype.isJsonContentType=function(t){return!!(t&&r.isType(t,"string")&&t.toLowerCase().includes("json"))},u.prototype.scrubJson=function(t){return JSON.stringify(a(JSON.parse(t),this.options.scrubFields))},u.prototype.fetchHeaders=function(t,e){var n={};try{var r;if(!0===e){if("function"==typeof t.entries)for(var o=t.entries(),i=o.next();!i.done;)n[i.value[0]]=i.value[1],i=o.next()}else for(r=0;r<e.length;r++){var a=e[r];n[a]=t.get(a)}}catch(t){}return n},u.prototype.trackHttpErrors=function(){return this.autoInstrument.networkErrorOnHttp5xx||this.autoInstrument.networkErrorOnHttp4xx||this.autoInstrument.networkErrorOnHttp0},u.prototype.errorOnHttpStatus=function(t){var e=t.status_code;if(e>=500&&this.autoInstrument.networkErrorOnHttp5xx||e>=400&&this.autoInstrument.networkErrorOnHttp4xx||0===e&&this.autoInstrument.networkErrorOnHttp0){var n=new Error("HTTP request failed with Status "+e);n.stack=t.stack,this.rollbar.error(n,{skipFrames:1})}},u.prototype.deinstrumentConsole=function(){if("console"in this._window&&this._window.console.log)for(var t;this.replacements.log.length;)t=this.replacements.log.shift(),this._window.console[t[0]]=t[1]},u.prototype.instrumentConsole=function(){if("console"in this._window&&this._window.console.log){var t=this,e=this._window.console,n=["debug","info","warn","error","log"];try{for(var o=0,i=n.length;o<i;o++)a(n[o])}catch(t){this.diagnostic.instrumentConsole={error:t.message}}}function a(n){var o=e[n],i=e,a="warn"===n?"warning":n;e[n]=function(){var e=Array.prototype.slice.call(arguments),n=r.formatArgsAsString(e);t.telemeter.captureLog(n,a),o&&Function.prototype.apply.call(o,i,e)},t.replacements.log.push([n,o])}},u.prototype.deinstrumentDom=function(){("addEventListener"in this._window||"attachEvent"in this._window)&&this.removeListeners("dom")},u.prototype.instrumentDom=function(){if("addEventListener"in this._window||"attachEvent"in this._window){var t=this.handleClick.bind(this),e=this.handleBlur.bind(this);this.addListener("dom",this._window,"click","onclick",t,!0),this.addListener("dom",this._window,"blur","onfocusout",e,!0)}},u.prototype.handleClick=function(t){try{var e=l.getElementFromEvent(t,this._document),n=e&&e.tagName,r=l.isDescribedElement(e,"a")||l.isDescribedElement(e,"button");n&&(r||l.isDescribedElement(e,"input",["button","submit"]))?this.captureDomEvent("click",e):l.isDescribedElement(e,"input",["checkbox","radio"])&&this.captureDomEvent("input",e,e.value,e.checked)}catch(t){}},u.prototype.handleBlur=function(t){try{var e=l.getElementFromEvent(t,this._document);e&&e.tagName&&(l.isDescribedElement(e,"textarea")?this.captureDomEvent("input",e,e.value):l.isDescribedElement(e,"select")&&e.options&&e.options.length?this.handleSelectInputChanged(e):l.isDescribedElement(e,"input")&&!l.isDescribedElement(e,"input",["button","submit","hidden","checkbox","radio"])&&this.captureDomEvent("input",e,e.value))}catch(t){}},u.prototype.handleSelectInputChanged=function(t){if(t.multiple)for(var e=0;e<t.options.length;e++)t.options[e].selected&&this.captureDomEvent("input",t,t.options[e].value);else t.selectedIndex>=0&&t.options[t.selectedIndex]&&this.captureDomEvent("input",t,t.options[t.selectedIndex].value)},u.prototype.captureDomEvent=function(t,e,n,r){if(void 0!==n)if(this.scrubTelemetryInputs||"password"===l.getElementType(e))n="[scrubbed]";else{var o=l.describeElement(e);this.telemetryScrubber?this.telemetryScrubber(o)&&(n="[scrubbed]"):this.defaultValueScrubber(o)&&(n="[scrubbed]")}var i=l.elementArrayToString(l.treeToArray(e));this.telemeter.captureDom(t,i,n,r)},u.prototype.deinstrumentNavigation=function(){var t=this._window.chrome;!(t&&t.app&&t.app.runtime)&&this._window.history&&this._window.history.pushState&&c(this.replacements,"navigation")},u.prototype.instrumentNavigation=function(){var t=this._window.chrome;if(!(t&&t.app&&t.app.runtime)&&this._window.history&&this._window.history.pushState){var e=this;i(this._window,"onpopstate",function(t){return function(){var n=e._location.href;e.handleUrlChange(e._lastHref,n),t&&t.apply(this,arguments)}},this.replacements,"navigation"),i(this._window.history,"pushState",function(t){return function(){var n=arguments.length>2?arguments[2]:void 0;return n&&e.handleUrlChange(e._lastHref,n+""),t.apply(this,arguments)}},this.replacements,"navigation")}},u.prototype.handleUrlChange=function(t,e){var n=s.parse(this._location.href),r=s.parse(e),o=s.parse(t);this._lastHref=e,n.protocol===r.protocol&&n.host===r.host&&(e=r.path+(r.hash||"")),n.protocol===o.protocol&&n.host===o.host&&(t=o.path+(o.hash||"")),this.telemeter.captureNavigation(t,e)},u.prototype.deinstrumentConnectivity=function(){("addEventListener"in this._window||"body"in this._document)&&(this._window.addEventListener?this.removeListeners("connectivity"):c(this.replacements,"connectivity"))},u.prototype.instrumentConnectivity=function(){if("addEventListener"in this._window||"body"in this._document)if(this._window.addEventListener)this.addListener("connectivity",this._window,"online",void 0,function(){this.telemeter.captureConnectivityChange("online")}.bind(this),!0),this.addListener("connectivity",this._window,"offline",void 0,function(){this.telemeter.captureConnectivityChange("offline")}.bind(this),!0);else{var t=this;i(this._document.body,"ononline",function(e){return function(){t.telemeter.captureConnectivityChange("online"),e&&e.apply(this,arguments)}},this.replacements,"connectivity"),i(this._document.body,"onoffline",function(e){return function(){t.telemeter.captureConnectivityChange("offline"),e&&e.apply(this,arguments)}},this.replacements,"connectivity")}},u.prototype.handleCspEvent=function(t){var e="Security Policy Violation: blockedURI: "+t.blockedURI+", violatedDirective: "+t.violatedDirective+", effectiveDirective: "+t.effectiveDirective+", ";t.sourceFile&&(e+="location: "+t.sourceFile+", line: "+t.lineNumber+", col: "+t.columnNumber+", "),e+="originalPolicy: "+t.originalPolicy,this.telemeter.captureLog(e,"error"),this.handleCspError(e)},u.prototype.handleCspError=function(t){this.autoInstrument.errorOnContentSecurityPolicy&&this.rollbar.error(t)},u.prototype.deinstrumentContentSecurityPolicy=function(){"addEventListener"in this._document&&this.removeListeners("contentsecuritypolicy")},u.prototype.instrumentContentSecurityPolicy=function(){if("addEventListener"in this._document){var t=this.handleCspEvent.bind(this);this.addListener("contentsecuritypolicy",this._document,"securitypolicyviolation",null,t,!1)}},u.prototype.addListener=function(t,e,n,r,o,i){e.addEventListener?(e.addEventListener(n,o,i),this.eventRemovers[t].push(function(){e.removeEventListener(n,o,i)})):r&&(e.attachEvent(r,o),this.eventRemovers[t].push(function(){e.detachEvent(r,o)}))},u.prototype.removeListeners=function(t){for(;this.eventRemovers[t].length;)this.eventRemovers[t].shift()()},t.exports=u},738:function(){!function(t){"use strict";t.console||(t.console={});for(var e,n,r=t.console,o=function(){},i=["memory"],a="assert,clear,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,markTimeline,profile,profiles,profileEnd,show,table,time,timeEnd,timeline,timelineEnd,timeStamp,trace,warn".split(",");e=i.pop();)r[e]||(r[e]={});for(;n=a.pop();)r[n]||(r[n]=o)}("undefined"==typeof window?this:window)},744:(t,e,n)=>{"use strict";var r=n(539);function o(t,e,n,r){this.rateLimiter=t,this.api=e,this.logger=n,this.options=r,this.predicates=[],this.pendingItems=[],this.pendingRequests=[],this.retryQueue=[],this.retryHandle=null,this.waitCallback=null,this.waitIntervalID=null}o.prototype.configure=function(t){this.api&&this.api.configure(t);var e=this.options;return this.options=r.merge(e,t),this},o.prototype.addPredicate=function(t){return r.isFunction(t)&&this.predicates.push(t),this},o.prototype.addPendingItem=function(t){this.pendingItems.push(t)},o.prototype.removePendingItem=function(t){var e=this.pendingItems.indexOf(t);-1!==e&&this.pendingItems.splice(e,1)},o.prototype.addItem=function(t,e,n,o){e&&r.isFunction(e)||(e=function(){});var i=this._applyPredicates(t);if(i.stop)return this.removePendingItem(o),void e(i.err);if(this._maybeLog(t,n),this.removePendingItem(o),this.options.transmit){this.pendingRequests.push(t);try{this._makeApiRequest(t,function(n,r){this._dequeuePendingRequest(t),e(n,r)}.bind(this))}catch(n){this._dequeuePendingRequest(t),e(n)}}else e(new Error("Transmit disabled"))},o.prototype.wait=function(t){r.isFunction(t)&&(this.waitCallback=t,this._maybeCallWait()||(this.waitIntervalID&&(this.waitIntervalID=clearInterval(this.waitIntervalID)),this.waitIntervalID=setInterval(function(){this._maybeCallWait()}.bind(this),500)))},o.prototype._applyPredicates=function(t){for(var e=null,n=0,r=this.predicates.length;n<r;n++)if(!(e=this.predicates[n](t,this.options))||void 0!==e.err)return{stop:!0,err:e.err};return{stop:!1,err:null}},o.prototype._makeApiRequest=function(t,e){var n=this.rateLimiter.shouldSend(t);n.shouldSend?this.api.postItem(t,function(n,r){n?this._maybeRetry(n,t,e):e(n,r)}.bind(this)):n.error?e(n.error):this.api.postItem(n.payload,e)};var i=["ECONNRESET","ENOTFOUND","ESOCKETTIMEDOUT","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH","EPIPE","EAI_AGAIN"];o.prototype._maybeRetry=function(t,e,n){var o=!1;if(this.options.retryInterval){for(var a=0,s=i.length;a<s;a++)if(t.code===i[a]){o=!0;break}o&&r.isFiniteNumber(this.options.maxRetries)&&(e.retries=e.retries?e.retries+1:1,e.retries>this.options.maxRetries&&(o=!1))}o?this._retryApiRequest(e,n):n(t)},o.prototype._retryApiRequest=function(t,e){this.retryQueue.push({item:t,callback:e}),this.retryHandle||(this.retryHandle=setInterval(function(){for(;this.retryQueue.length;){var t=this.retryQueue.shift();this._makeApiRequest(t.item,t.callback)}}.bind(this),this.options.retryInterval))},o.prototype._dequeuePendingRequest=function(t){var e=this.pendingRequests.indexOf(t);-1!==e&&(this.pendingRequests.splice(e,1),this._maybeCallWait())},o.prototype._maybeLog=function(t,e){if(this.logger&&this.options.verbose){var n=e;if(n=(n=n||r.get(t,"body.trace.exception.message"))||r.get(t,"body.trace_chain.0.exception.message"))return void this.logger.error(n);(n=r.get(t,"body.message.body"))&&this.logger.log(n)}},o.prototype._maybeCallWait=function(){return!(!r.isFunction(this.waitCallback)||0!==this.pendingItems.length||0!==this.pendingRequests.length||(this.waitIntervalID&&(this.waitIntervalID=clearInterval(this.waitIntervalID)),this.waitCallback(),0))},t.exports=o},777:(t,e,n)=>{"use strict";var r=n(539);function o(t,e){this.queue=t,this.options=e,this.transforms=[],this.diagnostic={}}o.prototype.configure=function(t){this.queue&&this.queue.configure(t);var e=this.options;return this.options=r.merge(e,t),this},o.prototype.addTransform=function(t){return r.isFunction(t)&&this.transforms.push(t),this},o.prototype.log=function(t,e){if(e&&r.isFunction(e)||(e=function(){}),!this.options.enabled)return e(new Error("Rollbar is not enabled"));this.queue.addPendingItem(t);var n=t.err;this._applyTransforms(t,function(r,o){if(r)return this.queue.removePendingItem(t),e(r,null);this.queue.addItem(o,e,n,t)}.bind(this))},o.prototype._applyTransforms=function(t,e){var n=-1,r=this.transforms.length,o=this.transforms,i=this.options,a=function(t,s){t?e(t,null):++n!==r?o[n](s,i,a):e(null,s)};a(null,t)},t.exports=o},790:t=>{"use strict";function e(t){return(t.getAttribute("type")||"").toLowerCase()}function n(t){if(!t||!t.tagName)return"";var e=[t.tagName];t.id&&e.push("#"+t.id),t.classes&&e.push("."+t.classes.join("."));for(var n=0;n<t.attributes.length;n++)e.push("["+t.attributes[n].key+'="'+t.attributes[n].value+'"]');return e.join("")}function r(t){if(!t||!t.tagName)return null;var e,n,r,o,i={};i.tagName=t.tagName.toLowerCase(),t.id&&(i.id=t.id),(e=t.className)&&"string"==typeof e&&(i.classes=e.split(/\s+/));var a=["type","name","title","alt"];for(i.attributes=[],o=0;o<a.length;o++)n=a[o],(r=t.getAttribute(n))&&i.attributes.push({key:n,value:r});return i}t.exports={describeElement:r,descriptionToString:n,elementArrayToString:function(t){for(var e,r,o=[],i=0,a=t.length-1;a>=0;a--){if(e=n(t[a]),r=i+3*o.length+e.length,a<t.length-1&&r>=83){o.unshift("...");break}o.unshift(e),i+=e.length}return o.join(" > ")},treeToArray:function(t){for(var e,n=[],o=0;t&&o<5&&"html"!==(e=r(t)).tagName;o++)n.unshift(e),t=t.parentNode;return n},getElementFromEvent:function(t,e){return t.target?t.target:e&&e.elementFromPoint?e.elementFromPoint(t.clientX,t.clientY):void 0},isDescribedElement:function(t,n,r){if(t.tagName.toLowerCase()!==n.toLowerCase())return!1;if(!r)return!0;t=e(t);for(var o=0;o<r.length;o++)if(r[o]===t)return!0;return!1},getElementType:e}},796:t=>{"use strict";t.exports={captureUncaughtExceptions:function(t,e,n){if(t){var r;if("function"==typeof e._rollbarOldOnError)r=e._rollbarOldOnError;else if(t.onerror){for(r=t.onerror;r._rollbarOldOnError;)r=r._rollbarOldOnError;e._rollbarOldOnError=r}e.handleAnonymousErrors();var o=function(){var n=Array.prototype.slice.call(arguments,0);!function(t,e,n,r){t._rollbarWrappedError&&(r[4]||(r[4]=t._rollbarWrappedError),r[5]||(r[5]=t._rollbarWrappedError._rollbarContext),t._rollbarWrappedError=null);var o=e.handleUncaughtException.apply(e,r);n&&n.apply(t,r),"anonymous"===o&&(e.anonymousErrorsPending+=1)}(t,e,r,n)};n&&(o._rollbarOldOnError=r),t.onerror=o}},captureUnhandledRejections:function(t,e,n){if(t){"function"==typeof t._rollbarURH&&t._rollbarURH.belongsToShim&&t.removeEventListener("unhandledrejection",t._rollbarURH);var r=function(t){var n,r,o;try{n=t.reason}catch(t){n=void 0}try{r=t.promise}catch(t){r="[unhandledrejection] error getting `promise` from event"}try{o=t.detail,!n&&o&&(n=o.reason,r=o.promise)}catch(t){}n||(n="[unhandledrejection] error getting `reason` from event"),e&&e.handleUnhandledRejection&&e.handleUnhandledRejection(n,r)};r.belongsToShim=n,t._rollbarURH=r,t.addEventListener("unhandledrejection",r)}}}},888:(t,e,n)=>{"use strict";var r=n(539),o=n(12);function i(t,e){return[t,r.stringify(t,e)]}function a(t,e){var n=t.length;return n>2*e?t.slice(0,e).concat(t.slice(n-e)):t}function s(t,e,n){n=void 0===n?30:n;var o,i=t.data.body;if(i.trace_chain)for(var s=i.trace_chain,l=0;l<s.length;l++)o=a(o=s[l].frames,n),s[l].frames=o;else i.trace&&(o=a(o=i.trace.frames,n),i.trace.frames=o);return[t,r.stringify(t,e)]}function l(t,e){return e&&e.length>t?e.slice(0,t-3).concat("..."):e}function d(t,e,n){return e=o(e,function e(n,i,a){switch(r.typeName(i)){case"string":return l(t,i);case"object":case"array":return o(i,e,a);default:return i}}),[e,r.stringify(e,n)]}function c(t){return t.exception&&(delete t.exception.description,t.exception.message=l(255,t.exception.message)),t.frames=a(t.frames,1),t}function u(t,e){var n=t.data.body;if(n.trace_chain)for(var o=n.trace_chain,i=0;i<o.length;i++)o[i]=c(o[i]);else n.trace&&(n.trace=c(n.trace));return[t,r.stringify(t,e)]}function p(t,e){return r.maxByteSize(t)>e}t.exports={truncate:function(t,e,n){n=void 0===n?524288:n;for(var r,o,a,l=[i,s,d.bind(null,1024),d.bind(null,512),d.bind(null,256),u];r=l.shift();)if(t=(o=r(t,e))[0],(a=o[1]).error||!p(a.value,n))return a;return a},raw:i,truncateFrames:s,truncateStrings:d,maybeTruncateValue:l}},944:(t,e,n)=>{"use strict";var r=n(197),o=n(352),i=n(683),a=n(435),s=n(424),l=n(356),d=n(888);r.setComponents({telemeter:o,instrumenter:i,polyfillJSON:a,wrapGlobals:s,scrub:l,truncation:d}),t.exports=r},962:(t,e,n)=>{"use strict";var r=n(539);function o(t,e){r.isFunction(t[e])&&(t[e]=t[e].toString())}t.exports={itemToPayload:function(t,e,n){var r=t.data;t._isUncaught&&(r._isUncaught=!0),t._originalArgs&&(r._originalArgs=t._originalArgs),n(null,r)},addPayloadOptions:function(t,e,n){var o=e.payload||{};o.body&&delete o.body,t.data=r.merge(t.data,o),n(null,t)},addTelemetryData:function(t,e,n){t.telemetryEvents&&r.set(t,"data.body.telemetry",t.telemetryEvents),n(null,t)},addMessageWithError:function(t,e,n){if(t.message){var o="data.body.trace_chain.0",i=r.get(t,o);if(i||(o="data.body.trace",i=r.get(t,o)),i){if(!i.exception||!i.exception.description)return r.set(t,o+".exception.description",t.message),void n(null,t);var a=r.get(t,o+".extra")||{},s=r.merge(a,{message:t.message});r.set(t,o+".extra",s)}n(null,t)}else n(null,t)},userTransform:function(t){return function(e,n,o){var i=r.merge(e),a=null;try{r.isFunction(n.transform)&&(a=n.transform(i.data,e))}catch(r){return n.transform=null,t.error("Error while calling custom transform() function. Removing custom transform().",r),void o(null,e)}r.isPromise(a)?a.then(function(t){t&&(i.data=t),o(null,i)},function(t){o(t,e)}):o(null,i)}},addConfigToPayload:function(t,e,n){if(!e.sendConfig)return n(null,t);var o=r.get(t,"data.custom")||{};o._rollbarConfig=e,t.data.custom=o,n(null,t)},addConfiguredOptions:function(t,e,n){var r=e._configuredOptions;o(r,"transform"),o(r,"checkIgnore"),o(r,"onSendCallback"),delete r.accessToken,t.data.notifier.configured_options=r,n(null,t)},addDiagnosticKeys:function(t,e,n){var o=r.merge(t.notifier.client.notifier.diagnostic,t.diagnostic);if(r.get(t,"err._isAnonymous")&&(o.is_anonymous=!0),t._isUncaught&&(o.is_uncaught=t._isUncaught),t.err)try{o.raw_error={message:t.err.message,name:t.err.name,constructor_name:t.err.constructor&&t.err.constructor.name,filename:t.err.fileName,line:t.err.lineNumber,column:t.err.columnNumber,stack:t.err.stack}}catch(t){o.raw_error={failed:String(t)}}t.data.notifier.diagnostic=r.merge(t.data.notifier.diagnostic,o),n(null,t)}}},974:t=>{"use strict";function e(t){return"string"!=typeof t&&(t=String(t)),t.toLowerCase()}function n(t){this.map={},t instanceof n?t.forEach(function(t,e){this.append(e,t)},this):Array.isArray(t)?t.forEach(function(t){this.append(t[0],t[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}n.prototype.append=function(t,n){t=e(t),n=function(t){return"string"!=typeof t&&(t=String(t)),t}(n);var r=this.map[t];this.map[t]=r?r+", "+n:n},n.prototype.get=function(t){return t=e(t),this.has(t)?this.map[t]:null},n.prototype.has=function(t){return this.map.hasOwnProperty(e(t))},n.prototype.forEach=function(t,e){for(var n in this.map)this.map.hasOwnProperty(n)&&t.call(e,this.map[n],n,this)},n.prototype.entries=function(){var t=[];return this.forEach(function(e,n){t.push([n,e])}),function(t){return{next:function(){var e=t.shift();return{done:void 0===e,value:e}}}}(t)},t.exports=function(t){return"undefined"==typeof Headers?new n(t):new Headers(t)}}},e={},function n(r){var o=e[r];if(void 0!==o)return o.exports;var i=e[r]={exports:{}};return t[r].call(i.exports,i,i.exports,n),i.exports}(554);var t,e})},6262:function(t,e){"use strict";e.A=(t,e)=>{const n=t.__vccOpts||t;for(const[r,o]of e)n[r]=o;return n}},6882:function(t,e,n){var r=n(9573);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.id,r,""]]),r.locals&&(t.exports=r.locals);var o=n(9548).A;o("5f802c4b",r,!0,{sourceMap:!1,shadowMode:!1})},9570:function(t,e,n){var r=n(4335);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.id,r,""]]),r.locals&&(t.exports=r.locals);var o=n(9548).A;o("35134a0d",r,!0,{sourceMap:!1,shadowMode:!1})},4910:function(t,e,n){var r=n(1206);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.id,r,""]]),r.locals&&(t.exports=r.locals);var o=n(9548).A;o("7b18b895",r,!0,{sourceMap:!1,shadowMode:!1})},601:function(t,e,n){var r=n(5788);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.id,r,""]]),r.locals&&(t.exports=r.locals);var o=n(9548).A;o("06a4931c",r,!0,{sourceMap:!1,shadowMode:!1})},7579:function(t,e,n){var r=n(3556);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.id,r,""]]),r.locals&&(t.exports=r.locals);var o=n(9548).A;o("cf64bc08",r,!0,{sourceMap:!1,shadowMode:!1})},6997:function(t,e,n){var r=n(8274);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.id,r,""]]),r.locals&&(t.exports=r.locals);var o=n(9548).A;o("89bd7bdc",r,!0,{sourceMap:!1,shadowMode:!1})},5681:function(t,e,n){var r=n(7058);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.id,r,""]]),r.locals&&(t.exports=r.locals);var o=n(9548).A;o("6b9089ed",r,!0,{sourceMap:!1,shadowMode:!1})},8018:function(t,e,n){var r=n(4043);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.id,r,""]]),r.locals&&(t.exports=r.locals);var o=n(9548).A;o("73f664ec",r,!0,{sourceMap:!1,shadowMode:!1})},1184:function(t,e,n){var r=n(1757);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.id,r,""]]),r.locals&&(t.exports=r.locals);var o=n(9548).A;o("dc4607fc",r,!0,{sourceMap:!1,shadowMode:!1})},6365:function(t,e,n){var r=n(432);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.id,r,""]]),r.locals&&(t.exports=r.locals);var o=n(9548).A;o("789ee20e",r,!0,{sourceMap:!1,shadowMode:!1})},5626:function(t,e,n){var r=n(6981);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.id,r,""]]),r.locals&&(t.exports=r.locals);var o=n(9548).A;o("5b1b57bc",r,!0,{sourceMap:!1,shadowMode:!1})},3840:function(t,e,n){var r=n(9367);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.id,r,""]]),r.locals&&(t.exports=r.locals);var o=n(9548).A;o("066c9986",r,!0,{sourceMap:!1,shadowMode:!1})},4951:function(t,e,n){var r=n(472);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.id,r,""]]),r.locals&&(t.exports=r.locals);var o=n(9548).A;o("042aa97c",r,!0,{sourceMap:!1,shadowMode:!1})},1422:function(t,e,n){var r=n(5063);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.id,r,""]]),r.locals&&(t.exports=r.locals);var o=n(9548).A;o("7d416fba",r,!0,{sourceMap:!1,shadowMode:!1})},9548:function(t,e,n){"use strict";function r(t,e){for(var n=[],r={},o=0;o<e.length;o++){var i=e[o],a=i[0],s=i[1],l=i[2],d=i[3],c={id:t+":"+o,css:s,media:l,sourceMap:d};r[a]?r[a].parts.push(c):n.push(r[a]={id:a,parts:[c]})}return n}n.d(e,{A:function(){return m}});var o="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!o)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var i={},a=o&&(document.head||document.getElementsByTagName("head")[0]),s=null,l=0,d=!1,c=function(){},u=null,p="data-vue-ssr-id",h="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function m(t,e,n,o){d=n,u=o||{};var a=r(t,e);return f(a),function(e){for(var n=[],o=0;o<a.length;o++){var s=a[o],l=i[s.id];l.refs--,n.push(l)}e?(a=r(t,e),f(a)):a=[];for(o=0;o<n.length;o++){l=n[o];if(0===l.refs){for(var d=0;d<l.parts.length;d++)l.parts[d]();delete i[l.id]}}}}function f(t){for(var e=0;e<t.length;e++){var n=t[e],r=i[n.id];if(r){r.refs++;for(var o=0;o<r.parts.length;o++)r.parts[o](n.parts[o]);for(;o<n.parts.length;o++)r.parts.push(v(n.parts[o]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var a=[];for(o=0;o<n.parts.length;o++)a.push(v(n.parts[o]));i[n.id]={id:n.id,refs:1,parts:a}}}}function g(){var t=document.createElement("style");return t.type="text/css",a.appendChild(t),t}function v(t){var e,n,r=document.querySelector("style["+p+'~="'+t.id+'"]');if(r){if(d)return c;r.parentNode.removeChild(r)}if(h){var o=l++;r=s||(s=g()),e=y.bind(null,r,o,!1),n=y.bind(null,r,o,!0)}else r=g(),e=w.bind(null,r),n=function(){r.parentNode.removeChild(r)};return e(t),function(r){if(r){if(r.css===t.css&&r.media===t.media&&r.sourceMap===t.sourceMap)return;e(t=r)}else n()}}var b=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}();function y(t,e,n,r){var o=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=b(e,o);else{var i=document.createTextNode(o),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(i,a[e]):t.appendChild(i)}}function w(t,e){var n=e.css,r=e.media,o=e.sourceMap;if(r&&t.setAttribute("media",r),u.ssrId&&t.setAttribute(p,e.id),o&&(n+="\n/*# sourceURL="+o.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}},4894:function(t,e,n){"use strict";t.exports=n.p+"fonts/Audiowide-Regular.ttf"},4661:function(t,e,n){"use strict";t.exports=n.p+"fonts/Seguiemj.ttf"},9306:function(t,e,n){"use strict";var r=n(4901),o=n(6823),i=TypeError;t.exports=function(t){if(r(t))return t;throw new i(o(t)+" is not a function")}},7080:function(t,e,n){"use strict";var r=n(4402).has;t.exports=function(t){return r(t),t}},6469:function(t,e,n){"use strict";var r=n(8227),o=n(2360),i=n(4913).f,a=r("unscopables"),s=Array.prototype;void 0===s[a]&&i(s,a,{configurable:!0,value:o(null)}),t.exports=function(t){s[a][t]=!0}},679:function(t,e,n){"use strict";var r=n(1625),o=TypeError;t.exports=function(t,e){if(r(e,t))return t;throw new o("Incorrect invocation")}},8551:function(t,e,n){"use strict";var r=n(34),o=String,i=TypeError;t.exports=function(t){if(r(t))return t;throw new i(o(t)+" is not an object")}},9617:function(t,e,n){"use strict";var r=n(5397),o=n(5610),i=n(6198),a=function(t){return function(e,n,a){var s=r(e),l=i(s);if(0===l)return!t&&-1;var d,c=o(a,l);if(t&&n!==n){while(l>c)if(d=s[c++],d!==d)return!0}else for(;l>c;c++)if((t||c in s)&&s[c]===n)return t||c||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},4527:function(t,e,n){"use strict";var r=n(3724),o=n(4376),i=TypeError,a=Object.getOwnPropertyDescriptor,s=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=s?function(t,e){if(o(t)&&!a(t,"length").writable)throw new i("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},7680:function(t,e,n){"use strict";var r=n(9504);t.exports=r([].slice)},6319:function(t,e,n){"use strict";var r=n(8551),o=n(9539);t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(a){o(t,"throw",a)}}},2195:function(t,e,n){"use strict";var r=n(9504),o=r({}.toString),i=r("".slice);t.exports=function(t){return i(o(t),8,-1)}},6955:function(t,e,n){"use strict";var r=n(2140),o=n(4901),i=n(2195),a=n(8227),s=a("toStringTag"),l=Object,d="Arguments"===i(function(){return arguments}()),c=function(t,e){try{return t[e]}catch(n){}};t.exports=r?i:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=c(e=l(t),s))?n:d?i(e):"Object"===(r=i(e))&&o(e.callee)?"Arguments":r}},7740:function(t,e,n){"use strict";var r=n(9297),o=n(5031),i=n(7347),a=n(4913);t.exports=function(t,e,n){for(var s=o(e),l=a.f,d=i.f,c=0;c<s.length;c++){var u=s[c];r(t,u)||n&&r(n,u)||l(t,u,d(e,u))}}},2211:function(t,e,n){"use strict";var r=n(9039);t.exports=!r(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})},2529:function(t){"use strict";t.exports=function(t,e){return{value:t,done:e}}},6699:function(t,e,n){"use strict";var r=n(3724),o=n(4913),i=n(6980);t.exports=r?function(t,e,n){return o.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},6980:function(t){"use strict";t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},4659:function(t,e,n){"use strict";var r=n(3724),o=n(4913),i=n(6980);t.exports=function(t,e,n){r?o.f(t,e,i(0,n)):t[e]=n}},2106:function(t,e,n){"use strict";var r=n(283),o=n(4913);t.exports=function(t,e,n){return n.get&&r(n.get,e,{getter:!0}),n.set&&r(n.set,e,{setter:!0}),o.f(t,e,n)}},6840:function(t,e,n){"use strict";var r=n(4901),o=n(4913),i=n(283),a=n(9433);t.exports=function(t,e,n,s){s||(s={});var l=s.enumerable,d=void 0!==s.name?s.name:e;if(r(n)&&i(n,d,s),s.global)l?t[e]=n:a(e,n);else{try{s.unsafe?t[e]&&(l=!0):delete t[e]}catch(c){}l?t[e]=n:o.f(t,e,{value:n,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return t}},6279:function(t,e,n){"use strict";var r=n(6840);t.exports=function(t,e,n){for(var o in e)r(t,o,e[o],n);return t}},9433:function(t,e,n){"use strict";var r=n(4576),o=Object.defineProperty;t.exports=function(t,e){try{o(r,t,{value:e,configurable:!0,writable:!0})}catch(n){r[t]=e}return e}},3724:function(t,e,n){"use strict";var r=n(9039);t.exports=!r(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},4055:function(t,e,n){"use strict";var r=n(4576),o=n(34),i=r.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},6837:function(t){"use strict";var e=TypeError,n=9007199254740991;t.exports=function(t){if(t>n)throw new e("Maximum allowed index exceeded");return t}},8727:function(t){"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2839:function(t,e,n){"use strict";var r=n(4576),o=r.navigator,i=o&&o.userAgent;t.exports=i?String(i):""},9519:function(t,e,n){"use strict";var r,o,i=n(4576),a=n(2839),s=i.process,l=i.Deno,d=s&&s.versions||l&&l.version,c=d&&d.v8;c&&(r=c.split("."),o=r[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&a&&(r=a.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/),r&&(o=+r[1]))),t.exports=o},6518:function(t,e,n){"use strict";var r=n(4576),o=n(7347).f,i=n(6699),a=n(6840),s=n(9433),l=n(7740),d=n(2796);t.exports=function(t,e){var n,c,u,p,h,m,f=t.target,g=t.global,v=t.stat;if(c=g?r:v?r[f]||s(f,{}):r[f]&&r[f].prototype,c)for(u in e){if(h=e[u],t.dontCallGetSet?(m=o(c,u),p=m&&m.value):p=c[u],n=d(g?u:f+(v?".":"#")+u,t.forced),!n&&void 0!==p){if(typeof h==typeof p)continue;l(h,p)}(t.sham||p&&p.sham)&&i(h,"sham",!0),a(c,u,h,t)}}},9039:function(t){"use strict";t.exports=function(t){try{return!!t()}catch(e){return!0}}},8745:function(t,e,n){"use strict";var r=n(616),o=Function.prototype,i=o.apply,a=o.call;t.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(i):function(){return a.apply(i,arguments)})},6080:function(t,e,n){"use strict";var r=n(7476),o=n(9306),i=n(616),a=r(r.bind);t.exports=function(t,e){return o(t),void 0===e?t:i?a(t,e):function(){return t.apply(e,arguments)}}},616:function(t,e,n){"use strict";var r=n(9039);t.exports=!r(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})},9565:function(t,e,n){"use strict";var r=n(616),o=Function.prototype.call;t.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},350:function(t,e,n){"use strict";var r=n(3724),o=n(9297),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,s=o(i,"name"),l=s&&"something"===function(){}.name,d=s&&(!r||r&&a(i,"name").configurable);t.exports={EXISTS:s,PROPER:l,CONFIGURABLE:d}},6706:function(t,e,n){"use strict";var r=n(9504),o=n(9306);t.exports=function(t,e,n){try{return r(o(Object.getOwnPropertyDescriptor(t,e)[n]))}catch(i){}}},7476:function(t,e,n){"use strict";var r=n(2195),o=n(9504);t.exports=function(t){if("Function"===r(t))return o(t)}},9504:function(t,e,n){"use strict";var r=n(616),o=Function.prototype,i=o.call,a=r&&o.bind.bind(i,i);t.exports=r?a:function(t){return function(){return i.apply(t,arguments)}}},7751:function(t,e,n){"use strict";var r=n(4576),o=n(4901),i=function(t){return o(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?i(r[t]):r[t]&&r[t][e]}},1767:function(t){"use strict";t.exports=function(t){return{iterator:t,next:t.next,done:!1}}},851:function(t,e,n){"use strict";var r=n(6955),o=n(5966),i=n(4117),a=n(6269),s=n(8227),l=s("iterator");t.exports=function(t){if(!i(t))return o(t,l)||o(t,"@@iterator")||a[r(t)]}},81:function(t,e,n){"use strict";var r=n(9565),o=n(9306),i=n(8551),a=n(6823),s=n(851),l=TypeError;t.exports=function(t,e){var n=arguments.length<2?s(t):e;if(o(n))return i(r(n,t));throw new l(a(t)+" is not iterable")}},5966:function(t,e,n){"use strict";var r=n(9306),o=n(4117);t.exports=function(t,e){var n=t[e];return o(n)?void 0:r(n)}},3789:function(t,e,n){"use strict";var r=n(9306),o=n(8551),i=n(9565),a=n(1291),s=n(1767),l="Invalid size",d=RangeError,c=TypeError,u=Math.max,p=function(t,e){this.set=t,this.size=u(e,0),this.has=r(t.has),this.keys=r(t.keys)};p.prototype={getIterator:function(){return s(o(i(this.keys,this.set)))},includes:function(t){return i(this.has,this.set,t)}},t.exports=function(t){o(t);var e=+t.size;if(e!==e)throw new c(l);var n=a(e);if(n<0)throw new d(l);return new p(t,n)}},4576:function(t,e,n){"use strict";var r=function(t){return t&&t.Math===Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()},9297:function(t,e,n){"use strict";var r=n(9504),o=n(8981),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},421:function(t){"use strict";t.exports={}},397:function(t,e,n){"use strict";var r=n(7751);t.exports=r("document","documentElement")},5917:function(t,e,n){"use strict";var r=n(3724),o=n(9039),i=n(4055);t.exports=!r&&!o(function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a})},7055:function(t,e,n){"use strict";var r=n(9504),o=n(9039),i=n(2195),a=Object,s=r("".split);t.exports=o(function(){return!a("z").propertyIsEnumerable(0)})?function(t){return"String"===i(t)?s(t,""):a(t)}:a},3706:function(t,e,n){"use strict";var r=n(9504),o=n(4901),i=n(7629),a=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return a(t)}),t.exports=i.inspectSource},1181:function(t,e,n){"use strict";var r,o,i,a=n(8622),s=n(4576),l=n(34),d=n(6699),c=n(9297),u=n(7629),p=n(6119),h=n(421),m="Object already initialized",f=s.TypeError,g=s.WeakMap,v=function(t){return i(t)?o(t):r(t,{})},b=function(t){return function(e){var n;if(!l(e)||(n=o(e)).type!==t)throw new f("Incompatible receiver, "+t+" required");return n}};if(a||u.state){var y=u.state||(u.state=new g);y.get=y.get,y.has=y.has,y.set=y.set,r=function(t,e){if(y.has(t))throw new f(m);return e.facade=t,y.set(t,e),e},o=function(t){return y.get(t)||{}},i=function(t){return y.has(t)}}else{var w=p("state");h[w]=!0,r=function(t,e){if(c(t,w))throw new f(m);return e.facade=t,d(t,w,e),e},o=function(t){return c(t,w)?t[w]:{}},i=function(t){return c(t,w)}}t.exports={set:r,get:o,has:i,enforce:v,getterFor:b}},4209:function(t,e,n){"use strict";var r=n(8227),o=n(6269),i=r("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||a[i]===t)}},4376:function(t,e,n){"use strict";var r=n(2195);t.exports=Array.isArray||function(t){return"Array"===r(t)}},4901:function(t){"use strict";var e="object"==typeof document&&document.all;t.exports="undefined"==typeof e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(t){return"function"==typeof t}},2796:function(t,e,n){"use strict";var r=n(9039),o=n(4901),i=/#|\.prototype\./,a=function(t,e){var n=l[s(t)];return n===c||n!==d&&(o(e)?r(e):!!e)},s=a.normalize=function(t){return String(t).replace(i,".").toLowerCase()},l=a.data={},d=a.NATIVE="N",c=a.POLYFILL="P";t.exports=a},4117:function(t){"use strict";t.exports=function(t){return null===t||void 0===t}},34:function(t,e,n){"use strict";var r=n(4901);t.exports=function(t){return"object"==typeof t?null!==t:r(t)}},6395:function(t){"use strict";t.exports=!1},5810:function(t,e,n){"use strict";var r=n(34),o=n(1181).get;t.exports=function(t){if(!r(t))return!1;var e=o(t);return!!e&&"RawJSON"===e.type}},757:function(t,e,n){"use strict";var r=n(7751),o=n(4901),i=n(1625),a=n(7040),s=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=r("Symbol");return o(e)&&i(e.prototype,s(t))}},507:function(t,e,n){"use strict";var r=n(9565);t.exports=function(t,e,n){var o,i,a=n?t:t.iterator,s=t.next;while(!(o=r(s,a)).done)if(i=e(o.value),void 0!==i)return i}},2652:function(t,e,n){"use strict";var r=n(6080),o=n(9565),i=n(8551),a=n(6823),s=n(4209),l=n(6198),d=n(1625),c=n(81),u=n(851),p=n(9539),h=TypeError,m=function(t,e){this.stopped=t,this.result=e},f=m.prototype;t.exports=function(t,e,n){var g,v,b,y,w,x,$,C=n&&n.that,k=!(!n||!n.AS_ENTRIES),_=!(!n||!n.IS_RECORD),S=!(!n||!n.IS_ITERATOR),T=!(!n||!n.INTERRUPTED),M=r(e,C),O=function(t){var e=g;return g=void 0,e&&p(e,"normal"),new m(!0,t)},E=function(t){return k?(i(t),T?M(t[0],t[1],O):M(t[0],t[1])):T?M(t,O):M(t)};if(_)g=t.iterator;else if(S)g=t;else{if(v=u(t),!v)throw new h(a(t)+" is not iterable");if(s(v)){for(b=0,y=l(t);y>b;b++)if(w=E(t[b]),w&&d(f,w))return w;return new m(!1)}g=c(t,v)}x=_?t.next:g.next;while(!($=o(x,g)).done){var A=$.value;try{w=E(A)}catch(I){if(!g)throw I;p(g,"throw",I)}if("object"==typeof w&&w&&d(f,w))return w}return new m(!1)}},1385:function(t,e,n){"use strict";var r=n(9539);t.exports=function(t,e,n){for(var o=t.length-1;o>=0;o--)if(void 0!==t[o])try{n=r(t[o].iterator,e,n)}catch(i){e="throw",n=i}if("throw"===e)throw n;return n}},9539:function(t,e,n){"use strict";var r=n(9565),o=n(8551),i=n(5966);t.exports=function(t,e,n){var a,s;o(t);try{if(a=i(t,"return"),!a){if("throw"===e)throw n;return n}a=r(a,t)}catch(l){s=!0,a=l}if("throw"===e)throw n;if(s)throw a;return o(a),n}},9462:function(t,e,n){"use strict";var r=n(9565),o=n(2360),i=n(6699),a=n(6279),s=n(8227),l=n(1181),d=n(5966),c=n(7657).IteratorPrototype,u=n(2529),p=n(9539),h=n(1385),m=s("toStringTag"),f="IteratorHelper",g="WrapForValidIterator",v="normal",b="throw",y=l.set,w=function(t){var e=l.getterFor(t?g:f);return a(o(c),{next:function(){var n=e(this);if(t)return n.nextHandler();if(n.done)return u(void 0,!0);try{var r=n.nextHandler();return n.returnHandlerResult?r:u(r,n.done)}catch(o){throw n.done=!0,o}},return:function(){var n=e(this),o=n.iterator,i=n.done;if(n.done=!0,t){var a=d(o,"return");return a?r(a,o):u(void 0,!0)}if(i)return u(void 0,!0);if(n.inner)try{p(n.inner.iterator,v)}catch(s){return p(o,b,s)}if(n.openIters)try{h(n.openIters,v)}catch(s){if(o)return p(o,b,s);throw s}return o&&p(o,v),u(void 0,!0)}})},x=w(!0),$=w(!1);i($,m,"Iterator Helper"),t.exports=function(t,e,n){var r=function(r,o){o?(o.iterator=r.iterator,o.next=r.next):o=r,o.type=e?g:f,o.returnHandlerResult=!!n,o.nextHandler=t,o.counter=0,o.done=!1,y(this,o)};return r.prototype=e?x:$,r}},684:function(t){"use strict";t.exports=function(t,e){var n="function"==typeof Iterator&&Iterator.prototype[t];if(n)try{n.call({next:null},e).next()}catch(r){return!0}}},4549:function(t,e,n){"use strict";var r=n(4576);t.exports=function(t,e){var n=r.Iterator,o=n&&n.prototype,i=o&&o[t],a=!1;if(i)try{i.call({next:function(){return{done:!0}},return:function(){a=!0}},-1)}catch(s){s instanceof e||(a=!1)}if(!a)return i}},7657:function(t,e,n){"use strict";var r,o,i,a=n(9039),s=n(4901),l=n(34),d=n(2360),c=n(2787),u=n(6840),p=n(8227),h=n(6395),m=p("iterator"),f=!1;[].keys&&(i=[].keys(),"next"in i?(o=c(c(i)),o!==Object.prototype&&(r=o)):f=!0);var g=!l(r)||a(function(){var t={};return r[m].call(t)!==t});g?r={}:h&&(r=d(r)),s(r[m])||u(r,m,function(){return this}),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:f}},6269:function(t){"use strict";t.exports={}},6198:function(t,e,n){"use strict";var r=n(8014);t.exports=function(t){return r(t.length)}},283:function(t,e,n){"use strict";var r=n(9504),o=n(9039),i=n(4901),a=n(9297),s=n(3724),l=n(350).CONFIGURABLE,d=n(3706),c=n(1181),u=c.enforce,p=c.get,h=String,m=Object.defineProperty,f=r("".slice),g=r("".replace),v=r([].join),b=s&&!o(function(){return 8!==m(function(){},"length",{value:8}).length}),y=String(String).split("String"),w=t.exports=function(t,e,n){"Symbol("===f(h(e),0,7)&&(e="["+g(h(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!a(t,"name")||l&&t.name!==e)&&(s?m(t,"name",{value:e,configurable:!0}):t.name=e),b&&n&&a(n,"arity")&&t.length!==n.arity&&m(t,"length",{value:n.arity});try{n&&a(n,"constructor")&&n.constructor?s&&m(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(o){}var r=u(t);return a(r,"source")||(r.source=v(y,"string"==typeof e?e:"")),t};Function.prototype.toString=w(function(){return i(this)&&p(this).source||d(this)},"toString")},741:function(t){"use strict";var e=Math.ceil,n=Math.floor;t.exports=Math.trunc||function(t){var r=+t;return(r>0?n:e)(r)}},7819:function(t,e,n){"use strict";var r=n(9039);t.exports=!r(function(){var t="9007199254740993",e=JSON.rawJSON(t);return!JSON.isRawJSON(e)||JSON.stringify(e)!==t})},2360:function(t,e,n){"use strict";var r,o=n(8551),i=n(6801),a=n(8727),s=n(421),l=n(397),d=n(4055),c=n(6119),u=">",p="<",h="prototype",m="script",f=c("IE_PROTO"),g=function(){},v=function(t){return p+m+u+t+p+"/"+m+u},b=function(t){t.write(v("")),t.close();var e=t.parentWindow.Object;return t=null,e},y=function(){var t,e=d("iframe"),n="java"+m+":";return e.style.display="none",l.appendChild(e),e.src=String(n),t=e.contentWindow.document,t.open(),t.write(v("document.F=Object")),t.close(),t.F},w=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}w="undefined"!=typeof document?document.domain&&r?b(r):y():b(r);var t=a.length;while(t--)delete w[h][a[t]];return w()};s[f]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(g[h]=o(t),n=new g,g[h]=null,n[f]=t):n=w(),void 0===e?n:i.f(n,e)}},6801:function(t,e,n){"use strict";var r=n(3724),o=n(8686),i=n(4913),a=n(8551),s=n(5397),l=n(1072);e.f=r&&!o?Object.defineProperties:function(t,e){a(t);var n,r=s(e),o=l(e),d=o.length,c=0;while(d>c)i.f(t,n=o[c++],r[n]);return t}},4913:function(t,e,n){"use strict";var r=n(3724),o=n(5917),i=n(8686),a=n(8551),s=n(6969),l=TypeError,d=Object.defineProperty,c=Object.getOwnPropertyDescriptor,u="enumerable",p="configurable",h="writable";e.f=r?i?function(t,e,n){if(a(t),e=s(e),a(n),"function"===typeof t&&"prototype"===e&&"value"in n&&h in n&&!n[h]){var r=c(t,e);r&&r[h]&&(t[e]=n.value,n={configurable:p in n?n[p]:r[p],enumerable:u in n?n[u]:r[u],writable:!1})}return d(t,e,n)}:d:function(t,e,n){if(a(t),e=s(e),a(n),o)try{return d(t,e,n)}catch(r){}if("get"in n||"set"in n)throw new l("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},7347:function(t,e,n){"use strict";var r=n(3724),o=n(9565),i=n(8773),a=n(6980),s=n(5397),l=n(6969),d=n(9297),c=n(5917),u=Object.getOwnPropertyDescriptor;e.f=r?u:function(t,e){if(t=s(t),e=l(e),c)try{return u(t,e)}catch(n){}if(d(t,e))return a(!o(i.f,t,e),t[e])}},8480:function(t,e,n){"use strict";var r=n(1828),o=n(8727),i=o.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},3717:function(t,e){"use strict";e.f=Object.getOwnPropertySymbols},2787:function(t,e,n){"use strict";var r=n(9297),o=n(4901),i=n(8981),a=n(6119),s=n(2211),l=a("IE_PROTO"),d=Object,c=d.prototype;t.exports=s?d.getPrototypeOf:function(t){var e=i(t);if(r(e,l))return e[l];var n=e.constructor;return o(n)&&e instanceof n?n.prototype:e instanceof d?c:null}},1625:function(t,e,n){"use strict";var r=n(9504);t.exports=r({}.isPrototypeOf)},1828:function(t,e,n){"use strict";var r=n(9504),o=n(9297),i=n(5397),a=n(9617).indexOf,s=n(421),l=r([].push);t.exports=function(t,e){var n,r=i(t),d=0,c=[];for(n in r)!o(s,n)&&o(r,n)&&l(c,n);while(e.length>d)o(r,n=e[d++])&&(~a(c,n)||l(c,n));return c}},1072:function(t,e,n){"use strict";var r=n(1828),o=n(8727);t.exports=Object.keys||function(t){return r(t,o)}},8773:function(t,e){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);e.f=o?function(t){var e=r(this,t);return!!e&&e.enumerable}:n},4270:function(t,e,n){"use strict";var r=n(9565),o=n(4901),i=n(34),a=TypeError;t.exports=function(t,e){var n,s;if("string"===e&&o(n=t.toString)&&!i(s=r(n,t)))return s;if(o(n=t.valueOf)&&!i(s=r(n,t)))return s;if("string"!==e&&o(n=t.toString)&&!i(s=r(n,t)))return s;throw new a("Can't convert object to primitive value")}},5031:function(t,e,n){"use strict";var r=n(7751),o=n(9504),i=n(8480),a=n(3717),s=n(8551),l=o([].concat);t.exports=r("Reflect","ownKeys")||function(t){var e=i.f(s(t)),n=a.f;return n?l(e,n(t)):e}},8235:function(t,e,n){"use strict";var r=n(9504),o=n(9297),i=SyntaxError,a=parseInt,s=String.fromCharCode,l=r("".charAt),d=r("".slice),c=r(/./.exec),u={'\\"':'"',"\\\\":"\\","\\/":"/","\\b":"\b","\\f":"\f","\\n":"\n","\\r":"\r","\\t":"\t"},p=/^[\da-f]{4}$/i,h=/^[\u0000-\u001F]$/;t.exports=function(t,e){var n=!0,r="";while(e<t.length){var m=l(t,e);if("\\"===m){var f=d(t,e,e+2);if(o(u,f))r+=u[f],e+=2;else{if("\\u"!==f)throw new i('Unknown escape sequence: "'+f+'"');e+=2;var g=d(t,e,e+4);if(!c(p,g))throw new i("Bad Unicode escape at: "+e);r+=s(a(g,16)),e+=4}}else{if('"'===m){n=!1,e++;break}if(c(h,m))throw new i("Bad control character in string literal at: "+e);r+=m,e++}}if(n)throw new i("Unterminated string at: "+e);return{value:r,end:e}}},7750:function(t,e,n){"use strict";var r=n(4117),o=TypeError;t.exports=function(t){if(r(t))throw new o("Can't call method on "+t);return t}},9286:function(t,e,n){"use strict";var r=n(4402),o=n(8469),i=r.Set,a=r.add;t.exports=function(t){var e=new i;return o(t,function(t){a(e,t)}),e}},3440:function(t,e,n){"use strict";var r=n(7080),o=n(4402),i=n(9286),a=n(5170),s=n(3789),l=n(8469),d=n(507),c=o.has,u=o.remove;t.exports=function(t){var e=r(this),n=s(t),o=i(e);return a(o)<=n.size?l(o,function(t){n.includes(t)&&u(o,t)}):d(n.getIterator(),function(t){c(o,t)&&u(o,t)}),o}},4402:function(t,e,n){"use strict";var r=n(9504),o=Set.prototype;t.exports={Set:Set,add:r(o.add),has:r(o.has),remove:r(o["delete"]),proto:o}},8750:function(t,e,n){"use strict";var r=n(7080),o=n(4402),i=n(5170),a=n(3789),s=n(8469),l=n(507),d=o.Set,c=o.add,u=o.has;t.exports=function(t){var e=r(this),n=a(t),o=new d;return i(e)>n.size?l(n.getIterator(),function(t){u(e,t)&&c(o,t)}):s(e,function(t){n.includes(t)&&c(o,t)}),o}},4449:function(t,e,n){"use strict";var r=n(7080),o=n(4402).has,i=n(5170),a=n(3789),s=n(8469),l=n(507),d=n(9539);t.exports=function(t){var e=r(this),n=a(t);if(i(e)<=n.size)return!1!==s(e,function(t){if(n.includes(t))return!1},!0);var c=n.getIterator();return!1!==l(c,function(t){if(o(e,t))return d(c.iterator,"normal",!1)})}},3838:function(t,e,n){"use strict";var r=n(7080),o=n(5170),i=n(8469),a=n(3789);t.exports=function(t){var e=r(this),n=a(t);return!(o(e)>n.size)&&!1!==i(e,function(t){if(!n.includes(t))return!1},!0)}},8527:function(t,e,n){"use strict";var r=n(7080),o=n(4402).has,i=n(5170),a=n(3789),s=n(507),l=n(9539);t.exports=function(t){var e=r(this),n=a(t);if(i(e)<n.size)return!1;var d=n.getIterator();return!1!==s(d,function(t){if(!o(e,t))return l(d.iterator,"normal",!1)})}},8469:function(t,e,n){"use strict";var r=n(9504),o=n(507),i=n(4402),a=i.Set,s=i.proto,l=r(s.forEach),d=r(s.keys),c=d(new a).next;t.exports=function(t,e,n){return n?o({iterator:d(t),next:c},e):l(t,e)}},4916:function(t,e,n){"use strict";var r=n(7751),o=function(t){return{size:t,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}},i=function(t){return{size:t,has:function(){return!0},keys:function(){throw new Error("e")}}};t.exports=function(t,e){var n=r("Set");try{(new n)[t](o(0));try{return(new n)[t](o(-1)),!1}catch(s){if(!e)return!0;try{return(new n)[t](i(-1/0)),!1}catch(l){var a=new n([1,2]);return e(a[t](i(1/0)))}}}catch(l){return!1}}},9835:function(t){"use strict";t.exports=function(t){try{var e=new Set,n={size:0,has:function(){return!0},keys:function(){return Object.defineProperty({},"next",{get:function(){return e.clear(),e.add(4),function(){return{done:!0}}}})}},r=e[t](n);return 1===r.size&&4===r.values().next().value}catch(o){return!1}}},5170:function(t,e,n){"use strict";var r=n(6706),o=n(4402);t.exports=r(o.proto,"size","get")||function(t){return t.size}},3650:function(t,e,n){"use strict";var r=n(7080),o=n(4402),i=n(9286),a=n(3789),s=n(507),l=o.add,d=o.has,c=o.remove;t.exports=function(t){var e=r(this),n=a(t).getIterator(),o=i(e);return s(n,function(t){d(e,t)?c(o,t):l(o,t)}),o}},4204:function(t,e,n){"use strict";var r=n(7080),o=n(4402).add,i=n(9286),a=n(3789),s=n(507);t.exports=function(t){var e=r(this),n=a(t).getIterator(),l=i(e);return s(n,function(t){o(l,t)}),l}},6119:function(t,e,n){"use strict";var r=n(5745),o=n(3392),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},7629:function(t,e,n){"use strict";var r=n(6395),o=n(4576),i=n(9433),a="__core-js_shared__",s=t.exports=o[a]||i(a,{});(s.versions||(s.versions=[])).push({version:"3.49.0",mode:r?"pure":"global",copyright:"© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE",source:"https://github.com/zloirock/core-js"})},5745:function(t,e,n){"use strict";var r=n(7629);t.exports=function(t,e){return r[t]||(r[t]=e||{})}},4495:function(t,e,n){"use strict";var r=n(9519),o=n(9039),i=n(4576),a=i.String;t.exports=!!Object.getOwnPropertySymbols&&!o(function(){var t=Symbol("symbol detection");return!a(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41})},5610:function(t,e,n){"use strict";var r=n(1291),o=Math.max,i=Math.min;t.exports=function(t,e){var n=r(t);return n<0?o(n+e,0):i(n,e)}},5397:function(t,e,n){"use strict";var r=n(7055),o=n(7750);t.exports=function(t){return r(o(t))}},1291:function(t,e,n){"use strict";var r=n(741);t.exports=function(t){var e=+t;return e!==e||0===e?0:r(e)}},8014:function(t,e,n){"use strict";var r=n(1291),o=Math.min;t.exports=function(t){var e=r(t);return e>0?o(e,9007199254740991):0}},8981:function(t,e,n){"use strict";var r=n(7750),o=Object;t.exports=function(t){return o(r(t))}},2777:function(t,e,n){"use strict";var r=n(9565),o=n(34),i=n(757),a=n(5966),s=n(4270),l=n(8227),d=TypeError,c=l("toPrimitive");t.exports=function(t,e){if(!o(t)||i(t))return t;var n,l=a(t,c);if(l){if(void 0===e&&(e="default"),n=r(l,t,e),!o(n)||i(n))return n;throw new d("Can't convert object to primitive value")}return void 0===e&&(e="number"),s(t,e)}},6969:function(t,e,n){"use strict";var r=n(2777),o=n(757);t.exports=function(t){var e=r(t,"string");return o(e)?e:e+""}},2140:function(t,e,n){"use strict";var r=n(8227),o=r("toStringTag"),i={};i[o]="z",t.exports="[object z]"===String(i)},655:function(t,e,n){"use strict";var r=n(6955),o=String;t.exports=function(t){if("Symbol"===r(t))throw new TypeError("Cannot convert a Symbol value to a string");return o(t)}},6823:function(t){"use strict";var e=String;t.exports=function(t){try{return e(t)}catch(n){return"Object"}}},3392:function(t,e,n){"use strict";var r=n(9504),o=0,i=Math.random(),a=r(1.1.toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++o+i,36)}},7040:function(t,e,n){"use strict";var r=n(4495);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8686:function(t,e,n){"use strict";var r=n(3724),o=n(9039);t.exports=r&&o(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},8622:function(t,e,n){"use strict";var r=n(4576),o=n(4901),i=r.WeakMap;t.exports=o(i)&&/native code/.test(String(i))},8227:function(t,e,n){"use strict";var r=n(4576),o=n(5745),i=n(9297),a=n(3392),s=n(4495),l=n(7040),d=r.Symbol,c=o("wks"),u=l?d["for"]||d:d&&d.withoutSetter||a;t.exports=function(t){return i(c,t)||(c[t]=s&&i(d,t)?d[t]:u("Symbol."+t)),c[t]}},4423:function(t,e,n){"use strict";var r=n(6518),o=n(9617).includes,i=n(9039),a=n(6469),s=i(function(){return!Array(1).includes()}),l=i(function(){return[,1].includes(void 0,1)});r({target:"Array",proto:!0,forced:s||l},{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),a("includes")},4114:function(t,e,n){"use strict";var r=n(6518),o=n(8981),i=n(6198),a=n(4527),s=n(6837),l=n(9039),d=l(function(){return 4294967297!==[].push.call({length:4294967296},1)}),c=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}},u=d||!c();r({target:"Array",proto:!0,arity:1,forced:u},{push:function(t){var e=o(this),n=i(e),r=arguments.length;s(n+r);for(var l=0;l<r;l++)e[n]=arguments[l],n++;return a(e,n),n}})},8111:function(t,e,n){"use strict";var r=n(6518),o=n(4576),i=n(679),a=n(8551),s=n(4901),l=n(2787),d=n(2106),c=n(4659),u=n(9039),p=n(9297),h=n(8227),m=n(7657).IteratorPrototype,f=n(3724),g=n(6395),v="constructor",b="Iterator",y=h("toStringTag"),w=TypeError,x=o[b],$=g||!s(x)||x.prototype!==m||!u(function(){x({})}),C=function(){if(i(this,m),l(this)===m)throw new w("Abstract class Iterator not directly constructable")},k=function(t,e){f?d(m,t,{configurable:!0,get:function(){return e},set:function(e){if(a(this),this===m)throw new w("You can't redefine this property");p(this,t)?this[t]=e:c(this,t,e)}}):m[t]=e};p(m,y)||k(y,b),!$&&p(m,v)&&m[v]!==Object||k(v,C),C.prototype=m,r({global:!0,constructor:!0,forced:$},{Iterator:C})},2489:function(t,e,n){"use strict";var r=n(6518),o=n(9565),i=n(9306),a=n(8551),s=n(1767),l=n(9462),d=n(6319),c=n(6395),u=n(9539),p=n(684),h=n(4549),m=!c&&!p("filter",function(){}),f=!c&&!m&&h("filter",TypeError),g=c||m||f,v=l(function(){var t,e,n,r=this.iterator,i=this.predicate,s=this.next;while(1){if(t=a(o(s,r)),e=this.done=!!t.done,e)return;if(n=t.value,d(r,i,[n,this.counter++],!0))return n}});r({target:"Iterator",proto:!0,real:!0,forced:g},{filter:function(t){a(this);try{i(t)}catch(e){u(this,"throw",e)}return f?o(f,this,t):new v(s(this),{predicate:t})}})},116:function(t,e,n){"use strict";var r=n(6518),o=n(9565),i=n(2652),a=n(9306),s=n(8551),l=n(1767),d=n(9539),c=n(4549),u=c("find",TypeError);r({target:"Iterator",proto:!0,real:!0,forced:u},{find:function(t){s(this);try{a(t)}catch(r){d(this,"throw",r)}if(u)return o(u,this,t);var e=l(this),n=0;return i(e,function(e,r){if(t(e,n++))return r(e)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})},7588:function(t,e,n){"use strict";var r=n(6518),o=n(9565),i=n(2652),a=n(9306),s=n(8551),l=n(1767),d=n(9539),c=n(4549),u=c("forEach",TypeError);r({target:"Iterator",proto:!0,real:!0,forced:u},{forEach:function(t){s(this);try{a(t)}catch(r){d(this,"throw",r)}if(u)return o(u,this,t);var e=l(this),n=0;i(e,function(e){t(e,n++)},{IS_RECORD:!0})}})},1701:function(t,e,n){"use strict";var r=n(6518),o=n(9565),i=n(9306),a=n(8551),s=n(1767),l=n(9462),d=n(6319),c=n(9539),u=n(684),p=n(4549),h=n(6395),m=!h&&!u("map",function(){}),f=!h&&!m&&p("map",TypeError),g=h||m||f,v=l(function(){var t=this.iterator,e=a(o(this.next,t)),n=this.done=!!e.done;if(!n)return d(t,this.mapper,[e.value,this.counter++],!0)});r({target:"Iterator",proto:!0,real:!0,forced:g},{map:function(t){a(this);try{i(t)}catch(e){c(this,"throw",e)}return f?o(f,this,t):new v(s(this),{mapper:t})}})},8237:function(t,e,n){"use strict";var r=n(6518),o=n(2652),i=n(9306),a=n(8551),s=n(1767),l=n(9539),d=n(4549),c=n(8745),u=n(9039),p=TypeError,h=u(function(){[].keys().reduce(function(){},void 0)}),m=!h&&d("reduce",p);r({target:"Iterator",proto:!0,real:!0,forced:h||m},{reduce:function(t){a(this);try{i(t)}catch(u){l(this,"throw",u)}var e=arguments.length<2,n=e?void 0:arguments[1];if(m)return c(m,this,e?[t]:[t,n]);var r=s(this),d=0;if(o(r,function(r){e?(e=!1,n=r):n=t(n,r,d),d++},{IS_RECORD:!0}),e)throw new p("Reduce of empty iterator with no initial value");return n}})},3579:function(t,e,n){"use strict";var r=n(6518),o=n(9565),i=n(2652),a=n(9306),s=n(8551),l=n(1767),d=n(9539),c=n(4549),u=c("some",TypeError);r({target:"Iterator",proto:!0,real:!0,forced:u},{some:function(t){s(this);try{a(t)}catch(r){d(this,"throw",r)}if(u)return o(u,this,t);var e=l(this),n=0;return i(e,function(e,r){if(t(e,n++))return r()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},9112:function(t,e,n){"use strict";var r=n(6518),o=n(3724),i=n(4576),a=n(7751),s=n(9504),l=n(9565),d=n(4901),c=n(34),u=n(4376),p=n(9297),h=n(655),m=n(6198),f=n(4659),g=n(9039),v=n(8235),b=n(4495),y=i.JSON,w=i.Number,x=i.SyntaxError,$=y&&y.parse,C=a("Object","keys"),k=Object.getOwnPropertyDescriptor,_=s("".charAt),S=s("".slice),T=s(/./.exec),M=s([].push),O=/^\d$/,E=/^[1-9]$/,A=/^[\d-]$/,I=/^[\t\n\r ]$/,P=0,D=1,R=function(t,e){t=h(t);var n=new B(t,0,""),r=n.parse(),o=r.value,i=n.skip(I,r.end);if(i<t.length)throw new x('Unexpected extra character: "'+_(t,i)+'" after the parsed data at: '+i);return d(e)?L({"":o},"",e,r):o},L=function(t,e,n,r){var o,i,a,s,d,h=t[e],f=r&&h===r.value,g=f&&"string"==typeof r.source?{source:r.source}:{};if(c(h)){var v=u(h),b=f?r.nodes:v?[]:{};if(v)for(o=b.length,a=m(h),s=0;s<a;s++)N(h,s,L(h,""+s,n,s<o?b[s]:void 0));else for(i=C(h),a=m(i),s=0;s<a;s++)d=i[s],N(h,d,L(h,d,n,p(b,d)?b[d]:void 0))}return l(n,t,e,h,g)},N=function(t,e,n){if(o){var r=k(t,e);if(r&&!r.configurable)return}void 0===n?delete t[e]:f(t,e,n)},j=function(t,e,n,r){this.value=t,this.end=e,this.source=n,this.nodes=r},B=function(t,e){this.source=t,this.index=e};B.prototype={fork:function(t){return new B(this.source,t)},parse:function(){var t=this.source,e=this.skip(I,this.index),n=this.fork(e),r=_(t,e);if(T(A,r))return n.number();switch(r){case"{":return n.object();case"[":return n.array();case'"':return n.string();case"t":return n.keyword(!0);case"f":return n.keyword(!1);case"n":return n.keyword(null)}throw new x('Unexpected character: "'+r+'" at: '+e)},node:function(t,e,n,r,o){return new j(e,r,t?null:S(this.source,n,r),o)},object:function(){var t=this.source,e=this.index+1,n=!1,r={},o={},i=!1;while(e<t.length){if(e=this.until(['"',"}"],e),"}"===_(t,e)&&!n){e++,i=!0;break}var a=this.fork(e).string(),s=a.value;e=a.end,e=this.until([":"],e)+1,e=this.skip(I,e),a=this.fork(e).parse(),f(o,s,a),f(r,s,a.value),e=this.until([",","}"],a.end);var l=_(t,e);if(","===l)n=!0,e++;else if("}"===l){e++,i=!0;break}}if(!i)throw new x("Unterminated object at: "+e);return this.node(D,r,this.index,e,o)},array:function(){var t=this.source,e=this.index+1,n=!1,r=[],o=[],i=!1;while(e<t.length){if(e=this.skip(I,e),"]"===_(t,e)&&!n){e++,i=!0;break}var a=this.fork(e).parse();if(M(o,a),M(r,a.value),e=this.until([",","]"],a.end),","===_(t,e))n=!0,e++;else if("]"===_(t,e)){e++,i=!0;break}}if(!i)throw new x("Unterminated array at: "+e);return this.node(D,r,this.index,e,o)},string:function(){var t=this.index,e=v(this.source,this.index+1);return this.node(P,e.value,t,e.end)},number:function(){var t=this.source,e=this.index,n=e;if("-"===_(t,n)&&n++,"0"===_(t,n))n++;else{if(!T(E,_(t,n)))throw new x("Failed to parse number at: "+n);n=this.skip(O,n+1)}if("."===_(t,n)){var r=n+1;if(n=this.skip(O,r),r===n)throw new x("Failed to parse number's fraction at: "+n)}if("e"===_(t,n)||"E"===_(t,n)){n++,"+"!==_(t,n)&&"-"!==_(t,n)||n++;var o=n;if(n=this.skip(O,n),o===n)throw new x("Failed to parse number's exponent value at: "+n)}return this.node(P,w(S(t,e,n)),e,n)},keyword:function(t){var e=""+t,n=this.index,r=n+e.length;if(S(this.source,n,r)!==e)throw new x("Failed to parse value at: "+n);return this.node(P,t,n,r)},skip:function(t,e){for(var n=this.source;e<n.length;e++)if(!T(t,_(n,e)))break;return e},until:function(t,e){e=this.skip(I,e);for(var n=_(this.source,e),r=0;r<t.length;r++)if(t[r]===n)return e;throw new x('Unexpected character: "'+n+'" at: '+e)}};var F=g(function(){var t,e="9007199254740993";return $(e,function(e,n,r){t=r.source}),t!==e}),V=b&&!g(function(){return 1/$("-0 \t")!==-1/0});r({target:"JSON",stat:!0,forced:F},{parse:function(t,e){return V&&!d(e)?$(t):R(t,e)}})},3110:function(t,e,n){"use strict";var r=n(6518),o=n(7751),i=n(8745),a=n(9565),s=n(9504),l=n(9039),d=n(4376),c=n(4901),u=n(5810),p=n(757),h=n(2195),m=n(655),f=n(7680),g=n(8235),v=n(3392),b=n(4495),y=n(7819),w=String,x=o("JSON","stringify"),$=s(/./.exec),C=s("".charAt),k=s("".charCodeAt),_=s("".replace),S=s("".slice),T=s([].push),M=s(1.1.toString),O=/[\uD800-\uDFFF]/g,E=/^[\uD800-\uDBFF]$/,A=/^[\uDC00-\uDFFF]$/,I=v(),P=I.length,D=!b||l(function(){var t=o("Symbol")("stringify detection");return"[null]"!==x([t])||"{}"!==x({a:t})||"{}"!==x(Object(t))}),R=l(function(){return'"\\udf06\\ud834"'!==x("\udf06\ud834")||'"\\udead"'!==x("\udead")}),L=D?function(t,e){var n=f(arguments),r=j(e);if(c(r)||void 0!==t&&!p(t))return n[1]=function(t,e){if(c(r)&&(e=a(r,this,w(t),e)),!p(e))return e},i(x,null,n)}:x,N=function(t,e,n){var r=C(n,e-1),o=C(n,e+1);return $(E,t)&&!$(A,o)||$(A,t)&&!$(E,r)?"\\u"+M(k(t,0),16):t},j=function(t){if(c(t))return t;if(d(t)){for(var e=t.length,n=[],r=0;r<e;r++){var o=t[r];"string"==typeof o?T(n,o):"number"!=typeof o&&"Number"!==h(o)&&"String"!==h(o)||T(n,m(o))}var i=n.length,a=!0;return function(t,e){if(a)return a=!1,e;if(d(this))return e;for(var r=0;r<i;r++)if(n[r]===t)return e}}};x&&r({target:"JSON",stat:!0,arity:3,forced:D||R||!y},{stringify:function(t,e,n){var r=j(e),o=[],i=L(t,function(t,e){var n=c(r)?a(r,this,w(t),e):e;return!y&&u(n)?I+(T(o,n.rawJSON)-1):n},n);if("string"!=typeof i)return i;if(R&&(i=_(i,O,N)),y)return i;for(var s="",l=i.length,d=0;d<l;d++){var p=C(i,d);if('"'===p){var h=g(i,++d).end-1,m=S(i,d,h);s+=S(m,0,P)===I?o[S(m,P)]:'"'+m+'"',d=h}else s+=p}return s}})},7642:function(t,e,n){"use strict";var r=n(6518),o=n(3440),i=n(9039),a=n(4916),s=!a("difference",function(t){return 0===t.size}),l=s||i(function(){var t={size:1,has:function(){return!0},keys:function(){var t=0;return{next:function(){var n=t++>1;return e.has(1)&&e.clear(),{done:n,value:2}}}}},e=new Set([1,2,3,4]);return 3!==e.difference(t).size});r({target:"Set",proto:!0,real:!0,forced:l},{difference:o})},8004:function(t,e,n){"use strict";var r=n(6518),o=n(9039),i=n(8750),a=n(4916),s=!a("intersection",function(t){return 2===t.size&&t.has(1)&&t.has(2)})||o(function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))});r({target:"Set",proto:!0,real:!0,forced:s},{intersection:i})},3853:function(t,e,n){"use strict";var r=n(6518),o=n(4449),i=n(4916),a=!i("isDisjointFrom",function(t){return!t});r({target:"Set",proto:!0,real:!0,forced:a},{isDisjointFrom:o})},5876:function(t,e,n){"use strict";var r=n(6518),o=n(3838),i=n(4916),a=!i("isSubsetOf",function(t){return t});r({target:"Set",proto:!0,real:!0,forced:a},{isSubsetOf:o})},2475:function(t,e,n){"use strict";var r=n(6518),o=n(8527),i=n(4916),a=!i("isSupersetOf",function(t){return!t});r({target:"Set",proto:!0,real:!0,forced:a},{isSupersetOf:o})},5024:function(t,e,n){"use strict";var r=n(6518),o=n(3650),i=n(9835),a=n(4916),s=!a("symmetricDifference")||!i("symmetricDifference");r({target:"Set",proto:!0,real:!0,forced:s},{symmetricDifference:o})},1698:function(t,e,n){"use strict";var r=n(6518),o=n(4204),i=n(9835),a=n(4916),s=!a("union")||!i("union");r({target:"Set",proto:!0,real:!0,forced:s},{union:o})},7035:function(t,e){"use strict";const{parse:n,stringify:r}=JSON,{keys:o}=Object,i=String,a="string",s={},l="object",d=(t,e)=>e,c=t=>t instanceof i?i(t):t,u=(t,e)=>typeof e===a?new i(e):e,p=(t,e,n,r)=>a=>{for(let d=o(a),{length:c}=d,u=0;u<c;u++){const o=d[u],c=a[o];if(c instanceof i){const i=t[+c];typeof i!==l||n.has(i)?a[o]=r.call(a,o,i):(n.add(i),a[o]=s,e.push({o:a,k:o,r:i}))}else a[o]!==s&&(a[o]=r.call(a,o,c))}return a},h=(t,e,n)=>{const r=i(e.push(n)-1);return t.set(n,r),r},m=(t,e)=>{const r=n(t,u).map(c),o=e||d;let i=r[0];if(typeof i===l&&i){const t=[],e=p(r,t,new Set,o);i=e(i);let n=0;while(n<t.length){const{o:r,k:i,r:a}=t[n++];r[i]=o.call(r,i,e(a))}}return o.call({"":i},"",i)};e.parse=m;const f=(t,e,n)=>{const o=e&&typeof e===l?(t,n)=>""===t||-1<e.indexOf(t)?n:void 0:e||d,i=new Map,s=[],c=[];let u=+h(i,s,o.call({"":t},"",t)),p=!u;while(u<s.length)p=!0,c[u]=r(s[u++],m,n);return"["+c.join(",")+"]";function m(t,e){if(p)return p=!p,e;const n=o.call(this,t,e);switch(typeof n){case l:if(null===n)return n;case a:return i.get(n)||h(i,s,n)}return n}};e.stringify=f;const g=t=>n(f(t));e.toJSON=g;const v=t=>m(r(t));e.fromJSON=v}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var i=e[r]={id:r,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.exports}n.m=t,function(){n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,{a:e}),e}}(),function(){n.d=function(t,e){for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})}}(),function(){n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"===typeof window)return window}}()}(),function(){n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)}}(),function(){n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}}(),function(){n.dn=function(t){(Object.getOwnPropertyDescriptor(t,"name")||{}).writable||Object.defineProperty(t,"name",{value:"default",configurable:!0})}}(),function(){n.p="http://localhost:5174/"}(),function(){n.b="undefined"!==typeof document&&document.baseURI||self.location.href}();!function(){"use strict";var t={};n.r(t),n.d(t,{balance:function(){return em},checkToken:function(){return Qh},getCalls:function(){return om},integrationCall:function(){return nm},lastVersion:function(){return rm},loadCallHistory:function(){return im},loadExtension:function(){return Kh},loadIntegrations:function(){return Yh},loadOrganization:function(){return Xh},loadUser:function(){return Jh},login:function(){return Wh},logout:function(){return Zh},passwordRecovery:function(){return tm}});var e={};
2
+ /**
3
+ * @vue/shared v3.5.35
4
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
5
+ * @license MIT
6
+ **/
7
+ function r(t){const e=Object.create(null);for(const n of t.split(","))e[n]=1;return t=>t in e}n.r(e),n.d(e,{addContactDialer:function(){return Rm},addCrmContact:function(){return Am},addExtension:function(){return fm},addOrganization:function(){return hm},addPingFailure:function(){return sf},addPingMeasure:function(){return Um},addRecent:function(){return Tm},addToken:function(){return dm},addUser:function(){return um},clearContactDialer:function(){return jm},clearCrmContacts:function(){return Dm},clearExtension:function(){return gm},clearIntegrations:function(){return km},clearLastVersionCheck:function(){return Sm},clearOrganization:function(){return mm},clearPingFailures:function(){return lf},clearPingMeasures:function(){return Hm},clearRecents:function(){return Em},clearToken:function(){return cm},clearUser:function(){return pm},removeContactDialer:function(){return Nm},removeCrmContact:function(){return Pm},removeRecent:function(){return Om},resetDialerMode:function(){return Vm},setCallActive:function(){return qm},setCallDisplay:function(){return ef},setCallDtmf:function(){return nf},setCallHeld:function(){return Qm},setCallIsIncoming:function(){return tf},setCallMuted:function(){return Zm},setCallPhase:function(){return Km},setCallTimer:function(){return Ym},setCurrentTab:function(){return Gm},setDeviceAudioInputId:function(){return $m},setDeviceAudioOutputId:function(){return xm},setDialDisplayNumber:function(){return Jm},setDialNumberValid:function(){return Xm},setDialerMode:function(){return Fm},setHideConnectivityStatusSlowMessage:function(){return zm},setIntegrations:function(){return Cm},setIsLogged:function(){return Bm},setLastVersionCheck:function(){return _m},setNetworkPanelOpen:function(){return of},setNetworkState:function(){return rf},setSuppressNetworkAutoOpen:function(){return af},setVolume:function(){return vm},setVolumeRemote:function(){return wm},setVolumeRinger:function(){return bm},setVolumeTones:function(){return ym},setWebphoneRegistered:function(){return Wm},updateContactDialer:function(){return Lm},updateCrmContact:function(){return Im},updateRecent:function(){return Mm}});const o={},i=[],a=()=>{},s=()=>!1,l=t=>111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),d=t=>t.startsWith("onUpdate:"),c=Object.assign,u=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},p=Object.prototype.hasOwnProperty,h=(t,e)=>p.call(t,e),m=Array.isArray,f=t=>"[object Map]"===k(t),g=t=>"[object Set]"===k(t),v=t=>"[object Date]"===k(t),b=t=>"function"===typeof t,y=t=>"string"===typeof t,w=t=>"symbol"===typeof t,x=t=>null!==t&&"object"===typeof t,$=t=>(x(t)||b(t))&&b(t.then)&&b(t.catch),C=Object.prototype.toString,k=t=>C.call(t),_=t=>k(t).slice(8,-1),S=t=>"[object Object]"===k(t),T=t=>y(t)&&"NaN"!==t&&"-"!==t[0]&&""+parseInt(t,10)===t,M=r(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),O=t=>{const e=Object.create(null);return n=>{const r=e[n];return r||(e[n]=t(n))}},E=/-\w/g,A=O(t=>t.replace(E,t=>t.slice(1).toUpperCase())),I=/\B([A-Z])/g,P=O(t=>t.replace(I,"-$1").toLowerCase()),D=O(t=>t.charAt(0).toUpperCase()+t.slice(1)),R=O(t=>{const e=t?`on${D(t)}`:"";return e}),L=(t,e)=>!Object.is(t,e),N=(t,...e)=>{for(let n=0;n<t.length;n++)t[n](...e)},j=(t,e,n,r=!1)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:r,value:n})},B=t=>{const e=parseFloat(t);return isNaN(e)?t:e},F=t=>{const e=y(t)?Number(t):NaN;return isNaN(e)?t:e};let V;const U=()=>V||(V="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:{});function H(t){if(m(t)){const e={};for(let n=0;n<t.length;n++){const r=t[n],o=y(r)?W(r):H(r);if(o)for(const t in o)e[t]=o[t]}return e}if(y(t)||x(t))return t}const z=/;(?![^(]*\))/g,G=/:([^]+)/,q=/\/\*[^]*?\*\//g;function W(t){const e={};return t.replace(q,"").split(z).forEach(t=>{if(t){const n=t.split(G);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}function J(t){let e="";if(y(t))e=t;else if(m(t))for(let n=0;n<t.length;n++){const r=J(t[n]);r&&(e+=r+" ")}else if(x(t))for(const n in t)t[n]&&(e+=n+" ");return e.trim()}function X(t){if(!t)return null;let{class:e,style:n}=t;return e&&!y(e)&&(t.class=J(e)),n&&(t.style=H(n)),t}const K="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Y=r(K);function Z(t){return!!t||""===t}function Q(t,e){if(t.length!==e.length)return!1;let n=!0;for(let r=0;n&&r<t.length;r++)n=tt(t[r],e[r]);return n}function tt(t,e){if(t===e)return!0;let n=v(t),r=v(e);if(n||r)return!(!n||!r)&&t.getTime()===e.getTime();if(n=w(t),r=w(e),n||r)return t===e;if(n=m(t),r=m(e),n||r)return!(!n||!r)&&Q(t,e);if(n=x(t),r=x(e),n||r){if(!n||!r)return!1;const o=Object.keys(t).length,i=Object.keys(e).length;if(o!==i)return!1;for(const n in t){const r=t.hasOwnProperty(n),o=e.hasOwnProperty(n);if(r&&!o||!r&&o||!tt(t[n],e[n]))return!1}}return String(t)===String(e)}function et(t,e){return t.findIndex(t=>tt(t,e))}const nt=t=>!(!t||!0!==t["__v_isRef"]),rt=t=>y(t)?t:null==t?"":m(t)||x(t)&&(t.toString===C||!b(t.toString))?nt(t)?rt(t.value):JSON.stringify(t,ot,2):String(t),ot=(t,e)=>nt(e)?ot(t,e.value):f(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((t,[e,n],r)=>(t[it(e,r)+" =>"]=n,t),{})}:g(e)?{[`Set(${e.size})`]:[...e.values()].map(t=>it(t))}:w(e)?it(e):!x(e)||m(e)||S(e)?e:String(e),it=(t,e="")=>{var n;return w(t)?`Symbol(${null!=(n=t.description)?n:e})`:t};let at,st;class lt{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&at&&(at.active?(this.parent=at,this.index=(at.scopes||(at.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){let t,e;if(this._isPaused=!0,this.scopes)for(t=0,e=this.scopes.length;t<e;t++)this.scopes[t].pause();for(t=0,e=this.effects.length;t<e;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){let t,e;if(this._isPaused=!1,this.scopes)for(t=0,e=this.scopes.length;t<e;t++)this.scopes[t].resume();for(t=0,e=this.effects.length;t<e;t++)this.effects[t].resume()}}run(t){if(this._active){const e=at;try{return at=this,t()}finally{at=e}}else 0}on(){1===++this._on&&(this.prevScope=at,at=this)}off(){if(this._on>0&&0===--this._on){if(at===this)at=this.prevScope;else{let t=at;while(t){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){let e,n;for(this._active=!1,e=0,n=this.effects.length;e<n;e++)this.effects[e].stop();for(this.effects.length=0,e=0,n=this.cleanups.length;e<n;e++)this.cleanups[e]();if(this.cleanups.length=0,this.scopes){for(e=0,n=this.scopes.length;e<n;e++)this.scopes[e].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const t=this.parent.scopes.pop();t&&t!==this&&(this.parent.scopes[this.index]=t,t.index=this.index)}this.parent=void 0}}}function dt(t){return new lt(t)}function ct(){return at}const ut=new WeakSet;class pt{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,at&&(at.active?at.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){64&this.flags&&(this.flags&=-65,ut.has(this)&&(ut.delete(this),this.trigger()))}notify(){2&this.flags&&!(32&this.flags)||8&this.flags||gt(this)}run(){if(!(1&this.flags))return this.fn();this.flags|=2,Ot(this),yt(this);const t=st,e=_t;st=this,_t=!0;try{return this.fn()}finally{0,wt(this),st=t,_t=e,this.flags&=-3}}stop(){if(1&this.flags){for(let t=this.deps;t;t=t.nextDep)Ct(t);this.deps=this.depsTail=void 0,Ot(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){64&this.flags?ut.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){xt(this)&&this.run()}get dirty(){return xt(this)}}let ht,mt,ft=0;function gt(t,e=!1){if(t.flags|=8,e)return t.next=mt,void(mt=t);t.next=ht,ht=t}function vt(){ft++}function bt(){if(--ft>0)return;if(mt){let t=mt;mt=void 0;while(t){const e=t.next;t.next=void 0,t.flags&=-9,t=e}}let t;while(ht){let n=ht;ht=void 0;while(n){const r=n.next;if(n.next=void 0,n.flags&=-9,1&n.flags)try{n.trigger()}catch(e){t||(t=e)}n=r}}if(t)throw t}function yt(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function wt(t){let e,n=t.depsTail,r=n;while(r){const t=r.prevDep;-1===r.version?(r===n&&(n=t),Ct(r),kt(r)):e=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=t}t.deps=e,t.depsTail=n}function xt(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&($t(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function $t(t){if(4&t.flags&&!(16&t.flags))return;if(t.flags&=-17,t.globalVersion===Et)return;if(t.globalVersion=Et,!t.isSSR&&128&t.flags&&(!t.deps&&!t._dirty||!xt(t)))return;t.flags|=2;const e=t.dep,n=st,r=_t;st=t,_t=!0;try{yt(t);const n=t.fn(t._value);(0===e.version||L(n,t._value))&&(t.flags|=128,t._value=n,e.version++)}catch(o){throw e.version++,o}finally{st=n,_t=r,wt(t),t.flags&=-3}}function Ct(t,e=!1){const{dep:n,prevSub:r,nextSub:o}=t;if(r&&(r.nextSub=o,t.prevSub=void 0),o&&(o.prevSub=r,t.nextSub=void 0),n.subs===t&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let t=n.computed.deps;t;t=t.nextDep)Ct(t,!0)}e||--n.sc||!n.map||n.map.delete(n.key)}function kt(t){const{prevDep:e,nextDep:n}=t;e&&(e.nextDep=n,t.prevDep=void 0),n&&(n.prevDep=e,t.nextDep=void 0)}let _t=!0;const St=[];function Tt(){St.push(_t),_t=!1}function Mt(){const t=St.pop();_t=void 0===t||t}function Ot(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const t=st;st=void 0;try{e()}finally{st=t}}}let Et=0;class At{constructor(t,e){this.sub=t,this.dep=e,this.version=e.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class It{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!st||!_t||st===this.computed)return;let e=this.activeLink;if(void 0===e||e.sub!==st)e=this.activeLink=new At(st,this),st.deps?(e.prevDep=st.depsTail,st.depsTail.nextDep=e,st.depsTail=e):st.deps=st.depsTail=e,Pt(e);else if(-1===e.version&&(e.version=this.version,e.nextDep)){const t=e.nextDep;t.prevDep=e.prevDep,e.prevDep&&(e.prevDep.nextDep=t),e.prevDep=st.depsTail,e.nextDep=void 0,st.depsTail.nextDep=e,st.depsTail=e,st.deps===e&&(st.deps=t)}return e}trigger(t){this.version++,Et++,this.notify(t)}notify(t){vt();try{0;for(let t=this.subs;t;t=t.prevSub)t.sub.notify()&&t.sub.dep.notify()}finally{bt()}}}function Pt(t){if(t.dep.sc++,4&t.sub.flags){const e=t.dep.computed;if(e&&!t.dep.subs){e.flags|=20;for(let t=e.deps;t;t=t.nextDep)Pt(t)}const n=t.dep.subs;n!==t&&(t.prevSub=n,n&&(n.nextSub=t)),t.dep.subs=t}}const Dt=new WeakMap,Rt=Symbol(""),Lt=Symbol(""),Nt=Symbol("");function jt(t,e,n){if(_t&&st){let e=Dt.get(t);e||Dt.set(t,e=new Map);let r=e.get(n);r||(e.set(n,r=new It),r.map=e,r.key=n),r.track()}}function Bt(t,e,n,r,o,i){const a=Dt.get(t);if(!a)return void Et++;const s=t=>{t&&t.trigger()};if(vt(),"clear"===e)a.forEach(s);else{const o=m(t),i=o&&T(n);if(o&&"length"===n){const t=Number(r);a.forEach((e,n)=>{("length"===n||n===Nt||!w(n)&&n>=t)&&s(e)})}else switch((void 0!==n||a.has(void 0))&&s(a.get(n)),i&&s(a.get(Nt)),e){case"add":o?i&&s(a.get("length")):(s(a.get(Rt)),f(t)&&s(a.get(Lt)));break;case"delete":o||(s(a.get(Rt)),f(t)&&s(a.get(Lt)));break;case"set":f(t)&&s(a.get(Rt));break}}bt()}function Ft(t){const e=Te(t);return e===t?e:(jt(e,"iterate",Nt),_e(t)?e:e.map(Oe))}function Vt(t){return jt(t=Te(t),"iterate",Nt),t}function Ut(t,e){return ke(t)?Ce(t)?Ee(Oe(e)):Ee(e):Oe(e)}const Ht={__proto__:null,[Symbol.iterator](){return zt(this,Symbol.iterator,t=>Ut(this,t))},concat(...t){return Ft(this).concat(...t.map(t=>m(t)?Ft(t):t))},entries(){return zt(this,"entries",t=>(t[1]=Ut(this,t[1]),t))},every(t,e){return qt(this,"every",t,e,void 0,arguments)},filter(t,e){return qt(this,"filter",t,e,t=>t.map(t=>Ut(this,t)),arguments)},find(t,e){return qt(this,"find",t,e,t=>Ut(this,t),arguments)},findIndex(t,e){return qt(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return qt(this,"findLast",t,e,t=>Ut(this,t),arguments)},findLastIndex(t,e){return qt(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return qt(this,"forEach",t,e,void 0,arguments)},includes(...t){return Jt(this,"includes",t)},indexOf(...t){return Jt(this,"indexOf",t)},join(t){return Ft(this).join(t)},lastIndexOf(...t){return Jt(this,"lastIndexOf",t)},map(t,e){return qt(this,"map",t,e,void 0,arguments)},pop(){return Xt(this,"pop")},push(...t){return Xt(this,"push",t)},reduce(t,...e){return Wt(this,"reduce",t,e)},reduceRight(t,...e){return Wt(this,"reduceRight",t,e)},shift(){return Xt(this,"shift")},some(t,e){return qt(this,"some",t,e,void 0,arguments)},splice(...t){return Xt(this,"splice",t)},toReversed(){return Ft(this).toReversed()},toSorted(t){return Ft(this).toSorted(t)},toSpliced(...t){return Ft(this).toSpliced(...t)},unshift(...t){return Xt(this,"unshift",t)},values(){return zt(this,"values",t=>Ut(this,t))}};function zt(t,e,n){const r=Vt(t),o=r[e]();return r===t||_e(t)||(o._next=o.next,o.next=()=>{const t=o._next();return t.done||(t.value=n(t.value)),t}),o}const Gt=Array.prototype;function qt(t,e,n,r,o,i){const a=Vt(t),s=a!==t&&!_e(t),l=a[e];if(l!==Gt[e]){const e=l.apply(t,i);return s?Oe(e):e}let d=n;a!==t&&(s?d=function(e,r){return n.call(this,Ut(t,e),r,t)}:n.length>2&&(d=function(e,r){return n.call(this,e,r,t)}));const c=l.call(a,d,r);return s&&o?o(c):c}function Wt(t,e,n,r){const o=Vt(t),i=o!==t&&!_e(t);let a=n,s=!1;o!==t&&(i?(s=0===r.length,a=function(e,r,o){return s&&(s=!1,e=Ut(t,e)),n.call(this,e,Ut(t,r),o,t)}):n.length>3&&(a=function(e,r,o){return n.call(this,e,r,o,t)}));const l=o[e](a,...r);return s?Ut(t,l):l}function Jt(t,e,n){const r=Te(t);jt(r,"iterate",Nt);const o=r[e](...n);return-1!==o&&!1!==o||!Se(n[0])?o:(n[0]=Te(n[0]),r[e](...n))}function Xt(t,e,n=[]){Tt(),vt();const r=Te(t)[e].apply(t,n);return bt(),Mt(),r}const Kt=r("__proto__,__v_isRef,__isVue"),Yt=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>"arguments"!==t&&"caller"!==t).map(t=>Symbol[t]).filter(w));function Zt(t){w(t)||(t=String(t));const e=Te(this);return jt(e,"has",t),e.hasOwnProperty(t)}class Qt{constructor(t=!1,e=!1){this._isReadonly=t,this._isShallow=e}get(t,e,n){if("__v_skip"===e)return t["__v_skip"];const r=this._isReadonly,o=this._isShallow;if("__v_isReactive"===e)return!r;if("__v_isReadonly"===e)return r;if("__v_isShallow"===e)return o;if("__v_raw"===e)return n===(r?o?ve:ge:o?fe:me).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const i=m(t);if(!r){let t;if(i&&(t=Ht[e]))return t;if("hasOwnProperty"===e)return Zt}const a=Reflect.get(t,e,Ae(t)?t:n);if(w(e)?Yt.has(e):Kt(e))return a;if(r||jt(t,"get",e),o)return a;if(Ae(a)){const t=i&&T(e)?a:a.value;return r&&x(t)?xe(t):t}return x(a)?r?xe(a):ye(a):a}}class te extends Qt{constructor(t=!1){super(!1,t)}set(t,e,n,r){let o=t[e];const i=m(t)&&T(e);if(!this._isShallow){const t=ke(o);if(_e(n)||ke(n)||(o=Te(o),n=Te(n)),!i&&Ae(o)&&!Ae(n))return t||(o.value=n),!0}const a=i?Number(e)<t.length:h(t,e),s=Reflect.set(t,e,n,Ae(t)?t:r);return t===Te(r)&&(a?L(n,o)&&Bt(t,"set",e,n,o):Bt(t,"add",e,n)),s}deleteProperty(t,e){const n=h(t,e),r=t[e],o=Reflect.deleteProperty(t,e);return o&&n&&Bt(t,"delete",e,void 0,r),o}has(t,e){const n=Reflect.has(t,e);return w(e)&&Yt.has(e)||jt(t,"has",e),n}ownKeys(t){return jt(t,"iterate",m(t)?"length":Rt),Reflect.ownKeys(t)}}class ee extends Qt{constructor(t=!1){super(!0,t)}set(t,e){return!0}deleteProperty(t,e){return!0}}const ne=new te,re=new ee,oe=new te(!0),ie=t=>t,ae=t=>Reflect.getPrototypeOf(t);function se(t,e,n){return function(...r){const o=this["__v_raw"],i=Te(o),a=f(i),s="entries"===t||t===Symbol.iterator&&a,l="keys"===t&&a,d=o[t](...r),u=n?ie:e?Ee:Oe;return!e&&jt(i,"iterate",l?Lt:Rt),c(Object.create(d),{next(){const{value:t,done:e}=d.next();return e?{value:t,done:e}:{value:s?[u(t[0]),u(t[1])]:u(t),done:e}}})}}function le(t){return function(...e){return"delete"!==t&&("clear"===t?void 0:this)}}function de(t,e){const n={get(n){const r=this["__v_raw"],o=Te(r),i=Te(n);t||(L(n,i)&&jt(o,"get",n),jt(o,"get",i));const{has:a}=ae(o),s=e?ie:t?Ee:Oe;return a.call(o,n)?s(r.get(n)):a.call(o,i)?s(r.get(i)):void(r!==o&&r.get(n))},get size(){const e=this["__v_raw"];return!t&&jt(Te(e),"iterate",Rt),e.size},has(e){const n=this["__v_raw"],r=Te(n),o=Te(e);return t||(L(e,o)&&jt(r,"has",e),jt(r,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)},forEach(n,r){const o=this,i=o["__v_raw"],a=Te(i),s=e?ie:t?Ee:Oe;return!t&&jt(a,"iterate",Rt),i.forEach((t,e)=>n.call(r,s(t),s(e),o))}};c(n,t?{add:le("add"),set:le("set"),delete:le("delete"),clear:le("clear")}:{add(t){const n=Te(this),r=ae(n),o=Te(t),i=e||_e(t)||ke(t)?t:o,a=r.has.call(n,i)||L(t,i)&&r.has.call(n,t)||L(o,i)&&r.has.call(n,o);return a||(n.add(i),Bt(n,"add",i,i)),this},set(t,n){e||_e(n)||ke(n)||(n=Te(n));const r=Te(this),{has:o,get:i}=ae(r);let a=o.call(r,t);a||(t=Te(t),a=o.call(r,t));const s=i.call(r,t);return r.set(t,n),a?L(n,s)&&Bt(r,"set",t,n,s):Bt(r,"add",t,n),this},delete(t){const e=Te(this),{has:n,get:r}=ae(e);let o=n.call(e,t);o||(t=Te(t),o=n.call(e,t));const i=r?r.call(e,t):void 0,a=e.delete(t);return o&&Bt(e,"delete",t,void 0,i),a},clear(){const t=Te(this),e=0!==t.size,n=void 0,r=t.clear();return e&&Bt(t,"clear",void 0,void 0,n),r}});const r=["keys","values","entries",Symbol.iterator];return r.forEach(r=>{n[r]=se(r,t,e)}),n}function ce(t,e){const n=de(t,e);return(e,r,o)=>"__v_isReactive"===r?!t:"__v_isReadonly"===r?t:"__v_raw"===r?e:Reflect.get(h(n,r)&&r in e?n:e,r,o)}const ue={get:ce(!1,!1)},pe={get:ce(!1,!0)},he={get:ce(!0,!1)};const me=new WeakMap,fe=new WeakMap,ge=new WeakMap,ve=new WeakMap;function be(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ye(t){return ke(t)?t:$e(t,!1,ne,ue,me)}function we(t){return $e(t,!1,oe,pe,fe)}function xe(t){return $e(t,!0,re,he,ge)}function $e(t,e,n,r,o){if(!x(t))return t;if(t["__v_raw"]&&(!e||!t["__v_isReactive"]))return t;if(t["__v_skip"]||!Object.isExtensible(t))return t;const i=o.get(t);if(i)return i;const a=be(_(t));if(0===a)return t;const s=new Proxy(t,2===a?r:n);return o.set(t,s),s}function Ce(t){return ke(t)?Ce(t["__v_raw"]):!(!t||!t["__v_isReactive"])}function ke(t){return!(!t||!t["__v_isReadonly"])}function _e(t){return!(!t||!t["__v_isShallow"])}function Se(t){return!!t&&!!t["__v_raw"]}function Te(t){const e=t&&t["__v_raw"];return e?Te(e):t}function Me(t){return!h(t,"__v_skip")&&Object.isExtensible(t)&&j(t,"__v_skip",!0),t}const Oe=t=>x(t)?ye(t):t,Ee=t=>x(t)?xe(t):t;function Ae(t){return!!t&&!0===t["__v_isRef"]}function Ie(t){return Pe(t,!1)}function Pe(t,e){return Ae(t)?t:new De(t,e)}class De{constructor(t,e){this.dep=new It,this["__v_isRef"]=!0,this["__v_isShallow"]=!1,this._rawValue=e?t:Te(t),this._value=e?t:Oe(t),this["__v_isShallow"]=e}get value(){return this.dep.track(),this._value}set value(t){const e=this._rawValue,n=this["__v_isShallow"]||_e(t)||ke(t);t=n?t:Te(t),L(t,e)&&(this._rawValue=t,this._value=n?t:Oe(t),this.dep.trigger())}}function Re(t){return Ae(t)?t.value:t}const Le={get:(t,e,n)=>"__v_raw"===e?t:Re(Reflect.get(t,e,n)),set:(t,e,n,r)=>{const o=t[e];return Ae(o)&&!Ae(n)?(o.value=n,!0):Reflect.set(t,e,n,r)}};function Ne(t){return Ce(t)?t:new Proxy(t,Le)}class je{constructor(t,e,n){this.fn=t,this.setter=e,this._value=void 0,this.dep=new It(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Et-1,this.next=void 0,this.effect=this,this["__v_isReadonly"]=!e,this.isSSR=n}notify(){if(this.flags|=16,!(8&this.flags||st===this))return gt(this,!0),!0}get value(){const t=this.dep.track();return $t(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Be(t,e,n=!1){let r,o;b(t)?r=t:(r=t.get,o=t.set);const i=new je(r,o,n);return i}const Fe={},Ve=new WeakMap;let Ue;function He(t,e=!1,n=Ue){if(n){let e=Ve.get(n);e||Ve.set(n,e=[]),e.push(t)}else 0}function ze(t,e,n=o){const{immediate:r,deep:i,once:s,scheduler:l,augmentJob:d,call:c}=n,p=t=>i?t:_e(t)||!1===i||0===i?Ge(t,1):Ge(t);let h,f,g,v,y=!1,w=!1;if(Ae(t)?(f=()=>t.value,y=_e(t)):Ce(t)?(f=()=>p(t),y=!0):m(t)?(w=!0,y=t.some(t=>Ce(t)||_e(t)),f=()=>t.map(t=>Ae(t)?t.value:Ce(t)?p(t):b(t)?c?c(t,2):t():void 0)):f=b(t)?e?c?()=>c(t,2):t:()=>{if(g){Tt();try{g()}finally{Mt()}}const e=Ue;Ue=h;try{return c?c(t,3,[v]):t(v)}finally{Ue=e}}:a,e&&i){const t=f,e=!0===i?1/0:i;f=()=>Ge(t(),e)}const x=ct(),$=()=>{h.stop(),x&&x.active&&u(x.effects,h)};if(s&&e){const t=e;e=(...e)=>{t(...e),$()}}let C=w?new Array(t.length).fill(Fe):Fe;const k=t=>{if(1&h.flags&&(h.dirty||t))if(e){const t=h.run();if(i||y||(w?t.some((t,e)=>L(t,C[e])):L(t,C))){g&&g();const n=Ue;Ue=h;try{const n=[t,C===Fe?void 0:w&&C[0]===Fe?[]:C,v];C=t,c?c(e,3,n):e(...n)}finally{Ue=n}}}else h.run()};return d&&d(k),h=new pt(f),h.scheduler=l?()=>l(k,!1):k,v=t=>He(t,!1,h),g=h.onStop=()=>{const t=Ve.get(h);if(t){if(c)c(t,4);else for(const e of t)e();Ve.delete(h)}},e?r?k(!0):C=h.run():l?l(k.bind(null,!0),!0):h.run(),$.pause=h.pause.bind(h),$.resume=h.resume.bind(h),$.stop=$,$}function Ge(t,e=1/0,n){if(e<=0||!x(t)||t["__v_skip"])return t;if(n=n||new Map,(n.get(t)||0)>=e)return t;if(n.set(t,e),e--,Ae(t))Ge(t.value,e,n);else if(m(t))for(let r=0;r<t.length;r++)Ge(t[r],e,n);else if(g(t)||f(t))t.forEach(t=>{Ge(t,e,n)});else if(S(t)){for(const r in t)Ge(t[r],e,n);for(const r of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,r)&&Ge(t[r],e,n)}return t}function qe(t,e,n,r){try{return r?t(...r):t()}catch(o){Je(o,e,n)}}function We(t,e,n,r){if(b(t)){const o=qe(t,e,n,r);return o&&$(o)&&o.catch(t=>{Je(t,e,n)}),o}if(m(t)){const o=[];for(let i=0;i<t.length;i++)o.push(We(t[i],e,n,r));return o}}function Je(t,e,n,r=!0){const i=e?e.vnode:null,{errorHandler:a,throwUnhandledErrorInProduction:s}=e&&e.appContext.config||o;if(e){let r=e.parent;const o=e.proxy,i=`https://vuejs.org/error-reference/#runtime-${n}`;while(r){const e=r.ec;if(e)for(let n=0;n<e.length;n++)if(!1===e[n](t,o,i))return;r=r.parent}if(a)return Tt(),qe(a,null,10,[t,o,i]),void Mt()}Xe(t,n,i,r,s)}function Xe(t,e,n,r=!0,o=!1){if(o)throw t;console.error(t)}const Ke=[];let Ye=-1;const Ze=[];let Qe=null,tn=0;const en=Promise.resolve();let nn=null;function rn(t){const e=nn||en;return t?e.then(this?t.bind(this):t):e}function on(t){let e=Ye+1,n=Ke.length;while(e<n){const r=e+n>>>1,o=Ke[r],i=un(o);i<t||i===t&&2&o.flags?e=r+1:n=r}return e}function an(t){if(!(1&t.flags)){const e=un(t),n=Ke[Ke.length-1];!n||!(2&t.flags)&&e>=un(n)?Ke.push(t):Ke.splice(on(e),0,t),t.flags|=1,sn()}}function sn(){nn||(nn=en.then(pn))}function ln(t){m(t)?Ze.push(...t):Qe&&-1===t.id?Qe.splice(tn+1,0,t):1&t.flags||(Ze.push(t),t.flags|=1),sn()}function dn(t,e,n=Ye+1){for(0;n<Ke.length;n++){const e=Ke[n];if(e&&2&e.flags){if(t&&e.id!==t.uid)continue;0,Ke.splice(n,1),n--,4&e.flags&&(e.flags&=-2),e(),4&e.flags||(e.flags&=-2)}}}function cn(t){if(Ze.length){const t=[...new Set(Ze)].sort((t,e)=>un(t)-un(e));if(Ze.length=0,Qe)return void Qe.push(...t);for(Qe=t,tn=0;tn<Qe.length;tn++){const t=Qe[tn];0,4&t.flags&&(t.flags&=-2),8&t.flags||t(),t.flags&=-2}Qe=null,tn=0}}const un=t=>null==t.id?2&t.flags?-1:1/0:t.id;function pn(t){try{for(Ye=0;Ye<Ke.length;Ye++){const t=Ke[Ye];!t||8&t.flags||(4&t.flags&&(t.flags&=-2),qe(t,t.i,t.i?15:14),4&t.flags||(t.flags&=-2))}}finally{for(;Ye<Ke.length;Ye++){const t=Ke[Ye];t&&(t.flags&=-2)}Ye=-1,Ke.length=0,cn(t),nn=null,(Ke.length||Ze.length)&&pn(t)}}let hn=!1;let mn=null,fn=null;function gn(t){const e=mn;return mn=t,fn=t&&t.type.__scopeId||null,e}function vn(t){fn=t}function bn(){fn=null}const yn=t=>wn;function wn(t,e=mn,n){if(!e)return t;if(t._n)return t;const r=(...n)=>{r._d&&ti(-1);const o=gn(e);let i;try{i=t(...n)}finally{gn(o),r._d&&ti(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function xn(t,e){if(null===mn)return t;const n=Fi(mn),r=t.dirs||(t.dirs=[]);for(let i=0;i<e.length;i++){let[t,a,s,l=o]=e[i];t&&(b(t)&&(t={mounted:t,updated:t}),t.deep&&Ge(a),r.push({dir:t,instance:n,value:a,oldValue:void 0,arg:s,modifiers:l}))}return t}function $n(t,e,n,r){const o=t.dirs,i=e&&e.dirs;for(let a=0;a<o.length;a++){const s=o[a];i&&(s.oldValue=i[a].value);let l=s.dir[r];l&&(Tt(),We(l,n,8,[t.el,s,t,e]),Mt())}}function Cn(t,e){if(ki){let n=ki.provides;const r=ki.parent&&ki.parent.provides;r===n&&(n=ki.provides=Object.create(r)),n[t]=e}}function kn(t,e,n=!1){const r=_i();if(r||Qr){let o=Qr?Qr._context.provides:r?null==r.parent||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(o&&t in o)return o[t];if(arguments.length>1)return n&&b(e)?e.call(r&&r.proxy):e}else 0}const _n=Symbol.for("v-scx"),Sn=()=>{{const t=kn(_n);return t}};function Tn(t,e,n){return Mn(t,e,n)}function Mn(t,e,n=o){const{immediate:r,deep:i,flush:s,once:l}=n;const d=c({},n);const u=e&&r||!e&&"post"!==s;let p;if(Pi)if("sync"===s){const t=Sn();p=t.__watcherHandles||(t.__watcherHandles=[])}else if(!u){const t=()=>{};return t.stop=a,t.resume=a,t.pause=a,t}const h=ki;d.call=(t,e,n)=>We(t,h,e,n);let m=!1;"post"===s?d.scheduler=t=>{Io(t,h&&h.suspense)}:"sync"!==s&&(m=!0,d.scheduler=(t,e)=>{e?t():an(t)}),d.augmentJob=t=>{e&&(t.flags|=4),m&&(t.flags|=2,h&&(t.id=h.uid,t.i=h))};const f=ze(t,e,d);return Pi&&(p?p.push(f):u&&f()),f}function On(t,e,n){const r=this.proxy,o=y(t)?t.includes(".")?En(r,t):()=>r[t]:t.bind(r,r);let i;b(e)?i=e:(i=e.handler,n=e);const a=Mi(this),s=Mn(o,i.bind(r),n);return a(),s}function En(t,e){const n=e.split(".");return()=>{let e=t;for(let t=0;t<n.length&&e;t++)e=e[n[t]];return e}}const An=Symbol("_vte"),In=t=>t.__isTeleport;const Pn=Symbol("_leaveCb"),Dn=Symbol("_enterCb");function Rn(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return dr(()=>{t.isMounted=!0}),pr(()=>{t.isUnmounting=!0}),t}const Ln=[Function,Array],Nn={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ln,onEnter:Ln,onAfterEnter:Ln,onEnterCancelled:Ln,onBeforeLeave:Ln,onLeave:Ln,onAfterLeave:Ln,onLeaveCancelled:Ln,onBeforeAppear:Ln,onAppear:Ln,onAfterAppear:Ln,onAppearCancelled:Ln},jn=t=>{const e=t.subTree;return e.component?jn(e.component):e},Bn={name:"BaseTransition",props:Nn,setup(t,{slots:e}){const n=_i(),r=Rn();return()=>{const o=e.default&&Wn(e.default(),!0),i=o&&o.length?Fn(o):n.subTree?fi():void 0;if(!i)return;const a=Te(t),{mode:s}=a;if(r.isLeaving)return zn(i);const l=Gn(i);if(!l)return zn(i);let d=Hn(l,a,r,n,t=>d=t);l.type!==Wo&&qn(l,d);let c=n.subTree&&Gn(n.subTree);if(c&&c.type!==Wo&&!ii(c,l)&&jn(n).type!==Wo){let t=Hn(c,a,r,n);if(qn(c,t),"out-in"===s&&l.type!==Wo)return r.isLeaving=!0,t.afterLeave=()=>{r.isLeaving=!1,8&n.job.flags||n.update(),delete t.afterLeave,c=void 0},zn(i);"in-out"===s&&l.type!==Wo?t.delayLeave=(t,e,n)=>{const o=Un(r,c);o[String(c.key)]=c,t[Pn]=()=>{e(),t[Pn]=void 0,delete d.delayedLeave,c=void 0},d.delayedLeave=()=>{n(),delete d.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return i}}};function Fn(t){let e=t[0];if(t.length>1){let n=!1;for(const r of t)if(r.type!==Wo){0,e=r,n=!0;break}}return e}const Vn=Bn;function Un(t,e){const{leavingVNodes:n}=t;let r=n.get(e.type);return r||(r=Object.create(null),n.set(e.type,r)),r}function Hn(t,e,n,r,o){const{appear:i,mode:a,persisted:s=!1,onBeforeEnter:l,onEnter:d,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:p,onLeave:h,onAfterLeave:f,onLeaveCancelled:g,onBeforeAppear:v,onAppear:b,onAfterAppear:y,onAppearCancelled:w}=e,x=String(t.key),$=Un(n,t),C=(t,e)=>{t&&We(t,r,9,e)},k=(t,e)=>{const n=e[1];C(t,e),m(t)?t.every(t=>t.length<=1)&&n():t.length<=1&&n()},_={mode:a,persisted:s,beforeEnter(e){let r=l;if(!n.isMounted){if(!i)return;r=v||l}e[Pn]&&e[Pn](!0);const o=$[x];o&&ii(t,o)&&o.el[Pn]&&o.el[Pn](),C(r,[e])},enter(e){if(!hn&&$[x]===t)return;let r=d,o=c,a=u;if(!n.isMounted){if(!i)return;r=b||d,o=y||c,a=w||u}let s=!1;e[Dn]=t=>{s||(s=!0,C(t?a:o,[e]),_.delayedLeave&&_.delayedLeave(),e[Dn]=void 0)};const l=e[Dn].bind(null,!1);r?k(r,[e,l]):l()},leave(e,r){const o=String(t.key);if(e[Dn]&&e[Dn](!0),n.isUnmounting)return r();C(p,[e]);let i=!1;e[Pn]=n=>{i||(i=!0,r(),C(n?g:f,[e]),e[Pn]=void 0,$[o]===t&&delete $[o])};const a=e[Pn].bind(null,!1);$[o]=t,h?k(h,[e,a]):a()},clone(t){const i=Hn(t,e,n,r,o);return o&&o(i),i}};return _}function zn(t){if(er(t))return t=pi(t),t.children=null,t}function Gn(t){if(!er(t))return In(t.type)&&t.children?Fn(t.children):t;if(t.component)return t.component.subTree;const{shapeFlag:e,children:n}=t;if(n){if(16&e)return n[0];if(32&e&&b(n.default))return n.default()}}function qn(t,e){6&t.shapeFlag&&t.component?(t.transition=e,qn(t.component.subTree,e)):128&t.shapeFlag?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function Wn(t,e=!1,n){let r=[],o=0;for(let i=0;i<t.length;i++){let a=t[i];const s=null==n?a.key:String(n)+String(null!=a.key?a.key:i);a.type===Go?(128&a.patchFlag&&o++,r=r.concat(Wn(a.children,e,s))):(e||a.type!==Wo)&&r.push(null!=s?pi(a,{key:s}):a)}if(o>1)for(let i=0;i<r.length;i++)r[i].patchFlag=-2;return r}function Jn(t,e){return b(t)?(()=>c({name:t.name},e,{setup:t}))():t}function Xn(t){t.ids=[t.ids[0]+t.ids[2]+++"-",0,0]}function Kn(t,e){let n;return!(!(n=Object.getOwnPropertyDescriptor(t,e))||n.configurable)}const Yn=new WeakMap;function Zn(t,e,n,r,i=!1){if(m(t))return void t.forEach((t,o)=>Zn(t,e&&(m(e)?e[o]:e),n,r,i));if(tr(r)&&!i)return void(512&r.shapeFlag&&r.type.__asyncResolved&&r.component.subTree.component&&Zn(t,e,n,r.component.subTree));const a=4&r.shapeFlag?Fi(r.component):r.el,l=i?null:a,{i:d,r:c}=t;const p=e&&e.r,f=d.refs===o?d.refs={}:d.refs,g=d.setupState,v=Te(g),w=g===o?s:t=>!Kn(f,t)&&h(v,t),x=(t,e)=>!e||!Kn(f,e);if(null!=p&&p!==c)if(Qn(e),y(p))f[p]=null,w(p)&&(g[p]=null);else if(Ae(p)){const t=e;x(p,t.k)&&(p.value=null),t.k&&(f[t.k]=null)}if(b(c))qe(c,d,12,[l,f]);else{const e=y(c),r=Ae(c);if(e||r){const o=()=>{if(t.f){const n=e?w(c)?g[c]:f[c]:x(c)||!t.k?c.value:f[t.k];if(i)m(n)&&u(n,a);else if(m(n))n.includes(a)||n.push(a);else if(e)f[c]=[a],w(c)&&(g[c]=f[c]);else{const e=[a];x(c,t.k)&&(c.value=e),t.k&&(f[t.k]=e)}}else e?(f[c]=l,w(c)&&(g[c]=l)):r&&(x(c,t.k)&&(c.value=l),t.k&&(f[t.k]=l))};if(l){const e=()=>{o(),Yn.delete(t)};e.id=-1,Yn.set(t,e),Io(e,n)}else Qn(t),o()}else 0}}function Qn(t){const e=Yn.get(t);e&&(e.flags|=8,Yn.delete(t))}U().requestIdleCallback,U().cancelIdleCallback;const tr=t=>!!t.type.__asyncLoader;const er=t=>t.type.__isKeepAlive;function nr(t,e){or(t,"a",e)}function rr(t,e){or(t,"da",e)}function or(t,e,n=ki){const r=t.__wdc||(t.__wdc=()=>{let e=n;while(e){if(e.isDeactivated)return;e=e.parent}return t()});if(ar(e,r,n),n){let t=n.parent;while(t&&t.parent)er(t.parent.vnode)&&ir(r,e,n,t),t=t.parent}}function ir(t,e,n,r){const o=ar(e,t,r,!0);hr(()=>{u(r[e],o)},n)}function ar(t,e,n=ki,r=!1){if(n){const o=n[t]||(n[t]=[]),i=e.__weh||(e.__weh=(...r)=>{Tt();const o=Mi(n),i=We(e,n,t,r);return o(),Mt(),i});return r?o.unshift(i):o.push(i),i}}const sr=t=>(e,n=ki)=>{Pi&&"sp"!==t||ar(t,(...t)=>e(...t),n)},lr=sr("bm"),dr=sr("m"),cr=sr("bu"),ur=sr("u"),pr=sr("bum"),hr=sr("um"),mr=sr("sp"),fr=sr("rtg"),gr=sr("rtc");function vr(t,e=ki){ar("ec",t,e)}const br="components",yr="directives";function wr(t,e){return kr(br,t,!0,e)||t}const xr=Symbol.for("v-ndc");function $r(t){return y(t)?kr(br,t,!1)||t:t||xr}function Cr(t){return kr(yr,t)}function kr(t,e,n=!0,r=!1){const o=mn||ki;if(o){const n=o.type;if(t===br){const t=Vi(n,!1);if(t&&(t===e||t===A(e)||t===D(A(e))))return n}const i=_r(o[t]||n[t],e)||_r(o.appContext[t],e);return!i&&r?n:i}}function _r(t,e){return t&&(t[e]||t[A(e)]||t[D(A(e))])}function Sr(t,e,n,r){let o;const i=n&&n[r],a=m(t);if(a||y(t)){const n=a&&Ce(t);let r=!1,s=!1;n&&(r=!_e(t),s=ke(t),t=Vt(t)),o=new Array(t.length);for(let a=0,l=t.length;a<l;a++)o[a]=e(r?s?Ee(Oe(t[a])):Oe(t[a]):t[a],a,void 0,i&&i[a])}else if("number"===typeof t){o=new Array(t);for(let n=0;n<t;n++)o[n]=e(n+1,n,void 0,i&&i[n])}else if(x(t))if(t[Symbol.iterator])o=Array.from(t,(t,n)=>e(t,n,void 0,i&&i[n]));else{const n=Object.keys(t);o=new Array(n.length);for(let r=0,a=n.length;r<a;r++){const a=n[r];o[r]=e(t[a],a,r,i&&i[r])}}else o=[];return n&&(n[r]=o),o}function Tr(t,e,n={},r,o){if(mn.ce||mn.parent&&tr(mn.parent)&&mn.parent.ce){const t=Object.keys(n).length>0;return"default"!==e&&(n.name=e),Yo(),ri(Go,null,[di("slot",n,r&&r())],t?-2:64)}let i=t[e];i&&i._c&&(i._d=!1),Yo();const a=i&&Mr(i(n)),s=n.key||a&&a.key,l=ri(Go,{key:(s&&!w(s)?s:`_${e}`)+(!a&&r?"_fb":"")},a||(r?r():[]),a&&1===t._?64:-2);return!o&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),i&&i._c&&(i._d=!0),l}function Mr(t){return t.some(t=>!oi(t)||t.type!==Wo&&!(t.type===Go&&!Mr(t.children)))?t:null}function Or(t,e){const n={};for(const r in t)n[e&&/[A-Z]/.test(r)?`on:${r}`:R(r)]=t[r];return n}const Er=t=>t?Ei(t)?Fi(t):Er(t.parent):null,Ar=c(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>Er(t.parent),$root:t=>Er(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>Fr(t),$forceUpdate:t=>t.f||(t.f=()=>{an(t.update)}),$nextTick:t=>t.n||(t.n=rn.bind(t.proxy)),$watch:t=>On.bind(t)}),Ir=(t,e)=>t!==o&&!t.__isScriptSetup&&h(t,e),Pr={get({_:t},e){if("__v_skip"===e)return!0;const{ctx:n,setupState:r,data:i,props:a,accessCache:s,type:l,appContext:d}=t;if("$"!==e[0]){const t=s[e];if(void 0!==t)switch(t){case 1:return r[e];case 2:return i[e];case 4:return n[e];case 3:return a[e]}else{if(Ir(r,e))return s[e]=1,r[e];if(i!==o&&h(i,e))return s[e]=2,i[e];if(h(a,e))return s[e]=3,a[e];if(n!==o&&h(n,e))return s[e]=4,n[e];Rr&&(s[e]=0)}}const c=Ar[e];let u,p;return c?("$attrs"===e&&jt(t.attrs,"get",""),c(t)):(u=l.__cssModules)&&(u=u[e])?u:n!==o&&h(n,e)?(s[e]=4,n[e]):(p=d.config.globalProperties,h(p,e)?p[e]:void 0)},set({_:t},e,n){const{data:r,setupState:i,ctx:a}=t;return Ir(i,e)?(i[e]=n,!0):r!==o&&h(r,e)?(r[e]=n,!0):!h(t.props,e)&&(("$"!==e[0]||!(e.slice(1)in t))&&(a[e]=n,!0))},has({_:{data:t,setupState:e,accessCache:n,ctx:r,appContext:i,props:a,type:s}},l){let d;return!!(n[l]||t!==o&&"$"!==l[0]&&h(t,l)||Ir(e,l)||h(a,l)||h(r,l)||h(Ar,l)||h(i.config.globalProperties,l)||(d=s.__cssModules)&&d[l])},defineProperty(t,e,n){return null!=n.get?t._.accessCache[e]=0:h(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};function Dr(t){return m(t)?t.reduce((t,e)=>(t[e]=null,t),{}):t}let Rr=!0;function Lr(t){const e=Fr(t),n=t.proxy,r=t.ctx;Rr=!1,e.beforeCreate&&jr(e.beforeCreate,t,"bc");const{data:o,computed:i,methods:s,watch:l,provide:d,inject:c,created:u,beforeMount:p,mounted:h,beforeUpdate:f,updated:g,activated:v,deactivated:y,beforeDestroy:w,beforeUnmount:$,destroyed:C,unmounted:k,render:_,renderTracked:S,renderTriggered:T,errorCaptured:M,serverPrefetch:O,expose:E,inheritAttrs:A,components:I,directives:P,filters:D}=e,R=null;if(c&&Nr(c,r,R),s)for(const a in s){const t=s[a];b(t)&&(r[a]=t.bind(n))}if(o){0;const e=o.call(n,n);0,x(e)&&(t.data=ye(e))}if(Rr=!0,i)for(const m in i){const t=i[m],e=b(t)?t.bind(n,n):b(t.get)?t.get.bind(n,n):a;0;const o=!b(t)&&b(t.set)?t.set.bind(n):a,s=Hi({get:e,set:o});Object.defineProperty(r,m,{enumerable:!0,configurable:!0,get:()=>s.value,set:t=>s.value=t})}if(l)for(const a in l)Br(l[a],r,n,a);if(d){const t=b(d)?d.call(n):d;Reflect.ownKeys(t).forEach(e=>{Cn(e,t[e])})}function L(t,e){m(e)?e.forEach(e=>t(e.bind(n))):e&&t(e.bind(n))}if(u&&jr(u,t,"c"),L(lr,p),L(dr,h),L(cr,f),L(ur,g),L(nr,v),L(rr,y),L(vr,M),L(gr,S),L(fr,T),L(pr,$),L(hr,k),L(mr,O),m(E))if(E.length){const e=t.exposed||(t.exposed={});E.forEach(t=>{Object.defineProperty(e,t,{get:()=>n[t],set:e=>n[t]=e,enumerable:!0})})}else t.exposed||(t.exposed={});_&&t.render===a&&(t.render=_),null!=A&&(t.inheritAttrs=A),I&&(t.components=I),P&&(t.directives=P),O&&Xn(t)}function Nr(t,e,n=a){m(t)&&(t=Gr(t));for(const r in t){const n=t[r];let o;o=x(n)?"default"in n?kn(n.from||r,n.default,!0):kn(n.from||r):kn(n),Ae(o)?Object.defineProperty(e,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:t=>o.value=t}):e[r]=o}}function jr(t,e,n){We(m(t)?t.map(t=>t.bind(e.proxy)):t.bind(e.proxy),e,n)}function Br(t,e,n,r){let o=r.includes(".")?En(n,r):()=>n[r];if(y(t)){const n=e[t];b(n)&&Tn(o,n)}else if(b(t))Tn(o,t.bind(n));else if(x(t))if(m(t))t.forEach(t=>Br(t,e,n,r));else{const r=b(t.handler)?t.handler.bind(n):e[t.handler];b(r)&&Tn(o,r,t)}else 0}function Fr(t){const e=t.type,{mixins:n,extends:r}=e,{mixins:o,optionsCache:i,config:{optionMergeStrategies:a}}=t.appContext,s=i.get(e);let l;return s?l=s:o.length||n||r?(l={},o.length&&o.forEach(t=>Vr(l,t,a,!0)),Vr(l,e,a)):l=e,x(e)&&i.set(e,l),l}function Vr(t,e,n,r=!1){const{mixins:o,extends:i}=e;i&&Vr(t,i,n,!0),o&&o.forEach(e=>Vr(t,e,n,!0));for(const a in e)if(r&&"expose"===a);else{const r=Ur[a]||n&&n[a];t[a]=r?r(t[a],e[a]):e[a]}return t}const Ur={data:Hr,props:Jr,emits:Jr,methods:Wr,computed:Wr,beforeCreate:qr,created:qr,beforeMount:qr,mounted:qr,beforeUpdate:qr,updated:qr,beforeDestroy:qr,beforeUnmount:qr,destroyed:qr,unmounted:qr,activated:qr,deactivated:qr,errorCaptured:qr,serverPrefetch:qr,components:Wr,directives:Wr,watch:Xr,provide:Hr,inject:zr};function Hr(t,e){return e?t?function(){return c(b(t)?t.call(this,this):t,b(e)?e.call(this,this):e)}:e:t}function zr(t,e){return Wr(Gr(t),Gr(e))}function Gr(t){if(m(t)){const e={};for(let n=0;n<t.length;n++)e[t[n]]=t[n];return e}return t}function qr(t,e){return t?[...new Set([].concat(t,e))]:e}function Wr(t,e){return t?c(Object.create(null),t,e):e}function Jr(t,e){return t?m(t)&&m(e)?[...new Set([...t,...e])]:c(Object.create(null),Dr(t),Dr(null!=e?e:{})):e}function Xr(t,e){if(!t)return e;if(!e)return t;const n=c(Object.create(null),t);for(const r in e)n[r]=qr(t[r],e[r]);return n}function Kr(){return{app:null,config:{isNativeTag:s,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Yr=0;function Zr(t,e){return function(n,r=null){b(n)||(n=c({},n)),null==r||x(r)||(r=null);const o=Kr(),i=new WeakSet,a=[];let s=!1;const l=o.app={_uid:Yr++,_component:n,_props:r,_container:null,_context:o,_instance:null,version:Gi,get config(){return o.config},set config(t){0},use(t,...e){return i.has(t)||(t&&b(t.install)?(i.add(t),t.install(l,...e)):b(t)&&(i.add(t),t(l,...e))),l},mixin(t){return o.mixins.includes(t)||o.mixins.push(t),l},component(t,e){return e?(o.components[t]=e,l):o.components[t]},directive(t,e){return e?(o.directives[t]=e,l):o.directives[t]},mount(i,a,d){if(!s){0;const c=l._ceVNode||di(n,r);return c.appContext=o,!0===d?d="svg":!1===d&&(d=void 0),a&&e?e(c,i):t(c,i,d),s=!0,l._container=i,i.__vue_app__=l,Fi(c.component)}},onUnmount(t){a.push(t)},unmount(){s&&(We(a,l._instance,16),t(null,l._container),delete l._container.__vue_app__)},provide(t,e){return o.provides[t]=e,l},runWithContext(t){const e=Qr;Qr=l;try{return t()}finally{Qr=e}}};return l}}let Qr=null;const to=(t,e)=>"modelValue"===e||"model-value"===e?t.modelModifiers:t[`${e}Modifiers`]||t[`${A(e)}Modifiers`]||t[`${P(e)}Modifiers`];function eo(t,e,...n){if(t.isUnmounted)return;const r=t.vnode.props||o;let i=n;const a=e.startsWith("update:"),s=a&&to(r,e.slice(7));let l;s&&(s.trim&&(i=n.map(t=>y(t)?t.trim():t)),s.number&&(i=n.map(B)));let d=r[l=R(e)]||r[l=R(A(e))];!d&&a&&(d=r[l=R(P(e))]),d&&We(d,t,6,i);const c=r[l+"Once"];if(c){if(t.emitted){if(t.emitted[l])return}else t.emitted={};t.emitted[l]=!0,We(c,t,6,i)}}const no=new WeakMap;function ro(t,e,n=!1){const r=n?no:e.emitsCache,o=r.get(t);if(void 0!==o)return o;const i=t.emits;let a={},s=!1;if(!b(t)){const r=t=>{const n=ro(t,e,!0);n&&(s=!0,c(a,n))};!n&&e.mixins.length&&e.mixins.forEach(r),t.extends&&r(t.extends),t.mixins&&t.mixins.forEach(r)}return i||s?(m(i)?i.forEach(t=>a[t]=null):c(a,i),x(t)&&r.set(t,a),a):(x(t)&&r.set(t,null),null)}function oo(t,e){return!(!t||!l(e))&&(e=e.slice(2).replace(/Once$/,""),h(t,e[0].toLowerCase()+e.slice(1))||h(t,P(e))||h(t,e))}function io(t){const{type:e,vnode:n,proxy:r,withProxy:o,propsOptions:[i],slots:a,attrs:s,emit:l,render:c,renderCache:u,props:p,data:h,setupState:m,ctx:f,inheritAttrs:g}=t,v=gn(t);let b,y;try{if(4&n.shapeFlag){const t=o||r,e=t;b=gi(c.call(e,t,u,p,m,h,f)),y=s}else{const t=e;0,b=gi(t.length>1?t(p,{attrs:s,slots:a,emit:l}):t(p,null)),y=e.props?s:ao(s)}}catch(x){Xo.length=0,Je(x,t,1),b=di(Wo)}let w=b;if(y&&!1!==g){const t=Object.keys(y),{shapeFlag:e}=w;t.length&&7&e&&(i&&t.some(d)&&(y=so(y,i)),w=pi(w,y,!1,!0))}return n.dirs&&(w=pi(w,null,!1,!0),w.dirs=w.dirs?w.dirs.concat(n.dirs):n.dirs),n.transition&&qn(w,n.transition),b=w,gn(v),b}const ao=t=>{let e;for(const n in t)("class"===n||"style"===n||l(n))&&((e||(e={}))[n]=t[n]);return e},so=(t,e)=>{const n={};for(const r in t)d(r)&&r.slice(9)in e||(n[r]=t[r]);return n};function lo(t,e,n){const{props:r,children:o,component:i}=t,{props:a,children:s,patchFlag:l}=e,d=i.emitsOptions;if(e.dirs||e.transition)return!0;if(!(n&&l>=0))return!(!o&&!s||s&&s.$stable)||r!==a&&(r?!a||co(r,a,d):!!a);if(1024&l)return!0;if(16&l)return r?co(r,a,d):!!a;if(8&l){const t=e.dynamicProps;for(let e=0;e<t.length;e++){const n=t[e];if(uo(a,r,n)&&!oo(d,n))return!0}}return!1}function co(t,e,n){const r=Object.keys(e);if(r.length!==Object.keys(t).length)return!0;for(let o=0;o<r.length;o++){const i=r[o];if(uo(e,t,i)&&!oo(n,i))return!0}return!1}function uo(t,e,n){const r=t[n],o=e[n];return"style"===n&&x(r)&&x(o)?!tt(r,o):r!==o}function po({vnode:t,parent:e,suspense:n},r){while(e){const n=e.subTree;if(n.suspense&&n.suspense.activeBranch===t&&(n.suspense.vnode.el=n.el=r,t=n),n!==t)break;(t=e.vnode).el=r,e=e.parent}n&&n.activeBranch===t&&(n.vnode.el=r)}const ho={},mo=()=>Object.create(ho),fo=t=>Object.getPrototypeOf(t)===ho;function go(t,e,n,r=!1){const o={},i=mo();t.propsDefaults=Object.create(null),bo(t,e,o,i);for(const a in t.propsOptions[0])a in o||(o[a]=void 0);n?t.props=r?o:we(o):t.type.props?t.props=o:t.props=i,t.attrs=i}function vo(t,e,n,r){const{props:o,attrs:i,vnode:{patchFlag:a}}=t,s=Te(o),[l]=t.propsOptions;let d=!1;if(!(r||a>0)||16&a){let r;bo(t,e,o,i)&&(d=!0);for(const i in s)e&&(h(e,i)||(r=P(i))!==i&&h(e,r))||(l?!n||void 0===n[i]&&void 0===n[r]||(o[i]=yo(l,s,i,void 0,t,!0)):delete o[i]);if(i!==s)for(const t in i)e&&h(e,t)||(delete i[t],d=!0)}else if(8&a){const n=t.vnode.dynamicProps;for(let r=0;r<n.length;r++){let a=n[r];if(oo(t.emitsOptions,a))continue;const c=e[a];if(l)if(h(i,a))c!==i[a]&&(i[a]=c,d=!0);else{const e=A(a);o[e]=yo(l,s,e,c,t,!1)}else c!==i[a]&&(i[a]=c,d=!0)}}d&&Bt(t.attrs,"set","")}function bo(t,e,n,r){const[i,a]=t.propsOptions;let s,l=!1;if(e)for(let o in e){if(M(o))continue;const d=e[o];let c;i&&h(i,c=A(o))?a&&a.includes(c)?(s||(s={}))[c]=d:n[c]=d:oo(t.emitsOptions,o)||o in r&&d===r[o]||(r[o]=d,l=!0)}if(a){const e=Te(n),r=s||o;for(let o=0;o<a.length;o++){const s=a[o];n[s]=yo(i,e,s,r[s],t,!h(r,s))}}return l}function yo(t,e,n,r,o,i){const a=t[n];if(null!=a){const t=h(a,"default");if(t&&void 0===r){const t=a.default;if(a.type!==Function&&!a.skipFactory&&b(t)){const{propsDefaults:i}=o;if(n in i)r=i[n];else{const a=Mi(o);r=i[n]=t.call(null,e),a()}}else r=t;o.ce&&o.ce._setProp(n,r)}a[0]&&(i&&!t?r=!1:!a[1]||""!==r&&r!==P(n)||(r=!0))}return r}const wo=new WeakMap;function xo(t,e,n=!1){const r=n?wo:e.propsCache,a=r.get(t);if(a)return a;const s=t.props,l={},d=[];let u=!1;if(!b(t)){const r=t=>{u=!0;const[n,r]=xo(t,e,!0);c(l,n),r&&d.push(...r)};!n&&e.mixins.length&&e.mixins.forEach(r),t.extends&&r(t.extends),t.mixins&&t.mixins.forEach(r)}if(!s&&!u)return x(t)&&r.set(t,i),i;if(m(s))for(let i=0;i<s.length;i++){0;const t=A(s[i]);$o(t)&&(l[t]=o)}else if(s){0;for(const t in s){const e=A(t);if($o(e)){const n=s[t],r=l[e]=m(n)||b(n)?{type:n}:c({},n),o=r.type;let i=!1,a=!0;if(m(o))for(let t=0;t<o.length;++t){const e=o[t],n=b(e)&&e.name;if("Boolean"===n){i=!0;break}"String"===n&&(a=!1)}else i=b(o)&&"Boolean"===o.name;r[0]=i,r[1]=a,(i||h(r,"default"))&&d.push(e)}}}const p=[l,d];return x(t)&&r.set(t,p),p}function $o(t){return"$"!==t[0]&&!M(t)}const Co=t=>"_"===t||"_ctx"===t||"$stable"===t,ko=t=>m(t)?t.map(gi):[gi(t)],_o=(t,e,n)=>{if(e._n)return e;const r=wn((...t)=>ko(e(...t)),n);return r._c=!1,r},So=(t,e,n)=>{const r=t._ctx;for(const o in t){if(Co(o))continue;const n=t[o];if(b(n))e[o]=_o(o,n,r);else if(null!=n){0;const t=ko(n);e[o]=()=>t}}},To=(t,e)=>{const n=ko(e);t.slots.default=()=>n},Mo=(t,e,n)=>{for(const r in e)!n&&Co(r)||(t[r]=e[r])},Oo=(t,e,n)=>{const r=t.slots=mo();if(32&t.vnode.shapeFlag){const t=e._;t?(Mo(r,e,n),n&&j(r,"_",t,!0)):So(e,r)}else e&&To(t,e)},Eo=(t,e,n)=>{const{vnode:r,slots:i}=t;let a=!0,s=o;if(32&r.shapeFlag){const t=e._;t?n&&1===t?a=!1:Mo(i,e,n):(a=!e.$stable,So(e,i)),s=e}else e&&(To(t,e),s={default:1});if(a)for(const o in i)Co(o)||null!=s[o]||delete i[o]};function Ao(){}const Io=zo;function Po(t){return Do(t)}function Do(t,e){Ao();const n=U();n.__VUE__=!0;const{insert:r,remove:s,patchProp:l,createElement:d,createText:c,createComment:u,setText:p,setElementText:h,parentNode:m,nextSibling:f,setScopeId:g=a,insertStaticContent:v}=t,b=(t,e,n,r=null,o=null,i=null,a=void 0,s=null,l=!!e.dynamicChildren)=>{if(t===e)return;t&&!ii(t,e)&&(r=X(t),z(t,o,i,!0),t=null),-2===e.patchFlag&&(l=!1,e.dynamicChildren=null);const{type:d,ref:c,shapeFlag:u}=e;switch(d){case qo:y(t,e,n,r);break;case Wo:w(t,e,n,r);break;case Jo:null==t&&x(e,n,r,a);break;case Go:I(t,e,n,r,o,i,a,s,l);break;default:1&u?k(t,e,n,r,o,i,a,s,l):6&u?P(t,e,n,r,o,i,a,s,l):(64&u||128&u)&&d.process(t,e,n,r,o,i,a,s,l,Z)}null!=c&&o?Zn(c,t&&t.ref,i,e||t,!e):null==c&&t&&null!=t.ref&&Zn(t.ref,null,i,t,!0)},y=(t,e,n,o)=>{if(null==t)r(e.el=c(e.children),n,o);else{const n=e.el=t.el;e.children!==t.children&&p(n,e.children)}},w=(t,e,n,o)=>{null==t?r(e.el=u(e.children||""),n,o):e.el=t.el},x=(t,e,n,r)=>{[t.el,t.anchor]=v(t.children,e,n,r,t.el,t.anchor)},$=({el:t,anchor:e},n,o)=>{let i;while(t&&t!==e)i=f(t),r(t,n,o),t=i;r(e,n,o)},C=({el:t,anchor:e})=>{let n;while(t&&t!==e)n=f(t),s(t),t=n;s(e)},k=(t,e,n,r,o,i,a,s,l)=>{if("svg"===e.type?a="svg":"math"===e.type&&(a="mathml"),null==t)_(e,n,r,o,i,a,s,l);else{const n=t.el&&t.el._isVueCE?t.el:null;try{n&&n._beginPatch(),O(t,e,o,i,a,s,l)}finally{n&&n._endPatch()}}},_=(t,e,n,o,i,a,s,c)=>{let u,p;const{props:m,shapeFlag:f,transition:g,dirs:v}=t;if(u=t.el=d(t.type,a,m&&m.is,m),8&f?h(u,t.children):16&f&&T(t.children,u,null,o,i,Ro(t,a),s,c),v&&$n(t,null,o,"created"),S(u,t,t.scopeId,s,o),m){for(const t in m)"value"===t||M(t)||l(u,t,null,m[t],a,o);"value"in m&&l(u,"value",null,m.value,a),(p=m.onVnodeBeforeMount)&&wi(p,o,t)}v&&$n(t,null,o,"beforeMount");const b=No(i,g);if(b&&g.beforeEnter(u),r(u,e,n),(p=m&&m.onVnodeMounted)||b||v){Io(()=>{try{p&&wi(p,o,t),b&&g.enter(u),v&&$n(t,null,o,"mounted")}finally{0}},i)}},S=(t,e,n,r,o)=>{if(n&&g(t,n),r)for(let i=0;i<r.length;i++)g(t,r[i]);if(o){let n=o.subTree;if(e===n||Ho(n.type)&&(n.ssContent===e||n.ssFallback===e)){const e=o.vnode;S(t,e,e.scopeId,e.slotScopeIds,o.parent)}}},T=(t,e,n,r,o,i,a,s,l=0)=>{for(let d=l;d<t.length;d++){const l=t[d]=s?vi(t[d]):gi(t[d]);b(null,l,e,n,r,o,i,a,s)}},O=(t,e,n,r,i,a,s)=>{const d=e.el=t.el;let{patchFlag:c,dynamicChildren:u,dirs:p}=e;c|=16&t.patchFlag;const m=t.props||o,f=e.props||o;let g;if(n&&Lo(n,!1),(g=f.onVnodeBeforeUpdate)&&wi(g,n,e,t),p&&$n(e,t,n,"beforeUpdate"),n&&Lo(n,!0),(m.innerHTML&&null==f.innerHTML||m.textContent&&null==f.textContent)&&h(d,""),u?E(t.dynamicChildren,u,d,n,r,Ro(e,i),a):s||B(t,e,d,null,n,r,Ro(e,i),a,!1),c>0){if(16&c)A(d,m,f,n,i);else if(2&c&&m.class!==f.class&&l(d,"class",null,f.class,i),4&c&&l(d,"style",m.style,f.style,i),8&c){const t=e.dynamicProps;for(let e=0;e<t.length;e++){const r=t[e],o=m[r],a=f[r];a===o&&"value"!==r||l(d,r,o,a,i,n)}}1&c&&t.children!==e.children&&h(d,e.children)}else s||null!=u||A(d,m,f,n,i);((g=f.onVnodeUpdated)||p)&&Io(()=>{g&&wi(g,n,e,t),p&&$n(e,t,n,"updated")},r)},E=(t,e,n,r,o,i,a)=>{for(let s=0;s<e.length;s++){const l=t[s],d=e[s],c=l.el&&(l.type===Go||!ii(l,d)||198&l.shapeFlag)?m(l.el):n;b(l,d,c,null,r,o,i,a,!0)}},A=(t,e,n,r,i)=>{if(e!==n){if(e!==o)for(const o in e)M(o)||o in n||l(t,o,e[o],null,i,r);for(const o in n){if(M(o))continue;const a=n[o],s=e[o];a!==s&&"value"!==o&&l(t,o,s,a,i,r)}"value"in n&&l(t,"value",e.value,n.value,i)}},I=(t,e,n,o,i,a,s,l,d)=>{const u=e.el=t?t.el:c(""),p=e.anchor=t?t.anchor:c("");let{patchFlag:h,dynamicChildren:m,slotScopeIds:f}=e;f&&(l=l?l.concat(f):f),null==t?(r(u,n,o),r(p,n,o),T(e.children||[],n,p,i,a,s,l,d)):h>0&&64&h&&m&&t.dynamicChildren&&t.dynamicChildren.length===m.length?(E(t.dynamicChildren,m,n,i,a,s,l),(null!=e.key||i&&e===i.subTree)&&jo(t,e,!0)):B(t,e,n,p,i,a,s,l,d)},P=(t,e,n,r,o,i,a,s,l)=>{e.slotScopeIds=s,null==t?512&e.shapeFlag?o.ctx.activate(e,n,r,a,l):D(e,n,r,o,i,a,l):R(t,e,l)},D=(t,e,n,r,o,i,a)=>{const s=t.component=Ci(t,r,o);if(er(t)&&(s.ctx.renderer=Z),Di(s,!1,a),s.asyncDep){if(o&&o.registerDep(s,L,a),!t.el){const r=s.subTree=di(Wo);w(null,r,e,n),t.placeholder=r.el}}else L(s,t,e,n,o,i,a)},R=(t,e,n)=>{const r=e.component=t.component;if(lo(t,e,n)){if(r.asyncDep&&!r.asyncResolved)return void j(r,e,n);r.next=e,r.update()}else e.el=t.el,r.vnode=e},L=(t,e,n,r,o,i,a)=>{const s=()=>{if(t.isMounted){let{next:e,bu:n,u:r,parent:s,vnode:l}=t;{const n=Fo(t);if(n)return e&&(e.el=l.el,j(t,e,a)),void n.asyncDep.then(()=>{Io(()=>{t.isUnmounted||d()},o)})}let c,u=e;0,Lo(t,!1),e?(e.el=l.el,j(t,e,a)):e=l,n&&N(n),(c=e.props&&e.props.onVnodeBeforeUpdate)&&wi(c,s,e,l),Lo(t,!0);const p=io(t);0;const h=t.subTree;t.subTree=p,b(h,p,m(h.el),X(h),t,o,i),e.el=p.el,null===u&&po(t,p.el),r&&Io(r,o),(c=e.props&&e.props.onVnodeUpdated)&&Io(()=>wi(c,s,e,l),o)}else{let a;const{el:s,props:l}=e,{bm:d,m:c,parent:u,root:p,type:h}=t,m=tr(e);if(Lo(t,!1),d&&N(d),!m&&(a=l&&l.onVnodeBeforeMount)&&wi(a,u,e),Lo(t,!0),s&&tt){const e=()=>{t.subTree=io(t),tt(s,t.subTree,t,o,null)};m&&h.__asyncHydrate?h.__asyncHydrate(s,t,e):e()}else{p.ce&&p.ce._hasShadowRoot()&&p.ce._injectChildStyle(h,t.parent?t.parent.type:void 0);const a=t.subTree=io(t);0,b(null,a,n,r,t,o,i),e.el=a.el}if(c&&Io(c,o),!m&&(a=l&&l.onVnodeMounted)){const t=e;Io(()=>wi(a,u,t),o)}(256&e.shapeFlag||u&&tr(u.vnode)&&256&u.vnode.shapeFlag)&&t.a&&Io(t.a,o),t.isMounted=!0,e=n=r=null}};t.scope.on();const l=t.effect=new pt(s);t.scope.off();const d=t.update=l.run.bind(l),c=t.job=l.runIfDirty.bind(l);c.i=t,c.id=t.uid,l.scheduler=()=>an(c),Lo(t,!0),d()},j=(t,e,n)=>{e.component=t;const r=t.vnode.props;t.vnode=e,t.next=null,vo(t,e.props,r,n),Eo(t,e.children,n),Tt(),dn(t),Mt()},B=(t,e,n,r,o,i,a,s,l=!1)=>{const d=t&&t.children,c=t?t.shapeFlag:0,u=e.children,{patchFlag:p,shapeFlag:m}=e;if(p>0){if(128&p)return void V(d,u,n,r,o,i,a,s,l);if(256&p)return void F(d,u,n,r,o,i,a,s,l)}8&m?(16&c&&J(d,o,i),u!==d&&h(n,u)):16&c?16&m?V(d,u,n,r,o,i,a,s,l):J(d,o,i,!0):(8&c&&h(n,""),16&m&&T(u,n,r,o,i,a,s,l))},F=(t,e,n,r,o,a,s,l,d)=>{t=t||i,e=e||i;const c=t.length,u=e.length,p=Math.min(c,u);let h;for(h=0;h<p;h++){const r=e[h]=d?vi(e[h]):gi(e[h]);b(t[h],r,n,null,o,a,s,l,d)}c>u?J(t,o,a,!0,!1,p):T(e,n,r,o,a,s,l,d,p)},V=(t,e,n,r,o,a,s,l,d)=>{let c=0;const u=e.length;let p=t.length-1,h=u-1;while(c<=p&&c<=h){const r=t[c],i=e[c]=d?vi(e[c]):gi(e[c]);if(!ii(r,i))break;b(r,i,n,null,o,a,s,l,d),c++}while(c<=p&&c<=h){const r=t[p],i=e[h]=d?vi(e[h]):gi(e[h]);if(!ii(r,i))break;b(r,i,n,null,o,a,s,l,d),p--,h--}if(c>p){if(c<=h){const t=h+1,i=t<u?e[t].el:r;while(c<=h)b(null,e[c]=d?vi(e[c]):gi(e[c]),n,i,o,a,s,l,d),c++}}else if(c>h)while(c<=p)z(t[c],o,a,!0),c++;else{const m=c,f=c,g=new Map;for(c=f;c<=h;c++){const t=e[c]=d?vi(e[c]):gi(e[c]);null!=t.key&&g.set(t.key,c)}let v,y=0;const w=h-f+1;let x=!1,$=0;const C=new Array(w);for(c=0;c<w;c++)C[c]=0;for(c=m;c<=p;c++){const r=t[c];if(y>=w){z(r,o,a,!0);continue}let i;if(null!=r.key)i=g.get(r.key);else for(v=f;v<=h;v++)if(0===C[v-f]&&ii(r,e[v])){i=v;break}void 0===i?z(r,o,a,!0):(C[i-f]=c+1,i>=$?$=i:x=!0,b(r,e[i],n,null,o,a,s,l,d),y++)}const k=x?Bo(C):i;for(v=k.length-1,c=w-1;c>=0;c--){const t=f+c,i=e[t],p=e[t+1],h=t+1<u?p.el||Uo(p):r;0===C[c]?b(null,i,n,h,o,a,s,l,d):x&&(v<0||c!==k[v]?H(i,n,h,2):v--)}}},H=(t,e,n,o,i=null)=>{const{el:a,type:l,transition:d,children:c,shapeFlag:u}=t;if(6&u)return void H(t.component.subTree,e,n,o);if(128&u)return void t.suspense.move(e,n,o);if(64&u)return void l.move(t,e,n,Z);if(l===Go){r(a,e,n);for(let t=0;t<c.length;t++)H(c[t],e,n,o);return void r(t.anchor,e,n)}if(l===Jo)return void $(t,e,n);const p=2!==o&&1&u&&d;if(p)if(0===o)d.persisted&&!a[Pn]?r(a,e,n):(d.beforeEnter(a),r(a,e,n),Io(()=>d.enter(a),i));else{const{leave:o,delayLeave:i,afterLeave:l}=d,c=()=>{t.ctx.isUnmounted?s(a):r(a,e,n)},u=()=>{const t=a._isLeaving||!!a[Pn];a._isLeaving&&a[Pn](!0),d.persisted&&!t?c():o(a,()=>{c(),l&&l()})};i?i(a,c,u):u()}else r(a,e,n)},z=(t,e,n,r=!1,o=!1)=>{const{type:i,props:a,ref:s,children:l,dynamicChildren:d,shapeFlag:c,patchFlag:u,dirs:p,cacheIndex:h,memo:m}=t;if(-2===u&&(o=!1),null!=s&&(Tt(),Zn(s,null,n,t,!0),Mt()),null!=h&&(e.renderCache[h]=void 0),256&c)return void e.ctx.deactivate(t);const f=1&c&&p,g=!tr(t);let v;if(g&&(v=a&&a.onVnodeBeforeUnmount)&&wi(v,e,t),6&c)W(t.component,n,r);else{if(128&c)return void t.suspense.unmount(n,r);f&&$n(t,null,e,"beforeUnmount"),64&c?t.type.remove(t,e,n,Z,r):d&&!d.hasOnce&&(i!==Go||u>0&&64&u)?J(d,e,n,!1,!0):(i===Go&&384&u||!o&&16&c)&&J(l,e,n),r&&G(t)}const b=null!=m&&null==h;(g&&(v=a&&a.onVnodeUnmounted)||f||b)&&Io(()=>{v&&wi(v,e,t),f&&$n(t,null,e,"unmounted"),b&&(t.el=null)},n)},G=t=>{const{type:e,el:n,anchor:r,transition:o}=t;if(e===Go)return void q(n,r);if(e===Jo)return void C(t);const i=()=>{s(n),o&&!o.persisted&&o.afterLeave&&o.afterLeave()};if(1&t.shapeFlag&&o&&!o.persisted){const{leave:e,delayLeave:r}=o,a=()=>e(n,i);r?r(t.el,i,a):a()}else i()},q=(t,e)=>{let n;while(t!==e)n=f(t),s(t),t=n;s(e)},W=(t,e,n)=>{const{bum:r,scope:o,job:i,subTree:a,um:s,m:l,a:d}=t;Vo(l),Vo(d),r&&N(r),o.stop(),i&&(i.flags|=8,z(a,t,e,n)),s&&Io(s,e),Io(()=>{t.isUnmounted=!0},e)},J=(t,e,n,r=!1,o=!1,i=0)=>{for(let a=i;a<t.length;a++)z(t[a],e,n,r,o)},X=t=>{if(6&t.shapeFlag)return X(t.component.subTree);if(128&t.shapeFlag)return t.suspense.next();const e=f(t.anchor||t.el),n=e&&e[An];return n?f(n):e};let K=!1;const Y=(t,e,n)=>{let r;null==t?e._vnode&&(z(e._vnode,null,null,!0),r=e._vnode.component):b(e._vnode||null,t,e,null,null,null,n),e._vnode=t,K||(K=!0,dn(r),cn(),K=!1)},Z={p:b,um:z,m:H,r:G,mt:D,mc:T,pc:B,pbc:E,n:X,o:t};let Q,tt;return e&&([Q,tt]=e(Z)),{render:Y,hydrate:Q,createApp:Zr(Y,Q)}}function Ro({type:t,props:e},n){return"svg"===n&&"foreignObject"===t||"mathml"===n&&"annotation-xml"===t&&e&&e.encoding&&e.encoding.includes("html")?void 0:n}function Lo({effect:t,job:e},n){n?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function No(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function jo(t,e,n=!1){const r=t.children,o=e.children;if(m(r)&&m(o))for(let i=0;i<r.length;i++){const t=r[i];let e=o[i];1&e.shapeFlag&&!e.dynamicChildren&&((e.patchFlag<=0||32===e.patchFlag)&&(e=o[i]=vi(o[i]),e.el=t.el),n||-2===e.patchFlag||jo(t,e)),e.type===qo&&(-1===e.patchFlag&&(e=o[i]=vi(e)),e.el=t.el),e.type!==Wo||e.el||(e.el=t.el)}}function Bo(t){const e=t.slice(),n=[0];let r,o,i,a,s;const l=t.length;for(r=0;r<l;r++){const l=t[r];if(0!==l){if(o=n[n.length-1],t[o]<l){e[r]=o,n.push(r);continue}i=0,a=n.length-1;while(i<a)s=i+a>>1,t[n[s]]<l?i=s+1:a=s;l<t[n[i]]&&(i>0&&(e[r]=n[i-1]),n[i]=r)}}i=n.length,a=n[i-1];while(i-- >0)n[i]=a,a=e[a];return n}function Fo(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:Fo(e)}function Vo(t){if(t)for(let e=0;e<t.length;e++)t[e].flags|=8}function Uo(t){if(t.placeholder)return t.placeholder;const e=t.component;return e?Uo(e.subTree):null}const Ho=t=>t.__isSuspense;function zo(t,e){e&&e.pendingBranch?m(t)?e.effects.push(...t):e.effects.push(t):ln(t)}const Go=Symbol.for("v-fgt"),qo=Symbol.for("v-txt"),Wo=Symbol.for("v-cmt"),Jo=Symbol.for("v-stc"),Xo=[];let Ko=null;function Yo(t=!1){Xo.push(Ko=t?null:[])}function Zo(){Xo.pop(),Ko=Xo[Xo.length-1]||null}let Qo=1;function ti(t,e=!1){Qo+=t,t<0&&Ko&&e&&(Ko.hasOnce=!0)}function ei(t){return t.dynamicChildren=Qo>0?Ko||i:null,Zo(),Qo>0&&Ko&&Ko.push(t),t}function ni(t,e,n,r,o,i){return ei(li(t,e,n,r,o,i,!0))}function ri(t,e,n,r,o){return ei(di(t,e,n,r,o,!0))}function oi(t){return!!t&&!0===t.__v_isVNode}function ii(t,e){return t.type===e.type&&t.key===e.key}const ai=({key:t})=>null!=t?t:null,si=({ref:t,ref_key:e,ref_for:n})=>("number"===typeof t&&(t=""+t),null!=t?y(t)||Ae(t)||b(t)?{i:mn,r:t,k:e,f:!!n}:t:null);function li(t,e=null,n=null,r=0,o=null,i=(t===Go?0:1),a=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&ai(e),ref:e&&si(e),scopeId:fn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:mn};return s?(bi(l,n),128&i&&t.normalize(l)):n&&(l.shapeFlag|=y(n)?8:16),Qo>0&&!a&&Ko&&(l.patchFlag>0||6&i)&&32!==l.patchFlag&&Ko.push(l),l}const di=ci;function ci(t,e=null,n=null,r=0,o=null,i=!1){if(t&&t!==xr||(t=Wo),oi(t)){const r=pi(t,e,!0);return n&&bi(r,n),Qo>0&&!i&&Ko&&(6&r.shapeFlag?Ko[Ko.indexOf(t)]=r:Ko.push(r)),r.patchFlag=-2,r}if(Ui(t)&&(t=t.__vccOpts),e){e=ui(e);let{class:t,style:n}=e;t&&!y(t)&&(e.class=J(t)),x(n)&&(Se(n)&&!m(n)&&(n=c({},n)),e.style=H(n))}const a=y(t)?1:Ho(t)?128:In(t)?64:x(t)?4:b(t)?2:0;return li(t,e,n,r,o,a,i,!0)}function ui(t){return t?Se(t)||fo(t)?c({},t):t:null}function pi(t,e,n=!1,r=!1){const{props:o,ref:i,patchFlag:a,children:s,transition:l}=t,d=e?yi(o||{},e):o,c={__v_isVNode:!0,__v_skip:!0,type:t.type,props:d,key:d&&ai(d),ref:e&&e.ref?n&&i?m(i)?i.concat(si(e)):[i,si(e)]:si(e):i,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:s,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Go?-1===a?16:16|a:a,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:l,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&pi(t.ssContent),ssFallback:t.ssFallback&&pi(t.ssFallback),placeholder:t.placeholder,el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return l&&r&&qn(c,l.clone(c)),c}function hi(t=" ",e=0){return di(qo,null,t,e)}function mi(t,e){const n=di(Jo,null,t);return n.staticCount=e,n}function fi(t="",e=!1){return e?(Yo(),ri(Wo,null,t)):di(Wo,null,t)}function gi(t){return null==t||"boolean"===typeof t?di(Wo):m(t)?di(Go,null,t.slice()):oi(t)?vi(t):di(qo,null,String(t))}function vi(t){return null===t.el&&-1!==t.patchFlag||t.memo?t:pi(t)}function bi(t,e){let n=0;const{shapeFlag:r}=t;if(null==e)e=null;else if(m(e))n=16;else if("object"===typeof e){if(65&r){const n=e.default;return void(n&&(n._c&&(n._d=!1),bi(t,n()),n._c&&(n._d=!0)))}{n=32;const r=e._;r||fo(e)?3===r&&mn&&(1===mn.slots._?e._=1:(e._=2,t.patchFlag|=1024)):e._ctx=mn}}else b(e)?(e={default:e,_ctx:mn},n=32):(e=String(e),64&r?(n=16,e=[hi(e)]):n=8);t.children=e,t.shapeFlag|=n}function yi(...t){const e={};for(let n=0;n<t.length;n++){const r=t[n];for(const t in r)if("class"===t)e.class!==r.class&&(e.class=J([e.class,r.class]));else if("style"===t)e.style=H([e.style,r.style]);else if(l(t)){const n=e[t],o=r[t];!o||n===o||m(n)&&n.includes(o)?null!=o||null!=n||d(t)||(e[t]=o):e[t]=n?[].concat(n,o):o}else""!==t&&(e[t]=r[t])}return e}function wi(t,e,n,r=null){We(t,e,7,[n,r])}const xi=Kr();let $i=0;function Ci(t,e,n){const r=t.type,i=(e?e.appContext:t.appContext)||xi,a={uid:$i++,vnode:t,type:r,parent:e,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new lt(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(i.provides),ids:e?e.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:xo(r,i),emitsOptions:ro(r,i),emit:null,emitted:null,propsDefaults:o,inheritAttrs:r.inheritAttrs,ctx:o,data:o,props:o,attrs:o,slots:o,refs:o,setupState:o,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return a.ctx={_:a},a.root=e?e.root:a,a.emit=eo.bind(null,a),t.ce&&t.ce(a),a}let ki=null;const _i=()=>ki||mn;let Si,Ti;{const t=U(),e=(e,n)=>{let r;return(r=t[e])||(r=t[e]=[]),r.push(n),t=>{r.length>1?r.forEach(e=>e(t)):r[0](t)}};Si=e("__VUE_INSTANCE_SETTERS__",t=>ki=t),Ti=e("__VUE_SSR_SETTERS__",t=>Pi=t)}const Mi=t=>{const e=ki;return Si(t),t.scope.on(),()=>{t.scope.off(),Si(e)}},Oi=()=>{ki&&ki.scope.off(),Si(null)};function Ei(t){return 4&t.vnode.shapeFlag}let Ai,Ii,Pi=!1;function Di(t,e=!1,n=!1){e&&Ti(e);const{props:r,children:o}=t.vnode,i=Ei(t);go(t,r,i,e),Oo(t,o,n||e);const a=i?Ri(t,e):void 0;return e&&Ti(!1),a}function Ri(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,Pr);const{setup:r}=n;if(r){Tt();const n=t.setupContext=r.length>1?Bi(t):null,o=Mi(t),i=qe(r,t,0,[t.props,n]),a=$(i);if(Mt(),o(),!a&&!t.sp||tr(t)||Xn(t),a){if(i.then(Oi,Oi),e)return i.then(n=>{Li(t,n,e)}).catch(e=>{Je(e,t,0)});t.asyncDep=i}else Li(t,i,e)}else Ni(t,e)}function Li(t,e,n){b(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:x(e)&&(t.setupState=Ne(e)),Ni(t,n)}function Ni(t,e,n){const r=t.type;if(!t.render){if(!e&&Ai&&!r.render){const e=r.template||Fr(t).template;if(e){0;const{isCustomElement:n,compilerOptions:o}=t.appContext.config,{delimiters:i,compilerOptions:a}=r,s=c(c({isCustomElement:n,delimiters:i},o),a);r.render=Ai(e,s)}}t.render=r.render||a,Ii&&Ii(t)}{const e=Mi(t);Tt();try{Lr(t)}finally{Mt(),e()}}}const ji={get(t,e){return jt(t,"get",""),t[e]}};function Bi(t){const e=e=>{t.exposed=e||{}};return{attrs:new Proxy(t.attrs,ji),slots:t.slots,emit:t.emit,expose:e}}function Fi(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(Ne(Me(t.exposed)),{get(e,n){return n in e?e[n]:n in Ar?Ar[n](t):void 0},has(t,e){return e in t||e in Ar}})):t.proxy}function Vi(t,e=!0){return b(t)?t.displayName||t.name:t.name||e&&t.__name}function Ui(t){return b(t)&&"__vccOpts"in t}const Hi=(t,e)=>{const n=Be(t,e,Pi);return n};function zi(t,e,n){try{ti(-1);const r=arguments.length;return 2===r?x(e)&&!m(e)?oi(e)?di(t,null,[e]):di(t,e):di(t,null,e):(r>3?n=Array.prototype.slice.call(arguments,2):3===r&&oi(n)&&(n=[n]),di(t,e,n))}finally{ti(1)}}const Gi="3.5.35";
8
+ /**
9
+ * @vue/runtime-dom v3.5.35
10
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
11
+ * @license MIT
12
+ **/
13
+ let qi;const Wi="undefined"!==typeof window&&window.trustedTypes;if(Wi)try{qi=Wi.createPolicy("vue",{createHTML:t=>t})}catch(PN){}const Ji=qi?t=>qi.createHTML(t):t=>t,Xi="http://www.w3.org/2000/svg",Ki="http://www.w3.org/1998/Math/MathML",Yi="undefined"!==typeof document?document:null,Zi=Yi&&Yi.createElement("template"),Qi={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,r)=>{const o="svg"===e?Yi.createElementNS(Xi,t):"mathml"===e?Yi.createElementNS(Ki,t):n?Yi.createElement(t,{is:n}):Yi.createElement(t);return"select"===t&&r&&null!=r.multiple&&o.setAttribute("multiple",r.multiple),o},createText:t=>Yi.createTextNode(t),createComment:t=>Yi.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>Yi.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,r,o,i){const a=n?n.previousSibling:e.lastChild;if(o&&(o===i||o.nextSibling)){while(1)if(e.insertBefore(o.cloneNode(!0),n),o===i||!(o=o.nextSibling))break}else{Zi.innerHTML=Ji("svg"===r?`<svg>${t}</svg>`:"mathml"===r?`<math>${t}</math>`:t);const o=Zi.content;if("svg"===r||"mathml"===r){const t=o.firstChild;while(t.firstChild)o.appendChild(t.firstChild);o.removeChild(t)}e.insertBefore(o,n)}return[a?a.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}},ta="transition",ea="animation",na=Symbol("_vtc"),ra={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},oa=c({},Nn,ra),ia=t=>(t.displayName="Transition",t.props=oa,t),aa=ia((t,{slots:e})=>zi(Vn,da(t),e)),sa=(t,e=[])=>{m(t)?t.forEach(t=>t(...e)):t&&t(...e)},la=t=>!!t&&(m(t)?t.some(t=>t.length>1):t.length>1);function da(t){const e={};for(const c in t)c in ra||(e[c]=t[c]);if(!1===t.css)return e;const{name:n="v",type:r,duration:o,enterFromClass:i=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:l=i,appearActiveClass:d=a,appearToClass:u=s,leaveFromClass:p=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:m=`${n}-leave-to`}=t,f=ca(o),g=f&&f[0],v=f&&f[1],{onBeforeEnter:b,onEnter:y,onEnterCancelled:w,onLeave:x,onLeaveCancelled:$,onBeforeAppear:C=b,onAppear:k=y,onAppearCancelled:_=w}=e,S=(t,e,n,r)=>{t._enterCancelled=r,ha(t,e?u:s),ha(t,e?d:a),n&&n()},T=(t,e)=>{t._isLeaving=!1,ha(t,p),ha(t,m),ha(t,h),e&&e()},M=t=>(e,n)=>{const o=t?k:y,a=()=>S(e,t,n);sa(o,[e,a]),ma(()=>{ha(e,t?l:i),pa(e,t?u:s),la(o)||ga(e,r,g,a)})};return c(e,{onBeforeEnter(t){sa(b,[t]),pa(t,i),pa(t,a)},onBeforeAppear(t){sa(C,[t]),pa(t,l),pa(t,d)},onEnter:M(!1),onAppear:M(!0),onLeave(t,e){t._isLeaving=!0;const n=()=>T(t,e);pa(t,p),t._enterCancelled?(pa(t,h),wa(t)):(wa(t),pa(t,h)),ma(()=>{t._isLeaving&&(ha(t,p),pa(t,m),la(x)||ga(t,r,v,n))}),sa(x,[t,n])},onEnterCancelled(t){S(t,!1,void 0,!0),sa(w,[t])},onAppearCancelled(t){S(t,!0,void 0,!0),sa(_,[t])},onLeaveCancelled(t){T(t),sa($,[t])}})}function ca(t){if(null==t)return null;if(x(t))return[ua(t.enter),ua(t.leave)];{const e=ua(t);return[e,e]}}function ua(t){const e=F(t);return e}function pa(t,e){e.split(/\s+/).forEach(e=>e&&t.classList.add(e)),(t[na]||(t[na]=new Set)).add(e)}function ha(t,e){e.split(/\s+/).forEach(e=>e&&t.classList.remove(e));const n=t[na];n&&(n.delete(e),n.size||(t[na]=void 0))}function ma(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let fa=0;function ga(t,e,n,r){const o=t._endId=++fa,i=()=>{o===t._endId&&r()};if(null!=n)return setTimeout(i,n);const{type:a,timeout:s,propCount:l}=va(t,e);if(!a)return r();const d=a+"end";let c=0;const u=()=>{t.removeEventListener(d,p),i()},p=e=>{e.target===t&&++c>=l&&u()};setTimeout(()=>{c<l&&u()},s+1),t.addEventListener(d,p)}function va(t,e){const n=window.getComputedStyle(t),r=t=>(n[t]||"").split(", "),o=r(`${ta}Delay`),i=r(`${ta}Duration`),a=ba(o,i),s=r(`${ea}Delay`),l=r(`${ea}Duration`),d=ba(s,l);let c=null,u=0,p=0;e===ta?a>0&&(c=ta,u=a,p=i.length):e===ea?d>0&&(c=ea,u=d,p=l.length):(u=Math.max(a,d),c=u>0?a>d?ta:ea:null,p=c?c===ta?i.length:l.length:0);const h=c===ta&&/\b(?:transform|all)(?:,|$)/.test(r(`${ta}Property`).toString());return{type:c,timeout:u,propCount:p,hasTransform:h}}function ba(t,e){while(t.length<e.length)t=t.concat(t);return Math.max(...e.map((e,n)=>ya(e)+ya(t[n])))}function ya(t){return"auto"===t?0:1e3*Number(t.slice(0,-1).replace(",","."))}function wa(t){const e=t?t.ownerDocument:document;return e.body.offsetHeight}function xa(t,e,n){const r=t[na];r&&(e=(e?[e,...r]:[...r]).join(" ")),null==e?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}const $a=Symbol("_vod"),Ca=Symbol("_vsh"),ka={name:"show",beforeMount(t,{value:e},{transition:n}){t[$a]="none"===t.style.display?"":t.style.display,n&&e?n.beforeEnter(t):_a(t,e)},mounted(t,{value:e},{transition:n}){n&&e&&n.enter(t)},updated(t,{value:e,oldValue:n},{transition:r}){!e!==!n&&(r?e?(r.beforeEnter(t),_a(t,!0),r.enter(t)):r.leave(t,()=>{_a(t,!1)}):_a(t,e))},beforeUnmount(t,{value:e}){_a(t,e)}};function _a(t,e){t.style.display=e?t[$a]:"none",t[Ca]=!e}const Sa=Symbol("");const Ta=/(?:^|;)\s*display\s*:/;function Ma(t,e,n){const r=t.style,o=y(n);let i=!1;if(n&&!o){if(e)if(y(e))for(const t of e.split(";")){const e=t.slice(0,t.indexOf(":")).trim();null==n[e]&&Ea(r,e,"")}else for(const t in e)null==n[t]&&Ea(r,t,"");for(const o in n){"display"===o&&(i=!0);const a=n[o];null!=a?Da(t,o,!y(e)&&e?e[o]:void 0,a)||Ea(r,o,a):Ea(r,o,"")}}else if(o){if(e!==n){const t=r[Sa];t&&(n+=";"+t),r.cssText=n,i=Ta.test(n)}}else e&&t.removeAttribute("style");$a in t&&(t[$a]=i?r.display:"",t[Ca]&&(r.display="none"))}const Oa=/\s*!important$/;function Ea(t,e,n){if(m(n))n.forEach(n=>Ea(t,e,n));else if(null==n&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const r=Pa(t,e);Oa.test(n)?t.setProperty(P(r),n.replace(Oa,""),"important"):t[r]=n}}const Aa=["Webkit","Moz","ms"],Ia={};function Pa(t,e){const n=Ia[e];if(n)return n;let r=A(e);if("filter"!==r&&r in t)return Ia[e]=r;r=D(r);for(let o=0;o<Aa.length;o++){const n=Aa[o]+r;if(n in t)return Ia[e]=n}return e}function Da(t,e,n,r){return"TEXTAREA"===t.tagName&&("width"===e||"height"===e)&&y(r)&&n===r}const Ra="http://www.w3.org/1999/xlink";function La(t,e,n,r,o,i=Y(e)){r&&e.startsWith("xlink:")?null==n?t.removeAttributeNS(Ra,e.slice(6,e.length)):t.setAttributeNS(Ra,e,n):null==n||i&&!Z(n)?t.removeAttribute(e):t.setAttribute(e,i?"":w(n)?String(n):n)}function Na(t,e,n,r,o){if("innerHTML"===e||"textContent"===e)return void(null!=n&&(t[e]="innerHTML"===e?Ji(n):n));const i=t.tagName;if("value"===e&&"PROGRESS"!==i&&!i.includes("-")){const r="OPTION"===i?t.getAttribute("value")||"":t.value,o=null==n?"checkbox"===t.type?"on":"":String(n);return r===o&&"_value"in t||(t.value=o),null==n&&t.removeAttribute(e),void(t._value=n)}let a=!1;if(""===n||null==n){const r=typeof t[e];"boolean"===r?n=Z(n):null==n&&"string"===r?(n="",a=!0):"number"===r&&(n=0,a=!0)}try{t[e]=n}catch(PN){0}a&&t.removeAttribute(o||e)}function ja(t,e,n,r){t.addEventListener(e,n,r)}function Ba(t,e,n,r){t.removeEventListener(e,n,r)}const Fa=Symbol("_vei");function Va(t,e,n,r,o=null){const i=t[Fa]||(t[Fa]={}),a=i[e];if(r&&a)a.value=r;else{const[n,s]=Ha(e);if(r){const a=i[e]=Wa(r,o);ja(t,n,a,s)}else a&&(Ba(t,n,a,s),i[e]=void 0)}}const Ua=/(?:Once|Passive|Capture)$/;function Ha(t){let e;if(Ua.test(t)){let n;e={};while(n=t.match(Ua))t=t.slice(0,t.length-n[0].length),e[n[0].toLowerCase()]=!0}const n=":"===t[2]?t.slice(3):P(t.slice(2));return[n,e]}let za=0;const Ga=Promise.resolve(),qa=()=>za||(Ga.then(()=>za=0),za=Date.now());function Wa(t,e){const n=t=>{if(t._vts){if(t._vts<=n.attached)return}else t._vts=Date.now();const r=n.value;if(m(r)){const n=t.stopImmediatePropagation;t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0};const o=r.slice(),i=[t];for(let r=0;r<o.length;r++){if(t._stopped)break;const n=o[r];n&&We(n,e,5,i)}}else We(r,e,5,[t])};return n.value=t,n.attached=qa(),n}const Ja=t=>111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,Xa=(t,e,n,r,o,i)=>{const a="svg"===o;"class"===e?xa(t,r,a):"style"===e?Ma(t,n,r):l(e)?d(e)||Va(t,e,n,r,i):("."===e[0]?(e=e.slice(1),1):"^"===e[0]?(e=e.slice(1),0):Ka(t,e,r,a))?(Na(t,e,r),t.tagName.includes("-")||"value"!==e&&"checked"!==e&&"selected"!==e||La(t,e,r,a,i,"value"!==e)):t._isVueCE&&(Ya(t,e)||t._def.__asyncLoader&&(/[A-Z]/.test(e)||!y(r)))?Na(t,A(e),r,i,e):("true-value"===e?t._trueValue=r:"false-value"===e&&(t._falseValue=r),La(t,e,r,a))};function Ka(t,e,n,r){if(r)return"innerHTML"===e||"textContent"===e||!!(e in t&&Ja(e)&&b(n));if("spellcheck"===e||"draggable"===e||"translate"===e||"autocorrect"===e)return!1;if("sandbox"===e&&"IFRAME"===t.tagName)return!1;if("form"===e)return!1;if("list"===e&&"INPUT"===t.tagName)return!1;if("type"===e&&"TEXTAREA"===t.tagName)return!1;if("width"===e||"height"===e){const e=t.tagName;if("IMG"===e||"VIDEO"===e||"CANVAS"===e||"SOURCE"===e)return!1}return(!Ja(e)||!y(n))&&e in t}function Ya(t,e){const n=t._def.props;if(!n)return!1;const r=A(e);return Array.isArray(n)?n.some(t=>A(t)===r):Object.keys(n).some(t=>A(t)===r)}"undefined"!==typeof HTMLElement&&HTMLElement;const Za=new WeakMap,Qa=new WeakMap,ts=Symbol("_moveCb"),es=Symbol("_enterCb"),ns=t=>(delete t.props.mode,t),rs=ns({name:"TransitionGroup",props:c({},oa,{tag:String,moveClass:String}),setup(t,{slots:e}){const n=_i(),r=Rn();let o,i;return ur(()=>{if(!o.length)return;const e=t.moveClass||`${t.name||"v"}-move`;if(!ds(o[0].el,n.vnode.el,e))return void(o=[]);o.forEach(is),o.forEach(as);const r=o.filter(ss);wa(n.vnode.el),r.forEach(t=>{const n=t.el,r=n.style;pa(n,e),r.transform=r.webkitTransform=r.transitionDuration="";const o=n[ts]=t=>{t&&t.target!==n||t&&!t.propertyName.endsWith("transform")||(n.removeEventListener("transitionend",o),n[ts]=null,ha(n,e))};n.addEventListener("transitionend",o)}),o=[]}),()=>{const a=Te(t),s=da(a);let l=a.tag||Go;if(o=[],i)for(let t=0;t<i.length;t++){const e=i[t];e.el&&e.el instanceof Element&&(o.push(e),qn(e,Hn(e,s,r,n)),Za.set(e,ls(e.el)))}i=e.default?Wn(e.default()):[];for(let t=0;t<i.length;t++){const e=i[t];null!=e.key&&qn(e,Hn(e,s,r,n))}return di(l,null,i)}}}),os=rs;function is(t){const e=t.el;e[ts]&&e[ts](),e[es]&&e[es]()}function as(t){Qa.set(t,ls(t.el))}function ss(t){const e=Za.get(t),n=Qa.get(t),r=e.left-n.left,o=e.top-n.top;if(r||o){const e=t.el,n=e.style,i=e.getBoundingClientRect();let a=1,s=1;return e.offsetWidth&&(a=i.width/e.offsetWidth),e.offsetHeight&&(s=i.height/e.offsetHeight),Number.isFinite(a)&&0!==a||(a=1),Number.isFinite(s)&&0!==s||(s=1),Math.abs(a-1)<.01&&(a=1),Math.abs(s-1)<.01&&(s=1),n.transform=n.webkitTransform=`translate(${r/a}px,${o/s}px)`,n.transitionDuration="0s",t}}function ls(t){const e=t.getBoundingClientRect();return{left:e.left,top:e.top}}function ds(t,e,n){const r=t.cloneNode(),o=t[na];o&&o.forEach(t=>{t.split(/\s+/).forEach(t=>t&&r.classList.remove(t))}),n.split(/\s+/).forEach(t=>t&&r.classList.add(t)),r.style.display="none";const i=1===e.nodeType?e:e.parentNode;i.appendChild(r);const{hasTransform:a}=va(r);return i.removeChild(r),a}const cs=t=>{const e=t.props["onUpdate:modelValue"]||!1;return m(e)?t=>N(e,t):e};function us(t){t.target.composing=!0}function ps(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const hs=Symbol("_assign");function ms(t,e,n){return e&&(t=t.trim()),n&&(t=B(t)),t}const fs={created(t,{modifiers:{lazy:e,trim:n,number:r}},o){t[hs]=cs(o);const i=r||o.props&&"number"===o.props.type;ja(t,e?"change":"input",e=>{e.target.composing||t[hs](ms(t.value,n,i))}),(n||i)&&ja(t,"change",()=>{t.value=ms(t.value,n,i)}),e||(ja(t,"compositionstart",us),ja(t,"compositionend",ps),ja(t,"change",ps))},mounted(t,{value:e}){t.value=null==e?"":e},beforeUpdate(t,{value:e,oldValue:n,modifiers:{lazy:r,trim:o,number:i}},a){if(t[hs]=cs(a),t.composing)return;const s=!i&&"number"!==t.type||/^0\d/.test(t.value)?t.value:B(t.value),l=null==e?"":e;if(s===l)return;const d=t.getRootNode();if((d instanceof Document||d instanceof ShadowRoot)&&d.activeElement===t&&"range"!==t.type){if(r&&e===n)return;if(o&&t.value.trim()===l)return}t.value=l}},gs={deep:!0,created(t,e,n){t[hs]=cs(n),ja(t,"change",()=>{const e=t._modelValue,n=xs(t),r=t.checked,o=t[hs];if(m(e)){const t=et(e,n),i=-1!==t;if(r&&!i)o(e.concat(n));else if(!r&&i){const n=[...e];n.splice(t,1),o(n)}}else if(g(e)){const t=new Set(e);r?t.add(n):t.delete(n),o(t)}else o($s(t,r))})},mounted:vs,beforeUpdate(t,e,n){t[hs]=cs(n),vs(t,e,n)}};function vs(t,{value:e,oldValue:n},r){let o;if(t._modelValue=e,m(e))o=et(e,r.props.value)>-1;else if(g(e))o=e.has(r.props.value);else{if(e===n)return;o=tt(e,$s(t,!0))}t.checked!==o&&(t.checked=o)}const bs={created(t,{value:e},n){t.checked=tt(e,n.props.value),t[hs]=cs(n),ja(t,"change",()=>{t[hs](xs(t))})},beforeUpdate(t,{value:e,oldValue:n},r){t[hs]=cs(r),e!==n&&(t.checked=tt(e,r.props.value))}},ys={deep:!0,created(t,{value:e,modifiers:{number:n}},r){const o=g(e);ja(t,"change",()=>{const e=Array.prototype.filter.call(t.options,t=>t.selected).map(t=>n?B(xs(t)):xs(t));t[hs](t.multiple?o?new Set(e):e:e[0]),t._assigning=!0,rn(()=>{t._assigning=!1})}),t[hs]=cs(r)},mounted(t,{value:e}){ws(t,e)},beforeUpdate(t,e,n){t[hs]=cs(n)},updated(t,{value:e}){t._assigning||ws(t,e)}};function ws(t,e){const n=t.multiple,r=m(e);if(!n||r||g(e)){for(let o=0,i=t.options.length;o<i;o++){const i=t.options[o],a=xs(i);if(n)if(r){const t=typeof a;i.selected="string"===t||"number"===t?e.some(t=>String(t)===String(a)):et(e,a)>-1}else i.selected=e.has(a);else if(tt(xs(i),e))return void(t.selectedIndex!==o&&(t.selectedIndex=o))}n||-1===t.selectedIndex||(t.selectedIndex=-1)}}function xs(t){return"_value"in t?t._value:t.value}function $s(t,e){const n=e?"_trueValue":"_falseValue";return n in t?t[n]:e}const Cs={created(t,e,n){_s(t,e,n,null,"created")},mounted(t,e,n){_s(t,e,n,null,"mounted")},beforeUpdate(t,e,n,r){_s(t,e,n,r,"beforeUpdate")},updated(t,e,n,r){_s(t,e,n,r,"updated")}};function ks(t,e){switch(t){case"SELECT":return ys;case"TEXTAREA":return fs;default:switch(e){case"checkbox":return gs;case"radio":return bs;default:return fs}}}function _s(t,e,n,r,o){const i=ks(t.tagName,n.props&&n.props.type),a=i[o];a&&a(t,e,n,r)}const Ss=["ctrl","shift","alt","meta"],Ts={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&0!==t.button,middle:t=>"button"in t&&1!==t.button,right:t=>"button"in t&&2!==t.button,exact:(t,e)=>Ss.some(n=>t[`${n}Key`]&&!e.includes(n))},Ms=(t,e)=>{if(!t)return t;const n=t._withMods||(t._withMods={}),r=e.join(".");return n[r]||(n[r]=(n,...r)=>{for(let t=0;t<e.length;t++){const r=Ts[e[t]];if(r&&r(n,e))return}return t(n,...r)})},Os={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Es=(t,e)=>{const n=t._withKeys||(t._withKeys={}),r=e.join(".");return n[r]||(n[r]=n=>{if(!("key"in n))return;const r=P(n.key);return e.some(t=>t===r||Os[t]===r)?t(n):void 0})},As=c({patchProp:Xa},Qi);let Is;function Ps(){return Is||(Is=Po(As))}const Ds=(...t)=>{const e=Ps().createApp(...t);const{mount:n}=e;return e.mount=t=>{const r=Ls(t);if(!r)return;const o=e._component;b(o)||o.render||o.template||(o.template=r.innerHTML),1===r.nodeType&&(r.textContent="");const i=n(r,!1,Rs(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},e};function Rs(t){return t instanceof SVGElement?"svg":"function"===typeof MathMLElement&&t instanceof MathMLElement?"mathml":void 0}function Ls(t){if(y(t)){const e=document.querySelector(t);return e}return t}const Ns=["top","right","bottom","left"],js=["start","end"],Bs=Ns.reduce((t,e)=>t.concat(e,e+"-"+js[0],e+"-"+js[1]),[]),Fs=Math.min,Vs=Math.max,Us=(Math.round,Math.floor,{left:"right",right:"left",bottom:"top",top:"bottom"});function Hs(t,e,n){return Vs(t,Fs(e,n))}function zs(t,e){return"function"===typeof t?t(e):t}function Gs(t){return t.split("-")[0]}function qs(t){return t.split("-")[1]}function Ws(t){return"x"===t?"y":"x"}function Js(t){return"y"===t?"height":"width"}function Xs(t){const e=t[0];return"t"===e||"b"===e?"y":"x"}function Ks(t){return Ws(Xs(t))}function Ys(t,e,n){void 0===n&&(n=!1);const r=qs(t),o=Ks(t),i=Js(o);let a="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return e.reference[i]>e.floating[i]&&(a=al(a)),[a,al(a)]}function Zs(t){const e=al(t);return[Qs(t),e,Qs(e)]}function Qs(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}const tl=["left","right"],el=["right","left"],nl=["top","bottom"],rl=["bottom","top"];function ol(t,e,n){switch(t){case"top":case"bottom":return n?e?el:tl:e?tl:el;case"left":case"right":return e?nl:rl;default:return[]}}function il(t,e,n,r){const o=qs(t);let i=ol(Gs(t),"start"===n,r);return o&&(i=i.map(t=>t+"-"+o),e&&(i=i.concat(i.map(Qs)))),i}function al(t){const e=Gs(t);return Us[e]+t.slice(e.length)}function sl(t){return{top:0,right:0,bottom:0,left:0,...t}}function ll(t){return"number"!==typeof t?sl(t):{top:t,right:t,bottom:t,left:t}}function dl(t){const{x:e,y:n,width:r,height:o}=t;return{width:r,height:o,top:n,left:e,right:e+r,bottom:n+o,x:e,y:n}}function cl(t,e,n){let{reference:r,floating:o}=t;const i=Xs(e),a=Ks(e),s=Js(a),l=Gs(e),d="y"===i,c=r.x+r.width/2-o.width/2,u=r.y+r.height/2-o.height/2,p=r[s]/2-o[s]/2;let h;switch(l){case"top":h={x:c,y:r.y-o.height};break;case"bottom":h={x:c,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:u};break;case"left":h={x:r.x-o.width,y:u};break;default:h={x:r.x,y:r.y}}switch(qs(e)){case"start":h[a]-=p*(n&&d?-1:1);break;case"end":h[a]+=p*(n&&d?-1:1);break}return h}async function ul(t,e){var n;void 0===e&&(e={});const{x:r,y:o,platform:i,rects:a,elements:s,strategy:l}=t,{boundary:d="clippingAncestors",rootBoundary:c="viewport",elementContext:u="floating",altBoundary:p=!1,padding:h=0}=zs(e,t),m=ll(h),f="floating"===u?"reference":"floating",g=s[p?f:u],v=dl(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(g)))||n?g:g.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(s.floating)),boundary:d,rootBoundary:c,strategy:l})),b="floating"===u?{x:r,y:o,width:a.floating.width,height:a.floating.height}:a.reference,y=await(null==i.getOffsetParent?void 0:i.getOffsetParent(s.floating)),w=await(null==i.isElement?void 0:i.isElement(y))&&await(null==i.getScale?void 0:i.getScale(y))||{x:1,y:1},x=dl(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:b,offsetParent:y,strategy:l}):b);return{top:(v.top-x.top+m.top)/w.y,bottom:(x.bottom-v.bottom+m.bottom)/w.y,left:(v.left-x.left+m.left)/w.x,right:(x.right-v.right+m.right)/w.x}}const pl=50,hl=async(t,e,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,s=a.detectOverflow?a:{...a,detectOverflow:ul},l=await(null==a.isRTL?void 0:a.isRTL(e));let d=await a.getElementRects({reference:t,floating:e,strategy:o}),{x:c,y:u}=cl(d,r,l),p=r,h=0;const m={};for(let f=0;f<i.length;f++){const n=i[f];if(!n)continue;const{name:g,fn:v}=n,{x:b,y:y,data:w,reset:x}=await v({x:c,y:u,initialPlacement:r,placement:p,strategy:o,middlewareData:m,rects:d,platform:s,elements:{reference:t,floating:e}});c=null!=b?b:c,u=null!=y?y:u,m[g]={...m[g],...w},x&&h<pl&&(h++,"object"===typeof x&&(x.placement&&(p=x.placement),x.rects&&(d=!0===x.rects?await a.getElementRects({reference:t,floating:e,strategy:o}):x.rects),({x:c,y:u}=cl(d,p,l))),f=-1)}return{x:c,y:u,placement:p,strategy:o,middlewareData:m}},ml=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:r,placement:o,rects:i,platform:a,elements:s,middlewareData:l}=e,{element:d,padding:c=0}=zs(t,e)||{};if(null==d)return{};const u=ll(c),p={x:n,y:r},h=Ks(o),m=Js(h),f=await a.getDimensions(d),g="y"===h,v=g?"top":"left",b=g?"bottom":"right",y=g?"clientHeight":"clientWidth",w=i.reference[m]+i.reference[h]-p[h]-i.floating[m],x=p[h]-i.reference[h],$=await(null==a.getOffsetParent?void 0:a.getOffsetParent(d));let C=$?$[y]:0;C&&await(null==a.isElement?void 0:a.isElement($))||(C=s.floating[y]||i.floating[m]);const k=w/2-x/2,_=C/2-f[m]/2-1,S=Fs(u[v],_),T=Fs(u[b],_),M=S,O=C-f[m]-T,E=C/2-f[m]/2+k,A=Hs(M,E,O),I=!l.arrow&&null!=qs(o)&&E!==A&&i.reference[m]/2-(E<M?S:T)-f[m]/2<0,P=I?E<M?E-M:E-O:0;return{[h]:p[h]+P,data:{[h]:A,centerOffset:E-A-P,...I&&{alignmentOffset:P}},reset:I}}});function fl(t,e,n){const r=t?[...n.filter(e=>qs(e)===t),...n.filter(e=>qs(e)!==t)]:n.filter(t=>Gs(t)===t);return r.filter(n=>!t||(qs(n)===t||!!e&&Qs(n)!==n))}const gl=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var n,r,o;const{rects:i,middlewareData:a,placement:s,platform:l,elements:d}=e,{crossAxis:c=!1,alignment:u,allowedPlacements:p=Bs,autoAlignment:h=!0,...m}=zs(t,e),f=void 0!==u||p===Bs?fl(u||null,h,p):p,g=await l.detectOverflow(e,m),v=(null==(n=a.autoPlacement)?void 0:n.index)||0,b=f[v];if(null==b)return{};const y=Ys(b,i,await(null==l.isRTL?void 0:l.isRTL(d.floating)));if(s!==b)return{reset:{placement:f[0]}};const w=[g[Gs(b)],g[y[0]],g[y[1]]],x=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:b,overflows:w}],$=f[v+1];if($)return{data:{index:v+1,overflows:x},reset:{placement:$}};const C=x.map(t=>{const e=qs(t.placement);return[t.placement,e&&c?t.overflows.slice(0,2).reduce((t,e)=>t+e,0):t.overflows[0],t.overflows]}).sort((t,e)=>t[1]-e[1]),k=C.filter(t=>t[2].slice(0,qs(t[0])?2:3).every(t=>t<=0)),_=(null==(o=k[0])?void 0:o[0])||C[0][0];return _!==s?{data:{index:v+1,overflows:x},reset:{placement:_}}:{}}}},vl=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var n,r;const{placement:o,middlewareData:i,rects:a,initialPlacement:s,platform:l,elements:d}=e,{mainAxis:c=!0,crossAxis:u=!0,fallbackPlacements:p,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:f=!0,...g}=zs(t,e);if(null!=(n=i.arrow)&&n.alignmentOffset)return{};const v=Gs(o),b=Xs(s),y=Gs(s)===s,w=await(null==l.isRTL?void 0:l.isRTL(d.floating)),x=p||(y||!f?[al(s)]:Zs(s)),$="none"!==m;!p&&$&&x.push(...il(s,f,m,w));const C=[s,...x],k=await l.detectOverflow(e,g),_=[];let S=(null==(r=i.flip)?void 0:r.overflows)||[];if(c&&_.push(k[v]),u){const t=Ys(o,a,w);_.push(k[t[0]],k[t[1]])}if(S=[...S,{placement:o,overflows:_}],!_.every(t=>t<=0)){var T,M;const t=((null==(T=i.flip)?void 0:T.index)||0)+1,e=C[t];if(e){const n="alignment"===u&&b!==Xs(e);if(!n||S.every(t=>Xs(t.placement)!==b||t.overflows[0]>0))return{data:{index:t,overflows:S},reset:{placement:e}}}let n=null==(M=S.filter(t=>t.overflows[0]<=0).sort((t,e)=>t.overflows[1]-e.overflows[1])[0])?void 0:M.placement;if(!n)switch(h){case"bestFit":{var O;const t=null==(O=S.filter(t=>{if($){const e=Xs(t.placement);return e===b||"y"===e}return!0}).map(t=>[t.placement,t.overflows.filter(t=>t>0).reduce((t,e)=>t+e,0)]).sort((t,e)=>t[1]-e[1])[0])?void 0:O[0];t&&(n=t);break}case"initialPlacement":n=s;break}if(o!==n)return{reset:{placement:n}}}return{}}}};const bl=new Set(["left","top"]);async function yl(t,e){const{placement:n,platform:r,elements:o}=t,i=await(null==r.isRTL?void 0:r.isRTL(o.floating)),a=Gs(n),s=qs(n),l="y"===Xs(n),d=bl.has(a)?-1:1,c=i&&l?-1:1,u=zs(e,t);let{mainAxis:p,crossAxis:h,alignmentAxis:m}="number"===typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return s&&"number"===typeof m&&(h="end"===s?-1*m:m),l?{x:h*c,y:p*d}:{x:p*d,y:h*c}}const wl=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(e){var n,r;const{x:o,y:i,placement:a,middlewareData:s}=e,l=await yl(e,t);return a===(null==(n=s.offset)?void 0:n.placement)&&null!=(r=s.arrow)&&r.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:a}}}}},xl=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:r,placement:o,platform:i}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...d}=zs(t,e),c={x:n,y:r},u=await i.detectOverflow(e,d),p=Xs(Gs(o)),h=Ws(p);let m=c[h],f=c[p];if(a){const t="y"===h?"top":"left",e="y"===h?"bottom":"right",n=m+u[t],r=m-u[e];m=Hs(n,m,r)}if(s){const t="y"===p?"top":"left",e="y"===p?"bottom":"right",n=f+u[t],r=f-u[e];f=Hs(n,f,r)}const g=l.fn({...e,[h]:m,[p]:f});return{...g,data:{x:g.x-n,y:g.y-r,enabled:{[h]:a,[p]:s}}}}}},$l=function(t){return void 0===t&&(t={}),{name:"size",options:t,async fn(e){var n,r;const{placement:o,rects:i,platform:a,elements:s}=e,{apply:l=()=>{},...d}=zs(t,e),c=await a.detectOverflow(e,d),u=Gs(o),p=qs(o),h="y"===Xs(o),{width:m,height:f}=i.floating;let g,v;"top"===u||"bottom"===u?(g=u,v=p===(await(null==a.isRTL?void 0:a.isRTL(s.floating))?"start":"end")?"left":"right"):(v=u,g="end"===p?"top":"bottom");const b=f-c.top-c.bottom,y=m-c.left-c.right,w=Fs(f-c[g],b),x=Fs(m-c[v],y),$=!e.middlewareData.shift;let C=w,k=x;if(null!=(n=e.middlewareData.shift)&&n.enabled.x&&(k=y),null!=(r=e.middlewareData.shift)&&r.enabled.y&&(C=b),$&&!p){const t=Vs(c.left,0),e=Vs(c.right,0),n=Vs(c.top,0),r=Vs(c.bottom,0);h?k=m-2*(0!==t||0!==e?t+e:Vs(c.left,c.right)):C=f-2*(0!==n||0!==r?n+r:Vs(c.top,c.bottom))}await l({...e,availableWidth:k,availableHeight:C});const _=await a.getDimensions(s.floating);return m!==_.width||f!==_.height?{reset:{rects:!0}}:{}}}};function Cl(t){var e;return(null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function kl(t){return Cl(t).getComputedStyle(t)}const _l=Math.min,Sl=Math.max,Tl=Math.round;function Ml(t){const e=kl(t);let n=parseFloat(e.width),r=parseFloat(e.height);const o=t.offsetWidth,i=t.offsetHeight,a=Tl(n)!==o||Tl(r)!==i;return a&&(n=o,r=i),{width:n,height:r,fallback:a}}function Ol(t){return Dl(t)?(t.nodeName||"").toLowerCase():""}let El;function Al(){if(El)return El;const t=navigator.userAgentData;return t&&Array.isArray(t.brands)?(El=t.brands.map(t=>t.brand+"/"+t.version).join(" "),El):navigator.userAgent}function Il(t){return t instanceof Cl(t).HTMLElement}function Pl(t){return t instanceof Cl(t).Element}function Dl(t){return t instanceof Cl(t).Node}function Rl(t){return"undefined"!=typeof ShadowRoot&&(t instanceof Cl(t).ShadowRoot||t instanceof ShadowRoot)}function Ll(t){const{overflow:e,overflowX:n,overflowY:r,display:o}=kl(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&!["inline","contents"].includes(o)}function Nl(t){return["table","td","th"].includes(Ol(t))}function jl(t){const e=/firefox/i.test(Al()),n=kl(t),r=n.backdropFilter||n.WebkitBackdropFilter;return"none"!==n.transform||"none"!==n.perspective||!!r&&"none"!==r||e&&"filter"===n.willChange||e&&!!n.filter&&"none"!==n.filter||["transform","perspective"].some(t=>n.willChange.includes(t))||["paint","layout","strict","content"].some(t=>{const e=n.contain;return null!=e&&e.includes(t)})}function Bl(){return!/^((?!chrome|android).)*safari/i.test(Al())}function Fl(t){return["html","body","#document"].includes(Ol(t))}function Vl(t){return Pl(t)?t:t.contextElement}const Ul={x:1,y:1};function Hl(t){const e=Vl(t);if(!Il(e))return Ul;const n=e.getBoundingClientRect(),{width:r,height:o,fallback:i}=Ml(e);let a=(i?Tl(n.width):n.width)/r,s=(i?Tl(n.height):n.height)/o;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}function zl(t,e,n,r){var o,i;void 0===e&&(e=!1),void 0===n&&(n=!1);const a=t.getBoundingClientRect(),s=Vl(t);let l=Ul;e&&(r?Pl(r)&&(l=Hl(r)):l=Hl(t));const d=s?Cl(s):window,c=!Bl()&&n;let u=(a.left+(c&&(null==(o=d.visualViewport)?void 0:o.offsetLeft)||0))/l.x,p=(a.top+(c&&(null==(i=d.visualViewport)?void 0:i.offsetTop)||0))/l.y,h=a.width/l.x,m=a.height/l.y;if(s){const t=Cl(s),e=r&&Pl(r)?Cl(r):r;let n=t.frameElement;for(;n&&r&&e!==t;){const t=Hl(n),e=n.getBoundingClientRect(),r=getComputedStyle(n);e.x+=(n.clientLeft+parseFloat(r.paddingLeft))*t.x,e.y+=(n.clientTop+parseFloat(r.paddingTop))*t.y,u*=t.x,p*=t.y,h*=t.x,m*=t.y,u+=e.x,p+=e.y,n=Cl(n).frameElement}}return{width:h,height:m,top:p,right:u+h,bottom:p+m,left:u,x:u,y:p}}function Gl(t){return((Dl(t)?t.ownerDocument:t.document)||window.document).documentElement}function ql(t){return Pl(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Wl(t){return zl(Gl(t)).left+ql(t).scrollLeft}function Jl(t){if("html"===Ol(t))return t;const e=t.assignedSlot||t.parentNode||Rl(t)&&t.host||Gl(t);return Rl(e)?e.host:e}function Xl(t){const e=Jl(t);return Fl(e)?e.ownerDocument.body:Il(e)&&Ll(e)?e:Xl(e)}function Kl(t,e){var n;void 0===e&&(e=[]);const r=Xl(t),o=r===(null==(n=t.ownerDocument)?void 0:n.body),i=Cl(r);return o?e.concat(i,i.visualViewport||[],Ll(r)?r:[]):e.concat(r,Kl(r))}function Yl(t,e,n){return"viewport"===e?dl(function(t,e){const n=Cl(t),r=Gl(t),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;const t=Bl();(t||!t&&"fixed"===e)&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s,y:l}}(t,n)):Pl(e)?dl(function(t,e){const n=zl(t,!0,"fixed"===e),r=n.top+t.clientTop,o=n.left+t.clientLeft,i=Il(t)?Hl(t):{x:1,y:1};return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:o*i.x,y:r*i.y}}(e,n)):dl(function(t){const e=Gl(t),n=ql(t),r=t.ownerDocument.body,o=Sl(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),i=Sl(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+Wl(t);const s=-n.scrollTop;return"rtl"===kl(r).direction&&(a+=Sl(e.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:s}}(Gl(t)))}function Zl(t){return Il(t)&&"fixed"!==kl(t).position?t.offsetParent:null}function Ql(t){const e=Cl(t);let n=Zl(t);for(;n&&Nl(n)&&"static"===kl(n).position;)n=Zl(n);return n&&("html"===Ol(n)||"body"===Ol(n)&&"static"===kl(n).position&&!jl(n))?e:n||function(t){let e=Jl(t);for(;Il(e)&&!Fl(e);){if(jl(e))return e;e=Jl(e)}return null}(t)||e}function td(t,e,n){const r=Il(e),o=Gl(e),i=zl(t,!0,"fixed"===n,e);let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(r||!r&&"fixed"!==n)if(("body"!==Ol(e)||Ll(o))&&(a=ql(e)),Il(e)){const t=zl(e,!0);s.x=t.x+e.clientLeft,s.y=t.y+e.clientTop}else o&&(s.x=Wl(o));return{x:i.left+a.scrollLeft-s.x,y:i.top+a.scrollTop-s.y,width:i.width,height:i.height}}const ed={getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:r,strategy:o}=t;const i="clippingAncestors"===n?function(t,e){const n=e.get(t);if(n)return n;let r=Kl(t).filter(t=>Pl(t)&&"body"!==Ol(t)),o=null;const i="fixed"===kl(t).position;let a=i?Jl(t):t;for(;Pl(a)&&!Fl(a);){const t=kl(a),e=jl(a);(i?e||o:e||"static"!==t.position||!o||!["absolute","fixed"].includes(o.position))?o=t:r=r.filter(t=>t!==a),a=Jl(a)}return e.set(t,r),r}(e,this._c):[].concat(n),a=[...i,r],s=a[0],l=a.reduce((t,n)=>{const r=Yl(e,n,o);return t.top=Sl(r.top,t.top),t.right=_l(r.right,t.right),t.bottom=_l(r.bottom,t.bottom),t.left=Sl(r.left,t.left),t},Yl(e,s,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:n,strategy:r}=t;const o=Il(n),i=Gl(n);if(n===i)return e;let a={scrollLeft:0,scrollTop:0},s={x:1,y:1};const l={x:0,y:0};if((o||!o&&"fixed"!==r)&&(("body"!==Ol(n)||Ll(i))&&(a=ql(n)),Il(n))){const t=zl(n);s=Hl(n),l.x=t.x+n.clientLeft,l.y=t.y+n.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-a.scrollLeft*s.x+l.x,y:e.y*s.y-a.scrollTop*s.y+l.y}},isElement:Pl,getDimensions:function(t){return Il(t)?Ml(t):t.getBoundingClientRect()},getOffsetParent:Ql,getDocumentElement:Gl,getScale:Hl,async getElementRects(t){let{reference:e,floating:n,strategy:r}=t;const o=this.getOffsetParent||Ql,i=this.getDimensions;return{reference:td(e,await o(n),r),floating:{x:0,y:0,...await i(n)}}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>"rtl"===kl(t).direction};const nd=(t,e,n)=>{const r=new Map,o={platform:ed,...n},i={...o.platform,_c:r};return hl(t,e,{...o,platform:i})};const rd={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:0,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:t=>[...t,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover","focus"],delay:{show:0,hide:400}}}};function od(t,e){let n,r=rd.themes[t]||{};do{n=r[e],typeof n>"u"?r.$extend?r=rd.themes[r.$extend]||{}:(r=null,n=rd[e]):r=null}while(r);return n}function id(t){const e=[t];let n=rd.themes[t]||{};do{n.$extend&&!n.$resetCss?(e.push(n.$extend),n=rd.themes[n.$extend]||{}):n=null}while(n);return e.map(t=>`v-popper--theme-${t}`)}function ad(t){const e=[t];let n=rd.themes[t]||{};do{n.$extend?(e.push(n.$extend),n=rd.themes[n.$extend]||{}):n=null}while(n);return e}let sd=!1;if(typeof window<"u"){sd=!1;try{const t=Object.defineProperty({},"passive",{get(){sd=!0}});window.addEventListener("test",null,t)}catch{}}let ld=!1;typeof window<"u"&&typeof navigator<"u"&&(ld=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const dd=["auto","top","bottom","left","right"].reduce((t,e)=>t.concat([e,`${e}-start`,`${e}-end`]),[]),cd={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},ud={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function pd(t,e){const n=t.indexOf(e);-1!==n&&t.splice(n,1)}function hd(){return new Promise(t=>requestAnimationFrame(()=>{requestAnimationFrame(t)}))}const md=[];let fd=null;const gd={};function vd(t){let e=gd[t];return e||(e=gd[t]=[]),e}let bd=function(){};function yd(t){return function(e){return od(e.theme,t)}}typeof window<"u"&&(bd=window.Element);const wd="__floating-vue__popper",xd=()=>Jn({name:"VPopper",provide(){return{[wd]:{parentPopper:this}}},inject:{[wd]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:yd("disabled")},positioningDisabled:{type:Boolean,default:yd("positioningDisabled")},placement:{type:String,default:yd("placement"),validator:t=>dd.includes(t)},delay:{type:[String,Number,Object],default:yd("delay")},distance:{type:[Number,String],default:yd("distance")},skidding:{type:[Number,String],default:yd("skidding")},triggers:{type:Array,default:yd("triggers")},showTriggers:{type:[Array,Function],default:yd("showTriggers")},hideTriggers:{type:[Array,Function],default:yd("hideTriggers")},popperTriggers:{type:Array,default:yd("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:yd("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:yd("popperHideTriggers")},container:{type:[String,Object,bd,Boolean],default:yd("container")},boundary:{type:[String,bd],default:yd("boundary")},strategy:{type:String,validator:t=>["absolute","fixed"].includes(t),default:yd("strategy")},autoHide:{type:[Boolean,Function],default:yd("autoHide")},handleResize:{type:Boolean,default:yd("handleResize")},instantMove:{type:Boolean,default:yd("instantMove")},eagerMount:{type:Boolean,default:yd("eagerMount")},popperClass:{type:[String,Array,Object],default:yd("popperClass")},computeTransformOrigin:{type:Boolean,default:yd("computeTransformOrigin")},autoMinSize:{type:Boolean,default:yd("autoMinSize")},autoSize:{type:[Boolean,String],default:yd("autoSize")},autoMaxSize:{type:Boolean,default:yd("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:yd("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:yd("preventOverflow")},overflowPadding:{type:[Number,String],default:yd("overflowPadding")},arrowPadding:{type:[Number,String],default:yd("arrowPadding")},arrowOverflow:{type:Boolean,default:yd("arrowOverflow")},flip:{type:Boolean,default:yd("flip")},shift:{type:Boolean,default:yd("shift")},shiftCrossAxis:{type:Boolean,default:yd("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:yd("noAutoFocus")},disposeTimeout:{type:Number,default:yd("disposeTimeout")}},emits:{show:()=>!0,hide:()=>!0,"update:shown":t=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},shownChildren:new Set,lastAutoHide:!0}},computed:{popperId(){return null!=this.ariaId?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:"function"==typeof this.autoHide?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var t;return null==(t=this[wd])?void 0:t.parentPopper},hasPopperShowTriggerHover(){var t,e;return(null==(t=this.popperTriggers)?void 0:t.includes("hover"))||(null==(e=this.popperShowTriggers)?void 0:e.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(t){t?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},...["triggers","positioningDisabled"].reduce((t,e)=>(t[e]="$_refreshListeners",t),{}),...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((t,e)=>(t[e]="$_computePosition",t),{})},created(){this.$_isDisposed=!0,this.randomId=`popper_${[Math.random(),Date.now()].map(t=>t.toString(36).substring(2,10)).join("_")}`,this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:t=null,skipDelay:e=!1,force:n=!1}={}){var r,o;null!=(r=this.parentPopper)&&r.lockedChild&&this.parentPopper.lockedChild!==this||(this.$_pendingHide=!1,(n||!this.disabled)&&((null==(o=this.parentPopper)?void 0:o.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(t,e),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:t=null,skipDelay:e=!1}={}){var n;if(!this.$_hideInProgress){if(this.shownChildren.size>0)return void(this.$_pendingHide=!0);if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper())return void(this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:e}),this.parentPopper.lockedChild=null)},1e3)));(null==(n=this.parentPopper)?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_pendingHide=!1,this.$_scheduleHide(t,e),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var t;this.$_isDisposed&&(this.$_isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=(null==(t=this.referenceNode)?void 0:t.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(t=>t.nodeType===t.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.$_isDisposed||(this.$_isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.$_isDisposed||this.positioningDisabled)return;const t={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&t.middleware.push(wl({mainAxis:this.distance,crossAxis:this.skidding}));const e=this.placement.startsWith("auto");if(e?t.middleware.push(gl({alignment:this.placement.split("-")[1]??""})):t.placement=this.placement,this.preventOverflow&&(this.shift&&t.middleware.push(xl({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!e&&this.flip&&t.middleware.push(vl({padding:this.overflowPadding,boundary:this.boundary}))),t.middleware.push(ml({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&t.middleware.push({name:"arrowOverflow",fn:({placement:t,rects:e,middlewareData:n})=>{let r;const{centerOffset:o}=n.arrow;return r=t.startsWith("top")||t.startsWith("bottom")?Math.abs(o)>e.reference.width/2:Math.abs(o)>e.reference.height/2,{data:{overflow:r}}}}),this.autoMinSize||this.autoSize){const e=this.autoSize?this.autoSize:this.autoMinSize?"min":null;t.middleware.push({name:"autoSize",fn:({rects:t,placement:n,middlewareData:r})=>{var o;if(null!=(o=r.autoSize)&&o.skip)return{};let i,a;return n.startsWith("top")||n.startsWith("bottom")?i=t.reference.width:a=t.reference.height,this.$_innerNode.style["min"===e?"minWidth":"max"===e?"maxWidth":"width"]=null!=i?`${i}px`:null,this.$_innerNode.style["min"===e?"minHeight":"max"===e?"maxHeight":"height"]=null!=a?`${a}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,t.middleware.push($l({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:t,availableHeight:e})=>{this.$_innerNode.style.maxWidth=null!=t?`${t}px`:null,this.$_innerNode.style.maxHeight=null!=e?`${e}px`:null}})));const n=await nd(this.$_referenceNode,this.$_popperNode,t);Object.assign(this.result,{x:n.x,y:n.y,placement:n.placement,strategy:n.strategy,arrow:{...n.middlewareData.arrow,...n.middlewareData.arrowOverflow}})},$_scheduleShow(t=null,e=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),fd&&this.instantMove&&fd.instantMove&&fd!==this.parentPopper)return fd.$_applyHide(!0),void this.$_applyShow(!0);e?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(t=null,e=!1){this.shownChildren.size>0?this.$_pendingHide=!0:(this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(fd=this),e?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide")))},$_computeDelay(t){const e=this.delay;return parseInt(e&&e[t]||e||0)},async $_applyShow(t=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=t,!this.isShown&&(this.$_ensureTeleport(),await hd(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...Kl(this.$_referenceNode),...Kl(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const t=this.$_referenceNode.getBoundingClientRect(),e=this.$_popperNode.querySelector(".v-popper__wrapper"),n=e.parentNode.getBoundingClientRect(),r=t.x+t.width/2-(n.left+e.offsetLeft),o=t.y+t.height/2-(n.top+e.offsetTop);this.result.transformOrigin=`${r}px ${o}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const t=this.showGroup;if(t){let e;for(let n=0;n<md.length;n++)e=md[n],e.showGroup!==t&&(e.hide(),e.$emit("close-group"))}md.push(this),document.body.classList.add("v-popper--some-open");for(const e of ad(this.theme))vd(e).push(this),document.body.classList.add(`v-popper--some-open--${e}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await hd(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(t=!1){if(this.shownChildren.size>0)return this.$_pendingHide=!0,void(this.$_hideInProgress=!1);if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=t,pd(md,this),0===md.length&&document.body.classList.remove("v-popper--some-open");for(const n of ad(this.theme)){const t=vd(n);pd(t,this),0===t.length&&document.body.classList.remove(`v-popper--some-open--${n}`)}fd===this&&(fd=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const e=this.disposeTimeout;null!==e&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},e)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await hd(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.$_isDisposed)return;let t=this.container;if("string"==typeof t?t=window.document.querySelector(t):!1===t&&(t=this.$_targetNodes[0].parentNode),!t)throw new Error("No container for popover: "+this.container);t.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const t=t=>{this.isShown&&!this.$_hideInProgress||(t.usedByTooltip=!0,!this.$_preventShow&&this.show({event:t}))};this.$_registerTriggerListeners(this.$_targetNodes,cd,this.triggers,this.showTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],cd,this.popperTriggers,this.popperShowTriggers,t);const e=t=>{t.usedByTooltip||this.hide({event:t})};this.$_registerTriggerListeners(this.$_targetNodes,ud,this.triggers,this.hideTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],ud,this.popperTriggers,this.popperHideTriggers,e)},$_registerEventListeners(t,e,n){this.$_events.push({targetNodes:t,eventType:e,handler:n}),t.forEach(t=>t.addEventListener(e,n,sd?{passive:!0}:void 0))},$_registerTriggerListeners(t,e,n,r,o){let i=n;null!=r&&(i="function"==typeof r?r(i):r),i.forEach(n=>{const r=e[n];r&&this.$_registerEventListeners(t,r,o)})},$_removeEventListeners(t){const e=[];this.$_events.forEach(n=>{const{targetNodes:r,eventType:o,handler:i}=n;t&&t!==o?e.push(n):r.forEach(t=>t.removeEventListener(o,i))}),this.$_events=e},$_refreshListeners(){this.$_isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(t,e=!1){this.$_showFrameLocked||(this.hide({event:t}),t.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),e&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(t,e){for(const n of this.$_targetNodes){const r=n.getAttribute(t);r&&(n.removeAttribute(t),n.setAttribute(e,r))}},$_applyAttrsToTarget(t){for(const e of this.$_targetNodes)for(const n in t){const r=t[n];null==r?e.removeAttribute(n):e.setAttribute(n,r)}},$_updateParentShownChildren(t){let e=this.parentPopper;for(;e;)t?e.shownChildren.add(this.randomId):(e.shownChildren.delete(this.randomId),e.$_pendingHide&&e.hide()),e=e.parentPopper},$_isAimingPopper(){const t=this.$_referenceNode.getBoundingClientRect();if(Id>=t.left&&Id<=t.right&&Pd>=t.top&&Pd<=t.bottom){const t=this.$_popperNode.getBoundingClientRect(),e=Id-Ed,n=Pd-Ad,r=t.left+t.width/2-Ed+(t.top+t.height/2)-Ad+t.width+t.height,o=Ed+e*r,i=Ad+n*r;return Dd(Ed,Ad,o,i,t.left,t.top,t.left,t.bottom)||Dd(Ed,Ad,o,i,t.left,t.top,t.right,t.top)||Dd(Ed,Ad,o,i,t.right,t.top,t.right,t.bottom)||Dd(Ed,Ad,o,i,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});function $d(t){for(let e=0;e<md.length;e++){const n=md[e];try{const e=n.popperNode();n.$_mouseDownContains=e.contains(t.target)}catch{}}}function Cd(t){_d(t)}function kd(t){_d(t,!0)}function _d(t,e=!1){const n={};for(let r=md.length-1;r>=0;r--){const o=md[r];try{const r=o.$_containsGlobalTarget=Sd(o,t);o.$_pendingHide=!1,requestAnimationFrame(()=>{if(o.$_pendingHide=!1,!n[o.randomId]&&Td(o,r,t)){if(o.$_handleGlobalClose(t,e),!t.closeAllPopover&&t.closePopover&&r){let t=o.parentPopper;for(;t;)n[t.randomId]=!0,t=t.parentPopper;return}let i=o.parentPopper;for(;i&&Td(i,i.$_containsGlobalTarget,t);)i.$_handleGlobalClose(t,e),i=i.parentPopper}})}catch{}}}function Sd(t,e){const n=t.popperNode();return t.$_mouseDownContains||n.contains(e.target)}function Td(t,e,n){return n.closeAllPopover||n.closePopover&&e||Md(t,n)&&!e}function Md(t,e){if("function"==typeof t.autoHide){const n=t.autoHide(e);return t.lastAutoHide=n,n}return t.autoHide}function Od(t){for(let e=0;e<md.length;e++)md[e].$_computePosition(t)}typeof document<"u"&&typeof window<"u"&&(ld?(document.addEventListener("touchstart",$d,!sd||{passive:!0,capture:!0}),document.addEventListener("touchend",kd,!sd||{passive:!0,capture:!0})):(window.addEventListener("mousedown",$d,!0),window.addEventListener("click",Cd,!0)),window.addEventListener("resize",Od));let Ed=0,Ad=0,Id=0,Pd=0;function Dd(t,e,n,r,o,i,a,s){const l=((a-o)*(e-i)-(s-i)*(t-o))/((s-i)*(n-t)-(a-o)*(r-e)),d=((n-t)*(e-i)-(r-e)*(t-o))/((s-i)*(n-t)-(a-o)*(r-e));return l>=0&&l<=1&&d>=0&&d<=1}typeof window<"u"&&window.addEventListener("mousemove",t=>{Ed=Id,Ad=Pd,Id=t.clientX,Pd=t.clientY},sd?{passive:!0}:void 0);const Rd={extends:xd()},Ld=(t,e)=>{const n=t.__vccOpts||t;for(const[r,o]of e)n[r]=o;return n};function Nd(t,e,n,r,o,i){return Yo(),ni("div",{ref:"reference",class:J(["v-popper",{"v-popper--shown":t.slotData.isShown}])},[Tr(t.$slots,"default",X(ui(t.slotData)))],2)}const jd=Ld(Rd,[["render",Nd]]);function Bd(){var t=window.navigator.userAgent,e=t.indexOf("MSIE ");if(e>0)return parseInt(t.substring(e+5,t.indexOf(".",e)),10);var n=t.indexOf("Trident/");if(n>0){var r=t.indexOf("rv:");return parseInt(t.substring(r+3,t.indexOf(".",r)),10)}var o=t.indexOf("Edge/");return o>0?parseInt(t.substring(o+5,t.indexOf(".",o)),10):-1}let Fd;function Vd(){Vd.init||(Vd.init=!0,Fd=-1!==Bd())}var Ud={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){Vd(),rn(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const t=document.createElement("object");this._resizeObject=t,t.setAttribute("aria-hidden","true"),t.setAttribute("tabindex",-1),t.onload=this.addResizeHandlers,t.type="text/html",Fd&&this.$el.appendChild(t),t.data="about:blank",Fd||this.$el.appendChild(t)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!Fd&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const Hd=yn("data-v-b329ee4c");vn("data-v-b329ee4c");const zd={class:"resize-observer",tabindex:"-1"};bn();const Gd=Hd((t,e,n,r,o,i)=>(Yo(),ri("div",zd)));Ud.render=Gd,Ud.__scopeId="data-v-b329ee4c",Ud.__file="src/components/ResizeObserver.vue";const qd=(t="theme")=>({computed:{themeClass(){return id(this[t])}}}),Wd=Jn({name:"VPopperContent",components:{ResizeObserver:Ud},mixins:[qd()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(t){return null==t||isNaN(t)?null:`${t}px`}}}),Jd=["id","aria-hidden","tabindex","data-popper-placement"],Xd={ref:"inner",class:"v-popper__inner"},Kd=li("div",{class:"v-popper__arrow-outer"},null,-1),Yd=li("div",{class:"v-popper__arrow-inner"},null,-1),Zd=[Kd,Yd];function Qd(t,e,n,r,o,i){const a=wr("ResizeObserver");return Yo(),ni("div",{id:t.popperId,ref:"popover",class:J(["v-popper__popper",[t.themeClass,t.classes.popperClass,{"v-popper__popper--shown":t.shown,"v-popper__popper--hidden":!t.shown,"v-popper__popper--show-from":t.classes.showFrom,"v-popper__popper--show-to":t.classes.showTo,"v-popper__popper--hide-from":t.classes.hideFrom,"v-popper__popper--hide-to":t.classes.hideTo,"v-popper__popper--skip-transition":t.skipTransition,"v-popper__popper--arrow-overflow":t.result&&t.result.arrow.overflow,"v-popper__popper--no-positioning":!t.result}]]),style:H(t.result?{position:t.result.strategy,transform:`translate3d(${Math.round(t.result.x)}px,${Math.round(t.result.y)}px,0)`}:void 0),"aria-hidden":t.shown?"false":"true",tabindex:t.autoHide?0:void 0,"data-popper-placement":t.result?t.result.placement:void 0,onKeyup:e[2]||(e[2]=Es(e=>t.autoHide&&t.$emit("hide"),["esc"]))},[li("div",{class:"v-popper__backdrop",onClick:e[0]||(e[0]=e=>t.autoHide&&t.$emit("hide"))}),li("div",{class:"v-popper__wrapper",style:H(t.result?{transformOrigin:t.result.transformOrigin}:void 0)},[li("div",Xd,[t.mounted?(Yo(),ni(Go,{key:0},[li("div",null,[Tr(t.$slots,"default")]),t.handleResize?(Yo(),ri(a,{key:0,onNotify:e[1]||(e[1]=e=>t.$emit("resize",e))})):fi("",!0)],64)):fi("",!0)],512),li("div",{ref:"arrow",class:"v-popper__arrow-container",style:H(t.result?{left:t.toPx(t.result.arrow.x),top:t.toPx(t.result.arrow.y)}:void 0)},Zd,4)],4)],46,Jd)}const tc=Ld(Wd,[["render",Qd]]),ec={methods:{show(...t){return this.$refs.popper.show(...t)},hide(...t){return this.$refs.popper.hide(...t)},dispose(...t){return this.$refs.popper.dispose(...t)},onResize(...t){return this.$refs.popper.onResize(...t)}}},nc=Jn({name:"VPopperWrapper",components:{Popper:jd,PopperContent:tc},mixins:[ec,qd("finalTheme")],props:{theme:{type:String,default:null},referenceNode:{type:Function,default:null},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:void 0},positioningDisabled:{type:Boolean,default:void 0},placement:{type:String,default:void 0},delay:{type:[String,Number,Object],default:void 0},distance:{type:[Number,String],default:void 0},skidding:{type:[Number,String],default:void 0},triggers:{type:Array,default:void 0},showTriggers:{type:[Array,Function],default:void 0},hideTriggers:{type:[Array,Function],default:void 0},popperTriggers:{type:Array,default:void 0},popperShowTriggers:{type:[Array,Function],default:void 0},popperHideTriggers:{type:[Array,Function],default:void 0},container:{type:[String,Object,Element,Boolean],default:void 0},boundary:{type:[String,Element],default:void 0},strategy:{type:String,default:void 0},autoHide:{type:[Boolean,Function],default:void 0},handleResize:{type:Boolean,default:void 0},instantMove:{type:Boolean,default:void 0},eagerMount:{type:Boolean,default:void 0},popperClass:{type:[String,Array,Object],default:void 0},computeTransformOrigin:{type:Boolean,default:void 0},autoMinSize:{type:Boolean,default:void 0},autoSize:{type:[Boolean,String],default:void 0},autoMaxSize:{type:Boolean,default:void 0},autoBoundaryMaxSize:{type:Boolean,default:void 0},preventOverflow:{type:Boolean,default:void 0},overflowPadding:{type:[Number,String],default:void 0},arrowPadding:{type:[Number,String],default:void 0},arrowOverflow:{type:Boolean,default:void 0},flip:{type:Boolean,default:void 0},shift:{type:Boolean,default:void 0},shiftCrossAxis:{type:Boolean,default:void 0},noAutoFocus:{type:Boolean,default:void 0},disposeTimeout:{type:Number,default:void 0}},emits:{show:()=>!0,hide:()=>!0,"update:shown":t=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(t=>t!==this.$refs.popperContent.$el)}}});function rc(t,e,n,r,o,i){const a=wr("PopperContent"),s=wr("Popper");return Yo(),ri(s,yi({ref:"popper"},t.$props,{theme:t.finalTheme,"target-nodes":t.getTargetNodes,"popper-node":()=>t.$refs.popperContent.$el,class:[t.themeClass],onShow:e[0]||(e[0]=()=>t.$emit("show")),onHide:e[1]||(e[1]=()=>t.$emit("hide")),"onUpdate:shown":e[2]||(e[2]=e=>t.$emit("update:shown",e)),onApplyShow:e[3]||(e[3]=()=>t.$emit("apply-show")),onApplyHide:e[4]||(e[4]=()=>t.$emit("apply-hide")),onCloseGroup:e[5]||(e[5]=()=>t.$emit("close-group")),onCloseDirective:e[6]||(e[6]=()=>t.$emit("close-directive")),onAutoHide:e[7]||(e[7]=()=>t.$emit("auto-hide")),onResize:e[8]||(e[8]=()=>t.$emit("resize"))}),{default:wn(({popperId:e,isShown:n,shouldMountContent:r,skipTransition:o,autoHide:i,show:s,hide:l,handleResize:d,onResize:c,classes:u,result:p})=>[Tr(t.$slots,"default",{shown:n,show:s,hide:l}),di(a,{ref:"popperContent","popper-id":e,theme:t.finalTheme,shown:n,mounted:r,"skip-transition":o,"auto-hide":i,"handle-resize":d,classes:u,result:p,onHide:l,onResize:c},{default:wn(()=>[Tr(t.$slots,"popper",{shown:n,hide:l})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},16,["theme","target-nodes","popper-node","class"])}const oc=Ld(nc,[["render",rc]]),ic=Jn({name:"VTooltipDirective",components:{Popper:xd(),PopperContent:tc},mixins:[ec],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:t=>od(t.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:t=>od(t.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return"function"==typeof this.content},loading(){return this.isContentAsync&&null==this.asyncContent},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(t){if("function"==typeof this.content&&this.$_isShown&&(t||!this.$_loading&&null==this.asyncContent)){this.asyncContent=null,this.$_loading=!0;const t=++this.$_fetchId,e=this.content(this);e.then?e.then(e=>this.onResult(t,e)):this.onResult(t,e)}},onResult(t,e){t===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=e)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),ac=["innerHTML"],sc=["textContent"];function lc(t,e,n,r,o,i){const a=wr("PopperContent"),s=wr("Popper");return Yo(),ri(s,yi({ref:"popper"},t.$attrs,{theme:t.theme,"target-nodes":t.targetNodes,"popper-node":()=>t.$refs.popperContent.$el,onApplyShow:t.onShow,onApplyHide:t.onHide}),{default:wn(({popperId:e,isShown:n,shouldMountContent:r,skipTransition:o,autoHide:i,hide:s,handleResize:l,onResize:d,classes:c,result:u})=>[di(a,{ref:"popperContent",class:J({"v-popper--tooltip-loading":t.loading}),"popper-id":e,theme:t.theme,shown:n,mounted:r,"skip-transition":o,"auto-hide":i,"handle-resize":l,classes:c,result:u,onHide:s,onResize:d},{default:wn(()=>[t.html?(Yo(),ni("div",{key:0,innerHTML:t.finalContent},null,8,ac)):(Yo(),ni("div",{key:1,textContent:rt(t.finalContent)},null,8,sc))]),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:1},16,["theme","target-nodes","popper-node","onApplyShow","onApplyHide"])}const dc=Ld(ic,[["render",lc]]),cc="v-popper--has-tooltip";function uc(t,e){let n=t.placement;if(!n&&e)for(const r of dd)e[r]&&(n=r);return n||(n=od(t.theme||"tooltip","placement")),n}function pc(t,e,n){let r;const o=typeof e;return r="string"===o?{content:e}:e&&"object"===o?e:{content:!1},r.placement=uc(r,n),r.targetNodes=()=>[t],r.referenceNode=()=>t,r}let hc,mc,fc=0;function gc(){if(hc)return;mc=Ie([]),hc=Ds({name:"VTooltipDirectiveApp",setup(){return{directives:mc}},render(){return this.directives.map(t=>zi(dc,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const t=document.createElement("div");document.body.appendChild(t),hc.mount(t)}function vc(t,e,n){gc();const r=Ie(pc(t,e,n)),o=Ie(!1),i={id:fc++,options:r,shown:o};return mc.value.push(i),t.classList&&t.classList.add(cc),t.$_popper={options:r,item:i,show(){o.value=!0},hide(){o.value=!1}}}function bc(t){if(t.$_popper){const e=mc.value.indexOf(t.$_popper.item);-1!==e&&mc.value.splice(e,1),delete t.$_popper,delete t.$_popperOldShown,delete t.$_popperMountTarget}t.classList&&t.classList.remove(cc)}function yc(t,{value:e,modifiers:n}){const r=pc(t,e,n);if(!r.content||od(r.theme||"tooltip","disabled"))bc(t);else{let o;t.$_popper?(o=t.$_popper,o.options.value=r):o=vc(t,e,n),typeof e.shown<"u"&&e.shown!==t.$_popperOldShown&&(t.$_popperOldShown=e.shown,e.shown?o.show():o.hide())}}const wc={beforeMount:yc,updated:yc,beforeUnmount(t){bc(t)}};const xc=wc;var $c=Object.defineProperty,Cc=Object.getOwnPropertySymbols,kc=Object.prototype.hasOwnProperty,_c=Object.prototype.propertyIsEnumerable,Sc=(t,e,n)=>e in t?$c(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Tc=(t,e)=>{for(var n in e||(e={}))kc.call(e,n)&&Sc(t,n,e[n]);if(Cc)for(var n of Cc(e))_c.call(e,n)&&Sc(t,n,e[n]);return t},Mc=t=>"function"===typeof t,Oc=t=>"string"===typeof t,Ec=t=>Oc(t)&&t.trim().length>0,Ac=t=>"number"===typeof t,Ic=t=>"undefined"===typeof t,Pc=t=>"object"===typeof t&&null!==t,Dc=t=>Fc(t,"tag")&&Ec(t.tag),Rc=t=>window.TouchEvent&&t instanceof TouchEvent,Lc=t=>Fc(t,"component")&&jc(t.component),Nc=t=>Mc(t)||Pc(t),jc=t=>!Ic(t)&&(Oc(t)||Nc(t)||Lc(t)),Bc=t=>Pc(t)&&["height","width","right","left","top","bottom"].every(e=>Ac(t[e])),Fc=(t,e)=>(Pc(t)||Mc(t))&&e in t,Vc=(t=>()=>t++)(0);function Uc(t){return Rc(t)?t.targetTouches[0].clientX:t.clientX}function Hc(t){return Rc(t)?t.targetTouches[0].clientY:t.clientY}var zc,Gc,qc,Wc=t=>{Ic(t.remove)?t.parentNode&&t.parentNode.removeChild(t):t.remove()},Jc=t=>Lc(t)?Jc(t.component):Dc(t)?Jn({render(){return t}}):"string"===typeof t?t:Te(Re(t)),Xc=t=>{if("string"===typeof t)return t;const e=Fc(t,"props")&&Pc(t.props)?t.props:{},n=Fc(t,"listeners")&&Pc(t.listeners)?t.listeners:{};return{component:Jc(t),props:e,listeners:n}},Kc=()=>"undefined"!==typeof window,Yc=class{constructor(){this.allHandlers={}}getHandlers(t){return this.allHandlers[t]||[]}on(t,e){const n=this.getHandlers(t);n.push(e),this.allHandlers[t]=n}off(t,e){const n=this.getHandlers(t);n.splice(n.indexOf(e)>>>0,1)}emit(t,e){const n=this.getHandlers(t);n.forEach(t=>t(e))}},Zc=t=>["on","off","emit"].every(e=>Fc(t,e)&&Mc(t[e]));(function(t){t["SUCCESS"]="success",t["ERROR"]="error",t["WARNING"]="warning",t["INFO"]="info",t["DEFAULT"]="default"})(zc||(zc={})),function(t){t["TOP_LEFT"]="top-left",t["TOP_CENTER"]="top-center",t["TOP_RIGHT"]="top-right",t["BOTTOM_LEFT"]="bottom-left",t["BOTTOM_CENTER"]="bottom-center",t["BOTTOM_RIGHT"]="bottom-right"}(Gc||(Gc={})),function(t){t["ADD"]="add",t["DISMISS"]="dismiss",t["UPDATE"]="update",t["CLEAR"]="clear",t["UPDATE_DEFAULTS"]="update_defaults"}(qc||(qc={}));var Qc="Vue-Toastification",tu={type:{type:String,default:zc.DEFAULT},classNames:{type:[String,Array],default:()=>[]},trueBoolean:{type:Boolean,default:!0}},eu={type:tu.type,customIcon:{type:[String,Boolean,Object,Function],default:!0}},nu={component:{type:[String,Object,Function,Boolean],default:"button"},classNames:tu.classNames,showOnHover:{type:Boolean,default:!1},ariaLabel:{type:String,default:"close"}},ru={timeout:{type:[Number,Boolean],default:5e3},hideProgressBar:{type:Boolean,default:!1},isRunning:{type:Boolean,default:!1}},ou={transition:{type:[Object,String],default:`${Qc}__bounce`}},iu={position:{type:String,default:Gc.TOP_RIGHT},draggable:tu.trueBoolean,draggablePercent:{type:Number,default:.6},pauseOnFocusLoss:tu.trueBoolean,pauseOnHover:tu.trueBoolean,closeOnClick:tu.trueBoolean,timeout:ru.timeout,hideProgressBar:ru.hideProgressBar,toastClassName:tu.classNames,bodyClassName:tu.classNames,icon:eu.customIcon,closeButton:nu.component,closeButtonClassName:nu.classNames,showCloseButtonOnHover:nu.showOnHover,accessibility:{type:Object,default:()=>({toastRole:"alert",closeButtonLabel:"close"})},rtl:{type:Boolean,default:!1},eventBus:{type:Object,required:!1,default:()=>new Yc}},au={id:{type:[String,Number],required:!0,default:0},type:tu.type,content:{type:[String,Object,Function],required:!0,default:""},onClick:{type:Function,default:void 0},onClose:{type:Function,default:void 0}},su={container:{type:[Object,Function],default:()=>document.body},newestOnTop:tu.trueBoolean,maxToasts:{type:Number,default:20},transition:ou.transition,toastDefaults:Object,filterBeforeCreate:{type:Function,default:t=>t},filterToasts:{type:Function,default:t=>t},containerClassName:tu.classNames,onMounted:Function,shareAppContext:[Boolean,Object]},lu={CORE_TOAST:iu,TOAST:au,CONTAINER:su,PROGRESS_BAR:ru,ICON:eu,TRANSITION:ou,CLOSE_BUTTON:nu},du=Jn({name:"VtProgressBar",props:lu.PROGRESS_BAR,data(){return{hasClass:!0}},computed:{style(){return{animationDuration:`${this.timeout}ms`,animationPlayState:this.isRunning?"running":"paused",opacity:this.hideProgressBar?0:1}},cpClass(){return this.hasClass?`${Qc}__progress-bar`:""}},watch:{timeout(){this.hasClass=!1,this.$nextTick(()=>this.hasClass=!0)}},mounted(){this.$el.addEventListener("animationend",this.animationEnded)},beforeUnmount(){this.$el.removeEventListener("animationend",this.animationEnded)},methods:{animationEnded(){this.$emit("close-toast")}}});function cu(t,e){return Yo(),ni("div",{style:H(t.style),class:J(t.cpClass)},null,6)}du.render=cu;var uu=du,pu=Jn({name:"VtCloseButton",props:lu.CLOSE_BUTTON,computed:{buttonComponent(){return!1!==this.component?Jc(this.component):"button"},classes(){const t=[`${Qc}__close-button`];return this.showOnHover&&t.push("show-on-hover"),t.concat(this.classNames)}}}),hu=hi(" × ");function mu(t,e){return Yo(),ri($r(t.buttonComponent),yi({"aria-label":t.ariaLabel,class:t.classes},t.$attrs),{default:wn(()=>[hu]),_:1},16,["aria-label","class"])}pu.render=mu;var fu=pu,gu={},vu={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"check-circle",class:"svg-inline--fa fa-check-circle fa-w-16",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},bu=li("path",{fill:"currentColor",d:"M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"},null,-1),yu=[bu];function wu(t,e){return Yo(),ni("svg",vu,yu)}gu.render=wu;var xu=gu,$u={},Cu={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"info-circle",class:"svg-inline--fa fa-info-circle fa-w-16",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},ku=li("path",{fill:"currentColor",d:"M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"},null,-1),_u=[ku];function Su(t,e){return Yo(),ni("svg",Cu,_u)}$u.render=Su;var Tu=$u,Mu={},Ou={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"exclamation-circle",class:"svg-inline--fa fa-exclamation-circle fa-w-16",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},Eu=li("path",{fill:"currentColor",d:"M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zm-248 50c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"},null,-1),Au=[Eu];function Iu(t,e){return Yo(),ni("svg",Ou,Au)}Mu.render=Iu;var Pu=Mu,Du={},Ru={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"exclamation-triangle",class:"svg-inline--fa fa-exclamation-triangle fa-w-18",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512"},Lu=li("path",{fill:"currentColor",d:"M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"},null,-1),Nu=[Lu];function ju(t,e){return Yo(),ni("svg",Ru,Nu)}Du.render=ju;var Bu=Du,Fu=Jn({name:"VtIcon",props:lu.ICON,computed:{customIconChildren(){return Fc(this.customIcon,"iconChildren")?this.trimValue(this.customIcon.iconChildren):""},customIconClass(){return Oc(this.customIcon)?this.trimValue(this.customIcon):Fc(this.customIcon,"iconClass")?this.trimValue(this.customIcon.iconClass):""},customIconTag(){return Fc(this.customIcon,"iconTag")?this.trimValue(this.customIcon.iconTag,"i"):"i"},hasCustomIcon(){return this.customIconClass.length>0},component(){return this.hasCustomIcon?this.customIconTag:jc(this.customIcon)?Jc(this.customIcon):this.iconTypeComponent},iconTypeComponent(){const t={[zc.DEFAULT]:Tu,[zc.INFO]:Tu,[zc.SUCCESS]:xu,[zc.ERROR]:Bu,[zc.WARNING]:Pu};return t[this.type]},iconClasses(){const t=[`${Qc}__icon`];return this.hasCustomIcon?t.concat(this.customIconClass):t}},methods:{trimValue(t,e=""){return Ec(t)?t.trim():e}}});function Vu(t,e){return Yo(),ri($r(t.component),{class:J(t.iconClasses)},{default:wn(()=>[hi(rt(t.customIconChildren),1)]),_:1},8,["class"])}Fu.render=Vu;var Uu=Fu,Hu=Jn({name:"VtToast",components:{ProgressBar:uu,CloseButton:fu,Icon:Uu},inheritAttrs:!1,props:Object.assign({},lu.CORE_TOAST,lu.TOAST),data(){const t={isRunning:!0,disableTransitions:!1,beingDragged:!1,dragStart:0,dragPos:{x:0,y:0},dragRect:{}};return t},computed:{classes(){const t=[`${Qc}__toast`,`${Qc}__toast--${this.type}`,`${this.position}`].concat(this.toastClassName);return this.disableTransitions&&t.push("disable-transition"),this.rtl&&t.push(`${Qc}__toast--rtl`),t},bodyClasses(){const t=[`${Qc}__toast-${Oc(this.content)?"body":"component-body"}`].concat(this.bodyClassName);return t},draggableStyle(){return this.dragStart===this.dragPos.x?{}:this.beingDragged?{transform:`translateX(${this.dragDelta}px)`,opacity:1-Math.abs(this.dragDelta/this.removalDistance)}:{transition:"transform 0.2s, opacity 0.2s",transform:"translateX(0)",opacity:1}},dragDelta(){return this.beingDragged?this.dragPos.x-this.dragStart:0},removalDistance(){return Bc(this.dragRect)?(this.dragRect.right-this.dragRect.left)*this.draggablePercent:0}},mounted(){this.draggable&&this.draggableSetup(),this.pauseOnFocusLoss&&this.focusSetup()},beforeUnmount(){this.draggable&&this.draggableCleanup(),this.pauseOnFocusLoss&&this.focusCleanup()},methods:{hasProp:Fc,getVueComponentFromObj:Jc,closeToast(){this.eventBus.emit(qc.DISMISS,this.id)},clickHandler(){this.onClick&&this.onClick(this.closeToast),this.closeOnClick&&(this.beingDragged&&this.dragStart!==this.dragPos.x||this.closeToast())},timeoutHandler(){this.closeToast()},hoverPause(){this.pauseOnHover&&(this.isRunning=!1)},hoverPlay(){this.pauseOnHover&&(this.isRunning=!0)},focusPause(){this.isRunning=!1},focusPlay(){this.isRunning=!0},focusSetup(){addEventListener("blur",this.focusPause),addEventListener("focus",this.focusPlay)},focusCleanup(){removeEventListener("blur",this.focusPause),removeEventListener("focus",this.focusPlay)},draggableSetup(){const t=this.$el;t.addEventListener("touchstart",this.onDragStart,{passive:!0}),t.addEventListener("mousedown",this.onDragStart),addEventListener("touchmove",this.onDragMove,{passive:!1}),addEventListener("mousemove",this.onDragMove),addEventListener("touchend",this.onDragEnd),addEventListener("mouseup",this.onDragEnd)},draggableCleanup(){const t=this.$el;t.removeEventListener("touchstart",this.onDragStart),t.removeEventListener("mousedown",this.onDragStart),removeEventListener("touchmove",this.onDragMove),removeEventListener("mousemove",this.onDragMove),removeEventListener("touchend",this.onDragEnd),removeEventListener("mouseup",this.onDragEnd)},onDragStart(t){this.beingDragged=!0,this.dragPos={x:Uc(t),y:Hc(t)},this.dragStart=Uc(t),this.dragRect=this.$el.getBoundingClientRect()},onDragMove(t){this.beingDragged&&(t.preventDefault(),this.isRunning&&(this.isRunning=!1),this.dragPos={x:Uc(t),y:Hc(t)})},onDragEnd(){this.beingDragged&&(Math.abs(this.dragDelta)>=this.removalDistance?(this.disableTransitions=!0,this.$nextTick(()=>this.closeToast())):setTimeout(()=>{this.beingDragged=!1,Bc(this.dragRect)&&this.pauseOnHover&&this.dragRect.bottom>=this.dragPos.y&&this.dragPos.y>=this.dragRect.top&&this.dragRect.left<=this.dragPos.x&&this.dragPos.x<=this.dragRect.right?this.isRunning=!1:this.isRunning=!0}))}}}),zu=["role"];function Gu(t,e){const n=wr("Icon"),r=wr("CloseButton"),o=wr("ProgressBar");return Yo(),ni("div",{class:J(t.classes),style:H(t.draggableStyle),onClick:e[0]||(e[0]=(...e)=>t.clickHandler&&t.clickHandler(...e)),onMouseenter:e[1]||(e[1]=(...e)=>t.hoverPause&&t.hoverPause(...e)),onMouseleave:e[2]||(e[2]=(...e)=>t.hoverPlay&&t.hoverPlay(...e))},[t.icon?(Yo(),ri(n,{key:0,"custom-icon":t.icon,type:t.type},null,8,["custom-icon","type"])):fi("v-if",!0),li("div",{role:t.accessibility.toastRole||"alert",class:J(t.bodyClasses)},["string"===typeof t.content?(Yo(),ni(Go,{key:0},[hi(rt(t.content),1)],2112)):(Yo(),ri($r(t.getVueComponentFromObj(t.content)),yi({key:1,"toast-id":t.id},t.hasProp(t.content,"props")?t.content.props:{},Or(t.hasProp(t.content,"listeners")?t.content.listeners:{}),{onCloseToast:t.closeToast}),null,16,["toast-id","onCloseToast"]))],10,zu),t.closeButton?(Yo(),ri(r,{key:1,component:t.closeButton,"class-names":t.closeButtonClassName,"show-on-hover":t.showCloseButtonOnHover,"aria-label":t.accessibility.closeButtonLabel,onClick:Ms(t.closeToast,["stop"])},null,8,["component","class-names","show-on-hover","aria-label","onClick"])):fi("v-if",!0),t.timeout?(Yo(),ri(o,{key:2,"is-running":t.isRunning,"hide-progress-bar":t.hideProgressBar,timeout:t.timeout,onCloseToast:t.timeoutHandler},null,8,["is-running","hide-progress-bar","timeout","onCloseToast"])):fi("v-if",!0)],38)}Hu.render=Gu;var qu=Hu,Wu=Jn({name:"VtTransition",props:lu.TRANSITION,emits:["leave"],methods:{hasProp:Fc,leave(t){t instanceof HTMLElement&&(t.style.left=t.offsetLeft+"px",t.style.top=t.offsetTop+"px",t.style.width=getComputedStyle(t).width,t.style.position="absolute")}}});function Ju(t,e){return Yo(),ri(os,{tag:"div","enter-active-class":t.transition.enter?t.transition.enter:`${t.transition}-enter-active`,"move-class":t.transition.move?t.transition.move:`${t.transition}-move`,"leave-active-class":t.transition.leave?t.transition.leave:`${t.transition}-leave-active`,onLeave:t.leave},{default:wn(()=>[Tr(t.$slots,"default")]),_:3},8,["enter-active-class","move-class","leave-active-class","onLeave"])}Wu.render=Ju;var Xu=Wu,Ku=Jn({name:"VueToastification",devtools:{hide:!0},components:{Toast:qu,VtTransition:Xu},props:Object.assign({},lu.CORE_TOAST,lu.CONTAINER,lu.TRANSITION),data(){const t={count:0,positions:Object.values(Gc),toasts:{},defaults:{}};return t},computed:{toastArray(){return Object.values(this.toasts)},filteredToasts(){return this.defaults.filterToasts(this.toastArray)}},beforeMount(){const t=this.eventBus;t.on(qc.ADD,this.addToast),t.on(qc.CLEAR,this.clearToasts),t.on(qc.DISMISS,this.dismissToast),t.on(qc.UPDATE,this.updateToast),t.on(qc.UPDATE_DEFAULTS,this.updateDefaults),this.defaults=this.$props},mounted(){this.setup(this.container)},methods:{async setup(t){Mc(t)&&(t=await t()),Wc(this.$el),t.appendChild(this.$el)},setToast(t){Ic(t.id)||(this.toasts[t.id]=t)},addToast(t){t.content=Xc(t.content);const e=Object.assign({},this.defaults,t.type&&this.defaults.toastDefaults&&this.defaults.toastDefaults[t.type],t),n=this.defaults.filterBeforeCreate(e,this.toastArray);n&&this.setToast(n)},dismissToast(t){const e=this.toasts[t];Ic(e)||Ic(e.onClose)||e.onClose(),delete this.toasts[t]},clearToasts(){Object.keys(this.toasts).forEach(t=>{this.dismissToast(t)})},getPositionToasts(t){const e=this.filteredToasts.filter(e=>e.position===t).slice(0,this.defaults.maxToasts);return this.defaults.newestOnTop?e.reverse():e},updateDefaults(t){Ic(t.container)||this.setup(t.container),this.defaults=Object.assign({},this.defaults,t)},updateToast({id:t,options:e,create:n}){this.toasts[t]?(e.timeout&&e.timeout===this.toasts[t].timeout&&e.timeout++,this.setToast(Object.assign({},this.toasts[t],e))):n&&this.addToast(Object.assign({},{id:t},e))},getClasses(t){const e=[`${Qc}__container`,t];return e.concat(this.defaults.containerClassName)}}});function Yu(t,e){const n=wr("Toast"),r=wr("VtTransition");return Yo(),ni("div",null,[(Yo(!0),ni(Go,null,Sr(t.positions,e=>(Yo(),ni("div",{key:e},[di(r,{transition:t.defaults.transition,class:J(t.getClasses(e))},{default:wn(()=>[(Yo(!0),ni(Go,null,Sr(t.getPositionToasts(e),t=>(Yo(),ri(n,yi({key:t.id},t),null,16))),128))]),_:2},1032,["transition","class"])]))),128))])}Ku.render=Yu;var Zu=Ku,Qu=(t={},e=!0)=>{const n=t.eventBus=t.eventBus||new Yc;e&&rn(()=>{const e=Ds(Zu,Tc({},t)),n=e.mount(document.createElement("div")),r=t.onMounted;if(Ic(r)||r(n,e),t.shareAppContext){const n=t.shareAppContext;!0===n?console.warn(`[${Qc}] App to share context with was not provided.`):(e._context.components=n._context.components,e._context.directives=n._context.directives,e._context.mixins=n._context.mixins,e._context.provides=n._context.provides,e.config.globalProperties=n.config.globalProperties)}});const r=(t,e)=>{const r=Object.assign({},{id:Vc(),type:zc.DEFAULT},e,{content:t});return n.emit(qc.ADD,r),r.id};function o(t,{content:e,options:r},o=!1){const i=Object.assign({},r,{content:e});n.emit(qc.UPDATE,{id:t,options:i,create:o})}return r.clear=()=>n.emit(qc.CLEAR,void 0),r.updateDefaults=t=>{n.emit(qc.UPDATE_DEFAULTS,t)},r.dismiss=t=>{n.emit(qc.DISMISS,t)},r.update=o,r.success=(t,e)=>r(t,Object.assign({},e,{type:zc.SUCCESS})),r.info=(t,e)=>r(t,Object.assign({},e,{type:zc.INFO})),r.error=(t,e)=>r(t,Object.assign({},e,{type:zc.ERROR})),r.warning=(t,e)=>r(t,Object.assign({},e,{type:zc.WARNING})),r},tp=()=>{const t=()=>console.warn(`[${Qc}] This plugin does not support SSR!`);return new Proxy(t,{get(){return t}})};function ep(t){return Kc()?Zc(t)?Qu({eventBus:t},!1):Qu(t,!0):tp()}var np=Symbol("VueToastification"),rp=new Yc,op=(t,e)=>{!0===(null==e?void 0:e.shareAppContext)&&(e.shareAppContext=t);const n=ep(Tc({eventBus:rp},e));t.provide(np,n)},ip=t=>{if(t)return ep(t);const e=_i()?kn(np,void 0):void 0;return e||ep(rp)},ap=op;n(4114),n(9112),n(7642),n(8004),n(3853),n(5876),n(2475),n(5024),n(1698);function sp(){return lp().__VUE_DEVTOOLS_GLOBAL_HOOK__}function lp(){return"undefined"!==typeof navigator&&"undefined"!==typeof window?window:"undefined"!==typeof globalThis?globalThis:{}}const dp="function"===typeof Proxy,cp="devtools-plugin:setup",up="plugin:settings:set";let pp,hp;function mp(){var t;return void 0!==pp||("undefined"!==typeof window&&window.performance?(pp=!0,hp=window.performance):"undefined"!==typeof globalThis&&(null===(t=globalThis.perf_hooks)||void 0===t?void 0:t.performance)?(pp=!0,hp=globalThis.perf_hooks.performance):pp=!1),pp}function fp(){return mp()?hp.now():Date.now()}class gp{constructor(t,e){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=e;const n={};if(t.settings)for(const i in t.settings){const e=t.settings[i];n[i]=e.defaultValue}const r=`__vue-devtools-plugin-settings__${t.id}`;let o=Object.assign({},n);try{const t=localStorage.getItem(r),e=JSON.parse(t);Object.assign(o,e)}catch(PN){}this.fallbacks={getSettings(){return o},setSettings(t){try{localStorage.setItem(r,JSON.stringify(t))}catch(PN){}o=t},now(){return fp()}},e&&e.on(up,(t,e)=>{t===this.plugin.id&&this.fallbacks.setSettings(e)}),this.proxiedOn=new Proxy({},{get:(t,e)=>this.target?this.target.on[e]:(...t)=>{this.onQueue.push({method:e,args:t})}}),this.proxiedTarget=new Proxy({},{get:(t,e)=>this.target?this.target[e]:"on"===e?this.proxiedOn:Object.keys(this.fallbacks).includes(e)?(...t)=>(this.targetQueue.push({method:e,args:t,resolve:()=>{}}),this.fallbacks[e](...t)):(...t)=>new Promise(n=>{this.targetQueue.push({method:e,args:t,resolve:n})})})}async setRealTarget(t){this.target=t;for(const e of this.onQueue)this.target.on[e.method](...e.args);for(const e of this.targetQueue)e.resolve(await this.target[e.method](...e.args))}}function vp(t,e){const n=t,r=lp(),o=sp(),i=dp&&n.enableEarlyProxy;if(!o||!r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__&&i){const t=i?new gp(n,o):null,a=r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[];a.push({pluginDescriptor:n,setupFn:e,proxy:t}),t&&e(t.proxiedTarget)}else o.emit(cp,t,e)}var bp="store";
14
+ /*!
15
+ * vuex v4.1.0
16
+ * (c) 2022 Evan You
17
+ * @license MIT
18
+ */function yp(t,e){Object.keys(t).forEach(function(n){return e(t[n],n)})}function wp(t){return null!==t&&"object"===typeof t}function xp(t){return t&&"function"===typeof t.then}function $p(t,e){return function(){return t(e)}}function Cp(t,e,n){return e.indexOf(t)<0&&(n&&n.prepend?e.unshift(t):e.push(t)),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function kp(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;Sp(t,n,[],t._modules.root,!0),_p(t,n,e)}function _p(t,e,n){var r=t._state,o=t._scope;t.getters={},t._makeLocalGettersCache=Object.create(null);var i=t._wrappedGetters,a={},s={},l=dt(!0);l.run(function(){yp(i,function(e,n){a[n]=$p(e,t),s[n]=Hi(function(){return a[n]()}),Object.defineProperty(t.getters,n,{get:function(){return s[n].value},enumerable:!0})})}),t._state=ye({data:e}),t._scope=l,t.strict&&Ip(t),r&&n&&t._withCommit(function(){r.data=null}),o&&o.stop()}function Sp(t,e,n,r,o){var i=!n.length,a=t._modules.getNamespace(n);if(r.namespaced&&(t._modulesNamespaceMap[a],t._modulesNamespaceMap[a]=r),!i&&!o){var s=Pp(e,n.slice(0,-1)),l=n[n.length-1];t._withCommit(function(){s[l]=r.state})}var d=r.context=Tp(t,a,n);r.forEachMutation(function(e,n){var r=a+n;Op(t,r,e,d)}),r.forEachAction(function(e,n){var r=e.root?n:a+n,o=e.handler||e;Ep(t,r,o,d)}),r.forEachGetter(function(e,n){var r=a+n;Ap(t,r,e,d)}),r.forEachChild(function(r,i){Sp(t,e,n.concat(i),r,o)})}function Tp(t,e,n){var r=""===e,o={dispatch:r?t.dispatch:function(n,r,o){var i=Dp(n,r,o),a=i.payload,s=i.options,l=i.type;return s&&s.root||(l=e+l),t.dispatch(l,a)},commit:r?t.commit:function(n,r,o){var i=Dp(n,r,o),a=i.payload,s=i.options,l=i.type;s&&s.root||(l=e+l),t.commit(l,a,s)}};return Object.defineProperties(o,{getters:{get:r?function(){return t.getters}:function(){return Mp(t,e)}},state:{get:function(){return Pp(t.state,n)}}}),o}function Mp(t,e){if(!t._makeLocalGettersCache[e]){var n={},r=e.length;Object.keys(t.getters).forEach(function(o){if(o.slice(0,r)===e){var i=o.slice(r);Object.defineProperty(n,i,{get:function(){return t.getters[o]},enumerable:!0})}}),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}function Op(t,e,n,r){var o=t._mutations[e]||(t._mutations[e]=[]);o.push(function(e){n.call(t,r.state,e)})}function Ep(t,e,n,r){var o=t._actions[e]||(t._actions[e]=[]);o.push(function(e){var o=n.call(t,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:t.getters,rootState:t.state},e);return xp(o)||(o=Promise.resolve(o)),t._devtoolHook?o.catch(function(e){throw t._devtoolHook.emit("vuex:error",e),e}):o})}function Ap(t,e,n,r){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(t){return n(r.state,r.getters,t.state,t.getters)})}function Ip(t){Tn(function(){return t._state.data},function(){0},{deep:!0,flush:"sync"})}function Pp(t,e){return e.reduce(function(t,e){return t[e]},t)}function Dp(t,e,n){return wp(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}var Rp="vuex bindings",Lp="vuex:mutations",Np="vuex:actions",jp="vuex",Bp=0;function Fp(t,e){vp({id:"org.vuejs.vuex",app:t,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:[Rp]},function(n){n.addTimelineLayer({id:Lp,label:"Vuex Mutations",color:Vp}),n.addTimelineLayer({id:Np,label:"Vuex Actions",color:Vp}),n.addInspector({id:jp,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree(function(n){if(n.app===t&&n.inspectorId===jp)if(n.filter){var r=[];Wp(r,e._modules.root,n.filter,""),n.rootNodes=r}else n.rootNodes=[qp(e._modules.root,"")]}),n.on.getInspectorState(function(n){if(n.app===t&&n.inspectorId===jp){var r=n.nodeId;Mp(e,r),n.state=Jp(Kp(e._modules,r),"root"===r?e.getters:e._makeLocalGettersCache,r)}}),n.on.editInspectorState(function(n){if(n.app===t&&n.inspectorId===jp){var r=n.nodeId,o=n.path;"root"!==r&&(o=r.split("/").filter(Boolean).concat(o)),e._withCommit(function(){n.set(e._state.data,o,n.state.value)})}}),e.subscribe(function(t,e){var r={};t.payload&&(r.payload=t.payload),r.state=e,n.notifyComponentUpdate(),n.sendInspectorTree(jp),n.sendInspectorState(jp),n.addTimelineEvent({layerId:Lp,event:{time:Date.now(),title:t.type,data:r}})}),e.subscribeAction({before:function(t,e){var r={};t.payload&&(r.payload=t.payload),t._id=Bp++,t._time=Date.now(),r.state=e,n.addTimelineEvent({layerId:Np,event:{time:t._time,title:t.type,groupId:t._id,subtitle:"start",data:r}})},after:function(t,e){var r={},o=Date.now()-t._time;r.duration={_custom:{type:"duration",display:o+"ms",tooltip:"Action duration",value:o}},t.payload&&(r.payload=t.payload),r.state=e,n.addTimelineEvent({layerId:Np,event:{time:Date.now(),title:t.type,groupId:t._id,subtitle:"end",data:r}})}})})}var Vp=8702998,Up=6710886,Hp=16777215,zp={label:"namespaced",textColor:Hp,backgroundColor:Up};function Gp(t){return t&&"root"!==t?t.split("/").slice(-2,-1)[0]:"Root"}function qp(t,e){return{id:e||"root",label:Gp(e),tags:t.namespaced?[zp]:[],children:Object.keys(t._children).map(function(n){return qp(t._children[n],e+n+"/")})}}function Wp(t,e,n,r){r.includes(n)&&t.push({id:r||"root",label:r.endsWith("/")?r.slice(0,r.length-1):r||"Root",tags:e.namespaced?[zp]:[]}),Object.keys(e._children).forEach(function(o){Wp(t,e._children[o],n,r+o+"/")})}function Jp(t,e,n){e="root"===n?e:e[n];var r=Object.keys(e),o={state:Object.keys(t.state).map(function(e){return{key:e,editable:!0,value:t.state[e]}})};if(r.length){var i=Xp(e);o.getters=Object.keys(i).map(function(t){return{key:t.endsWith("/")?Gp(t):t,editable:!1,value:Yp(function(){return i[t]})}})}return o}function Xp(t){var e={};return Object.keys(t).forEach(function(n){var r=n.split("/");if(r.length>1){var o=e,i=r.pop();r.forEach(function(t){o[t]||(o[t]={_custom:{value:{},display:t,tooltip:"Module",abstract:!0}}),o=o[t]._custom.value}),o[i]=Yp(function(){return t[n]})}else e[n]=Yp(function(){return t[n]})}),e}function Kp(t,e){var n=e.split("/").filter(function(t){return t});return n.reduce(function(t,r,o){var i=t[r];if(!i)throw new Error('Missing module "'+r+'" for path "'+e+'".');return o===n.length-1?i:i._children},"root"===e?t:t.root._children)}function Yp(t){try{return t()}catch(PN){return PN}}var Zp=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"===typeof n?n():n)||{}},Qp={namespaced:{configurable:!0}};Qp.namespaced.get=function(){return!!this._rawModule.namespaced},Zp.prototype.addChild=function(t,e){this._children[t]=e},Zp.prototype.removeChild=function(t){delete this._children[t]},Zp.prototype.getChild=function(t){return this._children[t]},Zp.prototype.hasChild=function(t){return t in this._children},Zp.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},Zp.prototype.forEachChild=function(t){yp(this._children,t)},Zp.prototype.forEachGetter=function(t){this._rawModule.getters&&yp(this._rawModule.getters,t)},Zp.prototype.forEachAction=function(t){this._rawModule.actions&&yp(this._rawModule.actions,t)},Zp.prototype.forEachMutation=function(t){this._rawModule.mutations&&yp(this._rawModule.mutations,t)},Object.defineProperties(Zp.prototype,Qp);var th=function(t){this.register([],t,!1)};function eh(t,e,n){if(e.update(n),n.modules)for(var r in n.modules){if(!e.getChild(r))return void 0;eh(t.concat(r),e.getChild(r),n.modules[r])}}th.prototype.get=function(t){return t.reduce(function(t,e){return t.getChild(e)},this.root)},th.prototype.getNamespace=function(t){var e=this.root;return t.reduce(function(t,n){return e=e.getChild(n),t+(e.namespaced?n+"/":"")},"")},th.prototype.update=function(t){eh([],this.root,t)},th.prototype.register=function(t,e,n){var r=this;void 0===n&&(n=!0);var o=new Zp(e,n);if(0===t.length)this.root=o;else{var i=this.get(t.slice(0,-1));i.addChild(t[t.length-1],o)}e.modules&&yp(e.modules,function(e,o){r.register(t.concat(o),e,n)})},th.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1],r=e.getChild(n);r&&r.runtime&&e.removeChild(n)},th.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];return!!e&&e.hasChild(n)};function nh(t){return new rh(t)}var rh=function(t){var e=this;void 0===t&&(t={});var n=t.plugins;void 0===n&&(n=[]);var r=t.strict;void 0===r&&(r=!1);var o=t.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new th(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._scope=null,this._devtools=o;var i=this,a=this,s=a.dispatch,l=a.commit;this.dispatch=function(t,e){return s.call(i,t,e)},this.commit=function(t,e,n){return l.call(i,t,e,n)},this.strict=r;var d=this._modules.root.state;Sp(this,d,[],this._modules.root),_p(this,d),n.forEach(function(t){return t(e)})},oh={state:{configurable:!0}};rh.prototype.install=function(t,e){t.provide(e||bp,this),t.config.globalProperties.$store=this;var n=void 0!==this._devtools&&this._devtools;n&&Fp(t,this)},oh.state.get=function(){return this._state.data},oh.state.set=function(t){0},rh.prototype.commit=function(t,e,n){var r=this,o=Dp(t,e,n),i=o.type,a=o.payload,s=(o.options,{type:i,payload:a}),l=this._mutations[i];l&&(this._withCommit(function(){l.forEach(function(t){t(a)})}),this._subscribers.slice().forEach(function(t){return t(s,r.state)}))},rh.prototype.dispatch=function(t,e){var n=this,r=Dp(t,e),o=r.type,i=r.payload,a={type:o,payload:i},s=this._actions[o];if(s){try{this._actionSubscribers.slice().filter(function(t){return t.before}).forEach(function(t){return t.before(a,n.state)})}catch(PN){0}var l=s.length>1?Promise.all(s.map(function(t){return t(i)})):s[0](i);return new Promise(function(t,e){l.then(function(e){try{n._actionSubscribers.filter(function(t){return t.after}).forEach(function(t){return t.after(a,n.state)})}catch(PN){0}t(e)},function(t){try{n._actionSubscribers.filter(function(t){return t.error}).forEach(function(e){return e.error(a,n.state,t)})}catch(PN){0}e(t)})})}},rh.prototype.subscribe=function(t,e){return Cp(t,this._subscribers,e)},rh.prototype.subscribeAction=function(t,e){var n="function"===typeof t?{before:t}:t;return Cp(n,this._actionSubscribers,e)},rh.prototype.watch=function(t,e,n){var r=this;return Tn(function(){return t(r.state,r.getters)},e,Object.assign({},n))},rh.prototype.replaceState=function(t){var e=this;this._withCommit(function(){e._state.data=t})},rh.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"===typeof t&&(t=[t]),this._modules.register(t,e),Sp(this,this.state,t,this._modules.get(t),n.preserveState),_p(this,this.state)},rh.prototype.unregisterModule=function(t){var e=this;"string"===typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit(function(){var n=Pp(e.state,t.slice(0,-1));delete n[t[t.length-1]]}),kp(this)},rh.prototype.hasModule=function(t){return"string"===typeof t&&(t=[t]),this._modules.isRegistered(t)},rh.prototype.hotUpdate=function(t){this._modules.update(t),kp(this,!0)},rh.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(rh.prototype,oh);var ih=ch(function(t,e){var n={};return lh(e).forEach(function(e){var r=e.key,o=e.val;n[r]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var r=uh(this.$store,"mapState",t);if(!r)return;e=r.context.state,n=r.context.getters}return"function"===typeof o?o.call(this,e,n):e[o]},n[r].vuex=!0}),n}),ah=ch(function(t,e){var n={};return lh(e).forEach(function(e){var r=e.key,o=e.val;n[r]=function(){var e=[],n=arguments.length;while(n--)e[n]=arguments[n];var r=this.$store.commit;if(t){var i=uh(this.$store,"mapMutations",t);if(!i)return;r=i.context.commit}return"function"===typeof o?o.apply(this,[r].concat(e)):r.apply(this.$store,[o].concat(e))}}),n}),sh=ch(function(t,e){var n={};return lh(e).forEach(function(e){var r=e.key,o=e.val;o=t+o,n[r]=function(){if(!t||uh(this.$store,"mapGetters",t))return this.$store.getters[o]},n[r].vuex=!0}),n});ch(function(t,e){var n={};return lh(e).forEach(function(e){var r=e.key,o=e.val;n[r]=function(){var e=[],n=arguments.length;while(n--)e[n]=arguments[n];var r=this.$store.dispatch;if(t){var i=uh(this.$store,"mapActions",t);if(!i)return;r=i.context.dispatch}return"function"===typeof o?o.apply(this,[r].concat(e)):r.apply(this.$store,[o].concat(e))}}),n});function lh(t){return dh(t)?Array.isArray(t)?t.map(function(t){return{key:t,val:t}}):Object.keys(t).map(function(e){return{key:e,val:t[e]}}):[]}function dh(t){return Array.isArray(t)||wp(t)}function ch(t){return function(e,n){return"string"!==typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function uh(t,e,n){var r=t._modulesNamespaceMap[n];return r}n(8111),n(2489),n(8237),n(3110);var ph=n(4744),hh=n.n(ph);let mh;mh=class{get length(){return Object.keys(this).length}key(t){return Object.keys(this)[t]}setItem(t,e){this[t]=e.toString()}getItem(t){return this[t]}removeItem(t){delete this[t]}clear(){for(let t of Object.keys(this))delete this[t]}};class fh{constructor(){this._queue=[],this._flushing=!1}enqueue(t){return this._queue.push(t),this._flushing?Promise.resolve():this.flushQueue()}flushQueue(){this._flushing=!0;const t=()=>{const e=this._queue.shift();if(e)return e.then(t);this._flushing=!1};return Promise.resolve(t())}}const gh={replaceArrays:{arrayMerge:(t,e,n)=>e},concatArrays:{arrayMerge:(t,e,n)=>t.concat(...e)}};function vh(t,e,n){return hh()(t,e,gh[n])}let bh=JSON;class yh{constructor(t){this._mutex=new fh,this.subscriber=t=>e=>t.subscribe(e),"undefined"===typeof t&&(t={}),this.key=null!=t.key?t.key:"vuex",this.subscribed=!1,this.supportCircular=t.supportCircular||!1,this.supportCircular&&(bh=n(7035)),this.mergeOption=t.mergeOption||"replaceArrays";let e=!0;try{window.localStorage.getItem("")}catch(r){e=!1}if(t.storage)this.storage=t.storage;else if(e)this.storage=window.localStorage;else{if(!mh)throw new Error("Neither 'window' is defined, nor 'MockStorage' is available");this.storage=new mh}this.reducer=null!=t.reducer?t.reducer:null==t.modules?t=>t:e=>t.modules.reduce((t,n)=>vh(t,{[n]:e[n]},this.mergeOption),{}),this.filter=t.filter||(t=>!0),this.strictMode=t.strictMode||!1,this.RESTORE_MUTATION=function(t,e){const n=vh(t,e||{},this.mergeOption);for(const r of Object.keys(n))this._vm.$set(t,r,n[r])},this.asyncStorage=t.asyncStorage||!1,this.asyncStorage?(this.restoreState=null!=t.restoreState?t.restoreState:(t,e)=>e.getItem(t).then(t=>"string"===typeof t?this.supportCircular?bh.parse(t||"{}"):JSON.parse(t||"{}"):t||{}),this.saveState=null!=t.saveState?t.saveState:(t,e,n)=>n.setItem(t,this.asyncStorage?vh({},e||{},this.mergeOption):this.supportCircular?bh.stringify(e):JSON.stringify(e)),this.plugin=t=>{t.restored=this.restoreState(this.key,this.storage).then(e=>{this.strictMode?t.commit("RESTORE_MUTATION",e):t.replaceState(vh(t.state,e||{},this.mergeOption)),this.subscriber(t)((t,e)=>{this.filter(t)&&this._mutex.enqueue(this.saveState(this.key,this.reducer(e),this.storage))}),this.subscribed=!0})}):(this.restoreState=null!=t.restoreState?t.restoreState:(t,e)=>{const n=e.getItem(t);return"string"===typeof n?this.supportCircular?bh.parse(n||"{}"):JSON.parse(n||"{}"):n||{}},this.saveState=null!=t.saveState?t.saveState:(t,e,n)=>n.setItem(t,this.supportCircular?bh.stringify(e):JSON.stringify(e)),this.plugin=t=>{const e=this.restoreState(this.key,this.storage);this.strictMode?t.commit("RESTORE_MUTATION",e):t.replaceState(vh(t.state,e||{},this.mergeOption)),this.subscriber(t)((t,e)=>{this.filter(t)&&this.saveState(this.key,this.reducer(e),this.storage)}),this.subscribed=!0})}}var wh=yh;n(7588);function xh(t){return{all:t=t||new Map,on:function(e,n){var r=t.get(e);r?r.push(n):t.set(e,[n])},off:function(e,n){var r=t.get(e);r&&(n?r.splice(r.indexOf(n)>>>0,1):t.set(e,[]))},emit:function(e,n){var r=t.get(e);r&&r.slice().map(function(t){t(n)}),(r=t.get("*"))&&r.slice().map(function(t){t(e,n)})}}}n.dn(xh);const $h=xh();var Ch=n(2505),kh=n.n(Ch),_h=n(7522),Sh=n.n(_h),Th=n(9106),Mh=n.n(Th),Oh=n(9615),Eh=n.n(Oh),Ah=n(9516);async function Ih(t){const e=Dh(t),n=[Ph(e,t)];t.timeout&&t.timeout>0&&n.push(new Promise(n=>{setTimeout(()=>{const r=t.timeoutErrorMessage?t.timeoutErrorMessage:"timeout of "+t.timeout+"ms exceeded";n(Rh(r,t,"ECONNABORTED",e))},t.timeout)}));const r=await Promise.race(n);return new Promise((e,n)=>{r instanceof Error?n(r):"[object Function]"===Object.prototype.toString.call(t.settle)?t.settle(e,n,r):Sh()(e,n,r)})}async function Ph(t,e){let n;try{n=await fetch(t)}catch(PN){return Rh("Network Error",e,"ERR_NETWORK",t)}const r={ok:n.ok,status:n.status,statusText:n.statusText,headers:new Headers(n.headers),config:e,request:t};if(n.status>=200&&204!==n.status)switch(e.responseType){case"arraybuffer":r.data=await n.arrayBuffer();break;case"blob":r.data=await n.blob();break;case"json":r.data=await n.json();break;case"formData":r.data=await n.formData();break;default:r.data=await n.text();break}return r}function Dh(t){const e=new Headers(t.headers);if(t.auth){const n=t.auth.username||"",r=t.auth.password?decodeURI(encodeURIComponent(t.auth.password)):"";e.set("Authorization",`Basic ${btoa(n+":"+r)}`)}const n=t.method.toUpperCase(),r={headers:e,method:n};"GET"!==n&&"HEAD"!==n&&(r.body=t.data,(0,Ah.isFormData)(r.body)&&(0,Ah.isStandardBrowserEnv)()&&e.delete("Content-Type")),t.mode&&(r.mode=t.mode),t.cache&&(r.cache=t.cache),t.integrity&&(r.integrity=t.integrity),t.redirect&&(r.redirect=t.redirect),t.referrer&&(r.referrer=t.referrer),(0,Ah.isUndefined)(t.withCredentials)||(r.credentials=t.withCredentials?"include":"omit");const o=Eh()(t.baseURL,t.url),i=Mh()(o,t.params,t.paramsSerializer);return new Request(i,r)}function Rh(t,e,n,r,o){if(kh().AxiosError&&"function"===typeof kh().AxiosError)return new(kh().AxiosError)(t,kh().AxiosError[n],e,r,o);var i=new Error(t);return Lh(i,e,n,r,o)}function Lh(t,e,n,r,o){return t.config=e,n&&(t.code=n),t.request=r,t.response=o,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},t}let Nh=!1;const jh=kh().create({baseURL:"https://api.bravophone.com/api/v1/",adapter:Ih});jh.configToken=t=>new Promise(e=>(jh.defaults.headers.common.Authorization=t,Nh=!0,e())),jh.clearToken=()=>{delete jh.defaults.headers.common.Authorization,Nh=!1},jh.hasToken=()=>Nh;const Bh=t=>t,Fh=t=>t.response?t.response.data.error?Promise.reject(t.response.data.error):Promise.reject(t.response):Promise.reject(t);jh.interceptors.response.use(Bh,Fh);var Vh=jh;function Uh(){return new Promise(t=>{chrome.storage.sync.get("bravophoneDebug",({bravophoneDebug:e})=>{"enabled"===e&&t()})})}function Hh(){chrome.storage.sync.set({bravophoneIntegrationActiveCampaign:"disabled"}),chrome.storage.sync.set({bravophoneIntegrationAgendor:"disabled"}),chrome.storage.sync.set({bravophoneIntegrationAppFacilita:"disabled"}),chrome.storage.sync.set({bravophoneIntegrationExactSales:"disabled"}),chrome.storage.sync.set({bravophoneIntegrationGroner:"disabled"}),chrome.storage.sync.set({bravophoneIntegrationHubspot:"disabled"}),chrome.storage.sync.set({bravophoneIntegrationKommo:"disabled"}),chrome.storage.sync.set({bravophoneIntegrationMoskit:"disabled"}),chrome.storage.sync.set({bravophoneIntegrationNectar:"disabled"}),chrome.storage.sync.set({bravophoneIntegrationPipedrive:"disabled"}),chrome.storage.sync.set({bravophoneIntegrationPipefy:"disabled"}),chrome.storage.sync.set({bravophoneIntegrationPiperun:"disabled"}),chrome.storage.sync.set({bravophoneIntegrationPloomes:"disabled"}),chrome.storage.sync.set({bravophoneIntegrationRDStationCRM:"disabled"}),chrome.storage.sync.set({bravophoneIntegrationSalesforce:"disabled"}),chrome.storage.sync.set({bravophoneIntegrationSharpSpring:"disabled"}),chrome.storage.sync.set({bravophoneIntegrationZendesk:"disabled"}),chrome.storage.sync.set({bravophoneIntegrationZoho:"disabled"}),chrome.storage.sync.set({bravophoneIntegrationClickup:"disabled"}),chrome.storage.sync.set({bravophoneIntegrationGoHighLevel:"disabled"}),Uh().then(()=>console.info("BravoPhone > App > integrations disabled"))}function zhLegado(t){Vh.clearToken(),t("clearToken"),t("clearExtension"),t("clearContactDialer"),Hh(t)}function zh(t){bpPanelLogout(),zhLegado(t)}function Gh(){return Vh.put("/onboarding/me/webphone-installed",{}).catch(()=>null)}async function qh(){if("undefined"===typeof navigator||!navigator.mediaDevices)return null;try{let t=!1;if(navigator.permissions&&navigator.permissions.query)try{const e=await navigator.permissions.query({name:"microphone"});if("denied"===e.state)return null;"granted"===e.state&&(t=!0)}catch(Pd){}if(!t){const t=await navigator.mediaDevices.getUserMedia({audio:!0});t.getTracks().forEach(t=>t.stop())}return Vh.put("/onboarding/me/microphone-authorized",{}).catch(()=>null)}catch(Pd){return null}}function bpLoadLocalCallHistory(){return new Promise(t=>{chrome.storage.local.get("bravophoneCallHistoryLocal",e=>{t(Array.isArray(e.bravophoneCallHistoryLocal)?e.bravophoneCallHistoryLocal:[])})})}function bpSaveLocalCallHistory(t){return bpLoadLocalCallHistory().then(e=>{const n=[t,...e].slice(0,200);return new Promise(t=>{chrome.storage.local.set({bravophoneCallHistoryLocal:n},()=>t(n))})})}/* ===== BravoPhone :: API centralizada (proxy) =====
19
+ AMBIENTE: HOMOLOGACAO.
20
+ Para virar para PRODUCAO troque APENAS a constante abaixo para
21
+ "https://reports.teambravotech.com" e o host_permissions correspondente
22
+ no manifest.json. Nenhuma outra URL de backend pode ficar chapada. */
23
+ const BP_API_BASE="https://reports-hmg.teambravotech.com";function bpApiUrl(t){const e=String(t||"");return`${BP_API_BASE}${e.startsWith("/")?e:"/"+e}`}const BP_SESSION_KEYS=["bravophoneVxToken","bravophoneVxTokenExpiresAt","bravophoneSip","bravophoneTenant","bravophoneRamal","bravophoneClienteId","bravophoneRamaisUrl"];function bpSaveSession(t){const e={bravophoneVxToken:t&&t.vxToken||null,bravophoneVxTokenExpiresAt:t&&t.expiresIn?Date.now()+1e3*Number(t.expiresIn):null,bravophoneSip:t&&t.sip||null,bravophoneTenant:t&&t.tenant||null,bravophoneRamal:t&&t.ramal||null,bravophoneClienteId:t&&t.clienteId||null,bravophoneRamaisUrl:t&&t.ramaisUrl||null};return console.log("BravoPhone DEBUG > bpSaveSession > gravando sessao do proxy",{sip:e.bravophoneSip,ramal:e.bravophoneRamal,clienteId:e.bravophoneClienteId,temToken:!!e.bravophoneVxToken}),new Promise(t=>{chrome.storage.local.set(e,()=>t(e))})}function bpLoadSession(){return new Promise(t=>{chrome.storage.local.get(BP_SESSION_KEYS,e=>t({vxToken:e.bravophoneVxToken||null,expiresAt:e.bravophoneVxTokenExpiresAt||null,sip:e.bravophoneSip||null,tenant:e.bravophoneTenant||null,ramal:e.bravophoneRamal||null,clienteId:e.bravophoneClienteId||null,ramaisUrl:e.bravophoneRamaisUrl||null}))})}function bpClearSession(){return new Promise(t=>{chrome.storage.local.remove(BP_SESSION_KEYS,()=>t())})}function bpBoxHost(t){const x=t&&"object"==typeof t?t:null,d=x&&x.domnioWebrtc?String(x.domnioWebrtc).trim().replace(/^wss?:\/\//i,"").replace(/\/+$/,""):"",p=x&&x.portaWebrtc?String(x.portaWebrtc).trim():"";if(d)return d.indexOf(":")>0?d:p?d+":"+p:d;const s=x?x.domain||x.server||"":t,e=/:(\d+)\s*$/.exec(String(s||"")),n=e?e[1].slice(-2):"";return console.warn("BravoPhone DEBUG > bpBoxHost > login sem domnioWebrtc/portaWebrtc; usando fallback legado",s),`box${n}.voxfree.com:5080`}function bpBoxWss(t){return`wss://${bpBoxHost(t)}/`}function bpPanelLogout(){return bpLoadSession().then(t=>t.vxToken?fetch(bpApiUrl("/api/voxfree/logout"),{method:"POST",headers:{"X-Vx-Token":t.vxToken}}).catch(t=>(console.warn("BravoPhone DEBUG > bpPanelLogout > falhou (ignorado)",t),null)):null).catch(()=>null).then(()=>bpClearSession())}function bpFetchUserProfile(){console.log("BravoPhone DEBUG > bpFetchUserProfile > start");return bpLoadSession().then(t=>t.vxToken?fetch(bpApiUrl("/api/voxfree/profile"),{headers:{"X-Vx-Token":t.vxToken}}).then(t=>{if(console.log("BravoPhone DEBUG > bpFetchUserProfile > http status",t.status),401===t.status)return console.warn("BravoPhone DEBUG > bpFetchUserProfile > 401: o ci_session do painel expirou (Max-Age ~5h, imposto pela voxfree). O vxToken e eterno e NAO e afetado - sessao mantida, so o perfil fica indisponivel"),null;if(409===t.status)return console.warn("BravoPhone DEBUG > bpFetchUserProfile > painel fora no momento do login; sem nome/email/whatsapp (token segue valido)"),null;return t.json().then(t=>t&&t.ok&&t.profile?{name:t.profile.name||"",email:t.profile.email||"",whatsapp:t.profile.whatsapp||""}:(console.warn("BravoPhone DEBUG > bpFetchUserProfile > resposta sem profile",t),null))}):(console.log("BravoPhone DEBUG > bpFetchUserProfile > sem vxToken, sessao ausente"),null)).catch(t=>(console.error("BravoPhone DEBUG > bpFetchUserProfile > failed",t),null))}function bpMd5(t){function e(t,e){return t<<e|t>>>32-e}function n(t,e){return t+e>>>0}const r=new Uint32Array([0xd76aa478,0xe8c7b756,0x242070db,0xc1bdceee,0xf57c0faf,0x4787c62a,0xa8304613,0xfd469501,0x698098d8,0x8b44f7af,0xffff5bb1,0x895cd7be,0x6b901122,0xfd987193,0xa679438e,0x49b40821,0xf61e2562,0xc040b340,0x265e5a51,0xe9b6c7aa,0xd62f105d,0x02441453,0xd8a1e681,0xe7d3fbc8,0x21e1cde6,0xc33707d6,0xf4d50d87,0x455a14ed,0xa9e3e905,0xfcefa3f8,0x676f02d9,0x8d2a4c8a,0xfffa3942,0x8771f681,0x6d9d6122,0xfde5380c,0xa4beea44,0x4bdecfa9,0xf6bb4b60,0xbebfbc70,0x289b7ec6,0xeaa127fa,0xd4ef3085,0x04881d05,0xd9d4d039,0xe6db99e5,0x1fa27cf8,0xc4ac5665,0xf4292244,0x432aff97,0xab9423a7,0xfc93a039,0x655b59c3,0x8f0ccc92,0xffeff47d,0x85845dd1,0x6fa87e4f,0xfe2ce6e0,0xa3014314,0x4e0811a1,0xf7537e82,0xbd3af235,0x2ad7d2bb,0xeb86d391]),o=[7,12,17,22,7,12,17,22,7,12,17,22,7,12,17,22,5,9,14,20,5,9,14,20,5,9,14,20,5,9,14,20,4,11,16,23,4,11,16,23,4,11,16,23,4,11,16,23,6,10,15,21,6,10,15,21,6,10,15,21,6,10,15,21],i=(new TextEncoder).encode(t),a=8*i.length,s=new Uint8Array((i.length+8>>>6<<6)+64);s.set(i),s[i.length]=128;const l=new DataView(s.buffer);l.setUint32(s.length-8,a>>>0,!0),l.setUint32(s.length-4,Math.floor(a/4294967296)>>>0,!0);let d=0x67452301,c=0xefcdab89,u=0x98badcfe,p=0x10325476;for(let t=0;t<s.length;t+=64){const i=new Array(16);for(let e=0;e<16;e++)i[e]=l.getUint32(t+4*e,!0);let a=d,f=c,h=u,m=p;for(let t=0;t<64;t++){let l,g;t<16?(l=f&h|~f&m,g=t):t<32?(l=m&f|~m&h,g=(5*t+1)%16):t<48?(l=f^h^m,g=(3*t+5)%16):(l=h^(f|~m),g=7*t%16),l=n(l,n(a,n(r[t],i[g]))),a=m,m=h,h=f,f=n(f,e(l,o[t]))}d=n(d,a),c=n(c,f),u=n(u,h),p=n(p,m)}function y(t){let e="";for(let n=0;n<4;n++)e+=(t>>>8*n&255).toString(16).padStart(2,"0");return e}return y(d)+y(c)+y(u)+y(p)}function Wh({commit:t},n){console.log("BravoPhone DEBUG > login > start",n.email);return fetch(bpApiUrl("/api/voxfree/login"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({username:n.email,password:n.password})}).then(t=>t.json().catch(()=>null).then(e=>({status:t.status,body:e}))).then(({status:e,body:n})=>{if(!n||!0!==n.ok)return console.warn("BravoPhone DEBUG > login > falhou",e,n&&n.message),Promise.reject({statusCode:e,code:"LOGIN_FAILED",message:n&&n.message||"Login failed"});const r=n.panel||{};n.vxToken||console.warn("BravoPhone DEBUG > login > resposta SEM vxToken: ramais e troncos vao falhar e a UI nao vai marcar logado");return console.log("BravoPhone DEBUG > login > ok; sip",n.sip,"clienteId",n.clienteId,"painel autenticado?",!!r.authenticated,r.message||""),bpSaveSession({vxToken:n.vxToken,expiresIn:n.expiresIn,sip:n.sip,tenant:n.tenant,ramal:n.ramal,clienteId:n.clienteId,ramaisUrl:n.ramaisUrl}).then(()=>{t("addExtension",n.extension),r.profile&&t("addUser",{name:r.profile.name||"",email:r.profile.email||"",whatsapp:r.profile.whatsapp||""})})})}function Jh({commit:t}){return Vh.get("/users/me").then(e=>t("addUser",e.data)).catch(e=>(401===e.statusCode&&zhLegado(t),Promise.reject(e)))}function Xh({commit:t}){return Vh.get("/accounts").then(e=>t("addOrganization",e.data)).catch(e=>(401===e.statusCode&&zhLegado(t),Promise.reject(e)))}function Kh({commit:t}){return Vh.get("/integrations?filter[where][gateway]=sippulse").then(e=>{if(e.data&&e.data.length>0){const n=e.data.pop();n.metadata&&t("addExtension",n.metadata)}else t("clearExtension")}).catch(e=>(401===e.statusCode&&zhLegado(t),Promise.reject(e)))}function Yh({commit:t}){return chrome.storage.sync.set({bravophoneIntegrationActiveCampaign:"enabled",bravophoneIntegrationAgendor:"enabled",bravophoneIntegrationAppFacilita:"enabled",bravophoneIntegrationClickup:"enabled",bravophoneIntegrationExactSales:"enabled",bravophoneIntegrationGroner:"enabled",bravophoneIntegrationHubspot:"enabled",bravophoneIntegrationKommo:"enabled",bravophoneIntegrationMoskit:"enabled",bravophoneIntegrationNectar:"enabled",bravophoneIntegrationPipedrive:"enabled",bravophoneIntegrationPipefy:"enabled",bravophoneIntegrationPiperun:"enabled",bravophoneIntegrationPloomes:"enabled",bravophoneIntegrationRDStationCRM:"enabled",bravophoneIntegrationGoHighLevel:"enabled",bravophoneIntegrationSalesforce:"enabled",bravophoneIntegrationSunhub:"enabled",bravophoneIntegrationSharpSpring:"enabled",bravophoneIntegrationZendesk:"enabled",bravophoneIntegrationZoho:"enabled",bravophoneIntegrationVendfly:"enabled"}),t("clearIntegrations"),Promise.resolve()}/* Integracoes de CRM via api.bravophone.com desativadas - nao estamos usando. Implementacao original mantida aqui comentada para uso futuro caso precise reativar: function Yh_backend({commit:t,state:e}){return Vh.get("/integrations?filter[where][gateway][nin]=sippulse&filter[where][gateway][nin]=webhook&filter[order]=gateway asc").then(n=>{Hh(t),n.data&&n.data.length>0?(n.data.forEach(t=>{switch(Uh().then(()=>console.info("BravoPhone > App > integration",t.gateway,e.token.id)),t.gateway){case"activecampaign":chrome.storage.sync.set({bravophoneIntegrationActiveCampaign:e.token.id});break;case"agendor":chrome.storage.sync.set({bravophoneIntegrationAgendor:e.token.id});break;case"appfacilita":chrome.storage.sync.set({bravophoneIntegrationAppFacilita:e.token.id});break;case"clickup":chrome.storage.sync.set({bravophoneIntegrationClickup:e.token.id});break;case"exactsales":chrome.storage.sync.set({bravophoneIntegrationExactSales:e.token.id});break;case"groner":chrome.storage.sync.set({bravophoneIntegrationGroner:e.token.id});break;case"hubspot":chrome.storage.sync.set({bravophoneIntegrationHubspot:e.token.id});break;case"kommo":chrome.storage.sync.set({bravophoneIntegrationKommo:e.token.id});break;case"moskit":chrome.storage.sync.set({bravophoneIntegrationMoskit:e.token.id});break;case"nectar":chrome.storage.sync.set({bravophoneIntegrationNectar:e.token.id});break;case"pipedrive":chrome.storage.sync.set({bravophoneIntegrationPipedrive:e.token.id});break;case"pipefy":chrome.storage.sync.set({bravophoneIntegrationPipefy:e.token.id});break;case"piperun":chrome.storage.sync.set({bravophoneIntegrationPiperun:e.token.id});break;case"ploomes":chrome.storage.sync.set({bravophoneIntegrationPloomes:e.token.id});break;case"rdstation-crm":chrome.storage.sync.set({bravophoneIntegrationRDStationCRM:e.token.id});break;case"go-high-lvl":chrome.storage.sync.set({bravophoneIntegrationGoHighLevel:e.token.id});break;case"salesforce":chrome.storage.sync.set({bravophoneIntegrationSalesforce:e.token.id});break;case"sunhub":chrome.storage.sync.set({bravophoneIntegrationSunhub:e.token.id});break;case"sharpspring":chrome.storage.sync.set({bravophoneIntegrationSharpSpring:e.token.id});break;case"zendesk":chrome.storage.sync.set({bravophoneIntegrationZendesk:e.token.id});break;case"zoho":chrome.storage.sync.set({bravophoneIntegrationZoho:e.token.id});break;case"vendfly":chrome.storage.sync.set({bravophoneIntegrationVendfly:e.token.id});break;default:Uh().then(()=>console.info("BravoPhone > App > integration >",t.gateway,"not implemented yet"))}}),t("setIntegrations",n.data)):t("clearIntegrations")}).catch(e=>(401===e.statusCode&&zhLegado(t),Promise.reject(e)))} */function Zh({commit:t}){return zh(t),Promise.resolve()}function Qh({commit:t,state:e}){return Vh.configToken(e.token.id),Vh.head("/users/accessTokens").then(()=>Promise.resolve()).catch(e=>(401===e.statusCode&&zhLegado(t),Promise.reject(e)))}function tm({commit:t},e){return Vh.post("/users/reset",{email:e}).then(()=>Promise.resolve()).catch(e=>(401===e.statusCode&&zhLegado(t),Promise.reject(e)))}function em(){return Promise.resolve(null)}/* Saldo de creditos via api.bravophone.com desativado - login agora e direto no voxfree, sem sessao nesse backend. Implementacao original mantida aqui comentada para uso futuro caso esse backend volte a existir: function em_backend({commit:t}){return Vh.get("/credits/balance").then(({data:t})=>Promise.resolve(t.balance)).catch(e=>(401===e.statusCode&&zhLegado(t),Promise.reject(e)))} */function nm(){return Promise.resolve(null)}function rm(){return Promise.resolve(null)}/* Checagem de versao via api.bravophone.com/about desativada - nao estamos usando. Implementacao original mantida aqui comentada para uso futuro caso precise reativar: function rm_backend(){return Vh.get("/about").then(({data:t})=>Promise.resolve(t))} */function om({commit:t},e){return Vh.get(`/cdrs?${e}`).then(({data:t})=>Promise.resolve(t)).catch(e=>(401===e.statusCode&&zhLegado(t),Promise.reject(e)))}function im({commit:t,state:e},{fromDate:n,toDate:r,limit:o=100}){return bpLoadLocalCallHistory().then(t=>t.filter(t=>{const e=new Date(t.started_at);return e>=n&&e<=r}).sort((t,e)=>new Date(e.started_at)-new Date(t.started_at)).slice(0,o))}/* Historico de chamadas via api.bravophone.com desativado - login agora e direto no voxfree, sem sessao nesse backend. Implementacao original mantida aqui comentada para uso futuro caso esse backend volte a existir: function im_backend({commit:t,state:e},{fromDate:n,toDate:r,limit:o=100}){const i={started_at:{gte:n.toISOString(),lte:r.toISOString()}};e.user&&e.user.email&&(i.email=e.user.email);const a=JSON.stringify({where:i,limit:o,order:"started_at desc"});return Vh.get(`/calls?page=1&filter=${encodeURIComponent(a)}`).then(({data:t})=>Promise.resolve(t&&Array.isArray(t.data)?t.data:[])).catch(e=>(401===e.statusCode&&zhLegado(t),Promise.reject(e)))} */const am=50,sm=20,lm=new Set(["call-in","call-out","click-to-call"]);function dm(t,e){t.token=e}function cm(t){t.token=null}function um(t,e){t.user=e}function pm(t){t.user=null}function hm(t,e){t.organization=e}function mm(t){t.organization=null}function fm(t,e){t.extension=e;const bpTemExt=!(!e||!e.username||!e.password);bpLoadSession().then(s=>{const bpLogged=bpTemExt&&!!s.vxToken;bpTemExt&&!s.vxToken&&console.warn("BravoPhone DEBUG > addExtension mutation > ramal gravado SEM vxToken no storage: sessao do report ausente");console.log("BravoPhone DEBUG > addExtension mutation > bravophoneWebphoneLoggedIn will be:",bpLogged,e);chrome.storage.local.set({bravophoneWebphoneLoggedIn:bpLogged})})}function gm(t){t.extension=null;console.log("BravoPhone DEBUG > clearExtension mutation > bravophoneWebphoneLoggedIn = false");chrome.storage.local.set({bravophoneWebphoneLoggedIn:!1})}function vm(t,e){t.volume=e}function bm(t,e){t.volumeRinger=e}function ym(t,e){t.volumeTones=e}function wm(t,e){t.volumeRemote=e}function xm(t,e){t.deviceAudioOutputId=e}function $m(t,e){t.deviceAudioInputId=e}function Cm(t,e){t.integrations=e}function km(t){t.integrations=null}function _m(t,e){t.lastVersionCheck=e||new Date}function Sm(t){t.lastVersionCheck=null}function Tm(t,e){const n=t.recents.findIndex(t=>t.id===e.id);-1===n?(t.recents.length>=am&&t.recents.pop(),t.recents.unshift(e)):t.recents.splice(n,1,e)}function Mm(t,e){const n=t.recents.findIndex(t=>t.id===e.id);-1!==n&&t.recents.splice(n,1,e)}function Om(t,e){t.recents=t.recents.filter(t=>t.id!==e.id)}function Em(t){t.recents=[]}function Am(t,e){const n=t.crmContacts.findIndex(t=>t.id===e.id);-1===n?(t.crmContacts.length>=sm&&t.crmContacts.pop(),t.crmContacts.unshift(e)):t.crmContacts.splice(n,1,e)}function Im(t,e){const n=t.crmContacts.findIndex(t=>t.id===e.id);-1!==n&&t.crmContacts.splice(n,1,e)}function Pm(t,e){t.crmContacts=t.crmContacts.filter(t=>t.id!==e.id)}function Dm(t){t.crmContacts=[]}function Rm(t,e){return lm.has(e.gateway)?Tm(t,e):Am(t,e)}function Lm(t,e){return lm.has(e.gateway)?Mm(t,e):Im(t,e)}function Nm(t,e){t.recents=t.recents.filter(t=>t.id!==e.id),t.crmContacts=t.crmContacts.filter(t=>t.id!==e.id)}function jm(t){t.recents=[],t.crmContacts=[]}function Bm(t,e){t.isLogged=e}function Fm(t,e){t.dialerMode=e}function Vm(t){t.dialerMode="manual"}function Um(t,e){t.pingMeasures.push(e)}function Hm(t){t.pingMeasures=[]}function zm(t,e){t.hideConnectivityStatusSlowMessage=e}function Gm(t,e){t.currentTab=e}function qm(t,e){t.callActive=!!e}function Wm(t,e){t.webphoneRegistered=!!e}function Jm(t,e){t.dialDisplayNumber=String(e||"")}function Xm(t,e){t.dialNumberValid=!!e}function Km(t,e){t.callPhase=e||"idle"}function Ym(t,e){t.callTimer=Number(e)||0}function Zm(t,e){t.callMuted=!!e}function Qm(t,e){t.callHeld=!!e}function tf(t,e){t.callIsIncoming=!!e}function ef(t,e){t.callDisplay={name:e&&e.name||"",number:e&&e.number||"",source:e&&e.source||"",photo:e&&e.photo||"",origin:e&&e.origin||"",originWhatsapp:!(!e||!e.originWhatsapp)}}function nf(t,e){t.callDtmf=String(e||"")}function rf(t,e){t.networkState=e||"good"}function of(t,e){t.networkPanelOpen=!!e}function af(t,e){t.suppressNetworkAutoOpen=!!e}function sf(t,e){t.pingFailures.push(e||{measureAt:new Date})}function lf(t){t.pingFailures=[]}const df=["callActive","callDisplay","callDtmf","callHeld","callIsIncoming","callMuted","callPhase","callTimer","currentTab","dialDisplayNumber","dialNumberValid","networkPanelOpen","networkState","pingFailures","suppressNetworkAutoOpen","webphoneRegistered"],cf="bravophone",uf=new Set(["call-in","call-out","click-to-call"]);function pf(t){if(!t||!Array.isArray(t.contacts))return t;const e=Array.isArray(t.recents)?[...t.recents]:[],n=Array.isArray(t.crmContacts)?[...t.crmContacts]:[];for(const o of t.contacts)o&&o.id&&(uf.has(o.gateway)?e.find(t=>t.id===o.id)||e.push(o):n.find(t=>t.id===o.id)||n.push(o));const r={...t,recents:e,crmContacts:n};return delete r.contacts,r}const hf=new wh({key:cf,reducer:t=>{const e={...t};return df.forEach(t=>delete e[t]),delete e.contacts,e},restoreState:(t,e)=>{const n=e.getItem(t);if(!n)return{};let r;try{r="string"===typeof n?JSON.parse(n):n}catch(o){return{}}return pf(r)}}),mf=nh({state(){return{callActive:!1,callDisplay:{name:"",number:"",source:"",photo:"",origin:"",originWhatsapp:!1},callDtmf:"",callHeld:!1,callIsIncoming:!1,callMuted:!1,callPhase:"idle",callTimer:0,crmContacts:[],currentTab:"keypad",dialDisplayNumber:"",dialNumberValid:!1,deviceAudioOutputId:"default",deviceAudioInputId:"default",dialerMode:"manual",extension:null,hideConnectivityStatusSlowMessage:!1,integrations:null,isLogged:!0,lastVersionCheck:null,networkPanelOpen:!1,networkState:"good",pingFailures:[],pingMeasures:[],organization:null,recents:[],suppressNetworkAutoOpen:!1,token:null,user:null,volume:100,volumeRinger:75,volumeTones:50,volumeRemote:100,webphoneRegistered:!1}},getters:{getVersion(){return"5.0.0"},getOldestPingMeasureAt(t){if(0===t.pingMeasures.length)return new Date;const e=t.pingMeasures[0];return e.measureAt}},mutations:e,actions:t,plugins:[hf.plugin]}),ff={style:{"overflow-x":"hidden"}};function gf(t,e,n,r,o,i){const a=wr("webphone-shell"),s=wr("the-login");return Yo(),ni("div",ff,[t.isLogged?(Yo(),ri(a,{key:0,isDebug:o.isDebug},null,8,["isDebug"])):(Yo(),ri(s,{key:1,isDebug:o.isDebug},null,8,["isDebug"]))])}const vf={class:"login-screen flex flex-col bg-white",style:{height:"100vh",width:"100%"}},bf={class:"text-center pb-5"},yf={class:"text-base font-semibold text-gray-800 leading-tight tracking-tight"},wf={class:"text-tiny text-gray-500 mt-1"},xf={class:"field flex flex-col gap-1"},$f={class:"text-tiny font-semibold uppercase tracking-wider text-gray-500"},Cf=["placeholder","disabled"],kf={class:"field flex flex-col gap-1"},_f={class:"flex items-center justify-between"},Sf={class:"text-tiny font-semibold uppercase tracking-wider text-gray-500"},Tf={class:"relative"},Mf=["type","disabled"],Of=["title"],Ef={key:0,xmlns:"http://www.w3.org/2000/svg",class:"w-3.5 h-3.5",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},Af={key:1,xmlns:"http://www.w3.org/2000/svg",class:"w-3.5 h-3.5",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},If={key:0,class:"flex items-center gap-1.5 px-2.5 py-1.5 rounded-lg text-tiny text-red-600 bg-red-50"},Pf={key:1,class:"flex items-center gap-1.5 px-2.5 py-1.5 rounded-lg text-tiny text-amber-700 bg-amber-50"},Df=["disabled"],Rf={key:0,xmlns:"http://www.w3.org/2000/svg",class:"w-3.5 h-3.5 animate-spin",viewBox:"0 0 24 24",fill:"none"},Lf={class:"footer mt-auto px-6 pb-4 pt-4 border-t border-gray-100"},Nf={class:"flex items-center justify-center gap-1 flex-wrap text-tiny font-medium text-gray-500"},jf=["href"],Bf=["href"],Ff=["href"],Vf={class:"text-tiny text-gray-300 tracking-wider text-center mt-2"},Uf={class:"flex items-start gap-3"},Hf={class:"flex-1 min-w-0"},zf={class:"text-sm font-semibold text-gray-800 leading-snug"},Gf={class:"text-xs text-gray-600 mt-1 leading-relaxed"},qf=["placeholder"],Wf={class:"flex justify-end gap-2 mt-4"};function Jf(t,e,n,r,o,i){return Yo(),ni("div",vf,[e[20]||(e[20]=li("div",{class:"flex items-center justify-center gap-2 pt-8 pb-2"},[li("img",{src:"images/icons/logo-32.png",class:"w-6 h-6 flex-shrink-0",alt:"BravoPhone"}),li("span",{class:"text-sm font-bold tracking-wider text-blue-700 leading-none"},"BRAVOPHONE")],-1)),li("div",bf,[li("div",yf,rt(o.i18n.getMessage("loginAction")),1),li("div",wf,rt(o.i18n.getMessage("loginSubtitle")),1)]),li("form",{ref:"loginForm",class:"px-6 flex flex-col gap-2.5",onSubmit:e[4]||(e[4]=Ms((...t)=>i.onSubmit&&i.onSubmit(...t),["prevent"])),onKeydown:e[5]||(e[5]=Es(Ms((...t)=>i.onSubmit&&i.onSubmit(...t),["prevent"]),["enter"]))},[li("label",xf,[li("span",$f,rt(o.i18n.getMessage("loginEmailLabel")),1),xn(li("input",{ref:"email","onUpdate:modelValue":e[0]||(e[0]=t=>o.email=t),type:"text",name:"email",id:"login-email",placeholder:o.i18n.getMessage("loginEmailPlaceholder"),autocomplete:"username",disabled:i.formDisabled,class:J(["px-3 py-2 text-xs rounded-lg border bg-white text-gray-700 focus:outline-none focus:ring-2",i.errorVisible?"border-red-400 focus:ring-red-100":"border-gray-200 focus:ring-blue-100 focus:border-blue-400"]),required:""},null,10,Cf),[[fs,o.email]])]),li("label",kf,[li("span",_f,[li("span",Sf,rt(o.i18n.getMessage("loginPasswordLabel")),1),li("a",{href:"#",class:"text-tiny font-medium text-blue-500 hover:text-blue-700 focus:outline-none",tabindex:"-1",onClick:e[1]||(e[1]=Ms(()=>{window.open("https://bravotech.teambravotech.com/","_blank")},["prevent"]))},rt(o.i18n.getMessage("loginPasswordForgotten")),1)]),li("div",Tf,[xn(li("input",{ref:"password","onUpdate:modelValue":e[2]||(e[2]=t=>o.password=t),type:o.showPassword?"text":"password",name:"password",id:"login-password",placeholder:"••••••••",autocomplete:"current-password",disabled:i.formDisabled,class:J(["w-full px-3 py-2 pr-9 text-xs rounded-lg border bg-white text-gray-700 focus:outline-none focus:ring-2",i.errorVisible?"border-red-400 focus:ring-red-100":"border-gray-200 focus:ring-blue-100 focus:border-blue-400"]),required:""},null,10,Mf),[[Cs,o.password]]),li("button",{type:"button",class:"absolute right-1.5 top-1/2 p-1 text-gray-400 hover:text-gray-700 focus:outline-none",style:{transform:"translateY(-50%)"},title:o.showPassword?o.i18n.getMessage("loginPasswordHide"):o.i18n.getMessage("loginPasswordShow"),onClick:e[3]||(e[3]=(...t)=>i.togglePasswordVisibility&&i.togglePasswordVisibility(...t))},[o.showPassword?(Yo(),ni("svg",Ef,[...e[12]||(e[12]=[li("path",{d:"M17.94 17.94A10.94 10.94 0 0 1 12 19c-6.5 0-10-7-10-7a18.66 18.66 0 0 1 5.06-5.94"},null,-1),li("path",{d:"M9.9 4.24A10.94 10.94 0 0 1 12 4c6.5 0 10 7 10 7a18.6 18.6 0 0 1-2.16 3.19"},null,-1),li("path",{d:"M14.12 14.12a3 3 0 1 1-4.24-4.24"},null,-1),li("line",{x1:"2",y1:"2",x2:"22",y2:"22"},null,-1)])])):(Yo(),ni("svg",Af,[...e[13]||(e[13]=[li("path",{d:"M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12Z"},null,-1),li("circle",{cx:"12",cy:"12",r:"3"},null,-1)])]))],8,Of)])]),o.errorMessage?(Yo(),ni("div",If,[e[14]||(e[14]=li("svg",{xmlns:"http://www.w3.org/2000/svg",class:"w-3 h-3 flex-shrink-0",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[li("circle",{cx:"12",cy:"12",r:"10"}),li("path",{d:"M12 8v4"}),li("path",{d:"M12 16h.01"})],-1)),hi(" "+rt(o.errorMessage),1)])):fi("",!0),o.offline?(Yo(),ni("div",Pf,[e[15]||(e[15]=mi('<svg xmlns="http://www.w3.org/2000/svg" class="w-3 h-3 flex-shrink-0" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" data-v-737e75f4><line x1="2" y1="2" x2="22" y2="22" data-v-737e75f4></line><path d="M5 13a10 10 0 0 1 5.5-2.8" data-v-737e75f4></path><path d="M2 8.8A15 15 0 0 1 8 5" data-v-737e75f4></path><path d="M16.7 8.7A10 10 0 0 1 22 13" data-v-737e75f4></path><path d="M12 20h.01" data-v-737e75f4></path></svg>',1)),hi(" "+rt(o.i18n.getMessage("loginOfflineMessage")),1)])):fi("",!0),li("button",{type:"submit",class:J(["submit-btn mt-2 flex items-center justify-center gap-2 w-full py-2 rounded-lg text-xs font-semibold tracking-wide focus:outline-none transition-colors",i.canSubmit?"bg-blue-500 text-white hover:bg-blue-600":"bg-gray-300 text-white cursor-not-allowed"]),disabled:!i.canSubmit},[o.loading?(Yo(),ni("svg",Rf,[...e[16]||(e[16]=[li("circle",{cx:"12",cy:"12",r:"9",stroke:"currentColor","stroke-opacity":"0.25","stroke-width":"3"},null,-1),li("path",{d:"M21 12a9 9 0 0 0-9-9",stroke:"currentColor","stroke-width":"3","stroke-linecap":"round"},null,-1)])])):fi("",!0),hi(" "+rt(o.loading?o.i18n.getMessage("loginAuthenticating"):o.i18n.getMessage("loginAction")),1)],10,Df)],544),li("div",Lf,[li("div",Nf,[li("a",{href:o.portalSignupUrl,target:"_blank",rel:"noopener",class:"no-underline hover:text-blue-600 transition-colors"},rt(o.i18n.getMessage("loginCreateAccount")),9,jf),e[17]||(e[17]=li("span",{class:"text-gray-300"},"·",-1)),li("a",{href:o.supportUrl,target:"_blank",rel:"noopener",class:"no-underline hover:text-blue-600 transition-colors"},rt(o.i18n.getMessage("loginSupport")),9,Bf),e[18]||(e[18]=li("span",{class:"text-gray-300"},"·",-1)),li("a",{href:o.portalUrl,target:"_blank",rel:"noopener",class:"no-underline hover:text-blue-600 transition-colors"},rt(o.i18n.getMessage("loginPortal")),9,Ff)]),li("div",Vf,"v"+rt(t.getVersion),1)]),o.recoveryOpen?(Yo(),ni("div",{key:0,class:"confirm-backdrop fixed inset-0 z-50 flex items-center justify-center p-4 font-segoe",style:{background:"rgba(15, 23, 42, 0.45)"},onClick:e[11]||(e[11]=(...t)=>i.closeRecovery&&i.closeRecovery(...t))},[li("div",{class:"confirm-card bg-white rounded-xl shadow-xl w-full max-w-xs p-4",onClick:e[10]||(e[10]=Ms(()=>{},["stop"]))},[li("div",Uf,[e[19]||(e[19]=li("span",{class:"w-9 h-9 rounded-full bg-blue-50 text-blue-600 flex items-center justify-center flex-shrink-0"},[li("svg",{xmlns:"http://www.w3.org/2000/svg",class:"w-4 h-4",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2.2","stroke-linecap":"round","stroke-linejoin":"round"},[li("rect",{x:"3",y:"11",width:"18",height:"11",rx:"2",ry:"2"}),li("path",{d:"M7 11V7a5 5 0 0 1 10 0v4"})])],-1)),li("div",Hf,[li("div",zf,rt(o.i18n.getMessage("loginPasswordRecoveryTitle")),1),li("p",Gf,rt(o.i18n.getMessage("loginPasswordRecoveryHint")),1)])]),li("form",{ref:"formPasswordRecovery",class:"mt-3",onSubmit:e[7]||(e[7]=Ms((...t)=>i.sendPasswordRecovery&&i.sendPasswordRecovery(...t),["prevent"]))},[xn(li("input",{ref:"passwordRecovery","onUpdate:modelValue":e[6]||(e[6]=t=>o.email=t),type:"text",placeholder:o.i18n.getMessage("loginEmailPlaceholder"),autocomplete:"email",class:"w-full px-3 py-2 text-xs rounded-lg border border-gray-200 bg-white text-gray-700 focus:outline-none focus:ring-2 focus:ring-blue-100 focus:border-blue-400",required:""},null,8,qf),[[fs,o.email]])],544),li("div",Wf,[li("button",{class:"px-3 py-1.5 text-xs font-medium text-gray-600 hover:bg-gray-100 rounded-md focus:outline-none transition-colors",onClick:e[8]||(e[8]=(...t)=>i.closeRecovery&&i.closeRecovery(...t))},rt(o.i18n.getMessage("globalCancel")),1),li("button",{class:"px-3 py-1.5 text-xs font-semibold text-white bg-blue-500 hover:bg-blue-600 rounded-md focus:outline-none transition-colors",onClick:e[9]||(e[9]=(...t)=>i.sendPasswordRecovery&&i.sendPasswordRecovery(...t))},rt(o.i18n.getMessage("loginPasswordRecoveryAction")),1)])])])):fi("",!0)])}const Xf=[{phone:"554833328519",url:"https://api.whatsapp.com/send?phone=554833328519&text=Ol%C3%A1%20Jana%2C%20estou%20entrando%20em%20contato%20pelo%20Webphone%20e%20gostaria%20de%20mais%20informa%C3%A7%C3%B5es."},{phone:"554833328511",url:"https://api.whatsapp.com/send?phone=554833328511&text=Ol%C3%A1%20Tha%C3%ADs%2C%20estou%20entrando%20em%20contato%20pelo%20Webphone%20e%20gostaria%20de%20mais%20informa%C3%A7%C3%B5es."},{phone:"554833328523",url:"https://api.whatsapp.com/send?phone=554833328523&text=Ol%C3%A1%20Julio%2C%20estou%20entrando%20em%20contato%20pelo%20Webphone%20e%20gostaria%20de%20mais%20informa%C3%A7%C3%B5es."}],Kf="554833328503",Yf=`https://wa.me/${Kf}`,Zf="https://ajuda.sacflow.io/bravophone",Qf="https://status.bravophone.com",tg="https://speedtest.bravophone.com",eg="https://bravotech.teambravotech.com";function ng(){const t=Math.floor(Math.random()*Xf.length);return Xf[t].url}const rg={class:"text-base"},og=["href"];function ig(t,e,n,r,o,i){return Yo(),ni("div",rg,[hi(rt(o.i18n.getMessage("messageSupport"))+" ",1),li("a",{class:"text-gray-600 cursor-pointer",href:`https://wa.me/${o.supportPhone}`,target:"_blank"},rt(o.i18n.getMessage("messageClickHere")),9,og)])}var ag={name:"MessageSupport",data(){return{i18n:chrome.i18n,supportPhone:"554833328503"}},created(){this.supportPhone="554833328503"}},sg=n(6262);const lg=(0,sg.A)(ag,[["render",ig]]);var dg=lg,cg={name:"TheLogin",props:{isDebug:{type:Boolean,default:!1}},data(){return{i18n:chrome.i18n,email:null,password:null,showPassword:!1,loading:!1,errorMessage:null,offline:!navigator.onLine,recoveryOpen:!1,portalUrl:"https://bravotech.teambravotech.com/",portalSignupUrl:"https://reports.teambravotech.com/",supportUrl:"https://chat.whatsapp.com/LjeBNZDl45e36uFDRmmZpK"}},setup(){const t=ip();return{toast:t}},mounted(){this.$nextTick(()=>{this.checkRememberEmail(),this.$refs.email&&this.$refs.email.focus()}),window.addEventListener("online",this.handleOnline),window.addEventListener("offline",this.handleOffline)},beforeUnmount(){window.removeEventListener("online",this.handleOnline),window.removeEventListener("offline",this.handleOffline)},methods:{handleOnline(){this.offline=!1},handleOffline(){this.offline=!0},checkRememberEmail(){chrome.storage.sync.get("bravophoneRememberEmail",({bravophoneRememberEmail:t})=>{t&&"disabled"!==t?(this.email=t,this.$refs.password&&this.$refs.password.focus()):this.$refs.email&&this.$refs.email.focus()})},setRememberEmail(t){this.isDebug&&console.info("BravoPhone > Login > set remember email to",t),chrome.storage.sync.set({bravophoneRememberEmail:t})},togglePasswordVisibility(){this.showPassword=!this.showPassword},openRecovery(){this.recoveryOpen=!0,this.$nextTick(()=>{this.$refs.passwordRecovery&&this.$refs.passwordRecovery.focus()})},closeRecovery(){this.recoveryOpen=!1},onSubmit(){if(!this.canSubmit)return;this.errorMessage=null;const t=this.$refs.loginForm;if(!t.checkValidity())return void(this.email&&-1===this.email.indexOf("@")?this.errorMessage=this.i18n.getMessage("loginErrorInvalidEmail"):this.errorMessage=this.i18n.getMessage("loginErrorMissingEmailOrPassword"));if(!this.email||-1===this.email.indexOf("@"))return void(this.errorMessage=this.i18n.getMessage("loginErrorInvalidEmail"));const e={email:this.email,password:this.password};this.loading=!0,this.$store.dispatch("login",e).then(()=>{this.isDebug&&console.info(`BravoPhone > Login > ${e.email} > successfully`),this.setRememberEmail(this.email),this.toast.dismiss("noticeLogin"),this.$store.commit("setIsLogged",!0)}).catch(t=>{this.isDebug&&console.error(`BravoPhone > Login > ${e.email} >`,t.message),429===t.statusCode?this.errorMessage=this.i18n.getMessage("errorTooManyRequests"):"LOGIN_FAILED"===t.code?this.errorMessage=this.i18n.getMessage("loginErrorFailedLogin"):"LOGIN_FAILED_EMAIL_NOT_VERIFIED"===t.code?this.errorMessage=this.i18n.getMessage("loginErrorBlockedEmail"):this.toast.error(dg,{id:"noticeLogin"})}).finally(()=>{this.loading=!1})},sendPasswordRecovery(){const t=this.$refs.formPasswordRecovery;t&&t.checkValidity()?this.$store.dispatch("passwordRecovery",this.email).then(()=>{this.isDebug&&console.info("BravoPhone > Login > password recovery sent to",this.email),this.closeRecovery(),this.toast.success(this.i18n.getMessage("loginPasswordRecoverySuccess"),{id:"noticeLogin"})}).catch(t=>{this.isDebug&&console.error("BravoPhone > Login > error password recovery to",this.email,t.message),this.closeRecovery(),429===t.statusCode?this.toast.error(this.i18n.getMessage("errorTooManyRequests")):t&&"EMAIL_NOT_FOUND"===t.code?this.toast.error(this.i18n.getMessage("loginErrorEmailNotFound"),{id:"noticeLogin"}):this.toast.error(dg,{id:"noticeLogin"})}):this.email&&-1===this.email.indexOf("@")?this.toast.error(this.i18n.getMessage("loginErrorInvalidEmail"),{id:"noticeLogin"}):this.toast.warning(this.i18n.getMessage("loginErrorMissingEmail"),{id:"noticeLogin"})}},computed:{...sh(["getVersion"]),formDisabled(){return this.loading||this.offline},canSubmit(){return!this.formDisabled&&!!this.email&&!!this.password},errorVisible(){return!!this.errorMessage}},watch:{email(t){if("string"===typeof t){const e=t.replace(/[^A-Za-z0-9|_.@+-]/g,"").toLowerCase();e!==t&&(this.email=e)}this.errorMessage&&(this.errorMessage=null)},password(){this.errorMessage&&(this.errorMessage=null)}}};n(5681);const ug=(0,sg.A)(cg,[["render",Jf],["__scopeId","data-v-737e75f4"]]);var pg=ug;const hg={class:"webphone-shell-root font-segoe flex flex-row bg-white",style:{height:"100vh",width:"100%"}},mg={class:"webphone-shell-main flex flex-col flex-none",style:{width:"380px",height:"100vh"}},fg={class:"flex-none px-3 pt-2 pb-2 bg-gradient-to-b from-blue-50 to-white border-b border-gray-200"},gg={class:"flex items-center gap-2"},vg=["title"],bg={class:"text-tiny font-semibold text-gray-700 leading-none"},yg={class:"flex items-center gap-2 mt-2"},wg={class:"flex-1 min-w-0 text-left"},xg={class:"text-xs font-semibold text-gray-700 truncate leading-tight"},$g={class:"text-tiny text-gray-500 mt-0.5 truncate leading-tight"},Cg={key:0},kg={class:"font-semibold tabular-nums"},_g={key:0},Sg={key:1},Tg={class:"flex-1 min-h-0 relative overflow-hidden"},Mg={class:"absolute inset-0 invisible pointer-events-none"},Og={class:"absolute inset-0"},Eg={class:"absolute inset-0"},Ag={class:"absolute inset-0"},Ig={class:"absolute inset-0"},Pg={class:"absolute inset-0 z-30"},Dg={class:"flex items-start gap-3"},Rg={class:"flex-1 min-w-0"},Lg={class:"text-sm font-semibold text-gray-800 leading-snug"},Ng={class:"text-xs text-gray-600 mt-1 leading-relaxed"},jg={class:"flex justify-end gap-2 mt-4"},Bg={class:"contact-dialer-bridge","aria-hidden":"true"};function Fg(t,e,n,r,o,i){const a=wr("the-balance"),s=wr("connectivity-status"),l=wr("avatar-badge"),d=wr("the-banner"),c=wr("the-webphone"),u=wr("dialer-screen"),p=wr("history-tab"),h=wr("contacts-tab"),m=wr("settings-tab"),f=wr("call-screen"),g=wr("tab-bar"),v=wr("contact-dialer"),b=wr("recents-side-panel"),y=wr("network-panel"),w=Cr("tooltip");return Yo(),ni("div",hg,[li("div",mg,[li("header",fg,[li("div",gg,[e[7]||(e[7]=li("img",{src:"images/icons/logo-32.png",class:"w-5 h-5 flex-shrink-0",alt:"BravoPhone"},null,-1)),e[8]||(e[8]=li("span",{class:"text-xs font-bold tracking-wider text-blue-700 leading-none"},"BRAVOPHONE",-1)),e[9]||(e[9]=li("div",{class:"flex-1"},null,-1)),li("button",{class:"presence-pill flex items-center gap-1 h-5 px-2 rounded-full border border-gray-200 hover:bg-gray-50 focus:outline-none",title:o.i18n.getMessage("presenceRefresh"),onClick:e[0]||(e[0]=(...t)=>i.reloadExtension&&i.reloadExtension(...t))},[li("span",{class:J(["presence-dot w-2 h-2 rounded-full",{"presence-pulse":o.pulsing}]),style:H({background:i.presenceColor,boxShadow:i.isPresenceOnline?`0 0 0 2px ${i.presenceColor}30`:"none"})},null,6),li("span",bg,rt(i.isPresenceOnline?o.i18n.getMessage("presenceOnline"):o.i18n.getMessage("presenceOffline")),1),(Yo(),ni("svg",{xmlns:"http://www.w3.org/2000/svg",class:J(["w-2.5 h-2.5 text-gray-400 ml-0.5",{"spin-once":o.pulsing}]),viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2.2","stroke-linecap":"round","stroke-linejoin":"round"},[...e[6]||(e[6]=[li("polyline",{points:"23 4 23 10 17 10"},null,-1),li("polyline",{points:"1 20 1 14 7 14"},null,-1),li("path",{d:"M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15"},null,-1)])],2))],8,vg),di(s,{isDebug:n.isDebug,version:t.getVersion},null,8,["isDebug","version"])]),li("div",yg,[di(l,{name:t.user&&t.user.name,size:30},null,8,["name"]),li("div",wg,[xn((Yo(),ni("div",xg,[hi(rt(t.user&&t.user.name),1)])),[[w,{content:t.user&&t.user.name},void 0,{bottom:!0}]]),xn((Yo(),ni("div",$g,[t.extension&&t.extension.username?(Yo(),ni("span",Cg,[hi(rt(o.i18n.getMessage("settingsRamal"))+" ",1),li("span",kg,rt(t.extension.username),1),t.organization&&t.organization.name?(Yo(),ni("span",_g," · ")):fi("",!0)])):fi("",!0),t.organization&&t.organization.name?(Yo(),ni("span",Sg,rt(t.organization.name),1)):fi("",!0)])),[[w,{content:t.organization&&t.organization.name},void 0,{bottom:!0}]])]),xn((Yo(),ni("button",{class:"header-logout p-1 rounded hover:bg-red-50 text-gray-400 hover:text-red-500 focus:outline-none transition-colors",onClick:e[1]||(e[1]=Ms((...t)=>i.openLogoutModal&&i.openLogoutModal(...t),["prevent"]))},[...e[10]||(e[10]=[li("svg",{xmlns:"http://www.w3.org/2000/svg",class:"w-3.5 h-3.5",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[li("path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"}),li("polyline",{points:"16 17 21 12 16 7"}),li("line",{x1:"21",y1:"12",x2:"9",y2:"12"})],-1)])])),[[w,{content:o.i18n.getMessage("logout")},void 0,{left:!0}]])])]),e[12]||(e[12]=li("div",{class:"hidden",id:"user_agent_custom"},null,-1)),di(d),li("main",Tg,[li("div",Mg,[di(c,{isDebug:n.isDebug},null,8,["isDebug"])]),xn(li("div",Og,[di(u,{isDebug:n.isDebug},null,8,["isDebug"])],512),[[ka,"keypad"===t.currentTab]]),xn(li("div",Eg,[di(p,{isDebug:n.isDebug},null,8,["isDebug"])],512),[[ka,"history"===t.currentTab]]),xn(li("div",Ag,[di(h,{isDebug:n.isDebug},null,8,["isDebug"])],512),[[ka,"contacts"===t.currentTab]]),xn(li("div",Ig,[di(m,{isDebug:n.isDebug},null,8,["isDebug"])],512),[[ka,"settings"===t.currentTab]]),xn(li("div",Pg,[di(f,{isDebug:n.isDebug},null,8,["isDebug"])],512),[[ka,t.callActive]])]),di(g),o.logoutModalOpen?(Yo(),ni("div",{key:0,class:"confirm-backdrop fixed inset-0 z-50 flex items-center justify-center p-4 font-segoe",style:{background:"rgba(15, 23, 42, 0.45)"},onClick:e[5]||(e[5]=(...t)=>i.closeLogoutModal&&i.closeLogoutModal(...t))},[li("div",{class:"confirm-card bg-white rounded-xl shadow-xl w-full max-w-xs p-4",onClick:e[4]||(e[4]=Ms(()=>{},["stop"]))},[li("div",Dg,[e[11]||(e[11]=mi('<span class="w-9 h-9 rounded-full bg-red-50 text-red-500 flex items-center justify-center flex-shrink-0" data-v-5069a8ea><svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" data-v-5069a8ea><path d="M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4" data-v-5069a8ea></path><polyline points="16 17 21 12 16 7" data-v-5069a8ea></polyline><line x1="21" y1="12" x2="9" y2="12" data-v-5069a8ea></line></svg></span>',1)),li("div",Rg,[li("div",Lg,rt(o.i18n.getMessage("logoutConfirmTitle")),1),li("p",Ng,rt(o.i18n.getMessage("logoutConfirmMessage")),1)])]),li("div",jg,[li("button",{class:"px-3 py-1.5 text-xs font-medium text-gray-600 hover:bg-gray-100 rounded-md focus:outline-none transition-colors",onClick:e[2]||(e[2]=(...t)=>i.closeLogoutModal&&i.closeLogoutModal(...t))},rt(o.i18n.getMessage("globalCancel")),1),li("button",{class:"px-3 py-1.5 text-xs font-semibold text-white bg-red-500 hover:bg-red-600 rounded-md focus:outline-none transition-colors",onClick:e[3]||(e[3]=(...t)=>i.handleLogout&&i.handleLogout(...t))},rt(o.i18n.getMessage("logoutConfirmAction")),1)])])])):fi("",!0),li("div",Bg,[di(v,{isDebug:n.isDebug},null,8,["isDebug"])])]),di(b,{isDebug:n.isDebug},null,8,["isDebug"]),t.networkPanelOpen?(Yo(),ri(y,{key:0,isDebug:n.isDebug},null,8,["isDebug"])):fi("",!0)])}function Vg(t,e,n,r,o,i){return li("div",{class:"avatar inline-flex items-center justify-center rounded-full font-semibold flex-shrink-0",style:H({width:n.size+"px",height:n.size+"px",background:n.bg||i.derivedBg,color:"#0f172a",fontSize:Math.round(.36*n.size)+"px",letterSpacing:"0.01em",position:"relative",overflow:"hidden"})},[li("span",{key:"bp-initials"},rt(i.initials),1),n.photo?li("img",{key:"bp-photo",src:n.photo,alt:"",style:H({position:"absolute",top:"0",left:"0",width:"100%",height:"100%",objectFit:"cover",borderRadius:"9999px"}),onError:ev=>{ev.target.style.display="none"}}):null])}n(1701);const Ug=["#a7f3d0","#bfdbfe","#fde68a","#fbcfe8","#bbf7d0","#ddd6fe","#fecaca","#fed7aa","#c7d2fe","#fef08a"];var Hg={name:"AvatarBadge",props:{name:{type:String,default:""},size:{type:Number,default:32},bg:{type:String,default:null},photo:{type:String,default:""}},computed:{initials(){const t=(this.name||"?").split(" ").filter(Boolean).slice(0,2);return t.map(t=>t[0].toUpperCase()).join("")||"?"},derivedBg(){const t=this.name||"";let e=0;for(let r=0;r<t.length;r+=1)e=(e<<5)-e+t.charCodeAt(r)|0;const n=Math.abs(e)%Ug.length;return Ug[n]}}};const zg=(0,sg.A)(Hg,[["render",Vg]]);var Gg=zg;const qg={class:"flex-none px-4 pt-3 text-center"},Wg={class:"text-tiny font-semibold text-gray-500 uppercase tracking-wider"},Jg={class:"flex-1 flex flex-col items-center justify-center gap-3 px-4 min-h-0"},Xg={class:"relative"},Kg={key:0,class:"absolute pulse-ring rounded-full",style:{inset:"-6px",border:"2px solid #2563eb"}},Yg={class:"text-center max-w-full"},Zg={class:"text-lg font-semibold text-gray-800 leading-tight truncate"},Qg={class:"text-xs text-gray-500 mt-1 tabular-nums truncate"},tv={key:0,class:"text-sm font-semibold mt-1.5 text-green-600 flex items-center justify-center gap-1.5 tabular-nums"},ev={key:1,class:"inline-block text-tiny text-gray-500 mt-2 px-2 py-0.5 rounded-full bg-gray-100"},nv={class:"flex-none px-5 pb-2"},rv={class:"flex items-center gap-2.5 py-2"},ov=["value"],iv={class:"text-tiny text-gray-500 tabular-nums w-8 text-right"},av={class:"grid grid-cols-4 gap-2 pt-1 pb-2"},sv={class:"flex items-center justify-center pb-1"},lv=["disabled"],dv={class:"text-tiny font-medium text-gray-700"},cv={class:"flex-none flex items-center justify-center gap-6 pb-5 pt-1"},uv=["title"],pv=["title"],hv={key:0,class:"commands-overlay absolute inset-x-0 bottom-0 rounded-t-2xl pt-3 flex flex-col bg-white",style:{height:"92%","z-index":"10","box-shadow":"0 -10px 30px -10px rgba(15,23,42,.18)"}},mv={class:"flex-none flex items-start justify-between px-4 pb-2"},fv={class:"min-w-0"},gv={class:"text-base font-semibold text-gray-800 leading-tight"},vv={class:"text-xs text-gray-500 mt-0.5"},bv=["title"],yv={class:"flex-1 min-h-0 overflow-y-auto px-3 pb-3 space-y-2"},wv={class:"flex items-center gap-2.5"},xv={class:"text-xs font-bold font-mono tabular-nums text-blue-600 bg-white border border-blue-100 rounded-md px-1.5 py-0.5 flex-shrink-0"},$v={class:"text-xs font-bold text-gray-800 leading-tight flex-1 min-w-0"},Cv={class:"text-xs text-gray-600 mt-1.5 leading-normal"},kv={key:0,class:"flex items-center gap-2 mt-2"},_v=["onUpdate:modelValue","placeholder"],Sv=["disabled","onClick"],Tv={key:1,class:"dtmf-overlay absolute inset-x-0 bottom-0 bg-white border-t border-gray-200 rounded-t-2xl shadow-2xl flex flex-col",style:{height:"75%","z-index":"10"}},Mv={class:"flex-none flex items-center justify-between px-4 pt-3 pb-1"},Ov={class:"text-xs font-semibold text-gray-500 uppercase tracking-wider"},Ev=["title"],Av={class:"flex-none mx-4 mt-1 mb-2 px-3 py-2 rounded-lg bg-gray-50 border border-gray-100 flex items-center gap-2 min-h-[36px]"},Iv=["title"],Pv={class:"flex-1 min-h-0 flex items-center justify-center pb-3"},Dv={class:"grid gap-y-2",style:{"grid-template-columns":"repeat(3, 52px)","grid-auto-rows":"52px","column-gap":"12px"}},Rv=["onClick"];function Lv(t,e,n,r,o,i){const a=wr("avatar-badge"),s=wr("call-action");return Yo(),ni("div",{class:"call-screen absolute inset-0 flex flex-col",style:H({background:i.bgGradient})},[li("div",qg,[li("span",Wg,rt(i.statusLabel),1)]),o.transferTarget?(Yo(),ni("div",{key:0,class:"flex-none mx-4 mt-2 mb-3 rounded-xl border px-2.5 py-2 flex items-center gap-2",style:{borderColor:"declined"===o.transferStatus?"rgba(240,71,71,.45)":"rgba(249,115,22,.45)",background:"declined"===o.transferStatus?"rgba(240,71,71,.1)":"rgba(249,115,22,.1)"}},[o.transferTarget.photo&&!o.photoErrors[o.transferTarget.ramal]?(Yo(),ni("img",{key:0,src:o.transferTarget.photo,class:"w-8 h-8 rounded-full flex-shrink-0 object-cover",onError:e=>i.markPhotoError(o.transferTarget.ramal)})):(Yo(),ni("div",{key:1},[di(a,{name:o.transferTarget.name,size:32},null,8,["name"])])),li("div",{class:"flex-1 min-w-0"},[li("div",{class:"text-xs font-semibold truncate",style:{color:"var(--bp-text, #e7e9ee)"}},rt(`${o.i18n.getMessage("transferBadgePrefix")||"Transferindo para"} ${o.transferTarget.name} · ${o.transferTarget.ramal}`),1),li("div",{class:"text-tiny mt-0.5 font-semibold",style:{color:"declined"===o.transferStatus?"#f04747":"#f97316"}},rt("declined"===o.transferStatus?`${o.i18n.getMessage("transferDeclinedPrefix")||"Ramal"} ${o.transferTarget.ramal} ${o.i18n.getMessage("transferDeclinedSuffix")||"não aceitou a chamada"}`:`${o.i18n.getMessage("transferCallingPrefix")||"Chamando"}... ${i.transferElapsedFormatted}`),1)]),li("button",{class:"flex-shrink-0 rounded p-1",style:{color:"var(--bp-text-dim, #9aa2b8)"},title:o.i18n.getMessage("transferCancel")||"Cancelar",onClick:e=>i.cancelTransferStatus()},[li("svg",{xmlns:"http://www.w3.org/2000/svg",class:"w-4 h-4",viewBox:"0 0 24 24",fill:"currentColor"},[li("circle",{cx:"5",cy:"12",r:"1.6"}),li("circle",{cx:"12",cy:"12",r:"1.6"}),li("circle",{cx:"19",cy:"12",r:"1.6"})])])])):fi("",!0),li("div",Jg,[li("div",Xg,[di(a,{name:t.callDisplay.name,photo:t.callDisplay.photo,size:o.transferTarget?56:84},null,8,["name","photo","size"]),"dialing"===i.phase||"ringing"===i.phase?(Yo(),ni("span",Kg)):fi("",!0)]),li("div",Yg,[li("div",Zg,rt(t.callDisplay.name||"—"),1),li("div",Qg,rt(t.callDisplay.number||""),1),"connected"===i.phase?(Yo(),ni("div",tv,[e[10]||(e[10]=li("span",{class:"w-1.5 h-1.5 rounded-full bg-green-500 pulse-dot"},null,-1)),hi(" "+rt(i.formattedTimer),1)])):fi("",!0),t.callDisplay.source?(Yo(),ni("div",ev,rt(t.callDisplay.source),1)):fi("",!0),t.callDisplay.origin?(Yo(),ni("div",{key:2,class:t.callDisplay.originWhatsapp?"inline-block text-tiny mt-2 ml-1 px-2 py-0.5 rounded-full text-green-700 bg-green-50":"inline-block text-tiny mt-2 ml-1 px-2 py-0.5 rounded-full text-blue-700 bg-blue-50"},rt(t.callDisplay.origin),3)):fi("",!0)])]),li("div",nv,[li("div",rv,[e[11]||(e[11]=li("svg",{xmlns:"http://www.w3.org/2000/svg",class:"w-4 h-4 text-gray-500 flex-shrink-0",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[li("polygon",{points:"11 5 6 9 2 9 2 15 6 15 11 19 11 5"}),li("path",{d:"M15.54 8.46a5 5 0 0 1 0 7.07"}),li("path",{d:"M19.07 4.93a10 10 0 0 1 0 14.14"})],-1)),li("input",{type:"range",min:"0",max:"100",value:t.volume,onInput:e[0]||(e[0]=t=>i.onVolumeInput(t)),class:"flex-1 h-1 cursor-pointer accent-blue-500"},null,40,ov),li("span",iv,rt(t.volume)+"%",1)]),li("div",av,[di(s,{icon:t.callMuted?"mic-off":"mic",label:t.callMuted?o.i18n.getMessage("callActionMuted"):o.i18n.getMessage("callActionMute"),active:t.callMuted,disabled:"connected"!==i.phase,onClick:e[1]||(e[1]=t=>i.emit("call-toggle-mute"))},null,8,["icon","label","active","disabled"]),di(s,{icon:"pause",label:t.callHeld?o.i18n.getMessage("callActionResume"):o.i18n.getMessage("callActionHold"),active:t.callHeld,disabled:"connected"!==i.phase,onClick:e[2]||(e[2]=t=>i.emit("call-toggle-hold"))},null,8,["label","active","disabled"]),di(s,{icon:"transfer",label:o.i18n.getMessage("callActionTransfer"),disabled:"connected"!==i.phase,onClick:i.quickTransfer},null,8,["label","disabled","onClick"]),di(s,{icon:"dialpad",label:o.i18n.getMessage("callActionKeypad"),active:o.dtmfOpen,disabled:"connected"!==i.phase,onClick:e[3]||(e[3]=t=>o.dtmfOpen=!o.dtmfOpen)},null,8,["label","active","disabled"])]),li("div",sv,[li("button",{class:J(["commands-pill flex items-center gap-1.5 px-3 py-1 rounded-full border border-gray-200 bg-white hover:bg-gray-50 focus:outline-none transition-colors",{"opacity-40 cursor-not-allowed":"connected"!==i.phase,"ring-1 ring-blue-400 border-blue-300":o.commandsOpen}]),disabled:"connected"!==i.phase,onClick:e[4]||(e[4]=t=>{o.commandsOpen=!o.commandsOpen,o.commandsOpen&&i.loadTransferRamais()})},[e[12]||(e[12]=li("svg",{xmlns:"http://www.w3.org/2000/svg",class:"w-3.5 h-3.5 text-gray-500",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[li("rect",{x:"3",y:"5",width:"18",height:"14",rx:"2.5"}),li("path",{d:"M7 10h.01M11 10h.01M15 10h.01M7 14h.01M15 14h.01"}),li("line",{x1:"10",y1:"14",x2:"14",y2:"14"})],-1)),li("span",dv,rt(o.i18n.getMessage("callActionTransfer")),1)],10,lv)])]),li("div",cv,[t.callIsIncoming&&"connected"!==i.phase?(Yo(),ni("button",{key:0,class:"rounded-full text-white flex items-center justify-center transition-transform active:scale-95",style:{width:"56px",height:"56px",background:"#10b981","box-shadow":"0 8px 20px -6px rgba(16,185,129,.55)"},title:o.i18n.getMessage("webphoneCallAnswer"),onClick:e[5]||(e[5]=t=>i.emit("call-answer"))},[...e[13]||(e[13]=[li("svg",{xmlns:"http://www.w3.org/2000/svg",class:"w-6 h-6",viewBox:"0 0 20 20",fill:"currentColor"},[li("path",{d:"M2 3a1 1 0 011-1h2.153a1 1 0 01.986.836l.74 4.435a1 1 0 01-.54 1.06l-1.548.773a11.037 11.037 0 006.105\n 6.105l.774-1.548a1 1 0 011.059-.54l4.435.74a1 1 0 01.836.986V17a1 1 0 01-1 1h-2C7.82 18 2 12.18 2 5V3z"})],-1)])],8,uv)):fi("",!0),li("button",{class:"rounded-full text-white flex items-center justify-center transition-transform active:scale-95",style:{width:"60px",height:"60px",background:"#ef4444","box-shadow":"0 10px 24px -8px rgba(239,68,68,.6)"},title:o.i18n.getMessage("webphoneCallHangup"),onClick:e[6]||(e[6]=t=>i.emit("call-hangup"))},[...e[14]||(e[14]=[li("svg",{xmlns:"http://www.w3.org/2000/svg",class:"w-7 h-7",viewBox:"0 0 24 24",fill:"currentColor"},[li("path",{d:"M12 9c-1.6 0-3.15.25-4.6.72v3.1c0 .39-.23.74-.56.9-.98.49-1.87 1.12-2.66 1.85-.18.18-.43.28-.71.28-.28 0-.53-.11-.71-.29L.29 13.08a.996.996 0 0 1 0-1.41C3.34 8.78 7.46 7 12 7s8.66 1.78 11.71 4.67c.18.18.29.43.29.7 0 .28-.11.53-.29.71l-2.48 2.48c-.18.18-.43.29-.71.29-.27 0-.52-.1-.7-.28-.79-.73-1.68-1.36-2.66-1.85a1.031 1.031 0 0 1-.56-.9v-3.1C15.15 9.25 13.6 9 12 9z"})],-1)])],8,pv)]),o.commandsOpen?(Yo(),ni("div",hv,[li("div",mv,[li("div",fv,[li("div",{class:"text-base font-semibold text-gray-800 leading-tight flex items-center gap-1.5"},[hi(rt(o.i18n.getMessage("transferPanelTitle")),1),o.transferFetching?(Yo(),ni("svg",{key:0,xmlns:"http://www.w3.org/2000/svg",class:"w-3 h-3 bp-spin flex-shrink-0",style:{color:"#9aa2b8"},viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2.4","stroke-linecap":"round","stroke-linejoin":"round"},[li("polyline",{points:"23 4 23 10 17 10"}),li("polyline",{points:"1 20 1 14 7 14"}),li("path",{d:"M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15"})])):fi("",!0)]),li("div",vv,rt(o.i18n.getMessage("transferPanelSubtitle")),1)]),li("button",{class:"rounded p-1 text-gray-400 hover:text-gray-700 hover:bg-gray-100 flex-shrink-0",title:o.i18n.getMessage("globalClose"),onClick:e[7]||(e[7]=t=>o.commandsOpen=!1)},[...e[15]||(e[15]=[li("svg",{xmlns:"http://www.w3.org/2000/svg",class:"w-5 h-5",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2.2","stroke-linecap":"round","stroke-linejoin":"round"},[li("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),li("line",{x1:"6",y1:"6",x2:"18",y2:"18"})],-1)])],8,bv)]),li("div",yv,[o.transferLoading?(Yo(),ni("div",{key:0,class:"text-tiny text-gray-400 text-center py-4"},rt(o.i18n.getMessage("transferLoading")),1)):0===o.transferRamais.length?(Yo(),ni("div",{key:1,class:"text-tiny text-gray-400 text-center py-4"},rt(o.i18n.getMessage("transferEmpty")),1)):(Yo(!0),ni(Go,{key:2},Sr(o.transferRamais,t=>(Yo(),ni("button",{key:t.ramal,class:J(["w-full flex items-center gap-3 rounded-xl p-2.5 border text-left transition-colors bg-gray-50 border-gray-200",t.active?"hover:bg-gray-200 cursor-pointer":"opacity-50 cursor-not-allowed"]),onClick:e=>i.selectRamal(t)},[t.photo&&!o.photoErrors[t.ramal]?(Yo(),ni("img",{key:0,src:t.photo,class:"w-9 h-9 rounded-full flex-shrink-0 object-cover",style:{opacity:t.active?1:.5},onError:e=>i.markPhotoError(t.ramal)})):(Yo(),ni("div",{key:1,style:{opacity:t.active?1:.5}},[di(a,{name:t.name,size:36},null,8,["name"])])),li("div",{class:"flex-1 min-w-0"},[li("div",{class:"text-xs font-semibold truncate text-gray-800"},rt(t.name),1),li("div",{class:"text-tiny mt-0.5 flex items-center gap-1.5 text-gray-500"},[hi(rt(t.ramal),1),li("span",{class:"inline-block w-1.5 h-1.5 rounded-full flex-shrink-0",style:{background:t.inCall?"#f97316":t.registered?"#22c55e":"#6b7488"}}),li("span",{style:{color:t.inCall?"#f97316":t.registered?"#22c55e":"#9aa2b8"},class:"font-semibold"},rt(t.inCall?o.i18n.getMessage("transferInCall")||"Em ligação":t.registered?o.i18n.getMessage("transferAvailable"):o.i18n.getMessage("transferOffline")),1)])])]))),128))])])):fi("",!0),o.dtmfOpen?(Yo(),ni("div",Tv,[li("div",Mv,[li("span",Ov,rt(o.i18n.getMessage("callDtmfTitle")),1),li("button",{class:"rounded p-1 text-gray-400 hover:text-gray-700 hover:bg-gray-100",title:o.i18n.getMessage("globalClose"),onClick:e[8]||(e[8]=t=>o.dtmfOpen=!1)},[...e[16]||(e[16]=[li("svg",{xmlns:"http://www.w3.org/2000/svg",class:"w-4 h-4",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2.2","stroke-linecap":"round","stroke-linejoin":"round"},[li("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),li("line",{x1:"6",y1:"6",x2:"18",y2:"18"})],-1)])],8,Ev)]),li("div",Av,[li("span",{class:J(["flex-1 text-base font-semibold text-gray-800 tabular-nums truncate text-center",{"text-gray-300 font-normal":!t.callDtmf}])},rt(t.callDtmf||o.i18n.getMessage("callDtmfPlaceholder")),3),t.callDtmf?(Yo(),ni("button",{key:0,class:"flex-shrink-0 rounded p-1 text-gray-400 hover:text-gray-700 hover:bg-white",title:o.i18n.getMessage("dialerBackspace"),onClick:e[9]||(e[9]=(...t)=>i.pressBackspace&&i.pressBackspace(...t))},[...e[17]||(e[17]=[li("svg",{xmlns:"http://www.w3.org/2000/svg",class:"w-4 h-4",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[li("path",{d:"M21 4H8l-7 8 7 8h13a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2z"}),li("line",{x1:"18",y1:"9",x2:"12",y2:"15"}),li("line",{x1:"12",y1:"9",x2:"18",y2:"15"})],-1)])],8,Iv)):fi("",!0)]),li("div",Pv,[li("div",Dv,[(Yo(!0),ni(Go,null,Sr(o.dtmfKeys,t=>(Yo(),ni("button",{key:t,class:"rounded-full bg-gray-100 hover:bg-gray-200 active:scale-95 text-gray-800 font-medium leading-none flex items-center justify-center transition-transform",style:{"font-size":"20px",height:"52px",width:"52px"},onClick:e=>i.pressDtmf(t)},rt(t),9,Rv))),128))])])])):fi("",!0)],4)}const Nv=["disabled"],jv={class:"text-tiny text-gray-500 font-medium tracking-wide leading-tight text-center"};function Bv(t,e,n,r,o,i){const a=Cr("tooltip");return xn((Yo(),ni("button",{class:J(["call-action flex flex-col items-center gap-1 transition-opacity",n.disabled?"opacity-40 cursor-not-allowed":"cursor-pointer hover:opacity-90"]),disabled:n.disabled,onClick:e[0]||(e[0]=e=>!n.disabled&&t.$emit("click"))},[li("span",{class:"rounded-full flex items-center justify-center transition-colors",style:H({width:"46px",height:"46px",background:n.active?"#16a34a":"#1c2131",color:n.active?"#ffffff":"#e7e9ee",boxShadow:"inset 0 0 0 1px rgba(255,255,255,.06)"})},[(Yo(),ri($r(i.iconComp),{class:"w-5 h-5"}))],4),li("span",jv,rt(n.label),1)],10,Nv)),[[a,n.comingSoon?o.i18n.getMessage("tabComingSoon"):"",void 0,{top:!0}]])}const Fv=t=>()=>zi("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},t.map(t=>zi(t.tag,t.attrs))),Vv={mic:Fv([{tag:"path",attrs:{d:"M12 2a3 3 0 0 0-3 3v6a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3z"}},{tag:"path",attrs:{d:"M19 11a7 7 0 0 1-14 0"}},{tag:"line",attrs:{x1:12,y1:18,x2:12,y2:22}},{tag:"line",attrs:{x1:8,y1:22,x2:16,y2:22}}]),"mic-off":Fv([{tag:"line",attrs:{x1:1,y1:1,x2:23,y2:23}},{tag:"path",attrs:{d:"M9 9v3a3 3 0 0 0 5.12 2.12M15 9.34V5a3 3 0 0 0-5.94-.6"}},{tag:"path",attrs:{d:"M17 16.95A7 7 0 0 1 5 12v-2m14 0v2a7 7 0 0 1-.11 1.23"}},{tag:"line",attrs:{x1:12,y1:19,x2:12,y2:22}}]),pause:Fv([{tag:"rect",attrs:{x:6,y:4,width:4,height:16}},{tag:"rect",attrs:{x:14,y:4,width:4,height:16}}]),transfer:Fv([{tag:"polyline",attrs:{points:"17 1 21 5 17 9"}},{tag:"path",attrs:{d:"M3 11V9a4 4 0 0 1 4-4h14"}},{tag:"polyline",attrs:{points:"7 23 3 19 7 15"}},{tag:"path",attrs:{d:"M21 13v2a4 4 0 0 1-4 4H3"}}]),dialpad:Fv([{tag:"circle",attrs:{cx:5,cy:5,r:1.2,fill:"currentColor"}},{tag:"circle",attrs:{cx:12,cy:5,r:1.2,fill:"currentColor"}},{tag:"circle",attrs:{cx:19,cy:5,r:1.2,fill:"currentColor"}},{tag:"circle",attrs:{cx:5,cy:12,r:1.2,fill:"currentColor"}},{tag:"circle",attrs:{cx:12,cy:12,r:1.2,fill:"currentColor"}},{tag:"circle",attrs:{cx:19,cy:12,r:1.2,fill:"currentColor"}},{tag:"circle",attrs:{cx:5,cy:19,r:1.2,fill:"currentColor"}},{tag:"circle",attrs:{cx:12,cy:19,r:1.2,fill:"currentColor"}},{tag:"circle",attrs:{cx:19,cy:19,r:1.2,fill:"currentColor"}}])};var Uv={name:"CallAction",emits:["click"],props:{icon:{type:String,required:!0},label:{type:String,required:!0},active:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},comingSoon:{type:Boolean,default:!1}},data(){return{i18n:chrome.i18n}},computed:{iconComp(){return Vv[this.icon]||Vv.dialpad}}};const Hv=(0,sg.A)(Uv,[["render",Bv]]);var zv=Hv;const Gv=["1","2","3","4","5","6","7","8","9","*","0","#"];function bpFetchAvailableRamais(t){return bpLoadSession().then(e=>{if(!e.vxToken)return console.warn("BravoPhone DEBUG > bpFetchAvailableRamais > sem vxToken na sessao (refaca o login)"),[];const n=e.ramal||(e.sip?String(e.sip).split("_").pop():null)||null,r=e.ramaisUrl||"/api/ramais",o=`${bpApiUrl(r)}${r.indexOf("?")>=0?"&":"?"}_=${Date.now()}`;return console.log("BravoPhone DEBUG > bpFetchAvailableRamais > mesa do cliente",e.clienteId,"| meu ramal",n,"| url",o),fetch(o,{cache:"no-store",headers:{"X-Vx-Token":e.vxToken}}).then(t=>{if(console.log("BravoPhone DEBUG > bpFetchAvailableRamais > http status",t.status,t.ok),401===t.status)return bpClearSession().then(()=>(console.warn("BravoPhone DEBUG > bpFetchAvailableRamais > 401 com X-Vx-Token enviado: o vxToken foi invalidado (logout) ou e de outro ambiente; sessao limpa, refaca o login"),null));if(!t.ok)return console.warn("BravoPhone DEBUG > bpFetchAvailableRamais > http nao ok",t.status),null;return t.json()}).then(t=>{if(!Array.isArray(t&&t.ramais))return t&&console.warn("BravoPhone DEBUG > bpFetchAvailableRamais > resposta sem array ramais",t),[];t.error&&console.warn("BravoPhone DEBUG > bpFetchAvailableRamais > servidor reportou erro",t.error);const e=t.ramais.filter(t=>!n||String(t.ramal)!==String(n)).map(t=>({ramal:t.ramal,name:t.name||t.ramal,photo:t.photo||null,registered:"Disponivel"===t.label,inCall:!!t.inCall,active:!t.inCall&&"Disponivel"===t.label}));return console.log("BravoPhone DEBUG > bpFetchAvailableRamais > resultado final (o que vai aparecer na lista)",JSON.stringify(e)),e})}).catch(t=>(console.error("BravoPhone DEBUG > bpFetchAvailableRamais > ERRO",t),[]))}var qv={name:"CallScreen",components:{AvatarBadge:Gg,CallAction:zv},props:{isDebug:{type:Boolean,default:!1}},data(){return{i18n:chrome.i18n,dtmfKeys:Gv,dtmfOpen:!1,commandsOpen:!1,transferRamais:[],transferLoading:!1,transferFetching:!1,transferTarget:null,transferStatus:null,transferElapsed:0,photoErrors:{}}},setup(){const t=ip();return{emitter:$h,toast:t}},computed:{...ih(["callDisplay","callDtmf","callHeld","callIsIncoming","callMuted","callPhase","callTimer","volume","extension"]),phase(){return this.callPhase||"idle"},statusLabel(){return"dialing"===this.phase?this.i18n.getMessage("callStatusDialing"):"ringing"===this.phase?this.i18n.getMessage("callStatusRinging"):"connected"===this.phase?this.callHeld?this.i18n.getMessage("callStatusOnHold"):this.i18n.getMessage("callStatusInCall"):""},formattedTimer(){const t=this.callTimer||0,e=String(Math.floor(t/60)).padStart(2,"0"),n=String(t%60).padStart(2,"0");return`${e}:${n}`},transferElapsedFormatted(){const t=this.transferElapsed||0,e=String(Math.floor(t/60)).padStart(2,"0"),n=String(t%60).padStart(2,"0");return`${e}:${n}`},bgGradient(){return"linear-gradient(180deg, #12141c 0%, #171b28 100%)"}},watch:{callPhase(t,e){if("connected"===e&&"connected"!==t){this.dtmfOpen=!1,this.commandsOpen=!1,this.cancelTransferStatus()}},commandsOpen(t){t?(this.loadTransferRamais(),clearInterval(this._transferPollInterval),this._transferPollInterval=setInterval(()=>{this.loadTransferRamais()},2e3)):clearInterval(this._transferPollInterval)}},beforeUnmount(){clearInterval(this._transferPollInterval)},methods:{emit(t){this.emitter.emit(t)},pressDtmf(t){this.emitter.emit("webphone-dial-key",t)},pressBackspace(){this.emitter.emit("webphone-dial-backspace")},onVolumeInput(t){const e=parseInt(t.target.value,10);this.$store.commit("setVolume",e),this.emitter.emit("webphone-apply-volumes")},loadTransferRamais(){0===this.transferRamais.length&&(this.transferLoading=!0),this.transferFetching=!0,console.log("BravoPhone DEBUG > loadTransferRamais > this.extension",this.extension),bpFetchAvailableRamais(this.extension).then(t=>{console.log("BravoPhone DEBUG > loadTransferRamais > setando transferRamais",t),this.transferRamais=t||[]}).catch(t=>{console.error("BravoPhone DEBUG > loadTransferRamais > ERRO",t)}).finally(()=>{this.transferLoading=!1,this.transferFetching=!1})},selectRamal(t){if(!t.active)return void this.toast.error(`${t.name} (ramal ${t.ramal}) ${t.inCall?this.i18n.getMessage("transferInCallToastSuffix")||"está em ligação no momento":this.i18n.getMessage("transferOfflineToastSuffix")||"está offline no momento"}`);this.commandsOpen=!1,this.emitter.emit("webphone-transfer-initiated",{ramal:t.ramal,name:t.name});const digits=`*1${t.ramal}#`.split("");console.log("BravoPhone DEBUG > selectRamal > transferindo para",t,"digitos",digits.join(""),digits);digits.forEach((e,n)=>{setTimeout(()=>{console.log("BravoPhone DEBUG > selectRamal > emit webphone-dial-key",{char:e,index:n,ramalAlvo:t.ramal}),this.emitter.emit("webphone-dial-key",e)},180*n)}),this.transferTarget=t,this.transferStatus="ringing",this.transferElapsed=0,clearTimeout(this._transferTimer),clearTimeout(this._transferHideTimer),clearInterval(this._transferTickInterval),this._transferTickInterval=setInterval(()=>{this.transferElapsed+=1},1e3),this._transferTimer=setTimeout(()=>{this.transferTarget&&this.transferTarget.ramal===t.ramal&&"ringing"===this.transferStatus&&(this.transferStatus="declined",this._transferHideTimer=setTimeout(()=>{this.cancelTransferStatus()},5e3))},25e3)},cancelTransferStatus(){clearTimeout(this._transferTimer),clearTimeout(this._transferHideTimer),clearInterval(this._transferTickInterval),this.transferTarget=null,this.transferStatus=null,this.transferElapsed=0},markPhotoError(t){this.photoErrors[t]=!0},quickTransfer(){this.commandsOpen=!0,this.loadTransferRamais()}}};n(4910);const Wv=(0,sg.A)(qv,[["render",Lv],["__scopeId","data-v-09192b30"]]);var Jv=Wv;const Xv=["title"];function Kv(t,e,n,r,o,i){return Yo(),ni("button",{class:"connectivity-status flex items-center justify-center gap-1 p-1 rounded hover:bg-gray-100 focus:outline-none",title:i.tooltipText,onClick:e[0]||(e[0]=(...t)=>i.toggleNetworkPanel&&i.toggleNetworkPanel(...t))},[(Yo(),ni("svg",{xmlns:"http://www.w3.org/2000/svg",class:J(["w-4 h-4 md:w-5 md:h-5",i.iconColorClass]),viewBox:"0 0 24 24",fill:"currentColor"},[...e[1]||(e[1]=[li("rect",{x:"3",y:"14",width:"4",height:"6",rx:"1"},null,-1),li("rect",{x:"10",y:"9",width:"4",height:"11",rx:"1"},null,-1),li("rect",{x:"17",y:"4",width:"4",height:"16",rx:"1"},null,-1)])],2)),null!==i.lastPingMs?(Yo(),ni("span",{key:0,class:"text-tiny text-gray-400"},i.lastPingMs+" ms",1)):fi("",!0)],8,Xv)}const Yv=["innerHTML"];function Zv(t,e,n,r,o,i){return Yo(),ni("div",{class:"text-base",innerHTML:o.i18n.getMessage("connectivityStatusSlow")},null,8,Yv)}var Qv={name:"MessagesConnectivityStatusSlow",data(){return{i18n:chrome.i18n}}};const tb=(0,sg.A)(Qv,[["render",Zv]]);var eb=tb;const nb=["innerHTML"];function rb(t,e,n,r,o,i){return Yo(),ni("div",{class:"text-base",innerHTML:o.i18n.getMessage("connectivityStatusOff")},null,8,nb)}var ob={name:"MessagesConnectivityStatusOff",data(){return{i18n:chrome.i18n}}};const ib=(0,sg.A)(ob,[["render",rb]]);var ab=ib,sb={log:"log",debug:"debug",info:"info",warn:"warn",error:"error"},lb=console,db={};Object.keys(sb).forEach(function(t){db[t]=lb[t]});var cb="Datadog Browser SDK:",ub={debug:db.debug.bind(lb,cb),log:db.log.bind(lb,cb),info:db.info.bind(lb,cb),warn:db.warn.bind(lb,cb),error:db.error.bind(lb,cb)},pb="https://docs.datadoghq.com",hb="".concat(pb,"/real_user_monitoring/browser/troubleshooting"),mb="More details:";function fb(t,e){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];try{return t.apply(void 0,n)}catch(o){ub.error(e,o)}}}var gb,vb=function(t,e,n){if(n||2===arguments.length)for(var r,o=0,i=e.length;o<i;o++)!r&&o in e||(r||(r=Array.prototype.slice.call(e,0,o)),r[o]=e[o]);return t.concat(r||Array.prototype.slice.call(e))},bb=!1;function yb(t){gb=t}function wb(t){bb=t}function xb(t,e,n){var r=n.value;n.value=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=gb?$b(r):r;return n.apply(this,t)}}function $b(t){return function(){return Cb(t,this,arguments)}}function Cb(t,e,n){try{return t.apply(e,n)}catch(PN){if(kb(PN),gb)try{gb(PN)}catch(PN){kb(PN)}}}function kb(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];bb&&ub.error.apply(ub,vb(["[MONITOR]"],t,!1))}function _b(t,e){return-1!==t.indexOf(e)}function Sb(t){if(Array.from)return Array.from(t);var e=[];if(t instanceof Set)t.forEach(function(t){return e.push(t)});else for(var n=0;n<t.length;n++)e.push(t[n]);return e}function Tb(t,e){for(var n=0;n<t.length;n+=1){var r=t[n];if(e(r,n))return r}}function Mb(t){return Object.keys(t).map(function(e){return t[e]})}function Ob(t){return Object.keys(t).map(function(e){return[e,t[e]]})}function Eb(t,e){return t.slice(0,e.length)===e}function Ab(t,e){return t.slice(-e.length)===e}function Ib(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.forEach(function(e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}),t}function Pb(t){var e=Ib({version:"5.35.1",onReady:function(t){t()}},t);return Object.defineProperty(e,"_setDebug",{get:function(){return wb},enumerable:!1}),e}function Db(t,e,n){var r=t[e];r&&!r.q&&r.version&&ub.warn("SDK is loaded more than once. This is unsupported and might have unexpected behavior."),t[e]=n,r&&r.q&&r.q.forEach(function(t){return fb(t,"onReady callback threw an error:")()})}function Rb(){if("object"===typeof globalThis)return globalThis;Object.defineProperty(Object.prototype,"_dd_temp_",{get:function(){return this},configurable:!0});var t=_dd_temp_;return delete Object.prototype._dd_temp_,"object"!==typeof t&&(t="object"===typeof self?self:"object"===typeof window?window:{}),t}var Lb=1024,Nb=1024*Lb,jb=/[^\u0000-\u007F]/;function Bb(t){return jb.test(t)?void 0!==window.TextEncoder?(new TextEncoder).encode(t).length:new Blob([t]).size:t.length}function Fb(t,e){var n,r=Rb();return r.Zone&&"function"===typeof r.Zone.__symbol__&&(n=t[r.Zone.__symbol__(e)]),n||(n=t[e]),n}function Vb(t,e){return Fb(Rb(),"setTimeout")($b(t),e)}function Ub(t){Fb(Rb(),"clearTimeout")(t)}function Hb(t,e){return Fb(Rb(),"setInterval")($b(t),e)}function zb(t){Fb(Rb(),"clearInterval")(t)}function Gb(t,e,n){var r,o,i=!n||void 0===n.leading||n.leading,a=!n||void 0===n.trailing||n.trailing,s=!1;return{throttled:function(){for(var n=[],l=0;l<arguments.length;l++)n[l]=arguments[l];s?r=n:(i?t.apply(void 0,n):r=n,s=!0,o=Vb(function(){a&&r&&t.apply(void 0,r),s=!1,r=void 0},e))},cancel:function(){Ub(o),s=!1,r=void 0}}}function qb(){}function Wb(t,e,n){if("object"!==typeof t||null===t)return JSON.stringify(t);var r=Jb(Object.prototype),o=Jb(Array.prototype),i=Jb(Object.getPrototypeOf(t)),a=Jb(t);try{return JSON.stringify(t,e,n)}catch(ix){return"<error: unable to serialize object>"}finally{r(),o(),i(),a()}}function Jb(t){var e=t,n=e.toJSON;return n?(delete e.toJSON,function(){e.toJSON=n}):qb}function Xb(t){return Ib({},t)}function Kb(t,e){return Object.keys(t).some(function(n){return t[n]===e})}function Yb(t){return 0===Object.keys(t).length}var Zb=3*Lb,Qb=16*Lb,ty=200;function ey(t){void 0===t&&(t=2);var e=new Map,n=!1;function r(r){if(void 0===r&&(r=0),!n&&0!==t){var o=2===t?Zb:Qb,i=r;e.forEach(function(t){i+=t.getBytesCount()}),i>o&&(ry(o),n=!0)}}return{createDetachedTracker:function(){var t=ny(function(){return r(t.getBytesCount())});return t},getOrCreateTracker:function(t){return e.has(t)||e.set(t,ny(r)),e.get(t)},setCompressionStatus:function(e){0===t&&(t=e,r())},getCompressionStatus:function(){return t},stop:function(){e.forEach(function(t){return t.stop()}),e.clear()}}}function ny(t){var e=0,n=Gb(function(n){e=Bb(Wb(n)),t()},ty),r=n.throttled,o=n.cancel,i=function(){o(),e=0};return{updateCustomerData:function(t){Yb(t)?i():r(t)},resetCustomerData:i,getBytesCount:function(){return e},stop:function(){o()}}}function ry(t){ub.warn("Customer data exceeds the recommended ".concat(t/Lb,"KiB threshold. ").concat(mb," ").concat(hb,"/#customer-data-exceeds-the-recommended-threshold-warning"))}function oy(t){return null===t?"null":Array.isArray(t)?"array":typeof t}function iy(t,e,n){if(void 0===n&&(n=ly()),void 0===e)return t;if("object"!==typeof e||null===e)return e;if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp){var r=e.flags||[e.global?"g":"",e.ignoreCase?"i":"",e.multiline?"m":"",e.sticky?"y":"",e.unicode?"u":""].join("");return new RegExp(e.source,r)}if(!n.hasAlreadyBeenSeen(e)){if(Array.isArray(e)){for(var o=Array.isArray(t)?t:[],i=0;i<e.length;++i)o[i]=iy(o[i],e[i],n);return o}var a="object"===oy(t)?t:{};for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&(a[s]=iy(a[s],e[s],n));return a}}function ay(t){return iy(void 0,t)}function sy(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];for(var r=0,o=e;r<o.length;r++){var i=o[r];void 0!==i&&null!==i&&(t=iy(t,i))}return t}function ly(){if("undefined"!==typeof WeakSet){var t=new WeakSet;return{hasAlreadyBeenSeen:function(e){var n=t.has(e);return n||t.add(e),n}}}var e=[];return{hasAlreadyBeenSeen:function(t){var n=e.indexOf(t)>=0;return n||e.push(t),n}}}var dy=220*Lb,cy="$",uy=3;function py(t,e){void 0===e&&(e=dy);var n=Jb(Object.prototype),r=Jb(Array.prototype),o=[],i=new WeakMap,a=hy(t,cy,void 0,o,i),s=JSON.stringify(a),l=s?s.length:0;if(!(l>e)){while(o.length>0&&l<e){var d=o.shift(),c=0;if(Array.isArray(d.source))for(var u=0;u<d.source.length;u++){var p=hy(d.source[u],d.path,u,o,i);if(l+=void 0!==p?JSON.stringify(p).length:4,l+=c,c=1,l>e){vy(e,"truncated",t);break}d.target[u]=p}else for(var u in d.source)if(Object.prototype.hasOwnProperty.call(d.source,u)){p=hy(d.source[u],d.path,u,o,i);if(void 0!==p&&(l+=JSON.stringify(p).length+c+u.length+uy,c=1),l>e){vy(e,"truncated",t);break}d.target[u]=p}}return n(),r(),a}vy(e,"discarded",t)}function hy(t,e,n,r,o){var i=gy(t);if(!i||"object"!==typeof i)return my(i);var a=fy(i);if("[Object]"!==a&&"[Array]"!==a&&"[Error]"!==a)return a;var s=t;if(o.has(s))return"[Reference seen at ".concat(o.get(s),"]");var l=void 0!==n?"".concat(e,".").concat(n):e,d=Array.isArray(i)?[]:{};return o.set(s,l),r.push({source:i,target:d,path:l}),d}function my(t){return"bigint"===typeof t?"[BigInt] ".concat(t.toString()):"function"===typeof t?"[Function] ".concat(t.name||"unknown"):"symbol"===typeof t?"[Symbol] ".concat(t.description||t.toString()):t}function fy(t){try{if(t instanceof Event)return{isTrusted:t.isTrusted};var e=Object.prototype.toString.call(t),n=e.match(/\[object (.*)\]/);if(n&&n[1])return"[".concat(n[1],"]")}catch(ix){}return"[Unserializable]"}function gy(t){var e=t;if(e&&"function"===typeof e.toJSON)try{return e.toJSON()}catch(ix){}return t}function vy(t,e,n){ub.warn("The data provided has been ".concat(e," as it is over the limit of ").concat(t," characters:"),n)}var by=function(){function t(t){this.onFirstSubscribe=t,this.observers=[]}return t.prototype.subscribe=function(t){var e=this;return this.observers.push(t),1===this.observers.length&&this.onFirstSubscribe&&(this.onLastUnsubscribe=this.onFirstSubscribe(this)||void 0),{unsubscribe:function(){e.observers=e.observers.filter(function(e){return t!==e}),!e.observers.length&&e.onLastUnsubscribe&&e.onLastUnsubscribe()}}},t.prototype.notify=function(t){this.observers.forEach(function(e){return e(t)})},t}();function yy(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return new by(function(e){var n=t.map(function(t){return t.subscribe(function(t){return e.notify(t)})});return function(){return n.forEach(function(t){return t.unsubscribe()})}})}function wy(t){var e={},n=new by,r={getContext:function(){return ay(e)},setContext:function(o){"object"===oy(o)?(e=py(o),null===t||void 0===t||t.updateCustomerData(e)):r.clearContext(),n.notify()},setContextProperty:function(r,o){e[r]=py(o),null===t||void 0===t||t.updateCustomerData(e),n.notify()},removeContextProperty:function(r){delete e[r],null===t||void 0===t||t.updateCustomerData(e),n.notify()},clearContext:function(){e={},null===t||void 0===t||t.resetCustomerData(),n.notify()},changeObservable:n};return r}var xy={GRANTED:"granted",NOT_GRANTED:"not-granted"};function $y(t){var e=new by;return{tryToInit:function(e){t||(t=e)},update:function(n){t=n,e.notify()},isGranted:function(){return t===xy.GRANTED},observable:e}}function Cy(t,e,n,r,o){return ky(t,e,[n],r,o)}function ky(t,e,n,r,o){var i=void 0===o?{}:o,a=i.once,s=i.capture,l=i.passive,d=$b(function(e){(e.isTrusted||e.__ddIsTrusted||t.allowUntrustedEvents)&&(a&&h(),r(e))}),c=l?{capture:s,passive:l}:s,u=window.EventTarget&&e instanceof EventTarget?window.EventTarget.prototype:e,p=Fb(u,"addEventListener");function h(){var t=Fb(u,"removeEventListener");n.forEach(function(n){return t.call(e,n,d,c)})}return n.forEach(function(t){return p.call(e,t,d,c)}),{stop:h}}var _y="_dd_c",Sy=[];function Ty(t,e,n,r){var o=My(n,r);function i(){e.setContext(s())}function a(){localStorage.setItem(o,JSON.stringify(e.getContext()))}function s(){var t=localStorage.getItem(o);return null!==t?JSON.parse(t):{}}Sy.push(Cy(t,window,"storage",function(t){var e=t.key;o===e&&i()})),e.changeObservable.subscribe(a),e.setContext(sy(s(),e.getContext()))}function My(t,e){return"".concat(_y,"_").concat(t,"_").concat(e)}var Oy="?";function Ey(t){var e=[],n=Hy(t,"stack"),r=String(t);return n&&Eb(n,r)&&(n=n.slice(r.length)),n&&n.split("\n").forEach(function(t){var n=Ry(t)||Ny(t)||By(t)||Uy(t);n&&(!n.func&&n.line&&(n.func=Oy),e.push(n))}),{message:Hy(t,"message"),name:Hy(t,"name"),stack:e}}var Ay="((?:file|https?|blob|chrome-extension|electron|native|eval|webpack|snippet|<anonymous>|\\w+\\.|\\/).*?)",Iy="(?::(\\d+))",Py=new RegExp("^\\s*at (.*?) ?\\(".concat(Ay).concat(Iy,"?").concat(Iy,"?\\)?\\s*$"),"i"),Dy=new RegExp("\\((\\S*)".concat(Iy).concat(Iy,"\\)"));function Ry(t){var e=Py.exec(t);if(e){var n=e[2]&&0===e[2].indexOf("native"),r=e[2]&&0===e[2].indexOf("eval"),o=Dy.exec(e[2]);return r&&o&&(e[2]=o[1],e[3]=o[2],e[4]=o[3]),{args:n?[e[2]]:[],column:e[4]?+e[4]:void 0,func:e[1]||Oy,line:e[3]?+e[3]:void 0,url:n?void 0:e[2]}}}var Ly=new RegExp("^\\s*at ?".concat(Ay).concat(Iy,"?").concat(Iy,"??\\s*$"),"i");function Ny(t){var e=Ly.exec(t);if(e)return{args:[],column:e[3]?+e[3]:void 0,func:Oy,line:e[2]?+e[2]:void 0,url:e[1]}}var jy=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;function By(t){var e=jy.exec(t);if(e)return{args:[],column:e[4]?+e[4]:void 0,func:e[1]||Oy,line:+e[3],url:e[2]}}var Fy=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|capacitor|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,Vy=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function Uy(t){var e=Fy.exec(t);if(e){var n=e[3]&&e[3].indexOf(" > eval")>-1,r=Vy.exec(e[3]);return n&&r&&(e[3]=r[1],e[4]=r[2],e[5]=void 0),{args:e[2]?e[2].split(","):[],column:e[5]?+e[5]:void 0,func:e[1]||Oy,line:e[4]?+e[4]:void 0,url:e[3]}}}function Hy(t,e){if("object"===typeof t&&t&&e in t){var n=t[e];return"string"===typeof n?n:void 0}}function zy(t,e,n,r){var o=[{url:e,column:r,line:n}],i=qy(t),a=i.name,s=i.message;return{name:a,message:s,stack:o}}var Gy=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?([\s\S]*)$/;function qy(t){var e,n,r;return"[object String]"==={}.toString.call(t)&&(e=Gy.exec(t),n=e[1],r=e[2]),{name:n,message:r}}function Wy(){var t,e=2,n=new Error;if(!n.stack)try{throw n}catch(ix){qb()}return Cb(function(){var r=Ey(n);r.stack=r.stack.slice(e),t=Jy(r)}),t}function Jy(t){var e=Xy(t);return t.stack.forEach(function(t){var n="?"===t.func?"<anonymous>":t.func,r=t.args&&t.args.length>0?"(".concat(t.args.join(", "),")"):"",o=t.line?":".concat(t.line):"",i=t.line&&t.column?":".concat(t.column):"";e+="\n at ".concat(n).concat(r," @ ").concat(t.url).concat(o).concat(i)}),e}function Xy(t){return"".concat(t.name||"Error",": ").concat(t.message)}var Ky,Yy="No stack, consider using an instance of Error";function Zy(t){var e=t.stackTrace,n=t.originalError,r=t.handlingStack,o=t.startClocks,i=t.nonErrorPrefix,a=t.source,s=t.handling,l=rw(n),d=Qy(e,l,i,n),c=tw(l,e)?Jy(e):Yy,u=l?ow(n,a):void 0,p=e?e.name:void 0,h=ew(n);return{startClocks:o,source:a,handling:s,handlingStack:r,originalError:n,type:p,message:d,stack:c,causes:u,fingerprint:h}}function Qy(t,e,n,r){return(null===t||void 0===t?void 0:t.message)&&(null===t||void 0===t?void 0:t.name)?t.message:e?"Empty message":"".concat(n," ").concat(Wb(py(r)))}function tw(t,e){return void 0!==e&&(!!t||e.stack.length>0&&(e.stack.length>1||void 0!==e.stack[0].url))}function ew(t){return rw(t)&&"dd_fingerprint"in t?String(t.dd_fingerprint):void 0}function nw(t){var e;return null===(e=/@ (.+)/.exec(t))||void 0===e?void 0:e[1]}function rw(t){return t instanceof Error||"[object Error]"===Object.prototype.toString.call(t)}function ow(t,e){var n=t,r=[];while(rw(null===n||void 0===n?void 0:n.cause)&&r.length<10){var o=Ey(n.cause);r.push({message:n.cause.message,source:e,type:null===o||void 0===o?void 0:o.name,stack:o&&Jy(o)}),n=n.cause}return r.length?r:void 0}(function(t){t["WRITABLE_RESOURCE_GRAPHQL"]="writable_resource_graphql",t["REMOTE_CONFIGURATION"]="remote_configuration",t["LONG_ANIMATION_FRAME"]="long_animation_frame",t["ANONYMOUS_USER_TRACKING"]="anonymous_user_tracking",t["ACTION_NAME_MASKING"]="action_name_masking",t["CONSISTENT_TRACE_SAMPLING"]="consistent_trace_sampling",t["DELAY_VIEWPORT_COLLECTION"]="delay_viewport_collection"})(Ky||(Ky={}));var iw=new Set;function aw(t){Array.isArray(t)&&sw(t.filter(function(t){return Kb(Ky,t)}))}function sw(t){t.forEach(function(t){iw.add(t)})}function lw(t){return iw.has(t)}function dw(){return iw}var cw,uw="datad0g.com",pw="dd0g-gov.com",hw="datadoghq.com",mw="ddog-gov.com",fw="pci.browser-intake-datadoghq.com",gw=["ddsource","ddtags"],vw=1e3,bw=60*vw,yw=60*bw,ww=24*yw,xw=365*ww;function $w(){return(new Date).getTime()}function Cw(){return $w()}function kw(){return performance.now()}function _w(){return{relative:kw(),timeStamp:Cw()}}function Sw(){return{relative:0,timeStamp:Ew()}}function Tw(t,e){return e-t}function Mw(t,e){return t+e}function Ow(t){return t-Ew()}function Ew(){return void 0===cw&&(cw=performance.timing.navigationStart),cw}function Aw(t,e){var n=window.__ddBrowserSdkExtensionCallback;n&&n({type:t,payload:e})}function Iw(t){return 0!==t&&100*Math.random()<=t}function Pw(t){return Dw(t)&&t>=0&&t<=100}function Dw(t){return"number"===typeof t}function Rw(){var t,e=window.navigator;return{status:e.onLine?"connected":"not_connected",interfaces:e.connection&&e.connection.type?[e.connection.type]:void 0,effective_type:null===(t=e.connection)||void 0===t?void 0:t.effectiveType}}function Lw(t){var e=new Set;return t.forEach(function(t){return e.add(t)}),Sb(e)}function Nw(t,e){var n=t.indexOf(e);n>=0&&t.splice(n,1)}var jw=500;function Bw(){var t=[],e=function(e){var n=t.push(e);n>jw&&t.splice(0,1)},n=function(e){Nw(t,e)},r=function(e){t.forEach(function(t){return t(e)}),t.length=0};return{add:e,remove:n,drain:r}}var Fw={log:"log",configuration:"configuration",usage:"usage"},Vw=["https://www.datadoghq-browser-agent.com","https://www.datad0g-browser-agent.com","https://d3uc069fcn7uxw.cloudfront.net","https://d20xtzwzcl0ceb.cloudfront.net","http://localhost","<anonymous>"],Uw=[mw],Hw=Bw(),zw=function(t){Hw.add(function(){return zw(t)})};function Gw(t,e){var n,r,o=new by,i=new Set,a=!_b(Uw,e.site)&&Iw(e.telemetrySampleRate),s=(n={},n[Fw.log]=a,n[Fw.configuration]=a&&Iw(e.telemetryConfigurationSampleRate),n[Fw.usage]=a&&Iw(e.telemetryUsageSampleRate),n),l=qw();function d(t,e,n){return sy({type:"telemetry",date:Cw(),service:t,version:"5.35.1",source:"browser",_dd:{format_version:2},telemetry:sy(e,{runtime_env:n,connectivity:Rw(),sdk_setup:"npm"}),experimental_features:Sb(dw())},void 0!==r?r():{})}return zw=function(n){var r=Wb(n);if(s[n.type]&&i.size<e.maxTelemetryEventsPerPage&&!i.has(r)){var a=d(t,n,l);o.notify(a),Aw("telemetry",a),i.add(r)}},yb(Kw),{setContextProvider:function(t){r=t},observable:o,enabled:a}}function qw(){return{is_local_file:"file:"===window.location.protocol,is_worker:"WorkerGlobalScope"in self}}function Ww(){Hw.drain()}function Jw(t){return t.site===uw}function Xw(t,e){kb(sb.debug,t,e),zw(Ib({type:Fw.log,message:t,status:"debug"},e))}function Kw(t,e){zw(Ib({type:Fw.log,status:"error"},Qw(t),e))}function Yw(t){zw({type:Fw.configuration,configuration:t})}function Zw(t){zw({type:Fw.usage,usage:t})}function Qw(t){if(rw(t)){var e=Ey(t);return{error:{kind:e.name,stack:Jy(tx(e))},message:e.message}}return{error:{stack:Yy},message:"".concat("Uncaught"," ").concat(Wb(t))}}function tx(t){return t.stack=t.stack.filter(function(t){return!t.url||Vw.some(function(e){return Eb(t.url,e)})}),t}function ex(t){var e=Ib({},t),n=["id","name","email"];return n.forEach(function(t){t in e&&(e[t]=String(e[t]))}),e}function nx(t){var e="object"===oy(t);return e||ub.error("Unsupported user:",t),e}function rx(){return Math.floor(Math.random()*Math.pow(2,53)).toString(36)}function ox(t,e){e.silentMultipleInit||ub.error("".concat(t," is already initialized."))}var ix,ax={AGENT:"agent",CONSOLE:"console",CUSTOM:"custom",LOGGER:"logger",NETWORK:"network",SOURCE:"source",REPORT:"report"};function sx(t,e,n){var r=n.getHandler(),o=Array.isArray(r)?r:[r];return dx[t]>=dx[n.getLevel()]&&_b(o,e)}var lx={ok:"ok",debug:"debug",info:"info",notice:"notice",warn:"warn",error:"error",critical:"critical",alert:"alert",emerg:"emerg"},dx=(ix={},ix[lx.ok]=0,ix[lx.debug]=1,ix[lx.info]=2,ix[lx.notice]=4,ix[lx.warn]=5,ix[lx.error]=6,ix[lx.critical]=7,ix[lx.alert]=8,ix[lx.emerg]=9,ix);function cx(t,e){var n=void 0===e?{}:e,r=n.includeMessage,o=void 0!==r&&r;return{stack:t.stack,kind:t.type,message:o?t.message:void 0,causes:t.causes,fingerprint:t.fingerprint,handling:t.handling}}var ux=function(t,e,n,r){var o,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(a=(i<3?o(a):i>3?o(e,n,a):o(e,n))||a);return i>3&&a&&Object.defineProperty(e,n,a),a},px={console:"console",http:"http",silent:"silent"},hx=Object.keys(lx),mx=function(){function t(t,e,n,r,o,i){void 0===r&&(r=px.http),void 0===o&&(o=lx.debug),void 0===i&&(i={}),this.handleLogStrategy=t,this.handlerType=r,this.level=o,this.contextManager=wy(e),this.contextManager.setContext(i),n&&this.contextManager.setContextProperty("logger",{name:n})}return t.prototype.logImplementation=function(t,e,n,r,o){void 0===n&&(n=lx.info);var i,a=py(e);if(void 0!==r&&null!==r){var s=Zy({stackTrace:rw(r)?Ey(r):void 0,originalError:r,nonErrorPrefix:"Provided",source:ax.LOGGER,handling:"handled",startClocks:_w()});i=sy({error:cx(s,{includeMessage:!0})},a)}else i=a;this.handleLogStrategy({message:py(t),context:i,status:n},this,o)},t.prototype.log=function(t,e,n,r){var o;void 0===n&&(n=lx.info),sx(n,px.http,this)&&(o=Wy()),this.logImplementation(t,e,n,r,o)},t.prototype.setContext=function(t){this.contextManager.setContext(t)},t.prototype.getContext=function(){return this.contextManager.getContext()},t.prototype.setContextProperty=function(t,e){this.contextManager.setContextProperty(t,e)},t.prototype.removeContextProperty=function(t){this.contextManager.removeContextProperty(t)},t.prototype.clearContext=function(){this.contextManager.clearContext()},t.prototype.setHandler=function(t){this.handlerType=t},t.prototype.getHandler=function(){return this.handlerType},t.prototype.setLevel=function(t){this.level=t},t.prototype.getLevel=function(){return this.level},ux([xb],t.prototype,"logImplementation",null),t}();function fx(t){return function(e,n,r){var o;sx(t,px.http,this)&&(o=Wy()),this.logImplementation(e,n,t,r,o)}}function gx(t,e){return{view:{referrer:document.referrer,url:window.location.href},context:t.getContext(),user:e.getContext()}}function vx(){var t=yx();if(t)return{getCapabilities:function(){var e;return JSON.parse((null===(e=t.getCapabilities)||void 0===e?void 0:e.call(t))||"[]")},getPrivacyLevel:function(){var e;return null===(e=t.getPrivacyLevel)||void 0===e?void 0:e.call(t)},getAllowedWebViewHosts:function(){return JSON.parse(t.getAllowedWebViewHosts())},send:function(e,n,r){var o=r?{id:r}:void 0;t.send(JSON.stringify({eventType:e,event:n,view:o}))}}}function bx(t){var e;void 0===t&&(t=null===(e=Rb().location)||void 0===e?void 0:e.hostname);var n=vx();return!!n&&n.getAllowedWebViewHosts().some(function(e){return t===e||Ab(t,".".concat(e))})}function yx(){return Rb().DatadogEventBridge}function wx(t,e,n,r){var o=void 0===r?{}:r,i=o.computeHandlingStack,a=t[e];if("function"!==typeof a){if(!(e in t)||!Eb(e,"on"))return{stop:qb};a=qb}var s=!1,l=function(){if(s)return a.apply(this,arguments);var t,e=Sb(arguments);Cb(n,null,[{target:this,parameters:e,onPostCall:function(e){t=e},handlingStack:i?Wy():void 0}]);var r=a.apply(this,e);return t&&Cb(t,null,[r]),r};return t[e]=l,{stop:function(){s=!0,t[e]===l&&(t[e]=a)}}}function xx(t){return $x(t,location.href).href}function $x(t,e){var n=Sx();if(n)try{return void 0!==e?new n(t,e):new n(t)}catch(a){throw new Error("Failed to construct URL: ".concat(String(a)," ").concat(Wb({url:t,base:e})))}if(void 0===e&&!/:/.test(t))throw new Error("Invalid URL: '".concat(t,"'"));var r=document,o=r.createElement("a");if(void 0!==e){r=document.implementation.createHTMLDocument("");var i=r.createElement("base");i.href=e,r.head.appendChild(i),r.body.appendChild(o)}return o.href=t,o}mx.prototype.ok=fx(lx.ok),mx.prototype.debug=fx(lx.debug),mx.prototype.info=fx(lx.info),mx.prototype.notice=fx(lx.notice),mx.prototype.warn=fx(lx.warn),mx.prototype.error=fx(lx.error),mx.prototype.critical=fx(lx.critical),mx.prototype.alert=fx(lx.alert),mx.prototype.emerg=fx(lx.emerg);var Cx,kx,_x=URL;function Sx(){if(void 0===Cx)try{var t=new _x("http://test/path");Cx="http://test/path"===t.href}catch(ix){Cx=!1}return Cx?_x:void 0}function Tx(){return kx||(kx=Mx()),kx}function Mx(){return new by(function(t){if(window.fetch){var e=wx(window,"fetch",function(e){return Ox(e,t)},{computeHandlingStack:!0}).stop;return e}})}function Ox(t,e){var n=t.parameters,r=t.onPostCall,o=t.handlingStack,i=n[0],a=n[1],s=a&&a.method;void 0===s&&i instanceof Request&&(s=i.method);var l=void 0!==s?String(s).toUpperCase():"GET",d=i instanceof Request?i.url:xx(String(i)),c=_w(),u={state:"start",init:a,input:i,method:l,startClocks:c,url:d,handlingStack:o};e.notify(u),n[0]=u.input,n[1]=u.init,r(function(t){return Ex(e,t,u)})}function Ex(t,e,n){var r=n;function o(e){r.state="resolve",Ib(r,e),t.notify(r)}e.then($b(function(t){o({response:t,responseType:t.type,status:t.status,isAborted:!1})}),$b(function(t){var e,n;o({status:0,isAborted:(null===(n=null===(e=r.init)||void 0===e?void 0:e.signal)||void 0===n?void 0:n.aborted)||t instanceof DOMException&&t.code===DOMException.ABORT_ERR,error:t})}))}function Ax(t){return t?(parseInt(t,10)^16*Math.random()>>parseInt(t,10)/4).toString(16):"".concat(1e7,"-").concat(1e3,"-").concat(4e3,"-").concat(8e3,"-").concat(1e11).replace(/[018]/g,Ax)}var Ix,Px,Dx,Rx=/([\w-]+)\s*=\s*([^;]+)/g;function Lx(t,e){Rx.lastIndex=0;while(1){var n=Rx.exec(t);if(!n)break;if(n[1]===e)return n[2]}}function Nx(t){var e=new Map;Rx.lastIndex=0;while(1){var n=Rx.exec(t);if(!n)break;e.set(n[1],n[2])}return e}function jx(t,e,n){void 0===n&&(n="");var r=t.charCodeAt(e-1),o=r>=55296&&r<=56319,i=o?e+1:e;return t.length<=i?t:"".concat(t.slice(0,i)).concat(n)}function Bx(){return 1===Fx()}function Fx(){return null!==Ix&&void 0!==Ix?Ix:Ix=Vx()}function Vx(t){var e;void 0===t&&(t=window);var n=t.navigator.userAgent;return t.chrome||/HeadlessChrome/.test(n)?1:0===(null===(e=t.navigator.vendor)||void 0===e?void 0:e.indexOf("Apple"))||/safari/i.test(n)&&!/chrome|android/i.test(n)?2:t.document.documentMode?0:3}function Ux(t,e,n,r){void 0===n&&(n=0);var o=new Date;o.setTime(o.getTime()+n);var i="expires=".concat(o.toUTCString()),a=r&&r.crossSite?"none":"strict",s=r&&r.domain?";domain=".concat(r.domain):"",l=r&&r.secure?";secure":"",d=r&&r.partitioned?";partitioned":"";document.cookie="".concat(t,"=").concat(e,";").concat(i,";path=/;samesite=").concat(a).concat(s).concat(l).concat(d)}function Hx(t){return Lx(document.cookie,t)}function zx(t){return Px||(Px=Nx(document.cookie)),Px.get(t)}function Gx(t,e){Ux(t,"",0,e)}function qx(t){if(void 0===document.cookie||null===document.cookie)return!1;try{var e="dd_cookie_test_".concat(Ax()),n="test";Ux(e,n,bw,t);var r=Hx(e)===n;return Gx(e,t),r}catch(o){return ub.error(o),!1}}function Wx(){if(void 0===Dx){var t="dd_site_test_".concat(Ax()),e="test",n=window.location.hostname.split("."),r=n.pop();while(n.length&&!Hx(t))r="".concat(n.pop(),".").concat(r),Ux(t,e,vw,{domain:r});Gx(t,{domain:r}),Dx=r}return Dx}var Jx="_dd_s",Xx=4*yw,Kx=15*bw,Yx=xw,Zx={COOKIE:"cookie",LOCAL_STORAGE:"local-storage"},Qx=/^([a-zA-Z]+)=([a-z0-9-]+)$/,t$="&";function e$(t){return!!t&&(-1!==t.indexOf(t$)||Qx.test(t))}var n$="1";function r$(t){var e={isExpired:n$};return lw(Ky.ANONYMOUS_USER_TRACKING)&&((null===t||void 0===t?void 0:t.anonymousId)?e.anonymousId=null===t||void 0===t?void 0:t.anonymousId:e.anonymousId=rx()),e}function o$(t){return Yb(t)}function i$(t){return!o$(t)}function a$(t){return void 0!==t.isExpired||!s$(t)}function s$(t){return(void 0===t.created||$w()-Number(t.created)<Xx)&&(void 0===t.expire||$w()<Number(t.expire))}function l$(t){t.expire=String($w()+Kx)}function d$(t){return Ob(t).map(function(t){var e=t[0],n=t[1];return"anonymousId"===e?"aid=".concat(n):"".concat(e,"=").concat(n)}).join(t$)}function c$(t){var e={};return e$(t)&&t.split(t$).forEach(function(t){var n=Qx.exec(t);if(null!==n){var r=n[1],o=n[2];"aid"===r?e.anonymousId=o:e[r]=o}}),e}var u$="_dd",p$="_dd_r",h$="_dd_l",m$="rum",f$="logs";function g$(t){var e=zx(Jx);if(!e){var n=zx(u$),r=zx(p$),o=zx(h$),i={};n&&(i.id=n),o&&/^[01]$/.test(o)&&(i[f$]=o),r&&/^[012]$/.test(r)&&(i[m$]=r),i$(i)&&(l$(i),t.persistSession(i))}}function v$(t){var e=$$(t);return qx(e)?{type:Zx.COOKIE,cookieOptions:e}:void 0}function b$(t){var e={isLockEnabled:Bx(),persistSession:y$(t),retrieveSession:x$,expireSession:function(e){return w$(t,e)}};return g$(e),e}function y$(t){return function(e){Ux(Jx,d$(e),Kx,t)}}function w$(t,e){var n=r$(e);Ux(Jx,d$(n),lw(Ky.ANONYMOUS_USER_TRACKING)?Yx:Xx,t)}function x$(){var t=Hx(Jx),e=c$(t);return e}function $$(t){var e={};return e.secure=!!t.useSecureSessionCookie||!!t.usePartitionedCrossSiteSessionCookie||!!t.useCrossSiteSessionCookie,e.crossSite=!!t.usePartitionedCrossSiteSessionCookie||!!t.useCrossSiteSessionCookie,e.partitioned=!!t.usePartitionedCrossSiteSessionCookie,t.trackSessionAcrossSubdomains&&(e.domain=Wx()),e}var C$="_dd_test_";function k$(){try{var t=Ax(),e="".concat(C$).concat(t);localStorage.setItem(e,t);var n=localStorage.getItem(e);return localStorage.removeItem(e),t===n?{type:Zx.LOCAL_STORAGE}:void 0}catch(ix){return}}function _$(){return{isLockEnabled:!1,persistSession:S$,retrieveSession:T$,expireSession:M$}}function S$(t){localStorage.setItem(Jx,d$(t))}function T$(){var t=localStorage.getItem(Jx);return c$(t)}function M$(t){S$(r$(t))}var O$,E$=10,A$=100,I$=[];function P$(t,e,n){var r;void 0===n&&(n=0);var o=e.isLockEnabled,i=e.persistSession,a=e.expireSession,s=function(t){return i(Ib({},t,{lock:d}))},l=function(){var t=e.retrieveSession(),n=t.lock;return t.lock&&delete t.lock,{session:t,lock:n}};if(O$||(O$=t),t===O$)if(o&&n>=A$)R$(e);else{var d,c=l();if(o){if(c.lock)return void D$(t,e,n);if(d=Ax(),s(c.session),c=l(),c.lock!==d)return void D$(t,e,n)}var u=t.process(c.session);if(o&&(c=l(),c.lock!==d))D$(t,e,n);else{if(u&&(a$(u)?a(u):(l$(u),o?s(u):i(u))),o&&(!u||!a$(u))){if(c=l(),c.lock!==d)return void D$(t,e,n);i(c.session),u=c.session}null===(r=t.after)||void 0===r||r.call(t,u||c.session),R$(e)}}else I$.push(t)}function D$(t,e,n){Vb(function(){P$(t,e,n+1)},E$)}function R$(t){O$=void 0;var e=I$.shift();e&&P$(e,t)}var L$=vw;function N$(t){switch(t.sessionPersistence){case Zx.COOKIE:return v$(t);case Zx.LOCAL_STORAGE:return k$();case void 0:var e=v$(t);return!e&&t.allowFallbackToLocalStorage&&(e=k$()),e;default:ub.error("Invalid session persistence '".concat(String(t.sessionPersistence),"'"))}}function j$(t,e,n){var r,o=new by,i=new by,a=new by,s=t.type===Zx.COOKIE?b$(t.cookieOptions):_$(),l=s.expireSession,d=Hb(m,L$);g();var c=Gb(function(){P$({process:function(t){if(!o$(t)){var e=f(t);return v(e),e}},after:function(t){i$(t)&&!b()&&x(t),r=t}},s)},L$),u=c.throttled,p=c.cancel;function h(){P$({process:function(t){return b()?f(t):void 0}},s)}function m(){P$({process:function(t){return a$(t)?r$(t):void 0},after:f},s)}function f(t){return a$(t)&&(t=r$(t)),b()&&(y(t)?w():(a.notify({previousState:r,newState:t}),r=t)),t}function g(){P$({process:function(t){if(o$(t))return r$(t)},after:function(t){r=t}},s)}function v(t){if(o$(t))return!1;var r=n(t[e]),o=r.trackingType,i=r.isTracked;t[e]=o,delete t.isExpired,i&&!t.id&&(t.id=Ax(),t.created=String($w()))}function b(){return void 0!==r[e]}function y(t){return r.id!==t.id||r[e]!==t[e]}function w(){r=r$(r),i.notify()}function x(t){r=t,o.notify()}function $(t){P$({process:function(e){return Ib({},e,t)},after:f},s)}return{expandOrRenewSession:u,expandSession:h,getSession:function(){return r},renewObservable:o,expireObservable:i,sessionStateUpdateObservable:a,restartSession:g,expire:function(){p(),l(r),f(r$(r))},stop:function(){zb(d)},updateSessionState:$}}function B$(t,e,n){var r=F$(t,e);return{build:function(o,i){var a=U$(t,e,n,o,i);return r(a)},urlPrefix:r(""),trackType:e}}function F$(t,e){var n="/api/v2/".concat(e),r=t.proxy;if("string"===typeof r){var o=xx(r);return function(t){return"".concat(o,"?ddforward=").concat(encodeURIComponent("".concat(n,"?").concat(t)))}}if("function"===typeof r)return function(t){return r({path:n,parameters:t})};var i=V$(e,t);return function(t){return"https://".concat(i).concat(n,"?").concat(t)}}function V$(t,e){var n=e.site,r=void 0===n?hw:n,o=e.internalAnalyticsSubdomain;if("logs"===t&&e.usePciIntake&&r===hw)return fw;if(o&&r===hw)return"".concat(o,".").concat(hw);if(r===pw)return"http-intake.logs.".concat(r);var i=r.split("."),a=i.pop();return"browser-intake-".concat(i.join("-"),".").concat(a)}function U$(t,e,n,r,o){var i=t.clientToken,a=t.internalAnalyticsSubdomain,s=o.retry,l=o.encoding,d=["sdk_version:".concat("5.35.1"),"api:".concat(r)].concat(n);s&&d.push("retry_count:".concat(s.count),"retry_after:".concat(s.lastFailureStatus));var c=["ddsource=browser","ddtags=".concat(encodeURIComponent(d.join(","))),"dd-api-key=".concat(i),"dd-evp-origin-version=".concat(encodeURIComponent("5.35.1")),"dd-evp-origin=browser","dd-request-id=".concat(Ax())];return l&&c.push("dd-evp-encoding=".concat(l)),"rum"===e&&c.push("batch_time=".concat(Cw())),a&&c.reverse(),c.join("&")}var H$=200;function z$(t){var e=t.env,n=t.service,r=t.version,o=t.datacenter,i=[];return e&&i.push(G$("env",e)),n&&i.push(G$("service",n)),r&&i.push(G$("version",r)),o&&i.push(G$("datacenter",o)),i}function G$(t,e){var n=H$-t.length-1;(e.length>n||q$(e))&&ub.warn("".concat(t," value doesn't meet tag requirements and will be sanitized. ").concat(mb," ").concat(pb,"/getting_started/tagging/#defining-tags"));var r=e.replace(/,/g,"_");return"".concat(t,":").concat(r)}function q$(t){return!!W$()&&new RegExp("[^\\p{Ll}\\p{Lo}0-9_:./-]","u").test(t)}function W$(){try{return new RegExp("[\\p{Ll}]","u"),!0}catch(ix){return!1}}function J$(t){var e=t.site||hw,n=z$(t),r=X$(t,n),o=K$(t,n);return Ib({replica:o,site:e},r)}function X$(t,e){return{logsEndpointBuilder:B$(t,"logs",e),rumEndpointBuilder:B$(t,"rum",e),sessionReplayEndpointBuilder:B$(t,"replay",e)}}function K$(t,e){if(t.replica){var n=Ib({},t,{site:hw,clientToken:t.replica.clientToken}),r={logsEndpointBuilder:B$(n,"logs",e),rumEndpointBuilder:B$(n,"rum",e)};return Ib({applicationId:t.replica.applicationId},r)}}function Y$(t){return gw.every(function(e){return _b(t,e)})}function Z$(t,e){return void 0===t||null===t||"string"===typeof t||(ub.error("".concat(e," must be defined as a string")),!1)}function Q$(t){return!(t&&"string"===typeof t&&!/(datadog|ddog|datad0g|dd0g)/.test(t))||(ub.error("Site should be a valid Datadog site. ".concat(mb," ").concat(pb,"/getting_started/site/.")),!1)}function tC(t,e){return!(void 0!==t&&!Pw(t))||(ub.error("".concat(e," Sample Rate should be a number between 0 and 100")),!1)}function eC(t){var e,n,r,o,i;if(t&&t.clientToken){if(Q$(t.site)&&tC(t.sessionSampleRate,"Session")&&tC(t.telemetrySampleRate,"Telemetry")&&tC(t.telemetryConfigurationSampleRate,"Telemetry Configuration")&&tC(t.telemetryUsageSampleRate,"Telemetry Usage")&&Z$(t.version,"Version")&&Z$(t.env,"Env")&&Z$(t.service,"Service")){if(void 0===t.trackingConsent||Kb(xy,t.trackingConsent))return Ib({beforeSend:t.beforeSend&&fb(t.beforeSend,"beforeSend threw an error:"),sessionStoreStrategyType:N$(t),sessionSampleRate:null!==(e=t.sessionSampleRate)&&void 0!==e?e:100,telemetrySampleRate:null!==(n=t.telemetrySampleRate)&&void 0!==n?n:20,telemetryConfigurationSampleRate:null!==(r=t.telemetryConfigurationSampleRate)&&void 0!==r?r:5,telemetryUsageSampleRate:null!==(o=t.telemetryUsageSampleRate)&&void 0!==o?o:5,service:t.service||void 0,silentMultipleInit:!!t.silentMultipleInit,allowUntrustedEvents:!!t.allowUntrustedEvents,trackingConsent:null!==(i=t.trackingConsent)&&void 0!==i?i:xy.GRANTED,storeContextsAcrossPages:!!t.storeContextsAcrossPages,batchBytesLimit:16*Lb,eventRateLimiterThreshold:3e3,maxTelemetryEventsPerPage:15,flushTimeout:30*vw,batchMessagesLimit:50,messageBytesLimit:256*Lb},J$(t));ub.error('Tracking Consent should be either "granted" or "not-granted"')}}else ub.error("Client Token is not configured, we will not send any data.")}function nC(t){return{session_sample_rate:t.sessionSampleRate,telemetry_sample_rate:t.telemetrySampleRate,telemetry_configuration_sample_rate:t.telemetryConfigurationSampleRate,telemetry_usage_sample_rate:t.telemetryUsageSampleRate,use_before_send:!!t.beforeSend,use_cross_site_session_cookie:t.useCrossSiteSessionCookie,use_partitioned_cross_site_session_cookie:t.usePartitionedCrossSiteSessionCookie,use_secure_session_cookie:t.useSecureSessionCookie,use_proxy:!!t.proxy,silent_multiple_init:t.silentMultipleInit,track_session_across_subdomains:t.trackSessionAcrossSubdomains,session_persistence:t.sessionPersistence,allow_fallback_to_local_storage:!!t.allowFallbackToLocalStorage,store_contexts_across_pages:!!t.storeContextsAcrossPages,allow_untrusted_events:!!t.allowUntrustedEvents,tracking_consent:t.trackingConsent}}var rC={intervention:"intervention",deprecation:"deprecation",cspViolation:"csp_violation"};function oC(t,e){var n=[];_b(e,rC.cspViolation)&&n.push(aC(t));var r=e.filter(function(t){return t!==rC.cspViolation});return r.length&&n.push(iC(r)),yy.apply(void 0,n)}function iC(t){return new by(function(e){if(window.ReportingObserver){var n=$b(function(t,n){return t.forEach(function(t){return e.notify(sC(t))})}),r=new window.ReportingObserver(n,{types:t,buffered:!0});return r.observe(),function(){r.disconnect()}}})}function aC(t){return new by(function(e){var n=Cy(t,document,"securitypolicyviolation",function(t){e.notify(lC(t))}).stop;return n})}function sC(t){var e=t.type,n=t.body;return dC({type:n.id,message:"".concat(e,": ").concat(n.message),originalError:t,stack:cC(n.id,n.message,n.sourceFile,n.lineNumber,n.columnNumber)})}function lC(t){var e="'".concat(t.blockedURI,"' blocked by '").concat(t.effectiveDirective,"' directive");return dC({type:t.effectiveDirective,message:"".concat(rC.cspViolation,": ").concat(e),originalError:t,csp:{disposition:t.disposition},stack:cC(t.effectiveDirective,t.originalPolicy?"".concat(e,' of the policy "').concat(jx(t.originalPolicy,100,"..."),'"'):"no policy",t.sourceFile,t.lineNumber,t.columnNumber)})}function dC(t){return Ib({startClocks:_w(),source:ax.REPORT,handling:"unhandled"},t)}function cC(t,e,n,r,o){return n?Jy({name:t,message:e,stack:[{func:"?",url:n,line:null!==r&&void 0!==r?r:void 0,column:null!==o&&void 0!==o?o:void 0}]}):void 0}var uC=32*Lb;function pC(t){!0===t.usePciIntake&&t.site&&"datadoghq.com"!==t.site&&ub.warn("PCI compliance for Logs is only available for Datadog organizations in the US1 site. Default intake will be used.");var e=eC(t),n=hC(t.forwardConsoleLogs,Mb(sb),"Forward Console Logs"),r=hC(t.forwardReports,Mb(rC),"Forward Reports");if(e&&n&&r)return t.forwardErrorsToLogs&&!_b(n,sb.error)&&n.push(sb.error),Ib({forwardErrorsToLogs:!1!==t.forwardErrorsToLogs,forwardConsoleLogs:n,forwardReports:r,requestErrorResponseLengthLimit:uC,sendLogsAfterSessionExpiration:!!t.sendLogsAfterSessionExpiration},e)}function hC(t,e,n){return void 0===t?[]:"all"===t||Array.isArray(t)&&t.every(function(t){return _b(e,t)})?"all"===t?e:Lw(t):void ub.error("".concat(n,' should be "all" or an array with allowed values "').concat(e.join('", "'),'"'))}function mC(t){var e=nC(t);return Ib({forward_errors_to_logs:t.forwardErrorsToLogs,forward_console_logs:t.forwardConsoleLogs,forward_reports:t.forwardReports,use_pci_intake:t.usePciIntake,send_logs_after_session_expiration:t.sendLogsAfterSessionExpiration},e)}function fC(t,e,n){var r,o,i=Bw(),a=e.observable.subscribe(s);function s(){if(o&&r&&e.isGranted()){a.unsubscribe();var t=n(r,o);i.drain(t)}}return{init:function(t){if(t)if(aw(t.enableExperimentalFeatures),bx()&&(t=gC(t)),r=t,o)ox("DD_LOGS",t);else{var n=pC(t);n&&(o=n,Tx().subscribe(qb),e.tryToInit(n.trackingConsent),s())}else ub.error("Missing configuration")},get initConfiguration(){return r},getInternalContext:qb,handleLog:function(e,n,r,o,a){void 0===o&&(o=t()),void 0===a&&(a=Cw()),i.add(function(t){return t.handleLog(e,n,r,o,a)})}}}function gC(t){return Ib({},t,{clientToken:"empty"})}var vC="logs";function bC(t){var e=ey(),n=wy(e.getOrCreateTracker(2)),r=wy(e.getOrCreateTracker(1)),o=$y();function i(){return gx(n,r)}var a=fC(i,o,function(e,s){e.storeContextsAcrossPages&&(Ty(s,n,vC,2),Ty(s,r,vC,1));var l=t(e,s,i,o);return a=yC(e,l),l}),s={},l=new mx(function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return a.handleLog.apply(a,t)},e.createDetachedTracker());return Pb({logger:l,init:$b(function(t){return a.init(t)}),setTrackingConsent:$b(function(t){o.update(t),Zw({feature:"set-tracking-consent",tracking_consent:t})}),getGlobalContext:$b(function(){return n.getContext()}),setGlobalContext:$b(function(t){return n.setContext(t)}),setGlobalContextProperty:$b(function(t,e){return n.setContextProperty(t,e)}),removeGlobalContextProperty:$b(function(t){return n.removeContextProperty(t)}),clearGlobalContext:$b(function(){return n.clearContext()}),createLogger:$b(function(t,n){return void 0===n&&(n={}),s[t]=new mx(function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return a.handleLog.apply(a,t)},e.createDetachedTracker(),py(t),n.handler,n.level,py(n.context)),s[t]}),getLogger:$b(function(t){return s[t]}),getInitConfiguration:$b(function(){return ay(a.initConfiguration)}),getInternalContext:$b(function(t){return a.getInternalContext(t)}),setUser:$b(function(t){nx(t)&&r.setContext(ex(t))}),getUser:$b(function(){return r.getContext()}),setUserProperty:$b(function(t,e){var n,o=ex((n={},n[t]=e,n))[t];r.setContextProperty(t,o)}),removeUserProperty:$b(function(t){return r.removeContextProperty(t)}),clearUser:$b(function(){return r.clearContext()})})}function yC(t,e){return Ib({init:function(t){ox("DD_LOGS",t)},initConfiguration:t},e)}var wC={HIDDEN:"visibility_hidden",UNLOADING:"before_unload",PAGEHIDE:"page_hide",FROZEN:"page_frozen"};function xC(t){return new by(function(e){var n=ky(t,window,["visibilitychange","freeze"],function(t){"visibilitychange"===t.type&&"hidden"===document.visibilityState?e.notify({reason:wC.HIDDEN}):"freeze"===t.type&&e.notify({reason:wC.FROZEN})},{capture:!0}).stop,r=Cy(t,window,"beforeunload",function(){e.notify({reason:wC.UNLOADING})}).stop;return function(){n(),r()}})}function $C(t){return _b(Mb(wC),t)}var CC="datadog-synthetics-public-id",kC="datadog-synthetics-result-id",_C="datadog-synthetics-injects-rum";function SC(){return Boolean(window._DATADOG_SYNTHETICS_INJECTS_RUM||zx(_C))}function TC(){var t=window._DATADOG_SYNTHETICS_PUBLIC_ID||zx(CC);return"string"===typeof t?t:void 0}function MC(){var t=window._DATADOG_SYNTHETICS_RESULT_ID||zx(kC);return"string"===typeof t?t:void 0}var OC=1/0,EC=bw;function AC(t){var e=t.expireDelay,n=t.maxEntries,r=[],o=Hb(function(){return i()},EC);function i(){var t=kw()-e;while(r.length>0&&r[r.length-1].endTime<t)r.pop()}function a(t,e){var o={value:t,startTime:e,endTime:OC,remove:function(){Nw(r,o)},close:function(t){o.endTime=t}};return n&&r.length>=n&&r.pop(),r.unshift(o),o}function s(t,e){void 0===t&&(t=OC),void 0===e&&(e={returnInactive:!1});for(var n=0,o=r;n<o.length;n++){var i=o[n];if(i.startTime<=t){if(e.returnInactive||t<=i.endTime)return i.value;break}}}function l(t){var e=r[0];e&&e.endTime===OC&&e.close(t)}function d(t,e){void 0===t&&(t=OC),void 0===e&&(e=0);var n=Mw(t,e);return r.filter(function(e){return e.startTime<=n&&t<=e.endTime}).map(function(t){return t.value})}function c(){r=[]}function u(){zb(o)}return{add:a,find:s,closeActive:l,findAll:d,reset:c,stop:u}}var IC=bw,PC=Xx,DC=[];function RC(t,e,n,r){var o=new by,i=new by,a=j$(t.sessionStoreStrategyType,e,n);DC.push(function(){return a.stop()});var s=AC({expireDelay:PC});function l(){return{id:a.getSession().id,trackingType:a.getSession()[e],isReplayForced:!!a.getSession().forcedReplay,anonymousId:a.getSession().anonymousId}}return DC.push(function(){return s.stop()}),a.renewObservable.subscribe(function(){s.add(l(),kw()),o.notify()}),a.expireObservable.subscribe(function(){i.notify(),s.closeActive(kw())}),a.expandOrRenewSession(),s.add(l(),Sw().relative),r.observable.subscribe(function(){r.isGranted()?a.expandOrRenewSession():a.expire()}),LC(t,function(){r.isGranted()&&a.expandOrRenewSession()}),NC(t,function(){return a.expandSession()}),jC(t,function(){return a.restartSession()}),{findSession:function(t,e){return s.find(t,e)},renewObservable:o,expireObservable:i,sessionStateUpdateObservable:a.sessionStateUpdateObservable,expire:a.expire,updateSessionState:a.updateSessionState}}function LC(t,e){var n=ky(t,window,["click","touchstart","keydown","scroll"],e,{capture:!0,passive:!0}).stop;DC.push(n)}function NC(t,e){var n=function(){"visible"===document.visibilityState&&e()},r=Cy(t,document,"visibilitychange",n).stop;DC.push(r);var o=Hb(n,IC);DC.push(function(){zb(o)})}function jC(t,e){var n=Cy(t,window,"resume",e,{capture:!0}).stop;DC.push(n)}var BC="logs";function FC(t,e){var n=RC(t,BC,function(e){return HC(t,e)},e);return{findTrackedSession:function(t,e){void 0===e&&(e={returnInactive:!1});var r=n.findSession(t,e);return r&&"1"===r.trackingType?{id:r.id}:void 0},expireObservable:n.expireObservable}}function VC(t){var e="1"===UC(t),n=e?{}:void 0;return{findTrackedSession:function(){return n},expireObservable:new by}}function UC(t){return Iw(t.sessionSampleRate)?"1":"0"}function HC(t,e){var n=zC(e)?e:UC(t);return{trackingType:n,isTracked:"1"===n}}function zC(t){return"0"===t||"1"===t}function GC(t,e,n){var r=0,o=!1;return{isLimitReached:function(){if(0===r&&Vb(function(){r=0},bw),r+=1,r<=e||o)return o=!1,!1;if(r===e+1){o=!0;try{n({message:"Reached max number of ".concat(t,"s by minute: ").concat(e),source:ax.AGENT,startClocks:_w()})}finally{o=!1}}return!0}}}var qC=!1;function WC(t){var e=window;if(SC()){var n=r(e.DD_RUM_SYNTHETICS);return n||qC||(qC=!0,Xw("Logs sent before RUM is injected by the synthetics worker",{testId:TC(),resultId:MC()})),n}return r(e.DD_RUM);function r(e){if(e&&e.getInternalContext)return e.getInternalContext(t)}}function JC(t,e,n,r,o){var i=hx.concat(["custom"]),a={};i.forEach(function(t){a[t]=GC(t,e.eventRateLimiterThreshold,o)}),n.subscribe(0,function(o){var i,s,l=o.rawLogsEvent,d=o.messageContext,c=void 0===d?void 0:d,u=o.savedCommonContext,p=void 0===u?void 0:u,h=o.domainContext,m=Ow(l.date),f=t.findTrackedSession(m);if(f||e.sendLogsAfterSessionExpiration&&t.findTrackedSession(m,{returnInactive:!0})){var g=p||r(),v=sy({service:e.service,session_id:f?f.id:void 0,session:f?{id:f.id}:void 0,usr:Yb(g.user)?void 0:g.user,view:g.view},g.context,WC(m),l,c);!1===(null===(i=e.beforeSend)||void 0===i?void 0:i.call(e,v,h))||v.origin!==ax.AGENT&&(null!==(s=a[v.status])&&void 0!==s?s:a["custom"]).isLimitReached()||n.notify(1,v)}})}var XC,KC={};function YC(t){var e=t.map(function(t){return KC[t]||(KC[t]=ZC(t)),KC[t]});return yy.apply(void 0,e)}function ZC(t){return new by(function(e){var n=lb[t];return lb[t]=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];n.apply(console,r);var i=Wy();Cb(function(){e.notify(QC(r,t,i))})},function(){lb[t]=n}})}function QC(t,e,n){var r,o=t.map(function(t){return tk(t)}).join(" ");if(e===sb.error){var i=Tb(t,rw);r={stack:i?Jy(Ey(i)):void 0,fingerprint:ew(i),causes:i?ow(i,"console"):void 0,startClocks:_w(),message:o,source:ax.CONSOLE,handling:"handled",handlingStack:n}}return{api:e,message:o,error:r,handlingStack:n}}function tk(t){return"string"===typeof t?py(t):rw(t)?Xy(Ey(t)):Wb(py(t),void 0,2)}var ek,nk=(XC={},XC[sb.log]=lx.info,XC[sb.debug]=lx.debug,XC[sb.info]=lx.info,XC[sb.warn]=lx.warn,XC[sb.error]=lx.error,XC);function rk(t,e){var n=YC(t.forwardConsoleLogs).subscribe(function(t){var n={rawLogsEvent:{date:Cw(),message:t.message,origin:ax.CONSOLE,error:t.error&&cx(t.error),status:nk[t.api]},domainContext:{handlingStack:t.handlingStack}};e.notify(0,n)});return{stop:function(){n.unsubscribe()}}}function ok(t,e){var n=oC(t,t.forwardReports).subscribe(function(t){var n,r=t.message,o="deprecation"===t.originalError.type?lx.warn:lx.error;o===lx.error?n=cx(t):t.stack&&(r+=" Found in ".concat(nw(t.stack))),e.notify(0,{rawLogsEvent:{date:Cw(),message:r,origin:ax.REPORT,error:n,status:o}})});return{stop:function(){n.unsubscribe()}}}var ik=new WeakMap;function ak(t){return ek||(ek=sk(t)),ek}function sk(t){return new by(function(e){var n=wx(XMLHttpRequest.prototype,"open",lk).stop,r=wx(XMLHttpRequest.prototype,"send",function(n){dk(n,t,e)},{computeHandlingStack:!0}).stop,o=wx(XMLHttpRequest.prototype,"abort",ck).stop;return function(){n(),r(),o()}})}function lk(t){var e=t.target,n=t.parameters,r=n[0],o=n[1];ik.set(e,{state:"open",method:String(r).toUpperCase(),url:xx(String(o))})}function dk(t,e,n){var r=t.target,o=t.handlingStack,i=ik.get(r);if(i){var a=i;a.state="start",a.startClocks=_w(),a.isAborted=!1,a.xhr=r,a.handlingStack=o;var s=!1,l=wx(r,"onreadystatechange",function(){r.readyState===XMLHttpRequest.DONE&&d()}).stop,d=function(){if(c(),l(),!s){s=!0;var t=i;t.state="complete",t.duration=Tw(a.startClocks.timeStamp,Cw()),t.status=r.status,n.notify(Xb(t))}},c=Cy(e,r,"loadend",d).stop;n.notify(a)}}function ck(t){var e=t.target,n=ik.get(e);n&&(n.isAborted=!0)}function uk(t){return t>=500}function pk(t){try{return t.clone()}catch(ix){return}}function hk(t,e,n){var r=t.getReader(),o=[],i=0;function a(){r.read().then($b(function(t){t.done?s():(n.collectStreamBody&&o.push(t.value),i+=t.value.length,i>n.bytesLimit?s():a())}),$b(function(t){return e(t)}))}function s(){var t,a;if(r.cancel().catch(qb),n.collectStreamBody){var s;if(1===o.length)s=o[0];else{s=new Uint8Array(i);var l=0;o.forEach(function(t){s.set(t,l),l+=t.length})}t=s.slice(0,n.bytesLimit),a=s.length>n.bytesLimit}e(void 0,t,a)}a()}function mk(t,e){if(!t.forwardErrorsToLogs)return{stop:qb};var n=ak(t).subscribe(function(t){"complete"===t.state&&o("xhr",t)}),r=Tx().subscribe(function(t){"resolve"===t.state&&o("fetch",t)});function o(n,r){function o(t){var o={isAborted:r.isAborted,handlingStack:r.handlingStack};e.notify(0,{rawLogsEvent:{message:"".concat(wk(n)," error ").concat(r.method," ").concat(r.url),date:r.startClocks.timeStamp,error:{stack:t||"Failed to load",handling:void 0},http:{method:r.method,status_code:r.status,url:r.url},status:lx.error,origin:ax.NETWORK},domainContext:o})}Y$(r.url)||!bk(r)&&!uk(r.status)||("xhr"in r?fk(r.xhr,t,o):r.response?vk(r.response,t,o):r.error&&gk(r.error,t,o))}return{stop:function(){n.unsubscribe(),r.unsubscribe()}}}function fk(t,e,n){"string"===typeof t.response?n(yk(t.response,e)):n(t.response)}function gk(t,e,n){n(yk(Jy(Ey(t)),e))}function vk(t,e,n){var r=pk(t);r&&r.body?window.TextDecoder?xk(r.body,e.requestErrorResponseLengthLimit,function(t,e){n(t?"Unable to retrieve response: ".concat(t):e)}):r.text().then($b(function(t){return n(yk(t,e))}),$b(function(t){return n("Unable to retrieve response: ".concat(t))})):n()}function bk(t){return 0===t.status&&"opaque"!==t.responseType}function yk(t,e){return t.length>e.requestErrorResponseLengthLimit?"".concat(t.substring(0,e.requestErrorResponseLengthLimit),"..."):t}function wk(t){return"xhr"===t?"XHR":"Fetch"}function xk(t,e,n){hk(t,function(t,e,r){if(t)n(t);else{var o=(new TextDecoder).decode(e);r&&(o+="..."),n(void 0,o)}},{bytesLimit:e,collectStreamBody:!0})}function $k(t){var e=function(e,n){var r=Zy({stackTrace:e,originalError:n,startClocks:_w(),nonErrorPrefix:"Uncaught",source:ax.SOURCE,handling:"unhandled"});t.notify(r)},n=Ck(e).stop,r=kk(e).stop;return{stop:function(){n(),r()}}}function Ck(t){return wx(window,"onerror",function(e){var n,r=e.parameters,o=r[0],i=r[1],a=r[2],s=r[3],l=r[4];n=rw(l)?Ey(l):zy(o,i,a,s),t(n,null!==l&&void 0!==l?l:o)})}function kk(t){return wx(window,"onunhandledrejection",function(e){var n=e.parameters[0],r=n.reason||"Empty reason",o=Ey(r);t(o,r)})}function _k(t,e){if(!t.forwardErrorsToLogs)return{stop:qb};var n=new by,r=$k(n).stop,o=n.subscribe(function(t){e.notify(0,{rawLogsEvent:{message:t.message,date:t.startClocks.timeStamp,error:cx(t),origin:ax.SOURCE,status:lx.error}})});return{stop:function(){r(),o.unsubscribe()}}}var Sk,Tk=function(){function t(){this.callbacks={}}return t.prototype.notify=function(t,e){var n=this.callbacks[t];n&&n.forEach(function(t){return t(e)})},t.prototype.subscribe=function(t,e){var n=this;return this.callbacks[t]||(this.callbacks[t]=[]),this.callbacks[t].push(e),{unsubscribe:function(){n.callbacks[t]=n.callbacks[t].filter(function(t){return e!==t})}}},t}(),Mk=Tk;function Ok(t){function e(e,n,r,o,i){var a=sy(n.getContext(),e.context);if(sx(e.status,px.console,n)&&Ak(e,a),sx(e.status,px.http,n)){var s={rawLogsEvent:{date:i||Cw(),message:e.message,status:e.status,origin:ax.LOGGER},messageContext:a,savedCommonContext:o};r&&(s.domainContext={handlingStack:r}),t.notify(0,s)}}return{handleLog:e}}var Ek=(Sk={},Sk[lx.ok]=sb.debug,Sk[lx.debug]=sb.debug,Sk[lx.info]=sb.info,Sk[lx.notice]=sb.info,Sk[lx.warn]=sb.warn,Sk[lx.error]=sb.error,Sk[lx.critical]=sb.error,Sk[lx.alert]=sb.error,Sk[lx.emerg]=sb.error,Sk);function Ak(t,e){var n=t.status,r=t.message;db[Ek[n]].call(lb,r,e)}function Ik(t){var e=t.encoder,n=t.request,r=t.flushController,o=t.messageBytesLimit,i={},a=r.flushObservable.subscribe(function(t){return u(t)});function s(t,n,o){r.notifyBeforeAddMessage(n),void 0!==o?(i[o]=t,r.notifyAfterAddMessage()):e.write(e.isEmpty?t:"\n".concat(t),function(t){r.notifyAfterAddMessage(t-n)})}function l(t){return void 0!==t&&void 0!==i[t]}function d(t){var n=i[t];delete i[t];var o=e.estimateEncodedBytesCount(n);r.notifyAfterRemoveMessage(o)}function c(t,n){var r=Wb(t),i=e.estimateEncodedBytesCount(r);i>=o?ub.warn("Discarded a message whose size was bigger than the maximum allowed size ".concat(o,"KB. ").concat(mb," ").concat(hb,"/#technical-limitations")):(l(n)&&d(n),s(r,i,n))}function u(t){var r=Mb(i).join("\n");i={};var o=$C(t.reason),a=o?n.sendOnExit:n.send;if(o&&e.isAsync){var s=e.finishSync();s.outputBytesCount&&a(Pk(s));var l=[s.pendingData,r].filter(Boolean).join("\n");l&&a({data:l,bytesCount:Bb(l)})}else r&&e.write(e.isEmpty?r:"\n".concat(r)),e.finish(function(t){a(Pk(t))})}return{flushController:r,add:c,upsert:c,stop:a.unsubscribe}}function Pk(t){var e;return e="string"===typeof t.output?t.output:new Blob([t.output],{type:"text/plain"}),{data:e,bytesCount:t.outputBytesCount,encoding:t.encoding}}var Dk=80*Lb,Rk=32,Lk=3*Nb,Nk=bw,jk=vw;function Bk(t,e,n,r,o){0===e.transportStatus&&0===e.queuedPayloads.size()&&e.bandwidthMonitor.canHandle(t)?Vk(t,e,n,{onSuccess:function(){return Uk(0,e,n,r,o)},onFailure:function(){e.queuedPayloads.enqueue(t),Fk(e,n,r,o)}}):e.queuedPayloads.enqueue(t)}function Fk(t,e,n,r){2===t.transportStatus&&Vb(function(){var o=t.queuedPayloads.first();Vk(o,t,e,{onSuccess:function(){t.queuedPayloads.dequeue(),t.currentBackoffTime=jk,Uk(1,t,e,n,r)},onFailure:function(){t.currentBackoffTime=Math.min(Nk,2*t.currentBackoffTime),Fk(t,e,n,r)}})},t.currentBackoffTime)}function Vk(t,e,n,r){var o=r.onSuccess,i=r.onFailure;e.bandwidthMonitor.add(t),n(t,function(n){e.bandwidthMonitor.remove(t),Hk(n)?(e.transportStatus=e.bandwidthMonitor.ongoingRequestCount>0?1:2,t.retry={count:t.retry?t.retry.count+1:1,lastFailureStatus:n.status},i()):(e.transportStatus=0,o())})}function Uk(t,e,n,r,o){0===t&&e.queuedPayloads.isFull()&&!e.queueFullReported&&(o({message:"Reached max ".concat(r," events size queued for upload: ").concat(Lk/Nb,"MiB"),source:ax.AGENT,startClocks:_w()}),e.queueFullReported=!0);var i=e.queuedPayloads;e.queuedPayloads=Gk();while(i.size()>0)Bk(i.dequeue(),e,n,r,o)}function Hk(t){return"opaque"!==t.type&&(0===t.status&&!navigator.onLine||408===t.status||429===t.status||uk(t.status))}function zk(){return{transportStatus:0,currentBackoffTime:jk,bandwidthMonitor:qk(),queuedPayloads:Gk(),queueFullReported:!1}}function Gk(){var t=[];return{bytesCount:0,enqueue:function(e){this.isFull()||(t.push(e),this.bytesCount+=e.bytesCount)},first:function(){return t[0]},dequeue:function(){var e=t.shift();return e&&(this.bytesCount-=e.bytesCount),e},size:function(){return t.length},isFull:function(){return this.bytesCount>=Lk}}}function qk(){return{ongoingRequestCount:0,ongoingByteCount:0,canHandle:function(t){return 0===this.ongoingRequestCount||this.ongoingByteCount+t.bytesCount<=Dk&&this.ongoingRequestCount<Rk},add:function(t){this.ongoingRequestCount+=1,this.ongoingByteCount+=t.bytesCount},remove:function(t){this.ongoingRequestCount-=1,this.ongoingByteCount-=t.bytesCount}}}function Wk(t,e,n){var r=zk(),o=function(n,r){return Yk(t,e,n,r)};return{send:function(e){Bk(e,r,o,t.trackType,n)},sendOnExit:function(n){Jk(t,e,n)}}}function Jk(t,e,n){var r=!!navigator.sendBeacon&&n.bytesCount<e;if(r)try{var o=t.build("beacon",n),i=navigator.sendBeacon(o,n.data);if(i)return}catch(PN){Kk(PN)}var a=t.build("xhr",n);Qk(a,n.data)}var Xk=!1;function Kk(t){Xk||(Xk=!0,Kw(t))}function Yk(t,e,n,r){var o=Zk()&&n.bytesCount<e;if(o){var i=t.build("fetch",n);fetch(i,{method:"POST",body:n.data,keepalive:!0,mode:"cors"}).then($b(function(t){return null===r||void 0===r?void 0:r({status:t.status,type:t.type})}),$b(function(){var e=t.build("xhr",n);Qk(e,n.data,r)}))}else{var a=t.build("xhr",n);Qk(a,n.data,r)}}function Zk(){try{return window.Request&&"keepalive"in new Request("http://a")}catch(ix){return!1}}function Qk(t,e,n){var r=new XMLHttpRequest;r.open("POST",t,!0),e instanceof Blob&&r.setRequestHeader("Content-Type",e.type),Cy({allowUntrustedEvents:!0},r,"loadend",function(){null===n||void 0===n||n({status:r.status})},{once:!0}),r.send(e)}function t_(t){var e,n=t.messagesLimit,r=t.bytesLimit,o=t.durationLimit,i=t.pageExitObservable,a=t.sessionExpireObservable,s=i.subscribe(function(t){return p(t.reason)}),l=a.subscribe(function(){return p("session_expire")}),d=new by(function(){return function(){s.unsubscribe(),l.unsubscribe()}}),c=0,u=0;function p(t){if(0!==u){var e=u,n=c;u=0,c=0,m(),d.notify({reason:t,messagesCount:e,bytesCount:n})}}function h(){void 0===e&&(e=Vb(function(){p("duration_limit")},o))}function m(){Ub(e),e=void 0}return{flushObservable:d,get messagesCount(){return u},notifyBeforeAddMessage:function(t){c+t>=r&&p("bytes_limit"),u+=1,c+=t,h()},notifyAfterAddMessage:function(t){void 0===t&&(t=0),c+=t,u>=n?p("messages_limit"):c>=r&&p("bytes_limit")},notifyAfterRemoveMessage:function(t){c-=t,u-=1,0===u&&m()}}}function e_(t,e,n,r,o,i,a){void 0===a&&(a=Ik);var s=d(t,e),l=n&&d(t,n);function d(t,e){var n=e.endpoint,s=e.encoder;return a({encoder:s,request:Wk(n,t.batchBytesLimit,r),flushController:t_({messagesLimit:t.batchMessagesLimit,bytesLimit:t.batchBytesLimit,durationLimit:t.flushTimeout,pageExitObservable:o,sessionExpireObservable:i}),messageBytesLimit:t.messageBytesLimit})}return{flushObservable:s.flushController.flushObservable,add:function(t,e){void 0===e&&(e=!0),s.add(t),l&&e&&l.add(n.transformMessage?n.transformMessage(t):t)},upsert:function(t,e){s.upsert(t,e),l&&l.upsert(n.transformMessage?n.transformMessage(t):t,e)},stop:function(){s.stop(),l&&l.stop()}}}function n_(){var t="",e=0;return{isAsync:!1,get isEmpty(){return!t},write:function(n,r){var o=Bb(n);e+=o,t+=n,r&&r(o)},finish:function(t){t(this.finishSync())},finishSync:function(){var n={output:t,outputBytesCount:e,rawBytesCount:e,pendingData:""};return t="",e=0,n},estimateEncodedBytesCount:function(t){return t.length}}}function r_(t,e,n,r,o){var i=e_(t,{endpoint:t.logsEndpointBuilder,encoder:n_()},t.replica&&{endpoint:t.replica.logsEndpointBuilder,encoder:n_()},n,r,o.expireObservable);return e.subscribe(1,function(t){i.add(t)}),i}function o_(t){var e=vx();t.subscribe(1,function(t){e.send("log",t)})}function i_(t){return{get:function(e){var n=t.findTrackedSession(e);if(n)return{session_id:n.id}}}}function a_(t){return function(e){t.notify(0,{rawLogsEvent:{message:e.message,date:e.startClocks.timeStamp,origin:ax.AGENT,status:lx.error}}),Xw("Error reported to customer",{"error.message":e.message})}}function s_(t,e,n,r,o){var i=Gw("browser-logs-sdk",e);i.setContextProvider(function(){var t,e,n,r,i,a;return{application:{id:null===(t=WC())||void 0===t?void 0:t.application_id},session:{id:null===(e=o.findTrackedSession())||void 0===e?void 0:e.id},view:{id:null===(r=null===(n=WC())||void 0===n?void 0:n.view)||void 0===r?void 0:r.id},action:{id:null===(a=null===(i=WC())||void 0===i?void 0:i.user_action)||void 0===a?void 0:a.id}}});var a=[];if(bx()){var s=vx(),l=i.observable.subscribe(function(t){return s.send("internal_telemetry",t)});a.push(function(){return l.unsubscribe()})}else{var d=e_(e,{endpoint:e.rumEndpointBuilder,encoder:n_()},e.replica&&{endpoint:e.replica.rumEndpointBuilder,encoder:n_()},n,r,o.expireObservable);a.push(function(){return d.stop()});var c=i.observable.subscribe(function(t){return d.add(t,Jw(e))});a.push(function(){return c.unsubscribe()})}return Ww(),Yw(mC(t)),{telemetry:i,stop:function(){a.forEach(function(t){return t()})}}}function l_(t,e,n,r){var o=new Mk,i=[];o.subscribe(1,function(t){return Aw("logs",t)});var a=a_(o),s=xC(e),l=!e.sessionStoreStrategyType||bx()||SC()?VC(e):FC(e,r),d=s_(t,e,a,s,l).stop;i.push(function(){return d()}),mk(e,o),_k(e,o),rk(e,o),ok(e,o);var c=Ok(o).handleLog;if(JC(l,e,o,n,a),bx())o_(o);else{var u=r_(e,o,a,s,l).stop;i.push(function(){return u()})}var p=i_(l);return{handleLog:c,getInternalContext:p.get,stop:function(){i.forEach(function(t){return t()})}}}var d_=bC(l_);Db(Rb(),"DD_LOGS",d_);const c_="5.0.0";const __bpNoopLogger={log(){},debug(){},info(){},warn(){},error(){}};const u_=__bpNoopLogger,p_=__bpNoopLogger,h_=15e3,m_=3e5,f_={good:"text-green-500",warning:"text-yellow-500",slow:"text-red-500",offline:"text-gray-400"};var g_={name:"ConnectivityStatus",props:{isDebug:{type:Boolean,default:!1},version:{type:String,default:"0.0.0"}},data(){return{i18n:chrome.i18n,oldestPingMeasureAt:null}},setup(){const t=ip();return{toast:t}},mounted(){this.$nextTick(()=>{this.oldestPingMeasureAt=this.getOldestPingMeasureAt,this.startPing()})},computed:{...sh(["getOldestPingMeasureAt"]),...ih(["hideConnectivityStatusSlowMessage","networkState","networkPanelOpen","pingMeasures"]),iconColorClass(){return f_[this.networkState]||f_.good},tooltipText(){return this.i18n.getMessage(`networkStateLabel_${this.networkState}`)||this.i18n.getMessage("networkStateLabel_good")},lastPingMs(){const t=this.pingMeasures;return t&&t.length>0?Math.round(t[t.length-1].ping):null}},methods:{toggleNetworkPanel(){this.setNetworkPanelOpen(!this.networkPanelOpen)},startPing(){this.ping().then(t=>{this.toast.dismiss("connectivityStatusOff"),console.info(`BravoPhone DEBUG > ConnectivityStatus > ping OK: ${String(t)} ms`),this.addPingMeasure({measureAt:new Date,ping:t});let e="good";t>=600?e="slow":t>=150&&(e="warning"),this.setNetworkState(e),this.oldestPingMeasureAt&&new Date-new Date(this.oldestPingMeasureAt)>m_&&this.sendLog()}).catch(t=>{console.error("BravoPhone DEBUG > ConnectivityStatus > ping failed:",t&&t.message,t),this.addPingFailure({measureAt:new Date}),this.setNetworkState("offline"),this.toast.error(ab,{id:"connectivityStatusOff"})}),setTimeout(this.startPing,h_)},ping(){return new Promise((t,e)=>{const n=(new Date).getTime();let r=!1,o="https://app2.voxfree.com.br/assets/upload/bravotech_Bravotech_favicon.png";o+=`?random-no-cache=${Math.floor(65536*(1+Math.random())).toString(16)}`,this.requestImage(o).then(()=>t((new Date).getTime()-n)).catch(t=>e(t)).finally(()=>{r=!0}),setTimeout(()=>{r||e(Error("timeout"))},5e3)})},requestImage(t){return new Promise((e,n)=>{const r=new Image;r.onload=()=>{e()},r.onerror=()=>{n(Error("server is out"))},r.src=t})},sendLog(){this.toast.dismiss("connectivityStatusSlow");const t=this.$store.state.pingMeasures;if(t.length>0){const e=t.reduce((t,e)=>t+parseInt(e.ping),0)/t.length;/* Telemetria de ping via Rollbar (p_.info) desativada - dependia de user/organization do backend antigo (api.bravophone.com), que nao existem mais com o login direto no voxfree (causava TypeError: Cannot read properties of null). Chamada original mantida aqui comentada para uso futuro: p_.info("ping successfully",{ping:e,email:this.$store.state.user.email,domain:this.$store.state.organization.domain,orgCreatedAt:this.$store.state.organization.createdAt,userCreatedAt:this.$store.state.user.createdAt,measures:t.map(t=>({measureAt:new Date(t.measureAt).toLocaleTimeString(),ping:`${t.ping}ms`}))}) */e>600&&!JSON.parse(this.hideConnectivityStatusSlowMessage)&&this.toast.error(eb,{id:"connectivityStatusSlow",timeout:6e4}),this.clearPingMeasures(),this.clearPingFailures(),this.oldestPingMeasureAt=new Date,this.isDebug&&console.info(`BravoPhone > ConnectivityStatus > sendLog: ${e} ms`)}},...ah(["addPingMeasure","clearPingMeasures","addPingFailure","clearPingFailures","setNetworkState","setNetworkPanelOpen"])}};const v_=(0,sg.A)(g_,[["render",Kv]]);var b_=v_;const y_={class:"contact-dialer relative h-full bg-blue-450 text-center text-white w-full px-1 sm:px-1.5 md:px-2 lg:px-2.5 xl:px-3 2xl:px-4 py-0.5 sm:py-1 md:py-1.5 lg:py-2 xl:py-2.5 2xl:py-3 flex flex-col overflow-hidden"},w_={class:"truncate font-bold text-sm sm:text-base md:text-lg lg:text-xl xl:text-2xl 2xl:text-3xl mb-1 sm:mb-1.5 md:mb-2 lg:mb-2.5 xl:mb-3 2xl:mb-4"},x_={class:"contact-items flex-1 min-h-0 overflow-y-auto px-1 sm:px-1.5 md:px-2 lg:px-2.5 xl:px-3 2xl:px-4"},$_={key:0,class:"fab-submenu flex flex-col items-end space-y-1 sm:space-y-1.5 md:space-y-2 lg:space-y-2.5 xl:space-y-3 2xl:space-y-4 mb-1 sm:mb-1.5 md:mb-2 lg:mb-2.5 xl:mb-3 2xl:mb-4"},C_={class:"fab-item-container flex items-center"},k_={class:"fab-label bg-black/80 text-white text-tiny sm:text-xs md:text-sm lg:text-base xl:text-lg 2xl:text-xl px-1 sm:px-1.5 md:px-2 lg:px-2.5 xl:px-3 2xl:px-4 py-0.5 sm:py-1 md:py-1.5 lg:py-2 xl:py-2.5 2xl:py-3 rounded mr-1 sm:mr-1.5 md:mr-2 lg:mr-2.5 xl:mr-3 2xl:mr-4 whitespace-nowrap"},__={class:"fab-item-container flex items-center"},S_={class:"fab-label bg-black/80 text-white text-tiny sm:text-xs md:text-sm lg:text-base xl:text-lg 2xl:text-xl px-1 sm:px-1.5 md:px-2 lg:px-2.5 xl:px-3 2xl:px-4 py-0.5 sm:py-1 md:py-1.5 lg:py-2 xl:py-2.5 2xl:py-3 rounded mr-1 sm:mr-1.5 md:mr-2 lg:mr-2.5 xl:mr-3 2xl:mr-4 whitespace-nowrap"},T_={class:"fab-item-container flex items-center"},M_={class:"fab-label bg-black/80 text-white text-tiny sm:text-xs md:text-sm lg:text-base xl:text-lg 2xl:text-xl px-1 sm:px-1.5 md:px-2 lg:px-2.5 xl:px-3 2xl:px-4 py-0.5 sm:py-1 md:py-1.5 lg:py-2 xl:py-2.5 2xl:py-3 rounded mr-1 sm:mr-1.5 md:mr-2 lg:mr-2.5 xl:mr-3 2xl:mr-4 whitespace-nowrap"},O_={class:"w-4 h-4 sm:w-5 sm:h-5 md:w-6 md:h-6 lg:w-7 lg:h-7 xl:w-8 xl:h-8 2xl:w-9 2xl:h-9 transition-transform duration-300",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},E_=["d"];function A_(t,e,n,r,o,i){const a=wr("contact-item-dialer"),s=wr("ExternalLinkIcon"),l=wr("the-modal"),d=Cr("tooltip");return Yo(),ni("div",y_,[li("div",w_,rt(o.i18n.getMessage("lastContacts")),1),xn((Yo(),ni("svg",{xmlns:"http://www.w3.org/2000/svg",class:"absolute top-0 right-0 w-4 sm:w-5 md:w-6 lg:w-8 xl:w-10 2xl:w-12 h-4 sm:h-5 md:h-6 lg:h-8 xl:h-10 2xl:h-12 mt-0.5 md:mt-1 xl:mt-2 mr-0.5 md:mr-1 xl:mr-2",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2",onClick:e[0]||(e[0]=(...t)=>i.confirmClearContacts&&i.confirmClearContacts(...t))},[...e[7]||(e[7]=[li("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"},null,-1)])])),[[d,{content:o.i18n.getMessage("clearContacts")},void 0,{left:!0}],[ka,i.hasContacts]]),li("div",x_,[(Yo(!0),ni(Go,null,Sr(i.contacts,t=>(Yo(),ni("div",{key:t.id},[di(a,{class:"mb-1 sm:mb-1.5 md:mb-2 lg:mb-2.5 xl:mb-3 2xl:mb-4","contact-item":t,id:t.id},null,8,["contact-item","id"])]))),128))]),li("div",{class:"fab-container absolute bottom-0.5 sm:bottom-1 md:bottom-1 lg:bottom-1.5 xl:bottom-2 2xl:bottom-2 right-0.5 sm:right-1 md:right-1 lg:right-1.5 xl:right-2 2xl:right-2 flex flex-col items-end",onMouseenter:e[5]||(e[5]=(...t)=>i.showFabMenu&&i.showFabMenu(...t)),onMouseleave:e[6]||(e[6]=(...t)=>i.hideFabMenu&&i.hideFabMenu(...t))},[di(aa,{name:"fab-slide"},{default:wn(()=>[o.fabMenuOpen?(Yo(),ni("div",$_,[li("div",C_,[li("div",k_,rt(o.i18n.getMessage("accessPortal")),1),li("button",{onClick:e[1]||(e[1]=(...t)=>i.redirectToPortal&&i.redirectToPortal(...t)),class:"fab-secondary w-5 h-5 sm:w-6 sm:h-6 md:w-8 md:h-8 lg:w-10 lg:h-10 xl:w-12 xl:h-12 2xl:w-14 2xl:h-14 bg-[#E1EDFE] hover:bg-[#D1E3FE] text-black rounded-full shadow-lg flex items-center justify-center transition-all duration-300 hover:scale-110"},[di(s,{class:"w-3 h-3 sm:w-4 sm:h-4 md:w-5 md:h-5 lg:w-6 lg:h-6 xl:w-7 xl:h-7 2xl:w-8 2xl:h-8"})])]),li("div",__,[li("div",S_,rt(o.i18n.getMessage("talkToSupportTeam")),1),li("button",{onClick:e[2]||(e[2]=t=>i.contactTeam("support")),class:"fab-secondary w-5 h-5 sm:w-6 sm:h-6 md:w-8 md:h-8 lg:w-10 lg:h-10 xl:w-12 xl:h-12 2xl:w-14 2xl:h-14 bg-[#25D366] hover:bg-[#128C7E] text-white rounded-full shadow-lg flex items-center justify-center transition-all duration-300 hover:scale-110"},[...e[8]||(e[8]=[li("svg",{class:"w-3 h-3 sm:w-4 sm:h-4 md:w-5 md:h-5 lg:w-6 lg:h-6 xl:w-7 xl:h-7 2xl:w-8 2xl:h-8",fill:"currentColor",viewBox:"0 0 16 16"},[li("path",{d:"M13.601 2.326A7.85 7.85 0 0 0 7.994 0C3.627 0 .068 3.558.064 7.926c0 1.399.366 2.76 1.057 3.965L0 16l4.204-1.102a7.9 7.9 0 0 0 3.79.965h.004c4.368 0 7.926-3.558 7.93-7.93A7.9 7.9 0 0 0 13.6 2.326zM7.994 14.521a6.6 6.6 0 0 1-3.356-.92l-.24-.144-2.494.654.666-2.433-.156-.251a6.56 6.56 0 0 1-1.007-3.505c0-3.626 2.957-6.584 6.591-6.584a6.56 6.56 0 0 1 4.66 1.931 6.56 6.56 0 0 1 1.928 4.66c-.004 3.639-2.961 6.592-6.592 6.592m3.615-4.934c-.197-.099-1.17-.578-1.353-.646-.182-.065-.315-.099-.445.099-.133.197-.513.646-.627.775-.114.133-.232.148-.43.05-.197-.1-.836-.308-1.592-.985-.59-.525-.985-1.175-1.103-1.372-.114-.198-.011-.304.088-.403.087-.088.197-.232.296-.346.1-.114.133-.198.198-.33.065-.134.034-.248-.015-.347-.05-.099-.445-1.076-.612-1.47-.16-.389-.323-.335-.445-.34-.114-.007-.247-.007-.38-.007a.73.73 0 0 0-.529.247c-.182.198-.691.677-.691 1.654s.71 1.916.81 2.049c.098.133 1.394 2.132 3.383 2.992.47.205.84.326 1.129.418.475.152.904.129 1.246.08.38-.058 1.171-.48 1.338-.943.164-.464.164-.86.114-.943-.049-.084-.182-.133-.38-.232"})],-1)])])]),li("div",T_,[li("div",M_,rt(o.i18n.getMessage("talkToCommercialTeam")),1),li("button",{onClick:e[3]||(e[3]=t=>i.contactTeam("commercial")),class:"fab-secondary w-5 h-5 sm:w-6 sm:h-6 md:w-8 md:h-8 lg:w-10 lg:h-10 xl:w-12 xl:h-12 2xl:w-14 2xl:h-14 bg-[#25D366] hover:bg-[#128C7E] text-white rounded-full shadow-lg flex items-center justify-center transition-all duration-300 hover:scale-110"},[...e[9]||(e[9]=[li("svg",{class:"w-3 h-3 sm:w-4 sm:h-4 md:w-5 md:h-5 lg:w-6 lg:h-6 xl:w-7 xl:h-7 2xl:w-8 2xl:h-8",fill:"currentColor",viewBox:"0 0 16 16"},[li("path",{d:"M13.601 2.326A7.85 7.85 0 0 0 7.994 0C3.627 0 .068 3.558.064 7.926c0 1.399.366 2.76 1.057 3.965L0 16l4.204-1.102a7.9 7.9 0 0 0 3.79.965h.004c4.368 0 7.926-3.558 7.93-7.93A7.9 7.9 0 0 0 13.6 2.326zM7.994 14.521a6.6 6.6 0 0 1-3.356-.92l-.24-.144-2.494.654.666-2.433-.156-.251a6.56 6.56 0 0 1-1.007-3.505c0-3.626 2.957-6.584 6.591-6.584a6.56 6.56 0 0 1 4.66 1.931 6.56 6.56 0 0 1 1.928 4.66c-.004 3.639-2.961 6.592-6.592 6.592m3.615-4.934c-.197-.099-1.17-.578-1.353-.646-.182-.065-.315-.099-.445.099-.133.197-.513.646-.627.775-.114.133-.232.148-.43.05-.197-.1-.836-.308-1.592-.985-.59-.525-.985-1.175-1.103-1.372-.114-.198-.011-.304.088-.403.087-.088.197-.232.296-.346.1-.114.133-.198.198-.33.065-.134.034-.248-.015-.347-.05-.099-.445-1.076-.612-1.47-.16-.389-.323-.335-.445-.34-.114-.007-.247-.007-.38-.007a.73.73 0 0 0-.529.247c-.182.198-.691.677-.691 1.654s.71 1.916.81 2.049c.098.133 1.394 2.132 3.383 2.992.47.205.84.326 1.129.418.475.152.904.129 1.246.08.38-.058 1.171-.48 1.338-.943.164-.464.164-.86.114-.943-.049-.084-.182-.133-.38-.232"})],-1)])])])])):fi("",!0)]),_:1}),li("button",{onClick:e[4]||(e[4]=(...t)=>i.toggleFabMenu&&i.toggleFabMenu(...t)),class:J(["fab-main w-6 h-6 sm:w-8 sm:h-8 md:w-10 md:h-10 lg:w-12 lg:h-12 xl:w-14 xl:h-14 2xl:w-16 2xl:h-16 bg-blue-500 hover:bg-blue-600 text-white rounded-full shadow-xl flex items-center justify-center transition-all duration-300 hover:scale-110 z-10",{"rotate-45":o.fabMenuOpen}])},[(Yo(),ni("svg",O_,[li("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:o.fabMenuOpen?"M6 18L18 6M6 6l12 12":"M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z"},null,8,E_)]))],2)],32),di(l,{id:"confirm-clear-contacts",title:o.i18n.getMessage("areYouSure"),"is-action-close":!0,"is-icon-close":!1,"is-out-click":!1,action:{name:o.i18n.getMessage("clearContacts"),click:i.clearContacts}},null,8,["title","action"])])}n(4423);const I_=["id"],P_={key:0,class:"w-full"},D_={class:"relative bg-white h-auto flex flex-row items-center border-l border-r border-b border-t border-gray-400 rounded-tr-sm md:rounded-tr xl:rounded-tr-md rounded-br-sm md:rounded-br xl:rounded-br-md rounded-tl-sm md:rounded-tl xl:rounded-tl-md rounded-bl-sm md:rounded-bl xl:rounded-bl-md"},R_={key:0,xmlns:"http://www.w3.org/2000/svg",class:"flex-none cursor-pointer focus:outline-none w-3 sm:w-4 md:w-5 lg:w-6 xl:w-7 2xl:w-8 h-3 sm:h-4 md:h-5 lg:h-6 xl:h-7 2xl:h-8 ml-1 sm:ml-1.5 md:ml-2 lg:ml-2.5 xl:ml-3 2xl:ml-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},L_={key:1,xmlns:"http://www.w3.org/2000/svg",class:"flex-none cursor-pointer focus:outline-none w-3 sm:w-4 md:w-5 lg:w-6 xl:w-7 2xl:w-8 h-3 sm:h-4 md:h-5 lg:h-6 xl:h-7 2xl:h-8 ml-1 sm:ml-1.5 md:ml-2 lg:ml-2.5 xl:ml-3 2xl:ml-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},N_={class:"truncate text-left font-bold grow text-xs sm:text-sm md:text-base lg:text-lg xl:text-xl 2xl:text-2xl ml-1 sm:ml-1.5 md:ml-2 lg:ml-2.5 xl:ml-3 2xl:ml-4"},j_={class:"flex-none truncate text-tiny lg:text-xs 2xl:text-sm mr-1 sm:mr-1.5 md:mr-2 lg:mr-2.5 xl:mr-3 2xl:mr-4"},B_={class:"flex-none close text-gray-500"},F_={key:1,class:"w-full"},V_={class:"relative bg-white h-auto flex flex-row items-center justify-between border-l border-r border-b border-t border-gray-400 rounded-tr-sm md:rounded-tr xl:rounded-tr-md rounded-br-sm md:rounded-br xl:rounded-br-md rounded-tl-sm md:rounded-tl xl:rounded-tl-md rounded-bl-sm md:rounded-bl xl:rounded-bl-md"},U_={class:"flex-none truncate text-tiny lg:text-xs 2xl:text-sm mr-1 sm:mr-1.5 md:mr-2 lg:mr-2.5 xl:mr-3 2xl:mr-4"},H_={key:0,class:"flex-none text-gray-500 mr-1 sm:mr-1.5 md:mr-2 lg:mr-2.5 xl:mr-3 2xl:mr-4"},z_={xmlns:"http://www.w3.org/2000/svg",class:"cursor-pointer focus:outline-none w-3 sm:w-4 md:w-5 lg:w-6 xl:w-7 2xl:w-8 h-3 sm:h-4 md:h-5 lg:h-6 xl:h-7 2xl:h-8",viewBox:"0 0 24 24",fill:"currentColor"},G_={key:0,d:"M8.75 12C8.75 10.2051 10.2051 8.75 12 8.75C13.7949 8.75 15.25 10.2051 15.25 12C15.25 13.7949 13.7949 15.25 12 15.25C10.2051 15.25 8.75 13.7949 8.75 12Z"},q_={key:1,d:"M11.25 1V2.52917C6.60134 2.89223 2.89223 6.60134 2.52917 11.25H1C0.585786 11.25 0.25 11.5858 0.25 12C0.25 12.4142 0.585786 12.75 1 12.75H2.52917C2.89223 17.3987 6.60134 21.1078 11.25 21.4708V23C11.25 23.4142 11.5858 23.75 12 23.75C12.4142 23.75 12.75 23.4142 12.75 23V21.4708C17.3987 21.1078 21.1078 17.3987 21.4708 12.75H23C23.4142 12.75 23.75 12.4142 23.75 12C23.75 11.5858 23.4142 11.25 23 11.25H21.4708C21.1078 6.60134 17.3987 2.89223 12.75 2.52917V1C12.75 0.585786 12.4142 0.25 12 0.25C11.5858 0.25 11.25 0.585786 11.25 1ZM12 7.25C14.6234 7.25 16.75 9.37665 16.75 12C16.75 14.6234 14.6234 16.75 12 16.75C9.37665 16.75 7.25 14.6234 7.25 12C7.25 9.37665 9.37665 7.25 12 7.25Z"},W_={key:2,d:"M12 3C9.79086 3 8 4.79086 8 7C8 9.20914 9.79086 11 12 11C14.2091 11 16 9.20914 16 7C16 4.79086 14.2091 3 12 3ZM12 12C7.81514 12 4.35907 15.1153 3.82234 19.1536C3.68095 20.2174 4.56443 21 5.50003 21H18.5C19.4356 21 20.3191 20.2174 20.1777 19.1536C19.641 15.1153 16.1849 12 12 12Z"},J_={key:3,d:"M12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM11.2771 18V16.9557C10.6051 16.8574 10.0839 16.6433 9.68211 16.3793C9.17763 16.0478 8.90537 15.6661 8.76351 15.4385C8.54442 15.0869 8.65177 14.6244 9.0033 14.4053C9.35482 14.1862 9.8174 14.2935 10.0365 14.6451C10.1113 14.7651 10.2453 14.9545 10.5059 15.1258C10.763 15.2947 11.1869 15.4746 11.8815 15.5084C11.9218 15.5083 11.9846 15.5078 12.0051 15.5072C13.236 15.4711 13.85 14.7352 13.85 14.123C13.85 13.9205 13.8121 13.7962 13.7558 13.6956C13.6938 13.5846 13.5804 13.4512 13.3536 13.2744C12.9933 12.9937 12.7236 12.9072 12.1339 12.7181C12.0464 12.69 11.9518 12.6597 11.8489 12.6262C11.7354 12.5892 11.6227 12.5607 11.4808 12.5247L11.3877 12.5011C11.2113 12.456 11.0012 12.3997 10.7811 12.3144C10.5263 12.2157 10.2651 12.0763 10.0819 11.972C9.95088 11.8975 9.82172 11.8201 9.69732 11.7349C9.36919 11.4792 9.09534 11.1883 8.90951 10.8281C8.72137 10.4634 8.65 10.0792 8.65 9.67833C8.65 8.22235 9.83068 7.19296 11.25 6.88717L11.2501 5.99995C11.2501 5.58574 11.5859 5.24997 12.0002 5.25C12.4144 5.25003 12.7501 5.58584 12.7501 6.00005L12.7501 6.8497C13.409 6.94978 13.9215 7.16157 14.3179 7.42205C14.8224 7.75359 15.0946 8.13528 15.2365 8.36289C15.4556 8.71441 15.3482 9.17699 14.9967 9.39609C14.6452 9.61518 14.1826 9.50783 13.9635 9.1563C13.8887 9.03627 13.7547 8.84686 13.4941 8.67558C13.237 8.50665 12.8132 8.32684 12.1187 8.29293C12.0926 8.29307 12.0666 8.29351 12.0409 8.29427C12.0311 8.2948 12.0211 8.29514 12.0112 8.29529C10.788 8.3429 10.15 9.0905 10.15 9.67833C10.15 9.89531 10.187 10.0326 10.2426 10.1404C10.298 10.2478 10.3968 10.3739 10.5923 10.5304L10.633 10.5556C10.6796 10.5842 10.746 10.6241 10.8239 10.6684C10.986 10.7606 11.1717 10.8571 11.3231 10.9158C11.4551 10.9669 11.5925 11.0052 11.7591 11.0478L11.8353 11.0671C11.9776 11.103 12.1476 11.1459 12.3136 11.2C12.4029 11.2291 12.4906 11.2568 12.5771 11.2842C13.1621 11.4691 13.6922 11.6366 14.2756 12.0913C14.5905 12.3366 14.8698 12.6143 15.065 12.9635C15.2661 13.323 15.35 13.7077 15.35 14.123C15.35 15.5739 14.2046 16.6202 12.7771 16.9204V18C12.7771 18.4142 12.4413 18.75 12.0271 18.75C11.6129 18.75 11.2771 18.4142 11.2771 18Z"},X_={key:4,d:"M20 4a2 2 0 0 0-2-2h-2V1a1 1 0 0 0-2 0v1h-3V1a1 1 0 0 0-2 0v1H6V1a1 1 0 0 0-2 0v1H2a2 2 0 0 0-2 2v2h20V4ZM0 18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8H0v10Zm5-8h10a1 1 0 0 1 0 2H5a1 1 0 0 1 0-2Z"},K_={key:5,"fill-rule":"evenodd","clip-rule":"evenodd",d:"M2 3.5C2 2.67157 2.67157 2 3.5 2H11.5C12.3284 2 13 2.67157 13 3.5V9.5H20.5C21.3284 9.5 22 10.1716 22 11V20.5C22 21.3284 21.3284 22 20.5 22H3.50005C2.67166 22 2.0001 21.3285 2.00005 20.5001L2 3.5ZM5.5 5C5.22386 5 5 5.22386 5 5.5V8C5 8.27614 5.22386 8.5 5.5 8.5H6.5C6.77614 8.5 7 8.27614 7 8V5.5C7 5.22386 6.77614 5 6.5 5H5.5ZM5 10.5C5 10.2239 5.22386 10 5.5 10H6.5C6.77614 10 7 10.2239 7 10.5V13C7 13.2761 6.77614 13.5 6.5 13.5H5.5C5.22386 13.5 5 13.2761 5 13V10.5ZM5.5 15C5.22386 15 5 15.2239 5 15.5V18C5 18.2761 5.22386 18.5 5.5 18.5H6.5C6.77614 18.5 7 18.2761 7 18V15.5C7 15.2239 6.77614 15 6.5 15H5.5ZM8 5.5C8 5.22386 8.22386 5 8.5 5H9.5C9.77614 5 10 5.22386 10 5.5V8C10 8.27614 9.77614 8.5 9.5 8.5H8.5C8.22386 8.5 8 8.27614 8 8V5.5ZM8.5 10C8.22386 10 8 10.2239 8 10.5V13C8 13.2761 8.22386 13.5 8.5 13.5H9.5C9.77614 13.5 10 13.2761 10 13V10.5C10 10.2239 9.77614 10 9.5 10H8.5ZM8 15.5C8 15.2239 8.22386 15 8.5 15H9.5C9.77614 15 10 15.2239 10 15.5V18C10 18.2761 9.77614 18.5 9.5 18.5H8.5C8.22386 18.5 8 18.2761 8 18V15.5ZM15 12.5C14.7239 12.5 14.5 12.7239 14.5 13V13.5C14.5 13.7761 14.7239 14 15 14H18.5C18.7761 14 19 13.7761 19 13.5V13C19 12.7239 18.7761 12.5 18.5 12.5H15ZM14.5 15.5C14.5 15.2239 14.7239 15 15 15H18.5C18.7761 15 19 15.2239 19 15.5V16C19 16.2761 18.7761 16.5 18.5 16.5H15C14.7239 16.5 14.5 16.2761 14.5 16V15.5ZM14.5 18C14.5 17.7239 14.7239 17.5 15 17.5H18.5C18.7761 17.5 19 17.7239 19 18V18.5C19 18.7761 18.7761 19 18.5 19H15C14.7239 19 14.5 18.7761 14.5 18.5V18Z"},Y_={key:1,class:"flex-none open-external-link text-gray-500 mr-1 sm:mr-1.5 md:mr-2 lg:mr-2.5 xl:mr-3 2xl:mr-4"},Z_=["href"],Q_={class:"flex-none down-arrow text-gray-500 mr-1 sm:mr-1.5 md:mr-2 lg:mr-2.5 xl:mr-3 2xl:mr-4"},tS={class:"flex-none up-arrow text-gray-500 mr-1 sm:mr-1.5 md:mr-2 lg:mr-2.5 xl:mr-3 2xl:mr-4"},eS={class:"flex-none close text-gray-500"},nS={key:0,class:"flex flex-col p-1 bg-white w-98p border-gray-400 border-r border-b border-l border-t rounded-bl-sm md:rounded-bl xl:rounded-bl-md rounded-br-sm md:rounded-br xl:rounded-br-md ml-0.5 sm:ml-1 lg:ml-1.5 2xl:ml-2"},rS={class:"flex flex-row justify-between items-center"},oS={key:0,xmlns:"http://www.w3.org/2000/svg",class:"cursor-pointer focus:outline-none w-3 sm:w-4 md:w-5 lg:w-6 xl:w-7 2xl:w-8 h-3 sm:h-4 md:h-5 lg:h-6 xl:h-7 2xl:h-8",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},iS={key:1,xmlns:"http://www.w3.org/2000/svg",class:"cursor-pointer focus:outline-none w-3 sm:w-4 md:w-5 lg:w-6 xl:w-7 2xl:w-8 h-3 sm:h-4 md:h-5 lg:h-6 xl:h-7 2xl:h-8",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},aS={class:"truncate w-0 flex-grow text-left text-tiny sm:text-xs md:text-sm lg:text-base xl:text-lg 2xl:text-xl ml-0.5 sm:ml-1 md:ml-1.5 lg:ml-2 xl:ml-2.5 2xl:ml-3"},sS=["onClick"],lS={key:0,class:"mt-1 mb-0.5 sm:mb-1 md:mb-1.5 lg:mb-2 xl:mb-2.5 2xl:mb-3"};function dS(t,e,n,r,o,i){const a=wr("the-modal"),s=Cr("tooltip");return Yo(),ni("div",{class:J(["contact-dialer-item text-gray-900 flex flex-col items-center",i.classToId]),id:n.id},[i.isSingleContact?(Yo(),ni("div",P_,[li("div",D_,[i.isMobile(i.contactPhone)?xn((Yo(),ni("svg",R_,[...e[7]||(e[7]=[li("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 18h.01M8 21h8a2 2 0 002-2V5a2 2 0 00-2-2H8a2 2 0 00-2 2v14a2 2 0 002 2z"},null,-1)])])),[[s,{content:o.i18n.getMessage("webphoneNumberMobile")},void 0,{left:!0}]]):xn((Yo(),ni("svg",L_,[...e[8]||(e[8]=[li("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M3 5a2 2 0 012-2h3.28a1 1 0 01.948.684l1.498 4.493a1 1 0 01-.502 1.21l-2.257 1.13a11.042 11.042 0 005.516 5.516l1.13-2.257a1\n 1 0 011.21-.502l4.493 1.498a1 1 0 01.684.949V19a2 2 0 01-2 2h-1C9.716 21 3 14.284 3 6V5z"},null,-1)])])),[[s,{content:i.getPhoneType(i.contactPhone)},void 0,{left:!0}]]),li("div",N_,rt(i.contactName),1),xn((Yo(),ni("div",j_,[hi(rt(i.printCreatedAt(n.contactItem.data.createdAt)),1)])),[[s,{content:o.i18n.getMessage("addedAt")},void 0,{left:!0}]]),xn(li("img",{class:"flex-none cursor-pointer w-3 sm:w-4 md:w-5 lg:w-6 xl:w-7 2xl:w-8 h-3 sm:h-4 md:h-5 lg:h-6 xl:h-7 2xl:h-8 mr-1 sm:mr-1.5 md:mr-2 lg:mr-2.5 xl:mr-3 2xl:mr-4",src:"images/answer.png",onClick:e[0]||(e[0]=Ms(t=>i.sendCallToAPI(i.contactPhone.number),["prevent"]))},null,512),[[s,{content:o.i18n.getMessage("webphoneCallMake")},void 0,{left:!0}]]),xn((Yo(),ni("div",B_,[(Yo(),ni("svg",{xmlns:"http://www.w3.org/2000/svg",class:"cursor-pointer w-3 sm:w-4 md:w-5 lg:w-6 xl:w-7 2xl:w-8 h-3 sm:h-4 md:h-5 lg:h-6 xl:h-7 2xl:h-8",viewBox:"0 0 20 20",fill:"currentColor",onClick:e[1]||(e[1]=Ms((...t)=>i.confirmDelete&&i.confirmDelete(...t),["prevent"]))},[...e[9]||(e[9]=[li("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1\n 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"},null,-1)])]))])),[[s,{content:o.i18n.getMessage("remove")},void 0,{left:!0}]])])])):(Yo(),ni("div",F_,[li("div",V_,[xn(li("div",{class:"flex-none bg-cover overflow-hidden rounded-tl-sm md:rounded-tl xl:rounded-tl-md rounded-bl-sm md:rounded-bl xl:rounded-bl-md w-5 sm:w-6 md:w-7 lg:w-8 xl:w-9 2xl:w-10 h-5 sm:h-6 md:h-7 lg:h-8 xl:h-9 2xl:h-10",style:H(`background-image: url('/images/gateways/${n.contactItem.gateway}.png')`),onClick:e[2]||(e[2]=Ms((...t)=>i.toggleContact&&i.toggleContact(...t),["prevent"]))},null,4),[[s,{content:o.i18n.getMessage(n.contactItem.gateway.replaceAll("-",""))},void 0,{left:!0}]]),xn((Yo(),ni("div",{class:"truncate text-left font-bold grow text-xs sm:text-sm md:text-base lg:text-lg xl:text-xl 2xl:text-2xl ml-1 sm:ml-1.5 md:ml-2 lg:ml-2.5 xl:ml-3 2xl:ml-4",onClick:e[3]||(e[3]=Ms((...t)=>i.toggleContact&&i.toggleContact(...t),["prevent"]))},[hi(rt(this.contactItem.data.name),1)])),[[s,{content:this.contactItem.data.name},void 0,{bottom:!0}]]),xn((Yo(),ni("div",U_,[hi(rt(i.printCreatedAt(n.contactItem.data.createdAt)),1)])),[[s,{content:o.i18n.getMessage("addedAt")},void 0,{left:!0}]]),i.isPipedriveContact?xn((Yo(),ni("div",H_,[(Yo(),ni("svg",z_,[i.isPipedriveLead?(Yo(),ni("path",G_)):fi("",!0),i.isPipedriveLead?(Yo(),ni("path",q_)):fi("",!0),i.isPipedrivePerson?(Yo(),ni("path",W_)):fi("",!0),i.isPipedriveDeal?(Yo(),ni("path",J_)):fi("",!0),i.isPipedriveActivity?(Yo(),ni("path",X_)):fi("",!0),i.isPipedriveOrganization?(Yo(),ni("path",K_)):fi("",!0)]))])),[[s,{content:i.getMessageEntity},void 0,{left:!0}]]):fi("",!0),n.contactItem.data.url?xn((Yo(),ni("div",Y_,[li("a",{href:n.contactItem.data.url,target:"_blank"},[...e[10]||(e[10]=[li("svg",{xmlns:"http://www.w3.org/2000/svg",class:"cursor-pointer focus:outline-none w-3 sm:w-4 md:w-5 lg:w-6 xl:w-7 2xl:w-8 h-3 sm:h-4 md:h-5 lg:h-6 xl:h-7 2xl:h-8",viewBox:"0 0 20 20",fill:"currentColor"},[li("path",{d:"M11 3a1 1 0 100 2h2.586l-6.293 6.293a1 1 0 101.414 1.414L15 6.414V9a1 1 0 102 0V4a1 1 0 00-1-1h-5z"}),li("path",{d:"M5 5a2 2 0 00-2 2v8a2 2 0 002 2h8a2 2 0 002-2v-3a1 1 0 10-2 0v3H5V7h3a1 1 0 000-2H5z"})],-1)])],8,Z_)])),[[s,{content:o.i18n.getMessage("openExternalLink")},void 0,{left:!0}]]):fi("",!0),xn((Yo(),ni("div",Q_,[(Yo(),ni("svg",{xmlns:"http://www.w3.org/2000/svg",class:"cursor-pointer focus:outline-none w-3 sm:w-4 md:w-5 lg:w-6 xl:w-7 2xl:w-8 h-3 sm:h-4 md:h-5 lg:h-6 xl:h-7 2xl:h-8",viewBox:"0 0 20 20",fill:"currentColor",onClick:e[4]||(e[4]=Ms((...t)=>i.toggleContact&&i.toggleContact(...t),["prevent"]))},[...e[11]||(e[11]=[li("path",{d:"M10 6a2 2 0 110-4 2 2 0 010 4zM10 12a2 2 0 110-4 2 2 0 010 4zM10 18a2 2 0 110-4 2 2 0 010 4z"},null,-1)])]))])),[[s,{content:o.i18n.getMessage("showContactPhones")},void 0,{left:!0}],[ka,!o.active]]),xn((Yo(),ni("div",tS,[(Yo(),ni("svg",{xmlns:"http://www.w3.org/2000/svg",class:"cursor-pointer focus:outline-none w-3 sm:w-4 md:w-5 lg:w-6 xl:w-7 2xl:w-8 h-3 sm:h-4 md:h-5 lg:h-6 xl:h-7 2xl:h-8",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",onClick:e[5]||(e[5]=Ms((...t)=>i.toggleContact&&i.toggleContact(...t),["prevent"]))},[...e[12]||(e[12]=[li("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M5 15l7-7 7 7"},null,-1)])]))])),[[s,{content:o.i18n.getMessage("collapse")},void 0,{left:!0}],[ka,o.active]]),xn((Yo(),ni("div",eS,[(Yo(),ni("svg",{xmlns:"http://www.w3.org/2000/svg",class:"cursor-pointer focus:outline-none w-3 sm:w-4 md:w-5 lg:w-6 xl:w-7 2xl:w-8 h-3 sm:h-4 md:h-5 lg:h-6 xl:h-7 2xl:h-8",viewBox:"0 0 20 20",fill:"currentColor",onClick:e[6]||(e[6]=Ms(t=>r.emitter.emit(`open-modal-${n.contactItem.id}`),["prevent"]))},[...e[13]||(e[13]=[li("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1\n 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"},null,-1)])]))])),[[s,{content:o.i18n.getMessage("remove")},void 0,{left:!0}]])]),di(aa,{name:"fade"},{default:wn(()=>[o.active?(Yo(),ni("div",nS,[(Yo(!0),ni(Go,null,Sr(n.contactItem.data.numbers,(t,r)=>(Yo(),ni("div",{key:t.number},[li("div",rS,[i.isMobile(t)?xn((Yo(),ni("svg",oS,[...e[14]||(e[14]=[li("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 18h.01M8 21h8a2 2 0 002-2V5a2 2 0 00-2-2H8a2 2 0 00-2 2v14a2 2 0 002 2z"},null,-1)])])),[[s,{content:o.i18n.getMessage("webphoneNumberMobile")},void 0,{left:!0}]]):xn((Yo(),ni("svg",iS,[...e[15]||(e[15]=[li("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M3 5a2 2 0 012-2h3.28a1 1 0 01.948.684l1.498 4.493a1 1 0 01-.502 1.21l-2.257 1.13a11.042 11.042 0 005.516 5.516l1.13-2.257a1\n 1 0 011.21-.502l4.493 1.498a1 1 0 01.684.949V19a2 2 0 01-2 2h-1C9.716 21 3 14.284 3 6V5z"},null,-1)])])),[[s,{content:i.getPhoneType(t)},void 0,{left:!0}]]),li("div",aS,rt(t.formatted),1),xn(li("img",{class:"cursor-pointer focus:outline-none w-3 sm:w-4 md:w-5 lg:w-6 xl:w-7 2xl:w-8 h-3 sm:h-4 md:h-5 lg:h-6 xl:h-7 2xl:h-8 mr-2 sm:mr-4 md:mr-5 lg:mr-6 xl:mr-7 2xl:mr-9",src:"images/answer.png",onClick:Ms(e=>i.sendCallToAPI(t.number),["prevent"])},null,8,sS),[[s,{content:o.i18n.getMessage("webphoneCallMake")},void 0,{left:!0}]])]),r!==n.contactItem.data.numbers.length-1?(Yo(),ni("hr",lS)):fi("",!0)]))),128))])):fi("",!0)]),_:1})])),di(a,{id:n.contactItem.id,title:o.i18n.getMessage("areYouSure"),"is-action-close":!0,"is-icon-close":!1,"is-out-click":!1,action:{name:o.i18n.getMessage("remove"),click:i.removeContact}},null,8,["id","title","action"])],10,I_)}const cS={class:"modal-container z-50 bg-white mx-auto rounded shadow-lg overflow-y-auto w-5/6 sm:w-4/5 md:w-3/4 lg:w-2/3 xl:w-1/2 max-w-screen-sm md:max-w-screen-md lg:max-w-screen-lg xl:max-w-screen-xl 2xl:max-w-screen-2xl"},uS={class:"modal-content text-center overflow-hidden px-6 sm:px-7 md:px-8 lg:px-9 xl:px-10 2xl:px-12 py-4 sm:py-5 md:py-6 ls:py-7 xl:py-8 2xl:py-10"},pS={class:"flex justify-between items-center mb-1 sm:mb-2 md:mb-3 lg:mb-4 xl:mb-5 2xl:mb-6"},hS={class:"font-audiowide text-gray-600 w-full text-sm sm:text-base md:text-lg lg:text-xl xl:text-2xl 2xl:text-3xl"},mS={class:"text-gray-600"},fS={class:"flex justify-end mt-2 sm:mt-3 md:mt-4 lg:mt-5 xl:mt-6 2xl:mt-7"};function gS(t,e,n,r,o,i){const a=Cr("tooltip");return Yo(),ni("div",{class:J(["modal font-segoe z-50 opacity-0 pointer-events-none fixed w-full h-full top-0 left-0 flex items-center justify-center",i.classToId])},[li("div",{class:"modal-overlay absolute w-full h-full bg-gray-900 opacity-50",onClick:e[0]||(e[0]=Ms((...t)=>i.isCloseOnOutClick&&i.isCloseOnOutClick(...t),["prevent"]))}),li("div",cS,[li("div",uS,[li("div",pS,[li("p",hS,rt(n.title),1),n.isIconClose?xn((Yo(),ni("div",{key:0,class:"modal-close cursor-pointer z-50",onClick:e[1]||(e[1]=Ms((...t)=>i.closeModal&&i.closeModal(...t),["prevent"]))},[...e[4]||(e[4]=[li("svg",{class:"text-gray-600 w-5 sm:w-6 md:w-7 lg:w-8 xl:w-9 2xl:w-10 h-5 sm:h-6 md:h-7 lg:h-8 xl:h-9 2xl:h-10",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"},[li("path",{"fill-rule":"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zM8.707 7.293a1 1 0 00-1.414 1.414L8.586 10l-1.293 1.293a1 1 0 101.414 1.414L10\n 11.414l1.293 1.293a1 1 0 001.414-1.414L11.414 10l1.293-1.293a1 1 0 00-1.414-1.414L10 8.586 8.707 7.293z","clip-rule":"evenodd"})],-1)])])),[[a,{content:o.i18n.getMessage("globalClose")},void 0,{left:!0}]]):fi("",!0)]),li("div",mS,[Tr(t.$slots,"default")]),li("div",fS,[n.isActionClose?(Yo(),ni("button",{key:0,class:J(["modal-close bg-transparent rounded-lg text-blue-400 text-tiny md:text-xs lg:text-sm xl:text-base 2xl:text-lg hover:bg-gray-200 hover:text-blue-60 focus:outline-none focus:ring-2 focus:ring-blue-600 focus:ring-opacity-5 px-3 sm:px-4 md:px-5 lg:px-6 xl:px-7 2xl:px-8 py-1 lg:py-1.5 2xl:py-2",{"mr-1":i.isAction,"sm:mr-2":i.isAction,"md:mr-3":i.isAction,"lg:mr-4":i.isAction,"xl:mr-5":i.isAction,"2xl:mr-6":i.isAction}]),onClick:e[2]||(e[2]=Ms((...t)=>i.closeModal&&i.closeModal(...t),["prevent"]))},rt(o.i18n.getMessage("globalClose")),3)):fi("",!0),n.action?(Yo(),ni("button",{key:1,class:"bg-blue-400 rounded-lg text-white text-tiny md:text-xs lg:text-sm xl:text-base 2xl:text-lg hover:bg-blue-600 hover:text-gray-200 focus:bg-blue-600 focus:outline-none focus:ring-2 focus:ring-blue-600 focus:ring-opacity-50 px-3 sm:px-4 md:px-5 lg:px-6 xl:px-7 2xl:px-8 py-1 lg:py-1.5 2xl:py-2",onClick:e[3]||(e[3]=Ms((...t)=>n.action.click&&n.action.click(...t),["prevent"]))},rt(n.action.name),1)):fi("",!0)])])])],2)}var vS={name:"TheModal",props:{id:{type:String,default:"the-modal"},title:{type:String,default:""},action:{type:Object,default:null},isActionClose:{type:Boolean,default:!0},isIconClose:{type:Boolean,default:!0},isOutClick:{type:Boolean,default:!0}},data(){return{i18n:chrome.i18n}},setup(){return{emitter:$h}},mounted(){this.$nextTick(()=>{this.id&&(this.emitter.on(`open-modal-${this.id}`,()=>this.toggleModal()),this.emitter.on(`close-modal-${this.id}`,()=>this.closeModal()))})},methods:{toggleModal(){if(this.id){const t=document.querySelector("body"),e=document.querySelector(`.modal.id-${this.id}`);e.classList.toggle("opacity-0"),e.classList.toggle("pointer-events-none"),t.classList.toggle("modal-active")}},closeModal(){if(this.id){const t=document.querySelector("body"),e=document.querySelector(`.modal.id-${this.id}`);e.classList.add("opacity-0"),e.classList.add("pointer-events-none"),t.classList.remove("modal-active")}}},computed:{isCloseOnOutClick(){return this.isOutClick?this.closeModal:()=>{}},isAction(){return null!==this.action},classToId(){return this.id?{[`id-${this.id}`]:!0}:{}}},beforeUnmount(){this.id&&(this.emitter.off(`open-modal-${this.id}`),this.emitter.off(`close-modal-${this.id}`))}};const bS=(0,sg.A)(vS,[["render",gS]]);var yS=bS;const wS=["activecampaign","agendor","exactsales","groner","hubspot","go-high-lvl","kommo","moskit","nectar","pipedrive","pipefy","piperun","ploomes","rdstation-crm","sharpspring","zendesk","salesforce","clickup","sunhub","zoho","vendfly"];var xS={name:"ContactItemDialer",components:{TheModal:yS},props:{isDebug:{type:Boolean,default:!1},id:{type:String,default:"contact-item"},contactItem:{type:Object,required:!0}},data(){return{i18n:chrome.i18n,active:!1,preventDuplicateCalls:!1}},setup(){return{emitter:$h}},mounted(){this.$nextTick(()=>{this.contactItem.id&&(this.emitter.on(`open-contact-item-${this.contactItem.id}`,()=>this.showContact()),this.emitter.on("close-all-contact-items",()=>this.hideContact()))})},methods:{sendCallToAPI(t){if(this.preventDuplicateCalls)return;this.preventDuplicateCalls=!0,setTimeout(()=>{this.preventDuplicateCalls=!1},5e3);const e={...this.contactItem};e.data.phone=t,this.emitter.emit("make-call-contact-dialer",e)},removeContact(){this.isDebug&&console.info("BravoPhone > ContactItemDialer > removeContact >",this.contactItem),this.removeContactDialer(this.contactItem),this.contactItem&&this.contactItem.id&&this.emitter.emit("closeModal",this.contactItem.id)},toggleContact(){this.active=!this.active},showContact(){this.active=!0},hideContact(){this.active=!1},isMobile(t){return"MOBILE"===t.type},getPhoneType(t){if("BR"!==t.country)return this.i18n.getMessage("webphoneNumberInternational");switch(t.type){case"FIXED_LINE_OR_MOBILE":return this.i18n.getMessage("webphoneNumberFixedLineOrMobile");case"FIXED_LINE":return this.i18n.getMessage("webphoneNumberFixedLine");case"TOLL_FREE":return this.i18n.getMessage("webphoneNumberTollFree");case"MOBILE":return this.i18n.getMessage("webphoneNumberMobile");case"EXTENSION":return this.i18n.getMessage("webphoneNumberExtension");case"FACILITY":return this.i18n.getMessage("webphoneNumberFacility");case"TOO_LONG":return this.i18n.getMessage("webphoneNumberTooLong");default:return this.i18n.getMessage("webphoneNumberUnknown")}},printCreatedAt(t){if(!t)return"";const e=new Date(t),n=t=>`0${t}`.slice(-2);return e.toLocaleDateString()===(new Date).toLocaleDateString()?`${n(e.getHours())}:${n(e.getMinutes())}`:e.toLocaleString("pt-BR").slice(0,16)},confirmDelete(){this.contactItem&&this.contactItem.id&&this.emitter.emit(`open-modal-${this.contactItem.id}`)},...ah(["removeContactDialer"])},computed:{classToId(){return this.id?{[this.id]:!0}:{}},isSingleContact(){return!wS.includes(this.contactItem.gateway)&&Array.isArray(this.contactItem.data.numbers)&&1===this.contactItem.data.numbers.length},contactName(){return"call-in"!==this.contactItem.gateway?this.contactItem.data.numbers[0].formatted:`${this.contactItem.data.name} de ${this.contactItem.data.numbers[0].number}`},contactPhone(){return this.contactItem.data.numbers[0]},isPipedriveContact(){return"pipedrive"===this.contactItem.gateway},isPipedriveLead(){return"pipedrive"===this.contactItem.gateway&&this.contactItem.metadata&&this.contactItem.metadata.leadId},isPipedriveOrganization(){return"pipedrive"===this.contactItem.gateway&&this.contactItem.metadata&&this.contactItem.metadata.organizationId},isPipedriveDeal(){return"pipedrive"===this.contactItem.gateway&&this.contactItem.metadata&&this.contactItem.metadata.dealId},isPipedrivePerson(){return"pipedrive"===this.contactItem.gateway&&this.contactItem.metadata&&this.contactItem.metadata.personId},isPipedriveActivity(){return"pipedrive"===this.contactItem.gateway&&this.contactItem.metadata&&this.contactItem.metadata.activitiesId},getMessageEntity(){return this.contactItem.metadata.leadId?this.i18n.getMessage("pipedriveLead"):this.contactItem.metadata.personId?this.i18n.getMessage("pipedrivePerson"):this.contactItem.metadata.dealId?this.i18n.getMessage("pipedriveDeal"):this.contactItem.metadata.organizationId?this.i18n.getMessage("pipedriveOrganization"):this.contactItem.metadata.activitiesId?this.i18n.getMessage("pipedriveActivity"):null},...ih(["extension","token"])},watch:{"contactItem.numbers":{handler:function(){this.$store.commit("updateContactDialer",this.contactItem)}}},beforeUnmount(){this.contactItem&&this.contactItem.id&&this.emitter.off(`open-contact-item-${this.contactItem.id}`)}};n(7579);const $S=(0,sg.A)(xS,[["render",dS],["__scopeId","data-v-582b5ece"]]);var CS=$S;const kS={class:"text-base"},_S={class:"text-gray-600 cursor-pointer",href:"https://youtu.be/NwoJf3SSHqY",target:"_blank"};function SS(t,e,n,r,o,i){return Yo(),ni("div",kS,[hi(rt(o.i18n.getMessage("messageExtensionInvalidConfig"))+" ",1),li("a",_S,rt(o.i18n.getMessage("messageClickHere")),1)])}var TS={name:"MessageExtensionInvalidConfig",data(){return{i18n:chrome.i18n}}};const MS=(0,sg.A)(TS,[["render",SS]]);var OS=MS;function ES(t,e){return Yo(),ri("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor","aria-hidden":"true"},[di("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"})])}var AS={name:"ContactDialer",components:{ContactItemDialer:CS,TheModal:yS,ExternalLinkIcon:ES},props:{isDebug:{type:Boolean,default:!1}},data(){return{i18n:chrome.i18n,whatsappSupportNumber:"https://wa.me/554833328503",wppAgentsList:[{url:"https://api.whatsapp.com/send?phone=554833328519&text=Ol%C3%A1%20Jana%2C%20estou%20entrando%20em%20contato%20pelo%20Webphone%20e%20gostaria%20de%20mais%20informa%C3%A7%C3%B5es."},{url:"https://api.whatsapp.com/send?phone=554833328511&text=Ol%C3%A1%20Tha%C3%ADs%2C%20estou%20entrando%20em%20contato%20pelo%20Webphone%20e%20gostaria%20de%20mais%20informa%C3%A7%C3%B5es."},{url:"https://api.whatsapp.com/send?phone=554833328523&text=Ol%C3%A1%20Julio%2C%20estou%20entrando%20em%20contato%20pelo%20Webphone%20e%20gostaria%20de%20mais%20informa%C3%A7%C3%B5es."}],fabMenuOpen:!1}},setup(){const t=ip();return{emitter:$h,toast:t}},mounted(){this.$nextTick(()=>{this.addListenerToMessages(),this.emitter.on("make-call-contact-dialer",t=>{this.sendCallToAPI(t)}),this.emitter.on("add-contact-dialer",t=>{this.addContactDialerLocal(t)})})},methods:{toggleFabMenu(){this.fabMenuOpen=!this.fabMenuOpen},showFabMenu(){this.fabMenuOpen=!0},hideFabMenu(){this.fabMenuOpen=!1},redirectToPortal(){window.open("https://bravotech.teambravotech.com","_blank"),this.fabMenuOpen=!1},contactTeam(t){if("commercial"===t){const t=Math.floor(Math.random()*this.wppAgentsList.length),e=this.wppAgentsList[t];window.open(e.url,"_blank")}else"support"===t&&window.open(this.whatsappSupportNumber,"_blank");this.fabMenuOpen=!1},sendCallToAPI({data:{phone:t,extension:e},metadata:n}){const r={phone:t,extension:e,metadata:n};return this.$store.dispatch("integrationCall",r).then(r=>(this.isDebug&&console.info("BravoPhone > ContactDialer > sendCallToAPI >",t,e,n,r),r)).catch(t=>{this.isDebug&&console.error("BravoPhone > ContactDialer > sendCallToAPI >",t.message),422===t.statusCode&&"InvalidPhoneNumber"===t.name&&this.toast.error(chrome.i18n.getMessage("webphoneClickToCallInvalidNumber")),401===t.statusCode&&(this.toast.error(chrome.i18n.getMessage("mainErrorExpiredToken")),setTimeout(()=>{document.location.reload()},1e4))})},async addContactDialerLocal(t){this.toast.dismiss("extensionInvalidConfig"),this.isDebug&&console.info("BravoPhone > ContactDialer > addContact >",t),this.emitter.emit("close-all-contact-items");const e=this.prepareContact(t);if(!e)return this.sendMessageToContentScript(t.data.tabId,t.gateway),this.toast.error(OS,{id:"extensionInvalidConfig"});await this.addContactDialer(e),e.data.numbers&&Array.isArray(e.data.numbers)&&e.data.numbers.length>0&&(e.data.phone=e.data.numbers[0].number,this.openAndfocusContactItem(e.id)),this.sendMessageToContentScript(e.data.tabId,e.gateway);const n=["call-in","call-out","click-to-call"].includes(e.gateway);n||this.$store.commit("setCurrentTab","contacts"),(["call-out","click-to-call"].includes(e.gateway)||"call-in"!==e.gateway&&"firstPhone"===this.dialerMode)&&this.sendCallToAPI(e)},sendMessageToContentScript(t,e){return this.isDebug&&console.info("BravoPhone > ContactDialer > sendMessageToContentScript >",t,e),!!t&&(!!e&&("click-to-call"!==e&&void chrome.tabs.sendMessage(t,{method:"bravophoneSuccessIntegrationCall"})))},prepareContact(t){if(!this.extension)return!1;if(!this.extension.username)return!1;const e={...t};return e.data||(e.data={}),e.data.extension=this.extension.username,e.metadata||(e.metadata={}),this.token&&this.token.id&&(e.metadata.bravophoneAccessToken=this.token.id),e},dialerContactListener(t,e,n){if("addContactDialer"===t.method){const{payload:e}=t;this.addContactDialerLocal(e),n({})}if("webphoneDialNow"===t.method){const{payload:e}=t;console.log("BravoPhone DEBUG > popup > recebeu webphoneDialNow",e);const r=e&&e.phone;if(r&&(e.name||e.crm||e.photo)){const o=e.dealId?"Pipedrive · Deal #"+e.dealId:"pipedrive"===e.gateway?"Pipedrive":e.crm||null;this.$store.commit("addContactDialer",{id:"crm-"+(e.gateway||"contact")+"-"+r,gateway:e.gateway||"crm",data:{name:e.name||r,numbers:[{number:r,formatted:r}],company:o,photo:e.photo||null,url:e.pipedriveUrl||null,createdAt:new Date},metadata:{bravophoneGateway:e.gateway||"crm",dealId:e.dealId||void 0}})}if(r&&e&&e.gateway){this.emitter.emit("webphone-dial-context",{name:e.name||null,gateway:e.gateway,company:e.dealId?"Deal #"+e.dealId:e.crm||null,photo:e.photo||null,dealId:e.dealId||null,url:e.pipedriveUrl||null})}return this.emitter.emit("webphone-dial-from-pad",r),n({}),!0}if("syncContact"===t.method){const{payload:e}=t;return e&&e.id&&this.$store.commit("addContactDialer",e),n({}),!0}return"invalidNumber"===t.method&&(this.toast.error(chrome.i18n.getMessage("webphoneClickToCallInvalidNumber")),n({})),!0},addListenerToMessages(){chrome.runtime.onMessage.hasListener(this.dialerContactListener)&&this.removeListenerToMessages(),this.isDebug&&console.info("BravoPhone > ContactDialer > addListenerToMessages"),chrome.runtime.onMessage.addListener(this.dialerContactListener)},removeListenerToMessages(){this.isDebug&&console.info("BravoPhone > ContactDialer > removeListenerToMessages"),chrome.runtime.onMessage.removeListener(this.dialerContactListener)},confirmClearContacts(){this.emitter.emit("open-modal-confirm-clear-contacts")},clearContacts(){this.isDebug&&console.info("BravoPhone > ContactDialer > clearContacts"),this.clearContactDialer(),this.emitter.emit("close-modal-confirm-clear-contacts")},openAndfocusContactItem(t){this.$nextTick(()=>{this.emitter.emit(`open-contact-item-${t}`),document.getElementById(t)&&document.getElementById(t).scrollIntoView({behavior:"smooth"})})},...ah(["clearContactDialer","addContactDialer"])},computed:{contacts(){return[...this.recents||[],...this.crmContacts||[]]},hasContacts(){return this.contacts.length>0},...ih(["recents","crmContacts","dialerMode","extension","token"])},beforeUnmount(){this.emitter.off("make-call-contact-dialer"),this.emitter.off("add-contact-dialer")}};n(601);const IS=(0,sg.A)(AS,[["render",A_],["__scopeId","data-v-1f5ee452"]]);var PS=IS;const DS={class:"contacts-tab h-full flex flex-col bg-white"},RS={class:"flex-none px-3 pt-2 pb-1.5"},LS={class:"relative"},NS={xmlns:"http://www.w3.org/2000/svg",class:"w-3.5 h-3.5 absolute left-2.5 top-1/2 text-gray-400",style:{transform:"translateY(-50%)"},viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},jS=["placeholder"],BS={key:0,class:"flex-none px-3 pb-1.5 text-tiny font-semibold uppercase tracking-wider text-gray-400"},FS={class:"flex-1 min-h-0 overflow-y-auto"},VS={key:0,class:"px-6 py-10 text-center text-xs text-gray-400"},US={key:1,class:"px-6 py-10 text-center text-xs text-gray-400"},HS=["onClick"],zS={class:"flex-1 min-w-0"},GS={class:"text-xs font-semibold text-gray-800 truncate"},qS={class:"text-tiny text-gray-500 truncate"},WS={key:0},JS={class:"font-semibold text-blue-600"},XS=["title"],KS={xmlns:"http://www.w3.org/2000/svg",class:"w-3.5 h-3.5",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},YS={key:9,points:"22 12 18 12 15 21 9 3 6 12 2 12"},ZS={key:0,class:"bg-gray-50"},QS=["href","title"],tT={class:"flex items-center gap-2 text-xs truncate"},eT={class:"font-medium truncate"},nT={class:"flex-shrink-0 text-tiny text-gray-400"},rT=["title","onClick"],oT={class:"text-xs text-gray-700 tabular-nums truncate"};function iT(t,e,n,r,o,i){const a=wr("avatar-badge");return Yo(),ni("div",DS,[li("div",RS,[li("div",LS,[(Yo(),ni("svg",NS,[...e[2]||(e[2]=[li("circle",{cx:"11",cy:"11",r:"8"},null,-1),li("path",{d:"m21 21-4.3-4.3"},null,-1)])])),xn(li("input",{"onUpdate:modelValue":e[0]||(e[0]=t=>o.query=t),type:"text",class:"w-full pl-7 pr-7 py-1.5 text-xs rounded-lg bg-gray-100 border-none focus:outline-none focus:ring-1 focus:ring-blue-200 text-gray-700",placeholder:o.i18n.getMessage("contactsTabSearchPlaceholder")},null,8,jS),[[fs,o.query]]),o.query?(Yo(),ni("button",{key:0,class:"absolute right-1.5 top-1/2 p-1 text-gray-400 hover:text-gray-700 focus:outline-none",style:{transform:"translateY(-50%)"},onClick:e[1]||(e[1]=t=>o.query="")},[...e[3]||(e[3]=[li("svg",{xmlns:"http://www.w3.org/2000/svg",class:"w-3 h-3",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2.4","stroke-linecap":"round","stroke-linejoin":"round"},[li("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),li("line",{x1:"6",y1:"6",x2:"18",y2:"18"})],-1)])])):fi("",!0)])]),i.decoratedContacts.length>0?(Yo(),ni("div",BS,rt(i.contactsHeaderText),1)):fi("",!0),li("div",FS,[0===i.decoratedContacts.length?(Yo(),ni("div",VS,rt(o.i18n.getMessage("contactsTabEmpty")),1)):0===i.filteredContacts.length?(Yo(),ni("div",US,rt(o.i18n.getMessage("contactsTabNoResults")),1)):fi("",!0),(Yo(!0),ni(Go,null,Sr(i.filteredContacts,t=>(Yo(),ni("div",{key:t.id,class:"border-b border-gray-50"},[li("button",{class:"w-full text-left flex items-center gap-3 px-3 py-2 hover:bg-gray-50 focus:outline-none transition-colors",onClick:e=>i.toggleExpand(t.id)},[di(a,{name:t.name,photo:t.photo,size:34},null,8,["name","photo"]),li("div",zS,[li("div",GS,rt(t.name),1),li("div",qS,[t.subtitle?(Yo(),ni("span",WS,rt(t.subtitle)+" · ",1)):fi("",!0),li("span",JS,rt(i.numbersCountText(t)),1)])]),t.entityType?(Yo(),ni("span",{key:0,class:"flex-shrink-0 w-6 h-6 rounded-md bg-blue-50 text-blue-600 flex items-center justify-center",title:t.entityName},[(Yo(),ni("svg",KS,["deal"===t.entityType?(Yo(),ni(Go,{key:0},[e[4]||(e[4]=li("line",{x1:"12",y1:"1",x2:"12",y2:"23"},null,-1)),e[5]||(e[5]=li("path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6"},null,-1))],64)):"lead"===t.entityType?(Yo(),ni(Go,{key:1},[e[6]||(e[6]=li("circle",{cx:"12",cy:"12",r:"10"},null,-1)),e[7]||(e[7]=li("circle",{cx:"12",cy:"12",r:"6"},null,-1)),e[8]||(e[8]=li("circle",{cx:"12",cy:"12",r:"2"},null,-1))],64)):"contact"===t.entityType?(Yo(),ni(Go,{key:2},[e[9]||(e[9]=li("path",{d:"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"},null,-1)),e[10]||(e[10]=li("circle",{cx:"12",cy:"7",r:"4"},null,-1))],64)):"organization"===t.entityType?(Yo(),ni(Go,{key:3},[e[11]||(e[11]=mi('<path d="M3 21h18"></path><path d="M5 21V7l8-4v18"></path><path d="M19 21V11l-6-4"></path><line x1="9" y1="9" x2="9" y2="9.01"></line><line x1="9" y1="12" x2="9" y2="12.01"></line><line x1="9" y1="15" x2="9" y2="15.01"></line><line x1="9" y1="18" x2="9" y2="18.01"></line>',7))],64)):"activity"===t.entityType?(Yo(),ni(Go,{key:4},[e[12]||(e[12]=li("rect",{x:"3",y:"4",width:"18",height:"18",rx:"2",ry:"2"},null,-1)),e[13]||(e[13]=li("line",{x1:"16",y1:"2",x2:"16",y2:"6"},null,-1)),e[14]||(e[14]=li("line",{x1:"8",y1:"2",x2:"8",y2:"6"},null,-1)),e[15]||(e[15]=li("line",{x1:"3",y1:"10",x2:"21",y2:"10"},null,-1))],64)):"task"===t.entityType?(Yo(),ni(Go,{key:5},[e[16]||(e[16]=li("polyline",{points:"9 11 12 14 22 4"},null,-1)),e[17]||(e[17]=li("path",{d:"M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11"},null,-1))],64)):"ticket"===t.entityType?(Yo(),ni(Go,{key:6},[e[18]||(e[18]=li("path",{d:"M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z"},null,-1)),e[19]||(e[19]=li("line",{x1:"7",y1:"7",x2:"7.01",y2:"7"},null,-1))],64)):"campaign"===t.entityType?(Yo(),ni(Go,{key:7},[e[20]||(e[20]=li("polygon",{points:"11 5 6 9 2 9 2 15 6 15 11 19 11 5"},null,-1)),e[21]||(e[21]=li("path",{d:"M15.54 8.46a5 5 0 0 1 0 7.07"},null,-1)),e[22]||(e[22]=li("path",{d:"M19.07 4.93a10 10 0 0 1 0 14.14"},null,-1))],64)):"card"===t.entityType?(Yo(),ni(Go,{key:8},[e[23]||(e[23]=li("rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",ry:"2"},null,-1)),e[24]||(e[24]=li("line",{x1:"3",y1:"9",x2:"21",y2:"9"},null,-1)),e[25]||(e[25]=li("line",{x1:"9",y1:"21",x2:"9",y2:"9"},null,-1))],64)):"flow"===t.entityType?(Yo(),ni("polyline",YS)):fi("",!0)]))],8,XS)):fi("",!0),(Yo(),ni("svg",{xmlns:"http://www.w3.org/2000/svg",class:J(["w-3 h-3 text-gray-400 transition-transform",{"rotate-180":i.isExpanded(t.id)}]),viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2.4","stroke-linecap":"round","stroke-linejoin":"round"},[...e[26]||(e[26]=[li("polyline",{points:"6 9 12 15 18 9"},null,-1)])],2))],8,HS),i.isExpanded(t.id)?(Yo(),ni("div",ZS,[t.crmUrl?(Yo(),ni("a",{key:0,href:t.crmUrl,target:"_blank",rel:"noopener",class:"flex items-center justify-between gap-2 px-3 py-2 hover:bg-white focus:outline-none transition-colors no-underline text-gray-700",title:t.crmOpenLabel},[li("span",tT,[e[27]||(e[27]=li("svg",{xmlns:"http://www.w3.org/2000/svg",class:"w-3.5 h-3.5 text-blue-500 flex-shrink-0",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[li("path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"}),li("polyline",{points:"15 3 21 3 21 9"}),li("line",{x1:"10",y1:"14",x2:"21",y2:"3"})],-1)),li("span",eT,rt(t.crmOpenLabel),1)]),li("span",nT,rt(t.crmGatewayLabel),1)],8,QS)):fi("",!0),(Yo(!0),ni(Go,null,Sr(t.numbers,(n,r)=>(Yo(),ni("button",{key:`${t.id}-${r}`,class:"w-full flex items-center justify-between gap-2 px-3 py-2 hover:bg-white focus:outline-none transition-colors",title:o.i18n.getMessage("webphoneCallMake"),onClick:e=>i.dial(t,n)},[li("span",oT,rt(n.formatted),1),e[28]||(e[28]=li("span",{class:"flex-shrink-0 w-7 h-7 rounded-full bg-green-100 text-green-600 flex items-center justify-center"},[li("svg",{xmlns:"http://www.w3.org/2000/svg",class:"w-3.5 h-3.5",viewBox:"0 0 20 20",fill:"currentColor"},[li("path",{d:"M2 3a1 1 0 011-1h2.153a1 1 0 01.986.836l.74 4.435a1 1 0 01-.54 1.06l-1.548.773a11.037 11.037 0 006.105\n 6.105l.774-1.548a1 1 0 011.059-.54l4.435.74a1 1 0 01.836.986V17a1 1 0 01-1 1h-2C7.82 18 2 12.18 2 5V3z"})])],-1))],8,rT))),128))])):fi("",!0)]))),128))])])}n(116),n(3579);const aT="undefined"!==typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);var sT={randomUUID:aT};let lT;const dT=new Uint8Array(16);function cT(){if(!lT){if("undefined"===typeof crypto||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");lT=crypto.getRandomValues.bind(crypto)}return lT(dT)}const uT=[];for(let n=0;n<256;++n)uT.push((n+256).toString(16).slice(1));function pT(t,e=0){return(uT[t[e+0]]+uT[t[e+1]]+uT[t[e+2]]+uT[t[e+3]]+"-"+uT[t[e+4]]+uT[t[e+5]]+"-"+uT[t[e+6]]+uT[t[e+7]]+"-"+uT[t[e+8]]+uT[t[e+9]]+"-"+uT[t[e+10]]+uT[t[e+11]]+uT[t[e+12]]+uT[t[e+13]]+uT[t[e+14]]+uT[t[e+15]]).toLowerCase()}function hT(t,e,n){if(sT.randomUUID&&!e&&!t)return sT.randomUUID();t=t||{};const r=t.random??t.rng?.()??cT();if(r.length<16)throw new Error("Random bytes length must be >= 16");if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,e){if(n=n||0,n<0||n+16>e.length)throw new RangeError(`UUID byte range ${n}:${n+15} is out of buffer bounds`);for(let t=0;t<16;++t)e[n+t]=r[t];return e}return pT(r)}var mT=hT;const fT={activecampaign:"ActiveCampaign",agendor:"Agendor",appfacilita:"AppFacilita",bulldesk:"Bulldesk",exactsales:"Exact Sales",groner:"Groner","go-high-lvl":"GoHighLevel",hubspot:"HubSpot",kommo:"Kommo",moskit:"Moskit",nectar:"Nectar",pipedrive:"Pipedrive",pipefy:"Pipefy",piperun:"Piperun",ploomes:"Ploomes","rdstation-crm":"RD Station",salesforce:"Salesforce",sunhub:"SunHub",sharpspring:"SharpSpring",zendesk:"Zendesk",zoho:"Zoho",clickup:"Clickup",vendfly:"Vendfly"},gT={dealId:"deal",deal:"deal",opportunityid:"deal",opportunities:"deal",dealsId:"deal",PotentialsId:"deal",leadId:"lead",lead:"lead",leadid:"lead",leads:"lead",LeadsId:"lead",personId:"contact",person:"contact",contact:"contact",contactid:"contact",contacts:"contact",contactId:"contact",contactsId:"contact",ContactsId:"contact",organizationId:"organization",company:"organization",accountid:"organization",companies:"organization",businesses:"organization",accountsId:"organization",AccountsId:"organization",activitiesId:"activity",taskId:"task",ticket:"ticket",campaignid:"campaign",card:"card",flow:"flow"},vT={deal:"contactsTabOpenDeal",lead:"contactsTabOpenLead",contact:"contactsTabOpenContact",organization:"contactsTabOpenOrganization",activity:"contactsTabOpenActivity",task:"contactsTabOpenTask",ticket:"contactsTabOpenTicket",campaign:"contactsTabOpenCampaign",card:"contactsTabOpenCard",flow:"contactsTabOpenFlow"},bT={deal:"contactsTabEntityDeal",lead:"contactsTabEntityLead",contact:"contactsTabEntityContact",organization:"contactsTabEntityOrganization",activity:"contactsTabEntityActivity",task:"contactsTabEntityTask",ticket:"contactsTabEntityTicket",campaign:"contactsTabEntityCampaign",card:"contactsTabEntityCard",flow:"contactsTabEntityFlow"};function yT(t){return String(t||"").replace(/\D/g,"")}var wT={name:"ContactsTab",components:{AvatarBadge:Gg},props:{isDebug:{type:Boolean,default:!1}},data(){return{i18n:chrome.i18n,query:"",expandedIds:new Set}},setup(){return{emitter:$h}},computed:{...ih(["crmContacts","extension","token"]),decoratedContacts(){const t=[];for(const e of this.crmContacts||[]){if(!e)continue;const n=e.data||{},r=Array.isArray(n.numbers)?n.numbers:[],o=new Set,i=[];for(const t of r){const e=t&&(t.number||t.formatted)||"";if(!e)continue;const n=yT(e);n&&!o.has(n)&&(o.add(n),i.push({raw:e,formatted:t.formatted||e}))}if(0===i.length)continue;const a=fT[e.gateway]||e.gateway,s=n.company||a,l=this.entityType(e);t.push({id:e.id,name:n.name||i[0].formatted,photo:n.photo||"",subtitle:s,numbers:i,crmUrl:n.url||null,crmGatewayLabel:a,crmOpenLabel:this.openLabel(e),entityType:l,entityName:this.entityName(l)})}return t},contactsHeaderText(){const t=this.decoratedContacts.length,e=1===t?this.i18n.getMessage("contactsTabHeaderSingular"):this.i18n.getMessage("contactsTabHeaderPlural");return`${t} ${e} · ${this.i18n.getMessage("contactsTabHeaderSource")}`},filteredContacts(){const t=this.query.trim().toLowerCase();if(!t)return this.decoratedContacts;const e=yT(t);return this.decoratedContacts.filter(n=>!(!n.name||!n.name.toLowerCase().includes(t))||(!(!n.subtitle||!n.subtitle.toLowerCase().includes(t))||!(!e||!n.numbers.some(t=>yT(t.raw).includes(e)))))}},watch:{decoratedContacts:{handler(t){t.length>0&&0===this.expandedIds.size&&(this.expandedIds=new Set([t[0].id]))},immediate:!0}},methods:{numbersCountText(t){const e=t.numbers.length,n=1===e?this.i18n.getMessage("contactsTabNumberSingular"):this.i18n.getMessage("contactsTabNumberPlural");return`${e} ${n}`},isExpanded(t){return this.expandedIds.has(t)},entityType(t){const e=t&&t.metadata;if(!e)return null;for(const n of Object.keys(e)){if(!e[n])continue;const t=gT[n];if(t)return t}return null},openLabel(t){const e=this.entityType(t);return e&&vT[e]?this.i18n.getMessage(vT[e]):this.i18n.getMessage("contactsTabOpenCrm")},entityName(t){return t&&bT[t]?this.i18n.getMessage(bT[t]):""},toggleExpand(t){const e=new Set(this.expandedIds);e.has(t)?e.delete(t):e.add(t),this.expandedIds=e},dial(t,e){const n=(this.crmContacts||[]).find(e=>e.id===t.id);if(!n)return;const r=n.data||{},o=this.extension&&this.extension.username,i=this.token&&this.token.id,a=n.metadata||{};this.$store.commit("addRecent",{id:mT(),gateway:"call-out",metadata:{...a,bravophoneAccessToken:i},data:{name:r.name||t.name,company:r.company,crmGateway:n.gateway,extension:o,phone:e.raw,numbers:[{number:e.raw,formatted:e.formatted||e.raw}],createdAt:new Date}}),this.emitter.emit("make-call-contact-dialer",{...n,data:{...r,phone:e.raw}})}}};const xT=(0,sg.A)(wT,[["render",iT]]);var $T=xT;const CT={class:"dialer-screen h-full w-full bg-white flex flex-col px-4 py-2"},kT={class:"display flex-none text-left pt-2 pb-1 relative min-h-[50px]"},_T={class:"number font-semibold text-gray-800 leading-none",style:{"font-size":"28px","min-height":"32px","font-variant-numeric":"tabular-nums"}},ST={key:1,class:"text-gray-400 font-normal",style:{"font-size":"22px"}},TT={key:0,class:"text-xs text-blue-500 font-medium mt-1 truncate"},MT={key:0},OT={class:"keypad flex-1 flex items-center justify-center min-h-0 py-1"},ET={class:"grid gap-y-2",style:{"grid-template-columns":"repeat(3, 108px)","grid-auto-rows":"52px","column-gap":"12px"}},AT=["onClick"],IT={class:"actions flex-none grid items-center pt-1 pb-2",style:{"grid-template-columns":"1fr auto 1fr",gap:"8px"}},PT=["disabled","title"],DT={class:"flex justify-start pl-3"},RT=["title"];function LT(t,e,n,r,o,i){return Yo(),ni("div",CT,[li("div",kT,[li("div",{class:"flex items-center justify-between mb-1",style:{minHeight:"18px"}},[i.parsedInfo?(Yo(),ni("span",{key:0,class:"flex items-center gap-1.5 text-sm font-medium",style:{color:"#9aa2b8"}},"🇧🇷 Brasil · "+i.parsedInfo.city+" ("+i.parsedInfo.ddd+")")):(Yo(),ni("span",{key:1})),t.dialDisplayNumber?(Yo(),ni("button",{key:2,class:"px-3 py-1 rounded-full text-tiny font-semibold",style:{border:"1px solid #3b4258",color:"#9aa2b8",background:"transparent"},onClick:e[0]||(e[0]=(...t)=>i.clearAll&&i.clearAll(...t))},rt(o.i18n.getMessage("globalClear")),1)):fi("",!0)]),li("div",{class:"text-2xl font-semibold text-white tracking-wide"},[hi(rt(i.parsedInfo?i.parsedInfo.formatted:"+55 "+(t.dialDisplayNumber||"")),1),li("span",{class:"bp-cursor"},null,-1)]),i.match?(Yo(),ni("div",TT,[hi(rt(i.match.name),1),i.match.company?(Yo(),ni("span",MT," · "+rt(i.match.company),1)):fi("",!0)])):fi("",!0),i.suggestions.length>0?(Yo(),ni("div",{key:0,class:"absolute left-0 right-0 rounded-lg overflow-hidden z-20 shadow-lg",style:{top:"100%",marginTop:"4px",background:"#1c2131",border:"1px solid #262c40"}},[(Yo(!0),ni(Go,null,Sr(i.suggestions,t=>(Yo(),ni("button",{key:t.id,class:"w-full flex items-center justify-between px-3 py-2 hover:bg-gray-800 text-left focus:outline-none transition-colors",onClick:e=>i.selectSuggestion(t)},[li("div",{class:"min-w-0"},[li("div",{class:"text-xs font-semibold text-white truncate"},rt(t.name),1),li("div",{class:"text-tiny text-gray-400 truncate"},rt(t.number),1)])]))),128))])):fi("",!0)]),li("div",OT,[li("div",ET,[(Yo(!0),ni(Go,null,Sr(o.keys,t=>(Yo(),ni("button",{key:t,class:"keypad-btn rounded-xl bg-gray-100 hover:bg-gray-200 active:scale-95 text-gray-800 font-medium leading-none flex items-center justify-center gap-1 transition-transform",style:{height:"52px",width:"108px"},onClick:e=>i.press(t)},[li("span",{style:{"font-size":"22px"}},rt(t),1),bpKeyLetters[t]?(Yo(),ni("span",{key:0,style:{"font-size":"10px",opacity:"0.55","letter-spacing":"0.5px"}},rt(bpKeyLetters[t]),1)):fi("",!0)]))),128))])]),li("div",IT,[li("span",null,null,-1),li("button",{class:J(["dial-btn rounded-full text-white flex items-center justify-center gap-2 font-semibold text-sm transition-transform active:scale-95 px-8",i.canDial?"cursor-pointer":"cursor-not-allowed"]),style:H({height:"48px",background:i.canDial?"#10b981":"#cbd5e1",boxShadow:i.canDial?"0 6px 18px -4px rgba(16,185,129,.55)":"none"}),disabled:!i.canDial,title:o.i18n.getMessage("webphoneCallMake"),onClick:e[1]||(e[1]=(...t)=>i.dial&&i.dial(...t))},[...e[3]||(e[3]=[li("svg",{xmlns:"http://www.w3.org/2000/svg",class:"w-5 h-5",viewBox:"0 0 20 20",fill:"currentColor"},[li("path",{d:"M2 3a1 1 0 011-1h2.153a1 1 0 01.986.836l.74 4.435a1 1 0 01-.54 1.06l-1.548.773a11.037 11.037 0 006.105\n 6.105l.774-1.548a1 1 0 011.059-.54l4.435.74a1 1 0 01.836.986V17a1 1 0 01-1 1h-2C7.82 18 2 12.18 2 5V3z"})],-1)]),li("span",null,rt(o.i18n.getMessage("webphoneCallMake")),1)],14,PT),li("div",DT,[t.dialDisplayNumber?(Yo(),ni("button",{key:0,class:"text-gray-400 hover:text-gray-700 hover:bg-gray-100 rounded p-2 focus:outline-none",title:o.i18n.getMessage("dialerBackspace"),onClick:e[2]||(e[2]=(...t)=>i.backspace&&i.backspace(...t))},[...e[4]||(e[4]=[li("svg",{xmlns:"http://www.w3.org/2000/svg",class:"w-5 h-5",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[li("path",{d:"M21 4H8l-7 8 7 8h13a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2z"}),li("line",{x1:"18",y1:"9",x2:"12",y2:"15"}),li("line",{x1:"12",y1:"9",x2:"18",y2:"15"})],-1)])],8,RT)):fi("",!0)])])])}const NT=["1","2","3","4","5","6","7","8","9","*","0","#"];var bpDddCity={"11":"São Paulo","12":"São José dos Campos","13":"Santos","14":"Bauru","15":"Sorocaba","16":"Ribeirão Preto","17":"São José do Rio Preto","18":"Presidente Prudente","19":"Campinas","21":"Rio de Janeiro","22":"Campos dos Goytacazes","24":"Volta Redonda","27":"Vitória","28":"Cachoeiro de Itapemirim","31":"Belo Horizonte","32":"Juiz de Fora","33":"Governador Valadares","34":"Uberlândia","35":"Poços de Caldas","37":"Divinópolis","38":"Montes Claros","41":"Curitiba","42":"Ponta Grossa","43":"Londrina","44":"Maringá","45":"Cascavel","46":"Pato Branco","47":"Joinville","48":"Florianópolis","49":"Chapecó","51":"Porto Alegre","53":"Pelotas","54":"Caxias do Sul","55":"Santa Maria","61":"Brasília","62":"Goiânia","63":"Palmas","64":"Rio Verde","65":"Cuiabá","66":"Rondonópolis","67":"Campo Grande","68":"Rio Branco","69":"Porto Velho","71":"Salvador","73":"Ilhéus","74":"Juazeiro","75":"Feira de Santana","77":"Barreiras","79":"Aracaju","81":"Recife","82":"Maceió","83":"João Pessoa","84":"Natal","85":"Fortaleza","86":"Teresina","87":"Petrolina","88":"Juazeiro do Norte","89":"Picos","91":"Belém","92":"Manaus","93":"Santarém","94":"Marabá","95":"Boa Vista","96":"Macapá","97":"Tefé","98":"São Luís","99":"Imperatriz"};var bpKeyLetters={"1":"","2":"ABC","3":"DEF","4":"GHI","5":"JKL","6":"MNO","7":"PQRS","8":"TUV","9":"WXYZ","*":"","0":"+","#":""};var jT={name:"DialerScreen",props:{isDebug:{type:Boolean,default:!1}},data(){return{i18n:chrome.i18n,keys:NT}},setup(){return{emitter:$h}},computed:{...ih(["recents","crmContacts","dialDisplayNumber","dialNumberValid"]),canDial(){return!!this.dialDisplayNumber&&this.dialNumberValid},match(){const t=this.dialDisplayNumber||"";if(t.length<3)return null;const e=t.replace(/\D/g,"");if(!e)return null;const n=t=>t.data&&Array.isArray(t.data.numbers)&&t.data.numbers.some(t=>{const n=(t.number||t.formatted||"").replace(/\D/g,"");return n.length>0&&n.includes(e)}),r=(this.crmContacts||[]).find(n)||(this.recents||[]).find(n);return r?{name:r.data&&r.data.name||null,company:r.data&&r.data.company||null}:null},suggestions(){const t=(this.dialDisplayNumber||"").replace(/\D/g,"");if(t.length<3)return[];const e=new Set,n=[];const r=o=>{for(const i of o||[]){if(!i||!i.data||!Array.isArray(i.data.numbers))continue;const a=i.data.numbers.find(n=>{const r=(n.number||n.formatted||"").replace(/\D/g,"");return r.length>0&&r.includes(t)});if(!a)continue;const s=(a.number||a.formatted||"").replace(/\D/g,"");if(e.has(s))continue;e.add(s);n.push({id:i.id,name:i.data.name||a.formatted||a.number,number:a.formatted||a.number,rawNumber:s,company:i.data.company||null});if(n.length>=5)return}};return r(this.crmContacts),n.length<5&&r(this.recents),n},parsedInfo(){const e=(this.dialDisplayNumber||"").replace(/\D/g,"");if(e.length<10)return null;const n=e.slice(0,2),r=bpDddCity[n];if(!r)return null;const o=e.slice(2);let i;return 9===o.length?i=o.slice(0,5)+"-"+o.slice(5):8===o.length?i=o.slice(0,4)+"-"+o.slice(4):i=o,{ddd:n,city:r,formatted:"+55 "+n+" "+i}}},methods:{selectSuggestion(t){this.emitter.emit("webphone-dial-from-pad",t.rawNumber)},press(t){this.emitter.emit("webphone-dial-key",t)},backspace(){this.emitter.emit("webphone-dial-backspace")},clearAll(){this.emitter.emit("webphone-dial-clear")},dial(){console.log("BravoPhone DEBUG > DialerScreen.dial > click",{canDial:this.canDial,dialDisplayNumber:this.dialDisplayNumber}),this.canDial&&this.emitter.emit("webphone-dial-now")}}};const BT=(0,sg.A)(jT,[["render",LT]]);var FT=BT;const VT={class:"history-tab h-full flex flex-col bg-white"},UT={class:"flex-none px-3 pt-2 pb-1.5"},HT={class:"relative"},zT={xmlns:"http://www.w3.org/2000/svg",class:"w-3.5 h-3.5 absolute left-2.5 top-1/2 text-gray-400",style:{transform:"translateY(-50%)"},viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},GT=["placeholder"],qT={class:"flex-none flex items-center gap-1.5 px-3 pb-2"},WT={class:"flex gap-1.5 flex-1 min-w-0 overflow-x-auto",style:{"scrollbar-width":"none"}},JT=["disabled","onClick"],XT=["disabled","title"],KT={class:"flex-1 min-h-0 overflow-y-auto"},YT={key:0,class:"px-6 py-10 text-center text-xs text-gray-400"},ZT={key:1,class:"px-6 py-10 text-center text-xs text-gray-400"},QT={class:"sticky top-0 z-[1] px-3 py-1.5 bg-white text-tiny font-semibold uppercase tracking-wider text-gray-400"},tM={class:"ml-1 font-medium opacity-70"},eM=["title","onClick"],nM={xmlns:"http://www.w3.org/2000/svg",class:"w-4 h-4",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2.2","stroke-linecap":"round","stroke-linejoin":"round"},rM={class:"flex-1 min-w-0"},oM={class:"text-sm font-semibold text-gray-800 tabular-nums truncate"},iM={class:"text-tiny text-gray-500 truncate mt-0.5 tabular-nums"},aM={key:0},sM=["title"],lM={class:"flex-none border-t border-gray-100 px-3 py-2 text-center"},dM=["href"];function cM(t,e,n,r,o,i){return Yo(),ni("div",VT,[li("div",UT,[li("div",HT,[(Yo(),ni("svg",zT,[...e[3]||(e[3]=[li("circle",{cx:"11",cy:"11",r:"8"},null,-1),li("path",{d:"m21 21-4.3-4.3"},null,-1)])])),xn(li("input",{"onUpdate:modelValue":e[0]||(e[0]=t=>o.query=t),type:"text",class:"w-full pl-7 pr-7 py-1.5 text-xs rounded-lg bg-gray-100 border-none focus:outline-none focus:ring-1 focus:ring-blue-200 text-gray-700",placeholder:o.i18n.getMessage("historySearchPlaceholder")},null,8,GT),[[fs,o.query]]),o.query?(Yo(),ni("button",{key:0,class:"absolute right-1.5 top-1/2 p-1 text-gray-400 hover:text-gray-700 focus:outline-none",style:{transform:"translateY(-50%)"},onClick:e[1]||(e[1]=t=>o.query="")},[...e[4]||(e[4]=[li("svg",{xmlns:"http://www.w3.org/2000/svg",class:"w-3 h-3",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2.4","stroke-linecap":"round","stroke-linejoin":"round"},[li("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),li("line",{x1:"6",y1:"6",x2:"18",y2:"18"})],-1)])])):fi("",!0)])]),li("div",qT,[li("div",WT,[(Yo(!0),ni(Go,null,Sr(i.dateFilters,t=>(Yo(),ni("button",{key:t.key,class:J(["flex-shrink-0 px-2.5 py-1 rounded-full text-tiny font-semibold tracking-wide transition-colors focus:outline-none",[o.pendingFilter===t.key?"bg-gray-800 text-white":"bg-gray-100 text-gray-500 hover:bg-gray-200",o.loading?"opacity-50 cursor-not-allowed":""]]),disabled:o.loading,onClick:e=>i.selectPill(t.key)},rt(t.label),11,JT))),128))]),li("button",{class:"flex-shrink-0 flex items-center gap-1 px-2 py-1 rounded-full text-tiny font-semibold tracking-wide transition-colors focus:outline-none bg-blue-500 text-white hover:bg-blue-600 disabled:opacity-60 disabled:cursor-not-allowed",disabled:o.loading,title:o.i18n.getMessage("historyRefresh"),onClick:e[2]||(e[2]=t=>i.fetchHistory())},[(Yo(),ni("svg",{xmlns:"http://www.w3.org/2000/svg",class:J(["w-3 h-3",{"spin-loop":o.loading}]),viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2.4","stroke-linecap":"round","stroke-linejoin":"round"},[...e[5]||(e[5]=[li("polyline",{points:"23 4 23 10 17 10"},null,-1),li("polyline",{points:"1 20 1 14 7 14"},null,-1),li("path",{d:"M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15"},null,-1)])],2)),hi(" "+rt(o.loading?o.i18n.getMessage("historyRefreshing"):o.i18n.getMessage("historyRefresh")),1)],8,XT)]),li("div",KT,[o.loading&&0===o.items.length?(Yo(),ni("div",YT,rt(o.i18n.getMessage("historyRefreshing")),1)):o.loading||0!==i.groups.length?fi("",!0):(Yo(),ni("div",ZT,rt(o.i18n.getMessage("historyEmpty")),1)),(Yo(!0),ni(Go,null,Sr(i.groups,t=>(Yo(),ni("div",{key:t.key},[li("div",QT,[hi(rt(t.label)+" ",1),li("span",tM,"· "+rt(t.items.length),1)]),(Yo(!0),ni(Go,null,Sr(t.items,t=>(Yo(),ni("button",{key:t.id,class:"w-full text-left flex items-center gap-3 px-3 py-2 hover:bg-gray-50 focus:outline-none transition-colors border-b border-gray-50",title:o.i18n.getMessage("webphoneCallMake"),onClick:e=>i.dial(t)},[li("span",{class:J(["flex-shrink-0 w-9 h-9 rounded-full flex items-center justify-center","out"===t.dir?"bg-blue-50 text-blue-600":"bg-green-50 text-green-600"])},[(Yo(),ni("svg",nM,["out"===t.dir?(Yo(),ni(Go,{key:0},[e[6]||(e[6]=li("line",{x1:"7",y1:"17",x2:"17",y2:"7"},null,-1)),e[7]||(e[7]=li("polyline",{points:"8 7 17 7 17 16"},null,-1))],64)):(Yo(),ni(Go,{key:1},[e[8]||(e[8]=li("line",{x1:"17",y1:"7",x2:"7",y2:"17"},null,-1)),e[9]||(e[9]=li("polyline",{points:"16 17 7 17 7 8"},null,-1))],64))]))],2),li("div",rM,[li("div",oM,rt(t.name||t.number||"—"),1),t.name&&t.number&&t.name!==t.number?(Yo(),ni("div",{key:0,class:"text-tiny text-gray-400 truncate"},rt(t.number),1)):fi("",!0),li("div",iM,[t.source?(Yo(),ni(Go,{key:0},[hi(rt(t.source),1),li("span",aM," · ")],64)):fi("",!0),hi(rt(t.dateText),1),t.dateText&&t.timeRange?(Yo(),ni("span",aM," · ")):fi("",!0),hi(rt(t.timeRange),1)]),li("div",{class:J(["text-tiny flex items-center gap-1",t.answered?"text-gray-400":"text-red-500 font-medium"])},[hi(rt(t.answeredLabel),1),t.durationText?(Yo(),ni("span",{key:0}," · "+t.durationText,1)):t.ringText?(Yo(),ni("span",{key:1}," · tocou "+t.ringText,1)):fi("",!0),t.transferredToName?(Yo(),ni("span",{key:2,style:{color:"#f97316"}}," · → "+t.transferredToName,1)):fi("",!0)])]),li("span",{class:"flex-shrink-0 w-7 h-7 rounded-full bg-green-100 text-green-600 flex items-center justify-center",title:o.i18n.getMessage("webphoneCallMake")},[...e[10]||(e[10]=[li("svg",{xmlns:"http://www.w3.org/2000/svg",class:"w-3.5 h-3.5",viewBox:"0 0 20 20",fill:"currentColor"},[li("path",{d:"M2 3a1 1 0 011-1h2.153a1 1 0 01.986.836l.74 4.435a1 1 0 01-.54 1.06l-1.548.773a11.037 11.037 0 006.105\n 6.105l.774-1.548a1 1 0 011.059-.54l4.435.74a1 1 0 01.836.986V17a1 1 0 01-1 1h-2C7.82 18 2 12.18 2 5V3z"})],-1)])],8,sM),t.dealUrl?(Yo(),ni("span",{key:2,class:"flex-shrink-0 w-6 h-6 rounded-full bg-blue-50 text-blue-500 flex items-center justify-center ml-1",title:o.i18n.getMessage("recentsOpenDeal")||"Abrir negócio",onClick:Ms(e=>window.open(t.dealUrl,"_blank"),["stop"])},[li("svg",{xmlns:"http://www.w3.org/2000/svg",class:"w-3 h-3",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2.4","stroke-linecap":"round","stroke-linejoin":"round"},[li("path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"}),li("polyline",{points:"15 3 21 3 21 9"}),li("line",{x1:"10",y1:"14",x2:"21",y2:"3"})])])):fi("",!0)],8,eM))),128))]))),128))]),li("div",lM,[li("a",{href:o.portalHistoryUrl,target:"_blank",rel:"noopener",class:"inline-flex items-center gap-1 text-tiny font-semibold text-blue-600 hover:text-blue-700 no-underline"},[hi(rt(o.i18n.getMessage("historyPortalLink"))+" ",1),e[11]||(e[11]=li("svg",{xmlns:"http://www.w3.org/2000/svg",class:"w-3 h-3",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2.4","stroke-linecap":"round","stroke-linejoin":"round"},[li("line",{x1:"5",y1:"12",x2:"19",y2:"12"}),li("polyline",{points:"12 5 19 12 12 19"})],-1))],8,dM)])])}var uM={version:4,country_calling_codes:{1:["US","AG","AI","AS","BB","BM","BS","CA","DM","DO","GD","GU","JM","KN","KY","LC","MP","MS","PR","SX","TC","TT","VC","VG","VI"],7:["RU","KZ"],20:["EG"],27:["ZA"],30:["GR"],31:["NL"],32:["BE"],33:["FR"],34:["ES"],36:["HU"],39:["IT","VA"],40:["RO"],41:["CH"],43:["AT"],44:["GB","GG","IM","JE"],45:["DK"],46:["SE"],47:["NO","SJ"],48:["PL"],49:["DE"],51:["PE"],52:["MX"],53:["CU"],54:["AR"],55:["BR"],56:["CL"],57:["CO"],58:["VE"],60:["MY"],61:["AU","CC","CX"],62:["ID"],63:["PH"],64:["NZ"],65:["SG"],66:["TH"],81:["JP"],82:["KR"],84:["VN"],86:["CN"],90:["TR"],91:["IN"],92:["PK"],93:["AF"],94:["LK"],95:["MM"],98:["IR"],211:["SS"],212:["MA","EH"],213:["DZ"],216:["TN"],218:["LY"],220:["GM"],221:["SN"],222:["MR"],223:["ML"],224:["GN"],225:["CI"],226:["BF"],227:["NE"],228:["TG"],229:["BJ"],230:["MU"],231:["LR"],232:["SL"],233:["GH"],234:["NG"],235:["TD"],236:["CF"],237:["CM"],238:["CV"],239:["ST"],240:["GQ"],241:["GA"],242:["CG"],243:["CD"],244:["AO"],245:["GW"],246:["IO"],247:["AC"],248:["SC"],249:["SD"],250:["RW"],251:["ET"],252:["SO"],253:["DJ"],254:["KE"],255:["TZ"],256:["UG"],257:["BI"],258:["MZ"],260:["ZM"],261:["MG"],262:["RE","YT"],263:["ZW"],264:["NA"],265:["MW"],266:["LS"],267:["BW"],268:["SZ"],269:["KM"],290:["SH","TA"],291:["ER"],297:["AW"],298:["FO"],299:["GL"],350:["GI"],351:["PT"],352:["LU"],353:["IE"],354:["IS"],355:["AL"],356:["MT"],357:["CY"],358:["FI","AX"],359:["BG"],370:["LT"],371:["LV"],372:["EE"],373:["MD"],374:["AM"],375:["BY"],376:["AD"],377:["MC"],378:["SM"],380:["UA"],381:["RS"],382:["ME"],383:["XK"],385:["HR"],386:["SI"],387:["BA"],389:["MK"],420:["CZ"],421:["SK"],423:["LI"],500:["FK"],501:["BZ"],502:["GT"],503:["SV"],504:["HN"],505:["NI"],506:["CR"],507:["PA"],508:["PM"],509:["HT"],590:["GP","BL","MF"],591:["BO"],592:["GY"],593:["EC"],594:["GF"],595:["PY"],596:["MQ"],597:["SR"],598:["UY"],599:["CW","BQ"],670:["TL"],672:["NF"],673:["BN"],674:["NR"],675:["PG"],676:["TO"],677:["SB"],678:["VU"],679:["FJ"],680:["PW"],681:["WF"],682:["CK"],683:["NU"],685:["WS"],686:["KI"],687:["NC"],688:["TV"],689:["PF"],690:["TK"],691:["FM"],692:["MH"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],880:["BD"],886:["TW"],960:["MV"],961:["LB"],962:["JO"],963:["SY"],964:["IQ"],965:["KW"],966:["SA"],967:["YE"],968:["OM"],970:["PS"],971:["AE"],972:["IL"],973:["BH"],974:["QA"],975:["BT"],976:["MN"],977:["NP"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]},countries:{AC:["247","00","(?:[01589]\\d|[46])\\d{4}",[5,6],0,0,0,0,0,0,0,[["6[2-467]\\d{3}",[5]],["4\\d{4}",[5]],0,0,0,0,["(?:0[1-9]|[1589]\\d)\\d{4}",[6]]]],AD:["376","00","(?:1|6\\d)\\d{7}|[135-9]\\d{5}",[6,8,9],[["(\\d{3})(\\d{3})","$1 $2",["[135-9]"]],["(\\d{4})(\\d{4})","$1 $2",["1"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],0,0,0,0,0,0,[["[78]\\d{5}",[6]],["690\\d{6}|[356]\\d{5}",[6,9]],["180[02]\\d{4}",[8]],["[19]\\d{5}",[6]]]],AE:["971","00","(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}",[5,6,7,8,9,10,11,12],[["(\\d{3})(\\d{2,9})","$1 $2",["60|8"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[236]|[479][2-8]"],"0$1"],["(\\d{3})(\\d)(\\d{5})","$1 $2 $3",["[479]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"]],"0",0,0,0,0,0,[["[2-4679][2-8]\\d{6}",[8]],["5[02-68]\\d{7}",[9]],["400\\d{6}|800\\d{2,9}"],["900[02]\\d{5}",[9]],0,0,["600[25]\\d{5}",[9]],0,0,["700[05]\\d{5}",[9]]]],AF:["93","00","[2-7]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],"0",0,0,0,0,0,[["(?:[25][0-8]|[34][0-4]|6[0-5])[2-9]\\d{6}"],["7\\d{8}"]]],AG:["1","011","(?:268|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([457]\\d{6})$|1","268$1",0,"268",[["268(?:4(?:6[0-38]|84)|56[0-2])\\d{4}"],["268(?:464|7(?:1[3-9]|[28]\\d|3[0246]|64|7[0-689]))\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"],0,0,["26840[69]\\d{4}"],["26848[01]\\d{4}"]]],AI:["1","011","(?:264|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2457]\\d{6})$|1","264$1",0,"264",[["264(?:292|4(?:6[12]|9[78]))\\d{4}"],["264(?:235|4(?:69|7[67])|5(?:3[6-9]|8[1-4])|7(?:29|72))\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"],0,0,["264724\\d{4}"]]],AL:["355","00","(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}",[6,7,8,9],[["(\\d{3})(\\d{3,4})","$1 $2",["80|9"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["4[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2358][2-5]|4"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["[23578]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["6"],"0$1"]],"0",0,0,0,0,0,[["4505[0-2]\\d{3}|(?:[2358][16-9]\\d[2-9]|4410)\\d{4}|(?:[2358][2-5][2-9]|4(?:[2-57-9][2-9]|6\\d))\\d{5}",[8]],["6(?:[78][2-9]|9\\d)\\d{6}",[9]],["800\\d{4}",[7]],["900[1-9]\\d\\d",[6]],["700[2-9]\\d{4}",[8]],0,0,0,0,["808[1-9]\\d\\d",[6]]]],AM:["374","00","(?:[1-489]\\d|55|60|77)\\d{6}",[8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[89]0"],"0 $1"],["(\\d{3})(\\d{5})","$1 $2",["2|3[12]"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["1|47"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[3-9]"],"0$1"]],"0",0,0,0,0,0,[["(?:(?:1[0-25]|47)\\d|2(?:2[2-46]|3[1-8]|4[2-69]|5[2-7]|6[1-9]|8[1-7])|3[12]2)\\d{5}"],["(?:33|4[1349]|55|77|88|9[13-9])\\d{6}"],["800\\d{5}"],["90[016]\\d{5}"],0,0,0,0,["60(?:2[78]|3[5-9]|4[02-9]|5[0-46-9]|[6-8]\\d|9[0-2])\\d{4}"],["80[1-4]\\d{5}"]]],AO:["244","00","[29]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[29]"]]],0,0,0,0,0,0,[["2\\d(?:[0134][25-9]|[25-9]\\d)\\d{5}"],["9[1-79]\\d{7}"]]],AR:["54","00","(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}",[10,11],[["(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",1],["(\\d)(\\d{4})(\\d{2})(\\d{4})","$2 15-$3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",0,"$1 $2 $3-$4"],["(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 15-$3-$4",["91"],"0$1",0,"$1 $2 $3-$4"],["(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9"],"0$1",0,"$1 $2 $3-$4"]],"0",0,"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?","9$1",0,0,[["3(?:7(?:1[15]|81)|8(?:21|4[16]|69|9[12]))[46]\\d{5}|(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|47[35]|9(?:[07]2|2[26]|34|46))|3327)[45]\\d{5}|(?:2(?:657|9(?:54|66))|3(?:48[27]|7(?:55|77)|8(?:65|78)))[2-8]\\d{5}|(?:2(?:284|3(?:02|23)|477|622|920)|3(?:4(?:46|89|92)|541))[2-7]\\d{5}|(?:(?:11[1-8]|670)\\d|2(?:2(?:0[45]|1[2-6]|3[3-6])|3(?:[06]4|7[45])|494|6(?:04|1[2-8]|[36][45]|4[3-6])|80[45]|9(?:[17][4-6]|[48][45]|9[3-6]))|3(?:364|4(?:1[2-8]|[25][4-6]|3[3-6]|84)|5(?:1[2-9]|[38][4-6])|6(?:2[45]|44)|7[069][45]|8(?:0[45]|1[2-7]|3[4-6]|5[3-6]|7[2-6]|8[3-68])))\\d{6}|(?:2(?:2(?:62|81)|320|9(?:42|83))|3(?:329|4(?:62|7[16])|5(?:43|64)|7(?:18|5[17])))[2-6]\\d{5}|2(?:2(?:21|4[23]|6[145]|7[1-4]|8[356]|9[267])|3(?:16|3[13-8]|43|5[346-8]|9[3-5])|6(?:2[46]|4[78]|5[1568])|9(?:03|2[1457-9]|3[1356]|4[08]|[56][23]|82))4\\d{5}|(?:2(?:257|3(?:24|46|92)|9(?:01|23|64))|3(?:4(?:42|64)|5(?:25|37|4[47]|71)|7(?:35|72)|825))[3-6]\\d{5}|(?:2(?:2(?:02|2[3467]|4[156]|5[45]|6[6-8]|91)|3(?:1[47]|25|[45][25]|96)|47[48]|625|932)|3(?:38[2578]|4(?:0[0-24-9]|3[78]|4[457]|58|6[035-9]|72|83|9[136-8])|5(?:2[124]|[368][23]|4[2689]|7[2-6])|7(?:16|2[15]|3[14]|4[13]|5[468]|7[3-5]|8[26])|8(?:2[67]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]\\d{5}",[10]],["93(?:7(?:1[15]|81)|8(?:21|4[16]|69|9[12]))[46]\\d{5}|9(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|47[35]|9(?:[07]2|2[26]|34|46))|3327)[45]\\d{5}|9(?:2(?:657|9(?:54|66))|3(?:48[27]|7(?:55|77)|8(?:65|78)))[2-8]\\d{5}|9(?:2(?:284|3(?:02|23)|477|622|920)|3(?:4(?:46|89|92)|541))[2-7]\\d{5}|(?:675\\d|9(?:11[1-8]\\d|2(?:2(?:0[45]|1[2-6]|3[3-6])|3(?:[06]4|7[45])|494|6(?:04|1[2-8]|[36][45]|4[3-6])|80[45]|9(?:[17][4-6]|[48][45]|9[3-6]))|3(?:364|4(?:1[2-8]|[25][4-6]|3[3-6]|84)|5(?:1[2-9]|[38][4-6])|6(?:2[45]|44)|7[069][45]|8(?:0[45]|1[2-7]|3[4-6]|5[3-6]|7[2-6]|8[3-68]))))\\d{6}|9(?:2(?:2(?:62|81)|320|9(?:42|83))|3(?:329|4(?:62|7[16])|5(?:43|64)|7(?:18|5[17])))[2-6]\\d{5}|92(?:2(?:21|4[23]|6[145]|7[1-4]|8[356]|9[267])|3(?:16|3[13-8]|43|5[346-8]|9[3-5])|6(?:2[46]|4[78]|5[1568])|9(?:03|2[1457-9]|3[1356]|4[08]|[56][23]|82))4\\d{5}|9(?:2(?:257|3(?:24|46|92)|9(?:01|23|64))|3(?:4(?:42|64)|5(?:25|37|4[47]|71)|7(?:35|72)|825))[3-6]\\d{5}|9(?:2(?:2(?:02|2[3467]|4[156]|5[45]|6[6-8]|91)|3(?:1[47]|25|[45][25]|96)|47[48]|625|932)|3(?:38[2578]|4(?:0[0-24-9]|3[78]|4[457]|58|6[035-9]|72|83|9[136-8])|5(?:2[124]|[368][23]|4[2689]|7[2-6])|7(?:16|2[15]|3[14]|4[13]|5[468]|7[3-5]|8[26])|8(?:2[67]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]\\d{5}"],["800\\d{7,8}"],["60[04579]\\d{7}",[10]],0,0,["810\\d{7}",[10]]]],AS:["1","011","(?:[58]\\d\\d|684|900)\\d{7}",[10],0,"1",0,"([267]\\d{6})$|1","684$1",0,"684",[["684(?:274|6(?:22|33|44|55|77|88|9[19]))\\d{4}"],["684(?:2(?:48|5[2468]|7[246])|7(?:3[13]|70|82))\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],AT:["43","00","1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}",[4,5,6,7,8,9,10,11,12,13],[["(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],["(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],["(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:48|5[0-3579]|[6-9])|7(?:20|32|8)|[89]","(?:31|4)6|51|6(?:485|5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],["(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],"0",0,0,0,0,0,[["1(?:11\\d|[2-9]\\d{3,11})|(?:316|463)\\d{3,10}|648[34]\\d{3,9}|(?:51|66|73)2\\d{3,10}|(?:2(?:1[467]|2[13-8]|5[2357]|6[1-46-8]|7[1-8]|8[124-7]|9[1458])|3(?:1[1-578]|3[23568]|4[5-7]|5[1378]|6[1-38]|8[3-68])|4(?:2[1-8]|35|7[1368]|8[2457])|5(?:2[1-8]|3[357]|4[147]|5[12578]|6[37])|6(?:13|2[1-47]|4[135-7]|5[468])|7(?:2[1-8]|35|4[13478]|5[68]|6[16-8]|7[1-6]|9[45]))\\d{4,10}"],["6(?:485|(?:5[0-3579]|6[013-9]|[7-9]\\d)\\d)\\d{3,9}",[7,8,9,10,11,12,13]],["800\\d{6,10}",[9,10,11,12,13]],["(?:8[69][2-68]|9(?:0[01]|3[019]))\\d{6,10}",[9,10,11,12,13]],0,0,0,0,["5(?:0[1-9]|17|[79]\\d)\\d{2,10}|7[28]0\\d{6,10}",[5,6,7,8,9,10,11,12,13]],["8(?:10|2[018])\\d{6,10}|828\\d{5}",[8,9,10,11,12,13]]]],AU:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}",[5,6,7,8,9,10,12],[["(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]]],"0",0,"(183[12])|0",0,0,0,[["(?:(?:241|349)0\\d\\d|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4])|[34]\\d\\d)|91(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79]))))\\d{3}|(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|3(?:[0-3589]\\d|4[0-578]|6[1-9]|7[0-35-9])|7(?:[013-57-9]\\d|2[0-8])|8(?:55|6[0-8]|[78]\\d|9[02-9]))\\d{6}",[9]],["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,["163\\d{2,6}",[5,6,7,8,9]],["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],AW:["297","00","(?:[25-79]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[25-9]"]]],0,0,0,0,0,0,[["5(?:2\\d|8[1-9])\\d{4}"],["(?:290|5[69]\\d|6(?:[03]0|22|4[0-2]|[69]\\d)|7(?:[34]\\d|7[07])|9(?:6[45]|9[4-8]))\\d{4}"],["800\\d{4}"],["900\\d{4}"],0,0,0,0,["(?:28\\d|501)\\d{4}"]]],AX:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}",[5,6,7,8,9,10,11,12],0,"0",0,0,0,0,"18",[["18[1-8]\\d{3,6}",[6,7,8,9]],["4946\\d{2,6}|(?:4[0-8]|50)\\d{4,8}",[6,7,8,9,10]],["800\\d{4,6}",[7,8,9]],["[67]00\\d{5,6}",[8,9]],0,0,["20\\d{4,8}|60[12]\\d{5,6}|7(?:099\\d{4,5}|5[03-9]\\d{3,7})|20[2-59]\\d\\d|(?:606|7(?:0[78]|1|3\\d))\\d{7}|(?:10|29|3[09]|70[1-5]\\d)\\d{4,8}"]],"00"],AZ:["994","00","365\\d{6}|(?:[124579]\\d|60|88)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365[45]|46","1[28]|2|365(?:4|5[02])|46"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],"0",0,0,0,0,0,[["(?:2[12]428|3655[02])\\d{4}|(?:2(?:22[0-79]|63[0-28])|3654)\\d{5}|(?:(?:1[28]|46)\\d|2(?:[014-6]2|[23]3))\\d{6}"],["36554\\d{4}|(?:[16]0|4[04]|5[015]|7[07]|99)\\d{7}"],["88\\d{7}"],["900200\\d{3}"]]],BA:["387","00","6\\d{8}|(?:[35689]\\d|49|70)\\d{6}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],"0",0,0,0,0,0,[["(?:3(?:[05-79][2-9]|1[4579]|[23][24-9]|4[2-4689]|8[2457-9])|49[2-579]|5(?:0[2-49]|[13][2-9]|[268][2-4679]|4[4689]|5[2-79]|7[2-69]|9[2-4689]))\\d{5}",[8]],["6040\\d{5}|6(?:03|[1-356]|44|7\\d)\\d{6}"],["8[08]\\d{6}",[8]],["9[0246]\\d{6}",[8]],0,0,["703[235]0\\d{3}|70(?:2[0-5]|3[0146]|[56]0)\\d{4}",[8]],0,0,["8[12]\\d{6}",[8]]]],BB:["1","011","(?:246|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","246$1",0,"246",[["246521[0369]\\d{3}|246(?:2(?:2[78]|7[0-4])|4(?:1[024-6]|2\\d|3[2-9])|5(?:20|[34]\\d|54|7[1-3])|6(?:2\\d|38)|7[35]7|9(?:1[89]|63))\\d{4}"],["246(?:(?:2(?:[3568]\\d|4[0-57-9])|3(?:5[2-9]|6[0-6])|4(?:46|5\\d)|69[5-7]|8(?:[2-5]\\d|83))\\d|52(?:1[147]|20))\\d{3}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["(?:246976|900[2-9]\\d\\d)\\d{4}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"],0,["246(?:292|367|4(?:1[7-9]|3[01]|4[47-9]|67)|7(?:1[2-9]|2\\d|3[016]|53))\\d{4}"],0,["24631\\d{5}"]]],BD:["880","00","[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}",[6,7,8,9,10],[["(\\d{2})(\\d{4,6})","$1-$2",["31[5-8]|[459]1"],"0$1"],["(\\d{3})(\\d{3,7})","$1-$2",["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"],"0$1"],["(\\d{4})(\\d{3,6})","$1-$2",["[13-9]|2[23]"],"0$1"],["(\\d)(\\d{7,8})","$1-$2",["2"],"0$1"]],"0",0,0,0,0,0,[["(?:4(?:31\\d\\d|423)|5222)\\d{3}(?:\\d{2})?|8332[6-9]\\d\\d|(?:3(?:03[56]|224)|4(?:22[25]|653))\\d{3,4}|(?:3(?:42[47]|529|823)|4(?:027|525|65(?:28|8))|562|6257|7(?:1(?:5[3-5]|6[12]|7[156]|89)|22[589]56|32|42675|52(?:[25689](?:56|8)|[347]8)|71(?:6[1267]|75|89)|92374)|82(?:2[59]|32)56|9(?:03[23]56|23(?:256|373)|31|5(?:1|2[4589]56)))\\d{3}|(?:3(?:02[348]|22[35]|324|422)|4(?:22[67]|32[236-9]|6(?:2[46]|5[57])|953)|5526|6(?:024|6655)|81)\\d{4,5}|(?:2(?:7(?:1[0-267]|2[0-289]|3[0-29]|4[01]|5[1-3]|6[013]|7[0178]|91)|8(?:0[125]|1[1-6]|2[0157-9]|3[1-69]|41|6[1-35]|7[1-5]|8[1-8]|9[0-6])|9(?:0[0-2]|1[0-4]|2[568]|3[3-6]|5[5-7]|6[0136-9]|7[0-7]|8[014-9]))|3(?:0(?:2[025-79]|3[2-4])|181|22[12]|32[2356]|824)|4(?:02[09]|22[348]|32[045]|523|6(?:27|54))|666(?:22|53)|7(?:22[57-9]|42[56]|82[35])8|8(?:0[124-9]|2(?:181|2[02-4679]8)|4[12]|[5-7]2)|9(?:[04]2|2(?:2|328)|81))\\d{4}|(?:2(?:[23]\\d|[45])\\d\\d|3(?:1(?:2[5-7]|[5-7])|425|822)|4(?:033|1\\d|[257]1|332|4(?:2[246]|5[25])|6(?:2[35]|56|62)|8(?:23|54)|92[2-5])|5(?:02[03489]|22[457]|32[35-79]|42[46]|6(?:[18]|53)|724|826)|6(?:023|2(?:2[2-5]|5[3-5]|8)|32[3478]|42[34]|52[47]|6(?:[18]|6(?:2[34]|5[24]))|[78]2[2-5]|92[2-6])|7(?:02|21\\d|[3-589]1|6[12]|72[24])|8(?:217|3[12]|[5-7]1)|9[24]1)\\d{5}|(?:(?:3[2-8]|5[2-57-9]|6[03-589])1|4[4689][18])\\d{5}|[59]1\\d{5}"],["(?:1[13-9]\\d|644)\\d{7}|(?:3[78]|44|66)[02-9]\\d{7}",[10]],["80[03]\\d{7}",[10]],0,0,0,0,0,["96(?:0[469]|1[0-47]|3[389]|43|6[69]|7[78])\\d{6}",[10]]]],BE:["32","00","4\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:80|9)0"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[239]|4[23]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[15-8]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4"],"0$1"]],"0",0,0,0,0,0,[["80[2-8]\\d{5}|(?:1[0-69]|[23][2-8]|4[23]|5\\d|6[013-57-9]|71|8[1-79]|9[2-4])\\d{6}",[8]],["4[5-9]\\d{7}",[9]],["800[1-9]\\d{4}",[8]],["(?:70(?:2[0-57]|3[04-7]|44|6[04-69]|7[0579])|90\\d\\d)\\d{4}",[8]],0,0,["78(?:0[578]|1[014-8]|2[25]|3[15-8]|48|5[05]|60|7[06-8]|9\\d)\\d{4}",[8]],0,0,["7879\\d{4}",[8]]]],BF:["226","00","[024-7]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[024-7]"]]],0,0,0,0,0,0,[["2(?:0(?:49|5[23]|6[5-7]|9[016-9])|4(?:4[569]|5[4-6]|6[5-7]|7[0179])|5(?:[34]\\d|50|6[5-7]))\\d{4}"],["(?:0[1-7]|4[4-6]|5[0-8]|[67]\\d)\\d{6}"]]],BG:["359","00","00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}",[6,7,8,9,12],[["(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],["(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],"0",0,0,0,0,0,[["2\\d{5,7}|(?:43[1-6]|70[1-9])\\d{4,5}|(?:[36]\\d|4[124-7]|[57][1-9]|8[1-6]|9[1-7])\\d{5,6}",[6,7,8]],["(?:43[07-9]|99[69]\\d)\\d{5}|(?:8[7-9]|98)\\d{7}",[8,9]],["(?:00800\\d\\d|800)\\d{5}",[8,12]],["90\\d{6}",[8]],0,0,0,0,0,["700\\d{5}",[8]]]],BH:["973","00","[136-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[13679]|8[02-4679]"]]],0,0,0,0,0,0,[["(?:1(?:3[1356]|6[0156]|7\\d)\\d|6(?:1[16]\\d|500|6(?:0\\d|3[12]|44|55|7[7-9]|88)|9[69][69])|7(?:[07]\\d\\d|1(?:11|78)))\\d{4}"],["(?:3(?:[0-79]\\d|8[0-57-9])\\d|6(?:3(?:00|33|6[16])|441|6(?:3[03-9]|[69]\\d|7[0-689])))\\d{4}"],["8[02369]\\d{6}"],["(?:87|9[0-8])\\d{6}"],0,0,0,0,0,["84\\d{6}"]]],BI:["257","00","(?:[267]\\d|31)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2367]"]]],0,0,0,0,0,0,[["(?:22|31)\\d{6}"],["(?:29|6[1-9]|7[125-9])\\d{6}"]]],BJ:["229","00","(?:01\\d|8)\\d{7}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["0"]]],0,0,0,0,0,0,[["012\\d{7}",[10]],["01(?:2[5-9]|[4-69]\\d)\\d{6}",[10]],0,0,0,0,["81\\d{6}",[8]],0,["857[58]\\d{4}",[8]]]],BL:["590","00","7090\\d{5}|(?:[56]9|[89]\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["(?:59(?:0(?:2[7-9]|3[3-7]|5[12]|87)|87\\d)|80[6-9]\\d\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],["8[129]\\d{7}"],0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],BM:["1","011","(?:441|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","441$1",0,"441",[["441(?:[46]\\d\\d|5(?:4\\d|60|89))\\d{4}"],["441(?:[2378]\\d|5[0-39]|9[02])\\d{5}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],BN:["673","00","[2-578]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-578]"]]],0,0,0,0,0,0,[["22[0-7]\\d{4}|(?:2[013-9]|[34]\\d|5[0-25-9])\\d{5}"],["(?:22[89]|[78]\\d\\d)\\d{4}"],0,0,0,0,0,0,["5[34]\\d{5}"]]],BO:["591","00(?:1\\d)?","(?:[2-7]\\d\\d|8001)\\d{5}",[8,9],[["(\\d)(\\d{7})","$1 $2",["[23]|4[46]|50"]],["(\\d{8})","$1",["[5-7]"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["8"]]],"0",0,"0(1\\d)?",0,0,0,[["(?:2(?:2\\d\\d|5(?:11|[258]\\d|9[67])|6(?:12|2\\d|9[34])|8(?:2[34]|39|62))|3(?:3\\d\\d|4(?:6\\d|8[24])|8(?:25|42|5[257]|86|9[25])|9(?:[27]\\d|3[2-4]|4[248]|5[24]|6[2-6]))|4(?:4\\d\\d|6(?:11|[24689]\\d|72)))\\d{4}",[8]],["(?:57|[67]\\d)\\d{6}",[8]],["8001[07]\\d{4}",[9]],0,0,0,0,0,["50\\d{6}",[8]]]],BQ:["599","00","(?:[34]1|7\\d)\\d{5}",[7],0,0,0,0,0,0,"[347]",[["(?:318[023]|41(?:6[023]|70)|7(?:1[578]|2[05]|50)\\d)\\d{3}"],["(?:31(?:8[14-8]|9[14578])|416[14-9]|7(?:0[01]|7[07]|8\\d|9[056])\\d)\\d{3}"]]],BR:["55","00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)","[1-467]\\d{9,10}|55[0-46-9]\\d{8}|[34]\\d{7}|55\\d{7,8}|(?:5[0-46-9]|[89]\\d)\\d{7,9}",[8,9,10,11],[["(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37|86)","300|4(?:0(?:0|20)|370|864)"]],["(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)"],["(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)"]],"0",0,"(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2",0,0,[["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-5]\\d{7}",[10]],["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])(?:7|9\\d)\\d{7}",[10,11]],["800\\d{6,7}",[9,10]],["[59]00\\d{6,7}",[9,10]],0,0,0,0,0,["(?:30[03]\\d{3}|4(?:0(?:0\\d|20)|370|864))\\d{4}|300\\d{5}",[8,10]]]],BS:["1","011","(?:242|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([3-8]\\d{6})$|1","242$1",0,"242",[["242(?:3(?:02|[236][1-9]|4[0-24-9]|5[0-68]|7[347]|8[0-4]|9[2-467])|461|502|6(?:0[1-5]|12|2[013]|[45]0|7[67]|8[78]|9[89])|7(?:02|88))\\d{4}"],["242(?:3(?:5[79]|7[56]|95)|4(?:[23][1-9]|4[1-35-9]|5[1-8]|6[2-8]|7\\d|81)|5(?:2[45]|3[35]|44|5[1-46-9]|65|77)|6[34]6|7(?:27|38)|8(?:0[1-9]|1[02-9]|2\\d|3[0-4]|[89]9))\\d{4}"],["242300\\d{4}|8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"],0,["242225\\d{4}"]]],BT:["975","00","[178]\\d{7}|[2-8]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-6]|7[246]|8[2-4]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|[78]"]]],0,0,0,0,0,0,[["(?:2[3-6]|[34][5-7]|5[236]|6[2-46]|7[246]|8[2-4])\\d{5}",[7]],["(?:1[67]|[78]7)\\d{6}",[8]]]],BW:["267","00","(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}",[7,8,10],[["(\\d{2})(\\d{5})","$1 $2",["90"]],["(\\d{3})(\\d{4})","$1 $2",["[24-6]|3[15-9]"]],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37]"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["8"]]],0,0,0,0,0,0,[["(?:2(?:4[0-48]|6[0-24]|9[0578])|3(?:1[0-35-9]|55|[69]\\d|7[013]|81)|4(?:6[03]|7[1267]|9[0-5])|5(?:3[03489]|4[0489]|7[1-47]|88|9[0-49])|6(?:2[1-35]|5[149]|8[013467]))\\d{4}",[7]],["(?:321|7(?:[1-8]\\d|9[03]))\\d{5}",[8]],["(?:0800|800\\d)\\d{6}",[10]],["90\\d{5}",[7]],0,0,0,0,["79(?:1(?:[0-2]\\d|3[0-8])|2[0-7]\\d)\\d{3}",[8]]]],BY:["375","810","(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3})","$1 $2",["800"],"8 $1"],["(\\d{3})(\\d{2})(\\d{2,4})","$1 $2 $3",["800"],"8 $1"],["(\\d{4})(\\d{2})(\\d{3})","$1 $2-$3",["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])","1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"],"8 0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["1(?:[56]|7[467])|2[1-3]"],"8 0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-4]"],"8 0$1"],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["[89]"],"8 $1"]],"8",0,"0|80?",0,0,0,[["(?:1(?:5(?:1[1-5]|[24]\\d|6[2-4]|9[1-7])|6(?:[235]\\d|4[1-7])|7\\d\\d)|2(?:1(?:[246]\\d|3[0-35-9]|5[1-9])|2(?:[235]\\d|4[0-8])|3(?:[26]\\d|3[02-79]|4[024-7]|5[03-7])))\\d{5}",[9]],["(?:2(?:5[5-79]|9[1-9])|(?:33|44)\\d)\\d{6}",[9]],["800\\d{3,7}|8(?:0[13]|20\\d)\\d{7}"],["(?:810|902)\\d{7}",[10]],0,0,0,0,["249\\d{6}",[9]]],"8~10"],BZ:["501","00","(?:0800\\d|[2-8])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],["(\\d)(\\d{3})(\\d{4})(\\d{3})","$1-$2-$3-$4",["0"]]],0,0,0,0,0,0,[["(?:2(?:[02]\\d|36|[68]0)|[3-58](?:[02]\\d|[68]0)|7(?:[02]\\d|32|[68]0))\\d{4}",[7]],["6[0-35-7]\\d{5}",[7]],["0800\\d{7}",[11]]]],CA:["1","011","[2-9]\\d{9}|3\\d{6}",[7,10],0,"1",0,0,0,0,0,[["(?:2(?:04|[23]6|[48]9|5[07]|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|9(?:0[25]|42))[2-9]\\d{6}",[10]],["",[10]],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",[10]],["900[2-9]\\d{6}",[10]],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:2[125-9]|3[23]|44|66|77|88)|6(?:22|33))[2-9]\\d{6}",[10]],0,["310\\d{4}",[7]],0,["600[2-9]\\d{6}",[10]]]],CC:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}",[9]],["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CD:["243","00","(?:(?:[189]|5\\d)\\d|2)\\d{7}|[1-68]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[1-6]"],"0$1"],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["5"],"0$1"]],"0",0,0,0,0,0,[["(?:(?:12|573)\\d\\d|276)\\d{5}|[1-6]\\d{6}"],["88\\d{5}|(?:8[0-69]|9[016-9])\\d{7}",[7,9]]]],CF:["236","00","8776\\d{4}|(?:[27]\\d|61)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-8]"]]],0,0,0,0,0,0,[["(?:2[12]|61)\\d{6}"],["7[02-7]\\d{6}"],0,["8776\\d{4}"]]],CG:["242","00","222\\d{6}|(?:0\\d|80)\\d{7}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02]"]]],0,0,0,0,0,0,[["222[1-589]\\d{5}"],["026(?:1[0-5]|6[6-9])\\d{4}|0(?:[14-6]\\d\\d|2(?:40|5[5-8]|6[07-9]))\\d{5}"],0,["80[0-2]\\d{6}"]]],CH:["41","00","8\\d{11}|[2-9]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8[047]|90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]|81"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["8"],"0$1"]],"0",0,0,0,0,0,[["(?:2[12467]|3[1-4]|4[134]|5[256]|6[12]|[7-9]1)\\d{7}",[9]],["(?:6[89]|7[235-9])\\d{7}",[9]],["800\\d{6}",[9]],["90[016]\\d{6}",[9]],["878\\d{6}",[9]],["860\\d{9}",[12]],["5[18]\\d{7}",[9]],["74[0248]\\d{6}",[9]],0,["84[0248]\\d{6}",[9]]]],CI:["225","00","[02]\\d{9}",[10],[["(\\d{2})(\\d{2})(\\d)(\\d{5})","$1 $2 $3 $4",["2"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3 $4",["0"]]],0,0,0,0,0,0,[["2(?:[15]\\d{3}|7(?:2(?:0[23]|1[2357]|2[245]|3[45]|4[3-5])|3(?:06|1[69]|[2-6]7)))\\d{5}"],["0[157]\\d{8}"]]],CK:["682","00","[2-578]\\d{4}",[5],[["(\\d{2})(\\d{3})","$1 $2",["[2-578]"]]],0,0,0,0,0,0,[["(?:2\\d|3[13-7]|4[1-5])\\d{3}"],["[578]\\d{4}"]]],CL:["56","(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0","12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}",[9,10,11],[["(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["60|809"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-36]"],"($1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9(?:10|[2-9])"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-8]|[1-9])"],"($1)"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]],0,0,0,0,0,0,[["2(?:1982[0-6]|3314[05-9])\\d{3}|(?:2(?:1(?:160|962)|3(?:(?:[24]\\d|50)\\d|3(?:[034679]\\d|1[0-35-9]|2[1-9]|5[0-24-9]|8[0-389])|600)|646[59])|(?:600|80[1-9])\\d\\d|9(?:(?:10[0-2]|7[1-9]\\d)\\d|3(?:[0-57-9]\\d\\d|6(?:0[02-9]|[1-9]\\d))|6(?:[0-8]\\d\\d|9(?:[02-79]\\d|1[05-9]))|9(?:[03-9]\\d\\d|1(?:[0235-9]\\d|4[0-24-9])|2(?:[0-79]\\d|8[0-46-9]))))\\d{4}|(?:22|3[2-5]|[47][1-35]|5[1-3578]|6[13-57]|8[1-9]|9[2458])\\d{7}",[9]],["2(?:1982[0-6]|3314[05-9])\\d{3}|(?:2(?:1(?:160|962)|3(?:(?:[24]\\d|50)\\d|3(?:[034679]\\d|1[0-35-9]|2[1-9]|5[0-24-9]|8[0-389])|600)|646[59])|80[1-8]\\d\\d|9(?:(?:10[0-2]|7[1-9]\\d)\\d|3(?:[0-57-9]\\d\\d|6(?:0[02-9]|[1-9]\\d))|6(?:[0-8]\\d\\d|9(?:[02-79]\\d|1[05-9]))|9(?:[03-9]\\d\\d|1(?:[0235-9]\\d|4[0-24-9])|2(?:[0-79]\\d|8[0-46-9]))))\\d{4}|(?:22|3[2-5]|[47][1-35]|5[1-3578]|6[13-57]|8[1-9]|9[2458])\\d{7}",[9]],["(?:123|8)00\\d{6}",[9,11]],0,0,0,0,0,["44\\d{7}",[9]],["600\\d{7,8}",[10,11]]]],CM:["237","00","[26]\\d{8}|88\\d{6,7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["88"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]|88"]]],0,0,0,0,0,0,[["2(?:22|33)\\d{6}",[9]],["(?:24[23]|6(?:[25-9]\\d|4[01]))\\d{6}",[9]],["88\\d{6,7}"]]],CN:["86","00|1(?:[12]\\d|79)\\d\\d00","(?:(?:1[03-689]|2\\d)\\d\\d|6)\\d{8}|1\\d{10}|[126]\\d{6}(?:\\d(?:\\d{2})?)?|86\\d{5,6}|(?:[3-579]\\d|8[0-57-9])\\d{5,9}",[7,8,9,10,11,12],[["(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]","(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123"],"0$1"],["(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1",1],["(\\d{3})(\\d{7,8})","$1 $2",["9"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",1]],"0",0,"(1(?:[12]\\d|79)\\d\\d)|0",0,0,0,[["(?:10(?:[02-79]\\d\\d|[18](?:0[1-9]|[1-9]\\d))|2(?:[02-57-9]\\d{3}|1(?:[18](?:0[1-9]|[1-9]\\d)|[2-79]\\d\\d))|(?:41[03]|8078|9(?:78|94))\\d\\d)\\d{5}|(?:10|2[0-57-9])(?:1(?:00|23)\\d\\d|95\\d{3,4})|(?:41[03]|9(?:78|94))(?:100\\d\\d|95\\d{3,4})|8078123|(?:43[35]|754|851)\\d{7,8}|(?:43[35]|754|851)(?:1(?:00\\d|23)\\d|95\\d{3,4})|(?:3(?:11|7[179])|4(?:[15]1|3[12])|5(?:1\\d|2[37]|3[12]|51|7[13-79]|9[15])|7(?:[39]1|5[57]|6[09])|8(?:71|98))(?:[02-8]\\d{7}|1(?:0(?:0\\d\\d(?:\\d{3})?|[1-9]\\d{5})|[13-9]\\d{6}|2(?:[0-24-9]\\d{5}|3\\d(?:\\d{4})?))|9(?:[0-46-9]\\d{6}|5\\d{3}(?:\\d(?:\\d{2})?)?))|(?:3(?:1[02-9]|35|49|5\\d|7[02-68]|9[1-68])|4(?:1[24-9]|2[179]|3[46-9]|5[2-9]|6[47-9]|7\\d|8[23])|5(?:3[03-9]|4[36]|5[02-9]|6[1-46]|7[028]|80|9[2-46-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[17]\\d|2[248]|3[04-9]|4[3-6]|5[0-3689]|6[2368]|9[02-9])|8(?:1[236-8]|2[5-7]|3\\d|5[2-9]|7[02-9]|8[36-8]|9[1-7])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))(?:[02-8]\\d{6}|1(?:0(?:0\\d\\d(?:\\d{2})?|[1-9]\\d{4})|[13-9]\\d{5}|2(?:[0-24-9]\\d{4}|3\\d(?:\\d{3})?))|9(?:[0-46-9]\\d{5}|5\\d{3,5}))",[7,8,9,10,11]],["1740[0-5]\\d{6}|1(?:[38]\\d|4[57]|[59][0-35-9]|6[25-7]|7[0-35-8])\\d{8}",[11]],["(?:(?:10|21)8|8)00\\d{7}",[10,12]],["16[08]\\d{5}",[8]],0,0,0,0,0,["10(?:10\\d{4}|96\\d{3,4})|400\\d{7}|950\\d{7,8}|(?:2[0-57-9]|3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))96\\d{3,4}",[7,8,9,10,11]]],"00"],CO:["57","00(?:4(?:[14]4|56)|[579])","(?:46|60\\d\\d)\\d{6}|(?:1\\d|[39])\\d{9}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["46"]],["(\\d{3})(\\d{7})","$1 $2",["6|90"],"($1)"],["(\\d{3})(\\d{7})","$1 $2",["3[0-357]|9[14]"]],["(\\d)(\\d{3})(\\d{7})","$1-$2-$3",["1"],"0$1",0,"$1 $2 $3"]],"0",0,"0([3579]|4(?:[14]4|56))?",0,0,0,[["601055(?:[0-4]\\d|50)\\d\\d|6010(?:[0-4]\\d|5[0-4])\\d{4}|(?:46|60(?:[18][1-9]|[24-7][2-9]))\\d{6}",[8,10]],["333301[0-5]\\d{3}|3333(?:00|2[5-9]|[3-9]\\d)\\d{4}|(?:3(?:(?:0[0-5]|1\\d|5[01]|70)\\d|2(?:[0-3]\\d|4[1-9])|3(?:00|3[0-24-9]))|9(?:101|408))\\d{6}",[10]],["1800\\d{7}",[11]],["(?:19(?:0[01]|4[78])|901)\\d{7}",[10,11]]]],CR:["506","00","(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}",[8,10],[["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[3-9]"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]"]]],0,0,"(19(?:0[0-2468]|1[09]|20|66|77|99))",0,0,0,[["210[7-9]\\d{4}|2(?:[024-7]\\d|1[1-9])\\d{5}",[8]],["(?:3005\\d|6500[01])\\d{3}|(?:5[07]|6[0-4]|7[0-3]|8[3-9])\\d{6}",[8]],["800\\d{7}",[10]],["90[059]\\d{7}",[10]],0,0,0,0,["(?:210[0-6]|4\\d{3}|5100)\\d{4}",[8]]]],CU:["53","119","(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}",[6,7,8,10],[["(\\d{2})(\\d{4,6})","$1 $2",["2[1-4]|[34]"],"(0$1)"],["(\\d)(\\d{6,7})","$1 $2",["7"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["[56]"],"0$1"],["(\\d{3})(\\d{7})","$1 $2",["8"],"0$1"]],"0",0,0,0,0,0,[["(?:3[23]|4[89])\\d{4,6}|(?:31|4[36]|8(?:0[25]|78)\\d)\\d{6}|(?:2[1-4]|4[1257]|7\\d)\\d{5,6}"],["(?:5\\d|6[2-4])\\d{6}",[8]],["800\\d{7}",[10]],0,0,0,0,0,0,["807\\d{7}",[10]]]],CV:["238","0","(?:[2-59]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2-589]"]]],0,0,0,0,0,0,[["2(?:2[1-7]|3[0-8]|4[12]|5[1256]|6\\d|7[1-3]|8[1-5])\\d{4}"],["(?:36|5[1-389]|9\\d)\\d{5}"],["800\\d{4}"],0,0,0,0,0,["(?:3[3-5]|4[356])\\d{5}"]]],CW:["599","00","(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[3467]"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["9[4-8]"]]],0,0,0,0,0,"[69]",[["9(?:4(?:3[0-5]|4[14]|6\\d)|50\\d|7(?:2[014]|3[02-9]|4[4-9]|6[357]|77|8[7-9])|8(?:3[39]|[46]\\d|7[01]|8[57-9]))\\d{4}"],["953[01]\\d{4}|9(?:5[12467]|6[5-9])\\d{5}"],0,0,0,0,0,["955\\d{5}",[8]],0,["60[0-2]\\d{4}",[7]]]],CX:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}",[9]],["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CY:["357","00","(?:[279]\\d|[58]0)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[257-9]"]]],0,0,0,0,0,0,[["2[2-6]\\d{6}"],["9(?:10|[4-79]\\d)\\d{5}"],["800\\d{5}"],["90[09]\\d{5}"],["700\\d{5}"],0,["(?:50|77)\\d{6}"],0,0,["80[1-9]\\d{5}"]]],CZ:["420","00","(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}",[9,10,11,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]|9[015-7]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["96"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],0,0,0,0,0,0,[["(?:2\\d|3[1257-9]|4[16-9]|5[13-9])\\d{7}",[9]],["7060\\d{5}|(?:60[1-8]|7(?:0[2-5]|19|[2379]\\d))\\d{6}",[9]],["800\\d{6}",[9]],["9(?:0[05689]|76)\\d{6}",[9]],["70[01]\\d{6}",[9]],["9(?:3\\d{9}|6\\d{7,10})"],["9(?:5\\d|7[2-4])\\d{6}",[9]],0,["9[17]0\\d{6}",[9]],["8[134]\\d{7}",[9]]]],DE:["49","00","[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}",[4,5,6,7,8,9,10,11,12,13,14,15],[["(\\d{2})(\\d{3,13})","$1 $2",["3[02]|40|[68]9"],"0$1"],["(\\d{3})(\\d{3,12})","$1 $2",["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1","2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"],"0$1"],["(\\d{4})(\\d{2,11})","$1 $2",["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]","[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["138"],"0$1"],["(\\d{5})(\\d{2,10})","$1 $2",["3"],"0$1"],["(\\d{3})(\\d{5,11})","$1 $2",["181"],"0$1"],["(\\d{3})(\\d)(\\d{4,10})","$1 $2 $3",["1(?:3|80)|9"],"0$1"],["(\\d{3})(\\d{7,8})","$1 $2",["1[67]"],"0$1"],["(\\d{3})(\\d{7,12})","$1 $2",["8"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["185","1850","18500"],"0$1"],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["18[68]"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["15[1279]"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["15[03568]","15(?:[0568]|3[13])"],"0$1"],["(\\d{3})(\\d{8})","$1 $2",["18"],"0$1"],["(\\d{3})(\\d{2})(\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"],"0$1"],["(\\d{4})(\\d{2})(\\d{7})","$1 $2 $3",["15[279]"],"0$1"],["(\\d{3})(\\d{2})(\\d{8})","$1 $2 $3",["15"],"0$1"]],"0",0,0,0,0,0,[["32\\d{9,11}|49[1-6]\\d{10}|322\\d{6}|49[0-7]\\d{3,9}|(?:[34]0|[68]9)\\d{3,13}|(?:2(?:0[1-689]|[1-3569]\\d|4[0-8]|7[1-7]|8[0-7])|3(?:[3569]\\d|4[0-79]|7[1-7]|8[1-8])|4(?:1[02-9]|[2-48]\\d|5[0-6]|6[0-8]|7[0-79])|5(?:0[2-8]|[124-6]\\d|[38][0-8]|[79][0-7])|6(?:0[02-9]|[1-358]\\d|[47][0-8]|6[1-9])|7(?:0[2-8]|1[1-9]|[27][0-7]|3\\d|[4-6][0-8]|8[0-5]|9[013-7])|8(?:0[2-9]|1[0-79]|2\\d|3[0-46-9]|4[0-6]|5[013-9]|6[1-8]|7[0-8]|8[0-24-6])|9(?:0[6-9]|[1-4]\\d|[589][0-7]|6[0-8]|7[0-467]))\\d{3,12}",[5,6,7,8,9,10,11,12,13,14,15]],["1(?:6[023]|7\\d)\\d{7,8}|15(?:[0-25-9]\\d\\d|3(?:10|33))\\d{6}",[10,11]],["800\\d{7,12}",[10,11,12,13,14,15]],["(?:137[7-9]|900(?:[135]|9\\d))\\d{6}",[10,11]],["700\\d{8}",[11]],["1(?:6(?:013|255|399)|7(?:(?:[015]1|[69]3)3|[2-4]55|[78]99))\\d{7,8}|15(?:(?:[03-68]00|113)\\d|2\\d55|7\\d99|9\\d33)\\d{7}",[12,13]],["18(?:1\\d{5,11}|[2-9]\\d{8})",[8,9,10,11,12,13,14]],["16(?:4\\d{1,10}|[89]\\d{1,11})",[4,5,6,7,8,9,10,11,12,13,14]],0,["180\\d{5,11}|13(?:7[1-6]\\d\\d|8)\\d{4}",[7,8,9,10,11,12,13,14]]]],DJ:["253","00","(?:2\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[27]"]]],0,0,0,0,0,0,[["2(?:1[2-5]|7[45])\\d{5}"],["77\\d{6}"]]],DK:["45","00","[2-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-9]"]]],0,0,0,0,0,0,[["(?:2(?:[0-59][1-9]|[6-8]\\d)|3(?:[0-3][1-9]|4[13]|5[1-58]|6[1347-9]|7\\d|8[1-8]|9[1-79])|4(?:[0-25][1-9]|[34][2-9]|6[13-579]|7[13579]|8[1-47]|9[127])|5(?:[0-36][1-9]|4[146-9]|5[3-57-9]|7[568]|8[1-358]|9[1-69])|6(?:[0135][1-9]|2[1-68]|4[2-8]|6[1689]|[78]\\d|9[15689])|7(?:[0-69][1-9]|7[3-9]|8[147])|8(?:[16-9][1-9]|2[1-58])|9(?:[1-47-9][1-9]|6\\d))\\d{5}"],["(?:2[6-8]|37|6[78]|96)\\d{6}|(?:2[0-59]|3[0-689]|[457]\\d|6[0-69]|8[126-9]|9[1-47-9])[1-9]\\d{5}"],["80\\d{6}"],["90\\d{6}"]]],DM:["1","011","(?:[58]\\d\\d|767|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","767$1",0,"767",[["767(?:2(?:55|66)|4(?:2[01]|4[0-25-9])|50[0-4])\\d{4}"],["767(?:2(?:[2-4689]5|7[5-7])|31[5-7]|61[1-8]|70[1-6])\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],DO:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,0,0,0,"8001|8[024]9",[["8(?:[04]9[2-9]\\d\\d|29(?:2(?:[0-59]\\d|6[04-9]|7[0-27]|8[0237-9])|3(?:[0-35-9]\\d|4[7-9])|[45]\\d\\d|6(?:[0-27-9]\\d|[3-5][1-9]|6[0135-8])|7(?:0[013-9]|[1-37]\\d|4[1-35689]|5[1-4689]|6[1-57-9]|8[1-79]|9[1-8])|8(?:0[146-9]|1[0-48]|[248]\\d|3[1-79]|5[01589]|6[013-68]|7[124-8]|9[0-8])|9(?:[0-24]\\d|3[02-46-9]|5[0-79]|60|7[0169]|8[57-9]|9[02-9])))\\d{4}"],["8[024]9[2-9]\\d{6}"],["800(?:14|[2-9]\\d)\\d{5}|8[024]9[01]\\d{6}|8(?:33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],DZ:["213","00","(?:[1-4]|[5-79]\\d|80)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-8]"],"0$1"]],"0",0,0,0,0,0,[["9619\\d{5}|(?:[1-3]\\d|4[013-689])\\d{6}"],["5(?:4[0-29]|6[0-3])\\d{6}|(?:55|6\\d|7[7-9])\\d{7}",[9]],["800\\d{6}",[9]],["80[3-689]1\\d{5}",[9]],0,0,0,0,["98[23]\\d{6}",[9]],["80[12]1\\d{5}",[9]]]],EC:["593","00","1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}",[8,9,10,11],[["(\\d)(\\d{3})(\\d{4})","$1 $2-$3",["[2-7]"],"(0$1)",0,"$1-$2-$3"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],"0",0,0,0,0,0,[["[2-7][2-7]\\d{6}",[8]],["964[0-2]\\d{5}|9(?:39|[57][89]|6[0-36-9]|[89]\\d)\\d{6}",[9]],["1800\\d{7}|1[78]00\\d{6}",[10,11]],0,0,0,0,0,["[2-7]890\\d{4}",[8]]]],EE:["372","00","8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88","[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]],["(\\d{4})(\\d{3,4})","$1 $2",["[45]|8(?:00|[1-49])","[45]|8(?:00[1-9]|[1-49])"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]],0,0,0,0,0,0,[["(?:3[23589]|4[3-8]|6\\d|7[1-9]|88)\\d{5}",[7]],["(?:5\\d{5}|8(?:1(?:0(?:0(?:00|[178]\\d)|[3-9]\\d\\d)|(?:1(?:0[2-6]|1\\d)|[2-79]\\d\\d)\\d)|2(?:0(?:0(?:00|4\\d)|(?:19|[2-7]\\d)\\d)|(?:(?:[124-69]\\d|3[5-9])\\d|7(?:[0-79]\\d|8[013-9])|8(?:[2-6]\\d|7[01]))\\d)|[349]\\d{4}))\\d\\d|5(?:(?:[02]\\d|5[0-478])\\d|1(?:[0-8]\\d|95)|6(?:4[0-4]|5[1-589]))\\d{3}",[7,8]],["800(?:(?:0\\d\\d|1)\\d|[2-9])\\d{3}"],["(?:40\\d\\d|900)\\d{4}",[7,8]],["70[0-2]\\d{5}",[8]]]],EG:["20","00","[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}",[8,9,10],[["(\\d)(\\d{7,8})","$1 $2",["[23]"],"0$1"],["(\\d{2})(\\d{6,7})","$1 $2",["1[35]|[4-6]|8[2468]|9[235-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{8})","$1 $2",["1"],"0$1"]],"0",0,0,0,0,0,[["13[23]\\d{6}|(?:15|57)\\d{6,7}|(?:2\\d|3|4[05-8]|5[05]|6[24-689]|8[2468]|9[235-7])\\d{7}",[8,9]],["1[0-25]\\d{8}",[10]],["800\\d{7}",[10]],["900\\d{7}",[10]]]],EH:["212","00","[5-8]\\d{8}",[9],0,"0",0,0,0,0,0,[["528[89]\\d{5}"],["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[016-8]\\d|2[0-8]|5[0-5]))\\d{6}"],["80[0-7]\\d{6}"],["89\\d{7}"],0,0,0,0,["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]],ER:["291","00","[178]\\d{6}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[178]"],"0$1"]],"0",0,0,0,0,0,[["(?:1(?:1[12568]|[24]0|55|6[146])|8\\d\\d)\\d{4}"],["(?:17[1-3]|7\\d\\d)\\d{4}"]]],ES:["34","00","[5-9]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]],0,0,0,0,0,0,[["96906(?:0[0-8]|1[1-9]|[2-9]\\d)\\d\\d|9(?:69(?:0[0-57-9]|[1-9]\\d)|73(?:[0-8]\\d|9[1-9]))\\d{4}|(?:8(?:[1356]\\d|[28][0-8]|[47][1-9])|9(?:[135]\\d|[268][0-8]|4[1-9]|7[124-9]))\\d{6}"],["96906(?:09|10)\\d\\d|(?:590(?:10[0-2]|600)|97390\\d)\\d{3}|(?:6\\d|7[1-48])\\d{7}"],["[89]00\\d{6}"],["80[367]\\d{6}"],["70\\d{7}"],0,["51\\d{7}"],0,0,["90[12]\\d{6}"]]],ET:["251","00","(?:11|[2-57-9]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-57-9]"],"0$1"]],"0",0,0,0,0,0,[["(?:11(?:[124]\\d\\d|3(?:[0-79]\\d|8[0-7])|5(?:[02-9]\\d|1[0-57-9])|6(?:[02-79]\\d|1[0-57-9]|8[0-8]))|2(?:2(?:11[1-9]|22[0-7]|33\\d|44[1467]|66[1-68])|5(?:11[124-6]|33[2-8]|44[1467]|55[14]|66[1-3679]|77[124-79]|880))|3(?:3(?:11[0-46-8]|(?:22|55)[0-6]|33[0134689]|44[04]|66[01467])|4(?:44[0-8]|55[0-69]|66[0-3]|77[1-5]))|4(?:6(?:119|22[0-24-7]|33[1-5]|44[13-69]|55[14-689]|660|88[1-4])|7(?:(?:11|22)[1-9]|33[13-7]|44[13-6]|55[1-689]))|5(?:7(?:227|55[05]|(?:66|77)[14-8])|8(?:11[149]|22[013-79]|33[0-68]|44[013-8]|550|66[1-5]|77\\d)))\\d{4}"],["700[1-9]\\d{5}|(?:7(?:0[1-9]|1[0-8]|2[1-35-79]|3\\d|77|86|99)|(?:8[01]|9\\d)\\d)\\d{6}"]]],FI:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}",[5,6,7,8,9,10,11,12],[["(\\d{5})","$1",["20[2-59]"],"0$1"],["(\\d{3})(\\d{3,7})","$1 $2",["(?:[1-3]0|[68])0|70[07-9]"],"0$1"],["(\\d{2})(\\d{4,8})","$1 $2",["[14]|2[09]|50|7[135]"],"0$1"],["(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"],["(\\d)(\\d{4,9})","$1 $2",["(?:19|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"]],"0",0,0,0,0,"1[03-79]|[2-9]",[["1[3-7][1-8]\\d{3,6}|(?:19[1-8]|[23568][1-8]\\d|9(?:00|[1-8]\\d))\\d{2,6}",[5,6,7,8,9]],["4946\\d{2,6}|(?:4[0-8]|50)\\d{4,8}",[6,7,8,9,10]],["800\\d{4,6}",[7,8,9]],["[67]00\\d{5,6}",[8,9]],0,0,["20\\d{4,8}|60[12]\\d{5,6}|7(?:099\\d{4,5}|5[03-9]\\d{3,7})|20[2-59]\\d\\d|(?:606|7(?:0[78]|1|3\\d))\\d{7}|(?:10|29|3[09]|70[1-5]\\d)\\d{4,8}"]],"00"],FJ:["679","0(?:0|52)","45\\d{5}|(?:0800\\d|[235-9])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1 $2",["[235-9]|45"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]]],0,0,0,0,0,0,[["603\\d{4}|(?:3[0-5]|6[25-7]|8[58])\\d{5}",[7]],["(?:[279]\\d|45|5[01568]|8[034679])\\d{5}",[7]],["0800\\d{7}",[11]]],"00"],FK:["500","00","[2-7]\\d{4}",[5],0,0,0,0,0,0,0,[["[2-47]\\d{4}"],["[56]\\d{4}"]]],FM:["691","00","(?:[39]\\d\\d|820)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[389]"]]],0,0,0,0,0,0,[["31(?:00[67]|208|309)\\d\\d|(?:3(?:[2357]0[1-9]|602|804|905)|(?:820|9[2-6]\\d)\\d)\\d{3}"],["31(?:00[67]|208|309)\\d\\d|(?:3(?:[2357]0[1-9]|602|804|905)|(?:820|9[2-7]\\d)\\d)\\d{3}"]]],FO:["298","00","[2-9]\\d{5}",[6],[["(\\d{6})","$1",["[2-9]"]]],0,0,"(10(?:01|[12]0|88))",0,0,0,[["(?:20|[34]\\d|8[19])\\d{4}"],["(?:[27][1-9]|5\\d|9[16])\\d{4}"],["80[257-9]\\d{3}"],["90(?:[13-5][15-7]|2[125-7]|9\\d)\\d\\d"],0,0,0,0,["(?:6[0-36]|88)\\d{4}"]]],FR:["33","00","[1-9]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],"0",0,0,0,0,0,[["(?:26[013-9]|59[1-35-9])\\d{6}|(?:[13]\\d|2[0-57-9]|4[1-9]|5[0-8])\\d{7}"],["(?:6(?:[0-24-8]\\d|3[0-8]|9[589])|7[3-9]\\d)\\d{6}"],["80[0-5]\\d{6}"],["836(?:0[0-36-9]|[1-9]\\d)\\d{4}|8(?:1[2-9]|2[2-47-9]|3[0-57-9]|[569]\\d|8[0-35-9])\\d{6}"],0,0,["80[6-9]\\d{6}"],0,["9\\d{8}"],["8(?:1[01]|2[0156]|4[024]|84)\\d{6}"]]],GA:["241","00","(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}",[7,8],[["(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-7]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["11|[67]"],"0$1"]],0,0,"0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})","$1",0,0,[["[01]1\\d{6}",[8]],["(?:(?:0[2-7]|7[467])\\d|6(?:0[0-4]|10|[256]\\d))\\d{5}|[2-7]\\d{6}"]]],GB:["44","00","[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}",[7,9,10],[["(\\d{3})(\\d{4})","$1 $2",["800","8001","80011","800111","8001111"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["845","8454","84546","845464"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["800"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:(?:38|69)7|5(?:24|39)|768|946)","1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["1(?:[2-69][02-9]|[78])"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[25]|7(?:0|6[02-9])","[25]|7(?:0|6(?:[03-9]|2[356]))"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[1389]"],"0$1"]],"0",0,"0|180020",0,0,0,[["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-5])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|5[01]))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}",[9,10]],["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]],0," x"],GD:["1","011","(?:473|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","473$1",0,"473",[["473(?:2(?:3[0-2]|69)|3(?:2[89]|86)|4(?:[06]8|3[5-9]|4[0-4]|5[59]|73|90)|63[68]|7(?:58|84)|800|938)\\d{4}"],["473(?:4(?:0[2-79]|1[04-9]|2[0-5]|49|5[6-8])|5(?:2[01]|3[3-8])|901)\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],GE:["995","00","(?:[3-57]\\d\\d|800)\\d{6}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["32"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[57]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[348]"],"0$1"]],"0",0,0,0,0,0,[["(?:3(?:[256]\\d|4[124-9]|7[0-4])|4(?:1\\d|2[2-7]|3[1-79]|4[2-8]|7[239]|9[1-7]))\\d{6}"],["5(?:(?:(?:0555|1(?:[17]77|555))[5-9]|757(?:7[7-9]|8[01]))\\d|22252[0-4])\\d\\d|5(?:0(?:0(?:1[09]|70)|505)|1(?:0[01]0|1(?:07|33|51))|2(?:0[02]0|2[25]2)|3(?:0[03]0|3[35]3)|(?:40[04]|900)0|5222)[0-4]\\d{3}|(?:5(?:0(?:0(?:0\\d|1[12]|22|3[0-6]|44|5[05]|77|88|9[09])|(?:[14]\\d|77)\\d|22[02])|1(?:1(?:[03][01]|[124]\\d|5[2-6]|7[0-6])|4\\d\\d)|[23]555|4(?:4\\d\\d|555)|5(?:[0157-9]\\d\\d|200|333|4(?:44|55))|6[89]\\d\\d|7(?:(?:[0147-9]\\d|22)\\d|5(?:00|[57]5))|8(?:0(?:[018]\\d|2[0-4])|5(?:55|8[89])|8(?:55|88))|9(?:090|[1-35-9]\\d\\d))|790\\d\\d)\\d{4}"],["800\\d{6}"],0,0,0,0,0,["70[67]\\d{6}"]]],GF:["594","00","(?:694\\d|7093)\\d{5}|(?:59|[89]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]|80[6-9]|9[47]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[89]"],"0$1"]],"0",0,0,0,0,0,[["(?:59(?:4(?:[02-49]\\d|1[0-5]|5[6-9]|6[0-3]|80)|88\\d)|80[6-9]\\d\\d)\\d{4}"],["(?:694(?:[0-249]\\d|3[0-8])|7093[0-3])\\d{4}"],["80[0-5]\\d{6}"],["8[129]\\d{7}"],0,0,0,0,["9(?:(?:396|76\\d)\\d|476[0-6])\\d{4}"]]],GG:["44","00","(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?",[7,9,10],0,"0",0,"([25-9]\\d{5})$|0|180020","1481$1",0,0,[["1481[25-9]\\d{5}",[10]],["7(?:(?:781|839)\\d|911[17])\\d{5}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]]],GH:["233","00","[235]\\d{8}|800\\d{5,6}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2358]"],"0$1"]],"0",0,0,0,0,0,[["3082[0-5]\\d{4}|3(?:0(?:[237]\\d|8[01])|[167](?:2[0-6]|7\\d|80)|2(?:2[0-5]|7\\d|80)|3(?:2[0-3]|7\\d|80)|4(?:2[013-9]|3[01]|7\\d|80)|5(?:2[0-7]|7\\d|80)|8(?:2[0-2]|7\\d|80)|9(?:[28]0|7\\d))\\d{5}",[9]],["(?:2(?:[0346-9]\\d|5[67])|5(?:[03-7]\\d|9[1-9]))\\d{6}",[9]],["800\\d{5,6}"]]],GI:["350","00","(?:[25]\\d|60)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["2"]]],0,0,0,0,0,0,[["2190[0-2]\\d{3}|2(?:0(?:[02]\\d|3[01])|16[24-9]|2[2-5]\\d)\\d{4}"],["5251[0-4]\\d{3}|(?:5(?:[146-8]\\d\\d|250)|60(?:1[01]|6\\d))\\d{4}"]]],GL:["299","00","(?:19|[2-689]\\d|70)\\d{4}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["19|[2-9]"]]],0,0,0,0,0,0,[["(?:19|3[1-7]|[68][1-9]|70|9\\d)\\d{4}"],["[245]\\d{5}"],["80\\d{4}"],0,0,0,0,0,["3[89]\\d{4}"]]],GM:["220","00","[2-9]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]],0,0,0,0,0,0,[["(?:4(?:[23]\\d\\d|4(?:1[024679]|[6-9]\\d))|5(?:5(?:3\\d|4[0-7])|6[67]\\d|7(?:1[04]|2[035]|3[58]|48))|8[0-389]\\d\\d)\\d{3}"],["556\\d{4}|(?:[23679]\\d|4[015]|5[0-489]|8[4-7])\\d{5}"]]],GN:["224","00","722\\d{6}|(?:3|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["3"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[67]"]]],0,0,0,0,0,0,[["3(?:0(?:24|3[12]|4[1-35-7]|5[13]|6[189]|[78]1|9[1478])|1\\d\\d)\\d{4}",[8]],["6[0-356]\\d{7}",[9]],0,0,0,0,0,0,["722\\d{6}",[9]]]],GP:["590","00","7090\\d{5}|(?:[56]9|[89]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]|80[6-9]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["(?:59(?:0(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)|87\\d)|80[6-9]\\d\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],["8[129]\\d{7}"],0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],GQ:["240","00","222\\d{6}|(?:3\\d|55|[89]0)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235]"]],["(\\d{3})(\\d{6})","$1 $2",["[89]"]]],0,0,0,0,0,0,[["33[0-24-9]\\d[46]\\d{4}|3(?:33|5\\d)\\d[7-9]\\d{4}"],["(?:222|55\\d)\\d{6}"],["80\\d[1-9]\\d{5}"],["90\\d[1-9]\\d{5}"]]],GR:["30","00","5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}",[10,11,12],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["21|7"]],["(\\d{4})(\\d{6})","$1 $2",["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2689]"]],["(\\d{3})(\\d{3,4})(\\d{5})","$1 $2 $3",["8"]]],0,0,0,0,0,0,[["2(?:1\\d\\d|2(?:2[1-46-9]|[36][1-8]|4[1-7]|5[1-4]|7[1-5]|[89][1-9])|3(?:1\\d|2[1-57]|[35][1-3]|4[13]|7[1-7]|8[124-6]|9[1-79])|4(?:1\\d|2[1-8]|3[1-4]|4[13-5]|6[1-578]|9[1-5])|5(?:1\\d|[29][1-4]|3[1-5]|4[124]|5[1-6])|6(?:1\\d|[269][1-6]|3[1245]|4[1-7]|5[13-9]|7[14]|8[1-5])|7(?:1\\d|2[1-5]|3[1-6]|4[1-7]|5[1-57]|6[135]|9[125-7])|8(?:1\\d|2[1-5]|[34][1-4]|9[1-57]))\\d{6}",[10]],["68[57-9]\\d{7}|(?:69|94)\\d{8}",[10]],["800\\d{7,9}"],["90[19]\\d{7}",[10]],["70\\d{8}",[10]],0,["5005000\\d{3}",[10]],0,0,["8(?:0[16]|12|[27]5|50)\\d{7}",[10]]]],GT:["502","00","80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1 $2",["[2-8]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]],0,0,0,0,0,0,[["[267][2-9]\\d{6}",[8]],["(?:[3-5]\\d\\d|80[0-4])\\d{5}",[8]],["18[01]\\d{8}",[11]],["19\\d{9}",[11]]]],GU:["1","011","(?:[58]\\d\\d|671|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","671$1",0,"671",[["671(?:2\\d\\d|3(?:00|3[39]|4[349]|55|6[26])|4(?:00|56|7[1-9]|8[02-9])|5(?:55|6[2-5]|88)|6(?:3[2-578]|4[24-9]|5[34]|78|8[235-9])|7(?:[0479]7|2[0167]|3[45]|8[7-9])|8(?:[2-57-9]8|6[478])|9(?:2[29]|6[79]|7[1279]|8[7-9]|9[16-9]))\\d{4}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],GW:["245","00","[49]\\d{8}|4\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["40"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"]]],0,0,0,0,0,0,[["443\\d{6}",[9]],["9(?:5\\d|6[569]|77)\\d{6}",[9]],0,0,0,0,0,0,["40\\d{5}",[7]]]],GY:["592","001","(?:[2-8]\\d{3}|9008)\\d{3}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]],0,0,0,0,0,0,[["(?:2(?:1[6-9]|2[0-35-9]|3[1-4]|5[3-9]|6\\d|7[0-79])|3(?:2[25-9]|3\\d)|4(?:4[0-24]|5[56])|50[0-6]|77[1-57])\\d{4}"],["(?:51[01]|6\\d\\d|7(?:[0-5]\\d|6[0-79]|70))\\d{4}"],["(?:289|8(?:00|6[28]|88|99))\\d{4}"],["9008\\d{3}"],0,0,0,0,["515\\d{4}"]]],HK:["852","00(?:30|5[09]|[126-9]?)","8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}",[5,6,7,8,9,11],[["(\\d{3})(\\d{2,5})","$1 $2",["900","9003"]],["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{3})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],0,0,0,0,0,0,[["(?:2(?:[13-9]\\d|2[013-9])\\d|3(?:(?:[1569][0-24-9]|4[0-246-9]|7[0-24-69])\\d|8(?:4[0-8]|[579]\\d|6[0-5]))|58(?:0[1-9]|1[2-9]))\\d{4}",[8]],["(?:4(?:(?:09|24)[3-6]|44[0-35-9]|6(?:4[0-57-9]|6[0-6])|7(?:4[0-48]|6[0-5]))|5(?:25[3-7]|35[4-8]|73[0-6]|95[0-8])|6(?:26[013-8]|(?:66|78)[0-5])|70(?:7[1-8]|8[0-8])|84(?:4[0-2]|8[0-35-9])|9(?:29[013-9]|39[014-9]|59[0-467]|899))\\d{4}|(?:4(?:4[0-35-9]|6[0-357-9]|7[0-35])|5(?:[1-59][0-46-9]|6[0-4689]|7[0-246-9])|6(?:0[1-9]|[13-59]\\d|[268][0-57-9]|7[0-79])|70[1-59]|84[0-39]|9(?:0[1-9]|1[02-9]|[2358][0-8]|[467]\\d))\\d{5}",[8]],["800\\d{6}",[9]],["900(?:[0-24-9]\\d{7}|3\\d{1,4})",[5,6,7,8,11]],["8(?:1[0-4679]\\d|2(?:[0-36]\\d|7[0-4])|3(?:[034]\\d|2[09]|70))\\d{4}",[8]],0,["30(?:0[1-9]|[15-7]\\d|2[047]|89)\\d{4}",[8]],["7(?:1(?:0[0-38]|1[0-3679]|3[013]|69|9[0136])|2(?:[02389]\\d|1[18]|7[27-9])|3(?:[0-38]\\d|7[0-369]|9[2357-9])|47\\d|5(?:[178]\\d|5[0-5])|6(?:0[0-7]|2[236-9]|[35]\\d)|7(?:[27]\\d|8[7-9])|8(?:[23689]\\d|7[1-9])|9(?:[025]\\d|6[0-246-8]|7[0-36-9]|8[238]))\\d{4}",[8]]],"00"],HN:["504","00","8\\d{10}|[237-9]\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1-$2",["[237-9]"]]],0,0,0,0,0,0,[["2(?:2(?:0[0-59]|1[1-9]|[23]\\d|4[02-7]|5[57]|6[245]|7[0135689]|8[01346-9]|9[0-2])|4(?:0[578]|2[3-59]|3[13-9]|4[0-68]|5[1-3589])|5(?:0[2357-9]|1[1-356]|4[03-5]|5\\d|6[014-69]|7[04]|80)|6(?:[056]\\d|17|2[067]|3[047]|4[0-378]|[78][0-8]|9[01])|7(?:0[5-79]|6[46-9]|7[02-9]|8[034]|91)|8(?:79|8[0-357-9]|9[1-57-9]))\\d{4}",[8]],["[37-9]\\d{7}",[8]],["8002\\d{7}",[11]]]],HR:["385","00","[2-69]\\d{8}|80\\d{5,7}|[1-79]\\d{7}|6\\d{6}",[7,8,9],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["6[01]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{4})(\\d{3})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6|7[245]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-57]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"]],"0",0,0,0,0,0,[["1\\d{7}|(?:2[0-3]|3[1-5]|4[02-47-9]|5[1-3])\\d{6,7}",[8,9]],["9(?:(?:0[1-9]|[12589]\\d)\\d\\d|7(?:[0679]\\d\\d|5(?:[01]\\d|44|55|77|9[5-79])))\\d{4}|98\\d{6}",[8,9]],["80\\d{5,7}"],["6[01459]\\d{6}|6[01]\\d{5}",[7,8]],["7[45]\\d{6}",[8]],0,["62\\d{6,7}|72\\d{6}",[8,9]]]],HT:["509","00","[2-589]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[2-589]"]]],0,0,0,0,0,0,[["2(?:2\\d|5[1-5]|81|9[149])\\d{5}"],["(?:[34]\\d|5[568])\\d{6}"],["8\\d{7}"],0,0,0,0,0,["9(?:[67][0-4]|8[0-3589]|9\\d)\\d{5}"]]],HU:["36","00","[235-7]\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"06 $1"]],"06",0,0,0,0,0,[["(?:1\\d|[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6[23689]|8[2-57-9]|9[2-69])\\d{6}",[8]],["(?:[257]0|3[01])\\d{7}",[9]],["(?:[48]0\\d|680[29])\\d{5}"],["9[01]\\d{6}",[8]],0,0,["38\\d{7}",[9]],0,["21\\d{7}",[9]]]],ID:["62","00[89]","00[1-9]\\d{9,14}|(?:[1-36]|8\\d{5})\\d{6}|00\\d{9}|[1-9]\\d{8,10}|[2-9]\\d{7}",[7,8,9,10,11,12,13,14,15,16,17],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],["(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],["(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],["(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],["(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],["(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],["(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"]],"0",0,0,0,0,0,[["2[124]\\d{7,8}|619\\d{8}|2(?:1(?:14|500)|2\\d{3})\\d{3}|61\\d{5,8}|(?:2(?:[35][1-4]|6[0-8]|7[1-6]|8\\d|9[1-8])|3(?:1|[25][1-8]|3[1-68]|4[1-3]|6[1-3568]|7[0-469]|8\\d)|4(?:0[1-589]|1[01347-9]|2[0-36-8]|3[0-24-68]|43|5[1-378]|6[1-5]|7[134]|8[1245])|5(?:1[1-35-9]|2[25-8]|3[124-9]|4[1-3589]|5[1-46]|6[1-8])|6(?:[25]\\d|3[1-69]|4[1-6])|7(?:02|[125][1-9]|[36]\\d|4[1-8]|7[0-36-9])|9(?:0[12]|1[013-8]|2[0-479]|5[125-8]|6[23679]|7[159]|8[01346]))\\d{5,8}",[7,8,9,10,11]],["8[1-35-9]\\d{7,10}",[9,10,11,12]],["00(?:1803\\d{5,11}|7803\\d{7})|(?:177\\d|800)\\d{5,7}",[8,9,10,11,12,13,14,15,16,17]],["809\\d{7}",[10]],0,0,["(?:1500|8071\\d{3})\\d{3}",[7,10]],0,0,["804\\d{7}",[10]]]],IE:["353","00","(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["2[24-9]|47|58|6[237-9]|9[35-9]"],"(0$1)"],["(\\d{3})(\\d{5})","$1 $2",["[45]0"],"(0$1)"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["1"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2569]|4[1-69]|7[14]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["81"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[78]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["4"],"(0$1)"],["(\\d{2})(\\d)(\\d{3})(\\d{4})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["(?:1\\d|21)\\d{6,7}|(?:2[24-9]|4(?:0[24]|5\\d|7)|5(?:0[45]|1\\d|8)|6(?:1\\d|[237-9])|9(?:1\\d|[35-9]))\\d{5}|(?:23|4(?:[1-469]|8\\d)|5[23679]|6[4-6]|7[14]|9[04])\\d{7}"],["8(?:22|[35-9]\\d)\\d{6}",[9]],["1800\\d{6}",[10]],["15(?:1[2-8]|[2-8]0|9[089])\\d{6}",[10]],["700\\d{6}",[9]],["88210[1-9]\\d{4}|8(?:[35-79]5\\d\\d|8(?:[013-9]\\d\\d|2(?:[01][1-9]|[2-9]\\d)))\\d{5}",[10]],["818\\d{6}",[9]],0,["76\\d{7}",[9]],["18[59]0\\d{6}",[10]]]],IL:["972","0(?:0|1[2-9])","1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}",[7,8,9,10,11,12],[["(\\d{4})(\\d{3})","$1-$2",["125"]],["(\\d{4})(\\d{2})(\\d{2})","$1-$2-$3",["121"]],["(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1-$2-$3",["12"]],["(\\d{4})(\\d{6})","$1-$2",["159"]],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3-$4",["1[7-9]"]],["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})","$1-$2 $3-$4",["15"]]],"0",0,0,0,0,0,[["153\\d{8,9}|29[1-9]\\d{5}|(?:2[0-8]|[3489]\\d)\\d{6}",[8,11,12]],["55(?:4(?:0[0-3]|[16]0)|57[0-289])\\d{4}|5(?:(?:[0-2][02-9]|[36]\\d|[49][2-9]|8[3-7])\\d|5(?:01|2\\d|3[0-3]|4[3-5]|5[0-25689]|6[6-8]|7[0-267]|8[7-9]|9[1-9]))\\d{5}",[9]],["1(?:255|80[019]\\d{3})\\d{3}",[7,10]],["1212\\d{4}|1(?:200|9(?:0[0-2]|19|9\\d))\\d{6}",[8,10]],0,["151\\d{8,9}",[11,12]],["1599\\d{6}",[10]],0,["7(?:38(?:[05]\\d|8[0138])|8(?:33|55|77|81)\\d)\\d{4}|7(?:18|2[23]|3[237]|47|6[258]|7\\d|82|9[2-9])\\d{6}",[9]],["1700\\d{6}",[10]]]],IM:["44","00","1624\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([25-8]\\d{5})$|0|180020","1624$1",0,"74576|(?:16|7[56])24",[["1624(?:230|[5-8]\\d\\d)\\d{3}"],["76245[06]\\d{4}|7(?:4576|[59]24\\d|624[0-4689])\\d{5}"],["808162\\d{4}"],["8(?:440[49]06|72299\\d)\\d{3}|(?:8(?:45|70)|90[0167])624\\d{4}"],["70\\d{8}"],0,["3440[49]06\\d{3}|(?:3(?:08162|3\\d{4}|45624|7(?:0624|2299))|55\\d{4})\\d{4}"],0,["56\\d{8}"]]],IN:["91","00","(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}",[8,9,10,11,12,13],[["(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],0,1],["(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],0,1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],0,1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31)|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:3171|5[15][2-6]|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|8(?:16|2[014]|3[126]|6[136]|7[78]|83)(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",1],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|3[129]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7(?:[23569]|8[0-57-9])|8[1-6])|7(?:1(?:[013-8]|9[6-9])|3(?:17|2[0-49]|9[2-57])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|8(?:28[235-7]|3))|73179|807(?:1|9[1-3])|(?:1552|6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578])\\d|7(?:[23569]\\d|8[0-57-9])|8(?:[14-6]\\d|2[0-79]))|7(?:1(?:[013-8]\\d|9[6-9])|3(?:2[0-49]|9[2-57])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",1],["(\\d{5})(\\d{5})","$1 $2",["16|[6-9]"],"0$1",1],["(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["18[06]","18[06]0"],0,1],["(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],0,1]],"0",0,0,0,0,0,[["(?:2717(?:[2-7]\\d|95)|6828[235-7]\\d)\\d{4}|(?:170[24]|280[13468]|4(?:20[24]|72[2-8])|552[1-7])\\d{6}|(?:271[0-689]|682[0-79]|782[0-6])[2-7]\\d{5}|(?:2(?:[02][2-79]|90)|3(?:23|80)|683|79[1-7])\\d{7}|(?:11|33|4[04]|80)[2-7]\\d{7}|(?:342|674|788)(?:[0189][2-7]|[2-7]\\d)\\d{5}|(?:1(?:2[0-249]|3[0-25]|4[145]|[59][14]|6[014]|7[1257]|8[01346])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568]|9[14])|3(?:26|4[13]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[014-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|2[14]|3[134]|4[47]|5[15]|[67]1)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91))[2-7]\\d{6}|(?:1(?:2[35-8]|3[346-9]|4[236-9]|[59][0235-9]|6[235-9]|7[34689]|8[257-9])|2(?:1[134689]|3[24-8]|4[2-8]|5[25689]|6[2-4679]|7[3-79]|8[2-479]|9[235-9])|3(?:01|1[79]|2[1245]|4[5-8]|5[125689]|6[235-7]|7[157-9]|8[2-46-8])|4(?:1[14578]|2[5689]|3[2-467]|5[4-7]|6[35]|73|8[2689]|9[2389])|5(?:[16][146-9]|2[14-8]|3[1346]|4[14-69]|5[46]|7[2-4]|8[2-8]|9[246])|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[14-6])|7(?:1[013-9]|2[0235-9]|3[2679]|4[1-35689]|5[2-46-9]|[67][02-9]|8[013-7]|9[089])|8(?:1[1357-9]|2[235-8]|3[03-57-9]|4[0-24-9]|5\\d|6[2457-9]|7[1-6]|8[1256]|9[2-4]))\\d[2-7]\\d{5}",[10]],["(?:6(?:1279|828[01489])|7(?:887[02-9]|9(?:313|79[07-9]))|8(?:079[04-9]|(?:84|91)7[02-8]))\\d{5}|(?:160[01]|6(?:(?:12|[2-4]1|5[17]|6[13]|80)[0189]|7(?:1[0189]|86))|7(?:1(?:2[0189]|9[0-5])|3(?:2[5-8]|[34][017-9]|9[016-9])|5(?:[15][017-9]|2[04-9]|9[7-9])|6(?:0[0-47]|1[0-257-9]|2[0-4]|3[19]|5[4589])|70[0289]|88[089]|97[02-8])|8(?:0(?:6[67]|7[02-8])|70[017-9]|84[01489]|91[0-289]))\\d{6}|(?:731|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[0189]\\d|7[02-8])\\d{5}|(?:6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578])\\d|7(?:[23569]\\d|4[0189]|8[0-57-9])|8(?:[14-6]\\d|2[0-79]))|7(?:1(?:[013-8]\\d|9[6-9])|3(?:2[0-49]|9[2-5])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]|881))[0189]\\d{5}|(?:6(?:[09]\\d|1[04679]|2[03689]|3[05-9]|4[0489]|50|6[069]|7[07]|8[7-9])|7(?:[024]\\d|3[05-8]|5[0346-8]|6[6-9]|7[1-9]|8[0-79]|9[089])|8(?:0[01589]|1[0-57-9]|2[235-9]|3[03-57-9]|[45]\\d|6[02457-9]|7[1-69]|8[0-25-9]|9[02-9])|9\\d\\d)\\d{7}",[10]],["000800\\d{7}|180(?:0\\d{4,9}|3\\d{9})"],["186[12]\\d{9}",[13]],0,0,["140\\d{7}",[10]],0,0,["1860\\d{7}",[11]]]],IO:["246","00","3\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["3"]]],0,0,0,0,0,0,[["37\\d{5}"],["38\\d{5}"]]],IQ:["964","00","(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-6]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,[["1\\d{7}|(?:2[13-5]|3[02367]|4[023]|5[03]|6[026])\\d{6,7}",[8,9]],["7[3-9]\\d{8}",[10]]]],IR:["98","00","[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}",[4,5,6,7,10],[["(\\d{4,5})","$1",["96"],"0$1"],["(\\d{2})(\\d{4,5})","$1 $2",["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[1-8]"],"0$1"]],"0",0,0,0,0,0,[["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])(?:[03-57]\\d{7}|[16]\\d{3}(?:\\d{4})?|[289]\\d{3}(?:\\d(?:\\d{3})?)?)|94(?:000[09]|(?:12\\d|30[0-2])\\d|2(?:[02689]0\\d|121)|4(?:111|40\\d))\\d{4}",[6,7,10]],["9(?:(?:0[0-5]|[13]\\d|2[0-3])\\d\\d|9(?:[0-46]\\d\\d|5(?:10|5\\d)|8(?:[12]\\d|88)|9(?:[01359]\\d|21|69|77|8[7-9])))\\d{5}",[10]],0,0,0,0,["96(?:0[12]|2[16-8]|3(?:08|[14]5|[23]|66)|4(?:0|80)|5[01]|6[89]|86|9[19])",[4,5]]]],IS:["354","00|1(?:0(?:01|[12]0)|100)","(?:38\\d|[4-9])\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["[4-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["3"]]],0,0,0,0,0,0,[["(?:4(?:1[0-24-69]|2[0-7]|[37][0-8]|4[0-24589]|5[0-68]|6\\d|8[0-36-8])|5(?:05|[156]\\d|2[02578]|3[0-579]|4[03-7]|7[0-2578]|8[0-35-9]|9[013-689])|872)\\d{4}",[7]],["(?:38[589]\\d\\d|6(?:1[1-8]|2[0-6]|3[026-9]|4[014679]|5[0159]|6[0-69]|70|8[06-8]|9\\d)|7(?:5[057]|[6-9]\\d)|8(?:2[0-59]|[3-69]\\d|8[238]))\\d{4}"],["80[0-8]\\d{4}",[7]],["90(?:0\\d|1[5-79]|2[015-79]|3[135-79]|4[125-7]|5[25-79]|7[1-37]|8[0-35-7])\\d{3}",[7]],0,["(?:689|8(?:7[18]|80)|95[48])\\d{4}",[7]],["809\\d{4}",[7]],0,["49[0-24-79]\\d{4}",[7]]],"00"],IT:["39","00","0\\d{5,11}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?",[6,7,8,9,10,11,12],[["(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],["(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],["(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],["(\\d{4})(\\d{4})","$1 $2",["894"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[378]|43"]],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],["(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[03]"]]],0,0,0,0,0,0,[["0(?:669[0-79]\\d{1,6}|831\\d{2,8})|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[2356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}"],["3[2-9]\\d{7,8}|(?:31|43)\\d{8}",[9,10]],["80(?:0\\d{3}|3)\\d{3}",[6,9]],["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",[6,8,9,10]],["1(?:78\\d|99)\\d{6}",[9,10]],["3[2-8]\\d{9,10}",[11,12]],0,0,["55\\d{8}",[10]],["84(?:[08]\\d{3}|[17])\\d{3}",[6,9]]]],JE:["44","00","1534\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([0-24-8]\\d{5})$|0|180020","1534$1",0,0,[["1534[0-24-8]\\d{5}"],["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}"],["80(?:07(?:35|81)|8901)\\d{4}"],["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"],["701511\\d{4}"],0,["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"],["56\\d{8}"]]],JM:["1","011","(?:[58]\\d\\d|658|900)\\d{7}",[10],0,"1",0,0,0,0,"658|876",[["8766060\\d{3}|(?:658(?:2(?:[5-8]\\d|9[0-46-9])|[3-9]\\d\\d)|876(?:52[35]|6(?:0[1-3579]|1[0235-9]|[23]\\d|40|5[06]|6[2-589]|7[0-25-9]|8[04]|9[4-9])|7(?:0[2-689]|[1-6]\\d|8[056]|9[45])|9(?:0[1-8]|1[02378]|[2-8]\\d|9[2-468])))\\d{4}"],["(?:6582(?:[0-4]\\d|95)|876(?:2(?:0[1-9]|[13-9]\\d|2[013-9])|[348]\\d\\d|5(?:0[1-9]|[1-9]\\d)|6(?:4[89]|6[67])|7(?:0[07]|7\\d|8[1-47-9]|9[0-36-9])|9(?:[01]9|9[0579])))\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],JO:["962","00","(?:(?:[2689]|7\\d)\\d|32|427|53)\\d{6}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)"],["(\\d{3})(\\d{5,6})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["70"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[47]"],"0$1"]],"0",0,0,0,0,0,[["87(?:000|90[01])\\d{3}|(?:2(?:6(?:2[0-35-9]|3[0-578]|4[24-7]|5[0-24-8]|[6-8][023]|9[0-3])|7(?:0[1-79]|10|2[014-7]|3[0-689]|4[019]|5[0-3578]))|32(?:0[1-69]|1[1-35-7]|2[024-7]|3\\d|4[0-3]|[5-7][023])|53(?:0[0-3]|[13][023]|2[0-59]|49|5[0-35-9]|6[15]|7[45]|8[1-6]|9[0-36-9])|6(?:2(?:[05]0|22)|3(?:00|33)|4(?:0[0-25]|1[2-7]|2[0569]|[38][07-9]|4[025689]|6[0-589]|7\\d|9[0-2])|5(?:[01][056]|2[034]|3[0-57-9]|4[178]|5[0-69]|6[0-35-9]|7[1-379]|8[0-68]|9[0239]))|87(?:20|7[078]|99))\\d{4}",[8]],["(?:427|7(?:[78][0-25-9]|9\\d))\\d{6}",[9]],["80\\d{6}",[8]],["9\\d{7}",[8]],["70\\d{7}",[9]],0,["8(?:10|8\\d)\\d{5}",[8]],["74(?:66|77)\\d{5}",[9]],0,["85\\d{6}",[8]]]],JP:["81","010","00[1-9]\\d{6,14}|[25-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}",[8,9,10,11,12,13,14,15,16,17],[["(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],["(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["3|4(?:2[09]|7[01])|6[1-9]","3|4(?:2(?:0|9[02-69])|7(?:0[019]|1))|6[1-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],["(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[25-9]"],"0$1"]],"0",0,"(000[2569]\\d{4,6})$|(?:(?:003768)0?)|0","$1",0,0,[["(?:1(?:1[235-8]|2[3-6]|3[3-9]|4[2-6]|[58][2-8]|6[2-7]|7[2-9]|9[1-9])|(?:2[2-9]|[36][1-9])\\d|4(?:[2-578]\\d|6[02-8]|9[2-59])|5(?:[2-589]\\d|6[1-9]|7[2-8])|7(?:[25-9]\\d|3[4-9]|4[02-9])|8(?:[2679]\\d|3[2-9]|4[5-9]|5[1-9]|8[03-9])|9(?:[2-58]\\d|[679][1-9]))\\d{6}",[9]],["(?:601[0-4]0|[7-9]0[1-9]\\d\\d)\\d{5}",[10]],["00777(?:[01]|5\\d)\\d\\d|(?:00(?:7778|882[1245])|(?:120|800\\d)\\d\\d)\\d{4}|00(?:37|66|78)\\d{6,13}"],["990\\d{6}",[9]],["60\\d{7}",[9]],0,["570\\d{6}",[9]],["20\\d{8}",[10]],["50[1-9]\\d{7}",[10]]]],KE:["254","000","(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}",[7,8,9,10],[["(\\d{2})(\\d{5,7})","$1 $2",["[24-6]"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[17]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0",0,0,0,0,0,[["(?:4[245]|5[1-79]|6[01457-9])\\d{5,7}|(?:4[136]|5[08]|62)\\d{7}|(?:[24]0|66)\\d{6,7}",[7,8,9]],["(?:1(?:0[0-8]|1\\d|2[014]|30|4[0-3])|7\\d\\d)\\d{6}",[9]],["800[02-8]\\d{5,6}",[9,10]],["900[02-9]\\d{5}",[9]]]],KG:["996","00","8\\d{9}|[235-9]\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["3(?:1[346]|[24-79])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-79]|88"],"0$1"],["(\\d{3})(\\d{3})(\\d)(\\d{2,3})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["312(?:5[0-79]\\d|9(?:[0-689]\\d|7[0-24-9]))\\d{3}|(?:3(?:1(?:2[0-46-8]|3[1-9]|47|[56]\\d)|2(?:22|3[0-479]|6[0-7])|4(?:22|5[6-9]|6\\d)|5(?:22|3[4-7]|59|6\\d)|6(?:22|5[35-7]|6\\d)|7(?:22|3[468]|4[1-9]|59|[67]\\d)|9(?:22|4[1-8]|6\\d))|6(?:09|12|2[2-4])\\d)\\d{5}",[9]],["312(?:58\\d|973)\\d{3}|(?:2(?:0[0-35]|2\\d)|5[0-24-7]\\d|600|7(?:[07]\\d|55)|88[08]|9(?:12|9[05-9]))\\d{6}",[9]],["800\\d{6,7}"]]],KH:["855","00[14-9]","1\\d{9}|[1-9]\\d{7,8}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0",0,0,0,0,0,[["23(?:4(?:[2-4]|[56]\\d)|[568]\\d\\d)\\d{4}|23[236-9]\\d{5}|(?:2[4-6]|3[2-6]|4[2-4]|[5-7][2-5])(?:(?:[237-9]|4[56]|5\\d)\\d{5}|6\\d{5,6})",[8,9]],["(?:(?:1[28]|3[18]|9[67])\\d|6[016-9]|7(?:[07-9]|[16]\\d)|8(?:[013-79]|8\\d))\\d{6}|(?:1\\d|9[0-57-9])\\d{6}|(?:2[3-6]|3[2-6]|4[2-4]|[5-7][2-5])48\\d{5}",[8,9]],["1800(?:1\\d|2[019])\\d{4}",[10]],["1900(?:1\\d|2[09])\\d{4}",[10]]]],KI:["686","00","(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}",[5,8],0,"0",0,0,0,0,0,[["(?:[24]\\d|3[1-9]|50|65(?:02[12]|12[56]|22[89]|[3-5]00)|7(?:27\\d\\d|3100|5(?:02[12]|12[56]|22[89]|[34](?:00|81)|500))|8[0-5])\\d{3}"],["(?:6200[01]|7(?:310[1-9]|5(?:02[03-9]|12[0-47-9]|22[0-7]|[34](?:0[1-9]|8[02-9])|50[1-9])))\\d{3}|(?:63\\d\\d|7(?:(?:[0146-9]\\d|2[0-689])\\d|3(?:[02-9]\\d|1[1-9])|5(?:[0-2][013-9]|[34][1-79]|5[1-9]|[6-9]\\d)))\\d{4}",[8]],0,0,0,0,0,0,["30(?:0[01]\\d\\d|12(?:11|20))\\d\\d",[8]]]],KM:["269","00","[3478]\\d{6}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[3478]"]]],0,0,0,0,0,0,[["7[4-7]\\d{5}"],["[34]\\d{6}"],0,["8\\d{6}"]]],KN:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","869$1",0,"869",[["869(?:2(?:29|36)|302|4(?:6[015-9]|70)|56[5-7])\\d{4}"],["869(?:48[89]|55[6-8]|66\\d|76[02-7])\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],KP:["850","00|99","85\\d{6}|(?:19\\d|[2-7])\\d{7}",[8,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"]],"0",0,0,0,0,0,[["(?:(?:195|2)\\d|3[19]|4[159]|5[37]|6[17]|7[39]|85)\\d{6}"],["19[1-3]\\d{7}",[10]]]],KR:["82","00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))","00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}",[5,6,8,9,10,11,12,13,14],[["(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1"],["(\\d{4})(\\d{4})","$1-$2",["1"]],["(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[36]0|8"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1"]],"0",0,"0(8(?:[1-46-8]|5\\d\\d))?",0,0,0,[["(?:2|3[1-3]|[46][1-4]|5[1-5])[1-9]\\d{6,7}|(?:3[1-3]|[46][1-4]|5[1-5])1\\d{2,3}",[5,6,8,9,10]],["1(?:05(?:[0-8]\\d|9[0-6])|22[13]\\d)\\d{4,5}|1(?:0[0-46-9]|[16-9]\\d|2[013-9])\\d{6,7}",[9,10]],["00(?:308\\d{6,7}|798\\d{7,9})|(?:00368|[38]0)\\d{7}",[9,11,12,13,14]],["60[2-9]\\d{6}",[9]],["50\\d{8,9}",[10,11]],0,["1(?:5(?:22|33|44|66|77|88|99)|6(?:[07]0|44|6[0168]|88)|8(?:00|33|55|77|99))\\d{4}",[8]],["15\\d{7,8}",[9,10]],["70\\d{8}",[10]]]],KW:["965","00","18\\d{5}|(?:[2569]\\d|41)\\d{6}",[7,8],[["(\\d{4})(\\d{3,4})","$1 $2",["[169]|2(?:[235]|4[1-35-9])|52"]],["(\\d{3})(\\d{5})","$1 $2",["[245]"]]],0,0,0,0,0,0,[["2(?:[23]\\d\\d|4(?:[1-35-9]\\d|44)|5(?:0[034]|[2-46]\\d|5[1-3]|7[1-7]))\\d{4}",[8]],["(?:41\\d\\d|5(?:(?:[05]\\d|1[0-7]|6[56])\\d|2(?:22|5[25])|7(?:55|77)|88[58])|6(?:(?:0[034679]|5[015-9]|6\\d)\\d|1(?:00|11|6[16])|2[26]2|3[36]3|4[46]4|7(?:0[013-9]|[67]\\d)|8[68]8|9(?:[069]\\d|3[039]))|9(?:(?:[04679]\\d|8[057-9])\\d|1(?:00|1[01]|99)|2(?:00|2\\d)|3(?:00|3[03])|5(?:00|5\\d)))\\d{4}",[8]],["18\\d{5}",[7]]]],KY:["1","011","(?:345|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","345$1",0,"345",[["345(?:2(?:22|3[23]|44|66)|333|444|6(?:23|38|40)|7(?:30|4[35-79]|6[6-9]|77)|8(?:00|1[45]|4[89]|88)|9(?:14|4[035-9]))\\d{4}"],["345(?:32[1-9]|4(?:1[2-6]|2[0-4])|5(?:1[67]|2[5-79]|4[6-9]|50|76)|649|82[56]|9(?:1[679]|2[2-9]|3[06-9]|90))\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["(?:345976|900[2-9]\\d\\d)\\d{4}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],KZ:["7","810","8\\d{13}|[78]\\d{9}",[10,14],0,"8",0,0,0,0,"7",[["7(?:1(?:0(?:[23]\\d|4[0-3]|59|63)|1(?:[23]\\d|4[0-79]|59)|2(?:[23]\\d|59)|3(?:2\\d|3[0-79]|4[0-35-9]|59)|4(?:[24]\\d|3[013-9]|5[1-9]|97)|5(?:2\\d|3[1-9]|4[0-7]|59)|6(?:[2-4]\\d|5[19]|61)|72\\d|8(?:[27]\\d|3[1-46-9]|4[0-5]|59))|2(?:1(?:[23]\\d|4[46-9]|5[3469])|2(?:2\\d|3[0679]|46|5[12679])|3(?:[2-4]\\d|5[139])|4(?:2\\d|3[1-35-9]|59)|5(?:[23]\\d|4[0-8]|59|61)|6(?:2\\d|3[1-9]|4[0-4]|59)|7(?:[2379]\\d|40|5[279])|8(?:[23]\\d|4[0-3]|59)|9(?:2\\d|3[124578]|59)))\\d{5}",[10]],["7(?:0[0-25-8]|47|6[0-4]|7[15-8]|85)\\d{7}",[10]],["8(?:00|108\\d{3})\\d{7}"],["809\\d{7}",[10]],["808\\d{7}",[10]],0,0,0,["751\\d{7}",[10]]],"8~10"],LA:["856","00","[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2[13]|3[14]|[4-8]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["3"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[23]"],"0$1"]],"0",0,0,0,0,0,[["(?:2[13]|[35-7][14]|41|8[1468])\\d{6}",[8]],["(?:20(?:[23579]\\d|8[78])|30[24]\\d)\\d{6}|30\\d{7}",[9,10]]]],LB:["961","00","[27-9]\\d{7}|[13-9]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-69]|7(?:[2-57]|62|8[0-6]|9[04-9])|8[02-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27-9]"]]],"0",0,0,0,0,0,[["7(?:62|8[0-6]|9[04-9])\\d{4}|(?:[14-69]\\d|2(?:[14-69]\\d|[78][1-9])|7[2-57]|8[02-9])\\d{5}"],["(?:(?:3|81)\\d|7(?:[01]\\d|6[013-9]|8[7-9]|9[0-4]))\\d{5}"],0,["9[01]\\d{6}",[8]],0,0,0,0,0,["80\\d{6}",[8]]]],LC:["1","011","(?:[58]\\d\\d|758|900)\\d{7}",[10],0,"1",0,"([2-8]\\d{6})$|1","758$1",0,"758",[["758(?:234|4(?:30|5\\d|6[2-9]|8[0-2])|57[0-2]|(?:63|75)8)\\d{4}"],["758(?:28[4-7]|384|4(?:6[01]|8[4-9])|5(?:1[89]|20|84)|7(?:1[2-9]|2\\d|3[0-3])|812)\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],LI:["423","00","[68]\\d{8}|(?:[2378]\\d|90)\\d{5}",[7,9],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2379]|8(?:0[09]|7)","[2379]|8(?:0(?:02|9)|7)"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["69"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],"0",0,"(1001)|0",0,0,0,[["(?:2(?:01|1[27]|2[024]|3\\d|6[02-578]|96)|3(?:[24]0|33|7[0135-7]|8[048]|9[0269]))\\d{4}",[7]],["(?:6(?:(?:4[5-9]|5\\d)\\d|6(?:[024-68]\\d|1[01]|3[7-9]|70))\\d|7(?:[37-9]\\d|42|56))\\d{4}"],["8002[28]\\d\\d|80(?:05\\d|9)\\d{4}"],["90(?:02[258]|1(?:23|3[14])|66[136])\\d\\d",[7]],0,["697(?:42|56|[78]\\d)\\d{4}",[9]],["870(?:28|87)\\d\\d",[7]]]],LK:["94","00","[1-9]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[1-689]"],"0$1"]],"0",0,0,0,0,0,[["(?:12[2-9]|602|8[12]\\d|9(?:1\\d|22|9[245]))\\d{6}|(?:11|2[13-7]|3[1-8]|4[157]|5[12457]|6[35-7])[2-57]\\d{6}"],["7(?:[0-25-8]\\d|4[0-4])\\d{6}"],0,0,0,0,["1973\\d{5}"]]],LR:["231","00","(?:[2457]\\d|33|88)\\d{7}|(?:2\\d|[4-6])\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["4[67]|[56]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-578]"],"0$1"]],"0",0,0,0,0,0,[["2\\d{7}",[8]],["(?:(?:(?:22|33)0|555|7(?:6[01]|7\\d)|88\\d)\\d|4(?:240|[67]))\\d{5}|[56]\\d{6}",[7,9]],0,["332(?:02|[34]\\d)\\d{4}",[9]]]],LS:["266","00","(?:[256]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2568]"]]],0,0,0,0,0,0,[["2\\d{7}"],["[56]\\d{7}"],["800[1256]\\d{4}"]]],LT:["370","00","(?:[3469]\\d|52|[78]0)\\d{6}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["52[0-7]"],"(0-$1)",1],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"0 $1",1],["(\\d{2})(\\d{6})","$1 $2",["37|4(?:[15]|6[1-8])"],"(0-$1)",1],["(\\d{3})(\\d{5})","$1 $2",["[3-6]"],"(0-$1)",1]],"0",0,"[08]",0,0,0,[["(?:3[1478]|4[124-6]|52)\\d{6}"],["6\\d{7}"],["80[02]\\d{5}"],["9(?:0[0239]|10)\\d{5}"],["70[05]\\d{5}"],0,["70[67]\\d{5}"],0,["[89]01\\d{5}"],["808\\d{5}"]]],LU:["352","00","35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}",[4,5,6,7,8,9,10,11],[["(\\d{2})(\\d{3})","$1 $2",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20[2-689]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["20"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})","$1 $2 $3 $4",["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["80[01]|90[015]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["20"]]],0,0,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)",0,0,0,[["(?:35[013-9]|80[2-9]|90[89])\\d{1,8}|(?:2[2-9]|3[0-46-9]|[457]\\d|8[13-9]|9[2-579])\\d{2,9}"],["6(?:[26][18]|5[1568]|7[189]|81|9[128])\\d{6}",[9]],["800\\d{5}",[8]],["90[015]\\d{5}",[8]],0,0,0,0,["20(?:1\\d{5}|[2-689]\\d{1,7})",[4,5,6,7,8,9,10]],["801\\d{5}",[8]]]],LV:["371","00","(?:[268]\\d|78|90)\\d{6}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2679]|8[01]"]]],0,0,0,0,0,0,[["6\\d{7}"],["2333[0-8]\\d{3}|2(?:[0-24-9]\\d\\d|3(?:0[07]|[14-9]\\d|2[02-9]|3[0-24-9]))\\d{4}"],["80\\d{6}"],["90\\d{6}"],0,0,0,0,0,["81\\d{6}"]]],LY:["218","00","[2-9]\\d{8}",[9],[["(\\d{2})(\\d{7})","$1-$2",["[2-9]"],"0$1"]],"0",0,0,0,0,0,[["(?:2(?:0[56]|[1-6]\\d|7[124579]|8[124])|3(?:1\\d|2[2356])|4(?:[17]\\d|2[1-357]|5[2-4]|8[124])|5(?:[1347]\\d|2[1-469]|5[13-5]|8[1-4])|6(?:[1-479]\\d|5[2-57]|8[1-5])|7(?:[13]\\d|2[13-79])|8(?:[124]\\d|5[124]|84))\\d{6}"],["9[1-6]\\d{7}"]]],MA:["212","00","[5-8]\\d{8}",[9],[["(\\d{4})(\\d{5})","$1-$2",["892"],"0$1"],["(\\d{2})(\\d{7})","$1-$2",["8(?:0[0-7]|9)"],"0$1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[5-8]"],"0$1"]],"0",0,0,0,0,"[5-8]",[["5(?:(?:18|4[0679]|5[03])\\d|2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-9])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9]))\\d{5}"],["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[016-8]\\d|2[0-8]|5[0-5]))\\d{6}"],["80[0-7]\\d{6}"],["89\\d{7}"],0,0,0,0,["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]],MC:["377","00","(?:[3489]|[67]\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[67]"],"0$1"]],"0",0,0,0,0,0,[["(?:870|9[2-47-9]\\d)\\d{5}",[8]],["4(?:[469]\\d|5[1-9])\\d{5}|(?:3|[67]\\d)\\d{7}"],["(?:800|90\\d)\\d{5}",[8]]]],MD:["373","00","(?:[235-7]\\d|[89]0)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["22|3"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[25-7]"],"0$1"]],"0",0,0,0,0,0,[["(?:(?:2[1-9]|3[1-79])\\d|5(?:33|5[257]))\\d{5}"],["562\\d{5}|(?:6\\d|7[16-9])\\d{6}"],["800\\d{5}"],["90[056]\\d{5}"],0,0,["803\\d{5}"],0,["3[08]\\d{6}"],["808\\d{5}"]]],ME:["382","00","(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"0$1"]],"0",0,0,0,0,0,[["(?:20[2-8]|3(?:[0-2][2-7]|3[24-7])|4(?:0[2-467]|1[2467])|5(?:0[2467]|1[24-7]|2[2-467]))\\d{5}",[8]],["6(?:[07-9]\\d|3[024]|6[0-25])\\d{5}",[8]],["80(?:[0-2578]|9\\d)\\d{5}"],["9(?:4[1568]|5[178])\\d{5}",[8]],0,0,["77[1-9]\\d{5}",[8]],0,["78[1-49]\\d{5}",[8]]]],MF:["590","00","7090\\d{5}|(?:[56]9|[89]\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["(?:59(?:0(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)|87\\d)|80[6-9]\\d\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],["8[129]\\d{7}"],0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],MG:["261","00","[23]\\d{8}",[9],[["(\\d{2})(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3 $4",["[23]"],"0$1"]],"0",0,"([24-9]\\d{6})$|0","20$1",0,0,[["2072[29]\\d{4}|20(?:2\\d|4[47]|5[3467]|6[279]|7[356]|8[268]|9[2457])\\d{5}"],["3[2-9]\\d{7}"],0,0,0,0,0,0,["22\\d{7}"]]],MH:["692","011","329\\d{4}|(?:[256]\\d|45)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1-$2",["[2-6]"]]],"1",0,0,0,0,0,[["(?:247|528|625)\\d{4}"],["(?:(?:23|54)5|329|45[35-8])\\d{4}"],0,0,0,0,0,0,["635\\d{4}"]]],MK:["389","00","[2-578]\\d{7}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2|34[47]|4(?:[37]7|5[47]|64)"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[347]"],"0$1"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["[58]"],"0$1"]],"0",0,0,0,0,0,[["(?:(?:2(?:62|77)0|3444)\\d|4[56]440)\\d{3}|(?:34|4[357])700\\d{3}|(?:2(?:[0-3]\\d|5[0-578]|6[01]|82)|3(?:1[3-68]|[23][2-68]|4[23568])|4(?:[23][2-68]|4[3-68]|5[2568]|6[25-8]|7[24-68]|8[4-68]))\\d{5}"],["7(?:3555|(?:474|9[019]7)7)\\d{3}|7(?:[0-25-8]\\d\\d|3(?:[1-478]\\d|6[01])|4(?:2\\d|60|7[01578])|9(?:[2-4]\\d|5[01]|7[015]))\\d{4}"],["800\\d{5}"],["5\\d{7}"],0,0,0,0,0,["8(?:0[1-9]|[1-9]\\d)\\d{5}"]]],ML:["223","00","[24-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]],0,0,0,0,0,0,[["2(?:07[0-8]|12[67])\\d{4}|(?:2(?:02|1[4-689])|4(?:0[0-4]|4[1-59]))\\d{5}"],["2(?:0(?:01|79)|17\\d)\\d{4}|(?:5[0-3]|[679]\\d|8[2-59])\\d{6}"],["80\\d{6}"]]],MM:["95","00","1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}",[6,7,8,9,10],[["(\\d)(\\d{2})(\\d{3})","$1 $2 $3",["16|2"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["4(?:[2-46]|5[3-5])|5|6(?:[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-5]|(?:60|86)[23]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]|452|678|86","[12]|452|6788|86"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[4-7]|8[1-35]"],"0$1"],["(\\d)(\\d{3})(\\d{4,6})","$1 $2 $3",["9(?:2[0-4]|[35-9]|4[137-9])"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["92"],"0$1"],["(\\d)(\\d{5})(\\d{4})","$1 $2 $3",["9"],"0$1"]],"0",0,0,0,0,0,[["(?:1(?:(?:12|[28]\\d|3[56]|7[3-6]|9[0-6])\\d|4(?:2[29]|7[0-2]|83)|6)|2(?:2(?:00|8[34])|4(?:0\\d|22|7[0-2]|83)|51\\d\\d)|4(?:2(?:2\\d\\d|48[013])|3(?:20\\d|4(?:70|83)|56)|420\\d|5(?:2\\d|470))|6(?:0(?:[23]|88\\d)|(?:124|[56]2\\d)\\d|2472|3(?:20\\d|470)|4(?:2[04]\\d|472)|7(?:3\\d\\d|4[67]0|8(?:[01459]\\d|8))))\\d{4}|5(?:2(?:2\\d{5,6}|47[02]\\d{4})|(?:3472|4(?:2(?:1|86)|470)|522\\d|6(?:20\\d|483)|7(?:20\\d|48[01])|8(?:20\\d|47[02])|9(?:20\\d|470))\\d{4})|7(?:(?:0470|4(?:25\\d|470)|5(?:202|470|96\\d))\\d{4}|1(?:20\\d{4,5}|4(?:70|83)\\d{4}))|8(?:1(?:2\\d{5,6}|4(?:10|7[01]\\d)\\d{3})|2(?:2\\d{5,6}|(?:320|490\\d)\\d{3})|(?:3(?:2\\d\\d|470)|4[24-7]|5(?:(?:2\\d|51)\\d|4(?:[1-35-9]\\d|4[0-57-9]))|6[23])\\d{4})|(?:1[2-6]\\d|4(?:2[24-8]|3[2-7]|[46][2-6]|5[3-5])|5(?:[27][2-8]|3[2-68]|4[24-8]|5[23]|6[2-4]|8[24-7]|9[2-7])|6(?:[19]20|42[03-6]|(?:52|7[45])\\d)|7(?:[04][24-8]|[15][2-7]|22|3[2-4])|8(?:1[2-689]|2[2-8]|(?:[35]2|64)\\d))\\d{4}|25\\d{5,6}|(?:2[2-9]|6(?:1[2356]|[24][2-6]|3[24-6]|5[2-4]|6[2-8]|7[235-7]|8[245]|9[24])|8(?:3[24]|5[245]))\\d{4}",[6,7,8,9]],["(?:17[01]|9(?:2(?:[0-4]|[56]\\d\\d)|(?:3(?:[0-36]|4\\d)|(?:6\\d|8[89]|9[4-8])\\d|7(?:3|40|[5-9]\\d))\\d|4(?:(?:[0245]\\d|[1379])\\d|88)|5[0-6])\\d)\\d{4}|9[69]1\\d{6}|9(?:[68]\\d|9[089])\\d{5}",[7,8,9,10]],["80080(?:0[1-9]|2\\d)\\d{3}",[10]],0,0,0,0,0,["1333\\d{4}",[8]]]],MN:["976","001","[12]\\d{7,9}|[5-9]\\d{7}",[8,9,10],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["11|2[16]"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[5-9]"]],["(\\d{3})(\\d{5,6})","$1 $2",["[12]2[1-3]"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["[12](?:27|3[2-8]|4[2-68]|5[1-4689])","[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["[12]"],"0$1"]],"0",0,0,0,0,0,[["[12](?:2[1-3]|(?:3[2-8]|4[2-68]|5[1-4689])\\d)\\d{5,6}|7(?:0(?:[0-5]\\d|7[078]|80)|128)\\d{4}|[12]27\\d{6}|(?:11|2[16]|5[368])\\d{6}"],["(?:87[01]|92[0139])\\d{5}|(?:5[05]|6[069]|7[28]|8[0135689]|9[013-9])\\d{6}",[8]],0,0,0,0,0,0,["712[0-79]\\d{4}|7(?:1[013-9]|[5-79]\\d)\\d{5}",[8]]]],MO:["853","00","0800\\d{3}|(?:28|[68]\\d)\\d{6}",[7,8],[["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{4})(\\d{4})","$1 $2",["[268]"]]],0,0,0,0,0,0,[["(?:28[2-9]|8(?:11|[2-57-9]\\d))\\d{5}",[8]],["6800[0-79]\\d{3}|6(?:[235]\\d\\d|6(?:0[0-5]|[1-9]\\d)|8(?:0[1-9]|[14-8]\\d|2[5-9]|[39][0-4]))\\d{4}",[8]],["0800\\d{3}",[7]]]],MP:["1","011","[58]\\d{9}|(?:67|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","670$1",0,"670",[["670(?:2(?:3[3-7]|56|8[4-8])|32[1-38]|4(?:33|8[348])|5(?:32|55|88)|6(?:64|70|82)|78[3589]|8[3-9]8|989)\\d{4}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],MQ:["596","00","7091\\d{5}|(?:[56]9|[89]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]|8(?:0[6-9]|[36])"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["(?:59(?:6(?:[03-7]\\d|1[05]|2[7-9]|8[0-39]|9[04-9])|89\\d)|80[6-9]\\d\\d|9(?:477[6-9]|767[4589]))\\d{4}"],["(?:69[67]\\d\\d|7091[0-3])\\d{4}"],["80[0-5]\\d{6}"],["8[129]\\d{7}"],0,0,0,0,["9(?:397[0-3]|477[0-5]|76(?:6\\d|7[0-367]))\\d{4}"]]],MR:["222","00","(?:[2-4]\\d\\d|800)\\d{5}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-48]"]]],0,0,0,0,0,0,[["(?:25[08]|35\\d|45[1-7])\\d{5}"],["[2-4][0-46-9]\\d{6}"],["800\\d{5}"]]],MS:["1","011","(?:[58]\\d\\d|664|900)\\d{7}",[10],0,"1",0,"([34]\\d{6})$|1","664$1",0,"664",[["6644(?:1[0-3]|91)\\d{4}"],["664(?:3(?:49|9[1-6])|49[2-6])\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],MT:["356","00","3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2357-9]"]]],0,0,0,0,0,0,[["20(?:3[1-4]|6[059])\\d{4}|2(?:0[19]|[1-357]\\d|60)\\d{5}"],["(?:7(?:210|[79]\\d\\d)|9(?:[29]\\d\\d|69[67]|8(?:1[1-3]|89|97)))\\d{4}"],["800(?:02|[3467]\\d)\\d{3}"],["5(?:0(?:0(?:37|43)|(?:6\\d|70|9[0168])\\d)|[12]\\d0[1-5])\\d{3}"],0,0,["501\\d{5}"],["7117\\d{4}"],["3550\\d{4}"]]],MU:["230","0(?:0|[24-7]0|3[03])","(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[2-46]|8[013]"]],["(\\d{4})(\\d{4})","$1 $2",["[57]"]],["(\\d{5})(\\d{5})","$1 $2",["8"]]],0,0,0,0,0,0,[["(?:2(?:[0346-8]\\d|1[0-8])|4(?:[013568]\\d|2[0-24-8]|71|90)|54(?:[3-5]\\d|71)|6\\d\\d|8(?:14|3[129]))\\d{4}",[7,8]],["5(?:4(?:2[1-389]|7[1-9])|87[15-8])\\d{4}|(?:5(?:2[5-9]|4[3-689]|[57]\\d|8[0-689]|9[0-8])|7(?:0[0-7]|3[013]))\\d{5}",[8]],["802\\d{7}|80[0-2]\\d{4}",[7,10]],["30\\d{5}",[7]],0,0,0,["219\\d{4}",[7]],["3(?:20|9\\d)\\d{4}",[7]]],"020"],MV:["960","0(?:0|19)","(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}",[7,10],[["(\\d{3})(\\d{4})","$1-$2",["[34679]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"]]],0,0,0,0,0,0,[["(?:3(?:0[0-4]|3[0-59])|6(?:[58][024689]|6[024-68]|7[02468]))\\d{4}",[7]],["(?:46[46]|[79]\\d\\d)\\d{4}",[7]],["800\\d{7}",[10]],["900\\d{7}",[10]],0,0,["4(?:0[01]|50)\\d{4}",[7]]],"00"],MW:["265","00","(?:[1289]\\d|31|77)\\d{7}|1\\d{6}",[7,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["1[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[137-9]"],"0$1"]],"0",0,0,0,0,0,[["(?:1[2-9]|2[12]\\d\\d)\\d{5}"],["111\\d{6}|(?:31|77|[89][89])\\d{7}",[9]]]],MX:["52","0[09]","[2-9]\\d{9}",[10],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"]]],0,0,0,0,0,0,[["(?:2(?:0[01]|2\\d|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3\\d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[267][1-9]|3[1-8]|[45]\\d|8[1-35-9]|9[2-689])|5(?:[56]\\d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-36-9]|6[0-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[1346][1-9]|[27]\\d|5[13-9]|8[1-69]|9[17])|8(?:1\\d|2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[0-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|[69]\\d|7[12]|8[1-8]))\\d{7}"],["(?:2(?:2\\d|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3\\d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[267][1-9]|3[1-8]|[45]\\d|8[1-35-9]|9[2-689])|5(?:[56]\\d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-36-9]|6[0-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[1346][1-9]|[27]\\d|5[13-9]|8[1-69]|9[17])|8(?:1\\d|2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[0-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|[69]\\d|7[12]|8[1-8]))\\d{7}"],["8(?:00|88)\\d{7}"],["900\\d{7}"],["500\\d{7}"],0,0,0,0,["300\\d{7}"]],"00"],MY:["60","00","1\\d{8,9}|(?:3\\d|[4-9])\\d{7}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["[4-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1-$2 $3",["1(?:[02469]|[378][1-9]|53)|8","1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2 $3",["3"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3-$4",["1(?:[367]|80)"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2 $3",["15"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2 $3",["1"],"0$1"]],"0",0,0,0,0,0,[["427[01]\\d{4}|(?:3(?:2[0-36-9]|3[0-368]|4[0-278]|5[0-24-8]|6[0-467]|7[1246-9]|8\\d|9[0-57])\\d|4(?:2[0-689]|[3-79]\\d|8[1-35689])|5(?:2[0-589]|[3468]\\d|5[0-489]|7[1-9]|9[23])|6(?:2[2-9]|3[1357-9]|[46]\\d|5[0-6]|7[0-35-9]|85|9[015-8])|7(?:[2579]\\d|3[03-68]|4[0-8]|6[5-9]|8[0-35-9])|8(?:[24][2-8]|3[2-5]|5[2-7]|6[2-589]|7[2-578]|[89][2-9])|9(?:0[57]|13|[25-7]\\d|[3489][0-8]))\\d{5}",[8,9]],["1(?:(?:1888[689]|4400|8(?:47|8[27])[0-4])\\d{4}|9\\d{7,8})|1(?:0(?:[23568]\\d|4[0-6]|7[016-9]|9[0-8])|1(?:[1-5]\\d\\d|6(?:0[5-9]|[1-9]\\d)|7(?:[0-4]\\d|5[0-79]|6[02-4]|8[02-5]))|(?:[26]\\d|[37][1-9]|4[235-9])\\d|5(?:31|9\\d\\d)|8(?:1[23]|[236]\\d|4[06]|5(?:46|[7-9])|7[016-9]|8[01]|9[0-8]))\\d{5}",[9,10]],["1[378]00\\d{6}",[10]],["1600\\d{6}",[10]],0,0,0,0,["15(?:4(?:6[0-4]\\d|8(?:0[125]|[17]\\d|21|3[01]|4[01589]|5[014]|6[02]))|6(?:32[0-6]|78\\d))\\d{4}",[10]]]],MZ:["258","00","(?:2|8\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-79]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]],0,0,0,0,0,0,[["2(?:[1346]\\d|5[0-2]|[78][12]|93)\\d{5}",[8]],["8[2-79]\\d{7}",[9]],["800\\d{6}",[9]]]],NA:["264","00","[68]\\d{7,8}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["87"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0",0,0,0,0,0,[["64426\\d{3}|6(?:1(?:2[2-7]|3[01378]|4[0-4])|254|32[0237]|4(?:27|41|5[25])|52[236-8]|626|7(?:2[2-4]|30))\\d{4,5}|6(?:1(?:(?:0\\d|2[0189]|3[24-69]|4[5-9])\\d|17|69|7[014])|2(?:17|5[0-36-8]|69|70)|3(?:17|2[14-689]|34|6[289]|7[01]|81)|4(?:17|2[0-2]|4[06]|5[0137]|69|7[01])|5(?:17|2[0459]|69|7[01])|6(?:17|25|38|42|69|7[01])|7(?:17|2[569]|3[13]|6[89]|7[01]))\\d{4}"],["(?:60|8[1245])\\d{7}",[9]],["80\\d{7}",[9]],["8701\\d{5}",[9]],0,0,0,0,["8(?:3\\d\\d|86)\\d{5}"]]],NC:["687","00","(?:050|[2-57-9]\\d\\d)\\d{3}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[02-57-9]"]]],0,0,0,0,0,0,[["(?:2[03-9]|3[0-5]|4[1-7]|88)\\d{4}"],["(?:[579]\\d|8[0-79])\\d{4}"],["050\\d{3}"],["36\\d{4}"]]],NE:["227","00","[027-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["08"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[089]|2[013]|7[0467]"]]],0,0,0,0,0,0,[["2(?:0(?:20|3[1-8]|4[13-5]|5[14]|6[14578]|7[1-578])|1(?:4[145]|5[14]|6[14-68]|7[169]|88))\\d{4}"],["(?:23|7[0467]|[89]\\d)\\d{6}"],["08\\d{6}"],["09\\d{6}"]]],NF:["672","00","[13]\\d{5}",[6],[["(\\d{2})(\\d{4})","$1 $2",["1[0-3]"]],["(\\d)(\\d{5})","$1 $2",["[13]"]]],0,0,"([0-258]\\d{4})$","3$1",0,0,[["(?:1(?:06|17|28|39)|3[0-2]\\d)\\d{3}"],["(?:14|3[58])\\d{4}"]]],NG:["234","009","(?:20|9\\d)\\d{8}|[78]\\d{9,13}",[10,11,12,13,14],[["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[7-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["20[129]"],"0$1"],["(\\d{4})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[78]"],"0$1"],["(\\d{3})(\\d{5})(\\d{5,6})","$1 $2 $3",["[78]"],"0$1"]],"0",0,0,0,0,0,[["20(?:[1259]\\d|3[013-9]|4[1-8]|6[024-689]|7[1-79]|8[2-9])\\d{6}",[10]],["(?:702[0-24-9]|819[01])\\d{6}|(?:7(?:0[13-9]|[12]\\d)|8(?:0[1-9]|1[0-8])|9(?:0[1-9]|1[1-6]))\\d{7}",[10]],["800\\d{7,11}"],0,0,0,["700\\d{7,11}"]]],NI:["505","00","(?:1800|[25-8]\\d{3})\\d{4}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[125-8]"]]],0,0,0,0,0,0,[["2\\d{7}"],["(?:5(?:5[0-7]|[78]\\d)|6(?:20|3[035]|4[045]|5[05]|77|8[1-9]|9[059])|(?:7[5-8]|8\\d)\\d)\\d{5}"],["1800\\d{4}"]]],NL:["31","00","(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}",[5,6,7,8,9,10,11],[["(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],["(\\d)(\\d{8})","$1 $2",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-578]|91"],"0$1"],["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3",["9"],"0$1"]],"0",0,0,0,0,0,[["(?:1(?:[035]\\d|1[13-578]|6[124-8]|7[24]|8[0-467])|2(?:[0346]\\d|2[2-46-9]|5[125]|9[479])|3(?:[03568]\\d|1[3-8]|2[01]|4[1-8])|4(?:[0356]\\d|1[1-368]|7[58]|8[15-8]|9[23579])|5(?:[0358]\\d|[19][1-9]|2[1-57-9]|4[13-8]|6[126]|7[0-3578])|7\\d\\d)\\d{6}",[9]],["(?:6[1-58]|970\\d)\\d{7}",[9,11]],["800\\d{4,7}",[7,8,9,10]],["90[069]\\d{4,7}",[7,8,9,10]],0,0,["140(?:1[035]|2[0346]|3[03568]|4[0356]|5[0358]|8[458])|(?:140(?:1[16-8]|2[259]|3[124]|4[17-9]|5[124679]|7)|8[478]\\d{6})\\d",[5,6,9]],["66\\d{7}",[9]],["(?:85|91)\\d{7}",[9]]]],NO:["47","00","(?:0|[2-9]\\d{3})\\d{4}",[5,8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]"]]],0,0,0,0,0,"[02-689]|7[0-8]",[["(?:2[1-4]|3[1-3578]|5[1-35-7]|6[1-4679]|7[0-8])\\d{6}",[8]],["(?:4[015-8]|9\\d)\\d{6}",[8]],["80[01]\\d{5}",[8]],["82[09]\\d{5}",[8]],["880\\d{5}",[8]],["81[23]\\d{5}",[8]],["(?:0[235-9]|81(?:0(?:0[7-9]|1\\d)|5\\d\\d))\\d{3}"],0,["85[0-5]\\d{5}",[8]],["810(?:0[0-6]|[2-8]\\d)\\d{3}",[8]]]],NP:["977","00","(?:1\\d|9)\\d{9}|[1-9]\\d{7}",[8,10,11],[["(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],["(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"],"0$1"],["(\\d{3})(\\d{7})","$1-$2",["9"]]],"0",0,0,0,0,0,[["(?:1[0-6]\\d|99[02-6])\\d{5}|(?:2[13-79]|3[135-8]|4[146-9]|5[135-7]|6[13-9]|7[15-9]|8[1-46-9]|9[1-7])[2-6]\\d{5}",[8]],["9(?:00|6[0-3]|7[0-24-6]|8[0-24-68])\\d{7}",[10]],["1(?:66001|800\\d\\d)\\d{5}",[11]]]],NR:["674","00","(?:222|444|(?:55|8\\d)\\d|666|777|999)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[24-9]"]]],0,0,0,0,0,0,[["444\\d{4}"],["(?:222|55[3-9]|666|777|8\\d\\d|999)\\d{4}"]]],NU:["683","00","(?:[4-7]|888\\d)\\d{3}",[4,7],[["(\\d{3})(\\d{4})","$1 $2",["8"]]],0,0,0,0,0,0,[["[47]\\d{3}",[4]],["(?:[56]|888[1-9])\\d{3}"]]],NZ:["64","0(?:0|161)","[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,8})","$1 $2",["8[1-79]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["50[036-8]|8|90","50(?:[0367]|88)|8|90"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["24|[346]|7[2-57-9]|9[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:10|74)|[589]"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["1|2[028]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,5})","$1 $2 $3",["2(?:[169]|7[0-35-9])|7"],"0$1"]],"0",0,0,0,0,0,[["240\\d{5}|(?:3[2-79]|[49][2-9]|6[235-9]|7[2-57-9])\\d{6}",[8]],["2(?:[0-27-9]\\d|6)\\d{6,7}|2(?:1\\d|75)\\d{5}",[8,9,10]],["508\\d{6,7}|80\\d{6,8}",[8,9,10]],["(?:1[13-57-9]\\d{5}|50(?:0[08]|30|66|77|88))\\d{3}|90\\d{6,8}",[7,8,9,10]],["70\\d{7}",[9]],0,["8(?:1[16-9]|22|3\\d|4[045]|5[459]|6[235-9]|7[0-3579]|90)\\d{2,7}"]],"00"],OM:["968","00","(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}",[7,8,9],[["(\\d{3})(\\d{4,6})","$1 $2",["[58]"]],["(\\d{2})(\\d{6})","$1 $2",["2"]],["(\\d{4})(\\d{4})","$1 $2",["[179]"]]],0,0,0,0,0,0,[["2[1-6]\\d{6}",[8]],["(?:1505|90[1-9]\\d)\\d{4}|(?:7[124-9]|9[1-9])\\d{6}",[8]],["8007\\d{4,5}|(?:500|800[05])\\d{4}"],["900\\d{5}",[8]]]],PA:["507","00","(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}",[7,8,10,11],[["(\\d{3})(\\d{4})","$1-$2",["[1-57-9]"]],["(\\d{4})(\\d{4})","$1-$2",["[68]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],0,0,0,0,0,0,[["(?:1(?:0\\d|1[0479]|2[37]|3[0137]|4[147]|5[05]|6[058]|7[0167]|8[2358]|9[1389])|2(?:[0235-79]\\d|1[0-7]|4[013-9]|8[02-9])|3(?:[0147-9]\\d|[25][0-5]|33|6[068])|4(?:00|3[0-579]|4\\d|7[0-57-9])|5(?:[01]\\d|2[0-7]|[56]0|79)|7(?:0[09]|2[0-26-8]|3[03]|4[04]|5[05-9]|6[0156]|7[0-24-9]|8[4-9]|90)|8(?:09|2[89]|3\\d|4[0-24-689]|5[014]|8[02])|9(?:0[5-9]|1[0135-8]|2[036-9]|3[35-79]|40|5[0457-9]|6[05-9]|7[04-9]|8[35-8]|9\\d))\\d{4}",[7]],["(?:1[16]1|21[89]|6\\d{3}|8(?:1[01]|7[23]))\\d{4}",[7,8]],["800\\d{4,5}|(?:00800|800\\d)\\d{6}"],["(?:8(?:22|55|60|7[78]|86)|9(?:00|81))\\d{4}",[7]]]],PE:["51","00|19(?:1[124]|77|90)00","(?:[14-8]|9\\d)\\d{7}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["80"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["1"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[4-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"]]],"0",0,0,0,0,0,[["(?:(?:(?:4[34]|5[14])[0-8]|687)\\d|7(?:173|(?:3[0-8]|55)\\d)|8(?:10[05689]|6(?:0[06-9]|1[6-9]|29)|7(?:0[0569]|[56]0)))\\d{4}|(?:1[0-8]|4[12]|5[236]|6[1-7]|7[246]|8[2-4])\\d{6}",[8]],["9\\d{8}",[9]],["800\\d{5}",[8]],["805\\d{5}",[8]],["80[24]\\d{5}",[8]],0,0,0,0,["801\\d{5}",[8]]],"00"," Anexo "],PF:["689","00","4\\d{5}(?:\\d{2})?|8\\d{7,8}",[6,8,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["44"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4|8[7-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]],0,0,0,0,0,0,[["4(?:0[4-689]|9[4-68])\\d{5}",[8]],["8[7-9]\\d{6}",[8]],["80[0-5]\\d{6}",[9]],0,0,0,["44\\d{4}",[6]],0,["499\\d{5}",[8]]]],PG:["675","00|140[1-3]","(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["18|[2-69]|85"]],["(\\d{4})(\\d{4})","$1 $2",["[78]"]]],0,0,0,0,0,0,[["(?:(?:3[0-2]|4[257]|5[34]|9[78])\\d|64[1-9]|85[02-46-9])\\d{4}",[7]],["(?:7\\d|8[1-48])\\d{6}",[8]],["180\\d{4}",[7]],0,0,0,0,["27[01]\\d{4}",[7]],["2(?:0[0-57]|7[568])\\d{4}",[7]]],"00"],PH:["63","00","(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}",[6,8,9,10,11,12,13],[["(\\d)(\\d{5})","$1 $2",["2"],"(0$1)"],["(\\d{4})(\\d{4,6})","$1 $2",["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2","3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"],"(0$1)"],["(\\d{5})(\\d{4})","$1 $2",["346|4(?:27|9[35])|883","3469|4(?:279|9(?:30|56))|8834"],"(0$1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|8[2-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["1"]]],"0",0,0,0,0,0,[["(?:(?:2[3-8]|3[2-68]|4[2-9]|5[2-6]|6[2-58]|7[24578])\\d{3}|88(?:22\\d\\d|42))\\d{4}|(?:2|8[2-8]\\d\\d)\\d{5}",[6,8,9,10]],["(?:8(?:1[37]|9[5-8])|9(?:0[5-9]|1[0-24-9]|[235-7]\\d|4[2-9]|8[135-9]|9[1-9]))\\d{7}",[10]],["1800\\d{7,9}",[11,12,13]]]],PK:["92","00","122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,7})","$1 $2 $3",["[89]0"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["1"]],["(\\d{3})(\\d{6,7})","$1 $2",["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])","9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"],"(0$1)"],["(\\d{2})(\\d{7,8})","$1 $2",["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"],"(0$1)"],["(\\d{5})(\\d{5})","$1 $2",["58"],"(0$1)"],["(\\d{3})(\\d{7})","$1 $2",["3"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[24-9]"],"(0$1)"]],"0",0,0,0,0,0,[["(?:(?:21|42)[2-9]|58[126])\\d{7}|(?:2[25]|4[0146-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]\\d{6,7}|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8]))[2-9]\\d{5,6}",[9,10]],["3(?:[0-247]\\d|3[0-79]|55|64)\\d{7}",[10]],["800\\d{5}(?:\\d{3})?",[8,11]],["900\\d{5}",[8]],["122\\d{6}",[9]],0,["(?:2(?:[125]|3[2358]|4[2-4]|9[2-8])|4(?:[0-246-9]|5[3479])|5(?:[1-35-7]|4[2-467])|6(?:0[468]|[1-8])|7(?:[14]|2[236])|8(?:[16]|2[2-689]|3[23578]|4[3478]|5[2356])|9(?:1|22|3[27-9]|4[2-6]|6[3569]|9[2-7]))111\\d{6}",[11,12]]]],PL:["48","00","(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}",[6,7,8,9,10],[["(\\d{5})","$1",["19"]],["(\\d{3})(\\d{3})","$1 $2",["11|20|64"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["30|(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1","30|(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["64"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[2-8]|[2-7]|8[1-79]|9[145]"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["8"]]],0,0,0,0,0,0,[["(?:30|47\\d\\d)\\d{5}|(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])(?:[02-9]\\d{6}|1(?:[0-8]\\d{5}|9\\d{3}(?:\\d{2})?))",[7,9]],["21(?:1[013-5]|2\\d|3[1-9])\\d{5}|(?:45|5[0137]|6[069]|7[2389]|88)\\d{7}",[9]],["800\\d{6,7}",[9,10]],["70[01346-8]\\d{6}",[9]],0,0,["804\\d{6}",[9]],["64\\d{4,7}",[6,7,8,9]],["39\\d{7}",[9]],["801\\d{6}",[9]]]],PM:["508","00","[78]\\d{8}|[2-9]\\d{5}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["80[6-9]\\d{6}|(?:[236-9]\\d|4[1-35-9]|5[0-47-9])\\d{4}"],["708(?:4[0-5]|5[0-6])\\d{4}|(?:[236-9]\\d|4[02-489]|5[02-9])\\d{4}"],["80[0-5]\\d{6}",[9]],["8[129]\\d{7}",[9]]]],PR:["1","011","(?:[589]\\d\\d|787)\\d{7}",[10],0,"1",0,0,0,0,"787|939",[["(?:787|939)[2-9]\\d{6}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],PS:["970","00","[2489]2\\d{6}|(?:1\\d|5)\\d{8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2489]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["5"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0",0,0,0,0,0,[["(?:22[2-47-9]|42[45]|82[014-68]|92[3569])\\d{5}",[8]],["5[69]\\d{7}",[9]],["1800\\d{6}",[10]],0,0,0,0,0,0,["1700\\d{6}",[10]]]],PT:["351","00","1693\\d{5}|(?:[26-9]\\d|30)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["2[12]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["16|[236-9]"]]],0,0,0,0,0,0,[["2(?:[12]\\d|3[1-689]|4[1-59]|[57][1-9]|6[1-35689]|8[1-69]|9[1256])\\d{6}"],["6(?:[06]92(?:30|9\\d)|[35]92(?:[049]\\d|3[034]))\\d{3}|(?:(?:16|6[0356])93|9(?:[1-36]\\d\\d|480))\\d{5}"],["80[02]\\d{6}"],["(?:6(?:0[178]|4[68])\\d|76(?:0[1-57]|1[2-47]|2[237]))\\d{5}"],["884[0-4689]\\d{5}"],["600\\d{6}|6[06]92(?:0\\d|3[349]|49)\\d{3}"],["70(?:38[01]|596|(?:7\\d|8[17])\\d)\\d{4}"],["6(?:222\\d|89(?:00|88|99))\\d{4}"],["30\\d{7}"],["80(?:8\\d|9[1579])\\d{5}"]]],PW:["680","01[12]","(?:[24-8]\\d\\d|345|900)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]],0,0,0,0,0,0,[["(?:2(?:55|77)|345|488|5(?:35|44|87)|6(?:22|54|79)|7(?:33|47)|8(?:24|55|76)|900)\\d{4}"],["(?:(?:46|83)[0-5]|(?:6[2-4689]|78)0)\\d{4}|(?:45|77|88)\\d{5}"]]],PY:["595","00","[36-8]\\d{5,8}|4\\d{6,8}|59\\d{6}|9\\d{5,10}|(?:2\\d|5[0-8])\\d{6,7}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["3[289]|4[246-8]|61|7[1-3]|8[1-36]"],"(0$1)"],["(\\d{3})(\\d{4,5})","$1 $2",["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["87"]],["(\\d{3})(\\d{6})","$1 $2",["9(?:[5-79]|8[1-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],"0",0,0,0,0,0,[["(?:3[289]|4[246-8]|61|7[1-3]|8[1-36])\\d{5,7}|(?:2(?:[14-68]\\d|2[4-68]|7[15]|9[1-5])|3(?:18|3[167]|4[2357]|51|[67]\\d)|4(?:1\\d|3[12]|5[13]|9[1-47])|5(?:[1-4]\\d|5[02-4])|6(?:3[1-3]|44|7[1-8])|7(?:4[0-4]|5\\d|6[1-578]|75|8[0-8])|858)\\d{5,6}",[7,8,9]],["9(?:51|6[129]|7[1-6]|8[1-7]|9[1-5])\\d{6}",[9]],["9800\\d{5,7}",[9,10,11]],0,0,0,["[245]0\\d{6,7}|[36-9]0\\d{4,7}",[6,7,8,9]],0,["8700[0-4]\\d{4}",[9]]]],QA:["974","00","800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}",[7,8,9,11],[["(\\d{3})(\\d{4})","$1 $2",["2[136]|8"]],["(\\d{4})(\\d{4})","$1 $2",["[3-7]"]]],0,0,0,0,0,0,[["4(?:(?:[014]\\d\\d|999)\\d|2022)\\d{3}",[8]],["[35-7]\\d{7}",[8]],["800\\d{4}|(?:0080[01]|800)\\d{6}",[7,9,11]],0,0,0,0,["2[136]\\d{5}",[7]]]],RE:["262","00","709\\d{6}|(?:26|[689]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-9]"],"0$1"]],"0",0,0,0,0,0,[["2631[0-6]\\d{4}|26(?:2\\d|30|88)\\d{5}"],["(?:69(?:2\\d\\d|3(?:[06][0-6]|1[0-3]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))|7092[0-3])\\d{4}"],["80\\d{7}"],["89[1-37-9]\\d{6}"],0,0,0,0,["9(?:399[0-3]|479[0-6]|76(?:2[278]|3[0-37]))\\d{4}"],["8(?:1[019]|2[0156]|84|90)\\d{6}"]]],RO:["40","00","(?:[236-8]\\d|90)\\d{7}|[23]\\d{5}",[6,9],[["(\\d{3})(\\d{3})","$1 $2",["2[3-6]","2[3-6]\\d9"],"0$1"],["(\\d{2})(\\d{4})","$1 $2",["219|31"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23]1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[236-9]"],"0$1"]],"0",0,0,0,0,0,[["[23][13-6]\\d{7}|(?:2(?:19\\d|[3-6]\\d9)|31\\d\\d)\\d\\d"],["(?:630|702)0\\d{5}|(?:6(?:00|2\\d)|7(?:0[013-9]|1[0-3]|[2-7]\\d|8[03-8]|9[0-39]))\\d{6}",[9]],["800\\d{6}",[9]],["90[0136]\\d{6}",[9]],0,0,["(?:37\\d|80[578])\\d{6}",[9]],0,0,["801\\d{6}",[9]]],0," int "],RS:["381","00","38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}",[6,7,8,9,10,11,12],[["(\\d{3})(\\d{3,9})","$1 $2",["(?:2[389]|39)0|[7-9]"],"0$1"],["(\\d{2})(\\d{5,10})","$1 $2",["[1-36]"],"0$1"]],"0",0,0,0,0,0,[["(?:11[1-9]\\d|(?:2[389]|39)(?:0[2-9]|[2-9]\\d))\\d{3,8}|(?:1[02-9]|2[0-24-7]|3[0-8])[2-9]\\d{4,9}",[7,8,9,10,11,12]],["6(?:[0-689]|7\\d)\\d{6,7}",[8,9,10]],["800\\d{3,9}"],["(?:78\\d|90[0169])\\d{3,7}",[6,7,8,9,10]],0,0,["7[06]\\d{4,10}"]]],RU:["7","810","8\\d{13}|[347-9]\\d{9}",[10,14],[["(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",1],["(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",1],["(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],"8",0,0,0,0,"[3489]",[["(?:3(?:0[12]|36|4[1-35-79]|5[1-3]|65|8[1-58]|9[0145])|4(?:01|1[1356]|2[13467]|7[1-5]|8[1-7]|9[1-689])|8(?:1[1-8]|2[01]|3[13-6]|4[0-8]|5[15-7]|6[0-35-79]|7[1-37-9]))\\d{7}",[10]],["9\\d{9}",[10]],["8(?:0[04]|108\\d{3})\\d{7}"],["80[39]\\d{7}",[10]],["808\\d{7}",[10]]],"8~10"],RW:["250","00","(?:06|[27]\\d\\d|[89]00)\\d{6}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"]],"0",0,0,0,0,0,[["(?:06|2[23568]\\d)\\d{6}"],["7[237-9]\\d{7}",[9]],["800\\d{6}",[9]],["900\\d{6}",[9]]]],SA:["966","00","(?:[15]\\d|800|92)\\d{7}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["9"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],"0",0,0,0,0,0,[["1(?:1\\d|2[24-8]|3[35-8]|4[3-68]|6[2-5]|7[235-7])\\d{6}",[9]],["579[0-8]\\d{5}|5(?:[013-689]\\d|7[0-8])\\d{6}",[9]],["800\\d{7}",[10]],["925\\d{6}",[9]],0,0,0,0,0,["920\\d{6}",[9]]]],SB:["677","0[01]","[6-9]\\d{6}|[1-6]\\d{4}",[5,7],[["(\\d{2})(\\d{5})","$1 $2",["6[89]|7|8[4-9]|9(?:[1-8]|9[0-8])"]]],0,0,0,0,0,0,[["(?:1[4-79]|[23]\\d|4[0-2]|5[03]|6[0-37])\\d{3}",[5]],["48\\d{3}|(?:(?:6[89]|7[1-9]|8[4-9])\\d|9(?:1[2-9]|2[013-9]|3[0-2]|[46]\\d|5[0-46-9]|7[0-689]|8[0-79]|9[0-8]))\\d{4}"],["1[38]\\d{3}",[5]],0,0,0,0,0,["5[12]\\d{3}",[5]]]],SC:["248","010|0[0-2]","(?:[2489]\\d|64)\\d{5}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]|9[57]"]]],0,0,0,0,0,0,[["4[2-46]\\d{5}"],["2[125-8]\\d{5}"],["800[08]\\d{3}"],["85\\d{5}"],0,0,0,0,["971\\d{4}|(?:64|95)\\d{5}"]],"00"],SD:["249","00","[19]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[19]"],"0$1"]],"0",0,0,0,0,0,[["1(?:5\\d|8[35-7])\\d{6}"],["(?:1[0-2]|9[0-3569])\\d{7}"]]],SE:["46","00","(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}",[6,7,8,9,10,12],[["(\\d{2})(\\d{2,3})(\\d{2})","$1-$2 $3",["20"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{4})","$1-$2",["9(?:00|39|44|9)"],"0$1",0,"$1 $2"],["(\\d{2})(\\d{3})(\\d{2})","$1-$2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3"],["(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2,3})(\\d{2})","$1-$2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{2,3})(\\d{3})","$1-$2 $3",["9(?:00|39|44)"],"0$1",0,"$1 $2 $3"],["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3 $4"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["10|7"],"0$1",0,"$1 $2 $3 $4"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1-$2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1-$2 $3 $4",["9"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4 $5",["[26]"],"0$1",0,"$1 $2 $3 $4 $5"]],"0",0,0,0,0,0,[["(?:(?:[12][136]|3[356]|4[0246]|6[03]|8\\d)\\d|90[1-9])\\d{4,6}|(?:1(?:2[0-35]|4[0-4]|5[0-25-9]|7[13-6]|[89]\\d)|2(?:2[0-7]|4[0136-8]|5[0138]|7[018]|8[01]|9[0-57])|3(?:0[0-4]|1\\d|2[0-25]|4[056]|7[0-2]|8[0-3]|9[023])|4(?:1[013-8]|3[0135]|5[14-79]|7[0-246-9]|8[0156]|9[0-689])|5(?:0[0-6]|[15][0-5]|2[0-68]|3[0-4]|4\\d|6[03-5]|7[013]|8[0-79]|9[01])|6(?:1[1-3]|2[0-4]|4[02-57]|5[0-37]|6[0-3]|7[0-2]|8[0247]|9[0-356])|9(?:1[0-68]|2\\d|3[02-5]|4[0-3]|5[0-4]|[68][01]|7[0135-8]))\\d{5,6}",[7,8,9]],["7[02369]\\d{7}",[9]],["20\\d{4,7}",[6,7,8,9]],["649\\d{6}|99[1-59]\\d{4}(?:\\d{3})?|9(?:00|39|44)[1-8]\\d{3,6}",[7,8,9,10]],["75[1-8]\\d{6}",[9]],["(?:25[245]|67[3-68])\\d{9}",[12]],["10[1-8]\\d{6}",[9]],["74[02-9]\\d{6}",[9]],0,["77[0-7]\\d{6}",[9]]]],SG:["65","0[0-3]\\d","(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-9]|[1-9])"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],["(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]],0,0,0,0,0,0,[["662[0-24-9]\\d{4}|6(?:[0-578]\\d|6[013-57-9]|9[0-35-9])\\d{5}",[8]],["898[02-9]\\d{4}|(?:8(?:0[1-9]|[1-8]\\d|9[0-79])|9[0-8]\\d)\\d{5}",[8]],["(?:18|8)00\\d{7}",[10,11]],["1900\\d{7}",[11]],0,0,["7000\\d{7}",[11]],0,["(?:3[12]\\d|666)\\d{5}",[8]]]],SH:["290","00","(?:[256]\\d|8)\\d{3}",[4,5],0,0,0,0,0,0,"[256]",[["2(?:[0-57-9]\\d|6[4-9])\\d\\d"],["[56]\\d{4}",[5]],0,0,0,0,0,0,["262\\d\\d",[5]]]],SI:["386","00|10(?:22|66|88|99)","[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}",[5,6,7,8],[["(\\d{2})(\\d{3,6})","$1 $2",["8[09]|9"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["59|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37][01]|4[0139]|51|6"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-57]"],"(0$1)"]],"0",0,0,0,0,0,[["(?:[1-357][2-8]|4[24-8])\\d{6}",[8]],["65(?:[178]\\d|5[56]|6[01])\\d{4}|(?:[37][01]|4[0139]|51|6[489])\\d{6}",[8]],["80\\d{4,6}",[6,7,8]],["89[1-3]\\d{2,5}|90\\d{4,6}"],0,0,0,0,["(?:59\\d\\d|8(?:1(?:[67]\\d|8[0-589])|2(?:0\\d|2[0-37-9]|8[0-2489])|3[389]\\d))\\d{4}",[8]]],"00"],SJ:["47","00","0\\d{4}|(?:[489]\\d|79)\\d{6}",[5,8],0,0,0,0,0,0,"79",[["79\\d{6}",[8]],["(?:4[015-8]|9\\d)\\d{6}",[8]],["80[01]\\d{5}",[8]],["82[09]\\d{5}",[8]],["880\\d{5}",[8]],["81[23]\\d{5}",[8]],["(?:0[235-9]|81(?:0(?:0[7-9]|1\\d)|5\\d\\d))\\d{3}"],0,["85[0-5]\\d{5}",[8]],["810(?:0[0-6]|[2-8]\\d)\\d{3}",[8]]]],SK:["421","00","[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}",[6,7,9],[["(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[3-5]"],"0$1"]],"0",0,0,0,0,0,[["(?:2(?:16|[2-9]\\d{3})|(?:(?:[3-5][1-8]\\d|819)\\d|601[1-5])\\d)\\d{4}|(?:2|[3-5][1-8])1[67]\\d{3}|[3-5][1-8]16\\d\\d"],["909[1-9]\\d{5}|9(?:0[1-8]|1[0-24-9]|4[03-57-9]|5\\d)\\d{6}",[9]],["800\\d{6}",[9]],["9(?:00|[78]\\d)\\d{6}",[9]],0,0,["96\\d{7}",[9]],["9090\\d{3}",[7]],["6(?:02|5[0-4]|9[0-6])\\d{6}",[9]],["8[5-9]\\d{7}",[9]]]],SL:["232","00","(?:[237-9]\\d|66)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[236-9]"],"(0$1)"]],"0",0,0,0,0,0,[["22[2-4][2-9]\\d{4}"],["(?:25|3[0-5]|66|7\\d|8[08]|9[09])\\d{6}"]]],SM:["378","00","(?:0549|[5-7]\\d)\\d{6}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],["(\\d{4})(\\d{6})","$1 $2",["0"]]],0,0,"([89]\\d{5})$","0549$1",0,0,[["0549(?:8[0157-9]|9\\d)\\d{4}",[10]],["6[16]\\d{6}",[8]],0,["7[178]\\d{6}",[8]],0,0,0,0,["5[158]\\d{6}",[8]]]],SN:["221","00","(?:[378]\\d|93)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[379]"]]],0,0,0,0,0,0,[["3(?:0(?:1[0-2]|80)|282|3(?:8[1-9]|9[3-9])|611)\\d{5}"],["7(?:[015-8]\\d|21|90)\\d{6}"],["800\\d{6}"],["88[4689]\\d{6}"],0,0,0,0,["(?:3(?:392|9[01]\\d)\\d|93(?:3[13]0|929))\\d{4}"],["81[02468]\\d{6}"]]],SO:["252","00","[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}",[6,7,8,9],[["(\\d{2})(\\d{4})","$1 $2",["8[125]"]],["(\\d{6})","$1",["[134]"]],["(\\d)(\\d{6})","$1 $2",["[15]|2[0-79]|3[0-46-8]|4[0-7]"]],["(\\d)(\\d{7})","$1 $2",["(?:2|90)4|[67]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[348]|64|79|90"]],["(\\d{2})(\\d{5,7})","$1 $2",["1|28|6[0-35-9]|7[67]|9[2-9]"]]],"0",0,0,0,0,0,[["(?:1\\d|2[0-79]|3[0-46-8]|4[0-7]|5[57-9])\\d{5}|(?:[134]\\d|8[125])\\d{4}",[6,7]],["(?:(?:15|(?:3[59]|4[89]|6\\d|7[679]|8[08])\\d|9(?:0\\d|[2-9]))\\d|2(?:4\\d|8))\\d{5}|(?:[67]\\d\\d|904)\\d{5}",[7,8,9]]]],SR:["597","00","(?:[2-5]|[6-9]\\d)\\d{5}",[6,7],[["(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],["(\\d{3})(\\d{3})","$1-$2",["[2-5]"]],["(\\d{3})(\\d{4})","$1-$2",["[6-9]"]]],0,0,0,0,0,0,[["(?:2[1-3]|3[0-7]|4\\d|5[2-578])\\d{4}",[6]],["(?:6[08]|7[124-7]|8[1-9])\\d{5}",[7]],["80\\d{5}",[7]],["90\\d{5}",[7]],0,0,0,0,["(?:56|91\\d)\\d{4}"]]],SS:["211","00","[19]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[19]"],"0$1"]],"0",0,0,0,0,0,[["1[89]\\d{7}"],["(?:12|9[1257-9])\\d{7}"]]],ST:["239","00","(?:22|9\\d)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[29]"]]],0,0,0,0,0,0,[["22\\d{5}"],["900[5-9]\\d{3}|9(?:0[1-9]|[89]\\d)\\d{4}"]]],SV:["503","00","[25-7]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?",[7,8,11],[["(\\d{3})(\\d{4})","$1 $2",["[89]"]],["(\\d{4})(\\d{4})","$1 $2",["[25-7]"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[89]"]]],0,0,0,0,0,0,[["2(?:79(?:0[0347-9]|[1-9]\\d)|89(?:0[024589]|[1-9]\\d))\\d{3}|2(?:[1-69]\\d|[78][0-8])\\d{5}",[8]],["[5-7]\\d{7}",[8]],["800\\d{8}|80[01]\\d{4}",[7,11]],["900\\d{4}(?:\\d{4})?",[7,11]]]],SX:["1","011","7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"(5\\d{6})$|1","721$1",0,"721",[["7215(?:4[2-8]|8[39]|9[056])\\d{4}"],["7215(?:1[02]|2\\d|5[034679]|8[0-24-8])\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],SY:["963","00","[1-359]\\d{8}|[1-5]\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-4]|5[1-3]"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[59]"],"0$1",1]],"0",0,0,0,0,0,[["21\\d{6,7}|(?:1(?:[14]\\d|[2356])|2[235]|3(?:[13]\\d|4)|4[134]|5[1-3])\\d{6}"],["(?:50|9[1-9])\\d{7}",[9]]]],SZ:["268","00","0800\\d{4}|(?:[237]\\d|900)\\d{6}",[8,9],[["(\\d{4})(\\d{4})","$1 $2",["[0237]"]],["(\\d{5})(\\d{4})","$1 $2",["9"]]],0,0,0,0,0,0,[["[23][2-5]\\d{6}",[8]],["7[5-9]\\d{6}",[8]],["0800\\d{4}",[8]],["900\\d{6}",[9]],0,0,0,0,["70\\d{6}",[8]]]],TA:["290","00","8\\d{3}",[4],0,0,0,0,0,0,"8",[["8\\d{3}"]]],TC:["1","011","(?:[58]\\d\\d|649|900)\\d{7}",[10],0,"1",0,"([2-479]\\d{6})$|1","649$1",0,"649",[["649(?:266|712|9(?:4\\d|50))\\d{4}"],["649(?:2(?:3[129]|4[1-79])|3\\d\\d|4[34][1-3])\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"],0,0,0,["649(?:71[01]|966)\\d{4}"]]],TD:["235","00|16","(?:22|[3689]\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[236-9]"]]],0,0,0,0,0,0,[["22(?:[37-9]0|5[0-5]|6[89])\\d{4}"],["(?:3[01]|[69]\\d|77|8[5-7])\\d{6}"]],"00"],TG:["228","00","[279]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[279]"]]],0,0,0,0,0,0,[["2(?:2[2-7]|3[23]|4[45]|55|6[67]|77)\\d{5}"],["(?:7[0-289]|9[0-36-9])\\d{6}"]]],TH:["66","00[1-9]","(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}",[8,9,10,13],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[13-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0",0,0,0,0,0,[["(?:1[0689]|2\\d|3[2-9]|4[2-5]|5[2-6]|7[3-7])\\d{6}",[8]],["(?:(?:14|[89]\\d)\\d\\d|6(?:[1-6]\\d\\d|7(?:1[0-8]|2[4-7]|3[1-6])))\\d{5}",[9]],["(?:001800\\d|1800)\\d{6}",[10,13]],["1900\\d{6}",[10]],0,0,0,0,["6[08]\\d{7}",[9]]]],TJ:["992","810","(?:[0-57-9]\\d|66)\\d{7}",[9],[["(\\d{6})(\\d)(\\d{2})","$1 $2 $3",["331","3317"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["44[02-479]|[34]7"]],["(\\d{4})(\\d)(\\d{4})","$1 $2 $3",["3(?:[1245]|3[12])"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["\\d"]]],0,0,0,0,0,0,[["(?:3(?:1[3-5]|2[245]|3[12]|4[24-7]|5[25]|72)|4(?:46|74|87))\\d{6}"],["(?:33[03-9]|4(?:1[18]|4[02-479])|81[1-9])\\d{6}|(?:[09]\\d|1[0-27-9]|2[0-27]|3[08]|40|5[05]|66|7[0157-9]|8[07-9])\\d{7}"]],"8~10"],TK:["690","00","[2-47]\\d{3,6}",[4,5,6,7],0,0,0,0,0,0,0,[["(?:2[2-4]|[34]\\d)\\d{2,5}"],["7[2-4]\\d{2,5}"]]],TL:["670","00","7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[2-489]|70"]],["(\\d{4})(\\d{4})","$1 $2",["7"]]],0,0,0,0,0,0,[["(?:2[1-5]|3[1-9]|4[1-4])\\d{5}",[7]],["7[2-8]\\d{6}",[8]],["80\\d{5}",[7]],["90\\d{5}",[7]],["70\\d{5}",[7]]]],TM:["993","810","(?:[1-6]\\d|71)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-5]"],"(8 $1)"],["(\\d{2})(\\d{6})","$1 $2",["[67]"],"8 $1"]],"8",0,0,0,0,0,[["(?:1(?:2\\d|3[1-9])|2(?:22|4[0-35-8])|3(?:22|4[03-9])|4(?:22|3[128]|4\\d|6[15])|5(?:22|5[7-9]|6[014-689]))\\d{5}"],["(?:6\\d|71)\\d{6}"]],"8~10"],TN:["216","00","[2-57-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]"]]],0,0,0,0,0,0,[["81200\\d{3}|(?:3[0-2]|7\\d)\\d{6}"],["3(?:001|[12]40)\\d{4}|(?:(?:[259]\\d|4[0-8])\\d|3(?:1[1-35]|6[0-4]|91))\\d{5}"],["8010\\d{4}"],["88\\d{6}"],0,0,0,0,0,["8[12]10\\d{4}"]]],TO:["676","00","(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}",[5,7],[["(\\d{2})(\\d{3})","$1-$2",["[2-4]|50|6[09]|7[0-24-69]|8[05]"]],["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[5-9]"]]],0,0,0,0,0,0,[["(?:2\\d|3[0-8]|4[0-4]|50|6[09]|7[0-24-69]|8[05])\\d{3}",[5]],["(?:5(?:4[0-5]|5[4-6])|6(?:[09]\\d|3[02]|8[15-9])|(?:7\\d|8[46-9])\\d|999)\\d{4}",[7]],["0800\\d{3}",[7]],0,0,0,0,0,["55[0-37-9]\\d{4}",[7]]]],TR:["90","00","4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}",[7,10,12,13],[["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5[0-79]"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",1],["(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",1]],"0",0,0,0,0,0,[["(?:2(?:1[26]|[28][2468]|[3-5][268]|[67][246])|3(?:[13][28]|[24-6][2468]|[78][02468]|92)|4(?:[16][246]|[23578][2468]|4[26]))\\d{7}",[10]],["561(?:011|61\\d)\\d{4}|5(?:[03-5]\\d|1[06]|24|6[24]|7[245]|9[46])\\d{7}",[10]],["8(?:00\\d{7}(?:\\d{2,3})?|11\\d{7})",[10,12,13]],["(?:8[89]8|900)\\d{7}",[10]],["592(?:21[12]|461)\\d{4}",[10]],0,["444\\d{4}",[7]],["512\\d{7}",[10]],["850\\d{7}",[10]]]],TT:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-46-8]\\d{6})$|1","868$1",0,"868",[["868(?:2(?:01|1[5-9]|[23]\\d|4[0-2])|6(?:0[7-9]|1[02-8]|2[1-9]|[3-69]\\d|7[0-79])|82[124])\\d{4}"],["868(?:(?:2[5-9]|3\\d)\\d|4(?:3[0-6]|[6-9]\\d)|6(?:20|78|8\\d)|7(?:0[1-9]|1[02-9]|[2-9]\\d))\\d{4}"],["868800\\d{4}|8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"],["868619\\d{4}"]]],TV:["688","00","(?:2|7\\d\\d|90)\\d{4}",[5,6,7],[["(\\d{2})(\\d{3})","$1 $2",["2"]],["(\\d{2})(\\d{4})","$1 $2",["90"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]],0,0,0,0,0,0,[["2[02-9]\\d{3}",[5]],["(?:7[01]\\d|90)\\d{4}",[6,7]]]],TW:["886","0(?:0[25-79]|19)","[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}",[7,8,9,10,11],[["(\\d{2})(\\d)(\\d{4})","$1 $2 $3",["202"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["826"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["83"],"0$1"],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["82"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[25]0|37|49|8[09]"],"0$1"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-478])|7[1-9]","[23568]|4(?:0[2-48]|[1-478])|(?:400|7)[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,5})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,[["(?:2[2-8]\\d|370|55[01]|7[1-9])\\d{6}|4(?:(?:0(?:0[1-9]|[2-48]\\d)|1[023]\\d)\\d{4,5}|(?:[239]\\d\\d|4(?:0[56]|12|49))\\d{5})|6(?:[01]\\d{7}|4(?:0[56]|12|24|4[09])\\d{4,5})|8(?:(?:2(?:3\\d|4[0-269]|[578]0|66)|36[24-9]|90\\d\\d)\\d{4}|4(?:0[56]|12|24|4[09])\\d{4,5})|(?:2(?:2(?:0\\d\\d|4(?:0[68]|[249]0|3[0-467]|5[0-25-9]|6[0235689]))|(?:3(?:[09]\\d|1[0-4])|(?:4\\d|5[0-49]|6[0-29]|7[0-5])\\d)\\d)|(?:(?:3[2-9]|5[2-8]|6[0-35-79]|8[7-9])\\d\\d|4(?:2(?:[089]\\d|7[1-9])|(?:3[0-4]|[78]\\d|9[01])\\d))\\d)\\d{3}",[8,9]],["(?:40001[0-2]|9[0-8]\\d{4})\\d{3}",[9]],["80[0-79]\\d{6}|800\\d{5}",[8,9]],["20(?:[013-9]\\d\\d|2)\\d{4}",[7,9]],["99\\d{7}",[9]],0,["50[0-46-9]\\d{6}",[9]],0,["7010(?:[0-2679]\\d|3[0-7]|8[0-5])\\d{5}|70\\d{8}",[10,11]]],0,"#"],TZ:["255","00[056]","(?:[25-8]\\d|41|90)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[24]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["5"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[67]"],"0$1"]],"0",0,0,0,0,0,[["2[2-8]\\d{7}"],["(?:6[1-35-9]|7[013-9])\\d{7}"],["80[08]\\d{6}"],["90\\d{7}"],0,0,0,0,["41\\d{7}"],["8(?:40|6[01])\\d{6}"]]],UA:["380","00","[89]\\d{9}|[3-9]\\d{8}",[9,10],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]","6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])","3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|89|9[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0",0,0,0,0,0,[["(?:3[1-8]|4[13-8]|5[1-7]|6[12459])\\d{7}",[9]],["790\\d{6}|(?:39|50|6[36-8]|7[1-357]|9[1-9])\\d{7}",[9]],["800[1-8]\\d{5,6}"],["900[239]\\d{5,6}"],0,0,0,0,["89[1-579]\\d{6}",[9]]],"0~0"],UG:["256","00[057]","800\\d{6}|(?:[29]0|[347]\\d)\\d{7}",[9],[["(\\d{4})(\\d{5})","$1 $2",["202","2024"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[27-9]|4(?:6[45]|[7-9])"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[34]"],"0$1"]],"0",0,0,0,0,0,[["20(?:(?:240|30[67])\\d|6(?:00[0-2]|30[0-4]))\\d{3}|(?:20(?:[017]\\d|2[5-9]|3[1-4]|5[0-4]|6[15-9])|[34]\\d{3})\\d{5}"],["72[48]0\\d{5}|7(?:[014-8]\\d|2[0167]|3[06]|9[0-589])\\d{6}"],["800[1-3]\\d{5}"],["90[1-3]\\d{6}"]]],US:["1","011","[2-9]\\d{9}|3\\d{6}",[10],[["(\\d{3})(\\d{4})","$1-$2",["310"],0,1],["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",["[2-9]"],0,1,"$1-$2-$3"]],"1",0,0,0,0,0,[["(?:274[27]|(?:472|983)[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[013-79]|3[0-24679]|4[167]|5[0-3]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-57-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-269])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-2478]|4[0378]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[0168]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-3589]|8[04-69]))[2-9]\\d{6}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],UY:["598","0(?:0|1[3-9]\\d)","0004\\d{2,9}|[1249]\\d{7}|2\\d{3,4}|(?:[49]\\d|80)\\d{5}",[4,5,6,7,8,9,10,11,12,13],[["(\\d{4,5})","$1",["21"]],["(\\d{3})(\\d{3,4})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[49]0|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[124]"]],["(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3 $4",["0"]]],"0",0,0,0,0,0,[["(?:1(?:770|9(?:20|[89]7))|(?:2\\d|4[2-7])\\d\\d)\\d{4}",[8]],["9[1-9]\\d{6}",[8]],["0004\\d{2,9}|(?:405|80[05])\\d{4}",[6,7,8,9,10,11,12,13]],["90[0-8]\\d{4}",[7]],0,0,["21\\d{2,3}",[4,5]]],"00"," int. "],UZ:["998","00","(?:20|33|[5-9]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-9]"]]],0,0,0,0,0,0,[["(?:55\\d\\d|6(?:1(?:22|3[124]|4[1-4]|5[1-3578]|64)|2(?:22|3[0-57-9]|41)|5(?:22|3[3-7]|5[024-8])|[69]\\d\\d|7(?:[23]\\d|7[69]))|7(?:0(?:5[4-9]|6[0146]|7[124-6]|9[135-8])|[168]\\d\\d|2(?:22|3[13-57-9]|4[1-3579]|5[14])|3(?:2\\d|3[1578]|4[1-35-7]|5[1-57]|61)|4(?:2\\d|3[1-579]|7[1-79])|5(?:22|5[1-9]|6[1457])|9(?:22|5[1-9])))\\d{5}"],["(?:(?:[25]0|33|8[078]|9[0-57-9])\\d{3}|6(?:1(?:2(?:2[01]|98)|35[0-4]|50\\d|61[23]|7(?:[01][017]|4\\d|55|9[5-9]))|2(?:(?:11|7\\d)\\d|2(?:[12]1|9[01379])|5(?:[126]\\d|3[0-4]))|5(?:19[01]|2(?:27|9[26])|(?:30|59|7\\d)\\d)|6(?:2(?:1[5-9]|2[0367]|38|41|52|60)|(?:3[79]|9[0-3])\\d|4(?:56|83)|7(?:[07]\\d|1[017]|3[07]|4[047]|5[057]|67|8[0178]|9[79]))|7(?:2(?:24|3[237]|4[5-9]|7[15-8])|5(?:7[12]|8[0589])|7(?:0\\d|[39][07])|9(?:0\\d|7[079])))|7(?:[07]\\d{3}|2(?:2(?:2[79]|95)|3(?:2[5-9]|6[0-6])|57\\d|7(?:0\\d|1[17]|2[27]|3[37]|44|5[057]|66|88))|3(?:2(?:1[0-6]|21|3[469]|7[159])|(?:33|9[4-6])\\d|5(?:0[0-4]|5[579]|9\\d)|7(?:[0-3579]\\d|4[0467]|6[67]|8[078]))|4(?:2(?:29|5[0257]|6[0-7]|7[1-57])|5(?:1[0-4]|8\\d|9[5-9])|7(?:0\\d|1[024589]|2[0-27]|3[0137]|[46][07]|5[01]|7[5-9]|9[079])|9(?:7[015-9]|[89]\\d))|5(?:112|2(?:0\\d|2[29]|[49]4)|3[1568]\\d|52[6-9]|7(?:0[01578]|1[017]|[23]7|4[047]|[5-7]\\d|8[78]|9[079]))|9(?:22[128]|3(?:2[0-4]|7\\d)|57[02569]|7(?:2[05-9]|3[37]|4\\d|60|7[2579]|87|9[07]))))\\d{4}"]]],VA:["39","00","0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}",[6,7,8,9,10,11,12],0,0,0,0,0,0,"06698",[["06698\\d{1,6}",[6,7,8,9,10,11]],["3[1-9]\\d{8}|3[2-9]\\d{7}",[9,10]],["80(?:0\\d{3}|3)\\d{3}",[6,9]],["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",[6,8,9,10]],["1(?:78\\d|99)\\d{6}",[9,10]],["3[2-8]\\d{9,10}",[11,12]],0,0,["55\\d{8}",[10]],["84(?:[08]\\d{3}|[17])\\d{3}",[6,9]]]],VC:["1","011","(?:[58]\\d\\d|784|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","784$1",0,"784",[["784(?:266|3(?:6[6-9]|7\\d|8[0-6])|4(?:38|5[0-36-8]|8[0-8])|5(?:55|7[0-2]|93)|638|784)\\d{4}"],["784(?:4(?:3[0-5]|5[45]|89|9[0-8])|5(?:2[6-9]|3[0-4])|720)\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"],0,0,0,["78451[0-2]\\d{4}"]]],VE:["58","00","[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}",[10],[["(\\d{3})(\\d{7})","$1-$2",["[24-689]"],"0$1"]],"0",0,0,0,0,0,[["(?:2(?:12|3[457-9]|[467]\\d|[58][1-9]|9[1-6])|[4-6]00)\\d{7}"],["4(?:1[24-8]|2[246])\\d{7}"],["800\\d{7}"],["90[01]\\d{7}"],0,0,["501\\d{7}"]]],VG:["1","011","(?:284|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-578]\\d{6})$|1","284$1",0,"284",[["284(?:229|4(?:22|9[45])|774|8(?:52|6[459]))\\d{4}"],["284(?:245|3(?:0[0-3]|4[0-7]|68|9[34])|4(?:4[0-6]|68|9[69])|5(?:4[0-7]|68|9[69]))\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],VI:["1","011","[58]\\d{9}|(?:34|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","340$1",0,"340",[["340(?:2(?:0\\d|10|2[06-8]|4[49]|77)|3(?:32|44)|4(?:2[23]|44|7[34]|89)|5(?:1[34]|55)|6(?:2[56]|4[23]|77|9[023])|7(?:1[2-57-9]|2[57]|7\\d)|884|998)\\d{4}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],VN:["84","00","[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["80"],"0$1",1],["(\\d{4})(\\d{4,6})","$1 $2",["1(?:2[02]|[89])"],0,1],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[26]|6"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[357-9]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",1]],"0",0,0,0,0,0,[["2(?:0[3-9]|1[0-689]|2[0-25-9]|[38][2-9]|4[2-8]|5[124-9]|6[0-39]|7[0-7]|9[0-4679])\\d{7}",[10]],["121[0-3]\\d{5}|(?:160|(?:3\\d|7[06-9])\\d|5(?:[1689]\\d|2[238]|59)|8(?:[1-8]\\d|9[6-9])|9(?:[0-8]\\d|9[013-9]))\\d{6}",[9]],["1800\\d{4,6}|12(?:0[13]|28)\\d{4}",[8,9,10]],["1900\\d{4,6}",[8,9,10]],0,0,["(?:[17]99|80\\d)\\d{4}|69\\d{5,6}",[7,8]],0,["672\\d{6}",[9]]]],VU:["678","00","[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}",[5,7],[["(\\d{3})(\\d{4})","$1 $2",["[57-9]"]]],0,0,0,0,0,0,[["(?:38[0-8]|48[4-9])\\d\\d|(?:2[02-9]|3[4-7]|88)\\d{3}",[5]],["(?:[58]\\d|7[0-7])\\d{5}",[7]],["81[18]\\d\\d",[5]],0,0,0,["(?:3[03]|900\\d)\\d{3}"],0,["9(?:0[1-9]|1[01])\\d{4}",[7]]]],WF:["681","00","(?:40|72|8\\d{4})\\d{4}|[89]\\d{5}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[47-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]],0,0,0,0,0,0,[["72\\d{4}",[6]],["(?:72|8[23])\\d{4}",[6]],["80[0-5]\\d{6}",[9]],0,0,["[48]0\\d{4}",[6]],0,0,["9[23]\\d{4}",[6]]]],WS:["685","0","(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}",[5,6,7,10],[["(\\d{5})","$1",["[2-5]|6[1-9]"]],["(\\d{3})(\\d{3,7})","$1 $2",["[68]"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]],0,0,0,0,0,0,[["6[1-9]\\d{3}|(?:[2-5]|60)\\d{4}",[5,6]],["(?:7[1-35-8]|8(?:[3-7]|9\\d{3}))\\d{5}",[7,10]],["800\\d{3}",[6]]]],XK:["383","00","2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}",[8,9,10,11,12],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2|39"],"0$1"],["(\\d{2})(\\d{7,10})","$1 $2",["3"],"0$1"]],"0",0,0,0,0,0,[["38\\d{6,10}|(?:2[89]|39)(?:0\\d{5,6}|[1-9]\\d{5})"],["4[3-9]\\d{6}",[8]],["800\\d{5}",[8]],["900\\d{5}",[8]]]],YE:["967","00","(?:1|7\\d)\\d{7}|[1-7]\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-6]|7(?:[24-6]|8[0-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,[["78[0-7]\\d{4}|17\\d{6}|(?:[12][2-68]|3[2358]|4[2-58]|5[2-6]|6[3-58]|7[24-6])\\d{5}",[7,8]],["7[01378]\\d{7}",[9]]]],YT:["262","00","(?:639\\d|7093)\\d{5}|(?:26|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["26(?:89\\d|9(?:0[0-467]|15|5[0-4]|6\\d|[78]0))\\d{4}"],["(?:639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])|7093[5-7])\\d{4}"],["80\\d{7}"],0,0,0,0,0,["9(?:(?:39|47)8[01]|769\\d)\\d{4}"]]],ZA:["27","00","[1-79]\\d{8}|8\\d{4,9}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,4})","$1 $2",["8[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["8[1-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["860"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0",0,0,0,0,0,[["(?:2(?:0330|4302)|52087)0\\d{3}|(?:1[0-8]|2[1-378]|3[1-69]|4\\d|5[1346-8])\\d{7}",[9]],["(?:1(?:3492[0-25]|4495[0235]|549(?:20|5[01]))|4[34]492[01])\\d{3}|8[1-4]\\d{3,7}|(?:2[27]|47|54)4950\\d{3}|(?:1(?:049[2-4]|9[12]\\d\\d)|(?:50[0-2]|[67]\\d\\d)\\d\\d|8(?:5\\d{3}|7(?:08[67]|158|28[5-9]|310)))\\d{4}|(?:1[6-8]|28|3[2-69]|4[025689]|5[36-8])4920\\d{3}|(?:12|[2-5]1)492\\d{4}",[5,6,7,8,9]],["80\\d{7}",[9]],["(?:86[2-9]|9[0-2]\\d)\\d{6}",[9]],0,0,["861\\d{6,7}",[9,10]],0,["87(?:08[0-589]|15[0-79]|28[0-4]|31[1-9])\\d{4}|87(?:[02][0-79]|1[0-46-9]|3[02-9]|[4-9]\\d)\\d{5}",[9]],["860\\d{6}",[9]]]],ZM:["260","00","800\\d{6}|(?:21|[579]\\d|63)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[579]"],"0$1"]],"0",0,0,0,0,0,[["21[1-8]\\d{6}"],["(?:[59][5-8]|7[5-9])\\d{7}"],["800\\d{6}"],0,0,0,0,0,["63\\d{7}"]]],ZW:["263","00","2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}",[5,6,7,8,9,10],[["(\\d{3})(\\d{3,5})","$1 $2",["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"],"0$1"],["(\\d)(\\d{3})(\\d{2,4})","$1 $2 $3",["[49]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["80"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2","2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)","2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["29[013-9]|39|54"],"0$1"],["(\\d{4})(\\d{3,5})","$1 $2",["(?:25|54)8","258|5483"],"0$1"]],"0",0,0,0,0,0,[["(?:1(?:(?:3\\d|9)\\d|[4-8])|2(?:(?:(?:0(?:2[014]|5)|(?:2[0157]|31|84|9)\\d\\d|[56](?:[14]\\d\\d|20)|7(?:[089]|2[03]|[35]\\d\\d))\\d|4(?:2\\d\\d|8))\\d|1(?:2|[39]\\d{4}))|3(?:(?:123|(?:29\\d|92)\\d)\\d\\d|7(?:[19]|[56]\\d))|5(?:0|1[2-478]|26|[37]2|4(?:2\\d{3}|83)|5(?:25\\d\\d|[78])|[689]\\d)|6(?:(?:[16-8]21|28|52[013])\\d\\d|[39])|8(?:[1349]28|523)\\d\\d)\\d{3}|(?:4\\d\\d|9[2-9])\\d{4,5}|(?:(?:2(?:(?:(?:0|8[146])\\d|7[1-7])\\d|2(?:[278]\\d|92)|58(?:2\\d|3))|3(?:[26]|9\\d{3})|5(?:4\\d|5)\\d\\d)\\d|6(?:(?:(?:[0-246]|[78]\\d)\\d|37)\\d|5[2-8]))\\d\\d|(?:2(?:[569]\\d|8[2-57-9])|3(?:[013-59]\\d|8[37])|6[89]8)\\d{3}"],["7(?:[1278]\\d|3[1-9])\\d{6}",[9]],["80(?:[01]\\d|20|8[0-8])\\d{3}",[7]],0,0,0,0,0,["86(?:1[12]|22|30|44|55|77|8[368])\\d{6}",[10]]]]},nonGeographic:{800:["800",0,"(?:00|[1-9]\\d)\\d{6}",[8],[["(\\d{4})(\\d{4})","$1 $2",["\\d"]]],0,0,0,0,0,0,[0,0,["(?:00|[1-9]\\d)\\d{6}"]]],808:["808",0,"[1-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[1-9]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,0,["[1-9]\\d{7}"]]],870:["870",0,"7\\d{11}|[235-7]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-7]"]]],0,0,0,0,0,0,[0,["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"],0,0,0,0,0,0,["2\\d{8}",[9]]]],878:["878",0,"10\\d{10}",[12],[["(\\d{2})(\\d{5})(\\d{5})","$1 $2 $3",["1"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["10\\d{10}"]]],881:["881",0,"6\\d{9}|[0-36-9]\\d{8}",[9,10],[["(\\d)(\\d{3})(\\d{5})","$1 $2 $3",["[0-37-9]"]],["(\\d)(\\d{3})(\\d{5,6})","$1 $2 $3",["6"]]],0,0,0,0,0,0,[0,["6\\d{9}|[0-36-9]\\d{8}"]]],882:["882",0,"[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?",[7,8,9,10,11,12],[["(\\d{2})(\\d{5})","$1 $2",["16|342"]],["(\\d{2})(\\d{6})","$1 $2",["49"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["1[36]|9"]],["(\\d{2})(\\d{4})(\\d{3})","$1 $2 $3",["3[23]"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["16"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|23|3(?:[15]|4[57])|4|5[12]"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["34"]],["(\\d{2})(\\d{4,5})(\\d{5})","$1 $2 $3",["[1-35]"]]],0,0,0,0,0,0,[0,["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|5(?:0\\d{3}|2[0-2]))\\d{7}",[7,8,9,10,12]],0,0,0,["348[57]\\d{7}",[11]],0,0,["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}"]]],883:["883",0,"(?:[1-4]\\d|51)\\d{6,10}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,8})","$1 $2 $3",["[14]|2[24-689]|3[02-689]|51[24-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["510"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["21"]],["(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["51[13]"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[235]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}"]]],888:["888",0,"\\d{11}",[11],[["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3"]],0,0,0,0,0,0,[0,0,0,0,0,0,["\\d{11}"]]],979:["979",0,"[1359]\\d{8}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[1359]"]]],0,0,0,0,0,0,[0,0,0,["[1359]\\d{8}"]]]}};function pM(t,e){var n=Array.prototype.slice.call(e);return n.push(uM),t.apply(this,n)}var hM=2,mM=17,fM=3,gM="0-90-9٠-٩۰-۹",vM="-‐-―−ー-",bM="//",yM="..",wM="  ­​⁠ ",xM="()()[]\\[\\]",$M="~⁓∼~",CM="".concat(vM).concat(bM).concat(yM).concat(wM).concat(xM).concat($M),kM="++";function _M(t){return _M="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},_M(t)}function SM(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,MM(r.key),r)}}function TM(t,e,n){return e&&SM(t.prototype,e),n&&SM(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function MM(t){var e=OM(t,"string");return"symbol"==_M(e)?e:e+""}function OM(t,e){if("object"!=_M(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=_M(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}function EM(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function AM(t,e,n){return e=FM(e),IM(t,NM()?Reflect.construct(e,n||[],FM(t).constructor):e.apply(t,n))}function IM(t,e){if(e&&("object"==_M(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return PM(t)}function PM(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function DM(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&BM(t,e)}function RM(t){var e="function"==typeof Map?new Map:void 0;return RM=function(t){if(null===t||!jM(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return LM(t,arguments,FM(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),BM(n,t)},RM(t)}function LM(t,e,n){if(NM())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,e);var o=new(t.bind.apply(t,r));return n&&BM(o,n.prototype),o}function NM(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(NM=function(){return!!t})()}function jM(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(Cl){return"function"==typeof t}}function BM(t,e){return BM=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},BM(t,e)}function FM(t){return FM=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},FM(t)}var VM=function(t){function e(t){var n;return EM(this,e),n=AM(this,e,[t]),Object.setPrototypeOf(n,e.prototype),n.name=n.constructor.name,n}return DM(e,t),TM(e)}(RM(Error));function UM(t,e){t=t.split("-"),e=e.split("-");for(var n=t[0].split("."),r=e[0].split("."),o=0;o<3;o++){var i=Number(n[o]),a=Number(r[o]);if(i>a)return 1;if(a>i)return-1;if(!isNaN(i)&&isNaN(a))return 1;if(isNaN(i)&&!isNaN(a))return-1}return t[1]&&e[1]?t[1]>e[1]?1:t[1]<e[1]?-1:0:!t[1]&&e[1]?1:t[1]&&!e[1]?-1:0}n.dn(UM);var HM={}.constructor;function zM(t){return void 0!==t&&null!==t&&t.constructor===HM}var GM=/^\d+$/;function qM(t){return GM.test(t)}function WM(t){return WM="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},WM(t)}function JM(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function XM(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,YM(r.key),r)}}function KM(t,e,n){return e&&XM(t.prototype,e),n&&XM(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function YM(t){var e=ZM(t,"string");return"symbol"==WM(e)?e:e+""}function ZM(t,e){if("object"!=WM(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=WM(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}var QM="1.2.0",tO="1.7.35",eO=" ext. ",nO=function(){function t(e){JM(this,t),lO(e),this.metadata=e,uO.call(this,e)}return KM(t,[{key:"getCountries",value:function(){return Object.keys(this.metadata.countries).filter(function(t){return"001"!==t})}},{key:"getCountryMetadata",value:function(t){return this.metadata.countries[t]}},{key:"nonGeographic",value:function(){if(!(this.v1||this.v2||this.v3))return this.metadata.nonGeographic||this.metadata.nonGeographical}},{key:"hasCountry",value:function(t){return void 0!==this.getCountryMetadata(t)}},{key:"hasCallingCode",value:function(t){if(this.getCountryCodesForCallingCode(t))return!0;if(this.nonGeographic()){if(this.nonGeographic()[t])return!0}else{var e=this.countryCallingCodes()[t];if(e&&1===e.length&&"001"===e[0])return!0}}},{key:"isNonGeographicCallingCode",value:function(t){return this.nonGeographic()?!!this.nonGeographic()[t]:!this.getCountryCodesForCallingCode(t)}},{key:"country",value:function(t){return this.selectNumberingPlan(t)}},{key:"selectNumberingPlan",value:function(t,e){var n,r;if(t&&(qM(t)?r=t:n=t),e&&(r=e),n&&"001"!==n){var o=this.getCountryMetadata(n);if(!o)throw new Error("Unknown country: ".concat(n));this.numberingPlan=new rO(o,this)}else if(r){if(!this.hasCallingCode(r))throw new Error("Unknown calling code: ".concat(r));this.numberingPlan=new rO(this.getNumberingPlanMetadata(r),this)}else this.numberingPlan=void 0;return this}},{key:"getCountryCodesForCallingCode",value:function(t){var e=this.countryCallingCodes()[t];if(e){if(1===e.length&&3===e[0].length)return;return e}}},{key:"getCountryCodeForCallingCode",value:function(t){var e=this.getCountryCodesForCallingCode(t);if(e)return e[0]}},{key:"getNumberingPlanMetadata",value:function(t){var e=this.getCountryCodeForCallingCode(t);if(e)return this.getCountryMetadata(e);if(this.nonGeographic()){var n=this.nonGeographic()[t];if(n)return n}else{var r=this.countryCallingCodes()[t];if(r&&1===r.length&&"001"===r[0])return this.metadata.countries["001"]}}},{key:"countryCallingCode",value:function(){return this.numberingPlan.callingCode()}},{key:"IDDPrefix",value:function(){return this.numberingPlan.IDDPrefix()}},{key:"defaultIDDPrefix",value:function(){return this.numberingPlan.defaultIDDPrefix()}},{key:"nationalNumberPattern",value:function(){return this.numberingPlan.nationalNumberPattern()}},{key:"possibleLengths",value:function(){return this.numberingPlan.possibleLengths()}},{key:"formats",value:function(){return this.numberingPlan.formats()}},{key:"nationalPrefixForParsing",value:function(){return this.numberingPlan.nationalPrefixForParsing()}},{key:"nationalPrefixTransformRule",value:function(){return this.numberingPlan.nationalPrefixTransformRule()}},{key:"leadingDigits",value:function(){return this.numberingPlan.leadingDigits()}},{key:"hasTypes",value:function(){return this.numberingPlan.hasTypes()}},{key:"type",value:function(t){return this.numberingPlan.type(t)}},{key:"ext",value:function(){return this.numberingPlan.ext()}},{key:"countryCallingCodes",value:function(){return this.v1?this.metadata.country_phone_code_to_countries:this.metadata.country_calling_codes}},{key:"chooseCountryByCountryCallingCode",value:function(t){return this.selectNumberingPlan(t)}},{key:"hasSelectedNumberingPlan",value:function(){return void 0!==this.numberingPlan}}])}(),rO=function(){function t(e,n){JM(this,t),this.globalMetadataObject=n,this.metadata=e,uO.call(this,n.metadata)}return KM(t,[{key:"callingCode",value:function(){return this.metadata[0]}},{key:"_getDefaultCountryMetadataForThisCallingCode",value:function(){return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode())}},{key:"getDefaultCountryMetadataForRegion",value:function(){return this._getDefaultCountryMetadataForThisCallingCode()}},{key:"IDDPrefix",value:function(){if(!this.v1&&!this.v2)return this.metadata[1]}},{key:"defaultIDDPrefix",value:function(){if(!this.v1&&!this.v2)return this.metadata[12]}},{key:"nationalNumberPattern",value:function(){return this.v1||this.v2?this.metadata[1]:this.metadata[2]}},{key:"possibleLengths",value:function(){if(!this.v1)return this.metadata[this.v2?2:3]}},{key:"_getFormats",value:function(t){return t[this.v1?2:this.v2?3:4]}},{key:"formats",value:function(){var t=this,e=this._getFormats(this.metadata)||this._getFormats(this._getDefaultCountryMetadataForThisCallingCode())||[];return e.map(function(e){return new oO(e,t)})}},{key:"nationalPrefix",value:function(){return this.metadata[this.v1?3:this.v2?4:5]}},{key:"_getNationalPrefixFormattingRule",value:function(t){return t[this.v1?4:this.v2?5:6]}},{key:"nationalPrefixFormattingRule",value:function(){return this._getNationalPrefixFormattingRule(this.metadata)||this._getNationalPrefixFormattingRule(this._getDefaultCountryMetadataForThisCallingCode())}},{key:"_nationalPrefixForParsing",value:function(){return this.metadata[this.v1?5:this.v2?6:7]}},{key:"nationalPrefixForParsing",value:function(){return this._nationalPrefixForParsing()||this.nationalPrefix()}},{key:"nationalPrefixTransformRule",value:function(){return this.metadata[this.v1?6:this.v2?7:8]}},{key:"_getNationalPrefixIsOptionalWhenFormatting",value:function(){return!!this.metadata[this.v1?7:this.v2?8:9]}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return this._getNationalPrefixIsOptionalWhenFormatting(this.metadata)||this._getNationalPrefixIsOptionalWhenFormatting(this._getDefaultCountryMetadataForThisCallingCode())}},{key:"leadingDigits",value:function(){return this.metadata[this.v1?8:this.v2?9:10]}},{key:"types",value:function(){return this.metadata[this.v1?9:this.v2?10:11]}},{key:"hasTypes",value:function(){return(!this.types()||0!==this.types().length)&&!!this.types()}},{key:"type",value:function(t){if(this.hasTypes()&&sO(this.types(),t))return new aO(sO(this.types(),t),this)}},{key:"ext",value:function(){return this.v1||this.v2?eO:this.metadata[13]||eO}}])}(),oO=function(){function t(e,n){JM(this,t),this._format=e,this.metadata=n}return KM(t,[{key:"pattern",value:function(){return this._format[0]}},{key:"format",value:function(){return this._format[1]}},{key:"leadingDigitsPatterns",value:function(){return this._format[2]||[]}},{key:"nationalPrefixFormattingRule",value:function(){return this._format[3]||this.metadata.nationalPrefixFormattingRule()}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return!!this._format[4]||this.metadata.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"nationalPrefixIsMandatoryWhenFormattingInNationalFormat",value:function(){return this.usesNationalPrefix()&&!this.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"usesNationalPrefix",value:function(){return!(!this.nationalPrefixFormattingRule()||iO.test(this.nationalPrefixFormattingRule()))}},{key:"internationalFormat",value:function(){return this._format[5]||this.format()}}])}(),iO=/^\(?\$1\)?$/,aO=function(){function t(e,n){JM(this,t),this.type=e,this.metadata=n}return KM(t,[{key:"pattern",value:function(){return this.metadata.v1?this.type:this.type[0]}},{key:"possibleLengths",value:function(){if(!this.metadata.v1)return this.type[1]||this.metadata.possibleLengths()}}])}();function sO(t,e){switch(e){case"FIXED_LINE":return t[0];case"MOBILE":return t[1];case"TOLL_FREE":return t[2];case"PREMIUM_RATE":return t[3];case"PERSONAL_NUMBER":return t[4];case"VOICEMAIL":return t[5];case"UAN":return t[6];case"PAGER":return t[7];case"VOIP":return t[8];case"SHARED_COST":return t[9]}}function lO(t){if(!t)throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");if(!zM(t)||!zM(t.countries))throw new Error("[libphonenumber-js] `metadata` argument was passed but it's not a valid metadata. Must be an object having `.countries` child object property. Got ".concat(zM(t)?"an object of shape: { "+Object.keys(t).join(", ")+" }":"a "+dO(t)+": "+t,"."))}var dO=function(t){return WM(t)};function cO(t,e){var n=new nO(e);if(n.hasCountry(t))return n.selectNumberingPlan(t).countryCallingCode();throw new Error("Unknown country: ".concat(t))}function uO(t){var e=t.version;"number"===typeof e?(this.v1=1===e,this.v2=2===e,this.v3=3===e,this.v4=4===e):e?-1===UM(e,QM)?this.v2=!0:-1===UM(e,tO)?this.v3=!0:this.v4=!0:this.v1=!0}var pO=";ext=",hO=function(t){return"([".concat(gM,"]{1,").concat(t,"})")};function mO(t){var e="20",n="15",r="9",o="6",i="[  \\t,]*",a="[:\\..]?[  \\t,-]*",s="#?",l="(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)",d="(?:[xx##~~]|int|int)",c="[- ]+",u="[  \\t]*",p="(?:,{2}|;)",h=pO+hO(e),m=i+l+a+hO(e)+s,f=i+d+a+hO(r)+s,g=c+hO(o)+"#",v=u+p+a+hO(n)+s,b=u+"(?:,)+"+a+hO(r)+s;return h+"|"+m+"|"+f+"|"+g+"|"+v+"|"+b}var fO="["+gM+"]{"+hM+"}",gO="["+kM+"]{0,1}(?:["+CM+"]*["+gM+"]){3,}["+CM+gM+"]*",vO=new RegExp("^["+kM+"]{0,1}(?:["+CM+"]*["+gM+"]){1,2}$","i"),bO=gO+"(?:"+mO()+")?",yO=new RegExp("^"+fO+"$|^"+bO+"$","i");function wO(t){return t.length>=hM&&yO.test(t)}function xO(t){return vO.test(t)}var $O=new RegExp("(?:"+mO()+")$","i");function CO(t){var e=t.search($O);if(e<0)return{};var n=t.slice(0,e),r=t.match($O),o=1;while(o<r.length){if(r[o])return{number:n,ext:r[o]};o++}}var kO={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","0":"0","1":"1","2":"2","3":"3","4":"4","5":"5","6":"6","7":"7","8":"8","9":"9","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9"};function _O(t){return kO[t]}function SO(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=TO(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function TO(t,e){if(t){if("string"==typeof t)return MO(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?MO(t,e):void 0}}function MO(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function OO(t){for(var e,n="",r=SO(t.split(""));!(e=r()).done;){var o=e.value;n+=EO(o,n)||""}return n}function EO(t,e,n){return"+"===t?e?void("function"===typeof n&&n("end")):"+":_O(t)}function AO(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=IO(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function IO(t,e){if(t){if("string"==typeof t)return PO(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?PO(t,e):void 0}}function PO(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function DO(t,e){for(var n,r=t.slice(),o=AO(e);!(n=o()).done;){var i=n.value;t.indexOf(i)<0&&r.push(i)}return r.sort(function(t,e){return t-e})}function RO(t,e,n){return LO(t,void 0,e,n)}function LO(t,e,n,r){n&&(r=new nO(r.metadata),r.selectNumberingPlan(n));var o=r.type(e),i=o&&o.possibleLengths()||r.possibleLengths();if(!i)return"IS_POSSIBLE";if("FIXED_LINE_OR_MOBILE"===e){if(!r.type("FIXED_LINE"))return LO(t,"MOBILE",n,r);var a=r.type("MOBILE");a&&(i=DO(i,a.possibleLengths()))}else if(e&&!o)return"INVALID_LENGTH";var s=t.length,l=i[0];return l===s?"IS_POSSIBLE":l>s?"TOO_SHORT":i[i.length-1]<s?"TOO_LONG":i.indexOf(s,1)>=0?"IS_POSSIBLE":"INVALID_LENGTH"}function NO(t,e,n){void 0===e&&(e={});var r=new nO(n);if(e.v2){if(!t.countryCallingCode)throw new Error("Invalid phone number object passed");r.selectNumberingPlan(t.country||t.countryCallingCode)}else{if(!t.phone)return!1;if(t.country){if(!r.hasCountry(t.country))throw new Error("Unknown country: ".concat(t.country));r.selectNumberingPlan(t.country)}else{if(!t.countryCallingCode)throw new Error("Invalid phone number object passed");r.selectNumberingPlan(t.countryCallingCode)}}if(r.possibleLengths())return jO(t.phone||t.nationalNumber,r);if(t.countryCallingCode&&r.isNonGeographicCallingCode(t.countryCallingCode))return!0;throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.')}function jO(t,e){switch(RO(t,void 0,e)){case"IS_POSSIBLE":return!0;default:return!1}}function BO(t,e){return t=t||"",new RegExp("^(?:"+e+")$").test(t)}function FO(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=VO(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function VO(t,e){if(t){if("string"==typeof t)return UO(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?UO(t,e):void 0}}function UO(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var HO=["MOBILE","PREMIUM_RATE","TOLL_FREE","SHARED_COST","VOIP","PERSONAL_NUMBER","PAGER","UAN","VOICEMAIL"];function zO(t,e,n){if(e=e||{},t.country||t.countryCallingCode){var r=new nO(n);r.selectNumberingPlan(t.country||t.countryCallingCode);var o=e.v2?t.nationalNumber:t.phone;if(BO(o,r.nationalNumberPattern())){if(GO(o,"FIXED_LINE",r))return r.type("MOBILE")&&""===r.type("MOBILE").pattern()?"FIXED_LINE_OR_MOBILE":r.type("MOBILE")?GO(o,"MOBILE",r)?"FIXED_LINE_OR_MOBILE":"FIXED_LINE":"FIXED_LINE_OR_MOBILE";for(var i,a=FO(HO);!(i=a()).done;){var s=i.value;if(GO(o,s,r))return s}}}}function GO(t,e,n){var r=n.type(e);return!(!r||!r.pattern())&&(!(r.possibleLengths()&&r.possibleLengths().indexOf(t.length)<0)&&BO(t,r.pattern()))}function qO(t,e,n){e=e||{};var r=new nO(n);if(r.selectNumberingPlan(t.country||t.countryCallingCode),r.hasTypes())return void 0!==zO(t,e,r.metadata);var o=e.v2?t.nationalNumber:t.phone;return BO(o,r.nationalNumberPattern())}var WO=/^[A-Z]{2}$/;function JO(t){return WO.test(t)}var XO=!1;function KO(t,e){var n,r,o=new nO(e);return JO(t)?(n=t,o.selectNumberingPlan(n),r=o.countryCallingCode()):(r=t,XO&&o.isNonGeographicCallingCode(r)&&(n="001")),{country:n,callingCode:r}}function YO(t,e,n){var r=new nO(n),o=r.getCountryCodesForCallingCode(t);return o?o.filter(function(t){return ZO(e,t,n)}):[]}function ZO(t,e,n){var r=new nO(n);return r.selectNumberingPlan(e),r.numberingPlan.possibleLengths().indexOf(t.length)>=0}var QO=new RegExp("(["+gM+"])");function tE(t,e,n,r){if(e){var o=new nO(r);o.selectNumberingPlan(e||n);var i=new RegExp(o.IDDPrefix());if(0===t.search(i)){t=t.slice(t.match(i)[0].length);var a=t.match(QO);if(!(a&&null!=a[1]&&a[1].length>0&&"0"===a[1]))return t}}}function eE(t,e){if(t&&e.numberingPlan.nationalPrefixForParsing()){var n=new RegExp("^(?:"+e.numberingPlan.nationalPrefixForParsing()+")"),r=n.exec(t);if(r){var o,i,a,s=r.length-1,l=s>0&&r[s];if(e.nationalPrefixTransformRule()&&l)o=t.replace(n,e.nationalPrefixTransformRule()),s>1&&(i=r[1]);else{var d=r[0];o=t.slice(d.length),l&&(i=r[1])}if(l){var c=t.indexOf(r[1]),u=t.slice(0,c);u===e.numberingPlan.nationalPrefix()&&(a=e.numberingPlan.nationalPrefix())}else a=r[0];return{nationalNumber:o,nationalPrefix:a,carrierCode:i}}}return{nationalNumber:t}}function nE(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=rE(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function rE(t,e){if(t){if("string"==typeof t)return oE(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?oE(t,e):void 0}}function oE(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function iE(t,e,n){for(var r,o=new nO(n),i=nE(e);!(r=i()).done;){var a=r.value;if(o.selectNumberingPlan(a),o.leadingDigits()){if(t&&0===t.search(o.leadingDigits()))return a}else if(zO({phone:t,country:a},void 0,o.metadata))return a}}var aE=!1;function sE(t,e){var n=e.nationalNumber,r=e.metadata;if(aE&&r.isNonGeographicCallingCode(t))return"001";var o=r.getCountryCodesForCallingCode(t);return o?1===o.length?o[0]:iE(n,o,r.metadata):void 0}function lE(t,e,n){var r=eE(t,n),o=r.carrierCode,i=r.nationalNumber;if(i!==t){if(!dE(t,i,n))return{nationalNumber:t};if(n.numberingPlan.possibleLengths()&&(e||(e=sE(n.numberingPlan.callingCode(),{nationalNumber:i,metadata:n})),!cE(i,e,n)))return{nationalNumber:t}}return{nationalNumber:i,carrierCode:o}}function dE(t,e,n){return!(BO(t,n.nationalNumberPattern())&&!BO(e,n.nationalNumberPattern()))}function cE(t,e,n){switch(RO(t,e,n)){case"TOO_SHORT":case"INVALID_LENGTH":return!1;default:return!0}}function uE(t,e,n,r,o){if(!(e||n||r))return{number:t};var i=e||n?cO(e||n,o):r;if(0===t.indexOf(i)){var a=new nO(o);a.selectNumberingPlan(e||n||r);var s=t.slice(i.length),l=lE(s,void 0,a),d=l.nationalNumber,c=lE(t,void 0,a),u=c.nationalNumber;if(!BO(u,a.nationalNumberPattern())&&BO(d,a.nationalNumberPattern())||"TOO_LONG"===RO(u,void 0,a))return{countryCallingCode:i,number:s}}return{number:t}}function pE(t,e,n,r,o){if(!t)return{};var i;if("+"!==t[0]){var a=tE(t,e||n,r,o);if(!a||a===t){if(e||n||r){var s=uE(t,e,n,r,o),l=s.countryCallingCode,d=s.number;if(l)return{countryCallingCodeSource:"FROM_NUMBER_WITHOUT_PLUS_SIGN",countryCallingCode:l,number:d}}return{number:t}}i=!0,t="+"+a}if("0"===t[1])return{};var c=new nO(o),u=2;while(u-1<=fM&&u<=t.length){var p=t.slice(1,u);if(c.hasCallingCode(p))return c.selectNumberingPlan(p),{countryCallingCodeSource:i?"FROM_NUMBER_WITH_IDD":"FROM_NUMBER_WITH_PLUS_SIGN",countryCallingCode:p,number:t.slice(u)};u++}return{}}function hE(t){return t.replace(new RegExp("[".concat(CM,"]+"),"g")," ").trim()}var mE=/(\$\d)/;function fE(t,e,n){var r=n.useInternationalFormat,o=n.withNationalPrefix,i=(n.carrierCode,n.metadata,t.replace(new RegExp(e.pattern()),r?e.internationalFormat():o&&e.nationalPrefixFormattingRule()?e.format().replace(mE,e.nationalPrefixFormattingRule()):e.format()));return r?hE(i):i}var gE=/^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;function vE(t,e,n){var r=new nO(n);return r.selectNumberingPlan(t||e),r.defaultIDDPrefix()?r.defaultIDDPrefix():gE.test(r.IDDPrefix())?r.IDDPrefix():void 0}function bE(t){var e=t.number,n=t.ext;if(!e)return"";if("+"!==e[0])throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');return"tel:".concat(e).concat(n?";ext="+n:"")}var yE={formatExtension:function(t,e,n){return"".concat(t).concat(n.ext()).concat(e)}};function wE(t,e,n,r){n=n?_E({},yE,n):yE;var o=new nO(r);if(t.country&&"001"!==t.country){if(!o.hasCountry(t.country))throw new Error("Unknown country: ".concat(t.country));o.selectNumberingPlan(t.country)}else{if(!t.countryCallingCode)return t.phone||"";o.selectNumberingPlan(t.countryCallingCode)}var i,a=o.countryCallingCode(),s=n.v2?t.nationalNumber:t.phone;switch(e){case"NATIONAL":return s?(i=xE(s,t.carrierCode,"NATIONAL",o,n),CE(i,t.ext,o,n.formatExtension)):"";case"INTERNATIONAL":return s?(i=xE(s,null,"INTERNATIONAL",o,n),i="+".concat(a," ").concat(i),CE(i,t.ext,o,n.formatExtension)):"+".concat(a);case"E.164":return"+".concat(a).concat(s);case"RFC3966":return bE({number:"+".concat(a).concat(s),ext:t.ext});case"IDD":if(!n.fromCountry)return;var l=kE(s,t.carrierCode,a,n.fromCountry,o);if(!l)return;return CE(l,t.ext,o,n.formatExtension);default:throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(e,'"'))}}function xE(t,e,n,r,o){var i=$E(r.formats(),t);return i?fE(t,i,{useInternationalFormat:"INTERNATIONAL"===n,withNationalPrefix:!i.nationalPrefixIsOptionalWhenFormattingInNationalFormat()||!o||!1!==o.nationalPrefix,carrierCode:e,metadata:r}):t}function $E(t,e){return SE(t,function(t){if(t.leadingDigitsPatterns().length>0){var n=t.leadingDigitsPatterns()[t.leadingDigitsPatterns().length-1];if(0!==e.search(n))return!1}return BO(e,t.pattern())})}function CE(t,e,n,r){return e?r(t,e,n):t}function kE(t,e,n,r,o){var i=cO(r,o.metadata);if(i===n){var a=xE(t,e,"NATIONAL",o);return"1"===n?n+" "+a:a}var s=vE(r,void 0,o.metadata);if(s)return"".concat(s," ").concat(n," ").concat(xE(t,null,"INTERNATIONAL",o))}function _E(){for(var t=1,e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];while(t<n.length){if(n[t])for(var o in n[t])n[0][o]=n[t][o];t++}return n[0]}function SE(t,e){var n=0;while(n<t.length){if(e(t[n]))return t[n];n++}}function TE(t){return TE="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},TE(t)}function ME(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function OE(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ME(Object(n),!0).forEach(function(e){EE(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ME(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function EE(t,e,n){return(e=DE(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function AE(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function IE(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,DE(r.key),r)}}function PE(t,e,n){return e&&IE(t.prototype,e),n&&IE(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function DE(t){var e=RE(t,"string");return"symbol"==TE(e)?e:e+""}function RE(t,e){if("object"!=TE(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=TE(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}var LE=function(){function t(e,n,r){if(AE(this,t),!e)throw new TypeError("First argument is required");if("string"!==typeof e)throw new TypeError("First argument must be a string");if("+"===e[0]&&!n)throw new TypeError("`metadata` argument not passed");if(zM(n)&&zM(n.countries)){r=n;var o=e;if(!NE.test(o))throw new Error('Invalid `number` argument passed: must consist of a "+" followed by digits');var i=pE(o,void 0,void 0,void 0,r),a=i.countryCallingCode,s=i.number;if(n=s,e=a,!n)throw new Error("Invalid `number` argument passed: too short")}if(!n)throw new TypeError("`nationalNumber` argument is required");if("string"!==typeof n)throw new TypeError("`nationalNumber` argument must be a string");lO(r);var l=KO(e,r),d=l.country,c=l.callingCode;this.country=d,this.countryCallingCode=c,this.nationalNumber=n,this.number="+"+this.countryCallingCode+this.nationalNumber,this.getMetadata=function(){return r}}return PE(t,[{key:"setExt",value:function(t){this.ext=t}},{key:"getPossibleCountries",value:function(){return this.country?[this.country]:YO(this.countryCallingCode,this.nationalNumber,this.getMetadata())}},{key:"isPossible",value:function(){return NO(this,{v2:!0},this.getMetadata())}},{key:"isValid",value:function(){return qO(this,{v2:!0},this.getMetadata())}},{key:"isNonGeographic",value:function(){var t=new nO(this.getMetadata());return t.isNonGeographicCallingCode(this.countryCallingCode)}},{key:"isEqual",value:function(t){return this.number===t.number&&this.ext===t.ext}},{key:"getType",value:function(){return zO(this,{v2:!0},this.getMetadata())}},{key:"format",value:function(t,e){return wE(this,t,e?OE(OE({},e),{},{v2:!0}):{v2:!0},this.getMetadata())}},{key:"formatNational",value:function(t){return this.format("NATIONAL",t)}},{key:"formatInternational",value:function(t){return this.format("INTERNATIONAL",t)}},{key:"getURI",value:function(t){return this.format("RFC3966",t)}}])}(),NE=/^\+\d+$/,jE="+",BE="[\\-\\.\\(\\)]?",FE="(["+gM+"]|"+BE+")",VE="^\\"+jE+FE+"*["+gM+"]"+FE+"*$",UE=new RegExp(VE,"g"),HE=gM,zE="["+HE+"]+((\\-)*["+HE+"])*",GE="a-zA-Z",qE="["+GE+"]+((\\-)*["+HE+"])*",WE="^("+zE+"\\.)*"+qE+"\\.?$",JE=new RegExp(WE,"g"),XE="tel:",KE=";phone-context=",YE=";isub=";function ZE(t){var e=t.indexOf(KE);if(e<0)return null;var n=e+KE.length;if(n>=t.length)return"";var r=t.indexOf(";",n);return r>=0?t.substring(n,r):t.substring(n)}function QE(t){return null===t||0!==t.length&&(UE.test(t)||JE.test(t))}function tA(t,e){var n,r=e.extractFormattedPhoneNumber,o=ZE(t);if(!QE(o))throw new VM("NOT_A_NUMBER");if(null===o)n=r(t)||"";else{n="",o.charAt(0)===jE&&(n+=o);var i,a=t.indexOf(XE);i=a>=0?a+XE.length:0;var s=t.indexOf(KE);n+=t.substring(i,s)}var l=n.indexOf(YE);if(l>0&&(n=n.substring(0,l)),""!==n)return n}var eA=250,nA=new RegExp("["+kM+gM+"]"),rA=new RegExp("[^"+gM+"#]+$"),oA=!1;function iA(t,e,n){e=e||{};var r=new nO(n);if(e.defaultCountry&&!r.hasCountry(e.defaultCountry)){if(e.v2)throw new VM("INVALID_COUNTRY");throw new Error("Unknown country: ".concat(e.defaultCountry))}var o=sA(t,e.v2,e.extract),i=o.number,a=o.ext,s=o.error;if(!i){if(e.v2){if("TOO_SHORT"===s)throw new VM("TOO_SHORT");throw new VM("NOT_A_NUMBER")}return{}}var l=dA(i,e.defaultCountry,e.defaultCallingCode,r),d=l.country,c=l.nationalNumber,u=l.countryCallingCode,p=l.countryCallingCodeSource,h=l.carrierCode;if(!r.hasSelectedNumberingPlan()){if(e.v2)throw new VM("INVALID_COUNTRY");return{}}if(!c||c.length<hM){if(e.v2)throw new VM("TOO_SHORT");return{}}if(c.length>mM){if(e.v2)throw new VM("TOO_LONG");return{}}if(e.v2){var m=new LE(u,c,r.metadata);return d&&(m.country=d),h&&(m.carrierCode=h),a&&(m.ext=a),m.__countryCallingCodeSource=p,m}var f=!!(e.extended?r.hasSelectedNumberingPlan():d)&&BO(c,r.nationalNumberPattern());return e.extended?{country:d,countryCallingCode:u,carrierCode:h,valid:f,possible:!!f||!(!0!==e.extended||!r.possibleLengths()||!jO(c,r)),phone:c,ext:a}:f?lA(d,c,a):{}}function aA(t,e,n){if(t)if(t.length>eA){if(n)throw new VM("TOO_LONG")}else{if(!1===e)return t;var r=t.search(nA);if(!(r<0))return t.slice(r).replace(rA,"")}}function sA(t,e,n){var r=tA(t,{extractFormattedPhoneNumber:function(t){return aA(t,n,e)}});if(!r)return{};if(!wO(r))return xO(r)?{error:"TOO_SHORT"}:{};var o=CO(r);return o.ext?o:{number:r}}function lA(t,e,n){var r={country:t,phone:e};return n&&(r.ext=n),r}function dA(t,e,n,r){var o,i=pE(OO(t),void 0,e,n,r.metadata),a=i.countryCallingCodeSource,s=i.countryCallingCode,l=i.number;if(s)r.selectNumberingPlan(s);else{if(!l||!e&&!n)return{};e?(o=e,r.selectNumberingPlan(e),s=r.numberingPlan.callingCode()):(r.selectNumberingPlan(n),s=n,oA&&r.isNonGeographicCallingCode(s)&&(o="001"))}if(!l)return{countryCallingCodeSource:a,countryCallingCode:s};var d=lE(OO(l),void 0,r),c=d.nationalNumber,u=d.carrierCode,p=sE(s,{nationalNumber:c,metadata:r});return p&&(o=p,"001"===p||r.selectNumberingPlan(o)),{country:o,countryCallingCode:s,countryCallingCodeSource:a,nationalNumber:c,carrierCode:u}}function cA(t){return cA="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},cA(t)}function uA(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function pA(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?uA(Object(n),!0).forEach(function(e){hA(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):uA(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function hA(t,e,n){return(e=mA(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function mA(t){var e=fA(t,"string");return"symbol"==cA(e)?e:e+""}function fA(t,e){if("object"!=cA(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=cA(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}function gA(t,e,n){return iA(t,pA(pA({},e),{},{v2:!0}),n)}function vA(t){return vA="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},vA(t)}function bA(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function yA(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?bA(Object(n),!0).forEach(function(e){wA(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):bA(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function wA(t,e,n){return(e=xA(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function xA(t){var e=$A(t,"string");return"symbol"==vA(e)?e:e+""}function $A(t,e){if("object"!=vA(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=vA(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}function CA(t,e){return MA(t)||TA(t,e)||_A(t,e)||kA()}function kA(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _A(t,e){if(t){if("string"==typeof t)return SA(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?SA(t,e):void 0}}function SA(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function TA(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,d=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==e);l=!0);}catch(t){d=!0,o=t}finally{try{if(!l&&null!=n["return"]&&(a=n["return"](),Object(a)!==a))return}finally{if(d)throw o}}return s}}function MA(t){if(Array.isArray(t))return t}function OA(t){var e,n,r,o=Array.prototype.slice.call(t),i=CA(o,4),a=i[0],s=i[1],l=i[2],d=i[3];if("string"!==typeof a)throw new TypeError("A text for parsing must be a string.");if(e=a,s&&"string"!==typeof s){if(!zM(s))throw new Error("Invalid second argument: ".concat(s));l?(n=s,r=l):r=s}else d?(n=l,r=d):(n=void 0,r=l),s&&(n=yA({defaultCountry:s},n));return{text:e,options:n,metadata:r}}function EA(){var t=OA(arguments),e=t.text,n=t.options,r=t.metadata;return gA(e,n,r)}function AA(){return pM(EA,arguments)}function IA(t){const e=new Date(t);return e.setHours(0,0,0,0),e.getTime()}function PA(t){if(!t)return"";const e=String(t),n=e.replace(/\D/g,"");if(n.length<8)return e;try{let t=null;if(t=e.startsWith("+")?AA(e):n.startsWith("55")&&n.length>=12?AA("+"+n):AA(e,"BR"),t&&t.isValid())return"BR"===t.country?t.formatNational():t.formatInternational()}catch(PN){}return e}function RA(t){if(!t)return null;const e=new Date(t);if(isNaN(e.getTime()))return null;const n=t=>String(t).padStart(2,"0");return{dayStr:n(e.getDate()),monthStr:n(e.getMonth()+1),hours:n(e.getHours()),minutes:n(e.getMinutes()),date:new Date(e.getFullYear(),e.getMonth(),e.getDate())}}var LA={name:"HistoryTab",props:{isDebug:{type:Boolean,default:!1}},data(){return{i18n:chrome.i18n,query:"",pendingFilter:"today",caches:{today:null,yesterday:null,last3:null},items:[],loading:!1,portalHistoryUrl:"https://reports.teambravotech.com"}},setup(){const t=ip();return{emitter:$h,toast:t}},mounted(){this.fetchHistory(),this.emitter.on("bravophone-call-history-saved",this.invalidateRecentCaches)},beforeUnmount(){this.emitter.off("bravophone-call-history-saved",this.invalidateRecentCaches)},watch:{callActive(t,e){!0===e&&!1===t&&this.invalidateRecentCaches()}},computed:{...ih(["callActive"]),dateFilters(){return[{key:"today",label:this.i18n.getMessage("historyFilterToday")},{key:"yesterday",label:this.i18n.getMessage("historyFilterYesterday")},{key:"last3",label:this.i18n.getMessage("historyFilterLast3Days")}]},decoratedItems(){return(this.items||[]).map(t=>{const e="outbound"===t.call_type?"out":"in",n="out"===e?t.to:t.from,r=RA(t.started_at),a=void 0===t.answered||null===t.answered||t.answered;return{id:t.id,dir:e,rawNumber:n||"",number:PA(n),name:t.name||null,source:this.deriveSource(e,t.company,t.crmGateway),dealUrl:t.url||null,answered:a,answeredLabel:a?this.i18n.getMessage("historyAnswered")||"Atendida":this.i18n.getMessage("historyNotAnswered")||"Não atendida",durationText:a?this.formatSeconds(t.durationSeconds):null,ringText:this.formatSeconds(t.ringSeconds),transferred:!!t.transferred,transferredToName:t.transferred?t.transferredToName||t.transferredToRamal||null:null,startedAt:r?r.date:null,dateText:this.formatDate(t.started_at),timeRange:this.formatTimeRange(t.started_at,t.ended_at)}})},filteredItems(){const t=this.query.trim().toLowerCase(),e=t.replace(/\D/g,"");return t?this.decoratedItems.filter(n=>!(!n.number||!n.number.toLowerCase().includes(t))||!!(e&&n.rawNumber&&n.rawNumber.replace(/\D/g,"").includes(e))):this.decoratedItems},groups(){const t=IA(new Date),e=t-864e5,n={today:{key:"today",label:this.i18n.getMessage("historyGroupToday"),items:[],order:0},yesterday:{key:"yesterday",label:this.i18n.getMessage("historyGroupYesterday"),items:[],order:1},older:{key:"older",label:this.i18n.getMessage("historyGroupOlder"),items:[],order:2}};this.filteredItems.forEach(r=>{if(!r.startedAt)return n.older.items.push(r);const o=IA(r.startedAt);o===t?n.today.items.push(r):o===e?n.yesterday.items.push(r):n.older.items.push(r)});const r="today"===this.pendingFilter?new Set(["today"]):"yesterday"===this.pendingFilter?new Set(["yesterday"]):new Set(["today","yesterday","older"]);return Object.values(n).filter(t=>r.has(t.key)&&t.items.length>0).sort((t,e)=>t.order-e.order)}},methods:{formatSeconds(t){if(!t)return null;t=Math.max(0,Math.round(t));const e=Math.floor(t/60),n=t%60;return e>0?`${e}:${String(n).padStart(2,"0")}`:`${n}s`},deriveSource(t,e,n){if(n){const r={activecampaign:"ActiveCampaign",agendor:"Agendor",appfacilita:"AppFacilita",bulldesk:"Bulldesk",exactsales:"Exact Sales",groner:"Groner","go-high-lvl":"GoHighLevel",hubspot:"HubSpot",kommo:"Kommo",moskit:"Moskit",nectar:"Nectar",pipedrive:"Pipedrive",pipefy:"Pipefy",piperun:"Piperun",ploomes:"Ploomes","rdstation-crm":"RD Station",salesforce:"Salesforce",sunhub:"SunHub",sharpspring:"SharpSpring",zendesk:"Zendesk",zoho:"Zoho",clickup:"Clickup",vendfly:"Vendfly"}[n]||n;return e?`${r} · ${e}`:r}return"out"===t?this.i18n.getMessage("callSourceManual"):this.i18n.getMessage("callSourceIncoming")},dateRangeFor(t){const e=new Date,n=new Date(e.getFullYear(),e.getMonth(),e.getDate());if("today"===t)return{fromDate:n,toDate:e};if("yesterday"===t){const t=new Date(n.getTime()-864e5),e=new Date(n.getTime()-1);return{fromDate:t,toDate:e}}const r=new Date(n.getTime()-1728e5);return{fromDate:r,toDate:e}},selectPill(t){if(this.loading)return;if(this.pendingFilter===t)return;this.pendingFilter=t;const e=this.caches[t];e?this.items=e:this.fetchHistory()},fetchHistory({silent:t=!1}={}){if(this.loading)return;const e=this.pendingFilter;t||(this.loading=!0);const{fromDate:n,toDate:r}=this.dateRangeFor(e);this.$store.dispatch("loadCallHistory",{fromDate:n,toDate:r,limit:100}).then(t=>{this.caches[e]=t,this.pendingFilter===e&&(this.items=t)}).catch(t=>{this.isDebug&&console.error("BravoPhone > HistoryTab > fetch error:",t),t&&429===t.statusCode?this.toast.error(this.i18n.getMessage("errorTooManyRequests")):t&&401===t.statusCode?(this.toast.error(this.i18n.getMessage("mainErrorExpiredToken")),setTimeout(()=>document.location.reload(),1e4)):this.toast.error(this.i18n.getMessage("historyLoadError"))}).finally(()=>{t||(this.loading=!1)})},invalidateRecentCaches(){this.caches.today=null,this.caches.last3=null,"today"!==this.pendingFilter&&"last3"!==this.pendingFilter||this.fetchHistory({silent:!0})},formatDate(t){const e=RA(t);if(!e)return"";const n=IA(e.date),r=IA(new Date);return n===r?this.i18n.getMessage("historyGroupToday"):n===r-864e5?this.i18n.getMessage("historyGroupYesterday"):`${e.dayStr}/${e.monthStr}`},formatTimeRange(t,e){const n=RA(t);if(!n)return"";const r=`${n.hours}:${n.minutes}`,o=RA(e);return o?`${r} – ${o.hours}:${o.minutes}`:`${r} · ${this.i18n.getMessage("historyActiveCall")}`},dial(t){t.rawNumber&&this.emitter.emit("webphone-dial-from-pad",t.rawNumber)}}};n(6997);const NA=(0,sg.A)(LA,[["render",cM],["__scopeId","data-v-34aa2590"]]);var jA=NA;const BA={class:"network-panel flex-none flex flex-col bg-white border-l border-gray-200",style:{width:"260px",height:"100vh"}},FA={class:"flex-none px-4 pt-3 pb-2 border-b border-gray-100 flex items-center justify-between"},VA={class:"text-sm font-semibold text-gray-700 leading-tight"},UA={class:"text-tiny text-gray-400 mt-0.5"},HA=["title"],zA={class:"flex-1 min-h-0 overflow-y-auto"},GA={class:"flex items-center gap-2"},qA={class:"px-4 py-3 border-b border-gray-100"},WA={class:"text-tiny font-semibold text-gray-400 uppercase tracking-wider mb-2"},JA={class:"grid grid-cols-3 gap-2"},XA={class:"metric-cell text-center"},KA={class:"text-tiny text-gray-400"},YA={class:"text-sm font-semibold text-gray-700 mt-0.5 tabular-nums"},ZA={class:"metric-cell text-center"},QA={class:"text-tiny text-gray-400"},tI={class:"text-sm font-semibold text-gray-700 mt-0.5 tabular-nums"},eI={class:"metric-cell text-center"},nI={class:"text-tiny text-gray-400"},rI={class:"text-sm font-semibold text-gray-700 mt-0.5 tabular-nums"},oI={class:"text-tiny text-gray-400 mt-3 text-center"},iI={key:0,class:"px-4 py-3 border-b border-gray-100"},aI={class:"text-tiny font-semibold text-gray-400 uppercase tracking-wider mb-2"},sI={class:"text-xs text-gray-600 leading-snug"},lI={key:1,class:"px-4 pt-3"},dI=["href"],cI={class:"px-4 py-3"},uI={class:"text-tiny font-semibold text-gray-400 uppercase tracking-wider mb-2"},pI={class:"flex flex-col gap-2"},hI=["href"],mI=["innerHTML"],fI={class:"flex-1 min-w-0"},gI={class:"block text-xs font-semibold text-gray-800 leading-snug"},vI={class:"block text-tiny text-gray-500 mt-0.5"},bI={class:"px-4 py-3 border-t border-gray-100"},yI={class:"flex items-start gap-2 text-tiny text-gray-500 cursor-pointer select-none"},wI=["checked"],xI={class:"leading-snug"};function $I(t,e,n,r,o,i){return Yo(),ni("aside",BA,[li("div",FA,[li("div",null,[li("div",VA,rt(o.i18n.getMessage("networkPanelTitle")),1),li("div",UA,rt(o.i18n.getMessage("networkPanelSubtitle")),1)]),li("button",{class:"rounded p-1 text-gray-400 hover:text-gray-700 hover:bg-gray-100 focus:outline-none",title:o.i18n.getMessage("globalClose"),onClick:e[0]||(e[0]=(...t)=>i.closePanel&&i.closePanel(...t))},[...e[2]||(e[2]=[li("svg",{xmlns:"http://www.w3.org/2000/svg",class:"w-3.5 h-3.5",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2.2","stroke-linecap":"round","stroke-linejoin":"round"},[li("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),li("line",{x1:"6",y1:"6",x2:"18",y2:"18"})],-1)])],8,HA)]),li("div",zA,[li("div",{class:"px-4 py-4 border-b border-gray-100",style:H({background:i.heroBg})},[li("div",GA,[li("span",{class:"w-3 h-3 rounded-full flex-shrink-0",style:H({background:i.heroDotColor,boxShadow:`0 0 0 3px ${i.heroDotColor}25`})},null,4),li("div",{class:"text-sm font-semibold",style:H({color:i.heroLabelColor})},rt(i.stateLabel),5)]),li("p",{class:"text-xs leading-snug mt-2",style:H({color:i.heroDescriptionColor})},rt(i.stateDescription),5)],4),li("div",qA,[li("div",WA,rt(o.i18n.getMessage("networkPanelMetrics")),1),li("div",JA,[li("div",XA,[li("div",KA,rt(o.i18n.getMessage("networkMetricLatency")),1),li("div",YA,rt(i.avgLatencyText),1)]),li("div",ZA,[li("div",QA,rt(o.i18n.getMessage("networkMetricJitter")),1),li("div",tI,rt(i.jitterText),1)]),li("div",eI,[li("div",nI,rt(o.i18n.getMessage("networkMetricLoss")),1),li("div",rI,rt(i.lossText),1)])]),li("div",oI,rt(o.i18n.getMessage("networkPanelUpdateInterval")),1)]),"good"!==t.networkState?(Yo(),ni("div",iI,[li("div",aI,rt(o.i18n.getMessage("networkPanelImpact")),1),li("p",sI,rt(i.impactText),1)])):fi("",!0),"good"!==t.networkState?(Yo(),ni("div",lI,[li("a",{href:o.supportLink,target:"_blank",rel:"noopener",class:"action-row primary flex items-center gap-2 px-3 py-2 rounded-lg text-white font-semibold text-xs no-underline",style:{background:"#16a34a"}},[e[3]||(e[3]=li("svg",{xmlns:"http://www.w3.org/2000/svg",class:"w-3.5 h-3.5 flex-shrink-0",fill:"currentColor",viewBox:"0 0 16 16"},[li("path",{d:"M13.601 2.326A7.85 7.85 0 0 0 7.994 0C3.627 0 .068 3.558.064 7.926c0 1.399.366 2.76 1.057 3.965L0 16l4.204-1.102a7.9 7.9 0 0 0 3.79.965h.004c4.368 0 7.926-3.558 7.93-7.93A7.9 7.9 0 0 0 13.6 2.326zM7.994 14.521a6.6 6.6 0 0 1-3.356-.92l-.24-.144-2.494.654.666-2.433-.156-.251a6.56 6.56 0 0 1-1.007-3.505c0-3.626 2.957-6.584 6.591-6.584a6.56 6.56 0 0 1 4.66 1.931 6.56 6.56 0 0 1 1.928 4.66c-.004 3.639-2.961 6.592-6.592 6.592m3.615-4.934c-.197-.099-1.17-.578-1.353-.646-.182-.065-.315-.099-.445.099-.133.197-.513.646-.627.775-.114.133-.232.148-.43.05-.197-.1-.836-.308-1.592-.985-.59-.525-.985-1.175-1.103-1.372-.114-.198-.011-.304.088-.403.087-.088.197-.232.296-.346.1-.114.133-.198.198-.33.065-.134.034-.248-.015-.347-.05-.099-.445-1.076-.612-1.47-.16-.389-.323-.335-.445-.34-.114-.007-.247-.007-.38-.007a.73.73 0 0 0-.529.247c-.182.198-.691.677-.691 1.654s.71 1.916.81 2.049c.098.133 1.394 2.132 3.383 2.992.47.205.84.326 1.129.418.475.152.904.129 1.246.08.38-.058 1.171-.48 1.338-.943.164-.464.164-.86.114-.943-.049-.084-.182-.133-.38-.232"})],-1)),hi(" "+rt(o.i18n.getMessage("networkActionContactSupport")),1)],8,dI)])):fi("",!0),li("div",bI,[li("label",yI,[li("input",{type:"checkbox",class:"mt-0.5 cursor-pointer accent-blue-500",checked:t.suppressNetworkAutoOpen,onChange:e[1]||(e[1]=e=>t.setSuppressNetworkAutoOpen(e.target.checked))},null,40,wI),li("span",xI,rt(o.i18n.getMessage("networkSuppressAutoOpenLabel")),1)])])])])}const CI="554833328503",kI="https://speedtest.bravophone.com",_I="https://ajuda.sacflow.io/bravophone/articles/205-internet-cabeada-vs-wi-fi-nas-vendas-por-telefonevoip",SI="https://status.bravophone.com",TI='<svg xmlns="http://www.w3.org/2000/svg" class="w-3.5 h-3.5" viewBox="0 0 24 24" fill="currentColor"><rect x="3" y="14" width="4" height="6" rx="1"/><rect x="10" y="9" width="4" height="11" rx="1"/><rect x="17" y="4" width="4" height="16" rx="1"/></svg>',MI='<svg xmlns="http://www.w3.org/2000/svg" class="w-3.5 h-3.5" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"/><line x1="12" y1="17" x2="12.01" y2="17"/></svg>',OI='<svg xmlns="http://www.w3.org/2000/svg" class="w-3.5 h-3.5" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M22 12h-4l-3 9L9 3l-3 9H2"/></svg>',EI={good:{bg:"#f0fdf4",dot:"#10b981",label:"#065f46",description:"#166534"},warning:{bg:"#fffbeb",dot:"#f59e0b",label:"#92400e",description:"#92400e"},slow:{bg:"#fef2f2",dot:"#ef4444",label:"#991b1b",description:"#991b1b"},offline:{bg:"#f8fafc",dot:"#94a3b8",label:"#475569",description:"#475569"}};var AI={name:"NetworkPanel",props:{isDebug:{type:Boolean,default:!1}},data(){return{i18n:chrome.i18n,supportLink:`https://wa.me/${CI}`}},computed:{...ih(["networkState","pingMeasures","pingFailures","suppressNetworkAutoOpen"]),heroPalette(){return EI[this.networkState]||EI.good},heroBg(){return this.heroPalette.bg},heroDotColor(){return this.heroPalette.dot},heroLabelColor(){return this.heroPalette.label},heroDescriptionColor(){return this.heroPalette.description},stateLabel(){return this.i18n.getMessage(`networkStateLabel_${this.networkState}`)||this.i18n.getMessage("networkStateLabel_good")},stateDescription(){return this.i18n.getMessage(`networkStateDesc_${this.networkState}`)||this.i18n.getMessage("networkStateDesc_good")},impactText(){return this.i18n.getMessage(`networkImpact_${this.networkState}`)||""},avgLatencyText(){const t=this.pingMeasures;if(!t||0===t.length)return"—";const e=t.reduce((t,e)=>t+(parseInt(e.ping,10)||0),0)/t.length;return`${Math.round(e)} ms`},lossText(){const t=this.pingMeasures.length,e=this.pingFailures.length,n=t+e;if(0===n)return"—";const r=Math.round(e/n*100);return`${r}%`},jitterText(){const t=this.pingMeasures;if(!t||t.length<2)return"—";let e=0;for(let r=1;r<t.length;r+=1){const n=parseInt(t[r-1].ping,10)||0,o=parseInt(t[r].ping,10)||0;e+=Math.abs(o-n)}const n=e/(t.length-1);return`${Math.round(n)} ms`},resources(){return[{title:this.i18n.getMessage("networkResourceDiagnostic"),subtitle:this.i18n.getMessage("networkResourceDiagnosticUrl"),href:kI,icon:TI},{title:this.i18n.getMessage("networkResourceImpact"),subtitle:this.i18n.getMessage("networkResourceImpactSubtitle"),href:_I,icon:MI},{title:this.i18n.getMessage("networkResourceStatus"),subtitle:this.i18n.getMessage("networkResourceStatusUrl"),href:SI,icon:OI}]}},methods:{...ah(["setNetworkPanelOpen","setSuppressNetworkAutoOpen"]),closePanel(){this.setNetworkPanelOpen(!1)}}};const II=(0,sg.A)(AI,[["render",$I]]);var PI=II;const DI={class:"recents-side-panel flex-none flex flex-col bg-white border-l border-gray-200",style:{width:"260px",height:"100vh"}},RI={class:"flex-none px-4 pt-3 pb-2 border-b border-gray-100 flex items-center justify-between gap-2"},LI={class:"min-w-0"},NI={class:"text-sm font-semibold text-gray-700 leading-tight"},jI={class:"text-tiny text-gray-400 mt-0.5"},BI={class:"flex items-center gap-1.5 flex-shrink-0"},FI=["title"],VI={class:"text-tiny font-semibold text-gray-400 bg-gray-100 px-2 py-0.5 rounded-full tabular-nums"},UI={class:"flex-1 min-h-0 overflow-y-auto"},HI={key:0,class:"px-4 py-10 text-center text-tiny text-gray-400"},zI=["title","onClick"],GI={xmlns:"http://www.w3.org/2000/svg",class:"w-3.5 h-3.5",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2.2","stroke-linecap":"round","stroke-linejoin":"round"},qI={class:"flex-1 min-w-0"},WI={class:"text-xs font-medium text-gray-700 truncate"},JI={class:"text-tiny text-gray-500 tabular-nums truncate"},XI={class:"text-tiny text-gray-400 mt-0.5 flex items-center gap-1 truncate"},KI={class:"truncate"},YI={key:0},ZI={key:1,class:"truncate"},QI=["title","onClick"],tP={class:"flex items-start gap-3"},eP={class:"flex-1 min-w-0"},nP={class:"text-sm font-semibold text-gray-800 leading-snug"},rP={class:"text-xs text-gray-600 mt-1 leading-relaxed"},oP={class:"flex justify-end gap-2 mt-4"},iP={class:"flex-none border-t border-gray-100 px-2 py-1.5"},aP={class:"text-tiny font-semibold uppercase tracking-wider"};function sP(t,e,n,r,o,i){return Yo(),ni("aside",DI,[li("div",{class:"flex-none px-3 pt-3 pb-1"},[li("input",{type:"text",placeholder:"Buscar contato ou ramal",value:o.query,onInput:t=>o.query=t.target.value,class:"w-full px-3 py-1.5 text-xs rounded-lg bg-gray-50 border border-gray-200 focus:outline-none focus:ring-1 focus:ring-blue-200 text-gray-700"})]),li("div",RI,[li("div",LI,[li("div",NI,rt(o.i18n.getMessage("recentsTitle")),1),li("div",jI,rt(o.i18n.getMessage("recentsSubtitle")),1)]),li("div",BI,[i.items.length>0?(Yo(),ni("button",{key:0,class:"text-xs text-gray-400 hover:text-red-500 hover:underline focus:outline-none",title:o.i18n.getMessage("recentsClearAllTooltip"),onClick:e[0]||(e[0]=(...t)=>i.askClearAll&&i.askClearAll(...t))},rt(o.i18n.getMessage("recentsClearAll")),9,FI)):fi("",!0),i.missedCount>0?(Yo(),ni("span",{key:1,class:"text-tiny font-semibold text-white rounded-full px-2 py-0.5",style:{background:"#ef4444"}},i.missedCount+" perdida"+(i.missedCount>1?"s":""),1)):(Yo(),ni("span",VI,rt(i.items.length),1))])]),li("div",UI,[0===i.filteredItems.length?(Yo(),ni("div",HI,rt(o.i18n.getMessage("recentsEmpty")),1)):fi("",!0),(Yo(!0),ni(Go,null,Sr(i.filteredItems,t=>(Yo(),ni("div",{key:t.id,class:"recents-row group relative flex items-center gap-2 px-3 py-2 hover:bg-gray-50 transition-colors border-b border-gray-50"},[li("button",{class:"flex-1 min-w-0 flex items-center gap-2 text-left focus:outline-none",title:t.callTooltip,onClick:e=>i.dial(t)},[li("span",{class:"flex-shrink-0 w-8 h-8 rounded-full flex items-center justify-center text-white text-tiny font-semibold",style:{background:i.avatarColorFor(t.name)}},rt(i.initialsFor(t.name)),1),li("div",qI,[li("div",WI,rt(t.name),1),li("div",JI,rt(t.number),1),li("div",XI,[li("span",{class:t.statusColorClass},rt(t.statusLabel),1),li("span",KI," · "+t.relTime,1),t.source?(Yo(),ni("span",KI," · "+t.source,1)):fi("",!0),t.durationText?(Yo(),ni("span",KI," · "+t.durationText,1)):t.ringText?(Yo(),ni("span",KI," · tocou "+t.ringText,1)):fi("",!0),t.transferredToName?(Yo(),ni("span",{key:2,style:{color:"#f97316"}}," · → "+t.transferredToName,1)):fi("",!0)]),t.expiresText?(Yo(),ni("div",{key:0,class:"text-tiny text-gray-400 mt-0.5"},(o.i18n.getMessage("recentsExpiresIn")||"Expira em")+" "+t.expiresText,1)):fi("",!0)])],8,zI),t.dealUrl?(Yo(),ni("button",{key:1,class:"flex-shrink-0 rounded p-1 text-blue-400 hover:text-blue-600 hover:bg-blue-50 focus:outline-none transition-colors",title:o.i18n.getMessage("recentsOpenDeal")||"Abrir negócio",onClick:Ms(e=>window.open(t.dealUrl,"_blank"),["stop"])},[li("svg",{xmlns:"http://www.w3.org/2000/svg",class:"w-3.5 h-3.5",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2.2","stroke-linecap":"round","stroke-linejoin":"round"},[li("path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"}),li("polyline",{points:"15 3 21 3 21 9"}),li("line",{x1:"10",y1:"14",x2:"21",y2:"3"})])])):fi("",!0),li("button",{class:"recents-remove flex-shrink-0 rounded p-1 text-gray-300 hover:text-red-500 hover:bg-red-50 opacity-0 group-hover:opacity-100 focus:opacity-100 focus:outline-none transition-opacity",title:o.i18n.getMessage("recentsRemoveItem"),onClick:e=>i.askRemoveItem(t)},[...e[9]||(e[9]=[li("svg",{xmlns:"http://www.w3.org/2000/svg",class:"w-3.5 h-3.5",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2.2","stroke-linecap":"round","stroke-linejoin":"round"},[li("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),li("line",{x1:"6",y1:"6",x2:"18",y2:"18"})],-1)])],8,QI)]))),128))]),o.modalType?(Yo(),ni("div",{key:0,class:"confirm-backdrop fixed inset-0 z-50 flex items-center justify-center p-4 font-segoe",style:{background:"rgba(15, 23, 42, 0.45)"},onClick:e[4]||(e[4]=(...t)=>i.cancelAction&&i.cancelAction(...t))},[li("div",{class:"confirm-card bg-white rounded-xl shadow-xl w-full max-w-xs p-4",onClick:e[3]||(e[3]=Ms(()=>{},["stop"]))},[li("div",tP,[e[10]||(e[10]=mi('<span class="w-9 h-9 rounded-full bg-red-50 text-red-500 flex items-center justify-center flex-shrink-0"><svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"><path d="M3 6h18"></path><path d="M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"></path><path d="M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6"></path><line x1="10" y1="11" x2="10" y2="17"></line><line x1="14" y1="11" x2="14" y2="17"></line></svg></span>',1)),li("div",eP,[li("div",nP,rt(i.confirmTitle),1),li("p",rP,rt(i.confirmMessage),1)])]),li("div",oP,[li("button",{class:"px-3 py-1.5 text-xs font-medium text-gray-600 hover:bg-gray-100 rounded-md focus:outline-none transition-colors",onClick:e[1]||(e[1]=(...t)=>i.cancelAction&&i.cancelAction(...t))},rt(o.i18n.getMessage("globalCancel")),1),li("button",{class:"px-3 py-1.5 text-xs font-semibold text-white bg-red-500 hover:bg-red-600 rounded-md focus:outline-none transition-colors",onClick:e[2]||(e[2]=(...t)=>i.confirmAction&&i.confirmAction(...t))},rt(i.confirmActionLabel),1)])])])):fi("",!0),fi("",!0)])}const lP={activecampaign:"ActiveCampaign",agendor:"Agendor",appfacilita:"AppFacilita",bulldesk:"Bulldesk",exactsales:"Exact Sales",groner:"Groner","go-high-lvl":"GoHighLevel",hubspot:"HubSpot",kommo:"Kommo",moskit:"Moskit",nectar:"Nectar",pipedrive:"Pipedrive",pipefy:"Pipefy",piperun:"Piperun",ploomes:"Ploomes","rdstation-crm":"RD Station",salesforce:"Salesforce",sunhub:"SunHub",sharpspring:"SharpSpring",zendesk:"Zendesk",zoho:"Zoho",clickup:"Clickup",vendfly:"Vendfly"};function dP(t){if(!t)return"";const e=new Date(t),n=Date.now()-e.getTime(),r=Math.floor(n/6e4);if(r<1)return"agora";if(r<60)return`há ${r} min`;const o=Math.floor(r/60);if(o<24)return`há ${o} h`;const i=Math.floor(o/24);return 1===i?"ontem":i<7?`${i} dias`:e.toLocaleDateString("pt-BR",{day:"2-digit",month:"short"})}var cP={name:"RecentsSidePanel",props:{isDebug:{type:Boolean,default:!1}},data(){return{i18n:chrome.i18n,modalType:null,pendingRemove:null,query:"",nowTick:0}},setup(){return{emitter:$h}},mounted(){this._recentsTickInterval=setInterval(()=>{this.nowTick++},6e4)},beforeUnmount(){clearInterval(this._recentsTickInterval)},computed:{...ih(["recents"]),confirmTitle(){return"remove"===this.modalType?this.i18n.getMessage("recentsRemoveConfirmTitle"):"clear"===this.modalType?this.i18n.getMessage("recentsClearConfirmTitle"):""},confirmMessage(){if("remove"===this.modalType){const t=this.pendingRemove&&(this.pendingRemove.name||this.pendingRemove.number),e=this.i18n.getMessage("recentsRemoveConfirmMessage")||"";return t?e.replace("{name}",t):e}return"clear"===this.modalType?this.i18n.getMessage("recentsClearConfirmMessage"):""},confirmActionLabel(){return"remove"===this.modalType?this.i18n.getMessage("recentsRemoveConfirmAction"):"clear"===this.modalType?this.i18n.getMessage("recentsClearConfirmAction"):""},supportLinks(){return[{kind:"click",label:this.i18n.getMessage("recentsCommercial")||"Comercial",title:this.i18n.getMessage("talkToCommercialTeam"),onClick:()=>window.open(ng(),"_blank")},{kind:"href",label:this.i18n.getMessage("recentsSupport")||"Suporte",href:Yf,title:this.i18n.getMessage("talkToSupportTeam")}]},items(){this.nowTick;const e=[];for(const n of this.recents||[]){const r=n.data||{},o=r.numbers||[],i=o[0]||{},a=i.number||i.formatted||"";if(!a)continue;const createdMs=r.createdAt?new Date(r.createdAt).getTime():null,ageMs=createdMs?Date.now()-createdMs:0;if(createdMs&&ageMs>=864e5)continue;const s="call-in"===n.gateway?"in":"out",l=this.deriveSource(n.gateway,r.company,r.crmGateway);if(e.push({id:n.id,name:r.name||a,number:i.formatted||a,rawNumber:a,dir:s,missed:!!r.missed,statusLabel:r.missed?("out"===s?"Não atendida":"Perdida"):r.transferred?this.i18n.getMessage("recentsTransferred")||"Transferida":"out"===s?"Feita":"Recebida",statusColorClass:r.missed?"text-red-500":r.transferred?"text-orange-500":"text-green-600",relTime:dP(r.createdAt),source:l,dealUrl:r.url||null,ringText:this.formatSeconds(r.ringSeconds),durationText:!r.missed&&r.durationSeconds?this.formatSeconds(r.durationSeconds):null,transferredToName:r.transferred?r.transferredToName||r.transferredToRamal||null:null,expiresText:createdMs?this.formatRemaining(864e5-ageMs):null,callTooltip:this.i18n.getMessage("webphoneCallMake")}),e.length>=8)break}return e},filteredItems(){const t=(this.query||"").toLowerCase().trim();return t?this.items.filter(e=>(e.name||"").toLowerCase().includes(t)||(e.rawNumber||"").includes(t)):this.items},missedCount(){return this.items.filter(t=>t.missed).length}},methods:{formatSeconds(t){if(!t)return null;t=Math.max(0,Math.round(t));const e=Math.floor(t/60),n=t%60;return e>0?`${e}:${String(n).padStart(2,"0")}`:`${n}s`},formatRemaining(t){if(t<=0)return null;const e=Math.floor(t/36e5),n=Math.floor(t%36e5/6e4);return e>0?`${e}h${n>0?" "+n+"min":""}`:`${Math.max(1,n)}min`},initialsFor(t){if(!t)return"#";const e=String(t).trim().split(/\s+/).filter(Boolean);return e.length>=2?(e[0][0]+e[1][0]).toUpperCase():e.length?e[0].slice(0,2).toUpperCase():"#"},avatarColorFor(t){const e=["#22c55e","#3b82f6","#f59e0b","#ec4899","#a855f7","#06b6d4","#ef4444","#84cc16"];let n=0;const r=String(t||"");for(let o=0;o<r.length;o++)n=(n+r.charCodeAt(o))%e.length;return e[n]},deriveSource(t,e,n){if(n){const t=lP[n]||n;return e?`${t} · ${e}`:t}if("call-out"===t)return this.i18n.getMessage("callSourceManual");if("call-in"===t)return this.i18n.getMessage("callSourceIncoming");if("click-to-call"===t)return this.i18n.getMessage("callSourceClickToCall");const r=lP[t]||t;return e?`${r} · ${e}`:r},dial(t){const e=(this.recents||[]).find(e=>e.id===t.id);e&&e.data&&e.data.phone?this.emitter.emit("make-call-contact-dialer",e):this.emitter.emit("webphone-dial-from-pad",t.rawNumber)},askRemoveItem(t){this.pendingRemove=t,this.modalType="remove"},askClearAll(){this.items.length&&(this.modalType="clear")},cancelAction(){this.modalType=null,this.pendingRemove=null},confirmAction(){"remove"===this.modalType&&this.pendingRemove?this.$store.commit("removeRecent",{id:this.pendingRemove.id}):"clear"===this.modalType&&this.$store.commit("clearRecents"),this.modalType=null,this.pendingRemove=null}}};const uP=(0,sg.A)(cP,[["render",sP]]);var pP=uP;const hP={class:"settings-tab h-full overflow-y-auto bg-gray-50 px-3 py-3 flex flex-col gap-3"},mP={class:"account flex items-center gap-3 bg-white rounded-lg p-3 border border-gray-200"},fP={class:"flex-1 min-w-0 text-left"},gP={class:"font-semibold text-sm text-gray-700 truncate"},vP={class:"text-xs text-gray-500 truncate"},bP={key:0,class:"text-tiny text-gray-400 mt-0.5"},yP={class:"font-semibold tabular-nums"},wP={class:"section-header flex items-center justify-between pl-1 pr-1 mb-1.5"},xP={class:"section-title m-0"},$P=["disabled"],CP={class:"bg-white rounded-lg border border-gray-200 divide-y divide-gray-100"},kP={key:0,class:"p-3 text-tiny text-gray-400 text-center"},_P={class:"font-medium text-gray-700"},SP={class:"section-title m-0 flex items-center gap-1.5"},TP={key:0,class:"bg-white rounded-lg border border-gray-200 p-3 flex flex-col gap-3"},MP={class:"device-row flex flex-col gap-1.5"},OP={class:"text-xs font-medium text-gray-700"},EP={ref:"micDropdown",class:"relative"},AP={class:"flex-1 min-w-0 truncate text-gray-700"},IP={key:0,class:"device-menu absolute z-20 left-0 right-0 mt-1 max-h-48 overflow-y-auto bg-white border border-gray-200 rounded-md shadow-lg py-1"},PP=["onClick"],DP={key:0,xmlns:"http://www.w3.org/2000/svg",class:"w-3 h-3 flex-shrink-0 text-blue-600",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"},RP={key:1,class:"w-3 flex-shrink-0"},LP={class:"truncate"},NP={class:"device-row flex flex-col gap-1.5"},jP={class:"text-xs font-medium text-gray-700"},BP={ref:"speakerDropdown",class:"relative"},FP={class:"flex-1 min-w-0 truncate text-gray-700"},VP={key:0,class:"device-menu absolute z-20 left-0 right-0 mt-1 max-h-48 overflow-y-auto bg-white border border-gray-200 rounded-md shadow-lg py-1"},UP=["onClick"],HP={key:0,xmlns:"http://www.w3.org/2000/svg",class:"w-3 h-3 flex-shrink-0 text-blue-600",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"},zP={key:1,class:"w-3 flex-shrink-0"},GP={class:"truncate"},qP={class:"border-t border-gray-100 pt-2 mt-1 flex flex-col gap-2.5"},WP={class:"flex items-center justify-between mb-1"},JP={class:"text-xs text-gray-700"},XP={class:"text-tiny text-gray-400 tabular-nums w-7 text-right"},KP=["value","onInput"],YP={class:"section-title m-0 flex items-center gap-1.5"},ZP={key:0,class:"bg-white rounded-lg border border-gray-200 p-3"},QP={class:"device-row flex flex-col gap-1.5"},tD={class:"text-xs font-medium text-gray-700"},eD={ref:"countryDropdown",class:"relative"},nD={class:"text-base leading-none flex-shrink-0"},rD={class:"flex-1 min-w-0 truncate text-gray-700"},oD={class:"text-gray-400 tabular-nums ml-1"},iD={key:0,class:"device-menu absolute z-20 left-0 right-0 mt-1 max-h-56 overflow-y-auto bg-white border border-gray-200 rounded-md shadow-lg py-1"},aD=["onClick"],sD={key:0,xmlns:"http://www.w3.org/2000/svg",class:"w-3 h-3 flex-shrink-0 text-blue-600",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"},lD={key:1,class:"w-3 flex-shrink-0"},dD={class:"text-base leading-none flex-shrink-0"},cD={class:"truncate flex-1"},uD={class:"text-gray-400 tabular-nums flex-shrink-0"},pD={class:"section-title m-0 flex items-center gap-1.5"},hD={key:0,class:"bg-white rounded-lg border border-gray-200 p-3 flex flex-col gap-2.5"},mD={class:"text-tiny text-gray-500 leading-snug"},fD={class:"flex items-center gap-2 px-2.5 py-2 rounded-md bg-amber-50 border border-amber-200"},gD={class:"text-tiny text-amber-700 leading-snug"},vD={class:"text-xs text-gray-700 mb-1.5"},bD={class:"segmented grid grid-cols-2 gap-0.5 bg-gray-100 rounded-lg p-0.5"},yD=["onClick"],wD={class:"text-xs text-gray-700 mb-1.5"},xD={class:"grid grid-cols-2 gap-1.5"},$D=["onClick"],CD={class:"position-preview relative bg-gray-100 rounded",style:{width:"36px",height:"26px","flex-shrink":"0"}},kD={class:"text-xs text-gray-700 mb-1.5"},_D={class:"segmented grid grid-cols-3 gap-0.5 bg-gray-100 rounded-lg p-0.5"},SD=["onClick"],TD={class:"section-title"},MD={class:"bg-white rounded-lg border border-gray-200 divide-y divide-gray-100"},OD={class:"flex-1 min-w-0"},ED={class:"text-sm text-gray-700"},AD={class:"text-tiny text-gray-500"},ID=["href"],PD={class:"flex-1 min-w-0"},DD={class:"text-sm text-gray-700"},RD={class:"text-tiny text-gray-500"},LD=["href"],ND={class:"flex-1 min-w-0"},jD={class:"text-sm text-gray-700"},BD=["href"],FD={class:"flex-1 min-w-0"},VD={class:"text-sm text-gray-700"},UD={class:"text-tiny text-gray-500"},HD=["href"],zD={class:"flex-1 min-w-0"},GD={class:"text-sm text-gray-700"},qD=["href"],WD={class:"flex-1 min-w-0"},JD={class:"text-sm text-gray-700"},XD={class:"text-sm font-semibold text-red-500"};function KD(t,e,n,r,o,i){const a=wr("avatar-badge"),s=wr("external-arrow"),l=Cr("tooltip");return Yo(),ni("div",hP,[li("div",mP,[di(a,{name:t.user&&t.user.name,size:40},null,8,["name"]),li("div",fP,[xn((Yo(),ni("div",gP,[hi(rt(t.user&&t.user.name),1)])),[[l,{content:t.user&&t.user.name},void 0,{bottom:!0}]]),xn((Yo(),ni("div",vP,[hi(rt(t.user&&t.user.email),1)])),[[l,{content:t.user&&t.user.email},void 0,{bottom:!0}]]),t.extension&&t.extension.username?(Yo(),ni("div",bP,[hi(rt(o.i18n.getMessage("settingsRamal"))+" ",1),li("span",yP,rt(t.extension.username),1)])):fi("",!0)])]),li("section",null,[li("div",wP,[li("h3",xP,rt(o.i18n.getMessage("settingsSectionIntegrations")),1),li("button",{class:"refresh-btn flex items-center gap-1 text-tiny font-semibold uppercase tracking-wider text-gray-400 hover:text-gray-600 focus:outline-none",disabled:o.integrationsRefreshing,onClick:e[0]||(e[0]=(...t)=>i.refreshIntegrations&&i.refreshIntegrations(...t))},[(Yo(),ni("svg",{xmlns:"http://www.w3.org/2000/svg",class:J(["w-3 h-3",{"spin-loop":o.integrationsRefreshing}]),viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2.4","stroke-linecap":"round","stroke-linejoin":"round"},[...e[9]||(e[9]=[li("polyline",{points:"23 4 23 10 17 10"},null,-1),li("polyline",{points:"1 20 1 14 7 14"},null,-1),li("path",{d:"M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15"},null,-1)])],2)),hi(" "+rt(o.integrationsRefreshing?o.i18n.getMessage("settingsIntegrationsRefreshing"):o.i18n.getMessage("settingsIntegrationsRefresh")),1)],8,$P)]),li("div",CP,[0===i.activeIntegrations.length?(Yo(),ni("div",kP,rt(o.i18n.getMessage("settingsIntegrationsEmpty")),1)):fi("",!0),(Yo(!0),ni(Go,null,Sr(i.activeIntegrations,t=>(Yo(),ni("div",{key:t.gateway,class:"flex items-center gap-2 p-2.5 text-xs"},[e[10]||(e[10]=li("span",{class:"w-2 h-2 rounded-full bg-green-500 flex-shrink-0"},null,-1)),li("span",_P,rt(i.integrationLabel(t.gateway)),1)]))),128))])]),li("section",null,[li("button",{class:"section-header w-full flex items-center justify-between pl-1 pr-1 mb-1.5 focus:outline-none",onClick:e[1]||(e[1]=t=>o.audioOpen=!o.audioOpen)},[li("h3",SP,[(Yo(),ni("svg",{xmlns:"http://www.w3.org/2000/svg",class:J(["w-2.5 h-2.5 transition-transform",{"-rotate-90":!o.audioOpen}]),viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2.4","stroke-linecap":"round","stroke-linejoin":"round"},[...e[11]||(e[11]=[li("polyline",{points:"6 9 12 15 18 9"},null,-1)])],2)),hi(" "+rt(o.i18n.getMessage("settingsSectionAudio")),1)])]),o.audioOpen?(Yo(),ni("div",TP,[li("div",MP,[li("span",OP,rt(o.i18n.getMessage("settingsAudioMic")),1),li("div",EP,[li("button",{type:"button",class:J(["device-trigger w-full flex items-center gap-2 px-2.5 py-1.5 text-xs text-left bg-gray-50 hover:bg-white border border-gray-200 hover:border-gray-300 rounded-md focus:outline-none focus:border-blue-400 focus:bg-white transition-colors",{"bg-white border-blue-400 ring-2 ring-blue-100":o.micOpen}]),onClick:e[2]||(e[2]=t=>i.toggleDropdown("mic"))},[e[13]||(e[13]=mi('<svg xmlns="http://www.w3.org/2000/svg" class="w-3.5 h-3.5 text-gray-400 flex-shrink-0" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" data-v-11afbabc><path d="M12 2a3 3 0 0 0-3 3v6a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3z" data-v-11afbabc></path><path d="M19 11a7 7 0 0 1-14 0" data-v-11afbabc></path><line x1="12" y1="18" x2="12" y2="22" data-v-11afbabc></line><line x1="8" y1="22" x2="16" y2="22" data-v-11afbabc></line></svg>',1)),li("span",AP,rt(i.micLabel),1),(Yo(),ni("svg",{xmlns:"http://www.w3.org/2000/svg",class:J(["w-3 h-3 text-gray-400 flex-shrink-0 transition-transform",{"rotate-180":o.micOpen}]),viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2.4","stroke-linecap":"round","stroke-linejoin":"round"},[...e[12]||(e[12]=[li("polyline",{points:"6 9 12 15 18 9"},null,-1)])],2))],2),di(aa,{name:"dropdown-fade"},{default:wn(()=>[o.micOpen?(Yo(),ni("div",IP,[(Yo(!0),ni(Go,null,Sr(o.micDevices,t=>(Yo(),ni("button",{key:t.deviceId,type:"button",class:J(["device-option w-full px-2.5 py-1.5 text-xs text-left flex items-center gap-2 hover:bg-gray-50 focus:outline-none focus:bg-gray-50 transition-colors",t.deviceId===o.micId?"text-blue-700 font-semibold bg-blue-50/60":"text-gray-700"]),onClick:e=>i.selectMic(t.deviceId)},[t.deviceId===o.micId?(Yo(),ni("svg",DP,[...e[14]||(e[14]=[li("polyline",{points:"20 6 9 17 4 12"},null,-1)])])):(Yo(),ni("span",RP)),li("span",LP,rt(t.label||o.i18n.getMessage("settingsAudioDeviceFallback")),1)],10,PP))),128))])):fi("",!0)]),_:1})],512)]),li("div",NP,[li("span",jP,rt(o.i18n.getMessage("settingsAudioSpeaker")),1),li("div",BP,[li("button",{type:"button",class:J(["device-trigger w-full flex items-center gap-2 px-2.5 py-1.5 text-xs text-left bg-gray-50 hover:bg-white border border-gray-200 hover:border-gray-300 rounded-md focus:outline-none focus:border-blue-400 focus:bg-white transition-colors",{"bg-white border-blue-400 ring-2 ring-blue-100":o.speakerOpen}]),onClick:e[3]||(e[3]=t=>i.toggleDropdown("speaker"))},[e[16]||(e[16]=li("svg",{xmlns:"http://www.w3.org/2000/svg",class:"w-3.5 h-3.5 text-gray-400 flex-shrink-0",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[li("polygon",{points:"11 5 6 9 2 9 2 15 6 15 11 19 11 5"}),li("path",{d:"M15.54 8.46a5 5 0 0 1 0 7.07"}),li("path",{d:"M19.07 4.93a10 10 0 0 1 0 14.14"})],-1)),li("span",FP,rt(i.speakerLabel),1),(Yo(),ni("svg",{xmlns:"http://www.w3.org/2000/svg",class:J(["w-3 h-3 text-gray-400 flex-shrink-0 transition-transform",{"rotate-180":o.speakerOpen}]),viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2.4","stroke-linecap":"round","stroke-linejoin":"round"},[...e[15]||(e[15]=[li("polyline",{points:"6 9 12 15 18 9"},null,-1)])],2))],2),di(aa,{name:"dropdown-fade"},{default:wn(()=>[o.speakerOpen?(Yo(),ni("div",VP,[(Yo(!0),ni(Go,null,Sr(o.speakerDevices,t=>(Yo(),ni("button",{key:t.deviceId,type:"button",class:J(["device-option w-full px-2.5 py-1.5 text-xs text-left flex items-center gap-2 hover:bg-gray-50 focus:outline-none focus:bg-gray-50 transition-colors",t.deviceId===o.speakerId?"text-blue-700 font-semibold bg-blue-50/60":"text-gray-700"]),onClick:e=>i.selectSpeaker(t.deviceId)},[t.deviceId===o.speakerId?(Yo(),ni("svg",HP,[...e[17]||(e[17]=[li("polyline",{points:"20 6 9 17 4 12"},null,-1)])])):(Yo(),ni("span",zP)),li("span",GP,rt(t.label||o.i18n.getMessage("settingsAudioDeviceFallback")),1)],10,UP))),128))])):fi("",!0)]),_:1})],512)]),li("div",qP,[(Yo(!0),ni(Go,null,Sr(i.volumeRows,t=>(Yo(),ni("div",{key:t.key,class:"volume-row"},[li("div",WP,[li("span",JP,rt(t.label),1),li("span",XP,rt(t.value)+"%",1)]),li("input",{type:"range",min:"0",max:"100",value:t.value,onInput:e=>t.set(parseInt(e.target.value,10)),class:"w-full h-1 cursor-pointer accent-blue-500"},null,40,KP)]))),128))])])):fi("",!0)]),li("section",null,[li("button",{class:"section-header w-full flex items-center justify-between pl-1 pr-1 mb-1.5 focus:outline-none",onClick:e[4]||(e[4]=t=>o.dialingOpen=!o.dialingOpen)},[li("h3",YP,[(Yo(),ni("svg",{xmlns:"http://www.w3.org/2000/svg",class:J(["w-2.5 h-2.5 transition-transform",{"-rotate-90":!o.dialingOpen}]),viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2.4","stroke-linecap":"round","stroke-linejoin":"round"},[...e[18]||(e[18]=[li("polyline",{points:"6 9 12 15 18 9"},null,-1)])],2)),hi(" "+rt(o.i18n.getMessage("settingsSectionDialing")),1)])]),o.dialingOpen?(Yo(),ni("div",ZP,[li("div",QP,[li("span",tD,rt(o.i18n.getMessage("settingsDialingCountry")),1),li("div",eD,[li("button",{type:"button",class:J(["device-trigger w-full flex items-center gap-2 px-2.5 py-1.5 text-xs text-left bg-gray-50 hover:bg-white border border-gray-200 hover:border-gray-300 rounded-md focus:outline-none focus:border-blue-400 focus:bg-white transition-colors",{"bg-white border-blue-400 ring-2 ring-blue-100":o.countryOpen}]),onClick:e[5]||(e[5]=t=>i.toggleDropdown("country"))},[li("span",nD,rt(i.selectedCountry.flag),1),li("span",rD,[hi(rt(i.selectedCountry.label)+" ",1),li("span",oD,rt(i.selectedCountry.dial),1)]),(Yo(),ni("svg",{xmlns:"http://www.w3.org/2000/svg",class:J(["w-3 h-3 text-gray-400 flex-shrink-0 transition-transform",{"rotate-180":o.countryOpen}]),viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2.4","stroke-linecap":"round","stroke-linejoin":"round"},[...e[19]||(e[19]=[li("polyline",{points:"6 9 12 15 18 9"},null,-1)])],2))],2),di(aa,{name:"dropdown-fade"},{default:wn(()=>[o.countryOpen?(Yo(),ni("div",iD,[(Yo(!0),ni(Go,null,Sr(o.countries,t=>(Yo(),ni("button",{key:t.code,type:"button",class:J(["device-option w-full px-2.5 py-1.5 text-xs text-left flex items-center gap-2 hover:bg-gray-50 focus:outline-none focus:bg-gray-50 transition-colors",t.code===o.defaultCountry?"text-blue-700 font-semibold bg-blue-50/60":"text-gray-700"]),onClick:e=>i.selectCountry(t.code)},[t.code===o.defaultCountry?(Yo(),ni("svg",sD,[...e[20]||(e[20]=[li("polyline",{points:"20 6 9 17 4 12"},null,-1)])])):(Yo(),ni("span",lD)),li("span",dD,rt(t.flag),1),li("span",cD,rt(t.label),1),li("span",uD,rt(t.dial),1)],10,aD))),128))])):fi("",!0)]),_:1})],512)])])):fi("",!0)]),li("section",null,[li("button",{class:"section-header w-full flex items-center justify-between pl-1 pr-1 mb-1.5 focus:outline-none",onClick:e[6]||(e[6]=t=>o.dialerCrmOpen=!o.dialerCrmOpen)},[li("h3",pD,[(Yo(),ni("svg",{xmlns:"http://www.w3.org/2000/svg",class:J(["w-2.5 h-2.5 transition-transform",{"-rotate-90":!o.dialerCrmOpen}]),viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2.4","stroke-linecap":"round","stroke-linejoin":"round"},[...e[21]||(e[21]=[li("polyline",{points:"6 9 12 15 18 9"},null,-1)])],2)),hi(" "+rt(o.i18n.getMessage("settingsSectionDialerCrm")),1)])]),o.dialerCrmOpen?(Yo(),ni("div",hD,[li("p",mD,rt(o.i18n.getMessage("settingsDialerCrmHint")),1),li("div",fD,[e[22]||(e[22]=li("svg",{xmlns:"http://www.w3.org/2000/svg",class:"w-3.5 h-3.5 flex-shrink-0 text-amber-600",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2.2","stroke-linecap":"round","stroke-linejoin":"round"},[li("circle",{cx:"12",cy:"12",r:"10"}),li("line",{x1:"12",y1:"8",x2:"12",y2:"12"}),li("line",{x1:"12",y1:"16",x2:"12.01",y2:"16"})],-1)),li("p",gD,rt(o.i18n.getMessage("settingsDialerCrmRefreshNotice")),1)]),li("div",null,[li("div",vD,rt(o.i18n.getMessage("settingsDialerMode")),1),li("div",bD,[(Yo(!0),ni(Go,null,Sr(i.dialerModeOptions,e=>(Yo(),ni("button",{key:e.value,class:J(["segmented-btn rounded-md text-tiny font-semibold flex items-center justify-center leading-none h-7 px-2 transition focus:outline-none",t.dialerMode===e.value?"bg-white text-gray-700 shadow-sm":"text-gray-500 hover:text-gray-700"]),onClick:t=>i.setDialerModeLocal(e.value)},rt(e.label),11,yD))),128))])]),li("div",null,[li("div",wD,rt(o.i18n.getMessage("settingsDialerPosition")),1),li("div",xD,[(Yo(!0),ni(Go,null,Sr(i.dialerPositions,t=>(Yo(),ni("button",{key:t.code,class:J(["position-cell flex items-center gap-2 rounded-lg border p-1.5 focus:outline-none",o.dialerPosition===t.code?"border-blue-500 bg-blue-50":"border-gray-200 hover:bg-gray-50"]),onClick:e=>i.setDialerPosition(t.code)},[li("div",CD,[li("span",{class:"block bg-blue-500 rounded-full absolute",style:H(i.positionBlipStyle(t))},null,4)]),li("span",{class:J(["text-tiny font-medium leading-none",o.dialerPosition===t.code?"text-blue-600":"text-gray-500"])},rt(t.label),3)],10,$D))),128))])]),li("div",null,[li("div",kD,rt(o.i18n.getMessage("settingsDialerSize")),1),li("div",_D,[(Yo(!0),ni(Go,null,Sr(i.dialerSizeOptions,t=>(Yo(),ni("button",{key:t.value,class:J(["segmented-btn rounded-md text-tiny font-semibold flex items-center justify-center leading-none h-7 px-2 transition focus:outline-none",o.dialerSize===t.value?"bg-white text-gray-700 shadow-sm":"text-gray-500 hover:text-gray-700"]),onClick:e=>i.setDialerSize(t.value)},rt(t.label),11,SD))),128))])])])):fi("",!0)]),li("button",{class:"logout-row mt-2 flex items-center justify-center bg-white rounded-lg p-3 border border-gray-200 gap-3 cursor-pointer hover:bg-red-50 w-full focus:outline-none",onClick:e[8]||(e[8]=t=>r.emitter.emit("open-logout-modal"))},[li("span",XD,rt(o.i18n.getMessage("logout")),1),e[32]||(e[32]=li("svg",{xmlns:"http://www.w3.org/2000/svg",class:"w-4 h-4 text-red-500",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[li("path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"}),li("polyline",{points:"16 17 21 12 16 7"}),li("line",{x1:"21",y1:"12",x2:"9",y2:"12"})],-1))])])}const YD=()=>zi("svg",{xmlns:"http://www.w3.org/2000/svg",class:"w-3.5 h-3.5 text-gray-400 flex-shrink-0",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[zi("path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"}),zi("polyline",{points:"15 3 21 3 21 9"}),zi("line",{x1:10,y1:14,x2:21,y2:3})]),ZD=[{code:"BR",flag:"🇧🇷",label:"Brasil",dial:"+55"},{code:"US",flag:"🇺🇸",label:"Estados Unidos",dial:"+1"},{code:"PT",flag:"🇵🇹",label:"Portugal",dial:"+351"},{code:"AR",flag:"🇦🇷",label:"Argentina",dial:"+54"},{code:"MX",flag:"🇲🇽",label:"México",dial:"+52"},{code:"CL",flag:"🇨🇱",label:"Chile",dial:"+56"}],QD=[{code:"tl",positionY:"top",positionX:"left"},{code:"tr",positionY:"top",positionX:"right"},{code:"bl",positionY:"bottom",positionX:"left"},{code:"br",positionY:"bottom",positionX:"right"}],tR={small:"64",medium:"96",large:"128"},eR=t=>{const e=parseInt(t,10);return e<=80?"small":e>=120?"large":"medium"},nR={activecampaign:"ActiveCampaign",agendor:"Agendor",appfacilita:"AppFacilita",bulldesk:"Bulldesk",exactsales:"Exact Sales",groner:"Groner","go-high-lvl":"GoHighLevel",hubspot:"HubSpot",kommo:"Kommo",moskit:"Moskit",nectar:"Nectar",pipedrive:"Pipedrive",pipefy:"Pipefy",piperun:"Piperun",ploomes:"Ploomes","rdstation-crm":"RD Station",salesforce:"Salesforce",sunhub:"SunHub",sharpspring:"SharpSpring",zendesk:"Zendesk",zoho:"Zoho",clickup:"Clickup",vendfly:"Vendfly"};var rR={name:"SettingsTab",components:{AvatarBadge:Gg,ExternalArrow:YD},props:{isDebug:{type:Boolean,default:!1}},data(){return{i18n:chrome.i18n,audioOpen:!1,dialingOpen:!1,dialerCrmOpen:!1,micId:"default",speakerId:"default",micDevices:[],speakerDevices:[],micOpen:!1,speakerOpen:!1,countryOpen:!1,defaultCountry:"BR",dialerPosition:"br",dialerSize:"medium",integrationsRefreshing:!1,countries:ZD,supportUrl:Yf,helpCenterUrl:Zf,statusUrl:Qf,diagnosticUrl:tg,portalUrl:eg,portalDomain:eg.replace(/^https?:\/\//,"").replace(/\/$/,"")}},setup(){const t=ip();return{emitter:$h,toast:t}},mounted(){this.loadDevicePrefs(),this.loadCountry(),this.loadDialerButtonConfig(),this.refreshDevices(),this.emitter.on("refresh-media-devices",this.refreshDevices),document.addEventListener("mousedown",this.handleDeviceDropdownOutside)},beforeUnmount(){this.emitter.off("refresh-media-devices",this.refreshDevices),document.removeEventListener("mousedown",this.handleDeviceDropdownOutside)},computed:{...ih(["deviceAudioInputId","deviceAudioOutputId","dialerMode","extension","integrations","user","volume","volumeRinger","volumeTones","volumeRemote"]),micLabel(){const t=this.micDevices.find(t=>t.deviceId===this.micId);return t&&t.label||this.i18n.getMessage("settingsAudioDeviceFallback")},speakerLabel(){const t=this.speakerDevices.find(t=>t.deviceId===this.speakerId);return t&&t.label||this.i18n.getMessage("settingsAudioDeviceFallback")},selectedCountry(){return this.countries.find(t=>t.code===this.defaultCountry)||this.countries[0]},activeIntegrations(){return this.integrations?this.integrations.filter(t=>nR[t.gateway]):[]},volumeRows(){return[{key:"volume",label:this.t("settingsVolumeMaster"),value:this.volume,set:t=>this.setVolume(t)},{key:"volumeRinger",label:this.t("settingsVolumeRinger"),value:this.volumeRinger,set:t=>this.setVolumeRinger(t)},{key:"volumeTones",label:this.t("settingsVolumeTones"),value:this.volumeTones,set:t=>this.setVolumeTones(t)},{key:"volumeRemote",label:this.t("settingsVolumeRemote"),value:this.volumeRemote,set:t=>this.setVolumeRemote(t)}]},dialerPositions(){return[{code:"tl",label:this.t("settingsDialerPositionTL")},{code:"tr",label:this.t("settingsDialerPositionTR")},{code:"bl",label:this.t("settingsDialerPositionBL")},{code:"br",label:this.t("settingsDialerPositionBR")}]},dialerSizeOptions(){return[{value:"small",label:this.t("settingsDialerSizeSmall")},{value:"medium",label:this.t("settingsDialerSizeMedium")},{value:"large",label:this.t("settingsDialerSizeLarge")}]},dialerModeOptions(){return[{value:"manual",label:this.t("settingsDialerModeManual")},{value:"firstPhone",label:this.t("settingsDialerModeFirst")}]}},watch:{micId(t){this.setDeviceAudioInputId(t)},speakerId(t){this.setDeviceAudioOutputId(t)},defaultCountry(t){chrome.storage.sync.set({bravophoneDefaultCountry:t})}},methods:{...ah(["setDeviceAudioInputId","setDeviceAudioOutputId","setDialerMode","setVolume","setVolumeRinger","setVolumeTones","setVolumeRemote"]),t(t){return chrome.i18n.getMessage(t)},integrationLabel(t){return nR[t]||t},refreshIntegrations(){this.integrationsRefreshing||(this.integrationsRefreshing=!0,this.$store.dispatch("loadIntegrations").then(()=>{this.toast.success(this.t("homeUpdateIntegrationSuccess"))}).catch(t=>{429===t.statusCode?this.toast.error(this.t("errorTooManyRequests")):401===t.statusCode&&(this.toast.error(this.t("mainErrorExpiredToken")),setTimeout(()=>document.location.reload(),1e4))}).finally(()=>{setTimeout(()=>{this.integrationsRefreshing=!1},600)}))},loadDevicePrefs(){this.micId=this.deviceAudioInputId||"default",this.speakerId=this.deviceAudioOutputId||"default"},loadCountry(){chrome.storage.sync.get("bravophoneDefaultCountry",({bravophoneDefaultCountry:t})=>{this.defaultCountry=t||"BR"})},loadDialerButtonConfig(){chrome.storage.sync.get("bravophoneDialerButtonConfig",({bravophoneDialerButtonConfig:t})=>{const e=t||{};if(e.positionY&&e.positionX){const t=`${e.positionY[0]}${e.positionX[0]}`;this.dialerPosition=["tl","tr","bl","br"].includes(t)?t:"br"}e.size&&(this.dialerSize=eR(e.size))})},persistDialerButtonConfig(){const t=QD.find(t=>t.code===this.dialerPosition)||QD[3];chrome.storage.sync.set({bravophoneDialerButtonConfig:{positionY:t.positionY,positionX:t.positionX,size:tR[this.dialerSize]||tR.medium}})},setDialerPosition(t){this.dialerPosition=t,this.persistDialerButtonConfig()},setDialerSize(t){this.dialerSize=t,this.persistDialerButtonConfig()},setDialerModeLocal(t){this.setDialerMode(t)},positionBlipStyle(t){const e="t"===t.code[0],n="l"===t.code[1],r="small"===this.dialerSize?6:"large"===this.dialerSize?12:9,o="3px",i={width:`${r}px`,height:`${r}px`};return e?i.top=o:i.bottom=o,n?i.left=o:i.right=o,i},refreshDevices(){navigator.mediaDevices&&navigator.mediaDevices.enumerateDevices&&navigator.mediaDevices.enumerateDevices().then(t=>{this.micDevices=t.filter(t=>"audioinput"===t.kind).map(t=>({deviceId:t.deviceId,label:t.label})),this.speakerDevices=t.filter(t=>"audiooutput"===t.kind).map(t=>({deviceId:t.deviceId,label:t.label})),this.micDevices.find(t=>"default"===t.deviceId)||this.micDevices.unshift({deviceId:"default",label:this.t("settingsAudioDeviceFallback")}),this.speakerDevices.find(t=>"default"===t.deviceId)||this.speakerDevices.unshift({deviceId:"default",label:this.t("settingsAudioDeviceFallback")})}).catch(t=>{this.isDebug&&console.error("BravoPhone > Settings > enumerateDevices error:",t)})},openCommercialWhatsapp(){window.open(ng(),"_blank")},toggleDropdown(t){const e={mic:!1,speaker:!1,country:!1};e[t]=!this[`${t}Open`],this.micOpen=e.mic,this.speakerOpen=e.speaker,this.countryOpen=e.country},selectMic(t){this.micId=t,this.micOpen=!1},selectSpeaker(t){this.speakerId=t,this.speakerOpen=!1},selectCountry(t){this.defaultCountry=t,this.countryOpen=!1},handleDeviceDropdownOutside(t){this.micOpen&&this.$refs.micDropdown&&!this.$refs.micDropdown.contains(t.target)&&(this.micOpen=!1),this.speakerOpen&&this.$refs.speakerDropdown&&!this.$refs.speakerDropdown.contains(t.target)&&(this.speakerOpen=!1),this.countryOpen&&this.$refs.countryDropdown&&!this.$refs.countryDropdown.contains(t.target)&&(this.countryOpen=!1)}}};n(8018);const oR=(0,sg.A)(rR,[["render",KD],["__scopeId","data-v-11afbabc"]]);var iR=oR;const aR={class:"tab-bar flex items-stretch border-t border-gray-200 bg-white",style:{height:"56px",flex:"0 0 auto"}},sR=["disabled","onClick"];function lR(t,e,n,r,o,i){const a=Cr("tooltip");return Yo(),ni("nav",aR,[(Yo(!0),ni(Go,null,Sr(i.tabs,e=>xn((Yo(),ni("button",{key:e.key,class:J(["flex-1 flex flex-col items-center justify-center gap-0.5 focus:outline-none transition-colors",[e.key===t.currentTab?"text-blue-600":"text-gray-500",e.disabled?"opacity-40 cursor-not-allowed":"hover:text-blue-500 cursor-pointer"]]),disabled:e.disabled,onClick:t=>i.selectTab(e)},[(Yo(),ri($r(i.iconComponent(e.key)),{class:"w-5 h-5"})),li("span",{class:J(["text-tiny font-medium tracking-wide",{"font-semibold":e.key===t.currentTab}])},rt(e.label),3)],10,sR)),[[a,e.disabled?o.i18n.getMessage("tabComingSoon"):"",void 0,{top:!0}]])),128))])}const dR=t=>()=>zi("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},t.map(t=>zi(t.tag,t.attrs))),cR=dR([{tag:"circle",attrs:{cx:6,cy:6,r:1.4,fill:"currentColor",stroke:"none"}},{tag:"circle",attrs:{cx:12,cy:6,r:1.4,fill:"currentColor",stroke:"none"}},{tag:"circle",attrs:{cx:18,cy:6,r:1.4,fill:"currentColor",stroke:"none"}},{tag:"circle",attrs:{cx:6,cy:12,r:1.4,fill:"currentColor",stroke:"none"}},{tag:"circle",attrs:{cx:12,cy:12,r:1.4,fill:"currentColor",stroke:"none"}},{tag:"circle",attrs:{cx:18,cy:12,r:1.4,fill:"currentColor",stroke:"none"}},{tag:"circle",attrs:{cx:6,cy:18,r:1.4,fill:"currentColor",stroke:"none"}},{tag:"circle",attrs:{cx:12,cy:18,r:1.4,fill:"currentColor",stroke:"none"}},{tag:"circle",attrs:{cx:18,cy:18,r:1.4,fill:"currentColor",stroke:"none"}}]),uR=dR([{tag:"circle",attrs:{cx:12,cy:12,r:9}},{tag:"polyline",attrs:{points:"12 7 12 12 15 14"}}]),pR=dR([{tag:"path",attrs:{d:"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"}},{tag:"circle",attrs:{cx:12,cy:7,r:4}}]),hR=dR([{tag:"path",attrs:{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"}},{tag:"circle",attrs:{cx:9,cy:7,r:4}},{tag:"path",attrs:{d:"M22 21v-2a4 4 0 0 0-3-3.87"}},{tag:"path",attrs:{d:"M16 3.13a4 4 0 0 1 0 7.75"}}]),mR=dR([{tag:"circle",attrs:{cx:12,cy:12,r:3}},{tag:"path",attrs:{d:"M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 1 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 1 1-4 0v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 1 1-2.83-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 1 1 0-4h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 1 1 2.83-2.83l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 1 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 1 1 2.83 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 1 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1z"}}]),fR={keypad:cR,history:uR,contacts:pR,team:hR,settings:mR};var gR={name:"TabBar",data(){return{i18n:chrome.i18n}},computed:{...ih(["currentTab"]),tabs(){return[{key:"keypad",label:this.i18n.getMessage("tabKeypad")},{key:"history",label:this.i18n.getMessage("tabHistory")},{key:"contacts",label:this.i18n.getMessage("tabContacts")},/* aba Equipe desativada - nao estamos usando: {key:"team",label:this.i18n.getMessage("tabTeam"),disabled:!0}, */{key:"settings",label:this.i18n.getMessage("tabSettings")}]}},methods:{iconComponent(t){return fR[t]},selectTab(t){t.disabled||this.$store.commit("setCurrentTab",t.key)}}};const vR=(0,sg.A)(gR,[["render",lR]]);var bR=vR;const yR=["title"],wR={class:"text-tiny font-semibold tabular-nums text-gray-700 leading-none"};function xR(t,e,n,r,o,i){return i.isUnlimited?fi("",!0):(Yo(),ni("button",{key:0,type:"button",class:"balance-chip flex items-center gap-1 h-5 px-2 rounded-full border border-gray-200 bg-white hover:bg-gray-50 focus:outline-none transition-colors",title:i.tooltipText,onClick:e[0]||(e[0]=(...t)=>i.updateBalance&&i.updateBalance(...t))},[li("span",{class:J(["w-1.5 h-1.5 rounded-full flex-shrink-0",i.dotClass])},null,2),li("span",wR," R$ "+rt(i.formattedBalance),1),(Yo(),ni("svg",{xmlns:"http://www.w3.org/2000/svg",class:J(["w-2.5 h-2.5 text-gray-400 ml-0.5",{"spin-once":o.loading}]),viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2.2","stroke-linecap":"round","stroke-linejoin":"round"},[...e[1]||(e[1]=[li("polyline",{points:"23 4 23 10 17 10"},null,-1),li("polyline",{points:"1 20 1 14 7 14"},null,-1),li("path",{d:"M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15"},null,-1)])],2))],8,yR))}var $R={name:"TheBalance",props:{isDebug:{type:Boolean,default:!1},reloadBalance:{type:Boolean,default:!1}},data(){return{i18n:chrome.i18n,creditsBalance:null,loading:!1}},setup(){const t=ip();return{emitter:$h,toast:t}},mounted(){this.$nextTick(()=>{this.isUnlimited||(this.getCreditsBalance(!0),this.emitter.on("reload-balance",this.onReloadBalance))})},beforeUnmount(){this.emitter.off("reload-balance",this.onReloadBalance)},computed:{...ih(["organization"]),isUnlimited(){return!(!this.organization||!0!==this.organization.isUnlimited)},formattedBalance(){if(null===this.creditsBalance)return"—,—";const t=(this.creditsBalance/1).toFixed(2).replace(".",",");return t.toString().replace(/\B(?=(\d{3})+(?!\d))/g,".")},dotClass(){return null===this.creditsBalance?"bg-gray-300":this.creditsBalance<=0?"bg-red-500":this.creditsBalance<=10?"bg-yellow-400":"bg-green-500"},tooltipText(){const t=this.i18n.getMessage("settingsBalance");return null===this.creditsBalance?t:this.creditsBalance<=0?`${t} · ${this.i18n.getMessage("balanceStatusEmpty")}`:this.creditsBalance<=10?`${t} · ${this.i18n.getMessage("balanceStatusLow")}`:`${t} · ${this.i18n.getMessage("balanceRefresh")}`}},watch:{reloadBalance(t){t&&!this.isUnlimited&&this.getCreditsBalance()},isUnlimited(t){t||null!==this.creditsBalance||this.getCreditsBalance(!0)}},methods:{onReloadBalance(){setTimeout(()=>this.getCreditsBalance(),1e3)},getCreditsBalance(t=!1){return this.loading=!0,this.$store.dispatch("balance").then(t=>{this.isDebug&&console.info("BravoPhone > Balance >",t),this.creditsBalance=t}).catch(e=>{429===e.statusCode?(this.isDebug&&console.info("BravoPhone > Balance > too many requests"),t||this.toast.error(this.i18n.getMessage("errorTooManyRequests"))):401===e.statusCode?(this.isDebug&&console.info("BravoPhone > Balance > expired token"),this.toast.error(this.i18n.getMessage("mainErrorExpiredToken")),setTimeout(()=>document.location.reload(),1e4)):(this.isDebug&&console.error("BravoPhone > Balance >",e.message),this.toast.error(dg),this.creditsBalance=null)}).finally(()=>{this.loading=!1})},updateBalance(){this.loading||this.getCreditsBalance().then(()=>{null!==this.creditsBalance&&this.toast.success(this.i18n.getMessage("balanceSuccess"))})}}};n(6882);const CR=(0,sg.A)($R,[["render",xR],["__scopeId","data-v-1883dfa1"]]);var kR=CR;const _R=["innerHTML"],SR=["innerHTML"],TR=["href","title"];function MR(t,e,n,r,o,i){return o.showBanner?(Yo(),ni("div",{key:0,class:"banner flex items-center gap-2 px-3 py-1 text-tiny font-medium leading-tight",style:H({backgroundColor:o.backgroundColor,color:o.textColor})},[li("span",{class:"banner-icon-svg w-3 h-3 flex-shrink-0",style:H({color:o.iconColor,"--icon-color":o.iconColor}),innerHTML:i.currentIconSvg},null,12,_R),li("span",{class:"flex-1 min-w-0 truncate",innerHTML:o.text},null,8,SR),o.buttonText?(Yo(),ni("a",{key:0,href:o.buttonLink,title:i.buttonTitlePlain,target:"_blank",rel:"noopener",class:"banner-cta-btn flex-shrink-0 rounded-full px-2 py-0.5 text-tiny font-semibold whitespace-nowrap",style:H({backgroundColor:o.buttonBackgroundColor,color:o.buttonTextColor}),onClick:e[0]||(e[0]=t=>i.sendLog())},rt(o.buttonText),13,TR)):fi("",!0),li("button",{class:"banner-close flex-shrink-0 flex items-center justify-center rounded p-0.5 focus:outline-none","aria-label":"Fechar aviso",style:H({color:o.textColor||"#ffffff",opacity:.85}),onClick:e[1]||(e[1]=(...t)=>i.closeBanner&&i.closeBanner(...t))},[...e[2]||(e[2]=[li("svg",{xmlns:"http://www.w3.org/2000/svg",class:"w-3 h-3",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2.4","stroke-linecap":"round","stroke-linejoin":"round"},[li("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),li("line",{x1:"6",y1:"6",x2:"18",y2:"18"})],-1)])],4)],4)):fi("",!0)}const OR="hideBannerAt",ER=864e5,AR="/banner-notifications/active";var IR={shouldShowBanner(){const t=localStorage.getItem(OR);if(!t)return!0;const e=Date.now(),n=e-Number(t);return n>=ER},closeBanner(){localStorage.setItem(OR,Date.now())},async getActiveNotification(){try{if(!Vh.hasToken())return{success:!1,error:"No token"};const t=await Vh.get(AR);return"success"===t.data.status?{success:!0,data:t.data.data}:{success:!1}}catch(t){return console.error("BravoPhone > Banner Notification > Erro ao buscar notificação",t.message),{success:!1,error:t}}},clearBannerState(){localStorage.removeItem(OR)}};const PR={info:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M10.29 3.86 1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z" fill="currentColor"/><line x1="12" y1="9" x2="12" y2="13" stroke="white" stroke-width="2" stroke-linecap="round"/><circle cx="12" cy="17" r="1" fill="white"/></svg>',warning:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M10.29 3.86 1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z" fill="currentColor"/><line x1="12" y1="9" x2="12" y2="13" stroke="white" stroke-width="2" stroke-linecap="round"/><circle cx="12" cy="17" r="1" fill="white"/></svg>',success:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10" fill="currentColor"/><path d="M9 12l2 2 4-4" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none"/></svg>',error:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10" fill="currentColor"/><path d="M15 9l-6 6M9 9l6 6" stroke="white" stroke-width="2" stroke-linecap="round" fill="none"/></svg>',giftBox:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 12 20 22 4 22 4 12"/><rect x="2" y="7" width="20" height="5"/><line x1="12" y1="22" x2="12" y2="7"/><path d="M12 7H7.5a2.5 2.5 0 0 1 0-5C11 2 12 7 12 7z"/><path d="M12 7h4.5a2.5 2.5 0 0 0 0-5C13 2 12 7 12 7z"/></svg>',hammer:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="var(--icon-color, #f4900c)" d="M27.18 30.134c1.068 1.068 2.767 1.118 3.775.111s.957-2.707-.111-3.775L10.914 6.539c-1.068-1.068-2.767-1.118-3.775-.111s-.957 2.707.111 3.775L27.18 30.134Z" stroke-width="0.8889"/><path fill="var(--icon-color, #66757f)" d="M19.964 1.848s-5.496-2.748-10.076 1.832L3.476 10.092s-.916-.916-1.832 0L.727 11.009s-.916.916 0 1.832l3.664 3.664s.916.916 1.832 0l.916-.916s.916-.916 0-1.832l-.071-.071c.705-.681 1.761-1.374 2.82-.845l3.664-3.664s-.916-2.748.916-4.58 2.748-1.832 4.58-1.832.916-.916.916-.916Z" stroke-width="0.8889"/></svg>'},DR="info";var RR={name:"TheBanner",data(){return{showBanner:!0,messageLog:null,text:null,textColor:null,buttonText:null,buttonLink:null,buttonTextColor:null,buttonTitle:null,buttonBackgroundColor:null,backgroundColor:null,iconName:null,iconColor:null}},computed:{currentIconSvg(){if(!this.iconName)return PR[DR];const t=PR[this.iconName];if(t)return t;const e=this.iconName.toLowerCase(),n=Object.keys(PR).find(t=>t.toLowerCase()===e);return PR[n]||PR[DR]},buttonTitlePlain(){if(!this.buttonTitle)return"";const t=document.createElement("div");return t.innerHTML=this.buttonTitle,(t.textContent||t.innerText||"").trim()}},setup(){return{emitter:$h}},mounted(){this.$nextTick(()=>{this.getActiveBannerNotification()}),this.emitter.on("reload-banner",()=>{this.getActiveBannerNotification()})},methods:{async getActiveBannerNotification(){const t=await IR.getActiveNotification();if(t.success){const{data:e}=t;this.messageLog=e.messageLog,this.text=e.text,this.textColor=e.textColor,this.buttonText=e.buttonText,this.buttonLink=e.utmWebphone?`${e.buttonLink}${e.utmWebphone}`:e.buttonLink,this.buttonTextColor=e.buttonTextColor,this.buttonTitle=e.buttonTitle,this.buttonBackgroundColor=e.buttonBackgroundColor,this.backgroundColor=e.backgroundColor,this.iconColor=e.iconColor,this.iconName=e.iconName||null,this.showBanner=IR.shouldShowBanner()}else this.showBanner=!1},sendLog(){this.$store.state.user&&this.$store.state.user.email&&this.$store.state.organization&&this.$store.state.organization.domain&&this.$store.state.user.role&&u_.info(this.messageLog,{email:this.$store.state.user.email,domain:this.$store.state.organization.domain,role:this.$store.state.user.role}),this.closeBanner()},closeBanner(){this.showBanner=!1,IR.closeBanner()}}};n(9570);const LR=(0,sg.A)(RR,[["render",MR],["__scopeId","data-v-3eb6a2d1"]]);var NR=LR;const jR={class:"webphone flex flex-col justify-between items-center text-white text-center gap-0.5 lg:gap-1 2xl:gap-2"},BR={class:"truncate w-4/5 text-xs sm:text-sm md:text-base lg:text-lg xl:text-xl 2xl:text-2xl mt-1 sm:mt-2 md:mt-3 lg:mt-4 xl:mt-5 2xl:mt-6",id:"phone-number-input"},FR={key:0},VR={class:"display flex flex-row w-4/5 justify-center items-center my-1 sm:my-2 md:my-3 lg:my-4 xl:my-5 2xl:my-6"},UR={class:"fill-current focus:outline-none text-green-300 w-2 sm:w-3 md:w-4 lg:w-5 xl:w-6 2xl:w-8 h-2 sm:h-3 md:h-4 lg:h-5 xl:h-6 2xl:h-8 mr-1 sm:mr-1.5 md:mr-2 lg:mr-3 xl:mr-4 2xl:mr-5",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"},HR={class:"fill-current focus:outline-none text-red-500 w-2 sm:w-3 md:w-4 lg:w-5 xl:w-6 2xl:w-8 h-2 sm:h-3 md:h-4 lg:h-5 xl:h-6 2xl:h-8 mr-1 sm:mr-1.5 md:mr-2 lg:mr-3 xl:mr-4 2xl:mr-5",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"},zR={class:"font-audiowide truncate text-xs sm:text-sm md:text-base lg:text-xl xl:text-2xl 2xl:text-4xl"},GR={class:"timer text-xs sm:text-sm md:text-base lg:text-lg xl:text-xl 2xl:text-2xl",id:"timer"},qR={class:"volume flex flex-row w-4/5 justify-center items-center my-1 sm:my-2 md:my-3 lg:my-4 xl:my-5 2xl:my-6"},WR={class:"mr-1 sm:mr-1.5 md:mr-2 lg:mr-3 xl:mr-4 2xl:mr-5 w-2 sm:w-3 md:w-4 lg:w-5 xl:w-6 2xl:w-8 h-2 sm:h-3 md:h-4 lg:h-5 xl:h-6 2xl:h-8",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"},JR=["d"],XR={class:"call-control w-1/2 flex flex-col flex-grow items-center justify-around mb-8 sm:mb-10 md:mb-12 lg:mb-14 xl:mb-16 2xl:mb-20"},KR={class:"w-full"},YR={class:"flex flex-row justify-between items-center"},ZR={class:"flex flex-row"},QR=["src"];function tL(t,e,n,r,o,i){const a=wr("webphone-config"),s=wr("the-modal"),l=Cr("tooltip");return Yo(),ni("div",jR,[xn((Yo(),ni("div",BR,[hi(rt(o.callType)+" ",1),o.callCountry?(Yo(),ni("span",FR," ("+rt(i.countryCodeTranslated(o.callCountry))+")",1)):fi("",!0)])),[[l,{content:o.callType},void 0,{bottom:!0}]]),li("div",VR,[xn((Yo(),ni("svg",UR,[...e[9]||(e[9]=[li("path",{d:"M2 10.5a1.5 1.5 0 113 0v6a1.5 1.5 0 01-3 0v-6zM6 10.333v5.43a2 2 0 001.106 1.79l.05.025A4 4 0 008.943 18h5.416a2 2 0\n 001.962-1.608l1.2-6A2 2 0 0015.56 8H12V4a2 2 0 00-2-2 1 1 0 00-1 1v.667a4 4 0 01-.8 2.4L6.8 7.933a4 4 0 00-.8 2.4z"},null,-1)])])),[[l,{content:o.tooltipForValidNumber}],[ka,o.isValidNumberCall]]),xn((Yo(),ni("svg",HR,[...e[10]||(e[10]=[li("path",{d:"M18 9.5a1.5 1.5 0 11-3 0v-6a1.5 1.5 0 013 0v6zM14 9.667v-5.43a2 2 0 00-1.105-1.79l-.05-.025A4 4 0 0011.055 2H5.64a2 2 0\n 00-1.962 1.608l-1.2 6A2 2 0 004.44 12H8v4a2 2 0 002 2 1 1 0 001-1v-.667a4 4 0 01.8-2.4l1.4-1.866a4 4 0 00.8-2.4z"},null,-1)])])),[[l,{content:o.tooltipForInvalidNumber}],[ka,i.hasDisplayContent&&!o.isValidNumberCall]]),xn((Yo(),ni("span",zR,[hi(rt(o.display),1)])),[[l,{content:o.display},void 0,{bottom:!0}]]),xn(li("span",{class:"whitespace-nowrap align-middle ml-1 sm:ml-1.5 md:ml-2 lg:ml-3 xl:ml-4 2xl:ml-5 text-tiny sm:text-xs md:text-sm lg:text-base xl:text-lg 2xl:text-2xl"},"DTMF: "+rt(o.callDTMF),513),[[ka,o.callDTMF&&o.callDTMF.length>0]]),xn((Yo(),ni("svg",{class:"fill-current focus:outline-none cursor-pointer mr-0 ml-1 sm:ml-1.5 md:ml-2 lg:ml-3 xl:ml-4 2xl:ml-5 w-2 sm:w-3 md:w-4 lg:w-5 xl:w-6 2xl:w-8 h-2 sm:h-3 md:h-4 lg:h-5 xl:h-6 2xl:h-8",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",onClick:e[0]||(e[0]=(...t)=>i.clearWebphone&&i.clearWebphone(...t))},[...e[11]||(e[11]=[li("path",{"fill-rule":"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zM8.707 7.293a1 1 0 00-1.414 1.414L8.586 10l-1.293 1.293a1 1 0 101.414 1.414L10\n 11.414l1.293 1.293a1 1 0 001.414-1.414L11.414 10l1.293-1.293a1 1 0 00-1.414-1.414L10 8.586 8.707 7.293z","clip-rule":"evenodd"},null,-1)])])),[[l,{content:o.tooltipForClear}],[ka,i.hasDisplayContent&&!i.isRunningCall]])]),li("div",GR,rt(i.showTimer),1),li("div",qR,[(Yo(),ni("svg",WR,[li("path",{"fill-rule":"evenodd",d:o.svgPathForVolume,"clip-rule":"evenodd"},null,8,JR)])),xn(li("input",{type:"range",class:"bg-white self-center rounded-lg cursor-pointer appearance-none focus:outline-none w-3/4 h-1 sm:h-2 md:h-2.5 lg:h-3 xl:h-3.5 2xl:h-4",step:"1",min:"0",max:"100","onUpdate:modelValue":e[1]||(e[1]=t=>i.currentVolume=t)},null,512),[[fs,i.currentVolume]])]),li("div",XR,[xn(li("div",KR,[li("div",YR,[xn(li("img",{class:"call-mic-on cursor-pointer w-8 sm:w-10 md:w-12 lg:w-14 xl:w-16 2xl:w-20 h-8 sm:h-10 md:h-12 lg:h-14 xl:h-16 2xl:h-20",src:"images/mic-on.png",onClick:e[2]||(e[2]=t=>i.toggleMute())},null,512),[[ka,!i.isMuted],[l,{content:o.i18n.getMessage("webphoneCallMicOn")}]]),xn(li("img",{class:"call-mic-off cursor-pointer w-8 sm:w-10 md:w-12 lg:w-14 xl:w-16 2xl:w-20 h-8 sm:h-10 md:h-12 lg:h-14 xl:h-16 2xl:h-20",src:"images/mic-off.png",onClick:e[3]||(e[3]=t=>i.toggleMute())},null,512),[[ka,i.isMuted],[l,{content:o.i18n.getMessage("webphoneCallMicOff")}]]),xn(li("img",{class:"call-hold cursor-pointer w-8 sm:w-10 md:w-12 lg:w-14 xl:w-16 2xl:w-20 h-8 sm:h-10 md:h-12 lg:h-14 xl:h-16 2xl:h-20",src:"images/hold.png",onClick:e[4]||(e[4]=(...t)=>i.holdCall&&i.holdCall(...t))},null,512),[[ka,!i.isHoldCall],[l,{content:o.i18n.getMessage("webphoneCallOnHold")}]]),xn(li("img",{class:"call-resume cursor-pointer w-8 sm:w-10 md:w-12 lg:w-14 xl:w-16 2xl:w-20 h-8 sm:h-10 md:h-12 lg:h-14 xl:h-16 2xl:h-20",src:"images/play.png",onClick:e[5]||(e[5]=(...t)=>i.unholdCall&&i.unholdCall(...t))},null,512),[[ka,i.isHoldCall],[l,{content:o.i18n.getMessage("webphoneCallResume")}]]),xn(li("img",{class:"call-transfer cursor-pointer w-8 sm:w-10 md:w-12 lg:w-14 xl:w-16 2xl:w-20 h-8 sm:h-10 md:h-12 lg:h-14 xl:h-16 2xl:h-20",src:"images/transfer.png",onClick:e[6]||(e[6]=(...t)=>i.transferCallTo&&i.transferCallTo(...t))},null,512),[[l,{content:o.i18n.getMessage("webphoneCallTransfer")}]])])],512),[[ka,i.isRunningCall]]),li("div",ZR,[xn(li("img",{class:"call-answer cursor-pointer w-8 sm:w-10 md:w-12 lg:w-14 xl:w-16 2xl:w-20 h-8 sm:h-10 md:h-12 lg:h-14 xl:h-16 2xl:h-20",src:o.imgSrcForAnswer,onClick:e[7]||(e[7]=(...t)=>i.makeOrAnswerCall&&i.makeOrAnswerCall(...t))},null,8,QR),[[l,{content:o.tooltipForMakeOrAnswerCall}],[ka,!i.isRunningCall&&!i.isInProgress||i.isRinging]]),xn(li("img",{class:J(["call-hangup cursor-pointer w-8 sm:w-10 md:w-12 lg:w-14 xl:w-16 2xl:w-20 h-8 sm:h-10 md:h-12 lg:h-14 xl:h-16 2xl:h-20",{"ml-1":i.isIncomeCall&&!i.isRunningCall,"sm:ml-2":i.isIncomeCall&&!i.isRunningCall,"md:ml-3":i.isIncomeCall&&!i.isRunningCall,"lg:ml-4":i.isIncomeCall&&!i.isRunningCall,"xl:ml-5":i.isIncomeCall&&!i.isRunningCall,"2xl:ml-6":i.isIncomeCall&&!i.isRunningCall}]),id:"call-hangup-btn",src:"images/hangup.png",onClick:e[8]||(e[8]=(...t)=>i.hangupOrRejectCall&&i.hangupOrRejectCall(...t))},null,2),[[l,{content:o.i18n.getMessage("webphoneCallHangup")}],[ka,i.isRunningCall||i.isInProgress||i.isIncomeCall]])])]),di(s,{id:"webphone-config",title:o.i18n.getMessage("webphoneOptionsTitle"),"is-action-close":!1,"is-icon-close":!0,"is-out-click":!1},{default:wn(()=>[di(a,{isDebug:n.isDebug},null,8,["isDebug"])]),_:1},8,["title"])])}async function eL(){return new Promise((t,e)=>{try{chrome.storage.session.get("bravophoneCurrentWindowId",function({bravophoneCurrentWindowId:e}){t(e)})}catch(n){e(n)}})}function nL(t){return new Promise(e=>chrome.storage.session.set({bravophoneCurrentWindowId:t},()=>e()))}let rL=null;function oL(){return rL||(rL=new Promise((t,e)=>chrome.tabs.create({url:chrome.runtime.getURL("popup.html"),active:!1}).then(t=>chrome.windows.create({tabId:t.id,type:"popup",focused:!0,width:380,height:640,top:0,left:0})).then(e=>(Uh().then(()=>console.info("BravoPhone > CurrentWindow > createNewWindowPopup > window:",e)),nL(e.id).then(()=>t(e)))).catch(t=>{Uh().then(()=>console.error("BravoPhone > CurrentWindow > createNewWindowPopup > error:",t)),e(t)}).finally(()=>{rL=null})),rL)}function iL(t){return new Promise((e,n)=>{if(!chrome.windows||!chrome.windows.getCurrent)return e();try{chrome.windows.getCurrent({},r=>{if(chrome.runtime.lastError||!r)return Uh().then(()=>console.error("BravoPhone > CurrentWindow > resizeWindow > getCurrent error:",chrome.runtime.lastError)),n(chrome.runtime.lastError||new Error("no current window"));chrome.windows.update(r.id,{width:t},r=>{if(chrome.runtime.lastError)return Uh().then(()=>console.error("BravoPhone > CurrentWindow > resizeWindow > update error:",chrome.runtime.lastError)),n(chrome.runtime.lastError);Uh().then(()=>console.info("BravoPhone > CurrentWindow > resizeWindow > width:",t)),e(r)})})}catch(r){n(r)}})}function aL(t={}){return new Promise((e,n)=>eL().then(r=>r?chrome.windows.get(r).then(n=>(Uh().then(()=>console.info("BravoPhone > CurrentWindow > fetchWindowPopup > window:",n)),e(chrome.windows.update(n.id,{focused:!0,...t})))).catch(t=>-1!==t.message.indexOf("No window with id")?e(oL()):n(t)):e(oL())))}const sL={AD:"Andorra",AE:"Emirados árabes Unidos",AF:"Afeganistão",AG:"Antígua e Barbuda",AI:"Anguilla",AL:"Albânia",AM:"Arménia",AO:"Angola",AQ:"Antártida",AR:"Argentina",AS:"Samoa Americana",AT:"Austria",AU:"Austrália",AW:"Aruba",AZ:"Azerbaijão",BA:"Bósnia e Herzegovina",BB:"Barbados",BD:"Bangladesh",BE:"Bélgica",BF:"Burkina Faso",BG:"Bulgária",BH:"Bahrein",BI:"Burundi",BJ:"Benim",BL:"São Bartolomeu",BM:"Bermudas",BN:"Brunei",BO:"Bolívia",BQ:"Países Baixos Caribenhos",BR:"Brasil",BS:"Bahamas",BT:"Butão",BW:"Botswana",BY:"Bielorrússia",BZ:"Belize",CA:"Canadá",CC:"Ilhas Cocos",CD:"República Democrática do Congo",CF:"República Centro-áfricana",CG:"República do Congo",CH:"Suíça",CI:"Costa do Marfim",CK:"Ilhas Cook",CL:"Chile",CM:"Camarões",CN:"China",CO:"Colômbia",CR:"Costa Rica",CU:"Cuba",CV:"Cabo Verde",CW:"Curaçao",CX:"Ilha Christmas",CY:"Chipre",CZ:"Tchéquia",DE:"Alemanha",DJ:"Djibouti",DK:"Dinamarca",DM:"Dominique",DO:"República Dominicana",DZ:"Argélia",EC:"Equador",EE:"Estónia",EG:"Egitoe",EH:"República Democrática árabe Saariana",ER:"Eritreia",ES:"Espanha",ET:"Etiópia",FI:"Finlândia",FJ:"Fiji",FK:"Ilhas Malvinas",FM:"Micronésia",FO:"Ilhas Feroé",FR:"França",GA:"Gabão",GB:"Reino Unido",GD:"Grenada",GE:"Geórgia",GF:"Guiana Francesa",GG:"Guernsey",GH:"Gana",GI:"Gibraltar",GL:"Groelândia",GM:"Gâmbia",GN:"Guiné",GP:"Guadalupe",GQ:"Guiné Equatorial",GR:"Grécia",GS:"Ilhas Geórgia e Sandwich do Sul",GU:"Guam",GT:"Guatemala",GW:"Guiné-Bissau",GY:"Guiana",HK:"Hong Kong",HN:"Honduras",HR:"Croácia",HT:"Haití",HU:"Hungria",ID:"Indonesia",IE:"Irlanda",IL:"Israel",IM:"Ilha de Man",IN:"índia",IO:"Território Britânico do Oceano índico",IQ:"Iraque",IR:"Irão",IS:"Islândia",IT:"Itália",JE:"Jersey",JM:"Jamaïca",JO:"Jordânia",JP:"Japão",KE:"Quênia",KG:"Quirguistão",KH:"Camboja",KI:"Kiribati",KM:"Comores",KN:"São Cristóvão e Nevis",KP:"Coreia do Norte",KR:"Coreia do Sul",KW:"Kuwait",KY:"Ilhas Cayman",KZ:"Cazaquistão",LA:"Laos",LB:"Líbano",LC:"Santa Lúcia",LI:"Liechtenstein",LK:"Sri Lanka",LR:"Libéria",LS:"Lesoto",LT:"Lituânia",LU:"Luxemburgo",LV:"Letónia",LY:"Líbia",MA:"Marrocos",MC:"Monaco",MD:"Moldávia",ME:"Montenegro",MF:"São Martinho",MG:"Madagáscar",MH:"Ilhas Marshall",MK:"Macedónia",ML:"Mali",MM:"Mianmar",MN:"Mongólia",MO:"Macau",MP:"Ilhas Marianas Setentrionais",MQ:"Martinica",MR:"Mauritanie",MS:"Montserrat",MT:"Malta",MU:"Maurícia",MV:"Maldivas",MW:"Malawi",MY:"Malásia",MX:"México",MZ:"Moçambique",NA:"Namíbia",NC:"Nova Caledónia",NE:"Níger",NF:"Ilha Norfolk",NG:"Nígeria",NI:"Nicarágua",NL:"Países Baixos",NO:"Noruega",NP:"Nepal",NR:"Nauru",NU:"Niue",NZ:"Nova Zelândia",OM:"Omã",PA:"Panama",PE:"Perú",PF:"Polinésia Francesa",PG:"Papua-Nova Guiné",PH:"Filipinas",PK:"Paquistão",PL:"Polónia",PM:"São Pedro e Miquelão",PN:"Ilhas Pitcairn",PR:"Puerto Rico",PS:"Palestina",PT:"Portugal",PW:"Palau",PY:"Paraguai",QA:"Catar",RE:"Reunião",RO:"Roménia",RS:"Sérvia",RU:"Rússia",RW:"Ruanda",SB:"Ilhas Salomão",SH:"Santa Helena, Ascensão e Tristão da Cunha",SA:"Arábia Saudita",SC:"Seicheles",SD:"Sudão",SE:"Suécia",SG:"Singapura",SI:"Eslovênia",SK:"Eslováquia",SL:"Serra Leoa",SM:"San Marino",SN:"Senega",SO:"Somália",SR:"Suriname",SS:"Sudão do Sul",ST:"São Tomé e Príncipe",SV:"El Salvador",SX:"Sint-Maarten",SY:"Síria",SZ:"eSwatani",TC:"Ilhas Turcas e Caicos",TD:"Chade",TF:"Terras Austrais e Antárticas Francesas",TG:"Togo",TH:"Tailândia",TJ:"Tajiquistão",TK:"Tokelau",TL:"Timor-Leste",TM:"Turquemenistão",TN:"Tunísia",TO:"Tonga",TR:"Turquía",TT:"Trindade e Tobag",TW:"Taiwan",TV:"Tuvalu",TZ:"Tanzânia",UA:"Ucrânia",UG:"Uganda",US:"Estados Unidos",UY:"Uruguai",UZ:"Uzbequistão",VA:"Vaticano",VC:"São Vicente e Granadinas",VE:"Venezuela",VG:"Ilhas Virgens Britânicas",VN:"Vietnã",VU:"Vanuatu",VI:"Ilhas Virgens dos Estados Unidos",WF:"Wallis e Futuna",WS:"Samoa",XK:"Kosovo",YE:"Iémen",YT:"Maiote",ZA:"áfrica do Sul",ZM:"Zâmbia",ZW:"Zimbabwe"},lL=()=>{const t=new Error;return t.name="InvalidPhoneNumber",t.message=chrome.i18n.getMessage("webphoneClickToCallInvalidNumber"),t.statusCode=422,t};function dL(t){return t.replaceAll(/[^0-9+*#]/g,"")}function cL(t){if(!t.startsWith("+")){if(12===t.length||13===t.length)return`+${t}`;if(10===t.length||11===t.length)return`+55${t}`}return t}function uL(t){if(t.startsWith("+55")&&13===t.length){const e=/^((?:\+?[0-9]{2})?[-\s.]?[(]?[0-9]{2}[)]?[-\s.]?)([6-9]{1}[0-9]{3}[-\s.]?[0-9]{4})$/,n=e.exec(t);if(n&&n.length>=3)return`${n[1]}9${n[2]}`}return t}function pL(t){return new Promise((e,n)=>{if(!t)return n(lL());{let o=dL(t);o=cL(o),o=uL(o);try{const r=AA(o);if(r&&r.isValid()){const n={received:t,number:r.number,country:r.country,type:r.getType()};return"BR"===r.country?n.formatted=r.formatNational():n.formatted=r.formatInternational(),e(n)}return n(lL())}catch(r){return console.error("BravoPhone > PhoneHelper >",r.message),n(lL())}}})}function hL(){return pM(cO,arguments)}const mL={class:"text-base"};function fL(t,e,n,r,o,i){return Yo(),ni("div",mL,[hi(rt(o.i18n.getMessage("messageClipboardDenied"))+" ",1),li("a",{class:"text-gray-600 cursor-pointer",href:"#",onClick:e[0]||(e[0]=Ms((...t)=>i.openClipboardSettings&&i.openClipboardSettings(...t),["prevent"])),target:"_blank"},rt(o.i18n.getMessage("messageClickHere")),1)])}var gL={name:"MessageClipboardDenied",data(){return{i18n:chrome.i18n}},methods:{openClipboardSettings(){chrome.tabs.create({url:"chrome://settings/content/clipboard"})}}};const vL=(0,sg.A)(gL,[["render",fL]]);var bL=vL;const yL={class:"text-base"};function wL(t,e,n,r,o,i){return Yo(),ni("div",yL,[hi(rt(o.i18n.getMessage("messageMicrophoneDenied"))+" ",1),li("a",{class:"text-gray-600 cursor-pointer",href:"#",onClick:e[0]||(e[0]=Ms((...t)=>i.openMicrofoneSettings&&i.openMicrofoneSettings(...t),["prevent"])),target:"_blank"},rt(o.i18n.getMessage("messageClickHere")),1)])}var xL={name:"MessageMicrophoneDenied",data(){return{i18n:chrome.i18n}},methods:{openMicrofoneSettings(){chrome.tabs.create({url:"chrome://settings/content/microphone"})}}};const $L=(0,sg.A)(xL,[["render",wL]]);var CL=$L;const kL={class:"webphone-config container mx-auto"},_L={class:"flex flex-cols justify-around"},SL={id:"webphoneConfigTab",class:"b-tab active"},TL={class:"flex flex-row justify-center items-center text-xs sm:text-sm md:text-base lg:text-lg xl:text-xl 2xl:text-2xl p-1 sm:p-1.5 md:p-2 lg:p-3 xl:p-4 2xl:p-5"},ML={for:"hideConnectivityStatusSlowMessage",class:"text-right w-1/3 mr-1 sm:mr-2 md:mr-4 lg:mr-6 xl:mr-8 2xl:mr-10"},OL={value:"false"},EL={value:"true"},AL={class:"flex flex-row justify-center items-center text-xs sm:text-sm md:text-base lg:text-lg xl:text-xl 2xl:text-2xl p-1 sm:p-1.5 md:p-2 lg:p-3 xl:p-4 2xl:p-5"},IL={for:"audiooutput",class:"text-right w-1/3 mr-1 sm:mr-2 md:mr-4 lg:mr-6 xl:mr-8 2xl:mr-10"},PL=["value"],DL={class:"flex flex-row justify-center items-center text-xs sm:text-sm md:text-base lg:text-lg xl:text-xl 2xl:text-2xl p-1 sm:p-1.5 md:p-2 lg:p-3 xl:p-4 2xl:p-5"},RL={for:"audioinput",class:"text-right w-1/3 mr-1 sm:mr-2 md:mr-4 lg:mr-6 xl:mr-8 2xl:mr-10"},LL=["value"],NL={class:"flex flex-row justify-center items-center text-xs sm:text-sm md:text-base lg:text-lg xl:text-xl 2xl:text-2xl p-1 sm:p-1.5 md:p-2 lg:p-3 xl:p-4 2xl:p-5"},jL={for:"volume",class:"text-right w-1/3 mr-1 sm:mr-2 md:mr-4 lg:mr-6 xl:mr-8 2xl:mr-10"},BL={class:"flex flex-row justify-center items-center text-xs sm:text-sm md:text-base lg:text-lg xl:text-xl 2xl:text-2xl p-1 sm:p-1.5 md:p-2 lg:p-3 xl:p-4 2xl:p-5"},FL={for:"volumeRinger",class:"text-right w-1/3 mr-1 sm:mr-2 md:mr-4 lg:mr-6 xl:mr-8 2xl:mr-10"},VL={class:"flex flex-row justify-center items-center text-xs sm:text-sm md:text-base lg:text-lg xl:text-xl 2xl:text-2xl p-1 sm:p-1.5 md:p-2 lg:p-3 xl:p-4 2xl:p-5"},UL={for:"volumeTones",class:"text-right w-1/3 mr-1 sm:mr-2 md:mr-4 lg:mr-6 xl:mr-8 2xl:mr-10"},HL={class:"flex flex-row justify-center items-center text-xs sm:text-sm md:text-base lg:text-lg xl:text-xl 2xl:text-2xl p-1 sm:p-1.5 md:p-2 lg:p-3 xl:p-4 2xl:p-5"},zL={for:"volumeRemote",class:"text-right w-1/3 mr-1 sm:mr-2 md:mr-4 lg:mr-6 xl:mr-8 2xl:mr-10"},GL={class:"flex flex-row justify-center items-center text-xs sm:text-sm md:text-base lg:text-lg xl:text-xl 2xl:text-2xl p-1 sm:p-1.5 md:p-2 lg:p-3 xl:p-4 2xl:p-5"},qL={for:"defaultCountry",class:"text-right w-1/3 mr-1 sm:mr-2 md:mr-4 lg:mr-6 xl:mr-8 2xl:mr-10"},WL=["value"],JL={id:"dialerTab",class:"b-tab"},XL={class:"flex flex-col"},KL={class:"flex flex-row justify-center items-center text-xs sm:text-sm md:text-base lg:text-lg xl:text-xl 2xl:text-2xl p-1 sm:p-1.5 md:p-2 lg:p-3 xl:p-4 2xl:p-5"},YL={for:"dialerMode",class:"text-right w-1/3 mr-1 sm:mr-2 md:mr-4 lg:mr-6 xl:mr-8 2xl:mr-10"},ZL={value:"firstPhone"},QL={value:"manual"},tN={value:"progressive",disabled:""},eN={class:"flex flex-row w-full text-center justify-center items-center my-1 sm:my-2 lg:my-3 2xl:my-4"},nN={class:"font-audiowide text-xs sm:text-sm md:text-base lg:text-lg xl:text-xl 2xl:text-2xl"},rN={class:"flex flex-row justify-center items-center text-xs sm:text-sm md:text-base lg:text-lg xl:text-xl 2xl:text-2xl p-1 sm:p-1.5 md:p-2 lg:p-3 xl:p-4 2xl:p-5"},oN={for:"dialerButtonPosition",class:"text-right w-1/3 mr-1 sm:mr-2 md:mr-4 lg:mr-6 xl:mr-8 2xl:mr-10"},iN={class:"flex flex-row justify-center items-center text-xs sm:text-sm md:text-base lg:text-lg xl:text-xl 2xl:text-2xl p-1 sm:p-1.5 md:p-2 lg:p-3 xl:p-4 2xl:p-5"},aN={for:"dialerButtonSize",class:"text-right w-1/3 mr-1 sm:mr-2 md:mr-4 lg:mr-6 xl:mr-8 2xl:mr-10"};function sN(t,e,n,r,o,i){return Yo(),ni("div",kL,[li("div",_L,[li("a",{href:"#webphoneConfigTab","data-tab":"webphoneConfigTab",class:"active b-nav-tab text-center w-full text-base sm:text-lg md:text-xl lg:text-2xl xl:text-3xl 2xl:text-4xl h-6 sm:h-8 md:h-10 lg:h-12 xl:h-14 2xl:h-16 pt-1 sm:pt-2 md:pt-3 lg:pt-4 xl:pt-5 2xl:pt-6",onClick:e[0]||(e[0]=(...t)=>i.change&&i.change(...t)),onMouseover:e[1]||(e[1]=(...t)=>i.onMouseOver&&i.onMouseOver(...t)),onMouseout:e[2]||(e[2]=(...t)=>i.onMouseOut&&i.onMouseOut(...t))},rt(o.i18n.getMessage("webphoneConfigTab")),33),li("a",{href:"#dialerTab","data-tab":"dialerTab",class:"b-nav-tab text-center w-full text-base sm:text-lg md:text-xl lg:text-2xl xl:text-3xl 2xl:text-4xl h-6 sm:h-8 md:h-10 lg:h-12 xl:h-14 2xl:h-16 pt-1 sm:pt-2 md:pt-3 lg:pt-4 xl:pt-5 2xl:pt-6",onClick:e[3]||(e[3]=(...t)=>i.change&&i.change(...t)),onMouseover:e[4]||(e[4]=(...t)=>i.onMouseOver&&i.onMouseOver(...t)),onMouseout:e[5]||(e[5]=(...t)=>i.onMouseOut&&i.onMouseOut(...t))},rt(o.i18n.getMessage("dialerTab")),33)]),li("div",SL,[li("div",TL,[li("label",ML,rt(o.i18n.getMessage("webphoneConfigHideConnectivityStatusSlowMessage")),1),xn(li("select",{class:"focus:outline-none focus:ring-2 focus:ring-blue-600 focus:ring-opacity-50 w-full h-5 sm:h-6 md:h-7 lg:h-8 xl:h-9 2xl:h-10",id:"hideConnectivityStatusSlowMessage","onUpdate:modelValue":e[6]||(e[6]=t=>i.currentHideConnectivityStatusSlowMessage=t)},[li("option",OL,rt(o.i18n.getMessage("webphoneConfigHideConnectivityStatusSlowMessageFalse")),1),li("option",EL,rt(o.i18n.getMessage("webphoneConfigHideConnectivityStatusSlowMessageTrue")),1)],512),[[ys,i.currentHideConnectivityStatusSlowMessage]])]),li("div",AL,[li("label",IL,rt(o.i18n.getMessage("webphoneConfigMediaDeviceOutput")),1),xn(li("select",{class:"focus:outline-none focus:ring-2 focus:ring-blue-600 focus:ring-opacity-50 w-full h-5 sm:h-6 md:h-7 lg:h-8 xl:h-9 2xl:h-10",id:"audiooutput","onUpdate:modelValue":e[7]||(e[7]=t=>i.currentDeviceAudioOutputId=t)},[(Yo(!0),ni(Go,null,Sr(o.mediaDevicesList.audiooutput,t=>(Yo(),ni("option",{key:t.value,value:t.value},rt(t.text),9,PL))),128))],512),[[ys,i.currentDeviceAudioOutputId]])]),li("div",DL,[li("label",RL,rt(o.i18n.getMessage("webphoneConfigMediaDeviceInput")),1),xn(li("select",{class:"focus:outline-none focus:ring-2 focus:ring-blue-600 focus:ring-opacity-50 w-full h-5 sm:h-6 md:h-7 lg:h-8 xl:h-9 2xl:h-10",id:"audioinput","onUpdate:modelValue":e[8]||(e[8]=t=>i.currentDeviceAudioInputId=t)},[(Yo(!0),ni(Go,null,Sr(o.mediaDevicesList.audioinput,t=>(Yo(),ni("option",{key:t.value,value:t.value},rt(t.text),9,LL))),128))],512),[[ys,i.currentDeviceAudioInputId]])]),li("div",NL,[li("label",jL,rt(o.i18n.getMessage("webphoneConfigAudioContextMaster")),1),xn(li("input",{type:"range",class:"cursor-pointer focus:outline-none focus:ring-2 focus:ring-blue-600 focus:ring-opacity-50 w-full h-5 sm:h-6 md:h-7 lg:h-8 xl:h-9 2xl:h-10",step:"1",min:"0",max:"100","onUpdate:modelValue":e[9]||(e[9]=t=>i.currentVolume=t)},null,512),[[fs,i.currentVolume]])]),li("div",BL,[li("label",FL,rt(o.i18n.getMessage("webphoneConfigAudioContextRinger")),1),xn(li("input",{type:"range",class:"cursor-pointer focus:outline-none focus:ring-2 focus:ring-blue-600 focus:ring-opacity-50 w-full h-5 sm:h-6 md:h-7 lg:h-8 xl:h-9 2xl:h-10",step:"1",min:"0",max:"100","onUpdate:modelValue":e[10]||(e[10]=t=>i.currentVolumeRinger=t)},null,512),[[fs,i.currentVolumeRinger]])]),li("div",VL,[li("label",UL,rt(o.i18n.getMessage("webphoneConfigAudioContextTones")),1),xn(li("input",{type:"range",class:"cursor-pointer focus:outline-none focus:ring-2 focus:ring-blue-600 focus:ring-opacity-50 w-full h-5 sm:h-6 md:h-7 lg:h-8 xl:h-9 2xl:h-10",step:"1",min:"0",max:"100","onUpdate:modelValue":e[11]||(e[11]=t=>i.currentVolumeTones=t)},null,512),[[fs,i.currentVolumeTones]])]),li("div",HL,[li("label",zL,rt(o.i18n.getMessage("webphoneConfigAudioContextRemote")),1),xn(li("input",{type:"range",class:"cursor-pointer focus:outline-none focus:ring-2 focus:ring-blue-600 focus:ring-opacity-50 w-full h-5 sm:h-6 md:h-7 lg:h-8 xl:h-9 2xl:h-10",step:"1",min:"0",max:"100","onUpdate:modelValue":e[12]||(e[12]=t=>i.currentVolumeRemote=t)},null,512),[[fs,i.currentVolumeRemote]])]),li("div",GL,[li("label",qL,rt(o.i18n.getMessage("webphoneConfigDefaultCountry")),1),xn(li("select",{class:"focus:outline-none focus:ring-2 focus:ring-blue-600 focus:ring-opacity-50 w-full h-5 sm:h-6 md:h-7 lg:h-8 xl:h-9 2xl:h-10",id:"defaultCountry","onUpdate:modelValue":e[13]||(e[13]=t=>i.currentDefaultCountry=t)},[(Yo(!0),ni(Go,null,Sr(i.listCountries(),t=>(Yo(),ni("option",{key:t.value,value:t.value},rt(t.text),9,WL))),128))],512),[[ys,i.currentDefaultCountry]])])]),li("div",JL,[li("div",XL,[li("div",KL,[li("label",YL,rt(o.i18n.getMessage("webphoneConfigDialerMode")),1),xn(li("select",{class:"focus:outline-none focus:ring-2 focus:ring-blue-600 focus:ring-opacity-50 w-full h-5 sm:h-6 md:h-7 lg:h-8 xl:h-9 2xl:h-10",id:"dialerMode","onUpdate:modelValue":e[14]||(e[14]=t=>i.currentDialerMode=t)},[li("option",ZL,rt(o.i18n.getMessage("webphoneConfigDialerModeFirstNumber")),1),li("option",QL,rt(o.i18n.getMessage("webphoneConfigDialerModeManual")),1),li("option",tN,rt(o.i18n.getMessage("webphoneConfigDialerModeProgressive")),1)],512),[[ys,i.currentDialerMode]])]),li("div",eN,[li("span",nN,rt(o.i18n.getMessage("webphoneConfigDialerButton")),1),e[19]||(e[19]=li("img",{src:"/images/dialer-button.png",class:"ml-0.5 sm:ml-1 md:ml-1.5 lg:ml-2 xl:ml-2.5 2xl:ml-3 w-5 h-5 sm:w-6 sm:h-6 md:w-7 md:h-7 lg:w-8 lg:h-8 xl:w-9 xl:h-9 2xl:w-10 2xl:h-10"},null,-1))]),li("div",rN,[li("label",oN,rt(o.i18n.getMessage("webphoneConfigDialerButtonPosition")),1),xn(li("select",{class:"focus:outline-none focus:ring-2 focus:ring-blue-600 focus:ring-opacity-50 w-full h-5 sm:h-6 md:h-7 lg:h-8 xl:h-9 2xl:h-10",id:"dialerButtonHPosition","onUpdate:modelValue":e[15]||(e[15]=t=>o.dialerButtonPosition=t),onChange:e[16]||(e[16]=(...t)=>i.onChangeDialerButtonPosition&&i.onChangeDialerButtonPosition(...t))},[...e[20]||(e[20]=[li("option",{value:"bottom-right"},"Canto inferior direito",-1),li("option",{value:"bottom-left"},"Canto inferior esquerdo",-1),li("option",{value:"top-right"},"Canto superior direito",-1),li("option",{value:"top-left"},"Canto superior esquerdo",-1)])],544),[[ys,o.dialerButtonPosition]])]),li("div",iN,[li("label",aN,rt(o.i18n.getMessage("webphoneConfigDialerButtonSize")),1),xn(li("select",{class:"focus:outline-none focus:ring-2 focus:ring-blue-600 focus:ring-opacity-50 w-full h-5 sm:h-6 md:h-7 lg:h-8 xl:h-9 2xl:h-10",id:"dialerButtonSize","onUpdate:modelValue":e[17]||(e[17]=t=>o.dialerButtonSize=t),onChange:e[18]||(e[18]=(...t)=>i.onChangeDialerButtonSize&&i.onChangeDialerButtonSize(...t))},[...e[21]||(e[21]=[li("option",{value:"128"},"Grande",-1),li("option",{value:"96"},"Medio",-1),li("option",{value:"64"},"Pequeno",-1)])],544),[[ys,o.dialerButtonSize]])])])])])}var lN={name:"WebphoneConfig",props:{isDebug:{type:Boolean,default:!1}},setup(){return{emitter:$h}},data(){return{i18n:chrome.i18n,dialerButtonPosition:"bottom-right",dialerButtonSize:"96",mediaDevicesList:{audiooutput:[],audioinput:[],videoinput:[]},defaultCountry:"BR"}},mounted(){this.$nextTick(()=>{this.emitter.on("refresh-media-devices-and-open-config-modal",()=>{this.refreshMediaDevices().then(()=>{this.emitter.emit("open-modal-webphone-config")})}),this.emitter.on("refresh-media-devices",()=>{this.refreshMediaDevices()}),this.loadDialerButtonConfig(),this.loadDefaultCountry()})},methods:{clear(){const t=document.querySelector(".webphone-config").querySelectorAll("[data-tab]");t.forEach(t=>{t.classList.remove("active");const e=t.getAttribute("data-tab");document.getElementById(e).classList.remove("active")})},onMouseOver(t){t.target.classList.add("hover-active")},onMouseOut(t){t.target.classList.remove("hover-active")},change(t){this.clear(),t.target.classList.add("active");const e=t.currentTarget.getAttribute("data-tab");document.getElementById(e).classList.add("active")},loadDialerButtonConfig(){chrome.storage.sync.get("bravophoneDialerButtonConfig",({bravophoneDialerButtonConfig:t})=>{t&&t.positionY&&t.positionX&&(this.dialerButtonPosition=`${t.positionY}-${t.positionX}`),t&&t.size&&(this.dialerButtonSize=t.size),this.isDebug&&console.info("BravoPhone > Webphone > Config >",t)})},onChangeDialerButtonPosition(t){const[e,n]=t.target.value.split("-");chrome.storage.sync.set({bravophoneDialerButtonConfig:{positionY:e,positionX:n,size:this.dialerButtonSize}},()=>{this.isDebug&&console.info("BravoPhone > Webphone > Config > Dialer Button Position >",t.target.value)})},onChangeDialerButtonSize(t){chrome.storage.sync.set({bravophoneDialerButtonConfig:{positionY:this.dialerButtonPosition.split("-")[0],positionX:this.dialerButtonPosition.split("-")[1],size:t.target.value}},()=>{this.isDebug&&console.info("BravoPhone > Webphone > Config > Dialer Button Size >",t.target.value)})},refreshMediaDevices(){return new Promise(t=>{navigator.mediaDevices.enumerateDevices().then(e=>(e.length>0&&(this.mediaDevicesList={audiooutput:[],audioinput:[],videoinput:[]}),e.forEach(t=>{this.mediaDevicesList[t.kind].push({text:"default"===t.deviceId?this.i18n.getMessage("webphoneMediaDevicesDefault"):t.label,value:t.deviceId})}),this.isDebug&&console.info("BravoPhone > Webphone > updated media device list",this.mediaDevicesList),t()))})},loadDefaultCountry(){chrome.storage.sync.get("bravophoneDefaultCountry",({bravophoneDefaultCountry:t})=>{this.defaultCountry=t||"BR"})},listCountries(){const t=Object.keys(sL),e=Object.values(sL),n=Object.values(sL).sort();return n.map(n=>({text:n,value:t[e.indexOf(n)]}))},...ah(["setDeviceAudioOutputId","setDeviceAudioInputId","setDialerMode","setHideConnectivityStatusSlowMessage","setVolume","setVolumeRinger","setVolumeTones","setVolumeRemote"])},computed:{currentVolume:{get(){return this.volume},set(t){this.setVolume(t)}},currentVolumeRinger:{get(){return this.volumeRinger},set(t){this.setVolumeRinger(t)}},currentVolumeTones:{get(){return this.volumeTones},set(t){this.setVolumeTones(t)}},currentVolumeRemote:{get(){return this.volumeRemote},set(t){this.setVolumeRemote(t)}},currentDeviceAudioOutputId:{get(){return this.deviceAudioOutputId},set(t){this.setDeviceAudioOutputId(t)}},currentDeviceAudioInputId:{get(){return this.deviceAudioInputId},set(t){this.setDeviceAudioInputId(t)}},currentDialerMode:{get(){return this.dialerMode},set(t){this.setDialerMode(t)}},currentHideConnectivityStatusSlowMessage:{get(){return this.hideConnectivityStatusSlowMessage},set(t){this.setHideConnectivityStatusSlowMessage(t)}},currentDefaultCountry:{get(){return this.defaultCountry},set(t){this.defaultCountry=t,chrome.storage.sync.set({bravophoneDefaultCountry:t})}},...ih(["dialerMode","deviceAudioOutputId","deviceAudioInputId","hideConnectivityStatusSlowMessage","volume","volumeRinger","volumeTones","volumeRemote"])}};const dN=(0,sg.A)(lN,[["render",sN]]);var cN=dN,uN={name:"TheWebphone",components:{TheModal:yS,WebphoneConfig:cN},props:{isDebug:{type:Boolean,default:!1}},data(){return{i18n:chrome.i18n,display:null,callCurrent:null,callNumber:"",callDTMF:"",callNumberForPbx:null,callTypeName:null,callType:chrome.i18n.getMessage("webphoneEmptyNumber"),callCountry:null,isValidNumberCall:!1,isMicrophoneAllowed:!0,timer:0,timerInterval:null,imgSrcForAnswer:"images/answer-gray.png",svgPathForVolume:this.svgPathForVolumeUp,svgPathForVolumeUp:"M9.383 3.076A1 1 0 0110 4v12a1 1 0 01-1.707.707L4.586 13H2a1 1 0 01-1-1V8a1 1 0 011-1h2.586l3.707-3.707a1 1 0\n 011.09-.217zM14.657 2.929a1 1 0 011.414 0A9.972 9.972 0 0119 10a9.972 9.972 0 01-2.929 7.071 1 1 0 01-1.414-1.414A7.971\n 7.971 0 0017 10c0-2.21-.894-4.208-2.343-5.657a1 1 0 010-1.414zm-2.829 2.828a1 1 0 011.415 0A5.983 5.983 0 0115 10a5.984\n 5.984 0 01-1.757 4.243 1 1 0 01-1.415-1.415A3.984 3.984 0 0013 10a3.983 3.983 0 00-1.172-2.828 1 1 0 010-1.415z",svgPathForVolumeOff:"M9.383 3.076A1 1 0 0110 4v12a1 1 0 01-1.707.707L4.586 13H2a1 1 0 01-1-1V8a1 1 0 011-1h2.586l3.707-3.707a1 1 0\n 011.09-.217zM12.293 7.293a1 1 0 011.414 0L15 8.586l1.293-1.293a1 1 0 111.414 1.414L16.414 10l1.293 1.293a1 1 0\n 01-1.414 1.414L15 11.414l-1.293 1.293a1 1 0 01-1.414-1.414L13.586 10l-1.293-1.293a1 1 0 010-1.414z",tooltipForValidNumber:chrome.i18n.getMessage("webphoneValidNumber"),tooltipForInvalidNumber:chrome.i18n.getMessage("webphoneInvalidNumber"),tooltipForClear:chrome.i18n.getMessage("globalClear"),tooltipForMakeOrAnswerCall:null,defaultCountry:"BR"}},setup(){const t=ip(),e=kn("webphone",null);return{emitter:$h,toast:t,webphone:e}},mounted(){this.$nextTick(()=>{this.emitter.on("webphone-dial-from-pad",this.dialFromPad),this.emitter.on("webphone-dial-key",this.dialKey),this.emitter.on("webphone-dial-backspace",this.dialBackspace),this.emitter.on("webphone-dial-clear",this.dialClearAll),this.emitter.on("webphone-dial-now",this.makeOrAnswerCall),this.emitter.on("webphone-dial-context",t=>{this._pendingCallContext=t}),this.emitter.on("webphone-transfer-initiated",t=>{this._transferInfo=t}),this.emitter.on("call-toggle-mute",this.toggleMute),this.emitter.on("call-toggle-hold",this.toggleHoldFromScreen),this.emitter.on("call-hangup",this.hangupOrRejectCall),this.emitter.on("call-answer",this.answerIncomingCall),this.emitter.on("webphone-presence-refresh",this.refreshPresence),this.emitter.on("webphone-apply-volumes",this.applyVolumes),this.extension&&!0!==this.extension.external&&(this.checkMicrophonePermission().then(()=>{this.initialize().then(()=>{this.startDebug(),this.userAgentStatus(),this.applyVolumes(),this.emitter.emit("refresh-media-devices"),dispatchEvent(new Event("load"))})}),this.addListenerToPaste(),this.addListenerToKeyboard(),this.loadDefaultCountry(),this.addStorageChangeListener())})},methods:{initialize(){return new Promise(t=>{if(this.extension&&this.extension.domain&&this.extension.username&&this.extension.password){this.webphone=new libwebphone({dialpad:{globalKeyShortcuts:!1,keys:{enter:{action:this.makeOrAnswerCall}}},mediaDevices:{videoinput:{enabled:!1}},userAgent:{renderTargets:["user_agent"],transport:{sockets:[bpBoxWss(this.extension)],recovery_max_interval:30,recovery_min_interval:2},authentication:{username:this.extension.username,password:this.extension.password,realm:bpBoxHost(this.extension)},user_agent:{instance_id:mT(),no_answer_timeout:30,register:!0,register_expires:600,user_agent:`bravophone-webphone(${this.getVersion})`}}}),this._bpCallSnap=c=>{if(!c)return null;const g=k=>{try{return"function"==typeof c[k]?c[k]():void 0}catch(err){return"ERR:"+(err&&err.message)}};return{id:g("getId"),primary:g("isPrimary"),direction:g("getDirection"),remote:g("remoteIdentity"),established:g("isEstablished"),inProgress:g("isInProgress"),ringing:g("isRinging"),onHold:g("isOnHold")}},this._bpDbg=(tag,extra)=>{try{const base={hasCallCurrent:!!this.callCurrent,callCurrent:this._bpCallSnap(this.callCurrent),localCallStartedAt:this._localCallStartedAt?this._localCallStartedAt.toISOString():null,callWasEstablished:!!this._callWasEstablished,establishedAt:this._establishedAt?this._establishedAt.toISOString():null,localCallNumber:this._localCallNumber||null,callNumber:this.callNumber,callNumberForPbx:this.callNumberForPbx};console.log("BravoPhone DEBUG > "+tag,Object.assign(base,extra||{}))}catch(err){console.error("BravoPhone DEBUG > logger falhou em "+tag,err)}},this._bpAudioDiag=tag=>{try{const mod=this.webphone&&this.webphone.getAudioContext&&this.webphone.getAudioContext(),ctx=mod&&mod._audioContext,md=this.webphone&&this.webphone.getMediaDevices&&this.webphone.getMediaDevices(),outEl=md&&md.getMediaElement&&md.getMediaElement("audiooutput"),call=this.callCurrent,remEl=call&&call.getRemoteAudio&&call.getRemoteAudio(),g=n=>{try{return mod._getOutputGainNode(n).gain.value}catch(err){return"ERR"}},el=e=>e?{paused:e.paused,muted:e.muted,volume:e.volume,ready:e.readyState,tracks:e.srcObject&&e.srcObject.getTracks?e.srcObject.getTracks().map(t=>t.kind+":"+t.readyState+(t.muted?":MUTED":"")+(t.enabled?"":":DISABLED")):null}:null,pc=call&&call.getPeerConnection&&call.getPeerConnection(),tr=t=>t?t.kind+":"+t.readyState+(t.muted?":MUTED":"")+(t.enabled?"":":DISABLED"):"sem-track",info={tag:tag,ctxState:ctx&&ctx.state,ctxStarted:!(!mod||!mod._started),usaAudioElement:!(!mod||!mod._outputAudio)&&mod._outputAudio.usingAudioElement,remoteConectadoNoContexto:!(!mod||!mod._remoteAudio||!mod._remoteAudio.sourceStream),gainMaster:g("master"),gainRemote:g("remote"),volCfgMaster:mod&&mod._config&&mod._config.channels&&mod._config.channels.master&&mod._config.channels.master.volume,volCfgRemote:mod&&mod._config&&mod._config.channels&&mod._config.channels.remote&&mod._config.channels.remote.volume,storeVolume:this.volume,storeVolumeRemote:this.volumeRemote,outEl:el(outEl),remEl:el(remEl),pcConn:pc&&pc.connectionState,pcIce:pc&&pc.iceConnectionState,pcSig:pc&&pc.signalingState,senders:pc&&pc.getSenders?pc.getSenders().map(s=>tr(s.track)):null,receivers:pc&&pc.getReceivers?pc.getReceivers().map(r=>tr(r.track)):null,visibility:document.visibilityState,hasFocus:document.hasFocus()};console.log("BravoPhone DEBUG > AUDIO DIAG > "+JSON.stringify(info));pc&&pc.getStats&&pc.getStats().then(st=>{const o={tag:tag};st.forEach(r=>{"inbound-rtp"===r.type&&"audio"===r.kind&&(o.entrada={bytes:r.bytesReceived,pacotes:r.packetsReceived,perdidos:r.packetsLost,jitter:r.jitter}),"outbound-rtp"===r.type&&"audio"===r.kind&&(o.saida={bytes:r.bytesSent,pacotes:r.packetsSent}),"candidate-pair"===r.type&&r.nominated&&(o.par={estado:r.state,rtt:r.currentRoundTripTime})});console.log("BravoPhone DEBUG > AUDIO DIAG RTP > "+JSON.stringify(o))}).catch(err=>console.error("BravoPhone DEBUG > AUDIO DIAG > getStats falhou",err))}catch(err){this._bpFatal("AUDIO DIAG",err)}},this._bpAudioSnap=()=>{try{const mod=this.webphone&&this.webphone.getAudioContext&&this.webphone.getAudioContext(),ctx=mod&&mod._audioContext,md=this.webphone&&this.webphone.getMediaDevices&&this.webphone.getMediaDevices(),el=md&&md.getMediaElement&&md.getMediaElement("audiooutput");return{ctxState:ctx&&ctx.state,ctxStarted:!(!mod||!mod._started),outPaused:el?el.paused:void 0,outMuted:el?el.muted:void 0,outVolume:el?el.volume:void 0,outHasSrc:!!(el&&el.srcObject),visibility:document.visibilityState,hasFocus:document.hasFocus()}}catch(err){return{audioSnapErr:err&&err.message}}},this._bpResumeAudio=tag=>{try{console.log("BravoPhone DEBUG > audio > resumeAudio ["+tag+"] > "+JSON.stringify(this._bpAudioSnap()));const mod=this.webphone&&this.webphone.getAudioContext&&this.webphone.getAudioContext(),ctx=mod&&mod._audioContext;if(ctx&&"running"!==ctx.state){this._bpDbg("audio > AudioContext em '"+ctx.state+"' > resume() ["+tag+"]",{audio:this._bpAudioSnap()});const p=ctx.resume();p&&p.then&&p.then(()=>this._bpDbg("audio > resume() OK ["+tag+"]",{state:ctx.state})).catch(err=>this._bpFatal("audio resume ["+tag+"]",err))}const md=this.webphone&&this.webphone.getMediaDevices&&this.webphone.getMediaDevices(),el=md&&md.getMediaElement&&md.getMediaElement("audiooutput");if(el&&el.paused){this._bpDbg("audio > elemento de saida pausado > play() ["+tag+"]");const q=el.play();q&&q.catch&&q.catch(err=>this._bpFatal("audio play ["+tag+"]",err))}}catch(err){this._bpFatal("audio resume",err)}},window.__bpAudioUnlockHooked||(window.__bpAudioUnlockHooked=!0,["pointerdown","keydown","click"].forEach(ev=>document.addEventListener(ev,()=>this._bpResumeAudio("gesto do usuario"),!0)),document.addEventListener("visibilitychange",()=>{"visible"===document.visibilityState&&this._bpResumeAudio("janela visivel")})),this._bpSipSnap=()=>{try{const ua=this.webphone&&this.webphone.getUserAgent&&this.webphone.getUserAgent();if(!ua)return{userAgent:null};const f=k=>{try{return"function"==typeof ua[k]?ua[k]():void 0}catch(err){return"ERR:"+(err&&err.message)}};let calls,withSession;try{const cl=this.webphone.getCallList&&this.webphone.getCallList();if(cl&&cl.getCalls){const list=cl.getCalls()||[];calls=list.length,withSession=list.filter(c=>{try{return c.hasSession()}catch(err){return!1}}).length}}catch(err){calls="ERR"}return{audio:this._bpAudioSnap(),started:f("isStarted"),connected:f("isConnected"),registered:f("isRegistered"),ready:f("isReady"),storeRegistered:this.$store&&this.$store.state&&this.$store.state.webphoneRegistered,networkState:this.$store&&this.$store.state&&this.$store.state.networkState,navigatorOnLine:navigator.onLine,calls:calls,callsWithSession:withSession,hasCallCurrent:!!this.callCurrent}}catch(err){return{snapErr:err&&err.message}}},this._bpHeartbeat=()=>{try{const s=this._bpSipSnap(),key=JSON.stringify([s.started,s.connected,s.registered,s.ready,s.calls,s.callsWithSession,s.networkState,s.navigatorOnLine]),changed=key!==this._bpLastHb;this._bpLastHb=key,this._bpHbTick=(this._bpHbTick||0)+1,(changed||this._bpHbTick%10==1)&&console.log("BravoPhone DEBUG > SIP heartbeat"+(changed?" > MUDOU":""),s),!0===s.ready?this._bpNotReady=0:null===s.userAgent||void 0===s.ready?0:(this._bpNotReady=(this._bpNotReady||0)+1,this._bpNotReady>=2&&!this.callCurrent&&(console.warn("BravoPhone DEBUG > SIP heartbeat > WATCHDOG: userAgent fora do ar ha "+this._bpNotReady+" checagens > tentando recuperar",s),s.started&&s.connected?this.registerUserAgent():this.startUserAgent()))}catch(err){this._bpFatal("SIP heartbeat",err)}},this._bpHbTimer&&clearInterval(this._bpHbTimer),this._bpHbTimer=setInterval(()=>this._bpHeartbeat(),3e4),setTimeout(()=>this._bpHeartbeat(),5e3),this._bpIsForeignSession=(c,tag)=>{try{const sid=c&&c.getId&&c.getId();if(this._bpPrimaryId&&sid&&sid!==this._bpPrimaryId)return this._bpDbg(tag+" > IGNORADO: evento de sessao NAO-primaria",{sessionId:sid,primaryId:this._bpPrimaryId,session:this._bpCallSnap(c)}),!0}catch(err){this._bpFatal(tag+" > _bpIsForeignSession",err)}return!1},this._bpFatal=(tag,err,extra)=>{try{console.error("BravoPhone DEBUG > "+tag+" > EXCECAO CAPTURADA",{name:err&&err.name,message:err&&err.message,stack:err&&err.stack,raw:err,ctx:extra||null})}catch(e2){console.error("BravoPhone DEBUG > "+tag+" > EXCECAO (log falhou)",err)}},window.__bpErrHooked||(window.__bpErrHooked=!0,window.addEventListener("error",ev=>{console.error("BravoPhone DEBUG > window.onerror > excecao nao tratada",{message:ev&&ev.message,file:ev&&ev.filename,line:ev&&ev.lineno,col:ev&&ev.colno,stack:ev&&ev.error&&ev.error.stack,error:ev&&ev.error})}),window.addEventListener("unhandledrejection",ev=>{const r=ev&&ev.reason;console.error("BravoPhone DEBUG > unhandledrejection > promise rejeitada sem catch",{message:r&&r.message||r,stack:r&&r.stack,reason:r})})),this.webphone.on("userAgent.connected",(t,e,n)=>{this._bpDbg("userAgent.connected > transporte WSS conectado",{sip:this._bpSipSnap()})}),this.webphone.on("userAgent.disconnected",(t,e,n)=>{this._bpDbg("userAgent.disconnected > TRANSPORTE CAIU",{sip:this._bpSipSnap(),payload:n,code:n&&n.code,reason:n&&n.reason,wasClean:n&&n.wasClean}),this.isDebug&&console.info("BravoPhone > Webphone > disconnected >",n),this.$store.commit("setWebphoneRegistered",!1),this.clearWebphone()}),this.webphone.on("userAgent.registration.registered",(t,e,n)=>{this._bpDbg("userAgent.registration.registered > REGISTRADO",{sip:this._bpSipSnap(),expires:n&&n.response&&n.response.getHeader&&n.response.getHeader("Expires")}),this.isDebug&&console.info("BravoPhone > Webphone > registered >",n),this.$store.commit("setWebphoneRegistered",!0)}),this.webphone.on("userAgent.registration.unregistered",(t,e,n)=>{this._bpDbg("userAgent.registration.unregistered > DESREGISTRADO (para de receber ligacao ate registrar de novo)",{sip:this._bpSipSnap(),payload:n}),this.isDebug&&console.info("BravoPhone > Webphone > unregistered >",n),this.$store.commit("setWebphoneRegistered",!1),this.clearWebphone(),setTimeout(()=>{this.registerUserAgent()},1e3)}),this.webphone.on("userAgent.registration.failed",(t,e,n)=>{console.error("BravoPhone DEBUG > userAgent.registration.failed > FALHA NO REGISTRO",{sip:this._bpSipSnap(),cause:n&&n.cause,status:n&&n.response&&n.response.status_code,reason:n&&n.response&&n.response.reason_phrase,payload:n}),this.isDebug&&console.info("BravoPhone > Webphone > registration failed >",n),this.$store.commit("setWebphoneRegistered",!1),this.toast.error(OS)}),this.webphone.on("userAgent.registration.expiring",(t,e,n)=>{this._bpDbg("userAgent.registration.expiring > registro expirando, renovando",{sip:this._bpSipSnap()});if(this.isDebug){let t=`BravoPhone > Webphone > registration expired > SIP: ${n}`;t+=` > isReady: ${e.isReady()} > isRegistered: ${e.isRegistered()}`,t+=` > isConnected: ${e.isConnected()} > isStarted: ${e.isStarted()}`,this.isDebug&&console.info(t)}e.isReady()?this.isDebug&&console.info("BravoPhone > Webphone > registration ok"):e.isStarted()&&e.isConnected()?e.isRegistered()||(this.isDebug&&console.info("BravoPhone > Webphone > registration expired > registering"),this.registerUserAgent()):(this.isDebug&&console.info("BravoPhone > Webphone > registration expired > reconnecting"),this.startUserAgent())}),this.webphone.on("userAgent.configuration.error",(t,e,n)=>{console.error("BravoPhone DEBUG > userAgent.configuration.error",{sip:this._bpSipSnap(),payload:n}),this.isDebug&&console.error("BravoPhone > Webphone > configuration >",n),this.clearWebphone()}),this.webphone.on("call.created",(t,e)=>{this._bpResumeAudio("call.created"),this._bpDbg("call.created > fired",{session:this._bpCallSnap(e)});if(e.isPrimary()){this._bpPrimaryId=e.getId&&e.getId()||null,this.callCurrent=Me(e),this._localCallStartedAt=new Date,this._callWasEstablished=!1,this._activeCallContext=this.isIncomeCall?null:this._pendingCallContext||null,this._pendingCallContext=null,this._localCallNumber=this.callNumberForPbx||this.callNumber||(()=>{const R=window.BravoPhoneRoutes,id=e.remoteIdentity&&e.remoteIdentity()||null;return id&&R&&"function"==typeof R.stripPrefix?R.stripPrefix(id):id})()||this.display||null;const t=this.isIncomeCall?"from":"to";if(this.isDebug&&console.info(`BravoPhone > Webphone > call ${t} ${e.remoteIdentity()}`),this.isIncomeCall&&e.remoteIdentity()&&!this.callNumber){const t=/^0+/;this.callNumber=e.remoteIdentity().replace(t,"+")}}else this.isDebug&&console.info(`BravoPhone > Webphone > call not primary rejected ${e.remoteIdentity()}`),this._bpDbg("call.created > rejeitando sessao NAO-primaria (isto dispara call.failed logo em seguida)",{session:this._bpCallSnap(e)}),e.reject()}),this.webphone.on("call.established",(t,e,n)=>{this._bpResumeAudio("call.established"),this.$nextTick(()=>this._bpAudioDiag("established")),setTimeout(()=>this._bpAudioDiag("established+3s"),3e3),setTimeout(()=>this._bpAudioDiag("established+8s"),8e3),this._bpDbg("call.established > estado do audio",{audio:this._bpAudioSnap(),session:this._bpCallSnap(e)}),this.isDebug&&console.info("BravoPhone > Webphone > call established >",n),this._callWasEstablished=!0,this._establishedAt=new Date,this.callCurrent?(this.applyVolumes(),this.syncCallPhase(),this.syncCallFlags(),this.syncCallDisplay()):(this._bpDbg("call.established > callCurrent null > terminando sessao",{session:this._bpCallSnap(e)}),e.terminate())}),this.webphone.on("call.ended",(t,e,n)=>{if(this._bpIsForeignSession(e,"call.ended"))return;this._bpDbg("call.ended > fired",{session:this._bpCallSnap(e),isCurrentSession:e===this.callCurrent,cause:n&&(n.cause||n.message)||null,originator:n&&n.originator||null}),console.log("BravoPhone DEBUG > call.ended > fired",{hasLocalCallStartedAt:!!this._localCallStartedAt,isIncomeCall:this.isIncomeCall,callNumberForPbx:this.callNumberForPbx,callNumber:this.callNumber,display:this.display});try{if(this._localCallStartedAt){const r=this.isIncomeCall?"inbound":"outbound",o=this._localCallNumber||this.callNumberForPbx||this.callNumber||"",c=this.isIncomeCall?null:this._activeCallContext,name=c&&c.name||null,company=c&&c.company||null,crmGateway=c&&c.gateway||null,dealUrl=c&&c.url||null,dealId=c&&c.dealId||null,answered=!!this._callWasEstablished,endMoment=new Date,ringSeconds=Math.max(0,Math.round(((answered&&this._establishedAt?this._establishedAt:endMoment)-this._localCallStartedAt)/1e3)),durationSeconds=answered&&this._establishedAt?Math.max(0,Math.round((endMoment-this._establishedAt)/1e3)):0,missed=!answered,transferInfo=this._transferInfo||null,transferred=!!transferInfo,transferredToRamal=transferInfo&&transferInfo.ramal||null,transferredToName=transferInfo&&transferInfo.name||null;console.log("BravoPhone DEBUG > call.ended > saving local history",{dir:r,number:o,name:name,crmGateway:crmGateway,answered:answered,ringSeconds:ringSeconds,durationSeconds:durationSeconds,transferred:transferred,transferredToRamal:transferredToRamal});bpSaveLocalCallHistory({id:`local-${Date.now()}`,call_type:r,to:"inbound"===r?null:o,from:"inbound"===r?o:null,name:name,company:company,crmGateway:crmGateway,url:dealUrl,dealId:dealId,answered:answered,ringSeconds:ringSeconds,durationSeconds:durationSeconds,transferred:transferred,transferredToRamal:transferredToRamal,transferredToName:transferredToName,started_at:this._localCallStartedAt.toISOString(),ended_at:endMoment.toISOString()}).then(()=>{this.emitter.emit("bravophone-call-history-saved")}).catch(()=>{});console.log("BravoPhone DEBUG > call.ended > committing addRecent",{missed:missed,answered:answered,transferred:transferred});this.$store.commit("addRecent",{id:`call-${Date.now()}`,gateway:this.isIncomeCall?"call-in":"call-out",metadata:dealId?{dealId:dealId}:void 0,data:{name:name,company:company,crmGateway:crmGateway,url:dealUrl,transferred:transferred,transferredToRamal:transferredToRamal,transferredToName:transferredToName,numbers:[{number:o,formatted:this.display||o}],createdAt:new Date,missed:missed,answered:answered,ringSeconds:ringSeconds,durationSeconds:durationSeconds}});this._localCallStartedAt=null,this._activeCallContext=null,this._localCallNumber=null,this._establishedAt=null,this._transferInfo=null;console.log("BravoPhone DEBUG > call.ended > history saved ok")}}catch(i){console.error("BravoPhone DEBUG > call.ended > ERROR while saving history",i)}console.log("BravoPhone DEBUG > call.ended > calling clearWebphone()");try{this.clearWebphone()}catch(i){console.error("BravoPhone DEBUG > call.ended > ERROR in clearWebphone",i)}console.log("BravoPhone DEBUG > call.ended > clearWebphone() done")}),this.webphone.on("call.terminated",(t,e,n)=>{if(this._bpIsForeignSession(e,"call.terminated"))return;this._bpDbg("call.terminated > fired",{session:this._bpCallSnap(e),isCurrentSession:e===this.callCurrent,cause:n&&(n.cause||n.message)||null,originator:n&&n.originator||null}),console.log("BravoPhone DEBUG > call.terminated > fired",{hasLocalCallStartedAt:!!this._localCallStartedAt,isIncomeCall:this.isIncomeCall,callNumberForPbx:this.callNumberForPbx,callNumber:this.callNumber,display:this.display});try{if(this._localCallStartedAt){const r=this.isIncomeCall?"inbound":"outbound",o=this._localCallNumber||this.callNumberForPbx||this.callNumber||"",c=this.isIncomeCall?null:this._activeCallContext,name=c&&c.name||null,company=c&&c.company||null,crmGateway=c&&c.gateway||null,dealUrl=c&&c.url||null,dealId=c&&c.dealId||null,answered=!!this._callWasEstablished,endMoment=new Date,ringSeconds=Math.max(0,Math.round(((answered&&this._establishedAt?this._establishedAt:endMoment)-this._localCallStartedAt)/1e3)),durationSeconds=answered&&this._establishedAt?Math.max(0,Math.round((endMoment-this._establishedAt)/1e3)):0,missed=!answered,transferInfo=this._transferInfo||null,transferred=!!transferInfo,transferredToRamal=transferInfo&&transferInfo.ramal||null,transferredToName=transferInfo&&transferInfo.name||null;console.log("BravoPhone DEBUG > call.terminated > saving local history",{dir:r,number:o,name:name,crmGateway:crmGateway,answered:answered,ringSeconds:ringSeconds,durationSeconds:durationSeconds,transferred:transferred,transferredToRamal:transferredToRamal});bpSaveLocalCallHistory({id:`local-${Date.now()}`,call_type:r,to:"inbound"===r?null:o,from:"inbound"===r?o:null,name:name,company:company,crmGateway:crmGateway,url:dealUrl,dealId:dealId,answered:answered,ringSeconds:ringSeconds,durationSeconds:durationSeconds,transferred:transferred,transferredToRamal:transferredToRamal,transferredToName:transferredToName,started_at:this._localCallStartedAt.toISOString(),ended_at:endMoment.toISOString()}).then(()=>{this.emitter.emit("bravophone-call-history-saved")}).catch(()=>{});console.log("BravoPhone DEBUG > call.terminated > committing addRecent",{missed:missed,answered:answered,transferred:transferred});this.$store.commit("addRecent",{id:`call-${Date.now()}`,gateway:this.isIncomeCall?"call-in":"call-out",metadata:dealId?{dealId:dealId}:void 0,data:{name:name,company:company,crmGateway:crmGateway,transferred:transferred,transferredToRamal:transferredToRamal,transferredToName:transferredToName,url:dealUrl,numbers:[{number:o,formatted:this.display||o}],createdAt:new Date,missed:missed,answered:answered,ringSeconds:ringSeconds,durationSeconds:durationSeconds}});this._localCallStartedAt=null,this._activeCallContext=null,this._localCallNumber=null,this._establishedAt=null,this._transferInfo=null;console.log("BravoPhone DEBUG > call.terminated > history saved ok")}}catch(i){console.error("BravoPhone DEBUG > call.terminated > ERROR while saving history",i)}console.log("BravoPhone DEBUG > call.terminated > calling clearWebphone()");try{this.clearWebphone()}catch(i){console.error("BravoPhone DEBUG > call.terminated > ERROR in clearWebphone",i)}console.log("BravoPhone DEBUG > call.terminated > clearWebphone() done")}),this.webphone.on("call.failed",(t,e,n)=>{if(this._bpIsForeignSession(e,"call.failed"))return;try{this.isDebug&&console.info("BravoPhone > Webphone > call failed >",n),this._bpDbg("call.failed > fired",{session:this._bpCallSnap(e),isCurrentSession:e===this.callCurrent,cause:n&&(n.cause||n.message)||null,originator:n&&n.originator||null,payload:n});try{if(this._localCallStartedAt&&!this._callWasEstablished&&!this.isIncomeCall){const r="outbound",o=this._localCallNumber||this.callNumberForPbx||this.callNumber||"",c=this._activeCallContext,name=c&&c.name||null,company=c&&c.company||null,crmGateway=c&&c.gateway||null,dealUrl=c&&c.url||null,dealId=c&&c.dealId||null,endMoment=new Date,ringSeconds=Math.max(0,Math.round((endMoment-this._localCallStartedAt)/1e3));console.log("BravoPhone DEBUG > call.failed > saving local history",{dir:r,number:o,ringSeconds:ringSeconds});bpSaveLocalCallHistory({id:`local-${Date.now()}`,call_type:r,to:o,from:null,name:name,company:company,crmGateway:crmGateway,url:dealUrl,dealId:dealId,answered:!1,ringSeconds:ringSeconds,durationSeconds:0,started_at:this._localCallStartedAt.toISOString(),ended_at:endMoment.toISOString()}).then(()=>{this.emitter.emit("bravophone-call-history-saved")}).catch(()=>{});this.$store.commit("addRecent",{id:`call-${Date.now()}`,gateway:"call-out",metadata:dealId?{dealId:dealId}:void 0,data:{name:name,company:company,crmGateway:crmGateway,url:dealUrl,numbers:[{number:o,formatted:this.display||o}],createdAt:new Date,missed:!0,answered:!1,ringSeconds:ringSeconds,durationSeconds:0}}),this._localCallStartedAt=null,this._activeCallContext=null,this._localCallNumber=null,this._establishedAt=null,this._transferInfo=null}}catch(er){console.error("BravoPhone DEBUG > call.failed > ERROR while saving history",er)}this.callCurrent?this.callCurrent.isEstablished()||(this._bpDbg("call.failed > callCurrent nao estabelecida > clearWebphone()"),this.clearWebphone()):this._bpDbg("call.failed > IGNORADO: callCurrent e null (sessao nao-primaria rejeitada ou webphone ja limpo) - antes daqui saia o TypeError")}catch(fatal){this._bpFatal("call.failed",fatal,{session:this._bpCallSnap(e),payload:n})}}),this.webphone.on("mediaDevices.getUserMedia.error",(t,e,n)=>{this.isDebug&&console.info("BravoPhone > Webphone > media devices >",n),"Permission denied"===n.message||"Permission dismissed"===n.message?(this.isMicrophoneAllowed=!1,this.toast.error(CL)):"Could not start audio source"!==n.message&&"Requested device not found"!==n.message||this.toast.error(this.i18n.getMessage("messageAudioContextError"))}),this.webphone.on("dialpad.target.updated",(t,e,n,r)=>{this.isDebug&&console.info("BravoPhone > Webphone > dialpad captured >",r),this.callCurrent?this.callDTMF+=dL(r):this.callNumber+=dL(r)}),this.webphone.on("dialpad.target.backspace",(t,e,n)=>{this.isDebug&&console.info("BravoPhone > Webphone > dialpad captured >",n),this.callCurrent?this.callDTMF=this.callDTMF.slice(0,-1):this.callNumber=this.callNumber.slice(0,-1)}),this.webphone.on("dialpad.target.clear",(t,e)=>{this.isDebug&&console.info("BravoPhone > Webphone > dialpad clear",e),this.isRunningCall||(this.callNumber=""),this.callDTMF=""}),this.webphone.setMaxListeners(0),this.webphone.getUserAgent().start();const t=this.webphone;window.addEventListener("beforeunload",function(e){return e.preventDefault(),this.isDebug&&console.info("BravoPhone > Webphone > force unregister"),t.getUserAgent().unregister(),!1})}else this.toast.error(OS);t()})},checkMicrophonePermission(){return new Promise(t=>navigator.permissions.query({name:"microphone"}).then(e=>{this.isDebug&&console.info("BravoPhone > Webphone > microphone permission",e.state),"granted"===e.state?(this.isMicrophoneAllowed=!0,t()):"prompt"===e.state?(this.toast.warning(this.i18n.getMessage("webphoneStatusMicrophoneWarning")),t()):(this.isMicrophoneAllowed=!1,this.toast.error(CL))}))},startDebug(){chrome.storage.sync.get("bravophoneSipTrace",({bravophoneSipTrace:t})=>{"enabled"===t&&(this.webphone&&this.webphone.getUserAgent()?(this.isDebug&&console.info("BravoPhone > Webphone > starting sip debug"),this.webphone.getUserAgent().startDebug()):this.isDebug&&console.error("BravoPhone > Webphone > user agent not found"))})},startUserAgent(){this.webphone&&this.webphone.getUserAgent()?this.webphone.getUserAgent().start():this.isDebug&&console.error("BravoPhone > Webphone > user agent not found")},stopUserAgent(){this.webphone&&this.webphone.getUserAgent()?this.webphone.getUserAgent().stop():this.isDebug&&console.error("BravoPhone > Webphone > user agent not found")},registerUserAgent(){this.isDebug&&console.info("BravoPhone > Webphone > registering user"),this.webphone&&this.webphone.getUserAgent()?this.webphone.getUserAgent().register():this.isDebug&&console.error("BravoPhone > Webphone > user agent not found")},toogleCustomTooltip(t){const e=document.querySelector(`#${t}`),n=e.getAttribute("style");n&&-1!==n.indexOf("display:none")?e.setAttribute("style",n.replace("display:none","display:block")):e.setAttribute("style",n.replace("display:block","display:none"))},userAgentStatus(){this.isDebug&&console.info("BravoPhone > Webphone > user agent status");const t=`\n <div>\n {{#data.isConnected}}\n {{#data.isRegistered}}\n <img\n id="{{by_id.tooltipForOnline.elementId}}"\n src="images/circle-green.png"\n class="w-2 sm:w-3 xl:w-4\n h-2 sm:h-3 xl:h-4" />\n <div\n id="tooltipForOnlineMessage"\n class="v-popper__popper v-popper--theme-tooltip v-popper__popper--shown v-popper__popper--show-to mt-8 xl:mt-11"\n aria-hidden="true"\n data-popper-placement="bottom"\n style="position: absolute; width: 120px; display:none;">\n <div class="v-popper__backdrop"></div>\n <div class="v-popper__wrapper">\n <div class="v-popper__inner">\n <div>\n <div>${this.i18n.getMessage("webphoneStatusTooltipForOnline")} (${this.extension.username})</div>\n </div>\n \x3c!----\x3e\n </div>\n <div\n class="v-popper__arrow-container ml-4 xl:ml-5">\n <div class="v-popper__arrow-outer"></div>\n <div class="v-popper__arrow-inner"></div>\n </div>\n </div>\n </div>\n {{/data.isRegistered}}\n {{/data.isConnected}}\n\n {{#data.isConnected}}\n {{^data.isRegistered}}\n <img\n id="{{by_id.tooltipForOffline.elementId}}"\n src="images/circle-orange.png"\n class="w-2 sm:w-3 xl:w-4\n h-2 sm:h-3 xl:h-4" />\n <div\n id="tooltipForOfflineMessage"\n class="v-popper__popper v-popper--theme-tooltip v-popper__popper--shown v-popper__popper--show-to mt-8 xl:mt-11"\n aria-hidden="true"\n data-popper-placement="bottom"\n style="position: absolute; width: 120px; display:none;">\n <div class="v-popper__backdrop"></div>\n <div class="v-popper__wrapper">\n <div class="v-popper__inner">\n <div>\n <div>${this.i18n.getMessage("webphoneStatusTooltipForOffline")}</div>\n </div>\n \x3c!----\x3e\n </div>\n <div\n class="v-popper__arrow-container ml-4 xl:ml-5">\n <div class="v-popper__arrow-outer"></div>\n <div class="v-popper__arrow-inner"></div>\n </div>\n </div>\n </div>\n {{/data.isRegistered}}\n {{/data.isConnected}}\n\n {{^data.isConnected}}\n {{^data.isRegistered}}\n <img\n id="{{by_id.tooltipForOffline.elementId}}"\n src="images/circle-red.png"\n class="w-2 sm:w-3 xl:w-4\n h-2 sm:h-3 xl:h-4" />\n <div\n id="tooltipForOfflineMessage"\n class="v-popper__popper v-popper--theme-tooltip v-popper__popper--shown v-popper__popper--show-to mt-8 xl:mt-11"\n aria-hidden="true"\n data-popper-placement="bottom"\n style="position: absolute; width: 120px; display:none;">\n <div class="v-popper__backdrop"></div>\n <div class="v-popper__wrapper">\n <div class="v-popper__inner">\n <div>\n <div>${this.i18n.getMessage("webphoneStatusTooltipForOffline")}</div>\n </div>\n \x3c!----\x3e\n </div>\n <div\n class="v-popper__arrow-container ml-4 xl:ml-5">\n <div class="v-popper__arrow-outer"></div>\n <div class="v-popper__arrow-inner"></div>\n </div>\n </div>\n </div>\n {{/data.isRegistered}}\n {{/data.isConnected}}\n </div>`,e={template:t,root:{elementId:"user_agent_custom"},by_id:{tooltipForOnline:{events:{onmouseenter:()=>{this.toogleCustomTooltip("tooltipForOnlineMessage")},onmouseout:()=>{this.toogleCustomTooltip("tooltipForOnlineMessage")}}},tooltipForOffline:{events:{onmouseenter:()=>{this.toogleCustomTooltip("tooltipForOfflineMessage")},onmouseout:()=>{this.toogleCustomTooltip("tooltipForOfflineMessage")}}}}};this.webphone&&this.webphone.getUserAgent()?this.webphone.getUserAgent().renderAddTarget(e):this.isDebug&&console.error("BravoPhone > Webphone > user agent not found")},toggleMute(){if(!this.callCurrent)return void(this.isDebug&&console.error("BravoPhone > Webphone > call control not found"));const t=!!this.callCurrent.isMuted();console.log("BravoPhone DEBUG > toggleMute > estado atual (fresco)",{currentlyMuted:t}),this.isDebug&&console.info("BravoPhone > Webphone > mute",!t),t?this.callCurrent.unmute():this.callCurrent.mute(),this.$nextTick(()=>{this.syncCallFlags(),console.log("BravoPhone DEBUG > toggleMute > depois",{rawIsMutedCall:!!this.callCurrent&&!!this.callCurrent.isMuted(),storeCallMuted:this.$store.state.callMuted})})},timerStart(){this.isDebug&&console.info("BravoPhone > Webphone > timer started"),this.timer=0,this.$store.commit("setCallTimer",0),this.timerInterval=setInterval(()=>{this.timer+=1,this.$store.commit("setCallTimer",this.timer)},1e3)},timerStop(){this.isDebug&&console.info("BravoPhone > Webphone > timer stopped"),clearInterval(this.timerInterval),this.timer=0,this.$store.commit("setCallTimer",0)},getTimerString(){const t=this.timer,e=parseInt(t/3600,10),n=t%3600,r=parseInt(n/60,10),o=n%60;return e>0?`${e}:${`0${r}`.substr(-2)}:${`0${o}`.substr(-2)}`:`${`0${r}`.substr(-2)}:${`0${o}`.substr(-2)}`},makeOrAnswerCall(){console.log("BravoPhone DEBUG > makeOrAnswerCall > start",{isMicrophoneAllowed:this.isMicrophoneAllowed,isRunningCall:this.isRunningCall,isIncomeCall:this.isIncomeCall,isValidNumberCall:this.isValidNumberCall,callType:this.callType,dialDisplayNumber:this.dialDisplayNumber,hasWebphone:!!this.webphone});if(!0!==this.isMicrophoneAllowed)return console.log("BravoPhone DEBUG > makeOrAnswerCall > blocked: microphone not allowed"),void this.toast.error(CL);if(this.isRunningCall)return console.log("BravoPhone DEBUG > makeOrAnswerCall > branch: call already running"),void(this.callDTMF&&this.callDTMF.length>0?(console.log("BravoPhone DEBUG > makeOrAnswerCall > transferCallTo"),this.transferCallTo()):(console.log("BravoPhone DEBUG > makeOrAnswerCall > toggleMute"),this.toggleMute()));if(this.isIncomeCall&&this.callCurrent&&this.callCurrent.isInProgress())return console.log("BravoPhone DEBUG > makeOrAnswerCall > answering incoming call"),this._bpResumeAudio("makeOrAnswerCall"),void this.callCurrent.answer();if(!this.isValidNumberCall)return void console.log("BravoPhone DEBUG > makeOrAnswerCall > blocked: isValidNumberCall is false, doing nothing");console.log("BravoPhone DEBUG > makeOrAnswerCall > number valid, callType=",this.callType,"- dialing via local SIP webphone");const dp=this.webphone&&this.webphone.getDialpad();this._bpOrigemRota=window.BravoPhoneRoutes&&window.BravoPhoneRoutes.getSelected?window.BravoPhoneRoutes.getSelected():null;console.log("BravoPhone DEBUG > makeOrAnswerCall > origem da chamada",this._bpOrigemRota&&this._bpOrigemRota.name);this._bpNumeroDiscado=this.display||this.callNumber||"",this._bpNumeroDiscadoRaw=this.callNumberForPbx||this.callNumber||"",console.log("BravoPhone DEBUG > makeOrAnswerCall > numero congelado para a tela",{display:this._bpNumeroDiscado,raw:this._bpNumeroDiscadoRaw});return console.log("BravoPhone DEBUG > makeOrAnswerCall > dialing via SIP webphone",{hasWebphone:!!this.webphone,hasDialpad:!!dp}),void(dp&&dp.call())},hangupOrRejectCall(){console.log("BravoPhone DEBUG > hangupOrRejectCall > start",{isIncomeCall:this.isIncomeCall,hasCallCurrent:!!this.callCurrent,isInProgress:this.callCurrent&&this.callCurrent.isInProgress(),isEstablished:this.callCurrent&&this.callCurrent.isEstablished(),isOnline:this.isOnline});if(this.isIncomeCall&&this.callCurrent&&this.callCurrent.isInProgress())return console.log("BravoPhone DEBUG > hangupOrRejectCall > reject()"),void this.callCurrent.reject();if(this.callCurrent&&this.callCurrent.isEstablished())return console.log("BravoPhone DEBUG > hangupOrRejectCall > terminate()"),void this.callCurrent.terminate();if(this.callCurrent)return console.log("BravoPhone DEBUG > hangupOrRejectCall > cancel()"),void this.callCurrent.cancel();console.log("BravoPhone DEBUG > hangupOrRejectCall > no callCurrent, nothing to do")},sendPhoneToContactDialer(t="out"){console.log("BravoPhone DEBUG > sendPhoneToContactDialer > called with",t);const e="out"===t?"Discagem manual":"Ligação recebida",n={id:mT(),gateway:`call-${t}`,data:{name:e,numbers:[{number:this.callNumberForPbx||this.callNumber,formatted:this.display,type:this.callTypeName,country:this.callCountry}],createdAt:new Date}};this.emitter.emit("add-contact-dialer",n)},async pasteEventListener(){navigator.clipboard.readText().then(t=>{const e=dL(t);this.isDebug&&console.info("BravoPhone > Webphone > clipboard paste >",e),this.webphone&&this.webphone.getDialpad()&&e.split("").forEach(t=>{this.webphone.getDialpad().dial(t,!1)})}).catch(t=>{this.isDebug&&console.info("BravoPhone > Webphone > error clipboard paste >",t.message),this.toast.error(bL)})},addListenerToPaste(){document.addEventListener("paste",this.pasteEventListener)},removeListenerToPaste(){document.removeEventListener("paste",this.pasteEventListener,!1)},keyboardEventListener(t){if(t.ctrlKey||t.metaKey||t.altKey)return;const e=t.target,n=e&&e.tagName;if("INPUT"===n||"TEXTAREA"===n||"SELECT"===n)return;if(e&&e.isContentEditable)return;const r="keypad"===this.$store.state.currentTab,o=!!this.callCurrent;if(!r&&!o)return;const i=t.key;if("+"!==i||this.callCurrent||0!==(this.callNumber||"").length){if(i>="0"&&i<="9"||"*"===i||"#"===i)t.preventDefault(),this.dialKey(i);else if("Backspace"===i)(this.callCurrent||this.callNumber&&this.callNumber.length>0)&&(t.preventDefault(),this.dialBackspace());else if("Enter"===i){const e=this.isValidNumberCall,n=this.isIncomeCall&&this.callCurrent&&this.callCurrent.isInProgress();(e||n)&&(t.preventDefault(),this.makeOrAnswerCall())}}else t.preventDefault(),this.dialKey("+")},addListenerToKeyboard(){document.addEventListener("keydown",this.keyboardEventListener)},removeListenerToKeyboard(){document.removeEventListener("keydown",this.keyboardEventListener,!1)},loadDefaultCountry(){chrome.storage.sync.get("bravophoneDefaultCountry",({bravophoneDefaultCountry:t})=>{this.defaultCountry=t||"BR"})},onStorageChange(t,e){"sync"===e&&t.bravophoneDefaultCountry&&(this.defaultCountry=t.bravophoneDefaultCountry.newValue||"BR")},addStorageChangeListener(){chrome&&chrome.storage&&chrome.storage.onChanged&&chrome.storage.onChanged.addListener(this.onStorageChange)},removeStorageChangeListener(){chrome&&chrome.storage&&chrome.storage.onChanged&&chrome.storage.onChanged.removeListener(this.onStorageChange)},defaultCallingCode(){try{return hL(this.defaultCountry||"BR")}catch(PN){return"55"}},holdCall(){this.isDebug&&console.info("BravoPhone > Webphone > call on hold"),this.callCurrent&&this.callCurrent.isEstablished()&&this.callCurrent.hold(),this.$nextTick(()=>this.syncCallFlags())},unholdCall(){this.isDebug&&console.info("BravoPhone > Webphone > call unhold"),this.callCurrent&&this.callCurrent.isOnHold()&&this.callCurrent.unhold(),this.$nextTick(()=>this.syncCallFlags())},transferCallTo(){this.isDebug&&console.info("BravoPhone > Webphone > transfer call to",this.callDTMF),0===this.callDTMF.length&&this.webphone&&this.webphone.getDialpad()&&this.webphone.getDialpad().dial("*1")},clearWebphone(){if(this._bpClearing)return void(this._bpDbg&&this._bpDbg("clearWebphone > REENTRANTE > ignorado (chamada ja em andamento na pilha)"));this._bpClearing=!0;try{this._bpDbg&&this._bpDbg("clearWebphone > inicio");const cc=this.callCurrent;this.callCurrent=null,cc&&(()=>{try{cc.terminate()}catch(err){"INVALID_STATE_ERROR"===(err&&err.name)?this._bpDbg("clearWebphone > terminate() ignorado: sessao ja encerrada ("+(err&&err.message)+")"):this._bpFatal?this._bpFatal("clearWebphone > terminate()",err,{callCurrent:this._bpCallSnap(cc)}):console.error("BravoPhone DEBUG > clearWebphone > terminate() falhou",err)}})();this.webphone&&this.webphone.getDialpad()&&this.webphone.getDialpad().clear(),this.imgSrcForAnswer="images/answer-gray.png",this.tooltipForMakeOrAnswerCall=null,this.callCurrent=null,this.callNumber="",this.callDTMF="",this.callNumberForPbx=null,this.callCountry=null,this._bpNumeroDiscado="",this._bpNumeroDiscadoRaw="",this.timerStop()}finally{this._bpClearing=!1,this._bpDbg&&this._bpDbg("clearWebphone > fim")}},applyVolumes(){this.webphone&&this.webphone.getAudioContext()&&(this.webphone.getAudioContext().changeVolume("master",this.volume),this.webphone.getAudioContext().changeVolume("ringer",this.volumeRinger),this.webphone.getAudioContext().changeVolume("tones",this.volumeTones),this.webphone.getAudioContext().changeVolume("remote",this.volumeRemote))},setUnknowPhoneNumber(t){this.callTypeName=null,this.callType=this.i18n.getMessage("webphoneNumberUnknown"),this.imgSrcForAnswer="images/answer-gray.png",this.tooltipForMakeOrAnswerCall=null,this.display=t,this.isValidNumberCall=!1,this.callNumberForPbx=null,this.callCountry=null},countryCodeTranslated(t){return sL[t]||t},dialFromPad(t){if(!t||!this.webphone||!this.webphone.getDialpad())return;const dp=this.webphone.getDialpad();dp.clear(),String(t).split("").forEach(c=>{dp.dial(c,!1)});const R=window.BravoPhoneRoutes,prontas=R&&"function"==typeof R.whenReady?R.whenReady():Promise.resolve(),teto=new Promise(r=>setTimeout(r,4e3));Promise.race([prontas,teto]).then(()=>new Promise(r=>{try{chrome.storage.local.get("bravophoneSelectedRoute",e=>{const id=e&&e.bravophoneSelectedRoute;id&&R&&"function"==typeof R.select&&R.select(String(id)),r()})}catch(err){r()}})).then(()=>{const rota=R&&R.getSelected?R.getSelected():null;console.log("BravoPhone DEBUG > dialFromPad > discando",t,{rota:rota&&rota.name||"(nenhuma)",prefixo:R&&R.getPrefix?R.getPrefix():""});setTimeout(()=>this.makeOrAnswerCall(),250)})},dialKey(t){console.log("BravoPhone DEBUG > dialKey > recebido",t,{hasWebphone:!!this.webphone,hasDialpad:!!(this.webphone&&this.webphone.getDialpad()),hasCallCurrent:!!this.callCurrent,isInTransfer:!!(this.callCurrent&&this.callCurrent.isInTransfer&&this.callCurrent.isInTransfer())}),t&&(this.webphone&&this.webphone.getDialpad()?this.webphone.getDialpad().dial(String(t)):this.callCurrent?this.callDTMF+=String(t):this.callNumber+=String(t))},dialBackspace(){if(this.callCurrent)return void(this.callDTMF=this.callDTMF.slice(0,-1));const t=this.callNumber.slice(0,-1);this.webphone&&this.webphone.getDialpad()?(this.webphone.getDialpad().clear(),t.split("").forEach(t=>{this.webphone.getDialpad().dial(t,!1)})):this.callNumber=t},dialClearAll(){this.webphone&&this.webphone.getDialpad()?this.webphone.getDialpad().clear():(this.callNumber="",this.callDTMF="")},toggleHoldFromScreen(){this.callCurrent&&(this.callCurrent.isOnHold&&this.callCurrent.isOnHold()?this.unholdCall():this.holdCall(),this.$nextTick(()=>this.syncCallFlags()))},answerIncomingCall(){this._bpResumeAudio("answerIncomingCall"),this.callCurrent&&this.callCurrent.isInProgress&&this.callCurrent.isInProgress()&&this.callCurrent.answer()},refreshPresence(){if(!this.webphone||!this.webphone.getUserAgent)return;const t=this.webphone.getUserAgent();if(t)try{t.isStarted()&&t.isConnected()?(t.isRegistered(),t.register()):t.start()}catch(e){this.isDebug&&console.error("BravoPhone > Webphone > refreshPresence error:",e)}},syncCallPhase(){let t="idle";this.callCurrent&&(t=this.callCurrent.isEstablished&&this.callCurrent.isEstablished()?"connected":this.isIncomeCall?"ringing":"dialing");const e=this.$store.state.callPhase;this.$store.commit("setCallPhase",t),this.$store.commit("setCallIsIncoming",this.isIncomeCall),"connected"===t&&"connected"!==e?this.timerStart():"connected"!==t&&"connected"===e&&this.timerStop()},syncCallFlags(){this.$store.commit("setCallMuted",!(!this.callCurrent||!this.callCurrent.isMuted)&&!!this.callCurrent.isMuted()),this.$store.commit("setCallHeld",!(!this.callCurrent||!this.callCurrent.isOnHold)&&!!this.callCurrent.isOnHold())},_bpSoDigitos(t){return String(t||"").replace(/\D/g,"")},_bpAcharContatoPorNumero(t){const n=this._bpSoDigitos(t);if(n.length<8)return null;const k=n.slice(-8),bate=e=>!(!e||!e.data||!Array.isArray(e.data.numbers))&&e.data.numbers.some(t=>{const n=this._bpSoDigitos(t&&(t.number||t.formatted));return n.length>=8&&n.slice(-8)===k});return(this.crmContacts||[]).find(bate)||(this.recents||[]).find(bate)||null},syncCallDisplay(){if(!this.callCurrent)return void this.$store.commit("setCallDisplay",{name:"",number:"",source:"",photo:"",origin:"",originWhatsapp:!1});const ri=this.callCurrent.remoteIdentity&&this.callCurrent.remoteIdentity()||"",alvo=this.isIncomeCall?ri||this.display||this.callNumber||"":this.display||this._bpNumeroDiscado||ri||this.callNumber||"",t=this._bpAcharContatoPorNumero(this.isIncomeCall?ri:this._bpNumeroDiscadoRaw||alvo),e=t&&t.data&&t.data.name||alvo,n=alvo,r=this.deriveCallSource(t),o=t&&t.data&&t.data.photo||"",a=this.isIncomeCall?null:this._bpOrigemRota||null;this.$store.commit("setCallDisplay",{name:e,number:n,source:r,photo:o,origin:a&&a.name?"Origem · "+a.name:"",originWhatsapp:!(!a||!window.BravoPhoneRoutes||!window.BravoPhoneRoutes.isWhatsapp(a))})},deriveCallSource(t){const e=t&&t.data&&t.data.createdAt&&Date.now()-new Date(t.data.createdAt).getTime()<1e4;if(e){const e=t.gateway;if("call-out"===e)return this.i18n.getMessage("callSourceManual");if("click-to-call"===e)return this.i18n.getMessage("callSourceClickToCall");if("call-in"===e)return this.i18n.getMessage("callSourceIncoming");if(e){const n=t.data&&t.data.company;return n?`CRM · ${n}`:`CRM · ${e}`}}return this.i18n.getMessage(this.isIncomeCall?"callSourceIncoming":"callSourceManual")}},computed:{currentVolume:{get(){return this.volume},set(t){this.$store.commit("setVolume",t),this.applyVolumes()}},showTimer(){return this.timer>0?this.getTimerString():"00:00"},hasDisplayContent(){return this.callNumber&&this.callNumber.length>0},isOnline(){return!!(this.isMicrophoneAllowed&&this.webphone&&this.webphone.getUserAgent())&&this.webphone.getUserAgent().isReady()},isIncomeCall(){return!!this.callCurrent&&"terminating"===this.callCurrent.getDirection()},isRunningCall(){return!!this.callCurrent&&this.callCurrent.isEstablished()},isHoldCall(){return!!this.callCurrent&&!1!==this.callCurrent.isOnHold()},isMuted(){return!!this.callCurrent&&!!this.callCurrent.isMuted()},isInProgress(){return!!this.callCurrent&&this.callCurrent.isInProgress()},isRinging(){return!!this.callCurrent&&this.callCurrent.isRinging()},...sh(["getVersion"]),...ih(["recents","crmContacts","extension","token","windowId","deviceAudioOutputId","deviceAudioInputId","volume","volumeRinger","volumeTones","volumeRemote"]),mostRecentContact(){const t=this.recents&&this.recents[0]||null,e=this.crmContacts&&this.crmContacts[0]||null;if(!t)return e;if(!e)return t;const n=t.data&&t.data.createdAt?new Date(t.data.createdAt).getTime():0,r=e.data&&e.data.createdAt?new Date(e.data.createdAt).getTime():0;return r>n?e:t}},watch:{callDTMF(t){this.$store.commit("setCallDtmf",t||"")},isValidNumberCall:{handler(t){this.$store.commit("setDialNumberValid",t)},immediate:!0},mostRecentContact(){this.callCurrent&&this.syncCallDisplay()},callNumber:function(t){this.$store.commit("setDialDisplayNumber",t||"");let e=t;e&&"string"===typeof e?e.length>1?-1!==e.indexOf("*")?(this.callTypeName="FACILITY",this.callType=this.i18n.getMessage("webphoneNumberFacility"),this.imgSrcForAnswer="images/answer.png",this.tooltipForMakeOrAnswerCall=this.i18n.getMessage("webphoneCallMake"),this.display=e,this.isValidNumberCall=!0,this.callNumberForPbx=e,this.callCountry=null):[4,5].includes(e.length)&&!e.startsWith("+")?(this.callTypeName="EXTENSION",this.callType=this.i18n.getMessage("webphoneNumberExtension"),this.imgSrcForAnswer="images/answer.png",this.tooltipForMakeOrAnswerCall=this.i18n.getMessage("webphoneCallMake"),this.display=e,this.isValidNumberCall=!0,this.callNumberForPbx=e,this.callCountry=null):e.length<18?(e.length>4&&!e.startsWith("+")&&(e=e.startsWith(String(this.defaultCallingCode()))?`+${e}`:`+${this.defaultCallingCode()}${e}`),e.length>=10?pL(e).then(t=>{switch(this.callTypeName=t.type,this.callTypeName){case"FIXED_LINE_OR_MOBILE":this.callType=this.i18n.getMessage("webphoneNumberFixedLineOrMobile");break;case"FIXED_LINE":this.callType=this.i18n.getMessage("webphoneNumberFixedLine");break;case"TOLL_FREE":this.callType=this.i18n.getMessage("webphoneNumberTollFree");break;case"MOBILE":this.callType=this.i18n.getMessage("webphoneNumberMobile");break;default:this.callType=this.i18n.getMessage("webphoneNumberUnknown")}this.imgSrcForAnswer="images/answer.png",this.tooltipForMakeOrAnswerCall=this.i18n.getMessage("webphoneCallMake"),this.display=t.formatted,this.isValidNumberCall=!0,this.callNumberForPbx=t.number,this.callCountry=t.country}).catch(()=>this.setUnknowPhoneNumber(e)):this.setUnknowPhoneNumber(e)):e.length>17&&(this.callTypeName="TOO_LONG",this.callType=this.i18n.getMessage("webphoneNumberTooLong"),this.imgSrcForAnswer="images/answer-gray.png",this.tooltipForMakeOrAnswerCall=null,this.display=e,this.isValidNumberCall=!1,this.callNumberForPbx=null,this.callCountry=null):(this.callTypeName=null,this.callType=0===e.length?this.i18n.getMessage("webphoneEmptyNumber"):this.i18n.getMessage("webphoneNumberUnknown"),this.imgSrcForAnswer="images/answer-gray.png",this.tooltipForMakeOrAnswerCall=null,this.display=e,this.isValidNumberCall=!1,this.callNumberForPbx=null,this.callCountry=null):(this.callTypeName=null,this.callType=this.i18n.getMessage("webphoneEmptyNumber"),this.imgSrcForAnswer="images/answer-gray.png",this.tooltipForMakeOrAnswerCall=null,this.display=null,this.isValidNumberCall=!1,this.callNumberForPbx=null,this.callCountry=null)},volume:{handler:function(t){0===Number(t)?this.svgPathForVolume=this.svgPathForVolumeOff:this.svgPathForVolume=this.svgPathForVolumeUp,this.webphone&&this.webphone.getAudioContext()&&this.webphone.getAudioContext().changeVolume("master",t)},immediate:!0},volumeRinger:{handler:function(t){this.webphone&&this.webphone.getAudioContext()&&this.webphone.getAudioContext().changeVolume("ringer",t)},immediate:!0},volumeTones:{handler:function(t){this.webphone&&this.webphone.getAudioContext()&&this.webphone.getAudioContext().changeVolume("tones",t)},immediate:!0},volumeRemote:{handler:function(t){this.webphone&&this.webphone.getAudioContext()&&this.webphone.getAudioContext().changeVolume("remote",t)},immediate:!0},deviceAudioOutputId:{handler:function(t){this.webphone&&this.webphone.getMediaDevices()&&this.webphone.getMediaDevices().changeDevice("audiooutput",t).catch(t=>{this.isDebug&&console.error("BravoPhone > Webphone > audio output >",t.message)})},immediate:!0},deviceAudioInputId:{handler:function(t){this.webphone&&this.webphone.getMediaDevices()&&this.webphone.getMediaDevices().changeDevice("audioinput",t).catch(t=>{this.isDebug&&console.error("BravoPhone > Webphone > audio input >",t.message)})},immediate:!0},callCurrent:{handler:function(t){this.$store.commit("setCallActive",!!t),this.syncCallPhase(),this.syncCallDisplay(),this.syncCallFlags(),t?this.isIncomeCall&&aL({drawAttention:!0}).then(()=>{if(t.isInProgress()){const e=t.getCustomHeaders();if(e&&"true"===e["X-Bravophoneintegratedcall"])return t.answer();this.imgSrcForAnswer="images/answer.png",this.tooltipForMakeOrAnswerCall=this.i18n.getMessage("webphoneCallAnswer"),this.sendPhoneToContactDialer("in")}}):(this.clearWebphone(),this.emitter.emit("reload-balance"))}}},beforeUnmount(){this.emitter.off("refresh-media-devices-and-open-config-modal"),this.emitter.off("webphone-dial-from-pad",this.dialFromPad),this.emitter.off("webphone-dial-key",this.dialKey),this.emitter.off("webphone-dial-backspace",this.dialBackspace),this.emitter.off("webphone-dial-clear",this.dialClearAll),this.emitter.off("webphone-dial-now",this.makeOrAnswerCall),this.emitter.off("webphone-dial-context"),this.emitter.off("webphone-transfer-initiated"),this.emitter.off("call-toggle-mute",this.toggleMute),this.emitter.off("call-toggle-hold",this.toggleHoldFromScreen),this.emitter.off("call-hangup",this.hangupOrRejectCall),this.emitter.off("call-answer",this.answerIncomingCall),this.emitter.off("webphone-presence-refresh",this.refreshPresence),this.emitter.off("webphone-apply-volumes",this.applyVolumes),this.removeListenerToPaste(),this.removeListenerToKeyboard(),this.removeStorageChangeListener(),this.webphone=null},unmounted(){document.location.reload()}};n(6365);const pN=(0,sg.A)(uN,[["render",tL],["__scopeId","data-v-6770b86e"]]);var hN=pN;const mN={class:"text-base"},fN=["href"];function gN(t,e,n,r,o,i){return Yo(),ni("div",mN,[hi(rt(o.i18n.getMessage("messageExtensionMissingConfig"))+" ",1),li("a",{class:"text-gray-600 cursor-pointer",href:`${o.portalUrl}/integrations/manager`,target:"_blank"},rt(o.i18n.getMessage("messageClickHere")),9,fN)])}var vN={name:"MessageExtensionMissingConfig",data(){return{i18n:chrome.i18n,portalUrl:"https://bravotech.teambravotech.com"}},created(){this.portalUrl="https://bravotech.teambravotech.com"}};const bN=(0,sg.A)(vN,[["render",gN]]);var yN=bN,wN={name:"WebphoneShell",components:{AvatarBadge:Gg,CallScreen:Jv,ConnectivityStatus:b_,ContactDialer:PS,ContactsTab:$T,DialerScreen:FT,HistoryTab:jA,NetworkPanel:PI,RecentsSidePanel:pP,SettingsTab:iR,TabBar:bR,TheBalance:kR,TheBanner:NR,TheWebphone:hN},props:{isDebug:{type:Boolean,default:!1}},data(){return{i18n:chrome.i18n,pulsing:!1,logoutModalOpen:!1,networkAutoOpenReady:!1,networkGraceTimer:null}},setup(){const t=ip();return{toast:t,emitter:$h}},mounted(){this.$nextTick(()=>{this.extension||this.toast.warning(yN),this.integrations||this.updateIntegrations(!1),this.mergeSyncedContacts()}),this.emitter.on("open-logout-modal",this.openLogoutModal),this.networkGraceTimer=setTimeout(()=>{this.networkAutoOpenReady=!0},15e3)},beforeUnmount(){this.emitter.off("open-logout-modal",this.openLogoutModal),this.networkGraceTimer&&clearTimeout(this.networkGraceTimer)},methods:{mergeSyncedContacts(){chrome.storage.local.get("bravophoneSyncedContacts",t=>{(t.bravophoneSyncedContacts||[]).slice().reverse().forEach(t=>{this.$store.commit("addContactDialer",t)})})},updateIntegrations(t=!0){this.$store.dispatch("loadIntegrations").then(()=>{t&&this.toast.success(this.i18n.getMessage("homeUpdateIntegrationSuccess"))}).catch(t=>{429===t.statusCode?this.toast.error(this.i18n.getMessage("errorTooManyRequests")):401===t.statusCode&&(this.toast.error(this.i18n.getMessage("mainErrorExpiredToken")),setTimeout(()=>document.location.reload(),1e4))})},reloadExtension(){this.pulsing=!0,setTimeout(()=>{this.pulsing=!1},700),this.$store.dispatch("loadExtension").then(()=>{this.toast.success(this.i18n.getMessage("homeReloadExtensionSuccess"))}).catch(t=>{429===t.statusCode?this.toast.error(this.i18n.getMessage("errorTooManyRequests")):401===t.statusCode&&(this.toast.error(this.i18n.getMessage("mainErrorExpiredToken")),setTimeout(()=>document.location.reload(),1e4))})},openLogoutModal(){this.logoutModalOpen=!0},closeLogoutModal(){this.logoutModalOpen=!1},handleLogout(){this.closeLogoutModal(),this.$store.dispatch("logout").then(()=>{this.isDebug&&console.info("BravoPhone > WebphoneShell > logout ok"),this.$store.commit("setIsLogged",!1)}).catch(t=>{429===t.statusCode?this.toast.error(this.i18n.getMessage("errorTooManyRequests")):(this.isDebug&&console.info("BravoPhone > WebphoneShell > logout failed",t.message),this.toast.error(dg),this.$store.commit("setIsLogged",!1))})}},computed:{...ih(["callActive","currentTab","extension","integrations","networkPanelOpen","networkState","organization","suppressNetworkAutoOpen","user","webphoneRegistered"]),...sh(["getVersion"]),isPresenceOnline(){return this.webphoneRegistered&&"offline"!==this.networkState},presenceColor(){return this.isPresenceOnline?"#10b981":"#94a3b8"}},watch:{networkState(t,e){"offline"===e&&"offline"!==t&&this.emitter.emit("webphone-presence-refresh"),t&&"good"!==t&&t!==e&&(this.networkPanelOpen||this.suppressNetworkAutoOpen||this.networkAutoOpenReady&&this.$store.commit("setNetworkPanelOpen",!0))}}};n(1184);const xN=(0,sg.A)(wN,[["render",Fg],["__scopeId","data-v-5069a8ea"]]);var $N=xN;const CN=380,kN=640,_N=920;var SN={name:"App",components:{WebphoneShell:$N,TheLogin:pg},data(){return{isDebug:!1,i18n:chrome.i18n}},setup(){const t=ip();return{toast:t}},created(){this.checkToken(),this.loadDebug().then(t=>this.isDebug=t)},mounted(){this.$nextTick(()=>{setTimeout(this.checkVersion,2e3)})},methods:{loadDebug(){return new Promise(t=>{chrome.storage.sync.get("bravophoneDebug",({bravophoneDebug:e})=>{t("enabled"===e)})})},checkToken(){const bpTemExt=!(!this.extension||!this.extension.username||!this.extension.password);return bpLoadSession().then(s=>{const bpLogged=bpTemExt&&!!s.vxToken;bpTemExt?s.vxToken?(this.isDebug&&console.info("BravoPhone > App > extension found"),console.log("BravoPhone DEBUG > checkToken > extension + vxToken ok, bravophoneWebphoneLoggedIn=true")):console.warn("BravoPhone DEBUG > checkToken > ramal salvo mas SEM vxToken no storage: a sessao do report nao existe (o vxToken e eterno, so cai em logout explicito ou se for de outro ambiente); refaca o login"):(this.isDebug&&console.info("BravoPhone > App > extension not found"),console.log("BravoPhone DEBUG > checkToken > extension NOT found, bravophoneWebphoneLoggedIn=false"));chrome.storage.local.set({bravophoneWebphoneLoggedIn:bpLogged});this.$store.commit("setIsLogged",bpLogged);bpLogged&&bpFetchUserProfile().then(t=>{t&&this.$store.commit("addUser",t)})})},checkVersion(){if("string"===typeof this.lastVersionCheck){const t=new Date(this.lastVersionCheck),e=new Date;if(t&&e&&(e-t)/864e5<=1)return}this.$store.dispatch("lastVersion").then(()=>{this.$store.commit("setLastVersionCheck")})}},computed:{...ih(["lastVersionCheck","isLogged","networkPanelOpen","token","extension"]),...sh(["getVersion"]),popupWidth(){return this.isLogged?this.networkPanelOpen?_N:kN:CN}},watch:{popupWidth:{immediate:!0,handler(t){iL(t)}}}};const TN=(0,sg.A)(SN,[["render",gf]]);var MN=TN,ON=n(9738),EN=n.n(ON);n(1422),n(5626),n(3840),n(4951);let AN;AN=null;const IN=Ds(MN);AN&&(IN.config.errorHandler=t=>{throw AN.error(t),t},IN.config.globalProperties.$rollbar=AN),IN.use(mf),IN.directive("tooltip",xc),IN.use(ap,{position:Gc.TOP_CENTER,timeout:1e4,transition:"Vue-Toastification__slideBlurred",maxToasts:10,newestOnTop:!0,toastDefaults:{[zc.ERROR]:{timeout:1e4},[zc.SUCCESS]:{timeout:5e3}},toastClassName:"font-segoe"}),IN.config.productionTip=!1,IN.mount("#app")}()})();