@botfabrik/engine-webclient 4.4.1 → 4.5.1
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.
- package/dist/client/asset-manifest.json +8 -8
- package/dist/client/index.html +1 -1
- package/dist/client/{precache-manifest.13eb00bfd705e5bd66a4f2c7f1a8057b.js → precache-manifest.52acc8c82280292b74a12644fc4b5674.js} +7 -7
- package/dist/client/service-worker.js +1 -1
- package/dist/client/static/js/{2.b76a009d.chunk.js → 2.e2e937f5.chunk.js} +2 -2
- package/dist/client/static/js/{2.b76a009d.chunk.js.map → 2.e2e937f5.chunk.js.map} +1 -1
- package/dist/client/static/js/{main.8dc55863.chunk.js → main.d3f70f4e.chunk.js} +1 -1
- package/dist/client/static/js/{main.8dc55863.chunk.js.map → main.d3f70f4e.chunk.js.map} +1 -1
- package/dist/embed/bundle.js +1 -1
- package/dist/embed/bundle.js.map +1 -1
- package/package.json +4 -4
- /package/dist/client/static/js/{2.b76a009d.chunk.js.LICENSE.txt → 2.e2e937f5.chunk.js.LICENSE.txt} +0 -0
package/dist/embed/bundle.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var app=function(){"use strict";var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(t,e){return t(e={exports:{}},e.exports),e.exports}var n=function(t){return t&&t.Math==Math&&t},r=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||Function("return this")(),o=function(t){try{return!!t()}catch(t){return!0}},i=!o((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),c=function(t){return"object"==typeof t?null!==t:"function"==typeof t},a=r.document,u=c(a)&&c(a.createElement),s=function(t){return u?a.createElement(t):{}},f=!i&&!o((function(){return 7!=Object.defineProperty(s("div"),"a",{get:function(){return 7}}).a})),l=function(t){if(!c(t))throw TypeError(String(t)+" is not an object");return t},v=function(t,e){if(!c(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!c(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!c(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!c(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")},p=Object.defineProperty,d={f:i?p:function(t,e,n){if(l(t),e=v(e,!0),l(n),f)try{return p(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},h=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},g=i?function(t,e,n){return d.f(t,e,h(1,n))}:function(t,e,n){return t[e]=n,t},y=function(t,e){try{g(r,t,e)}catch(n){r[t]=e}return e},m=r["__core-js_shared__"]||y("__core-js_shared__",{}),b=e((function(t){(t.exports=function(t,e){return m[t]||(m[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})})),x={}.hasOwnProperty,w=function(t,e){return x.call(t,e)},S=0,E=Math.random(),O=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++S+E).toString(36)},j=!!Object.getOwnPropertySymbols&&!o((function(){return!String(Symbol())})),A=j&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,R=b("wks"),k=r.Symbol,P=A?k:k&&k.withoutSetter||O,I=function(t){return w(R,t)||(j&&w(k,t)?R[t]=k[t]:R[t]=P("Symbol."+t)),R[t]},T={};T[I("toStringTag")]="z";var $="[object z]"===String(T),_=Function.toString;"function"!=typeof m.inspectSource&&(m.inspectSource=function(t){return _.call(t)});var C,q,L,M=m.inspectSource,U=r.WeakMap,D="function"==typeof U&&/native code/.test(M(U)),z=b("keys"),F=function(t){return z[t]||(z[t]=O(t))},N={},B=r.WeakMap;if(D){var G=new B,W=G.get,K=G.has,V=G.set;C=function(t,e){return V.call(G,t,e),e},q=function(t){return W.call(G,t)||{}},L=function(t){return K.call(G,t)}}else{var Y=F("state");N[Y]=!0,C=function(t,e){return g(t,Y,e),e},q=function(t){return w(t,Y)?t[Y]:{}},L=function(t){return w(t,Y)}}var H={set:C,get:q,has:L,enforce:function(t){return L(t)?q(t):C(t,{})},getterFor:function(t){return function(e){var n;if(!c(e)||(n=q(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}},J=e((function(t){var e=H.get,n=H.enforce,o=String(String).split("String");(t.exports=function(t,e,i,c){var a=!!c&&!!c.unsafe,u=!!c&&!!c.enumerable,s=!!c&&!!c.noTargetGet;"function"==typeof i&&("string"!=typeof e||w(i,"name")||g(i,"name",e),n(i).source=o.join("string"==typeof e?e:"")),t!==r?(a?!s&&t[e]&&(u=!0):delete t[e],u?t[e]=i:g(t,e,i)):u?t[e]=i:y(e,i)})(Function.prototype,"toString",(function(){return"function"==typeof this&&e(this).source||M(this)}))})),Q={}.toString,X=function(t){return Q.call(t).slice(8,-1)},Z=I("toStringTag"),tt="Arguments"==X(function(){return arguments}()),et=$?X:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),Z))?n:tt?X(e):"Object"==(r=X(e))&&"function"==typeof e.callee?"Arguments":r},nt=$?{}.toString:function(){return"[object "+et(this)+"]"};$||J(Object.prototype,"toString",nt,{unsafe:!0});var rt,ot={}.propertyIsEnumerable,it=Object.getOwnPropertyDescriptor,ct={f:it&&!ot.call({1:2},1)?function(t){var e=it(this,t);return!!e&&e.enumerable}:ot},at="".split,ut=o((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==X(t)?at.call(t,""):Object(t)}:Object,st=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},ft=function(t){return ut(st(t))},lt=Object.getOwnPropertyDescriptor,vt={f:i?lt:function(t,e){if(t=ft(t),e=v(e,!0),f)try{return lt(t,e)}catch(t){}if(w(t,e))return h(!ct.f.call(t,e),t[e])}},pt=r,dt=function(t){return"function"==typeof t?t:void 0},ht=function(t,e){return arguments.length<2?dt(pt[t])||dt(r[t]):pt[t]&&pt[t][e]||r[t]&&r[t][e]},gt=Math.ceil,yt=Math.floor,mt=function(t){return isNaN(t=+t)?0:(t>0?yt:gt)(t)},bt=Math.min,xt=function(t){return t>0?bt(mt(t),9007199254740991):0},wt=Math.max,St=Math.min,Et=function(t,e){var n=mt(t);return n<0?wt(n+e,0):St(n,e)},Ot=function(t){return function(e,n,r){var o,i=ft(e),c=xt(i.length),a=Et(r,c);if(t&&n!=n){for(;c>a;)if((o=i[a++])!=o)return!0}else for(;c>a;a++)if((t||a in i)&&i[a]===n)return t||a||0;return!t&&-1}},jt={includes:Ot(!0),indexOf:Ot(!1)},At=jt.indexOf,Rt=function(t,e){var n,r=ft(t),o=0,i=[];for(n in r)!w(N,n)&&w(r,n)&&i.push(n);for(;e.length>o;)w(r,n=e[o++])&&(~At(i,n)||i.push(n));return i},kt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Pt=kt.concat("length","prototype"),It={f:Object.getOwnPropertyNames||function(t){return Rt(t,Pt)}},Tt={f:Object.getOwnPropertySymbols},$t=ht("Reflect","ownKeys")||function(t){var e=It.f(l(t)),n=Tt.f;return n?e.concat(n(t)):e},_t=function(t,e){for(var n=$t(e),r=d.f,o=vt.f,i=0;i<n.length;i++){var c=n[i];w(t,c)||r(t,c,o(e,c))}},Ct=/#|\.prototype\./,qt=function(t,e){var n=Mt[Lt(t)];return n==Dt||n!=Ut&&("function"==typeof e?o(e):!!e)},Lt=qt.normalize=function(t){return String(t).replace(Ct,".").toLowerCase()},Mt=qt.data={},Ut=qt.NATIVE="N",Dt=qt.POLYFILL="P",zt=qt,Ft=vt.f,Nt=function(t,e){var n,o,i,c,a,u=t.target,s=t.global,f=t.stat;if(n=s?r:f?r[u]||y(u,{}):(r[u]||{}).prototype)for(o in e){if(c=e[o],i=t.noTargetGet?(a=Ft(n,o))&&a.value:n[o],!zt(s?o:u+(f?".":"#")+o,t.forced)&&void 0!==i){if(typeof c==typeof i)continue;_t(c,i)}(t.sham||i&&i.sham)&&g(c,"sham",!0),J(n,o,c,t)}},Bt=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t},Gt=Object.keys||function(t){return Rt(t,kt)},Wt=i?Object.defineProperties:function(t,e){l(t);for(var n,r=Gt(e),o=r.length,i=0;o>i;)d.f(t,n=r[i++],e[n]);return t},Kt=ht("document","documentElement"),Vt=F("IE_PROTO"),Yt=function(){},Ht=function(t){return"<script>"+t+"<\/script>"},Jt=function(){try{rt=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,e;Jt=rt?function(t){t.write(Ht("")),t.close();var e=t.parentWindow.Object;return t=null,e}(rt):((e=s("iframe")).style.display="none",Kt.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(Ht("document.F=Object")),t.close(),t.F);for(var n=kt.length;n--;)delete Jt.prototype[kt[n]];return Jt()};N[Vt]=!0;var Qt=Object.create||function(t,e){var n;return null!==t?(Yt.prototype=l(t),n=new Yt,Yt.prototype=null,n[Vt]=t):n=Jt(),void 0===e?n:Wt(n,e)},Xt=[].slice,Zt={},te=function(t,e,n){if(!(e in Zt)){for(var r=[],o=0;o<e;o++)r[o]="a["+o+"]";Zt[e]=Function("C,a","return new C("+r.join(",")+")")}return Zt[e](t,n)},ee=Function.bind||function(t){var e=Bt(this),n=Xt.call(arguments,1),r=function(){var o=n.concat(Xt.call(arguments));return this instanceof r?te(e,o.length,o):e.apply(t,o)};return c(e.prototype)&&(r.prototype=e.prototype),r},ne=ht("Reflect","construct"),re=o((function(){function t(){}return!(ne((function(){}),[],t)instanceof t)})),oe=!o((function(){ne((function(){}))})),ie=re||oe;Nt({target:"Reflect",stat:!0,forced:ie,sham:ie},{construct:function(t,e){Bt(t),l(e);var n=arguments.length<3?t:Bt(arguments[2]);if(oe&&!re)return ne(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var r=[null];return r.push.apply(r,e),new(ee.apply(t,r))}var o=n.prototype,i=Qt(c(o)?o:Object.prototype),a=Function.apply.call(t,i,e);return c(a)?a:i}});var ce=function(){var t=l(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e};function ae(t,e){return RegExp(t,e)}var ue,se,fe={UNSUPPORTED_Y:o((function(){var t=ae("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),BROKEN_CARET:o((function(){var t=ae("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},le=RegExp.prototype.exec,ve=String.prototype.replace,pe=le,de=(ue=/a/,se=/b*/g,le.call(ue,"a"),le.call(se,"a"),0!==ue.lastIndex||0!==se.lastIndex),he=fe.UNSUPPORTED_Y||fe.BROKEN_CARET,ge=void 0!==/()??/.exec("")[1];(de||ge||he)&&(pe=function(t){var e,n,r,o,i=this,c=he&&i.sticky,a=ce.call(i),u=i.source,s=0,f=t;return c&&(-1===(a=a.replace("y","")).indexOf("g")&&(a+="g"),f=String(t).slice(i.lastIndex),i.lastIndex>0&&(!i.multiline||i.multiline&&"\n"!==t[i.lastIndex-1])&&(u="(?: "+u+")",f=" "+f,s++),n=new RegExp("^(?:"+u+")",a)),ge&&(n=new RegExp("^"+u+"$(?!\\s)",a)),de&&(e=i.lastIndex),r=le.call(c?n:i,f),c?r?(r.input=r.input.slice(s),r[0]=r[0].slice(s),r.index=i.lastIndex,i.lastIndex+=r[0].length):i.lastIndex=0:de&&r&&(i.lastIndex=i.global?r.index+r[0].length:e),ge&&r&&r.length>1&&ve.call(r[0],n,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r});var ye=pe;Nt({target:"RegExp",proto:!0,forced:/./.exec!==ye},{exec:ye});var me=RegExp.prototype,be=me.toString,xe=o((function(){return"/a/b"!=be.call({source:"a",flags:"b"})})),we="toString"!=be.name;(xe||we)&&J(RegExp.prototype,"toString",(function(){var t=l(this),e=String(t.source),n=t.flags;return"/"+e+"/"+String(void 0===n&&t instanceof RegExp&&!("flags"in me)?ce.call(t):n)}),{unsafe:!0});var Se=I("species"),Ee=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),Oe="$0"==="a".replace(/./,"$0"),je=I("replace"),Ae=!!/./[je]&&""===/./[je]("a","$0"),Re=!o((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),ke=function(t,e,n,r){var i=I(t),c=!o((function(){var e={};return e[i]=function(){return 7},7!=""[t](e)})),a=c&&!o((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[Se]=function(){return n},n.flags="",n[i]=/./[i]),n.exec=function(){return e=!0,null},n[i](""),!e}));if(!c||!a||"replace"===t&&(!Ee||!Oe||Ae)||"split"===t&&!Re){var u=/./[i],s=n(i,""[t],(function(t,e,n,r,o){return e.exec===ye?c&&!o?{done:!0,value:u.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}),{REPLACE_KEEPS_$0:Oe,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:Ae}),f=s[0],l=s[1];J(String.prototype,t,f),J(RegExp.prototype,i,2==e?function(t,e){return l.call(t,this,e)}:function(t){return l.call(t,this)})}r&&g(RegExp.prototype[i],"sham",!0)},Pe=I("match"),Ie=I("species"),Te=function(t,e){var n,r=l(t).constructor;return void 0===r||null==(n=l(r)[Ie])?e:Bt(n)},$e=function(t){return function(e,n){var r,o,i=String(st(e)),c=mt(n),a=i.length;return c<0||c>=a?t?"":void 0:(r=i.charCodeAt(c))<55296||r>56319||c+1===a||(o=i.charCodeAt(c+1))<56320||o>57343?t?i.charAt(c):r:t?i.slice(c,c+2):o-56320+(r-55296<<10)+65536}},_e={codeAt:$e(!1),charAt:$e(!0)},Ce=_e.charAt,qe=function(t,e,n){return e+(n?Ce(t,e).length:1)},Le=function(t,e){var n=t.exec;if("function"==typeof n){var r=n.call(t,e);if("object"!=typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==X(t))throw TypeError("RegExp#exec called on incompatible receiver");return ye.call(t,e)},Me=[].push,Ue=Math.min,De=!o((function(){return!RegExp(4294967295,"y")}));function ze(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fe(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ne(t,e){return(Ne=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Be(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}}),e&&Ne(t,e)}function Ge(t){return(Ge="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function We(t,e){return!e||"object"!==Ge(e)&&"function"!=typeof e?Fe(t):e}function Ke(t){return(Ke=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Ve(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function Ye(t,e){if(t){if("string"==typeof t)return Ve(t,e);var n=Object.prototype.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)?Ve(t,e):void 0}}function He(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var n=[],r=!0,o=!1,i=void 0;try{for(var c,a=t[Symbol.iterator]();!(r=(c=a.next()).done)&&(n.push(c.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==a.return||a.return()}finally{if(o)throw i}}return n}}(t,e)||Ye(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}ke("split",2,(function(t,e,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var r,o,i=String(st(this)),a=void 0===n?4294967295:n>>>0;if(0===a)return[];if(void 0===t)return[i];if(!c(r=t)||!(void 0!==(o=r[Pe])?o:"RegExp"==X(r)))return e.call(i,t,a);for(var u,s,f,l=[],v=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),p=0,d=new RegExp(t.source,v+"g");(u=ye.call(d,i))&&!((s=d.lastIndex)>p&&(l.push(i.slice(p,u.index)),u.length>1&&u.index<i.length&&Me.apply(l,u.slice(1)),f=u[0].length,p=s,l.length>=a));)d.lastIndex===u.index&&d.lastIndex++;return p===i.length?!f&&d.test("")||l.push(""):l.push(i.slice(p)),l.length>a?l.slice(0,a):l}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function(e,n){var o=st(this),i=null==e?void 0:e[t];return void 0!==i?i.call(e,o,n):r.call(String(o),e,n)},function(t,o){var i=n(r,t,this,o,r!==e);if(i.done)return i.value;var c=l(t),a=String(this),u=Te(c,RegExp),s=c.unicode,f=(c.ignoreCase?"i":"")+(c.multiline?"m":"")+(c.unicode?"u":"")+(De?"y":"g"),v=new u(De?c:"^(?:"+c.source+")",f),p=void 0===o?4294967295:o>>>0;if(0===p)return[];if(0===a.length)return null===Le(v,a)?[a]:[];for(var d=0,h=0,g=[];h<a.length;){v.lastIndex=De?h:0;var y,m=Le(v,De?a:a.slice(h));if(null===m||(y=Ue(xt(v.lastIndex+(De?0:h)),a.length))===d)h=qe(a,h,s);else{if(g.push(a.slice(d,h)),g.length===p)return g;for(var b=1;b<=m.length-1;b++)if(g.push(m[b]),g.length===p)return g;h=d=y}}return g.push(a.slice(d)),g}]}),!De);var Je=Array.isArray||function(t){return"Array"==X(t)},Qe=function(t){return Object(st(t))},Xe=It.f,Ze={}.toString,tn="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],en={f:function(t){return tn&&"[object Window]"==Ze.call(t)?function(t){try{return Xe(t)}catch(t){return tn.slice()}}(t):Xe(ft(t))}},nn={f:I},rn=d.f,on=function(t){var e=pt.Symbol||(pt.Symbol={});w(e,t)||rn(e,t,{value:nn.f(t)})},cn=d.f,an=I("toStringTag"),un=function(t,e,n){t&&!w(t=n?t:t.prototype,an)&&cn(t,an,{configurable:!0,value:e})},sn=function(t,e,n){if(Bt(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}},fn=I("species"),ln=function(t,e){var n;return Je(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!Je(n.prototype)?c(n)&&null===(n=n[fn])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)},vn=[].push,pn=function(t){var e=1==t,n=2==t,r=3==t,o=4==t,i=6==t,c=5==t||i;return function(a,u,s,f){for(var l,v,p=Qe(a),d=ut(p),h=sn(u,s,3),g=xt(d.length),y=0,m=f||ln,b=e?m(a,g):n?m(a,0):void 0;g>y;y++)if((c||y in d)&&(v=h(l=d[y],y,p),t))if(e)b[y]=v;else if(v)switch(t){case 3:return!0;case 5:return l;case 6:return y;case 2:vn.call(b,l)}else if(o)return!1;return i?-1:r||o?o:b}},dn={forEach:pn(0),map:pn(1),filter:pn(2),some:pn(3),every:pn(4),find:pn(5),findIndex:pn(6)},hn=dn.forEach,gn=F("hidden"),yn=I("toPrimitive"),mn=H.set,bn=H.getterFor("Symbol"),xn=Object.prototype,wn=r.Symbol,Sn=ht("JSON","stringify"),En=vt.f,On=d.f,jn=en.f,An=ct.f,Rn=b("symbols"),kn=b("op-symbols"),Pn=b("string-to-symbol-registry"),In=b("symbol-to-string-registry"),Tn=b("wks"),$n=r.QObject,_n=!$n||!$n.prototype||!$n.prototype.findChild,Cn=i&&o((function(){return 7!=Qt(On({},"a",{get:function(){return On(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=En(xn,e);r&&delete xn[e],On(t,e,n),r&&t!==xn&&On(xn,e,r)}:On,qn=function(t,e){var n=Rn[t]=Qt(wn.prototype);return mn(n,{type:"Symbol",tag:t,description:e}),i||(n.description=e),n},Ln=A?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof wn},Mn=function(t,e,n){t===xn&&Mn(kn,e,n),l(t);var r=v(e,!0);return l(n),w(Rn,r)?(n.enumerable?(w(t,gn)&&t[gn][r]&&(t[gn][r]=!1),n=Qt(n,{enumerable:h(0,!1)})):(w(t,gn)||On(t,gn,h(1,{})),t[gn][r]=!0),Cn(t,r,n)):On(t,r,n)},Un=function(t,e){l(t);var n=ft(e),r=Gt(n).concat(Nn(n));return hn(r,(function(e){i&&!Dn.call(n,e)||Mn(t,e,n[e])})),t},Dn=function(t){var e=v(t,!0),n=An.call(this,e);return!(this===xn&&w(Rn,e)&&!w(kn,e))&&(!(n||!w(this,e)||!w(Rn,e)||w(this,gn)&&this[gn][e])||n)},zn=function(t,e){var n=ft(t),r=v(e,!0);if(n!==xn||!w(Rn,r)||w(kn,r)){var o=En(n,r);return!o||!w(Rn,r)||w(n,gn)&&n[gn][r]||(o.enumerable=!0),o}},Fn=function(t){var e=jn(ft(t)),n=[];return hn(e,(function(t){w(Rn,t)||w(N,t)||n.push(t)})),n},Nn=function(t){var e=t===xn,n=jn(e?kn:ft(t)),r=[];return hn(n,(function(t){!w(Rn,t)||e&&!w(xn,t)||r.push(Rn[t])})),r};if(j||(J((wn=function(){if(this instanceof wn)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=O(t),n=function(t){this===xn&&n.call(kn,t),w(this,gn)&&w(this[gn],e)&&(this[gn][e]=!1),Cn(this,e,h(1,t))};return i&&_n&&Cn(xn,e,{configurable:!0,set:n}),qn(e,t)}).prototype,"toString",(function(){return bn(this).tag})),J(wn,"withoutSetter",(function(t){return qn(O(t),t)})),ct.f=Dn,d.f=Mn,vt.f=zn,It.f=en.f=Fn,Tt.f=Nn,nn.f=function(t){return qn(I(t),t)},i&&(On(wn.prototype,"description",{configurable:!0,get:function(){return bn(this).description}}),J(xn,"propertyIsEnumerable",Dn,{unsafe:!0}))),Nt({global:!0,wrap:!0,forced:!j,sham:!j},{Symbol:wn}),hn(Gt(Tn),(function(t){on(t)})),Nt({target:"Symbol",stat:!0,forced:!j},{for:function(t){var e=String(t);if(w(Pn,e))return Pn[e];var n=wn(e);return Pn[e]=n,In[n]=e,n},keyFor:function(t){if(!Ln(t))throw TypeError(t+" is not a symbol");if(w(In,t))return In[t]},useSetter:function(){_n=!0},useSimple:function(){_n=!1}}),Nt({target:"Object",stat:!0,forced:!j,sham:!i},{create:function(t,e){return void 0===e?Qt(t):Un(Qt(t),e)},defineProperty:Mn,defineProperties:Un,getOwnPropertyDescriptor:zn}),Nt({target:"Object",stat:!0,forced:!j},{getOwnPropertyNames:Fn,getOwnPropertySymbols:Nn}),Nt({target:"Object",stat:!0,forced:o((function(){Tt.f(1)}))},{getOwnPropertySymbols:function(t){return Tt.f(Qe(t))}}),Sn){var Bn=!j||o((function(){var t=wn();return"[null]"!=Sn([t])||"{}"!=Sn({a:t})||"{}"!=Sn(Object(t))}));Nt({target:"JSON",stat:!0,forced:Bn},{stringify:function(t,e,n){for(var r,o=[t],i=1;arguments.length>i;)o.push(arguments[i++]);if(r=e,(c(e)||void 0!==t)&&!Ln(t))return Je(e)||(e=function(t,e){if("function"==typeof r&&(e=r.call(this,t,e)),!Ln(e))return e}),o[1]=e,Sn.apply(null,o)}})}wn.prototype[yn]||g(wn.prototype,yn,wn.prototype.valueOf),un(wn,"Symbol"),N[gn]=!0;var Gn=d.f,Wn=r.Symbol;if(i&&"function"==typeof Wn&&(!("description"in Wn.prototype)||void 0!==Wn().description)){var Kn={},Vn=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof Vn?new Wn(t):void 0===t?Wn():Wn(t);return""===t&&(Kn[e]=!0),e};_t(Vn,Wn);var Yn=Vn.prototype=Wn.prototype;Yn.constructor=Vn;var Hn=Yn.toString,Jn="Symbol(test)"==String(Wn("test")),Qn=/^Symbol\((.*)\)[^)]+$/;Gn(Yn,"description",{configurable:!0,get:function(){var t=c(this)?this.valueOf():this,e=Hn.call(t);if(w(Kn,t))return"";var n=Jn?e.slice(7,-1):e.replace(Qn,"$1");return""===n?void 0:n}}),Nt({global:!0,forced:!0},{Symbol:Vn})}on("iterator");var Xn,Zn,tr=function(t,e,n){var r=v(e);r in t?d.f(t,r,h(0,n)):t[r]=n},er=ht("navigator","userAgent")||"",nr=r.process,rr=nr&&nr.versions,or=rr&&rr.v8;or?Zn=(Xn=or.split("."))[0]+Xn[1]:er&&(!(Xn=er.match(/Edge\/(\d+)/))||Xn[1]>=74)&&(Xn=er.match(/Chrome\/(\d+)/))&&(Zn=Xn[1]);var ir=Zn&&+Zn,cr=I("species"),ar=function(t){return ir>=51||!o((function(){var e=[];return(e.constructor={})[cr]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},ur=I("isConcatSpreadable"),sr=ir>=51||!o((function(){var t=[];return t[ur]=!1,t.concat()[0]!==t})),fr=ar("concat"),lr=function(t){if(!c(t))return!1;var e=t[ur];return void 0!==e?!!e:Je(t)};Nt({target:"Array",proto:!0,forced:!sr||!fr},{concat:function(t){var e,n,r,o,i,c=Qe(this),a=ln(c,0),u=0;for(e=-1,r=arguments.length;e<r;e++)if(lr(i=-1===e?c:arguments[e])){if(u+(o=xt(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<o;n++,u++)n in i&&tr(a,u,i[n])}else{if(u>=9007199254740991)throw TypeError("Maximum allowed index exceeded");tr(a,u++,i)}return a.length=u,a}});var vr=I("unscopables"),pr=Array.prototype;null==pr[vr]&&d.f(pr,vr,{configurable:!0,value:Qt(null)});var dr=function(t){pr[vr][t]=!0};Nt({target:"Array",proto:!0},{fill:function(t){for(var e=Qe(this),n=xt(e.length),r=arguments.length,o=Et(r>1?arguments[1]:void 0,n),i=r>2?arguments[2]:void 0,c=void 0===i?n:Et(i,n);c>o;)e[o++]=t;return e}}),dr("fill");var hr=Object.defineProperty,gr={},yr=function(t){throw t},mr=function(t,e){if(w(gr,t))return gr[t];e||(e={});var n=[][t],r=!!w(e,"ACCESSORS")&&e.ACCESSORS,c=w(e,0)?e[0]:yr,a=w(e,1)?e[1]:void 0;return gr[t]=!!n&&!o((function(){if(r&&!i)return!0;var t={length:-1};r?hr(t,1,{enumerable:!0,get:yr}):t[1]=1,n.call(t,c,a)}))},br=dn.filter,xr=ar("filter"),wr=mr("filter");Nt({target:"Array",proto:!0,forced:!xr||!wr},{filter:function(t){return br(this,t,arguments.length>1?arguments[1]:void 0)}});var Sr=function(t,e){var n=[][t];return!!n&&o((function(){n.call(null,e||function(){throw 1},1)}))},Er=dn.forEach,Or=Sr("forEach"),jr=mr("forEach"),Ar=Or&&jr?[].forEach:function(t){return Er(this,t,arguments.length>1?arguments[1]:void 0)};Nt({target:"Array",proto:!0,forced:[].forEach!=Ar},{forEach:Ar});var Rr=function(t,e,n,r){try{return r?e(l(n)[0],n[1]):e(n)}catch(e){var o=t.return;throw void 0!==o&&l(o.call(t)),e}},kr={},Pr=I("iterator"),Ir=Array.prototype,Tr=function(t){return void 0!==t&&(kr.Array===t||Ir[Pr]===t)},$r=I("iterator"),_r=function(t){if(null!=t)return t[$r]||t["@@iterator"]||kr[et(t)]},Cr=I("iterator"),qr=!1;try{var Lr=0,Mr={next:function(){return{done:!!Lr++}},return:function(){qr=!0}};Mr[Cr]=function(){return this},Array.from(Mr,(function(){throw 2}))}catch(t){}var Ur=function(t,e){if(!e&&!qr)return!1;var n=!1;try{var r={};r[Cr]=function(){return{next:function(){return{done:n=!0}}}},t(r)}catch(t){}return n},Dr=!Ur((function(t){Array.from(t)}));Nt({target:"Array",stat:!0,forced:Dr},{from:function(t){var e,n,r,o,i,c,a=Qe(t),u="function"==typeof this?this:Array,s=arguments.length,f=s>1?arguments[1]:void 0,l=void 0!==f,v=_r(a),p=0;if(l&&(f=sn(f,s>2?arguments[2]:void 0,2)),null==v||u==Array&&Tr(v))for(n=new u(e=xt(a.length));e>p;p++)c=l?f(a[p],p):a[p],tr(n,p,c);else for(i=(o=v.call(a)).next,n=new u;!(r=i.call(o)).done;p++)c=l?Rr(o,f,[r.value,p],!0):r.value,tr(n,p,c);return n.length=p,n}});var zr=jt.indexOf,Fr=[].indexOf,Nr=!!Fr&&1/[1].indexOf(1,-0)<0,Br=Sr("indexOf"),Gr=mr("indexOf",{ACCESSORS:!0,1:0});Nt({target:"Array",proto:!0,forced:Nr||!Br||!Gr},{indexOf:function(t){return Nr?Fr.apply(this,arguments)||0:zr(this,t,arguments.length>1?arguments[1]:void 0)}});var Wr,Kr,Vr,Yr=!o((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),Hr=F("IE_PROTO"),Jr=Object.prototype,Qr=Yr?Object.getPrototypeOf:function(t){return t=Qe(t),w(t,Hr)?t[Hr]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?Jr:null},Xr=I("iterator"),Zr=!1;[].keys&&("next"in(Vr=[].keys())?(Kr=Qr(Qr(Vr)))!==Object.prototype&&(Wr=Kr):Zr=!0),null==Wr&&(Wr={}),w(Wr,Xr)||g(Wr,Xr,(function(){return this}));var to={IteratorPrototype:Wr,BUGGY_SAFARI_ITERATORS:Zr},eo=to.IteratorPrototype,no=function(){return this},ro=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),e=n instanceof Array}catch(t){}return function(n,r){return l(n),function(t){if(!c(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype")}(r),e?t.call(n,r):n.__proto__=r,n}}():void 0),oo=to.IteratorPrototype,io=to.BUGGY_SAFARI_ITERATORS,co=I("iterator"),ao=function(){return this},uo=function(t,e,n,r,o,i,c){!function(t,e,n){var r=e+" Iterator";t.prototype=Qt(eo,{next:h(1,n)}),un(t,r,!1),kr[r]=no}(n,e,r);var a,u,s,f=function(t){if(t===o&&y)return y;if(!io&&t in p)return p[t];switch(t){case"keys":case"values":case"entries":return function(){return new n(this,t)}}return function(){return new n(this)}},l=e+" Iterator",v=!1,p=t.prototype,d=p[co]||p["@@iterator"]||o&&p[o],y=!io&&d||f(o),m="Array"==e&&p.entries||d;if(m&&(a=Qr(m.call(new t)),oo!==Object.prototype&&a.next&&(Qr(a)!==oo&&(ro?ro(a,oo):"function"!=typeof a[co]&&g(a,co,ao)),un(a,l,!0))),"values"==o&&d&&"values"!==d.name&&(v=!0,y=function(){return d.call(this)}),p[co]!==y&&g(p,co,y),kr[e]=y,o)if(u={values:f("values"),keys:i?y:f("keys"),entries:f("entries")},c)for(s in u)(io||v||!(s in p))&&J(p,s,u[s]);else Nt({target:e,proto:!0,forced:io||v},u);return u},so=H.set,fo=H.getterFor("Array Iterator"),lo=uo(Array,"Array",(function(t,e){so(this,{type:"Array Iterator",target:ft(t),index:0,kind:e})}),(function(){var t=fo(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}}),"values");kr.Arguments=kr.Array,dr("keys"),dr("values"),dr("entries");var vo=[].join,po=ut!=Object,ho=Sr("join",",");Nt({target:"Array",proto:!0,forced:po||!ho},{join:function(t){return vo.call(ft(this),void 0===t?",":t)}});var go=dn.map,yo=ar("map"),mo=mr("map");Nt({target:"Array",proto:!0,forced:!yo||!mo},{map:function(t){return go(this,t,arguments.length>1?arguments[1]:void 0)}});var bo=ar("slice"),xo=mr("slice",{ACCESSORS:!0,0:0,1:2}),wo=I("species"),So=[].slice,Eo=Math.max;Nt({target:"Array",proto:!0,forced:!bo||!xo},{slice:function(t,e){var n,r,o,i=ft(this),a=xt(i.length),u=Et(t,a),s=Et(void 0===e?a:e,a);if(Je(i)&&("function"!=typeof(n=i.constructor)||n!==Array&&!Je(n.prototype)?c(n)&&null===(n=n[wo])&&(n=void 0):n=void 0,n===Array||void 0===n))return So.call(i,u,s);for(r=new(void 0===n?Array:n)(Eo(s-u,0)),o=0;u<s;u++,o++)u in i&&tr(r,o,i[u]);return r.length=o,r}});var Oo=ar("splice"),jo=mr("splice",{ACCESSORS:!0,0:0,1:2}),Ao=Math.max,Ro=Math.min;Nt({target:"Array",proto:!0,forced:!Oo||!jo},{splice:function(t,e){var n,r,o,i,c,a,u=Qe(this),s=xt(u.length),f=Et(t,s),l=arguments.length;if(0===l?n=r=0:1===l?(n=0,r=s-f):(n=l-2,r=Ro(Ao(mt(e),0),s-f)),s+n-r>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(o=ln(u,r),i=0;i<r;i++)(c=f+i)in u&&tr(o,i,u[c]);if(o.length=r,n<r){for(i=f;i<s-r;i++)a=i+n,(c=i+r)in u?u[a]=u[c]:delete u[a];for(i=s;i>s-r+n;i--)delete u[i-1]}else if(n>r)for(i=s-r;i>f;i--)a=i+n-1,(c=i+r-1)in u?u[a]=u[c]:delete u[a];for(i=0;i<n;i++)u[i+f]=arguments[i+2];return u.length=s-r+n,o}});var ko=d.f,Po=Function.prototype,Io=Po.toString,To=/^\s*function ([^ (]*)/;i&&!("name"in Po)&&ko(Po,"name",{configurable:!0,get:function(){try{return Io.call(this).match(To)[1]}catch(t){return""}}});var $o=!o((function(){return Object.isExtensible(Object.preventExtensions({}))})),_o=e((function(t){var e=d.f,n=O("meta"),r=0,o=Object.isExtensible||function(){return!0},i=function(t){e(t,n,{value:{objectID:"O"+ ++r,weakData:{}}})},a=t.exports={REQUIRED:!1,fastKey:function(t,e){if(!c(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!w(t,n)){if(!o(t))return"F";if(!e)return"E";i(t)}return t[n].objectID},getWeakData:function(t,e){if(!w(t,n)){if(!o(t))return!0;if(!e)return!1;i(t)}return t[n].weakData},onFreeze:function(t){return $o&&a.REQUIRED&&o(t)&&!w(t,n)&&i(t),t}};N[n]=!0})),Co=(_o.REQUIRED,_o.fastKey,_o.getWeakData,_o.onFreeze,e((function(t){var e=function(t,e){this.stopped=t,this.result=e};(t.exports=function(t,n,r,o,i){var c,a,u,s,f,v,p,d=sn(n,r,o?2:1);if(i)c=t;else{if("function"!=typeof(a=_r(t)))throw TypeError("Target is not iterable");if(Tr(a)){for(u=0,s=xt(t.length);s>u;u++)if((f=o?d(l(p=t[u])[0],p[1]):d(t[u]))&&f instanceof e)return f;return new e(!1)}c=a.call(t)}for(v=c.next;!(p=v.call(c)).done;)if("object"==typeof(f=Rr(c,d,p.value,o))&&f&&f instanceof e)return f;return new e(!1)}).stop=function(t){return new e(!0,t)}}))),qo=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t},Lo=function(t,e,n){var i=-1!==t.indexOf("Map"),a=-1!==t.indexOf("Weak"),u=i?"set":"add",s=r[t],f=s&&s.prototype,l=s,v={},p=function(t){var e=f[t];J(f,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(a&&!c(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return a&&!c(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(a&&!c(t))&&e.call(this,0===t?0:t)}:function(t,n){return e.call(this,0===t?0:t,n),this})};if(zt(t,"function"!=typeof s||!(a||f.forEach&&!o((function(){(new s).entries().next()})))))l=n.getConstructor(e,t,i,u),_o.REQUIRED=!0;else if(zt(t,!0)){var d=new l,h=d[u](a?{}:-0,1)!=d,g=o((function(){d.has(1)})),y=Ur((function(t){new s(t)})),m=!a&&o((function(){for(var t=new s,e=5;e--;)t[u](e,e);return!t.has(-0)}));y||((l=e((function(e,n){qo(e,l,t);var r=function(t,e,n){var r,o;return ro&&"function"==typeof(r=e.constructor)&&r!==n&&c(o=r.prototype)&&o!==n.prototype&&ro(t,o),t}(new s,e,l);return null!=n&&Co(n,r[u],r,i),r}))).prototype=f,f.constructor=l),(g||m)&&(p("delete"),p("has"),i&&p("get")),(m||h)&&p(u),a&&f.clear&&delete f.clear}return v[t]=l,Nt({global:!0,forced:l!=s},v),un(l,t),a||n.setStrong(l,t,i),l},Mo=function(t,e,n){for(var r in e)J(t,r,e[r],n);return t},Uo=I("species"),Do=function(t){var e=ht(t),n=d.f;i&&e&&!e[Uo]&&n(e,Uo,{configurable:!0,get:function(){return this}})},zo=d.f,Fo=_o.fastKey,No=H.set,Bo=H.getterFor,Go={getConstructor:function(t,e,n,r){var o=t((function(t,c){qo(t,o,e),No(t,{type:e,index:Qt(null),first:void 0,last:void 0,size:0}),i||(t.size=0),null!=c&&Co(c,t[r],t,n)})),c=Bo(e),a=function(t,e,n){var r,o,a=c(t),s=u(t,e);return s?s.value=n:(a.last=s={index:o=Fo(e,!0),key:e,value:n,previous:r=a.last,next:void 0,removed:!1},a.first||(a.first=s),r&&(r.next=s),i?a.size++:t.size++,"F"!==o&&(a.index[o]=s)),t},u=function(t,e){var n,r=c(t),o=Fo(e);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==e)return n};return Mo(o.prototype,{clear:function(){for(var t=c(this),e=t.index,n=t.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete e[n.index],n=n.next;t.first=t.last=void 0,i?t.size=0:this.size=0},delete:function(t){var e=c(this),n=u(this,t);if(n){var r=n.next,o=n.previous;delete e.index[n.index],n.removed=!0,o&&(o.next=r),r&&(r.previous=o),e.first==n&&(e.first=r),e.last==n&&(e.last=o),i?e.size--:this.size--}return!!n},forEach:function(t){for(var e,n=c(this),r=sn(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.next:n.first;)for(r(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!u(this,t)}}),Mo(o.prototype,n?{get:function(t){var e=u(this,t);return e&&e.value},set:function(t,e){return a(this,0===t?0:t,e)}}:{add:function(t){return a(this,t=0===t?0:t,t)}}),i&&zo(o.prototype,"size",{get:function(){return c(this).size}}),o},setStrong:function(t,e,n){var r=e+" Iterator",o=Bo(e),i=Bo(r);uo(t,e,(function(t,e){No(this,{type:r,target:t,state:o(t),kind:e,last:void 0})}),(function(){for(var t=i(this),e=t.kind,n=t.last;n&&n.removed;)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?"keys"==e?{value:n.key,done:!1}:"values"==e?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),Do(e)}},Wo=(Lo("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),Go),Object.assign),Ko=Object.defineProperty,Vo=!Wo||o((function(){if(i&&1!==Wo({b:1},Wo(Ko({},"a",{enumerable:!0,get:function(){Ko(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol();return t[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(t){e[t]=t})),7!=Wo({},t)[n]||"abcdefghijklmnopqrst"!=Gt(Wo({},e)).join("")}))?function(t,e){for(var n=Qe(t),r=arguments.length,o=1,c=Tt.f,a=ct.f;r>o;)for(var u,s=ut(arguments[o++]),f=c?Gt(s).concat(c(s)):Gt(s),l=f.length,v=0;l>v;)u=f[v++],i&&!a.call(s,u)||(n[u]=s[u]);return n}:Wo;Nt({target:"Object",stat:!0,forced:Object.assign!==Vo},{assign:Vo}),Nt({target:"Object",stat:!0,sham:!i},{getOwnPropertyDescriptors:function(t){for(var e,n,r=ft(t),o=vt.f,i=$t(r),c={},a=0;i.length>a;)void 0!==(n=o(r,e=i[a++]))&&tr(c,e,n);return c}});var Yo=o((function(){Gt(1)}));Nt({target:"Object",stat:!0,forced:Yo},{keys:function(t){return Gt(Qe(t))}});var Ho,Jo,Qo,Xo=r.Promise,Zo=/(iphone|ipod|ipad).*applewebkit/i.test(er),ti=r.location,ei=r.setImmediate,ni=r.clearImmediate,ri=r.process,oi=r.MessageChannel,ii=r.Dispatch,ci=0,ai={},ui=function(t){if(ai.hasOwnProperty(t)){var e=ai[t];delete ai[t],e()}},si=function(t){return function(){ui(t)}},fi=function(t){ui(t.data)},li=function(t){r.postMessage(t+"",ti.protocol+"//"+ti.host)};ei&&ni||(ei=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return ai[++ci]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},Ho(ci),ci},ni=function(t){delete ai[t]},"process"==X(ri)?Ho=function(t){ri.nextTick(si(t))}:ii&&ii.now?Ho=function(t){ii.now(si(t))}:oi&&!Zo?(Qo=(Jo=new oi).port2,Jo.port1.onmessage=fi,Ho=sn(Qo.postMessage,Qo,1)):!r.addEventListener||"function"!=typeof postMessage||r.importScripts||o(li)||"file:"===ti.protocol?Ho="onreadystatechange"in s("script")?function(t){Kt.appendChild(s("script")).onreadystatechange=function(){Kt.removeChild(this),ui(t)}}:function(t){setTimeout(si(t),0)}:(Ho=li,r.addEventListener("message",fi,!1)));var vi,pi,di,hi,gi,yi,mi,bi,xi={set:ei,clear:ni},wi=vt.f,Si=xi.set,Ei=r.MutationObserver||r.WebKitMutationObserver,Oi=r.process,ji=r.Promise,Ai="process"==X(Oi),Ri=wi(r,"queueMicrotask"),ki=Ri&&Ri.value;ki||(vi=function(){var t,e;for(Ai&&(t=Oi.domain)&&t.exit();pi;){e=pi.fn,pi=pi.next;try{e()}catch(t){throw pi?hi():di=void 0,t}}di=void 0,t&&t.enter()},Ai?hi=function(){Oi.nextTick(vi)}:Ei&&!Zo?(gi=!0,yi=document.createTextNode(""),new Ei(vi).observe(yi,{characterData:!0}),hi=function(){yi.data=gi=!gi}):ji&&ji.resolve?(mi=ji.resolve(void 0),bi=mi.then,hi=function(){bi.call(mi,vi)}):hi=function(){Si.call(r,vi)});var Pi,Ii,Ti,$i,_i=ki||function(t){var e={fn:t,next:void 0};di&&(di.next=e),pi||(pi=e,hi()),di=e},Ci=function(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=Bt(e),this.reject=Bt(n)},qi={f:function(t){return new Ci(t)}},Li=function(t,e){if(l(t),c(e)&&e.constructor===t)return e;var n=qi.f(t);return(0,n.resolve)(e),n.promise},Mi=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}},Ui=xi.set,Di=I("species"),zi="Promise",Fi=H.get,Ni=H.set,Bi=H.getterFor(zi),Gi=Xo,Wi=r.TypeError,Ki=r.document,Vi=r.process,Yi=ht("fetch"),Hi=qi.f,Ji=Hi,Qi="process"==X(Vi),Xi=!!(Ki&&Ki.createEvent&&r.dispatchEvent),Zi=zt(zi,(function(){if(!(M(Gi)!==String(Gi))){if(66===ir)return!0;if(!Qi&&"function"!=typeof PromiseRejectionEvent)return!0}if(ir>=51&&/native code/.test(Gi))return!1;var t=Gi.resolve(1),e=function(t){t((function(){}),(function(){}))};return(t.constructor={})[Di]=e,!(t.then((function(){}))instanceof e)})),tc=Zi||!Ur((function(t){Gi.all(t).catch((function(){}))})),ec=function(t){var e;return!(!c(t)||"function"!=typeof(e=t.then))&&e},nc=function(t,e,n){if(!e.notified){e.notified=!0;var r=e.reactions;_i((function(){for(var o=e.value,i=1==e.state,c=0;r.length>c;){var a,u,s,f=r[c++],l=i?f.ok:f.fail,v=f.resolve,p=f.reject,d=f.domain;try{l?(i||(2===e.rejection&&cc(t,e),e.rejection=1),!0===l?a=o:(d&&d.enter(),a=l(o),d&&(d.exit(),s=!0)),a===f.promise?p(Wi("Promise-chain cycle")):(u=ec(a))?u.call(a,v,p):v(a)):p(o)}catch(t){d&&!s&&d.exit(),p(t)}}e.reactions=[],e.notified=!1,n&&!e.rejection&&oc(t,e)}))}},rc=function(t,e,n){var o,i;Xi?((o=Ki.createEvent("Event")).promise=e,o.reason=n,o.initEvent(t,!1,!0),r.dispatchEvent(o)):o={promise:e,reason:n},(i=r["on"+t])?i(o):"unhandledrejection"===t&&function(t,e){var n=r.console;n&&n.error&&(1===arguments.length?n.error(t):n.error(t,e))}("Unhandled promise rejection",n)},oc=function(t,e){Ui.call(r,(function(){var n,r=e.value;if(ic(e)&&(n=Mi((function(){Qi?Vi.emit("unhandledRejection",r,t):rc("unhandledrejection",t,r)})),e.rejection=Qi||ic(e)?2:1,n.error))throw n.value}))},ic=function(t){return 1!==t.rejection&&!t.parent},cc=function(t,e){Ui.call(r,(function(){Qi?Vi.emit("rejectionHandled",t):rc("rejectionhandled",t,e.value)}))},ac=function(t,e,n,r){return function(o){t(e,n,o,r)}},uc=function(t,e,n,r){e.done||(e.done=!0,r&&(e=r),e.value=n,e.state=2,nc(t,e,!0))},sc=function(t,e,n,r){if(!e.done){e.done=!0,r&&(e=r);try{if(t===n)throw Wi("Promise can't be resolved itself");var o=ec(n);o?_i((function(){var r={done:!1};try{o.call(n,ac(sc,t,r,e),ac(uc,t,r,e))}catch(n){uc(t,r,n,e)}})):(e.value=n,e.state=1,nc(t,e,!1))}catch(n){uc(t,{done:!1},n,e)}}};Zi&&(Gi=function(t){qo(this,Gi,zi),Bt(t),Pi.call(this);var e=Fi(this);try{t(ac(sc,this,e),ac(uc,this,e))}catch(t){uc(this,e,t)}},(Pi=function(t){Ni(this,{type:zi,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=Mo(Gi.prototype,{then:function(t,e){var n=Bi(this),r=Hi(Te(this,Gi));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=Qi?Vi.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&nc(this,n,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),Ii=function(){var t=new Pi,e=Fi(t);this.promise=t,this.resolve=ac(sc,t,e),this.reject=ac(uc,t,e)},qi.f=Hi=function(t){return t===Gi||t===Ti?new Ii(t):Ji(t)},"function"==typeof Xo&&($i=Xo.prototype.then,J(Xo.prototype,"then",(function(t,e){var n=this;return new Gi((function(t,e){$i.call(n,t,e)})).then(t,e)}),{unsafe:!0}),"function"==typeof Yi&&Nt({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return Li(Gi,Yi.apply(r,arguments))}}))),Nt({global:!0,wrap:!0,forced:Zi},{Promise:Gi}),un(Gi,zi,!1),Do(zi),Ti=ht(zi),Nt({target:zi,stat:!0,forced:Zi},{reject:function(t){var e=Hi(this);return e.reject.call(void 0,t),e.promise}}),Nt({target:zi,stat:!0,forced:Zi},{resolve:function(t){return Li(this,t)}}),Nt({target:zi,stat:!0,forced:tc},{all:function(t){var e=this,n=Hi(e),r=n.resolve,o=n.reject,i=Mi((function(){var n=Bt(e.resolve),i=[],c=0,a=1;Co(t,(function(t){var u=c++,s=!1;i.push(void 0),a++,n.call(e,t).then((function(t){s||(s=!0,i[u]=t,--a||r(i))}),o)})),--a||r(i)}));return i.error&&o(i.value),n.promise},race:function(t){var e=this,n=Hi(e),r=n.reject,o=Mi((function(){var o=Bt(e.resolve);Co(t,(function(t){o.call(e,t).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}});Lo("Set",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),Go);var fc=_e.charAt,lc=H.set,vc=H.getterFor("String Iterator");uo(String,"String",(function(t){lc(this,{type:"String Iterator",string:String(t),index:0})}),(function(){var t,e=vc(this),n=e.string,r=e.index;return r>=n.length?{value:void 0,done:!0}:(t=fc(n,r),e.index+=t.length,{value:t,done:!1})}));var pc=Math.max,dc=Math.min,hc=Math.floor,gc=/\$([$&'`]|\d\d?|<[^>]*>)/g,yc=/\$([$&'`]|\d\d?)/g;ke("replace",2,(function(t,e,n,r){var o=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,i=r.REPLACE_KEEPS_$0,c=o?"$":"$0";return[function(n,r){var o=st(this),i=null==n?void 0:n[t];return void 0!==i?i.call(n,o,r):e.call(String(o),n,r)},function(t,r){if(!o&&i||"string"==typeof r&&-1===r.indexOf(c)){var u=n(e,t,this,r);if(u.done)return u.value}var s=l(t),f=String(this),v="function"==typeof r;v||(r=String(r));var p=s.global;if(p){var d=s.unicode;s.lastIndex=0}for(var h=[];;){var g=Le(s,f);if(null===g)break;if(h.push(g),!p)break;""===String(g[0])&&(s.lastIndex=qe(f,xt(s.lastIndex),d))}for(var y,m="",b=0,x=0;x<h.length;x++){g=h[x];for(var w=String(g[0]),S=pc(dc(mt(g.index),f.length),0),E=[],O=1;O<g.length;O++)E.push(void 0===(y=g[O])?y:String(y));var j=g.groups;if(v){var A=[w].concat(E,S,f);void 0!==j&&A.push(j);var R=String(r.apply(void 0,A))}else R=a(w,f,S,E,j,r);S>=b&&(m+=f.slice(b,S)+R,b=S+w.length)}return m+f.slice(b)}];function a(t,n,r,o,i,c){var a=r+t.length,u=o.length,s=yc;return void 0!==i&&(i=Qe(i),s=gc),e.call(c,s,(function(e,c){var s;switch(c.charAt(0)){case"$":return"$";case"&":return t;case"`":return n.slice(0,r);case"'":return n.slice(a);case"<":s=i[c.slice(1,-1)];break;default:var f=+c;if(0===f)return e;if(f>u){var l=hc(f/10);return 0===l?e:l<=u?void 0===o[l-1]?c.charAt(1):o[l-1]+c.charAt(1):e}s=o[f-1]}return void 0===s?"":s}))}}));var mc=/"/g;Nt({target:"String",proto:!0,forced:function(t){return o((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}))}("anchor")},{anchor:function(t){return e="a",n="name",r=t,o=String(st(this)),i="<"+e,""!==n&&(i+=" "+n+'="'+String(r).replace(mc,""")+'"'),i+">"+o+"</"+e+">";var e,n,r,o,i}});var bc={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0};for(var xc in bc){var wc=r[xc],Sc=wc&&wc.prototype;if(Sc&&Sc.forEach!==Ar)try{g(Sc,"forEach",Ar)}catch(t){Sc.forEach=Ar}}var Ec,Oc=I("iterator"),jc=I("toStringTag"),Ac=lo.values;for(var Rc in bc){var kc=r[Rc],Pc=kc&&kc.prototype;if(Pc){if(Pc[Oc]!==Ac)try{g(Pc,Oc,Ac)}catch(t){Pc[Oc]=Ac}if(Pc[jc]||g(Pc,jc,Rc),bc[Rc])for(var Ic in lo)if(Pc[Ic]!==lo[Ic])try{g(Pc,Ic,lo[Ic])}catch(t){Pc[Ic]=lo[Ic]}}}function Tc(t){return function(t){if(Array.isArray(t))return Ve(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||Ye(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function $c(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,r.key,r)}}function _c(){}function Cc(t){return t()}function qc(){return Object.create(null)}function Lc(t){t.forEach(Cc)}function Mc(t){return"function"==typeof t}function Uc(t,e){return t!=t?e==e:t!==e||t&&"object"===Ge(t)||"function"==typeof t}function Dc(t,e){t.appendChild(e)}function zc(t,e,n){t.insertBefore(e,n||null)}function Fc(t){t.parentNode.removeChild(t)}function Nc(t){return document.createElement(t)}function Bc(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function Gc(t){return document.createTextNode(t)}function Wc(){return Gc(" ")}function Kc(t,e,n,r){return t.addEventListener(e,n,r),function(){return t.removeEventListener(e,n,r)}}function Vc(t,e,n){null==n?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function Yc(t){return Array.from(t.childNodes)}function Hc(t,e,n){t.classList[n?"add":"remove"](e)}function Jc(t){Ec=t}function Qc(t,e){var n=t.$$.callbacks[e.type];n&&n.slice().forEach((function(t){return t(e)}))}var Xc=[],Zc=[],ta=[],ea=[],na=Promise.resolve(),ra=!1;function oa(t){ta.push(t)}var ia=!1,ca=new Set;function aa(){if(!ia){ia=!0;do{for(var t=0;t<Xc.length;t+=1){var e=Xc[t];Jc(e),ua(e.$$)}for(Xc.length=0;Zc.length;)Zc.pop()();for(var n=0;n<ta.length;n+=1){var r=ta[n];ca.has(r)||(ca.add(r),r())}ta.length=0}while(Xc.length);for(;ea.length;)ea.pop()();ra=!1,ia=!1,ca.clear()}}function ua(t){if(null!==t.fragment){t.update(),Lc(t.before_update);var e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(oa)}}var sa=new Set;function fa(t,e){t&&t.i&&(sa.delete(t),t.i(e))}function la(t,e,n,r){if(t&&t.o){if(sa.has(t))return;sa.add(t),(void 0).c.push((function(){sa.delete(t),r&&(n&&t.d(1),r())})),t.o(e)}}function va(t){t&&t.c()}function pa(t,e,n){var r=t.$$,o=r.fragment,i=r.on_mount,c=r.on_destroy,a=r.after_update;o&&o.m(e,n),oa((function(){var e=i.map(Cc).filter(Mc);c?c.push.apply(c,Tc(e)):Lc(e),t.$$.on_mount=[]})),a.forEach(oa)}function da(t,e){var n=t.$$;null!==n.fragment&&(Lc(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function ha(t,e){-1===t.$$.dirty[0]&&(Xc.push(t),ra||(ra=!0,na.then(aa)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function ga(t,e,n,r,o,i){var c=arguments.length>6&&void 0!==arguments[6]?arguments[6]:[-1],a=Ec;Jc(t);var u=e.props||{},s=t.$$={fragment:null,ctx:null,props:i,update:_c,not_equal:o,bound:qc(),on_mount:[],on_destroy:[],before_update:[],after_update:[],context:new Map(a?a.$$.context:[]),callbacks:qc(),dirty:c},f=!1;if(s.ctx=n?n(t,u,(function(e,n){var r=!(arguments.length<=2)&&arguments.length-2?arguments.length<=2?void 0:arguments[2]:n;return s.ctx&&o(s.ctx[e],s.ctx[e]=r)&&(s.bound[e]&&s.bound[e](r),f&&ha(t,e)),n})):[],s.update(),f=!0,Lc(s.before_update),s.fragment=!!r&&r(s.ctx),e.target){if(e.hydrate){var l=Yc(e.target);s.fragment&&s.fragment.l(l),l.forEach(Fc)}else s.fragment&&s.fragment.c();e.intro&&fa(t.$$.fragment),pa(t,e.target,e.anchor),aa()}Jc(a)}var ya=function(){function t(){ze(this,t)}var e,n,r;return e=t,(n=[{key:"$destroy",value:function(){da(this,1),this.$destroy=_c}},{key:"$on",value:function(t,e){var n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(e),function(){var t=n.indexOf(e);-1!==t&&n.splice(t,1)}}},{key:"$set",value:function(){}}])&&$c(e.prototype,n),r&&$c(e,r),t}();function ma(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Ke(t);if(e){var o=Ke(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return We(this,n)}}function ba(t){var e,n,r;return{c:function(){(e=Nc("p")).textContent="Please make sure that the script tag has 'id=\"chatbot\"' and the attribute\n 'data-server' with the full qualified URL to the chatbot-server.",n=Wc(),(r=Nc("pre")).innerHTML='<code class="svelte-19qvehx"><script\n <br class="svelte-19qvehx">\n id="chatbot"\n <br class="svelte-19qvehx">\n data-server="https://server.com/webclient"\n <br class="svelte-19qvehx">\n defer\n <br class="svelte-19qvehx">\n src="https://server.com/webclient/embed/bundle.js"> </script></code>',Vc(e,"class","svelte-19qvehx"),Vc(r,"class","svelte-19qvehx")},m:function(t,o){zc(t,e,o),zc(t,n,o),zc(t,r,o)},p:_c,d:function(t){t&&Fc(e),t&&Fc(n),t&&Fc(r)}}}function xa(t){var e,n,r,o,i,c,a,u,s,f,l,v;return{c:function(){e=Nc("div"),n=Nc("div"),r=Nc("img"),i=Wc(),c=Bc("svg"),a=Bc("path"),u=Wc(),s=Nc("iframe"),r.src!==(o="".concat(t[2],"/embed/logo.svg"))&&Vc(r,"src",o),Vc(r,"alt","Logo"),Vc(r,"class","svelte-19qvehx"),Vc(a,"d","M0,0L20,20M20,0L0,20"),Vc(a,"class","svelte-19qvehx"),Vc(c,"viewBox","-2 -2 24 24"),Vc(c,"class","svelte-19qvehx"),Vc(n,"class","header svelte-19qvehx"),Vc(s,"id","chat-frame"),Vc(s,"title","chatbot"),Vc(s,"class","bot svelte-19qvehx"),s.src!==(f=t[0])&&Vc(s,"src",f),Vc(s,"frameborder","0"),s.allowFullscreen="",Vc(e,"class","bot-border svelte-19qvehx"),Hc(e,"closed",!t[1])},m:function(o,f){zc(o,e,f),Dc(e,n),Dc(n,r),Dc(n,i),Dc(n,c),Dc(c,a),Dc(e,u),Dc(e,s),l||(v=Kc(c,"click",t[3]),l=!0)},p:function(t,n){4&n&&r.src!==(o="".concat(t[2],"/embed/logo.svg"))&&Vc(r,"src",o),1&n&&s.src!==(f=t[0])&&Vc(s,"src",f),2&n&&Hc(e,"closed",!t[1])},d:function(t){t&&Fc(e),l=!1,v()}}}function wa(t){var e;function n(t,e){return t[0]?xa:ba}var r=n(t),o=r(t);return{c:function(){o.c(),e=Gc("")},m:function(t,n){o.m(t,n),zc(t,e,n)},p:function(t,i){var c=He(i,1)[0];r===(r=n(t))&&o?o.p(t,c):(o.d(1),(o=r(t))&&(o.c(),o.m(e.parentNode,e)))},i:_c,o:_c,d:function(t){o.d(t),t&&Fc(e)}}}function Sa(t,e,n){var r=e.server,o=e.open,i=e.assetsUrl;return t.$set=function(t){"server"in t&&n(0,r=t.server),"open"in t&&n(1,o=t.open),"assetsUrl"in t&&n(2,i=t.assetsUrl)},[r,o,i,function(e){Qc(t,e)}]}var Ea=function(t){Be(n,t);var e=ma(n);function n(t){var r,o;return ze(this,n),r=e.call(this),document.getElementById("svelte-19qvehx-style")||((o=Nc("style")).id="svelte-19qvehx-style",o.textContent=".svelte-19qvehx.svelte-19qvehx,.svelte-19qvehx.svelte-19qvehx:before,.svelte-19qvehx.svelte-19qvehx:after{box-sizing:border-box}.bot-border.svelte-19qvehx.svelte-19qvehx{position:fixed !important;display:flex;flex-direction:column;bottom:0;height:85vh;width:100%;border-width:0;border-radius:12px;box-shadow:rgba(0, 0, 0, 0.24) 0px 16px 40px;background:rgba(255, 255, 255, 0.93);opacity:1;transition:transform 200ms, opacity 100ms 100ms, all 150ms;z-index:1000}.bot-border.closed.svelte-19qvehx.svelte-19qvehx{transform:translateY(85vh);opacity:0}.header.svelte-19qvehx.svelte-19qvehx{display:flex;justify-content:space-between;width:100%;height:3.5em;padding:0.5em 1em;color:white;background-color:#3f4143}.bot.svelte-19qvehx.svelte-19qvehx{display:block;width:100%;flex:1 0 auto}@media screen and (min-width: 768px){.bot-border.svelte-19qvehx.svelte-19qvehx{height:38em;max-height:calc(100vh - 2rem);width:23em;right:1em;bottom:1em;left:auto}.bot-border.closed.svelte-19qvehx.svelte-19qvehx{transform:translateY(38em);opacity:0}}img.svelte-19qvehx.svelte-19qvehx{display:block;height:100%}svg.svelte-19qvehx.svelte-19qvehx{height:100%;padding:0.4em;cursor:pointer}svg.svelte-19qvehx path.svelte-19qvehx{transition:stroke-width 100ms;stroke:white;stroke-width:2px}svg.svelte-19qvehx:hover path.svelte-19qvehx{stroke-width:3px}p.svelte-19qvehx.svelte-19qvehx,pre.svelte-19qvehx.svelte-19qvehx{max-width:300px}pre.svelte-19qvehx.svelte-19qvehx{font-size:0.6em;line-height:0.5}",Dc(document.head,o)),ga(Fe(r),t,Sa,wa,Uc,{server:0,open:1,assetsUrl:2}),r}return n}(ya);function Oa(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Ke(t);if(e){var o=Ke(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return We(this,n)}}function ja(t){var e,n,r,o,i;return{c:function(){e=Nc("div"),Vc(n=Nc("img"),"class","chat-button svelte-xlhtz"),Vc(n,"alt","Open chatbot"),n.src!==(r="".concat(t[0],"/embed/open-button.svg"))&&Vc(n,"src",r),Vc(e,"class","chat-button-wrapper svelte-xlhtz")},m:function(r,c){zc(r,e,c),Dc(e,n),o||(i=Kc(n,"click",t[1]),o=!0)},p:function(t,e){1&He(e,1)[0]&&n.src!==(r="".concat(t[0],"/embed/open-button.svg"))&&Vc(n,"src",r)},i:_c,o:_c,d:function(t){t&&Fc(e),o=!1,i()}}}function Aa(t,e,n){var r=e.assetsUrl;return t.$set=function(t){"assetsUrl"in t&&n(0,r=t.assetsUrl)},[r,function(e){Qc(t,e)}]}var Ra=function(t){Be(n,t);var e=Oa(n);function n(t){var r,o;return ze(this,n),r=e.call(this),document.getElementById("svelte-xlhtz-style")||((o=Nc("style")).id="svelte-xlhtz-style",o.textContent=".svelte-xlhtz,.svelte-xlhtz:before,.svelte-xlhtz:after{box-sizing:border-box}.chat-button-wrapper.svelte-xlhtz{position:fixed !important;right:2em;bottom:2em;width:6em;height:6em;z-index:999}.chat-button.svelte-xlhtz{display:block;height:100%;cursor:pointer;border-radius:50%;box-shadow:9px 9px 16px rgba(0, 0, 0, 0.25);transition:transform 100ms, box-shadow 100ms}.chat-button.svelte-xlhtz:hover{box-shadow:16px 16px 16px rgba(0, 0, 0, 0.2);transform:translateY(-2px)}",Dc(document.head,o)),ga(Fe(r),t,Aa,ja,Uc,{assetsUrl:0}),r}return n}(ya),ka=function(t){var e=window.addEventListener?"addEventListener":"attachEvent";(0,window[e])("attachEvent"===e?"onmessage":"message",(function(e){var n,r,o=e.data;switch(o.type){case"webclient.expand.window":t(o.devices);break;case"webclient.change.url":r=o.url,document.location.href=r;break;case"google.tag.event":n=o.payload,window.gtag?window.gtag("event","",n):window.dataLayer&&window.dataLayer.push(n)}}),!1)};ke("match",1,(function(t,e,n){return[function(e){var n=st(this),r=null==e?void 0:e[t];return void 0!==r?r.call(e,n):new RegExp(e)[t](String(n))},function(t){var r=n(e,t,this);if(r.done)return r.value;var o=l(t),i=String(this);if(!o.global)return Le(o,i);var c=o.unicode;o.lastIndex=0;for(var a,u=[],s=0;null!==(a=Le(o,i));){var f=String(a[0]);u[s]=f,""===f&&(o.lastIndex=qe(i,xt(o.lastIndex),c)),s++}return 0===s?null:u}]}));var Pa=function(){navigator.userAgent.match(/(iPad|iPhone|iPod)/g)&&document.querySelectorAll("html, body").forEach((function(t){t.classList.add("iOS-device")}))},Ia=e((function(t,e){var n;n=function(){function t(){for(var t=0,e={};t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}function e(t){return t.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}return function n(r){function o(){}function i(e,n,i){if("undefined"!=typeof document){"number"==typeof(i=t({path:"/"},o.defaults,i)).expires&&(i.expires=new Date(1*new Date+864e5*i.expires)),i.expires=i.expires?i.expires.toUTCString():"";try{var c=JSON.stringify(n);/^[\{\[]/.test(c)&&(n=c)}catch(t){}n=r.write?r.write(n,e):encodeURIComponent(String(n)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),e=encodeURIComponent(String(e)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var a="";for(var u in i)i[u]&&(a+="; "+u,!0!==i[u]&&(a+="="+i[u].split(";")[0]));return document.cookie=e+"="+n+a}}function c(t,n){if("undefined"!=typeof document){for(var o={},i=document.cookie?document.cookie.split("; "):[],c=0;c<i.length;c++){var a=i[c].split("="),u=a.slice(1).join("=");n||'"'!==u.charAt(0)||(u=u.slice(1,-1));try{var s=e(a[0]);if(u=(r.read||r)(u,s)||e(u),n)try{u=JSON.parse(u)}catch(t){}if(o[s]=u,t===s)break}catch(t){}}return t?o[t]:o}}return o.set=i,o.get=function(t){return c(t,!1)},o.getJSON=function(t){return c(t,!0)},o.remove=function(e,n){i(e,"",t(n,{expires:-1}))},o.defaults={},o.withConverter=n,o}((function(){}))},t.exports=n()})),Ta=function(t){Ia.set("bot-window",t)};function $a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Ke(t);if(e){var o=Ke(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return We(this,n)}}function _a(t){var e,n,r,o,i,c,a,u;return(i=new Ra({props:{server:t[0],assetsUrl:t[1]}})).$on("click",t[3]),(a=new Ea({props:{server:t[0],assetsUrl:t[1],open:t[2]}})).$on("click",t[3]),{c:function(){e=Nc("link"),r=Wc(),o=Nc("div"),va(i.$$.fragment),c=Wc(),va(a.$$.fragment),Vc(e,"rel","stylesheet"),Vc(e,"href",n="".concat(t[1],"/embed/custom.css")),Vc(o,"id","chatbot-window"),Vc(o,"class","svelte-sr5aex")},m:function(t,n){Dc(document.head,e),zc(t,r,n),zc(t,o,n),pa(i,o,null),Dc(o,c),pa(a,o,null),u=!0},p:function(t,r){var o=He(r,1)[0];(!u||2&o&&n!==(n="".concat(t[1],"/embed/custom.css")))&&Vc(e,"href",n);var c={};1&o&&(c.server=t[0]),2&o&&(c.assetsUrl=t[1]),i.$set(c);var s={};1&o&&(s.server=t[0]),2&o&&(s.assetsUrl=t[1]),4&o&&(s.open=t[2]),a.$set(s)},i:function(t){u||(fa(i.$$.fragment,t),fa(a.$$.fragment,t),u=!0)},o:function(t){la(i.$$.fragment,t),la(a.$$.fragment,t),u=!1},d:function(t){Fc(e),t&&Fc(r),t&&Fc(o),da(i),da(a)}}}function Ca(t,e,n){var r=e.server,o=e.assetsUrl,i=void 0===o?r?r.split("?")[0]:void 0:o;Pa();var c=function(){switch(Ia.get("bot-window")){case"open":return!0;case"closed":default:return!1}}();return ka((function(t){var e=window.innerWidth;(null==t||"all"===t||"desktop"===t&&e>=768||"mobile"===t&&e<768)&&(n(2,c=!0),Ta("open"))})),t.$set=function(t){"server"in t&&n(0,r=t.server),"assetsUrl"in t&&n(1,i=t.assetsUrl)},[r,i,c,function(){n(2,c=!c),Ta(c?"open":"closed")}]}var qa=function(t){Be(n,t);var e=$a(n);function n(t){var r,o;return ze(this,n),r=e.call(this),document.getElementById("svelte-sr5aex-style")||((o=Nc("style")).id="svelte-sr5aex-style",o.textContent="#chatbot-window.svelte-sr5aex{font-size:16px}",Dc(document.head,o)),ga(Fe(r),t,Ca,_a,Uc,{server:0,assetsUrl:1}),r}return n}(ya),La=function(t){if(t&&void 0!==t.src)return function(t){return t.dataset&&t.dataset.server}(t)||function(t){return t.src.replace(/\/embed\/bundle\.js/,"")}(t)}(document.querySelector("script#chatbot"));return console.log("Chatbot is loading from",La),new qa({target:document.body,props:{server:La}})}();
|
|
1
|
+
var app=function(){"use strict";var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(t,e){return t(e={exports:{}},e.exports),e.exports}var n=function(t){return t&&t.Math==Math&&t},r=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||Function("return this")(),o=function(t){try{return!!t()}catch(t){return!0}},i=!o((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),c={}.propertyIsEnumerable,a=Object.getOwnPropertyDescriptor,u={f:a&&!c.call({1:2},1)?function(t){var e=a(this,t);return!!e&&e.enumerable}:c},f=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},s={}.toString,l=function(t){return s.call(t).slice(8,-1)},v="".split,p=o((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==l(t)?v.call(t,""):Object(t)}:Object,d=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},h=function(t){return p(d(t))},g=function(t){return"object"==typeof t?null!==t:"function"==typeof t},y=function(t,e){if(!g(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!g(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!g(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!g(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")},m={}.hasOwnProperty,b=function(t,e){return m.call(t,e)},x=r.document,w=g(x)&&g(x.createElement),S=function(t){return w?x.createElement(t):{}},E=!i&&!o((function(){return 7!=Object.defineProperty(S("div"),"a",{get:function(){return 7}}).a})),O=Object.getOwnPropertyDescriptor,j={f:i?O:function(t,e){if(t=h(t),e=y(e,!0),E)try{return O(t,e)}catch(t){}if(b(t,e))return f(!u.f.call(t,e),t[e])}},A=function(t){if(!g(t))throw TypeError(String(t)+" is not an object");return t},k=Object.defineProperty,R={f:i?k:function(t,e,n){if(A(t),e=y(e,!0),A(n),E)try{return k(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},P=i?function(t,e,n){return R.f(t,e,f(1,n))}:function(t,e,n){return t[e]=n,t},I=function(t,e){try{P(r,t,e)}catch(n){r[t]=e}return e},T=r["__core-js_shared__"]||I("__core-js_shared__",{}),$=Function.toString;"function"!=typeof T.inspectSource&&(T.inspectSource=function(t){return $.call(t)});var _,q,C,L=T.inspectSource,M=r.WeakMap,U="function"==typeof M&&/native code/.test(L(M)),D=e((function(t){(t.exports=function(t,e){return T[t]||(T[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})})),z=0,N=Math.random(),F=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++z+N).toString(36)},B=D("keys"),G=function(t){return B[t]||(B[t]=F(t))},W={},K=r.WeakMap;if(U){var V=new K,Y=V.get,H=V.has,J=V.set;_=function(t,e){return J.call(V,t,e),e},q=function(t){return Y.call(V,t)||{}},C=function(t){return H.call(V,t)}}else{var Q=G("state");W[Q]=!0,_=function(t,e){return P(t,Q,e),e},q=function(t){return b(t,Q)?t[Q]:{}},C=function(t){return b(t,Q)}}var X={set:_,get:q,has:C,enforce:function(t){return C(t)?q(t):_(t,{})},getterFor:function(t){return function(e){var n;if(!g(e)||(n=q(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}},Z=e((function(t){var e=X.get,n=X.enforce,o=String(String).split("String");(t.exports=function(t,e,i,c){var a=!!c&&!!c.unsafe,u=!!c&&!!c.enumerable,f=!!c&&!!c.noTargetGet;"function"==typeof i&&("string"!=typeof e||b(i,"name")||P(i,"name",e),n(i).source=o.join("string"==typeof e?e:"")),t!==r?(a?!f&&t[e]&&(u=!0):delete t[e],u?t[e]=i:P(t,e,i)):u?t[e]=i:I(e,i)})(Function.prototype,"toString",(function(){return"function"==typeof this&&e(this).source||L(this)}))})),tt=r,et=function(t){return"function"==typeof t?t:void 0},nt=function(t,e){return arguments.length<2?et(tt[t])||et(r[t]):tt[t]&&tt[t][e]||r[t]&&r[t][e]},rt=Math.ceil,ot=Math.floor,it=function(t){return isNaN(t=+t)?0:(t>0?ot:rt)(t)},ct=Math.min,at=function(t){return t>0?ct(it(t),9007199254740991):0},ut=Math.max,ft=Math.min,st=function(t,e){var n=it(t);return n<0?ut(n+e,0):ft(n,e)},lt=function(t){return function(e,n,r){var o,i=h(e),c=at(i.length),a=st(r,c);if(t&&n!=n){for(;c>a;)if((o=i[a++])!=o)return!0}else for(;c>a;a++)if((t||a in i)&&i[a]===n)return t||a||0;return!t&&-1}},vt={includes:lt(!0),indexOf:lt(!1)},pt=vt.indexOf,dt=function(t,e){var n,r=h(t),o=0,i=[];for(n in r)!b(W,n)&&b(r,n)&&i.push(n);for(;e.length>o;)b(r,n=e[o++])&&(~pt(i,n)||i.push(n));return i},ht=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],gt=ht.concat("length","prototype"),yt={f:Object.getOwnPropertyNames||function(t){return dt(t,gt)}},mt={f:Object.getOwnPropertySymbols},bt=nt("Reflect","ownKeys")||function(t){var e=yt.f(A(t)),n=mt.f;return n?e.concat(n(t)):e},xt=function(t,e){for(var n=bt(e),r=R.f,o=j.f,i=0;i<n.length;i++){var c=n[i];b(t,c)||r(t,c,o(e,c))}},wt=/#|\.prototype\./,St=function(t,e){var n=Ot[Et(t)];return n==At||n!=jt&&("function"==typeof e?o(e):!!e)},Et=St.normalize=function(t){return String(t).replace(wt,".").toLowerCase()},Ot=St.data={},jt=St.NATIVE="N",At=St.POLYFILL="P",kt=St,Rt=j.f,Pt=function(t,e){var n,o,i,c,a,u=t.target,f=t.global,s=t.stat;if(n=f?r:s?r[u]||I(u,{}):(r[u]||{}).prototype)for(o in e){if(c=e[o],i=t.noTargetGet?(a=Rt(n,o))&&a.value:n[o],!kt(f?o:u+(s?".":"#")+o,t.forced)&&void 0!==i){if(typeof c==typeof i)continue;xt(c,i)}(t.sham||i&&i.sham)&&P(c,"sham",!0),Z(n,o,c,t)}},It=function(){var t=A(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e};function Tt(t,e){return RegExp(t,e)}var $t,_t,qt={UNSUPPORTED_Y:o((function(){var t=Tt("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),BROKEN_CARET:o((function(){var t=Tt("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},Ct=RegExp.prototype.exec,Lt=String.prototype.replace,Mt=Ct,Ut=($t=/a/,_t=/b*/g,Ct.call($t,"a"),Ct.call(_t,"a"),0!==$t.lastIndex||0!==_t.lastIndex),Dt=qt.UNSUPPORTED_Y||qt.BROKEN_CARET,zt=void 0!==/()??/.exec("")[1];(Ut||zt||Dt)&&(Mt=function(t){var e,n,r,o,i=this,c=Dt&&i.sticky,a=It.call(i),u=i.source,f=0,s=t;return c&&(-1===(a=a.replace("y","")).indexOf("g")&&(a+="g"),s=String(t).slice(i.lastIndex),i.lastIndex>0&&(!i.multiline||i.multiline&&"\n"!==t[i.lastIndex-1])&&(u="(?: "+u+")",s=" "+s,f++),n=new RegExp("^(?:"+u+")",a)),zt&&(n=new RegExp("^"+u+"$(?!\\s)",a)),Ut&&(e=i.lastIndex),r=Ct.call(c?n:i,s),c?r?(r.input=r.input.slice(f),r[0]=r[0].slice(f),r.index=i.lastIndex,i.lastIndex+=r[0].length):i.lastIndex=0:Ut&&r&&(i.lastIndex=i.global?r.index+r[0].length:e),zt&&r&&r.length>1&&Lt.call(r[0],n,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r});var Nt=Mt;Pt({target:"RegExp",proto:!0,forced:/./.exec!==Nt},{exec:Nt});var Ft=!!Object.getOwnPropertySymbols&&!o((function(){return!String(Symbol())})),Bt=Ft&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Gt=D("wks"),Wt=r.Symbol,Kt=Bt?Wt:Wt&&Wt.withoutSetter||F,Vt=function(t){return b(Gt,t)||(Ft&&b(Wt,t)?Gt[t]=Wt[t]:Gt[t]=Kt("Symbol."+t)),Gt[t]},Yt=Vt("species"),Ht=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),Jt="$0"==="a".replace(/./,"$0"),Qt=Vt("replace"),Xt=!!/./[Qt]&&""===/./[Qt]("a","$0"),Zt=!o((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),te=function(t,e,n,r){var i=Vt(t),c=!o((function(){var e={};return e[i]=function(){return 7},7!=""[t](e)})),a=c&&!o((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[Yt]=function(){return n},n.flags="",n[i]=/./[i]),n.exec=function(){return e=!0,null},n[i](""),!e}));if(!c||!a||"replace"===t&&(!Ht||!Jt||Xt)||"split"===t&&!Zt){var u=/./[i],f=n(i,""[t],(function(t,e,n,r,o){return e.exec===Nt?c&&!o?{done:!0,value:u.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}),{REPLACE_KEEPS_$0:Jt,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:Xt}),s=f[0],l=f[1];Z(String.prototype,t,s),Z(RegExp.prototype,i,2==e?function(t,e){return l.call(t,this,e)}:function(t){return l.call(t,this)})}r&&P(RegExp.prototype[i],"sham",!0)},ee=Vt("match"),ne=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t},re=Vt("species"),oe=function(t,e){var n,r=A(t).constructor;return void 0===r||null==(n=A(r)[re])?e:ne(n)},ie=function(t){return function(e,n){var r,o,i=String(d(e)),c=it(n),a=i.length;return c<0||c>=a?t?"":void 0:(r=i.charCodeAt(c))<55296||r>56319||c+1===a||(o=i.charCodeAt(c+1))<56320||o>57343?t?i.charAt(c):r:t?i.slice(c,c+2):o-56320+(r-55296<<10)+65536}},ce={codeAt:ie(!1),charAt:ie(!0)},ae=ce.charAt,ue=function(t,e,n){return e+(n?ae(t,e).length:1)},fe=function(t,e){var n=t.exec;if("function"==typeof n){var r=n.call(t,e);if("object"!=typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==l(t))throw TypeError("RegExp#exec called on incompatible receiver");return Nt.call(t,e)},se=[].push,le=Math.min,ve=!o((function(){return!RegExp(4294967295,"y")}));function pe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function de(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function he(t,e){return(he=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function ge(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}}),e&&he(t,e)}function ye(t){return(ye="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function me(t,e){return!e||"object"!==ye(e)&&"function"!=typeof e?de(t):e}function be(t){return(be=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function xe(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function we(t,e){if(t){if("string"==typeof t)return xe(t,e);var n=Object.prototype.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)?xe(t,e):void 0}}function Se(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var n=[],r=!0,o=!1,i=void 0;try{for(var c,a=t[Symbol.iterator]();!(r=(c=a.next()).done)&&(n.push(c.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==a.return||a.return()}finally{if(o)throw i}}return n}}(t,e)||we(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}te("split",2,(function(t,e,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var r,o,i=String(d(this)),c=void 0===n?4294967295:n>>>0;if(0===c)return[];if(void 0===t)return[i];if(!g(r=t)||!(void 0!==(o=r[ee])?o:"RegExp"==l(r)))return e.call(i,t,c);for(var a,u,f,s=[],v=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),p=0,h=new RegExp(t.source,v+"g");(a=Nt.call(h,i))&&!((u=h.lastIndex)>p&&(s.push(i.slice(p,a.index)),a.length>1&&a.index<i.length&&se.apply(s,a.slice(1)),f=a[0].length,p=u,s.length>=c));)h.lastIndex===a.index&&h.lastIndex++;return p===i.length?!f&&h.test("")||s.push(""):s.push(i.slice(p)),s.length>c?s.slice(0,c):s}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function(e,n){var o=d(this),i=null==e?void 0:e[t];return void 0!==i?i.call(e,o,n):r.call(String(o),e,n)},function(t,o){var i=n(r,t,this,o,r!==e);if(i.done)return i.value;var c=A(t),a=String(this),u=oe(c,RegExp),f=c.unicode,s=(c.ignoreCase?"i":"")+(c.multiline?"m":"")+(c.unicode?"u":"")+(ve?"y":"g"),l=new u(ve?c:"^(?:"+c.source+")",s),v=void 0===o?4294967295:o>>>0;if(0===v)return[];if(0===a.length)return null===fe(l,a)?[a]:[];for(var p=0,d=0,h=[];d<a.length;){l.lastIndex=ve?d:0;var g,y=fe(l,ve?a:a.slice(d));if(null===y||(g=le(at(l.lastIndex+(ve?0:d)),a.length))===p)d=ue(a,d,f);else{if(h.push(a.slice(p,d)),h.length===v)return h;for(var m=1;m<=y.length-1;m++)if(h.push(y[m]),h.length===v)return h;d=p=g}}return h.push(a.slice(p)),h}]}),!ve);var Ee,Oe=Array.isArray||function(t){return"Array"==l(t)},je=function(t){return Object(d(t))},Ae=Object.keys||function(t){return dt(t,ht)},ke=i?Object.defineProperties:function(t,e){A(t);for(var n,r=Ae(e),o=r.length,i=0;o>i;)R.f(t,n=r[i++],e[n]);return t},Re=nt("document","documentElement"),Pe=G("IE_PROTO"),Ie=function(){},Te=function(t){return"<script>"+t+"<\/script>"},$e=function(){try{Ee=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,e;$e=Ee?function(t){t.write(Te("")),t.close();var e=t.parentWindow.Object;return t=null,e}(Ee):((e=S("iframe")).style.display="none",Re.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(Te("document.F=Object")),t.close(),t.F);for(var n=ht.length;n--;)delete $e.prototype[ht[n]];return $e()};W[Pe]=!0;var _e=Object.create||function(t,e){var n;return null!==t?(Ie.prototype=A(t),n=new Ie,Ie.prototype=null,n[Pe]=t):n=$e(),void 0===e?n:ke(n,e)},qe=yt.f,Ce={}.toString,Le="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Me={f:function(t){return Le&&"[object Window]"==Ce.call(t)?function(t){try{return qe(t)}catch(t){return Le.slice()}}(t):qe(h(t))}},Ue={f:Vt},De=R.f,ze=function(t){var e=tt.Symbol||(tt.Symbol={});b(e,t)||De(e,t,{value:Ue.f(t)})},Ne=R.f,Fe=Vt("toStringTag"),Be=function(t,e,n){t&&!b(t=n?t:t.prototype,Fe)&&Ne(t,Fe,{configurable:!0,value:e})},Ge=function(t,e,n){if(ne(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}},We=Vt("species"),Ke=function(t,e){var n;return Oe(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!Oe(n.prototype)?g(n)&&null===(n=n[We])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)},Ve=[].push,Ye=function(t){var e=1==t,n=2==t,r=3==t,o=4==t,i=6==t,c=5==t||i;return function(a,u,f,s){for(var l,v,d=je(a),h=p(d),g=Ge(u,f,3),y=at(h.length),m=0,b=s||Ke,x=e?b(a,y):n?b(a,0):void 0;y>m;m++)if((c||m in h)&&(v=g(l=h[m],m,d),t))if(e)x[m]=v;else if(v)switch(t){case 3:return!0;case 5:return l;case 6:return m;case 2:Ve.call(x,l)}else if(o)return!1;return i?-1:r||o?o:x}},He={forEach:Ye(0),map:Ye(1),filter:Ye(2),some:Ye(3),every:Ye(4),find:Ye(5),findIndex:Ye(6)},Je=He.forEach,Qe=G("hidden"),Xe=Vt("toPrimitive"),Ze=X.set,tn=X.getterFor("Symbol"),en=Object.prototype,nn=r.Symbol,rn=nt("JSON","stringify"),on=j.f,cn=R.f,an=Me.f,un=u.f,fn=D("symbols"),sn=D("op-symbols"),ln=D("string-to-symbol-registry"),vn=D("symbol-to-string-registry"),pn=D("wks"),dn=r.QObject,hn=!dn||!dn.prototype||!dn.prototype.findChild,gn=i&&o((function(){return 7!=_e(cn({},"a",{get:function(){return cn(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=on(en,e);r&&delete en[e],cn(t,e,n),r&&t!==en&&cn(en,e,r)}:cn,yn=function(t,e){var n=fn[t]=_e(nn.prototype);return Ze(n,{type:"Symbol",tag:t,description:e}),i||(n.description=e),n},mn=Bt?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof nn},bn=function(t,e,n){t===en&&bn(sn,e,n),A(t);var r=y(e,!0);return A(n),b(fn,r)?(n.enumerable?(b(t,Qe)&&t[Qe][r]&&(t[Qe][r]=!1),n=_e(n,{enumerable:f(0,!1)})):(b(t,Qe)||cn(t,Qe,f(1,{})),t[Qe][r]=!0),gn(t,r,n)):cn(t,r,n)},xn=function(t,e){A(t);var n=h(e),r=Ae(n).concat(On(n));return Je(r,(function(e){i&&!wn.call(n,e)||bn(t,e,n[e])})),t},wn=function(t){var e=y(t,!0),n=un.call(this,e);return!(this===en&&b(fn,e)&&!b(sn,e))&&(!(n||!b(this,e)||!b(fn,e)||b(this,Qe)&&this[Qe][e])||n)},Sn=function(t,e){var n=h(t),r=y(e,!0);if(n!==en||!b(fn,r)||b(sn,r)){var o=on(n,r);return!o||!b(fn,r)||b(n,Qe)&&n[Qe][r]||(o.enumerable=!0),o}},En=function(t){var e=an(h(t)),n=[];return Je(e,(function(t){b(fn,t)||b(W,t)||n.push(t)})),n},On=function(t){var e=t===en,n=an(e?sn:h(t)),r=[];return Je(n,(function(t){!b(fn,t)||e&&!b(en,t)||r.push(fn[t])})),r};if(Ft||(Z((nn=function(){if(this instanceof nn)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=F(t),n=function(t){this===en&&n.call(sn,t),b(this,Qe)&&b(this[Qe],e)&&(this[Qe][e]=!1),gn(this,e,f(1,t))};return i&&hn&&gn(en,e,{configurable:!0,set:n}),yn(e,t)}).prototype,"toString",(function(){return tn(this).tag})),Z(nn,"withoutSetter",(function(t){return yn(F(t),t)})),u.f=wn,R.f=bn,j.f=Sn,yt.f=Me.f=En,mt.f=On,Ue.f=function(t){return yn(Vt(t),t)},i&&(cn(nn.prototype,"description",{configurable:!0,get:function(){return tn(this).description}}),Z(en,"propertyIsEnumerable",wn,{unsafe:!0}))),Pt({global:!0,wrap:!0,forced:!Ft,sham:!Ft},{Symbol:nn}),Je(Ae(pn),(function(t){ze(t)})),Pt({target:"Symbol",stat:!0,forced:!Ft},{for:function(t){var e=String(t);if(b(ln,e))return ln[e];var n=nn(e);return ln[e]=n,vn[n]=e,n},keyFor:function(t){if(!mn(t))throw TypeError(t+" is not a symbol");if(b(vn,t))return vn[t]},useSetter:function(){hn=!0},useSimple:function(){hn=!1}}),Pt({target:"Object",stat:!0,forced:!Ft,sham:!i},{create:function(t,e){return void 0===e?_e(t):xn(_e(t),e)},defineProperty:bn,defineProperties:xn,getOwnPropertyDescriptor:Sn}),Pt({target:"Object",stat:!0,forced:!Ft},{getOwnPropertyNames:En,getOwnPropertySymbols:On}),Pt({target:"Object",stat:!0,forced:o((function(){mt.f(1)}))},{getOwnPropertySymbols:function(t){return mt.f(je(t))}}),rn){var jn=!Ft||o((function(){var t=nn();return"[null]"!=rn([t])||"{}"!=rn({a:t})||"{}"!=rn(Object(t))}));Pt({target:"JSON",stat:!0,forced:jn},{stringify:function(t,e,n){for(var r,o=[t],i=1;arguments.length>i;)o.push(arguments[i++]);if(r=e,(g(e)||void 0!==t)&&!mn(t))return Oe(e)||(e=function(t,e){if("function"==typeof r&&(e=r.call(this,t,e)),!mn(e))return e}),o[1]=e,rn.apply(null,o)}})}nn.prototype[Xe]||P(nn.prototype,Xe,nn.prototype.valueOf),Be(nn,"Symbol"),W[Qe]=!0;var An=R.f,kn=r.Symbol;if(i&&"function"==typeof kn&&(!("description"in kn.prototype)||void 0!==kn().description)){var Rn={},Pn=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof Pn?new kn(t):void 0===t?kn():kn(t);return""===t&&(Rn[e]=!0),e};xt(Pn,kn);var In=Pn.prototype=kn.prototype;In.constructor=Pn;var Tn=In.toString,$n="Symbol(test)"==String(kn("test")),_n=/^Symbol\((.*)\)[^)]+$/;An(In,"description",{configurable:!0,get:function(){var t=g(this)?this.valueOf():this,e=Tn.call(t);if(b(Rn,t))return"";var n=$n?e.slice(7,-1):e.replace(_n,"$1");return""===n?void 0:n}}),Pt({global:!0,forced:!0},{Symbol:Pn})}ze("iterator");var qn,Cn,Ln=function(t,e,n){var r=y(e);r in t?R.f(t,r,f(0,n)):t[r]=n},Mn=nt("navigator","userAgent")||"",Un=r.process,Dn=Un&&Un.versions,zn=Dn&&Dn.v8;zn?Cn=(qn=zn.split("."))[0]+qn[1]:Mn&&(!(qn=Mn.match(/Edge\/(\d+)/))||qn[1]>=74)&&(qn=Mn.match(/Chrome\/(\d+)/))&&(Cn=qn[1]);var Nn=Cn&&+Cn,Fn=Vt("species"),Bn=function(t){return Nn>=51||!o((function(){var e=[];return(e.constructor={})[Fn]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},Gn=Vt("isConcatSpreadable"),Wn=Nn>=51||!o((function(){var t=[];return t[Gn]=!1,t.concat()[0]!==t})),Kn=Bn("concat"),Vn=function(t){if(!g(t))return!1;var e=t[Gn];return void 0!==e?!!e:Oe(t)};Pt({target:"Array",proto:!0,forced:!Wn||!Kn},{concat:function(t){var e,n,r,o,i,c=je(this),a=Ke(c,0),u=0;for(e=-1,r=arguments.length;e<r;e++)if(Vn(i=-1===e?c:arguments[e])){if(u+(o=at(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<o;n++,u++)n in i&&Ln(a,u,i[n])}else{if(u>=9007199254740991)throw TypeError("Maximum allowed index exceeded");Ln(a,u++,i)}return a.length=u,a}});var Yn=Vt("unscopables"),Hn=Array.prototype;null==Hn[Yn]&&R.f(Hn,Yn,{configurable:!0,value:_e(null)});var Jn=function(t){Hn[Yn][t]=!0};Pt({target:"Array",proto:!0},{fill:function(t){for(var e=je(this),n=at(e.length),r=arguments.length,o=st(r>1?arguments[1]:void 0,n),i=r>2?arguments[2]:void 0,c=void 0===i?n:st(i,n);c>o;)e[o++]=t;return e}}),Jn("fill");var Qn=Object.defineProperty,Xn={},Zn=function(t){throw t},tr=function(t,e){if(b(Xn,t))return Xn[t];e||(e={});var n=[][t],r=!!b(e,"ACCESSORS")&&e.ACCESSORS,c=b(e,0)?e[0]:Zn,a=b(e,1)?e[1]:void 0;return Xn[t]=!!n&&!o((function(){if(r&&!i)return!0;var t={length:-1};r?Qn(t,1,{enumerable:!0,get:Zn}):t[1]=1,n.call(t,c,a)}))},er=He.filter,nr=Bn("filter"),rr=tr("filter");Pt({target:"Array",proto:!0,forced:!nr||!rr},{filter:function(t){return er(this,t,arguments.length>1?arguments[1]:void 0)}});var or=function(t,e){var n=[][t];return!!n&&o((function(){n.call(null,e||function(){throw 1},1)}))},ir=He.forEach,cr=or("forEach"),ar=tr("forEach"),ur=cr&&ar?[].forEach:function(t){return ir(this,t,arguments.length>1?arguments[1]:void 0)};Pt({target:"Array",proto:!0,forced:[].forEach!=ur},{forEach:ur});var fr=function(t,e,n,r){try{return r?e(A(n)[0],n[1]):e(n)}catch(e){var o=t.return;throw void 0!==o&&A(o.call(t)),e}},sr={},lr=Vt("iterator"),vr=Array.prototype,pr=function(t){return void 0!==t&&(sr.Array===t||vr[lr]===t)},dr={};dr[Vt("toStringTag")]="z";var hr="[object z]"===String(dr),gr=Vt("toStringTag"),yr="Arguments"==l(function(){return arguments}()),mr=hr?l:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),gr))?n:yr?l(e):"Object"==(r=l(e))&&"function"==typeof e.callee?"Arguments":r},br=Vt("iterator"),xr=function(t){if(null!=t)return t[br]||t["@@iterator"]||sr[mr(t)]},wr=Vt("iterator"),Sr=!1;try{var Er=0,Or={next:function(){return{done:!!Er++}},return:function(){Sr=!0}};Or[wr]=function(){return this},Array.from(Or,(function(){throw 2}))}catch(t){}var jr=function(t,e){if(!e&&!Sr)return!1;var n=!1;try{var r={};r[wr]=function(){return{next:function(){return{done:n=!0}}}},t(r)}catch(t){}return n},Ar=!jr((function(t){Array.from(t)}));Pt({target:"Array",stat:!0,forced:Ar},{from:function(t){var e,n,r,o,i,c,a=je(t),u="function"==typeof this?this:Array,f=arguments.length,s=f>1?arguments[1]:void 0,l=void 0!==s,v=xr(a),p=0;if(l&&(s=Ge(s,f>2?arguments[2]:void 0,2)),null==v||u==Array&&pr(v))for(n=new u(e=at(a.length));e>p;p++)c=l?s(a[p],p):a[p],Ln(n,p,c);else for(i=(o=v.call(a)).next,n=new u;!(r=i.call(o)).done;p++)c=l?fr(o,s,[r.value,p],!0):r.value,Ln(n,p,c);return n.length=p,n}});var kr=vt.indexOf,Rr=[].indexOf,Pr=!!Rr&&1/[1].indexOf(1,-0)<0,Ir=or("indexOf"),Tr=tr("indexOf",{ACCESSORS:!0,1:0});Pt({target:"Array",proto:!0,forced:Pr||!Ir||!Tr},{indexOf:function(t){return Pr?Rr.apply(this,arguments)||0:kr(this,t,arguments.length>1?arguments[1]:void 0)}});var $r,_r,qr,Cr=!o((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),Lr=G("IE_PROTO"),Mr=Object.prototype,Ur=Cr?Object.getPrototypeOf:function(t){return t=je(t),b(t,Lr)?t[Lr]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?Mr:null},Dr=Vt("iterator"),zr=!1;[].keys&&("next"in(qr=[].keys())?(_r=Ur(Ur(qr)))!==Object.prototype&&($r=_r):zr=!0),null==$r&&($r={}),b($r,Dr)||P($r,Dr,(function(){return this}));var Nr={IteratorPrototype:$r,BUGGY_SAFARI_ITERATORS:zr},Fr=Nr.IteratorPrototype,Br=function(){return this},Gr=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),e=n instanceof Array}catch(t){}return function(n,r){return A(n),function(t){if(!g(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype")}(r),e?t.call(n,r):n.__proto__=r,n}}():void 0),Wr=Nr.IteratorPrototype,Kr=Nr.BUGGY_SAFARI_ITERATORS,Vr=Vt("iterator"),Yr=function(){return this},Hr=function(t,e,n,r,o,i,c){!function(t,e,n){var r=e+" Iterator";t.prototype=_e(Fr,{next:f(1,n)}),Be(t,r,!1),sr[r]=Br}(n,e,r);var a,u,s,l=function(t){if(t===o&&g)return g;if(!Kr&&t in d)return d[t];switch(t){case"keys":case"values":case"entries":return function(){return new n(this,t)}}return function(){return new n(this)}},v=e+" Iterator",p=!1,d=t.prototype,h=d[Vr]||d["@@iterator"]||o&&d[o],g=!Kr&&h||l(o),y="Array"==e&&d.entries||h;if(y&&(a=Ur(y.call(new t)),Wr!==Object.prototype&&a.next&&(Ur(a)!==Wr&&(Gr?Gr(a,Wr):"function"!=typeof a[Vr]&&P(a,Vr,Yr)),Be(a,v,!0))),"values"==o&&h&&"values"!==h.name&&(p=!0,g=function(){return h.call(this)}),d[Vr]!==g&&P(d,Vr,g),sr[e]=g,o)if(u={values:l("values"),keys:i?g:l("keys"),entries:l("entries")},c)for(s in u)(Kr||p||!(s in d))&&Z(d,s,u[s]);else Pt({target:e,proto:!0,forced:Kr||p},u);return u},Jr=X.set,Qr=X.getterFor("Array Iterator"),Xr=Hr(Array,"Array",(function(t,e){Jr(this,{type:"Array Iterator",target:h(t),index:0,kind:e})}),(function(){var t=Qr(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}}),"values");sr.Arguments=sr.Array,Jn("keys"),Jn("values"),Jn("entries");var Zr=[].join,to=p!=Object,eo=or("join",",");Pt({target:"Array",proto:!0,forced:to||!eo},{join:function(t){return Zr.call(h(this),void 0===t?",":t)}});var no=He.map,ro=Bn("map"),oo=tr("map");Pt({target:"Array",proto:!0,forced:!ro||!oo},{map:function(t){return no(this,t,arguments.length>1?arguments[1]:void 0)}});var io=Bn("slice"),co=tr("slice",{ACCESSORS:!0,0:0,1:2}),ao=Vt("species"),uo=[].slice,fo=Math.max;Pt({target:"Array",proto:!0,forced:!io||!co},{slice:function(t,e){var n,r,o,i=h(this),c=at(i.length),a=st(t,c),u=st(void 0===e?c:e,c);if(Oe(i)&&("function"!=typeof(n=i.constructor)||n!==Array&&!Oe(n.prototype)?g(n)&&null===(n=n[ao])&&(n=void 0):n=void 0,n===Array||void 0===n))return uo.call(i,a,u);for(r=new(void 0===n?Array:n)(fo(u-a,0)),o=0;a<u;a++,o++)a in i&&Ln(r,o,i[a]);return r.length=o,r}});var so=Bn("splice"),lo=tr("splice",{ACCESSORS:!0,0:0,1:2}),vo=Math.max,po=Math.min;Pt({target:"Array",proto:!0,forced:!so||!lo},{splice:function(t,e){var n,r,o,i,c,a,u=je(this),f=at(u.length),s=st(t,f),l=arguments.length;if(0===l?n=r=0:1===l?(n=0,r=f-s):(n=l-2,r=po(vo(it(e),0),f-s)),f+n-r>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(o=Ke(u,r),i=0;i<r;i++)(c=s+i)in u&&Ln(o,i,u[c]);if(o.length=r,n<r){for(i=s;i<f-r;i++)a=i+n,(c=i+r)in u?u[a]=u[c]:delete u[a];for(i=f;i>f-r+n;i--)delete u[i-1]}else if(n>r)for(i=f-r;i>s;i--)a=i+n-1,(c=i+r-1)in u?u[a]=u[c]:delete u[a];for(i=0;i<n;i++)u[i+s]=arguments[i+2];return u.length=f-r+n,o}});var ho=R.f,go=Function.prototype,yo=go.toString,mo=/^\s*function ([^ (]*)/;i&&!("name"in go)&&ho(go,"name",{configurable:!0,get:function(){try{return yo.call(this).match(mo)[1]}catch(t){return""}}});var bo=!o((function(){return Object.isExtensible(Object.preventExtensions({}))})),xo=e((function(t){var e=R.f,n=F("meta"),r=0,o=Object.isExtensible||function(){return!0},i=function(t){e(t,n,{value:{objectID:"O"+ ++r,weakData:{}}})},c=t.exports={REQUIRED:!1,fastKey:function(t,e){if(!g(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!b(t,n)){if(!o(t))return"F";if(!e)return"E";i(t)}return t[n].objectID},getWeakData:function(t,e){if(!b(t,n)){if(!o(t))return!0;if(!e)return!1;i(t)}return t[n].weakData},onFreeze:function(t){return bo&&c.REQUIRED&&o(t)&&!b(t,n)&&i(t),t}};W[n]=!0})),wo=(xo.REQUIRED,xo.fastKey,xo.getWeakData,xo.onFreeze,e((function(t){var e=function(t,e){this.stopped=t,this.result=e};(t.exports=function(t,n,r,o,i){var c,a,u,f,s,l,v,p=Ge(n,r,o?2:1);if(i)c=t;else{if("function"!=typeof(a=xr(t)))throw TypeError("Target is not iterable");if(pr(a)){for(u=0,f=at(t.length);f>u;u++)if((s=o?p(A(v=t[u])[0],v[1]):p(t[u]))&&s instanceof e)return s;return new e(!1)}c=a.call(t)}for(l=c.next;!(v=l.call(c)).done;)if("object"==typeof(s=fr(c,p,v.value,o))&&s&&s instanceof e)return s;return new e(!1)}).stop=function(t){return new e(!0,t)}}))),So=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t},Eo=function(t,e,n){var i=-1!==t.indexOf("Map"),c=-1!==t.indexOf("Weak"),a=i?"set":"add",u=r[t],f=u&&u.prototype,s=u,l={},v=function(t){var e=f[t];Z(f,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(c&&!g(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return c&&!g(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(c&&!g(t))&&e.call(this,0===t?0:t)}:function(t,n){return e.call(this,0===t?0:t,n),this})};if(kt(t,"function"!=typeof u||!(c||f.forEach&&!o((function(){(new u).entries().next()})))))s=n.getConstructor(e,t,i,a),xo.REQUIRED=!0;else if(kt(t,!0)){var p=new s,d=p[a](c?{}:-0,1)!=p,h=o((function(){p.has(1)})),y=jr((function(t){new u(t)})),m=!c&&o((function(){for(var t=new u,e=5;e--;)t[a](e,e);return!t.has(-0)}));y||((s=e((function(e,n){So(e,s,t);var r=function(t,e,n){var r,o;return Gr&&"function"==typeof(r=e.constructor)&&r!==n&&g(o=r.prototype)&&o!==n.prototype&&Gr(t,o),t}(new u,e,s);return null!=n&&wo(n,r[a],r,i),r}))).prototype=f,f.constructor=s),(h||m)&&(v("delete"),v("has"),i&&v("get")),(m||d)&&v(a),c&&f.clear&&delete f.clear}return l[t]=s,Pt({global:!0,forced:s!=u},l),Be(s,t),c||n.setStrong(s,t,i),s},Oo=function(t,e,n){for(var r in e)Z(t,r,e[r],n);return t},jo=Vt("species"),Ao=function(t){var e=nt(t),n=R.f;i&&e&&!e[jo]&&n(e,jo,{configurable:!0,get:function(){return this}})},ko=R.f,Ro=xo.fastKey,Po=X.set,Io=X.getterFor,To={getConstructor:function(t,e,n,r){var o=t((function(t,c){So(t,o,e),Po(t,{type:e,index:_e(null),first:void 0,last:void 0,size:0}),i||(t.size=0),null!=c&&wo(c,t[r],t,n)})),c=Io(e),a=function(t,e,n){var r,o,a=c(t),f=u(t,e);return f?f.value=n:(a.last=f={index:o=Ro(e,!0),key:e,value:n,previous:r=a.last,next:void 0,removed:!1},a.first||(a.first=f),r&&(r.next=f),i?a.size++:t.size++,"F"!==o&&(a.index[o]=f)),t},u=function(t,e){var n,r=c(t),o=Ro(e);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==e)return n};return Oo(o.prototype,{clear:function(){for(var t=c(this),e=t.index,n=t.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete e[n.index],n=n.next;t.first=t.last=void 0,i?t.size=0:this.size=0},delete:function(t){var e=c(this),n=u(this,t);if(n){var r=n.next,o=n.previous;delete e.index[n.index],n.removed=!0,o&&(o.next=r),r&&(r.previous=o),e.first==n&&(e.first=r),e.last==n&&(e.last=o),i?e.size--:this.size--}return!!n},forEach:function(t){for(var e,n=c(this),r=Ge(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.next:n.first;)for(r(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!u(this,t)}}),Oo(o.prototype,n?{get:function(t){var e=u(this,t);return e&&e.value},set:function(t,e){return a(this,0===t?0:t,e)}}:{add:function(t){return a(this,t=0===t?0:t,t)}}),i&&ko(o.prototype,"size",{get:function(){return c(this).size}}),o},setStrong:function(t,e,n){var r=e+" Iterator",o=Io(e),i=Io(r);Hr(t,e,(function(t,e){Po(this,{type:r,target:t,state:o(t),kind:e,last:void 0})}),(function(){for(var t=i(this),e=t.kind,n=t.last;n&&n.removed;)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?"keys"==e?{value:n.key,done:!1}:"values"==e?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),Ao(e)}},$o=(Eo("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),To),Object.assign),_o=Object.defineProperty,qo=!$o||o((function(){if(i&&1!==$o({b:1},$o(_o({},"a",{enumerable:!0,get:function(){_o(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol();return t[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(t){e[t]=t})),7!=$o({},t)[n]||"abcdefghijklmnopqrst"!=Ae($o({},e)).join("")}))?function(t,e){for(var n=je(t),r=arguments.length,o=1,c=mt.f,a=u.f;r>o;)for(var f,s=p(arguments[o++]),l=c?Ae(s).concat(c(s)):Ae(s),v=l.length,d=0;v>d;)f=l[d++],i&&!a.call(s,f)||(n[f]=s[f]);return n}:$o;Pt({target:"Object",stat:!0,forced:Object.assign!==qo},{assign:qo}),Pt({target:"Object",stat:!0,sham:!i},{getOwnPropertyDescriptors:function(t){for(var e,n,r=h(t),o=j.f,i=bt(r),c={},a=0;i.length>a;)void 0!==(n=o(r,e=i[a++]))&&Ln(c,e,n);return c}});var Co=o((function(){Ae(1)}));Pt({target:"Object",stat:!0,forced:Co},{keys:function(t){return Ae(je(t))}});var Lo=hr?{}.toString:function(){return"[object "+mr(this)+"]"};hr||Z(Object.prototype,"toString",Lo,{unsafe:!0});var Mo,Uo,Do,zo=r.Promise,No=/(iphone|ipod|ipad).*applewebkit/i.test(Mn),Fo=r.location,Bo=r.setImmediate,Go=r.clearImmediate,Wo=r.process,Ko=r.MessageChannel,Vo=r.Dispatch,Yo=0,Ho={},Jo=function(t){if(Ho.hasOwnProperty(t)){var e=Ho[t];delete Ho[t],e()}},Qo=function(t){return function(){Jo(t)}},Xo=function(t){Jo(t.data)},Zo=function(t){r.postMessage(t+"",Fo.protocol+"//"+Fo.host)};Bo&&Go||(Bo=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return Ho[++Yo]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},Mo(Yo),Yo},Go=function(t){delete Ho[t]},"process"==l(Wo)?Mo=function(t){Wo.nextTick(Qo(t))}:Vo&&Vo.now?Mo=function(t){Vo.now(Qo(t))}:Ko&&!No?(Do=(Uo=new Ko).port2,Uo.port1.onmessage=Xo,Mo=Ge(Do.postMessage,Do,1)):!r.addEventListener||"function"!=typeof postMessage||r.importScripts||o(Zo)||"file:"===Fo.protocol?Mo="onreadystatechange"in S("script")?function(t){Re.appendChild(S("script")).onreadystatechange=function(){Re.removeChild(this),Jo(t)}}:function(t){setTimeout(Qo(t),0)}:(Mo=Zo,r.addEventListener("message",Xo,!1)));var ti,ei,ni,ri,oi,ii,ci,ai,ui={set:Bo,clear:Go},fi=j.f,si=ui.set,li=r.MutationObserver||r.WebKitMutationObserver,vi=r.process,pi=r.Promise,di="process"==l(vi),hi=fi(r,"queueMicrotask"),gi=hi&&hi.value;gi||(ti=function(){var t,e;for(di&&(t=vi.domain)&&t.exit();ei;){e=ei.fn,ei=ei.next;try{e()}catch(t){throw ei?ri():ni=void 0,t}}ni=void 0,t&&t.enter()},di?ri=function(){vi.nextTick(ti)}:li&&!No?(oi=!0,ii=document.createTextNode(""),new li(ti).observe(ii,{characterData:!0}),ri=function(){ii.data=oi=!oi}):pi&&pi.resolve?(ci=pi.resolve(void 0),ai=ci.then,ri=function(){ai.call(ci,ti)}):ri=function(){si.call(r,ti)});var yi,mi,bi,xi,wi=gi||function(t){var e={fn:t,next:void 0};ni&&(ni.next=e),ei||(ei=e,ri()),ni=e},Si=function(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=ne(e),this.reject=ne(n)},Ei={f:function(t){return new Si(t)}},Oi=function(t,e){if(A(t),g(e)&&e.constructor===t)return e;var n=Ei.f(t);return(0,n.resolve)(e),n.promise},ji=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}},Ai=ui.set,ki=Vt("species"),Ri="Promise",Pi=X.get,Ii=X.set,Ti=X.getterFor(Ri),$i=zo,_i=r.TypeError,qi=r.document,Ci=r.process,Li=nt("fetch"),Mi=Ei.f,Ui=Mi,Di="process"==l(Ci),zi=!!(qi&&qi.createEvent&&r.dispatchEvent),Ni=kt(Ri,(function(){if(!(L($i)!==String($i))){if(66===Nn)return!0;if(!Di&&"function"!=typeof PromiseRejectionEvent)return!0}if(Nn>=51&&/native code/.test($i))return!1;var t=$i.resolve(1),e=function(t){t((function(){}),(function(){}))};return(t.constructor={})[ki]=e,!(t.then((function(){}))instanceof e)})),Fi=Ni||!jr((function(t){$i.all(t).catch((function(){}))})),Bi=function(t){var e;return!(!g(t)||"function"!=typeof(e=t.then))&&e},Gi=function(t,e,n){if(!e.notified){e.notified=!0;var r=e.reactions;wi((function(){for(var o=e.value,i=1==e.state,c=0;r.length>c;){var a,u,f,s=r[c++],l=i?s.ok:s.fail,v=s.resolve,p=s.reject,d=s.domain;try{l?(i||(2===e.rejection&&Yi(t,e),e.rejection=1),!0===l?a=o:(d&&d.enter(),a=l(o),d&&(d.exit(),f=!0)),a===s.promise?p(_i("Promise-chain cycle")):(u=Bi(a))?u.call(a,v,p):v(a)):p(o)}catch(t){d&&!f&&d.exit(),p(t)}}e.reactions=[],e.notified=!1,n&&!e.rejection&&Ki(t,e)}))}},Wi=function(t,e,n){var o,i;zi?((o=qi.createEvent("Event")).promise=e,o.reason=n,o.initEvent(t,!1,!0),r.dispatchEvent(o)):o={promise:e,reason:n},(i=r["on"+t])?i(o):"unhandledrejection"===t&&function(t,e){var n=r.console;n&&n.error&&(1===arguments.length?n.error(t):n.error(t,e))}("Unhandled promise rejection",n)},Ki=function(t,e){Ai.call(r,(function(){var n,r=e.value;if(Vi(e)&&(n=ji((function(){Di?Ci.emit("unhandledRejection",r,t):Wi("unhandledrejection",t,r)})),e.rejection=Di||Vi(e)?2:1,n.error))throw n.value}))},Vi=function(t){return 1!==t.rejection&&!t.parent},Yi=function(t,e){Ai.call(r,(function(){Di?Ci.emit("rejectionHandled",t):Wi("rejectionhandled",t,e.value)}))},Hi=function(t,e,n,r){return function(o){t(e,n,o,r)}},Ji=function(t,e,n,r){e.done||(e.done=!0,r&&(e=r),e.value=n,e.state=2,Gi(t,e,!0))},Qi=function(t,e,n,r){if(!e.done){e.done=!0,r&&(e=r);try{if(t===n)throw _i("Promise can't be resolved itself");var o=Bi(n);o?wi((function(){var r={done:!1};try{o.call(n,Hi(Qi,t,r,e),Hi(Ji,t,r,e))}catch(n){Ji(t,r,n,e)}})):(e.value=n,e.state=1,Gi(t,e,!1))}catch(n){Ji(t,{done:!1},n,e)}}};Ni&&($i=function(t){So(this,$i,Ri),ne(t),yi.call(this);var e=Pi(this);try{t(Hi(Qi,this,e),Hi(Ji,this,e))}catch(t){Ji(this,e,t)}},(yi=function(t){Ii(this,{type:Ri,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=Oo($i.prototype,{then:function(t,e){var n=Ti(this),r=Mi(oe(this,$i));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=Di?Ci.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&Gi(this,n,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),mi=function(){var t=new yi,e=Pi(t);this.promise=t,this.resolve=Hi(Qi,t,e),this.reject=Hi(Ji,t,e)},Ei.f=Mi=function(t){return t===$i||t===bi?new mi(t):Ui(t)},"function"==typeof zo&&(xi=zo.prototype.then,Z(zo.prototype,"then",(function(t,e){var n=this;return new $i((function(t,e){xi.call(n,t,e)})).then(t,e)}),{unsafe:!0}),"function"==typeof Li&&Pt({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return Oi($i,Li.apply(r,arguments))}}))),Pt({global:!0,wrap:!0,forced:Ni},{Promise:$i}),Be($i,Ri,!1),Ao(Ri),bi=nt(Ri),Pt({target:Ri,stat:!0,forced:Ni},{reject:function(t){var e=Mi(this);return e.reject.call(void 0,t),e.promise}}),Pt({target:Ri,stat:!0,forced:Ni},{resolve:function(t){return Oi(this,t)}}),Pt({target:Ri,stat:!0,forced:Fi},{all:function(t){var e=this,n=Mi(e),r=n.resolve,o=n.reject,i=ji((function(){var n=ne(e.resolve),i=[],c=0,a=1;wo(t,(function(t){var u=c++,f=!1;i.push(void 0),a++,n.call(e,t).then((function(t){f||(f=!0,i[u]=t,--a||r(i))}),o)})),--a||r(i)}));return i.error&&o(i.value),n.promise},race:function(t){var e=this,n=Mi(e),r=n.reject,o=ji((function(){var o=ne(e.resolve);wo(t,(function(t){o.call(e,t).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}});Eo("Set",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),To);var Xi=ce.charAt,Zi=X.set,tc=X.getterFor("String Iterator");Hr(String,"String",(function(t){Zi(this,{type:"String Iterator",string:String(t),index:0})}),(function(){var t,e=tc(this),n=e.string,r=e.index;return r>=n.length?{value:void 0,done:!0}:(t=Xi(n,r),e.index+=t.length,{value:t,done:!1})}));var ec=Math.max,nc=Math.min,rc=Math.floor,oc=/\$([$&'`]|\d\d?|<[^>]*>)/g,ic=/\$([$&'`]|\d\d?)/g;te("replace",2,(function(t,e,n,r){var o=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,i=r.REPLACE_KEEPS_$0,c=o?"$":"$0";return[function(n,r){var o=d(this),i=null==n?void 0:n[t];return void 0!==i?i.call(n,o,r):e.call(String(o),n,r)},function(t,r){if(!o&&i||"string"==typeof r&&-1===r.indexOf(c)){var u=n(e,t,this,r);if(u.done)return u.value}var f=A(t),s=String(this),l="function"==typeof r;l||(r=String(r));var v=f.global;if(v){var p=f.unicode;f.lastIndex=0}for(var d=[];;){var h=fe(f,s);if(null===h)break;if(d.push(h),!v)break;""===String(h[0])&&(f.lastIndex=ue(s,at(f.lastIndex),p))}for(var g,y="",m=0,b=0;b<d.length;b++){h=d[b];for(var x=String(h[0]),w=ec(nc(it(h.index),s.length),0),S=[],E=1;E<h.length;E++)S.push(void 0===(g=h[E])?g:String(g));var O=h.groups;if(l){var j=[x].concat(S,w,s);void 0!==O&&j.push(O);var k=String(r.apply(void 0,j))}else k=a(x,s,w,S,O,r);w>=m&&(y+=s.slice(m,w)+k,m=w+x.length)}return y+s.slice(m)}];function a(t,n,r,o,i,c){var a=r+t.length,u=o.length,f=ic;return void 0!==i&&(i=je(i),f=oc),e.call(c,f,(function(e,c){var f;switch(c.charAt(0)){case"$":return"$";case"&":return t;case"`":return n.slice(0,r);case"'":return n.slice(a);case"<":f=i[c.slice(1,-1)];break;default:var s=+c;if(0===s)return e;if(s>u){var l=rc(s/10);return 0===l?e:l<=u?void 0===o[l-1]?c.charAt(1):o[l-1]+c.charAt(1):e}f=o[s-1]}return void 0===f?"":f}))}}));var cc=/"/g;Pt({target:"String",proto:!0,forced:function(t){return o((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}))}("anchor")},{anchor:function(t){return e="a",n="name",r=t,o=String(d(this)),i="<"+e,""!==n&&(i+=" "+n+'="'+String(r).replace(cc,""")+'"'),i+">"+o+"</"+e+">";var e,n,r,o,i}});var ac={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0};for(var uc in ac){var fc=r[uc],sc=fc&&fc.prototype;if(sc&&sc.forEach!==ur)try{P(sc,"forEach",ur)}catch(t){sc.forEach=ur}}var lc,vc=Vt("iterator"),pc=Vt("toStringTag"),dc=Xr.values;for(var hc in ac){var gc=r[hc],yc=gc&&gc.prototype;if(yc){if(yc[vc]!==dc)try{P(yc,vc,dc)}catch(t){yc[vc]=dc}if(yc[pc]||P(yc,pc,hc),ac[hc])for(var mc in Xr)if(yc[mc]!==Xr[mc])try{P(yc,mc,Xr[mc])}catch(t){yc[mc]=Xr[mc]}}}function bc(t){return function(t){if(Array.isArray(t))return xe(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||we(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function xc(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,r.key,r)}}function wc(){}function Sc(t){return t()}function Ec(){return Object.create(null)}function Oc(t){t.forEach(Sc)}function jc(t){return"function"==typeof t}function Ac(t,e){return t!=t?e==e:t!==e||t&&"object"===ye(t)||"function"==typeof t}function kc(t,e){t.appendChild(e)}function Rc(t,e,n){t.insertBefore(e,n||null)}function Pc(t){t.parentNode.removeChild(t)}function Ic(t){return document.createElement(t)}function Tc(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function $c(t){return document.createTextNode(t)}function _c(){return $c(" ")}function qc(t,e,n,r){return t.addEventListener(e,n,r),function(){return t.removeEventListener(e,n,r)}}function Cc(t,e,n){null==n?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function Lc(t){return Array.from(t.childNodes)}function Mc(t,e,n){t.classList[n?"add":"remove"](e)}function Uc(t){lc=t}function Dc(t,e){var n=t.$$.callbacks[e.type];n&&n.slice().forEach((function(t){return t(e)}))}var zc=[],Nc=[],Fc=[],Bc=[],Gc=Promise.resolve(),Wc=!1;function Kc(t){Fc.push(t)}var Vc=!1,Yc=new Set;function Hc(){if(!Vc){Vc=!0;do{for(var t=0;t<zc.length;t+=1){var e=zc[t];Uc(e),Jc(e.$$)}for(zc.length=0;Nc.length;)Nc.pop()();for(var n=0;n<Fc.length;n+=1){var r=Fc[n];Yc.has(r)||(Yc.add(r),r())}Fc.length=0}while(zc.length);for(;Bc.length;)Bc.pop()();Wc=!1,Vc=!1,Yc.clear()}}function Jc(t){if(null!==t.fragment){t.update(),Oc(t.before_update);var e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(Kc)}}var Qc=new Set;function Xc(t,e){t&&t.i&&(Qc.delete(t),t.i(e))}function Zc(t,e,n,r){if(t&&t.o){if(Qc.has(t))return;Qc.add(t),(void 0).c.push((function(){Qc.delete(t),r&&(n&&t.d(1),r())})),t.o(e)}}var ta="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function ea(t){t&&t.c()}function na(t,e,n){var r=t.$$,o=r.fragment,i=r.on_mount,c=r.on_destroy,a=r.after_update;o&&o.m(e,n),Kc((function(){var e=i.map(Sc).filter(jc);c?c.push.apply(c,bc(e)):Oc(e),t.$$.on_mount=[]})),a.forEach(Kc)}function ra(t,e){var n=t.$$;null!==n.fragment&&(Oc(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function oa(t,e){-1===t.$$.dirty[0]&&(zc.push(t),Wc||(Wc=!0,Gc.then(Hc)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function ia(t,e,n,r,o,i){var c=arguments.length>6&&void 0!==arguments[6]?arguments[6]:[-1],a=lc;Uc(t);var u=e.props||{},f=t.$$={fragment:null,ctx:null,props:i,update:wc,not_equal:o,bound:Ec(),on_mount:[],on_destroy:[],before_update:[],after_update:[],context:new Map(a?a.$$.context:[]),callbacks:Ec(),dirty:c},s=!1;if(f.ctx=n?n(t,u,(function(e,n){var r=!(arguments.length<=2)&&arguments.length-2?arguments.length<=2?void 0:arguments[2]:n;return f.ctx&&o(f.ctx[e],f.ctx[e]=r)&&(f.bound[e]&&f.bound[e](r),s&&oa(t,e)),n})):[],f.update(),s=!0,Oc(f.before_update),f.fragment=!!r&&r(f.ctx),e.target){if(e.hydrate){var l=Lc(e.target);f.fragment&&f.fragment.l(l),l.forEach(Pc)}else f.fragment&&f.fragment.c();e.intro&&Xc(t.$$.fragment),na(t,e.target,e.anchor),Hc()}Uc(a)}var ca=function(){function t(){pe(this,t)}var e,n,r;return e=t,(n=[{key:"$destroy",value:function(){ra(this,1),this.$destroy=wc}},{key:"$on",value:function(t,e){var n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(e),function(){var t=n.indexOf(e);-1!==t&&n.splice(t,1)}}},{key:"$set",value:function(){}}])&&xc(e.prototype,n),r&&xc(e,r),t}();function aa(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=be(t);if(e){var o=be(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return me(this,n)}}function ua(t){var e,n,r;return{c:function(){(e=Ic("p")).textContent="Please make sure that the script tag has 'id=\"chatbot\"' and the attribute\n 'data-server' with the full qualified URL to the chatbot-server.",n=_c(),(r=Ic("pre")).innerHTML='<code class="svelte-19qvehx"><script\n <br class="svelte-19qvehx">\n id="chatbot"\n <br class="svelte-19qvehx">\n data-server="https://server.com/webclient"\n <br class="svelte-19qvehx">\n defer\n <br class="svelte-19qvehx">\n src="https://server.com/webclient/embed/bundle.js"> </script></code>',Cc(e,"class","svelte-19qvehx"),Cc(r,"class","svelte-19qvehx")},m:function(t,o){Rc(t,e,o),Rc(t,n,o),Rc(t,r,o)},p:wc,d:function(t){t&&Pc(e),t&&Pc(n),t&&Pc(r)}}}function fa(t){var e,n,r,o,i,c,a,u,f,s,l,v;return{c:function(){e=Ic("div"),n=Ic("div"),r=Ic("img"),i=_c(),c=Tc("svg"),a=Tc("path"),u=_c(),f=Ic("iframe"),r.src!==(o="".concat(t[2],"/embed/logo.svg"))&&Cc(r,"src",o),Cc(r,"alt","Logo"),Cc(r,"class","svelte-19qvehx"),Cc(a,"d","M0,0L20,20M20,0L0,20"),Cc(a,"class","svelte-19qvehx"),Cc(c,"viewBox","-2 -2 24 24"),Cc(c,"class","svelte-19qvehx"),Cc(n,"class","header svelte-19qvehx"),Cc(f,"id","chat-frame"),Cc(f,"title","chatbot"),Cc(f,"class","bot svelte-19qvehx"),f.src!==(s=t[0])&&Cc(f,"src",s),Cc(f,"frameborder","0"),f.allowFullscreen="",Cc(e,"class","bot-border svelte-19qvehx"),Mc(e,"closed",!t[1])},m:function(o,s){Rc(o,e,s),kc(e,n),kc(n,r),kc(n,i),kc(n,c),kc(c,a),kc(e,u),kc(e,f),l||(v=qc(c,"click",t[3]),l=!0)},p:function(t,n){4&n&&r.src!==(o="".concat(t[2],"/embed/logo.svg"))&&Cc(r,"src",o),1&n&&f.src!==(s=t[0])&&Cc(f,"src",s),2&n&&Mc(e,"closed",!t[1])},d:function(t){t&&Pc(e),l=!1,v()}}}function sa(t){var e;function n(t,e){return t[0]?fa:ua}var r=n(t),o=r(t);return{c:function(){o.c(),e=$c("")},m:function(t,n){o.m(t,n),Rc(t,e,n)},p:function(t,i){var c=Se(i,1)[0];r===(r=n(t))&&o?o.p(t,c):(o.d(1),(o=r(t))&&(o.c(),o.m(e.parentNode,e)))},i:wc,o:wc,d:function(t){o.d(t),t&&Pc(e)}}}function la(t,e,n){var r=e.server,o=e.open,i=e.assetsUrl;return t.$set=function(t){"server"in t&&n(0,r=t.server),"open"in t&&n(1,o=t.open),"assetsUrl"in t&&n(2,i=t.assetsUrl)},[r,o,i,function(e){Dc(t,e)}]}var va=function(t){ge(n,t);var e=aa(n);function n(t){var r,o;return pe(this,n),r=e.call(this),document.getElementById("svelte-19qvehx-style")||((o=Ic("style")).id="svelte-19qvehx-style",o.textContent=".svelte-19qvehx.svelte-19qvehx,.svelte-19qvehx.svelte-19qvehx:before,.svelte-19qvehx.svelte-19qvehx:after{box-sizing:border-box}.bot-border.svelte-19qvehx.svelte-19qvehx{position:fixed !important;display:flex;flex-direction:column;bottom:0;height:85vh;width:100%;border-width:0;border-radius:12px;box-shadow:rgba(0, 0, 0, 0.24) 0px 16px 40px;background:rgba(255, 255, 255, 0.93);opacity:1;transition:transform 200ms, opacity 100ms 100ms, all 150ms;z-index:1000}.bot-border.closed.svelte-19qvehx.svelte-19qvehx{transform:translateY(85vh);opacity:0}.header.svelte-19qvehx.svelte-19qvehx{display:flex;justify-content:space-between;width:100%;height:3.5em;padding:0.5em 1em;color:white;background-color:#3f4143}.bot.svelte-19qvehx.svelte-19qvehx{display:block;width:100%;flex:1 0 auto}@media screen and (min-width: 768px){.bot-border.svelte-19qvehx.svelte-19qvehx{height:38em;max-height:calc(100vh - 2rem);width:23em;right:1em;bottom:1em;left:auto}.bot-border.closed.svelte-19qvehx.svelte-19qvehx{transform:translateY(38em);opacity:0}}img.svelte-19qvehx.svelte-19qvehx{display:block;height:100%}svg.svelte-19qvehx.svelte-19qvehx{height:100%;padding:0.4em;cursor:pointer}svg.svelte-19qvehx path.svelte-19qvehx{transition:stroke-width 100ms;stroke:white;stroke-width:2px}svg.svelte-19qvehx:hover path.svelte-19qvehx{stroke-width:3px}p.svelte-19qvehx.svelte-19qvehx,pre.svelte-19qvehx.svelte-19qvehx{max-width:300px}pre.svelte-19qvehx.svelte-19qvehx{font-size:0.6em;line-height:0.5}",kc(document.head,o)),ia(de(r),t,la,sa,Ac,{server:0,open:1,assetsUrl:2}),r}return n}(ca);function pa(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=be(t);if(e){var o=be(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return me(this,n)}}function da(t){var e,n,r,o,i;return{c:function(){e=Ic("div"),Cc(n=Ic("img"),"class","chat-button svelte-xlhtz"),Cc(n,"alt","Open chatbot"),n.src!==(r="".concat(t[0],"/embed/open-button.svg"))&&Cc(n,"src",r),Cc(e,"class","chat-button-wrapper svelte-xlhtz")},m:function(r,c){Rc(r,e,c),kc(e,n),o||(i=qc(n,"click",t[1]),o=!0)},p:function(t,e){1&Se(e,1)[0]&&n.src!==(r="".concat(t[0],"/embed/open-button.svg"))&&Cc(n,"src",r)},i:wc,o:wc,d:function(t){t&&Pc(e),o=!1,i()}}}function ha(t,e,n){var r=e.assetsUrl;return t.$set=function(t){"assetsUrl"in t&&n(0,r=t.assetsUrl)},[r,function(e){Dc(t,e)}]}var ga=function(t){ge(n,t);var e=pa(n);function n(t){var r,o;return pe(this,n),r=e.call(this),document.getElementById("svelte-xlhtz-style")||((o=Ic("style")).id="svelte-xlhtz-style",o.textContent=".svelte-xlhtz,.svelte-xlhtz:before,.svelte-xlhtz:after{box-sizing:border-box}.chat-button-wrapper.svelte-xlhtz{position:fixed !important;right:2em;bottom:2em;width:6em;height:6em;z-index:999}.chat-button.svelte-xlhtz{display:block;height:100%;cursor:pointer;border-radius:50%;box-shadow:9px 9px 16px rgba(0, 0, 0, 0.25);transition:transform 100ms, box-shadow 100ms}.chat-button.svelte-xlhtz:hover{box-shadow:16px 16px 16px rgba(0, 0, 0, 0.2);transform:translateY(-2px)}",kc(document.head,o)),ia(de(r),t,ha,da,Ac,{assetsUrl:0}),r}return n}(ca),ya=function(t,e){var n=window.addEventListener?"addEventListener":"attachEvent";(0,window[n])("attachEvent"===n?"onmessage":"message",(function(n){var r,o=n.data;switch(o.type){case"webclient.expand.window":t(o.devices);break;case"webclient.change.url":e(o.url);break;case"google.tag.event":r=o.payload,window.gtag?window.gtag("event","",r):window.dataLayer&&window.dataLayer.push(r)}}),!1)};te("match",1,(function(t,e,n){return[function(e){var n=d(this),r=null==e?void 0:e[t];return void 0!==r?r.call(e,n):new RegExp(e)[t](String(n))},function(t){var r=n(e,t,this);if(r.done)return r.value;var o=A(t),i=String(this);if(!o.global)return fe(o,i);var c=o.unicode;o.lastIndex=0;for(var a,u=[],f=0;null!==(a=fe(o,i));){var s=String(a[0]);u[f]=s,""===s&&(o.lastIndex=ue(i,at(o.lastIndex),c)),f++}return 0===f?null:u}]}));var ma=function(){navigator.userAgent.match(/(iPad|iPhone|iPod)/g)&&document.querySelectorAll("html, body").forEach((function(t){t.classList.add("iOS-device")}))},ba=e((function(t,e){var n;n=function(){function t(){for(var t=0,e={};t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}function e(t){return t.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}return function n(r){function o(){}function i(e,n,i){if("undefined"!=typeof document){"number"==typeof(i=t({path:"/"},o.defaults,i)).expires&&(i.expires=new Date(1*new Date+864e5*i.expires)),i.expires=i.expires?i.expires.toUTCString():"";try{var c=JSON.stringify(n);/^[\{\[]/.test(c)&&(n=c)}catch(t){}n=r.write?r.write(n,e):encodeURIComponent(String(n)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),e=encodeURIComponent(String(e)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var a="";for(var u in i)i[u]&&(a+="; "+u,!0!==i[u]&&(a+="="+i[u].split(";")[0]));return document.cookie=e+"="+n+a}}function c(t,n){if("undefined"!=typeof document){for(var o={},i=document.cookie?document.cookie.split("; "):[],c=0;c<i.length;c++){var a=i[c].split("="),u=a.slice(1).join("=");n||'"'!==u.charAt(0)||(u=u.slice(1,-1));try{var f=e(a[0]);if(u=(r.read||r)(u,f)||e(u),n)try{u=JSON.parse(u)}catch(t){}if(o[f]=u,t===f)break}catch(t){}}return t?o[t]:o}}return o.set=i,o.get=function(t){return c(t,!1)},o.getJSON=function(t){return c(t,!0)},o.remove=function(e,n){i(e,"",t(n,{expires:-1}))},o.defaults={},o.withConverter=n,o}((function(){}))},t.exports=n()})),xa=function(t){ba.set("bot-window",t)};function wa(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=be(t);if(e){var o=be(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return me(this,n)}}var Sa=ta.document;function Ea(t){var e,n,r,o,i,c,a,u;return(i=new ga({props:{server:t[0],assetsUrl:t[1]}})).$on("click",t[3]),(a=new va({props:{server:t[0],assetsUrl:t[1],open:t[2]}})).$on("click",t[3]),{c:function(){e=Ic("link"),r=_c(),o=Ic("div"),ea(i.$$.fragment),c=_c(),ea(a.$$.fragment),Cc(e,"rel","stylesheet"),Cc(e,"href",n="".concat(t[1],"/embed/custom.css")),Cc(o,"id","chatbot-window"),Cc(o,"class","svelte-sr5aex")},m:function(t,n){kc(Sa.head,e),Rc(t,r,n),Rc(t,o,n),na(i,o,null),kc(o,c),na(a,o,null),u=!0},p:function(t,r){var o=Se(r,1)[0];(!u||2&o&&n!==(n="".concat(t[1],"/embed/custom.css")))&&Cc(e,"href",n);var c={};1&o&&(c.server=t[0]),2&o&&(c.assetsUrl=t[1]),i.$set(c);var f={};1&o&&(f.server=t[0]),2&o&&(f.assetsUrl=t[1]),4&o&&(f.open=t[2]),a.$set(f)},i:function(t){u||(Xc(i.$$.fragment,t),Xc(a.$$.fragment,t),u=!0)},o:function(t){Zc(i.$$.fragment,t),Zc(a.$$.fragment,t),u=!1},d:function(t){Pc(e),t&&Pc(r),t&&Pc(o),ra(i),ra(a)}}}function Oa(t,e,n){var r=e.server,o=e.assetsUrl,i=void 0===o?r?r.split("?")[0]:void 0:o;ma();var c=function(){switch(ba.get("bot-window")){case"open":return!0;case"closed":default:return!1}}();function a(){n(2,c=!0),xa("open")}function u(){n(2,c=!1),xa("closed")}return ya((function(t){var e=window.innerWidth;(null==t||"all"===t||"desktop"===t&&e>=768||"mobile"===t&&e<768)&&a()}),(function(t){window.innerWidth<768&&u(),document.location.href=t})),t.$set=function(t){"server"in t&&n(0,r=t.server),"assetsUrl"in t&&n(1,i=t.assetsUrl)},[r,i,c,function(){c?u():a()}]}var ja=function(t){ge(n,t);var e=wa(n);function n(t){var r,o;return pe(this,n),r=e.call(this),Sa.getElementById("svelte-sr5aex-style")||((o=Ic("style")).id="svelte-sr5aex-style",o.textContent="#chatbot-window.svelte-sr5aex{font-size:16px}",kc(Sa.head,o)),ia(de(r),t,Oa,Ea,Ac,{server:0,assetsUrl:1}),r}return n}(ca),Aa=function(t){if(t&&void 0!==t.src)return function(t){return t.dataset&&t.dataset.server}(t)||function(t){return t.src.replace(/\/embed\/bundle\.js/,"")}(t)}(document.querySelector("script#chatbot"));return console.log("Chatbot is loading from",Aa),new ja({target:document.body,props:{server:Aa}})}();
|
|
2
2
|
//# sourceMappingURL=bundle.js.map
|