iframe-coordinator-cli 6.3.10 → 6.4.0-beta.4c9e753.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/index-CDTqnPd7.js +57 -0
- package/dist/assets/index-DEUCFuke.css +1 -0
- package/dist/favicon.svg +1 -0
- package/dist/help-circle.svg +1 -0
- package/dist/ifc-docs/.nojekyll +1 -0
- package/dist/ifc-docs/assets/hierarchy.js +1 -0
- package/dist/ifc-docs/assets/highlight.css +134 -0
- package/dist/ifc-docs/assets/icons.js +18 -0
- package/dist/ifc-docs/assets/icons.svg +1 -0
- package/dist/ifc-docs/assets/main.js +60 -0
- package/dist/ifc-docs/assets/navigation.js +1 -0
- package/dist/ifc-docs/assets/search.js +1 -0
- package/dist/ifc-docs/assets/style.css +1633 -0
- package/dist/ifc-docs/classes/client.Client.html +99 -0
- package/dist/ifc-docs/classes/host.FrameRouterElement.html +24 -0
- package/dist/ifc-docs/classes/workerClient.WorkerClient.html +91 -0
- package/dist/ifc-docs/classes/workerPool.WorkerPool.html +9 -0
- package/dist/ifc-docs/documents/client-setup.html +94 -0
- package/dist/ifc-docs/functions/host.registerCustomElements.html +3 -0
- package/dist/ifc-docs/hierarchy.html +1 -0
- package/dist/ifc-docs/index.html +43 -0
- package/dist/ifc-docs/interfaces/client.ClientConfigOptions.html +4 -0
- package/dist/ifc-docs/interfaces/host.ClientRegistration.html +24 -0
- package/dist/ifc-docs/interfaces/host.RoutingMap.html +4 -0
- package/dist/ifc-docs/modules/client.html +2 -0
- package/dist/ifc-docs/modules/host.html +1 -0
- package/dist/ifc-docs/modules/workerClient.html +1 -0
- package/dist/ifc-docs/modules/workerPool.html +1 -0
- package/dist/ifc-docs/modules.html +1 -0
- package/dist/index.html +3 -3
- package/dist/sidebar.svg +1 -0
- package/dist/tool.svg +1 -0
- package/package.json +2 -3
- package/dist/assets/index-B2xR5r34.js +0 -49
- package/dist/assets/index-BACxQIa4.css +0 -1
- package/dist/favicon.ico +0 -0
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const a of i)if(a.type==="childList")for(const o of a.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&n(o)}).observe(document,{childList:!0,subtree:!0});function r(i){const a={};return i.integrity&&(a.integrity=i.integrity),i.referrerPolicy&&(a.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?a.credentials="include":i.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function n(i){if(i.ep)return;i.ep=!0;const a=r(i);fetch(i.href,a)}})();function $u(e){return On(xr(e))}function On(e){return e.replace(/^\/+/,"")}function xr(e){return e.replace(/\/+$/,"")}const Wi=[].findIndex||function(e,t){if(this==null)throw new TypeError('"this" is null or not defined');const r=Object(this),n=r.length>>>0;if(typeof e!="function")throw new TypeError("predicate must be a function");let i=0;for(;i<n;){const a=r[i];if(e.call(t,a,i,r))return i;i++}return-1};function zi(e){return e===this}class ho{constructor(t){this._rootEmitter=t}addListener(t,r){return this._rootEmitter.addListener(t,r),this}removeListener(t,r){return this._rootEmitter.removeListener(t,r),this}removeAllListeners(t){return this._rootEmitter.removeAllListeners(t),this}}class mo{constructor(){this._events={}}addListener(t,r){this._events[t]||(this._events[t]=[]);const n=this._events[t];return Wi.call(n,zi,r)<0&&n.push(r),this}removeListener(t,r){if(!this._events[t])return this;const n=this._events[t],i=Wi.call(n,zi,r);return i>=0&&this._events[t].splice(i,1),this}removeAllListeners(t){return delete this._events[t],this}dispatch(t,r){if(!this._events[t])return!1;const n=[...this._events[t]],i=n.length;for(let a=0;a<i;a++)n[a](r);return!0}}var S={},ri={},re={},yo={},Zt={};Object.defineProperty(Zt,"__esModule",{value:!0});Zt.asAnnotation=go;Zt.isAnnotation=xu;function gr(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?gr=function(r){return typeof r}:gr=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},gr(e)}function go(e){if(gr(e)==="object"&&e!==null){if(e.type==="ObjectAnnotation")return e;if(e.type==="ArrayAnnotation")return e;if(e.type==="ScalarAnnotation")return e;if(e.type==="FunctionAnnotation")return e;if(e.type==="CircularRefAnnotation")return e}}function xu(e){return go(e)!==void 0}(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.annotateFields=c,e.default=v;var t=Zt;function r(p){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?r=function(d){return typeof d}:r=function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},r(p)}function n(p,y){return o(p)||a(p,y)||u(p,y)||i()}function i(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function a(p,y){var d=p==null?null:typeof Symbol<"u"&&p[Symbol.iterator]||p["@@iterator"];if(d!=null){var m=[],h=!0,b=!1,O,A;try{for(d=d.call(p);!(h=(O=d.next()).done)&&(m.push(O.value),!(y&&m.length===y));h=!0);}catch(E){b=!0,A=E}finally{try{!h&&d.return!=null&&d.return()}finally{if(b)throw A}}return m}}function o(p){if(Array.isArray(p))return p}function s(p,y){var d=typeof Symbol<"u"&&p[Symbol.iterator]||p["@@iterator"];if(!d){if(Array.isArray(p)||(d=u(p))||y){d&&(p=d);var m=0,h=function(){};return{s:h,n:function(){return m>=p.length?{done:!0}:{done:!1,value:p[m++]}},e:function(P){throw P},f:h}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
3
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var b=!0,O=!1,A;return{s:function(){d=d.call(p)},n:function(){var P=d.next();return b=P.done,P},e:function(P){O=!0,A=P},f:function(){try{!b&&d.return!=null&&d.return()}finally{if(O)throw A}}}}function u(p,y){if(p){if(typeof p=="string")return f(p,y);var d=Object.prototype.toString.call(p).slice(8,-1);if(d==="Object"&&p.constructor&&(d=p.constructor.name),d==="Map"||d==="Set")return Array.from(p);if(d==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(d))return f(p,y)}}function f(p,y){(y==null||y>p.length)&&(y=p.length);for(var d=0,m=new Array(y);d<y;d++)m[d]=p[d];return m}function c(p,y,d){var m=d??new WeakSet;if(m.has(p))return{type:"CircularRefAnnotation",annotation:void 0};m.add(p);var h=Object.entries(p),b=new Set(Object.keys(p)),O=s(y),A;try{for(O.s();!(A=O.n()).done;){var E=n(A.value,1),P=E[0];b.has(P)||h.push([P,void 0])}}catch(z){O.e(z)}finally{O.f()}var T=s(y),$;try{var I=function(){var F=n($.value,2),_=F[0],g=F[1];h=h.map(function(C){var x=n(C,2),R=x[0],L=x[1];return _===R?[R,typeof g=="string"?v(L,g,m):g]:[R,L]})};for(T.s();!($=T.n()).done;)I()}catch(z){T.e(z)}finally{T.f()}return l(h,void 0,m)}function l(p,y,d){var m=p.map(function(h){var b=n(h,2),O=b[0],A=b[1];return{key:O,value:v(A,void 0,d)}});return{type:"ObjectAnnotation",pairs:m,annotation:y}}function v(p,y,d){if(p==null||typeof p=="string"||typeof p=="number"||typeof p=="boolean"||typeof p.getMonth=="function")return{type:"ScalarAnnotation",value:p,annotation:y};var m=(0,t.asAnnotation)(p);if(m)return y===void 0?m:m.type==="ObjectAnnotation"?{type:"ObjectAnnotation",pairs:m.pairs,annotation:y}:m.type==="ArrayAnnotation"?{type:"ArrayAnnotation",items:m.items,annotation:y}:m.type==="FunctionAnnotation"?{type:"FunctionAnnotation",annotation:y}:m.type==="CircularRefAnnotation"?{type:"CircularRefAnnotation",annotation:y}:{type:"ScalarAnnotation",value:m.value,annotation:y};if(Array.isArray(p)){var h=d??new WeakSet;if(h.has(p))return{type:"CircularRefAnnotation",annotation:y};h.add(p);var b=p.map(function(A){return v(A,void 0,h)});return{type:"ArrayAnnotation",items:b,annotation:y}}else if(r(p)==="object"){var O=d??new WeakSet;return O.has(p)?{type:"CircularRefAnnotation",annotation:y}:(O.add(p),l(Object.entries(p),y,O))}else{if(typeof p=="function")return{type:"FunctionAnnotation",annotation:y};throw new Error("Unknown annotation")}}})(yo);var _o={},Be={};Object.defineProperty(Be,"__esModule",{value:!0});Be.asDate=Mu;Be.isMultiline=wo;Be.indent=ju;Be.INDENT=void 0;var bo=" ";Be.INDENT=bo;var Ru=function(t){return!!t&&Object.prototype.toString.call(t)==="[object Date]"&&!isNaN(t)};function Mu(e){return Ru(e)?e:null}function wo(e){var t=e.split(`
|
|
4
|
+
`).length;return t>1}function ju(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:bo;return wo(e)?e.split(`
|
|
5
|
+
`).map(function(r){return t+r}).join(`
|
|
6
|
+
`):t+e}(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.serializeValue=v,e.serializeAnnotation=p,e.default=y;var t=Be;function r(d,m){return a(d)||i(d,m)||s(d,m)||n()}function n(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
7
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function i(d,m){var h=d==null?null:typeof Symbol<"u"&&d[Symbol.iterator]||d["@@iterator"];if(h!=null){var b=[],O=!0,A=!1,E,P;try{for(h=h.call(d);!(O=(E=h.next()).done)&&(b.push(E.value),!(m&&b.length===m));O=!0);}catch(T){A=!0,P=T}finally{try{!O&&h.return!=null&&h.return()}finally{if(A)throw P}}return b}}function a(d){if(Array.isArray(d))return d}function o(d,m){var h=typeof Symbol<"u"&&d[Symbol.iterator]||d["@@iterator"];if(!h){if(Array.isArray(d)||(h=s(d))||m){h&&(d=h);var b=0,O=function(){};return{s:O,n:function(){return b>=d.length?{done:!0}:{done:!1,value:d[b++]}},e:function($){throw $},f:O}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
8
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var A=!0,E=!1,P;return{s:function(){h=h.call(d)},n:function(){var $=h.next();return A=$.done,$},e:function($){E=!0,P=$},f:function(){try{!A&&h.return!=null&&h.return()}finally{if(E)throw P}}}}function s(d,m){if(d){if(typeof d=="string")return u(d,m);var h=Object.prototype.toString.call(d).slice(8,-1);if(h==="Object"&&d.constructor&&(h=d.constructor.name),h==="Map"||h==="Set")return Array.from(d);if(h==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(h))return u(d,m)}}function u(d,m){(m==null||m>d.length)&&(m=d.length);for(var h=0,b=new Array(m);h<m;h++)b[h]=d[h];return b}function f(d){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:80,h=JSON.stringify(d);if(h.length<=m)return h;var b=d.substring(0,m-15)+"...";return h=JSON.stringify(b)+" [truncated]",h}function c(d,m){if(d.length===0)return"[]";var h=[],b=o(d),O;try{for(b.s();!(O=b.n()).done;){var A=O.value,E=p(A,m+t.INDENT),P=r(E,2),T=P[0],$=P[1];h.push(m+t.INDENT+T+","),$!==void 0&&h.push((0,t.indent)($,m+t.INDENT))}}catch(I){b.e(I)}finally{b.f()}return["["].concat(h,[m+"]"]).join(`
|
|
9
|
+
`)}function l(d,m){if(d.length===0)return"{}";var h=[],b=o(d),O;try{for(b.s();!(O=b.n()).done;){var A=O.value,E=A.key,P=A.value,T=v(E),$=m+t.INDENT+" ".repeat(T.length+2),I=p(P,m+t.INDENT),z=r(I,2),F=z[0],_=z[1];h.push(m+t.INDENT+T+": "+F+","),_!==void 0&&h.push((0,t.indent)(_,$))}}catch(g){b.e(g)}finally{b.f()}return["{"].concat(h,[m+"}"]).join(`
|
|
10
|
+
`)}function v(d){if(typeof d=="string")return f(d);if(typeof d=="number"||typeof d=="boolean")return d.toString();if(d===null)return"null";if(d===void 0)return"undefined";var m=(0,t.asDate)(d);return m!==null?"new Date(".concat(JSON.stringify(m.toISOString()),")"):d instanceof Date?"(Invalid Date)":"(unserializable)"}function p(d){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",h;d.type==="ArrayAnnotation"?h=c(d.items,m):d.type==="ObjectAnnotation"?h=l(d.pairs,m):d.type==="FunctionAnnotation"?h="function() {}":d.type==="CircularRefAnnotation"?h="<circular ref>":h=v(d.value);var b=d.annotation;if(b!==void 0){var O="^".repeat((0,t.isMultiline)(h)?1:h.length);return[h,[O,b].join((0,t.isMultiline)(b)?`
|
|
11
|
+
`:" ")]}else return[h,void 0]}function y(d){var m=p(d),h=r(m,2),b=h[0],O=h[1];return O!==void 0?"".concat(b,`
|
|
12
|
+
`).concat(O):"".concat(b)}})(_o);var Oo={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=u;function t(f){return i(f)||n(f)||o(f)||r()}function r(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
13
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function n(f){if(typeof Symbol<"u"&&f[Symbol.iterator]!=null||f["@@iterator"]!=null)return Array.from(f)}function i(f){if(Array.isArray(f))return s(f)}function a(f,c){var l=typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(!l){if(Array.isArray(f)||(l=o(f))||c){l&&(f=l);var v=0,p=function(){};return{s:p,n:function(){return v>=f.length?{done:!0}:{done:!1,value:f[v++]}},e:function(b){throw b},f:p}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
14
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var y=!0,d=!1,m;return{s:function(){l=l.call(f)},n:function(){var b=l.next();return y=b.done,b},e:function(b){d=!0,m=b},f:function(){try{!y&&l.return!=null&&l.return()}finally{if(d)throw m}}}}function o(f,c){if(f){if(typeof f=="string")return s(f,c);var l=Object.prototype.toString.call(f).slice(8,-1);if(l==="Object"&&f.constructor&&(l=f.constructor.name),l==="Map"||l==="Set")return Array.from(f);if(l==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l))return s(f,c)}}function s(f,c){(c==null||c>f.length)&&(c=f.length);for(var l=0,v=new Array(c);l<c;l++)v[l]=f[l];return v}function u(f){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],l=[];if(f.type==="ArrayAnnotation"){var v=f.items,p=0,y=a(v),d;try{for(y.s();!(d=y.n()).done;){var m=d.value;l.push.apply(l,t(u(m,[].concat(t(c),[p++]))))}}catch(T){y.e(T)}finally{y.f()}}else if(f.type==="ObjectAnnotation"){var h=f.pairs,b=a(h),O;try{for(b.s();!(O=b.n()).done;){var A=O.value;l.push.apply(l,t(u(A.value,[].concat(t(c),[A.key]))))}}catch(T){b.e(T)}finally{b.f()}}var E=f.annotation;if(!E)return l;var P;return c.length===0?P="":c.length===1?P=typeof c[0]=="number"?"Value at index ".concat(c[0],": "):"Value at key ".concat(JSON.stringify(c[0]),": "):P="Value at keypath ".concat(c.map(function(T){return T.toString()}).join("."),": "),[].concat(l,["".concat(P).concat(E)])}})(Oo);(function(e){function t(c){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(v){return typeof v}:t=function(v){return v&&typeof Symbol=="function"&&v.constructor===Symbol&&v!==Symbol.prototype?"symbol":typeof v},t(c)}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"annotate",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(e,"annotateFields",{enumerable:!0,get:function(){return r.annotateFields}}),Object.defineProperty(e,"isAnnotation",{enumerable:!0,get:function(){return n.isAnnotation}}),Object.defineProperty(e,"serialize",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"summarize",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"indent",{enumerable:!0,get:function(){return o.indent}});var r=f(yo),n=Zt,i=s(_o),a=s(Oo),o=Be;function s(c){return c&&c.__esModule?c:{default:c}}function u(c){if(typeof WeakMap!="function")return null;var l=new WeakMap,v=new WeakMap;return(u=function(y){return y?v:l})(c)}function f(c,l){if(c&&c.__esModule)return c;if(c===null||t(c)!=="object"&&typeof c!="function")return{default:c};var v=u(l);if(v&&v.has(c))return v.get(c);var p={},y=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in c)if(d!=="default"&&Object.prototype.hasOwnProperty.call(c,d)){var m=y?Object.getOwnPropertyDescriptor(c,d):null;m&&(m.get||m.set)?Object.defineProperty(p,d,m):p[d]=c[d]}return p.default=c,v&&v.set(c,p),p}})(re);Object.defineProperty(ri,"__esModule",{value:!0});ri.guard=Iu;var Co=re;function ku(e){return(0,Co.summarize)(e).join(`
|
|
15
|
+
`)}function Iu(e,t){var r=t||{},n=r.style||"inline",i=n==="inline"?Co.serialize:ku;return function(a){return e(a).mapError(function(o){var s=new Error(`
|
|
16
|
+
`+i(o));return s.name="Decoding error",s}).unwrap()}}var ae={},oe={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Err=e.Ok=e.default=void 0;function t(f,c){if(!(f instanceof c))throw new TypeError("Cannot call a class as a function")}function r(f,c){for(var l=0;l<c.length;l++){var v=c[l];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(f,v.key,v)}}function n(f,c,l){return c&&r(f.prototype,c),l&&r(f,l),f}var i="Ok",a="Err",o=function(){function f(c){t(this,f),this._r=c}return n(f,[{key:"toString",value:function(){var l=this._r;return l.type===i?"Ok(".concat(String(l.value),")"):"Err(".concat(String(l.error),")")}},{key:"isOk",value:function(){return this._r.type===i}},{key:"isErr",value:function(){return this._r.type===a}},{key:"withDefault",value:function(l){var v=this._r;return v.type===i?v.value:l}},{key:"value",value:function(){var l=this._r;return l.type===i?l.value:void 0}},{key:"errValue",value:function(){var l=this._r;return l.type===a?l.error:void 0}},{key:"unwrap",value:function(){var l=this._r;if(l.type===i)return l.value;throw l.error}},{key:"expect",value:function(l){var v=this._r;if(v.type===i)return v.value;throw l instanceof Error?l:new Error(l)}},{key:"dispatch",value:function(l,v){var p=this._r;return p.type===i?l(p.value):v(p.error)}},{key:"andThen",value:function(l){var v=this._r;return v.type===i?l(v.value):f.err(v.error)}},{key:"map",value:function(l){var v=this._r;return v.type===i?f.ok(l(v.value)):f.err(v.error)}},{key:"mapError",value:function(l){var v=this._r;return v.type===i?f.ok(v.value):f.err(l(v.error))}}],[{key:"ok",value:function(l){return new f({type:i,value:l})}},{key:"err",value:function(l){return new f({type:a,error:l})}}]),f}();e.default=o;var s=function(c){return o.ok(c)};e.Ok=s;var u=function(c){return o.err(c)};e.Err=u})(oe);Object.defineProperty(ae,"__esModule",{value:!0});ae.map=Du;ae.compose=Eo;ae.predicate=Fu;ae.isDate=void 0;var Lu=re,Cn=oe,Nu=function(t){return t!=null&&Object.prototype.toString.call(t)==="[object Date]"&&!isNaN(t)};ae.isDate=Nu;function Du(e,t){return Eo(e,function(r){return(0,Cn.Ok)(t(r))})}function Eo(e,t){return function(r){return e(r).andThen(t)}}function Fu(e,t){return function(r){return e(r)?(0,Cn.Ok)(r):(0,Cn.Err)((0,Lu.annotate)(r,t))}}var St={};Object.defineProperty(St,"__esModule",{value:!0});St.array=qu;St.poja=void 0;var En=re,Rr=oe,Uu=ae;function Hu(e){return Bu(e)||zu(e)||Wu()}function Wu(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function zu(e){if(Symbol.iterator in Object(e)||Object.prototype.toString.call(e)==="[object Arguments]")return Array.from(e)}function Bu(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}var So=function(t){return Array.isArray(t)?(0,Rr.Ok)(t.slice()):(0,Rr.Err)((0,En.annotate)(t,"Must be an array"))};St.poja=So;function Gu(e,t){var r=[],n=0,i=!0,a=!1,o=void 0;try{for(var s=e[Symbol.iterator](),u;!(i=(u=s.next()).done);i=!0){var f=u.value;try{var c=f.unwrap();r.push(c)}catch(v){var l=Hu(t);return l.splice(n,1,(0,En.annotate)(v,v.annotation!==void 0?"".concat(v.annotation," (at index ").concat(n,")"):"index ".concat(n))),(0,Rr.Err)((0,En.annotate)(l))}n++}}catch(v){a=!0,o=v}finally{try{!i&&s.return!=null&&s.return()}finally{if(a)throw o}}return(0,Rr.Ok)(r)}function Ku(e){return function(t){var r=t.map(e),n=Gu(r,t);return n}}function qu(e){return(0,Uu.compose)(So,Ku(e))}var Ao={},ge={};Object.defineProperty(ge,"__esModule",{value:!0});ge.positiveInteger=ge.integer=ge.positiveNumber=ge.number=void 0;var Ju=re,Bi=oe,Fe=ae,Yu=function(t){return typeof t=="number"&&!Number.isNaN(t)?(0,Bi.Ok)(t):(0,Bi.Err)((0,Ju.annotate)(t,"Must be number"))},Xr=(0,Fe.compose)(Yu,(0,Fe.predicate)(Number.isFinite,"Number must be finite"));ge.number=Xr;var Zu=(0,Fe.compose)(Xr,(0,Fe.predicate)(function(e){return e>=0},"Number must be positive"));ge.positiveNumber=Zu;var Xu=(0,Fe.compose)(Xr,(0,Fe.predicate)(Number.isInteger,"Number must be an integer"));ge.integer=Xu;var Qu=(0,Fe.compose)(Xr,(0,Fe.predicate)(function(e){return e>=0&&Number.isInteger(e)},"Number must be an integer"));ge.positiveInteger=Qu;(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.numericBoolean=e.truthy=e.boolean=void 0;var t=re,r=oe,n=ge,i=ae,a=function(f){return typeof f=="boolean"?(0,r.Ok)(f):(0,r.Err)((0,t.annotate)(f,"Must be boolean"))};e.boolean=a;var o=function(f){return(0,r.Ok)(!!f)};e.truthy=o;var s=(0,i.map)(n.number,function(u){return!!u});e.numericBoolean=s})(Ao);var fe={};Object.defineProperty(fe,"__esModule",{value:!0});fe.constant=tf;fe.hardcoded=rf;fe.unknown=fe.mixed=fe.undefined_=fe.null_=void 0;var ni=re,Ue=oe,Vu=function(t){return t===null?(0,Ue.Ok)(t):(0,Ue.Err)((0,ni.annotate)(t,"Must be null"))};fe.null_=Vu;var ef=function(t){return t===void 0?(0,Ue.Ok)(t):(0,Ue.Err)((0,ni.annotate)(t,"Must be undefined"))};fe.undefined_=ef;function tf(e){return function(t){return t===e?(0,Ue.Ok)(e):(0,Ue.Err)((0,ni.annotate)(t,"Must be constant ".concat(String(e))))}}function rf(e){return function(t){return(0,Ue.Ok)(e)}}var Po=function(t){return(0,Ue.Ok)(t)};fe.mixed=Po;var nf=Po;fe.unknown=nf;var Qr={};Object.defineProperty(Qr,"__esModule",{value:!0});Qr.date=void 0;var af=re,Gi=oe,of=ae,sf=function(t){return(0,of.isDate)(t)?(0,Gi.Ok)(t):(0,Gi.Err)((0,af.annotate)(t,"Must be a Date"))};Qr.date=sf;var ii={},le={};Object.defineProperty(le,"__esModule",{value:!0});le.either=xe;le.either3=To;le.either4=$o;le.either5=xo;le.either6=Ro;le.either7=Mo;le.either8=jo;le.either9=uf;le.oneOf=ff;var Dt=re,Ft=oe;function Ki(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return"-"+(0,Dt.indent)(e).substring(1)}function xe(e,t){return function(r){return e(r).dispatch(function(n){return(0,Ft.Ok)(n)},function(n){return t(r).dispatch(function(i){return(0,Ft.Ok)(i)},function(i){return(0,Ft.Err)((0,Dt.annotate)(r,["Either:",Ki((0,Dt.summarize)(n).join(`
|
|
17
|
+
`)),Ki((0,Dt.summarize)(i).join(`
|
|
18
|
+
`))].join(`
|
|
19
|
+
`)))})})}}function To(e,t,r){return xe(e,xe(t,r))}function $o(e,t,r,n){return xe(e,To(t,r,n))}function xo(e,t,r,n,i){return xe(e,$o(t,r,n,i))}function Ro(e,t,r,n,i,a){return xe(e,xo(t,r,n,i,a))}function Mo(e,t,r,n,i,a,o){return xe(e,Ro(t,r,n,i,a,o))}function jo(e,t,r,n,i,a,o,s){return xe(e,Mo(t,r,n,i,a,o,s))}function uf(e,t,r,n,i,a,o,s,u){return xe(e,jo(t,r,n,i,a,o,s,u))}function ff(e){return function(t){var r=!0,n=!1,i=void 0;try{for(var a=e[Symbol.iterator](),o;!(r=(o=a.next()).done);r=!0){var s=o.value;if(s===t)return(0,Ft.Ok)(s)}}catch(u){n=!0,i=u}finally{try{!r&&a.return!=null&&a.return()}finally{if(n)throw i}}return(0,Ft.Err)((0,Dt.annotate)(t,"Must be one of ".concat(e.map(function(u){return JSON.stringify(u)}).join(", "))))}}var Ge={};Object.defineProperty(Ge,"__esModule",{value:!0});Ge.object=Lo;Ge.exact=mf;Ge.pojo=void 0;var yt=re,Ot=oe,Sn=ae;function ko(e){return pf(e)||lf(e)||cf()}function cf(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function lf(e){if(Symbol.iterator in Object(e)||Object.prototype.toString.call(e)==="[object Arguments]")return Array.from(e)}function pf(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}function df(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(i){return Object.getOwnPropertyDescriptor(r,i).enumerable}))),n.forEach(function(i){vf(e,i,r[i])})}return e}function vf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _r(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_r=function(r){return typeof r}:_r=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_r(e)}function hf(e){return e!=null&&_r(e)==="object"&&Object.prototype.toString.call(e)==="[object Object]"}function Io(e,t){var r=new Set,n=!0,i=!1,a=void 0;try{for(var o=e[Symbol.iterator](),s;!(n=(s=o.next()).done);n=!0){var u=s.value;t.has(u)||r.add(u)}}catch(f){i=!0,a=f}finally{try{!n&&o.return!=null&&o.return()}finally{if(i)throw a}}return r}var ai=function(t){return hf(t)?(0,Ot.Ok)(df({},t)):(0,Ot.Err)((0,yt.annotate)(t,"Must be an object"))};Ge.pojo=ai;function Lo(e){var t=new Set(Object.keys(e));return(0,Sn.compose)(ai,function(r){for(var n=new Set(Object.keys(r)),i=Io(t,n),a={},o={},s=0,u=Object.keys(e);s<u.length;s++){var f=u[s],c=e[f],l=r[f],v=c(l);try{a[f]=v.unwrap(),i.delete(f)}catch(b){if(!(0,yt.isAnnotation)(b))throw b;l===void 0?i.add(f):o[f]=b}}var p=Object.keys(o);if(p.length>0||i.size>0){var y;if(p.length>0){var d=p.map(function(b){return[b,o[b]]});y=(0,yt.annotateFields)(r,d)}else y=(0,yt.annotate)(r);if(i.size>0){var m=ko(i).map(function(b){return'"'.concat(b,'"')}).join(", "),h=i.size>1?"keys":"key";y=(0,yt.annotate)(y,"Missing ".concat(h,": ").concat(m))}return(0,Ot.Err)(y)}return(0,Ot.Ok)(a)})}function mf(e){var t=new Set(Object.keys(e)),r=(0,Sn.compose)(ai,function(i){var a=new Set(Object.keys(i)),o=Io(a,t);return o.size>0?(0,Ot.Err)((0,yt.annotate)(i,"Superfluous keys: ".concat(ko(o).join(", ")))):(0,Ot.Ok)(i)}),n=Lo(e);return(0,Sn.compose)(r,n)}Object.defineProperty(ii,"__esModule",{value:!0});ii.dispatch=bf;var yf=le,gf=Ge;function _f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bf(e,t){var r=(0,gf.object)(_f({},e,(0,yf.oneOf)(Object.keys(t))));return function(n){return r(n).andThen(function(i){var a=i[e],o=t[a];return o(n)})}}var oi={};Object.defineProperty(oi,"__esModule",{value:!0});oi.fail=Cf;var wf=re,Of=oe;function Cf(e){return function(t){return(0,Of.Err)((0,wf.annotate)(t,e))}}var si={};Object.defineProperty(si,"__esModule",{value:!0});si.instanceOf=Sf;var Ef=re,qi=oe;function Sf(e){return function(t){return t instanceof e?(0,qi.Ok)(t):(0,qi.Err)((0,Ef.annotate)(t,"Must be ".concat(e.name," instance")))}}var Vr={};Object.defineProperty(Vr,"__esModule",{value:!0});Vr.mapping=Do;Vr.dict=Mf;var Ji=re,Yi=oe,Af=Ge,No=ae;function Pf(e,t){return xf(e)||$f(e,t)||Tf()}function Tf(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function $f(e,t){var r=[],n=!0,i=!1,a=void 0;try{for(var o=e[Symbol.iterator](),s;!(n=(s=o.next()).done)&&(r.push(s.value),!(t&&r.length===t));n=!0);}catch(u){i=!0,a=u}finally{try{!n&&o.return!=null&&o.return()}finally{if(i)throw a}}return r}function xf(e){if(Array.isArray(e))return e}function Do(e){return(0,No.compose)(Af.pojo,function(t){var r=[],n=[];return Object.keys(t).forEach(function(i){var a=t[i],o=e(a);try{var s=o.unwrap();n.length===0&&r.push([i,s])}catch(u){if((0,Ji.isAnnotation)(u))r.length=0,n.push([i,u]);else throw u}}),n.length>0?(0,Yi.Err)((0,Ji.annotateFields)(t,n)):(0,Yi.Ok)(new Map(r))})}function Rf(e){var t={},r=!0,n=!1,i=void 0;try{for(var a=e.entries()[Symbol.iterator](),o;!(r=(o=a.next()).done);r=!0){var s=Pf(o.value,2),u=s[0],f=s[1];t[u]=f}}catch(c){n=!0,i=c}finally{try{!r&&a.return!=null&&a.return()}finally{if(n)throw i}}return t}function Mf(e){return(0,No.map)(Do(e),Rf)}var Xt={};Object.defineProperty(Xt,"__esModule",{value:!0});Xt.optional=kf;Xt.nullable=If;Xt.maybe=Nf;var jf=re,Zi=oe,Fo=fe,ui=le;function kf(e){return(0,ui.either)(Fo.undefined_,e)}function If(e){return(0,ui.either)(Fo.null_,e)}var Lf=function(t){return t==null?(0,Zi.Ok)(t):(0,Zi.Err)((0,jf.annotate)(t,"Must be undefined or null"))};function Nf(e){return(0,ui.either)(Lf,e)}var $e={};Object.defineProperty($e,"__esModule",{value:!0});$e.regex=Uo;$e.url=$e.email=$e.string=void 0;var An=re,Ut=oe,Pn=ae,Df=/^([A-Za-z]{3,9}(?:[+][A-Za-z]{3,9})?):\/\/(?:([-;:&=+$,\w]+)@)?(?:([A-Za-z0-9.-]+)(?::([0-9]{2,5}))?)(\/(?:[-+~%/.,\w]*)?(?:\?[-+=&;%@.,\w]*)?(?:#[.,!/\w]*)?)?$/,Ff=["https"],fi=function(t){return typeof t=="string"?(0,Ut.Ok)(t):(0,Ut.Err)((0,An.annotate)(t,"Must be string"))};$e.string=fi;function Uo(e,t){return(0,Pn.compose)(fi,(0,Pn.predicate)(function(r){return e.test(r)},t))}var Uf=Uo(/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,"Must be email");$e.email=Uf;var Hf=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ff;return(0,Pn.compose)(fi,function(r){var n=r.match(Df);if(n){var i=n[1];return t.length===0||t.includes(i.toLowerCase())?(0,Ut.Ok)(r):(0,Ut.Err)((0,An.annotate)(r,"URL scheme must be any of: ".concat(t.join(", "))))}else return(0,Ut.Err)((0,An.annotate)(r,"Must be URL"))})};$e.url=Hf;var ut={};Object.defineProperty(ut,"__esModule",{value:!0});ut.tuple2=Kf;ut.tuple3=qf;ut.tuple4=Jf;ut.tuple5=Yf;ut.tuple6=Zf;var Qt=re,Ee=oe,Wf=St,nt=ae;function Vt(e,t){return Gf(e)||Bf(e,t)||zf()}function zf(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function Bf(e,t){var r=[],n=!0,i=!1,a=void 0;try{for(var o=e[Symbol.iterator](),s;!(n=(s=o.next()).done)&&(r.push(s.value),!(t&&r.length===t));n=!0);}catch(u){i=!0,a=u}finally{try{!n&&o.return!=null&&o.return()}finally{if(i)throw a}}return r}function Gf(e){if(Array.isArray(e))return e}var er=function(t){return(0,nt.compose)(Wf.poja,(0,nt.predicate)(function(r){return r.length===t},"Must be a ".concat(t,"-tuple")))};function Kf(e,t){return(0,nt.compose)(er(2),function(r){var n=Vt(r,2),i=n[0],a=n[1],o=e(i),s=t(a);try{return(0,Ee.Ok)([o.unwrap(),s.unwrap()])}catch{return(0,Ee.Err)((0,Qt.annotate)([o.isErr()?o.errValue():o.value(),s.isErr()?s.errValue():s.value()]))}})}function qf(e,t,r){return(0,nt.compose)(er(3),function(n){var i=Vt(n,3),a=i[0],o=i[1],s=i[2],u=e(a),f=t(o),c=r(s);try{return(0,Ee.Ok)([u.unwrap(),f.unwrap(),c.unwrap()])}catch{return(0,Ee.Err)((0,Qt.annotate)([u.isErr()?u.errValue():u.value(),f.isErr()?f.errValue():f.value(),c.isErr()?c.errValue():c.value()]))}})}function Jf(e,t,r,n){return(0,nt.compose)(er(4),function(i){var a=Vt(i,4),o=a[0],s=a[1],u=a[2],f=a[3],c=e(o),l=t(s),v=r(u),p=n(f);try{return(0,Ee.Ok)([c.unwrap(),l.unwrap(),v.unwrap(),p.unwrap()])}catch{return(0,Ee.Err)((0,Qt.annotate)([c.isErr()?c.errValue():c.value(),l.isErr()?l.errValue():l.value(),v.isErr()?v.errValue():v.value(),p.isErr()?p.errValue():p.value()]))}})}function Yf(e,t,r,n,i){return(0,nt.compose)(er(5),function(a){var o=Vt(a,5),s=o[0],u=o[1],f=o[2],c=o[3],l=o[4],v=e(s),p=t(u),y=r(f),d=n(c),m=i(l);try{return(0,Ee.Ok)([v.unwrap(),p.unwrap(),y.unwrap(),d.unwrap(),m.unwrap()])}catch{return(0,Ee.Err)((0,Qt.annotate)([v.isErr()?v.errValue():v.value(),p.isErr()?p.errValue():p.value(),y.isErr()?y.errValue():y.value(),d.isErr()?d.errValue():d.value(),m.isErr()?m.errValue():m.value()]))}})}function Zf(e,t,r,n,i,a){return(0,nt.compose)(er(6),function(o){var s=Vt(o,6),u=s[0],f=s[1],c=s[2],l=s[3],v=s[4],p=s[5],y=e(u),d=t(f),m=r(c),h=n(l),b=i(v),O=a(p);try{return(0,Ee.Ok)([y.unwrap(),d.unwrap(),m.unwrap(),h.unwrap(),b.unwrap(),O.unwrap()])}catch{return(0,Ee.Err)((0,Qt.annotate)([y.isErr()?y.errValue():y.value(),d.isErr()?d.errValue():d.value(),m.isErr()?m.errValue():m.value(),h.isErr()?h.errValue():h.value(),b.isErr()?b.errValue():b.value(),O.isErr()?O.errValue():O.value()]))}})}(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"guard",{enumerable:!0,get:function(){return t.guard}}),Object.defineProperty(e,"compose",{enumerable:!0,get:function(){return r.compose}}),Object.defineProperty(e,"map",{enumerable:!0,get:function(){return r.map}}),Object.defineProperty(e,"predicate",{enumerable:!0,get:function(){return r.predicate}}),Object.defineProperty(e,"array",{enumerable:!0,get:function(){return n.array}}),Object.defineProperty(e,"poja",{enumerable:!0,get:function(){return n.poja}}),Object.defineProperty(e,"boolean",{enumerable:!0,get:function(){return i.boolean}}),Object.defineProperty(e,"numericBoolean",{enumerable:!0,get:function(){return i.numericBoolean}}),Object.defineProperty(e,"truthy",{enumerable:!0,get:function(){return i.truthy}}),Object.defineProperty(e,"constant",{enumerable:!0,get:function(){return a.constant}}),Object.defineProperty(e,"hardcoded",{enumerable:!0,get:function(){return a.hardcoded}}),Object.defineProperty(e,"mixed",{enumerable:!0,get:function(){return a.mixed}}),Object.defineProperty(e,"null_",{enumerable:!0,get:function(){return a.null_}}),Object.defineProperty(e,"undefined_",{enumerable:!0,get:function(){return a.undefined_}}),Object.defineProperty(e,"unknown",{enumerable:!0,get:function(){return a.unknown}}),Object.defineProperty(e,"date",{enumerable:!0,get:function(){return o.date}}),Object.defineProperty(e,"dispatch",{enumerable:!0,get:function(){return s.dispatch}}),Object.defineProperty(e,"either",{enumerable:!0,get:function(){return u.either}}),Object.defineProperty(e,"either3",{enumerable:!0,get:function(){return u.either3}}),Object.defineProperty(e,"either4",{enumerable:!0,get:function(){return u.either4}}),Object.defineProperty(e,"either5",{enumerable:!0,get:function(){return u.either5}}),Object.defineProperty(e,"either6",{enumerable:!0,get:function(){return u.either6}}),Object.defineProperty(e,"either7",{enumerable:!0,get:function(){return u.either7}}),Object.defineProperty(e,"either8",{enumerable:!0,get:function(){return u.either8}}),Object.defineProperty(e,"either9",{enumerable:!0,get:function(){return u.either9}}),Object.defineProperty(e,"oneOf",{enumerable:!0,get:function(){return u.oneOf}}),Object.defineProperty(e,"fail",{enumerable:!0,get:function(){return f.fail}}),Object.defineProperty(e,"instanceOf",{enumerable:!0,get:function(){return c.instanceOf}}),Object.defineProperty(e,"mapping",{enumerable:!0,get:function(){return l.mapping}}),Object.defineProperty(e,"dict",{enumerable:!0,get:function(){return l.dict}}),Object.defineProperty(e,"integer",{enumerable:!0,get:function(){return v.integer}}),Object.defineProperty(e,"number",{enumerable:!0,get:function(){return v.number}}),Object.defineProperty(e,"positiveInteger",{enumerable:!0,get:function(){return v.positiveInteger}}),Object.defineProperty(e,"positiveNumber",{enumerable:!0,get:function(){return v.positiveNumber}}),Object.defineProperty(e,"exact",{enumerable:!0,get:function(){return p.exact}}),Object.defineProperty(e,"object",{enumerable:!0,get:function(){return p.object}}),Object.defineProperty(e,"pojo",{enumerable:!0,get:function(){return p.pojo}}),Object.defineProperty(e,"maybe",{enumerable:!0,get:function(){return y.maybe}}),Object.defineProperty(e,"nullable",{enumerable:!0,get:function(){return y.nullable}}),Object.defineProperty(e,"optional",{enumerable:!0,get:function(){return y.optional}}),Object.defineProperty(e,"email",{enumerable:!0,get:function(){return d.email}}),Object.defineProperty(e,"regex",{enumerable:!0,get:function(){return d.regex}}),Object.defineProperty(e,"string",{enumerable:!0,get:function(){return d.string}}),Object.defineProperty(e,"url",{enumerable:!0,get:function(){return d.url}}),Object.defineProperty(e,"tuple2",{enumerable:!0,get:function(){return m.tuple2}}),Object.defineProperty(e,"tuple3",{enumerable:!0,get:function(){return m.tuple3}}),Object.defineProperty(e,"tuple4",{enumerable:!0,get:function(){return m.tuple4}}),Object.defineProperty(e,"tuple5",{enumerable:!0,get:function(){return m.tuple5}}),Object.defineProperty(e,"tuple6",{enumerable:!0,get:function(){return m.tuple6}});var t=ri,r=ae,n=St,i=Ao,a=fe,o=Qr,s=ii,u=le,f=oi,c=si,l=Vr,v=ge,p=Ge,y=Xt,d=$e,m=ut})(S);const Xf="6.4.0-beta.4c9e753.0",Wt="iframe-coordinator";function Ho(e){return Object.assign(Object.assign({direction:"HostToClient"},e),{protocol:Wt,version:Xf})}function Ae(e,t){return S.object({protocol:S.either(S.constant(Wt),S.hardcoded(Wt)),version:S.either(S.string,S.hardcoded("unknown")),msgType:e,msg:t,direction:S.optional(Qf)})}const Qf=S.either(S.constant("ClientToHost"),S.constant("HostToClient")),Vf=Ae(S.constant("clickFired"),S.object({})),ec=Ae(S.constant("registeredKeyFired"),S.object({altKey:S.optional(S.boolean),charCode:S.optional(S.number),code:S.optional(S.string),ctrlKey:S.optional(S.boolean),key:S.string,keyCode:S.optional(S.number),metaKey:S.optional(S.boolean),shiftKey:S.optional(S.boolean)})),tc=Ae(S.constant("client_started"),S.mixed),rc=Ae(S.constant("env_init"),S.object({locale:S.string,hostRootUrl:S.string,assignedRoute:S.string,registeredKeys:S.optional(S.array(S.object({key:S.string,altKey:S.optional(S.boolean),ctrlKey:S.optional(S.boolean),metaKey:S.optional(S.boolean),shiftKey:S.optional(S.boolean)}))),custom:S.mixed})),nc=Ae(S.constant("modalRequest"),S.object({modalId:S.string,modalData:S.mixed})),ic=Ae(S.constant("navRequest"),S.object({url:S.string,history:S.optional(S.either(S.constant("push"),S.constant("replace")))}));function ac(e){return"notifyRequest"}const oc=S.map(S.constant("toastRequest"),ac),Xi=Ae(S.either(S.constant("notifyRequest"),oc),S.object({title:S.optional(S.string),message:S.string,custom:S.mixed})),sc=Ae(S.constant("pageMetadata"),S.object({title:S.string,breadcrumbs:S.array(S.object({text:S.string,href:S.string})),custom:S.optional(S.mixed)})),uc=Ae(S.constant("promptOnLeave"),S.object({shouldPrompt:S.boolean,message:S.optional(S.string)})),Wo=Ae(S.constant("publish"),S.object({topic:S.string,payload:S.mixed,clientId:S.optional(S.string)}));function zo(e){return S.guard(S.dispatch("msgType",{publish:Wo,registeredKeyFired:ec,client_started:tc,clickFired:Vf,navRequest:ic,notifyRequest:Xi,toastRequest:Xi,modalRequest:nc,pageMetadata:sc,promptOnLeave:uc}))(e)}function Bo(e){return S.guard(S.dispatch("msgType",{publish:Wo,env_init:rc}))(e)}new Map(Object.entries({Comma:",",Period:".",Semicolon:";",Quote:'"',BracketLeft:"[",BracketRight:"]",Backquote:"`",Backslash:"\\",Minus:"-",Equal:"="}));const fc="frame-router iframe { width: 100%; height: 100%; border: 0px }",Qi=["allow-popups-to-escape-sandbox","allow-scripts","allow-same-origin","allow-modals","allow-forms","allow-popups","allow-downloads","allow-top-navigation-by-user-activation"];let sr;class cc{constructor(t){this._window=t.mockWindow?t.mockWindow:window,this._postMessageHandler=r=>{this._handlePostMessage(t.onMessage,r)},this._frameLocation="about:blank",this._iframe=this._window.document.createElement("iframe"),sr||(sr=this._window.document.createElement("style"),sr.innerText=fc,this._window.document.head.appendChild(sr)),this._iframe.setAttribute("sandbox",Qi.join(" "))}setFrameAllow(t){typeof t!="string"&&(t=""),this._iframe.setAttribute("allow",t)}setFrameSandbox(t){typeof t!="string"&&(t="");const r=t.split(" ").concat(Qi),n=[...new Set(r)].join(" ");this._iframe.setAttribute("sandbox",n)}setFrameDefaultTitle(t){typeof t!="string"&&(t=""),this._iframe.setAttribute("title",t)}setFrameLocation(t){return this._frameLocation=t||"about:blank",this._iframe.contentWindow?this._navigateFrame():this._iframe.onload=r=>{this._navigateFrame(),this._iframe.onload=null},this._frameLocation}sendToClient(t){const r=this._expectedClientOrigin();if(this._iframe.contentWindow&&r){const n=Ho(t);let i;try{i=Bo(n)}catch(a){throw new Error(`
|
|
20
|
+
I received invalid data to send to a client application. This is probably due
|
|
21
|
+
to bad data passed to a frame-router method.
|
|
22
|
+
`.trim()+`
|
|
23
|
+
`+a.message)}this._iframe.contentWindow.postMessage(i,r)}}startMessageHandler(){this._window.addEventListener("message",this._postMessageHandler)}stopMessageHandler(){this._window.removeEventListener("message",this._postMessageHandler)}embed(t){const r=t.getAttribute("frame-id");r&&this._iframe.setAttribute("id",r),t.appendChild(this._iframe)}_handlePostMessage(t,r){let n=null;if(r.data&&r.data.direction==="HostToClient")return;try{n=zo(r.data)}catch(a){if(r.data.protocol===Wt)throw new Error(`
|
|
24
|
+
I received an invalid message from the client application. This is probably due
|
|
25
|
+
to a major version mismatch between client and host iframe-coordinator libraries.
|
|
26
|
+
`.trim()+`
|
|
27
|
+
`+a.message);return}const i=this._expectedClientOrigin();i&&r.origin===i&&r.source===this._iframe.contentWindow&&(n.msgType==="clickFired"&&this._iframe.click(),t(n))}_navigateFrame(){this._iframe.contentWindow&&this._iframe.contentWindow.location.replace(this._frameLocation)}_expectedClientOrigin(){try{const t=new URL(this._frameLocation,this._window.location.href);return t.protocol!=="http:"&&t.protocol!=="https:"?null:new URL(t.origin).origin}catch{return null}}}class Vi{constructor(t){this._clients=Object.entries(t).map(([r,n])=>pc(r,n)).sort(vc)}getClientTarget(t){let r=null;for(let n of this._clients){const i=lc(t,n.assignedRoute);if(i!==null){r={id:n.id,url:dc(n.url,i),assignedRoute:n.assignedRoute,allow:n.allow,sandbox:n.sandbox,defaultTitle:n.defaultTitle};break}}return r}}function lc(e,t){const r=On(e);if(r.startsWith(t)){const n=r.replace(t,"");return On(n)}else return null}function pc(e,t){return{id:e,url:t.url,assignedRoute:$u(t.assignedRoute),allow:t.allow,sandbox:t.sandbox,defaultTitle:t.defaultTitle}}function dc(e,t){const r=new URL(e,window.location.href);if(r.hash){const n=xr(r.hash);r.hash=`${n}/${t}`}else{const n=xr(r.pathname);r.pathname=`${n}/${t}`}return r.toString()}function vc(e,t){const r=e.assignedRoute.split("/").length,i=t.assignedRoute.split("/").length-r;return i!==0?i:t.assignedRoute.length-e.assignedRoute.length}const Mt="route";class hc extends HTMLElement{constructor(){super(),this._publishEmitter=new mo,this._publishExposedEmitter=new ho(this._publishEmitter),this._queuedEvents=[],this._frameManager=new cc({onMessage:this._handleClientMessages.bind(this)})}static get observedAttributes(){return[Mt]}connectedCallback(){this._frameManager.embed(this),this._frameManager.startMessageHandler(),this._emitQueuedEvents()}disconnectedCallback(){this._frameManager.stopMessageHandler()}setupFrames(t,r){this._router=new Vi(t);const n=this._processHostUrl(r.hostRootUrl);this._envData=Object.assign(Object.assign({},r),{hostRootUrl:n}),this._clientConfig={clients:t,envData:r},this.changeRoute(this.getAttribute(Mt)||"about:blank")}get messaging(){return this._publishExposedEmitter}publish(t){this._frameManager.sendToClient({msg:t,msgType:"publish"})}changeRoute(t){if(this._router){const r=this._router.getClientTarget(t),n=r&&r.id||"";this._currentClientId!==n&&this._dispatchEventWhenConnected(new CustomEvent("clientChanged",{detail:n})),r===null&&this._currentPath!==t&&this._dispatchEventWhenConnected(new CustomEvent("clientNotFound")),this._currentPath=t,this._currentClientId=n,this._frameManager.setFrameSandbox(r&&r.sandbox||void 0),this._frameManager.setFrameAllow(r&&r.allow||void 0),this._frameManager.setFrameDefaultTitle(r&&r.defaultTitle||void 0);const i=this._frameManager.setFrameLocation(r&&r.url);this._dispatchEventWhenConnected(new CustomEvent("frameTransition",{detail:i}))}}attributeChangedCallback(t,r,n){t===Mt&&r!==n&&this.changeRoute(n||"")}get clientConfig(){return this._clientConfig}set clientConfig(t){this._clientConfig=t,this._configureClients(t.clients,t.envData)}_configureClients(t,r){this._router=new Vi(t);const n=this._processHostUrl(r.hostRootUrl);this._envData=Object.assign(Object.assign({},r),{hostRootUrl:n}),this.changeRoute(this.getAttribute(Mt)||"about:blank")}_handleClientMessages(t){switch(t.msgType){case"publish":const r=t.msg;r.clientId=this._currentClientId,this._publishEmitter.dispatch(t.msg.topic,r),this._dispatchClientMessage(t);break;case"client_started":this._handleLifecycleMessage(t);break;default:this._dispatchClientMessage(t)}}_handleLifecycleMessage(t){const r=this._getCurrentClientAssignedRoute(),n=Object.assign(Object.assign({},this._envData),{assignedRoute:r});this._frameManager.sendToClient({msgType:"env_init",msg:n})}_dispatchClientMessage(t){const r=t.msg;r.clientId=this._currentClientId,this.dispatchEvent(new CustomEvent(t.msgType,{detail:r}))}_dispatchEventWhenConnected(t){this.isConnected?this.dispatchEvent(t):this._queuedEvents.push(t)}_emitQueuedEvents(){this.isConnected&&(this._queuedEvents.forEach(t=>this.dispatchEvent(t)),this._queuedEvents=[])}_getCurrentClientAssignedRoute(){const t=this.getAttribute(Mt)||"",r=this._router.getClientTarget(t);return r&&r.assignedRoute||""}_processHostUrl(t){const r=new URL(t);return r.hash||(r.pathname=xr(r.pathname),window.location.hash&&(r.pathname!=="/"&&(r.pathname+="/"),r.hash="#")),r.href}}class mc{constructor(t){this._publishEmitter=new mo,this._ifcEventTarget=t,this.publishEmitter=new ho(this._publishEmitter)}handleClientMessage(t,r){const n=this._validateClientMessage(t);if(n!==void 0)switch(n.msgType){case"publish":const i=n.msg;i.clientId=r,this._publishEmitter.dispatch(n.msg.topic,i),this._emitClientEvent(n,r);break;case"client_started":this._handleLifecycleMessage(n,r);break;default:this._emitClientEvent(n,r)}}_validateClientMessage(t){let r;if(!(t.data&&t.data.direction==="HostToClient")){try{r=zo(t.data)}catch(n){if(t.data.protocol==Wt)throw new Error(`
|
|
28
|
+
I received an invalid message from the client application. This is probably due
|
|
29
|
+
to a major version mismatch between client and host iframe-coordinator libraries.
|
|
30
|
+
`.trim()+`
|
|
31
|
+
`+n.message);return}return r}}_handleLifecycleMessage(t,r){const n=this._getClientAssignedRoute(r),i=Object.assign(Object.assign({},this.envData),{assignedRoute:n});this.sendToClient({msgType:"env_init",msg:i},r)}sendToClient(t,r){const n=Ho(t);let i;try{i=Bo(n)}catch(a){throw new Error(`
|
|
32
|
+
I received invalid data to send to a client application. This is probably due
|
|
33
|
+
to bad data passed from the host application.
|
|
34
|
+
`.trim()+`
|
|
35
|
+
`+a.message)}this._postMessageToClient(i,r)}_emitClientEvent(t,r){const n=t.msg;n.clientId=r,this._ifcEventTarget.dispatchEvent(new CustomEvent(t.msgType,{detail:n}))}}class yc extends EventTarget{constructor(){super(),this._workers={};const t=this;class r extends mc{_postMessageToClient(i,a){t._workers[a].postMessage(i)}_getClientAssignedRoute(i){var a;return(a=t._clientConfig.clients[i])===null||a===void 0?void 0:a.app.assignedRoute}}this._hostManager=new r(this)}get clientConfig(){return this._clientConfig}set clientConfig(t){this._clientConfig=t,this._hostManager.envData=t.envData}start(){this._isStarted||(Object.entries(this._clientConfig.clients).forEach(([t,r])=>{const n=r.script;this._workers[t]=new Worker(n),console.log("Adding worker listener"),this._workers[t].addEventListener("message",i=>{console.log("Got worker message",i),this._hostManager.handleClientMessage(i,t)})}),this._isStarted=!0)}stop(){this._isStarted&&(this._isStarted=!1)}publish(t,r){this._hostManager.sendToClient({msg:r,msgType:"publish"},t)}}function gc(){customElements.define("frame-router",hc)}var _c={};/*!
|
|
36
|
+
* Vue.js v2.7.16
|
|
37
|
+
* (c) 2014-2023 Evan You
|
|
38
|
+
* Released under the MIT License.
|
|
39
|
+
*/var ee=Object.freeze({}),k=Array.isArray;function j(e){return e==null}function w(e){return e!=null}function J(e){return e===!0}function bc(e){return e===!1}function tr(e){return typeof e=="string"||typeof e=="number"||typeof e=="symbol"||typeof e=="boolean"}function W(e){return typeof e=="function"}function te(e){return e!==null&&typeof e=="object"}var ci=Object.prototype.toString;function ie(e){return ci.call(e)==="[object Object]"}function wc(e){return ci.call(e)==="[object RegExp]"}function Go(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function Tn(e){return w(e)&&typeof e.then=="function"&&typeof e.catch=="function"}function Oc(e){return e==null?"":Array.isArray(e)||ie(e)&&e.toString===ci?JSON.stringify(e,Cc,2):String(e)}function Cc(e,t){return t&&t.__v_isRef?t.value:t}function zt(e){var t=parseFloat(e);return isNaN(t)?e:t}function be(e,t){for(var r=Object.create(null),n=e.split(","),i=0;i<n.length;i++)r[n[i]]=!0;return t?function(a){return r[a.toLowerCase()]}:function(a){return r[a]}}be("slot,component",!0);var Ec=be("key,ref,slot,slot-scope,is");function Ke(e,t){var r=e.length;if(r){if(t===e[r-1]){e.length=r-1;return}var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}var Sc=Object.prototype.hasOwnProperty;function ne(e,t){return Sc.call(e,t)}function ft(e){var t=Object.create(null);return function(n){var i=t[n];return i||(t[n]=e(n))}}var Ac=/-(\w)/g,it=ft(function(e){return e.replace(Ac,function(t,r){return r?r.toUpperCase():""})}),Pc=ft(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),Tc=/\B([A-Z])/g,rr=ft(function(e){return e.replace(Tc,"-$1").toLowerCase()});function $c(e,t){function r(n){var i=arguments.length;return i?i>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return r._length=e.length,r}function xc(e,t){return e.bind(t)}var Ko=Function.prototype.bind?xc:$c;function $n(e,t){t=t||0;for(var r=e.length-t,n=new Array(r);r--;)n[r]=e[r+t];return n}function B(e,t){for(var r in t)e[r]=t[r];return e}function qo(e){for(var t={},r=0;r<e.length;r++)e[r]&&B(t,e[r]);return t}function q(e,t,r){}var ur=function(e,t,r){return!1},Jo=function(e){return e};function at(e,t){if(e===t)return!0;var r=te(e),n=te(t);if(r&&n)try{var i=Array.isArray(e),a=Array.isArray(t);if(i&&a)return e.length===t.length&&e.every(function(u,f){return at(u,t[f])});if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(!i&&!a){var o=Object.keys(e),s=Object.keys(t);return o.length===s.length&&o.every(function(u){return at(e[u],t[u])})}else return!1}catch{return!1}else return!r&&!n?String(e)===String(t):!1}function Yo(e,t){for(var r=0;r<e.length;r++)if(at(e[r],t))return r;return-1}function Mr(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}function xn(e,t){return e===t?e===0&&1/e!==1/t:e===e||t===t}var ea="data-server-rendered",en=["component","directive","filter"],Zo=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch","renderTracked","renderTriggered"],ve={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:ur,isReservedAttr:ur,isUnknownElement:ur,getTagNamespace:q,parsePlatformTagName:Jo,mustUseProp:ur,async:!0,_lifecycleHooks:Zo},Rc=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function Xo(e){var t=(e+"").charCodeAt(0);return t===36||t===95}function Z(e,t,r,n){Object.defineProperty(e,t,{value:r,enumerable:!1,writable:!0,configurable:!0})}var Mc=new RegExp("[^".concat(Rc.source,".$_\\d]"));function jc(e){if(!Mc.test(e)){var t=e.split(".");return function(r){for(var n=0;n<t.length;n++){if(!r)return;r=r[t[n]]}return r}}}var kc="__proto__"in{},ue=typeof window<"u",he=ue&&window.navigator.userAgent.toLowerCase(),At=he&&/msie|trident/.test(he),Pt=he&&he.indexOf("msie 9.0")>0,Qo=he&&he.indexOf("edge/")>0;he&&he.indexOf("android")>0;var Ic=he&&/iphone|ipad|ipod|ios/.test(he),ta=he&&he.match(/firefox\/(\d+)/),Rn={}.watch,Vo=!1;if(ue)try{var ra={};Object.defineProperty(ra,"passive",{get:function(){Vo=!0}}),window.addEventListener("test-passive",null,ra)}catch{}var fr,qe=function(){return fr===void 0&&(!ue&&typeof global<"u"?fr=global.process&&_c.VUE_ENV==="server":fr=!1),fr},jr=ue&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function wt(e){return typeof e=="function"&&/native code/.test(e.toString())}var nr=typeof Symbol<"u"&&wt(Symbol)&&typeof Reflect<"u"&&wt(Reflect.ownKeys),Bt;typeof Set<"u"&&wt(Set)?Bt=Set:Bt=function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(t){return this.set[t]===!0},e.prototype.add=function(t){this.set[t]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var Y=null;function Lc(){return Y&&{proxy:Y}}function He(e){e===void 0&&(e=null),e||Y&&Y._scope.off(),Y=e,e&&e._scope.on()}var ce=function(){function e(t,r,n,i,a,o,s,u){this.tag=t,this.data=r,this.children=n,this.text=i,this.elm=a,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=r&&r.key,this.componentOptions=s,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=u,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(e.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),e}(),Ve=function(e){e===void 0&&(e="");var t=new ce;return t.text=e,t.isComment=!0,t};function gt(e){return new ce(void 0,void 0,void 0,String(e))}function Mn(e){var t=new ce(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}var Nc=0,br=[],Dc=function(){for(var e=0;e<br.length;e++){var t=br[e];t.subs=t.subs.filter(function(r){return r}),t._pending=!1}br.length=0},Se=function(){function e(){this._pending=!1,this.id=Nc++,this.subs=[]}return e.prototype.addSub=function(t){this.subs.push(t)},e.prototype.removeSub=function(t){this.subs[this.subs.indexOf(t)]=null,this._pending||(this._pending=!0,br.push(this))},e.prototype.depend=function(t){e.target&&e.target.addDep(this)},e.prototype.notify=function(t){for(var r=this.subs.filter(function(o){return o}),n=0,i=r.length;n<i;n++){var a=r[n];a.update()}},e}();Se.target=null;var wr=[];function Tt(e){wr.push(e),Se.target=e}function $t(){wr.pop(),Se.target=wr[wr.length-1]}var es=Array.prototype,kr=Object.create(es),Fc=["push","pop","shift","unshift","splice","sort","reverse"];Fc.forEach(function(e){var t=es[e];Z(kr,e,function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var a=t.apply(this,n),o=this.__ob__,s;switch(e){case"push":case"unshift":s=n;break;case"splice":s=n.slice(2);break}return s&&o.observeArray(s),o.dep.notify(),a})});var na=Object.getOwnPropertyNames(kr),ts={},li=!0;function We(e){li=e}var Uc={notify:q,depend:q,addSub:q,removeSub:q},ia=function(){function e(t,r,n){if(r===void 0&&(r=!1),n===void 0&&(n=!1),this.value=t,this.shallow=r,this.mock=n,this.dep=n?Uc:new Se,this.vmCount=0,Z(t,"__ob__",this),k(t)){if(!n)if(kc)t.__proto__=kr;else for(var i=0,a=na.length;i<a;i++){var o=na[i];Z(t,o,kr[o])}r||this.observeArray(t)}else for(var s=Object.keys(t),i=0;i<s.length;i++){var o=s[i];ze(t,o,ts,void 0,r,n)}}return e.prototype.observeArray=function(t){for(var r=0,n=t.length;r<n;r++)Re(t[r],!1,this.mock)},e}();function Re(e,t,r){if(e&&ne(e,"__ob__")&&e.__ob__ instanceof ia)return e.__ob__;if(li&&(r||!qe())&&(k(e)||ie(e))&&Object.isExtensible(e)&&!e.__v_skip&&!Q(e)&&!(e instanceof ce))return new ia(e,t,r)}function ze(e,t,r,n,i,a,o){o===void 0&&(o=!1);var s=new Se,u=Object.getOwnPropertyDescriptor(e,t);if(!(u&&u.configurable===!1)){var f=u&&u.get,c=u&&u.set;(!f||c)&&(r===ts||arguments.length===2)&&(r=e[t]);var l=i?r&&r.__ob__:Re(r,!1,a);return Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var p=f?f.call(e):r;return Se.target&&(s.depend(),l&&(l.dep.depend(),k(p)&&rs(p))),Q(p)&&!i?p.value:p},set:function(p){var y=f?f.call(e):r;if(xn(y,p)){if(c)c.call(e,p);else{if(f)return;if(!i&&Q(y)&&!Q(p)){y.value=p;return}else r=p}l=i?p&&p.__ob__:Re(p,!1,a),s.notify()}}}),s}}function tn(e,t,r){if(!ct(e)){var n=e.__ob__;return k(e)&&Go(t)?(e.length=Math.max(e.length,t),e.splice(t,1,r),n&&!n.shallow&&n.mock&&Re(r,!1,!0),r):t in e&&!(t in Object.prototype)?(e[t]=r,r):e._isVue||n&&n.vmCount?r:n?(ze(n.value,t,r,void 0,n.shallow,n.mock),n.dep.notify(),r):(e[t]=r,r)}}function pi(e,t){if(k(e)&&Go(t)){e.splice(t,1);return}var r=e.__ob__;e._isVue||r&&r.vmCount||ct(e)||ne(e,t)&&(delete e[t],r&&r.dep.notify())}function rs(e){for(var t=void 0,r=0,n=e.length;r<n;r++)t=e[r],t&&t.__ob__&&t.__ob__.dep.depend(),k(t)&&rs(t)}function Hc(e){return ns(e,!1),e}function di(e){return ns(e,!0),Z(e,"__v_isShallow",!0),e}function ns(e,t){ct(e)||Re(e,t,qe())}function et(e){return ct(e)?et(e.__v_raw):!!(e&&e.__ob__)}function Ir(e){return!!(e&&e.__v_isShallow)}function ct(e){return!!(e&&e.__v_isReadonly)}function Wc(e){return et(e)||ct(e)}function is(e){var t=e&&e.__v_raw;return t?is(t):e}function zc(e){return Object.isExtensible(e)&&Z(e,"__v_skip",!0),e}var ir="__v_isRef";function Q(e){return!!(e&&e.__v_isRef===!0)}function Bc(e){return as(e,!1)}function Gc(e){return as(e,!0)}function as(e,t){if(Q(e))return e;var r={};return Z(r,ir,!0),Z(r,"__v_isShallow",t),Z(r,"dep",ze(r,"value",e,null,t,qe())),r}function Kc(e){e.dep&&e.dep.notify()}function qc(e){return Q(e)?e.value:e}function Jc(e){if(et(e))return e;for(var t={},r=Object.keys(e),n=0;n<r.length;n++)Lr(t,e,r[n]);return t}function Lr(e,t,r){Object.defineProperty(e,r,{enumerable:!0,configurable:!0,get:function(){var n=t[r];if(Q(n))return n.value;var i=n&&n.__ob__;return i&&i.dep.depend(),n},set:function(n){var i=t[r];Q(i)&&!Q(n)?i.value=n:t[r]=n}})}function Yc(e){var t=new Se,r=e(function(){t.depend()},function(){t.notify()}),n=r.get,i=r.set,a={get value(){return n()},set value(o){i(o)}};return Z(a,ir,!0),a}function Zc(e){var t=k(e)?new Array(e.length):{};for(var r in e)t[r]=os(e,r);return t}function os(e,t,r){var n=e[t];if(Q(n))return n;var i={get value(){var a=e[t];return a===void 0?r:a},set value(a){e[t]=a}};return Z(i,ir,!0),i}var Xc="__v_rawToReadonly",Qc="__v_rawToShallowReadonly";function ss(e){return us(e,!1)}function us(e,t){if(!ie(e)||ct(e))return e;var r=t?Qc:Xc,n=e[r];if(n)return n;var i=Object.create(Object.getPrototypeOf(e));Z(e,r,i),Z(i,"__v_isReadonly",!0),Z(i,"__v_raw",e),Q(e)&&Z(i,ir,!0),(t||Ir(e))&&Z(i,"__v_isShallow",!0);for(var a=Object.keys(e),o=0;o<a.length;o++)Vc(i,e,a[o],t);return i}function Vc(e,t,r,n){Object.defineProperty(e,r,{enumerable:!0,configurable:!0,get:function(){var i=t[r];return n||!ie(i)?i:ss(i)},set:function(){}})}function el(e){return us(e,!0)}function tl(e,t){var r,n,i=W(e);i?(r=e,n=q):(r=e.get,n=e.set);var a=qe()?null:new ar(Y,r,q,{lazy:!0}),o={effect:a,get value(){return a?(a.dirty&&a.evaluate(),Se.target&&a.depend(),a.value):r()},set value(s){n(s)}};return Z(o,ir,!0),Z(o,"__v_isReadonly",i),o}var rn="watcher",aa="".concat(rn," callback"),oa="".concat(rn," getter"),rl="".concat(rn," cleanup");function nl(e,t){return nn(e,null,t)}function fs(e,t){return nn(e,null,{flush:"post"})}function il(e,t){return nn(e,null,{flush:"sync"})}var sa={};function al(e,t,r){return nn(e,t,r)}function nn(e,t,r){var n=r===void 0?ee:r,i=n.immediate,a=n.deep,o=n.flush,s=o===void 0?"pre":o;n.onTrack,n.onTrigger;var u=Y,f=function(b,O,A){A===void 0&&(A=null);var E=Me(b,null,A,u,O);return a&&E&&E.__ob__&&E.__ob__.dep.depend(),E},c,l=!1,v=!1;if(Q(e)?(c=function(){return e.value},l=Ir(e)):et(e)?(c=function(){return e.__ob__.dep.depend(),e},a=!0):k(e)?(v=!0,l=e.some(function(b){return et(b)||Ir(b)}),c=function(){return e.map(function(b){if(Q(b))return b.value;if(et(b))return b.__ob__.dep.depend(),Ct(b);if(W(b))return f(b,oa)})}):W(e)?t?c=function(){return f(e,oa)}:c=function(){if(!(u&&u._isDestroyed))return y&&y(),f(e,rn,[d])}:c=q,t&&a){var p=c;c=function(){return Ct(p())}}var y,d=function(b){y=m.onStop=function(){f(b,rl)}};if(qe())return d=q,t?i&&f(t,aa,[c(),v?[]:void 0,d]):c(),q;var m=new ar(Y,c,q,{lazy:!0});m.noRecurse=!t;var h=v?[]:sa;return m.run=function(){if(m.active)if(t){var b=m.get();(a||l||(v?b.some(function(O,A){return xn(O,h[A])}):xn(b,h)))&&(y&&y(),f(t,aa,[b,h===sa?void 0:h,d]),h=b)}else m.get()},s==="sync"?m.update=m.run:s==="post"?(m.post=!0,m.update=function(){return Fn(m)}):m.update=function(){if(u&&u===Y&&!u._isMounted){var b=u._preWatchers||(u._preWatchers=[]);b.indexOf(m)<0&&b.push(m)}else Fn(m)},t?i?m.run():h=m.get():s==="post"&&u?u.$once("hook:mounted",function(){return m.get()}):m.get(),function(){m.teardown()}}var V,vi=function(){function e(t){t===void 0&&(t=!1),this.detached=t,this.active=!0,this.effects=[],this.cleanups=[],this.parent=V,!t&&V&&(this.index=(V.scopes||(V.scopes=[])).push(this)-1)}return e.prototype.run=function(t){if(this.active){var r=V;try{return V=this,t()}finally{V=r}}},e.prototype.on=function(){V=this},e.prototype.off=function(){V=this.parent},e.prototype.stop=function(t){if(this.active){var r=void 0,n=void 0;for(r=0,n=this.effects.length;r<n;r++)this.effects[r].teardown();for(r=0,n=this.cleanups.length;r<n;r++)this.cleanups[r]();if(this.scopes)for(r=0,n=this.scopes.length;r<n;r++)this.scopes[r].stop(!0);if(!this.detached&&this.parent&&!t){var i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0,this.active=!1}},e}();function ol(e){return new vi(e)}function sl(e,t){t===void 0&&(t=V),t&&t.active&&t.effects.push(e)}function cs(){return V}function ul(e){V&&V.cleanups.push(e)}function fl(e,t){Y&&(ls(Y)[e]=t)}function ls(e){var t=e._provided,r=e.$parent&&e.$parent._provided;return r===t?e._provided=Object.create(r):t}function cl(e,t,r){r===void 0&&(r=!1);var n=Y;if(n){var i=n.$parent&&n.$parent._provided;if(i&&e in i)return i[e];if(arguments.length>1)return r&&W(t)?t.call(n):t}}var ua=ft(function(e){var t=e.charAt(0)==="&";e=t?e.slice(1):e;var r=e.charAt(0)==="~";e=r?e.slice(1):e;var n=e.charAt(0)==="!";return e=n?e.slice(1):e,{name:e,once:r,capture:n,passive:t}});function jn(e,t){function r(){var n=r.fns;if(k(n))for(var i=n.slice(),a=0;a<i.length;a++)Me(i[a],null,arguments,t,"v-on handler");else return Me(n,null,arguments,t,"v-on handler")}return r.fns=e,r}function ps(e,t,r,n,i,a){var o,s,u,f;for(o in e)s=e[o],u=t[o],f=ua(o),j(s)||(j(u)?(j(s.fns)&&(s=e[o]=jn(s,a)),J(f.once)&&(s=e[o]=i(f.name,s,f.capture)),r(f.name,s,f.capture,f.passive,f.params)):s!==u&&(u.fns=s,e[o]=u));for(o in t)j(e[o])&&(f=ua(o),n(f.name,t[o],f.capture))}function ke(e,t,r){e instanceof ce&&(e=e.data.hook||(e.data.hook={}));var n,i=e[t];function a(){r.apply(this,arguments),Ke(n.fns,a)}j(i)?n=jn([a]):w(i.fns)&&J(i.merged)?(n=i,n.fns.push(a)):n=jn([i,a]),n.merged=!0,e[t]=n}function ll(e,t,r){var n=t.options.props;if(!j(n)){var i={},a=e.attrs,o=e.props;if(w(a)||w(o))for(var s in n){var u=rr(s);fa(i,o,s,u,!0)||fa(i,a,s,u,!1)}return i}}function fa(e,t,r,n,i){if(w(t)){if(ne(t,r))return e[r]=t[r],i||delete t[r],!0;if(ne(t,n))return e[r]=t[n],i||delete t[n],!0}return!1}function pl(e){for(var t=0;t<e.length;t++)if(k(e[t]))return Array.prototype.concat.apply([],e);return e}function hi(e){return tr(e)?[gt(e)]:k(e)?ds(e):void 0}function jt(e){return w(e)&&w(e.text)&&bc(e.isComment)}function ds(e,t){var r=[],n,i,a,o;for(n=0;n<e.length;n++)i=e[n],!(j(i)||typeof i=="boolean")&&(a=r.length-1,o=r[a],k(i)?i.length>0&&(i=ds(i,"".concat(t||"","_").concat(n)),jt(i[0])&&jt(o)&&(r[a]=gt(o.text+i[0].text),i.shift()),r.push.apply(r,i)):tr(i)?jt(o)?r[a]=gt(o.text+i):i!==""&&r.push(gt(i)):jt(i)&&jt(o)?r[a]=gt(o.text+i.text):(J(e._isVList)&&w(i.tag)&&j(i.key)&&w(t)&&(i.key="__vlist".concat(t,"_").concat(n,"__")),r.push(i)));return r}function dl(e,t){var r=null,n,i,a,o;if(k(e)||typeof e=="string")for(r=new Array(e.length),n=0,i=e.length;n<i;n++)r[n]=t(e[n],n);else if(typeof e=="number")for(r=new Array(e),n=0;n<e;n++)r[n]=t(n+1,n);else if(te(e))if(nr&&e[Symbol.iterator]){r=[];for(var s=e[Symbol.iterator](),u=s.next();!u.done;)r.push(t(u.value,r.length)),u=s.next()}else for(a=Object.keys(e),r=new Array(a.length),n=0,i=a.length;n<i;n++)o=a[n],r[n]=t(e[o],o,n);return w(r)||(r=[]),r._isVList=!0,r}function vl(e,t,r,n){var i=this.$scopedSlots[e],a;i?(r=r||{},n&&(r=B(B({},n),r)),a=i(r)||(W(t)?t():t)):a=this.$slots[e]||(W(t)?t():t);var o=r&&r.slot;return o?this.$createElement("template",{slot:o},a):a}function hl(e){return Ur(this.$options,"filters",e)||Jo}function ca(e,t){return k(e)?e.indexOf(t)===-1:e!==t}function ml(e,t,r,n,i){var a=ve.keyCodes[t]||r;return i&&n&&!ve.keyCodes[t]?ca(i,n):a?ca(a,e):n?rr(n)!==t:e===void 0}function yl(e,t,r,n,i){if(r&&te(r)){k(r)&&(r=qo(r));var a=void 0,o=function(u){if(u==="class"||u==="style"||Ec(u))a=e;else{var f=e.attrs&&e.attrs.type;a=n||ve.mustUseProp(t,f,u)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}var c=it(u),l=rr(u);if(!(c in a)&&!(l in a)&&(a[u]=r[u],i)){var v=e.on||(e.on={});v["update:".concat(u)]=function(p){r[u]=p}}};for(var s in r)o(s)}return e}function gl(e,t){var r=this._staticTrees||(this._staticTrees=[]),n=r[e];return n&&!t||(n=r[e]=this.$options.staticRenderFns[e].call(this._renderProxy,this._c,this),vs(n,"__static__".concat(e),!1)),n}function _l(e,t,r){return vs(e,"__once__".concat(t).concat(r?"_".concat(r):""),!0),e}function vs(e,t,r){if(k(e))for(var n=0;n<e.length;n++)e[n]&&typeof e[n]!="string"&&la(e[n],"".concat(t,"_").concat(n),r);else la(e,t,r)}function la(e,t,r){e.isStatic=!0,e.key=t,e.isOnce=r}function bl(e,t){if(t&&ie(t)){var r=e.on=e.on?B({},e.on):{};for(var n in t){var i=r[n],a=t[n];r[n]=i?[].concat(i,a):a}}return e}function hs(e,t,r,n){t=t||{$stable:!r};for(var i=0;i<e.length;i++){var a=e[i];k(a)?hs(a,t,r):a&&(a.proxy&&(a.fn.proxy=!0),t[a.key]=a.fn)}return n&&(t.$key=n),t}function wl(e,t){for(var r=0;r<t.length;r+=2){var n=t[r];typeof n=="string"&&n&&(e[t[r]]=t[r+1])}return e}function Ol(e,t){return typeof e=="string"?t+e:e}function ms(e){e._o=_l,e._n=zt,e._s=Oc,e._l=dl,e._t=vl,e._q=at,e._i=Yo,e._m=gl,e._f=hl,e._k=ml,e._b=yl,e._v=gt,e._e=Ve,e._u=hs,e._g=bl,e._d=wl,e._p=Ol}function mi(e,t){if(!e||!e.length)return{};for(var r={},n=0,i=e.length;n<i;n++){var a=e[n],o=a.data;if(o&&o.attrs&&o.attrs.slot&&delete o.attrs.slot,(a.context===t||a.fnContext===t)&&o&&o.slot!=null){var s=o.slot,u=r[s]||(r[s]=[]);a.tag==="template"?u.push.apply(u,a.children||[]):u.push(a)}else(r.default||(r.default=[])).push(a)}for(var f in r)r[f].every(Cl)&&delete r[f];return r}function Cl(e){return e.isComment&&!e.asyncFactory||e.text===" "}function Gt(e){return e.isComment&&e.asyncFactory}function Ht(e,t,r,n){var i,a=Object.keys(r).length>0,o=t?!!t.$stable:!a,s=t&&t.$key;if(!t)i={};else{if(t._normalized)return t._normalized;if(o&&n&&n!==ee&&s===n.$key&&!a&&!n.$hasNormal)return n;i={};for(var u in t)t[u]&&u[0]!=="$"&&(i[u]=El(e,r,u,t[u]))}for(var f in r)f in i||(i[f]=Sl(r,f));return t&&Object.isExtensible(t)&&(t._normalized=i),Z(i,"$stable",o),Z(i,"$key",s),Z(i,"$hasNormal",a),i}function El(e,t,r,n){var i=function(){var a=Y;He(e);var o=arguments.length?n.apply(null,arguments):n({});o=o&&typeof o=="object"&&!k(o)?[o]:hi(o);var s=o&&o[0];return He(a),o&&(!s||o.length===1&&s.isComment&&!Gt(s))?void 0:o};return n.proxy&&Object.defineProperty(t,r,{get:i,enumerable:!0,configurable:!0}),i}function Sl(e,t){return function(){return e[t]}}function Al(e){var t=e.$options,r=t.setup;if(r){var n=e._setupContext=ys(e);He(e),Tt();var i=Me(r,null,[e._props||di({}),n],e,"setup");if($t(),He(),W(i))t.render=i;else if(te(i))if(e._setupState=i,i.__sfc){var o=e._setupProxy={};for(var a in i)a!=="__sfc"&&Lr(o,i,a)}else for(var a in i)Xo(a)||Lr(e,i,a)}}function ys(e){return{get attrs(){if(!e._attrsProxy){var t=e._attrsProxy={};Z(t,"_v_attr_proxy",!0),Nr(t,e.$attrs,ee,e,"$attrs")}return e._attrsProxy},get listeners(){if(!e._listenersProxy){var t=e._listenersProxy={};Nr(t,e.$listeners,ee,e,"$listeners")}return e._listenersProxy},get slots(){return Tl(e)},emit:Ko(e.$emit,e),expose:function(t){t&&Object.keys(t).forEach(function(r){return Lr(e,t,r)})}}}function Nr(e,t,r,n,i){var a=!1;for(var o in t)o in e?t[o]!==r[o]&&(a=!0):(a=!0,Pl(e,o,n,i));for(var o in e)o in t||(a=!0,delete e[o]);return a}function Pl(e,t,r,n){Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){return r[n][t]}})}function Tl(e){return e._slotsProxy||gs(e._slotsProxy={},e.$scopedSlots),e._slotsProxy}function gs(e,t){for(var r in t)e[r]=t[r];for(var r in e)r in t||delete e[r]}function $l(){return yi().slots}function xl(){return yi().attrs}function Rl(){return yi().listeners}function yi(){var e=Y;return e._setupContext||(e._setupContext=ys(e))}function Ml(e,t){var r=k(e)?e.reduce(function(a,o){return a[o]={},a},{}):e;for(var n in t){var i=r[n];i?k(i)||W(i)?r[n]={type:i,default:t[n]}:i.default=t[n]:i===null&&(r[n]={default:t[n]})}return r}function jl(e){e._vnode=null,e._staticTrees=null;var t=e.$options,r=e.$vnode=t._parentVnode,n=r&&r.context;e.$slots=mi(t._renderChildren,n),e.$scopedSlots=r?Ht(e.$parent,r.data.scopedSlots,e.$slots):ee,e._c=function(a,o,s,u){return Kt(e,a,o,s,u,!1)},e.$createElement=function(a,o,s,u){return Kt(e,a,o,s,u,!0)};var i=r&&r.data;ze(e,"$attrs",i&&i.attrs||ee,null,!0),ze(e,"$listeners",t._parentListeners||ee,null,!0)}var Or=null;function kl(e){ms(e.prototype),e.prototype.$nextTick=function(t){return an(t,this)},e.prototype._render=function(){var t=this,r=t.$options,n=r.render,i=r._parentVnode;i&&t._isMounted&&(t.$scopedSlots=Ht(t.$parent,i.data.scopedSlots,t.$slots,t.$scopedSlots),t._slotsProxy&&gs(t._slotsProxy,t.$scopedSlots)),t.$vnode=i;var a=Y,o=Or,s;try{He(t),Or=t,s=n.call(t._renderProxy,t.$createElement)}catch(u){ot(u,t,"render"),s=t._vnode}finally{Or=o,He(a)}return k(s)&&s.length===1&&(s=s[0]),s instanceof ce||(s=Ve()),s.parent=i,s}}function vn(e,t){return(e.__esModule||nr&&e[Symbol.toStringTag]==="Module")&&(e=e.default),te(e)?t.extend(e):e}function Il(e,t,r,n,i){var a=Ve();return a.asyncFactory=e,a.asyncMeta={data:t,context:r,children:n,tag:i},a}function Ll(e,t){if(J(e.error)&&w(e.errorComp))return e.errorComp;if(w(e.resolved))return e.resolved;var r=Or;if(r&&w(e.owners)&&e.owners.indexOf(r)===-1&&e.owners.push(r),J(e.loading)&&w(e.loadingComp))return e.loadingComp;if(r&&!w(e.owners)){var n=e.owners=[r],i=!0,a=null,o=null;r.$on("hook:destroyed",function(){return Ke(n,r)});var s=function(l){for(var v=0,p=n.length;v<p;v++)n[v].$forceUpdate();l&&(n.length=0,a!==null&&(clearTimeout(a),a=null),o!==null&&(clearTimeout(o),o=null))},u=Mr(function(l){e.resolved=vn(l,t),i?n.length=0:s(!0)}),f=Mr(function(l){w(e.errorComp)&&(e.error=!0,s(!0))}),c=e(u,f);return te(c)&&(Tn(c)?j(e.resolved)&&c.then(u,f):Tn(c.component)&&(c.component.then(u,f),w(c.error)&&(e.errorComp=vn(c.error,t)),w(c.loading)&&(e.loadingComp=vn(c.loading,t),c.delay===0?e.loading=!0:a=setTimeout(function(){a=null,j(e.resolved)&&j(e.error)&&(e.loading=!0,s(!1))},c.delay||200)),w(c.timeout)&&(o=setTimeout(function(){o=null,j(e.resolved)&&f(null)},c.timeout)))),i=!1,e.loading?e.loadingComp:e.resolved}}function _s(e){if(k(e))for(var t=0;t<e.length;t++){var r=e[t];if(w(r)&&(w(r.componentOptions)||Gt(r)))return r}}var Nl=1,bs=2;function Kt(e,t,r,n,i,a){return(k(r)||tr(r))&&(i=n,n=r,r=void 0),J(a)&&(i=bs),Dl(e,t,r,n,i)}function Dl(e,t,r,n,i){if(w(r)&&w(r.__ob__)||(w(r)&&w(r.is)&&(t=r.is),!t))return Ve();k(n)&&W(n[0])&&(r=r||{},r.scopedSlots={default:n[0]},n.length=0),i===bs?n=hi(n):i===Nl&&(n=pl(n));var a,o;if(typeof t=="string"){var s=void 0;o=e.$vnode&&e.$vnode.ns||ve.getTagNamespace(t),ve.isReservedTag(t)?a=new ce(ve.parsePlatformTagName(t),r,n,void 0,void 0,e):(!r||!r.pre)&&w(s=Ur(e.$options,"components",t))?a=_a(s,r,e,n,t):a=new ce(t,r,n,void 0,void 0,e)}else a=_a(t,r,e,n);return k(a)?a:w(a)?(w(o)&&ws(a,o),w(r)&&Fl(r),a):Ve()}function ws(e,t,r){if(e.ns=t,e.tag==="foreignObject"&&(t=void 0,r=!0),w(e.children))for(var n=0,i=e.children.length;n<i;n++){var a=e.children[n];w(a.tag)&&(j(a.ns)||J(r)&&a.tag!=="svg")&&ws(a,t,r)}}function Fl(e){te(e.style)&&Ct(e.style),te(e.class)&&Ct(e.class)}function Ul(e,t,r){return Kt(Y,e,t,r,2,!0)}function ot(e,t,r){Tt();try{if(t)for(var n=t;n=n.$parent;){var i=n.$options.errorCaptured;if(i)for(var a=0;a<i.length;a++)try{var o=i[a].call(n,e,t,r)===!1;if(o)return}catch(s){pa(s,n,"errorCaptured hook")}}pa(e,t,r)}finally{$t()}}function Me(e,t,r,n,i){var a;try{a=r?e.apply(t,r):e.call(t),a&&!a._isVue&&Tn(a)&&!a._handled&&(a.catch(function(o){return ot(o,n,i+" (Promise/async)")}),a._handled=!0)}catch(o){ot(o,n,i)}return a}function pa(e,t,r){if(ve.errorHandler)try{return ve.errorHandler.call(null,e,t,r)}catch(n){n!==e&&da(n)}da(e)}function da(e,t,r){if(ue&&typeof console<"u")console.error(e);else throw e}var kn=!1,In=[],Ln=!1;function cr(){Ln=!1;var e=In.slice(0);In.length=0;for(var t=0;t<e.length;t++)e[t]()}var Lt;if(typeof Promise<"u"&&wt(Promise)){var Hl=Promise.resolve();Lt=function(){Hl.then(cr),Ic&&setTimeout(q)},kn=!0}else if(!At&&typeof MutationObserver<"u"&&(wt(MutationObserver)||MutationObserver.toString()==="[object MutationObserverConstructor]")){var lr=1,Wl=new MutationObserver(cr),va=document.createTextNode(String(lr));Wl.observe(va,{characterData:!0}),Lt=function(){lr=(lr+1)%2,va.data=String(lr)},kn=!0}else typeof setImmediate<"u"&&wt(setImmediate)?Lt=function(){setImmediate(cr)}:Lt=function(){setTimeout(cr,0)};function an(e,t){var r;if(In.push(function(){if(e)try{e.call(t)}catch(n){ot(n,t,"nextTick")}else r&&r(t)}),Ln||(Ln=!0,Lt()),!e&&typeof Promise<"u")return new Promise(function(n){r=n})}function zl(e){e===void 0&&(e="$style");{if(!Y)return ee;var t=Y[e];return t||ee}}function Bl(e){if(ue){var t=Y;t&&fs(function(){var r=t.$el,n=e(t,t._setupProxy);if(r&&r.nodeType===1){var i=r.style;for(var a in n)i.setProperty("--".concat(a),n[a])}})}}function Gl(e){W(e)&&(e={loader:e});var t=e.loader,r=e.loadingComponent,n=e.errorComponent,i=e.delay,a=i===void 0?200:i,o=e.timeout;e.suspensible;var s=e.onError,u=null,f=0,c=function(){return f++,u=null,l()},l=function(){var v;return u||(v=u=t().catch(function(p){if(p=p instanceof Error?p:new Error(String(p)),s)return new Promise(function(y,d){var m=function(){return y(c())},h=function(){return d(p)};s(p,m,h,f+1)});throw p}).then(function(p){return v!==u&&u?u:(p&&(p.__esModule||p[Symbol.toStringTag]==="Module")&&(p=p.default),p)}))};return function(){var v=l();return{component:v,delay:a,timeout:o,error:n,loading:r}}}function me(e){return function(t,r){if(r===void 0&&(r=Y),!!r)return Kl(r,e,t)}}function Kl(e,t,r){var n=e.$options;n[t]=$s(n[t],r)}var ql=me("beforeMount"),Jl=me("mounted"),Yl=me("beforeUpdate"),Zl=me("updated"),Xl=me("beforeDestroy"),Ql=me("destroyed"),Vl=me("activated"),ep=me("deactivated"),tp=me("serverPrefetch"),rp=me("renderTracked"),np=me("renderTriggered"),ip=me("errorCaptured");function ap(e,t){t===void 0&&(t=Y),ip(e,t)}var Os="2.7.16";function op(e){return e}var ha=new Bt;function Ct(e){return Cr(e,ha),ha.clear(),e}function Cr(e,t){var r,n,i=k(e);if(!(!i&&!te(e)||e.__v_skip||Object.isFrozen(e)||e instanceof ce)){if(e.__ob__){var a=e.__ob__.dep.id;if(t.has(a))return;t.add(a)}if(i)for(r=e.length;r--;)Cr(e[r],t);else if(Q(e))Cr(e.value,t);else for(n=Object.keys(e),r=n.length;r--;)Cr(e[n[r]],t)}}var sp=0,ar=function(){function e(t,r,n,i,a){sl(this,V&&!V._vm?V:t?t._scope:void 0),(this.vm=t)&&a&&(t._watcher=this),i?(this.deep=!!i.deep,this.user=!!i.user,this.lazy=!!i.lazy,this.sync=!!i.sync,this.before=i.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++sp,this.active=!0,this.post=!1,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new Bt,this.newDepIds=new Bt,this.expression="",W(r)?this.getter=r:(this.getter=jc(r),this.getter||(this.getter=q)),this.value=this.lazy?void 0:this.get()}return e.prototype.get=function(){Tt(this);var t,r=this.vm;try{t=this.getter.call(r,r)}catch(n){if(this.user)ot(n,r,'getter for watcher "'.concat(this.expression,'"'));else throw n}finally{this.deep&&Ct(t),$t(),this.cleanupDeps()}return t},e.prototype.addDep=function(t){var r=t.id;this.newDepIds.has(r)||(this.newDepIds.add(r),this.newDeps.push(t),this.depIds.has(r)||t.addSub(this))},e.prototype.cleanupDeps=function(){for(var t=this.deps.length;t--;){var r=this.deps[t];this.newDepIds.has(r.id)||r.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},e.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():Fn(this)},e.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||te(t)||this.deep){var r=this.value;if(this.value=t,this.user){var n='callback for watcher "'.concat(this.expression,'"');Me(this.cb,this.vm,[t,r],this.vm,n)}else this.cb.call(this.vm,t,r)}}},e.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},e.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},e.prototype.teardown=function(){if(this.vm&&!this.vm._isBeingDestroyed&&Ke(this.vm._scope.effects,this),this.active){for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1,this.onStop&&this.onStop()}},e}();function up(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&Cs(e,t)}var qt;function fp(e,t){qt.$on(e,t)}function cp(e,t){qt.$off(e,t)}function lp(e,t){var r=qt;return function n(){var i=t.apply(null,arguments);i!==null&&r.$off(e,n)}}function Cs(e,t,r){qt=e,ps(t,r||{},fp,cp,lp,e),qt=void 0}function pp(e){var t=/^hook:/;e.prototype.$on=function(r,n){var i=this;if(k(r))for(var a=0,o=r.length;a<o;a++)i.$on(r[a],n);else(i._events[r]||(i._events[r]=[])).push(n),t.test(r)&&(i._hasHookEvent=!0);return i},e.prototype.$once=function(r,n){var i=this;function a(){i.$off(r,a),n.apply(i,arguments)}return a.fn=n,i.$on(r,a),i},e.prototype.$off=function(r,n){var i=this;if(!arguments.length)return i._events=Object.create(null),i;if(k(r)){for(var a=0,o=r.length;a<o;a++)i.$off(r[a],n);return i}var s=i._events[r];if(!s)return i;if(!n)return i._events[r]=null,i;for(var u,f=s.length;f--;)if(u=s[f],u===n||u.fn===n){s.splice(f,1);break}return i},e.prototype.$emit=function(r){var n=this,i=n._events[r];if(i){i=i.length>1?$n(i):i;for(var a=$n(arguments,1),o='event handler for "'.concat(r,'"'),s=0,u=i.length;s<u;s++)Me(i[s],n,a,n,o)}return n}}var tt=null;function Es(e){var t=tt;return tt=e,function(){tt=t}}function dp(e){var t=e.$options,r=t.parent;if(r&&!t.abstract){for(;r.$options.abstract&&r.$parent;)r=r.$parent;r.$children.push(e)}e.$parent=r,e.$root=r?r.$root:e,e.$children=[],e.$refs={},e._provided=r?r._provided:Object.create(null),e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}function vp(e){e.prototype._update=function(t,r){var n=this,i=n.$el,a=n._vnode,o=Es(n);n._vnode=t,a?n.$el=n.__patch__(a,t):n.$el=n.__patch__(n.$el,t,r,!1),o(),i&&(i.__vue__=null),n.$el&&(n.$el.__vue__=n);for(var s=n;s&&s.$vnode&&s.$parent&&s.$vnode===s.$parent._vnode;)s.$parent.$el=s.$el,s=s.$parent},e.prototype.$forceUpdate=function(){var t=this;t._watcher&&t._watcher.update()},e.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){_e(t,"beforeDestroy"),t._isBeingDestroyed=!0;var r=t.$parent;r&&!r._isBeingDestroyed&&!t.$options.abstract&&Ke(r.$children,t),t._scope.stop(),t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),_e(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}function hp(e,t,r){e.$el=t,e.$options.render||(e.$options.render=Ve),_e(e,"beforeMount");var n;n=function(){e._update(e._render(),r)};var i={before:function(){e._isMounted&&!e._isDestroyed&&_e(e,"beforeUpdate")}};new ar(e,n,q,i,!0),r=!1;var a=e._preWatchers;if(a)for(var o=0;o<a.length;o++)a[o].run();return e.$vnode==null&&(e._isMounted=!0,_e(e,"mounted")),e}function mp(e,t,r,n,i){var a=n.data.scopedSlots,o=e.$scopedSlots,s=!!(a&&!a.$stable||o!==ee&&!o.$stable||a&&e.$scopedSlots.$key!==a.$key||!a&&e.$scopedSlots.$key),u=!!(i||e.$options._renderChildren||s),f=e.$vnode;e.$options._parentVnode=n,e.$vnode=n,e._vnode&&(e._vnode.parent=n),e.$options._renderChildren=i;var c=n.data.attrs||ee;e._attrsProxy&&Nr(e._attrsProxy,c,f.data&&f.data.attrs||ee,e,"$attrs")&&(u=!0),e.$attrs=c,r=r||ee;var l=e.$options._parentListeners;if(e._listenersProxy&&Nr(e._listenersProxy,r,l||ee,e,"$listeners"),e.$listeners=e.$options._parentListeners=r,Cs(e,r,l),t&&e.$options.props){We(!1);for(var v=e._props,p=e.$options._propKeys||[],y=0;y<p.length;y++){var d=p[y],m=e.$options.props;v[d]=Ci(d,m,t,e)}We(!0),e.$options.propsData=t}u&&(e.$slots=mi(i,n.context),e.$forceUpdate())}function Ss(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function gi(e,t){if(t){if(e._directInactive=!1,Ss(e))return}else if(e._directInactive)return;if(e._inactive||e._inactive===null){e._inactive=!1;for(var r=0;r<e.$children.length;r++)gi(e.$children[r]);_e(e,"activated")}}function As(e,t){if(!(t&&(e._directInactive=!0,Ss(e)))&&!e._inactive){e._inactive=!0;for(var r=0;r<e.$children.length;r++)As(e.$children[r]);_e(e,"deactivated")}}function _e(e,t,r,n){n===void 0&&(n=!0),Tt();var i=Y,a=cs();n&&He(e);var o=e.$options[t],s="".concat(t," hook");if(o)for(var u=0,f=o.length;u<f;u++)Me(o[u],e,null,e,s);e._hasHookEvent&&e.$emit("hook:"+t),n&&(He(i),a&&a.on()),$t()}var Pe=[],_i=[],Dr={},Nn=!1,bi=!1,_t=0;function yp(){_t=Pe.length=_i.length=0,Dr={},Nn=bi=!1}var Ps=0,Dn=Date.now;if(ue&&!At){var hn=window.performance;hn&&typeof hn.now=="function"&&Dn()>document.createEvent("Event").timeStamp&&(Dn=function(){return hn.now()})}var gp=function(e,t){if(e.post){if(!t.post)return 1}else if(t.post)return-1;return e.id-t.id};function _p(){Ps=Dn(),bi=!0;var e,t;for(Pe.sort(gp),_t=0;_t<Pe.length;_t++)e=Pe[_t],e.before&&e.before(),t=e.id,Dr[t]=null,e.run();var r=_i.slice(),n=Pe.slice();yp(),Op(r),bp(n),Dc(),jr&&ve.devtools&&jr.emit("flush")}function bp(e){for(var t=e.length;t--;){var r=e[t],n=r.vm;n&&n._watcher===r&&n._isMounted&&!n._isDestroyed&&_e(n,"updated")}}function wp(e){e._inactive=!1,_i.push(e)}function Op(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,gi(e[t],!0)}function Fn(e){var t=e.id;if(Dr[t]==null&&!(e===Se.target&&e.noRecurse)){if(Dr[t]=!0,!bi)Pe.push(e);else{for(var r=Pe.length-1;r>_t&&Pe[r].id>e.id;)r--;Pe.splice(r+1,0,e)}Nn||(Nn=!0,an(_p))}}function Cp(e){var t=e.$options.provide;if(t){var r=W(t)?t.call(e):t;if(!te(r))return;for(var n=ls(e),i=nr?Reflect.ownKeys(r):Object.keys(r),a=0;a<i.length;a++){var o=i[a];Object.defineProperty(n,o,Object.getOwnPropertyDescriptor(r,o))}}}function Ep(e){var t=Ts(e.$options.inject,e);t&&(We(!1),Object.keys(t).forEach(function(r){ze(e,r,t[r])}),We(!0))}function Ts(e,t){if(e){for(var r=Object.create(null),n=nr?Reflect.ownKeys(e):Object.keys(e),i=0;i<n.length;i++){var a=n[i];if(a!=="__ob__"){var o=e[a].from;if(o in t._provided)r[a]=t._provided[o];else if("default"in e[a]){var s=e[a].default;r[a]=W(s)?s.call(t):s}}}return r}}function wi(e,t,r,n,i){var a=this,o=i.options,s;ne(n,"_uid")?(s=Object.create(n),s._original=n):(s=n,n=n._original);var u=J(o._compiled),f=!u;this.data=e,this.props=t,this.children=r,this.parent=n,this.listeners=e.on||ee,this.injections=Ts(o.inject,n),this.slots=function(){return a.$slots||Ht(n,e.scopedSlots,a.$slots=mi(r,n)),a.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return Ht(n,e.scopedSlots,this.slots())}}),u&&(this.$options=o,this.$slots=this.slots(),this.$scopedSlots=Ht(n,e.scopedSlots,this.$slots)),o._scopeId?this._c=function(c,l,v,p){var y=Kt(s,c,l,v,p,f);return y&&!k(y)&&(y.fnScopeId=o._scopeId,y.fnContext=n),y}:this._c=function(c,l,v,p){return Kt(s,c,l,v,p,f)}}ms(wi.prototype);function Sp(e,t,r,n,i){var a=e.options,o={},s=a.props;if(w(s))for(var u in s)o[u]=Ci(u,s,t||ee);else w(r.attrs)&&ya(o,r.attrs),w(r.props)&&ya(o,r.props);var f=new wi(r,o,i,n,e),c=a.render.call(null,f._c,f);if(c instanceof ce)return ma(c,r,f.parent,a);if(k(c)){for(var l=hi(c)||[],v=new Array(l.length),p=0;p<l.length;p++)v[p]=ma(l[p],r,f.parent,a);return v}}function ma(e,t,r,n,i){var a=Mn(e);return a.fnContext=r,a.fnOptions=n,t.slot&&((a.data||(a.data={})).slot=t.slot),a}function ya(e,t){for(var r in t)e[it(r)]=t[r]}function Fr(e){return e.name||e.__name||e._componentTag}var Oi={init:function(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var r=e;Oi.prepatch(r,r)}else{var n=e.componentInstance=Ap(e,tt);n.$mount(t?e.elm:void 0,t)}},prepatch:function(e,t){var r=t.componentOptions,n=t.componentInstance=e.componentInstance;mp(n,r.propsData,r.listeners,t,r.children)},insert:function(e){var t=e.context,r=e.componentInstance;r._isMounted||(r._isMounted=!0,_e(r,"mounted")),e.data.keepAlive&&(t._isMounted?wp(r):gi(r,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?As(t,!0):t.$destroy())}},ga=Object.keys(Oi);function _a(e,t,r,n,i){if(!j(e)){var a=r.$options._base;if(te(e)&&(e=a.extend(e)),typeof e=="function"){var o;if(j(e.cid)&&(o=e,e=Ll(o,a),e===void 0))return Il(o,t,r,n,i);t=t||{},Si(e),w(t.model)&&$p(e.options,t);var s=ll(t,e);if(J(e.options.functional))return Sp(e,s,t,r,n);var u=t.on;if(t.on=t.nativeOn,J(e.options.abstract)){var f=t.slot;t={},f&&(t.slot=f)}Pp(t);var c=Fr(e.options)||i,l=new ce("vue-component-".concat(e.cid).concat(c?"-".concat(c):""),t,void 0,void 0,void 0,r,{Ctor:e,propsData:s,listeners:u,tag:i,children:n},o);return l}}}function Ap(e,t){var r={_isComponent:!0,_parentVnode:e,parent:t},n=e.data.inlineTemplate;return w(n)&&(r.render=n.render,r.staticRenderFns=n.staticRenderFns),new e.componentOptions.Ctor(r)}function Pp(e){for(var t=e.hook||(e.hook={}),r=0;r<ga.length;r++){var n=ga[r],i=t[n],a=Oi[n];i!==a&&!(i&&i._merged)&&(t[n]=i?Tp(a,i):a)}}function Tp(e,t){var r=function(n,i){e(n,i),t(n,i)};return r._merged=!0,r}function $p(e,t){var r=e.model&&e.model.prop||"value",n=e.model&&e.model.event||"input";(t.attrs||(t.attrs={}))[r]=t.model.value;var i=t.on||(t.on={}),a=i[n],o=t.model.callback;w(a)?(k(a)?a.indexOf(o)===-1:a!==o)&&(i[n]=[o].concat(a)):i[n]=o}var xp=q,Ce=ve.optionMergeStrategies;function Jt(e,t,r){if(r===void 0&&(r=!0),!t)return e;for(var n,i,a,o=nr?Reflect.ownKeys(t):Object.keys(t),s=0;s<o.length;s++)n=o[s],n!=="__ob__"&&(i=e[n],a=t[n],!r||!ne(e,n)?tn(e,n,a):i!==a&&ie(i)&&ie(a)&&Jt(i,a));return e}function ba(e,t,r){return r?function(){var i=W(t)?t.call(r,r):t,a=W(e)?e.call(r,r):e;return i?Jt(i,a):a}:t?e?function(){return Jt(W(t)?t.call(this,this):t,W(e)?e.call(this,this):e)}:t:e}Ce.data=function(e,t,r){return r?ba(e,t,r):t&&typeof t!="function"?e:ba(e,t)};function $s(e,t){var r=t?e?e.concat(t):k(t)?t:[t]:e;return r&&Rp(r)}function Rp(e){for(var t=[],r=0;r<e.length;r++)t.indexOf(e[r])===-1&&t.push(e[r]);return t}Zo.forEach(function(e){Ce[e]=$s});function Mp(e,t,r,n){var i=Object.create(e||null);return t?B(i,t):i}en.forEach(function(e){Ce[e+"s"]=Mp});Ce.watch=function(e,t,r,n){if(e===Rn&&(e=void 0),t===Rn&&(t=void 0),!t)return Object.create(e||null);if(!e)return t;var i={};B(i,e);for(var a in t){var o=i[a],s=t[a];o&&!k(o)&&(o=[o]),i[a]=o?o.concat(s):k(s)?s:[s]}return i};Ce.props=Ce.methods=Ce.inject=Ce.computed=function(e,t,r,n){if(!e)return t;var i=Object.create(null);return B(i,e),t&&B(i,t),i};Ce.provide=function(e,t){return e?function(){var r=Object.create(null);return Jt(r,W(e)?e.call(this):e),t&&Jt(r,W(t)?t.call(this):t,!1),r}:t};var jp=function(e,t){return t===void 0?e:t};function kp(e,t){var r=e.props;if(r){var n={},i,a,o;if(k(r))for(i=r.length;i--;)a=r[i],typeof a=="string"&&(o=it(a),n[o]={type:null});else if(ie(r))for(var s in r)a=r[s],o=it(s),n[o]=ie(a)?a:{type:a};e.props=n}}function Ip(e,t){var r=e.inject;if(r){var n=e.inject={};if(k(r))for(var i=0;i<r.length;i++)n[r[i]]={from:r[i]};else if(ie(r))for(var a in r){var o=r[a];n[a]=ie(o)?B({from:a},o):{from:o}}}}function Lp(e){var t=e.directives;if(t)for(var r in t){var n=t[r];W(n)&&(t[r]={bind:n,update:n})}}function st(e,t,r){if(W(t)&&(t=t.options),kp(t),Ip(t),Lp(t),!t._base&&(t.extends&&(e=st(e,t.extends,r)),t.mixins))for(var n=0,i=t.mixins.length;n<i;n++)e=st(e,t.mixins[n],r);var a={},o;for(o in e)s(o);for(o in t)ne(e,o)||s(o);function s(u){var f=Ce[u]||jp;a[u]=f(e[u],t[u],r,u)}return a}function Ur(e,t,r,n){if(typeof r=="string"){var i=e[t];if(ne(i,r))return i[r];var a=it(r);if(ne(i,a))return i[a];var o=Pc(a);if(ne(i,o))return i[o];var s=i[r]||i[a]||i[o];return s}}function Ci(e,t,r,n){var i=t[e],a=!ne(r,e),o=r[e],s=Oa(Boolean,i.type);if(s>-1){if(a&&!ne(i,"default"))o=!1;else if(o===""||o===rr(e)){var u=Oa(String,i.type);(u<0||s<u)&&(o=!0)}}if(o===void 0){o=Np(n,i,e);var f=li;We(!0),Re(o),We(f)}return o}function Np(e,t,r){if(ne(t,"default")){var n=t.default;return e&&e.$options.propsData&&e.$options.propsData[r]===void 0&&e._props[r]!==void 0?e._props[r]:W(n)&&Un(t.type)!=="Function"?n.call(e):n}}var Dp=/^\s*function (\w+)/;function Un(e){var t=e&&e.toString().match(Dp);return t?t[1]:""}function wa(e,t){return Un(e)===Un(t)}function Oa(e,t){if(!k(t))return wa(t,e)?0:-1;for(var r=0,n=t.length;r<n;r++)if(wa(t[r],e))return r;return-1}var je={enumerable:!0,configurable:!0,get:q,set:q};function Ei(e,t,r){je.get=function(){return this[t][r]},je.set=function(i){this[t][r]=i},Object.defineProperty(e,r,je)}function Fp(e){var t=e.$options;if(t.props&&Up(e,t.props),Al(e),t.methods&&Gp(e,t.methods),t.data)Hp(e);else{var r=Re(e._data={});r&&r.vmCount++}t.computed&&Bp(e,t.computed),t.watch&&t.watch!==Rn&&Kp(e,t.watch)}function Up(e,t){var r=e.$options.propsData||{},n=e._props=di({}),i=e.$options._propKeys=[],a=!e.$parent;a||We(!1);var o=function(u){i.push(u);var f=Ci(u,t,r,e);ze(n,u,f,void 0,!0),u in e||Ei(e,"_props",u)};for(var s in t)o(s);We(!0)}function Hp(e){var t=e.$options.data;t=e._data=W(t)?Wp(t,e):t||{},ie(t)||(t={});var r=Object.keys(t),n=e.$options.props;e.$options.methods;for(var i=r.length;i--;){var a=r[i];n&&ne(n,a)||Xo(a)||Ei(e,"_data",a)}var o=Re(t);o&&o.vmCount++}function Wp(e,t){Tt();try{return e.call(t,t)}catch(r){return ot(r,t,"data()"),{}}finally{$t()}}var zp={lazy:!0};function Bp(e,t){var r=e._computedWatchers=Object.create(null),n=qe();for(var i in t){var a=t[i],o=W(a)?a:a.get;n||(r[i]=new ar(e,o||q,q,zp)),i in e||xs(e,i,a)}}function xs(e,t,r){var n=!qe();W(r)?(je.get=n?Ca(t):Ea(r),je.set=q):(je.get=r.get?n&&r.cache!==!1?Ca(t):Ea(r.get):q,je.set=r.set||q),Object.defineProperty(e,t,je)}function Ca(e){return function(){var r=this._computedWatchers&&this._computedWatchers[e];if(r)return r.dirty&&r.evaluate(),Se.target&&r.depend(),r.value}}function Ea(e){return function(){return e.call(this,this)}}function Gp(e,t){e.$options.props;for(var r in t)e[r]=typeof t[r]!="function"?q:Ko(t[r],e)}function Kp(e,t){for(var r in t){var n=t[r];if(k(n))for(var i=0;i<n.length;i++)Hn(e,r,n[i]);else Hn(e,r,n)}}function Hn(e,t,r,n){return ie(r)&&(n=r,r=r.handler),typeof r=="string"&&(r=e[r]),e.$watch(t,r,n)}function qp(e){var t={};t.get=function(){return this._data};var r={};r.get=function(){return this._props},Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",r),e.prototype.$set=tn,e.prototype.$delete=pi,e.prototype.$watch=function(n,i,a){var o=this;if(ie(i))return Hn(o,n,i,a);a=a||{},a.user=!0;var s=new ar(o,n,i,a);if(a.immediate){var u='callback for immediate watcher "'.concat(s.expression,'"');Tt(),Me(i,o,[s.value],o,u),$t()}return function(){s.teardown()}}}var Jp=0;function Yp(e){e.prototype._init=function(t){var r=this;r._uid=Jp++,r._isVue=!0,r.__v_skip=!0,r._scope=new vi(!0),r._scope.parent=void 0,r._scope._vm=!0,t&&t._isComponent?Zp(r,t):r.$options=st(Si(r.constructor),t||{},r),r._renderProxy=r,r._self=r,dp(r),up(r),jl(r),_e(r,"beforeCreate",void 0,!1),Ep(r),Fp(r),Cp(r),_e(r,"created"),r.$options.el&&r.$mount(r.$options.el)}}function Zp(e,t){var r=e.$options=Object.create(e.constructor.options),n=t._parentVnode;r.parent=t.parent,r._parentVnode=n;var i=n.componentOptions;r.propsData=i.propsData,r._parentListeners=i.listeners,r._renderChildren=i.children,r._componentTag=i.tag,t.render&&(r.render=t.render,r.staticRenderFns=t.staticRenderFns)}function Si(e){var t=e.options;if(e.super){var r=Si(e.super),n=e.superOptions;if(r!==n){e.superOptions=r;var i=Xp(e);i&&B(e.extendOptions,i),t=e.options=st(r,e.extendOptions),t.name&&(t.components[t.name]=e)}}return t}function Xp(e){var t,r=e.options,n=e.sealedOptions;for(var i in r)r[i]!==n[i]&&(t||(t={}),t[i]=r[i]);return t}function G(e){this._init(e)}Yp(G);qp(G);pp(G);vp(G);kl(G);function Qp(e){e.use=function(t){var r=this._installedPlugins||(this._installedPlugins=[]);if(r.indexOf(t)>-1)return this;var n=$n(arguments,1);return n.unshift(this),W(t.install)?t.install.apply(t,n):W(t)&&t.apply(null,n),r.push(t),this}}function Vp(e){e.mixin=function(t){return this.options=st(this.options,t),this}}function ed(e){e.cid=0;var t=1;e.extend=function(r){r=r||{};var n=this,i=n.cid,a=r._Ctor||(r._Ctor={});if(a[i])return a[i];var o=Fr(r)||Fr(n.options),s=function(f){this._init(f)};return s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s.cid=t++,s.options=st(n.options,r),s.super=n,s.options.props&&td(s),s.options.computed&&rd(s),s.extend=n.extend,s.mixin=n.mixin,s.use=n.use,en.forEach(function(u){s[u]=n[u]}),o&&(s.options.components[o]=s),s.superOptions=n.options,s.extendOptions=r,s.sealedOptions=B({},s.options),a[i]=s,s}}function td(e){var t=e.options.props;for(var r in t)Ei(e.prototype,"_props",r)}function rd(e){var t=e.options.computed;for(var r in t)xs(e.prototype,r,t[r])}function nd(e){en.forEach(function(t){e[t]=function(r,n){return n?(t==="component"&&ie(n)&&(n.name=n.name||r,n=this.options._base.extend(n)),t==="directive"&&W(n)&&(n={bind:n,update:n}),this.options[t+"s"][r]=n,n):this.options[t+"s"][r]}})}function Sa(e){return e&&(Fr(e.Ctor.options)||e.tag)}function pr(e,t){return k(e)?e.indexOf(t)>-1:typeof e=="string"?e.split(",").indexOf(t)>-1:wc(e)?e.test(t):!1}function Aa(e,t){var r=e.cache,n=e.keys,i=e._vnode,a=e.$vnode;for(var o in r){var s=r[o];if(s){var u=s.name;u&&!t(u)&&Wn(r,o,n,i)}}a.componentOptions.children=void 0}function Wn(e,t,r,n){var i=e[t];i&&(!n||i.tag!==n.tag)&&i.componentInstance.$destroy(),e[t]=null,Ke(r,t)}var Pa=[String,RegExp,Array],id={name:"keep-alive",abstract:!0,props:{include:Pa,exclude:Pa,max:[String,Number]},methods:{cacheVNode:function(){var e=this,t=e.cache,r=e.keys,n=e.vnodeToCache,i=e.keyToCache;if(n){var a=n.tag,o=n.componentInstance,s=n.componentOptions;t[i]={name:Sa(s),tag:a,componentInstance:o},r.push(i),this.max&&r.length>parseInt(this.max)&&Wn(t,r[0],r,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)Wn(this.cache,e,this.keys)},mounted:function(){var e=this;this.cacheVNode(),this.$watch("include",function(t){Aa(e,function(r){return pr(t,r)})}),this.$watch("exclude",function(t){Aa(e,function(r){return!pr(t,r)})})},updated:function(){this.cacheVNode()},render:function(){var e=this.$slots.default,t=_s(e),r=t&&t.componentOptions;if(r){var n=Sa(r),i=this,a=i.include,o=i.exclude;if(a&&(!n||!pr(a,n))||o&&n&&pr(o,n))return t;var s=this,u=s.cache,f=s.keys,c=t.key==null?r.Ctor.cid+(r.tag?"::".concat(r.tag):""):t.key;u[c]?(t.componentInstance=u[c].componentInstance,Ke(f,c),f.push(c)):(this.vnodeToCache=t,this.keyToCache=c),t.data.keepAlive=!0}return t||e&&e[0]}},ad={KeepAlive:id};function od(e){var t={};t.get=function(){return ve},Object.defineProperty(e,"config",t),e.util={warn:xp,extend:B,mergeOptions:st,defineReactive:ze},e.set=tn,e.delete=pi,e.nextTick=an,e.observable=function(r){return Re(r),r},e.options=Object.create(null),en.forEach(function(r){e.options[r+"s"]=Object.create(null)}),e.options._base=e,B(e.options.components,ad),Qp(e),Vp(e),ed(e),nd(e)}od(G);Object.defineProperty(G.prototype,"$isServer",{get:qe});Object.defineProperty(G.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}});Object.defineProperty(G,"FunctionalRenderContext",{value:wi});G.version=Os;var sd=be("style,class"),ud=be("input,textarea,option,select,progress"),fd=function(e,t,r){return r==="value"&&ud(e)&&t!=="button"||r==="selected"&&e==="option"||r==="checked"&&e==="input"||r==="muted"&&e==="video"},Rs=be("contenteditable,draggable,spellcheck"),cd=be("events,caret,typing,plaintext-only"),ld=function(e,t){return Hr(t)||t==="false"?"false":e==="contenteditable"&&cd(t)?t:"true"},pd=be("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),zn="http://www.w3.org/1999/xlink",Ai=function(e){return e.charAt(5)===":"&&e.slice(0,5)==="xlink"},Ms=function(e){return Ai(e)?e.slice(6,e.length):""},Hr=function(e){return e==null||e===!1};function dd(e){for(var t=e.data,r=e,n=e;w(n.componentInstance);)n=n.componentInstance._vnode,n&&n.data&&(t=Ta(n.data,t));for(;w(r=r.parent);)r&&r.data&&(t=Ta(t,r.data));return vd(t.staticClass,t.class)}function Ta(e,t){return{staticClass:Pi(e.staticClass,t.staticClass),class:w(e.class)?[e.class,t.class]:t.class}}function vd(e,t){return w(e)||w(t)?Pi(e,Ti(t)):""}function Pi(e,t){return e?t?e+" "+t:e:t||""}function Ti(e){return Array.isArray(e)?hd(e):te(e)?md(e):typeof e=="string"?e:""}function hd(e){for(var t="",r,n=0,i=e.length;n<i;n++)w(r=Ti(e[n]))&&r!==""&&(t&&(t+=" "),t+=r);return t}function md(e){var t="";for(var r in e)e[r]&&(t&&(t+=" "),t+=r);return t}var yd={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},gd=be("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),$i=be("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignobject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),js=function(e){return gd(e)||$i(e)};function _d(e){if($i(e))return"svg";if(e==="math")return"math"}var dr=Object.create(null);function bd(e){if(!ue)return!0;if(js(e))return!1;if(e=e.toLowerCase(),dr[e]!=null)return dr[e];var t=document.createElement(e);return e.indexOf("-")>-1?dr[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:dr[e]=/HTMLUnknownElement/.test(t.toString())}var Bn=be("text,number,password,search,email,tel,url");function wd(e){if(typeof e=="string"){var t=document.querySelector(e);return t||document.createElement("div")}else return e}function Od(e,t){var r=document.createElement(e);return e!=="select"||t.data&&t.data.attrs&&t.data.attrs.multiple!==void 0&&r.setAttribute("multiple","multiple"),r}function Cd(e,t){return document.createElementNS(yd[e],t)}function Ed(e){return document.createTextNode(e)}function Sd(e){return document.createComment(e)}function Ad(e,t,r){e.insertBefore(t,r)}function Pd(e,t){e.removeChild(t)}function Td(e,t){e.appendChild(t)}function $d(e){return e.parentNode}function xd(e){return e.nextSibling}function Rd(e){return e.tagName}function Md(e,t){e.textContent=t}function jd(e,t){e.setAttribute(t,"")}var kd=Object.freeze({__proto__:null,createElement:Od,createElementNS:Cd,createTextNode:Ed,createComment:Sd,insertBefore:Ad,removeChild:Pd,appendChild:Td,parentNode:$d,nextSibling:xd,tagName:Rd,setTextContent:Md,setStyleScope:jd}),Id={create:function(e,t){bt(t)},update:function(e,t){e.data.ref!==t.data.ref&&(bt(e,!0),bt(t))},destroy:function(e){bt(e,!0)}};function bt(e,t){var r=e.data.ref;if(w(r)){var n=e.context,i=e.componentInstance||e.elm,a=t?null:i,o=t?void 0:i;if(W(r)){Me(r,n,[a],n,"template ref function");return}var s=e.data.refInFor,u=typeof r=="string"||typeof r=="number",f=Q(r),c=n.$refs;if(u||f){if(s){var l=u?c[r]:r.value;t?k(l)&&Ke(l,i):k(l)?l.includes(i)||l.push(i):u?(c[r]=[i],$a(n,r,c[r])):r.value=[i]}else if(u){if(t&&c[r]!==i)return;c[r]=o,$a(n,r,a)}else if(f){if(t&&r.value!==i)return;r.value=a}}}}function $a(e,t,r){var n=e._setupState;n&&ne(n,t)&&(Q(n[t])?n[t].value=r:n[t]=r)}var Ie=new ce("",{},[]),kt=["create","activate","update","remove","destroy"];function Qe(e,t){return e.key===t.key&&e.asyncFactory===t.asyncFactory&&(e.tag===t.tag&&e.isComment===t.isComment&&w(e.data)===w(t.data)&&Ld(e,t)||J(e.isAsyncPlaceholder)&&j(t.asyncFactory.error))}function Ld(e,t){if(e.tag!=="input")return!0;var r,n=w(r=e.data)&&w(r=r.attrs)&&r.type,i=w(r=t.data)&&w(r=r.attrs)&&r.type;return n===i||Bn(n)&&Bn(i)}function Nd(e,t,r){var n,i,a={};for(n=t;n<=r;++n)i=e[n].key,w(i)&&(a[i]=n);return a}function Dd(e){var t,r,n={},i=e.modules,a=e.nodeOps;for(t=0;t<kt.length;++t)for(n[kt[t]]=[],r=0;r<i.length;++r)w(i[r][kt[t]])&&n[kt[t]].push(i[r][kt[t]]);function o(_){return new ce(a.tagName(_).toLowerCase(),{},[],void 0,_)}function s(_,g){function C(){--C.listeners===0&&u(_)}return C.listeners=g,C}function u(_){var g=a.parentNode(_);w(g)&&a.removeChild(g,_)}function f(_,g,C,x,R,L,M){if(w(_.elm)&&w(L)&&(_=L[M]=Mn(_)),_.isRootInsert=!R,!c(_,g,C,x)){var N=_.data,D=_.children,U=_.tag;w(U)?(_.elm=_.ns?a.createElementNS(_.ns,U):a.createElement(U,_),h(_),y(_,D,g),w(N)&&m(_,g),p(C,_.elm,x)):J(_.isComment)?(_.elm=a.createComment(_.text),p(C,_.elm,x)):(_.elm=a.createTextNode(_.text),p(C,_.elm,x))}}function c(_,g,C,x){var R=_.data;if(w(R)){var L=w(_.componentInstance)&&R.keepAlive;if(w(R=R.hook)&&w(R=R.init)&&R(_,!1),w(_.componentInstance))return l(_,g),p(C,_.elm,x),J(L)&&v(_,g,C,x),!0}}function l(_,g){w(_.data.pendingInsert)&&(g.push.apply(g,_.data.pendingInsert),_.data.pendingInsert=null),_.elm=_.componentInstance.$el,d(_)?(m(_,g),h(_)):(bt(_),g.push(_))}function v(_,g,C,x){for(var R,L=_;L.componentInstance;)if(L=L.componentInstance._vnode,w(R=L.data)&&w(R=R.transition)){for(R=0;R<n.activate.length;++R)n.activate[R](Ie,L);g.push(L);break}p(C,_.elm,x)}function p(_,g,C){w(_)&&(w(C)?a.parentNode(C)===_&&a.insertBefore(_,g,C):a.appendChild(_,g))}function y(_,g,C){if(k(g))for(var x=0;x<g.length;++x)f(g[x],C,_.elm,null,!0,g,x);else tr(_.text)&&a.appendChild(_.elm,a.createTextNode(String(_.text)))}function d(_){for(;_.componentInstance;)_=_.componentInstance._vnode;return w(_.tag)}function m(_,g){for(var C=0;C<n.create.length;++C)n.create[C](Ie,_);t=_.data.hook,w(t)&&(w(t.create)&&t.create(Ie,_),w(t.insert)&&g.push(_))}function h(_){var g;if(w(g=_.fnScopeId))a.setStyleScope(_.elm,g);else for(var C=_;C;)w(g=C.context)&&w(g=g.$options._scopeId)&&a.setStyleScope(_.elm,g),C=C.parent;w(g=tt)&&g!==_.context&&g!==_.fnContext&&w(g=g.$options._scopeId)&&a.setStyleScope(_.elm,g)}function b(_,g,C,x,R,L){for(;x<=R;++x)f(C[x],L,_,g,!1,C,x)}function O(_){var g,C,x=_.data;if(w(x))for(w(g=x.hook)&&w(g=g.destroy)&&g(_),g=0;g<n.destroy.length;++g)n.destroy[g](_);if(w(g=_.children))for(C=0;C<_.children.length;++C)O(_.children[C])}function A(_,g,C){for(;g<=C;++g){var x=_[g];w(x)&&(w(x.tag)?(E(x),O(x)):u(x.elm))}}function E(_,g){if(w(g)||w(_.data)){var C,x=n.remove.length+1;for(w(g)?g.listeners+=x:g=s(_.elm,x),w(C=_.componentInstance)&&w(C=C._vnode)&&w(C.data)&&E(C,g),C=0;C<n.remove.length;++C)n.remove[C](_,g);w(C=_.data.hook)&&w(C=C.remove)?C(_,g):g()}else u(_.elm)}function P(_,g,C,x,R){for(var L=0,M=0,N=g.length-1,D=g[0],U=g[N],H=C.length-1,X=C[0],de=C[H],Ye,Ze,Xe,dt,dn=!R;L<=N&&M<=H;)j(D)?D=g[++L]:j(U)?U=g[--N]:Qe(D,X)?($(D,X,x,C,M),D=g[++L],X=C[++M]):Qe(U,de)?($(U,de,x,C,H),U=g[--N],de=C[--H]):Qe(D,de)?($(D,de,x,C,H),dn&&a.insertBefore(_,D.elm,a.nextSibling(U.elm)),D=g[++L],de=C[--H]):Qe(U,X)?($(U,X,x,C,M),dn&&a.insertBefore(_,U.elm,D.elm),U=g[--N],X=C[++M]):(j(Ye)&&(Ye=Nd(g,L,N)),Ze=w(X.key)?Ye[X.key]:T(X,g,L,N),j(Ze)?f(X,x,_,D.elm,!1,C,M):(Xe=g[Ze],Qe(Xe,X)?($(Xe,X,x,C,M),g[Ze]=void 0,dn&&a.insertBefore(_,Xe.elm,D.elm)):f(X,x,_,D.elm,!1,C,M)),X=C[++M]);L>N?(dt=j(C[H+1])?null:C[H+1].elm,b(_,dt,C,M,H,x)):M>H&&A(g,L,N)}function T(_,g,C,x){for(var R=C;R<x;R++){var L=g[R];if(w(L)&&Qe(_,L))return R}}function $(_,g,C,x,R,L){if(_!==g){w(g.elm)&&w(x)&&(g=x[R]=Mn(g));var M=g.elm=_.elm;if(J(_.isAsyncPlaceholder)){w(g.asyncFactory.resolved)?F(_.elm,g,C):g.isAsyncPlaceholder=!0;return}if(J(g.isStatic)&&J(_.isStatic)&&g.key===_.key&&(J(g.isCloned)||J(g.isOnce))){g.componentInstance=_.componentInstance;return}var N,D=g.data;w(D)&&w(N=D.hook)&&w(N=N.prepatch)&&N(_,g);var U=_.children,H=g.children;if(w(D)&&d(g)){for(N=0;N<n.update.length;++N)n.update[N](_,g);w(N=D.hook)&&w(N=N.update)&&N(_,g)}j(g.text)?w(U)&&w(H)?U!==H&&P(M,U,H,C,L):w(H)?(w(_.text)&&a.setTextContent(M,""),b(M,null,H,0,H.length-1,C)):w(U)?A(U,0,U.length-1):w(_.text)&&a.setTextContent(M,""):_.text!==g.text&&a.setTextContent(M,g.text),w(D)&&w(N=D.hook)&&w(N=N.postpatch)&&N(_,g)}}function I(_,g,C){if(J(C)&&w(_.parent))_.parent.data.pendingInsert=g;else for(var x=0;x<g.length;++x)g[x].data.hook.insert(g[x])}var z=be("attrs,class,staticClass,staticStyle,key");function F(_,g,C,x){var R,L=g.tag,M=g.data,N=g.children;if(x=x||M&&M.pre,g.elm=_,J(g.isComment)&&w(g.asyncFactory))return g.isAsyncPlaceholder=!0,!0;if(w(M)&&(w(R=M.hook)&&w(R=R.init)&&R(g,!0),w(R=g.componentInstance)))return l(g,C),!0;if(w(L)){if(w(N))if(!_.hasChildNodes())y(g,N,C);else if(w(R=M)&&w(R=R.domProps)&&w(R=R.innerHTML)){if(R!==_.innerHTML)return!1}else{for(var D=!0,U=_.firstChild,H=0;H<N.length;H++){if(!U||!F(U,N[H],C,x)){D=!1;break}U=U.nextSibling}if(!D||U)return!1}if(w(M)){var X=!1;for(var de in M)if(!z(de)){X=!0,m(g,C);break}!X&&M.class&&Ct(M.class)}}else _.data!==g.text&&(_.data=g.text);return!0}return function(g,C,x,R){if(j(C)){w(g)&&O(g);return}var L=!1,M=[];if(j(g))L=!0,f(C,M);else{var N=w(g.nodeType);if(!N&&Qe(g,C))$(g,C,M,null,null,R);else{if(N){if(g.nodeType===1&&g.hasAttribute(ea)&&(g.removeAttribute(ea),x=!0),J(x)&&F(g,C,M))return I(C,M,!0),g;g=o(g)}var D=g.elm,U=a.parentNode(D);if(f(C,M,D._leaveCb?null:U,a.nextSibling(D)),w(C.parent))for(var H=C.parent,X=d(C);H;){for(var de=0;de<n.destroy.length;++de)n.destroy[de](H);if(H.elm=C.elm,X){for(var Ye=0;Ye<n.create.length;++Ye)n.create[Ye](Ie,H);var Ze=H.data.hook.insert;if(Ze.merged)for(var Xe=Ze.fns.slice(1),dt=0;dt<Xe.length;dt++)Xe[dt]()}else bt(H);H=H.parent}w(U)?A([g],0,0):w(g.tag)&&O(g)}}return I(C,M,L),C.elm}}var Fd={create:mn,update:mn,destroy:function(t){mn(t,Ie)}};function mn(e,t){(e.data.directives||t.data.directives)&&Ud(e,t)}function Ud(e,t){var r=e===Ie,n=t===Ie,i=xa(e.data.directives,e.context),a=xa(t.data.directives,t.context),o=[],s=[],u,f,c;for(u in a)f=i[u],c=a[u],f?(c.oldValue=f.value,c.oldArg=f.arg,It(c,"update",t,e),c.def&&c.def.componentUpdated&&s.push(c)):(It(c,"bind",t,e),c.def&&c.def.inserted&&o.push(c));if(o.length){var l=function(){for(var v=0;v<o.length;v++)It(o[v],"inserted",t,e)};r?ke(t,"insert",l):l()}if(s.length&&ke(t,"postpatch",function(){for(var v=0;v<s.length;v++)It(s[v],"componentUpdated",t,e)}),!r)for(u in i)a[u]||It(i[u],"unbind",e,e,n)}var Hd=Object.create(null);function xa(e,t){var r=Object.create(null);if(!e)return r;var n,i;for(n=0;n<e.length;n++){if(i=e[n],i.modifiers||(i.modifiers=Hd),r[Wd(i)]=i,t._setupState&&t._setupState.__sfc){var a=i.def||Ur(t,"_setupState","v-"+i.name);typeof a=="function"?i.def={bind:a,update:a}:i.def=a}i.def=i.def||Ur(t.$options,"directives",i.name)}return r}function Wd(e){return e.rawName||"".concat(e.name,".").concat(Object.keys(e.modifiers||{}).join("."))}function It(e,t,r,n,i){var a=e.def&&e.def[t];if(a)try{a(r.elm,e,r,n,i)}catch(o){ot(o,r.context,"directive ".concat(e.name," ").concat(t," hook"))}}var zd=[Id,Fd];function Ra(e,t){var r=t.componentOptions;if(!(w(r)&&r.Ctor.options.inheritAttrs===!1)&&!(j(e.data.attrs)&&j(t.data.attrs))){var n,i,a,o=t.elm,s=e.data.attrs||{},u=t.data.attrs||{};(w(u.__ob__)||J(u._v_attr_proxy))&&(u=t.data.attrs=B({},u));for(n in u)i=u[n],a=s[n],a!==i&&Ma(o,n,i,t.data.pre);(At||Qo)&&u.value!==s.value&&Ma(o,"value",u.value);for(n in s)j(u[n])&&(Ai(n)?o.removeAttributeNS(zn,Ms(n)):Rs(n)||o.removeAttribute(n))}}function Ma(e,t,r,n){n||e.tagName.indexOf("-")>-1?ja(e,t,r):pd(t)?Hr(r)?e.removeAttribute(t):(r=t==="allowfullscreen"&&e.tagName==="EMBED"?"true":t,e.setAttribute(t,r)):Rs(t)?e.setAttribute(t,ld(t,r)):Ai(t)?Hr(r)?e.removeAttributeNS(zn,Ms(t)):e.setAttributeNS(zn,t,r):ja(e,t,r)}function ja(e,t,r){if(Hr(r))e.removeAttribute(t);else{if(At&&!Pt&&e.tagName==="TEXTAREA"&&t==="placeholder"&&r!==""&&!e.__ieph){var n=function(i){i.stopImmediatePropagation(),e.removeEventListener("input",n)};e.addEventListener("input",n),e.__ieph=!0}e.setAttribute(t,r)}}var Bd={create:Ra,update:Ra};function ka(e,t){var r=t.elm,n=t.data,i=e.data;if(!(j(n.staticClass)&&j(n.class)&&(j(i)||j(i.staticClass)&&j(i.class)))){var a=dd(t),o=r._transitionClasses;w(o)&&(a=Pi(a,Ti(o))),a!==r._prevClass&&(r.setAttribute("class",a),r._prevClass=a)}}var Gd={create:ka,update:ka},yn="__r",gn="__c";function Kd(e){if(w(e[yn])){var t=At?"change":"input";e[t]=[].concat(e[yn],e[t]||[]),delete e[yn]}w(e[gn])&&(e.change=[].concat(e[gn],e.change||[]),delete e[gn])}var Yt;function qd(e,t,r){var n=Yt;return function i(){var a=t.apply(null,arguments);a!==null&&ks(e,i,r,n)}}var Jd=kn&&!(ta&&Number(ta[1])<=53);function Yd(e,t,r,n){if(Jd){var i=Ps,a=t;t=a._wrapper=function(o){if(o.target===o.currentTarget||o.timeStamp>=i||o.timeStamp<=0||o.target.ownerDocument!==document)return a.apply(this,arguments)}}Yt.addEventListener(e,t,Vo?{capture:r,passive:n}:r)}function ks(e,t,r,n){(n||Yt).removeEventListener(e,t._wrapper||t,r)}function _n(e,t){if(!(j(e.data.on)&&j(t.data.on))){var r=t.data.on||{},n=e.data.on||{};Yt=t.elm||e.elm,Kd(r),ps(r,n,Yd,ks,qd,t.context),Yt=void 0}}var Zd={create:_n,update:_n,destroy:function(e){return _n(e,Ie)}},vr;function Ia(e,t){if(!(j(e.data.domProps)&&j(t.data.domProps))){var r,n,i=t.elm,a=e.data.domProps||{},o=t.data.domProps||{};(w(o.__ob__)||J(o._v_attr_proxy))&&(o=t.data.domProps=B({},o));for(r in a)r in o||(i[r]="");for(r in o){if(n=o[r],r==="textContent"||r==="innerHTML"){if(t.children&&(t.children.length=0),n===a[r])continue;i.childNodes.length===1&&i.removeChild(i.childNodes[0])}if(r==="value"&&i.tagName!=="PROGRESS"){i._value=n;var s=j(n)?"":String(n);Xd(i,s)&&(i.value=s)}else if(r==="innerHTML"&&$i(i.tagName)&&j(i.innerHTML)){vr=vr||document.createElement("div"),vr.innerHTML="<svg>".concat(n,"</svg>");for(var u=vr.firstChild;i.firstChild;)i.removeChild(i.firstChild);for(;u.firstChild;)i.appendChild(u.firstChild)}else if(n!==a[r])try{i[r]=n}catch{}}}}function Xd(e,t){return!e.composing&&(e.tagName==="OPTION"||Qd(e,t)||Vd(e,t))}function Qd(e,t){var r=!0;try{r=document.activeElement!==e}catch{}return r&&e.value!==t}function Vd(e,t){var r=e.value,n=e._vModifiers;if(w(n)){if(n.number)return zt(r)!==zt(t);if(n.trim)return r.trim()!==t.trim()}return r!==t}var ev={create:Ia,update:Ia},tv=ft(function(e){var t={},r=/;(?![^(]*\))/g,n=/:(.+)/;return e.split(r).forEach(function(i){if(i){var a=i.split(n);a.length>1&&(t[a[0].trim()]=a[1].trim())}}),t});function bn(e){var t=Is(e.style);return e.staticStyle?B(e.staticStyle,t):t}function Is(e){return Array.isArray(e)?qo(e):typeof e=="string"?tv(e):e}function rv(e,t){for(var r={},n,i=e;i.componentInstance;)i=i.componentInstance._vnode,i&&i.data&&(n=bn(i.data))&&B(r,n);(n=bn(e.data))&&B(r,n);for(var a=e;a=a.parent;)a.data&&(n=bn(a.data))&&B(r,n);return r}var nv=/^--/,La=/\s*!important$/,Na=function(e,t,r){if(nv.test(t))e.style.setProperty(t,r);else if(La.test(r))e.style.setProperty(rr(t),r.replace(La,""),"important");else{var n=iv(t);if(Array.isArray(r))for(var i=0,a=r.length;i<a;i++)e.style[n]=r[i];else e.style[n]=r}},Da=["Webkit","Moz","ms"],hr,iv=ft(function(e){if(hr=hr||document.createElement("div").style,e=it(e),e!=="filter"&&e in hr)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),r=0;r<Da.length;r++){var n=Da[r]+t;if(n in hr)return n}});function Fa(e,t){var r=t.data,n=e.data;if(!(j(r.staticStyle)&&j(r.style)&&j(n.staticStyle)&&j(n.style))){var i,a,o=t.elm,s=n.staticStyle,u=n.normalizedStyle||n.style||{},f=s||u,c=Is(t.data.style)||{};t.data.normalizedStyle=w(c.__ob__)?B({},c):c;var l=rv(t);for(a in f)j(l[a])&&Na(o,a,"");for(a in l)i=l[a],Na(o,a,i??"")}}var av={create:Fa,update:Fa},Ls=/\s+/;function Ns(e,t){if(!(!t||!(t=t.trim())))if(e.classList)t.indexOf(" ")>-1?t.split(Ls).forEach(function(n){return e.classList.add(n)}):e.classList.add(t);else{var r=" ".concat(e.getAttribute("class")||""," ");r.indexOf(" "+t+" ")<0&&e.setAttribute("class",(r+t).trim())}}function Ds(e,t){if(!(!t||!(t=t.trim())))if(e.classList)t.indexOf(" ")>-1?t.split(Ls).forEach(function(i){return e.classList.remove(i)}):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var r=" ".concat(e.getAttribute("class")||""," "),n=" "+t+" ";r.indexOf(n)>=0;)r=r.replace(n," ");r=r.trim(),r?e.setAttribute("class",r):e.removeAttribute("class")}}function Fs(e){if(e){if(typeof e=="object"){var t={};return e.css!==!1&&B(t,Ua(e.name||"v")),B(t,e),t}else if(typeof e=="string")return Ua(e)}}var Ua=ft(function(e){return{enterClass:"".concat(e,"-enter"),enterToClass:"".concat(e,"-enter-to"),enterActiveClass:"".concat(e,"-enter-active"),leaveClass:"".concat(e,"-leave"),leaveToClass:"".concat(e,"-leave-to"),leaveActiveClass:"".concat(e,"-leave-active")}}),Us=ue&&!Pt,mt="transition",wn="animation",Er="transition",Wr="transitionend",Gn="animation",Hs="animationend";Us&&(window.ontransitionend===void 0&&window.onwebkittransitionend!==void 0&&(Er="WebkitTransition",Wr="webkitTransitionEnd"),window.onanimationend===void 0&&window.onwebkitanimationend!==void 0&&(Gn="WebkitAnimation",Hs="webkitAnimationEnd"));var Ha=ue?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Ws(e){Ha(function(){Ha(e)})}function rt(e,t){var r=e._transitionClasses||(e._transitionClasses=[]);r.indexOf(t)<0&&(r.push(t),Ns(e,t))}function Te(e,t){e._transitionClasses&&Ke(e._transitionClasses,t),Ds(e,t)}function zs(e,t,r){var n=Bs(e,t),i=n.type,a=n.timeout,o=n.propCount;if(!i)return r();var s=i===mt?Wr:Hs,u=0,f=function(){e.removeEventListener(s,c),r()},c=function(l){l.target===e&&++u>=o&&f()};setTimeout(function(){u<o&&f()},a+1),e.addEventListener(s,c)}var ov=/\b(transform|all)(,|$)/;function Bs(e,t){var r=window.getComputedStyle(e),n=(r[Er+"Delay"]||"").split(", "),i=(r[Er+"Duration"]||"").split(", "),a=Wa(n,i),o=(r[Gn+"Delay"]||"").split(", "),s=(r[Gn+"Duration"]||"").split(", "),u=Wa(o,s),f,c=0,l=0;t===mt?a>0&&(f=mt,c=a,l=i.length):t===wn?u>0&&(f=wn,c=u,l=s.length):(c=Math.max(a,u),f=c>0?a>u?mt:wn:null,l=f?f===mt?i.length:s.length:0);var v=f===mt&&ov.test(r[Er+"Property"]);return{type:f,timeout:c,propCount:l,hasTransform:v}}function Wa(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max.apply(null,t.map(function(r,n){return za(r)+za(e[n])}))}function za(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function Kn(e,t){var r=e.elm;w(r._leaveCb)&&(r._leaveCb.cancelled=!0,r._leaveCb());var n=Fs(e.data.transition);if(!j(n)&&!(w(r._enterCb)||r.nodeType!==1)){for(var i=n.css,a=n.type,o=n.enterClass,s=n.enterToClass,u=n.enterActiveClass,f=n.appearClass,c=n.appearToClass,l=n.appearActiveClass,v=n.beforeEnter,p=n.enter,y=n.afterEnter,d=n.enterCancelled,m=n.beforeAppear,h=n.appear,b=n.afterAppear,O=n.appearCancelled,A=n.duration,E=tt,P=tt.$vnode;P&&P.parent;)E=P.context,P=P.parent;var T=!E._isMounted||!e.isRootInsert;if(!(T&&!h&&h!=="")){var $=T&&f?f:o,I=T&&l?l:u,z=T&&c?c:s,F=T&&m||v,_=T&&W(h)?h:p,g=T&&b||y,C=T&&O||d,x=zt(te(A)?A.enter:A),R=i!==!1&&!Pt,L=xi(_),M=r._enterCb=Mr(function(){R&&(Te(r,z),Te(r,I)),M.cancelled?(R&&Te(r,$),C&&C(r)):g&&g(r),r._enterCb=null});e.data.show||ke(e,"insert",function(){var N=r.parentNode,D=N&&N._pending&&N._pending[e.key];D&&D.tag===e.tag&&D.elm._leaveCb&&D.elm._leaveCb(),_&&_(r,M)}),F&&F(r),R&&(rt(r,$),rt(r,I),Ws(function(){Te(r,$),M.cancelled||(rt(r,z),L||(Ks(x)?setTimeout(M,x):zs(r,a,M)))})),e.data.show&&(t&&t(),_&&_(r,M)),!R&&!L&&M()}}}function Gs(e,t){var r=e.elm;w(r._enterCb)&&(r._enterCb.cancelled=!0,r._enterCb());var n=Fs(e.data.transition);if(j(n)||r.nodeType!==1)return t();if(w(r._leaveCb))return;var i=n.css,a=n.type,o=n.leaveClass,s=n.leaveToClass,u=n.leaveActiveClass,f=n.beforeLeave,c=n.leave,l=n.afterLeave,v=n.leaveCancelled,p=n.delayLeave,y=n.duration,d=i!==!1&&!Pt,m=xi(c),h=zt(te(y)?y.leave:y),b=r._leaveCb=Mr(function(){r.parentNode&&r.parentNode._pending&&(r.parentNode._pending[e.key]=null),d&&(Te(r,s),Te(r,u)),b.cancelled?(d&&Te(r,o),v&&v(r)):(t(),l&&l(r)),r._leaveCb=null});p?p(O):O();function O(){b.cancelled||(!e.data.show&&r.parentNode&&((r.parentNode._pending||(r.parentNode._pending={}))[e.key]=e),f&&f(r),d&&(rt(r,o),rt(r,u),Ws(function(){Te(r,o),b.cancelled||(rt(r,s),m||(Ks(h)?setTimeout(b,h):zs(r,a,b)))})),c&&c(r,b),!d&&!m&&b())}}function Ks(e){return typeof e=="number"&&!isNaN(e)}function xi(e){if(j(e))return!1;var t=e.fns;return w(t)?xi(Array.isArray(t)?t[0]:t):(e._length||e.length)>1}function Ba(e,t){t.data.show!==!0&&Kn(t)}var sv=ue?{create:Ba,activate:Ba,remove:function(e,t){e.data.show!==!0?Gs(e,t):t()}}:{},uv=[Bd,Gd,Zd,ev,av,sv],fv=uv.concat(zd),cv=Dd({nodeOps:kd,modules:fv});Pt&&document.addEventListener("selectionchange",function(){var e=document.activeElement;e&&e.vmodel&&Ri(e,"input")});var qs={inserted:function(e,t,r,n){r.tag==="select"?(n.elm&&!n.elm._vOptions?ke(r,"postpatch",function(){qs.componentUpdated(e,t,r)}):Ga(e,t,r.context),e._vOptions=[].map.call(e.options,zr)):(r.tag==="textarea"||Bn(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",lv),e.addEventListener("compositionend",Ja),e.addEventListener("change",Ja),Pt&&(e.vmodel=!0)))},componentUpdated:function(e,t,r){if(r.tag==="select"){Ga(e,t,r.context);var n=e._vOptions,i=e._vOptions=[].map.call(e.options,zr);if(i.some(function(o,s){return!at(o,n[s])})){var a=e.multiple?t.value.some(function(o){return qa(o,i)}):t.value!==t.oldValue&&qa(t.value,i);a&&Ri(e,"change")}}}};function Ga(e,t,r){Ka(e,t),(At||Qo)&&setTimeout(function(){Ka(e,t)},0)}function Ka(e,t,r){var n=t.value,i=e.multiple;if(!(i&&!Array.isArray(n))){for(var a,o,s=0,u=e.options.length;s<u;s++)if(o=e.options[s],i)a=Yo(n,zr(o))>-1,o.selected!==a&&(o.selected=a);else if(at(zr(o),n)){e.selectedIndex!==s&&(e.selectedIndex=s);return}i||(e.selectedIndex=-1)}}function qa(e,t){return t.every(function(r){return!at(r,e)})}function zr(e){return"_value"in e?e._value:e.value}function lv(e){e.target.composing=!0}function Ja(e){e.target.composing&&(e.target.composing=!1,Ri(e.target,"input"))}function Ri(e,t){var r=document.createEvent("HTMLEvents");r.initEvent(t,!0,!0),e.dispatchEvent(r)}function qn(e){return e.componentInstance&&(!e.data||!e.data.transition)?qn(e.componentInstance._vnode):e}var pv={bind:function(e,t,r){var n=t.value;r=qn(r);var i=r.data&&r.data.transition,a=e.__vOriginalDisplay=e.style.display==="none"?"":e.style.display;n&&i?(r.data.show=!0,Kn(r,function(){e.style.display=a})):e.style.display=n?a:"none"},update:function(e,t,r){var n=t.value,i=t.oldValue;if(!n!=!i){r=qn(r);var a=r.data&&r.data.transition;a?(r.data.show=!0,n?Kn(r,function(){e.style.display=e.__vOriginalDisplay}):Gs(r,function(){e.style.display="none"})):e.style.display=n?e.__vOriginalDisplay:"none"}},unbind:function(e,t,r,n,i){i||(e.style.display=e.__vOriginalDisplay)}},dv={model:qs,show:pv},Js={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Jn(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?Jn(_s(t.children)):e}function Ys(e){var t={},r=e.$options;for(var n in r.propsData)t[n]=e[n];var i=r._parentListeners;for(var n in i)t[it(n)]=i[n];return t}function Ya(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}function vv(e){for(;e=e.parent;)if(e.data.transition)return!0}function hv(e,t){return t.key===e.key&&t.tag===e.tag}var mv=function(e){return e.tag||Gt(e)},yv=function(e){return e.name==="show"},gv={name:"transition",props:Js,abstract:!0,render:function(e){var t=this,r=this.$slots.default;if(r&&(r=r.filter(mv),!!r.length)){var n=this.mode,i=r[0];if(vv(this.$vnode))return i;var a=Jn(i);if(!a)return i;if(this._leaving)return Ya(e,i);var o="__transition-".concat(this._uid,"-");a.key=a.key==null?a.isComment?o+"comment":o+a.tag:tr(a.key)?String(a.key).indexOf(o)===0?a.key:o+a.key:a.key;var s=(a.data||(a.data={})).transition=Ys(this),u=this._vnode,f=Jn(u);if(a.data.directives&&a.data.directives.some(yv)&&(a.data.show=!0),f&&f.data&&!hv(a,f)&&!Gt(f)&&!(f.componentInstance&&f.componentInstance._vnode.isComment)){var c=f.data.transition=B({},s);if(n==="out-in")return this._leaving=!0,ke(c,"afterLeave",function(){t._leaving=!1,t.$forceUpdate()}),Ya(e,i);if(n==="in-out"){if(Gt(a))return u;var l,v=function(){l()};ke(s,"afterEnter",v),ke(s,"enterCancelled",v),ke(c,"delayLeave",function(p){l=p})}}return i}}},Zs=B({tag:String,moveClass:String},Js);delete Zs.mode;var _v={props:Zs,beforeMount:function(){var e=this,t=this._update;this._update=function(r,n){var i=Es(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,i(),t.call(e,r,n)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",r=Object.create(null),n=this.prevChildren=this.children,i=this.$slots.default||[],a=this.children=[],o=Ys(this),s=0;s<i.length;s++){var u=i[s];u.tag&&u.key!=null&&String(u.key).indexOf("__vlist")!==0&&(a.push(u),r[u.key]=u,(u.data||(u.data={})).transition=o)}if(n){for(var f=[],c=[],s=0;s<n.length;s++){var u=n[s];u.data.transition=o,u.data.pos=u.elm.getBoundingClientRect(),r[u.key]?f.push(u):c.push(u)}this.kept=e(t,null,f),this.removed=c}return e(t,null,a)},updated:function(){var e=this.prevChildren,t=this.moveClass||(this.name||"v")+"-move";!e.length||!this.hasMove(e[0].elm,t)||(e.forEach(bv),e.forEach(wv),e.forEach(Ov),this._reflow=document.body.offsetHeight,e.forEach(function(r){if(r.data.moved){var n=r.elm,i=n.style;rt(n,t),i.transform=i.WebkitTransform=i.transitionDuration="",n.addEventListener(Wr,n._moveCb=function a(o){o&&o.target!==n||(!o||/transform$/.test(o.propertyName))&&(n.removeEventListener(Wr,a),n._moveCb=null,Te(n,t))})}}))},methods:{hasMove:function(e,t){if(!Us)return!1;if(this._hasMove)return this._hasMove;var r=e.cloneNode();e._transitionClasses&&e._transitionClasses.forEach(function(i){Ds(r,i)}),Ns(r,t),r.style.display="none",this.$el.appendChild(r);var n=Bs(r);return this.$el.removeChild(r),this._hasMove=n.hasTransform}}};function bv(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function wv(e){e.data.newPos=e.elm.getBoundingClientRect()}function Ov(e){var t=e.data.pos,r=e.data.newPos,n=t.left-r.left,i=t.top-r.top;if(n||i){e.data.moved=!0;var a=e.elm.style;a.transform=a.WebkitTransform="translate(".concat(n,"px,").concat(i,"px)"),a.transitionDuration="0s"}}var Cv={Transition:gv,TransitionGroup:_v};G.config.mustUseProp=fd;G.config.isReservedTag=js;G.config.isReservedAttr=sd;G.config.getTagNamespace=_d;G.config.isUnknownElement=bd;B(G.options.directives,dv);B(G.options.components,Cv);G.prototype.__patch__=ue?cv:q;G.prototype.$mount=function(e,t){return e=e&&ue?wd(e):void 0,hp(this,e,t)};ue&&setTimeout(function(){ve.devtools&&jr&&jr.emit("init",G)},0);const Ev=Object.freeze(Object.defineProperty({__proto__:null,EffectScope:vi,computed:tl,customRef:Yc,default:G,defineAsyncComponent:Gl,defineComponent:op,del:pi,effectScope:ol,getCurrentInstance:Lc,getCurrentScope:cs,h:Ul,inject:cl,isProxy:Wc,isReactive:et,isReadonly:ct,isRef:Q,isShallow:Ir,markRaw:zc,mergeDefaults:Ml,nextTick:an,onActivated:Vl,onBeforeMount:ql,onBeforeUnmount:Xl,onBeforeUpdate:Yl,onDeactivated:ep,onErrorCaptured:ap,onMounted:Jl,onRenderTracked:rp,onRenderTriggered:np,onScopeDispose:ul,onServerPrefetch:tp,onUnmounted:Ql,onUpdated:Zl,provide:fl,proxyRefs:Jc,reactive:Hc,readonly:ss,ref:Bc,set:tn,shallowReactive:di,shallowReadonly:el,shallowRef:Gc,toRaw:is,toRef:os,toRefs:Zc,triggerRef:Kc,unref:qc,useAttrs:xl,useCssModule:zl,useCssVars:Bl,useListeners:Rl,useSlots:$l,version:Os,watch:al,watchEffect:nl,watchPostEffect:fs,watchSyncEffect:il},Symbol.toStringTag,{value:"Module"}));var Sv=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Av(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Pv(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,i.get?i:{enumerable:!0,get:function(){return e[n]}})}),r}var Xs={exports:{}};const Tv=Pv(Ev);(function(e,t){(function(n,i){e.exports=i(Tv)})(Sv,function(r){return function(n){var i={};function a(o){if(i[o])return i[o].exports;var s=i[o]={i:o,l:!1,exports:{}};return n[o].call(s.exports,s,s.exports,a),s.l=!0,s.exports}return a.m=n,a.c=i,a.i=function(o){return o},a.d=function(o,s,u){a.o(o,s)||Object.defineProperty(o,s,{configurable:!1,enumerable:!0,get:u})},a.n=function(o){var s=o&&o.__esModule?function(){return o.default}:function(){return o};return a.d(s,"a",s),s},a.o=function(o,s){return Object.prototype.hasOwnProperty.call(o,s)},a.p="/dist/",a(a.s=2)}([function(n,i){n.exports=function(o,s,u,f){var c,l=o=o||{},v=typeof o.default;(v==="object"||v==="function")&&(c=o,l=o.default);var p=typeof l=="function"?l.options:l;if(s&&(p.render=s.render,p.staticRenderFns=s.staticRenderFns),u&&(p._scopeId=u),f){var y=Object.create(p.computed||null);Object.keys(f).forEach(function(d){var m=f[d];y[d]=function(){return m}}),p.computed=y}return{esModule:c,exports:l,options:p}}},function(n,i,a){a.d(i,"a",function(){return u});var o=a(20),s=a.n(o),u=new s.a({name:"vue-notification"})},function(n,i,a){Object.defineProperty(i,"__esModule",{value:!0});var o=a(3),s=a.n(o),u=a(1),f=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},c={install:function(v){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.installed){this.installed=!0,this.params=p,v.component(p.componentName||"notifications",s.a);var y=function(h){typeof h=="string"&&(h={title:"",text:h}),(typeof h>"u"?"undefined":f(h))==="object"&&u.a.$emit("add",h)};y.close=function(m){u.a.$emit("close",m)};var d=p.name||"notify";v.prototype["$"+d]=y,v[d]=y}}};i.default=c},function(n,i,a){a(17);var o=a(0)(a(5),a(15),null,null);n.exports=o.exports},function(n,i,a){Object.defineProperty(i,"__esModule",{value:!0}),i.default={name:"CssGroup",props:["name"]}},function(n,i,a){Object.defineProperty(i,"__esModule",{value:!0});var o=a(2),s=a(1),u=a(9),f=a(7),c=a(13),l=a.n(c),v=a(12),p=a.n(v),y=a(8);function d(b,O,A){return O in b?Object.defineProperty(b,O,{value:A,enumerable:!0,configurable:!0,writable:!0}):b[O]=A,b}var m={IDLE:0,DESTROYED:2},h={name:"Notifications",components:{VelocityGroup:l.a,CssGroup:p.a},props:{group:{type:String,default:""},width:{type:[Number,String],default:300},reverse:{type:Boolean,default:!1},position:{type:[String,Array],default:function(){return f.a.position}},classes:{type:String,default:"vue-notification"},animationType:{type:String,default:"css",validator:function(O){return O==="css"||O==="velocity"}},animation:{type:Object,default:function(){return f.a.velocityAnimation}},animationName:{type:String,default:f.a.cssAnimation},speed:{type:Number,default:300},cooldown:{type:Number,default:0},duration:{type:Number,default:3e3},delay:{type:Number,default:0},max:{type:Number,default:1/0},ignoreDuplicates:{type:Boolean,default:!1},closeOnClick:{type:Boolean,default:!0}},data:function(){return{list:[],velocity:o.default.params.velocity}},mounted:function(){s.a.$on("add",this.addItem),s.a.$on("close",this.closeItem)},computed:{actualWidth:function(){return a.i(y.a)(this.width)},isVA:function(){return this.animationType==="velocity"},componentName:function(){return this.isVA?"VelocityGroup":"CssGroup"},styles:function(){var O=a.i(u.a)(this.position),A=O.x,E=O.y,P=this.actualWidth.value,T=this.actualWidth.type,$=d({width:P+T},E,"0px");return A==="center"?$.left="calc(50% - "+P/2+T+")":$[A]="0px",$},active:function(){return this.list.filter(function(O){return O.state!==m.DESTROYED})},botToTop:function(){return this.styles.hasOwnProperty("bottom")}},methods:{destroyIfNecessary:function(O){this.closeOnClick&&this.destroy(O)},addItem:function(O){var A=this;if(O.group=O.group||"",this.group===O.group){if(O.clean||O.clear){this.destroyAll();return}var E=typeof O.duration=="number"?O.duration:this.duration,P=typeof O.speed=="number"?O.speed:this.speed,T=typeof O.ignoreDuplicates=="boolean"?O.ignoreDuplicates:this.ignoreDuplicates,$=O.title,I=O.text,z=O.type,F=O.data,_=O.id,g={id:_||a.i(u.b)(),title:$,text:I,type:z,state:m.IDLE,speed:P,length:E+2*P,data:F};E>=0&&(g.timer=setTimeout(function(){A.destroy(g)},g.length));var C=this.reverse?!this.botToTop:this.botToTop,x=-1,R=this.active.some(function(M){return M.title===O.title&&M.text===O.text}),L=T?!R:!0;L&&(C?(this.list.push(g),this.active.length>this.max&&(x=0)):(this.list.unshift(g),this.active.length>this.max&&(x=this.active.length-1)),x!==-1&&this.destroy(this.active[x]))}},closeItem:function(O){this.destroyById(O)},notifyClass:function(O){return["vue-notification-template",this.classes,O.type]},notifyWrapperStyle:function(O){return this.isVA?null:{transition:"all "+O.speed+"ms"}},destroy:function(O){clearTimeout(O.timer),O.state=m.DESTROYED,this.isVA||this.clean()},destroyById:function(O){var A=this.list.find(function(E){return E.id===O});A&&this.destroy(A)},destroyAll:function(){this.active.forEach(this.destroy)},getAnimation:function(O,A){var E=this.animation[O];return typeof E=="function"?E.call(this,A):E},enter:function(O){var A=O.el,E=O.complete,P=this.getAnimation("enter",A);this.velocity(A,P,{duration:this.speed,complete:E})},leave:function(O){var A=O.el,E=O.complete,P=this.getAnimation("leave",A);this.velocity(A,P,{duration:this.speed,complete:E})},clean:function(){this.list=this.list.filter(function(O){return O.state!==m.DESTROYED})}}};i.default=h},function(n,i,a){Object.defineProperty(i,"__esModule",{value:!0}),i.default={name:"VelocityGroup",methods:{enter:function(s,u){this.$emit("enter",{el:s,complete:u})},leave:function(s,u){this.$emit("leave",{el:s,complete:u})},afterLeave:function(){this.$emit("afterLeave")}}}},function(n,i,a){i.a={position:["top","right"],cssAnimation:"vn-fade",velocityAnimation:{enter:function(s){var u=s.clientHeight;return{height:[u,0],opacity:[1,0]}},leave:{height:0,opacity:[0,1]}}}},function(n,i,a){var o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},s="[-+]?[0-9]*.?[0-9]+",u=[{name:"px",regexp:new RegExp("^"+s+"px$")},{name:"%",regexp:new RegExp("^"+s+"%$")},{name:"px",regexp:new RegExp("^"+s+"$")}],f=function(v){if(v==="auto")return{type:v,value:0};for(var p=0;p<u.length;p++){var y=u[p];if(y.regexp.test(v))return{type:y.name,value:parseFloat(v)}}return{type:"",value:v}},c=function(v){switch(typeof v>"u"?"undefined":o(v)){case"number":return{type:"px",value:v};case"string":return f(v);default:return{type:"",value:v}}};i.a=c},function(n,i,a){a.d(i,"b",function(){return s}),a.d(i,"a",function(){return f});var o={x:["left","center","right"],y:["top","bottom"]},s=function(c){return function(){return c++}}(0),u=function(l){return typeof l!="string"?[]:l.split(/\s+/gi).filter(function(v){return v})},f=function(l){typeof l=="string"&&(l=u(l));var v=null,p=null;return l.forEach(function(y){o.y.indexOf(y)!==-1&&(p=y),o.x.indexOf(y)!==-1&&(v=y)}),{x:v,y:p}}},function(n,i,a){i=n.exports=a(11)(),i.push([n.i,".vue-notification-group{display:block;position:fixed;z-index:5000}.vue-notification-wrapper{display:block;overflow:hidden;width:100%;margin:0;padding:0}.notification-title{font-weight:600}.vue-notification-template{background:#fff}.vue-notification,.vue-notification-template{display:block;box-sizing:border-box;text-align:left}.vue-notification{font-size:12px;padding:10px;margin:0 5px 5px;color:#fff;background:#44a4fc;border-left:5px solid #187fe7}.vue-notification.warn{background:#ffb648;border-left-color:#f48a06}.vue-notification.error{background:#e54d42;border-left-color:#b82e24}.vue-notification.success{background:#68cd86;border-left-color:#42a85f}.vn-fade-enter-active,.vn-fade-leave-active,.vn-fade-move{transition:all .5s}.vn-fade-enter,.vn-fade-leave-to{opacity:0}",""])},function(n,i){n.exports=function(){var a=[];return a.toString=function(){for(var s=[],u=0;u<this.length;u++){var f=this[u];f[2]?s.push("@media "+f[2]+"{"+f[1]+"}"):s.push(f[1])}return s.join("")},a.i=function(o,s){typeof o=="string"&&(o=[[null,o,""]]);for(var u={},f=0;f<this.length;f++){var c=this[f][0];typeof c=="number"&&(u[c]=!0)}for(f=0;f<o.length;f++){var l=o[f];(typeof l[0]!="number"||!u[l[0]])&&(s&&!l[2]?l[2]=s:s&&(l[2]="("+l[2]+") and ("+s+")"),a.push(l))}},a}},function(n,i,a){var o=a(0)(a(4),a(16),null,null);n.exports=o.exports},function(n,i,a){var o=a(0)(a(6),a(14),null,null);n.exports=o.exports},function(n,i){n.exports={render:function(){var a=this,o=a.$createElement,s=a._self._c||o;return s("transition-group",{attrs:{css:!1},on:{enter:a.enter,leave:a.leave,"after-leave":a.afterLeave}},[a._t("default")],2)},staticRenderFns:[]}},function(n,i){n.exports={render:function(){var a=this,o=a.$createElement,s=a._self._c||o;return s("div",{staticClass:"vue-notification-group",style:a.styles},[s(a.componentName,{tag:"component",attrs:{name:a.animationName},on:{enter:a.enter,leave:a.leave,"after-leave":a.clean}},a._l(a.active,function(u){return s("div",{key:u.id,staticClass:"vue-notification-wrapper",style:a.notifyWrapperStyle(u),attrs:{"data-id":u.id}},[a._t("body",[s("div",{class:a.notifyClass(u),on:{click:function(f){return a.destroyIfNecessary(u)}}},[u.title?s("div",{staticClass:"notification-title",domProps:{innerHTML:a._s(u.title)}}):a._e(),a._v(" "),s("div",{staticClass:"notification-content",domProps:{innerHTML:a._s(u.text)}})])],{item:u,close:function(){return a.destroy(u)}})],2)}),0)],1)},staticRenderFns:[]}},function(n,i){n.exports={render:function(){var a=this,o=a.$createElement,s=a._self._c||o;return s("transition-group",{attrs:{name:a.name}},[a._t("default")],2)},staticRenderFns:[]}},function(n,i,a){var o=a(10);typeof o=="string"&&(o=[[n.i,o,""]]),o.locals&&(n.exports=o.locals),a(18)("2901aeae",o,!0)},function(n,i,a){var o=typeof document<"u";if(typeof DEBUG<"u"&&DEBUG&&!o)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var s=a(19),u={},f=o&&(document.head||document.getElementsByTagName("head")[0]),c=null,l=0,v=!1,p=function(){},y=typeof navigator<"u"&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());n.exports=function(E,P,T){v=T;var $=s(E,P);return d($),function(z){for(var F=[],_=0;_<$.length;_++){var g=$[_],C=u[g.id];C.refs--,F.push(C)}z?($=s(E,z),d($)):$=[];for(var _=0;_<F.length;_++){var C=F[_];if(C.refs===0){for(var x=0;x<C.parts.length;x++)C.parts[x]();delete u[C.id]}}}};function d(E){for(var P=0;P<E.length;P++){var T=E[P],$=u[T.id];if($){$.refs++;for(var I=0;I<$.parts.length;I++)$.parts[I](T.parts[I]);for(;I<T.parts.length;I++)$.parts.push(h(T.parts[I]));$.parts.length>T.parts.length&&($.parts.length=T.parts.length)}else{for(var z=[],I=0;I<T.parts.length;I++)z.push(h(T.parts[I]));u[T.id]={id:T.id,refs:1,parts:z}}}}function m(){var E=document.createElement("style");return E.type="text/css",f.appendChild(E),E}function h(E){var P,T,$=document.querySelector('style[data-vue-ssr-id~="'+E.id+'"]');if($){if(v)return p;$.parentNode.removeChild($)}if(y){var I=l++;$=c||(c=m()),P=O.bind(null,$,I,!1),T=O.bind(null,$,I,!0)}else $=m(),P=A.bind(null,$),T=function(){$.parentNode.removeChild($)};return P(E),function(F){if(F){if(F.css===E.css&&F.media===E.media&&F.sourceMap===E.sourceMap)return;P(E=F)}else T()}}var b=function(){var E=[];return function(P,T){return E[P]=T,E.filter(Boolean).join(`
|
|
40
|
+
`)}}();function O(E,P,T,$){var I=T?"":$.css;if(E.styleSheet)E.styleSheet.cssText=b(P,I);else{var z=document.createTextNode(I),F=E.childNodes;F[P]&&E.removeChild(F[P]),F.length?E.insertBefore(z,F[P]):E.appendChild(z)}}function A(E,P){var T=P.css,$=P.media,I=P.sourceMap;if($&&E.setAttribute("media",$),I&&(T+=`
|
|
41
|
+
/*# sourceURL=`+I.sources[0]+" */",T+=`
|
|
42
|
+
/*# sourceMappingURL=data:application/json;base64,`+btoa(unescape(encodeURIComponent(JSON.stringify(I))))+" */"),E.styleSheet)E.styleSheet.cssText=T;else{for(;E.firstChild;)E.removeChild(E.firstChild);E.appendChild(document.createTextNode(T))}}},function(n,i){n.exports=function(o,s){for(var u=[],f={},c=0;c<s.length;c++){var l=s[c],v=l[0],p=l[1],y=l[2],d=l[3],m={id:o+":"+c,css:p,media:y,sourceMap:d};f[v]?f[v].parts.push(m):u.push(f[v]={id:v,parts:[m]})}return u}},function(n,i){n.exports=r}])})})(Xs);var $v=Xs.exports;const xv=Av($v);function Mi(e,t,r,n,i,a,o,s){var u=typeof e=="function"?e.options:e;return t&&(u.render=t,u.staticRenderFns=r,u._compiled=!0),{exports:e,options:u}}const Rv={};var Mv=function(){var t=this,r=t._self._c;return r("div",{attrs:{id:"app"}},[r("notifications",{attrs:{group:"toast",id:"toastNotifications",position:"top right"}}),r("notifications",{attrs:{group:"pubsub",id:"pubsubEvents",position:"top left"}}),r("notifications",{attrs:{group:"keydown",id:"keydownEvents",position:"bottom left"}}),r("notifications",{attrs:{group:"metadata",id:"metadataEvent",position:"bottom right"}}),r("router-view")],1)},jv=[],kv=Mi(Rv,Mv,jv);const Iv=kv.exports;/*!
|
|
43
|
+
* vue-router v3.6.5
|
|
44
|
+
* (c) 2022 Evan You
|
|
45
|
+
* @license MIT
|
|
46
|
+
*/function ye(e,t){for(var r in t)e[r]=t[r];return e}var Lv=/[!'()*]/g,Nv=function(e){return"%"+e.charCodeAt(0).toString(16)},Dv=/%2C/g,vt=function(e){return encodeURIComponent(e).replace(Lv,Nv).replace(Dv,",")};function Yn(e){try{return decodeURIComponent(e)}catch{}return e}function Fv(e,t,r){t===void 0&&(t={});var n=r||Uv,i;try{i=n(e||"")}catch{i={}}for(var a in t){var o=t[a];i[a]=Array.isArray(o)?o.map(Za):Za(o)}return i}var Za=function(e){return e==null||typeof e=="object"?e:String(e)};function Uv(e){var t={};return e=e.trim().replace(/^(\?|#|&)/,""),e&&e.split("&").forEach(function(r){var n=r.replace(/\+/g," ").split("="),i=Yn(n.shift()),a=n.length>0?Yn(n.join("=")):null;t[i]===void 0?t[i]=a:Array.isArray(t[i])?t[i].push(a):t[i]=[t[i],a]}),t}function Hv(e){var t=e?Object.keys(e).map(function(r){var n=e[r];if(n===void 0)return"";if(n===null)return vt(r);if(Array.isArray(n)){var i=[];return n.forEach(function(a){a!==void 0&&(a===null?i.push(vt(r)):i.push(vt(r)+"="+vt(a)))}),i.join("&")}return vt(r)+"="+vt(n)}).filter(function(r){return r.length>0}).join("&"):null;return t?"?"+t:""}var Br=/\/?$/;function Gr(e,t,r,n){var i=n&&n.options.stringifyQuery,a=t.query||{};try{a=Zn(a)}catch{}var o={name:t.name||e&&e.name,meta:e&&e.meta||{},path:t.path||"/",hash:t.hash||"",query:a,params:t.params||{},fullPath:Xa(t,i),matched:e?Wv(e):[]};return r&&(o.redirectedFrom=Xa(r,i)),Object.freeze(o)}function Zn(e){if(Array.isArray(e))return e.map(Zn);if(e&&typeof e=="object"){var t={};for(var r in e)t[r]=Zn(e[r]);return t}else return e}var Je=Gr(null,{path:"/"});function Wv(e){for(var t=[];e;)t.unshift(e),e=e.parent;return t}function Xa(e,t){var r=e.path,n=e.query;n===void 0&&(n={});var i=e.hash;i===void 0&&(i="");var a=t||Hv;return(r||"/")+a(n)+i}function Qs(e,t,r){return t===Je?e===t:t?e.path&&t.path?e.path.replace(Br,"")===t.path.replace(Br,"")&&(r||e.hash===t.hash&&Sr(e.query,t.query)):e.name&&t.name?e.name===t.name&&(r||e.hash===t.hash&&Sr(e.query,t.query)&&Sr(e.params,t.params)):!1:!1}function Sr(e,t){if(e===void 0&&(e={}),t===void 0&&(t={}),!e||!t)return e===t;var r=Object.keys(e).sort(),n=Object.keys(t).sort();return r.length!==n.length?!1:r.every(function(i,a){var o=e[i],s=n[a];if(s!==i)return!1;var u=t[i];return o==null||u==null?o===u:typeof o=="object"&&typeof u=="object"?Sr(o,u):String(o)===String(u)})}function zv(e,t){return e.path.replace(Br,"/").indexOf(t.path.replace(Br,"/"))===0&&(!t.hash||e.hash===t.hash)&&Bv(e.query,t.query)}function Bv(e,t){for(var r in t)if(!(r in e))return!1;return!0}function Vs(e){for(var t=0;t<e.matched.length;t++){var r=e.matched[t];for(var n in r.instances){var i=r.instances[n],a=r.enteredCbs[n];if(!(!i||!a)){delete r.enteredCbs[n];for(var o=0;o<a.length;o++)i._isBeingDestroyed||a[o](i)}}}}var Gv={name:"RouterView",functional:!0,props:{name:{type:String,default:"default"}},render:function(t,r){var n=r.props,i=r.children,a=r.parent,o=r.data;o.routerView=!0;for(var s=a.$createElement,u=n.name,f=a.$route,c=a._routerViewCache||(a._routerViewCache={}),l=0,v=!1;a&&a._routerRoot!==a;){var p=a.$vnode?a.$vnode.data:{};p.routerView&&l++,p.keepAlive&&a._directInactive&&a._inactive&&(v=!0),a=a.$parent}if(o.routerViewDepth=l,v){var y=c[u],d=y&&y.component;return d?(y.configProps&&Qa(d,o,y.route,y.configProps),s(d,o,i)):s()}var m=f.matched[l],h=m&&m.components[u];if(!m||!h)return c[u]=null,s();c[u]={component:h},o.registerRouteInstance=function(O,A){var E=m.instances[u];(A&&E!==O||!A&&E===O)&&(m.instances[u]=A)},(o.hook||(o.hook={})).prepatch=function(O,A){m.instances[u]=A.componentInstance},o.hook.init=function(O){O.data.keepAlive&&O.componentInstance&&O.componentInstance!==m.instances[u]&&(m.instances[u]=O.componentInstance),Vs(f)};var b=m.props&&m.props[u];return b&&(ye(c[u],{route:f,configProps:b}),Qa(h,o,f,b)),s(h,o,i)}};function Qa(e,t,r,n){var i=t.props=Kv(r,n);if(i){i=t.props=ye({},i);var a=t.attrs=t.attrs||{};for(var o in i)(!e.props||!(o in e.props))&&(a[o]=i[o],delete i[o])}}function Kv(e,t){switch(typeof t){case"undefined":return;case"object":return t;case"function":return t(e);case"boolean":return t?e.params:void 0}}function eu(e,t,r){var n=e.charAt(0);if(n==="/")return e;if(n==="?"||n==="#")return t+e;var i=t.split("/");(!r||!i[i.length-1])&&i.pop();for(var a=e.replace(/^\//,"").split("/"),o=0;o<a.length;o++){var s=a[o];s===".."?i.pop():s!=="."&&i.push(s)}return i[0]!==""&&i.unshift(""),i.join("/")}function qv(e){var t="",r="",n=e.indexOf("#");n>=0&&(t=e.slice(n),e=e.slice(0,n));var i=e.indexOf("?");return i>=0&&(r=e.slice(i+1),e=e.slice(0,i)),{path:e,query:r,hash:t}}function Le(e){return e.replace(/\/(?:\s*\/)+/g,"/")}var Kr=Array.isArray||function(e){return Object.prototype.toString.call(e)=="[object Array]"},xt=nu,Jv=ji,Yv=Vv,Zv=tu,Xv=ru,Qv=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function ji(e,t){for(var r=[],n=0,i=0,a="",o=t&&t.delimiter||"/",s;(s=Qv.exec(e))!=null;){var u=s[0],f=s[1],c=s.index;if(a+=e.slice(i,c),i=c+u.length,f){a+=f[1];continue}var l=e[i],v=s[2],p=s[3],y=s[4],d=s[5],m=s[6],h=s[7];a&&(r.push(a),a="");var b=v!=null&&l!=null&&l!==v,O=m==="+"||m==="*",A=m==="?"||m==="*",E=s[2]||o,P=y||d;r.push({name:p||n++,prefix:v||"",delimiter:E,optional:A,repeat:O,partial:b,asterisk:!!h,pattern:P?rh(P):h?".*":"[^"+Ar(E)+"]+?"})}return i<e.length&&(a+=e.substr(i)),a&&r.push(a),r}function Vv(e,t){return tu(ji(e,t),t)}function eh(e){return encodeURI(e).replace(/[\/?#]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}function th(e){return encodeURI(e).replace(/[?#]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}function tu(e,t){for(var r=new Array(e.length),n=0;n<e.length;n++)typeof e[n]=="object"&&(r[n]=new RegExp("^(?:"+e[n].pattern+")$",Ii(t)));return function(i,a){for(var o="",s=i||{},u=a||{},f=u.pretty?eh:encodeURIComponent,c=0;c<e.length;c++){var l=e[c];if(typeof l=="string"){o+=l;continue}var v=s[l.name],p;if(v==null)if(l.optional){l.partial&&(o+=l.prefix);continue}else throw new TypeError('Expected "'+l.name+'" to be defined');if(Kr(v)){if(!l.repeat)throw new TypeError('Expected "'+l.name+'" to not repeat, but received `'+JSON.stringify(v)+"`");if(v.length===0){if(l.optional)continue;throw new TypeError('Expected "'+l.name+'" to not be empty')}for(var y=0;y<v.length;y++){if(p=f(v[y]),!r[c].test(p))throw new TypeError('Expected all "'+l.name+'" to match "'+l.pattern+'", but received `'+JSON.stringify(p)+"`");o+=(y===0?l.prefix:l.delimiter)+p}continue}if(p=l.asterisk?th(v):f(v),!r[c].test(p))throw new TypeError('Expected "'+l.name+'" to match "'+l.pattern+'", but received "'+p+'"');o+=l.prefix+p}return o}}function Ar(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function rh(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function ki(e,t){return e.keys=t,e}function Ii(e){return e&&e.sensitive?"":"i"}function nh(e,t){var r=e.source.match(/\((?!\?)/g);if(r)for(var n=0;n<r.length;n++)t.push({name:n,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return ki(e,t)}function ih(e,t,r){for(var n=[],i=0;i<e.length;i++)n.push(nu(e[i],t,r).source);var a=new RegExp("(?:"+n.join("|")+")",Ii(r));return ki(a,t)}function ah(e,t,r){return ru(ji(e,r),t,r)}function ru(e,t,r){Kr(t)||(r=t||r,t=[]),r=r||{};for(var n=r.strict,i=r.end!==!1,a="",o=0;o<e.length;o++){var s=e[o];if(typeof s=="string")a+=Ar(s);else{var u=Ar(s.prefix),f="(?:"+s.pattern+")";t.push(s),s.repeat&&(f+="(?:"+u+f+")*"),s.optional?s.partial?f=u+"("+f+")?":f="(?:"+u+"("+f+"))?":f=u+"("+f+")",a+=f}}var c=Ar(r.delimiter||"/"),l=a.slice(-c.length)===c;return n||(a=(l?a.slice(0,-c.length):a)+"(?:"+c+"(?=$))?"),i?a+="$":a+=n&&l?"":"(?="+c+"|$)",ki(new RegExp("^"+a,Ii(r)),t)}function nu(e,t,r){return Kr(t)||(r=t||r,t=[]),r=r||{},e instanceof RegExp?nh(e,t):Kr(e)?ih(e,t,r):ah(e,t,r)}xt.parse=Jv;xt.compile=Yv;xt.tokensToFunction=Zv;xt.tokensToRegExp=Xv;var Va=Object.create(null);function Pr(e,t,r){t=t||{};try{var n=Va[e]||(Va[e]=xt.compile(e));return typeof t.pathMatch=="string"&&(t[0]=t.pathMatch),n(t,{pretty:!0})}catch{return""}finally{delete t[0]}}function Li(e,t,r,n){var i=typeof e=="string"?{path:e}:e;if(i._normalized)return i;if(i.name){i=ye({},e);var a=i.params;return a&&typeof a=="object"&&(i.params=ye({},a)),i}if(!i.path&&i.params&&t){i=ye({},i),i._normalized=!0;var o=ye(ye({},t.params),i.params);if(t.name)i.name=t.name,i.params=o;else if(t.matched.length){var s=t.matched[t.matched.length-1].path;i.path=Pr(s,o,"path "+t.path)}return i}var u=qv(i.path||""),f=t&&t.path||"/",c=u.path?eu(u.path,f,r||i.append):f,l=Fv(u.query,i.query,n&&n.options.parseQuery),v=i.hash||u.hash;return v&&v.charAt(0)!=="#"&&(v="#"+v),{_normalized:!0,path:c,query:l,hash:v}}var oh=[String,Object],sh=[String,Array],eo=function(){},uh={name:"RouterLink",props:{to:{type:oh,required:!0},tag:{type:String,default:"a"},custom:Boolean,exact:Boolean,exactPath:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:{type:String,default:"page"},event:{type:sh,default:"click"}},render:function(t){var r=this,n=this.$router,i=this.$route,a=n.resolve(this.to,i,this.append),o=a.location,s=a.route,u=a.href,f={},c=n.options.linkActiveClass,l=n.options.linkExactActiveClass,v=c??"router-link-active",p=l??"router-link-exact-active",y=this.activeClass==null?v:this.activeClass,d=this.exactActiveClass==null?p:this.exactActiveClass,m=s.redirectedFrom?Gr(null,Li(s.redirectedFrom),null,n):s;f[d]=Qs(i,m,this.exactPath),f[y]=this.exact||this.exactPath?f[d]:zv(i,m);var h=f[d]?this.ariaCurrentValue:null,b=function(_){to(_)&&(r.replace?n.replace(o,eo):n.push(o,eo))},O={click:to};Array.isArray(this.event)?this.event.forEach(function(_){O[_]=b}):O[this.event]=b;var A={class:f},E=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:u,route:s,navigate:b,isActive:f[y],isExactActive:f[d]});if(E){if(E.length===1)return E[0];if(E.length>1||!E.length)return E.length===0?t():t("span",{},E)}if(this.tag==="a")A.on=O,A.attrs={href:u,"aria-current":h};else{var P=iu(this.$slots.default);if(P){P.isStatic=!1;var T=P.data=ye({},P.data);T.on=T.on||{};for(var $ in T.on){var I=T.on[$];$ in O&&(T.on[$]=Array.isArray(I)?I:[I])}for(var z in O)z in T.on?T.on[z].push(O[z]):T.on[z]=b;var F=P.data.attrs=ye({},P.data.attrs);F.href=u,F["aria-current"]=h}else A.on=O}return t(this.tag,A,this.$slots.default)}};function to(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){var t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function iu(e){if(e){for(var t,r=0;r<e.length;r++)if(t=e[r],t.tag==="a"||t.children&&(t=iu(t.children)))return t}}var qr;function Xn(e){if(!(Xn.installed&&qr===e)){Xn.installed=!0,qr=e;var t=function(i){return i!==void 0},r=function(i,a){var o=i.$options._parentVnode;t(o)&&t(o=o.data)&&t(o=o.registerRouteInstance)&&o(i,a)};e.mixin({beforeCreate:function(){t(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),e.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,r(this,this)},destroyed:function(){r(this)}}),Object.defineProperty(e.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(e.prototype,"$route",{get:function(){return this._routerRoot._route}}),e.component("RouterView",Gv),e.component("RouterLink",uh);var n=e.config.optionMergeStrategies;n.beforeRouteEnter=n.beforeRouteLeave=n.beforeRouteUpdate=n.created}}var or=typeof window<"u";function mr(e,t,r,n,i){var a=t||[],o=r||Object.create(null),s=n||Object.create(null);e.forEach(function(c){Qn(a,o,s,c,i)});for(var u=0,f=a.length;u<f;u++)a[u]==="*"&&(a.push(a.splice(u,1)[0]),f--,u--);return{pathList:a,pathMap:o,nameMap:s}}function Qn(e,t,r,n,i,a){var o=n.path,s=n.name,u=n.pathToRegexpOptions||{},f=ch(o,i,u.strict);typeof n.caseSensitive=="boolean"&&(u.sensitive=n.caseSensitive);var c={path:f,regex:fh(f,u),components:n.components||{default:n.component},alias:n.alias?typeof n.alias=="string"?[n.alias]:n.alias:[],instances:{},enteredCbs:{},name:s,parent:i,matchAs:a,redirect:n.redirect,beforeEnter:n.beforeEnter,meta:n.meta||{},props:n.props==null?{}:n.components?n.props:{default:n.props}};if(n.children&&n.children.forEach(function(d){var m=a?Le(a+"/"+d.path):void 0;Qn(e,t,r,d,c,m)}),t[c.path]||(e.push(c.path),t[c.path]=c),n.alias!==void 0)for(var l=Array.isArray(n.alias)?n.alias:[n.alias],v=0;v<l.length;++v){var p=l[v],y={path:p,children:n.children};Qn(e,t,r,y,i,c.path||"/")}s&&(r[s]||(r[s]=c))}function fh(e,t){var r=xt(e,[],t);return r}function ch(e,t,r){return r||(e=e.replace(/\/$/,"")),e[0]==="/"||t==null?e:Le(t.path+"/"+e)}function lh(e,t){var r=mr(e),n=r.pathList,i=r.pathMap,a=r.nameMap;function o(p){mr(p,n,i,a)}function s(p,y){var d=typeof p!="object"?a[p]:void 0;mr([y||p],n,i,a,d),d&&d.alias.length&&mr(d.alias.map(function(m){return{path:m,children:[y]}}),n,i,a,d)}function u(){return n.map(function(p){return i[p]})}function f(p,y,d){var m=Li(p,y,!1,t),h=m.name;if(h){var b=a[h];if(!b)return v(null,m);var O=b.regex.keys.filter(function($){return!$.optional}).map(function($){return $.name});if(typeof m.params!="object"&&(m.params={}),y&&typeof y.params=="object")for(var A in y.params)!(A in m.params)&&O.indexOf(A)>-1&&(m.params[A]=y.params[A]);return m.path=Pr(b.path,m.params),v(b,m,d)}else if(m.path){m.params={};for(var E=0;E<n.length;E++){var P=n[E],T=i[P];if(ph(T.regex,m.path,m.params))return v(T,m,d)}}return v(null,m)}function c(p,y){var d=p.redirect,m=typeof d=="function"?d(Gr(p,y,null,t)):d;if(typeof m=="string"&&(m={path:m}),!m||typeof m!="object")return v(null,y);var h=m,b=h.name,O=h.path,A=y.query,E=y.hash,P=y.params;if(A=h.hasOwnProperty("query")?h.query:A,E=h.hasOwnProperty("hash")?h.hash:E,P=h.hasOwnProperty("params")?h.params:P,b)return a[b],f({_normalized:!0,name:b,query:A,hash:E,params:P},void 0,y);if(O){var T=dh(O,p),$=Pr(T,P);return f({_normalized:!0,path:$,query:A,hash:E},void 0,y)}else return v(null,y)}function l(p,y,d){var m=Pr(d,y.params),h=f({_normalized:!0,path:m});if(h){var b=h.matched,O=b[b.length-1];return y.params=h.params,v(O,y)}return v(null,y)}function v(p,y,d){return p&&p.redirect?c(p,d||y):p&&p.matchAs?l(p,y,p.matchAs):Gr(p,y,d,t)}return{match:f,addRoute:s,getRoutes:u,addRoutes:o}}function ph(e,t,r){var n=t.match(e);if(n){if(!r)return!0}else return!1;for(var i=1,a=n.length;i<a;++i){var o=e.keys[i-1];o&&(r[o.name||"pathMatch"]=typeof n[i]=="string"?Yn(n[i]):n[i])}return!0}function dh(e,t){return eu(e,t.parent?t.parent.path:"/",!0)}var vh=or&&window.performance&&window.performance.now?window.performance:Date;function au(){return vh.now().toFixed(3)}var ou=au();function on(){return ou}function su(e){return ou=e}var uu=Object.create(null);function fu(){"scrollRestoration"in window.history&&(window.history.scrollRestoration="manual");var e=window.location.protocol+"//"+window.location.host,t=window.location.href.replace(e,""),r=ye({},window.history.state);return r.key=on(),window.history.replaceState(r,"",t),window.addEventListener("popstate",ro),function(){window.removeEventListener("popstate",ro)}}function Ne(e,t,r,n){if(e.app){var i=e.options.scrollBehavior;i&&e.app.$nextTick(function(){var a=hh(),o=i.call(e,t,r,n?a:null);o&&(typeof o.then=="function"?o.then(function(s){ao(s,a)}).catch(function(s){}):ao(o,a))})}}function cu(){var e=on();e&&(uu[e]={x:window.pageXOffset,y:window.pageYOffset})}function ro(e){cu(),e.state&&e.state.key&&su(e.state.key)}function hh(){var e=on();if(e)return uu[e]}function mh(e,t){var r=document.documentElement,n=r.getBoundingClientRect(),i=e.getBoundingClientRect();return{x:i.left-n.left-t.x,y:i.top-n.top-t.y}}function no(e){return Et(e.x)||Et(e.y)}function io(e){return{x:Et(e.x)?e.x:window.pageXOffset,y:Et(e.y)?e.y:window.pageYOffset}}function yh(e){return{x:Et(e.x)?e.x:0,y:Et(e.y)?e.y:0}}function Et(e){return typeof e=="number"}var gh=/^#\d/;function ao(e,t){var r=typeof e=="object";if(r&&typeof e.selector=="string"){var n=gh.test(e.selector)?document.getElementById(e.selector.slice(1)):document.querySelector(e.selector);if(n){var i=e.offset&&typeof e.offset=="object"?e.offset:{};i=yh(i),t=mh(n,i)}else no(e)&&(t=io(e))}else r&&no(e)&&(t=io(e));t&&("scrollBehavior"in document.documentElement.style?window.scrollTo({left:t.x,top:t.y,behavior:e.behavior}):window.scrollTo(t.x,t.y))}var De=or&&function(){var e=window.navigator.userAgent;return(e.indexOf("Android 2.")!==-1||e.indexOf("Android 4.0")!==-1)&&e.indexOf("Mobile Safari")!==-1&&e.indexOf("Chrome")===-1&&e.indexOf("Windows Phone")===-1?!1:window.history&&typeof window.history.pushState=="function"}();function Jr(e,t){cu();var r=window.history;try{if(t){var n=ye({},r.state);n.key=on(),r.replaceState(n,"",e)}else r.pushState({key:su(au())},"",e)}catch{window.location[t?"replace":"assign"](e)}}function Vn(e){Jr(e,!0)}var lt={redirected:2,aborted:4,cancelled:8,duplicated:16};function _h(e,t){return sn(e,t,lt.redirected,'Redirected when going from "'+e.fullPath+'" to "'+Ch(t)+'" via a navigation guard.')}function bh(e,t){var r=sn(e,t,lt.duplicated,'Avoided redundant navigation to current location: "'+e.fullPath+'".');return r.name="NavigationDuplicated",r}function oo(e,t){return sn(e,t,lt.cancelled,'Navigation cancelled from "'+e.fullPath+'" to "'+t.fullPath+'" with a new navigation.')}function wh(e,t){return sn(e,t,lt.aborted,'Navigation aborted from "'+e.fullPath+'" to "'+t.fullPath+'" via a navigation guard.')}function sn(e,t,r,n){var i=new Error(n);return i._isRouter=!0,i.from=e,i.to=t,i.type=r,i}var Oh=["params","query","hash"];function Ch(e){if(typeof e=="string")return e;if("path"in e)return e.path;var t={};return Oh.forEach(function(r){r in e&&(t[r]=e[r])}),JSON.stringify(t,null,2)}function Yr(e){return Object.prototype.toString.call(e).indexOf("Error")>-1}function un(e,t){return Yr(e)&&e._isRouter&&(t==null||e.type===t)}function so(e,t,r){var n=function(i){i>=e.length?r():e[i]?t(e[i],function(){n(i+1)}):n(i+1)};n(0)}function Eh(e){return function(t,r,n){var i=!1,a=0,o=null;lu(e,function(s,u,f,c){if(typeof s=="function"&&s.cid===void 0){i=!0,a++;var l=uo(function(d){Ah(d)&&(d=d.default),s.resolved=typeof d=="function"?d:qr.extend(d),f.components[c]=d,a--,a<=0&&n()}),v=uo(function(d){var m="Failed to resolve async component "+c+": "+d;o||(o=Yr(d)?d:new Error(m),n(o))}),p;try{p=s(l,v)}catch(d){v(d)}if(p)if(typeof p.then=="function")p.then(l,v);else{var y=p.component;y&&typeof y.then=="function"&&y.then(l,v)}}}),i||n()}}function lu(e,t){return pu(e.map(function(r){return Object.keys(r.components).map(function(n){return t(r.components[n],r.instances[n],r,n)})}))}function pu(e){return Array.prototype.concat.apply([],e)}var Sh=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol";function Ah(e){return e.__esModule||Sh&&e[Symbol.toStringTag]==="Module"}function uo(e){var t=!1;return function(){for(var r=[],n=arguments.length;n--;)r[n]=arguments[n];if(!t)return t=!0,e.apply(this,r)}}var we=function(t,r){this.router=t,this.base=Ph(r),this.current=Je,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};we.prototype.listen=function(t){this.cb=t};we.prototype.onReady=function(t,r){this.ready?t():(this.readyCbs.push(t),r&&this.readyErrorCbs.push(r))};we.prototype.onError=function(t){this.errorCbs.push(t)};we.prototype.transitionTo=function(t,r,n){var i=this,a;try{a=this.router.match(t,this.current)}catch(s){throw this.errorCbs.forEach(function(u){u(s)}),s}var o=this.current;this.confirmTransition(a,function(){i.updateRoute(a),r&&r(a),i.ensureURL(),i.router.afterHooks.forEach(function(s){s&&s(a,o)}),i.ready||(i.ready=!0,i.readyCbs.forEach(function(s){s(a)}))},function(s){n&&n(s),s&&!i.ready&&(!un(s,lt.redirected)||o!==Je)&&(i.ready=!0,i.readyErrorCbs.forEach(function(u){u(s)}))})};we.prototype.confirmTransition=function(t,r,n){var i=this,a=this.current;this.pending=t;var o=function(d){!un(d)&&Yr(d)&&(i.errorCbs.length?i.errorCbs.forEach(function(m){m(d)}):console.error(d)),n&&n(d)},s=t.matched.length-1,u=a.matched.length-1;if(Qs(t,a)&&s===u&&t.matched[s]===a.matched[u])return this.ensureURL(),t.hash&&Ne(this.router,a,t,!1),o(bh(a,t));var f=Th(this.current.matched,t.matched),c=f.updated,l=f.deactivated,v=f.activated,p=[].concat(xh(l),this.router.beforeHooks,Rh(c),v.map(function(d){return d.beforeEnter}),Eh(v)),y=function(d,m){if(i.pending!==t)return o(oo(a,t));try{d(t,a,function(h){h===!1?(i.ensureURL(!0),o(wh(a,t))):Yr(h)?(i.ensureURL(!0),o(h)):typeof h=="string"||typeof h=="object"&&(typeof h.path=="string"||typeof h.name=="string")?(o(_h(a,t)),typeof h=="object"&&h.replace?i.replace(h):i.push(h)):m(h)})}catch(h){o(h)}};so(p,y,function(){var d=Mh(v),m=d.concat(i.router.resolveHooks);so(m,y,function(){if(i.pending!==t)return o(oo(a,t));i.pending=null,r(t),i.router.app&&i.router.app.$nextTick(function(){Vs(t)})})})};we.prototype.updateRoute=function(t){this.current=t,this.cb&&this.cb(t)};we.prototype.setupListeners=function(){};we.prototype.teardown=function(){this.listeners.forEach(function(t){t()}),this.listeners=[],this.current=Je,this.pending=null};function Ph(e){if(!e)if(or){var t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^https?:\/\/[^\/]+/,"")}else e="/";return e.charAt(0)!=="/"&&(e="/"+e),e.replace(/\/$/,"")}function Th(e,t){var r,n=Math.max(e.length,t.length);for(r=0;r<n&&e[r]===t[r];r++);return{updated:t.slice(0,r),activated:t.slice(r),deactivated:e.slice(r)}}function Ni(e,t,r,n){var i=lu(e,function(a,o,s,u){var f=$h(a,t);if(f)return Array.isArray(f)?f.map(function(c){return r(c,o,s,u)}):r(f,o,s,u)});return pu(n?i.reverse():i)}function $h(e,t){return typeof e!="function"&&(e=qr.extend(e)),e.options[t]}function xh(e){return Ni(e,"beforeRouteLeave",du,!0)}function Rh(e){return Ni(e,"beforeRouteUpdate",du)}function du(e,t){if(t)return function(){return e.apply(t,arguments)}}function Mh(e){return Ni(e,"beforeRouteEnter",function(t,r,n,i){return jh(t,n,i)})}function jh(e,t,r){return function(i,a,o){return e(i,a,function(s){typeof s=="function"&&(t.enteredCbs[r]||(t.enteredCbs[r]=[]),t.enteredCbs[r].push(s)),o(s)})}}var vu=function(e){function t(r,n){e.call(this,r,n),this._startLocation=Nt(this.base)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.setupListeners=function(){var n=this;if(!(this.listeners.length>0)){var i=this.router,a=i.options.scrollBehavior,o=De&&a;o&&this.listeners.push(fu());var s=function(){var u=n.current,f=Nt(n.base);n.current===Je&&f===n._startLocation||n.transitionTo(f,function(c){o&&Ne(i,c,u,!0)})};window.addEventListener("popstate",s),this.listeners.push(function(){window.removeEventListener("popstate",s)})}},t.prototype.go=function(n){window.history.go(n)},t.prototype.push=function(n,i,a){var o=this,s=this,u=s.current;this.transitionTo(n,function(f){Jr(Le(o.base+f.fullPath)),Ne(o.router,f,u,!1),i&&i(f)},a)},t.prototype.replace=function(n,i,a){var o=this,s=this,u=s.current;this.transitionTo(n,function(f){Vn(Le(o.base+f.fullPath)),Ne(o.router,f,u,!1),i&&i(f)},a)},t.prototype.ensureURL=function(n){if(Nt(this.base)!==this.current.fullPath){var i=Le(this.base+this.current.fullPath);n?Jr(i):Vn(i)}},t.prototype.getCurrentLocation=function(){return Nt(this.base)},t}(we);function Nt(e){var t=window.location.pathname,r=t.toLowerCase(),n=e.toLowerCase();return e&&(r===n||r.indexOf(Le(n+"/"))===0)&&(t=t.slice(e.length)),(t||"/")+window.location.search+window.location.hash}var hu=function(e){function t(r,n,i){e.call(this,r,n),!(i&&kh(this.base))&&fo()}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.setupListeners=function(){var n=this;if(!(this.listeners.length>0)){var i=this.router,a=i.options.scrollBehavior,o=De&&a;o&&this.listeners.push(fu());var s=function(){var f=n.current;fo()&&n.transitionTo(Tr(),function(c){o&&Ne(n.router,c,f,!0),De||$r(c.fullPath)})},u=De?"popstate":"hashchange";window.addEventListener(u,s),this.listeners.push(function(){window.removeEventListener(u,s)})}},t.prototype.push=function(n,i,a){var o=this,s=this,u=s.current;this.transitionTo(n,function(f){co(f.fullPath),Ne(o.router,f,u,!1),i&&i(f)},a)},t.prototype.replace=function(n,i,a){var o=this,s=this,u=s.current;this.transitionTo(n,function(f){$r(f.fullPath),Ne(o.router,f,u,!1),i&&i(f)},a)},t.prototype.go=function(n){window.history.go(n)},t.prototype.ensureURL=function(n){var i=this.current.fullPath;Tr()!==i&&(n?co(i):$r(i))},t.prototype.getCurrentLocation=function(){return Tr()},t}(we);function kh(e){var t=Nt(e);if(!/^\/#/.test(t))return window.location.replace(Le(e+"/#"+t)),!0}function fo(){var e=Tr();return e.charAt(0)==="/"?!0:($r("/"+e),!1)}function Tr(){var e=window.location.href,t=e.indexOf("#");return t<0?"":(e=e.slice(t+1),e)}function ei(e){var t=window.location.href,r=t.indexOf("#"),n=r>=0?t.slice(0,r):t;return n+"#"+e}function co(e){De?Jr(ei(e)):window.location.hash=e}function $r(e){De?Vn(ei(e)):window.location.replace(ei(e))}var Ih=function(e){function t(r,n){e.call(this,r,n),this.stack=[],this.index=-1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.push=function(n,i,a){var o=this;this.transitionTo(n,function(s){o.stack=o.stack.slice(0,o.index+1).concat(s),o.index++,i&&i(s)},a)},t.prototype.replace=function(n,i,a){var o=this;this.transitionTo(n,function(s){o.stack=o.stack.slice(0,o.index).concat(s),i&&i(s)},a)},t.prototype.go=function(n){var i=this,a=this.index+n;if(!(a<0||a>=this.stack.length)){var o=this.stack[a];this.confirmTransition(o,function(){var s=i.current;i.index=a,i.updateRoute(o),i.router.afterHooks.forEach(function(u){u&&u(o,s)})},function(s){un(s,lt.duplicated)&&(i.index=a)})}},t.prototype.getCurrentLocation=function(){var n=this.stack[this.stack.length-1];return n?n.fullPath:"/"},t.prototype.ensureURL=function(){},t}(we),K=function(t){t===void 0&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=lh(t.routes||[],this);var r=t.mode||"hash";switch(this.fallback=r==="history"&&!De&&t.fallback!==!1,this.fallback&&(r="hash"),or||(r="abstract"),this.mode=r,r){case"history":this.history=new vu(this,t.base);break;case"hash":this.history=new hu(this,t.base,this.fallback);break;case"abstract":this.history=new Ih(this,t.base);break}},mu={currentRoute:{configurable:!0}};K.prototype.match=function(t,r,n){return this.matcher.match(t,r,n)};mu.currentRoute.get=function(){return this.history&&this.history.current};K.prototype.init=function(t){var r=this;if(this.apps.push(t),t.$once("hook:destroyed",function(){var o=r.apps.indexOf(t);o>-1&&r.apps.splice(o,1),r.app===t&&(r.app=r.apps[0]||null),r.app||r.history.teardown()}),!this.app){this.app=t;var n=this.history;if(n instanceof vu||n instanceof hu){var i=function(o){var s=n.current,u=r.options.scrollBehavior,f=De&&u;f&&"fullPath"in o&&Ne(r,o,s,!1)},a=function(o){n.setupListeners(),i(o)};n.transitionTo(n.getCurrentLocation(),a,a)}n.listen(function(o){r.apps.forEach(function(s){s._route=o})})}};K.prototype.beforeEach=function(t){return Di(this.beforeHooks,t)};K.prototype.beforeResolve=function(t){return Di(this.resolveHooks,t)};K.prototype.afterEach=function(t){return Di(this.afterHooks,t)};K.prototype.onReady=function(t,r){this.history.onReady(t,r)};K.prototype.onError=function(t){this.history.onError(t)};K.prototype.push=function(t,r,n){var i=this;if(!r&&!n&&typeof Promise<"u")return new Promise(function(a,o){i.history.push(t,a,o)});this.history.push(t,r,n)};K.prototype.replace=function(t,r,n){var i=this;if(!r&&!n&&typeof Promise<"u")return new Promise(function(a,o){i.history.replace(t,a,o)});this.history.replace(t,r,n)};K.prototype.go=function(t){this.history.go(t)};K.prototype.back=function(){this.go(-1)};K.prototype.forward=function(){this.go(1)};K.prototype.getMatchedComponents=function(t){var r=t?t.matched?t:this.resolve(t).route:this.currentRoute;return r?[].concat.apply([],r.matched.map(function(n){return Object.keys(n.components).map(function(i){return n.components[i]})})):[]};K.prototype.resolve=function(t,r,n){r=r||this.history.current;var i=Li(t,r,n,this),a=this.match(i,r),o=a.redirectedFrom||a.fullPath,s=this.history.base,u=Lh(s,o,this.mode);return{location:i,route:a,href:u,normalizedTo:i,resolved:a}};K.prototype.getRoutes=function(){return this.matcher.getRoutes()};K.prototype.addRoute=function(t,r){this.matcher.addRoute(t,r),this.history.current!==Je&&this.history.transitionTo(this.history.getCurrentLocation())};K.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==Je&&this.history.transitionTo(this.history.getCurrentLocation())};Object.defineProperties(K.prototype,mu);var yu=K;function Di(e,t){return e.push(t),function(){var r=e.indexOf(t);r>-1&&e.splice(r,1)}}function Lh(e,t,r){var n=r==="hash"?"#"+t:t;return e?Le(e+"/"+n):n}K.install=Xn;K.version="3.6.5";K.isNavigationFailure=un;K.NavigationFailureType=lt;K.START_LOCATION=Je;or&&window.Vue&&window.Vue.use(K);let Nh={api:"requestNotification",data:{title:"Worker Notification",message:"A worker sent this"}};const Dh={name:"WorkerControls",props:["workerPool"],data(){return{topic:"exerciseApi",message:JSON.stringify(Nh,null,2),activeWorker:Object.keys(this.workerPool.clientConfig.clients)[0]}},methods:{sendMessage:function(){this.workerPool.publish(this.activeWorker,{topic:this.topic,payload:JSON.parse(this.message)})}}};var Fh=function(){var t=this,r=t._self._c;return r("div",{attrs:{id:"worker-control-panel"}},[r("div",{attrs:{id:"worker-selection"}},[r("label",{attrs:{for:"worker-select"}},[t._v("Targeted Worker:")]),r("select",{directives:[{name:"model",rawName:"v-model",value:t.activeWorker,expression:"activeWorker"}],attrs:{id:"worker-select"},on:{change:function(n){var i=Array.prototype.filter.call(n.target.options,function(a){return a.selected}).map(function(a){var o="_value"in a?a._value:a.value;return o});t.activeWorker=n.target.multiple?i:i[0]}}},t._l(t.workerPool.clientConfig.clients,function(n,i){return r("option",[t._v(" "+t._s(i)+" ")])}),0)]),r("div",{attrs:{id:"worker-communication"}},[r("div",[r("label",{attrs:{for:"message-topic"}},[t._v("Topic:")]),r("input",{directives:[{name:"model",rawName:"v-model",value:t.topic,expression:"topic"}],attrs:{type:"text",id:"message-topic"},domProps:{value:t.topic},on:{input:function(n){n.target.composing||(t.topic=n.target.value)}}})]),r("div",[r("label",{attrs:{for:"worker-message"}},[t._v("Message")]),r("textarea",{directives:[{name:"model",rawName:"v-model",value:t.message,expression:"message"}],attrs:{id:"worker-message"},domProps:{value:t.message},on:{input:function(n){n.target.composing||(t.message=n.target.value)}}}),r("div",[r("button",{on:{click:function(n){return t.sendMessage()}}},[t._v("Send to "+t._s(t.activeWorker))]),r("div")])])])])},Uh=[],Hh=Mi(Dh,Fh,Uh);const Wh=Hh.exports,zh={name:"iframeEmbed",props:["frameRoute"],components:{WorkerControls:Wh},data(){return{workerPool:{},frameUrl:"",showMenu:!0,clientConfig:{},workerConfig:{},metadata:{},currentClientId:"",showWorkerControls:!1}},methods:{toggleWorkerControls(){this.showWorkerControls=!this.showWorkerControls},displayToast(e){var n;const t=JSON.stringify(e.detail.custom,null,2),r=`<div class="message">${e.detail.message}</div>
|
|
47
|
+
<pre class="customData">${t}</pre>`;this.$notify({group:"toast",title:e.detail.title,text:r,duration:((n=e.detail.custom)==null?void 0:n.duration)||-1,type:"toast"})},handleNav(e){const t=new URL(e.detail.url,window.location);location.hash===t.hash||(e.detail.history==="replace"?window.location.replace(t.hash):window.location.hash=t.hash)},handleKeyEvent(e){this.$notify({group:"keydown",title:`registeredKeyFired event from ${e.detail.clientId}`,text:`<pre>${JSON.stringify(e.detail,null,2)}</pre>`,duration:3e3,type:"registeredKeyFired"})},notifyPubSub(e){const t=JSON.stringify(e,null,2);this.$notify({group:"pubsub",title:`${e.clientId} on ${e.topic}`,text:`<pre>${t}</pre>`,duration:-1,type:"pubsub"})},updateFrameUrl(e){this.frameUrl=e.detail,this.showMenu=this.frameUrl==="about:blank"},updatePageMetadata(e){this.metadata={title:e.detail.title,breadcrumbs:e.detail.breadcrumbs}},handlePromptOnLeave(e){e.detail.shouldPrompt===!0&&(window.onbeforeunload=function(t){t.preventDefault(),t.returnValue=""}),e.detail.shouldPrompt===!1&&(window.onbeforeunload=null)},updateCurrentClientId(e){this.currentClientId=e.detail||""}},mounted(){this.workerPool=new yc,this.workerPool.addEventListener("navRequest",this.handleNav),this.workerPool.addEventListener("notifyRequest",this.displayToast),this.workerPool.addEventListener("promptOnLeave",this.handlePrompotOnLeave);const e=frameRouter.setupFrames;if(frameRouter.setupFrames=(...t)=>{e.apply(frameRouter,t)},window.routerSetup&&typeof window.routerSetup=="function"){const t=window.routerSetup(frameRouter,this.workerPool);this.clientConfig=frameRouter.clientConfig.clients,this.workerConfig=this.workerPool.clientConfig.clients,console.log("Starting IFC workers",this.workerPool.clientConfig),this.workerPool.start(),t.publishTopics&&t.publishTopics.forEach(r=>{frameRouter.messaging.addListener(r,n=>{this.notifyPubSub(n)})})}else console.log(`====== ERROR ======
|
|
48
|
+
Could not find a function to set up the frame-router element with. Your
|
|
49
|
+
JS configuration file must assign a set-up function to \`module.exports\`.
|
|
50
|
+
Run:
|
|
51
|
+
ifc-cli --help
|
|
52
|
+
for more details.
|
|
53
|
+
`)}};var Bh=function(){var t=this,r=t._self._c;return r("div",{attrs:{id:"routerLayout"}},[r("div",{staticClass:"header"},[r("div",{staticClass:"control-icons"},[r("button",{staticClass:"worker-controls",attrs:{title:"Web Worker Tools"},on:{click:t.toggleWorkerControls}},[r("svg",{staticClass:"feather feather-sidebar",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}},[r("rect",{attrs:{x:"3",y:"3",width:"18",height:"18",rx:"2",ry:"2"}}),r("line",{attrs:{x1:"9",y1:"3",x2:"9",y2:"21"}})])]),r("a",{staticClass:"help-link",attrs:{title:"Documentation",target:"docs",href:"/ifc-docs/"}},[r("svg",{staticClass:"feather feather-help-circle",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}},[r("circle",{attrs:{cx:"12",cy:"12",r:"10"}}),r("path",{attrs:{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"}}),r("line",{attrs:{x1:"12",y1:"17",x2:"12.01",y2:"17"}})])])]),Object.keys(t.workerConfig).length>0?r("div",{staticClass:"worker-controls"}):t._e(),r("div",{staticClass:"router-status"},[t._v(" Showing "),r("span",{staticClass:"app-route"},[t._v(t._s(t.frameRoute))]),t._v(" as "),r("span",{staticClass:"frame-url"},[t._v(t._s(t.frameUrl))]),t.currentClientId?r("span",[t._v(" with Client Id of "),r("span",{staticClass:"client-id"},[t._v(t._s(t.currentClientId))])]):r("span",[t._v(" because no client matched")]),r("span",{staticClass:"metadata-container"},[r("span",{staticClass:"metadata-title"},[t._v("Page Metadata: ")]),r("span",{staticClass:"metadata-content"},[t._v(t._s(t.metadata))])])])]),r("div",{attrs:{id:"main"}},[t.showMenu?r("div",{attrs:{id:"appMenu"}},[r("h2",[t._v("No app is registered for "+t._s(t.frameRoute))]),Object.keys(t.clientConfig).length>0?r("div",[r("p",[t._v("To see your embedded apps, use one of the links below.")]),r("nav",[r("ul",t._l(t.clientConfig,function(n,i){return r("li",{key:i},[r("a",{attrs:{href:"#"+n.assignedRoute}},[t._v(t._s(i)+" @ "+t._s(n.assignedRoute))])])}),0)])]):r("div",[r("p",[t._v(" I couldn't find any registered client applications. Please check your ifc-cli configuration file. ")])])]):t._e(),r("frame-router",{directives:[{name:"show",rawName:"v-show",value:!t.showMenu,expression:"!showMenu"}],attrs:{id:"frameRouter",route:t.frameRoute,"frame-id":"ifc-cli-frame"},on:{notifyRequest:t.displayToast,registeredKeyFired:t.handleKeyEvent,navRequest:t.handleNav,promptOnLeave:t.handlePromptOnLeave,frameTransition:t.updateFrameUrl,pageMetadata:t.updatePageMetadata,clientChanged:t.updateCurrentClientId}}),t.showWorkerControls?r("worker-controls",{attrs:{"worker-pool":t.workerPool}}):t._e()],1)])},Gh=[],Kh=Mi(zh,Bh,Gh);const qh=Kh.exports;G.use(yu);const Jh=new yu({routes:[{path:"*",component:qh,props:e=>({frameRoute:e.fullPath})}]});/*!
|
|
54
|
+
* vuex v3.6.2
|
|
55
|
+
* (c) 2021 Evan You
|
|
56
|
+
* @license MIT
|
|
57
|
+
*/function Yh(e){var t=Number(e.version.split(".")[0]);if(t>=2)e.mixin({beforeCreate:n});else{var r=e.prototype._init;e.prototype._init=function(i){i===void 0&&(i={}),i.init=i.init?[n].concat(i.init):n,r.call(this,i)}}function n(){var i=this.$options;i.store?this.$store=typeof i.store=="function"?i.store():i.store:i.parent&&i.parent.$store&&(this.$store=i.parent.$store)}}var Zh=typeof window<"u"?window:typeof global<"u"?global:{},ht=Zh.__VUE_DEVTOOLS_GLOBAL_HOOK__;function Xh(e){ht&&(e._devtoolHook=ht,ht.emit("vuex:init",e),ht.on("vuex:travel-to-state",function(t){e.replaceState(t)}),e.subscribe(function(t,r){ht.emit("vuex:mutation",t,r)},{prepend:!0}),e.subscribeAction(function(t,r){ht.emit("vuex:action",t,r)},{prepend:!0}))}function Qh(e,t){return e.filter(t)[0]}function ti(e,t){if(t===void 0&&(t=[]),e===null||typeof e!="object")return e;var r=Qh(t,function(i){return i.original===e});if(r)return r.copy;var n=Array.isArray(e)?[]:{};return t.push({original:e,copy:n}),Object.keys(e).forEach(function(i){n[i]=ti(e[i],t)}),n}function Rt(e,t){Object.keys(e).forEach(function(r){return t(e[r],r)})}function gu(e){return e!==null&&typeof e=="object"}function Vh(e){return e&&typeof e.then=="function"}function em(e,t){return function(){return e(t)}}var Oe=function(t,r){this.runtime=r,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=(typeof n=="function"?n():n)||{}},_u={namespaced:{configurable:!0}};_u.namespaced.get=function(){return!!this._rawModule.namespaced};Oe.prototype.addChild=function(t,r){this._children[t]=r};Oe.prototype.removeChild=function(t){delete this._children[t]};Oe.prototype.getChild=function(t){return this._children[t]};Oe.prototype.hasChild=function(t){return t in this._children};Oe.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)};Oe.prototype.forEachChild=function(t){Rt(this._children,t)};Oe.prototype.forEachGetter=function(t){this._rawModule.getters&&Rt(this._rawModule.getters,t)};Oe.prototype.forEachAction=function(t){this._rawModule.actions&&Rt(this._rawModule.actions,t)};Oe.prototype.forEachMutation=function(t){this._rawModule.mutations&&Rt(this._rawModule.mutations,t)};Object.defineProperties(Oe.prototype,_u);var pt=function(t){this.register([],t,!1)};pt.prototype.get=function(t){return t.reduce(function(r,n){return r.getChild(n)},this.root)};pt.prototype.getNamespace=function(t){var r=this.root;return t.reduce(function(n,i){return r=r.getChild(i),n+(r.namespaced?i+"/":"")},"")};pt.prototype.update=function(t){bu([],this.root,t)};pt.prototype.register=function(t,r,n){var i=this;n===void 0&&(n=!0);var a=new Oe(r,n);if(t.length===0)this.root=a;else{var o=this.get(t.slice(0,-1));o.addChild(t[t.length-1],a)}r.modules&&Rt(r.modules,function(s,u){i.register(t.concat(u),s,n)})};pt.prototype.unregister=function(t){var r=this.get(t.slice(0,-1)),n=t[t.length-1],i=r.getChild(n);i&&i.runtime&&r.removeChild(n)};pt.prototype.isRegistered=function(t){var r=this.get(t.slice(0,-1)),n=t[t.length-1];return r?r.hasChild(n):!1};function bu(e,t,r){if(t.update(r),r.modules)for(var n in r.modules){if(!t.getChild(n))return;bu(e.concat(n),t.getChild(n),r.modules[n])}}var se,pe=function(t){var r=this;t===void 0&&(t={}),!se&&typeof window<"u"&&window.Vue&&Cu(window.Vue);var n=t.plugins;n===void 0&&(n=[]);var i=t.strict;i===void 0&&(i=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new pt(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new se,this._makeLocalGettersCache=Object.create(null);var a=this,o=this,s=o.dispatch,u=o.commit;this.dispatch=function(v,p){return s.call(a,v,p)},this.commit=function(v,p,y){return u.call(a,v,p,y)},this.strict=i;var f=this._modules.root.state;fn(this,f,[],this._modules.root),Ui(this,f),n.forEach(function(l){return l(r)});var c=t.devtools!==void 0?t.devtools:se.config.devtools;c&&Xh(this)},Fi={state:{configurable:!0}};Fi.state.get=function(){return this._vm._data.$$state};Fi.state.set=function(e){};pe.prototype.commit=function(t,r,n){var i=this,a=Zr(t,r,n),o=a.type,s=a.payload,u={type:o,payload:s},f=this._mutations[o];f&&(this._withCommit(function(){f.forEach(function(l){l(s)})}),this._subscribers.slice().forEach(function(c){return c(u,i.state)}))};pe.prototype.dispatch=function(t,r){var n=this,i=Zr(t,r),a=i.type,o=i.payload,s={type:a,payload:o},u=this._actions[a];if(u){try{this._actionSubscribers.slice().filter(function(c){return c.before}).forEach(function(c){return c.before(s,n.state)})}catch{}var f=u.length>1?Promise.all(u.map(function(c){return c(o)})):u[0](o);return new Promise(function(c,l){f.then(function(v){try{n._actionSubscribers.filter(function(p){return p.after}).forEach(function(p){return p.after(s,n.state)})}catch{}c(v)},function(v){try{n._actionSubscribers.filter(function(p){return p.error}).forEach(function(p){return p.error(s,n.state,v)})}catch{}l(v)})})}};pe.prototype.subscribe=function(t,r){return wu(t,this._subscribers,r)};pe.prototype.subscribeAction=function(t,r){var n=typeof t=="function"?{before:t}:t;return wu(n,this._actionSubscribers,r)};pe.prototype.watch=function(t,r,n){var i=this;return this._watcherVM.$watch(function(){return t(i.state,i.getters)},r,n)};pe.prototype.replaceState=function(t){var r=this;this._withCommit(function(){r._vm._data.$$state=t})};pe.prototype.registerModule=function(t,r,n){n===void 0&&(n={}),typeof t=="string"&&(t=[t]),this._modules.register(t,r),fn(this,this.state,t,this._modules.get(t),n.preserveState),Ui(this,this.state)};pe.prototype.unregisterModule=function(t){var r=this;typeof t=="string"&&(t=[t]),this._modules.unregister(t),this._withCommit(function(){var n=Hi(r.state,t.slice(0,-1));se.delete(n,t[t.length-1])}),Ou(this)};pe.prototype.hasModule=function(t){return typeof t=="string"&&(t=[t]),this._modules.isRegistered(t)};pe.prototype.hotUpdate=function(t){this._modules.update(t),Ou(this,!0)};pe.prototype._withCommit=function(t){var r=this._committing;this._committing=!0,t(),this._committing=r};Object.defineProperties(pe.prototype,Fi);function wu(e,t,r){return t.indexOf(e)<0&&(r&&r.prepend?t.unshift(e):t.push(e)),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function Ou(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var r=e.state;fn(e,r,[],e._modules.root,!0),Ui(e,r,t)}function Ui(e,t,r){var n=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);var i=e._wrappedGetters,a={};Rt(i,function(s,u){a[u]=em(s,e),Object.defineProperty(e.getters,u,{get:function(){return e._vm[u]},enumerable:!0})});var o=se.config.silent;se.config.silent=!0,e._vm=new se({data:{$$state:t},computed:a}),se.config.silent=o,e.strict&&om(e),n&&(r&&e._withCommit(function(){n._data.$$state=null}),se.nextTick(function(){return n.$destroy()}))}function fn(e,t,r,n,i){var a=!r.length,o=e._modules.getNamespace(r);if(n.namespaced&&(e._modulesNamespaceMap[o],e._modulesNamespaceMap[o]=n),!a&&!i){var s=Hi(t,r.slice(0,-1)),u=r[r.length-1];e._withCommit(function(){se.set(s,u,n.state)})}var f=n.context=tm(e,o,r);n.forEachMutation(function(c,l){var v=o+l;nm(e,v,c,f)}),n.forEachAction(function(c,l){var v=c.root?l:o+l,p=c.handler||c;im(e,v,p,f)}),n.forEachGetter(function(c,l){var v=o+l;am(e,v,c,f)}),n.forEachChild(function(c,l){fn(e,t,r.concat(l),c,i)})}function tm(e,t,r){var n=t==="",i={dispatch:n?e.dispatch:function(a,o,s){var u=Zr(a,o,s),f=u.payload,c=u.options,l=u.type;return(!c||!c.root)&&(l=t+l),e.dispatch(l,f)},commit:n?e.commit:function(a,o,s){var u=Zr(a,o,s),f=u.payload,c=u.options,l=u.type;(!c||!c.root)&&(l=t+l),e.commit(l,f,c)}};return Object.defineProperties(i,{getters:{get:n?function(){return e.getters}:function(){return rm(e,t)}},state:{get:function(){return Hi(e.state,r)}}}),i}function rm(e,t){if(!e._makeLocalGettersCache[t]){var r={},n=t.length;Object.keys(e.getters).forEach(function(i){if(i.slice(0,n)===t){var a=i.slice(n);Object.defineProperty(r,a,{get:function(){return e.getters[i]},enumerable:!0})}}),e._makeLocalGettersCache[t]=r}return e._makeLocalGettersCache[t]}function nm(e,t,r,n){var i=e._mutations[t]||(e._mutations[t]=[]);i.push(function(o){r.call(e,n.state,o)})}function im(e,t,r,n){var i=e._actions[t]||(e._actions[t]=[]);i.push(function(o){var s=r.call(e,{dispatch:n.dispatch,commit:n.commit,getters:n.getters,state:n.state,rootGetters:e.getters,rootState:e.state},o);return Vh(s)||(s=Promise.resolve(s)),e._devtoolHook?s.catch(function(u){throw e._devtoolHook.emit("vuex:error",u),u}):s})}function am(e,t,r,n){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(a){return r(n.state,n.getters,a.state,a.getters)})}function om(e){e._vm.$watch(function(){return this._data.$$state},function(){},{deep:!0,sync:!0})}function Hi(e,t){return t.reduce(function(r,n){return r[n]},e)}function Zr(e,t,r){return gu(e)&&e.type&&(r=t,t=e,e=e.type),{type:e,payload:t,options:r}}function Cu(e){se&&e===se||(se=e,Yh(se))}var Eu=ln(function(e,t){var r={};return cn(t).forEach(function(n){var i=n.key,a=n.val;r[i]=function(){var s=this.$store.state,u=this.$store.getters;if(e){var f=pn(this.$store,"mapState",e);if(!f)return;s=f.context.state,u=f.context.getters}return typeof a=="function"?a.call(this,s,u):s[a]},r[i].vuex=!0}),r}),Su=ln(function(e,t){var r={};return cn(t).forEach(function(n){var i=n.key,a=n.val;r[i]=function(){for(var s=[],u=arguments.length;u--;)s[u]=arguments[u];var f=this.$store.commit;if(e){var c=pn(this.$store,"mapMutations",e);if(!c)return;f=c.context.commit}return typeof a=="function"?a.apply(this,[f].concat(s)):f.apply(this.$store,[a].concat(s))}}),r}),Au=ln(function(e,t){var r={};return cn(t).forEach(function(n){var i=n.key,a=n.val;a=e+a,r[i]=function(){if(!(e&&!pn(this.$store,"mapGetters",e)))return this.$store.getters[a]},r[i].vuex=!0}),r}),Pu=ln(function(e,t){var r={};return cn(t).forEach(function(n){var i=n.key,a=n.val;r[i]=function(){for(var s=[],u=arguments.length;u--;)s[u]=arguments[u];var f=this.$store.dispatch;if(e){var c=pn(this.$store,"mapActions",e);if(!c)return;f=c.context.dispatch}return typeof a=="function"?a.apply(this,[f].concat(s)):f.apply(this.$store,[a].concat(s))}}),r}),sm=function(e){return{mapState:Eu.bind(null,e),mapGetters:Au.bind(null,e),mapMutations:Su.bind(null,e),mapActions:Pu.bind(null,e)}};function cn(e){return um(e)?Array.isArray(e)?e.map(function(t){return{key:t,val:t}}):Object.keys(e).map(function(t){return{key:t,val:e[t]}}):[]}function um(e){return Array.isArray(e)||gu(e)}function ln(e){return function(t,r){return typeof t!="string"?(r=t,t=""):t.charAt(t.length-1)!=="/"&&(t+="/"),e(t,r)}}function pn(e,t,r){var n=e._modulesNamespaceMap[r];return n}function fm(e){e===void 0&&(e={});var t=e.collapsed;t===void 0&&(t=!0);var r=e.filter;r===void 0&&(r=function(c,l,v){return!0});var n=e.transformer;n===void 0&&(n=function(c){return c});var i=e.mutationTransformer;i===void 0&&(i=function(c){return c});var a=e.actionFilter;a===void 0&&(a=function(c,l){return!0});var o=e.actionTransformer;o===void 0&&(o=function(c){return c});var s=e.logMutations;s===void 0&&(s=!0);var u=e.logActions;u===void 0&&(u=!0);var f=e.logger;return f===void 0&&(f=console),function(c){var l=ti(c.state);typeof f>"u"||(s&&c.subscribe(function(v,p){var y=ti(p);if(r(v,l,y)){var d=vo(),m=i(v),h="mutation "+v.type+d;lo(f,h,t),f.log("%c prev state","color: #9E9E9E; font-weight: bold",n(l)),f.log("%c mutation","color: #03A9F4; font-weight: bold",m),f.log("%c next state","color: #4CAF50; font-weight: bold",n(y)),po(f)}l=y}),u&&c.subscribeAction(function(v,p){if(a(v,p)){var y=vo(),d=o(v),m="action "+v.type+y;lo(f,m,t),f.log("%c action","color: #03A9F4; font-weight: bold",d),po(f)}}))}}function lo(e,t,r){var n=r?e.groupCollapsed:e.group;try{n.call(e,t)}catch{e.log(t)}}function po(e){try{e.groupEnd()}catch{e.log("—— log end ——")}}function vo(){var e=new Date;return" @ "+yr(e.getHours(),2)+":"+yr(e.getMinutes(),2)+":"+yr(e.getSeconds(),2)+"."+yr(e.getMilliseconds(),3)}function cm(e,t){return new Array(t+1).join(e)}function yr(e,t){return cm("0",t-e.toString().length)+e}var Tu={Store:pe,install:Cu,version:"3.6.2",mapState:Eu,mapMutations:Su,mapGetters:Au,mapActions:Pu,createNamespacedHelpers:sm,createLogger:fm};G.use(Tu);const lm=new Tu.Store({state:{},mutations:{},actions:{}});gc();window.addEventListener("error",e=>{console.error("Uncaught Error:",e.error)});G.config.productionTip=!1;G.use(xv);new G({router:Jh,store:lm,render:e=>e(Iv),created(){"-ms-scroll-limit"in document.documentElement.style&&"-ms-ime-align"in document.documentElement.style&&window.addEventListener("hashchange",e=>{const t=window.location.hash.slice(1);this.$route.path!==t&&this.$router.push(t)},!1)}}).$mount("#app");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
html{height:100vh}body{padding:0;margin:0;height:100vh}label{font-weight:700}select{background-color:#33383d;color:#fdfdfd;border:1px solid #888}#app{font-family:Avenir,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-align:center;color:#2c3e50;height:100%}.vue-notification.toast{background-color:#2a60c8;color:#fdfdfd;border-color:#75a8ff}.vue-notification.pubsub{background-color:#444a52;border-color:#ff4f1f}#worker-control-panel{width:500px;padding:20px;background-color:#33383d;color:#fdfdfd;text-align:left}#worker-selection{text-align:center;margin-bottom:20px}label[for=worker-select]{margin-right:10px}label[for=worker-message]{display:block}#worker-message{width:100%;height:200px;margin-bottom:5px}#routerLayout{display:flex;flex-direction:column;height:100%}#main{flex-grow:1;display:flex;flex-direction:row}#frameRouter{flex-grow:1}#routerLayout .header{padding:5px 10px;background-color:#33383d;color:#fdfdfd}a,button{color:#1fc0ff}button{background-color:#33383d;border:1px solid #1fc0ff;border-radius:4px;padding:3px 8px;text-align:center}.control-icons{text-align:right}.control-icons :not(:last-child){margin-right:5px}.control-icons button{border:none;padding:0}.worker-controls svg{transform:scaleX(-1)}#routerLayout .app-route,#routerLayout .frame-url,#routerLayout .client-id,#routerLayout .metadata-container .metadata-content{color:#ff4f1f}#routerLayout .metadata-container{display:flex;text-align:left;float:right;width:800px}#routerLayout .metadata-container .metadata-title{margin-right:5px;width:150px}#appMenu{max-width:80ch;margin:auto}#appMenu nav{text-align:left}#appMenu ul{margin:0;padding:0}#appMenu li{list-style:none}
|
package/dist/favicon.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-layout"><rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect><line x1="3" y1="9" x2="21" y2="9"></line><line x1="9" y1="21" x2="9" y2="9"></line></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-help-circle"><circle cx="12" cy="12" r="10"></circle><path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"></path><line x1="12" y1="17" x2="12.01" y2="17"></line></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
window.hierarchyData = "eJyrVirKzy8pVrKKjtVRKkpNy0lNLsnMzwMKVNfWAgCbHgqm"
|