/*! For license information please see main.ae46d366cf3ef6bb4a8f.js.LICENSE.txt */ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="21f98dc2-3d42-404a-9528-78a7a626ac4f",e._sentryDebugIdIdentifier="sentry-dbid-21f98dc2-3d42-404a-9528-78a7a626ac4f")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"b374aa5fc2dacbbaf0769a9c9ada3a487703e3f2"},(self.webpackChunkfrontend_saas=self.webpackChunkfrontend_saas||[]).push([[8792],{105:(e,t,n)=>{"use strict";n.d(t,{k:()=>i});var r=n(94626),a=n(71450),o=n(74066),i=function(){function e(){this.getFragmentDoc=(0,a.LV)(o.ct)}return e.prototype.batch=function(e){var t="string"==typeof e.optimistic?e.optimistic:!1===e.optimistic?null:void 0;this.performTransaction(e.update,t)},e.prototype.recordOptimisticTransaction=function(e,t){this.performTransaction(e,t)},e.prototype.transformDocument=function(e){return e},e.prototype.identify=function(e){},e.prototype.gc=function(){return[]},e.prototype.modify=function(e){return!1},e.prototype.transformForLink=function(e){return e},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,r.Cl)((0,r.Cl)({},e),{rootId:e.id||"ROOT_QUERY",optimistic:t}))},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,r.Cl)((0,r.Cl)({},e),{query:this.getFragmentDoc(e.fragment,e.fragmentName),rootId:e.id,optimistic:t}))},e.prototype.writeQuery=function(e){var t=e.id,n=e.data,a=(0,r.Tt)(e,["id","data"]);return this.write(Object.assign(a,{dataId:t||"ROOT_QUERY",result:n}))},e.prototype.writeFragment=function(e){var t=e.id,n=e.data,a=e.fragment,o=e.fragmentName,i=(0,r.Tt)(e,["id","data","fragment","fragmentName"]);return this.write(Object.assign(i,{query:this.getFragmentDoc(a,o),dataId:t,result:n}))},e}()},90691:(e,t,n)=>{"use strict";var r;n.d(t,{l:()=>r}),r||(r={})},87284:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(94626),a=function(e){function t(n,r,a,o){var i=e.call(this,n)||this;return i.message=n,i.path=r,i.query=a,i.variables=o,i.__proto__=t.prototype,i}return(0,r.C6)(t,e),t}(Error)},92207:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ApolloCache:()=>o.k,Cache:()=>i.l,EntityStore:()=>u.D_,InMemoryCache:()=>d.D,MissingFieldError:()=>s.Z,Policies:()=>f.l,cacheSlot:()=>p.bl,canonicalStringify:()=>h.M,defaultDataIdFromObject:()=>f.o,fieldNameFromStoreName:()=>c.iJ,isReference:()=>l.A_,makeReference:()=>l.WU,makeVar:()=>p.UT});var r=n(28575),a=n(97555),o=n(105),i=n(90691),s=n(87284),l=n(67765),u=n(70668),c=n(55577),d=n(6871),p=n(46959),f=n(93112),h=n(33995);__DEV__?(0,r.V1)("boolean"==typeof a.I,a.I):(0,r.V1)("boolean"==typeof a.I,1)},70668:(e,t,n)=>{"use strict";n.d(t,{$7:()=>A,D_:()=>v,M2:()=>w});var r=n(94626),a=n(71450),o=n(28575),i=n(54442),s=n(39149),l=n(58958),u=n(67765),c=n(68313),d=n(66919),p=n(15258),f=n(55577),h=Object.create(null),m=function(){return h},g=Object.create(null),v=function(){function e(e,t){var n=this;this.policies=e,this.group=t,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(e,t){return(0,l.G)((0,u.A_)(e)?n.get(e.__ref,t):e&&e[t])},this.canRead=function(e){return(0,u.A_)(e)?n.has(e.__ref):"object"==typeof e},this.toReference=function(e,t){if("string"==typeof e)return(0,u.WU)(e);if((0,u.A_)(e))return e;var r=n.policies.identify(e)[0];if(r){var a=(0,u.WU)(r);return t&&n.merge(r,e),a}}}return e.prototype.toObject=function(){return(0,r.Cl)({},this.data)},e.prototype.has=function(e){return void 0!==this.lookup(e,!0)},e.prototype.get=function(e,t){if(this.group.depend(e,t),f.$3.call(this.data,e)){var n=this.data[e];if(n&&f.$3.call(n,t))return n[t]}return"__typename"===t&&f.$3.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof x?this.parent.get(e,t):void 0},e.prototype.lookup=function(e,t){return t&&this.group.depend(e,"__exists"),f.$3.call(this.data,e)?this.data[e]:this instanceof x?this.parent.lookup(e,t):this.policies.rootTypenamesById[e]?Object.create(null):void 0},e.prototype.merge=function(e,t){var n,r=this;(0,u.A_)(e)&&(e=e.__ref),(0,u.A_)(t)&&(t=t.__ref);var a="string"==typeof e?this.lookup(n=e):e,i="string"==typeof t?this.lookup(n=t):t;if(i){__DEV__?(0,o.V1)("string"==typeof n,"store.merge expects a string ID"):(0,o.V1)("string"==typeof n,2);var s=new c.ZI(_).merge(a,i);if(this.data[n]=s,s!==a&&(delete this.refs[n],this.group.caching)){var l=Object.create(null);a||(l.__exists=1),Object.keys(i).forEach((function(e){if(!a||a[e]!==s[e]){l[e]=1;var t=(0,f.iJ)(e);t===e||r.policies.hasKeyArgs(s.__typename,t)||(l[t]=1),void 0!==s[e]||r instanceof x||delete s[e]}})),!l.__typename||a&&a.__typename||this.policies.rootTypenamesById[n]!==s.__typename||delete l.__typename,Object.keys(l).forEach((function(e){return r.group.dirty(n,e)}))}}},e.prototype.modify=function(e,t){var n=this,a=this.lookup(e);if(a){var o=Object.create(null),i=!1,s=!0,c={DELETE:h,INVALIDATE:g,isReference:u.A_,toReference:this.toReference,canRead:this.canRead,readField:function(t,r){return n.policies.readField("string"==typeof t?{fieldName:t,from:r||(0,u.WU)(e)}:t,{store:n})}};if(Object.keys(a).forEach((function(u){var d=(0,f.iJ)(u),p=a[u];if(void 0!==p){var v="function"==typeof t?t:t[u]||t[d];if(v){var y=v===m?h:v((0,l.G)(p),(0,r.Cl)((0,r.Cl)({},c),{fieldName:d,storeFieldName:u,storage:n.getStorage(e,u)}));y===g?n.group.dirty(e,u):(y===h&&(y=void 0),y!==p&&(o[u]=y,i=!0,p=y))}void 0!==p&&(s=!1)}})),i)return this.merge(e,o),s&&(this instanceof x?this.data[e]=void 0:delete this.data[e],this.group.dirty(e,"__exists")),!0}return!1},e.prototype.delete=function(e,t,n){var r,a=this.lookup(e);if(a){var o=this.getFieldValue(a,"__typename"),i=t&&n?this.policies.getStoreFieldName({typename:o,fieldName:t,args:n}):t;return this.modify(e,i?((r={})[i]=m,r):m)}return!1},e.prototype.evict=function(e){var t=!1;return e.id&&(f.$3.call(this.data,e.id)&&(t=this.delete(e.id,e.fieldName,e.args)),this instanceof x&&(t=this.parent.evict(e)||t),(e.fieldName||t)&&this.group.dirty(e.id,e.fieldName||"__exists")),t},e.prototype.clear=function(){this.replace(null)},e.prototype.extract=function(){var e=this,t=this.toObject(),n=[];return this.getRootIdSet().forEach((function(t){f.$3.call(e.policies.rootTypenamesById,t)||n.push(t)})),n.length&&(t.__META={extraRootIds:n.sort()}),t},e.prototype.replace=function(e){var t=this;if(Object.keys(this.data).forEach((function(n){e&&f.$3.call(e,n)||t.delete(n)})),e){var n=e.__META,a=(0,r.Tt)(e,["__META"]);Object.keys(a).forEach((function(e){t.merge(e,a[e])})),n&&n.extraRootIds.forEach(this.retain,this)}},e.prototype.retain=function(e){return this.rootIds[e]=(this.rootIds[e]||0)+1},e.prototype.release=function(e){if(this.rootIds[e]>0){var t=--this.rootIds[e];return t||delete this.rootIds[e],t}return 0},e.prototype.getRootIdSet=function(e){return void 0===e&&(e=new Set),Object.keys(this.rootIds).forEach(e.add,e),this instanceof x?this.parent.getRootIdSet(e):Object.keys(this.policies.rootTypenamesById).forEach(e.add,e),e},e.prototype.gc=function(){var e=this,t=this.getRootIdSet(),n=this.toObject();t.forEach((function(r){f.$3.call(n,r)&&(Object.keys(e.findChildRefIds(r)).forEach(t.add,t),delete n[r])}));var r=Object.keys(n);if(r.length){for(var a=this;a instanceof x;)a=a.parent;r.forEach((function(e){return a.delete(e)}))}return r},e.prototype.findChildRefIds=function(e){if(!f.$3.call(this.refs,e)){var t=this.refs[e]=Object.create(null),n=this.data[e];if(!n)return t;var r=new Set([n]);r.forEach((function(e){(0,u.A_)(e)&&(t[e.__ref]=!0),(0,d.U)(e)&&Object.keys(e).forEach((function(t){var n=e[t];(0,d.U)(n)&&r.add(n)}))}))}return this.refs[e]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),y=function(){function e(e,t){void 0===t&&(t=null),this.caching=e,this.parent=t,this.d=null,this.resetCaching()}return e.prototype.resetCaching=function(){this.d=this.caching?(0,a.yN)():null,this.keyMaker=new s.b(p.e)},e.prototype.depend=function(e,t){if(this.d){this.d(b(e,t));var n=(0,f.iJ)(t);n!==t&&this.d(b(e,n)),this.parent&&this.parent.depend(e,t)}},e.prototype.dirty=function(e,t){this.d&&this.d.dirty(b(e,t),"__exists"===t?"forget":"setDirty")},e}();function b(e,t){return t+"#"+e}function w(e,t){A(e)&&e.group.depend(t,"__exists")}!function(e){var t=function(e){function t(t){var n=t.policies,r=t.resultCaching,a=void 0===r||r,o=t.seed,i=e.call(this,n,new y(a))||this;return i.stump=new S(i),i.storageTrie=new s.b(p.e),o&&i.replace(o),i}return(0,r.C6)(t,e),t.prototype.addLayer=function(e,t){return this.stump.addLayer(e,t)},t.prototype.removeLayer=function(){return this},t.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},t}(e);e.Root=t}(v||(v={}));var x=function(e){function t(t,n,r,a){var o=e.call(this,n.policies,a)||this;return o.id=t,o.parent=n,o.replay=r,o.group=a,r(o),o}return(0,r.C6)(t,e),t.prototype.addLayer=function(e,n){return new t(e,this,n,this.group)},t.prototype.removeLayer=function(e){var t=this,n=this.parent.removeLayer(e);return e===this.id?(this.group.caching&&Object.keys(this.data).forEach((function(e){var r=t.data[e],a=n.lookup(e);a?r?r!==a&&Object.keys(r).forEach((function(n){(0,i.L)(r[n],a[n])||t.group.dirty(e,n)})):(t.group.dirty(e,"__exists"),Object.keys(a).forEach((function(n){t.group.dirty(e,n)}))):t.delete(e)})),n):n===this.parent?this:n.addLayer(this.id,this.replay)},t.prototype.toObject=function(){return(0,r.Cl)((0,r.Cl)({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(t){var n=this.parent.findChildRefIds(t);return f.$3.call(this.data,t)?(0,r.Cl)((0,r.Cl)({},n),e.prototype.findChildRefIds.call(this,t)):n},t.prototype.getStorage=function(){for(var e=this.parent;e.parent;)e=e.parent;return e.getStorage.apply(e,arguments)},t}(v),S=function(e){function t(t){return e.call(this,"EntityStore.Stump",t,(function(){}),new y(t.group.caching,t.group))||this}return(0,r.C6)(t,e),t.prototype.removeLayer=function(){return this},t.prototype.merge=function(){return this.parent.merge.apply(this.parent,arguments)},t}(x);function _(e,t,n){var r=e[n],a=t[n];return(0,i.L)(r,a)?r:a}function A(e){return!!(e instanceof v&&e.group.caching)}},55577:(e,t,n)=>{"use strict";n.d(t,{$3:()=>s,T9:()=>d,Ui:()=>l,d1:()=>p,gk:()=>u,iJ:()=>c,mv:()=>f});var r=n(67765),a=n(66919),o=n(26541),i=n(68313),s=Object.prototype.hasOwnProperty;function l(e,t){return(0,r.A_)(t)?e.get(t.__ref,"__typename"):t&&t.__typename}var u=/^[_a-z][_0-9a-z]*/i;function c(e){var t=e.match(u);return t?t[0]:e}function d(e,t,n){return!!(0,a.U)(t)&&(Array.isArray(t)?t.every((function(t){return d(e,t,n)})):e.selections.every((function(e){if((0,r.dt)(e)&&(0,o.MS)(e,n)){var a=(0,r.ue)(e);return s.call(t,a)&&(!e.selectionSet||d(e.selectionSet,t[a],n))}return!0})))}function p(e){return(0,a.U)(e)&&!(0,r.A_)(e)&&!Array.isArray(e)}function f(){return new i.ZI}},6871:(e,t,n)=>{"use strict";n.d(t,{D:()=>N});var r=n(94626),a=n(71450),o=n(54442),i=n(105),s=n(87284),l=n(67765),u=n(74538),c=n(28575),d=n(15258),p=n(50591),f=n(74066),h=n(26541),m=n(68313),g=n(58958),v=n(66919),y=n(70668),b=n(55577),w=n(33995);function x(e,t){return new s.Z(e.message,t.path.slice(),t.query,t.variables)}function S(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var _=function(){function e(e){var t=this;this.knownResults=new(d.e?WeakMap:Map),this.config=(0,r.Cl)((0,r.Cl)({},e),{addTypename:!1!==e.addTypename}),this.canon=e.canon||new w.$,this.executeSelectionSet=(0,a.LV)((function(e){var n,a=e.context.canonizeResults,o=S(e);o[3]=!a;var i=(n=t.executeSelectionSet).peek.apply(n,o);return i?a?(0,r.Cl)((0,r.Cl)({},i),{result:t.canon.admit(i.result)}):i:((0,y.M2)(e.context.store,e.enclosingRef.__ref),t.execSelectionSetImpl(e))}),{max:this.config.resultCacheMaxSize,keyArgs:S,makeCacheKey:function(e,t,n,r){if((0,y.$7)(n.store))return n.store.makeCacheKey(e,(0,l.A_)(t)?t.__ref:t,n.varString,r)}}),this.executeSubSelectedArray=(0,a.LV)((function(e){return(0,y.M2)(e.context.store,e.enclosingRef.__ref),t.execSubSelectedArrayImpl(e)}),{max:this.config.resultCacheMaxSize,makeCacheKey:function(e){var t=e.field,n=e.array,r=e.context;if((0,y.$7)(r.store))return r.store.makeCacheKey(t,n,r.varString)}})}return e.prototype.resetCanon=function(){this.canon=new w.$},e.prototype.diffQueryAgainstStore=function(e){var t=e.store,n=e.query,a=e.rootId,o=void 0===a?"ROOT_QUERY":a,i=e.variables,s=e.returnPartialData,u=void 0===s||s,c=e.canonizeResults,d=void 0===c||c,h=this.config.cache.policies;i=(0,r.Cl)((0,r.Cl)({},(0,p.wY)((0,p.AT)(n))),i);var m=(0,l.WU)(o),g=this.executeSelectionSet({selectionSet:(0,p.Vn)(n).selectionSet,objectOrReference:m,enclosingRef:m,context:{store:t,query:n,policies:h,variables:i,varString:(0,w.M)(i),canonizeResults:d,fragmentMap:(0,f.JG)((0,p.zK)(n)),path:[]}}),v=g.missing&&g.missing.length>0;if(v&&!u)throw g.missing[0];return{result:g.result,missing:g.missing,complete:!v}},e.prototype.isFresh=function(e,t,n,r){if((0,y.$7)(r.store)&&this.knownResults.get(e)===n){var a=this.executeSelectionSet.peek(n,t,r,this.canon.isKnown(e));if(a&&e===a.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(e){var t=this,n=e.selectionSet,r=e.objectOrReference,a=e.enclosingRef,o=e.context;if((0,l.A_)(r)&&!o.policies.rootTypenamesById[r.__ref]&&!o.store.has(r.__ref))return{result:this.canon.empty,missing:[x(__DEV__?new c.zU("Dangling reference to missing "+r.__ref+" object"):new c.zU(6),o)]};var i=o.variables,s=o.policies,d=o.store,p=[],v={result:null},y=d.getFieldValue(r,"__typename");function b(){return v.missing||(v.missing=[])}function w(e){var t;return e.missing&&(t=b()).push.apply(t,e.missing),e.result}this.config.addTypename&&"string"==typeof y&&!s.rootIdsByTypename[y]&&p.push({__typename:y});var S=new Set(n.selections);S.forEach((function(e){var n;if((0,h.MS)(e,i))if((0,l.dt)(e)){var d=s.readField({fieldName:e.name.value,field:e,variables:o.variables,from:r},o),m=(0,l.ue)(e);o.path.push(m),void 0===d?u.XY.added(e)||b().push(x(__DEV__?new c.zU("Can't find field '"+e.name.value+"' on "+((0,l.A_)(r)?r.__ref+" object":"object "+JSON.stringify(r,null,2))):new c.zU(7),o)):Array.isArray(d)?d=w(t.executeSubSelectedArray({field:e,array:d,enclosingRef:a,context:o})):e.selectionSet?null!=d&&(d=w(t.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:d,enclosingRef:(0,l.A_)(d)?d:a,context:o}))):o.canonizeResults&&(d=t.canon.pass(d)),void 0!==d&&p.push(((n={})[m]=d,n)),(0,c.V1)(o.path.pop()===m)}else{var g=(0,f.HQ)(e,o.fragmentMap);g&&s.fragmentMatches(g,y)&&g.selectionSet.selections.forEach(S.add,S)}}));var _=(0,m.IM)(p);return v.result=o.canonizeResults?this.canon.admit(_):(0,g.G)(_),this.knownResults.set(v.result,n),v},e.prototype.execSubSelectedArrayImpl=function(e){var t,n=this,r=e.field,a=e.array,o=e.enclosingRef,i=e.context;function s(e,n){return e.missing&&(t=t||[]).push.apply(t,e.missing),(0,c.V1)(i.path.pop()===n),e.result}return r.selectionSet&&(a=a.filter(i.store.canRead)),a=a.map((function(e,t){return null===e?null:(i.path.push(t),Array.isArray(e)?s(n.executeSubSelectedArray({field:r,array:e,enclosingRef:o,context:i}),t):r.selectionSet?s(n.executeSelectionSet({selectionSet:r.selectionSet,objectOrReference:e,enclosingRef:(0,l.A_)(e)?e:o,context:i}),t):(__DEV__&&function(e,t,n){if(!t.selectionSet){var r=new Set([n]);r.forEach((function(n){(0,v.U)(n)&&(__DEV__?(0,c.V1)(!(0,l.A_)(n),"Missing selection set for object of type "+(0,b.Ui)(e,n)+" returned for query field "+t.name.value):(0,c.V1)(!(0,l.A_)(n),8),Object.values(n).forEach(r.add,r))}))}}(i.store,r,e),(0,c.V1)(i.path.pop()===t),e))})),{result:i.canonizeResults?this.canon.admit(a):a,missing:t}},e}(),A=n(65160),C=function(){function e(e,t){this.cache=e,this.reader=t}return e.prototype.writeToStore=function(e,t){var n=this,a=t.query,i=t.result,s=t.dataId,u=t.variables,d=t.overwrite,h=(0,p.Vu)(a),m=(0,b.mv)();u=(0,r.Cl)((0,r.Cl)({},(0,p.wY)(h)),u);var g={store:e,written:Object.create(null),merge:function(e,t){return m.merge(e,t)},variables:u,varString:(0,w.M)(u),fragmentMap:(0,f.JG)((0,p.zK)(a)),overwrite:!!d,incomingById:new Map,clientOnly:!1},v=this.processSelectionSet({result:i||Object.create(null),dataId:s,selectionSet:h.selectionSet,mergeTree:{map:new Map},context:g});if(!(0,l.A_)(v))throw __DEV__?new c.zU("Could not identify object "+JSON.stringify(i)):new c.zU(9);return g.incomingById.forEach((function(t,r){var a=t.fields,i=t.mergeTree,s=t.selections,u=(0,l.WU)(r);if(i.map.size){var d=n.applyMerges(i,u,a,g);if((0,l.A_)(d))return;a=d}if(__DEV__&&!g.overwrite){var p=new Set;s.forEach((function(e){(0,l.dt)(e)&&e.selectionSet&&p.add(e.name.value)})),Object.keys(a).forEach((function(e){(function(e){return p.has((0,b.iJ)(e))})(e)&&!function(e){var t=i.map.get(e);return Boolean(t&&t.info&&t.info.merge)}(e)&&function(e,t,n,r){var a=function(e){var t=r.getFieldValue(e,n);return"object"==typeof t&&t},i=a(e);if(i){var s=a(t);if(s&&!(0,l.A_)(i)&&!(0,o.L)(i,s)&&!Object.keys(i).every((function(e){return void 0!==r.getFieldValue(s,e)}))){var u=r.getFieldValue(e,"__typename")||r.getFieldValue(t,"__typename"),d=(0,b.iJ)(n),p=u+"."+d;if(!O.has(p)){O.add(p);var f=[];Array.isArray(i)||Array.isArray(s)||[i,s].forEach((function(e){var t=r.getFieldValue(e,"__typename");"string"!=typeof t||f.includes(t)||f.push(t)})),__DEV__&&c.V1.warn("Cache data may be lost when replacing the "+d+" field of a "+u+" object.\n\nTo address this problem (which is not a bug in Apollo Client), "+(f.length?"either ensure all objects of type "+f.join(" and ")+" have an ID or a custom merge function, or ":"")+"define a custom merge function for the "+p+" field, so InMemoryCache can safely merge these objects:\n\n existing: "+JSON.stringify(i).slice(0,1e3)+"\n incoming: "+JSON.stringify(s).slice(0,1e3)+"\n\nFor more information about these options, please refer to the documentation:\n\n * Ensuring entity objects have IDs: https://go.apollo.dev/c/generating-unique-identifiers\n * Defining custom merge functions: https://go.apollo.dev/c/merging-non-normalized-objects\n")}}}}(u,a,e,g.store)}))}e.merge(r,a)})),e.retain(v.__ref),v},e.prototype.processSelectionSet=function(e){var t=this,n=e.dataId,r=e.result,a=e.selectionSet,o=e.context,i=e.mergeTree,s=this.cache.policies,d=s.identify(r,a,o.fragmentMap),p=d[0],m=d[1];if("string"==typeof(n=n||p)){var g=o.written[n]||(o.written[n]=[]),v=(0,l.WU)(n);if(g.indexOf(a)>=0)return v;if(g.push(a),this.reader&&this.reader.isFresh(r,v,a,o))return v}var y=Object.create(null);m&&(y=o.merge(y,m));var b=n&&s.rootTypenamesById[n]||(0,l.D$)(r,a,o.fragmentMap)||n&&o.store.get(n,"__typename");"string"==typeof b&&(y.__typename=b);var w=new Set(a.selections);if(w.forEach((function(e){var n;if((0,h.MS)(e,o.variables))if((0,l.dt)(e)){var a=(0,l.ue)(e),d=r[a],p=o.clientOnly;if(o.clientOnly=p||!(!e.directives||!e.directives.some((function(e){return"client"===e.name.value}))),void 0!==d){var m=s.getStoreFieldName({typename:b,fieldName:e.name.value,field:e,variables:o.variables}),g=k(i,m),v=t.processFieldValue(d,e,o,g),x=void 0;if(e.selectionSet&&!(x=o.store.getFieldValue(v,"__typename"))&&(0,l.A_)(v)){var S=o.incomingById.get(v.__ref);x=S&&S.fields.__typename}var _=s.getMergeFunction(b,e.name.value,x);_?g.info={field:e,typename:b,merge:_}:P(i,m),y=o.merge(y,((n={})[m]=v,n))}else o.clientOnly||u.XY.added(e)||__DEV__&&c.V1.error(("Missing field '"+(0,l.ue)(e)+"' while writing result "+JSON.stringify(r,null,2)).substring(0,1e3));o.clientOnly=p}else{var A=(0,f.HQ)(e,o.fragmentMap);A&&s.fragmentMatches(A,b,r,o.variables)&&A.selectionSet.selections.forEach(w.add,w)}})),"string"==typeof n){var x=o.incomingById.get(n);return x?(x.fields=o.merge(x.fields,y),x.mergeTree=E(x.mergeTree,i),x.selections.forEach(w.add,w),x.selections=w):o.incomingById.set(n,{fields:y,mergeTree:i,selections:w}),(0,l.WU)(n)}return y},e.prototype.processFieldValue=function(e,t,n,r){var a=this;return t.selectionSet&&null!==e?Array.isArray(e)?e.map((function(e,o){var i=a.processFieldValue(e,t,n,k(r,o));return P(r,o),i})):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:n,mergeTree:r}):__DEV__?(0,A.m)(e):e},e.prototype.applyMerges=function(e,t,n,a,o){var i,s=this;if(e.map.size&&!(0,l.A_)(n)){var u,d=Array.isArray(n)||!(0,l.A_)(t)&&!(0,b.d1)(t)?void 0:t,p=n;d&&!o&&(o=[(0,l.A_)(d)?d.__ref:d]);var f=function(e,t){return Array.isArray(e)?"number"==typeof t?e[t]:void 0:a.store.getFieldValue(e,String(t))};e.map.forEach((function(e,t){var n=f(d,t),r=f(p,t);if(void 0!==r){o&&o.push(t);var i=s.applyMerges(e,n,r,a,o);i!==r&&(u=u||new Map).set(t,i),o&&(0,c.V1)(o.pop()===t)}})),u&&(n=Array.isArray(p)?p.slice(0):(0,r.Cl)({},p),u.forEach((function(e,t){n[t]=e})))}return e.info?this.cache.policies.runMergeFunction(t,n,e.info,a,o&&(i=a.store).getStorage.apply(i,o)):n},e}(),T=[];function k(e,t){var n=e.map;return n.has(t)||n.set(t,T.pop()||{map:new Map}),n.get(t)}function E(e,t){if(e===t||!t||M(t))return e;if(!e||M(e))return t;var n=e.info&&t.info?(0,r.Cl)((0,r.Cl)({},e.info),t.info):e.info||t.info,a=e.map.size&&t.map.size,o={info:n,map:a?new Map:e.map.size?e.map:t.map};if(a){var i=new Set(t.map.keys());e.map.forEach((function(e,n){o.map.set(n,E(e,t.map.get(n))),i.delete(n)})),i.forEach((function(n){o.map.set(n,E(t.map.get(n),e.map.get(n)))}))}return o}function M(e){return!e||!(e.info||e.map.size)}function P(e,t){var n=e.map,r=n.get(t);r&&M(r)&&(T.push(r),n.delete(t))}var O=new Set,I=n(46959),D=n(93112),R={dataIdFromObject:D.o,addTypename:!0,resultCaching:!0,typePolicies:{}},N=function(e){function t(t){void 0===t&&(t={});var n=e.call(this)||this;return n.watches=new Set,n.typenameDocumentCache=new Map,n.makeVar=I.UT,n.txCount=0,n.config=(0,r.Cl)((0,r.Cl)({},R),t),n.addTypename=!!n.config.addTypename,n.policies=new D.l({cache:n,dataIdFromObject:n.config.dataIdFromObject,possibleTypes:n.config.possibleTypes,typePolicies:n.config.typePolicies}),n.init(),n}return(0,r.C6)(t,e),t.prototype.init=function(){var e=this.data=new y.D_.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=e.stump,this.resetResultCache()},t.prototype.resetResultCache=function(e){var t=this,n=this.storeReader;this.storeWriter=new C(this,this.storeReader=new _({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canon:e?void 0:n&&n.canon})),this.maybeBroadcastWatch=(0,a.LV)((function(e,n){return t.broadcastWatch(e,n)}),{max:this.config.resultCacheMaxSize,makeCacheKey:function(e){var n=e.optimistic?t.optimisticData:t.data;if((0,y.$7)(n)){var r=e.optimistic,a=e.rootId,o=e.variables;return n.makeCacheKey(e.query,e.callback,(0,w.M)({optimistic:r,rootId:a,variables:o}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach((function(e){return e.resetCaching()}))},t.prototype.restore=function(e){return this.init(),e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).extract()},t.prototype.read=function(e){var t=e.returnPartialData,n=void 0!==t&&t;try{return this.storeReader.diffQueryAgainstStore((0,r.Cl)((0,r.Cl)({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:n})).result||null}catch(e){if(e instanceof s.Z)return null;throw e}},t.prototype.write=function(e){try{return++this.txCount,this.storeWriter.writeToStore(this.data,e)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.modify=function(e){if(b.$3.call(e,"id")&&!e.id)return!1;var t=e.optimistic?this.optimisticData:this.data;try{return++this.txCount,t.modify(e.id||"ROOT_QUERY",e.fields)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.diff=function(e){return this.storeReader.diffQueryAgainstStore((0,r.Cl)((0,r.Cl)({},e),{store:e.optimistic?this.optimisticData:this.data,rootId:e.id||"ROOT_QUERY",config:this.config}))},t.prototype.watch=function(e){var t=this;return this.watches.size||(0,I.MS)(this),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){t.watches.delete(e)&&!t.watches.size&&(0,I.WR)(t),t.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(e){w.M.reset();var t=this.optimisticData.gc();return e&&!this.txCount&&(e.resetResultCache?this.resetResultCache(e.resetResultIdentities):e.resetResultIdentities&&this.storeReader.resetCanon()),t},t.prototype.retain=function(e,t){return(t?this.optimisticData:this.data).retain(e)},t.prototype.release=function(e,t){return(t?this.optimisticData:this.data).release(e)},t.prototype.identify=function(e){return(0,l.A_)(e)?e.__ref:this.policies.identify(e)[0]},t.prototype.evict=function(e){if(!e.id){if(b.$3.call(e,"id"))return!1;e=(0,r.Cl)((0,r.Cl)({},e),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(e)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.reset=function(){return this.init(),this.broadcastWatches(),w.M.reset(),Promise.resolve()},t.prototype.removeOptimistic=function(e){var t=this.optimisticData.removeLayer(e);t!==this.optimisticData&&(this.optimisticData=t,this.broadcastWatches())},t.prototype.batch=function(e){var t=this,n=e.update,a=e.optimistic,o=void 0===a||a,i=e.removeOptimistic,s=e.onWatchUpdated,l=function(e){var r=t,a=r.data,o=r.optimisticData;++t.txCount,e&&(t.data=t.optimisticData=e);try{n(t)}finally{--t.txCount,t.data=a,t.optimisticData=o}},u=new Set;s&&!this.txCount&&this.broadcastWatches((0,r.Cl)((0,r.Cl)({},e),{onWatchUpdated:function(e){return u.add(e),!1}})),"string"==typeof o?this.optimisticData=this.optimisticData.addLayer(o,l):!1===o?l(this.data):l(),"string"==typeof i&&(this.optimisticData=this.optimisticData.removeLayer(i)),s&&u.size?(this.broadcastWatches((0,r.Cl)((0,r.Cl)({},e),{onWatchUpdated:function(e,t){var n=s.call(this,e,t);return!1!==n&&u.delete(e),n}})),u.size&&u.forEach((function(e){return t.maybeBroadcastWatch.dirty(e)}))):this.broadcastWatches(e)},t.prototype.performTransaction=function(e,t){return this.batch({update:e,optimistic:t||null!==t})},t.prototype.transformDocument=function(e){if(this.addTypename){var t=this.typenameDocumentCache.get(e);return t||(t=(0,u.XY)(e),this.typenameDocumentCache.set(e,t),this.typenameDocumentCache.set(t,t)),t}return e},t.prototype.broadcastWatches=function(e){var t=this;this.txCount||this.watches.forEach((function(n){return t.maybeBroadcastWatch(n,e)}))},t.prototype.broadcastWatch=function(e,t){var n=e.lastDiff,r=this.diff({query:e.query,variables:e.variables,optimistic:e.optimistic});t&&(e.optimistic&&"string"==typeof t.optimistic&&(r.fromOptimisticTransaction=!0),t.onWatchUpdated&&!1===t.onWatchUpdated.call(this,e,r,n))||n&&(0,o.L)(n.result,r.result)||e.callback(e.lastDiff=r,n)},t}(i.k)},33995:(e,t,n)=>{"use strict";n.d(t,{$:()=>u,M:()=>c});var r,a,o=n(94626),i=n(39149),s=n(66919),l=n(15258),u=function(){function e(){this.known=new(l.E?WeakSet:Set),this.pool=new i.b(l.e),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return(0,s.U)(e)&&this.known.has(e)},e.prototype.pass=function(e){if((0,s.U)(e)){var t=function(e){return(0,s.U)(e)?Array.isArray(e)?e.slice(0):(0,o.Cl)({__proto__:Object.getPrototypeOf(e)},e):e}(e);return this.passes.set(t,e),t}return e},e.prototype.admit=function(e){var t=this;if((0,s.U)(e)){var n=this.passes.get(e);if(n)return n;switch(Object.getPrototypeOf(e)){case Array.prototype:if(this.known.has(e))return e;var r=e.map(this.admit,this);return(l=this.pool.lookupArray(r)).array||(this.known.add(l.array=r),__DEV__&&Object.freeze(r)),l.array;case null:case Object.prototype:if(this.known.has(e))return e;var a=Object.getPrototypeOf(e),o=[a],i=this.sortedKeys(e);o.push(i.json);var l,u=o.length;if(i.sorted.forEach((function(n){o.push(t.admit(e[n]))})),!(l=this.pool.lookupArray(o)).object){var c=l.object=Object.create(a);this.known.add(c),i.sorted.forEach((function(e,t){c[e]=o[u+t]})),__DEV__&&Object.freeze(c)}return l.object}}return e},e.prototype.sortedKeys=function(e){var t=Object.keys(e),n=this.pool.lookupArray(t);if(!n.keys){t.sort();var r=JSON.stringify(t);(n.keys=this.keysByJSON.get(r))||this.keysByJSON.set(r,n.keys={sorted:t,json:r})}return n.keys},e}(),c=Object.assign((function(e){if((0,s.U)(e)){void 0===r&&d();var t=r.admit(e),n=a.get(t);return void 0===n&&a.set(t,n=JSON.stringify(t)),n}return JSON.stringify(e)}),{reset:d});function d(){r=new u,a=new(l.e?WeakMap:Map)}},93112:(e,t,n)=>{"use strict";n.d(t,{l:()=>x,o:()=>g});var r=n(94626),a=n(39149),o=n(28575),i=n(67765),s=n(66919),l=n(88339);function u(e){var t=(0,l.v)("stringifyForDisplay");return JSON.stringify(e,(function(e,n){return void 0===n?t:n})).split(JSON.stringify(t)).join("")}var c=n(15258),d=n(74066),p=n(55577),f=n(46959),h=n(33995);function m(e){return void 0!==e.args?e.args:e.field?(0,i.MB)(e.field,e.variables):null}i.o5.setStringify(h.M);var g=function(e,t){var n=e.__typename,r=e.id,a=e._id;if("string"==typeof n&&(t&&(t.keyObject=void 0!==r?{id:r}:void 0!==a?{_id:a}:void 0),void 0===r&&(r=a),void 0!==r))return n+":"+("number"==typeof r||"string"==typeof r?r:JSON.stringify(r))},v=function(){},y=function(e,t){return t.fieldName},b=function(e,t,n){return(0,n.mergeObjects)(e,t)},w=function(e,t){return t},x=function(){function e(e){this.config=e,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=(0,r.Cl)({dataIdFromObject:g},e),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),e.possibleTypes&&this.addPossibleTypes(e.possibleTypes),e.typePolicies&&this.addTypePolicies(e.typePolicies)}return e.prototype.identify=function(e,t,n){var r=t&&n?(0,i.D$)(e,t,n):e.__typename;if(r===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var a,o={typename:r,selectionSet:t,fragmentMap:n},s=r&&this.getTypePolicy(r),l=s&&s.keyFn||this.config.dataIdFromObject;l;){var u=l(e,o);if(!Array.isArray(u)){a=u;break}l=C(u)}return a=a?String(a):void 0,o.keyObject?[a,o.keyObject]:[a]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach((function(n){var a=e[n],o=a.queryType,i=a.mutationType,s=a.subscriptionType,l=(0,r.Tt)(a,["queryType","mutationType","subscriptionType"]);o&&t.setRootTypename("Query",n),i&&t.setRootTypename("Mutation",n),s&&t.setRootTypename("Subscription",n),p.$3.call(t.toBeAdded,n)?t.toBeAdded[n].push(l):t.toBeAdded[n]=[l]}))},e.prototype.updateTypePolicy=function(e,t){var n=this,r=this.getTypePolicy(e),a=t.keyFields,o=t.fields;function i(e,t){e.merge="function"==typeof t?t:!0===t?b:!1===t?w:e.merge}i(r,t.merge),r.keyFn=!1===a?v:Array.isArray(a)?C(a):"function"==typeof a?a:r.keyFn,o&&Object.keys(o).forEach((function(t){var r=n.getFieldPolicy(e,t,!0),a=o[t];if("function"==typeof a)r.read=a;else{var s=a.keyArgs,l=a.read,u=a.merge;r.keyFn=!1===s?y:Array.isArray(s)?A(s):"function"==typeof s?s:r.keyFn,"function"==typeof l&&(r.read=l),i(r,u)}r.read&&r.merge&&(r.keyFn=r.keyFn||y)}))},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var n="ROOT_"+e.toUpperCase(),r=this.rootTypenamesById[n];t!==r&&(__DEV__?(0,o.V1)(!r||r===e,"Cannot change root "+e+" __typename more than once"):(0,o.V1)(!r||r===e,3),r&&delete this.rootIdsByTypename[r],this.rootIdsByTypename[t]=n,this.rootTypenamesById[n]=t)},e.prototype.addPossibleTypes=function(e){var t=this;this.usingPossibleTypes=!0,Object.keys(e).forEach((function(n){t.getSupertypeSet(n,!0),e[n].forEach((function(e){t.getSupertypeSet(e,!0).add(n);var r=e.match(p.gk);r&&r[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))}))}))},e.prototype.getTypePolicy=function(e){var t=this;if(!p.$3.call(this.typePolicies,e)){var n=this.typePolicies[e]=Object.create(null);n.fields=Object.create(null);var a=this.supertypeMap.get(e);a&&a.size&&a.forEach((function(e){var a=t.getTypePolicy(e),o=a.fields,i=(0,r.Tt)(a,["fields"]);Object.assign(n,i),Object.assign(n.fields,o)}))}var o=this.toBeAdded[e];return o&&o.length&&o.splice(0).forEach((function(n){t.updateTypePolicy(e,n)})),this.typePolicies[e]},e.prototype.getFieldPolicy=function(e,t,n){if(e){var r=this.getTypePolicy(e).fields;return r[t]||n&&(r[t]=Object.create(null))}},e.prototype.getSupertypeSet=function(e,t){var n=this.supertypeMap.get(e);return!n&&t&&this.supertypeMap.set(e,n=new Set),n},e.prototype.fragmentMatches=function(e,t,n,r){var a=this;if(!e.typeCondition)return!0;if(!t)return!1;var i=e.typeCondition.name.value;if(t===i)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(i))for(var s=this.getSupertypeSet(t,!0),l=[s],u=function(e){var t=a.getSupertypeSet(e,!1);t&&t.size&&l.indexOf(t)<0&&l.push(t)},c=!(!n||!this.fuzzySubtypes.size),d=!1,f=0;f1?i:t};else{if(!(0,s.U)(n))return void(__DEV__&&o.V1.warn("Unexpected readField arguments: "+u(Array.from(arguments))));l=(0,r.Cl)({},n),p.$3.call(n,"from")||(l.from=t)}return __DEV__&&void 0===l.from&&__DEV__&&o.V1.warn("Undefined 'from' passed to readField with arguments "+u(Array.from(arguments))),void 0===l.variables&&(l.variables=f),e.readField(l,a)},mergeObjects:_(a.store)}}function _(e){return function(t,n){if(Array.isArray(t)||Array.isArray(n))throw __DEV__?new o.zU("Cannot automatically merge arrays"):new o.zU(4);if((0,s.U)(t)&&(0,s.U)(n)){var a=e.getFieldValue(t,"__typename"),l=e.getFieldValue(n,"__typename");if(a&&l&&a!==l)return n;if((0,i.A_)(t)&&(0,p.d1)(n))return e.merge(t.__ref,n),t;if((0,p.d1)(t)&&(0,i.A_)(n))return e.merge(t,n.__ref),n;if((0,p.d1)(t)&&(0,p.d1)(n))return(0,r.Cl)((0,r.Cl)({},t),n)}return n}}function A(e){return function(t,n){return t?n.fieldName+":"+JSON.stringify(k(t,e,!1)):n.fieldName}}function C(e){var t=new a.b(c.e);return function(n,r){var a;if(r.selectionSet&&r.fragmentMap){var o=t.lookupArray([r.selectionSet,r.fragmentMap]);a=o.aliasMap||(o.aliasMap=T(r.selectionSet,r.fragmentMap))}var i=r.keyObject=k(n,e,!0,a);return r.typename+":"+JSON.stringify(i)}}function T(e,t){var n=Object.create(null),r=new Set([e]);return r.forEach((function(e){e.selections.forEach((function(e){if((0,i.dt)(e)){if(e.alias){var a=e.alias.value,o=e.name.value;o!==a&&((n.aliases||(n.aliases=Object.create(null)))[o]=a)}e.selectionSet&&((n.subsets||(n.subsets=Object.create(null)))[e.name.value]=T(e.selectionSet,t))}else{var s=(0,d.HQ)(e,t);s&&r.add(s.selectionSet)}}))})),n}function k(e,t,n,r){var a,i=Object.create(null);return t.forEach((function(t){if(Array.isArray(t)){if("string"==typeof a){var s=r&&r.subsets,l=s&&s[a];i[a]=k(e[a],t,n,l)}}else{var u=r&&r.aliases,c=u&&u[t]||t;p.$3.call(e,c)?i[a=t]=e[c]:(__DEV__?(0,o.V1)(!n,"Missing field '"+c+"' while computing key fields"):(0,o.V1)(!n,5),a=void 0)}})),i}},46959:(e,t,n)=>{"use strict";n.d(t,{MS:()=>l,UT:()=>u,WR:()=>s,bl:()=>a});var r=n(71450),a=new(n(407).DX),o=new WeakMap;function i(e){var t=o.get(e);return t||o.set(e,t={vars:new Set,dep:(0,r.yN)()}),t}function s(e){i(e).vars.forEach((function(t){return t.forgetCache(e)}))}function l(e){i(e).vars.forEach((function(t){return t.attachCache(e)}))}function u(e){var t=new Set,n=new Set,r=function(s){if(arguments.length>0){if(e!==s){e=s,t.forEach((function(e){i(e).dep.dirty(r),function(e){e.broadcastWatches&&e.broadcastWatches()}(e)}));var l=Array.from(n);n.clear(),l.forEach((function(t){return t(e)}))}}else{var u=a.getValue();u&&(o(u),i(u).dep(r))}return e};r.onNextChange=function(e){return n.add(e),function(){n.delete(e)}};var o=r.attachCache=function(e){return t.add(e),i(e).vars.add(r),r};return r.forgetCache=function(e){return t.delete(e)},r}},27839:(e,t,n)=>{"use strict";n.d(t,{R:()=>V,l:()=>W});var r=n(94626),a=n(28575),o=n(15774),i=n(38824),s=n(72730),l=n(1446),u=n(54442),c=n(33995),d=n(15258),p=n(96972);function f(e,t,n){return new p.c((function(r){var a=r.next,o=r.error,i=r.complete,s=0,l=!1,u={then:function(e){return new Promise((function(t){return t(e())}))}};function c(e,t){return e?function(t){++s;var n=function(){return e(t)};u=u.then(n,n).then((function(e){--s,a&&a.call(r,e),l&&d.complete()}),(function(e){throw--s,e})).catch((function(e){o&&o.call(r,e)}))}:function(e){return t&&t.call(r,e)}}var d={next:c(t,a),error:c(n,o),complete:function(){l=!0,s||i&&i.call(r)}},p=e.subscribe(d);return function(){return p.unsubscribe()}}))}function h(e){return e.errors&&e.errors.length>0||!1}var m=n(50591),g=n(74538),v=n(26541),y=n(67765),b=n(66919),w=n(88339),x=n(3483),S=n(52514);function _(e){return e&&"function"==typeof e.then}var A=function(e){function t(t){var n=e.call(this,(function(e){return n.addObserver(e),function(){return n.removeObserver(e)}}))||this;return n.observers=new Set,n.addCount=0,n.promise=new Promise((function(e,t){n.resolve=e,n.reject=t})),n.handlers={next:function(e){null!==n.sub&&(n.latest=["next",e],(0,x.w)(n.observers,"next",e))},error:function(e){var t=n.sub;null!==t&&(t&&Promise.resolve().then((function(){return t.unsubscribe()})),n.sub=null,n.latest=["error",e],n.reject(e),(0,x.w)(n.observers,"error",e))},complete:function(){if(null!==n.sub){var e=n.sources.shift();e?_(e)?e.then((function(e){return n.sub=e.subscribe(n.handlers)})):n.sub=e.subscribe(n.handlers):(n.sub=null,n.latest&&"next"===n.latest[0]?n.resolve(n.latest[1]):n.resolve(),(0,x.w)(n.observers,"complete"))}}},n.cancel=function(e){n.reject(e),n.sources=[],n.handlers.complete()},n.promise.catch((function(e){})),"function"==typeof t&&(t=[new p.c(t)]),_(t)?t.then((function(e){return n.start(e)}),n.handlers.error):n.start(t),n}return(0,r.C6)(t,e),t.prototype.start=function(e){void 0===this.sub&&(this.sources=Array.from(e),this.handlers.complete())},t.prototype.deliverLastMessage=function(e){if(this.latest){var t=this.latest[0],n=e[t];n&&n.call(e,this.latest[1]),null===this.sub&&"next"===t&&e.complete&&e.complete()}},t.prototype.addObserver=function(e){this.observers.has(e)||(this.deliverLastMessage(e),this.observers.add(e),++this.addCount)},t.prototype.removeObserver=function(e,t){this.observers.delete(e)&&--this.addCount<1&&!t&&this.handlers.error(new Error("Observable cancelled prematurely"))},t.prototype.cleanup=function(e){var t=this,n=!1,r=function(){n||(n=!0,t.observers.delete(a),e())},a={next:r,error:r,complete:r},o=this.addCount;this.addObserver(a),this.addCount=o},t}(p.c);(0,S.r)(A);var C=n(1185),T=n(57684),k=n(50151),E=n(49248),M=n(84705),P=n(68313),O=n(74066),I=n(46959),D=function(){function e(e){var t=e.cache,n=e.client,r=e.resolvers,a=e.fragmentMatcher;this.cache=t,n&&(this.client=n),r&&this.addResolvers(r),a&&this.setFragmentMatcher(a)}return e.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach((function(e){t.resolvers=(0,P.D9)(t.resolvers,e)})):this.resolvers=(0,P.D9)(this.resolvers,e)},e.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(e){var t=e.document,n=e.remoteResult,a=e.context,o=e.variables,i=e.onlyRunForcedResolvers,s=void 0!==i&&i;return(0,r.sH)(this,void 0,void 0,(function(){return(0,r.YH)(this,(function(e){return t?[2,this.resolveDocument(t,n.data,a,o,this.fragmentMatcher,s).then((function(e){return(0,r.Cl)((0,r.Cl)({},n),{data:e.result})}))]:[2,n]}))}))},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return(0,v.d8)(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return(0,g.er)(e)},e.prototype.prepareContext=function(e){var t=this.cache;return(0,r.Cl)((0,r.Cl)({},e),{cache:t,getCacheKey:function(e){return t.identify(e)}})},e.prototype.addExportedVariables=function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),(0,r.sH)(this,void 0,void 0,(function(){return(0,r.YH)(this,(function(a){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(n),t).then((function(e){return(0,r.Cl)((0,r.Cl)({},t),e.exportedVariables)}))]:[2,(0,r.Cl)({},t)]}))}))},e.prototype.shouldForceResolvers=function(e){var t=!1;return(0,M.YR)(e,{Directive:{enter:function(e){if("client"===e.name.value&&e.arguments&&(t=e.arguments.some((function(e){return"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value}))))return M.sP}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:(0,g.zc)(e),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t,n,a,o,i){return void 0===n&&(n={}),void 0===a&&(a={}),void 0===o&&(o=function(){return!0}),void 0===i&&(i=!1),(0,r.sH)(this,void 0,void 0,(function(){var s,l,u,c,d,p,f,h,g;return(0,r.YH)(this,(function(v){return s=(0,m.Vn)(e),l=(0,m.zK)(e),u=(0,O.JG)(l),c=s.operation,d=c?c.charAt(0).toUpperCase()+c.slice(1):"Query",f=(p=this).cache,h=p.client,g={fragmentMap:u,context:(0,r.Cl)((0,r.Cl)({},n),{cache:f,client:h}),variables:a,fragmentMatcher:o,defaultOperationType:d,exportedVariables:{},onlyRunForcedResolvers:i},[2,this.resolveSelectionSet(s.selectionSet,t,g).then((function(e){return{result:e,exportedVariables:g.exportedVariables}}))]}))}))},e.prototype.resolveSelectionSet=function(e,t,n){return(0,r.sH)(this,void 0,void 0,(function(){var o,i,s,l,u,c=this;return(0,r.YH)(this,(function(d){return o=n.fragmentMap,i=n.context,s=n.variables,l=[t],u=function(e){return(0,r.sH)(c,void 0,void 0,(function(){var u,c;return(0,r.YH)(this,(function(r){return(0,v.MS)(e,s)?(0,y.dt)(e)?[2,this.resolveField(e,t,n).then((function(t){var n;void 0!==t&&l.push(((n={})[(0,y.ue)(e)]=t,n))}))]:((0,y.kd)(e)?u=e:(u=o[e.name.value],__DEV__?(0,a.V1)(u,"No fragment named "+e.name.value):(0,a.V1)(u,12)),u&&u.typeCondition&&(c=u.typeCondition.name.value,n.fragmentMatcher(t,c,i))?[2,this.resolveSelectionSet(u.selectionSet,t,n).then((function(e){l.push(e)}))]:[2]):[2]}))}))},[2,Promise.all(e.selections.map(u)).then((function(){return(0,P.IM)(l)}))]}))}))},e.prototype.resolveField=function(e,t,n){return(0,r.sH)(this,void 0,void 0,(function(){var a,o,i,s,l,u,c,d,p,f=this;return(0,r.YH)(this,(function(r){return a=n.variables,o=e.name.value,i=(0,y.ue)(e),s=o!==i,l=t[i]||t[o],u=Promise.resolve(l),n.onlyRunForcedResolvers&&!this.shouldForceResolvers(e)||(c=t.__typename||n.defaultOperationType,(d=this.resolvers&&this.resolvers[c])&&(p=d[s?o:i])&&(u=Promise.resolve(I.bl.withValue(this.cache,p,[t,(0,y.MB)(e,a),n.context,{field:e,fragmentMap:n.fragmentMap}])))),[2,u.then((function(t){return void 0===t&&(t=l),e.directives&&e.directives.forEach((function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach((function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(n.exportedVariables[e.value.value]=t)}))})),e.selectionSet?null==t?t:Array.isArray(t)?f.resolveSubSelectedArray(e,t,n):e.selectionSet?f.resolveSelectionSet(e.selectionSet,t,n):void 0:t}))]}))}))},e.prototype.resolveSubSelectedArray=function(e,t,n){var r=this;return Promise.all(t.map((function(t){return null===t?null:Array.isArray(t)?r.resolveSubSelectedArray(e,t,n):e.selectionSet?r.resolveSelectionSet(e.selectionSet,t,n):void 0})))},e}(),R=new(d.e?WeakMap:Map);function N(e,t){var n=e[t];"function"==typeof n&&(e[t]=function(){return R.set(e,(R.get(e)+1)%1e15),n.apply(this,arguments)})}function L(e){e.notifyTimeout&&(clearTimeout(e.notifyTimeout),e.notifyTimeout=void 0)}var $=function(){function e(e,t){void 0===t&&(t=e.generateQueryId()),this.queryId=t,this.listeners=new Set,this.document=null,this.lastRequestId=1,this.subscriptions=new Set,this.stopped=!1,this.dirty=!1,this.observableQuery=null;var n=this.cache=e.cache;R.has(n)||(R.set(n,0),N(n,"evict"),N(n,"modify"),N(n,"reset"))}return e.prototype.init=function(e){var t=e.networkStatus||E.p.loading;return this.variables&&this.networkStatus!==E.p.loading&&!(0,u.L)(this.variables,e.variables)&&(t=E.p.setVariables),(0,u.L)(e.variables,this.variables)||(this.lastDiff=void 0),Object.assign(this,{document:e.document,variables:e.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:t}),e.observableQuery&&this.setObservableQuery(e.observableQuery),e.lastRequestId&&(this.lastRequestId=e.lastRequestId),this},e.prototype.reset=function(){L(this),this.lastDiff=void 0,this.dirty=!1},e.prototype.getDiff=function(e){void 0===e&&(e=this.variables);var t=this.getDiffOptions(e);if(this.lastDiff&&(0,u.L)(t,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables=e);var n=this.observableQuery;if(n&&"no-cache"===n.options.fetchPolicy)return{complete:!1};var r=this.cache.diff(t);return this.updateLastDiff(r,t),r},e.prototype.updateLastDiff=function(e,t){this.lastDiff=e?{diff:e,options:t||this.getDiffOptions()}:void 0},e.prototype.getDiffOptions=function(e){void 0===e&&(e=this.variables);var t=this.observableQuery;return{query:this.document,variables:e,returnPartialData:!0,optimistic:!0,canonizeResults:!t||!1!==t.options.canonizeResults}},e.prototype.setDiff=function(e){var t=this,n=this.lastDiff&&this.lastDiff.diff;this.updateLastDiff(e),this.dirty||(0,u.L)(n&&n.result,e&&e.result)||(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout((function(){return t.notify()}),0)))},e.prototype.setObservableQuery=function(e){var t=this;e!==this.observableQuery&&(this.oqListener&&this.listeners.delete(this.oqListener),this.observableQuery=e,e?(e.queryInfo=this,this.listeners.add(this.oqListener=function(){t.getDiff().fromOptimisticTransaction?e.observe():e.reobserve()})):delete this.oqListener)},e.prototype.notify=function(){var e=this;L(this),this.shouldNotify()&&this.listeners.forEach((function(t){return t(e)})),this.dirty=!1},e.prototype.shouldNotify=function(){if(!this.dirty||!this.listeners.size)return!1;if((0,E.b)(this.networkStatus)&&this.observableQuery){var e=this.observableQuery.options.fetchPolicy;if("cache-only"!==e&&"cache-and-network"!==e)return!1}return!0},e.prototype.stop=function(){if(!this.stopped){this.stopped=!0,this.reset(),this.cancel(),this.cancel=e.prototype.cancel,this.subscriptions.forEach((function(e){return e.unsubscribe()}));var t=this.observableQuery;t&&t.stopPolling()}},e.prototype.cancel=function(){},e.prototype.updateWatch=function(e){var t=this;void 0===e&&(e=this.variables);var n=this.observableQuery;if(!n||"no-cache"!==n.options.fetchPolicy){var a=(0,r.Cl)((0,r.Cl)({},this.getDiffOptions(e)),{watcher:this,callback:function(e){return t.setDiff(e)}});this.lastWatch&&(0,u.L)(a,this.lastWatch)||(this.cancel(),this.cancel=this.cache.watch(this.lastWatch=a))}},e.prototype.resetLastWrite=function(){this.lastWrite=void 0},e.prototype.shouldWrite=function(e,t){var n=this.lastWrite;return!(n&&n.dmCount===R.get(this.cache)&&(0,u.L)(t,n.variables)&&(0,u.L)(e.data,n.result.data))},e.prototype.markResult=function(e,t,n){var r=this;this.graphQLErrors=(0,C.E)(e.errors)?e.errors:[],this.reset(),"no-cache"===t.fetchPolicy?this.updateLastDiff({result:e.data,complete:!0},this.getDiffOptions(t.variables)):0!==n&&(j(e,t.errorPolicy)?this.cache.performTransaction((function(a){if(r.shouldWrite(e,t.variables))a.writeQuery({query:r.document,data:e.data,variables:t.variables,overwrite:1===n}),r.lastWrite={result:e,variables:t.variables,dmCount:R.get(r.cache)};else if(r.lastDiff&&r.lastDiff.diff.complete)return void(e.data=r.lastDiff.diff.result);var o=r.getDiffOptions(t.variables),i=a.diff(o);r.stopped||r.updateWatch(t.variables),r.updateLastDiff(i,o),i.complete&&(e.data=i.result)})):this.lastWrite=void 0)},e.prototype.markReady=function(){return this.networkError=null,this.networkStatus=E.p.ready},e.prototype.markError=function(e){return this.networkStatus=E.p.error,this.lastWrite=void 0,this.reset(),e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},e}();function j(e,t){void 0===t&&(t="none");var n="ignore"===t||"all"===t,r=!h(e);return!r&&n&&e.data&&(r=!0),r}var F=Object.prototype.hasOwnProperty,B=function(){function e(e){var t=e.cache,n=e.link,r=e.queryDeduplication,a=void 0!==r&&r,o=e.onBroadcast,i=e.ssrMode,s=void 0!==i&&i,l=e.clientAwareness,u=void 0===l?{}:l,c=e.localState,p=e.assumeImmutableResults;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new(d.e?WeakMap:Map),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new Map,this.cache=t,this.link=n,this.queryDeduplication=a,this.clientAwareness=u,this.localState=c||new D({cache:t}),this.ssrMode=s,this.assumeImmutableResults=!!p,(this.onBroadcast=o)&&(this.mutationStore=Object.create(null))}return e.prototype.stop=function(){var e=this;this.queries.forEach((function(t,n){e.stopQueryNoBroadcast(n)})),this.cancelPendingFetches(__DEV__?new a.zU("QueryManager stopped while query was in flight"):new a.zU(14))},e.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach((function(t){return t(e)})),this.fetchCancelFns.clear()},e.prototype.mutate=function(e){var t=e.mutation,n=e.variables,o=e.optimisticResponse,i=e.updateQueries,s=e.refetchQueries,l=void 0===s?[]:s,u=e.awaitRefetchQueries,c=void 0!==u&&u,d=e.update,p=e.onQueryUpdated,m=e.errorPolicy,g=void 0===m?"none":m,v=e.fetchPolicy,y=e.keepRootFields,b=e.context;return(0,r.sH)(this,void 0,void 0,(function(){var e,s,u;return(0,r.YH)(this,(function(m){switch(m.label){case 0:return __DEV__?(0,a.V1)(t,"mutation option is required. You must specify your GraphQL document in the mutation option."):(0,a.V1)(t,15),__DEV__?(0,a.V1)(!v||"no-cache"===v,"Mutations only support a 'no-cache' fetchPolicy. If you don't want to disable the cache, remove your fetchPolicy setting to proceed with the default mutation behavior."):(0,a.V1)(!v||"no-cache"===v,16),e=this.generateMutationId(),t=this.transform(t).document,n=this.getVariables(t,n),this.transform(t).hasClientExports?[4,this.localState.addExportedVariables(t,n,b)]:[3,2];case 1:n=m.sent(),m.label=2;case 2:return s=this.mutationStore&&(this.mutationStore[e]={mutation:t,variables:n,loading:!0,error:null}),o&&this.markMutationOptimistic(o,{mutationId:e,document:t,variables:n,fetchPolicy:v,errorPolicy:g,context:b,updateQueries:i,update:d,keepRootFields:y}),this.broadcastQueries(),u=this,[2,new Promise((function(a,m){return f(u.getObservableFromLink(t,(0,r.Cl)((0,r.Cl)({},b),{optimisticResponse:o}),n,!1),(function(a){if(h(a)&&"none"===g)throw new T.K({graphQLErrors:a.errors});s&&(s.loading=!1,s.error=null);var f=(0,r.Cl)({},a);return"function"==typeof l&&(l=l(f)),"ignore"===g&&h(f)&&delete f.errors,u.markMutationResult({mutationId:e,result:f,document:t,variables:n,fetchPolicy:v,errorPolicy:g,context:b,update:d,updateQueries:i,awaitRefetchQueries:c,refetchQueries:l,removeOptimistic:o?e:void 0,onQueryUpdated:p,keepRootFields:y})})).subscribe({next:function(e){u.broadcastQueries(),a(e)},error:function(t){s&&(s.loading=!1,s.error=t),o&&u.cache.removeOptimistic(e),u.broadcastQueries(),m(t instanceof T.K?t:new T.K({networkError:t}))}})}))]}}))}))},e.prototype.markMutationResult=function(e,t){var n=this;void 0===t&&(t=this.cache);var a=e.result,o=[],i="no-cache"===e.fetchPolicy;if(!i&&j(a,e.errorPolicy)){o.push({result:a.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables});var s=e.updateQueries;s&&this.queries.forEach((function(e,r){var i=e.observableQuery,l=i&&i.queryName;if(l&&F.call(s,l)){var u=s[l],c=n.queries.get(r),d=c.document,p=c.variables,f=t.diff({query:d,variables:p,returnPartialData:!0,optimistic:!1}),h=f.result;if(f.complete&&h){var g=u(h,{mutationResult:a,queryName:d&&(0,m.n4)(d)||void 0,queryVariables:p});g&&o.push({result:g,dataId:"ROOT_QUERY",query:d,variables:p})}}}))}if(o.length>0||e.refetchQueries||e.update||e.onQueryUpdated||e.removeOptimistic){var l=[];if(this.refetchQueries({updateCache:function(t){i||o.forEach((function(e){return t.write(e)}));var s=e.update;if(s){if(!i){var l=t.diff({id:"ROOT_MUTATION",query:n.transform(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0});l.complete&&(a=(0,r.Cl)((0,r.Cl)({},a),{data:l.result}))}s(t,a,{context:e.context,variables:e.variables})}i||e.keepRootFields||t.modify({id:"ROOT_MUTATION",fields:function(e,t){var n=t.fieldName,r=t.DELETE;return"__typename"===n?e:r}})},include:e.refetchQueries,optimistic:!1,removeOptimistic:e.removeOptimistic,onQueryUpdated:e.onQueryUpdated||null}).forEach((function(e){return l.push(e)})),e.awaitRefetchQueries||e.onQueryUpdated)return Promise.all(l).then((function(){return a}))}return Promise.resolve(a)},e.prototype.markMutationOptimistic=function(e,t){var n=this,o="function"==typeof e?e(t.variables):e;return this.cache.recordOptimisticTransaction((function(e){try{n.markMutationResult((0,r.Cl)((0,r.Cl)({},t),{result:{data:o}}),e)}catch(e){__DEV__&&a.V1.error(e)}}),t.mutationId)},e.prototype.fetchQuery=function(e,t,n){return this.fetchQueryObservable(e,t,n).promise},e.prototype.getQueryStore=function(){var e=Object.create(null);return this.queries.forEach((function(t,n){e[n]={variables:t.variables,networkStatus:t.networkStatus,networkError:t.networkError,graphQLErrors:t.graphQLErrors}})),e},e.prototype.resetErrors=function(e){var t=this.queries.get(e);t&&(t.networkError=void 0,t.graphQLErrors=[])},e.prototype.transform=function(e){var t=this.transformCache;if(!t.has(e)){var n=this.cache.transformDocument(e),a=(0,g.hX)(this.cache.transformForLink(n)),o=this.localState.clientQuery(n),i=a&&this.localState.serverQuery(a),s={document:n,hasClientExports:(0,v.f2)(n),hasForcedResolvers:this.localState.shouldForceResolvers(n),clientQuery:o,serverQuery:i,defaultVars:(0,m.wY)((0,m.Vu)(n)),asQuery:(0,r.Cl)((0,r.Cl)({},n),{definitions:n.definitions.map((function(e){return"OperationDefinition"===e.kind&&"query"!==e.operation?(0,r.Cl)((0,r.Cl)({},e),{operation:"query"}):e}))})},l=function(e){e&&!t.has(e)&&t.set(e,s)};l(e),l(n),l(o),l(i)}return t.get(e)},e.prototype.getVariables=function(e,t){return(0,r.Cl)((0,r.Cl)({},this.transform(e).defaultVars),t)},e.prototype.watchQuery=function(e){void 0===(e=(0,r.Cl)((0,r.Cl)({},e),{variables:this.getVariables(e.query,e.variables)})).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var t=new $(this),n=new k.U({queryManager:this,queryInfo:t,options:e});return this.queries.set(n.queryId,t),t.init({document:e.query,observableQuery:n,variables:e.variables}),n},e.prototype.query=function(e,t){var n=this;return void 0===t&&(t=this.generateQueryId()),__DEV__?(0,a.V1)(e.query,"query option is required. You must specify your GraphQL document in the query option."):(0,a.V1)(e.query,17),__DEV__?(0,a.V1)("Document"===e.query.kind,'You must wrap the query string in a "gql" tag.'):(0,a.V1)("Document"===e.query.kind,18),__DEV__?(0,a.V1)(!e.returnPartialData,"returnPartialData option only supported on watchQuery."):(0,a.V1)(!e.returnPartialData,19),__DEV__?(0,a.V1)(!e.pollInterval,"pollInterval option only supported on watchQuery."):(0,a.V1)(!e.pollInterval,20),this.fetchQuery(t,e).finally((function(){return n.stopQuery(t)}))},e.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},e.prototype.generateRequestId=function(){return this.requestIdCounter++},e.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},e.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(e){var t=this.queries.get(e);t&&t.stop()},e.prototype.clearStore=function(){return this.cancelPendingFetches(__DEV__?new a.zU("Store reset while query was in flight (not completed in link chain)"):new a.zU(21)),this.queries.forEach((function(e){e.observableQuery?e.networkStatus=E.p.loading:e.stop()})),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset()},e.prototype.resetStore=function(){var e=this;return this.clearStore().then((function(){return e.reFetchObservableQueries()}))},e.prototype.getObservableQueries=function(e){var t=this;void 0===e&&(e="active");var n=new Map,o=new Map,i=new Set;return Array.isArray(e)&&e.forEach((function(e){"string"==typeof e?o.set(e,!1):(0,y.Kc)(e)?o.set(t.transform(e).document,!1):(0,b.U)(e)&&e.query&&i.add(e)})),this.queries.forEach((function(t,r){var a=t.observableQuery,i=t.document;if(a){if("all"===e)return void n.set(r,a);var s=a.queryName;if("standby"===a.options.fetchPolicy||!a.hasObservers())return;("active"===e||s&&o.has(s)||i&&o.has(i))&&(n.set(r,a),s&&o.set(s,!0),i&&o.set(i,!0))}})),i.size&&i.forEach((function(e){var o=(0,w.v)("legacyOneTimeQuery"),i=t.getQuery(o).init({document:e.query,variables:e.variables}),s=new k.U({queryManager:t,queryInfo:i,options:(0,r.Cl)((0,r.Cl)({},e),{fetchPolicy:"network-only"})});(0,a.V1)(s.queryId===o),i.setObservableQuery(s),n.set(o,s)})),__DEV__&&o.size&&o.forEach((function(e,t){e||__DEV__&&a.V1.warn("Unknown query "+("string"==typeof t?"named ":"")+JSON.stringify(t,null,2)+" requested in refetchQueries options.include array")})),n},e.prototype.reFetchObservableQueries=function(e){var t=this;void 0===e&&(e=!1);var n=[];return this.getObservableQueries(e?"all":"active").forEach((function(r,a){var o=r.options.fetchPolicy;r.resetLastResults(),(e||"standby"!==o&&"cache-only"!==o)&&n.push(r.refetch()),t.getQuery(a).setDiff(null)})),this.broadcastQueries(),Promise.all(n)},e.prototype.setObservableQuery=function(e){this.getQuery(e.queryId).setObservableQuery(e)},e.prototype.startGraphQLSubscription=function(e){var t=this,n=e.query,r=e.fetchPolicy,a=e.errorPolicy,o=e.variables,i=e.context,s=void 0===i?{}:i;n=this.transform(n).document,o=this.getVariables(n,o);var l=function(e){return t.getObservableFromLink(n,s,e).map((function(o){if("no-cache"!==r&&(j(o,a)&&t.cache.write({query:n,result:o.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),t.broadcastQueries()),h(o))throw new T.K({graphQLErrors:o.errors});return o}))};if(this.transform(n).hasClientExports){var u=this.localState.addExportedVariables(n,o,s).then(l);return new p.c((function(e){var t=null;return u.then((function(n){return t=n.subscribe(e)}),e.error),function(){return t&&t.unsubscribe()}}))}return l(o)},e.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},e.prototype.removeQuery=function(e){this.fetchCancelFns.delete(e),this.getQuery(e).stop(),this.queries.delete(e)},e.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach((function(e){return e.notify()}))},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableFromLink=function(e,t,n,a){var o,s,l=this;void 0===a&&(a=null!==(o=null==t?void 0:t.queryDeduplication)&&void 0!==o?o:this.queryDeduplication);var u=this.transform(e).serverQuery;if(u){var d=this.inFlightLinkObservables,h=this.link,g={query:u,variables:n,operationName:(0,m.n4)(u)||void 0,context:this.prepareContext((0,r.Cl)((0,r.Cl)({},t),{forceFetch:!a}))};if(t=g.context,a){var v=d.get(u)||new Map;d.set(u,v);var y=(0,c.M)(n);if(!(s=v.get(y))){var b=new A([(0,i.g)(h,g)]);v.set(y,s=b),b.cleanup((function(){v.delete(y)&&v.size<1&&d.delete(u)}))}}else s=new A([(0,i.g)(h,g)])}else s=new A([p.c.of({data:{}})]),t=this.prepareContext(t);var w=this.transform(e).clientQuery;return w&&(s=f(s,(function(e){return l.localState.runResolvers({document:w,remoteResult:e,context:t,variables:n})}))),s},e.prototype.getResultsFromLink=function(e,t,n){var r=e.lastRequestId=this.generateRequestId();return f(this.getObservableFromLink(e.document,n.context,n.variables),(function(a){var o=(0,C.E)(a.errors);if(r>=e.lastRequestId){if(o&&"none"===n.errorPolicy)throw e.markError(new T.K({graphQLErrors:a.errors}));e.markResult(a,n,t),e.markReady()}var i={data:a.data,loading:!1,networkStatus:e.networkStatus||E.p.ready};return o&&"ignore"!==n.errorPolicy&&(i.errors=a.errors),i}),(function(t){var n=(0,T.M)(t)?t:new T.K({networkError:t});throw r>=e.lastRequestId&&e.markError(n),n}))},e.prototype.fetchQueryObservable=function(e,t,n){var r=this;void 0===n&&(n=E.p.loading);var a=this.transform(t.query).document,o=this.getVariables(a,t.variables),i=this.getQuery(e),s=t.fetchPolicy,l=void 0===s?"cache-first":s,u=t.errorPolicy,c=void 0===u?"none":u,d=t.returnPartialData,p=void 0!==d&&d,f=t.notifyOnNetworkStatusChange,h=void 0!==f&&f,m=t.context,g=void 0===m?{}:m,v=Object.assign({},t,{query:a,variables:o,fetchPolicy:l,errorPolicy:c,returnPartialData:p,notifyOnNetworkStatusChange:h,context:g}),y=function(e){return v.variables=e,r.fetchQueryByPolicy(i,v,n)};this.fetchCancelFns.set(e,(function(e){Promise.resolve().then((function(){return b.cancel(e)}))}));var b=new A(this.transform(v.query).hasClientExports?this.localState.addExportedVariables(v.query,v.variables,v.context).then(y):y(v.variables));return b.cleanup((function(){r.fetchCancelFns.delete(e),(0,k.a)(t)})),b},e.prototype.refetchQueries=function(e){var t=this,n=e.updateCache,r=e.include,a=e.optimistic,o=void 0!==a&&a,i=e.removeOptimistic,s=void 0===i?o?(0,w.v)("refetchQueries"):void 0:i,l=e.onQueryUpdated,u=new Map;r&&this.getObservableQueries(r).forEach((function(e,n){u.set(n,{oq:e,lastDiff:t.getQuery(n).getDiff()})}));var c=new Map;return n&&this.cache.batch({update:n,optimistic:o&&s||!1,removeOptimistic:s,onWatchUpdated:function(e,t,n){var r=e.watcher instanceof $&&e.watcher.observableQuery;if(r){if(l){u.delete(r.queryId);var a=l(r,t,n);return!0===a&&(a=r.refetch()),!1!==a&&c.set(r,a),!1}null!==l&&u.set(r.queryId,{oq:r,lastDiff:n,diff:t})}}}),u.size&&u.forEach((function(e,n){var r,a=e.oq,o=e.lastDiff,i=e.diff;if(l){if(!i){var s=a.queryInfo;s.reset(),i=s.getDiff()}r=l(a,i,o)}l&&!0!==r||(r=a.refetch()),!1!==r&&c.set(a,r),n.indexOf("legacyOneTimeQuery")>=0&&t.stopQueryNoBroadcast(n)})),s&&this.cache.removeOptimistic(s),c},e.prototype.fetchQueryByPolicy=function(e,t,n){var o=this,i=t.query,s=t.variables,l=t.fetchPolicy,c=t.refetchWritePolicy,d=t.errorPolicy,f=t.returnPartialData,h=t.context,m=t.notifyOnNetworkStatusChange,g=e.networkStatus;e.init({document:i,variables:s,networkStatus:n});var v=function(){return e.getDiff(s)},y=function(t,n){void 0===n&&(n=e.networkStatus||E.p.loading);var l=t.result;__DEV__&&(0,C.E)(t.missing)&&!(0,u.L)(l,{})&&!f&&__DEV__&&a.V1.debug("Missing cache result fields: "+t.missing.map((function(e){return e.path.join(".")})).join(", "),t.missing);var c=function(e){return p.c.of((0,r.Cl)({data:e,loading:(0,E.b)(n),networkStatus:n},t.complete?null:{partial:!0}))};return l&&o.transform(i).hasForcedResolvers?o.localState.runResolvers({document:i,remoteResult:{data:l},context:h,variables:s,onlyRunForcedResolvers:!0}).then((function(e){return c(e.data||void 0)})):c(l)},b="no-cache"===l?0:n===E.p.refetch&&"merge"!==c?1:2,w=function(){return o.getResultsFromLink(e,b,{variables:s,context:h,fetchPolicy:l,errorPolicy:d})},x=m&&"number"==typeof g&&g!==n&&(0,E.b)(n);switch(l){default:case"cache-first":return(S=v()).complete?[y(S,e.markReady())]:f||x?[y(S),w()]:[w()];case"cache-and-network":var S;return(S=v()).complete||f||x?[y(S),w()]:[w()];case"cache-only":return[y(v(),e.markReady())];case"network-only":return x?[y(v()),w()]:[w()];case"no-cache":return x?[y(e.getDiff()),w()]:[w()];case"standby":return[]}},e.prototype.getQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new $(this,e)),this.queries.get(e)},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return(0,r.Cl)((0,r.Cl)({},t),{clientAwareness:this.clientAwareness})},e}(),z=!1;function W(e,t){return(0,s.o)(e,t,t.variables&&{variables:(0,r.Cl)((0,r.Cl)({},e.variables),t.variables)})}var V=function(){function e(e){var t=this;this.defaultOptions={},this.resetStoreCallbacks=[],this.clearStoreCallbacks=[];var n=e.uri,r=e.credentials,i=e.headers,s=e.cache,u=e.ssrMode,c=void 0!==u&&u,d=e.ssrForceFetchDelay,p=void 0===d?0:d,f=e.connectToDevTools,h=void 0===f?"object"==typeof window&&!window.__APOLLO_CLIENT__&&__DEV__:f,m=e.queryDeduplication,g=void 0===m||m,v=e.defaultOptions,y=e.assumeImmutableResults,b=void 0!==y&&y,w=e.resolvers,x=e.typeDefs,S=e.fragmentMatcher,_=e.name,A=e.version,C=e.link;if(C||(C=n?new l.P({uri:n,credentials:r,headers:i}):o.C.empty()),!s)throw __DEV__?new a.zU("To initialize Apollo Client, you must specify a 'cache' property in the options object. \nFor more information, please visit: https://go.apollo.dev/c/docs"):new a.zU(10);if(this.link=C,this.cache=s,this.disableNetworkFetches=c||p>0,this.queryDeduplication=g,this.defaultOptions=v||{},this.typeDefs=x,p&&setTimeout((function(){return t.disableNetworkFetches=!1}),p),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),h&&"object"==typeof window&&(window.__APOLLO_CLIENT__=this),!z&&__DEV__&&(z=!0,"undefined"!=typeof window&&window.document&&window.top===window.self&&!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__)){var T=window.navigator,k=T&&T.userAgent,E=void 0;"string"==typeof k&&(k.indexOf("Chrome/")>-1?E="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":k.indexOf("Firefox/")>-1&&(E="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),E&&__DEV__&&a.V1.log("Download the Apollo DevTools for a better development experience: "+E)}this.version="3.4.5",this.localState=new D({cache:s,client:this,resolvers:w,fragmentMatcher:S}),this.queryManager=new B({cache:this.cache,link:this.link,queryDeduplication:g,ssrMode:c,clientAwareness:{name:_,version:A},localState:this.localState,assumeImmutableResults:b,onBroadcast:h?function(){t.devToolsHookCb&&t.devToolsHookCb({action:{},state:{queries:t.queryManager.getQueryStore(),mutations:t.queryManager.mutationStore||{}},dataWithOptimisticResults:t.cache.extract(!0)})}:void 0})}return e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=W(this.defaultOptions.watchQuery,e)),!this.disableNetworkFetches||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e=(0,r.Cl)((0,r.Cl)({},e),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=W(this.defaultOptions.query,e)),__DEV__?(0,a.V1)("cache-and-network"!==e.fetchPolicy,"The cache-and-network fetchPolicy does not work with client.query, because client.query can only return a single result. Please use client.watchQuery to receive multiple results from the cache and the network, or consider using a different fetchPolicy, such as cache-first or network-only."):(0,a.V1)("cache-and-network"!==e.fetchPolicy,11),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=(0,r.Cl)((0,r.Cl)({},e),{fetchPolicy:"cache-first"})),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=W(this.defaultOptions.mutate,e)),this.queryManager.mutate(e)},e.prototype.subscribe=function(e){return this.queryManager.startGraphQLSubscription(e)},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.cache.readQuery(e,t)},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.cache.readFragment(e,t)},e.prototype.writeQuery=function(e){this.cache.writeQuery(e),this.queryManager.broadcastQueries()},e.prototype.writeFragment=function(e){this.cache.writeFragment(e),this.queryManager.broadcastQueries()},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return(0,i.g)(this.link,e)},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager.clearStore()})).then((function(){return Promise.all(e.resetStoreCallbacks.map((function(e){return e()})))})).then((function(){return e.reFetchObservableQueries()}))},e.prototype.clearStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager.clearStore()})).then((function(){return Promise.all(e.clearStoreCallbacks.map((function(e){return e()})))}))},e.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter((function(t){return t!==e}))}},e.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter((function(t){return t!==e}))}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager.reFetchObservableQueries(e)},e.prototype.refetchQueries=function(e){var t=this.queryManager.refetchQueries(e),n=[],r=[];t.forEach((function(e,t){n.push(t),r.push(e)}));var o=Promise.all(r);return o.queries=n,o.results=r,o.catch((function(e){__DEV__&&a.V1.debug("In client.refetchQueries, Promise.all promise rejected with error "+e)})),o},e.prototype.getObservableQueries=function(e){return void 0===e&&(e="active"),this.queryManager.getObservableQueries(e)},e.prototype.extract=function(e){return this.cache.extract(e)},e.prototype.restore=function(e){return this.cache.restore(e)},e.prototype.addResolvers=function(e){this.localState.addResolvers(e)},e.prototype.setResolvers=function(e){this.localState.setResolvers(e)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},e.prototype.setLink=function(e){this.link=this.queryManager.link=e},e}()},50151:(e,t,n)=>{"use strict";n.d(t,{U:()=>g,a:()=>y});var r=n(94626),a=n(28575),o=n(54442),i=n(49248),s=n(3483),l=n(50591),u=n(65160),c=n(1185),d=n(72730),p=n(96972),f=n(52514),h=n(57684),m=!1,g=function(e){function t(t){var n=t.queryManager,a=t.queryInfo,o=t.options,u=e.call(this,(function(e){try{var t=e._subscription._observer;t&&!t.error&&(t.error=v)}catch(e){}var n=!u.observers.size;return u.observers.add(e),u.lastError?e.error&&e.error(u.lastError):u.lastResult&&e.next&&e.next(u.lastResult),n&&u.reobserve().catch((function(){})),function(){u.observers.delete(e)&&!u.observers.size&&u.tearDownQuery()}}))||this;u.observers=new Set,u.subscriptions=new Set,u.observer={next:function(e){(u.lastError||u.isDifferentFromLastResult(e))&&(u.updateLastResult(e),(0,s.w)(u.observers,"next",e))},error:function(e){u.updateLastResult((0,r.Cl)((0,r.Cl)({},u.lastResult),{error:e,errors:e.graphQLErrors,networkStatus:i.p.error,loading:!1})),(0,s.w)(u.observers,"error",u.lastError=e)}},u.isTornDown=!1,u.options=o,u.queryId=a.queryId||n.generateQueryId();var c=(0,l.Vu)(o.query);return u.queryName=c&&c.name&&c.name.value,u.initialFetchPolicy=o.fetchPolicy||"cache-first",u.queryManager=n,u.queryInfo=a,u}return(0,r.C6)(t,e),Object.defineProperty(t.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),t.prototype.result=function(){var e=this;return new Promise((function(t,n){var r={next:function(n){t(n),e.observers.delete(r),e.observers.size||e.queryManager.removeQuery(e.queryId),setTimeout((function(){a.unsubscribe()}),0)},error:n},a=e.subscribe(r)}))},t.prototype.getCurrentResult=function(e){void 0===e&&(e=!0);var t=this.lastResult,n=this.options.fetchPolicy,a=void 0===n?"cache-first":n,o=this.queryInfo.networkStatus||t&&t.networkStatus||i.p.ready,s=(0,r.Cl)((0,r.Cl)({},t),{loading:(0,i.b)(o),networkStatus:o});if(!this.queryManager.transform(this.options.query).hasForcedResolvers){var l=this.queryInfo.getDiff();s.data=l.complete||this.options.returnPartialData?l.result:void 0,l.complete?(s.networkStatus!==i.p.loading||"cache-first"!==a&&"cache-only"!==a||(s.networkStatus=i.p.ready,s.loading=!1),delete s.partial):"no-cache"!==a&&(s.partial=!0),l.complete||this.options.partialRefetch||s.loading||s.data||s.error||(s.error=new h.K({clientErrors:l.missing}))}return e&&this.updateLastResult(s),s},t.prototype.isDifferentFromLastResult=function(e){return!(0,o.L)(this.lastResultSnapshot,e)},t.prototype.getLastResult=function(){return this.lastResult},t.prototype.getLastError=function(){return this.lastError},t.prototype.resetLastResults=function(){delete this.lastResult,delete this.lastResultSnapshot,delete this.lastError,this.isTornDown=!1},t.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},t.prototype.refetch=function(e){var t={pollInterval:0},n=this.options.fetchPolicy;return"no-cache"===n?t.fetchPolicy="no-cache":"cache-and-network"!==n&&(t.fetchPolicy="network-only"),e&&!(0,o.L)(this.options.variables,e)&&(t.variables=this.options.variables=(0,r.Cl)((0,r.Cl)({},this.options.variables),e)),this.queryInfo.resetLastWrite(),this.reobserve(t,i.p.refetch)},t.prototype.fetchMore=function(e){var t=this,n=(0,r.Cl)((0,r.Cl)({},e.query?e:(0,r.Cl)((0,r.Cl)((0,r.Cl)({},this.options),e),{variables:(0,r.Cl)((0,r.Cl)({},this.options.variables),e.variables)})),{fetchPolicy:"no-cache"}),o=this.queryManager.generateQueryId();return n.notifyOnNetworkStatusChange&&(this.queryInfo.networkStatus=i.p.fetchMore,this.observe()),this.queryManager.fetchQuery(o,n,i.p.fetchMore).then((function(r){var o=r.data,i=e.updateQuery;return i?(__DEV__&&!m&&(__DEV__&&a.V1.warn("The updateQuery callback for fetchMore is deprecated, and will be removed\nin the next major version of Apollo Client.\n\nPlease convert updateQuery functions to field policies with appropriate\nread and merge functions, or use/adapt a helper function (such as\nconcatPagination, offsetLimitPagination, or relayStylePagination) from\n@apollo/client/utilities.\n\nThe field policy system handles pagination more effectively than a\nhand-written updateQuery function, and you only need to define the policy\nonce, rather than every time you call fetchMore."),m=!0),t.updateQuery((function(e){return i(e,{fetchMoreResult:o,variables:n.variables})}))):t.queryManager.cache.writeQuery({query:n.query,variables:n.variables,data:o}),r})).finally((function(){t.queryManager.stopQuery(o),t.reobserve()}))},t.prototype.subscribeToMore=function(e){var t=this,n=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables,context:e.context}).subscribe({next:function(n){var r=e.updateQuery;r&&t.updateQuery((function(e,t){var a=t.variables;return r(e,{subscriptionData:n,variables:a})}))},error:function(t){e.onError?e.onError(t):__DEV__&&a.V1.error("Unhandled GraphQL subscription error",t)}});return this.subscriptions.add(n),function(){t.subscriptions.delete(n)&&n.unsubscribe()}},t.prototype.setOptions=function(e){return this.reobserve(e)},t.prototype.setVariables=function(e){return(0,o.L)(this.variables,e)?this.observers.size?this.result():Promise.resolve():(this.options.variables=e,this.observers.size?this.reobserve({fetchPolicy:this.initialFetchPolicy,variables:e},i.p.setVariables):Promise.resolve())},t.prototype.updateQuery=function(e){var t,n=this.queryManager,r=e(n.cache.diff({query:this.options.query,variables:this.variables,previousResult:null===(t=this.lastResult)||void 0===t?void 0:t.data,returnPartialData:!0,optimistic:!1}).result,{variables:this.variables});r&&(n.cache.writeQuery({query:this.options.query,data:r,variables:this.variables}),n.broadcastQueries())},t.prototype.startPolling=function(e){this.options.pollInterval=e,this.updatePolling()},t.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},t.prototype.fetch=function(e,t){return this.queryManager.setObservableQuery(this),this.queryManager.fetchQueryObservable(this.queryId,e,t)},t.prototype.updatePolling=function(){var e=this;if(!this.queryManager.ssrMode){var t=this.pollingInfo,n=this.options.pollInterval;if(n){if(!t||t.interval!==n){__DEV__?(0,a.V1)(n,"Attempted to start a polling query without a polling interval."):(0,a.V1)(n,13),(t||(this.pollingInfo={})).interval=n;var r=function(){e.pollingInfo&&((0,i.b)(e.queryInfo.networkStatus)?o():e.reobserve({fetchPolicy:"network-only"},i.p.poll).then(o,o))},o=function(){var t=e.pollingInfo;t&&(clearTimeout(t.timeout),t.timeout=setTimeout(r,t.interval))};o()}}else t&&(clearTimeout(t.timeout),delete this.pollingInfo)}},t.prototype.updateLastResult=function(e){var t=this.lastResult;return this.lastResult=e,this.lastResultSnapshot=this.queryManager.assumeImmutableResults?e:(0,u.m)(e),(0,c.E)(e.errors)||delete this.lastError,t},t.prototype.reobserve=function(e,t){this.isTornDown=!1;var n=t===i.p.refetch||t===i.p.fetchMore||t===i.p.poll,r=this.options.variables,a=n?(0,d.o)(this.options,e):Object.assign(this.options,(0,d.o)(e));n||(this.updatePolling(),e&&e.variables&&!e.fetchPolicy&&!(0,o.L)(e.variables,r)&&(a.fetchPolicy=this.initialFetchPolicy,void 0===t&&(t=i.p.setVariables)));var s=this.fetch(a,t);return n||(this.concast&&this.concast.removeObserver(this.observer,!0),this.concast=s),s.addObserver(this.observer),s.promise},t.prototype.observe=function(){this.observer.next(this.getCurrentResult(!1))},t.prototype.hasObservers=function(){return this.observers.size>0},t.prototype.tearDownQuery=function(){this.isTornDown||(this.concast&&(this.concast.removeObserver(this.observer),delete this.concast),this.stopPolling(),this.subscriptions.forEach((function(e){return e.unsubscribe()})),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},t}(p.c);function v(e){__DEV__&&a.V1.error("Unhandled error",e.message,e.stack)}function y(e){var t=e.fetchPolicy,n=void 0===t?"cache-first":t,r=e.nextFetchPolicy;r&&(e.fetchPolicy="function"==typeof r?r.call(e,n):r)}(0,f.r)(g)},39660:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ApolloCache:()=>u.k,ApolloClient:()=>a.R,ApolloError:()=>s.K,ApolloLink:()=>m.C,Cache:()=>l.l,HttpLink:()=>x.HttpLink,InMemoryCache:()=>c.D,MissingFieldError:()=>d.Z,NetworkStatus:()=>i.p,Observable:()=>_.c,ObservableQuery:()=>o.U,applyNextFetchPolicy:()=>o.a,checkFetcher:()=>x.checkFetcher,concat:()=>b,createHttpLink:()=>x.createHttpLink,createSignalIfSupported:()=>x.createSignalIfSupported,defaultDataIdFromObject:()=>p.o,disableExperimentalFragmentVariables:()=>E.qj,disableFragmentWarnings:()=>E.gi,empty:()=>g,enableExperimentalFragmentVariables:()=>E.VC,execute:()=>w.g,fallbackHttpConfig:()=>x.fallbackHttpConfig,from:()=>v.H,fromError:()=>C.N,fromPromise:()=>A,gql:()=>E.J1,isApolloError:()=>s.M,isReference:()=>k.A_,makeReference:()=>k.WU,makeVar:()=>f.UT,mergeOptions:()=>a.l,parseAndCheckHttpResponse:()=>x.parseAndCheckHttpResponse,resetCaches:()=>E.Nh,rewriteURIForGET:()=>x.rewriteURIForGET,selectHttpOptionsAndBody:()=>x.selectHttpOptionsAndBody,selectURI:()=>x.selectURI,serializeFetchParameter:()=>x.serializeFetchParameter,setLogVerbosity:()=>h.Q9,split:()=>y,throwServerError:()=>T.A,toPromise:()=>S});var r=n(97555),a=n(27839),o=n(50151),i=n(49248),s=n(57684),l=n(90691),u=n(105),c=n(6871),d=n(87284),p=n(93112),f=n(46959),h=n(28575),m=n(15774),g=m.C.empty,v=n(42235),y=m.C.split,b=m.C.concat,w=n(38824);__DEV__?(0,h.V1)("boolean"==typeof r.I,r.I):(0,h.V1)("boolean"==typeof r.I,24);var x=n(68820);function S(e){var t=!1;return new Promise((function(n,r){e.subscribe({next:function(e){t?__DEV__&&h.V1.warn("Promise Wrapper does not support multiple results from Observable"):(t=!0,n(e))},error:r})}))}var _=n(96972);function A(e){return new _.c((function(t){e.then((function(e){t.next(e),t.complete()})).catch(t.error.bind(t))}))}var C=n(92535),T=n(8146),k=n(67765),E=n(47907);(0,h.Q9)(r.I?"log":"silent")},49248:(e,t,n)=>{"use strict";var r;function a(e){return!!e&&e<7}n.d(t,{b:()=>a,p:()=>r}),function(e){e[e.loading=1]="loading",e[e.setVariables=2]="setVariables",e[e.fetchMore=3]="fetchMore",e[e.refetch=4]="refetch",e[e.poll=6]="poll",e[e.ready=7]="ready",e[e.error=8]="error"}(r||(r={}))},57684:(e,t,n)=>{"use strict";n.d(t,{K:()=>l,M:()=>s});var r=n(94626),a=n(28575),o=n(97555),i=n(1185);function s(e){return e.hasOwnProperty("graphQLErrors")}__DEV__?(0,a.V1)("boolean"==typeof o.I,o.I):(0,a.V1)("boolean"==typeof o.I,22);var l=function(e){function t(n){var r,a,o=n.graphQLErrors,s=n.clientErrors,l=n.networkError,u=n.errorMessage,c=n.extraInfo,d=e.call(this,u)||this;return d.graphQLErrors=o||[],d.clientErrors=s||[],d.networkError=l||null,d.message=u||(r=d,a="",((0,i.E)(r.graphQLErrors)||(0,i.E)(r.clientErrors))&&(r.graphQLErrors||[]).concat(r.clientErrors||[]).forEach((function(e){var t=e?e.message:"Error message not found.";a+=t+"\n"})),r.networkError&&(a+=r.networkError.message+"\n"),a=a.replace(/\n$/,"")),d.extraInfo=c,d.__proto__=t.prototype,d}return(0,r.C6)(t,e),t}(Error)},58151:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ApolloCache:()=>r.ApolloCache,ApolloClient:()=>r.ApolloClient,ApolloConsumer:()=>u,ApolloError:()=>r.ApolloError,ApolloLink:()=>r.ApolloLink,ApolloProvider:()=>i.X,Cache:()=>r.Cache,DocumentType:()=>m.KG,HttpLink:()=>r.HttpLink,InMemoryCache:()=>r.InMemoryCache,MissingFieldError:()=>r.MissingFieldError,NetworkStatus:()=>r.NetworkStatus,Observable:()=>r.Observable,ObservableQuery:()=>r.ObservableQuery,applyNextFetchPolicy:()=>r.applyNextFetchPolicy,checkFetcher:()=>r.checkFetcher,concat:()=>r.concat,createHttpLink:()=>r.createHttpLink,createSignalIfSupported:()=>r.createSignalIfSupported,defaultDataIdFromObject:()=>r.defaultDataIdFromObject,disableExperimentalFragmentVariables:()=>r.disableExperimentalFragmentVariables,disableFragmentWarnings:()=>r.disableFragmentWarnings,empty:()=>r.empty,enableExperimentalFragmentVariables:()=>r.enableExperimentalFragmentVariables,execute:()=>r.execute,fallbackHttpConfig:()=>r.fallbackHttpConfig,from:()=>r.from,fromError:()=>r.fromError,fromPromise:()=>r.fromPromise,getApolloContext:()=>l.l,gql:()=>r.gql,isApolloError:()=>r.isApolloError,isReference:()=>r.isReference,makeReference:()=>r.makeReference,makeVar:()=>r.makeVar,mergeOptions:()=>r.mergeOptions,operationName:()=>m.Xn,parseAndCheckHttpResponse:()=>r.parseAndCheckHttpResponse,parser:()=>m.K3,resetApolloContext:()=>l.E,resetCaches:()=>r.resetCaches,rewriteURIForGET:()=>r.rewriteURIForGET,selectHttpOptionsAndBody:()=>r.selectHttpOptionsAndBody,selectURI:()=>r.selectURI,serializeFetchParameter:()=>r.serializeFetchParameter,setLogVerbosity:()=>r.setLogVerbosity,split:()=>r.split,throwServerError:()=>r.throwServerError,toPromise:()=>r.toPromise,useApolloClient:()=>c,useLazyQuery:()=>p,useMutation:()=>w,useQuery:()=>x.I,useReactiveVar:()=>C,useSubscription:()=>A});var r=n(39660),a=n(28575),o=n(97555),i=n(94366),s=n(96540),l=n(36024),u=function(e){var t=(0,l.l)();return s.createElement(t.Consumer,null,(function(t){return __DEV__?(0,a.V1)(t&&t.client,'Could not find "client" in the context of ApolloConsumer. Wrap the root component in an .'):(0,a.V1)(t&&t.client,30),e.children(t.client)}))};function c(){var e=s.useContext((0,l.l)()).client;return __DEV__?(0,a.V1)(e,"No Apollo Client instance can be found. Please ensure that you have called `ApolloProvider` higher up in your tree."):(0,a.V1)(e,36),e}var d=n(89944);function p(e,t){return(0,d.t)(e,t,!0)}var f=n(94626),h=n(54442),m=n(88192),g=n(57684),v=n(76090),y=n(27839),b=function(e){function t(t){var n=t.options,r=t.context,a=t.result,o=t.setResult,i=e.call(this,n,r)||this;return i.runMutation=function(e){void 0===e&&(e={}),i.onMutationStart();var t=i.generateNewMutationId();return i.mutate(e).then((function(e){return i.onMutationCompleted(e,t),e})).catch((function(e){var n=i.getOptions().onError;if(i.onMutationError(e,t),n)return n(e),{data:void 0,errors:e};throw e}))},i.verifyDocumentType(n.mutation,m.KG.Mutation),i.result=a,i.setResult=o,i.mostRecentMutationId=0,i}return(0,f.C6)(t,e),t.prototype.execute=function(e){return this.isMounted=!0,this.verifyDocumentType(this.getOptions().mutation,m.KG.Mutation),[this.runMutation,(0,f.Cl)((0,f.Cl)({},e),{client:this.refreshClient().client})]},t.prototype.afterExecute=function(){return this.isMounted=!0,this.unmount.bind(this)},t.prototype.cleanup=function(){},t.prototype.mutate=function(e){return this.refreshClient().client.mutate((0,y.l)(this.getOptions(),e))},t.prototype.onMutationStart=function(){this.result.loading||this.getOptions().ignoreResults||this.updateResult({loading:!0,error:void 0,data:void 0,called:!0})},t.prototype.onMutationCompleted=function(e,t){var n=this.getOptions(),r=n.onCompleted,a=n.ignoreResults,o=e.data,i=e.errors,s=i&&i.length>0?new g.K({graphQLErrors:i}):void 0;this.isMostRecentMutation(t)&&!a&&this.updateResult({called:!0,loading:!1,data:o,error:s}),r&&r(o)},t.prototype.onMutationError=function(e,t){this.isMostRecentMutation(t)&&this.updateResult({loading:!1,error:e,data:void 0,called:!0})},t.prototype.generateNewMutationId=function(){return++this.mostRecentMutationId},t.prototype.isMostRecentMutation=function(e){return this.mostRecentMutationId===e},t.prototype.updateResult=function(e){if(this.isMounted&&(!this.previousResult||!(0,h.L)(this.previousResult,e)))return this.setResult(e),this.previousResult=e,e},t}(v._);function w(e,t){var n=(0,s.useContext)((0,l.l)()),r=(0,s.useState)({called:!1,loading:!1}),a=r[0],o=r[1],i=t?(0,f.Cl)((0,f.Cl)({},t),{mutation:e}):{mutation:e},u=(0,s.useRef)(),c=(u.current||(u.current=new b({options:i,context:n,result:a,setResult:o})),u.current);return c.setOptions(i),c.context=n,(0,s.useEffect)((function(){return c.afterExecute()})),c.execute(a)}var x=n(40216),S=function(e){function t(t){var n=t.options,r=t.context,a=t.setResult,o=e.call(this,n,r)||this;return o.currentObservable={},o.setResult=a,o.initialize(n),o}return(0,f.C6)(t,e),t.prototype.execute=function(e){if(!0===this.getOptions().skip)return this.cleanup(),{loading:!1,error:void 0,data:void 0,variables:this.getOptions().variables};var t=e;this.refreshClient().isNew&&(t=this.getLoadingResult());var n=this.getOptions().shouldResubscribe;return"function"==typeof n&&(n=!!n(this.getOptions())),!1!==n&&this.previousOptions&&Object.keys(this.previousOptions).length>0&&(this.previousOptions.subscription!==this.getOptions().subscription||!(0,h.L)(this.previousOptions.variables,this.getOptions().variables)||this.previousOptions.skip!==this.getOptions().skip)&&(this.cleanup(),t=this.getLoadingResult()),this.initialize(this.getOptions()),this.startSubscription(),this.previousOptions=this.getOptions(),(0,f.Cl)((0,f.Cl)({},t),{variables:this.getOptions().variables})},t.prototype.afterExecute=function(){this.isMounted=!0},t.prototype.cleanup=function(){this.endSubscription(),delete this.currentObservable.query},t.prototype.initialize=function(e){this.currentObservable.query||!0===this.getOptions().skip||(this.currentObservable.query=this.refreshClient().client.subscribe({query:e.subscription,variables:e.variables,fetchPolicy:e.fetchPolicy,context:e.context}))},t.prototype.startSubscription=function(){this.currentObservable.subscription||(this.currentObservable.subscription=this.currentObservable.query.subscribe({next:this.updateCurrentData.bind(this),error:this.updateError.bind(this),complete:this.completeSubscription.bind(this)}))},t.prototype.getLoadingResult=function(){return{loading:!0,error:void 0,data:void 0}},t.prototype.updateResult=function(e){this.isMounted&&this.setResult(e)},t.prototype.updateCurrentData=function(e){var t=this.getOptions().onSubscriptionData;this.updateResult({data:e.data,loading:!1,error:void 0}),t&&t({client:this.refreshClient().client,subscriptionData:e})},t.prototype.updateError=function(e){this.updateResult({error:e,loading:!1})},t.prototype.completeSubscription=function(){var e=this;Promise.resolve().then((function(){var t=e.getOptions().onSubscriptionComplete;t&&t(),e.endSubscription()}))},t.prototype.endSubscription=function(){this.currentObservable.subscription&&(this.currentObservable.subscription.unsubscribe(),delete this.currentObservable.subscription)},t}(v._),_=n(77459);function A(e,t){var n=(0,s.useReducer)((function(e){return e+1}),0)[1],r=(0,s.useContext)((0,l.l)()),a=t?(0,f.Cl)((0,f.Cl)({},t),{subscription:e}):{subscription:e},o=(0,s.useState)({loading:!a.skip,error:void 0,data:void 0}),i=o[0],u=o[1],c=(0,s.useRef)(),d=(c.current||(c.current=new S({options:a,context:r,setResult:u})),c.current);return d.setOptions(a,!0),d.context=r,__DEV__&&(0,_.H)(n),(0,s.useEffect)((function(){return d.afterExecute()})),(0,s.useEffect)((function(){return function(){d.cleanup(),c.current=void 0}}),[]),d.execute(i)}function C(e){var t=e(),n=(0,s.useState)(t)[1];return(0,s.useEffect)((function(){var r=e();if(t===r)return e.onNextChange(n);n(r)}),[t]),t}__DEV__?(0,a.V1)("boolean"==typeof o.I,o.I):(0,a.V1)("boolean"==typeof o.I,37)},15774:(e,t,n)=>{"use strict";n.d(t,{C:()=>d});var r=n(94626),a=n(28575),o=n(96972),i=n(50591);function s(e,t){return t?t(e):o.c.of()}function l(e){return"function"==typeof e?new d(e):e}function u(e){return e.request.length<=1}var c=function(e){function t(t,n){var r=e.call(this,t)||this;return r.link=n,r}return(0,r.C6)(t,e),t}(Error),d=function(){function e(e){e&&(this.request=e)}return e.empty=function(){return new e((function(){return o.c.of()}))},e.from=function(t){return 0===t.length?e.empty():t.map(l).reduce((function(e,t){return e.concat(t)}))},e.split=function(t,n,r){var a=l(n),i=l(r||new e(s));return u(a)&&u(i)?new e((function(e){return t(e)?a.request(e)||o.c.of():i.request(e)||o.c.of()})):new e((function(e,n){return t(e)?a.request(e,n)||o.c.of():i.request(e,n)||o.c.of()}))},e.execute=function(e,t){return e.request(function(e,t){var n=(0,r.Cl)({},e);return Object.defineProperty(t,"setContext",{enumerable:!1,value:function(e){n="function"==typeof e?(0,r.Cl)((0,r.Cl)({},n),e(n)):(0,r.Cl)((0,r.Cl)({},n),e)}}),Object.defineProperty(t,"getContext",{enumerable:!1,value:function(){return(0,r.Cl)({},n)}}),t}(t.context,function(e){var t={variables:e.variables||{},extensions:e.extensions||{},operationName:e.operationName,query:e.query};return t.operationName||(t.operationName="string"!=typeof t.query?(0,i.n4)(t.query)||void 0:""),t}(function(e){for(var t=["query","operationName","variables","extensions","context"],n=0,r=Object.keys(e);n{"use strict";n.d(t,{g:()=>r});var r=n(15774).C.execute},42235:(e,t,n)=>{"use strict";n.d(t,{H:()=>r});var r=n(15774).C.from},1446:(e,t,n)=>{"use strict";n.d(t,{P:()=>i});var r=n(94626),a=n(15774),o=n(61486),i=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,(0,o.$)(t).request)||this;return n.options=t,n}return(0,r.C6)(t,e),t}(a.C)},32481:(e,t,n)=>{"use strict";n.d(t,{S:()=>a});var r=n(28575),a=function(e){if(!e&&"undefined"==typeof fetch)throw __DEV__?new r.zU("\n\"fetch\" has not been found globally and no fetcher has been configured. To fix this, install a fetch package (like https://www.npmjs.com/package/cross-fetch), instantiate the fetcher, and pass it into your HttpLink constructor. For example:\n\nimport fetch from 'cross-fetch';\nimport { ApolloClient, HttpLink } from '@apollo/client';\nconst client = new ApolloClient({\n link: new HttpLink({ uri: '/graphql', fetch })\n});\n "):new r.zU(25)}},61486:(e,t,n)=>{"use strict";n.d(t,{$:()=>m});var r=n(94626),a=n(84705),o=n(15774),i=n(96972),s=n(59629),l=n(83082),u=n(3239),c=n(32481),d=n(1289),p=n(7459),f=n(25565),h=n(92535),m=function(e){void 0===e&&(e={});var t=e.uri,n=void 0===t?"/graphql":t,m=e.fetch,g=e.includeExtensions,v=e.useGETForQueries,y=e.includeUnusedVariables,b=void 0!==y&&y,w=(0,r.Tt)(e,["uri","fetch","includeExtensions","useGETForQueries","includeUnusedVariables"]);(0,c.S)(m),m||(m=fetch);var x={http:{includeExtensions:g},options:w.fetchOptions,credentials:w.credentials,headers:w.headers};return new o.C((function(e){var t=(0,l.z)(e,n),o=e.getContext(),c={};if(o.clientAwareness){var g=o.clientAwareness,y=g.name,w=g.version;y&&(c["apollographql-client-name"]=y),w&&(c["apollographql-client-version"]=w)}var S,_=(0,r.Cl)((0,r.Cl)({},c),o.headers),A={http:o.http,options:o.fetchOptions,credentials:o.credentials,headers:_},C=(0,d.W)(e,d.R,x,A),T=C.options,k=C.body;if(k.variables&&!b){var E=new Set(Object.keys(k.variables));(0,a.YR)(e.query,{Variable:function(e,t,n){n&&"VariableDefinition"!==n.kind&&E.delete(e.name.value)}}),E.size&&(k.variables=(0,r.Cl)({},k.variables),E.forEach((function(e){delete k.variables[e]})))}if(!T.signal){var M=(0,p.S)(),P=M.controller,O=M.signal;(S=P)&&(T.signal=O)}if(v&&!e.query.definitions.some((function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation}))&&(T.method="GET"),"GET"===T.method){var I=(0,f.E)(t,k),D=I.newURI,R=I.parseError;if(R)return(0,h.N)(R);t=D}else try{T.body=(0,s.Y)(k,"Payload")}catch(R){return(0,h.N)(R)}return new i.c((function(n){return m(t,T).then((function(t){return e.setContext({response:t}),t})).then((0,u.O)(e)).then((function(e){return n.next(e),n.complete(),e})).catch((function(e){"AbortError"!==e.name&&(e.result&&e.result.errors&&e.result.data&&n.next(e.result),n.error(e))})),function(){S&&S.abort()}}))}))}},7459:(e,t,n)=>{"use strict";n.d(t,{S:()=>r});var r=function(){if("undefined"==typeof AbortController)return{controller:!1,signal:!1};var e=new AbortController;return{controller:e,signal:e.signal}}},68820:(e,t,n)=>{"use strict";n.r(t),n.d(t,{HttpLink:()=>c.P,checkFetcher:()=>i.S,createHttpLink:()=>u.$,createSignalIfSupported:()=>s.S,fallbackHttpConfig:()=>o.R,parseAndCheckHttpResponse:()=>r.O,rewriteURIForGET:()=>d.E,selectHttpOptionsAndBody:()=>o.W,selectURI:()=>l.z,serializeFetchParameter:()=>a.Y});var r=n(3239),a=n(59629),o=n(1289),i=n(32481),s=n(7459),l=n(83082),u=n(61486),c=n(1446),d=n(25565)},3239:(e,t,n)=>{"use strict";n.d(t,{O:()=>o});var r=n(8146),a=Object.prototype.hasOwnProperty;function o(e){return function(t){return t.text().then((function(e){try{return JSON.parse(e)}catch(r){var n=r;throw n.name="ServerParseError",n.response=t,n.statusCode=t.status,n.bodyText=e,n}})).then((function(n){return t.status>=300&&(0,r.A)(t,n,"Response not successful: Received status code "+t.status),Array.isArray(n)||a.call(n,"data")||a.call(n,"errors")||(0,r.A)(t,n,"Server response was missing for query '"+(Array.isArray(e)?e.map((function(e){return e.operationName})):e.operationName)+"'."),n}))}}},25565:(e,t,n)=>{"use strict";n.d(t,{E:()=>a});var r=n(59629);function a(e,t){var n=[],a=function(e,t){n.push(e+"="+encodeURIComponent(t))};if("query"in t&&a("query",t.query),t.operationName&&a("operationName",t.operationName),t.variables){var o=void 0;try{o=(0,r.Y)(t.variables,"Variables map")}catch(e){return{parseError:e}}a("variables",o)}if(t.extensions){var i=void 0;try{i=(0,r.Y)(t.extensions,"Extensions map")}catch(e){return{parseError:e}}a("extensions",i)}var s="",l=e,u=e.indexOf("#");-1!==u&&(s=e.substr(u),l=e.substr(0,u));var c=-1===l.indexOf("?")?"?":"&";return{newURI:l+c+n.join("&")+s}}},1289:(e,t,n)=>{"use strict";n.d(t,{R:()=>o,W:()=>i});var r=n(94626),a=n(66547),o={http:{includeQuery:!0,includeExtensions:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},i=function(e,t){for(var n=[],o=2;o{"use strict";n.d(t,{z:()=>r});var r=function(e,t){return e.getContext().uri||("function"==typeof t?t(e):t||"/graphql")}},59629:(e,t,n)=>{"use strict";n.d(t,{Y:()=>a});var r=n(28575),a=function(e,t){var n;try{n=JSON.stringify(e)}catch(e){var a=__DEV__?new r.zU("Network request failed. "+t+" is not serializable: "+e.message):new r.zU(26);throw a.parseError=e,a}return n}},92535:(e,t,n)=>{"use strict";n.d(t,{N:()=>a});var r=n(96972);function a(e){return new r.c((function(t){t.error(e)}))}},8146:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var r=function(e,t,n){var r=new Error(n);throw r.name="ServerError",r.response=e,r.statusCode=e.status,r.result=t,r}},54442:(e,t,n)=>{"use strict";n.d(t,{L:()=>l});var r=Object.prototype,a=r.toString,o=r.hasOwnProperty,i=Function.prototype.toString,s=new Map;function l(e,t){try{return u(e,t)}finally{s.clear()}}function u(e,t){if(e===t)return!0;var n,r,s,l=a.call(e);if(l!==a.call(t))return!1;switch(l){case"[object Array]":if(e.length!==t.length)return!1;case"[object Object]":if(f(e,t))return!0;var d=c(e),h=c(t),m=d.length;if(m!==h.length)return!1;for(var g=0;g=0&&n.indexOf(r,s)===s))}return!1}function c(e){return Object.keys(e).filter(d,e)}function d(e){return void 0!==this[e]}var p="{ [native code] }";function f(e,t){var n=s.get(e);if(n){if(n.has(t))return!0}else s.set(e,n=new Set);return n.add(t),!1}},28575:(e,t,n)=>{"use strict";n.d(t,{zU:()=>s,V1:()=>l,Q9:()=>p});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};Object.create,Object.create;var a="Invariant Violation",o=Object.setPrototypeOf,i=void 0===o?function(e,t){return e.__proto__=t,e}:o,s=function(e){function t(n){void 0===n&&(n=a);var r=e.call(this,"number"==typeof n?a+": "+n+" (see https://github.com/apollographql/invariant-packages)":n)||this;return r.framesToPop=1,r.name=a,i(r,t.prototype),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t}(Error);function l(e,t){if(!e)throw new s(t)}var u=["debug","log","warn","error","silent"],c=u.indexOf("log");function d(e){return function(){if(u.indexOf(e)>=c)return(console[e]||console.log).apply(console,arguments)}}function p(e){var t=u[c];return c=Math.max(0,u.indexOf(e)),t}!function(e){e.debug=d("debug"),e.log=d("log"),e.warn=d("warn"),e.error=d("error")}(l||(l={}))},94626:(e,t,n)=>{"use strict";n.d(t,{C6:()=>a,Cl:()=>o,Tt:()=>i,YH:()=>l,fX:()=>u,sH:()=>s});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&a[a.length-1])||6!==o[0]&&2!==o[0])){i=0;continue}if(3===o[0]&&(!a||o[1]>a[0]&&o[1]{"use strict";n.d(t,{E:()=>o,l:()=>o});var r=n(96540),a=new(n(15258).e?WeakMap:Map);function o(){var e=a.get(r.createContext);return e||((e=r.createContext({})).displayName="ApolloContext",a.set(r.createContext,e)),e}},94366:(e,t,n)=>{"use strict";n.d(t,{X:()=>i});var r=n(96540),a=n(28575),o=n(36024),i=function(e){var t=e.client,n=e.children,i=(0,o.l)();return r.createElement(i.Consumer,null,(function(e){return void 0===e&&(e={}),t&&e.client!==t&&(e=Object.assign({},e,{client:t})),__DEV__?(0,a.V1)(e.client,'ApolloProvider was not passed a client instance. Make sure you pass in your client via the "client" prop.'):(0,a.V1)(e.client,31),r.createElement(i.Provider,{value:e},n)}))}},76090:(e,t,n)=>{"use strict";n.d(t,{_:()=>i});var r=n(54442),a=n(28575),o=n(88192),i=function(){function e(e,t){this.isMounted=!1,this.previousOptions={},this.context={},this.options={},this.options=e||{},this.context=t||{}}return e.prototype.getOptions=function(){return this.options},e.prototype.setOptions=function(e,t){void 0===t&&(t=!1),t&&!(0,r.L)(this.options,e)&&(this.previousOptions=this.options),this.options=e},e.prototype.unmount=function(){this.isMounted=!1},e.prototype.refreshClient=function(){var e=this.options&&this.options.client||this.context&&this.context.client;__DEV__?(0,a.V1)(!!e,'Could not find "client" in the context or passed in as an option. Wrap the root component in an , or pass an ApolloClient instance in via options.'):(0,a.V1)(!!e,32);var t=!1;return e!==this.client&&(t=!0,this.client=e,this.cleanup()),{client:this.client,isNew:t}},e.prototype.verifyDocumentType=function(e,t){var n=(0,o.K3)(e),r=(0,o.Xn)(t),i=(0,o.Xn)(n.type);__DEV__?(0,a.V1)(n.type===t,"Running a "+r+" requires a graphql "+r+", but a "+i+" was used instead."):(0,a.V1)(n.type===t,33)},e}()},40216:(e,t,n)=>{"use strict";n.d(t,{I:()=>a});var r=n(89944);function a(e,t){return(0,r.t)(e,t,!1)}},77459:(e,t,n)=>{"use strict";n.d(t,{H:()=>a});var r=n(96540);function a(e){if(__DEV__){var t=(0,r.useRef)(!1);(0,r.useEffect)((function(){return function(){t.current=!0}}),[]),(0,r.useEffect)((function(){!0===t.current&&(t.current=!1,e())}),[])}}},89944:(e,t,n)=>{"use strict";n.d(t,{t:()=>p});var r=n(94626),a=n(96540),o=n(54442),i=n(57684),s=n(49248),l=n(88192),u=function(e){function t(t){var n=t.options,r=t.context,a=t.onNewData,o=e.call(this,n,r)||this;return o.runLazy=!1,o.previous=Object.create(null),o.runLazyQuery=function(e){o.cleanup(),o.runLazy=!0,o.lazyOptions=e,o.onNewData()},o.obsRefetch=function(e){var t;return null===(t=o.currentObservable)||void 0===t?void 0:t.refetch(e)},o.obsFetchMore=function(e){var t;return null===(t=o.currentObservable)||void 0===t?void 0:t.fetchMore(e)},o.obsUpdateQuery=function(e){var t;return null===(t=o.currentObservable)||void 0===t?void 0:t.updateQuery(e)},o.obsStartPolling=function(e){var t;null===(t=o.currentObservable)||void 0===t||t.startPolling(e)},o.obsStopPolling=function(){var e;null===(e=o.currentObservable)||void 0===e||e.stopPolling()},o.obsSubscribeToMore=function(e){var t;return null===(t=o.currentObservable)||void 0===t?void 0:t.subscribeToMore(e)},o.onNewData=a,o}return(0,r.C6)(t,e),t.prototype.execute=function(){this.refreshClient();var e=this.getOptions(),t=e.skip,n=e.query;return(t||n!==this.previous.query)&&(this.removeQuerySubscription(),this.removeObservable(!t),this.previous.query=n),this.updateObservableQuery(),this.getExecuteSsrResult()||this.getExecuteResult()},t.prototype.executeLazy=function(){return this.runLazy?[this.runLazyQuery,this.execute()]:[this.runLazyQuery,{loading:!1,networkStatus:s.p.ready,called:!1,data:void 0}]},t.prototype.fetchData=function(){var e=this,t=this.getOptions();return!t.skip&&!1!==t.ssr&&new Promise((function(t){return e.startQuerySubscription(t)}))},t.prototype.afterExecute=function(e){var t=(void 0===e?{}:e).lazy,n=void 0!==t&&t;this.isMounted=!0;var r=this.getOptions();return!this.currentObservable||this.ssrInitiated()||this.client.disableNetworkFetches||this.startQuerySubscription(),n&&!this.runLazy||this.handleErrorOrCompleted(),this.previousOptions=r,this.unmount.bind(this)},t.prototype.cleanup=function(){this.removeQuerySubscription(),this.removeObservable(!0),delete this.previous.result},t.prototype.getOptions=function(){var t=e.prototype.getOptions.call(this);return this.lazyOptions&&(t.variables=(0,r.Cl)((0,r.Cl)({},t.variables),this.lazyOptions.variables),t.context=(0,r.Cl)((0,r.Cl)({},t.context),this.lazyOptions.context)),this.runLazy&&delete t.skip,t},t.prototype.ssrInitiated=function(){return this.context&&this.context.renderPromises},t.prototype.getExecuteSsrResult=function(){var e=this.getOptions(),t=e.ssr,n=e.skip,a=!1===t,o=this.refreshClient().client.disableNetworkFetches,i=(0,r.Cl)({loading:!0,networkStatus:s.p.loading,called:!0,data:void 0,stale:!1,client:this.client},this.observableQueryFields());if(a&&(this.ssrInitiated()||o))return this.previous.result=i,i;if(this.ssrInitiated()){var l=this.getExecuteResult()||i;return l.loading&&!n&&this.context.renderPromises.addQueryPromise(this,(function(){return null})),l}},t.prototype.prepareObservableQueryOptions=function(){var e=this.getOptions();this.verifyDocumentType(e.query,l.KG.Query);var t=e.displayName||"Query";return!this.ssrInitiated()||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e.fetchPolicy="cache-first"),(0,r.Cl)((0,r.Cl)({},e),{displayName:t,context:e.context})},t.prototype.initializeObservableQuery=function(){if(this.ssrInitiated()&&(this.currentObservable=this.context.renderPromises.getSSRObservable(this.getOptions())),!this.currentObservable){var e=this.prepareObservableQueryOptions();this.previous.observableQueryOptions=(0,r.Cl)((0,r.Cl)({},e),{children:void 0}),this.currentObservable=this.refreshClient().client.watchQuery((0,r.Cl)({},e)),this.ssrInitiated()&&this.context.renderPromises.registerSSRObservable(this.currentObservable,e)}},t.prototype.updateObservableQuery=function(){if(this.currentObservable){var e=(0,r.Cl)((0,r.Cl)({},this.prepareObservableQueryOptions()),{children:void 0});this.getOptions().skip?this.previous.observableQueryOptions=e:(0,o.L)(e,this.previous.observableQueryOptions)||(this.previous.observableQueryOptions=e,this.currentObservable.setOptions(e).catch((function(){})))}else this.initializeObservableQuery()},t.prototype.startQuerySubscription=function(e){var t=this;void 0===e&&(e=this.onNewData),this.currentSubscription||this.getOptions().skip||(this.currentSubscription=this.currentObservable.subscribe({next:function(n){var r=n.loading,a=n.networkStatus,i=n.data,s=t.previous.result;s&&s.loading===r&&s.networkStatus===a&&(0,o.L)(s.data,i)||e()},error:function(n){if(t.resubscribeToQuery(),!n.hasOwnProperty("graphQLErrors"))throw n;var r=t.previous.result;(r&&r.loading||!(0,o.L)(n,t.previous.error))&&(t.previous.error=n,e())}}))},t.prototype.resubscribeToQuery=function(){this.removeQuerySubscription();var e=this.currentObservable;if(e){var t=e.getLastError(),n=e.getLastResult();e.resetLastResults(),this.startQuerySubscription(),Object.assign(e,{lastError:t,lastResult:n})}},t.prototype.getExecuteResult=function(){var e=this.observableQueryFields(),t=this.getOptions();if(t.skip)e=(0,r.Cl)((0,r.Cl)({},e),{data:void 0,error:void 0,loading:!1,networkStatus:s.p.ready,called:!0});else if(this.currentObservable){var n=this.currentObservable.getCurrentResult(),a=n.data,o=n.loading,l=n.partial,u=n.networkStatus,c=n.errors,d=n.error;if(c&&c.length>0&&(d=new i.K({graphQLErrors:c})),e=(0,r.Cl)((0,r.Cl)({},e),{data:a,loading:o,networkStatus:u,error:d,called:!0}),o);else if(d)Object.assign(e,{data:(this.currentObservable.getLastResult()||{}).data});else{var p=this.currentObservable.options.fetchPolicy;if(t.partialRefetch&&l&&(!a||0===Object.keys(a).length)&&"cache-only"!==p)return Object.assign(e,{loading:!0,networkStatus:s.p.loading}),e.refetch(),e}}e.client=this.client,this.setOptions(t,!0);var f=this.previous.result;return this.previous.loading=f&&f.loading||!1,e.previousData=f&&(f.data||f.previousData),this.previous.result=e,this.currentObservable&&this.currentObservable.resetQueryStoreErrors(),e},t.prototype.handleErrorOrCompleted=function(){if(this.currentObservable&&this.previous.result){var e=this.previous.result,t=e.data,n=e.loading,r=e.error;if(!n){var a=this.getOptions(),i=a.query,s=a.variables,l=a.onCompleted,u=a.onError,c=a.skip;if(this.previousOptions&&!this.previous.loading&&(0,o.L)(this.previousOptions.query,i)&&(0,o.L)(this.previousOptions.variables,s))return;!l||r||c?u&&r&&u(r):l(t)}}},t.prototype.removeQuerySubscription=function(){this.currentSubscription&&(this.currentSubscription.unsubscribe(),delete this.currentSubscription)},t.prototype.removeObservable=function(e){this.currentObservable&&(this.currentObservable.tearDownQuery(),e&&delete this.currentObservable)},t.prototype.observableQueryFields=function(){var e;return{variables:null===(e=this.currentObservable)||void 0===e?void 0:e.variables,refetch:this.obsRefetch,fetchMore:this.obsFetchMore,updateQuery:this.obsUpdateQuery,startPolling:this.obsStartPolling,stopPolling:this.obsStopPolling,subscribeToMore:this.obsSubscribeToMore}},t}(n(76090)._),c=n(36024),d=n(77459);function p(e,t,n){void 0===n&&(n=!1);var i=(0,a.useContext)((0,c.l)()),s=(0,a.useReducer)((function(e){return e+1}),0),l=s[0],p=s[1],f=t?(0,r.Cl)((0,r.Cl)({},t),{query:e}):{query:e},h=(0,a.useRef)(),m=h.current||(h.current=new u({options:f,context:i,onNewData:function(){m.ssrInitiated()?p():Promise.resolve().then((function(){return h.current&&h.current.isMounted&&p()}))}}));m.setOptions(f),m.context=i;var g,v,y,b=(g=function(){return n?m.executeLazy():m.execute()},v={options:(0,r.Cl)((0,r.Cl)({},f),{onError:void 0,onCompleted:void 0}),context:i,tick:l},(y=(0,a.useRef)()).current&&(0,o.L)(v,y.current.key)||(y.current={key:v,value:g()}),y.current.value),w=n?b[1]:b;return __DEV__&&(0,d.H)(p),(0,a.useEffect)((function(){return function(){m.cleanup(),h.current=void 0}}),[]),(0,a.useEffect)((function(){return m.afterExecute({lazy:n})}),[w.loading,w.networkStatus,w.error,w.data,m.currentObservable]),b}},88192:(e,t,n)=>{"use strict";n.d(t,{K3:()=>s,KG:()=>r,Xn:()=>i});var r,a=n(28575);!function(e){e[e.Query=0]="Query",e[e.Mutation=1]="Mutation",e[e.Subscription=2]="Subscription"}(r||(r={}));var o=new Map;function i(e){var t;switch(e){case r.Query:t="Query";break;case r.Mutation:t="Mutation";break;case r.Subscription:t="Subscription"}return t}function s(e){var t,n,i=o.get(e);if(i)return i;__DEV__?(0,a.V1)(!!e&&!!e.kind,"Argument of "+e+" passed to parser was not a valid GraphQL DocumentNode. You may need to use 'graphql-tag' or another method to convert your operation into a document"):(0,a.V1)(!!e&&!!e.kind,38);var s=e.definitions.filter((function(e){return"FragmentDefinition"===e.kind})),l=e.definitions.filter((function(e){return"OperationDefinition"===e.kind&&"query"===e.operation})),u=e.definitions.filter((function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation})),c=e.definitions.filter((function(e){return"OperationDefinition"===e.kind&&"subscription"===e.operation}));__DEV__?(0,a.V1)(!s.length||l.length||u.length||c.length,"Passing only a fragment to 'graphql' is not yet supported. You must include a query, subscription or mutation as well"):(0,a.V1)(!s.length||l.length||u.length||c.length,39),__DEV__?(0,a.V1)(l.length+u.length+c.length<=1,"react-apollo only supports a query, subscription, or a mutation per HOC. "+e+" had "+l.length+" queries, "+c.length+" subscriptions and "+u.length+" mutations. You can use 'compose' to join multiple operation types to a component"):(0,a.V1)(l.length+u.length+c.length<=1,40),n=l.length?r.Query:r.Mutation,l.length||u.length||(n=r.Subscription);var d=l.length?l:u.length?u:c;__DEV__?(0,a.V1)(1===d.length,"react-apollo only supports one definition per HOC. "+e+" had "+d.length+" definitions. You can use 'compose' to join multiple operation types to a component"):(0,a.V1)(1===d.length,41);var p=d[0];t=p.variableDefinitions||[];var f={name:p.name&&"Name"===p.name.kind?p.name.value:"data",type:n,variables:t};return o.set(e,f),f}},1185:(e,t,n)=>{"use strict";function r(e){return Array.isArray(e)&&e.length>0}n.d(t,{E:()=>r})},15258:(e,t,n)=>{"use strict";n.d(t,{E:()=>a,e:()=>r});var r="function"==typeof WeakMap&&!("object"==typeof navigator&&"ReactNative"===navigator.product),a="function"==typeof WeakSet},65160:(e,t,n)=>{"use strict";n.d(t,{m:()=>a});var r=Object.prototype.toString;function a(e){return o(e)}function o(e,t){switch(r.call(e)){case"[object Array]":if((t=t||new Map).has(e))return t.get(e);var n=e.slice(0);return t.set(e,n),n.forEach((function(e,r){n[r]=o(e,t)})),n;case"[object Object]":if((t=t||new Map).has(e))return t.get(e);var a=Object.create(Object.getPrototypeOf(e));return t.set(e,a),Object.keys(e).forEach((function(n){a[n]=o(e[n],t)})),a;default:return e}}},72730:(e,t,n)=>{"use strict";function r(){for(var e=[],t=0;tr})},88339:(e,t,n)=>{"use strict";n.d(t,{v:()=>a});var r=new Map;function a(e){var t=r.get(e)||1;return r.set(e,t+1),e+":"+t+":"+Math.random().toString(36).slice(2)}},58958:(e,t,n)=>{"use strict";n.d(t,{G:()=>a}),n(97555);var r=n(66919);function a(e){var t;return __DEV__&&(t=new Set([e])).forEach((function(e){(0,r.U)(e)&&(Object.isFrozen(e)||Object.freeze(e),Object.getOwnPropertyNames(e).forEach((function(n){(0,r.U)(e[n])&&t.add(e[n])})))})),e}},68313:(e,t,n)=>{"use strict";n.d(t,{D9:()=>i,IM:()=>s,ZI:()=>u});var r=n(94626),a=n(66919),o=Object.prototype.hasOwnProperty;function i(){for(var e=[],t=0;t1)for(var r=new u,a=1;a{"use strict";function r(e){return null!==e&&"object"==typeof e}n.d(t,{U:()=>r})},97555:(e,t,n)=>{"use strict";function r(e){try{return e()}catch(e){}}n.d(t,{I:()=>s});const a=r((function(){return globalThis}))||r((function(){return window}))||r((function(){return self}))||r((function(){return n.g}))||r((function(){return Function("return this")()}));var o="__",i=[o,o].join("DEV");const s=function(){try{return Boolean(__DEV__)}catch(e){return Object.defineProperty(a,i,{value:"production"!==r((function(){return"production"})),enumerable:!1,configurable:!0,writable:!0}),a[i]}}();function l(e){try{return e()}catch(e){}}const u=l((function(){return globalThis}))||l((function(){return window}))||l((function(){return self}))||l((function(){return n.g}))||l((function(){return Function("return this")()}));let c=!1;!u||l((function(){return"production"}))||l((function(){return process}))||(Object.defineProperty(u,"process",{value:{env:{NODE_ENV:"production"}},configurable:!0,enumerable:!1,writable:!0}),c=!0);var d=n(46286);function p(e){return e}var f=n(80129),h=n(54621),m=n(12475);function g(e,t,n){const r=Object.create(null);for(const a of e)r[t(a)]=n(a);return r}function v(e,t){const n=Object.create(null);for(const r of Object.keys(e))n[r]=t(e[r],r);return n}const y=48,b=57;function w(e){return!isNaN(e)&&y<=e&&e<=b}class x{constructor(e){this._input=e,this._inputLowerCase=e.toLowerCase(),this._inputArray=S(this._inputLowerCase),this._rows=[new Array(e.length+1).fill(0),new Array(e.length+1).fill(0),new Array(e.length+1).fill(0)]}measure(e,t){if(this._input===e)return 0;const n=e.toLowerCase();if(this._inputLowerCase===n)return 1;let r=S(n),a=this._inputArray;if(r.lengtht)return;const s=this._rows;for(let e=0;e<=i;e++)s[0][e]=e;for(let e=1;e<=o;e++){const n=s[(e-1)%3],o=s[e%3];let l=o[0]=e;for(let t=1;t<=i;t++){const i=r[e-1]===a[t-1]?0:1;let u=Math.min(n[t]+1,o[t-1]+1,n[t-1]+i);if(e>1&&t>1&&r[e-1]===a[t-2]&&r[e-2]===a[t-1]){const n=s[(e-2)%3][t-2];u=Math.min(u,n+1)}ut)return}const l=s[o%3][i];return l<=t?l:void 0}}function S(e){const t=e.length,n=new Array(t);for(let r=0;rk(e,t)));case C.b.OBJECT:return g(e.fields,(e=>e.name.value),(e=>k(e.value,t)));case C.b.VARIABLE:return null==t?void 0:t[e.name.value]}}var E=n(79646);function M(e){if(null!=e||(0,d.U)(!1,"Must provide name."),"string"==typeof e||(0,d.U)(!1,"Expected name to be a string."),0===e.length)throw new A.eO("Expected name to be a non-empty string.");for(let t=1;to(k(e,t)),this.extensions=_(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(a=e.extensionASTNodes)&&void 0!==a?a:[],null==e.specifiedByURL||"string"==typeof e.specifiedByURL||(0,d.U)(!1,`${this.name} must provide "specifiedByURL" as a string, but got: ${(0,f.N)(e.specifiedByURL)}.`),null==e.serialize||"function"==typeof e.serialize||(0,d.U)(!1,`${this.name} must provide "serialize" function. If this custom Scalar is also used as an input type, ensure "parseValue" and "parseLiteral" functions are also provided.`),e.parseLiteral&&("function"==typeof e.parseValue&&"function"==typeof e.parseLiteral||(0,d.U)(!1,`${this.name} must provide both "parseValue" and "parseLiteral" functions.`))}get[Symbol.toStringTag](){return"GraphQLScalarType"}toConfig(){return{name:this.name,description:this.description,specifiedByURL:this.specifiedByURL,serialize:this.serialize,parseValue:this.parseValue,parseLiteral:this.parseLiteral,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}class j{constructor(e){var t;this.name=M(e.name),this.description=e.description,this.isTypeOf=e.isTypeOf,this.extensions=_(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this._fields=()=>B(e),this._interfaces=()=>F(e),null==e.isTypeOf||"function"==typeof e.isTypeOf||(0,d.U)(!1,`${this.name} must provide "isTypeOf" as a function, but got: ${(0,f.N)(e.isTypeOf)}.`)}get[Symbol.toStringTag](){return"GraphQLObjectType"}getFields(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields}getInterfaces(){return"function"==typeof this._interfaces&&(this._interfaces=this._interfaces()),this._interfaces}toConfig(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:V(this.getFields()),isTypeOf:this.isTypeOf,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function F(e){var t;const n=N(null!==(t=e.interfaces)&&void 0!==t?t:[]);return Array.isArray(n)||(0,d.U)(!1,`${e.name} interfaces must be an Array or a function which returns an Array.`),n}function B(e){const t=L(e.fields);return W(t)||(0,d.U)(!1,`${e.name} fields must be an object with field names as keys or a function which returns such an object.`),v(t,((t,n)=>{var r;W(t)||(0,d.U)(!1,`${e.name}.${n} field config must be an object.`),null==t.resolve||"function"==typeof t.resolve||(0,d.U)(!1,`${e.name}.${n} field resolver must be a function if provided, but got: ${(0,f.N)(t.resolve)}.`);const a=null!==(r=t.args)&&void 0!==r?r:{};return W(a)||(0,d.U)(!1,`${e.name}.${n} args must be an object with argument names as keys.`),{name:M(n),description:t.description,type:t.type,args:z(a),resolve:t.resolve,subscribe:t.subscribe,deprecationReason:t.deprecationReason,extensions:_(t.extensions),astNode:t.astNode}}))}function z(e){return Object.entries(e).map((([e,t])=>({name:M(e),description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:_(t.extensions),astNode:t.astNode})))}function W(e){return(0,m.Z)(e)&&!Array.isArray(e)}function V(e){return v(e,(e=>{return{description:e.description,type:e.type,args:(t=e.args,g(t,(e=>e.name),(e=>({description:e.description,type:e.type,defaultValue:e.defaultValue,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode})))),resolve:e.resolve,subscribe:e.subscribe,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode};var t}))}class U{constructor(e){var t;this.name=M(e.name),this.description=e.description,this.resolveType=e.resolveType,this.extensions=_(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this._fields=B.bind(void 0,e),this._interfaces=F.bind(void 0,e),null==e.resolveType||"function"==typeof e.resolveType||(0,d.U)(!1,`${this.name} must provide "resolveType" as a function, but got: ${(0,f.N)(e.resolveType)}.`)}get[Symbol.toStringTag](){return"GraphQLInterfaceType"}getFields(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields}getInterfaces(){return"function"==typeof this._interfaces&&(this._interfaces=this._interfaces()),this._interfaces}toConfig(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:V(this.getFields()),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}class H{constructor(e){var t;this.name=M(e.name),this.description=e.description,this.resolveType=e.resolveType,this.extensions=_(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this._types=q.bind(void 0,e),null==e.resolveType||"function"==typeof e.resolveType||(0,d.U)(!1,`${this.name} must provide "resolveType" as a function, but got: ${(0,f.N)(e.resolveType)}.`)}get[Symbol.toStringTag](){return"GraphQLUnionType"}getTypes(){return"function"==typeof this._types&&(this._types=this._types()),this._types}toConfig(){return{name:this.name,description:this.description,types:this.getTypes(),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function q(e){const t=N(e.types);return Array.isArray(t)||(0,d.U)(!1,`Must provide Array of types or a function which returns such an array for Union ${e.name}.`),t}class G{constructor(e){var t;this.name=M(e.name),this.description=e.description,this.extensions=_(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this._values="function"==typeof e.values?e.values:X(this.name,e.values),this._valueLookup=null,this._nameLookup=null}get[Symbol.toStringTag](){return"GraphQLEnumType"}getValues(){return"function"==typeof this._values&&(this._values=X(this.name,this._values())),this._values}getValue(e){return null===this._nameLookup&&(this._nameLookup=function(e,t){const n=Object.create(null);for(const t of e)n[(r=t,r.name)]=t;var r;return n}(this.getValues())),this._nameLookup[e]}serialize(e){null===this._valueLookup&&(this._valueLookup=new Map(this.getValues().map((e=>[e.value,e]))));const t=this._valueLookup.get(e);if(void 0===t)throw new A.eO(`Enum "${this.name}" cannot represent value: ${(0,f.N)(e)}`);return t.name}parseValue(e){if("string"!=typeof e){const t=(0,f.N)(e);throw new A.eO(`Enum "${this.name}" cannot represent non-string value: ${t}.`+Y(this,t))}const t=this.getValue(e);if(null==t)throw new A.eO(`Value "${e}" does not exist in "${this.name}" enum.`+Y(this,e));return t.value}parseLiteral(e,t){if(e.kind!==C.b.ENUM){const t=(0,T.y)(e);throw new A.eO(`Enum "${this.name}" cannot represent non-enum value: ${t}.`+Y(this,t),{nodes:e})}const n=this.getValue(e.value);if(null==n){const t=(0,T.y)(e);throw new A.eO(`Value "${t}" does not exist in "${this.name}" enum.`+Y(this,t),{nodes:e})}return n.value}toConfig(){const e=g(this.getValues(),(e=>e.name),(e=>({description:e.description,value:e.value,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode})));return{name:this.name,description:this.description,values:e,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function Y(e,t){return function(e,t){const[n,r]=t?[e,t]:[void 0,e];let a=" Did you mean ";n&&(a+=n+" ");const o=r.map((e=>`"${e}"`));switch(o.length){case 0:return"";case 1:return a+o[0]+"?";case 2:return a+o[0]+" or "+o[1]+"?"}const i=o.slice(0,5),s=i.pop();return a+i.join(", ")+", or "+s+"?"}("the enum value",function(e,t){const n=Object.create(null),r=new x(e),a=Math.floor(.4*e.length)+1;for(const e of t){const t=r.measure(e,a);void 0!==t&&(n[e]=t)}return Object.keys(n).sort(((e,t)=>{const r=n[e]-n[t];return 0!==r?r:function(e,t){let n=0,r=0;for(;n0);let s=0;do{++r,s=10*s+o-y,o=t.charCodeAt(r)}while(w(o)&&s>0);if(is)return 1}else{if(ao)return 1;++n,++r}}return e.length-t.length}(e,t)}))}(t,e.getValues().map((e=>e.name))))}function X(e,t){return W(t)||(0,d.U)(!1,`${e} values must be an object with value names as keys.`),Object.entries(t).map((([t,n])=>(W(n)||(0,d.U)(!1,`${e}.${t} must refer to an object with a "value" key representing an internal value but got: ${(0,f.N)(n)}.`),{name:P(t),description:n.description,value:void 0!==n.value?n.value:t,deprecationReason:n.deprecationReason,extensions:_(n.extensions),astNode:n.astNode})))}class K{constructor(e){var t,n;this.name=M(e.name),this.description=e.description,this.extensions=_(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this.isOneOf=null!==(n=e.isOneOf)&&void 0!==n&&n,this._fields=Q.bind(void 0,e)}get[Symbol.toStringTag](){return"GraphQLInputObjectType"}getFields(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields}toConfig(){const e=v(this.getFields(),(e=>({description:e.description,type:e.type,defaultValue:e.defaultValue,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode})));return{name:this.name,description:this.description,fields:e,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes,isOneOf:this.isOneOf}}toString(){return this.name}toJSON(){return this.toString()}}function Q(e){const t=L(e.fields);return W(t)||(0,d.U)(!1,`${e.name} fields must be an object with field names as keys or a function which returns such an object.`),v(t,((t,n)=>(!("resolve"in t)||(0,d.U)(!1,`${e.name}.${n} field has a resolve property, but Input Types cannot define resolvers.`),{name:M(n),description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:_(t.extensions),astNode:t.astNode})))}O(null),c&&(delete u.process,c=!1)},26541:(e,t,n)=>{"use strict";n.d(t,{MS:()=>o,d8:()=>i,f2:()=>s});var r=n(84705),a=n(28575);function o(e,t){var n=e.directives;return!n||!n.length||function(e){var t=[];return e&&e.length&&e.forEach((function(e){if(function(e){var t=e.name.value;return"skip"===t||"include"===t}(e)){var n=e.arguments,r=e.name.value;__DEV__?(0,a.V1)(n&&1===n.length,"Incorrect number of arguments for the @"+r+" directive."):(0,a.V1)(n&&1===n.length,44);var o=n[0];__DEV__?(0,a.V1)(o.name&&"if"===o.name.value,"Invalid argument for the @"+r+" directive."):(0,a.V1)(o.name&&"if"===o.name.value,45);var i=o.value;__DEV__?(0,a.V1)(i&&("Variable"===i.kind||"BooleanValue"===i.kind),"Argument for the @"+r+" directive must be a variable or a boolean value."):(0,a.V1)(i&&("Variable"===i.kind||"BooleanValue"===i.kind),46),t.push({directive:e,ifArgument:o})}})),t}(n).every((function(e){var n=e.directive,r=e.ifArgument,o=!1;return"Variable"===r.value.kind?(o=t&&t[r.value.name.value],__DEV__?(0,a.V1)(void 0!==o,"Invalid variable referenced in @"+n.name.value+" directive."):(0,a.V1)(void 0!==o,43)):o=r.value.value,"skip"===n.name.value?!o:o}))}function i(e,t){return function(e){var t=[];return(0,r.YR)(e,{Directive:function(e){t.push(e.name.value)}}),t}(t).some((function(t){return e.indexOf(t)>-1}))}function s(e){return e&&i(["client"],e)&&i(["export"],e)}},74066:(e,t,n)=>{"use strict";n.d(t,{HQ:()=>s,JG:()=>i,ct:()=>o});var r=n(94626),a=n(28575);function o(e,t){var n=t,o=[];return e.definitions.forEach((function(e){if("OperationDefinition"===e.kind)throw __DEV__?new a.zU("Found a "+e.operation+" operation"+(e.name?" named '"+e.name.value+"'":"")+". No operations are allowed when using a fragment as a query. Only fragments are allowed."):new a.zU(47);"FragmentDefinition"===e.kind&&o.push(e)})),void 0===n&&(__DEV__?(0,a.V1)(1===o.length,"Found "+o.length+" fragments. `fragmentName` must be provided when there is not exactly 1 fragment."):(0,a.V1)(1===o.length,48),n=o[0].name.value),(0,r.Cl)((0,r.Cl)({},e),{definitions:(0,r.fX)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:n}}]}}],e.definitions)})}function i(e){void 0===e&&(e=[]);var t={};return e.forEach((function(e){t[e.name.value]=e})),t}function s(e,t){switch(e.kind){case"InlineFragment":return e;case"FragmentSpread":var n=t&&t[e.name.value];return __DEV__?(0,a.V1)(n,"No fragment named "+e.name.value+"."):(0,a.V1)(n,49),n;default:return null}}},50591:(e,t,n)=>{"use strict";n.d(t,{AT:()=>u,E4:()=>c,Vn:()=>d,Vu:()=>i,n4:()=>s,sw:()=>o,wY:()=>p,zK:()=>l});var r=n(28575),a=n(67765);function o(e){__DEV__?(0,r.V1)(e&&"Document"===e.kind,'Expecting a parsed GraphQL document. Perhaps you need to wrap the query string in a "gql" tag? http://docs.apollostack.com/apollo-client/core.html#gql'):(0,r.V1)(e&&"Document"===e.kind,50);var t=e.definitions.filter((function(e){return"FragmentDefinition"!==e.kind})).map((function(e){if("OperationDefinition"!==e.kind)throw __DEV__?new r.zU('Schema type definitions not allowed in queries. Found: "'+e.kind+'"'):new r.zU(51);return e}));return __DEV__?(0,r.V1)(t.length<=1,"Ambiguous GraphQL document: contains "+t.length+" operations"):(0,r.V1)(t.length<=1,52),e}function i(e){return o(e),e.definitions.filter((function(e){return"OperationDefinition"===e.kind}))[0]}function s(e){return e.definitions.filter((function(e){return"OperationDefinition"===e.kind&&e.name})).map((function(e){return e.name.value}))[0]||null}function l(e){return e.definitions.filter((function(e){return"FragmentDefinition"===e.kind}))}function u(e){var t=i(e);return __DEV__?(0,r.V1)(t&&"query"===t.operation,"Must contain a query definition."):(0,r.V1)(t&&"query"===t.operation,53),t}function c(e){__DEV__?(0,r.V1)("Document"===e.kind,'Expecting a parsed GraphQL document. Perhaps you need to wrap the query string in a "gql" tag? http://docs.apollostack.com/apollo-client/core.html#gql'):(0,r.V1)("Document"===e.kind,54),__DEV__?(0,r.V1)(e.definitions.length<=1,"Fragment must have exactly one definition."):(0,r.V1)(e.definitions.length<=1,55);var t=e.definitions[0];return __DEV__?(0,r.V1)("FragmentDefinition"===t.kind,"Must be a fragment definition."):(0,r.V1)("FragmentDefinition"===t.kind,56),t}function d(e){var t;o(e);for(var n=0,a=e.definitions;n{"use strict";n.d(t,{A_:()=>s,D$:()=>v,Ii:()=>c,J:()=>u,Kc:()=>l,MB:()=>m,WU:()=>i,dt:()=>y,kd:()=>b,o5:()=>p,ue:()=>g});var r=n(28575),a=n(66919),o=n(74066);function i(e){return{__ref:String(e)}}function s(e){return Boolean(e&&"object"==typeof e&&"string"==typeof e.__ref)}function l(e){return(0,a.U)(e)&&"Document"===e.kind&&Array.isArray(e.definitions)}function u(e,t,n,a){if(function(e){return"IntValue"===e.kind}(n)||function(e){return"FloatValue"===e.kind}(n))e[t.value]=Number(n.value);else if(function(e){return"BooleanValue"===e.kind}(n)||function(e){return"StringValue"===e.kind}(n))e[t.value]=n.value;else if(function(e){return"ObjectValue"===e.kind}(n)){var o={};n.fields.map((function(e){return u(o,e.name,e.value,a)})),e[t.value]=o}else if(function(e){return"Variable"===e.kind}(n)){var i=(a||{})[n.name.value];e[t.value]=i}else if(function(e){return"ListValue"===e.kind}(n))e[t.value]=n.values.map((function(e){var n={};return u(n,t,e,a),n[t.value]}));else if(function(e){return"EnumValue"===e.kind}(n))e[t.value]=n.value;else{if(!function(e){return"NullValue"===e.kind}(n))throw __DEV__?new r.zU('The inline argument "'+t.value+'" of kind "'+n.kind+'"is not supported. Use variables instead of inline arguments to overcome this limitation.'):new r.zU(58);e[t.value]=null}}function c(e,t){var n=null;e.directives&&(n={},e.directives.forEach((function(e){n[e.name.value]={},e.arguments&&e.arguments.forEach((function(r){var a=r.name,o=r.value;return u(n[e.name.value],a,o,t)}))})));var r=null;return e.arguments&&e.arguments.length&&(r={},e.arguments.forEach((function(e){var n=e.name,a=e.value;return u(r,n,a,t)}))),p(e.name.value,r,n)}var d=["connection","include","skip","client","rest","export"],p=Object.assign((function(e,t,n){if(t&&n&&n.connection&&n.connection.key){if(n.connection.filter&&n.connection.filter.length>0){var r=n.connection.filter?n.connection.filter:[];r.sort();var a={};return r.forEach((function(e){a[e]=t[e]})),n.connection.key+"("+f(a)+")"}return n.connection.key}var o=e;if(t){var i=f(t);o+="("+i+")"}return n&&Object.keys(n).forEach((function(e){-1===d.indexOf(e)&&(n[e]&&Object.keys(n[e]).length?o+="@"+e+"("+f(n[e])+")":o+="@"+e)})),o}),{setStringify:function(e){var t=f;return f=e,t}}),f=function(e){return JSON.stringify(e,h)};function h(e,t){return(0,a.U)(t)&&!Array.isArray(t)&&(t=Object.keys(t).sort().reduce((function(e,n){return e[n]=t[n],e}),{})),t}function m(e,t){if(e.arguments&&e.arguments.length){var n={};return e.arguments.forEach((function(e){var r=e.name,a=e.value;return u(n,r,a,t)})),n}return null}function g(e){return e.alias?e.alias.value:e.name.value}function v(e,t,n){if("string"==typeof e.__typename)return e.__typename;for(var r=0,a=t.selections;r{"use strict";n.d(t,{XY:()=>m,zc:()=>b,er:()=>w,hX:()=>v});var r=n(94626),a=n(84705),o=n(28575),i=n(50591);function s(e,t,n){var r=0;return e.forEach((function(n,a){t.call(this,n,a,e)&&(e[r++]=n)}),n),e.length=r,e}var l=n(67765),u=n(74066),c={kind:"Field",name:{kind:"Name",value:"__typename"}};function d(e,t){return e.selectionSet.selections.every((function(e){return"FragmentSpread"===e.kind&&d(t[e.name.value],t)}))}function p(e){return d((0,i.Vu)(e)||(0,i.E4)(e),(0,u.JG)((0,i.zK)(e)))?null:e}function f(e){return function(t){return e.some((function(e){return e.name&&e.name===t.name.value||e.test&&e.test(t)}))}}function h(e,t){var n=Object.create(null),o=[],i=Object.create(null),l=[],u=p((0,a.YR)(t,{Variable:{enter:function(e,t,r){"VariableDefinition"!==r.kind&&(n[e.name.value]=!0)}},Field:{enter:function(t){if(e&&t.directives&&e.some((function(e){return e.remove}))&&t.directives&&t.directives.some(f(e)))return t.arguments&&t.arguments.forEach((function(e){"Variable"===e.value.kind&&o.push({name:e.value.name.value})})),t.selectionSet&&y(t.selectionSet).forEach((function(e){l.push({name:e.name.value})})),null}},FragmentSpread:{enter:function(e){i[e.name.value]=!0}},Directive:{enter:function(t){if(f(e)(t))return null}}}));return u&&s(o,(function(e){return!!e.name&&!n[e.name]})).length&&(u=function(e,t){var n=function(e){return function(t){return e.some((function(e){return t.value&&"Variable"===t.value.kind&&t.value.name&&(e.name===t.value.name.value||e.test&&e.test(t))}))}}(e);return p((0,a.YR)(t,{OperationDefinition:{enter:function(t){return(0,r.Cl)((0,r.Cl)({},t),{variableDefinitions:t.variableDefinitions?t.variableDefinitions.filter((function(t){return!e.some((function(e){return e.name===t.variable.name.value}))})):[]})}},Field:{enter:function(t){if(e.some((function(e){return e.remove}))){var r=0;if(t.arguments&&t.arguments.forEach((function(e){n(e)&&(r+=1)})),1===r)return null}}},Argument:{enter:function(e){if(n(e))return null}}}))}(o,u)),u&&s(l,(function(e){return!!e.name&&!i[e.name]})).length&&(u=function(e,t){function n(t){if(e.some((function(e){return e.name===t.name.value})))return null}return p((0,a.YR)(t,{FragmentSpread:{enter:n},FragmentDefinition:{enter:n}}))}(l,u)),u}var m=Object.assign((function(e){return(0,a.YR)((0,i.sw)(e),{SelectionSet:{enter:function(e,t,n){if(!n||"OperationDefinition"!==n.kind){var a=e.selections;if(a&&!a.some((function(e){return(0,l.dt)(e)&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))}))){var o=n;if(!((0,l.dt)(o)&&o.directives&&o.directives.some((function(e){return"export"===e.name.value}))))return(0,r.Cl)((0,r.Cl)({},e),{selections:(0,r.fX)((0,r.fX)([],a),[c])})}}}}})}),{added:function(e){return e===c}}),g={test:function(e){var t="connection"===e.name.value;return t&&(e.arguments&&e.arguments.some((function(e){return"key"===e.name.value}))||__DEV__&&o.V1.warn("Removing an @connection directive even though it does not have a key. You may want to use the key parameter to specify a store key.")),t}};function v(e){return h([g],(0,i.sw)(e))}function y(e){var t=[];return e.selections.forEach((function(e){((0,l.dt)(e)||(0,l.kd)(e))&&e.selectionSet?y(e.selectionSet).forEach((function(e){return t.push(e)})):"FragmentSpread"===e.kind&&t.push(e)})),t}function b(e){return"query"===(0,i.Vn)(e).operation?e:(0,a.YR)(e,{OperationDefinition:{enter:function(e){return(0,r.Cl)((0,r.Cl)({},e),{operation:"query"})}}})}function w(e){(0,i.sw)(e);var t=h([{test:function(e){return"client"===e.name.value},remove:!0}],e);return t&&(t=(0,a.YR)(t,{FragmentDefinition:{enter:function(e){if(e.selectionSet&&e.selectionSet.selections.every((function(e){return(0,l.dt)(e)&&"__typename"===e.name.value})))return null}}})),t}},3483:(e,t,n)=>{"use strict";function r(e,t,n){var r=[];e.forEach((function(e){return e[t]&&r.push(e)})),r.forEach((function(e){return e[t](n)}))}n.d(t,{w:()=>r})},52514:(e,t,n)=>{"use strict";n.d(t,{r:()=>a});var r=n(96972);function a(e){function t(t){Object.defineProperty(e,t,{value:r.c})}return"function"==typeof Symbol&&Symbol.species&&t(Symbol.species),t("@@species"),e}},2228:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ApolloConsumer:()=>c,ApolloProvider:()=>u,RenderPromises:()=>E,getApolloContext:()=>i,resetApolloContext:()=>s,useApolloClient:()=>k,useLazyQuery:()=>S,useMutation:()=>A,useQuery:()=>x,useSubscription:()=>T});var r,a=n(96540),o=n(22702);function i(){return r||(r=a.createContext({})),r}function s(){r=a.createContext({})}var l,u=function(e){var t=e.client,n=e.children,r=i();return a.createElement(r.Consumer,null,(function(e){return void 0===e&&(e={}),t&&e.client!==t&&(e=Object.assign({},e,{client:t})),(0,o.V1)(e.client,5),a.createElement(r.Provider,{value:e},n)}))},c=function(e){var t=i();return a.createElement(t.Consumer,null,(function(t){return(0,o.V1)(t&&t.client,6),e.children(t.client)}))};!function(e){e[e.Query=0]="Query",e[e.Mutation=1]="Mutation",e[e.Subscription=2]="Subscription"}(l||(l={}));var d=new Map;function p(e){var t;switch(e){case l.Query:t="Query";break;case l.Mutation:t="Mutation";break;case l.Subscription:t="Subscription"}return t}var f=function(e,t){return f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},f(e,t)};function h(e,t){function n(){this.constructor=e}f(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var m=function(){return m=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&(s=new g.ApolloError({graphQLErrors:i})),e=m(m({},e),{loading:r,networkStatus:o,error:s,called:!0}),r){var u=this.previousData.result&&this.previousData.result.data;e.data=u&&l?m(m({},u),l):u||l}else if(s)Object.assign(e,{data:(this.currentObservable.query.getLastResult()||{}).data});else{var c=this.currentObservable.query.options.fetchPolicy;if(t.partialRefetch&&!l&&a&&"cache-only"!==c)return Object.assign(e,{loading:!0,networkStatus:g.NetworkStatus.loading}),e.refetch(),e;e.data=l}}return e.client=this.client,this.previousData.loading=this.previousData.result&&this.previousData.result.loading||!1,this.previousData.result=e,e},t.prototype.handleErrorOrCompleted=function(){var e=this.currentObservable.query;if(e){var t=e.getCurrentResult(),n=t.data,r=t.loading,a=t.error;if(!r){var o=this.getOptions(),i=o.query,s=o.variables,l=o.onCompleted,u=o.onError;if(this.previousOptions&&!this.previousData.loading&&(0,v.L)(this.previousOptions.query,i)&&(0,v.L)(this.previousOptions.variables,s))return;l&&!a?l(n):u&&a&&u(a)}}},t.prototype.removeQuerySubscription=function(){this.currentObservable.subscription&&(this.currentObservable.subscription.unsubscribe(),delete this.currentObservable.subscription)},t.prototype.observableQueryFields=function(){return{variables:this.currentObservable.query.variables,refetch:this.obsRefetch,fetchMore:this.obsFetchMore,updateQuery:this.obsUpdateQuery,startPolling:this.obsStartPolling,stopPolling:this.obsStopPolling,subscribeToMore:this.obsSubscribeToMore}},t}(y);function w(e,t,n){void 0===n&&(n=!1);var r=(0,a.useContext)(i()),o=(0,a.useReducer)((function(e){return e+1}),0),s=o[0],l=o[1],u=t?m(m({},t),{query:e}):{query:e},c=(0,a.useRef)();c.current||(c.current=new b({options:u,context:r,forceUpdate:l}));var d=c.current;d.setOptions(u),d.context=r;var p,f,h,g=(p=function(){return n?d.executeLazy():d.execute()},f={options:m(m({},u),{onError:void 0,onCompleted:void 0}),context:r,tick:s},(h=(0,a.useRef)()).current&&(0,v.L)(f,h.current.key)||(h.current={key:f,value:p()}),h.current.value),y=n?g[1]:g;return(0,a.useEffect)((function(){return d.afterExecute({lazy:n})}),[y.loading,y.networkStatus,y.error,y.data]),(0,a.useEffect)((function(){return function(){return d.cleanup()}}),[]),g}function x(e,t){return w(e,t,!1)}function S(e,t){return w(e,t,!0)}var _=function(e){function t(t){var n=t.options,r=t.context,a=t.result,o=t.setResult,i=e.call(this,n,r)||this;return i.runMutation=function(e){void 0===e&&(e={}),i.onMutationStart();var t=i.generateNewMutationId();return i.mutate(e).then((function(e){return i.onMutationCompleted(e,t),e})).catch((function(e){if(i.onMutationError(e,t),!i.getOptions().onError)throw e}))},i.verifyDocumentType(n.mutation,l.Mutation),i.result=a,i.setResult=o,i.mostRecentMutationId=0,i}return h(t,e),t.prototype.execute=function(e){return this.isMounted=!0,this.verifyDocumentType(this.getOptions().mutation,l.Mutation),e.client=this.refreshClient().client,[this.runMutation,e]},t.prototype.afterExecute=function(){return this.isMounted=!0,this.unmount.bind(this)},t.prototype.cleanup=function(){},t.prototype.mutate=function(e){var t=this.getOptions(),n=t.mutation,r=t.variables,a=t.optimisticResponse,o=t.update,i=t.context,s=void 0===i?{}:i,l=t.awaitRefetchQueries,u=void 0!==l&&l,c=t.fetchPolicy,d=m({},e),p=Object.assign({},r,d.variables);return delete d.variables,this.refreshClient().client.mutate(m({mutation:n,optimisticResponse:a,refetchQueries:d.refetchQueries||this.getOptions().refetchQueries,awaitRefetchQueries:u,update:o,context:s,fetchPolicy:c,variables:p},d))},t.prototype.onMutationStart=function(){this.result.loading||this.getOptions().ignoreResults||this.updateResult({loading:!0,error:void 0,data:void 0,called:!0})},t.prototype.onMutationCompleted=function(e,t){var n=this.getOptions(),r=n.onCompleted,a=n.ignoreResults,o=e.data,i=e.errors,s=i&&i.length>0?new g.ApolloError({graphQLErrors:i}):void 0;this.isMostRecentMutation(t)&&!a&&this.updateResult({called:!0,loading:!1,data:o,error:s}),r&&r(o)},t.prototype.onMutationError=function(e,t){var n=this.getOptions().onError;this.isMostRecentMutation(t)&&this.updateResult({loading:!1,error:e,data:void 0,called:!0}),n&&n(e)},t.prototype.generateNewMutationId=function(){return++this.mostRecentMutationId},t.prototype.isMostRecentMutation=function(e){return this.mostRecentMutationId===e},t.prototype.updateResult=function(e){!this.isMounted||this.previousResult&&(0,v.L)(this.previousResult,e)||(this.setResult(e),this.previousResult=e)},t}(y);function A(e,t){var n=(0,a.useContext)(i()),r=(0,a.useState)({called:!1,loading:!1}),o=r[0],s=r[1],l=t?m(m({},t),{mutation:e}):{mutation:e},u=(0,a.useRef)(),c=(u.current||(u.current=new _({options:l,context:n,result:o,setResult:s})),u.current);return c.setOptions(l),c.context=n,(0,a.useEffect)((function(){return c.afterExecute()})),c.execute(o)}var C=function(e){function t(t){var n=t.options,r=t.context,a=t.setResult,o=e.call(this,n,r)||this;return o.currentObservable={},o.setResult=a,o.initialize(n),o}return h(t,e),t.prototype.execute=function(e){if(!0===this.getOptions().skip)return this.cleanup(),{loading:!1,error:void 0,data:void 0,variables:this.getOptions().variables};var t=e;this.refreshClient().isNew&&(t=this.getLoadingResult());var n=this.getOptions().shouldResubscribe;return"function"==typeof n&&(n=!!n(this.getOptions())),!1!==n&&this.previousOptions&&Object.keys(this.previousOptions).length>0&&(this.previousOptions.subscription!==this.getOptions().subscription||!(0,v.L)(this.previousOptions.variables,this.getOptions().variables)||this.previousOptions.skip!==this.getOptions().skip)&&(this.cleanup(),t=this.getLoadingResult()),this.initialize(this.getOptions()),this.startSubscription(),this.previousOptions=this.getOptions(),m(m({},t),{variables:this.getOptions().variables})},t.prototype.afterExecute=function(){this.isMounted=!0},t.prototype.cleanup=function(){this.endSubscription(),delete this.currentObservable.query},t.prototype.initialize=function(e){this.currentObservable.query||!0===this.getOptions().skip||(this.currentObservable.query=this.refreshClient().client.subscribe({query:e.subscription,variables:e.variables,fetchPolicy:e.fetchPolicy}))},t.prototype.startSubscription=function(){this.currentObservable.subscription||(this.currentObservable.subscription=this.currentObservable.query.subscribe({next:this.updateCurrentData.bind(this),error:this.updateError.bind(this),complete:this.completeSubscription.bind(this)}))},t.prototype.getLoadingResult=function(){return{loading:!0,error:void 0,data:void 0}},t.prototype.updateResult=function(e){this.isMounted&&this.setResult(e)},t.prototype.updateCurrentData=function(e){var t=this.getOptions().onSubscriptionData;this.updateResult({data:e.data,loading:!1,error:void 0}),t&&t({client:this.refreshClient().client,subscriptionData:e})},t.prototype.updateError=function(e){this.updateResult({error:e,loading:!1})},t.prototype.completeSubscription=function(){var e=this.getOptions().onSubscriptionComplete;e&&e(),this.endSubscription()},t.prototype.endSubscription=function(){this.currentObservable.subscription&&(this.currentObservable.subscription.unsubscribe(),delete this.currentObservable.subscription)},t}(y);function T(e,t){var n=(0,a.useContext)(i()),r=t?m(m({},t),{subscription:e}):{subscription:e},o=(0,a.useState)({loading:!r.skip,error:void 0,data:void 0}),s=o[0],l=o[1],u=(0,a.useRef)(),c=(u.current||(u.current=new C({options:r,context:n,setResult:l})),u.current);return c.setOptions(r,!0),c.context=n,(0,a.useEffect)((function(){return c.afterExecute()})),(0,a.useEffect)((function(){return c.cleanup.bind(c)}),[]),c.execute(s)}function k(){var e=a.useContext(i()).client;return(0,o.V1)(e,1),e}var E=function(){function e(){this.queryPromises=new Map,this.queryInfoTrie=new Map}return e.prototype.registerSSRObservable=function(e,t){this.lookupQueryInfo(t).observable=e},e.prototype.getSSRObservable=function(e){return this.lookupQueryInfo(e).observable},e.prototype.addQueryPromise=function(e,t){return this.lookupQueryInfo(e.getOptions()).seen?t():(this.queryPromises.set(e.getOptions(),new Promise((function(t){t(e.fetchData())}))),null)},e.prototype.hasPromises=function(){return this.queryPromises.size>0},e.prototype.consumeAndAwaitPromises=function(){var e=this,t=[];return this.queryPromises.forEach((function(n,r){e.lookupQueryInfo(r).seen=!0,t.push(n)})),this.queryPromises.clear(),Promise.all(t)},e.prototype.lookupQueryInfo=function(e){var t=this.queryInfoTrie,n=e.query,r=e.variables,a=t.get(n)||new Map;t.has(n)||t.set(n,a);var o=JSON.stringify(r),i=a.get(o)||{seen:!1,observable:null};return a.has(o)||a.set(o,i),i},e}()},47923:(e,t,n)=>{"use strict";n.d(t,{A:()=>re});var r=n(65047),a=Math.abs,o=String.fromCharCode,i=Object.assign;function s(e){return e.trim()}function l(e,t,n){return e.replace(t,n)}function u(e,t){return e.indexOf(t)}function c(e,t){return 0|e.charCodeAt(t)}function d(e,t,n){return e.slice(t,n)}function p(e){return e.length}function f(e){return e.length}function h(e,t){return t.push(e),e}var m=1,g=1,v=0,y=0,b=0,w="";function x(e,t,n,r,a,o,i){return{value:e,root:t,parent:n,type:r,props:a,children:o,line:m,column:g,length:i,return:""}}function S(e,t){return i(x("",null,null,"",null,null,0),e,{length:-e.length},t)}function _(){return b=y>0?c(w,--y):0,g--,10===b&&(g=1,m--),b}function A(){return b=y2||E(b)>3?"":" "}function D(e,t){for(;--t&&A()&&!(b<48||b>102||b>57&&b<65||b>70&&b<97););return k(e,T()+(t<6&&32==C()&&32==A()))}function R(e){for(;A();)switch(b){case e:return y;case 34:case 39:34!==e&&39!==e&&R(b);break;case 40:41===e&&R(e);break;case 92:A()}return y}function N(e,t){for(;A()&&e+b!==57&&(e+b!==84||47!==C()););return"/*"+k(t,y-1)+"*"+o(47===e?e:A())}function L(e){for(;!E(C());)A();return k(e,y)}var $="-ms-",j="-moz-",F="-webkit-",B="comm",z="rule",W="decl",V="@keyframes";function U(e,t){for(var n="",r=f(e),a=0;a0&&p(j)-v&&h(b>32?K(j+";",r,n,v-1):K(l(j," ","")+";",r,n,v-2),f);break;case 59:j+=";";default:if(h($=Y(j,t,n,m,g,a,d,M,P=[],R=[],v),i),123===E)if(0===g)G(j,t,$,$,P,i,v,d,R);else switch(99===y&&110===c(j,3)?100:y){case 100:case 108:case 109:case 115:G(e,$,$,r&&h(Y(e,$,$,0,0,a,d,M,a,P=[],v),R),a,R,v,d,r?P:R);break;default:G(j,$,$,$,[""],R,0,d,R)}}m=g=b=0,x=k=1,M=j="",v=s;break;case 58:v=1+p(j),b=w;default:if(x<1)if(123==E)--x;else if(125==E&&0==x++&&125==_())continue;switch(j+=o(E),E*x){case 38:k=g>0?1:(j+="\f",-1);break;case 44:d[m++]=(p(j)-1)*k,k=1;break;case 64:45===C()&&(j+=O(A())),y=C(),g=v=p(M=j+=L(T())),E++;break;case 45:45===w&&2==p(j)&&(x=0)}}return i}function Y(e,t,n,r,o,i,u,c,p,h,m){for(var g=o-1,v=0===o?i:[""],y=f(v),b=0,w=0,S=0;b0?v[_]+" "+A:l(A,/&\f/g,v[_])))&&(p[S++]=C);return x(e,t,n,0===o?z:c,p,h,m)}function X(e,t,n){return x(e,t,n,B,o(b),d(e,2,-2),0)}function K(e,t,n,r){return x(e,t,n,W,d(e,0,r),d(e,r+1,-1),r)}var Q=function(e,t,n){for(var r=0,a=0;r=a,a=C(),38===r&&12===a&&(t[n]=1),!E(a);)A();return k(e,y)},Z=new WeakMap,J=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Z.get(n))&&!r){Z.set(e,!0);for(var a=[],i=function(e,t){return P(function(e,t){var n=-1,r=44;do{switch(E(r)){case 0:38===r&&12===C()&&(t[n]=1),e[n]+=Q(y-1,t,n);break;case 2:e[n]+=O(r);break;case 4:if(44===r){e[++n]=58===C()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=o(r)}}while(r=A());return e}(M(e),t))}(t,a),s=n.props,l=0,u=0;l6)switch(c(e,t+1)){case 109:if(45!==c(e,t+4))break;case 102:return l(e,/(.+:)(.+)-([^]+)/,"$1"+F+"$2-$3$1"+j+(108==c(e,t+3)?"$3":"$2-$3"))+e;case 115:return~u(e,"stretch")?te(l(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==c(e,t+1))break;case 6444:switch(c(e,p(e)-3-(~u(e,"!important")&&10))){case 107:return l(e,":",":"+F)+e;case 101:return l(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+F+(45===c(e,14)?"inline-":"")+"box$3$1"+F+"$2$3$1"+$+"$2box$3")+e}break;case 5936:switch(c(e,t+11)){case 114:return F+e+$+l(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return F+e+$+l(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return F+e+$+l(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return F+e+$+e+e}return e}var ne=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case W:e.return=te(e.value,e.length);break;case V:return U([S(e,{value:l(e.value,"@","@"+F)})],r);case z:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return U([S(e,{props:[l(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return U([S(e,{props:[l(t,/:(plac\w+)/,":"+F+"input-$1")]}),S(e,{props:[l(t,/:(plac\w+)/,":-moz-$1")]}),S(e,{props:[l(t,/:(plac\w+)/,$+"input-$1")]})],r)}return""}))}}],re=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var a,o,i=e.stylisPlugins||ne,s={},l=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n{"use strict";function r(e){for(var t,n=0,r=0,a=e.length;a>=4;++r,a-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(a){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}n.d(t,{A:()=>r})},36289:(e,t,n)=>{"use strict";function r(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}n.d(t,{A:()=>r})},99214:(e,t,n)=>{"use strict";n.d(t,{C:()=>i,T:()=>l,w:()=>s});var r=n(96540),a=n(47923),o=(n(7702),n(71287),r.createContext("undefined"!=typeof HTMLElement?(0,a.A)({key:"css"}):null)),i=o.Provider,s=function(e){return(0,r.forwardRef)((function(t,n){var a=(0,r.useContext)(o);return e(t,a,n)}))},l=r.createContext({})},17437:(e,t,n)=>{"use strict";n.d(t,{AH:()=>u,i7:()=>c,mL:()=>l});var r=n(99214),a=n(96540),o=n(30041),i=n(71287),s=n(7702),l=(n(47923),n(4146),(0,r.w)((function(e,t){var n=e.styles,l=(0,s.J)([n],void 0,a.useContext(r.T)),u=a.useRef();return(0,i.i)((function(){var e=t.key+"-global",n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),r=!1,a=document.querySelector('style[data-emotion="'+e+" "+l.name+'"]');return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),null!==a&&(r=!0,a.setAttribute("data-emotion",e),n.hydrate([a])),u.current=[n,r],function(){n.flush()}}),[t]),(0,i.i)((function(){var e=u.current,n=e[0];if(e[1])e[1]=!1;else{if(void 0!==l.next&&(0,o.sk)(t,l.next,!0),n.tags.length){var r=n.tags[n.tags.length-1].nextElementSibling;n.before=r,n.flush()}t.insert("",l,n,!1)}}),[t,l.name]),null})));function u(){for(var e=arguments.length,t=new Array(e),n=0;n{"use strict";n.d(t,{J:()=>v});var r=n(35137),a={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},o=n(36289),i=!1,s=/[A-Z]|^ms/g,l=/_EMO_([^_]+?)_([^]*?)_EMO_/g,u=function(e){return 45===e.charCodeAt(1)},c=function(e){return null!=e&&"boolean"!=typeof e},d=(0,o.A)((function(e){return u(e)?e:e.replace(s,"-$&").toLowerCase()})),p=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(l,(function(e,t,n){return m={name:t,styles:n,next:m},t}))}return 1===a[e]||u(e)||"number"!=typeof t||0===t?t:t+"px"},f="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function h(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var a=n;if(1===a.anim)return m={name:a.name,styles:a.styles,next:m},a.name;var o=n;if(void 0!==o.styles){var s=o.next;if(void 0!==s)for(;void 0!==s;)m={name:s.name,styles:s.styles,next:m},s=s.next;return o.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var a=0;a{"use strict";n.d(t,{v:()=>r});var r=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t{"use strict";var r;n.d(t,{i:()=>s,s:()=>i});var a=n(96540),o=!!(r||(r=n.t(a,2))).useInsertionEffect&&(r||(r=n.t(a,2))).useInsertionEffect,i=o||function(e){return e()},s=o||a.useLayoutEffect},30041:(e,t,n)=>{"use strict";function r(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}n.d(t,{Rk:()=>r,SF:()=>a,sk:()=>o});var a=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},o=function(e,t,n){a(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+r:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}}},18595:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="windows",r=[],a="f17a",o="M0 93.7l183.6-25.3v177.4H0V93.7zm0 324.6l183.6 25.3V268.4H0v149.9zm203.8 28L448 480V268.4H203.8v177.9zm0-380.6v180.1H448V32L203.8 65.7z";t.definition={prefix:"fab",iconName:n,icon:[448,512,r,a,o]},t.faWindows=t.definition,t.prefix="fab",t.iconName=n,t.width=448,t.height=512,t.ligatures=r,t.unicode=a,t.svgPathData=o,t.aliases=r},20982:(e,t,n)=>{"use strict";n.r(t),n.d(t,{FontAwesomeIcon:()=>kn});const r=()=>{};let a={},o={},i=null,s={mark:r,measure:r};try{"undefined"!=typeof window&&(a=window),"undefined"!=typeof document&&(o=document),"undefined"!=typeof MutationObserver&&(i=MutationObserver),"undefined"!=typeof performance&&(s=performance)}catch(e){}const{userAgent:l=""}=a.navigator||{},u=a,c=o,d=i,p=s,f=(u.document,!!c.documentElement&&!!c.head&&"function"==typeof c.addEventListener&&"function"==typeof c.createElement),h=~l.indexOf("MSIE")||~l.indexOf("Trident/");var m="classic",g="duotone",v="sharp",y="sharp-duotone",b=[m,g,v,y],w={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid"}},x=[1,2,3,4,5,6,7,8,9,10],S=x.concat([11,12,13,14,15,16,17,18,19,20]),_={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},A=[...Object.keys({classic:["fas","far","fal","fat"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds"]}),"solid","regular","light","thin","duotone","brands","2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",_.GROUP,_.SWAP_OPACITY,_.PRIMARY,_.SECONDARY].concat(x.map((e=>"".concat(e,"x")))).concat(S.map((e=>"w-".concat(e))));const C="___FONT_AWESOME___",T=16,k="fa",E="svg-inline--fa",M="data-fa-i2svg",P="data-fa-pseudo-element",O="data-fa-pseudo-element-pending",I="data-prefix",D="data-icon",R="fontawesome-i2svg",N="async",L=["HTML","HEAD","STYLE","SCRIPT"],$=(()=>{try{return!0}catch(e){return!1}})(),j=[m,v,y];function F(e){return new Proxy(e,{get:(e,t)=>t in e?e[t]:e[m]})}const B={...w};B[m]={...w[m],fak:"kit","fa-kit":"kit",fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"};const z=F(B),W={classic:{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab"},sharp:{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"},"sharp-duotone":{solid:"fasds"}};W[m]={...W[m],kit:"fak","kit-duotone":"fakd"};const V=F(W),U={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid"}};U[m]={...U[m],fak:"fa-kit"};const H=F(U),q={classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds"}};q[m]={...q[m],"fa-kit":"fak"};const G=F(q),Y=/fa(s|r|l|t|d|b|k|kd|ss|sr|sl|st|sds)?[\-\ ]/,X="fa-layers-text",K=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i,Q=(F({classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds"}}),["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"]),Z=_,J=new Set;Object.keys(V[m]).map(J.add.bind(J)),Object.keys(V[v]).map(J.add.bind(J)),Object.keys(V[y]).map(J.add.bind(J));const ee=["kit",...A],te=u.FontAwesomeConfig||{};c&&"function"==typeof c.querySelector&&[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach((e=>{let[t,n]=e;const r=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=c.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(t));null!=r&&(te[n]=r)}));const ne={styleDefault:"solid",familyDefault:"classic",cssPrefix:k,replacementClass:E,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};te.familyPrefix&&(te.cssPrefix=te.familyPrefix);const re={...ne,...te};re.autoReplaceSvg||(re.observeMutations=!1);const ae={};Object.keys(ne).forEach((e=>{Object.defineProperty(ae,e,{enumerable:!0,set:function(t){re[e]=t,oe.forEach((e=>e(ae)))},get:function(){return re[e]}})})),Object.defineProperty(ae,"familyPrefix",{enumerable:!0,set:function(e){re.cssPrefix=e,oe.forEach((e=>e(ae)))},get:function(){return re.cssPrefix}}),u.FontAwesomeConfig=ae;const oe=[],ie=T,se={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1},le="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function ue(){let e=12,t="";for(;e-- >0;)t+=le[62*Math.random()|0];return t}function ce(e){const t=[];for(let n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function de(e){return e.classList?ce(e.classList):(e.getAttribute("class")||"").split(" ").filter((e=>e))}function pe(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function fe(e){return Object.keys(e||{}).reduce(((t,n)=>t+"".concat(n,": ").concat(e[n].trim(),";")),"")}function he(e){return e.size!==se.size||e.x!==se.x||e.y!==se.y||e.rotate!==se.rotate||e.flipX||e.flipY}var me=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Free";\n --fa-font-light: normal 300 1em/1 "Font Awesome 6 Pro";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Pro";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-duotone-solid: normal 900 1em/1 "Font Awesome 6 Sharp Duotone";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n overflow: visible;\n box-sizing: content-box;\n}\n\n.svg-inline--fa {\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n transform: scale(var(--fa-counter-scale, 0.25));\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: 0.625em;\n line-height: 0.1em;\n vertical-align: 0.225em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n line-height: 0.0833333337em;\n vertical-align: 0.125em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n line-height: 0.0714285718em;\n vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n font-size: 1.25em;\n line-height: 0.05em;\n vertical-align: -0.075em;\n}\n\n.fa-xl {\n font-size: 1.5em;\n line-height: 0.0416666682em;\n vertical-align: -0.125em;\n}\n\n.fa-2xl {\n font-size: 2em;\n line-height: 0.03125em;\n vertical-align: -0.1875em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: var(--fa-li-margin, 2.5em);\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: calc(-1 * var(--fa-li-width, 2em));\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.08em);\n padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n float: left;\n margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n float: right;\n margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n animation-name: fa-beat;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n animation-name: fa-bounce;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n animation-name: fa-fade;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n animation-name: fa-beat-fade;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n animation-name: fa-flip;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n animation-name: fa-shake;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n animation-name: fa-spin;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 2s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n animation-name: fa-spin;\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n animation-delay: -1ms;\n animation-duration: 1ms;\n animation-iteration-count: 1;\n transition-delay: 0s;\n transition-duration: 0s;\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n transform: scale(1);\n }\n 45% {\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-bounce {\n 0% {\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-flip {\n 50% {\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-shake {\n 0% {\n transform: rotate(-15deg);\n }\n 4% {\n transform: rotate(15deg);\n }\n 8%, 24% {\n transform: rotate(-18deg);\n }\n 12%, 28% {\n transform: rotate(18deg);\n }\n 16% {\n transform: rotate(-22deg);\n }\n 20% {\n transform: rotate(22deg);\n }\n 32% {\n transform: rotate(-12deg);\n }\n 36% {\n transform: rotate(12deg);\n }\n 40%, 100% {\n transform: rotate(0deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n transform: rotate(var(--fa-rotate-angle, 0));\n}\n\n.fa-stack {\n display: inline-block;\n vertical-align: middle;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n z-index: var(--fa-stack-z-index, auto);\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse,\n.fa-duotone.fa-inverse {\n color: var(--fa-inverse, #fff);\n}';function ge(){const e=k,t=E,n=ae.cssPrefix,r=ae.replacementClass;let a=me;if(n!==e||r!==t){const o=new RegExp("\\.".concat(e,"\\-"),"g"),i=new RegExp("\\--".concat(e,"\\-"),"g"),s=new RegExp("\\.".concat(t),"g");a=a.replace(o,".".concat(n,"-")).replace(i,"--".concat(n,"-")).replace(s,".".concat(r))}return a}let ve=!1;function ye(){ae.autoAddCss&&!ve&&(function(e){if(!e||!f)return;const t=c.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;const n=c.head.childNodes;let r=null;for(let e=n.length-1;e>-1;e--){const t=n[e],a=(t.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(a)>-1&&(r=t)}c.head.insertBefore(t,r)}(ge()),ve=!0)}var be={mixout:()=>({dom:{css:ge,insertCss:ye}}),hooks:()=>({beforeDOMElementCreation(){ye()},beforeI2svg(){ye()}})};const we=u||{};we[C]||(we[C]={}),we[C].styles||(we[C].styles={}),we[C].hooks||(we[C].hooks={}),we[C].shims||(we[C].shims=[]);var xe=we[C];const Se=[],_e=function(){c.removeEventListener("DOMContentLoaded",_e),Ae=1,Se.map((e=>e()))};let Ae=!1;function Ce(e){const{tag:t,attributes:n={},children:r=[]}=e;return"string"==typeof e?pe(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce(((t,n)=>t+"".concat(n,'="').concat(pe(e[n]),'" ')),"").trim()}(n),">").concat(r.map(Ce).join(""),"")}function Te(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}f&&(Ae=(c.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(c.readyState),Ae||c.addEventListener("DOMContentLoaded",_e));var ke=function(e,t,n,r){var a,o,i,s=Object.keys(e),l=s.length,u=void 0!==r?function(e,t){return function(n,r,a,o){return e.call(t,n,r,a,o)}}(t,r):t;for(void 0===n?(a=1,i=e[s[0]]):(a=0,i=n);a=55296&&a<=56319&&n{const r=e[n];return r.icon?t[r.iconName]=r.icon:t[n]=r,t}),{})}function Pe(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{skipHooks:r=!1}=n,a=Me(t);"function"!=typeof xe.hooks.addPack||r?xe.styles[e]={...xe.styles[e]||{},...a}:xe.hooks.addPack(e,Me(t)),"fas"===e&&Pe("fa",t)}const{styles:Oe,shims:Ie}=xe,De={[m]:Object.values(H[m]),[v]:Object.values(H[v]),[y]:Object.values(H[y])};let Re=null,Ne={},Le={},$e={},je={},Fe={};const Be={[m]:Object.keys(z[m]),[v]:Object.keys(z[v]),[y]:Object.keys(z[y])};const ze=()=>{const e=e=>ke(Oe,((t,n,r)=>(t[r]=ke(n,e,{}),t)),{});Ne=e(((e,t,n)=>(t[3]&&(e[t[3]]=n),t[2]&&t[2].filter((e=>"number"==typeof e)).forEach((t=>{e[t.toString(16)]=n})),e))),Le=e(((e,t,n)=>(e[n]=n,t[2]&&t[2].filter((e=>"string"==typeof e)).forEach((t=>{e[t]=n})),e))),Fe=e(((e,t,n)=>{const r=t[2];return e[n]=n,r.forEach((t=>{e[t]=n})),e}));const t="far"in Oe||ae.autoFetchSvg,n=ke(Ie,((e,n)=>{const r=n[0];let a=n[1];const o=n[2];return"far"!==a||t||(a="fas"),"string"==typeof r&&(e.names[r]={prefix:a,iconName:o}),"number"==typeof r&&(e.unicodes[r.toString(16)]={prefix:a,iconName:o}),e}),{names:{},unicodes:{}});$e=n.names,je=n.unicodes,Re=Ye(ae.styleDefault,{family:ae.familyDefault})};var We;function Ve(e,t){return(Ne[e]||{})[t]}function Ue(e,t){return(Fe[e]||{})[t]}function He(e){return $e[e]||{prefix:null,iconName:null}}function qe(){return Re}We=e=>{Re=Ye(e.styleDefault,{family:ae.familyDefault})},oe.push(We),ze();const Ge=()=>({prefix:null,iconName:null,rest:[]});function Ye(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{family:n=m}=t,r=z[n][e],a=V[n][e]||V[n][r],o=e in xe.styles?e:null;return a||o||null}const Xe={[m]:Object.keys(H[m]),[v]:Object.keys(H[v]),[y]:Object.keys(H[y])};function Ke(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{skipLookups:n=!1}=t,r={[m]:"".concat(ae.cssPrefix,"-").concat(m),[v]:"".concat(ae.cssPrefix,"-").concat(v),[y]:"".concat(ae.cssPrefix,"-").concat(y)};let a=null,o=m;const i=b.filter((e=>e!==g));i.forEach((t=>{(e.includes(r[t])||e.some((e=>Xe[t].includes(e))))&&(o=t)}));const s=e.reduce(((e,t)=>{const s=function(e,t){const n=t.split("-"),r=n[0],a=n.slice(1).join("-");return r!==e||""===a||(o=a,~ee.indexOf(o))?null:a;var o}(ae.cssPrefix,t);if(Oe[t]?(t=De[o].includes(t)?G[o][t]:t,a=t,e.prefix=t):Be[o].indexOf(t)>-1?(a=t,e.prefix=Ye(t,{family:o})):s?e.iconName=s:t===ae.replacementClass||i.some((e=>t===r[e]))||e.rest.push(t),!n&&e.prefix&&e.iconName){const t="fa"===a?He(e.iconName):{},n=Ue(e.prefix,e.iconName);t.prefix&&(a=null),e.iconName=t.iconName||n||e.iconName,e.prefix=t.prefix||e.prefix,"far"!==e.prefix||Oe.far||!Oe.fas||ae.autoFetchSvg||(e.prefix="fas")}return e}),Ge());return(e.includes("fa-brands")||e.includes("fab"))&&(s.prefix="fab"),(e.includes("fa-duotone")||e.includes("fad"))&&(s.prefix="fad"),s.prefix||o!==v||!Oe.fass&&!ae.autoFetchSvg||(s.prefix="fass",s.iconName=Ue(s.prefix,s.iconName)||s.iconName),s.prefix||o!==y||!Oe.fasds&&!ae.autoFetchSvg||(s.prefix="fasds",s.iconName=Ue(s.prefix,s.iconName)||s.iconName),"fa"!==s.prefix&&"fa"!==a||(s.prefix=qe()||"fas"),s}let Qe=[],Ze={};const Je={},et=Object.keys(Je);function tt(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),a=2;a{t=e.apply(null,[t,...r])})),t}function nt(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r{e.apply(null,n)}))}function rt(){const e=arguments[0],t=Array.prototype.slice.call(arguments,1);return Je[e]?Je[e].apply(null,t):void 0}function at(e){"fa"===e.prefix&&(e.prefix="fas");let{iconName:t}=e;const n=e.prefix||qe();if(t)return t=Ue(n,t)||t,Te(ot.definitions,n,t)||Te(xe.styles,n,t)}const ot=new class{constructor(){this.definitions={}}add(){for(var e=arguments.length,t=new Array(e),n=0;n{this.definitions[e]={...this.definitions[e]||{},...r[e]},Pe(e,r[e]);const t=H[m][e];t&&Pe(t,r[e]),ze()}))}reset(){this.definitions={}}_pullDefinitions(e,t){const n=t.prefix&&t.iconName&&t.icon?{0:t}:t;return Object.keys(n).map((t=>{const{prefix:r,iconName:a,icon:o}=n[t],i=o[2];e[r]||(e[r]={}),i.length>0&&i.forEach((t=>{"string"==typeof t&&(e[r][t]=o)})),e[r][a]=o})),e}},it={i2svg:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return f?(nt("beforeI2svg",e),rt("pseudoElements2svg",e),rt("i2svg",e)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{autoReplaceSvgRoot:t}=e;var n;!1===ae.autoReplaceSvg&&(ae.autoReplaceSvg=!0),ae.observeMutations=!0,n=()=>{ut({autoReplaceSvgRoot:t}),nt("watch",e)},f&&(Ae?setTimeout(n,0):Se.push(n))}},st={icon:e=>{if(null===e)return null;if("object"==typeof e&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:Ue(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&2===e.length){const t=0===e[1].indexOf("fa-")?e[1].slice(3):e[1],n=Ye(e[0]);return{prefix:n,iconName:Ue(n,t)||t}}if("string"==typeof e&&(e.indexOf("".concat(ae.cssPrefix,"-"))>-1||e.match(Y))){const t=Ke(e.split(" "),{skipLookups:!0});return{prefix:t.prefix||qe(),iconName:Ue(t.prefix,t.iconName)||t.iconName}}if("string"==typeof e){const t=qe();return{prefix:t,iconName:Ue(t,e)||e}}}},lt={noAuto:()=>{ae.autoReplaceSvg=!1,ae.observeMutations=!1,nt("noAuto")},config:ae,dom:it,parse:st,library:ot,findIconDefinition:at,toHtml:Ce},ut=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{autoReplaceSvgRoot:t=c}=e;(Object.keys(xe.styles).length>0||ae.autoFetchSvg)&&f&&ae.autoReplaceSvg&<.dom.i2svg({node:t})};function ct(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map((e=>Ce(e)))}}),Object.defineProperty(e,"node",{get:function(){if(!f)return;const t=c.createElement("div");return t.innerHTML=e.html,t.children}}),e}function dt(e){const{icons:{main:t,mask:n},prefix:r,iconName:a,transform:o,symbol:i,title:s,maskId:l,titleId:u,extra:c,watchable:d=!1}=e,{width:p,height:f}=n.found?n:t,h="fak"===r,m=[ae.replacementClass,a?"".concat(ae.cssPrefix,"-").concat(a):""].filter((e=>-1===c.classes.indexOf(e))).filter((e=>""!==e||!!e)).concat(c.classes).join(" ");let g={children:[],attributes:{...c.attributes,"data-prefix":r,"data-icon":a,class:m,role:c.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(p," ").concat(f)}};const v=h&&!~c.classes.indexOf("fa-fw")?{width:"".concat(p/f*16*.0625,"em")}:{};d&&(g.attributes[M]=""),s&&(g.children.push({tag:"title",attributes:{id:g.attributes["aria-labelledby"]||"title-".concat(u||ue())},children:[s]}),delete g.attributes.title);const y={...g,prefix:r,iconName:a,main:t,mask:n,maskId:l,transform:o,symbol:i,styles:{...v,...c.styles}},{children:b,attributes:w}=n.found&&t.found?rt("generateAbstractMask",y)||{children:[],attributes:{}}:rt("generateAbstractIcon",y)||{children:[],attributes:{}};return y.children=b,y.attributes=w,i?function(e){let{prefix:t,iconName:n,children:r,attributes:a,symbol:o}=e;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:{...a,id:!0===o?"".concat(t,"-").concat(ae.cssPrefix,"-").concat(n):o},children:r}]}]}(y):function(e){let{children:t,main:n,mask:r,attributes:a,styles:o,transform:i}=e;if(he(i)&&n.found&&!r.found){const{width:e,height:t}=n,r={x:e/t/2,y:.5};a.style=fe({...o,"transform-origin":"".concat(r.x+i.x/16,"em ").concat(r.y+i.y/16,"em")})}return[{tag:"svg",attributes:a,children:t}]}(y)}function pt(e){const{content:t,width:n,height:r,transform:a,title:o,extra:i,watchable:s=!1}=e,l={...i.attributes,...o?{title:o}:{},class:i.classes.join(" ")};s&&(l[M]="");const u={...i.styles};he(a)&&(u.transform=function(e){let{transform:t,width:n=T,height:r=T,startCentered:a=!1}=e,o="";return o+=a&&h?"translate(".concat(t.x/ie-n/2,"em, ").concat(t.y/ie-r/2,"em) "):a?"translate(calc(-50% + ".concat(t.x/ie,"em), calc(-50% + ").concat(t.y/ie,"em)) "):"translate(".concat(t.x/ie,"em, ").concat(t.y/ie,"em) "),o+="scale(".concat(t.size/ie*(t.flipX?-1:1),", ").concat(t.size/ie*(t.flipY?-1:1),") "),o+="rotate(".concat(t.rotate,"deg) "),o}({transform:a,startCentered:!0,width:n,height:r}),u["-webkit-transform"]=u.transform);const c=fe(u);c.length>0&&(l.style=c);const d=[];return d.push({tag:"span",attributes:l,children:[t]}),o&&d.push({tag:"span",attributes:{class:"sr-only"},children:[o]}),d}const{styles:ft}=xe;function ht(e){const t=e[0],n=e[1],[r]=e.slice(4);let a=null;return a=Array.isArray(r)?{tag:"g",attributes:{class:"".concat(ae.cssPrefix,"-").concat(Z.GROUP)},children:[{tag:"path",attributes:{class:"".concat(ae.cssPrefix,"-").concat(Z.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(ae.cssPrefix,"-").concat(Z.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}},{found:!0,width:t,height:n,icon:a}}const mt={found:!1,width:512,height:512};function gt(e,t){let n=t;return"fa"===t&&null!==ae.styleDefault&&(t=qe()),new Promise(((r,a)=>{if("fa"===n){const n=He(e)||{};e=n.iconName||e,t=n.prefix||t}if(e&&t&&ft[t]&&ft[t][e])return r(ht(ft[t][e]));!function(e,t){$||ae.showMissingIcons||!e||console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}(e,t),r({...mt,icon:ae.showMissingIcons&&e&&rt("missingIconAbstract")||{}})}))}const vt=()=>{},yt=ae.measurePerformance&&p&&p.mark&&p.measure?p:{mark:vt,measure:vt},bt='FA "6.6.0"',wt=e=>{yt.mark("".concat(bt," ").concat(e," ends")),yt.measure("".concat(bt," ").concat(e),"".concat(bt," ").concat(e," begins"),"".concat(bt," ").concat(e," ends"))};var xt={begin:e=>(yt.mark("".concat(bt," ").concat(e," begins")),()=>wt(e)),end:wt};const St=()=>{};function _t(e){return"string"==typeof(e.getAttribute?e.getAttribute(M):null)}function At(e){return c.createElementNS("http://www.w3.org/2000/svg",e)}function Ct(e){return c.createElement(e)}function Tt(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{ceFn:n=("svg"===e.tag?At:Ct)}=t;if("string"==typeof e)return c.createTextNode(e);const r=n(e.tag);return Object.keys(e.attributes||[]).forEach((function(t){r.setAttribute(t,e.attributes[t])})),(e.children||[]).forEach((function(e){r.appendChild(Tt(e,{ceFn:n}))})),r}const kt={replace:function(e){const t=e[0];if(t.parentNode)if(e[1].forEach((e=>{t.parentNode.insertBefore(Tt(e),t)})),null===t.getAttribute(M)&&ae.keepOriginalSource){let e=c.createComment(function(e){let t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}(t));t.parentNode.replaceChild(e,t)}else t.remove()},nest:function(e){const t=e[0],n=e[1];if(~de(t).indexOf(ae.replacementClass))return kt.replace(e);const r=new RegExp("".concat(ae.cssPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){const e=n[0].attributes.class.split(" ").reduce(((e,t)=>(t===ae.replacementClass||t.match(r)?e.toSvg.push(t):e.toNode.push(t),e)),{toNode:[],toSvg:[]});n[0].attributes.class=e.toSvg.join(" "),0===e.toNode.length?t.removeAttribute("class"):t.setAttribute("class",e.toNode.join(" "))}const a=n.map((e=>Ce(e))).join("\n");t.setAttribute(M,""),t.innerHTML=a}};function Et(e){e()}function Mt(e,t){const n="function"==typeof t?t:St;if(0===e.length)n();else{let t=Et;ae.mutateApproach===N&&(t=u.requestAnimationFrame||Et),t((()=>{const t=!0===ae.autoReplaceSvg?kt.replace:kt[ae.autoReplaceSvg]||kt.replace,r=xt.begin("mutate");e.map(t),r(),n()}))}}let Pt=!1;function Ot(){Pt=!0}function It(){Pt=!1}let Dt=null;function Rt(e){if(!d)return;if(!ae.observeMutations)return;const{treeCallback:t=St,nodeCallback:n=St,pseudoElementsCallback:r=St,observeMutationsRoot:a=c}=e;Dt=new d((e=>{if(Pt)return;const a=qe();ce(e).forEach((e=>{if("childList"===e.type&&e.addedNodes.length>0&&!_t(e.addedNodes[0])&&(ae.searchPseudoElements&&r(e.target),t(e.target)),"attributes"===e.type&&e.target.parentNode&&ae.searchPseudoElements&&r(e.target.parentNode),"attributes"===e.type&&_t(e.target)&&~Q.indexOf(e.attributeName))if("class"===e.attributeName&&function(e){const t=e.getAttribute?e.getAttribute(I):null,n=e.getAttribute?e.getAttribute(D):null;return t&&n}(e.target)){const{prefix:t,iconName:n}=Ke(de(e.target));e.target.setAttribute(I,t||a),n&&e.target.setAttribute(D,n)}else(o=e.target)&&o.classList&&o.classList.contains&&o.classList.contains(ae.replacementClass)&&n(e.target);var o}))})),f&&Dt.observe(a,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}function Nt(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0};const{iconName:n,prefix:r,rest:a}=function(e){const t=e.getAttribute("data-prefix"),n=e.getAttribute("data-icon"),r=void 0!==e.innerText?e.innerText.trim():"";let a=Ke(de(e));return a.prefix||(a.prefix=qe()),t&&n&&(a.prefix=t,a.iconName=n),a.iconName&&a.prefix||(a.prefix&&r.length>0&&(a.iconName=(o=a.prefix,i=e.innerText,(Le[o]||{})[i]||Ve(a.prefix,Ee(e.innerText)))),!a.iconName&&ae.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(a.iconName=e.firstChild.data)),a;var o,i}(e),o=function(e){const t=ce(e.attributes).reduce(((e,t)=>("class"!==e.name&&"style"!==e.name&&(e[t.name]=t.value),e)),{}),n=e.getAttribute("title"),r=e.getAttribute("data-fa-title-id");return ae.autoA11y&&(n?t["aria-labelledby"]="".concat(ae.replacementClass,"-title-").concat(r||ue()):(t["aria-hidden"]="true",t.focusable="false")),t}(e),i=tt("parseNodeAttributes",{},e);let s=t.styleParser?function(e){const t=e.getAttribute("style");let n=[];return t&&(n=t.split(";").reduce(((e,t)=>{const n=t.split(":"),r=n[0],a=n.slice(1);return r&&a.length>0&&(e[r]=a.join(":").trim()),e}),{})),n}(e):[];return{iconName:n,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:r,transform:se,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:a,styles:s,attributes:o},...i}}const{styles:Lt}=xe;function $t(e){const t="nest"===ae.autoReplaceSvg?Nt(e,{styleParser:!1}):Nt(e);return~t.extra.classes.indexOf(X)?rt("generateLayersText",e,t):rt("generateSvgReplacementMutation",e,t)}let jt=new Set;function Ft(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!f)return Promise.resolve();const n=c.documentElement.classList,r=e=>n.add("".concat(R,"-").concat(e)),a=e=>n.remove("".concat(R,"-").concat(e)),o=ae.autoFetchSvg?jt:j.map((e=>"fa-".concat(e))).concat(Object.keys(Lt));o.includes("fa")||o.push("fa");const i=[".".concat(X,":not([").concat(M,"])")].concat(o.map((e=>".".concat(e,":not([").concat(M,"])")))).join(", ");if(0===i.length)return Promise.resolve();let s=[];try{s=ce(e.querySelectorAll(i))}catch(e){}if(!(s.length>0))return Promise.resolve();r("pending"),a("complete");const l=xt.begin("onTree"),u=s.reduce(((e,t)=>{try{const n=$t(t);n&&e.push(n)}catch(e){$||"MissingIcon"===e.name&&console.error(e)}return e}),[]);return new Promise(((e,n)=>{Promise.all(u).then((n=>{Mt(n,(()=>{r("active"),r("complete"),a("pending"),"function"==typeof t&&t(),l(),e()}))})).catch((e=>{l(),n(e)}))}))}function Bt(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;$t(e).then((e=>{e&&Mt([e],t)}))}j.map((e=>{jt.add("fa-".concat(e))})),Object.keys(z[m]).map(jt.add.bind(jt)),Object.keys(z[v]).map(jt.add.bind(jt)),Object.keys(z[y]).map(jt.add.bind(jt)),jt=[...jt];const zt=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{transform:n=se,symbol:r=!1,mask:a=null,maskId:o=null,title:i=null,titleId:s=null,classes:l=[],attributes:u={},styles:c={}}=t;if(!e)return;const{prefix:d,iconName:p,icon:f}=e;return ct({type:"icon",...e},(()=>(nt("beforeDOMElementCreation",{iconDefinition:e,params:t}),ae.autoA11y&&(i?u["aria-labelledby"]="".concat(ae.replacementClass,"-title-").concat(s||ue()):(u["aria-hidden"]="true",u.focusable="false")),dt({icons:{main:ht(f),mask:a?ht(a.icon):{found:!1,width:null,height:null,icon:{}}},prefix:d,iconName:p,transform:{...se,...n},symbol:r,title:i,maskId:o,titleId:s,extra:{attributes:u,styles:c,classes:l}}))))};var Wt={mixout(){return{icon:(e=zt,function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=(t||{}).icon?t:at(t||{});let{mask:a}=n;return a&&(a=(a||{}).icon?a:at(a||{})),e(r,{...n,mask:a})})};var e},hooks:()=>({mutationObserverCallbacks:e=>(e.treeCallback=Ft,e.nodeCallback=Bt,e)}),provides(e){e.i2svg=function(e){const{node:t=c,callback:n=(()=>{})}=e;return Ft(t,n)},e.generateSvgReplacementMutation=function(e,t){const{iconName:n,title:r,titleId:a,prefix:o,transform:i,symbol:s,mask:l,maskId:u,extra:c}=t;return new Promise(((t,d)=>{Promise.all([gt(n,o),l.iconName?gt(l.iconName,l.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then((l=>{let[d,p]=l;t([e,dt({icons:{main:d,mask:p},prefix:o,iconName:n,transform:i,symbol:s,maskId:u,title:r,titleId:a,extra:c,watchable:!0})])})).catch(d)}))},e.generateAbstractIcon=function(e){let{children:t,attributes:n,main:r,transform:a,styles:o}=e;const i=fe(o);let s;return i.length>0&&(n.style=i),he(a)&&(s=rt("generateAbstractTransformGrouping",{main:r,transform:a,containerWidth:r.width,iconWidth:r.width})),t.push(s||r.icon),{children:t,attributes:n}}}},Vt={mixout:()=>({layer(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{classes:n=[]}=t;return ct({type:"layer"},(()=>{nt("beforeDOMElementCreation",{assembler:e,params:t});let r=[];return e((e=>{Array.isArray(e)?e.map((e=>{r=r.concat(e.abstract)})):r=r.concat(e.abstract)})),[{tag:"span",attributes:{class:["".concat(ae.cssPrefix,"-layers"),...n].join(" ")},children:r}]}))}})},Ut={mixout:()=>({counter(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{title:n=null,classes:r=[],attributes:a={},styles:o={}}=t;return ct({type:"counter",content:e},(()=>(nt("beforeDOMElementCreation",{content:e,params:t}),function(e){const{content:t,title:n,extra:r}=e,a={...r.attributes,...n?{title:n}:{},class:r.classes.join(" ")},o=fe(r.styles);o.length>0&&(a.style=o);const i=[];return i.push({tag:"span",attributes:a,children:[t]}),n&&i.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),i}({content:e.toString(),title:n,extra:{attributes:a,styles:o,classes:["".concat(ae.cssPrefix,"-layers-counter"),...r]}}))))}})},Ht={mixout:()=>({text(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{transform:n=se,title:r=null,classes:a=[],attributes:o={},styles:i={}}=t;return ct({type:"text",content:e},(()=>(nt("beforeDOMElementCreation",{content:e,params:t}),pt({content:e,transform:{...se,...n},title:r,extra:{attributes:o,styles:i,classes:["".concat(ae.cssPrefix,"-layers-text"),...a]}}))))}}),provides(e){e.generateLayersText=function(e,t){const{title:n,transform:r,extra:a}=t;let o=null,i=null;if(h){const t=parseInt(getComputedStyle(e).fontSize,10),n=e.getBoundingClientRect();o=n.width/t,i=n.height/t}return ae.autoA11y&&!n&&(a.attributes["aria-hidden"]="true"),Promise.resolve([e,pt({content:e.innerHTML,width:o,height:i,transform:r,title:n,extra:a,watchable:!0})])}}};const qt=new RegExp('"',"ug"),Gt=[1105920,1112319],Yt={FontAwesome:{normal:"fas",400:"fas"},"Font Awesome 6 Free":{900:"fas",400:"far"},"Font Awesome 6 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 6 Brands":{400:"fab",normal:"fab"},"Font Awesome 6 Duotone":{900:"fad"},"Font Awesome 6 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 6 Sharp Duotone":{900:"fasds"},"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"},"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}},Xt=Object.keys(Yt).reduce(((e,t)=>(e[t.toLowerCase()]=Yt[t],e)),{}),Kt=Object.keys(Xt).reduce(((e,t)=>{const n=Xt[t];return e[t]=n[900]||[...Object.entries(n)][0][1],e}),{});function Qt(e,t){const n="".concat(O).concat(t.replace(":","-"));return new Promise(((r,a)=>{if(null!==e.getAttribute(n))return r();const o=ce(e.children).filter((e=>e.getAttribute(P)===t))[0],i=u.getComputedStyle(e,t),s=i.getPropertyValue("font-family"),l=s.match(K),d=i.getPropertyValue("font-weight"),p=i.getPropertyValue("content");if(o&&!l)return e.removeChild(o),r();if(l&&"none"!==p&&""!==p){const u=i.getPropertyValue("content");let p=function(e,t){const n=e.replace(/^['"]|['"]$/g,"").toLowerCase(),r=parseInt(t),a=isNaN(r)?"normal":r;return(Xt[n]||{})[a]||Kt[n]}(s,d);const{value:f,isSecondary:h}=function(e){const t=e.replace(qt,""),n=function(e,t){const n=e.length;let r,a=e.charCodeAt(0);return a>=55296&&a<=56319&&n>1&&(r=e.charCodeAt(1),r>=56320&&r<=57343)?1024*(a-55296)+r-56320+65536:a}(t),r=n>=Gt[0]&&n<=Gt[1],a=2===t.length&&t[0]===t[1];return{value:Ee(a?t[0]:t),isSecondary:r||a}}(u),m=l[0].startsWith("FontAwesome");let g=Ve(p,f),v=g;if(m){const e=function(e){const t=je[e],n=Ve("fas",e);return t||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}(f);e.iconName&&e.prefix&&(g=e.iconName,p=e.prefix)}if(!g||h||o&&o.getAttribute(I)===p&&o.getAttribute(D)===v)r();else{e.setAttribute(n,v),o&&e.removeChild(o);const i={iconName:null,title:null,titleId:null,prefix:null,transform:se,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}},{extra:s}=i;s.attributes[P]=t,gt(g,p).then((a=>{const o=dt({...i,icons:{main:a,mask:Ge()},prefix:p,iconName:v,extra:s,watchable:!0}),l=c.createElementNS("http://www.w3.org/2000/svg","svg");"::before"===t?e.insertBefore(l,e.firstChild):e.appendChild(l),l.outerHTML=o.map((e=>Ce(e))).join("\n"),e.removeAttribute(n),r()})).catch(a)}}else r()}))}function Zt(e){return Promise.all([Qt(e,"::before"),Qt(e,"::after")])}function Jt(e){return!(e.parentNode===document.head||~L.indexOf(e.tagName.toUpperCase())||e.getAttribute(P)||e.parentNode&&"svg"===e.parentNode.tagName)}function en(e){if(f)return new Promise(((t,n)=>{const r=ce(e.querySelectorAll("*")).filter(Jt).map(Zt),a=xt.begin("searchPseudoElements");Ot(),Promise.all(r).then((()=>{a(),It(),t()})).catch((()=>{a(),It(),n()}))}))}var tn={hooks:()=>({mutationObserverCallbacks:e=>(e.pseudoElementsCallback=en,e)}),provides(e){e.pseudoElements2svg=function(e){const{node:t=c}=e;ae.searchPseudoElements&&en(t)}}};let nn=!1;const rn=e=>e.toLowerCase().split(" ").reduce(((e,t)=>{const n=t.toLowerCase().split("-"),r=n[0];let a=n.slice(1).join("-");if(r&&"h"===a)return e.flipX=!0,e;if(r&&"v"===a)return e.flipY=!0,e;if(a=parseFloat(a),isNaN(a))return e;switch(r){case"grow":e.size=e.size+a;break;case"shrink":e.size=e.size-a;break;case"left":e.x=e.x-a;break;case"right":e.x=e.x+a;break;case"up":e.y=e.y-a;break;case"down":e.y=e.y+a;break;case"rotate":e.rotate=e.rotate+a}return e}),{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0});var an={mixout:()=>({parse:{transform:e=>rn(e)}}),hooks:()=>({parseNodeAttributes(e,t){const n=t.getAttribute("data-fa-transform");return n&&(e.transform=rn(n)),e}}),provides(e){e.generateAbstractTransformGrouping=function(e){let{main:t,transform:n,containerWidth:r,iconWidth:a}=e;const o={transform:"translate(".concat(r/2," 256)")},i="translate(".concat(32*n.x,", ").concat(32*n.y,") "),s="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "),l="rotate(".concat(n.rotate," 0 0)"),u={transform:"".concat(i," ").concat(s," ").concat(l)},c={transform:"translate(".concat(a/2*-1," -256)")};return{tag:"g",attributes:{...o},children:[{tag:"g",attributes:{...u},children:[{tag:t.icon.tag,children:t.icon.children,attributes:{...t.icon.attributes,...c}}]}]}}}};const on={x:0,y:0,width:"100%",height:"100%"};function sn(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}var ln={hooks:()=>({parseNodeAttributes(e,t){const n=t.getAttribute("data-fa-mask"),r=n?Ke(n.split(" ").map((e=>e.trim()))):Ge();return r.prefix||(r.prefix=qe()),e.mask=r,e.maskId=t.getAttribute("data-fa-mask-id"),e}}),provides(e){e.generateAbstractMask=function(e){let{children:t,attributes:n,main:r,mask:a,maskId:o,transform:i}=e;const{width:s,icon:l}=r,{width:u,icon:c}=a,d=function(e){let{transform:t,containerWidth:n,iconWidth:r}=e;const a={transform:"translate(".concat(n/2," 256)")},o="translate(".concat(32*t.x,", ").concat(32*t.y,") "),i="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),s="rotate(".concat(t.rotate," 0 0)");return{outer:a,inner:{transform:"".concat(o," ").concat(i," ").concat(s)},path:{transform:"translate(".concat(r/2*-1," -256)")}}}({transform:i,containerWidth:u,iconWidth:s}),p={tag:"rect",attributes:{...on,fill:"white"}},f=l.children?{children:l.children.map(sn)}:{},h={tag:"g",attributes:{...d.inner},children:[sn({tag:l.tag,attributes:{...l.attributes,...d.path},...f})]},m={tag:"g",attributes:{...d.outer},children:[h]},g="mask-".concat(o||ue()),v="clip-".concat(o||ue()),y={tag:"mask",attributes:{...on,id:g,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"},children:[p,m]},b={tag:"defs",children:[{tag:"clipPath",attributes:{id:v},children:(w=c,"g"===w.tag?w.children:[w])},y]};var w;return t.push(b,{tag:"rect",attributes:{fill:"currentColor","clip-path":"url(#".concat(v,")"),mask:"url(#".concat(g,")"),...on}}),{children:t,attributes:n}}}},un={provides(e){let t=!1;u.matchMedia&&(t=u.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){const e=[],n={fill:"currentColor"},r={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};e.push({tag:"path",attributes:{...n,d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"}});const a={...r,attributeName:"opacity"},o={tag:"circle",attributes:{...n,cx:"256",cy:"364",r:"28"},children:[]};return t||o.children.push({tag:"animate",attributes:{...r,attributeName:"r",values:"28;14;28;28;14;28;"}},{tag:"animate",attributes:{...a,values:"1;0;1;1;0;1;"}}),e.push(o),e.push({tag:"path",attributes:{...n,opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"},children:t?[]:[{tag:"animate",attributes:{...a,values:"1;0;0;0;0;1;"}}]}),t||e.push({tag:"path",attributes:{...n,opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"},children:[{tag:"animate",attributes:{...a,values:"0;0;1;1;0;0;"}}]}),{tag:"g",attributes:{class:"missing"},children:e}}}};!function(e,t){let{mixoutsTo:n}=t;Qe=e,Ze={},Object.keys(Je).forEach((e=>{-1===et.indexOf(e)&&delete Je[e]})),Qe.forEach((e=>{const t=e.mixout?e.mixout():{};if(Object.keys(t).forEach((e=>{"function"==typeof t[e]&&(n[e]=t[e]),"object"==typeof t[e]&&Object.keys(t[e]).forEach((r=>{n[e]||(n[e]={}),n[e][r]=t[e][r]}))})),e.hooks){const t=e.hooks();Object.keys(t).forEach((e=>{Ze[e]||(Ze[e]=[]),Ze[e].push(t[e])}))}e.provides&&e.provides(Je)}))}([be,Wt,Vt,Ut,Ht,tn,{mixout:()=>({dom:{unwatch(){Ot(),nn=!0}}}),hooks:()=>({bootstrap(){Rt(tt("mutationObserverCallbacks",{}))},noAuto(){Dt&&Dt.disconnect()},watch(e){const{observeMutationsRoot:t}=e;nn?It():Rt(tt("mutationObserverCallbacks",{observeMutationsRoot:t}))}})},an,ln,un,{hooks:()=>({parseNodeAttributes(e,t){const n=t.getAttribute("data-fa-symbol"),r=null!==n&&(""===n||n);return e.symbol=r,e}})}],{mixoutsTo:lt});const cn=lt.parse,dn=lt.icon;var pn=n(23957),fn=n.n(pn),hn=n(96540);function mn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function gn(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n0||!Array.isArray(t)&&t?yn({},e,t):{}}var Tn={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1},kn=hn.forwardRef((function(e,t){var n=gn(gn({},Tn),e),r=n.icon,a=n.mask,o=n.symbol,i=n.className,s=n.title,l=n.titleId,u=n.maskId,c=An(r),d=Cn("classes",[].concat(bn(function(e){var t,n=e.beat,r=e.fade,a=e.beatFade,o=e.bounce,i=e.shake,s=e.flash,l=e.spin,u=e.spinPulse,c=e.spinReverse,d=e.pulse,p=e.fixedWidth,f=e.inverse,h=e.border,m=e.listItem,g=e.flip,v=e.size,y=e.rotation,b=e.pull,w=(yn(t={"fa-beat":n,"fa-fade":r,"fa-beat-fade":a,"fa-bounce":o,"fa-shake":i,"fa-flash":s,"fa-spin":l,"fa-spin-reverse":c,"fa-spin-pulse":u,"fa-pulse":d,"fa-fw":p,"fa-inverse":f,"fa-border":h,"fa-li":m,"fa-flip":!0===g,"fa-flip-horizontal":"horizontal"===g||"both"===g,"fa-flip-vertical":"vertical"===g||"both"===g},"fa-".concat(v),null!=v),yn(t,"fa-rotate-".concat(y),null!=y&&0!==y),yn(t,"fa-pull-".concat(b),null!=b),yn(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(w).map((function(e){return w[e]?e:null})).filter((function(e){return e}))}(n)),bn((i||"").split(" ")))),p=Cn("transform","string"==typeof n.transform?cn.transform(n.transform):n.transform),f=Cn("mask",An(a)),h=dn(c,gn(gn(gn(gn({},d),p),f),{},{symbol:o,title:s,titleId:l,maskId:u}));if(!h)return function(){var e;!_n&&console&&"function"==typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",c),null;var m=h.abstract,g={ref:t};return Object.keys(n).forEach((function(e){Tn.hasOwnProperty(e)||(g[e]=n[e])})),En(m[0],g)}));kn.displayName="FontAwesomeIcon",kn.propTypes={beat:fn().bool,border:fn().bool,beatFade:fn().bool,bounce:fn().bool,className:fn().string,fade:fn().bool,flash:fn().bool,mask:fn().oneOfType([fn().object,fn().array,fn().string]),maskId:fn().string,fixedWidth:fn().bool,inverse:fn().bool,flip:fn().oneOf([!0,!1,"horizontal","vertical","both"]),icon:fn().oneOfType([fn().object,fn().array,fn().string]),listItem:fn().bool,pull:fn().oneOf(["right","left"]),pulse:fn().bool,rotation:fn().oneOf([0,90,180,270]),shake:fn().bool,size:fn().oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:fn().bool,spinPulse:fn().bool,spinReverse:fn().bool,symbol:fn().oneOfType([fn().bool,fn().string]),title:fn().string,titleId:fn().string,transform:fn().oneOfType([fn().string,fn().object]),swapOpacity:fn().bool};var En=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof n)return n;var a=(n.children||[]).map((function(n){return e(t,n)})),o=Object.keys(n.attributes||{}).reduce((function(e,t){var r=n.attributes[t];switch(t){case"class":e.attrs.className=r,delete n.attributes.class;break;case"style":e.attrs.style=r.split(";").map((function(e){return e.trim()})).filter((function(e){return e})).reduce((function(e,t){var n,r=t.indexOf(":"),a=xn(t.slice(0,r)),o=t.slice(r+1).trim();return a.startsWith("webkit")?e[(n=a,n.charAt(0).toUpperCase()+n.slice(1))]=o:e[a]=o,e}),{});break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=r:e.attrs[xn(t)]=r}return e}),{attrs:{}}),i=r.style,s=void 0===i?{}:i,l=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(r,Sn);return o.attrs.style=gn(gn({},o.attrs.style),s),t.apply(void 0,[n.tag,gn(gn({},o.attrs),l)].concat(bn(a)))}.bind(null,hn.createElement)},54521:(e,t,n)=>{"use strict";var r=n(78082);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,o,i){if(i!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:a};return n.PropTypes=n,n}},23957:(e,t,n)=>{e.exports=n(54521)()},78082:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},59183:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(39666);t.suggestionFromGraphQLError=r.suggestionFromGraphQLError;var a=n(81253);t.forwardToSentry=a.forwardToSentry,function(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}(n(15142))},81253:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=["UNKNOWN_ERROR","SCHEMA_UNKNOWN_FIELD","INVALID_SUBSCRIPTION","INVALID_INPUT"],r=e=>(t,r)=>{if(!n.includes(t))return;const a=r&&r.operation&&r.operation.operationName||void 0;try{if(e.setExtras({"Operation name":a,"Mapped type":t}),r.networkError)return void((e,t,n)=>{if(!t)return;const r=n||"NETWORK_UNKNOWN",{errors:a}=t.result||{errors:[]};if(1===a.length){const[t]=a;e.setExtras({"Network code":t.code,"Network message":t.message})}else a.forEach(((t,n)=>{e.setExtras({[`Network ${n} code`]:t.code,[`Network ${n} message`]:t.message})}));t.statusCode&&e.setExtras({"Status code":t.statusCode}),e.captureMessage(`${r} - Response status ${t.statusCode}`,"error")})(e,r.networkError,a);((e,t,n)=>{const r=n||"GQL_UNKNOWN";t.forEach((t=>{const n="code"in t?t.code:t.name;e.setExtras({Code:n,Message:t.message||null,Paths:(t.path||[]).join(",")}),e.captureMessage(`${r} - ${n}`,"error")}))})(e,r.graphQLErrors||[],a)}catch(t){e.captureException(t)}};t.forwardToSentry=e=>({captureIfNeeded:r(e)})},39666:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15142);t.suggestionFromGraphQLError=e=>{var t;const[n=null]=e.graphQLErrors;return(null===(t=n)||void 0===t?void 0:t.code)?{type:n.code,message:n.isTrusted?n.message:r.defaultKeepfyErrorTrusted.message,isClientFault:!1}:Object.assign(Object.assign({},(a=e.message,/(Network)?\s?(request)?\s?(failed|errors?)?/gi.test(a)?{type:"CONNECTION_FAILED",message:"Não foi possível conectar-se ao Keepfy"}:a.includes("Unknown argument")?{type:"SCHEMA_UNKNOWN_FIELD",message:"Parece que seu Keepfy pode estar desatualizado"}:r.defaultKeepfyErrorTrusted)),{isClientFault:!0});var a}},15142:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultKeepfyErrorTrusted={type:"UNKNOWN_ERROR",message:"Ops! Ocorreu um erro, contate o administrador"}},50790:(e,t,n)=>{"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(42032)),o=n(74848);t.default=(0,a.default)((0,o.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 4c1.93 0 3.5 1.57 3.5 3.5S13.93 13 12 13s-3.5-1.57-3.5-3.5S10.07 6 12 6m0 14c-2.03 0-4.43-.82-6.14-2.88C7.55 15.8 9.68 15 12 15s4.45.8 6.14 2.12C16.43 19.18 14.03 20 12 20"}),"AccountCircle")},16718:(e,t,n)=>{"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(42032)),o=n(74848);t.default=(0,a.default)((0,o.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"}),"Add")},92659:(e,t,n)=>{"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(42032)),o=n(74848);t.default=(0,a.default)((0,o.jsx)("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z"}),"ArrowBack")},57810:(e,t,n)=>{"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(42032)),o=n(74848);t.default=(0,a.default)((0,o.jsx)("path",{d:"M20 5.41 18.59 4 7 15.59V9H5v10h10v-2H8.41z"}),"CallReceived")},94017:(e,t,n)=>{"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(42032)),o=n(74848);t.default=(0,a.default)((0,o.jsx)("path",{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"}),"Check")},20889:(e,t,n)=>{"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(42032)),o=n(74848);t.default=(0,a.default)((0,o.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z"}),"CheckCircle")},27562:(e,t,n)=>{"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(42032)),o=n(74848);t.default=(0,a.default)((0,o.jsx)("path",{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"ChevronRight")},12092:(e,t,n)=>{"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(42032)),o=n(74848);t.default=(0,a.default)((0,o.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Clear")},39781:(e,t,n)=>{"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(42032)),o=n(74848);t.default=(0,a.default)((0,o.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close")},63901:(e,t,n)=>{"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(42032)),o=n(74848);t.default=(0,a.default)((0,o.jsx)("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.996.996 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"}),"Create")},99710:(e,t,n)=>{"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(42032)),o=n(74848);t.default=(0,a.default)((0,o.jsx)("path",{d:"M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2m0 14H4v-6h16zm0-10H4V6h16z"}),"CreditCard")},67034:(e,t,n)=>{"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(42032)),o=n(74848);t.default=(0,a.default)((0,o.jsx)("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z"}),"Delete")},58071:(e,t,n)=>{"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(42032)),o=n(74848);t.default=(0,a.default)((0,o.jsx)("path",{d:"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8zm2 16H8v-2h8zm0-4H8v-2h8zm-3-5V3.5L18.5 9z"}),"Description")},52706:(e,t,n)=>{"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(42032)),o=n(74848);t.default=(0,a.default)((0,o.jsx)("path",{d:"M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2m-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"}),"DragIndicator")},28597:(e,t,n)=>{"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(42032)),o=n(74848);t.default=(0,a.default)((0,o.jsx)("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.996.996 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"}),"Edit")},41845:(e,t,n)=>{"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(42032)),o=n(74848);t.default=(0,a.default)((0,o.jsx)("path",{d:"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m0 4-8 5-8-5V6l8 5 8-5z"}),"Email")},21447:(e,t,n)=>{"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(42032)),o=n(74848);t.default=(0,a.default)((0,o.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-2h2zm0-4h-2V7h2z"}),"Error")},51249:(e,t,n)=>{"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(42032)),o=n(74848);t.default=(0,a.default)((0,o.jsx)("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"}),"ErrorOutline")},83465:(e,t,n)=>{"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(42032)),o=n(74848);t.default=(0,a.default)((0,o.jsx)("path",{d:"M10.09 15.59 11.5 17l5-5-5-5-1.41 1.41L12.67 11H3v2h9.67zM19 3H5c-1.11 0-2 .9-2 2v4h2V5h14v14H5v-4H3v4c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2"}),"ExitToApp")},9275:(e,t,n)=>{"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(42032)),o=n(74848);t.default=(0,a.default)((0,o.jsx)("path",{d:"m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"}),"ExpandLess")},72048:(e,t,n)=>{"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(42032)),o=n(74848);t.default=(0,a.default)((0,o.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore")},90784:(e,t,n)=>{"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(42032)),o=n(74848);t.default=(0,a.default)((0,o.jsx)("path",{d:"M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m0 14H5.17l-.59.59-.58.58V4h16zm-9-4h2v2h-2zm0-6h2v4h-2z"}),"FeedbackOutlined")},60766:(e,t,n)=>{"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(42032)),o=n(74848);t.default=(0,a.default)((0,o.jsx)("path",{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12zm-1 4 6 6v10c0 1.1-.9 2-2 2H7.99C6.89 23 6 22.1 6 21l.01-14c0-1.1.89-2 1.99-2zm-1 7h5.5L14 6.5z"}),"FileCopy")},76932:(e,t,n)=>{"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(42032)),o=n(74848);t.default=(0,a.default)((0,o.jsx)("path",{d:"M18.41 16.59 13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage")},27992:(e,t,n)=>{"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(42032)),o=n(74848);t.default=(0,a.default)((0,o.jsx)("path",{d:"M20 6h-8l-2-2H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2m-5 3c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2m4 8h-8v-1c0-1.33 2.67-2 4-2s4 .67 4 2z"}),"FolderShared")},40878:(e,t,n)=>{"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(42032)),o=n(74848);t.default=(0,a.default)((0,o.jsx)("path",{d:"M15 4v7H5.17L4 12.17V4zm1-2H3c-.55 0-1 .45-1 1v14l4-4h10c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1m5 4h-2v9H6v2c0 .55.45 1 1 1h11l4 4V7c0-.55-.45-1-1-1"}),"ForumOutlined")},52162:(e,t,n)=>{"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(42032)),o=n(74848);t.default=(0,a.default)((0,o.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 17h-2v-2h2zm2.07-7.75-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25"}),"Help")},50229:(e,t,n)=>{"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(42032)),o=n(74848);t.default=(0,a.default)([(0,o.jsx)("path",{d:"M1 11v10h6v-5h2v5h6V11L8 6zm12 8h-2v-5H5v5H3v-6.97l5-3.57 5 3.57zm4-12h2v2h-2zm0 4h2v2h-2zm0 4h2v2h-2z"},"0"),(0,o.jsx)("path",{d:"M10 3v1.97l2 1.43V5h9v14h-4v2h6V3z"},"1")],"HomeWorkOutlined")},21700:(e,t,n)=>{"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(42032)),o=n(74848);t.default=(0,a.default)((0,o.jsx)("path",{d:"M23 11.01 18 11c-.55 0-1 .45-1 1v9c0 .55.45 1 1 1h5c.55 0 1-.45 1-1v-9c0-.55-.45-.99-1-.99M23 20h-5v-7h5zM20 2H2C.89 2 0 2.89 0 4v12c0 1.1.89 2 2 2h7v2H7v2h8v-2h-2v-2h2v-2H2V4h18v5h2V4c0-1.11-.9-2-2-2m-8.03 7L11 6l-.97 3H7l2.47 1.76-.94 2.91 2.47-1.8 2.47 1.8-.94-2.91L15 9z"}),"ImportantDevices")},75897:(e,t,n)=>{"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(42032)),o=n(74848);t.default=(0,a.default)((0,o.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-6h2zm0-8h-2V7h2z"}),"Info")},9483:(e,t,n)=>{"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(42032)),o=n(74848);t.default=(0,a.default)((0,o.jsx)("path",{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z"}),"KeyboardArrowDown")},7986:(e,t,n)=>{"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(42032)),o=n(74848);t.default=(0,a.default)((0,o.jsx)("path",{d:"M15.41 16.59 10.83 12l4.58-4.59L14 6l-6 6 6 6z"}),"KeyboardArrowLeft")},50261:(e,t,n)=>{"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(42032)),o=n(74848);t.default=(0,a.default)((0,o.jsx)("path",{d:"M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6z"}),"KeyboardArrowRight")},39118:(e,t,n)=>{"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(42032)),o=n(74848);t.default=(0,a.default)((0,o.jsx)("path",{d:"M7.41 15.41 12 10.83l4.59 4.58L18 14l-6-6-6 6z"}),"KeyboardArrowUp")},50650:(e,t,n)=>{"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(42032)),o=n(74848);t.default=(0,a.default)((0,o.jsx)("path",{d:"M5.59 7.41 10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage")},69624:(e,t,n)=>{"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(42032)),o=n(74848);t.default=(0,a.default)((0,o.jsx)("path",{d:"M4 6H2v14c0 1.1.9 2 2 2h14v-2H4zm16-4H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m0 14H8V4h12zM10 9h8v2h-8zm0 3h4v2h-4zm0-6h8v2h-8z"}),"LibraryBooksOutlined")},29898:(e,t,n)=>{"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(42032)),o=n(74848);t.default=(0,a.default)((0,o.jsx)("path",{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2m-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2m3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1s3.1 1.39 3.1 3.1z"}),"Lock")},90022:(e,t,n)=>{"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(42032)),o=n(74848);t.default=(0,a.default)((0,o.jsx)("path",{d:"M12 17c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m6-9h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6h1.9c0-1.71 1.39-3.1 3.1-3.1s3.1 1.39 3.1 3.1v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2m0 12H6V10h12z"}),"LockOpen")},5012:(e,t,n)=>{"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(42032)),o=n(74848);t.default=(0,a.default)((0,o.jsx)("path",{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2M9 6c0-1.66 1.34-3 3-3s3 1.34 3 3v2H9zm9 14H6V10h12zm-6-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2"}),"LockOutlined")},49674:(e,t,n)=>{"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(42032)),o=n(74848);t.default=(0,a.default)((0,o.jsx)("path",{d:"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8zm2 14h-3v3h-2v-3H8v-2h3v-3h2v3h3zm-3-7V3.5L18.5 9z"}),"NoteAdd")},76390:(e,t,n)=>{"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(42032)),o=n(74848);t.default=(0,a.default)((0,o.jsx)("path",{d:"M9 7v8l7-4zm12-4H3c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h5v2h8v-2h5c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m0 14H3V5h18z"}),"OndemandVideoOutlined")},2291:(e,t,n)=>{"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(42032)),o=n(74848);t.default=(0,a.default)((0,o.jsx)("path",{d:"M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2m0 14H4v-6h16zm0-10H4V6h16z"}),"Payment")},82138:(e,t,n)=>{"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(42032)),o=n(74848);t.default=(0,a.default)((0,o.jsx)("path",{d:"M7 7h10v3l4-4-4-4v3H5v6h2zm10 10H7v-3l-4 4 4 4v-3h12v-6h-2z"}),"Repeat")},98984:(e,t,n)=>{"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(42032)),o=n(74848);t.default=(0,a.default)((0,o.jsx)("path",{d:"M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7zm-5 16c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3m3-10H5V5h10z"}),"Save")},64745:(e,t,n)=>{"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(42032)),o=n(74848);t.default=(0,a.default)((0,o.jsx)("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"}),"Search")},28754:(e,t,n)=>{"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(42032)),o=n(74848);t.default=(0,a.default)((0,o.jsx)("path",{d:"M7.76 16.24C6.67 15.16 6 13.66 6 12s.67-3.16 1.76-4.24l1.42 1.42C8.45 9.9 8 10.9 8 12s.45 2.1 1.17 2.83zm8.48 0C17.33 15.16 18 13.66 18 12s-.67-3.16-1.76-4.24l-1.42 1.42C15.55 9.9 16 10.9 16 12s-.45 2.1-1.17 2.83zM12 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m8 2c0 2.21-.9 4.21-2.35 5.65l1.42 1.42C20.88 17.26 22 14.76 22 12s-1.12-5.26-2.93-7.07l-1.42 1.42C19.1 7.79 20 9.79 20 12M6.35 6.35 4.93 4.93C3.12 6.74 2 9.24 2 12s1.12 5.26 2.93 7.07l1.42-1.42C4.9 16.21 4 14.21 4 12s.9-4.21 2.35-5.65"}),"Sensors")},5673:(e,t,n)=>{"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(42032)),o=n(74848);t.default=(0,a.default)((0,o.jsx)("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5M12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5m0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3"}),"Visibility")},76768:(e,t,n)=>{"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(42032)),o=n(74848);t.default=(0,a.default)((0,o.jsx)("path",{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7M2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2m4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3z"}),"VisibilityOff")},6325:(e,t,n)=>{"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(42032)),o=n(74848);t.default=(0,a.default)((0,o.jsx)("path",{d:"M1 21h22L12 2zm12-3h-2v-2h2zm0-4h-2v-4h2z"}),"Warning")},69149:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(20561),a=n(74848);const o=(0,r.A)((0,a.jsx)("path",{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"}),"Check")},42032:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.createSvgIcon}});var r=n(58928)},55120:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(96540).createContext({})},55645:(e,t,n)=>{"use strict";n.r(t),n.d(t,{accordionClasses:()=>v,default:()=>x,getAccordionUtilityClass:()=>g});var r=n(96540),a=(n(44363),n(34164)),o=n(75659),i=n(11848),s=n(42637),l=n(25669),u=n(29375),c=n(34339),d=n(55120),p=n(41159),f=n(6025),h=n(38413),m=n(31609);function g(e){return(0,m.Ay)("MuiAccordion",e)}const v=(0,h.A)("MuiAccordion",["root","heading","rounded","expanded","disabled","gutters","region"]);var y=n(74848);const b=(0,i.Ay)(c.A,{name:"MuiAccordion",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${v.region}`]:t.region},t.root,!n.square&&t.rounded,!n.disableGutters&&t.gutters]}})((0,s.A)((({theme:e})=>{const t={duration:e.transitions.duration.shortest};return{position:"relative",transition:e.transitions.create(["margin"],t),overflowAnchor:"none","&::before":{position:"absolute",left:0,top:-1,right:0,height:1,content:'""',opacity:1,backgroundColor:(e.vars||e).palette.divider,transition:e.transitions.create(["opacity","background-color"],t)},"&:first-of-type":{"&::before":{display:"none"}},[`&.${v.expanded}`]:{"&::before":{opacity:0},"&:first-of-type":{marginTop:0},"&:last-of-type":{marginBottom:0},"& + &":{"&::before":{display:"none"}}},[`&.${v.disabled}`]:{backgroundColor:(e.vars||e).palette.action.disabledBackground}}})),(0,s.A)((({theme:e})=>({variants:[{props:e=>!e.square,style:{borderRadius:0,"&:first-of-type":{borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius},"&:last-of-type":{borderBottomLeftRadius:(e.vars||e).shape.borderRadius,borderBottomRightRadius:(e.vars||e).shape.borderRadius,"@supports (-ms-ime-align: auto)":{borderBottomLeftRadius:0,borderBottomRightRadius:0}}}},{props:e=>!e.disableGutters,style:{[`&.${v.expanded}`]:{margin:"16px 0"}}}]})))),w=(0,i.Ay)("h3",{name:"MuiAccordion",slot:"Heading",overridesResolver:(e,t)=>t.heading})({all:"unset"}),x=r.forwardRef((function(e,t){const n=(0,l.b)({props:e,name:"MuiAccordion"}),{children:i,className:s,defaultExpanded:c=!1,disabled:h=!1,disableGutters:m=!1,expanded:v,onChange:x,square:S=!1,slots:_={},slotProps:A={},TransitionComponent:C,TransitionProps:T,...k}=n,[E,M]=(0,p.A)({controlled:v,default:c,name:"Accordion",state:"expanded"}),P=r.useCallback((e=>{M(!E),x&&x(e,!E)}),[E,x,M]),[O,...I]=r.Children.toArray(i),D=r.useMemo((()=>({expanded:E,disabled:h,disableGutters:m,toggle:P})),[E,h,m,P]),R={...n,square:S,disabled:h,disableGutters:m,expanded:E},N=(e=>{const{classes:t,square:n,expanded:r,disabled:a,disableGutters:i}=e,s={root:["root",!n&&"rounded",r&&"expanded",a&&"disabled",!i&&"gutters"],heading:["heading"],region:["region"]};return(0,o.A)(s,g,t)})(R),L={slots:{transition:C,..._},slotProps:{transition:T,...A}},[$,j]=(0,f.A)("heading",{elementType:w,externalForwardedProps:L,className:N.heading,ownerState:R}),[F,B]=(0,f.A)("transition",{elementType:u.A,externalForwardedProps:L,ownerState:R});return(0,y.jsxs)(b,{className:(0,a.A)(N.root,s),ref:t,ownerState:R,square:S,...k,children:[(0,y.jsx)($,{...j,children:(0,y.jsx)(d.A.Provider,{value:D,children:O})}),(0,y.jsx)(F,{in:E,timeout:"auto",...B,children:(0,y.jsx)("div",{"aria-labelledby":O.props.id,id:O.props["aria-controls"],role:"region",className:N.region,children:I})})]})}))},71932:(e,t,n)=>{"use strict";n.r(t),n.d(t,{accordionActionsClasses:()=>d,default:()=>h,getAccordionActionsUtilityClass:()=>c});var r=n(96540),a=n(34164),o=n(75659),i=n(11848),s=n(25669),l=n(38413),u=n(31609);function c(e){return(0,u.Ay)("MuiAccordionActions",e)}const d=(0,l.A)("MuiAccordionActions",["root","spacing"]);var p=n(74848);const f=(0,i.Ay)("div",{name:"MuiAccordionActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableSpacing&&t.spacing]}})({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",variants:[{props:e=>!e.disableSpacing,style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),h=r.forwardRef((function(e,t){const n=(0,s.b)({props:e,name:"MuiAccordionActions"}),{className:r,disableSpacing:i=!1,...l}=n,u={...n,disableSpacing:i},d=(e=>{const{classes:t,disableSpacing:n}=e,r={root:["root",!n&&"spacing"]};return(0,o.A)(r,c,t)})(u);return(0,p.jsx)(f,{className:(0,a.A)(d.root,r),ref:t,ownerState:u,...l})}))},55669:(e,t,n)=>{"use strict";n.r(t),n.d(t,{accordionDetailsClasses:()=>p,default:()=>m,getAccordionDetailsUtilityClass:()=>d});var r=n(96540),a=n(34164),o=n(75659),i=n(11848),s=n(42637),l=n(25669),u=n(38413),c=n(31609);function d(e){return(0,c.Ay)("MuiAccordionDetails",e)}const p=(0,u.A)("MuiAccordionDetails",["root"]);var f=n(74848);const h=(0,i.Ay)("div",{name:"MuiAccordionDetails",slot:"Root",overridesResolver:(e,t)=>t.root})((0,s.A)((({theme:e})=>({padding:e.spacing(1,2,2)})))),m=r.forwardRef((function(e,t){const n=(0,l.b)({props:e,name:"MuiAccordionDetails"}),{className:r,...i}=n,s=n,u=(e=>{const{classes:t}=e;return(0,o.A)({root:["root"]},d,t)})(s);return(0,f.jsx)(h,{className:(0,a.A)(u.root,r),ref:t,ownerState:s,...i})}))},54990:(e,t,n)=>{"use strict";n.r(t),n.d(t,{accordionSummaryClasses:()=>h,default:()=>b,getAccordionSummaryUtilityClass:()=>f});var r=n(96540),a=n(34164),o=n(75659),i=n(11848),s=n(42637),l=n(25669),u=n(80189),c=n(55120),d=n(38413),p=n(31609);function f(e){return(0,p.Ay)("MuiAccordionSummary",e)}const h=(0,d.A)("MuiAccordionSummary",["root","expanded","focusVisible","disabled","gutters","contentGutters","content","expandIconWrapper"]);var m=n(74848);const g=(0,i.Ay)(u.A,{name:"MuiAccordionSummary",slot:"Root",overridesResolver:(e,t)=>t.root})((0,s.A)((({theme:e})=>{const t={duration:e.transitions.duration.shortest};return{display:"flex",minHeight:48,padding:e.spacing(0,2),transition:e.transitions.create(["min-height","background-color"],t),[`&.${h.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${h.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`&:hover:not(.${h.disabled})`]:{cursor:"pointer"},variants:[{props:e=>!e.disableGutters,style:{[`&.${h.expanded}`]:{minHeight:64}}}]}}))),v=(0,i.Ay)("div",{name:"MuiAccordionSummary",slot:"Content",overridesResolver:(e,t)=>t.content})((0,s.A)((({theme:e})=>({display:"flex",flexGrow:1,margin:"12px 0",variants:[{props:e=>!e.disableGutters,style:{transition:e.transitions.create(["margin"],{duration:e.transitions.duration.shortest}),[`&.${h.expanded}`]:{margin:"20px 0"}}}]})))),y=(0,i.Ay)("div",{name:"MuiAccordionSummary",slot:"ExpandIconWrapper",overridesResolver:(e,t)=>t.expandIconWrapper})((0,s.A)((({theme:e})=>({display:"flex",color:(e.vars||e).palette.action.active,transform:"rotate(0deg)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shortest}),[`&.${h.expanded}`]:{transform:"rotate(180deg)"}})))),b=r.forwardRef((function(e,t){const n=(0,l.b)({props:e,name:"MuiAccordionSummary"}),{children:i,className:s,expandIcon:u,focusVisibleClassName:d,onClick:p,...h}=n,{disabled:b=!1,disableGutters:w,expanded:x,toggle:S}=r.useContext(c.A),_={...n,expanded:x,disabled:b,disableGutters:w},A=(e=>{const{classes:t,expanded:n,disabled:r,disableGutters:a}=e,i={root:["root",n&&"expanded",r&&"disabled",!a&&"gutters"],focusVisible:["focusVisible"],content:["content",n&&"expanded",!a&&"contentGutters"],expandIconWrapper:["expandIconWrapper",n&&"expanded"]};return(0,o.A)(i,f,t)})(_);return(0,m.jsxs)(g,{focusRipple:!1,disableRipple:!0,disabled:b,component:"div","aria-expanded":x,className:(0,a.A)(A.root,s),focusVisibleClassName:(0,a.A)(A.focusVisible,d),onClick:e=>{S&&S(e),p&&p(e)},ref:t,ownerState:_,...h,children:[(0,m.jsx)(v,{className:A.content,ownerState:_,children:i}),u&&(0,m.jsx)(y,{className:A.expandIconWrapper,ownerState:_,children:u})]})}))},9796:(e,t,n)=>{"use strict";n.r(t),n.d(t,{appBarClasses:()=>m,default:()=>b,getAppBarUtilityClass:()=>h});var r=n(96540),a=n(34164),o=n(75659),i=n(11848),s=n(42637),l=n(25669),u=n(28466),c=n(78660),d=n(34339),p=n(38413),f=n(31609);function h(e){return(0,f.Ay)("MuiAppBar",e)}const m=(0,p.A)("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);var g=n(74848);const v=(e,t)=>e?`${e?.replace(")","")}, ${t})`:t,y=(0,i.Ay)(d.A,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${(0,u.A)(n.position)}`],t[`color${(0,u.A)(n.color)}`]]}})((0,s.A)((({theme:e})=>({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0,variants:[{props:{position:"fixed"},style:{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}}},{props:{position:"absolute"},style:{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"sticky"},style:{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"static"},style:{position:"static"}},{props:{position:"relative"},style:{position:"relative"}},{props:{color:"inherit"},style:{"--AppBar-color":"inherit"}},{props:{color:"default"},style:{"--AppBar-background":e.vars?e.vars.palette.AppBar.defaultBg:e.palette.grey[100],"--AppBar-color":e.vars?e.vars.palette.text.primary:e.palette.getContrastText(e.palette.grey[100]),...e.applyStyles("dark",{"--AppBar-background":e.vars?e.vars.palette.AppBar.defaultBg:e.palette.grey[900],"--AppBar-color":e.vars?e.vars.palette.text.primary:e.palette.getContrastText(e.palette.grey[900])})}},...Object.entries(e.palette).filter((0,c.A)(["contrastText"])).map((([t])=>({props:{color:t},style:{"--AppBar-background":(e.vars??e).palette[t].main,"--AppBar-color":(e.vars??e).palette[t].contrastText}}))),{props:e=>!0===e.enableColorOnDark&&!["inherit","transparent"].includes(e.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)"}},{props:e=>!1===e.enableColorOnDark&&!["inherit","transparent"].includes(e.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...e.applyStyles("dark",{backgroundColor:e.vars?v(e.vars.palette.AppBar.darkBg,"var(--AppBar-background)"):null,color:e.vars?v(e.vars.palette.AppBar.darkColor,"var(--AppBar-color)"):null})}},{props:{color:"transparent"},style:{"--AppBar-background":"transparent","--AppBar-color":"inherit",backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...e.applyStyles("dark",{backgroundImage:"none"})}}]})))),b=r.forwardRef((function(e,t){const n=(0,l.b)({props:e,name:"MuiAppBar"}),{className:r,color:i="primary",enableColorOnDark:s=!1,position:c="fixed",...d}=n,p={...n,color:i,position:c,enableColorOnDark:s},f=(e=>{const{color:t,position:n,classes:r}=e,a={root:["root",`color${(0,u.A)(t)}`,`position${(0,u.A)(n)}`]};return(0,o.A)(a,h,r)})(p);return(0,g.jsx)(y,{square:!0,component:"header",ownerState:p,elevation:4,className:(0,a.A)(f.root,r,"fixed"===c&&"mui-fixed"),ref:t,...d})}))},13433:(e,t,n)=>{"use strict";n.r(t),n.d(t,{autocompleteClasses:()=>L,createFilterOptions:()=>f,default:()=>Z,getAutocompleteUtilityClass:()=>N});var r=n(96540),a=n(34164),o=n(75659),i=n(79739),s=n(34661),l=n(2501),u=n(8299),c=n(71547),d=n(17365);function p(e){return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}function f(e={}){const{ignoreAccents:t=!0,ignoreCase:n=!0,limit:r,matchFrom:a="any",stringify:o,trim:i=!1}=e;return(e,{inputValue:s,getOptionLabel:l})=>{let u=i?s.trim():s;n&&(u=u.toLowerCase()),t&&(u=p(u));const c=u?e.filter((e=>{let r=(o||l)(e);return n&&(r=r.toLowerCase()),t&&(r=p(r)),"start"===a?r.startsWith(u):r.includes(u)})):e;return"number"==typeof r?c.slice(0,r):c}}const h=f(),m=e=>null!==e.current&&e.current.parentElement?.contains(document.activeElement),g=[];var v=n(87558),y=n(68463),b=n(34339),w=n(19455),x=n(69554),S=n(25571),_=n(51175),A=n(71023),C=n(6959),T=n(20561),k=n(74848);const E=(0,T.A)((0,k.jsx)("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");var M=n(602),P=n(11848),O=n(42637),I=n(25669),D=n(38413),R=n(31609);function N(e){return(0,R.Ay)("MuiAutocomplete",e)}const L=(0,D.A)("MuiAutocomplete",["root","expanded","fullWidth","focused","focusVisible","tag","tagSizeSmall","tagSizeMedium","hasPopupIcon","hasClearIcon","inputRoot","input","inputFocused","endAdornment","clearIndicator","popupIndicator","popupIndicatorOpen","popper","popperDisablePortal","paper","listbox","loading","noOptions","option","groupLabel","groupUl"]);var $,j,F=n(28466),B=n(6025);const z=(0,P.Ay)("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{fullWidth:r,hasClearIcon:a,hasPopupIcon:o,inputFocused:i,size:s}=n;return[{[`& .${L.tag}`]:t.tag},{[`& .${L.tag}`]:t[`tagSize${(0,F.A)(s)}`]},{[`& .${L.inputRoot}`]:t.inputRoot},{[`& .${L.input}`]:t.input},{[`& .${L.input}`]:i&&t.inputFocused},t.root,r&&t.fullWidth,o&&t.hasPopupIcon,a&&t.hasClearIcon]}})({[`&.${L.focused} .${L.clearIndicator}`]:{visibility:"visible"},"@media (pointer: fine)":{[`&:hover .${L.clearIndicator}`]:{visibility:"visible"}},[`& .${L.tag}`]:{margin:3,maxWidth:"calc(100% - 6px)"},[`& .${L.inputRoot}`]:{[`.${L.hasPopupIcon}&, .${L.hasClearIcon}&`]:{paddingRight:30},[`.${L.hasPopupIcon}.${L.hasClearIcon}&`]:{paddingRight:56},[`& .${L.input}`]:{width:0,minWidth:30}},[`& .${S.A.root}`]:{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}},[`& .${S.A.root}.${_.A.sizeSmall}`]:{[`& .${S.A.input}`]:{padding:"2px 4px 3px 0"}},[`& .${A.A.root}`]:{padding:9,[`.${L.hasPopupIcon}&, .${L.hasClearIcon}&`]:{paddingRight:39},[`.${L.hasPopupIcon}.${L.hasClearIcon}&`]:{paddingRight:65},[`& .${L.input}`]:{padding:"7.5px 4px 7.5px 5px"},[`& .${L.endAdornment}`]:{right:9}},[`& .${A.A.root}.${_.A.sizeSmall}`]:{paddingTop:6,paddingBottom:6,paddingLeft:6,[`& .${L.input}`]:{padding:"2.5px 4px 2.5px 8px"}},[`& .${C.A.root}`]:{paddingTop:19,paddingLeft:8,[`.${L.hasPopupIcon}&, .${L.hasClearIcon}&`]:{paddingRight:39},[`.${L.hasPopupIcon}.${L.hasClearIcon}&`]:{paddingRight:65},[`& .${C.A.input}`]:{padding:"7px 4px"},[`& .${L.endAdornment}`]:{right:9}},[`& .${C.A.root}.${_.A.sizeSmall}`]:{paddingBottom:1,[`& .${C.A.input}`]:{padding:"2.5px 4px"}},[`& .${_.A.hiddenLabel}`]:{paddingTop:8},[`& .${C.A.root}.${_.A.hiddenLabel}`]:{paddingTop:0,paddingBottom:0,[`& .${L.input}`]:{paddingTop:16,paddingBottom:17}},[`& .${C.A.root}.${_.A.hiddenLabel}.${_.A.sizeSmall}`]:{[`& .${L.input}`]:{paddingTop:8,paddingBottom:9}},[`& .${L.input}`]:{flexGrow:1,textOverflow:"ellipsis",opacity:0},variants:[{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{[`& .${L.tag}`]:{margin:2,maxWidth:"calc(100% - 4px)"}}},{props:{inputFocused:!0},style:{[`& .${L.input}`]:{opacity:1}}},{props:{multiple:!0},style:{[`& .${L.inputRoot}`]:{flexWrap:"wrap"}}}]}),W=(0,P.Ay)("div",{name:"MuiAutocomplete",slot:"EndAdornment",overridesResolver:(e,t)=>t.endAdornment})({position:"absolute",right:0,top:"50%",transform:"translate(0, -50%)"}),V=(0,P.Ay)(w.A,{name:"MuiAutocomplete",slot:"ClearIndicator",overridesResolver:(e,t)=>t.clearIndicator})({marginRight:-2,padding:4,visibility:"hidden"}),U=(0,P.Ay)(w.A,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:({ownerState:e},t)=>({...t.popupIndicator,...e.popupOpen&&t.popupIndicatorOpen})})({padding:2,marginRight:-2,variants:[{props:{popupOpen:!0},style:{transform:"rotate(180deg)"}}]}),H=(0,P.Ay)(v.A,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${L.option}`]:t.option},t.popper,n.disablePortal&&t.popperDisablePortal]}})((0,O.A)((({theme:e})=>({zIndex:(e.vars||e).zIndex.modal,variants:[{props:{disablePortal:!0},style:{position:"absolute"}}]})))),q=(0,P.Ay)(b.A,{name:"MuiAutocomplete",slot:"Paper",overridesResolver:(e,t)=>t.paper})((0,O.A)((({theme:e})=>({...e.typography.body1,overflow:"auto"})))),G=(0,P.Ay)("div",{name:"MuiAutocomplete",slot:"Loading",overridesResolver:(e,t)=>t.loading})((0,O.A)((({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"})))),Y=(0,P.Ay)("div",{name:"MuiAutocomplete",slot:"NoOptions",overridesResolver:(e,t)=>t.noOptions})((0,O.A)((({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"})))),X=(0,P.Ay)("div",{name:"MuiAutocomplete",slot:"Listbox",overridesResolver:(e,t)=>t.listbox})((0,O.A)((({theme:e})=>({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto",position:"relative",[`& .${L.option}`]:{minHeight:48,display:"flex",overflow:"hidden",justifyContent:"flex-start",alignItems:"center",cursor:"pointer",paddingTop:6,boxSizing:"border-box",outline:"0",WebkitTapHighlightColor:"transparent",paddingBottom:6,paddingLeft:16,paddingRight:16,[e.breakpoints.up("sm")]:{minHeight:"auto"},[`&.${L.focused}`]:{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},'&[aria-disabled="true"]':{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${L.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},'&[aria-selected="true"]':{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,i.X4)(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${L.focused}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,i.X4)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${L.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,i.X4)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}}})))),K=(0,P.Ay)(y.A,{name:"MuiAutocomplete",slot:"GroupLabel",overridesResolver:(e,t)=>t.groupLabel})((0,O.A)((({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,top:-8})))),Q=(0,P.Ay)("ul",{name:"MuiAutocomplete",slot:"GroupUl",overridesResolver:(e,t)=>t.groupUl})({padding:0,[`& .${L.option}`]:{paddingLeft:24}}),Z=r.forwardRef((function(e,t){const n=(0,I.b)({props:e,name:"MuiAutocomplete"}),{autoComplete:i=!1,autoHighlight:p=!1,autoSelect:f=!1,blurOnSelect:y=!1,ChipProps:w,className:S,clearIcon:_=$||($=(0,k.jsx)(E,{fontSize:"small"})),clearOnBlur:A=!n.freeSolo,clearOnEscape:C=!1,clearText:T="Clear",closeText:P="Close",componentsProps:O,defaultValue:D=(n.multiple?[]:null),disableClearable:R=!1,disableCloseOnSelect:L=!1,disabled:Z=!1,disabledItemsFocusable:J=!1,disableListWrap:ee=!1,disablePortal:te=!1,filterOptions:ne,filterSelectedOptions:re=!1,forcePopupIcon:ae="auto",freeSolo:oe=!1,fullWidth:ie=!1,getLimitTagsText:se=(e=>`+${e}`),getOptionDisabled:le,getOptionKey:ue,getOptionLabel:ce,isOptionEqualToValue:de,groupBy:pe,handleHomeEndKeys:fe=!n.freeSolo,id:he,includeInputInList:me=!1,inputValue:ge,limitTags:ve=-1,ListboxComponent:ye,ListboxProps:be,loading:we=!1,loadingText:xe="Loading…",multiple:Se=!1,noOptionsText:_e="No options",onChange:Ae,onClose:Ce,onHighlightChange:Te,onInputChange:ke,onOpen:Ee,open:Me,openOnFocus:Pe=!1,openText:Oe="Open",options:Ie,PaperComponent:De,PopperComponent:Re,popupIcon:Ne=j||(j=(0,k.jsx)(M.A,{})),readOnly:Le=!1,renderGroup:$e,renderInput:je,renderOption:Fe,renderTags:Be,selectOnFocus:ze=!n.freeSolo,size:We="medium",slots:Ve={},slotProps:Ue={},value:He,...qe}=n,{getRootProps:Ge,getInputProps:Ye,getInputLabelProps:Xe,getPopupIndicatorProps:Ke,getClearProps:Qe,getTagProps:Ze,getListboxProps:Je,getOptionProps:et,value:tt,dirty:nt,expanded:rt,id:at,popupOpen:ot,focused:it,focusedTag:st,anchorEl:lt,setAnchorEl:ut,inputValue:ct,groupedOptions:dt}=function(e){const{unstable_isActiveElementInListbox:t=m,unstable_classNamePrefix:n="Mui",autoComplete:a=!1,autoHighlight:o=!1,autoSelect:i=!1,blurOnSelect:p=!1,clearOnBlur:f=!e.freeSolo,clearOnEscape:v=!1,componentName:y="useAutocomplete",defaultValue:b=(e.multiple?g:null),disableClearable:w=!1,disableCloseOnSelect:x=!1,disabled:S,disabledItemsFocusable:_=!1,disableListWrap:A=!1,filterOptions:C=h,filterSelectedOptions:T=!1,freeSolo:k=!1,getOptionDisabled:E,getOptionKey:M,getOptionLabel:P=(e=>e.label??e),groupBy:O,handleHomeEndKeys:I=!e.freeSolo,id:D,includeInputInList:R=!1,inputValue:N,isOptionEqualToValue:L=((e,t)=>e===t),multiple:$=!1,onChange:j,onClose:F,onHighlightChange:B,onInputChange:z,onOpen:W,open:V,openOnFocus:U=!1,options:H,readOnly:q=!1,selectOnFocus:G=!e.freeSolo,value:Y}=e,X=(0,s.A)(D);let K=P;K=e=>{const t=P(e);return"string"!=typeof t?String(t):t};const Q=r.useRef(!1),Z=r.useRef(!0),J=r.useRef(null),ee=r.useRef(null),[te,ne]=r.useState(null),[re,ae]=r.useState(-1),oe=o?0:-1,ie=r.useRef(oe),[se,le]=(0,l.A)({controlled:Y,default:b,name:y}),[ue,ce]=(0,l.A)({controlled:N,default:"",name:y,state:"inputValue"}),[de,pe]=r.useState(!1),fe=r.useCallback(((e,t,n)=>{if(!($?se.length!T||!($?se:[se]).some((t=>null!==t&&L(e,t))))),{inputValue:ye&&ge?"":ue,getOptionLabel:K}):[],xe=(0,u.A)({filteredOptions:we,value:se,inputValue:ue});r.useEffect((()=>{const e=se!==xe.value;de&&!e||k&&!e||fe(null,se,"reset")}),[se,fe,de,xe.value,k]);const Se=he&&we.length>0&&!q,_e=(0,c.A)((e=>{-1===e?J.current.focus():te.querySelector(`[data-tag-index="${e}"]`).focus()}));r.useEffect((()=>{$&&re>se.length-1&&(ae(-1),_e(-1))}),[se,$,re,_e]);const Ae=(0,c.A)((({event:e,index:t,reason:r="auto"})=>{if(ie.current=t,-1===t?J.current.removeAttribute("aria-activedescendant"):J.current.setAttribute("aria-activedescendant",`${X}-option-${t}`),B&&B(e,-1===t?null:we[t],r),!ee.current)return;const a=ee.current.querySelector(`[role="option"].${n}-focused`);a&&(a.classList.remove(`${n}-focused`),a.classList.remove(`${n}-focusVisible`));let o=ee.current;if("listbox"!==ee.current.getAttribute("role")&&(o=ee.current.parentElement.querySelector('[role="listbox"]')),!o)return;if(-1===t)return void(o.scrollTop=0);const i=ee.current.querySelector(`[data-option-index="${t}"]`);if(i&&(i.classList.add(`${n}-focused`),"keyboard"===r&&i.classList.add(`${n}-focusVisible`),o.scrollHeight>o.clientHeight&&"mouse"!==r&&"touch"!==r)){const e=i,t=o.clientHeight+o.scrollTop,n=e.offsetTop+e.offsetHeight;n>t?o.scrollTop=n-o.clientHeight:e.offsetTop-e.offsetHeight*(O?1.3:0){if(!be)return;const o=function(e,t){if(!ee.current||e<0||e>=we.length)return-1;let n=e;for(;;){const r=ee.current.querySelector(`[data-option-index="${n}"]`),a=!_&&(!r||r.disabled||"true"===r.getAttribute("aria-disabled"));if(r&&r.hasAttribute("tabindex")&&!a)return n;if(n="next"===t?(n+1)%we.length:(n-1+we.length)%we.length,n===e)return-1}}((()=>{const e=we.length-1;if("reset"===t)return oe;if("start"===t)return 0;if("end"===t)return e;const n=ie.current+t;return n<0?-1===n&&R?-1:A&&-1!==ie.current||Math.abs(t)>1?0:e:n>e?n===e+1&&R?-1:A||Math.abs(t)>1?e:0:n})(),n);if(Ae({index:o,reason:r,event:e}),a&&"reset"!==t)if(-1===o)J.current.value=ue;else{const e=K(we[o]);J.current.value=e,0===e.toLowerCase().indexOf(ue.toLowerCase())&&ue.length>0&&J.current.setSelectionRange(ue.length,e.length)}})),Te=r.useCallback((()=>{if(!be)return;const e=(()=>{if(-1!==ie.current&&xe.filteredOptions&&xe.filteredOptions.length!==we.length&&xe.inputValue===ue&&($?se.length===xe.value.length&&xe.value.every(((e,t)=>K(se[t])===K(e))):(e=xe.value,t=se,(e?K(e):"")===(t?K(t):"")))){const e=xe.filteredOptions[ie.current];if(e)return we.findIndex((t=>K(t)===K(e)))}var e,t;return-1})();if(-1!==e)return void(ie.current=e);const t=$?se[0]:se;if(0!==we.length&&null!=t){if(ee.current)if(null==t)ie.current>=we.length-1?Ae({index:we.length-1}):Ae({index:ie.current});else{const e=we[ie.current];if($&&e&&-1!==se.findIndex((t=>L(e,t))))return;const n=we.findIndex((e=>L(e,t)));-1===n?Ce({diff:"reset"}):Ae({index:n})}}else Ce({diff:"reset"})}),[we.length,!$&&se,T,Ce,Ae,be,ue,$]),ke=(0,c.A)((e=>{(0,d.A)(ee,e),e&&Te()}));r.useEffect((()=>{Te()}),[Te]);const Ee=e=>{he||(me(!0),ve(!0),W&&W(e))},Me=(e,t)=>{he&&(me(!1),F&&F(e,t))},Pe=(e,t,n,r)=>{if($){if(se.length===t.length&&se.every(((e,n)=>e===t[n])))return}else if(se===t)return;j&&j(e,t,n,r),le(t)},Oe=r.useRef(!1),Ie=(e,t,n="selectOption",r="options")=>{let a=n,o=t;if($){o=Array.isArray(se)?se.slice():[];const e=o.findIndex((e=>L(t,e)));-1===e?o.push(t):"freeSolo"!==r&&(o.splice(e,1),a="removeOption")}fe(e,o,a),Pe(e,o,a,{option:t}),x||e&&(e.ctrlKey||e.metaKey)||Me(e,a),(!0===p||"touch"===p&&Oe.current||"mouse"===p&&!Oe.current)&&J.current.blur()},De=(e,t)=>{if(!$)return;""===ue&&Me(e,"toggleInput");let n=re;-1===re?""===ue&&"previous"===t&&(n=se.length-1):(n+="next"===t?1:-1,n<0&&(n=0),n===se.length&&(n=-1)),n=function(e,t){if(-1===e)return-1;let n=e;for(;;){if("next"===t&&n===se.length||"previous"===t&&-1===n)return-1;const e=te.querySelector(`[data-tag-index="${n}"]`);if(e&&e.hasAttribute("tabindex")&&!e.disabled&&"true"!==e.getAttribute("aria-disabled"))return n;n+="next"===t?1:-1}}(n,t),ae(n),_e(n)},Re=e=>{Q.current=!0,ce(""),z&&z(e,"","clear"),Pe(e,$?[]:null,"clear")},Ne=e=>t=>{if(e.onKeyDown&&e.onKeyDown(t),!t.defaultMuiPrevented&&(-1===re||["ArrowLeft","ArrowRight"].includes(t.key)||(ae(-1),_e(-1)),229!==t.which))switch(t.key){case"Home":be&&I&&(t.preventDefault(),Ce({diff:"start",direction:"next",reason:"keyboard",event:t}));break;case"End":be&&I&&(t.preventDefault(),Ce({diff:"end",direction:"previous",reason:"keyboard",event:t}));break;case"PageUp":t.preventDefault(),Ce({diff:-5,direction:"previous",reason:"keyboard",event:t}),Ee(t);break;case"PageDown":t.preventDefault(),Ce({diff:5,direction:"next",reason:"keyboard",event:t}),Ee(t);break;case"ArrowDown":t.preventDefault(),Ce({diff:1,direction:"next",reason:"keyboard",event:t}),Ee(t);break;case"ArrowUp":t.preventDefault(),Ce({diff:-1,direction:"previous",reason:"keyboard",event:t}),Ee(t);break;case"ArrowLeft":De(t,"previous");break;case"ArrowRight":De(t,"next");break;case"Enter":if(-1!==ie.current&&be){const e=we[ie.current],n=!!E&&E(e);if(t.preventDefault(),n)return;Ie(t,e,"selectOption"),a&&J.current.setSelectionRange(J.current.value.length,J.current.value.length)}else k&&""!==ue&&!1===ye&&($&&t.preventDefault(),Ie(t,ue,"createOption","freeSolo"));break;case"Escape":be?(t.preventDefault(),t.stopPropagation(),Me(t,"escape")):v&&(""!==ue||$&&se.length>0)&&(t.preventDefault(),t.stopPropagation(),Re(t));break;case"Backspace":if($&&!q&&""===ue&&se.length>0){const e=-1===re?se.length-1:re,n=se.slice();n.splice(e,1),Pe(t,n,"removeOption",{option:se[e]})}break;case"Delete":if($&&!q&&""===ue&&se.length>0&&-1!==re){const e=re,n=se.slice();n.splice(e,1),Pe(t,n,"removeOption",{option:se[e]})}}},Le=e=>{pe(!0),U&&!Q.current&&Ee(e)},$e=e=>{t(ee)?J.current.focus():(pe(!1),Z.current=!0,Q.current=!1,i&&-1!==ie.current&&be?Ie(e,we[ie.current],"blur"):i&&k&&""!==ue?Ie(e,ue,"blur","freeSolo"):f&&fe(e,se,"blur"),Me(e,"blur"))},je=e=>{const t=e.target.value;ue!==t&&(ce(t),ve(!1),z&&z(e,t,"input")),""===t?w||$||Pe(e,null,"clear"):Ee(e)},Fe=e=>{const t=Number(e.currentTarget.getAttribute("data-option-index"));ie.current!==t&&Ae({event:e,index:t,reason:"mouse"})},Be=e=>{Ae({event:e,index:Number(e.currentTarget.getAttribute("data-option-index")),reason:"touch"}),Oe.current=!0},ze=e=>{const t=Number(e.currentTarget.getAttribute("data-option-index"));Ie(e,we[t],"selectOption"),Oe.current=!1},We=e=>t=>{const n=se.slice();n.splice(e,1),Pe(t,n,"removeOption",{option:se[e]})},Ve=e=>{he?Me(e,"toggleInput"):Ee(e)},Ue=e=>{e.currentTarget.contains(e.target)&&e.target.getAttribute("id")!==X&&e.preventDefault()},He=e=>{e.currentTarget.contains(e.target)&&(J.current.focus(),G&&Z.current&&J.current.selectionEnd-J.current.selectionStart==0&&J.current.select(),Z.current=!1)},qe=e=>{S||""!==ue&&he||(Ve(e),e.stopPropagation())};let Ge=k&&ue.length>0;Ge=Ge||($?se.length>0:null!==se);let Ye=we;return O&&(new Map,Ye=we.reduce(((e,t,n)=>{const r=O(t);return e.length>0&&e[e.length-1].group===r?e[e.length-1].options.push(t):e.push({key:n,index:n,group:r,options:[t]}),e}),[])),S&&de&&$e(),{getRootProps:(e={})=>({"aria-owns":Se?`${X}-listbox`:null,...e,onKeyDown:Ne(e),onMouseDown:Ue,onClick:He}),getInputLabelProps:()=>({id:`${X}-label`,htmlFor:X}),getInputProps:()=>({id:X,value:ue,onBlur:$e,onFocus:Le,onChange:je,onMouseDown:qe,"aria-activedescendant":be?"":null,"aria-autocomplete":a?"both":"list","aria-controls":Se?`${X}-listbox`:void 0,"aria-expanded":Se,autoComplete:"off",ref:J,autoCapitalize:"none",spellCheck:"false",role:"combobox",disabled:S}),getClearProps:()=>({tabIndex:-1,type:"button",onClick:Re}),getPopupIndicatorProps:()=>({tabIndex:-1,type:"button",onClick:Ve,onMouseDown:e=>e.stopPropagation()}),getTagProps:({index:e})=>({key:e,"data-tag-index":e,tabIndex:-1,...!q&&{onDelete:We(e)}}),getListboxProps:()=>({role:"listbox",id:`${X}-listbox`,"aria-labelledby":`${X}-label`,ref:ke,onMouseDown:e=>{e.preventDefault()}}),getOptionProps:({index:e,option:t})=>{const n=($?se:[se]).some((e=>null!=e&&L(t,e))),r=!!E&&E(t);return{key:M?.(t)??K(t),tabIndex:-1,role:"option",id:`${X}-option-${e}`,onMouseMove:Fe,onClick:ze,onTouchStart:Be,"data-option-index":e,"aria-disabled":r,"aria-selected":n}},id:X,inputValue:ue,value:se,dirty:Ge,expanded:be&&te,popupOpen:be,focused:de||-1!==re,anchorEl:te,setAnchorEl:ne,focusedTag:re,groupedOptions:Ye}}({...n,componentName:"Autocomplete"}),pt=!R&&!Z&&nt&&!Le,ft=(!oe||!0===ae)&&!1!==ae,{onMouseDown:ht}=Ye(),{ref:mt,...gt}=Je(),vt=ce||(e=>e.label??e),yt={...n,disablePortal:te,expanded:rt,focused:it,fullWidth:ie,getOptionLabel:vt,hasClearIcon:pt,hasPopupIcon:ft,inputFocused:-1===st,popupOpen:ot,size:We},bt=(e=>{const{classes:t,disablePortal:n,expanded:r,focused:a,fullWidth:i,hasClearIcon:s,hasPopupIcon:l,inputFocused:u,popupOpen:c,size:d}=e,p={root:["root",r&&"expanded",a&&"focused",i&&"fullWidth",s&&"hasClearIcon",l&&"hasPopupIcon"],inputRoot:["inputRoot"],input:["input",u&&"inputFocused"],tag:["tag",`tagSize${(0,F.A)(d)}`],endAdornment:["endAdornment"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",c&&"popupIndicatorOpen"],popper:["popper",n&&"popperDisablePortal"],paper:["paper"],listbox:["listbox"],loading:["loading"],noOptions:["noOptions"],option:["option"],groupLabel:["groupLabel"],groupUl:["groupUl"]};return(0,o.A)(p,N,t)})(yt),wt={slots:{listbox:ye,paper:De,popper:Re,...Ve},slotProps:{chip:w,listbox:be,...O,...Ue}},[xt,St]=(0,B.A)("listbox",{elementType:"ul",externalForwardedProps:wt,ownerState:yt,className:bt.listbox,additionalProps:gt,ref:mt}),[_t,At]=(0,B.A)("paper",{elementType:b.A,externalForwardedProps:wt,ownerState:yt,className:bt.paper}),[Ct,Tt]=(0,B.A)("popper",{elementType:v.A,externalForwardedProps:wt,ownerState:yt,className:bt.popper,additionalProps:{disablePortal:te,style:{width:lt?lt.clientWidth:null},role:"presentation",anchorEl:lt,open:ot}});let kt;if(Se&&tt.length>0){const e=e=>({className:bt.tag,disabled:Z,...Ze(e)});kt=Be?Be(tt,e,yt):tt.map(((t,n)=>{const{key:r,...a}=e({index:n});return(0,k.jsx)(x.A,{label:vt(t),size:We,...a,...wt.slotProps.chip},r)}))}if(ve>-1&&Array.isArray(kt)){const e=kt.length-ve;!it&&e>0&&(kt=kt.splice(0,ve),kt.push((0,k.jsx)("span",{className:bt.tag,children:se(e)},kt.length)))}const Et=$e||(e=>(0,k.jsxs)("li",{children:[(0,k.jsx)(K,{className:bt.groupLabel,ownerState:yt,component:"div",children:e.group}),(0,k.jsx)(Q,{className:bt.groupUl,ownerState:yt,children:e.children})]},e.key)),Mt=Fe||((e,t)=>{const{key:n,...r}=e;return(0,k.jsx)("li",{...r,children:vt(t)},n)}),Pt=(e,t)=>{const n=et({option:e,index:t});return Mt({...n,className:bt.option},e,{selected:n["aria-selected"],index:t,inputValue:ct},yt)},Ot=wt.slotProps.clearIndicator,It=wt.slotProps.popupIndicator,Dt=e=>(0,k.jsx)(H,{as:Ct,...Tt,children:(0,k.jsx)(q,{as:_t,...At,children:e})});let Rt=null;return dt.length>0?Rt=Dt((0,k.jsx)(X,{as:xt,...St,children:dt.map(((e,t)=>pe?Et({key:e.key,group:e.group,children:e.options.map(((t,n)=>Pt(t,e.index+n)))}):Pt(e,t)))})):we&&0===dt.length?Rt=Dt((0,k.jsx)(G,{className:bt.loading,ownerState:yt,children:xe})):0!==dt.length||oe||we||(Rt=Dt((0,k.jsx)(Y,{className:bt.noOptions,ownerState:yt,role:"presentation",onMouseDown:e=>{e.preventDefault()},children:_e}))),(0,k.jsxs)(r.Fragment,{children:[(0,k.jsx)(z,{ref:t,className:(0,a.A)(bt.root,S),ownerState:yt,...Ge(qe),children:je({id:at,disabled:Z,fullWidth:!0,size:"small"===We?"small":void 0,InputLabelProps:Xe(),InputProps:{ref:ut,className:bt.inputRoot,startAdornment:kt,onMouseDown:e=>ht(e),...(pt||ft)&&{endAdornment:(0,k.jsxs)(W,{className:bt.endAdornment,ownerState:yt,children:[pt?(0,k.jsx)(V,{...Qe(),"aria-label":T,title:T,ownerState:yt,...Ot,className:(0,a.A)(bt.clearIndicator,Ot?.className),children:_}):null,ft?(0,k.jsx)(U,{...Ke(),disabled:Z,"aria-label":ot?P:Oe,title:ot?P:Oe,ownerState:yt,...It,className:(0,a.A)(bt.popupIndicator,It?.className),children:Ne}):null]})}},inputProps:{className:bt.input,disabled:Z,readOnly:Le,...Ye()}})}),lt?Rt:null]})}))},89634:(e,t,n)=>{"use strict";n.r(t),n.d(t,{avatarClasses:()=>m,default:()=>w,getAvatarUtilityClass:()=>h});var r=n(96540),a=n(34164),o=n(75659),i=n(11848),s=n(42637),l=n(25669),u=n(20561),c=n(74848);const d=(0,u.A)((0,c.jsx)("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");var p=n(38413),f=n(31609);function h(e){return(0,f.Ay)("MuiAvatar",e)}const m=(0,p.A)("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);var g=n(6025);const v=(0,i.Ay)("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],n.colorDefault&&t.colorDefault]}})((0,s.A)((({theme:e})=>({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none",variants:[{props:{variant:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:{variant:"square"},style:{borderRadius:0}},{props:{colorDefault:!0},style:{color:(e.vars||e).palette.background.default,...e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:{backgroundColor:e.palette.grey[400],...e.applyStyles("dark",{backgroundColor:e.palette.grey[600]})}}}]})))),y=(0,i.Ay)("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),b=(0,i.Ay)(d,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,t)=>t.fallback})({width:"75%",height:"75%"}),w=r.forwardRef((function(e,t){const n=(0,l.b)({props:e,name:"MuiAvatar"}),{alt:i,children:s,className:u,component:d="div",slots:p={},slotProps:f={},imgProps:m,sizes:w,src:x,srcSet:S,variant:_="circular",...A}=n;let C=null;const T=function({crossOrigin:e,referrerPolicy:t,src:n,srcSet:a}){const[o,i]=r.useState(!1);return r.useEffect((()=>{if(!n&&!a)return;i(!1);let r=!0;const o=new Image;return o.onload=()=>{r&&i("loaded")},o.onerror=()=>{r&&i("error")},o.crossOrigin=e,o.referrerPolicy=t,o.src=n,a&&(o.srcset=a),()=>{r=!1}}),[e,t,n,a]),o}({...m,src:x,srcSet:S}),k=x||S,E=k&&"error"!==T,M={...n,colorDefault:!E,component:d,variant:_};delete M.ownerState;const P=(e=>{const{classes:t,variant:n,colorDefault:r}=e,a={root:["root",n,r&&"colorDefault"],img:["img"],fallback:["fallback"]};return(0,o.A)(a,h,t)})(M),[O,I]=(0,g.A)("img",{className:P.img,elementType:y,externalForwardedProps:{slots:p,slotProps:{img:{...m,...f.img}}},additionalProps:{alt:i,src:x,srcSet:S,sizes:w},ownerState:M});return C=E?(0,c.jsx)(O,{...I}):s||0===s?s:k&&i?i[0]:(0,c.jsx)(b,{ownerState:M,className:P.fallback}),(0,c.jsx)(v,{as:d,className:(0,a.A)(P.root,u),ref:t,...A,ownerState:M,children:C})}))},47419:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var r=n(96540),a=n(34164),o=n(75659),i=n(11848),s=n(25669),l=n(6025),u=n(20973),c=n(38413),d=n(31609);function p(e){return(0,d.Ay)("MuiBackdrop",e)}(0,c.A)("MuiBackdrop",["root","invisible"]);var f=n(74848);const h=(0,i.Ay)("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),m=r.forwardRef((function(e,t){const n=(0,s.b)({props:e,name:"MuiBackdrop"}),{children:r,className:i,component:c="div",invisible:d=!1,open:m,components:g={},componentsProps:v={},slotProps:y={},slots:b={},TransitionComponent:w,transitionDuration:x,...S}=n,_={...n,component:c,invisible:d},A=(e=>{const{classes:t,invisible:n}=e,r={root:["root",n&&"invisible"]};return(0,o.A)(r,p,t)})(_),C={slots:{transition:w,root:g.Root,...b},slotProps:{...v,...y}},[T,k]=(0,l.A)("root",{elementType:h,externalForwardedProps:C,className:(0,a.A)(A.root,i),ownerState:_}),[E,M]=(0,l.A)("transition",{elementType:u.A,externalForwardedProps:C,ownerState:_}),P=(e=>{const{ownerState:t,...n}=e;return n})(M);return(0,f.jsx)(E,{in:m,timeout:x,...S,...P,children:(0,f.jsx)(T,{"aria-hidden":!0,...k,classes:A,ref:t,children:r})})}))},79850:(e,t,n)=>{"use strict";n.r(t),n.d(t,{badgeClasses:()=>g,default:()=>w,getBadgeUtilityClass:()=>m});var r=n(96540),a=n(34164),o=n(8299),i=n(75659),s=n(79329);var l=n(11848),u=n(42637),c=n(78660),d=n(25669),p=n(28466),f=n(38413),h=n(31609);function m(e){return(0,h.Ay)("MuiBadge",e)}const g=(0,f.A)("MuiBadge",["root","badge","dot","standard","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft","invisible","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","overlapRectangular","overlapCircular","anchorOriginTopLeftCircular","anchorOriginTopLeftRectangular","anchorOriginTopRightCircular","anchorOriginTopRightRectangular","anchorOriginBottomLeftCircular","anchorOriginBottomLeftRectangular","anchorOriginBottomRightCircular","anchorOriginBottomRightRectangular"]);var v=n(74848);const y=(0,l.Ay)("span",{name:"MuiBadge",slot:"Root",overridesResolver:(e,t)=>t.root})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),b=(0,l.Ay)("span",{name:"MuiBadge",slot:"Badge",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.badge,t[n.variant],t[`anchorOrigin${(0,p.A)(n.anchorOrigin.vertical)}${(0,p.A)(n.anchorOrigin.horizontal)}${(0,p.A)(n.overlap)}`],"default"!==n.color&&t[`color${(0,p.A)(n.color)}`],n.invisible&&t.invisible]}})((0,u.A)((({theme:e})=>({display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(12),minWidth:20,lineHeight:1,padding:"0 6px",height:20,borderRadius:10,zIndex:1,transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.enteringScreen}),variants:[...Object.entries(e.palette).filter((0,c.A)(["contrastText"])).map((([t])=>({props:{color:t},style:{backgroundColor:(e.vars||e).palette[t].main,color:(e.vars||e).palette[t].contrastText}}))),{props:{variant:"dot"},style:{borderRadius:4,height:8,minWidth:8,padding:0}},{props:({ownerState:e})=>"top"===e.anchorOrigin.vertical&&"right"===e.anchorOrigin.horizontal&&"rectangular"===e.overlap,style:{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${g.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:e})=>"bottom"===e.anchorOrigin.vertical&&"right"===e.anchorOrigin.horizontal&&"rectangular"===e.overlap,style:{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${g.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:e})=>"top"===e.anchorOrigin.vertical&&"left"===e.anchorOrigin.horizontal&&"rectangular"===e.overlap,style:{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${g.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:e})=>"bottom"===e.anchorOrigin.vertical&&"left"===e.anchorOrigin.horizontal&&"rectangular"===e.overlap,style:{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${g.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:({ownerState:e})=>"top"===e.anchorOrigin.vertical&&"right"===e.anchorOrigin.horizontal&&"circular"===e.overlap,style:{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${g.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:e})=>"bottom"===e.anchorOrigin.vertical&&"right"===e.anchorOrigin.horizontal&&"circular"===e.overlap,style:{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${g.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:e})=>"top"===e.anchorOrigin.vertical&&"left"===e.anchorOrigin.horizontal&&"circular"===e.overlap,style:{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${g.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:e})=>"bottom"===e.anchorOrigin.vertical&&"left"===e.anchorOrigin.horizontal&&"circular"===e.overlap,style:{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${g.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:{invisible:!0},style:{transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.leavingScreen})}}]})))),w=r.forwardRef((function(e,t){const n=(0,d.b)({props:e,name:"MuiBadge"}),{anchorOrigin:r={vertical:"top",horizontal:"right"},className:l,classes:u,component:c,components:f={},componentsProps:h={},children:g,overlap:w="rectangular",color:x="default",invisible:S=!1,max:_=99,badgeContent:A,slots:C,slotProps:T,showZero:k=!1,variant:E="standard",...M}=n,{badgeContent:P,invisible:O,max:I,displayValue:D}=function(e){const{badgeContent:t,invisible:n=!1,max:r=99,showZero:a=!1}=e,i=(0,o.A)({badgeContent:t,max:r});let s=n;!1!==n||0!==t||a||(s=!0);const{badgeContent:l,max:u=r}=s?i:e;return{badgeContent:l,invisible:s,max:u,displayValue:l&&Number(l)>u?`${u}+`:l}}({max:_,invisible:S,badgeContent:A,showZero:k}),R=(0,o.A)({anchorOrigin:r,color:x,overlap:w,variant:E,badgeContent:A}),N=O||null==P&&"dot"!==E,{color:L=x,overlap:$=w,anchorOrigin:j=r,variant:F=E}=N?R:n,B="dot"!==F?D:void 0,z={...n,badgeContent:P,invisible:N,max:I,displayValue:B,showZero:k,anchorOrigin:j,color:L,overlap:$,variant:F},W=(e=>{const{color:t,anchorOrigin:n,invisible:r,overlap:a,variant:o,classes:s={}}=e,l={root:["root"],badge:["badge",o,r&&"invisible",`anchorOrigin${(0,p.A)(n.vertical)}${(0,p.A)(n.horizontal)}`,`anchorOrigin${(0,p.A)(n.vertical)}${(0,p.A)(n.horizontal)}${(0,p.A)(a)}`,`overlap${(0,p.A)(a)}`,"default"!==t&&`color${(0,p.A)(t)}`]};return(0,i.A)(l,m,s)})(z),V=C?.root??f.Root??y,U=C?.badge??f.Badge??b,H=T?.root??h.root,q=T?.badge??h.badge,G=(0,s.A)({elementType:V,externalSlotProps:H,externalForwardedProps:M,additionalProps:{ref:t,as:c},ownerState:z,className:(0,a.A)(H?.className,W.root,l)}),Y=(0,s.A)({elementType:U,externalSlotProps:q,ownerState:z,className:(0,a.A)(W.badge,q?.className)});return(0,v.jsxs)(V,{...G,children:[g,(0,v.jsx)(U,{...Y,children:B})]})}))},65257:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var r=n(96540),a=n(34164),o=n(86124),i=n(37415),s=n(27955),l=n(51777),u=n(74848),c=n(79071),d=n(47994),p=n(58312);const f=(0,n(38413).A)("MuiBox",["root"]),h=(0,d.A)(),m=function(e={}){const{themeId:t,defaultTheme:n,defaultClassName:c="MuiBox-root",generateClassName:d}=e,p=(0,o.Ay)("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(i.A);return r.forwardRef((function(e,r){const o=(0,l.A)(n),{className:i,component:f="div",...h}=(0,s.A)(e);return(0,u.jsx)(p,{as:f,ref:r,className:(0,a.A)(i,d?d(c):c),theme:t&&o[t]||o,...h})}))}({themeId:p.A,defaultTheme:h,defaultClassName:f.root,generateClassName:c.A.generate}),g=m},90860:(e,t,n)=>{"use strict";n.r(t),n.d(t,{breadcrumbsClasses:()=>S,default:()=>k,getBreadcrumbsUtilityClass:()=>x});var r=n(96540),a=(n(44363),n(34164)),o=n(75659),i=n(79329),s=n(11848),l=n(25669),u=n(33551),c=n(79739),d=n(42637),p=n(20561),f=n(74848);const h=(0,p.A)((0,f.jsx)("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"MoreHoriz");var m=n(80189);const g=(0,s.Ay)(m.A)((0,d.A)((({theme:e})=>({display:"flex",marginLeft:`calc(${e.spacing(1)} * 0.5)`,marginRight:`calc(${e.spacing(1)} * 0.5)`,..."light"===e.palette.mode?{backgroundColor:e.palette.grey[100],color:e.palette.grey[700]}:{backgroundColor:e.palette.grey[700],color:e.palette.grey[100]},borderRadius:2,"&:hover, &:focus":{..."light"===e.palette.mode?{backgroundColor:e.palette.grey[200]}:{backgroundColor:e.palette.grey[600]}},"&:active":{boxShadow:e.shadows[0],..."light"===e.palette.mode?{backgroundColor:(0,c.tL)(e.palette.grey[200],.12)}:{backgroundColor:(0,c.tL)(e.palette.grey[600],.12)}}})))),v=(0,s.Ay)(h)({width:24,height:16}),y=function(e){const{slots:t={},slotProps:n={},...r}=e,a=e;return(0,f.jsx)("li",{children:(0,f.jsx)(g,{focusRipple:!0,...r,ownerState:a,children:(0,f.jsx)(v,{as:t.CollapsedIcon,ownerState:a,...n.collapsedIcon})})})};var b=n(38413),w=n(31609);function x(e){return(0,w.Ay)("MuiBreadcrumbs",e)}const S=(0,b.A)("MuiBreadcrumbs",["root","ol","li","separator"]),_=(0,s.Ay)(u.A,{name:"MuiBreadcrumbs",slot:"Root",overridesResolver:(e,t)=>[{[`& .${S.li}`]:t.li},t.root]})({}),A=(0,s.Ay)("ol",{name:"MuiBreadcrumbs",slot:"Ol",overridesResolver:(e,t)=>t.ol})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"}),C=(0,s.Ay)("li",{name:"MuiBreadcrumbs",slot:"Separator",overridesResolver:(e,t)=>t.separator})({display:"flex",userSelect:"none",marginLeft:8,marginRight:8});function T(e,t,n,r){return e.reduce(((a,o,i)=>(i{const{classes:t}=e;return(0,o.A)({root:["root"],li:["li"],ol:["ol"],separator:["separator"]},x,t)})(k),M=(0,i.A)({elementType:d.CollapsedIcon,externalSlotProps:p.collapsedIcon,ownerState:k}),P=r.useRef(null),O=r.Children.toArray(s).filter((e=>r.isValidElement(e))).map(((e,t)=>(0,f.jsx)("li",{className:E.li,children:e},`child-${t}`)));return(0,f.jsx)(_,{ref:t,component:c,color:"textSecondary",className:(0,a.A)(E.root,u),ownerState:k,...w,children:(0,f.jsx)(A,{className:E.ol,ref:P,ownerState:k,children:T(S||v&&O.length<=v?O:(e=>g+m>=e.length?e:[...e.slice(0,g),(0,f.jsx)(y,{"aria-label":h,slots:{CollapsedIcon:d.CollapsedIcon},slotProps:{collapsedIcon:M},onClick:()=>{C(!0);const e=P.current.querySelector("a[href],button,[tabindex]");e&&e.focus()}},"ellipsis"),...e.slice(e.length-m,e.length)])(O),E.separator,b,k)})})}))},84798:(e,t,n)=>{"use strict";n.d(t,{A:()=>_});var r=n(96540),a=n(34164),o=n(47379),i=n(75659),s=n(79739),l=n(39770),u=n(11848),c=n(42637),d=n(25669),p=n(80189),f=n(28466),h=n(78660),m=n(87845);const g=r.createContext({}),v=r.createContext(void 0);var y=n(74848);const b=[{props:{size:"small"},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:"medium"},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:"large"},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],w=(0,u.Ay)(p.A,{shouldForwardProp:e=>(0,l.A)(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${(0,f.A)(n.color)}`],t[`size${(0,f.A)(n.size)}`],t[`${n.variant}Size${(0,f.A)(n.size)}`],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})((0,c.A)((({theme:e})=>{const t="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],n="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return{...e.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${m.A.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]},[`&.${m.A.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${m.A.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",[`&.${m.A.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(e.palette).filter((0,h.A)()).map((([t])=>({props:{color:t},style:{"--variant-textColor":(e.vars||e).palette[t].main,"--variant-outlinedColor":(e.vars||e).palette[t].main,"--variant-outlinedBorder":e.vars?`rgba(${e.vars.palette[t].mainChannel} / 0.5)`:(0,s.X4)(e.palette[t].main,.5),"--variant-containedColor":(e.vars||e).palette[t].contrastText,"--variant-containedBg":(e.vars||e).palette[t].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[t].dark,"--variant-textBg":e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,s.X4)(e.palette[t].main,e.palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[t].main,"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,s.X4)(e.palette[t].main,e.palette.action.hoverOpacity)}}}}))),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:n,"--variant-textBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,s.X4)(e.palette.text.primary,e.palette.action.hoverOpacity),"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,s.X4)(e.palette.text.primary,e.palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${m.A.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${m.A.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}}]}}))),x=(0,u.Ay)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${(0,f.A)(n.size)}`]]}})({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},...b]}),S=(0,u.Ay)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${(0,f.A)(n.size)}`]]}})({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},...b]}),_=r.forwardRef((function(e,t){const n=r.useContext(g),s=r.useContext(v),l=(0,o.A)(n,e),u=(0,d.b)({props:l,name:"MuiButton"}),{children:c,color:p="primary",component:h="button",className:b,disabled:_=!1,disableElevation:A=!1,disableFocusRipple:C=!1,endIcon:T,focusVisibleClassName:k,fullWidth:E=!1,size:M="medium",startIcon:P,type:O,variant:I="text",...D}=u,R={...u,color:p,component:h,disabled:_,disableElevation:A,disableFocusRipple:C,fullWidth:E,size:M,type:O,variant:I},N=(e=>{const{color:t,disableElevation:n,fullWidth:r,size:a,variant:o,classes:s}=e,l={root:["root",o,`${o}${(0,f.A)(t)}`,`size${(0,f.A)(a)}`,`${o}Size${(0,f.A)(a)}`,`color${(0,f.A)(t)}`,n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${(0,f.A)(a)}`],endIcon:["icon","endIcon",`iconSize${(0,f.A)(a)}`]},u=(0,i.A)(l,m.B,s);return{...s,...u}})(R),L=P&&(0,y.jsx)(x,{className:N.startIcon,ownerState:R,children:P}),$=T&&(0,y.jsx)(S,{className:N.endIcon,ownerState:R,children:T}),j=s||"";return(0,y.jsxs)(w,{ownerState:R,className:(0,a.A)(n.className,N.root,b,j),component:h,disabled:_,focusRipple:!C,focusVisibleClassName:(0,a.A)(N.focusVisible,k),ref:t,type:O,...D,classes:N,children:[L,c,$]})}))},87845:(e,t,n)=>{"use strict";n.d(t,{A:()=>i,B:()=>o});var r=n(38413),a=n(31609);function o(e){return(0,a.Ay)("MuiButton",e)}const i=(0,r.A)("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"])},78729:(e,t,n)=>{"use strict";n.r(t),n.d(t,{buttonClasses:()=>a.A,default:()=>r.A,getButtonUtilityClass:()=>a.B});var r=n(84798),a=n(87845)},80189:(e,t,n)=>{"use strict";n.d(t,{A:()=>M});var r=n(96540),a=n(34164),o=n(75659),i=n(24899),s=n(11848),l=n(25669),u=n(96852),c=n(83034),d=n(72295);class p{static create(){return new p}static use(){const e=(0,d.A)(p.create).current,[t,n]=r.useState(!1);return e.shouldMount=t,e.setShouldMount=n,r.useEffect(e.mountEffect,[t]),e}constructor(){this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}mount(){return this.mounted||(this.mounted=function(){let e,t;const n=new Promise(((n,r)=>{e=n,t=r}));return n.resolve=e,n.reject=t,n}(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}mountEffect=()=>{this.shouldMount&&!this.didMount&&null!==this.ref.current&&(this.didMount=!0,this.mounted.resolve())};start(...e){this.mount().then((()=>this.ref.current?.start(...e)))}stop(...e){this.mount().then((()=>this.ref.current?.stop(...e)))}pulsate(...e){this.mount().then((()=>this.ref.current?.pulsate(...e)))}}var f=n(47299),h=n(69787),m=n(17437),g=n(74848);var v=n(38413);const y=(0,v.A)("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),b=m.i7` 0% { transform: scale(0); opacity: 0.1; } 100% { transform: scale(1); opacity: 0.3; } `,w=m.i7` 0% { opacity: 1; } 100% { opacity: 0; } `,x=m.i7` 0% { transform: scale(1); } 50% { transform: scale(0.92); } 100% { transform: scale(1); } `,S=(0,s.Ay)("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),_=(0,s.Ay)((function(e){const{className:t,classes:n,pulsate:o=!1,rippleX:i,rippleY:s,rippleSize:l,in:u,onExited:c,timeout:d}=e,[p,f]=r.useState(!1),h=(0,a.A)(t,n.ripple,n.rippleVisible,o&&n.ripplePulsate),m={width:l,height:l,top:-l/2+s,left:-l/2+i},v=(0,a.A)(n.child,p&&n.childLeaving,o&&n.childPulsate);return u||p||f(!0),r.useEffect((()=>{if(!u&&null!=c){const e=setTimeout(c,d);return()=>{clearTimeout(e)}}}),[c,u,d]),(0,g.jsx)("span",{className:h,style:m,children:(0,g.jsx)("span",{className:v})})}),{name:"MuiTouchRipple",slot:"Ripple"})` opacity: 0; position: absolute; &.${y.rippleVisible} { opacity: 0.3; transform: scale(1); animation-name: ${b}; animation-duration: ${550}ms; animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut}; } &.${y.ripplePulsate} { animation-duration: ${({theme:e})=>e.transitions.duration.shorter}ms; } & .${y.child} { opacity: 1; display: block; width: 100%; height: 100%; border-radius: 50%; background-color: currentColor; } & .${y.childLeaving} { opacity: 0; animation-name: ${w}; animation-duration: ${550}ms; animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut}; } & .${y.childPulsate} { position: absolute; /* @noflip */ left: 0px; top: 0; animation-name: ${x}; animation-duration: 2500ms; animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut}; animation-iteration-count: infinite; animation-delay: 200ms; } `,A=r.forwardRef((function(e,t){const n=(0,l.b)({props:e,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:s,...u}=n,[c,d]=r.useState([]),p=r.useRef(0),m=r.useRef(null);r.useEffect((()=>{m.current&&(m.current(),m.current=null)}),[c]);const v=r.useRef(!1),b=(0,h.A)(),w=r.useRef(null),x=r.useRef(null),A=r.useCallback((e=>{const{pulsate:t,rippleX:n,rippleY:r,rippleSize:o,cb:s}=e;d((e=>[...e,(0,g.jsx)(_,{classes:{ripple:(0,a.A)(i.ripple,y.ripple),rippleVisible:(0,a.A)(i.rippleVisible,y.rippleVisible),ripplePulsate:(0,a.A)(i.ripplePulsate,y.ripplePulsate),child:(0,a.A)(i.child,y.child),childLeaving:(0,a.A)(i.childLeaving,y.childLeaving),childPulsate:(0,a.A)(i.childPulsate,y.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:o},p.current)])),p.current+=1,m.current=s}),[i]),C=r.useCallback(((e={},t={},n=(()=>{}))=>{const{pulsate:r=!1,center:a=o||t.pulsate,fakeElement:i=!1}=t;if("mousedown"===e?.type&&v.current)return void(v.current=!1);"touchstart"===e?.type&&(v.current=!0);const s=i?null:x.current,l=s?s.getBoundingClientRect():{width:0,height:0,left:0,top:0};let u,c,d;if(a||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)u=Math.round(l.width/2),c=Math.round(l.height/2);else{const{clientX:t,clientY:n}=e.touches&&e.touches.length>0?e.touches[0]:e;u=Math.round(t-l.left),c=Math.round(n-l.top)}if(a)d=Math.sqrt((2*l.width**2+l.height**2)/3),d%2==0&&(d+=1);else{const e=2*Math.max(Math.abs((s?s.clientWidth:0)-u),u)+2,t=2*Math.max(Math.abs((s?s.clientHeight:0)-c),c)+2;d=Math.sqrt(e**2+t**2)}e?.touches?null===w.current&&(w.current=()=>{A({pulsate:r,rippleX:u,rippleY:c,rippleSize:d,cb:n})},b.start(80,(()=>{w.current&&(w.current(),w.current=null)}))):A({pulsate:r,rippleX:u,rippleY:c,rippleSize:d,cb:n})}),[o,A,b]),T=r.useCallback((()=>{C({},{pulsate:!0})}),[C]),k=r.useCallback(((e,t)=>{if(b.clear(),"touchend"===e?.type&&w.current)return w.current(),w.current=null,void b.start(0,(()=>{k(e,t)}));w.current=null,d((e=>e.length>0?e.slice(1):e)),m.current=t}),[b]);return r.useImperativeHandle(t,(()=>({pulsate:T,start:C,stop:k})),[T,C,k]),(0,g.jsx)(S,{className:(0,a.A)(y.root,i.root,s),ref:x,...u,children:(0,g.jsx)(f.A,{component:null,exit:!0,children:c})})}));var C=n(31609);function T(e){return(0,C.Ay)("MuiButtonBase",e)}const k=(0,v.A)("MuiButtonBase",["root","disabled","focusVisible"]),E=(0,s.Ay)("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${k.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),M=r.forwardRef((function(e,t){const n=(0,l.b)({props:e,name:"MuiButtonBase"}),{action:s,centerRipple:d=!1,children:f,className:h,component:m="button",disabled:v=!1,disableRipple:y=!1,disableTouchRipple:b=!1,focusRipple:w=!1,focusVisibleClassName:x,LinkComponent:S="a",onBlur:_,onClick:C,onContextMenu:k,onDragLeave:M,onFocus:P,onFocusVisible:O,onKeyDown:I,onKeyUp:D,onMouseDown:R,onMouseLeave:N,onMouseUp:L,onTouchEnd:$,onTouchMove:j,onTouchStart:F,tabIndex:B=0,TouchRippleProps:z,touchRippleRef:W,type:V,...U}=n,H=r.useRef(null),q=p.use(),G=(0,u.A)(q.ref,W),[Y,X]=r.useState(!1);v&&Y&&X(!1),r.useImperativeHandle(s,(()=>({focusVisible:()=>{X(!0),H.current.focus()}})),[]);const K=q.shouldMount&&!y&&!v;function Q(e,t,n=b){return(0,c.A)((r=>(t&&t(r),n||q[e](r),!0)))}r.useEffect((()=>{Y&&w&&!y&&q.pulsate()}),[y,w,Y,q]);const Z=Q("start",R),J=Q("stop",k),ee=Q("stop",M),te=Q("stop",L),ne=Q("stop",(e=>{Y&&e.preventDefault(),N&&N(e)})),re=Q("start",F),ae=Q("stop",$),oe=Q("stop",j),ie=Q("stop",(e=>{(0,i.A)(e.target)||X(!1),_&&_(e)}),!1),se=(0,c.A)((e=>{H.current||(H.current=e.currentTarget),(0,i.A)(e.target)&&(X(!0),O&&O(e)),P&&P(e)})),le=()=>{const e=H.current;return m&&"button"!==m&&!("A"===e.tagName&&e.href)},ue=(0,c.A)((e=>{w&&!e.repeat&&Y&&" "===e.key&&q.stop(e,(()=>{q.start(e)})),e.target===e.currentTarget&&le()&&" "===e.key&&e.preventDefault(),I&&I(e),e.target===e.currentTarget&&le()&&"Enter"===e.key&&!v&&(e.preventDefault(),C&&C(e))})),ce=(0,c.A)((e=>{w&&" "===e.key&&Y&&!e.defaultPrevented&&q.stop(e,(()=>{q.pulsate(e)})),D&&D(e),C&&e.target===e.currentTarget&&le()&&" "===e.key&&!e.defaultPrevented&&C(e)}));let de=m;"button"===de&&(U.href||U.to)&&(de=S);const pe={};"button"===de?(pe.type=void 0===V?"button":V,pe.disabled=v):(U.href||U.to||(pe.role="button"),v&&(pe["aria-disabled"]=v));const fe=(0,u.A)(t,H),he={...n,centerRipple:d,component:m,disabled:v,disableRipple:y,disableTouchRipple:b,focusRipple:w,tabIndex:B,focusVisible:Y},me=(e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:a}=e,i={root:["root",t&&"disabled",n&&"focusVisible"]},s=(0,o.A)(i,T,a);return n&&r&&(s.root+=` ${r}`),s})(he);return(0,g.jsxs)(E,{as:de,className:(0,a.A)(me.root,h),ownerState:he,onBlur:ie,onClick:C,onContextMenu:J,onFocus:se,onKeyDown:ue,onKeyUp:ce,onMouseDown:Z,onMouseLeave:ne,onMouseUp:te,onDragLeave:ee,onTouchEnd:ae,onTouchMove:oe,onTouchStart:re,ref:fe,tabIndex:v?-1:B,type:V,...pe,...U,children:[f,K?(0,g.jsx)(A,{ref:G,center:d,...z}):null]})}))},35343:(e,t,n)=>{"use strict";n.r(t),n.d(t,{checkboxClasses:()=>y,default:()=>k,getCheckboxUtilityClass:()=>v});var r=n(96540),a=n(34164),o=n(75659),i=n(79739),s=n(55860),l=n(20561),u=n(74848);const c=(0,l.A)((0,u.jsx)("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),d=(0,l.A)((0,u.jsx)("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),p=(0,l.A)((0,u.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");var f=n(28466),h=n(39770),m=n(38413),g=n(31609);function v(e){return(0,g.Ay)("MuiCheckbox",e)}const y=(0,m.A)("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]);var b=n(11848),w=n(42637),x=n(78660),S=n(25669);const _=(0,b.Ay)(s.A,{shouldForwardProp:e=>(0,h.A)(e)||"classes"===e,name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.indeterminate&&t.indeterminate,t[`size${(0,f.A)(n.size)}`],"default"!==n.color&&t[`color${(0,f.A)(n.color)}`]]}})((0,w.A)((({theme:e})=>({color:(e.vars||e).palette.text.secondary,variants:[{props:{color:"default",disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,i.X4)(e.palette.action.active,e.palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter((0,x.A)()).map((([t])=>({props:{color:t,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,i.X4)(e.palette[t].main,e.palette.action.hoverOpacity)}}}))),...Object.entries(e.palette).filter((0,x.A)()).map((([t])=>({props:{color:t},style:{[`&.${y.checked}, &.${y.indeterminate}`]:{color:(e.vars||e).palette[t].main},[`&.${y.disabled}`]:{color:(e.vars||e).palette.action.disabled}}}))),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]})))),A=(0,u.jsx)(d,{}),C=(0,u.jsx)(c,{}),T=(0,u.jsx)(p,{}),k=r.forwardRef((function(e,t){const n=(0,S.b)({props:e,name:"MuiCheckbox"}),{checkedIcon:i=A,color:s="primary",icon:l=C,indeterminate:c=!1,indeterminateIcon:d=T,inputProps:p,size:h="medium",disableRipple:m=!1,className:g,...y}=n,b=c?d:l,w=c?d:i,x={...n,disableRipple:m,color:s,indeterminate:c,size:h},k=(e=>{const{classes:t,indeterminate:n,color:r,size:a}=e,i={root:["root",n&&"indeterminate",`color${(0,f.A)(r)}`,`size${(0,f.A)(a)}`]},s=(0,o.A)(i,v,t);return{...t,...s}})(x);return(0,u.jsx)(_,{type:"checkbox",inputProps:{"data-indeterminate":c,...p},icon:r.cloneElement(b,{fontSize:b.props.fontSize??h}),checkedIcon:r.cloneElement(w,{fontSize:w.props.fontSize??h}),ownerState:x,ref:t,className:(0,a.A)(k.root,g),...y,classes:k})}))},69554:(e,t,n)=>{"use strict";n.d(t,{A:()=>x});var r=n(96540),a=n(34164),o=n(75659),i=n(79739),s=n(20561),l=n(74848);const u=(0,s.A)((0,l.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");var c=n(96852),d=n(28466),p=n(80189),f=n(11848),h=n(42637),m=n(78660),g=n(25669),v=n(83325);const y=(0,f.Ay)("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{color:r,iconColor:a,clickable:o,onDelete:i,size:s,variant:l}=n;return[{[`& .${v.A.avatar}`]:t.avatar},{[`& .${v.A.avatar}`]:t[`avatar${(0,d.A)(s)}`]},{[`& .${v.A.avatar}`]:t[`avatarColor${(0,d.A)(r)}`]},{[`& .${v.A.icon}`]:t.icon},{[`& .${v.A.icon}`]:t[`icon${(0,d.A)(s)}`]},{[`& .${v.A.icon}`]:t[`iconColor${(0,d.A)(a)}`]},{[`& .${v.A.deleteIcon}`]:t.deleteIcon},{[`& .${v.A.deleteIcon}`]:t[`deleteIcon${(0,d.A)(s)}`]},{[`& .${v.A.deleteIcon}`]:t[`deleteIconColor${(0,d.A)(r)}`]},{[`& .${v.A.deleteIcon}`]:t[`deleteIcon${(0,d.A)(l)}Color${(0,d.A)(r)}`]},t.root,t[`size${(0,d.A)(s)}`],t[`color${(0,d.A)(r)}`],o&&t.clickable,o&&"default"!==r&&t[`clickableColor${(0,d.A)(r)})`],i&&t.deletable,i&&"default"!==r&&t[`deletableColor${(0,d.A)(r)}`],t[l],t[`${l}${(0,d.A)(r)}`]]}})((0,h.A)((({theme:e})=>{const t="light"===e.palette.mode?e.palette.grey[700]:e.palette.grey[300];return{maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:16,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${v.A.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${v.A.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:t,fontSize:e.typography.pxToRem(12)},[`& .${v.A.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${v.A.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${v.A.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${v.A.icon}`]:{marginLeft:5,marginRight:-6},[`& .${v.A.deleteIcon}`]:{WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:(0,i.X4)(e.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:(0,i.X4)(e.palette.text.primary,.4)}},variants:[{props:{size:"small"},style:{height:24,[`& .${v.A.icon}`]:{fontSize:18,marginLeft:4,marginRight:-4},[`& .${v.A.deleteIcon}`]:{fontSize:16,marginRight:4,marginLeft:-4}}},...Object.entries(e.palette).filter((0,m.A)(["contrastText"])).map((([t])=>({props:{color:t},style:{backgroundColor:(e.vars||e).palette[t].main,color:(e.vars||e).palette[t].contrastText,[`& .${v.A.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[t].contrastTextChannel} / 0.7)`:(0,i.X4)(e.palette[t].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[t].contrastText}}}}))),{props:e=>e.iconColor===e.color,style:{[`& .${v.A.icon}`]:{color:e.vars?e.vars.palette.Chip.defaultIconColor:t}}},{props:e=>e.iconColor===e.color&&"default"!==e.color,style:{[`& .${v.A.icon}`]:{color:"inherit"}}},{props:{onDelete:!0},style:{[`&.${v.A.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,i.X4)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}},...Object.entries(e.palette).filter((0,m.A)(["dark"])).map((([t])=>({props:{color:t,onDelete:!0},style:{[`&.${v.A.focusVisible}`]:{background:(e.vars||e).palette[t].dark}}}))),{props:{clickable:!0},style:{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,i.X4)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${v.A.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,i.X4)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}}},...Object.entries(e.palette).filter((0,m.A)(["dark"])).map((([t])=>({props:{color:t,clickable:!0},style:{[`&:hover, &.${v.A.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t].dark}}}))),{props:{variant:"outlined"},style:{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${"light"===e.palette.mode?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${v.A.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${v.A.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${v.A.avatar}`]:{marginLeft:4},[`& .${v.A.avatarSmall}`]:{marginLeft:2},[`& .${v.A.icon}`]:{marginLeft:4},[`& .${v.A.iconSmall}`]:{marginLeft:2},[`& .${v.A.deleteIcon}`]:{marginRight:5},[`& .${v.A.deleteIconSmall}`]:{marginRight:3}}},...Object.entries(e.palette).filter((0,m.A)()).map((([t])=>({props:{variant:"outlined",color:t},style:{color:(e.vars||e).palette[t].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[t].mainChannel} / 0.7)`:(0,i.X4)(e.palette[t].main,.7)}`,[`&.${v.A.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,i.X4)(e.palette[t].main,e.palette.action.hoverOpacity)},[`&.${v.A.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.focusOpacity})`:(0,i.X4)(e.palette[t].main,e.palette.action.focusOpacity)},[`& .${v.A.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[t].mainChannel} / 0.7)`:(0,i.X4)(e.palette[t].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[t].main}}}})))]}}))),b=(0,f.Ay)("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:n}=e,{size:r}=n;return[t.label,t[`label${(0,d.A)(r)}`]]}})({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap",variants:[{props:{variant:"outlined"},style:{paddingLeft:11,paddingRight:11}},{props:{size:"small"},style:{paddingLeft:8,paddingRight:8}},{props:{size:"small",variant:"outlined"},style:{paddingLeft:7,paddingRight:7}}]});function w(e){return"Backspace"===e.key||"Delete"===e.key}const x=r.forwardRef((function(e,t){const n=(0,g.b)({props:e,name:"MuiChip"}),{avatar:i,className:s,clickable:f,color:h="default",component:m,deleteIcon:x,disabled:S=!1,icon:_,label:A,onClick:C,onDelete:T,onKeyDown:k,onKeyUp:E,size:M="medium",variant:P="filled",tabIndex:O,skipFocusWhenDisabled:I=!1,...D}=n,R=r.useRef(null),N=(0,c.A)(R,t),L=e=>{e.stopPropagation(),T&&T(e)},$=!(!1===f||!C)||f,j=$||T?p.A:m||"div",F={...n,component:j,disabled:S,size:M,color:h,iconColor:r.isValidElement(_)&&_.props.color||h,onDelete:!!T,clickable:$,variant:P},B=(e=>{const{classes:t,disabled:n,size:r,color:a,iconColor:i,onDelete:s,clickable:l,variant:u}=e,c={root:["root",u,n&&"disabled",`size${(0,d.A)(r)}`,`color${(0,d.A)(a)}`,l&&"clickable",l&&`clickableColor${(0,d.A)(a)}`,s&&"deletable",s&&`deletableColor${(0,d.A)(a)}`,`${u}${(0,d.A)(a)}`],label:["label",`label${(0,d.A)(r)}`],avatar:["avatar",`avatar${(0,d.A)(r)}`,`avatarColor${(0,d.A)(a)}`],icon:["icon",`icon${(0,d.A)(r)}`,`iconColor${(0,d.A)(i)}`],deleteIcon:["deleteIcon",`deleteIcon${(0,d.A)(r)}`,`deleteIconColor${(0,d.A)(a)}`,`deleteIcon${(0,d.A)(u)}Color${(0,d.A)(a)}`]};return(0,o.A)(c,v.f,t)})(F),z=j===p.A?{component:m||"div",focusVisibleClassName:B.focusVisible,...T&&{disableRipple:!0}}:{};let W=null;T&&(W=x&&r.isValidElement(x)?r.cloneElement(x,{className:(0,a.A)(x.props.className,B.deleteIcon),onClick:L}):(0,l.jsx)(u,{className:(0,a.A)(B.deleteIcon),onClick:L}));let V=null;i&&r.isValidElement(i)&&(V=r.cloneElement(i,{className:(0,a.A)(B.avatar,i.props.className)}));let U=null;return _&&r.isValidElement(_)&&(U=r.cloneElement(_,{className:(0,a.A)(B.icon,_.props.className)})),(0,l.jsxs)(y,{as:j,className:(0,a.A)(B.root,s),disabled:!(!$||!S)||void 0,onClick:C,onKeyDown:e=>{e.currentTarget===e.target&&w(e)&&e.preventDefault(),k&&k(e)},onKeyUp:e=>{e.currentTarget===e.target&&T&&w(e)&&T(e),E&&E(e)},ref:N,tabIndex:I&&S?-1:O,ownerState:F,...z,...D,children:[V||U,(0,l.jsx)(b,{className:(0,a.A)(B.label),ownerState:F,children:A}),W]})}))},83325:(e,t,n)=>{"use strict";n.d(t,{A:()=>i,f:()=>o});var r=n(38413),a=n(31609);function o(e){return(0,a.Ay)("MuiChip",e)}const i=(0,r.A)("MuiChip",["root","sizeSmall","sizeMedium","colorDefault","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"])},86891:(e,t,n)=>{"use strict";n.r(t),n.d(t,{chipClasses:()=>a.A,default:()=>r.A,getChipUtilityClass:()=>a.f});var r=n(69554),a=n(83325)},57485:(e,t,n)=>{"use strict";n.r(t),n.d(t,{circularProgressClasses:()=>m,default:()=>A,getCircularProgressUtilityClass:()=>h});var r=n(96540),a=n(34164),o=n(75659),i=n(17437),s=n(11848),l=n(42637),u=n(25669),c=n(28466),d=n(78660),p=n(38413),f=n(31609);function h(e){return(0,f.Ay)("MuiCircularProgress",e)}const m=(0,p.A)("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);var g=n(74848);const v=i.i7` 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } `,y=i.i7` 0% { stroke-dasharray: 1px, 200px; stroke-dashoffset: 0; } 50% { stroke-dasharray: 100px, 200px; stroke-dashoffset: -15px; } 100% { stroke-dasharray: 100px, 200px; stroke-dashoffset: -125px; } `,b="string"!=typeof v?i.AH` animation: ${v} 1.4s linear infinite; `:null,w="string"!=typeof y?i.AH` animation: ${y} 1.4s ease-in-out infinite; `:null,x=(0,s.Ay)("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${(0,c.A)(n.color)}`]]}})((0,l.A)((({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:b||{animation:`${v} 1.4s linear infinite`}},...Object.entries(e.palette).filter((0,d.A)()).map((([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})))]})))),S=(0,s.Ay)("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),_=(0,s.Ay)("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${(0,c.A)(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})((0,l.A)((({theme:e})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:e})=>"indeterminate"===e.variant&&!e.disableShrink,style:w||{animation:`${y} 1.4s ease-in-out infinite`}}]})))),A=r.forwardRef((function(e,t){const n=(0,u.b)({props:e,name:"MuiCircularProgress"}),{className:r,color:i="primary",disableShrink:s=!1,size:l=40,style:d,thickness:p=3.6,value:f=0,variant:m="indeterminate",...v}=n,y={...n,color:i,disableShrink:s,size:l,thickness:p,value:f,variant:m},b=(e=>{const{classes:t,variant:n,color:r,disableShrink:a}=e,i={root:["root",n,`color${(0,c.A)(r)}`],svg:["svg"],circle:["circle",`circle${(0,c.A)(n)}`,a&&"circleDisableShrink"]};return(0,o.A)(i,h,t)})(y),w={},A={},C={};if("determinate"===m){const e=2*Math.PI*((44-p)/2);w.strokeDasharray=e.toFixed(3),C["aria-valuenow"]=Math.round(f),w.strokeDashoffset=`${((100-f)/100*e).toFixed(3)}px`,A.transform="rotate(-90deg)"}return(0,g.jsx)(x,{className:(0,a.A)(b.root,r),style:{width:l,height:l,...A,...d},ownerState:y,ref:t,role:"progressbar",...C,...v,children:(0,g.jsx)(S,{className:b.svg,ownerState:y,viewBox:"22 22 44 44",children:(0,g.jsx)(_,{className:b.circle,style:w,ownerState:y,cx:44,cy:44,r:(44-p)/2,fill:"none",strokeWidth:p})})})}))},29375:(e,t,n)=>{"use strict";n.d(t,{A:()=>x});var r=n(96540),a=n(34164),o=n(80851),i=n(69787),s=n(75659),l=n(11848),u=n(44675),c=n(42637),d=n(25669),p=n(17091),f=n(35186),h=n(96852),m=n(63883),g=n(74848);const v=(0,l.Ay)("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],"entered"===n.state&&t.entered,"exited"===n.state&&!n.in&&"0px"===n.collapsedSize&&t.hidden]}})((0,c.A)((({theme:e})=>({height:0,overflow:"hidden",transition:e.transitions.create("height"),variants:[{props:{orientation:"horizontal"},style:{height:"auto",width:0,transition:e.transitions.create("width")}},{props:{state:"entered"},style:{height:"auto",overflow:"visible"}},{props:{state:"entered",orientation:"horizontal"},style:{width:"auto"}},{props:({ownerState:e})=>"exited"===e.state&&!e.in&&"0px"===e.collapsedSize,style:{visibility:"hidden"}}]})))),y=(0,l.Ay)("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(e,t)=>t.wrapper})({display:"flex",width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),b=(0,l.Ay)("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(e,t)=>t.wrapperInner})({width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),w=r.forwardRef((function(e,t){const n=(0,d.b)({props:e,name:"MuiCollapse"}),{addEndListener:l,children:c,className:w,collapsedSize:x="0px",component:S,easing:_,in:A,onEnter:C,onEntered:T,onEntering:k,onExit:E,onExited:M,onExiting:P,orientation:O="vertical",style:I,timeout:D=p.p0.standard,TransitionComponent:R=o.Ay,...N}=n,L={...n,orientation:O,collapsedSize:x},$=(e=>{const{orientation:t,classes:n}=e,r={root:["root",`${t}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${t}`],wrapperInner:["wrapperInner",`${t}`]};return(0,s.A)(r,m.E,n)})(L),j=(0,u.A)(),F=(0,i.A)(),B=r.useRef(null),z=r.useRef(),W="number"==typeof x?`${x}px`:x,V="horizontal"===O,U=V?"width":"height",H=r.useRef(null),q=(0,h.A)(t,H),G=e=>t=>{if(e){const n=H.current;void 0===t?e(n):e(n,t)}},Y=()=>B.current?B.current[V?"clientWidth":"clientHeight"]:0,X=G(((e,t)=>{B.current&&V&&(B.current.style.position="absolute"),e.style[U]=W,C&&C(e,t)})),K=G(((e,t)=>{const n=Y();B.current&&V&&(B.current.style.position="");const{duration:r,easing:a}=(0,f.c)({style:I,timeout:D,easing:_},{mode:"enter"});if("auto"===D){const t=j.transitions.getAutoHeightDuration(n);e.style.transitionDuration=`${t}ms`,z.current=t}else e.style.transitionDuration="string"==typeof r?r:`${r}ms`;e.style[U]=`${n}px`,e.style.transitionTimingFunction=a,k&&k(e,t)})),Q=G(((e,t)=>{e.style[U]="auto",T&&T(e,t)})),Z=G((e=>{e.style[U]=`${Y()}px`,E&&E(e)})),J=G(M),ee=G((e=>{const t=Y(),{duration:n,easing:r}=(0,f.c)({style:I,timeout:D,easing:_},{mode:"exit"});if("auto"===D){const n=j.transitions.getAutoHeightDuration(t);e.style.transitionDuration=`${n}ms`,z.current=n}else e.style.transitionDuration="string"==typeof n?n:`${n}ms`;e.style[U]=W,e.style.transitionTimingFunction=r,P&&P(e)}));return(0,g.jsx)(R,{in:A,onEnter:X,onEntered:Q,onEntering:K,onExit:Z,onExited:J,onExiting:ee,addEndListener:e=>{"auto"===D&&F.start(z.current||0,e),l&&l(H.current,e)},nodeRef:H,timeout:"auto"===D?null:D,...N,children:(e,t)=>(0,g.jsx)(v,{as:S,className:(0,a.A)($.root,w,{entered:$.entered,exited:!A&&"0px"===W&&$.hidden}[e]),style:{[V?"minWidth":"minHeight"]:W,...I},ref:q,...t,ownerState:{...L,state:e},children:(0,g.jsx)(y,{ownerState:{...L,state:e},className:$.wrapper,ref:B,children:(0,g.jsx)(b,{ownerState:{...L,state:e},className:$.wrapperInner,children:c})})})})}));w&&(w.muiSupportAuto=!0);const x=w},63883:(e,t,n)=>{"use strict";n.d(t,{A:()=>i,E:()=>o});var r=n(38413),a=n(31609);function o(e){return(0,a.Ay)("MuiCollapse",e)}const i=(0,r.A)("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"])},85786:(e,t,n)=>{"use strict";n.r(t),n.d(t,{collapseClasses:()=>a.A,default:()=>r.A,getCollapseUtilityClass:()=>a.E});var r=n(29375),a=n(63883)},25669:(e,t,n)=>{"use strict";n.d(t,{b:()=>a}),n(96540);var r=n(50257);function a(e){return(0,r.b)(e)}n(74848)},77037:(e,t,n)=>{"use strict";n.d(t,{A:()=>_});var r=n(96540),a=n(34164),o=n(75659),i=n(34661),s=n(28466),l=n(35406),u=n(20973),c=n(34339),d=n(68997),p=n(28102),f=n(47419),h=n(11848),m=n(44675),g=n(42637),v=n(25669),y=n(74848);const b=(0,h.Ay)(f.A,{name:"MuiDialog",slot:"Backdrop",overrides:(e,t)=>t.backdrop})({zIndex:-1}),w=(0,h.Ay)(l.A,{name:"MuiDialog",slot:"Root",overridesResolver:(e,t)=>t.root})({"@media print":{position:"absolute !important"}}),x=(0,h.Ay)("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.container,t[`scroll${(0,s.A)(n.scroll)}`]]}})({height:"100%","@media print":{height:"auto"},outline:0,variants:[{props:{scroll:"paper"},style:{display:"flex",justifyContent:"center",alignItems:"center"}},{props:{scroll:"body"},style:{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}}}]}),S=(0,h.Ay)(c.A,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`scrollPaper${(0,s.A)(n.scroll)}`],t[`paperWidth${(0,s.A)(String(n.maxWidth))}`],n.fullWidth&&t.paperFullWidth,n.fullScreen&&t.paperFullScreen]}})((0,g.A)((({theme:e})=>({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"},variants:[{props:{scroll:"paper"},style:{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"}},{props:{scroll:"body"},style:{display:"inline-block",verticalAlign:"middle",textAlign:"initial"}},{props:({ownerState:e})=>!e.maxWidth,style:{maxWidth:"calc(100% - 64px)"}},{props:{maxWidth:"xs"},style:{maxWidth:"px"===e.breakpoints.unit?Math.max(e.breakpoints.values.xs,444):`max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,[`&.${d.A.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+64)]:{maxWidth:"calc(100% - 64px)"}}}},...Object.keys(e.breakpoints.values).filter((e=>"xs"!==e)).map((t=>({props:{maxWidth:t},style:{maxWidth:`${e.breakpoints.values[t]}${e.breakpoints.unit}`,[`&.${d.A.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[t]+64)]:{maxWidth:"calc(100% - 64px)"}}}}))),{props:({ownerState:e})=>e.fullWidth,style:{width:"calc(100% - 64px)"}},{props:({ownerState:e})=>e.fullScreen,style:{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${d.A.paperScrollBody}`]:{margin:0,maxWidth:"100%"}}}]})))),_=r.forwardRef((function(e,t){const n=(0,v.b)({props:e,name:"MuiDialog"}),l=(0,m.A)(),f={enter:l.transitions.duration.enteringScreen,exit:l.transitions.duration.leavingScreen},{"aria-describedby":h,"aria-labelledby":g,BackdropComponent:_,BackdropProps:A,children:C,className:T,disableEscapeKeyDown:k=!1,fullScreen:E=!1,fullWidth:M=!1,maxWidth:P="sm",onBackdropClick:O,onClick:I,onClose:D,open:R,PaperComponent:N=c.A,PaperProps:L={},scroll:$="paper",TransitionComponent:j=u.A,transitionDuration:F=f,TransitionProps:B,...z}=n,W={...n,disableEscapeKeyDown:k,fullScreen:E,fullWidth:M,maxWidth:P,scroll:$},V=(e=>{const{classes:t,scroll:n,maxWidth:r,fullWidth:a,fullScreen:i}=e,l={root:["root"],container:["container",`scroll${(0,s.A)(n)}`],paper:["paper",`paperScroll${(0,s.A)(n)}`,`paperWidth${(0,s.A)(String(r))}`,a&&"paperFullWidth",i&&"paperFullScreen"]};return(0,o.A)(l,d.f,t)})(W),U=r.useRef(),H=(0,i.A)(g),q=r.useMemo((()=>({titleId:H})),[H]);return(0,y.jsx)(w,{className:(0,a.A)(V.root,T),closeAfterTransition:!0,components:{Backdrop:b},componentsProps:{backdrop:{transitionDuration:F,as:_,...A}},disableEscapeKeyDown:k,onClose:D,open:R,ref:t,onClick:e=>{I&&I(e),U.current&&(U.current=null,O&&O(e),D&&D(e,"backdropClick"))},ownerState:W,...z,children:(0,y.jsx)(j,{appear:!0,in:R,timeout:F,role:"presentation",...B,children:(0,y.jsx)(x,{className:(0,a.A)(V.container),onMouseDown:e=>{U.current=e.target===e.currentTarget},ownerState:W,children:(0,y.jsx)(S,{as:N,elevation:24,role:"dialog","aria-describedby":h,"aria-labelledby":H,...L,className:(0,a.A)(V.paper,L.className),ownerState:W,children:(0,y.jsx)(p.A.Provider,{value:q,children:C})})})})})}))},28102:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(96540).createContext({})},68997:(e,t,n)=>{"use strict";n.d(t,{A:()=>i,f:()=>o});var r=n(38413),a=n(31609);function o(e){return(0,a.Ay)("MuiDialog",e)}const i=(0,r.A)("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"])},62217:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A,dialogClasses:()=>a.A,getDialogUtilityClass:()=>a.f});var r=n(77037),a=n(68997)},37071:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(96540),a=n(34164),o=n(75659),i=n(11848),s=n(25669),l=n(40923),u=n(74848);const c=(0,i.Ay)("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableSpacing&&t.spacing]}})({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto",variants:[{props:({ownerState:e})=>!e.disableSpacing,style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),d=r.forwardRef((function(e,t){const n=(0,s.b)({props:e,name:"MuiDialogActions"}),{className:r,disableSpacing:i=!1,...d}=n,p={...n,disableSpacing:i},f=(e=>{const{classes:t,disableSpacing:n}=e,r={root:["root",!n&&"spacing"]};return(0,o.A)(r,l.C,t)})(p);return(0,u.jsx)(c,{className:(0,a.A)(f.root,r),ownerState:p,ref:t,...d})}))},40923:(e,t,n)=>{"use strict";n.d(t,{A:()=>i,C:()=>o});var r=n(38413),a=n(31609);function o(e){return(0,a.Ay)("MuiDialogActions",e)}const i=(0,r.A)("MuiDialogActions",["root","spacing"])},33992:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A,dialogActionsClasses:()=>a.A,getDialogActionsUtilityClass:()=>a.C});var r=n(37071),a=n(40923)},30799:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=n(96540),a=n(34164),o=n(75659),i=n(11848),s=n(42637),l=n(25669),u=n(69275),c=n(61435),d=n(74848);const p=(0,i.Ay)("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dividers&&t.dividers]}})((0,s.A)((({theme:e})=>({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px",variants:[{props:({ownerState:e})=>e.dividers,style:{padding:"16px 24px",borderTop:`1px solid ${(e.vars||e).palette.divider}`,borderBottom:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:e})=>!e.dividers,style:{[`.${c.A.root} + &`]:{paddingTop:0}}}]})))),f=r.forwardRef((function(e,t){const n=(0,l.b)({props:e,name:"MuiDialogContent"}),{className:r,dividers:i=!1,...s}=n,c={...n,dividers:i},f=(e=>{const{classes:t,dividers:n}=e,r={root:["root",n&&"dividers"]};return(0,o.A)(r,u.E,t)})(c);return(0,d.jsx)(p,{className:(0,a.A)(f.root,r),ownerState:c,ref:t,...s})}))},69275:(e,t,n)=>{"use strict";n.d(t,{A:()=>i,E:()=>o});var r=n(38413),a=n(31609);function o(e){return(0,a.Ay)("MuiDialogContent",e)}const i=(0,r.A)("MuiDialogContent",["root","dividers"])},12514:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A,dialogContentClasses:()=>a.A,getDialogContentUtilityClass:()=>a.E});var r=n(30799),a=n(69275)},55901:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>g,dialogContentTextClasses:()=>f,getDialogContentTextUtilityClass:()=>p});var r=n(96540),a=n(34164),o=n(75659),i=n(39770),s=n(11848),l=n(25669),u=n(33551),c=n(38413),d=n(31609);function p(e){return(0,d.Ay)("MuiDialogContentText",e)}const f=(0,c.A)("MuiDialogContentText",["root"]);var h=n(74848);const m=(0,s.Ay)(u.A,{shouldForwardProp:e=>(0,i.A)(e)||"classes"===e,name:"MuiDialogContentText",slot:"Root",overridesResolver:(e,t)=>t.root})({}),g=r.forwardRef((function(e,t){const n=(0,l.b)({props:e,name:"MuiDialogContentText"}),{children:r,className:i,...s}=n,u=(e=>{const{classes:t}=e,n=(0,o.A)({root:["root"]},p,t);return{...t,...n}})(s);return(0,h.jsx)(m,{component:"p",variant:"body1",color:"textSecondary",ref:t,ownerState:s,className:(0,a.A)(u.root,i),...n,classes:u})}))},61435:(e,t,n)=>{"use strict";n.d(t,{A:()=>i,t:()=>o});var r=n(38413),a=n(31609);function o(e){return(0,a.Ay)("MuiDialogTitle",e)}const i=(0,r.A)("MuiDialogTitle",["root"])},40395:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>f,dialogTitleClasses:()=>u.A,getDialogTitleUtilityClass:()=>u.t});var r=n(96540),a=n(34164),o=n(75659),i=n(33551),s=n(11848),l=n(25669),u=n(61435),c=n(28102),d=n(74848);const p=(0,s.Ay)(i.A,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:"16px 24px",flex:"0 0 auto"}),f=r.forwardRef((function(e,t){const n=(0,l.b)({props:e,name:"MuiDialogTitle"}),{className:i,id:s,...f}=n,h=n,m=(e=>{const{classes:t}=e;return(0,o.A)({root:["root"]},u.t,t)})(h),{titleId:g=s}=r.useContext(c.A);return(0,d.jsx)(p,{component:"h2",className:(0,a.A)(m.root,i),ownerState:h,ref:t,variant:"h6",id:s??g,...f})}))},71543:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var r=n(96540),a=n(34164),o=n(75659),i=n(79739),s=n(11848),l=n(42637),u=n(25669),c=n(61347),d=n(74848);const p=(0,s.Ay)("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,"vertical"===n.orientation&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&"vertical"===n.orientation&&t.withChildrenVertical,"right"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignRight,"left"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignLeft]}})((0,l.A)((({theme:e})=>({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin",variants:[{props:{absolute:!0},style:{position:"absolute",bottom:0,left:0,width:"100%"}},{props:{light:!0},style:{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:(0,i.X4)(e.palette.divider,.08)}},{props:{variant:"inset"},style:{marginLeft:72}},{props:{variant:"middle",orientation:"horizontal"},style:{marginLeft:e.spacing(2),marginRight:e.spacing(2)}},{props:{variant:"middle",orientation:"vertical"},style:{marginTop:e.spacing(1),marginBottom:e.spacing(1)}},{props:{orientation:"vertical"},style:{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"}},{props:{flexItem:!0},style:{alignSelf:"stretch",height:"auto"}},{props:({ownerState:e})=>!!e.children,style:{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}}},{props:({ownerState:e})=>e.children&&"vertical"!==e.orientation,style:{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,borderTopStyle:"inherit"}}},{props:({ownerState:e})=>"vertical"===e.orientation&&e.children,style:{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`,borderLeftStyle:"inherit"}}},{props:({ownerState:e})=>"right"===e.textAlign&&"vertical"!==e.orientation,style:{"&::before":{width:"90%"},"&::after":{width:"10%"}}},{props:({ownerState:e})=>"left"===e.textAlign&&"vertical"!==e.orientation,style:{"&::before":{width:"10%"},"&::after":{width:"90%"}}}]})))),f=(0,s.Ay)("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,"vertical"===n.orientation&&t.wrapperVertical]}})((0,l.A)((({theme:e})=>({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`,variants:[{props:{orientation:"vertical"},style:{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`}}]})))),h=r.forwardRef((function(e,t){const n=(0,u.b)({props:e,name:"MuiDivider"}),{absolute:r=!1,children:i,className:s,orientation:l="horizontal",component:h=(i||"vertical"===l?"div":"hr"),flexItem:m=!1,light:g=!1,role:v=("hr"!==h?"separator":void 0),textAlign:y="center",variant:b="fullWidth",...w}=n,x={...n,absolute:r,component:h,flexItem:m,light:g,orientation:l,role:v,textAlign:y,variant:b},S=(e=>{const{absolute:t,children:n,classes:r,flexItem:a,light:i,orientation:s,textAlign:l,variant:u}=e,d={root:["root",t&&"absolute",u,i&&"light","vertical"===s&&"vertical",a&&"flexItem",n&&"withChildren",n&&"vertical"===s&&"withChildrenVertical","right"===l&&"vertical"!==s&&"textAlignRight","left"===l&&"vertical"!==s&&"textAlignLeft"],wrapper:["wrapper","vertical"===s&&"wrapperVertical"]};return(0,o.A)(d,c.K,r)})(x);return(0,d.jsx)(p,{as:h,className:(0,a.A)(S.root,s),role:v,ref:t,ownerState:x,"aria-orientation":"separator"!==v||"hr"===h&&"vertical"!==l?void 0:l,...w,children:i?(0,d.jsx)(f,{className:S.wrapper,ownerState:x,children:i}):null})}));h&&(h.muiSkipListHighlight=!0);const m=h},61347:(e,t,n)=>{"use strict";n.d(t,{A:()=>i,K:()=>o});var r=n(38413),a=n(31609);function o(e){return(0,a.Ay)("MuiDivider",e)}const i=(0,r.A)("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"])},11402:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A,dividerClasses:()=>a.A,getDividerUtilityClass:()=>a.K});var r=n(71543),a=n(61347)},30249:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>D,drawerClasses:()=>k,getDrawerUtilityClass:()=>T});var r=n(96540),a=n(34164),o=n(75659),i=n(93944),s=n(35406),l=n(80851),u=n(57223),c=n(1935),d=n(96852),p=n(44675),f=n(35186),h=n(93749),m=n(74848);function g(e,t,n){var r;const a=function(e,t,n){const r=t.getBoundingClientRect(),a=n&&n.getBoundingClientRect(),o=(0,h.A)(t);let i;if(t.fakeTransform)i=t.fakeTransform;else{const e=o.getComputedStyle(t);i=e.getPropertyValue("-webkit-transform")||e.getPropertyValue("transform")}let s=0,l=0;if(i&&"none"!==i&&"string"==typeof i){const e=i.split("(")[1].split(")")[0].split(",");s=parseInt(e[4],10),l=parseInt(e[5],10)}return"left"===e?a?`translateX(${a.right+s-r.left}px)`:`translateX(${o.innerWidth+s-r.left}px)`:"right"===e?a?`translateX(-${r.right-a.left-s}px)`:`translateX(-${r.left+r.width-s}px)`:"up"===e?a?`translateY(${a.bottom+l-r.top}px)`:`translateY(${o.innerHeight+l-r.top}px)`:a?`translateY(-${r.top-a.top+r.height-l}px)`:`translateY(-${r.top+r.height-l}px)`}(e,t,"function"==typeof(r=n)?r():r);a&&(t.style.webkitTransform=a,t.style.transform=a)}const v=r.forwardRef((function(e,t){const n=(0,p.A)(),a={enter:n.transitions.easing.easeOut,exit:n.transitions.easing.sharp},o={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:i,appear:s=!0,children:v,container:y,direction:b="down",easing:w=a,in:x,onEnter:S,onEntered:_,onEntering:A,onExit:C,onExited:T,onExiting:k,style:E,timeout:M=o,TransitionComponent:P=l.Ay,...O}=e,I=r.useRef(null),D=(0,d.A)((0,u.A)(v),I,t),R=e=>t=>{e&&(void 0===t?e(I.current):e(I.current,t))},N=R(((e,t)=>{g(b,e,y),(0,f.q)(e),S&&S(e,t)})),L=R(((e,t)=>{const r=(0,f.c)({timeout:M,style:E,easing:w},{mode:"enter"});e.style.webkitTransition=n.transitions.create("-webkit-transform",{...r}),e.style.transition=n.transitions.create("transform",{...r}),e.style.webkitTransform="none",e.style.transform="none",A&&A(e,t)})),$=R(_),j=R(k),F=R((e=>{const t=(0,f.c)({timeout:M,style:E,easing:w},{mode:"exit"});e.style.webkitTransition=n.transitions.create("-webkit-transform",t),e.style.transition=n.transitions.create("transform",t),g(b,e,y),C&&C(e)})),B=R((e=>{e.style.webkitTransition="",e.style.transition="",T&&T(e)})),z=r.useCallback((()=>{I.current&&g(b,I.current,y)}),[b,y]);return r.useEffect((()=>{if(x||"down"===b||"right"===b)return;const e=(0,c.A)((()=>{I.current&&g(b,I.current,y)})),t=(0,h.A)(I.current);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}}),[b,x,y]),r.useEffect((()=>{x||z()}),[x,z]),(0,m.jsx)(P,{nodeRef:I,onEnter:N,onEntered:$,onEntering:L,onExit:F,onExited:B,onExiting:j,addEndListener:e=>{i&&i(I.current,e)},appear:s,in:x,timeout:M,...O,children:(e,t)=>r.cloneElement(v,{ref:D,style:{visibility:"exited"!==e||x?void 0:"hidden",...E,...v.props.style},...t})})}));var y=n(34339),b=n(28466),w=n(39770),x=n(11848),S=n(42637),_=n(25669),A=n(38413),C=n(31609);function T(e){return(0,C.Ay)("MuiDrawer",e)}const k=(0,A.A)("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]),E=(e,t)=>{const{ownerState:n}=e;return[t.root,("permanent"===n.variant||"persistent"===n.variant)&&t.docked,t.modal]},M=(0,x.Ay)(s.A,{name:"MuiDrawer",slot:"Root",overridesResolver:E})((0,S.A)((({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer})))),P=(0,x.Ay)("div",{shouldForwardProp:w.A,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:E})({flex:"0 0 auto"}),O=(0,x.Ay)(y.A,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`paperAnchor${(0,b.A)(n.anchor)}`],"temporary"!==n.variant&&t[`paperAnchorDocked${(0,b.A)(n.anchor)}`]]}})((0,S.A)((({theme:e})=>({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(e.vars||e).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0,variants:[{props:{anchor:"left"},style:{left:0}},{props:{anchor:"top"},style:{top:0,left:0,right:0,height:"auto",maxHeight:"100%"}},{props:{anchor:"right"},style:{right:0}},{props:{anchor:"bottom"},style:{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"}},{props:({ownerState:e})=>"left"===e.anchor&&"temporary"!==e.variant,style:{borderRight:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:e})=>"top"===e.anchor&&"temporary"!==e.variant,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:e})=>"right"===e.anchor&&"temporary"!==e.variant,style:{borderLeft:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:e})=>"bottom"===e.anchor&&"temporary"!==e.variant,style:{borderTop:`1px solid ${(e.vars||e).palette.divider}`}}]})))),I={left:"right",right:"left",top:"down",bottom:"up"},D=r.forwardRef((function(e,t){const n=(0,_.b)({props:e,name:"MuiDrawer"}),s=(0,p.A)(),l=(0,i.I)(),u={enter:s.transitions.duration.enteringScreen,exit:s.transitions.duration.leavingScreen},{anchor:c="left",BackdropProps:d,children:f,className:h,elevation:g=16,hideBackdrop:y=!1,ModalProps:{BackdropProps:w,...x}={},onClose:S,open:A=!1,PaperProps:C={},SlideProps:k,TransitionComponent:E=v,transitionDuration:D=u,variant:R="temporary",...N}=n,L=r.useRef(!1);r.useEffect((()=>{L.current=!0}),[]);const $=function({direction:e},t){return"rtl"===e&&function(e){return["left","right"].includes(e)}(t)?I[t]:t}({direction:l?"rtl":"ltr"},c),j=c,F={...n,anchor:j,elevation:g,open:A,variant:R,...N},B=(e=>{const{classes:t,anchor:n,variant:r}=e,a={root:["root"],docked:[("permanent"===r||"persistent"===r)&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${(0,b.A)(n)}`,"temporary"!==r&&`paperAnchorDocked${(0,b.A)(n)}`]};return(0,o.A)(a,T,t)})(F),z=(0,m.jsx)(O,{elevation:"temporary"===R?g:0,square:!0,...C,className:(0,a.A)(B.paper,C.className),ownerState:F,children:f});if("permanent"===R)return(0,m.jsx)(P,{className:(0,a.A)(B.root,B.docked,h),ownerState:F,ref:t,...N,children:z});const W=(0,m.jsx)(E,{in:A,direction:I[$],timeout:D,appear:L.current,...k,children:z});return"persistent"===R?(0,m.jsx)(P,{className:(0,a.A)(B.root,B.docked,h),ownerState:F,ref:t,...N,children:W}):(0,m.jsx)(M,{BackdropProps:{...d,...w,transitionDuration:D},className:(0,a.A)(B.root,B.modal,h),open:A,ownerState:F,onClose:S,hideBackdrop:y,ref:t,...N,...x,children:W})}))},72617:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>b,fabClasses:()=>d,getFabUtilityClass:()=>c});var r=n(96540),a=n(34164),o=n(75659),i=n(80189),s=n(28466),l=n(38413),u=n(31609);function c(e){return(0,u.Ay)("MuiFab",e)}const d=(0,l.A)("MuiFab",["root","primary","secondary","extended","circular","focusVisible","disabled","colorInherit","sizeSmall","sizeMedium","sizeLarge","info","error","warning","success"]);var p=n(39770),f=n(11848),h=n(42637),m=n(78660),g=n(25669),v=n(74848);const y=(0,f.Ay)(i.A,{name:"MuiFab",slot:"Root",shouldForwardProp:e=>(0,p.A)(e)||"classes"===e,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`size${(0,s.A)(n.size)}`],"inherit"===n.color&&t.colorInherit,t[(0,s.A)(n.size)],t[n.color]]}})((0,h.A)((({theme:e})=>({...e.typography.button,minHeight:36,transition:e.transitions.create(["background-color","box-shadow","border-color"],{duration:e.transitions.duration.short}),borderRadius:"50%",padding:0,minWidth:0,width:56,height:56,zIndex:(e.vars||e).zIndex.fab,boxShadow:(e.vars||e).shadows[6],"&:active":{boxShadow:(e.vars||e).shadows[12]},color:e.vars?e.vars.palette.text.primary:e.palette.getContrastText?.(e.palette.grey[300]),backgroundColor:(e.vars||e).palette.grey[300],"&:hover":{backgroundColor:(e.vars||e).palette.grey.A100,"@media (hover: none)":{backgroundColor:(e.vars||e).palette.grey[300]},textDecoration:"none"},[`&.${d.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},variants:[{props:{size:"small"},style:{width:40,height:40}},{props:{size:"medium"},style:{width:48,height:48}},{props:{variant:"extended"},style:{borderRadius:24,padding:"0 16px",width:"auto",minHeight:"auto",minWidth:48,height:48}},{props:{variant:"extended",size:"small"},style:{width:"auto",padding:"0 8px",borderRadius:17,minWidth:34,height:34}},{props:{variant:"extended",size:"medium"},style:{width:"auto",padding:"0 16px",borderRadius:20,minWidth:40,height:40}},{props:{color:"inherit"},style:{color:"inherit"}}]}))),(0,h.A)((({theme:e})=>({variants:[...Object.entries(e.palette).filter((0,m.A)(["dark","contrastText"])).map((([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].contrastText,backgroundColor:(e.vars||e).palette[t].main,"&:hover":{backgroundColor:(e.vars||e).palette[t].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t].main}}}})))]}))),(0,h.A)((({theme:e})=>({[`&.${d.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}})))),b=r.forwardRef((function(e,t){const n=(0,g.b)({props:e,name:"MuiFab"}),{children:r,className:i,color:l="default",component:u="button",disabled:d=!1,disableFocusRipple:p=!1,focusVisibleClassName:f,size:h="large",variant:m="circular",...b}=n,w={...n,color:l,component:u,disabled:d,disableFocusRipple:p,size:h,variant:m},x=(e=>{const{color:t,variant:n,classes:r,size:a}=e,i={root:["root",n,`size${(0,s.A)(a)}`,"inherit"===t?"colorInherit":t]},l=(0,o.A)(i,c,r);return{...r,...l}})(w);return(0,v.jsx)(y,{className:(0,a.A)(x.root,i),component:u,disabled:d,focusRipple:!p,focusVisibleClassName:(0,a.A)(x.focusVisible,f),ownerState:w,ref:t,...b,classes:x,children:r})}))},20973:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(96540),a=n(80851),o=n(57223),i=n(44675),s=n(35186),l=n(96852),u=n(74848);const c={entering:{opacity:1},entered:{opacity:1}},d=r.forwardRef((function(e,t){const n=(0,i.A)(),d={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:p,appear:f=!0,children:h,easing:m,in:g,onEnter:v,onEntered:y,onEntering:b,onExit:w,onExited:x,onExiting:S,style:_,timeout:A=d,TransitionComponent:C=a.Ay,...T}=e,k=r.useRef(null),E=(0,l.A)(k,(0,o.A)(h),t),M=e=>t=>{if(e){const n=k.current;void 0===t?e(n):e(n,t)}},P=M(b),O=M(((e,t)=>{(0,s.q)(e);const r=(0,s.c)({style:_,timeout:A,easing:m},{mode:"enter"});e.style.webkitTransition=n.transitions.create("opacity",r),e.style.transition=n.transitions.create("opacity",r),v&&v(e,t)})),I=M(y),D=M(S),R=M((e=>{const t=(0,s.c)({style:_,timeout:A,easing:m},{mode:"exit"});e.style.webkitTransition=n.transitions.create("opacity",t),e.style.transition=n.transitions.create("opacity",t),w&&w(e)})),N=M(x);return(0,u.jsx)(C,{appear:f,in:g,nodeRef:k,onEnter:O,onEntered:I,onEntering:P,onExit:R,onExited:N,onExiting:D,addEndListener:e=>{p&&p(k.current,e)},timeout:A,...T,children:(e,t)=>r.cloneElement(h,{style:{opacity:0,visibility:"exited"!==e||g?void 0:"hidden",...c[e],..._,...h.props.style},ref:E,...t})})}))},14831:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A});var r=n(20973)},21915:(e,t,n)=>{"use strict";n.d(t,{A:()=>y});var r=n(96540),a=n(11317),o=n(75659),i=n(29199),s=n(39770),l=n(11848),u=n(42637),c=n(78660),d=n(25669),p=n(6959),f=n(28466),h=n(74848);const m=(0,l.Ay)(i.Sh,{shouldForwardProp:e=>(0,s.A)(e)||"classes"===e,name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...(0,i.WC)(e,t),!n.disableUnderline&&t.underline]}})((0,u.A)((({theme:e})=>{const t="light"===e.palette.mode,n=t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",r=t?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",a=t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",o=t?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return{position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:a,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r}},[`&.${p.A.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r},[`&.${p.A.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:o},variants:[{props:({ownerState:e})=>!e.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${p.A.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${p.A.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${p.A.disabled}, .${p.A.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${p.A.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter((0,c.A)()).map((([t])=>({props:{disableUnderline:!1,color:t},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t]?.main}`}}}))),{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:12}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:12}},{props:({ownerState:e})=>e.multiline,style:{padding:"25px 12px 8px"}},{props:({ownerState:e,size:t})=>e.multiline&&"small"===t,style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:e})=>e.multiline&&e.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:e})=>e.multiline&&e.hiddenLabel&&"small"===e.size,style:{paddingTop:8,paddingBottom:9}}]}}))),g=(0,l.Ay)(i.ck,{name:"MuiFilledInput",slot:"Input",overridesResolver:i.Oj})((0,u.A)((({theme:e})=>({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:e})=>e.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:0}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:0}},{props:({ownerState:e})=>e.hiddenLabel&&"small"===e.size,style:{paddingTop:8,paddingBottom:9}},{props:({ownerState:e})=>e.multiline,style:{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}]})))),v=r.forwardRef((function(e,t){const n=(0,d.b)({props:e,name:"MuiFilledInput"}),{disableUnderline:r=!1,components:s={},componentsProps:l,fullWidth:u=!1,hiddenLabel:c,inputComponent:v="input",multiline:y=!1,slotProps:b,slots:w={},type:x="text",...S}=n,_={...n,disableUnderline:r,fullWidth:u,inputComponent:v,multiline:y,type:x},A=(e=>{const{classes:t,disableUnderline:n,startAdornment:r,endAdornment:a,size:i,hiddenLabel:s,multiline:l}=e,u={root:["root",!n&&"underline",r&&"adornedStart",a&&"adornedEnd","small"===i&&`size${(0,f.A)(i)}`,s&&"hiddenLabel",l&&"multiline"],input:["input"]},c=(0,o.A)(u,p.N,t);return{...t,...c}})(n),C={root:{ownerState:_},input:{ownerState:_}},T=b??l?(0,a.A)(C,b??l):C,k=w.root??s.Root??m,E=w.input??s.Input??g;return(0,h.jsx)(i.Ay,{slots:{root:k,input:E},componentsProps:T,fullWidth:u,inputComponent:v,multiline:y,ref:t,type:x,...S,classes:A})}));v&&(v.muiName="Input");const y=v},6959:(e,t,n)=>{"use strict";n.d(t,{A:()=>i,N:()=>o});var r=n(38413),a=n(31609);function o(e){return(0,a.Ay)("MuiFilledInput",e)}const i={...n(51175).A,...(0,r.A)("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])}},45359:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var r=n(96540),a=n(34164),o=n(75659),i=n(11848),s=n(25669),l=n(82891),u=n(28466),c=n(18593),d=n(33800),p=n(52187),f=n(74848);const h=(0,i.Ay)("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>({...t.root,...t[`margin${(0,u.A)(e.margin)}`],...e.fullWidth&&t.fullWidth})})({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top",variants:[{props:{margin:"normal"},style:{marginTop:16,marginBottom:8}},{props:{margin:"dense"},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:"100%"}}]}),m=r.forwardRef((function(e,t){const n=(0,s.b)({props:e,name:"MuiFormControl"}),{children:i,className:m,color:g="primary",component:v="div",disabled:y=!1,error:b=!1,focused:w,fullWidth:x=!1,hiddenLabel:S=!1,margin:_="none",required:A=!1,size:C="medium",variant:T="outlined",...k}=n,E={...n,color:g,component:v,disabled:y,error:b,fullWidth:x,hiddenLabel:S,margin:_,required:A,size:C,variant:T},M=(e=>{const{classes:t,margin:n,fullWidth:r}=e,a={root:["root","none"!==n&&`margin${(0,u.A)(n)}`,r&&"fullWidth"]};return(0,o.A)(a,p.c,t)})(E),[P,O]=r.useState((()=>{let e=!1;return i&&r.Children.forEach(i,(t=>{if(!(0,c.A)(t,["Input","Select"]))return;const n=(0,c.A)(t,["Select"])?t.props.input:t;n&&(0,l.gr)(n.props)&&(e=!0)})),e})),[I,D]=r.useState((()=>{let e=!1;return i&&r.Children.forEach(i,(t=>{(0,c.A)(t,["Input","Select"])&&((0,l.lq)(t.props,!0)||(0,l.lq)(t.props.inputProps,!0))&&(e=!0)})),e})),[R,N]=r.useState(!1);y&&R&&N(!1);const L=void 0===w||y?R:w;let $;r.useRef(!1);const j=r.useMemo((()=>({adornedStart:P,setAdornedStart:O,color:g,disabled:y,error:b,filled:I,focused:L,fullWidth:x,hiddenLabel:S,size:C,onBlur:()=>{N(!1)},onEmpty:()=>{D(!1)},onFilled:()=>{D(!0)},onFocus:()=>{N(!0)},registerEffect:$,required:A,variant:T})),[P,g,y,b,I,L,x,S,$,A,C,T]);return(0,f.jsx)(d.A.Provider,{value:j,children:(0,f.jsx)(h,{as:v,ownerState:E,className:(0,a.A)(M.root,m),ref:t,...k,children:i})})}))},33800:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(96540).createContext(void 0)},52187:(e,t,n)=>{"use strict";n.d(t,{A:()=>i,c:()=>o});var r=n(38413),a=n(31609);function o(e){return(0,a.Ay)("MuiFormControl",e)}const i=(0,r.A)("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"])},38086:(e,t,n)=>{"use strict";function r({props:e,states:t,muiFormControl:n}){return t.reduce(((t,r)=>(t[r]=e[r],n&&void 0===e[r]&&(t[r]=n[r]),t)),{})}n.d(t,{A:()=>r})},86880:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A,formControlClasses:()=>o.A,getFormControlUtilityClasses:()=>o.c,useFormControl:()=>a.A});var r=n(45359),a=n(79716),o=n(52187)},79716:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(96540),a=n(33800);function o(){return r.useContext(a.A)}},1136:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>x,formControlLabelClasses:()=>m,getFormControlLabelUtilityClasses:()=>h});var r=n(96540),a=n(34164),o=n(75659),i=n(79716),s=n(11848),l=n(42637),u=n(25669),c=n(33551),d=n(28466),p=n(38413),f=n(31609);function h(e){return(0,f.Ay)("MuiFormControlLabel",e)}const m=(0,p.A)("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]);var g=n(38086),v=n(6025),y=n(74848);const b=(0,s.Ay)("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${m.label}`]:t.label},t.root,t[`labelPlacement${(0,d.A)(n.labelPlacement)}`]]}})((0,l.A)((({theme:e})=>({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${m.disabled}`]:{cursor:"default"},[`& .${m.label}`]:{[`&.${m.disabled}`]:{color:(e.vars||e).palette.text.disabled}},variants:[{props:{labelPlacement:"start"},style:{flexDirection:"row-reverse",marginRight:-11}},{props:{labelPlacement:"top"},style:{flexDirection:"column-reverse"}},{props:{labelPlacement:"bottom"},style:{flexDirection:"column"}},{props:({labelPlacement:e})=>"start"===e||"top"===e||"bottom"===e,style:{marginLeft:16}}]})))),w=(0,s.Ay)("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})((0,l.A)((({theme:e})=>({[`&.${m.error}`]:{color:(e.vars||e).palette.error.main}})))),x=r.forwardRef((function(e,t){const n=(0,u.b)({props:e,name:"MuiFormControlLabel"}),{checked:s,className:l,componentsProps:p={},control:f,disabled:m,disableTypography:x,inputRef:S,label:_,labelPlacement:A="end",name:C,onChange:T,required:k,slots:E={},slotProps:M={},value:P,...O}=n,I=(0,i.A)(),D=m??f.props.disabled??I?.disabled,R=k??f.props.required,N={disabled:D,required:R};["checked","name","onChange","value","inputRef"].forEach((e=>{void 0===f.props[e]&&void 0!==n[e]&&(N[e]=n[e])}));const L=(0,g.A)({props:n,muiFormControl:I,states:["error"]}),$={...n,disabled:D,labelPlacement:A,required:R,error:L.error},j=(e=>{const{classes:t,disabled:n,labelPlacement:r,error:a,required:i}=e,s={root:["root",n&&"disabled",`labelPlacement${(0,d.A)(r)}`,a&&"error",i&&"required"],label:["label",n&&"disabled"],asterisk:["asterisk",a&&"error"]};return(0,o.A)(s,h,t)})($),F={slots:E,slotProps:{...p,...M}},[B,z]=(0,v.A)("typography",{elementType:c.A,externalForwardedProps:F,ownerState:$});let W=_;return null==W||W.type===c.A||x||(W=(0,y.jsx)(B,{component:"span",...z,className:(0,a.A)(j.label,z?.className),children:W})),(0,y.jsxs)(b,{className:(0,a.A)(j.root,l),ownerState:$,ref:t,...O,children:[r.cloneElement(f,N),R?(0,y.jsxs)("div",{children:[W,(0,y.jsxs)(w,{ownerState:$,"aria-hidden":!0,className:j.asterisk,children:[" ","*"]})]}):W]})}))},6347:(e,t,n)=>{"use strict";n.d(t,{A:()=>b});var r=n(96540),a=n(34164),o=n(75659),i=n(38086),s=n(79716),l=n(11848),u=n(42637),c=n(25669),d=n(28466),p=n(38413),f=n(31609);function h(e){return(0,f.Ay)("MuiFormHelperText",e)}const m=(0,p.A)("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var g,v=n(74848);const y=(0,l.Ay)("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size&&t[`size${(0,d.A)(n.size)}`],n.contained&&t.contained,n.filled&&t.filled]}})((0,u.A)((({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${m.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${m.error}`]:{color:(e.vars||e).palette.error.main},variants:[{props:{size:"small"},style:{marginTop:4}},{props:({ownerState:e})=>e.contained,style:{marginLeft:14,marginRight:14}}]})))),b=r.forwardRef((function(e,t){const n=(0,c.b)({props:e,name:"MuiFormHelperText"}),{children:r,className:l,component:u="p",disabled:p,error:f,filled:m,focused:b,margin:w,required:x,variant:S,..._}=n,A=(0,s.A)(),C=(0,i.A)({props:n,muiFormControl:A,states:["variant","size","disabled","error","filled","focused","required"]}),T={...n,component:u,contained:"filled"===C.variant||"outlined"===C.variant,variant:C.variant,size:C.size,disabled:C.disabled,error:C.error,filled:C.filled,focused:C.focused,required:C.required};delete T.ownerState;const k=(e=>{const{classes:t,contained:n,size:r,disabled:a,error:i,filled:s,focused:l,required:u}=e,c={root:["root",a&&"disabled",i&&"error",r&&`size${(0,d.A)(r)}`,n&&"contained",l&&"focused",s&&"filled",u&&"required"]};return(0,o.A)(c,h,t)})(T);return(0,v.jsx)(y,{as:u,className:(0,a.A)(k.root,l),ref:t,..._,ownerState:T,children:" "===r?g||(g=(0,v.jsx)("span",{className:"notranslate",children:"​"})):r})}))},69307:(e,t,n)=>{"use strict";n.d(t,{A:()=>v,d:()=>m});var r=n(96540),a=n(34164),o=n(75659),i=n(38086),s=n(79716),l=n(28466),u=n(11848),c=n(42637),d=n(78660),p=n(25669),f=n(86511),h=n(74848);const m=(0,u.Ay)("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},t)=>({...t.root,..."secondary"===e.color&&t.colorSecondary,...e.filled&&t.filled})})((0,c.A)((({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.body1,lineHeight:"1.4375em",padding:0,position:"relative",variants:[...Object.entries(e.palette).filter((0,d.A)()).map((([t])=>({props:{color:t},style:{[`&.${f.A.focused}`]:{color:(e.vars||e).palette[t].main}}}))),{props:{},style:{[`&.${f.A.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${f.A.error}`]:{color:(e.vars||e).palette.error.main}}}]})))),g=(0,u.Ay)("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})((0,c.A)((({theme:e})=>({[`&.${f.A.error}`]:{color:(e.vars||e).palette.error.main}})))),v=r.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiFormLabel"}),{children:r,className:u,color:c,component:d="label",disabled:v,error:y,filled:b,focused:w,required:x,...S}=n,_=(0,s.A)(),A=(0,i.A)({props:n,muiFormControl:_,states:["color","required","focused","disabled","error","filled"]}),C={...n,color:A.color||"primary",component:d,disabled:A.disabled,error:A.error,filled:A.filled,focused:A.focused,required:A.required},T=(e=>{const{classes:t,color:n,focused:r,disabled:a,error:i,filled:s,required:u}=e,c={root:["root",`color${(0,l.A)(n)}`,a&&"disabled",i&&"error",s&&"filled",r&&"focused",u&&"required"],asterisk:["asterisk",i&&"error"]};return(0,o.A)(c,f.Z,t)})(C);return(0,h.jsxs)(m,{as:d,ownerState:C,className:(0,a.A)(T.root,u),ref:t,...S,children:[r,A.required&&(0,h.jsxs)(g,{ownerState:C,"aria-hidden":!0,className:T.asterisk,children:[" ","*"]})]})}))},86511:(e,t,n)=>{"use strict";n.d(t,{A:()=>i,Z:()=>o});var r=n(38413),a=n(31609);function o(e){return(0,a.Ay)("MuiFormLabel",e)}const i=(0,r.A)("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"])},97075:(e,t,n)=>{"use strict";n.r(t),n.d(t,{FormLabelRoot:()=>r.d,default:()=>r.A,formLabelClasses:()=>a.A,getFormLabelUtilityClasses:()=>a.Z});var r=n(69307),a=n(86511)},87467:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var r=n(96540),a=n(69787),o=n(57223),i=n(80851),s=n(44675),l=n(35186),u=n(96852),c=n(74848);function d(e){return`scale(${e}, ${e**2})`}const p={entering:{opacity:1,transform:d(1)},entered:{opacity:1,transform:"none"}},f="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),h=r.forwardRef((function(e,t){const{addEndListener:n,appear:h=!0,children:m,easing:g,in:v,onEnter:y,onEntered:b,onEntering:w,onExit:x,onExited:S,onExiting:_,style:A,timeout:C="auto",TransitionComponent:T=i.Ay,...k}=e,E=(0,a.A)(),M=r.useRef(),P=(0,s.A)(),O=r.useRef(null),I=(0,u.A)(O,(0,o.A)(m),t),D=e=>t=>{if(e){const n=O.current;void 0===t?e(n):e(n,t)}},R=D(w),N=D(((e,t)=>{(0,l.q)(e);const{duration:n,delay:r,easing:a}=(0,l.c)({style:A,timeout:C,easing:g},{mode:"enter"});let o;"auto"===C?(o=P.transitions.getAutoHeightDuration(e.clientHeight),M.current=o):o=n,e.style.transition=[P.transitions.create("opacity",{duration:o,delay:r}),P.transitions.create("transform",{duration:f?o:.666*o,delay:r,easing:a})].join(","),y&&y(e,t)})),L=D(b),$=D(_),j=D((e=>{const{duration:t,delay:n,easing:r}=(0,l.c)({style:A,timeout:C,easing:g},{mode:"exit"});let a;"auto"===C?(a=P.transitions.getAutoHeightDuration(e.clientHeight),M.current=a):a=t,e.style.transition=[P.transitions.create("opacity",{duration:a,delay:n}),P.transitions.create("transform",{duration:f?a:.666*a,delay:f?n:n||.333*a,easing:r})].join(","),e.style.opacity=0,e.style.transform=d(.75),x&&x(e)})),F=D(S);return(0,c.jsx)(T,{appear:h,in:v,nodeRef:O,onEnter:N,onEntered:L,onEntering:R,onExit:j,onExited:F,onExiting:$,addEndListener:e=>{"auto"===C&&E.start(M.current||0,e),n&&n(O.current,e)},timeout:"auto"===C?null:C,...k,children:(e,t)=>r.cloneElement(m,{style:{opacity:0,transform:d(.75),visibility:"exited"!==e||v?void 0:"hidden",...p[e],...A,...m.props.style},ref:I,...t})})}));h&&(h.muiSupportAuto=!0);const m=h},26102:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A});var r=n(87467)},19455:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var r=n(96540),a=n(34164),o=n(75659),i=n(79739),s=n(11848),l=n(42637),u=n(78660),c=n(25669),d=n(80189),p=n(28466),f=n(40267),h=n(74848);const m=(0,s.Ay)(d.A,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"default"!==n.color&&t[`color${(0,p.A)(n.color)}`],n.edge&&t[`edge${(0,p.A)(n.edge)}`],t[`size${(0,p.A)(n.size)}`]]}})((0,l.A)((({theme:e})=>({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),variants:[{props:{disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,i.X4)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}}},{props:{edge:"start"},style:{marginLeft:-12}},{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:{edge:"end"},style:{marginRight:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}}]}))),(0,l.A)((({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter((0,u.A)()).map((([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))),...Object.entries(e.palette).filter((0,u.A)()).map((([t])=>({props:{color:t,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${(e.vars||e).palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,i.X4)((e.vars||e).palette[t].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}}}))),{props:{size:"small"},style:{padding:5,fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{padding:12,fontSize:e.typography.pxToRem(28)}}],[`&.${f.A.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})))),g=r.forwardRef((function(e,t){const n=(0,c.b)({props:e,name:"MuiIconButton"}),{edge:r=!1,children:i,className:s,color:l="default",disabled:u=!1,disableFocusRipple:d=!1,disableRipple:g=!1,size:v="medium",...y}=n,b={...n,edge:r,color:l,disabled:u,disableFocusRipple:d,disableRipple:g,size:v},w=(e=>{const{classes:t,disabled:n,color:r,edge:a,size:i}=e,s={root:["root",n&&"disabled","default"!==r&&`color${(0,p.A)(r)}`,a&&`edge${(0,p.A)(a)}`,`size${(0,p.A)(i)}`]};return(0,o.A)(s,f.G,t)})(b);return(0,h.jsx)(m,{className:(0,a.A)(w.root,s),centerRipple:!0,focusRipple:!d,disabled:u,disableRipple:g,ref:t,...y,ownerState:b,children:i})}))},40267:(e,t,n)=>{"use strict";n.d(t,{A:()=>i,G:()=>o});var r=n(38413),a=n(31609);function o(e){return(0,a.Ay)("MuiIconButton",e)}const i=(0,r.A)("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"])},54468:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A,getIconButtonUtilityClass:()=>a.G,iconButtonClasses:()=>a.A});var r=n(19455),a=n(40267)},77623:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var r=n(96540),a=n(75659),o=n(11317),i=n(29199),s=n(39770),l=n(11848),u=n(42637),c=n(78660),d=n(25669),p=n(25571),f=n(74848);const h=(0,l.Ay)(i.Sh,{shouldForwardProp:e=>(0,s.A)(e)||"classes"===e,name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...(0,i.WC)(e,t),!n.disableUnderline&&t.underline]}})((0,u.A)((({theme:e})=>{let t="light"===e.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(t=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),{position:"relative",variants:[{props:({ownerState:e})=>e.formControl,style:{"label + &":{marginTop:16}}},{props:({ownerState:e})=>!e.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${p.A.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${p.A.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${t}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${p.A.disabled}, .${p.A.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${t}`}},[`&.${p.A.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter((0,c.A)()).map((([t])=>({props:{color:t,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t].main}`}}})))]}}))),m=(0,l.Ay)(i.ck,{name:"MuiInput",slot:"Input",overridesResolver:i.Oj})({}),g=r.forwardRef((function(e,t){const n=(0,d.b)({props:e,name:"MuiInput"}),{disableUnderline:r=!1,components:s={},componentsProps:l,fullWidth:u=!1,inputComponent:c="input",multiline:g=!1,slotProps:v,slots:y={},type:b="text",...w}=n,x=(e=>{const{classes:t,disableUnderline:n}=e,r={root:["root",!n&&"underline"],input:["input"]},o=(0,a.A)(r,p.B,t);return{...t,...o}})(n),S={root:{ownerState:{disableUnderline:r}}},_=v??l?(0,o.A)(v??l,S):S,A=y.root??s.Root??h,C=y.input??s.Input??m;return(0,f.jsx)(i.Ay,{slots:{root:A,input:C},slotProps:_,fullWidth:u,inputComponent:c,multiline:g,ref:t,type:b,...w,classes:x})}));g&&(g.muiName="Input");const v=g},25571:(e,t,n)=>{"use strict";n.d(t,{A:()=>i,B:()=>o});var r=n(38413),a=n(31609);function o(e){return(0,a.Ay)("MuiInput",e)}const i={...n(51175).A,...(0,r.A)("MuiInput",["root","underline","input"])}},29153:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var r,a=n(96540),o=n(34164),i=n(75659),s=n(28466),l=n(33551),u=n(33800),c=n(79716),d=n(11848),p=n(42637),f=n(25669),h=n(80977),m=n(74848);const g=(0,d.Ay)("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${(0,s.A)(n.position)}`],!0===n.disablePointerEvents&&t.disablePointerEvents,t[n.variant]]}})((0,p.A)((({theme:e})=>({display:"flex",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active,variants:[{props:{variant:"filled"},style:{[`&.${h.A.positionStart}&:not(.${h.A.hiddenLabel})`]:{marginTop:16}}},{props:{position:"start"},style:{marginRight:8}},{props:{position:"end"},style:{marginLeft:8}},{props:{disablePointerEvents:!0},style:{pointerEvents:"none"}}]})))),v=a.forwardRef((function(e,t){const n=(0,f.b)({props:e,name:"MuiInputAdornment"}),{children:d,className:p,component:v="div",disablePointerEvents:y=!1,disableTypography:b=!1,position:w,variant:x,...S}=n,_=(0,c.A)()||{};let A=x;x&&_.variant,_&&!A&&(A=_.variant);const C={...n,hiddenLabel:_.hiddenLabel,size:_.size,disablePointerEvents:y,position:w,variant:A},T=(e=>{const{classes:t,disablePointerEvents:n,hiddenLabel:r,position:a,size:o,variant:l}=e,u={root:["root",n&&"disablePointerEvents",a&&`position${(0,s.A)(a)}`,l,r&&"hiddenLabel",o&&`size${(0,s.A)(o)}`]};return(0,i.A)(u,h.P,t)})(C);return(0,m.jsx)(u.A.Provider,{value:null,children:(0,m.jsx)(g,{as:v,ownerState:C,className:(0,o.A)(T.root,p),ref:t,...S,children:"string"!=typeof d||b?(0,m.jsxs)(a.Fragment,{children:["start"===w?r||(r=(0,m.jsx)("span",{className:"notranslate",children:"​"})):null,d]}):(0,m.jsx)(l.A,{color:"textSecondary",children:d})})})}))},21407:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A,getInputAdornmentUtilityClass:()=>a.P,inputAdornmentClasses:()=>a.A});var r=n(29153),a=n(80977)},80977:(e,t,n)=>{"use strict";n.d(t,{A:()=>i,P:()=>o});var r=n(38413),a=n(31609);function o(e){return(0,a.Ay)("MuiInputAdornment",e)}const i=(0,r.A)("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"])},29199:(e,t,n)=>{"use strict";n.d(t,{ck:()=>I,Sh:()=>O,Ay:()=>R,Oj:()=>P,WC:()=>M});var r=n(89453),a=n(96540),o=n(34164),i=n(75659),s=n(31523),l=n(44877),u=n(21529),c=n(74705),d=n(74848);function p(e){return parseInt(e,10)||0}const f={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"},h=a.forwardRef((function(e,t){const{onChange:n,maxRows:r,minRows:o=1,style:i,value:h,...m}=e,{current:g}=a.useRef(null!=h),v=a.useRef(null),y=(0,s.A)(t,v),b=a.useRef(null),w=a.useRef(null),x=a.useCallback((()=>{const t=v.current,n=(0,l.A)(t).getComputedStyle(t);if("0px"===n.width)return{outerHeightStyle:0,overflowing:!1};const a=w.current;a.style.width=n.width,a.value=t.value||e.placeholder||"x","\n"===a.value.slice(-1)&&(a.value+=" ");const i=n.boxSizing,s=p(n.paddingBottom)+p(n.paddingTop),u=p(n.borderBottomWidth)+p(n.borderTopWidth),c=a.scrollHeight;a.value="x";const d=a.scrollHeight;let f=c;return o&&(f=Math.max(Number(o)*d,f)),r&&(f=Math.min(Number(r)*d,f)),f=Math.max(f,d),{outerHeightStyle:f+("border-box"===i?s+u:0),overflowing:Math.abs(f-c)<=1}}),[r,o,e.placeholder]),S=a.useCallback((()=>{const e=x();if(null==(t=e)||0===Object.keys(t).length||0===t.outerHeightStyle&&!t.overflowing)return;var t;const n=e.outerHeightStyle,r=v.current;b.current!==n&&(b.current=n,r.style.height=`${n}px`),r.style.overflow=e.overflowing?"hidden":""}),[x]);return(0,u.A)((()=>{const e=()=>{S()};const t=(0,c.A)(e),n=v.current,r=(0,l.A)(n);let a;return r.addEventListener("resize",t),"undefined"!=typeof ResizeObserver&&(a=new ResizeObserver(e),a.observe(n)),()=>{t.clear(),cancelAnimationFrame(undefined),r.removeEventListener("resize",t),a&&a.disconnect()}}),[x,S]),(0,u.A)((()=>{S()})),(0,d.jsxs)(a.Fragment,{children:[(0,d.jsx)("textarea",{value:h,onChange:e=>{g||S(),n&&n(e)},ref:y,rows:o,style:i,...m}),(0,d.jsx)("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:w,tabIndex:-1,style:{...f,...i,paddingTop:0,paddingBottom:0}})]})}));var m,g=n(47947),v=n(38086),y=n(33800),b=n(79716),w=n(11848),x=n(39242),S=n(42637),_=n(25669),A=n(28466),C=n(96852),T=n(2778),k=n(82891),E=n(51175);const M=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,"small"===n.size&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${(0,A.A)(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},P=(e,t)=>{const{ownerState:n}=e;return[t.input,"small"===n.size&&t.inputSizeSmall,n.multiline&&t.inputMultiline,"search"===n.type&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},O=(0,w.Ay)("div",{name:"MuiInputBase",slot:"Root",overridesResolver:M})((0,S.A)((({theme:e})=>({...e.typography.body1,color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${E.A.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"},variants:[{props:({ownerState:e})=>e.multiline,style:{padding:"4px 0 5px"}},{props:({ownerState:e,size:t})=>e.multiline&&"small"===t,style:{paddingTop:1}},{props:({ownerState:e})=>e.fullWidth,style:{width:"100%"}}]})))),I=(0,w.Ay)("input",{name:"MuiInputBase",slot:"Input",overridesResolver:P})((0,S.A)((({theme:e})=>{const t="light"===e.palette.mode,n={color:"currentColor",...e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5},transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},r={opacity:"0 !important"},a=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5};return{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%","&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${E.A.formControl} &`]:{"&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&::-ms-input-placeholder":r,"&:focus::-webkit-input-placeholder":a,"&:focus::-moz-placeholder":a,"&:focus::-ms-input-placeholder":a},[`&.${E.A.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},variants:[{props:({ownerState:e})=>!e.disableInjectingGlobalStyles,style:{animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}}},{props:{size:"small"},style:{paddingTop:1}},{props:({ownerState:e})=>e.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}}))),D=(0,x.Dp)({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),R=a.forwardRef((function(e,t){const n=(0,_.b)({props:e,name:"MuiInputBase"}),{"aria-describedby":s,autoComplete:l,autoFocus:u,className:c,color:p,components:f={},componentsProps:w={},defaultValue:x,disabled:S,disableInjectingGlobalStyles:M,endAdornment:P,error:R,fullWidth:N=!1,id:L,inputComponent:$="input",inputProps:j={},inputRef:F,margin:B,maxRows:z,minRows:W,multiline:V=!1,name:U,onBlur:H,onChange:q,onClick:G,onFocus:Y,onKeyDown:X,onKeyUp:K,placeholder:Q,readOnly:Z,renderSuffix:J,rows:ee,size:te,slotProps:ne={},slots:re={},startAdornment:ae,type:oe="text",value:ie,...se}=n,le=null!=j.value?j.value:ie,{current:ue}=a.useRef(null!=le),ce=a.useRef(),de=a.useCallback((e=>{}),[]),pe=(0,C.A)(ce,F,j.ref,de),[fe,he]=a.useState(!1),me=(0,b.A)(),ge=(0,v.A)({props:n,muiFormControl:me,states:["color","disabled","error","hiddenLabel","size","required","filled"]});ge.focused=me?me.focused:fe,a.useEffect((()=>{!me&&S&&fe&&(he(!1),H&&H())}),[me,S,fe,H]);const ve=me&&me.onFilled,ye=me&&me.onEmpty,be=a.useCallback((e=>{(0,k.lq)(e)?ve&&ve():ye&&ye()}),[ve,ye]);(0,T.A)((()=>{ue&&be({value:le})}),[le,be,ue]),a.useEffect((()=>{be(ce.current)}),[]);let we=$,xe=j;V&&"input"===we&&(xe=ee?{type:void 0,minRows:ee,maxRows:ee,...xe}:{type:void 0,maxRows:z,minRows:W,...xe},we=h),a.useEffect((()=>{me&&me.setAdornedStart(Boolean(ae))}),[me,ae]);const Se={...n,color:ge.color||"primary",disabled:ge.disabled,endAdornment:P,error:ge.error,focused:ge.focused,formControl:me,fullWidth:N,hiddenLabel:ge.hiddenLabel,multiline:V,size:ge.size,startAdornment:ae,type:oe},_e=(e=>{const{classes:t,color:n,disabled:r,error:a,endAdornment:o,focused:s,formControl:l,fullWidth:u,hiddenLabel:c,multiline:d,readOnly:p,size:f,startAdornment:h,type:m}=e,g={root:["root",`color${(0,A.A)(n)}`,r&&"disabled",a&&"error",u&&"fullWidth",s&&"focused",l&&"formControl",f&&"medium"!==f&&`size${(0,A.A)(f)}`,d&&"multiline",h&&"adornedStart",o&&"adornedEnd",c&&"hiddenLabel",p&&"readOnly"],input:["input",r&&"disabled","search"===m&&"inputTypeSearch",d&&"inputMultiline","small"===f&&"inputSizeSmall",c&&"inputHiddenLabel",h&&"inputAdornedStart",o&&"inputAdornedEnd",p&&"readOnly"]};return(0,i.A)(g,E.g,t)})(Se),Ae=re.root||f.Root||O,Ce=ne.root||w.root||{},Te=re.input||f.Input||I;return xe={...xe,...ne.input??w.input},(0,d.jsxs)(a.Fragment,{children:[!M&&"function"==typeof D&&(m||(m=(0,d.jsx)(D,{}))),(0,d.jsxs)(Ae,{...Ce,ref:t,onClick:e=>{ce.current&&e.currentTarget===e.target&&ce.current.focus(),G&&G(e)},...se,...!(0,g.A)(Ae)&&{ownerState:{...Se,...Ce.ownerState}},className:(0,o.A)(_e.root,Ce.className,c,Z&&"MuiInputBase-readOnly"),children:[ae,(0,d.jsx)(y.A.Provider,{value:null,children:(0,d.jsx)(Te,{"aria-invalid":ge.error,"aria-describedby":s,autoComplete:l,autoFocus:u,defaultValue:x,disabled:ge.disabled,id:L,onAnimationStart:e=>{be("mui-auto-fill-cancel"===e.animationName?ce.current:{value:"x"})},name:U,placeholder:Q,readOnly:Z,required:ge.required,rows:ee,value:le,onKeyDown:X,onKeyUp:K,type:oe,...xe,...!(0,g.A)(Te)&&{as:we,ownerState:{...Se,...xe.ownerState}},ref:pe,className:(0,o.A)(_e.input,xe.className,Z&&"MuiInputBase-readOnly"),onBlur:e=>{H&&H(e),j.onBlur&&j.onBlur(e),me&&me.onBlur?me.onBlur(e):he(!1)},onChange:(e,...t)=>{if(!ue){const t=e.target||ce.current;if(null==t)throw new Error((0,r.A)(1));be({value:t.value})}j.onChange&&j.onChange(e,...t),q&&q(e,...t)},onFocus:e=>{Y&&Y(e),j.onFocus&&j.onFocus(e),me&&me.onFocus?me.onFocus(e):he(!0)}})}),P,J?J({...ge,startAdornment:ae}):null]})]})}))},51175:(e,t,n)=>{"use strict";n.d(t,{A:()=>i,g:()=>o});var r=n(38413),a=n(31609);function o(e){return(0,a.Ay)("MuiInputBase",e)}const i=(0,r.A)("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"])},82891:(e,t,n)=>{"use strict";function r(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function a(e,t=!1){return e&&(r(e.value)&&""!==e.value||t&&r(e.defaultValue)&&""!==e.defaultValue)}function o(e){return e.startAdornment}n.d(t,{gr:()=>o,lq:()=>a})},29571:(e,t,n)=>{"use strict";n.d(t,{A:()=>w});var r=n(96540),a=n(75659),o=n(34164),i=n(38086),s=n(79716),l=n(69307),u=n(86511),c=n(28466),d=n(39770),p=n(11848),f=n(42637),h=n(25669),m=n(38413),g=n(31609);function v(e){return(0,g.Ay)("MuiInputLabel",e)}(0,m.A)("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);var y=n(74848);const b=(0,p.Ay)(l.A,{shouldForwardProp:e=>(0,d.A)(e)||"classes"===e,name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${u.A.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,"small"===n.size&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,n.focused&&t.focused,t[n.variant]]}})((0,f.A)((({theme:e})=>({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",variants:[{props:({ownerState:e})=>e.formControl,style:{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"}},{props:{size:"small"},style:{transform:"translate(0, 17px) scale(1)"}},{props:({ownerState:e})=>e.shrink,style:{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"}},{props:({ownerState:e})=>!e.disableAnimation,style:{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})}},{props:{variant:"filled"},style:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"filled",size:"small"},style:{transform:"translate(12px, 13px) scale(1)"}},{props:({variant:e,ownerState:t})=>"filled"===e&&t.shrink,style:{userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"}},{props:({variant:e,ownerState:t,size:n})=>"filled"===e&&t.shrink&&"small"===n,style:{transform:"translate(12px, 4px) scale(0.75)"}},{props:{variant:"outlined"},style:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"outlined",size:"small"},style:{transform:"translate(14px, 9px) scale(1)"}},{props:({variant:e,ownerState:t})=>"outlined"===e&&t.shrink,style:{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}}]})))),w=r.forwardRef((function(e,t){const n=(0,h.b)({name:"MuiInputLabel",props:e}),{disableAnimation:r=!1,margin:l,shrink:u,variant:d,className:p,...f}=n,m=(0,s.A)();let g=u;void 0===g&&m&&(g=m.filled||m.focused||m.adornedStart);const w=(0,i.A)({props:n,muiFormControl:m,states:["size","variant","required","focused"]}),x={...n,disableAnimation:r,formControl:m,shrink:g,size:w.size,variant:w.variant,required:w.required,focused:w.focused},S=(e=>{const{classes:t,formControl:n,size:r,shrink:o,disableAnimation:i,variant:s,required:l}=e,u={root:["root",n&&"formControl",!i&&"animated",o&&"shrink",r&&"normal"!==r&&`size${(0,c.A)(r)}`,s],asterisk:[l&&"asterisk"]},d=(0,a.A)(u,v,t);return{...t,...d}})(x);return(0,y.jsx)(b,{"data-shrink":g,ref:t,className:(0,o.A)(S.root,p),...f,ownerState:x,classes:S})}))},83497:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>P,getLinearProgressUtilityClass:()=>g,linearProgressClasses:()=>v});var r=n(96540),a=n(34164),o=n(75659),i=n(79739),s=n(93944),l=n(17437),u=n(11848),c=n(42637),d=n(78660),p=n(25669),f=n(28466),h=n(38413),m=n(31609);function g(e){return(0,m.Ay)("MuiLinearProgress",e)}const v=(0,h.A)("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);var y=n(74848);const b=l.i7` 0% { left: -35%; right: 100%; } 60% { left: 100%; right: -90%; } 100% { left: 100%; right: -90%; } `,w="string"!=typeof b?l.AH` animation: ${b} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite; `:null,x=l.i7` 0% { left: -200%; right: 100%; } 60% { left: 107%; right: -8%; } 100% { left: 107%; right: -8%; } `,S="string"!=typeof x?l.AH` animation: ${x} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite; `:null,_=l.i7` 0% { opacity: 1; background-position: 0 -23px; } 60% { opacity: 0; background-position: 0 -23px; } 100% { opacity: 1; background-position: -200px -23px; } `,A="string"!=typeof _?l.AH` animation: ${_} 3s infinite linear; `:null,C=(e,t)=>e.vars?e.vars.palette.LinearProgress[`${t}Bg`]:"light"===e.palette.mode?(0,i.a)(e.palette[t].main,.62):(0,i.e$)(e.palette[t].main,.5),T=(0,u.Ay)("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`color${(0,f.A)(n.color)}`],t[n.variant]]}})((0,c.A)((({theme:e})=>({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},variants:[...Object.entries(e.palette).filter((0,d.A)()).map((([t])=>({props:{color:t},style:{backgroundColor:C(e,t)}}))),{props:({ownerState:e})=>"inherit"===e.color&&"buffer"!==e.variant,style:{"&::before":{content:'""',position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"currentColor",opacity:.3}}},{props:{variant:"buffer"},style:{backgroundColor:"transparent"}},{props:{variant:"query"},style:{transform:"rotate(180deg)"}}]})))),k=(0,u.Ay)("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.dashed,t[`dashedColor${(0,f.A)(n.color)}`]]}})((0,c.A)((({theme:e})=>({position:"absolute",marginTop:0,height:"100%",width:"100%",backgroundSize:"10px 10px",backgroundPosition:"0 -23px",variants:[{props:{color:"inherit"},style:{opacity:.3,backgroundImage:"radial-gradient(currentColor 0%, currentColor 16%, transparent 42%)"}},...Object.entries(e.palette).filter((0,d.A)()).map((([t])=>{const n=C(e,t);return{props:{color:t},style:{backgroundImage:`radial-gradient(${n} 0%, ${n} 16%, transparent 42%)`}}}))]}))),A||{animation:`${_} 3s infinite linear`}),E=(0,u.Ay)("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.bar,t[`barColor${(0,f.A)(n.color)}`],("indeterminate"===n.variant||"query"===n.variant)&&t.bar1Indeterminate,"determinate"===n.variant&&t.bar1Determinate,"buffer"===n.variant&&t.bar1Buffer]}})((0,c.A)((({theme:e})=>({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",variants:[{props:{color:"inherit"},style:{backgroundColor:"currentColor"}},...Object.entries(e.palette).filter((0,d.A)()).map((([t])=>({props:{color:t},style:{backgroundColor:(e.vars||e).palette[t].main}}))),{props:{variant:"determinate"},style:{transition:"transform .4s linear"}},{props:{variant:"buffer"},style:{zIndex:1,transition:"transform .4s linear"}},{props:({ownerState:e})=>"indeterminate"===e.variant||"query"===e.variant,style:{width:"auto"}},{props:({ownerState:e})=>"indeterminate"===e.variant||"query"===e.variant,style:w||{animation:`${b} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite`}}]})))),M=(0,u.Ay)("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.bar,t[`barColor${(0,f.A)(n.color)}`],("indeterminate"===n.variant||"query"===n.variant)&&t.bar2Indeterminate,"buffer"===n.variant&&t.bar2Buffer]}})((0,c.A)((({theme:e})=>({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",variants:[...Object.entries(e.palette).filter((0,d.A)()).map((([t])=>({props:{color:t},style:{"--LinearProgressBar2-barColor":(e.vars||e).palette[t].main}}))),{props:({ownerState:e})=>"buffer"!==e.variant&&"inherit"!==e.color,style:{backgroundColor:"var(--LinearProgressBar2-barColor, currentColor)"}},{props:({ownerState:e})=>"buffer"!==e.variant&&"inherit"===e.color,style:{backgroundColor:"currentColor"}},{props:{color:"inherit"},style:{opacity:.3}},...Object.entries(e.palette).filter((0,d.A)()).map((([t])=>({props:{color:t,variant:"buffer"},style:{backgroundColor:C(e,t),transition:"transform .4s linear"}}))),{props:({ownerState:e})=>"indeterminate"===e.variant||"query"===e.variant,style:{width:"auto"}},{props:({ownerState:e})=>"indeterminate"===e.variant||"query"===e.variant,style:S||{animation:`${x} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite`}}]})))),P=r.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiLinearProgress"}),{className:r,color:i="primary",value:l,valueBuffer:u,variant:c="indeterminate",...d}=n,h={...n,color:i,variant:c},m=(e=>{const{classes:t,variant:n,color:r}=e,a={root:["root",`color${(0,f.A)(r)}`,n],dashed:["dashed",`dashedColor${(0,f.A)(r)}`],bar1:["bar",`barColor${(0,f.A)(r)}`,("indeterminate"===n||"query"===n)&&"bar1Indeterminate","determinate"===n&&"bar1Determinate","buffer"===n&&"bar1Buffer"],bar2:["bar","buffer"!==n&&`barColor${(0,f.A)(r)}`,"buffer"===n&&`color${(0,f.A)(r)}`,("indeterminate"===n||"query"===n)&&"bar2Indeterminate","buffer"===n&&"bar2Buffer"]};return(0,o.A)(a,g,t)})(h),v=(0,s.I)(),b={},w={bar1:{},bar2:{}};if(("determinate"===c||"buffer"===c)&&void 0!==l){b["aria-valuenow"]=Math.round(l),b["aria-valuemin"]=0,b["aria-valuemax"]=100;let e=l-100;v&&(e=-e),w.bar1.transform=`translateX(${e}%)`}if("buffer"===c&&void 0!==u){let e=(u||0)-100;v&&(e=-e),w.bar2.transform=`translateX(${e}%)`}return(0,y.jsxs)(T,{className:(0,a.A)(m.root,r),ownerState:h,role:"progressbar",...b,ref:t,...d,children:["buffer"===c?(0,y.jsx)(k,{className:m.dashed,ownerState:h}):null,(0,y.jsx)(E,{className:m.bar1,ownerState:h,style:w.bar1}),"determinate"===c?null:(0,y.jsx)(M,{className:m.bar2,ownerState:h,style:w.bar2})]})}))},27465:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(96540),a=n(34164),o=n(75659),i=n(11848),s=n(25669),l=n(32850),u=n(52249),c=n(74848);const d=(0,i.Ay)("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})({listStyle:"none",margin:0,padding:0,position:"relative",variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>e.subheader,style:{paddingTop:0}}]}),p=r.forwardRef((function(e,t){const n=(0,s.b)({props:e,name:"MuiList"}),{children:i,className:p,component:f="ul",dense:h=!1,disablePadding:m=!1,subheader:g,...v}=n,y=r.useMemo((()=>({dense:h})),[h]),b={...n,component:f,dense:h,disablePadding:m},w=(e=>{const{classes:t,disablePadding:n,dense:r,subheader:a}=e,i={root:["root",!n&&"padding",r&&"dense",a&&"subheader"]};return(0,o.A)(i,u.H,t)})(b);return(0,c.jsx)(l.A.Provider,{value:y,children:(0,c.jsxs)(d,{as:f,className:(0,a.A)(w.root,p),ref:t,ownerState:b,...v,children:[g,i]})})}))},32850:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(96540).createContext({})},90401:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A,getListUtilityClass:()=>a.H,listClasses:()=>a.A});var r=n(27465),a=n(52249)},52249:(e,t,n)=>{"use strict";n.d(t,{A:()=>i,H:()=>o});var r=n(38413),a=n(31609);function o(e){return(0,a.Ay)("MuiList",e)}const i=(0,r.A)("MuiList",["root","padding","dense","subheader"])},98625:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>m,getListItemAvatarUtilityClass:()=>d,listItemAvatarClasses:()=>p});var r=n(96540),a=n(34164),o=n(75659),i=n(32850),s=n(11848),l=n(25669),u=n(38413),c=n(31609);function d(e){return(0,c.Ay)("MuiListItemAvatar",e)}const p=(0,u.A)("MuiListItemAvatar",["root","alignItemsFlexStart"]);var f=n(74848);const h=(0,s.Ay)("div",{name:"MuiListItemAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"flex-start"===n.alignItems&&t.alignItemsFlexStart]}})({minWidth:56,flexShrink:0,variants:[{props:{alignItems:"flex-start"},style:{marginTop:8}}]}),m=r.forwardRef((function(e,t){const n=(0,l.b)({props:e,name:"MuiListItemAvatar"}),{className:s,...u}=n,c=r.useContext(i.A),p={...n,alignItems:c.alignItems},m=(e=>{const{alignItems:t,classes:n}=e,r={root:["root","flex-start"===t&&"alignItemsFlexStart"]};return(0,o.A)(r,d,n)})(p);return(0,f.jsx)(h,{className:(0,a.A)(m.root,s),ownerState:p,ref:t,...u})}))},12308:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>y,getListItemButtonUtilityClass:()=>m.Y,listItemButtonClasses:()=>m.A});var r=n(96540),a=n(34164),o=n(75659),i=n(79739),s=n(11848),l=n(42637),u=n(25669),c=n(39770),d=n(80189),p=n(2778),f=n(96852),h=n(32850),m=n(22927),g=n(74848);const v=(0,s.Ay)(d.A,{shouldForwardProp:e=>(0,c.A)(e)||"classes"===e,name:"MuiListItemButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,"flex-start"===n.alignItems&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})((0,l.A)((({theme:e})=>({display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${m.A.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,i.X4)(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${m.A.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,i.X4)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${m.A.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,i.X4)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,i.X4)(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${m.A.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${m.A.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},variants:[{props:({ownerState:e})=>e.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:{alignItems:"flex-start"},style:{alignItems:"flex-start"}},{props:({ownerState:e})=>!e.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:e})=>e.dense,style:{paddingTop:4,paddingBottom:4}}]})))),y=r.forwardRef((function(e,t){const n=(0,u.b)({props:e,name:"MuiListItemButton"}),{alignItems:i="center",autoFocus:s=!1,component:l="div",children:c,dense:d=!1,disableGutters:y=!1,divider:b=!1,focusVisibleClassName:w,selected:x=!1,className:S,..._}=n,A=r.useContext(h.A),C=r.useMemo((()=>({dense:d||A.dense||!1,alignItems:i,disableGutters:y})),[i,A.dense,d,y]),T=r.useRef(null);(0,p.A)((()=>{s&&T.current&&T.current.focus()}),[s]);const k={...n,alignItems:i,dense:C.dense,disableGutters:y,divider:b,selected:x},E=(e=>{const{alignItems:t,classes:n,dense:r,disabled:a,disableGutters:i,divider:s,selected:l}=e,u={root:["root",r&&"dense",!i&&"gutters",s&&"divider",a&&"disabled","flex-start"===t&&"alignItemsFlexStart",l&&"selected"]},c=(0,o.A)(u,m.Y,n);return{...n,...c}})(k),M=(0,f.A)(T,t);return(0,g.jsx)(h.A.Provider,{value:C,children:(0,g.jsx)(v,{ref:M,href:_.href||_.to,component:(_.href||_.to)&&"div"===l?"button":l,focusVisibleClassName:(0,a.A)(E.focusVisible,w),ownerState:k,className:(0,a.A)(E.root,S),..._,classes:E,children:c})})}))},22927:(e,t,n)=>{"use strict";n.d(t,{A:()=>i,Y:()=>o});var r=n(38413),a=n(31609);function o(e){return(0,a.Ay)("MuiListItemButton",e)}const i=(0,r.A)("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"])},73772:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>f,getListItemIconUtilityClass:()=>u.f,listItemIconClasses:()=>u.A});var r=n(96540),a=n(34164),o=n(75659),i=n(11848),s=n(42637),l=n(25669),u=n(66721),c=n(32850),d=n(74848);const p=(0,i.Ay)("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"flex-start"===n.alignItems&&t.alignItemsFlexStart]}})((0,s.A)((({theme:e})=>({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex",variants:[{props:{alignItems:"flex-start"},style:{marginTop:8}}]})))),f=r.forwardRef((function(e,t){const n=(0,l.b)({props:e,name:"MuiListItemIcon"}),{className:i,...s}=n,f=r.useContext(c.A),h={...n,alignItems:f.alignItems},m=(e=>{const{alignItems:t,classes:n}=e,r={root:["root","flex-start"===t&&"alignItemsFlexStart"]};return(0,o.A)(r,u.f,n)})(h);return(0,d.jsx)(p,{className:(0,a.A)(m.root,i),ownerState:h,ref:t,...s})}))},66721:(e,t,n)=>{"use strict";n.d(t,{A:()=>i,f:()=>o});var r=n(38413),a=n(31609);function o(e){return(0,a.Ay)("MuiListItemIcon",e)}const i=(0,r.A)("MuiListItemIcon",["root","alignItemsFlexStart"])},92755:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=n(96540),a=n(34164),o=n(75659),i=n(11848),s=n(25669),l=n(32850),u=n(75847),c=n(74848);const d=(0,i.Ay)("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.disableGutters&&t.disableGutters]}})({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)",variants:[{props:({ownerState:e})=>e.disableGutters,style:{right:0}}]}),p=r.forwardRef((function(e,t){const n=(0,s.b)({props:e,name:"MuiListItemSecondaryAction"}),{className:i,...p}=n,f=r.useContext(l.A),h={...n,disableGutters:f.disableGutters},m=(e=>{const{disableGutters:t,classes:n}=e,r={root:["root",t&&"disableGutters"]};return(0,o.A)(r,u.g,n)})(h);return(0,c.jsx)(d,{className:(0,a.A)(m.root,i),ownerState:h,ref:t,...p})}));p.muiName="ListItemSecondaryAction";const f=p},53834:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A,getListItemSecondaryActionClassesUtilityClass:()=>a.g,listItemSecondaryActionClasses:()=>a.A});var r=n(92755),a=n(75847)},75847:(e,t,n)=>{"use strict";n.d(t,{A:()=>i,g:()=>o});var r=n(38413),a=n(31609);function o(e){return(0,a.Ay)("MuiListItemSecondaryAction",e)}const i=(0,r.A)("MuiListItemSecondaryAction",["root","disableGutters"])},66065:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h,getListItemTextUtilityClass:()=>d.b,listItemTextClasses:()=>d.A});var r=n(96540),a=n(34164),o=n(75659),i=n(78651),s=n(33551),l=n(32850),u=n(11848),c=n(25669),d=n(68081),p=n(74848);const f=(0,u.Ay)("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${d.A.primary}`]:t.primary},{[`& .${d.A.secondary}`]:t.secondary},t.root,n.inset&&t.inset,n.primary&&n.secondary&&t.multiline,n.dense&&t.dense]}})({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4,[`.${i.A.root}:where(& .${d.A.primary})`]:{display:"block"},[`.${i.A.root}:where(& .${d.A.secondary})`]:{display:"block"},variants:[{props:({ownerState:e})=>e.primary&&e.secondary,style:{marginTop:6,marginBottom:6}},{props:({ownerState:e})=>e.inset,style:{paddingLeft:56}}]}),h=r.forwardRef((function(e,t){const n=(0,c.b)({props:e,name:"MuiListItemText"}),{children:i,className:u,disableTypography:h=!1,inset:m=!1,primary:g,primaryTypographyProps:v,secondary:y,secondaryTypographyProps:b,...w}=n,{dense:x}=r.useContext(l.A);let S=null!=g?g:i,_=y;const A={...n,disableTypography:h,inset:m,primary:!!S,secondary:!!_,dense:x},C=(e=>{const{classes:t,inset:n,primary:r,secondary:a,dense:i}=e,s={root:["root",n&&"inset",i&&"dense",r&&a&&"multiline"],primary:["primary"],secondary:["secondary"]};return(0,o.A)(s,d.b,t)})(A);return null==S||S.type===s.A||h||(S=(0,p.jsx)(s.A,{variant:x?"body2":"body1",className:C.primary,component:v?.variant?void 0:"span",...v,children:S})),null==_||_.type===s.A||h||(_=(0,p.jsx)(s.A,{variant:"body2",className:C.secondary,color:"textSecondary",...b,children:_})),(0,p.jsxs)(f,{className:(0,a.A)(C.root,u),ownerState:A,ref:t,...w,children:[S,_]})}))},68081:(e,t,n)=>{"use strict";n.d(t,{A:()=>i,b:()=>o});var r=n(38413),a=n(31609);function o(e){return(0,a.Ay)("MuiListItemText",e)}const i=(0,r.A)("MuiListItemText",["root","multiline","dense","inset","primary","secondary"])},68463:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r=n(96540),a=n(34164),o=n(75659),i=n(11848),s=n(42637),l=n(25669),u=n(28466),c=n(32603),d=n(74848);const p=(0,i.Ay)("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"default"!==n.color&&t[`color${(0,u.A)(n.color)}`],!n.disableGutters&&t.gutters,n.inset&&t.inset,!n.disableSticky&&t.sticky]}})((0,s.A)((({theme:e})=>({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(e.vars||e).palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14),variants:[{props:{color:"primary"},style:{color:(e.vars||e).palette.primary.main}},{props:{color:"inherit"},style:{color:"inherit"}},{props:({ownerState:e})=>!e.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:e})=>e.inset,style:{paddingLeft:72}},{props:({ownerState:e})=>!e.disableSticky,style:{position:"sticky",top:0,zIndex:1,backgroundColor:(e.vars||e).palette.background.paper}}]})))),f=r.forwardRef((function(e,t){const n=(0,l.b)({props:e,name:"MuiListSubheader"}),{className:r,color:i="default",component:s="li",disableGutters:f=!1,disableSticky:h=!1,inset:m=!1,...g}=n,v={...n,color:i,component:s,disableGutters:f,disableSticky:h,inset:m},y=(e=>{const{classes:t,color:n,disableGutters:r,inset:a,disableSticky:i}=e,s={root:["root","default"!==n&&`color${(0,u.A)(n)}`,!r&&"gutters",a&&"inset",!i&&"sticky"]};return(0,o.A)(s,c.g,t)})(v);return(0,d.jsx)(p,{as:s,className:(0,a.A)(y.root,r),ref:t,ownerState:v,...g})}));f&&(f.muiSkipListHighlight=!0);const h=f},20292:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A,getListSubheaderUtilityClass:()=>a.g,listSubheaderClasses:()=>a.A});var r=n(68463),a=n(32603)},32603:(e,t,n)=>{"use strict";n.d(t,{A:()=>i,g:()=>o});var r=n(38413),a=n(31609);function o(e){return(0,a.Ay)("MuiListSubheader",e)}const i=(0,r.A)("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"])},19043:(e,t,n)=>{"use strict";n.d(t,{A:()=>j});var r=n(96540),a=(n(44363),n(34164)),o=n(75659),i=n(93944),s=n(79329),l=n(88116),u=n(47947),c=n(11848),d=n(25669),p=n(1935),f=n(96248),h=n(93749),m=n(96852),g=n(87467),v=n(35406),y=n(34339),b=n(38413),w=n(31609);function x(e){return(0,w.Ay)("MuiPopover",e)}(0,b.A)("MuiPopover",["root","paper"]);var S=n(6025),_=n(74848);function A(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function C(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function T(e){return[e.horizontal,e.vertical].map((e=>"number"==typeof e?`${e}px`:e)).join(" ")}function k(e){return"function"==typeof e?e():e}const E=(0,c.Ay)(v.A,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),M=(0,c.Ay)(y.A,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),P=r.forwardRef((function(e,t){const n=(0,d.b)({props:e,name:"MuiPopover"}),{action:i,anchorEl:s,anchorOrigin:l={vertical:"top",horizontal:"left"},anchorPosition:c,anchorReference:v="anchorEl",children:y,className:b,container:w,elevation:P=8,marginThreshold:O=16,open:I,PaperProps:D={},slots:R={},slotProps:N={},transformOrigin:L={vertical:"top",horizontal:"left"},TransitionComponent:$=g.A,transitionDuration:j="auto",TransitionProps:{onEntering:F,...B}={},disableScrollLock:z=!1,...W}=n,V=N?.paper??D,U=r.useRef(),H={...n,anchorOrigin:l,anchorReference:v,elevation:P,marginThreshold:O,externalPaperSlotProps:V,transformOrigin:L,TransitionComponent:$,transitionDuration:j,TransitionProps:B},q=(e=>{const{classes:t}=e;return(0,o.A)({root:["root"],paper:["paper"]},x,t)})(H),G=r.useCallback((()=>{if("anchorPosition"===v)return c;const e=k(s),t=(e&&1===e.nodeType?e:(0,f.A)(U.current).body).getBoundingClientRect();return{top:t.top+A(t,l.vertical),left:t.left+C(t,l.horizontal)}}),[s,l.horizontal,l.vertical,c,v]),Y=r.useCallback((e=>({vertical:A(e,L.vertical),horizontal:C(e,L.horizontal)})),[L.horizontal,L.vertical]),X=r.useCallback((e=>{const t={width:e.offsetWidth,height:e.offsetHeight},n=Y(t);if("none"===v)return{top:null,left:null,transformOrigin:T(n)};const r=G();let a=r.top-n.vertical,o=r.left-n.horizontal;const i=a+t.height,l=o+t.width,u=(0,h.A)(k(s)),c=u.innerHeight-O,d=u.innerWidth-O;if(null!==O&&ac){const e=i-c;a-=e,n.vertical+=e}if(null!==O&&od){const e=l-d;o-=e,n.horizontal+=e}return{top:`${Math.round(a)}px`,left:`${Math.round(o)}px`,transformOrigin:T(n)}}),[s,v,G,Y,O]),[K,Q]=r.useState(I),Z=r.useCallback((()=>{const e=U.current;if(!e)return;const t=X(e);null!==t.top&&e.style.setProperty("top",t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,Q(!0)}),[X]);r.useEffect((()=>(z&&window.addEventListener("scroll",Z),()=>window.removeEventListener("scroll",Z))),[s,z,Z]),r.useEffect((()=>{I&&Z()})),r.useImperativeHandle(i,(()=>I?{updatePosition:()=>{Z()}}:null),[I,Z]),r.useEffect((()=>{if(!I)return;const e=(0,p.A)((()=>{Z()})),t=(0,h.A)(s);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}}),[s,I,Z]);let J=j;"auto"!==j||$.muiSupportAuto||(J=void 0);const ee=w||(s?(0,f.A)(k(s)).body:void 0),te={slots:R,slotProps:{...N,paper:V}},[ne,re]=(0,S.A)("paper",{elementType:M,externalForwardedProps:te,additionalProps:{elevation:P,className:(0,a.A)(q.paper,V?.className),style:K?V.style:{...V.style,opacity:0}},ownerState:H}),[ae,{slotProps:oe,...ie}]=(0,S.A)("root",{elementType:E,externalForwardedProps:te,additionalProps:{slotProps:{backdrop:{invisible:!0}},container:ee,open:I},ownerState:H,className:(0,a.A)(q.root,b)}),se=(0,m.A)(U,re.ref);return(0,_.jsx)(ae,{...ie,...!(0,u.A)(ae)&&{slotProps:oe,disableScrollLock:z},...W,ref:t,children:(0,_.jsx)($,{appear:!0,in:I,onEntering:(e,t)=>{F&&F(e,t),Z()},onExited:()=>{Q(!1)},timeout:J,...B,children:(0,_.jsx)(ne,{...re,ref:se,children:y})})})}));var O=n(39770),I=n(211);const D={vertical:"top",horizontal:"right"},R={vertical:"top",horizontal:"left"},N=(0,c.Ay)(P,{shouldForwardProp:e=>(0,O.A)(e)||"classes"===e,name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),L=(0,c.Ay)(M,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),$=(0,c.Ay)(l.A,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),j=r.forwardRef((function(e,t){const n=(0,d.b)({props:e,name:"MuiMenu"}),{autoFocus:l=!0,children:u,className:c,disableAutoFocusItem:p=!1,MenuListProps:f={},onClose:h,open:m,PaperProps:g={},PopoverClasses:v,transitionDuration:y="auto",TransitionProps:{onEntering:b,...w}={},variant:x="selectedMenu",slots:S={},slotProps:A={},...C}=n,T=(0,i.I)(),k={...n,autoFocus:l,disableAutoFocusItem:p,MenuListProps:f,onEntering:b,PaperProps:g,transitionDuration:y,TransitionProps:w,variant:x},E=(e=>{const{classes:t}=e;return(0,o.A)({root:["root"],paper:["paper"],list:["list"]},I.e,t)})(k),M=l&&!p&&m,P=r.useRef(null);let O=-1;r.Children.map(u,((e,t)=>{r.isValidElement(e)&&(e.props.disabled||("selectedMenu"===x&&e.props.selected||-1===O)&&(O=t))}));const j=S.paper??L,F=A.paper??g,B=(0,s.A)({elementType:S.root,externalSlotProps:A.root,ownerState:k,className:[E.root,c]}),z=(0,s.A)({elementType:j,externalSlotProps:F,ownerState:k,className:E.paper});return(0,_.jsx)(N,{onClose:h,anchorOrigin:{vertical:"bottom",horizontal:T?"right":"left"},transformOrigin:T?D:R,slots:{paper:j,root:S.root},slotProps:{root:B,paper:z},open:m,ref:t,transitionDuration:y,TransitionProps:{onEntering:(e,t)=>{P.current&&P.current.adjustStyleForScrollbar(e,{direction:T?"rtl":"ltr"}),b&&b(e,t)},...w},ownerState:k,...C,classes:v,children:(0,_.jsx)($,{onKeyDown:e=>{"Tab"===e.key&&(e.preventDefault(),h&&h(e,"tabKeyDown"))},actions:P,autoFocus:l&&(-1===O||p),autoFocusItem:M,variant:x,...f,className:(0,a.A)(E.list,f.className),children:u})})}))},1758:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A,getMenuUtilityClass:()=>a.e,menuClasses:()=>a.A});var r=n(19043),a=n(211)},211:(e,t,n)=>{"use strict";n.d(t,{A:()=>i,e:()=>o});var r=n(38413),a=n(31609);function o(e){return(0,a.Ay)("MuiMenu",e)}const i=(0,r.A)("MuiMenu",["root","paper","list"])},17681:(e,t,n)=>{"use strict";n.d(t,{A:()=>x});var r=n(96540),a=n(34164),o=n(75659),i=n(79739),s=n(39770),l=n(11848),u=n(42637),c=n(25669),d=n(32850),p=n(80189),f=n(2778),h=n(96852),m=n(61347),g=n(66721),v=n(68081),y=n(25249),b=n(74848);const w=(0,l.Ay)(p.A,{shouldForwardProp:e=>(0,s.A)(e)||"classes"===e,name:"MuiMenuItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})((0,u.A)((({theme:e})=>({...e.typography.body1,display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap","&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${y.A.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,i.X4)(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${y.A.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,i.X4)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${y.A.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,i.X4)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,i.X4)(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${y.A.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${y.A.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${m.A.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${m.A.inset}`]:{marginLeft:52},[`& .${v.A.root}`]:{marginTop:0,marginBottom:0},[`& .${v.A.inset}`]:{paddingLeft:36},[`& .${g.A.root}`]:{minWidth:36},variants:[{props:({ownerState:e})=>!e.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:e})=>e.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:e})=>!e.dense,style:{[e.breakpoints.up("sm")]:{minHeight:"auto"}}},{props:({ownerState:e})=>e.dense,style:{minHeight:32,paddingTop:4,paddingBottom:4,...e.typography.body2,[`& .${g.A.root} svg`]:{fontSize:"1.25rem"}}}]})))),x=r.forwardRef((function(e,t){const n=(0,c.b)({props:e,name:"MuiMenuItem"}),{autoFocus:i=!1,component:s="li",dense:l=!1,divider:u=!1,disableGutters:p=!1,focusVisibleClassName:m,role:g="menuitem",tabIndex:v,className:x,...S}=n,_=r.useContext(d.A),A=r.useMemo((()=>({dense:l||_.dense||!1,disableGutters:p})),[_.dense,l,p]),C=r.useRef(null);(0,f.A)((()=>{i&&C.current&&C.current.focus()}),[i]);const T={...n,dense:A.dense,divider:u,disableGutters:p},k=(e=>{const{disabled:t,dense:n,divider:r,disableGutters:a,selected:i,classes:s}=e,l={root:["root",n&&"dense",t&&"disabled",!a&&"gutters",r&&"divider",i&&"selected"]},u=(0,o.A)(l,y.Z,s);return{...s,...u}})(n),E=(0,h.A)(C,t);let M;return n.disabled||(M=void 0!==v?v:-1),(0,b.jsx)(d.A.Provider,{value:A,children:(0,b.jsx)(w,{ref:E,role:g,tabIndex:M,component:s,focusVisibleClassName:(0,a.A)(k.focusVisible,m),className:(0,a.A)(k.root,x),...S,ownerState:T,classes:k})})}))},60361:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A,getMenuItemUtilityClass:()=>a.Z,menuItemClasses:()=>a.A});var r=n(17681),a=n(25249)},25249:(e,t,n)=>{"use strict";n.d(t,{A:()=>i,Z:()=>o});var r=n(38413),a=n(31609);function o(e){return(0,a.Ay)("MuiMenuItem",e)}const i=(0,r.A)("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"])},88116:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var r=n(96540),a=(n(44363),n(96248)),o=n(27465);const i=n(93205).A;var s=n(96852),l=n(2778),u=n(93749),c=n(74848);function d(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function p(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function f(e,t){if(void 0===t)return!0;let n=e.innerText;return void 0===n&&(n=e.textContent),n=n.trim().toLowerCase(),0!==n.length&&(t.repeating?n[0]===t.keys[0]:n.startsWith(t.keys.join("")))}function h(e,t,n,r,a,o){let i=!1,s=a(e,t,!!t&&n);for(;s;){if(s===e.firstChild){if(i)return!1;i=!0}const t=!r&&(s.disabled||"true"===s.getAttribute("aria-disabled"));if(s.hasAttribute("tabindex")&&f(s,o)&&!t)return s.focus(),!0;s=a(e,s,n)}return!1}const m=r.forwardRef((function(e,t){const{actions:n,autoFocus:m=!1,autoFocusItem:g=!1,children:v,className:y,disabledItemsFocusable:b=!1,disableListWrap:w=!1,onKeyDown:x,variant:S="selectedMenu",..._}=e,A=r.useRef(null),C=r.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});(0,l.A)((()=>{m&&A.current.focus()}),[m]),r.useImperativeHandle(n,(()=>({adjustStyleForScrollbar:(e,{direction:t})=>{const n=!A.current.style.width;if(e.clientHeight{r.isValidElement(e)?(e.props.disabled||("selectedMenu"===S&&e.props.selected||-1===k)&&(k=t),k===t&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(k+=1,k>=v.length&&(k=-1))):k===t&&(k+=1,k>=v.length&&(k=-1))}));const E=r.Children.map(v,((e,t)=>{if(t===k){const t={};return g&&(t.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===S&&(t.tabIndex=0),r.cloneElement(e,t)}return e}));return(0,c.jsx)(o.A,{role:"menu",ref:T,className:y,onKeyDown:e=>{const t=A.current,n=e.key;if(e.ctrlKey||e.metaKey||e.altKey)return void(x&&x(e));const r=(0,a.A)(t).activeElement;if("ArrowDown"===n)e.preventDefault(),h(t,r,w,b,d);else if("ArrowUp"===n)e.preventDefault(),h(t,r,w,b,p);else if("Home"===n)e.preventDefault(),h(t,null,w,b,d);else if("End"===n)e.preventDefault(),h(t,null,w,b,p);else if(1===n.length){const a=C.current,o=n.toLowerCase(),i=performance.now();a.keys.length>0&&(i-a.lastTime>500?(a.keys=[],a.repeating=!0,a.previousKeyMatched=!0):a.repeating&&o!==a.keys[0]&&(a.repeating=!1)),a.lastTime=i,a.keys.push(o);const s=r&&!a.repeating&&f(r,a);a.previousKeyMatched&&(s||h(t,r,!1,b,d,a))?e.preventDefault():a.previousKeyMatched=!1}x&&x(e)},tabIndex:m?0:-1,..._,children:E})}))},35406:(e,t,n)=>{"use strict";n.d(t,{A:()=>I});var r=n(96540),a=n(34164),o=n(75659),i=n(73524),s=n(45061),l=n(11848),u=n(42637),c=n(25669),d=n(47419),p=n(31523),f=n(32325),h=n(71547),m=n(76673),g=n(74959),v=n(44877),y=n(93205);function b(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function w(e){return parseInt((0,v.A)(e).getComputedStyle(e).paddingRight,10)||0}function x(e,t,n,r,a){const o=[t,n,...r];[].forEach.call(e.children,(e=>{const t=!o.includes(e),n=!function(e){const t=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(e.tagName),n="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||n}(e);t&&n&&b(e,a)}))}function S(e,t){let n=-1;return e.some(((e,r)=>!!t(e)&&(n=r,!0))),n}const _=new class{constructor(){this.modals=[],this.containers=[]}add(e,t){let n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&b(e.modalRef,!1);const r=function(e){const t=[];return[].forEach.call(e.children,(e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);x(t,e.mount,e.modalRef,r,!0);const a=S(this.containers,(e=>e.container===t));return-1!==a?(this.containers[a].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),n)}mount(e,t){const n=S(this.containers,(t=>t.modals.includes(e))),r=this.containers[n];r.restore||(r.restore=function(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(function(e){const t=(0,f.A)(e);return t.body===e?(0,v.A)(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){const e=(0,y.A)((0,v.A)(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${w(r)+e}px`;const t=(0,f.A)(r).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{n.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${w(t)+e}px`}))}let e;if(r.parentNode instanceof DocumentFragment)e=(0,f.A)(r).body;else{const t=r.parentElement,n=(0,v.A)(r);e="HTML"===t?.nodeName&&"scroll"===n.getComputedStyle(t).overflowY?t:r}n.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{n.forEach((({value:e,el:t,property:n})=>{e?t.style.setProperty(n,e):t.style.removeProperty(n)}))}}(r,t))}remove(e,t=!0){const n=this.modals.indexOf(e);if(-1===n)return n;const r=S(this.containers,(t=>t.modals.includes(e))),a=this.containers[r];if(a.modals.splice(a.modals.indexOf(e),1),this.modals.splice(n,1),0===a.modals.length)a.restore&&a.restore(),e.modalRef&&b(e.modalRef,t),x(a.container,e.mount,e.modalRef,a.hiddenSiblings,!1),this.containers.splice(r,1);else{const e=a.modals[a.modals.length-1];e.modalRef&&b(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};var A=n(38413),C=n(31609);function T(e){return(0,C.Ay)("MuiModal",e)}(0,A.A)("MuiModal",["root","hidden","backdrop"]);var k=n(6025),E=n(96852),M=n(74848);const P=(0,l.Ay)("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})((0,u.A)((({theme:e})=>({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:e})=>!e.open&&e.exited,style:{visibility:"hidden"}}]})))),O=(0,l.Ay)(d.A,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),I=r.forwardRef((function(e,t){const n=(0,c.b)({name:"MuiModal",props:e}),{BackdropComponent:l=O,BackdropProps:u,classes:d,className:v,closeAfterTransition:y=!1,children:w,container:x,component:S,components:A={},componentsProps:C={},disableAutoFocus:I=!1,disableEnforceFocus:D=!1,disableEscapeKeyDown:R=!1,disablePortal:N=!1,disableRestoreFocus:L=!1,disableScrollLock:$=!1,hideBackdrop:j=!1,keepMounted:F=!1,onBackdropClick:B,onClose:z,onTransitionEnter:W,onTransitionExited:V,open:U,slotProps:H={},slots:q={},theme:G,...Y}=n,X={...n,closeAfterTransition:y,disableAutoFocus:I,disableEnforceFocus:D,disableEscapeKeyDown:R,disablePortal:N,disableRestoreFocus:L,disableScrollLock:$,hideBackdrop:j,keepMounted:F},{getRootProps:K,getBackdropProps:Q,getTransitionProps:Z,portalRef:J,isTopModal:ee,exited:te,hasTransition:ne}=function(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:a=!1,closeAfterTransition:o=!1,onTransitionEnter:i,onTransitionExited:s,children:l,onClose:u,open:c,rootRef:d}=e,v=r.useRef({}),y=r.useRef(null),w=r.useRef(null),x=(0,p.A)(w,d),[S,A]=r.useState(!c),C=function(e){return!!e&&e.props.hasOwnProperty("in")}(l);let T=!0;"false"!==e["aria-hidden"]&&!1!==e["aria-hidden"]||(T=!1);const k=()=>(v.current.modalRef=w.current,v.current.mount=y.current,v.current),E=()=>{_.mount(k(),{disableScrollLock:a}),w.current&&(w.current.scrollTop=0)},M=(0,h.A)((()=>{const e=function(e){return"function"==typeof e?e():e}(t)||(0,f.A)(y.current).body;_.add(k(),e),w.current&&E()})),P=()=>_.isTopModal(k()),O=(0,h.A)((e=>{y.current=e,e&&(c&&P()?E():w.current&&b(w.current,T))})),I=r.useCallback((()=>{_.remove(k(),T)}),[T]);r.useEffect((()=>()=>{I()}),[I]),r.useEffect((()=>{c?M():C&&o||I()}),[c,I,C,o,M]);const D=e=>t=>{e.onKeyDown?.(t),"Escape"===t.key&&229!==t.which&&P()&&(n||(t.stopPropagation(),u&&u(t,"escapeKeyDown")))},R=e=>t=>{e.onClick?.(t),t.target===t.currentTarget&&u&&u(t,"backdropClick")};return{getRootProps:(t={})=>{const n=(0,g.A)(e);delete n.onTransitionEnter,delete n.onTransitionExited;const r={...n,...t};return{role:"presentation",...r,onKeyDown:D(r),ref:x}},getBackdropProps:(e={})=>{const t=e;return{"aria-hidden":!0,...t,onClick:R(t),open:c}},getTransitionProps:()=>({onEnter:(0,m.A)((()=>{A(!1),i&&i()}),l?.props.onEnter),onExited:(0,m.A)((()=>{A(!0),s&&s(),o&&I()}),l?.props.onExited)}),rootRef:x,portalRef:O,isTopModal:P,exited:S,hasTransition:C}}({...X,rootRef:t}),re={...X,exited:te},ae=(e=>{const{open:t,exited:n,classes:r}=e,a={root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]};return(0,o.A)(a,T,r)})(re),oe={};if(void 0===w.props.tabIndex&&(oe.tabIndex="-1"),ne){const{onEnter:e,onExited:t}=Z();oe.onEnter=e,oe.onExited=t}const ie={...Y,slots:{root:A.Root,backdrop:A.Backdrop,...q},slotProps:{...C,...H}},[se,le]=(0,k.A)("root",{elementType:P,externalForwardedProps:ie,getSlotProps:K,additionalProps:{ref:t,as:S},ownerState:re,className:(0,a.A)(v,ae?.root,!re.open&&re.exited&&ae?.hidden)}),[ue,ce]=(0,k.A)("backdrop",{elementType:l,externalForwardedProps:ie,additionalProps:u,getSlotProps:e=>Q({...e,onClick:t=>{B&&B(t),e?.onClick&&e.onClick(t)}}),className:(0,a.A)(u?.className,ae?.backdrop),ownerState:re}),de=(0,E.A)(u?.ref,ce.ref);return F||U||ne&&!te?(0,M.jsx)(s.A,{ref:J,container:x,disablePortal:N,children:(0,M.jsxs)(se,{...le,children:[!j&&l?(0,M.jsx)(ue,{...ce,ref:de}):null,(0,M.jsx)(i.A,{disableEnforceFocus:D,disableAutoFocus:I,disableRestoreFocus:L,isEnabled:ee,open:U,children:r.cloneElement(w,oe)})]})}):null}))},8641:(e,t,n)=>{"use strict";n.d(t,{A:()=>S});var r,a=n(96540),o=n(75659),i=n(39770),s=n(11848),l=n(42637),u=n(74848);const c=(0,s.Ay)("fieldset",{shouldForwardProp:i.A})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),d=(0,s.Ay)("legend",{shouldForwardProp:i.A})((0,l.A)((({theme:e})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:({ownerState:e})=>!e.withLabel,style:{padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})}},{props:({ownerState:e})=>e.withLabel,style:{display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}}},{props:({ownerState:e})=>e.withLabel&&e.notched,style:{maxWidth:"100%",transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}]}))));var p=n(79716),f=n(38086),h=n(78660),m=n(25669),g=n(71023),v=n(29199);const y=(0,s.Ay)(v.Sh,{shouldForwardProp:e=>(0,i.A)(e)||"classes"===e,name:"MuiOutlinedInput",slot:"Root",overridesResolver:v.WC})((0,l.A)((({theme:e})=>{const t="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${g.A.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},[`&.${g.A.focused} .${g.A.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter((0,h.A)()).map((([t])=>({props:{color:t},style:{[`&.${g.A.focused} .${g.A.notchedOutline}`]:{borderColor:(e.vars||e).palette[t].main}}}))),{props:{},style:{"@media (hover: none)":{[`&:hover .${g.A.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}},[`&.${g.A.error} .${g.A.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${g.A.disabled} .${g.A.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}}},{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:14}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:14}},{props:({ownerState:e})=>e.multiline,style:{padding:"16.5px 14px"}},{props:({ownerState:e,size:t})=>e.multiline&&"small"===t,style:{padding:"8.5px 14px"}}]}}))),b=(0,s.Ay)((function(e){const{children:t,classes:n,className:a,label:o,notched:i,...s}=e,l=null!=o&&""!==o,p={...e,notched:i,withLabel:l};return(0,u.jsx)(c,{"aria-hidden":!0,className:a,ownerState:p,...s,children:(0,u.jsx)(d,{ownerState:p,children:l?(0,u.jsx)("span",{children:o}):r||(r=(0,u.jsx)("span",{className:"notranslate",children:"​"}))})})}),{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})((0,l.A)((({theme:e})=>{const t="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}}))),w=(0,s.Ay)(v.ck,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:v.Oj})((0,l.A)((({theme:e})=>({padding:"16.5px 14px",...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{padding:"8.5px 14px"}},{props:({ownerState:e})=>e.multiline,style:{padding:0}},{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:0}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:0}}]})))),x=a.forwardRef((function(e,t){var n;const r=(0,m.b)({props:e,name:"MuiOutlinedInput"}),{components:i={},fullWidth:s=!1,inputComponent:l="input",label:c,multiline:d=!1,notched:h,slots:x={},type:S="text",..._}=r,A=(e=>{const{classes:t}=e,n=(0,o.A)({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},g.v,t);return{...t,...n}})(r),C=(0,p.A)(),T=(0,f.A)({props:r,muiFormControl:C,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),k={...r,color:T.color||"primary",disabled:T.disabled,error:T.error,focused:T.focused,formControl:C,fullWidth:s,hiddenLabel:T.hiddenLabel,multiline:d,size:T.size,type:S},E=x.root??i.Root??y,M=x.input??i.Input??w;return(0,u.jsx)(v.Ay,{slots:{root:E,input:M},renderSuffix:e=>(0,u.jsx)(b,{ownerState:k,className:A.notchedOutline,label:null!=c&&""!==c&&T.required?n||(n=(0,u.jsxs)(a.Fragment,{children:[c," ","*"]})):c,notched:void 0!==h?h:Boolean(e.startAdornment||e.filled||e.focused)}),fullWidth:s,inputComponent:l,multiline:d,ref:t,type:S,..._,classes:{...A,notchedOutline:null}})}));x&&(x.muiName="Input");const S=x},71023:(e,t,n)=>{"use strict";n.d(t,{A:()=>i,v:()=>o});var r=n(38413),a=n(31609);function o(e){return(0,a.Ay)("MuiOutlinedInput",e)}const i={...n(51175).A,...(0,r.A)("MuiOutlinedInput",["root","notchedOutline","input"])}},34339:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var r=n(96540),a=n(34164),o=n(75659),i=n(79739),s=n(11848),l=n(44675),u=n(42637),c=n(25669),d=n(98783),p=n(21431),f=n(74848);const h=(0,s.Ay)("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,"elevation"===n.variant&&t[`elevation${n.elevation}`]]}})((0,u.A)((({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),variants:[{props:({ownerState:e})=>!e.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]})))),m=r.forwardRef((function(e,t){const n=(0,c.b)({props:e,name:"MuiPaper"}),r=(0,l.A)(),{className:s,component:u="div",elevation:m=1,square:g=!1,variant:v="elevation",...y}=n,b={...n,component:u,elevation:m,square:g,variant:v},w=(e=>{const{square:t,elevation:n,variant:r,classes:a}=e,i={root:["root",r,!t&&"rounded","elevation"===r&&`elevation${n}`]};return(0,o.A)(i,p.j,a)})(b);return(0,f.jsx)(h,{as:u,ownerState:b,className:(0,a.A)(w.root,s),ref:t,...y,style:{..."elevation"===v&&{"--Paper-shadow":(r.vars||r).shadows[m],...r.vars&&{"--Paper-overlay":r.vars.overlays?.[m]},...!r.vars&&"dark"===r.palette.mode&&{"--Paper-overlay":`linear-gradient(${(0,i.X4)("#fff",(0,d.A)(m))}, ${(0,i.X4)("#fff",(0,d.A)(m))})`}},...y.style}})}))},4825:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A,getPaperUtilityClass:()=>a.j,paperClasses:()=>a.A});var r=n(34339),a=n(21431)},21431:(e,t,n)=>{"use strict";n.d(t,{A:()=>i,j:()=>o});var r=n(38413),a=n(31609);function o(e){return(0,a.Ay)("MuiPaper",e)}const i=(0,r.A)("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"])},87558:(e,t,n)=>{"use strict";n.d(t,{A:()=>Pe});var r=n(93944),a=n(96540),o=n(31523),i=n(21529),s=n(32325);function l(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function u(e){return e instanceof l(e).Element||e instanceof Element}function c(e){return e instanceof l(e).HTMLElement||e instanceof HTMLElement}function d(e){return"undefined"!=typeof ShadowRoot&&(e instanceof l(e).ShadowRoot||e instanceof ShadowRoot)}var p=Math.max,f=Math.min,h=Math.round;function m(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function g(){return!/^((?!chrome|android).)*safari/i.test(m())}function v(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),a=1,o=1;t&&c(e)&&(a=e.offsetWidth>0&&h(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&h(r.height)/e.offsetHeight||1);var i=(u(e)?l(e):window).visualViewport,s=!g()&&n,d=(r.left+(s&&i?i.offsetLeft:0))/a,p=(r.top+(s&&i?i.offsetTop:0))/o,f=r.width/a,m=r.height/o;return{width:f,height:m,top:p,right:d+f,bottom:p+m,left:d,x:d,y:p}}function y(e){var t=l(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function b(e){return e?(e.nodeName||"").toLowerCase():null}function w(e){return((u(e)?e.ownerDocument:e.document)||window.document).documentElement}function x(e){return v(w(e)).left+y(e).scrollLeft}function S(e){return l(e).getComputedStyle(e)}function _(e){var t=S(e),n=t.overflow,r=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+a+r)}function A(e,t,n){void 0===n&&(n=!1);var r,a,o=c(t),i=c(t)&&function(e){var t=e.getBoundingClientRect(),n=h(t.width)/e.offsetWidth||1,r=h(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),s=w(t),u=v(e,i,n),d={scrollLeft:0,scrollTop:0},p={x:0,y:0};return(o||!o&&!n)&&(("body"!==b(t)||_(s))&&(d=(r=t)!==l(r)&&c(r)?{scrollLeft:(a=r).scrollLeft,scrollTop:a.scrollTop}:y(r)),c(t)?((p=v(t,!0)).x+=t.clientLeft,p.y+=t.clientTop):s&&(p.x=x(s))),{x:u.left+d.scrollLeft-p.x,y:u.top+d.scrollTop-p.y,width:u.width,height:u.height}}function C(e){var t=v(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function T(e){return"html"===b(e)?e:e.assignedSlot||e.parentNode||(d(e)?e.host:null)||w(e)}function k(e){return["html","body","#document"].indexOf(b(e))>=0?e.ownerDocument.body:c(e)&&_(e)?e:k(T(e))}function E(e,t){var n;void 0===t&&(t=[]);var r=k(e),a=r===(null==(n=e.ownerDocument)?void 0:n.body),o=l(r),i=a?[o].concat(o.visualViewport||[],_(r)?r:[]):r,s=t.concat(i);return a?s:s.concat(E(T(i)))}function M(e){return["table","td","th"].indexOf(b(e))>=0}function P(e){return c(e)&&"fixed"!==S(e).position?e.offsetParent:null}function O(e){for(var t=l(e),n=P(e);n&&M(n)&&"static"===S(n).position;)n=P(n);return n&&("html"===b(n)||"body"===b(n)&&"static"===S(n).position)?t:n||function(e){var t=/firefox/i.test(m());if(/Trident/i.test(m())&&c(e)&&"fixed"===S(e).position)return null;var n=T(e);for(d(n)&&(n=n.host);c(n)&&["html","body"].indexOf(b(n))<0;){var r=S(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var I="top",D="bottom",R="right",N="left",L="auto",$=[I,D,R,N],j="start",F="end",B="viewport",z="popper",W=$.reduce((function(e,t){return e.concat([t+"-"+j,t+"-"+F])}),[]),V=[].concat($,[L]).reduce((function(e,t){return e.concat([t,t+"-"+j,t+"-"+F])}),[]),U=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function H(e){var t=new Map,n=new Set,r=[];function a(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&a(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||a(e)})),r}var q={placement:"bottom",modifiers:[],strategy:"absolute"};function G(){for(var e=arguments.length,t=new Array(e),n=0;n=0?"x":"y"}function J(e){var t,n=e.reference,r=e.element,a=e.placement,o=a?K(a):null,i=a?Q(a):null,s=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(o){case I:t={x:s,y:n.y-r.height};break;case D:t={x:s,y:n.y+n.height};break;case R:t={x:n.x+n.width,y:l};break;case N:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var u=o?Z(o):null;if(null!=u){var c="y"===u?"height":"width";switch(i){case j:t[u]=t[u]-(n[c]/2-r[c]/2);break;case F:t[u]=t[u]+(n[c]/2-r[c]/2)}}return t}var ee={top:"auto",right:"auto",bottom:"auto",left:"auto"};function te(e){var t,n=e.popper,r=e.popperRect,a=e.placement,o=e.variation,i=e.offsets,s=e.position,u=e.gpuAcceleration,c=e.adaptive,d=e.roundOffsets,p=e.isFixed,f=i.x,m=void 0===f?0:f,g=i.y,v=void 0===g?0:g,y="function"==typeof d?d({x:m,y:v}):{x:m,y:v};m=y.x,v=y.y;var b=i.hasOwnProperty("x"),x=i.hasOwnProperty("y"),_=N,A=I,C=window;if(c){var T=O(n),k="clientHeight",E="clientWidth";T===l(n)&&"static"!==S(T=w(n)).position&&"absolute"===s&&(k="scrollHeight",E="scrollWidth"),(a===I||(a===N||a===R)&&o===F)&&(A=D,v-=(p&&T===C&&C.visualViewport?C.visualViewport.height:T[k])-r.height,v*=u?1:-1),a!==N&&(a!==I&&a!==D||o!==F)||(_=R,m-=(p&&T===C&&C.visualViewport?C.visualViewport.width:T[E])-r.width,m*=u?1:-1)}var M,P=Object.assign({position:s},c&&ee),L=!0===d?function(e,t){var n=e.x,r=e.y,a=t.devicePixelRatio||1;return{x:h(n*a)/a||0,y:h(r*a)/a||0}}({x:m,y:v},l(n)):{x:m,y:v};return m=L.x,v=L.y,u?Object.assign({},P,((M={})[A]=x?"0":"",M[_]=b?"0":"",M.transform=(C.devicePixelRatio||1)<=1?"translate("+m+"px, "+v+"px)":"translate3d("+m+"px, "+v+"px, 0)",M)):Object.assign({},P,((t={})[A]=x?v+"px":"",t[_]=b?m+"px":"",t.transform="",t))}var ne={left:"right",right:"left",bottom:"top",top:"bottom"};function re(e){return e.replace(/left|right|bottom|top/g,(function(e){return ne[e]}))}var ae={start:"end",end:"start"};function oe(e){return e.replace(/start|end/g,(function(e){return ae[e]}))}function ie(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&d(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function se(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function le(e,t,n){return t===B?se(function(e,t){var n=l(e),r=w(e),a=n.visualViewport,o=r.clientWidth,i=r.clientHeight,s=0,u=0;if(a){o=a.width,i=a.height;var c=g();(c||!c&&"fixed"===t)&&(s=a.offsetLeft,u=a.offsetTop)}return{width:o,height:i,x:s+x(e),y:u}}(e,n)):u(t)?function(e,t){var n=v(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):se(function(e){var t,n=w(e),r=y(e),a=null==(t=e.ownerDocument)?void 0:t.body,o=p(n.scrollWidth,n.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),i=p(n.scrollHeight,n.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),s=-r.scrollLeft+x(e),l=-r.scrollTop;return"rtl"===S(a||n).direction&&(s+=p(n.clientWidth,a?a.clientWidth:0)-o),{width:o,height:i,x:s,y:l}}(w(e)))}function ue(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function ce(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function de(e,t){void 0===t&&(t={});var n=t,r=n.placement,a=void 0===r?e.placement:r,o=n.strategy,i=void 0===o?e.strategy:o,s=n.boundary,l=void 0===s?"clippingParents":s,d=n.rootBoundary,h=void 0===d?B:d,m=n.elementContext,g=void 0===m?z:m,y=n.altBoundary,x=void 0!==y&&y,_=n.padding,A=void 0===_?0:_,C=ue("number"!=typeof A?A:ce(A,$)),k=g===z?"reference":z,M=e.rects.popper,P=e.elements[x?k:g],N=function(e,t,n,r){var a="clippingParents"===t?function(e){var t=E(T(e)),n=["absolute","fixed"].indexOf(S(e).position)>=0&&c(e)?O(e):e;return u(n)?t.filter((function(e){return u(e)&&ie(e,n)&&"body"!==b(e)})):[]}(e):[].concat(t),o=[].concat(a,[n]),i=o[0],s=o.reduce((function(t,n){var a=le(e,n,r);return t.top=p(a.top,t.top),t.right=f(a.right,t.right),t.bottom=f(a.bottom,t.bottom),t.left=p(a.left,t.left),t}),le(e,i,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}(u(P)?P:P.contextElement||w(e.elements.popper),l,h,i),L=v(e.elements.reference),j=J({reference:L,element:M,strategy:"absolute",placement:a}),F=se(Object.assign({},M,j)),W=g===z?F:L,V={top:N.top-W.top+C.top,bottom:W.bottom-N.bottom+C.bottom,left:N.left-W.left+C.left,right:W.right-N.right+C.right},U=e.modifiersData.offset;if(g===z&&U){var H=U[a];Object.keys(V).forEach((function(e){var t=[R,D].indexOf(e)>=0?1:-1,n=[I,D].indexOf(e)>=0?"y":"x";V[e]+=H[n]*t}))}return V}function pe(e,t,n){return p(e,f(t,n))}function fe(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function he(e){return[I,R,D,N].some((function(t){return e[t]>=0}))}var me=Y({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,a=r.scroll,o=void 0===a||a,i=r.resize,s=void 0===i||i,u=l(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach((function(e){e.addEventListener("scroll",n.update,X)})),s&&u.addEventListener("resize",n.update,X),function(){o&&c.forEach((function(e){e.removeEventListener("scroll",n.update,X)})),s&&u.removeEventListener("resize",n.update,X)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=J({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,a=void 0===r||r,o=n.adaptive,i=void 0===o||o,s=n.roundOffsets,l=void 0===s||s,u={placement:K(t.placement),variation:Q(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,te(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,te(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},a=t.elements[e];c(a)&&b(a)&&(Object.assign(a.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?a.removeAttribute(e):a.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],a=t.attributes[e]||{},o=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});c(r)&&b(r)&&(Object.assign(r.style,o),Object.keys(a).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,a=n.offset,o=void 0===a?[0,0]:a,i=V.reduce((function(e,n){return e[n]=function(e,t,n){var r=K(e),a=[N,I].indexOf(r)>=0?-1:1,o="function"==typeof n?n(Object.assign({},t,{placement:e})):n,i=o[0],s=o[1];return i=i||0,s=(s||0)*a,[N,R].indexOf(r)>=0?{x:s,y:i}:{x:i,y:s}}(n,t.rects,o),e}),{}),s=i[t.placement],l=s.x,u=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=i}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var a=n.mainAxis,o=void 0===a||a,i=n.altAxis,s=void 0===i||i,l=n.fallbackPlacements,u=n.padding,c=n.boundary,d=n.rootBoundary,p=n.altBoundary,f=n.flipVariations,h=void 0===f||f,m=n.allowedAutoPlacements,g=t.options.placement,v=K(g),y=l||(v!==g&&h?function(e){if(K(e)===L)return[];var t=re(e);return[oe(e),t,oe(t)]}(g):[re(g)]),b=[g].concat(y).reduce((function(e,n){return e.concat(K(n)===L?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,a=n.boundary,o=n.rootBoundary,i=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,u=void 0===l?V:l,c=Q(r),d=c?s?W:W.filter((function(e){return Q(e)===c})):$,p=d.filter((function(e){return u.indexOf(e)>=0}));0===p.length&&(p=d);var f=p.reduce((function(t,n){return t[n]=de(e,{placement:n,boundary:a,rootBoundary:o,padding:i})[K(n)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}(t,{placement:n,boundary:c,rootBoundary:d,padding:u,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),w=t.rects.reference,x=t.rects.popper,S=new Map,_=!0,A=b[0],C=0;C=0,P=M?"width":"height",O=de(t,{placement:T,boundary:c,rootBoundary:d,altBoundary:p,padding:u}),F=M?E?R:N:E?D:I;w[P]>x[P]&&(F=re(F));var B=re(F),z=[];if(o&&z.push(O[k]<=0),s&&z.push(O[F]<=0,O[B]<=0),z.every((function(e){return e}))){A=T,_=!1;break}S.set(T,z)}if(_)for(var U=function(e){var t=b.find((function(t){var n=S.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return A=t,"break"},H=h?3:1;H>0&&"break"!==U(H);H--);t.placement!==A&&(t.modifiersData[r]._skip=!0,t.placement=A,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,a=n.mainAxis,o=void 0===a||a,i=n.altAxis,s=void 0!==i&&i,l=n.boundary,u=n.rootBoundary,c=n.altBoundary,d=n.padding,h=n.tether,m=void 0===h||h,g=n.tetherOffset,v=void 0===g?0:g,y=de(t,{boundary:l,rootBoundary:u,padding:d,altBoundary:c}),b=K(t.placement),w=Q(t.placement),x=!w,S=Z(b),_="x"===S?"y":"x",A=t.modifiersData.popperOffsets,T=t.rects.reference,k=t.rects.popper,E="function"==typeof v?v(Object.assign({},t.rects,{placement:t.placement})):v,M="number"==typeof E?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),P=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,L={x:0,y:0};if(A){if(o){var $,F="y"===S?I:N,B="y"===S?D:R,z="y"===S?"height":"width",W=A[S],V=W+y[F],U=W-y[B],H=m?-k[z]/2:0,q=w===j?T[z]:k[z],G=w===j?-k[z]:-T[z],Y=t.elements.arrow,X=m&&Y?C(Y):{width:0,height:0},J=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},ee=J[F],te=J[B],ne=pe(0,T[z],X[z]),re=x?T[z]/2-H-ne-ee-M.mainAxis:q-ne-ee-M.mainAxis,ae=x?-T[z]/2+H+ne+te+M.mainAxis:G+ne+te+M.mainAxis,oe=t.elements.arrow&&O(t.elements.arrow),ie=oe?"y"===S?oe.clientTop||0:oe.clientLeft||0:0,se=null!=($=null==P?void 0:P[S])?$:0,le=W+ae-se,ue=pe(m?f(V,W+re-se-ie):V,W,m?p(U,le):U);A[S]=ue,L[S]=ue-W}if(s){var ce,fe="x"===S?I:N,he="x"===S?D:R,me=A[_],ge="y"===_?"height":"width",ve=me+y[fe],ye=me-y[he],be=-1!==[I,N].indexOf(b),we=null!=(ce=null==P?void 0:P[_])?ce:0,xe=be?ve:me-T[ge]-k[ge]-we+M.altAxis,Se=be?me+T[ge]+k[ge]-we-M.altAxis:ye,_e=m&&be?function(e,t,n){var r=pe(e,t,n);return r>n?n:r}(xe,me,Se):pe(m?xe:ve,me,m?Se:ye);A[_]=_e,L[_]=_e-me}t.modifiersData[r]=L}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,a=e.options,o=n.elements.arrow,i=n.modifiersData.popperOffsets,s=K(n.placement),l=Z(s),u=[N,R].indexOf(s)>=0?"height":"width";if(o&&i){var c=function(e,t){return ue("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:ce(e,$))}(a.padding,n),d=C(o),p="y"===l?I:N,f="y"===l?D:R,h=n.rects.reference[u]+n.rects.reference[l]-i[l]-n.rects.popper[u],m=i[l]-n.rects.reference[l],g=O(o),v=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,y=h/2-m/2,b=c[p],w=v-d[u]-c[f],x=v/2-d[u]/2+y,S=pe(b,x,w),_=l;n.modifiersData[r]=((t={})[_]=S,t.centerOffset=S-x,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&ie(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,a=t.rects.popper,o=t.modifiersData.preventOverflow,i=de(t,{elementContext:"reference"}),s=de(t,{altBoundary:!0}),l=fe(i,r),u=fe(s,a,o),c=he(l),d=he(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":d})}}]}),ge=n(75659),ve=n(79329),ye=n(45061),be=n(38413),we=n(31609);function xe(e){return(0,we.Ay)("MuiPopper",e)}(0,be.A)("MuiPopper",["root"]);var Se=n(74848);function _e(e){return"function"==typeof e?e():e}const Ae={},Ce=a.forwardRef((function(e,t){const{anchorEl:n,children:r,direction:s,disablePortal:l,modifiers:u,open:c,placement:d,popperOptions:p,popperRef:f,slotProps:h={},slots:m={},TransitionProps:g,ownerState:v,...y}=e,b=a.useRef(null),w=(0,o.A)(b,t),x=a.useRef(null),S=(0,o.A)(x,f),_=a.useRef(S);(0,i.A)((()=>{_.current=S}),[S]),a.useImperativeHandle(f,(()=>x.current),[]);const A=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(d,s),[C,T]=a.useState(A),[k,E]=a.useState(_e(n));a.useEffect((()=>{x.current&&x.current.forceUpdate()})),a.useEffect((()=>{n&&E(_e(n))}),[n]),(0,i.A)((()=>{if(!k||!c)return;let e=[{name:"preventOverflow",options:{altBoundary:l}},{name:"flip",options:{altBoundary:l}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:e})=>{T(e.placement)}}];null!=u&&(e=e.concat(u)),p&&null!=p.modifiers&&(e=e.concat(p.modifiers));const t=me(k,b.current,{placement:A,...p,modifiers:e});return _.current(t),()=>{t.destroy(),_.current(null)}}),[k,l,u,c,p,A]);const M={placement:C};null!==g&&(M.TransitionProps=g);const P=(e=>{const{classes:t}=e;return(0,ge.A)({root:["root"]},xe,t)})(e),O=m.root??"div",I=(0,ve.A)({elementType:O,externalSlotProps:h.root,externalForwardedProps:y,additionalProps:{role:"tooltip",ref:w},ownerState:e,className:P.root});return(0,Se.jsx)(O,{...I,children:"function"==typeof r?r(M):r})})),Te=a.forwardRef((function(e,t){const{anchorEl:n,children:r,container:o,direction:i="ltr",disablePortal:l=!1,keepMounted:u=!1,modifiers:c,open:d,placement:p="bottom",popperOptions:f=Ae,popperRef:h,style:m,transition:g=!1,slotProps:v={},slots:y={},...b}=e,[w,x]=a.useState(!0);if(!u&&!d&&(!g||w))return null;let S;if(o)S=o;else if(n){const e=_e(n);S=e&&void 0!==e.nodeType?(0,s.A)(e).body:(0,s.A)(null).body}const _=d||!u||g&&!w?void 0:"none",A=g?{in:d,onEnter:()=>{x(!1)},onExited:()=>{x(!0)}}:void 0;return(0,Se.jsx)(ye.A,{disablePortal:l,container:S,children:(0,Se.jsx)(Ce,{anchorEl:n,direction:i,disablePortal:l,modifiers:c,ref:t,open:g?!w:d,placement:p,popperOptions:f,popperRef:h,slotProps:v,slots:y,...b,style:{position:"fixed",top:0,left:0,display:_,...m},TransitionProps:A,children:r})})}));var ke=n(11848),Ee=n(25669);const Me=(0,ke.Ay)(Te,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Pe=a.forwardRef((function(e,t){const n=(0,r.I)(),a=(0,Ee.b)({props:e,name:"MuiPopper"}),{anchorEl:o,component:i,components:s,componentsProps:l,container:u,disablePortal:c,keepMounted:d,modifiers:p,open:f,placement:h,popperOptions:m,popperRef:g,transition:v,slots:y,slotProps:b,...w}=a,x=y?.root??s?.Root,S={anchorEl:o,container:u,disablePortal:c,keepMounted:d,modifiers:p,open:f,placement:h,popperOptions:m,popperRef:g,transition:v,...w};return(0,Se.jsx)(Me,{as:i,direction:n?"rtl":"ltr",slots:{root:x},slotProps:b??l,...S,ref:t})}))},45061:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(96540),a=n(40961),o=n(31523),i=n(57223),s=n(21529),l=n(17365),u=n(74848);const c=r.forwardRef((function(e,t){const{children:n,container:c,disablePortal:d=!1}=e,[p,f]=r.useState(null),h=(0,o.A)(r.isValidElement(n)?(0,i.A)(n):null,t);if((0,s.A)((()=>{d||f(function(e){return"function"==typeof e?e():e}(c)||document.body)}),[c,d]),(0,s.A)((()=>{if(p&&!d)return(0,l.A)(t,p),()=>{(0,l.A)(t,null)}}),[t,p,d]),d){if(r.isValidElement(n)){const e={ref:h};return r.cloneElement(n,e)}return(0,u.jsx)(r.Fragment,{children:n})}return(0,u.jsx)(r.Fragment,{children:p?a.createPortal(n,p):p})}))},66574:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>I,getRadioUtilityClass:()=>C,radioClasses:()=>T});var r=n(96540),a=n(34164),o=n(75659),i=n(79739),s=n(55860),l=n(20561),u=n(74848);const c=(0,l.A)((0,u.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),d=(0,l.A)((0,u.jsx)("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked");var p=n(39770),f=n(11848),h=n(42637);const m=(0,f.Ay)("span",{shouldForwardProp:p.A})({position:"relative",display:"flex"}),g=(0,f.Ay)(c)({transform:"scale(1)"}),v=(0,f.Ay)(d)((0,h.A)((({theme:e})=>({left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest}),variants:[{props:{checked:!0},style:{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})}}]})))),y=function(e){const{checked:t=!1,classes:n={},fontSize:r}=e,a={...e,checked:t};return(0,u.jsxs)(m,{className:n.root,ownerState:a,children:[(0,u.jsx)(g,{fontSize:r,className:n.background,ownerState:a}),(0,u.jsx)(v,{fontSize:r,className:n.dot,ownerState:a})]})};var b=n(28466),w=n(50862),x=n(79716),S=n(64746),_=n(38413),A=n(31609);function C(e){return(0,A.Ay)("MuiRadio",e)}const T=(0,_.A)("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]);var k=n(78660),E=n(25669);const M=(0,f.Ay)(s.A,{shouldForwardProp:e=>(0,p.A)(e)||"classes"===e,name:"MuiRadio",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"medium"!==n.size&&t[`size${(0,b.A)(n.size)}`],t[`color${(0,b.A)(n.color)}`]]}})((0,h.A)((({theme:e})=>({color:(e.vars||e).palette.text.secondary,[`&.${T.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{color:"default",disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,i.X4)(e.palette.action.active,e.palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter((0,k.A)()).map((([t])=>({props:{color:t,disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,i.X4)(e.palette[t].main,e.palette.action.hoverOpacity)}}}))),...Object.entries(e.palette).filter((0,k.A)()).map((([t])=>({props:{color:t,disabled:!1},style:{[`&.${T.checked}`]:{color:(e.vars||e).palette[t].main}}}))),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]})))),P=(0,u.jsx)(y,{checked:!0}),O=(0,u.jsx)(y,{}),I=r.forwardRef((function(e,t){const n=(0,E.b)({props:e,name:"MuiRadio"}),{checked:i,checkedIcon:s=P,color:l="primary",icon:c=O,name:d,onChange:p,size:f="medium",className:h,disabled:m,disableRipple:g=!1,...v}=n,y=(0,x.A)();let _=m;y&&void 0===_&&(_=y.disabled),_??=!1;const A={...n,disabled:_,disableRipple:g,color:l,size:f},T=(e=>{const{classes:t,color:n,size:r}=e,a={root:["root",`color${(0,b.A)(n)}`,"medium"!==r&&`size${(0,b.A)(r)}`]};return{...t,...(0,o.A)(a,C,t)}})(A),k=(0,S.A)();let I=i;const D=(0,w.A)(p,k&&k.onChange);let R=d;var N,L;return k&&(void 0===I&&(N=k.value,I="object"==typeof(L=n.value)&&null!==L?N===L:String(N)===String(L)),void 0===R&&(R=k.name)),(0,u.jsx)(M,{type:"radio",icon:r.cloneElement(c,{fontSize:O.props.fontSize??f}),checkedIcon:r.cloneElement(s,{fontSize:P.props.fontSize??f}),disabled:_,ownerState:A,classes:T,name:R,checked:I,onChange:D,ref:t,className:(0,a.A)(T.root,h),...v})}))},14054:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(96540).createContext(void 0)},95728:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>S,getRadioGroupUtilityClass:()=>g,radioGroupClasses:()=>v,useRadioGroup:()=>_.A});var r=n(96540),a=n(34164),o=n(75659),i=n(11848),s=n(25669),l=n(38413),u=n(31609);function c(e){return(0,u.Ay)("MuiFormGroup",e)}(0,l.A)("MuiFormGroup",["root","row","error"]);var d=n(79716),p=n(38086),f=n(74848);const h=(0,i.Ay)("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.row&&t.row]}})({display:"flex",flexDirection:"column",flexWrap:"wrap",variants:[{props:{row:!0},style:{flexDirection:"row"}}]}),m=r.forwardRef((function(e,t){const n=(0,s.b)({props:e,name:"MuiFormGroup"}),{className:r,row:i=!1,...l}=n,u=(0,d.A)(),m=(0,p.A)({props:n,muiFormControl:u,states:["error"]}),g={...n,row:i,error:m.error},v=(e=>{const{classes:t,row:n,error:r}=e,a={root:["root",n&&"row",r&&"error"]};return(0,o.A)(a,c,t)})(g);return(0,f.jsx)(h,{className:(0,a.A)(v.root,r),ownerState:g,ref:t,...l})}));function g(e){return(0,u.Ay)("MuiRadioGroup",e)}const v=(0,l.A)("MuiRadioGroup",["root","row","error"]);var y=n(96852),b=n(41159),w=n(14054),x=n(1668);const S=r.forwardRef((function(e,t){const{actions:n,children:i,className:s,defaultValue:l,name:u,onChange:c,value:d,...p}=e,h=r.useRef(null),v=(e=>{const{classes:t,row:n,error:r}=e,a={root:["root",n&&"row",r&&"error"]};return(0,o.A)(a,g,t)})(e),[S,_]=(0,b.A)({controlled:d,default:l,name:"RadioGroup"});r.useImperativeHandle(n,(()=>({focus:()=>{let e=h.current.querySelector("input:not(:disabled):checked");e||(e=h.current.querySelector("input:not(:disabled)")),e&&e.focus()}})),[]);const A=(0,y.A)(t,h),C=(0,x.A)(u),T=r.useMemo((()=>({name:C,onChange(e){_(e.target.value),c&&c(e,e.target.value)},value:S})),[C,c,_,S]);return(0,f.jsx)(w.A.Provider,{value:T,children:(0,f.jsx)(m,{role:"radiogroup",ref:A,className:(0,a.A)(v.root,s),...p,children:i})})}));var _=n(64746)},64746:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(96540),a=n(14054);function o(){return r.useContext(a.A)}},27967:(e,t,n)=>{"use strict";n.d(t,{A:()=>X});var r=n(96540),a=n(34164),o=n(11317),i=n(57223),s=n(89453),l=(n(44363),n(75659)),u=n(34661),c=n(96248),d=n(28466),p=n(19043),f=n(38413),h=n(31609);function m(e){return(0,h.Ay)("MuiNativeSelect",e)}const g=(0,f.A)("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var v=n(11848),y=n(39770),b=n(74848);const w=(0,v.Ay)("select")((({theme:e})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${g.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(e.vars||e).palette.background.paper},variants:[{props:({ownerState:e})=>"filled"!==e.variant&&"outlined"!==e.variant,style:{"&&&":{paddingRight:24,minWidth:16}}},{props:{variant:"filled"},style:{"&&&":{paddingRight:32}}},{props:{variant:"outlined"},style:{borderRadius:(e.vars||e).shape.borderRadius,"&:focus":{borderRadius:(e.vars||e).shape.borderRadius},"&&&":{paddingRight:32}}}]}))),x=(0,v.Ay)(w,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:y.A,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],n.error&&t.error,{[`&.${g.multiple}`]:t.multiple}]}})({}),S=(0,v.Ay)("svg")((({theme:e})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${g.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:e})=>e.open,style:{transform:"rotate(180deg)"}},{props:{variant:"filled"},style:{right:7}},{props:{variant:"outlined"},style:{right:7}}]}))),_=(0,v.Ay)(S,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${(0,d.A)(n.variant)}`],n.open&&t.iconOpen]}})({}),A=r.forwardRef((function(e,t){const{className:n,disabled:o,error:i,IconComponent:s,inputRef:u,variant:c="standard",...p}=e,f={...e,disabled:o,variant:c,error:i},h=(e=>{const{classes:t,variant:n,disabled:r,multiple:a,open:o,error:i}=e,s={select:["select",n,r&&"disabled",a&&"multiple",i&&"error"],icon:["icon",`icon${(0,d.A)(n)}`,o&&"iconOpen",r&&"disabled"]};return(0,l.A)(s,m,t)})(f);return(0,b.jsxs)(r.Fragment,{children:[(0,b.jsx)(x,{ownerState:f,className:(0,a.A)(h.select,n),disabled:o,ref:u||t,...p}),e.multiple?null:(0,b.jsx)(_,{as:s,ownerState:f,className:h.icon})]})}));var C,T=n(82891),k=n(64438),E=n(96852),M=n(41159),P=n(95265);const O=(0,v.Ay)(w,{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${P.A.select}`]:t.select},{[`&.${P.A.select}`]:t[n.variant]},{[`&.${P.A.error}`]:t.error},{[`&.${P.A.multiple}`]:t.multiple}]}})({[`&.${P.A.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),I=(0,v.Ay)(S,{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${(0,d.A)(n.variant)}`],n.open&&t.iconOpen]}})({}),D=(0,v.Ay)("input",{shouldForwardProp:e=>(0,k.A)(e)&&"classes"!==e,name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function R(e,t){return"object"==typeof t&&null!==t?e===t:String(e)===String(t)}function N(e){return null==e||"string"==typeof e&&!e.trim()}const L=r.forwardRef((function(e,t){const{"aria-describedby":n,"aria-label":o,autoFocus:i,autoWidth:f,children:h,className:m,defaultOpen:g,defaultValue:v,disabled:y,displayEmpty:w,error:x=!1,IconComponent:S,inputRef:_,labelId:A,MenuProps:k={},multiple:L,name:$,onBlur:j,onChange:F,onClose:B,onFocus:z,onOpen:W,open:V,readOnly:U,renderValue:H,SelectDisplayProps:q={},tabIndex:G,type:Y,value:X,variant:K="standard",...Q}=e,[Z,J]=(0,M.A)({controlled:X,default:v,name:"Select"}),[ee,te]=(0,M.A)({controlled:V,default:g,name:"Select"}),ne=r.useRef(null),re=r.useRef(null),[ae,oe]=r.useState(null),{current:ie}=r.useRef(null!=V),[se,le]=r.useState(),ue=(0,E.A)(t,_),ce=r.useCallback((e=>{re.current=e,e&&oe(e)}),[]),de=ae?.parentNode;r.useImperativeHandle(ue,(()=>({focus:()=>{re.current.focus()},node:ne.current,value:Z})),[Z]),r.useEffect((()=>{g&&ee&&ae&&!ie&&(le(f?null:de.clientWidth),re.current.focus())}),[ae,f]),r.useEffect((()=>{i&&re.current.focus()}),[i]),r.useEffect((()=>{if(!A)return;const e=(0,c.A)(re.current).getElementById(A);if(e){const t=()=>{getSelection().isCollapsed&&re.current.focus()};return e.addEventListener("click",t),()=>{e.removeEventListener("click",t)}}}),[A]);const pe=(e,t)=>{e?W&&W(t):B&&B(t),ie||(le(f?null:de.clientWidth),te(e))},fe=r.Children.toArray(h),he=e=>t=>{let n;if(t.currentTarget.hasAttribute("tabindex")){if(L){n=Array.isArray(Z)?Z.slice():[];const t=Z.indexOf(e.props.value);-1===t?n.push(e.props.value):n.splice(t,1)}else n=e.props.value;if(e.props.onClick&&e.props.onClick(t),Z!==n&&(J(n),F)){const r=t.nativeEvent||t,a=new r.constructor(r.type,r);Object.defineProperty(a,"target",{writable:!0,value:{value:n,name:$}}),F(a,e)}L||pe(!1,t)}},me=null!==ae&ⅇlet ge,ve;delete Q["aria-invalid"];const ye=[];let be=!1,we=!1;((0,T.lq)({value:Z})||w)&&(H?ge=H(Z):be=!0);const xe=fe.map((e=>{if(!r.isValidElement(e))return null;let t;if(L){if(!Array.isArray(Z))throw new Error((0,s.A)(2));t=Z.some((t=>R(t,e.props.value))),t&&be&&ye.push(e.props.children)}else t=R(Z,e.props.value),t&&be&&(ve=e.props.children);return t&&(we=!0),r.cloneElement(e,{"aria-selected":t?"true":"false",onClick:he(e),onKeyUp:t=>{" "===t.key&&t.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(t)},role:"option",selected:t,value:void 0,"data-value":e.props.value})}));be&&(ge=L?0===ye.length?null:ye.reduce(((e,t,n)=>(e.push(t),n{const{classes:t,variant:n,disabled:r,multiple:a,open:o,error:i}=e,s={select:["select",n,r&&"disabled",a&&"multiple",i&&"error"],icon:["icon",`icon${(0,d.A)(n)}`,o&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]};return(0,l.A)(s,P.T,t)})(Ce),ke={...k.PaperProps,...k.slotProps?.paper},Ee=(0,u.A)();return(0,b.jsxs)(r.Fragment,{children:[(0,b.jsx)(O,{as:"div",ref:ce,tabIndex:Se,role:"combobox","aria-controls":Ee,"aria-disabled":y?"true":void 0,"aria-expanded":me?"true":"false","aria-haspopup":"listbox","aria-label":o,"aria-labelledby":[A,Ae].filter(Boolean).join(" ")||void 0,"aria-describedby":n,onKeyDown:e=>{U||[" ","ArrowUp","ArrowDown","Enter"].includes(e.key)&&(e.preventDefault(),pe(!0,e))},onMouseDown:y||U?null:e=>{0===e.button&&(e.preventDefault(),re.current.focus(),pe(!0,e))},onBlur:e=>{!me&&j&&(Object.defineProperty(e,"target",{writable:!0,value:{value:Z,name:$}}),j(e))},onFocus:z,...q,ownerState:Ce,className:(0,a.A)(q.className,Te.select,m),id:Ae,children:N(ge)?C||(C=(0,b.jsx)("span",{className:"notranslate",children:"​"})):ge}),(0,b.jsx)(D,{"aria-invalid":x,value:Array.isArray(Z)?Z.join(","):Z,name:$,ref:ne,"aria-hidden":!0,onChange:e=>{const t=fe.find((t=>t.props.value===e.target.value));void 0!==t&&(J(t.props.value),F&&F(e,t))},tabIndex:-1,disabled:y,className:Te.nativeInput,autoFocus:i,...Q,ownerState:Ce}),(0,b.jsx)(I,{as:S,className:Te.icon,ownerState:Ce}),(0,b.jsx)(p.A,{id:`menu-${$||""}`,anchorEl:de,open:me,onClose:e=>{pe(!1,e)},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},...k,MenuListProps:{"aria-labelledby":A,role:"listbox","aria-multiselectable":L?"true":void 0,disableListWrap:!0,id:Ee,...k.MenuListProps},slotProps:{...k.slotProps,paper:{...ke,style:{minWidth:_e,...null!=ke?ke.style:null}}},children:xe})]})}));var $=n(38086),j=n(79716),F=n(602),B=n(77623),z=n(21915),W=n(8641),V=n(98844);const U={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>(0,y.A)(e)&&"variant"!==e,slot:"Root"},H=(0,v.Ay)(B.A,U)(""),q=(0,v.Ay)(W.A,U)(""),G=(0,v.Ay)(z.A,U)(""),Y=r.forwardRef((function(e,t){const n=(0,V.A)({name:"MuiSelect",props:e}),{autoWidth:s=!1,children:l,classes:u={},className:c,defaultOpen:d=!1,displayEmpty:p=!1,IconComponent:f=F.A,id:h,input:m,inputProps:g,label:v,labelId:y,MenuProps:w,multiple:x=!1,native:S=!1,onClose:_,onOpen:C,open:T,renderValue:k,SelectDisplayProps:M,variant:P="outlined",...O}=n,I=S?A:L,D=(0,j.A)(),R=(0,$.A)({props:n,muiFormControl:D,states:["variant","error"]}),N=R.variant||P,B={...n,variant:N,classes:u},z=(e=>{const{classes:t}=e;return t})(B),{root:W,...U}=z,Y=m||{standard:(0,b.jsx)(H,{ownerState:B}),outlined:(0,b.jsx)(q,{label:v,ownerState:B}),filled:(0,b.jsx)(G,{ownerState:B})}[N],X=(0,E.A)(t,(0,i.A)(Y));return(0,b.jsx)(r.Fragment,{children:r.cloneElement(Y,{inputComponent:I,inputProps:{children:l,error:R.error,IconComponent:f,variant:N,type:void 0,multiple:x,...S?{id:h}:{autoWidth:s,defaultOpen:d,displayEmpty:p,labelId:y,MenuProps:w,onClose:_,onOpen:C,open:T,renderValue:k,SelectDisplayProps:{id:h,...M}},...g,classes:g?(0,o.A)(U,g.classes):U,...m?m.props.inputProps:{}},...(x&&S||p)&&"outlined"===N?{notched:!0}:{},ref:X,className:(0,a.A)(Y.props.className,c,z.root),...!m&&{variant:N},...O})})}));Y.muiName="Select";const X=Y},34725:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A,getSelectUtilityClasses:()=>a.T,selectClasses:()=>a.A});var r=n(27967),a=n(95265)},95265:(e,t,n)=>{"use strict";n.d(t,{A:()=>i,T:()=>o});var r=n(38413),a=n(31609);function o(e){return(0,a.Ay)("MuiSelect",e)}const i=(0,r.A)("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"])},47035:(e,t,n)=>{"use strict";n.d(t,{A:()=>b});var r=n(96540),a=n(34164),o=n(75659),i=n(31127),s=n(79739),l=n(17437),u=n(11848),c=n(42637),d=n(25669),p=n(3663),f=n(74848);const h=l.i7` 0% { opacity: 1; } 50% { opacity: 0.4; } 100% { opacity: 1; } `,m=l.i7` 0% { transform: translateX(-100%); } 50% { /* +0.5s of delay between each loop */ transform: translateX(100%); } 100% { transform: translateX(100%); } `,g="string"!=typeof h?l.AH` animation: ${h} 2s ease-in-out 0.5s infinite; `:null,v="string"!=typeof m?l.AH` &::after { animation: ${m} 2s linear 0.5s infinite; } `:null,y=(0,u.Ay)("span",{name:"MuiSkeleton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!1!==n.animation&&t[n.animation],n.hasChildren&&t.withChildren,n.hasChildren&&!n.width&&t.fitContent,n.hasChildren&&!n.height&&t.heightAuto]}})((0,c.A)((({theme:e})=>{const t=(0,i.l_)(e.shape.borderRadius)||"px",n=(0,i.db)(e.shape.borderRadius);return{display:"block",backgroundColor:e.vars?e.vars.palette.Skeleton.bg:(0,s.X4)(e.palette.text.primary,"light"===e.palette.mode?.11:.13),height:"1.2em",variants:[{props:{variant:"text"},style:{marginTop:0,marginBottom:0,height:"auto",transformOrigin:"0 55%",transform:"scale(1, 0.60)",borderRadius:`${n}${t}/${Math.round(n/.6*10)/10}${t}`,"&:empty:before":{content:'"\\00a0"'}}},{props:{variant:"circular"},style:{borderRadius:"50%"}},{props:{variant:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:({ownerState:e})=>e.hasChildren,style:{"& > *":{visibility:"hidden"}}},{props:({ownerState:e})=>e.hasChildren&&!e.width,style:{maxWidth:"fit-content"}},{props:({ownerState:e})=>e.hasChildren&&!e.height,style:{height:"auto"}},{props:{animation:"pulse"},style:g||{animation:`${h} 2s ease-in-out 0.5s infinite`}},{props:{animation:"wave"},style:{position:"relative",overflow:"hidden",WebkitMaskImage:"-webkit-radial-gradient(white, black)","&::after":{background:`linear-gradient(\n 90deg,\n transparent,\n ${(e.vars||e).palette.action.hover},\n transparent\n )`,content:'""',position:"absolute",transform:"translateX(-100%)",bottom:0,left:0,right:0,top:0}}},{props:{animation:"wave"},style:v||{"&::after":{animation:`${m} 2s linear 0.5s infinite`}}}]}}))),b=r.forwardRef((function(e,t){const n=(0,d.b)({props:e,name:"MuiSkeleton"}),{animation:r="pulse",className:i,component:s="span",height:l,style:u,variant:c="text",width:h,...m}=n,g={...n,animation:r,component:s,variant:c,hasChildren:Boolean(m.children)},v=(e=>{const{classes:t,variant:n,animation:r,hasChildren:a,width:i,height:s}=e,l={root:["root",n,r,a&&"withChildren",a&&!i&&"fitContent",a&&!s&&"heightAuto"]};return(0,o.A)(l,p.E,t)})(g);return(0,f.jsx)(y,{as:s,ref:t,className:(0,a.A)(v.root,i),ownerState:g,...m,style:{width:h,height:l,...u}})}))},79098:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A,getSkeletonUtilityClass:()=>a.E,skeletonClasses:()=>a.A});var r=n(47035),a=n(3663)},3663:(e,t,n)=>{"use strict";n.d(t,{A:()=>i,E:()=>o});var r=n(38413),a=n(31609);function o(e){return(0,a.Ay)("MuiSkeleton",e)}const i=(0,r.A)("MuiSkeleton",["root","text","rectangular","rounded","circular","pulse","wave","withChildren","fitContent","heightAuto"])},89596:(e,t,n)=>{"use strict";n.r(t),n.d(t,{SliderMark:()=>X,SliderMarkLabel:()=>K,SliderRail:()=>H,SliderRoot:()=>U,SliderThumb:()=>G,SliderTrack:()=>q,SliderValueLabel:()=>Y,default:()=>J,getSliderUtilityClass:()=>B,sliderClasses:()=>z});var r=n(96540),a=n(34164),o=n(75659),i=n(79739),s=n(93944),l=n(79329),u=n(32325),c=n(2501),d=n(90725),p=n(31523),f=n(24899),h=n(21529),m=n(71547);const g={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"};var v=n(74959);const y=function(e,t,n=((e,t)=>e===t)){return e.length===t.length&&e.every(((e,r)=>n(e,t[r])))};function b(e,t){return e-t}function w(e,t){const{index:n}=e.reduce(((e,n,r)=>{const a=Math.abs(t-n);return null===e||a({left:`${e}%`}),leap:e=>({width:`${e}%`})},"horizontal-reverse":{offset:e=>({right:`${e}%`}),leap:e=>({width:`${e}%`})},vertical:{offset:e=>({bottom:`${e}%`}),leap:e=>({height:`${e}%`})}},k=e=>e;let E;function M(){return void 0===E&&(E="undefined"==typeof CSS||"function"!=typeof CSS.supports||CSS.supports("touch-action","none")),E}function P(e){const{"aria-labelledby":t,defaultValue:n,disabled:a=!1,disableSwap:o=!1,isRtl:i=!1,marks:s=!1,max:l=100,min:y=0,name:E,onChange:P,onChangeCommitted:O,orientation:I="horizontal",rootRef:D,scale:R=k,step:N=1,shiftStep:L=10,tabIndex:$,value:j}=e,F=r.useRef(void 0),[B,z]=r.useState(-1),[W,V]=r.useState(-1),[U,H]=r.useState(!1),q=r.useRef(0),[G,Y]=(0,c.A)({controlled:j,default:n??y,name:"Slider"}),X=P&&((e,t,n)=>{const r=e.nativeEvent||e,a=new r.constructor(r.type,r);Object.defineProperty(a,"target",{writable:!0,value:{value:t,name:E}}),P(a,t,n)}),K=Array.isArray(G);let Q=K?G.slice().sort(b):[G];Q=Q.map((e=>null==e?y:(0,d.A)(e,y,l)));const Z=!0===s&&null!==N?[...Array(Math.floor((l-y)/N)+1)].map(((e,t)=>({value:y+N*t}))):s||[],J=Z.map((e=>e.value)),[ee,te]=r.useState(-1),ne=r.useRef(null),re=(0,p.A)(D,ne),ae=e=>t=>{const n=Number(t.currentTarget.getAttribute("data-index"));(0,f.A)(t.target)&&te(n),V(n),e?.onFocus?.(t)},oe=e=>t=>{(0,f.A)(t.target)||te(-1),V(-1),e?.onBlur?.(t)},ie=(e,t)=>{const n=Number(e.currentTarget.getAttribute("data-index")),r=Q[n],a=J.indexOf(r);let i=t;if(Z&&null==N){const e=J[J.length-1];i=i>e?e:it=>{if(null!==N){const e=Number(t.currentTarget.getAttribute("data-index")),n=Q[e];let r=null;("ArrowLeft"===t.key||"ArrowDown"===t.key)&&t.shiftKey||"PageDown"===t.key?r=Math.max(n-L,y):(("ArrowRight"===t.key||"ArrowUp"===t.key)&&t.shiftKey||"PageUp"===t.key)&&(r=Math.min(n+L,l)),null!==r&&(ie(t,r),t.preventDefault())}e?.onKeyDown?.(t)};(0,h.A)((()=>{a&&ne.current.contains(document.activeElement)&&document.activeElement?.blur()}),[a]),a&&-1!==B&&z(-1),a&&-1!==ee&&te(-1);const le=r.useRef(void 0);let ue=I;i&&"horizontal"===I&&(ue+="-reverse");const ce=({finger:e,move:t=!1})=>{const{current:n}=ne,{width:r,height:a,bottom:i,left:s}=n.getBoundingClientRect();let u,c;if(u=ue.startsWith("vertical")?(i-e.y)/a:(e.x-s)/r,ue.includes("-reverse")&&(u=1-u),c=function(e,t,n){return(n-t)*e+t}(u,y,l),N)c=function(e,t,n){const r=Math.round((e-n)/t)*t+n;return Number(r.toFixed(function(e){if(Math.abs(e)<1){const t=e.toExponential().split("e-"),n=t[0].split(".")[1];return(n?n.length:0)+parseInt(t[1],10)}const t=e.toString().split(".")[1];return t?t.length:0}(t)))}(c,N,y);else{const e=w(J,c);c=J[e]}c=(0,d.A)(c,y,l);let p=0;if(K){p=t?le.current:w(Q,c),o&&(c=(0,d.A)(c,Q[p-1]||-1/0,Q[p+1]||1/0));const e=c;c=_({values:Q,newValue:c,index:p}),o&&t||(p=c.indexOf(e),le.current=p)}return{newValue:c,activeIndex:p}},de=(0,m.A)((e=>{const t=x(e,F);if(!t)return;if(q.current+=1,"mousemove"===e.type&&0===e.buttons)return void pe(e);const{newValue:n,activeIndex:r}=ce({finger:t,move:!0});A({sliderRef:ne,activeIndex:r,setActive:z}),Y(n),!U&&q.current>2&&H(!0),X&&!C(n,G)&&X(e,n,r)})),pe=(0,m.A)((e=>{const t=x(e,F);if(H(!1),!t)return;const{newValue:n}=ce({finger:t,move:!0});z(-1),"touchend"===e.type&&V(-1),O&&O(e,n),F.current=void 0,he()})),fe=(0,m.A)((e=>{if(a)return;M()||e.preventDefault();const t=e.changedTouches[0];null!=t&&(F.current=t.identifier);const n=x(e,F);if(!1!==n){const{newValue:t,activeIndex:r}=ce({finger:n});A({sliderRef:ne,activeIndex:r,setActive:z}),Y(t),X&&!C(t,G)&&X(e,t,r)}q.current=0;const r=(0,u.A)(ne.current);r.addEventListener("touchmove",de,{passive:!0}),r.addEventListener("touchend",pe,{passive:!0})})),he=r.useCallback((()=>{const e=(0,u.A)(ne.current);e.removeEventListener("mousemove",de),e.removeEventListener("mouseup",pe),e.removeEventListener("touchmove",de),e.removeEventListener("touchend",pe)}),[pe,de]);r.useEffect((()=>{const{current:e}=ne;return e.addEventListener("touchstart",fe,{passive:M()}),()=>{e.removeEventListener("touchstart",fe),he()}}),[he,fe]),r.useEffect((()=>{a&&he()}),[a,he]);const me=S(K?Q[0]:y,y,l),ge=S(Q[Q.length-1],y,l)-me,ve=e=>t=>{e.onMouseLeave?.(t),V(-1)};return{active:B,axis:ue,axisProps:T,dragging:U,focusedThumbIndex:ee,getHiddenInputProps:(n={})=>{const r=(0,v.A)(n),o={onChange:(s=r||{},e=>{s.onChange?.(e),ie(e,e.target.valueAsNumber)}),onFocus:ae(r||{}),onBlur:oe(r||{}),onKeyDown:se(r||{})};var s;const u={...r,...o};return{tabIndex:$,"aria-labelledby":t,"aria-orientation":I,"aria-valuemax":R(l),"aria-valuemin":R(y),name:E,type:"range",min:e.min,max:e.max,step:null===e.step&&e.marks?"any":e.step??void 0,disabled:a,...n,...u,style:{...g,direction:i?"rtl":"ltr",width:"100%",height:"100%"}}},getRootProps:(e={})=>{const t=(0,v.A)(e),n={onMouseDown:(r=t||{},e=>{if(r.onMouseDown?.(e),a)return;if(e.defaultPrevented)return;if(0!==e.button)return;e.preventDefault();const t=x(e,F);if(!1!==t){const{newValue:n,activeIndex:r}=ce({finger:t});A({sliderRef:ne,activeIndex:r,setActive:z}),Y(n),X&&!C(n,G)&&X(e,n,r)}q.current=0;const n=(0,u.A)(ne.current);n.addEventListener("mousemove",de,{passive:!0}),n.addEventListener("mouseup",pe)})};var r;const o={...t,...n};return{...e,ref:re,...o}},getThumbProps:(e={})=>{const t=(0,v.A)(e),n={onMouseOver:(r=t||{},e=>{r.onMouseOver?.(e);const t=Number(e.currentTarget.getAttribute("data-index"));V(t)}),onMouseLeave:ve(t||{})};var r;return{...e,...t,...n}},marks:Z,open:W,range:K,rootRef:re,trackLeap:ge,trackOffset:me,values:Q,getThumbStyle:e=>({pointerEvents:-1!==B&&B!==e?"none":void 0})}}var O=n(47947),I=n(11848),D=n(42637),R=n(25669),N=n(64438);var L=n(28466),$=n(78660),j=n(38413),F=n(31609);function B(e){return(0,F.Ay)("MuiSlider",e)}const z=(0,j.A)("MuiSlider",["root","active","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","disabled","dragging","focusVisible","mark","markActive","marked","markLabel","markLabelActive","rail","sizeSmall","thumb","thumbColorPrimary","thumbColorSecondary","thumbColorError","thumbColorSuccess","thumbColorInfo","thumbColorWarning","track","trackInverted","trackFalse","thumbSizeSmall","valueLabel","valueLabelOpen","valueLabelCircle","valueLabelLabel","vertical"]);var W=n(74848);function V(e){return e}const U=(0,I.Ay)("span",{name:"MuiSlider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`color${(0,L.A)(n.color)}`],"medium"!==n.size&&t[`size${(0,L.A)(n.size)}`],n.marked&&t.marked,"vertical"===n.orientation&&t.vertical,"inverted"===n.track&&t.trackInverted,!1===n.track&&t.trackFalse]}})((0,D.A)((({theme:e})=>({borderRadius:12,boxSizing:"content-box",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",WebkitTapHighlightColor:"transparent","@media print":{colorAdjust:"exact"},[`&.${z.disabled}`]:{pointerEvents:"none",cursor:"default",color:(e.vars||e).palette.grey[400]},[`&.${z.dragging}`]:{[`& .${z.thumb}, & .${z.track}`]:{transition:"none"}},variants:[...Object.entries(e.palette).filter((0,$.A)()).map((([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))),{props:{orientation:"horizontal"},style:{height:4,width:"100%",padding:"13px 0","@media (pointer: coarse)":{padding:"20px 0"}}},{props:{orientation:"horizontal",size:"small"},style:{height:2}},{props:{orientation:"horizontal",marked:!0},style:{marginBottom:20}},{props:{orientation:"vertical"},style:{height:"100%",width:4,padding:"0 13px","@media (pointer: coarse)":{padding:"0 20px"}}},{props:{orientation:"vertical",size:"small"},style:{width:2}},{props:{orientation:"vertical",marked:!0},style:{marginRight:44}}]})))),H=(0,I.Ay)("span",{name:"MuiSlider",slot:"Rail",overridesResolver:(e,t)=>t.rail})({display:"block",position:"absolute",borderRadius:"inherit",backgroundColor:"currentColor",opacity:.38,variants:[{props:{orientation:"horizontal"},style:{width:"100%",height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{height:"100%",width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:"inverted"},style:{opacity:1}}]}),q=(0,I.Ay)("span",{name:"MuiSlider",slot:"Track",overridesResolver:(e,t)=>t.track})((0,D.A)((({theme:e})=>({display:"block",position:"absolute",borderRadius:"inherit",border:"1px solid currentColor",backgroundColor:"currentColor",transition:e.transitions.create(["left","width","bottom","height"],{duration:e.transitions.duration.shortest}),variants:[{props:{size:"small"},style:{border:"none"}},{props:{orientation:"horizontal"},style:{height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:!1},style:{display:"none"}},...Object.entries(e.palette).filter((0,$.A)()).map((([t])=>({props:{color:t,track:"inverted"},style:{...e.vars?{backgroundColor:e.vars.palette.Slider[`${t}Track`],borderColor:e.vars.palette.Slider[`${t}Track`]}:{backgroundColor:(0,i.a)(e.palette[t].main,.62),borderColor:(0,i.a)(e.palette[t].main,.62),...e.applyStyles("dark",{backgroundColor:(0,i.e$)(e.palette[t].main,.5)}),...e.applyStyles("dark",{borderColor:(0,i.e$)(e.palette[t].main,.5)})}}})))]})))),G=(0,I.Ay)("span",{name:"MuiSlider",slot:"Thumb",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.thumb,t[`thumbColor${(0,L.A)(n.color)}`],"medium"!==n.size&&t[`thumbSize${(0,L.A)(n.size)}`]]}})((0,D.A)((({theme:e})=>({position:"absolute",width:20,height:20,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:e.transitions.create(["box-shadow","left","bottom"],{duration:e.transitions.duration.shortest}),"&::before":{position:"absolute",content:'""',borderRadius:"inherit",width:"100%",height:"100%",boxShadow:(e.vars||e).shadows[2]},"&::after":{position:"absolute",content:'""',borderRadius:"50%",width:42,height:42,top:"50%",left:"50%",transform:"translate(-50%, -50%)"},[`&.${z.disabled}`]:{"&:hover":{boxShadow:"none"}},variants:[{props:{size:"small"},style:{width:12,height:12,"&::before":{boxShadow:"none"}}},{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-50%, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 50%)"}},...Object.entries(e.palette).filter((0,$.A)()).map((([t])=>({props:{color:t},style:{[`&:hover, &.${z.focusVisible}`]:{...e.vars?{boxShadow:`0px 0px 0px 8px rgba(${e.vars.palette[t].mainChannel} / 0.16)`}:{boxShadow:`0px 0px 0px 8px ${(0,i.X4)(e.palette[t].main,.16)}`},"@media (hover: none)":{boxShadow:"none"}},[`&.${z.active}`]:{...e.vars?{boxShadow:`0px 0px 0px 14px rgba(${e.vars.palette[t].mainChannel} / 0.16)`}:{boxShadow:`0px 0px 0px 14px ${(0,i.X4)(e.palette[t].main,.16)}`}}}})))]})))),Y=(0,I.Ay)((function(e){const{children:t,className:n,value:o}=e,i=(e=>{const{open:t}=e;return{offset:(0,a.A)(t&&z.valueLabelOpen),circle:z.valueLabelCircle,label:z.valueLabelLabel}})(e);return t?r.cloneElement(t,{className:(0,a.A)(t.props.className)},(0,W.jsxs)(r.Fragment,{children:[t.props.children,(0,W.jsx)("span",{className:(0,a.A)(i.offset,n),"aria-hidden":!0,children:(0,W.jsx)("span",{className:i.circle,children:(0,W.jsx)("span",{className:i.label,children:o})})})]})):null}),{name:"MuiSlider",slot:"ValueLabel",overridesResolver:(e,t)=>t.valueLabel})((0,D.A)((({theme:e})=>({zIndex:1,whiteSpace:"nowrap",...e.typography.body2,fontWeight:500,transition:e.transitions.create(["transform"],{duration:e.transitions.duration.shortest}),position:"absolute",backgroundColor:(e.vars||e).palette.grey[600],borderRadius:2,color:(e.vars||e).palette.common.white,display:"flex",alignItems:"center",justifyContent:"center",padding:"0.25rem 0.75rem",variants:[{props:{orientation:"horizontal"},style:{transform:"translateY(-100%) scale(0)",top:"-10px",transformOrigin:"bottom center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, 50%) rotate(45deg)",backgroundColor:"inherit",bottom:0,left:"50%"},[`&.${z.valueLabelOpen}`]:{transform:"translateY(-100%) scale(1)"}}},{props:{orientation:"vertical"},style:{transform:"translateY(-50%) scale(0)",right:"30px",top:"50%",transformOrigin:"right center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, -50%) rotate(45deg)",backgroundColor:"inherit",right:-8,top:"50%"},[`&.${z.valueLabelOpen}`]:{transform:"translateY(-50%) scale(1)"}}},{props:{size:"small"},style:{fontSize:e.typography.pxToRem(12),padding:"0.25rem 0.5rem"}},{props:{orientation:"vertical",size:"small"},style:{right:"20px"}}]})))),X=(0,I.Ay)("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:e=>(0,N.A)(e)&&"markActive"!==e,overridesResolver:(e,t)=>{const{markActive:n}=e;return[t.mark,n&&t.markActive]}})((0,D.A)((({theme:e})=>({position:"absolute",width:2,height:2,borderRadius:1,backgroundColor:"currentColor",variants:[{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-1px, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 1px)"}},{props:{markActive:!0},style:{backgroundColor:(e.vars||e).palette.background.paper,opacity:.8}}]})))),K=(0,I.Ay)("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:e=>(0,N.A)(e)&&"markLabelActive"!==e,overridesResolver:(e,t)=>t.markLabel})((0,D.A)((({theme:e})=>({...e.typography.body2,color:(e.vars||e).palette.text.secondary,position:"absolute",whiteSpace:"nowrap",variants:[{props:{orientation:"horizontal"},style:{top:30,transform:"translateX(-50%)","@media (pointer: coarse)":{top:40}}},{props:{orientation:"vertical"},style:{left:36,transform:"translateY(50%)","@media (pointer: coarse)":{left:44}}},{props:{markLabelActive:!0},style:{color:(e.vars||e).palette.text.primary}}]})))),Q=({children:e})=>e,Z=r.forwardRef((function(e,t){const n=(0,R.b)({props:e,name:"MuiSlider"}),i=(0,s.I)(),{"aria-label":u,"aria-valuetext":c,"aria-labelledby":d,component:p="span",components:f={},componentsProps:h={},color:m="primary",classes:g,className:v,disableSwap:y=!1,disabled:b=!1,getAriaLabel:w,getAriaValueText:x,marks:_=!1,max:A=100,min:C=0,name:T,onChange:k,onChangeCommitted:E,orientation:M="horizontal",shiftStep:I=10,size:D="medium",step:N=1,scale:$=V,slotProps:j,slots:F,tabIndex:z,track:Z="normal",value:J,valueLabelDisplay:ee="off",valueLabelFormat:te=V,...ne}=n,re={...n,isRtl:i,max:A,min:C,classes:g,disabled:b,disableSwap:y,orientation:M,marks:_,color:m,size:D,step:N,shiftStep:I,scale:$,track:Z,valueLabelDisplay:ee,valueLabelFormat:te},{axisProps:ae,getRootProps:oe,getHiddenInputProps:ie,getThumbProps:se,open:le,active:ue,axis:ce,focusedThumbIndex:de,range:pe,dragging:fe,marks:he,values:me,trackOffset:ge,trackLeap:ve,getThumbStyle:ye}=P({...re,rootRef:t});re.marked=he.length>0&&he.some((e=>e.label)),re.dragging=fe,re.focusedThumbIndex=de;const be=(e=>{const{disabled:t,dragging:n,marked:r,orientation:a,track:i,classes:s,color:l,size:u}=e,c={root:["root",t&&"disabled",n&&"dragging",r&&"marked","vertical"===a&&"vertical","inverted"===i&&"trackInverted",!1===i&&"trackFalse",l&&`color${(0,L.A)(l)}`,u&&`size${(0,L.A)(u)}`],rail:["rail"],track:["track"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],thumb:["thumb",t&&"disabled",u&&`thumbSize${(0,L.A)(u)}`,l&&`thumbColor${(0,L.A)(l)}`],active:["active"],disabled:["disabled"],focusVisible:["focusVisible"]};return(0,o.A)(c,B,s)})(re),we=F?.root??f.Root??U,xe=F?.rail??f.Rail??H,Se=F?.track??f.Track??q,_e=F?.thumb??f.Thumb??G,Ae=F?.valueLabel??f.ValueLabel??Y,Ce=F?.mark??f.Mark??X,Te=F?.markLabel??f.MarkLabel??K,ke=F?.input??f.Input??"input",Ee=j?.root??h.root,Me=j?.rail??h.rail,Pe=j?.track??h.track,Oe=j?.thumb??h.thumb,Ie=j?.valueLabel??h.valueLabel,De=j?.mark??h.mark,Re=j?.markLabel??h.markLabel,Ne=j?.input??h.input,Le=(0,l.A)({elementType:we,getSlotProps:oe,externalSlotProps:Ee,externalForwardedProps:ne,additionalProps:{...(Ue=we,(!Ue||!(0,O.A)(Ue))&&{as:p})},ownerState:{...re,...Ee?.ownerState},className:[be.root,v]}),$e=(0,l.A)({elementType:xe,externalSlotProps:Me,ownerState:re,className:be.rail}),je=(0,l.A)({elementType:Se,externalSlotProps:Pe,additionalProps:{style:{...ae[ce].offset(ge),...ae[ce].leap(ve)}},ownerState:{...re,...Pe?.ownerState},className:be.track}),Fe=(0,l.A)({elementType:_e,getSlotProps:se,externalSlotProps:Oe,ownerState:{...re,...Oe?.ownerState},className:be.thumb}),Be=(0,l.A)({elementType:Ae,externalSlotProps:Ie,ownerState:{...re,...Ie?.ownerState},className:be.valueLabel}),ze=(0,l.A)({elementType:Ce,externalSlotProps:De,ownerState:re,className:be.mark}),We=(0,l.A)({elementType:Te,externalSlotProps:Re,ownerState:re,className:be.markLabel}),Ve=(0,l.A)({elementType:ke,getSlotProps:ie,externalSlotProps:Ne,ownerState:re});var Ue;return(0,W.jsxs)(we,{...Le,children:[(0,W.jsx)(xe,{...$e}),(0,W.jsx)(Se,{...je}),he.filter((e=>e.value>=C&&e.value<=A)).map(((e,t)=>{const n=S(e.value,C,A),o=ae[ce].offset(n);let i;return i=!1===Z?me.includes(e.value):"normal"===Z&&(pe?e.value>=me[0]&&e.value<=me[me.length-1]:e.value<=me[0])||"inverted"===Z&&(pe?e.value<=me[0]||e.value>=me[me.length-1]:e.value>=me[0]),(0,W.jsxs)(r.Fragment,{children:[(0,W.jsx)(Ce,{"data-index":t,...ze,...!(0,O.A)(Ce)&&{markActive:i},style:{...o,...ze.style},className:(0,a.A)(ze.className,i&&be.markActive)}),null!=e.label?(0,W.jsx)(Te,{"aria-hidden":!0,"data-index":t,...We,...!(0,O.A)(Te)&&{markLabelActive:i},style:{...o,...We.style},className:(0,a.A)(be.markLabel,We.className,i&&be.markLabelActive),children:e.label}):null]},t)})),me.map(((e,t)=>{const n=S(e,C,A),r=ae[ce].offset(n),o="off"===ee?Q:Ae;return(0,W.jsx)(o,{...!(0,O.A)(o)&&{valueLabelFormat:te,valueLabelDisplay:ee,value:"function"==typeof te?te($(e),t):te,index:t,open:le===t||ue===t||"on"===ee,disabled:b},...Be,children:(0,W.jsx)(_e,{"data-index":t,...Fe,className:(0,a.A)(be.thumb,Fe.className,ue===t&&be.active,de===t&&be.focusVisible),style:{...r,...ye(t),...Fe.style},children:(0,W.jsx)(ke,{"data-index":t,"aria-label":w?w(t):u,"aria-valuenow":$(e),"aria-labelledby":d,"aria-valuetext":x?x($(e),t):c,value:me[t],...Ve})})},t)}))]})})),J=Z},30420:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>k,getSnackbarUtilityClass:()=>A,snackbarClasses:()=>C});var r=n(96540),a=n(75659),o=n(79329),i=n(69787),s=n(71547),l=n(74959);var u=n(31523),c=n(32325),d=n(57223),p=n(74848);function f(e){return e.substring(2).toLowerCase()}function h(e){const{children:t,disableReactTree:n=!1,mouseEvent:a="onClick",onClickAway:o,touchEvent:i="onTouchEnd"}=e,l=r.useRef(!1),h=r.useRef(null),m=r.useRef(!1),g=r.useRef(!1);r.useEffect((()=>(setTimeout((()=>{m.current=!0}),0),()=>{m.current=!1})),[]);const v=(0,u.A)((0,d.A)(t),h),y=(0,s.A)((e=>{const t=g.current;g.current=!1;const r=(0,c.A)(h.current);if(!m.current||!h.current||"clientX"in e&&function(e,t){return t.documentElement.clientWidthn=>{g.current=!0;const r=t.props[e];r&&r(n)},w={ref:v};return!1!==i&&(w[i]=b(i)),r.useEffect((()=>{if(!1!==i){const e=f(i),t=(0,c.A)(h.current),n=()=>{l.current=!0};return t.addEventListener(e,y),t.addEventListener("touchmove",n),()=>{t.removeEventListener(e,y),t.removeEventListener("touchmove",n)}}}),[y,i]),!1!==a&&(w[a]=b(a)),r.useEffect((()=>{if(!1!==a){const e=f(a),t=(0,c.A)(h.current);return t.addEventListener(e,y),()=>{t.removeEventListener(e,y)}}}),[y,a]),(0,p.jsx)(r.Fragment,{children:r.cloneElement(t,w)})}var m=n(11848),g=n(44675),v=n(42637),y=n(25669),b=n(28466),w=n(87467),x=n(70087),S=n(38413),_=n(31609);function A(e){return(0,_.Ay)("MuiSnackbar",e)}const C=(0,S.A)("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]),T=(0,m.Ay)("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`anchorOrigin${(0,b.A)(n.anchorOrigin.vertical)}${(0,b.A)(n.anchorOrigin.horizontal)}`]]}})((0,v.A)((({theme:e})=>({zIndex:(e.vars||e).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center",variants:[{props:({ownerState:e})=>"top"===e.anchorOrigin.vertical,style:{top:8,[e.breakpoints.up("sm")]:{top:24}}},{props:({ownerState:e})=>"top"!==e.anchorOrigin.vertical,style:{bottom:8,[e.breakpoints.up("sm")]:{bottom:24}}},{props:({ownerState:e})=>"left"===e.anchorOrigin.horizontal,style:{justifyContent:"flex-start",[e.breakpoints.up("sm")]:{left:24,right:"auto"}}},{props:({ownerState:e})=>"right"===e.anchorOrigin.horizontal,style:{justifyContent:"flex-end",[e.breakpoints.up("sm")]:{right:24,left:"auto"}}},{props:({ownerState:e})=>"center"===e.anchorOrigin.horizontal,style:{[e.breakpoints.up("sm")]:{left:"50%",right:"auto",transform:"translateX(-50%)"}}}]})))),k=r.forwardRef((function(e,t){const n=(0,y.b)({props:e,name:"MuiSnackbar"}),u=(0,g.A)(),c={enter:u.transitions.duration.enteringScreen,exit:u.transitions.duration.leavingScreen},{action:d,anchorOrigin:{vertical:f,horizontal:m}={vertical:"bottom",horizontal:"left"},autoHideDuration:v=null,children:S,className:_,ClickAwayListenerProps:C,ContentProps:k,disableWindowBlurListener:E=!1,message:M,onBlur:P,onClose:O,onFocus:I,onMouseEnter:D,onMouseLeave:R,open:N,resumeHideDuration:L,TransitionComponent:$=w.A,transitionDuration:j=c,TransitionProps:{onEnter:F,onExited:B,...z}={},...W}=n,V={...n,anchorOrigin:{vertical:f,horizontal:m},autoHideDuration:v,disableWindowBlurListener:E,TransitionComponent:$,transitionDuration:j},U=(e=>{const{classes:t,anchorOrigin:n}=e,r={root:["root",`anchorOrigin${(0,b.A)(n.vertical)}${(0,b.A)(n.horizontal)}`]};return(0,a.A)(r,A,t)})(V),{getRootProps:H,onClickAway:q}=function(e={}){const{autoHideDuration:t=null,disableWindowBlurListener:n=!1,onClose:a,open:o,resumeHideDuration:u}=e,c=(0,i.A)();r.useEffect((()=>{if(o)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){e.defaultPrevented||"Escape"===e.key&&a?.(e,"escapeKeyDown")}}),[o,a]);const d=(0,s.A)(((e,t)=>{a?.(e,t)})),p=(0,s.A)((e=>{a&&null!=e&&c.start(e,(()=>{d(null,"timeout")}))}));r.useEffect((()=>(o&&p(t),c.clear)),[o,t,p,c]);const f=c.clear,h=r.useCallback((()=>{null!=t&&p(null!=u?u:.5*t)}),[t,u,p]),m=e=>t=>{const n=e.onFocus;n?.(t),f()},g=e=>t=>{const n=e.onMouseEnter;n?.(t),f()},v=e=>t=>{const n=e.onMouseLeave;n?.(t),h()};return r.useEffect((()=>{if(!n&&o)return window.addEventListener("focus",h),window.addEventListener("blur",f),()=>{window.removeEventListener("focus",h),window.removeEventListener("blur",f)}}),[n,o,h,f]),{getRootProps:(t={})=>{const n={...(0,l.A)(e),...(0,l.A)(t)};return{role:"presentation",...t,...n,onBlur:(r=n,e=>{const t=r.onBlur;t?.(e),h()}),onFocus:m(n),onMouseEnter:g(n),onMouseLeave:v(n)};var r},onClickAway:e=>{a?.(e,"clickaway")}}}({...V}),[G,Y]=r.useState(!0),X=(0,o.A)({elementType:T,getSlotProps:H,externalForwardedProps:W,ownerState:V,additionalProps:{ref:t},className:[U.root,_]});return!N&&G?null:(0,p.jsx)(h,{onClickAway:q,...C,children:(0,p.jsx)(T,{...X,children:(0,p.jsx)($,{appear:!0,in:N,timeout:j,direction:"top"===f?"down":"up",onEnter:(e,t)=>{Y(!1),F&&F(e,t)},onExited:e=>{Y(!0),B&&B(e)},...z,children:S||(0,p.jsx)(x.A,{message:M,action:d,...k})})})})}))},70087:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var r=n(96540),a=n(34164),o=n(75659),i=n(79739),s=n(11848),l=n(42637),u=n(25669),c=n(34339),d=n(48531),p=n(74848);const f=(0,s.Ay)(c.A,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:(e,t)=>t.root})((0,l.A)((({theme:e})=>{const t="light"===e.palette.mode?.8:.98,n=(0,i.tL)(e.palette.background.default,t);return{...e.typography.body2,color:e.vars?e.vars.palette.SnackbarContent.color:e.palette.getContrastText(n),backgroundColor:e.vars?e.vars.palette.SnackbarContent.bg:n,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,flexGrow:1,[e.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}}}))),h=(0,s.Ay)("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0"}),m=(0,s.Ay)("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),g=r.forwardRef((function(e,t){const n=(0,u.b)({props:e,name:"MuiSnackbarContent"}),{action:r,className:i,message:s,role:l="alert",...c}=n,g=n,v=(e=>{const{classes:t}=e;return(0,o.A)({root:["root"],action:["action"],message:["message"]},d.d,t)})(g);return(0,p.jsxs)(f,{role:l,square:!0,elevation:6,className:(0,a.A)(v.root,i),ownerState:g,ref:t,...c,children:[(0,p.jsx)(h,{className:v.message,ownerState:g,children:s}),r?(0,p.jsx)(m,{className:v.action,ownerState:g,children:r}):null]})}))},44111:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A,getSnackbarContentUtilityClass:()=>a.d,snackbarContentClasses:()=>a.A});var r=n(70087),a=n(48531)},48531:(e,t,n)=>{"use strict";n.d(t,{A:()=>i,d:()=>o});var r=n(38413),a=n(31609);function o(e){return(0,a.Ay)("MuiSnackbarContent",e)}const i=(0,r.A)("MuiSnackbarContent",["root","message","action"])},91382:(e,t,n)=>{"use strict";n.d(t,{A:()=>i,P:()=>o});var r=n(96540);const a=r.createContext({});function o(){return r.useContext(a)}const i=a},42087:(e,t,n)=>{"use strict";n.r(t),n.d(t,{StepContext:()=>s.A,default:()=>g,getStepUtilityClass:()=>p,stepClasses:()=>f,useStepContext:()=>s.P});var r=n(96540),a=n(34164),o=n(75659),i=n(98624),s=n(91382),l=n(11848),u=n(25669),c=n(38413),d=n(31609);function p(e){return(0,d.Ay)("MuiStep",e)}const f=(0,c.A)("MuiStep",["root","horizontal","vertical","alternativeLabel","completed"]);var h=n(74848);const m=(0,l.Ay)("div",{name:"MuiStep",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],n.alternativeLabel&&t.alternativeLabel,n.completed&&t.completed]}})({variants:[{props:{orientation:"horizontal"},style:{paddingLeft:8,paddingRight:8}},{props:{alternativeLabel:!0},style:{flex:1,position:"relative"}}]}),g=r.forwardRef((function(e,t){const n=(0,u.b)({props:e,name:"MuiStep"}),{active:l,children:c,className:d,component:f="div",completed:g,disabled:v,expanded:y=!1,index:b,last:w,...x}=n,{activeStep:S,connector:_,alternativeLabel:A,orientation:C,nonLinear:T}=r.useContext(i.A);let[k=!1,E=!1,M=!1]=[l,g,v];S===b?k=void 0===l||l:!T&&S>b?E=void 0===g||g:!T&&S({index:b,last:w,expanded:y,icon:b+1,active:k,completed:E,disabled:M})),[b,w,y,k,E,M]),O={...n,active:k,orientation:C,alternativeLabel:A,completed:E,disabled:M,expanded:y,component:f},I=(e=>{const{classes:t,orientation:n,alternativeLabel:r,completed:a}=e,i={root:["root",n,r&&"alternativeLabel",a&&"completed"]};return(0,o.A)(i,p,t)})(O),D=(0,h.jsxs)(m,{as:f,className:(0,a.A)(I.root,d),ref:t,ownerState:O,...x,children:[_&&A&&0!==b?_:null,c]});return(0,h.jsx)(s.A.Provider,{value:P,children:_&&!A&&0!==b?(0,h.jsxs)(r.Fragment,{children:[_,D]}):D})}))},31656:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>I,getStepLabelUtilityClass:()=>A,stepLabelClasses:()=>C});var r=n(75659),a=n(34164),o=n(96540),i=n(91382),s=n(11848),l=n(42637),u=n(25669),c=n(20561),d=n(74848);const p=(0,c.A)((0,d.jsx)("path",{d:"M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-2 17l-5-5 1.4-1.4 3.6 3.6 7.6-7.6L19 8l-9 9z"}),"CheckCircle"),f=(0,c.A)((0,d.jsx)("path",{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"}),"Warning");var h=n(75765),m=n(38413),g=n(31609);function v(e){return(0,g.Ay)("MuiStepIcon",e)}const y=(0,m.A)("MuiStepIcon",["root","active","completed","error","text"]);var b;const w=(0,s.Ay)(h.A,{name:"MuiStepIcon",slot:"Root",overridesResolver:(e,t)=>t.root})((0,l.A)((({theme:e})=>({display:"block",transition:e.transitions.create("color",{duration:e.transitions.duration.shortest}),color:(e.vars||e).palette.text.disabled,[`&.${y.completed}`]:{color:(e.vars||e).palette.primary.main},[`&.${y.active}`]:{color:(e.vars||e).palette.primary.main},[`&.${y.error}`]:{color:(e.vars||e).palette.error.main}})))),x=(0,s.Ay)("text",{name:"MuiStepIcon",slot:"Text",overridesResolver:(e,t)=>t.text})((0,l.A)((({theme:e})=>({fill:(e.vars||e).palette.primary.contrastText,fontSize:e.typography.caption.fontSize,fontFamily:e.typography.fontFamily})))),S=o.forwardRef((function(e,t){const n=(0,u.b)({props:e,name:"MuiStepIcon"}),{active:o=!1,className:i,completed:s=!1,error:l=!1,icon:c,...h}=n,m={...n,active:o,completed:s,error:l},g=(e=>{const{classes:t,active:n,completed:a,error:o}=e,i={root:["root",n&&"active",a&&"completed",o&&"error"],text:["text"]};return(0,r.A)(i,v,t)})(m);if("number"==typeof c||"string"==typeof c){const e=(0,a.A)(i,g.root);return l?(0,d.jsx)(w,{as:f,className:e,ref:t,ownerState:m,...h}):s?(0,d.jsx)(w,{as:p,className:e,ref:t,ownerState:m,...h}):(0,d.jsxs)(w,{className:e,ref:t,ownerState:m,...h,children:[b||(b=(0,d.jsx)("circle",{cx:"12",cy:"12",r:"12"})),(0,d.jsx)(x,{className:g.text,x:"12",y:"12",textAnchor:"middle",dominantBaseline:"central",ownerState:m,children:c})]})}return c}));var _=n(98624);function A(e){return(0,g.Ay)("MuiStepLabel",e)}const C=(0,m.A)("MuiStepLabel",["root","horizontal","vertical","label","active","completed","error","disabled","iconContainer","alternativeLabel","labelContainer"]);var T=n(6025);const k=(0,s.Ay)("span",{name:"MuiStepLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation]]}})({display:"flex",alignItems:"center",[`&.${C.alternativeLabel}`]:{flexDirection:"column"},[`&.${C.disabled}`]:{cursor:"default"},variants:[{props:{orientation:"vertical"},style:{textAlign:"left",padding:"8px 0"}}]}),E=(0,s.Ay)("span",{name:"MuiStepLabel",slot:"Label",overridesResolver:(e,t)=>t.label})((0,l.A)((({theme:e})=>({...e.typography.body2,display:"block",transition:e.transitions.create("color",{duration:e.transitions.duration.shortest}),[`&.${C.active}`]:{color:(e.vars||e).palette.text.primary,fontWeight:500},[`&.${C.completed}`]:{color:(e.vars||e).palette.text.primary,fontWeight:500},[`&.${C.alternativeLabel}`]:{marginTop:16},[`&.${C.error}`]:{color:(e.vars||e).palette.error.main}})))),M=(0,s.Ay)("span",{name:"MuiStepLabel",slot:"IconContainer",overridesResolver:(e,t)=>t.iconContainer})({flexShrink:0,display:"flex",paddingRight:8,[`&.${C.alternativeLabel}`]:{paddingRight:0}}),P=(0,s.Ay)("span",{name:"MuiStepLabel",slot:"LabelContainer",overridesResolver:(e,t)=>t.labelContainer})((0,l.A)((({theme:e})=>({width:"100%",color:(e.vars||e).palette.text.secondary,[`&.${C.alternativeLabel}`]:{textAlign:"center"}})))),O=o.forwardRef((function(e,t){const n=(0,u.b)({props:e,name:"MuiStepLabel"}),{children:s,className:l,componentsProps:c={},error:p=!1,icon:f,optional:h,slots:m={},slotProps:g={},StepIconComponent:v,StepIconProps:y,...b}=n,{alternativeLabel:w,orientation:x}=o.useContext(_.A),{active:C,disabled:O,completed:I,icon:D}=o.useContext(i.A),R=f||D;let N=v;R&&!N&&(N=S);const L={...n,active:C,alternativeLabel:w,completed:I,disabled:O,error:p,orientation:x},$=(e=>{const{classes:t,orientation:n,active:a,completed:o,error:i,disabled:s,alternativeLabel:l}=e,u={root:["root",n,i&&"error",s&&"disabled",l&&"alternativeLabel"],label:["label",a&&"active",o&&"completed",i&&"error",s&&"disabled",l&&"alternativeLabel"],iconContainer:["iconContainer",a&&"active",o&&"completed",i&&"error",s&&"disabled",l&&"alternativeLabel"],labelContainer:["labelContainer",l&&"alternativeLabel"]};return(0,r.A)(u,A,t)})(L),j={slots:m,slotProps:{stepIcon:y,...c,...g}},[F,B]=(0,T.A)("label",{elementType:E,externalForwardedProps:j,ownerState:L}),[z,W]=(0,T.A)("stepIcon",{elementType:N,externalForwardedProps:j,ownerState:L});return(0,d.jsxs)(k,{className:(0,a.A)($.root,l),ref:t,ownerState:L,...b,children:[R||z?(0,d.jsx)(M,{className:$.iconContainer,ownerState:L,children:(0,d.jsx)(z,{completed:I,active:C,error:p,icon:R,...W})}):null,(0,d.jsxs)(P,{className:$.labelContainer,ownerState:L,children:[s?(0,d.jsx)(F,{...B,className:(0,a.A)($.label,B?.className),children:s}):null,h]})]})}));O&&(O.muiName="StepLabel");const I=O},98624:(e,t,n)=>{"use strict";n.d(t,{A:()=>i,s:()=>o});var r=n(96540);const a=r.createContext({});function o(){return r.useContext(a)}const i=a},30042:(e,t,n)=>{"use strict";n.r(t),n.d(t,{StepperContext:()=>h.A,default:()=>_,getStepperUtilityClass:()=>c,stepperClasses:()=>d,useStepperContext:()=>h.s});var r=n(96540),a=n(34164),o=n(75659),i=n(11848),s=n(25669),l=n(38413),u=n(31609);function c(e){return(0,u.Ay)("MuiStepper",e)}const d=(0,l.A)("MuiStepper",["root","horizontal","vertical","nonLinear","alternativeLabel"]);var p=n(28466),f=n(42637),h=n(98624),m=n(91382);function g(e){return(0,u.Ay)("MuiStepConnector",e)}(0,l.A)("MuiStepConnector",["root","horizontal","vertical","alternativeLabel","active","completed","disabled","line","lineHorizontal","lineVertical"]);var v=n(74848);const y=(0,i.Ay)("div",{name:"MuiStepConnector",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],n.alternativeLabel&&t.alternativeLabel,n.completed&&t.completed]}})({flex:"1 1 auto",variants:[{props:{orientation:"vertical"},style:{marginLeft:12}},{props:{alternativeLabel:!0},style:{position:"absolute",top:12,left:"calc(-50% + 20px)",right:"calc(50% + 20px)"}}]}),b=(0,i.Ay)("span",{name:"MuiStepConnector",slot:"Line",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.line,t[`line${(0,p.A)(n.orientation)}`]]}})((0,f.A)((({theme:e})=>{const t="light"===e.palette.mode?e.palette.grey[400]:e.palette.grey[600];return{display:"block",borderColor:e.vars?e.vars.palette.StepConnector.border:t,variants:[{props:{orientation:"horizontal"},style:{borderTopStyle:"solid",borderTopWidth:1}},{props:{orientation:"vertical"},style:{borderLeftStyle:"solid",borderLeftWidth:1,minHeight:24}}]}}))),w=r.forwardRef((function(e,t){const n=(0,s.b)({props:e,name:"MuiStepConnector"}),{className:i,...l}=n,{alternativeLabel:u,orientation:c="horizontal"}=r.useContext(h.A),{active:d,disabled:f,completed:w}=r.useContext(m.A),x={...n,alternativeLabel:u,orientation:c,active:d,completed:w,disabled:f},S=(e=>{const{classes:t,orientation:n,alternativeLabel:r,active:a,completed:i,disabled:s}=e,l={root:["root",n,r&&"alternativeLabel",a&&"active",i&&"completed",s&&"disabled"],line:["line",`line${(0,p.A)(n)}`]};return(0,o.A)(l,g,t)})(x);return(0,v.jsx)(y,{className:(0,a.A)(S.root,i),ref:t,ownerState:x,...l,children:(0,v.jsx)(b,{className:S.line,ownerState:x})})})),x=(0,i.Ay)("div",{name:"MuiStepper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],n.alternativeLabel&&t.alternativeLabel,n.nonLinear&&t.nonLinear]}})({display:"flex",variants:[{props:{orientation:"horizontal"},style:{flexDirection:"row",alignItems:"center"}},{props:{orientation:"vertical"},style:{flexDirection:"column"}},{props:{alternativeLabel:!0},style:{alignItems:"flex-start"}}]}),S=(0,v.jsx)(w,{}),_=r.forwardRef((function(e,t){const n=(0,s.b)({props:e,name:"MuiStepper"}),{activeStep:i=0,alternativeLabel:l=!1,children:u,className:d,component:p="div",connector:f=S,nonLinear:m=!1,orientation:g="horizontal",...y}=n,b={...n,nonLinear:m,alternativeLabel:l,orientation:g,component:p},w=(e=>{const{orientation:t,nonLinear:n,alternativeLabel:r,classes:a}=e,i={root:["root",t,n&&"nonLinear",r&&"alternativeLabel"]};return(0,o.A)(i,c,a)})(b),_=r.Children.toArray(u).filter(Boolean),A=_.map(((e,t)=>r.cloneElement(e,{index:t,last:t+1===_.length,...e.props}))),C=r.useMemo((()=>({activeStep:i,alternativeLabel:l,connector:f,nonLinear:m,orientation:g})),[i,l,f,m,g]);return(0,v.jsx)(h.A.Provider,{value:C,children:(0,v.jsx)(x,{as:p,ownerState:b,className:(0,a.A)(w.root,d),ref:t,...y,children:A})})}))},75765:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var r=n(96540),a=n(34164),o=n(75659),i=n(28466),s=n(11848),l=n(42637),u=n(25669),c=n(38413),d=n(31609);function p(e){return(0,d.Ay)("MuiSvgIcon",e)}(0,c.A)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var f=n(74848);const h=(0,s.Ay)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${(0,i.A)(n.color)}`],t[`fontSize${(0,i.A)(n.fontSize)}`]]}})((0,l.A)((({theme:e})=>({userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:e.transitions?.create?.("fill",{duration:(e.vars??e).transitions?.duration?.shorter}),variants:[{props:e=>!e.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:e.typography?.pxToRem?.(20)||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:e.typography?.pxToRem?.(24)||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:e.typography?.pxToRem?.(35)||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter((([,e])=>e&&e.main)).map((([t])=>({props:{color:t},style:{color:(e.vars??e).palette?.[t]?.main}}))),{props:{color:"action"},style:{color:(e.vars??e).palette?.action?.active}},{props:{color:"disabled"},style:{color:(e.vars??e).palette?.action?.disabled}},{props:{color:"inherit"},style:{color:void 0}}]})))),m=r.forwardRef((function(e,t){const n=(0,u.b)({props:e,name:"MuiSvgIcon"}),{children:s,className:l,color:c="inherit",component:d="svg",fontSize:m="medium",htmlColor:g,inheritViewBox:v=!1,titleAccess:y,viewBox:b="0 0 24 24",...w}=n,x=r.isValidElement(s)&&"svg"===s.type,S={...n,color:c,component:d,fontSize:m,instanceFontSize:e.fontSize,inheritViewBox:v,viewBox:b,hasSvgAsChild:x},_={};v||(_.viewBox=b);const A=(e=>{const{color:t,fontSize:n,classes:r}=e,a={root:["root","inherit"!==t&&`color${(0,i.A)(t)}`,`fontSize${(0,i.A)(n)}`]};return(0,o.A)(a,p,r)})(S);return(0,f.jsxs)(h,{as:d,className:(0,a.A)(A.root,l),focusable:"false",color:g,"aria-hidden":!y||void 0,role:y?"img":void 0,ref:t,..._,...w,...x&&s.props,ownerState:S,children:[x?s.props.children:s,y?(0,f.jsx)("title",{children:y}):null]})}));m&&(m.muiName="SvgIcon");const g=m},46160:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>S,getSwitchUtilityClass:()=>m,switchClasses:()=>g});var r=n(96540),a=n(34164),o=n(75659),i=n(79739),s=n(28466),l=n(78660),u=n(55860),c=n(11848),d=n(42637),p=n(25669),f=n(38413),h=n(31609);function m(e){return(0,h.Ay)("MuiSwitch",e)}const g=(0,f.A)("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]);var v=n(74848);const y=(0,c.Ay)("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.edge&&t[`edge${(0,s.A)(n.edge)}`],t[`size${(0,s.A)(n.size)}`]]}})({display:"inline-flex",width:58,height:38,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"},variants:[{props:{edge:"start"},style:{marginLeft:-8}},{props:{edge:"end"},style:{marginRight:-8}},{props:{size:"small"},style:{width:40,height:24,padding:7,[`& .${g.thumb}`]:{width:16,height:16},[`& .${g.switchBase}`]:{padding:4,[`&.${g.checked}`]:{transform:"translateX(16px)"}}}}]}),b=(0,c.Ay)(u.A,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.switchBase,{[`& .${g.input}`]:t.input},"default"!==n.color&&t[`color${(0,s.A)(n.color)}`]]}})((0,d.A)((({theme:e})=>({position:"absolute",top:0,left:0,zIndex:1,color:e.vars?e.vars.palette.Switch.defaultColor:`${"light"===e.palette.mode?e.palette.common.white:e.palette.grey[300]}`,transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),[`&.${g.checked}`]:{transform:"translateX(20px)"},[`&.${g.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${"light"===e.palette.mode?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${g.checked} + .${g.track}`]:{opacity:.5},[`&.${g.disabled} + .${g.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:""+("light"===e.palette.mode?.12:.2)},[`& .${g.input}`]:{left:"-100%",width:"300%"}}))),(0,d.A)((({theme:e})=>({"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,i.X4)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(e.palette).filter((0,l.A)(["light"])).map((([t])=>({props:{color:t},style:{[`&.${g.checked}`]:{color:(e.vars||e).palette[t].main,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,i.X4)(e.palette[t].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${g.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${t}DisabledColor`]:`${"light"===e.palette.mode?(0,i.a)(e.palette[t].main,.62):(0,i.e$)(e.palette[t].main,.55)}`}},[`&.${g.checked} + .${g.track}`]:{backgroundColor:(e.vars||e).palette[t].main}}})))]})))),w=(0,c.Ay)("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,t)=>t.track})((0,d.A)((({theme:e})=>({height:"100%",width:"100%",borderRadius:7,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:e.vars?e.vars.palette.common.onBackground:`${"light"===e.palette.mode?e.palette.common.black:e.palette.common.white}`,opacity:e.vars?e.vars.opacity.switchTrack:""+("light"===e.palette.mode?.38:.3)})))),x=(0,c.Ay)("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})((0,d.A)((({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"})))),S=r.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiSwitch"}),{className:r,color:i="primary",edge:l=!1,size:u="medium",sx:c,...d}=n,f={...n,color:i,edge:l,size:u},h=(e=>{const{classes:t,edge:n,size:r,color:a,checked:i,disabled:l}=e,u={root:["root",n&&`edge${(0,s.A)(n)}`,`size${(0,s.A)(r)}`],switchBase:["switchBase",`color${(0,s.A)(a)}`,i&&"checked",l&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},c=(0,o.A)(u,m,t);return{...t,...c}})(f),g=(0,v.jsx)(x,{className:h.thumb,ownerState:f});return(0,v.jsxs)(y,{className:(0,a.A)(h.root,r),sx:c,ownerState:f,children:[(0,v.jsx)(b,{type:"checkbox",icon:g,checkedIcon:g,ref:t,ownerState:f,...d,classes:{...h,root:h.switchBase}}),(0,v.jsx)(w,{className:h.track,ownerState:f})]})}))},89367:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r=n(96540),a=n(34164),o=n(75659),i=n(80189),s=n(28466),l=n(11848),u=n(42637),c=n(25669),d=n(26915),p=n(74848);const f=(0,l.Ay)(i.A,{name:"MuiTab",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.label&&n.icon&&t.labelIcon,t[`textColor${(0,s.A)(n.textColor)}`],n.fullWidth&&t.fullWidth,n.wrapped&&t.wrapped,{[`& .${d.A.iconWrapper}`]:t.iconWrapper},{[`& .${d.A.icon}`]:t.icon}]}})((0,u.A)((({theme:e})=>({...e.typography.button,maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center",lineHeight:1.25,variants:[{props:({ownerState:e})=>e.label&&("top"===e.iconPosition||"bottom"===e.iconPosition),style:{flexDirection:"column"}},{props:({ownerState:e})=>e.label&&"top"!==e.iconPosition&&"bottom"!==e.iconPosition,style:{flexDirection:"row"}},{props:({ownerState:e})=>e.icon&&e.label,style:{minHeight:72,paddingTop:9,paddingBottom:9}},{props:({ownerState:e,iconPosition:t})=>e.icon&&e.label&&"top"===t,style:{[`& > .${d.A.icon}`]:{marginBottom:6}}},{props:({ownerState:e,iconPosition:t})=>e.icon&&e.label&&"bottom"===t,style:{[`& > .${d.A.icon}`]:{marginTop:6}}},{props:({ownerState:e,iconPosition:t})=>e.icon&&e.label&&"start"===t,style:{[`& > .${d.A.icon}`]:{marginRight:e.spacing(1)}}},{props:({ownerState:e,iconPosition:t})=>e.icon&&e.label&&"end"===t,style:{[`& > .${d.A.icon}`]:{marginLeft:e.spacing(1)}}},{props:{textColor:"inherit"},style:{color:"inherit",opacity:.6,[`&.${d.A.selected}`]:{opacity:1},[`&.${d.A.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}}},{props:{textColor:"primary"},style:{color:(e.vars||e).palette.text.secondary,[`&.${d.A.selected}`]:{color:(e.vars||e).palette.primary.main},[`&.${d.A.disabled}`]:{color:(e.vars||e).palette.text.disabled}}},{props:{textColor:"secondary"},style:{color:(e.vars||e).palette.text.secondary,[`&.${d.A.selected}`]:{color:(e.vars||e).palette.secondary.main},[`&.${d.A.disabled}`]:{color:(e.vars||e).palette.text.disabled}}},{props:({ownerState:e})=>e.fullWidth,style:{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"}},{props:({ownerState:e})=>e.wrapped,style:{fontSize:e.typography.pxToRem(12)}}]})))),h=r.forwardRef((function(e,t){const n=(0,c.b)({props:e,name:"MuiTab"}),{className:i,disabled:l=!1,disableFocusRipple:u=!1,fullWidth:h,icon:m,iconPosition:g="top",indicator:v,label:y,onChange:b,onClick:w,onFocus:x,selected:S,selectionFollowsFocus:_,textColor:A="inherit",value:C,wrapped:T=!1,...k}=n,E={...n,disabled:l,disableFocusRipple:u,selected:S,icon:!!m,iconPosition:g,label:!!y,fullWidth:h,textColor:A,wrapped:T},M=(e=>{const{classes:t,textColor:n,fullWidth:r,wrapped:a,icon:i,label:l,selected:u,disabled:c}=e,p={root:["root",i&&l&&"labelIcon",`textColor${(0,s.A)(n)}`,r&&"fullWidth",a&&"wrapped",u&&"selected",c&&"disabled"],icon:["iconWrapper","icon"]};return(0,o.A)(p,d.s,t)})(E),P=m&&y&&r.isValidElement(m)?r.cloneElement(m,{className:(0,a.A)(M.icon,m.props.className)}):m;return(0,p.jsxs)(f,{focusRipple:!u,className:(0,a.A)(M.root,i),ref:t,role:"tab","aria-selected":S,disabled:l,onClick:e=>{!S&&b&&b(e,C),w&&w(e)},onFocus:e=>{_&&!S&&b&&b(e,C),x&&x(e)},ownerState:E,tabIndex:S?0:-1,...k,children:["top"===g||"start"===g?(0,p.jsxs)(r.Fragment,{children:[P,y]}):(0,p.jsxs)(r.Fragment,{children:[y,P]}),v]})}))},92148:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A,getTabUtilityClass:()=>a.s,tabClasses:()=>a.A});var r=n(89367),a=n(26915)},26915:(e,t,n)=>{"use strict";n.d(t,{A:()=>i,s:()=>o});var r=n(38413),a=n(31609);function o(e){return(0,a.Ay)("MuiTab",e)}const i=(0,r.A)("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper","icon"])},52332:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(96540).createContext()},27256:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(96540).createContext()},66032:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>v,getTableUtilityClass:()=>p,tableClasses:()=>f});var r=n(96540),a=n(34164),o=n(75659),i=n(52332),s=n(11848),l=n(42637),u=n(25669),c=n(38413),d=n(31609);function p(e){return(0,d.Ay)("MuiTable",e)}const f=(0,c.A)("MuiTable",["root","stickyHeader"]);var h=n(74848);const m=(0,s.Ay)("table",{name:"MuiTable",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.stickyHeader&&t.stickyHeader]}})((0,l.A)((({theme:e})=>({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":{...e.typography.body2,padding:e.spacing(2),color:(e.vars||e).palette.text.secondary,textAlign:"left",captionSide:"bottom"},variants:[{props:({ownerState:e})=>e.stickyHeader,style:{borderCollapse:"separate"}}]})))),g="table",v=r.forwardRef((function(e,t){const n=(0,u.b)({props:e,name:"MuiTable"}),{className:s,component:l=g,padding:c="normal",size:d="medium",stickyHeader:f=!1,...v}=n,y={...n,component:l,padding:c,size:d,stickyHeader:f},b=(e=>{const{classes:t,stickyHeader:n}=e,r={root:["root",n&&"stickyHeader"]};return(0,o.A)(r,p,t)})(y),w=r.useMemo((()=>({padding:c,size:d,stickyHeader:f})),[c,d,f]);return(0,h.jsx)(i.A.Provider,{value:w,children:(0,h.jsx)(m,{as:l,role:l===g?null:"table",ref:t,className:(0,a.A)(b.root,s),ownerState:y,...v})})}))},10650:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>v,getTableBodyUtilityClass:()=>d,tableBodyClasses:()=>p});var r=n(96540),a=n(34164),o=n(75659),i=n(27256),s=n(11848),l=n(25669),u=n(38413),c=n(31609);function d(e){return(0,c.Ay)("MuiTableBody",e)}const p=(0,u.A)("MuiTableBody",["root"]);var f=n(74848);const h=(0,s.Ay)("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-row-group"}),m={variant:"body"},g="tbody",v=r.forwardRef((function(e,t){const n=(0,l.b)({props:e,name:"MuiTableBody"}),{className:r,component:s=g,...u}=n,c={...n,component:s},p=(e=>{const{classes:t}=e;return(0,o.A)({root:["root"]},d,t)})(c);return(0,f.jsx)(i.A.Provider,{value:m,children:(0,f.jsx)(h,{className:(0,a.A)(p.root,r),as:s,ref:t,role:s===g?null:"rowgroup",ownerState:c,...u})})}))},70691:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var r=n(96540),a=n(34164),o=n(75659),i=n(79739),s=n(28466),l=n(52332),u=n(27256),c=n(11848),d=n(42637),p=n(25669),f=n(16023),h=n(74848);const m=(0,c.Ay)("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`size${(0,s.A)(n.size)}`],"normal"!==n.padding&&t[`padding${(0,s.A)(n.padding)}`],"inherit"!==n.align&&t[`align${(0,s.A)(n.align)}`],n.stickyHeader&&t.stickyHeader]}})((0,d.A)((({theme:e})=>({...e.typography.body2,display:"table-cell",verticalAlign:"inherit",borderBottom:e.vars?`1px solid ${e.vars.palette.TableCell.border}`:`1px solid\n ${"light"===e.palette.mode?(0,i.a)((0,i.X4)(e.palette.divider,1),.88):(0,i.e$)((0,i.X4)(e.palette.divider,1),.68)}`,textAlign:"left",padding:16,variants:[{props:{variant:"head"},style:{color:(e.vars||e).palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium}},{props:{variant:"body"},style:{color:(e.vars||e).palette.text.primary}},{props:{variant:"footer"},style:{color:(e.vars||e).palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)}},{props:{size:"small"},style:{padding:"6px 16px",[`&.${f.A.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}}},{props:{padding:"checkbox"},style:{width:48,padding:"0 0 0 4px"}},{props:{padding:"none"},style:{padding:0}},{props:{align:"left"},style:{textAlign:"left"}},{props:{align:"center"},style:{textAlign:"center"}},{props:{align:"right"},style:{textAlign:"right",flexDirection:"row-reverse"}},{props:{align:"justify"},style:{textAlign:"justify"}},{props:({ownerState:e})=>e.stickyHeader,style:{position:"sticky",top:0,zIndex:2,backgroundColor:(e.vars||e).palette.background.default}}]})))),g=r.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiTableCell"}),{align:i="inherit",className:c,component:d,padding:g,scope:v,size:y,sortDirection:b,variant:w,...x}=n,S=r.useContext(l.A),_=r.useContext(u.A),A=_&&"head"===_.variant;let C;C=d||(A?"th":"td");let T=v;"td"===C?T=void 0:!T&&A&&(T="col");const k=w||_&&_.variant,E={...n,align:i,component:C,padding:g||(S&&S.padding?S.padding:"normal"),size:y||(S&&S.size?S.size:"medium"),sortDirection:b,stickyHeader:"head"===k&&S&&S.stickyHeader,variant:k},M=(e=>{const{classes:t,variant:n,align:r,padding:a,size:i,stickyHeader:l}=e,u={root:["root",n,l&&"stickyHeader","inherit"!==r&&`align${(0,s.A)(r)}`,"normal"!==a&&`padding${(0,s.A)(a)}`,`size${(0,s.A)(i)}`]};return(0,o.A)(u,f.r,t)})(E);let P=null;return b&&(P="asc"===b?"ascending":"descending"),(0,h.jsx)(m,{as:C,ref:t,className:(0,a.A)(M.root,c),"aria-sort":P,scope:T,ownerState:E,...x})}))},16191:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A,getTableCellUtilityClass:()=>a.r,tableCellClasses:()=>a.A});var r=n(70691),a=n(16023)},16023:(e,t,n)=>{"use strict";n.d(t,{A:()=>i,r:()=>o});var r=n(38413),a=n(31609);function o(e){return(0,a.Ay)("MuiTableCell",e)}const i=(0,r.A)("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"])},35411:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h,getTableContainerUtilityClass:()=>c,tableContainerClasses:()=>d});var r=n(96540),a=n(34164),o=n(75659),i=n(11848),s=n(25669),l=n(38413),u=n(31609);function c(e){return(0,u.Ay)("MuiTableContainer",e)}const d=(0,l.A)("MuiTableContainer",["root"]);var p=n(74848);const f=(0,i.Ay)("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,t)=>t.root})({width:"100%",overflowX:"auto"}),h=r.forwardRef((function(e,t){const n=(0,s.b)({props:e,name:"MuiTableContainer"}),{className:r,component:i="div",...l}=n,u={...n,component:i},d=(e=>{const{classes:t}=e;return(0,o.A)({root:["root"]},c,t)})(u);return(0,p.jsx)(f,{ref:t,as:i,className:(0,a.A)(d.root,r),ownerState:u,...l})}))},69941:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>v,getTableFooterUtilityClass:()=>d,tableFooterClasses:()=>p});var r=n(96540),a=n(34164),o=n(75659),i=n(27256),s=n(11848),l=n(25669),u=n(38413),c=n(31609);function d(e){return(0,c.Ay)("MuiTableFooter",e)}const p=(0,u.A)("MuiTableFooter",["root"]);var f=n(74848);const h=(0,s.Ay)("tfoot",{name:"MuiTableFooter",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-footer-group"}),m={variant:"footer"},g="tfoot",v=r.forwardRef((function(e,t){const n=(0,l.b)({props:e,name:"MuiTableFooter"}),{className:r,component:s=g,...u}=n,c={...n,component:s},p=(e=>{const{classes:t}=e;return(0,o.A)({root:["root"]},d,t)})(c);return(0,f.jsx)(i.A.Provider,{value:m,children:(0,f.jsx)(h,{as:s,className:(0,a.A)(p.root,r),ref:t,role:s===g?null:"rowgroup",ownerState:c,...u})})}))},69859:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>v,getTableHeadUtilityClass:()=>d,tableHeadClasses:()=>p});var r=n(96540),a=n(34164),o=n(75659),i=n(27256),s=n(11848),l=n(25669),u=n(38413),c=n(31609);function d(e){return(0,c.Ay)("MuiTableHead",e)}const p=(0,u.A)("MuiTableHead",["root"]);var f=n(74848);const h=(0,s.Ay)("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-header-group"}),m={variant:"head"},g="thead",v=r.forwardRef((function(e,t){const n=(0,l.b)({props:e,name:"MuiTableHead"}),{className:r,component:s=g,...u}=n,c={...n,component:s},p=(e=>{const{classes:t}=e;return(0,o.A)({root:["root"]},d,t)})(c);return(0,f.jsx)(i.A.Provider,{value:m,children:(0,f.jsx)(h,{as:s,className:(0,a.A)(p.root,r),ref:t,role:s===g?null:"rowgroup",ownerState:c,...u})})}))},39989:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>F,getTablePaginationUtilityClass:()=>k,tablePaginationClasses:()=>E});var r=n(96540),a=n(34164),o=n(75659),i=n(47947),s=n(11848),l=n(42637),u=n(25669),c=n(29199),d=n(17681),p=n(27967),f=n(70691),h=n(3711),m=n(93944),g=n(16445),v=n(60124),y=n(19455),b=n(20561),w=n(74848);const x=(0,b.A)((0,w.jsx)("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage"),S=(0,b.A)((0,w.jsx)("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),_=r.forwardRef((function(e,t){const{backIconButtonProps:n,count:r,disabled:a=!1,getItemAriaLabel:o,nextIconButtonProps:i,onPageChange:s,page:l,rowsPerPage:u,showFirstButton:c,showLastButton:d,slots:p={},slotProps:f={},...h}=e,b=(0,m.I)(),_=p.firstButton??y.A,A=p.lastButton??y.A,C=p.nextButton??y.A,T=p.previousButton??y.A,k=p.firstButtonIcon??S,E=p.lastButtonIcon??x,M=p.nextButtonIcon??v.A,P=p.previousButtonIcon??g.A,O=b?A:_,I=b?C:T,D=b?T:C,R=b?_:A,N=b?f.lastButton:f.firstButton,L=b?f.nextButton:f.previousButton,$=b?f.previousButton:f.nextButton,j=b?f.firstButton:f.lastButton;return(0,w.jsxs)("div",{ref:t,...h,children:[c&&(0,w.jsx)(O,{onClick:e=>{s(e,0)},disabled:a||0===l,"aria-label":o("first",l),title:o("first",l),...N,children:b?(0,w.jsx)(E,{...f.lastButtonIcon}):(0,w.jsx)(k,{...f.firstButtonIcon})}),(0,w.jsx)(I,{onClick:e=>{s(e,l-1)},disabled:a||0===l,color:"inherit","aria-label":o("previous",l),title:o("previous",l),...L??n,children:b?(0,w.jsx)(M,{...f.nextButtonIcon}):(0,w.jsx)(P,{...f.previousButtonIcon})}),(0,w.jsx)(D,{onClick:e=>{s(e,l+1)},disabled:a||-1!==r&&l>=Math.ceil(r/u)-1,color:"inherit","aria-label":o("next",l),title:o("next",l),...$??i,children:b?(0,w.jsx)(P,{...f.previousButtonIcon}):(0,w.jsx)(M,{...f.nextButtonIcon})}),d&&(0,w.jsx)(R,{onClick:e=>{s(e,Math.max(0,Math.ceil(r/u)-1))},disabled:a||l>=Math.ceil(r/u)-1,"aria-label":o("last",l),title:o("last",l),...j,children:b?(0,w.jsx)(k,{...f.firstButtonIcon}):(0,w.jsx)(E,{...f.lastButtonIcon})})]})}));var A=n(1668),C=n(38413),T=n(31609);function k(e){return(0,T.Ay)("MuiTablePagination",e)}const E=(0,C.A)("MuiTablePagination",["root","toolbar","spacer","selectLabel","selectRoot","select","selectIcon","input","menuItem","displayedRows","actions"]);var M;const P=(0,s.Ay)(f.A,{name:"MuiTablePagination",slot:"Root",overridesResolver:(e,t)=>t.root})((0,l.A)((({theme:e})=>({overflow:"auto",color:(e.vars||e).palette.text.primary,fontSize:e.typography.pxToRem(14),"&:last-child":{padding:0}})))),O=(0,s.Ay)(h.A,{name:"MuiTablePagination",slot:"Toolbar",overridesResolver:(e,t)=>({[`& .${E.actions}`]:t.actions,...t.toolbar})})((0,l.A)((({theme:e})=>({minHeight:52,paddingRight:2,[`${e.breakpoints.up("xs")} and (orientation: landscape)`]:{minHeight:52},[e.breakpoints.up("sm")]:{minHeight:52,paddingRight:2},[`& .${E.actions}`]:{flexShrink:0,marginLeft:20}})))),I=(0,s.Ay)("div",{name:"MuiTablePagination",slot:"Spacer",overridesResolver:(e,t)=>t.spacer})({flex:"1 1 100%"}),D=(0,s.Ay)("p",{name:"MuiTablePagination",slot:"SelectLabel",overridesResolver:(e,t)=>t.selectLabel})((0,l.A)((({theme:e})=>({...e.typography.body2,flexShrink:0})))),R=(0,s.Ay)(p.A,{name:"MuiTablePagination",slot:"Select",overridesResolver:(e,t)=>({[`& .${E.selectIcon}`]:t.selectIcon,[`& .${E.select}`]:t.select,...t.input,...t.selectRoot})})({color:"inherit",fontSize:"inherit",flexShrink:0,marginRight:32,marginLeft:8,[`& .${E.select}`]:{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"}}),N=(0,s.Ay)(d.A,{name:"MuiTablePagination",slot:"MenuItem",overridesResolver:(e,t)=>t.menuItem})({}),L=(0,s.Ay)("p",{name:"MuiTablePagination",slot:"DisplayedRows",overridesResolver:(e,t)=>t.displayedRows})((0,l.A)((({theme:e})=>({...e.typography.body2,flexShrink:0}))));function $({from:e,to:t,count:n}){return`${e}–${t} of ${-1!==n?n:`more than ${t}`}`}function j(e){return`Go to ${e} page`}const F=r.forwardRef((function(e,t){const n=(0,u.b)({props:e,name:"MuiTablePagination"}),{ActionsComponent:s=_,backIconButtonProps:l,className:d,colSpan:p,component:h=f.A,count:m,disabled:g=!1,getItemAriaLabel:v=j,labelDisplayedRows:y=$,labelRowsPerPage:b="Rows per page:",nextIconButtonProps:x,onPageChange:S,onRowsPerPageChange:C,page:T,rowsPerPage:E,rowsPerPageOptions:F=[10,25,50,100],SelectProps:B={},showFirstButton:z=!1,showLastButton:W=!1,slotProps:V={},slots:U={},...H}=n,q=n,G=(e=>{const{classes:t}=e;return(0,o.A)({root:["root"],toolbar:["toolbar"],spacer:["spacer"],selectLabel:["selectLabel"],select:["select"],input:["input"],selectIcon:["selectIcon"],menuItem:["menuItem"],displayedRows:["displayedRows"],actions:["actions"]},k,t)})(q),Y=V?.select??B,X=Y.native?"option":N;let K;h!==f.A&&"td"!==h||(K=p||1e3);const Q=(0,A.A)(Y.id),Z=(0,A.A)(Y.labelId);return(0,w.jsx)(P,{colSpan:K,ref:t,as:h,ownerState:q,className:(0,a.A)(G.root,d),...H,children:(0,w.jsxs)(O,{className:G.toolbar,children:[(0,w.jsx)(I,{className:G.spacer}),F.length>1&&(0,w.jsx)(D,{className:G.selectLabel,id:Z,children:b}),F.length>1&&(0,w.jsx)(R,{variant:"standard",...!Y.variant&&{input:M||(M=(0,w.jsx)(c.Ay,{}))},value:E,onChange:C,id:Q,labelId:Z,...Y,classes:{...Y.classes,root:(0,a.A)(G.input,G.selectRoot,(Y.classes||{}).root),select:(0,a.A)(G.select,(Y.classes||{}).select),icon:(0,a.A)(G.selectIcon,(Y.classes||{}).icon)},disabled:g,children:F.map((e=>(0,r.createElement)(X,{...!(0,i.A)(X)&&{ownerState:q},className:G.menuItem,key:e.label?e.label:e,value:e.value?e.value:e},e.label?e.label:e)))}),(0,w.jsx)(L,{className:G.displayedRows,children:y({from:0===m?0:T*E+1,to:-1===m?(T+1)*E:-1===E?m:Math.min(m,(T+1)*E),count:-1===m?-1:m,page:T})}),(0,w.jsx)(s,{className:G.actions,backIconButtonProps:l,count:m,nextIconButtonProps:x,onPageChange:S,page:T,rowsPerPage:E,showFirstButton:z,showLastButton:W,slotProps:V.actions,slots:U.actions,getItemAriaLabel:v,disabled:g})]})})}))},53640:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>y,getTableRowUtilityClass:()=>f,tableRowClasses:()=>h});var r=n(96540),a=n(34164),o=n(75659),i=n(79739),s=n(27256),l=n(11848),u=n(42637),c=n(25669),d=n(38413),p=n(31609);function f(e){return(0,p.Ay)("MuiTableRow",e)}const h=(0,d.A)("MuiTableRow",["root","selected","hover","head","footer"]);var m=n(74848);const g=(0,l.Ay)("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.head&&t.head,n.footer&&t.footer]}})((0,u.A)((({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${h.hover}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${h.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,i.X4)(e.palette.primary.main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,i.X4)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)}}})))),v="tr",y=r.forwardRef((function(e,t){const n=(0,c.b)({props:e,name:"MuiTableRow"}),{className:i,component:l=v,hover:u=!1,selected:d=!1,...p}=n,h=r.useContext(s.A),y={...n,component:l,hover:u,selected:d,head:h&&"head"===h.variant,footer:h&&"footer"===h.variant},b=(e=>{const{classes:t,selected:n,hover:r,head:a,footer:i}=e,s={root:["root",n&&"selected",r&&"hover",a&&"head",i&&"footer"]};return(0,o.A)(s,f,t)})(y);return(0,m.jsx)(g,{as:l,ref:t,className:(0,a.A)(b.root,i),role:l===v?null:"row",ownerState:y,...p})}))},66038:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>w,getTableSortLabelUtilityClass:()=>g,tableSortLabelClasses:()=>v});var r=n(75659),a=n(34164),o=n(96540),i=n(80189),s=n(20561),l=n(74848);const u=(0,s.A)((0,l.jsx)("path",{d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"}),"ArrowDownward");var c=n(11848),d=n(42637),p=n(25669),f=n(28466),h=n(38413),m=n(31609);function g(e){return(0,m.Ay)("MuiTableSortLabel",e)}const v=(0,h.A)("MuiTableSortLabel",["root","active","icon","iconDirectionDesc","iconDirectionAsc","directionDesc","directionAsc"]),y=(0,c.Ay)(i.A,{name:"MuiTableSortLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.active&&t.active]}})((0,d.A)((({theme:e})=>({cursor:"pointer",display:"inline-flex",justifyContent:"flex-start",flexDirection:"inherit",alignItems:"center","&:focus":{color:(e.vars||e).palette.text.secondary},"&:hover":{color:(e.vars||e).palette.text.secondary,[`& .${v.icon}`]:{opacity:.5}},[`&.${v.active}`]:{color:(e.vars||e).palette.text.primary,[`& .${v.icon}`]:{opacity:1,color:(e.vars||e).palette.text.secondary}}})))),b=(0,c.Ay)("span",{name:"MuiTableSortLabel",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,t[`iconDirection${(0,f.A)(n.direction)}`]]}})((0,d.A)((({theme:e})=>({fontSize:18,marginRight:4,marginLeft:4,opacity:0,transition:e.transitions.create(["opacity","transform"],{duration:e.transitions.duration.shorter}),userSelect:"none",variants:[{props:{direction:"desc"},style:{transform:"rotate(0deg)"}},{props:{direction:"asc"},style:{transform:"rotate(180deg)"}}]})))),w=o.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiTableSortLabel"}),{active:o=!1,children:i,className:s,direction:c="asc",hideSortIcon:d=!1,IconComponent:h=u,...m}=n,v={...n,active:o,direction:c,hideSortIcon:d,IconComponent:h},w=(e=>{const{classes:t,direction:n,active:a}=e,o={root:["root",a&&"active",`direction${(0,f.A)(n)}`],icon:["icon",`iconDirection${(0,f.A)(n)}`]};return(0,r.A)(o,g,t)})(v);return(0,l.jsxs)(y,{className:(0,a.A)(w.root,s),component:"span",disableRipple:!0,ownerState:v,ref:t,...m,children:[i,d&&!o?null:(0,l.jsx)(b,{as:h,className:(0,a.A)(w.icon),ownerState:v})]})}))},45250:(e,t,n)=>{"use strict";n.d(t,{A:()=>F});var r=n(96540),a=(n(44363),n(34164)),o=n(75659),i=n(93944),s=n(79329),l=n(11848),u=n(44675),c=n(42637),d=n(25669),p=n(1935);function f(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}var h=n(2778),m=n(93749),g=n(74848);const v={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};var y=n(16445),b=n(60124),w=n(80189),x=n(38413),S=n(31609);function _(e){return(0,S.Ay)("MuiTabScrollButton",e)}const A=(0,x.A)("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),C=(0,l.Ay)(w.A,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.orientation&&t[n.orientation]]}})({width:40,flexShrink:0,opacity:.8,[`&.${A.disabled}`]:{opacity:0},variants:[{props:{orientation:"vertical"},style:{width:"100%",height:40,"& svg":{transform:"var(--TabScrollButton-svgRotate)"}}}]}),T=r.forwardRef((function(e,t){const n=(0,d.b)({props:e,name:"MuiTabScrollButton"}),{className:r,slots:l={},slotProps:u={},direction:c,orientation:p,disabled:f,...h}=n,m=(0,i.I)(),v={isRtl:m,...n},w=(e=>{const{classes:t,orientation:n,disabled:r}=e,a={root:["root",n,r&&"disabled"]};return(0,o.A)(a,_,t)})(v),x=l.StartScrollButtonIcon??y.A,S=l.EndScrollButtonIcon??b.A,A=(0,s.A)({elementType:x,externalSlotProps:u.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:v}),T=(0,s.A)({elementType:S,externalSlotProps:u.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:v});return(0,g.jsx)(C,{component:"div",className:(0,a.A)(w.root,r),ref:t,role:null,ownerState:v,tabIndex:null,...h,style:{...h.style,..."vertical"===p&&{"--TabScrollButton-svgRotate":`rotate(${m?-90:90}deg)`}},children:"left"===c?(0,g.jsx)(x,{...A}):(0,g.jsx)(S,{...T})})}));var k=n(83034),E=n(6533),M=n(96248);const P=(e,t)=>e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild,O=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,I=(e,t,n)=>{let r=!1,a=n(e,t);for(;a;){if(a===e.firstChild){if(r)return;r=!0}const t=a.disabled||"true"===a.getAttribute("aria-disabled");if(a.hasAttribute("tabindex")&&!t)return void a.focus();a=n(e,a)}},D=(0,l.Ay)("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${E.A.scrollButtons}`]:t.scrollButtons},{[`& .${E.A.scrollButtons}`]:n.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,n.vertical&&t.vertical]}})((0,c.A)((({theme:e})=>({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex",variants:[{props:({ownerState:e})=>e.vertical,style:{flexDirection:"column"}},{props:({ownerState:e})=>e.scrollButtonsHideMobile,style:{[`& .${E.A.scrollButtons}`]:{[e.breakpoints.down("sm")]:{display:"none"}}}}]})))),R=(0,l.Ay)("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.scroller,n.fixed&&t.fixed,n.hideScrollbar&&t.hideScrollbar,n.scrollableX&&t.scrollableX,n.scrollableY&&t.scrollableY]}})({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap",variants:[{props:({ownerState:e})=>e.fixed,style:{overflowX:"hidden",width:"100%"}},{props:({ownerState:e})=>e.hideScrollbar,style:{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}},{props:({ownerState:e})=>e.scrollableX,style:{overflowX:"auto",overflowY:"hidden"}},{props:({ownerState:e})=>e.scrollableY,style:{overflowY:"auto",overflowX:"hidden"}}]}),N=(0,l.Ay)("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.flexContainer,n.vertical&&t.flexContainerVertical,n.centered&&t.centered]}})({display:"flex",variants:[{props:({ownerState:e})=>e.vertical,style:{flexDirection:"column"}},{props:({ownerState:e})=>e.centered,style:{justifyContent:"center"}}]}),L=(0,l.Ay)("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(e,t)=>t.indicator})((0,c.A)((({theme:e})=>({position:"absolute",height:2,bottom:0,width:"100%",transition:e.transitions.create(),variants:[{props:{indicatorColor:"primary"},style:{backgroundColor:(e.vars||e).palette.primary.main}},{props:{indicatorColor:"secondary"},style:{backgroundColor:(e.vars||e).palette.secondary.main}},{props:({ownerState:e})=>e.vertical,style:{height:"100%",width:2,right:0}}]})))),$=(0,l.Ay)((function(e){const{onChange:t,...n}=e,a=r.useRef(),o=r.useRef(null),i=()=>{a.current=o.current.offsetHeight-o.current.clientHeight};return(0,h.A)((()=>{const e=(0,p.A)((()=>{const e=a.current;i(),e!==a.current&&t(a.current)})),n=(0,m.A)(o.current);return n.addEventListener("resize",e),()=>{e.clear(),n.removeEventListener("resize",e)}}),[t]),r.useEffect((()=>{i(),t(a.current)}),[t]),(0,g.jsx)("div",{style:v,ref:o,...n})}))({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),j={},F=r.forwardRef((function(e,t){const n=(0,d.b)({props:e,name:"MuiTabs"}),l=(0,u.A)(),c=(0,i.I)(),{"aria-label":h,"aria-labelledby":v,action:y,centered:b=!1,children:w,className:x,component:S="div",allowScrollButtonsMobile:_=!1,indicatorColor:A="primary",onChange:C,orientation:F="horizontal",ScrollButtonComponent:B=T,scrollButtons:z="auto",selectionFollowsFocus:W,slots:V={},slotProps:U={},TabIndicatorProps:H={},TabScrollButtonProps:q={},textColor:G="primary",value:Y,variant:X="standard",visibleScrollbar:K=!1,...Q}=n,Z="scrollable"===X,J="vertical"===F,ee=J?"scrollTop":"scrollLeft",te=J?"top":"left",ne=J?"bottom":"right",re=J?"clientHeight":"clientWidth",ae=J?"height":"width",oe={...n,component:S,allowScrollButtonsMobile:_,indicatorColor:A,orientation:F,vertical:J,scrollButtons:z,textColor:G,variant:X,visibleScrollbar:K,fixed:!Z,hideScrollbar:Z&&!K,scrollableX:Z&&!J,scrollableY:Z&&J,centered:b&&!Z,scrollButtonsHideMobile:!_},ie=(e=>{const{vertical:t,fixed:n,hideScrollbar:r,scrollableX:a,scrollableY:i,centered:s,scrollButtonsHideMobile:l,classes:u}=e,c={root:["root",t&&"vertical"],scroller:["scroller",n&&"fixed",r&&"hideScrollbar",a&&"scrollableX",i&&"scrollableY"],flexContainer:["flexContainer",t&&"flexContainerVertical",s&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",l&&"scrollButtonsHideMobile"],scrollableX:[a&&"scrollableX"],hideScrollbar:[r&&"hideScrollbar"]};return(0,o.A)(c,E.H,u)})(oe),se=(0,s.A)({elementType:V.StartScrollButtonIcon,externalSlotProps:U.startScrollButtonIcon,ownerState:oe}),le=(0,s.A)({elementType:V.EndScrollButtonIcon,externalSlotProps:U.endScrollButtonIcon,ownerState:oe}),[ue,ce]=r.useState(!1),[de,pe]=r.useState(j),[fe,he]=r.useState(!1),[me,ge]=r.useState(!1),[ve,ye]=r.useState(!1),[be,we]=r.useState({overflow:"hidden",scrollbarWidth:0}),xe=new Map,Se=r.useRef(null),_e=r.useRef(null),Ae=()=>{const e=Se.current;let t,n;if(e){const n=e.getBoundingClientRect();t={clientWidth:e.clientWidth,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop,scrollWidth:e.scrollWidth,top:n.top,bottom:n.bottom,left:n.left,right:n.right}}if(e&&!1!==Y){const e=_e.current.children;if(e.length>0){const t=e[xe.get(Y)];n=t?t.getBoundingClientRect():null}}return{tabsMeta:t,tabMeta:n}},Ce=(0,k.A)((()=>{const{tabsMeta:e,tabMeta:t}=Ae();let n,r=0;J?(n="top",t&&e&&(r=t.top-e.top+e.scrollTop)):(n=c?"right":"left",t&&e&&(r=(c?-1:1)*(t[n]-e[n]+e.scrollLeft)));const a={[n]:r,[ae]:t?t[ae]:0};if("number"!=typeof de[n]||"number"!=typeof de[ae])pe(a);else{const e=Math.abs(de[n]-a[n]),t=Math.abs(de[ae]-a[ae]);(e>=1||t>=1)&&pe(a)}})),Te=(e,{animation:t=!0}={})=>{t?function(e,t,n,r={},a=(()=>{})){const{ease:o=f,duration:i=300}=r;let s=null;const l=t[e];let u=!1;const c=r=>{if(u)return void a(new Error("Animation cancelled"));null===s&&(s=r);const d=Math.min(1,(r-s)/i);t[e]=o(d)*(n-l)+l,d>=1?requestAnimationFrame((()=>{a(null)})):requestAnimationFrame(c)};l===n?a(new Error("Element already at target position")):requestAnimationFrame(c)}(ee,Se.current,e,{duration:l.transitions.duration.standard}):Se.current[ee]=e},ke=e=>{let t=Se.current[ee];t+=J?e:e*(c?-1:1),Te(t)},Ee=()=>{const e=Se.current[re];let t=0;const n=Array.from(_e.current.children);for(let r=0;re){0===r&&(t=e);break}t+=a[re]}return t},Me=()=>{ke(-1*Ee())},Pe=()=>{ke(Ee())},Oe=r.useCallback((e=>{we({overflow:null,scrollbarWidth:e})}),[]),Ie=(0,k.A)((e=>{const{tabsMeta:t,tabMeta:n}=Ae();if(n&&t)if(n[te]t[ne]){const r=t[ee]+(n[ne]-t[ne]);Te(r,{animation:e})}})),De=(0,k.A)((()=>{Z&&!1!==z&&ye(!ve)}));r.useEffect((()=>{const e=(0,p.A)((()=>{Se.current&&Ce()}));let t;const n=(0,m.A)(Se.current);let r;return n.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(t=new ResizeObserver(e),Array.from(_e.current.children).forEach((e=>{t.observe(e)}))),"undefined"!=typeof MutationObserver&&(r=new MutationObserver((n=>{n.forEach((e=>{e.removedNodes.forEach((e=>{t?.unobserve(e)})),e.addedNodes.forEach((e=>{t?.observe(e)}))})),e(),De()})),r.observe(_e.current,{childList:!0})),()=>{e.clear(),n.removeEventListener("resize",e),r?.disconnect(),t?.disconnect()}}),[Ce,De]),r.useEffect((()=>{const e=Array.from(_e.current.children),t=e.length;if("undefined"!=typeof IntersectionObserver&&t>0&&Z&&!1!==z){const n=e[0],r=e[t-1],a={root:Se.current,threshold:.99},o=new IntersectionObserver((e=>{he(!e[0].isIntersecting)}),a);o.observe(n);const i=new IntersectionObserver((e=>{ge(!e[0].isIntersecting)}),a);return i.observe(r),()=>{o.disconnect(),i.disconnect()}}}),[Z,z,ve,w?.length]),r.useEffect((()=>{ce(!0)}),[]),r.useEffect((()=>{Ce()})),r.useEffect((()=>{Ie(j!==de)}),[Ie,de]),r.useImperativeHandle(y,(()=>({updateIndicator:Ce,updateScrollButtons:De})),[Ce,De]);const Re=(0,g.jsx)(L,{...H,className:(0,a.A)(ie.indicator,H.className),ownerState:oe,style:{...de,...H.style}});let Ne=0;const Le=r.Children.map(w,(e=>{if(!r.isValidElement(e))return null;const t=void 0===e.props.value?Ne:e.props.value;xe.set(t,Ne);const n=t===Y;return Ne+=1,r.cloneElement(e,{fullWidth:"fullWidth"===X,indicator:n&&!ue&&Re,selected:n,selectionFollowsFocus:W,onChange:C,textColor:G,value:t,...1!==Ne||!1!==Y||e.props.tabIndex?{}:{tabIndex:0}})})),$e=(()=>{const e={};e.scrollbarSizeListener=Z?(0,g.jsx)($,{onChange:Oe,className:(0,a.A)(ie.scrollableX,ie.hideScrollbar)}):null;const t=Z&&("auto"===z&&(fe||me)||!0===z);return e.scrollButtonStart=t?(0,g.jsx)(B,{slots:{StartScrollButtonIcon:V.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:se},orientation:F,direction:c?"right":"left",onClick:Me,disabled:!fe,...q,className:(0,a.A)(ie.scrollButtons,q.className)}):null,e.scrollButtonEnd=t?(0,g.jsx)(B,{slots:{EndScrollButtonIcon:V.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:le},orientation:F,direction:c?"left":"right",onClick:Pe,disabled:!me,...q,className:(0,a.A)(ie.scrollButtons,q.className)}):null,e})();return(0,g.jsxs)(D,{className:(0,a.A)(ie.root,x),ownerState:oe,ref:t,as:S,...Q,children:[$e.scrollButtonStart,$e.scrollbarSizeListener,(0,g.jsxs)(R,{className:ie.scroller,ownerState:oe,style:{overflow:be.overflow,[J?"margin"+(c?"Left":"Right"):"marginBottom"]:K?void 0:-be.scrollbarWidth},ref:Se,children:[(0,g.jsx)(N,{"aria-label":h,"aria-labelledby":v,"aria-orientation":"vertical"===F?"vertical":null,className:ie.flexContainer,ownerState:oe,onKeyDown:e=>{const t=_e.current,n=(0,M.A)(t).activeElement;if("tab"!==n.getAttribute("role"))return;let r="horizontal"===F?"ArrowLeft":"ArrowUp",a="horizontal"===F?"ArrowRight":"ArrowDown";switch("horizontal"===F&&c&&(r="ArrowRight",a="ArrowLeft"),e.key){case r:e.preventDefault(),I(t,n,O);break;case a:e.preventDefault(),I(t,n,P);break;case"Home":e.preventDefault(),I(t,null,P);break;case"End":e.preventDefault(),I(t,null,O)}},ref:_e,role:"tablist",children:Le}),ue&&Re]}),$e.scrollButtonEnd]})}))},77645:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A,getTabsUtilityClass:()=>a.H,tabsClasses:()=>a.A});var r=n(45250),a=n(6533)},6533:(e,t,n)=>{"use strict";n.d(t,{A:()=>i,H:()=>o});var r=n(38413),a=n(31609);function o(e){return(0,a.Ay)("MuiTabs",e)}const i=(0,r.A)("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"])},1043:(e,t,n)=>{"use strict";n.d(t,{A:()=>x});var r=n(96540),a=n(34164),o=n(75659),i=n(34661),s=n(11848),l=n(25669),u=n(77623),c=n(21915),d=n(8641),p=n(29571),f=n(45359),h=n(6347),m=n(27967),g=n(82759),v=n(6025),y=n(74848);const b={standard:u.A,filled:c.A,outlined:d.A},w=(0,s.Ay)(f.A,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),x=r.forwardRef((function(e,t){const n=(0,l.b)({props:e,name:"MuiTextField"}),{autoComplete:r,autoFocus:s=!1,children:u,className:c,color:d="primary",defaultValue:f,disabled:x=!1,error:S=!1,FormHelperTextProps:_,fullWidth:A=!1,helperText:C,id:T,InputLabelProps:k,inputProps:E,InputProps:M,inputRef:P,label:O,maxRows:I,minRows:D,multiline:R=!1,name:N,onBlur:L,onChange:$,onFocus:j,placeholder:F,required:B=!1,rows:z,select:W=!1,SelectProps:V,slots:U={},slotProps:H={},type:q,value:G,variant:Y="outlined",...X}=n,K={...n,autoFocus:s,color:d,disabled:x,error:S,fullWidth:A,multiline:R,required:B,select:W,variant:Y},Q=(e=>{const{classes:t}=e;return(0,o.A)({root:["root"]},g._,t)})(K),Z=(0,i.A)(T),J=C&&Z?`${Z}-helper-text`:void 0,ee=O&&Z?`${Z}-label`:void 0,te=b[Y],ne={slots:U,slotProps:{input:M,inputLabel:k,htmlInput:E,formHelperText:_,select:V,...H}},re={},ae=ne.slotProps.inputLabel;"outlined"===Y&&(ae&&void 0!==ae.shrink&&(re.notched=ae.shrink),re.label=O),W&&(V&&V.native||(re.id=void 0),re["aria-describedby"]=void 0);const[oe,ie]=(0,v.A)("input",{elementType:te,externalForwardedProps:ne,additionalProps:re,ownerState:K}),[se,le]=(0,v.A)("inputLabel",{elementType:p.A,externalForwardedProps:ne,ownerState:K}),[ue,ce]=(0,v.A)("htmlInput",{elementType:"input",externalForwardedProps:ne,ownerState:K}),[de,pe]=(0,v.A)("formHelperText",{elementType:h.A,externalForwardedProps:ne,ownerState:K}),[fe,he]=(0,v.A)("select",{elementType:m.A,externalForwardedProps:ne,ownerState:K}),me=(0,y.jsx)(oe,{"aria-describedby":J,autoComplete:r,autoFocus:s,defaultValue:f,fullWidth:A,multiline:R,name:N,rows:z,maxRows:I,minRows:D,type:q,value:G,id:Z,inputRef:P,onBlur:L,onChange:$,onFocus:j,placeholder:F,inputProps:ce,slots:{input:U.htmlInput?ue:void 0},...ie});return(0,y.jsxs)(w,{className:(0,a.A)(Q.root,c),disabled:x,error:S,fullWidth:A,ref:t,required:B,color:d,variant:Y,ownerState:K,...X,children:[null!=O&&""!==O&&(0,y.jsx)(se,{htmlFor:Z,id:ee,...le,children:O}),W?(0,y.jsx)(fe,{"aria-describedby":J,id:Z,labelId:ee,value:G,input:me,...he,children:u}):me,C&&(0,y.jsx)(de,{id:J,...pe,children:C})]})}))},29982:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A,getTextFieldUtilityClass:()=>a._,textFieldClasses:()=>a.A});var r=n(1043),a=n(82759)},82759:(e,t,n)=>{"use strict";n.d(t,{A:()=>i,_:()=>o});var r=n(38413),a=n(31609);function o(e){return(0,a.Ay)("MuiTextField",e)}const i=(0,r.A)("MuiTextField",["root"])},3711:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(96540),a=n(34164),o=n(75659),i=n(11848),s=n(42637),l=n(25669),u=n(31403),c=n(74848);const d=(0,i.Ay)("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})((0,s.A)((({theme:e})=>({position:"relative",display:"flex",alignItems:"center",variants:[{props:({ownerState:e})=>!e.disableGutters,style:{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}}},{props:{variant:"dense"},style:{minHeight:48}},{props:{variant:"regular"},style:e.mixins.toolbar}]})))),p=r.forwardRef((function(e,t){const n=(0,l.b)({props:e,name:"MuiToolbar"}),{className:r,component:i="div",disableGutters:s=!1,variant:p="regular",...f}=n,h={...n,component:i,disableGutters:s,variant:p},m=(e=>{const{classes:t,disableGutters:n,variant:r}=e,a={root:["root",!n&&"gutters",r]};return(0,o.A)(a,u.U,t)})(h);return(0,c.jsx)(d,{as:i,className:(0,a.A)(m.root,r),ref:t,ownerState:h,...f})}))},2368:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A,getToolbarUtilityClass:()=>a.U,toolbarClasses:()=>a.A});var r=n(3711),a=n(31403)},31403:(e,t,n)=>{"use strict";n.d(t,{A:()=>i,U:()=>o});var r=n(38413),a=n(31609);function o(e){return(0,a.Ay)("MuiToolbar",e)}const i=(0,r.A)("MuiToolbar",["root","gutters","regular","dense"])},80562:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>N,getTooltipUtilityClass:()=>C,tooltipClasses:()=>T});var r=n(96540),a=n(34164),o=n(69787),i=n(75659),s=n(79739),l=n(93944),u=n(24899),c=n(70999),d=n(57223),p=n(11848),f=n(44675),h=n(42637),m=n(25669),g=n(28466),v=n(87467),y=n(87558),b=n(83034),w=n(96852),x=n(1668),S=n(41159),_=n(38413),A=n(31609);function C(e){return(0,A.Ay)("MuiTooltip",e)}const T=(0,_.A)("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);var k=n(74848);const E=(0,p.Ay)(y.A,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})((0,h.A)((({theme:e})=>({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none",variants:[{props:({ownerState:e})=>!e.disableInteractive,style:{pointerEvents:"auto"}},{props:({open:e})=>!e,style:{pointerEvents:"none"}},{props:({ownerState:e})=>e.arrow,style:{[`&[data-popper-placement*="bottom"] .${T.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${T.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${T.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}},[`&[data-popper-placement*="left"] .${T.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}}}},{props:({ownerState:e})=>e.arrow&&!e.isRtl,style:{[`&[data-popper-placement*="right"] .${T.arrow}`]:{left:0,marginLeft:"-0.71em"}}},{props:({ownerState:e})=>e.arrow&&!!e.isRtl,style:{[`&[data-popper-placement*="right"] .${T.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:e})=>e.arrow&&!e.isRtl,style:{[`&[data-popper-placement*="left"] .${T.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:e})=>e.arrow&&!!e.isRtl,style:{[`&[data-popper-placement*="left"] .${T.arrow}`]:{left:0,marginLeft:"-0.71em"}}}]})))),M=(0,p.Ay)("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${(0,g.A)(n.placement.split("-")[0])}`]]}})((0,h.A)((({theme:e})=>({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:(0,s.X4)(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium,[`.${T.popper}[data-popper-placement*="left"] &`]:{transformOrigin:"right center"},[`.${T.popper}[data-popper-placement*="right"] &`]:{transformOrigin:"left center"},[`.${T.popper}[data-popper-placement*="top"] &`]:{transformOrigin:"center bottom",marginBottom:"14px"},[`.${T.popper}[data-popper-placement*="bottom"] &`]:{transformOrigin:"center top",marginTop:"14px"},variants:[{props:({ownerState:e})=>e.arrow,style:{position:"relative",margin:0}},{props:({ownerState:e})=>e.touch,style:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:(16/14,Math.round(114285.71428571428)/1e5+"em"),fontWeight:e.typography.fontWeightRegular}},{props:({ownerState:e})=>!e.isRtl,style:{[`.${T.popper}[data-popper-placement*="left"] &`]:{marginRight:"14px"},[`.${T.popper}[data-popper-placement*="right"] &`]:{marginLeft:"14px"}}},{props:({ownerState:e})=>!e.isRtl&&e.touch,style:{[`.${T.popper}[data-popper-placement*="left"] &`]:{marginRight:"24px"},[`.${T.popper}[data-popper-placement*="right"] &`]:{marginLeft:"24px"}}},{props:({ownerState:e})=>!!e.isRtl,style:{[`.${T.popper}[data-popper-placement*="left"] &`]:{marginLeft:"14px"},[`.${T.popper}[data-popper-placement*="right"] &`]:{marginRight:"14px"}}},{props:({ownerState:e})=>!!e.isRtl&&e.touch,style:{[`.${T.popper}[data-popper-placement*="left"] &`]:{marginLeft:"24px"},[`.${T.popper}[data-popper-placement*="right"] &`]:{marginRight:"24px"}}},{props:({ownerState:e})=>e.touch,style:{[`.${T.popper}[data-popper-placement*="top"] &`]:{marginBottom:"24px"}}},{props:({ownerState:e})=>e.touch,style:{[`.${T.popper}[data-popper-placement*="bottom"] &`]:{marginTop:"24px"}}}]})))),P=(0,p.Ay)("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})((0,h.A)((({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:(0,s.X4)(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}))));let O=!1;const I=new o.E;let D={x:0,y:0};function R(e,t){return(n,...r)=>{t&&t(n,...r),e(n,...r)}}const N=r.forwardRef((function(e,t){const n=(0,m.b)({props:e,name:"MuiTooltip"}),{arrow:s=!1,children:p,classes:h,components:_={},componentsProps:A={},describeChild:T=!1,disableFocusListener:N=!1,disableHoverListener:L=!1,disableInteractive:$=!1,disableTouchListener:j=!1,enterDelay:F=100,enterNextDelay:B=0,enterTouchDelay:z=700,followCursor:W=!1,id:V,leaveDelay:U=0,leaveTouchDelay:H=1500,onClose:q,onOpen:G,open:Y,placement:X="bottom",PopperComponent:K,PopperProps:Q={},slotProps:Z={},slots:J={},title:ee,TransitionComponent:te=v.A,TransitionProps:ne,...re}=n,ae=r.isValidElement(p)?p:(0,k.jsx)("span",{children:p}),oe=(0,f.A)(),ie=(0,l.I)(),[se,le]=r.useState(),[ue,ce]=r.useState(null),de=r.useRef(!1),pe=$||W,fe=(0,o.A)(),he=(0,o.A)(),me=(0,o.A)(),ge=(0,o.A)(),[ve,ye]=(0,S.A)({controlled:Y,default:!1,name:"Tooltip",state:"open"});let be=ve;const we=(0,x.A)(V),xe=r.useRef(),Se=(0,b.A)((()=>{void 0!==xe.current&&(document.body.style.WebkitUserSelect=xe.current,xe.current=void 0),ge.clear()}));r.useEffect((()=>Se),[Se]);const _e=e=>{I.clear(),O=!0,ye(!0),G&&!be&&G(e)},Ae=(0,b.A)((e=>{I.start(800+U,(()=>{O=!1})),ye(!1),q&&be&&q(e),fe.start(oe.transitions.duration.shortest,(()=>{de.current=!1}))})),Ce=e=>{de.current&&"touchstart"!==e.type||(se&&se.removeAttribute("title"),he.clear(),me.clear(),F||O&&B?he.start(O?B:F,(()=>{_e(e)})):_e(e))},Te=e=>{he.clear(),me.start(U,(()=>{Ae(e)}))},[,ke]=r.useState(!1),Ee=e=>{(0,u.A)(e.target)||(ke(!1),Te(e))},Me=e=>{se||le(e.currentTarget),(0,u.A)(e.target)&&(ke(!0),Ce(e))},Pe=e=>{de.current=!0;const t=ae.props;t.onTouchStart&&t.onTouchStart(e)};r.useEffect((()=>{if(be)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){"Escape"===e.key&&Ae(e)}}),[Ae,be]);const Oe=(0,w.A)((0,d.A)(ae),le,t);ee||0===ee||(be=!1);const Ie=r.useRef(),De={},Re="string"==typeof ee;T?(De.title=be||!Re||L?null:ee,De["aria-describedby"]=be?we:null):(De["aria-label"]=Re?ee:null,De["aria-labelledby"]=be&&!Re?we:null);const Ne={...De,...re,...ae.props,className:(0,a.A)(re.className,ae.props.className),onTouchStart:Pe,ref:Oe,...W?{onMouseMove:e=>{const t=ae.props;t.onMouseMove&&t.onMouseMove(e),D={x:e.clientX,y:e.clientY},Ie.current&&Ie.current.update()}}:{}},Le={};j||(Ne.onTouchStart=e=>{Pe(e),me.clear(),fe.clear(),Se(),xe.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",ge.start(z,(()=>{document.body.style.WebkitUserSelect=xe.current,Ce(e)}))},Ne.onTouchEnd=e=>{ae.props.onTouchEnd&&ae.props.onTouchEnd(e),Se(),me.start(H,(()=>{Ae(e)}))}),L||(Ne.onMouseOver=R(Ce,Ne.onMouseOver),Ne.onMouseLeave=R(Te,Ne.onMouseLeave),pe||(Le.onMouseOver=Ce,Le.onMouseLeave=Te)),N||(Ne.onFocus=R(Me,Ne.onFocus),Ne.onBlur=R(Ee,Ne.onBlur),pe||(Le.onFocus=Me,Le.onBlur=Ee));const $e=r.useMemo((()=>{let e=[{name:"arrow",enabled:Boolean(ue),options:{element:ue,padding:4}}];return Q.popperOptions?.modifiers&&(e=e.concat(Q.popperOptions.modifiers)),{...Q.popperOptions,modifiers:e}}),[ue,Q]),je={...n,isRtl:ie,arrow:s,disableInteractive:pe,placement:X,PopperComponentProp:K,touch:de.current},Fe=(e=>{const{classes:t,disableInteractive:n,arrow:r,touch:a,placement:o}=e,s={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",a&&"touch",`tooltipPlacement${(0,g.A)(o.split("-")[0])}`],arrow:["arrow"]};return(0,i.A)(s,C,t)})(je),Be=J.popper??_.Popper??E,ze=J.transition??_.Transition??te??v.A,We=J.tooltip??_.Tooltip??M,Ve=J.arrow??_.Arrow??P,Ue=(0,c.A)(Be,{...Q,...Z.popper??A.popper,className:(0,a.A)(Fe.popper,Q?.className,(Z.popper??A.popper)?.className)},je),He=(0,c.A)(ze,{...ne,...Z.transition??A.transition},je),qe=(0,c.A)(We,{...Z.tooltip??A.tooltip,className:(0,a.A)(Fe.tooltip,(Z.tooltip??A.tooltip)?.className)},je),Ge=(0,c.A)(Ve,{...Z.arrow??A.arrow,className:(0,a.A)(Fe.arrow,(Z.arrow??A.arrow)?.className)},je);return(0,k.jsxs)(r.Fragment,{children:[r.cloneElement(ae,Ne),(0,k.jsx)(Be,{as:K??y.A,placement:X,anchorEl:W?{getBoundingClientRect:()=>({top:D.y,left:D.x,right:D.x,bottom:D.y,width:0,height:0})}:se,popperRef:Ie,open:!!se&&be,id:we,transition:!0,...Le,...Ue,popperOptions:$e,children:({TransitionProps:e})=>(0,k.jsx)(ze,{timeout:oe.transitions.duration.shorter,...e,...He,children:(0,k.jsxs)(We,{...qe,children:[ee,s?(0,k.jsx)(Ve,{...Ge,ref:ce}):null]})})})]})}))},33551:(e,t,n)=>{"use strict";n.d(t,{A:()=>y});var r=n(96540),a=n(34164),o=n(75659),i=n(39242),s=n(11848),l=n(42637),u=n(25669),c=n(28466),d=n(78660),p=n(78651),f=n(74848);const h={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},m=(0,i.Dg)(),g=(0,s.Ay)("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],"inherit"!==n.align&&t[`align${(0,c.A)(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})((0,l.A)((({theme:e})=>({margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter((([e,t])=>"inherit"!==e&&t&&"object"==typeof t)).map((([e,t])=>({props:{variant:e},style:t}))),...Object.entries(e.palette).filter((0,d.A)()).map((([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))),...Object.entries(e.palette?.text||{}).filter((([,e])=>"string"==typeof e)).map((([t])=>({props:{color:`text${(0,c.A)(t)}`},style:{color:(e.vars||e).palette.text[t]}}))),{props:({ownerState:e})=>"inherit"!==e.align,style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:e})=>e.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:e})=>e.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:e})=>e.paragraph,style:{marginBottom:16}}]})))),v={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},y=r.forwardRef((function(e,t){const{color:n,...r}=(0,u.b)({props:e,name:"MuiTypography"}),i=m({...r,...!h[n]&&{color:n}}),{align:s="inherit",className:l,component:d,gutterBottom:y=!1,noWrap:b=!1,paragraph:w=!1,variant:x="body1",variantMapping:S=v,..._}=i,A={...i,align:s,color:n,className:l,component:d,gutterBottom:y,noWrap:b,paragraph:w,variant:x,variantMapping:S},C=d||(w?"p":S[x]||v[x])||"span",T=(e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:a,variant:i,classes:s}=e,l={root:["root",i,"inherit"!==e.align&&`align${(0,c.A)(t)}`,n&&"gutterBottom",r&&"noWrap",a&&"paragraph"]};return(0,o.A)(l,p.y,s)})(A);return(0,f.jsx)(g,{as:C,ref:t,className:(0,a.A)(T.root,l),..._,ownerState:A,style:{..."inherit"!==s&&{"--Typography-textAlign":s},..._.style}})}))},4604:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A,getTypographyUtilityClass:()=>a.y,typographyClasses:()=>a.A});var r=n(33551),a=n(78651)},78651:(e,t,n)=>{"use strict";n.d(t,{A:()=>i,y:()=>o});var r=n(38413),a=n(31609);function o(e){return(0,a.Ay)("MuiTypography",e)}const i=(0,r.A)("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"])},73524:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(96540),a=n(31523),o=n(57223),i=n(32325),s=n(74848);const l=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function u(e){const t=[],n=[];return Array.from(e.querySelectorAll(l)).forEach(((e,r)=>{const a=function(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==a&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}(e))}(e)&&(0===a?t.push(e):n.push({documentOrder:r,tabIndex:a,node:e}))})),n.sort(((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex)).map((e=>e.node)).concat(t)}function c(){return!0}const d=function(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:l=!1,disableRestoreFocus:d=!1,getTabbable:p=u,isEnabled:f=c,open:h}=e,m=r.useRef(!1),g=r.useRef(null),v=r.useRef(null),y=r.useRef(null),b=r.useRef(null),w=r.useRef(!1),x=r.useRef(null),S=(0,a.A)((0,o.A)(t),x),_=r.useRef(null);r.useEffect((()=>{h&&x.current&&(w.current=!n)}),[n,h]),r.useEffect((()=>{if(!h||!x.current)return;const e=(0,i.A)(x.current);return x.current.contains(e.activeElement)||(x.current.hasAttribute("tabIndex")||x.current.setAttribute("tabIndex","-1"),w.current&&x.current.focus()),()=>{d||(y.current&&y.current.focus&&(m.current=!0,y.current.focus()),y.current=null)}}),[h]),r.useEffect((()=>{if(!h||!x.current)return;const e=(0,i.A)(x.current),t=t=>{_.current=t,!l&&f()&&"Tab"===t.key&&e.activeElement===x.current&&t.shiftKey&&(m.current=!0,v.current&&v.current.focus())},n=()=>{const t=x.current;if(null===t)return;if(!e.hasFocus()||!f()||m.current)return void(m.current=!1);if(t.contains(e.activeElement))return;if(l&&e.activeElement!==g.current&&e.activeElement!==v.current)return;if(e.activeElement!==b.current)b.current=null;else if(null!==b.current)return;if(!w.current)return;let n=[];if(e.activeElement!==g.current&&e.activeElement!==v.current||(n=p(x.current)),n.length>0){const e=Boolean(_.current?.shiftKey&&"Tab"===_.current?.key),t=n[0],r=n[n.length-1];"string"!=typeof t&&"string"!=typeof r&&(e?r.focus():t.focus())}else t.focus()};e.addEventListener("focusin",n),e.addEventListener("keydown",t,!0);const r=setInterval((()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&n()}),50);return()=>{clearInterval(r),e.removeEventListener("focusin",n),e.removeEventListener("keydown",t,!0)}}),[n,l,d,f,h,p]);const A=e=>{null===y.current&&(y.current=e.relatedTarget),w.current=!0};return(0,s.jsxs)(r.Fragment,{children:[(0,s.jsx)("div",{tabIndex:h?0:-1,onFocus:A,ref:g,"data-testid":"sentinelStart"}),r.cloneElement(t,{ref:S,onFocus:e=>{null===y.current&&(y.current=e.relatedTarget),w.current=!0,b.current=e.target;const n=t.props.onFocus;n&&n(e)}}),(0,s.jsx)("div",{tabIndex:h?0:-1,onFocus:A,ref:v,"data-testid":"sentinelEnd"})]})}},55860:(e,t,n)=>{"use strict";n.d(t,{A:()=>y});var r=n(96540),a=n(34164),o=n(75659),i=n(28466),s=n(39770),l=n(11848),u=n(41159),c=n(79716),d=n(80189),p=n(38413),f=n(31609);function h(e){return(0,f.Ay)("PrivateSwitchBase",e)}(0,p.A)("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);var m=n(74848);const g=(0,l.Ay)(d.A)({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:e,ownerState:t})=>"start"===e&&"small"!==t.size,style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:e,ownerState:t})=>"end"===e&&"small"!==t.size,style:{marginRight:-12}}]}),v=(0,l.Ay)("input",{shouldForwardProp:s.A})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),y=r.forwardRef((function(e,t){const{autoFocus:n,checked:r,checkedIcon:s,className:l,defaultChecked:d,disabled:p,disableFocusRipple:f=!1,edge:y=!1,icon:b,id:w,inputProps:x,inputRef:S,name:_,onBlur:A,onChange:C,onFocus:T,readOnly:k,required:E=!1,tabIndex:M,type:P,value:O,...I}=e,[D,R]=(0,u.A)({controlled:r,default:Boolean(d),name:"SwitchBase",state:"checked"}),N=(0,c.A)();let L=p;N&&void 0===L&&(L=N.disabled);const $="checkbox"===P||"radio"===P,j={...e,checked:D,disabled:L,disableFocusRipple:f,edge:y},F=(e=>{const{classes:t,checked:n,disabled:r,edge:a}=e,s={root:["root",n&&"checked",r&&"disabled",a&&`edge${(0,i.A)(a)}`],input:["input"]};return(0,o.A)(s,h,t)})(j);return(0,m.jsxs)(g,{component:"span",className:(0,a.A)(F.root,l),centerRipple:!0,focusRipple:!f,disabled:L,tabIndex:null,role:void 0,onFocus:e=>{T&&T(e),N&&N.onFocus&&N.onFocus(e)},onBlur:e=>{A&&A(e),N&&N.onBlur&&N.onBlur(e)},ownerState:j,ref:t,...I,children:[(0,m.jsx)(v,{autoFocus:n,checked:r,defaultChecked:d,className:F.input,disabled:L,id:$?w:void 0,name:_,onChange:e=>{if(e.nativeEvent.defaultPrevented)return;const t=e.target.checked;R(t),C&&C(e,t)},readOnly:k,ref:S,required:E,ownerState:j,tabIndex:M,type:P,..."checkbox"===P&&void 0===O?{}:{value:O},...x}),D?s:b]})}))},602:(e,t,n)=>{"use strict";n.d(t,{A:()=>o}),n(96540);var r=n(20561),a=n(74848);const o=(0,r.A)((0,a.jsx)("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown")},16445:(e,t,n)=>{"use strict";n.d(t,{A:()=>o}),n(96540);var r=n(20561),a=n(74848);const o=(0,r.A)((0,a.jsx)("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft")},60124:(e,t,n)=>{"use strict";n.d(t,{A:()=>o}),n(96540);var r=n(20561),a=n(74848);const o=(0,r.A)((0,a.jsx)("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight")},25743:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>l,Qw:()=>s,UL:()=>i});var r=n(78232),a=n(98783);const o=[...Array(25)].map(((e,t)=>{if(0===t)return"none";const n=(0,a.A)(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`}));function i(e){return{inputPlaceholder:"dark"===e?.5:.42,inputUnderline:"dark"===e?.7:.42,switchTrackDisabled:"dark"===e?.2:.12,switchTrack:"dark"===e?.3:.38}}function s(e){return"dark"===e?o:[]}function l(e){const{palette:t={mode:"light"},opacity:n,overlays:a,...o}=e,l=(0,r.Ay)(t);return{palette:l,opacity:{...i(l.mode),...n},overlays:a||s(l.mode),...o}}},56877:(e,t,n)=>{"use strict";function r(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}n.d(t,{A:()=>r})},78232:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>v});var r=n(89453),a=n(11317),o=n(79739);const i={black:"#000",white:"#fff"},s={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},l={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},u={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},c={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},d={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},p={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},f={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},h={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:i.white,default:i.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},m={text:{primary:i.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:i.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function g(e,t,n,r){const a=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=(0,o.a)(e.main,a):"dark"===t&&(e.dark=(0,o.e$)(e.main,i)))}function v(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:v=.2,...y}=e,b=e.primary||function(e="light"){return"dark"===e?{main:d[200],light:d[50],dark:d[400]}:{main:d[700],light:d[400],dark:d[800]}}(t),w=e.secondary||function(e="light"){return"dark"===e?{main:l[200],light:l[50],dark:l[400]}:{main:l[500],light:l[300],dark:l[700]}}(t),x=e.error||function(e="light"){return"dark"===e?{main:u[500],light:u[300],dark:u[700]}:{main:u[700],light:u[400],dark:u[800]}}(t),S=e.info||function(e="light"){return"dark"===e?{main:p[400],light:p[300],dark:p[700]}:{main:p[700],light:p[500],dark:p[900]}}(t),_=e.success||function(e="light"){return"dark"===e?{main:f[400],light:f[300],dark:f[700]}:{main:f[800],light:f[500],dark:f[900]}}(t),A=e.warning||function(e="light"){return"dark"===e?{main:c[400],light:c[300],dark:c[700]}:{main:"#ed6c02",light:c[500],dark:c[900]}}(t);function C(e){return(0,o.eM)(e,m.text.primary)>=n?m.text.primary:h.text.primary}const T=({color:e,name:t,mainShade:n=500,lightShade:a=300,darkShade:o=700})=>{if(!(e={...e}).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw new Error((0,r.A)(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw new Error((0,r.A)(12,t?` (${t})`:"",JSON.stringify(e.main)));return g(e,"light",a,v),g(e,"dark",o,v),e.contrastText||(e.contrastText=C(e.main)),e},k={dark:m,light:h};return(0,a.A)({common:{...i},mode:t,primary:T({color:b,name:"primary"}),secondary:T({color:w,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:T({color:x,name:"error"}),warning:T({color:A,name:"warning"}),info:T({color:S,name:"info"}),success:T({color:_,name:"success"}),grey:s,contrastThreshold:n,getContrastText:C,augmentColor:T,tonalOffset:v,...k[t]},y)}},47994:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(78232),a=n(86131),o=n(25076);function i(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...!0!==n&&n,palette:(0,r.Ay)({...!0===n?{}:n.palette,mode:t})})}function s(e={},...t){const{palette:n,cssVariables:r=!1,colorSchemes:s=(n?void 0:{light:!0}),defaultColorScheme:l=n?.mode,...u}=e,c=l||"light",d=s?.[c],p={...s,...n?{[c]:{..."boolean"!=typeof d&&d,palette:n}}:void 0};if(!1===r){if(!("colorSchemes"in e))return(0,o.A)(e,...t);let r=n;"palette"in e||p[c]&&(!0!==p[c]?r=p[c].palette:"dark"===c&&(r={mode:"dark"}));const a=(0,o.A)({...e,palette:r},...t);return a.defaultColorScheme=c,a.colorSchemes=p,"light"===a.palette.mode&&(a.colorSchemes.light={...!0!==p.light&&p.light,palette:a.palette},i(a,"dark",p.dark)),"dark"===a.palette.mode&&(a.colorSchemes.dark={...!0!==p.dark&&p.dark,palette:a.palette},i(a,"light",p.light)),a}return n||"light"in p||"light"!==c||(p.light=!0),(0,a.A)({...u,colorSchemes:p,defaultColorScheme:c,..."boolean"!=typeof r&&r},...t)}},25076:(e,t,n)=>{"use strict";n.d(t,{D:()=>g,A:()=>v});var r=n(89453),a=n(11317),o=n(94584),i=n(37415),s=n(17983),l=n(56877),u=n(78232),c=n(44778);function d(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}const p=["none",d(0,2,1,-1,0,1,1,0,0,1,3,0),d(0,3,1,-2,0,2,2,0,0,1,5,0),d(0,3,3,-2,0,3,4,0,0,1,8,0),d(0,2,4,-1,0,4,5,0,0,1,10,0),d(0,3,5,-1,0,5,8,0,0,1,14,0),d(0,3,5,-1,0,6,10,0,0,1,18,0),d(0,4,5,-2,0,7,10,1,0,2,16,1),d(0,5,5,-3,0,8,10,1,0,3,14,2),d(0,5,6,-3,0,9,12,1,0,3,16,2),d(0,6,6,-3,0,10,14,1,0,4,18,3),d(0,6,7,-4,0,11,15,1,0,4,20,3),d(0,7,8,-4,0,12,17,2,0,5,22,4),d(0,7,8,-4,0,13,19,2,0,5,24,4),d(0,7,9,-4,0,14,21,2,0,5,26,4),d(0,8,9,-5,0,15,22,2,0,6,28,5),d(0,8,10,-5,0,16,24,2,0,6,30,5),d(0,8,11,-5,0,17,26,2,0,6,32,5),d(0,9,11,-5,0,18,28,2,0,7,34,6),d(0,9,12,-6,0,19,29,2,0,7,36,6),d(0,10,13,-6,0,20,31,3,0,8,38,7),d(0,10,13,-6,0,21,33,3,0,8,40,7),d(0,10,14,-6,0,22,35,3,0,8,42,7),d(0,11,14,-7,0,23,36,3,0,9,44,8),d(0,11,15,-7,0,24,38,3,0,9,46,8)];var f=n(17091);const h={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function m(e={},...t){const{breakpoints:n,mixins:d={},spacing:m,palette:g={},transitions:v={},typography:y={},shape:b,...w}=e;if(e.vars)throw new Error((0,r.A)(20));const x=(0,u.Ay)(g),S=(0,s.A)(e);let _=(0,a.A)(S,{mixins:(0,l.A)(S.breakpoints,d),palette:x,shadows:p.slice(),typography:(0,c.A)(x,y),transitions:(0,f.Ay)(v),zIndex:{...h}});return _=(0,a.A)(_,w),_=t.reduce(((e,t)=>(0,a.A)(e,t)),_),_.unstable_sxConfig={...o.A,...w?.unstable_sxConfig},_.unstable_sx=function(e){return(0,i.A)({sx:e,theme:this})},_}function g(...e){return m(...e)}const v=m},86131:(e,t,n)=>{"use strict";n.d(t,{A:()=>k});var r=n(89453),a=n(11317);function o(e=""){function t(...n){if(!n.length)return"";const r=n[0];return"string"!=typeof r||r.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, ${r}`:`, var(--${e?`${e}-`:""}${r}${t(...n.slice(1))})`}return(n,...r)=>`var(--${e?`${e}-`:""}${n}${t(...r)})`}var i=n(56879),s=n(61096);function l(e){const t={};return Object.entries(e).forEach((e=>{const[n,r]=e;"object"==typeof r&&(t[n]=`${r.fontStyle?`${r.fontStyle} `:""}${r.fontVariant?`${r.fontVariant} `:""}${r.fontWeight?`${r.fontWeight} `:""}${r.fontStretch?`${r.fontStretch} `:""}${r.fontSize||""}${r.lineHeight?`/${r.lineHeight} `:""}${r.fontFamily||""}`)})),t}const u=(e,t,n,r=[])=>{let a=e;t.forEach(((e,o)=>{o===t.length-1?Array.isArray(a)?a[Number(e)]=n:a&&"object"==typeof a&&(a[e]=n):a&&"object"==typeof a&&(a[e]||(a[e]=r.includes(e)?[]:{}),a=a[e])}))};function c(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},a={},o={},i={};return s=(e,t,s)=>{if(!("string"!=typeof t&&"number"!=typeof t||r&&r(e,t))){const r=`--${n?`${n}-`:""}${e.join("-")}`,l=((e,t)=>"number"==typeof t?["lineHeight","fontWeight","opacity","zIndex"].some((t=>e.includes(t)))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t)(e,t);Object.assign(a,{[r]:l}),u(o,e,`var(${r})`,s),u(i,e,`var(${r}, ${l})`,s)}},l=e=>"vars"===e[0],function e(t,n=[],r=[]){Object.entries(t).forEach((([t,a])=>{(!l||l&&!l([...n,t]))&&null!=a&&("object"==typeof a&&Object.keys(a).length>0?e(a,[...n,t],Array.isArray(a)?[...r,t]:r):s([...n,t],a,r))}))}(e),{css:a,vars:o,varsWithDefaults:i};var s,l}const d=function(e,t={}){const{getSelector:n=y,disableCssColorScheme:r,colorSchemeSelector:o}=t,{colorSchemes:i={},components:s,defaultColorScheme:l="light",...u}=e,{vars:d,css:p,varsWithDefaults:f}=c(u,t);let h=f;const m={},{[l]:g,...v}=i;if(Object.entries(v||{}).forEach((([e,n])=>{const{vars:r,css:o,varsWithDefaults:i}=c(n,t);h=(0,a.A)(h,i),m[e]={css:o,vars:r}})),g){const{css:e,vars:n,varsWithDefaults:r}=c(g,t);h=(0,a.A)(h,r),m[l]={css:e,vars:n}}function y(t,n){let r=o;if("class"===o&&(r=".%s"),"data"===o&&(r="[data-%s]"),o?.startsWith("data-")&&!o.includes("%s")&&(r=`[${o}="%s"]`),t){if("media"===r)return e.defaultColorScheme===t?":root":{[`@media (prefers-color-scheme: ${i[t]?.palette?.mode||t})`]:{":root":n}};if(r)return e.defaultColorScheme===t?`:root, ${r.replace("%s",String(t))}`:r.replace("%s",String(t))}return":root"}return{vars:h,generateThemeVars:()=>{let e={...d};return Object.entries(m).forEach((([,{vars:t}])=>{e=(0,a.A)(e,t)})),e},generateStyleSheets:()=>{const t=[],a=e.defaultColorScheme||"light";function o(e,n){Object.keys(n).length&&t.push("string"==typeof e?{[e]:{...n}}:e)}o(n(void 0,{...p}),p);const{[a]:s,...l}=m;if(s){const{css:e}=s,t=i[a]?.palette?.mode,l=!r&&t?{colorScheme:t,...e}:{...e};o(n(a,{...l}),l)}return Object.entries(l).forEach((([e,{css:t}])=>{const a=i[e]?.palette?.mode,s=!r&&a?{colorScheme:a,...t}:{...t};o(n(e,{...s}),s)})),t}}};var p=n(94584),f=n(37415),h=n(79739),m=n(25076),g=n(25743),v=n(69866),y=n(90772);const b=e=>(t,n)=>{const r=e.rootSelector||":root",a=e.colorSchemeSelector;let o=a;if("class"===a&&(o=".%s"),"data"===a&&(o="[data-%s]"),a?.startsWith("data-")&&!a.includes("%s")&&(o=`[${a}="%s"]`),e.defaultColorScheme===t){if("dark"===t){const a={};return(0,y.A)(e.cssVarPrefix).forEach((e=>{a[e]=n[e],delete n[e]})),"media"===o?{[r]:n,"@media (prefers-color-scheme: dark)":{[r]:a}}:o?{[o.replace("%s",t)]:a,[`${r}, ${o.replace("%s",t)}`]:n}:{[r]:{...n,...a}}}if(o&&"media"!==o)return`${r}, ${o.replace("%s",String(t))}`}else if(t){if("media"===o)return{[`@media (prefers-color-scheme: ${String(t)})`]:{[r]:n}};if(o)return o.replace("%s",String(t))}return r};function w(e={}){const t={...e};return function e(t){const n=Object.entries(t);for(let o=0;o{try{return e()}catch(e){}},C=(e="mui")=>o(e);function T(e,t,n,r){if(!t)return;t=!0===t?{}:t;const a="dark"===r?"dark":"light";if(!n)return void(e[r]=(0,g.Ay)({...t,palette:{mode:a,...t?.palette}}));const{palette:o,...i}=(0,m.A)({...n,palette:{mode:a,...t?.palette}});return e[r]={...t,palette:o,opacity:{...(0,g.UL)(a),...t?.opacity},overlays:t?.overlays||(0,g.Qw)(a)},i}function k(e={},...t){const{colorSchemes:n={light:!0},defaultColorScheme:o,disableCssColorScheme:u=!1,cssVarPrefix:c="mui",shouldSkipGeneratingVar:m=v.A,colorSchemeSelector:g=(n.light&&n.dark?"media":void 0),rootSelector:y=":root",...k}=e,E=Object.keys(n)[0],M=o||(n.light&&"light"!==E?"light":E),P=C(c),{[M]:O,light:I,dark:D,...R}=n,N={...R};let L=O;if(("dark"===M&&!("dark"in n)||"light"===M&&!("light"in n))&&(L=!0),!L)throw new Error((0,r.A)(21,M));const $=T(N,L,k,M);I&&!N.light&&T(N,I,void 0,"light"),D&&!N.dark&&T(N,D,void 0,"dark");let j={defaultColorScheme:M,...$,cssVarPrefix:c,colorSchemeSelector:g,rootSelector:y,getCssVar:P,colorSchemes:N,font:{...l($.typography),...$.font},spacing:(F=k.spacing,"number"==typeof F?`${F}px`:"string"==typeof F||"function"==typeof F||Array.isArray(F)?F:"8px")};var F;Object.keys(j.colorSchemes).forEach((e=>{const t=j.colorSchemes[e].palette,n=e=>{const n=e.split("-"),r=n[1],a=n[2];return P(e,t[r][a])};var r;if("light"===t.mode&&(x(t.common,"background","#fff"),x(t.common,"onBackground","#000")),"dark"===t.mode&&(x(t.common,"background","#000"),x(t.common,"onBackground","#fff")),r=t,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"].forEach((e=>{r[e]||(r[e]={})})),"light"===t.mode){x(t.Alert,"errorColor",(0,h.Nd)(t.error.light,.6)),x(t.Alert,"infoColor",(0,h.Nd)(t.info.light,.6)),x(t.Alert,"successColor",(0,h.Nd)(t.success.light,.6)),x(t.Alert,"warningColor",(0,h.Nd)(t.warning.light,.6)),x(t.Alert,"errorFilledBg",n("palette-error-main")),x(t.Alert,"infoFilledBg",n("palette-info-main")),x(t.Alert,"successFilledBg",n("palette-success-main")),x(t.Alert,"warningFilledBg",n("palette-warning-main")),x(t.Alert,"errorFilledColor",A((()=>t.getContrastText(t.error.main)))),x(t.Alert,"infoFilledColor",A((()=>t.getContrastText(t.info.main)))),x(t.Alert,"successFilledColor",A((()=>t.getContrastText(t.success.main)))),x(t.Alert,"warningFilledColor",A((()=>t.getContrastText(t.warning.main)))),x(t.Alert,"errorStandardBg",(0,h.j4)(t.error.light,.9)),x(t.Alert,"infoStandardBg",(0,h.j4)(t.info.light,.9)),x(t.Alert,"successStandardBg",(0,h.j4)(t.success.light,.9)),x(t.Alert,"warningStandardBg",(0,h.j4)(t.warning.light,.9)),x(t.Alert,"errorIconColor",n("palette-error-main")),x(t.Alert,"infoIconColor",n("palette-info-main")),x(t.Alert,"successIconColor",n("palette-success-main")),x(t.Alert,"warningIconColor",n("palette-warning-main")),x(t.AppBar,"defaultBg",n("palette-grey-100")),x(t.Avatar,"defaultBg",n("palette-grey-400")),x(t.Button,"inheritContainedBg",n("palette-grey-300")),x(t.Button,"inheritContainedHoverBg",n("palette-grey-A100")),x(t.Chip,"defaultBorder",n("palette-grey-400")),x(t.Chip,"defaultAvatarColor",n("palette-grey-700")),x(t.Chip,"defaultIconColor",n("palette-grey-700")),x(t.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),x(t.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),x(t.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),x(t.LinearProgress,"primaryBg",(0,h.j4)(t.primary.main,.62)),x(t.LinearProgress,"secondaryBg",(0,h.j4)(t.secondary.main,.62)),x(t.LinearProgress,"errorBg",(0,h.j4)(t.error.main,.62)),x(t.LinearProgress,"infoBg",(0,h.j4)(t.info.main,.62)),x(t.LinearProgress,"successBg",(0,h.j4)(t.success.main,.62)),x(t.LinearProgress,"warningBg",(0,h.j4)(t.warning.main,.62)),x(t.Skeleton,"bg",`rgba(${n("palette-text-primaryChannel")} / 0.11)`),x(t.Slider,"primaryTrack",(0,h.j4)(t.primary.main,.62)),x(t.Slider,"secondaryTrack",(0,h.j4)(t.secondary.main,.62)),x(t.Slider,"errorTrack",(0,h.j4)(t.error.main,.62)),x(t.Slider,"infoTrack",(0,h.j4)(t.info.main,.62)),x(t.Slider,"successTrack",(0,h.j4)(t.success.main,.62)),x(t.Slider,"warningTrack",(0,h.j4)(t.warning.main,.62));const e=(0,h.Y9)(t.background.default,.8);x(t.SnackbarContent,"bg",e),x(t.SnackbarContent,"color",A((()=>t.getContrastText(e)))),x(t.SpeedDialAction,"fabHoverBg",(0,h.Y9)(t.background.paper,.15)),x(t.StepConnector,"border",n("palette-grey-400")),x(t.StepContent,"border",n("palette-grey-400")),x(t.Switch,"defaultColor",n("palette-common-white")),x(t.Switch,"defaultDisabledColor",n("palette-grey-100")),x(t.Switch,"primaryDisabledColor",(0,h.j4)(t.primary.main,.62)),x(t.Switch,"secondaryDisabledColor",(0,h.j4)(t.secondary.main,.62)),x(t.Switch,"errorDisabledColor",(0,h.j4)(t.error.main,.62)),x(t.Switch,"infoDisabledColor",(0,h.j4)(t.info.main,.62)),x(t.Switch,"successDisabledColor",(0,h.j4)(t.success.main,.62)),x(t.Switch,"warningDisabledColor",(0,h.j4)(t.warning.main,.62)),x(t.TableCell,"border",(0,h.j4)((0,h.Cg)(t.divider,1),.88)),x(t.Tooltip,"bg",(0,h.Cg)(t.grey[700],.92))}if("dark"===t.mode){x(t.Alert,"errorColor",(0,h.j4)(t.error.light,.6)),x(t.Alert,"infoColor",(0,h.j4)(t.info.light,.6)),x(t.Alert,"successColor",(0,h.j4)(t.success.light,.6)),x(t.Alert,"warningColor",(0,h.j4)(t.warning.light,.6)),x(t.Alert,"errorFilledBg",n("palette-error-dark")),x(t.Alert,"infoFilledBg",n("palette-info-dark")),x(t.Alert,"successFilledBg",n("palette-success-dark")),x(t.Alert,"warningFilledBg",n("palette-warning-dark")),x(t.Alert,"errorFilledColor",A((()=>t.getContrastText(t.error.dark)))),x(t.Alert,"infoFilledColor",A((()=>t.getContrastText(t.info.dark)))),x(t.Alert,"successFilledColor",A((()=>t.getContrastText(t.success.dark)))),x(t.Alert,"warningFilledColor",A((()=>t.getContrastText(t.warning.dark)))),x(t.Alert,"errorStandardBg",(0,h.Nd)(t.error.light,.9)),x(t.Alert,"infoStandardBg",(0,h.Nd)(t.info.light,.9)),x(t.Alert,"successStandardBg",(0,h.Nd)(t.success.light,.9)),x(t.Alert,"warningStandardBg",(0,h.Nd)(t.warning.light,.9)),x(t.Alert,"errorIconColor",n("palette-error-main")),x(t.Alert,"infoIconColor",n("palette-info-main")),x(t.Alert,"successIconColor",n("palette-success-main")),x(t.Alert,"warningIconColor",n("palette-warning-main")),x(t.AppBar,"defaultBg",n("palette-grey-900")),x(t.AppBar,"darkBg",n("palette-background-paper")),x(t.AppBar,"darkColor",n("palette-text-primary")),x(t.Avatar,"defaultBg",n("palette-grey-600")),x(t.Button,"inheritContainedBg",n("palette-grey-800")),x(t.Button,"inheritContainedHoverBg",n("palette-grey-700")),x(t.Chip,"defaultBorder",n("palette-grey-700")),x(t.Chip,"defaultAvatarColor",n("palette-grey-300")),x(t.Chip,"defaultIconColor",n("palette-grey-300")),x(t.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),x(t.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),x(t.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),x(t.LinearProgress,"primaryBg",(0,h.Nd)(t.primary.main,.5)),x(t.LinearProgress,"secondaryBg",(0,h.Nd)(t.secondary.main,.5)),x(t.LinearProgress,"errorBg",(0,h.Nd)(t.error.main,.5)),x(t.LinearProgress,"infoBg",(0,h.Nd)(t.info.main,.5)),x(t.LinearProgress,"successBg",(0,h.Nd)(t.success.main,.5)),x(t.LinearProgress,"warningBg",(0,h.Nd)(t.warning.main,.5)),x(t.Skeleton,"bg",`rgba(${n("palette-text-primaryChannel")} / 0.13)`),x(t.Slider,"primaryTrack",(0,h.Nd)(t.primary.main,.5)),x(t.Slider,"secondaryTrack",(0,h.Nd)(t.secondary.main,.5)),x(t.Slider,"errorTrack",(0,h.Nd)(t.error.main,.5)),x(t.Slider,"infoTrack",(0,h.Nd)(t.info.main,.5)),x(t.Slider,"successTrack",(0,h.Nd)(t.success.main,.5)),x(t.Slider,"warningTrack",(0,h.Nd)(t.warning.main,.5));const e=(0,h.Y9)(t.background.default,.98);x(t.SnackbarContent,"bg",e),x(t.SnackbarContent,"color",A((()=>t.getContrastText(e)))),x(t.SpeedDialAction,"fabHoverBg",(0,h.Y9)(t.background.paper,.15)),x(t.StepConnector,"border",n("palette-grey-600")),x(t.StepContent,"border",n("palette-grey-600")),x(t.Switch,"defaultColor",n("palette-grey-300")),x(t.Switch,"defaultDisabledColor",n("palette-grey-600")),x(t.Switch,"primaryDisabledColor",(0,h.Nd)(t.primary.main,.55)),x(t.Switch,"secondaryDisabledColor",(0,h.Nd)(t.secondary.main,.55)),x(t.Switch,"errorDisabledColor",(0,h.Nd)(t.error.main,.55)),x(t.Switch,"infoDisabledColor",(0,h.Nd)(t.info.main,.55)),x(t.Switch,"successDisabledColor",(0,h.Nd)(t.success.main,.55)),x(t.Switch,"warningDisabledColor",(0,h.Nd)(t.warning.main,.55)),x(t.TableCell,"border",(0,h.Nd)((0,h.Cg)(t.divider,1),.68)),x(t.Tooltip,"bg",(0,h.Cg)(t.grey[700],.92))}_(t.background,"default"),_(t.background,"paper"),_(t.common,"background"),_(t.common,"onBackground"),_(t,"divider"),Object.keys(t).forEach((e=>{const n=t[e];n&&"object"==typeof n&&(n.main&&x(t[e],"mainChannel",(0,h.Me)(S(n.main))),n.light&&x(t[e],"lightChannel",(0,h.Me)(S(n.light))),n.dark&&x(t[e],"darkChannel",(0,h.Me)(S(n.dark))),n.contrastText&&x(t[e],"contrastTextChannel",(0,h.Me)(S(n.contrastText))),"text"===e&&(_(t[e],"primary"),_(t[e],"secondary")),"action"===e&&(n.active&&_(t[e],"active"),n.selected&&_(t[e],"selected")))}))})),j=t.reduce(((e,t)=>(0,a.A)(e,t)),j);const B={prefix:c,disableCssColorScheme:u,shouldSkipGeneratingVar:m,getSelector:b(j)},{vars:z,generateThemeVars:W,generateStyleSheets:V}=d(j,B);return j.vars=z,Object.entries(j.colorSchemes[j.defaultColorScheme]).forEach((([e,t])=>{j[e]=t})),j.generateThemeVars=W,j.generateStyleSheets=V,j.generateSpacing=function(){return(0,i.A)(k.spacing,(0,s.LX)(this))},j.getColorSchemeSelector=function(e){return function(t){return"media"===e?`@media (prefers-color-scheme: ${t})`:e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${t}"] &`:"class"===e?`.${t} &`:"data"===e?`[data-${t}] &`:`${e.replace("%s",t)} &`:"&"}}(g),j.spacing=j.generateSpacing(),j.shouldSkipGeneratingVar=m,j.unstable_sxConfig={...p.A,...k?.unstable_sxConfig},j.unstable_sx=function(e){return(0,f.A)({sx:e,theme:this})},j.toRuntimeSource=w,j}},17091:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>s,cz:()=>r,p0:()=>a});const r={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},a={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function o(e){return`${Math.round(e)}ms`}function i(e){if(!e)return 0;const t=e/36;return Math.min(Math.round(10*(4+15*t**.25+t/5)),3e3)}function s(e){const t={...r,...e.easing},n={...a,...e.duration};return{getAutoHeightDuration:i,create:(e=["all"],r={})=>{const{duration:a=n.standard,easing:i=t.easeInOut,delay:s=0,...l}=r;return(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof a?a:o(a)} ${i} ${"string"==typeof s?s:o(s)}`)).join(",")},...e,easing:t,duration:n}}},44778:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(11317);const a={textTransform:"uppercase"},o='"Roboto", "Helvetica", "Arial", sans-serif';function i(e,t){const{fontFamily:n=o,fontSize:i=14,fontWeightLight:s=300,fontWeightRegular:l=400,fontWeightMedium:u=500,fontWeightBold:c=700,htmlFontSize:d=16,allVariants:p,pxToRem:f,...h}="function"==typeof t?t(e):t,m=i/14,g=f||(e=>e/d*m+"rem"),v=(e,t,r,a,i)=>{return{fontFamily:n,fontWeight:e,fontSize:g(t),lineHeight:r,...n===o?{letterSpacing:(s=a/t,Math.round(1e5*s)/1e5+"em")}:{},...i,...p};var s},y={h1:v(s,96,1.167,-1.5),h2:v(s,60,1.2,-.5),h3:v(l,48,1.167,0),h4:v(l,34,1.235,.25),h5:v(l,24,1.334,0),h6:v(u,20,1.6,.15),subtitle1:v(l,16,1.75,.15),subtitle2:v(u,14,1.57,.1),body1:v(l,16,1.5,.15),body2:v(l,14,1.43,.15),button:v(u,14,1.75,.4,a),caption:v(l,12,1.66,.4),overline:v(l,12,2.66,1,a),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,r.A)({htmlFontSize:d,pxToRem:g,fontFamily:n,fontSize:i,fontWeightLight:s,fontWeightRegular:l,fontWeightMedium:u,fontWeightBold:c,...y},h,{clone:!1})}},31127:(e,t,n)=>{"use strict";function r(e){return String(parseFloat(e)).length===String(e).length}function a(e){return String(e).match(/[\d.\-+]*\s*(.*)/)[1]||""}function o(e){return parseFloat(e)}function i(e){return(t,n)=>{const r=a(t);if(r===n)return t;let i=o(t);"px"!==r&&("em"===r||"rem"===r)&&(i=o(t)*o(e));let s=i;if("px"!==n)if("em"===n)s=i/o(e);else{if("rem"!==n)return t;s=i/o(e)}return parseFloat(s.toFixed(5))+n}}function s({size:e,grid:t}){const n=e-e%t,r=n+t;return e-n{let a=t+s*n;null!==o&&(a=o(a)),i[`@media (min-width:${n}px)`]={[e]:`${Math.round(1e4*a)/1e4}${r}`}})),i}n.d(t,{I3:()=>i,VR:()=>s,a9:()=>r,db:()=>o,l_:()=>a,qW:()=>l,yL:()=>u})},22765:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=(0,n(47994).A)()},90772:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=e=>[...[...Array(25)].map(((t,n)=>`--${e?`${e}-`:""}overlays-${n}`)),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`]},98783:(e,t,n)=>{"use strict";function r(e){let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,Math.round(10*t)/1e3}n.d(t,{A:()=>r})},58312:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r="$$material"},43590:(e,t,n)=>{"use strict";n.r(t),n.d(t,{CssVarsProvider:()=>ne,Experimental_CssVarsProvider:()=>J,StyledEngineProvider:()=>se,THEME_ID:()=>a.A,ThemeProvider:()=>re,adaptV4Theme:()=>s,alpha:()=>l.X4,createColorScheme:()=>b.Ay,createMuiTheme:()=>d.D,createStyles:()=>m,createTheme:()=>c.A,createTransitions:()=>y.Ay,css:()=>u.AH,darken:()=>l.e$,decomposeColor:()=>l.rP,duration:()=>y.p0,easing:()=>y.cz,emphasize:()=>l.tL,experimentalStyled:()=>S.Ay,experimental_extendTheme:()=>fe,experimental_sx:()=>ye,extendTheme:()=>de.A,getContrastRatio:()=>l.eM,getInitColorSchemeScript:()=>te,getLuminance:()=>l.J1,getOverlayAlpha:()=>he.A,hexToRgb:()=>l.E2,hslToRgb:()=>l.YL,keyframes:()=>u.i7,lighten:()=>l.a,makeStyles:()=>le,private_createMixins:()=>ge.A,private_createTypography:()=>H.A,private_excludeVariablesFromRoot:()=>ve.A,recomposeColor:()=>l.X0,responsiveFontSizes:()=>v,rgbToHex:()=>l.Ob,shouldSkipGeneratingVar:()=>me.A,styled:()=>S.Ay,unstable_createBreakpoints:()=>i.A,unstable_createMuiStrictModeTheme:()=>f,unstable_getUnit:()=>g.l_,unstable_toUnitless:()=>g.db,useColorScheme:()=>Q,useTheme:()=>w.A,useThemeProps:()=>x.A,withStyles:()=>ue,withTheme:()=>ce});var r=n(89453),a=n(58312),o=n(56879),i=n(50699);function s(e){const{defaultProps:t={},mixins:n={},overrides:r={},palette:a={},props:s={},styleOverrides:l={},...u}=e,c={...u,components:{}};Object.keys(t).forEach((e=>{const n=c.components[e]||{};n.defaultProps=t[e],c.components[e]=n})),Object.keys(s).forEach((e=>{const t=c.components[e]||{};t.defaultProps=s[e],c.components[e]=t})),Object.keys(l).forEach((e=>{const t=c.components[e]||{};t.styleOverrides=l[e],c.components[e]=t})),Object.keys(r).forEach((e=>{const t=c.components[e]||{};t.styleOverrides=r[e],c.components[e]=t})),c.spacing=(0,o.A)(e.spacing);const d=(0,i.A)(e.breakpoints||{}),p=c.spacing;c.mixins={gutters:(e={})=>({paddingLeft:p(2),paddingRight:p(2),...e,[d.up("sm")]:{paddingLeft:p(3),paddingRight:p(3),...e[d.up("sm")]}}),...n};const{type:f,mode:h,...m}=a,g=h||f||"light";return c.palette={text:{hint:"dark"===g?"rgba(255, 255, 255, 0.5)":"rgba(0, 0, 0, 0.38)"},mode:g,type:g,...m},c}var l=n(79739),u=n(17437),c=n(47994),d=n(25076),p=n(11317);function f(e,...t){return(0,c.A)((0,p.A)({unstable_strictMode:!0},e),...t)}let h=!1;function m(e){return h||(console.warn(["MUI: createStyles from @mui/material/styles is deprecated.","Please use @mui/styles/createStyles"].join("\n")),h=!0),e}var g=n(31127);function v(e,t={}){const{breakpoints:n=["sm","md","lg"],disableAlign:a=!1,factor:o=2,variants:i=["h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","caption","button","overline"]}=t,s={...e};s.typography={...s.typography};const l=s.typography,u=(0,g.I3)(l.htmlFontSize),c=n.map((e=>s.breakpoints.values[e]));return i.forEach((e=>{const t=l[e];if(!t)return;const n=parseFloat(u(t.fontSize,"rem"));if(n<=1)return;const i=n,s=1+(i-1)/o;let{lineHeight:d}=t;if(!(0,g.a9)(d)&&!a)throw new Error((0,r.A)(6));(0,g.a9)(d)||(d=parseFloat(u(d,"rem"))/parseFloat(n));let p=null;a||(p=e=>(0,g.VR)({size:e,grid:(0,g.qW)({pixels:4,lineHeight:d,htmlFontSize:l.htmlFontSize})})),l[e]={...t,...(0,g.yL)({cssProperty:"fontSize",min:s,max:i,unit:"rem",breakpoints:c,transform:p})}})),s}var y=n(17091),b=n(25743),w=n(44675),x=n(98844),S=n(11848),_=n(96540),A=n(61641),C=n(83738),T=n(64673),k=n(74848);const E=function(e){const{children:t,theme:n}=e,r=(0,A.A)(),a=_.useMemo((()=>{const e=null===r?{...n}:function(e,t){return"function"==typeof t?t(e):{...e,...t}}(r,n);return null!=e&&(e[T.A]=null!==r),e}),[n,r]);return(0,k.jsx)(C.A.Provider,{value:a,children:t})};var M=n(99214),P=n(46539),O=n(93944),I=n(50257);const D={};function R(e,t,n,r=!1){return _.useMemo((()=>{const a=e&&t[e]||t;if("function"==typeof n){const o=n(a),i=e?{...t,[e]:o}:o;return r?()=>i:i}return e?{...t,[e]:n}:{...t,...n}}),[e,t,n,r])}const N=function(e){const{children:t,theme:n,themeId:r}=e,a=(0,P.A)(D),o=(0,A.A)()||D,i=R(r,a,n),s=R(r,o,n,!0),l="rtl"===i.direction;return(0,k.jsx)(E,{theme:s,children:(0,k.jsx)(M.T.Provider,{value:i,children:(0,k.jsx)(O.A,{value:l,children:(0,k.jsx)(I.A,{value:i?.components,children:t})})})})};function L({theme:e,...t}){const n=a.A in e?e[a.A]:void 0;return(0,k.jsx)(N,{...t,themeId:n?a.A:void 0,theme:n||e})}var $=n(37415),j=n(39940);const F="mode",B="color-scheme",z="data-color-scheme";function W(e){if("undefined"!=typeof window&&"function"==typeof window.matchMedia&&"system"===e)return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function V(e,t){return"light"===e.mode||"system"===e.mode&&"light"===e.systemMode?t("light"):"dark"===e.mode||"system"===e.mode&&"dark"===e.systemMode?t("dark"):void 0}function U(e,t){if("undefined"==typeof window)return;let n;try{n=localStorage.getItem(e)||void 0,n||localStorage.setItem(e,t)}catch{}return n||t}var H=n(44778);const q="mui-color-scheme",G="light",Y="dark",X="mui-mode",{CssVarsProvider:K,useColorScheme:Q,getInitColorSchemeScript:Z}=function(e){const{themeId:t,theme:n={},modeStorageKey:r=F,colorSchemeStorageKey:a=B,disableTransitionOnChange:o=!1,defaultColorScheme:i,resolveTheme:s}=e,l={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},u=_.createContext(void 0),c="string"==typeof i?i:i.light,d="string"==typeof i?i:i.dark;return{CssVarsProvider:function(e){const{children:l,theme:c,modeStorageKey:d=r,colorSchemeStorageKey:p=a,disableTransitionOnChange:f=o,storageWindow:h=("undefined"==typeof window?void 0:window),documentNode:m=("undefined"==typeof document?void 0:document),colorSchemeNode:g=("undefined"==typeof document?void 0:document.documentElement),disableNestedContext:v=!1,disableStyleSheetGeneration:y=!1,defaultMode:b="system"}=e,w=_.useRef(!1),x=(0,A.A)(),S=_.useContext(u),C=!!S&&!v,T=_.useMemo((()=>c||("function"==typeof n?n():n)),[c]),E=T[t],{colorSchemes:M={},components:P={},cssVarPrefix:O,...I}=E||T,D=Object.keys(M).filter((e=>!!M[e])).join(","),R=_.useMemo((()=>D.split(",")),[D]),L="string"==typeof i?i:i.light,$="string"==typeof i?i:i.dark,z=M[L]&&M[$]?b:M[I.defaultColorScheme]?.palette?.mode||I.palette?.mode,{mode:H,setMode:q,systemMode:G,lightColorScheme:Y,darkColorScheme:X,colorScheme:K,setColorScheme:Q}=function(e){const{defaultMode:t="light",defaultLightColorScheme:n,defaultDarkColorScheme:r,supportedColorSchemes:a=[],modeStorageKey:o=F,colorSchemeStorageKey:i=B,storageWindow:s=("undefined"==typeof window?void 0:window)}=e,l=a.join(","),u=a.length>1,[c,d]=_.useState((()=>{const e=U(o,t),a=U(`${i}-light`,n),s=U(`${i}-dark`,r);return{mode:e,systemMode:W(e),lightColorScheme:a,darkColorScheme:s}})),[,p]=_.useState(!1),f=_.useRef(!1);_.useEffect((()=>{u&&p(!0),f.current=!0}),[u]);const h=function(e){return V(e,(t=>"light"===t?e.lightColorScheme:"dark"===t?e.darkColorScheme:void 0))}(c),m=_.useCallback((e=>{d((n=>{if(e===n.mode)return n;const r=e??t;try{localStorage.setItem(o,r)}catch{}return{...n,mode:r,systemMode:W(r)}}))}),[o,t]),g=_.useCallback((e=>{e?"string"==typeof e?e&&!l.includes(e)?console.error(`\`${e}\` does not exist in \`theme.colorSchemes\`.`):d((t=>{const n={...t};return V(t,(t=>{try{localStorage.setItem(`${i}-${t}`,e)}catch{}"light"===t&&(n.lightColorScheme=e),"dark"===t&&(n.darkColorScheme=e)})),n})):d((t=>{const a={...t},o=null===e.light?n:e.light,s=null===e.dark?r:e.dark;if(o)if(l.includes(o)){a.lightColorScheme=o;try{localStorage.setItem(`${i}-light`,o)}catch(e){}}else console.error(`\`${o}\` does not exist in \`theme.colorSchemes\`.`);if(s)if(l.includes(s)){a.darkColorScheme=s;try{localStorage.setItem(`${i}-dark`,s)}catch(e){}}else console.error(`\`${s}\` does not exist in \`theme.colorSchemes\`.`);return a})):d((e=>{try{localStorage.setItem(`${i}-light`,n),localStorage.setItem(`${i}-dark`,r)}catch{}return{...e,lightColorScheme:n,darkColorScheme:r}}))}),[l,i,n,r]),v=_.useCallback((e=>{"system"===c.mode&&d((t=>{const n=e?.matches?"dark":"light";return t.systemMode===n?t:{...t,systemMode:n}}))}),[c.mode]),y=_.useRef(v);return y.current=v,_.useEffect((()=>{if("function"!=typeof window.matchMedia||!u)return;const e=(...e)=>y.current(...e),t=window.matchMedia("(prefers-color-scheme: dark)");return t.addListener(e),e(t),()=>{t.removeListener(e)}}),[u]),_.useEffect((()=>{if(s&&u){const e=e=>{const n=e.newValue;"string"!=typeof e.key||!e.key.startsWith(i)||n&&!l.match(n)||(e.key.endsWith("light")&&g({light:n}),e.key.endsWith("dark")&&g({dark:n})),e.key!==o||n&&!["light","dark","system"].includes(n)||m(n||t)};return s.addEventListener("storage",e),()=>{s.removeEventListener("storage",e)}}}),[g,m,o,i,l,t,s,u]),{...c,mode:f.current||!u?c.mode:void 0,systemMode:f.current||!u?c.systemMode:void 0,colorScheme:f.current||!u?h:void 0,setMode:m,setColorScheme:g}}({supportedColorSchemes:R,defaultLightColorScheme:L,defaultDarkColorScheme:$,modeStorageKey:d,colorSchemeStorageKey:p,defaultMode:z,storageWindow:h});let Z=H,J=K;C&&(Z=S.mode,J=S.colorScheme);const ee=J||I.defaultColorScheme,te=I.generateThemeVars?.()||I.vars,ne={...I,components:P,colorSchemes:M,cssVarPrefix:O,vars:te};if("function"==typeof ne.generateSpacing&&(ne.spacing=ne.generateSpacing()),ee){const e=M[ee];e&&"object"==typeof e&&Object.keys(e).forEach((t=>{e[t]&&"object"==typeof e[t]?ne[t]={...ne[t],...e[t]}:ne[t]=e[t]}))}const re=I.colorSchemeSelector;_.useEffect((()=>{if(J&&g&&re&&"media"!==re){const e=re;let t=re;if("class"===e&&(t=".%s"),"data"===e&&(t="[data-%s]"),e?.startsWith("data-")&&!e.includes("%s")&&(t=`[${e}="%s"]`),t.startsWith("."))g.classList.remove(...R.map((e=>t.substring(1).replace("%s",e)))),g.classList.add(t.substring(1).replace("%s",J));else{const e=t.replace("%s",J).match(/\[([^\]]+)\]/);if(e){const[t,n]=e[1].split("=");n||R.forEach((e=>{g.removeAttribute(t.replace(J,e))})),g.setAttribute(t,n?n.replace(/"|'/g,""):"")}else g.setAttribute(t,J)}}}),[J,re,g,R]),_.useEffect((()=>{let e;if(f&&w.current&&m){const t=m.createElement("style");t.appendChild(m.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),m.head.appendChild(t),window.getComputedStyle(m.body),e=setTimeout((()=>{m.head.removeChild(t)}),1)}return()=>{clearTimeout(e)}}),[J,f,m]),_.useEffect((()=>(w.current=!0,()=>{w.current=!1})),[]);const ae=_.useMemo((()=>({allColorSchemes:R,colorScheme:J,darkColorScheme:X,lightColorScheme:Y,mode:Z,setColorScheme:Q,setMode:q,systemMode:G})),[R,J,X,Y,Z,Q,q,G]);let oe=!0;(y||!1===I.cssVariables||C&&x?.cssVarPrefix===O)&&(oe=!1);const ie=(0,k.jsxs)(_.Fragment,{children:[(0,k.jsx)(N,{themeId:E?t:void 0,theme:s?s(ne):ne,children:l}),oe&&(0,k.jsx)(j.A,{styles:ne.generateStyleSheets?.()||[]})]});return C?ie:(0,k.jsx)(u.Provider,{value:ae,children:ie})},useColorScheme:()=>_.useContext(u)||l,getInitColorSchemeScript:e=>function(e){const{defaultLightColorScheme:t="light",defaultDarkColorScheme:n="dark",modeStorageKey:r=F,colorSchemeStorageKey:a=B,attribute:o=z,colorSchemeNode:i="document.documentElement",nonce:s}=e||{};let l="",u=o;if("class"===o&&(u=".%s"),"data"===o&&(u="[data-%s]"),u.startsWith(".")){const e=u.substring(1);l+=`${i}.classList.remove('${e}'.replace('%s', light), '${e}'.replace('%s', dark));\n ${i}.classList.add('${e}'.replace('%s', colorScheme));`}const c=u.match(/\[([^\]]+)\]/);if(c){const[e,t]=c[1].split("=");t||(l+=`${i}.removeAttribute('${e}'.replace('%s', light));\n ${i}.removeAttribute('${e}'.replace('%s', dark));`),l+=`\n ${i}.setAttribute('${e}'.replace('%s', colorScheme), ${t?`${t}.replace('%s', colorScheme)`:'""'});`}else l+=`${i}.setAttribute('${u}', colorScheme);`;return(0,k.jsx)("script",{suppressHydrationWarning:!0,nonce:"undefined"==typeof window?s:"",dangerouslySetInnerHTML:{__html:`(function() {\ntry {\n let colorScheme = '';\n const mode = localStorage.getItem('${r}') || 'system';\n const dark = localStorage.getItem('${a}-dark') || '${n}';\n const light = localStorage.getItem('${a}-light') || '${t}';\n if (mode === 'system') {\n // handle system mode\n const mql = window.matchMedia('(prefers-color-scheme: dark)');\n if (mql.matches) {\n colorScheme = dark\n } else {\n colorScheme = light\n }\n }\n if (mode === 'light') {\n colorScheme = light;\n }\n if (mode === 'dark') {\n colorScheme = dark;\n }\n if (colorScheme) {\n ${l}\n }\n} catch(e){}})();`}},"mui-color-scheme-init")}({colorSchemeStorageKey:a,defaultLightColorScheme:c,defaultDarkColorScheme:d,modeStorageKey:r,...e})}}({themeId:a.A,theme:()=>(0,c.A)({cssVariables:!0}),colorSchemeStorageKey:q,modeStorageKey:X,defaultColorScheme:{light:G,dark:Y},resolveTheme:e=>{const t={...e,typography:(0,H.A)(e.palette,e.typography)};return t.unstable_sx=function(e){return(0,$.A)({sx:e,theme:this})},t}});function J(e){return(0,k.jsx)(K,{...e})}let ee=!1;const te=e=>(ee||(console.warn(["MUI: The getInitColorSchemeScript function has been deprecated.","","You should use `import InitColorSchemeScript from '@mui/material/InitColorSchemeScript'`","and replace the function call with `` instead."].join("\n")),ee=!0),Z(e)),ne=K;function re({theme:e,...t}){return"function"==typeof e?(0,k.jsx)(L,{theme:e,...t}):"colorSchemes"in(a.A in e?e[a.A]:e)?(0,k.jsx)(ne,{theme:e,...t}):(0,k.jsx)(L,{theme:e,...t})}var ae=n(47923),oe=n(65047);let ie;function se(e){const{injectFirst:t,children:n}=e;return t&&ie?(0,k.jsx)(M.C,{value:ie,children:n}):n}function le(){throw new Error((0,r.A)(14))}function ue(){throw new Error((0,r.A)(15))}function ce(){throw new Error((0,r.A)(16))}"object"==typeof document&&(ie=(e=>{const t=(0,ae.A)(e);class n extends oe.v{constructor(e){super(e),this.prepend=t.sheet.prepend}}return t.sheet=new n({key:t.key,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy,prepend:t.sheet.prepend,insertionPoint:t.sheet.insertionPoint}),t})({key:"css",prepend:!0}));var de=n(86131);let pe=!1;function fe(...e){return pe||(console.warn(["MUI: The `experimental_extendTheme` has been stabilized.","","You should use `import { extendTheme } from '@mui/material/styles'`"].join("\n")),pe=!0),(0,de.A)(...e)}var he=n(98783),me=n(69866),ge=n(56877),ve=n(90772);function ye(){throw new Error((0,r.A)(19))}},39770:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(64438);const a=e=>(0,r.A)(e)&&"classes"!==e},69866:(e,t,n)=>{"use strict";function r(e){return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||"palette"===e[0]&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}n.d(t,{A:()=>r})},64438:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}},11848:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>s});var r=n(19667),a=n(22765),o=n(58312),i=n(39770);const s=(0,r.Ay)({themeId:o.A,defaultTheme:a.A,rootShouldForwardProp:i.A})},44675:(e,t,n)=>{"use strict";n.d(t,{A:()=>i}),n(96540);var r=n(51777),a=n(22765),o=n(58312);function i(){const e=(0,r.A)(a.A);return e[o.A]||e}},98844:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(63576),a=n(51777),o=n(22765),i=n(58312);function s({props:e,name:t}){return function({props:e,name:t,defaultTheme:n,themeId:o}){let i=(0,a.A)(n);return o&&(i=i[o]||i),(0,r.A)({theme:i,name:t,props:e})}({props:e,name:t,defaultTheme:o.A,themeId:i.A})}},35186:(e,t,n)=>{"use strict";n.d(t,{c:()=>a,q:()=>r});const r=e=>e.scrollTop;function a(e,t){const{timeout:n,easing:r,style:a={}}=e;return{duration:a.transitionDuration??("number"==typeof n?n:n[t.mode]||0),easing:a.transitionTimingFunction??("object"==typeof r?r[t.mode]:r),delay:a.transitionDelay}}},28466:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(13967).A},50862:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(76673).A},78660:(e,t,n)=>{"use strict";function r(e=[]){return([,t])=>t&&function(e,t=[]){if(!function(e){return"string"==typeof e.main}(e))return!1;for(const n of t)if(!e.hasOwnProperty(n)||"string"!=typeof e[n])return!1;return!0}(t,e)}n.d(t,{A:()=>r})},20561:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(96540),a=n(75765),o=n(74848);function i(e,t){function n(n,r){return(0,o.jsx)(a.A,{"data-testid":`${t}Icon`,ref:r,...n,children:e})}return n.muiName=a.A.muiName,r.memo(r.forwardRef(n))}},1935:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(74705).A},58928:(e,t,n)=>{"use strict";n.r(t),n.d(t,{capitalize:()=>a.A,createChainedFunction:()=>o.A,createSvgIcon:()=>i.A,debounce:()=>s.A,deprecatedPropType:()=>l,isMuiElement:()=>u.A,ownerDocument:()=>d.A,ownerWindow:()=>p.A,requirePropFactory:()=>f,setRef:()=>h,unstable_ClassNameGenerator:()=>x,unstable_memoTheme:()=>c.A,unstable_useEnhancedEffect:()=>m.A,unstable_useId:()=>g.A,unsupportedProp:()=>v,useControlled:()=>y.A,useEventCallback:()=>b.A,useForkRef:()=>w.A});var r=n(79071),a=n(28466),o=n(50862),i=n(20561),s=n(1935);const l=function(e,t){return()=>null};var u=n(18593),c=n(42637),d=n(96248),p=n(93749);const f=function(e,t){return()=>null},h=n(17365).A;var m=n(2778),g=n(1668);const v=function(e,t,n,r,a){return null};var y=n(41159),b=n(83034),w=n(96852);const x={configure:e=>{r.A.configure(e)}}},47947:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e){return"string"==typeof e}},18593:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(96540);const a=function(e,t){return r.isValidElement(e)&&-1!==t.indexOf(e.type.muiName??e.type?._payload?.value?.muiName)}},42637:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});const r={theme:void 0};function a(e){let t,n;return a=>{let o=t;return void 0!==o&&a.theme===n||(r.theme=a.theme,o=e(r),t=o,n=a.theme),o}}},96248:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(32325).A},93749:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(44877).A},41159:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(2501).A},2778:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(21529).A},83034:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(71547).A},96852:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(31523).A},1668:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(34661).A},6025:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(31523),a=n(70999),o=n(56677),i=n(22505);function s(e,t){const{className:n,elementType:s,ownerState:l,externalForwardedProps:u,getSlotOwnerState:c,internalForwardedProps:d,...p}=t,{component:f,slots:h={[e]:void 0},slotProps:m={[e]:void 0},...g}=u,v=h[e]||s,y=(0,o.A)(m[e],l),{props:{component:b,...w},internalRef:x}=(0,i.A)({className:n,...p,externalForwardedProps:"root"===e?g:void 0,externalSlotProps:y}),S=(0,r.A)(x,y?.ref,t.ref),_=c?c(w):{},A={...l,..._},C="root"===e?b||f:b,T=(0,a.A)(v,{..."root"===e&&!f&&!h[e]&&d,..."root"!==e&&!h[e]&&d,...w,...C&&{as:C},ref:S},A);return Object.keys(_).forEach((e=>{delete T[e]})),[v,T]}},39242:(e,t,n)=>{"use strict";n.d(t,{Dp:()=>d,Dg:()=>p}),n(96540);var r=n(27955),a=n(39940),o=n(51777),i=n(74848);const s=function({styles:e,themeId:t,defaultTheme:n={}}){const r=(0,o.A)(n),s="function"==typeof e?e(t&&r[t]||r):e;return(0,i.jsx)(a.A,{styles:s})};var l=n(22765),u=n(58312);const c=function(e){return(0,i.jsx)(s,{...e,defaultTheme:l.A,themeId:u.A})};function d(e){return function(t){return(0,i.jsx)(c,{styles:"function"==typeof e?n=>e({theme:n,...t}):e})}}function p(){return r.A}},64673:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__"},83738:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(96540).createContext(null)},61641:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(96540),a=n(83738);function o(){return r.useContext(a.A)}},39940:(e,t,n)=>{"use strict";n.d(t,{A:()=>o}),n(96540);var r=n(17437),a=n(74848);function o(e){const{styles:t,defaultTheme:n={}}=e,o="function"==typeof t?e=>{return t(null==(r=e)||0===Object.keys(r).length?n:e);var r}:t;return(0,a.jsx)(r.mL,{styles:o})}},86124:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;tE,q_:()=>M});var a=n(96540),o=n(36289),i=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,s=(0,o.A)((function(e){return i.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),l=n(99214),u=n(30041),c=n(35137),d={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},p=/[A-Z]|^ms/g,f=/_EMO_([^_]+?)_([^]*?)_EMO_/g,h=function(e){return 45===e.charCodeAt(1)},m=function(e){return null!=e&&"boolean"!=typeof e},g=(0,o.A)((function(e){return h(e)?e:e.replace(p,"-$&").toLowerCase()})),v=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(f,(function(e,t,n){return b={name:t,styles:n,next:b},t}))}return 1===d[e]||h(e)||"number"!=typeof t||0===t?t:t+"px"};function y(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var a=n;if(1===a.anim)return b={name:a.name,styles:a.styles,next:b},a.name;var o=n;if(void 0!==o.styles){var i=o.next;if(void 0!==i)for(;void 0!==i;)b={name:i.name,styles:i.styles,next:b},i=i.next;return o.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var a=0;a96?S:_},C=function(e,t,n){var r;if(t){var a=t.shouldForwardProp;r=e.__emotion_forwardProp&&a?function(t){return e.__emotion_forwardProp(t)&&a(t)}:a}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},T=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return(0,u.SF)(t,n,r),(0,x.s)((function(){return(0,u.sk)(t,n,r)})),null},k=function e(t,n){var o,i,s=t.__emotion_real===t,d=s&&t.__emotion_base||t;void 0!==n&&(o=n.label,i=n.target);var p=C(t,n,s),f=p||A(d),h=!f("as");return function(){var m=arguments,g=s&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==o&&g.push("label:"+o+";"),null==m[0]||void 0===m[0].raw)g.push.apply(g,m);else{g.push(m[0][0]);for(var v=m.length,x=1;x{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}},3896:(e,t,n)=>{"use strict";function r(e){return e}n.r(t),n.d(t,{default:()=>r})},25769:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>un});var r=n(96540);function a(){return a=Object.assign||function(e){for(var t=1;t<+~=|^:(),"'`\s])/g,x="undefined"!=typeof CSS&&CSS.escape,S=function(e){return x?x(e):e.replace(w,"\\$1")},_=function(){function e(e,t,n){this.type="style",this.isProcessed=!1;var r=n.sheet,a=n.Renderer;this.key=e,this.options=n,this.style=t,r?this.renderer=r.renderer:a&&(this.renderer=new a)}return e.prototype.prop=function(e,t,n){if(void 0===t)return this.style[e];var r=!!n&&n.force;if(!r&&this.style[e]===t)return this;var a=t;n&&!1===n.process||(a=this.options.jss.plugins.onChangeValue(t,e,this));var o=null==a||!1===a,i=e in this.style;if(o&&!i&&!r)return this;var s=o&&i;if(s?delete this.style[e]:this.style[e]=a,this.renderable&&this.renderer)return s?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,a),this;var l=this.options.sheet;return l&&l.attached,this},e}(),A=function(e){function t(t,n,r){var a;a=e.call(this,t,n,r)||this;var o=r.selector,i=r.scoped,s=r.sheet,l=r.generateId;return o?a.selectorText=o:!1!==i&&(a.id=l(d(d(a)),s),a.selectorText="."+S(a.id)),a}c(t,e);var n=t.prototype;return n.applyTo=function(e){var t=this.renderer;if(t){var n=this.toJSON();for(var r in n)t.setProperty(e,r,n[r])}return this},n.toJSON=function(){var e={};for(var t in this.style){var n=this.style[t];"object"!=typeof n?e[t]=n:Array.isArray(n)&&(e[t]=g(n))}return e},n.toString=function(e){var t=this.options.sheet,n=t&&t.options.link?a({},e,{allowEmpty:!0}):e;return b(this.selectorText,this.style,n)},l(t,[{key:"selector",set:function(e){if(e!==this.selectorText){this.selectorText=e;var t=this.renderer,n=this.renderable;n&&t&&(t.setSelector(n,e)||t.replaceRule(n,this))}},get:function(){return this.selectorText}}]),t}(_),C={onCreateRule:function(e,t,n){return"@"===e[0]||n.parent&&"keyframes"===n.parent.type?null:new A(e,t,n)}},T={indent:1,children:!0},k=/@([\w-]+)/,E=function(){function e(e,t,n){this.type="conditional",this.isProcessed=!1,this.key=e;var r=e.match(k);for(var o in this.at=r?r[1]:"unknown",this.query=n.name||"@"+this.at,this.options=n,this.rules=new Z(a({},n,{parent:this})),t)this.rules.add(o,t[o]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.indexOf=function(e){return this.rules.indexOf(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r?(this.options.jss.plugins.onProcessRule(r),r):null},t.replaceRule=function(e,t,n){var r=this.rules.replace(e,t,n);return r&&this.options.jss.plugins.onProcessRule(r),r},t.toString=function(e){void 0===e&&(e=T);var t=v(e).linebreak;if(null==e.indent&&(e.indent=T.indent),null==e.children&&(e.children=T.children),!1===e.children)return this.query+" {}";var n=this.rules.toString(e);return n?this.query+" {"+t+n+t+"}":""},e}(),M=/@container|@media|@supports\s+/,P={onCreateRule:function(e,t,n){return M.test(e)?new E(e,t,n):null}},O={indent:1,children:!0},I=/@keyframes\s+([\w-]+)/,D=function(){function e(e,t,n){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var r=e.match(I);r&&r[1]?this.name=r[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=n;var o=n.scoped,i=n.sheet,s=n.generateId;for(var l in this.id=!1===o?this.name:S(s(this,i)),this.rules=new Z(a({},n,{parent:this})),t)this.rules.add(l,t[l],a({},n,{parent:this}));this.rules.process()}return e.prototype.toString=function(e){void 0===e&&(e=O);var t=v(e).linebreak;if(null==e.indent&&(e.indent=O.indent),null==e.children&&(e.children=O.children),!1===e.children)return this.at+" "+this.id+" {}";var n=this.rules.toString(e);return n&&(n=""+t+n+t),this.at+" "+this.id+" {"+n+"}"},e}(),R=/@keyframes\s+/,N=/\$([\w-]+)/g,L=function(e,t){return"string"==typeof e?e.replace(N,(function(e,n){return n in t?t[n]:e})):e},$=function(e,t,n){var r=e[t],a=L(r,n);a!==r&&(e[t]=a)},j={onCreateRule:function(e,t,n){return"string"==typeof e&&R.test(e)?new D(e,t,n):null},onProcessStyle:function(e,t,n){return"style"===t.type&&n?("animation-name"in e&&$(e,"animation-name",n.keyframes),"animation"in e&&$(e,"animation",n.keyframes),e):e},onChangeValue:function(e,t,n){var r=n.options.sheet;if(!r)return e;switch(t){case"animation":case"animation-name":return L(e,r.keyframes);default:return e}}},F=function(e){function t(){return e.apply(this,arguments)||this}return c(t,e),t.prototype.toString=function(e){var t=this.options.sheet,n=t&&t.options.link?a({},e,{allowEmpty:!0}):e;return b(this.key,this.style,n)},t}(_),B={onCreateRule:function(e,t,n){return n.parent&&"keyframes"===n.parent.type?new F(e,t,n):null}},z=function(){function e(e,t,n){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=e,this.style=t,this.options=n}return e.prototype.toString=function(e){var t=v(e).linebreak;if(Array.isArray(this.style)){for(var n="",r=0;r=this.index)t.push(e);else for(var r=0;rn)return void t.splice(r,0,e)},t.reset=function(){this.registry=[]},t.remove=function(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)},t.toString=function(e){for(var t=void 0===e?{}:e,n=t.attached,r=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r=0||(a[n]=e[n]);return a}(t,["attached"]),a=v(r).linebreak,o="",i=0;i-1?r.substr(0,a-1):r;e.style.setProperty(t,o,a>-1?"important":"")}}catch(e){return!1}return!0},ce=function(e,t){try{e.attributeStyleMap?e.attributeStyleMap.delete(t):e.style.removeProperty(t)}catch(e){}},de=function(e,t){return e.selectorText=t,e.selectorText===t},pe=se((function(){return document.querySelector("head")}));var fe=se((function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null})),he=function(e,t,n){try{"insertRule"in e?e.insertRule(t,n):"appendRule"in e&&e.appendRule(t)}catch(e){return!1}return e.cssRules[n]},me=function(e,t){var n=e.cssRules.length;return void 0===t||t>n?n:t},ge=function(){function e(e){this.getPropertyValue=le,this.setProperty=ue,this.removeProperty=ce,this.setSelector=de,this.hasInsertedRules=!1,this.cssRules=[],e&&ne.add(e),this.sheet=e;var t=this.sheet?this.sheet.options:{},n=t.media,r=t.meta,a=t.element;this.element=a||function(){var e=document.createElement("style");return e.textContent="\n",e}(),this.element.setAttribute("data-jss",""),n&&this.element.setAttribute("media",n),r&&this.element.setAttribute("data-meta",r);var o=fe();o&&this.element.setAttribute("nonce",o)}var t=e.prototype;return t.attach=function(){if(!this.element.parentNode&&this.sheet){!function(e,t){var n=t.insertionPoint,r=function(e){var t=ne.registry;if(t.length>0){var n=function(e,t){for(var n=0;nt.index&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if(n=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.attached&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e),n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var r=e.insertionPoint;if(r&&"string"==typeof r){var a=function(e){for(var t=pe(),n=0;n{n[e]&&(a[e]=`${t[e]} ${n[e]}`)})),a}be();const _e={set:(e,t,n,r)=>{let a=e.get(t);a||(a=new Map,e.set(t,a)),a.set(n,r)},get:(e,t,n)=>{const r=e.get(t);return r?r.get(n):void 0},delete:(e,t,n)=>{e.get(t).delete(n)}},Ae=_e;var Ce=n(61641),Te=n(64673);const ke=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];var Ee=Date.now(),Me="fnValues"+Ee,Pe="fnStyle"+ ++Ee;function Oe(){return Oe=Object.assign||function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n-1){var a=Rt[e];if(!Array.isArray(a))return lt+yt(a)in t&&ut+a;if(!r)return!1;for(var o=0;ot?1:-1:e.length-t.length},{onProcessStyle:function(e,t){if("style"!==t.type)return e;for(var n={},r=Object.keys(e).sort(tn),a=0;a(o+=1,o);return(e,o)=>{const s=o.options.name;if(s&&s.startsWith("Mui")&&!o.options.link&&!t){if(ke.includes(e.key))return`Mui-${e.key}`;const t=`${a}${s}-${e.key}`;return o.options.theme[Te.A]&&""===r?`${t}-${i()}`:t}return`${a}${n}${i()}`}}(),Jt={disableGeneration:!1,generateClassName:Zt,jss:Qt,sheetsCache:null,sheetsManager:new Map,sheetsRegistry:null},en=r.createContext(Jt);var tn;let nn=-1e9;var rn=n(11317),an=n(13967);function on(e){return 0===e.length}const sn={};function ln({state:e,theme:t,stylesOptions:n,stylesCreator:r,name:a},o){if(n.disableGeneration)return;let i=Ae.get(n.sheetsManager,r,t);i||(i={refs:0,staticSheet:null,dynamicStyles:null},Ae.set(n.sheetsManager,r,t,i));const s={...r.options,...n,theme:t,flip:"boolean"==typeof n.flip?n.flip:"rtl"===t.direction};s.generateId=s.serverGenerateClassName||s.generateClassName;const l=n.sheetsRegistry;if(0===i.refs){let e;n.sheetsCache&&(e=Ae.get(n.sheetsCache,r,t));const o=r.create(t,a);e||(e=n.jss.createStyleSheet(o,{link:!1,...s}),e.attach(),n.sheetsCache&&Ae.set(n.sheetsCache,r,t,e)),l&&l.add(e),i.staticSheet=e,i.dynamicStyles=xe(o)}if(i.dynamicStyles){const t=n.jss.createStyleSheet(i.dynamicStyles,{link:!0,...s});t.update(o),t.attach(),e.dynamicSheet=t,e.classes=Se({baseClasses:i.staticSheet.classes,newClasses:t.classes}),l&&l.add(t)}else e.classes=i.staticSheet.classes;i.refs+=1}function un(e,t={}){const{name:n,classNamePrefix:a,Component:o,defaultTheme:i=sn,...s}=t,l=function(e){const t="function"==typeof e;return{create:(n,r)=>{let a;try{a=t?e(n):e}catch(e){throw e}if(!r||!n.components||!n.components[r]||!n.components[r].styleOverrides&&!n.components[r].variants)return a;const o=n.components[r].styleOverrides||{},i=n.components[r].variants||[],s={...a};return Object.keys(o).forEach((e=>{s[e]=(0,rn.A)(s[e]||{},o[e])})),i.forEach((e=>{const t=function(e){const{variant:t,...n}=e;let r=t||"";return Object.keys(n).sort().forEach((t=>{r+="color"===t?on(r)?e[t]:(0,an.A)(e[t]):`${on(r)?t:(0,an.A)(t)}${(0,an.A)(e[t].toString())}`})),r}(e.props);s[t]=(0,rn.A)(s[t]||{},e.style)})),s},options:{}}}(e),u=n||a||"makeStyles";return l.options={index:(nn+=1,nn),name:n,meta:u,classNamePrefix:u},(e={})=>{const t=function(){const e=(0,Ce.A)();return e?.$$material??e}()||i,a={...r.useContext(en),...s},u=r.useRef(),c=r.useRef();!function(o,i){const s=r.useRef([]);let d;const p=r.useMemo((()=>({})),i);s.current!==p&&(s.current=p,d=(()=>{const r={name:n,state:{},stylesCreator:l,stylesOptions:a,theme:t};return ln(r,e),c.current=!1,u.current=r,()=>{!function({state:e,theme:t,stylesOptions:n,stylesCreator:r}){if(n.disableGeneration)return;const a=Ae.get(n.sheetsManager,r,t);a.refs-=1;const o=n.sheetsRegistry;0===a.refs&&(Ae.delete(n.sheetsManager,r,t),n.jss.removeStyleSheet(a.staticSheet),o&&o.remove(a.staticSheet)),e.dynamicSheet&&(n.jss.removeStyleSheet(e.dynamicSheet),o&&o.remove(e.dynamicSheet))}(r)}})()),r.useEffect((()=>()=>{d&&d()}),[p])}(0,[t,l]),r.useEffect((()=>{c.current&&function({state:e},t){e.dynamicSheet&&e.dynamicSheet.update(t)}(u.current,e),c.current=!0}));const d=function({state:e,stylesOptions:t},n,r){if(t.disableGeneration)return n||{};e.cacheClasses||(e.cacheClasses={value:null,lastProp:null,lastJSS:{}});let a=!1;return e.classes!==e.cacheClasses.lastJSS&&(e.cacheClasses.lastJSS=e.classes,a=!0),n!==e.cacheClasses.lastProp&&(e.cacheClasses.lastProp=n,a=!0),a&&(e.cacheClasses.value=Se({baseClasses:e.cacheClasses.lastJSS,newClasses:n,Component:r})),e.cacheClasses.value}(u.current,e.classes,o);return d}}},50257:(e,t,n)=>{"use strict";n.d(t,{A:()=>l,b:()=>s});var r=n(96540),a=n(47379),o=n(74848);const i=r.createContext(void 0);function s({props:e,name:t}){return function(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const o=t.components[n];return o.defaultProps?(0,a.A)(o.defaultProps,r):o.styleOverrides||o.variants?r:(0,a.A)(o,r)}({props:e,name:t,theme:{components:r.useContext(i)}})}const l=function({value:e,children:t}){return(0,o.jsx)(i.Provider,{value:e,children:t})}},93944:(e,t,n)=>{"use strict";n.d(t,{A:()=>s,I:()=>i});var r=n(96540),a=n(74848);const o=r.createContext(),i=()=>r.useContext(o)??!1,s=function({value:e,...t}){return(0,a.jsx)(o.Provider,{value:e??!0,...t})}},26287:(e,t,n)=>{"use strict";n.d(t,{EU:()=>l,NI:()=>s,vf:()=>u,zu:()=>a});var r=n(6191);const a={xs:0,sm:600,md:900,lg:1200,xl:1536},o={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${a[e]}px)`},i={containerQueries:e=>({up:t=>{let n="number"==typeof t?t:a[t]||t;return"number"==typeof n&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function s(e,t,n){const s=e.theme||{};if(Array.isArray(t)){const e=s.breakpoints||o;return t.reduce(((r,a,o)=>(r[e.up(e.keys[o])]=n(t[o]),r)),{})}if("object"==typeof t){const e=s.breakpoints||o;return Object.keys(t).reduce(((o,l)=>{if((0,r.ob)(e.keys,l)){const e=(0,r.CT)(s.containerQueries?s:i,l);e&&(o[e]=n(t[l],l))}else if(Object.keys(e.values||a).includes(l))o[e.up(l)]=n(t[l],l);else{const e=l;o[e]=t[e]}return o}),{})}return n(t)}function l(e={}){const t=e.keys?.reduce(((t,n)=>(t[e.up(n)]={},t)),{});return t||{}}function u(e,t){return e.reduce(((e,t)=>{const n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e}),t)}},79739:(e,t,n)=>{"use strict";n.d(t,{Cg:()=>m,E2:()=>i,J1:()=>p,Me:()=>l,Nd:()=>v,Ob:()=>c,X0:()=>u,X4:()=>h,Y9:()=>x,YL:()=>d,a:()=>y,e$:()=>g,eM:()=>f,j4:()=>b,rP:()=>s,tL:()=>w});var r=n(89453),a=n(90725);function o(e,t=0,n=1){return(0,a.A)(e,t,n)}function i(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map((e=>e+e))),n?`rgb${4===n.length?"a":""}(${n.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}function s(e){if(e.type)return e;if("#"===e.charAt(0))return s(i(e));const t=e.indexOf("("),n=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error((0,r.A)(9,e));let a,o=e.substring(t+1,e.length-1);if("color"===n){if(o=o.split(" "),a=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(a))throw new Error((0,r.A)(10,a))}else o=o.split(",");return o=o.map((e=>parseFloat(e))),{type:n,values:o,colorSpace:a}}const l=(e,t)=>{try{return(e=>{const t=s(e);return t.values.slice(0,3).map(((e,n)=>t.type.includes("hsl")&&0!==n?`${e}%`:e)).join(" ")})(e)}catch(t){return e}};function u(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.includes("rgb")?r=r.map(((e,t)=>t<3?parseInt(e,10):e)):t.includes("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=t.includes("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`,`${t}(${r})`}function c(e){if(e.startsWith("#"))return e;const{values:t}=s(e);return`#${t.map(((e,t)=>function(e){const t=e.toString(16);return 1===t.length?`0${t}`:t}(3===t?Math.round(255*e):e))).join("")}`}function d(e){e=s(e);const{values:t}=e,n=t[0],r=t[1]/100,a=t[2]/100,o=r*Math.min(a,1-a),i=(e,t=(e+n/30)%12)=>a-o*Math.max(Math.min(t-3,9-t,1),-1);let l="rgb";const c=[Math.round(255*i(0)),Math.round(255*i(8)),Math.round(255*i(4))];return"hsla"===e.type&&(l+="a",c.push(t[3])),u({type:l,values:c})}function p(e){let t="hsl"===(e=s(e)).type||"hsla"===e.type?s(d(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function f(e,t){const n=p(e),r=p(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function h(e,t){return e=s(e),t=o(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,u(e)}function m(e,t,n){try{return h(e,t)}catch(t){return e}}function g(e,t){if(e=s(e),t=o(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return u(e)}function v(e,t,n){try{return g(e,t)}catch(t){return e}}function y(e,t){if(e=s(e),t=o(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return u(e)}function b(e,t,n){try{return y(e,t)}catch(t){return e}}function w(e,t=.15){return p(e)>.5?g(e,t):y(e,t)}function x(e,t,n){try{return w(e,t)}catch(t){return e}}},50699:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});const r=e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>({...e,[t.key]:t.val})),{})};function a(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:a=5,...o}=e,i=r(t),s=Object.keys(i);function l(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n})`}function u(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-a/100}${n})`}function c(e,r){const o=s.indexOf(r);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n}) and (max-width:${(-1!==o&&"number"==typeof t[s[o]]?t[s[o]]:r)-a/100}${n})`}return{keys:s,values:i,up:l,down:u,between:c,only:function(e){return s.indexOf(e)+1{"use strict";n.d(t,{Ay:()=>h,MC:()=>l});var r=n(86124),a=n(11317),o=n(17983),i=n(37415);const s=(0,o.A)();function l(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}function u(e,t,n){return function(e){for(const t in e)return!1;return!0}(t)?n:t[e]||t}const c=Symbol("mui.processed_props");function d(e,t,n){if(c in e)return e[c];const r={...e,theme:u(t,e.theme,n)};return e[c]=r,r[c]=r,r}function p(e){return e?(t,n)=>n[e]:null}function f(e,t){const n="function"==typeof e?e(t):e;if(Array.isArray(n))return n.flatMap((e=>f(e,t)));if(Array.isArray(n?.variants)){const{variants:e,...r}=n;let a,o=r;e:for(let n=0;n(0,i.A)(d(e,t,n));return h.__mui_systemSx=!0,(e,i={})=>{(0,r.q_)(e,(e=>e.filter((e=>!e?.__mui_systemSx))));const{name:s,slot:g,skipVariantsResolver:v,skipSx:y,overridesResolver:b=p(m(g)),...w}=i,x=void 0!==v?v:g&&"Root"!==g&&"root"!==g||!1,S=y||!1;let _=l;"Root"===g||"root"===g?_=o:g?_=c:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(_=void 0);const A=(0,r.Ay)(e,{shouldForwardProp:_,label:void 0,...w}),C=e=>"function"==typeof e&&e.__emotion_real!==e||(0,a.Q)(e)?r=>f(e,d(r,t,n)):e,T=(r,...a)=>{let o=C(r);const i=a?a.map(C):[];s&&b&&i.push((e=>{const r=u(t,e.theme,n);if(!r.components||!r.components[s]||!r.components[s].styleOverrides)return null;const a=r.components[s].styleOverrides,o={},i=d(e,t,n);for(const e in a)o[e]=f(a[e],i);return b(e,o)})),s&&!x&&i.push((e=>{const r=u(t,e.theme,n),a=r?.components?.[s]?.variants;return a?f({variants:a},d(e,t,n)):null})),S||i.push(h);const l=i.length-a.length;if(Array.isArray(r)&&l>0){const e=new Array(l).fill("");o=[...r,...e],o.raw=[...r.raw,...e]}const c=A(o,...i);return e.muiName&&(c.muiName=e.muiName),c};return A.withConfig&&(T.withConfig=A.withConfig),T}}function m(e){return e?e.charAt(0).toLowerCase()+e.slice(1):e}},56879:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(61096);function a(e=8,t=(0,r.LX)({spacing:e})){if(e.mui)return e;const n=(...e)=>(0===e.length?[1]:e).map((e=>{const n=t(e);return"number"==typeof n?`${n}px`:n})).join(" ");return n.mui=!0,n}},17983:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(11317),a=n(50699),o=n(6191);const i={borderRadius:4};var s=n(56879),l=n(37415),u=n(94584);function c(e,t){const n=this;if(n.vars){if(!n.colorSchemes?.[e]||"function"!=typeof n.getColorSchemeSelector)return{};let r=n.getColorSchemeSelector(e);return"&"===r?t:((r.includes("data-")||r.includes("."))&&(r=`*:where(${r.replace(/\s*&$/,"")}) &`),{[r]:t})}return n.palette.mode===e?t:{}}const d=function(e={},...t){const{breakpoints:n={},palette:d={},spacing:p,shape:f={},...h}=e,m=(0,a.A)(n),g=(0,s.A)(p);let v=(0,r.A)({breakpoints:m,direction:"ltr",components:{},palette:{mode:"light",...d},spacing:g,shape:{...i,...f}},h);return v=(0,o.Ay)(v),v.applyStyles=c,v=t.reduce(((e,t)=>(0,r.A)(e,t)),v),v.unstable_sxConfig={...u.A,...h?.unstable_sxConfig},v.unstable_sx=function(e){return(0,l.A)({sx:e,theme:this})},v}},6191:(e,t,n)=>{"use strict";function r(e,t){if(!e.containerQueries)return t;const n=Object.keys(t).filter((e=>e.startsWith("@container"))).sort(((e,t)=>{const n=/min-width:\s*([0-9.]+)/;return+(e.match(n)?.[1]||0)-+(t.match(n)?.[1]||0)}));return n.length?n.reduce(((e,n)=>{const r=t[n];return delete e[n],e[n]=r,e}),{...t}):t}function a(e,t){return"@"===t||t.startsWith("@")&&(e.some((e=>t.startsWith(`@${e}`)))||!!t.match(/^@\d/))}function o(e,t){const n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;const[,r,a]=n,o=Number.isNaN(+r)?r||0:+r;return e.containerQueries(a).up(o)}function i(e){const t=(e,t)=>e.replace("@media",t?`@container ${t}`:"@container");function n(n,r){n.up=(...n)=>t(e.breakpoints.up(...n),r),n.down=(...n)=>t(e.breakpoints.down(...n),r),n.between=(...n)=>t(e.breakpoints.between(...n),r),n.only=(...n)=>t(e.breakpoints.only(...n),r),n.not=(...n)=>{const a=t(e.breakpoints.not(...n),r);return a.includes("not all and")?a.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):a}}const r={},a=e=>(n(r,e),r);return n(a),{...e,containerQueries:a}}n.d(t,{Ay:()=>i,CT:()=>o,_S:()=>r,ob:()=>a})},78415:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(11317);const a=function(e,t){return t?(0,r.A)(e,t,{clone:!1}):e}},61096:(e,t,n)=>{"use strict";n.d(t,{LX:()=>h,MA:()=>f,_W:()=>m,Lc:()=>v,Ms:()=>y});var r=n(26287),a=n(22423),o=n(78415);const i={m:"margin",p:"padding"},s={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},l={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},u=function(e){const t={};return e=>(void 0===t[e]&&(t[e]=(e=>{if(e.length>2){if(!l[e])return[e];e=l[e]}const[t,n]=e.split(""),r=i[t],a=s[n]||"";return Array.isArray(a)?a.map((e=>r+e)):[r+a]})(e)),t[e])}(),c=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],d=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],p=[...c,...d];function f(e,t,n,r){const o=(0,a.Yn)(e,t,!0)??n;return"number"==typeof o||"string"==typeof o?e=>"string"==typeof e?e:"string"==typeof o?`calc(${e} * ${o})`:o*e:Array.isArray(o)?e=>{if("string"==typeof e)return e;const t=Math.abs(e),n=o[t];return e>=0?n:"number"==typeof n?-n:`-${n}`}:"function"==typeof o?o:()=>{}}function h(e){return f(e,"spacing",8)}function m(e,t){return"string"==typeof t||null==t?t:e(t)}function g(e,t){const n=h(e.theme);return Object.keys(e).map((a=>function(e,t,n,a){if(!t.includes(n))return null;const o=function(e,t){return n=>e.reduce(((e,r)=>(e[r]=m(t,n),e)),{})}(u(n),a),i=e[n];return(0,r.NI)(e,i,o)}(e,t,a,n))).reduce(o.A,{})}function v(e){return g(e,c)}function y(e){return g(e,d)}function b(e){return g(e,p)}v.propTypes={},v.filterProps=c,y.propTypes={},y.filterProps=d,b.propTypes={},b.filterProps=p},22423:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>s,BO:()=>i,Yn:()=>o});var r=n(13967),a=n(26287);function o(e,t,n=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&n){const n=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=n)return n}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function i(e,t,n,r=n){let a;return a="function"==typeof e?e(n):Array.isArray(e)?e[n]||r:o(e,n)||r,t&&(a=t(a,r,e)),a}const s=function(e){const{prop:t,cssProperty:n=e.prop,themeKey:s,transform:l}=e,u=e=>{if(null==e[t])return null;const u=e[t],c=o(e.theme,s)||{};return(0,a.NI)(e,u,(e=>{let a=i(c,l,e);return e===a&&"string"==typeof e&&(a=i(c,l,`${t}${"default"===e?"":(0,r.A)(e)}`,e)),!1===n?a:{[n]:a}}))};return u.propTypes={},u.filterProps=[t],u}},94584:(e,t,n)=>{"use strict";n.d(t,{A:()=>R});var r=n(61096),a=n(22423),o=n(78415);const i=function(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((n=>{e[n]=t})),e)),{}),n=e=>Object.keys(e).reduce(((n,r)=>t[r]?(0,o.A)(n,t[r](e)):n),{});return n.propTypes={},n.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),n};var s=n(26287);function l(e){return"number"!=typeof e?e:`${e}px solid`}function u(e,t){return(0,a.Ay)({prop:e,themeKey:"borders",transform:t})}const c=u("border",l),d=u("borderTop",l),p=u("borderRight",l),f=u("borderBottom",l),h=u("borderLeft",l),m=u("borderColor"),g=u("borderTopColor"),v=u("borderRightColor"),y=u("borderBottomColor"),b=u("borderLeftColor"),w=u("outline",l),x=u("outlineColor"),S=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=(0,r.MA)(e.theme,"shape.borderRadius",4,"borderRadius"),n=e=>({borderRadius:(0,r._W)(t,e)});return(0,s.NI)(e,e.borderRadius,n)}return null};S.propTypes={},S.filterProps=["borderRadius"],i(c,d,p,f,h,m,g,v,y,b,S,w,x);const _=e=>{if(void 0!==e.gap&&null!==e.gap){const t=(0,r.MA)(e.theme,"spacing",8,"gap"),n=e=>({gap:(0,r._W)(t,e)});return(0,s.NI)(e,e.gap,n)}return null};_.propTypes={},_.filterProps=["gap"];const A=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=(0,r.MA)(e.theme,"spacing",8,"columnGap"),n=e=>({columnGap:(0,r._W)(t,e)});return(0,s.NI)(e,e.columnGap,n)}return null};A.propTypes={},A.filterProps=["columnGap"];const C=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=(0,r.MA)(e.theme,"spacing",8,"rowGap"),n=e=>({rowGap:(0,r._W)(t,e)});return(0,s.NI)(e,e.rowGap,n)}return null};function T(e,t){return"grey"===t?t:e}function k(e){return e<=1&&0!==e?100*e+"%":e}C.propTypes={},C.filterProps=["rowGap"],i(_,A,C,(0,a.Ay)({prop:"gridColumn"}),(0,a.Ay)({prop:"gridRow"}),(0,a.Ay)({prop:"gridAutoFlow"}),(0,a.Ay)({prop:"gridAutoColumns"}),(0,a.Ay)({prop:"gridAutoRows"}),(0,a.Ay)({prop:"gridTemplateColumns"}),(0,a.Ay)({prop:"gridTemplateRows"}),(0,a.Ay)({prop:"gridTemplateAreas"}),(0,a.Ay)({prop:"gridArea"})),i((0,a.Ay)({prop:"color",themeKey:"palette",transform:T}),(0,a.Ay)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:T}),(0,a.Ay)({prop:"backgroundColor",themeKey:"palette",transform:T}));const E=(0,a.Ay)({prop:"width",transform:k}),M=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{const n=e.theme?.breakpoints?.values?.[t]||s.zu[t];return n?"px"!==e.theme?.breakpoints?.unit?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:k(t)}};return(0,s.NI)(e,e.maxWidth,t)}return null};M.filterProps=["maxWidth"];const P=(0,a.Ay)({prop:"minWidth",transform:k}),O=(0,a.Ay)({prop:"height",transform:k}),I=(0,a.Ay)({prop:"maxHeight",transform:k}),D=(0,a.Ay)({prop:"minHeight",transform:k}),R=((0,a.Ay)({prop:"size",cssProperty:"width",transform:k}),(0,a.Ay)({prop:"size",cssProperty:"height",transform:k}),i(E,M,P,O,I,D,(0,a.Ay)({prop:"boxSizing"})),{border:{themeKey:"borders",transform:l},borderTop:{themeKey:"borders",transform:l},borderRight:{themeKey:"borders",transform:l},borderBottom:{themeKey:"borders",transform:l},borderLeft:{themeKey:"borders",transform:l},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:l},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:S},color:{themeKey:"palette",transform:T},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:T},backgroundColor:{themeKey:"palette",transform:T},p:{style:r.Ms},pt:{style:r.Ms},pr:{style:r.Ms},pb:{style:r.Ms},pl:{style:r.Ms},px:{style:r.Ms},py:{style:r.Ms},padding:{style:r.Ms},paddingTop:{style:r.Ms},paddingRight:{style:r.Ms},paddingBottom:{style:r.Ms},paddingLeft:{style:r.Ms},paddingX:{style:r.Ms},paddingY:{style:r.Ms},paddingInline:{style:r.Ms},paddingInlineStart:{style:r.Ms},paddingInlineEnd:{style:r.Ms},paddingBlock:{style:r.Ms},paddingBlockStart:{style:r.Ms},paddingBlockEnd:{style:r.Ms},m:{style:r.Lc},mt:{style:r.Lc},mr:{style:r.Lc},mb:{style:r.Lc},ml:{style:r.Lc},mx:{style:r.Lc},my:{style:r.Lc},margin:{style:r.Lc},marginTop:{style:r.Lc},marginRight:{style:r.Lc},marginBottom:{style:r.Lc},marginLeft:{style:r.Lc},marginX:{style:r.Lc},marginY:{style:r.Lc},marginInline:{style:r.Lc},marginInlineStart:{style:r.Lc},marginInlineEnd:{style:r.Lc},marginBlock:{style:r.Lc},marginBlockStart:{style:r.Lc},marginBlockEnd:{style:r.Lc},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:_},rowGap:{style:C},columnGap:{style:A},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:k},maxWidth:{style:M},minWidth:{transform:k},height:{transform:k},maxHeight:{transform:k},minHeight:{transform:k},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}})},27955:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(11317),a=n(94584);const o=e=>{const t={systemProps:{},otherProps:{}},n=e?.theme?.unstable_sxConfig??a.A;return Object.keys(e).forEach((r=>{n[r]?t.systemProps[r]=e[r]:t.otherProps[r]=e[r]})),t};function i(e){const{sx:t,...n}=e,{systemProps:a,otherProps:i}=o(n);let s;return s=Array.isArray(t)?[a,...t]:"function"==typeof t?(...e)=>{const n=t(...e);return(0,r.Q)(n)?{...a,...n}:a}:{...a,...t},{...i,sx:s}}},37415:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(13967),a=n(78415),o=n(22423),i=n(26287),s=n(6191),l=n(94584);const u=function(){function e(e,t,n,a){const s={[e]:t,theme:n},l=a[e];if(!l)return{[e]:t};const{cssProperty:u=e,themeKey:c,transform:d,style:p}=l;if(null==t)return null;if("typography"===c&&"inherit"===t)return{[e]:t};const f=(0,o.Yn)(n,c)||{};return p?p(s):(0,i.NI)(s,t,(t=>{let n=(0,o.BO)(f,d,t);return t===n&&"string"==typeof t&&(n=(0,o.BO)(f,d,`${e}${"default"===t?"":(0,r.A)(t)}`,t)),!1===u?n:{[u]:n}}))}return function t(n){const{sx:r,theme:o={}}=n||{};if(!r)return null;const u=o.unstable_sxConfig??l.A;function c(n){let r=n;if("function"==typeof n)r=n(o);else if("object"!=typeof n)return n;if(!r)return null;const l=(0,i.EU)(o.breakpoints),c=Object.keys(l);let d=l;return Object.keys(r).forEach((n=>{const s="function"==typeof(l=r[n])?l(o):l;var l;if(null!=s)if("object"==typeof s)if(u[n])d=(0,a.A)(d,e(n,s,o,u));else{const e=(0,i.NI)({theme:o},s,(e=>({[n]:e})));!function(...e){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]),n=new Set(t);return e.every((e=>n.size===Object.keys(e).length))}(e,s)?d=(0,a.A)(d,e):d[n]=t({sx:s,theme:o})}else d=(0,a.A)(d,e(n,s,o,u))})),(0,s._S)(o,(0,i.vf)(c,d))}return Array.isArray(r)?r.map(c):c(r)}}();u.filterProps=["sx"];const c=u},86819:(e,t,n)=>{"use strict";var r;n.d(t,{A:()=>d});var a=n(96540),o=n(21529),i=n(63576),s=n(46539);function l(e,t,n,r,i){const[s,l]=a.useState((()=>i&&n?n(e).matches:r?r(e).matches:t));return(0,o.A)((()=>{if(!n)return;const t=n(e),r=()=>{l(t.matches)};return r(),t.addEventListener("change",r),()=>{t.removeEventListener("change",r)}}),[e,n]),s}const u={...r||(r=n.t(a,2))}.useSyncExternalStore;function c(e,t,n,r,o){const i=a.useCallback((()=>t),[t]),s=a.useMemo((()=>{if(o&&n)return()=>n(e).matches;if(null!==r){const{matches:t}=r(e);return()=>t}return i}),[i,e,r,o,n]),[l,c]=a.useMemo((()=>{if(null===n)return[i,()=>()=>{}];const t=n(e);return[()=>t.matches,e=>(t.addEventListener("change",e),()=>{t.removeEventListener("change",e)})]}),[i,n,e]);return u(c,l,s)}function d(e,t={}){const n=(0,s.A)(),r="undefined"!=typeof window&&void 0!==window.matchMedia,{defaultMatches:a=!1,matchMedia:o=(r?window.matchMedia:null),ssrMatchMedia:d=null,noSsr:p=!1}=(0,i.A)({name:"MuiUseMediaQuery",props:t,theme:n});let f="function"==typeof e?e(n):e;return f=f.replace(/^@media( ?)/m,""),(void 0!==u?c:l)(f,a,o,d,p)}},51777:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(17983),a=n(46539);const o=(0,r.A)(),i=function(e=o){return(0,a.A)(e)}},63576:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(47379);function a(e){const{theme:t,name:n,props:a}=e;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?(0,r.A)(t.components[n].defaultProps,a):a}},46539:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(96540),a=n(99214);const o=function(e=null){const t=r.useContext(a.T);return t&&(n=t,0!==Object.keys(n).length)?t:e;var n}},79071:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});const r=e=>e,a=(()=>{let e=r;return{configure(t){e=t},generate:t=>e(t),reset(){e=r}}})()},70999:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e,t,n){return void 0===e||"string"==typeof e?t:{...t,ownerState:{...t.ownerState,...n}}}},13967:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(89453);function a(e){if("string"!=typeof e)throw new Error((0,r.A)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},90725:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}},75659:(e,t,n)=>{"use strict";function r(e,t,n=void 0){const r={};for(const a in e){const o=e[a];let i="",s=!0;for(let e=0;er})},76673:(e,t,n)=>{"use strict";function r(...e){return e.reduce(((e,t)=>null==t?e:function(...n){e.apply(this,n),t.apply(this,n)}),(()=>{}))}n.d(t,{A:()=>r})},74705:(e,t,n)=>{"use strict";function r(e,t=166){let n;function r(...r){clearTimeout(n),n=setTimeout((()=>{e.apply(this,r)}),t)}return r.clear=()=>{clearTimeout(n)},r}n.d(t,{A:()=>r})},11317:(e,t,n)=>{"use strict";function r(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function a(e){if(!r(e))return e;const t={};return Object.keys(e).forEach((n=>{t[n]=a(e[n])})),t}function o(e,t,n={clone:!0}){const i=n.clone?{...e}:e;return r(e)&&r(t)&&Object.keys(t).forEach((s=>{r(t[s])&&Object.prototype.hasOwnProperty.call(e,s)&&r(e[s])?i[s]=o(e[s],t[s],n):n.clone?i[s]=r(t[s])?a(t[s]):t[s]:i[s]=t[s]})),i}n.d(t,{A:()=>o,Q:()=>r})},74959:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e,t=[]){if(void 0===e)return{};const n={};return Object.keys(e).filter((n=>n.match(/^on[A-Z]/)&&"function"==typeof e[n]&&!t.includes(n))).forEach((t=>{n[t]=e[t]})),n}},89453:(e,t,n)=>{"use strict";function r(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;er})},31609:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>o});var r=n(79071);const a={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function o(e,t,n="Mui"){const o=a[t];return o?`${n}-${o}`:`${r.A.generate(e)}-${t}`}},38413:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(31609);function a(e,t,n="Mui"){const a={};return t.forEach((t=>{a[t]=(0,r.Ay)(e,t,n)})),a}},57223:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(96540);function a(e){return parseInt(r.version,10)>=19?e.props?.ref:e?.ref}},93205:(e,t,n)=>{"use strict";function r(e=window){const t=e.document.documentElement.clientWidth;return e.innerWidth-t}n.d(t,{A:()=>r})},24899:(e,t,n)=>{"use strict";function r(e){try{return e.matches(":focus-visible")}catch(e){}return!1}n.d(t,{A:()=>r})},22505:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(34164),a=n(74959);const o=function(e){if(void 0===e)return{};const t={};return Object.keys(e).filter((t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t]))).forEach((n=>{t[n]=e[n]})),t},i=function(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:i,externalForwardedProps:s,className:l}=e;if(!t){const e=(0,r.A)(n?.className,l,s?.className,i?.className),t={...n?.style,...s?.style,...i?.style},a={...n,...s,...i};return e.length>0&&(a.className=e),Object.keys(t).length>0&&(a.style=t),{props:a,internalRef:void 0}}const u=(0,a.A)({...s,...i}),c=o(i),d=o(s),p=t(u),f=(0,r.A)(p?.className,n?.className,l,s?.className,i?.className),h={...p?.style,...n?.style,...s?.style,...i?.style},m={...p,...n,...d,...c};return f.length>0&&(m.className=f),Object.keys(h).length>0&&(m.style=h),{props:m,internalRef:p.ref}}},32325:(e,t,n)=>{"use strict";function r(e){return e&&e.ownerDocument||document}n.d(t,{A:()=>r})},44877:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(32325);function a(e){return(0,r.A)(e).defaultView||window}},56677:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e,t,n){return"function"==typeof e?e(t,n):e}},47379:(e,t,n)=>{"use strict";function r(e,t){const n={...t};for(const a in e)if(Object.prototype.hasOwnProperty.call(e,a)){const o=a;if("components"===o||"slots"===o)n[o]={...e[o],...n[o]};else if("componentsProps"===o||"slotProps"===o){const a=e[o],i=t[o];if(i)if(a){n[o]={...i};for(const e in a)if(Object.prototype.hasOwnProperty.call(a,e)){const t=e;n[o][t]=r(a[t],i[t])}}else n[o]=i;else n[o]=a||{}}else void 0===n[o]&&(n[o]=e[o])}return n}n.d(t,{A:()=>r})},17365:(e,t,n)=>{"use strict";function r(e,t){"function"==typeof e?e(t):e&&(e.current=t)}n.d(t,{A:()=>r})},2501:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(96540);function a({controlled:e,default:t,name:n,state:a="value"}){const{current:o}=r.useRef(void 0!==e),[i,s]=r.useState(t);return[o?e:i,r.useCallback((e=>{o||s(e)}),[])]}},21529:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(96540);const a="undefined"!=typeof window?r.useLayoutEffect:r.useEffect},71547:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(96540),a=n(21529);const o=function(e){const t=r.useRef(e);return(0,a.A)((()=>{t.current=e})),r.useRef(((...e)=>(0,t.current)(...e))).current}},31523:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(96540),a=n(17365);function o(...e){return r.useMemo((()=>e.every((e=>null==e))?null:t=>{e.forEach((e=>{(0,a.A)(e,t)}))}),e)}},34661:(e,t,n)=>{"use strict";var r;n.d(t,{A:()=>s});var a=n(96540);let o=0;const i={...r||(r=n.t(a,2))}.useId;function s(e){if(void 0!==i){const t=i();return e??t}return function(e){const[t,n]=a.useState(e),r=e||t;return a.useEffect((()=>{null==t&&(o+=1,n(`mui-${o}`))}),[t]),r}(e)}},72295:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(96540);const a={};function o(e,t){const n=r.useRef(a);return n.current===a&&(n.current=e(t)),n}},8299:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(96540);const a=e=>{const t=r.useRef({});return r.useEffect((()=>{t.current=e})),t.current}},79329:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(31523),a=n(70999),o=n(22505),i=n(56677);const s=function(e){const{elementType:t,externalSlotProps:n,ownerState:s,skipResolvingSlotProps:l=!1,...u}=e,c=l?{}:(0,i.A)(n,s),{props:d,internalRef:p}=(0,o.A)({...u,externalSlotProps:c}),f=(0,r.A)(p,c?.ref,e.additionalProps?.ref);return(0,a.A)(t,{...d,ref:f},s)}},69787:(e,t,n)=>{"use strict";n.d(t,{E:()=>i,A:()=>s});var r=n(72295),a=n(96540);const o=[];class i{static create(){return new i}currentId=null;start(e,t){this.clear(),this.currentId=setTimeout((()=>{this.currentId=null,t()}),e)}clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)};disposeEffect=()=>this.clear}function s(){const e=(0,r.A)(i.create).current;var t;return t=e.disposeEffect,a.useEffect(t,o),e}},78981:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0});const n="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;t.DEBUG_BUILD=n},64666:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320),a=n(78981),o=n(57742),i={};function s(e){const t=i[e];if(t)return t;let n=o.WINDOW[e];if(r.isNativeFunction(n))return i[e]=n.bind(o.WINDOW);const s=o.WINDOW.document;if(s&&"function"==typeof s.createElement)try{const t=s.createElement("iframe");t.hidden=!0,s.head.appendChild(t);const r=t.contentWindow;r&&r[e]&&(n=r[e]),s.head.removeChild(t)}catch(t){a.DEBUG_BUILD&&r.logger.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,t)}return n?i[e]=n.bind(o.WINDOW):n}t.clearCachedImplementation=function(e){i[e]=void 0},t.fetch=function(...e){return s("fetch")(...e)},t.getNativeImplementation=s,t.setTimeout=function(...e){return s("setTimeout")(...e)}},81015:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(23872),a=n(94624),o=n(30677),i=n(78577),s=n(64666),l=n(30139),u=n(48412);t.addClsInstrumentationHandler=r.addClsInstrumentationHandler,t.addFidInstrumentationHandler=r.addFidInstrumentationHandler,t.addInpInstrumentationHandler=r.addInpInstrumentationHandler,t.addLcpInstrumentationHandler=r.addLcpInstrumentationHandler,t.addPerformanceInstrumentationHandler=r.addPerformanceInstrumentationHandler,t.addTtfbInstrumentationHandler=r.addTtfbInstrumentationHandler,t.addPerformanceEntries=a.addPerformanceEntries,t.startTrackingInteractions=a.startTrackingInteractions,t.startTrackingLongAnimationFrames=a.startTrackingLongAnimationFrames,t.startTrackingLongTasks=a.startTrackingLongTasks,t.startTrackingWebVitals=a.startTrackingWebVitals,t.addClickKeypressInstrumentationHandler=o.addClickKeypressInstrumentationHandler,t.addHistoryInstrumentationHandler=i.addHistoryInstrumentationHandler,t.clearCachedImplementation=s.clearCachedImplementation,t.fetch=s.fetch,t.getNativeImplementation=s.getNativeImplementation,t.setTimeout=s.setTimeout,t.SENTRY_XHR_DATA_KEY=l.SENTRY_XHR_DATA_KEY,t.addXhrInstrumentationHandler=l.addXhrInstrumentationHandler,t.registerInpInteractionListener=u.registerInpInteractionListener,t.startTrackingINP=u.startTrackingINP},30677:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320),a=n(57742),o=1e3;let i,s,l;function u(){if(!a.WINDOW.document)return;const e=r.triggerHandlers.bind(null,"dom"),t=c(e,!0);a.WINDOW.document.addEventListener("click",t,!1),a.WINDOW.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach((t=>{const n=a.WINDOW[t]&&a.WINDOW[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(r.fill(n,"addEventListener",(function(t){return function(n,r,a){if("click"===n||"keypress"==n)try{const r=this,o=r.__sentry_instrumentation_handlers__=r.__sentry_instrumentation_handlers__||{},i=o[n]=o[n]||{refCount:0};if(!i.handler){const r=c(e);i.handler=r,t.call(this,n,r,a)}i.refCount++}catch(e){}return t.call(this,n,r,a)}})),r.fill(n,"removeEventListener",(function(e){return function(t,n,r){if("click"===t||"keypress"==t)try{const n=this,a=n.__sentry_instrumentation_handlers__||{},o=a[t];o&&(o.refCount--,o.refCount<=0&&(e.call(this,t,o.handler,r),o.handler=void 0,delete a[t]),0===Object.keys(a).length&&delete n.__sentry_instrumentation_handlers__)}catch(e){}return e.call(this,t,n,r)}})))}))}function c(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;const u=function(e){try{return e.target}catch(e){return null}}(n);if(function(e,t){return"keypress"===e&&(!t||!t.tagName||"INPUT"!==t.tagName&&"TEXTAREA"!==t.tagName&&!t.isContentEditable)}(n.type,u))return;r.addNonEnumerableProperty(n,"_sentryCaptured",!0),u&&!u._sentryId&&r.addNonEnumerableProperty(u,"_sentryId",r.uuid4());const c="keypress"===n.type?"input":n.type;(function(e){if(e.type!==s)return!1;try{if(!e.target||e.target._sentryId!==l)return!1}catch(e){}return!0})(n)||(e({event:n,name:c,global:t}),s=n.type,l=u?u._sentryId:void 0),clearTimeout(i),i=a.WINDOW.setTimeout((()=>{l=void 0,s=void 0}),o)}}t.addClickKeypressInstrumentationHandler=function(e){r.addHandler("dom",e),r.maybeInstrument("dom",u)},t.instrumentDOM=u},78577:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320),a=n(57742);let o;function i(){if(!r.supportsHistory())return;const e=a.WINDOW.onpopstate;function t(e){return function(...t){const n=t.length>2?t[2]:void 0;if(n){const e=o,t=String(n);o=t;const a={from:e,to:t};r.triggerHandlers("history",a)}return e.apply(this,t)}}a.WINDOW.onpopstate=function(...t){const n=a.WINDOW.location.href,i=o;o=n;const s={from:i,to:n};if(r.triggerHandlers("history",s),e)try{return e.apply(this,t)}catch(e){}},r.fill(a.WINDOW.history,"pushState",t),r.fill(a.WINDOW.history,"replaceState",t)}t.addHistoryInstrumentationHandler=function(e){const t="history";r.addHandler(t,e),r.maybeInstrument(t,i)}},30139:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320),a=n(57742),o="__sentry_xhr_v3__";function i(){if(!a.WINDOW.XMLHttpRequest)return;const e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(e,t,n){const a=1e3*r.timestampInSeconds(),i=r.isString(n[0])?n[0].toUpperCase():void 0,s=function(e){if(r.isString(e))return e;try{return e.toString()}catch(e){}}(n[1]);if(!i||!s)return e.apply(t,n);t[o]={method:i,url:s,request_headers:{}},"POST"===i&&s.match(/sentry_key/)&&(t.__sentry_own_request__=!0);const l=()=>{const e=t[o];if(e&&4===t.readyState){try{e.status_code=t.status}catch(e){}const n={endTimestamp:1e3*r.timestampInSeconds(),startTimestamp:a,xhr:t};r.triggerHandlers("xhr",n)}};return"onreadystatechange"in t&&"function"==typeof t.onreadystatechange?t.onreadystatechange=new Proxy(t.onreadystatechange,{apply:(e,t,n)=>(l(),e.apply(t,n))}):t.addEventListener("readystatechange",l),t.setRequestHeader=new Proxy(t.setRequestHeader,{apply(e,t,n){const[a,i]=n,s=t[o];return s&&r.isString(a)&&r.isString(i)&&(s.request_headers[a.toLowerCase()]=i),e.apply(t,n)}}),e.apply(t,n)}}),e.send=new Proxy(e.send,{apply(e,t,n){const a=t[o];if(!a)return e.apply(t,n);void 0!==n[0]&&(a.body=n[0]);const i={startTimestamp:1e3*r.timestampInSeconds(),xhr:t};return r.triggerHandlers("xhr",i),e.apply(t,n)}})}t.SENTRY_XHR_DATA_KEY=o,t.addXhrInstrumentationHandler=function(e){r.addHandler("xhr",e),r.maybeInstrument("xhr",i)},t.instrumentXHR=i},94624:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(37872),a=n(24320),o=n(78981),i=n(57742),s=n(22501),l=n(23872),u=n(71604),c=n(12990),d=n(45476),p=n(30750),f=2147483647;let h,m,g=0,v={};function y(e,t,n,a,o){const i=d.getNavigationEntry(),s=u.msToSec(i?i.requestStart:0),l=o+Math.max(n,s),c=o+n,p=c+a,f={[r.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.resource.browser.metrics"};return l!==c&&(f["sentry.browser.measure_happened_before_request"]=!0,f["sentry.browser.measure_start_time"]=l),u.startAndEndSpan(e,l,p,{name:t.name,op:t.entryType,attributes:f}),l}function b(e,t,n,a,o,i){const s=i?t[i]:t[`${n}End`],l=t[`${n}Start`];l&&s&&u.startAndEndSpan(e,a+u.msToSec(l),a+u.msToSec(s),{op:`browser.${o||n}`,name:t.name,attributes:{[r.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.browser.metrics"}})}function w(e,t,n,o,s,l){if("xmlhttprequest"===t.initiatorType||"fetch"===t.initiatorType)return;const c=a.parseUrl(n),d={[r.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.resource.browser.metrics"};x(d,t,"transferSize","http.response_transfer_size"),x(d,t,"encodedBodySize","http.response_content_length"),x(d,t,"decodedBodySize","http.decoded_response_content_length"),"renderBlockingStatus"in t&&(d["resource.render_blocking_status"]=t.renderBlockingStatus),c.protocol&&(d["url.scheme"]=c.protocol.split(":").pop()),c.host&&(d["server.address"]=c.host),d["url.same_origin"]=n.includes(i.WINDOW.location.origin);const p=l+o,f=p+s;u.startAndEndSpan(e,p,f,{name:n.replace(i.WINDOW.location.origin,""),op:t.initiatorType?`resource.${t.initiatorType}`:"resource.other",attributes:d})}function x(e,t,n,r){const a=t[n];null!=a&&a{const n=u.msToSec(t.startTime),i=u.msToSec(Math.max(0,t.duration));if(!("navigation"===f&&x&&s+n{b(e,t,r,n)})),b(e,t,"secureConnection",n,"TLS/SSL","connectEnd"),b(e,t,"fetch",n,"cache","domainLookupStart"),b(e,t,"domainLookup",n,"DNS"),function(e,t,n){const a=n+u.msToSec(t.requestStart),o=n+u.msToSec(t.responseEnd),i=n+u.msToSec(t.responseStart);t.responseEnd&&(u.startAndEndSpan(e,a,o,{op:"browser.request",name:t.name,attributes:{[r.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.browser.metrics"}}),u.startAndEndSpan(e,i,o,{op:"browser.response",name:t.name,attributes:{[r.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.browser.metrics"}}))}(e,t,n)}(e,t,s);break;case"mark":case"paint":case"measure":{y(e,t,n,i,s);const r=p.getVisibilityWatcher(),l=t.startTime{r.setMeasurement(e,t.value,t.unit)})),e.setAttribute("performance.timeOrigin",s),e.setAttribute("performance.activationStart",c.getActivationStart()),function(e){h&&(o.DEBUG_BUILD&&a.logger.log("[Measurements] Adding LCP Data"),h.element&&e.setAttribute("lcp.element",a.htmlTreeAsString(h.element)),h.id&&e.setAttribute("lcp.id",h.id),h.url&&e.setAttribute("lcp.url",h.url.trim().slice(0,200)),e.setAttribute("lcp.size",h.size)),m&&m.sources&&(o.DEBUG_BUILD&&a.logger.log("[Measurements] Adding CLS Data"),m.sources.forEach(((t,n)=>e.setAttribute(`cls.source.${n+1}`,a.htmlTreeAsString(t.node)))))}(e)}h=void 0,m=void 0,v={}},t.startTrackingInteractions=function(){l.addPerformanceInstrumentationHandler("event",(({entries:e})=>{if(r.getActiveSpan())for(const t of e)if("click"===t.name){const e=u.msToSec(a.browserPerformanceTimeOrigin+t.startTime),n=u.msToSec(t.duration),o={name:a.htmlTreeAsString(t.target),op:`ui.interaction.${t.name}`,startTime:e,attributes:{[r.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.browser.metrics"}},i=a.getComponentName(t.target);i&&(o.attributes["ui.component_name"]=i);const s=r.startInactiveSpan(o);s&&s.end(e+n)}}))},t.startTrackingLongAnimationFrames=function(){new PerformanceObserver((e=>{if(r.getActiveSpan())for(const t of e.getEntries()){if(!t.scripts[0])continue;const e=u.msToSec(a.browserPerformanceTimeOrigin+t.startTime),n=u.msToSec(t.duration),o={[r.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.browser.metrics"},i=t.scripts[0],{invoker:s,invokerType:l,sourceURL:c,sourceFunctionName:d,sourceCharPosition:p}=i;o["browser.script.invoker"]=s,o["browser.script.invoker_type"]=l,c&&(o["code.filepath"]=c),d&&(o["code.function"]=d),-1!==p&&(o["browser.script.source_char_position"]=p);const f=r.startInactiveSpan({name:"Main UI thread blocked",op:"ui.long-animation-frame",startTime:e,attributes:o});f&&f.end(e+n)}})).observe({type:"long-animation-frame",buffered:!0})},t.startTrackingLongTasks=function(){l.addPerformanceInstrumentationHandler("longtask",(({entries:e})=>{if(r.getActiveSpan())for(const t of e){const e=u.msToSec(a.browserPerformanceTimeOrigin+t.startTime),n=u.msToSec(t.duration),o=r.startInactiveSpan({name:"Main UI thread blocked",op:"ui.long-task",startTime:e,attributes:{[r.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.browser.metrics"}});o&&o.end(e+n)}}))},t.startTrackingWebVitals=function({recordClsStandaloneSpans:e}){const t=u.getBrowserPerformanceAPI();if(t&&a.browserPerformanceTimeOrigin){t.mark&&i.WINDOW.performance.mark("sentry-tracing-init");const n=l.addFidInstrumentationHandler((({metric:e})=>{const t=e.entries[e.entries.length-1];if(!t)return;const n=u.msToSec(a.browserPerformanceTimeOrigin),r=u.msToSec(t.startTime);o.DEBUG_BUILD&&a.logger.log("[Measurements] Adding FID"),v.fid={value:e.value,unit:"millisecond"},v["mark.fid"]={value:n+r,unit:"second"}})),r=l.addLcpInstrumentationHandler((({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(o.DEBUG_BUILD&&a.logger.log("[Measurements] Adding LCP"),v.lcp={value:e.value,unit:"millisecond"},h=t)}),!0),c=l.addTtfbInstrumentationHandler((({metric:e})=>{e.entries[e.entries.length-1]&&(o.DEBUG_BUILD&&a.logger.log("[Measurements] Adding TTFB"),v.ttfb={value:e.value,unit:"millisecond"})})),d=e?s.trackClsAsStandaloneSpan():l.addClsInstrumentationHandler((({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(o.DEBUG_BUILD&&a.logger.log(`[Measurements] Adding CLS ${e.value}`),v.cls={value:e.value,unit:""},m=t)}),!0);return()=>{n(),r(),c(),d&&d()}}return()=>{}}},22501:(e,t,n)=>{var{_optionalChain:r}=n(24320);Object.defineProperty(t,"__esModule",{value:!0});const a=n(37872),o=n(24320),i=n(78981),s=n(23872),l=n(71604),u=n(33851);t.trackClsAsStandaloneSpan=function(){let e,t,n=0;if(!function(){try{return r([PerformanceObserver,"access",e=>e.supportedEntryTypes,"optionalAccess",e=>e.includes,"call",e=>e("layout-shift")])}catch(e){return!1}}())return;let c=!1;function d(){c||(c=!0,t&&function(e,t,n){i.DEBUG_BUILD&&o.logger.log(`Sending CLS span (${e})`);const s=l.msToSec((o.browserPerformanceTimeOrigin||0)+(r([t,"optionalAccess",e=>e.startTime])||0)),u=a.getCurrentScope().getScopeData().transactionName,c=t?o.htmlTreeAsString(r([t,"access",e=>e.sources,"access",e=>e[0],"optionalAccess",e=>e.node])):"Layout shift",d=o.dropUndefinedKeys({[a.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.http.browser.cls",[a.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"ui.webvital.cls",[a.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME]:r([t,"optionalAccess",e=>e.duration])||0,"sentry.pageload.span_id":n}),p=l.startStandaloneWebVitalSpan({name:c,transaction:u,attributes:d,startTime:s});r([p,"optionalAccess",e=>e.addEvent,"call",t=>t("cls",{[a.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT]:"",[a.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE]:e})]),r([p,"optionalAccess",e=>e.end,"call",e=>e(s)])}(n,e,t),p())}const p=s.addClsInstrumentationHandler((({metric:t})=>{const r=t.entries[t.entries.length-1];r&&(n=t.value,e=r)}),!0);u.onHidden((()=>{d()})),setTimeout((()=>{const e=a.getClient(),n=r([e,"optionalAccess",e=>e.on,"call",e=>e("startNavigationSpan",(()=>{d(),n&&n()}))]),o=a.getActiveSpan(),i=o&&a.getRootSpan(o),s=i&&a.spanToJSON(i);s&&"pageload"===s.op&&(t=i.spanContext().spanId)}),0)}},48412:(e,t,n)=>{var{_optionalChain:r}=n(24320);Object.defineProperty(t,"__esModule",{value:!0});const a=n(37872),o=n(24320),i=n(23872),s=n(71604),l=[],u=new Map,c={click:"click",pointerdown:"click",pointerup:"click",mousedown:"click",mouseup:"click",touchstart:"click",touchend:"click",mouseover:"hover",mouseout:"hover",mouseenter:"hover",mouseleave:"hover",pointerover:"hover",pointerout:"hover",pointerenter:"hover",pointerleave:"hover",dragstart:"drag",dragend:"drag",drag:"drag",dragenter:"drag",dragleave:"drag",dragover:"drag",drop:"drag",keydown:"press",keyup:"press",keypress:"press",input:"press"};t.registerInpInteractionListener=function(e){const t=({entries:e})=>{const t=a.getActiveSpan(),n=t&&a.getRootSpan(t);e.forEach((e=>{if(!i.isPerformanceEventTiming(e)||!n)return;const t=e.interactionId;if(null!=t&&!u.has(t)){if(l.length>10){const e=l.shift();u.delete(e)}l.push(t),u.set(t,n)}}))};i.addPerformanceInstrumentationHandler("event",t),i.addPerformanceInstrumentationHandler("first-input",t)},t.startTrackingINP=function(){if(s.getBrowserPerformanceAPI()&&o.browserPerformanceTimeOrigin){const e=i.addInpInstrumentationHandler((({metric:e})=>{if(null==e.value)return;const t=e.entries.find((t=>t.duration===e.value&&c[t.name]));if(!t)return;const{interactionId:n}=t,i=c[t.name],l=s.msToSec(o.browserPerformanceTimeOrigin+t.startTime),d=s.msToSec(e.value),p=a.getActiveSpan(),f=p?a.getRootSpan(p):void 0,h=(null!=n?u.get(n):void 0)||f,m=h?a.spanToJSON(h).description:a.getCurrentScope().getScopeData().transactionName,g=o.htmlTreeAsString(t.target),v=o.dropUndefinedKeys({[a.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.http.browser.inp",[a.SEMANTIC_ATTRIBUTE_SENTRY_OP]:`ui.interaction.${i}`,[a.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME]:t.duration}),y=s.startStandaloneWebVitalSpan({name:g,transaction:m,attributes:v,startTime:l});r([y,"optionalAccess",e=>e.addEvent,"call",t=>t("inp",{[a.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT]:"millisecond",[a.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE]:e.value})]),r([y,"optionalAccess",e=>e.end,"call",e=>e(l+d)])}));return()=>{e()}}return()=>{}}},23872:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320),a=n(78981),o=n(99462),i=n(82637),s=n(28879),l=n(96505),u=n(1188),c=n(10763),d={},p={};let f,h,m,g,v;function y(e,t){const n=d[e];if(n&&n.length)for(const o of n)try{o(t)}catch(t){a.DEBUG_BUILD&&r.logger.error(`Error while triggering instrumentation handler.\nType: ${e}\nName: ${r.getFunctionName(o)}\nError:`,t)}}function b(){return o.onCLS((e=>{y("cls",{metric:e}),f=e}),{reportAllChanges:!0})}function w(){return i.onFID((e=>{y("fid",{metric:e}),h=e}))}function x(){return l.onLCP((e=>{y("lcp",{metric:e}),m=e}),{reportAllChanges:!0})}function S(){return c.onTTFB((e=>{y("ttfb",{metric:e}),g=e}))}function _(){return s.onINP((e=>{y("inp",{metric:e}),v=e}))}function A(e,t,n,r,a=!1){let o;return C(e,t),p[e]||(o=n(),p[e]=!0),r&&t({metric:r}),T(e,t,a?o:void 0)}function C(e,t){d[e]=d[e]||[],d[e].push(t)}function T(e,t,n){return()=>{n&&n();const r=d[e];if(!r)return;const a=r.indexOf(t);-1!==a&&r.splice(a,1)}}t.addClsInstrumentationHandler=function(e,t=!1){return A("cls",e,b,f,t)},t.addFidInstrumentationHandler=function(e){return A("fid",e,w,h)},t.addInpInstrumentationHandler=function(e){return A("inp",e,_,v)},t.addLcpInstrumentationHandler=function(e,t=!1){return A("lcp",e,x,m,t)},t.addPerformanceInstrumentationHandler=function(e,t){return C(e,t),p[e]||(function(e){const t={};"event"===e&&(t.durationThreshold=0),u.observe(e,(t=>{y(e,{entries:t})}),t)}(e),p[e]=!0),T(e,t)},t.addTtfbInstrumentationHandler=function(e){return A("ttfb",e,S,g)},t.isPerformanceEventTiming=function(e){return"duration"in e}},71604:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(37872),a=n(57742);t.getBrowserPerformanceAPI=function(){return a.WINDOW&&a.WINDOW.addEventListener&&a.WINDOW.performance},t.isMeasurementValue=function(e){return"number"==typeof e&&isFinite(e)},t.msToSec=function(e){return e/1e3},t.startAndEndSpan=function(e,t,n,{...a}){const o=r.spanToJSON(e).start_timestamp;return o&&o>t&&"function"==typeof e.updateStartTime&&e.updateStartTime(t),r.withActiveSpan(e,(()=>{const e=r.startInactiveSpan({startTime:t,...a});return e&&e.end(n),e}))},t.startStandaloneWebVitalSpan=function(e){const t=r.getClient();if(!t)return;const{name:n,transaction:o,attributes:i,startTime:s}=e,{release:l,environment:u}=t.getOptions(),c=t.getIntegrationByName("Replay"),d=c&&c.getReplayId(),p=r.getCurrentScope(),f=p.getUser(),h=void 0!==f?f.email||f.id||f.ip_address:void 0;let m;try{m=p.getScopeData().contexts.profile.profile_id}catch(e){}const g={release:l,environment:u,user:h||void 0,profile_id:m||void 0,replay_id:d||void 0,transaction:o,"user_agent.original":a.WINDOW.navigator&&a.WINDOW.navigator.userAgent,...i};return r.startInactiveSpan({name:n,attributes:g,startTime:s,experimental:{standalone:!0}})}},99462:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(91872),a=n(3940),o=n(1188),i=n(33851),s=n(79212),l=n(79750),u=[.1,.25];t.CLSThresholds=u,t.onCLS=(e,t={})=>{l.onFCP(s.runOnce((()=>{const n=a.initMetric("CLS",0);let s,l=0,c=[];const d=e=>{e.forEach((e=>{if(!e.hadRecentInput){const t=c[0],n=c[c.length-1];l&&t&&n&&e.startTime-n.startTime<1e3&&e.startTime-t.startTime<5e3?(l+=e.value,c.push(e)):(l=e.value,c=[e])}})),l>n.value&&(n.value=l,n.entries=c,s())},p=o.observe("layout-shift",d);p&&(s=r.bindReporter(e,n,u,t.reportAllChanges),i.onHidden((()=>{d(p.takeRecords()),s(!0)})),setTimeout(s,0))})))}},82637:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(91872),a=n(30750),o=n(3940),i=n(1188),s=n(33851),l=n(79212),u=n(20135),c=[100,300];t.FIDThresholds=c,t.onFID=(e,t={})=>{u.whenActivated((()=>{const n=a.getVisibilityWatcher(),u=o.initMetric("FID");let d;const p=e=>{e.startTime{e.forEach(p)},h=i.observe("first-input",f);d=r.bindReporter(e,u,c,t.reportAllChanges),h&&s.onHidden(l.runOnce((()=>{f(h.takeRecords()),h.disconnect()})))}))}},28879:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(57742),a=n(91872),o=n(3940),i=n(1188),s=n(33851),l=n(45135),u=n(20135),c=[200,500],d=()=>l.getInteractionCount()-0,p=[],f={},h=e=>{const t=p[p.length-1],n=f[e.interactionId];if(n||p.length<10||t&&e.duration>t.latency){if(n)n.entries.push(e),n.latency=Math.max(n.latency,e.duration);else{const t={id:e.interactionId,latency:e.duration,entries:[e]};f[t.id]=t,p.push(t)}p.sort(((e,t)=>t.latency-e.latency)),p.splice(10).forEach((e=>{delete f[e.id]}))}};t.INPThresholds=c,t.onINP=(e,t={})=>{u.whenActivated((()=>{l.initInteractionCountPolyfill();const n=o.initMetric("INP");let u;const f=e=>{e.forEach((e=>{e.interactionId&&h(e),"first-input"===e.entryType&&!p.some((t=>t.entries.some((t=>e.duration===t.duration&&e.startTime===t.startTime))))&&h(e)}));const t=(()=>{const e=Math.min(p.length-1,Math.floor(d()/50));return p[e]})();t&&t.latency!==n.value&&(n.value=t.latency,n.entries=t.entries,u())},m=i.observe("event",f,{durationThreshold:null!=t.durationThreshold?t.durationThreshold:40});u=a.bindReporter(e,n,c,t.reportAllChanges),m&&("PerformanceEventTiming"in r.WINDOW&&"interactionId"in PerformanceEventTiming.prototype&&m.observe({type:"first-input",buffered:!0}),s.onHidden((()=>{f(m.takeRecords()),n.value<0&&d()>0&&(n.value=0,n.entries=[]),u(!0)})))}))}},96505:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(57742),a=n(91872),o=n(12990),i=n(30750),s=n(3940),l=n(1188),u=n(33851),c=n(79212),d=n(20135),p=[2500,4e3],f={};t.LCPThresholds=p,t.onLCP=(e,t={})=>{d.whenActivated((()=>{const n=i.getVisibilityWatcher(),d=s.initMetric("LCP");let h;const m=e=>{const t=e[e.length-1];t&&t.startTime{f[d.id]||(m(g.takeRecords()),g.disconnect(),f[d.id]=!0,h(!0))}));["keydown","click"].forEach((e=>{r.WINDOW.document&&addEventListener(e,(()=>setTimeout(n,0)),!0)})),u.onHidden(n)}}))}},91872:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.bindReporter=(e,t,n,r)=>{let a,o;return i=>{t.value>=0&&(i||r)&&(o=t.value-(a||0),(o||void 0===a)&&(a=t.value,t.delta=o,t.rating=((e,t)=>e>t[1]?"poor":e>t[0]?"needs-improvement":"good")(t.value,n),e(t)))}}},47295:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.generateUniqueID=()=>`v3-${Date.now()}-${Math.floor(8999999999999*Math.random())+1e12}`},12990:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(45476);t.getActivationStart=()=>{const e=r.getNavigationEntry();return e&&e.activationStart||0}},45476:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(57742);t.getNavigationEntry=()=>r.WINDOW.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]},30750:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(57742);let a=-1;const o=e=>{"hidden"===r.WINDOW.document.visibilityState&&a>-1&&(a="visibilitychange"===e.type?e.timeStamp:0,removeEventListener("visibilitychange",o,!0),removeEventListener("prerenderingchange",o,!0))};t.getVisibilityWatcher=()=>(r.WINDOW.document&&a<0&&(a="hidden"!==r.WINDOW.document.visibilityState||r.WINDOW.document.prerendering?1/0:0,addEventListener("visibilitychange",o,!0),addEventListener("prerenderingchange",o,!0)),{get firstHiddenTime(){return a}})},3940:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(57742),a=n(47295),o=n(12990),i=n(45476);t.initMetric=(e,t)=>{const n=i.getNavigationEntry();let s="navigate";return n&&(r.WINDOW.document&&r.WINDOW.document.prerendering||o.getActivationStart()>0?s="prerender":r.WINDOW.document&&r.WINDOW.document.wasDiscarded?s="restore":n.type&&(s=n.type.replace(/_/g,"-"))),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:a.generateUniqueID(),navigationType:s}}},1188:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.observe=(e,t,n)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){const r=new PerformanceObserver((e=>{Promise.resolve().then((()=>{t(e.getEntries())}))}));return r.observe(Object.assign({type:e,buffered:!0},n||{})),r}}catch(e){}}},33851:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(57742);t.onHidden=e=>{const t=t=>{("pagehide"===t.type||r.WINDOW.document&&"hidden"===r.WINDOW.document.visibilityState)&&e(t)};r.WINDOW.document&&(addEventListener("visibilitychange",t,!0),addEventListener("pagehide",t,!0))}},45135:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(1188);let a=0,o=1/0,i=0;const s=e=>{e.forEach((e=>{e.interactionId&&(o=Math.min(o,e.interactionId),i=Math.max(i,e.interactionId),a=i?(i-o)/7+1:0)}))};let l;t.getInteractionCount=()=>l?a:performance.interactionCount||0,t.initInteractionCountPolyfill=()=>{"interactionCount"in performance||l||(l=r.observe("event",s,{type:"event",buffered:!0,durationThreshold:0}))}},79212:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.runOnce=e=>{let t=!1;return n=>{t||(e(n),t=!0)}}},20135:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(57742);t.whenActivated=e=>{r.WINDOW.document&&r.WINDOW.document.prerendering?addEventListener("prerenderingchange",(()=>e()),!0):e()}},79750:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(91872),a=n(12990),o=n(30750),i=n(3940),s=n(1188),l=n(20135),u=[1800,3e3];t.FCPThresholds=u,t.onFCP=(e,t={})=>{l.whenActivated((()=>{const n=o.getVisibilityWatcher(),l=i.initMetric("FCP");let c;const d=s.observe("paint",(e=>{e.forEach((e=>{"first-contentful-paint"===e.name&&(d.disconnect(),e.startTime{Object.defineProperty(t,"__esModule",{value:!0});const r=n(57742),a=n(91872),o=n(12990),i=n(45476),s=n(3940),l=n(20135),u=[800,1800],c=e=>{r.WINDOW.document&&r.WINDOW.document.prerendering?l.whenActivated((()=>c(e))):r.WINDOW.document&&"complete"!==r.WINDOW.document.readyState?addEventListener("load",(()=>c(e)),!0):setTimeout(e,0)};t.TTFBThresholds=u,t.onTTFB=(e,t={})=>{const n=s.initMetric("TTFB"),r=a.bindReporter(e,n,u,t.reportAllChanges);c((()=>{const e=i.getNavigationEntry();if(e){const t=e.responseStart;if(t<=0||t>performance.now())return;n.value=Math.max(t-o.getActivationStart(),0),n.entries=[e],r(!0)}}))}},57742:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320).GLOBAL_OBJ;t.WINDOW=r},66532:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(37872),a=n(24320),o=a.GLOBAL_OBJ,i=o.document,s=o.navigator,l="Report a Bug",u="widget",c=(e,t={includeReplay:!0})=>{if(!e.message)throw new Error("Unable to submit feedback with empty message");const n=r.getClient();if(!n)throw new Error("No client setup, cannot send feedback.");e.tags&&Object.keys(e.tags).length&&r.getCurrentScope().setTags(e.tags);const o=r.captureFeedback({source:"api",url:a.getLocationHref(),...e},t);return new Promise(((e,t)=>{const r=setTimeout((()=>t("Unable to determine if Feedback was correctly sent.")),5e3),a=n.on("afterSendEvent",((n,i)=>{if(n.event_id===o)return clearTimeout(r),a(),i&&"number"==typeof i.statusCode&&i.statusCode>=200&&i.statusCode<300&&e(o),i&&"number"==typeof i.statusCode&&0===i.statusCode?t("Unable to send Feedback. This is because of network issues, or because you are using an ad-blocker."):i&&"number"==typeof i.statusCode&&403===i.statusCode?t("Unable to send Feedback. This could be because this domain is not in your list of allowed domains."):t("Unable to send Feedback. This could be because of network issues, or because you are using an ad-blocker")}))}))},d="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;function p(e,t){return{...e,...t,tags:{...e.tags,...t.tags},onFormOpen:()=>{t.onFormOpen&&t.onFormOpen(),e.onFormOpen&&e.onFormOpen()},onFormClose:()=>{t.onFormClose&&t.onFormClose(),e.onFormClose&&e.onFormClose()},onSubmitSuccess:n=>{t.onSubmitSuccess&&t.onSubmitSuccess(n),e.onSubmitSuccess&&e.onSubmitSuccess(n)},onSubmitError:n=>{t.onSubmitError&&t.onSubmitError(n),e.onSubmitError&&e.onSubmitError(n)},onFormSubmitted:()=>{t.onFormSubmitted&&t.onFormSubmitted(),e.onFormSubmitted&&e.onFormSubmitted()},themeDark:{...e.themeDark,...t.themeDark},themeLight:{...e.themeLight,...t.themeLight}}}function f(e,t){return Object.entries(t).forEach((([t,n])=>{e.setAttributeNS(null,t,n)})),e}const h="rgba(88, 74, 192, 1)",m={foreground:"#2b2233",background:"#ffffff",accentForeground:"white",accentBackground:h,successColor:"#268d75",errorColor:"#df3338",border:"1.5px solid rgba(41, 35, 47, 0.13)",boxShadow:"0px 4px 24px 0px rgba(43, 34, 51, 0.12)",outline:"1px auto var(--accent-background)",interactiveFilter:"brightness(95%)"},g={foreground:"#ebe6ef",background:"#29232f",accentForeground:"white",accentBackground:h,successColor:"#2da98c",errorColor:"#f55459",border:"1.5px solid rgba(235, 230, 239, 0.15)",boxShadow:"0px 4px 24px 0px rgba(43, 34, 51, 0.12)",outline:"1px auto var(--accent-background)",interactiveFilter:"brightness(150%)"};function v(e){return`\n --foreground: ${e.foreground};\n --background: ${e.background};\n --accent-foreground: ${e.accentForeground};\n --accent-background: ${e.accentBackground};\n --success-color: ${e.successColor};\n --error-color: ${e.errorColor};\n --border: ${e.border};\n --box-shadow: ${e.boxShadow};\n --outline: ${e.outline};\n --interactive-filter: ${e.interactiveFilter};\n `}var y,b,w,x,S,_,A,C={},T=[],k=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,E=Array.isArray;function M(e,t){for(var n in t)e[n]=t[n];return e}function P(e){var t=e.parentNode;t&&t.removeChild(e)}function O(e,t,n){var r,a,o,i={};for(o in t)"key"==o?r=t[o]:"ref"==o?a=t[o]:i[o]=t[o];if(arguments.length>2&&(i.children=arguments.length>3?y.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(o in e.defaultProps)void 0===i[o]&&(i[o]=e.defaultProps[o]);return I(e,i,r,a,null)}function I(e,t,n,r,a){var o={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==a?++w:a,__i:-1,__u:0};return null==a&&null!=b.vnode&&b.vnode(o),o}function D(e){return e.children}function R(e,t){this.props=e,this.context=t}function N(e,t){if(null==t)return e.__?N(e.__,e.__i+1):null;for(var n;tn?(Y(r,t,a),a.length=r.length=0,t=void 0,x.sort(A)):t&&b.__c&&b.__c(t,T));t&&Y(r,t,a),F.__r=0}function B(e,t,n,r,a,o,i,s,l,u,c){var d,p,f,h,m,g=r&&r.__k||T,v=t.length;for(n.__d=l,function(e,t,n){var r,a,o,i,s,l=t.length,u=n.length,c=u,d=0;for(e.__k=[],r=0;r0?I(a.type,a.props,a.key,a.ref?a.ref:null,a.__v):a)?(a.__=e,a.__b=e.__b+1,s=W(a,n,i=r+d,c),a.__i=s,o=null,-1!==s&&(c--,(o=n[s])&&(o.__u|=131072)),null==o||null===o.__v?(-1==s&&d--,"function"!=typeof a.type&&(a.__u|=65536)):s!==i&&(s===i+1?d++:s>i?c>l-i?d+=s-i:d--:d=s(null!=l&&0==(131072&l.__u)?1:0))for(;i>=0||s=0){if((l=t[i])&&0==(131072&l.__u)&&a==l.key&&o===l.type)return i;i--}if(s=n.__.length&&n.__.push({__V:oe}),n.__[e]}function he(e){return re=1,me(Ce,e)}function me(e,t,n){var r=fe(J++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):Ce(void 0,t),function(e){var t=r.__N?r.__N[0]:r.__[0],n=r.t(t,e);t!==n&&(r.__N=[n,r.__[1]],r.__c.setState({}))}],r.__c=ee,!ee.u)){var a=function(e,t,n){if(!r.__c.__H)return!0;var a=r.__c.__H.__.filter((function(e){return!!e.__c}));if(a.every((function(e){return!e.__N})))return!o||o.call(this,e,t,n);var i=!1;return a.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(i=!0)}})),!(!i&&r.__c.props===e)&&(!o||o.call(this,e,t,n))};ee.u=!0;var o=ee.shouldComponentUpdate,i=ee.componentWillUpdate;ee.componentWillUpdate=function(e,t,n){if(this.__e){var r=o;o=void 0,a(e,t,n),o=r}i&&i.call(this,e,t,n)},ee.shouldComponentUpdate=a}return r.__N||r.__}function ge(e,t){var n=fe(J++,4);!ie.__s&&Ae(n.__H,t)&&(n.__=e,n.i=t,ee.__h.push(n))}function ve(e,t){var n=fe(J++,7);return Ae(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function ye(e,t){return re=8,ve((function(){return e}),t)}function be(){for(var e;e=ae.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Se),e.__H.__h.forEach(_e),e.__H.__h=[]}catch(t){e.__H.__h=[],ie.__e(t,e.__v)}}ie.__b=function(e){ee=null,se&&se(e)},ie.__=function(e,t){t.__k&&t.__k.__m&&(e.__m=t.__k.__m),pe&&pe(e,t)},ie.__r=function(e){le&&le(e),J=0;var t=(ee=e.__c).__H;t&&(te===ee?(t.__h=[],ee.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=oe,e.__N=e.i=void 0}))):(t.__h.forEach(Se),t.__h.forEach(_e),t.__h=[],J=0)),te=ee},ie.diffed=function(e){ue&&ue(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==ae.push(t)&&ne===ie.requestAnimationFrame||((ne=ie.requestAnimationFrame)||xe)(be)),t.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.__V!==oe&&(e.__=e.__V),e.i=void 0,e.__V=oe}))),te=ee=null},ie.__c=function(e,t){t.some((function(e){try{e.__h.forEach(Se),e.__h=e.__h.filter((function(e){return!e.__||_e(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],ie.__e(n,e.__v)}})),ce&&ce(e,t)},ie.unmount=function(e){de&&de(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{Se(e)}catch(e){t=e}})),n.__H=void 0,t&&ie.__e(t,n.__v))};var we="function"==typeof requestAnimationFrame;function xe(e){var t,n=function(){clearTimeout(r),we&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);we&&(t=requestAnimationFrame(n))}function Se(e){var t=ee,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),ee=t}function _e(e){var t=ee;e.__c=e.__(),ee=t}function Ae(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function Ce(e,t){return"function"==typeof t?t(e):t}const Te={__proto__:null,useCallback:ye,useContext:function(e){var t=ee.context[e.__c],n=fe(J++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(ee)),t.props.value):e.__},useDebugValue:function(e,t){ie.useDebugValue&&ie.useDebugValue(t?t(e):e)},useEffect:function(e,t){var n=fe(J++,3);!ie.__s&&Ae(n.__H,t)&&(n.__=e,n.i=t,ee.__H.__h.push(n))},useErrorBoundary:function(e){var t=fe(J++,10),n=he();return t.__=e,ee.componentDidCatch||(ee.componentDidCatch=function(e,r){t.__&&t.__(e,r),n[1](e)}),[n[0],function(){n[1](void 0)}]},useId:function(){var e=fe(J++,11);if(!e.__){for(var t=ee.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__},useImperativeHandle:function(e,t,n){re=6,ge((function(){return"function"==typeof e?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0}),null==n?n:n.concat(e))},useLayoutEffect:ge,useMemo:ve,useReducer:me,useRef:function(e){return re=5,ve((function(){return{current:e}}),[])},useState:he},ke="http://www.w3.org/2000/svg";function Ee(){const e=e=>i.createElementNS(ke,e),t=f(e("svg"),{width:"32",height:"30",viewBox:"0 0 72 66",fill:"inherit"}),n=f(e("path"),{transform:"translate(11, 11)",d:"M29,2.26a4.67,4.67,0,0,0-8,0L14.42,13.53A32.21,32.21,0,0,1,32.17,40.19H27.55A27.68,27.68,0,0,0,12.09,17.47L6,28a15.92,15.92,0,0,1,9.23,12.17H4.62A.76.76,0,0,1,4,39.06l2.94-5a10.74,10.74,0,0,0-3.36-1.9l-2.91,5a4.54,4.54,0,0,0,1.69,6.24A4.66,4.66,0,0,0,4.62,44H19.15a19.4,19.4,0,0,0-8-17.31l2.31-4A23.87,23.87,0,0,1,23.76,44H36.07a35.88,35.88,0,0,0-16.41-31.8l4.67-8a.77.77,0,0,1,1.05-.27c.53.29,20.29,34.77,20.66,35.17a.76.76,0,0,1-.68,1.13H40.6q.09,1.91,0,3.81h4.78A4.59,4.59,0,0,0,50,39.43a4.49,4.49,0,0,0-.62-2.28Z"});return t.appendChild(n),t}const Me="/home/runner/work/sentry-javascript/sentry-javascript/packages/feedback/src/modal/components/DialogHeader.tsx";function Pe({options:e}){const t=ve((()=>({__html:Ee().outerHTML})),[]);return O("h2",{class:"dialog__header",__self:this,__source:{fileName:Me,lineNumber:16}},e.formTitle,e.showBranding?O("a",{class:"brand-link",target:"_blank",href:"https://sentry.io/welcome/",title:"Powered by Sentry",rel:"noopener noreferrer",dangerouslySetInnerHTML:t,__self:this,__source:{fileName:Me,lineNumber:19}}):null)}const Oe="/home/runner/work/sentry-javascript/sentry-javascript/packages/feedback/src/modal/components/Form.tsx";function Ie(e,t){const n=e.get(t);return"string"==typeof n?n.trim():""}function De({options:e,defaultEmail:t,defaultName:n,onFormClose:r,onSubmit:o,onSubmitSuccess:i,onSubmitError:s,showEmail:l,showName:c,screenshotInput:p}){const{tags:f,addScreenshotButtonLabel:h,removeScreenshotButtonLabel:m,cancelButtonLabel:g,emailLabel:v,emailPlaceholder:y,isEmailRequired:b,isNameRequired:w,messageLabel:x,messagePlaceholder:S,nameLabel:_,namePlaceholder:A,submitButtonLabel:C,isRequiredLabel:T}=e,[k,E]=he(null),[M,P]=he(!1),I=p&&p.input,[D,R]=he(null),N=ye((e=>{R(e),P(!1)}),[]),L=ye((e=>{const t=function(e,t){const n=[];return t.isNameRequired&&!e.name&&n.push(t.nameLabel),t.isEmailRequired&&!e.email&&n.push(t.emailLabel),e.message||n.push(t.messageLabel),n}(e,{emailLabel:v,isEmailRequired:b,isNameRequired:w,messageLabel:x,nameLabel:_});return t.length>0?E(`Please enter in the following required fields: ${t.join(", ")}`):E(null),0===t.length}),[v,b,w,x,_]),$=ye((async e=>{try{if(e.preventDefault(),!(e.target instanceof HTMLFormElement))return;const t=new FormData(e.target),n=await(p&&M?p.value():void 0),r={name:Ie(t,"name"),email:Ie(t,"email"),message:Ie(t,"message"),attachments:n?[n]:void 0};if(!L(r))return;try{await o({name:r.name,email:r.email,message:r.message,source:u,tags:f},{attachments:r.attachments}),i(r)}catch(e){d&&a.logger.error(e),E(e),s(e)}}catch(e){}}),[p&&M,i,s]);return O("form",{class:"form",onSubmit:$,__self:this,__source:{fileName:Oe,lineNumber:144}},I&&M?O(I,{onError:N,__self:this,__source:{fileName:Oe,lineNumber:146}}):null,O("div",{class:"form__right","data-sentry-feedback":!0,__self:this,__source:{fileName:Oe,lineNumber:149}},O("div",{class:"form__top",__self:this,__source:{fileName:Oe,lineNumber:150}},k?O("div",{class:"form__error-container",__self:this,__source:{fileName:Oe,lineNumber:151}},k):null,c?O("label",{for:"name",class:"form__label",__self:this,__source:{fileName:Oe,lineNumber:154}},O(Re,{label:_,isRequiredLabel:T,isRequired:w,__self:this,__source:{fileName:Oe,lineNumber:155}}),O("input",{class:"form__input",defaultValue:n,id:"name",name:"name",placeholder:A,required:w,type:"text",__self:this,__source:{fileName:Oe,lineNumber:156}})):O("input",{"aria-hidden":!0,value:n,name:"name",type:"hidden",__self:this,__source:{fileName:Oe,lineNumber:167}}),l?O("label",{for:"email",class:"form__label",__self:this,__source:{fileName:Oe,lineNumber:171}},O(Re,{label:v,isRequiredLabel:T,isRequired:b,__self:this,__source:{fileName:Oe,lineNumber:172}}),O("input",{class:"form__input",defaultValue:t,id:"email",name:"email",placeholder:y,required:b,type:"email",__self:this,__source:{fileName:Oe,lineNumber:173}})):O("input",{"aria-hidden":!0,value:t,name:"email",type:"hidden",__self:this,__source:{fileName:Oe,lineNumber:184}}),O("label",{for:"message",class:"form__label",__self:this,__source:{fileName:Oe,lineNumber:187}},O(Re,{label:x,isRequiredLabel:T,isRequired:!0,__self:this,__source:{fileName:Oe,lineNumber:188}}),O("textarea",{autoFocus:!0,class:"form__input form__input--textarea",id:"message",name:"message",placeholder:S,required:!0,rows:5,__self:this,__source:{fileName:Oe,lineNumber:189}})),I?O("label",{for:"screenshot",class:"form__label",__self:this,__source:{fileName:Oe,lineNumber:201}},O("button",{class:"btn btn--default",type:"button",onClick:()=>{R(null),P((e=>!e))},__self:this,__source:{fileName:Oe,lineNumber:202}},M?m:h),D?O("div",{class:"form__error-container",__self:this,__source:{fileName:Oe,lineNumber:212}},D.message):null):null),O("div",{class:"btn-group",__self:this,__source:{fileName:Oe,lineNumber:216}},O("button",{class:"btn btn--primary",type:"submit",__self:this,__source:{fileName:Oe,lineNumber:217}},C),O("button",{class:"btn btn--default",type:"button",onClick:r,__self:this,__source:{fileName:Oe,lineNumber:220}},g))))}function Re({label:e,isRequired:t,isRequiredLabel:n}){return O("span",{class:"form__label__text",__self:this,__source:{fileName:Oe,lineNumber:239}},e,t&&O("span",{class:"form__label__text--required",__self:this,__source:{fileName:Oe,lineNumber:241}},n))}const Ne=16,Le=17,$e="http://www.w3.org/2000/svg";function je(){const e=e=>o.document.createElementNS($e,e),t=f(e("svg"),{width:`${Ne}`,height:`${Le}`,viewBox:`0 0 ${Ne} ${Le}`,fill:"inherit"}),n=f(e("g"),{clipPath:"url(#clip0_57_156)"}),r=f(e("path"),{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.55544 15.1518C4.87103 16.0308 6.41775 16.5 8 16.5C10.1217 16.5 12.1566 15.6571 13.6569 14.1569C15.1571 12.6566 16 10.6217 16 8.5C16 6.91775 15.5308 5.37103 14.6518 4.05544C13.7727 2.73985 12.5233 1.71447 11.0615 1.10897C9.59966 0.503466 7.99113 0.34504 6.43928 0.653721C4.88743 0.962403 3.46197 1.72433 2.34315 2.84315C1.22433 3.96197 0.462403 5.38743 0.153721 6.93928C-0.15496 8.49113 0.00346625 10.0997 0.608967 11.5615C1.21447 13.0233 2.23985 14.2727 3.55544 15.1518ZM4.40546 3.1204C5.46945 2.40946 6.72036 2.03 8 2.03C9.71595 2.03 11.3616 2.71166 12.575 3.92502C13.7883 5.13838 14.47 6.78405 14.47 8.5C14.47 9.77965 14.0905 11.0306 13.3796 12.0945C12.6687 13.1585 11.6582 13.9878 10.476 14.4775C9.29373 14.9672 7.99283 15.0953 6.73777 14.8457C5.48271 14.596 4.32987 13.9798 3.42502 13.075C2.52018 12.1701 1.90397 11.0173 1.65432 9.76224C1.40468 8.50718 1.5328 7.20628 2.0225 6.02404C2.5122 4.8418 3.34148 3.83133 4.40546 3.1204Z"}),a=f(e("path"),{d:"M6.68775 12.4297C6.78586 12.4745 6.89218 12.4984 7 12.5C7.11275 12.4955 7.22315 12.4664 7.32337 12.4145C7.4236 12.3627 7.51121 12.2894 7.58 12.2L12 5.63999C12.0848 5.47724 12.1071 5.28902 12.0625 5.11098C12.0178 4.93294 11.9095 4.77744 11.7579 4.67392C11.6064 4.57041 11.4221 4.52608 11.24 4.54931C11.0579 4.57254 10.8907 4.66173 10.77 4.79999L6.88 10.57L5.13 8.56999C5.06508 8.49566 4.98613 8.43488 4.89768 8.39111C4.80922 8.34735 4.713 8.32148 4.61453 8.31498C4.51605 8.30847 4.41727 8.32147 4.32382 8.35322C4.23038 8.38497 4.14413 8.43484 4.07 8.49999C3.92511 8.63217 3.83692 8.81523 3.82387 9.01092C3.81083 9.2066 3.87393 9.39976 4 9.54999L6.43 12.24C6.50187 12.3204 6.58964 12.385 6.68775 12.4297Z"});t.appendChild(n).append(a,r);const i=e("defs"),s=f(e("clipPath"),{id:"clip0_57_156"}),l=f(e("rect"),{width:`${Ne}`,height:`${Ne}`,fill:"white",transform:"translate(0 0.5)"});return s.appendChild(l),i.appendChild(s),t.appendChild(i).appendChild(s).appendChild(l),t}const Fe="/home/runner/work/sentry-javascript/sentry-javascript/packages/feedback/src/modal/components/Dialog.tsx";function Be({open:e,onFormSubmitted:t,...n}){const r=n.options,a=ve((()=>({__html:je().outerHTML})),[]),[o,i]=he(null),s=ye((()=>{o&&(clearTimeout(o),i(null)),t()}),[o]),l=ye((e=>{n.onSubmitSuccess(e),i(setTimeout((()=>{t(),i(null)}),5e3))}),[t]);return O(D,{__self:this,__source:{fileName:Fe,lineNumber:48}},o?O("div",{class:"success__position",onClick:s,__self:this,__source:{fileName:Fe,lineNumber:50}},O("div",{class:"success__content",__self:this,__source:{fileName:Fe,lineNumber:51}},r.successMessageText,O("span",{class:"success__icon",dangerouslySetInnerHTML:a,__self:this,__source:{fileName:Fe,lineNumber:53}}))):O("dialog",{class:"dialog",onClick:r.onFormClose,open:e,__self:this,__source:{fileName:Fe,lineNumber:57}},O("div",{class:"dialog__position",__self:this,__source:{fileName:Fe,lineNumber:58}},O("div",{class:"dialog__content",onClick:e=>{e.stopPropagation()},__self:this,__source:{fileName:Fe,lineNumber:59}},O(Pe,{options:r,__self:this,__source:{fileName:Fe,lineNumber:66}}),O(De,{...n,onSubmitSuccess:l,__self:this,__source:{fileName:Fe,lineNumber:67}})))))}function ze(e){const t=i.createElement("style"),n="#1A141F",r="#302735";return t.textContent=`\n.editor {\n padding: 10px;\n padding-top: 65px;\n padding-bottom: 65px;\n flex-grow: 1;\n\n background-color: ${n};\n background-image: repeating-linear-gradient(\n -145deg,\n transparent,\n transparent 8px,\n ${n} 8px,\n ${n} 11px\n ),\n repeating-linear-gradient(\n -45deg,\n transparent,\n transparent 15px,\n ${r} 15px,\n ${r} 16px\n );\n}\n\n.editor__canvas-container {\n width: 100%;\n height: 100%;\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.editor__canvas-container canvas {\n object-fit: contain;\n position: relative;\n}\n\n.editor__crop-btn-group {\n padding: 8px;\n gap: 8px;\n border-radius: var(--menu-border-radius, 6px);\n background: var(--button-primary-background, var(--background));\n width: 175px;\n position: absolute;\n}\n\n.editor__crop-corner {\n width: 30px;\n height: 30px;\n position: absolute;\n background: none;\n border: 3px solid #ffffff;\n}\n\n.editor__crop-corner--top-left {\n cursor: nwse-resize;\n border-right: none;\n border-bottom: none;\n}\n.editor__crop-corner--top-right {\n cursor: nesw-resize;\n border-left: none;\n border-bottom: none;\n}\n.editor__crop-corner--bottom-left {\n cursor: nesw-resize;\n border-right: none;\n border-top: none;\n}\n.editor__crop-corner--bottom-right {\n cursor: nwse-resize;\n border-left: none;\n border-top: none;\n}\n`,e&&t.setAttribute("nonce",e),t}const We="/home/runner/work/sentry-javascript/sentry-javascript/packages/feedback/src/screenshot/components/ScreenshotEditor.tsx",Ve=33,Ue=o.devicePixelRatio,He=e=>({x:Math.min(e.startX,e.endX),y:Math.min(e.startY,e.endY),width:Math.abs(e.startX-e.endX),height:Math.abs(e.startY-e.endY)}),qe=e=>{const t=e.clientHeight,n=e.clientWidth,r=e.width/e.height;let a=t*r,o=t;a>n&&(a=n,o=n/r);const i=(n-a)/2,s=(t-o)/2;return{startX:i,startY:s,endX:a+i,endY:o+s}};function Ge({h:e,hooks:t,imageBuffer:n,dialog:r,options:a}){const l=function({hooks:e}){return function({onBeforeScreenshot:t,onScreenshot:n,onAfterScreenshot:r,onError:a}){e.useEffect((()=>{(async()=>{t();const e=await s.mediaDevices.getDisplayMedia({video:{width:o.innerWidth*o.devicePixelRatio,height:o.innerHeight*o.devicePixelRatio},audio:!1,monitorTypeSurfaces:"exclude",preferCurrentTab:!0,selfBrowserSurface:"include",surfaceSwitching:"exclude"}),a=i.createElement("video");await new Promise(((t,r)=>{a.srcObject=e,a.onloadedmetadata=()=>{n(a),e.getTracks().forEach((e=>e.stop())),t()},a.play().catch(r)})),r()})().catch(a)}),[])}}({hooks:t});return function({onError:s}){const u=t.useMemo((()=>({__html:ze(a.styleNonce).innerText})),[]),c=function({h:e}){return function({top:t,left:n,corner:r,onGrabButton:a}){return e("button",{class:`editor__crop-corner editor__crop-corner--${r} `,style:{top:t,left:n},onMouseDown:e=>{e.preventDefault(),a(e,r)},onClick:e=>{e.preventDefault()},__self:this,__source:{fileName:"/home/runner/work/sentry-javascript/sentry-javascript/packages/feedback/src/screenshot/components/CropCorner.tsx",lineNumber:22}})}}({h:e}),d=t.useRef(null),p=t.useRef(null),f=t.useRef(null),[h,m]=t.useState({startX:0,startY:0,endX:0,endY:0}),[g,v]=t.useState(!1),[y,b]=t.useState(!1);function w(){const e=f.current,t=He(qe(n));if(e){e.width=t.width*Ue,e.height=t.height*Ue,e.style.width=`${t.width}px`,e.style.height=`${t.height}px`;const n=e.getContext("2d");n&&n.scale(Ue,Ue)}const r=p.current;r&&(r.style.width=`${t.width}px`,r.style.height=`${t.height}px`),m({startX:0,startY:0,endX:t.width,endY:t.height})}function x(e,t){v(!1),b(!0);const n=S(t),r=()=>{i.removeEventListener("mousemove",n),i.removeEventListener("mouseup",r),v(!0),b(!1)};i.addEventListener("mouseup",r),i.addEventListener("mousemove",n)}t.useEffect((()=>{o.addEventListener("resize",w,!1)}),[]),t.useEffect((()=>{const e=f.current;if(!e)return;const t=e.getContext("2d");if(!t)return;const r=He(qe(n)),a=He(h);t.clearRect(0,0,r.width,r.height),t.fillStyle="rgba(0, 0, 0, 0.5)",t.fillRect(0,0,r.width,r.height),t.clearRect(a.x,a.y,a.width,a.height),t.strokeStyle="#ffffff",t.lineWidth=3,t.strokeRect(a.x+1,a.y+1,a.width-2,a.height-2),t.strokeStyle="#000000",t.lineWidth=1,t.strokeRect(a.x+3,a.y+3,a.width-6,a.height-6)}),[h]);const S=t.useCallback((e=>function(t){if(!f.current)return;const n=f.current,r=n.getBoundingClientRect(),a=t.clientX-r.x,o=t.clientY-r.y;switch(e){case"top-left":m((e=>({...e,startX:Math.min(Math.max(0,a),e.endX-Ve),startY:Math.min(Math.max(0,o),e.endY-Ve)})));break;case"top-right":m((e=>({...e,endX:Math.max(Math.min(a,n.width/Ue),e.startX+Ve),startY:Math.min(Math.max(0,o),e.endY-Ve)})));break;case"bottom-left":m((e=>({...e,startX:Math.min(Math.max(0,a),e.endX-Ve),endY:Math.max(Math.min(o,n.height/Ue),e.startY+Ve)})));break;case"bottom-right":m((e=>({...e,endX:Math.max(Math.min(a,n.width/Ue),e.startX+Ve),endY:Math.max(Math.min(o,n.height/Ue),e.startY+Ve)})))}}),[]),_=t.useRef({initialX:0,initialY:0});return l({onBeforeScreenshot:t.useCallback((()=>{r.el.style.display="none"}),[]),onScreenshot:t.useCallback((e=>{const t=n.getContext("2d");if(!t)throw new Error("Could not get canvas context");n.width=e.videoWidth,n.height=e.videoHeight,n.style.width="100%",n.style.height="100%",t.drawImage(e,0,0)}),[n]),onAfterScreenshot:t.useCallback((()=>{r.el.style.display="block";const e=d.current;e&&e.appendChild(n),w()}),[]),onError:t.useCallback((e=>{r.el.style.display="block",s(e)}),[])}),e("div",{class:"editor",__self:this,__source:{fileName:We,lineNumber:315}},e("style",{nonce:a.styleNonce,dangerouslySetInnerHTML:u,__self:this,__source:{fileName:We,lineNumber:316}}),e("div",{class:"editor__canvas-container",ref:d,__self:this,__source:{fileName:We,lineNumber:317}},e("div",{class:"editor__crop-container",style:{position:"absolute",zIndex:1},ref:p,__self:this,__source:{fileName:We,lineNumber:318}},e("canvas",{onMouseDown:function(e){if(y)return;_.current={initialX:e.clientX,initialY:e.clientY};const t=e=>{const t=f.current;if(!t)return;const n=e.clientX-_.current.initialX,r=e.clientY-_.current.initialY;m((a=>{const o=Math.max(0,Math.min(a.startX+n,t.width/Ue-(a.endX-a.startX))),i=Math.max(0,Math.min(a.startY+r,t.height/Ue-(a.endY-a.startY))),s=o+(a.endX-a.startX),l=i+(a.endY-a.startY);return _.current.initialX=e.clientX,_.current.initialY=e.clientY,{startX:o,startY:i,endX:s,endY:l}}))},n=()=>{i.removeEventListener("mousemove",t),i.removeEventListener("mouseup",n)};i.addEventListener("mousemove",t),i.addEventListener("mouseup",n)},style:{position:"absolute",cursor:g?"move":"auto"},ref:f,__self:this,__source:{fileName:We,lineNumber:319}}),e(c,{left:h.startX-3,top:h.startY-3,onGrabButton:x,corner:"top-left",__self:this,__source:{fileName:We,lineNumber:324}}),e(c,{left:h.endX-30+3,top:h.startY-3,onGrabButton:x,corner:"top-right",__self:this,__source:{fileName:We,lineNumber:330}}),e(c,{left:h.startX-3,top:h.endY-30+3,onGrabButton:x,corner:"bottom-left",__self:this,__source:{fileName:We,lineNumber:336}}),e(c,{left:h.endX-30+3,top:h.endY-30+3,onGrabButton:x,corner:"bottom-right",__self:this,__source:{fileName:We,lineNumber:342}}),e("div",{style:{left:Math.max(0,h.endX-191),top:Math.max(0,h.endY+8),display:g?"flex":"none"},class:"editor__crop-btn-group",__self:this,__source:{fileName:We,lineNumber:348}},e("button",{onClick:e=>{e.preventDefault(),f.current&&m({startX:0,startY:0,endX:f.current.width/Ue,endY:f.current.height/Ue}),v(!1)},class:"btn btn--default",__self:this,__source:{fileName:We,lineNumber:356}},a.cancelButtonLabel),e("button",{onClick:e=>{e.preventDefault(),function(){const e=i.createElement("canvas"),t=He(qe(n)),r=He(h);e.width=r.width*Ue,e.height=r.height*Ue;const a=e.getContext("2d");a&&n&&a.drawImage(n,r.x/t.width*n.width,r.y/t.height*n.height,r.width/t.width*n.width,r.height/t.height*n.height,0,0,e.width,e.height);const o=n.getContext("2d");o&&(o.clearRect(0,0,n.width,n.height),n.width=e.width,n.height=e.height,n.style.width=`${r.width}px`,n.style.height=`${r.height}px`,o.drawImage(e,0,0),w())}(),v(!1)},class:"btn btn--primary",__self:this,__source:{fileName:We,lineNumber:373}},a.confirmButtonLabel)))))}}t.buildFeedbackIntegration=({lazyLoadIntegration:e,getModalIntegration:t,getScreenshotIntegration:n})=>({id:u="sentry-feedback",autoInject:h=!0,showBranding:y=!0,isEmailRequired:b=!1,isNameRequired:w=!1,showEmail:x=!0,showName:S=!0,enableScreenshot:_=!0,useSentryUser:A={email:"email",name:"username"},tags:C,styleNonce:T,scriptNonce:k,colorScheme:E="system",themeLight:M={},themeDark:P={},addScreenshotButtonLabel:O="Add a screenshot",cancelButtonLabel:I="Cancel",confirmButtonLabel:D="Confirm",emailLabel:R="Email",emailPlaceholder:N="your.email@example.org",formTitle:L="Report a Bug",isRequiredLabel:$="(required)",messageLabel:j="Description",messagePlaceholder:F="What's the bug? What did you expect?",nameLabel:B="Name",namePlaceholder:z="Your Name",removeScreenshotButtonLabel:W="Remove screenshot",submitButtonLabel:V="Send Bug Report",successMessageText:U="Thank you for your report!",triggerLabel:H=l,triggerAriaLabel:q="",onFormOpen:G,onFormClose:Y,onSubmitSuccess:X,onSubmitError:K,onFormSubmitted:Q}={})=>{const Z={id:u,autoInject:h,showBranding:y,isEmailRequired:b,isNameRequired:w,showEmail:x,showName:S,enableScreenshot:_,useSentryUser:A,tags:C,styleNonce:T,scriptNonce:k,colorScheme:E,themeDark:P,themeLight:M,triggerLabel:H,triggerAriaLabel:q,cancelButtonLabel:I,submitButtonLabel:V,confirmButtonLabel:D,formTitle:L,emailLabel:R,emailPlaceholder:N,messageLabel:j,messagePlaceholder:F,nameLabel:B,namePlaceholder:z,successMessageText:U,isRequiredLabel:$,addScreenshotButtonLabel:O,removeScreenshotButtonLabel:W,onFormClose:Y,onFormOpen:G,onSubmitError:K,onSubmitSuccess:X,onFormSubmitted:Q};let J=null,ee=[];const te=e=>{if(!J){const t=i.createElement("div");t.id=String(e.id),i.body.appendChild(t),J=t.attachShadow({mode:"open"}),J.appendChild(function({colorScheme:e,themeDark:t,themeLight:n,styleNonce:r}){const a=i.createElement("style");return a.textContent=`\n:host {\n --font-family: system-ui, 'Helvetica Neue', Arial, sans-serif;\n --font-size: 14px;\n --z-index: 100000;\n\n --page-margin: 16px;\n --inset: auto 0 0 auto;\n --actor-inset: var(--inset);\n\n font-family: var(--font-family);\n font-size: var(--font-size);\n\n ${"system"!==e?"color-scheme: only light;":""}\n\n ${v("dark"===e?{...g,...t}:{...m,...n})}\n}\n\n${"system"===e?`\n@media (prefers-color-scheme: dark) {\n :host {\n ${v({...g,...t})}\n }\n}`:""}\n}\n`,r&&a.setAttribute("nonce",r),a}(e))}return J},ne=async(t,n,a)=>{const o=r.getClient(),i=o&&o.getIntegrationByName(t);if(i)return i;const s=(n&&n()||await e(a,k))();return o&&o.addIntegration(s),s},re=async e=>{const r=e.enableScreenshot&&!(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(s.userAgent)||/Macintosh/i.test(s.userAgent)&&s.maxTouchPoints&&s.maxTouchPoints>1||!isSecureContext),[o,i]=await Promise.all([ne("FeedbackModal",t,"feedbackModalIntegration"),r?ne("FeedbackScreenshot",n,"feedbackScreenshotIntegration"):void 0]);if(!o)throw d&&a.logger.error("[Feedback] Missing feedback modal integration. Try using `feedbackSyncIntegration` in your `Sentry.init`."),new Error("[Feedback] Missing feedback modal integration!");r&&!i&&d&&a.logger.error("[Feedback] Missing feedback screenshot integration. Proceeding without screenshots.");const l=o.createDialog({options:{...e,onFormClose:()=>{l&&l.close(),e.onFormClose&&e.onFormClose()},onFormSubmitted:()=>{l&&l.close(),e.onFormSubmitted&&e.onFormSubmitted()}},screenshotIntegration:r?i:void 0,sendFeedback:c,shadow:te(e)});return l},ae=(e,t={})=>{const n=p(Z,t),r="string"==typeof e?i.querySelector(e):"function"==typeof e.addEventListener?e:null;if(!r)throw d&&a.logger.error("[Feedback] Unable to attach to target element"),new Error("Unable to attach to target element");let o=null;const s=async()=>{o||(o=await re({...n,onFormSubmitted:()=>{o&&o.removeFromDom(),n.onFormSubmitted&&n.onFormSubmitted()}})),o.appendToDom(),o.open()};r.addEventListener("click",s);const l=()=>{ee=ee.filter((e=>e!==l)),o&&o.removeFromDom(),o=null,r.removeEventListener("click",s)};return ee.push(l),l},oe=(e={})=>{const t=p(Z,e),n=te(t),r=function({triggerLabel:e,triggerAriaLabel:t,shadow:n,styleNonce:r}){const a=i.createElement("button");if(a.type="button",a.className="widget__actor",a.ariaHidden="false",a.ariaLabel=t||e||l,a.appendChild(function(){const e=e=>o.document.createElementNS("http://www.w3.org/2000/svg",e),t=f(e("svg"),{width:"20",height:"20",viewBox:"0 0 20 20",fill:"var(--actor-color, var(--foreground))"}),n=f(e("g"),{clipPath:"url(#clip0_57_80)"}),r=f(e("path"),{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15.6622 15H12.3997C12.2129 14.9959 12.031 14.9396 11.8747 14.8375L8.04965 12.2H7.49956V19.1C7.4875 19.3348 7.3888 19.5568 7.22256 19.723C7.05632 19.8892 6.83435 19.9879 6.59956 20H2.04956C1.80193 19.9968 1.56535 19.8969 1.39023 19.7218C1.21511 19.5467 1.1153 19.3101 1.11206 19.0625V12.2H0.949652C0.824431 12.2017 0.700142 12.1783 0.584123 12.1311C0.468104 12.084 0.362708 12.014 0.274155 11.9255C0.185602 11.8369 0.115689 11.7315 0.0685419 11.6155C0.0213952 11.4995 -0.00202913 11.3752 -0.00034808 11.25V3.75C-0.00900498 3.62067 0.0092504 3.49095 0.0532651 3.36904C0.0972798 3.24712 0.166097 3.13566 0.255372 3.04168C0.344646 2.94771 0.452437 2.87327 0.571937 2.82307C0.691437 2.77286 0.82005 2.74798 0.949652 2.75H8.04965L11.8747 0.1625C12.031 0.0603649 12.2129 0.00407221 12.3997 0H15.6622C15.9098 0.00323746 16.1464 0.103049 16.3215 0.278167C16.4966 0.453286 16.5964 0.689866 16.5997 0.9375V3.25269C17.3969 3.42959 18.1345 3.83026 18.7211 4.41679C19.5322 5.22788 19.9878 6.32796 19.9878 7.47502C19.9878 8.62209 19.5322 9.72217 18.7211 10.5333C18.1345 11.1198 17.3969 11.5205 16.5997 11.6974V14.0125C16.6047 14.1393 16.5842 14.2659 16.5395 14.3847C16.4948 14.5035 16.4268 14.6121 16.3394 14.7042C16.252 14.7962 16.147 14.8698 16.0307 14.9206C15.9144 14.9714 15.7891 14.9984 15.6622 15ZM1.89695 10.325H1.88715V4.625H8.33715C8.52423 4.62301 8.70666 4.56654 8.86215 4.4625L12.6872 1.875H14.7247V13.125H12.6872L8.86215 10.4875C8.70666 10.3835 8.52423 10.327 8.33715 10.325H2.20217C2.15205 10.3167 2.10102 10.3125 2.04956 10.3125C1.9981 10.3125 1.94708 10.3167 1.89695 10.325ZM2.98706 12.2V18.1625H5.66206V12.2H2.98706ZM16.5997 9.93612V5.01393C16.6536 5.02355 16.7072 5.03495 16.7605 5.04814C17.1202 5.13709 17.4556 5.30487 17.7425 5.53934C18.0293 5.77381 18.2605 6.06912 18.4192 6.40389C18.578 6.73866 18.6603 7.10452 18.6603 7.47502C18.6603 7.84552 18.578 8.21139 18.4192 8.54616C18.2605 8.88093 18.0293 9.17624 17.7425 9.41071C17.4556 9.64518 17.1202 9.81296 16.7605 9.90191C16.7072 9.91509 16.6536 9.9265 16.5997 9.93612Z"});t.appendChild(n).appendChild(r);const a=e("defs"),i=f(e("clipPath"),{id:"clip0_57_80"}),s=f(e("rect"),{width:"20",height:"20",fill:"white"});return i.appendChild(s),a.appendChild(i),t.appendChild(a).appendChild(i).appendChild(s),t}()),e){const t=i.createElement("span");t.appendChild(i.createTextNode(e)),a.appendChild(t)}const s=function(e){const t=i.createElement("style");return t.textContent='\n.widget__actor {\n position: fixed;\n z-index: var(--z-index);\n margin: var(--page-margin);\n inset: var(--actor-inset);\n\n display: flex;\n align-items: center;\n gap: 8px;\n padding: 16px;\n\n font-family: inherit;\n font-size: var(--font-size);\n font-weight: 600;\n line-height: 1.14em;\n text-decoration: none;\n\n background: var(--actor-background, var(--background));\n border-radius: var(--actor-border-radius, 1.7em/50%);\n border: var(--actor-border, var(--border));\n box-shadow: var(--actor-box-shadow, var(--box-shadow));\n color: var(--actor-color, var(--foreground));\n fill: var(--actor-color, var(--foreground));\n cursor: pointer;\n opacity: 1;\n transition: transform 0.2s ease-in-out;\n transform: translate(0, 0) scale(1);\n}\n.widget__actor[aria-hidden="true"] {\n opacity: 0;\n pointer-events: none;\n visibility: hidden;\n transform: translate(0, 16px) scale(0.98);\n}\n\n.widget__actor:hover {\n background: var(--actor-hover-background, var(--background));\n filter: var(--interactive-filter);\n}\n\n.widget__actor svg {\n width: 1.14em;\n height: 1.14em;\n}\n\n@media (max-width: 600px) {\n .widget__actor span {\n display: none;\n }\n}\n',e&&t.setAttribute("nonce",e),t}(r);return{el:a,appendToDom(){n.appendChild(s),n.appendChild(a)},removeFromDom(){n.removeChild(a),n.removeChild(s)},show(){a.ariaHidden="false"},hide(){a.ariaHidden="true"}}}({triggerLabel:t.triggerLabel,triggerAriaLabel:t.triggerAriaLabel,shadow:n,styleNonce:T});return ae(r.el,{...t,onFormOpen(){r.hide()},onFormClose(){r.show()},onFormSubmitted(){r.show()}}),r};return{name:"Feedback",setupOnce(){a.isBrowser()&&Z.autoInject&&("loading"===i.readyState?i.addEventListener("DOMContentLoaded",(()=>oe().appendToDom())):oe().appendToDom())},attachTo:ae,createWidget(e={}){const t=oe(p(Z,e));return t.appendToDom(),t},createForm:async(e={})=>re(p(Z,e)),remove(){J&&(J.parentElement&&J.parentElement.remove(),J=null),ee.forEach((e=>e())),ee=[]}}},t.feedbackModalIntegration=()=>({name:"FeedbackModal",setupOnce(){},createDialog:({options:e,screenshotIntegration:t,sendFeedback:n,shadow:a})=>{const o=a,s=e.useSentryUser,l=function(){const e=r.getCurrentScope().getUser(),t=r.getIsolationScope().getUser(),n=r.getGlobalScope().getUser();return e&&Object.keys(e).length?e:t&&Object.keys(t).length?t:n}(),u=i.createElement("div"),c=function(e){const t=i.createElement("style");return t.textContent="\n:host {\n --dialog-inset: var(--inset);\n}\n\n\n.dialog {\n position: fixed;\n z-index: var(--z-index);\n margin: 0;\n inset: 0;\n\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 0;\n height: 100vh;\n width: 100vw;\n\n color: var(--dialog-color, var(--foreground));\n fill: var(--dialog-color, var(--foreground));\n line-height: 1.75em;\n\n background-color: rgba(0, 0, 0, 0.05);\n border: none;\n inset: 0;\n opacity: 1;\n transition: opacity 0.2s ease-in-out;\n}\n\n.dialog__position {\n position: fixed;\n z-index: var(--z-index);\n inset: var(--dialog-inset);\n padding: var(--page-margin);\n display: flex;\n max-height: calc(100vh - (2 * var(--page-margin)));\n}\n@media (max-width: 600px) {\n .dialog__position {\n inset: var(--page-margin);\n padding: 0;\n }\n}\n\n.dialog__position:has(.editor) {\n inset: var(--page-margin);\n padding: 0;\n}\n\n.dialog:not([open]) {\n opacity: 0;\n pointer-events: none;\n visibility: hidden;\n}\n.dialog:not([open]) .dialog__content {\n transform: translate(0, -16px) scale(0.98);\n}\n\n.dialog__content {\n display: flex;\n flex-direction: column;\n gap: 16px;\n padding: var(--dialog-padding, 24px);\n max-width: 100%;\n width: 100%;\n max-height: 100%;\n overflow: auto;\n\n background: var(--dialog-background, var(--background));\n border-radius: var(--dialog-border-radius, 20px);\n border: var(--dialog-border, var(--border));\n box-shadow: var(--dialog-box-shadow, var(--box-shadow));\n transform: translate(0, 0) scale(1);\n transition: transform 0.2s ease-in-out;\n}\n\n\n.dialog__header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n font-weight: var(--dialog-header-weight, 600);\n margin: 0;\n}\n\n.brand-link {\n display: inline-flex;\n}\n.brand-link:focus-visible {\n outline: var(--outline);\n}\n\n\n.form {\n display: flex;\n overflow: auto;\n flex-direction: row;\n gap: 16px;\n flex: 1 0;\n}\n\n.form__right {\n flex: 0 0 auto;\n width: var(--form-width, 272px);\n display: flex;\n overflow: auto;\n flex-direction: column;\n justify-content: space-between;\n gap: 20px;\n}\n\n@media (max-width: 600px) {\n .form__right {\n width: var(--form-width, 100%);\n }\n}\n\n.form__top {\n display: flex;\n flex-direction: column;\n gap: 8px;\n}\n\n.form__error-container {\n color: var(--error-color);\n fill: var(--error-color);\n}\n\n.form__label {\n display: flex;\n flex-direction: column;\n gap: 4px;\n margin: 0px;\n}\n\n.form__label__text {\n display: flex;\n gap: 4px;\n align-items: center;\n}\n\n.form__label__text--required {\n font-size: 0.85em;\n}\n\n.form__input {\n font-family: inherit;\n line-height: inherit;\n background: transparent;\n box-sizing: border-box;\n border: var(--input-border, var(--border));\n border-radius: var(--input-border-radius, 6px);\n color: var(--input-color, inherit);\n fill: var(--input-color, inherit);\n font-size: var(--input-font-size, inherit);\n font-weight: var(--input-font-weight, 500);\n padding: 6px 12px;\n}\n\n.form__input::placeholder {\n opacity: 0.65;\n color: var(--input-placeholder-color, inherit);\n filter: var(--interactive-filter);\n}\n\n.form__input:focus-visible {\n outline: var(--input-focus-outline, var(--outline));\n}\n\n.form__input--textarea {\n font-family: inherit;\n resize: vertical;\n}\n\n.error {\n color: var(--error-color);\n fill: var(--error-color);\n}\n\n\n.btn-group {\n display: grid;\n gap: 8px;\n}\n\n.btn {\n line-height: inherit;\n border: var(--button-border, var(--border));\n border-radius: var(--button-border-radius, 6px);\n cursor: pointer;\n font-family: inherit;\n font-size: var(--button-font-size, inherit);\n font-weight: var(--button-font-weight, 600);\n padding: var(--button-padding, 6px 16px);\n}\n.btn[disabled] {\n opacity: 0.6;\n pointer-events: none;\n}\n\n.btn--primary {\n color: var(--button-primary-color, var(--accent-foreground));\n fill: var(--button-primary-color, var(--accent-foreground));\n background: var(--button-primary-background, var(--accent-background));\n border: var(--button-primary-border, var(--border));\n border-radius: var(--button-primary-border-radius, 6px);\n font-weight: var(--button-primary-font-weight, 500);\n}\n.btn--primary:hover {\n color: var(--button-primary-hover-color, var(--accent-foreground));\n fill: var(--button-primary-hover-color, var(--accent-foreground));\n background: var(--button-primary-hover-background, var(--accent-background));\n filter: var(--interactive-filter);\n}\n.btn--primary:focus-visible {\n background: var(--button-primary-hover-background, var(--accent-background));\n filter: var(--interactive-filter);\n outline: var(--button-primary-focus-outline, var(--outline));\n}\n\n.btn--default {\n color: var(--button-color, var(--foreground));\n fill: var(--button-color, var(--foreground));\n background: var(--button-background, var(--background));\n border: var(--button-border, var(--border));\n border-radius: var(--button-border-radius, 6px);\n font-weight: var(--button-font-weight, 500);\n}\n.btn--default:hover {\n color: var(--button-color, var(--foreground));\n fill: var(--button-color, var(--foreground));\n background: var(--button-hover-background, var(--background));\n filter: var(--interactive-filter);\n}\n.btn--default:focus-visible {\n background: var(--button-hover-background, var(--background));\n filter: var(--interactive-filter);\n outline: var(--button-focus-outline, var(--outline));\n}\n\n\n.success__position {\n position: fixed;\n inset: var(--dialog-inset);\n padding: var(--page-margin);\n z-index: var(--z-index);\n}\n.success__content {\n background: var(--success-background, var(--background));\n border: var(--success-border, var(--border));\n border-radius: var(--success-border-radius, 1.7em/50%);\n box-shadow: var(--success-box-shadow, var(--box-shadow));\n font-weight: var(--success-font-weight, 600);\n color: var(--success-color);\n fill: var(--success-color);\n padding: 12px 24px;\n line-height: 1.75em;\n\n display: grid;\n align-items: center;\n grid-auto-flow: column;\n gap: 6px;\n cursor: default;\n}\n\n.success__icon {\n display: flex;\n}\n\n",e&&t.setAttribute("nonce",e),t}(e.styleNonce);let d="";const p={get el(){return u},appendToDom(){o.contains(c)||o.contains(u)||(o.appendChild(c),o.appendChild(u))},removeFromDom(){o.removeChild(u),o.removeChild(c),i.body.style.overflow=d},open(){h(!0),e.onFormOpen&&e.onFormOpen(),d=i.body.style.overflow,i.body.style.overflow="hidden"},close(){h(!1),i.body.style.overflow=d}},f=t&&t.createInput({h:O,hooks:Te,dialog:p,options:e}),h=t=>{!function(e,t,n){var r,a,o,i;b.__&&b.__(e,t),a=(r=!1)?null:t.__k,o=[],i=[],G(t,e=t.__k=O(D,null,[e]),a||C,C,void 0!==t.ownerSVGElement,a?null:t.firstChild?y.call(t.childNodes):null,o,a?a.__e:t.firstChild,r,i),e.__d=void 0,Y(o,e,i)}(O(Be,{options:e,screenshotInput:f,showName:e.showName||e.isNameRequired,showEmail:e.showEmail||e.isEmailRequired,defaultName:s&&l&&l[s.name]||"",defaultEmail:s&&l&&l[s.email]||"",onFormClose:()=>{h(!1),e.onFormClose&&e.onFormClose()},onSubmit:n,onSubmitSuccess:t=>{h(!1),e.onSubmitSuccess&&e.onSubmitSuccess(t)},onSubmitError:t=>{e.onSubmitError&&e.onSubmitError(t)},onFormSubmitted:()=>{e.onFormSubmitted&&e.onFormSubmitted()},open:t,__self:void 0,__source:{fileName:"/home/runner/work/sentry-javascript/sentry-javascript/packages/feedback/src/modal/integration.tsx",lineNumber:67}}),u)};return p}}),t.feedbackScreenshotIntegration=()=>({name:"FeedbackScreenshot",setupOnce(){},createInput:({h:e,hooks:t,dialog:n,options:r})=>{const a=i.createElement("canvas");return{input:Ge({h:e,hooks:t,imageBuffer:a,dialog:n,options:r}),value:async()=>{const e=await new Promise((e=>{a.toBlob(e,"image/png")}));if(e)return{data:new Uint8Array(await e.arrayBuffer()),filename:"screenshot.png",contentType:"application/png"}}}}}),t.getFeedback=function(){const e=r.getClient();return e&&e.getIntegrationByName("Feedback")},t.sendFeedback=c},57143:(e,t,n)=>{var{_optionalChain:r}=n(24320);Object.defineProperty(t,"__esModule",{value:!0});const a=n(37872);var o;function i(e,t,n=1/0,r=0){return e?e.nodeType!==e.ELEMENT_NODE||r>n?-1:t(e)?r:i(e.parentNode,t,n,r+1):-1}function s(e,t){return n=>{const r=n;if(null===r)return!1;try{if(e)if("string"==typeof e){if(r.matches(`.${e}`))return!0}else if(function(e,t){for(let n=e.classList.length;n--;){const r=e.classList[n];if(t.test(r))return!0}return!1}(r,e))return!0;return!(!t||!r.matches(t))}catch(e){return!1}}}!function(e){e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment"}(o||(o={}));const l="Please stop import mirror directly. Instead of that,\r\nnow you can use replayer.getMirror() to access the mirror instance of a replayer,\r\nor you can use record.mirror to access the mirror instance during recording.";let u={map:{},getId:()=>(console.error(l),-1),getNode:()=>(console.error(l),null),removeNodeFromMap(){console.error(l)},has:()=>(console.error(l),!1),reset(){console.error(l)}};function c(e,t,n,r,a=window){const o=a.Object.getOwnPropertyDescriptor(e,t);return a.Object.defineProperty(e,t,r?n:{set(e){g((()=>{n.set.call(this,e)}),0),o&&o.set&&o.set.call(this,e)}}),()=>c(e,t,o||{},!0)}function d(e,t,n){try{if(!(t in e))return()=>{};const r=e[t],a=n(r);return"function"==typeof a&&(a.prototype=a.prototype||{},Object.defineProperties(a,{__rrweb_original__:{enumerable:!1,value:r}})),e[t]=a,()=>{e[t]=r}}catch(e){return()=>{}}}function p(e,t,n,r,a){if(!e)return!1;const o=function(e){return e?e.nodeType===e.ELEMENT_NODE?e:e.parentElement:null}(e);if(!o)return!1;const l=s(t,n);if(!a){const e=r&&o.matches(r);return l(o)&&!e}const u=i(o,l);let c=-1;return!(u<0)&&(r&&(c=i(o,s(null,r))),u>-1&&c<0||u("map"===t&&console.error(l),Reflect.get(e,t,n))})),/[1-9][0-9]{12}/.test(Date.now().toString());const f={};function h(e){const t=f[e];if(t)return t;const n=window.document;let r=window[e];if(n&&"function"==typeof n.createElement)try{const t=n.createElement("iframe");t.hidden=!0,n.head.appendChild(t);const a=t.contentWindow;a&&a[e]&&(r=a[e]),n.head.removeChild(t)}catch(e){}return f[e]=r.bind(window)}function m(...e){return h("requestAnimationFrame")(...e)}function g(...e){return h("setTimeout")(...e)}var v=(e=>(e[e["2D"]=0]="2D",e[e.WebGL=1]="WebGL",e[e.WebGL2=2]="WebGL2",e))(v||{});let y;function b(e){y=e}const w=e=>y?(...t)=>{try{return e(...t)}catch(e){if(y&&!0===y(e))return()=>{};throw e}}:e;for(var x="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",S="undefined"==typeof Uint8Array?[]:new Uint8Array(256),_=0;_<64;_++)S[x.charCodeAt(_)]=_;const A=new Map,C=(e,t,n)=>{if(!e||!E(e,t)&&"object"!=typeof e)return;const r=function(e,t){let n=A.get(e);return n||(n=new Map,A.set(e,n)),n.has(t)||n.set(t,[]),n.get(t)}(n,e.constructor.name);let a=r.indexOf(e);return-1===a&&(a=r.length,r.push(e)),a};function T(e,t,n){if(e instanceof Array)return e.map((e=>T(e,t,n)));if(null===e)return e;if(e instanceof Float32Array||e instanceof Float64Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Uint8Array||e instanceof Uint16Array||e instanceof Int16Array||e instanceof Int8Array||e instanceof Uint8ClampedArray)return{rr_type:e.constructor.name,args:[Object.values(e)]};if(e instanceof ArrayBuffer){const t=e.constructor.name,n=function(e){var t,n=new Uint8Array(e),r=n.length,a="";for(t=0;t>2],a+=x[(3&n[t])<<4|n[t+1]>>4],a+=x[(15&n[t+1])<<2|n[t+2]>>6],a+=x[63&n[t+2]];return r%3==2?a=a.substring(0,a.length-1)+"=":r%3==1&&(a=a.substring(0,a.length-2)+"=="),a}(e);return{rr_type:t,base64:n}}if(e instanceof DataView)return{rr_type:e.constructor.name,args:[T(e.buffer,t,n),e.byteOffset,e.byteLength]};if(e instanceof HTMLImageElement){const t=e.constructor.name,{src:n}=e;return{rr_type:t,src:n}}return e instanceof HTMLCanvasElement?{rr_type:"HTMLImageElement",src:e.toDataURL()}:e instanceof ImageData?{rr_type:e.constructor.name,args:[T(e.data,t,n),e.width,e.height]}:E(e,t)||"object"==typeof e?{rr_type:e.constructor.name,index:C(e,t,n)}:e}const k=(e,t,n)=>e.map((e=>T(e,t,n))),E=(e,t)=>{const n=["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject","WebGLVertexArrayObjectOES"].filter((e=>"function"==typeof t[e]));return Boolean(n.find((n=>e instanceof t[n])))};function M(e,t,n,r,a){const o=[];try{const i=d(e.HTMLCanvasElement.prototype,"getContext",(function(e){return function(o,...i){if(!p(this,t,n,r,!0)){const e=function(e){return"experimental-webgl"===e?"webgl":e}(o);if("__context"in this||(this.__context=e),a&&["webgl","webgl2"].includes(e))if(i[0]&&"object"==typeof i[0]){const e=i[0];e.preserveDrawingBuffer||(e.preserveDrawingBuffer=!0)}else i.splice(0,1,{preserveDrawingBuffer:!0})}return e.apply(this,[o,...i])}}));o.push(i)}catch(e){console.error("failed to patch HTMLCanvasElement.prototype.getContext")}return()=>{o.forEach((e=>e()))}}function P(e,t,n,r,a,o,i,s){const l=[],u=Object.getOwnPropertyNames(e);for(const i of u)if(!["isContextLost","canvas","drawingBufferWidth","drawingBufferHeight"].includes(i))try{if("function"!=typeof e[i])continue;const u=d(e,i,(function(e){return function(...l){const u=e.apply(this,l);if(C(u,s,this),"tagName"in this.canvas&&!p(this.canvas,r,a,o,!0)){const e=k(l,s,this),r={type:t,property:i,args:e};n(this.canvas,r)}return u}}));l.push(u)}catch(r){const a=c(e,i,{set(e){n(this.canvas,{type:t,property:i,args:[e],setter:!0})}});l.push(a)}return l}class O{reset(){this.pendingCanvasMutations.clear(),this.restoreHandlers.forEach((e=>{try{e()}catch(e){}})),this.restoreHandlers=[],this.windowsSet=new WeakSet,this.windows=[],this.shadowDoms=new Set,r([this,"access",e=>e.worker,"optionalAccess",e=>e.terminate,"call",e=>e()]),this.worker=null,this.snapshotInProgressMap=new Map,(this.options.recordCanvas&&"number"==typeof this.options.sampling||this.options.enableManualSnapshot)&&(this.worker=this.initFPSWorker())}freeze(){this.frozen=!0}unfreeze(){this.frozen=!1}lock(){this.locked=!0}unlock(){this.locked=!1}constructor(e){this.pendingCanvasMutations=new Map,this.rafStamps={latestId:0,invokeId:null},this.shadowDoms=new Set,this.windowsSet=new WeakSet,this.windows=[],this.restoreHandlers=[],this.frozen=!1,this.locked=!1,this.snapshotInProgressMap=new Map,this.worker=null,this.processMutation=(e,t)=>{!(this.rafStamps.invokeId&&this.rafStamps.latestId!==this.rafStamps.invokeId)&&this.rafStamps.invokeId||(this.rafStamps.invokeId=this.rafStamps.latestId),this.pendingCanvasMutations.has(e)||this.pendingCanvasMutations.set(e,[]),this.pendingCanvasMutations.get(e).push(t)};const{sampling:t="all",win:n,blockClass:r,blockSelector:a,unblockSelector:o,maxCanvasSize:i,recordCanvas:s,dataURLOptions:l,errorHandler:u}=e;this.mutationCb=e.mutationCb,this.mirror=e.mirror,this.options=e,u&&b(u),(s&&"number"==typeof t||e.enableManualSnapshot)&&(this.worker=this.initFPSWorker()),this.addWindow(n),e.enableManualSnapshot||w((()=>{s&&"all"===t&&(this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher()),s&&"number"==typeof t&&this.initCanvasFPSObserver(t,r,a,o,i,{dataURLOptions:l})}))()}addWindow(e){const{sampling:t="all",blockClass:n,blockSelector:r,unblockSelector:a,recordCanvas:o,enableManualSnapshot:i}=this.options;if(!this.windowsSet.has(e)){if(i)return this.windowsSet.add(e),void this.windows.push(new WeakRef(e));w((()=>{if(o&&"all"===t&&this.initCanvasMutationObserver(e,n,r,a),o&&"number"==typeof t){const t=M(e,n,r,a,!0);this.restoreHandlers.push((()=>{t()}))}}))(),this.windowsSet.add(e),this.windows.push(new WeakRef(e))}}addShadowRoot(e){this.shadowDoms.add(new WeakRef(e))}resetShadowRoots(){this.shadowDoms=new Set}initFPSWorker(){const e=new Worker(function(){const e=new Blob(['for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t="undefined"==typeof Uint8Array?[]:new Uint8Array(256),a=0;a<64;a++)t[e.charCodeAt(a)]=a;var n=function(t){var a,n=new Uint8Array(t),r=n.length,s="";for(a=0;a>2],s+=e[(3&n[a])<<4|n[a+1]>>4],s+=e[(15&n[a+1])<<2|n[a+2]>>6],s+=e[63&n[a+2]];return r%3==2?s=s.substring(0,s.length-1)+"=":r%3==1&&(s=s.substring(0,s.length-2)+"=="),s};const r=new Map,s=new Map;const i=self;i.onmessage=async function(e){if(!("OffscreenCanvas"in globalThis))return i.postMessage({id:e.data.id});{const{id:t,bitmap:a,width:o,height:f,maxCanvasSize:c,dataURLOptions:g}=e.data,u=async function(e,t,a){const r=e+"-"+t;if("OffscreenCanvas"in globalThis){if(s.has(r))return s.get(r);const i=new OffscreenCanvas(e,t);i.getContext("2d");const o=await i.convertToBlob(a),f=await o.arrayBuffer(),c=n(f);return s.set(r,c),c}return""}(o,f,g),[h,d]=function(e,t,a){if(!a)return[e,t];const[n,r]=a;if(e<=n&&t<=r)return[e,t];let s=e,i=t;return s>n&&(i=Math.floor(n*t/e),s=n),i>r&&(s=Math.floor(r*e/t),i=r),[s,i]}(o,f,c),l=new OffscreenCanvas(h,d),w=l.getContext("bitmaprenderer"),p=h===o&&d===f?a:await createImageBitmap(a,{resizeWidth:h,resizeHeight:d,resizeQuality:"low"});w.transferFromImageBitmap(p),a.close();const y=await l.convertToBlob(g),v=y.type,b=await y.arrayBuffer(),m=n(b);if(p.close(),!r.has(t)&&await u===m)return r.set(t,m),i.postMessage({id:t});if(r.get(t)===m)return i.postMessage({id:t});i.postMessage({id:t,type:v,base64:m,width:o,height:f}),r.set(t,m)}};']);return URL.createObjectURL(e)}());return e.onmessage=e=>{const t=e.data,{id:n}=t;if(this.snapshotInProgressMap.set(n,!1),!("base64"in t))return;const{base64:r,type:a,width:o,height:i}=t;this.mutationCb({id:n,type:v["2D"],commands:[{property:"clearRect",args:[0,0,o,i]},{property:"drawImage",args:[{rr_type:"ImageBitmap",args:[{rr_type:"Blob",data:[{rr_type:"ArrayBuffer",base64:r}],type:a}]},0,0,o,i]}]})},e}initCanvasFPSObserver(e,t,n,r,a,o){const i=this.takeSnapshot(!1,e,t,n,r,a,o.dataURLOptions);this.restoreHandlers.push((()=>{cancelAnimationFrame(i)}))}initCanvasMutationObserver(e,t,n,r){const a=M(e,t,n,r,!1),o=function(e,t,n,r,a){const o=[],i=Object.getOwnPropertyNames(t.CanvasRenderingContext2D.prototype);for(const s of i)try{if("function"!=typeof t.CanvasRenderingContext2D.prototype[s])continue;const i=d(t.CanvasRenderingContext2D.prototype,s,(function(o){return function(...i){return p(this.canvas,n,r,a,!0)||g((()=>{const n=k(i,t,this);e(this.canvas,{type:v["2D"],property:s,args:n})}),0),o.apply(this,i)}}));o.push(i)}catch(n){const r=c(t.CanvasRenderingContext2D.prototype,s,{set(t){e(this.canvas,{type:v["2D"],property:s,args:[t],setter:!0})}});o.push(r)}return()=>{o.forEach((e=>e()))}}(this.processMutation.bind(this),e,t,n,r),i=function(e,t,n,r,a,o){const i=[];return i.push(...P(t.WebGLRenderingContext.prototype,v.WebGL,e,n,r,a,0,t)),void 0!==t.WebGL2RenderingContext&&i.push(...P(t.WebGL2RenderingContext.prototype,v.WebGL2,e,n,r,a,0,t)),()=>{i.forEach((e=>e()))}}(this.processMutation.bind(this),e,t,n,r,this.mirror);this.restoreHandlers.push((()=>{a(),o(),i()}))}snapshot(e){const{options:t}=this,n=this.takeSnapshot(!0,"all"===t.sampling?2:t.sampling||2,t.blockClass,t.blockSelector,t.unblockSelector,t.maxCanvasSize,t.dataURLOptions,e);this.restoreHandlers.push((()=>{cancelAnimationFrame(n)}))}takeSnapshot(e,t,n,a,o,i,s,l){const u=1e3/t;let c,d=0;const f=e=>{if(e)return[e];const t=[],r=e=>{e.querySelectorAll("canvas").forEach((e=>{p(e,n,a,o,!0)||t.push(e)}))};for(const e of this.windows){const t=e.deref();t&&r(t.document)}for(const e of this.shadowDoms){const t=e.deref();t&&r(t)}return t},h=t=>{this.windows.length&&(d&&t-d{if(!this.mirror.hasNode(t))return;const n=this.mirror.getId(t);if(!this.snapshotInProgressMap.get(n)&&t.width&&t.height){if(this.snapshotInProgressMap.set(n,!0),!e&&["webgl","webgl2"].includes(t.__context)){const e=t.getContext(t.__context);!1===r([e,"optionalAccess",e=>e.getContextAttributes,"call",e=>e(),"optionalAccess",e=>e.preserveDrawingBuffer])&&e.clear(e.COLOR_BUFFER_BIT)}createImageBitmap(t).then((e=>{r([this,"access",e=>e.worker,"optionalAccess",e=>e.postMessage,"call",r=>r({id:n,bitmap:e,width:t.width,height:t.height,dataURLOptions:s,maxCanvasSize:i},[e])])})).catch((e=>{w((()=>{throw e}))()}))}})),e||(c=m(h))))};return c=m(h),c}startPendingCanvasMutationFlusher(){m((()=>this.flushPendingCanvasMutations()))}startRAFTimestamping(){const e=t=>{this.rafStamps.latestId=t,m(e)};m(e)}flushPendingCanvasMutations(){this.pendingCanvasMutations.forEach(((e,t)=>{const n=this.mirror.getId(t);this.flushPendingCanvasMutationFor(t,n)})),m((()=>this.flushPendingCanvasMutations()))}flushPendingCanvasMutationFor(e,t){if(this.frozen||this.locked)return;const n=this.pendingCanvasMutations.get(e);if(!n||-1===t)return;const r=n.map((e=>{const{type:t,...n}=e;return n})),{type:a}=n[0];this.mutationCb({id:t,type:a,commands:r}),this.pendingCanvasMutations.delete(e)}}const I={low:{sampling:{canvas:1},dataURLOptions:{type:"image/webp",quality:.25}},medium:{sampling:{canvas:2},dataURLOptions:{type:"image/webp",quality:.4}},high:{sampling:{canvas:4},dataURLOptions:{type:"image/webp",quality:.5}}},D=1280,R=a.defineIntegration(((e={})=>{const[t,n]=e.maxCanvasSize||[],r={quality:e.quality||"medium",enableManualSnapshot:e.enableManualSnapshot,maxCanvasSize:[t?Math.min(t,D):D,n?Math.min(n,D):D]};let a;const o=new Promise((e=>a=e));return{name:"ReplayCanvas",getOptions(){const{quality:e,enableManualSnapshot:t,maxCanvasSize:n}=r;return{enableManualSnapshot:t,recordCanvas:!0,getCanvasManager:e=>{const r=new O({...e,enableManualSnapshot:t,maxCanvasSize:n,errorHandler:e=>{try{"object"==typeof e&&(e.__rrweb__=!0)}catch(e){}}});return a(r),r},...I[e||"medium"]||I.medium}},async snapshot(e){(await o).snapshot(e)}}}));t.replayCanvasIntegration=R},2992:(e,t,n)=>{var{_nullishCoalesce:r,_optionalChain:a}=n(24320);Object.defineProperty(t,"__esModule",{value:!0});const o=n(37872),i=n(24320),s=n(81015),l=i.GLOBAL_OBJ,u="sentryReplaySession",c="replay_event",d="Unable to send Replay",p=15e4,f=5e3,h=2e7;function m(e,t){return null!=e?e:t()}function g(e){let t,n=e[0],r=1;for(;rn.call(t,...e))),t=void 0)}return n}var v;function y(e){const t=g([e,"optionalAccess",e=>e.host]);return Boolean(g([t,"optionalAccess",e=>e.shadowRoot])===e)}function b(e){return"[object ShadowRoot]"===Object.prototype.toString.call(e)}function w(e){try{const n=e.rules||e.cssRules;return n?((t=Array.from(n,x).join("")).includes(" background-clip: text;")&&!t.includes(" -webkit-background-clip: text;")&&(t=t.replace(/\sbackground-clip:\s*text;/g," -webkit-background-clip: text; background-clip: text;")),t):null}catch(e){return null}var t}function x(e){let t;if(function(e){return"styleSheet"in e}(e))try{t=w(e.styleSheet)||function(e){const{cssText:t}=e;if(t.split('"').length<3)return t;const n=["@import",`url(${JSON.stringify(e.href)})`];return""===e.layerName?n.push("layer"):e.layerName&&n.push(`layer(${e.layerName})`),e.supportsText&&n.push(`supports(${e.supportsText})`),e.media.length&&n.push(e.media.mediaText),n.join(" ")+";"}(e)}catch(e){}else if(function(e){return"selectorText"in e}(e)&&e.selectorText.includes(":"))return e.cssText.replace(/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm,"$1\\$2");return t||e.cssText}!function(e){e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment"}(v||(v={}));class S{constructor(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}getId(e){return e?m(g([this,"access",e=>e.getMeta,"call",t=>t(e),"optionalAccess",e=>e.id]),(()=>-1)):-1}getNode(e){return this.idNodeMap.get(e)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(e){return this.nodeMetaMap.get(e)||null}removeNodeFromMap(e){const t=this.getId(e);this.idNodeMap.delete(t),e.childNodes&&e.childNodes.forEach((e=>this.removeNodeFromMap(e)))}has(e){return this.idNodeMap.has(e)}hasNode(e){return this.nodeMetaMap.has(e)}add(e,t){const n=t.id;this.idNodeMap.set(n,e),this.nodeMetaMap.set(e,t)}replace(e,t){const n=this.getNode(e);if(n){const e=this.nodeMetaMap.get(n);e&&this.nodeMetaMap.set(t,e)}this.idNodeMap.set(e,t)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}function _({maskInputOptions:e,tagName:t,type:n}){return"OPTION"===t&&(t="SELECT"),Boolean(e[t.toLowerCase()]||n&&e[n]||"password"===n||"INPUT"===t&&!n&&e.text)}function A({isMasked:e,element:t,value:n,maskInputFn:r}){let a=n||"";return e?(r&&(a=r(a,t)),"*".repeat(a.length)):a}function C(e){return e.toLowerCase()}function T(e){return e.toUpperCase()}const k="__rrweb_original__";function E(e){const t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?C(t):null}function M(e,t,n){return"INPUT"!==t||"radio"!==n&&"checkbox"!==n?e.value:e.getAttribute("value")||""}function P(e,t){let n;try{n=new URL(e,m(t,(()=>window.location.href)))}catch(e){return null}return m(g([n.pathname.match(/\.([0-9a-z]+)(?:$)/i),"optionalAccess",e=>e[1]]),(()=>null))}const O={};function I(e){const t=O[e];if(t)return t;const n=window.document;let r=window[e];if(n&&"function"==typeof n.createElement)try{const t=n.createElement("iframe");t.hidden=!0,n.head.appendChild(t);const a=t.contentWindow;a&&a[e]&&(r=a[e]),n.head.removeChild(t)}catch(e){}return O[e]=r.bind(window)}function D(...e){return I("setTimeout")(...e)}function R(...e){return I("clearTimeout")(...e)}let N=1;const L=new RegExp("[^a-z0-9-_:]"),$=-2;function j(){return N++}let F,B;const z=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,W=/^(?:[a-z+]+:)?\/\//i,V=/^www\..*/i,U=/^(data:)([^,]*),(.*)/i;function H(e,t){return(e||"").replace(z,((e,n,r,a,o,i)=>{const s=r||o||i,l=n||a||"";if(!s)return e;if(W.test(s)||V.test(s))return`url(${l}${s}${l})`;if(U.test(s))return`url(${l}${s}${l})`;if("/"===s[0])return`url(${l}${function(e){let t="";return t=e.indexOf("//")>-1?e.split("/").slice(0,3).join("/"):e.split("/")[0],t=t.split("?")[0],t}(t)+s}${l})`;const u=t.split("/"),c=s.split("/");u.pop();for(const e of c)"."!==e&&(".."===e?u.pop():u.push(e));return`url(${l}${u.join("/")}${l})`}))}const q=/^[^ \t\n\r\u000c]+/,G=/^[, \t\n\r\u000c]+/,Y=new WeakMap;function X(e,t){return t&&""!==t.trim()?K(e,t):t}function K(e,t){let n=Y.get(e);if(n||(n=e.createElement("a"),Y.set(e,n)),t){if(t.startsWith("blob:")||t.startsWith("data:"))return t}else t="";return n.setAttribute("href",t),n.href}function Q(e,t,n,r,a,o){return r?"src"===n||"href"===n&&("use"!==t||"#"!==r[0])||"xlink:href"===n&&"#"!==r[0]?X(e,r):"background"!==n||"table"!==t&&"td"!==t&&"th"!==t?"srcset"===n?function(e,t){if(""===t.trim())return t;let n=0;function r(e){let r;const a=e.exec(t.substring(n));return a?(r=a[0],n+=r.length,r):""}const a=[];for(;r(G),!(n>=t.length);){let o=r(q);if(","===o.slice(-1))o=X(e,o.substring(0,o.length-1)),a.push(o);else{let r="";o=X(e,o);let i=!1;for(;;){const e=t.charAt(n);if(""===e){a.push((o+r).trim());break}if(i)")"===e&&(i=!1);else{if(","===e){n+=1,a.push((o+r).trim());break}"("===e&&(i=!0)}r+=e,n+=1}}}return a.join(", ")}(e,r):"style"===n?H(r,K(e)):"object"===t&&"data"===n?X(e,r):"function"==typeof o?o(n,r,a):r:X(e,r):r}function Z(e,t,n){return("video"===e||"audio"===e)&&"autoplay"===t}function J(e,t,n=1/0,r=0){return e?e.nodeType!==e.ELEMENT_NODE||r>n?-1:t(e)?r:J(e.parentNode,t,n,r+1):-1}function ee(e,t){return n=>{const r=n;if(null===r)return!1;try{if(e)if("string"==typeof e){if(r.matches(`.${e}`))return!0}else if(function(e,t){for(let n=e.classList.length;n--;){const r=e.classList[n];if(t.test(r))return!0}return!1}(r,e))return!0;return!(!t||!r.matches(t))}catch(e){return!1}}}function te(e,t,n,r,a,o){try{const i=e.nodeType===e.ELEMENT_NODE?e:e.parentElement;if(null===i)return!1;if("INPUT"===i.tagName){const e=i.getAttribute("autocomplete");if(["current-password","new-password","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc"].includes(e))return!0}let s=-1,l=-1;if(o){if(l=J(i,ee(r,a)),l<0)return!0;s=J(i,ee(t,n),l>=0?l:1/0)}else{if(s=J(i,ee(t,n)),s<0)return!1;l=J(i,ee(r,a),s>=0?s:1/0)}return s>=0?!(l>=0)||s<=l:!(l>=0||!o)}catch(e){}return!!o}function ne(e){return null==e?"":e.toLowerCase()}function re(e,t){const{doc:n,mirror:r,blockClass:a,blockSelector:o,unblockSelector:i,maskAllText:s,maskTextClass:l,unmaskTextClass:u,maskTextSelector:c,unmaskTextSelector:d,skipChild:p=!1,inlineStylesheet:f=!0,maskInputOptions:h={},maskAttributeFn:m,maskTextFn:x,maskInputFn:S,slimDOMOptions:O,dataURLOptions:I={},inlineImages:N=!1,recordCanvas:z=!1,onSerialize:W,onIframeLoad:V,iframeLoadTimeout:U=5e3,onStylesheetLoad:q,stylesheetLoadTimeout:G=5e3,keepIframeSrcFn:Y=(()=>!1),newlyAddedElement:X=!1}=t;let{preserveWhiteSpace:J=!0}=t;const ee=function(e,t){const{doc:n,mirror:r,blockClass:a,blockSelector:o,unblockSelector:i,maskAllText:s,maskAttributeFn:l,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:p,inlineStylesheet:f,maskInputOptions:h={},maskTextFn:m,maskInputFn:y,dataURLOptions:b={},inlineImages:x,recordCanvas:S,keepIframeSrcFn:P,newlyAddedElement:O=!1}=t,I=function(e,t){if(!t.hasNode(e))return;const n=t.getId(e);return 1===n?void 0:n}(n,r);switch(e.nodeType){case e.DOCUMENT_NODE:return"CSS1Compat"!==e.compatMode?{type:v.Document,childNodes:[],compatMode:e.compatMode}:{type:v.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:v.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:I};case e.ELEMENT_NODE:return function(e,t){const{doc:n,blockClass:r,blockSelector:a,unblockSelector:o,inlineStylesheet:i,maskInputOptions:s={},maskAttributeFn:l,maskInputFn:u,dataURLOptions:c={},inlineImages:d,recordCanvas:p,keepIframeSrcFn:f,newlyAddedElement:h=!1,rootId:m,maskAllText:g,maskTextClass:y,unmaskTextClass:b,maskTextSelector:x,unmaskTextSelector:S}=t,P=function(e,t,n,r){try{if(r&&e.matches(r))return!1;if("string"==typeof t){if(e.classList.contains(t))return!0}else for(let n=e.classList.length;n--;){const r=e.classList[n];if(t.test(r))return!0}if(n)return e.matches(n)}catch(e){}return!1}(e,r,a,o),O=function(e){if(e instanceof HTMLFormElement)return"form";const t=C(e.tagName);return L.test(t)?"div":t}(e);let I={};const D=e.attributes.length;for(let t=0;tt.href===e.href));let r=null;t&&(r=w(t)),r&&(delete I.rel,delete I.href,I._cssText=H(r,t.href))}if("style"===O&&e.sheet&&!(e.innerText||e.textContent||"").trim().length){const t=w(e.sheet);t&&(I._cssText=H(t,K(n)))}if("input"===O||"textarea"===O||"select"===O||"option"===O){const t=e,n=E(t),r=M(t,T(O),n),a=t.checked;if("submit"!==n&&"button"!==n&&r){const e=te(t,y,x,b,S,_({type:n,tagName:T(O),maskInputOptions:s}));I.value=A({isMasked:e,element:t,value:r,maskInputFn:u})}a&&(I.checked=a)}if("option"===O&&(e.selected&&!s.select?I.selected=!0:delete I.selected),"canvas"===O&&p)if("2d"===e.__context)(function(e){const t=e.getContext("2d");if(!t)return!0;for(let n=0;n0!==e)))return!1}return!0})(e)||(I.rr_dataURL=e.toDataURL(c.type,c.quality));else if(!("__context"in e)){const t=e.toDataURL(c.type,c.quality),r=n.createElement("canvas");r.width=e.width,r.height=e.height,t!==r.toDataURL(c.type,c.quality)&&(I.rr_dataURL=t)}if("img"===O&&d){F||(F=n.createElement("canvas"),B=F.getContext("2d"));const t=e,r=t.currentSrc||t.getAttribute("src")||"",a=t.crossOrigin,o=()=>{t.removeEventListener("load",o);try{F.width=t.naturalWidth,F.height=t.naturalHeight,B.drawImage(t,0,0),I.rr_dataURL=F.toDataURL(c.type,c.quality)}catch(e){if("anonymous"!==t.crossOrigin)return t.crossOrigin="anonymous",void(t.complete&&0!==t.naturalWidth?o():t.addEventListener("load",o));console.warn(`Cannot inline img src=${r}! Error: ${e}`)}"anonymous"===t.crossOrigin&&(a?I.crossOrigin=a:t.removeAttribute("crossorigin"))};t.complete&&0!==t.naturalWidth?o():t.addEventListener("load",o)}if("audio"!==O&&"video"!==O||(I.rr_mediaState=e.paused?"paused":"played",I.rr_mediaCurrentTime=e.currentTime),h||(e.scrollLeft&&(I.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(I.rr_scrollTop=e.scrollTop)),P){const{width:t,height:n}=e.getBoundingClientRect();I={class:I.class,rr_width:`${t}px`,rr_height:`${n}px`}}let R;"iframe"!==O||f(I.src)||(P||e.contentDocument||(I.rr_src=I.src),delete I.src);try{customElements.get(O)&&(R=!0)}catch(e){}return{type:v.Element,tagName:O,attributes:I,childNodes:[],isSVG:(N=e,Boolean("svg"===N.tagName||N.ownerSVGElement)||void 0),needBlock:P,rootId:m,isCustom:R};var N}(e,{doc:n,blockClass:a,blockSelector:o,unblockSelector:i,inlineStylesheet:f,maskAttributeFn:l,maskInputOptions:h,maskInputFn:y,dataURLOptions:b,inlineImages:x,recordCanvas:S,keepIframeSrcFn:P,newlyAddedElement:O,rootId:I,maskAllText:s,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:p});case e.TEXT_NODE:return function(e,t){const{maskAllText:n,maskTextClass:r,unmaskTextClass:a,maskTextSelector:o,unmaskTextSelector:i,maskTextFn:s,maskInputOptions:l,maskInputFn:u,rootId:c}=t,d=e.parentNode&&e.parentNode.tagName;let p=e.textContent;const f="STYLE"===d||void 0,h="SCRIPT"===d||void 0,m="TEXTAREA"===d||void 0;if(f&&p){try{e.nextSibling||e.previousSibling||g([e,"access",e=>e.parentNode,"access",e=>e.sheet,"optionalAccess",e=>e.cssRules])&&(p=w(e.parentNode.sheet))}catch(t){console.warn(`Cannot get CSS styles from text's parentNode. Error: ${t}`,e)}p=H(p,K(t.doc))}h&&(p="SCRIPT_PLACEHOLDER");const y=te(e,r,o,a,i,n);return f||h||m||!p||!y||(p=s?s(p,e.parentElement):p.replace(/[\S]/g,"*")),m&&p&&(l.textarea||y)&&(p=u?u(p,e.parentNode):p.replace(/[\S]/g,"*")),"OPTION"===d&&p&&(p=A({isMasked:te(e,r,o,a,i,_({type:null,tagName:d,maskInputOptions:l})),element:e,value:p,maskInputFn:u})),{type:v.Text,textContent:p||"",isStyle:f,rootId:c}}(e,{doc:n,maskAllText:s,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:p,maskTextFn:m,maskInputOptions:h,maskInputFn:y,rootId:I});case e.CDATA_SECTION_NODE:return{type:v.CDATA,textContent:"",rootId:I};case e.COMMENT_NODE:return{type:v.Comment,textContent:e.textContent||"",rootId:I};default:return!1}}(e,{doc:n,mirror:r,blockClass:a,blockSelector:o,maskAllText:s,unblockSelector:i,maskTextClass:l,unmaskTextClass:u,maskTextSelector:c,unmaskTextSelector:d,inlineStylesheet:f,maskInputOptions:h,maskAttributeFn:m,maskTextFn:x,maskInputFn:S,dataURLOptions:I,inlineImages:N,recordCanvas:z,keepIframeSrcFn:Y,newlyAddedElement:X});if(!ee)return console.warn(e,"not serialized"),null;let ae;ae=r.hasNode(e)?r.getId(e):!function(e,t){if(t.comment&&e.type===v.Comment)return!0;if(e.type===v.Element){if(t.script&&("script"===e.tagName||"link"===e.tagName&&("preload"===e.attributes.rel||"modulepreload"===e.attributes.rel)&&"script"===e.attributes.as||"link"===e.tagName&&"prefetch"===e.attributes.rel&&"string"==typeof e.attributes.href&&"js"===P(e.attributes.href)))return!0;if(t.headFavicon&&("link"===e.tagName&&"shortcut icon"===e.attributes.rel||"meta"===e.tagName&&(ne(e.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===ne(e.attributes.name)||"icon"===ne(e.attributes.rel)||"apple-touch-icon"===ne(e.attributes.rel)||"shortcut icon"===ne(e.attributes.rel))))return!0;if("meta"===e.tagName){if(t.headMetaDescKeywords&&ne(e.attributes.name).match(/^description|keywords$/))return!0;if(t.headMetaSocial&&(ne(e.attributes.property).match(/^(og|twitter|fb):/)||ne(e.attributes.name).match(/^(og|twitter):/)||"pinterest"===ne(e.attributes.name)))return!0;if(t.headMetaRobots&&("robots"===ne(e.attributes.name)||"googlebot"===ne(e.attributes.name)||"bingbot"===ne(e.attributes.name)))return!0;if(t.headMetaHttpEquiv&&void 0!==e.attributes["http-equiv"])return!0;if(t.headMetaAuthorship&&("author"===ne(e.attributes.name)||"generator"===ne(e.attributes.name)||"framework"===ne(e.attributes.name)||"publisher"===ne(e.attributes.name)||"progid"===ne(e.attributes.name)||ne(e.attributes.property).match(/^article:/)||ne(e.attributes.property).match(/^product:/)))return!0;if(t.headMetaVerification&&("google-site-verification"===ne(e.attributes.name)||"yandex-verification"===ne(e.attributes.name)||"csrf-token"===ne(e.attributes.name)||"p:domain_verify"===ne(e.attributes.name)||"verify-v1"===ne(e.attributes.name)||"verification"===ne(e.attributes.name)||"shopify-checkout-api-token"===ne(e.attributes.name)))return!0}}return!1}(ee,O)&&(J||ee.type!==v.Text||ee.isStyle||ee.textContent.replace(/^\s+|\s+$/gm,"").length)?j():$;const oe=Object.assign(ee,{id:ae});if(r.add(e,oe),ae===$)return null;W&&W(e);let ie=!p;if(oe.type===v.Element){ie=ie&&!oe.needBlock,delete oe.needBlock;const t=e.shadowRoot;t&&b(t)&&(oe.isShadowHost=!0)}if((oe.type===v.Document||oe.type===v.Element)&&ie){O.headWhitespace&&oe.type===v.Element&&"head"===oe.tagName&&(J=!1);const t={doc:n,mirror:r,blockClass:a,blockSelector:o,maskAllText:s,unblockSelector:i,maskTextClass:l,unmaskTextClass:u,maskTextSelector:c,unmaskTextSelector:d,skipChild:p,inlineStylesheet:f,maskInputOptions:h,maskAttributeFn:m,maskTextFn:x,maskInputFn:S,slimDOMOptions:O,dataURLOptions:I,inlineImages:N,recordCanvas:z,preserveWhiteSpace:J,onSerialize:W,onIframeLoad:V,iframeLoadTimeout:U,onStylesheetLoad:q,stylesheetLoadTimeout:G,keepIframeSrcFn:Y};for(const n of Array.from(e.childNodes)){const e=re(n,t);e&&oe.childNodes.push(e)}if(function(e){return e.nodeType===e.ELEMENT_NODE}(e)&&e.shadowRoot)for(const n of Array.from(e.shadowRoot.childNodes)){const r=re(n,t);r&&(b(e.shadowRoot)&&(r.isShadow=!0),oe.childNodes.push(r))}}return e.parentNode&&y(e.parentNode)&&b(e.parentNode)&&(oe.isShadow=!0),oe.type===v.Element&&"iframe"===oe.tagName&&function(e,t,n){const r=e.contentWindow;if(!r)return;let a,o=!1;try{a=r.document.readyState}catch(e){return}if("complete"!==a){const r=D((()=>{o||(t(),o=!0)}),n);return void e.addEventListener("load",(()=>{R(r),o=!0,t()}))}const i="about:blank";if(r.location.href!==i||e.src===i||""===e.src)return D(t,0),e.addEventListener("load",t);e.addEventListener("load",t)}(e,(()=>{const t=e.contentDocument;if(t&&V){const n=re(t,{doc:t,mirror:r,blockClass:a,blockSelector:o,unblockSelector:i,maskAllText:s,maskTextClass:l,unmaskTextClass:u,maskTextSelector:c,unmaskTextSelector:d,skipChild:!1,inlineStylesheet:f,maskInputOptions:h,maskAttributeFn:m,maskTextFn:x,maskInputFn:S,slimDOMOptions:O,dataURLOptions:I,inlineImages:N,recordCanvas:z,preserveWhiteSpace:J,onSerialize:W,onIframeLoad:V,iframeLoadTimeout:U,onStylesheetLoad:q,stylesheetLoadTimeout:G,keepIframeSrcFn:Y});n&&V(e,n)}}),U),oe.type===v.Element&&"link"===oe.tagName&&"string"==typeof oe.attributes.rel&&("stylesheet"===oe.attributes.rel||"preload"===oe.attributes.rel&&"string"==typeof oe.attributes.href&&"css"===P(oe.attributes.href))&&function(e,t,n){let r,a=!1;try{r=e.sheet}catch(e){return}if(r)return;const o=D((()=>{a||(t(),a=!0)}),n);e.addEventListener("load",(()=>{R(o),a=!0,t()}))}(e,(()=>{if(q){const t=re(e,{doc:n,mirror:r,blockClass:a,blockSelector:o,unblockSelector:i,maskAllText:s,maskTextClass:l,unmaskTextClass:u,maskTextSelector:c,unmaskTextSelector:d,skipChild:!1,inlineStylesheet:f,maskInputOptions:h,maskAttributeFn:m,maskTextFn:x,maskInputFn:S,slimDOMOptions:O,dataURLOptions:I,inlineImages:N,recordCanvas:z,preserveWhiteSpace:J,onSerialize:W,onIframeLoad:V,iframeLoadTimeout:U,onStylesheetLoad:q,stylesheetLoadTimeout:G,keepIframeSrcFn:Y});t&&q(e,t)}}),G),oe}function ae(e){let t,n=e[0],r=1;for(;rn.call(t,...e))),t=void 0)}return n}function oe(e,t,n=document){const r={capture:!0,passive:!0};return n.addEventListener(e,t,r),()=>n.removeEventListener(e,t,r)}const ie="Please stop import mirror directly. Instead of that,\r\nnow you can use replayer.getMirror() to access the mirror instance of a replayer,\r\nor you can use record.mirror to access the mirror instance during recording.";let se={map:{},getId:()=>(console.error(ie),-1),getNode:()=>(console.error(ie),null),removeNodeFromMap(){console.error(ie)},has:()=>(console.error(ie),!1),reset(){console.error(ie)}};function le(e,t,n={}){let r=null,a=0;return function(...o){const i=Date.now();a||!1!==n.leading||(a=i);const s=t-(i-a),l=this;s<=0||s>t?(r&&(function(...e){ke("clearTimeout")(...e)}(r),r=null),a=i,e.apply(l,o)):r||!1===n.trailing||(r=Ee((()=>{a=!1===n.leading?0:Date.now(),r=null,e.apply(l,o)}),s))}}function ue(e,t,n,r,a=window){const o=a.Object.getOwnPropertyDescriptor(e,t);return a.Object.defineProperty(e,t,r?n:{set(e){Ee((()=>{n.set.call(this,e)}),0),o&&o.set&&o.set.call(this,e)}}),()=>ue(e,t,o||{},!0)}function ce(e,t,n){try{if(!(t in e))return()=>{};const r=e[t],a=n(r);return"function"==typeof a&&(a.prototype=a.prototype||{},Object.defineProperties(a,{__rrweb_original__:{enumerable:!1,value:r}})),e[t]=a,()=>{e[t]=r}}catch(e){return()=>{}}}"undefined"!=typeof window&&window.Proxy&&window.Reflect&&(se=new Proxy(se,{get:(e,t,n)=>("map"===t&&console.error(ie),Reflect.get(e,t,n))}));let de=Date.now;function pe(e){const t=e.document;return{left:t.scrollingElement?t.scrollingElement.scrollLeft:void 0!==e.pageXOffset?e.pageXOffset:ae([t,"optionalAccess",e=>e.documentElement,"access",e=>e.scrollLeft])||ae([t,"optionalAccess",e=>e.body,"optionalAccess",e=>e.parentElement,"optionalAccess",e=>e.scrollLeft])||ae([t,"optionalAccess",e=>e.body,"optionalAccess",e=>e.scrollLeft])||0,top:t.scrollingElement?t.scrollingElement.scrollTop:void 0!==e.pageYOffset?e.pageYOffset:ae([t,"optionalAccess",e=>e.documentElement,"access",e=>e.scrollTop])||ae([t,"optionalAccess",e=>e.body,"optionalAccess",e=>e.parentElement,"optionalAccess",e=>e.scrollTop])||ae([t,"optionalAccess",e=>e.body,"optionalAccess",e=>e.scrollTop])||0}}function fe(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function he(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function me(e){return e?e.nodeType===e.ELEMENT_NODE?e:e.parentElement:null}function ge(e,t,n,r,a){if(!e)return!1;const o=me(e);if(!o)return!1;const i=ee(t,n);if(!a){const e=r&&o.matches(r);return i(o)&&!e}const s=J(o,i);let l=-1;return!(s<0)&&(r&&(l=J(o,ee(null,r))),s>-1&&l<0||se.shadowRoot]))}/[1-9][0-9]{12}/.test(Date.now().toString())||(de=()=>(new Date).getTime());class _e{constructor(){this.id=1,this.styleIDMap=new WeakMap,this.idStyleMap=new Map}getId(e){return r(this.styleIDMap.get(e),(()=>-1))}has(e){return this.styleIDMap.has(e)}add(e,t){if(this.has(e))return this.getId(e);let n;return n=void 0===t?this.id++:t,this.styleIDMap.set(e,n),this.idStyleMap.set(n,e),n}getStyle(e){return this.idStyleMap.get(e)||null}reset(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1}generateId(){return this.id++}}function Ae(e){let t=null;return ae([e,"access",e=>e.getRootNode,"optionalCall",e=>e(),"optionalAccess",e=>e.nodeType])===Node.DOCUMENT_FRAGMENT_NODE&&e.getRootNode().host&&(t=e.getRootNode().host),t}function Ce(e){const t=e.ownerDocument;return!!t&&(t.contains(e)||function(e){const t=e.ownerDocument;if(!t)return!1;const n=function(e){let t,n=e;for(;t=Ae(n);)n=t;return n}(e);return t.contains(n)}(e))}const Te={};function ke(e){const t=Te[e];if(t)return t;const n=window.document;let r=window[e];if(n&&"function"==typeof n.createElement)try{const t=n.createElement("iframe");t.hidden=!0,n.head.appendChild(t);const a=t.contentWindow;a&&a[e]&&(r=a[e]),n.head.removeChild(t)}catch(e){}return Te[e]=r.bind(window)}function Ee(...e){return ke("setTimeout")(...e)}var Me=(e=>(e[e.DomContentLoaded=0]="DomContentLoaded",e[e.Load=1]="Load",e[e.FullSnapshot=2]="FullSnapshot",e[e.IncrementalSnapshot=3]="IncrementalSnapshot",e[e.Meta=4]="Meta",e[e.Custom=5]="Custom",e[e.Plugin=6]="Plugin",e))(Me||{}),Pe=(e=>(e[e.Mutation=0]="Mutation",e[e.MouseMove=1]="MouseMove",e[e.MouseInteraction=2]="MouseInteraction",e[e.Scroll=3]="Scroll",e[e.ViewportResize=4]="ViewportResize",e[e.Input=5]="Input",e[e.TouchMove=6]="TouchMove",e[e.MediaInteraction=7]="MediaInteraction",e[e.StyleSheetRule=8]="StyleSheetRule",e[e.CanvasMutation=9]="CanvasMutation",e[e.Font=10]="Font",e[e.Log=11]="Log",e[e.Drag=12]="Drag",e[e.StyleDeclaration=13]="StyleDeclaration",e[e.Selection=14]="Selection",e[e.AdoptedStyleSheet=15]="AdoptedStyleSheet",e[e.CustomElement=16]="CustomElement",e))(Pe||{}),Oe=(e=>(e[e.MouseUp=0]="MouseUp",e[e.MouseDown=1]="MouseDown",e[e.Click=2]="Click",e[e.ContextMenu=3]="ContextMenu",e[e.DblClick=4]="DblClick",e[e.Focus=5]="Focus",e[e.Blur=6]="Blur",e[e.TouchStart=7]="TouchStart",e[e.TouchMove_Departed=8]="TouchMove_Departed",e[e.TouchEnd=9]="TouchEnd",e[e.TouchCancel=10]="TouchCancel",e))(Oe||{}),Ie=(e=>(e[e.Mouse=0]="Mouse",e[e.Pen=1]="Pen",e[e.Touch=2]="Touch",e))(Ie||{});function De(e){let t,n=e[0],r=1;for(;rn.call(t,...e))),t=void 0)}return n}function Re(e){return"__ln"in e}class Ne{constructor(){this.length=0,this.head=null,this.tail=null}get(e){if(e>=this.length)throw new Error("Position outside of list range");let t=this.head;for(let n=0;ne.next])||null;return t}addNode(e){const t={value:e,previous:null,next:null};if(e.__ln=t,e.previousSibling&&Re(e.previousSibling)){const n=e.previousSibling.__ln.next;t.next=n,t.previous=e.previousSibling.__ln,e.previousSibling.__ln.next=t,n&&(n.previous=t)}else if(e.nextSibling&&Re(e.nextSibling)&&e.nextSibling.__ln.previous){const n=e.nextSibling.__ln.previous;t.previous=n,t.next=e.nextSibling.__ln,e.nextSibling.__ln.previous=t,n&&(n.next=t)}else this.head&&(this.head.previous=t),t.next=this.head,this.head=t;null===t.next&&(this.tail=t),this.length++}removeNode(e){const t=e.__ln;this.head&&(t.previous?(t.previous.next=t.next,t.next?t.next.previous=t.previous:this.tail=t.previous):(this.head=t.next,this.head?this.head.previous=null:this.tail=null),e.__ln&&delete e.__ln,this.length--)}}const Le=(e,t)=>`${e}@${t}`;class $e{constructor(){this.frozen=!1,this.locked=!1,this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.mapRemoves=[],this.movedMap={},this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.processMutations=e=>{e.forEach(this.processMutation),this.emit()},this.emit=()=>{if(this.frozen||this.locked)return;const e=[],t=new Set,n=new Ne,r=e=>{let t=e,n=$;for(;n===$;)t=t&&t.nextSibling,n=t&&this.mirror.getId(t);return n},a=a=>{if(!a.parentNode||!Ce(a))return;const o=y(a.parentNode)?this.mirror.getId(Ae(a)):this.mirror.getId(a.parentNode),i=r(a);if(-1===o||-1===i)return n.addNode(a);const s=re(a,{doc:this.doc,mirror:this.mirror,blockClass:this.blockClass,blockSelector:this.blockSelector,maskAllText:this.maskAllText,unblockSelector:this.unblockSelector,maskTextClass:this.maskTextClass,unmaskTextClass:this.unmaskTextClass,maskTextSelector:this.maskTextSelector,unmaskTextSelector:this.unmaskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:this.inlineStylesheet,maskInputOptions:this.maskInputOptions,maskAttributeFn:this.maskAttributeFn,maskTextFn:this.maskTextFn,maskInputFn:this.maskInputFn,slimDOMOptions:this.slimDOMOptions,dataURLOptions:this.dataURLOptions,recordCanvas:this.recordCanvas,inlineImages:this.inlineImages,onSerialize:e=>{we(e,this.mirror)&&!ge(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&this.iframeManager.addIframe(e),xe(e,this.mirror)&&this.stylesheetManager.trackLinkElement(e),Se(a)&&this.shadowDomManager.addShadowRoot(a.shadowRoot,this.doc)},onIframeLoad:(e,t)=>{ge(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)||(this.iframeManager.attachIframe(e,t),e.contentWindow&&this.canvasManager.addWindow(e.contentWindow),this.shadowDomManager.observeAttachShadow(e))},onStylesheetLoad:(e,t)=>{this.stylesheetManager.attachLinkElement(e,t)}});s&&(e.push({parentId:o,nextId:i,node:s}),t.add(s.id))};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(const e of this.movedSet)Fe(this.removes,e,this.mirror)&&!this.movedSet.has(e.parentNode)||a(e);for(const e of this.addedSet)Be(this.droppedSet,e)||Fe(this.removes,e,this.mirror)?Be(this.movedSet,e)?a(e):this.droppedSet.add(e):a(e);let o=null;for(;n.length;){let e=null;if(o){const t=this.mirror.getId(o.value.parentNode),n=r(o.value);-1!==t&&-1!==n&&(e=o)}if(!e){let t=n.tail;for(;t;){const n=t;if(t=t.previous,n){const t=this.mirror.getId(n.value.parentNode);if(-1===r(n.value))continue;if(-1!==t){e=n;break}{const t=n.value;if(t.parentNode&&t.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE){const r=t.parentNode.host;if(-1!==this.mirror.getId(r)){e=n;break}}}}}}if(!e){for(;n.head;)n.removeNode(n.head.value);break}o=e.previous,n.removeNode(e.value),a(e.value)}const i={texts:this.texts.map((e=>({id:this.mirror.getId(e.node),value:e.value}))).filter((e=>!t.has(e.id))).filter((e=>this.mirror.has(e.id))),attributes:this.attributes.map((e=>{const{attributes:t}=e;if("string"==typeof t.style){const n=JSON.stringify(e.styleDiff),r=JSON.stringify(e._unchangedStyles);n.length!t.has(e.id))).filter((e=>this.mirror.has(e.id))),removes:this.removes,adds:e};(i.texts.length||i.attributes.length||i.removes.length||i.adds.length)&&(this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.movedMap={},this.mutationCb(i))},this.processMutation=e=>{if(!ve(e.target,this.mirror))switch(e.type){case"characterData":{const t=e.target.textContent;ge(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||t===e.oldValue||this.texts.push({value:te(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,this.maskAllText)&&t?this.maskTextFn?this.maskTextFn(t,me(e.target)):t.replace(/[\S]/g,"*"):t,node:e.target});break}case"attributes":{const t=e.target;let n=e.attributeName,r=e.target.getAttribute(n);if("value"===n){const n=E(t),a=t.tagName;r=M(t,a,n);const o=_({maskInputOptions:this.maskInputOptions,tagName:a,type:n});r=A({isMasked:te(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,o),element:t,value:r,maskInputFn:this.maskInputFn})}if(ge(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||r===e.oldValue)return;let a=this.attributeMap.get(e.target);if("IFRAME"===t.tagName&&"src"===n&&!this.keepIframeSrcFn(r)){if(t.contentDocument)return;n="rr_src"}if(a||(a={node:e.target,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(a),this.attributeMap.set(e.target,a)),"type"===n&&"INPUT"===t.tagName&&"password"===(e.oldValue||"").toLowerCase()&&t.setAttribute("data-rr-is-password","true"),!Z(t.tagName,n)&&(a.attributes[n]=Q(this.doc,C(t.tagName),C(n),r,t,this.maskAttributeFn),"style"===n)){if(!this.unattachedDoc)try{this.unattachedDoc=document.implementation.createHTMLDocument()}catch(e){this.unattachedDoc=this.doc}const n=this.unattachedDoc.createElement("span");e.oldValue&&n.setAttribute("style",e.oldValue);for(const e of Array.from(t.style)){const r=t.style.getPropertyValue(e),o=t.style.getPropertyPriority(e);r!==n.style.getPropertyValue(e)||o!==n.style.getPropertyPriority(e)?a.styleDiff[e]=""===o?r:[r,o]:a._unchangedStyles[e]=[r,o]}for(const e of Array.from(n.style))""===t.style.getPropertyValue(e)&&(a.styleDiff[e]=!1)}break}case"childList":if(ge(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!0))return;e.addedNodes.forEach((t=>this.genAdds(t,e.target))),e.removedNodes.forEach((t=>{const n=this.mirror.getId(t),r=y(e.target)?this.mirror.getId(e.target.host):this.mirror.getId(e.target);ge(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||ve(t,this.mirror)||!function(e,t){return-1!==t.getId(e)}(t,this.mirror)||(this.addedSet.has(t)?(je(this.addedSet,t),this.droppedSet.add(t)):this.addedSet.has(e.target)&&-1===n||ye(e.target,this.mirror)||(this.movedSet.has(t)&&this.movedMap[Le(n,r)]?je(this.movedSet,t):this.removes.push({parentId:r,id:n,isShadow:!(!y(e.target)||!b(e.target))||void 0})),this.mapRemoves.push(t))}))}},this.genAdds=(e,t)=>{if(!this.processedNodeManager.inOtherBuffer(e,this)&&!this.addedSet.has(e)&&!this.movedSet.has(e)){if(this.mirror.hasNode(e)){if(ve(e,this.mirror))return;this.movedSet.add(e);let n=null;t&&this.mirror.hasNode(t)&&(n=this.mirror.getId(t)),n&&-1!==n&&(this.movedMap[Le(this.mirror.getId(e),n)]=!0)}else this.addedSet.add(e),this.droppedSet.delete(e);ge(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)||(e.childNodes.forEach((e=>this.genAdds(e))),Se(e)&&e.shadowRoot.childNodes.forEach((t=>{this.processedNodeManager.add(t,this),this.genAdds(t,e)})))}}}init(e){["mutationCb","blockClass","blockSelector","unblockSelector","maskAllText","maskTextClass","unmaskTextClass","maskTextSelector","unmaskTextSelector","inlineStylesheet","maskInputOptions","maskAttributeFn","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager"].forEach((t=>{this[t]=e[t]}))}freeze(){this.frozen=!0,this.canvasManager.freeze()}unfreeze(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()}isFrozen(){return this.frozen}lock(){this.locked=!0,this.canvasManager.lock()}unlock(){this.locked=!1,this.canvasManager.unlock(),this.emit()}reset(){this.shadowDomManager.reset(),this.canvasManager.reset()}}function je(e,t){e.delete(t),t.childNodes.forEach((t=>je(e,t)))}function Fe(e,t,n){return 0!==e.length&&function(e,t,n){let r=t.parentNode;for(;r;){const t=n.getId(r);if(e.some((e=>e.id===t)))return!0;r=r.parentNode}return!1}(e,t,n)}function Be(e,t){return 0!==e.size&&ze(e,t)}function ze(e,t){const{parentNode:n}=t;return!!n&&(!!e.has(n)||ze(e,n))}let We;function Ve(e){We=e}function Ue(){We=void 0}const He=e=>We?(...t)=>{try{return e(...t)}catch(e){if(We&&!0===We(e))return()=>{};throw e}}:e;function qe(e){let t,n=e[0],r=1;for(;rn.call(t,...e))),t=void 0)}return n}const Ge=[];function Ye(e){try{if("composedPath"in e){const t=e.composedPath();if(t.length)return t[0]}else if("path"in e&&e.path.length)return e.path[0]}catch(e){}return e&&e.target}function Xe(e,t){const n=new $e;Ge.push(n),n.init(e);let r=window.MutationObserver||window.__rrMutationObserver;const a=qe([window,"optionalAccess",e=>e.Zone,"optionalAccess",e=>e.__symbol__,"optionalCall",e=>e("MutationObserver")]);a&&window[a]&&(r=window[a]);const o=new r(He((t=>{e.onMutation&&!1===e.onMutation(t)||n.processMutations.bind(n)(t)})));return o.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),o}function Ke({scrollCb:e,doc:t,mirror:n,blockClass:r,blockSelector:a,unblockSelector:o,sampling:i}){return oe("scroll",He(le(He((i=>{const s=Ye(i);if(!s||ge(s,r,a,o,!0))return;const l=n.getId(s);if(s===t&&t.defaultView){const n=pe(t.defaultView);e({id:l,x:n.left,y:n.top})}else e({id:l,x:s.scrollLeft,y:s.scrollTop})})),i.scroll||100)),t)}const Qe=["INPUT","TEXTAREA","SELECT"],Ze=new WeakMap;function Je({inputCb:e,doc:t,mirror:n,blockClass:r,blockSelector:a,unblockSelector:o,ignoreClass:i,ignoreSelector:s,maskInputOptions:l,maskInputFn:u,sampling:c,userTriggeredOnInput:d,maskTextClass:p,unmaskTextClass:f,maskTextSelector:h,unmaskTextSelector:m}){function g(e){let n=Ye(e);const c=e.isTrusted,g=n&&T(n.tagName);if("OPTION"===g&&(n=n.parentElement),!n||!g||Qe.indexOf(g)<0||ge(n,r,a,o,!0))return;const y=n;if(y.classList.contains(i)||s&&y.matches(s))return;const b=E(n);let w=M(y,g,b),x=!1;const S=_({maskInputOptions:l,tagName:g,type:b}),C=te(n,p,h,f,m,S);"radio"!==b&&"checkbox"!==b||(x=n.checked),w=A({isMasked:C,element:n,value:w,maskInputFn:u}),v(n,d?{text:w,isChecked:x,userTriggered:c}:{text:w,isChecked:x});const k=n.name;"radio"===b&&k&&x&&t.querySelectorAll(`input[type="radio"][name="${k}"]`).forEach((e=>{if(e!==n){const t=A({isMasked:C,element:e,value:M(e,g,b),maskInputFn:u});v(e,d?{text:t,isChecked:!x,userTriggered:!1}:{text:t,isChecked:!x})}}))}function v(t,r){const a=Ze.get(t);if(!a||a.text!==r.text||a.isChecked!==r.isChecked){Ze.set(t,r);const a=n.getId(t);He(e)({...r,id:a})}}const y=("last"===c.input?["change"]:["input","change"]).map((e=>oe(e,He(g),t))),b=t.defaultView;if(!b)return()=>{y.forEach((e=>e()))};const w=b.Object.getOwnPropertyDescriptor(b.HTMLInputElement.prototype,"value"),x=[[b.HTMLInputElement.prototype,"value"],[b.HTMLInputElement.prototype,"checked"],[b.HTMLSelectElement.prototype,"value"],[b.HTMLTextAreaElement.prototype,"value"],[b.HTMLSelectElement.prototype,"selectedIndex"],[b.HTMLOptionElement.prototype,"selected"]];return w&&w.set&&y.push(...x.map((e=>ue(e[0],e[1],{set(){He(g)({target:this,isTrusted:!1})}},!1,b)))),He((()=>{y.forEach((e=>e()))}))}function et(e){return function(e,t){if(at("CSSGroupingRule")&&e.parentRule instanceof CSSGroupingRule||at("CSSMediaRule")&&e.parentRule instanceof CSSMediaRule||at("CSSSupportsRule")&&e.parentRule instanceof CSSSupportsRule||at("CSSConditionRule")&&e.parentRule instanceof CSSConditionRule){const n=Array.from(e.parentRule.cssRules).indexOf(e);t.unshift(n)}else if(e.parentStyleSheet){const n=Array.from(e.parentStyleSheet.cssRules).indexOf(e);t.unshift(n)}return t}(e,[])}function tt(e,t,n){let r,a;return e?(e.ownerNode?r=t.getId(e.ownerNode):a=n.getId(e),{styleId:a,id:r}):{}}function nt({mirror:e,stylesheetManager:t},n){let r=null;r="#document"===n.nodeName?e.getId(n):e.getId(n.host);const a="#document"===n.nodeName?qe([n,"access",e=>e.defaultView,"optionalAccess",e=>e.Document]):qe([n,"access",e=>e.ownerDocument,"optionalAccess",e=>e.defaultView,"optionalAccess",e=>e.ShadowRoot]),o=qe([a,"optionalAccess",e=>e.prototype])?Object.getOwnPropertyDescriptor(qe([a,"optionalAccess",e=>e.prototype]),"adoptedStyleSheets"):void 0;return null!==r&&-1!==r&&a&&o?(Object.defineProperty(n,"adoptedStyleSheets",{configurable:o.configurable,enumerable:o.enumerable,get(){return qe([o,"access",e=>e.get,"optionalAccess",e=>e.call,"call",e=>e(this)])},set(e){const n=qe([o,"access",e=>e.set,"optionalAccess",e=>e.call,"call",t=>t(this,e)]);if(null!==r&&-1!==r)try{t.adoptStyleSheets(e,r)}catch(e){}return n}}),He((()=>{Object.defineProperty(n,"adoptedStyleSheets",{configurable:o.configurable,enumerable:o.enumerable,get:o.get,set:o.set})}))):()=>{}}function rt(e,t={}){const n=e.doc.defaultView;if(!n)return()=>{};let r;e.recordDOM&&(r=Xe(e,e.doc));const a=function({mousemoveCb:e,sampling:t,doc:n,mirror:r}){if(!1===t.mousemove)return()=>{};const a="number"==typeof t.mousemove?t.mousemove:50,o="number"==typeof t.mousemoveCallback?t.mousemoveCallback:500;let i,s=[];const l=le(He((t=>{const n=Date.now()-i;e(s.map((e=>(e.timeOffset-=n,e))),t),s=[],i=null})),o),u=He(le(He((e=>{const t=Ye(e),{clientX:n,clientY:a}=be(e)?e.changedTouches[0]:e;i||(i=de()),s.push({x:n,y:a,id:r.getId(t),timeOffset:de()-i}),l("undefined"!=typeof DragEvent&&e instanceof DragEvent?Pe.Drag:e instanceof MouseEvent?Pe.MouseMove:Pe.TouchMove)})),a,{trailing:!1})),c=[oe("mousemove",u,n),oe("touchmove",u,n),oe("drag",u,n)];return He((()=>{c.forEach((e=>e()))}))}(e),o=function({mouseInteractionCb:e,doc:t,mirror:n,blockClass:r,blockSelector:a,unblockSelector:o,sampling:i}){if(!1===i.mouseInteraction)return()=>{};const s=!0===i.mouseInteraction||void 0===i.mouseInteraction?{}:i.mouseInteraction,l=[];let u=null;return Object.keys(Oe).filter((e=>Number.isNaN(Number(e))&&!e.endsWith("_Departed")&&!1!==s[e])).forEach((i=>{let s=C(i);const c=(t=>i=>{const s=Ye(i);if(ge(s,r,a,o,!0))return;let l=null,c=t;if("pointerType"in i){switch(i.pointerType){case"mouse":l=Ie.Mouse;break;case"touch":l=Ie.Touch;break;case"pen":l=Ie.Pen}l===Ie.Touch?Oe[t]===Oe.MouseDown?c="TouchStart":Oe[t]===Oe.MouseUp&&(c="TouchEnd"):Ie.Pen}else be(i)&&(l=Ie.Touch);null!==l?(u=l,(c.startsWith("Touch")&&l===Ie.Touch||c.startsWith("Mouse")&&l===Ie.Mouse)&&(l=null)):Oe[t]===Oe.Click&&(l=u,u=null);const d=be(i)?i.changedTouches[0]:i;if(!d)return;const p=n.getId(s),{clientX:f,clientY:h}=d;He(e)({type:Oe[c],id:p,x:f,y:h,...null!==l&&{pointerType:l}})})(i);if(window.PointerEvent)switch(Oe[i]){case Oe.MouseDown:case Oe.MouseUp:s=s.replace("mouse","pointer");break;case Oe.TouchStart:case Oe.TouchEnd:return}l.push(oe(s,c,t))})),He((()=>{l.forEach((e=>e()))}))}(e),i=Ke(e),s=function({viewportResizeCb:e},{win:t}){let n=-1,r=-1;return oe("resize",He(le(He((()=>{const t=fe(),a=he();n===t&&r===a||(e({width:Number(a),height:Number(t)}),n=t,r=a)})),200)),t)}(e,{win:n}),l=Je(e),u=function({mediaInteractionCb:e,blockClass:t,blockSelector:n,unblockSelector:r,mirror:a,sampling:o,doc:i}){const s=He((i=>le(He((o=>{const s=Ye(o);if(!s||ge(s,t,n,r,!0))return;const{currentTime:l,volume:u,muted:c,playbackRate:d}=s;e({type:i,id:a.getId(s),currentTime:l,volume:u,muted:c,playbackRate:d})})),o.media||500))),l=[oe("play",s(0),i),oe("pause",s(1),i),oe("seeked",s(2),i),oe("volumechange",s(3),i),oe("ratechange",s(4),i)];return He((()=>{l.forEach((e=>e()))}))}(e);let c=()=>{},d=()=>{},p=()=>{},f=()=>{};e.recordDOM&&(c=function({styleSheetRuleCb:e,mirror:t,stylesheetManager:n},{win:r}){if(!r.CSSStyleSheet||!r.CSSStyleSheet.prototype)return()=>{};const a=r.CSSStyleSheet.prototype.insertRule;r.CSSStyleSheet.prototype.insertRule=new Proxy(a,{apply:He(((r,a,o)=>{const[i,s]=o,{id:l,styleId:u}=tt(a,t,n.styleMirror);return(l&&-1!==l||u&&-1!==u)&&e({id:l,styleId:u,adds:[{rule:i,index:s}]}),r.apply(a,o)}))});const o=r.CSSStyleSheet.prototype.deleteRule;let i,s;r.CSSStyleSheet.prototype.deleteRule=new Proxy(o,{apply:He(((r,a,o)=>{const[i]=o,{id:s,styleId:l}=tt(a,t,n.styleMirror);return(s&&-1!==s||l&&-1!==l)&&e({id:s,styleId:l,removes:[{index:i}]}),r.apply(a,o)}))}),r.CSSStyleSheet.prototype.replace&&(i=r.CSSStyleSheet.prototype.replace,r.CSSStyleSheet.prototype.replace=new Proxy(i,{apply:He(((r,a,o)=>{const[i]=o,{id:s,styleId:l}=tt(a,t,n.styleMirror);return(s&&-1!==s||l&&-1!==l)&&e({id:s,styleId:l,replace:i}),r.apply(a,o)}))})),r.CSSStyleSheet.prototype.replaceSync&&(s=r.CSSStyleSheet.prototype.replaceSync,r.CSSStyleSheet.prototype.replaceSync=new Proxy(s,{apply:He(((r,a,o)=>{const[i]=o,{id:s,styleId:l}=tt(a,t,n.styleMirror);return(s&&-1!==s||l&&-1!==l)&&e({id:s,styleId:l,replaceSync:i}),r.apply(a,o)}))}));const l={};ot("CSSGroupingRule")?l.CSSGroupingRule=r.CSSGroupingRule:(ot("CSSMediaRule")&&(l.CSSMediaRule=r.CSSMediaRule),ot("CSSConditionRule")&&(l.CSSConditionRule=r.CSSConditionRule),ot("CSSSupportsRule")&&(l.CSSSupportsRule=r.CSSSupportsRule));const u={};return Object.entries(l).forEach((([r,a])=>{u[r]={insertRule:a.prototype.insertRule,deleteRule:a.prototype.deleteRule},a.prototype.insertRule=new Proxy(u[r].insertRule,{apply:He(((r,a,o)=>{const[i,s]=o,{id:l,styleId:u}=tt(a.parentStyleSheet,t,n.styleMirror);return(l&&-1!==l||u&&-1!==u)&&e({id:l,styleId:u,adds:[{rule:i,index:[...et(a),s||0]}]}),r.apply(a,o)}))}),a.prototype.deleteRule=new Proxy(u[r].deleteRule,{apply:He(((r,a,o)=>{const[i]=o,{id:s,styleId:l}=tt(a.parentStyleSheet,t,n.styleMirror);return(s&&-1!==s||l&&-1!==l)&&e({id:s,styleId:l,removes:[{index:[...et(a),i]}]}),r.apply(a,o)}))})})),He((()=>{r.CSSStyleSheet.prototype.insertRule=a,r.CSSStyleSheet.prototype.deleteRule=o,i&&(r.CSSStyleSheet.prototype.replace=i),s&&(r.CSSStyleSheet.prototype.replaceSync=s),Object.entries(l).forEach((([e,t])=>{t.prototype.insertRule=u[e].insertRule,t.prototype.deleteRule=u[e].deleteRule}))}))}(e,{win:n}),d=nt(e,e.doc),p=function({styleDeclarationCb:e,mirror:t,ignoreCSSAttributes:n,stylesheetManager:r},{win:a}){const o=a.CSSStyleDeclaration.prototype.setProperty;a.CSSStyleDeclaration.prototype.setProperty=new Proxy(o,{apply:He(((a,i,s)=>{const[l,u,c]=s;if(n.has(l))return o.apply(i,[l,u,c]);const{id:d,styleId:p}=tt(qe([i,"access",e=>e.parentRule,"optionalAccess",e=>e.parentStyleSheet]),t,r.styleMirror);return(d&&-1!==d||p&&-1!==p)&&e({id:d,styleId:p,set:{property:l,value:u,priority:c},index:et(i.parentRule)}),a.apply(i,s)}))});const i=a.CSSStyleDeclaration.prototype.removeProperty;return a.CSSStyleDeclaration.prototype.removeProperty=new Proxy(i,{apply:He(((a,o,s)=>{const[l]=s;if(n.has(l))return i.apply(o,[l]);const{id:u,styleId:c}=tt(qe([o,"access",e=>e.parentRule,"optionalAccess",e=>e.parentStyleSheet]),t,r.styleMirror);return(u&&-1!==u||c&&-1!==c)&&e({id:u,styleId:c,remove:{property:l},index:et(o.parentRule)}),a.apply(o,s)}))}),He((()=>{a.CSSStyleDeclaration.prototype.setProperty=o,a.CSSStyleDeclaration.prototype.removeProperty=i}))}(e,{win:n}),e.collectFonts&&(f=function({fontCb:e,doc:t}){const n=t.defaultView;if(!n)return()=>{};const r=[],a=new WeakMap,o=n.FontFace;n.FontFace=function(e,t,n){const r=new o(e,t,n);return a.set(r,{family:e,buffer:"string"!=typeof t,descriptors:n,fontSource:"string"==typeof t?t:JSON.stringify(Array.from(new Uint8Array(t)))}),r};const i=ce(t.fonts,"add",(function(t){return function(n){return Ee(He((()=>{const t=a.get(n);t&&(e(t),a.delete(n))})),0),t.apply(this,[n])}}));return r.push((()=>{n.FontFace=o})),r.push(i),He((()=>{r.forEach((e=>e()))}))}(e)));const h=function(e){const{doc:t,mirror:n,blockClass:r,blockSelector:a,unblockSelector:o,selectionCb:i}=e;let s=!0;const l=He((()=>{const e=t.getSelection();if(!e||s&&qe([e,"optionalAccess",e=>e.isCollapsed]))return;s=e.isCollapsed||!1;const l=[],u=e.rangeCount||0;for(let t=0;t{}}(e),g=[];for(const t of e.plugins)g.push(t.observer(t.callback,n,t.options));return He((()=>{Ge.forEach((e=>e.reset())),qe([r,"optionalAccess",e=>e.disconnect,"call",e=>e()]),a(),o(),i(),s(),l(),u(),c(),d(),p(),f(),h(),m(),g.forEach((e=>e()))}))}function at(e){return void 0!==window[e]}function ot(e){return Boolean(void 0!==window[e]&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}class it{constructor(e){this.generateIdFn=e,this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap}getId(e,t,n,r){const a=n||this.getIdToRemoteIdMap(e),o=r||this.getRemoteIdToIdMap(e);let i=a.get(t);return i||(i=this.generateIdFn(),a.set(t,i),o.set(i,t)),i}getIds(e,t){const n=this.getIdToRemoteIdMap(e),r=this.getRemoteIdToIdMap(e);return t.map((t=>this.getId(e,t,n,r)))}getRemoteId(e,t,n){const r=n||this.getRemoteIdToIdMap(e);if("number"!=typeof t)return t;return r.get(t)||-1}getRemoteIds(e,t){const n=this.getRemoteIdToIdMap(e);return t.map((t=>this.getRemoteId(e,t,n)))}reset(e){if(!e)return this.iframeIdToRemoteIdMap=new WeakMap,void(this.iframeRemoteIdToIdMap=new WeakMap);this.iframeIdToRemoteIdMap.delete(e),this.iframeRemoteIdToIdMap.delete(e)}getIdToRemoteIdMap(e){let t=this.iframeIdToRemoteIdMap.get(e);return t||(t=new Map,this.iframeIdToRemoteIdMap.set(e,t)),t}getRemoteIdToIdMap(e){let t=this.iframeRemoteIdToIdMap.get(e);return t||(t=new Map,this.iframeRemoteIdToIdMap.set(e,t)),t}}function st(e){let t,n=e[0],r=1;for(;rn.call(t,...e))),t=void 0)}return n}class lt{constructor(){this.crossOriginIframeMirror=new it(j),this.crossOriginIframeRootIdMap=new WeakMap}addIframe(){}addLoadListener(){}attachIframe(){}}class ut{constructor(e){this.iframes=new WeakMap,this.crossOriginIframeMap=new WeakMap,this.crossOriginIframeMirror=new it(j),this.crossOriginIframeRootIdMap=new WeakMap,this.mutationCb=e.mutationCb,this.wrappedEmit=e.wrappedEmit,this.stylesheetManager=e.stylesheetManager,this.recordCrossOriginIframes=e.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new it(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=e.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this))}addIframe(e){this.iframes.set(e,!0),e.contentWindow&&this.crossOriginIframeMap.set(e.contentWindow,e)}addLoadListener(e){this.loadListener=e}attachIframe(e,t){this.mutationCb({adds:[{parentId:this.mirror.getId(e),nextId:null,node:t}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),st([this,"access",e=>e.loadListener,"optionalCall",t=>t(e)]),e.contentDocument&&e.contentDocument.adoptedStyleSheets&&e.contentDocument.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(e.contentDocument.adoptedStyleSheets,this.mirror.getId(e.contentDocument))}handleMessage(e){const t=e;if("rrweb"!==t.data.type||t.origin!==t.data.origin)return;if(!e.source)return;const n=this.crossOriginIframeMap.get(e.source);if(!n)return;const r=this.transformCrossOriginEvent(n,t.data.event);r&&this.wrappedEmit(r,t.data.isCheckout)}transformCrossOriginEvent(e,t){switch(t.type){case Me.FullSnapshot:{this.crossOriginIframeMirror.reset(e),this.crossOriginIframeStyleMirror.reset(e),this.replaceIdOnNode(t.data.node,e);const n=t.data.node.id;return this.crossOriginIframeRootIdMap.set(e,n),this.patchRootIdOnNode(t.data.node,n),{timestamp:t.timestamp,type:Me.IncrementalSnapshot,data:{source:Pe.Mutation,adds:[{parentId:this.mirror.getId(e),nextId:null,node:t.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case Me.Meta:case Me.Load:case Me.DomContentLoaded:return!1;case Me.Plugin:return t;case Me.Custom:return this.replaceIds(t.data.payload,e,["id","parentId","previousId","nextId"]),t;case Me.IncrementalSnapshot:switch(t.data.source){case Pe.Mutation:return t.data.adds.forEach((t=>{this.replaceIds(t,e,["parentId","nextId","previousId"]),this.replaceIdOnNode(t.node,e);const n=this.crossOriginIframeRootIdMap.get(e);n&&this.patchRootIdOnNode(t.node,n)})),t.data.removes.forEach((t=>{this.replaceIds(t,e,["parentId","id"])})),t.data.attributes.forEach((t=>{this.replaceIds(t,e,["id"])})),t.data.texts.forEach((t=>{this.replaceIds(t,e,["id"])})),t;case Pe.Drag:case Pe.TouchMove:case Pe.MouseMove:return t.data.positions.forEach((t=>{this.replaceIds(t,e,["id"])})),t;case Pe.ViewportResize:return!1;case Pe.MediaInteraction:case Pe.MouseInteraction:case Pe.Scroll:case Pe.CanvasMutation:case Pe.Input:return this.replaceIds(t.data,e,["id"]),t;case Pe.StyleSheetRule:case Pe.StyleDeclaration:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleId"]),t;case Pe.Font:return t;case Pe.Selection:return t.data.ranges.forEach((t=>{this.replaceIds(t,e,["start","end"])})),t;case Pe.AdoptedStyleSheet:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleIds"]),st([t,"access",e=>e.data,"access",e=>e.styles,"optionalAccess",e=>e.forEach,"call",t=>t((t=>{this.replaceStyleIds(t,e,["styleId"])}))]),t}}return!1}replace(e,t,n,r){for(const a of r)(Array.isArray(t[a])||"number"==typeof t[a])&&(Array.isArray(t[a])?t[a]=e.getIds(n,t[a]):t[a]=e.getId(n,t[a]));return t}replaceIds(e,t,n){return this.replace(this.crossOriginIframeMirror,e,t,n)}replaceStyleIds(e,t,n){return this.replace(this.crossOriginIframeStyleMirror,e,t,n)}replaceIdOnNode(e,t){this.replaceIds(e,t,["id","rootId"]),"childNodes"in e&&e.childNodes.forEach((e=>{this.replaceIdOnNode(e,t)}))}patchRootIdOnNode(e,t){e.type===v.Document||e.rootId||(e.rootId=t),"childNodes"in e&&e.childNodes.forEach((e=>{this.patchRootIdOnNode(e,t)}))}}class ct{init(){}addShadowRoot(){}observeAttachShadow(){}reset(){}}class dt{constructor(e){this.shadowDoms=new WeakSet,this.restoreHandlers=[],this.mutationCb=e.mutationCb,this.scrollCb=e.scrollCb,this.bypassOptions=e.bypassOptions,this.mirror=e.mirror,this.init()}init(){this.reset(),this.patchAttachShadow(Element,document)}addShadowRoot(e,t){if(!b(e))return;if(this.shadowDoms.has(e))return;this.shadowDoms.add(e),this.bypassOptions.canvasManager.addShadowRoot(e);const n=Xe({...this.bypassOptions,doc:t,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this},e);this.restoreHandlers.push((()=>n.disconnect())),this.restoreHandlers.push(Ke({...this.bypassOptions,scrollCb:this.scrollCb,doc:e,mirror:this.mirror})),Ee((()=>{e.adoptedStyleSheets&&e.adoptedStyleSheets.length>0&&this.bypassOptions.stylesheetManager.adoptStyleSheets(e.adoptedStyleSheets,this.mirror.getId(e.host)),this.restoreHandlers.push(nt({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},e))}),0)}observeAttachShadow(e){e.contentWindow&&e.contentDocument&&this.patchAttachShadow(e.contentWindow.Element,e.contentDocument)}patchAttachShadow(e,t){const n=this;this.restoreHandlers.push(ce(e.prototype,"attachShadow",(function(e){return function(r){const a=e.call(this,r);return this.shadowRoot&&Ce(this)&&n.addShadowRoot(this.shadowRoot,t),a}})))}reset(){this.restoreHandlers.forEach((e=>{try{e()}catch(e){}})),this.restoreHandlers=[],this.shadowDoms=new WeakSet,this.bypassOptions.canvasManager.resetShadowRoots()}}class pt{reset(){}freeze(){}unfreeze(){}lock(){}unlock(){}snapshot(){}addWindow(){}addShadowRoot(){}resetShadowRoots(){}}class ft{constructor(e){this.trackedLinkElements=new WeakSet,this.styleMirror=new _e,this.mutationCb=e.mutationCb,this.adoptedStyleSheetCb=e.adoptedStyleSheetCb}attachLinkElement(e,t){"_cssText"in t.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:t.attributes}]}),this.trackLinkElement(e)}trackLinkElement(e){this.trackedLinkElements.has(e)||(this.trackedLinkElements.add(e),this.trackStylesheetInLinkElement(e))}adoptStyleSheets(e,t){if(0===e.length)return;const n={id:t,styleIds:[]},r=[];for(const t of e){let e;this.styleMirror.has(t)?e=this.styleMirror.getId(t):(e=this.styleMirror.add(t),r.push({styleId:e,rules:Array.from(t.rules||CSSRule,((e,t)=>({rule:x(e),index:t})))})),n.styleIds.push(e)}r.length>0&&(n.styles=r),this.adoptedStyleSheetCb(n)}reset(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet}trackStylesheetInLinkElement(e){}}class ht{constructor(){this.nodeMap=new WeakMap,this.active=!1}inOtherBuffer(e,t){const n=this.nodeMap.get(e);return n&&Array.from(n).some((e=>e!==t))}add(e,t){this.active||(this.active=!0,function(...e){ke("requestAnimationFrame")(...e)}((()=>{this.nodeMap=new WeakMap,this.active=!1}))),this.nodeMap.set(e,(this.nodeMap.get(e)||new Set).add(t))}destroy(){}}let mt,gt;try{if(2!==Array.from([1],(e=>2*e))[0]){const e=document.createElement("iframe");document.body.appendChild(e),Array.from=a([e,"access",e=>e.contentWindow,"optionalAccess",e=>e.Array,"access",e=>e.from])||Array.from,document.body.removeChild(e)}}catch(e){console.debug("Unable to override Array.from",e)}const vt=new S;function yt(e={}){const{emit:t,checkoutEveryNms:n,checkoutEveryNth:r,blockClass:o="rr-block",blockSelector:i=null,unblockSelector:s=null,ignoreClass:l="rr-ignore",ignoreSelector:u=null,maskAllText:c=!1,maskTextClass:d="rr-mask",unmaskTextClass:p=null,maskTextSelector:f=null,unmaskTextSelector:h=null,inlineStylesheet:m=!0,maskAllInputs:g,maskInputOptions:v,slimDOMOptions:y,maskAttributeFn:b,maskInputFn:w,maskTextFn:x,maxCanvasSize:_=null,packFn:A,sampling:C={},dataURLOptions:T={},mousemoveWait:k,recordDOM:E=!0,recordCanvas:M=!1,recordCrossOriginIframes:P=!1,recordAfter:O=("DOMContentLoaded"===e.recordAfter?e.recordAfter:"load"),userTriggeredOnInput:I=!1,collectFonts:D=!1,inlineImages:R=!1,plugins:N,keepIframeSrcFn:L=(()=>!1),ignoreCSSAttributes:$=new Set([]),errorHandler:j,onMutation:F,getCanvasManager:B}=e;Ve(j);const z=!P||window.parent===window;let W=!1;if(!z)try{window.parent.document&&(W=!1)}catch(e){W=!0}if(z&&!t)throw new Error("emit function is required");if(!z&&!W)return()=>{};void 0!==k&&void 0===C.mousemove&&(C.mousemove=k),vt.reset();const V=!0===g?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,radio:!0,checkbox:!0}:void 0!==v?v:{},U=!0===y||"all"===y?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:"all"===y,headMetaDescKeywords:"all"===y}:y||{};let H;!function(e=window){"NodeList"in e&&!e.NodeList.prototype.forEach&&(e.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in e&&!e.DOMTokenList.prototype.forEach&&(e.DOMTokenList.prototype.forEach=Array.prototype.forEach),Node.prototype.contains||(Node.prototype.contains=(...e)=>{let t=e[0];if(!(0 in e))throw new TypeError("1 argument is required");do{if(this===t)return!0}while(t=t&&t.parentNode);return!1})}();let q=0;const G=e=>{for(const t of N||[])t.eventProcessor&&(e=t.eventProcessor(e));return A&&!W&&(e=A(e)),e};mt=(e,o)=>{const i=e;if(i.timestamp=de(),!a([Ge,"access",e=>e[0],"optionalAccess",e=>e.isFrozen,"call",e=>e()])||i.type===Me.FullSnapshot||i.type===Me.IncrementalSnapshot&&i.data.source===Pe.Mutation||Ge.forEach((e=>e.unfreeze())),z)a([t,"optionalCall",e=>e(G(i),o)]);else if(W){const e={type:"rrweb",event:G(i),origin:window.location.origin,isCheckout:o};window.parent.postMessage(e,"*")}if(i.type===Me.FullSnapshot)H=i,q=0;else if(i.type===Me.IncrementalSnapshot){if(i.data.source===Pe.Mutation&&i.data.isAttachIframe)return;q++;const e=r&&q>=r,t=n&&H&&i.timestamp-H.timestamp>n;(e||t)&&ne(!0)}};const Y=e=>{mt({type:Me.IncrementalSnapshot,data:{source:Pe.Mutation,...e}})},X=e=>mt({type:Me.IncrementalSnapshot,data:{source:Pe.Scroll,...e}}),K=e=>mt({type:Me.IncrementalSnapshot,data:{source:Pe.CanvasMutation,...e}}),Q=new ft({mutationCb:Y,adoptedStyleSheetCb:e=>mt({type:Me.IncrementalSnapshot,data:{source:Pe.AdoptedStyleSheet,...e}})}),Z="boolean"==typeof __RRWEB_EXCLUDE_IFRAME__&&__RRWEB_EXCLUDE_IFRAME__?new lt:new ut({mirror:vt,mutationCb:Y,stylesheetManager:Q,recordCrossOriginIframes:P,wrappedEmit:mt});for(const e of N||[])e.getMirror&&e.getMirror({nodeMirror:vt,crossOriginIframeMirror:Z.crossOriginIframeMirror,crossOriginIframeStyleMirror:Z.crossOriginIframeStyleMirror});const J=new ht,ee=function(e,t){try{return e?e(t):new pt}catch(e){return console.warn("Unable to initialize CanvasManager"),new pt}}(B,{mirror:vt,win:window,mutationCb:e=>mt({type:Me.IncrementalSnapshot,data:{source:Pe.CanvasMutation,...e}}),recordCanvas:M,blockClass:o,blockSelector:i,unblockSelector:s,maxCanvasSize:_,sampling:C.canvas,dataURLOptions:T,errorHandler:j}),te="boolean"==typeof __RRWEB_EXCLUDE_SHADOW_DOM__&&__RRWEB_EXCLUDE_SHADOW_DOM__?new ct:new dt({mutationCb:Y,scrollCb:X,bypassOptions:{onMutation:F,blockClass:o,blockSelector:i,unblockSelector:s,maskAllText:c,maskTextClass:d,unmaskTextClass:p,maskTextSelector:f,unmaskTextSelector:h,inlineStylesheet:m,maskInputOptions:V,dataURLOptions:T,maskAttributeFn:b,maskTextFn:x,maskInputFn:w,recordCanvas:M,inlineImages:R,sampling:C,slimDOMOptions:U,iframeManager:Z,stylesheetManager:Q,canvasManager:ee,keepIframeSrcFn:L,processedNodeManager:J},mirror:vt}),ne=(e=!1)=>{if(!E)return;mt({type:Me.Meta,data:{href:window.location.href,width:he(),height:fe()}},e),Q.reset(),te.init(),Ge.forEach((e=>e.lock()));const t=function(e,t){const{mirror:n=new S,blockClass:r="rr-block",blockSelector:a=null,unblockSelector:o=null,maskAllText:i=!1,maskTextClass:s="rr-mask",unmaskTextClass:l=null,maskTextSelector:u=null,unmaskTextSelector:c=null,inlineStylesheet:d=!0,inlineImages:p=!1,recordCanvas:f=!1,maskAllInputs:h=!1,maskAttributeFn:m,maskTextFn:g,maskInputFn:v,slimDOM:y=!1,dataURLOptions:b,preserveWhiteSpace:w,onSerialize:x,onIframeLoad:_,iframeLoadTimeout:A,onStylesheetLoad:C,stylesheetLoadTimeout:T,keepIframeSrcFn:k=(()=>!1)}=t||{};return re(e,{doc:e,mirror:n,blockClass:r,blockSelector:a,unblockSelector:o,maskAllText:i,maskTextClass:s,unmaskTextClass:l,maskTextSelector:u,unmaskTextSelector:c,skipChild:!1,inlineStylesheet:d,maskInputOptions:!0===h?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0}:!1===h?{}:h,maskAttributeFn:m,maskTextFn:g,maskInputFn:v,slimDOMOptions:!0===y||"all"===y?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:"all"===y,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:!1===y?{}:y,dataURLOptions:b,inlineImages:p,recordCanvas:f,preserveWhiteSpace:w,onSerialize:x,onIframeLoad:_,iframeLoadTimeout:A,onStylesheetLoad:C,stylesheetLoadTimeout:T,keepIframeSrcFn:k,newlyAddedElement:!1})}(document,{mirror:vt,blockClass:o,blockSelector:i,unblockSelector:s,maskAllText:c,maskTextClass:d,unmaskTextClass:p,maskTextSelector:f,unmaskTextSelector:h,inlineStylesheet:m,maskAllInputs:V,maskAttributeFn:b,maskInputFn:w,maskTextFn:x,slimDOM:U,dataURLOptions:T,recordCanvas:M,inlineImages:R,onSerialize:e=>{we(e,vt)&&Z.addIframe(e),xe(e,vt)&&Q.trackLinkElement(e),Se(e)&&te.addShadowRoot(e.shadowRoot,document)},onIframeLoad:(e,t)=>{Z.attachIframe(e,t),e.contentWindow&&ee.addWindow(e.contentWindow),te.observeAttachShadow(e)},onStylesheetLoad:(e,t)=>{Q.attachLinkElement(e,t)},keepIframeSrcFn:L});if(!t)return console.warn("Failed to snapshot the document");mt({type:Me.FullSnapshot,data:{node:t,initialOffset:pe(window)}}),Ge.forEach((e=>e.unlock())),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&Q.adoptStyleSheets(document.adoptedStyleSheets,vt.getId(document))};gt=ne;try{const e=[],t=e=>He(rt)({onMutation:F,mutationCb:Y,mousemoveCb:(e,t)=>mt({type:Me.IncrementalSnapshot,data:{source:t,positions:e}}),mouseInteractionCb:e=>mt({type:Me.IncrementalSnapshot,data:{source:Pe.MouseInteraction,...e}}),scrollCb:X,viewportResizeCb:e=>mt({type:Me.IncrementalSnapshot,data:{source:Pe.ViewportResize,...e}}),inputCb:e=>mt({type:Me.IncrementalSnapshot,data:{source:Pe.Input,...e}}),mediaInteractionCb:e=>mt({type:Me.IncrementalSnapshot,data:{source:Pe.MediaInteraction,...e}}),styleSheetRuleCb:e=>mt({type:Me.IncrementalSnapshot,data:{source:Pe.StyleSheetRule,...e}}),styleDeclarationCb:e=>mt({type:Me.IncrementalSnapshot,data:{source:Pe.StyleDeclaration,...e}}),canvasMutationCb:K,fontCb:e=>mt({type:Me.IncrementalSnapshot,data:{source:Pe.Font,...e}}),selectionCb:e=>{mt({type:Me.IncrementalSnapshot,data:{source:Pe.Selection,...e}})},customElementCb:e=>{mt({type:Me.IncrementalSnapshot,data:{source:Pe.CustomElement,...e}})},blockClass:o,ignoreClass:l,ignoreSelector:u,maskAllText:c,maskTextClass:d,unmaskTextClass:p,maskTextSelector:f,unmaskTextSelector:h,maskInputOptions:V,inlineStylesheet:m,sampling:C,recordDOM:E,recordCanvas:M,inlineImages:R,userTriggeredOnInput:I,collectFonts:D,doc:e,maskAttributeFn:b,maskInputFn:w,maskTextFn:x,keepIframeSrcFn:L,blockSelector:i,unblockSelector:s,slimDOMOptions:U,dataURLOptions:T,mirror:vt,iframeManager:Z,stylesheetManager:Q,shadowDomManager:te,processedNodeManager:J,canvasManager:ee,ignoreCSSAttributes:$,plugins:a([N,"optionalAccess",e=>e.filter,"call",e=>e((e=>e.observer)),"optionalAccess",e=>e.map,"call",e=>e((e=>({observer:e.observer,options:e.options,callback:t=>mt({type:Me.Plugin,data:{plugin:e.name,payload:t}})})))])||[]},{});Z.addLoadListener((n=>{try{e.push(t(n.contentDocument))}catch(e){console.warn(e)}}));const n=()=>{ne(),e.push(t(document))};return"interactive"===document.readyState||"complete"===document.readyState?n():(e.push(oe("DOMContentLoaded",(()=>{mt({type:Me.DomContentLoaded,data:{}}),"DOMContentLoaded"===O&&n()}))),e.push(oe("load",(()=>{mt({type:Me.Load,data:{}}),"load"===O&&n()}),window))),()=>{e.forEach((e=>e())),J.destroy(),gt=void 0,Ue()}}catch(e){console.warn(e)}}yt.mirror=vt,yt.takeFullSnapshot=function(e){if(!gt)throw new Error("please take full snapshot after start recording");gt(e)};const bt="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,wt=["info","warn","error","log"],xt="[Replay] ";function St(e,t="info"){o.addBreadcrumb({category:"console",data:{logger:"replay"},level:t,message:`${xt}${e}`},{level:t})}const _t=function(){let e=!1,t=!1;const n={exception:()=>{},infoTick:()=>{},setConfig:n=>{e=n.captureExceptions,t=n.traceInternals}};return bt?(wt.forEach((e=>{n[e]=(...n)=>{i.logger[e](xt,...n),t&&St(n.join(""),i.severityLevelFromString(e))}})),n.exception=(r,...a)=>{a.length&&n.error&&n.error(...a),i.logger.error(xt,r),e?o.captureException(r):t&&St(r,"error")},n.infoTick=(...e)=>{i.logger.info(xt,...e),t&&setTimeout((()=>St(e[0])),0)}):wt.forEach((e=>{n[e]=()=>{}})),n}(),At=3;function Ct(e){return e>9999999999?e:1e3*e}function Tt(e){return e>9999999999?e/1e3:e}function kt(e,t){"sentry.transaction"!==t.category&&(["ui.click","ui.input"].includes(t.category)?e.triggerUserActivity():e.checkAndHandleExpiredSession(),e.addUpdate((()=>(e.throttledAddEvent({type:Me.Custom,timestamp:1e3*(t.timestamp||0),data:{tag:"breadcrumb",payload:i.normalize(t,10,1e3)}}),"console"===t.category))))}const Et="button,a";function Mt(e){return e.closest(Et)||e}function Pt(e){const t=Ot(e);return t&&t instanceof Element?Mt(t):t}function Ot(e){return function(e){return"object"==typeof e&&!!e&&"target"in e}(e)?e.target:e}let It;const Dt=new Set([Pe.Mutation,Pe.StyleSheetRule,Pe.StyleDeclaration,Pe.AdoptedStyleSheet,Pe.CanvasMutation,Pe.Selection,Pe.MediaInteraction]);class Rt{constructor(e,t,n=kt){this._lastMutation=0,this._lastScroll=0,this._clicks=[],this._timeout=t.timeout/1e3,this._threshold=t.threshold/1e3,this._scollTimeout=t.scrollTimeout/1e3,this._replay=e,this._ignoreSelector=t.ignoreSelector,this._addBreadcrumbEvent=n}addListeners(){const e=(t=()=>{this._lastMutation=Lt()},It||(It=[],i.fill(l,"open",(function(e){return function(...t){if(It)try{It.forEach((e=>e()))}catch(e){}return e.apply(l,t)}}))),It.push(t),()=>{const e=It?It.indexOf(t):-1;e>-1&&It.splice(e,1)});var t;this._teardown=()=>{e(),this._clicks=[],this._lastMutation=0,this._lastScroll=0}}removeListeners(){this._teardown&&this._teardown(),this._checkClickTimeout&&clearTimeout(this._checkClickTimeout)}handleClick(e,t){if(function(e,t){return!Nt.includes(e.tagName)||("INPUT"===e.tagName&&!["submit","button"].includes(e.getAttribute("type")||"")||(!("A"!==e.tagName||!(e.hasAttribute("download")||e.hasAttribute("target")&&"_self"!==e.getAttribute("target")))||!(!t||!e.matches(t))))}(t,this._ignoreSelector)||!function(e){return!(!e.data||"number"!=typeof e.data.nodeId||!e.timestamp)}(e))return;const n={timestamp:Tt(e.timestamp),clickBreadcrumb:e,clickCount:0,node:t};this._clicks.some((e=>e.node===n.node&&Math.abs(e.timestamp-n.timestamp)<1))||(this._clicks.push(n),1===this._clicks.length&&this._scheduleCheckClicks())}registerMutation(e=Date.now()){this._lastMutation=Tt(e)}registerScroll(e=Date.now()){this._lastScroll=Tt(e)}registerClick(e){const t=Mt(e);this._handleMultiClick(t)}_handleMultiClick(e){this._getClicks(e).forEach((e=>{e.clickCount++}))}_getClicks(e){return this._clicks.filter((t=>t.node===e))}_checkClicks(){const e=[],t=Lt();this._clicks.forEach((n=>{!n.mutationAfter&&this._lastMutation&&(n.mutationAfter=n.timestamp<=this._lastMutation?this._lastMutation-n.timestamp:void 0),!n.scrollAfter&&this._lastScroll&&(n.scrollAfter=n.timestamp<=this._lastScroll?this._lastScroll-n.timestamp:void 0),n.timestamp+this._timeout<=t&&e.push(n)}));for(const t of e){const e=this._clicks.indexOf(t);e>-1&&(this._generateBreadcrumbs(t),this._clicks.splice(e,1))}this._clicks.length&&this._scheduleCheckClicks()}_generateBreadcrumbs(e){const t=this._replay,n=e.scrollAfter&&e.scrollAfter<=this._scollTimeout,r=e.mutationAfter&&e.mutationAfter<=this._threshold,a=!n&&!r,{clickCount:o,clickBreadcrumb:i}=e;if(a){const n=1e3*Math.min(e.mutationAfter||this._timeout,this._timeout),r=n<1e3*this._timeout?"mutation":"timeout",a={type:"default",message:i.message,timestamp:i.timestamp,category:"ui.slowClickDetected",data:{...i.data,url:l.location.href,route:t.getCurrentRoute(),timeAfterClickMs:n,endReason:r,clickCount:o||1}};this._addBreadcrumbEvent(t,a)}else if(o>1){const e={type:"default",message:i.message,timestamp:i.timestamp,category:"ui.multiClick",data:{...i.data,url:l.location.href,route:t.getCurrentRoute(),clickCount:o,metric:!0}};this._addBreadcrumbEvent(t,e)}}_scheduleCheckClicks(){this._checkClickTimeout&&clearTimeout(this._checkClickTimeout),this._checkClickTimeout=s.setTimeout((()=>this._checkClicks()),1e3)}}const Nt=["A","BUTTON","INPUT"];function Lt(){return Date.now()/1e3}function $t(e){return{timestamp:Date.now()/1e3,type:"default",...e}}var jt;!function(e){e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment"}(jt||(jt={}));const Ft=new Set(["id","class","aria-label","role","name","alt","title","data-test-id","data-testid","disabled","aria-disabled","data-sentry-component"]);function Bt(e){const t={};!e["data-sentry-component"]&&e["data-sentry-element"]&&(e["data-sentry-component"]=e["data-sentry-element"]);for(const n in e)if(Ft.has(n)){let r=n;"data-testid"!==n&&"data-test-id"!==n||(r="testId"),t[r]=e[n]}return t}function zt(e,t){const n=yt.mirror.getId(e),r=n&&yt.mirror.getNode(n),a=r&&yt.mirror.getMeta(r),o=a&&function(e){return e.type===jt.Element}(a)?a:null;return{message:t,data:o?{nodeId:n,node:{id:n,tagName:o.tagName,textContent:Array.from(o.childNodes).map((e=>e.type===jt.Text&&e.textContent)).filter(Boolean).map((e=>e.trim())).join(""),attributes:Bt(o.attributes)}}:{}}}const Wt={resource:function(e){const{entryType:t,initiatorType:n,name:r,responseEnd:a,startTime:o,decodedBodySize:i,encodedBodySize:s,responseStatus:l,transferSize:u}=e;return["fetch","xmlhttprequest"].includes(n)?null:{type:`${t}.${n}`,start:Ht(o),end:Ht(a),name:r,data:{size:u,statusCode:l,decodedBodySize:i,encodedBodySize:s}}},paint:function(e){const{duration:t,entryType:n,name:r,startTime:a}=e,o=Ht(a);return{type:n,name:r,start:o,end:o+t,data:void 0}},navigation:function(e){const{entryType:t,name:n,decodedBodySize:r,duration:a,domComplete:o,encodedBodySize:i,domContentLoadedEventStart:s,domContentLoadedEventEnd:l,domInteractive:u,loadEventStart:c,loadEventEnd:d,redirectCount:p,startTime:f,transferSize:h,type:m}=e;return 0===a?null:{type:`${t}.${m}`,start:Ht(f),end:Ht(o),name:n,data:{size:h,decodedBodySize:r,encodedBodySize:i,duration:a,domInteractive:u,domContentLoadedEventStart:s,domContentLoadedEventEnd:l,loadEventStart:c,loadEventEnd:d,domComplete:o,redirectCount:p}}}};function Vt(e,t){return({metric:n})=>{t.replayPerformanceEntries.push(e(n))}}function Ut(e){const t=Wt[e.entryType];return t?t(e):null}function Ht(e){return((i.browserPerformanceTimeOrigin||l.performance.timeOrigin)+e)/1e3}function qt(e){const t=e.entries[e.entries.length-1];return Qt(e,"largest-contentful-paint",t&&t.element?[t.element]:void 0)}function Gt(e){return void 0!==e.sources}function Yt(e){const t=[],n=[];for(const r of e.entries)if(Gt(r)){const e=[];for(const t of r.sources)if(t.node){n.push(t.node);const r=yt.mirror.getId(t.node);r&&e.push(r)}t.push({value:r.value,nodeIds:e.length?e:void 0})}return Qt(e,"cumulative-layout-shift",n,t)}function Xt(e){const t=e.entries[e.entries.length-1];return Qt(e,"first-input-delay",t&&t.target?[t.target]:void 0)}function Kt(e){const t=e.entries[e.entries.length-1];return Qt(e,"interaction-to-next-paint",t&&t.target?[t.target]:void 0)}function Qt(e,t,n,r){const a=e.value,o=e.rating,i=Ht(a);return{type:"web-vital",name:t,start:i,end:i,data:{value:a,size:a,rating:o,nodeIds:n?n.map((e=>yt.mirror.getId(e))):void 0,attributions:r}}}class Zt extends Error{constructor(){super("Event buffer exceeded maximum size of 20000000.")}}class Jt{constructor(){this.events=[],this._totalSize=0,this.hasCheckout=!1}get hasEvents(){return this.events.length>0}get type(){return"sync"}destroy(){this.events=[]}async addEvent(e){const t=JSON.stringify(e).length;if(this._totalSize+=t,this._totalSize>h)throw new Zt;this.events.push(e)}finish(){return new Promise((e=>{const t=this.events;this.clear(),e(JSON.stringify(t))}))}clear(){this.events=[],this._totalSize=0,this.hasCheckout=!1}getEarliestTimestamp(){const e=this.events.map((e=>e.timestamp)).sort()[0];return e?Ct(e):null}}class en{constructor(e){this._worker=e,this._id=0}ensureReady(){return this._ensureReadyPromise||(this._ensureReadyPromise=new Promise(((e,t)=>{this._worker.addEventListener("message",(({data:n})=>{n.success?e():t()}),{once:!0}),this._worker.addEventListener("error",(e=>{t(e)}),{once:!0})}))),this._ensureReadyPromise}destroy(){bt&&_t.info("Destroying compression worker"),this._worker.terminate()}postMessage(e,t){const n=this._getAndIncrementId();return new Promise(((r,a)=>{const o=({data:t})=>{const i=t;if(i.method===e&&i.id===n){if(this._worker.removeEventListener("message",o),!i.success)return bt&&_t.error("Error in compression worker: ",i.response),void a(new Error("Error in compression worker"));r(i.response)}};this._worker.addEventListener("message",o),this._worker.postMessage({id:n,method:e,arg:t})}))}_getAndIncrementId(){return this._id++}}class tn{constructor(e){this._worker=new en(e),this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1}get hasEvents(){return!!this._earliestTimestamp}get type(){return"worker"}ensureReady(){return this._worker.ensureReady()}destroy(){this._worker.destroy()}addEvent(e){const t=Ct(e.timestamp);(!this._earliestTimestamp||th?Promise.reject(new Zt):this._sendEventToWorker(n)}finish(){return this._finishRequest()}clear(){this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this._worker.postMessage("clear").then(null,(e=>{bt&&_t.exception(e,'Sending "clear" message to worker failed',e)}))}getEarliestTimestamp(){return this._earliestTimestamp}_sendEventToWorker(e){return this._worker.postMessage("addEvent",e)}async _finishRequest(){const e=await this._worker.postMessage("finish");return this._earliestTimestamp=null,this._totalSize=0,e}}class nn{constructor(e){this._fallback=new Jt,this._compression=new tn(e),this._used=this._fallback,this._ensureWorkerIsLoadedPromise=this._ensureWorkerIsLoaded()}get type(){return this._used.type}get hasEvents(){return this._used.hasEvents}get hasCheckout(){return this._used.hasCheckout}set hasCheckout(e){this._used.hasCheckout=e}destroy(){this._fallback.destroy(),this._compression.destroy()}clear(){return this._used.clear()}getEarliestTimestamp(){return this._used.getEarliestTimestamp()}addEvent(e){return this._used.addEvent(e)}async finish(){return await this.ensureWorkerIsLoaded(),this._used.finish()}ensureWorkerIsLoaded(){return this._ensureWorkerIsLoadedPromise}async _ensureWorkerIsLoaded(){try{await this._compression.ensureReady()}catch(e){return void(bt&&_t.exception(e,"Failed to load the compression worker, falling back to simple buffer"))}await this._switchToCompressionWorker()}async _switchToCompressionWorker(){const{events:e,hasCheckout:t}=this._fallback,n=[];for(const t of e)n.push(this._compression.addEvent(t));this._compression.hasCheckout=t,this._used=this._compression;try{await Promise.all(n),this._fallback.clear()}catch(e){bt&&_t.exception(e,"Failed to add events when switching buffers.")}}}function rn(){try{return"sessionStorage"in l&&!!l.sessionStorage}catch(e){return!1}}function an(e){return void 0!==e&&Math.random()e.getContext().initialTimestamp+e.getOptions().maxReplayDuration&&(bt&&_t.infoTick(`Skipping event with timestamp ${n} because it is after maxReplayDuration`),1))}function gn(e){return!e.type}function vn(e){return"transaction"===e.type}function yn(e){return"feedback"===e.type}function bn(e){return!!e.category}function wn(e,t){return t.map((({type:t,start:n,end:r,name:a,data:o})=>{const i=e.throttledAddEvent({type:Me.Custom,timestamp:n,data:{tag:"performanceSpan",payload:{op:t,description:a,startTimestamp:n,endTimestamp:r,data:o}}});return"string"==typeof i?Promise.resolve(null):i}))}function xn(e,t){e.isEnabled()&&null!==t&&(function(e,t){return(!bt||!e.getOptions()._experiments.traceInternals)&&o.isSentryRequestUrl(t,o.getClient())}(e,t.name)||e.addUpdate((()=>(wn(e,[t]),!0))))}function Sn(e){if(!e)return;const t=new TextEncoder;try{if("string"==typeof e)return t.encode(e).length;if(e instanceof URLSearchParams)return t.encode(e.toString()).length;if(e instanceof FormData){const n=Pn(e);return t.encode(n).length}if(e instanceof Blob)return e.size;if(e instanceof ArrayBuffer)return e.byteLength}catch(e){}}function _n(e){if(!e)return;const t=parseInt(e,10);return isNaN(t)?void 0:t}function An(e){try{if("string"==typeof e)return[e];if(e instanceof URLSearchParams)return[e.toString()];if(e instanceof FormData)return[Pn(e)];if(!e)return[void 0]}catch(t){return bt&&_t.exception(t,"Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return bt&&_t.info("Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}function Cn(e,t){if(!e)return{headers:{},size:void 0,_meta:{warnings:[t]}};const n={...e._meta},r=n.warnings||[];return n.warnings=[...r,t],e._meta=n,e}function Tn(e,t){if(!t)return null;const{startTimestamp:n,endTimestamp:r,url:a,method:o,statusCode:s,request:l,response:u}=t;return{type:e,start:n/1e3,end:r/1e3,name:a,data:i.dropUndefinedKeys({method:o,statusCode:s,request:l,response:u})}}function kn(e){return{headers:{},size:e,_meta:{warnings:["URL_SKIPPED"]}}}function En(e,t,n){if(!t&&0===Object.keys(e).length)return;if(!t)return{headers:e};if(!n)return{headers:e,size:t};const r={headers:e,size:t},{body:a,warnings:o}=function(e){if(!e||"string"!=typeof e)return{body:e};const t=e.length>p,n=function(e){const t=e[0],n=e[e.length-1];return"["===t&&"]"===n||"{"===t&&"}"===n}(e);if(t){const t=e.slice(0,p);return n?{body:t,warnings:["MAYBE_JSON_TRUNCATED"]}:{body:`${t}…`,warnings:["TEXT_TRUNCATED"]}}if(n)try{return{body:JSON.parse(e)}}catch(e){}return{body:e}}(n);return r.body=a,o&&o.length>0&&(r._meta={warnings:o}),r}function Mn(e,t){return Object.entries(e).reduce(((n,[r,a])=>{const o=r.toLowerCase();return t.includes(o)&&e[r]&&(n[o]=a),n}),{})}function Pn(e){return new URLSearchParams(e).toString()}function On(e,t){const n=function(e,t=l.document.baseURI){if(e.startsWith("http://")||e.startsWith("https://")||e.startsWith(l.location.origin))return e;const n=new URL(e,t);if(n.origin!==new URL(t).origin)return e;const r=n.href;return!e.endsWith("/")&&r.endsWith("/")?r.slice(0,-1):r}(e);return i.stringMatchesSomePattern(n,t)}function In(e=[]){if(2===e.length&&"object"==typeof e[1])return e[1].body}function Dn(e,t){const n={};return t.forEach((t=>{e.get(t)&&(n[t]=e.get(t))})),n}function Rn(e,t){if(!e)return{};const n=e.headers;return n?n instanceof Headers?Dn(n,t):Array.isArray(n)?{}:Mn(n,t):{}}function Nn(e){const t=o.getClient();try{const{networkDetailAllowUrls:n,networkDetailDenyUrls:r,networkCaptureBodies:a,networkRequestHeaders:o,networkResponseHeaders:i}=e.getOptions(),l={replay:e,networkDetailAllowUrls:n,networkDetailDenyUrls:r,networkCaptureBodies:a,networkRequestHeaders:o,networkResponseHeaders:i};t&&t.on("beforeAddBreadcrumb",((e,t)=>function(e,t,n){if(t.data)try{(function(e){return"xhr"===e.category})(t)&&function(e){return e&&e.xhr}(n)&&(function(e,t){const{xhr:n,input:r}=t;if(!n)return;const a=Sn(r),o=n.getResponseHeader("content-length")?_n(n.getResponseHeader("content-length")):function(e,t){try{return Sn("json"===t&&e&&"object"==typeof e?JSON.stringify(e):e)}catch(e){return}}(n.response,n.responseType);void 0!==a&&(e.data.request_body_size=a),void 0!==o&&(e.data.response_body_size=o)}(t,n),async function(e,t,n){try{const r=function(e,t,n){const r=Date.now(),{startTimestamp:a=r,endTimestamp:o=r,input:i,xhr:l}=t,{url:u,method:c,status_code:d=0,request_body_size:p,response_body_size:f}=e.data;if(!u)return null;if(!l||!On(u,n.networkDetailAllowUrls)||On(u,n.networkDetailDenyUrls))return{startTimestamp:a,endTimestamp:o,url:u,method:c,statusCode:d,request:kn(p),response:kn(f)};const h=l[s.SENTRY_XHR_DATA_KEY],m=h?Mn(h.request_headers,n.networkRequestHeaders):{},g=Mn(function(e){const t=e.getAllResponseHeaders();return t?t.split("\r\n").reduce(((e,t)=>{const[n,r]=t.split(": ");return r&&(e[n.toLowerCase()]=r),e}),{}):{}}(l),n.networkResponseHeaders),[v,y]=n.networkCaptureBodies?An(i):[void 0],[b,w]=n.networkCaptureBodies?function(e){const t=[];try{return[e.responseText]}catch(e){t.push(e)}try{return function(e,t){try{if("string"==typeof e)return[e];if(e instanceof Document)return[e.body.outerHTML];if("json"===t&&e&&"object"==typeof e)return[JSON.stringify(e)];if(!e)return[void 0]}catch(t){return bt&&_t.exception(t,"Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return bt&&_t.info("Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}(e.response,e.responseType)}catch(e){t.push(e)}return bt&&_t.warn("Failed to get xhr response body",...t),[void 0]}(l):[void 0],x=En(m,p,v),S=En(g,f,b);return{startTimestamp:a,endTimestamp:o,url:u,method:c,statusCode:d,request:y?Cn(x,y):x,response:w?Cn(S,w):S}}(e,t,n),a=Tn("resource.xhr",r);xn(n.replay,a)}catch(e){bt&&_t.exception(e,"Failed to capture xhr breadcrumb")}}(t,n,e)),function(e){return"fetch"===e.category}(t)&&function(e){return e&&e.response}(n)&&(function(e,t){const{input:n,response:r}=t,a=Sn(n?In(n):void 0),o=r?_n(r.headers.get("content-length")):void 0;void 0!==a&&(e.data.request_body_size=a),void 0!==o&&(e.data.response_body_size=o)}(t,n),async function(e,t,n){try{const r=await async function(e,t,n){const r=Date.now(),{startTimestamp:a=r,endTimestamp:o=r}=t,{url:i,method:l,status_code:u=0,request_body_size:c,response_body_size:d}=e.data,p=On(i,n.networkDetailAllowUrls)&&!On(i,n.networkDetailDenyUrls),f=p?function({networkCaptureBodies:e,networkRequestHeaders:t},n,r){const a=n?(i=t,1===(o=n).length&&"string"!=typeof o[0]?Rn(o[0],i):2===o.length?Rn(o[1],i):{}):{};var o,i;if(!e)return En(a,r,void 0);const s=In(n),[l,u]=An(s),c=En(a,r,l);return u?Cn(c,u):c}(n,t.input,c):kn(c),h=await async function(e,{networkCaptureBodies:t,networkResponseHeaders:n},r,a){if(!e&&void 0!==a)return kn(a);const o=r?Dn(r.headers,n):{};if(!r||!t&&void 0!==a)return En(o,a,void 0);const[i,l]=await async function(e){const t=function(e){try{return e.clone()}catch(e){bt&&_t.exception(e,"Failed to clone response body")}}(e);if(!t)return[void 0,"BODY_PARSE_ERROR"];try{const e=await function(e){return new Promise(((t,n)=>{const r=s.setTimeout((()=>n(new Error("Timeout while trying to read response body"))),500);(async function(e){return await e.text()})(e).then((e=>t(e)),(e=>n(e))).finally((()=>clearTimeout(r)))}))}(t);return[e]}catch(e){return bt&&_t.exception(e,"Failed to get text body from response"),[void 0,"BODY_PARSE_ERROR"]}}(r),u=function(e,{networkCaptureBodies:t,responseBodySize:n,captureDetails:r,headers:a}){try{const o=e&&e.length&&void 0===n?Sn(e):n;return r?En(a,o,t?e:void 0):kn(o)}catch(e){return bt&&_t.exception(e,"Failed to serialize response body"),En(a,n,void 0)}}(i,{networkCaptureBodies:t,responseBodySize:a,captureDetails:e,headers:o});return l?Cn(u,l):u}(p,n,t.response,d);return{startTimestamp:a,endTimestamp:o,url:i,method:l,statusCode:u,request:f,response:h}}(e,t,n),a=Tn("resource.fetch",r);xn(n.replay,a)}catch(e){bt&&_t.exception(e,"Failed to capture fetch breadcrumb")}}(t,n,e))}catch(e){bt&&_t.exception(e,"Error when enriching network breadcrumb")}}(l,e,t)))}catch(e){}}function Ln(e){const{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}=e,a=Date.now()/1e3;return{type:"memory",name:"memory",start:a,end:a,data:{memory:{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}}}}function $n(e){let t=!1;return(n,r)=>{if(!e.checkAndHandleExpiredSession())return void(bt&&_t.warn("Received replay event after session expired."));const a=r||!t;t=!0,e.clickDetector&&function(e,t){try{if(!function(e){return e.type===At}(t))return;const{source:n}=t.data;if(Dt.has(n)&&e.registerMutation(t.timestamp),n===Pe.Scroll&&e.registerScroll(t.timestamp),function(e){return e.data.source===Pe.MouseInteraction}(t)){const{type:n,id:r}=t.data,a=yt.mirror.getNode(r);a instanceof HTMLElement&&n===Oe.Click&&e.registerClick(a)}}catch(e){}}(e.clickDetector,n),e.addUpdate((()=>{if("buffer"===e.recordingMode&&a&&e.setInitialState(),!fn(e,n,a))return!0;if(!a)return!1;const t=e.session;if(function(e,t){t&&e.session&&0===e.session.segmentId&&fn(e,function(e){const t=e.getOptions();return{type:Me.Custom,timestamp:Date.now(),data:{tag:"options",payload:{shouldRecordCanvas:e.isRecordingCanvas(),sessionSampleRate:t.sessionSampleRate,errorSampleRate:t.errorSampleRate,useCompressionOption:t.useCompression,blockAllMedia:t.blockAllMedia,maskAllText:t.maskAllText,maskAllInputs:t.maskAllInputs,useCompression:!!e.eventBuffer&&"worker"===e.eventBuffer.type,networkDetailHasUrls:t.networkDetailAllowUrls.length>0,networkCaptureBodies:t.networkCaptureBodies,networkRequestHasHeaders:t.networkRequestHeaders.length>0,networkResponseHasHeaders:t.networkResponseHeaders.length>0}}}}(e),!1)}(e,a),t&&t.previousSessionId)return!0;if("buffer"===e.recordingMode&&t&&e.eventBuffer){const n=e.eventBuffer.getEarliestTimestamp();n&&(bt&&_t.info(`Updating session start time to earliest event in buffer to ${new Date(n)}`),t.started=n,e.getOptions().stickySession&&sn(t))}return"session"===e.recordingMode&&e.flush(),!0}))}}class jn extends Error{constructor(e){super(`Transport returned status code ${e}`)}}class Fn extends Error{constructor(e){super("Rate limit hit"),this.rateLimits=e}}async function Bn(e,t={count:0,interval:5e3}){const{recordingData:n,onError:r}=e;if(n.length)try{return await async function({recordingData:e,replayId:t,segmentId:n,eventContext:r,timestamp:a,session:s}){const l=function({recordingData:e,headers:t}){let n;const r=`${JSON.stringify(t)}\n`;if("string"==typeof e)n=`${r}${e}`;else{const t=(new TextEncoder).encode(r);n=new Uint8Array(t.length+e.length),n.set(t),n.set(e,t.length)}return n}({recordingData:e,headers:{segment_id:n}}),{urls:u,errorIds:p,traceIds:f,initialTimestamp:h}=r,m=o.getClient(),g=o.getCurrentScope(),v=m&&m.getTransport(),y=m&&m.getDsn();if(!(m&&v&&y&&s.sampled))return i.resolvedSyncPromise({});const b={type:c,replay_start_timestamp:h/1e3,timestamp:a/1e3,error_ids:p,trace_ids:f,urls:u,replay_id:t,segment_id:n,replay_type:s.sampled},w=await async function({client:e,scope:t,replayId:n,event:r}){const a={event_id:n,integrations:"object"!=typeof e._integrations||null===e._integrations||Array.isArray(e._integrations)?void 0:Object.keys(e._integrations)};e.emit("preprocessEvent",r,a);const i=await o.prepareEvent(e.getOptions(),r,a,t,e,o.getIsolationScope());if(!i)return null;i.platform=i.platform||"javascript";const s=e.getSdkMetadata(),{name:l,version:u}=s&&s.sdk||{};return i.sdk={...i.sdk,name:l||"sentry.javascript.unknown",version:u||"0.0.0"},i}({scope:g,client:m,replayId:t,event:b});if(!w)return m.recordDroppedEvent("event_processor","replay",b),bt&&_t.info("An event processor returned `null`, will not send event."),i.resolvedSyncPromise({});delete w.sdkProcessingMetadata;const x=function(e,t,n,r){return i.createEnvelope(i.createEventEnvelopeHeaders(e,i.getSdkMetadataForEnvelopeHeader(e),r,n),[[{type:"replay_event"},e],[{type:"replay_recording",length:"string"==typeof t?(new TextEncoder).encode(t).length:t.length},t]])}(w,l,y,m.getOptions().tunnel);let S;try{S=await v.send(x)}catch(e){const t=new Error(d);try{t.cause=e}catch(e){}throw t}if("number"==typeof S.statusCode&&(S.statusCode<200||S.statusCode>=300))throw new jn(S.statusCode);const _=i.updateRateLimits({},S);if(i.isRateLimited(_,"replay"))throw new Fn(_);return S}(e),!0}catch(n){if(n instanceof jn||n instanceof Fn)throw n;if(o.setContext("Replays",{_retryCount:t.count}),r&&r(n),t.count>=3){const e=new Error(`${d} - max retries exceeded`);try{e.cause=n}catch(e){}throw e}return t.interval*=++t.count,new Promise(((n,r)=>{s.setTimeout((async()=>{try{await Bn(e,t),n(!0)}catch(e){r(e)}}),t.interval)}))}}const zn="__THROTTLED";class Wn{constructor({options:e,recordingOptions:t}){Wn.prototype.__init.call(this),Wn.prototype.__init2.call(this),Wn.prototype.__init3.call(this),Wn.prototype.__init4.call(this),Wn.prototype.__init5.call(this),Wn.prototype.__init6.call(this),this.eventBuffer=null,this.performanceEntries=[],this.replayPerformanceEntries=[],this.recordingMode="session",this.timeouts={sessionIdlePause:3e5,sessionIdleExpire:9e5},this._lastActivity=Date.now(),this._isEnabled=!1,this._isPaused=!1,this._requiresManualStart=!1,this._hasInitializedCoreListeners=!1,this._context={errorIds:new Set,traceIds:new Set,urls:[],initialTimestamp:Date.now(),initialUrl:""},this._recordingOptions=t,this._options=e,this._debouncedFlush=function(e,t,n){let r,a,o;const i=n&&n.maxWait?Math.max(n.maxWait,t):0;function l(){return u(),r=e(),r}function u(){void 0!==a&&clearTimeout(a),void 0!==o&&clearTimeout(o),a=o=void 0}function c(){return a&&clearTimeout(a),a=s.setTimeout(l,t),i&&void 0===o&&(o=s.setTimeout(l,i)),r}return c.cancel=u,c.flush=function(){return void 0!==a||void 0!==o?l():r},c}((()=>this._flush()),this._options.flushMinDelay,{maxWait:this._options.flushMaxDelay}),this._throttledAddEvent=function(e,t,n){const r=new Map;let a=!1;return(...o)=>{const i=Math.floor(Date.now()/1e3);if((e=>{const t=e-n;r.forEach(((e,n)=>{ne+t),0)>=t){const e=a;return a=!0,e?"__SKIPPED":zn}a=!1;const s=r.get(i)||0;return r.set(i,s+1),e(...o)}}(((e,t)=>function(e,t,n){return mn(e,t)?hn(e,t,n):Promise.resolve(null)}(this,e,t)),300,5);const{slowClickTimeout:n,slowClickIgnoreSelectors:r}=this.getOptions(),a=n?{threshold:Math.min(3e3,n),timeout:n,scrollTimeout:300,ignoreSelector:r?r.join(","):""}:void 0;if(a&&(this.clickDetector=new Rt(this,a)),bt){const t=e._experiments;_t.setConfig({captureExceptions:!!t.captureExceptions,traceInternals:!!t.traceInternals})}}getContext(){return this._context}isEnabled(){return this._isEnabled}isPaused(){return this._isPaused}isRecordingCanvas(){return Boolean(this._canvas)}getOptions(){return this._options}handleException(e){bt&&_t.exception(e),this._options.onError&&this._options.onError(e)}initializeSampling(e){const{errorSampleRate:t,sessionSampleRate:n}=this._options,r=t<=0&&n<=0;this._requiresManualStart=r,r||(this._initializeSessionForSampling(e),this.session?!1!==this.session.sampled&&(this.recordingMode="buffer"===this.session.sampled&&0===this.session.segmentId?"buffer":"session",bt&&_t.infoTick(`Starting replay in ${this.recordingMode} mode`),this._initializeRecording()):bt&&_t.exception(new Error("Unable to initialize and create session")))}start(){if(this._isEnabled&&"session"===this.recordingMode)return void(bt&&_t.info("Recording is already in progress"));if(this._isEnabled&&"buffer"===this.recordingMode)return void(bt&&_t.info("Buffering is in progress, call `flush()` to save the replay"));bt&&_t.infoTick("Starting replay in session mode"),this._updateUserActivity();const e=pn({maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire},{stickySession:this._options.stickySession,sessionSampleRate:1,allowBuffering:!1});this.session=e,this._initializeRecording()}startBuffering(){if(this._isEnabled)return void(bt&&_t.info("Buffering is in progress, call `flush()` to save the replay"));bt&&_t.infoTick("Starting replay in buffer mode");const e=pn({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration},{stickySession:this._options.stickySession,sessionSampleRate:0,allowBuffering:!0});this.session=e,this.recordingMode="buffer",this._initializeRecording()}startRecording(){try{const e=this._canvas;this._stopRecording=yt({...this._recordingOptions,..."buffer"===this.recordingMode?{checkoutEveryNms:6e4}:this._options._experiments.continuousCheckout&&{checkoutEveryNms:Math.max(36e4,this._options._experiments.continuousCheckout)},emit:$n(this),onMutation:this._onMutationHandler,...e?{recordCanvas:e.recordCanvas,getCanvasManager:e.getCanvasManager,sampling:e.sampling,dataURLOptions:e.dataURLOptions}:{}})}catch(e){this.handleException(e)}}stopRecording(){try{return this._stopRecording&&(this._stopRecording(),this._stopRecording=void 0),!0}catch(e){return this.handleException(e),!1}}async stop({forceFlush:e=!1,reason:t}={}){if(this._isEnabled){this._isEnabled=!1;try{bt&&_t.info("Stopping Replay"+(t?` triggered by ${t}`:"")),function(){const e=o.getCurrentScope().getPropagationContext().dsc;e&&delete e.replay_id;const t=o.getActiveSpan();t&&delete o.getDynamicSamplingContextFromSpan(t).replay_id}(),this._removeListeners(),this.stopRecording(),this._debouncedFlush.cancel(),e&&await this._flush({force:!0}),this.eventBuffer&&this.eventBuffer.destroy(),this.eventBuffer=null,n=this,function(){if(rn())try{l.sessionStorage.removeItem(u)}catch(e){}}(),n.session=void 0}catch(e){this.handleException(e)}}var n}pause(){this._isPaused||(this._isPaused=!0,this.stopRecording(),bt&&_t.info("Pausing replay"))}resume(){this._isPaused&&this._checkSession()&&(this._isPaused=!1,this.startRecording(),bt&&_t.info("Resuming replay"))}async sendBufferedReplayOrFlush({continueRecording:e=!0}={}){if("session"===this.recordingMode)return this.flushImmediate();const t=Date.now();bt&&_t.info("Converting buffer to session"),await this.flushImmediate();const n=this.stopRecording();e&&n&&"session"!==this.recordingMode&&(this.recordingMode="session",this.session&&(this._updateUserActivity(t),this._updateSessionActivity(t),this._maybeSaveSession()),this.startRecording())}addUpdate(e){const t=e();"buffer"!==this.recordingMode&&!0!==t&&this._debouncedFlush()}triggerUserActivity(){if(this._updateUserActivity(),this._stopRecording)this.checkAndHandleExpiredSession(),this._updateSessionActivity();else{if(!this._checkSession())return;this.resume()}}updateUserActivity(){this._updateUserActivity(),this._updateSessionActivity()}conditionalFlush(){return"buffer"===this.recordingMode?Promise.resolve():this.flushImmediate()}flush(){return this._debouncedFlush()}flushImmediate(){return this._debouncedFlush(),this._debouncedFlush.flush()}cancelFlush(){this._debouncedFlush.cancel()}getSessionId(){return this.session&&this.session.id}checkAndHandleExpiredSession(){if(!(this._lastActivity&&un(this._lastActivity,this.timeouts.sessionIdlePause)&&this.session&&"session"===this.session.sampled))return!!this._checkSession();this.pause()}setInitialState(){const e=`${l.location.pathname}${l.location.hash}${l.location.search}`,t=`${l.location.origin}${e}`;this.performanceEntries=[],this.replayPerformanceEntries=[],this._clearContext(),this._context.initialUrl=t,this._context.initialTimestamp=Date.now(),this._context.urls.push(t)}throttledAddEvent(e,t){const n=this._throttledAddEvent(e,t);if(n===zn){const e=$t({category:"replay.throttled"});this.addUpdate((()=>!fn(this,{type:5,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e,metric:!0}})))}return n}getCurrentRoute(){const e=this.lastActiveSpan||o.getActiveSpan(),t=e&&o.getRootSpan(e),n=(t&&o.spanToJSON(t).data||{})[o.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE];if(t&&n&&["route","custom"].includes(n))return o.spanToJSON(t).description}_initializeRecording(){this.setInitialState(),this._updateSessionActivity(),this.eventBuffer=function({useCompression:e,workerUrl:t}){if(e&&window.Worker){const e=function(e){try{const t=e||("undefined"!=typeof __SENTRY_EXCLUDE_REPLAY_WORKER__&&__SENTRY_EXCLUDE_REPLAY_WORKER__?"":function(){const e=new Blob(['var t=Uint8Array,n=Uint16Array,r=Int32Array,e=new t([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),i=new t([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),a=new t([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),s=function(t,e){for(var i=new n(31),a=0;a<31;++a)i[a]=e+=1<>1|(21845&c)<<1;v=(61680&(v=(52428&v)>>2|(13107&v)<<2))>>4|(3855&v)<<4,u[c]=((65280&v)>>8|(255&v)<<8)>>1}var d=function(t,r,e){for(var i=t.length,a=0,s=new n(r);a>h]=l}else for(o=new n(i),a=0;a>15-t[a]);return o},g=new t(288);for(c=0;c<144;++c)g[c]=8;for(c=144;c<256;++c)g[c]=9;for(c=256;c<280;++c)g[c]=7;for(c=280;c<288;++c)g[c]=8;var w=new t(32);for(c=0;c<32;++c)w[c]=5;var p=d(g,9,0),y=d(w,5,0),m=function(t){return(t+7)/8|0},b=function(n,r,e){return(null==r||r<0)&&(r=0),(null==e||e>n.length)&&(e=n.length),new t(n.subarray(r,e))},M=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],E=function(t,n,r){var e=new Error(n||M[t]);if(e.code=t,Error.captureStackTrace&&Error.captureStackTrace(e,E),!r)throw e;return e},z=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8},A=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8,t[e+2]|=r>>16},_=function(r,e){for(var i=[],a=0;ad&&(d=o[a].s);var g=new n(d+1),w=x(i[c-1],g,0);if(w>e){a=0;var p=0,y=w-e,m=1<e))break;p+=m-(1<>=y;p>0;){var M=o[a].s;g[M]=0&&p;--a){var E=o[a].s;g[E]==e&&(--g[E],++p)}w=e}return{t:new t(g),l:w}},x=function(t,n,r){return-1==t.s?Math.max(x(t.l,n,r+1),x(t.r,n,r+1)):n[t.s]=r},D=function(t){for(var r=t.length;r&&!t[--r];);for(var e=new n(++r),i=0,a=t[0],s=1,o=function(t){e[i++]=t},f=1;f<=r;++f)if(t[f]==a&&f!=r)++s;else{if(!a&&s>2){for(;s>138;s-=138)o(32754);s>2&&(o(s>10?s-11<<5|28690:s-3<<5|12305),s=0)}else if(s>3){for(o(a),--s;s>6;s-=6)o(8304);s>2&&(o(s-3<<5|8208),s=0)}for(;s--;)o(a);s=1,a=t[f]}return{c:e.subarray(0,i),n:r}},T=function(t,n){for(var r=0,e=0;e>8,t[i+2]=255^t[i],t[i+3]=255^t[i+1];for(var a=0;a4&&!H[a[K-1]];--K);var N,P,Q,R,V=v+5<<3,W=T(f,g)+T(h,w)+l,X=T(f,M)+T(h,C)+l+14+3*K+T(q,H)+2*q[16]+3*q[17]+7*q[18];if(c>=0&&V<=W&&V<=X)return k(r,m,t.subarray(c,c+v));if(z(r,m,1+(X15&&(z(r,m,tt[B]>>5&127),m+=tt[B]>>12)}}}else N=p,P=g,Q=y,R=w;for(B=0;B255){A(r,m,N[(nt=rt>>18&31)+257]),m+=P[nt+257],nt>7&&(z(r,m,rt>>23&31),m+=e[nt]);var et=31&rt;A(r,m,Q[et]),m+=R[et],et>3&&(A(r,m,rt>>5&8191),m+=i[et])}else A(r,m,N[rt]),m+=P[rt]}return A(r,m,N[256]),m+P[256]},U=new r([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),F=new t(0),I=function(){for(var t=new Int32Array(256),n=0;n<256;++n){for(var r=n,e=9;--e;)r=(1&r&&-306674912)^r>>>1;t[n]=r}return t}(),S=function(){var t=-1;return{p:function(n){for(var r=t,e=0;e>>8;t=r},d:function(){return~t}}},L=function(){var t=1,n=0;return{p:function(r){for(var e=t,i=n,a=0|r.length,s=0;s!=a;){for(var o=Math.min(s+2655,a);s>16),i=(65535&i)+15*(i>>16)}t=e,n=i},d:function(){return(255&(t%=65521))<<24|(65280&t)<<8|(255&(n%=65521))<<8|n>>8}}},O=function(a,s,o,f,u){if(!u&&(u={l:1},s.dictionary)){var c=s.dictionary.subarray(-32768),v=new t(c.length+a.length);v.set(c),v.set(a,c.length),a=v,u.w=c.length}return function(a,s,o,f,u,c){var v=c.z||a.length,d=new t(f+v+5*(1+Math.ceil(v/7e3))+u),g=d.subarray(f,d.length-u),w=c.l,p=7&(c.r||0);if(s){p&&(g[0]=c.r>>3);for(var y=U[s-1],M=y>>13,E=8191&y,z=(1<7e3||q>24576)&&(N>423||!w)){p=C(a,g,0,F,I,S,O,q,G,j-G,p),q=L=O=0,G=j;for(var P=0;P<286;++P)I[P]=0;for(P=0;P<30;++P)S[P]=0}var Q=2,R=0,V=E,W=J-K&32767;if(N>2&&H==T(j-W))for(var X=Math.min(M,N)-1,Y=Math.min(32767,j),Z=Math.min(258,N);W<=Y&&--V&&J!=K;){if(a[j+Q]==a[j+Q-W]){for(var $=0;$Q){if(Q=$,R=W,$>X)break;var tt=Math.min(W,$-2),nt=0;for(P=0;Pnt&&(nt=et,K=rt)}}}W+=(J=K)-(K=A[J])&32767}if(R){F[q++]=268435456|h[Q]<<18|l[R];var it=31&h[Q],at=31&l[R];O+=e[it]+i[at],++I[257+it],++S[at],B=j+Q,++L}else F[q++]=a[j],++I[a[j]]}}for(j=Math.max(j,B);j=v&&(g[p/8|0]=w,st=v),p=k(g,p+1,a.subarray(j,st))}c.i=v}return b(d,0,f+m(p)+u)}(a,null==s.level?6:s.level,null==s.mem?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(a.length)))):12+s.mem,o,f,u)},j=function(t,n,r){for(;r;++n)t[n]=r,r>>>=8},q=function(t,n){var r=n.filename;if(t[0]=31,t[1]=139,t[2]=8,t[8]=n.level<2?4:9==n.level?2:0,t[9]=3,0!=n.mtime&&j(t,4,Math.floor(new Date(n.mtime||Date.now())/1e3)),r){t[3]=8;for(var e=0;e<=r.length;++e)t[e+10]=r.charCodeAt(e)}},B=function(t){return 10+(t.filename?t.filename.length+1:0)},G=function(){function n(n,r){if("function"==typeof n&&(r=n,n={}),this.ondata=r,this.o=n||{},this.s={l:0,i:32768,w:32768,z:32768},this.b=new t(98304),this.o.dictionary){var e=this.o.dictionary.subarray(-32768);this.b.set(e,32768-e.length),this.s.i=32768-e.length}}return n.prototype.p=function(t,n){this.ondata(O(t,this.o,0,0,this.s),n)},n.prototype.push=function(n,r){this.ondata||E(5),this.s.l&&E(4);var e=n.length+this.s.z;if(e>this.b.length){if(e>2*this.b.length-32768){var i=new t(-32768&e);i.set(this.b.subarray(0,this.s.z)),this.b=i}var a=this.b.length-this.s.z;a&&(this.b.set(n.subarray(0,a),this.s.z),this.s.z=this.b.length,this.p(this.b,!1)),this.b.set(this.b.subarray(-32768)),this.b.set(n.subarray(a),32768),this.s.z=n.length-a+32768,this.s.i=32766,this.s.w=32768}else this.b.set(n,this.s.z),this.s.z+=n.length;this.s.l=1&r,(this.s.z>this.s.w+8191||r)&&(this.p(this.b,r||!1),this.s.w=this.s.i,this.s.i-=2)},n}();var H=function(){function t(t,n){this.c=L(),this.v=1,G.call(this,t,n)}return t.prototype.push=function(t,n){this.c.p(t),G.prototype.push.call(this,t,n)},t.prototype.p=function(t,n){var r=O(t,this.o,this.v&&(this.o.dictionary?6:2),n&&4,this.s);this.v&&(function(t,n){var r=n.level,e=0==r?0:r<6?1:9==r?3:2;if(t[0]=120,t[1]=e<<6|(n.dictionary&&32),t[1]|=31-(t[0]<<8|t[1])%31,n.dictionary){var i=L();i.p(n.dictionary),j(t,2,i.d())}}(r,this.o),this.v=0),n&&j(r,r.length-4,this.c.d()),this.ondata(r,n)},t}(),J="undefined"!=typeof TextEncoder&&new TextEncoder,K="undefined"!=typeof TextDecoder&&new TextDecoder;try{K.decode(F,{stream:!0})}catch(t){}var N=function(){function t(t){this.ondata=t}return t.prototype.push=function(t,n){this.ondata||E(5),this.d&&E(4),this.ondata(P(t),this.d=n||!1)},t}();function P(n,r){if(r){for(var e=new t(n.length),i=0;i>1)),o=0,f=function(t){s[o++]=t};for(i=0;is.length){var h=new t(o+8+(a-i<<1));h.set(s),s=h}var l=n.charCodeAt(i);l<128||r?f(l):l<2048?(f(192|l>>6),f(128|63&l)):l>55295&&l<57344?(f(240|(l=65536+(1047552&l)|1023&n.charCodeAt(++i))>>18),f(128|l>>12&63),f(128|l>>6&63),f(128|63&l)):(f(224|l>>12),f(128|l>>6&63),f(128|63&l))}return b(s,0,o)}function Q(t){return function(t,n){n||(n={});var r=S(),e=t.length;r.p(t);var i=O(t,n,B(n),8),a=i.length;return q(i,n),j(i,a-8,r.d()),j(i,a-4,e),i}(P(t))}const R=new class{constructor(){this._init()}clear(){this._init()}addEvent(t){if(!t)throw new Error("Adding invalid event");const n=this._hasEvents?",":"";this.stream.push(n+t),this._hasEvents=!0}finish(){this.stream.push("]",!0);const t=function(t){let n=0;for(const r of t)n+=r.length;const r=new Uint8Array(n);for(let n=0,e=0,i=t.length;n{this._deflatedData.push(t)},this.stream=new N(((t,n)=>{this.deflate.push(t,n)})),this.stream.push("[")}},V={clear:()=>{R.clear()},addEvent:t=>R.addEvent(t),finish:()=>R.finish(),compress:t=>Q(t)};addEventListener("message",(function(t){const n=t.data.method,r=t.data.id,e=t.data.arg;if(n in V&&"function"==typeof V[n])try{const t=V[n](e);postMessage({id:r,method:n,success:!0,response:t})}catch(t){postMessage({id:r,method:n,success:!1,response:t.message}),console.error(t)}})),postMessage({id:void 0,method:"init",success:!0,response:void 0});']);return URL.createObjectURL(e)}());if(!t)return;bt&&_t.info("Using compression worker"+(e?` from ${e}`:""));const n=new Worker(t);return new nn(n)}catch(e){bt&&_t.exception(e,"Failed to create compression worker")}}(t);if(e)return e}return bt&&_t.info("Using simple buffer"),new Jt}({useCompression:this._options.useCompression,workerUrl:this._options.workerUrl}),this._removeListeners(),this._addListeners(),this._isEnabled=!0,this._isPaused=!1,this.startRecording()}_initializeSessionForSampling(e){const t=this._options.errorSampleRate>0,n=pn({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,previousSessionId:e},{stickySession:this._options.stickySession,sessionSampleRate:this._options.sessionSampleRate,allowBuffering:t});this.session=n}_checkSession(){if(!this.session)return!1;const e=this.session;return!dn(e,{sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration})||(this._refreshSession(e),!1)}async _refreshSession(e){this._isEnabled&&(await this.stop({reason:"refresh session"}),this.initializeSampling(e.id))}_addListeners(){try{l.document.addEventListener("visibilitychange",this._handleVisibilityChange),l.addEventListener("blur",this._handleWindowBlur),l.addEventListener("focus",this._handleWindowFocus),l.addEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.addListeners(),this._hasInitializedCoreListeners||(function(e){const t=o.getClient();s.addClickKeypressInstrumentationHandler((e=>t=>{if(!e.isEnabled())return;const n=function(e){const{target:t,message:n}=function(e){const t="click"===e.name;let n,r=null;try{r=t?Pt(e.event):Ot(e.event),n=i.htmlTreeAsString(r,{maxStringLength:200})||""}catch(e){n=""}return{target:r,message:n}}(e);return $t({category:`ui.${e.name}`,...zt(t,n)})}(t);if(!n)return;const r="click"===t.name,a=r?t.event:void 0;var o,s,l;!(r&&e.clickDetector&&a&&a.target)||a.altKey||a.metaKey||a.ctrlKey||a.shiftKey||(o=e.clickDetector,s=n,l=Pt(t.event),o.handleClick(s,l)),kt(e,n)})(e)),s.addHistoryInstrumentationHandler(function(e){return t=>{if(!e.isEnabled())return;const n=function(e){const{from:t,to:n}=e,r=Date.now()/1e3;return{type:"navigation.push",start:r,end:r,name:n,data:{previous:t}}}(t);null!==n&&(e.getContext().urls.push(n.name),e.triggerUserActivity(),e.addUpdate((()=>(wn(e,[n]),!1))))}}(e)),function(e){const t=o.getClient();t&&t.on("beforeAddBreadcrumb",(t=>function(e,t){if(!e.isEnabled()||!bn(t))return;const n=function(e){return!bn(e)||["fetch","xhr","sentry.event","sentry.transaction"].includes(e.category)||e.category.startsWith("ui.")?null:"console"===e.category?function(e){const t=e.data&&e.data.arguments;if(!Array.isArray(t)||0===t.length)return $t(e);let n=!1;const r=t.map((e=>{if(!e)return e;if("string"==typeof e)return e.length>f?(n=!0,`${e.slice(0,f)}…`):e;if("object"==typeof e)try{const t=i.normalize(e,7);return JSON.stringify(t).length>f?(n=!0,`${JSON.stringify(t,null,2).slice(0,f)}…`):t}catch(e){}return e}));return $t({...e,data:{...e.data,arguments:r,...n?{_meta:{warnings:["CONSOLE_ARG_TRUNCATED"]}}:{}}})}(e):$t(e)}(t);n&&kt(e,n)}(e,t)))}(e),Nn(e);const n=function(e){return Object.assign(((t,n)=>{if(!e.isEnabled()||e.isPaused())return t;if(function(e){return"replay_event"===e.type}(t))return delete t.breadcrumbs,t;if(!gn(t)&&!vn(t)&&!yn(t))return t;if(!e.checkAndHandleExpiredSession())return t;if(yn(t))return e.flush(),t.contexts.feedback.replay_id=e.getSessionId(),function(e,t){e.triggerUserActivity(),e.addUpdate((()=>!t.timestamp||(e.throttledAddEvent({type:Me.Custom,timestamp:1e3*t.timestamp,data:{tag:"breadcrumb",payload:{timestamp:t.timestamp,type:"default",category:"sentry.feedback",data:{feedbackId:t.event_id}}}}),!1)))}(e,t),t;if(function(e,t){return!(e.type||!e.exception||!e.exception.values||!e.exception.values.length||!t.originalException||!t.originalException.__rrweb__)}(t,n)&&!e.getOptions()._experiments.captureExceptions)return bt&&_t.log("Ignoring error from rrweb internals",t),null;const r=function(e,t){return"buffer"===e.recordingMode&&t.message!==d&&!(!t.exception||t.type)&&an(e.getOptions().errorSampleRate)}(e,t);return(r||"session"===e.recordingMode)&&(t.tags={...t.tags,replayId:e.getSessionId()}),t}),{id:"Replay"})}(e);o.addEventProcessor(n),t&&(t.on("beforeSendEvent",function(e){return t=>{e.isEnabled()&&gn(t)&&function(e,t){const n=t.exception&&t.exception.values&&t.exception.values[0]&&t.exception.values[0].value;"string"==typeof n&&(n.match(/(reactjs\.org\/docs\/error-decoder\.html\?invariant=|react\.dev\/errors\/)(418|419|422|423|425)/)||n.match(/(does not match server-rendered HTML|Hydration failed because)/i))&&kt(e,$t({category:"replay.hydrate-error",data:{url:i.getLocationHref()}}))}(e,t)}}(e)),t.on("afterSendEvent",function(e){return(t,n)=>{if(!e.isEnabled()||!gn(t)&&!vn(t))return;const r=n&&n.statusCode;!r||r<200||r>=300||(vn(t)?function(e,t){const n=e.getContext();t.contexts&&t.contexts.trace&&t.contexts.trace.trace_id&&n.traceIds.size<100&&n.traceIds.add(t.contexts.trace.trace_id)}(e,t):function(e,t){const n=e.getContext();if(t.event_id&&n.errorIds.size<100&&n.errorIds.add(t.event_id),"buffer"!==e.recordingMode||!t.tags||!t.tags.replayId)return;const{beforeErrorSampling:r}=e.getOptions();("function"!=typeof r||r(t))&&s.setTimeout((async()=>{try{await e.sendBufferedReplayOrFlush()}catch(t){e.handleException(t)}}))}(e,t))}}(e)),t.on("createDsc",(t=>{const n=e.getSessionId();n&&e.isEnabled()&&"session"===e.recordingMode&&e.checkAndHandleExpiredSession()&&(t.replay_id=n)})),t.on("spanStart",(t=>{e.lastActiveSpan=t})),t.on("spanEnd",(t=>{e.lastActiveSpan=t})),t.on("beforeSendFeedback",((t,n)=>{const r=e.getSessionId();n&&n.includeReplay&&e.isEnabled()&&r&&t.contexts&&t.contexts.feedback&&(t.contexts.feedback.replay_id=r)})))}(this),this._hasInitializedCoreListeners=!0)}catch(e){this.handleException(e)}this._performanceCleanupCallback=function(e){function t(t){e.performanceEntries.includes(t)||e.performanceEntries.push(t)}function n({entries:e}){e.forEach(t)}const r=[];return["navigation","paint","resource"].forEach((e=>{r.push(s.addPerformanceInstrumentationHandler(e,n))})),r.push(s.addLcpInstrumentationHandler(Vt(qt,e)),s.addClsInstrumentationHandler(Vt(Yt,e)),s.addFidInstrumentationHandler(Vt(Xt,e)),s.addInpInstrumentationHandler(Vt(Kt,e))),()=>{r.forEach((e=>e()))}}(this)}_removeListeners(){try{l.document.removeEventListener("visibilitychange",this._handleVisibilityChange),l.removeEventListener("blur",this._handleWindowBlur),l.removeEventListener("focus",this._handleWindowFocus),l.removeEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.removeListeners(),this._performanceCleanupCallback&&this._performanceCleanupCallback()}catch(e){this.handleException(e)}}__init(){this._handleVisibilityChange=()=>{"visible"===l.document.visibilityState?this._doChangeToForegroundTasks():this._doChangeToBackgroundTasks()}}__init2(){this._handleWindowBlur=()=>{const e=$t({category:"ui.blur"});this._doChangeToBackgroundTasks(e)}}__init3(){this._handleWindowFocus=()=>{const e=$t({category:"ui.focus"});this._doChangeToForegroundTasks(e)}}__init4(){this._handleKeyboardEvent=e=>{!function(e,t){if(!e.isEnabled())return;e.updateUserActivity();const n=function(e){const{metaKey:t,shiftKey:n,ctrlKey:r,altKey:a,key:o,target:s}=e;if(!s||function(e){return"INPUT"===e.tagName||"TEXTAREA"===e.tagName||e.isContentEditable}(s)||!o)return null;const l=t||r||a,u=1===o.length;if(!l&&u)return null;const c=i.htmlTreeAsString(s,{maxStringLength:200})||"";return $t({category:"ui.keyDown",message:c,data:{...zt(s,c).data,metaKey:t,shiftKey:n,ctrlKey:r,altKey:a,key:o}})}(t);n&&kt(e,n)}(this,e)}}_doChangeToBackgroundTasks(e){this.session&&(cn(this.session,{maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire})||(e&&this._createCustomBreadcrumb(e),this.conditionalFlush()))}_doChangeToForegroundTasks(e){this.session&&(this.checkAndHandleExpiredSession()?e&&this._createCustomBreadcrumb(e):bt&&_t.info("Document has become active, but session has expired"))}_updateUserActivity(e=Date.now()){this._lastActivity=e}_updateSessionActivity(e=Date.now()){this.session&&(this.session.lastActivity=e,this._maybeSaveSession())}_createCustomBreadcrumb(e){this.addUpdate((()=>{this.throttledAddEvent({type:Me.Custom,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e}})}))}_addPerformanceEntries(){const e=(t=this.performanceEntries,t.map(Ut).filter(Boolean)).concat(this.replayPerformanceEntries);var t;return this.performanceEntries=[],this.replayPerformanceEntries=[],Promise.all(wn(this,e))}_clearContext(){this._context.errorIds.clear(),this._context.traceIds.clear(),this._context.urls=[]}_updateInitialTimestampFromEventBuffer(){const{session:e,eventBuffer:t}=this;if(!e||!t||this._requiresManualStart)return;if(e.segmentId)return;const n=t.getEarliestTimestamp();n&&nthis._options.maxReplayDuration+3e4)throw new Error("Session is too long, not sending replay");const n=this._popEventContext(),r=this.session.segmentId++;this._maybeSaveSession();const a=await this.eventBuffer.finish();await Bn({replayId:e,recordingData:a,segmentId:r,eventContext:n,session:this.session,timestamp:t,onError:e=>this.handleException(e)})}catch(e){this.handleException(e),this.stop({reason:"sendReplay"});const t=o.getClient();if(t){const n=e instanceof Fn?"ratelimit_backoff":"send_error";t.recordDroppedEvent(n,"replay")}}}else bt&&_t.error("No session or eventBuffer found to flush.")}__init5(){this._flush=async({force:e=!1}={})=>{if(!this._isEnabled&&!e)return;if(!this.checkAndHandleExpiredSession())return void(bt&&_t.error("Attempting to finish replay event after session expired."));if(!this.session)return;const t=this.session.started,n=Date.now()-t;this._debouncedFlush.cancel();const r=nthis._options.maxReplayDuration+5e3;if(r||a)return bt&&_t.info(`Session duration (${Math.floor(n/1e3)}s) is too ${r?"short":"long"}, not sending replay.`),void(r&&this._debouncedFlush());const o=this.eventBuffer;o&&0===this.session.segmentId&&!o.hasCheckout&&bt&&_t.info("Flushing initial segment without checkout.");const i=!!this._flushLock;this._flushLock||(this._flushLock=this._runFlush());try{await this._flushLock}catch(e){this.handleException(e)}finally{this._flushLock=void 0,i&&this._debouncedFlush()}}}_maybeSaveSession(){this.session&&this._options.stickySession&&sn(this.session)}__init6(){this._onMutationHandler=e=>{const t=e.length,n=this._options.mutationLimit,r=n&&t>n;if(t>this._options.mutationBreadcrumbLimit||r){const e=$t({category:"replay.mutations",data:{count:t,limit:r}});this._createCustomBreadcrumb(e)}return!r||(this.stop({reason:"mutationLimit",forceFlush:"session"===this.recordingMode}),!1)}}}function Vn(e,t){return[...e,...t].join(",")}const Un='img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]',Hn=["content-length","content-type","accept"];let qn=!1;class Gn{static __initStatic(){this.id="Replay"}constructor({flushMinDelay:e=5e3,flushMaxDelay:t=5500,minReplayDuration:n=4999,maxReplayDuration:r=36e5,stickySession:a=!0,useCompression:o=!0,workerUrl:s,_experiments:l={},maskAllText:u=!0,maskAllInputs:c=!0,blockAllMedia:d=!0,mutationBreadcrumbLimit:p=750,mutationLimit:f=1e4,slowClickTimeout:h=7e3,slowClickIgnoreSelectors:m=[],networkDetailAllowUrls:g=[],networkDetailDenyUrls:v=[],networkCaptureBodies:y=!0,networkRequestHeaders:b=[],networkResponseHeaders:w=[],mask:x=[],maskAttributes:S=["title","placeholder"],unmask:_=[],block:A=[],unblock:C=[],ignore:T=[],maskFn:k,beforeAddRecordingEvent:E,beforeErrorSampling:M}={}){this.name=Gn.id;const P=function({mask:e,unmask:t,block:n,unblock:r,ignore:a}){return{maskTextSelector:Vn(e,[".sentry-mask","[data-sentry-mask]"]),unmaskTextSelector:Vn(t,[]),blockSelector:Vn(n,[".sentry-block","[data-sentry-block]",'base[href="/"]']),unblockSelector:Vn(r,[]),ignoreSelector:Vn(a,[".sentry-ignore","[data-sentry-ignore]",'input[type="file"]'])}}({mask:x,unmask:_,block:A,unblock:C,ignore:T});if(this._recordingOptions={maskAllInputs:c,maskAllText:u,maskInputOptions:{password:!0},maskTextFn:k,maskInputFn:k,maskAttributeFn:(e,t,n)=>function({el:e,key:t,maskAttributes:n,maskAllText:r,privacyOptions:a,value:o}){return r?a.unmaskTextSelector&&e.matches(a.unmaskTextSelector)?o:n.includes(t)||"value"===t&&"INPUT"===e.tagName&&["submit","button"].includes(e.getAttribute("type")||"")?o.replace(/[\S]/g,"*"):o:o}({maskAttributes:S,maskAllText:u,privacyOptions:P,key:e,value:t,el:n}),...P,slimDOMOptions:"all",inlineStylesheet:!0,inlineImages:!1,collectFonts:!0,errorHandler:e=>{try{e.__rrweb__=!0}catch(e){}}},this._initialOptions={flushMinDelay:e,flushMaxDelay:t,minReplayDuration:Math.min(n,15e3),maxReplayDuration:Math.min(r,36e5),stickySession:a,useCompression:o,workerUrl:s,blockAllMedia:d,maskAllInputs:c,maskAllText:u,mutationBreadcrumbLimit:p,mutationLimit:f,slowClickTimeout:h,slowClickIgnoreSelectors:m,networkDetailAllowUrls:g,networkDetailDenyUrls:v,networkCaptureBodies:y,networkRequestHeaders:Yn(b),networkResponseHeaders:Yn(w),beforeAddRecordingEvent:E,beforeErrorSampling:M,_experiments:l},this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${Un}`:Un),this._isInitialized&&i.isBrowser())throw new Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}get _isInitialized(){return qn}set _isInitialized(e){qn=e}afterAllSetup(e){i.isBrowser()&&!this._replay&&(this._setup(e),this._initialize(e))}start(){this._replay&&this._replay.start()}startBuffering(){this._replay&&this._replay.startBuffering()}stop(){return this._replay?this._replay.stop({forceFlush:"session"===this._replay.recordingMode}):Promise.resolve()}flush(e){return this._replay?this._replay.isEnabled()?this._replay.sendBufferedReplayOrFlush(e):(this._replay.start(),Promise.resolve()):Promise.resolve()}getReplayId(){if(this._replay&&this._replay.isEnabled())return this._replay.getSessionId()}_initialize(e){this._replay&&(this._maybeLoadFromReplayCanvasIntegration(e),this._replay.initializeSampling())}_setup(e){const t=function(e,t){const n=t.getOptions(),r={sessionSampleRate:0,errorSampleRate:0,...i.dropUndefinedKeys(e)},a=o.parseSampleRate(n.replaysSessionSampleRate),s=o.parseSampleRate(n.replaysOnErrorSampleRate);return null==a&&null==s&&i.consoleSandbox((()=>{console.warn("Replay is disabled because neither `replaysSessionSampleRate` nor `replaysOnErrorSampleRate` are set.")})),null!=a&&(r.sessionSampleRate=a),null!=s&&(r.errorSampleRate=s),r}(this._initialOptions,e);this._replay=new Wn({options:t,recordingOptions:this._recordingOptions})}_maybeLoadFromReplayCanvasIntegration(e){try{const t=e.getIntegrationByName("ReplayCanvas");if(!t)return;this._replay._canvas=t.getOptions()}catch(e){}}}function Yn(e){return[...Hn,...e.map((e=>e.toLowerCase()))]}Gn.__initStatic(),t.getReplay=function(){const e=o.getClient();return e&&e.getIntegrationByName("Replay")},t.replayIntegration=e=>new Gn(e)},50800:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(37872),a=n(24320),o=n(16421),i=n(94288),s=n(27670),l=n(27227);class u extends r.BaseClient{constructor(e){const t={parentSpanIsAlwaysRootSpan:!0,...e},n=s.WINDOW.SENTRY_SDK_SOURCE||a.getSDKSource();r.applySdkMetadata(t,"browser",["browser"],n),super(t),t.sendClientReports&&s.WINDOW.document&&s.WINDOW.document.addEventListener("visibilitychange",(()=>{"hidden"===s.WINDOW.document.visibilityState&&this._flushOutcomes()}))}eventFromException(e,t){return i.eventFromException(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t="info",n){return i.eventFromMessage(this._options.stackParser,e,t,n,this._options.attachStacktrace)}captureUserFeedback(e){if(!this._isEnabled())return void(o.DEBUG_BUILD&&a.logger.warn("SDK not enabled, will not capture user feedback."));const t=l.createUserFeedbackEnvelope(e,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this.sendEnvelope(t)}_prepareEvent(e,t,n){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,n)}}t.BrowserClient=u},16421:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0});const n="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;t.DEBUG_BUILD=n},94288:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(37872),a=n(24320);function o(e,t){const n=s(e,t),r={type:c(t),value:d(t)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function i(e,t){return{exception:{values:[o(e,t)]}}}function s(e,t){const n=t.stacktrace||t.stack||"",r=function(e){return e&&l.test(e.message)?1:0}(t),a=function(e){return"number"==typeof e.framesToPop?e.framesToPop:0}(t);try{return e(n,r,a)}catch(e){}return[]}const l=/Minified React error #\d+;/i;function u(e){return"undefined"!=typeof WebAssembly&&void 0!==WebAssembly.Exception&&e instanceof WebAssembly.Exception}function c(e){const t=e&&e.name;return!t&&u(e)?e.message&&Array.isArray(e.message)&&2==e.message.length?e.message[0]:"WebAssembly.Exception":t}function d(e){const t=e&&e.message;return t?t.error&&"string"==typeof t.error.message?t.error.message:u(e)&&Array.isArray(e.message)&&2==e.message.length?e.message[1]:t:"No error message"}function p(e,t,n,l,u){let c;if(a.isErrorEvent(t)&&t.error)return i(e,t.error);if(a.isDOMError(t)||a.isDOMException(t)){const r=t;if("stack"in t)c=i(e,t);else{const t=r.name||(a.isDOMError(r)?"DOMError":"DOMException"),o=r.message?`${t}: ${r.message}`:t;c=f(e,o,n,l),a.addExceptionTypeValue(c,o)}return"code"in r&&(c.tags={...c.tags,"DOMException.code":`${r.code}`}),c}return a.isError(t)?i(e,t):a.isPlainObject(t)||a.isEvent(t)?(c=function(e,t,n,i){const l=r.getClient(),u=l&&l.getOptions().normalizeDepth,c=function(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)){const n=e[t];if(n instanceof Error)return n}}(t),d={__serialized__:a.normalizeToSize(t,u)};if(c)return{exception:{values:[o(e,c)]},extra:d};const p={exception:{values:[{type:a.isEvent(t)?t.constructor.name:i?"UnhandledRejection":"Error",value:h(t,{isUnhandledRejection:i})}]},extra:d};if(n){const t=s(e,n);t.length&&(p.exception.values[0].stacktrace={frames:t})}return p}(e,t,n,u),a.addExceptionMechanism(c,{synthetic:!0}),c):(c=f(e,t,n,l),a.addExceptionTypeValue(c,`${t}`,void 0),a.addExceptionMechanism(c,{synthetic:!0}),c)}function f(e,t,n,r){const o={};if(r&&n){const r=s(e,n);r.length&&(o.exception={values:[{value:t,stacktrace:{frames:r}}]})}if(a.isParameterizedString(t)){const{__sentry_template_string__:e,__sentry_template_values__:n}=t;return o.logentry={message:e,params:n},o}return o.message=t,o}function h(e,{isUnhandledRejection:t}){const n=a.extractExceptionKeysForMessage(e),r=t?"promise rejection":"exception";return a.isErrorEvent(e)?`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``:a.isEvent(e)?`Event \`${function(e){try{const t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch(e){}}(e)}\` (type=${e.type}) captured as ${r}`:`Object captured as ${r} with keys: ${n}`}t.eventFromException=function(e,t,n,r){const o=p(e,t,n&&n.syntheticException||void 0,r);return a.addExceptionMechanism(o),o.level="error",n&&n.event_id&&(o.event_id=n.event_id),a.resolvedSyncPromise(o)},t.eventFromMessage=function(e,t,n="info",r,o){const i=f(e,t,r&&r.syntheticException||void 0,o);return i.level=n,r&&r.event_id&&(i.event_id=r.event_id),a.resolvedSyncPromise(i)},t.eventFromUnknownInput=p,t.exceptionFromError=o,t.extractMessage=d,t.extractType=c},26342:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(66532),a=n(75201),o=r.buildFeedbackIntegration({lazyLoadIntegration:a.lazyLoadIntegration});t.feedbackAsyncIntegration=o},46339:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(66532),a=n(75201),o=r.buildFeedbackIntegration({lazyLoadIntegration:a.lazyLoadIntegration,getModalIntegration:()=>r.feedbackModalIntegration,getScreenshotIntegration:()=>r.feedbackScreenshotIntegration});t.feedbackSyncIntegration=o},27670:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(37872),a=n(24320),o=a.GLOBAL_OBJ;let i=0;function s(){i++,setTimeout((()=>{i--}))}t.WINDOW=o,t.ignoreNextOnError=s,t.shouldIgnoreOnError=function(){return i>0},t.wrap=function e(t,n={},o){if("function"!=typeof t)return t;try{const e=t.__sentry_wrapped__;if(e)return"function"==typeof e?e:t;if(a.getOriginalFunction(t))return t}catch(e){return t}const i=function(){const i=Array.prototype.slice.call(arguments);try{o&&"function"==typeof o&&o.apply(this,arguments);const r=i.map((t=>e(t,n)));return t.apply(this,r)}catch(e){throw s(),r.withScope((t=>{t.addEventProcessor((e=>(n.mechanism&&(a.addExceptionTypeValue(e,void 0,void 0),a.addExceptionMechanism(e,n.mechanism)),e.extra={...e.extra,arguments:i},e))),r.captureException(e)})),e}};try{for(const e in t)Object.prototype.hasOwnProperty.call(t,e)&&(i[e]=t[e])}catch(e){}a.markFunctionWrapped(i,t),a.addNonEnumerableProperty(t,"__sentry_wrapped__",i);try{Object.getOwnPropertyDescriptor(i,"name").configurable&&Object.defineProperty(i,"name",{get:()=>t.name})}catch(e){}return i}},90327:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(37872),a=n(27670),o=n(50800),i=n(36750),s=n(7558),l=n(94288),u=n(27227),c=n(46127),d=n(81673),p=n(84449),f=n(58968),h=n(62357),m=n(85196),g=n(75201),v=n(82855),y=n(40044),b=n(68585),w=n(2992),x=n(57143),S=n(26342),_=n(46339),A=n(66532),C=n(87578),T=n(77299),k=n(3646),E=n(60213),M=n(74012);t.SDK_VERSION=r.SDK_VERSION,t.SEMANTIC_ATTRIBUTE_SENTRY_OP=r.SEMANTIC_ATTRIBUTE_SENTRY_OP,t.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN=r.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN,t.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE=r.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE,t.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE=r.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,t.Scope=r.Scope,t.addBreadcrumb=r.addBreadcrumb,t.addEventProcessor=r.addEventProcessor,t.addIntegration=r.addIntegration,t.addTracingExtensions=r.addTracingExtensions,t.captureConsoleIntegration=r.captureConsoleIntegration,t.captureEvent=r.captureEvent,t.captureException=r.captureException,t.captureFeedback=r.captureFeedback,t.captureMessage=r.captureMessage,t.captureSession=r.captureSession,t.close=r.close,t.continueTrace=r.continueTrace,t.createTransport=r.createTransport,t.debugIntegration=r.debugIntegration,t.dedupeIntegration=r.dedupeIntegration,t.endSession=r.endSession,t.extraErrorDataIntegration=r.extraErrorDataIntegration,t.flush=r.flush,t.functionToStringIntegration=r.functionToStringIntegration,t.getActiveSpan=r.getActiveSpan,t.getClient=r.getClient,t.getCurrentHub=r.getCurrentHub,t.getCurrentScope=r.getCurrentScope,t.getGlobalScope=r.getGlobalScope,t.getIsolationScope=r.getIsolationScope,t.getRootSpan=r.getRootSpan,t.getSpanDescendants=r.getSpanDescendants,t.getSpanStatusFromHttpCode=r.getSpanStatusFromHttpCode,t.inboundFiltersIntegration=r.inboundFiltersIntegration,t.isInitialized=r.isInitialized,t.lastEventId=r.lastEventId,t.makeMultiplexedTransport=r.makeMultiplexedTransport,t.moduleMetadataIntegration=r.moduleMetadataIntegration,t.parameterize=r.parameterize,t.registerSpanErrorInstrumentation=r.registerSpanErrorInstrumentation,t.rewriteFramesIntegration=r.rewriteFramesIntegration,t.sessionTimingIntegration=r.sessionTimingIntegration,t.setContext=r.setContext,t.setCurrentClient=r.setCurrentClient,t.setExtra=r.setExtra,t.setExtras=r.setExtras,t.setHttpStatus=r.setHttpStatus,t.setMeasurement=r.setMeasurement,t.setTag=r.setTag,t.setTags=r.setTags,t.setUser=r.setUser,t.spanToBaggageHeader=r.spanToBaggageHeader,t.spanToJSON=r.spanToJSON,t.spanToTraceHeader=r.spanToTraceHeader,t.startInactiveSpan=r.startInactiveSpan,t.startNewTrace=r.startNewTrace,t.startSession=r.startSession,t.startSpan=r.startSpan,t.startSpanManual=r.startSpanManual,t.thirdPartyErrorFilterIntegration=r.thirdPartyErrorFilterIntegration,t.withActiveSpan=r.withActiveSpan,t.withIsolationScope=r.withIsolationScope,t.withScope=r.withScope,t.zodErrorsIntegration=r.zodErrorsIntegration,t.WINDOW=a.WINDOW,t.BrowserClient=o.BrowserClient,t.makeFetchTransport=i.makeFetchTransport,t.chromeStackLineParser=s.chromeStackLineParser,t.defaultStackLineParsers=s.defaultStackLineParsers,t.defaultStackParser=s.defaultStackParser,t.geckoStackLineParser=s.geckoStackLineParser,t.opera10StackLineParser=s.opera10StackLineParser,t.opera11StackLineParser=s.opera11StackLineParser,t.winjsStackLineParser=s.winjsStackLineParser,t.eventFromException=l.eventFromException,t.eventFromMessage=l.eventFromMessage,t.exceptionFromError=l.exceptionFromError,t.createUserFeedbackEnvelope=u.createUserFeedbackEnvelope,t.captureUserFeedback=c.captureUserFeedback,t.forceLoad=c.forceLoad,t.getDefaultIntegrations=c.getDefaultIntegrations,t.init=c.init,t.onLoad=c.onLoad,t.showReportDialog=c.showReportDialog,t.breadcrumbsIntegration=d.breadcrumbsIntegration,t.globalHandlersIntegration=p.globalHandlersIntegration,t.httpContextIntegration=f.httpContextIntegration,t.linkedErrorsIntegration=h.linkedErrorsIntegration,t.browserApiErrorsIntegration=m.browserApiErrorsIntegration,t.lazyLoadIntegration=g.lazyLoadIntegration,t.reportingObserverIntegration=v.reportingObserverIntegration,t.httpClientIntegration=y.httpClientIntegration,t.contextLinesIntegration=b.contextLinesIntegration,t.getReplay=w.getReplay,t.replayIntegration=w.replayIntegration,t.replayCanvasIntegration=x.replayCanvasIntegration,t.feedbackAsyncIntegration=S.feedbackAsyncIntegration,t.feedbackIntegration=_.feedbackSyncIntegration,t.feedbackSyncIntegration=_.feedbackSyncIntegration,t.getFeedback=A.getFeedback,t.sendFeedback=A.sendFeedback,t.metrics=C.metrics,t.defaultRequestInstrumentationOptions=T.defaultRequestInstrumentationOptions,t.instrumentOutgoingRequests=T.instrumentOutgoingRequests,t.browserTracingIntegration=k.browserTracingIntegration,t.startBrowserTracingNavigationSpan=k.startBrowserTracingNavigationSpan,t.startBrowserTracingPageLoadSpan=k.startBrowserTracingPageLoadSpan,t.makeBrowserOfflineTransport=E.makeBrowserOfflineTransport,t.browserProfilingIntegration=M.browserProfilingIntegration},81673:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(81015),a=n(37872),o=n(24320),i=n(16421),s=n(27670),l=a.defineIntegration(((e={})=>{const t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:"Breadcrumbs",setup(e){t.console&&o.addConsoleInstrumentationHandler(function(e){return function(t){if(a.getClient()!==e)return;const n={category:"console",data:{arguments:t.args,logger:"console"},level:o.severityLevelFromString(t.level),message:o.safeJoin(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;n.message=`Assertion failed: ${o.safeJoin(t.args.slice(1)," ")||"console.assert"}`,n.data.arguments=t.args.slice(1)}a.addBreadcrumb(n,{input:t.args,level:t.level})}}(e)),t.dom&&r.addClickKeypressInstrumentationHandler(function(e,t){return function(n){if(a.getClient()!==e)return;let r,s,l="object"==typeof t?t.serializeAttribute:void 0,u="object"==typeof t&&"number"==typeof t.maxStringLength?t.maxStringLength:void 0;u&&u>1024&&(i.DEBUG_BUILD&&o.logger.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${u} was configured. Sentry will use 1024 instead.`),u=1024),"string"==typeof l&&(l=[l]);try{const e=n.event,t=function(e){return!!e&&!!e.target}(e)?e.target:e;r=o.htmlTreeAsString(t,{keyAttrs:l,maxStringLength:u}),s=o.getComponentName(t)}catch(e){r=""}if(0===r.length)return;const c={category:`ui.${n.name}`,message:r};s&&(c.data={"ui.component_name":s}),a.addBreadcrumb(c,{event:n.event,name:n.name,global:n.global})}}(e,t.dom)),t.xhr&&r.addXhrInstrumentationHandler(function(e){return function(t){if(a.getClient()!==e)return;const{startTimestamp:n,endTimestamp:i}=t,s=t.xhr[r.SENTRY_XHR_DATA_KEY];if(!n||!i||!s)return;const{method:l,url:u,status_code:c,body:d}=s,p={method:l,url:u,status_code:c},f={xhr:t.xhr,input:d,startTimestamp:n,endTimestamp:i},h=o.getBreadcrumbLogLevelFromHttpStatusCode(c);a.addBreadcrumb({category:"xhr",data:p,type:"http",level:h},f)}}(e)),t.fetch&&o.addFetchInstrumentationHandler(function(e){return function(t){if(a.getClient()!==e)return;const{startTimestamp:n,endTimestamp:r}=t;if(r&&(!t.fetchData.url.match(/sentry_key/)||"POST"!==t.fetchData.method))if(t.error){const e=t.fetchData,o={data:t.error,input:t.args,startTimestamp:n,endTimestamp:r};a.addBreadcrumb({category:"fetch",data:e,level:"error",type:"http"},o)}else{const e=t.response,i={...t.fetchData,status_code:e&&e.status},s={input:t.args,response:e,startTimestamp:n,endTimestamp:r},l=o.getBreadcrumbLogLevelFromHttpStatusCode(i.status_code);a.addBreadcrumb({category:"fetch",data:i,type:"http",level:l},s)}}}(e)),t.history&&r.addHistoryInstrumentationHandler(function(e){return function(t){if(a.getClient()!==e)return;let n=t.from,r=t.to;const i=o.parseUrl(s.WINDOW.location.href);let l=n?o.parseUrl(n):void 0;const u=o.parseUrl(r);l&&l.path||(l=i),i.protocol===u.protocol&&i.host===u.host&&(r=u.relative),i.protocol===l.protocol&&i.host===l.host&&(n=l.relative),a.addBreadcrumb({category:"navigation",data:{from:n,to:r}})}}(e)),t.sentry&&e.on("beforeSendEvent",function(e){return function(t){a.getClient()===e&&a.addBreadcrumb({category:"sentry."+("transaction"===t.type?"transaction":"event"),event_id:t.event_id,level:t.level,message:o.getEventDescription(t)},{event:t})}}(e))}}}));t.breadcrumbsIntegration=l},85196:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(37872),a=n(24320),o=n(27670),i=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],s=r.defineIntegration(((e={})=>{const t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...e};return{name:"BrowserApiErrors",setupOnce(){t.setTimeout&&a.fill(o.WINDOW,"setTimeout",l),t.setInterval&&a.fill(o.WINDOW,"setInterval",l),t.requestAnimationFrame&&a.fill(o.WINDOW,"requestAnimationFrame",u),t.XMLHttpRequest&&"XMLHttpRequest"in o.WINDOW&&a.fill(XMLHttpRequest.prototype,"send",c);const e=t.eventTarget;e&&(Array.isArray(e)?e:i).forEach(d)}}}));function l(e){return function(...t){const n=t[0];return t[0]=o.wrap(n,{mechanism:{data:{function:a.getFunctionName(e)},handled:!1,type:"instrument"}}),e.apply(this,t)}}function u(e){return function(t){return e.apply(this,[o.wrap(t,{mechanism:{data:{function:"requestAnimationFrame",handler:a.getFunctionName(e)},handled:!1,type:"instrument"}})])}}function c(e){return function(...t){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach((e=>{e in n&&"function"==typeof n[e]&&a.fill(n,e,(function(t){const n={mechanism:{data:{function:e,handler:a.getFunctionName(t)},handled:!1,type:"instrument"}},r=a.getOriginalFunction(t);return r&&(n.mechanism.data.handler=a.getFunctionName(r)),o.wrap(t,n)}))})),e.apply(this,t)}}function d(e){const t=o.WINDOW,n=t[e]&&t[e].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(a.fill(n,"addEventListener",(function(t){return function(n,r,i){try{"function"==typeof r.handleEvent&&(r.handleEvent=o.wrap(r.handleEvent,{mechanism:{data:{function:"handleEvent",handler:a.getFunctionName(r),target:e},handled:!1,type:"instrument"}}))}catch(e){}return t.apply(this,[n,o.wrap(r,{mechanism:{data:{function:"addEventListener",handler:a.getFunctionName(r),target:e},handled:!1,type:"instrument"}}),i])}})),a.fill(n,"removeEventListener",(function(e){return function(t,n,r){const a=n;try{const n=a&&a.__sentry_wrapped__;n&&e.call(this,t,n,r)}catch(e){}return e.call(this,t,a,r)}})))}t.browserApiErrorsIntegration=s},68585:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(37872),a=n(24320),o=a.GLOBAL_OBJ,i=r.defineIntegration(((e={})=>{const t=null!=e.frameContextLines?e.frameContextLines:7;return{name:"ContextLines",processEvent:e=>function(e,t){const n=o.document,r=o.location&&a.stripUrlQueryAndFragment(o.location.href);if(!n||!r)return e;const i=e.exception&&e.exception.values;if(!i||!i.length)return e;const l=n.documentElement.innerHTML;if(!l)return e;const u=["","",...l.split("\n"),""];return i.forEach((e=>{const n=e.stacktrace;n&&n.frames&&(n.frames=n.frames.map((e=>s(e,u,r,t))))})),e}(e,t)}}));function s(e,t,n,r){return e.filename===n&&e.lineno&&t.length?(a.addContextToFrame(t,e,r),e):e}t.applySourceContextToFrame=s,t.contextLinesIntegration=i},84449:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(37872),a=n(24320),o=n(16421),i=n(94288),s=n(27670),l=r.defineIntegration(((e={})=>{const t={onerror:!0,onunhandledrejection:!0,...e};return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(e){t.onerror&&(function(e){a.addGlobalErrorInstrumentationHandler((t=>{const{stackParser:n,attachStacktrace:o}=c();if(r.getClient()!==e||s.shouldIgnoreOnError())return;const{msg:l,url:u,line:d,column:p,error:f}=t,h=function(e,t,n,r){const o=e.exception=e.exception||{},i=o.values=o.values||[],s=i[0]=i[0]||{},l=s.stacktrace=s.stacktrace||{},u=l.frames=l.frames||[],c=isNaN(parseInt(r,10))?void 0:r,d=isNaN(parseInt(n,10))?void 0:n,p=a.isString(t)&&t.length>0?t:a.getLocationHref();return 0===u.length&&u.push({colno:c,filename:p,function:a.UNKNOWN_FUNCTION,in_app:!0,lineno:d}),e}(i.eventFromUnknownInput(n,f||l,void 0,o,!1),u,d,p);h.level="error",r.captureEvent(h,{originalException:f,mechanism:{handled:!1,type:"onerror"}})}))}(e),u("onerror")),t.onunhandledrejection&&(function(e){a.addGlobalUnhandledRejectionInstrumentationHandler((t=>{const{stackParser:n,attachStacktrace:o}=c();if(r.getClient()!==e||s.shouldIgnoreOnError())return;const l=function(e){if(a.isPrimitive(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch(e){}return e}(t),u=a.isPrimitive(l)?{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(l)}`}]}}:i.eventFromUnknownInput(n,l,void 0,o,!0);u.level="error",r.captureEvent(u,{originalException:l,mechanism:{handled:!1,type:"onunhandledrejection"}})}))}(e),u("onunhandledrejection"))}}}));function u(e){o.DEBUG_BUILD&&a.logger.log(`Global Handler attached: ${e}`)}function c(){const e=r.getClient();return e&&e.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}t.globalHandlersIntegration=l},40044:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(81015),a=n(37872),o=n(24320),i=n(16421),s=a.defineIntegration(((e={})=>{const t={failedRequestStatusCodes:[[500,599]],failedRequestTargets:[/.*/],...e};return{name:"HttpClient",setup(e){!function(e,t){o.supportsNativeFetch()&&o.addFetchInstrumentationHandler((n=>{if(a.getClient()!==e)return;const{response:r,args:o}=n,[i,s]=o;r&&function(e,t,n,r){if(d(e,n.status,n.url)){const e=function(e,t){return!t&&e instanceof Request||e instanceof Request&&e.bodyUsed?e:new Request(e,t)}(t,r);let o,i,s,u;f()&&([o,s]=l("Cookie",e),[i,u]=l("Set-Cookie",n));const c=p({url:e.url,method:e.method,status:n.status,requestHeaders:o,responseHeaders:i,requestCookies:s,responseCookies:u});a.captureEvent(c)}}(t,i,r,s)}))}(e,t),function(e,t){"XMLHttpRequest"in o.GLOBAL_OBJ&&r.addXhrInstrumentationHandler((n=>{if(a.getClient()!==e)return;const s=n.xhr,l=s[r.SENTRY_XHR_DATA_KEY];if(!l)return;const{method:u,request_headers:h}=l;try{!function(e,t,n,r){if(d(e,t.status,t.responseURL)){let e,s,l;if(f()){try{const e=t.getResponseHeader("Set-Cookie")||t.getResponseHeader("set-cookie")||void 0;e&&(s=c(e))}catch(e){i.DEBUG_BUILD&&o.logger.log("Could not extract cookies from response headers")}try{l=function(e){const t=e.getAllResponseHeaders();return t?t.split("\r\n").reduce(((e,t)=>{const[n,r]=t.split(": ");return n&&r&&(e[n]=r),e}),{}):{}}(t)}catch(e){i.DEBUG_BUILD&&o.logger.log("Could not extract headers from response")}e=r}const u=p({url:t.responseURL,method:n,status:t.status,requestHeaders:e,responseHeaders:l,responseCookies:s});a.captureEvent(u)}}(t,s,u,h)}catch(e){i.DEBUG_BUILD&&o.logger.warn("Error while extracting response event form XHR response",e)}}))}(e,t)}}}));function l(e,t){const n=function(e){const t={};return e.forEach(((e,n)=>{t[n]=e})),t}(t.headers);let r;try{const t=n[e]||n[e.toLowerCase()]||void 0;t&&(r=c(t))}catch(t){i.DEBUG_BUILD&&o.logger.log(`Could not extract cookies from header ${e}`)}return[n,r]}function u(e){if(e){const t=e["Content-Length"]||e["content-length"];if(t)return parseInt(t,10)}}function c(e){return e.split("; ").reduce(((e,t)=>{const[n,r]=t.split("=");return n&&r&&(e[n]=r),e}),{})}function d(e,t,n){return function(e,t){return e.some((e=>"number"==typeof e?e===t:t>=e[0]&&t<=e[1]))}(e.failedRequestStatusCodes,t)&&(r=e.failedRequestTargets,o=n,r.some((e=>"string"==typeof e?o.includes(e):e.test(o))))&&!a.isSentryRequestUrl(n,a.getClient());var r,o}function p(e){const t=`HTTP Client Error with status code: ${e.status}`,n={message:t,exception:{values:[{type:"Error",value:t}]},request:{url:e.url,method:e.method,headers:e.requestHeaders,cookies:e.requestCookies},contexts:{response:{status_code:e.status,headers:e.responseHeaders,cookies:e.responseCookies,body_size:u(e.responseHeaders)}}};return o.addExceptionMechanism(n,{type:"http.client",handled:!1}),n}function f(){const e=a.getClient();return!!e&&Boolean(e.getOptions().sendDefaultPii)}t.httpClientIntegration=s},58968:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(37872),a=n(27670),o=r.defineIntegration((()=>({name:"HttpContext",preprocessEvent(e){if(!a.WINDOW.navigator&&!a.WINDOW.location&&!a.WINDOW.document)return;const t=e.request&&e.request.url||a.WINDOW.location&&a.WINDOW.location.href,{referrer:n}=a.WINDOW.document||{},{userAgent:r}=a.WINDOW.navigator||{},o={...e.request&&e.request.headers,...n&&{Referer:n},...r&&{"User-Agent":r}},i={...e.request,...t&&{url:t},headers:o};e.request=i}})));t.httpContextIntegration=o},62357:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(37872),a=n(24320),o=n(94288),i=r.defineIntegration(((e={})=>{const t=e.limit||5,n=e.key||"cause";return{name:"LinkedErrors",preprocessEvent(e,r,i){const s=i.getOptions();a.applyAggregateErrorsToEvent(o.exceptionFromError,s.stackParser,s.maxValueLength,n,t,e,r)}}}));t.linkedErrorsIntegration=i},82855:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(37872),a=n(24320),o=a.GLOBAL_OBJ,i=new WeakMap,s=r.defineIntegration(((e={})=>{const t=e.types||["crash","deprecation","intervention"];function n(e){if(i.has(r.getClient()))for(const t of e)r.withScope((e=>{e.setExtra("url",t.url);const n=`ReportingObserver [${t.type}]`;let a="No details available";if(t.body){const n={};for(const e in t.body)n[e]=t.body[e];if(e.setExtra("body",n),"crash"===t.type){const e=t.body;a=[e.crashId||"",e.reason||""].join(" ").trim()||a}else a=t.body.message||a}r.captureMessage(`${n}: ${a}`)}))}return{name:"ReportingObserver",setupOnce(){a.supportsReportingObserver()&&new o.ReportingObserver(n,{buffered:!0,types:t}).observe()},setup(e){i.set(e,!0)}}}));t.reportingObserverIntegration=s},87578:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(37872),a={increment:function(e,t=1,n){r.metrics.increment(r.BrowserMetricsAggregator,e,t,n)},distribution:function(e,t,n){r.metrics.distribution(r.BrowserMetricsAggregator,e,t,n)},set:function(e,t,n){r.metrics.set(r.BrowserMetricsAggregator,e,t,n)},gauge:function(e,t,n){r.metrics.gauge(r.BrowserMetricsAggregator,e,t,n)},timing:function(e,t,n="second",a){return r.metrics.timing(r.BrowserMetricsAggregator,e,t,n,a)}};t.metrics=a},74012:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(37872),a=n(24320),o=n(16421),i=n(98826),s=n(47751),l=r.defineIntegration((()=>({name:"BrowserProfiling",setup(e){const t=r.getActiveSpan(),n=t&&r.getRootSpan(t);n&&s.isAutomatedPageLoadSpan(n)&&s.shouldProfileSpan(n)&&i.startProfileForSpan(n),e.on("spanStart",(e=>{e===r.getRootSpan(e)&&s.shouldProfileSpan(e)&&i.startProfileForSpan(e)})),e.on("beforeEnvelope",(e=>{if(!s.getActiveProfilesCount())return;const t=s.findProfiledTransactionsFromEnvelope(e);if(!t.length)return;const n=[];for(const e of t){const t=e&&e.contexts,r=t&&t.profile&&t.profile.profile_id,i=t&&t.profile&&t.profile.start_timestamp;if("string"!=typeof r){o.DEBUG_BUILD&&a.logger.log("[Profiling] cannot find profile for a span without a profile context");continue}if(!r){o.DEBUG_BUILD&&a.logger.log("[Profiling] cannot find profile for a span without a profile context");continue}t&&t.profile&&delete t.profile;const l=s.takeProfileFromGlobalCache(r);if(!l){o.DEBUG_BUILD&&a.logger.log(`[Profiling] Could not retrieve profile for span: ${r}`);continue}const u=s.createProfilingEvent(r,i,l,e);u&&n.push(u)}s.addProfilesToEnvelope(e,n)}))}})));t.browserProfilingIntegration=l},98826:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(37872),a=n(24320),o=n(16421),i=n(27670),s=n(47751);t.startProfileForSpan=function(e){let t;s.isAutomatedPageLoadSpan(e)&&(t=1e3*a.timestampInSeconds());const n=s.startJSSelfProfile();if(!n)return;o.DEBUG_BUILD&&a.logger.log(`[Profiling] started profiling span: ${r.spanToJSON(e).description}`);const l=a.uuid4();async function u(){if(e&&n)return n.stop().then((t=>{c&&(i.WINDOW.clearTimeout(c),c=void 0),o.DEBUG_BUILD&&a.logger.log(`[Profiling] stopped profiling of span: ${r.spanToJSON(e).description}`),t?s.addProfileToGlobalCache(l,t):o.DEBUG_BUILD&&a.logger.log(`[Profiling] profiler returned null profile for: ${r.spanToJSON(e).description}`,"this may indicate an overlapping span or a call to stopProfiling with a profile title that was never started")})).catch((e=>{o.DEBUG_BUILD&&a.logger.log("[Profiling] error while stopping profiler:",e)}))}r.getCurrentScope().setContext("profile",{profile_id:l,start_timestamp:t});let c=i.WINDOW.setTimeout((()=>{o.DEBUG_BUILD&&a.logger.log("[Profiling] max profile duration elapsed, stopping profiling for:",r.spanToJSON(e).description),u()}),s.MAX_PROFILE_DURATION_MS);const d=e.end.bind(e);e.end=function(){return e?(u().then((()=>{d()}),(()=>{d()})),e):d()}}},47751:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(37872),a=n(24320),o=n(16421),i=n(27670),s=1e6,l=String(0),u="main";let c="",d="",p="",f=i.WINDOW.navigator&&i.WINDOW.navigator.userAgent||"",h="";const m=i.WINDOW.navigator&&i.WINDOW.navigator.language||i.WINDOW.navigator&&i.WINDOW.navigator.languages&&i.WINDOW.navigator.languages[0]||"",g=i.WINDOW.navigator&&i.WINDOW.navigator.userAgentData;var v;function y(e){return function(e){return!("thread_metadata"in e)}(e)?w(e):e}function b(e,t,n,s){if("transaction"!==s.type)throw new TypeError("Profiling events may only be attached to transactions, this should never occur.");if(null==n)throw new TypeError(`Cannot construct profiling event envelope without a valid profile. Got ${n} instead.`);const u=function(e){const t=e&&e.contexts&&e.contexts.trace&&e.contexts.trace.trace_id;return"string"==typeof t&&32!==t.length&&o.DEBUG_BUILD&&a.logger.log(`[Profiling] Invalid traceId: ${t} on profiled event`),"string"!=typeof t?"":t}(s),g=y(n),v=t||("number"==typeof s.start_timestamp?1e3*s.start_timestamp:1e3*a.timestampInSeconds()),b="number"==typeof s.timestamp?1e3*s.timestamp:1e3*a.timestampInSeconds();return{event_id:e,timestamp:new Date(v).toISOString(),platform:"javascript",version:"1",release:s.release||"",environment:s.environment||r.DEFAULT_ENVIRONMENT,runtime:{name:"javascript",version:i.WINDOW.navigator.userAgent},os:{name:c,version:d,build_number:f},device:{locale:m,model:h,manufacturer:f,architecture:p,is_emulator:!1},debug_meta:{images:S(n.resources)},profile:g,transactions:[{name:s.transaction||"",id:s.event_id||a.uuid4(),trace_id:u,active_thread_id:l,relative_start_ns:"0",relative_end_ns:(1e6*(b-v)).toFixed(0)}]}}function w(e){let t,n=0;const r={samples:[],stacks:[],frames:[],thread_metadata:{[l]:{name:u}}},o=e.samples[0];if(!o)return r;const i=o.timestamp,c="number"==typeof performance.timeOrigin?performance.timeOrigin:a.browserPerformanceTimeOrigin||0,d=c-(a.browserPerformanceTimeOrigin||c);return e.samples.forEach(((a,o)=>{if(void 0===a.stackId)return void 0===t&&(t=n,r.stacks[t]=[],n++),void(r.samples[o]={elapsed_since_start_ns:((a.timestamp+d-i)*s).toFixed(0),stack_id:t,thread_id:l});let u=e.stacks[a.stackId];const c=[];for(;u;){c.push(u.frameId);const t=e.frames[u.frameId];t&&void 0===r.frames[u.frameId]&&(r.frames[u.frameId]={function:t.name,abs_path:"number"==typeof t.resourceId?e.resources[t.resourceId]:void 0,lineno:t.line,colno:t.column}),u=void 0===u.parentId?void 0:e.stacks[u.parentId]}const p={elapsed_since_start_ns:((a.timestamp+d-i)*s).toFixed(0),stack_id:n,thread_id:l};r.stacks[n]=c,r.samples[o]=p,n++})),r}"object"==typeof(v=g)&&null!==v&&"getHighEntropyValues"in v&&g.getHighEntropyValues(["architecture","model","platform","platformVersion","fullVersionList"]).then((e=>{if(c=e.platform||"",p=e.architecture||"",h=e.model||"",d=e.platformVersion||"",e.fullVersionList&&e.fullVersionList.length>0){const t=e.fullVersionList[e.fullVersionList.length-1];f=`${t.brand} ${t.version}`}})).catch((e=>{}));const x=new WeakMap;function S(e){const t=a.GLOBAL_OBJ._sentryDebugIds;if(!t)return[];const n=r.getClient(),o=n&&n.getOptions(),i=o&&o.stackParser;if(!i)return[];let s;const l=x.get(i);l?s=l:(s=new Map,x.set(i,s));const u=Object.keys(t).reduce(((e,n)=>{let r;const a=s.get(n);a?r=a:(r=i(n),s.set(n,r));for(let a=r.length-1;a>=0;a--){const o=r[a],i=o&&o.filename;if(o&&i){e[i]=t[n];break}}return e}),{}),c=[];for(const t of e)t&&u[t]&&c.push({type:"sourcemap",code_file:t,debug_id:u[t]});return c}function _(e){return"number"!=typeof e&&"boolean"!=typeof e||"number"==typeof e&&isNaN(e)?(o.DEBUG_BUILD&&a.logger.warn(`[Profiling] Invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(e)} of type ${JSON.stringify(typeof e)}.`),!1):!0===e||!1===e||!(e<0||e>1)||(o.DEBUG_BUILD&&a.logger.warn(`[Profiling] Invalid sample rate. Sample rate must be between 0 and 1. Got ${e}.`),!1)}let A=!1;const C=new Map;t.MAX_PROFILE_DURATION_MS=3e4,t.addProfileToGlobalCache=function(e,t){if(C.set(e,t),C.size>30){const e=C.keys().next().value;C.delete(e)}},t.addProfilesToEnvelope=function(e,t){if(!t.length)return e;for(const n of t)e[1].push([{type:"profile"},n]);return e},t.applyDebugMetadata=S,t.convertJSSelfProfileToSampledFormat=w,t.createProfilePayload=b,t.createProfilingEvent=function(e,t,n,r){return function(e){return e.samples.length<2?(o.DEBUG_BUILD&&a.logger.log("[Profiling] Discarding profile because it contains less than 2 samples"),!1):!!e.frames.length||(o.DEBUG_BUILD&&a.logger.log("[Profiling] Discarding profile because it contains no frames"),!1)}(n)?b(e,t,n,r):null},t.enrichWithThreadInformation=y,t.findProfiledTransactionsFromEnvelope=function(e){const t=[];return a.forEachEnvelopeItem(e,((e,n)=>{if("transaction"===n)for(let n=1;n{Object.defineProperty(t,"__esModule",{value:!0});const r=n(37872),a=n(24320),o=n(81015),i=n(50800),s=n(16421),l=n(27670),u=n(81673),c=n(85196),d=n(84449),p=n(58968),f=n(62357),h=n(7558),m=n(36750);function g(e){return[r.inboundFiltersIntegration(),r.functionToStringIntegration(),c.browserApiErrorsIntegration(),u.breadcrumbsIntegration(),d.globalHandlersIntegration(),f.linkedErrorsIntegration(),r.dedupeIntegration(),p.httpContextIntegration()]}t.captureUserFeedback=function(e){const t=r.getClient();t&&t.captureUserFeedback(e)},t.forceLoad=function(){},t.getDefaultIntegrations=g,t.init=function(e={}){const t=function(e={}){const t={defaultIntegrations:g(),release:"string"==typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:l.WINDOW.SENTRY_RELEASE&&l.WINDOW.SENTRY_RELEASE.id?l.WINDOW.SENTRY_RELEASE.id:void 0,autoSessionTracking:!0,sendClientReports:!0};return null==e.defaultIntegrations&&delete e.defaultIntegrations,{...t,...e}}(e);if(function(){const e=void 0!==l.WINDOW.window&&l.WINDOW;if(!e)return!1;const t=e[e.chrome?"chrome":"browser"],n=t&&t.runtime&&t.runtime.id,r=l.WINDOW.location&&l.WINDOW.location.href||"",a=!!n&&l.WINDOW===l.WINDOW.top&&["chrome-extension:","moz-extension:","ms-browser-extension:","safari-web-extension:"].some((e=>r.startsWith(`${e}//`))),o=void 0!==e.nw;return!!n&&!a&&!o}())return void a.consoleSandbox((()=>{console.error("[Sentry] You cannot run Sentry this way in a browser extension, check: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")}));s.DEBUG_BUILD&&(a.supportsFetch()||a.logger.warn("No Fetch API detected. The Sentry SDK requires a Fetch API compatible environment to send events. Please add a Fetch API polyfill."));const n={...t,stackParser:a.stackParserFromStackParserOptions(t.stackParser||h.defaultStackParser),integrations:r.getIntegrationsToSetup(t),transport:t.transport||m.makeFetchTransport},u=r.initAndBind(i.BrowserClient,n);return t.autoSessionTracking&&(void 0!==l.WINDOW.document?(r.startSession({ignoreDuration:!0}),r.captureSession(),o.addHistoryInstrumentationHandler((({from:e,to:t})=>{void 0!==e&&e!==t&&(r.startSession({ignoreDuration:!0}),r.captureSession())}))):s.DEBUG_BUILD&&a.logger.warn("Session tracking in non-browser environment with @sentry/browser is not supported.")),u},t.onLoad=function(e){e()},t.showReportDialog=function(e={}){if(!l.WINDOW.document)return void(s.DEBUG_BUILD&&a.logger.error("Global document not defined in showReportDialog call"));const t=r.getCurrentScope(),n=t.getClient(),o=n&&n.getDsn();if(!o)return void(s.DEBUG_BUILD&&a.logger.error("DSN not configured for showReportDialog call"));if(t&&(e.user={...t.getUser(),...e.user}),!e.eventId){const t=r.lastEventId();t&&(e.eventId=t)}const i=l.WINDOW.document.createElement("script");i.async=!0,i.crossOrigin="anonymous",i.src=r.getReportDialogEndpoint(o,e),e.onLoad&&(i.onload=e.onLoad);const{onClose:u}=e;if(u){const e=t=>{if("__sentry_reportdialog_closed__"===t.data)try{u()}finally{l.WINDOW.removeEventListener("message",e)}};l.WINDOW.addEventListener("message",e)}const c=l.WINDOW.document.head||l.WINDOW.document.body;c?c.appendChild(i):s.DEBUG_BUILD&&a.logger.error("Not injecting report dialog. No injection point found in HTML")}},7558:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320);function a(e,t,n,a){const o={filename:e,function:""===t?r.UNKNOWN_FUNCTION:t,in_app:!0};return void 0!==n&&(o.lineno=n),void 0!==a&&(o.colno=a),o}const o=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,i=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,s=/\((\S*)(?::(\d+))(?::(\d+))\)/,l=[30,e=>{const t=o.exec(e);if(t){const[,e,n,o]=t;return a(e,r.UNKNOWN_FUNCTION,+n,+o)}const n=i.exec(e);if(n){if(n[2]&&0===n[2].indexOf("eval")){const e=s.exec(n[2]);e&&(n[2]=e[1],n[3]=e[2],n[4]=e[3])}const[e,t]=w(n[1]||r.UNKNOWN_FUNCTION,n[2]);return a(t,e,n[3]?+n[3]:void 0,n[4]?+n[4]:void 0)}}],u=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,c=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,d=[50,e=>{const t=u.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const e=c.exec(t[3]);e&&(t[1]=t[1]||"eval",t[3]=e[1],t[4]=e[2],t[5]="")}let e=t[3],n=t[1]||r.UNKNOWN_FUNCTION;return[n,e]=w(n,e),a(e,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}],p=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i,f=[40,e=>{const t=p.exec(e);return t?a(t[2],t[1]||r.UNKNOWN_FUNCTION,+t[3],t[4]?+t[4]:void 0):void 0}],h=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,m=[10,e=>{const t=h.exec(e);return t?a(t[2],t[3]||r.UNKNOWN_FUNCTION,+t[1]):void 0}],g=/ line (\d+), column (\d+)\s*(?:in (?:]+)>|([^)]+))\(.*\))? in (.*):\s*$/i,v=[20,e=>{const t=g.exec(e);return t?a(t[5],t[3]||t[4]||r.UNKNOWN_FUNCTION,+t[1],+t[2]):void 0}],y=[l,d],b=r.createStackParser(...y),w=(e,t)=>{const n=-1!==e.indexOf("safari-extension"),a=-1!==e.indexOf("safari-web-extension");return n||a?[-1!==e.indexOf("@")?e.split("@")[0]:r.UNKNOWN_FUNCTION,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]};t.chromeStackLineParser=l,t.defaultStackLineParsers=y,t.defaultStackParser=b,t.geckoStackLineParser=d,t.opera10StackLineParser=m,t.opera11StackLineParser=v,t.winjsStackLineParser=f},59233:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(37872),a=n(24320),o=n(16421),i=n(27670);t.registerBackgroundTabDetection=function(){i.WINDOW&&i.WINDOW.document?i.WINDOW.document.addEventListener("visibilitychange",(()=>{const e=r.getActiveSpan();if(!e)return;const t=r.getRootSpan(e);if(i.WINDOW.document.hidden&&t){const e="cancelled",{op:n,status:i}=r.spanToJSON(t);o.DEBUG_BUILD&&a.logger.log(`[Tracing] Transaction: ${e} -> since tab moved to the background, op: ${n}`),i||t.setStatus({code:r.SPAN_STATUS_ERROR,message:e}),t.setAttribute("sentry.cancellation_reason","document.hidden"),t.end()}})):o.DEBUG_BUILD&&a.logger.warn("[Tracing] Could not set up background tab detection due to lack of global document")}},3646:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(81015),a=n(37872),o=n(24320),i=n(16421),s=n(27670),l=n(59233),u=n(77299),c="BrowserTracing",d={...a.TRACING_DEFAULTS,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableLongAnimationFrame:!0,enableInp:!0,_experiments:{},...u.defaultRequestInstrumentationOptions};function p(e,t,n){e.emit("startPageLoadSpan",t,n),a.getCurrentScope().setTransactionName(t.name);const r=a.getActiveSpan();return"pageload"===(r&&a.spanToJSON(r).op)?r:void 0}function f(e,t){a.getIsolationScope().setPropagationContext(o.generatePropagationContext()),a.getCurrentScope().setPropagationContext(o.generatePropagationContext()),e.emit("startNavigationSpan",t),a.getCurrentScope().setTransactionName(t.name);const n=a.getActiveSpan();return"navigation"===(n&&a.spanToJSON(n).op)?n:void 0}function h(e){const t=o.getDomElement(`meta[name=${e}]`);return t?t.getAttribute("content"):void 0}t.BROWSER_TRACING_INTEGRATION_ID=c,t.browserTracingIntegration=(e={})=>{a.registerSpanErrorInstrumentation();const{enableInp:t,enableLongTask:n,enableLongAnimationFrame:m,_experiments:{enableInteractions:g,enableStandaloneClsSpans:v},beforeStartSpan:y,idleTimeout:b,finalTimeout:w,childSpanTimeout:x,markBackgroundSpan:S,traceFetch:_,traceXHR:A,shouldCreateSpanForRequest:C,enableHTTPTimings:T,instrumentPageLoad:k,instrumentNavigation:E}={...d,...e},M=r.startTrackingWebVitals({recordClsStandaloneSpans:v||!1});t&&r.startTrackingINP(),m&&o.GLOBAL_OBJ.PerformanceObserver&&PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes("long-animation-frame")?r.startTrackingLongAnimationFrames():n&&r.startTrackingLongTasks(),g&&r.startTrackingInteractions();const P={name:void 0,source:void 0};function O(e,t){const n="pageload"===t.op,o=y?y(t):t,i=o.attributes||{};t.name!==o.name&&(i[a.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]="custom",o.attributes=i),P.name=o.name,P.source=i[a.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE];const l=a.startIdleSpan(o,{idleTimeout:b,finalTimeout:w,childSpanTimeout:x,disableAutoFinish:n,beforeSpanEnd:e=>{M(),r.addPerformanceEntries(e,{recordClsOnPageloadSpan:!v})}});function u(){["interactive","complete"].includes(s.WINDOW.document.readyState)&&e.emit("idleSpanEnableAutoFinish",l)}return n&&s.WINDOW.document&&(s.WINDOW.document.addEventListener("readystatechange",(()=>{u()})),u()),l}return{name:c,afterAllSetup(e){let n,c=s.WINDOW.location&&s.WINDOW.location.href;e.on("startNavigationSpan",(t=>{a.getClient()===e&&(n&&!a.spanToJSON(n).timestamp&&(i.DEBUG_BUILD&&o.logger.log(`[Tracing] Finishing current root span with op: ${a.spanToJSON(n).op}`),n.end()),n=O(e,{op:"navigation",...t}))})),e.on("startPageLoadSpan",((t,r={})=>{if(a.getClient()!==e)return;n&&!a.spanToJSON(n).timestamp&&(i.DEBUG_BUILD&&o.logger.log(`[Tracing] Finishing current root span with op: ${a.spanToJSON(n).op}`),n.end());const s=r.sentryTrace||h("sentry-trace"),l=r.baggage||h("baggage"),u=o.propagationContextFromHeaders(s,l);a.getCurrentScope().setPropagationContext(u),n=O(e,{op:"pageload",...t})})),e.on("spanEnd",(e=>{const t=a.spanToJSON(e).op;if(e!==a.getRootSpan(e)||"navigation"!==t&&"pageload"!==t)return;const n=a.getCurrentScope(),r=n.getPropagationContext();n.setPropagationContext({...r,sampled:void 0!==r.sampled?r.sampled:a.spanIsSampled(e),dsc:r.dsc||a.getDynamicSamplingContextFromSpan(e)})})),s.WINDOW.location&&(k&&p(e,{name:s.WINDOW.location.pathname,startTime:o.browserPerformanceTimeOrigin?o.browserPerformanceTimeOrigin/1e3:void 0,attributes:{[a.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"url",[a.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.pageload.browser"}}),E&&r.addHistoryInstrumentationHandler((({to:t,from:n})=>{void 0===n&&c&&-1!==c.indexOf(t)?c=void 0:n!==t&&(c=void 0,f(e,{name:s.WINDOW.location.pathname,attributes:{[a.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"url",[a.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.navigation.browser"}}))}))),S&&l.registerBackgroundTabDetection(),g&&function(e,t,n,r){let l;s.WINDOW.document&&addEventListener("click",(()=>{const s="ui.action.click",u=a.getActiveSpan(),c=u&&a.getRootSpan(u);if(c){const e=a.spanToJSON(c).op;if(["navigation","pageload"].includes(e))return void(i.DEBUG_BUILD&&o.logger.warn(`[Tracing] Did not create ${s} span because a pageload or navigation span is in progress.`))}l&&(l.setAttribute(a.SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON,"interactionInterrupted"),l.end(),l=void 0),r.name?l=a.startIdleSpan({name:r.name,op:s,attributes:{[a.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:r.source||"url"}},{idleTimeout:e,finalTimeout:t,childSpanTimeout:n}):i.DEBUG_BUILD&&o.logger.warn(`[Tracing] Did not create ${s} transaction because _latestRouteName is missing.`)}),{once:!1,capture:!0})}(b,w,x,P),t&&r.registerInpInteractionListener(),u.instrumentOutgoingRequests(e,{traceFetch:_,traceXHR:A,tracePropagationTargets:e.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:C,enableHTTPTimings:T})}}},t.getMetaContent=h,t.startBrowserTracingNavigationSpan=f,t.startBrowserTracingPageLoadSpan=p},77299:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(81015),a=n(37872),o=n(24320),i=n(27670),s=new WeakMap,l=new Map,u={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0};function c(e){const{url:t}=a.spanToJSON(e).data||{};if(!t||"string"!=typeof t)return;const n=r.addPerformanceInstrumentationHandler("resource",(({entries:r})=>{r.forEach((r=>{(function(e){return"resource"===e.entryType&&"initiatorType"in e&&"string"==typeof e.nextHopProtocol&&("fetch"===e.initiatorType||"xmlhttprequest"===e.initiatorType)})(r)&&r.name.endsWith(t)&&(function(e){const{name:t,version:n}=d(e.nextHopProtocol),r=[];return r.push(["network.protocol.version",n],["network.protocol.name",t]),o.browserPerformanceTimeOrigin?[...r,["http.request.redirect_start",p(e.redirectStart)],["http.request.fetch_start",p(e.fetchStart)],["http.request.domain_lookup_start",p(e.domainLookupStart)],["http.request.domain_lookup_end",p(e.domainLookupEnd)],["http.request.connect_start",p(e.connectStart)],["http.request.secure_connection_start",p(e.secureConnectionStart)],["http.request.connection_end",p(e.connectEnd)],["http.request.request_start",p(e.requestStart)],["http.request.response_start",p(e.responseStart)],["http.request.response_end",p(e.responseEnd)]]:r}(r).forEach((t=>e.setAttribute(...t))),setTimeout(n))}))}))}function d(e){let t="unknown",n="unknown",r="";for(const a of e){if("/"===a){[t,n]=e.split("/");break}if(!isNaN(Number(a))){t="h"===r?"http":r,n=e.split(r)[1];break}r+=a}return r===e&&(t=r),{name:t,version:n}}function p(e=0){return((o.browserPerformanceTimeOrigin||performance.timeOrigin)+e)/1e3}function f(e,t){const n=i.WINDOW.location&&i.WINDOW.location.href;if(n){let r,a;try{r=new URL(e,n),a=new URL(n).origin}catch(e){return!1}const i=r.origin===a;return t?o.stringMatchesSomePattern(r.toString(),t)||i&&o.stringMatchesSomePattern(r.pathname,t):i}{const n=!!e.match(/^\/(?!\/)/);return t?o.stringMatchesSomePattern(e,t):n}}function h(e,t,n,i){const s=e.xhr,l=s&&s[r.SENTRY_XHR_DATA_KEY];if(!s||s.__sentry_own_request__||!l)return;const u=a.hasTracingEnabled()&&t(l.url);if(e.endTimestamp&&u){const e=s.__sentry_xhr_span_id__;if(!e)return;const t=i[e];return void(t&&void 0!==l.status_code&&(a.setHttpStatus(t,l.status_code),t.end(),delete i[e]))}const c=m(l.url),d=c?o.parseUrl(c).host:void 0,p=!!a.getActiveSpan(),f=u&&p?a.startInactiveSpan({name:`${l.method} ${l.url}`,attributes:{type:"xhr","http.method":l.method,"http.url":c,url:l.url,"server.address":d,[a.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.http.browser",[a.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"http.client"}}):new a.SentryNonRecordingSpan;s.__sentry_xhr_span_id__=f.spanContext().spanId,i[s.__sentry_xhr_span_id__]=f;const h=a.getClient();return s.setRequestHeader&&n(l.url)&&h&&function(e,t,n){const r=a.getCurrentScope(),i=a.getIsolationScope(),{traceId:s,spanId:l,sampled:u,dsc:c}={...i.getPropagationContext(),...r.getPropagationContext()};!function(e,t,n){try{e.setRequestHeader("sentry-trace",t),n&&e.setRequestHeader(o.BAGGAGE_HEADER_NAME,n)}catch(e){}}(e,n&&a.hasTracingEnabled()?a.spanToTraceHeader(n):o.generateSentryTraceHeader(s,l,u),o.dynamicSamplingContextToSentryBaggageHeader(c||(n?a.getDynamicSamplingContextFromSpan(n):a.getDynamicSamplingContextFromClient(s,t))))}(s,h,a.hasTracingEnabled()&&p?f:void 0),f}function m(e){try{return new URL(e,i.WINDOW.location.origin).href}catch(e){return}}t.defaultRequestInstrumentationOptions=u,t.extractNetworkProtocol=d,t.instrumentOutgoingRequests=function(e,t){const{traceFetch:n,traceXHR:i,shouldCreateSpanForRequest:d,enableHTTPTimings:p,tracePropagationTargets:g}={traceFetch:u.traceFetch,traceXHR:u.traceXHR,...t},v="function"==typeof d?d:e=>!0,y=e=>f(e,g),b={};n&&(e.addEventProcessor((e=>("transaction"===e.type&&e.spans&&e.spans.forEach((e=>{if("http.client"===e.op){const t=l.get(e.span_id);t&&(e.timestamp=t/1e3,l.delete(e.span_id))}})),e))),o.addFetchEndInstrumentationHandler((e=>{if(e.response){const t=s.get(e.response);t&&e.endTimestamp&&l.set(t,e.endTimestamp)}})),o.addFetchInstrumentationHandler((e=>{const t=a.instrumentFetchRequest(e,v,y,b);if(e.response&&e.fetchData.__span&&s.set(e.response,e.fetchData.__span),t){const n=m(e.fetchData.url),r=n?o.parseUrl(n).host:void 0;t.setAttributes({"http.url":n,"server.address":r})}p&&t&&c(t)}))),i&&r.addXhrInstrumentationHandler((e=>{const t=h(e,v,y,b);p&&t&&c(t)}))},t.shouldAttachHeaders=f,t.xhrCallback=h},36750:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(81015),a=n(37872),o=n(24320);t.makeFetchTransport=function(e,t=r.getNativeImplementation("fetch")){let n=0,i=0;return a.createTransport(e,(function(a){const s=a.body.length;n+=s,i++;const l={body:a.body,method:"POST",referrerPolicy:"origin",headers:e.headers,keepalive:n<=6e4&&i<15,...e.fetchOptions};if(!t)return r.clearCachedImplementation("fetch"),o.rejectedSyncPromise("No fetch implementation available");try{return t(e.url,l).then((e=>(n-=s,i--,{statusCode:e.status,headers:{"x-sentry-rate-limits":e.headers.get("X-Sentry-Rate-Limits"),"retry-after":e.headers.get("Retry-After")}})))}catch(e){return r.clearCachedImplementation("fetch"),n-=s,i--,o.rejectedSyncPromise(e)}}))}},60213:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(37872),a=n(24320),o=n(36750);function i(e){return new Promise(((t,n)=>{e.oncomplete=e.onsuccess=()=>t(e.result),e.onabort=e.onerror=()=>n(e.error)}))}function s(e,t){const n=indexedDB.open(e);n.onupgradeneeded=()=>n.result.createObjectStore(t);const r=i(n);return e=>r.then((n=>e(n.transaction(t,"readwrite").objectStore(t))))}function l(e){return i(e.getAllKeys())}function u(e,t,n){return e((e=>l(e).then((r=>{if(!(r.length>=n))return e.put(t,Math.max(...r,0)+1),i(e.transaction)}))))}function c(e,t,n){return e((e=>l(e).then((r=>{if(!(r.length>=n))return e.put(t,Math.min(...r,0)-1),i(e.transaction)}))))}function d(e){return e((e=>l(e).then((t=>{const n=t[0];if(null!=n)return i(e.get(n)).then((t=>(e.delete(n),i(e.transaction).then((()=>t)))))}))))}function p(e){let t;function n(){return null==t&&(t=s(e.dbName||"sentry-offline",e.storeName||"queue")),t}return{push:async t=>{try{const r=await a.serializeEnvelope(t);await u(n(),r,e.maxQueueSize||30)}catch(e){}},unshift:async t=>{try{const r=await a.serializeEnvelope(t);await c(n(),r,e.maxQueueSize||30)}catch(e){}},shift:async()=>{try{const e=await d(n());if(e)return a.parseEnvelope(e)}catch(e){}}}}t.createStore=s,t.makeBrowserOfflineTransport=function(e=o.makeFetchTransport){return function(e){return t=>e({...t,createStore:p})}(r.makeOfflineTransport(e))},t.push=u,t.shift=d,t.unshift=c},27227:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320);t.createUserFeedbackEnvelope=function(e,{metadata:t,tunnel:n,dsn:a}){const o={event_id:e.event_id,sent_at:(new Date).toISOString(),...t&&t.sdk&&{sdk:{name:t.sdk.name,version:t.sdk.version}},...!!n&&!!a&&{dsn:r.dsnToString(a)}},i=function(e){return[{type:"user_report"},e]}(e);return r.createEnvelope(o,[i])}},75201:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(37872),a=n(27670),o={replayIntegration:"replay",replayCanvasIntegration:"replay-canvas",feedbackIntegration:"feedback",feedbackModalIntegration:"feedback-modal",feedbackScreenshotIntegration:"feedback-screenshot",captureConsoleIntegration:"captureconsole",contextLinesIntegration:"contextlines",linkedErrorsIntegration:"linkederrors",debugIntegration:"debug",dedupeIntegration:"dedupe",extraErrorDataIntegration:"extraerrordata",httpClientIntegration:"httpclient",reportingObserverIntegration:"reportingobserver",rewriteFramesIntegration:"rewriteframes",sessionTimingIntegration:"sessiontiming",browserProfilingIntegration:"browserprofiling"},i=a.WINDOW;t.lazyLoadIntegration=async function(e,t){const n=o[e],s=i.Sentry=i.Sentry||{};if(!n)throw new Error(`Cannot lazy load integration: ${e}`);const l=s[e];if("function"==typeof l&&!("_isShim"in l))return l;const u=function(e){const t=r.getClient(),n=t&&t.getOptions(),a=n&&n.cdnBaseUrl||"https://browser.sentry-cdn.com";return new URL(`/${r.SDK_VERSION}/${e}.min.js`,a).toString()}(n),c=a.WINDOW.document.createElement("script");c.src=u,c.crossOrigin="anonymous",c.referrerPolicy="origin",t&&c.setAttribute("nonce",t);const d=new Promise(((e,t)=>{c.addEventListener("load",(()=>e())),c.addEventListener("error",t)})),p=a.WINDOW.document.currentScript,f=a.WINDOW.document.body||a.WINDOW.document.head||p&&p.parentElement;if(!f)throw new Error(`Could not find parent element to insert lazy-loaded ${e} script`);f.appendChild(c);try{await d}catch(t){throw new Error(`Error when loading integration: ${e}`)}const h=s[e];if("function"!=typeof h)throw new Error(`Could not load integration: ${e}`);return h}},85740:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320);function a(e){const t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}t.getEnvelopeEndpointWithUrlEncodedAuth=function(e,t,n){return t||`${function(e){return`${a(e)}${e.projectId}/envelope/`}(e)}?${function(e,t){return r.urlEncode({sentry_key:e.publicKey,sentry_version:"7",...t&&{sentry_client:`${t.name}/${t.version}`}})}(e,n)}`},t.getReportDialogEndpoint=function(e,t){const n=r.makeDsn(e);if(!n)return"";const o=`${a(n)}embed/error-page/`;let i=`dsn=${r.dsnToString(n)}`;for(const e in t)if("dsn"!==e&&"onClose"!==e)if("user"===e){const e=t.user;if(!e)continue;e.name&&(i+=`&name=${encodeURIComponent(e.name)}`),e.email&&(i+=`&email=${encodeURIComponent(e.email)}`)}else i+=`&${encodeURIComponent(e)}=${encodeURIComponent(t[e])}`;return`${o}?${i}`}},42810:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(73220),a=n(5475);t.getAsyncContextStrategy=function(e){const t=r.getSentryCarrier(e);return t.acs?t.acs:a.getStackAsyncContextStrategy()},t.setAsyncContextStrategy=function(e){const t=r.getMainCarrier();r.getSentryCarrier(t).acs=e}},5475:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320),a=n(37320),o=n(69640),i=n(73220);class s{constructor(e,t){let n,r;n=e||new o.Scope,r=t||new o.Scope,this._stack=[{scope:n}],this._isolationScope=r}withScope(e){const t=this._pushScope();let n;try{n=e(t)}catch(e){throw this._popScope(),e}return r.isThenable(n)?n.then((e=>(this._popScope(),e)),(e=>{throw this._popScope(),e})):(this._popScope(),n)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const e=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:e}),e}_popScope(){return!(this._stack.length<=1||!this._stack.pop())}}function l(){const e=i.getMainCarrier(),t=i.getSentryCarrier(e);return t.stack=t.stack||new s(a.getDefaultCurrentScope(),a.getDefaultIsolationScope())}function u(e){return l().withScope(e)}function c(e,t){const n=l();return n.withScope((()=>(n.getStackTop().scope=e,t(e))))}function d(e){return l().withScope((()=>e(l().getIsolationScope())))}t.AsyncContextStack=s,t.getStackAsyncContextStrategy=function(){return{withIsolationScope:d,withScope:u,withSetScope:c,withSetIsolationScope:(e,t)=>d(t),getCurrentScope:()=>l().getScope(),getIsolationScope:()=>l().getIsolationScope()}}},29564:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320),a=n(85740),o=n(49564),i=n(68974),s=n(30238),l=n(82430),u=n(11348),c=n(93754),d=n(10393),p=n(31485),f="Not capturing exception because it's already been captured.";function h(e){return void 0===e.type}function m(e){return"transaction"===e.type}t.BaseClient=class{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],e.dsn?this._dsn=r.makeDsn(e.dsn):i.DEBUG_BUILD&&r.logger.warn("No DSN provided, client will not send events."),this._dsn){const t=a.getEnvelopeEndpointWithUrlEncodedAuth(this._dsn,e.tunnel,e._metadata?e._metadata.sdk:void 0);this._transport=e.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:t})}}captureException(e,t,n){const a=r.uuid4();if(r.checkOrSetAlreadyCaught(e))return i.DEBUG_BUILD&&r.logger.log(f),a;const o={event_id:a,...t};return this._process(this.eventFromException(e,o).then((e=>this._captureEvent(e,o,n)))),o.event_id}captureMessage(e,t,n,a){const o={event_id:r.uuid4(),...n},i=r.isParameterizedString(e)?e:String(e),s=r.isPrimitive(e)?this.eventFromMessage(i,t,o):this.eventFromException(e,o);return this._process(s.then((e=>this._captureEvent(e,o,a)))),o.event_id}captureEvent(e,t,n){const a=r.uuid4();if(t&&t.originalException&&r.checkOrSetAlreadyCaught(t.originalException))return i.DEBUG_BUILD&&r.logger.log(f),a;const o={event_id:a,...t},s=(e.sdkProcessingMetadata||{}).capturedSpanScope;return this._process(this._captureEvent(e,o,s||n)),o.event_id}captureSession(e){"string"!=typeof e.release?i.DEBUG_BUILD&&r.logger.warn("Discarded session because of missing or non-string release"):(this.sendSession(e),u.updateSession(e,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(e){const t=this._transport;return t?(this.emit("flush"),this._isClientDoneProcessing(e).then((n=>t.flush(e).then((e=>n&&e))))):r.resolvedSyncPromise(!0)}close(e){return this.flush(e).then((e=>(this.getOptions().enabled=!1,this.emit("close"),e)))}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}init(){(this._isEnabled()||this._options.integrations.some((({name:e})=>e.startsWith("Spotlight"))))&&this._setupIntegrations()}getIntegrationByName(e){return this._integrations[e]}addIntegration(e){const t=this._integrations[e.name];l.setupIntegration(this,e,this._integrations),t||l.afterSetupIntegrations(this,[e])}sendEvent(e,t={}){this.emit("beforeSendEvent",e,t);let n=s.createEventEnvelope(e,this._dsn,this._options._metadata,this._options.tunnel);for(const e of t.attachments||[])n=r.addItemToEnvelope(n,r.createAttachmentEnvelopeItem(e));const a=this.sendEnvelope(n);a&&a.then((t=>this.emit("afterSendEvent",e,t)),null)}sendSession(e){const t=s.createSessionEnvelope(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(t)}recordDroppedEvent(e,t,n){if(this._options.sendClientReports){const a="number"==typeof n?n:1,o=`${e}:${t}`;i.DEBUG_BUILD&&r.logger.log(`Recording outcome: "${o}"${a>1?` (${a} times)`:""}`),this._outcomes[o]=(this._outcomes[o]||0)+a}}on(e,t){const n=this._hooks[e]=this._hooks[e]||[];return n.push(t),()=>{const e=n.indexOf(t);e>-1&&n.splice(e,1)}}emit(e,...t){const n=this._hooks[e];n&&n.forEach((e=>e(...t)))}sendEnvelope(e){return this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport?this._transport.send(e).then(null,(e=>(i.DEBUG_BUILD&&r.logger.error("Error while sending event:",e),e))):(i.DEBUG_BUILD&&r.logger.error("Transport disabled"),r.resolvedSyncPromise({}))}_setupIntegrations(){const{integrations:e}=this._options;this._integrations=l.setupIntegrations(this,e),l.afterSetupIntegrations(this,e)}_updateSessionFromEvent(e,t){let n=!1,r=!1;const a=t.exception&&t.exception.values;if(a){r=!0;for(const e of a){const t=e.mechanism;if(t&&!1===t.handled){n=!0;break}}}const o="ok"===e.status;(o&&0===e.errors||o&&n)&&(u.updateSession(e,{...n&&{status:"crashed"},errors:e.errors||Number(r||n)}),this.captureSession(e))}_isClientDoneProcessing(e){return new r.SyncPromise((t=>{let n=0;const r=setInterval((()=>{0==this._numProcessing?(clearInterval(r),t(!0)):(n+=1,e&&n>=e&&(clearInterval(r),t(!1)))}),1)}))}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(e,t,n,a=o.getIsolationScope()){const i=this.getOptions(),s=Object.keys(this._integrations);return!t.integrations&&s.length>0&&(t.integrations=s),this.emit("preprocessEvent",e,t),e.type||a.setLastEventId(e.event_id||t.event_id),p.prepareEvent(i,e,t,n,this,a).then((e=>{if(null===e)return e;const t={...a.getPropagationContext(),...n?n.getPropagationContext():void 0};if((!e.contexts||!e.contexts.trace)&&t){const{traceId:n,spanId:a,parentSpanId:o,dsc:i}=t;e.contexts={trace:r.dropUndefinedKeys({trace_id:n,span_id:a,parent_span_id:o}),...e.contexts};const s=i||c.getDynamicSamplingContextFromClient(n,this);e.sdkProcessingMetadata={dynamicSamplingContext:s,...e.sdkProcessingMetadata}}return e}))}_captureEvent(e,t={},n){return this._processEvent(e,t,n).then((e=>e.event_id),(e=>{if(i.DEBUG_BUILD){const t=e;"log"===t.logLevel?r.logger.log(t.message):r.logger.warn(t)}}))}_processEvent(e,t,n){const a=this.getOptions(),{sampleRate:o}=a,i=m(e),s=h(e),l=e.type||"error",u=`before send for type \`${l}\``,c=void 0===o?void 0:d.parseSampleRate(o);if(s&&"number"==typeof c&&Math.random()>c)return this.recordDroppedEvent("sample_rate","error",e),r.rejectedSyncPromise(new r.SentryError(`Discarding event because it's not included in the random sample (sampling rate = ${o})`,"log"));const p="replay_event"===l?"replay":l,f=(e.sdkProcessingMetadata||{}).capturedSpanIsolationScope;return this._prepareEvent(e,t,n,f).then((n=>{if(null===n)throw this.recordDroppedEvent("event_processor",p,e),new r.SentryError("An event processor returned `null`, will not send event.","log");if(t.data&&!0===t.data.__sentry__)return n;const o=function(e,t,n,r){const{beforeSend:a,beforeSendTransaction:o,beforeSendSpan:i}=t;if(h(n)&&a)return a(n,r);if(m(n)){if(n.spans&&i){const t=[];for(const r of n.spans){const n=i(r);n?t.push(n):e.recordDroppedEvent("before_send","span")}n.spans=t}if(o){if(n.spans){const e=n.spans.length;n.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:e}}return o(n,r)}}return n}(this,a,n,t);return function(e,t){const n=`${t} must return \`null\` or a valid event.`;if(r.isThenable(e))return e.then((e=>{if(!r.isPlainObject(e)&&null!==e)throw new r.SentryError(n);return e}),(e=>{throw new r.SentryError(`${t} rejected with ${e}`)}));if(!r.isPlainObject(e)&&null!==e)throw new r.SentryError(n);return e}(o,u)})).then((a=>{if(null===a){if(this.recordDroppedEvent("before_send",p,e),i){const t=1+(e.spans||[]).length;this.recordDroppedEvent("before_send","span",t)}throw new r.SentryError(`${u} returned \`null\`, will not send event.`,"log")}const o=n&&n.getSession();if(!i&&o&&this._updateSessionFromEvent(o,a),i){const e=(a.sdkProcessingMetadata&&a.sdkProcessingMetadata.spanCountBeforeProcessing||0)-(a.spans?a.spans.length:0);e>0&&this.recordDroppedEvent("before_send","span",e)}const s=a.transaction_info;if(i&&s&&a.transaction!==e.transaction){const e="custom";a.transaction_info={...s,source:e}}return this.sendEvent(a,t),a})).then(null,(e=>{if(e instanceof r.SentryError)throw e;throw this.captureException(e,{data:{__sentry__:!0},originalException:e}),new r.SentryError(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ${e}`)}))}_process(e){this._numProcessing++,e.then((e=>(this._numProcessing--,e)),(e=>(this._numProcessing--,e)))}_clearOutcomes(){const e=this._outcomes;return this._outcomes={},Object.entries(e).map((([e,t])=>{const[n,r]=e.split(":");return{reason:n,category:r,quantity:t}}))}_flushOutcomes(){i.DEBUG_BUILD&&r.logger.log("Flushing outcomes...");const e=this._clearOutcomes();if(0===e.length)return void(i.DEBUG_BUILD&&r.logger.log("No outcomes to send"));if(!this._dsn)return void(i.DEBUG_BUILD&&r.logger.log("No dsn provided, will not send outcomes"));i.DEBUG_BUILD&&r.logger.log("Sending outcomes:",e);const t=r.createClientReportEnvelope(e,this._options.tunnel&&r.dsnToString(this._dsn));this.sendEnvelope(t)}}},87990:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320),a=n(49564),o=100;t.addBreadcrumb=function(e,t){const n=a.getClient(),i=a.getIsolationScope();if(!n)return;const{beforeBreadcrumb:s=null,maxBreadcrumbs:l=o}=n.getOptions();if(l<=0)return;const u={timestamp:r.dateTimestampInSeconds(),...e},c=s?r.consoleSandbox((()=>s(u,t))):u;null!==c&&(n.emit&&n.emit("beforeAddBreadcrumb",c,t),i.addBreadcrumb(c,l))}},73220:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320);function a(e){const t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||r.SDK_VERSION,t[r.SDK_VERSION]=t[r.SDK_VERSION]||{}}t.getMainCarrier=function(){return a(r.GLOBAL_OBJ),r.GLOBAL_OBJ},t.getSentryCarrier=a},60251:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320);t.createCheckInEnvelope=function(e,t,n,a,o){const i={sent_at:(new Date).toISOString()};n&&n.sdk&&(i.sdk={name:n.sdk.name,version:n.sdk.version}),a&&o&&(i.dsn=r.dsnToString(o)),t&&(i.trace=r.dropUndefinedKeys(t));const s=function(e){return[{type:"check_in"},e]}(e);return r.createEnvelope(i,[s])}},42501:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_ENVIRONMENT="production"},49564:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320),a=n(42810),o=n(73220),i=n(69640);function s(){const e=o.getMainCarrier();return a.getAsyncContextStrategy(e).getCurrentScope()}t.getClient=function(){return s().getClient()},t.getCurrentScope=s,t.getGlobalScope=function(){return r.getGlobalSingleton("globalScope",(()=>new i.Scope))},t.getIsolationScope=function(){const e=o.getMainCarrier();return a.getAsyncContextStrategy(e).getIsolationScope()},t.withIsolationScope=function(...e){const t=o.getMainCarrier(),n=a.getAsyncContextStrategy(t);if(2===e.length){const[t,r]=e;return t?n.withSetIsolationScope(t,r):n.withIsolationScope(r)}return n.withIsolationScope(e[0])},t.withScope=function(...e){const t=o.getMainCarrier(),n=a.getAsyncContextStrategy(t);if(2===e.length){const[t,r]=e;return t?n.withSetScope(t,r):n.withScope(r)}return n.withScope(e[0])}},68974:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0});const n="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;t.DEBUG_BUILD=n},37320:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320),a=n(69640);t.getDefaultCurrentScope=function(){return r.getGlobalSingleton("defaultCurrentScope",(()=>new a.Scope))},t.getDefaultIsolationScope=function(){return r.getGlobalSingleton("defaultIsolationScope",(()=>new a.Scope))}},30238:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320),a=n(93754),o=n(54583);t.createEventEnvelope=function(e,t,n,a){const o=r.getSdkMetadataForEnvelopeHeader(n),i=e.type&&"replay_event"!==e.type?e.type:"event";!function(e,t){t&&(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||t.name,e.sdk.version=e.sdk.version||t.version,e.sdk.integrations=[...e.sdk.integrations||[],...t.integrations||[]],e.sdk.packages=[...e.sdk.packages||[],...t.packages||[]])}(e,n&&n.sdk);const s=r.createEventEnvelopeHeaders(e,o,a,t);delete e.sdkProcessingMetadata;const l=[{type:i},e];return r.createEnvelope(s,[l])},t.createSessionEnvelope=function(e,t,n,a){const o=r.getSdkMetadataForEnvelopeHeader(n),i={sent_at:(new Date).toISOString(),...o&&{sdk:o},...!!a&&t&&{dsn:r.dsnToString(t)}},s="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()];return r.createEnvelope(i,[s])},t.createSpanEnvelope=function(e,t){const n=a.getDynamicSamplingContextFromSpan(e[0]),i=t&&t.getDsn(),s=t&&t.getOptions().tunnel,l={sent_at:(new Date).toISOString(),...function(e){return!!e.trace_id&&!!e.public_key}(n)&&{trace:n},...!!s&&i&&{dsn:r.dsnToString(i)}},u=t&&t.getOptions().beforeSendSpan,c=u?e=>u(o.spanToJSON(e)):e=>o.spanToJSON(e),d=[];for(const t of e){const e=c(t);e&&d.push(r.createSpanEnvelopeItem(e))}return r.createEnvelope(l,d)}},51929:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320),a=n(68974);t.notifyEventProcessors=function e(t,n,o,i=0){return new r.SyncPromise(((s,l)=>{const u=t[i];if(null===n||"function"!=typeof u)s(n);else{const c=u({...n},o);a.DEBUG_BUILD&&u.id&&null===c&&r.logger.log(`Event processor "${u.id}" dropped event`),r.isThenable(c)?c.then((n=>e(t,n,o,i+1).then(s))).then(null,l):e(t,c,o,i+1).then(s).then(null,l)}}))}},79183:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320),a=n(42501),o=n(49564),i=n(68974),s=n(11348),l=n(31485);function u(e,t){const n=o.getCurrentScope(),a=o.getClient();if(a){if(a.captureCheckIn)return a.captureCheckIn(e,t,n);i.DEBUG_BUILD&&r.logger.warn("Cannot capture check-in. Client does not support sending check-ins.")}else i.DEBUG_BUILD&&r.logger.warn("Cannot capture check-in. No client defined.");return r.uuid4()}function c(){const e=o.getIsolationScope(),t=o.getCurrentScope(),n=t.getSession()||e.getSession();n&&s.closeSession(n),d(),e.setSession(),t.setSession()}function d(){const e=o.getIsolationScope(),t=o.getCurrentScope(),n=o.getClient(),r=t.getSession()||e.getSession();r&&n&&n.captureSession(r)}t.addEventProcessor=function(e){o.getIsolationScope().addEventProcessor(e)},t.captureCheckIn=u,t.captureEvent=function(e,t){return o.getCurrentScope().captureEvent(e,t)},t.captureException=function(e,t){return o.getCurrentScope().captureException(e,l.parseEventHintOrCaptureContext(t))},t.captureMessage=function(e,t){const n="string"==typeof t?t:void 0,r="string"!=typeof t?{captureContext:t}:void 0;return o.getCurrentScope().captureMessage(e,n,r)},t.captureSession=function(e=!1){e?c():d()},t.close=async function(e){const t=o.getClient();return t?t.close(e):(i.DEBUG_BUILD&&r.logger.warn("Cannot flush events and disable SDK. No client defined."),Promise.resolve(!1))},t.endSession=c,t.flush=async function(e){const t=o.getClient();return t?t.flush(e):(i.DEBUG_BUILD&&r.logger.warn("Cannot flush events. No client defined."),Promise.resolve(!1))},t.isEnabled=function(){const e=o.getClient();return!!e&&!1!==e.getOptions().enabled&&!!e.getTransport()},t.isInitialized=function(){return!!o.getClient()},t.lastEventId=function(){return o.getIsolationScope().lastEventId()},t.setContext=function(e,t){o.getIsolationScope().setContext(e,t)},t.setExtra=function(e,t){o.getIsolationScope().setExtra(e,t)},t.setExtras=function(e){o.getIsolationScope().setExtras(e)},t.setTag=function(e,t){o.getIsolationScope().setTag(e,t)},t.setTags=function(e){o.getIsolationScope().setTags(e)},t.setUser=function(e){o.getIsolationScope().setUser(e)},t.startSession=function(e){const t=o.getClient(),n=o.getIsolationScope(),i=o.getCurrentScope(),{release:l,environment:u=a.DEFAULT_ENVIRONMENT}=t&&t.getOptions()||{},{userAgent:d}=r.GLOBAL_OBJ.navigator||{},p=s.makeSession({release:l,environment:u,user:i.getUser()||n.getUser(),...d&&{userAgent:d},...e}),f=n.getSession();return f&&"ok"===f.status&&s.updateSession(f,{status:"exited"}),c(),n.setSession(p),i.setSession(p),p},t.withMonitor=function(e,t,n){const a=u({monitorSlug:e,status:"in_progress"},n),i=r.timestampInSeconds();function s(t){u({monitorSlug:e,status:t,checkInId:a,duration:r.timestampInSeconds()-i})}return o.withIsolationScope((()=>{let e;try{e=t()}catch(e){throw s("error"),e}return r.isThenable(e)?Promise.resolve(e).then((()=>{s("ok")}),(()=>{s("error")})):s("ok"),e}))}},6933:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320),a=n(49564);t.captureFeedback=function(e,t={},n=a.getCurrentScope()){const{message:o,name:i,email:s,url:l,source:u,associatedEventId:c,tags:d}=e,p={contexts:{feedback:r.dropUndefinedKeys({contact_email:s,name:i,message:o,url:l,source:u,associated_event_id:c})},type:"feedback",level:"info",tags:d},f=n&&n.getClient()||a.getClient();return f&&f.emit("beforeSendFeedback",p,t),n.captureEvent(p,t)}},31096:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320),a=n(49564),o=n(52751);n(44038),n(68974);const i=n(60073),s=n(54583),l=n(67392),u=n(15363),c=n(55908),d=n(93754);function p(e,t,n,o,i){const l=a.getIsolationScope(),{traceId:u,spanId:c,sampled:p,dsc:f}={...l.getPropagationContext(),...n.getPropagationContext()},h=i?s.spanToTraceHeader(i):r.generateSentryTraceHeader(u,c,p),m=r.dynamicSamplingContextToSentryBaggageHeader(f||(i?d.getDynamicSamplingContextFromSpan(i):d.getDynamicSamplingContextFromClient(u,t))),g=o.headers||("undefined"!=typeof Request&&r.isInstanceOf(e,Request)?e.headers:void 0);if(g){if("undefined"!=typeof Headers&&r.isInstanceOf(g,Headers)){const e=new Headers(g);return e.append("sentry-trace",h),m&&e.append(r.BAGGAGE_HEADER_NAME,m),e}if(Array.isArray(g)){const e=[...g,["sentry-trace",h]];return m&&e.push([r.BAGGAGE_HEADER_NAME,m]),e}{const e="baggage"in g?g.baggage:void 0,t=[];return Array.isArray(e)?t.push(...e):e&&t.push(e),m&&t.push(m),{...g,"sentry-trace":h,baggage:t.length>0?t.join(","):void 0}}}return{"sentry-trace":h,baggage:m}}t.addTracingHeadersToFetchRequest=p,t.instrumentFetchRequest=function(e,t,n,d,f="auto.http.browser"){if(!e.fetchData)return;const h=i.hasTracingEnabled()&&t(e.fetchData.url);if(e.endTimestamp&&h){const t=e.fetchData.__span;if(!t)return;const n=d[t];return void(n&&(function(e,t){if(t.response){u.setHttpStatus(e,t.response.status);const n=t.response&&t.response.headers&&t.response.headers.get("content-length");if(n){const t=parseInt(n);t>0&&e.setAttribute("http.response_content_length",t)}}else t.error&&e.setStatus({code:u.SPAN_STATUS_ERROR,message:"internal_error"});e.end()}(n,e),delete d[t]))}const m=a.getCurrentScope(),g=a.getClient(),{method:v,url:y}=e.fetchData,b=function(e){try{return new URL(e).href}catch(e){return}}(y),w=b?r.parseUrl(b).host:void 0,x=!!s.getActiveSpan(),S=h&&x?c.startInactiveSpan({name:`${v} ${y}`,attributes:{url:y,type:"fetch","http.method":v,"http.url":b,"server.address":w,[o.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:f,[o.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"http.client"}}):new l.SentryNonRecordingSpan;if(e.fetchData.__span=S.spanContext().spanId,d[S.spanContext().spanId]=S,n(e.fetchData.url)&&g){const t=e.args[0];e.args[1]=e.args[1]||{};const n=e.args[1];n.headers=p(t,g,m,n,i.hasTracingEnabled()&&x?S:void 0)}return S}},67249:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(87990),a=n(49564),o=n(79183);function i(){return{bindClient(e){a.getCurrentScope().setClient(e)},withScope:a.withScope,getClient:()=>a.getClient(),getScope:a.getCurrentScope,getIsolationScope:a.getIsolationScope,captureException:(e,t)=>a.getCurrentScope().captureException(e,t),captureMessage:(e,t,n)=>a.getCurrentScope().captureMessage(e,t,n),captureEvent:o.captureEvent,addBreadcrumb:r.addBreadcrumb,setUser:o.setUser,setTags:o.setTags,setTag:o.setTag,setExtra:o.setExtra,setExtras:o.setExtras,setContext:o.setContext,getIntegration(e){const t=a.getClient();return t&&t.getIntegrationByName(e.id)||null},startSession:o.startSession,endSession:o.endSession,captureSession(e){if(e)return o.endSession();!function(){const e=a.getCurrentScope(),t=a.getClient(),n=e.getSession();t&&n&&t.captureSession(n)}()}}}const s=i;t.getCurrentHub=s,t.getCurrentHubShim=i},37872:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(44038),a=n(64284),o=n(12188),i=n(57011),s=n(30242),l=n(67392),u=n(15363),c=n(55908),d=n(93754),p=n(28945),f=n(79816),h=n(8346),m=n(52751),g=n(30238),v=n(79183),y=n(49564),b=n(37320),w=n(42810),x=n(73220),S=n(11348),_=n(84751),A=n(69640),C=n(51929),T=n(85740),k=n(29564),E=n(24842),M=n(27008),P=n(64450),O=n(52256),I=n(14082),D=n(82430),R=n(5013),N=n(31485),L=n(60251),$=n(60073),j=n(46877),F=n(76354),B=n(72979),z=n(54583),W=n(10393),V=n(55303),U=n(20647),H=n(145),q=n(42501),G=n(87990),Y=n(68360),X=n(66492),K=n(92958),Q=n(52213),Z=n(92215),J=n(75003),ee=n(39097),te=n(431),ne=n(41312),re=n(17536),ae=n(200),oe=n(24208),ie=n(80699),se=n(92177),le=n(83090),ue=n(9133),ce=n(92094),de=n(14021),pe=n(31096),fe=n(36033),he=n(6933),me=n(67249),ge=n(24320);t.registerSpanErrorInstrumentation=r.registerSpanErrorInstrumentation,t.getCapturedScopesOnSpan=a.getCapturedScopesOnSpan,t.setCapturedScopesOnSpan=a.setCapturedScopesOnSpan,t.addTracingExtensions=o.addTracingExtensions,t.TRACING_DEFAULTS=i.TRACING_DEFAULTS,t.startIdleSpan=i.startIdleSpan,t.SentrySpan=s.SentrySpan,t.SentryNonRecordingSpan=l.SentryNonRecordingSpan,t.SPAN_STATUS_ERROR=u.SPAN_STATUS_ERROR,t.SPAN_STATUS_OK=u.SPAN_STATUS_OK,t.SPAN_STATUS_UNSET=u.SPAN_STATUS_UNSET,t.getSpanStatusFromHttpCode=u.getSpanStatusFromHttpCode,t.setHttpStatus=u.setHttpStatus,t.continueTrace=c.continueTrace,t.startInactiveSpan=c.startInactiveSpan,t.startNewTrace=c.startNewTrace,t.startSpan=c.startSpan,t.startSpanManual=c.startSpanManual,t.suppressTracing=c.suppressTracing,t.withActiveSpan=c.withActiveSpan,t.getDynamicSamplingContextFromClient=d.getDynamicSamplingContextFromClient,t.getDynamicSamplingContextFromSpan=d.getDynamicSamplingContextFromSpan,t.spanToBaggageHeader=d.spanToBaggageHeader,t.setMeasurement=p.setMeasurement,t.timedEventsToMeasurements=p.timedEventsToMeasurements,t.sampleSpan=f.sampleSpan,t.logSpanEnd=h.logSpanEnd,t.logSpanStart=h.logSpanStart,t.SEMANTIC_ATTRIBUTE_CACHE_HIT=m.SEMANTIC_ATTRIBUTE_CACHE_HIT,t.SEMANTIC_ATTRIBUTE_CACHE_ITEM_SIZE=m.SEMANTIC_ATTRIBUTE_CACHE_ITEM_SIZE,t.SEMANTIC_ATTRIBUTE_CACHE_KEY=m.SEMANTIC_ATTRIBUTE_CACHE_KEY,t.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME=m.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME,t.SEMANTIC_ATTRIBUTE_HTTP_REQUEST_METHOD=m.SEMANTIC_ATTRIBUTE_HTTP_REQUEST_METHOD,t.SEMANTIC_ATTRIBUTE_PROFILE_ID=m.SEMANTIC_ATTRIBUTE_PROFILE_ID,t.SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON=m.SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON,t.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT=m.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT,t.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE=m.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE,t.SEMANTIC_ATTRIBUTE_SENTRY_OP=m.SEMANTIC_ATTRIBUTE_SENTRY_OP,t.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN=m.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN,t.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE=m.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE,t.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE=m.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,t.SEMANTIC_ATTRIBUTE_URL_FULL=m.SEMANTIC_ATTRIBUTE_URL_FULL,t.createEventEnvelope=g.createEventEnvelope,t.createSessionEnvelope=g.createSessionEnvelope,t.createSpanEnvelope=g.createSpanEnvelope,t.addEventProcessor=v.addEventProcessor,t.captureCheckIn=v.captureCheckIn,t.captureEvent=v.captureEvent,t.captureException=v.captureException,t.captureMessage=v.captureMessage,t.captureSession=v.captureSession,t.close=v.close,t.endSession=v.endSession,t.flush=v.flush,t.isEnabled=v.isEnabled,t.isInitialized=v.isInitialized,t.lastEventId=v.lastEventId,t.setContext=v.setContext,t.setExtra=v.setExtra,t.setExtras=v.setExtras,t.setTag=v.setTag,t.setTags=v.setTags,t.setUser=v.setUser,t.startSession=v.startSession,t.withMonitor=v.withMonitor,t.getClient=y.getClient,t.getCurrentScope=y.getCurrentScope,t.getGlobalScope=y.getGlobalScope,t.getIsolationScope=y.getIsolationScope,t.withIsolationScope=y.withIsolationScope,t.withScope=y.withScope,t.getDefaultCurrentScope=b.getDefaultCurrentScope,t.getDefaultIsolationScope=b.getDefaultIsolationScope,t.setAsyncContextStrategy=w.setAsyncContextStrategy,t.getMainCarrier=x.getMainCarrier,t.closeSession=S.closeSession,t.makeSession=S.makeSession,t.updateSession=S.updateSession,t.SessionFlusher=_.SessionFlusher,t.Scope=A.Scope,t.notifyEventProcessors=C.notifyEventProcessors,t.getEnvelopeEndpointWithUrlEncodedAuth=T.getEnvelopeEndpointWithUrlEncodedAuth,t.getReportDialogEndpoint=T.getReportDialogEndpoint,t.BaseClient=k.BaseClient,t.ServerRuntimeClient=E.ServerRuntimeClient,t.initAndBind=M.initAndBind,t.setCurrentClient=M.setCurrentClient,t.createTransport=P.createTransport,t.makeOfflineTransport=O.makeOfflineTransport,t.makeMultiplexedTransport=I.makeMultiplexedTransport,t.addIntegration=D.addIntegration,t.defineIntegration=D.defineIntegration,t.getIntegrationsToSetup=D.getIntegrationsToSetup,t.applyScopeDataToEvent=R.applyScopeDataToEvent,t.mergeScopeData=R.mergeScopeData,t.prepareEvent=N.prepareEvent,t.createCheckInEnvelope=L.createCheckInEnvelope,t.hasTracingEnabled=$.hasTracingEnabled,t.isSentryRequestUrl=j.isSentryRequestUrl,t.handleCallbackErrors=F.handleCallbackErrors,t.parameterize=B.parameterize,t.addChildSpanToSpan=z.addChildSpanToSpan,t.getActiveSpan=z.getActiveSpan,t.getRootSpan=z.getRootSpan,t.getSpanDescendants=z.getSpanDescendants,t.getStatusMessage=z.getStatusMessage,t.spanIsSampled=z.spanIsSampled,t.spanTimeInputToSeconds=z.spanTimeInputToSeconds,t.spanToJSON=z.spanToJSON,t.spanToTraceContext=z.spanToTraceContext,t.spanToTraceHeader=z.spanToTraceHeader,t.parseSampleRate=W.parseSampleRate,t.applySdkMetadata=V.applySdkMetadata,t.getTraceData=U.getTraceData,t.getTraceMetaTags=H.getTraceMetaTags,t.DEFAULT_ENVIRONMENT=q.DEFAULT_ENVIRONMENT,t.addBreadcrumb=G.addBreadcrumb,t.functionToStringIntegration=Y.functionToStringIntegration,t.inboundFiltersIntegration=X.inboundFiltersIntegration,t.linkedErrorsIntegration=K.linkedErrorsIntegration,t.moduleMetadataIntegration=Q.moduleMetadataIntegration,t.requestDataIntegration=Z.requestDataIntegration,t.captureConsoleIntegration=J.captureConsoleIntegration,t.debugIntegration=ee.debugIntegration,t.dedupeIntegration=te.dedupeIntegration,t.extraErrorDataIntegration=ne.extraErrorDataIntegration,t.rewriteFramesIntegration=re.rewriteFramesIntegration,t.sessionTimingIntegration=ae.sessionTimingIntegration,t.zodErrorsIntegration=oe.zodErrorsIntegration,t.thirdPartyErrorFilterIntegration=ie.thirdPartyErrorFilterIntegration,t.metrics=se.metrics,t.profiler=le.profiler,t.metricsDefault=ue.metricsDefault,t.BrowserMetricsAggregator=ce.BrowserMetricsAggregator,t.getMetricSummaryJsonForSpan=de.getMetricSummaryJsonForSpan,t.addTracingHeadersToFetchRequest=pe.addTracingHeadersToFetchRequest,t.instrumentFetchRequest=pe.instrumentFetchRequest,t.trpcMiddleware=fe.trpcMiddleware,t.captureFeedback=he.captureFeedback,t.getCurrentHub=me.getCurrentHub,t.getCurrentHubShim=me.getCurrentHubShim,t.SDK_VERSION=ge.SDK_VERSION},82430:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320),a=n(49564),o=n(68974),i=[];function s(e,t,n){if(n[t.name])o.DEBUG_BUILD&&r.logger.log(`Integration skipped because it was already installed: ${t.name}`);else{if(n[t.name]=t,-1===i.indexOf(t.name)&&"function"==typeof t.setupOnce&&(t.setupOnce(),i.push(t.name)),t.setup&&"function"==typeof t.setup&&t.setup(e),"function"==typeof t.preprocessEvent){const n=t.preprocessEvent.bind(t);e.on("preprocessEvent",((t,r)=>n(t,r,e)))}if("function"==typeof t.processEvent){const n=t.processEvent.bind(t),r=Object.assign(((t,r)=>n(t,r,e)),{id:t.name});e.addEventProcessor(r)}o.DEBUG_BUILD&&r.logger.log(`Integration installed: ${t.name}`)}}t.addIntegration=function(e){const t=a.getClient();t?t.addIntegration(e):o.DEBUG_BUILD&&r.logger.warn(`Cannot add integration "${e.name}" because no SDK Client is available.`)},t.afterSetupIntegrations=function(e,t){for(const n of t)n&&n.afterAllSetup&&n.afterAllSetup(e)},t.defineIntegration=function(e){return e},t.getIntegrationsToSetup=function(e){const t=e.defaultIntegrations||[],n=e.integrations;let a;t.forEach((e=>{e.isDefaultInstance=!0})),a=Array.isArray(n)?[...t,...n]:"function"==typeof n?r.arrayify(n(t)):t;const o=function(e){const t={};return e.forEach((e=>{const{name:n}=e,r=t[n];r&&!r.isDefaultInstance&&e.isDefaultInstance||(t[n]=e)})),Object.values(t)}(a),i=o.findIndex((e=>"Debug"===e.name));if(i>-1){const[e]=o.splice(i,1);o.push(e)}return o},t.installedIntegrations=i,t.setupIntegration=s,t.setupIntegrations=function(e,t){const n={};return t.forEach((t=>{t&&s(e,t,n)})),n}},75003:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320),a=n(49564),o=n(79183),i=n(82430).defineIntegration(((e={})=>{const t=e.levels||r.CONSOLE_LEVELS;return{name:"CaptureConsole",setup(e){"console"in r.GLOBAL_OBJ&&r.addConsoleInstrumentationHandler((({args:n,level:i})=>{a.getClient()===e&&t.includes(i)&&function(e,t){const n={level:r.severityLevelFromString(t),extra:{arguments:e}};a.withScope((a=>{if(a.addEventProcessor((e=>(e.logger="console",r.addExceptionMechanism(e,{handled:!1,type:"console"}),e))),"assert"===t){if(!e[0]){const t=`Assertion failed: ${r.safeJoin(e.slice(1)," ")||"console.assert"}`;a.setExtra("arguments",e.slice(1)),o.captureMessage(t,n)}return}const i=e.find((e=>e instanceof Error));if(i)return void o.captureException(i,n);const s=r.safeJoin(e," ");o.captureMessage(s,n)}))}(n,i)}))}}}));t.captureConsoleIntegration=i},39097:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320),a=n(82430).defineIntegration(((e={})=>{const t={debugger:!1,stringify:!1,...e};return{name:"Debug",setup(e){e.on("beforeSendEvent",((e,n)=>{t.debugger,r.consoleSandbox((()=>{t.stringify?(console.log(JSON.stringify(e,null,2)),n&&Object.keys(n).length&&console.log(JSON.stringify(n,null,2))):(console.log(e),n&&Object.keys(n).length&&console.log(n))}))}))}}}));t.debugIntegration=a},431:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320),a=n(82430),o=n(68974),i=a.defineIntegration((()=>{let e;return{name:"Dedupe",processEvent(t){if(t.type)return t;try{if(s(t,e))return o.DEBUG_BUILD&&r.logger.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(e){}return e=t}}}));function s(e,t){return!(!t||!function(e,t){const n=e.message,r=t.message;return!(!n&&!r)&&(!(n&&!r||!n&&r)&&(n===r&&(!!u(e,t)&&!!l(e,t))))}(e,t)&&!function(e,t){const n=c(t),r=c(e);return!(!n||!r)&&(n.type===r.type&&n.value===r.value&&(!!u(e,t)&&!!l(e,t)))}(e,t))}function l(e,t){let n=r.getFramesFromEvent(e),a=r.getFramesFromEvent(t);if(!n&&!a)return!0;if(n&&!a||!n&&a)return!1;if(a.length!==n.length)return!1;for(let e=0;e{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320),a=n(82430),o=n(68974),i=a.defineIntegration(((e={})=>{const{depth:t=3,captureErrorCause:n=!0}=e;return{name:"ExtraErrorData",processEvent(e,a,i){const{maxValueLength:s=250}=i.getOptions();return function(e,t={},n,a,i){if(!t.originalException||!r.isError(t.originalException))return e;const s=t.originalException.name||t.originalException.constructor.name,l=function(e,t,n){try{const a=["name","message","stack","line","column","fileName","lineNumber","columnNumber","toJSON"],o={};for(const t of Object.keys(e)){if(-1!==a.indexOf(t))continue;const i=e[t];o[t]=r.isError(i)||"string"==typeof i?r.truncate(`${i}`,n):i}if(t&&void 0!==e.cause&&(o.cause=r.isError(e.cause)?e.cause.toString():e.cause),"function"==typeof e.toJSON){const t=e.toJSON();for(const e of Object.keys(t)){const n=t[e];o[e]=r.isError(n)?n.toString():n}}return o}catch(e){o.DEBUG_BUILD&&r.logger.error("Unable to extract extra data from the Error object:",e)}return null}(t.originalException,a,i);if(l){const t={...e.contexts},a=r.normalize(l,n);return r.isPlainObject(a)&&(r.addNonEnumerableProperty(a,"__sentry_skip_normalization__",!0),t[s]=a),{...e,contexts:t}}return e}(e,a,t,n,s)}}}));t.extraErrorDataIntegration=i},68360:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320),a=n(49564),o=n(82430);let i;const s=new WeakMap,l=o.defineIntegration((()=>({name:"FunctionToString",setupOnce(){i=Function.prototype.toString;try{Function.prototype.toString=function(...e){const t=r.getOriginalFunction(this),n=s.has(a.getClient())&&void 0!==t?t:this;return i.apply(n,e)}}catch(e){}},setup(e){s.set(e,!0)}})));t.functionToStringIntegration=l},66492:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320),a=n(68974),o=n(82430),i=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,"undefined is not an object (evaluating 'a.L')",'can\'t redefine non-configurable property "solana"',"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)","Can't find variable: _AutofillCallbackHandler"],s=o.defineIntegration(((e={})=>({name:"InboundFilters",processEvent(t,n,o){const s=o.getOptions(),u=function(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:i],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]],ignoreInternal:void 0===e.ignoreInternal||e.ignoreInternal}}(e,s);return function(e,t){return t.ignoreInternal&&function(e){try{return"SentryError"===e.exception.values[0].type}catch(e){}return!1}(e)?(a.DEBUG_BUILD&&r.logger.warn(`Event dropped due to being internal Sentry Error.\nEvent: ${r.getEventDescription(e)}`),!0):function(e,t){return!(e.type||!t||!t.length)&&function(e){const t=[];let n;e.message&&t.push(e.message);try{n=e.exception.values[e.exception.values.length-1]}catch(e){}return n&&n.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`)),t}(e).some((e=>r.stringMatchesSomePattern(e,t)))}(e,t.ignoreErrors)?(a.DEBUG_BUILD&&r.logger.warn(`Event dropped due to being matched by \`ignoreErrors\` option.\nEvent: ${r.getEventDescription(e)}`),!0):function(e){return!e.type&&(!(!e.exception||!e.exception.values||0===e.exception.values.length)&&(!e.message&&!e.exception.values.some((e=>e.stacktrace||e.type&&"Error"!==e.type||e.value))))}(e)?(a.DEBUG_BUILD&&r.logger.warn(`Event dropped due to not having an error message, error type or stacktrace.\nEvent: ${r.getEventDescription(e)}`),!0):function(e,t){if("transaction"!==e.type||!t||!t.length)return!1;const n=e.transaction;return!!n&&r.stringMatchesSomePattern(n,t)}(e,t.ignoreTransactions)?(a.DEBUG_BUILD&&r.logger.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.\nEvent: ${r.getEventDescription(e)}`),!0):function(e,t){if(!t||!t.length)return!1;const n=l(e);return!!n&&r.stringMatchesSomePattern(n,t)}(e,t.denyUrls)?(a.DEBUG_BUILD&&r.logger.warn(`Event dropped due to being matched by \`denyUrls\` option.\nEvent: ${r.getEventDescription(e)}.\nUrl: ${l(e)}`),!0):!function(e,t){if(!t||!t.length)return!0;const n=l(e);return!n||r.stringMatchesSomePattern(n,t)}(e,t.allowUrls)&&(a.DEBUG_BUILD&&r.logger.warn(`Event dropped due to not being matched by \`allowUrls\` option.\nEvent: ${r.getEventDescription(e)}.\nUrl: ${l(e)}`),!0)}(t,u)?null:t}})));function l(e){try{let t;try{t=e.exception.values[0].stacktrace.frames}catch(e){}return t?function(e=[]){for(let t=e.length-1;t>=0;t--){const n=e[t];if(n&&""!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(t):null}catch(t){return a.DEBUG_BUILD&&r.logger.error(`Cannot extract url for event ${r.getEventDescription(e)}`),null}}t.inboundFiltersIntegration=s},92958:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320),a=n(82430).defineIntegration(((e={})=>{const t=e.limit||5,n=e.key||"cause";return{name:"LinkedErrors",preprocessEvent(e,a,o){const i=o.getOptions();r.applyAggregateErrorsToEvent(r.exceptionFromError,i.stackParser,i.maxValueLength,n,t,e,a)}}}));t.linkedErrorsIntegration=a},52213:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320),a=n(82430),o=n(36823),i=a.defineIntegration((()=>({name:"ModuleMetadata",setup(e){e.on("beforeEnvelope",(e=>{r.forEachEnvelopeItem(e,((e,t)=>{if("event"===t){const t=Array.isArray(e)?e[1]:void 0;t&&(o.stripMetadataFromStackFrames(t),e[1]=t)}}))})),e.on("applyFrameMetadata",(t=>{if(t.type)return;const n=e.getOptions().stackParser;o.addMetadataToStackFrames(n,t)}))}})));t.moduleMetadataIntegration=i},92215:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320),a=n(82430),o={include:{cookies:!0,data:!0,headers:!0,ip:!1,query_string:!0,url:!0,user:{id:!0,username:!0,email:!0}},transactionNamingScheme:"methodPath"},i=a.defineIntegration(((e={})=>{const t={...o,...e,include:{...o.include,...e.include,user:e.include&&"boolean"==typeof e.include.user?e.include.user:{...o.include.user,...(e.include||{}).user}}};return{name:"RequestData",processEvent(e){const{sdkProcessingMetadata:n={}}=e,a=n.request;if(!a)return e;const o=function(e){const{transactionNamingScheme:t,include:{ip:n,user:r,...a}}=e,o=["method"];for(const[e,t]of Object.entries(a))t&&o.push(e);let i;if(void 0===r)i=!0;else if("boolean"==typeof r)i=r;else{const e=[];for(const[t,n]of Object.entries(r))n&&e.push(t);i=e}return{include:{ip:n,user:i,request:0!==o.length?o:void 0,transaction:t}}}(t);return r.addRequestDataToEvent(e,a,o)}}}));t.requestDataIntegration=i},17536:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320),a=n(82430).defineIntegration(((e={})=>{const t=e.root,n=e.prefix||"app:///",a="window"in r.GLOBAL_OBJ&&void 0!==r.GLOBAL_OBJ.window,i=e.iteratee||o({isBrowser:a,root:t,prefix:n});return{name:"RewriteFrames",processEvent(e){let t=e;return e.exception&&Array.isArray(e.exception.values)&&(t=function(e){try{return{...e,exception:{...e.exception,values:e.exception.values.map((e=>{return{...e,...e.stacktrace&&{stacktrace:(t=e.stacktrace,{...t,frames:t&&t.frames&&t.frames.map((e=>i(e)))})}};var t}))}}}catch(t){return e}}(t)),t}}}));function o({isBrowser:e,root:t,prefix:n}){return a=>{if(!a.filename)return a;const o=/^[a-zA-Z]:\\/.test(a.filename)||a.filename.includes("\\")&&!a.filename.includes("/"),i=/^\//.test(a.filename);if(e){if(t){const e=a.filename;0===e.indexOf(t)&&(a.filename=e.replace(t,n))}}else if(o||i){const e=o?a.filename.replace(/^[a-zA-Z]:/,"").replace(/\\/g,"/"):a.filename,i=t?r.relative(t,e):r.basename(e);a.filename=`${n}${i}`}return a}}t.generateIteratee=o,t.rewriteFramesIntegration=a},200:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320),a=n(82430).defineIntegration((()=>{const e=1e3*r.timestampInSeconds();return{name:"SessionTiming",processEvent(t){const n=1e3*r.timestampInSeconds();return{...t,extra:{...t.extra,"session:start":e,"session:duration":n-e,"session:end":n}}}}}));t.sessionTimingIntegration=a},80699:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320),a=n(82430),o=n(36823),i=a.defineIntegration((e=>({name:"ThirdPartyErrorsFilter",setup(e){e.on("beforeEnvelope",(e=>{r.forEachEnvelopeItem(e,((e,t)=>{if("event"===t){const t=Array.isArray(e)?e[1]:void 0;t&&(o.stripMetadataFromStackFrames(t),e[1]=t)}}))})),e.on("applyFrameMetadata",(t=>{if(t.type)return;const n=e.getOptions().stackParser;o.addMetadataToStackFrames(n,t)}))},processEvent(t){const n=function(e){const t=r.getFramesFromEvent(e);if(t)return t.filter((e=>!!e.filename)).map((e=>e.module_metadata?Object.keys(e.module_metadata).filter((e=>e.startsWith(s))).map((e=>e.slice(s.length))):[]))}(t);if(n&&n["drop-error-if-contains-third-party-frames"===e.behaviour||"apply-tag-if-contains-third-party-frames"===e.behaviour?"some":"every"]((t=>!t.some((t=>e.filterKeys.includes(t)))))){if("drop-error-if-contains-third-party-frames"===e.behaviour||"drop-error-if-exclusively-contains-third-party-frames"===e.behaviour)return null;t.tags={...t.tags,third_party_code:!0}}return t}}))),s="_sentryBundlerPluginAppKey:";t.thirdPartyErrorFilterIntegration=i},24208:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320);function a(e){return{...e,path:"path"in e&&Array.isArray(e.path)?e.path.join("."):void 0,keys:"keys"in e?JSON.stringify(e.keys):void 0,unionErrors:"unionErrors"in e?JSON.stringify(e.unionErrors):void 0}}function o(e){const t=new Set;for(const n of e.issues)n.path&&n.path[0]&&t.add(n.path[0]);const n=Array.from(t);return`Failed to validate keys: ${r.truncate(n.join(", "),100)}`}function i(e,t,n){return t.exception&&t.exception.values&&n&&n.originalException&&(i=n.originalException,r.isError(i)&&"ZodError"===i.name&&Array.isArray(i.errors))&&0!==n.originalException.issues.length?{...t,exception:{...t.exception,values:[{...t.exception.values[0],value:o(n.originalException)},...t.exception.values.slice(1)]},extra:{...t.extra,"zoderror.issues":n.originalException.errors.slice(0,e).map(a)}}:t;var i}const s=n(82430).defineIntegration(((e={})=>{const t=e.limit||10;return{name:"ZodErrors",processEvent:(e,n)=>i(t,e,n)}}));t.applyZodErrorsToEvent=i,t.zodErrorsIntegration=s},36823:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320),a=new Map,o=new Set;function i(e,t){return function(e){if(r.GLOBAL_OBJ._sentryModuleMetadata)for(const t of Object.keys(r.GLOBAL_OBJ._sentryModuleMetadata)){const n=r.GLOBAL_OBJ._sentryModuleMetadata[t];if(o.has(t))continue;o.add(t);const i=e(t);for(const e of i.reverse())if(e.filename){a.set(e.filename,n);break}}}(e),a.get(t)}t.addMetadataToStackFrames=function(e,t){try{t.exception.values.forEach((t=>{if(t.stacktrace)for(const n of t.stacktrace.frames||[]){if(!n.filename||n.module_metadata)continue;const t=i(e,n.filename);t&&(n.module_metadata=t)}}))}catch(e){}},t.getMetadataForUrl=i,t.stripMetadataFromStackFrames=function(e){try{e.exception.values.forEach((e=>{if(e.stacktrace)for(const t of e.stacktrace.frames||[])delete t.module_metadata}))}catch(e){}}},30885:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320),a=n(54583),o=n(89371),i=n(8844),s=n(38423),l=n(3227);t.MetricsAggregator=class{constructor(e){this._client=e,this._buckets=new Map,this._bucketsTotalWeight=0,this._interval=setInterval((()=>this._flush()),o.DEFAULT_FLUSH_INTERVAL),this._interval.unref&&this._interval.unref(),this._flushShift=Math.floor(Math.random()*o.DEFAULT_FLUSH_INTERVAL/1e3),this._forceFlush=!1}add(e,t,n,i="none",u={},c=r.timestampInSeconds()){const d=Math.floor(c),p=l.sanitizeMetricKey(t),f=l.sanitizeTags(u),h=l.sanitizeUnit(i),m=l.getBucketKey(e,p,h,f);let g=this._buckets.get(m);const v=g&&e===o.SET_METRIC_TYPE?g.metric.weight:0;g?(g.metric.add(n),g.timestamp=o.MAX_WEIGHT&&this.flush()}flush(){this._forceFlush=!0,this._flush()}close(){this._forceFlush=!0,clearInterval(this._interval),this._flush()}_flush(){if(this._forceFlush)return this._forceFlush=!1,this._bucketsTotalWeight=0,this._captureMetrics(this._buckets),void this._buckets.clear();const e=Math.floor(r.timestampInSeconds())-o.DEFAULT_FLUSH_INTERVAL/1e3-this._flushShift,t=new Map;for(const[n,r]of this._buckets)r.timestamp<=e&&(t.set(n,r),this._bucketsTotalWeight-=r.metric.weight);for(const[e]of t)this._buckets.delete(e);this._captureMetrics(t)}_captureMetrics(e){if(e.size>0){const t=Array.from(e).map((([,e])=>e));i.captureAggregateMetrics(this._client,t)}}}},92094:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320),a=n(54583),o=n(89371),i=n(8844),s=n(38423),l=n(3227);t.BrowserMetricsAggregator=class{constructor(e){this._client=e,this._buckets=new Map,this._interval=setInterval((()=>this.flush()),o.DEFAULT_BROWSER_FLUSH_INTERVAL)}add(e,t,n,i="none",u={},c=r.timestampInSeconds()){const d=Math.floor(c),p=l.sanitizeMetricKey(t),f=l.sanitizeTags(u),h=l.sanitizeUnit(i),m=l.getBucketKey(e,p,h,f);let g=this._buckets.get(m);const v=g&&e===o.SET_METRIC_TYPE?g.metric.weight:0;g?(g.metric.add(n),g.timestamp{Object.defineProperty(t,"__esModule",{value:!0}),t.COUNTER_METRIC_TYPE="c",t.DEFAULT_BROWSER_FLUSH_INTERVAL=5e3,t.DEFAULT_FLUSH_INTERVAL=1e4,t.DISTRIBUTION_METRIC_TYPE="d",t.GAUGE_METRIC_TYPE="g",t.MAX_WEIGHT=1e4,t.SET_METRIC_TYPE="s"},8844:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320),a=n(3227);function o(e,t,n,o){const i={sent_at:(new Date).toISOString()};n&&n.sdk&&(i.sdk={name:n.sdk.name,version:n.sdk.version}),o&&t&&(i.dsn=r.dsnToString(t));const s=function(e){const t=a.serializeMetricBuckets(e);return[{type:"statsd",length:t.length},t]}(e);return r.createEnvelope(i,[s])}t.captureAggregateMetrics=function(e,t){r.logger.log(`Flushing aggregated metrics, number of metrics: ${t.length}`);const n=o(t,e.getDsn(),e.getSdkMetadata(),e.getOptions().tunnel);e.sendEnvelope(n)},t.createMetricEnvelope=o},9133:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(30885),a=n(92177),o={increment:function(e,t=1,n){a.metrics.increment(r.MetricsAggregator,e,t,n)},distribution:function(e,t,n){a.metrics.distribution(r.MetricsAggregator,e,t,n)},set:function(e,t,n){a.metrics.set(r.MetricsAggregator,e,t,n)},gauge:function(e,t,n){a.metrics.gauge(r.MetricsAggregator,e,t,n)},timing:function(e,t,n="second",o){return a.metrics.timing(r.MetricsAggregator,e,t,n,o)},getMetricsAggregatorForClient:function(e){return a.metrics.getMetricsAggregatorForClient(e,r.MetricsAggregator)}};t.metricsDefault=o},92177:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320),a=n(49564),o=n(68974);n(44038);const i=n(54583),s=n(55908),l=n(76354),u=n(89371);function c(e,t){const n=r.getGlobalSingleton("globalMetricsAggregators",(()=>new WeakMap)),a=n.get(e);if(a)return a;const o=new t(e);return e.on("flush",(()=>o.flush())),e.on("close",(()=>o.close())),n.set(e,o),o}function d(e,t,n,s,l={}){const u=l.client||a.getClient();if(!u)return;const d=i.getActiveSpan(),p=d?i.getRootSpan(d):void 0,f=p&&i.spanToJSON(p).description,{unit:h,tags:m,timestamp:g}=l,{release:v,environment:y}=u.getOptions(),b={};v&&(b.release=v),y&&(b.environment=y),f&&(b.transaction=f),o.DEBUG_BUILD&&r.logger.log(`Adding value of ${s} to ${t} metric ${n}`),c(u,e).add(t,n,s,h,{...b,...m},g)}function p(e,t,n,r){d(e,u.DISTRIBUTION_METRIC_TYPE,t,h(n),r)}const f={increment:function(e,t,n=1,r){d(e,u.COUNTER_METRIC_TYPE,t,h(n),r)},distribution:p,set:function(e,t,n,r){d(e,u.SET_METRIC_TYPE,t,n,r)},gauge:function(e,t,n,r){d(e,u.GAUGE_METRIC_TYPE,t,h(n),r)},timing:function(e,t,n,a="second",o){if("function"==typeof n){const a=r.timestampInSeconds();return s.startSpanManual({op:"metrics.timing",name:t,startTime:a,onlyIfParent:!0},(i=>l.handleCallbackErrors((()=>n()),(()=>{}),(()=>{const n=r.timestampInSeconds();p(e,t,n-a,{...o,unit:"second"}),i.end(n)}))))}p(e,t,n,{...o,unit:a})},getMetricsAggregatorForClient:c};function h(e){return"string"==typeof e?parseInt(e):e}t.metrics=f},38423:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(89371),a=n(3227);class o{constructor(e){this._value=e}get weight(){return 1}add(e){this._value+=e}toString(){return`${this._value}`}}class i{constructor(e){this._last=e,this._min=e,this._max=e,this._sum=e,this._count=1}get weight(){return 5}add(e){this._last=e,ethis._max&&(this._max=e),this._sum+=e,this._count++}toString(){return`${this._last}:${this._min}:${this._max}:${this._sum}:${this._count}`}}class s{constructor(e){this._value=[e]}get weight(){return this._value.length}add(e){this._value.push(e)}toString(){return this._value.join(":")}}class l{constructor(e){this.first=e,this._value=new Set([e])}get weight(){return this._value.size}add(e){this._value.add(e)}toString(){return Array.from(this._value).map((e=>"string"==typeof e?a.simpleHash(e):e)).join(":")}}const u={[r.COUNTER_METRIC_TYPE]:o,[r.GAUGE_METRIC_TYPE]:i,[r.DISTRIBUTION_METRIC_TYPE]:s,[r.SET_METRIC_TYPE]:l};t.CounterMetric=o,t.DistributionMetric=s,t.GaugeMetric=i,t.METRIC_MAP=u,t.SetMetric=l},14021:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320),a="_sentryMetrics";t.getMetricSummaryJsonForSpan=function(e){const t=e[a];if(!t)return;const n={};for(const[,[e,a]]of t)(n[e]||(n[e]=[])).push(r.dropUndefinedKeys(a));return n},t.updateMetricSummaryOnSpan=function(e,t,n,r,o,i,s){const l=e[a]||(e[a]=new Map),u=`${t}:${n}@${o}`,c=l.get(s);if(c){const[,e]=c;l.set(s,[u,{min:Math.min(e.min,r),max:Math.max(e.max,r),count:e.count+=1,sum:e.sum+=r,tags:e.tags}])}else l.set(s,[u,{min:r,max:r,count:1,sum:r,tags:i}])}},3227:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320);function a(e){return e.replace(/[^\w\-./]+/gi,"")}const o=[["\n","\\n"],["\r","\\r"],["\t","\\t"],["\\","\\\\"],["|","\\u{7c}"],[",","\\u{2c}"]];t.getBucketKey=function(e,t,n,a){return`${e}${t}${n}${Object.entries(r.dropUndefinedKeys(a)).sort(((e,t)=>e[0].localeCompare(t[0])))}`},t.sanitizeMetricKey=function(e){return e.replace(/[^\w\-.]+/gi,"_")},t.sanitizeTags=function(e){const t={};for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[a(r)]=(n=String(e[r]),[...n].reduce(((e,t)=>e+function(e){for(const[t,n]of o)if(e===t)return n;return e}(t)),"")));var n;return t},t.sanitizeUnit=function(e){return e.replace(/[^\w]+/gi,"_")},t.serializeMetricBuckets=function(e){let t="";for(const n of e){const e=Object.entries(n.tags),r=e.length>0?`|#${e.map((([e,t])=>`${e}:${t}`)).join(",")}`:"";t+=`${n.name}@${n.unit}:${n.metric}|${n.metricType}${r}|T${n.timestamp}\n`}return t},t.simpleHash=function(e){let t=0;for(let n=0;n>>0}},83090:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320),a=n(49564),o=n(68974);function i(e){return!!e&&void 0!==e._profiler&&"function"==typeof e._profiler.start&&"function"==typeof e._profiler.stop}const s={startProfiler:function(){const e=a.getClient();if(!e)return void(o.DEBUG_BUILD&&r.logger.warn("No Sentry client available, profiling is not started"));const t=e.getIntegrationByName("ProfilingIntegration");t?i(t)?t._profiler.start():o.DEBUG_BUILD&&r.logger.warn("Profiler is not available on profiling integration."):o.DEBUG_BUILD&&r.logger.warn("ProfilingIntegration is not available")},stopProfiler:function(){const e=a.getClient();if(!e)return void(o.DEBUG_BUILD&&r.logger.warn("No Sentry client available, profiling is not started"));const t=e.getIntegrationByName("ProfilingIntegration");t?i(t)?t._profiler.stop():o.DEBUG_BUILD&&r.logger.warn("Profiler is not available on profiling integration."):o.DEBUG_BUILD&&r.logger.warn("ProfilingIntegration is not available")}};t.profiler=s},69640:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320),a=n(11348),o=n(64865);class i{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=r.generatePropagationContext()}clone(){const e=new i;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._extra={...this._extra},e._contexts={...this._contexts},e._user=this._user,e._level=this._level,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._requestSession=this._requestSession,e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e._lastEventId=this._lastEventId,o._setSpanForScope(e,o._getSpanForScope(this)),e}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&a.updateSession(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(e){return this._requestSession=e,this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this._tags={...this._tags,[e]:t},this._notifyScopeListeners(),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return null===t?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;const t="function"==typeof e?e(this):e,[n,a]=t instanceof s?[t.getScopeData(),t.getRequestSession()]:r.isPlainObject(t)?[e,e.requestSession]:[],{tags:o,extra:i,user:l,contexts:u,level:c,fingerprint:d=[],propagationContext:p}=n||{};return this._tags={...this._tags,...o},this._extra={...this._extra,...i},this._contexts={...this._contexts,...u},l&&Object.keys(l).length&&(this._user=l),c&&(this._level=c),d.length&&(this._fingerprint=d),p&&(this._propagationContext=p),a&&(this._requestSession=a),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._session=void 0,o._setSpanForScope(this,void 0),this._attachments=[],this._propagationContext=r.generatePropagationContext(),this._notifyScopeListeners(),this}addBreadcrumb(e,t){const n="number"==typeof t?t:100;if(n<=0)return this;const a={timestamp:r.dateTimestampInSeconds(),...e},o=this._breadcrumbs;return o.push(a),this._breadcrumbs=o.length>n?o.slice(-n):o,this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:o._getSpanForScope(this)}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...e},this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,t){const n=t&&t.event_id?t.event_id:r.uuid4();if(!this._client)return r.logger.warn("No client configured on scope - will not capture exception!"),n;const a=new Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:a,...t,event_id:n},this),n}captureMessage(e,t,n){const a=n&&n.event_id?n.event_id:r.uuid4();if(!this._client)return r.logger.warn("No client configured on scope - will not capture message!"),a;const o=new Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:o,...n,event_id:a},this),a}captureEvent(e,t){const n=t&&t.event_id?t.event_id:r.uuid4();return this._client?(this._client.captureEvent(e,{...t,event_id:n},this),n):(r.logger.warn("No client configured on scope - will not capture event!"),n)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach((e=>{e(this)})),this._notifyingListeners=!1)}}const s=i;t.Scope=s},27008:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320),a=n(49564),o=n(68974);function i(e){a.getCurrentScope().setClient(e)}t.initAndBind=function(e,t){!0===t.debug&&(o.DEBUG_BUILD?r.logger.enable():r.consoleSandbox((()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")}))),a.getCurrentScope().update(t.initialScope);const n=new e(t);return i(n),n.init(),n},t.setCurrentClient=i},52751:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SEMANTIC_ATTRIBUTE_CACHE_HIT="cache.hit",t.SEMANTIC_ATTRIBUTE_CACHE_ITEM_SIZE="cache.item_size",t.SEMANTIC_ATTRIBUTE_CACHE_KEY="cache.key",t.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME="sentry.exclusive_time",t.SEMANTIC_ATTRIBUTE_HTTP_REQUEST_METHOD="http.request.method",t.SEMANTIC_ATTRIBUTE_PROFILE_ID="sentry.profile_id",t.SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON="sentry.idle_span_finish_reason",t.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT="sentry.measurement_unit",t.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE="sentry.measurement_value",t.SEMANTIC_ATTRIBUTE_SENTRY_OP="sentry.op",t.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN="sentry.origin",t.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE="sentry.sample_rate",t.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE="sentry.source",t.SEMANTIC_ATTRIBUTE_URL_FULL="url.full"},24842:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320),a=n(29564),o=n(60251),i=n(49564),s=n(68974),l=n(84751),u=n(44038),c=n(64865),d=n(54583),p=n(93754);class f extends a.BaseClient{constructor(e){u.registerSpanErrorInstrumentation(),super(e)}eventFromException(e,t){return r.resolvedSyncPromise(r.eventFromUnknownInput(this,this._options.stackParser,e,t))}eventFromMessage(e,t="info",n){return r.resolvedSyncPromise(r.eventFromMessage(this._options.stackParser,e,t,n,this._options.attachStacktrace))}captureException(e,t,n){if(this._options.autoSessionTracking&&this._sessionFlusher){const e=i.getIsolationScope().getRequestSession();e&&"ok"===e.status&&(e.status="errored")}return super.captureException(e,t,n)}captureEvent(e,t,n){if(this._options.autoSessionTracking&&this._sessionFlusher&&"exception"===(e.type||"exception")&&e.exception&&e.exception.values&&e.exception.values.length>0){const e=i.getIsolationScope().getRequestSession();e&&"ok"===e.status&&(e.status="errored")}return super.captureEvent(e,t,n)}close(e){return this._sessionFlusher&&this._sessionFlusher.close(),super.close(e)}initSessionFlusher(){const{release:e,environment:t}=this._options;e?this._sessionFlusher=new l.SessionFlusher(this,{release:e,environment:t}):s.DEBUG_BUILD&&r.logger.warn("Cannot initialise an instance of SessionFlusher if no release is provided!")}captureCheckIn(e,t,n){const a="checkInId"in e&&e.checkInId?e.checkInId:r.uuid4();if(!this._isEnabled())return s.DEBUG_BUILD&&r.logger.warn("SDK not enabled, will not capture checkin."),a;const i=this.getOptions(),{release:l,environment:u,tunnel:c}=i,d={check_in_id:a,monitor_slug:e.monitorSlug,status:e.status,release:l,environment:u};"duration"in e&&(d.duration=e.duration),t&&(d.monitor_config={schedule:t.schedule,checkin_margin:t.checkinMargin,max_runtime:t.maxRuntime,timezone:t.timezone,failure_issue_threshold:t.failureIssueThreshold,recovery_threshold:t.recoveryThreshold});const[p,f]=this._getTraceInfoFromScope(n);f&&(d.contexts={trace:f});const h=o.createCheckInEnvelope(d,p,this.getSdkMetadata(),c,this.getDsn());return s.DEBUG_BUILD&&r.logger.info("Sending checkin:",e.monitorSlug,e.status),this.sendEnvelope(h),a}_captureRequestSession(){this._sessionFlusher?this._sessionFlusher.incrementSessionStatusCount():s.DEBUG_BUILD&&r.logger.warn("Discarded request mode session because autoSessionTracking option was disabled")}_prepareEvent(e,t,n,r){return this._options.platform&&(e.platform=e.platform||this._options.platform),this._options.runtime&&(e.contexts={...e.contexts,runtime:(e.contexts||{}).runtime||this._options.runtime}),this._options.serverName&&(e.server_name=e.server_name||this._options.serverName),super._prepareEvent(e,t,n,r)}_getTraceInfoFromScope(e){if(!e)return[void 0,void 0];const t=c._getSpanForScope(e);if(t){const e=d.getRootSpan(t);return[p.getDynamicSamplingContextFromSpan(e),d.spanToTraceContext(e)]}const{traceId:n,spanId:r,parentSpanId:a,dsc:o}=e.getPropagationContext(),i={trace_id:n,span_id:r,parent_span_id:a};return o?[o,i]:[p.getDynamicSamplingContextFromClient(n,this),i]}}t.ServerRuntimeClient=f},11348:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320);function a(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),e.did||t.did||(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||r.timestampInSeconds(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:r.uuid4()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),"number"==typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"==typeof t.duration)e.duration=t.duration;else{const t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"==typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}t.closeSession=function(e,t){let n={};t?n={status:t}:"ok"===e.status&&(n={status:"exited"}),a(e,n)},t.makeSession=function(e){const t=r.timestampInSeconds(),n={sid:r.uuid4(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function(e){return r.dropUndefinedKeys({sid:`${e.sid}`,init:e.init,started:new Date(1e3*e.started).toISOString(),timestamp:new Date(1e3*e.timestamp).toISOString(),status:e.status,errors:e.errors,did:"number"==typeof e.did||"string"==typeof e.did?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}(n)};return e&&a(n,e),n},t.updateSession=a},84751:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320),a=n(49564);t.SessionFlusher=class{constructor(e,t){this._client=e,this.flushTimeout=60,this._pendingAggregates=new Map,this._isEnabled=!0,this._intervalId=setInterval((()=>this.flush()),1e3*this.flushTimeout),this._intervalId.unref&&this._intervalId.unref(),this._sessionAttrs=t}flush(){const e=this.getSessionAggregates();0!==e.aggregates.length&&(this._pendingAggregates=new Map,this._client.sendSession(e))}getSessionAggregates(){const e=Array.from(this._pendingAggregates.values()),t={attrs:this._sessionAttrs,aggregates:e};return r.dropUndefinedKeys(t)}close(){clearInterval(this._intervalId),this._isEnabled=!1,this.flush()}incrementSessionStatusCount(){if(!this._isEnabled)return;const e=a.getIsolationScope(),t=e.getRequestSession();t&&t.status&&(this._incrementSessionStatusCount(t.status,new Date),e.setRequestSession(void 0))}_incrementSessionStatusCount(e,t){const n=new Date(t).setSeconds(0,0);let r=this._pendingAggregates.get(n);switch(r||(r={started:new Date(n).toISOString()},this._pendingAggregates.set(n,r)),e){case"errored":return r.errored=(r.errored||0)+1,r.errored;case"ok":return r.exited=(r.exited||0)+1,r.exited;default:return r.crashed=(r.crashed||0)+1,r.crashed}}}},93754:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320),a=n(42501),o=n(49564),i=n(52751),s=n(60073),l=n(54583),u="_frozenDsc";function c(e,t){const n=t.getOptions(),{publicKey:o}=t.getDsn()||{},i=r.dropUndefinedKeys({environment:n.environment||a.DEFAULT_ENVIRONMENT,release:n.release,public_key:o,trace_id:e});return t.emit("createDsc",i),i}function d(e){const t=o.getClient();if(!t)return{};const n=c(l.spanToJSON(e).trace_id||"",t),a=l.getRootSpan(e),d=a[u];if(d)return d;const p=a.spanContext().traceState,f=p&&p.get("sentry.dsc"),h=f&&r.baggageHeaderToDynamicSamplingContext(f);if(h)return h;const m=l.spanToJSON(a),g=m.data||{},v=g[i.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE];null!=v&&(n.sample_rate=`${v}`);const y=g[i.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE],b=m.description;return"url"!==y&&b&&(n.transaction=b),s.hasTracingEnabled()&&(n.sampled=String(l.spanIsSampled(a))),t.emit("createDsc",n,a),n}t.freezeDscOnSpan=function(e,t){const n=e;r.addNonEnumerableProperty(n,u,t)},t.getDynamicSamplingContextFromClient=c,t.getDynamicSamplingContextFromSpan=d,t.spanToBaggageHeader=function(e){const t=d(e);return r.dynamicSamplingContextToSentryBaggageHeader(t)}},44038:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320),a=n(68974),o=n(54583),i=n(15363);let s=!1;function l(){const e=o.getActiveSpan(),t=e&&o.getRootSpan(e);if(t){const e="internal_error";a.DEBUG_BUILD&&r.logger.log(`[Tracing] Root span: ${e} -> Global error occured`),t.setStatus({code:i.SPAN_STATUS_ERROR,message:e})}}l.tag="sentry_tracingErrorCallback",t.registerSpanErrorInstrumentation=function(){s||(s=!0,r.addGlobalErrorInstrumentationHandler(l),r.addGlobalUnhandledRejectionInstrumentationHandler(l))}},12188:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(44038);t.addTracingExtensions=function(){r.registerSpanErrorInstrumentation()}},57011:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320),a=n(49564),o=n(68974),i=n(52751),s=n(60073),l=n(64865),u=n(54583),c=n(67392),d=n(15363),p=n(55908),f={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3};t.TRACING_DEFAULTS=f,t.startIdleSpan=function(e,t={}){const n=new Map;let h,m=!1,g="externalFinish",v=!t.disableAutoFinish;const y=[],{idleTimeout:b=f.idleTimeout,finalTimeout:w=f.finalTimeout,childSpanTimeout:x=f.childSpanTimeout,beforeSpanEnd:S}=t,_=a.getClient();if(!_||!s.hasTracingEnabled())return new c.SentryNonRecordingSpan;const A=a.getCurrentScope(),C=u.getActiveSpan(),T=function(e){const t=p.startInactiveSpan(e);return l._setSpanForScope(a.getCurrentScope(),t),o.DEBUG_BUILD&&r.logger.log("[Tracing] Started span is an idle span"),t}(e);function k(){h&&(clearTimeout(h),h=void 0)}function E(e){k(),h=setTimeout((()=>{!m&&0===n.size&&v&&(g="idleTimeout",T.end(e))}),b)}function M(e){h=setTimeout((()=>{!m&&v&&(g="heartbeatFailed",T.end(e))}),x)}function P(e){m=!0,n.clear(),y.forEach((e=>e())),l._setSpanForScope(A,C);const t=u.spanToJSON(T),{start_timestamp:a}=t;if(!a)return;(t.data||{})[i.SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON]||T.setAttribute(i.SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON,g),r.logger.log(`[Tracing] Idle span "${t.op}" finished`);const s=u.getSpanDescendants(T).filter((e=>e!==T));let c=0;s.forEach((t=>{t.isRecording()&&(t.setStatus({code:d.SPAN_STATUS_ERROR,message:"cancelled"}),t.end(e),o.DEBUG_BUILD&&r.logger.log("[Tracing] Cancelling span since span ended early",JSON.stringify(t,void 0,2)));const n=u.spanToJSON(t),{timestamp:a=0,start_timestamp:i=0}=n,s=i<=e,l=a-i<=(w+b)/1e3;if(o.DEBUG_BUILD){const e=JSON.stringify(t,void 0,2);s?l||r.logger.log("[Tracing] Discarding span since it finished after idle span final timeout",e):r.logger.log("[Tracing] Discarding span since it happened after idle span was finished",e)}l&&s||(u.removeChildSpanFromSpan(T,t),c++)})),c>0&&T.setAttribute("sentry.idle_span_discarded_spans",c)}return T.end=new Proxy(T.end,{apply(e,t,n){S&&S(T);const[a,...o]=n,i=a||r.timestampInSeconds(),s=u.spanTimeInputToSeconds(i),l=u.getSpanDescendants(T).filter((e=>e!==T));if(!l.length)return P(s),Reflect.apply(e,t,[s,...o]);const c=l.map((e=>u.spanToJSON(e).timestamp)).filter((e=>!!e)),d=c.length?Math.max(...c):void 0,p=u.spanToJSON(T).start_timestamp,f=Math.min(p?p+w/1e3:1/0,Math.max(p||-1/0,Math.min(s,d||1/0)));return P(f),Reflect.apply(e,t,[f,...o])}}),y.push(_.on("spanStart",(e=>{var t;m||e===T||u.spanToJSON(e).timestamp||u.getSpanDescendants(T).includes(e)&&(t=e.spanContext().spanId,k(),n.set(t,!0),M(r.timestampInSeconds()+x/1e3))}))),y.push(_.on("spanEnd",(e=>{var t;m||(t=e.spanContext().spanId,n.has(t)&&n.delete(t),0===n.size&&E(r.timestampInSeconds()+b/1e3))}))),y.push(_.on("idleSpanEnableAutoFinish",(e=>{e===T&&(v=!0,E(),n.size&&M())}))),t.disableAutoFinish||E(),setTimeout((()=>{m||(T.setStatus({code:d.SPAN_STATUS_ERROR,message:"deadline_exceeded"}),g="finalTimeout",T.end())}),w),T}},8346:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320),a=n(68974),o=n(54583);t.logSpanEnd=function(e){if(!a.DEBUG_BUILD)return;const{description:t="< unknown name >",op:n="< unknown op >"}=o.spanToJSON(e),{spanId:i}=e.spanContext(),s=`[Tracing] Finishing "${n}" ${o.getRootSpan(e)===e?"root ":""}span "${t}" with ID ${i}`;r.logger.log(s)},t.logSpanStart=function(e){if(!a.DEBUG_BUILD)return;const{description:t="< unknown name >",op:n="< unknown op >",parent_span_id:i}=o.spanToJSON(e),{spanId:s}=e.spanContext(),l=o.spanIsSampled(e),u=o.getRootSpan(e),c=u===e,d=`[Tracing] Starting ${l?"sampled":"unsampled"} ${c?"root ":""}span`,p=[`op: ${n}`,`name: ${t}`,`ID: ${s}`];if(i&&p.push(`parent ID: ${i}`),!c){const{op:e,description:t}=o.spanToJSON(u);p.push(`root ID: ${u.spanContext().spanId}`),e&&p.push(`root op: ${e}`),t&&p.push(`root description: ${t}`)}r.logger.log(`${d}\n ${p.join("\n ")}`)}},28945:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(52751),a=n(54583);t.setMeasurement=function(e,t,n,o=a.getActiveSpan()){const i=o&&a.getRootSpan(o);i&&i.addEvent(e,{[r.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE]:t,[r.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT]:n})},t.timedEventsToMeasurements=function(e){if(!e||0===e.length)return;const t={};return e.forEach((e=>{const n=e.attributes||{},a=n[r.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT],o=n[r.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE];"string"==typeof a&&"number"==typeof o&&(t[e.name]={value:o,unit:a})})),t}},79816:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320),a=n(68974),o=n(60073),i=n(10393);t.sampleSpan=function(e,t){if(!o.hasTracingEnabled(e))return[!1];let n;n="function"==typeof e.tracesSampler?e.tracesSampler(t):void 0!==t.parentSampled?t.parentSampled:void 0!==e.tracesSampleRate?e.tracesSampleRate:1;const s=i.parseSampleRate(n);return void 0===s?(a.DEBUG_BUILD&&r.logger.warn("[Tracing] Discarding transaction because of invalid sample rate."),[!1]):s?Math.random(){Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320),a=n(54583);t.SentryNonRecordingSpan=class{constructor(e={}){this._traceId=e.traceId||r.uuid4(),this._spanId=e.spanId||r.uuid4().substring(16)}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:a.TRACE_FLAG_NONE}}end(e){}setAttribute(e,t){return this}setAttributes(e){return this}setStatus(e){return this}updateName(e){return this}isRecording(){return!1}addEvent(e,t,n){return this}addLink(e){return this}addLinks(e){return this}recordException(e,t){}}},30242:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320),a=n(49564),o=n(68974),i=n(30238),s=n(14021),l=n(52751),u=n(54583),c=n(93754),d=n(8346),p=n(28945),f=n(64284);class h{constructor(e={}){this._traceId=e.traceId||r.uuid4(),this._spanId=e.spanId||r.uuid4().substring(16),this._startTime=e.startTimestamp||r.timestampInSeconds(),this._attributes={},this.setAttributes({[l.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"manual",[l.SEMANTIC_ATTRIBUTE_SENTRY_OP]:e.op,...e.attributes}),this._name=e.name,e.parentSpanId&&(this._parentSpanId=e.parentSpanId),"sampled"in e&&(this._sampled=e.sampled),e.endTimestamp&&(this._endTime=e.endTimestamp),this._events=[],this._isStandaloneSpan=e.isStandalone,this._endTime&&this._onSpanEnded()}addLink(e){return this}addLinks(e){return this}recordException(e,t){}spanContext(){const{_spanId:e,_traceId:t,_sampled:n}=this;return{spanId:e,traceId:t,traceFlags:n?u.TRACE_FLAG_SAMPLED:u.TRACE_FLAG_NONE}}setAttribute(e,t){return void 0===t?delete this._attributes[e]:this._attributes[e]=t,this}setAttributes(e){return Object.keys(e).forEach((t=>this.setAttribute(t,e[t]))),this}updateStartTime(e){this._startTime=u.spanTimeInputToSeconds(e)}setStatus(e){return this._status=e,this}updateName(e){return this._name=e,this}end(e){this._endTime||(this._endTime=u.spanTimeInputToSeconds(e),d.logSpanEnd(this),this._onSpanEnded())}getSpanJSON(){return r.dropUndefinedKeys({data:this._attributes,description:this._name,op:this._attributes[l.SEMANTIC_ATTRIBUTE_SENTRY_OP],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:u.getStatusMessage(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[l.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN],_metrics_summary:s.getMetricSummaryJsonForSpan(this),profile_id:this._attributes[l.SEMANTIC_ATTRIBUTE_PROFILE_ID],exclusive_time:this._attributes[l.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME],measurements:p.timedEventsToMeasurements(this._events),is_segment:this._isStandaloneSpan&&u.getRootSpan(this)===this||void 0,segment_id:this._isStandaloneSpan?u.getRootSpan(this).spanContext().spanId:void 0})}isRecording(){return!this._endTime&&!!this._sampled}addEvent(e,t,n){o.DEBUG_BUILD&&r.logger.log("[Tracing] Adding an event to span:",e);const a=m(t)?t:n||r.timestampInSeconds(),i=m(t)?{}:t||{},s={name:e,time:u.spanTimeInputToSeconds(a),attributes:i};return this._events.push(s),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){const e=a.getClient();if(e&&e.emit("spanEnd",this),!this._isStandaloneSpan&&this!==u.getRootSpan(this))return;if(this._isStandaloneSpan)return void(this._sampled?function(e){const t=a.getClient();if(!t)return;const n=e[1];if(!n||0===n.length)return void t.recordDroppedEvent("before_send","span");const i=t.getTransport();i&&i.send(e).then(null,(e=>{o.DEBUG_BUILD&&r.logger.error("Error while sending span:",e)}))}(i.createSpanEnvelope([this],e)):(o.DEBUG_BUILD&&r.logger.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),e&&e.recordDroppedEvent("sample_rate","span")));const t=this._convertSpanToTransaction();t&&(f.getCapturedScopesOnSpan(this).scope||a.getCurrentScope()).captureEvent(t)}_convertSpanToTransaction(){if(!g(u.spanToJSON(this)))return;this._name||(o.DEBUG_BUILD&&r.logger.warn("Transaction has no name, falling back to ``."),this._name="");const{scope:e,isolationScope:t}=f.getCapturedScopesOnSpan(this),n=(e||a.getCurrentScope()).getClient()||a.getClient();if(!0!==this._sampled)return o.DEBUG_BUILD&&r.logger.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled."),void(n&&n.recordDroppedEvent("sample_rate","transaction"));const i=u.getSpanDescendants(this).filter((e=>e!==this&&!function(e){return e instanceof h&&e.isStandaloneSpan()}(e))).map((e=>u.spanToJSON(e))).filter(g),d=this._attributes[l.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE],m={contexts:{trace:u.spanToTransactionTraceContext(this)},spans:i.length>1e3?i.sort(((e,t)=>e.start_timestamp-t.start_timestamp)).slice(0,1e3):i,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:e,capturedSpanIsolationScope:t,...r.dropUndefinedKeys({dynamicSamplingContext:c.getDynamicSamplingContextFromSpan(this)})},_metrics_summary:s.getMetricSummaryJsonForSpan(this),...d&&{transaction_info:{source:d}}},v=p.timedEventsToMeasurements(this._events);return v&&Object.keys(v).length&&(o.DEBUG_BUILD&&r.logger.log("[Measurements] Adding measurements to transaction event",JSON.stringify(v,void 0,2)),m.measurements=v),m}}function m(e){return e&&"number"==typeof e||e instanceof Date||Array.isArray(e)}function g(e){return!!(e.start_timestamp&&e.timestamp&&e.span_id&&e.trace_id)}t.SentrySpan=h},15363:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0});function n(e){if(e<400&&e>=100)return{code:1};if(e>=400&&e<500)switch(e){case 401:return{code:2,message:"unauthenticated"};case 403:return{code:2,message:"permission_denied"};case 404:return{code:2,message:"not_found"};case 409:return{code:2,message:"already_exists"};case 413:return{code:2,message:"failed_precondition"};case 429:return{code:2,message:"resource_exhausted"};case 499:return{code:2,message:"cancelled"};default:return{code:2,message:"invalid_argument"}}if(e>=500&&e<600)switch(e){case 501:return{code:2,message:"unimplemented"};case 503:return{code:2,message:"unavailable"};case 504:return{code:2,message:"deadline_exceeded"};default:return{code:2,message:"internal_error"}}return{code:2,message:"unknown_error"}}t.SPAN_STATUS_ERROR=2,t.SPAN_STATUS_OK=1,t.SPAN_STATUS_UNSET=0,t.getSpanStatusFromHttpCode=n,t.setHttpStatus=function(e,t){e.setAttribute("http.response.status_code",t);const r=n(t);"unknown_error"!==r.message&&e.setStatus(r)}},55908:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320),a=n(73220),o=n(49564),i=n(42810),s=n(68974),l=n(52751),u=n(76354),c=n(60073),d=n(64865),p=n(54583),f=n(93754),h=n(8346),m=n(79816),g=n(67392),v=n(30242),y=n(15363),b=n(64284),w="__SENTRY_SUPPRESS_TRACING__";function x(e,t){const n=A();return n.withActiveSpan?n.withActiveSpan(e,t):o.withScope((n=>(d._setSpanForScope(n,e||void 0),t(n))))}function S({parentSpan:e,spanArguments:t,forceTransaction:n,scope:r}){if(!c.hasTracingEnabled())return new g.SentryNonRecordingSpan;const a=o.getIsolationScope();let i;if(e&&!n)i=function(e,t,n){const{spanId:r,traceId:a}=e.spanContext(),i=!t.getScopeData().sdkProcessingMetadata[w]&&p.spanIsSampled(e),s=i?new v.SentrySpan({...n,parentSpanId:r,traceId:a,sampled:i}):new g.SentryNonRecordingSpan({traceId:a});p.addChildSpanToSpan(e,s);const l=o.getClient();return l&&(l.emit("spanStart",s),n.endTimestamp&&l.emit("spanEnd",s)),s}(e,r,t),p.addChildSpanToSpan(e,i);else if(e){const n=f.getDynamicSamplingContextFromSpan(e),{traceId:a,spanId:o}=e.spanContext(),s=p.spanIsSampled(e);i=C({traceId:a,parentSpanId:o,...t},r,s),f.freezeDscOnSpan(i,n)}else{const{traceId:e,dsc:n,parentSpanId:o,sampled:s}={...a.getPropagationContext(),...r.getPropagationContext()};i=C({traceId:e,parentSpanId:o,...t},r,s),n&&f.freezeDscOnSpan(i,n)}return h.logSpanStart(i),b.setCapturedScopesOnSpan(i,r,a),i}function _(e){const t={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){const n={...t};return n.startTimestamp=p.spanTimeInputToSeconds(e.startTime),delete n.startTime,n}return t}function A(){const e=a.getMainCarrier();return i.getAsyncContextStrategy(e)}function C(e,t,n){const r=o.getClient(),a=r&&r.getOptions()||{},{name:i="",attributes:s}=e,[u,c]=t.getScopeData().sdkProcessingMetadata[w]?[!1]:m.sampleSpan(a,{name:i,parentSampled:n,attributes:s,transactionContext:{name:i,parentSampled:n}}),d=new v.SentrySpan({...e,attributes:{[l.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"custom",...e.attributes},sampled:u});return void 0!==c&&d.setAttribute(l.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE,c),r&&r.emit("spanStart",d),d}function T(e){const t=d._getSpanForScope(e);if(!t)return;const n=o.getClient();return(n?n.getOptions():{}).parentSpanIsAlwaysRootSpan?p.getRootSpan(t):t}function k(e){return void 0!==e?t=>x(e,t):e=>e()}t.continueTrace=({sentryTrace:e,baggage:t},n)=>o.withScope((a=>{const o=r.propagationContextFromHeaders(e,t);return a.setPropagationContext(o),n()})),t.startInactiveSpan=function(e){const t=A();if(t.startInactiveSpan)return t.startInactiveSpan(e);const n=_(e),{forceTransaction:r,parentSpan:a}=e;return(e.scope?t=>o.withScope(e.scope,t):void 0!==a?e=>x(a,e):e=>e())((()=>{const t=o.getCurrentScope(),a=T(t);return e.onlyIfParent&&!a?new g.SentryNonRecordingSpan:S({parentSpan:a,spanArguments:n,forceTransaction:r,scope:t})}))},t.startNewTrace=function(e){return o.withScope((t=>(t.setPropagationContext(r.generatePropagationContext()),s.DEBUG_BUILD&&r.logger.info(`Starting a new trace with id ${t.getPropagationContext().traceId}`),x(null,e))))},t.startSpan=function(e,t){const n=A();if(n.startSpan)return n.startSpan(e,t);const r=_(e),{forceTransaction:a,parentSpan:i}=e;return o.withScope(e.scope,(()=>k(i)((()=>{const n=o.getCurrentScope(),i=T(n),s=e.onlyIfParent&&!i?new g.SentryNonRecordingSpan:S({parentSpan:i,spanArguments:r,forceTransaction:a,scope:n});return d._setSpanForScope(n,s),u.handleCallbackErrors((()=>t(s)),(()=>{const{status:e}=p.spanToJSON(s);!s.isRecording()||e&&"ok"!==e||s.setStatus({code:y.SPAN_STATUS_ERROR,message:"internal_error"})}),(()=>s.end()))}))))},t.startSpanManual=function(e,t){const n=A();if(n.startSpanManual)return n.startSpanManual(e,t);const r=_(e),{forceTransaction:a,parentSpan:i}=e;return o.withScope(e.scope,(()=>k(i)((()=>{const n=o.getCurrentScope(),i=T(n),s=e.onlyIfParent&&!i?new g.SentryNonRecordingSpan:S({parentSpan:i,spanArguments:r,forceTransaction:a,scope:n});function l(){s.end()}return d._setSpanForScope(n,s),u.handleCallbackErrors((()=>t(s,l)),(()=>{const{status:e}=p.spanToJSON(s);!s.isRecording()||e&&"ok"!==e||s.setStatus({code:y.SPAN_STATUS_ERROR,message:"internal_error"})}))}))))},t.suppressTracing=function(e){const t=A();return t.suppressTracing?t.suppressTracing(e):o.withScope((t=>(t.setSDKProcessingMetadata({[w]:!0}),e())))},t.withActiveSpan=x},64284:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320),a="_sentryScope",o="_sentryIsolationScope";t.stripUrlQueryAndFragment=r.stripUrlQueryAndFragment,t.getCapturedScopesOnSpan=function(e){return{scope:e[a],isolationScope:e[o]}},t.setCapturedScopesOnSpan=function(e,t,n){e&&(r.addNonEnumerableProperty(e,o,n),r.addNonEnumerableProperty(e,a,t))}},64450:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320),a=n(68974);function o(e,t){if("event"===t||"transaction"===t)return Array.isArray(e)?e[1]:void 0}t.DEFAULT_TRANSPORT_BUFFER_SIZE=64,t.createTransport=function(e,t,n=r.makePromiseBuffer(e.bufferSize||64)){let i={};return{send:function(s){const l=[];if(r.forEachEnvelopeItem(s,((t,n)=>{const a=r.envelopeItemTypeToDataCategory(n);if(r.isRateLimited(i,a)){const r=o(t,n);e.recordDroppedEvent("ratelimit_backoff",a,r)}else l.push(t)})),0===l.length)return r.resolvedSyncPromise({});const u=r.createEnvelope(s[0],l),c=t=>{r.forEachEnvelopeItem(u,((n,a)=>{const i=o(n,a);e.recordDroppedEvent(t,r.envelopeItemTypeToDataCategory(a),i)}))};return n.add((()=>t({body:r.serializeEnvelope(u)}).then((e=>(void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&a.DEBUG_BUILD&&r.logger.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),i=r.updateRateLimits(i,e),e)),(e=>{throw c("network_error"),e})))).then((e=>e),(e=>{if(e instanceof r.SentryError)return a.DEBUG_BUILD&&r.logger.error("Skipped sending event because buffer is full."),c("queue_overflow"),r.resolvedSyncPromise({});throw e}))},flush:e=>n.drain(e)}}},14082:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320),a=n(85740);function o(e,t){let n;return r.forEachEnvelopeItem(e,((e,r)=>(t.includes(r)&&(n=Array.isArray(e)?e[1]:void 0),!!n))),n}t.eventFromEnvelope=o,t.makeMultiplexedTransport=function(e,t){return n=>{const i=e(n),s=new Map;function l(t,i){const l=i?`${t}:${i}`:t;let u=s.get(l);if(!u){const c=r.dsnFromString(t);if(!c)return;const d=a.getEnvelopeEndpointWithUrlEncodedAuth(c,n.tunnel);u=i?function(e,t){return n=>{const r=e(n);return{...r,send:async e=>{const n=o(e,["event","transaction","profile","replay_event"]);return n&&(n.release=t),r.send(e)}}}}(e,i)({...n,url:d}):e({...n,url:d}),s.set(l,u)}return[t,u]}return{send:async function(e){const n=t({envelope:e,getEvent:function(t){const n=t&&t.length?t:["event"];return o(e,n)}}).map((e=>"string"==typeof e?l(e,void 0):l(e.dsn,e.release))).filter((e=>!!e)),a=n.length?n:[["",i]];return(await Promise.all(a.map((([t,n])=>n.send(function(e,t){return r.createEnvelope(t?{...e[0],dsn:t}:e[0],e[1])}(e,t))))))[0]},flush:async function(e){const t=[...s.values(),i];return(await Promise.all(t.map((t=>t.flush(e))))).every((e=>e))}}}}},52256:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320),a=n(68974),o=5e3;t.MIN_DELAY=100,t.START_DELAY=o,t.makeOfflineTransport=function(e){function t(...e){a.DEBUG_BUILD&&r.logger.info("[Offline]:",...e)}return n=>{const a=e(n);if(!n.createStore)throw new Error("No `createStore` function was provided");const i=n.createStore(n);let s,l=o;function u(e){s&&clearTimeout(s),s=setTimeout((async()=>{s=void 0;const e=await i.shift();e&&(t("Attempting to send previously queued event"),e[0].sent_at=(new Date).toISOString(),d(e,!0).catch((e=>{t("Failed to retry sending",e)})))}),e),"number"!=typeof s&&s.unref&&s.unref()}function c(){s||(u(l),l=Math.min(2*l,36e5))}async function d(e,s=!1){if(!s&&r.envelopeContainsItemType(e,["replay_event","replay_recording"]))return await i.push(e),u(100),{};try{const t=await a.send(e);let n=100;if(t)if(t.headers&&t.headers["retry-after"])n=r.parseRetryAfterHeader(t.headers["retry-after"]);else if(t.headers&&t.headers["x-sentry-rate-limits"])n=6e4;else if((t.statusCode||0)>=400)return t;return u(n),l=o,t}catch(a){if(await function(e,t,a){return!r.envelopeContainsItemType(e,["client_report"])&&(!n.shouldStore||n.shouldStore(e,t,a))}(e,a,l))return s?await i.unshift(e):await i.push(e),c(),t("Error sending. Event queued.",a),{};throw a}}return n.flushAtStartup&&c(),{send:d,flush:e=>a.flush(e)}}}},36033:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320),a=n(49564),o=n(79183),i=n(52751);n(44038),n(68974);const s=n(55908),l={mechanism:{handled:!1,data:{function:"trpcMiddleware"}}};t.trpcMiddleware=function(e={}){return async function(t){const{path:n,type:u,next:c,rawInput:d,getRawInput:p}=t,f=a.getClient(),h=f&&f.getOptions(),m={procedure_type:u};if((void 0!==e.attachRpcInput?e.attachRpcInput:h&&h.sendDefaultPii)&&(void 0!==d&&(m.input=r.normalize(d)),void 0!==p&&"function"==typeof p))try{const e=await p();m.input=r.normalize(e)}catch(e){}return o.setContext("trpc",m),s.startSpanManual({name:`trpc/${n}`,op:"rpc.server",attributes:{[i.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"route",[i.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.rpc.trpc"}},(async e=>{try{const t=await c();return function(e){"object"==typeof e&&null!==e&&"ok"in e&&!e.ok&&"error"in e&&o.captureException(e.error,l)}(t),e.end(),t}catch(t){throw o.captureException(t,l),e.end(),t}}))}}},5013:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320),a=n(93754),o=n(54583);function i(e,t,n){if(n&&Object.keys(n).length){e[t]={...e[t]};for(const r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[t][r]=n[r])}}t.applyScopeDataToEvent=function(e,t){const{fingerprint:n,span:i,breadcrumbs:s,sdkProcessingMetadata:l}=t;!function(e,t){const{extra:n,tags:a,user:o,contexts:i,level:s,transactionName:l}=t,u=r.dropUndefinedKeys(n);u&&Object.keys(u).length&&(e.extra={...u,...e.extra});const c=r.dropUndefinedKeys(a);c&&Object.keys(c).length&&(e.tags={...c,...e.tags});const d=r.dropUndefinedKeys(o);d&&Object.keys(d).length&&(e.user={...d,...e.user});const p=r.dropUndefinedKeys(i);p&&Object.keys(p).length&&(e.contexts={...p,...e.contexts}),s&&(e.level=s),l&&"transaction"!==e.type&&(e.transaction=l)}(e,t),i&&function(e,t){e.contexts={trace:o.spanToTraceContext(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:a.getDynamicSamplingContextFromSpan(t),...e.sdkProcessingMetadata};const n=o.getRootSpan(t),r=o.spanToJSON(n).description;r&&!e.transaction&&"transaction"===e.type&&(e.transaction=r)}(e,i),function(e,t){e.fingerprint=e.fingerprint?r.arrayify(e.fingerprint):[],t&&(e.fingerprint=e.fingerprint.concat(t)),e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint}(e,n),function(e,t){const n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}(e,s),function(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}(e,l)},t.mergeAndOverwriteScopeData=i,t.mergeScopeData=function(e,t){const{extra:n,tags:r,user:a,contexts:o,level:s,sdkProcessingMetadata:l,breadcrumbs:u,fingerprint:c,eventProcessors:d,attachments:p,propagationContext:f,transactionName:h,span:m}=t;i(e,"extra",n),i(e,"tags",r),i(e,"user",a),i(e,"contexts",o),i(e,"sdkProcessingMetadata",l),s&&(e.level=s),h&&(e.transactionName=h),m&&(e.span=m),u.length&&(e.breadcrumbs=[...e.breadcrumbs,...u]),c.length&&(e.fingerprint=[...e.fingerprint,...c]),d.length&&(e.eventProcessors=[...e.eventProcessors,...d]),p.length&&(e.attachments=[...e.attachments,...p]),e.propagationContext={...e.propagationContext,...f}}},76354:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320);t.handleCallbackErrors=function(e,t,n=(()=>{})){let a;try{a=e()}catch(e){throw t(e),n(),e}return function(e,t,n){return r.isThenable(e)?e.then((e=>(n(),e)),(e=>{throw t(e),n(),e})):(n(),e)}(a,t,n)}},60073:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(49564);t.hasTracingEnabled=function(e){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;const t=r.getClient(),n=e||t&&t.getOptions();return!!n&&(n.enableTracing||"tracesSampleRate"in n||"tracesSampler"in n)}},46877:(e,t)=>{function n(e){return"/"===e[e.length-1]?e.slice(0,-1):e}Object.defineProperty(t,"__esModule",{value:!0}),t.isSentryRequestUrl=function(e,t){const r=t&&t.getDsn(),a=t&&t.getOptions().tunnel;return function(e,t){return!!t&&e.includes(t.host)}(e,r)||function(e,t){return!!t&&n(e)===n(t)}(e,a)}},145:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(20647);t.getTraceMetaTags=function(){return Object.entries(r.getTraceData()).map((([e,t])=>``)).join("\n")}},72979:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.parameterize=function(e,...t){const n=new String(String.raw(e,...t));return n.__sentry_template_string__=e.join("\0").replace(/%/g,"%%").replace(/\0/g,"%s"),n.__sentry_template_values__=t,n}},10393:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320),a=n(68974);t.parseSampleRate=function(e){if("boolean"==typeof e)return Number(e);const t="string"==typeof e?parseFloat(e):e;if(!("number"!=typeof t||isNaN(t)||t<0||t>1))return t;a.DEBUG_BUILD&&r.logger.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(e)} of type ${JSON.stringify(typeof e)}.`)}},31485:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320),a=n(42501),o=n(49564),i=n(51929),s=n(69640),l=n(5013),u=new WeakMap;function c(e,t){const n=r.GLOBAL_OBJ._sentryDebugIds;if(!n)return;let a;const o=u.get(t);o?a=o:(a=new Map,u.set(t,a));const i=Object.entries(n).reduce(((e,[n,r])=>{let o;const i=a.get(n);i?o=i:(o=t(n),a.set(n,o));for(let t=o.length-1;t>=0;t--){const n=o[t];if(n.filename){e[n.filename]=r;break}}return e}),{});try{e.exception.values.forEach((e=>{e.stacktrace.frames.forEach((e=>{e.filename&&(e.debug_id=i[e.filename])}))}))}catch(e){}}function d(e){const t={};try{e.exception.values.forEach((e=>{e.stacktrace.frames.forEach((e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)}))}))}catch(e){}if(0===Object.keys(t).length)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];const n=e.debug_meta.images;Object.entries(t).forEach((([e,t])=>{n.push({type:"sourcemap",code_file:e,debug_id:t})}))}function p(e,t){if(!t)return e;const n=e?e.clone():new s.Scope;return n.update(t),n}const f=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"];t.applyDebugIds=c,t.applyDebugMeta=d,t.parseEventHintOrCaptureContext=function(e){if(e)return function(e){return e instanceof s.Scope||"function"==typeof e}(e)||function(e){return Object.keys(e).some((e=>f.includes(e)))}(e)?{captureContext:e}:e},t.prepareEvent=function(e,t,n,s,u,f){const{normalizeDepth:h=3,normalizeMaxBreadth:m=1e3}=e,g={...t,event_id:t.event_id||n.event_id||r.uuid4(),timestamp:t.timestamp||r.dateTimestampInSeconds()},v=n.integrations||e.integrations.map((e=>e.name));!function(e,t){const{environment:n,release:o,dist:i,maxValueLength:s=250}=t;"environment"in e||(e.environment="environment"in t?n:a.DEFAULT_ENVIRONMENT),void 0===e.release&&void 0!==o&&(e.release=o),void 0===e.dist&&void 0!==i&&(e.dist=i),e.message&&(e.message=r.truncate(e.message,s));const l=e.exception&&e.exception.values&&e.exception.values[0];l&&l.value&&(l.value=r.truncate(l.value,s));const u=e.request;u&&u.url&&(u.url=r.truncate(u.url,s))}(g,e),function(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}(g,v),u&&u.emit("applyFrameMetadata",t),void 0===t.type&&c(g,e.stackParser);const y=p(s,n.captureContext);n.mechanism&&r.addExceptionMechanism(g,n.mechanism);const b=u?u.getEventProcessors():[],w=o.getGlobalScope().getScopeData();if(f){const e=f.getScopeData();l.mergeScopeData(w,e)}if(y){const e=y.getScopeData();l.mergeScopeData(w,e)}const x=[...n.attachments||[],...w.attachments];x.length&&(n.attachments=x),l.applyScopeDataToEvent(g,w);const S=[...b,...w.eventProcessors];return i.notifyEventProcessors(S,g,n).then((e=>(e&&d(e),"number"==typeof h&&h>0?function(e,t,n){if(!e)return null;const a={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map((e=>({...e,...e.data&&{data:r.normalize(e.data,t,n)}})))},...e.user&&{user:r.normalize(e.user,t,n)},...e.contexts&&{contexts:r.normalize(e.contexts,t,n)},...e.extra&&{extra:r.normalize(e.extra,t,n)}};return e.contexts&&e.contexts.trace&&a.contexts&&(a.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(a.contexts.trace.data=r.normalize(e.contexts.trace.data,t,n))),e.spans&&(a.spans=e.spans.map((e=>({...e,...e.data&&{data:r.normalize(e.data,t,n)}})))),a}(e,h,m):e)))}},55303:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320);t.applySdkMetadata=function(e,t,n=[t],a="npm"){const o=e._metadata||{};o.sdk||(o.sdk={name:`sentry.javascript.${t}`,packages:n.map((e=>({name:`${a}:@sentry/${e}`,version:r.SDK_VERSION}))),version:r.SDK_VERSION}),e._metadata=o}},64865:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320),a="_sentrySpan";t._getSpanForScope=function(e){return e[a]},t._setSpanForScope=function(e,t){t?r.addNonEnumerableProperty(e,a,t):delete e[a]}},54583:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320),a=n(42810),o=n(73220),i=n(49564),s=n(14021),l=n(52751),u=n(15363),c=n(64865);function d(e){return"number"==typeof e?p(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?p(e.getTime()):r.timestampInSeconds()}function p(e){return e>9999999999?e/1e3:e}function f(e){if(function(e){return"function"==typeof e.getSpanJSON}(e))return e.getSpanJSON();try{const{spanId:t,traceId:n}=e.spanContext();if(function(e){const t=e;return!!(t.attributes&&t.startTime&&t.name&&t.endTime&&t.status)}(e)){const{attributes:a,startTime:o,name:i,endTime:u,parentSpanId:c,status:p}=e;return r.dropUndefinedKeys({span_id:t,trace_id:n,data:a,description:i,parent_span_id:c,start_timestamp:d(o),timestamp:d(u)||void 0,status:m(p),op:a[l.SEMANTIC_ATTRIBUTE_SENTRY_OP],origin:a[l.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN],_metrics_summary:s.getMetricSummaryJsonForSpan(e)})}return{span_id:t,trace_id:n}}catch(e){return{}}}function h(e){const{traceFlags:t}=e.spanContext();return 1===t}function m(e){if(e&&e.code!==u.SPAN_STATUS_UNSET)return e.code===u.SPAN_STATUS_OK?"ok":e.message||"unknown_error"}const g="_sentryChildSpans",v="_sentryRootSpan";function y(){const e=o.getMainCarrier(),t=a.getAsyncContextStrategy(e);return t.getActiveSpan?t.getActiveSpan():c._getSpanForScope(i.getCurrentScope())}t.TRACE_FLAG_NONE=0,t.TRACE_FLAG_SAMPLED=1,t.addChildSpanToSpan=function(e,t){const n=e[v]||e;r.addNonEnumerableProperty(t,v,n),e[g]?e[g].add(t):r.addNonEnumerableProperty(e,g,new Set([t]))},t.getActiveSpan=y,t.getRootSpan=function(e){return e[v]||e},t.getSpanDescendants=function(e){const t=new Set;return function e(n){if(!t.has(n)&&h(n)){t.add(n);const r=n[g]?Array.from(n[g]):[];for(const t of r)e(t)}}(e),Array.from(t)},t.getStatusMessage=m,t.removeChildSpanFromSpan=function(e,t){e[g]&&e[g].delete(t)},t.spanIsSampled=h,t.spanTimeInputToSeconds=d,t.spanToJSON=f,t.spanToTraceContext=function(e){const{spanId:t,traceId:n}=e.spanContext(),{parent_span_id:a}=f(e);return r.dropUndefinedKeys({parent_span_id:a,span_id:t,trace_id:n})},t.spanToTraceHeader=function(e){const{traceId:t,spanId:n}=e.spanContext(),a=h(e);return r.generateSentryTraceHeader(t,n,a)},t.spanToTransactionTraceContext=function(e){const{spanId:t,traceId:n}=e.spanContext(),{data:a,op:o,parent_span_id:i,status:s,origin:l}=f(e);return r.dropUndefinedKeys({parent_span_id:i,span_id:t,trace_id:n,data:a,op:o,status:s,origin:l})},t.updateMetricSummaryOnActiveSpan=function(e,t,n,r,a,o){const i=y();i&&s.updateMetricSummaryOnSpan(i,e,t,n,r,a,o)}},20647:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(24320),a=n(42810),o=n(73220),i=n(49564),s=n(79183);n(44038),n(68974);const l=n(54583),u=n(93754);function c(e){if(!e||!e.length)return!1;const t="[-!#$%&'*+.^_`|~A-Za-z0-9]+",n="[!#-+-./0-9:<=>?@A-Z\\[\\]a-z{-}]+",r="\\s*";return new RegExp(`^${t}${r}=${r}${n}(${r},${r}${t}${r}=${r}${n})*$`).test(e)}t.getTraceData=function(){if(!s.isEnabled())return{};const e=o.getMainCarrier(),t=a.getAsyncContextStrategy(e);if(t.getTraceData)return t.getTraceData();const n=i.getClient(),d=i.getCurrentScope(),p=l.getActiveSpan(),{dsc:f,sampled:h,traceId:m}=d.getPropagationContext(),g=p&&l.getRootSpan(p),v=p?l.spanToTraceHeader(p):r.generateSentryTraceHeader(m,void 0,h),y=g?u.getDynamicSamplingContextFromSpan(g):f||(n?u.getDynamicSamplingContextFromClient(m,n):void 0),b=r.dynamicSamplingContextToSentryBaggageHeader(y);if(!r.TRACEPARENT_REGEXP.test(v))return r.logger.warn("Invalid sentry-trace data. Cannot generate trace data"),{};const w=c(b);return w||r.logger.warn('Invalid baggage data. Not returning "baggage" value'),{"sentry-trace":v,...w&&{baggage:b}}},t.isValidBaggageString=c},94851:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.REACT_MOUNT_OP="ui.react.mount",t.REACT_RENDER_OP="ui.react.render",t.REACT_UPDATE_OP="ui.react.update"},31008:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0});const n="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;t.DEBUG_BUILD=n},40504:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(90327),a=n(24320),o=n(96540);function i(e){const t=e.match(/^([^.]+)/);return null!==t&&parseInt(t[0])>=17}function s(e,t){const n=new WeakSet;!function e(t,r){if(!n.has(t))return t.cause?(n.add(t),e(t.cause,r)):void(t.cause=r)}(e,t)}function l(e,{componentStack:t},n){if(i(o.version)&&a.isError(e)&&t){const n=new Error(e.message);n.name=`React ErrorBoundary ${e.name}`,n.stack=t,s(e,n)}return r.captureException(e,{...n,captureContext:{contexts:{react:{componentStack:t}}}})}t.captureReactException=l,t.isAtLeastReact17=i,t.reactErrorHandler=function(e){return(t,n)=>{const r=l(t,n);e&&e(t,n,r)}},t.setCause=s},17398:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(90327),a=n(24320),o=n(4146),i=n(96540),s=n(31008),l=n(40504);function u(e){if(e&&e.__esModule)return e;const t=Object.create(null);if(e)for(const n in e)t[n]=e[n];return t.default=e,t}const c=(e=>e&&e.__esModule?e.default:e)(o),d=u(i),p="unknown",f={componentStack:null,error:null,eventId:null};class h extends d.Component{constructor(e){super(e),h.prototype.__init.call(this),this.state=f,this._openFallbackReportDialog=!0;const t=r.getClient();t&&e.showDialog&&(this._openFallbackReportDialog=!1,this._cleanupHook=t.on("afterSendEvent",(t=>{!t.type&&this._lastEventId&&t.event_id===this._lastEventId&&r.showReportDialog({...e.dialogOptions,eventId:this._lastEventId})})))}componentDidCatch(e,t){const{componentStack:n}=t,a=null==n?void 0:n,{beforeCapture:o,onError:i,showDialog:s,dialogOptions:u}=this.props;r.withScope((c=>{o&&o(c,e,a);const d=l.captureReactException(e,t,{mechanism:{handled:!!this.props.fallback}});i&&i(e,a,d),s&&(this._lastEventId=d,this._openFallbackReportDialog&&r.showReportDialog({...u,eventId:d})),this.setState({error:e,componentStack:n,eventId:d})}))}componentDidMount(){const{onMount:e}=this.props;e&&e()}componentWillUnmount(){const{error:e,componentStack:t,eventId:n}=this.state,{onUnmount:r}=this.props;r&&r(e,t,n),this._cleanupHook&&(this._cleanupHook(),this._cleanupHook=void 0)}__init(){this.resetErrorBoundary=()=>{const{onReset:e}=this.props,{error:t,componentStack:n,eventId:r}=this.state;e&&e(t,n,r),this.setState(f)}}render(){const{fallback:e,children:t}=this.props,n=this.state;if(n.error){let t;return t="function"==typeof e?d.createElement(e,{error:n.error,componentStack:n.componentStack,resetError:this.resetErrorBoundary,eventId:n.eventId}):e,d.isValidElement(t)?t:(e&&s.DEBUG_BUILD&&a.logger.warn("fallback did not produce a valid ReactElement"),null)}return"function"==typeof t?t():t}}t.ErrorBoundary=h,t.UNKNOWN_COMPONENT=p,t.withErrorBoundary=function(e,t){const n=e.displayName||e.name||p,r=n=>d.createElement(h,{...t},d.createElement(e,{...n}));return r.displayName=`errorBoundary(${n})`,c(r,e),r}},19122:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(90327),a=n(27830),o=n(40504),i=n(79005),s=n(17398),l=n(21524),u=n(14663),c=n(10524),d=n(71044),p=n(32988);t.init=a.init,t.reactErrorHandler=o.reactErrorHandler,t.Profiler=i.Profiler,t.useProfiler=i.useProfiler,t.withProfiler=i.withProfiler,t.ErrorBoundary=s.ErrorBoundary,t.withErrorBoundary=s.withErrorBoundary,t.createReduxEnhancer=l.createReduxEnhancer,t.reactRouterV3BrowserTracingIntegration=u.reactRouterV3BrowserTracingIntegration,t.tanstackRouterBrowserTracingIntegration=c.tanstackRouterBrowserTracingIntegration,t.reactRouterV4BrowserTracingIntegration=d.reactRouterV4BrowserTracingIntegration,t.reactRouterV5BrowserTracingIntegration=d.reactRouterV5BrowserTracingIntegration,t.withSentryRouting=d.withSentryRouting,t.reactRouterV6BrowserTracingIntegration=p.reactRouterV6BrowserTracingIntegration,t.withSentryReactRouterV6Routing=p.withSentryReactRouterV6Routing,t.wrapCreateBrowserRouter=p.wrapCreateBrowserRouter,t.wrapUseRoutes=p.wrapUseRoutes,Object.prototype.hasOwnProperty.call(r,"__proto__")&&!Object.prototype.hasOwnProperty.call(t,"__proto__")&&Object.defineProperty(t,"__proto__",{enumerable:!0,value:r.__proto__}),Object.keys(r).forEach((e=>{"default"===e||Object.prototype.hasOwnProperty.call(t,e)||(t[e]=r[e])}))},79005:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(90327),a=n(37872),o=n(24320),i=n(4146),s=n(96540),l=n(94851);function u(e){if(e&&e.__esModule)return e;const t=Object.create(null);if(e)for(const n in e)t[n]=e[n];return t.default=e,t}const c=(e=>e&&e.__esModule?e.default:e)(i),d=u(s),p="unknown";class f extends d.Component{static __initStatic(){this.defaultProps={disabled:!1,includeRender:!0,includeUpdates:!0}}constructor(e){super(e);const{name:t,disabled:n=!1}=this.props;n||(this._mountSpan=r.startInactiveSpan({name:`<${t}>`,onlyIfParent:!0,op:l.REACT_MOUNT_OP,attributes:{[a.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.react.profiler","ui.component_name":t}}))}componentDidMount(){this._mountSpan&&this._mountSpan.end()}shouldComponentUpdate({updateProps:e,includeUpdates:t=!0}){if(t&&this._mountSpan&&e!==this.props.updateProps){const t=Object.keys(e).filter((t=>e[t]!==this.props.updateProps[t]));if(t.length>0){const e=o.timestampInSeconds();this._updateSpan=a.withActiveSpan(this._mountSpan,(()=>r.startInactiveSpan({name:`<${this.props.name}>`,onlyIfParent:!0,op:l.REACT_UPDATE_OP,startTime:e,attributes:{[a.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.react.profiler","ui.component_name":this.props.name,"ui.react.changed_props":t}})))}}return!0}componentDidUpdate(){this._updateSpan&&(this._updateSpan.end(),this._updateSpan=void 0)}componentWillUnmount(){const e=o.timestampInSeconds(),{name:t,includeRender:n=!0}=this.props;if(this._mountSpan&&n){const n=a.spanToJSON(this._mountSpan).timestamp;a.withActiveSpan(this._mountSpan,(()=>{const o=r.startInactiveSpan({onlyIfParent:!0,name:`<${t}>`,op:l.REACT_RENDER_OP,startTime:n,attributes:{[a.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.react.profiler","ui.component_name":t}});o&&o.end(e)}))}}render(){return this.props.children}}f.__initStatic(),t.Profiler=f,t.UNKNOWN_COMPONENT=p,t.useProfiler=function(e,t={disabled:!1,hasRenderSpan:!0}){const[n]=d.useState((()=>{if(!t||!t.disabled)return r.startInactiveSpan({name:`<${e}>`,onlyIfParent:!0,op:l.REACT_MOUNT_OP,attributes:{[a.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.react.profiler","ui.component_name":e}})}));d.useEffect((()=>(n&&n.end(),()=>{if(n&&t.hasRenderSpan){const t=a.spanToJSON(n).timestamp,i=o.timestampInSeconds(),s=r.startInactiveSpan({name:`<${e}>`,onlyIfParent:!0,op:l.REACT_RENDER_OP,startTime:t,attributes:{[a.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.react.profiler","ui.component_name":e}});s&&s.end(i)}})),[])},t.withProfiler=function(e,t){const n=t&&t.name||e.displayName||e.name||p,r=r=>d.createElement(f,{...t,name:n,updateProps:r},d.createElement(e,{...r}));return r.displayName=`profiler(${n})`,c(r,e),r}},71044:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(90327),a=n(37872),o=n(4146),i=n(96540);function s(e){if(e&&e.__esModule)return e;const t=Object.create(null);if(e)for(const n in e)t[n]=e[n];return t.default=e,t}const l=(e=>e&&e.__esModule?e.default:e)(o),u=s(i);function c(e,t,n,o,i,s=[],l){function u(e){if(0===s.length||!l)return[e,"url"];const t=d(s,e,l);for(const e of t)if(e.match.isExact)return[e.match.path,"route"];return[e,"url"]}if(t){const t=o&&o.location?o.location.pathname:r.WINDOW&&r.WINDOW.location?r.WINDOW.location.pathname:void 0;if(t){const[n,o]=u(t);r.startBrowserTracingPageLoadSpan(e,{name:n,attributes:{[a.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"pageload",[a.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:`auto.pageload.react.${i}`,[a.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:o}})}}n&&o.listen&&o.listen(((t,n)=>{if(n&&("PUSH"===n||"POP"===n)){const[n,o]=u(t.pathname);r.startBrowserTracingNavigationSpan(e,{name:n,attributes:{[a.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"navigation",[a.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:`auto.navigation.react.${i}`,[a.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:o}})}}))}function d(e,t,n,r=[]){return e.some((e=>{const a=e.path?n(t,e):r.length?r[r.length-1].match:function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}}(t);return a&&(r.push({route:e,match:a}),e.routes&&d(e.routes,t,n,r)),!!a})),r}t.reactRouterV4BrowserTracingIntegration=function(e){const t=r.browserTracingIntegration({...e,instrumentPageLoad:!1,instrumentNavigation:!1}),{history:n,routes:a,matchPath:o,instrumentPageLoad:i=!0,instrumentNavigation:s=!0}=e;return{...t,afterAllSetup(e){t.afterAllSetup(e),c(e,i,s,n,"reactrouter_v4",a,o)}}},t.reactRouterV5BrowserTracingIntegration=function(e){const t=r.browserTracingIntegration({...e,instrumentPageLoad:!1,instrumentNavigation:!1}),{history:n,routes:a,matchPath:o,instrumentPageLoad:i=!0,instrumentNavigation:s=!0}=e;return{...t,afterAllSetup(e){t.afterAllSetup(e),c(e,i,s,n,"reactrouter_v5",a,o)}}},t.withSentryRouting=function(e){const t=e.displayName||e.name,n=t=>{if(t&&t.computedMatch&&t.computedMatch.isExact){const e=t.computedMatch.path,n=function(){const e=a.getActiveSpan(),t=e&&a.getRootSpan(e);if(!t)return;const n=a.spanToJSON(t).op;return"navigation"===n||"pageload"===n?t:void 0}();a.getCurrentScope().setTransactionName(e),n&&(n.updateName(e),n.setAttribute(a.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,"route"))}return u.createElement(e,{...t})};return n.displayName=`sentryRoute(${t})`,l(n,e),n}},14663:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(90327),a=n(37872);function o(e,t,n,r){let a=t.pathname;n({location:t,routes:e},((e,t,n)=>{if(e||!n)return r(a);const o=function(e){if(!Array.isArray(e)||0===e.length)return"";const t=e.filter((e=>!!e.path));let n=-1;for(let e=t.length-1;e>=0;e--){const r=t[e];if(r.path&&r.path.startsWith("/")){n=e;break}}return t.slice(n).filter((({path:e})=>!!e)).map((({path:e})=>e)).join("")}(n.routes||[]);return 0===o.length||"/*"===o?r(a):(a=o,r(a,"route"))}))}t.reactRouterV3BrowserTracingIntegration=function(e){const t=r.browserTracingIntegration({...e,instrumentPageLoad:!1,instrumentNavigation:!1}),{history:n,routes:i,match:s,instrumentPageLoad:l=!0,instrumentNavigation:u=!0}=e;return{...t,afterAllSetup(e){t.afterAllSetup(e),l&&r.WINDOW&&r.WINDOW.location&&o(i,r.WINDOW.location,s,((t,n="url")=>{r.startBrowserTracingPageLoadSpan(e,{name:t,attributes:{[a.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"pageload",[a.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.pageload.react.reactrouter_v3",[a.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:n}})})),u&&n.listen&&n.listen((t=>{"PUSH"!==t.action&&"POP"!==t.action||o(i,t,s,((t,n="url")=>{r.startBrowserTracingNavigationSpan(e,{name:t,attributes:{[a.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"navigation",[a.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.navigation.react.reactrouter_v3",[a.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:n}})}))}))}}}},32988:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(90327),a=n(37872),o=n(24320),i=n(4146),s=n(96540),l=n(31008);function u(e){if(e&&e.__esModule)return e;const t=Object.create(null);if(e)for(const n in e)t[n]=e[n];return t.default=e,t}const c=(e=>e&&e.__esModule?e.default:e)(i),d=u(s);let p,f,h,m,g,v=!1;const y=new WeakSet;function b(e,t){if(!t||"/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return e;const n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?e:e.slice(n)||"/"}function w(e,t,n,r=""){if(!e||0===e.length)return[v?b(t.pathname,r):t.pathname,"url"];let a="";if(n)for(const e of n){const n=e.route;if(n){if(n.index)return[v?b(e.pathname,r):e.pathname,"route"];const i=n.path;if(i){const n="/"===i[0]||"/"===a[a.length-1]?i:`/${i}`;if(a+=n,r+e.pathname===t.pathname)return o.getNumberOfUrlSegments(a)!==o.getNumberOfUrlSegments(e.pathname)&&"/*"!==a.slice(-2)?[(v?"":r)+n,"route"]:[(v?"":r)+a,"route"]}}}return[v?b(t.pathname,r):t.pathname,"url"]}function x(e,t,n,r,o){const i=Array.isArray(r)?r:g(n,t,o);if(i){const[r,s]=w(n,t,i,o);a.getCurrentScope().setTransactionName(r),e&&(e.updateName(r),e.setAttribute(a.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,s))}}function S(e,t,n,o,i){const s=Array.isArray(o)?o:g(t,e,i),l=a.getClient();if(l&&y.has(l)&&("PUSH"===n||"POP"===n)&&s){const[n,o]=w(t,e,s,i);r.startBrowserTracingNavigationSpan(l,{name:n,attributes:{[a.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:o,[a.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"navigation",[a.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.navigation.react.reactrouter_v6"}})}}function _(){const e=a.getActiveSpan(),t=e?a.getRootSpan(e):void 0;if(!t)return;const n=a.spanToJSON(t).op;return"navigation"===n||"pageload"===n?t:void 0}t.reactRouterV6BrowserTracingIntegration=function(e){const t=r.browserTracingIntegration({...e,instrumentPageLoad:!1,instrumentNavigation:!1}),{useEffect:n,useLocation:o,useNavigationType:i,createRoutesFromChildren:s,matchRoutes:l,stripBasename:u,instrumentPageLoad:c=!0,instrumentNavigation:d=!0}=e;return{...t,setup(){p=n,f=o,h=i,g=l,m=s,v=u||!1},afterAllSetup(e){t.afterAllSetup(e);const n=r.WINDOW&&r.WINDOW.location&&r.WINDOW.location.pathname;c&&n&&r.startBrowserTracingPageLoadSpan(e,{name:n,attributes:{[a.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"url",[a.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"pageload",[a.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.pageload.react.reactrouter_v6"}}),d&&y.add(e)}}},t.withSentryReactRouterV6Routing=function(e){if(!(p&&f&&h&&m&&g))return l.DEBUG_BUILD&&o.logger.warn(`reactRouterV6Instrumentation was unable to wrap Routes because of one or more missing parameters.\n useEffect: ${p}. useLocation: ${f}. useNavigationType: ${h}.\n createRoutesFromChildren: ${m}. matchRoutes: ${g}.`),e;let t=!0;const n=n=>{const r=f(),a=h();return p((()=>{const e=m(n.children);t?(x(_(),r,e),t=!1):S(r,e,a)}),[r,a]),d.createElement(e,{...n})};return c(n,e),n},t.wrapCreateBrowserRouter=function(e){return p&&f&&h&&g?function(t,n){const r=e(t,n),a=n&&n.basename,o=_();return"POP"===r.state.historyAction&&o&&x(o,r.state.location,t,void 0,a),r.subscribe((e=>{const n=e.location;"PUSH"!==e.historyAction&&"POP"!==e.historyAction||S(n,t,e.historyAction,void 0,a)})),r}:(l.DEBUG_BUILD&&o.logger.warn("reactRouterV6Instrumentation was unable to wrap the `createRouter` function because of one or more missing parameters."),e)},t.wrapUseRoutes=function(e){if(!(p&&f&&h&&g))return l.DEBUG_BUILD&&o.logger.warn("reactRouterV6Instrumentation was unable to wrap `useRoutes` because of one or more missing parameters."),e;let t=!0;const n=n=>{const{routes:r,locationArg:a}=n,o=e(r,a),i=f(),s=h(),l="string"==typeof a||a&&a.pathname?a:i;return p((()=>{const e="string"==typeof l?{pathname:l}:l;t?(x(_(),e,r),t=!1):S(e,r,s)}),[s,l]),o};return(e,t)=>d.createElement(n,{routes:e,locationArg:t})}},21524:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(37872),a=n(24320),o={attachReduxState:!0,actionTransformer:e=>e,stateTransformer:e=>e||null};t.createReduxEnhancer=function(e){const t={...o,...e};return e=>(n,o)=>(t.attachReduxState&&r.getGlobalScope().addEventProcessor(((e,t)=>{try{void 0===e.type&&"redux"===e.contexts.state.state.type&&(t.attachments=[...t.attachments||[],{filename:"redux_state.json",data:JSON.stringify(e.contexts.state.state.value)}])}catch(e){}return e})),e(((e,o)=>{const i=n(e,o),s=r.getCurrentScope(),l=t.actionTransformer(o);null!=l&&r.addBreadcrumb({category:"redux.action",data:l,type:"info"});const u=t.stateTransformer(i);if(null!=u){const e=r.getClient(),t=e&&e.getOptions(),n=t&&t.normalizeDepth||3,o={state:{type:"redux",value:u}};a.addNonEnumerableProperty(o,"__sentry_override_normalization_depth__",3+n),s.setContext("state",o)}else s.setContext("state",null);const{configureScopeWithState:c}=t;return"function"==typeof c&&c(s,i),i}),o))}},27830:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(90327),a=n(37872),o=n(96540);t.init=function(e){const t={...e};return a.applySdkMetadata(t,"react"),r.setContext("react",{version:o.version}),r.init(t)}},10524:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(90327),a=n(37872);function o(e){if(!e)return{};const t={};return Object.entries(e.params).forEach((([e,n])=>{t[`url.path.params.${e}`]=n})),t}t.tanstackRouterBrowserTracingIntegration=function(e,t={}){const n=e,i=r.browserTracingIntegration({...t,instrumentNavigation:!1,instrumentPageLoad:!1}),{instrumentPageLoad:s=!0,instrumentNavigation:l=!0}=t;return{...i,afterAllSetup(e){i.afterAllSetup(e);const t=r.WINDOW.location;if(s&&t){const i=n.matchRoutes(t.pathname,t.search,{preload:!1,throwOnError:!1}),s=i[i.length-1];r.startBrowserTracingPageLoadSpan(e,{name:s?s.routeId:t.pathname,attributes:{[a.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"pageload",[a.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.pageload.react.tanstack_router",[a.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:s?"route":"url",...o(s)}})}l&&n.subscribe("onBeforeNavigate",(t=>{if(t.toLocation.state===t.fromLocation.state)return;const i=n.matchRoutes(t.toLocation.pathname,t.toLocation.search,{preload:!1,throwOnError:!1}),s=i[i.length-1],l=r.WINDOW.location,u=r.startBrowserTracingNavigationSpan(e,{name:s?s.routeId:l.pathname,attributes:{[a.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"navigation",[a.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.navigation.react.tanstack_router",[a.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:s?"route":"url"}}),c=n.subscribe("onResolved",(e=>{if(c(),u){const t=n.matchRoutes(e.toLocation.pathname,e.toLocation.search,{preload:!1,throwOnError:!1}),r=t[t.length-1];r&&(u.updateName(r.routeId),u.setAttribute(a.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,"route"),u.setAttributes(o(r)))}}))}))}}}},17939:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(70518),a=n(25551);function o(e,t,n,a,l,u,c,d){if(u.length>=n+1)return u;let p=[...u];if(r.isInstanceOf(a[l],Error)){i(c,d);const r=e(t,a[l]),u=p.length;s(r,l,u,d),p=o(e,t,n,a[l],l,[r,...p],r,u)}return Array.isArray(a.errors)&&a.errors.forEach(((a,u)=>{if(r.isInstanceOf(a,Error)){i(c,d);const r=e(t,a),f=p.length;s(r,`errors[${u}]`,f,d),p=o(e,t,n,a,l,[r,...p],r,f)}})),p}function i(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,..."AggregateError"===e.type&&{is_exception_group:!0},exception_id:t}}function s(e,t,n,r){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:r}}t.applyAggregateErrorsToEvent=function(e,t,n=250,i,s,l,u){if(!(l.exception&&l.exception.values&&u&&r.isInstanceOf(u.originalException,Error)))return;const c=l.exception.values.length>0?l.exception.values[l.exception.values.length-1]:void 0;var d,p;c&&(l.exception.values=(d=o(e,t,s,u.originalException,i,l.exception.values,c,0),p=n,d.map((e=>(e.value&&(e.value=a.truncate(e.value,p)),e)))))}},2275:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(13227),a=n(73877),o=n(64683);t.callFrameToStackFrame=function(e,t,n){const i=t?t.replace(/^file:\/\//,""):void 0,s=e.location.columnNumber?e.location.columnNumber+1:void 0,l=e.location.lineNumber?e.location.lineNumber+1:void 0;return a.dropUndefinedKeys({filename:i,module:n(i),function:e.functionName||o.UNKNOWN_FUNCTION,colno:s,lineno:l,in_app:i?r.filenameIsInApp(i):void 0})},t.watchdogTimer=function(e,t,n,r){const a=e();let o=!1,i=!0;return setInterval((()=>{const e=a.getTimeMs();!1===o&&e>t+n&&(o=!0,i&&r()),e{a.reset()},enabled:e=>{i=e}}}},91545:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.flatten=function(e){const t=[],n=e=>{e.forEach((e=>{Array.isArray(e)?n(e):t.push(e)}))};return n(e),t}},47542:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(98750),a=n(70518),o=n(68030),i="sentry-",s=/^sentry-/;function l(e){if(e&&(a.isString(e)||Array.isArray(e)))return Array.isArray(e)?e.reduce(((e,t)=>{const n=u(t);return Object.entries(n).forEach((([t,n])=>{e[t]=n})),e}),{}):u(e)}function u(e){return e.split(",").map((e=>e.split("=").map((e=>decodeURIComponent(e.trim()))))).reduce(((e,[t,n])=>(t&&n&&(e[t]=n),e)),{})}t.BAGGAGE_HEADER_NAME="baggage",t.MAX_BAGGAGE_STRING_LENGTH=8192,t.SENTRY_BAGGAGE_KEY_PREFIX=i,t.SENTRY_BAGGAGE_KEY_PREFIX_REGEX=s,t.baggageHeaderToDynamicSamplingContext=function(e){const t=l(e);if(!t)return;const n=Object.entries(t).reduce(((e,[t,n])=>(t.match(s)&&(e[t.slice(7)]=n),e)),{});return Object.keys(n).length>0?n:void 0},t.dynamicSamplingContextToSentryBaggageHeader=function(e){if(e)return function(e){if(0!==Object.keys(e).length)return Object.entries(e).reduce(((e,[t,n],a)=>{const i=`${encodeURIComponent(t)}=${encodeURIComponent(n)}`,s=0===a?i:`${e},${i}`;return s.length>8192?(r.DEBUG_BUILD&&o.logger.warn(`Not adding key: ${t} with val: ${n} to baggage header due to exceeding baggage size limits.`),e):s}),"")}(Object.entries(e).reduce(((e,[t,n])=>(n&&(e[`${i}${t}`]=n),e)),{}))},t.parseBaggageHeader=l},69607:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getBreadcrumbLogLevelFromHttpStatusCode=function(e){return void 0===e?void 0:e>=400&&e<500?"warning":e>=500?"error":void 0}},64796:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(70518),a=n(28355).GLOBAL_OBJ;function o(e,t){const n=e,o=[];if(!n||!n.tagName)return"";if(a.HTMLElement&&n instanceof HTMLElement&&n.dataset){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}o.push(n.tagName.toLowerCase());const i=t&&t.length?t.filter((e=>n.getAttribute(e))).map((e=>[e,n.getAttribute(e)])):null;if(i&&i.length)i.forEach((e=>{o.push(`[${e[0]}="${e[1]}"]`)}));else{n.id&&o.push(`#${n.id}`);const e=n.className;if(e&&r.isString(e)){const t=e.split(/\s+/);for(const e of t)o.push(`.${e}`)}}const s=["aria-label","type","name","title","alt"];for(const e of s){const t=n.getAttribute(e);t&&o.push(`[${e}="${t}"]`)}return o.join("")}t.getComponentName=function(e){if(!a.HTMLElement)return null;let t=e;for(let e=0;e<5;e++){if(!t)return null;if(t instanceof HTMLElement){if(t.dataset.sentryComponent)return t.dataset.sentryComponent;if(t.dataset.sentryElement)return t.dataset.sentryElement}t=t.parentNode}return null},t.getDomElement=function(e){return a.document&&a.document.querySelector?a.document.querySelector(e):null},t.getLocationHref=function(){try{return a.document.location.href}catch(e){return""}},t.htmlTreeAsString=function(e,t={}){if(!e)return"";try{let n=e;const r=5,a=[];let i=0,s=0;const l=" > ",u=l.length;let c;const d=Array.isArray(t)?t:t.keyAttrs,p=!Array.isArray(t)&&t.maxStringLength||80;for(;n&&i++1&&s+a.length*u+c.length>=p));)a.push(c),s+=c.length,n=n.parentNode;return a.reverse().join(l)}catch(e){return""}}},50652:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(33050);t._asyncNullishCoalesce=async function(e,t){return r._nullishCoalesce(e,t)}},96885:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t._asyncOptionalChain=async function(e){let t,n=e[0],r=1;for(;rn.call(t,...e))),t=void 0)}return n}},6798:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(96885);t._asyncOptionalChainDelete=async function(e){const t=await r._asyncOptionalChain(e);return null==t||t}},33050:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t._nullishCoalesce=function(e,t){return null!=e?e:t()}},40271:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t._optionalChain=function(e){let t,n=e[0],r=1;for(;rn.call(t,...e))),t=void 0)}return n}},72160:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(40271);t._optionalChainDelete=function(e){const t=r._optionalChain(e);return null==t||t}},38646:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.makeFifoCache=function(e){let t=[],n={};return{add(r,a){for(;t.length>=e;){const e=t.shift();void 0!==e&&delete n[e]}n[r]&&this.delete(r),t.push(r),n[r]=a},clear(){n={},t=[]},get:e=>n[e],size:()=>t.length,delete(e){if(!n[e])return!1;delete n[e];for(let n=0;n{Object.defineProperty(t,"__esModule",{value:!0});const r=n(23374),a=n(86867);t.createClientReportEnvelope=function(e,t,n){const o=[{type:"client_report"},{timestamp:n||a.dateTimestampInSeconds(),discarded_events:e}];return r.createEnvelope(t?{dsn:t}:{},[o])}},65396:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.parseCookie=function(e){const t={};let n=0;for(;n{Object.defineProperty(t,"__esModule",{value:!0});const n="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;t.DEBUG_BUILD=n},27605:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(98750),a=n(68030),o=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function i(e){const t=o.exec(e);if(!t)return void a.consoleSandbox((()=>{console.error(`Invalid Sentry Dsn: ${e}`)}));const[n,r,i="",l="",u="",c=""]=t.slice(1);let d="",p=c;const f=p.split("/");if(f.length>1&&(d=f.slice(0,-1).join("/"),p=f.pop()),p){const e=p.match(/^\d+/);e&&(p=e[0])}return s({host:l,pass:i,path:d,projectId:p,port:u,protocol:n,publicKey:r})}function s(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}t.dsnFromString=i,t.dsnToString=function(e,t=!1){const{host:n,path:r,pass:a,port:o,projectId:i,protocol:s,publicKey:l}=e;return`${s}://${l}${t&&a?`:${a}`:""}@${n}${o?`:${o}`:""}/${r?`${r}/`:r}${i}`},t.makeDsn=function(e){const t="string"==typeof e?i(e):s(e);if(t&&function(e){if(!r.DEBUG_BUILD)return!0;const{port:t,projectId:n,protocol:o}=e;return!(["protocol","publicKey","host","projectId"].find((t=>!e[t]&&(a.logger.error(`Invalid Sentry Dsn: ${t} missing`),!0)))||(n.match(/^\d+$/)?function(e){return"http"===e||"https"===e}(o)?t&&isNaN(parseInt(t,10))&&(a.logger.error(`Invalid Sentry Dsn: Invalid port ${t}`),1):(a.logger.error(`Invalid Sentry Dsn: Invalid protocol ${o}`),1):(a.logger.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),1)))}(t))return t}},62827:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getSDKSource=function(){return"npm"},t.isBrowserBundle=function(){return"undefined"!=typeof __SENTRY_BROWSER_BUNDLE__&&!!__SENTRY_BROWSER_BUNDLE__}},23374:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(27605),a=n(95027),o=n(73877),i=n(28355);function s(e,t){const n=e[1];for(const e of n)if(t(e,e[0].type))return!0;return!1}function l(e){return i.GLOBAL_OBJ.__SENTRY__&&i.GLOBAL_OBJ.__SENTRY__.encodePolyfill?i.GLOBAL_OBJ.__SENTRY__.encodePolyfill(e):(new TextEncoder).encode(e)}const u={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",statsd:"metric_bucket"};t.addItemToEnvelope=function(e,t){const[n,r]=e;return[n,[...r,t]]},t.createAttachmentEnvelopeItem=function(e){const t="string"==typeof e.data?l(e.data):e.data;return[o.dropUndefinedKeys({type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),t]},t.createEnvelope=function(e,t=[]){return[e,t]},t.createEventEnvelopeHeaders=function(e,t,n,a){const i=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:e.event_id,sent_at:(new Date).toISOString(),...t&&{sdk:t},...!!n&&a&&{dsn:r.dsnToString(a)},...i&&{trace:o.dropUndefinedKeys({...i})}}},t.createSpanEnvelopeItem=function(e){return[{type:"span"},e]},t.envelopeContainsItemType=function(e,t){return s(e,((e,n)=>t.includes(n)))},t.envelopeItemTypeToDataCategory=function(e){return u[e]},t.forEachEnvelopeItem=s,t.getSdkMetadataForEnvelopeHeader=function(e){if(!e||!e.sdk)return;const{name:t,version:n}=e.sdk;return{name:t,version:n}},t.parseEnvelope=function(e){let t="string"==typeof e?l(e):e;function n(e){const n=t.subarray(0,e);return t=t.subarray(e+1),n}function r(){let e=t.indexOf(10);return e<0&&(e=t.length),JSON.parse((r=n(e),i.GLOBAL_OBJ.__SENTRY__&&i.GLOBAL_OBJ.__SENTRY__.decodePolyfill?i.GLOBAL_OBJ.__SENTRY__.decodePolyfill(r):(new TextDecoder).decode(r)));var r}const a=r(),o=[];for(;t.length;){const e=r(),t="number"==typeof e.length?e.length:void 0;o.push([e,t?n(t):r()])}return[a,o]},t.serializeEnvelope=function(e){const[t,n]=e;let r=JSON.stringify(t);function o(e){"string"==typeof r?r="string"==typeof e?r+e:[l(r),e]:r.push("string"==typeof e?l(e):e)}for(const e of n){const[t,n]=e;if(o(`\n${JSON.stringify(t)}\n`),"string"==typeof n||n instanceof Uint8Array)o(n);else{let e;try{e=JSON.stringify(n)}catch(t){e=JSON.stringify(a.normalize(n))}o(e)}}return"string"==typeof r?r:function(e){const t=e.reduce(((e,t)=>e+t.length),0),n=new Uint8Array(t);let r=0;for(const t of e)n.set(t,r),r+=t.length;return n}(r)}},74610:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0});class n extends Error{constructor(e,t="warn"){super(e),this.message=e,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=t}}t.SentryError=n},94521:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(70518),a=n(5258),o=n(95027),i=n(73877);function s(e,t){return e(t.stack||"",1)}function l(e,t){const n={type:t.name||t.constructor.name,value:t.message},r=s(e,t);return r.length&&(n.stacktrace={frames:r}),n}function u(e,t,n,a){if(r.isError(n))return[n,void 0];if(t.synthetic=!0,r.isPlainObject(n)){const t=e&&e.getOptions().normalizeDepth,s={__serialized__:o.normalizeToSize(n,t)},l=function(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)){const n=e[t];if(n instanceof Error)return n}}(n);if(l)return[l,s];const u=function(e){if("name"in e&&"string"==typeof e.name){let t=`'${e.name}' captured as exception`;return"message"in e&&"string"==typeof e.message&&(t+=` with message '${e.message}'`),t}if("message"in e&&"string"==typeof e.message)return e.message;const t=i.extractExceptionKeysForMessage(e);if(r.isErrorEvent(e))return`Event \`ErrorEvent\` captured as exception with message \`${e.message}\``;const n=function(e){try{const t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch(e){}}(e);return`${n&&"Object"!==n?`'${n}'`:"Object"} captured as exception with keys: ${t}`}(n),c=a&&a.syntheticException||new Error(u);return c.message=u,[c,s]}const s=a&&a.syntheticException||new Error(n);return s.message=`${n}`,[s,void 0]}t.eventFromMessage=function(e,t,n="info",a,o){const i={event_id:a&&a.event_id,level:n};if(o&&a&&a.syntheticException){const n=s(e,a.syntheticException);n.length&&(i.exception={values:[{value:t,stacktrace:{frames:n}}]})}if(r.isParameterizedString(t)){const{__sentry_template_string__:e,__sentry_template_values__:n}=t;return i.logentry={message:e,params:n},i}return i.message=t,i},t.eventFromUnknownInput=function(e,t,n,r){const o=r&&r.data&&r.data.mechanism||{handled:!0,type:"generic"},[i,s]=u(e,o,n,r),c={exception:{values:[l(t,i)]}};return s&&(c.extra=s),a.addExceptionTypeValue(c,void 0,void 0),a.addExceptionMechanism(c,o),{...c,event_id:r&&r.event_id}},t.exceptionFromError=l,t.parseStackFrames=s},24320:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(17939),a=n(91545),o=n(69607),i=n(64796),s=n(27605),l=n(74610),u=n(28355),c=n(92717),d=n(77560),p=n(6127),f=n(85855),h=n(17951),m=n(70518),g=n(47756),v=n(68030),y=n(76536),b=n(5258),w=n(19950),x=n(95027),S=n(73877),_=n(37417),A=n(93731),C=n(653),T=n(78773),k=n(64683),E=n(13227),M=n(25551),P=n(28786),O=n(64920),I=n(86867),D=n(68578),R=n(62827),N=n(23374),L=n(55371),$=n(42469),j=n(47542),F=n(90465),B=n(38646),z=n(94521),W=n(2275),V=n(49461),U=n(50652),H=n(96885),q=n(6798),G=n(33050),Y=n(40271),X=n(72160),K=n(18871),Q=n(30634),Z=n(79276),J=n(59747),ee=n(54551);t.applyAggregateErrorsToEvent=r.applyAggregateErrorsToEvent,t.flatten=a.flatten,t.getBreadcrumbLogLevelFromHttpStatusCode=o.getBreadcrumbLogLevelFromHttpStatusCode,t.getComponentName=i.getComponentName,t.getDomElement=i.getDomElement,t.getLocationHref=i.getLocationHref,t.htmlTreeAsString=i.htmlTreeAsString,t.dsnFromString=s.dsnFromString,t.dsnToString=s.dsnToString,t.makeDsn=s.makeDsn,t.SentryError=l.SentryError,t.GLOBAL_OBJ=u.GLOBAL_OBJ,t.getGlobalSingleton=u.getGlobalSingleton,t.addConsoleInstrumentationHandler=c.addConsoleInstrumentationHandler,t.addFetchEndInstrumentationHandler=d.addFetchEndInstrumentationHandler,t.addFetchInstrumentationHandler=d.addFetchInstrumentationHandler,t.addGlobalErrorInstrumentationHandler=p.addGlobalErrorInstrumentationHandler,t.addGlobalUnhandledRejectionInstrumentationHandler=f.addGlobalUnhandledRejectionInstrumentationHandler,t.addHandler=h.addHandler,t.maybeInstrument=h.maybeInstrument,t.resetInstrumentationHandlers=h.resetInstrumentationHandlers,t.triggerHandlers=h.triggerHandlers,t.isDOMError=m.isDOMError,t.isDOMException=m.isDOMException,t.isElement=m.isElement,t.isError=m.isError,t.isErrorEvent=m.isErrorEvent,t.isEvent=m.isEvent,t.isInstanceOf=m.isInstanceOf,t.isParameterizedString=m.isParameterizedString,t.isPlainObject=m.isPlainObject,t.isPrimitive=m.isPrimitive,t.isRegExp=m.isRegExp,t.isString=m.isString,t.isSyntheticEvent=m.isSyntheticEvent,t.isThenable=m.isThenable,t.isVueViewModel=m.isVueViewModel,t.isBrowser=g.isBrowser,t.CONSOLE_LEVELS=v.CONSOLE_LEVELS,t.consoleSandbox=v.consoleSandbox,t.logger=v.logger,t.originalConsoleMethods=v.originalConsoleMethods,t.memoBuilder=y.memoBuilder,t.addContextToFrame=b.addContextToFrame,t.addExceptionMechanism=b.addExceptionMechanism,t.addExceptionTypeValue=b.addExceptionTypeValue,t.arrayify=b.arrayify,t.checkOrSetAlreadyCaught=b.checkOrSetAlreadyCaught,t.getEventDescription=b.getEventDescription,t.parseSemver=b.parseSemver,t.uuid4=b.uuid4,t.dynamicRequire=w.dynamicRequire,t.isNodeEnv=w.isNodeEnv,t.loadModule=w.loadModule,t.normalize=x.normalize,t.normalizeToSize=x.normalizeToSize,t.normalizeUrlToBase=x.normalizeUrlToBase,t.addNonEnumerableProperty=S.addNonEnumerableProperty,t.convertToPlainObject=S.convertToPlainObject,t.dropUndefinedKeys=S.dropUndefinedKeys,t.extractExceptionKeysForMessage=S.extractExceptionKeysForMessage,t.fill=S.fill,t.getOriginalFunction=S.getOriginalFunction,t.markFunctionWrapped=S.markFunctionWrapped,t.objectify=S.objectify,t.urlEncode=S.urlEncode,t.basename=_.basename,t.dirname=_.dirname,t.isAbsolute=_.isAbsolute,t.join=_.join,t.normalizePath=_.normalizePath,t.relative=_.relative,t.resolve=_.resolve,t.makePromiseBuffer=A.makePromiseBuffer,t.DEFAULT_USER_INCLUDES=C.DEFAULT_USER_INCLUDES,t.addRequestDataToEvent=C.addRequestDataToEvent,t.extractPathForTransaction=C.extractPathForTransaction,t.extractRequestData=C.extractRequestData,t.winterCGHeadersToDict=C.winterCGHeadersToDict,t.winterCGRequestToRequestData=C.winterCGRequestToRequestData,t.severityLevelFromString=T.severityLevelFromString,t.validSeverityLevels=T.validSeverityLevels,t.UNKNOWN_FUNCTION=k.UNKNOWN_FUNCTION,t.createStackParser=k.createStackParser,t.getFramesFromEvent=k.getFramesFromEvent,t.getFunctionName=k.getFunctionName,t.stackParserFromStackParserOptions=k.stackParserFromStackParserOptions,t.stripSentryFramesAndReverse=k.stripSentryFramesAndReverse,t.filenameIsInApp=E.filenameIsInApp,t.node=E.node,t.nodeStackLineParser=E.nodeStackLineParser,t.isMatchingPattern=M.isMatchingPattern,t.safeJoin=M.safeJoin,t.snipLine=M.snipLine,t.stringMatchesSomePattern=M.stringMatchesSomePattern,t.truncate=M.truncate,t.isNativeFunction=P.isNativeFunction,t.supportsDOMError=P.supportsDOMError,t.supportsDOMException=P.supportsDOMException,t.supportsErrorEvent=P.supportsErrorEvent,t.supportsFetch=P.supportsFetch,t.supportsNativeFetch=P.supportsNativeFetch,t.supportsReferrerPolicy=P.supportsReferrerPolicy,t.supportsReportingObserver=P.supportsReportingObserver,t.SyncPromise=O.SyncPromise,t.rejectedSyncPromise=O.rejectedSyncPromise,t.resolvedSyncPromise=O.resolvedSyncPromise,Object.defineProperty(t,"_browserPerformanceTimeOriginMode",{enumerable:!0,get:()=>I._browserPerformanceTimeOriginMode}),t.browserPerformanceTimeOrigin=I.browserPerformanceTimeOrigin,t.dateTimestampInSeconds=I.dateTimestampInSeconds,t.timestampInSeconds=I.timestampInSeconds,t.TRACEPARENT_REGEXP=D.TRACEPARENT_REGEXP,t.extractTraceparentData=D.extractTraceparentData,t.generateSentryTraceHeader=D.generateSentryTraceHeader,t.propagationContextFromHeaders=D.propagationContextFromHeaders,t.getSDKSource=R.getSDKSource,t.isBrowserBundle=R.isBrowserBundle,t.addItemToEnvelope=N.addItemToEnvelope,t.createAttachmentEnvelopeItem=N.createAttachmentEnvelopeItem,t.createEnvelope=N.createEnvelope,t.createEventEnvelopeHeaders=N.createEventEnvelopeHeaders,t.createSpanEnvelopeItem=N.createSpanEnvelopeItem,t.envelopeContainsItemType=N.envelopeContainsItemType,t.envelopeItemTypeToDataCategory=N.envelopeItemTypeToDataCategory,t.forEachEnvelopeItem=N.forEachEnvelopeItem,t.getSdkMetadataForEnvelopeHeader=N.getSdkMetadataForEnvelopeHeader,t.parseEnvelope=N.parseEnvelope,t.serializeEnvelope=N.serializeEnvelope,t.createClientReportEnvelope=L.createClientReportEnvelope,t.DEFAULT_RETRY_AFTER=$.DEFAULT_RETRY_AFTER,t.disabledUntil=$.disabledUntil,t.isRateLimited=$.isRateLimited,t.parseRetryAfterHeader=$.parseRetryAfterHeader,t.updateRateLimits=$.updateRateLimits,t.BAGGAGE_HEADER_NAME=j.BAGGAGE_HEADER_NAME,t.MAX_BAGGAGE_STRING_LENGTH=j.MAX_BAGGAGE_STRING_LENGTH,t.SENTRY_BAGGAGE_KEY_PREFIX=j.SENTRY_BAGGAGE_KEY_PREFIX,t.SENTRY_BAGGAGE_KEY_PREFIX_REGEX=j.SENTRY_BAGGAGE_KEY_PREFIX_REGEX,t.baggageHeaderToDynamicSamplingContext=j.baggageHeaderToDynamicSamplingContext,t.dynamicSamplingContextToSentryBaggageHeader=j.dynamicSamplingContextToSentryBaggageHeader,t.parseBaggageHeader=j.parseBaggageHeader,t.getNumberOfUrlSegments=F.getNumberOfUrlSegments,t.getSanitizedUrlString=F.getSanitizedUrlString,t.parseUrl=F.parseUrl,t.stripUrlQueryAndFragment=F.stripUrlQueryAndFragment,t.makeFifoCache=B.makeFifoCache,t.eventFromMessage=z.eventFromMessage,t.eventFromUnknownInput=z.eventFromUnknownInput,t.exceptionFromError=z.exceptionFromError,t.parseStackFrames=z.parseStackFrames,t.callFrameToStackFrame=W.callFrameToStackFrame,t.watchdogTimer=W.watchdogTimer,t.LRUMap=V.LRUMap,t._asyncNullishCoalesce=U._asyncNullishCoalesce,t._asyncOptionalChain=H._asyncOptionalChain,t._asyncOptionalChainDelete=q._asyncOptionalChainDelete,t._nullishCoalesce=G._nullishCoalesce,t._optionalChain=Y._optionalChain,t._optionalChainDelete=X._optionalChainDelete,t.generatePropagationContext=K.generatePropagationContext,t.vercelWaitUntil=Q.vercelWaitUntil,t.SDK_VERSION=Z.SDK_VERSION,t.escapeStringForRegex=J.escapeStringForRegex,t.supportsHistory=ee.supportsHistory},92717:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(68030),a=n(73877),o=n(28355),i=n(17951);function s(){"console"in o.GLOBAL_OBJ&&r.CONSOLE_LEVELS.forEach((function(e){e in o.GLOBAL_OBJ.console&&a.fill(o.GLOBAL_OBJ.console,e,(function(t){return r.originalConsoleMethods[e]=t,function(...t){const n={args:t,level:e};i.triggerHandlers("console",n);const a=r.originalConsoleMethods[e];a&&a.apply(o.GLOBAL_OBJ.console,t)}}))}))}t.addConsoleInstrumentationHandler=function(e){const t="console";i.addHandler(t,e),i.maybeInstrument(t,s)}},77560:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(70518),a=n(73877),o=n(28786),i=n(86867),s=n(28355),l=n(17951);function u(e,t=!1){t&&!o.supportsNativeFetch()||a.fill(s.GLOBAL_OBJ,"fetch",(function(t){return function(...n){const{method:o,url:u}=f(n),c={args:n,fetchData:{method:o,url:u},startTimestamp:1e3*i.timestampInSeconds()};e||l.triggerHandlers("fetch",{...c});const d=(new Error).stack;return t.apply(s.GLOBAL_OBJ,n).then((async t=>(e?e(t):l.triggerHandlers("fetch",{...c,endTimestamp:1e3*i.timestampInSeconds(),response:t}),t)),(e=>{throw l.triggerHandlers("fetch",{...c,endTimestamp:1e3*i.timestampInSeconds(),error:e}),r.isError(e)&&void 0===e.stack&&(e.stack=d,a.addNonEnumerableProperty(e,"framesToPop",1)),e}))}}))}function c(e){let t;try{t=e.clone()}catch(e){return}!async function(t,n){if(t&&t.body){const n=t.body,r=n.getReader(),a=setTimeout((()=>{n.cancel().then(null,(()=>{}))}),9e4);let o=!0;for(;o;){let t;try{t=setTimeout((()=>{n.cancel().then(null,(()=>{}))}),5e3);const{done:a}=await r.read();clearTimeout(t),a&&(l.triggerHandlers("fetch-body-resolved",{endTimestamp:1e3*i.timestampInSeconds(),response:e}),o=!1)}catch(e){o=!1}finally{clearTimeout(t)}}clearTimeout(a),r.releaseLock(),n.cancel().then(null,(()=>{}))}}(t)}function d(e,t){return!!e&&"object"==typeof e&&!!e[t]}function p(e){return"string"==typeof e?e:e?d(e,"url")?e.url:e.toString?e.toString():"":""}function f(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){const[t,n]=e;return{url:p(t),method:d(n,"method")?String(n.method).toUpperCase():"GET"}}const t=e[0];return{url:p(t),method:d(t,"method")?String(t.method).toUpperCase():"GET"}}t.addFetchEndInstrumentationHandler=function(e){const t="fetch-body-resolved";l.addHandler(t,e),l.maybeInstrument(t,(()=>u(c)))},t.addFetchInstrumentationHandler=function(e,t){const n="fetch";l.addHandler(n,e),l.maybeInstrument(n,(()=>u(void 0,t)))},t.parseFetchArgs=f},6127:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(28355),a=n(17951);let o=null;function i(){o=r.GLOBAL_OBJ.onerror,r.GLOBAL_OBJ.onerror=function(e,t,n,r,i){const s={column:r,error:i,line:n,msg:e,url:t};return a.triggerHandlers("error",s),!(!o||o.__SENTRY_LOADER__)&&o.apply(this,arguments)},r.GLOBAL_OBJ.onerror.__SENTRY_INSTRUMENTED__=!0}t.addGlobalErrorInstrumentationHandler=function(e){const t="error";a.addHandler(t,e),a.maybeInstrument(t,i)}},85855:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(28355),a=n(17951);let o=null;function i(){o=r.GLOBAL_OBJ.onunhandledrejection,r.GLOBAL_OBJ.onunhandledrejection=function(e){const t=e;return a.triggerHandlers("unhandledrejection",t),!(o&&!o.__SENTRY_LOADER__)||o.apply(this,arguments)},r.GLOBAL_OBJ.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}t.addGlobalUnhandledRejectionInstrumentationHandler=function(e){const t="unhandledrejection";a.addHandler(t,e),a.maybeInstrument(t,i)}},17951:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(98750),a=n(68030),o=n(64683),i={},s={};t.addHandler=function(e,t){i[e]=i[e]||[],i[e].push(t)},t.maybeInstrument=function(e,t){s[e]||(t(),s[e]=!0)},t.resetInstrumentationHandlers=function(){Object.keys(i).forEach((e=>{i[e]=void 0}))},t.triggerHandlers=function(e,t){const n=e&&i[e];if(n)for(const i of n)try{i(t)}catch(t){r.DEBUG_BUILD&&a.logger.error(`Error while triggering instrumentation handler.\nType: ${e}\nName: ${o.getFunctionName(i)}\nError:`,t)}}},70518:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0});const n=Object.prototype.toString;function r(e,t){return n.call(e)===`[object ${t}]`}function a(e){return"object"==typeof e&&null!==e&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function o(e){return r(e,"Object")}function i(e,t){try{return e instanceof t}catch(e){return!1}}t.isDOMError=function(e){return r(e,"DOMError")},t.isDOMException=function(e){return r(e,"DOMException")},t.isElement=function(e){return"undefined"!=typeof Element&&i(e,Element)},t.isError=function(e){switch(n.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return i(e,Error)}},t.isErrorEvent=function(e){return r(e,"ErrorEvent")},t.isEvent=function(e){return"undefined"!=typeof Event&&i(e,Event)},t.isInstanceOf=i,t.isParameterizedString=a,t.isPlainObject=o,t.isPrimitive=function(e){return null===e||a(e)||"object"!=typeof e&&"function"!=typeof e},t.isRegExp=function(e){return r(e,"RegExp")},t.isString=function(e){return r(e,"String")},t.isSyntheticEvent=function(e){return o(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e},t.isThenable=function(e){return Boolean(e&&e.then&&"function"==typeof e.then)},t.isVueViewModel=function(e){return!("object"!=typeof e||null===e||!e.__isVue&&!e._isVue)}},47756:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(19950),a=n(28355);t.isBrowser=function(){return"undefined"!=typeof window&&(!r.isNodeEnv()||void 0!==a.GLOBAL_OBJ.process&&"renderer"===a.GLOBAL_OBJ.process.type)}},68030:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(98750),a=n(28355),o=["debug","info","warn","error","log","assert","trace"],i={};function s(e){if(!("console"in a.GLOBAL_OBJ))return e();const t=a.GLOBAL_OBJ.console,n={},r=Object.keys(i);r.forEach((e=>{const r=i[e];n[e]=t[e],t[e]=r}));try{return e()}finally{r.forEach((e=>{t[e]=n[e]}))}}const l=a.getGlobalSingleton("logger",(function(){let e=!1;const t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return r.DEBUG_BUILD?o.forEach((n=>{t[n]=(...t)=>{e&&s((()=>{a.GLOBAL_OBJ.console[n](`Sentry Logger [${n}]:`,...t)}))}})):o.forEach((e=>{t[e]=()=>{}})),t}));t.CONSOLE_LEVELS=o,t.consoleSandbox=s,t.logger=l,t.originalConsoleMethods=i},49461:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LRUMap=class{constructor(e){this._maxSize=e,this._cache=new Map}get size(){return this._cache.size}get(e){const t=this._cache.get(e);if(void 0!==t)return this._cache.delete(e),this._cache.set(e,t),t}set(e,t){this._cache.size>=this._maxSize&&this._cache.delete(this._cache.keys().next().value),this._cache.set(e,t)}remove(e){const t=this._cache.get(e);return t&&this._cache.delete(e),t}clear(){this._cache.clear()}keys(){return Array.from(this._cache.keys())}values(){const e=[];return this._cache.forEach((t=>e.push(t))),e}}},76536:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.memoBuilder=function(){const e="function"==typeof WeakSet,t=e?new WeakSet:[];return[function(n){if(e)return!!t.has(n)||(t.add(n),!1);for(let e=0;e{Object.defineProperty(t,"__esModule",{value:!0});const r=n(73877),a=n(25551),o=n(28355);function i(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}const s=/^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/;function l(e){return parseInt(e||"",10)}t.addContextToFrame=function(e,t,n=5){if(void 0===t.lineno)return;const r=e.length,o=Math.max(Math.min(r-1,t.lineno-1),0);t.pre_context=e.slice(Math.max(0,o-n),o).map((e=>a.snipLine(e,0)));const i=Math.min(r-1,o);t.context_line=a.snipLine(e[i],t.colno||0),t.post_context=e.slice(Math.min(o+1,r),o+1+n).map((e=>a.snipLine(e,0)))},t.addExceptionMechanism=function(e,t){const n=i(e);if(!n)return;const r=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...r,...t},t&&"data"in t){const e={...r&&r.data,...t.data};n.mechanism.data=e}},t.addExceptionTypeValue=function(e,t,n){const r=e.exception=e.exception||{},a=r.values=r.values||[],o=a[0]=a[0]||{};o.value||(o.value=t||""),o.type||(o.type=n||"Error")},t.arrayify=function(e){return Array.isArray(e)?e:[e]},t.checkOrSetAlreadyCaught=function(e){if(e&&e.__sentry_captured__)return!0;try{r.addNonEnumerableProperty(e,"__sentry_captured__",!0)}catch(e){}return!1},t.getEventDescription=function(e){const{message:t,event_id:n}=e;if(t)return t;const r=i(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"":n||""},t.parseSemver=function(e){const t=e.match(s)||[],n=l(t[1]),r=l(t[2]),a=l(t[3]);return{buildmetadata:t[5],major:isNaN(n)?void 0:n,minor:isNaN(r)?void 0:r,patch:isNaN(a)?void 0:a,prerelease:t[4]}},t.uuid4=function(){const e=o.GLOBAL_OBJ,t=e.crypto||e.msCrypto;let n=()=>16*Math.random();try{if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,"");t&&t.getRandomValues&&(n=()=>{const e=new Uint8Array(1);return t.getRandomValues(e),e[0]})}catch(e){}return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,(e=>(e^(15&n())>>e/4).toString(16)))}},13227:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(64683);function a(e,t=!1){return!(t||e&&!e.startsWith("/")&&!e.match(/^[A-Z]:/)&&!e.startsWith(".")&&!e.match(/^[a-zA-Z]([a-zA-Z0-9.\-+])*:\/\//)||void 0===e||e.includes("node_modules/"))}function o(e){const t=/^\s*[-]{4,}$/,n=/at (?:async )?(?:(.+?)\s+\()?(?:(.+):(\d+):(\d+)?|([^)]+))\)?/;return o=>{const s=o.match(n);if(s){let t,n,o,l,u;if(s[1]){o=s[1];let e=o.lastIndexOf(".");if("."===o[e-1]&&e--,e>0){t=o.slice(0,e),n=o.slice(e+1);const r=t.indexOf(".Module");r>0&&(o=o.slice(r+1),t=t.slice(0,r))}l=void 0}n&&(l=t,u=n),""===n&&(u=void 0,o=void 0),void 0===o&&(u=u||r.UNKNOWN_FUNCTION,o=l?`${l}.${u}`:u);let c=s[2]&&s[2].startsWith("file://")?s[2].slice(7):s[2];const d="native"===s[5];return c&&c.match(/\/[A-Z]:/)&&(c=c.slice(1)),c||!s[5]||d||(c=s[5]),{filename:c,module:e?e(c):void 0,function:o,lineno:i(s[3]),colno:i(s[4]),in_app:a(c||"",d)}}if(o.match(t))return{filename:o}}}function i(e){return parseInt(e||"",10)||void 0}t.filenameIsInApp=a,t.node=o,t.nodeStackLineParser=function(e){return[90,o(e)]}},19950:(e,t,n)=>{e=n.nmd(e),Object.defineProperty(t,"__esModule",{value:!0});const r=n(62827);function a(e,t){return e.require(t)}t.dynamicRequire=a,t.isNodeEnv=function(){return!r.isBrowserBundle()&&"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)},t.loadModule=function(t){let n;try{n=a(e,t)}catch(e){}try{const{cwd:r}=a(e,"process");n=a(e,`${r()}/node_modules/${t}`)}catch(e){}return n}},95027:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(70518),a=n(76536),o=n(73877),i=n(64683);function s(e,t=100,n=1/0){try{return l("",e,t,n)}catch(e){return{ERROR:`**non-serializable** (${e})`}}}function l(e,t,s=1/0,u=1/0,c=a.memoBuilder()){const[d,p]=c;if(null==t||["boolean","string"].includes(typeof t)||"number"==typeof t&&Number.isFinite(t))return t;const f=function(e,t){try{if("domain"===e&&t&&"object"==typeof t&&t._events)return"[Domain]";if("domainEmitter"===e)return"[DomainEmitter]";if(void 0!==n.g&&t===n.g)return"[Global]";if("undefined"!=typeof window&&t===window)return"[Window]";if("undefined"!=typeof document&&t===document)return"[Document]";if(r.isVueViewModel(t))return"[VueViewModel]";if(r.isSyntheticEvent(t))return"[SyntheticEvent]";if("number"==typeof t&&!Number.isFinite(t))return`[${t}]`;if("function"==typeof t)return`[Function: ${i.getFunctionName(t)}]`;if("symbol"==typeof t)return`[${String(t)}]`;if("bigint"==typeof t)return`[BigInt: ${String(t)}]`;const a=function(e){const t=Object.getPrototypeOf(e);return t?t.constructor.name:"null prototype"}(t);return/^HTML(\w*)Element$/.test(a)?`[HTMLElement: ${a}]`:`[object ${a}]`}catch(e){return`**non-serializable** (${e})`}}(e,t);if(!f.startsWith("[object "))return f;if(t.__sentry_skip_normalization__)return t;const h="number"==typeof t.__sentry_override_normalization_depth__?t.__sentry_override_normalization_depth__:s;if(0===h)return f.replace("object ","");if(d(t))return"[Circular ~]";const m=t;if(m&&"function"==typeof m.toJSON)try{return l("",m.toJSON(),h-1,u,c)}catch(e){}const g=Array.isArray(t)?[]:{};let v=0;const y=o.convertToPlainObject(t);for(const e in y){if(!Object.prototype.hasOwnProperty.call(y,e))continue;if(v>=u){g[e]="[MaxProperties ~]";break}const t=y[e];g[e]=l(e,t,h-1,u,c),v++}return p(t),g}t.normalize=s,t.normalizeToSize=function e(t,n=3,r=102400){const a=s(t,n);return o=a,function(e){return~-encodeURI(e).split(/%..|./).length}(JSON.stringify(o))>r?e(t,n-1,r):a;var o},t.normalizeUrlToBase=function(e,t){const n=t.replace(/\\/g,"/").replace(/[|\\{}()[\]^$+*?.]/g,"\\$&");let r=e;try{r=decodeURI(e)}catch(e){}return r.replace(/\\/g,"/").replace(/webpack:\/?/g,"").replace(new RegExp(`(file://)?/*${n}/*`,"ig"),"app:///")}},73877:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(64796),a=n(98750),o=n(70518),i=n(68030),s=n(25551);function l(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch(n){a.DEBUG_BUILD&&i.logger.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function u(e,t){try{const n=t.prototype||{};e.prototype=t.prototype=n,l(e,"__sentry_original__",t)}catch(e){}}function c(e){if(o.isError(e))return{message:e.message,name:e.name,stack:e.stack,...p(e)};if(o.isEvent(e)){const t={type:e.type,target:d(e.target),currentTarget:d(e.currentTarget),...p(e)};return"undefined"!=typeof CustomEvent&&o.isInstanceOf(e,CustomEvent)&&(t.detail=e.detail),t}return e}function d(e){try{return o.isElement(e)?r.htmlTreeAsString(e):Object.prototype.toString.call(e)}catch(e){return""}}function p(e){if("object"==typeof e&&null!==e){const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}return{}}function f(e,t){if(function(e){if(!o.isPlainObject(e))return!1;try{const t=Object.getPrototypeOf(e).constructor.name;return!t||"Object"===t}catch(e){return!0}}(e)){const n=t.get(e);if(void 0!==n)return n;const r={};t.set(e,r);for(const n of Object.getOwnPropertyNames(e))void 0!==e[n]&&(r[n]=f(e[n],t));return r}if(Array.isArray(e)){const n=t.get(e);if(void 0!==n)return n;const r=[];return t.set(e,r),e.forEach((e=>{r.push(f(e,t))})),r}return e}t.addNonEnumerableProperty=l,t.convertToPlainObject=c,t.dropUndefinedKeys=function(e){return f(e,new Map)},t.extractExceptionKeysForMessage=function(e,t=40){const n=Object.keys(c(e));n.sort();const r=n[0];if(!r)return"[object has no keys]";if(r.length>=t)return s.truncate(r,t);for(let e=n.length;e>0;e--){const r=n.slice(0,e).join(", ");if(!(r.length>t))return e===n.length?r:s.truncate(r,t)}return""},t.fill=function(e,t,n){if(!(t in e))return;const r=e[t],a=n(r);"function"==typeof a&&u(a,r),e[t]=a},t.getOriginalFunction=function(e){return e.__sentry_original__},t.markFunctionWrapped=u,t.objectify=function(e){let t;switch(!0){case null==e:t=new String(e);break;case"symbol"==typeof e||"bigint"==typeof e:t=Object(e);break;case o.isPrimitive(e):t=new e.constructor(e);break;default:t=e}return t},t.urlEncode=function(e){return Object.keys(e).map((t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`)).join("&")}},37417:(e,t)=>{function n(e,t){let n=0;for(let t=e.length-1;t>=0;t--){const r=e[t];"."===r?e.splice(t,1):".."===r?(e.splice(t,1),n++):n&&(e.splice(t,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}Object.defineProperty(t,"__esModule",{value:!0});const r=/^(\S+:\\|\/?)([\s\S]*?)((?:\.{1,2}|[^/\\]+?|)(\.[^./\\]*|))(?:[/\\]*)$/;function a(e){const t=e.length>1024?`${e.slice(-1024)}`:e,n=r.exec(t);return n?n.slice(1):[]}function o(...e){let t="",r=!1;for(let n=e.length-1;n>=-1&&!r;n--){const a=n>=0?e[n]:"/";a&&(t=`${a}/${t}`,r="/"===a.charAt(0))}return t=n(t.split("/").filter((e=>!!e)),!r).join("/"),(r?"/":"")+t||"."}function i(e){let t=0;for(;t=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}function s(e){const t=l(e),r="/"===e.slice(-1);let a=n(e.split("/").filter((e=>!!e)),!t).join("/");return a||t||(a="."),a&&r&&(a+="/"),(t?"/":"")+a}function l(e){return"/"===e.charAt(0)}t.basename=function(e,t){let n=a(e)[2]||"";return t&&n.slice(-1*t.length)===t&&(n=n.slice(0,n.length-t.length)),n},t.dirname=function(e){const t=a(e),n=t[0]||"";let r=t[1];return n||r?(r&&(r=r.slice(0,r.length-1)),n+r):"."},t.isAbsolute=l,t.join=function(...e){return s(e.join("/"))},t.normalizePath=s,t.relative=function(e,t){e=o(e).slice(1),t=o(t).slice(1);const n=i(e.split("/")),r=i(t.split("/")),a=Math.min(n.length,r.length);let s=a;for(let e=0;e{Object.defineProperty(t,"__esModule",{value:!0});const r=n(74610),a=n(64920);t.makePromiseBuffer=function(e){const t=[];function n(e){return t.splice(t.indexOf(e),1)[0]||Promise.resolve(void 0)}return{$:t,add:function(o){if(!(void 0===e||t.lengthn(i))).then(null,(()=>n(i).then(null,(()=>{})))),i},drain:function(e){return new a.SyncPromise(((n,r)=>{let o=t.length;if(!o)return n(!0);const i=setTimeout((()=>{e&&e>0&&n(!1)}),e);t.forEach((e=>{a.resolvedSyncPromise(e).then((()=>{--o||(clearTimeout(i),n(!0))}),r)}))}))}}}},18871:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(5258);t.generatePropagationContext=function(){return{traceId:r.uuid4(),spanId:r.uuid4().substring(16)}}},42469:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0});function n(e,t=Date.now()){const n=parseInt(`${e}`,10);if(!isNaN(n))return 1e3*n;const r=Date.parse(`${e}`);return isNaN(r)?6e4:r-t}function r(e,t){return e[t]||e.all||0}t.DEFAULT_RETRY_AFTER=6e4,t.disabledUntil=r,t.isRateLimited=function(e,t,n=Date.now()){return r(e,t)>n},t.parseRetryAfterHeader=n,t.updateRateLimits=function(e,{statusCode:t,headers:r},a=Date.now()){const o={...e},i=r&&r["x-sentry-rate-limits"],s=r&&r["retry-after"];if(i)for(const e of i.trim().split(",")){const[t,n,,,r]=e.split(":",5),i=parseInt(t,10),s=1e3*(isNaN(i)?60:i);if(n)for(const e of n.split(";"))"metric_bucket"===e&&r&&!r.split(";").includes("custom")||(o[e]=a+s);else o.all=a+s}else s?o.all=a+n(s,a):429===t&&(o.all=a+6e4);return o}},653:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(65396),a=n(98750),o=n(70518),i=n(68030),s=n(95027),l=n(90465),u=n(25972),c={ip:!1,request:!0,transaction:!0,user:!0},d=["cookies","data","headers","method","query_string","url"],p=["id","username","email"];function f(e,t={}){const n=e.method&&e.method.toUpperCase();let r="",a="url";t.customRoute||e.route?(r=t.customRoute||`${e.baseUrl||""}${e.route&&e.route.path}`,a="route"):(e.originalUrl||e.url)&&(r=l.stripUrlQueryAndFragment(e.originalUrl||e.url||""));let o="";return t.method&&n&&(o+=n),t.method&&t.path&&(o+=" "),t.path&&r&&(o+=r),[o,a]}function h(e,t={}){const{include:n=d}=t,a={},i=e.headers||{},l=e.method,c=i.host||e.hostname||e.host||"",p="https"===e.protocol||e.socket&&e.socket.encrypted?"https":"http",f=e.originalUrl||e.url||"",h=f.startsWith(p)?f:`${p}://${c}${f}`;return n.forEach((t=>{switch(t){case"headers":a.headers=i,n.includes("cookies")||delete a.headers.cookie,n.includes("ip")||u.ipHeaderNames.forEach((e=>{delete a.headers[e]}));break;case"method":a.method=l;break;case"url":a.url=h;break;case"cookies":a.cookies=e.cookies||i.cookie&&r.parseCookie(i.cookie)||{};break;case"query_string":a.query_string=function(e){let t=e.originalUrl||e.url||"";if(t){t.startsWith("/")&&(t=`http://dogs.are.great${t}`);try{const n=e.query||new URL(t).search.slice(1);return n.length?n:void 0}catch(e){return}}}(e);break;case"data":if("GET"===l||"HEAD"===l)break;void 0!==e.body&&(a.data=o.isString(e.body)?e.body:JSON.stringify(s.normalize(e.body)));break;default:({}).hasOwnProperty.call(e,t)&&(a[t]=e[t])}})),a}function m(e){const t={};try{e.forEach(((e,n)=>{"string"==typeof e&&(t[n]=e)}))}catch(e){a.DEBUG_BUILD&&i.logger.warn("Sentry failed extracting headers from a request object. If you see this, please file an issue.")}return t}t.DEFAULT_USER_INCLUDES=p,t.addRequestDataToEvent=function(e,t,n){const r={...c,...n&&n.include};if(r.request){const n=Array.isArray(r.request)?[...r.request]:[...d];r.ip&&n.push("ip");const a=h(t,{include:n});e.request={...e.request,...a}}if(r.user){const n=t.user&&o.isPlainObject(t.user)?function(e,t){const n={};return(Array.isArray(t)?t:p).forEach((t=>{e&&t in e&&(n[t]=e[t])})),n}(t.user,r.user):{};Object.keys(n).length&&(e.user={...e.user,...n})}if(r.ip){const n=t.headers&&u.getClientIPAddress(t.headers)||t.ip||t.socket&&t.socket.remoteAddress;n&&(e.user={...e.user,ip_address:n})}return r.transaction&&!e.transaction&&"transaction"===e.type&&(e.transaction=function(e,t){switch(t){case"path":return f(e,{path:!0})[0];case"handler":return e.route&&e.route.stack&&e.route.stack[0]&&e.route.stack[0].name||"";default:return f(e,{path:!0,method:!0,customRoute:e._reconstructedRoute?e._reconstructedRoute:void 0})[0]}}(t,r.transaction)),e},t.extractPathForTransaction=f,t.extractRequestData=h,t.winterCGHeadersToDict=m,t.winterCGRequestToRequestData=function(e){const t=m(e.headers);return{method:e.method,url:e.url,headers:t}}},78773:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0});const n=["fatal","error","warning","log","info","debug"];t.severityLevelFromString=function(e){return"warn"===e?"warning":n.includes(e)?e:"log"},t.validSeverityLevels=n},64683:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0});const n=50,r="?",a=/\(error: (.*)\)/,o=/captureMessage|captureException/;function i(...e){const t=e.sort(((e,t)=>e[0]-t[0])).map((e=>e[1]));return(e,r=0,o=0)=>{const i=[],l=e.split("\n");for(let e=r;e1024)continue;const s=a.test(r)?r.replace(a,"$1"):r;if(!s.match(/\S*Error: /)){for(const e of t){const t=e(s);if(t){i.push(t);break}}if(i.length>=n+o)break}}return s(i.slice(o))}}function s(e){if(!e.length)return[];const t=Array.from(e);return/sentryWrapped/.test(l(t).function||"")&&t.pop(),t.reverse(),o.test(l(t).function||"")&&(t.pop(),o.test(l(t).function||"")&&t.pop()),t.slice(0,n).map((e=>({...e,filename:e.filename||l(t).filename,function:e.function||r})))}function l(e){return e[e.length-1]||{}}const u="";t.UNKNOWN_FUNCTION=r,t.createStackParser=i,t.getFramesFromEvent=function(e){const t=e.exception;if(t){const e=[];try{return t.values.forEach((t=>{t.stacktrace.frames&&e.push(...t.stacktrace.frames)})),e}catch(e){return}}},t.getFunctionName=function(e){try{return e&&"function"==typeof e&&e.name||u}catch(e){return u}},t.stackParserFromStackParserOptions=function(e){return Array.isArray(e)?i(...e):e},t.stripSentryFramesAndReverse=s},25551:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(70518);function a(e,t,n=!1){return!!r.isString(e)&&(r.isRegExp(t)?t.test(e):!!r.isString(t)&&(n?e===t:e.includes(t)))}t.isMatchingPattern=a,t.safeJoin=function(e,t){if(!Array.isArray(e))return"";const n=[];for(let t=0;tr&&(t=r);let a=Math.max(t-60,0);a<5&&(a=0);let o=Math.min(a+140,r);return o>r-5&&(o=r),o===r&&(a=Math.max(o-140,0)),n=n.slice(a,o),a>0&&(n=`'{snip} ${n}`),oa(e,t,n)))},t.truncate=function(e,t=0){return"string"!=typeof e||0===t||e.length<=t?e:`${e.slice(0,t)}...`}},28786:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(98750),a=n(68030),o=n(28355).GLOBAL_OBJ;function i(){if(!("fetch"in o))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(e){return!1}}function s(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}t.isNativeFunction=s,t.supportsDOMError=function(){try{return new DOMError(""),!0}catch(e){return!1}},t.supportsDOMException=function(){try{return new DOMException(""),!0}catch(e){return!1}},t.supportsErrorEvent=function(){try{return new ErrorEvent(""),!0}catch(e){return!1}},t.supportsFetch=i,t.supportsNativeFetch=function(){if("string"==typeof EdgeRuntime)return!0;if(!i())return!1;if(s(o.fetch))return!0;let e=!1;const t=o.document;if(t&&"function"==typeof t.createElement)try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(e=s(n.contentWindow.fetch)),t.head.removeChild(n)}catch(e){r.DEBUG_BUILD&&a.logger.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return e},t.supportsReferrerPolicy=function(){if(!i())return!1;try{return new Request("_",{referrerPolicy:"origin"}),!0}catch(e){return!1}},t.supportsReportingObserver=function(){return"ReportingObserver"in o}},64920:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(70518);var a;!function(e){e[e.PENDING=0]="PENDING",e[e.RESOLVED=1]="RESOLVED",e[e.REJECTED=2]="REJECTED"}(a||(a={}));class o{constructor(e){o.prototype.__init.call(this),o.prototype.__init2.call(this),o.prototype.__init3.call(this),o.prototype.__init4.call(this),this._state=a.PENDING,this._handlers=[];try{e(this._resolve,this._reject)}catch(e){this._reject(e)}}then(e,t){return new o(((n,r)=>{this._handlers.push([!1,t=>{if(e)try{n(e(t))}catch(e){r(e)}else n(t)},e=>{if(t)try{n(t(e))}catch(e){r(e)}else r(e)}]),this._executeHandlers()}))}catch(e){return this.then((e=>e),e)}finally(e){return new o(((t,n)=>{let r,a;return this.then((t=>{a=!1,r=t,e&&e()}),(t=>{a=!0,r=t,e&&e()})).then((()=>{a?n(r):t(r)}))}))}__init(){this._resolve=e=>{this._setResult(a.RESOLVED,e)}}__init2(){this._reject=e=>{this._setResult(a.REJECTED,e)}}__init3(){this._setResult=(e,t)=>{this._state===a.PENDING&&(r.isThenable(t)?t.then(this._resolve,this._reject):(this._state=e,this._value=t,this._executeHandlers()))}}__init4(){this._executeHandlers=()=>{if(this._state===a.PENDING)return;const e=this._handlers.slice();this._handlers=[],e.forEach((e=>{e[0]||(this._state===a.RESOLVED&&e[1](this._value),this._state===a.REJECTED&&e[2](this._value),e[0]=!0)}))}}}t.SyncPromise=o,t.rejectedSyncPromise=function(e){return new o(((t,n)=>{n(e)}))},t.resolvedSyncPromise=function(e){return new o((t=>{t(e)}))}},86867:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(28355);function a(){return Date.now()/1e3}const o=function(){const{performance:e}=r.GLOBAL_OBJ;if(!e||!e.now)return a;const t=Date.now()-e.now(),n=null==e.timeOrigin?t:e.timeOrigin;return()=>(n+e.now())/1e3}();t._browserPerformanceTimeOriginMode=void 0;const i=(()=>{const{performance:e}=r.GLOBAL_OBJ;if(!e||!e.now)return void(t._browserPerformanceTimeOriginMode="none");const n=36e5,a=e.now(),o=Date.now(),i=e.timeOrigin?Math.abs(e.timeOrigin+a-o):n,s=i{Object.defineProperty(t,"__esModule",{value:!0});const r=n(47542),a=n(5258),o=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function i(e){if(!e)return;const t=e.match(o);if(!t)return;let n;return"1"===t[3]?n=!0:"0"===t[3]&&(n=!1),{traceId:t[1],parentSampled:n,parentSpanId:t[2]}}t.TRACEPARENT_REGEXP=o,t.extractTraceparentData=i,t.generateSentryTraceHeader=function(e=a.uuid4(),t=a.uuid4().substring(16),n){let r="";return void 0!==n&&(r=n?"-1":"-0"),`${e}-${t}${r}`},t.propagationContextFromHeaders=function(e,t){const n=i(e),o=r.baggageHeaderToDynamicSamplingContext(t),{traceId:s,parentSpanId:l,parentSampled:u}=n||{};return n?{traceId:s||a.uuid4(),parentSpanId:l||a.uuid4().substring(16),spanId:a.uuid4().substring(16),sampled:u,dsc:o||{}}:{traceId:s||a.uuid4(),spanId:a.uuid4().substring(16)}}},90465:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getNumberOfUrlSegments=function(e){return e.split(/\\?\//).filter((e=>e.length>0&&","!==e)).length},t.getSanitizedUrlString=function(e){const{protocol:t,host:n,path:r}=e;return`${t?`${t}://`:""}${n&&n.replace(/^.*@/,"[filtered]:[filtered]@").replace(/(:80)$/,"").replace(/(:443)$/,"")||""}${r}`},t.parseUrl=function(e){if(!e)return{};const t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};const n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}},t.stripUrlQueryAndFragment=function(e){return e.split(/[?#]/,1)[0]}},59747:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.escapeStringForRegex=function(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}},25972:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0});const n=["X-Client-IP","X-Forwarded-For","Fly-Client-IP","CF-Connecting-IP","Fastly-Client-Ip","True-Client-Ip","X-Real-IP","X-Cluster-Client-IP","X-Forwarded","Forwarded-For","Forwarded","X-Vercel-Forwarded-For"];t.getClientIPAddress=function(e){return n.map((t=>{const n=e[t],r=Array.isArray(n)?n.join(";"):n;return"Forwarded"===t?function(e){if(!e)return null;for(const t of e.split(";"))if(t.startsWith("for="))return t.slice(4);return null}(r):r&&r.split(",").map((e=>e.trim()))})).reduce(((e,t)=>t?e.concat(t):e),[]).find((e=>null!==e&&/(?:^(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}$)|(?:^(?:(?:[a-fA-F\d]{1,4}:){7}(?:[a-fA-F\d]{1,4}|:)|(?:[a-fA-F\d]{1,4}:){6}(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|:[a-fA-F\d]{1,4}|:)|(?:[a-fA-F\d]{1,4}:){5}(?::(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-fA-F\d]{1,4}){1,2}|:)|(?:[a-fA-F\d]{1,4}:){4}(?:(?::[a-fA-F\d]{1,4}){0,1}:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-fA-F\d]{1,4}){1,3}|:)|(?:[a-fA-F\d]{1,4}:){3}(?:(?::[a-fA-F\d]{1,4}){0,2}:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-fA-F\d]{1,4}){1,4}|:)|(?:[a-fA-F\d]{1,4}:){2}(?:(?::[a-fA-F\d]{1,4}){0,3}:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-fA-F\d]{1,4}){1,5}|:)|(?:[a-fA-F\d]{1,4}:){1}(?:(?::[a-fA-F\d]{1,4}){0,4}:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-fA-F\d]{1,4}){1,6}|:)|(?::(?:(?::[a-fA-F\d]{1,4}){0,5}:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-fA-F\d]{1,4}){1,7}|:)))(?:%[0-9a-zA-Z]{1,})?$)/.test(e)))||null},t.ipHeaderNames=n},54551:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(28355).GLOBAL_OBJ;t.supportsHistory=function(){const e=r.chrome,t=e&&e.app&&e.app.runtime,n="history"in r&&!!r.history.pushState&&!!r.history.replaceState;return!t&&n}},30634:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(28355);t.vercelWaitUntil=function(e){const t=r.GLOBAL_OBJ[Symbol.for("@vercel/request-context")],n=t&&t.get&&t.get()?t.get():{};n&&n.waitUntil&&n.waitUntil(e)}},79276:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SDK_VERSION="8.34.0"},28355:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=n(79276),a=globalThis;t.GLOBAL_OBJ=a,t.getGlobalSingleton=function(e,t,n){const o=n||a,i=o.__SENTRY__=o.__SENTRY__||{},s=i[r.SDK_VERSION]=i[r.SDK_VERSION]||{};return s[e]||(s[e]=t())}},407:(e,t,n)=>{"use strict";n.d(t,{DX:()=>l});var r=null,a={},o=1,i="@wry/context:Slot",s=Array,l=s[i]||function(){var e=function(){function e(){this.id=["slot",o++,Date.now(),Math.random().toString(36).slice(2)].join(":")}return e.prototype.hasValue=function(){for(var e=r;e;e=e.parent)if(this.id in e.slots){var t=e.slots[this.id];if(t===a)break;return e!==r&&(r.slots[this.id]=t),!0}return r&&(r.slots[this.id]=a),!1},e.prototype.getValue=function(){if(this.hasValue())return r.slots[this.id]},e.prototype.withValue=function(e,t,n,a){var o,i=((o={__proto__:null})[this.id]=e,o),s=r;r={parent:s,slots:i};try{return t.apply(a,n)}finally{r=s}},e.bind=function(e){var t=r;return function(){var n=r;try{return r=t,e.apply(this,arguments)}finally{r=n}}},e.noContext=function(e,t,n){if(!r)return e.apply(n,t);var a=r;try{return r=null,e.apply(n,t)}finally{r=a}},e}();try{Object.defineProperty(s,i,{value:s[i]=e,enumerable:!1,writable:!1,configurable:!1})}finally{return e}}();l.bind,l.noContext},50453:(e,t,n)=>{"use strict";n.d(t,{L:()=>s});var r=Object.prototype,a=r.toString,o=r.hasOwnProperty,i=new Map;function s(e,t){try{return l(e,t)}finally{i.clear()}}function l(e,t){if(e===t)return!0;var n=a.call(e);if(n!==a.call(t))return!1;switch(n){case"[object Array]":if(e.length!==t.length)return!1;case"[object Object]":if(u(e,t))return!0;var r=Object.keys(e),i=Object.keys(t),s=r.length;if(s!==i.length)return!1;for(var c=0;c{"use strict";n.d(t,{b:()=>s});var r=function(){return Object.create(null)},a=Array.prototype,o=a.forEach,i=a.slice,s=function(){function e(e,t){void 0===e&&(e=!0),void 0===t&&(t=r),this.weakness=e,this.makeData=t}return e.prototype.lookup=function(){for(var e=[],t=0;t{"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.TOOLTIP_DEFAULT_PROPS=t.TOOLBOX_DEFAULT_PROPS=t.STRAIGHT_LINE_ICON=t.PictorialWrapper=t.MIN_WIDTH=t.DonutWrapper=t.DASHED_LINE_ICON=t.CsvDownloadButtonStyle=t.ChartWrapper=t.ChartTitle=t.ChartStorieWrapper=t.CHART_WIDTH=t.CHART_HEIGHT=void 0;var a,o,i,s,l,u,c=r(n(20166)),d=r(n(34378)),p=n(78944).theme.colors.neutral;t.STRAIGHT_LINE_ICON="path://M0 0H25H50V2H25H0V0Z",t.DASHED_LINE_ICON="path://M180 1000 l0 -40 200 0 200 0 0 40 0 40 -200 0 -200 0 0 -40z, M810 1000 l0 -40 200 0 200 0 0 40 0 40 -200 0 -200 0 0 -40zm, M1440 1000 l0 -40 200 0 200 0 0 40 0 40 -200 0 -200 0 0 -40z",t.MIN_WIDTH={minWidth:"100%"},t.CHART_WIDTH={width:"99.9%"},t.CHART_HEIGHT={width:"99.9%",height:300},t.TOOLBOX_DEFAULT_PROPS={showTitle:!1,right:"9.52%"},t.TOOLTIP_DEFAULT_PROPS={show:!0,backgroundColor:"".concat(p[200],"90"),extraCssText:"border: none; padding: 5px;",textStyle:{fontFamily:"Roboto, Helvetica, Arial, sans-serif",fontSize:12,color:p[50]}},t.PictorialWrapper=d.default.div(a||(a=(0,c.default)(["\n width: 330px;\n margin: 0 auto;\n"]))),t.DonutWrapper=d.default.div(o||(o=(0,c.default)(["\n width: 500px;\n margin: 0 auto;\n"]))),t.ChartStorieWrapper=d.default.div(i||(i=(0,c.default)(["\n width: 50%;\n margin: 0 auto;\n"]))),t.ChartWrapper=d.default.div(s||(s=(0,c.default)(["\n width: 100%;\n position: relative;\n"]))),t.ChartTitle=d.default.h1(l||(l=(0,c.default)(["\n font-family: Roboto, Helvetica, Arial, sans-serif;\n color: ",";\n top: 5;\n margin: 0px;\n font-size: 16px;\n font-weight: 400;\n position: absolute;\n"])),p[200]),t.CsvDownloadButtonStyle=d.default.button(u||(u=(0,c.default)(["\n font-weight: bold;\n background: ",";\n text-transform: uppercase;\n border: none;\n width: 40px;\n height: 20px;\n cursor: pointer;\n display: block;\n position: absolute;\n margin-top: -295px;\n margin-left: 80%;\n\n &:hover::after {\n content: 'Save as CSV';\n position: absolute;\n text-transform: none;\n font-weight: lighter;\n top: 123%;\n left: 50%;\n transform: translateX(-50%);\n background-color: ",";\n opacity: 55%;\n color: ",";\n padding: 4px 8px;\n border-radius: 4px;\n font-size: 12px;\n height: 19px;\n white-space: nowrap;\n text-align: center;\n display: flex;\n align-items: center;\n }\n"])),p[50],p[200],p[50])},91776:(e,t,n)=>{"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(73738)),o=r(n(43693)),i=r(n(96540)),s=r(n(34240)),l=n(55986),u=n(51453);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;tB?[{type:"inside",start:(0,l.getInitialValues)(N.length,C,I),end:100,zoomLock:!0,zoomOnMouseWheel:"shift"},{bottom:10,show:!0,type:"slider",start:(0,l.getInitialValues)(N.length,C,I),end:100,labelFormatter:function(e,t){return(0,l.formatTime)(t,z)}}]:[],V={series:[{type:"line",data:R,label:{formatter:function(e){return"function"==typeof A&&"object"===(0,a.default)(e)?A(e.data):"function"==typeof A?A:void 0},show:!0,position:"top",fontFamily:"Roboto, Helvetica, Arial, sans-serif",fontSize:"time"===g?10:11.5,color:m[200],distance:1.1},lineStyle:{color:c||f[800]},areaStyle:{color:c||f[800],opacity:.2},itemStyle:{color:c}},{name:S,symbolSize:0,showSymbol:!1,type:"line",data:D,lineStyle:{color:w},emphasis:{scale:!1}}],xAxis:{type:"category",boundaryGap:!1,data:N,splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2,color:h[800]}},axisLabel:{formatter:function(e){return"time"===o?(0,l.formatTime)(e,(0,l.getDateFormatType)(C||"yyyy-MM")):e},rotate:E||0,fontFamily:"Roboto, Helvetica, Arial, sans-serif",fontSize:M||11.5,color:m[200]}},yAxis:{max:y?l.fixedDomain:l.getDomain,type:"value",splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2,color:h[800]}},axisLabel:{margin:"time"===g?16:14,formatter:function(e){return"time"===g?(0,l.timeConvert)(e)+"h":(0,l.takeLabelComplement)(e,null!=A?A:"").toString()},fontFamily:"Roboto, Helvetica, Arial, sans-serif",fontSize:M||11.5,color:m[200]},axisLine:{show:!0},axisTick:{alignWithLabel:!0,show:!0}},color:[w],grid:d(d({},T||{bottom:75}),{},{show:!0}),legend:{icon:u.STRAIGHT_LINE_ICON,top:30,data:[S],itemGap:30,textStyle:{fontFamily:"Roboto, Helvetica, Arial, sans-serif",color:m[200]}},title:{left:"6.2%",show:void 0!==P,text:P,textAlign:"left",textStyle:{fontFamily:"Roboto, Helvetica, Arial, sans-serif",fontSize:16,fontWeight:400,color:m[200]}},tooltip:p&&{formatter:function(e){var t=null==p?void 0:p.label,n=null==p?void 0:p.result,r=e[0],a=r.axisValueLabel,o=r.data,i=_||"",s="time"===g?(0,l.timeConvert)(Number(o))+"h":(0,l.takeLabelComplement)(Number(o),null!=A?A:"");return"".concat(t,": ").concat((0,l.formatTooltip)(a,C),"
\n ").concat(n,": ").concat(s,"
\n ").concat(i)},trigger:"axis",backgroundColor:"".concat(m[200],"99"),textStyle:{fontFamily:"Roboto, Helvetica, Arial, sans-serif",fontSize:11.5,color:m[50]},extraCssText:"border: none; padding: 6px;"},dataZoom:W,toolbox:d(d({},j),{},{tooltip:d(d({},u.TOOLTIP_DEFAULT_PROPS),{},{formatter:function(e){return"
".concat(e.title,"
")}})})};return i.default.createElement(s.default,{lazyUpdate:!0,notMerge:!0,style:u.CHART_HEIGHT,opts:L,option:V,onEvents:F})}},8762:(e,t,n)=>{"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(43693)),o=r(n(73738)),i=r(n(96540)),s=r(n(34240)),l=n(55986),u=n(51453);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;tO?[{type:"inside",start:(0,l.getInitialValues)(E.length,g,T),end:100,zoomLock:!0,zoomOnMouseWheel:"shift"},{bottom:10,show:!0,type:"slider",start:(0,l.getInitialValues)(E.length,g,T),end:100,labelFormatter:function(e,t){return(0,l.formatTime)(t,I)}}]:[],R=S&&d(d({},u.TOOLBOX_DEFAULT_PROPS),{},{showTitle:!1,right:"9.52%",feature:{saveAsImage:S.saveAsImage&&(0,l.getSaveAsImage)(null!==(t=S.saveAsImage.title)&&void 0!==t?t:""),dataView:S.dataView&&(0,l.getDataView)(null!==(n=S.dataView.title)&&void 0!==n?n:"")}}),N={color:p,series:P,xAxis:{type:"category",data:E,boundaryGap:!1,splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2,color:f[800]}},axisLabel:{formatter:function(e){return"time"===m?(0,l.formatTime)("yyyy-MM"===g?e+"-02":e,(0,l.getDateFormatType)(null!=g?g:"yyyy-MM")):e},rotate:v||0,fontFamily:"Roboto, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:y||11.5,color:h[200]}},yAxis:{type:"value",data:k,splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2,color:f[800]}},axisLabel:{margin:"time"===b?16:14,formatter:function(e){return"time"===b?(0,l.timeConvert)(e).toString()+"h":(0,l.takeLabelComplement)(e,null!=w?w:"").toString()},fontFamily:"Roboto, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:y||11.5,color:h[200]},axisTick:{alignWithLabel:!0,show:!0},axisLine:{show:!0,lineStyle:{color:h[200]}}},grid:d(d({},c||{bottom:75}),{},{show:!0}),legend:{data:M,icon:u.STRAIGHT_LINE_ICON,textStyle:{fontFamily:"Roboto, Helvetica, Arial, sans-serif",fontWeight:400,color:h[200]}},tooltip:{formatter:function(e){var t=e.map((function(e){return e.seriesName+": "+(t=Number(e.value),("time"===b?(0,l.timeConvert)(Number(t))+"h":(0,l.takeLabelComplement)(Number(t),null!=w?w:""))+"
");var t})),n="time"===m?(0,l.formatTime)("yyyy-MM"===g?e[0].name+"-02":e[0].name,(0,l.getDateFormatType)(null!=g?g:"yyyy-MM")):e[0].name;return"".concat(n,"
").concat(t.join(" "))},trigger:"axis",backgroundColor:"".concat(h[200],"99"),textStyle:{fontFamily:"Roboto, Helvetica, Arial, sans-serif",fontSize:11.5,color:h[50]},extraCssText:"border: none; padding: 6px;"},title:{left:"6.2%",show:void 0!==x,text:x,textAlign:"left",textStyle:{fontFamily:"Roboto, Helvetica, Arial, sans-serif",fontSize:16,fontWeight:400,color:h[200]}},dataZoom:D,toolbox:d(d({},R),{},{tooltip:d(d({},u.TOOLTIP_DEFAULT_PROPS),{},{formatter:function(e){return"
".concat(e.title,"
")}})})};return i.default.createElement(s.default,{lazyUpdate:!0,notMerge:!0,style:u.CHART_WIDTH,opts:(0,l.getWidthOpts)(a||"auto"),option:N})}},87959:(e,t,n)=>{"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.rotatedLabel=t.normalLabel=t.fullText=t.dontShowLabel=t.default=void 0;var a=r(n(43693)),o=r(n(41132)),i=r(n(96540)),s=r(n(34240)),l=n(55986),u=n(51453);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;tW?[{type:"inside",start:(0,l.getInitialValues)(B.length,_,$),endValue:B.length>12?B[11]:B[B.length-1],zoomOnMouseWheel:"shift"},{show:!0,type:"slider",start:(0,l.getInitialValues)(B.length,_,$),endValue:B.length>12?B[11]:B[B.length-1]}]:[],U={grid:d({},A),color:a&&[a],interval:L,series:[{barWidth:S||"auto",type:"bar",data:F,label:{formatter:function(e){var t=e.value;return"time"===b?(0,l.timeConvert)(Number(t))+"h":String((0,l.takeLabelComplement)(Number(t),null!=p?p:""))},show:T,position:"insideTop",distance:6,fontFamily:"Roboto, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:12,color:h[200]}}],xAxis:{type:"category",boundaryGap:!0,showGrid:!0,data:B,splitLine:{show:!0,alignWithLabel:!0,lineStyle:{type:"dashed",opacity:.2,color:f[800]}},axisLabel:{rotate:I&&I,formatter:function(e){return"time"===c?(0,l.formatTime)(e,(0,l.getDateFormatType)(null!=_?_:"yyyy-MM","dd/MM/yyyy")):function(e){return(0,l.fixedTruncateLabel)(e,B.length<=5?16:9)}(e)},interval:0,fontFamily:"Roboto, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:11,color:h[200]},axisTick:{show:!0,alignWithLabel:!0}},yAxis:{max:M||"%"!==p?j:100,type:"value",splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2,color:f[800]}},axisLabel:{formatter:function(e){return"time"===b?(0,l.timeConvert)(e)+"h":String((0,l.takeLabelComplement)(e,null!=p?p:""))},fontFamily:"Roboto, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:11,color:h[200]},axisLine:{show:!0},axisTick:{show:!0,alignWithLabel:!0}},title:{left:P||"5.9%",show:void 0!==k,text:k,textAlign:"left",textStyle:{fontFamily:"Roboto, Helvetica, Arial, sans-serif",fontSize:O||16,fontWeight:400,color:h[200]}},tooltip:w&&{formatter:function(e){var t=null==w?void 0:w.label,n=null==w?void 0:w.result,r=e[0],a=r.axisValueLabel,o=r.value,i=x||"",s="time"===b?(0,l.timeConvert)(Number(o))+"h":(0,l.takeLabelComplement)(Number(o),null!=p?p:""),u="time"===c?(0,l.formatTooltip)(a,_):a;return"".concat(t,": ").concat(u,"
")+"".concat(n,": ").concat(s,"
")+i},trigger:"axis",backgroundColor:"".concat(h[200],"99"),textStyle:{fontFamily:"Roboto, Helvetica, Arial, sans-serif",fontSize:11.5,color:h[50]},extraCssText:"border: none; padding: 6px;"},dataZoom:V,toolbox:d(d({},z),{},{tooltip:d(d({},u.TOOLTIP_DEFAULT_PROPS),{},{formatter:function(e){return"
".concat(e.title,"
")}})})},H={dataZoom:function(e,t){var n=e.end-e.start,r=500/B.length,a=800/B.length;if(I)B.length<=5||nr&&B.length<=40?t.setOption({xAxis:{axisLabel:{rotate:I,show:!0,interval:0,formatter:function(e){return(0,l.fixedTruncateLabel)(e,9)},textStyle:{fontSize:11}}},grid:{bottom:98}}):t.setOption(y);else{var o=1200/B.length;B.length<=5||n{"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.truncateLabel=t.toDate=t.timeConvert=t.thousandSeparator=t.takeLabelComplement=t.takeDonutChartComplement=t.mountMessage=t.monuntTimeMessage=t.getWidthOpts=t.getSaveAsImageWithTitle=t.getSaveAsImage=t.getPercentage=t.getInitialValues=t.getDomain=t.getDateFormatType=t.getDataView=t.generateAuxMessage=t.formatTooltipWithHours=t.formatTooltip=t.formatTime=t.formatLabelWithImage=t.fixedTruncateLabel=t.fixedDomain=t.convertImageToBase64FromUrl=t.changeSpaceForUnderline=t.ICON_STYLE=t.DOWNLOAD_ICON=t.DATA_VIEW_ICON=void 0;var a=r(n(21456)),o=r(n(72346)),i=r(n(73738)),s=n(36484),l=n(78944).theme.colors,u=l.neutral,c=l.primary,d=t.DOWNLOAD_ICON="path://M19 12v7H5v-7H3v7c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-7h-2zm-6 .67l2.59-2.58L17 11.5l-5 5-5-5 1.41-1.41L11 12.67V3h2v9.67z",p=t.DATA_VIEW_ICON="path://M2 20h20v-4H2v4zm2-3h2v2H4v-2zM2 4v4h20V4H2zm4 3H4V5h2v2zm-4 7h20v-4H2v4zm2-3h2v2H4v-2z",f=t.ICON_STYLE={color:c.main,borderColor:c.main,borderWidth:.1},h=t.timeConvert=function(e){var t=Math.floor(e),n=Math.round(60*(e-t)),r=t.toString().length>1?t:"0".concat(t),a=n.toString().length>1?n:"0".concat(n);return"".concat(r,":").concat(a)},m=t.getPercentage=function(e,t){return 0!==e?(e*(100/t)).toFixed(2):"0"},g=function(e,t,n){var r="function"==typeof t?t(e):e+t,a="time"===t?h(e):r,o="pie"==n?e.toFixed(2).replace(".",","):(e.toFixed(2)+"%").replace(".",",");return"%"===t||"percent"===t?o:a},v=(t.takeLabelComplement=function(e,t,n){var r;return"function"==typeof t?t(e):(r=t)?g(e,r,n):e},t.takeDonutChartComplement=function(e,t){return 0===e&&"function"==typeof t?"":"".concat(e," ").concat(t?"(".concat(t,")"):"")},t.generateAuxMessage=function(e,t,n){var r="function"==typeof n?n(t):t;return''.concat(e,": ").concat(r,"
")},t.monuntTimeMessage=function(e,t){var n=h(Number(e.value)),r=0!==e.value?m(Number(e.value),t):"0";return e.seriesName+": "+n+" ("+r+"%)
"},t.mountMessage=function(e,t,n,r,a){var o,s,l=(e.marker?e.marker:"")+(e.seriesName?e.seriesName:""),u="function"==typeof t?function(e,t,n,r){var a="object"===(0,i.default)(e)?e.value:e,o=m(Number(a),t);return r?n(a)+" ("+o+"%)
":n(a)+"
"}(null!==(o=e.data)&&void 0!==o?o:"",r,t,a):"",c="percent"===n||"%"===t?l+": "+g(Number(e.data),"%")+"
":l+function(e,t){return"function"==typeof t?": "+t(e)+"
":": "+e+t+"
"}(null!==(s=e.data)&&void 0!==s?s:"",t);return"function"==typeof t&&"line"!==e.seriesType?l+": "+u:c},t.getDateFormatType=function(e,t){return"yyyy-MM"===e?t||"MMM/yy":e}),y=(t.formatTime=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"dd MMM",n=e.includes(":")?new Date(e):new Date(e+"T00:00:00");return(0,o.default)(n,t,{locale:s.ptBR})},t.toDate=function(e,t){return(0,a.default)(e,t||"yyyy-MM-dd",new Date)},t.formatTooltip=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"dd MMM",n=e.includes(":")?new Date(e):new Date(e+"T00:00:00");return(0,o.default)(n,v(t),{locale:s.ptBR})},t.formatTooltipWithHours=function(e){return(0,o.default)(new Date(e),"dd/MM/yyyy HH:mm",{locale:s.ptBR})},t.truncateLabel=function(e,t){var n=t||12,r=t?3:4;return e.length>n?e.slice(0,n-r)+"...":e},t.fixedTruncateLabel=function(e,t){return e.length>t?e.slice(0,t-3)+"...":e},t.getDomain=function(e){switch(!0){case e.max>=2500:return e.max+20*e.max/100;case e.max>=2e3:return e.max+(400-e.max%400);case e.max>=1500:return e.max+(300-e.max%300);case e.max>=1e3:return e.max+(200-e.max%200);case e.max>=400:return e.max+(100-e.max%100);case e.max>=95:return e.max+(60-e.max%60);case e.max>=60:return e.max+(50-e.max%50);case e.max>=50:return e.max+(40-e.max%40);case e.max>=40:return e.max+(30-e.max%30);case e.max>=30:return e.max+(20-e.max%20);case e.max>=20:return e.max+(10-e.max%10);case e.max>=2:return e.max+(5-e.max%5);default:return e.max+(3-e.max%3)}}),b=(t.fixedDomain=function(e){return e.max>=90?100:y(e)},t.getSaveAsImage=function(e){return{title:e,type:"jpeg",show:!0,icon:d,iconStyle:f,excludeComponents:["toolbox","dataZoom"]}},t.getDataView=function(e){return{title:e,show:!0,icon:p,iconStyle:f,buttonColor:c.main,lang:[e,"Voltar","Atualizar"]}},t.getInitialValues=function(e,t,n){return n?e>n?100-100*n/e:0:"yyyy-MM"!==t?e>30?100-3e3/e:0:e>12?100-1200/e:0},t.thousandSeparator=function(e){return e.toString().replace(/\B(?=(\d{3})+(?!\d))/g,".")},t.getSaveAsImageWithTitle=function(e,t){return{title:e,show:!0,icon:d,iconStyle:f,onclick:function(e,n){var r=e.option.title.length>0?e.option.title[0].text:"image";t(!0);var a=n.getConnectedDataURL({type:"jpg",backgroundColor:u[50],connectedBackgroundColor:u[50],excludeComponents:["toolbox","dataZoom"]}),o=document.createElement("a");o.download=r+".jpeg",o.target="_blank",o.href=a;var i=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});o.dispatchEvent(i),t(!1)}}},t.getWidthOpts=function(e){return{width:e}},t.convertImageToBase64FromUrl=function(e){return new Promise((function(t){var n=new Image;n.src=e,n.setAttribute("crossOrigin","anonymous"),n.onload=function(){var e=document.createElement("canvas"),r=e.getContext("2d");if(e.width=40,e.height=40,r){e.width=40,e.height=40,r.save(),r.beginPath(),r.arc(20,20,20,0,2*Math.PI),r.clip(),r.drawImage(n,0,0,40,40),r.restore();var a=r.canvas.toDataURL("image/png");t(a)}}}))},t.changeSpaceForUnderline=function(e){return e.replace(" ","_")});t.formatLabelWithImage=function(e){return"{value|"+e+"} {"+b(e)+"| }"}},49880:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ApolloClient:()=>a.ApolloClient,ApolloError:()=>a.ApolloError,ApolloLink:()=>o.Ch,FetchType:()=>a.FetchType,HeuristicFragmentMatcher:()=>K,HttpLink:()=>Ce,InMemoryCache:()=>ve,IntrospectionFragmentMatcher:()=>Q,NetworkStatus:()=>a.NetworkStatus,ObjectCache:()=>oe,Observable:()=>o.cP,ObservableQuery:()=>a.ObservableQuery,StoreReader:()=>te,StoreWriter:()=>ue,WriteError:()=>se,assertIdValue:()=>ae,concat:()=>o.xW,createOperation:()=>o.ki,default:()=>ze,defaultDataIdFromObject:()=>he,defaultNormalizedCacheFactory:()=>ie,empty:()=>o.Ie,enhanceErrorWithDocument:()=>le,execute:()=>o.g7,from:()=>o.HT,fromError:()=>o.NQ,fromPromise:()=>o.Sx,getOperationName:()=>o.n4,gql:()=>Fe,isApolloError:()=>a.isApolloError,makePromise:()=>o.uW,split:()=>o.lD,toPromise:()=>o.hq});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},r(e,t)},a=n(89459),o=n(45783),i=n(63449),s=function(e,t){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},s(e,t)};function l(e,t){function n(){this.constructor=e}s(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var u=function(){return u=Object.assign||function(e){for(var t,n=1,r=arguments.length;nthis.max;)this.delete(this.oldest.key)},e.prototype.delete=function(e){var t=this.map.get(e);return!!t&&(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),this.dispose(t.value,e),!0)},e}(),C=new S,T=[],k=[],E=100;function M(e,t){if(!e)throw new Error(t||"assertion failure")}function P(e){switch(e.length){case 0:throw new Error("unknown value");case 1:return e[0];case 2:throw e[1]}}var O=function(){function e(t,n){this.fn=t,this.args=n,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],++e.count}return e.prototype.recompute=function(){if(M(!this.recomputing,"already recomputing"),function(e){var t=C.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),D(e)?L(t,e):$(t,e),t}(this)||!F(this))return D(this)?(t=B(e=this),C.withValue(e,I,[e]),function(e){if("function"==typeof e.subscribe)try{W(e),e.unsubscribe=e.subscribe.apply(null,e.args)}catch(t){return e.setDirty(),!1}return!0}(e)&&function(e){e.dirty=!1,D(e)||N(e)}(e),t.forEach(F),P(e.value)):P(this.value);var e,t},e.prototype.setDirty=function(){this.dirty||(this.dirty=!0,this.value.length=0,R(this),W(this))},e.prototype.dispose=function(){var e=this;B(this).forEach(F),W(this),this.parents.forEach((function(t){t.setDirty(),z(t,e)}))},e.count=0,e}();function I(e){e.recomputing=!0,e.value.length=0;try{e.value[0]=e.fn.apply(null,e.args)}catch(t){e.value[1]=t}e.recomputing=!1}function D(e){return e.dirty||!(!e.dirtyChildren||!e.dirtyChildren.size)}function R(e){e.parents.forEach((function(t){return L(t,e)}))}function N(e){e.parents.forEach((function(t){return $(t,e)}))}function L(e,t){if(M(e.childValues.has(t)),M(D(t)),e.dirtyChildren){if(e.dirtyChildren.has(t))return}else e.dirtyChildren=k.pop()||new Set;e.dirtyChildren.add(t),R(e)}function $(e,t){M(e.childValues.has(t)),M(!D(t));var n,r,a,o=e.childValues.get(t);0===o.length?e.childValues.set(t,t.value.slice(0)):(n=o,r=t.value,(a=n.length)>0&&a===r.length&&n[a-1]===r[a-1]||e.setDirty()),j(e,t),D(e)||N(e)}function j(e,t){var n=e.dirtyChildren;n&&(n.delete(t),0===n.size&&(k.length0&&(t=[],e.childValues.forEach((function(n,r){z(e,r),t.push(r)}))),M(null===e.dirtyChildren),t}function z(e,t){t.parents.delete(e),e.childValues.delete(t),j(e,t)}function W(e){var t=e.unsubscribe;"function"==typeof t&&(e.unsubscribe=void 0,t())}var V=function(){function e(e){this.weakness=e}return e.prototype.lookup=function(){for(var e=[],t=0;t-1)},e.prototype.parseIntrospectionResult=function(e){var t={};return e.__schema.types.forEach((function(e){"UNION"!==e.kind&&"INTERFACE"!==e.kind||(t[e.name]=e.possibleTypes.map((function(e){return e.name})))})),t},e}(),Z=Object.prototype.hasOwnProperty,J=function(){function e(e){var t=this;void 0===e&&(e=Object.create(null)),this.data=e,this.depend=G((function(e){return t.data[e]}),{disposable:!0,makeCacheKey:function(e){return e}})}return e.prototype.toObject=function(){return this.data},e.prototype.get=function(e){return this.depend(e),this.data[e]},e.prototype.set=function(e,t){t!==this.data[e]&&(this.data[e]=t,this.depend.dirty(e))},e.prototype.delete=function(e){Z.call(this.data,e)&&(delete this.data[e],this.depend.dirty(e))},e.prototype.clear=function(){this.replace(null)},e.prototype.replace=function(e){var t=this;e?(Object.keys(e).forEach((function(n){t.set(n,e[n])})),Object.keys(this.data).forEach((function(n){Z.call(e,n)||t.delete(n)}))):Object.keys(this.data).forEach((function(e){t.delete(e)}))},e}();function ee(e){return new J(e)}var te=function(){function e(e){var t=this,n=void 0===e?{}:e,r=n.cacheKeyRoot,a=void 0===r?new V(c.et):r,o=n.freezeResults,i=void 0!==o&&o,s=this,l=s.executeStoreQuery,u=s.executeSelectionSet,d=s.executeSubSelectedArray;this.freezeResults=i,this.executeStoreQuery=G((function(e){return l.call(t,e)}),{makeCacheKey:function(e){var t=e.query,n=e.rootValue,r=e.contextValue,o=e.variableValues,i=e.fragmentMatcher;if(r.store instanceof J)return a.lookup(r.store,t,i,JSON.stringify(o),n.id)}}),this.executeSelectionSet=G((function(e){return u.call(t,e)}),{makeCacheKey:function(e){var t=e.selectionSet,n=e.rootValue,r=e.execContext;if(r.contextValue.store instanceof J)return a.lookup(r.contextValue.store,t,r.fragmentMatcher,JSON.stringify(r.variableValues),n.id)}}),this.executeSubSelectedArray=G((function(e){return d.call(t,e)}),{makeCacheKey:function(e){var t=e.field,n=e.array,r=e.execContext;if(r.contextValue.store instanceof J)return a.lookup(r.contextValue.store,t,n,JSON.stringify(r.variableValues))}})}return e.prototype.readQueryFromStore=function(e){return this.diffQueryAgainstStore(u(u({},e),{returnPartialData:!1})).result},e.prototype.diffQueryAgainstStore=function(e){var t=e.store,n=e.query,r=e.variables,a=e.previousResult,o=e.returnPartialData,i=void 0===o||o,s=e.rootId,l=void 0===s?"ROOT_QUERY":s,u=e.fragmentMatcherFunction,d=e.config,p=(0,c.AT)(n);r=(0,c.kp)({},(0,c.wY)(p),r);var f={store:t,dataIdFromObject:d&&d.dataIdFromObject,cacheRedirects:d&&d.cacheRedirects||{}},h=this.executeStoreQuery({query:n,rootValue:{type:"id",id:l,generated:!0,typename:"Query"},contextValue:f,variableValues:r,fragmentMatcher:u}),m=h.missing&&h.missing.length>0;return m&&!i&&h.missing.forEach((function(e){if(!e.tolerable)throw new Y.zU(8)})),a&&(0,g.L)(a,h.result)&&(h.result=a),{result:h.result,complete:!m}},e.prototype.executeStoreQuery=function(e){var t=e.query,n=e.rootValue,r=e.contextValue,a=e.variableValues,o=e.fragmentMatcher,i=void 0===o?re:o,s=(0,c.Vn)(t),l=(0,c.zK)(t),u={query:t,fragmentMap:(0,c.JG)(l),contextValue:r,variableValues:a,fragmentMatcher:i};return this.executeSelectionSet({selectionSet:s.selectionSet,rootValue:n,execContext:u})},e.prototype.executeSelectionSet=function(e){var t=this,n=e.selectionSet,r=e.rootValue,a=e.execContext,o=a.fragmentMap,i=a.contextValue,s=a.variableValues,l={result:null},d=[],p=i.store.get(r.id),f=p&&p.__typename||"ROOT_QUERY"===r.id&&"Query"||void 0;function h(e){var t;return e.missing&&(l.missing=l.missing||[],(t=l.missing).push.apply(t,e.missing)),e.result}return n.selections.forEach((function(e){var n;if((0,c.MS)(e,s))if((0,c.dt)(e)){var l=h(t.executeField(p,f,e,a));void 0!==l&&d.push(((n={})[(0,c.ue)(e)]=l,n))}else{var m=void 0;if((0,c.kd)(e))m=e;else if(!(m=o[e.name.value]))throw new Y.zU(9);var g=m.typeCondition&&m.typeCondition.name.value,v=!g||a.fragmentMatcher(r,g,i);if(v){var y=t.executeSelectionSet({selectionSet:m.selectionSet,rootValue:r,execContext:a});"heuristic"===v&&y.missing&&(y=u(u({},y),{missing:y.missing.map((function(e){return u(u({},e),{tolerable:!0})}))})),d.push(h(y))}}})),l.result=(0,c.IM)(d),this.freezeResults,l},e.prototype.executeField=function(e,t,n,r){var a=r.variableValues,o=r.contextValue,i=function(e,t,n,r,a,o){var i=o.directives,s=n;(r||i)&&(s=(0,c.o5)(s,r,i));var l=void 0;if(e&&void 0===(l=e[s])&&a.cacheRedirects&&"string"==typeof t){var u=a.cacheRedirects[t];if(u){var d=u[n];d&&(l=d(e,r,{getCacheKey:function(e){var t=a.dataIdFromObject(e);return t&&(0,c.Uw)({id:t,typename:e.__typename})}}))}}return void 0===l?{result:l,missing:[{object:e,fieldName:s,tolerable:!1}]}:((0,c.Wi)(l)&&(l=l.json),{result:l})}(e,t,n.name.value,(0,c.MB)(n,a),o,{resultKey:(0,c.ue)(n),directives:(0,c.i2)(n,a)});return Array.isArray(i.result)?this.combineExecResults(i,this.executeSubSelectedArray({field:n,array:i.result,execContext:r})):n.selectionSet?null==i.result?i:this.combineExecResults(i,this.executeSelectionSet({selectionSet:n.selectionSet,rootValue:i.result,execContext:r})):(ne(n,i.result),this.freezeResults,i)},e.prototype.combineExecResults=function(){for(var e,t=[],n=0;n=0)return!0;n[e].push(t)}else n[e]=[t];return!1}var fe={fragmentMatcher:new K,dataIdFromObject:he,addTypename:!0,resultCaching:!0,freezeResults:!1};function he(e){if(e.__typename){if(void 0!==e.id)return e.__typename+":"+e.id;if(void 0!==e._id)return e.__typename+":"+e._id}return null}var me=Object.prototype.hasOwnProperty,ge=function(e){function t(t,n,r){var a=e.call(this,Object.create(null))||this;return a.optimisticId=t,a.parent=n,a.transaction=r,a}return l(t,e),t.prototype.toObject=function(){return u(u({},this.parent.toObject()),this.data)},t.prototype.get=function(e){return me.call(this.data,e)?this.data[e]:this.parent.get(e)},t}(oe),ve=function(e){function t(t){void 0===t&&(t={});var n=e.call(this)||this;n.watches=new Set,n.typenameDocumentCache=new Map,n.cacheKeyRoot=new V(c.et),n.silenceBroadcast=!1,n.config=u(u({},fe),t),n.config.customResolvers&&(n.config.cacheRedirects=n.config.customResolvers),n.config.cacheResolvers&&(n.config.cacheRedirects=n.config.cacheResolvers),n.addTypename=!!n.config.addTypename,n.data=n.config.resultCaching?new J:new oe,n.optimisticData=n.data,n.storeWriter=new ue,n.storeReader=new te({cacheKeyRoot:n.cacheKeyRoot,freezeResults:t.freezeResults});var r=n,a=r.maybeBroadcastWatch;return n.maybeBroadcastWatch=G((function(e){return a.call(n,e)}),{makeCacheKey:function(e){if(!e.optimistic&&!e.previousResult)return r.data instanceof J?r.cacheKeyRoot.lookup(e.query,JSON.stringify(e.variables)):void 0}}),n}return l(t,e),t.prototype.restore=function(e){return e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).toObject()},t.prototype.read=function(e){if("string"==typeof e.rootId&&void 0===this.data.get(e.rootId))return null;var t=this.config.fragmentMatcher,n=t&&t.match;return this.storeReader.readQueryFromStore({store:e.optimistic?this.optimisticData:this.data,query:this.transformDocument(e.query),variables:e.variables,rootId:e.rootId,fragmentMatcherFunction:n,previousResult:e.previousResult,config:this.config})||null},t.prototype.write=function(e){var t=this.config.fragmentMatcher,n=t&&t.match;this.storeWriter.writeResultToStore({dataId:e.dataId,result:e.result,variables:e.variables,document:this.transformDocument(e.query),store:this.data,dataIdFromObject:this.config.dataIdFromObject,fragmentMatcherFunction:n}),this.broadcastWatches()},t.prototype.diff=function(e){var t=this.config.fragmentMatcher,n=t&&t.match;return this.storeReader.diffQueryAgainstStore({store:e.optimistic?this.optimisticData:this.data,query:this.transformDocument(e.query),variables:e.variables,returnPartialData:e.returnPartialData,previousResult:e.previousResult,fragmentMatcherFunction:n,config:this.config})},t.prototype.watch=function(e){var t=this;return this.watches.add(e),function(){t.watches.delete(e)}},t.prototype.evict=function(e){throw new Y.zU(7)},t.prototype.reset=function(){return this.data.clear(),this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){for(var t=[],n=0,r=this.optimisticData;r instanceof ge;)r.optimisticId===e?++n:t.push(r),r=r.parent;if(n>0){for(this.optimisticData=r;t.length>0;){var a=t.pop();this.performTransaction(a.transaction,a.optimisticId)}this.broadcastWatches()}},t.prototype.performTransaction=function(e,t){var n=this.data,r=this.silenceBroadcast;this.silenceBroadcast=!0,"string"==typeof t&&(this.data=this.optimisticData=new ge(t,this.optimisticData,e));try{e(this)}finally{this.silenceBroadcast=r,this.data=n}this.broadcastWatches()},t.prototype.recordOptimisticTransaction=function(e,t){return this.performTransaction(e,t)},t.prototype.transformDocument=function(e){if(this.addTypename){var t=this.typenameDocumentCache.get(e);return t||(t=(0,c.XY)(e),this.typenameDocumentCache.set(e,t),this.typenameDocumentCache.set(t,t)),t}return e},t.prototype.broadcastWatches=function(){var e=this;this.silenceBroadcast||this.watches.forEach((function(t){return e.maybeBroadcastWatch(t)}))},t.prototype.maybeBroadcastWatch=function(e){e.callback(this.diff({query:e.query,variables:e.variables,previousResult:e.previousResult&&e.previousResult(),optimistic:e.optimistic}))},t}(m),ye=function(e,t){return ye=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},ye(e,t)},be=function(){return be=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=300&&_e(e,t,"Response not successful: Received status code "+e.status),Array.isArray(t)||t.hasOwnProperty("data")||t.hasOwnProperty("errors")||_e(e,t,"Server response was missing for query '"+(Array.isArray(a)?a.map((function(e){return e.operationName})):a.operationName)+"'."),t}))})).then((function(e){return n.next(e),n.complete(),e})).catch((function(e){"AbortError"!==e.name&&(e.result&&e.result.errors&&e.result.data&&n.next(e.result),n.error(e))})),function(){f&&f.abort()}}))}))}(t).request)||this}return function(e,t){function n(){this.constructor=e}ye(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t}(o.Ch),Te=function(e,t){return Te=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},Te(e,t)};function ke(e){return new o.Ch((function(t,n){return new i.A((function(r){var a,o,i;try{a=n(t).subscribe({next:function(a){a.errors&&(i=e({graphQLErrors:a.errors,response:a,operation:t,forward:n}))?o=i.subscribe({next:r.next.bind(r),error:r.error.bind(r),complete:r.complete.bind(r)}):r.next(a)},error:function(a){(i=e({operation:t,networkError:a,graphQLErrors:a&&a.result&&a.result.errors,forward:n}))?o=i.subscribe({next:r.next.bind(r),error:r.error.bind(r),complete:r.complete.bind(r)}):r.error(a)},complete:function(){i||r.complete.bind(r)()}})}catch(a){e({networkError:a,operation:t,forward:n}),r.error(a)}return function(){a&&a.unsubscribe(),o&&a.unsubscribe()}}))}))}!function(e){function t(t){var n=e.call(this)||this;return n.link=ke(t),n}(function(e,t){function n(){this.constructor=e}Te(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)})(t,e),t.prototype.request=function(e,t){return this.link.request(e,t)}}(o.Ch);var Ee=function(){return Ee=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{"use strict";n.r(t),n.d(t,{ApolloClient:()=>D,ApolloError:()=>x,FetchType:()=>w,NetworkStatus:()=>l,ObservableQuery:()=>S,default:()=>R,isApolloError:()=>b});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},r(e,t)};function a(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&a[a.length-1])||6!==o[0]&&2!==o[0])){i=0;continue}if(3===o[0]&&(!a||o[1]>a[0]&&o[1]0}function b(e){return e.hasOwnProperty("graphQLErrors")}var w,x=function(e){function t(n){var r,a,o=n.graphQLErrors,i=n.networkError,s=n.errorMessage,l=n.extraInfo,u=e.call(this,s)||this;return u.graphQLErrors=o||[],u.networkError=i||null,u.message=s||(a="",y((r=u).graphQLErrors)&&r.graphQLErrors.forEach((function(e){var t=e?e.message:"Error message not found.";a+="GraphQL error: "+t+"\n"})),r.networkError&&(a+="Network error: "+r.networkError.message+"\n"),a=a.replace(/\n$/,"")),u.extraInfo=l,u.__proto__=t.prototype,u}return a(t,e),t}(Error);!function(e){e[e.normal=1]="normal",e[e.refetch=2]="refetch",e[e.poll=3]="poll"}(w||(w={}));var S=function(e){function t(t){var n=t.queryManager,r=t.options,a=t.shouldSubscribe,o=void 0===a||a,i=e.call(this,(function(e){return i.onSubscribe(e)}))||this;i.observers=new Set,i.subscriptions=new Set,i.isTornDown=!1,i.options=r,i.variables=r.variables||{},i.queryId=n.generateQueryId(),i.shouldSubscribe=o;var s=(0,u.Vu)(r.query);return i.queryName=s&&s.name&&s.name.value,i.queryManager=n,i}return a(t,e),t.prototype.result=function(){var e=this;return new Promise((function(t,n){var r={next:function(n){t(n),e.observers.delete(r),e.observers.size||e.queryManager.removeQuery(e.queryId),setTimeout((function(){a.unsubscribe()}),0)},error:n},a=e.subscribe(r)}))},t.prototype.currentResult=function(){var e=this.getCurrentResult();return void 0===e.data&&(e.data={}),e},t.prototype.getCurrentResult=function(){if(this.isTornDown){var e=this.lastResult;return{data:!this.lastError&&e&&e.data||void 0,error:this.lastError,loading:!1,networkStatus:l.error}}var t,n,r,a=this.queryManager.getCurrentQueryResult(this),i=a.data,s=a.partial,u=this.queryManager.queryStore.get(this.queryId),c=this.options.fetchPolicy,d="network-only"===c||"no-cache"===c;if(u){var p=u.networkStatus;if(n=u,void 0===(r=this.options.errorPolicy)&&(r="none"),n&&(n.networkError||"none"===r&&y(n.graphQLErrors)))return{data:void 0,loading:!1,networkStatus:p,error:new x({graphQLErrors:u.graphQLErrors,networkError:u.networkError})};u.variables&&(this.options.variables=o(o({},this.options.variables),u.variables),this.variables=this.options.variables),t={data:i,loading:g(p),networkStatus:p},u.graphQLErrors&&"all"===this.options.errorPolicy&&(t.errors=u.graphQLErrors)}else{var f=d||s&&"cache-only"!==c;t={data:i,loading:f,networkStatus:f?l.loading:l.ready}}return s||this.updateLastResult(o(o({},t),{stale:!1})),o(o({},t),{partial:s})},t.prototype.isDifferentFromLastResult=function(e){var t=this.lastResultSnapshot;return!(t&&e&&t.networkStatus===e.networkStatus&&t.stale===e.stale&&(0,c.L)(t.data,e.data))},t.prototype.getLastResult=function(){return this.lastResult},t.prototype.getLastError=function(){return this.lastError},t.prototype.resetLastResults=function(){delete this.lastResult,delete this.lastResultSnapshot,delete this.lastError,this.isTornDown=!1},t.prototype.resetQueryStoreErrors=function(){var e=this.queryManager.queryStore.get(this.queryId);e&&(e.networkError=null,e.graphQLErrors=[])},t.prototype.refetch=function(e){var t=this.options.fetchPolicy;return"cache-only"===t?Promise.reject(new h.zU(1)):("no-cache"!==t&&"cache-and-network"!==t&&(t="network-only"),(0,c.L)(this.variables,e)||(this.variables=o(o({},this.variables),e)),(0,c.L)(this.options.variables,this.variables)||(this.options.variables=o(o({},this.options.variables),this.variables)),this.queryManager.fetchQuery(this.queryId,o(o({},this.options),{fetchPolicy:t}),w.refetch))},t.prototype.fetchMore=function(e){var t=this;(0,h.V1)(e.updateQuery,2);var n=o(o({},e.query?e:o(o(o({},this.options),e),{variables:o(o({},this.variables),e.variables)})),{fetchPolicy:"network-only"}),r=this.queryManager.generateQueryId();return this.queryManager.fetchQuery(r,n,w.normal,this.queryId).then((function(a){return t.updateQuery((function(t){return e.updateQuery(t,{fetchMoreResult:a.data,variables:n.variables})})),t.queryManager.stopQuery(r),a}),(function(e){throw t.queryManager.stopQuery(r),e}))},t.prototype.subscribeToMore=function(e){var t=this,n=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables}).subscribe({next:function(n){var r=e.updateQuery;r&&t.updateQuery((function(e,t){var a=t.variables;return r(e,{subscriptionData:n,variables:a})}))},error:function(t){e.onError&&e.onError(t)}});return this.subscriptions.add(n),function(){t.subscriptions.delete(n)&&n.unsubscribe()}},t.prototype.setOptions=function(e){var t=this.options.fetchPolicy;this.options=o(o({},this.options),e),e.pollInterval?this.startPolling(e.pollInterval):0===e.pollInterval&&this.stopPolling();var n=e.fetchPolicy;return this.setVariables(this.options.variables,t!==n&&("cache-only"===t||"standby"===t||"network-only"===n),e.fetchResults)},t.prototype.setVariables=function(e,t,n){return void 0===t&&(t=!1),void 0===n&&(n=!0),this.isTornDown=!1,e=e||this.variables,!t&&(0,c.L)(e,this.variables)?this.observers.size&&n?this.result():Promise.resolve():(this.variables=this.options.variables=e,this.observers.size?this.queryManager.fetchQuery(this.queryId,this.options):Promise.resolve())},t.prototype.updateQuery=function(e){var t=this.queryManager,n=t.getQueryWithPreviousResult(this.queryId),r=n.previousResult,a=n.variables,o=n.document,i=(0,u.VL)((function(){return e(r,{variables:a})}));i&&(t.dataStore.markUpdateQueryResult(o,a,i),t.broadcastQueries())},t.prototype.stopPolling=function(){this.queryManager.stopPollingQuery(this.queryId),this.options.pollInterval=void 0},t.prototype.startPolling=function(e){C(this),this.options.pollInterval=e,this.queryManager.startPollingQuery(this.options,this.queryId)},t.prototype.updateLastResult=function(e){var t=this.lastResult;return this.lastResult=e,this.lastResultSnapshot=this.queryManager.assumeImmutableResults?e:(0,u.mg)(e),t},t.prototype.onSubscribe=function(e){var t=this;try{var n=e._subscription._observer;n&&!n.error&&(n.error=_)}catch(e){}var r=!this.observers.size;return this.observers.add(e),e.next&&this.lastResult&&e.next(this.lastResult),e.error&&this.lastError&&e.error(this.lastError),r&&this.setUpQuery(),function(){t.observers.delete(e)&&!t.observers.size&&t.tearDownQuery()}},t.prototype.setUpQuery=function(){var e=this,t=this.queryManager,n=this.queryId;this.shouldSubscribe&&t.addObservableQuery(n,this),this.options.pollInterval&&(C(this),t.startPollingQuery(this.options,n));var r=function(t){e.updateLastResult(o(o({},e.lastResult),{errors:t.graphQLErrors,networkStatus:l.error,loading:!1})),A(e.observers,"error",e.lastError=t)};t.observeQuery(n,this.options,{next:function(n){if(e.lastError||e.isDifferentFromLastResult(n)){var r=e.updateLastResult(n),a=e.options,o=a.query,i=a.variables,s=a.fetchPolicy;t.transform(o).hasClientExports?t.getLocalState().addExportedVariables(o,i).then((function(a){var i=e.variables;e.variables=e.options.variables=a,!n.loading&&r&&"cache-only"!==s&&t.transform(o).serverQuery&&!(0,c.L)(i,a)?e.refetch():A(e.observers,"next",n)})):A(e.observers,"next",n)}},error:r}).catch(r)},t.prototype.tearDownQuery=function(){var e=this.queryManager;this.isTornDown=!0,e.stopPollingQuery(this.queryId),this.subscriptions.forEach((function(e){return e.unsubscribe()})),this.subscriptions.clear(),e.removeObservableQuery(this.queryId),e.stopQuery(this.queryId),this.observers.clear()},t}(v);function _(e){}function A(e,t,n){var r=[];e.forEach((function(e){return e[t]&&r.push(e)})),r.forEach((function(e){return e[t](n)}))}function C(e){var t=e.options.fetchPolicy;(0,h.V1)("cache-first"!==t&&"cache-only"!==t,3)}var T=function(){function e(){this.store={}}return e.prototype.getStore=function(){return this.store},e.prototype.get=function(e){return this.store[e]},e.prototype.initMutation=function(e,t,n){this.store[e]={mutation:t,variables:n||{},loading:!0,error:null}},e.prototype.markMutationError=function(e,t){var n=this.store[e];n&&(n.loading=!1,n.error=t)},e.prototype.markMutationResult=function(e){var t=this.store[e];t&&(t.loading=!1,t.error=null)},e.prototype.reset=function(){this.store={}},e}(),k=function(){function e(){this.store={}}return e.prototype.getStore=function(){return this.store},e.prototype.get=function(e){return this.store[e]},e.prototype.initQuery=function(e){var t=this.store[e.queryId];(0,h.V1)(!t||t.document===e.document||(0,c.L)(t.document,e.document),19);var n,r=!1,a=null;e.storePreviousVariables&&t&&t.networkStatus!==l.loading&&((0,c.L)(t.variables,e.variables)||(r=!0,a=t.variables)),n=r?l.setVariables:e.isPoll?l.poll:e.isRefetch?l.refetch:l.loading;var o=[];t&&t.graphQLErrors&&(o=t.graphQLErrors),this.store[e.queryId]={document:e.document,variables:e.variables,previousVariables:a,networkError:null,graphQLErrors:o,networkStatus:n,metadata:e.metadata},"string"==typeof e.fetchMoreForQueryId&&this.store[e.fetchMoreForQueryId]&&(this.store[e.fetchMoreForQueryId].networkStatus=l.fetchMore)},e.prototype.markQueryResult=function(e,t,n){this.store&&this.store[e]&&(this.store[e].networkError=null,this.store[e].graphQLErrors=y(t.errors)?t.errors:[],this.store[e].previousVariables=null,this.store[e].networkStatus=l.ready,"string"==typeof n&&this.store[n]&&(this.store[n].networkStatus=l.ready))},e.prototype.markQueryError=function(e,t,n){this.store&&this.store[e]&&(this.store[e].networkError=t,this.store[e].networkStatus=l.error,"string"==typeof n&&this.markQueryResultClient(n,!0))},e.prototype.markQueryResultClient=function(e,t){var n=this.store&&this.store[e];n&&(n.networkError=null,n.previousVariables=null,t&&(n.networkStatus=l.ready))},e.prototype.stopQuery=function(e){delete this.store[e]},e.prototype.reset=function(e){var t=this;Object.keys(this.store).forEach((function(n){e.indexOf(n)<0?t.stopQuery(n):t.store[n].networkStatus=l.loading}))},e}(),E=function(){function e(e){var t=e.cache,n=e.client,r=e.resolvers,a=e.fragmentMatcher;this.cache=t,n&&(this.client=n),r&&this.addResolvers(r),a&&this.setFragmentMatcher(a)}return e.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach((function(e){t.resolvers=(0,u.D9)(t.resolvers,e)})):this.resolvers=(0,u.D9)(this.resolvers,e)},e.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(e){var t=e.document,n=e.remoteResult,r=e.context,a=e.variables,l=e.onlyRunForcedResolvers,u=void 0!==l&&l;return i(this,void 0,void 0,(function(){return s(this,(function(e){return t?[2,this.resolveDocument(t,n.data,r,a,this.fragmentMatcher,u).then((function(e){return o(o({},n),{data:e.result})}))]:[2,n]}))}))},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return(0,u.d8)(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return this.resolvers?(0,u.er)(e):e},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.cache;return o(o({},e),{cache:t,getCacheKey:function(e){if(t.config)return t.config.dataIdFromObject(e);(0,h.V1)(!1,6)}})},e.prototype.addExportedVariables=function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),i(this,void 0,void 0,(function(){return s(this,(function(r){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(n),t).then((function(e){return o(o({},t),e.exportedVariables)}))]:[2,o({},t)]}))}))},e.prototype.shouldForceResolvers=function(e){var t=!1;return(0,m.visit)(e,{Directive:{enter:function(e){if("client"===e.name.value&&e.arguments&&(t=e.arguments.some((function(e){return"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value}))))return m.BREAK}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:(0,u.zc)(e),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t,n,r,a,l){return void 0===n&&(n={}),void 0===r&&(r={}),void 0===a&&(a=function(){return!0}),void 0===l&&(l=!1),i(this,void 0,void 0,(function(){var i,c,d,p,f,h,m,g,v;return s(this,(function(s){var y;return i=(0,u.Vn)(e),c=(0,u.zK)(e),d=(0,u.JG)(c),p=i.operation,f=p?(y=p).charAt(0).toUpperCase()+y.slice(1):"Query",m=(h=this).cache,g=h.client,v={fragmentMap:d,context:o(o({},n),{cache:m,client:g}),variables:r,fragmentMatcher:a,defaultOperationType:f,exportedVariables:{},onlyRunForcedResolvers:l},[2,this.resolveSelectionSet(i.selectionSet,t,v).then((function(e){return{result:e,exportedVariables:v.exportedVariables}}))]}))}))},e.prototype.resolveSelectionSet=function(e,t,n){return i(this,void 0,void 0,(function(){var r,a,o,l,c,d=this;return s(this,(function(p){return r=n.fragmentMap,a=n.context,o=n.variables,l=[t],c=function(e){return i(d,void 0,void 0,(function(){var i,c;return s(this,(function(s){return(0,u.MS)(e,o)?(0,u.dt)(e)?[2,this.resolveField(e,t,n).then((function(t){var n;void 0!==t&&l.push(((n={})[(0,u.ue)(e)]=t,n))}))]:((0,u.kd)(e)?i=e:(i=r[e.name.value],(0,h.V1)(i,7)),i&&i.typeCondition&&(c=i.typeCondition.name.value,n.fragmentMatcher(t,c,a))?[2,this.resolveSelectionSet(i.selectionSet,t,n).then((function(e){l.push(e)}))]:[2]):[2]}))}))},[2,Promise.all(e.selections.map(c)).then((function(){return(0,u.IM)(l)}))]}))}))},e.prototype.resolveField=function(e,t,n){return i(this,void 0,void 0,(function(){var r,a,o,i,l,c,d,p,f,h=this;return s(this,(function(s){return r=n.variables,a=e.name.value,o=(0,u.ue)(e),i=a!==o,l=t[o]||t[a],c=Promise.resolve(l),n.onlyRunForcedResolvers&&!this.shouldForceResolvers(e)||(d=t.__typename||n.defaultOperationType,(p=this.resolvers&&this.resolvers[d])&&(f=p[i?a:o])&&(c=Promise.resolve(f(t,(0,u.MB)(e,r),n.context,{field:e,fragmentMap:n.fragmentMap})))),[2,c.then((function(t){return void 0===t&&(t=l),e.directives&&e.directives.forEach((function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach((function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(n.exportedVariables[e.value.value]=t)}))})),e.selectionSet?null==t?t:Array.isArray(t)?h.resolveSubSelectedArray(e,t,n):e.selectionSet?h.resolveSelectionSet(e.selectionSet,t,n):void 0:t}))]}))}))},e.prototype.resolveSubSelectedArray=function(e,t,n){var r=this;return Promise.all(t.map((function(t){return null===t?null:Array.isArray(t)?r.resolveSubSelectedArray(e,t,n):e.selectionSet?r.resolveSelectionSet(e.selectionSet,t,n):void 0})))},e}();function M(e){var t=new Set,n=null;return new v((function(r){return t.add(r),n=n||e.subscribe({next:function(e){t.forEach((function(t){return t.next&&t.next(e)}))},error:function(e){t.forEach((function(t){return t.error&&t.error(e)}))},complete:function(){t.forEach((function(e){return e.complete&&e.complete()}))}}),function(){t.delete(r)&&!t.size&&n&&(n.unsubscribe(),n=null)}}))}var P=Object.prototype.hasOwnProperty,O=function(){function e(e){var t=e.link,n=e.queryDeduplication,r=void 0!==n&&n,a=e.store,o=e.onBroadcast,i=void 0===o?function(){}:o,s=e.ssrMode,l=void 0!==s&&s,c=e.clientAwareness,d=void 0===c?{}:c,p=e.localState,f=e.assumeImmutableResults;this.mutationStore=new T,this.queryStore=new k,this.clientAwareness={},this.idCounter=1,this.queries=new Map,this.fetchQueryRejectFns=new Map,this.transformCache=new(u.et?WeakMap:Map),this.inFlightLinkObservables=new Map,this.pollingInfoByQueryId=new Map,this.link=t,this.queryDeduplication=r,this.dataStore=a,this.onBroadcast=i,this.clientAwareness=d,this.localState=p||new E({cache:a.getCache()}),this.ssrMode=l,this.assumeImmutableResults=!!f}return e.prototype.stop=function(){var e=this;this.queries.forEach((function(t,n){e.stopQueryNoBroadcast(n)})),this.fetchQueryRejectFns.forEach((function(e){e(new h.zU(8))}))},e.prototype.mutate=function(e){var t=e.mutation,n=e.variables,r=e.optimisticResponse,a=e.updateQueries,l=e.refetchQueries,c=void 0===l?[]:l,d=e.awaitRefetchQueries,p=void 0!==d&&d,f=e.update,m=e.errorPolicy,g=void 0===m?"none":m,v=e.fetchPolicy,b=e.context,w=void 0===b?{}:b;return i(this,void 0,void 0,(function(){var e,i,l,d=this;return s(this,(function(s){switch(s.label){case 0:return(0,h.V1)(t,9),(0,h.V1)(!v||"no-cache"===v,10),e=this.generateQueryId(),t=this.transform(t).document,this.setQuery(e,(function(){return{document:t}})),n=this.getVariables(t,n),this.transform(t).hasClientExports?[4,this.localState.addExportedVariables(t,n,w)]:[3,2];case 1:n=s.sent(),s.label=2;case 2:return i=function(){var e={};return a&&d.queries.forEach((function(t,n){var r=t.observableQuery;if(r){var o=r.queryName;o&&P.call(a,o)&&(e[n]={updater:a[o],query:d.queryStore.get(n)})}})),e},this.mutationStore.initMutation(e,t,n),this.dataStore.markMutationInit({mutationId:e,document:t,variables:n,updateQueries:i(),update:f,optimisticResponse:r}),this.broadcastQueries(),l=this,[2,new Promise((function(a,s){var d,h;l.getObservableFromLink(t,o(o({},w),{optimisticResponse:r}),n,!1).subscribe({next:function(r){(0,u.to)(r)&&"none"===g?h=new x({graphQLErrors:r.errors}):(l.mutationStore.markMutationResult(e),"no-cache"!==v&&l.dataStore.markMutationResult({mutationId:e,result:r,document:t,variables:n,updateQueries:i(),update:f}),d=r)},error:function(t){l.mutationStore.markMutationError(e,t),l.dataStore.markMutationComplete({mutationId:e,optimisticResponse:r}),l.broadcastQueries(),l.setQuery(e,(function(){return{document:null}})),s(new x({networkError:t}))},complete:function(){if(h&&l.mutationStore.markMutationError(e,h),l.dataStore.markMutationComplete({mutationId:e,optimisticResponse:r}),l.broadcastQueries(),h)s(h);else{"function"==typeof c&&(c=c(d));var t=[];y(c)&&c.forEach((function(e){if("string"==typeof e)l.queries.forEach((function(n){var r=n.observableQuery;r&&r.queryName===e&&t.push(r.refetch())}));else{var n={query:e.query,variables:e.variables,fetchPolicy:"network-only"};e.context&&(n.context=e.context),t.push(l.query(n))}})),Promise.all(p?t:[]).then((function(){l.setQuery(e,(function(){return{document:null}})),"ignore"===g&&d&&(0,u.to)(d)&&delete d.errors,a(d)}))}}})}))]}}))}))},e.prototype.fetchQuery=function(e,t,n,r){return i(this,void 0,void 0,(function(){var a,i,l,c,d,p,f,h,m,g,v,y,S,_,A,C,T,k,E=this;return s(this,(function(s){switch(s.label){case 0:return a=t.metadata,i=void 0===a?null:a,l=t.fetchPolicy,c=void 0===l?"cache-first":l,d=t.context,p=void 0===d?{}:d,f=this.transform(t.query).document,h=this.getVariables(f,t.variables),this.transform(f).hasClientExports?[4,this.localState.addExportedVariables(f,h,p)]:[3,2];case 1:h=s.sent(),s.label=2;case 2:if(t=o(o({},t),{variables:h}),v=g="network-only"===c||"no-cache"===c,g||(y=this.dataStore.getCache().diff({query:f,variables:h,returnPartialData:!0,optimistic:!1}),S=y.complete,_=y.result,v=!S||"cache-and-network"===c,m=_),A=v&&"cache-only"!==c&&"standby"!==c,(0,u.d8)(["live"],f)&&(A=!0),C=this.idCounter++,T="no-cache"!==c?this.updateQueryWatch(e,f,t):void 0,this.setQuery(e,(function(){return{document:f,lastRequestId:C,invalidated:!0,cancel:T}})),this.invalidate(r),this.queryStore.initQuery({queryId:e,document:f,storePreviousVariables:A,variables:h,isPoll:n===w.poll,isRefetch:n===w.refetch,metadata:i,fetchMoreForQueryId:r}),this.broadcastQueries(),A){if(k=this.fetchRequest({requestId:C,queryId:e,document:f,options:t,fetchMoreForQueryId:r}).catch((function(t){throw b(t)?t:(C>=E.getQuery(e).lastRequestId&&(E.queryStore.markQueryError(e,t,r),E.invalidate(e),E.invalidate(r),E.broadcastQueries()),new x({networkError:t}))})),"cache-and-network"!==c)return[2,k];k.catch((function(){}))}return this.queryStore.markQueryResultClient(e,!A),this.invalidate(e),this.invalidate(r),this.transform(f).hasForcedResolvers?[2,this.localState.runResolvers({document:f,remoteResult:{data:m},context:p,variables:h,onlyRunForcedResolvers:!0}).then((function(n){return E.markQueryResult(e,n,t,r),E.broadcastQueries(),n}))]:(this.broadcastQueries(),[2,{data:m}])}}))}))},e.prototype.markQueryResult=function(e,t,n,r){var a=n.fetchPolicy,o=n.variables,i=n.errorPolicy;"no-cache"===a?this.setQuery(e,(function(){return{newData:{result:t.data,complete:!0}}})):this.dataStore.markQueryResult(t,this.getQuery(e).document,o,r,"ignore"===i||"all"===i)},e.prototype.queryListenerForObserver=function(e,t,n){var r=this;function a(e,t){if(n[e])try{n[e](t)}catch(e){}}return function(n,o){if(r.invalidate(e,!1),n){var i=r.getQuery(e),s=i.observableQuery,l=i.document,u=s?s.options.fetchPolicy:t.fetchPolicy;if("standby"!==u){var c=g(n.networkStatus),d=s&&s.getLastResult(),p=!(!d||d.networkStatus===n.networkStatus),f=t.returnPartialData||!o&&n.previousVariables||p&&t.notifyOnNetworkStatusChange||"cache-only"===u||"cache-and-network"===u;if(!c||f){var h=y(n.graphQLErrors),m=s&&s.options.errorPolicy||t.errorPolicy||"none";if("none"===m&&h||n.networkError)return a("error",new x({graphQLErrors:n.graphQLErrors,networkError:n.networkError}));try{var v=void 0,b=void 0;if(o)"no-cache"!==u&&"network-only"!==u&&r.setQuery(e,(function(){return{newData:null}})),v=o.result,b=!o.complete;else{var w=s&&s.getLastError(),S="none"!==m&&(w&&w.graphQLErrors)!==n.graphQLErrors;if(d&&d.data&&!S)v=d.data,b=!1;else{var _=r.dataStore.getCache().diff({query:l,variables:n.previousVariables||n.variables,returnPartialData:!0,optimistic:!0});v=_.result,b=!_.complete}}var A=b&&!(t.returnPartialData||"cache-only"===u),C={data:A?d&&d.data:v,loading:c,networkStatus:n.networkStatus,stale:A};"all"===m&&h&&(C.errors=n.graphQLErrors),a("next",C)}catch(e){a("error",new x({networkError:e}))}}}}}},e.prototype.transform=function(e){var t=this.transformCache;if(!t.has(e)){var n=this.dataStore.getCache(),r=n.transformDocument(e),a=(0,u.hX)(n.transformForLink(r)),o=this.localState.clientQuery(r),i=this.localState.serverQuery(a),s={document:r,hasClientExports:(0,u.f2)(r),hasForcedResolvers:this.localState.shouldForceResolvers(r),clientQuery:o,serverQuery:i,defaultVars:(0,u.wY)((0,u.Vu)(r))},l=function(e){e&&!t.has(e)&&t.set(e,s)};l(e),l(r),l(o),l(i)}return t.get(e)},e.prototype.getVariables=function(e,t){return o(o({},this.transform(e).defaultVars),t)},e.prototype.watchQuery=function(e,t){void 0===t&&(t=!0),(0,h.V1)("standby"!==e.fetchPolicy,11),e.variables=this.getVariables(e.query,e.variables),void 0===e.notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var n=o({},e);return new S({queryManager:this,options:n,shouldSubscribe:t})},e.prototype.query=function(e){var t=this;return(0,h.V1)(e.query,12),(0,h.V1)("Document"===e.query.kind,13),(0,h.V1)(!e.returnPartialData,14),(0,h.V1)(!e.pollInterval,15),new Promise((function(n,r){var a=t.watchQuery(e,!1);t.fetchQueryRejectFns.set("query:"+a.queryId,r),a.result().then(n,r).then((function(){return t.fetchQueryRejectFns.delete("query:"+a.queryId)}))}))},e.prototype.generateQueryId=function(){return String(this.idCounter++)},e.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(e){this.stopPollingQuery(e),this.queryStore.stopQuery(e),this.invalidate(e)},e.prototype.addQueryListener=function(e,t){this.setQuery(e,(function(e){return e.listeners.add(t),{invalidated:!1}}))},e.prototype.updateQueryWatch=function(e,t,n){var r=this,a=this.getQuery(e).cancel;return a&&a(),this.dataStore.getCache().watch({query:t,variables:n.variables,optimistic:!0,previousResult:function(){var t=null,n=r.getQuery(e).observableQuery;if(n){var a=n.getLastResult();a&&(t=a.data)}return t},callback:function(t){r.setQuery(e,(function(){return{invalidated:!0,newData:t}}))}})},e.prototype.addObservableQuery=function(e,t){this.setQuery(e,(function(){return{observableQuery:t}}))},e.prototype.removeObservableQuery=function(e){var t=this.getQuery(e).cancel;this.setQuery(e,(function(){return{observableQuery:null}})),t&&t()},e.prototype.clearStore=function(){this.fetchQueryRejectFns.forEach((function(e){e(new h.zU(16))}));var e=[];return this.queries.forEach((function(t,n){t.observableQuery&&e.push(n)})),this.queryStore.reset(e),this.mutationStore.reset(),this.dataStore.reset()},e.prototype.resetStore=function(){var e=this;return this.clearStore().then((function(){return e.reFetchObservableQueries()}))},e.prototype.reFetchObservableQueries=function(e){var t=this;void 0===e&&(e=!1);var n=[];return this.queries.forEach((function(r,a){var o=r.observableQuery;if(o){var i=o.options.fetchPolicy;o.resetLastResults(),"cache-only"===i||!e&&"standby"===i||n.push(o.refetch()),t.setQuery(a,(function(){return{newData:null}})),t.invalidate(a)}})),this.broadcastQueries(),Promise.all(n)},e.prototype.observeQuery=function(e,t,n){return this.addQueryListener(e,this.queryListenerForObserver(e,t,n)),this.fetchQuery(e,t)},e.prototype.startQuery=function(e,t,n){return this.addQueryListener(e,n),this.fetchQuery(e,t).catch((function(){})),e},e.prototype.startGraphQLSubscription=function(e){var t=this,n=e.query,r=e.fetchPolicy,a=e.variables;n=this.transform(n).document,a=this.getVariables(n,a);var o=function(e){return t.getObservableFromLink(n,{},e,!1).map((function(a){if(r&&"no-cache"===r||(t.dataStore.markSubscriptionResult(a,n,e),t.broadcastQueries()),(0,u.to)(a))throw new x({graphQLErrors:a.errors});return a}))};if(this.transform(n).hasClientExports){var i=this.localState.addExportedVariables(n,a).then(o);return new v((function(e){var t=null;return i.then((function(n){return t=n.subscribe(e)}),e.error),function(){return t&&t.unsubscribe()}}))}return o(a)},e.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},e.prototype.removeQuery=function(e){this.fetchQueryRejectFns.delete("query:"+e),this.fetchQueryRejectFns.delete("fetchRequest:"+e),this.getQuery(e).subscriptions.forEach((function(e){return e.unsubscribe()})),this.queries.delete(e)},e.prototype.getCurrentQueryResult=function(e,t){void 0===t&&(t=!0);var n=e.options,r=n.variables,a=n.query,o=n.fetchPolicy,i=n.returnPartialData,s=e.getLastResult(),l=this.getQuery(e.queryId).newData;if(l&&l.complete)return{data:l.result,partial:!1};if("no-cache"===o||"network-only"===o)return{data:void 0,partial:!1};var u=this.dataStore.getCache().diff({query:a,variables:r,previousResult:s?s.data:void 0,returnPartialData:!0,optimistic:t}),c=u.result,d=u.complete;return{data:d||i?c:void 0,partial:!d}},e.prototype.getQueryWithPreviousResult=function(e){var t;if("string"==typeof e){var n=this.getQuery(e).observableQuery;(0,h.V1)(n,17),t=n}else t=e;var r=t.options,a=r.variables,o=r.query;return{previousResult:this.getCurrentQueryResult(t,!1).data,variables:a,document:o}},e.prototype.broadcastQueries=function(){var e=this;this.onBroadcast(),this.queries.forEach((function(t,n){t.invalidated&&t.listeners.forEach((function(r){r&&r(e.queryStore.get(n),t.newData)}))}))},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableFromLink=function(e,t,n,r){var a,i=this;void 0===r&&(r=this.queryDeduplication);var s=this.transform(e).serverQuery;if(s){var l=this.inFlightLinkObservables,c=this.link,d={query:s,variables:n,operationName:(0,u.n4)(s)||void 0,context:this.prepareContext(o(o({},t),{forceFetch:!r}))};if(t=d.context,r){var f=l.get(s)||new Map;l.set(s,f);var h=JSON.stringify(n);if(!(a=f.get(h))){f.set(h,a=M((0,p.g7)(c,d)));var m=function(){f.delete(h),f.size||l.delete(s),g.unsubscribe()},g=a.subscribe({next:m,error:m,complete:m})}}else a=M((0,p.g7)(c,d))}else a=v.of({data:{}}),t=this.prepareContext(t);var y=this.transform(e).clientQuery;return y&&(a=function(e,r){return new v((function(r){var a=r.next,o=r.error,s=r.complete,l=0,u=!1,c={next:function(e){++l,new Promise((function(r){var a;r((a=e,i.localState.runResolvers({document:y,remoteResult:a,context:t,variables:n})))})).then((function(e){--l,a&&a.call(r,e),u&&c.complete()}),(function(e){--l,o&&o.call(r,e)}))},error:function(e){o&&o.call(r,e)},complete:function(){u=!0,l||s&&s.call(r)}},d=e.subscribe(c);return function(){return d.unsubscribe()}}))}(a)),a},e.prototype.fetchRequest=function(e){var t,n,r=this,a=e.requestId,o=e.queryId,i=e.document,s=e.options,u=e.fetchMoreForQueryId,c=s.variables,d=s.errorPolicy,p=void 0===d?"none":d,f=s.fetchPolicy;return new Promise((function(e,d){var h=r.getObservableFromLink(i,s.context,c),m="fetchRequest:"+o;r.fetchQueryRejectFns.set(m,d);var g=function(){r.fetchQueryRejectFns.delete(m),r.setQuery(o,(function(e){e.subscriptions.delete(v)}))},v=h.map((function(e){if(a>=r.getQuery(o).lastRequestId&&(r.markQueryResult(o,e,s,u),r.queryStore.markQueryResult(o,e,u),r.invalidate(o),r.invalidate(u),r.broadcastQueries()),"none"===p&&y(e.errors))return d(new x({graphQLErrors:e.errors}));if("all"===p&&(n=e.errors),u||"no-cache"===f)t=e.data;else{var l=r.dataStore.getCache().diff({variables:c,query:i,optimistic:!1,returnPartialData:!0}),h=l.result;(l.complete||s.returnPartialData)&&(t=h)}})).subscribe({error:function(e){g(),d(e)},complete:function(){g(),e({data:t,errors:n,loading:!1,networkStatus:l.ready,stale:!1})}});r.setQuery(o,(function(e){e.subscriptions.add(v)}))}))},e.prototype.getQuery=function(e){return this.queries.get(e)||{listeners:new Set,invalidated:!1,document:null,newData:null,lastRequestId:1,observableQuery:null,subscriptions:new Set}},e.prototype.setQuery=function(e,t){var n=this.getQuery(e),r=o(o({},n),t(n));this.queries.set(e,r)},e.prototype.invalidate=function(e,t){void 0===t&&(t=!0),e&&this.setQuery(e,(function(){return{invalidated:t}}))},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return o(o({},t),{clientAwareness:this.clientAwareness})},e.prototype.checkInFlight=function(e){var t=this.queryStore.get(e);return t&&t.networkStatus!==l.ready&&t.networkStatus!==l.error},e.prototype.startPollingQuery=function(e,t,n){var r=this,a=e.pollInterval;if((0,h.V1)(a,18),!this.ssrMode){var i=this.pollingInfoByQueryId.get(t);i||this.pollingInfoByQueryId.set(t,i={}),i.interval=a,i.options=o(o({},e),{fetchPolicy:"network-only"});var s=function(){var e=r.pollingInfoByQueryId.get(t);e&&(r.checkInFlight(t)?l():r.fetchQuery(t,e.options,w.poll).then(l,l))},l=function(){var e=r.pollingInfoByQueryId.get(t);e&&(clearTimeout(e.timeout),e.timeout=setTimeout(s,e.interval))};n&&this.addQueryListener(t,n),l()}return t},e.prototype.stopPollingQuery=function(e){this.pollingInfoByQueryId.delete(e)},e}(),I=function(){function e(e){this.cache=e}return e.prototype.getCache=function(){return this.cache},e.prototype.markQueryResult=function(e,t,n,r,a){void 0===a&&(a=!1);var o=!(0,u.to)(e);a&&(0,u.to)(e)&&e.data&&(o=!0),!r&&o&&this.cache.write({result:e.data,dataId:"ROOT_QUERY",query:t,variables:n})},e.prototype.markSubscriptionResult=function(e,t,n){(0,u.to)(e)||this.cache.write({result:e.data,dataId:"ROOT_SUBSCRIPTION",query:t,variables:n})},e.prototype.markMutationInit=function(e){var t,n=this;e.optimisticResponse&&(t="function"==typeof e.optimisticResponse?e.optimisticResponse(e.variables):e.optimisticResponse,this.cache.recordOptimisticTransaction((function(r){var a=n.cache;n.cache=r;try{n.markMutationResult({mutationId:e.mutationId,result:{data:t},document:e.document,variables:e.variables,updateQueries:e.updateQueries,update:e.update})}finally{n.cache=a}}),e.mutationId))},e.prototype.markMutationResult=function(e){var t=this;if(!(0,u.to)(e.result)){var n=[{result:e.result.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}],r=e.updateQueries;r&&Object.keys(r).forEach((function(a){var o=r[a],i=o.query,s=o.updater,l=t.cache.diff({query:i.document,variables:i.variables,returnPartialData:!0,optimistic:!1}),c=l.result;if(l.complete){var d=(0,u.VL)((function(){return s(c,{mutationResult:e.result,queryName:(0,u.n4)(i.document)||void 0,queryVariables:i.variables})}));d&&n.push({result:d,dataId:"ROOT_QUERY",query:i.document,variables:i.variables})}})),this.cache.performTransaction((function(t){n.forEach((function(e){return t.write(e)}));var r=e.update;r&&(0,u.VL)((function(){return r(t,e.result)}))}))}},e.prototype.markMutationComplete=function(e){var t=e.mutationId;e.optimisticResponse&&this.cache.removeOptimistic(t)},e.prototype.markUpdateQueryResult=function(e,t,n){this.cache.write({result:n,dataId:"ROOT_QUERY",variables:t,query:e})},e.prototype.reset=function(){return this.cache.reset()},e}(),D=function(){function e(e){var t=this;this.defaultOptions={},this.resetStoreCallbacks=[],this.clearStoreCallbacks=[];var n=e.cache,r=e.ssrMode,a=void 0!==r&&r,o=e.ssrForceFetchDelay,i=void 0===o?0:o,s=e.connectToDevTools,l=e.queryDeduplication,u=void 0===l||l,c=e.defaultOptions,d=e.assumeImmutableResults,f=void 0!==d&&d,m=e.resolvers,g=e.typeDefs,v=e.fragmentMatcher,y=e.name,b=e.version,w=e.link;if(!w&&m&&(w=p.Ch.empty()),!w||!n)throw new h.zU(4);this.link=w,this.cache=n,this.store=new I(n),this.disableNetworkFetches=a||i>0,this.queryDeduplication=u,this.defaultOptions=c||{},this.typeDefs=g,i&&setTimeout((function(){return t.disableNetworkFetches=!1}),i),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),void 0!==s&&s&&"undefined"!=typeof window&&(window.__APOLLO_CLIENT__=this),this.version="2.6.10",this.localState=new E({cache:n,client:this,resolvers:m,fragmentMatcher:v}),this.queryManager=new O({link:this.link,store:this.store,queryDeduplication:u,ssrMode:a,clientAwareness:{name:y,version:b},localState:this.localState,assumeImmutableResults:f,onBroadcast:function(){t.devToolsHookCb&&t.devToolsHookCb({action:{},state:{queries:t.queryManager.queryStore.getStore(),mutations:t.queryManager.mutationStore.getStore()},dataWithOptimisticResults:t.cache.extract(!0)})}})}return e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=o(o({},this.defaultOptions.watchQuery),e)),!this.disableNetworkFetches||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e=o(o({},e),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=o(o({},this.defaultOptions.query),e)),(0,h.V1)("cache-and-network"!==e.fetchPolicy,5),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=o(o({},e),{fetchPolicy:"cache-first"})),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=o(o({},this.defaultOptions.mutate),e)),this.queryManager.mutate(e)},e.prototype.subscribe=function(e){return this.queryManager.startGraphQLSubscription(e)},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.cache.readQuery(e,t)},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.cache.readFragment(e,t)},e.prototype.writeQuery=function(e){var t=this.cache.writeQuery(e);return this.queryManager.broadcastQueries(),t},e.prototype.writeFragment=function(e){var t=this.cache.writeFragment(e);return this.queryManager.broadcastQueries(),t},e.prototype.writeData=function(e){var t=this.cache.writeData(e);return this.queryManager.broadcastQueries(),t},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return(0,p.g7)(this.link,e)},e.prototype.initQueryManager=function(){return this.queryManager},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager.clearStore()})).then((function(){return Promise.all(e.resetStoreCallbacks.map((function(e){return e()})))})).then((function(){return e.reFetchObservableQueries()}))},e.prototype.clearStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager.clearStore()})).then((function(){return Promise.all(e.clearStoreCallbacks.map((function(e){return e()})))}))},e.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter((function(t){return t!==e}))}},e.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter((function(t){return t!==e}))}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager.reFetchObservableQueries(e)},e.prototype.extract=function(e){return this.cache.extract(e)},e.prototype.restore=function(e){return this.cache.restore(e)},e.prototype.addResolvers=function(e){this.localState.addResolvers(e)},e.prototype.setResolvers=function(e){this.localState.setResolvers(e)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},e}();const R=D},32006:(e,t,n)=>{"use strict";n.d(t,{A:()=>r}),e=n.hmd(e);const r=function(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}("undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:e)},45783:(e,t,n)=>{"use strict";n.d(t,{Ch:()=>x,cP:()=>a.A,xW:()=>w,ki:()=>h,Ie:()=>v,g7:()=>S,HT:()=>y,NQ:()=>f,Sx:()=>p,n4:()=>l.n4,uW:()=>d,lD:()=>b,hq:()=>c});var r,a=n(63449),o=n(22702),i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},i(e,t)},s=function(){return s=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{"use strict";n.d(t,{A:()=>a});var r=n(16064);const a=n.n(r)()},18580:e=>{function t(){return e.exports=t=Object.assign||function(e){for(var t=1;t{"use strict";e.exports=n(56614)},68351:(e,t,n)=>{"use strict";var r=n(18580),a=n(39660),o=a.ApolloLink,i=a.Observable,s=n(68820),l=s.createSignalIfSupported,u=s.fallbackHttpConfig,c=s.parseAndCheckHttpResponse,d=s.rewriteURIForGET,p=s.selectHttpOptionsAndBody,f=s.selectURI,h=s.serializeFetchParameter,m=n(69550),g=n(28054),v=n(31423);e.exports=function(e){var t=void 0===e?{}:e,n=t.uri,a=void 0===n?"/graphql":n,s=t.useGETForQueries,y=t.isExtractableFile,b=void 0===y?v:y,w=t.FormData,x=t.formDataAppendFile,S=void 0===x?g:x,_=t.fetch,A=t.fetchOptions,C=t.credentials,T=t.headers,k={http:{includeExtensions:t.includeExtensions},options:A,credentials:C,headers:T};return new o((function(e){var t=e.getContext(),n=t.clientAwareness,o=(n=void 0===n?{}:n).name,g=n.version,v=t.headers,y={http:t.http,options:t.fetchOptions,credentials:t.credentials,headers:r({},o&&{"apollographql-client-name":o},g&&{"apollographql-client-version":g},v)},x=p(e,u,k,y),A=x.options,C=x.body,T=m(C,"",b),E=T.clone,M=T.files,P=f(e,a);if(M.size){delete A.headers["content-type"];var O=new(w||FormData);O.append("operations",h(E,"Payload"));var I={},D=0;M.forEach((function(e){I[++D]=e})),O.append("map",JSON.stringify(I)),D=0,M.forEach((function(e,t){S(O,++D,t)})),A.body=O}else if(s&&!e.query.definitions.some((function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation}))&&(A.method="GET"),"GET"===A.method){var R=d(P,C),N=R.newURI,L=R.parseError;if(L)return new i((function(e){e.error(L)}));P=N}else A.body=h(E,"Payload");var $=l().controller;$&&(A.signal&&A.signal.addEventListener("abort",(function(){$.abort()})),A.signal=$.signal);var j=_||fetch;return new i((function(t){var n;return j(P,A).then((function(t){return e.setContext({response:t}),t})).then(c(e)).then((function(e){t.next(e),t.complete()})).catch((function(e){n||(e.result&&e.result.errors&&e.result.data&&t.next(e.result),t.error(e))})),function(){n=!0,$&&$.abort()}}))}))}},28054:e=>{"use strict";e.exports=function(e,t,n){e.append(t,n,n.name)}},14484:(e,t,n)=>{"use strict";t.createUploadLink=n(68351),t.formDataAppendFile=n(28054),t.isExtractableFile=n(31423),t.ReactNativeFile=n(32358)},31423:(e,t,n)=>{"use strict";e.exports=n(64767)},15409:(e,t,n)=>{"use strict";n.d(t,{XY:()=>z,MB:()=>f,kp:()=>T,zc:()=>H,et:()=>G,mg:()=>X,JG:()=>D,wY:()=>R,i2:()=>w,zK:()=>P,ct:()=>C,Vn:()=>I,Vu:()=>E,n4:()=>M,AT:()=>O,o5:()=>p,to:()=>te,f2:()=>_,d8:()=>S,dt:()=>m,d:()=>v,kd:()=>g,Wi:()=>b,KV:()=>Z,Nu:()=>J,D9:()=>re,IM:()=>ae,er:()=>q,hX:()=>V,ue:()=>h,MS:()=>x,Ii:()=>c,Uw:()=>y,VL:()=>ee});var r=n(9111),a=n(22702),o=function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0){var r=n.connection.filter?n.connection.filter:[];r.sort();var a=t,o={};return r.forEach((function(e){o[e]=a[e]})),n.connection.key+"("+JSON.stringify(o)+")"}return n.connection.key}var i=e;if(t){var s=l()(t);i+="("+s+")"}return n&&Object.keys(n).forEach((function(e){-1===d.indexOf(e)&&(n[e]&&Object.keys(n[e]).length?i+="@"+e+"("+JSON.stringify(n[e])+")":i+="@"+e)})),i}function f(e,t){if(e.arguments&&e.arguments.length){var n={};return e.arguments.forEach((function(e){var r=e.name,a=e.value;return u(n,r,a,t)})),n}return null}function h(e){return e.alias?e.alias.value:e.name.value}function m(e){return"Field"===e.kind}function g(e){return"InlineFragment"===e.kind}function v(e){return e&&"id"===e.type&&"boolean"==typeof e.generated}function y(e,t){return void 0===t&&(t=!1),o({type:"id",generated:t},"string"==typeof e?{id:e,typename:void 0}:e)}function b(e){return null!=e&&"object"==typeof e&&"json"===e.type}function w(e,t){if(e.directives&&e.directives.length){var n={};return e.directives.forEach((function(e){n[e.name.value]=f(e,t)})),n}return null}function x(e,t){return void 0===t&&(t={}),(n=e.directives,n?n.filter(A).map((function(e){var t=e.arguments;e.name.value,(0,a.V1)(t&&1===t.length,14);var n=t[0];(0,a.V1)(n.name&&"if"===n.name.value,15);var r=n.value;return(0,a.V1)(r&&("Variable"===r.kind||"BooleanValue"===r.kind),16),{directive:e,ifArgument:n}})):[]).every((function(e){var n=e.directive,r=e.ifArgument,o=!1;return"Variable"===r.value.kind?(o=t[r.value.name.value],(0,a.V1)(void 0!==o,13)):o=r.value.value,"skip"===n.name.value?!o:o}));var n}function S(e,t){return function(e){var t=[];return(0,r.visit)(e,{Directive:function(e){t.push(e.name.value)}}),t}(t).some((function(t){return e.indexOf(t)>-1}))}function _(e){return e&&S(["client"],e)&&S(["export"],e)}function A(e){var t=e.name.value;return"skip"===t||"include"===t}function C(e,t){var n=t,r=[];return e.definitions.forEach((function(e){if("OperationDefinition"===e.kind)throw new a.zU(11);"FragmentDefinition"===e.kind&&r.push(e)})),void 0===n&&((0,a.V1)(1===r.length,12),n=r[0].name.value),o(o({},e),{definitions:i([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:n}}]}}],e.definitions)})}function T(e){for(var t=[],n=1;n1){var r=[];t=se(t,r);for(var a=1;a{"use strict";n.r(t),n.d(t,{clearAllBodyScrollLocks:()=>v,disableBodyScroll:()=>g,enableBodyScroll:()=>y});var r=!1;if("undefined"!=typeof window){var a={get passive(){r=!0}};window.addEventListener("testPassive",null,a),window.removeEventListener("testPassive",null,a)}var o="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1),i=[],s=!1,l=-1,u=void 0,c=void 0,d=void 0,p=function(e){return i.some((function(t){return!(!t.options.allowTouchMove||!t.options.allowTouchMove(e))}))},f=function(e){var t=e||window.event;return!!p(t.target)||t.touches.length>1||(t.preventDefault&&t.preventDefault(),!1)},h=function(){void 0!==d&&(document.body.style.paddingRight=d,d=void 0),void 0!==u&&(document.body.style.overflow=u,u=void 0)},m=function(){if(void 0!==c){var e=-parseInt(document.body.style.top,10),t=-parseInt(document.body.style.left,10);document.body.style.position=c.position,document.body.style.top=c.top,document.body.style.left=c.left,window.scrollTo(t,e),c=void 0}},g=function(e,t){if(e){if(!i.some((function(t){return t.targetElement===e}))){var n={targetElement:e,options:t||{}};i=[].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t=r&&(document.body.style.top=-(t+e))}))}),300)}})):function(e){if(void 0===d){var t=!!e&&!0===e.reserveScrollBarGap,n=window.innerWidth-document.documentElement.clientWidth;if(t&&n>0){var r=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right"),10);d=document.body.style.paddingRight,document.body.style.paddingRight=r+n+"px"}}void 0===u&&(u=document.body.style.overflow,document.body.style.overflow="hidden")}(t),o&&(e.ontouchstart=function(e){1===e.targetTouches.length&&(l=e.targetTouches[0].clientY)},e.ontouchmove=function(t){1===t.targetTouches.length&&function(e,t){var n=e.targetTouches[0].clientY-l;!p(e.target)&&(t&&0===t.scrollTop&&n>0||function(e){return!!e&&e.scrollHeight-e.scrollTop<=e.clientHeight}(t)&&n<0?f(e):e.stopPropagation())}(t,e)},s||(document.addEventListener("touchmove",f,r?{passive:!1}:void 0),s=!0))}}else console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.")},v=function(){o&&(i.forEach((function(e){e.targetElement.ontouchstart=null,e.targetElement.ontouchmove=null})),s&&(document.removeEventListener("touchmove",f,r?{passive:!1}:void 0),s=!1),l=-1),o?m():h(),i=[]},y=function(e){e?(i=i.filter((function(t){return t.targetElement!==e})),o&&(e.ontouchstart=null,e.ontouchmove=null,s&&0===i.length&&(document.removeEventListener("touchmove",f,r?{passive:!1}:void 0),s=!1)),o?m():h()):console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.")}},51710:(e,t,n)=>{"use strict";n.r(t),n.d(t,{clarity:()=>u,helper:()=>oi,version:()=>ii});var r=Object.freeze({__proto__:null,get queue(){return da},get start(){return ca},get stop(){return pa},get track(){return oa}}),a=Object.freeze({__proto__:null,get clone(){return Da},get compute(){return Ra},get data(){return Ca},get keys(){return Ta},get reset(){return Na},get start(){return Oa},get stop(){return $a},get trigger(){return Ia},get update(){return La}}),o=Object.freeze({__proto__:null,get check(){return Va},get compute(){return Ha},get data(){return Aa},get start(){return Wa},get stop(){return qa},get trigger(){return Ua}}),i=Object.freeze({__proto__:null,get compute(){return Za},get data(){return Ga},get log(){return Qa},get reset(){return Ja},get start(){return Xa},get stop(){return Ka},get updates(){return Ya}}),s=Object.freeze({__proto__:null,get callbacks(){return to},get clear(){return uo},get consent(){return lo},get data(){return eo},get electron(){return no},get id(){return so},get metadata(){return io},get save(){return co},get shortid(){return ho},get start(){return ao},get stop(){return oo}}),l=Object.freeze({__proto__:null,get data(){return xo},get envelope(){return Ao},get start(){return So},get stop(){return _o}}),u=Object.freeze({__proto__:null,get consent(){return lo},get event(){return z},get hashText(){return it},get identify(){return he},get metadata(){return io},get pause(){return ni},get resume(){return ri},get set(){return fe},get signal(){return Ae},get start(){return ti},get stop(){return ai},get upgrade(){return le},get version(){return v}}),c=window,d="clarity";function p(){if(void 0!==c){if(c[d]&&c[d].v)return console.warn("Error CL001: Multiple Clarity tags detected.");var e=c[d]&&c[d].q||[];for(c[d]=function(e){for(var t=[],n=1;n0;)c[d].apply(c,e.shift())}}var f={projectId:null,delay:1e3,lean:!1,track:!0,content:!0,drop:[],mask:[],unmask:[],regions:[],cookies:[],fraud:!0,checksum:[],report:null,upload:null,fallback:null,upgrade:null,action:null,dob:null,delayDom:!1,throttleDom:!0,conversions:!1,longTask:30};function h(e){return window.Zone&&"__symbol__"in window.Zone?window.Zone.__symbol__(e):e}var m=0;function g(e){void 0===e&&(e=null);var t=e&&e.timeStamp>0?e.timeStamp:performance.now(),n=e&&e.view?e.view.performance.timeOrigin:performance.timeOrigin;return Math.max(Math.round(t+n-m),0)}var v="0.7.48";function y(e,t){void 0===t&&(t=null);for(var n,r=5381,a=r,o=0;o=48&&l<=57,a=a||64===l,o=9===l||10===l||13===l||32===l,0===s||s===e.length-1||o){if(r||a){null===i&&(i=e.split(""));var u=e.substring(t+1,o?s:s+1);u=w&&null!==_?u.match(_)?u:E(u,"▪","▫"):k(u),i.splice(t+1-n,u.length,u),n+=u.length-1}o&&(r=!1,a=!1,t=s)}}return i?i.join(""):e}(e);case"input":case"change":return M(e)}return e;case 2:case 3:switch(t){case"*T":case"data-":return r?T(e):k(e);case"src":case"srcset":case"title":case"alt":return 3===n?"":e;case"value":case"click":case"input":case"change":return M(e);case"placeholder":return k(e)}break;case 4:switch(t){case"*T":case"data-":return r?T(e):k(e);case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":return""}break;case 5:switch(t){case"*T":case"data-":return E(e,"▪","▫");case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":case"src":case"srcset":case"alt":case"title":return""}}}return e}function C(e,t){if(void 0===t&&(t=!1),t)return"".concat("https://").concat("Electron");var n=f.drop;if(n&&n.length>0&&e&&e.indexOf("?")>0){var r=e.split("?");return r[0]+"?"+r[1].split("&").map((function(e){return n.some((function(t){return 0===e.indexOf("".concat(t,"="))}))?"".concat(e.split("=")[0],"=").concat("*na*"):e})).join("&")}return e}function T(e){var t=e.trim();if(t.length>0){var n=t[0],r=e.indexOf(n),a=e.substr(0,r),o=e.substr(r+t.length);return"".concat(a).concat(t.length.toString(36)).concat(o)}return e}function k(e){return e.replace(b,"•")}function E(e,t,n){return P(),e?e.replace(S,t).replace(x,n):e}function M(e){for(var t=5*(Math.floor(e.length/5)+1),n="",r=0;r0&&r%5==0?" ":"•";return n}function P(){if(w&&null===x)try{x=new RegExp("\\p{N}","gu"),S=new RegExp("\\p{L}","gu"),_=new RegExp("\\p{Sc}","gu")}catch(e){w=!1}}var O=null,I=null,D=!1;function R(){D&&(O={time:g(),event:4,data:{visible:I.visible,docWidth:I.docWidth,docHeight:I.docHeight,screenWidth:I.screenWidth,screenHeight:I.screenHeight,scrollX:I.scrollX,scrollY:I.scrollY,pointerX:I.pointerX,pointerY:I.pointerY,activityTime:I.activityTime,scrollTime:I.scrollTime}}),I=I||{visible:1,docWidth:0,docHeight:0,screenWidth:0,screenHeight:0,scrollX:0,scrollY:0,pointerX:0,pointerY:0,activityTime:0,scrollTime:0}}function N(e,t,n,r){switch(e){case 8:I.docWidth=t,I.docHeight=n;break;case 11:I.screenWidth=t,I.screenHeight=n;break;case 10:I.scrollX=t,I.scrollY=n,I.scrollTime=r;break;default:I.pointerX=t,I.pointerY=n}D=!0}function L(e){I.activityTime=e}function $(e,t){I.visible="visible"===t?1:0,I.visible||L(e),D=!0}function j(){D&&za(4)}var F=Object.freeze({__proto__:null,activity:L,compute:j,reset:R,start:function(){D=!1,R()},get state(){return O},stop:function(){R()},track:N,visibility:$}),B=null;function z(e,t){Bo()&&e&&"string"==typeof e&&e.length<255&&(B=t&&"string"==typeof t&&t.length<255?{key:e,value:t}:{value:e},za(24))}var W,V=null,U=null;function H(e){e in V||(V[e]=0),e in U||(U[e]=0),V[e]++,U[e]++}function q(e,t){null!==t&&(e in V||(V[e]=0),e in U||(U[e]=0),V[e]+=t,U[e]+=t)}function G(e,t){null!==t&&!1===isNaN(t)&&(e in V||(V[e]=0),(t>V[e]||0===V[e])&&(U[e]=t,V[e]=t))}function Y(e,t,n){return window.setTimeout(ko(e),t,n)}function X(e){return window.clearTimeout(e)}var K=0,Q=0,Z=null;function J(){Z&&X(Z),Z=Y(ee,Q),K=g()}function ee(){var e=g();W={gap:e-K},za(25),W.gap<3e5?Z=Y(ee,Q):Fo&&(z("clarity","suspend"),ai(),["mousemove","touchstart"].forEach((function(e){return Mo(document,e,Wo)})),["resize","scroll","pageshow"].forEach((function(e){return Mo(window,e,Wo)})))}var te=Object.freeze({__proto__:null,get data(){return W},reset:J,start:function(){Q=6e4,K=0},stop:function(){X(Z),K=0,Q=0}}),ne=null;function re(e,t){if(e in ne){var n=ne[e],r=n[n.length-1];t-r[0]>100?ne[e].push([t,0]):r[1]=t-r[0]}else ne[e]=[[t,0]]}function ae(){za(36)}function oe(){ne={}}var ie=Object.freeze({__proto__:null,compute:ae,get data(){return ne},reset:oe,start:function(){ne={}},stop:function(){ne={}},track:re}),se=null;function le(e){Bo()&&f.lean&&(f.lean=!1,se={key:e},co(),f.upgrade&&f.upgrade(e),za(3))}var ue=Object.freeze({__proto__:null,get data(){return se},start:function(){!f.lean&&f.upgrade&&f.upgrade("Config"),se=null},stop:function(){se=null},upgrade:le});function ce(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((r=r.apply(e,t||[])).next())}))}function de(e,t){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((a=(a=i.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]=5?"".concat(s.substring(0,2)).concat(E(s.substring(2),"*","*")):E(s,"*","*")),me("userId",[(a=o).userId]),me("userHint",[a.userHint]),me("userType",[be(e)]),t&&(me("sessionId",[t]),a.sessionId=t),n&&(me("pageId",[n]),a.pageId=n),[2,a]}var s}))}))}function me(e,t){if(Bo()&&e&&t&&"string"==typeof e&&e.length<255){for(var n=(e in pe?pe[e]:[]),r=0;r0?"email":"string"}var we="CompressionStream"in window;function xe(e){return ce(this,void 0,void 0,(function(){var t,n;return de(this,(function(r){switch(r.label){case 0:return r.trys.push([0,3,,4]),we?(t=new ReadableStream({start:function(t){return ce(this,void 0,void 0,(function(){return de(this,(function(n){return t.enqueue(e),t.close(),[2]}))}))}}).pipeThrough(new TextEncoderStream).pipeThrough(new window.CompressionStream("gzip")),n=Uint8Array.bind,[4,Se(t)]):[3,2];case 1:return[2,new(n.apply(Uint8Array,[void 0,r.sent()]))];case 2:return[3,4];case 3:return r.sent(),[3,4];case 4:return[2,null]}}))}))}function Se(e){return ce(this,void 0,void 0,(function(){var t,n,r,a,o;return de(this,(function(i){switch(i.label){case 0:t=e.getReader(),n=[],r=!1,a=[],i.label=1;case 1:return r?[3,3]:[4,t.read()];case 2:return o=i.sent(),r=o.done,a=o.value,r?[2,n]:(n.push.apply(n,a),[3,1]);case 3:return[2,n]}}))}))}var _e=null;function Ae(e){_e=e}function Ce(e){try{if(!_e)return;var t=function(e){try{return JSON.parse(e)}catch(e){return[]}}(e);t.forEach((function(e){_e(e)}))}catch(e){}}var Te=[F,i,Object.freeze({__proto__:null,compute:ge,get data(){return pe},identify:he,reset:ve,set:fe,start:function(){ve()},stop:function(){ve()}}),o,ie,s,l,r,te,ue,a];var ke,Ee=[];function Me(e,t,n){f.fraud&&null!==e&&n&&n.length>=5&&(ke={id:e,target:t,checksum:y(n,24)},Ee.indexOf(ke.checksum)<0&&(Ee.push(ke.checksum),wa(41)))}var Pe="load,active,fixed,visible,focus,show,collaps,animat".split(","),Oe={};function Ie(){Oe={}}function De(e,t){var n=e.attributes,r=e.prefix?e.prefix[t]:null,a=0===t?"".concat("~").concat(e.position-1):":nth-of-type(".concat(e.position,")");switch(e.tag){case"STYLE":case"TITLE":case"LINK":case"META":case"*T":case"*D":return"";case"HTML":return"HTML";default:if(null===r)return"";r="".concat(r).concat(">"),e.tag=0===e.tag.indexOf("svg:")?e.tag.substr(4):e.tag;var o="".concat(r).concat(e.tag).concat(a),i="id"in n&&n.id.length>0?n.id:null,s="BODY"!==e.tag&&"class"in n&&n.class.length>0?n.class.trim().split(/\s+/).filter((function(e){return Re(e)})).join("."):null;if(s&&s.length>0)if(0===t){var l="".concat(function(e){for(var t=e.split(">"),n=0;n0?a:r>0?r:t[n].length)}return t.join(">")}(r)).concat(e.tag).concat(".").concat(s);l in Oe||(Oe[l]=[]),Oe[l].indexOf(e.id)<0&&Oe[l].push(e.id),o="".concat(l).concat("~").concat(Oe[l].indexOf(e.id))}else o="".concat(r).concat(e.tag,".").concat(s).concat(a);return o=i&&Re(i)?"".concat(function(e){var t=e.lastIndexOf("*S"),n=e.lastIndexOf("".concat("iframe:").concat("HTML")),r=Math.max(t,n);return r<0?"":e.substring(0,e.indexOf(">",r)+1)}(r)).concat("#").concat(i):o,o}}function Re(e){if(!e)return!1;if(Pe.some((function(t){return e.toLowerCase().indexOf(t)>=0})))return!1;for(var t=0;t=48&&n<=57)return!1}return!0}var Ne=Object.freeze({__proto__:null,get:De,reset:Ie}),Le=1,$e=null,je=[],Fe=[],Be={},ze=[],We=[],Ve=[],Ue=[],He=[],qe=[],Ge=null,Ye=null,Xe=null,Ke=null;function Qe(){Je(),et(document,!0)}function Ze(){Je()}function Je(){Le=1,je=[],Fe=[],Be={},ze=[],We=[],Ve="address,password,contact".split(","),Ue="password,secret,pass,social,ssn,code,hidden".split(","),He="radio,checkbox,range,button,reset,submit".split(","),qe="INPUT,SELECT,TEXTAREA".split(","),$e=new Map,Ge=new WeakMap,Ye=new WeakMap,Xe=new WeakMap,Ke=new WeakMap,Ie()}function et(e,t){void 0===t&&(t=!1);try{t&&f.unmask.forEach((function(e){return e.indexOf("!")<0?We.push(e):ze.push(e.substr(1))})),"querySelectorAll"in e&&(f.regions.forEach((function(t){return e.querySelectorAll(t[1]).forEach((function(e){return zr(e,"".concat(t[0]))}))})),f.mask.forEach((function(t){return e.querySelectorAll(t).forEach((function(e){return Xe.set(e,3)}))})),f.checksum.forEach((function(t){return e.querySelectorAll(t[1]).forEach((function(e){return Ke.set(e,t[0])}))})),We.forEach((function(t){return e.querySelectorAll(t).forEach((function(e){return Xe.set(e,0)}))})))}catch(e){_a(5,1,e?e.name:null)}}function tt(e,t){if(void 0===t&&(t=!1),null===e)return null;var n=Ge.get(e);return!n&&t&&(n=Le++,Ge.set(e,n)),n||null}function nt(e){var t=!1;if(e.nodeType===Node.ELEMENT_NODE&&"IFRAME"===e.tagName){var n=e;try{n.contentDocument&&(Ye.set(n.contentDocument,n),t=!0)}catch(e){}}return t}function rt(e){var t=e.nodeType===Node.DOCUMENT_NODE?e:null;return t&&Ye.has(t)?Ye.get(t):null}function at(e,t,n){if("object"==typeof e[n]&&"object"==typeof t[n]){for(var r in e[n])if(e[n][r]!==t[n][r])return!0;for(var r in t[n])if(t[n][r]!==e[n][r])return!0;return!1}return e[n]!==t[n]}function ot(e){var t=e.parent&&e.parent in je?je[e.parent]:null,n=t?t.selector:null,r=e.data,a=function(e,t){t.metadata.position=1;for(var n=e?e.children.indexOf(t.id):-1;n-- >0;){var r=je[e.children[n]];if(t.data.tag===r.data.tag){t.metadata.position=r.metadata.position+1;break}}return t.metadata.position}(t,e),o={id:e.id,tag:r.tag,prefix:n,position:a,attributes:r.attributes};e.selector=[De(o,0),De(o,1)],e.hash=e.selector.map((function(e){return e?y(e):null})),e.hash.forEach((function(t){return Be[t]=e.id}))}function it(e){var t=st(ut(e));return null!==t&&null!==t.textContent?t.textContent.substr(0,25):""}function st(e){return $e.has(e)?$e.get(e):null}function lt(e){var t=tt(e);return t in je?je[t]:null}function ut(e){return e in Be?Be[e]:null}function ct(e){return $e.has(tt(e))}function dt(){for(var e=[],t=0,n=Fe;t=0&&1===t&&r?(Fe.splice(a,1),Fe.push(e)):-1===a&&n&&Fe.push(e)}var mt=Object.freeze({__proto__:null,add:function(e,t,n,r){var a,o=tt(e,!0),i=t?tt(t):null,s=ft(e),l=null,u=Wr(e)?o:null,c=Ke.has(e)?Ke.get(e):null,d=f.content?1:3;i>=0&&je[i]&&((l=je[i]).children.push(o),u=null===u?l.region:u,c=null===c?l.metadata.fraud:c,d=l.metadata.privacy),n.attributes&&"data-clarity-region"in n.attributes&&(zr(e,n.attributes["data-clarity-region"]),u=o),$e.set(o,e),je[o]={id:o,parent:i,previous:s,children:[],data:n,selector:null,hash:null,region:u,metadata:{active:!0,suspend:!1,privacy:d,position:null,fraud:c,size:null}},function(e,t,n){var r=t.data,a=t.metadata,o=a.privacy,i=r.attributes||{},s=r.tag.toUpperCase();switch(!0){case qe.indexOf(s)>=0:var l=i.type,u="",c=["class","style"];Object.keys(i).filter((function(e){return!c.includes(e)})).forEach((function(e){return u+=i[e].toLowerCase()}));var d=Ue.some((function(e){return u.indexOf(e)>=0}));a.privacy="INPUT"===s&&He.indexOf(l)>=0?o:d?4:2;break;case"data-clarity-mask"in i:a.privacy=3;break;case"data-clarity-unmask"in i:a.privacy=0;break;case Xe.has(e):a.privacy=Xe.get(e);break;case Ke.has(e):a.privacy=2;break;case"*T"===s:var p=n&&n.data?n.data.tag:"",f=n&&n.selector?n.selector[1]:"";a.privacy=["STYLE","TITLE","svg:style"].includes(p)||ze.some((function(e){return f.indexOf(e)>=0}))?0:o;break;case 1===o:a.privacy=function(e,t,n){return e&&t.some((function(t){return e.indexOf(t)>=0}))?2:n.privacy}(i.class,Ve,a)}}(e,je[o],l),ot(je[o]),"IMG"===(a=je[o]).data.tag&&3===a.metadata.privacy&&(a.metadata.size=[]),ht(o,r)},get:lt,getId:tt,getNode:st,getValue:function(e){return e in je?je[e]:null},has:ct,hashText:it,iframe:rt,lookup:ut,parse:et,sameorigin:nt,start:Qe,stop:Ze,update:function(e,t,n,r){var a=tt(e),o=t?tt(t):null,i=ft(e),s=!1,l=!1;if(a in je){var u=je[a];if(u.metadata.active=!0,u.previous!==i&&(s=!0,u.previous=i),u.parent!==o){s=!0;var c=u.parent;if(u.parent=o,null!==o&&o>=0){var d=null===i?0:je[o].children.indexOf(i)+1;je[o].children.splice(d,0,a),u.region=Wr(e)?a:je[o].region}else!function(e,t){if(e in je){var n=je[e];n.metadata.active=!1,n.parent=null,ht(e,t),pt(e)}}(a,r);if(null!==c&&c>=0){var p=je[c].children.indexOf(a);p>=0&&je[c].children.splice(p,1)}l=!0}for(var f in n)at(u.data,n,f)&&(s=!0,u.data[f]=n[f]);ot(u),ht(a,r,s,l)}},updates:dt}),gt=5e3,vt={},yt=[],bt=null,wt=null,xt=null;function St(){vt={},yt=[],bt=null,wt=null}function _t(e,t){return void 0===t&&(t=0),ce(this,void 0,void 0,(function(){var n,r,a;return de(this,(function(o){for(n=0,r=yt;nvt[t].yield?0:1:2}function Tt(e){vt[Mt(e)]={start:performance.now(),calls:0,yield:f.longTask}}function kt(e){var t=performance.now(),n=Mt(e),r=t-vt[n].start;q(e.cost,r),H(5),vt[n].calls>0&&q(4,r)}function Et(e){return ce(this,void 0,void 0,(function(){var t,n;return de(this,(function(r){switch(r.label){case 0:return(t=Mt(e))in vt?(kt(e),n=vt[t],[4,Pt()]):[3,2];case 1:n.yield=r.sent().timeRemaining(),function(e){var t=Mt(e);if(vt&&vt[t]){var n=vt[t].calls,r=vt[t].yield;Tt(e),vt[t].calls=n+1,vt[t].yield=r}}(e),r.label=2;case 2:return[2,t in vt?1:2]}}))}))}function Mt(e){return"".concat(e.id,".").concat(e.cost)}function Pt(){return ce(this,void 0,void 0,(function(){return de(this,(function(e){switch(e.label){case 0:return wt?[4,wt]:[3,2];case 1:e.sent(),e.label=2;case 2:return[2,new Promise((function(e){It(e,{timeout:gt})}))]}}))}))}var Ot,It=window.requestIdleCallback||function(e,t){var n=performance.now(),r=new MessageChannel,a=r.port1,o=r.port2;a.onmessage=function(r){var a=performance.now(),i=a-n,s=a-r.data;if(s>f.longTask&&it.timeout;e({didTimeout:l,timeRemaining:function(){return l?f.longTask:Math.max(0,f.longTask-s)}})}},requestAnimationFrame((function(){o.postMessage(performance.now())}))};function Dt(){Ot=null}function Rt(){var e=document.body,t=document.documentElement,n=e?e.clientWidth:null,r=e?e.scrollWidth:null,a=e?e.offsetWidth:null,o=t?t.clientWidth:null,i=t?t.scrollWidth:null,s=t?t.offsetWidth:null,l=Math.max(n,r,a,o,i,s),u=e?e.clientHeight:null,c=e?e.scrollHeight:null,d=e?e.offsetHeight:null,p=t?t.clientHeight:null,f=t?t.scrollHeight:null,h=t?t.offsetHeight:null,m=Math.max(u,c,d,p,f,h);null!==Ot&&l===Ot.width&&m===Ot.height||null===l||null===m||(Ot={width:l,height:m},Or(8))}var Nt=[];function Lt(e){var t=Yr(e);if(t){var n=t.value,r=n&&n.length>=5&&f.fraud&&-1==="password,secret,pass,social,ssn,code,hidden".indexOf(t.type)?y(n,24):"";Nt.push({time:g(e),event:42,data:{target:Yr(e),type:t.type,value:n,checksum:r}}),_t(Kr.bind(this,42))}}function $t(){Nt=[]}function jt(e){var t={x:0,y:0};if(e&&e.offsetParent)do{var n=e.offsetParent,r=null===n?rt(e.ownerDocument):null;t.x+=e.offsetLeft,t.y+=e.offsetTop,e=r||n}while(e);return t}var Ft=["input","textarea","radio","button","canvas"],Bt=[];function zt(e){Mo(e,"click",Wt.bind(this,9,e),!0)}function Wt(e,t,n){var r=rt(t),a=r?r.contentDocument.documentElement:document.documentElement,o="pageX"in n?Math.round(n.pageX):"clientX"in n?Math.round(n.clientX+a.scrollLeft):null,i="pageY"in n?Math.round(n.pageY):"clientY"in n?Math.round(n.clientY+a.scrollTop):null;if(r){var s=jt(r);o=o?o+Math.round(s.x):o,i=i?i+Math.round(s.y):i}var l=Yr(n),u=function(e){for(;e&&e!==document;){if(e.nodeType===Node.ELEMENT_NODE){var t=e;if("A"===t.tagName)return t}e=e.parentNode}return null}(l),c=function(e){var t=null,n=document.documentElement;if("function"==typeof e.getBoundingClientRect){var r=e.getBoundingClientRect();r&&r.width>0&&r.height>0&&(t={x:Math.floor(r.left+("pageXOffset"in window?window.pageXOffset:n.scrollLeft)),y:Math.floor(r.top+("pageYOffset"in window?window.pageYOffset:n.scrollTop)),w:Math.floor(r.width),h:Math.floor(r.height)})}return t}(l);0===n.detail&&c&&(o=Math.round(c.x+c.w/2),i=Math.round(c.y+c.h/2));var d=c?Math.max(Math.floor((o-c.x)/c.w*32767),0):0,p=c?Math.max(Math.floor((i-c.y)/c.h*32767),0):0;null!==o&&null!==i&&(Bt.push({time:g(n),event:e,data:{target:l,x:o,y:i,eX:d,eY:p,button:n.button,reaction:Ut(l),context:Ht(u),text:Vt(l),link:u?u.href:null,hash:null,trust:n.isTrusted?1:0}}),_t(Kr.bind(this,e)))}function Vt(e){var t=null;if(e){var n=e.textContent||String(e.value||"")||e.alt;n&&(t=n.replace(/\s+/g," ").trim().substr(0,25))}return t}function Ut(e){if(e.nodeType===Node.ELEMENT_NODE){var t=e.tagName.toLowerCase();if(Ft.indexOf(t)>=0)return 0}return 1}function Ht(e){if(e&&e.hasAttribute("target"))switch(e.getAttribute("target")){case"_blank":return 1;case"_parent":return 2;case"_top":return 3}return 0}function qt(){Bt=[]}var Gt=[];function Yt(e,t){Gt.push({time:g(t),event:38,data:{target:Yr(t),action:e}}),_t(Kr.bind(this,38))}function Xt(){Gt=[]}var Kt=null,Qt=[];function Zt(e){var t=Yr(e),n=lt(t);if(t&&t.type&&n){var r=t.value,a=t.type;switch(t.type){case"radio":case"checkbox":r=t.checked?"true":"false"}var o={target:t,value:r,type:a};Qt.length>0&&Qt[Qt.length-1].data.target===o.target&&Qt.pop(),Qt.push({time:g(e),event:27,data:o}),X(Kt),Kt=Y(Jt,1e3,27)}}function Jt(e){_t(Kr.bind(this,e))}function en(){Qt=[]}var tn,nn=[],rn=null;function an(e,t,n){var r=rt(t),a=r?r.contentDocument.documentElement:document.documentElement,o="pageX"in n?Math.round(n.pageX):"clientX"in n?Math.round(n.clientX+a.scrollLeft):null,i="pageY"in n?Math.round(n.pageY):"clientY"in n?Math.round(n.clientY+a.scrollTop):null;if(r){var s=jt(r);o=o?o+Math.round(s.x):o,i=i?i+Math.round(s.y):i}null!==o&&null!==i&&sn({time:g(n),event:e,data:{target:Yr(n),x:o,y:i}})}function on(e,t,n){var r=rt(t),a=r?r.contentDocument.documentElement:document.documentElement,o=n.changedTouches,i=g(n);if(o)for(var s=0;s1?nn[t-2]:null;n&&function(e,t){var n=e.data.x-t.data.x,r=e.data.y-t.data.y,a=Math.sqrt(n*n+r*r),o=t.time-e.time,i=t.data.target===e.data.target;return t.event===e.event&&i&&a<20&&o<25}(n,e)&&nn.pop(),nn.push(e),X(rn),rn=Y(ln,500,e.event);break;default:nn.push(e),ln(e.event)}}function ln(e){_t(Kr.bind(this,e))}function un(){nn=[]}function cn(){var e=document.documentElement;tn={width:e&&"clientWidth"in e?Math.min(e.clientWidth,window.innerWidth):window.innerWidth,height:e&&"clientHeight"in e?Math.min(e.clientHeight,window.innerHeight):window.innerHeight},Kr(11)}function dn(){tn=null}var pn=[],fn=null,hn=null,mn=null;function gn(e){void 0===e&&(e=null);var t=window,n=document.documentElement,r=e?Yr(e):n;if(r&&r.nodeType===Node.DOCUMENT_NODE){var a=rt(r);t=a?a.contentWindow:t,r=n=r.documentElement}var o=r===n&&"pageXOffset"in t?Math.round(t.pageXOffset):Math.round(r.scrollLeft),i=r===n&&"pageYOffset"in t?Math.round(t.pageYOffset):Math.round(r.scrollTop),s=window.innerWidth,l=window.innerHeight,u=s/3,c=s>l?.15*l:.2*l,d=l-c,p=vn(u,c),f=vn(u,d),h={time:g(e),event:10,data:{target:r,x:o,y:i,top:p,bottom:f}};if(null===e&&0===o&&0===i||null===o||null===i)return fn=p,void(hn=f);var m=pn.length,v=m>1?pn[m-2]:null;v&&function(e,t){var n=e.data.x-t.data.x,r=e.data.y-t.data.y;return n*n+r*r<400&&t.time-e.time<25}(v,h)&&pn.pop(),pn.push(h),X(mn),mn=Y(yn,500,10)}function vn(e,t){var n,r,a;return"caretPositionFromPoint"in document?a=null===(n=document.caretPositionFromPoint(e,t))||void 0===n?void 0:n.offsetNode:"caretRangeFromPoint"in document&&(a=null===(r=document.caretRangeFromPoint(e,t))||void 0===r?void 0:r.startContainer),a||(a=document.elementFromPoint(e,t)),a&&a.nodeType===Node.TEXT_NODE&&(a=a.parentNode),a}function yn(e){_t(Kr.bind(this,e))}function bn(){var e,t;if(fn){var n=Xr(fn,null);Qa(31,null===(e=null==n?void 0:n.hash)||void 0===e?void 0:e.join("."))}if(hn){var r=Xr(hn,null);Qa(32,null===(t=null==r?void 0:r.hash)||void 0===t?void 0:t.join("."))}}var wn=null,xn=null,Sn=null;function _n(e){var t=(e.nodeType===Node.DOCUMENT_NODE?e:document).getSelection();if(null!==t&&!(null===t.anchorNode&&null===t.focusNode||t.anchorNode===t.focusNode&&t.anchorOffset===t.focusOffset)){var n=wn.start?wn.start:null;null!==xn&&null!==wn.start&&n!==t.anchorNode&&(X(Sn),An(21)),wn={start:t.anchorNode,startOffset:t.anchorOffset,end:t.focusNode,endOffset:t.focusOffset},xn=t,X(Sn),Sn=Y(An,500,21)}}function An(e){_t(Kr.bind(this,e))}function Cn(){xn=null,wn={start:0,startOffset:0,end:0,endOffset:0}}var Tn,kn,En=[];function Mn(e){En.push({time:g(e),event:39,data:{target:Yr(e)}}),_t(Kr.bind(this,39))}function Pn(){En=[]}function On(e){Tn={name:e.type},Kr(26,g(e)),ai()}function In(){Tn=null}function Dn(e){void 0===e&&(e=null),kn={visible:"visibilityState"in document?document.visibilityState:"default"},Kr(28,g(e))}function Rn(){kn=null}function Nn(e){!function(e){var t=rt(e);Mo(t?t.contentWindow:e===document?window:e,"scroll",gn,!0)}(e),e.nodeType===Node.DOCUMENT_NODE&&(zt(e),function(e){Mo(e,"cut",Yt.bind(this,0),!0),Mo(e,"copy",Yt.bind(this,1),!0),Mo(e,"paste",Yt.bind(this,2),!0)}(e),function(e){Mo(e,"mousedown",an.bind(this,13,e),!0),Mo(e,"mouseup",an.bind(this,14,e),!0),Mo(e,"mousemove",an.bind(this,12,e),!0),Mo(e,"wheel",an.bind(this,15,e),!0),Mo(e,"dblclick",an.bind(this,16,e),!0),Mo(e,"touchstart",on.bind(this,17,e),!0),Mo(e,"touchend",on.bind(this,18,e),!0),Mo(e,"touchmove",on.bind(this,19,e),!0),Mo(e,"touchcancel",on.bind(this,20,e),!0)}(e),function(e){Mo(e,"input",Zt,!0)}(e),function(e){Mo(e,"selectstart",_n.bind(this,e),!0),Mo(e,"selectionchange",_n.bind(this,e),!0)}(e),function(e){Mo(e,"change",Lt,!0)}(e),function(e){Mo(e,"submit",Mn,!0)}(e))}var Ln=Object.freeze({__proto__:null,observe:Nn,start:function(){Qr=[],Jr(),qt(),Xt(),un(),en(),Mo(window,"resize",cn),cn(),Mo(document,"visibilitychange",Dn),Dn(),pn=[],gn(),Cn(),$t(),Pn(),Mo(window,"pagehide",On)},stop:function(){Qr=[],Jr(),qt(),Xt(),X(rn),nn.length>0&&ln(nn[nn.length-1].event),X(Kt),en(),dn(),Rn(),X(mn),pn=[],fn=null,hn=null,Cn(),X(Sn),$t(),Pn(),In()}});function $n(e,t,n,r){return ce(this,void 0,void 0,(function(){var a,o,i,s,l;return de(this,(function(u){switch(u.label){case 0:a=[e],u.label=1;case 1:if(!(a.length>0))return[3,4];for(o=a.shift(),i=o.firstChild;i;)a.push(i),i=i.nextSibling;return 0!==(s=Ct(t))?[3,3]:[4,Et(t)];case 2:s=u.sent(),u.label=3;case 3:return 2===s?[3,4]:((l=sr(o,n,r))&&a.push(l),[3,1]);case 4:return[2]}}))}))}var jn=[],Fn=[],Bn=null,zn=null,Wn=null,Vn=null,Un=null,Hn=[],qn=null,Gn=null,Yn={};function Xn(){if(jn=[],Hn=[],qn=null,Gn=0,Yn={},null===Bn&&(Bn=CSSStyleSheet.prototype.insertRule,CSSStyleSheet.prototype.insertRule=function(){return Bo()&&er(this.ownerNode),Bn.apply(this,arguments)}),"CSSMediaRule"in window&&null===Vn&&(Vn=CSSMediaRule.prototype.insertRule,CSSMediaRule.prototype.insertRule=function(){return Bo()&&er(this.parentStyleSheet.ownerNode),Vn.apply(this,arguments)}),null===zn&&(zn=CSSStyleSheet.prototype.deleteRule,CSSStyleSheet.prototype.deleteRule=function(){return Bo()&&er(this.ownerNode),zn.apply(this,arguments)}),"CSSMediaRule"in window&&null===Un&&(Un=CSSMediaRule.prototype.deleteRule,CSSMediaRule.prototype.deleteRule=function(){return Bo()&&er(this.parentStyleSheet.ownerNode),Un.apply(this,arguments)}),null===Wn){Wn=Element.prototype.attachShadow;try{Element.prototype.attachShadow=function(){return Bo()?er(Wn.apply(this,arguments)):Wn.apply(this,arguments)}}catch(e){Wn=null}}}function Kn(e){var t=g();re(6,t),Fn.push({time:t,mutations:e}),_t(Qn,1).then((function(){Y(Rt),ko(Vr)()}))}function Qn(){return ce(this,void 0,void 0,(function(){var e,t,n,r,a,o,i,s,l,u;return de(this,(function(c){switch(c.label){case 0:Tt(e={id:so(),cost:3}),c.label=1;case 1:if(!(Fn.length>0))return[3,8];t=Fn.shift(),n=g(),r=0,a=t.mutations,c.label=2;case 2:return rGn,i=lt(e.target),s=i&&i.selector?i.selector.join():e.target.nodeName,l=[a.selector?a.selector.join():"",s,e.attributeName,Zn(e.addedNodes),Zn(e.removedNodes)].join();Yn[l]=l in Yn?Yn[l]:[0,n];var u=Yn[l];if(!1===o&&u[0]>=10&&Jn(u[2],2,t,r),u[0]=o?u[1]===n?u[0]:u[0]+1:1,u[1]=n,10===u[0])return u[2]=e.removedNodes,"suspend";if(u[0]>10)return""}return e.type}(o,e,n,t.time):o.type,l&&s&&s.ownerDocument&&et(s.ownerDocument),l&&s&&s.nodeType==Node.DOCUMENT_FRAGMENT_NODE&&s.host&&et(s),l){case"attributes":sr(s,3,t.time);break;case"characterData":sr(s,4,t.time);break;case"childList":Jn(o.addedNodes,1,e,t.time),Jn(o.removedNodes,2,e,t.time);break;case"suspend":(u=lt(s))&&(u.metadata.suspend=!0)}c.label=5;case 5:return r++,[3,2];case 6:return[4,Or(6,e,t.time)];case 7:return c.sent(),[3,1];case 8:return kt(e),[2]}}))}))}function Zn(e){for(var t=[],n=0;e&&n=0||a.indexOf("posting")>=0?"article":a){case"article":case"recipe":Qa(5,e[r]),Qa(8,e.creator),Qa(18,e.headline);break;case"product":Qa(5,e[r]),Qa(10,e.name),Qa(12,e.sku),e.brand&&Qa(6,e.brand.name);break;case"aggregaterating":e.ratingValue&&(G(11,ar(e.ratingValue,100)),G(18,ar(e.bestRating)),G(19,ar(e.worstRating))),G(12,ar(e.ratingCount)),G(17,ar(e.reviewCount));break;case"person":Qa(8,e.name);break;case"offer":Qa(7,e.availability),Qa(14,e.itemCondition),Qa(13,e.priceCurrency),Qa(12,e.sku),G(13,ar(e.price));break;case"brand":Qa(6,e.name)}null!==a&&"object"==typeof a&&rr(a)}}function ar(e,t){if(void 0===t&&(t=1),null!==e)switch(typeof e){case"number":return Math.round(e*t);case"string":return Math.round(parseFloat(e.replace(nr,""))*t)}return null}var or=["title","alt","onload","onfocus","onerror","data-drupal-form-submit-last","aria-label"],ir=/[\r\n]+/g;function sr(e,t,n){var r,a=null;if(2===t&&!1===ct(e))return a;0!==t&&e.nodeType===Node.TEXT_NODE&&e.parentElement&&"STYLE"===e.parentElement.tagName&&(e=e.parentNode);var o,i,s,l=!1===ct(e)?"add":"update",u=e.parentElement?e.parentElement:null,c=e.ownerDocument!==document;switch(e.nodeType){case Node.DOCUMENT_TYPE_NODE:u=c&&e.parentNode?rt(e.parentNode):u;var d=e,p={tag:(c?"iframe:":"")+"*D",attributes:{name:d.name?d.name:"HTML",publicId:d.publicId,systemId:d.systemId}};mt[l](e,u,p,t);break;case Node.DOCUMENT_NODE:e===document&&et(document),br(e,n),lr(e);break;case Node.DOCUMENT_FRAGMENT_NODE:var f=e;if(f.host){if(et(f),"function"==typeof f.constructor&&f.constructor.toString().indexOf("[native code]")>=0){lr(f);mt[l](e,f.host,{tag:"*S",attributes:{style:""}},t)}else mt[l](e,f.host,{tag:"*P",attributes:{}},t);br(e,n)}break;case Node.TEXT_NODE:if(u=u||e.parentNode,"update"===l||u&&ct(u)&&"STYLE"!==u.tagName&&"NOSCRIPT"!==u.tagName){var h={tag:"*T",value:e.nodeValue};mt[l](e,u,h,t)}break;case Node.ELEMENT_NODE:var m=e,g=m.tagName,v=function(e){var t={},n=e.attributes;if(n&&n.length>0)for(var r=0;r0||o.id.length>0)&&(i=ur(o.sheet)),i)};mt[l](e,u,T,t);break;case"IFRAME":var k=e,E={tag:g,attributes:v};nt(k)&&(function(e){!1===ct(e)&&Mo(e,"load",tr.bind(this,e,"childList"),!0)}(k),E.attributes["*O"]="true",k.contentDocument&&k.contentWindow&&"loading"!==k.contentDocument.readyState&&(a=k.contentDocument)),mt[l](e,u,E,t);break;case"LINK":if(no&&"stylesheet"===v.rel){for(var M in Object.keys(document.styleSheets)){var P=document.styleSheets[M];if(P.ownerNode==m){var O={tag:"STYLE",attributes:v,value:ur(P)};mt[l](e,u,O,t);break}}break}var I={tag:g,attributes:v};mt[l](e,u,I,t);break;case"VIDEO":case"AUDIO":case"SOURCE":"src"in v&&v.src.startsWith("data:")&&(v.src="");var D={tag:g,attributes:v};mt[l](e,u,D,t);break;default:var R={tag:g,attributes:v};m.shadowRoot&&(a=m.shadowRoot),mt[l](e,u,R,t)}}return a}function lr(e){ct(e)||(function(e){try{var t=h("MutationObserver"),n=t in window?new window[t](ko(Kn)):null;n&&(n.observe(e,{attributes:!0,childList:!0,characterData:!0,subtree:!0}),jn.push(n))}catch(e){_a(2,0,e?e.name:null)}}(e),Nn(e))}function ur(e){var t="",n=null;try{n=e?e.cssRules:[]}catch(e){if(_a(1,1,e?e.name:null),e&&"SecurityError"!==e.name)throw e}if(null!==n)for(var r=0;r0))return[3,11];b=0,w=y,$.label=6;case 6:return b=0?a?a.push(s):(a=[s],t.push(a),r++):(a=null,t.push(i),n[i]=r++)}else a=null,t.push(e[o]),r++;return t}(a),!f.lean),$.label=11;case 11:return[3,12];case 12:return[2]}}))}))}function Ir(e){if(null!==e.metadata.size&&0===e.metadata.size.length){var t=st(e.id);if(t)return[Math.floor(100*t.offsetWidth),Math.floor(100*t.offsetHeight)]}return e.metadata.size}function Dr(e){return e.toString(36)}function Rr(e,t,n){return"".concat(e,"=").concat(A(t,0===e.indexOf("data-")?"data-":e,n))}var Nr=[],Lr=null,$r={},jr=[],Fr=!1,Br=null;function zr(e,t){!1===Lr.has(e)&&(Lr.set(e,t),(Br=null===Br&&Fr?new IntersectionObserver(Ur,{threshold:[0,.05,.1,.2,.3,.4,.5,.6,.7,.8,.9,1]}):Br)&&e&&e.nodeType===Node.ELEMENT_NODE&&Br.observe(e))}function Wr(e){return Lr&&Lr.has(e)}function Vr(){for(var e=[],t=0,n=jr;t0&&Or(7)}function Ur(e){for(var t=0,n=e;t0&&s.width>0&&s.height>0){var l=a?tt(a):null,u=l in $r?$r[l]:{id:l,name:Lr.get(a),interaction:16,visibility:0},c=(i?i.width*i.height*1/(s.width*s.height):0)>.05||r.intersectionRatio>.8,d=(c||10==u.visibility)&&Math.abs(o.top)+s.height>o.height;Hr(a,u,u.interaction,d?13:c?10:0),u.visibility>=13&&Br&&Br.unobserve(a)}}Nr.length>0&&Or(7)}function Hr(e,t,n,r){var a=n>t.interaction||r>t.visibility;t.interaction=n>t.interaction?n:t.interaction,t.visibility=r>t.visibility?r:t.visibility,t.id?(t.id in $r&&a||!(t.id in $r))&&($r[t.id]=t,Nr.push(qr(t))):jr.push({node:e,state:qr(t)})}function qr(e){return{time:g(),data:{id:e.id,interaction:e.interaction,visibility:e.visibility,name:e.name}}}function Gr(){Nr=[]}function Yr(e){var t=e.composed&&e.composedPath?e.composedPath():null,n=t&&t.length>0?t[0]:e.target;return Gn=g()+3e3,n&&n.nodeType===Node.DOCUMENT_NODE?n.documentElement:n}function Xr(e,t,n){void 0===n&&(n=null);var r={id:0,hash:null,privacy:2,node:e};if(e){var a=lt(e);if(null!==a){var o=a.metadata;r.id=a.id,r.hash=a.hash,r.privacy=o.privacy,a.region&&function(e,t){var n=st(e),r=e in $r?$r[e]:{id:e,visibility:0,interaction:16,name:Lr.get(n)},a=16;switch(t){case 9:a=20;break;case 27:a=30}Hr(n,r,a,r.visibility)}(a.region,t),o.fraud&&Me(o.fraud,a.id,n||a.data.value)}}return r}function Kr(e,t){return void 0===t&&(t=null),ce(this,void 0,void 0,(function(){var n,r,a,o,i,s,l,u,c,d,p,f,h,m,v,y,b,w,x,S,_,T,k,E,M,P,O,I,D,R,L,j,F,B,z;return de(this,(function(W){switch(n=t||g(),r=[n,e],e){case 13:case 14:case 12:case 15:case 16:case 17:case 18:case 19:case 20:for(a=0,o=nn;a0&&((r=[B.time,B.event]).push(i.id),r.push(B.data.x),r.push(B.data.y),da(r),N(B.event,B.data.x,B.data.y));un();break;case 9:for(s=0,l=Bt;s0&&(r.push(L.id),r.push(B.data.action),da(r));Xt();break;case 11:f=tn,r.push(f.width),r.push(f.height),N(e,f.width,f.height),dn(),da(r);break;case 26:h=Tn,r.push(h.name),In(),da(r);break;case 27:for(m=0,v=Qt;m0&&((r=[B.time,B.event]).push(T.id),r.push(B.data.x),r.push(B.data.y),r.push(M),r.push(P),da(r),N(B.event,B.data.x,B.data.y,B.time));pn=[],fn=null,hn=null;break;case 42:for(O=0,I=Nt;O0&&((r=[B.time,B.event]).push(L.id),r.push(B.data.type),r.push(A(B.data.value,"change",L.privacy)),r.push(A(B.data.checksum,"checksum",L.privacy)),da(r));$t();break;case 39:for(D=0,R=En;D0&&(r.push(L.id),da(r));Pn();break;case 22:for(j=0,F=Zr;j1?e[1]:null,a=JSON.stringify(e);switch(r){case 5:ia+=a.length;case 37:case 6:case 43:case 45:case 46:sa+=a.length,ta.push(a);break;default:na.push(a)}H(25);var o=function(){var e=!1===f.lean&&ia>0?100:xo.sequence*f.delay;return"string"==typeof f.upload?Math.max(Math.min(e,3e4),100):f.delay}();n-ua>2*o&&(X(la),la=null),t&&null===la&&(25!==r&&J(),la=Y(fa,o),ua=n,Va(sa))}}function pa(){X(la),fa(!0),ia=0,sa=0,ua=0,ta=[],na=[],ra={},oa=null,aa=!1}function fa(e){return void 0===e&&(e=!1),ce(this,void 0,void 0,(function(){var t,n,r,a,o,i,s,l;return de(this,(function(u){switch(u.label){case 0:return la=null,(t=!1===f.lean&&sa>0&&(sa<1048576||xo.sequence>0))&&G(1,1),Vr(),function(){var e=[];Zr=[];for(var t=xo.start+xo.duration,n=Math.max(t-2e3,0),r=0,a=Qr;r=n&&(o.time<=t&&Zr.push(o),e.push(o))}Qr=e,Kr(22)}(),ge(),j(),Za(),za(0),ae(),Ha(),Ra(),function(){for(var e=0,t=yr;e0?'{"e":'.concat(c.e,',"a":').concat(c.a,',"p":').concat(c.p,"}"):'{"e":'.concat(c.e,',"a":').concat(c.a,"}"),n?(l=null,[3,3]):[3,1];case 1:return[4,xe(i)];case 2:l=u.sent(),u.label=3;case 3:return q(2,(s=l)?s.length:i.length),ha(i,s,xo.sequence,n),na=[],t&&(ta=[],sa=0,ia=0),[2]}var c}))}))}function ha(e,t,n,r){if(void 0===r&&(r=!1),"string"==typeof f.upload){var a=f.upload,o=!1;if(r&&"sendBeacon"in navigator)try{(o=navigator.sendBeacon.bind(navigator)(a,e))&&ga(n)}catch(e){}if(!1===o){n in ra?ra[n].attempts++:ra[n]={data:e,attempts:1};var i=new XMLHttpRequest;i.open("POST",a,!0),i.timeout=15e3,i.ontimeout=function(){To(new Error("".concat("Timeout"," : ").concat(a)))},null!==n&&(i.onreadystatechange=function(){ko(ma)(i,n)}),i.withCredentials=!0,t?(i.setRequestHeader("Accept","application/x-clarity-gzip"),i.send(t)):i.send(e)}}else f.upload&&((0,f.upload)(e),ga(n))}function ma(e,t){var n=ra[t];e&&4===e.readyState&&n&&((e.status<200||e.status>208)&&n.attempts<=1?e.status>=400&&e.status<500?Ua(6):(0===e.status&&(f.upload=f.fallback?f.fallback:f.upload),ha(n.data,null,t)):(oa={sequence:t,attempts:n.attempts,status:e.status},n.attempts>1&&za(2),200===e.status&&e.responseText&&function(e){for(var t=0,n=e&&e.length>0?e.split("\n"):[];t0?r.split(/ (.*)/):[""];switch(a[0]){case"END":Ua(6);break;case"UPGRADE":le("Auto");break;case"ACTION":f.action&&a.length>1&&f.action(a[1]);break;case"EXTRACT":a.length>1&&Ia(a[1]);break;case"SIGNAL":a.length>1&&Ce(a[1])}}}(e.responseText),0===e.status&&(ha(n.data,null,t,!0),Ua(3)),e.status>=200&&e.status<=208&&ga(t),delete ra[t]))}function ga(e){1===e&&co()}var va,ya={};function ba(e){var t=e.error||e;return t.message in ya||(ya[t.message]=0),ya[t.message]++>=5||t&&t.message&&(va={message:t.message,line:e.lineno,column:e.colno,stack:t.stack,source:e.filename},wa(31)),!0}function wa(e){return ce(this,void 0,void 0,(function(){var t;return de(this,(function(n){switch(t=[g(),e],e){case 31:t.push(va.message),t.push(va.line),t.push(va.column),t.push(va.stack),t.push(C(va.source)),da(t);break;case 33:xa&&(t.push(xa.code),t.push(xa.name),t.push(xa.message),t.push(xa.stack),t.push(xa.severity),da(t,!1));break;case 41:ke&&(t.push(ke.id),t.push(ke.target),t.push(ke.checksum),da(t,!1))}return[2]}))}))}var xa,Sa={};function _a(e,t,n,r,a){void 0===n&&(n=null),void 0===r&&(r=null),void 0===a&&(a=null);var o=n?"".concat(n,"|").concat(r):"";e in Sa&&Sa[e].indexOf(o)>=0||(xa={code:e,name:n,message:r,stack:a,severity:t},e in Sa?Sa[e].push(o):Sa[e]=[o],wa(33))}var Aa,Ca={},Ta=new Set,ka={},Ea={},Ma={},Pa={};function Oa(){Na()}function Ia(e){try{var t=e&&e.length>0?e.split(/ (.*)/):[""],n=t[0].split(/\|(.*)/),r=parseInt(n[0]),a=n.length>1?n[1]:"",o=t.length>1?JSON.parse(t[1]):{};for(var i in ka[r]={},Ea[r]={},Ma[r]={},Pa[r]=a,o){var s=parseInt(i),l=o[i],u=2;switch(l.startsWith("~")?u=0:l.startsWith("!")&&(u=4),u){case 0:var c=l.substring(1,l.length);ka[r][s]=ja(c);break;case 2:Ea[r][s]=l;break;case 4:var d=l.substring(1,l.length);Ma[r][s]=d}}}catch(e){_a(8,1,e?e.name:null)}}function Da(e){return JSON.parse(JSON.stringify(e))}function Ra(){try{for(var e in ka){var t=parseInt(e);if(""==Pa[t]||document.querySelector(Pa[t])){var n=ka[t];for(var r in n){var a=parseInt(r),o=(f=Fa(Da(n[a])))?JSON.stringify(f).substring(0,1e4):f;o&&La(t,a,o)}var i=Ea[t];for(var s in i){var l=parseInt(s),u=document.querySelectorAll(i[l]);u&&La(t,l,Array.from(u).map((function(e){return e.textContent})).join("").substring(0,1e4))}var c=Ma[t];for(var d in c){var p=parseInt(d);La(t,p,it(c[p]).trim().substring(0,1e4))}}}Ta.size>0&&za(40)}catch(e){_a(5,1,e?e.name:null)}var f}function Na(){Ta.clear()}function La(e,t,n){var r,a=!1;e in Ca||(Ca[e]={},a=!0),r=Ma[e],0==Object.keys(r).length||t in Ca[e]&&Ca[e][t]==n||(a=!0),Ca[e][t]=n,a&&Ta.add(e)}function $a(){Na()}function ja(e){for(var t=[],n=e.split(".");n.length>0;){var r=n.shift(),a=r.indexOf("["),o=r.indexOf("{"),i=r.indexOf("}");t.push({name:a>0?r.substring(0,a):o>0?r.substring(0,o):r,type:a>0?1:o>0?2:3,condition:o>0?r.substring(o+1,i):null})}return t}function Fa(e,t){if(void 0===t&&(t=window),0==e.length)return t;var n,r=e.shift();if(t&&t[r.name]){var a=t[r.name];if(1!==r.type&&Ba(a,r.condition))n=Fa(e,a);else if(Array.isArray(a)){for(var o=[],i=0,s=a;i1?e[n[0]]==n[1]:e[n[0]]}return!0}function za(e){var t=[g(),e];switch(e){case 4:var n=O;n&&((t=[n.time,n.event]).push(n.data.visible),t.push(n.data.docWidth),t.push(n.data.docHeight),t.push(n.data.screenWidth),t.push(n.data.screenHeight),t.push(n.data.scrollX),t.push(n.data.scrollY),t.push(n.data.pointerX),t.push(n.data.pointerY),t.push(n.data.activityTime),t.push(n.data.scrollTime),da(t,!1)),R();break;case 25:t.push(W.gap),da(t);break;case 35:t.push(Aa.check),da(t,!1);break;case 3:t.push(se.key),da(t);break;case 2:t.push(oa.sequence),t.push(oa.attempts),t.push(oa.status),da(t,!1);break;case 24:B.key&&t.push(B.key),t.push(B.value),da(t);break;case 34:var r=Object.keys(pe);if(r.length>0){for(var a=0,o=r;a0){for(var l=0,u=s;l0){for(var f=0,h=p;f0){for(var y=0,b=v;y=128?1:t,t=xo.pageNum>=128?7:t,t=g()>72e5?2:t,(t=e>10485760?2:t)!==Aa.check&&Ua(t)}}function Ua(e){Aa.check=e,uo(),ai()}function Ha(){0!==Aa.check&&za(35)}function qa(){Aa=null}var Ga=null,Ya=null;function Xa(){Ga={},Ya={}}function Ka(){Ga={},Ya={}}function Qa(e,t){t&&(t="".concat(t),e in Ga||(Ga[e]=[]),Ga[e].indexOf(t)<0&&(Ga[e].push(t),e in Ya||(Ya[e]=[]),Ya[e].push(t),Ga[e].length>128&&Ua(5)))}function Za(){za(1)}function Ja(){Ya={}}var eo=null,to=[],no=0,ro=null;function ao(){var e,t,n;ro=null;var r=navigator&&"userAgent"in navigator?navigator.userAgent:"",a=null!==(n=null===(t=null===(e=null===Intl||void 0===Intl?void 0:Intl.DateTimeFormat())||void 0===e?void 0:e.resolvedOptions())||void 0===t?void 0:t.timeZone)&&void 0!==n?n:"",o=(new Date).getTimezoneOffset().toString(),i=window.location.ancestorOrigins?Array.from(window.location.ancestorOrigins).toString():"",s=document&&document.title?document.title:"";no=r.indexOf("Electron")>0?1:0;var l,u=function(){var e={session:ho(),ts:Math.round(Date.now()),count:1,upgrade:null,upload:""},t=vo("_clsk");if(t){var n=t.split("|");n.length>=5&&e.ts-mo(n[1])<18e5&&(e.session=n[0],e.count=mo(n[2])+1,e.upgrade=mo(n[3]),e.upload=n.length>=6?"".concat("https://").concat(n[5],"/").concat(n[4]):"".concat("https://").concat(n[4]))}return e}(),c=go(),d=f.projectId||y(location.host);eo={projectId:d,userId:c.id,sessionId:u.session,pageNum:u.count},f.lean=f.track&&null!==u.upgrade?0===u.upgrade:f.lean,f.upload=f.track&&"string"==typeof f.upload&&u.upload&&u.upload.length>8?u.upload:f.upload,Qa(0,r),Qa(3,s),Qa(1,C(location.href,!!no)),Qa(2,document.referrer),Qa(15,function(){var e=ho();f.track&&po(window,"sessionStorage")&&(e=sessionStorage.getItem("_cltk")||e,sessionStorage.setItem("_cltk",e));return e}()),Qa(16,document.documentElement.lang),Qa(17,document.dir),Qa(26,"".concat(window.devicePixelRatio)),Qa(28,c.dob.toString()),Qa(29,c.version.toString()),Qa(33,i),Qa(34,a),Qa(35,o),G(0,u.ts),G(1,0),G(35,no),navigator&&(Qa(9,navigator.language),G(33,navigator.hardwareConcurrency),G(32,navigator.maxTouchPoints),G(34,Math.round(navigator.deviceMemory)),(l=navigator.userAgentData)&&l.getHighEntropyValues?l.getHighEntropyValues(["model","platform","platformVersion","uaFullVersion"]).then((function(e){var t;Qa(22,e.platform),Qa(23,e.platformVersion),null===(t=e.brands)||void 0===t||t.forEach((function(e){Qa(24,e.name+"~"+e.version)})),Qa(25,e.model),G(27,e.mobile?1:0)})):Qa(22,navigator.platform)),screen&&(G(14,Math.round(screen.width)),G(15,Math.round(screen.height)),G(16,Math.round(screen.colorDepth)));for(var p=0,h=f.cookies;p0)for(var t=0;t=1||e.consent!==t||e.dob!==r)&&bo("_clck",[eo.userId,2,n.toString(36),t,r].join("|"),365)}function ho(){var e=Math.floor(Math.random()*Math.pow(2,32));return window&&window.crypto&&window.crypto.getRandomValues&&Uint32Array&&(e=window.crypto.getRandomValues(new Uint32Array(1))[0]),e.toString(36)}function mo(e,t){return void 0===t&&(t=10),parseInt(e,t)}function go(){var e={id:ho(),version:0,expiry:null,consent:0,dob:0},t=vo("_clck");if(t&&t.length>0){for(var n=t.split("|"),r=0,a=0,o=document.cookie.split(";");a1){var i="".concat(";").concat("expires=").concat(new Date(0).toUTCString()).concat(";path=/");document.cookie="".concat("_clck","=").concat(i),document.cookie="".concat("_clsk","=").concat(i)}n.length>1&&(e.version=mo(n[1])),n.length>2&&(e.expiry=mo(n[2],36)),n.length>3&&1===mo(n[3])&&(e.consent=1),n.length>4&&mo(n[1])>1&&(e.dob=mo(n[4])),f.track=f.track||1===e.consent,e.id=f.track?n[0]:e.id}return e}function vo(e){var t;if(po(document,"cookie")){var n=document.cookie.split(";");if(n)for(var r=0;r1&&a[0]&&a[0].trim()===e){for(var o=yo(a[1]),i=o[0],s=o[1];i;)i=(t=yo(s))[0],s=t[1];return s}}}return null}function yo(e){try{var t=decodeURIComponent(e);return[t!=e,t]}catch(e){}return[!1,e]}function bo(e,t,n){if((f.track||""==t)&&(navigator&&navigator.cookieEnabled||po(document,"cookie"))){var r=function(e){return encodeURIComponent(e)}(t),a=new Date;a.setDate(a.getDate()+n);var o=a?"expires="+a.toUTCString():"",i="".concat(e,"=").concat(r).concat(";").concat(o).concat(";path=/");try{if(null===ro){for(var s=location.hostname?location.hostname.split("."):[],l=s.length-1;l>=0;l--)if(ro=".".concat(s[l]).concat(ro||""),l0){var n={v:xo.version,p:xo.projectId,u:xo.userId,s:xo.sessionId,n:xo.pageNum};e.message&&(n.m=e.message),e.stack&&(n.e=e.stack);var r=new XMLHttpRequest;r.open("POST",t,!0),r.send(JSON.stringify(n)),wo.push(e.message)}}return e}function ko(e){return function(){var t=performance.now();try{e.apply(this,arguments)}catch(e){throw To(e)}var n=performance.now()-t;q(4,n),n>f.longTask&&(H(7),G(6,n))}}var Eo=[];function Mo(e,t,n,r){void 0===r&&(r=!1),n=ko(n);try{e[h("addEventListener")](t,n,r),Eo.push({event:t,target:e,listener:n,capture:r})}catch(e){}}function Po(){for(var e=0,t=Eo;e20&&(_a(4,0),1))}function Lo(){Ro=0,Do!==jo()&&(ai(),window.setTimeout($o,250))}function $o(){ti(),G(29,1)}function jo(){return location.href?location.href.replace(location.hash,""):location.href}var Fo=!1;function Bo(){return Fo}function zo(e){if(null===e||Fo)return!1;for(var t in e)t in f&&(f[t]=e[t]);return!0}function Wo(){ti(),z("clarity","restart")}var Vo=Object.freeze({__proto__:null,start:function(){!function(){Ee=[],G(26,navigator.webdriver?1:0);try{G(31,window.top==window.self||window.top==window?1:2)}catch(e){G(31,0)}}(),Mo(window,"error",ba),ya={},Sa={}},stop:function(){Sa={}}});function Uo(){return ce(this,void 0,void 0,(function(){var e,t;return de(this,(function(n){switch(n.label){case 0:return e=g(),Tt(t={id:so(),cost:3}),[4,$n(document,t,0,e)];case 1:return n.sent(),br(document,e),[4,Or(5,t,e)];case 2:return n.sent(),kt(t),[2]}}))}))}var Ho,qo=Object.freeze({__proto__:null,hashText:it,start:function(){Dt(),Rt(),Gr(),Br=null,Lr=new WeakMap,$r={},jr=[],Fr=!!window.IntersectionObserver,Qe(),f.delayDom?Mo(window,"load",(function(){Xn()})):Xn(),_t(Uo,1).then((function(){ko(Rt)(),ko(Vr)(),ko(bn)()})),null===pr&&(pr=CSSStyleSheet.prototype.replace,CSSStyleSheet.prototype.replace=function(){return Bo()&&(G(36,1),this[mr]===eo.pageNum&&xr(g(),this[hr],1,arguments[0])),pr.apply(this,arguments)}),null===fr&&(fr=CSSStyleSheet.prototype.replaceSync,CSSStyleSheet.prototype.replaceSync=function(){return Bo()&&(G(36,1),this[mr]===eo.pageNum&&xr(g(),this[hr],2,arguments[0])),fr.apply(this,arguments)}),function(){if(window.Animation&&window.KeyframeEffect&&window.KeyframeEffect.prototype.getKeyframes&&window.KeyframeEffect.prototype.getTiming&&(kr(),Mr(null,"play"),Mr(null,"pause"),Mr(null,"cancel"),Mr(null,"finish"),null===_r&&(_r=Element.prototype.animate,Element.prototype.animate=function(){var e=_r.apply(this,arguments);return Pr(e,"play"),e}),document.getAnimations))for(var e=0,t=document.getAnimations();e=0&&("layout-shift"===n&&q(9,0),Ho.observe({type:n,buffered:!0}))}}catch(e){_a(3,1)}}function Zo(e){!function(e){for(var t=(!("visibilityState"in document)||"visible"===document.visibilityState),n=0;n{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t1&&void 0!==arguments[1]?arguments[1]:{container:document.body},n="";return"string"==typeof e?n=d(e,t):e instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(null==e?void 0:e.type)?n=d(e.value,t):(n=l()(e),u("copy")),n};function f(e){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(e)}function h(e){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(e)}function m(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText,this.container="object"===h(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=i()(e,"click",(function(e){return t.onClick(e)}))}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget,n=this.action(t)||"copy",r=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.action,n=void 0===t?"copy":t,r=e.container,a=e.target,o=e.text;if("copy"!==n&&"cut"!==n)throw new Error('Invalid "action" value, use either "copy" or "cut"');if(void 0!==a){if(!a||"object"!==f(a)||1!==a.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===n&&a.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===n&&(a.hasAttribute("readonly")||a.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes')}return o?p(o,{container:r}):a?"cut"===n?c(a):p(a,{container:r}):void 0}({action:n,container:this.container,target:this.target(t),text:this.text(t)});this.emit(r?"success":"error",{action:n,text:r,trigger:t,clearSelection:function(){t&&t.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(e){return y("action",e)}},{key:"defaultTarget",value:function(e){var t=y("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return y("text",e)}},{key:"destroy",value:function(){this.listener.destroy()}}],r=[{key:"copy",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body};return p(e,t)}},{key:"cut",value:function(e){return c(e)}},{key:"isSupported",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"==typeof e?[e]:e,n=!!document.queryCommandSupported;return t.forEach((function(e){n=n&&!!document.queryCommandSupported(e)})),n}}],n&&m(t.prototype,n),r&&m(t,r),l}(a()),w=b},828:function(e){if("undefined"!=typeof Element&&!Element.prototype.matches){var t=Element.prototype;t.matches=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector}e.exports=function(e,t){for(;e&&9!==e.nodeType;){if("function"==typeof e.matches&&e.matches(t))return e;e=e.parentNode}}},438:function(e,t,n){var r=n(828);function a(e,t,n,r,a){var i=o.apply(this,arguments);return e.addEventListener(n,i,a),{destroy:function(){e.removeEventListener(n,i,a)}}}function o(e,t,n,a){return function(n){n.delegateTarget=r(n.target,t),n.delegateTarget&&a.call(e,n)}}e.exports=function(e,t,n,r,o){return"function"==typeof e.addEventListener?a.apply(null,arguments):"function"==typeof n?a.bind(null,document).apply(null,arguments):("string"==typeof e&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,(function(e){return a(e,t,n,r,o)})))}},879:function(e,t){t.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},t.nodeList=function(e){var n=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in e&&(0===e.length||t.node(e[0]))},t.string=function(e){return"string"==typeof e||e instanceof String},t.fn=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},370:function(e,t,n){var r=n(879),a=n(438);e.exports=function(e,t,n){if(!e&&!t&&!n)throw new Error("Missing required arguments");if(!r.string(t))throw new TypeError("Second argument must be a String");if(!r.fn(n))throw new TypeError("Third argument must be a Function");if(r.node(e))return function(e,t,n){return e.addEventListener(t,n),{destroy:function(){e.removeEventListener(t,n)}}}(e,t,n);if(r.nodeList(e))return function(e,t,n){return Array.prototype.forEach.call(e,(function(e){e.addEventListener(t,n)})),{destroy:function(){Array.prototype.forEach.call(e,(function(e){e.removeEventListener(t,n)}))}}}(e,t,n);if(r.string(e))return function(e,t,n){return a(document.body,e,t,n)}(e,t,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}},817:function(e){e.exports=function(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var n=e.hasAttribute("readonly");n||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var r=window.getSelection(),a=document.createRange();a.selectNodeContents(e),r.removeAllRanges(),r.addRange(a),t=r.toString()}return t}},279:function(e){function t(){}t.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var r=this;function a(){r.off(e,a),t.apply(n,arguments)}return a._=t,this.on(e,a,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,a=n.length;r{var r="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==n.g&&n.g,a=function(){function e(){this.fetch=!1,this.DOMException=r.DOMException}return e.prototype=r,new e}();!function(e){!function(t){var n=void 0!==e&&e||"undefined"!=typeof self&&self||void 0!==n&&n,r="URLSearchParams"in n,a="Symbol"in n&&"iterator"in Symbol,o="FileReader"in n&&"Blob"in n&&function(){try{return new Blob,!0}catch(e){return!1}}(),i="FormData"in n,s="ArrayBuffer"in n;if(s)var l=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],u=ArrayBuffer.isView||function(e){return e&&l.indexOf(Object.prototype.toString.call(e))>-1};function c(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function d(e){return"string"!=typeof e&&(e=String(e)),e}function p(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return a&&(t[Symbol.iterator]=function(){return t}),t}function f(e){this.map={},e instanceof f?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function h(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function m(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function g(e){var t=new FileReader,n=m(t);return t.readAsArrayBuffer(e),n}function v(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function y(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:o&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:i&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:r&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():s&&o&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=v(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):s&&(ArrayBuffer.prototype.isPrototypeOf(e)||u(e))?this._bodyArrayBuffer=v(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):r&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o&&(this.blob=function(){var e=h(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?h(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer)):this.blob().then(g)}),this.text=function(){var e,t,n,r=h(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,n=m(t=new FileReader),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r-1?r:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&a)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(a),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var o=/([?&])_=[^&]*/;o.test(this.url)?this.url=this.url.replace(o,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}function x(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),a=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(a))}})),t}function S(e,t){if(!(this instanceof S))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new f(t.headers),this.url=t.url||"",this._initBody(e)}w.prototype.clone=function(){return new w(this,{body:this._bodyInit})},y.call(w.prototype),y.call(S.prototype),S.prototype.clone=function(){return new S(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},S.error=function(){var e=new S(null,{status:0,statusText:""});return e.type="error",e};var _=[301,302,303,307,308];S.redirect=function(e,t){if(-1===_.indexOf(t))throw new RangeError("Invalid status code");return new S(null,{status:t,headers:{location:e}})},t.DOMException=n.DOMException;try{new t.DOMException}catch(e){t.DOMException=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function A(e,r){return new Promise((function(a,i){var l=new w(e,r);if(l.signal&&l.signal.aborted)return i(new t.DOMException("Aborted","AbortError"));var u=new XMLHttpRequest;function c(){u.abort()}u.onload=function(){var e,t,n={status:u.status,statusText:u.statusText,headers:(e=u.getAllResponseHeaders()||"",t=new f,e.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e})).forEach((function(e){var n=e.split(":"),r=n.shift().trim();if(r){var a=n.join(":").trim();t.append(r,a)}})),t)};n.url="responseURL"in u?u.responseURL:n.headers.get("X-Request-URL");var r="response"in u?u.response:u.responseText;setTimeout((function(){a(new S(r,n))}),0)},u.onerror=function(){setTimeout((function(){i(new TypeError("Network request failed"))}),0)},u.ontimeout=function(){setTimeout((function(){i(new TypeError("Network request failed"))}),0)},u.onabort=function(){setTimeout((function(){i(new t.DOMException("Aborted","AbortError"))}),0)},u.open(l.method,function(e){try{return""===e&&n.location.href?n.location.href:e}catch(t){return e}}(l.url),!0),"include"===l.credentials?u.withCredentials=!0:"omit"===l.credentials&&(u.withCredentials=!1),"responseType"in u&&(o?u.responseType="blob":s&&l.headers.get("Content-Type")&&-1!==l.headers.get("Content-Type").indexOf("application/octet-stream")&&(u.responseType="arraybuffer")),!r||"object"!=typeof r.headers||r.headers instanceof f?l.headers.forEach((function(e,t){u.setRequestHeader(t,e)})):Object.getOwnPropertyNames(r.headers).forEach((function(e){u.setRequestHeader(e,d(r.headers[e]))})),l.signal&&(l.signal.addEventListener("abort",c),u.onreadystatechange=function(){4===u.readyState&&l.signal.removeEventListener("abort",c)}),u.send(void 0===l._bodyInit?null:l._bodyInit)}))}A.polyfill=!0,n.fetch||(n.fetch=A,n.Headers=f,n.Request=w,n.Response=S),t.Headers=f,t.Request=w,t.Response=S,t.fetch=A}({})}(a),a.fetch.ponyfill=!0,delete a.fetch.polyfill;var o=r.fetch?r:a;(t=o.fetch).default=o.fetch,t.fetch=o.fetch,t.Headers=o.Headers,t.Request=o.Request,t.Response=o.Response,e.exports=t},50607:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(71354),a=n.n(r),o=n(76314),i=n.n(o)()(a());i.push([e.id,'body{background-color:#f6f7ff !important;margin:0px;display:flex;min-height:100vh}#root{display:flex;flex:1}.showable .showable-target{opacity:0;transition:opacity 200ms ease}.showable:hover .showable-target{opacity:1}.list tbody tr:hover:not(.no-hover){cursor:pointer;background:-moz-linear-gradient(left, rgba(189, 189, 189, 0) 0%, rgb(189, 189, 189) 100%);background:-webkit-linear-gradient(left, rgba(189, 189, 189, 0) 0%, rgb(189, 189, 189) 100%);background:linear-gradient(to right, rgba(189, 189, 189, 0) 0%, rgb(189, 189, 189) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#00ffffff", endColorstr="#ffffff", GradientType=1)}.list-action{opacity:0}.list tr:hover:not(.no-hover) td{opacity:.75}.list tr:hover td .list-action{opacity:1}.list-item-action{cursor:pointer;background:-moz-linear-gradient(left, rgba(189, 189, 189, 0) 0%, rgb(189, 189, 189) 100%);background:-webkit-linear-gradient(left, rgba(189, 189, 189, 0) 0%, rgb(189, 189, 189) 100%);background:linear-gradient(to right, rgba(189, 189, 189, 0) 0%, rgb(189, 189, 189) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#00ffffff", endColorstr="#ffffff", GradientType=1)}.reactour_large{max-width:850px !important;max-height:1000px !important}.reactour_medium{max-width:750px !important;max-height:900px !important}',"",{version:3,sources:["webpack://./assets/styles.scss"],names:[],mappings:"AAkBA,KACI,mCAnBS,CAoBT,UAAA,CACA,YAAA,CACA,gBAAA,CAQJ,MAJI,YAAA,CACA,MAAA,CAOJ,2BA3BI,SAAA,CA6BA,6BAAA,CAGJ,iCApCI,SAAA,CAwCJ,oCAhCI,cAAA,CACA,yFAAA,CACA,4FAAA,CACA,wFAAA,CACA,mHAAA,CAgCJ,aAxCI,SAAA,CA4CJ,iCACI,WAAA,CAGJ,+BApDI,SAAA,CAwDJ,kBAhDI,cAAA,CACA,yFAAA,CACA,4FAAA,CACA,wFAAA,CACA,mHAAA,CAgDJ,gBACI,0BAAA,CACA,4BAAA,CAGJ,iBACI,0BAAA,CACA,2BAAA",sourceRoot:""}]);const s=i},68285:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(71354),a=n.n(r),o=n(76314),i=n.n(o)()(a());i.push([e.id,'@keyframes react-loading-skeleton{100%{transform:translateX(100%)}}.react-loading-skeleton{--base-color: #ebebeb;--highlight-color: #f5f5f5;--animation-duration: 1.5s;--animation-direction: normal;--pseudo-element-display: block;background-color:var(--base-color);width:100%;border-radius:.25rem;display:inline-flex;line-height:1;position:relative;user-select:none;overflow:hidden}.react-loading-skeleton::after{content:" ";display:var(--pseudo-element-display);position:absolute;top:0;left:0;right:0;height:100%;background-repeat:no-repeat;background-image:var(--custom-highlight-background, linear-gradient(90deg, var(--base-color) 0%, var(--highlight-color) 50%, var(--base-color) 100%));transform:translateX(-100%);animation-name:react-loading-skeleton;animation-direction:var(--animation-direction);animation-duration:var(--animation-duration);animation-timing-function:ease-in-out;animation-iteration-count:infinite}@media(prefers-reduced-motion){.react-loading-skeleton{--pseudo-element-display: none}}',"",{version:3,sources:["webpack://./node_modules/flipper-ui/node_modules/react-loading-skeleton/dist/skeleton.css"],names:[],mappings:"AAAA,kCACE,KACE,0BAAA,CAAA,CAIJ,wBACE,qBAAA,CACA,0BAAA,CACA,0BAAA,CACA,6BAAA,CACA,+BAAA,CAEA,kCAAA,CAEA,UAAA,CACA,oBAAA,CACA,mBAAA,CACA,aAAA,CAEA,iBAAA,CACA,gBAAA,CACA,eAAA,CAGF,+BACE,WAAA,CACA,qCAAA,CACA,iBAAA,CACA,KAAA,CACA,MAAA,CACA,OAAA,CACA,WAAA,CACA,2BAAA,CACA,qJAAA,CASA,2BAAA,CAEA,qCAAA,CACA,8CAAA,CACA,4CAAA,CACA,qCAAA,CACA,kCAAA,CAGF,+BACE,wBACE,8BAAA,CAAA",sourceRoot:""}]);const s=i},76314:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,a,o){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(r)for(var s=0;s0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=o),n&&(c[2]?(c[1]="@media ".concat(c[2]," {").concat(c[1],"}"),c[2]=n):c[2]=n),a&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=a):c[4]="".concat(a)),t.push(c))}},t}},71354:e=>{"use strict";e.exports=function(e){var t=e[1],n=e[3];if(!n)return t;if("function"==typeof btoa){var r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),a="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),o="/*# ".concat(a," */");return[t].concat([o]).join("\n")}return[t].join("\n")}},37426:(e,t,n)=>{"use strict";function r(e,t){if(null==e)throw new TypeError("assign requires that input parameter not be null or undefined");for(var n in t=t||{})t.hasOwnProperty(n)&&(e[n]=t[n]);return e}n.d(t,{A:()=>r})},91788:(e,t,n)=>{"use strict";function r(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}}function a(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}}n.d(t,{A:()=>o});const o={p:a,P:function(e,t){var n,o=e.match(/(P+)(p+)?/),i=o[1],s=o[2];if(!s)return r(e,t);switch(i){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",r(i,t)).replace("{{time}}",a(s,t))}}},67044:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=6e4;function a(e){var t=new Date(e.getTime()),n=t.getTimezoneOffset();t.setSeconds(0,0);var a=t.getTime()%r;return n*r+a}},31053:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(10123),a=n(9411),o=n(24127),i=6048e5;function s(e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var t=(0,r.A)(e),n=(0,a.A)(t).getTime()-function(e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var t=(0,o.A)(e),n=new Date(0);return n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0),(0,a.A)(n)}(t).getTime();return Math.round(n/i)+1}},24127:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(10123),a=n(9411);function o(e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var t=(0,r.A)(e),n=t.getUTCFullYear(),o=new Date(0);o.setUTCFullYear(n+1,0,4),o.setUTCHours(0,0,0,0);var i=(0,a.A)(o),s=new Date(0);s.setUTCFullYear(n,0,4),s.setUTCHours(0,0,0,0);var l=(0,a.A)(s);return t.getTime()>=i.getTime()?n+1:t.getTime()>=l.getTime()?n:n-1}},96894:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(10123),a=n(89742),o=n(94188),i=n(50464),s=6048e5;function l(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=(0,r.A)(e),l=(0,a.A)(n,t).getTime()-function(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=t||{},r=n.locale,s=r&&r.options&&r.options.firstWeekContainsDate,l=null==s?1:(0,o.A)(s),u=null==n.firstWeekContainsDate?l:(0,o.A)(n.firstWeekContainsDate),c=(0,i.A)(e,t),d=new Date(0);return d.setUTCFullYear(c,0,u),d.setUTCHours(0,0,0,0),(0,a.A)(d,t)}(n,t).getTime();return Math.round(l/s)+1}},50464:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(94188),a=n(10123),o=n(89742);function i(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=(0,a.A)(e,t),i=n.getUTCFullYear(),s=t||{},l=s.locale,u=l&&l.options&&l.options.firstWeekContainsDate,c=null==u?1:(0,r.A)(u),d=null==s.firstWeekContainsDate?c:(0,r.A)(s.firstWeekContainsDate);if(!(d>=1&&d<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var p=new Date(0);p.setUTCFullYear(i+1,0,d),p.setUTCHours(0,0,0,0);var f=(0,o.A)(p,t),h=new Date(0);h.setUTCFullYear(i,0,d),h.setUTCHours(0,0,0,0);var m=(0,o.A)(h,t);return n.getTime()>=f.getTime()?i+1:n.getTime()>=m.getTime()?i:i-1}},41109:(e,t,n)=>{"use strict";n.d(t,{ef:()=>o,lJ:()=>s,xM:()=>i});var r=["D","DD"],a=["YY","YYYY"];function o(e){return-1!==r.indexOf(e)}function i(e){return-1!==a.indexOf(e)}function s(e){if("YYYY"===e)throw new RangeError("Use `yyyy` instead of `YYYY` for formatting years; see: https://git.io/fxCyr");if("YY"===e)throw new RangeError("Use `yy` instead of `YY` for formatting years; see: https://git.io/fxCyr");if("D"===e)throw new RangeError("Use `d` instead of `D` for formatting days of the month; see: https://git.io/fxCyr");if("DD"===e)throw new RangeError("Use `dd` instead of `DD` for formatting days of the month; see: https://git.io/fxCyr")}},9411:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(10123);function a(e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var t=(0,r.A)(e),n=t.getUTCDay(),a=(n<1?7:0)+n-1;return t.setUTCDate(t.getUTCDate()-a),t.setUTCHours(0,0,0,0),t}},89742:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(94188),a=n(10123);function o(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=t||{},o=n.locale,i=o&&o.options&&o.options.weekStartsOn,s=null==i?0:(0,r.A)(i),l=null==n.weekStartsOn?s:(0,r.A)(n.weekStartsOn);if(!(l>=0&&l<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var u=(0,a.A)(e),c=u.getUTCDay(),d=(c{"use strict";function r(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}n.d(t,{A:()=>r})},92998:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(94188),a=n(10123);function o(e,t){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var n=(0,a.A)(e),o=(0,r.A)(t);return n.setDate(n.getDate()+o),n}},7767:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(94188),a=n(10123);function o(e,t){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var n=(0,a.A)(e).getTime(),o=(0,r.A)(t);return new Date(n+o)}},66034:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(94188),a=n(10123);function o(e,t){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var n=(0,a.A)(e),o=(0,r.A)(t),i=n.getMonth()+o,s=new Date(0);s.setFullYear(n.getFullYear(),i,1),s.setHours(0,0,0,0);var l=function(e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var t=(0,a.A)(e),n=t.getFullYear(),r=t.getMonth(),o=new Date(0);return o.setFullYear(n,r+1,0),o.setHours(0,0,0,0),o.getDate()}(s);return n.setMonth(i,Math.min(l,n.getDate())),n}},6982:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(10123);function a(e,t){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var n=(0,r.A)(e),a=(0,r.A)(t),o=n.getTime()-a.getTime();return o<0?-1:o>0?1:o}},40063:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(67044),a=n(53508),o=864e5;function i(e,t){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var n=(0,a.default)(e),i=(0,a.default)(t),s=n.getTime()-(0,r.A)(n),l=i.getTime()-(0,r.A)(i);return Math.round((s-l)/o)}},81384:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(10123);function a(e,t){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var n=(0,r.A)(e),a=(0,r.A)(t);return n.getTime()-a.getTime()}},53303:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(81384),a=6e4;function o(e,t){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var n=(0,r.A)(e,t)/a;return n>0?Math.floor(n):Math.ceil(n)}},90063:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(81384);function a(e,t){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var n=(0,r.A)(e,t)/1e3;return n>0?Math.floor(n):Math.ceil(n)}},19312:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(10123);function a(e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var t=(0,r.A)(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}},36462:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(10123),a=n(94188);function o(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=t||{},o=n.locale,i=o&&o.options&&o.options.weekStartsOn,s=null==i?0:(0,a.A)(i),l=null==n.weekStartsOn?s:(0,a.A)(n.weekStartsOn);if(!(l>=0&&l<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var u=(0,r.A)(e),c=u.getDay(),d=6+(c{"use strict";n.r(t),n.d(t,{default:()=>D});var r=n(86828),a=n(91964),o=n(25654),i=n(10123);function s(e,t){for(var n=e<0?"-":"",r=Math.abs(e).toString();r.length0?n:1-n;return s("yy"===t?r%100:r,t.length)},u=function(e,t){var n=e.getUTCMonth();return"M"===t?String(n+1):s(n+1,2)},c=function(e,t){return s(e.getUTCDate(),t.length)},d=function(e,t){return s(e.getUTCHours()%12||12,t.length)},p=function(e,t){return s(e.getUTCHours(),t.length)},f=function(e,t){return s(e.getUTCMinutes(),t.length)},h=function(e,t){return s(e.getUTCSeconds(),t.length)},m=function(e,t){var n=t.length,r=e.getUTCMilliseconds();return s(Math.floor(r*Math.pow(10,n-3)),t.length)};var g=n(31053),v=n(24127),y=n(96894),b=n(50464);function w(e,t){var n=e>0?"-":"+",r=Math.abs(e),a=Math.floor(r/60),o=r%60;if(0===o)return n+String(a);var i=t||"";return n+String(a)+i+s(o,2)}function x(e,t){return e%60==0?(e>0?"-":"+")+s(Math.abs(e)/60,2):S(e,t)}function S(e,t){var n=t||"",r=e>0?"-":"+",a=Math.abs(e);return r+s(Math.floor(a/60),2)+n+s(a%60,2)}const _={G:function(e,t,n){var r=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){var r=e.getUTCFullYear(),a=r>0?r:1-r;return n.ordinalNumber(a,{unit:"year"})}return l(e,t)},Y:function(e,t,n,r){var a=(0,b.A)(e,r),o=a>0?a:1-a;return"YY"===t?s(o%100,2):"Yo"===t?n.ordinalNumber(o,{unit:"year"}):s(o,t.length)},R:function(e,t){return s((0,v.A)(e),t.length)},u:function(e,t){return s(e.getUTCFullYear(),t.length)},Q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return s(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return s(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){var r=e.getUTCMonth();switch(t){case"M":case"MM":return u(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){var r=e.getUTCMonth();switch(t){case"L":return String(r+1);case"LL":return s(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){var a=(0,y.A)(e,r);return"wo"===t?n.ordinalNumber(a,{unit:"week"}):s(a,t.length)},I:function(e,t,n){var r=(0,g.A)(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):s(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getUTCDate(),{unit:"date"}):c(e,t)},D:function(e,t,n){var r=function(e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var t=(0,i.A)(e),n=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var r=n-t.getTime();return Math.floor(r/864e5)+1}(e);return"Do"===t?n.ordinalNumber(r,{unit:"dayOfYear"}):s(r,t.length)},E:function(e,t,n){var r=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){var a=e.getUTCDay(),o=(a-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return s(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(a,{width:"short",context:"formatting"});default:return n.day(a,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){var a=e.getUTCDay(),o=(a-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return s(o,t.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(a,{width:"narrow",context:"standalone"});case"cccccc":return n.day(a,{width:"short",context:"standalone"});default:return n.day(a,{width:"wide",context:"standalone"})}},i:function(e,t,n){var r=e.getUTCDay(),a=0===r?7:r;switch(t){case"i":return String(a);case"ii":return s(a,t.length);case"io":return n.ordinalNumber(a,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){var r=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){var r,a=e.getUTCHours();switch(r=12===a?"noon":0===a?"midnight":a/12>=1?"pm":"am",t){case"b":case"bb":case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){var r,a=e.getUTCHours();switch(r=a>=17?"evening":a>=12?"afternoon":a>=4?"morning":"night",t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){var r=e.getUTCHours()%12;return 0===r&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return d(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getUTCHours(),{unit:"hour"}):p(e,t)},K:function(e,t,n){var r=e.getUTCHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):s(r,t.length)},k:function(e,t,n){var r=e.getUTCHours();return 0===r&&(r=24),"ko"===t?n.ordinalNumber(r,{unit:"hour"}):s(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):f(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):h(e,t)},S:function(e,t){return m(e,t)},X:function(e,t,n,r){var a=(r._originalDate||e).getTimezoneOffset();if(0===a)return"Z";switch(t){case"X":return x(a);case"XXXX":case"XX":return S(a);default:return S(a,":")}},x:function(e,t,n,r){var a=(r._originalDate||e).getTimezoneOffset();switch(t){case"x":return x(a);case"xxxx":case"xx":return S(a);default:return S(a,":")}},O:function(e,t,n,r){var a=(r._originalDate||e).getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+w(a,":");default:return"GMT"+S(a,":")}},z:function(e,t,n,r){var a=(r._originalDate||e).getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+w(a,":");default:return"GMT"+S(a,":")}},t:function(e,t,n,r){var a=r._originalDate||e;return s(Math.floor(a.getTime()/1e3),t.length)},T:function(e,t,n,r){return s((r._originalDate||e).getTime(),t.length)}};var A=n(91788),C=n(67044),T=n(41109),k=n(94188),E=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,M=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,P=/^'([^]*?)'?$/,O=/''/g,I=/[a-zA-Z]/;function D(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var s=String(t),l=n||{},u=l.locale||a.A,c=u.options&&u.options.firstWeekContainsDate,d=null==c?1:(0,k.A)(c),p=null==l.firstWeekContainsDate?d:(0,k.A)(l.firstWeekContainsDate);if(!(p>=1&&p<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var f=u.options&&u.options.weekStartsOn,h=null==f?0:(0,k.A)(f),m=null==l.weekStartsOn?h:(0,k.A)(l.weekStartsOn);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!u.localize)throw new RangeError("locale must contain localize property");if(!u.formatLong)throw new RangeError("locale must contain formatLong property");var g=(0,i.A)(e);if(!(0,r.A)(g))throw new RangeError("Invalid time value");var v=(0,C.A)(g),y=(0,o.A)(g,v),b={firstWeekContainsDate:p,weekStartsOn:m,locale:u,_originalDate:g};return s.match(M).map((function(e){var t=e[0];return"p"===t||"P"===t?(0,A.A[t])(e,u.formatLong,b):e})).join("").match(E).map((function(e){if("''"===e)return"'";var t=e[0];if("'"===t)return e.match(P)[1].replace(O,"'");var n=_[t];if(n)return!l.useAdditionalWeekYearTokens&&(0,T.xM)(e)&&(0,T.lJ)(e),!l.useAdditionalDayOfYearTokens&&(0,T.ef)(e)&&(0,T.lJ)(e),n(y,e,u.localize,b);if(t.match(I))throw new RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return e})).join("")}},20248:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var r=n(6982),a=n(10123);var o=n(90063),i=n(91964),s=n(37426),l=n(67044),u=1440,c=2520,d=43200,p=86400;function f(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var f=n||{},h=f.locale||i.A;if(!h.formatDistance)throw new RangeError("locale must contain formatDistance property");var m=(0,r.A)(e,t);if(isNaN(m))throw new RangeError("Invalid time value");var g,v,y,b=(g=f,(0,s.A)({},g));b.addSuffix=Boolean(f.addSuffix),b.comparison=m,m>0?(v=(0,a.A)(t),y=(0,a.A)(e)):(v=(0,a.A)(e),y=(0,a.A)(t));var w,x=(0,o.default)(y,v),S=((0,l.A)(y)-(0,l.A)(v))/1e3,_=Math.round((x-S)/60);if(_<2)return f.includeSeconds?x<5?h.formatDistance("lessThanXSeconds",5,b):x<10?h.formatDistance("lessThanXSeconds",10,b):x<20?h.formatDistance("lessThanXSeconds",20,b):x<40?h.formatDistance("halfAMinute",null,b):x<60?h.formatDistance("lessThanXMinutes",1,b):h.formatDistance("xMinutes",1,b):0===_?h.formatDistance("lessThanXMinutes",1,b):h.formatDistance("xMinutes",_,b);if(_<45)return h.formatDistance("xMinutes",_,b);if(_<90)return h.formatDistance("aboutXHours",1,b);if(_{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(10123);function a(e,t){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var n=(0,r.A)(e),a=(0,r.A)(t);return n.getTime()>a.getTime()}},27813:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(10123);function a(e,t){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var n=(0,r.A)(e),a=(0,r.A)(t);return n.getTime(){"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(53508);function a(e,t){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var n=(0,r.default)(e),a=(0,r.default)(t);return n.getTime()===a.getTime()}},43828:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(81810);function a(e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");return(0,r.default)(e,Date.now())}},86828:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(10123);function a(e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var t=(0,r.A)(e);return!isNaN(t)}},95047:(e,t,n)=>{"use strict";function r(e){return function(t){var n=t||{},r=n.width?String(n.width):e.defaultWidth;return e.formats[r]||e.formats[e.defaultWidth]}}n.d(t,{A:()=>r})},14797:(e,t,n)=>{"use strict";function r(e){return function(t,n){var r,a=n||{};if("formatting"===(a.context?String(a.context):"standalone")&&e.formattingValues){var o=e.defaultFormattingWidth||e.defaultWidth,i=a.width?String(a.width):o;r=e.formattingValues[i]||e.formattingValues[o]}else{var s=e.defaultWidth,l=a.width?String(a.width):e.defaultWidth;r=e.values[l]||e.values[s]}return r[e.argumentCallback?e.argumentCallback(t):t]}}n.d(t,{A:()=>r})},13091:(e,t,n)=>{"use strict";function r(e){return function(t,n){var r=String(t),a=n||{},o=a.width,i=o&&e.matchPatterns[o]||e.matchPatterns[e.defaultMatchWidth],s=r.match(i);if(!s)return null;var l,u=s[0],c=o&&e.parsePatterns[o]||e.parsePatterns[e.defaultParseWidth];return l="[object Array]"===Object.prototype.toString.call(c)?c.findIndex((function(e){return e.test(r)})):function(e,t){for(var n in e)if(e.hasOwnProperty(n)&&e[n].test(r))return n}(c),l=e.valueCallback?e.valueCallback(l):l,{value:l=a.valueCallback?a.valueCallback(l):l,rest:r.slice(u.length)}}}n.d(t,{A:()=>r})},46171:(e,t,n)=>{"use strict";function r(e){return function(t,n){var r=String(t),a=n||{},o=r.match(e.matchPattern);if(!o)return null;var i=o[0],s=r.match(e.parsePattern);if(!s)return null;var l=e.valueCallback?e.valueCallback(s[0]):s[0];return{value:l=a.valueCallback?a.valueCallback(l):l,rest:r.slice(i.length)}}}n.d(t,{A:()=>r})},59475:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function a(e,t,n){var a;return n=n||{},a="string"==typeof r[e]?r[e]:1===t?r[e].one:r[e].other.replace("{{count}}",t),n.addSuffix?n.comparison>0?"in "+a:a+" ago":a}},18860:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function a(e,t,n,a){return r[e]}},71412:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(14797);const a={ordinalNumber:function(e,t){var n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:(0,r.A)({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:(0,r.A)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,r.A)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:(0,r.A)({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:(0,r.A)({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})}},79028:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(46171),a=n(13091);const o={ordinalNumber:(0,r.A)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,a.A)({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:(0,a.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,a.A)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,a.A)({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,a.A)({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})}},91964:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(59475),a=n(95047);const o={date:(0,a.A)({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:(0,a.A)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:(0,a.A)({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};var i=n(18860),s=n(71412),l=n(79028);const u={formatDistance:r.A,formatLong:o,formatRelative:i.A,localize:s.A,match:l.A,options:{weekStartsOn:0,firstWeekContainsDate:1}}},36484:(e,t,n)=>{"use strict";n.r(t),n.d(t,{af:()=>d,arDZ:()=>m,arSA:()=>b,be:()=>M,bn:()=>$,ca:()=>W,cs:()=>G,cy:()=>Q,da:()=>te,de:()=>oe,el:()=>ue,enCA:()=>me,enGB:()=>ye,enUS:()=>be.A,eo:()=>_e,es:()=>Ee,et:()=>Re,faIR:()=>je,fi:()=>Qe,fr:()=>tt,gl:()=>it,gu:()=>ct,he:()=>gt,hi:()=>At,hr:()=>Et,hu:()=>Rt,hy:()=>jt,id:()=>Wt,is:()=>qt,it:()=>Kt,ja:()=>en,ka:()=>an,ko:()=>un,lt:()=>bn,lv:()=>Cn,nb:()=>Pn,nl:()=>Rn,nn:()=>Fn,pl:()=>Xn,pt:()=>Jn,ptBR:()=>er.default,ro:()=>ar,ru:()=>pr,sk:()=>xr,sl:()=>kr,sv:()=>Ir,ta:()=>$r,th:()=>zr,tr:()=>Hr,ug:()=>Xr,uk:()=>ra,vi:()=>sa,zhCN:()=>da,zhTW:()=>ma});var r={lessThanXSeconds:{one:"minder as 'n sekonde",other:"minder as {{count}} sekondes"},xSeconds:{one:"1 sekonde",other:"{{count}} sekondes"},halfAMinute:"'n halwe minuut",lessThanXMinutes:{one:"minder as 'n minuut",other:"minder as {{count}} minute"},xMinutes:{one:"'n minuut",other:"{{count}} minute"},aboutXHours:{one:"ongeveer 1 uur",other:"ongeveer {{count}} ure"},xHours:{one:"1 uur",other:"{{count}} ure"},xDays:{one:"1 dag",other:"{{count}} dae"},aboutXMonths:{one:"ongeveer 1 maand",other:"ongeveer {{count}} maande"},xMonths:{one:"1 maand",other:"{{count}} maande"},aboutXYears:{one:"ongeveer 1 jaar",other:"ongeveer {{count}} jaar"},xYears:{one:"1 jaar",other:"{{count}} jaar"},overXYears:{one:"meer as 1 jaar",other:"meer as {{count}} jaar"},almostXYears:{one:"byna 1 jaar",other:"byna {{count}} jaar"}},a=n(95047);const o={date:(0,a.A)({formats:{full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"yyyy/MM/dd"},defaultWidth:"full"}),time:(0,a.A)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,a.A)({formats:{full:"{{date}} 'om' {{time}}",long:"{{date}} 'om' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};var i={lastWeek:"'verlede' eeee 'om' p",yesterday:"'gister om' p",today:"'vandag om' p",tomorrow:"'môre om' p",nextWeek:"eeee 'om' p",other:"P"},s=n(14797);const l={ordinalNumber:function(e){var t=Number(e),n=t%100;if(n<20)switch(n){case 1:case 8:return t+"ste";default:return t+"de"}return t+"ste"},era:(0,s.A)({values:{narrow:["vC","nC"],abbreviated:["vC","nC"],wide:["voor Christus","na Christus"]},defaultWidth:"wide"}),quarter:(0,s.A)({values:{narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1ste kwartaal","2de kwartaal","3de kwartaal","4de kwartaal"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,s.A)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mrt","Apr","Mei","Jun","Jul","Aug","Sep","Okt","Nov","Des"],wide:["Januarie","Februarie","Maart","April","Mei","Junie","Julie","Augustus","September","Oktober","November","Desember"]},defaultWidth:"wide"}),day:(0,s.A)({values:{narrow:["S","M","D","W","D","V","S"],short:["So","Ma","Di","Wo","Do","Vr","Sa"],abbreviated:["Son","Maa","Din","Woe","Don","Vry","Sat"],wide:["Sondag","Maandag","Dinsdag","Woensdag","Donderdag","Vrydag","Saterdag"]},defaultWidth:"wide"}),dayPeriod:(0,s.A)({values:{narrow:{am:"vm",pm:"nm",midnight:"middernag",noon:"middaguur",morning:"oggend",afternoon:"middag",evening:"laat middag",night:"aand"},abbreviated:{am:"vm",pm:"nm",midnight:"middernag",noon:"middaguur",morning:"oggend",afternoon:"middag",evening:"laat middag",night:"aand"},wide:{am:"vm",pm:"nm",midnight:"middernag",noon:"middaguur",morning:"oggend",afternoon:"middag",evening:"laat middag",night:"aand"}},defaultWidth:"wide",formattingValues:{narrow:{am:"vm",pm:"nm",midnight:"middernag",noon:"uur die middag",morning:"uur die oggend",afternoon:"uur die middag",evening:"uur die aand",night:"uur die aand"},abbreviated:{am:"vm",pm:"nm",midnight:"middernag",noon:"uur die middag",morning:"uur die oggend",afternoon:"uur die middag",evening:"uur die aand",night:"uur die aand"},wide:{am:"vm",pm:"nm",midnight:"middernag",noon:"uur die middag",morning:"uur die oggend",afternoon:"uur die middag",evening:"uur die aand",night:"uur die aand"}},defaultFormattingWidth:"wide"})};var u=n(46171),c=n(13091);const d={formatDistance:function(e,t,n){var a;return n=n||{},a="string"==typeof r[e]?r[e]:1===t?r[e].one:r[e].other.replace("{{count}}",t),n.addSuffix?n.comparison>0?"oor "+a:a+" gelede":a},formatLong:o,formatRelative:function(e){return i[e]},localize:l,match:{ordinalNumber:(0,u.A)({matchPattern:/^(\d+)(ste|de)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,c.A)({matchPatterns:{narrow:/^([vn]\.? ?C\.?)/,abbreviated:/^([vn]\. ?C\.?)/,wide:/^((voor|na) Christus)/},defaultMatchWidth:"wide",parsePatterns:{any:[/^v/,/^n/]},defaultParseWidth:"any"}),quarter:(0,c.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^K[1234]/i,wide:/^[1234](st|d)e kwartaal/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,c.A)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(Jan|Feb|Mrt|Apr|Mei|Jun|Jul|Aug|Sep|Okt|Nov|Dec)\.?/i,wide:/^(Januarie|Februarie|Maart|April|Mei|Junie|Julie|Augustus|September|Oktober|November|Desember)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^J/i,/^F/i,/^M/i,/^A/i,/^M/i,/^J/i,/^J/i,/^A/i,/^S/i,/^O/i,/^N/i,/^D/i],any:[/^Jan/i,/^Feb/i,/^Mrt/i,/^Apr/i,/^Mei/i,/^Jun/i,/^Jul/i,/^Aug/i,/^Sep/i,/^Okt/i,/^Nov/i,/^Dec/i]},defaultParseWidth:"any"}),day:(0,c.A)({matchPatterns:{narrow:/^[smdwv]/i,short:/^(So|Ma|Di|Wo|Do|Vr|Sa)/i,abbreviated:/^(Son|Maa|Din|Woe|Don|Vry|Sat)/i,wide:/^(Sondag|Maandag|Dinsdag|Woensdag|Donderdag|Vrydag|Saterdag)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^S/i,/^M/i,/^D/i,/^W/i,/^D/i,/^V/i,/^S/i],any:[/^So/i,/^Ma/i,/^Di/i,/^Wo/i,/^Do/i,/^Vr/i,/^Sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,c.A)({matchPatterns:{any:/^(vm|nm|middernag|(?:uur )?die (oggend|middag|aand))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^vm/i,pm:/^nm/i,midnight:/^middernag/i,noon:/^middaguur/i,morning:/oggend/i,afternoon:/middag/i,evening:/laat middag/i,night:/aand/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};var p={lessThanXSeconds:{one:"أقل من ثانية واحدة",two:"أقل من ثانتين",threeToTen:"أقل من {{count}} ثواني",other:"أقل من {{count}} ثانية"},xSeconds:{one:"ثانية واحدة",two:"ثانتين",threeToTen:"{{count}} ثواني",other:"{{count}} ثانية"},halfAMinute:"نصف دقيقة",lessThanXMinutes:{one:"أقل من دقيقة",two:"أقل من دقيقتين",threeToTen:"أقل من {{count}} دقائق",other:"أقل من {{count}} دقيقة"},xMinutes:{one:"دقيقة واحدة",two:"دقيقتين",threeToTen:"{{count}} دقائق",other:"{{count}} دقيقة"},aboutXHours:{one:"ساعة واحدة تقريباً",two:"ساعتين تقريباً",threeToTen:"{{count}} ساعات تقريباً",other:"{{count}} ساعة تقريباً"},xHours:{one:"ساعة واحدة",two:"ساعتين",threeToTen:"{{count}} ساعات",other:"{{count}} ساعة"},xDays:{one:"يوم واحد",two:"يومين",threeToTen:"{{count}} أيام",other:"{{count}} يوم"},aboutXMonths:{one:"شهر واحد تقريباً",two:"شهرين تقريباً",threeToTen:"{{count}} أشهر تقريباً",other:"{{count}} شهر تقريباً"},xMonths:{one:"شهر واحد",two:"شهرين",threeToTen:"{{count}} أشهر",other:"{{count}} شهر"},aboutXYears:{one:"عام واحد تقريباً",two:"عامين تقريباً",threeToTen:"{{count}} أعوام تقريباً",other:"{{count}} عام تقريباً"},xYears:{one:"عام واحد",two:"عامين",threeToTen:"{{count}} أعوام",other:"{{count}} عام"},overXYears:{one:"أكثر من عام",two:"أكثر من عامين",threeToTen:"أكثر من {{count}} أعوام",other:"أكثر من {{count}} عام"},almostXYears:{one:"عام واحد تقريباً",two:"عامين تقريباً",threeToTen:"{{count}} أعوام تقريباً",other:"{{count}} عام تقريباً"}},f={date:(0,a.A)({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:(0,a.A)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:(0,a.A)({formats:{full:"{{date}} 'عند' {{time}}",long:"{{date}} 'عند' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},h={lastWeek:"'أخر' eeee 'عند' p",yesterday:"'أمس عند' p",today:"'اليوم عند' p",tomorrow:"'غداً عند' p",nextWeek:"eeee 'عند' p",other:"P"};const m={formatDistance:function(e,t,n){var r;return n=n||{},r="string"==typeof p[e]?p[e]:1===t?p[e].one:2===t?p[e].two:t<=10?p[e].threeToTen.replace("{{count}}",t):p[e].other.replace("{{count}}",t),n.addSuffix?n.comparison>0?"في خلال "+r:"منذ "+r:r},formatLong:f,formatRelative:function(e,t,n,r){return h[e]},localize:{ordinalNumber:function(e){return String(e)},era:(0,s.A)({values:{narrow:["ق","ب"],abbreviated:["ق.م.","ب.م."],wide:["قبل الميلاد","بعد الميلاد"]},defaultWidth:"wide"}),quarter:(0,s.A)({values:{narrow:["1","2","3","4"],abbreviated:["ر1","ر2","ر3","ر4"],wide:["الربع الأول","الربع الثاني","الربع الثالث","الربع الرابع"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,s.A)({values:{narrow:["ج","ف","م","أ","م","ج","ج","أ","س","أ","ن","د"],abbreviated:["جانـ","فيفـ","مارس","أفريل","مايـ","جوانـ","جويـ","أوت","سبتـ","أكتـ","نوفـ","ديسـ"],wide:["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"]},defaultWidth:"wide"}),day:(0,s.A)({values:{narrow:["ح","ن","ث","ر","خ","ج","س"],short:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],abbreviated:["أحد","اثنـ","ثلا","أربـ","خميـ","جمعة","سبت"],wide:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"]},defaultWidth:"wide"}),dayPeriod:(0,s.A)({values:{narrow:{am:"ص",pm:"م",midnight:"ن",noon:"ظ",morning:"صباحاً",afternoon:"بعد الظهر",evening:"مساءاً",night:"ليلاً"},abbreviated:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"صباحاً",afternoon:"بعد الظهر",evening:"مساءاً",night:"ليلاً"},wide:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"صباحاً",afternoon:"بعد الظهر",evening:"مساءاً",night:"ليلاً"}},defaultWidth:"wide",formattingValues:{narrow:{am:"ص",pm:"م",midnight:"ن",noon:"ظ",morning:"في الصباح",afternoon:"بعد الظـهر",evening:"في المساء",night:"في الليل"},abbreviated:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"في الصباح",evening:"في المساء",night:"في الليل"},wide:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",afternoon:"بعد الظـهر",evening:"في المساء",night:"في الليل"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(0,u.A)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,c.A)({matchPatterns:{narrow:/^(ق|ب)/i,abbreviated:/^(ق\.?\s?م\.?|ق\.?\s?م\.?\s?|a\.?\s?d\.?|c\.?\s?)/i,wide:/^(قبل الميلاد|قبل الميلاد|بعد الميلاد|بعد الميلاد)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^قبل/i,/^بعد/i]},defaultParseWidth:"any"}),quarter:(0,c.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^ر[1234]/i,wide:/^الربع [1234]/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,c.A)({matchPatterns:{narrow:/^[جفمأسند]/i,abbreviated:/^(جان|فيف|مار|أفر|ماي|جوا|جوي|أوت|سبت|أكت|نوف|ديس)/i,wide:/^(جانفي|فيفري|مارس|أفريل|ماي|جوان|جويلية|أوت|سبتمبر|أكتوبر|نوفمبر|ديسمبر)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^ج/i,/^ف/i,/^م/i,/^أ/i,/^م/i,/^ج/i,/^ج/i,/^أ/i,/^س/i,/^أ/i,/^ن/i,/^د/i],any:[/^جان/i,/^فيف/i,/^مار/i,/^أفر/i,/^ماي/i,/^جوا/i,/^جوي/i,/^أوت/i,/^سبت/i,/^أكت/i,/^نوف/i,/^ديس/i]},defaultParseWidth:"any"}),day:(0,c.A)({matchPatterns:{narrow:/^[حنثرخجس]/i,short:/^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i,abbreviated:/^(أحد|اثن|ثلا|أرب|خمي|جمعة|سبت)/i,wide:/^(الأحد|الاثنين|الثلاثاء|الأربعاء|الخميس|الجمعة|السبت)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^ح/i,/^ن/i,/^ث/i,/^ر/i,/^خ/i,/^ج/i,/^س/i],wide:[/^الأحد/i,/^الاثنين/i,/^الثلاثاء/i,/^الأربعاء/i,/^الخميس/i,/^الجمعة/i,/^السبت/i],any:[/^أح/i,/^اث/i,/^ث/i,/^أر/i,/^خ/i,/^ج/i,/^س/i]},defaultParseWidth:"any"}),dayPeriod:(0,c.A)({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};var g={lessThanXSeconds:{one:"أقل من ثانية واحدة",two:"أقل من ثانتين",threeToTen:"أقل من {{count}} ثواني",other:"أقل من {{count}} ثانية"},xSeconds:{one:"ثانية واحدة",two:"ثانتين",threeToTen:"{{count}} ثواني",other:"{{count}} ثانية"},halfAMinute:"نصف دقيقة",lessThanXMinutes:{one:"أقل من دقيقة",two:"أقل من دقيقتين",threeToTen:"أقل من {{count}} دقائق",other:"أقل من {{count}} دقيقة"},xMinutes:{one:"دقيقة واحدة",two:"دقيقتين",threeToTen:"{{count}} دقائق",other:"{{count}} دقيقة"},aboutXHours:{one:"ساعة واحدة تقريباً",two:"ساعتين تقريباً",threeToTen:"{{count}} ساعات تقريباً",other:"{{count}} ساعة تقريباً"},xHours:{one:"ساعة واحدة",two:"ساعتين",threeToTen:"{{count}} ساعات",other:"{{count}} ساعة"},xDays:{one:"يوم واحد",two:"يومين",threeToTen:"{{count}} أيام",other:"{{count}} يوم"},aboutXMonths:{one:"شهر واحد تقريباً",two:"شهرين تقريباً",threeToTen:"{{count}} أشهر تقريباً",other:"{{count}} شهر تقريباً"},xMonths:{one:"شهر واحد",two:"شهرين",threeToTen:"{{count}} أشهر",other:"{{count}} شهر"},aboutXYears:{one:"عام واحد تقريباً",two:"عامين تقريباً",threeToTen:"{{count}} أعوام تقريباً",other:"{{count}} عام تقريباً"},xYears:{one:"عام واحد",two:"عامين",threeToTen:"{{count}} أعوام",other:"{{count}} عام"},overXYears:{one:"أكثر من عام",two:"أكثر من عامين",threeToTen:"أكثر من {{count}} أعوام",other:"أكثر من {{count}} عام"},almostXYears:{one:"عام واحد تقريباً",two:"عامين تقريباً",threeToTen:"{{count}} أعوام تقريباً",other:"{{count}} عام تقريباً"}},v={date:(0,a.A)({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:(0,a.A)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:(0,a.A)({formats:{full:"{{date}} 'عند' {{time}}",long:"{{date}} 'عند' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},y={lastWeek:"'أخر' eeee 'عند' p",yesterday:"'أمس عند' p",today:"'اليوم عند' p",tomorrow:"'غداً عند' p",nextWeek:"eeee 'عند' p",other:"P"};const b={formatDistance:function(e,t,n){var r;return n=n||{},r="string"==typeof g[e]?g[e]:1===t?g[e].one:2===t?g[e].two:t<=10?g[e].threeToTen.replace("{{count}}",t):g[e].other.replace("{{count}}",t),n.addSuffix?n.comparison>0?"في خلال "+r:"منذ "+r:r},formatLong:v,formatRelative:function(e,t,n,r){return y[e]},localize:{ordinalNumber:function(e){return String(e)},era:(0,s.A)({values:{narrow:["ق","ب"],abbreviated:["ق.م.","ب.م."],wide:["قبل الميلاد","بعد الميلاد"]},defaultWidth:"wide"}),quarter:(0,s.A)({values:{narrow:["1","2","3","4"],abbreviated:["ر1","ر2","ر3","ر4"],wide:["الربع الأول","الربع الثاني","الربع الثالث","الربع الرابع"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,s.A)({values:{narrow:["ي","ف","م","أ","م","ي","ي","أ","س","أ","ن","د"],abbreviated:["ينا","فبر","مارس","أبريل","مايو","يونـ","يولـ","أغسـ","سبتـ","أكتـ","نوفـ","ديسـ"],wide:["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"]},defaultWidth:"wide"}),day:(0,s.A)({values:{narrow:["ح","ن","ث","ر","خ","ج","س"],short:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],abbreviated:["أحد","اثنـ","ثلا","أربـ","خميـ","جمعة","سبت"],wide:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"]},defaultWidth:"wide"}),dayPeriod:(0,s.A)({values:{narrow:{am:"ص",pm:"م",midnight:"ن",noon:"ظ",morning:"صباحاً",afternoon:"بعد الظهر",evening:"مساءاً",night:"ليلاً"},abbreviated:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"صباحاً",afternoon:"بعد الظهر",evening:"مساءاً",night:"ليلاً"},wide:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"صباحاً",afternoon:"بعد الظهر",evening:"مساءاً",night:"ليلاً"}},defaultWidth:"wide",formattingValues:{narrow:{am:"ص",pm:"م",midnight:"ن",noon:"ظ",morning:"في الصباح",afternoon:"بعد الظـهر",evening:"في المساء",night:"في الليل"},abbreviated:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"في الصباح",evening:"في المساء",night:"في الليل"},wide:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",afternoon:"بعد الظـهر",evening:"في المساء",night:"في الليل"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(0,u.A)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,c.A)({matchPatterns:{narrow:/^(ق|ب)/i,abbreviated:/^(ق\.?\s?م\.?|ق\.?\s?م\.?\s?|a\.?\s?d\.?|c\.?\s?)/i,wide:/^(قبل الميلاد|قبل الميلاد|بعد الميلاد|بعد الميلاد)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^قبل/i,/^بعد/i]},defaultParseWidth:"any"}),quarter:(0,c.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^ر[1234]/i,wide:/^الربع [1234]/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,c.A)({matchPatterns:{narrow:/^[يفمأمسند]/i,abbreviated:/^(ين|ف|مار|أب|ماي|يون|يول|أغ|س|أك|ن|د)/i,wide:/^(ين|ف|مار|أب|ماي|يون|يول|أغ|س|أك|ن|د)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^ي/i,/^ف/i,/^م/i,/^أ/i,/^م/i,/^ي/i,/^ي/i,/^أ/i,/^س/i,/^أ/i,/^ن/i,/^د/i],any:[/^ين/i,/^ف/i,/^مار/i,/^أب/i,/^ماي/i,/^يون/i,/^يول/i,/^أغ/i,/^س/i,/^أك/i,/^ن/i,/^د/i]},defaultParseWidth:"any"}),day:(0,c.A)({matchPatterns:{narrow:/^[حنثرخجس]/i,short:/^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i,abbreviated:/^(أحد|اثن|ثلا|أرب|خمي|جمعة|سبت)/i,wide:/^(الأحد|الاثنين|الثلاثاء|الأربعاء|الخميس|الجمعة|السبت)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^ح/i,/^ن/i,/^ث/i,/^ر/i,/^خ/i,/^ج/i,/^س/i],wide:[/^الأحد/i,/^الاثنين/i,/^الثلاثاء/i,/^الأربعاء/i,/^الخميس/i,/^الجمعة/i,/^السبت/i],any:[/^أح/i,/^اث/i,/^ث/i,/^أر/i,/^خ/i,/^ج/i,/^س/i]},defaultParseWidth:"any"}),dayPeriod:(0,c.A)({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};function w(e,t){if(void 0!==e.one&&1===t)return e.one;var n=t%10,r=t%100;return 1===n&&11!==r?e.singularNominative.replace("{{count}}",t):n>=2&&n<=4&&(r<10||r>20)?e.singularGenitive.replace("{{count}}",t):e.pluralGenitive.replace("{{count}}",t)}function x(e){return function(t,n){return n.addSuffix?n.comparison>0?e.future?w(e.future,t):"праз "+w(e.regular,t):e.past?w(e.past,t):w(e.regular,t)+" таму":w(e.regular,t)}}var S={lessThanXSeconds:x({regular:{one:"менш за секунду",singularNominative:"менш за {{count}} секунду",singularGenitive:"менш за {{count}} секунды",pluralGenitive:"менш за {{count}} секунд"},future:{one:"менш, чым праз секунду",singularNominative:"менш, чым праз {{count}} секунду",singularGenitive:"менш, чым праз {{count}} секунды",pluralGenitive:"менш, чым праз {{count}} секунд"}}),xSeconds:x({regular:{singularNominative:"{{count}} секунда",singularGenitive:"{{count}} секунды",pluralGenitive:"{{count}} секунд"},past:{singularNominative:"{{count}} секунду таму",singularGenitive:"{{count}} секунды таму",pluralGenitive:"{{count}} секунд таму"},future:{singularNominative:"праз {{count}} секунду",singularGenitive:"праз {{count}} секунды",pluralGenitive:"праз {{count}} секунд"}}),halfAMinute:function(e,t){return t.addSuffix?t.comparison>0?"праз паўхвіліны":"паўхвіліны таму":"паўхвіліны"},lessThanXMinutes:x({regular:{one:"менш за хвіліну",singularNominative:"менш за {{count}} хвіліну",singularGenitive:"менш за {{count}} хвіліны",pluralGenitive:"менш за {{count}} хвілін"},future:{one:"менш, чым праз хвіліну",singularNominative:"менш, чым праз {{count}} хвіліну",singularGenitive:"менш, чым праз {{count}} хвіліны",pluralGenitive:"менш, чым праз {{count}} хвілін"}}),xMinutes:x({regular:{singularNominative:"{{count}} хвіліна",singularGenitive:"{{count}} хвіліны",pluralGenitive:"{{count}} хвілін"},past:{singularNominative:"{{count}} хвіліну таму",singularGenitive:"{{count}} хвіліны таму",pluralGenitive:"{{count}} хвілін таму"},future:{singularNominative:"праз {{count}} хвіліну",singularGenitive:"праз {{count}} хвіліны",pluralGenitive:"праз {{count}} хвілін"}}),aboutXHours:x({regular:{singularNominative:"каля {{count}} гадзіны",singularGenitive:"каля {{count}} гадзін",pluralGenitive:"каля {{count}} гадзін"},future:{singularNominative:"прыблізна праз {{count}} гадзіну",singularGenitive:"прыблізна праз {{count}} гадзіны",pluralGenitive:"прыблізна праз {{count}} гадзін"}}),xHours:x({regular:{singularNominative:"{{count}} гадзіна",singularGenitive:"{{count}} гадзіны",pluralGenitive:"{{count}} гадзін"},past:{singularNominative:"{{count}} гадзіну таму",singularGenitive:"{{count}} гадзіны таму",pluralGenitive:"{{count}} гадзін таму"},future:{singularNominative:"праз {{count}} гадзіну",singularGenitive:"праз {{count}} гадзіны",pluralGenitive:"праз {{count}} гадзін"}}),xDays:x({regular:{singularNominative:"{{count}} дзень",singularGenitive:"{{count}} дні",pluralGenitive:"{{count}} дзён"}}),aboutXMonths:x({regular:{singularNominative:"каля {{count}} месяца",singularGenitive:"каля {{count}} месяцаў",pluralGenitive:"каля {{count}} месяцаў"},future:{singularNominative:"прыблізна праз {{count}} месяц",singularGenitive:"прыблізна праз {{count}} месяцы",pluralGenitive:"прыблізна праз {{count}} месяцаў"}}),xMonths:x({regular:{singularNominative:"{{count}} месяц",singularGenitive:"{{count}} месяцы",pluralGenitive:"{{count}} месяцаў"}}),aboutXYears:x({regular:{singularNominative:"каля {{count}} года",singularGenitive:"каля {{count}} гадоў",pluralGenitive:"каля {{count}} гадоў"},future:{singularNominative:"прыблізна праз {{count}} год",singularGenitive:"прыблізна праз {{count}} гады",pluralGenitive:"прыблізна праз {{count}} гадоў"}}),xYears:x({regular:{singularNominative:"{{count}} год",singularGenitive:"{{count}} гады",pluralGenitive:"{{count}} гадоў"}}),overXYears:x({regular:{singularNominative:"больш за {{count}} год",singularGenitive:"больш за {{count}} гады",pluralGenitive:"больш за {{count}} гадоў"},future:{singularNominative:"больш, чым праз {{count}} год",singularGenitive:"больш, чым праз {{count}} гады",pluralGenitive:"больш, чым праз {{count}} гадоў"}}),almostXYears:x({regular:{singularNominative:"амаль {{count}} год",singularGenitive:"амаль {{count}} гады",pluralGenitive:"амаль {{count}} гадоў"},future:{singularNominative:"амаль праз {{count}} год",singularGenitive:"амаль праз {{count}} гады",pluralGenitive:"амаль праз {{count}} гадоў"}})};const _={date:(0,a.A)({formats:{full:"EEEE, d MMMM y 'г.'",long:"d MMMM y 'г.'",medium:"d MMM y 'г.'",short:"dd.MM.y"},defaultWidth:"full"}),time:(0,a.A)({formats:{full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},defaultWidth:"full"}),dateTime:(0,a.A)({formats:{any:"{{date}}, {{time}}"},defaultWidth:"any"})};var A=n(89742);function C(e,t,n){if(arguments.length<2)throw new TypeError("2 argument required, but only "+arguments.length+" present");var r=(0,A.A)(e,n),a=(0,A.A)(t,n);return r.getTime()===a.getTime()}var T=["нядзелю","панядзелак","аўторак","сераду","чацвер","пятніцу","суботу"];function k(e){return"'у "+T[e]+" а' p"}var E={lastWeek:function(e,t,n){var r=e.getUTCDay();return C(e,t,n)?k(r):function(e){var t=T[e];switch(e){case 0:case 3:case 5:case 6:return"'у мінулую "+t+" а' p";case 1:case 2:case 4:return"'у мінулы "+t+" а' p"}}(r)},yesterday:"'учора а' p",today:"'сёння а' p",tomorrow:"'заўтра а' p",nextWeek:function(e,t,n){var r=e.getUTCDay();return C(e,t,n)?k(r):function(e){var t=T[e];switch(e){case 0:case 3:case 5:case 6:return"'у наступную "+t+" а' p";case 1:case 2:case 4:return"'у наступны "+t+" а' p"}}(r)},other:"P"};const M={formatDistance:function(e,t,n){return n=n||{},S[e](t,n)},formatLong:_,formatRelative:function(e,t,n,r){var a=E[e];return"function"==typeof a?a(t,n,r):a},localize:{ordinalNumber:function(e,t){var n=String((t||{}).unit),r=Number(e);return r+("date"===n?"-га":"hour"===n||"minute"===n||"second"===n?"-я":r%10!=2&&r%10!=3||r%100==12||r%100==13?"-ы":"-і")},era:(0,s.A)({values:{narrow:["да н.э.","н.э."],abbreviated:["да н. э.","н. э."],wide:["да нашай эры","нашай эры"]},defaultWidth:"wide"}),quarter:(0,s.A)({values:{narrow:["1","2","3","4"],abbreviated:["1-ы кв.","2-і кв.","3-і кв.","4-ы кв."],wide:["1-ы квартал","2-і квартал","3-і квартал","4-ы квартал"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,s.A)({values:{narrow:["С","Л","С","К","М","Ч","Л","Ж","В","К","Л","С"],abbreviated:["студз.","лют.","сак.","крас.","май","чэрв.","ліп.","жн.","вер.","кастр.","ліст.","снеж."],wide:["студзень","люты","сакавік","красавік","май","чэрвень","ліпень","жнівень","верасень","кастрычнік","лістапад","снежань"]},defaultWidth:"wide",formattingValues:{narrow:["С","Л","С","К","М","Ч","Л","Ж","В","К","Л","С"],abbreviated:["студз.","лют.","сак.","крас.","мая","чэрв.","ліп.","жн.","вер.","кастр.","ліст.","снеж."],wide:["студзеня","лютага","сакавіка","красавіка","мая","чэрвеня","ліпеня","жніўня","верасня","кастрычніка","лістапада","снежня"]},defaultFormattingWidth:"wide"}),day:(0,s.A)({values:{narrow:["Н","П","А","С","Ч","П","С"],short:["нд","пн","аў","ср","чц","пт","сб"],abbreviated:["нядз","пан","аўт","сер","чац","пят","суб"],wide:["нядзеля","панядзелак","аўторак","серада","чацвер","пятніца","субота"]},defaultWidth:"wide"}),dayPeriod:(0,s.A)({values:{narrow:{am:"ДП",pm:"ПП",midnight:"поўн.",noon:"поўд.",morning:"ран.",afternoon:"дзень",evening:"веч.",night:"ноч"},abbreviated:{am:"ДП",pm:"ПП",midnight:"поўн.",noon:"поўд.",morning:"ран.",afternoon:"дзень",evening:"веч.",night:"ноч"},wide:{am:"ДП",pm:"ПП",midnight:"поўнач",noon:"поўдзень",morning:"раніца",afternoon:"дзень",evening:"вечар",night:"ноч"}},defaultWidth:"any",formattingValues:{narrow:{am:"ДП",pm:"ПП",midnight:"поўн.",noon:"поўд.",morning:"ран.",afternoon:"дня",evening:"веч.",night:"ночы"},abbreviated:{am:"ДП",pm:"ПП",midnight:"поўн.",noon:"поўд.",morning:"ран.",afternoon:"дня",evening:"веч.",night:"ночы"},wide:{am:"ДП",pm:"ПП",midnight:"поўнач",noon:"поўдзень",morning:"раніцы",afternoon:"дня",evening:"вечара",night:"ночы"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(0,u.A)({matchPattern:/^(\d+)(-?(е|я|га|і|ы|ае|ая|яя|шы|гі|ці|ты|мы))?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,c.A)({matchPatterns:{narrow:/^((да )?н\.?\s?э\.?)/i,abbreviated:/^((да )?н\.?\s?э\.?)/i,wide:/^(да нашай эры|нашай эры|наша эра)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^д/i,/^н/i]},defaultParseWidth:"any"}),quarter:(0,c.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^[1234](-?[ыі]?)? кв.?/i,wide:/^[1234](-?[ыі]?)? квартал/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,c.A)({matchPatterns:{narrow:/^[слкмчжв]/i,abbreviated:/^(студз|лют|сак|крас|ма[йя]|чэрв|ліп|жн|вер|кастр|ліст|снеж)\.?/i,wide:/^(студзен[ья]|лют(ы|ага)|сакавіка?|красавіка?|ма[йя]|чэрвен[ья]|ліпен[ья]|жні(вень|ўня)|верас(ень|ня)|кастрычніка?|лістапада?|снеж(ань|ня))/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^с/i,/^л/i,/^с/i,/^к/i,/^м/i,/^ч/i,/^л/i,/^ж/i,/^в/i,/^к/i,/^л/i,/^с/i],any:[/^ст/i,/^лю/i,/^са/i,/^кр/i,/^ма/i,/^ч/i,/^ліп/i,/^ж/i,/^в/i,/^ка/i,/^ліс/i,/^сн/i]},defaultParseWidth:"any"}),day:(0,c.A)({matchPatterns:{narrow:/^[нпасч]/i,short:/^(нд|ня|пн|па|аў|ат|ср|се|чц|ча|пт|пя|сб|су)\.?/i,abbreviated:/^(нядз?|ндз|пнд|пан|аўт|срд|сер|чцв|чац|птн|пят|суб).?/i,wide:/^(нядзел[яі]|панядзел(ак|ка)|аўтор(ак|ка)|серад[аы]|чацв(ер|ярга)|пятніц[аы]|субот[аы])/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^н/i,/^п/i,/^а/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^н/i,/^п[ан]/i,/^а/i,/^с[ер]/i,/^ч/i,/^п[ят]/i,/^с[уб]/i]},defaultParseWidth:"any"}),dayPeriod:(0,c.A)({matchPatterns:{narrow:/^([дп]п|поўн\.?|поўд\.?|ран\.?|дзень|дня|веч\.?|ночы?)/i,abbreviated:/^([дп]п|поўн\.?|поўд\.?|ран\.?|дзень|дня|веч\.?|ночы?)/i,wide:/^([дп]п|поўнач|поўдзень|раніц[аы]|дзень|дня|вечара?|ночы?)/i},defaultMatchWidth:"wide",parsePatterns:{any:{am:/^дп/i,pm:/^пп/i,midnight:/^поўн/i,noon:/^поўд/i,morning:/^р/i,afternoon:/^д[зн]/i,evening:/^в/i,night:/^н/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:1}};var P={locale:{1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},number:{"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"}},O={localeToNumber:function(e){var t=e.toString().replace(/[১২৩৪৫৬৭৮৯০]/g,(function(e){return P.number[e]}));return Number(t)},numberToLocale:function(e){return e.toString().replace(/\d/g,(function(e){return P.locale[e]}))},ordinalNumber:function(e,t){var n=O.localeToNumber(e),r=O.numberToLocale(n);if("date"===t.unit)return function(e,t){if(e>18&&e<=31)return t+"শে";switch(e){case 1:return t+"লা";case 2:case 3:return t+"রা";case 4:return t+"ঠা";default:return t+"ই"}}(n,r);if(n>10||0===n)return r+"তম";switch(n%10){case 2:case 3:return r+"য়";case 4:return r+"র্থ";case 6:return r+"ষ্ঠ";case 1:case 5:case 7:case 8:case 9:case 0:return r+"ম"}},era:(0,s.A)({values:{narrow:["খ্রিঃপূঃ","খ্রিঃ"],abbreviated:["খ্রিঃপূর্ব","খ্রিঃ"],wide:["খ্রিস্টপূর্ব","খ্রিস্টাব্দ"]},defaultWidth:"wide"}),quarter:(0,s.A)({values:{narrow:["১","২","৩","৪"],abbreviated:["১ত্রৈ","২ত্রৈ","৩ত্রৈ","৪ত্রৈ"],wide:["১ম ত্রৈমাসিক","২য় ত্রৈমাসিক","৩য় ত্রৈমাসিক","৪র্থ ত্রৈমাসিক"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,s.A)({values:{narrow:["জানু","ফেব্রু","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগস্ট","সেপ্ট","অক্টো","নভে","ডিসে"],abbreviated:["জানু","ফেব্রু","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগস্ট","সেপ্ট","অক্টো","নভে","ডিসে"],wide:["জানুয়ারি","ফেব্রুয়ারি","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগস্ট","সেপ্টেম্বর","অক্টোবর","নভেম্বর","ডিসেম্বর"]},defaultWidth:"wide"}),day:(0,s.A)({values:{narrow:["র","সো","ম","বু","বৃ","শু","শ"],short:["রবি","সোম","মঙ্গল","বুধ","বৃহ","শুক্র","শনি"],abbreviated:["রবি","সোম","মঙ্গল","বুধ","বৃহ","শুক্র","শনি"],wide:["রবিবার","সোমবার","মঙ্গলবার","বুধবার","বৃহস্পতিবার ","শুক্রবার","শনিবার"]},defaultWidth:"wide"}),dayPeriod:(0,s.A)({values:{narrow:{am:"পূ",pm:"অপ",midnight:"মধ্যরাত",noon:"মধ্যাহ্ন",morning:"সকাল",afternoon:"বিকাল",evening:"সন্ধ্যা",night:"রাত"},abbreviated:{am:"পূর্বাহ্ন",pm:"অপরাহ্ন",midnight:"মধ্যরাত",noon:"মধ্যাহ্ন",morning:"সকাল",afternoon:"বিকাল",evening:"সন্ধ্যা",night:"রাত"},wide:{am:"পূর্বাহ্ন",pm:"অপরাহ্ন",midnight:"মধ্যরাত",noon:"মধ্যাহ্ন",morning:"সকাল",afternoon:"বিকাল",evening:"সন্ধ্যা",night:"রাত"}},defaultWidth:"wide",formattingValues:{narrow:{am:"পূ",pm:"অপ",midnight:"মধ্যরাত",noon:"মধ্যাহ্ন",morning:"সকাল",afternoon:"বিকাল",evening:"সন্ধ্যা",night:"রাত"},abbreviated:{am:"পূর্বাহ্ন",pm:"অপরাহ্ন",midnight:"মধ্যরাত",noon:"মধ্যাহ্ন",morning:"সকাল",afternoon:"বিকাল",evening:"সন্ধ্যা",night:"রাত"},wide:{am:"পূর্বাহ্ন",pm:"অপরাহ্ন",midnight:"মধ্যরাত",noon:"মধ্যাহ্ন",morning:"সকাল",afternoon:"বিকাল",evening:"সন্ধ্যা",night:"রাত"}},defaultFormattingWidth:"wide"})};const I=O;var D={lessThanXSeconds:{one:"প্রায় ১ সেকেন্ড",other:"প্রায় {{count}} সেকেন্ড"},xSeconds:{one:"১ সেকেন্ড",other:"{{count}} সেকেন্ড"},halfAMinute:"আধ মিনিট",lessThanXMinutes:{one:"প্রায় ১ মিনিট",other:"প্রায় {{count}} মিনিট"},xMinutes:{one:"১ মিনিট",other:"{{count}} মিনিট"},aboutXHours:{one:"প্রায় ১ ঘন্টা",other:"প্রায় {{count}} ঘন্টা"},xHours:{one:"১ ঘন্টা",other:"{{count}} ঘন্টা"},xDays:{one:"১ দিন",other:"{{count}} দিন"},aboutXMonths:{one:"প্রায় ১ মাস",other:"প্রায় {{count}} মাস"},xMonths:{one:"১ মাস",other:"{{count}} মাস"},aboutXYears:{one:"প্রায় ১ বছর",other:"প্রায় {{count}} বছর"},xYears:{one:"১ বছর",other:"{{count}} বছর"},overXYears:{one:"১ বছরের বেশি",other:"{{count}} বছরের বেশি"},almostXYears:{one:"প্রায় ১ বছর",other:"প্রায় {{count}} বছর"}};const R={date:(0,a.A)({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:(0,a.A)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:(0,a.A)({formats:{full:"{{date}} {{time}} 'সময়'",long:"{{date}} {{time}} 'সময়'",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};var N={lastWeek:"'গত' eeee 'সময়' p",yesterday:"'গতকাল' 'সময়' p",today:"'আজ' 'সময়' p",tomorrow:"'আগামীকাল' 'সময়' p",nextWeek:"eeee 'সময়' p",other:"P"},L={ordinalNumber:(0,u.A)({matchPattern:/^(\d+)(ম|য়|র্থ|ষ্ঠ|শে|ই|তম)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,c.A)({matchPatterns:{narrow:/^(খ্রিঃপূঃ|খ্রিঃ)/i,abbreviated:/^(খ্রিঃপূর্ব|খ্রিঃ)/i,wide:/^(খ্রিস্টপূর্ব|খ্রিস্টাব্দ)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^খ্রিঃপূঃ/i,/^খ্রিঃ/i],abbreviated:[/^খ্রিঃপূর্ব/i,/^খ্রিঃ/i],wide:[/^খ্রিস্টপূর্ব/i,/^খ্রিস্টাব্দ/i]},defaultParseWidth:"any"}),quarter:(0,c.A)({matchPatterns:{narrow:/^[১২৩৪]/i,abbreviated:/^[১২৩৪]ত্রৈ/i,wide:/^[১২৩৪](ম|য়|র্থ)? ত্রৈমাসিক/i},defaultMatchWidth:"wide",parsePatterns:{any:[/১/i,/২/i,/৩/i,/৪/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,c.A)({matchPatterns:{narrow:/^(জানু|ফেব্রু|মার্চ|এপ্রিল|মে|জুন|জুলাই|আগস্ট|সেপ্ট|অক্টো|নভে|ডিসে)/i,abbreviated:/^(জানু|ফেব্রু|মার্চ|এপ্রিল|মে|জুন|জুলাই|আগস্ট|সেপ্ট|অক্টো|নভে|ডিসে)/i,wide:/^(জানুয়ারি|ফেব্রুয়ারি|মার্চ|এপ্রিল|মে|জুন|জুলাই|আগস্ট|সেপ্টেম্বর|অক্টোবর|নভেম্বর|ডিসেম্বর)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^জানু/i,/^ফেব্রু/i,/^মার্চ/i,/^এপ্রিল/i,/^মে/i,/^জুন/i,/^জুলাই/i,/^আগস্ট/i,/^সেপ্ট/i,/^অক্টো/i,/^নভে/i,/^ডিসে/i]},defaultParseWidth:"any"}),day:(0,c.A)({matchPatterns:{narrow:/^(র|সো|ম|বু|বৃ|শু|শ)+/i,short:/^(রবি|সোম|মঙ্গল|বুধ|বৃহ|শুক্র|শনি)+/i,abbreviated:/^(রবি|সোম|মঙ্গল|বুধ|বৃহ|শুক্র|শনি)+/i,wide:/^(রবিবার|সোমবার|মঙ্গলবার|বুধবার|বৃহস্পতিবার |শুক্রবার|শনিবার)+/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^র/i,/^সো/i,/^ম/i,/^বু/i,/^বৃ/i,/^শু/i,/^শ/i],short:[/^রবি/i,/^সোম/i,/^মঙ্গল/i,/^বুধ/i,/^বৃহ/i,/^শুক্র/i,/^শনি/i],abbreviated:[/^রবি/i,/^সোম/i,/^মঙ্গল/i,/^বুধ/i,/^বৃহ/i,/^শুক্র/i,/^শনি/i],wide:[/^রবিবার/i,/^সোমবার/i,/^মঙ্গলবার/i,/^বুধবার/i,/^বৃহস্পতিবার /i,/^শুক্রবার/i,/^শনিবার/i]},defaultParseWidth:"any"}),dayPeriod:(0,c.A)({matchPatterns:{narrow:/^(পূ|অপ|মধ্যরাত|মধ্যাহ্ন|সকাল|বিকাল|সন্ধ্যা|রাত)/i,abbreviated:/^(পূর্বাহ্ন|অপরাহ্ন|মধ্যরাত|মধ্যাহ্ন|সকাল|বিকাল|সন্ধ্যা|রাত)/i,wide:/^(পূর্বাহ্ন|অপরাহ্ন|মধ্যরাত|মধ্যাহ্ন|সকাল|বিকাল|সন্ধ্যা|রাত)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^পূ/i,pm:/^অপ/i,midnight:/^মধ্যরাত/i,noon:/^মধ্যাহ্ন/i,morning:/সকাল/i,afternoon:/বিকাল/i,evening:/সন্ধ্যা/i,night:/রাত/i}},defaultParseWidth:"any"})};const $={formatDistance:function(e,t,n){var r;return n=n||{},r="string"==typeof D[e]?D[e]:1===t?D[e].one:D[e].other.replace("{{count}}",I.numberToLocale(t)),n.addSuffix?n.comparison>0?r+" এর মধ্যে":r+" আগে":r},formatLong:R,formatRelative:function(e,t,n,r){return N[e]},localize:I,match:L,options:{weekStartsOn:0,firstWeekContainsDate:1}};var j={lessThanXSeconds:{one:"menys d'un segon",eleven:"menys d'onze segons",other:"menys de {{count}} segons"},xSeconds:{one:"1 segon",other:"{{count}} segons"},halfAMinute:"mig minut",lessThanXMinutes:{one:"menys d'un minut",eleven:"menys d'onze minuts",other:"menys de {{count}} minuts"},xMinutes:{one:"1 minut",other:"{{count}} minuts"},aboutXHours:{one:"aproximadament una hora",other:"aproximadament {{count}} hores"},xHours:{one:"1 hora",other:"{{count}} hores"},xDays:{one:"1 dia",other:"{{count}} dies"},aboutXMonths:{one:"aproximadament un mes",other:"aproximadament {{count}} mesos"},xMonths:{one:"1 mes",other:"{{count}} mesos"},aboutXYears:{one:"aproximadament un any",other:"aproximadament {{count}} anys"},xYears:{one:"1 any",other:"{{count}} anys"},overXYears:{one:"més d'un any",eleven:"més d'onze anys",other:"més de {{count}} anys"},almostXYears:{one:"gairebé un any",other:"gairebé {{count}} anys"}},F={date:(0,a.A)({formats:{full:"EEEE, d 'de' MMMM y",long:"d 'de' MMMM y",medium:"d MMM y",short:"dd/MM/y"},defaultWidth:"full"}),time:(0,a.A)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,a.A)({formats:{full:"{{date}} 'a les' {{time}}",long:"{{date}} 'a les' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},B={lastWeek:"'el' eeee 'passat a la' LT",yesterday:"'ahir a la' p",today:"'avui a la' p",tomorrow:"'demà a la' p",nextWeek:"eeee 'a la' p",other:"P"},z={lastWeek:"'el' eeee 'passat a les' p",yesterday:"'ahir a les' p",today:"'avui a les' p",tomorrow:"'demà a les' p",nextWeek:"eeee 'a les' p",other:"P"};const W={formatDistance:function(e,t,n){var r;return n=n||{},r="string"==typeof j[e]?j[e]:1===t?j[e].one:11===t&&j[e].eleven?j[e].eleven:j[e].other.replace("{{count}}",t),n.addSuffix?n.comparison>0?"en "+r:"fa "+r:r},formatLong:F,formatRelative:function(e,t,n,r){return 1!==t.getUTCHours()?z[e]:B[e]},localize:{ordinalNumber:function(e,t){var n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:case 3:return n+"r";case 2:return n+"n";case 4:return n+"t"}return n+"è"},era:(0,s.A)({values:{narrow:["aC","dC"],abbreviated:["a. de C.","d. de C."],wide:["abans de Crist","després de Crist"]},defaultWidth:"wide"}),quarter:(0,s.A)({values:{narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1r trimestre","2n trimestre","3r trimestre","4t trimestre"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,s.A)({values:{narrow:["GN","FB","MÇ","AB","MG","JN","JL","AG","ST","OC","NV","DS"],abbreviated:["gen.","febr.","març","abr.","maig","juny","jul.","ag.","set.","oct.","nov.","des."],wide:["gener","febrer","març","abril","maig","juny","juliol","agost","setembre","octubre","novembre","desembre"]},defaultWidth:"wide"}),day:(0,s.A)({values:{narrow:["dg.","dl.","dt.","dm.","dj.","dv.","ds."],short:["dg.","dl.","dt.","dm.","dj.","dv.","ds."],abbreviated:["dg.","dl.","dt.","dm.","dj.","dv.","ds."],wide:["diumenge","dilluns","dimarts","dimecres","dijous","divendres","dissabte"]},defaultWidth:"wide"}),dayPeriod:(0,s.A)({values:{narrow:{am:"am",pm:"pm",midnight:"mitjanit",noon:"migdia",morning:"matí",afternoon:"tarda",evening:"vespre",night:"nit"},abbreviated:{am:"a.m.",pm:"p.m.",midnight:"mitjanit",noon:"migdia",morning:"matí",afternoon:"tarda",evening:"vespre",night:"nit"},wide:{am:"ante meridiem",pm:"post meridiem",midnight:"mitjanit",noon:"migdia",morning:"matí",afternoon:"tarda",evening:"vespre",night:"nit"}},defaultWidth:"wide",formattingValues:{narrow:{am:"am",pm:"pm",midnight:"de la mitjanit",noon:"del migdia",morning:"del matí",afternoon:"de la tarda",evening:"del vespre",night:"de la nit"},abbreviated:{am:"AM",pm:"PM",midnight:"de la mitjanit",noon:"del migdia",morning:"del matí",afternoon:"de la tarda",evening:"del vespre",night:"de la nit"},wide:{am:"ante meridiem",pm:"post meridiem",midnight:"de la mitjanit",noon:"del migdia",morning:"del matí",afternoon:"de la tarda",evening:"del vespre",night:"de la nit"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(0,u.A)({matchPattern:/^(\d+)(è|r|n|r|t)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,c.A)({matchPatterns:{narrow:/^(aC|dC)/i,abbreviated:/^(a. de C.|d. de C.)/i,wide:/^(abans de Crist|despr[eé]s de Crist)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^aC/i,/^dC/i],abbreviated:[/^(a. de C.)/i,/^(d. de C.)/i],wide:[/^(abans de Crist)/i,/^(despr[eé]s de Crist)/i]},defaultParseWidth:"any"}),quarter:(0,c.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](è|r|n|r|t)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,c.A)({matchPatterns:{narrow:/^(GN|FB|MÇ|AB|MG|JN|JL|AG|ST|OC|NV|DS)/i,abbreviated:/^(gen.|febr.|març|abr.|maig|juny|jul.|ag.|set.|oct.|nov.|des.)/i,wide:/^(gener|febrer|març|abril|maig|juny|juliol|agost|setembre|octubre|novembre|desembre)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^GN/i,/^FB/i,/^MÇ/i,/^AB/i,/^MG/i,/^JN/i,/^JL/i,/^AG/i,/^ST/i,/^OC/i,/^NV/i,/^DS/i],abbreviated:[/^gen./i,/^febr./i,/^març/i,/^abr./i,/^maig/i,/^juny/i,/^jul./i,/^ag./i,/^set./i,/^oct./i,/^nov./i,/^des./i],wide:[/^gener/i,/^febrer/i,/^març/i,/^abril/i,/^maig/i,/^juny/i,/^juliol/i,/^agost/i,/^setembre/i,/^octubre/i,/^novembre/i,/^desembre/i]},defaultParseWidth:"any"}),day:(0,c.A)({matchPatterns:{narrow:/^(dg\.|dl\.|dt\.|dm\.|dj\.|dv\.|ds\.)/i,short:/^(dg\.|dl\.|dt\.|dm\.|dj\.|dv\.|ds\.)/i,abbreviated:/^(dg\.|dl\.|dt\.|dm\.|dj\.|dv\.|ds\.)/i,wide:/^(diumenge|dilluns|dimarts|dimecres|dijous|divendres|dissabte)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^dg./i,/^dl./i,/^dt./i,/^dm./i,/^dj./i,/^dv./i,/^ds./i],abbreviated:[/^dg./i,/^dl./i,/^dt./i,/^dm./i,/^dj./i,/^dv./i,/^ds./i],wide:[/^diumenge/i,/^dilluns/i,/^dimarts/i,/^dimecres/i,/^dijous/i,/^divendres/i,/^disssabte/i]},defaultParseWidth:"any"}),dayPeriod:(0,c.A)({matchPatterns:{narrow:/^(a|p|mn|md|(del|de la) (matí|tarda|vespre|nit))/i,abbreviated:/^([ap]\.?\s?m\.?|mitjanit|migdia|(del|de la) (matí|tarda|vespre|nit))/i,wide:/^(ante meridiem|post meridiem|mitjanit|migdia|(del|de la) (matí|tarda|vespre|nit))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mitjanit/i,noon:/^migdia/i,morning:/matí/i,afternoon:/tarda/i,evening:/vespre/i,night:/nit/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}};var V={lessThanXSeconds:{one:{regular:"méně než vteřina",past:"před méně než vteřinou",future:"za méně než vteřinu"},few:{regular:"méně než {{count}} vteřiny",past:"před méně než {{count}} vteřinami",future:"za méně než {{count}} vteřiny"},many:{regular:"méně než {{count}} vteřin",past:"před méně než {{count}} vteřinami",future:"za méně než {{count}} vteřin"}},xSeconds:{one:{regular:"vteřina",past:"před vteřinou",future:"za vteřinu"},few:{regular:"{{count}} vteřiny",past:"před {{count}} vteřinami",future:"za {{count}} vteřiny"},many:{regular:"{{count}} vteřin",past:"před {{count}} vteřinami",future:"za {{count}} vteřin"}},halfAMinute:{other:{regular:"půl minuty",past:"před půl minutou",future:"za půl minuty"}},lessThanXMinutes:{one:{regular:"méně než minuta",past:"před méně než minutou",future:"za méně než minutu"},few:{regular:"méně než {{count}} minuty",past:"před méně než {{count}} minutami",future:"za méně než {{count}} minuty"},many:{regular:"méně než {{count}} minut",past:"před méně než {{count}} minutami",future:"za méně než {{count}} minut"}},xMinutes:{one:{regular:"minuta",past:"před minutou",future:"za minutu"},few:{regular:"{{count}} minuty",past:"před {{count}} minutami",future:"za {{count}} minuty"},many:{regular:"{{count}} minut",past:"před {{count}} minutami",future:"za {{count}} minut"}},aboutXHours:{one:{regular:"přibližně hodina",past:"přibližně před hodinou",future:"přibližně za hodinu"},few:{regular:"přibližně {{count}} hodiny",past:"přibližně před {{count}} hodinami",future:"přibližně za {{count}} hodiny"},many:{regular:"přibližně {{count}} hodin",past:"přibližně před {{count}} hodinami",future:"přibližně za {{count}} hodin"}},xHours:{one:{regular:"hodina",past:"před hodinou",future:"za hodinu"},few:{regular:"{{count}} hodiny",past:"před {{count}} hodinami",future:"za {{count}} hodiny"},many:{regular:"{{count}} hodin",past:"před {{count}} hodinami",future:"za {{count}} hodin"}},xDays:{one:{regular:"den",past:"před dnem",future:"za den"},few:{regular:"{{count}} dni",past:"před {{count}} dny",future:"za {{count}} dny"},many:{regular:"{{count}} dní",past:"před {{count}} dny",future:"za {{count}} dní"}},aboutXMonths:{one:{regular:"přibližně měsíc",past:"přibližně před měsícem",future:"přibližně za měsíc"},few:{regular:"přibližně {{count}} měsíce",past:"přibližně před {{count}} měsíci",future:"přibližně za {{count}} měsíce"},many:{regular:"přibližně {{count}} měsíců",past:"přibližně před {{count}} měsíci",future:"přibližně za {{count}} měsíců"}},xMonths:{one:{regular:"měsíc",past:"před měsícem",future:"za měsíc"},few:{regular:"{{count}} měsíce",past:"před {{count}} měsíci",future:"za {{count}} měsíce"},many:{regular:"{{count}} měsíců",past:"před {{count}} měsíci",future:"za {{count}} měsíců"}},aboutXYears:{one:{regular:"přibližně rok",past:"přibližně před rokem",future:"přibližně za rok"},few:{regular:"přibližně {{count}} roky",past:"přibližně před {{count}} roky",future:"přibližně za {{count}} roky"},many:{regular:"přibližně {{count}} roků",past:"přibližně před {{count}} roky",future:"přibližně za {{count}} roků"}},xYears:{one:{regular:"rok",past:"před rokem",future:"za rok"},few:{regular:"{{count}} roky",past:"před {{count}} roky",future:"za {{count}} roky"},many:{regular:"{{count}} roků",past:"před {{count}} roky",future:"za {{count}} roků"}},overXYears:{one:{regular:"více než rok",past:"před více než rokem",future:"za více než rok"},few:{regular:"více než {{count}} roky",past:"před více než {{count}} roky",future:"za více než {{count}} roky"},many:{regular:"více než {{count}} roků",past:"před více než {{count}} roky",future:"za více než {{count}} roků"}},almostXYears:{one:{regular:"skoro rok",past:"skoro před rokem",future:"skoro za rok"},few:{regular:"skoro {{count}} roky",past:"skoro před {{count}} roky",future:"skoro za {{count}} roky"},many:{regular:"skoro {{count}} roků",past:"skoro před {{count}} roky",future:"skoro za {{count}} roků"}}},U={date:(0,a.A)({formats:{full:"EEEE, d. MMMM yyyy",long:"d. MMMM yyyy",medium:"d.M.yyyy",short:"d.M.yy"},defaultWidth:"full"}),time:(0,a.A)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:(0,a.A)({formats:{full:"{{date}} 'v' {{time}}",long:"{{date}} 'v' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},H=["neděli","pondělí","úterý","středu","čtvrtek","pátek","sobotu"],q={lastWeek:"'poslední' eeee 've' p",yesterday:"'včera v' p",today:"'dnes v' p",tomorrow:"'zítra v' p",nextWeek:function(e,t,n){var r=e.getUTCDay();return"'v "+H[r]+" o' p"},other:"P"};const G={formatDistance:function(e,t,n){n=n||{};var r,a=V[e];r="object"==typeof a.other?"other":1===t?"one":t>1&&t<5||0===t?"few":"many";var o,i=!0===n.addSuffix,s=n.comparison;return o=i&&-1===s?"past":i&&1===s?"future":"regular",a[r][o].replace("{{count}}",t)},formatLong:U,formatRelative:function(e,t,n,r){var a=q[e];return"function"==typeof a?a(t,n,r):a},localize:{ordinalNumber:function(e){return Number(e)+"."},era:(0,s.A)({values:{narrow:["př. n. l.","n. l."],abbreviated:["př. n. l.","n. l."],wide:["před naším letopočtem","našeho letopočtu"]},defaultWidth:"wide"}),quarter:(0,s.A)({values:{narrow:["1","2","3","4"],abbreviated:["1. čtvrtletí","2. čtvrtletí","3. čtvrtletí","4. čtvrtletí"],wide:["1. čtvrtletí","2. čtvrtletí","3. čtvrtletí","4. čtvrtletí"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,s.A)({values:{narrow:["L","Ú","B","D","K","Č","Č","S","Z","Ř","L","P"],abbreviated:["led","úno","bře","dub","kvě","čvn","čvc","srp","zář","říj","lis","pro"],wide:["leden","únor","březen","duben","květen","červen","červenec","srpen","září","říjen","listopad","prosinec"]},defaultWidth:"wide",formattingValues:{narrow:["L","Ú","B","D","K","Č","Č","S","Z","Ř","L","P"],abbreviated:["led","úno","bře","dub","kvě","čvn","čvc","srp","zář","říj","lis","pro"],wide:["ledna","února","března","dubna","května","června","července","srpna","září","října","listopadu","prosince"]},defaultFormattingWidth:"wide"}),day:(0,s.A)({values:{narrow:["ne","po","út","st","čt","pá","so"],short:["ne","po","út","st","čt","pá","so"],abbreviated:["ned","pon","úte","stř","čtv","pát","sob"],wide:["neděle","pondělí","úterý","středa","čtvrtek","pátek","sobota"]},defaultWidth:"wide"}),dayPeriod:(0,s.A)({values:{narrow:{am:"dop.",pm:"odp.",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"},abbreviated:{am:"dop.",pm:"odp.",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"},wide:{am:"dopoledne",pm:"odpoledne",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"}},defaultWidth:"wide",formattingValues:{narrow:{am:"dop.",pm:"odp.",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"},abbreviated:{am:"dop.",pm:"odp.",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"},wide:{am:"dopoledne",pm:"odpoledne",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(0,u.A)({matchPattern:/^(\d+)\.?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,c.A)({matchPatterns:{narrow:/^(p[řr]ed Kr\.|pred n\. l\.|po Kr\.|n\. l\.)/i,abbreviated:/^(pe[řr]ed Kr\.|pe[řr]ed n\. l\.|po Kr\.|n\. l\.)/i,wide:/^(p[řr]ed Kristem|pred na[šs][íi]m letopo[čc]tem|po Kristu|na[šs]eho letopo[čc]tu)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^p[řr]/i,/^(po|n)/i]},defaultParseWidth:"any"}),quarter:(0,c.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^[1234]\. [čc]tvrtlet[íi]/i,wide:/^[1234]\. [čc]tvrtlet[íi]/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,c.A)({matchPatterns:{narrow:/^[lúubdkčcszřrlp]/i,abbreviated:/^(led|[úu]no|b[řr]e|dub|kv[ěe]|[čc]vn|[čc]vc|srp|z[áa][řr]|[řr][íi]j|lis|pro)/i,wide:/^(leden|ledna|[úu]nora?|b[řr]ezen|b[řr]ezna|duben|dubna|kv[ěe]ten|kv[ěe]tna|[čc]erven(ec|ce)?|[čc]ervna|srpen|srpna|z[áa][řr][íi]|[řr][íi]jen|[řr][íi]jna|listopad(a|u)?|prosinec|prosince)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^l/i,/^[úu]/i,/^b/i,/^d/i,/^k/i,/^[čc]/i,/^[čc]/i,/^s/i,/^z/i,/^[řr]/i,/^l/i,/^p/i],any:[/^led/i,/^[úu]n/i,/^b[řr]e/i,/^dub/i,/^kv[ěe]/i,/^[čc]vn|[čc]erven(?!\w)|[čc]ervna/i,/^[čc]vc|[čc]erven(ec|ce)/i,/^srp/i,/^z[áa][řr]/i,/^[řr][íi]j/i,/^lis/i,/^pro/i]},defaultParseWidth:"any"}),day:(0,c.A)({matchPatterns:{narrow:/^[npuúsčps]/i,short:/^(ne|po|[úu]t|st|[čc]t|p[áa]|so)/i,abbreviated:/^(ne|po|[úu]t|st|[čc]t|p[áa]|so)/i,wide:/^(ned[ěe]le|pond[ěe]l[íi]|[úu]ter[ýy]|st[řr]eda|[čc]tvrtek|p[áa]tek|sobota)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^n/i,/^p/i,/^[úu]/i,/^s/i,/^[čc]/i,/^p/i,/^s/i],any:[/^ne/i,/^po/i,/^ut/i,/^st/i,/^[čc]t/i,/^p/i,/^so/i]},defaultParseWidth:"any"}),dayPeriod:(0,c.A)({matchPatterns:{any:/^dopoledne|dop\.?|odpoledne|odp\.?|půlnoc|poledne|r[áa]no|odpoledne|ve[čc]er|(v )?noci/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^dop/i,pm:/^odp/i,midnight:/^p[ůu]lnoc/i,noon:/^poledne/i,morning:/r[áa]no/i,afternoon:/odpoledne/i,evening:/ve[čc]er/i,night:/noc/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}};var Y={lessThanXSeconds:{one:"llai na eiliad",other:"llai na {{count}} eiliad"},xSeconds:{one:"1 eiliad",other:"{{count}} eiliad"},halfAMinute:"hanner munud",lessThanXMinutes:{one:"llai na munud",two:"llai na 2 funud",other:"llai na {{count}} munud"},xMinutes:{one:"1 funud",two:"2 funud",other:"{{count}} munud"},aboutXHours:{one:"tua 1 awr",other:"tua {{count}} awr"},xHours:{one:"1 awr",other:"{{count}} awr"},xDays:{one:"1 diwrnod",other:"{{count}} diwrnod"},aboutXMonths:{one:"tua 1 mis",two:"tua 2 fis",other:"tua {{count}} mis"},xMonths:{one:"1 mis",two:"2 fis",other:"{{count}} mis"},aboutXYears:{one:"tua 1 flwyddyn",two:"tua 2 flynedd",other:"tua {{count}} mlynedd"},xYears:{one:"1 flwyddyn",two:"2 flynedd",other:"{{count}} mlynedd"},overXYears:{one:"dros 1 flwyddyn",two:"dros 2 flynedd",other:"dros {{count}} mlynedd"},almostXYears:{one:"bron 1 flwyddyn",two:"bron 2 flynedd",other:"bron {{count}} mlynedd"}},X={date:(0,a.A)({formats:{full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"dd/MM/yyyy"},defaultWidth:"full"}),time:(0,a.A)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:(0,a.A)({formats:{full:"{{date}} 'am' {{time}}",long:"{{date}} 'am' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},K={lastWeek:"eeee 'diwethaf am' p",yesterday:"'ddoe am' p",today:"'heddiw am' p",tomorrow:"'yfory am' p",nextWeek:"eeee 'am' p",other:"P"};const Q={formatDistance:function(e,t,n){var r;return n=n||{},r="string"==typeof Y[e]?Y[e]:1===t?Y[e].one:2===t&&Y[e].two?Y[e].two:Y[e].other.replace("{{count}}",t),n.addSuffix?n.comparison>0?"mewn "+r:r+" yn ôl":r},formatLong:X,formatRelative:function(e,t,n,r){return K[e]},localize:{ordinalNumber:function(e,t){var n=Number(e);if(n<20)switch(n){case 0:case 7:case 8:case 9:case 10:case 12:case 15:case 18:return n+"fed";case 1:return n+"af";case 2:return n+"ail";case 3:case 4:return n+"ydd";case 5:case 6:return n+"ed";case 11:case 13:case 14:case 16:case 17:case 19:return n+"eg"}else if(n>=50&&n<=60||80===n||n>=100)return n+"fed";return n+"ain"},era:(0,s.A)({values:{narrow:["C","O"],abbreviated:["CC","OC"],wide:["Cyn Crist","Ar ôl Crist"]},defaultWidth:"wide"}),quarter:(0,s.A)({values:{narrow:["1","2","3","4"],abbreviated:["Ch1","Ch2","Ch3","Ch4"],wide:["Chwarter 1af","2ail chwarter","3ydd chwarter","4ydd chwarter"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,s.A)({values:{narrow:["I","Ch","Ma","E","Mi","Me","G","A","Md","H","T","Rh"],abbreviated:["Ion","Chwe","Maw","Ebr","Mai","Meh","Gor","Aws","Med","Hyd","Tach","Rhag"],wide:["Ionawr","Chwefror","Mawrth","Ebrill","Mai","Mehefin","Gorffennaf","Awst","Medi","Hydref","Tachwedd","Rhagfyr"]},defaultWidth:"wide"}),day:(0,s.A)({values:{narrow:["S","Ll","M","M","I","G","S"],short:["Su","Ll","Ma","Me","Ia","Gw","Sa"],abbreviated:["Sul","Llun","Maw","Mer","Iau","Gwe","Sad"],wide:["dydd Sul","dydd Llun","dydd Mawrth","dydd Mercher","dydd Iau","dydd Gwener","dydd Sadwrn"]},defaultWidth:"wide"}),dayPeriod:(0,s.A)({values:{narrow:{am:"b",pm:"h",midnight:"hn",noon:"hd",morning:"bore",afternoon:"prynhawn",evening:"gyda'r nos",night:"nos"},abbreviated:{am:"yb",pm:"yh",midnight:"hanner nos",noon:"hanner dydd",morning:"bore",afternoon:"prynhawn",evening:"gyda'r nos",night:"nos"},wide:{am:"y.b.",pm:"y.h.",midnight:"hanner nos",noon:"hanner dydd",morning:"bore",afternoon:"prynhawn",evening:"gyda'r nos",night:"nos"}},defaultWidth:"wide",formattingValues:{narrow:{am:"b",pm:"h",midnight:"hn",noon:"hd",morning:"yn y bore",afternoon:"yn y prynhawn",evening:"gyda'r nos",night:"yn y nos"},abbreviated:{am:"yb",pm:"yh",midnight:"hanner nos",noon:"hanner dydd",morning:"yn y bore",afternoon:"yn y prynhawn",evening:"gyda'r nos",night:"yn y nos"},wide:{am:"y.b.",pm:"y.h.",midnight:"hanner nos",noon:"hanner dydd",morning:"yn y bore",afternoon:"yn y prynhawn",evening:"gyda'r nos",night:"yn y nos"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(0,u.A)({matchPattern:/^(\d+)(af|ail|ydd|ed|fed|eg|ain)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,c.A)({matchPatterns:{narrow:/^(c|o)/i,abbreviated:/^(c\.?\s?c\.?|o\.?\s?c\.?)/i,wide:/^(cyn christ|ar ôl crist|ar ol crist)/i},defaultMatchWidth:"wide",parsePatterns:{wide:[/^c/i,/^(ar ôl crist|ar ol crist)/i],any:[/^c/i,/^o/i]},defaultParseWidth:"any"}),quarter:(0,c.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^ch[1234]/i,wide:/^(chwarter 1af)|([234](ail|ydd)? chwarter)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,c.A)({matchPatterns:{narrow:/^(i|ch|m|e|g|a|h|t|rh)/i,abbreviated:/^(ion|chwe|maw|ebr|mai|meh|gor|aws|med|hyd|tach|rhag)/i,wide:/^(ionawr|chwefror|mawrth|ebrill|mai|mehefin|gorffennaf|awst|medi|hydref|tachwedd|rhagfyr)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^i/i,/^ch/i,/^m/i,/^e/i,/^m/i,/^m/i,/^g/i,/^a/i,/^m/i,/^h/i,/^t/i,/^rh/i],any:[/^io/i,/^ch/i,/^maw/i,/^e/i,/^mai/i,/^meh/i,/^g/i,/^a/i,/^med/i,/^h/i,/^t/i,/^rh/i]},defaultParseWidth:"any"}),day:(0,c.A)({matchPatterns:{narrow:/^(s|ll|m|i|g)/i,short:/^(su|ll|ma|me|ia|gw|sa)/i,abbreviated:/^(sul|llun|maw|mer|iau|gwe|sad)/i,wide:/^dydd (sul|llun|mawrth|mercher|iau|gwener|sadwrn)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^ll/i,/^m/i,/^m/i,/^i/i,/^g/i,/^s/i],wide:[/^dydd su/i,/^dydd ll/i,/^dydd ma/i,/^dydd me/i,/^dydd i/i,/^dydd g/i,/^dydd sa/i],any:[/^su/i,/^ll/i,/^ma/i,/^me/i,/^i/i,/^g/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,c.A)({matchPatterns:{narrow:/^(b|h|hn|hd|(yn y|y|yr|gyda'r) (bore|prynhawn|nos|hwyr))/i,any:/^(y\.?\s?[bh]\.?|hanner nos|hanner dydd|(yn y|y|yr|gyda'r) (bore|prynhawn|nos|hwyr))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^b|(y\.?\s?b\.?)/i,pm:/^h|(y\.?\s?h\.?)|(yr hwyr)/i,midnight:/^hn|hanner nos/i,noon:/^hd|hanner dydd/i,morning:/bore/i,afternoon:/prynhawn/i,evening:/^gyda'r nos$/i,night:/blah/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};var Z={lessThanXSeconds:{one:"mindre end ét sekund",other:"mindre end {{count}} sekunder"},xSeconds:{one:"1 sekund",other:"{{count}} sekunder"},halfAMinute:"ét halvt minut",lessThanXMinutes:{one:"mindre end ét minut",other:"mindre end {{count}} minutter"},xMinutes:{one:"1 minut",other:"{{count}} minutter"},aboutXHours:{one:"cirka 1 time",other:"cirka {{count}} timer"},xHours:{one:"1 time",other:"{{count}} timer"},xDays:{one:"1 dag",other:"{{count}} dage"},aboutXMonths:{one:"cirka 1 måned",other:"cirka {{count}} måneder"},xMonths:{one:"1 måned",other:"{{count}} måneder"},aboutXYears:{one:"cirka 1 år",other:"cirka {{count}} år"},xYears:{one:"1 år",other:"{{count}} år"},overXYears:{one:"over 1 år",other:"over {{count}} år"},almostXYears:{one:"næsten 1 år",other:"næsten {{count}} år"}},J={date:(0,a.A)({formats:{full:"EEEE 'den' d. MMMM y",long:"d. MMMM y",medium:"d. MMM y",short:"dd/MM/y"},defaultWidth:"full"}),time:(0,a.A)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,a.A)({formats:{full:"{{date}} 'kl'. {{time}}",long:"{{date}} 'kl'. {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},ee={lastWeek:"'sidste' eeee 'kl.' p",yesterday:"'i går kl.' p",today:"'i dag kl.' p",tomorrow:"'i morgen kl.' p",nextWeek:"'på' eeee 'kl.' p",other:"P"};const te={formatDistance:function(e,t,n){var r;return n=n||{},r="string"==typeof Z[e]?Z[e]:1===t?Z[e].one:Z[e].other.replace("{{count}}",t),n.addSuffix?n.comparison>0?"om "+r:r+" siden":r},formatLong:J,formatRelative:function(e,t,n,r){return ee[e]},localize:{ordinalNumber:function(e){return Number(e)+"."},era:(0,s.A)({values:{narrow:["fvt","vt"],abbreviated:["f.v.t.","v.t."],wide:["før vesterlandsk tidsregning","vesterlandsk tidsregning"]},defaultWidth:"wide"}),quarter:(0,s.A)({values:{narrow:["1","2","3","4"],abbreviated:["1. kvt.","2. kvt.","3. kvt.","4. kvt."],wide:["1. kvartal","2. kvartal","3. kvartal","4. kvartal"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,s.A)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan","feb","mar","apr","maj","jun","jul","aug","sep","okt","nov","dec"],wide:["januar","februar","marts","april","maj","juni","juli","august","september","oktober","november","december"]},defaultWidth:"wide"}),day:(0,s.A)({values:{narrow:["S","M","T","O","T","F","L"],short:["sø","ma","ti","on","to","fr","lø"],abbreviated:["søn.","man.","tir.","ons.","tor.","fre.","lør."],wide:["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"]},defaultWidth:"wide"}),dayPeriod:(0,s.A)({values:{narrow:{am:"a",pm:"p",midnight:"midnat",noon:"middag",morning:"morgen",afternoon:"eftermiddag",evening:"aften",night:"nat"},abbreviated:{am:"AM",pm:"PM",midnight:"midnat",noon:"middag",morning:"morgen",afternoon:"eftermiddag",evening:"aften",night:"nat"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnat",noon:"middag",morning:"morgen",afternoon:"eftermiddag",evening:"aften",night:"nat"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"midnat",noon:"middag",morning:"om morgenen",afternoon:"om eftermiddagen",evening:"om aftenen",night:"om natten"},abbreviated:{am:"AM",pm:"PM",midnight:"midnat",noon:"middag",morning:"om morgenen",afternoon:"om eftermiddagen",evening:"om aftenen",night:"om natten"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnat",noon:"middag",morning:"om morgenen",afternoon:"om eftermiddagen",evening:"om aftenen",night:"om natten"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(0,u.A)({matchPattern:/^(\d+)(\.)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,c.A)({matchPatterns:{narrow:/^(fKr|fvt|eKr|vt)/i,abbreviated:/^(f\.Kr\.?|f\.v\.t\.?|e\.Kr\.?|v\.t\.)/i,wide:/^(f.Kr.|før vesterlandsk tidsregning|e.Kr.|vesterlandsk tidsregning)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^f/i,/^(v|e)/i]},defaultParseWidth:"any"}),quarter:(0,c.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^[1234]. kvt\./i,wide:/^[1234]\.? kvartal/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,c.A)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|maj|jun|jul|aug|sep|okt|nov|dec)/i,wide:/^(januar|februar|marts|april|maj|juni|juli|august|september|oktober|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^maj/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,c.A)({matchPatterns:{narrow:/^[smtofl]/i,short:/^(søn.|man.|tir.|ons.|tor.|fre.|lør.)/i,abbreviated:/^(søn|man|tir|ons|tor|fre|lør)/i,wide:/^(søndag|mandag|tirsdag|onsdag|torsdag|fredag|lørdag)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^o/i,/^t/i,/^f/i,/^l/i],any:[/^s/i,/^m/i,/^ti/i,/^o/i,/^to/i,/^f/i,/^l/i]},defaultParseWidth:"any"}),dayPeriod:(0,c.A)({matchPatterns:{narrow:/^(a|p|midnat|middag|(om) (morgenen|eftermiddagen|aftenen|natten))/i,any:/^([ap]\.?\s?m\.?|midnat|middag|(om) (morgenen|eftermiddagen|aftenen|natten))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/midnat/i,noon:/middag/i,morning:/morgen/i,afternoon:/eftermiddag/i,evening:/aften/i,night:/nat/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}};var ne={lessThanXSeconds:{standalone:{one:"weniger als eine Sekunde",other:"weniger als {{count}} Sekunden"},withPreposition:{one:"weniger als einer Sekunde",other:"weniger als {{count}} Sekunden"}},xSeconds:{standalone:{one:"eine Sekunde",other:"{{count}} Sekunden"},withPreposition:{one:"einer Sekunde",other:"{{count}} Sekunden"}},halfAMinute:{standalone:"eine halbe Minute",withPreposition:"einer halben Minute"},lessThanXMinutes:{standalone:{one:"weniger als eine Minute",other:"weniger als {{count}} Minuten"},withPreposition:{one:"weniger als einer Minute",other:"weniger als {{count}} Minuten"}},xMinutes:{standalone:{one:"eine Minute",other:"{{count}} Minuten"},withPreposition:{one:"einer Minute",other:"{{count}} Minuten"}},aboutXHours:{standalone:{one:"etwa eine Stunde",other:"etwa {{count}} Stunden"},withPreposition:{one:"etwa einer Stunde",other:"etwa {{count}} Stunden"}},xHours:{standalone:{one:"eine Stunde",other:"{{count}} Stunden"},withPreposition:{one:"einer Stunde",other:"{{count}} Stunden"}},xDays:{standalone:{one:"ein Tag",other:"{{count}} Tage"},withPreposition:{one:"einem Tag",other:"{{count}} Tagen"}},aboutXMonths:{standalone:{one:"etwa ein Monat",other:"etwa {{count}} Monate"},withPreposition:{one:"etwa einem Monat",other:"etwa {{count}} Monaten"}},xMonths:{standalone:{one:"ein Monat",other:"{{count}} Monate"},withPreposition:{one:"einem Monat",other:"{{count}} Monaten"}},aboutXYears:{standalone:{one:"etwa ein Jahr",other:"etwa {{count}} Jahre"},withPreposition:{one:"etwa einem Jahr",other:"etwa {{count}} Jahren"}},xYears:{standalone:{one:"ein Jahr",other:"{{count}} Jahre"},withPreposition:{one:"einem Jahr",other:"{{count}} Jahren"}},overXYears:{standalone:{one:"mehr als ein Jahr",other:"mehr als {{count}} Jahre"},withPreposition:{one:"mehr als einem Jahr",other:"mehr als {{count}} Jahren"}},almostXYears:{standalone:{one:"fast ein Jahr",other:"fast {{count}} Jahre"},withPreposition:{one:"fast einem Jahr",other:"fast {{count}} Jahren"}}},re={date:(0,a.A)({formats:{full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM. y",short:"dd.MM.y"},defaultWidth:"full"}),time:(0,a.A)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,a.A)({formats:{full:"{{date}} 'um' {{time}}",long:"{{date}} 'um' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},ae={lastWeek:"'letzten' eeee 'um' p",yesterday:"'gestern um' p",today:"'heute um' p",tomorrow:"'morgen um' p",nextWeek:"eeee 'um' p",other:"P"};const oe={formatDistance:function(e,t,n){var r,a=(n=n||{}).addSuffix?ne[e].withPreposition:ne[e].standalone;return r="string"==typeof a?a:1===t?a.one:a.other.replace("{{count}}",t),n.addSuffix?n.comparison>0?"in "+r:"vor "+r:r},formatLong:re,formatRelative:function(e,t,n,r){return ae[e]},localize:{ordinalNumber:function(e,t){return Number(e)+"."},era:(0,s.A)({values:{narrow:["v.Chr.","n.Chr."],abbreviated:["v.Chr.","n.Chr."],wide:["vor Christus","nach Christus"]},defaultWidth:"wide"}),quarter:(0,s.A)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. Quartal","2. Quartal","3. Quartal","4. Quartal"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,s.A)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],wide:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]},defaultWidth:"wide"}),day:(0,s.A)({values:{narrow:["S","M","D","M","D","F","S"],short:["So","Mo","Di","Mi","Do","Fr","Sa"],abbreviated:["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],wide:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"]},defaultWidth:"wide"}),dayPeriod:(0,s.A)({values:{narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachm.",evening:"Abend",night:"Nacht"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"}},defaultWidth:"wide",formattingValues:{narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachm.",evening:"abends",night:"nachts"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(0,u.A)({matchPattern:/^(\d+)(\.)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,c.A)({matchPatterns:{narrow:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,abbreviated:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,wide:/^(vor Christus|vor unserer Zeitrechnung|nach Christus|unserer Zeitrechnung)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^v/i,/^n/i]},defaultParseWidth:"any"}),quarter:(0,c.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](\.)? Quartal/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,c.A)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mär|apr|mai|jun|jul|aug|sep|okt|nov|dez)/i,wide:/^(januar|februar|märz|april|mai|juni|juli|august|september|oktober|november|dezember)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mär/i,/^ap/i,/^mai/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,c.A)({matchPatterns:{narrow:/^[smdmf]/i,short:/^(so|mo|di|mi|do|fr|sa)/i,abbreviated:/^(son?|mon?|die?|mit?|don?|fre?|sam?)\.?/i,wide:/^(sonntag|montag|dienstag|mittwoch|donnerstag|freitag|samstag)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^so/i,/^mo/i,/^di/i,/^mi/i,/^do/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,c.A)({matchPatterns:{narrow:/^(vm\.?|nm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,abbreviated:/^(vorm\.?|nachm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,wide:/^(vormittags|nachmittags|Mitternacht|Mittag|morgens|nachmittags|abends|nachts)/i},defaultMatchWidth:"wide",parsePatterns:{any:{am:/^v/i,pm:/^n/i,midnight:/^Mitte/i,noon:/^Mitta/i,morning:/morgens/i,afternoon:/nachmittags/i,evening:/abends/i,night:/nachts/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}};var ie={lessThanXSeconds:{one:"λιγότερο από ένα δευτερόλεπτο",other:"λιγότερο από {{count}} δευτερόλεπτα"},xSeconds:{one:"1 δευτερόλεπτο",other:"{{count}} δευτερόλεπτα"},halfAMinute:"μισό λεπτό",lessThanXMinutes:{one:"λιγότερο από ένα λεπτό",other:"λιγότερο από {{count}} λεπτά"},xMinutes:{one:"1 λεπτό",other:"{{count}} λεπτά"},aboutXHours:{one:"περίπου 1 ώρα",other:"περίπου {{count}} ώρες"},xHours:{one:"1 ώρα",other:"{{count}} ώρες"},xDays:{one:"1 ημέρα",other:"{{count}} ημέρες"},aboutXMonths:{one:"περίπου 1 μήνας",other:"περίπου {{count}} μήνες"},xMonths:{one:"1 μήνας",other:"{{count}} μήνες"},aboutXYears:{one:"περίπου 1 χρόνο",other:"περίπου {{count}} χρόνια"},xYears:{one:"1 χρόνο",other:"{{count}} χρόνια"},overXYears:{one:"πάνω από 1 χρόνο",other:"πάνω από {{count}} χρόνια"},almostXYears:{one:"περίπου 1 χρόνο",other:"περίπου {{count}} χρόνια"}},se={date:(0,a.A)({formats:{full:"EEEE, d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"d/M/yy"},defaultWidth:"full"}),time:(0,a.A)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:(0,a.A)({formats:{full:"{{date}} - {{time}}",long:"{{date}} - {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},le={lastWeek:"'την προηγούμενη' eeee 'στις' p",yesterday:"'χθες στις' p",today:"'σήμερα στις' p",tomorrow:"'αύριο στις' p",nextWeek:"eeee 'στις' p",other:"P"};const ue={formatDistance:function(e,t,n){var r;return n=n||{},r="string"==typeof ie[e]?ie[e]:1===t?ie[e].one:ie[e].other.replace("{{count}}",t),n.addSuffix?n.comparison>0?"σε "+r:r+" πριν":r},formatLong:se,formatRelative:function(e,t,n,r){return le[e]},localize:{ordinalNumber:function(e,t){var n=String((t||{}).unit);return e+("year"===n||"month"===n?"ος":"week"===n||"dayOfYear"===n||"day"===n||"hour"===n||"date"===n?"η":"ο")},era:(0,s.A)({values:{narrow:["πΧ","μΧ"],abbreviated:["π.Χ.","μ.Χ."],wide:["προ Χριστού","μετά Χριστόν"]},defaultWidth:"wide"}),quarter:(0,s.A)({values:{narrow:["1","2","3","4"],abbreviated:["Τ1","Τ2","Τ3","Τ4"],wide:["1ο τρίμηνο","2ο τρίμηνο","3ο τρίμηνο","4ο τρίμηνο"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,s.A)({values:{narrow:["Ι","Φ","Μ","Α","Μ","Ι","Ι","Α","Σ","Ο","Ν","Δ"],abbreviated:["Ιαν","Φεβ","Μάρ","Απρ","Μάι","Ιούν","Ιούλ","Αύγ","Σεπ","Οκτ","Νοέ","Δεκ"],wide:["Ιανουάριος","Φεβρουάριος","Μάρτιος","Απρίλιος","Μάιος","Ιούνιος","Ιούλιος","Αύγουστος","Σεπτέμβριος","Οκτώβριος","Νοέμβριος","Δεκέμβριος"]},defaultWidth:"wide",formattingValues:{narrow:["Ι","Φ","Μ","Α","Μ","Ι","Ι","Α","Σ","Ο","Ν","Δ"],abbreviated:["Ιαν","Φεβ","Μαρ","Απρ","Μαΐ","Ιουν","Ιουλ","Αυγ","Σεπ","Οκτ","Νοε","Δεκ"],wide:["Ιανουαρίου","Φεβρουαρίου","Μαρτίου","Απριλίου","Μαΐου","Ιουνίου","Ιουλίου","Αυγούστου","Σεπτεμβρίου","Οκτωβρίου","Νοεμβρίου","Δεκεμβρίου"]},defaultFormattingWidth:"wide"}),day:(0,s.A)({values:{narrow:["Κ","Δ","T","Τ","Π","Π","Σ"],short:["Κυ","Δε","Τρ","Τε","Πέ","Πα","Σά"],abbreviated:["Κυρ","Δευ","Τρί","Τετ","Πέμ","Παρ","Σάβ"],wide:["Κυριακή","Δευτέρα","Τρίτη","Τετάρτη","Πέμπτη","Παρασκευή","Σάββατο"]},defaultWidth:"wide"}),dayPeriod:(0,s.A)({values:{narrow:{am:"πμ",pm:"μμ",midnight:"μεσάνυχτα",noon:"μεσημέρι",morning:"πρωί",afternoon:"απόγευμα",evening:"βράδυ",night:"νύχτα"},abbreviated:{am:"π.μ.",pm:"μ.μ.",midnight:"μεσάνυχτα",noon:"μεσημέρι",morning:"πρωί",afternoon:"απόγευμα",evening:"βράδυ",night:"νύχτα"},wide:{am:"π.μ.",pm:"μ.μ.",midnight:"μεσάνυχτα",noon:"μεσημέρι",morning:"πρωί",afternoon:"απόγευμα",evening:"βράδυ",night:"νύχτα"}},defaultWidth:"wide"})},match:{ordinalNumber:(0,u.A)({matchPattern:/^(\d+)(ος|η|ο)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,c.A)({matchPatterns:{narrow:/^(πΧ|μΧ)/i,abbreviated:/^(π\.?\s?χ\.?|π\.?\s?κ\.?\s?χ\.?|μ\.?\s?χ\.?|κ\.?\s?χ\.?)/i,wide:/^(προ Χριστο(ύ|υ)|πριν απ(ό|ο) την Κοιν(ή|η) Χρονολογ(ί|ι)α|μετ(ά|α) Χριστ(ό|ο)ν|Κοιν(ή|η) Χρονολογ(ί|ι)α)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^π/i,/^(μ|κ)/i]},defaultParseWidth:"any"}),quarter:(0,c.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^τ[1234]/i,wide:/^[1234]ο? τρ(ί|ι)μηνο/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,c.A)({matchPatterns:{narrow:/^[ιφμαμιιασονδ]/i,abbreviated:/^(ιαν|φεβ|μ[άα]ρ|απρ|μ[άα][ιΐ]|ιο[ύυ]ν|ιο[ύυ]λ|α[ύυ]γ|σεπ|οκτ|νο[έε]|δεκ)/i,wide:/^(μ[άα][ιΐ]|α[ύυ]γουστ)(ος|ου)|(ιανου[άα]ρ|φεβρου[άα]ρ|μ[άα]ρτ|απρ[ίι]λ|ιο[ύυ]ν|ιο[ύυ]λ|σεπτ[έε]μβρ|οκτ[ώω]βρ|νο[έε]μβρ|δεκ[έε]μβρ)(ιος|ίου)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^ι/i,/^φ/i,/^μ/i,/^α/i,/^μ/i,/^ι/i,/^ι/i,/^α/i,/^σ/i,/^ο/i,/^ν/i,/^δ/i],any:[/^ια/i,/^φ/i,/^μ[άα]ρ/i,/^απ/i,/^μ[άα][ιΐ]/i,/^ιο[ύυ]ν/i,/^ιο[ύυ]λ/i,/^α[ύυ]/i,/^σ/i,/^ο/i,/^ν/i,/^δ/i]},defaultParseWidth:"any"}),day:(0,c.A)({matchPatterns:{narrow:/^[κδτπ]/i,short:/^(κυ|δε|τρ|τε|πε|πα|σα)/i,abbreviated:/^(κυρ|δευ|τρι|τετ|πεμ|παρ|σαβ)/i,wide:/^(κυριακ(ή|η)|δευτ(έ|ε)ρα|τρ(ί|ι)τη|τετ(ά|α)ρτη|π(έ|ε)μπτη|παρασκευ(ή|η)|σ(ά|α)ββατο)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^κ/i,/^δ/i,/^τ/i,/^τ/i,/^π/i,/^π/i,/^σ/i],any:[/^κ/i,/^δ/i,/^τρ/i,/^τε/i,/^πε/i,/^πα/i,/^σ/i]},defaultParseWidth:"any"}),dayPeriod:(0,c.A)({matchPatterns:{narrow:/^(πμ|μμ|μεσ(ά|α)νυχτα|μεσημ(έ|ε)ρι|(τη|το) (πρω(ί|ι)|απ(ό|ο)γευμα|βρ(ά|α)δυ|ν(ύ|υ)χτα))/i,any:/^([πμ]\.?\s?μ\.?|μεσ(ά|α)νυχτα|μεσημ(έ|ε)ρι|(τη|το) (πρω(ί|ι)|απ(ό|ο)γευμα|βρ(ά|α)δυ|ν(ύ|υ)χτα))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^πμ/i,pm:/^μμ/i,midnight:/^μεσάν/i,noon:/^μεσημ(έ|ε)/i,morning:/πρω(ί|ι)/i,afternoon:/απ(ό|ο)γευμα/i,evening:/βρ(ά|α)δυ/i,night:/ν(ύ|υ)χτα/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}};var ce={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"a second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"a minute",other:"{{count}} minutes"},aboutXHours:{one:"about an hour",other:"about {{count}} hours"},xHours:{one:"an hour",other:"{{count}} hours"},xDays:{one:"a day",other:"{{count}} days"},aboutXMonths:{one:"about a month",other:"about {{count}} months"},xMonths:{one:"a month",other:"{{count}} months"},aboutXYears:{one:"about a year",other:"about {{count}} years"},xYears:{one:"a year",other:"{{count}} years"},overXYears:{one:"over a year",other:"over {{count}} years"},almostXYears:{one:"almost a year",other:"almost {{count}} years"}};const de={date:(0,a.A)({formats:{full:"EEEE, MMMM do, yyyy",long:"MMMM do, yyyy",medium:"MMM d, yyyy",short:"yyyy-MM-dd"},defaultWidth:"full"}),time:(0,a.A)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:(0,a.A)({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};var pe=n(18860),fe=n(71412),he=n(79028);const me={formatDistance:function(e,t,n){var r;return n=n||{},r="string"==typeof ce[e]?ce[e]:1===t?ce[e].one:ce[e].other.replace("{{count}}",t),n.addSuffix?n.comparison>0?"in "+r:r+" ago":r},formatLong:de,formatRelative:pe.A,localize:fe.A,match:he.A,options:{weekStartsOn:0,firstWeekContainsDate:1}};var ge=n(59475);const ve={date:(0,a.A)({formats:{full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"dd/MM/yyyy"},defaultWidth:"full"}),time:(0,a.A)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,a.A)({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},ye={formatDistance:ge.A,formatLong:ve,formatRelative:pe.A,localize:fe.A,match:he.A,options:{weekStartsOn:1,firstWeekContainsDate:4}};var be=n(91964),we={lessThanXSeconds:{one:"malpli ol sekundo",other:"malpli ol {{count}} sekundoj"},xSeconds:{one:"1 sekundo",other:"{{count}} sekundoj"},halfAMinute:"duonminuto",lessThanXMinutes:{one:"malpli ol minuto",other:"malpli ol {{count}} minutoj"},xMinutes:{one:"1 minuto",other:"{{count}} minutoj"},aboutXHours:{one:"proksimume 1 horo",other:"proksimume {{count}} horoj"},xHours:{one:"1 horo",other:"{{count}} horoj"},xDays:{one:"1 tago",other:"{{count}} tagoj"},aboutXMonths:{one:"proksimume 1 monato",other:"proksimume {{count}} monatoj"},xMonths:{one:"1 monato",other:"{{count}} monatoj"},aboutXYears:{one:"proksimume 1 jaro",other:"proksimume {{count}} jaroj"},xYears:{one:"1 jaro",other:"{{count}} jaroj"},overXYears:{one:"pli ol 1 jaro",other:"pli ol {{count}} jaroj"},almostXYears:{one:"preskaŭ 1 jaro",other:"preskaŭ {{count}} jaroj"}},xe={date:(0,a.A)({formats:{full:"EEEE, do 'de' MMMM y",long:"y-MMMM-dd",medium:"y-MMM-dd",short:"yyyy-MM-dd"},defaultWidth:"full"}),time:(0,a.A)({formats:{full:"Ho 'horo kaj' m:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,a.A)({formats:{any:"{{date}} {{time}}"},defaultWidth:"any"})},Se={lastWeek:"'pasinta' eeee 'je' p",yesterday:"'hieraŭ je' p",today:"'hodiaŭ je' p",tomorrow:"'morgaŭ je' p",nextWeek:"eeee 'je' p",other:"P"};const _e={formatDistance:function(e,t,n){var r;return n=n||{},r="string"==typeof we[e]?we[e]:1===t?we[e].one:we[e].other.replace("{{count}}",t),n.addSuffix?n.comparison>0?"post "+r:"antaŭ "+r:r},formatLong:xe,formatRelative:function(e,t,n,r){return Se[e]},localize:{ordinalNumber:function(e){return Number(e)+"-a"},era:(0,s.A)({values:{narrow:["aK","pK"],abbreviated:["a.K.E.","p.K.E."],wide:["antaŭ Komuna Erao","Komuna Erao"]},defaultWidth:"wide"}),quarter:(0,s.A)({values:{narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1-a kvaronjaro","2-a kvaronjaro","3-a kvaronjaro","4-a kvaronjaro"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,s.A)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan","feb","mar","apr","maj","jun","jul","aŭg","sep","okt","nov","dec"],wide:["januaro","februaro","marto","aprilo","majo","junio","julio","aŭgusto","septembro","oktobro","novembro","decembro"]},defaultWidth:"wide"}),day:(0,s.A)({values:{narrow:["D","L","M","M","Ĵ","V","S"],short:["di","lu","ma","me","ĵa","ve","sa"],abbreviated:["dim","lun","mar","mer","ĵaŭ","ven","sab"],wide:["dimanĉo","lundo","mardo","merkredo","ĵaŭdo","vendredo","sabato"]},defaultWidth:"wide"}),dayPeriod:(0,s.A)({values:{narrow:{am:"a",pm:"p",midnight:"noktomezo",noon:"tagmezo",morning:"matene",afternoon:"posttagmeze",evening:"vespere",night:"nokte"},abbreviated:{am:"a.t.m.",pm:"p.t.m.",midnight:"noktomezo",noon:"tagmezo",morning:"matene",afternoon:"posttagmeze",evening:"vespere",night:"nokte"},wide:{am:"antaŭtagmeze",pm:"posttagmeze",midnight:"noktomezo",noon:"tagmezo",morning:"matene",afternoon:"posttagmeze",evening:"vespere",night:"nokte"}},defaultWidth:"wide"})},match:{ordinalNumber:(0,u.A)({matchPattern:/^(\d+)(-?a)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,c.A)({matchPatterns:{narrow:/^([ap]k)/i,abbreviated:/^([ap]\.?\s?k\.?\s?e\.?)/i,wide:/^((antaǔ |post )?komuna erao)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^a/i,/^[kp]/i]},defaultParseWidth:"any"}),quarter:(0,c.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^k[1234]/i,wide:/^[1234](-?a)? kvaronjaro/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,c.A)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|maj|jun|jul|a(ŭ|ux|uh|u)g|sep|okt|nov|dec)/i,wide:/^(januaro|februaro|marto|aprilo|majo|junio|julio|a(ŭ|ux|uh|u)gusto|septembro|oktobro|novembro|decembro)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^maj/i,/^jun/i,/^jul/i,/^a(u|ŭ)/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,c.A)({matchPatterns:{narrow:/^[dlmĵjvs]/i,short:/^(di|lu|ma|me|(ĵ|jx|jh|j)a|ve|sa)/i,abbreviated:/^(dim|lun|mar|mer|(ĵ|jx|jh|j)a(ŭ|ux|uh|u)|ven|sab)/i,wide:/^(diman(ĉ|cx|ch|c)o|lundo|mardo|merkredo|(ĵ|jx|jh|j)a(ŭ|ux|uh|u)do|vendredo|sabato)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^(j|ĵ)/i,/^v/i,/^s/i],any:[/^d/i,/^l/i,/^ma/i,/^me/i,/^(j|ĵ)/i,/^v/i,/^s/i]},defaultParseWidth:"any"}),dayPeriod:(0,c.A)({matchPatterns:{narrow:/^([ap]|(posttagmez|noktomez|tagmez|maten|vesper|nokt)[eo])/i,abbreviated:/^([ap][.\s]?t[.\s]?m[.\s]?|(posttagmez|noktomez|tagmez|maten|vesper|nokt)[eo])/i,wide:/^(anta(ŭ|ux)tagmez|posttagmez|noktomez|tagmez|maten|vesper|nokt)[eo]/i},defaultMatchWidth:"wide",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^noktom/i,noon:/^t/i,morning:/^m/i,afternoon:/^posttagmeze/i,evening:/^v/i,night:/^n/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}};var Ae={lessThanXSeconds:{one:"menos de un segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"medio minuto",lessThanXMinutes:{one:"menos de un minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"alrededor de 1 hora",other:"alrededor de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 día",other:"{{count}} días"},aboutXMonths:{one:"alrededor de 1 mes",other:"alrededor de {{count}} meses"},xMonths:{one:"1 mes",other:"{{count}} meses"},aboutXYears:{one:"alrededor de 1 año",other:"alrededor de {{count}} años"},xYears:{one:"1 año",other:"{{count}} años"},overXYears:{one:"más de 1 año",other:"más de {{count}} años"},almostXYears:{one:"casi 1 año",other:"casi {{count}} años"}},Ce={date:(0,a.A)({formats:{full:"EEEE, d 'de' MMMM y",long:"d 'de' MMMM y",medium:"d MMM y",short:"dd/MM/y"},defaultWidth:"full"}),time:(0,a.A)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,a.A)({formats:{full:"{{date}} 'a las' {{time}}",long:"{{date}} 'a las' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},Te={lastWeek:"'el' eeee 'pasado a la' LT",yesterday:"'ayer a la' p",today:"'hoy a la' p",tomorrow:"'mañana a la' p",nextWeek:"eeee 'a la' p",other:"P"},ke={lastWeek:"'el' eeee 'pasado a las' p",yesterday:"'ayer a las' p",today:"'hoy a las' p",tomorrow:"'mañana a las' p",nextWeek:"eeee 'a las' p",other:"P"};const Ee={formatDistance:function(e,t,n){var r;return n=n||{},r="string"==typeof Ae[e]?Ae[e]:1===t?Ae[e].one:Ae[e].other.replace("{{count}}",t),n.addSuffix?n.comparison>0?"en "+r:"hace "+r:r},formatLong:Ce,formatRelative:function(e,t,n,r){return 1!==t.getUTCHours()?ke[e]:Te[e]},localize:{ordinalNumber:function(e){return Number(e)+"º"},era:(0,s.A)({values:{narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","después de cristo"]},defaultWidth:"wide"}),quarter:(0,s.A)({values:{narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,s.A)({values:{narrow:["e","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"],wide:["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"]},defaultWidth:"wide"}),day:(0,s.A)({values:{narrow:["d","l","m","m","j","v","s"],short:["do","lu","ma","mi","ju","vi","sa"],abbreviated:["dom","lun","mar","mié","jue","vie","sab"],wide:["domingo","lunes","martes","miércoles","jueves","viernes","sábado"]},defaultWidth:"wide"}),dayPeriod:(0,s.A)({values:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(0,u.A)({matchPattern:/^(\d+)(º)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,c.A)({matchPatterns:{narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,wide:/^(antes de cristo|antes de la era com[uú]n|despu[eé]s de cristo|era com[uú]n)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes de la era com[uú]n)/i,/^(despu[eé]s de cristo|era com[uú]n)/i]},defaultParseWidth:"any"}),quarter:(0,c.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,c.A)({matchPatterns:{narrow:/^[efmajsond]/i,abbreviated:/^(ene|feb|mar|abr|may|jun|jul|ago|sep|oct|nov|dic)/i,wide:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^e/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^en/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i]},defaultParseWidth:"any"}),day:(0,c.A)({matchPatterns:{narrow:/^[dlmjvs]/i,short:/^(do|lu|ma|mi|ju|vi|sa)/i,abbreviated:/^(dom|lun|mar|mie|jue|vie|sab)/i,wide:/^(domingo|lunes|martes|miercoles|jueves|viernes|s[áa]bado)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^do/i,/^lu/i,/^ma/i,/^mi/i,/^ju/i,/^vi/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,c.A)({matchPatterns:{narrow:/^(a|p|mn|md|(de la|a las) (mañana|tarde|noche))/i,any:/^([ap]\.?\s?m\.?|medianoche|mediodia|(de la|a las) (mañana|tarde|noche))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mn/i,noon:/^md/i,morning:/mañana/i,afternoon:/tarde/i,evening:/tarde/i,night:/noche/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:1}};var Me={lessThanXSeconds:{standalone:{one:"vähem kui üks sekund",other:"vähem kui {{count}} sekundit"},withPreposition:{one:"vähem kui ühe sekundi",other:"vähem kui {{count}} sekundi"}},xSeconds:{standalone:{one:"üks sekund",other:"{{count}} sekundit"},withPreposition:{one:"ühe sekundi",other:"{{count}} sekundi"}},halfAMinute:{standalone:"pool minutit",withPreposition:"poole minuti"},lessThanXMinutes:{standalone:{one:"vähem kui üks minut",other:"vähem kui {{count}} minutit"},withPreposition:{one:"vähem kui ühe minuti",other:"vähem kui {{count}} minuti"}},xMinutes:{standalone:{one:"üks minut",other:"{{count}} minutit"},withPreposition:{one:"ühe minuti",other:"{{count}} minuti"}},aboutXHours:{standalone:{one:"umbes üks tund",other:"umbes {{count}} tundi"},withPreposition:{one:"umbes ühe tunni",other:"umbes {{count}} tunni"}},xHours:{standalone:{one:"üks tund",other:"{{count}} tundi"},withPreposition:{one:"ühe tunni",other:"{{count}} tunni"}},xDays:{standalone:{one:"üks päev",other:"{{count}} päeva"},withPreposition:{one:"ühe päeva",other:"{{count}} päeva"}},aboutXMonths:{standalone:{one:"umbes üks kuu",other:"umbes {{count}} kuud"},withPreposition:{one:"umbes ühe kuu",other:"umbes {{count}} kuu"}},xMonths:{standalone:{one:"üks kuu",other:"{{count}} kuud"},withPreposition:{one:"ühe kuu",other:"{{count}} kuu"}},aboutXYears:{standalone:{one:"umbes üks aasta",other:"umbes {{count}} aastat"},withPreposition:{one:"umbes ühe aasta",other:"umbes {{count}} aasta"}},xYears:{standalone:{one:"üks aasta",other:"{{count}} aastat"},withPreposition:{one:"ühe aasta",other:"{{count}} aasta"}},overXYears:{standalone:{one:"rohkem kui üks aasta",other:"rohkem kui {{count}} aastat"},withPreposition:{one:"rohkem kui ühe aasta",other:"rohkem kui {{count}} aasta"}},almostXYears:{standalone:{one:"peaaegu üks aasta",other:"peaaegu {{count}} aastat"},withPreposition:{one:"peaaegu ühe aasta",other:"peaaegu {{count}} aasta"}}},Pe={date:(0,a.A)({formats:{full:"eeee, d. MMMM y",long:"d. MMMM y",medium:"d. MMM y",short:"dd.MM.y"},defaultWidth:"full"}),time:(0,a.A)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,a.A)({formats:{full:"{{date}} 'kell' {{time}}",long:"{{date}} 'kell' {{time}}",medium:"{{date}}. {{time}}",short:"{{date}}. {{time}}"},defaultWidth:"full"})},Oe={lastWeek:"'eelmine' eeee 'kell' p",yesterday:"'eile kell' p",today:"'täna kell' p",tomorrow:"'homme kell' p",nextWeek:"'järgmine' eeee 'kell' p",other:"P"},Ie={narrow:["J","V","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jaan","veebr","märts","apr","mai","juuni","juuli","aug","sept","okt","nov","dets"],wide:["jaanuar","veebruar","märts","aprill","mai","juuni","juuli","august","september","oktoober","november","detsember"]},De={narrow:["P","E","T","K","N","R","L"],short:["P","E","T","K","N","R","L"],abbreviated:["pühap.","esmasp.","teisip.","kolmap.","neljap.","reede.","laup."],wide:["pühapäev","esmaspäev","teisipäev","kolmapäev","neljapäev","reede","laupäev"]};const Re={formatDistance:function(e,t,n){var r,a=(n=n||{}).addSuffix?Me[e].withPreposition:Me[e].standalone;return r="string"==typeof a?a:1===t?a.one:a.other.replace("{{count}}",t),n.addSuffix?n.comparison>0?r+" pärast":r+" eest":r},formatLong:Pe,formatRelative:function(e,t,n,r){return Oe[e]},localize:{ordinalNumber:function(e){return Number(e)+"."},era:(0,s.A)({values:{narrow:["e.m.a","m.a.j"],abbreviated:["e.m.a","m.a.j"],wide:["enne meie ajaarvamist","meie ajaarvamise järgi"]},defaultWidth:"wide"}),quarter:(0,s.A)({values:{narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1. kvartal","2. kvartal","3. kvartal","4. kvartal"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,s.A)({values:Ie,formattingValues:Ie,defaultWidth:"wide"}),day:(0,s.A)({values:De,formattingValues:De,defaultWidth:"wide"}),dayPeriod:(0,s.A)({values:{narrow:{am:"AM",pm:"PM",midnight:"kesköö",noon:"keskpäev",morning:"hommik",afternoon:"pärastlõuna",evening:"õhtu",night:"öö"},abbreviated:{am:"AM",pm:"PM",midnight:"kesköö",noon:"keskpäev",morning:"hommik",afternoon:"pärastlõuna",evening:"õhtu",night:"öö"},wide:{am:"AM",pm:"PM",midnight:"kesköö",noon:"keskpäev",morning:"hommik",afternoon:"pärastlõuna",evening:"õhtu",night:"öö"}},formattingValues:{narrow:{am:"AM",pm:"PM",midnight:"keskööl",noon:"keskpäeval",morning:"hommikul",afternoon:"pärastlõunal",evening:"õhtul",night:"öösel"},abbreviated:{am:"AM",pm:"PM",midnight:"keskööl",noon:"keskpäeval",morning:"hommikul",afternoon:"pärastlõunal",evening:"õhtul",night:"öösel"},wide:{am:"AM",pm:"PM",midnight:"keskööl",noon:"keskpäeval",morning:"hommikul",afternoon:"pärastlõunal",evening:"õhtul",night:"öösel"}},defaultWidth:"wide"})},match:{ordinalNumber:(0,u.A)({matchPattern:/^\d+\./i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,c.A)({matchPatterns:{narrow:/^(e\.m\.a|m\.a\.j|eKr|pKr)/i,abbreviated:/^(e\.m\.a|m\.a\.j|eKr|pKr)/i,wide:/^(enne meie ajaarvamist|meie ajaarvamise järgi|enne Kristust|pärast Kristust)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^e/i,/^(m|p)/i]},defaultParseWidth:"any"}),quarter:(0,c.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^K[1234]/i,wide:/^[1234](\.)? kvartal/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,c.A)({matchPatterns:{narrow:/^[jvmasond]/i,abbreviated:/^('jaan|veebr|märts|apr|mai|juuni|juuli|aug|sept|okt|nov|dets')/i,wide:/^('jaanuar|veebruar|märts|aprill|mai|juuni|juuli|august|september|oktoober|november|detsember')/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^v/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^v/i,/^mär/i,/^ap/i,/^mai/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,c.A)({matchPatterns:{narrow:/^[petknrl]/i,short:/^[petknrl]/i,abbreviated:/^(püh?|esm?|tei?|kolm?|nel?|ree?|laup?)\.?/i,wide:/^('pühapäev|esmaspäev|teisipäev|kolmapäev|neljapäev|reede|laupäev')/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^p/i,/^e/i,/^t/i,/^k/i,/^n/i,/^r/i,/^l/i]},defaultParseWidth:"any"}),dayPeriod:(0,c.A)({matchPatterns:{any:/^(am|pm|kesköö|keskpäev|hommik|pärastlõuna|õhtu|öö)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^keskö/i,noon:/^keskp/i,morning:/hommik/i,afternoon:/pärastlõuna/i,evening:/õhtu/i,night:/öö/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}};var Ne={lessThanXSeconds:{one:"کمتر از یک ثانیه",other:"کمتر از {{count}} ثانیه"},xSeconds:{one:"1 ثانیه",other:"{{count}} ثانیه"},halfAMinute:"نیم دقیقه",lessThanXMinutes:{one:"کمتر از یک دقیقه",other:"کمتر از {{count}} دقیقه"},xMinutes:{one:"1 دقیقه",other:"{{count}} دقیقه"},aboutXHours:{one:"حدود 1 ساعت",other:"حدود {{count}} ساعت"},xHours:{one:"1 ساعت",other:"{{count}} ساعت"},xDays:{one:"1 روز",other:"{{count}} روز"},aboutXMonths:{one:"حدود 1 ماه",other:"حدود {{count}} ماه"},xMonths:{one:"1 ماه",other:"{{count}} ماه"},aboutXYears:{one:"حدود 1 سال",other:"حدود {{count}} سال"},xYears:{one:"1 سال",other:"{{count}} سال"},overXYears:{one:"بیشتر از 1 سال",other:"بیشتر از {{count}} سال"},almostXYears:{one:"نزدیک 1 سال",other:"نزدیک {{count}} سال"}},Le={date:(0,a.A)({formats:{full:"EEEE do MMMM y",long:"do MMMM y",medium:"d MMM y",short:"yyyy/MM/dd"},defaultWidth:"full"}),time:(0,a.A)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:(0,a.A)({formats:{full:"{{date}} 'در' {{time}}",long:"{{date}} 'در' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},$e={lastWeek:"eeee 'گذشته در' p",yesterday:"'دیروز در' p",today:"'امروز در' p",tomorrow:"'فردا در' p",nextWeek:"eeee 'در' p",other:"P"};const je={formatDistance:function(e,t,n){var r;return n=n||{},r="string"==typeof Ne[e]?Ne[e]:1===t?Ne[e].one:Ne[e].other.replace("{{count}}",t),n.addSuffix?n.comparison>0?"در "+r:r+" قبل":r},formatLong:Le,formatRelative:function(e,t,n,r){return $e[e]},localize:{ordinalNumber:function(e){return String(e)},era:(0,s.A)({values:{narrow:["ق","ب"],abbreviated:["ق.م.","ب.م."],wide:["قبل از میلاد","بعد از میلاد"]},defaultWidth:"wide"}),quarter:(0,s.A)({values:{narrow:["1","2","3","4"],abbreviated:["س‌م1","س‌م2","س‌م3","س‌م4"],wide:["سه‌ماهه 1","سه‌ماهه 2","سه‌ماهه 3","سه‌ماهه 4"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,s.A)({values:{narrow:["ژ","ف","م","آ","م","ج","ج","آ","س","ا","ن","د"],abbreviated:["ژانـ","فور","مارس","آپر","می","جون","جولـ","آگو","سپتـ","اکتـ","نوامـ","دسامـ"],wide:["ژانویه","فوریه","مارس","آپریل","می","جون","جولای","آگوست","سپتامبر","اکتبر","نوامبر","دسامبر"]},defaultWidth:"wide"}),day:(0,s.A)({values:{narrow:["ی","د","س","چ","پ","ج","ش"],short:["1ش","2ش","3ش","4ش","5ش","ج","ش"],abbreviated:["یکشنبه","دوشنبه","سه‌شنبه","چهارشنبه","پنجشنبه","جمعه","شنبه"],wide:["یکشنبه","دوشنبه","سه‌شنبه","چهارشنبه","پنجشنبه","جمعه","شنبه"]},defaultWidth:"wide"}),dayPeriod:(0,s.A)({values:{narrow:{am:"ق",pm:"ب",midnight:"ن",noon:"ظ",morning:"ص",afternoon:"ب.ظ.",evening:"ع",night:"ش"},abbreviated:{am:"ق.ظ.",pm:"ب.ظ.",midnight:"نیمه‌شب",noon:"ظهر",morning:"صبح",afternoon:"بعدازظهر",evening:"عصر",night:"شب"},wide:{am:"قبل‌ازظهر",pm:"بعدازظهر",midnight:"نیمه‌شب",noon:"ظهر",morning:"صبح",afternoon:"بعدازظهر",evening:"عصر",night:"شب"}},defaultWidth:"wide",formattingValues:{narrow:{am:"ق",pm:"ب",midnight:"ن",noon:"ظ",morning:"ص",afternoon:"ب.ظ.",evening:"ع",night:"ش"},abbreviated:{am:"ق.ظ.",pm:"ب.ظ.",midnight:"نیمه‌شب",noon:"ظهر",morning:"صبح",afternoon:"بعدازظهر",evening:"عصر",night:"شب"},wide:{am:"قبل‌ازظهر",pm:"بعدازظهر",midnight:"نیمه‌شب",noon:"ظهر",morning:"صبح",afternoon:"بعدازظهر",evening:"عصر",night:"شب"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(0,u.A)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,c.A)({matchPatterns:{narrow:/^(ق|ب)/i,abbreviated:/^(ق\.?\s?م\.?|ق\.?\s?د\.?\s?م\.?|م\.?\s?|د\.?\s?م\.?)/i,wide:/^(قبل از میلاد|قبل از دوران مشترک|میلادی|دوران مشترک|بعد از میلاد)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^قبل/i,/^بعد/i]},defaultParseWidth:"any"}),quarter:(0,c.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^س‌م[1234]/i,wide:/^سه‌ماهه [1234]/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,c.A)({matchPatterns:{narrow:/^[جژفمآاماسند]/i,abbreviated:/^(جنو|ژانـ|ژانویه|فوریه|فور|مارس|آوریل|آپر|مه|می|ژوئن|جون|جول|جولـ|ژوئیه|اوت|آگو|سپتمبر|سپتامبر|اکتبر|اکتوبر|نوامبر|نوامـ|دسامبر|دسامـ|دسم)/i,wide:/^(ژانویه|جنوری|فبروری|فوریه|مارچ|مارس|آپریل|اپریل|ایپریل|آوریل|مه|می|ژوئن|جون|جولای|ژوئیه|آگست|اگست|آگوست|اوت|سپتمبر|سپتامبر|اکتبر|اکتوبر|نوامبر|نومبر|دسامبر|دسمبر)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^(ژ|ج)/i,/^ف/i,/^م/i,/^(آ|ا)/i,/^م/i,/^(ژ|ج)/i,/^(ج|ژ)/i,/^(آ|ا)/i,/^س/i,/^ا/i,/^ن/i,/^د/i],any:[/^ژا/i,/^ف/i,/^ما/i,/^آپ/i,/^(می|مه)/i,/^(ژوئن|جون)/i,/^(ژوئی|جول)/i,/^(اوت|آگ)/i,/^س/i,/^(اوک|اک)/i,/^ن/i,/^د/i]},defaultParseWidth:"any"}),day:(0,c.A)({matchPatterns:{narrow:/^[شیدسچپج]/i,short:/^(ش|ج|1ش|2ش|3ش|4ش|5ش)/i,abbreviated:/^(یکشنبه|دوشنبه|سه‌شنبه|چهارشنبه|پنج‌شنبه|جمعه|شنبه)/i,wide:/^(یکشنبه|دوشنبه|سه‌شنبه|چهارشنبه|پنج‌شنبه|جمعه|شنبه)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^ی/i,/^دو/i,/^س/i,/^چ/i,/^پ/i,/^ج/i,/^ش/i],any:[/^(ی|1ش|یکشنبه)/i,/^(د|2ش|دوشنبه)/i,/^(س|3ش|سه‌شنبه)/i,/^(چ|4ش|چهارشنبه)/i,/^(پ|5ش|پنجشنبه)/i,/^(ج|جمعه)/i,/^(ش|شنبه)/i]},defaultParseWidth:"any"}),dayPeriod:(0,c.A)({matchPatterns:{narrow:/^(ب|ق|ن|ظ|ص|ب.ظ.|ع|ش)/i,abbreviated:/^(ق.ظ.|ب.ظ.|نیمه‌شب|ظهر|صبح|بعدازظهر|عصر|شب)/i,wide:/^(قبل‌ازظهر|نیمه‌شب|ظهر|صبح|بعدازظهر|عصر|شب)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^(ق|ق.ظ.|قبل‌ازظهر)/i,pm:/^(ب|ب.ظ.|بعدازظهر)/i,midnight:/^(‌نیمه‌شب|ن)/i,noon:/^(ظ|ظهر)/i,morning:/(ص|صبح)/i,afternoon:/(ب|ب.ظ.|بعدازظهر)/i,evening:/(ع|عصر)/i,night:/(ش|شب)/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};function Fe(e){return e.replace(/sekuntia?/,"sekunnin")}function Be(e){return e.replace(/minuuttia?/,"minuutin")}function ze(e){return e.replace(/tuntia?/,"tunnin")}function We(e){return e.replace(/(kuukausi|kuukautta)/,"kuukauden")}function Ve(e){return e.replace(/(vuosi|vuotta)/,"vuoden")}var Ue={lessThanXSeconds:{one:"alle sekunti",other:"alle {{count}} sekuntia",futureTense:Fe},xSeconds:{one:"sekunti",other:"{{count}} sekuntia",futureTense:Fe},halfAMinute:{one:"puoli minuuttia",other:"puoli minuuttia",futureTense:function(e){return"puolen minuutin"}},lessThanXMinutes:{one:"alle minuutti",other:"alle {{count}} minuuttia",futureTense:Be},xMinutes:{one:"minuutti",other:"{{count}} minuuttia",futureTense:Be},aboutXHours:{one:"noin tunti",other:"noin {{count}} tuntia",futureTense:ze},xHours:{one:"tunti",other:"{{count}} tuntia",futureTense:ze},xDays:{one:"päivä",other:"{{count}} päivää",futureTense:function(e){return e.replace(/päivää?/,"päivän")}},aboutXMonths:{one:"noin kuukausi",other:"noin {{count}} kuukautta",futureTense:We},xMonths:{one:"kuukausi",other:"{{count}} kuukautta",futureTense:We},aboutXYears:{one:"noin vuosi",other:"noin {{count}} vuotta",futureTense:Ve},xYears:{one:"vuosi",other:"{{count}} vuotta",futureTense:Ve},overXYears:{one:"yli vuosi",other:"yli {{count}} vuotta",futureTense:Ve},almostXYears:{one:"lähes vuosi",other:"lähes {{count}} vuotta",futureTense:Ve}};const He={date:(0,a.A)({formats:{full:"eeee d. MMMM y",long:"d. MMMM y",medium:"d. MMM y",short:"d.M.y"},defaultWidth:"full"}),time:(0,a.A)({formats:{full:"HH.mm.ss zzzz",long:"HH.mm.ss z",medium:"HH.mm.ss",short:"HH.mm"},defaultWidth:"full"}),dateTime:(0,a.A)({formats:{full:"{{date}} 'klo' {{time}}",long:"{{date}} 'klo' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})};var qe={lastWeek:"'viime' eeee 'klo' p",yesterday:"'eilen klo' p",today:"'tänään klo' p",tomorrow:"'huomenna klo' p",nextWeek:"'ensi' eeee 'klo' p",other:"P"},Ge={narrow:["T","H","M","H","T","K","H","E","S","L","M","J"],abbreviated:["tammi","helmi","maalis","huhti","touko","kesä","heinä","elo","syys","loka","marras","joulu"],wide:["tammikuu","helmikuu","maaliskuu","huhtikuu","toukokuu","kesäkuu","heinäkuu","elokuu","syyskuu","lokakuu","marraskuu","joulukuu"]},Ye={narrow:Ge.narrow,abbreviated:Ge.abbreviated,wide:Ge.wide.map((function(e){return e+"ta"}))},Xe={narrow:["S","M","T","K","T","P","L"],short:["su","ma","ti","ke","to","pe","la"],abbreviated:["sunn.","maan.","tiis.","kesk.","torst.","perj.","la"],wide:["sunnuntai","maanantai","tiistai","keskiviikko","torstai","perjantai","lauantai"]},Ke={narrow:Xe.narrow,short:Xe.short,abbreviated:Xe.abbreviated,wide:Xe.wide.map((function(e){return e+"na"}))};const Qe={formatDistance:function(e,t,n){n=n||{};var r=Ue[e],a=1===t?r.one:r.other.replace("{{count}}",t);return n.addSuffix?n.comparison>0?r.futureTense(a)+" kuluttua":a+" sitten":a},formatLong:He,formatRelative:function(e,t,n,r){return qe[e]},localize:{ordinalNumber:function(e){return Number(e)+"."},era:(0,s.A)({values:{narrow:["eaa.","jaa."],abbreviated:["eaa.","jaa."],wide:["ennen ajanlaskun alkua","jälkeen ajanlaskun alun"]},defaultWidth:"wide"}),quarter:(0,s.A)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. kvartaali","2. kvartaali","3. kvartaali","4. kvartaali"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,s.A)({values:Ge,formattingValues:Ye,defaultWidth:"wide"}),day:(0,s.A)({values:Xe,formattingValues:Ke,defaultWidth:"wide"}),dayPeriod:(0,s.A)({values:{narrow:{am:"ap",pm:"ip",midnight:"keskiyö",noon:"keskipäivä",morning:"ap",afternoon:"ip",evening:"illalla",night:"yöllä"},abbreviated:{am:"ap",pm:"ip",midnight:"keskiyö",noon:"keskipäivä",morning:"ap",afternoon:"ip",evening:"illalla",night:"yöllä"},wide:{am:"ap",pm:"ip",midnight:"keskiyöllä",noon:"keskipäivällä",morning:"aamupäivällä",afternoon:"iltapäivällä",evening:"illalla",night:"yöllä"}},defaultWidth:"wide"})},match:{ordinalNumber:(0,u.A)({matchPattern:/^(\d+)(\.)/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,c.A)({matchPatterns:{narrow:/^(e|j)/i,abbreviated:/^(eaa.|jaa.)/i,wide:/^(ennen ajanlaskun alkua|jälkeen ajanlaskun alun)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^e/i,/^j/i]},defaultParseWidth:"any"}),quarter:(0,c.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234]\.? kvartaali/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,c.A)({matchPatterns:{narrow:/^[thmkeslj]/i,abbreviated:/^(tammi|helmi|maalis|huhti|touko|kesä|heinä|elo|syys|loka|marras|joulu)/i,wide:/^(tammikuu|helmikuu|maaliskuu|huhtikuu|toukokuu|kesäkuu|heinäkuu|elokuu|syyskuu|lokakuu|marraskuu|joulukuu)(ta)?/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^t/i,/^h/i,/^m/i,/^h/i,/^t/i,/^k/i,/^h/i,/^e/i,/^s/i,/^l/i,/^m/i,/^j/i],any:[/^ta/i,/^hel/i,/^maa/i,/^hu/i,/^to/i,/^k/i,/^hei/i,/^e/i,/^s/i,/^l/i,/^mar/i,/^j/i]},defaultParseWidth:"any"}),day:(0,c.A)({matchPatterns:{narrow:/^[smtkpl]/i,short:/^(su|ma|ti|ke|to|pe|la)/i,abbreviated:/^(sunn.|maan.|tiis.|kesk.|torst.|perj.|la)/i,wide:/^(sunnuntai|maanantai|tiistai|keskiviikko|torstai|perjantai|lauantai)(na)?/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^k/i,/^t/i,/^p/i,/^l/i],any:[/^s/i,/^m/i,/^ti/i,/^k/i,/^to/i,/^p/i,/^l/i]},defaultParseWidth:"any"}),dayPeriod:(0,c.A)({matchPatterns:{narrow:/^(ap|ip|keskiyö|keskipäivä|aamupäivällä|iltapäivällä|illalla|yöllä)/i,any:/^(ap|ip|keskiyöllä|keskipäivällä|aamupäivällä|iltapäivällä|illalla|yöllä)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^ap/i,pm:/^ip/i,midnight:/^keskiyö/i,noon:/^keskipäivä/i,morning:/aamupäivällä/i,afternoon:/iltapäivällä/i,evening:/illalla/i,night:/yöllä/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}};var Ze={lessThanXSeconds:{one:"moins d’une seconde",other:"moins de {{count}} secondes"},xSeconds:{one:"1 seconde",other:"{{count}} secondes"},halfAMinute:"30 secondes",lessThanXMinutes:{one:"moins d’une minute",other:"moins de {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"environ 1 heure",other:"environ {{count}} heures"},xHours:{one:"1 heure",other:"{{count}} heures"},xDays:{one:"1 jour",other:"{{count}} jours"},aboutXMonths:{one:"environ 1 mois",other:"environ {{count}} mois"},xMonths:{one:"1 mois",other:"{{count}} mois"},aboutXYears:{one:"environ 1 an",other:"environ {{count}} ans"},xYears:{one:"1 an",other:"{{count}} ans"},overXYears:{one:"plus d’un an",other:"plus de {{count}} ans"},almostXYears:{one:"presqu’un an",other:"presque {{count}} ans"}},Je={date:(0,a.A)({formats:{full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},defaultWidth:"full"}),time:(0,a.A)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,a.A)({formats:{full:"{{date}} 'à' {{time}}",long:"{{date}} 'à' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},et={lastWeek:"eeee 'dernier à' p",yesterday:"'hier à' p",today:"'aujourd’hui à' p",tomorrow:"'demain à' p'",nextWeek:"eeee 'prochain à' p",other:"P"};const tt={formatDistance:function(e,t,n){var r;return n=n||{},r="string"==typeof Ze[e]?Ze[e]:1===t?Ze[e].one:Ze[e].other.replace("{{count}}",t),n.addSuffix?n.comparison>0?"dans "+r:"il y a "+r:r},formatLong:Je,formatRelative:function(e,t,n,r){return et[e]},localize:{ordinalNumber:function(e,t){var n=Number(e),r=String((t||{}).unit);return 0===n?n:n+("year"===r||"hour"===r||"week"===r?1===n?"ère":"ème":1===n?"er":"ème")},era:(0,s.A)({values:{narrow:["av. J.-C","ap. J.-C"],abbreviated:["av. J.-C","ap. J.-C"],wide:["avant Jésus-Christ","après Jésus-Christ"]},defaultWidth:"wide"}),quarter:(0,s.A)({values:{narrow:["T1","T2","T3","T4"],abbreviated:["1er trim.","2ème trim.","3ème trim.","4ème trim."],wide:["1er trimestre","2ème trimestre","3ème trimestre","4ème trimestre"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,s.A)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."],wide:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"]},defaultWidth:"wide"}),day:(0,s.A)({values:{narrow:["D","L","M","M","J","V","S"],short:["di","lu","ma","me","je","ve","sa"],abbreviated:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],wide:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},defaultWidth:"wide"}),dayPeriod:(0,s.A)({values:{narrow:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"mat.",afternoon:"ap.m.",evening:"soir",night:"mat."},abbreviated:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"matin",afternoon:"après-midi",evening:"soir",night:"matin"},wide:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"du matin",afternoon:"de l’après-midi",evening:"du soir",night:"du matin"}},defaultWidth:"wide"})},match:{ordinalNumber:(0,u.A)({matchPattern:/^(\d+)(ième|ère|ème|er|e)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,c.A)({matchPatterns:{narrow:/^(av\.J\.C|ap\.J\.C|ap\.J\.-C)/i,abbreviated:/^(av\.J\.-C|av\.J-C|apr\.J\.-C|apr\.J-C|ap\.J-C)/i,wide:/^(avant Jésus-Christ|après Jésus-Christ)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^av/i,/^ap/i]},defaultParseWidth:"any"}),quarter:(0,c.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^t[1234]/i,wide:/^[1234](er|ème|e)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,c.A)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(janv|févr|mars|avr|mai|juin|juill|juil|août|sept|oct|nov|déc)\.?/i,wide:/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^av/i,/^ma/i,/^juin/i,/^juil/i,/^ao/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,c.A)({matchPatterns:{narrow:/^[lmjvsd]/i,short:/^(di|lu|ma|me|je|ve|sa)/i,abbreviated:/^(dim|lun|mar|mer|jeu|ven|sam)\.?/i,wide:/^(dimanche|lundi|mardi|mercredi|jeudi|vendredi|samedi)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^di/i,/^lu/i,/^ma/i,/^me/i,/^je/i,/^ve/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,c.A)({matchPatterns:{narrow:/^(a|p|minuit|midi|mat\.?|ap\.?m\.?|soir|nuit)/i,any:/^([ap]\.?\s?m\.?|du matin|de l'après[-\s]midi|du soir|de la nuit)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^min/i,noon:/^mid/i,morning:/mat/i,afternoon:/ap/i,evening:/soir/i,night:/nuit/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:1}};var nt={lessThanXSeconds:{one:"menos dun segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"medio minuto",lessThanXMinutes:{one:"menos dun minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"arredor de 1 hora",other:"arredor de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 día",other:"{{count}} días"},aboutXMonths:{one:"arredor de 1 mes",other:"arredor de {{count}} meses"},xMonths:{one:"1 mes",other:"{{count}} meses"},aboutXYears:{one:"arredor de 1 ano",other:"arredor de {{count}} anos"},xYears:{one:"1 ano",other:"{{count}} anos"},overXYears:{one:"mais de 1 ano",other:"mais de {{count}} anos"},almostXYears:{one:"casi 1 ano",other:"casi {{count}} anos"}},rt={date:(0,a.A)({formats:{full:"EEEE, d 'de' MMMM y",long:"d 'de' MMMM y",medium:"d MMM y",short:"dd/MM/y"},defaultWidth:"full"}),time:(0,a.A)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,a.A)({formats:{full:"{{date}} 'ás' {{time}}",long:"{{date}} 'ás' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},at={lastWeek:"'o' eeee 'pasado á' LT",yesterday:"'onte á' p",today:"'hoxe á' p",tomorrow:"'mañá á' p",nextWeek:"eeee 'á' p",other:"P"},ot={lastWeek:"'o' eeee 'pasado ás' p",yesterday:"'onte ás' p",today:"'hoxe ás' p",tomorrow:"'mañá ás' p",nextWeek:"eeee 'ás' p",other:"P"};const it={formatDistance:function(e,t,n){var r;return n=n||{},r="string"==typeof nt[e]?nt[e]:1===t?nt[e].one:nt[e].other.replace("{{count}}",t),n.addSuffix?n.comparison>0?"en "+r:"hai "+r:r},formatLong:rt,formatRelative:function(e,t,n,r){return 1!==t.getUTCHours()?ot[e]:at[e]},localize:{ordinalNumber:function(e){return Number(e)+"º"},era:(0,s.A)({values:{narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","despois de cristo"]},defaultWidth:"wide"}),quarter:(0,s.A)({values:{narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,s.A)({values:{narrow:["e","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["xan","feb","mar","abr","mai","xun","xul","ago","set","out","nov","dec"],wide:["xaneiro","febreiro","marzo","abril","maio","xuño","xullo","agosto","setembro","outubro","novembro","decembro"]},defaultWidth:"wide"}),day:(0,s.A)({values:{narrow:["d","l","m","m","j","v","s"],short:["do","lu","ma","me","xo","ve","sa"],abbreviated:["dom","lun","mar","mer","xov","ven","sab"],wide:["domingo","luns","martes","mércores","xoves","venres","sábado"]},defaultWidth:"wide"}),dayPeriod:(0,s.A)({values:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"mañá",afternoon:"tarde",evening:"tarde",night:"noite"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoite",noon:"mediodía",morning:"mañá",afternoon:"tarde",evening:"tardiña",night:"noite"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoite",noon:"mediodía",morning:"mañá",afternoon:"tarde",evening:"tardiña",night:"noite"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"da mañá",afternoon:"da tarde",evening:"da tardiña",night:"da noite"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoite",noon:"mediodía",morning:"da mañá",afternoon:"da tarde",evening:"da tardiña",night:"da noite"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoite",noon:"mediodía",morning:"da mañá",afternoon:"da tarde",evening:"da tardiña",night:"da noite"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(0,u.A)({matchPattern:/^(\d+)(º)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,c.A)({matchPatterns:{narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,wide:/^(antes de cristo|antes da era com[uú]n|despois de cristo|era com[uú]n)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes da era com[uú]n)/i,/^(despois de cristo|era com[uú]n)/i]},defaultParseWidth:"any"}),quarter:(0,c.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,c.A)({matchPatterns:{narrow:/^[xfmasond]/i,abbreviated:/^(xan|feb|mar|abr|mai|xun|xul|ago|set|out|nov|dec)/i,wide:/^(xaneiro|febreiro|marzo|abril|maio|xuño|xullo|agosto|setembro|outubro|novembro|decembro)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^x/i,/^f/i,/^m/i,/^a/i,/^m/i,/^x/i,/^x/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^xan/i,/^feb/i,/^mar/i,/^abr/i,/^mai/i,/^xun/i,/^xul/i,/^ago/i,/^set/i,/^out/i,/^nov/i,/^dec/i]},defaultParseWidth:"any"}),day:(0,c.A)({matchPatterns:{narrow:/^[dlmxvs]/i,short:/^(do|lu|ma|me|xo|ve|sa)/i,abbreviated:/^(dom|lun|mar|mer|xov|ven|sab)/i,wide:/^(domingo|luns|martes|m[eé]rcores|xoves|venres|s[áa]bado)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^x/i,/^v/i,/^s/i],any:[/^do/i,/^lu/i,/^ma/i,/^me/i,/^xo/i,/^ve/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,c.A)({matchPatterns:{narrow:/^(a|p|mn|md|(da|[aá]s) (mañ[aá]|tarde|noite))/i,any:/^([ap]\.?\s?m\.?|medianoite|mediod[ií]a|(da|[aá]s) (mañ[aá]|tarde|noite))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mn/i,noon:/^md/i,morning:/mañ[aá]/i,afternoon:/tarde/i,evening:/tardiña/i,night:/noite/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:1}};var st={lessThanXSeconds:{one:"હમણાં",other:"​આશરે {{count}} સેકંડ"},xSeconds:{one:"1 સેકંડ",other:"{{count}} સેકંડ"},halfAMinute:"અડધી મિનિટ",lessThanXMinutes:{one:"આ મિનિટ",other:"​આશરે {{count}} મિનિટ"},xMinutes:{one:"1 મિનિટ",other:"{{count}} મિનિટ"},aboutXHours:{one:"​આશરે 1 કલાક",other:"​આશરે {{count}} કલાક"},xHours:{one:"1 કલાક",other:"{{count}} કલાક"},xDays:{one:"1 દિવસ",other:"{{count}} દિવસ"},aboutXMonths:{one:"આશરે 1 મહિનો",other:"આશરે {{count}} મહિના"},xMonths:{one:"1 મહિનો",other:"{{count}} મહિના"},aboutXYears:{one:"આશરે 1 વર્ષ",other:"આશરે {{count}} વર્ષ"},xYears:{one:"1 વર્ષ",other:"{{count}} વર્ષ"},overXYears:{one:"1 વર્ષથી વધુ",other:"{{count}} વર્ષથી વધુ"},almostXYears:{one:"લગભગ 1 વર્ષ",other:"લગભગ {{count}} વર્ષ"}},lt={date:(0,a.A)({formats:{full:"EEEE, d MMMM, y",long:"d MMMM, y",medium:"d MMM, y",short:"d/M/yy"},defaultWidth:"full"}),time:(0,a.A)({formats:{full:"hh:mm:ss a zzzz",long:"hh:mm:ss a z",medium:"hh:mm:ss a",short:"hh:mm a"},defaultWidth:"full"}),dateTime:(0,a.A)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},ut={lastWeek:"'પાછલા' eeee p",yesterday:"'ગઈકાલે' p",today:"'આજે' p",tomorrow:"'આવતીકાલે' p",nextWeek:"eeee p",other:"P"};const ct={formatDistance:function(e,t,n){var r;return n=n||{},r="string"==typeof st[e]?st[e]:1===t?st[e].one:st[e].other.replace("{{count}}",t),n.addSuffix?n.comparison>0?r+"માં":r+" પહેલાં":r},formatLong:lt,formatRelative:function(e,t,n,r){return ut[e]},localize:{ordinalNumber:function(e,t){return Number(e)},era:(0,s.A)({values:{narrow:["ઈસપૂ","ઈસ"],abbreviated:["ઈ.સ.પૂર્વે","ઈ.સ."],wide:["ઈસવીસન પૂર્વે","ઈસવીસન"]},defaultWidth:"wide"}),quarter:(0,s.A)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1લો ત્રિમાસ","2જો ત્રિમાસ","3જો ત્રિમાસ","4થો ત્રિમાસ"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,s.A)({values:{narrow:["જા","ફે","મા","એ","મે","જૂ","જુ","ઓ","સ","ઓ","ન","ડિ"],abbreviated:["જાન્યુ","ફેબ્રુ","માર્ચ","એપ્રિલ","મે","જૂન","જુલાઈ","ઑગસ્ટ","સપ્ટે","ઓક્ટો","નવે","ડિસે"],wide:["જાન્યુઆરી","ફેબ્રુઆરી","માર્ચ","એપ્રિલ","મે","જૂન","જુલાઇ","ઓગસ્ટ","સપ્ટેમ્બર","ઓક્ટોબર","નવેમ્બર","ડિસેમ્બર"]},defaultWidth:"wide"}),day:(0,s.A)({values:{narrow:["ર","સો","મં","બુ","ગુ","શુ","શ"],short:["ર","સો","મં","બુ","ગુ","શુ","શ"],abbreviated:["રવિ","સોમ","મંગળ","બુધ","ગુરુ","શુક્ર","શનિ"],wide:["રવિવાર","સોમવાર","મંગળવાર","બુધવાર","ગુરુવાર","શુક્રવાર","શનિવાર"]},defaultWidth:"wide"}),dayPeriod:(0,s.A)({values:{narrow:{am:"AM",pm:"PM",midnight:"મ.રાત્રિ",noon:"બ.",morning:"સવારે",afternoon:"બપોરે",evening:"સાંજે",night:"રાત્રે"},abbreviated:{am:"AM",pm:"PM",midnight:"​મધ્યરાત્રિ",noon:"બપોરે",morning:"સવારે",afternoon:"બપોરે",evening:"સાંજે",night:"રાત્રે"},wide:{am:"AM",pm:"PM",midnight:"​મધ્યરાત્રિ",noon:"બપોરે",morning:"સવારે",afternoon:"બપોરે",evening:"સાંજે",night:"રાત્રે"}},defaultWidth:"wide",formattingValues:{narrow:{am:"AM",pm:"PM",midnight:"મ.રાત્રિ",noon:"બપોરે",morning:"સવારે",afternoon:"બપોરે",evening:"સાંજે",night:"રાત્રે"},abbreviated:{am:"AM",pm:"PM",midnight:"મધ્યરાત્રિ",noon:"બપોરે",morning:"સવારે",afternoon:"બપોરે",evening:"સાંજે",night:"રાત્રે"},wide:{am:"AM",pm:"PM",midnight:"​મધ્યરાત્રિ",noon:"બપોરે",morning:"સવારે",afternoon:"બપોરે",evening:"સાંજે",night:"રાત્રે"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(0,u.A)({matchPattern:/^(\d+)(લ|જ|થ|ઠ્ઠ|મ)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,c.A)({matchPatterns:{narrow:/^(ઈસપૂ|ઈસ)/i,abbreviated:/^(ઈ\.સ\.પૂર્વે|ઈ\.સ\.)/i,wide:/^(ઈસવીસન\sપૂર્વે|ઈસવીસન)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^(ઈસપૂ|ઈસ)/i,/^(ઈ\.સ\.પૂર્વે|ઈ\.સ\.)/i,/^(ઈસવીસન\sપૂર્વે|ઈસવીસન)/i]},defaultParseWidth:"any"}),quarter:(0,c.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](લો|જો|થો)? ત્રિમાસ/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,c.A)({matchPatterns:{narrow:/^[જાફેમાએમેજૂજુઓસઓનડિ]/i,abbreviated:/^(જાન્યુ|ફેબ્રુ|માર્ચ|એપ્રિલ|મે|જૂન|જુલાઈ|ઑગસ્ટ|સપ્ટે|ઓક્ટો|નવે|ડિસે)/i,wide:/^(જાન્યુઆરી|ફેબ્રુઆરી|માર્ચ|એપ્રિલ|મે|જૂન|જુલાઇ|ઓગસ્ટ|સપ્ટેમ્બર|ઓક્ટોબર|નવેમ્બર|ડિસેમ્બર)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^જા/i,/^ફે/i,/^મા/i,/^એ/i,/^મે/i,/^જૂ/i,/^જુ/i,/^ઑગ/i,/^સ/i,/^ઓક્ટો/i,/^ન/i,/^ડિ/i],any:[/^જા/i,/^ફે/i,/^મા/i,/^એ/i,/^મે/i,/^જૂ/i,/^જુ/i,/^ઑગ/i,/^સ/i,/^ઓક્ટો/i,/^ન/i,/^ડિ/i]},defaultParseWidth:"any"}),day:(0,c.A)({matchPatterns:{narrow:/^(ર|સો|મં|બુ|ગુ|શુ|શ)/i,short:/^(ર|સો|મં|બુ|ગુ|શુ|શ)/i,abbreviated:/^(રવિ|સોમ|મંગળ|બુધ|ગુરુ|શુક્ર|શનિ)/i,wide:/^(રવિવાર|સોમવાર|મંગળવાર|બુધવાર|ગુરુવાર|શુક્રવાર|શનિવાર)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^ર/i,/^સો/i,/^મં/i,/^બુ/i,/^ગુ/i,/^શુ/i,/^શ/i],any:[/^ર/i,/^સો/i,/^મં/i,/^બુ/i,/^ગુ/i,/^શુ/i,/^શ/i]},defaultParseWidth:"any"}),dayPeriod:(0,c.A)({matchPatterns:{narrow:/^(a|p|મ\.?|સ|બ|સાં|રા)/i,any:/^(a|p|મ\.?|સ|બ|સાં|રા)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^મ\.?/i,noon:/^બ/i,morning:/સ/i,afternoon:/બ/i,evening:/સાં/i,night:/રા/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}};var dt={lessThanXSeconds:{one:"פחות משנייה",two:"פחות משתי שניות",other:"פחות מ־{{count}} שניות"},xSeconds:{one:"שנייה",two:"שתי שניות",other:"{{count}} שניות"},halfAMinute:"חצי דקה",lessThanXMinutes:{one:"פחות מדקה",two:"פחות משתי דקות",other:"פחות מ־{{count}} דקות"},xMinutes:{one:"דקה",two:"שתי דקות",other:"{{count}} דקות"},aboutXHours:{one:"בערך שעה",two:"בערך שעתיים",other:"בערך {{count}} שעות"},xHours:{one:"שעה",two:"שעתיים",other:"{{count}} שעות"},xDays:{one:"יום",two:"יומיים",other:"{{count}} ימים"},aboutXMonths:{one:"בערך חודש",two:"בערך חודשיים",other:"בערך {{count}} חודשים"},xMonths:{one:"חודש",two:"חודשיים",other:"{{count}} חודשים"},aboutXYears:{one:"בערך שנה",two:"בערך שנתיים",other:"בערך {{count}} שנים"},xYears:{one:"שנה",two:"שנתיים",other:"{{count}} שנים"},overXYears:{one:"יותר משנה",two:"יותר משנתיים",other:"יותר מ־{{count}} שנים"},almostXYears:{one:"כמעט שנה",two:"כמעט שנתיים",other:"כמעט {{count}} שנים"}};const pt={date:(0,a.A)({formats:{full:"EEEE, d בMMMM y",long:"d בMMMM y",medium:"d בMMM y",short:"d.M.y"},defaultWidth:"full"}),time:(0,a.A)({formats:{full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},defaultWidth:"full"}),dateTime:(0,a.A)({formats:{full:"{{date}} 'בשעה' {{time}}",long:"{{date}} 'בשעה' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};var ft={lastWeek:"eeee 'שעבר בשעה' p",yesterday:"'אתמול בשעה' p",today:"'היום בשעה' p",tomorrow:"'מחר בשעה' p",nextWeek:"eeee 'בשעה' p",other:"P"},ht={ordinalNumber:function(e,t){var n=Number(e);if(n<=0||n>10)return n;var r=String((t||{}).unit),a=n-1;return["year","hour","minute","second"].indexOf(r)>=0?["ראשונה","שנייה","שלישית","רביעית","חמישית","שישית","שביעית","שמינית","תשיעית","עשירית"][a]:["ראשון","שני","שלישי","רביעי","חמישי","שישי","שביעי","שמיני","תשיעי","עשירי"][a]},era:(0,s.A)({values:{narrow:["לפנה״ס","לספירה"],abbreviated:["לפנה״ס","לספירה"],wide:["לפני הספירה","לספירה"]},defaultWidth:"wide"}),quarter:(0,s.A)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["רבעון 1","רבעון 2","רבעון 3","רבעון 4"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,s.A)({values:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["ינו׳","פבר׳","מרץ","אפר׳","מאי","יוני","יולי","אוג׳","ספט׳","אוק׳","נוב׳","דצמ׳"],wide:["ינואר","פברואר","מרץ","אפריל","מאי","יוני","יולי","אוגוסט","ספטמבר","אוקטובר","נובמבר","דצמבר"]},defaultWidth:"wide"}),day:(0,s.A)({values:{narrow:["א׳","ב׳","ג׳","ד׳","ה׳","ו׳","ש׳"],short:["א׳","ב׳","ג׳","ד׳","ה׳","ו׳","ש׳"],abbreviated:["יום א׳","יום ב׳","יום ג׳","יום ד׳","יום ה׳","יום ו׳","שבת"],wide:["יום ראשון","יום שני","יום שלישי","יום רביעי","יום חמישי","יום שישי","יום שבת"]},defaultWidth:"wide"}),dayPeriod:(0,s.A)({values:{narrow:{am:"לפנה״צ",pm:"אחה״צ",midnight:"חצות",noon:"צהריים",morning:"בוקר",afternoon:"אחר הצהריים",evening:"ערב",night:"לילה"},abbreviated:{am:"לפנה״צ",pm:"אחה״צ",midnight:"חצות",noon:"צהריים",morning:"בוקר",afternoon:"אחר הצהריים",evening:"ערב",night:"לילה"},wide:{am:"לפנה״צ",pm:"אחה״צ",midnight:"חצות",noon:"צהריים",morning:"בוקר",afternoon:"אחר הצהריים",evening:"ערב",night:"לילה"}},defaultWidth:"wide",formattingValues:{narrow:{am:"לפנה״צ",pm:"אחה״צ",midnight:"חצות",noon:"צהריים",morning:"בבוקר",afternoon:"בצהריים",evening:"בערב",night:"בלילה"},abbreviated:{am:"לפנה״צ",pm:"אחה״צ",midnight:"חצות",noon:"צהריים",morning:"בבוקר",afternoon:"אחר הצהריים",evening:"בערב",night:"בלילה"},wide:{am:"לפנה״צ",pm:"אחה״צ",midnight:"חצות",noon:"צהריים",morning:"בבוקר",afternoon:"אחר הצהריים",evening:"בערב",night:"בלילה"}},defaultFormattingWidth:"wide"})},mt=["רא","שנ","של","רב","ח","שי","שב","שמ","ת","ע"];const gt={formatDistance:function(e,t,n){return n=n||{},"xDays"===e&&n.addSuffix&&t<=2?n.comparison>0?{1:"מחר",2:"מחרתיים"}[t]:{1:"אתמול",2:"שלשום"}[t]:(r="string"==typeof dt[e]?dt[e]:1===t?dt[e].one:2===t?dt[e].two:dt[e].other.replace("{{count}}",t),n.addSuffix?n.comparison>0?"בעוד "+r:"לפני "+r:r);var r},formatLong:pt,formatRelative:function(e,t,n,r){return ft[e]},localize:ht,match:{ordinalNumber:(0,u.A)({matchPattern:/^(\d+|(ראשון|שני|שלישי|רביעי|חמישי|שישי|שביעי|שמיני|תשיעי|עשירי|ראשונה|שנייה|שלישית|רביעית|חמישית|שישית|שביעית|שמינית|תשיעית|עשירית))/i,parsePattern:/^(\d+|רא|שנ|של|רב|ח|שי|שב|שמ|ת|ע)/i,valueCallback:function(e){var t=parseInt(e,10);return isNaN(t)?mt.indexOf(e)+1:t}}),era:(0,c.A)({matchPatterns:{narrow:/^ל(ספירה|פנה״ס)/i,abbreviated:/^ל(ספירה|פנה״ס)/i,wide:/^ל(פני ה)?ספירה/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^לפ/i,/^לס/i]},defaultParseWidth:"any"}),quarter:(0,c.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^רבעון [1234]/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,c.A)({matchPatterns:{narrow:/^\d+/i,abbreviated:/^(ינו|פבר|מרץ|אפר|מאי|יוני|יולי|אוג|ספט|אוק|נוב|דצמ)׳?/i,wide:/^(ינואר|פברואר|מרץ|אפריל|מאי|יוני|יולי|אוגוסט|ספטמבר|אוקטובר|נובמבר|דצמבר)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^1$/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^7/i,/^8/i,/^9/i,/^10/i,/^11/i,/^12/i],any:[/^ינ/i,/^פ/i,/^מר/i,/^אפ/i,/^מא/i,/^יונ/i,/^יול/i,/^אוג/i,/^ס/i,/^אוק/i,/^נ/i,/^ד/i]},defaultParseWidth:"any"}),day:(0,c.A)({matchPatterns:{narrow:/^[אבגדהוש]׳/i,short:/^[אבגדהוש]׳/i,abbreviated:/^(שבת|יום (א|ב|ג|ד|ה|ו)׳)/i,wide:/^יום (ראשון|שני|שלישי|רביעי|חמישי|שישי|שבת)/i},defaultMatchWidth:"wide",parsePatterns:{abbreviated:[/א׳$/i,/ב׳$/i,/ג׳$/i,/ד׳$/i,/ה׳$/i,/ו׳$/i,/^ש/i],wide:[/ן$/i,/ני$/i,/לישי$/i,/עי$/i,/מישי$/i,/שישי$/i,/ת$/i],any:[/^א/i,/^ב/i,/^ג/i,/^ד/i,/^ה/i,/^ו/i,/^ש/i]},defaultParseWidth:"any"}),dayPeriod:(0,c.A)({matchPatterns:{any:/^(אחר ה|ב)?(חצות|צהריים|בוקר|ערב|לילה|אחה״צ|לפנה״צ)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^לפ/i,pm:/^אחה/i,midnight:/^ח/i,noon:/^צ/i,morning:/בוקר/i,afternoon:/בצ|אחר/i,evening:/ערב/i,night:/לילה/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};var vt={locale:{1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},number:{"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"}},yt={localeToNumber:function(e){var t=e.toString().replace(/[१२३४५६७८९०]/g,(function(e){return vt.number[e]}));return Number(t)},numberToLocale:function(e){return e.toString().replace(/\d/g,(function(e){return vt.locale[e]}))},ordinalNumber:function(e){var t=yt.localeToNumber(e),n=yt.numberToLocale(t);switch(t%10){case 2:case 3:case 4:case 6:case 1:case 5:case 7:case 8:case 9:case 0:return n}},era:(0,s.A)({values:{narrow:["ईसा-पूर्व","ईस्वी"],abbreviated:["ईसा-पूर्व","ईस्वी"],wide:["ईसा-पूर्व","ईसवी सन"]},defaultWidth:"wide"}),quarter:(0,s.A)({values:{narrow:["1","2","3","4"],abbreviated:["ति1","ति2","ति3","ति4"],wide:["पहली तिमाही","दूसरी तिमाही","तीसरी तिमाही","चौथी तिमाही"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,s.A)({values:{narrow:["ज","फ़","मा","अ","मई","जू","जु","अग","सि","अक्तू","न","दि"],abbreviated:["जन","फ़र","मार्च","अप्रैल","मई","जून","जुल","अग","सित","अक्तू","नव","दिस"],wide:["जनवरी","फ़रवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितंबर","अक्तूबर","नवंबर","दिसंबर"]},defaultWidth:"wide"}),day:(0,s.A)({values:{narrow:["र","सो","मं","बु","गु","शु","श"],short:["र","सो","मं","बु","गु","शु","श"],abbreviated:["रवि","सोम","मंगल","बुध","गुरु","शुक्र","शनि"],wide:["रविवार","सोमवार","मंगलवार","बुधवार","गुरुवार","शुक्रवार","शनिवार"]},defaultWidth:"wide"}),dayPeriod:(0,s.A)({values:{narrow:{am:"पूर्वाह्न",pm:"अपराह्न",midnight:"मध्यरात्रि",noon:"दोपहर",morning:"सुबह",afternoon:"दोपहर",evening:"शाम",night:"रात"},abbreviated:{am:"पूर्वाह्न",pm:"अपराह्न",midnight:"मध्यरात्रि",noon:"दोपहर",morning:"सुबह",afternoon:"दोपहर",evening:"शाम",night:"रात"},wide:{am:"पूर्वाह्न",pm:"अपराह्न",midnight:"मध्यरात्रि",noon:"दोपहर",morning:"सुबह",afternoon:"दोपहर",evening:"शाम",night:"रात"}},defaultWidth:"wide",formattingValues:{narrow:{am:"पूर्वाह्न",pm:"अपराह्न",midnight:"मध्यरात्रि",noon:"दोपहर",morning:"सुबह",afternoon:"दोपहर",evening:"शाम",night:"रात"},abbreviated:{am:"पूर्वाह्न",pm:"अपराह्न",midnight:"मध्यरात्रि",noon:"दोपहर",morning:"सुबह",afternoon:"दोपहर",evening:"शाम",night:"रात"},wide:{am:"पूर्वाह्न",pm:"अपराह्न",midnight:"मध्यरात्रि",noon:"दोपहर",morning:"सुबह",afternoon:"दोपहर",evening:"शाम",night:"रात"}},defaultFormattingWidth:"wide"})};const bt=yt;var wt={lessThanXSeconds:{one:"१ सेकंड से कम",other:"{{count}} सेकंड से कम"},xSeconds:{one:"१ सेकंड",other:"{{count}} सेकंड"},halfAMinute:"आधा मिनट",lessThanXMinutes:{one:"१ मिनट से कम",other:"{{count}} मिनट से कम"},xMinutes:{one:"१ मिनट",other:"{{count}} मिनट"},aboutXHours:{one:"लगभग १ घंटा",other:"लगभग {{count}} घंटे"},xHours:{one:"१ घंटा",other:"{{count}} घंटे"},xDays:{one:"१ दिन",other:"{{count}} दिन"},aboutXMonths:{one:"लगभग १ महीना",other:"लगभग {{count}} महीने"},xMonths:{one:"१ महीना",other:"{{count}} महीने"},aboutXYears:{one:"लगभग १ वर्ष",other:"लगभग {{count}} वर्ष"},xYears:{one:"१ वर्ष",other:"{{count}} वर्ष"},overXYears:{one:"१ वर्ष से अधिक",other:"{{count}} वर्ष से अधिक"},almostXYears:{one:"लगभग १ वर्ष",other:"लगभग {{count}} वर्ष"}};const xt={date:(0,a.A)({formats:{full:"EEEE, do MMMM, y",long:"do MMMM, y",medium:"d MMM, y",short:"dd/MM/yyyy"},defaultWidth:"full"}),time:(0,a.A)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:(0,a.A)({formats:{full:"{{date}} 'को' {{time}}",long:"{{date}} 'को' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};var St={lastWeek:"'पिछले' eeee p",yesterday:"'कल' p",today:"'आज' p",tomorrow:"'कल' p",nextWeek:"eeee 'को' p",other:"P"},_t={ordinalNumber:(0,u.A)({matchPattern:/^[०१२३४५६७८९]+/i,parsePattern:/^[०१२३४५६७८९]+/i,valueCallback:bt.localeToNumber}),era:(0,c.A)({matchPatterns:{narrow:/^(ईसा-पूर्व|ईस्वी)/i,abbreviated:/^(ईसा\.?\s?पूर्व\.?|ईसा\.?)/i,wide:/^(ईसा-पूर्व|ईसवी पूर्व|ईसवी सन|ईसवी)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:(0,c.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^ति[1234]/i,wide:/^[1234](पहली|दूसरी|तीसरी|चौथी)? तिमाही/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,c.A)({matchPatterns:{narrow:/^[जफ़माअप्मईजूनजुअगसिअक्तनदि]/i,abbreviated:/^(जन|फ़र|मार्च|अप्|मई|जून|जुल|अग|सित|अक्तू|नव|दिस)/i,wide:/^(जनवरी|फ़रवरी|मार्च|अप्रैल|मई|जून|जुलाई|अगस्त|सितंबर|अक्तूबर|नवंबर|दिसंबर)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^ज/i,/^फ़/i,/^मा/i,/^अप्/i,/^मई/i,/^जू/i,/^जु/i,/^अग/i,/^सि/i,/^अक्तू/i,/^न/i,/^दि/i],any:[/^जन/i,/^फ़/i,/^मा/i,/^अप्/i,/^मई/i,/^जू/i,/^जु/i,/^अग/i,/^सि/i,/^अक्तू/i,/^नव/i,/^दिस/i]},defaultParseWidth:"any"}),day:(0,c.A)({matchPatterns:{narrow:/^[रविसोममंगलबुधगुरुशुक्रशनि]/i,short:/^(रवि|सोम|मंगल|बुध|गुरु|शुक्र|शनि)/i,abbreviated:/^(रवि|सोम|मंगल|बुध|गुरु|शुक्र|शनि)/i,wide:/^(रविवार|सोमवार|मंगलवार|बुधवार|गुरुवार|शुक्रवार|शनिवार)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^रवि/i,/^सोम/i,/^मंगल/i,/^बुध/i,/^गुरु/i,/^शुक्र/i,/^शनि/i],any:[/^रवि/i,/^सोम/i,/^मंगल/i,/^बुध/i,/^गुरु/i,/^शुक्र/i,/^शनि/i]},defaultParseWidth:"any"}),dayPeriod:(0,c.A)({matchPatterns:{narrow:/^(पू|अ|म|द.\?|सु|दो|शा|रा)/i,any:/^(पूर्वाह्न|अपराह्न|म|द.\?|सु|दो|शा|रा)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^पूर्वाह्न/i,pm:/^अपराह्न/i,midnight:/^मध्य/i,noon:/^दो/i,morning:/सु/i,afternoon:/दो/i,evening:/शा/i,night:/रा/i}},defaultParseWidth:"any"})};const At={formatDistance:function(e,t,n){var r;return n=n||{},r="string"==typeof wt[e]?wt[e]:1===t?wt[e].one:wt[e].other.replace("{{count}}",bt.numberToLocale(t)),n.addSuffix?n.comparison>0?r+"मे ":r+" पहले":r},formatLong:xt,formatRelative:function(e,t,n,r){return St[e]},localize:bt,match:_t,options:{weekStartsOn:0,firstWeekContainsDate:4}};var Ct={lessThanXSeconds:{one:{standalone:"manje od 1 sekunde",withPrepositionAgo:"manje od 1 sekunde",withPrepositionIn:"manje od 1 sekundu"},dual:"manje od {{count}} sekunde",other:"manje od {{count}} sekundi"},xSeconds:{one:{standalone:"1 sekunda",withPrepositionAgo:"1 sekunde",withPrepositionIn:"1 sekundu"},dual:"{{count}} sekunde",other:"{{count}} sekundi"},halfAMinute:"pola minute",lessThanXMinutes:{one:{standalone:"manje od 1 minute",withPrepositionAgo:"manje od 1 minute",withPrepositionIn:"manje od 1 minutu"},dual:"manje od {{count}} minute",other:"manje od {{count}} minuta"},xMinutes:{one:{standalone:"1 minuta",withPrepositionAgo:"1 minute",withPrepositionIn:"1 minutu"},dual:"{{count}} minute",other:"{{count}} minuta"},aboutXHours:{one:{standalone:"oko 1 sat",withPrepositionAgo:"oko 1 sat",withPrepositionIn:"oko 1 sat"},dual:"oko {{count}} sata",other:"oko {{count}} sati"},xHours:{one:{standalone:"1 sat",withPrepositionAgo:"1 sat",withPrepositionIn:"1 sat"},dual:"{{count}} sata",other:"{{count}} sati"},xDays:{one:{standalone:"1 dan",withPrepositionAgo:"1 dan",withPrepositionIn:"1 dan"},dual:"{{count}} dana",other:"{{count}} dana"},aboutXMonths:{one:{standalone:"oko 1 mjesec",withPrepositionAgo:"oko 1 mjesec",withPrepositionIn:"oko 1 mjesec"},dual:"oko {{count}} mjeseca",other:"oko {{count}} mjeseci"},xMonths:{one:{standalone:"1 mjesec",withPrepositionAgo:"1 mjesec",withPrepositionIn:"1 mjesec"},dual:"{{count}} mjeseca",other:"{{count}} mjeseci"},aboutXYears:{one:{standalone:"oko 1 godinu",withPrepositionAgo:"oko 1 godinu",withPrepositionIn:"oko 1 godinu"},dual:"oko {{count}} godine",other:"oko {{count}} godina"},xYears:{one:{standalone:"1 godina",withPrepositionAgo:"1 godine",withPrepositionIn:"1 godinu"},dual:"{{count}} godine",other:"{{count}} godina"},overXYears:{one:{standalone:"preko 1 godinu",withPrepositionAgo:"preko 1 godinu",withPrepositionIn:"preko 1 godinu"},dual:"preko {{count}} godine",other:"preko {{count}} godina"},almostXYears:{one:{standalone:"gotovo 1 godinu",withPrepositionAgo:"gotovo 1 godinu",withPrepositionIn:"gotovo 1 godinu"},dual:"gotovo {{count}} godine",other:"gotovo {{count}} godina"}},Tt={date:(0,a.A)({formats:{full:"EEEE, d. MMMM y.",long:"d. MMMM y.",medium:"d. MMM y.",short:"dd. MM. y."},defaultWidth:"full"}),time:(0,a.A)({formats:{full:"HH:mm:ss (zzzz)",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,a.A)({formats:{full:"{{date}} 'u' {{time}}",long:"{{date}} 'u' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},kt={lastWeek:function(e){switch(e.getUTCDay()){case 0:return"'prošlu nedjelju u' p";case 3:return"'prošlu srijedu u' p";case 6:return"'prošlu subotu u' p";default:return"'prošli' EEEE 'u' p"}},yesterday:"'jučer u' p",today:"'danas u' p",tomorrow:"'sutra u' p",nextWeek:function(e){switch(e.getUTCDay()){case 0:return"'iduću nedjelju u' p";case 3:return"'iduću srijedu u' p";case 6:return"'iduću subotu u' p";default:return"'prošli' EEEE 'u' p"}},other:"P"};const Et={formatDistance:function(e,t,n){var r;return n=n||{},r="string"==typeof Ct[e]?Ct[e]:1===t?n.addSuffix?n.comparison>0?Ct[e].one.withPrepositionIn:Ct[e].one.withPrepositionAgo:Ct[e].one.standalone:t%10>1&&t%10<5&&"1"!==String(t).substr(-2,1)?Ct[e].dual.replace("{{count}}",t):Ct[e].other.replace("{{count}}",t),n.addSuffix?n.comparison>0?"za "+r:"prije "+r:r},formatLong:Tt,formatRelative:function(e,t,n,r){var a=kt[e];return"function"==typeof a?a(t):a},localize:{ordinalNumber:function(e){var t=Number(e);return String(t).concat(".")},era:(0,s.A)({values:{narrow:["pr.n.e.","AD"],abbreviated:["pr. Kr.","po. Kr."],wide:["Prije Krista","Poslije Krista"]},defaultWidth:"wide"}),quarter:(0,s.A)({values:{narrow:["1.","2.","3.","4."],abbreviated:["1. kv.","2. kv.","3. kv.","4. kv."],wide:["1. kvartal","2. kvartal","3. kvartal","4. kvartal"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,s.A)({values:{narrow:["1.","2.","3.","4.","5.","6.","7.","8.","9.","10.","11.","12."],abbreviated:["sij","velj","ožu","tra","svi","lip","srp","kol","ruj","lis","stu","pro"],wide:["siječanj","veljača","ožujak","travanj","svibanj","lipanj","srpanj","kolovoz","rujan","listopad","studeni","prosinac"]},defaultWidth:"wide",formattingValues:{narrow:["1.","2.","3.","4.","5.","6.","7.","8.","9.","10.","11.","12."],abbreviated:["sij","velj","ožu","tra","svi","lip","srp","kol","ruj","lis","stu","pro"],wide:["siječnja","veljače","ožujka","travnja","svibnja","lipnja","srpnja","kolovoza","rujna","listopada","studenog","prosinca"]},defaultFormattingWidth:"wide"}),day:(0,s.A)({values:{narrow:["N","P","U","S","Č","P","S"],short:["ned","pon","uto","sri","čet","pet","sub"],abbreviated:["ned","pon","uto","sri","čet","pet","sub"],wide:["nedjelja","ponedjeljak","utorak","srijeda","četvrtak","petak","subota"]},defaultWidth:"wide"}),dayPeriod:(0,s.A)({values:{narrow:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutro",afternoon:"popodne",evening:"navečer",night:"noću"},abbreviated:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutro",afternoon:"popodne",evening:"navečer",night:"noću"},wide:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutro",afternoon:"poslije podne",evening:"navečer",night:"noću"}},defaultWidth:"wide",formattingValues:{narrow:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutro",afternoon:"popodne",evening:"navečer",night:"noću"},abbreviated:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutro",afternoon:"popodne",evening:"navečer",night:"noću"},wide:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutro",afternoon:"poslije podne",evening:"navečer",night:"noću"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(0,u.A)({matchPattern:/^(\d+)\./i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,c.A)({matchPatterns:{narrow:/^(pr\.n\.e\.|AD)/i,abbreviated:/^(pr\.\s?Kr\.|po\.\s?Kr\.)/i,wide:/^(Prije Krista|prije nove ere|Poslije Krista|nova era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^pr/i,/^(po|nova)/i]},defaultParseWidth:"any"}),quarter:(0,c.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^[1234]\.\s?kv\.?/i,wide:/^[1234]\. kvartal/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,c.A)({matchPatterns:{narrow:/^(10|11|12|[123456789])\./i,abbreviated:/^(sij|velj|(ožu|ozu)|tra|svi|lip|srp|kol|ruj|lis|stu|pro)/i,wide:/^((siječanj|siječnja|sijecanj|sijecnja)|(veljača|veljače|veljaca|veljace)|(ožujak|ožujka|ozujak|ozujka)|(travanj|travnja)|(svibanj|svibnja)|(lipanj|lipnja)|(srpanj|srpnja)|(kolovoz|kolovoza)|(rujan|rujna)|(listopad|listopada)|(studeni|studenog)|(prosinac|prosinca))/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/(10|11|12|[123456789])/i],abbreviated:[/^sij/i,/^velj/i,/^(ožu|ozu)/i,/^tra/i,/^svi/i,/^lip/i,/^srp/i,/^kol/i,/^ruj/i,/^lis/i,/^stu/i,/^pro/i],wide:[/^sij/i,/^velj/i,/^(ožu|ozu)/i,/^tra/i,/^svi/i,/^lip/i,/^srp/i,/^kol/i,/^ruj/i,/^lis/i,/^stu/i,/^pro/i]},defaultParseWidth:"wide"}),day:(0,c.A)({matchPatterns:{narrow:/^[npusčc]/i,short:/^(ned|pon|uto|sri|(čet|cet)|pet|sub)/i,abbreviated:/^(ned|pon|uto|sri|(čet|cet)|pet|sub)/i,wide:/^(nedjelja|ponedjeljak|utorak|srijeda|(četvrtak|cetvrtak)|petak|subota)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,c.A)({matchPatterns:{any:/^(am|pm|ponoc|ponoć|(po)?podne|navecer|navečer|noću|poslije podne|ujutro)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^pono/i,noon:/^pod/i,morning:/jutro/i,afternoon:/(poslije\s|po)+podne/i,evening:/(navece|naveče)/i,night:/(nocu|noću)/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:1}};var Mt={about:"körülbelül",over:"több mint",almost:"majdnem",lessthan:"kevesebb mint"};const Pt={date:(0,a.A)({formats:{full:"y. MMMM d., EEEE",long:"y. MMMM d.",medium:"y. MMM d.",short:"y. MM. dd."},defaultWidth:"full"}),time:(0,a.A)({formats:{full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},defaultWidth:"full"}),dateTime:(0,a.A)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})};var Ot=["vasárnap","hétfőn","kedden","szerdán","csütörtökön","pénteken","szombaton"];function It(e){return function(t,n,r){var a=t.getUTCDay();return(e?"":"'múlt' ")+"'"+Ot[a]+"' p'-kor'"}}var Dt={lastWeek:It(!1),yesterday:"'tegnap' p'-kor'",today:"'ma' p'-kor'",tomorrow:"'holnap' p'-kor'",nextWeek:It(!0),other:"P"};const Rt={formatDistance:function(e,t,n){n=n||{};var r,a=e.match(/about|over|almost|lessthan/i),o=e.replace(a,"");return r=function(e,t,n,r){var a=e;switch(n){case"xseconds":return-1===r&&t?a+" másodperccel ezelőtt":-1!==r||t?1===r?a+" másodperc múlva":a+" másodperc":a+" másodperce";case"halfaminute":return-1===r&&t?"fél perccel ezelőtt":-1!==r||t?1===r?"fél perc múlva":"fél perc":"fél perce";case"xminutes":return-1===r&&t?a+" perccel ezelőtt":-1!==r||t?1===r?a+" perc múlva":a+" perc":a+" perce";case"xhours":return-1===r&&t?a+" órával ezelőtt":-1!==r||t?1===r?a+" óra múlva":a+" óra":a+" órája";case"xdays":return-1===r&&t?a+" nappal ezelőtt":-1!==r||t?1===r?a+" nap múlva":a+" nap":a+" napja";case"xmonths":return-1===r&&t?a+" hónappal ezelőtt":-1!==r||t?1===r?a+" hónap múlva":a+" hónap":a+" hónapja";case"xyears":return-1===r&&t?a+" évvel ezelőtt":-1!==r||t?1===r?a+" év múlva":a+" év":a+" éve"}return""}(t,n.addSuffix,o.toLowerCase(),n.comparison),a&&(r=Mt[a[0].toLowerCase()]+" "+r),r},formatLong:Pt,formatRelative:function(e,t,n,r){var a=Dt[e];return"function"==typeof a?a(t,n,r):a},localize:{ordinalNumber:function(e,t){return Number(e)+"."},era:(0,s.A)({values:{narrow:["ie.","isz."],abbreviated:["i. e.","i. sz."],wide:["Krisztus előtt","időszámításunk szerint"]},defaultWidth:"wide"}),quarter:(0,s.A)({values:{narrow:["1.","2.","3.","4."],abbreviated:["1. n.év","2. n.év","3. n.év","4. n.év"],wide:["1. negyedév","2. negyedév","3. negyedév","4. negyedév"]},defaultWidth:"wide",formattingValues:{narrow:["I.","II.","III.","IV."],abbreviated:["I. n.év","II. n.év","III. n.év","IV. n.év"],wide:["I. negyedév","II. negyedév","III. negyedév","IV. negyedév"]},argumentCallback:function(e){return Number(e)-1}}),month:(0,s.A)({values:{narrow:["J","F","M","Á","M","J","J","A","Sz","O","N","D"],abbreviated:["jan.","febr.","márc.","ápr.","máj.","jún.","júl.","aug.","szept.","okt.","nov.","dec."],wide:["január","február","március","április","május","június","július","augusztus","szeptember","október","november","december"]},defaultWidth:"wide"}),day:(0,s.A)({values:{narrow:["V","H","K","Sz","Cs","P","Sz"],short:["V","H","K","Sze","Cs","P","Szo"],abbreviated:["V","H","K","Sze","Cs","P","Szo"],wide:["vasárnap","hétfő","kedd","szerda","csütörtök","péntek","szombat"]},defaultWidth:"wide"}),dayPeriod:(0,s.A)({values:{narrow:{am:"de.",pm:"du.",midnight:"éjfél",noon:"dél",morning:"reggel",afternoon:"du.",evening:"este",night:"éjjel"},abbreviated:{am:"de.",pm:"du.",midnight:"éjfél",noon:"dél",morning:"reggel",afternoon:"du.",evening:"este",night:"éjjel"},wide:{am:"de.",pm:"du.",midnight:"éjfél",noon:"dél",morning:"reggel",afternoon:"délután",evening:"este",night:"éjjel"}},defaultWidth:"wide",defaultFormattingWidth:"wide"})},match:{ordinalNumber:(0,u.A)({matchPattern:/^(\d+)\.?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,c.A)({matchPatterns:{narrow:/^(ie\.|isz\.)/i,abbreviated:/^(i\.\s?e\.?|b?\s?c\s?e|i\.\s?sz\.?)/i,wide:/^(Krisztus előtt|időszámításunk előtt|időszámításunk szerint|i\. sz\.)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/ie/i,/isz/i],abbreviated:[/^(i\.?\s?e\.?|b\s?ce)/i,/^(i\.?\s?sz\.?|c\s?e)/i],any:[/előtt/i,/(szerint|i. sz.)/i]},defaultParseWidth:"any"}),quarter:(0,c.A)({matchPatterns:{narrow:/^[1234]\.?/i,abbreviated:/^[1234]?\.?\s?n\.év/i,wide:/^([1234]|I|II|III|IV)?\.?\s?negyedév/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1|I$/i,/2|II$/i,/3|III/i,/4|IV/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,c.A)({matchPatterns:{narrow:/^[jfmaásond]|sz/i,abbreviated:/^(jan\.?|febr\.?|márc\.?|ápr\.?|máj\.?|jún\.?|júl\.?|aug\.?|szept\.?|okt\.?|nov\.?|dec\.?)/i,wide:/^(január|február|március|április|május|június|július|augusztus|szeptember|október|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a|á/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s|sz/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^már/i,/^áp/i,/^máj/i,/^jún/i,/^júl/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,c.A)({matchPatterns:{narrow:/^([vhkpc]|sz|cs|sz)/i,short:/^([vhkp]|sze|cs|szo)/i,abbreviated:/^([vhkp]|sze|cs|szo)/i,wide:/^(vasárnap|hétfő|kedd|szerda|csütörtök|péntek|szombat)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^v/i,/^h/i,/^k/i,/^sz/i,/^c/i,/^p/i,/^sz/i],any:[/^v/i,/^h/i,/^k/i,/^sze/i,/^c/i,/^p/i,/^szo/i]},defaultParseWidth:"any"}),dayPeriod:(0,c.A)({matchPatterns:{any:/^((de|du)\.?|éjfél|délután|dél|reggel|este|éjjel)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^de\.?/i,pm:/^du\.?/i,midnight:/^éjf/i,noon:/^dé/i,morning:/reg/i,afternoon:/^délu\.?/i,evening:/es/i,night:/éjj/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}};var Nt={lessThanXSeconds:{one:"ավելի քիչ քան 1 վայրկյան",other:"ավելի քիչ քան {{count}} վայրկյան"},xSeconds:{one:"1 վայրկյան",other:"{{count}} վայրկյան"},halfAMinute:"կես րոպե",lessThanXMinutes:{one:"ավելի քիչ քան 1 րոպե",other:"ավելի քիչ քան {{count}} րոպե"},xMinutes:{one:"1 րոպե",other:"{{count}} րոպե"},aboutXHours:{one:"մոտ 1 ժամ",other:"մոտ {{count}} ժամ"},xHours:{one:"1 ժամ",other:"{{count}} ժամ"},xDays:{one:"1 օր",other:"{{count}} օր"},aboutXMonths:{one:"մոտ 1 ամիս",other:"մոտ {{count}} ամիս"},xMonths:{one:"1 ամիս",other:"{{count}} ամիս"},aboutXYears:{one:"մոտ 1 տարի",other:"մոտ {{count}} տարի"},xYears:{one:"1 տարի",other:"{{count}} տարի"},overXYears:{one:"ավելի քան 1 տարի",other:"ավելի քան {{count}} տարի"},almostXYears:{one:"համարյա 1 տարի",other:"համարյա {{count}} տարի"}},Lt={date:(0,a.A)({formats:{full:"d MMMM, y, EEEE",long:"d MMMM, y",medium:"d MMM, y",short:"dd.MM.yyyy"},defaultWidth:"full"}),time:(0,a.A)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,a.A)({formats:{full:"{{date}} 'ժ․'{{time}}",long:"{{date}} 'ժ․'{{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},$t={lastWeek:"'նախորդ' eeee p'֊ին'",yesterday:"'երեկ' p'֊ին'",today:"'այսօր' p'֊ին'",tomorrow:"'վաղը' p'֊ին'",nextWeek:"'հաջորդ' eeee p'֊ին'",other:"P"};const jt={formatDistance:function(e,t,n){var r;return n=n||{},r="string"==typeof Nt[e]?Nt[e]:1===t?Nt[e].one:Nt[e].other.replace("{{count}}",t),n.addSuffix?n.comparison>0?r+" հետո":r+" առաջ":r},formatLong:Lt,formatRelative:function(e,t,n,r){return $t[e]},localize:{ordinalNumber:function(e,t){var n=Number(e),r=n%100;return r<10&&r%10==1?n+"֊ին":n+"֊րդ"},era:(0,s.A)({values:{narrow:["Ք","Մ"],abbreviated:["ՔԱ","ՄԹ"],wide:["Քրիստոսից առաջ","Մեր թվարկության"]},defaultWidth:"wide"}),quarter:(0,s.A)({values:{narrow:["1","2","3","4"],abbreviated:["Ք1","Ք2","Ք3","Ք4"],wide:["1֊ին քառորդ","2֊րդ քառորդ","3֊րդ քառորդ","4֊րդ քառորդ"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,s.A)({values:{narrow:["Հ","Փ","Մ","Ա","Մ","Հ","Հ","Օ","Ս","Հ","Ն","Դ"],abbreviated:["հուն","փետ","մար","ապր","մայ","հուն","հուլ","օգս","սեպ","հոկ","նոյ","դեկ"],wide:["հունվար","փետրվար","մարտ","ապրիլ","մայիս","հունիս","հուլիս","օգոստոս","սեպտեմբեր","հոկտեմբեր","նոյեմբեր","դեկտեմբեր"]},defaultWidth:"wide"}),day:(0,s.A)({values:{narrow:["Կ","Ե","Ե","Չ","Հ","Ո","Շ"],short:["կր","եր","եք","չք","հգ","ուր","շբ"],abbreviated:["կիր","երկ","երք","չոր","հնգ","ուրբ","շաբ"],wide:["կիրակի","երկուշաբթի","երեքշաբթի","չորեքշաբթի","հինգշաբթի","ուրբաթ","շաբաթ"]},defaultWidth:"wide"}),dayPeriod:(0,s.A)({values:{narrow:{am:"a",pm:"p",midnight:"կեսգշ",noon:"կեսօր",morning:"առավոտ",afternoon:"ցերեկ",evening:"երեկո",night:"գիշեր"},abbreviated:{am:"AM",pm:"PM",midnight:"կեսգիշեր",noon:"կեսօր",morning:"առավոտ",afternoon:"ցերեկ",evening:"երեկո",night:"գիշեր"},wide:{am:"a.m.",pm:"p.m.",midnight:"կեսգիշեր",noon:"կեսօր",morning:"առավոտ",afternoon:"ցերեկ",evening:"երեկո",night:"գիշեր"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"կեսգշ",noon:"կեսօր",morning:"առավոտը",afternoon:"ցերեկը",evening:"երեկոյան",night:"գիշերը"},abbreviated:{am:"AM",pm:"PM",midnight:"կեսգիշերին",noon:"կեսօրին",morning:"առավոտը",afternoon:"ցերեկը",evening:"երեկոյան",night:"գիշերը"},wide:{am:"a.m.",pm:"p.m.",midnight:"կեսգիշերին",noon:"կեսօրին",morning:"առավոտը",afternoon:"ցերեկը",evening:"երեկոյան",night:"գիշերը"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(0,u.A)({matchPattern:/^(\d+)((-|֊)?(ին|րդ))?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,c.A)({matchPatterns:{narrow:/^(Ք|Մ)/i,abbreviated:/^(Ք\.?\s?Ա\.?|Մ\.?\s?Թ\.?\s?Ա\.?|Մ\.?\s?Թ\.?|Ք\.?\s?Հ\.?)/i,wide:/^(քրիստոսից առաջ|մեր թվարկությունից առաջ|մեր թվարկության|քրիստոսից հետո)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^(ք|մ)/i]},defaultParseWidth:"any"}),quarter:(0,c.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^ք[1234]/i,wide:/^[1234]((-|֊)?(ին|րդ)) քառորդ/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,c.A)({matchPatterns:{narrow:/^[հփմաօսնդ]/i,abbreviated:/^(հուն|փետ|մար|ապր|մայ|հուն|հուլ|օգս|սեպ|հոկ|նոյ|դեկ)/i,wide:/^(հունվար|փետրվար|մարտ|ապրիլ|մայիս|հունիս|հուլիս|օգոստոս|սեպտեմբեր|հոկտեմբեր|նոյեմբեր|դեկտեմբեր)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^հ/i,/^փ/i,/^մ/i,/^ա/i,/^մ/i,/^հ/i,/^հ/i,/^օ/i,/^ս/i,/^հ/i,/^ն/i,/^դ/i],any:[/^հու/i,/^փ/i,/^մար/i,/^ա/i,/^մայ/i,/^հուն/i,/^հուլ/i,/^օ/i,/^ս/i,/^հոկ/i,/^ն/i,/^դ/i]},defaultParseWidth:"any"}),day:(0,c.A)({matchPatterns:{narrow:/^[եչհոշկ]/i,short:/^(կր|եր|եք|չք|հգ|ուր|շբ)/i,abbreviated:/^(կիր|երկ|երք|չոր|հնգ|ուրբ|շաբ)/i,wide:/^(կիրակի|երկուշաբթի|երեքշաբթի|չորեքշաբթի|հինգշաբթի|ուրբաթ|շաբաթ)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^կ/i,/^ե/i,/^ե/i,/^չ/i,/^հ/i,/^(ո|Ո)/,/^շ/i],short:[/^կ/i,/^եր/i,/^եք/i,/^չ/i,/^հ/i,/^(ո|Ո)/,/^շ/i],abbreviated:[/^կ/i,/^երկ/i,/^երք/i,/^չ/i,/^հ/i,/^(ո|Ո)/,/^շ/i],wide:[/^կ/i,/^երկ/i,/^երե/i,/^չ/i,/^հ/i,/^(ո|Ո)/,/^շ/i]},defaultParseWidth:"any"}),dayPeriod:(0,c.A)({matchPatterns:{narrow:/^([ap]|կեսգշ|կեսօր|(առավոտը?|ցերեկը?|երեկո(յան)?|գիշերը?))/i,any:/^([ap]\.?\s?m\.?|կեսգիշեր(ին)?|կեսօր(ին)?|(առավոտը?|ցերեկը?|երեկո(յան)?|գիշերը?))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/կեսգիշեր/i,noon:/կեսօր/i,morning:/առավոտ/i,afternoon:/ցերեկ/i,evening:/երեկո/i,night:/գիշեր/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:1}};var Ft={lessThanXSeconds:{one:"kurang dari 1 detik",other:"kurang dari {{count}} detik"},xSeconds:{one:"1 detik",other:"{{count}} detik"},halfAMinute:"setengah menit",lessThanXMinutes:{one:"kurang dari 1 menit",other:"kurang dari {{count}} menit"},xMinutes:{one:"1 menit",other:"{{count}} menit"},aboutXHours:{one:"sekitar 1 jam",other:"sekitar {{count}} jam"},xHours:{one:"1 jam",other:"{{count}} jam"},xDays:{one:"1 hari",other:"{{count}} hari"},aboutXMonths:{one:"sekitar 1 bulan",other:"sekitar {{count}} bulan"},xMonths:{one:"1 bulan",other:"{{count}} bulan"},aboutXYears:{one:"sekitar 1 tahun",other:"sekitar {{count}} tahun"},xYears:{one:"1 tahun",other:"{{count}} tahun"},overXYears:{one:"lebih dari 1 tahun",other:"lebih dari {{count}} tahun"},almostXYears:{one:"hampir 1 tahun",other:"hampir {{count}} tahun"}},Bt={date:(0,a.A)({formats:{full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"d/M/yyyy"},defaultWidth:"full"}),time:(0,a.A)({formats:{full:"HH.mm.ss",long:"HH.mm.ss",medium:"HH.mm",short:"HH.mm"},defaultWidth:"full"}),dateTime:(0,a.A)({formats:{full:"{{date}} 'pukul' {{time}}",long:"{{date}} 'pukul' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},zt={lastWeek:"eeee 'lalu pukul' p",yesterday:"'Kemarin pukul' p",today:"'Hari ini pukul' p",tomorrow:"'Besok pukul' p",nextWeek:"eeee 'pukul' p",other:"P"};const Wt={formatDistance:function(e,t,n){var r;return n=n||{},r="string"==typeof Ft[e]?Ft[e]:1===t?Ft[e].one:Ft[e].other.replace("{{count}}",t),n.addSuffix?n.comparison>0?"dalam waktu "+r:r+" yang lalu":r},formatLong:Bt,formatRelative:function(e,t,n,r){return zt[e]},localize:{ordinalNumber:function(e,t){return"ke-"+Number(e)},era:(0,s.A)({values:{narrow:["SM","M"],abbreviated:["SM","M"],wide:["Sebelum Masehi","Masehi"]},defaultWidth:"wide"}),quarter:(0,s.A)({values:{narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["Kuartal ke-1","Kuartal ke-2","Kuartal ke-3","Kuartal ke-4"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,s.A)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Ags","Sep","Okt","Nov","Des"],wide:["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"]},defaultWidth:"wide"}),day:(0,s.A)({values:{narrow:["M","S","S","R","K","J","S"],short:["Min","Sen","Sel","Rab","Kam","Jum","Sab"],abbreviated:["Min","Sen","Sel","Rab","Kam","Jum","Sab"],wide:["Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu"]},defaultWidth:"wide"}),dayPeriod:(0,s.A)({values:{narrow:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"},abbreviated:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"},wide:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"}},defaultWidth:"wide",formattingValues:{narrow:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"},abbreviated:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"},wide:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(0,u.A)({matchPattern:/^ke-(\d+)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,c.A)({matchPatterns:{narrow:/^(sm|m)/i,abbreviated:/^(s\.?\s?m\.?|s\.?\s?e\.?\s?u\.?|m\.?|e\.?\s?u\.?)/i,wide:/^(sebelum masehi|sebelum era umum|masehi|era umum)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^s/i,/^(m|e)/i]},defaultParseWidth:"any"}),quarter:(0,c.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^K-?\s[1234]/i,wide:/^Kuartal ke-?\s?[1234]/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,c.A)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|mei|jun|jul|agt|sep|okt|nov|des)/i,wide:/^(januari|februari|maret|april|mei|juni|juli|agustus|september|oktober|november|desember)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^ma/i,/^ap/i,/^me/i,/^jun/i,/^jul/i,/^ag/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,c.A)({matchPatterns:{narrow:/^[srkjm]/i,short:/^(min|sen|sel|rab|kam|jum|sab)/i,abbreviated:/^(min|sen|sel|rab|kam|jum|sab)/i,wide:/^(minggu|senin|selasa|rabu|kamis|jumat|sabtu)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^m/i,/^s/i,/^s/i,/^r/i,/^k/i,/^j/i,/^s/i],any:[/^m/i,/^sen/i,/^sel/i,/^r/i,/^k/i,/^j/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,c.A)({matchPatterns:{narrow:/^(a|p|tengah m|tengah h|(di(\swaktu)?) (pagi|siang|sore|malam))/i,any:/^([ap]\.?\s?m\.?|tengah malam|tengah hari|(di(\swaktu)?) (pagi|siang|sore|malam))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^pm/i,midnight:/^tengah m/i,noon:/^tengah h/i,morning:/pagi/i,afternoon:/siang/i,evening:/sore/i,night:/malam/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:1}};var Vt={lessThanXSeconds:{one:"minna en 1 sekúnda",other:"minna en {{count}} sekúndur"},xSeconds:{one:"1 sekúnda",other:"{{count}} sekúndur"},halfAMinute:"hálf mínúta",lessThanXMinutes:{one:"minna en 1 mínúta",other:"minna en {{count}} mínútur"},xMinutes:{one:"1 mínúta",other:"{{count}} mínútur"},aboutXHours:{one:"u.þ.b. 1 klukkustund",other:"u.þ.b. {{count}} klukkustundir"},xHours:{one:"1 klukkustund",other:"{{count}} klukkustundir"},xDays:{one:"1 dagur",other:"{{count}} dagar"},aboutXMonths:{one:"u.þ.b. 1 mánuður",other:"u.þ.b. {{count}} mánuðir"},xMonths:{one:"1 mánuður",other:"{{count}} mánuðir"},aboutXYears:{one:"u.þ.b. 1 ár",other:"u.þ.b. {{count}} ár"},xYears:{one:"1 ár",other:"{{count}} ár"},overXYears:{one:"meira en 1 ár",other:"meira en {{count}} ár"},almostXYears:{one:"næstum 1 ár",other:"næstum {{count}} ár"}},Ut={date:(0,a.A)({formats:{full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"d.MM.y"},defaultWidth:"full"}),time:(0,a.A)({formats:{full:"'kl'. HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,a.A)({formats:{full:"{{date}} 'kl.' {{time}}",long:"{{date}} 'kl.' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},Ht={lastWeek:"'síðasta' dddd 'kl.' p",yesterday:"'í gær kl.' p",today:"'í dag kl.' p",tomorrow:"'á morgun kl.' p",nextWeek:"dddd 'kl.' p",other:"L"};const qt={formatDistance:function(e,t,n){var r;return n=n||{},r="string"==typeof Vt[e]?Vt[e]:1===t?Vt[e].one:Vt[e].other.replace("{{count}}",t),n.addSuffix?n.comparison>0?"í "+r:r+" síðan":r},formatLong:Ut,formatRelative:function(e,t,n,r){return Ht[e]},localize:{ordinalNumber:function(e,t){return Number(e)+"."},era:(0,s.A)({values:{narrow:["f.Kr.","e.Kr."],abbreviated:["f.Kr.","e.Kr."],wide:["fyrir Krist","eftir Krist"]},defaultWidth:"wide"}),quarter:(0,s.A)({values:{narrow:["1","2","3","4"],abbreviated:["1F","2F","3F","4F"],wide:["1. fjórðungur","2. fjórðungur","3. fjórðungur","4. fjórðungur"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,s.A)({values:{narrow:["J","F","M","A","M","J","J","Á","S","Ó","N","D"],abbreviated:["jan.","feb.","mars","apríl","maí","júní","júlí","ágúst","sept.","okt.","nóv.","des."],wide:["janúar","febrúar","mars","apríl","maí","júní","júlí","ágúst","september","október","nóvember","desember"]},defaultWidth:"wide"}),day:(0,s.A)({values:{narrow:["S","M","Þ","M","F","F","L"],short:["Su","Má","Þr","Mi","Fi","Fö","La"],abbreviated:["sun.","mán.","þri.","mið.","fim.","fös.","lau"],wide:["sunnudagur","mánudagur","þriðjudagur","miðvikudagur","fimmtudagur","föstudagur","laugardagur"]},defaultWidth:"wide"}),dayPeriod:(0,s.A)({values:{narrow:{am:"f",pm:"e",midnight:"miðnætti",noon:"hádegi",morning:"morgunn",afternoon:"síðdegi",evening:"kvöld",night:"nótt"},abbreviated:{am:"f.h.",pm:"e.h.",midnight:"miðnætti",noon:"hádegi",morning:"morgunn",afternoon:"síðdegi",evening:"kvöld",night:"nótt"},wide:{am:"fyrir hádegi",pm:"eftir hádegi",midnight:"miðnætti",noon:"hádegi",morning:"morgunn",afternoon:"síðdegi",evening:"kvöld",night:"nótt"}},defaultWidth:"wide",formattingValues:{narrow:{am:"f",pm:"e",midnight:"á miðnætti",noon:"á hádegi",morning:"að morgni",afternoon:"síðdegis",evening:"um kvöld",night:"um nótt"},abbreviated:{am:"f.h.",pm:"e.h.",midnight:"á miðnætti",noon:"á hádegi",morning:"að morgni",afternoon:"síðdegis",evening:"um kvöld",night:"um nótt"},wide:{am:"fyrir hádegi",pm:"eftir hádegi",midnight:"á miðnætti",noon:"á hádegi",morning:"að morgni",afternoon:"síðdegis",evening:"um kvöld",night:"um nótt"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(0,u.A)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,c.A)({matchPatterns:{narrow:/^(f\.Kr\.|e\.Kr\.)/i,abbreviated:/^(f\.Kr\.|e\.Kr\.)/i,wide:/^(fyrir Krist|eftir Krist)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^(f\.Kr\.|e\.Kr\.)/i]},defaultParseWidth:"any"}),quarter:(0,c.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234] fjórðungur/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,c.A)({matchPatterns:{narrow:/^[jfmásónd]/i,abbreviated:/^(jan\.|feb\.|mars\.|apríl\.|maí|júní|júlí|águst|sep\.|oct\.|nov\.|dec\.)/i,wide:/^(januar|februar|mars|apríl|maí|júní|júlí|águst|september|október|nóvember|desember)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^á/i,/^s/i,/^ó/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^maí/i,/^jún/i,/^júl/i,/^áu/i,/^s/i,/^ó/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,c.A)({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|má|þr|mi|fi|fö|la)/i,abbreviated:/^(sun|mán|þri|mið|fim|fös|lau)\.?/i,wide:/^(sunnudagur|mánudagur|þriðjudagur|miðvikudagur|fimmtudagur|föstudagur|laugardagur)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^þ/i,/^m/i,/^f/i,/^f/i,/^l/i],any:[/^su/i,/^má/i,/^þr/i,/^mi/i,/^fi/i,/^fö/i,/^la/i]},defaultParseWidth:"any"}),dayPeriod:(0,c.A)({matchPatterns:{narrow:/^(f|e|síðdegis|(á|að|um) (morgni|kvöld|nótt|miðnætti))/i,any:/^(fyrir hádegi|eftir hádegi|[ef]\.?h\.?|síðdegis|morgunn|(á|að|um) (morgni|kvöld|nótt|miðnætti))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^f/i,pm:/^e/i,midnight:/^mi/i,noon:/^há/i,morning:/morgunn/i,afternoon:/síðdegi/i,evening:/kvöld/i,night:/nótt/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}};var Gt={lessThanXSeconds:{one:"meno di un secondo",other:"meno di {{count}} secondi"},xSeconds:{one:"un secondo",other:"{{count}} secondi"},halfAMinute:"alcuni secondi",lessThanXMinutes:{one:"meno di un minuto",other:"meno di {{count}} minuti"},xMinutes:{one:"un minuto",other:"{{count}} minuti"},aboutXHours:{one:"circa un'ora",other:"circa {{count}} ore"},xHours:{one:"un'ora",other:"{{count}} ore"},xDays:{one:"un giorno",other:"{{count}} giorni"},aboutXMonths:{one:"circa un mese",other:"circa {{count}} mesi"},xMonths:{one:"un mese",other:"{{count}} mesi"},aboutXYears:{one:"circa un anno",other:"circa {{count}} anni"},xYears:{one:"un anno",other:"{{count}} anni"},overXYears:{one:"più di un anno",other:"più di {{count}} anni"},almostXYears:{one:"quasi un anno",other:"quasi {{count}} anni"}},Yt={date:(0,a.A)({formats:{full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},defaultWidth:"full"}),time:(0,a.A)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,a.A)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},Xt={lastWeek:"eeee 'scorso alle' p",yesterday:"'ieri alle' p",today:"'oggi alle' p",tomorrow:"'domani alle' p",nextWeek:"eeee 'alle' p",other:"P"};const Kt={formatDistance:function(e,t,n){var r;return n=n||{},r="string"==typeof Gt[e]?Gt[e]:1===t?Gt[e].one:Gt[e].other.replace("{{count}}",t),n.addSuffix?n.comparison>0?"tra "+r:r+" fa":r},formatLong:Yt,formatRelative:function(e,t,n,r){return Xt[e]},localize:{ordinalNumber:function(e){return Number(e)+"º"},era:(0,s.A)({values:{narrow:["aC","dC"],abbreviated:["a.C.","d.C."],wide:["avanti Cristo","dopo Cristo"]},defaultWidth:"wide"}),quarter:(0,s.A)({values:{narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,s.A)({values:{narrow:["G","F","M","A","M","G","L","A","S","O","N","D"],abbreviated:["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic"],wide:["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"]},defaultWidth:"wide"}),day:(0,s.A)({values:{narrow:["D","L","M","M","G","V","S"],short:["dom","lun","mar","mer","gio","ven","sab"],abbreviated:["dom","lun","mar","mer","gio","ven","sab"],wide:["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"]},defaultWidth:"wide"}),dayPeriod:(0,s.A)({values:{narrow:{am:"m.",pm:"p.",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"},abbreviated:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"},wide:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"}},defaultWidth:"wide",formattingValues:{narrow:{am:"m.",pm:"p.",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"},abbreviated:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"},wide:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(0,u.A)({matchPattern:/^(\d+)(º)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,c.A)({matchPatterns:{narrow:/^(aC|dC)/i,abbreviated:/^(a\.?\s?C\.?|a\.?\s?e\.?\s?v\.?|d\.?\s?C\.?|e\.?\s?v\.?)/i,wide:/^(avanti Cristo|avanti Era Volgare|dopo Cristo|Era Volgare)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^a/i,/^(d|e)/i]},defaultParseWidth:"any"}),quarter:(0,c.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^t[1234]/i,wide:/^[1234](º)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,c.A)({matchPatterns:{narrow:/^[gfmalsond]/i,abbreviated:/^(gen|feb|mar|apr|mag|giu|lug|ago|set|ott|nov|dic)/i,wide:/^(gennaio|febbraio|marzo|aprile|maggio|giugno|luglio|agosto|settembre|ottobre|novembre|dicembre)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^g/i,/^f/i,/^m/i,/^a/i,/^m/i,/^g/i,/^l/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ge/i,/^f/i,/^mar/i,/^ap/i,/^mag/i,/^gi/i,/^l/i,/^ag/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,c.A)({matchPatterns:{narrow:/^[dlmgvs]/i,short:/^(do|lu|ma|me|gi|ve|sa)/i,abbreviated:/^(dom|lun|mar|mer|gio|ven|sab)/i,wide:/^(domenica|luned[i|ì]|marted[i|ì]|mercoled[i|ì]|gioved[i|ì]|venerd[i|ì]|sabato)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^g/i,/^v/i,/^s/i],any:[/^d/i,/^l/i,/^ma/i,/^me/i,/^g/i,/^v/i,/^s/i]},defaultParseWidth:"any"}),dayPeriod:(0,c.A)({matchPatterns:{narrow:/^(a|m\.|p|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i,any:/^([ap]\.?\s?m\.?|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mezza/i,noon:/^mezzo/i,morning:/mattina/i,afternoon:/pomeriggio/i,evening:/sera/i,night:/notte/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}};var Qt={lessThanXSeconds:{one:"1秒未満",other:"{{count}}秒未満",oneWithSuffix:"約1秒",otherWithSuffix:"約{{count}}秒"},xSeconds:{one:"1秒",other:"{{count}}秒"},halfAMinute:"30秒",lessThanXMinutes:{one:"1分未満",other:"{{count}}分未満",oneWithSuffix:"約1分",otherWithSuffix:"約{{count}}分"},xMinutes:{one:"1分",other:"{{count}}分"},aboutXHours:{one:"約1時間",other:"約{{count}}時間"},xHours:{one:"1時間",other:"{{count}}時間"},xDays:{one:"1日",other:"{{count}}日"},aboutXMonths:{one:"約1か月",other:"約{{count}}か月"},xMonths:{one:"1か月",other:"{{count}}か月"},aboutXYears:{one:"約1年",other:"約{{count}}年"},xYears:{one:"1年",other:"{{count}}年"},overXYears:{one:"1年以上",other:"{{count}}年以上"},almostXYears:{one:"1年近く",other:"{{count}}年近く"}},Zt={date:(0,a.A)({formats:{full:"y年M月d日EEEE",long:"y年M月d日",medium:"y/MM/dd",short:"y/MM/dd"},defaultWidth:"full"}),time:(0,a.A)({formats:{full:"H時mm分ss秒 zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},defaultWidth:"full"}),dateTime:(0,a.A)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},Jt={lastWeek:"先週のeeeeのp",yesterday:"昨日のp",today:"今日のp",tomorrow:"明日のp",nextWeek:"翌週のeeeeのp",other:"P"};const en={formatDistance:function(e,t,n){var r;return n=n||{},r="string"==typeof Qt[e]?Qt[e]:1===t?n.addSuffix&&Qt[e].oneWithSuffix?Qt[e].oneWithSuffix:Qt[e].one:n.addSuffix&&Qt[e].otherWithSuffix?Qt[e].otherWithSuffix.replace("{{count}}",t):Qt[e].other.replace("{{count}}",t),n.addSuffix?n.comparison>0?r+"後":r+"前":r},formatLong:Zt,formatRelative:function(e,t,n,r){return Jt[e]},localize:{ordinalNumber:function(e){return Number(e)},era:(0,s.A)({values:{narrow:["BC","AC"],abbreviated:["紀元前","西暦"],wide:["紀元前","西暦"]},defaultWidth:"wide"}),quarter:(0,s.A)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["第1四半期","第2四半期","第3四半期","第4四半期"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,s.A)({values:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"]},defaultWidth:"wide"}),day:(0,s.A)({values:{narrow:["日","月","火","水","木","金","土"],short:["日","月","火","水","木","金","土"],abbreviated:["日","月","火","水","木","金","土"],wide:["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"]},defaultWidth:"wide"}),dayPeriod:(0,s.A)({values:{narrow:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},abbreviated:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},wide:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"}},defaultWidth:"wide",formattingValues:{narrow:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},abbreviated:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},wide:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(0,u.A)({matchPattern:/^第?\d+/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,c.A)({matchPatterns:{narrow:/^(B\.?C\.?|A\.?D\.?)/i,abbreviated:/^(紀元[前後]|西暦)/i,wide:/^(紀元[前後]|西暦)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^B/i,/^A/i],any:[/^(紀元前)/i,/^(西暦|紀元後)/i]},defaultParseWidth:"any"}),quarter:(0,c.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^Q[1234]/i,wide:/^第[1234一二三四1234]四半期/i},defaultMatchWidth:"wide",parsePatterns:{any:[/(1|一|1)/i,/(2|二|2)/i,/(3|三|3)/i,/(4|四|4)/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,c.A)({matchPatterns:{narrow:/^([123456789]|1[012])/,abbreviated:/^([123456789]|1[012])月/i,wide:/^([123456789]|1[012])月/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^1/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},defaultParseWidth:"any"}),day:(0,c.A)({matchPatterns:{narrow:/^[日月火水木金土]/,short:/^[日月火水木金土]/,abbreviated:/^[日月火水木金土]/,wide:/^[日月火水木金土]曜日/},defaultMatchWidth:"wide",parsePatterns:{any:[/^日/,/^月/,/^火/,/^水/,/^木/,/^金/,/^土/]},defaultParseWidth:"any"}),dayPeriod:(0,c.A)({matchPatterns:{any:/^(AM|PM|午前|午後|正午|深夜|真夜中|夜|朝)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^(A|午前)/i,pm:/^(P|午後)/i,midnight:/^深夜|真夜中/i,noon:/^正午/i,morning:/^朝/i,afternoon:/^午後/i,evening:/^夜/i,night:/^深夜/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:1}};var tn={lessThanXSeconds:{past:"{{count}} წამზე ნაკლები ხნის წინ",present:"{{count}} წამზე ნაკლები",future:"{{count}} წამზე ნაკლებში"},xSeconds:{past:"{{count}} წამის წინ",present:"{{count}} წამი",future:"{{count}} წამში"},halfAMinute:{past:"ნახევარი წუთის წინ",present:"ნახევარი წუთი",future:"ნახევარი წუთში"},lessThanXMinutes:{past:"{{count}} წუთზე ნაკლები ხნის წინ",present:"{{count}} წუთზე ნაკლები",future:"{{count}} წუთზე ნაკლებში"},xMinutes:{past:"{{count}} წუთის წინ",present:"{{count}} წუთი",future:"{{count}} წუთში"},aboutXHours:{past:"დაახლოებით {{count}} საათის წინ",present:"დაახლოებით {{count}} საათი",future:"დაახლოებით {{count}} საათში"},xHours:{past:"{{count}} საათის წინ",present:"{{count}} საათი",future:"{{count}} საათში"},xDays:{past:"{{count}} დღის წინ",present:"{{count}} დღე",future:"{{count}} დღეში"},aboutXMonths:{past:"დაახლოებით {{count}} თვის წინ",present:"დაახლოებით {{count}} თვე",future:"დაახლოებით {{count}} თვეში"},xMonths:{past:"{{count}} თვის წინ",present:"{{count}} თვე",future:"{{count}} თვეში"},aboutXYears:{past:"დაახლოებით {{count}} წლის წინ",present:"დაახლოებით {{count}} წელი",future:"დაახლოებით {{count}} წელში"},xYears:{past:"{{count}} წლის წინ",present:"{{count}} წელი",future:"{{count}} წელში"},overXYears:{past:"{{count}} წელზე მეტი ხნის წინ",present:"{{count}} წელზე მეტი",future:"{{count}} წელზე მეტი ხნის შემდეგ"},almostXYears:{past:"თითქმის {{count}} წლის წინ",present:"თითქმის {{count}} წელი",future:"თითქმის {{count}} წელში"}},nn={date:(0,a.A)({formats:{full:"EEEE, do MMMM, y",long:"do, MMMM, y",medium:"d, MMM, y",short:"dd/MM/yyyy"},defaultWidth:"full"}),time:(0,a.A)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:(0,a.A)({formats:{full:"{{date}} {{time}}'-ზე'",long:"{{date}} {{time}}'-ზე'",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},rn={lastWeek:"'წინა' eeee LT'-ზე'",yesterday:"'გუშინ' LT'-ზე'",today:"'დღეს' LT'-ზე'",tomorrow:"'ხვალ' LT'-ზე'",nextWeek:"'შემდეგი' eeee LT'-ზე'",other:"L"};const an={formatDistance:function(e,t,n){return n=n||{},"string"==typeof tn[e]?tn[e]:n.addSuffix&&n.comparison>0?tn[e].future.replace("{{count}}",t):n.addSuffix&&n.comparison<=0?tn[e].past.replace("{{count}}",t):tn[e].present.replace("{{count}}",t)},formatLong:nn,formatRelative:function(e,t,n,r){return rn[e]},localize:{ordinalNumber:function(e,t){var n=Number(e);return 1===n?n+"-ლი":n+"-ე"},era:(0,s.A)({values:{narrow:["ჩ.წ-მდე","ჩ.წ"],abbreviated:["ჩვ.წ-მდე","ჩვ.წ"],wide:["ჩვენს წელთაღრიცხვამდე","ჩვენი წელთაღრიცხვით"]},defaultWidth:"wide"}),quarter:(0,s.A)({values:{narrow:["1","2","3","4"],abbreviated:["1-ლი კვ","2-ე კვ","3-ე კვ","4-ე კვ"],wide:["1-ლი კვარტალი","2-ე კვარტალი","3-ე კვარტალი","4-ე კვარტალი"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,s.A)({values:{narrow:["ია","თე","მა","აპ","მს","ვნ","ვლ","აგ","სე","ოქ","ნო","დე"],abbreviated:["იან","თებ","მარ","აპრ","მაი","ივნ","ივლ","აგვ","სექ","ოქტ","ნოე","დეკ"],wide:["იანვარი","თებერვალი","მარტი","აპრილი","მაისი","ივნისი","ივლისი","აგვისტო","სექტემბერი","ოქტომბერი","ნოემბერი","დეკემბერი"]},defaultWidth:"wide"}),day:(0,s.A)({values:{narrow:["კვ","ორ","სა","ოთ","ხუ","პა","შა"],short:["კვი","ორშ","სამ","ოთხ","ხუთ","პარ","შაბ"],abbreviated:["კვი","ორშ","სამ","ოთხ","ხუთ","პარ","შაბ"],wide:["კვირა","ორშაბათი","სამშაბათი","ოთხშაბათი","ხუთშაბათი","პარასკევი","შაბათი"]},defaultWidth:"wide"}),dayPeriod:(0,s.A)({values:{narrow:{am:"a",pm:"p",midnight:"შუაღამე",noon:"შუადღე",morning:"დილა",afternoon:"საღამო",evening:"საღამო",night:"ღამე"},abbreviated:{am:"AM",pm:"PM",midnight:"შუაღამე",noon:"შუადღე",morning:"დილა",afternoon:"საღამო",evening:"საღამო",night:"ღამე"},wide:{am:"a.m.",pm:"p.m.",midnight:"შუაღამე",noon:"შუადღე",morning:"დილა",afternoon:"საღამო",evening:"საღამო",night:"ღამე"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"შუაღამით",noon:"შუადღისას",morning:"დილით",afternoon:"ნაშუადღევს",evening:"საღამოს",night:"ღამით"},abbreviated:{am:"AM",pm:"PM",midnight:"შუაღამით",noon:"შუადღისას",morning:"დილით",afternoon:"ნაშუადღევს",evening:"საღამოს",night:"ღამით"},wide:{am:"a.m.",pm:"p.m.",midnight:"შუაღამით",noon:"შუადღისას",morning:"დილით",afternoon:"ნაშუადღევს",evening:"საღამოს",night:"ღამით"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(0,u.A)({matchPattern:/^(\d+)(-ლი|-ე)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,c.A)({matchPatterns:{narrow:/^(ჩვ?\.წ)/i,abbreviated:/^(ჩვ?\.წ)/i,wide:/^(ჩვენს წელთაღრიცხვამდე|ქრისტეშობამდე|ჩვენი წელთაღრიცხვით|ქრისტეშობიდან)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^(ჩვენს წელთაღრიცხვამდე|ქრისტეშობამდე)/i,/^(ჩვენი წელთაღრიცხვით|ქრისტეშობიდან)/i]},defaultParseWidth:"any"}),quarter:(0,c.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^[1234]-(ლი|ე)? კვ/i,wide:/^[1234]-(ლი|ე)? კვარტალი/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,c.A)({matchPatterns:{any:/^(ია|თე|მა|აპ|მს|ვნ|ვლ|აგ|სე|ოქ|ნო|დე)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^ია/i,/^თ/i,/^მარ/i,/^აპ/i,/^მაი/i,/^ი?ვნ/i,/^ი?ვლ/i,/^აგ/i,/^ს/i,/^ო/i,/^ნ/i,/^დ/i]},defaultParseWidth:"any"}),day:(0,c.A)({matchPatterns:{narrow:/^(კვ|ორ|სა|ოთ|ხუ|პა|შა)/i,short:/^(კვი|ორშ|სამ|ოთხ|ხუთ|პარ|შაბ)/i,long:/^(კვირა|ორშაბათი|სამშაბათი|ოთხშაბათი|ხუთშაბათი|პარასკევი|შაბათი)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^კვ/i,/^ორ/i,/^სა/i,/^ოთ/i,/^ხუ/i,/^პა/i,/^შა/i]},defaultParseWidth:"any"}),dayPeriod:(0,c.A)({matchPatterns:{any:/^([ap]\.?\s?m\.?|შუაღ|დილ)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^შუაღ/i,noon:/^შუადღ/i,morning:/^დილ/i,afternoon:/ნაშუადღევს/i,evening:/საღამო/i,night:/ღამ/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:1}};var on={lessThanXSeconds:{one:"1초 미만",other:"{{count}}초 미만"},xSeconds:{one:"1초",other:"{{count}}초"},halfAMinute:"30초",lessThanXMinutes:{one:"1분 미만",other:"{{count}}분 미만"},xMinutes:{one:"1분",other:"{{count}}분"},aboutXHours:{one:"약 1시간",other:"약 {{count}}시간"},xHours:{one:"1시간",other:"{{count}}시간"},xDays:{one:"1일",other:"{{count}}일"},aboutXMonths:{one:"약 1개월",other:"약 {{count}}개월"},xMonths:{one:"1개월",other:"{{count}}개월"},aboutXYears:{one:"약 1년",other:"약 {{count}}년"},xYears:{one:"1년",other:"{{count}}년"},overXYears:{one:"1년 이상",other:"{{count}}년 이상"},almostXYears:{one:"거의 1년",other:"거의 {{count}}년"}},sn={date:(0,a.A)({formats:{full:"y년 M월 d일 EEEE",long:"y년 M월 d일",medium:"y.MM.dd",short:"y.MM.dd"},defaultWidth:"full"}),time:(0,a.A)({formats:{full:"a H시 mm분 ss초 zzzz",long:"a H:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,a.A)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},ln={lastWeek:"'지난' eeee p",yesterday:"'어제' p",today:"'오늘' p",tomorrow:"'내일' p",nextWeek:"'다음' eeee p",other:"P"};const un={formatDistance:function(e,t,n){var r;return n=n||{},r="string"==typeof on[e]?on[e]:1===t?on[e].one:on[e].other.replace("{{count}}",t),n.addSuffix?n.comparison>0?r+" 후":r+" 전":r},formatLong:sn,formatRelative:function(e,t,n,r){return ln[e]},localize:{ordinalNumber:function(e,t){var n=Number(e);return!t||"minute"!==t.unit&&"second"!==t.unit?n+"번째":n.toString()},era:(0,s.A)({values:{narrow:["BC","AD"],abbreviated:["BC","AD"],wide:["기원전","서기"]},defaultWidth:"wide"}),quarter:(0,s.A)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1분기","2분기","3분기","4분기"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,s.A)({values:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],wide:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"]},defaultWidth:"wide"}),day:(0,s.A)({values:{narrow:["일","월","화","수","목","금","토"],short:["일","월","화","수","목","금","토"],abbreviated:["일","월","화","수","목","금","토"],wide:["일요일","월요일","화요일","수요일","목요일","금요일","토요일"]},defaultWidth:"wide"}),dayPeriod:(0,s.A)({values:{narrow:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},abbreviated:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},wide:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"}},defaultWidth:"wide",formattingValues:{narrow:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},abbreviated:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},wide:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(0,u.A)({matchPattern:/^(\d+)(번째)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,c.A)({matchPatterns:{narrow:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(기원전|서기)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^(bc|기원전)/i,/^(ad|서기)/i]},defaultParseWidth:"any"}),quarter:(0,c.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234]사?분기/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,c.A)({matchPatterns:{narrow:/^(1[012]|[123456789])/,abbreviated:/^(1[012]|[123456789])월/i,wide:/^(1[012]|[123456789])월/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^1월?$/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},defaultParseWidth:"any"}),day:(0,c.A)({matchPatterns:{narrow:/^[일월화수목금토]/,short:/^[일월화수목금토]/,abbreviated:/^[일월화수목금토]/,wide:/^[일월화수목금토]요일/},defaultMatchWidth:"wide",parsePatterns:{any:[/^일/,/^월/,/^화/,/^수/,/^목/,/^금/,/^토/]},defaultParseWidth:"any"}),dayPeriod:(0,c.A)({matchPatterns:{any:/^(am|pm|오전|오후|자정|정오|아침|저녁|밤)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^(am|오전)/i,pm:/^(pm|오후)/i,midnight:/^자정/i,noon:/^정오/i,morning:/^아침/i,afternoon:/^오후/i,evening:/^저녁/i,night:/^밤/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};var cn={lessThanXSeconds:{one:pn,other:gn},xSeconds:{one:pn,other:gn},halfAMinute:"pusė minutės",lessThanXMinutes:{one:fn,other:gn},xMinutes:{one:fn,other:gn},aboutXHours:{one:fn,other:gn},xHours:{one:fn,other:gn},xDays:{one:fn,other:gn},aboutXMonths:{one:fn,other:gn},xMonths:{one:fn,other:gn},aboutXYears:{one:fn,other:gn},xYears:{one:fn,other:gn},overXYears:{one:fn,other:gn},almostXYears:{one:fn,other:gn}},dn={xseconds_other:"sekundė_sekundžių_sekundes",xminutes_one:"minutė_minutės_minutę",xminutes_other:"minutės_minučių_minutes",xhours_one:"valanda_valandos_valandą",xhours_other:"valandos_valandų_valandas",xdays_one:"diena_dienos_dieną",xdays_other:"dienos_dienų_dienas",xmonths_one:"mėnuo_mėnesio_mėnesį",xmonths_other:"mėnesiai_mėnesių_mėnesius",xyears_one:"metai_metų_metus",xyears_other:"metai_metų_metus",about:"apie",over:"daugiau nei",almost:"beveik",lessthan:"mažiau nei"};function pn(e,t,n,r){return t?r?"kelių sekundžių":"kelias sekundes":"kelios sekundės"}function fn(e,t,n,r){return t?r?mn(n)[1]:mn(n)[2]:mn(n)[0]}function hn(e){return e%10==0||e>10&&e<20}function mn(e){return dn[e].split("_")}function gn(e,t,n,r){var a=e+" ";return 1===e?a+fn(0,t,n[0],r):t?r?a+mn(n)[1]:a+(hn(e)?mn(n)[1]:mn(n)[2]):a+(hn(e)?mn(n)[1]:mn(n)[0])}var vn={date:(0,a.A)({formats:{full:"y 'm'. MMMM d 'd'., EEEE",long:"y 'm'. MMMM d 'd'.",medium:"y-MM-dd",short:"y-MM-dd"},defaultWidth:"full"}),time:(0,a.A)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,a.A)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},yn={lastWeek:"'Praėjusį' eeee p",yesterday:"'Vakar' p",today:"'Šiandien' p",tomorrow:"'Rytoj' p",nextWeek:"eeee p",other:"P"};const bn={formatDistance:function(e,t,n){n=n||{};var r,a=e.match(/about|over|almost|lessthan/i),o=e.replace(a,"");return r="string"==typeof cn[e]?cn[e]:1===t?cn[e].one(t,n.addSuffix,o.toLowerCase()+"_one"):cn[e].other(t,n.addSuffix,o.toLowerCase()+"_other"),a&&(r=dn[a[0].toLowerCase()]+" "+r),n.addSuffix?n.comparison>0?"po "+r:"prieš "+r:r},formatLong:vn,formatRelative:function(e,t,n,r){return yn[e]},localize:{ordinalNumber:function(e,t){return Number(e)+"-oji"},era:(0,s.A)({values:{narrow:["pr. Kr.","po Kr."],abbreviated:["pr. Kr.","po Kr."],wide:["prieš Kristų","po Kristaus"]},defaultWidth:"wide"}),quarter:(0,s.A)({values:{narrow:["1","2","3","4"],abbreviated:["I ketv.","II ketv.","III ketv.","IV ketv."],wide:["I ketvirtis","II ketvirtis","III ketvirtis","IV ketvirtis"]},defaultWidth:"wide",formattingValues:{narrow:["1","2","3","4"],abbreviated:["I k.","II k.","III k.","IV k."],wide:["I ketvirtis","II ketvirtis","III ketvirtis","IV ketvirtis"]},defaultFormattingWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,s.A)({values:{narrow:["S","V","K","B","G","B","L","R","R","S","L","G"],abbreviated:["saus.","vas.","kov.","bal.","geg.","birž.","liep.","rugp.","rugs.","spal.","lapkr.","gruod."],wide:["sausis","vasaris","kovas","balandis","gegužė","birželis","liepa","rugpjūtis","rugsėjis","spalis","lapkritis","gruodis"]},defaultWidth:"wide",formattingValues:{narrow:["S","V","K","B","G","B","L","R","R","S","L","G"],abbreviated:["saus.","vas.","kov.","bal.","geg.","birž.","liep.","rugp.","rugs.","spal.","lapkr.","gruod."],wide:["sausio","vasario","kovo","balandžio","gegužės","birželio","liepos","rugpjūčio","rugsėjo","spalio","lapkričio","gruodžio"]},defaultFormattingWidth:"wide"}),day:(0,s.A)({values:{narrow:["S","P","A","T","K","P","Š"],short:["Sk","Pr","An","Tr","Kt","Pn","Št"],abbreviated:["sk","pr","an","tr","kt","pn","št"],wide:["sekmadienis","pirmadienis","antradienis","trečiadienis","ketvirtadienis","penktadienis","šeštadienis"]},defaultWidth:"wide",formattingValues:{narrow:["S","P","A","T","K","P","Š"],short:["Sk","Pr","An","Tr","Kt","Pn","Št"],abbreviated:["sk","pr","an","tr","kt","pn","št"],wide:["sekmadienį","pirmadienį","antradienį","trečiadienį","ketvirtadienį","penktadienį","šeštadienį"]},defaultFormattingWidth:"wide"}),dayPeriod:(0,s.A)({values:{narrow:{am:"pr. p.",pm:"pop.",midnight:"vidurnaktis",noon:"vidurdienis",morning:"rytas",afternoon:"diena",evening:"vakaras",night:"naktis"},abbreviated:{am:"priešpiet",pm:"popiet",midnight:"vidurnaktis",noon:"vidurdienis",morning:"rytas",afternoon:"diena",evening:"vakaras",night:"naktis"},wide:{am:"priešpiet",pm:"popiet",midnight:"vidurnaktis",noon:"vidurdienis",morning:"rytas",afternoon:"diena",evening:"vakaras",night:"naktis"}},defaultWidth:"wide",formattingValues:{narrow:{am:"pr. p.",pm:"pop.",midnight:"vidurnaktis",noon:"perpiet",morning:"rytas",afternoon:"popietė",evening:"vakaras",night:"naktis"},abbreviated:{am:"priešpiet",pm:"popiet",midnight:"vidurnaktis",noon:"perpiet",morning:"rytas",afternoon:"popietė",evening:"vakaras",night:"naktis"},wide:{am:"priešpiet",pm:"popiet",midnight:"vidurnaktis",noon:"perpiet",morning:"rytas",afternoon:"popietė",evening:"vakaras",night:"naktis"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(0,u.A)({matchPattern:/^(\d+)(-oji)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,c.A)({matchPatterns:{narrow:/^p(r|o)\.?\s?(kr\.?|me)/i,abbreviated:/^(pr\.\s?(kr\.|m\.\s?e\.)|po\s?kr\.|mūsų eroje)/i,wide:/^(prieš Kristų|prieš mūsų erą|po Kristaus|mūsų eroje)/i},defaultMatchWidth:"wide",parsePatterns:{wide:[/prieš/i,/(po|mūsų)/i],any:[/^pr/i,/^(po|m)/i]},defaultParseWidth:"any"}),quarter:(0,c.A)({matchPatterns:{narrow:/^([1234])/i,abbreviated:/^(I|II|III|IV)\s?ketv?\.?/i,wide:/^(I|II|III|IV)\s?ketvirtis/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/1/i,/2/i,/3/i,/4/i],any:[/I$/i,/II$/i,/III/i,/IV/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,c.A)({matchPatterns:{narrow:/^[svkbglr]/i,abbreviated:/^(saus\.|vas\.|kov\.|bal\.|geg\.|birž\.|liep\.|rugp\.|rugs\.|spal\.|lapkr\.|gruod\.)/i,wide:/^(sausi(s|o)|vasari(s|o)|kov(a|o)s|balandž?i(s|o)|gegužės?|birželi(s|o)|liep(a|os)|rugpjū(t|č)i(s|o)|rugsėj(is|o)|spali(s|o)|lapkri(t|č)i(s|o)|gruodž?i(s|o))/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^v/i,/^k/i,/^b/i,/^g/i,/^b/i,/^l/i,/^r/i,/^r/i,/^s/i,/^l/i,/^g/i],any:[/^saus/i,/^vas/i,/^kov/i,/^bal/i,/^geg/i,/^birž/i,/^liep/i,/^rugp/i,/^rugs/i,/^spal/i,/^lapkr/i,/^gruod/i]},defaultParseWidth:"any"}),day:(0,c.A)({matchPatterns:{narrow:/^[spatkš]/i,short:/^(sk|pr|an|tr|kt|pn|št)/i,abbreviated:/^(sk|pr|an|tr|kt|pn|št)/i,wide:/^(sekmadien(is|į)|pirmadien(is|į)|antradien(is|į)|trečiadien(is|į)|ketvirtadien(is|į)|penktadien(is|į)|šeštadien(is|į))/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^p/i,/^a/i,/^t/i,/^k/i,/^p/i,/^š/i],wide:[/^se/i,/^pi/i,/^an/i,/^tr/i,/^ke/i,/^pe/i,/^še/i],any:[/^sk/i,/^pr/i,/^an/i,/^tr/i,/^kt/i,/^pn/i,/^št/i]},defaultParseWidth:"any"}),dayPeriod:(0,c.A)({matchPatterns:{narrow:/^(pr.\s?p.|pop.|vidurnaktis|(vidurdienis|perpiet)|rytas|(diena|popietė)|vakaras|naktis)/i,any:/^(priešpiet|popiet$|vidurnaktis|(vidurdienis|perpiet)|rytas|(diena|popietė)|vakaras|naktis)/i},defaultMatchWidth:"any",parsePatterns:{narrow:{am:/^pr/i,pm:/^pop./i,midnight:/^vidurnaktis/i,noon:/^(vidurdienis|perp)/i,morning:/rytas/i,afternoon:/(die|popietė)/i,evening:/vakaras/i,night:/naktis/i},any:{am:/^pr/i,pm:/^popiet$/i,midnight:/^vidurnaktis/i,noon:/^(vidurdienis|perp)/i,morning:/rytas/i,afternoon:/(die|popietė)/i,evening:/vakaras/i,night:/naktis/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}};function wn(e){return function(t,n){if(1===t)return n.addSuffix?e.one[0].replace("{{time}}",e.one[2]):e.one[0].replace("{{time}}",e.one[1]);var r=t%10==1&&t%100!=11;return n.addSuffix?e.other[0].replace("{{time}}",r?e.other[3]:e.other[4]).replace("{{count}}",t):e.other[0].replace("{{time}}",r?e.other[1]:e.other[2]).replace("{{count}}",t)}}var xn={lessThanXSeconds:wn({one:["mazāk par {{time}}","sekundi","sekundi"],other:["mazāk nekā {{count}} {{time}}","sekunde","sekundes","sekundes","sekundēm"]}),xSeconds:wn({one:["1 {{time}}","sekunde","sekundes"],other:["{{count}} {{time}}","sekunde","sekundes","sekundes","sekundēm"]}),halfAMinute:function(e,t){return t.addSuffix?"pusminūtes":"pusminūte"},lessThanXMinutes:wn({one:["mazāk par {{time}}","minūti","minūti"],other:["mazāk nekā {{count}} {{time}}","minūte","minūtes","minūtes","minūtēm"]}),xMinutes:wn({one:["1 {{time}}","minūte","minūtes"],other:["{{count}} {{time}}","minūte","minūtes","minūtes","minūtēm"]}),aboutXHours:wn({one:["apmēram 1 {{time}}","stunda","stundas"],other:["apmēram {{count}} {{time}}","stunda","stundas","stundas","stundām"]}),xHours:wn({one:["1 {{time}}","stunda","stundas"],other:["{{count}} {{time}}","stunda","stundas","stundas","stundām"]}),xDays:wn({one:["1 {{time}}","diena","dienas"],other:["{{count}} {{time}}","diena","dienas","dienas","dienām"]}),aboutXMonths:wn({one:["apmēram 1 {{time}}","mēnesis","mēneša"],other:["apmēram {{count}} {{time}}","mēnesis","mēneši","mēneša","mēnešiem"]}),xMonths:wn({one:["1 {{time}}","mēnesis","mēneša"],other:["{{count}} {{time}}","mēnesis","mēneši","mēneša","mēnešiem"]}),aboutXYears:wn({one:["apmēram 1 {{time}}","gads","gada"],other:["apmēram {{count}} {{time}}","gads","gadi","gada","gadiem"]}),xYears:wn({one:["1 {{time}}","gads","gada"],other:["{{count}} {{time}}","gads","gadi","gada","gadiem"]}),overXYears:wn({one:["ilgāk par 1 {{time}}","gadu","gadu"],other:["vairāk nekā {{count}} {{time}}","gads","gadi","gada","gadiem"]}),almostXYears:wn({one:["gandrīz 1 {{time}}","gads","gada"],other:["vairāk nekā {{count}} {{time}}","gads","gadi","gada","gadiem"]})},Sn={date:(0,a.A)({formats:{full:"y. 'gada' M. MMMM., EEEE",long:"y. 'gada' M. MMMM",medium:"dd.MM.y.",short:"dd.MM.y."},defaultWidth:"full"}),time:(0,a.A)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,a.A)({formats:{full:"{{date}} 'plkst.' {{time}}",long:"{{date}} 'plkst.' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},_n=["svētdienā","pirmdienā","otrdienā","trešdienā","ceturtdienā","piektdienā","sestdienā"],An={lastWeek:function(e,t,n){return C(e,t,n)?"eeee 'plkst.' p":"'Pagājušā "+_n[e.getUTCDay()]+" plkst.' p"},yesterday:"'Vakar plkst.' p",today:"'Šodien plkst.' p",tomorrow:"'Rīt plkst.' p",nextWeek:function(e,t,n){return C(e,t,n)?"eeee 'plkst.' p":"'Nākamajā "+_n[e.getUTCDay()]+" plkst.' p"},other:"P"};const Cn={formatDistance:function(e,t,n){n=n||{};var r=xn[e](t,n);return n.addSuffix?n.comparison>0?"pēc "+r:"pirms "+r:r},formatLong:Sn,formatRelative:function(e,t,n,r){var a=An[e];return"function"==typeof a?a(t,n,r):a},localize:{ordinalNumber:function(e,t){return e+"."},era:(0,s.A)({values:{narrow:["p.m.ē","m.ē"],abbreviated:["p. m. ē.","m. ē."],wide:["pirms mūsu ēras","mūsu ērā"]},defaultWidth:"wide"}),quarter:(0,s.A)({values:{narrow:["1","2","3","4"],abbreviated:["1. cet.","2. cet.","3. cet.","4. cet."],wide:["pirmais ceturksnis","otrais ceturksnis","trešais ceturksnis","ceturtais ceturksnis"]},defaultWidth:"wide",formattingValues:{narrow:["1","2","3","4"],abbreviated:["1. cet.","2. cet.","3. cet.","4. cet."],wide:["pirmajā ceturksnī","otrajā ceturksnī","trešajā ceturksnī","ceturtajā ceturksnī"]},defaultFormattingWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,s.A)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["janv.","febr.","marts","apr.","maijs","jūn.","jūl.","aug.","sept.","okt.","nov.","dec."],wide:["janvāris","februāris","marts","aprīlis","maijs","jūnijs","jūlijs","augusts","septembris","oktobris","novembris","decembris"]},defaultWidth:"wide",formattingValues:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["janv.","febr.","martā","apr.","maijs","jūn.","jūl.","aug.","sept.","okt.","nov.","dec."],wide:["janvārī","februārī","martā","aprīlī","maijā","jūnijā","jūlijā","augustā","septembrī","oktobrī","novembrī","decembrī"]},defaultFormattingWidth:"wide"}),day:(0,s.A)({values:{narrow:["S","P","O","T","C","P","S"],short:["Sv","P","O","T","C","Pk","S"],abbreviated:["svētd.","pirmd.","otrd.","trešd.","ceturtd.","piektd.","sestd."],wide:["svētdiena","pirmdiena","otrdiena","trešdiena","ceturtdiena","piektdiena","sestdiena"]},defaultWidth:"wide",formattingValues:{narrow:["S","P","O","T","C","P","S"],short:["Sv","P","O","T","C","Pk","S"],abbreviated:["svētd.","pirmd.","otrd.","trešd.","ceturtd.","piektd.","sestd."],wide:["svētdienā","pirmdienā","otrdienā","trešdienā","ceturtdienā","piektdienā","sestdienā"]},defaultFormattingWidth:"wide"}),dayPeriod:(0,s.A)({values:{narrow:{am:"am",pm:"pm",midnight:"pusn.",noon:"pusd.",morning:"rīts",afternoon:"diena",evening:"vakars",night:"nakts"},abbreviated:{am:"am",pm:"pm",midnight:"pusn.",noon:"pusd.",morning:"rīts",afternoon:"pēcpusd.",evening:"vakars",night:"nakts"},wide:{am:"am",pm:"pm",midnight:"pusnakts",noon:"pusdienlaiks",morning:"rīts",afternoon:"pēcpusdiena",evening:"vakars",night:"nakts"}},defaultWidth:"wide",formattingValues:{narrow:{am:"am",pm:"pm",midnight:"pusn.",noon:"pusd.",morning:"rītā",afternoon:"dienā",evening:"vakarā",night:"naktī"},abbreviated:{am:"am",pm:"pm",midnight:"pusn.",noon:"pusd.",morning:"rītā",afternoon:"pēcpusd.",evening:"vakarā",night:"naktī"},wide:{am:"am",pm:"pm",midnight:"pusnaktī",noon:"pusdienlaikā",morning:"rītā",afternoon:"pēcpusdienā",evening:"vakarā",night:"naktī"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(0,u.A)({matchPattern:/^(\d+)\./i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,c.A)({matchPatterns:{narrow:/^(p\.m\.ē|m\.ē)/i,abbreviated:/^(p\. m\. ē\.|m\. ē\.)/i,wide:/^(pirms mūsu ēras|mūsu ērā)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^p/i,/^m/i]},defaultParseWidth:"any"}),quarter:(0,c.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^[1234](\. cet\.)/i,wide:/^(pirma(is|jā)|otra(is|jā)|treša(is|jā)|ceturta(is|jā)) ceturksn(is|ī)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^1/i,/^2/i,/^3/i,/^4/i],abbreviated:[/^1/i,/^2/i,/^3/i,/^4/i],wide:[/^p/i,/^o/i,/^t/i,/^c/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,c.A)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(janv\.|febr\.|marts|apr\.|maijs|jūn\.|jūl\.|aug\.|sept\.|okt\.|nov\.|dec\.)/i,wide:/^(janvār(is|ī)|februār(is|ī)|mart[sā]|aprīl(is|ī)|maij[sā]|jūnij[sā]|jūlij[sā]|august[sā]|septembr(is|ī)|oktobr(is|ī)|novembr(is|ī)|decembr(is|ī))/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^mai/i,/^jūn/i,/^jūl/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,c.A)({matchPatterns:{narrow:/^[spotc]/i,short:/^(sv|pi|o|t|c|pk|s)/i,abbreviated:/^(svētd\.|pirmd\.|otrd.\|trešd\.|ceturtd\.|piektd\.|sestd\.)/i,wide:/^(svētdien(a|ā)|pirmdien(a|ā)|otrdien(a|ā)|trešdien(a|ā)|ceturtdien(a|ā)|piektdien(a|ā)|sestdien(a|ā))/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^p/i,/^o/i,/^t/i,/^c/i,/^p/i,/^s/i],any:[/^sv/i,/^pi/i,/^o/i,/^t/i,/^c/i,/^p/i,/^se/i]},defaultParseWidth:"any"}),dayPeriod:(0,c.A)({matchPatterns:{narrow:/^(am|pm|pusn\.|pusd\.|rīt(s|ā)|dien(a|ā)|vakar(s|ā)|nakt(s|ī))/,abbreviated:/^(am|pm|pusn\.|pusd\.|rīt(s|ā)|pēcpusd\.|vakar(s|ā)|nakt(s|ī))/,wide:/^(am|pm|pusnakt(s|ī)|pusdienlaik(s|ā)|rīt(s|ā)|pēcpusdien(a|ā)|vakar(s|ā)|nakt(s|ī))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^am/i,pm:/^pm/i,midnight:/^pusn/i,noon:/^pusd/i,morning:/^r/i,afternoon:/^(d|pēc)/i,evening:/^v/i,night:/^n/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}};var Tn={lessThanXSeconds:{singular:"mindre enn ett sekund",plural:"mindre enn {{count}} sekunder"},xSeconds:{singular:"ett sekund",plural:"{{count}} sekunder"},halfAMinute:"et halvt minutt",lessThanXMinutes:{singular:"mindre enn ett minutt",plural:"mindre enn {{count}} minutter"},xMinutes:{singular:"ett minutt",plural:"{{count}} minutter"},aboutXHours:{singular:"omtrent en time",plural:"omtrent {{count}} timer"},xHours:{singular:"en time",plural:"{{count}} timer"},xDays:{singular:"en dag",plural:"{{count}} dager"},aboutXMonths:{singular:"omtrent en måned",plural:"omtrent {{count}} måneder"},xMonths:{singular:"en måned",plural:"{{count}} måneder"},aboutXYears:{singular:"omtrent ett år",plural:"omtrent {{count}} år"},xYears:{singular:"ett år",plural:"{{count}} år"},overXYears:{singular:"over ett år",plural:"over {{count}} år"},almostXYears:{singular:"nesten ett år",plural:"nesten {{count}} år"}},kn=["null","en","to","tre","fire","fem","seks","sju","åtte","ni","ti","elleve","tolv"],En={date:(0,a.A)({formats:{full:"EEEE d. MMMM y",long:"d. MMMM y",medium:"d. MMM y",short:"dd.MM.y"},defaultWidth:"full"}),time:(0,a.A)({formats:{full:"'kl'. HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,a.A)({formats:{full:"{{date}} 'kl.' {{time}}",long:"{{date}} 'kl.' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},Mn={lastWeek:"'forrige' eeee 'kl.' p",yesterday:"'i går kl.' p",today:"'i dag kl.' p",tomorrow:"'i morgen kl.' p",nextWeek:"EEEE 'kl.' p",other:"P"};const Pn={formatDistance:function(e,t,n){n=n||{onlyNumeric:!1};var r,a=Tn[e];return r="string"==typeof a?a:0===t||t>1?n.onlyNumeric?a.plural.replace("{{count}}",t):a.plural.replace("{{count}}",t<13?kn[t]:t):a.singular,n.addSuffix?n.comparison>0?"om "+r:r+" siden":r},formatLong:En,formatRelative:function(e,t,n,r){return Mn[e]},localize:{ordinalNumber:function(e){return Number(e)+"."},era:(0,s.A)({values:{narrow:["f.Kr.","e.Kr."],abbreviated:["f.Kr.","e.Kr."],wide:["før Kristus","etter Kristus"]},defaultWidth:"wide"}),quarter:(0,s.A)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. kvartal","2. kvartal","3. kvartal","4. kvartal"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,s.A)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan.","feb.","mars","apr.","mai","juni","juli","aug.","sep.","okt.","nov.","des."],wide:["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember"]},defaultWidth:"wide"}),day:(0,s.A)({values:{narrow:["S","M","T","O","T","F","L"],short:["sø","ma","ti","on","to","fr","lø"],abbreviated:["søn","man","tir","ons","tor","fre","lør"],wide:["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"]},defaultWidth:"wide"}),dayPeriod:(0,s.A)({values:{narrow:{am:"a",pm:"p",midnight:"midnatt",noon:"middag",morning:"på morg.",afternoon:"på etterm.",evening:"på kvelden",night:"på natten"},abbreviated:{am:"a.m.",pm:"p.m.",midnight:"midnatt",noon:"middag",morning:"på morg.",afternoon:"på etterm.",evening:"på kvelden",night:"på natten"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnatt",noon:"middag",morning:"på morgenen",afternoon:"på ettermiddagen",evening:"på kvelden",night:"på natten"}},defaultWidth:"wide"})},match:{ordinalNumber:(0,u.A)({matchPattern:/^(\d+)\.?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,c.A)({matchPatterns:{narrow:/^(f\.? ?Kr\.?|fvt\.?|e\.? ?Kr\.?|evt\.?)/i,abbreviated:/^(f\.? ?Kr\.?|fvt\.?|e\.? ?Kr\.?|evt\.?)/i,wide:/^(før Kristus|før vår tid|etter Kristus|vår tid)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^f/i,/^e/i]},defaultParseWidth:"any"}),quarter:(0,c.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](\.)? kvartal/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,c.A)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mars?|apr|mai|juni?|juli?|aug|sep|okt|nov|des)\.?/i,wide:/^(januar|februar|mars|april|mai|juni|juli|august|september|oktober|november|desember)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^mai/i,/^jun/i,/^jul/i,/^aug/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,c.A)({matchPatterns:{narrow:/^[smtofl]/i,short:/^(sø|ma|ti|on|to|fr|lø)/i,abbreviated:/^(søn|man|tir|ons|tor|fre|lør)/i,wide:/^(søndag|mandag|tirsdag|onsdag|torsdag|fredag|lørdag)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^s/i,/^m/i,/^ti/i,/^o/i,/^to/i,/^f/i,/^l/i]},defaultParseWidth:"any"}),dayPeriod:(0,c.A)({matchPatterns:{narrow:/^(midnatt|middag|(på) (morgenen|ettermiddagen|kvelden|natten)|[ap])/i,any:/^([ap]\.?\s?m\.?|midnatt|middag|(på) (morgenen|ettermiddagen|kvelden|natten))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a(\.?\s?m\.?)?$/i,pm:/^p(\.?\s?m\.?)?$/i,midnight:/^midn/i,noon:/^midd/i,morning:/morgen/i,afternoon:/ettermiddag/i,evening:/kveld/i,night:/natt/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}};var On={lessThanXSeconds:{one:"minder dan een seconde",other:"minder dan {{count}} seconden"},xSeconds:{one:"1 seconde",other:"{{count}} seconden"},halfAMinute:"een halve minuut",lessThanXMinutes:{one:"minder dan een minuut",other:"minder dan {{count}} minuten"},xMinutes:{one:"een minuut",other:"{{count}} minuten"},aboutXHours:{one:"ongeveer 1 uur",other:"ongeveer {{count}} uur"},xHours:{one:"1 uur",other:"{{count}} uur"},xDays:{one:"1 dag",other:"{{count}} dagen"},aboutXMonths:{one:"ongeveer 1 maand",other:"ongeveer {{count}} maanden"},xMonths:{one:"1 maand",other:"{{count}} maanden"},aboutXYears:{one:"ongeveer 1 jaar",other:"ongeveer {{count}} jaar"},xYears:{one:"1 jaar",other:"{{count}} jaar"},overXYears:{one:"meer dan 1 jaar",other:"meer dan {{count}} jaar"},almostXYears:{one:"bijna 1 jaar",other:"bijna {{count}} jaar"}},In={date:(0,a.A)({formats:{full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd-MM-y"},defaultWidth:"full"}),time:(0,a.A)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,a.A)({formats:{full:"{{date}} 'om' {{time}}",long:"{{date}} 'om' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},Dn={lastWeek:"'afgelopen' eeee 'om' p",yesterday:"'gisteren om' p",today:"'vandaag om' p",tomorrow:"'morgen om' p",nextWeek:"eeee 'om' p",other:"P"};const Rn={formatDistance:function(e,t,n){var r;return n=n||{},r="string"==typeof On[e]?On[e]:1===t?On[e].one:On[e].other.replace("{{count}}",t),n.addSuffix?n.comparison>0?"over "+r:r+" geleden":r},formatLong:In,formatRelative:function(e,t,n,r){return Dn[e]},localize:{ordinalNumber:function(e){return Number(e)+"e"},era:(0,s.A)({values:{narrow:["v.C.","n.C."],abbreviated:["v.Chr.","n.Chr."],wide:["voor Christus","na Christus"]},defaultWidth:"wide"}),quarter:(0,s.A)({values:{narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1e kwartaal","2e kwartaal","3e kwartaal","4e kwartaal"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,s.A)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan.","feb.","mrt.","apr.","mei.","jun.","jul.","aug.","sep.","okt.","nov.","dec."],wide:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"]},defaultWidth:"wide"}),day:(0,s.A)({values:{narrow:["Z","M","D","W","D","V","Z"],short:["zo","ma","di","wo","do","vr","za"],abbreviated:["zon","maa","din","woe","don","vri","zat"],wide:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"]},defaultWidth:"wide"}),dayPeriod:(0,s.A)({values:{narrow:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"},abbreviated:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"},wide:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"}},defaultWidth:"wide"})},match:{ordinalNumber:(0,u.A)({matchPattern:/^(\d+)e?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,c.A)({matchPatterns:{narrow:/^([vn]\.? ?C\.?)/,abbreviated:/^([vn]\. ?Chr\.?)/,wide:/^((voor|na) Christus)/},defaultMatchWidth:"wide",parsePatterns:{any:[/^v/,/^n/]},defaultParseWidth:"any"}),quarter:(0,c.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^K[1234]/i,wide:/^[1234]e kwartaal/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,c.A)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mrt|apr|mei|jun|jul|aug|sep|okt|nov|dec)\.?/i,wide:/^(januari|februari|maart|april|mei|juni|juli|augustus|september|oktober|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^jan/i,/^feb/i,/^m(r|a)/i,/^apr/i,/^mei/i,/^jun/i,/^jul/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i]},defaultParseWidth:"any"}),day:(0,c.A)({matchPatterns:{narrow:/^[zmdwv]/i,short:/^(zo|ma|di|wo|do|vr|za)/i,abbreviated:/^(zon|maa|din|woe|don|vri|zat)/i,wide:/^(zondag|maandag|dinsdag|woensdag|donderdag|vrijdag|zaterdag)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^z/i,/^m/i,/^d/i,/^w/i,/^d/i,/^v/i,/^z/i],any:[/^zo/i,/^ma/i,/^di/i,/^wo/i,/^do/i,/^vr/i,/^za/i]},defaultParseWidth:"any"}),dayPeriod:(0,c.A)({matchPatterns:{any:/^(am|pm|middernacht|het middaguur|'s (ochtends|middags|avonds|nachts))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^am/i,pm:/^pm/i,midnight:/^middernacht/i,noon:/^het middaguur/i,morning:/ochtend/i,afternoon:/middag/i,evening:/avond/i,night:/nacht/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}};var Nn={lessThanXSeconds:{singular:"mindre enn eitt sekund",plural:"mindre enn {{count}} sekund"},xSeconds:{singular:"eitt sekund",plural:"{{count}} sekund"},halfAMinute:"eit halvt minutt",lessThanXMinutes:{singular:"mindre enn eitt minutt",plural:"mindre enn {{count}} minutt"},xMinutes:{singular:"eitt minutt",plural:"{{count}} minutt"},aboutXHours:{singular:"omtrent ein time",plural:"omtrent {{count}} timar"},xHours:{singular:"ein time",plural:"{{count}} timar"},xDays:{singular:"ein dag",plural:"{{count}} dagar"},aboutXMonths:{singular:"omtrent ein månad",plural:"omtrent {{count}} månader"},xMonths:{singular:"ein månad",plural:"{{count}} månader"},aboutXYears:{singular:"omtrent eitt år",plural:"omtrent {{count}} år"},xYears:{singular:"eitt år",plural:"{{count}} år"},overXYears:{singular:"over eitt år",plural:"over {{count}} år"},almostXYears:{singular:"nesten eitt år",plural:"nesten {{count}} år"}},Ln=["null","ein","to","tre","fire","fem","seks","sju","åtte","ni","ti","elleve","tolv"],$n={date:(0,a.A)({formats:{full:"EEEE d. MMMM y",long:"d. MMMM y",medium:"d. MMM y",short:"dd.MM.y"},defaultWidth:"full"}),time:(0,a.A)({formats:{full:"'kl'. HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,a.A)({formats:{full:"{{date}} 'kl.' {{time}}",long:"{{date}} 'kl.' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},jn={lastWeek:"'førre' eeee 'kl.' p",yesterday:"'i går kl.' p",today:"'i dag kl.' p",tomorrow:"'i morgon kl.' p",nextWeek:"EEEE 'kl.' p",other:"P"};const Fn={formatDistance:function(e,t,n){n=n||{onlyNumeric:!1};var r,a=Nn[e];return r="string"==typeof a?a:0===t||t>1?n.onlyNumeric?a.plural.replace("{{count}}",t):a.plural.replace("{{count}}",t<13?Ln[t]:t):a.singular,n.addSuffix?n.comparison>0?"om "+r:r+" sidan":r},formatLong:$n,formatRelative:function(e,t,n,r){return jn[e]},localize:{ordinalNumber:function(e){return Number(e)+"."},era:(0,s.A)({values:{narrow:["f.Kr.","e.Kr."],abbreviated:["f.Kr.","e.Kr."],wide:["før Kristus","etter Kristus"]},defaultWidth:"wide"}),quarter:(0,s.A)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. kvartal","2. kvartal","3. kvartal","4. kvartal"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,s.A)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan.","feb.","mars","apr.","mai","juni","juli","aug.","sep.","okt.","nov.","des."],wide:["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember"]},defaultWidth:"wide"}),day:(0,s.A)({values:{narrow:["S","M","T","O","T","F","L"],short:["su","må","ty","on","to","fr","lau"],abbreviated:["sun","mån","tys","ons","tor","fre","laur"],wide:["sundag","måndag","tysdag","onsdag","torsdag","fredag","laurdag"]},defaultWidth:"wide"}),dayPeriod:(0,s.A)({values:{narrow:{am:"a",pm:"p",midnight:"midnatt",noon:"middag",morning:"på morg.",afternoon:"på etterm.",evening:"på kvelden",night:"på natta"},abbreviated:{am:"a.m.",pm:"p.m.",midnight:"midnatt",noon:"middag",morning:"på morg.",afternoon:"på etterm.",evening:"på kvelden",night:"på natta"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnatt",noon:"middag",morning:"på morgonen",afternoon:"på ettermiddagen",evening:"på kvelden",night:"på natta"}},defaultWidth:"wide"})},match:{ordinalNumber:(0,u.A)({matchPattern:/^(\d+)\.?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,c.A)({matchPatterns:{narrow:/^(f\.? ?Kr\.?|fvt\.?|e\.? ?Kr\.?|evt\.?)/i,abbreviated:/^(f\.? ?Kr\.?|fvt\.?|e\.? ?Kr\.?|evt\.?)/i,wide:/^(før Kristus|før vår tid|etter Kristus|vår tid)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^f/i,/^e/i]},defaultParseWidth:"any"}),quarter:(0,c.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](\.)? kvartal/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,c.A)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mars?|apr|mai|juni?|juli?|aug|sep|okt|nov|des)\.?/i,wide:/^(januar|februar|mars|april|mai|juni|juli|august|september|oktober|november|desember)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^mai/i,/^jun/i,/^jul/i,/^aug/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,c.A)({matchPatterns:{narrow:/^[smtofl]/i,short:/^(su|må|ty|on|to|fr|la)/i,abbreviated:/^(sun|mån|tys|ons|tor|fre|laur)/i,wide:/^(sundag|måndag|tysdag|onsdag|torsdag|fredag|laurdag)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^s/i,/^m/i,/^ty/i,/^o/i,/^to/i,/^f/i,/^l/i]},defaultParseWidth:"any"}),dayPeriod:(0,c.A)({matchPatterns:{narrow:/^(midnatt|middag|(på) (morgonen|ettermiddagen|kvelden|natta)|[ap])/i,any:/^([ap]\.?\s?m\.?|midnatt|middag|(på) (morgonen|ettermiddagen|kvelden|natta))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a(\.?\s?m\.?)?$/i,pm:/^p(\.?\s?m\.?)?$/i,midnight:/^midn/i,noon:/^midd/i,morning:/morgon/i,afternoon:/ettermiddag/i,evening:/kveld/i,night:/natt/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}};function Bn(e,t,n){n=n||"regular";var r=function(e,t){if(1===t)return e.one;var n=t%100;if(n<=20&&n>10)return e.other;var r=n%10;return r>=2&&r<=4?e.twoFour:e.other}(e,t);return(r[n]||r).replace("{{count}}",t)}var zn={lessThanXSeconds:{one:{regular:"mniej niż sekunda",past:"mniej niż sekundę",future:"mniej niż sekundę"},twoFour:"mniej niż {{count}} sekundy",other:"mniej niż {{count}} sekund"},xSeconds:{one:{regular:"sekunda",past:"sekundę",future:"sekundę"},twoFour:"{{count}} sekundy",other:"{{count}} sekund"},halfAMinute:{one:"pół minuty",twoFour:"pół minuty",other:"pół minuty"},lessThanXMinutes:{one:{regular:"mniej niż minuta",past:"mniej niż minutę",future:"mniej niż minutę"},twoFour:"mniej niż {{count}} minuty",other:"mniej niż {{count}} minut"},xMinutes:{one:{regular:"minuta",past:"minutę",future:"minutę"},twoFour:"{{count}} minuty",other:"{{count}} minut"},aboutXHours:{one:{regular:"około godzina",past:"około godziny",future:"około godzinę"},twoFour:"około {{count}} godziny",other:"około {{count}} godzin"},xHours:{one:{regular:"godzina",past:"godzinę",future:"godzinę"},twoFour:"{{count}} godziny",other:"{{count}} godzin"},xDays:{one:{regular:"dzień",past:"dzień",future:"1 dzień"},twoFour:"{{count}} dni",other:"{{count}} dni"},aboutXMonths:{one:"około miesiąc",twoFour:"około {{count}} miesiące",other:"około {{count}} miesięcy"},xMonths:{one:"miesiąc",twoFour:"{{count}} miesiące",other:"{{count}} miesięcy"},aboutXYears:{one:"około rok",twoFour:"około {{count}} lata",other:"około {{count}} lat"},xYears:{one:"rok",twoFour:"{{count}} lata",other:"{{count}} lat"},overXYears:{one:"ponad rok",twoFour:"ponad {{count}} lata",other:"ponad {{count}} lat"},almostXYears:{one:"prawie rok",twoFour:"prawie {{count}} lata",other:"prawie {{count}} lat"}},Wn={date:(0,a.A)({formats:{full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.y"},defaultWidth:"full"}),time:(0,a.A)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,a.A)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},Vn={masculine:"ostatni",feminine:"ostatnia"},Un={masculine:"ten",feminine:"ta"},Hn={masculine:"następny",feminine:"następna"},qn={0:"feminine",1:"masculine",2:"masculine",3:"feminine",4:"masculine",5:"masculine",6:"feminine"};function Gn(e,t,n,r){var a=function(e,t,n,r){var a=t.getUTCDay(),o=function(e,t,n,r){if(C(t,n,r))return Un;if("lastWeek"===e)return Vn;if("nextWeek"===e)return Hn;throw new Error("Cannot determine adjectives for token ".concat(e))}(e,t,n,r);return o[qn[a]]}(e,t,n,r);return"'".concat(a,"' eeee 'o' p")}var Yn={lastWeek:Gn,yesterday:"'wczoraj o' p",today:"'dzisiaj o' p",tomorrow:"'jutro o' p",nextWeek:Gn,other:"P"};const Xn={formatDistance:function(e,t,n){var r=zn[e];return(n=n||{}).addSuffix?n.comparison>0?"za "+Bn(r,t,"future"):Bn(r,t,"past")+" temu":Bn(r,t)},formatLong:Wn,formatRelative:function(e,t,n,r){var a=Yn[e];return"function"==typeof a?a(e,t,n,r):a},localize:{ordinalNumber:function(e){var t=Number(e);return String(t)},era:(0,s.A)({values:{narrow:["p.n.e.","n.e."],abbreviated:["p.n.e.","n.e."],wide:["przed naszą erą","naszej ery"]},defaultWidth:"wide"}),quarter:(0,s.A)({values:{narrow:["1","2","3","4"],abbreviated:["I kw.","II kw.","III kw.","IV kw."],wide:["I kwartał","II kwartał","III kwartał","IV kwartał"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,s.A)({values:{narrow:["S","L","M","K","M","C","L","S","W","P","L","G"],abbreviated:["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","paź","lis","gru"],wide:["styczeń","luty","marzec","kwiecień","maj","czerwiec","lipiec","sierpień","wrzesień","październik","listopad","grudzień"]},defaultWidth:"wide",formattingValues:{narrow:["s","l","m","k","m","c","l","s","w","p","l","g"],abbreviated:["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","paź","lis","gru"],wide:["stycznia","lutego","marca","kwietnia","maja","czerwca","lipca","sierpnia","września","października","listopada","grudnia"]},defaultFormattingWidth:"wide"}),day:(0,s.A)({values:{narrow:["N","P","W","Ś","C","P","S"],short:["nie","pon","wto","śro","czw","pią","sob"],abbreviated:["niedz.","pon.","wt.","śr.","czw.","pt.","sob."],wide:["niedziela","poniedziałek","wtorek","środa","czwartek","piątek","sobota"]},defaultWidth:"wide",formattingValues:{narrow:["n","p","w","ś","c","p","s"],short:["nie","pon","wto","śro","czw","pią","sob"],abbreviated:["niedz.","pon.","wt.","śr.","czw.","pt.","sob."],wide:["niedziela","poniedziałek","wtorek","środa","czwartek","piątek","sobota"]},defaultFormattingWidth:"wide"}),dayPeriod:(0,s.A)({values:{narrow:{am:"a",pm:"p",midnight:"półn.",noon:"poł",morning:"rano",afternoon:"popoł.",evening:"wiecz.",night:"noc"},abbreviated:{am:"AM",pm:"PM",midnight:"północ",noon:"południe",morning:"rano",afternoon:"popołudnie",evening:"wieczór",night:"noc"},wide:{am:"AM",pm:"PM",midnight:"północ",noon:"południe",morning:"rano",afternoon:"popołudnie",evening:"wieczór",night:"noc"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"o półn.",noon:"w poł.",morning:"rano",afternoon:"po poł.",evening:"wiecz.",night:"w nocy"},abbreviated:{am:"AM",pm:"PM",midnight:"o północy",noon:"w południe",morning:"rano",afternoon:"po południu",evening:"wieczorem",night:"w nocy"},wide:{am:"AM",pm:"PM",midnight:"o północy",noon:"w południe",morning:"rano",afternoon:"po południu",evening:"wieczorem",night:"w nocy"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(0,u.A)({matchPattern:/^(\d+)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,c.A)({matchPatterns:{narrow:/^(p\.?\s*n\.?\s*e\.?\s*|n\.?\s*e\.?\s*)/i,abbreviated:/^(p\.?\s*n\.?\s*e\.?\s*|n\.?\s*e\.?\s*)/i,wide:/^(przed\s*nasz(ą|a)\s*er(ą|a)|naszej\s*ery)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^p/i,/^n/i]},defaultParseWidth:"any"}),quarter:(0,c.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^(I|II|III|IV)\s*kw\.?/i,wide:/^(I|II|III|IV)\s*kwarta(ł|l)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/1/i,/2/i,/3/i,/4/i],any:[/^I kw/i,/^II kw/i,/^III kw/i,/^IV kw/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,c.A)({matchPatterns:{narrow:/^[slmkcwpg]/i,abbreviated:/^(sty|lut|mar|kwi|maj|cze|lip|sie|wrz|pa(ź|z)|lis|gru)/i,wide:/^(stycznia|stycze(ń|n)|lutego|luty|marca|marzec|kwietnia|kwiecie(ń|n)|maja|maj|czerwca|czerwiec|lipca|lipiec|sierpnia|sierpie(ń|n)|wrze(ś|s)nia|wrzesie(ń|n)|pa(ź|z)dziernika|pa(ź|z)dziernik|listopada|listopad|grudnia|grudzie(ń|n))/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^l/i,/^m/i,/^k/i,/^m/i,/^c/i,/^l/i,/^s/i,/^w/i,/^p/i,/^l/i,/^g/i],any:[/^st/i,/^lu/i,/^mar/i,/^k/i,/^maj/i,/^c/i,/^lip/i,/^si/i,/^w/i,/^p/i,/^lis/i,/^g/i]},defaultParseWidth:"any"}),day:(0,c.A)({matchPatterns:{narrow:/^[npwścs]/i,short:/^(nie|pon|wto|(ś|s)ro|czw|pi(ą|a)|sob)/i,abbreviated:/^(niedz|pon|wt|(ś|s)r|czw|pt|sob)\.?/i,wide:/^(niedziela|poniedzia(ł|l)ek|wtorek|(ś|s)roda|czwartek|pi(ą|a)tek|sobota)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^n/i,/^p/i,/^w/i,/^ś/i,/^c/i,/^p/i,/^s/i],abbreviated:[/^n/i,/^po/i,/^w/i,/^(ś|s)r/i,/^c/i,/^pt/i,/^so/i],any:[/^n/i,/^po/i,/^w/i,/^(ś|s)r/i,/^c/i,/^pi/i,/^so/i]},defaultParseWidth:"any"}),dayPeriod:(0,c.A)({matchPatterns:{narrow:/^(^a$|^p$|pó(ł|l)n\.?|o\s*pó(ł|l)n\.?|po(ł|l)\.?|w\s*po(ł|l)\.?|po\s*po(ł|l)\.?|rano|wiecz\.?|noc|w\s*nocy)/i,any:/^(am|pm|pó(ł|l)noc|o\s*pó(ł|l)nocy|po(ł|l)udnie|w\s*po(ł|l)udnie|popo(ł|l)udnie|po\s*po(ł|l)udniu|rano|wieczór|wieczorem|noc|w\s*nocy)/i},defaultMatchWidth:"any",parsePatterns:{narrow:{am:/^a$/i,pm:/^p$/i,midnight:/pó(ł|l)n/i,noon:/po(ł|l)/i,morning:/rano/i,afternoon:/po\s*po(ł|l)/i,evening:/wiecz/i,night:/noc/i},any:{am:/^am/i,pm:/^pm/i,midnight:/pó(ł|l)n/i,noon:/po(ł|l)/i,morning:/rano/i,afternoon:/po\s*po(ł|l)/i,evening:/wiecz/i,night:/noc/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}};var Kn={lessThanXSeconds:{one:"menos de um segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"meio minuto",lessThanXMinutes:{one:"menos de um minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"aproximadamente 1 hora",other:"aproximadamente {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 dia",other:"{{count}} dias"},aboutXMonths:{one:"aproximadamente 1 mês",other:"aproximadamente {{count}} meses"},xMonths:{one:"1 mês",other:"{{count}} meses"},aboutXYears:{one:"aproximadamente 1 ano",other:"aproximadamente {{count}} anos"},xYears:{one:"1 ano",other:"{{count}} anos"},overXYears:{one:"mais de 1 ano",other:"mais de {{count}} anos"},almostXYears:{one:"quase 1 ano",other:"quase {{count}} anos"}},Qn={date:(0,a.A)({formats:{full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d 'de' MMM 'de' y",short:"dd/MM/y"},defaultWidth:"full"}),time:(0,a.A)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,a.A)({formats:{full:"{{date}} 'às' {{time}}",long:"{{date}} 'às' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},Zn={lastWeek:"'na última' eeee 'às' p",yesterday:"'ontem às' p",today:"'hoje às' p",tomorrow:"'amanhã às' p",nextWeek:"eeee 'às' p",other:"P"};const Jn={formatDistance:function(e,t,n){var r;return n=n||{},r="string"==typeof Kn[e]?Kn[e]:1===t?Kn[e].one:Kn[e].other.replace("{{count}}",t),n.addSuffix?n.comparison>0?"daqui a "+r:"há "+r:r},formatLong:Qn,formatRelative:function(e,t,n,r){return Zn[e]},localize:{ordinalNumber:function(e){return Number(e)+"º"},era:(0,s.A)({values:{narrow:["aC","dC"],abbreviated:["a.C.","d.C."],wide:["antes de Cristo","depois de Cristo"]},defaultWidth:"wide"}),quarter:(0,s.A)({values:{narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,s.A)({values:{narrow:["j","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["jan","fev","mar","abr","mai","jun","jul","ago","set","out","nov","dez"],wide:["janeiro","fevereiro","março","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"]},defaultWidth:"wide"}),day:(0,s.A)({values:{narrow:["d","s","t","q","q","s","s"],short:["dom","seg","ter","qua","qui","sex","sáb"],abbreviated:["dom","seg","ter","qua","qui","sex","sáb"],wide:["domingo","segunda-feira","terça-feira","quarta-feira","quinta-feira","sexta-feira","sábado"]},defaultWidth:"wide"}),dayPeriod:(0,s.A)({values:{narrow:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"noite",night:"madrugada"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"noite",night:"madrugada"},wide:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"noite",night:"madrugada"}},defaultWidth:"wide",formattingValues:{narrow:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da noite",night:"da madrugada"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da noite",night:"da madrugada"},wide:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da noite",night:"da madrugada"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(0,u.A)({matchPattern:/^(\d+)(º|ª)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,c.A)({matchPatterns:{narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,wide:/^(antes de cristo|antes da era comum|depois de cristo|era comum)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes da era comum)/i,/^(depois de cristo|era comum)/i]},defaultParseWidth:"any"}),quarter:(0,c.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º|ª)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,c.A)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|fev|mar|abr|mai|jun|jul|ago|set|out|nov|dez)/i,wide:/^(janeiro|fevereiro|março|abril|maio|junho|julho|agosto|setembro|outubro|novembro|dezembro)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ab/i,/^may/i,/^jun/i,/^jul/i,/^ag/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,c.A)({matchPatterns:{narrow:/^[dstq]/i,short:/^(dom|seg|ter|qua|qui|sex|s[áa]b)/i,abbreviated:/^(dom|seg|ter|qua|qui|sex|s[áa]b)/i,wide:/^(domingo|segunda-?\s?feira|terça-?\s?feira|quarta-?\s?feira|quinta-?\s?feira|sexta-?\s?feira|s[áa]bado)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^d/i,/^s/i,/^t/i,/^q/i,/^q/i,/^s/i,/^s/i],any:[/^d/i,/^seg/i,/^t/i,/^qua/i,/^qui/i,/^sex/i,/^s[áa]/i]},defaultParseWidth:"any"}),dayPeriod:(0,c.A)({matchPatterns:{narrow:/^(a|p|meia-?\s?noite|meio-?\s?dia|(da) (manh[ãa]|tarde|noite|madrugada))/i,any:/^([ap]\.?\s?m\.?|meia-?\s?noite|meio-?\s?dia|(da) (manh[ãa]|tarde|noite|madrugada))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^meia/i,noon:/^meio/i,morning:/manh[ãa]/i,afternoon:/tarde/i,evening:/noite/i,night:/madrugada/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}};var er=n(94583),tr={lessThanXSeconds:{one:"mai puțin de o secundă",other:"mai puțin de {{count}} secunde"},xSeconds:{one:"1 secundă",other:"{{count}} secunde"},halfAMinute:"jumătate de minut",lessThanXMinutes:{one:"mai puțin de un minut",other:"mai puțin de {{count}} minute"},xMinutes:{one:"1 minut",other:"{{count}} minute"},aboutXHours:{one:"circa 1 oră",other:"circa {{count}} ore"},xHours:{one:"1 oră",other:"{{count}} ore"},xDays:{one:"1 zi",other:"{{count}} zile"},aboutXMonths:{one:"circa 1 lună",other:"circa {{count}} luni"},xMonths:{one:"1 lună",other:"{{count}} luni"},aboutXYears:{one:"circa 1 an",other:"circa {{count}} ani"},xYears:{one:"1 an",other:"{{count}} ani"},overXYears:{one:"peste 1 an",other:"peste {{count}} ani"},almostXYears:{one:"aproape 1 an",other:"aproape {{count}} ani"}},nr={date:(0,a.A)({formats:{full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"dd/MM/yyyy"},defaultWidth:"full"}),time:(0,a.A)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,a.A)({formats:{full:"{{date}} 'la' {{time}}",long:"{{date}} 'la' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},rr={lastWeek:"eeee 'trecută la' p",yesterday:"'ieri la' p",today:"'astăzi la' p",tomorrow:"'mâine la' p",nextWeek:"eeee 'viitoare la' p",other:"P"};const ar={formatDistance:function(e,t,n){var r;return n=n||{},r="string"==typeof tr[e]?tr[e]:1===t?tr[e].one:tr[e].other.replace("{{count}}",t),n.addSuffix?n.comparison>0?"în "+r:r+" în urmă":r},formatLong:nr,formatRelative:function(e,t,n,r){return rr[e]},localize:{ordinalNumber:function(e){var t=Number(e);return String(t)},era:(0,s.A)({values:{narrow:["Î","D"],abbreviated:["Î.d.C.","D.C."],wide:["Înainte de Cristos","După Cristos"]},defaultWidth:"wide"}),quarter:(0,s.A)({values:{narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["primul trimestru","al doilea trimestru","al treilea trimestru","al patrulea trimestru"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,s.A)({values:{narrow:["I","F","M","A","M","I","I","A","S","O","N","D"],abbreviated:["ian","feb","mar","apr","mai","iun","iul","aug","sep","oct","noi","dec"],wide:["ianuarie","februarie","martie","aprilie","mai","iunie","iulie","august","septembrie","octombrie","noiembrie","decembrie"]},defaultWidth:"wide"}),day:(0,s.A)({values:{narrow:["d","l","m","m","j","v","s"],short:["du","lu","ma","mi","jo","vi","sâ"],abbreviated:["dum","lun","mar","mie","joi","vin","sâm"],wide:["duminică","luni","marți","miercuri","joi","vineri","sâmbătă"]},defaultWidth:"wide"}),dayPeriod:(0,s.A)({values:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"ami",morning:"dim",afternoon:"da",evening:"s",night:"n"},abbreviated:{am:"AM",pm:"PM",midnight:"miezul nopții",noon:"amiază",morning:"dimineață",afternoon:"după-amiază",evening:"seară",night:"noapte"},wide:{am:"a.m.",pm:"p.m.",midnight:"miezul nopții",noon:"amiază",morning:"dimineață",afternoon:"după-amiază",evening:"seară",night:"noapte"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"amiază",morning:"dimineață",afternoon:"după-amiază",evening:"seară",night:"noapte"},abbreviated:{am:"AM",pm:"PM",midnight:"miezul nopții",noon:"amiază",morning:"dimineață",afternoon:"după-amiază",evening:"seară",night:"noapte"},wide:{am:"a.m.",pm:"p.m.",midnight:"miezul nopții",noon:"amiază",morning:"dimineață",afternoon:"după-amiază",evening:"seară",night:"noapte"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(0,u.A)({matchPattern:/^(\d+)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,c.A)({matchPatterns:{narrow:/^(Î|D)/i,abbreviated:/^(Î\.?\s?d\.?\s?C\.?|Î\.?\s?e\.?\s?n\.?|D\.?\s?C\.?|e\.?\s?n\.?)/i,wide:/^(Înainte de Cristos|Înaintea erei noastre|După Cristos|Era noastră)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^ÎC/i,/^DC/i],wide:[/^(Înainte de Cristos|Înaintea erei noastre)/i,/^(După Cristos|Era noastră)/i]},defaultParseWidth:"any"}),quarter:(0,c.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^trimestrul [1234]/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,c.A)({matchPatterns:{narrow:/^[ifmaasond]/i,abbreviated:/^(ian|feb|mar|apr|mai|iun|iul|aug|sep|oct|noi|dec)/i,wide:/^(ianuarie|februarie|martie|aprilie|mai|iunie|iulie|august|septembrie|octombrie|noiembrie|decembrie)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^i/i,/^f/i,/^m/i,/^a/i,/^m/i,/^i/i,/^i/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ia/i,/^f/i,/^mar/i,/^ap/i,/^mai/i,/^iun/i,/^iul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,c.A)({matchPatterns:{narrow:/^[dlmjvs]/i,short:/^(d|l|ma|mi|j|v|s)/i,abbreviated:/^(dum|lun|mar|mie|jo|vi|sâ)/i,wide:/^(duminica|luni|marţi|miercuri|joi|vineri|sâmbătă)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^d/i,/^l/i,/^ma/i,/^mi/i,/^j/i,/^v/i,/^s/i]},defaultParseWidth:"any"}),dayPeriod:(0,c.A)({matchPatterns:{narrow:/^(a|p|mn|a|(dimineaţa|după-amiaza|seara|noaptea))/i,any:/^([ap]\.?\s?m\.?|miezul nopții|amiaza|(dimineaţa|după-amiaza|seara|noaptea))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mn/i,noon:/amiaza/i,morning:/dimineaţa/i,afternoon:/după-amiaza/i,evening:/seara/i,night:/noaptea/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:1}};function or(e,t){if(void 0!==e.one&&1===t)return e.one;var n=t%10,r=t%100;return 1===n&&11!==r?e.singularNominative.replace("{{count}}",t):n>=2&&n<=4&&(r<10||r>20)?e.singularGenitive.replace("{{count}}",t):e.pluralGenitive.replace("{{count}}",t)}function ir(e){return function(t,n){return n.addSuffix?n.comparison>0?e.future?or(e.future,t):"через "+or(e.regular,t):e.past?or(e.past,t):or(e.regular,t)+" назад":or(e.regular,t)}}var sr={lessThanXSeconds:ir({regular:{one:"меньше секунды",singularNominative:"меньше {{count}} секунды",singularGenitive:"меньше {{count}} секунд",pluralGenitive:"меньше {{count}} секунд"},future:{one:"меньше, чем через секунду",singularNominative:"меньше, чем через {{count}} секунду",singularGenitive:"меньше, чем через {{count}} секунды",pluralGenitive:"меньше, чем через {{count}} секунд"}}),xSeconds:ir({regular:{singularNominative:"{{count}} секунда",singularGenitive:"{{count}} секунды",pluralGenitive:"{{count}} секунд"},past:{singularNominative:"{{count}} секунду назад",singularGenitive:"{{count}} секунды назад",pluralGenitive:"{{count}} секунд назад"},future:{singularNominative:"через {{count}} секунду",singularGenitive:"через {{count}} секунды",pluralGenitive:"через {{count}} секунд"}}),halfAMinute:function(e,t){return t.addSuffix?t.comparison>0?"через полминуты":"полминуты назад":"полминуты"},lessThanXMinutes:ir({regular:{one:"меньше минуты",singularNominative:"меньше {{count}} минуты",singularGenitive:"меньше {{count}} минут",pluralGenitive:"меньше {{count}} минут"},future:{one:"меньше, чем через минуту",singularNominative:"меньше, чем через {{count}} минуту",singularGenitive:"меньше, чем через {{count}} минуты",pluralGenitive:"меньше, чем через {{count}} минут"}}),xMinutes:ir({regular:{singularNominative:"{{count}} минута",singularGenitive:"{{count}} минуты",pluralGenitive:"{{count}} минут"},past:{singularNominative:"{{count}} минуту назад",singularGenitive:"{{count}} минуты назад",pluralGenitive:"{{count}} минут назад"},future:{singularNominative:"через {{count}} минуту",singularGenitive:"через {{count}} минуты",pluralGenitive:"через {{count}} минут"}}),aboutXHours:ir({regular:{singularNominative:"около {{count}} часа",singularGenitive:"около {{count}} часов",pluralGenitive:"около {{count}} часов"},future:{singularNominative:"приблизительно через {{count}} час",singularGenitive:"приблизительно через {{count}} часа",pluralGenitive:"приблизительно через {{count}} часов"}}),xHours:ir({regular:{singularNominative:"{{count}} час",singularGenitive:"{{count}} часа",pluralGenitive:"{{count}} часов"}}),xDays:ir({regular:{singularNominative:"{{count}} день",singularGenitive:"{{count}} дня",pluralGenitive:"{{count}} дней"}}),aboutXMonths:ir({regular:{singularNominative:"около {{count}} месяца",singularGenitive:"около {{count}} месяцев",pluralGenitive:"около {{count}} месяцев"},future:{singularNominative:"приблизительно через {{count}} месяц",singularGenitive:"приблизительно через {{count}} месяца",pluralGenitive:"приблизительно через {{count}} месяцев"}}),xMonths:ir({regular:{singularNominative:"{{count}} месяц",singularGenitive:"{{count}} месяца",pluralGenitive:"{{count}} месяцев"}}),aboutXYears:ir({regular:{singularNominative:"около {{count}} года",singularGenitive:"около {{count}} лет",pluralGenitive:"около {{count}} лет"},future:{singularNominative:"приблизительно через {{count}} год",singularGenitive:"приблизительно через {{count}} года",pluralGenitive:"приблизительно через {{count}} лет"}}),xYears:ir({regular:{singularNominative:"{{count}} год",singularGenitive:"{{count}} года",pluralGenitive:"{{count}} лет"}}),overXYears:ir({regular:{singularNominative:"больше {{count}} года",singularGenitive:"больше {{count}} лет",pluralGenitive:"больше {{count}} лет"},future:{singularNominative:"больше, чем через {{count}} год",singularGenitive:"больше, чем через {{count}} года",pluralGenitive:"больше, чем через {{count}} лет"}}),almostXYears:ir({regular:{singularNominative:"почти {{count}} год",singularGenitive:"почти {{count}} года",pluralGenitive:"почти {{count}} лет"},future:{singularNominative:"почти через {{count}} год",singularGenitive:"почти через {{count}} года",pluralGenitive:"почти через {{count}} лет"}})},lr={date:(0,a.A)({formats:{full:"EEEE, do MMMM y 'г.'",long:"do MMMM y 'г.'",medium:"d MMM y 'г.'",short:"dd.MM.y"},defaultWidth:"full"}),time:(0,a.A)({formats:{full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},defaultWidth:"full"}),dateTime:(0,a.A)({formats:{any:"{{date}}, {{time}}"},defaultWidth:"any"})},ur=["воскресенье","понедельник","вторник","среду","четверг","пятницу","субботу"];function cr(e){var t=ur[e];return 2===e?"'во "+t+" в' p":"'в "+t+" в' p"}var dr={lastWeek:function(e,t,n){var r=e.getUTCDay();return C(e,t,n)?cr(r):function(e){var t=ur[e];switch(e){case 0:return"'в прошлое "+t+" в' p";case 1:case 2:case 4:return"'в прошлый "+t+" в' p";case 3:case 5:case 6:return"'в прошлую "+t+" в' p"}}(r)},yesterday:"'вчера в' p",today:"'сегодня в' p",tomorrow:"'завтра в' p",nextWeek:function(e,t,n){var r=e.getUTCDay();return C(e,t,n)?cr(r):function(e){var t=ur[e];switch(e){case 0:return"'в следующее "+t+" в' p";case 1:case 2:case 4:return"'в следующий "+t+" в' p";case 3:case 5:case 6:return"'в следующую "+t+" в' p"}}(r)},other:"P"};const pr={formatDistance:function(e,t,n){return n=n||{},sr[e](t,n)},formatLong:lr,formatRelative:function(e,t,n,r){var a=dr[e];return"function"==typeof a?a(t,n,r):a},localize:{ordinalNumber:function(e,t){var n=String((t||{}).unit);return e+("date"===n?"-е":"week"===n||"minute"===n||"second"===n?"-я":"-й")},era:(0,s.A)({values:{narrow:["до н.э.","н.э."],abbreviated:["до н. э.","н. э."],wide:["до нашей эры","нашей эры"]},defaultWidth:"wide"}),quarter:(0,s.A)({values:{narrow:["1","2","3","4"],abbreviated:["1-й кв.","2-й кв.","3-й кв.","4-й кв."],wide:["1-й квартал","2-й квартал","3-й квартал","4-й квартал"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,s.A)({values:{narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв.","фев.","март","апр.","май","июнь","июль","авг.","сент.","окт.","нояб.","дек."],wide:["январь","февраль","март","апрель","май","июнь","июль","август","сентябрь","октябрь","ноябрь","декабрь"]},defaultWidth:"wide",formattingValues:{narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв.","фев.","мар.","апр.","мая","июн.","июл.","авг.","сент.","окт.","нояб.","дек."],wide:["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря"]},defaultFormattingWidth:"wide"}),day:(0,s.A)({values:{narrow:["В","П","В","С","Ч","П","С"],short:["вс","пн","вт","ср","чт","пт","сб"],abbreviated:["вск","пнд","втр","срд","чтв","птн","суб"],wide:["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"]},defaultWidth:"wide"}),dayPeriod:(0,s.A)({values:{narrow:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утро",afternoon:"день",evening:"веч.",night:"ночь"},abbreviated:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утро",afternoon:"день",evening:"веч.",night:"ночь"},wide:{am:"ДП",pm:"ПП",midnight:"полночь",noon:"полдень",morning:"утро",afternoon:"день",evening:"вечер",night:"ночь"}},defaultWidth:"any",formattingValues:{narrow:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утра",afternoon:"дня",evening:"веч.",night:"ночи"},abbreviated:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утра",afternoon:"дня",evening:"веч.",night:"ночи"},wide:{am:"ДП",pm:"ПП",midnight:"полночь",noon:"полдень",morning:"утра",afternoon:"дня",evening:"вечера",night:"ночи"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(0,u.A)({matchPattern:/^(\d+)(-?(е|я|й|ое|ье|ая|ья|ый|ой|ий|ый))?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,c.A)({matchPatterns:{narrow:/^((до )?н\.?\s?э\.?)/i,abbreviated:/^((до )?н\.?\s?э\.?)/i,wide:/^(до нашей эры|нашей эры|наша эра)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^д/i,/^н/i]},defaultParseWidth:"any"}),quarter:(0,c.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^[1234](-?[ыои]?й?)? кв.?/i,wide:/^[1234](-?[ыои]?й?)? квартал/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,c.A)({matchPatterns:{narrow:/^[яфмаисонд]/i,abbreviated:/^(янв|фев|март?|апр|ма[йя]|июн[ья]?|июл[ья]?|авг|сент?|окт|нояб?|дек)/i,wide:/^(январ[ья]|феврал[ья]|марта?|апрел[ья]|ма[йя]|июн[ья]|июл[ья]|августа?|сентябр[ья]|октябр[ья]|октябр[ья]|ноябр[ья]|декабр[ья])/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^я/i,/^ф/i,/^м/i,/^а/i,/^м/i,/^и/i,/^и/i,/^а/i,/^с/i,/^о/i,/^н/i,/^я/i],any:[/^я/i,/^ф/i,/^мар/i,/^ап/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^ав/i,/^с/i,/^о/i,/^н/i,/^д/i]},defaultParseWidth:"any"}),day:(0,c.A)({matchPatterns:{narrow:/^[впсч]/i,short:/^(вс|во|пн|по|вт|ср|чт|че|пт|пя|сб|су)\.?/i,abbreviated:/^(вск|вос|пнд|пон|втр|вто|срд|сре|чтв|чет|птн|пят|суб).?/i,wide:/^(воскресень[ея]|понедельника?|вторника?|сред[аы]|четверга?|пятниц[аы]|суббот[аы])/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^в/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^в[ос]/i,/^п[он]/i,/^в/i,/^ср/i,/^ч/i,/^п[ят]/i,/^с[уб]/i]},defaultParseWidth:"any"}),dayPeriod:(0,c.A)({matchPatterns:{narrow:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,abbreviated:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,wide:/^([дп]п|полночь|полдень|утр[оа]|день|дня|вечера?|ноч[ьи])/i},defaultMatchWidth:"wide",parsePatterns:{any:{am:/^дп/i,pm:/^пп/i,midnight:/^полн/i,noon:/^полд/i,morning:/^у/i,afternoon:/^д[ен]/i,evening:/^в/i,night:/^н/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:1}};function fr(e,t,n){var r=function(e,t){return 1===t?e.one:t>=2&&t<=4?e.twoFour:e.other}(e,t);return(r[n]||r).replace("{{count}}",t)}function hr(e){var t="";return"almost"===e&&(t="takmer"),"about"===e&&(t="približne"),t.length>0?t+" ":""}function mr(e){var t="";return"lessThan"===e&&(t="menej než"),"over"===e&&(t="viac než"),t.length>0?t+" ":""}var gr={xSeconds:{one:{regular:"sekunda",past:"sekundou",future:"sekundu"},twoFour:{regular:"{{count}} sekundy",past:"{{count}} sekundami",future:"{{count}} sekundy"},other:{regular:"{{count}} sekúnd",past:"{{count}} sekundami",future:"{{count}} sekúnd"}},halfAMinute:{other:{regular:"pol minúty",past:"pol minútou",future:"pol minúty"}},xMinutes:{one:{regular:"minúta",past:"minútou",future:"minútu"},twoFour:{regular:"{{count}} minúty",past:"{{count}} minútami",future:"{{count}} minúty"},other:{regular:"{{count}} minút",past:"{{count}} minútami",future:"{{count}} minút"}},xHours:{one:{regular:"hodina",past:"hodinou",future:"hodinu"},twoFour:{regular:"{{count}} hodiny",past:"{{count}} hodinami",future:"{{count}} hodiny"},other:{regular:"{{count}} hodín",past:"{{count}} hodinami",future:"{{count}} hodín"}},xDays:{one:{regular:"deň",past:"dňom",future:"deň"},twoFour:{regular:"{{count}} dni",past:"{{count}} dňami",future:"{{count}} dni"},other:{regular:"{{count}} dní",past:"{{count}} dňami",future:"{{count}} dní"}},xMonths:{one:{regular:"mesiac",past:"mesiacom",future:"mesiac"},twoFour:{regular:"{{count}} mesiace",past:"{{count}} mesiacmi",future:"{{count}} mesiace"},other:{regular:"{{count}} mesiacov",past:"{{count}} mesiacmi",future:"{{count}} mesiacov"}},xYears:{one:{regular:"rok",past:"rokom",future:"rok"},twoFour:{regular:"{{count}} roky",past:"{{count}} rokmi",future:"{{count}} roky"},other:{regular:"{{count}} rokov",past:"{{count}} rokmi",future:"{{count}} rokov"}}},vr={date:(0,a.A)({formats:{full:"EEEE d. MMMM y",long:"d. MMMM y",medium:"d. M. y",short:"d. M. y"},defaultWidth:"full"}),time:(0,a.A)({formats:{full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},defaultWidth:"full"}),dateTime:(0,a.A)({formats:{full:"{{date}}, {{time}}",long:"{{date}}, {{time}}",medium:"{{date}}, {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},yr=["nedeľu","pondelok","utorok","stredu","štvrtok","piatok","sobotu"];function br(e){return 4===e?"'vo' eeee 'o' p":"'v "+yr[e]+" o' p"}var wr={lastWeek:function(e,t,n){var r=e.getUTCDay();return C(e,t,n)?br(r):function(e){var t=yr[e];switch(e){case 0:case 4:case 6:return"'minulú "+t+" o' p";default:return"'minulý' eeee 'o' p"}}(r)},yesterday:"'včera o' p",today:"'dnes o' p",tomorrow:"'zajtra o' p",nextWeek:function(e,t,n){var r=e.getUTCDay();return C(e,t,n)?br(r):function(e){var t=yr[e];switch(e){case 0:case 4:case 6:return"'budúcu' "+t+" 'o' p";default:return"'budúci' eeee 'o' p"}}(r)},other:"P"};const xr={formatDistance:function(e,t,n){n=n||{};var r,a=function(e){return["lessThan","about","over","almost"].filter((function(t){return!!e.match(new RegExp("^"+t))}))[0]}(e)||"",o=(r=e.substring(a.length)).charAt(0).toLowerCase()+r.slice(1),i=gr[o];return n.addSuffix?n.comparison>0?hr(a)+"o "+mr(a)+fr(i,t,"future"):hr(a)+"pred "+mr(a)+fr(i,t,"past"):hr(a)+mr(a)+fr(i,t,"regular")},formatLong:vr,formatRelative:function(e,t,n,r){var a=wr[e];return"function"==typeof a?a(t,n,r):a},localize:{ordinalNumber:function(e,t){return Number(e)+"."},era:(0,s.A)({values:{narrow:["pred Kr.","po Kr."],abbreviated:["pred Kr.","po Kr."],wide:["pred Kristom","po Kristovi"]}}),quarter:(0,s.A)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. štvrťrok","2. štvrťrok","3. štvrťrok","4. štvrťrok"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,s.A)({values:{narrow:["j","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["jan","feb","mar","apr","máj","jún","júl","aug","sep","okt","nov","dec"],wide:["január","február","marec","apríl","máj","jún","júl","august","september","október","november","december"]},defaultWidth:"wide",formattingValues:{narrow:["j","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["jan","feb","mar","apr","máj","jún","júl","aug","sep","okt","nov","dec"],wide:["januára","februára","marca","apríla","mája","júna","júla","augusta","septembra","októbra","novembra","decembra"]},defaultFormattingWidth:"wide"}),day:(0,s.A)({values:{narrow:["n","p","u","s","š","p","s"],short:["ne","po","ut","st","št","pi","so"],abbreviated:["ne","po","ut","st","št","pi","so"],wide:["nedeľa","pondelok","utorok","streda","štvrtok","piatok","sobota"]},defaultWidth:"wide"}),dayPeriod:(0,s.A)({values:{narrow:{am:"AM",pm:"PM",midnight:"poln.",noon:"pol.",morning:"ráno",afternoon:"pop.",evening:"več.",night:"noc"},abbreviated:{am:"AM",pm:"PM",midnight:"poln.",noon:"pol.",morning:"ráno",afternoon:"popol.",evening:"večer",night:"noc"},wide:{am:"AM",pm:"PM",midnight:"polnoc",noon:"poludnie",morning:"ráno",afternoon:"popoludnie",evening:"večer",night:"noc"}},defaultWidth:"wide",formattingValues:{narrow:{am:"AM",pm:"PM",midnight:"o poln.",noon:"nap.",morning:"ráno",afternoon:"pop.",evening:"več.",night:"v n."},abbreviated:{am:"AM",pm:"PM",midnight:"o poln.",noon:"napol.",morning:"ráno",afternoon:"popol.",evening:"večer",night:"v noci"},wide:{am:"AM",pm:"PM",midnight:"o polnoci",noon:"napoludnie",morning:"ráno",afternoon:"popoludní",evening:"večer",night:"v noci"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(0,u.A)({matchPattern:/^(\d+)\.?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,c.A)({matchPatterns:{narrow:/^(pred Kr\.|pred n\. l\.|po Kr\.|n\. l\.)/i,abbreviated:/^(pred Kr\.|pred n\. l\.|po Kr\.|n\. l\.)/i,wide:/^(pred Kristom|pred na[šs][íi]m letopo[čc]tom|po Kristovi|n[áa][šs]ho letopo[čc]tu)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^pr/i,/^(po|n)/i]},defaultParseWidth:"any"}),quarter:(0,c.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234]\. [šs]tvr[ťt]rok/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,c.A)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|m[áa]j|j[úu]n|j[úu]l|aug|sep|okt|nov|dec)/i,wide:/^(janu[áa]ra?|febru[áa]ra?|(marec|marca)|apr[íi]la?|m[áa]ja?|j[úu]na?|j[úu]la?|augusta?|(september|septembra)|(okt[óo]ber|okt[óo]bra)|(november|novembra)|(december|decembra))/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^m[áa]j/i,/^j[úu]n/i,/^j[úu]l/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,c.A)({matchPatterns:{narrow:/^[npusšp]/i,short:/^(ne|po|ut|st|št|pi|so)/i,abbreviated:/^(ne|po|ut|st|št|pi|so)/i,wide:/^(nede[ľl]a|pondelok|utorok|streda|[šs]tvrtok|piatok|sobota])/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^n/i,/^p/i,/^u/i,/^s/i,/^š/i,/^p/i,/^s/i],any:[/^n/i,/^po/i,/^u/i,/^st/i,/^(št|stv)/i,/^pi/i,/^so/i]},defaultParseWidth:"any"}),dayPeriod:(0,c.A)({matchPatterns:{narrow:/^(am|pm|(o )?poln\.?|(nap\.?|pol\.?)|r[áa]no|pop\.?|ve[čc]\.?|(v n\.?|noc))/i,abbreviated:/^(am|pm|(o )?poln\.?|(napol\.?|pol\.?)|r[áa]no|pop\.?|ve[čc]er|(v )?noci?)/i,any:/^(am|pm|(o )?polnoci?|(na)?poludnie|r[áa]no|popoludn(ie|í|i)|ve[čc]er|(v )?noci?)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^am/i,pm:/^pm/i,midnight:/poln/i,noon:/^(nap|(na)?pol(\.|u))/i,morning:/^r[áa]no/i,afternoon:/^pop/i,evening:/^ve[čc]/i,night:/^(noc|v n\.)/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}};var Sr={lessThanXSeconds:{one:"manj kot {{count}} sekunda",two:"manj kot {{count}} sekundi",few:"manj kot {{count}} sekunde",other:"manj kot {{count}} sekund"},xSeconds:{one:"{{count}} sekunda",two:"{{count}} sekundi",few:"{{count}} sekunde",other:"{{count}} sekund"},halfAMinute:"pol minute",lessThanXMinutes:{one:"manj kot {{count}} minuta",two:"manj kot {{count}} minuti",few:"manj kot {{count}} minute",other:"manj kot {{count}} minut"},xMinutes:{one:"{{count}} minuta",two:"{{count}} minuti",few:"{{count}} minute",other:"{{count}} minut"},aboutXHours:{one:"približno {{count}} ura",two:"približno {{count}} uri",few:"približno {{count}} ure",other:"približno {{count}} ur"},xHours:{one:"{{count}} ura",two:"{{count}} uri",few:"{{count}} ure",other:"{{count}} ur"},xDays:{one:"{{count}} dan",two:"{{count}} dni",few:"{{count}} dni",other:"{{count}} dni"},aboutXMonths:{one:"približno {{count}} mesec",two:"približno {{count}} meseca",few:"približno {{count}} mesece",other:"približno {{count}} mesecev"},xMonths:{one:"{{count}} mesec",two:"{{count}} meseca",few:"{{count}} meseci",other:"{{count}} mesecev"},aboutXYears:{one:"približno {{count}} leto",two:"približno {{count}} leti",few:"približno {{count}} leta",other:"približno {{count}} let"},xYears:{one:"{{count}} leto",two:"{{count}} leti",few:"{{count}} leta",other:"{{count}} let"},overXYears:{one:"več kot {{count}} leto",two:"več kot {{count}} leti",few:"več kot {{count}} leta",other:"več kot {{count}} let"},almostXYears:{one:"skoraj {{count}} leto",two:"skoraj {{count}} leti",few:"skoraj {{count}} leta",other:"skoraj {{count}} let"}},_r={lessThanXSeconds:{one:"manj kot {{count}} sekundo",two:"manj kot {{count}} sekundama",few:"manj kot {{count}} sekundami",other:"manj kot {{count}} sekundami"},xSeconds:{one:"{{count}} sekundo",two:"{{count}} sekundama",few:"{{count}} sekundami",other:"{{count}} sekundami"},halfAMinute:"pol minute",lessThanXMinutes:{one:"manj kot {{count}} minuto",two:"manj kot {{count}} minutama",few:"manj kot {{count}} minutami",other:"manj kot {{count}} minutami"},xMinutes:{one:"{{count}} minuto",two:"{{count}} minutama",few:"{{count}} minutami",other:"{{count}} minutami"},aboutXHours:{one:"približno {{count}} uro",two:"približno {{count}} urama",few:"približno {{count}} urami",other:"približno {{count}} urami"},xHours:{one:"{{count}} uro",two:"{{count}} urama",few:"{{count}} urami",other:"{{count}} urami"},xDays:{one:"{{count}} dnem",two:"{{count}} dnevoma",few:"{{count}} dnevi",other:"{{count}} dnevi"},aboutXMonths:{one:"približno {{count}} mesecem",two:"približno {{count}} mesecema",few:"približno {{count}} meseci",other:"približno {{count}} meseci"},xMonths:{one:"{{count}} mesecem",two:"{{count}} mesecema",few:"{{count}} meseci",other:"{{count}} meseci"},aboutXYears:{one:"približno {{count}} letom",two:"približno {{count}} letoma",few:"približno {{count}} leti",other:"približno {{count}} leti"},xYears:{one:"{{count}} letom",two:"{{count}} letoma",few:"{{count}} leti",other:"{{count}} leti"},overXYears:{one:"več kot {{count}} letom",two:"več kot {{count}} letoma",few:"več kot {{count}} leti",other:"več kot {{count}} leti"},almostXYears:{one:"skoraj {{count}} letom",two:"skoraj {{count}} letoma",few:"skoraj {{count}} leti",other:"skoraj {{count}} leti"}},Ar={lessThanXSeconds:{one:"manj kot {{count}} sekundo",two:"manj kot {{count}} sekundi",few:"manj kot {{count}} sekunde",other:"manj kot {{count}} sekund"},xSeconds:{one:"{{count}} sekundo",two:"{{count}} sekundi",few:"{{count}} sekunde",other:"{{count}} sekund"},halfAMinute:"pol minute",lessThanXMinutes:{one:"manj kot {{count}} minuto",two:"manj kot {{count}} minuti",few:"manj kot {{count}} minute",other:"manj kot {{count}} minut"},xMinutes:{one:"{{count}} minuto",two:"{{count}} minuti",few:"{{count}} minute",other:"{{count}} minut"},aboutXHours:{one:"približno {{count}} uro",two:"približno {{count}} uri",few:"približno {{count}} ure",other:"približno {{count}} ur"},xHours:{one:"{{count}} uro",two:"{{count}} uri",few:"{{count}} ure",other:"{{count}} ur"},xDays:{one:"{{count}} dan",two:"{{count}} dni",few:"{{count}} dni",other:"{{count}} dni"},aboutXMonths:{one:"približno {{count}} mesec",two:"približno {{count}} meseca",few:"približno {{count}} mesece",other:"približno {{count}} mesecev"},xMonths:{one:"{{count}} mesec",two:"{{count}} meseca",few:"{{count}} meseci",other:"{{count}} mesecev"},aboutXYears:{one:"približno {{count}} leto",two:"približno {{count}} leti",few:"približno {{count}} leta",other:"približno {{count}} let"},xYears:{one:"{{count}} leto",two:"{{count}} leti",few:"{{count}} leta",other:"{{count}} let"},overXYears:{one:"več kot {{count}} leto",two:"več kot {{count}} leti",few:"več kot {{count}} leta",other:"več kot {{count}} let"},almostXYears:{one:"skoraj {{count}} leto",two:"skoraj {{count}} leti",few:"skoraj {{count}} leta",other:"skoraj {{count}} let"}},Cr={date:(0,a.A)({formats:{full:"EEEE, dd. MMMM y",long:"dd. MMMM y",medium:"d. MMM y",short:"d. MM. yy"},defaultWidth:"full"}),time:(0,a.A)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,a.A)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},Tr={lastWeek:function(e){switch(e.getUTCDay()){case 0:return"'prejšnjo nedeljo ob' p";case 3:return"'prejšnjo sredo ob' p";case 6:return"'prejšnjo soboto ob' p";default:return"'prejšnji' EEEE 'ob' p"}},yesterday:"'včeraj ob' p",today:"'danes ob' p",tomorrow:"'jutri ob' p",nextWeek:function(e){switch(e.getUTCDay()){case 0:return"'naslednjo nedeljo ob' p";case 3:return"'naslednjo sredo ob' p";case 6:return"'naslednjo soboto ob' p";default:return"'naslednji' EEEE 'ob' p"}},other:"P"};const kr={formatDistance:function(e,t,n){var r=Sr,a="";if((n=n||{}).addSuffix&&(n.comparison>0?(r=Ar,a+="čez "):(r=_r,a+="pred ")),"string"==typeof r[e])a+=r[e];else{var o=function(e){switch(e%100){case 1:return"one";case 2:return"two";case 3:case 4:return"few";default:return"other"}}(t);a+=r[e][o].replace("{{count}}",t)}return a},formatLong:Cr,formatRelative:function(e,t,n,r){var a=Tr[e];return"function"==typeof a?a(t):a},localize:{ordinalNumber:function(e){var t=Number(e);return String(t).concat(".")},era:(0,s.A)({values:{narrow:["pr. n. št.","po n. št."],abbreviated:["pr. n. št.","po n. št."],wide:["pred našim štetjem","po našem štetju"]},defaultWidth:"wide"}),quarter:(0,s.A)({values:{narrow:["1","2","3","4"],abbreviated:["1. čet.","2. čet.","3. čet.","4. čet."],wide:["1. četrtletje","2. četrtletje","3. četrtletje","4. četrtletje"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,s.A)({values:{narrow:["j","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["jan.","feb.","mar.","apr.","maj","jun.","jul.","avg.","sep.","okt.","nov.","dec."],wide:["januar","februar","marec","april","maj","junij","julij","avgust","september","oktober","november","december"]},defaultWidth:"wide"}),day:(0,s.A)({values:{narrow:["n","p","t","s","č","p","s"],short:["ned.","pon.","tor.","sre.","čet.","pet.","sob."],abbreviated:["ned.","pon.","tor.","sre.","čet.","pet.","sob."],wide:["nedelja","ponedeljek","torek","sreda","četrtek","petek","sobota"]},defaultWidth:"wide"}),dayPeriod:(0,s.A)({values:{narrow:{am:"d",pm:"p",midnight:"24.00",noon:"12.00",morning:"j",afternoon:"p",evening:"v",night:"n"},abbreviated:{am:"dop.",pm:"pop.",midnight:"poln.",noon:"pold.",morning:"jut.",afternoon:"pop.",evening:"več.",night:"noč"},wide:{am:"dop.",pm:"pop.",midnight:"polnoč",noon:"poldne",morning:"jutro",afternoon:"popoldne",evening:"večer",night:"noč"}},defaultWidth:"wide",formattingValues:{narrow:{am:"d",pm:"p",midnight:"24.00",noon:"12.00",morning:"zj",afternoon:"p",evening:"zv",night:"po"},abbreviated:{am:"dop.",pm:"pop.",midnight:"opoln.",noon:"opold.",morning:"zjut.",afternoon:"pop.",evening:"zveč.",night:"ponoči"},wide:{am:"dop.",pm:"pop.",midnight:"opolnoči",noon:"opoldne",morning:"zjutraj",afternoon:"popoldan",evening:"zvečer",night:"ponoči"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(0,u.A)({matchPattern:/^(\d+)\./i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,c.A)({matchPatterns:{abbreviated:/^(pr\. n\. št\.|po n\. št\.)/i,wide:/^(pred Kristusom|pred na[sš]im [sš]tetjem|po Kristusu|po na[sš]em [sš]tetju|na[sš]ega [sš]tetja)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^pr/i,/^(po|na[sš]em)/i]},defaultParseWidth:"any"}),quarter:(0,c.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^[1234]\.\s?[čc]et\.?/i,wide:/^[1234]\. [čc]etrtletje/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,c.A)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan\.|feb\.|mar\.|apr\.|maj|jun\.|jul\.|avg\.|sep\.|okt\.|nov\.|dec\.)/i,wide:/^(januar|februar|marec|april|maj|junij|julij|avgust|september|oktober|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],abbreviated:[/^ja/i,/^fe/i,/^mar/i,/^ap/i,/^maj/i,/^jun/i,/^jul/i,/^av/i,/^s/i,/^o/i,/^n/i,/^d/i],wide:[/^ja/i,/^fe/i,/^mar/i,/^ap/i,/^maj/i,/^jun/i,/^jul/i,/^av/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"wide"}),day:(0,c.A)({matchPatterns:{narrow:/^[nptsčc]/i,short:/^(ned\.|pon\.|tor\.|sre\.|[cč]et\.|pet\.|sob\.)/i,abbreviated:/^(ned\.|pon\.|tor\.|sre\.|[cč]et\.|pet\.|sob\.)/i,wide:/^(nedelja|ponedeljek|torek|sreda|[cč]etrtek|petek|sobota)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^n/i,/^p/i,/^t/i,/^s/i,/^[cč]/i,/^p/i,/^s/i],any:[/^n/i,/^po/i,/^t/i,/^sr/i,/^[cč]/i,/^pe/i,/^so/i]},defaultParseWidth:"any"}),dayPeriod:(0,c.A)({matchPatterns:{narrow:/^(d|po?|z?v|n|z?j|24\.00|12\.00)/i,any:/^(dop\.|pop\.|o?poln(\.|o[cč]i?)|o?pold(\.|ne)|z?ve[cč](\.|er)|(po)?no[cč]i?|popold(ne|an)|jut(\.|ro)|zjut(\.|raj))/i},defaultMatchWidth:"any",parsePatterns:{narrow:{am:/^d/i,pm:/^p/i,midnight:/^24/i,noon:/^12/i,morning:/^(z?j)/i,afternoon:/^p/i,evening:/^(z?v)/i,night:/^(n|po)/i},any:{am:/^dop\./i,pm:/^pop\./i,midnight:/^o?poln/i,noon:/^o?pold/i,morning:/j/i,afternoon:/^pop\./i,evening:/^z?ve/i,night:/(po)?no/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:1}};var Er={lessThanXSeconds:{singular:"mindre än en sekund",plural:"mindre än {{count}} sekunder"},xSeconds:{singular:"en sekund",plural:"{{count}} sekunder"},halfAMinute:"en halv minut",lessThanXMinutes:{singular:"mindre än en minut",plural:"mindre än {{count}} minuter"},xMinutes:{singular:"en minut",plural:"{{count}} minuter"},aboutXHours:{singular:"ungefär en timme",plural:"ungefär {{count}} timmar"},xHours:{singular:"en timme",plural:"{{count}} timmar"},xDays:{singular:"en dag",plural:"{{count}} dagar"},aboutXMonths:{singular:"ungefär en månad",plural:"ungefär {{count}} månader"},xMonths:{singular:"en månad",plural:"{{count}} månader"},aboutXYears:{singular:"ungefär ett år",plural:"ungefär {{count}} år"},xYears:{singular:"ett år",plural:"{{count}} år"},overXYears:{singular:"över ett år",plural:"över {{count}} år"},almostXYears:{singular:"nästan ett år",plural:"nästan {{count}} år"}},Mr=["noll","en","två","tre","fyra","fem","sex","sju","åtta","nio","tio","elva","tolv"],Pr={date:(0,a.A)({formats:{full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"y-MM-dd"},defaultWidth:"full"}),time:(0,a.A)({formats:{full:"'kl'. HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,a.A)({formats:{full:"{{date}} 'kl.' {{time}}",long:"{{date}} 'kl.' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},Or={lastWeek:"'i' EEEE's kl.' p",yesterday:"'igår kl.' p",today:"'idag kl.' p",tomorrow:"'imorgon kl.' p",nextWeek:"'på' EEEE 'kl.' p",other:"P"};const Ir={formatDistance:function(e,t,n){n=n||{onlyNumeric:!1};var r,a=Er[e];return r="string"==typeof a?a:0===t||t>1?n.onlyNumeric?a.plural.replace("{{count}}",t):a.plural.replace("{{count}}",t<13?Mr[t]:t):a.singular,n.addSuffix?n.comparison>0?"om "+r:r+" sedan":r},formatLong:Pr,formatRelative:function(e,t,n,r){return Or[e]},localize:{ordinalNumber:function(e){var t=Number(e),n=t%100;if(n>20||n<10)switch(n%10){case 1:case 2:return t+":a"}return t+":e"},era:(0,s.A)({values:{narrow:["f.Kr.","e.Kr."],abbreviated:["f.Kr.","e.Kr."],wide:["före Kristus","efter Kristus"]},defaultWidth:"wide"}),quarter:(0,s.A)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1:a kvartalet","2:a kvartalet","3:e kvartalet","4:e kvartalet"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,s.A)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan.","feb.","mars","apr.","maj","juni","juli","aug.","sep.","okt.","nov.","dec."],wide:["januari","februari","mars","april","maj","juni","juli","augusti","september","oktober","november","december"]},defaultWidth:"wide"}),day:(0,s.A)({values:{narrow:["S","M","T","O","T","F","L"],short:["sö","må","ti","on","to","fr","lö"],abbreviated:["sön","mån","tis","ons","tor","fre","lör"],wide:["söndag","måndag","tisdag","onsdag","torsdag","fredag","lördag"]},defaultWidth:"wide"}),dayPeriod:(0,s.A)({values:{narrow:{am:"fm",pm:"em",midnight:"midnatt",noon:"middag",morning:"morg.",afternoon:"efterm.",evening:"kväll",night:"natt"},abbreviated:{am:"f.m.",pm:"e.m.",midnight:"midnatt",noon:"middag",morning:"morgon",afternoon:"efterm.",evening:"kväll",night:"natt"},wide:{am:"förmiddag",pm:"eftermiddag",midnight:"midnatt",noon:"middag",morning:"morgon",afternoon:"eftermiddag",evening:"kväll",night:"natt"}},defaultWidth:"wide",formattingValues:{narrow:{am:"fm",pm:"em",midnight:"midnatt",noon:"middag",morning:"på morg.",afternoon:"på efterm.",evening:"på kvällen",night:"på natten"},abbreviated:{am:"fm",pm:"em",midnight:"midnatt",noon:"middag",morning:"på morg.",afternoon:"på efterm.",evening:"på kvällen",night:"på natten"},wide:{am:"fm",pm:"em",midnight:"midnatt",noon:"middag",morning:"på morgonen",afternoon:"på eftermiddagen",evening:"på kvällen",night:"på natten"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(0,u.A)({matchPattern:/^(\d+)(:a|:e)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,c.A)({matchPatterns:{narrow:/^(f\.? ?Kr\.?|f\.? ?v\.? ?t\.?|e\.? ?Kr\.?|v\.? ?t\.?)/i,abbreviated:/^(f\.? ?Kr\.?|f\.? ?v\.? ?t\.?|e\.? ?Kr\.?|v\.? ?t\.?)/i,wide:/^(före Kristus|före vår tid|efter Kristus|vår tid)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^f/i,/^[ev]/i]},defaultParseWidth:"any"}),quarter:(0,c.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](:a|:e)? kvartalet/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,c.A)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|maj|jun|jul|aug|sep|okt|nov|dec)\.?/i,wide:/^(januari|februari|mars|april|maj|juni|juli|augusti|september|oktober|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^maj/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,c.A)({matchPatterns:{narrow:/^[smtofl]/i,short:/^(sö|må|ti|on|to|fr|lö)/i,abbreviated:/^(sön|mån|tis|ons|tor|fre|lör)/i,wide:/^(söndag|måndag|tisdag|onsdag|torsdag|fredag|lördag)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^s/i,/^m/i,/^ti/i,/^o/i,/^to/i,/^f/i,/^l/i]},defaultParseWidth:"any"}),dayPeriod:(0,c.A)({matchPatterns:{any:/^([fe]\.?\s?m\.?|midn(att)?|midd(ag)?|(på) (morgonen|eftermiddagen|kvällen|natten))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^f/i,pm:/^e/i,midnight:/^midn/i,noon:/^midd/i,morning:/morgon/i,afternoon:/eftermiddag/i,evening:/kväll/i,night:/natt/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}};var Dr={lessThanXSeconds:{one:{default:"ஒரு வினாடிக்கு குறைவாக",in:"ஒரு வினாடிக்குள்",ago:"ஒரு வினாடிக்கு முன்பு"},other:{default:"{{count}} வினாடிகளுக்கு குறைவாக",in:"{{count}} வினாடிகளுக்குள்",ago:"{{count}} வினாடிகளுக்கு முன்பு"}},xSeconds:{one:{default:"1 வினாடி",in:"1 வினாடியில்",ago:"1 வினாடி முன்பு"},other:{default:"{{count}} விநாடிகள்",in:"{{count}} வினாடிகளில்",ago:"{{count}} விநாடிகளுக்கு முன்பு"}},halfAMinute:{default:"அரை நிமிடம்",in:"அரை நிமிடத்தில்",ago:"அரை நிமிடம் முன்பு"},lessThanXMinutes:{one:{default:"ஒரு நிமிடத்திற்கும் குறைவாக",in:"ஒரு நிமிடத்திற்குள்",ago:"ஒரு நிமிடத்திற்கு முன்பு"},other:{default:"{{count}} நிமிடங்களுக்கும் குறைவாக",in:"{{count}} நிமிடங்களுக்குள்",ago:"{{count}} நிமிடங்களுக்கு முன்பு"}},xMinutes:{one:{default:"1 நிமிடம்",in:"1 நிமிடத்தில்",ago:"1 நிமிடம் முன்பு"},other:{default:"{{count}} நிமிடங்கள்",in:"{{count}} நிமிடங்களில்",ago:"{{count}} நிமிடங்களுக்கு முன்பு"}},aboutXHours:{one:{default:"சுமார் 1 மணி நேரம்",in:"சுமார் 1 மணி நேரத்தில்",ago:"சுமார் 1 மணி நேரத்திற்கு முன்பு"},other:{default:"சுமார் {{count}} மணி நேரம்",in:"சுமார் {{count}} மணி நேரத்திற்கு முன்பு",ago:"சுமார் {{count}} மணி நேரத்தில்"}},xHours:{one:{default:"1 மணி நேரம்",in:"1 மணி நேரத்தில்",ago:"1 மணி நேரத்திற்கு முன்பு"},other:{default:"{{count}} மணி நேரம்",in:"{{count}} மணி நேரத்தில்",ago:"{{count}} மணி நேரத்திற்கு முன்பு"}},xDays:{one:{default:"1 நாள்",in:"1 நாளில்",ago:"1 நாள் முன்பு"},other:{default:"{{count}} நாட்கள்",in:"{{count}} நாட்களில்",ago:"{{count}} நாட்களுக்கு முன்பு"}},aboutXMonths:{one:{default:"சுமார் 1 மாதம்",in:"சுமார் 1 மாதத்தில்",ago:"சுமார் 1 மாதத்திற்கு முன்பு"},other:{default:"சுமார் {{count}} மாதங்கள்",in:"சுமார் {{count}} மாதங்களில்",ago:"சுமார் {{count}} மாதங்களுக்கு முன்பு"}},xMonths:{one:{default:"1 மாதம்",in:"1 மாதத்தில்",ago:"1 மாதம் முன்பு"},other:{default:"{{count}} மாதங்கள்",in:"{{count}} மாதங்களில்",ago:"{{count}} மாதங்களுக்கு முன்பு"}},aboutXYears:{one:{default:"சுமார் 1 வருடம்",in:"சுமார் 1 ஆண்டில்",ago:"சுமார் 1 வருடம் முன்பு"},other:{default:"சுமார் {{count}} ஆண்டுகள்",in:"சுமார் {{count}} ஆண்டுகளில்",ago:"சுமார் {{count}} ஆண்டுகளுக்கு முன்பு"}},xYears:{one:{default:"1 வருடம்",in:"1 ஆண்டில்",ago:"1 வருடம் முன்பு"},other:{default:"{{count}} ஆண்டுகள்",in:"{{count}} ஆண்டுகளில்",ago:"{{count}} ஆண்டுகளுக்கு முன்பு"}},overXYears:{one:{default:"1 வருடத்திற்கு மேல்",in:"1 வருடத்திற்கும் மேலாக",ago:"1 வருடம் முன்பு"},other:{default:"{{count}} ஆண்டுகளுக்கும் மேலாக",in:"{{count}} ஆண்டுகளில்",ago:"{{count}} ஆண்டுகளுக்கு முன்பு"}},almostXYears:{one:{default:"கிட்டத்தட்ட 1 வருடம்",in:"கிட்டத்தட்ட 1 ஆண்டில்",ago:"கிட்டத்தட்ட 1 வருடம் முன்பு"},other:{default:"கிட்டத்தட்ட {{count}} ஆண்டுகள்",in:"கிட்டத்தட்ட {{count}} ஆண்டுகளில்",ago:"கிட்டத்தட்ட {{count}} ஆண்டுகளுக்கு முன்பு"}}};function Rr(e,t){return t.addSuffix?t.comparison>0?e.in:e.ago:e.default}var Nr={date:(0,a.A)({formats:{full:"EEEE, d MMMM, y",long:"d MMMM, y",medium:"d MMM, y",short:"d/M/yy"},defaultWidth:"full"}),time:(0,a.A)({formats:{full:"a h:mm:ss zzzz",long:"a h:mm:ss z",medium:"a h:mm:ss",short:"a h:mm"},defaultWidth:"full"}),dateTime:(0,a.A)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},Lr={lastWeek:"'கடந்த' eeee p 'மணிக்கு'",yesterday:"'நேற்று ' p 'மணிக்கு'",today:"'இன்று ' p 'மணிக்கு'",tomorrow:"'நாளை ' p 'மணிக்கு'",nextWeek:"eeee p 'மணிக்கு'",other:"P"};const $r={formatDistance:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return(Dr[e].default?Rr(Dr[e],n):Rr(1===t?Dr[e].one:Dr[e].other,n)).replace("{{count}}",t)},formatLong:Nr,formatRelative:function(e,t,n,r){return Lr[e]},localize:{ordinalNumber:function(e,t){return Number(e)},era:(0,s.A)({values:{narrow:["கி.மு.","கி.பி."],abbreviated:["கி.மு.","கி.பி."],wide:["கிறிஸ்துவுக்கு முன்","அன்னோ டோமினி"]},defaultWidth:"wide"}),quarter:(0,s.A)({values:{narrow:["1","2","3","4"],abbreviated:["காலா.1","காலா.2","காலா.3","காலா.4"],wide:["ஒன்றாம் காலாண்டு","இரண்டாம் காலாண்டு","மூன்றாம் காலாண்டு","நான்காம் காலாண்டு"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,s.A)({values:{narrow:["ஜ","பி","மா","ஏ","மே","ஜூ","ஜூ","ஆ","செ","அ","ந","டி"],abbreviated:["ஜன.","பிப்.","மார்.","ஏப்.","மே","ஜூன்","ஜூலை","ஆக.","செப்.","அக்.","நவ.","டிச."],wide:["ஜனவரி","பிப்ரவரி","மார்ச்","ஏப்ரல்","மே","ஜூன்","ஜூலை","ஆகஸ்ட்","செப்டம்பர்","அக்டோபர்","நவம்பர்","டிசம்பர்"]},defaultWidth:"wide"}),day:(0,s.A)({values:{narrow:["ஞா","தி","செ","பு","வி","வெ","ச"],short:["ஞா","தி","செ","பு","வி","வெ","ச"],abbreviated:["ஞாயி.","திங்.","செவ்.","புத.","வியா.","வெள்.","சனி"],wide:["ஞாயிறு","திங்கள்","செவ்வாய்","புதன்","வியாழன்","வெள்ளி","சனி"]},defaultWidth:"wide"}),dayPeriod:(0,s.A)({values:{narrow:{am:"மு.ப",pm:"பி.ப",midnight:"நள்.",noon:"நண்.",morning:"கா.",afternoon:"மதி.",evening:"மா.",night:"இர."},abbreviated:{am:"முற்பகல்",pm:"பிற்பகல்",midnight:"நள்ளிரவு",noon:"நண்பகல்",morning:"காலை",afternoon:"மதியம்",evening:"மாலை",night:"இரவு"},wide:{am:"முற்பகல்",pm:"பிற்பகல்",midnight:"நள்ளிரவு",noon:"நண்பகல்",morning:"காலை",afternoon:"மதியம்",evening:"மாலை",night:"இரவு"}},defaultWidth:"wide",formattingValues:{narrow:{am:"மு.ப",pm:"பி.ப",midnight:"நள்.",noon:"நண்.",morning:"கா.",afternoon:"மதி.",evening:"மா.",night:"இர."},abbreviated:{am:"முற்பகல்",pm:"பிற்பகல்",midnight:"நள்ளிரவு",noon:"நண்பகல்",morning:"காலை",afternoon:"மதியம்",evening:"மாலை",night:"இரவு"},wide:{am:"முற்பகல்",pm:"பிற்பகல்",midnight:"நள்ளிரவு",noon:"நண்பகல்",morning:"காலை",afternoon:"மதியம்",evening:"மாலை",night:"இரவு"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(0,u.A)({matchPattern:/^(\d+)(வது)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,c.A)({matchPatterns:{narrow:/^(கி.மு.|கி.பி.)/i,abbreviated:/^(கி\.?\s?மு\.?|கி\.?\s?பி\.?)/,wide:/^(கிறிஸ்துவுக்கு\sமுன்|அன்னோ\sடோமினி)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/கி\.?\s?மு\.?/,/கி\.?\s?பி\.?/]},defaultParseWidth:"any"}),quarter:(0,c.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^காலா.[1234]/i,wide:/^(ஒன்றாம்|இரண்டாம்|மூன்றாம்|நான்காம்) காலாண்டு/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/1/i,/2/i,/3/i,/4/i],any:[/(1|காலா.1|ஒன்றாம்)/i,/(2|காலா.2|இரண்டாம்)/i,/(3|காலா.3|மூன்றாம்)/i,/(4|காலா.4|நான்காம்)/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,c.A)({matchPatterns:{narrow:/^(ஜ|பி|மா|ஏ|மே|ஜூ|ஆ|செ|அ|ந|டி)$/i,abbreviated:/^(ஜன.|பிப்.|மார்.|ஏப்.|மே|ஜூன்|ஜூலை|ஆக.|செப்.|அக்.|நவ.|டிச.)/i,wide:/^(ஜனவரி|பிப்ரவரி|மார்ச்|ஏப்ரல்|மே|ஜூன்|ஜூலை|ஆகஸ்ட்|செப்டம்பர்|அக்டோபர்|நவம்பர்|டிசம்பர்)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^ஜ$/i,/^பி/i,/^மா/i,/^ஏ/i,/^மே/i,/^ஜூ/i,/^ஜூ/i,/^ஆ/i,/^செ/i,/^அ/i,/^ந/i,/^டி/i],any:[/^ஜன/i,/^பி/i,/^மா/i,/^ஏ/i,/^மே/i,/^ஜூன்/i,/^ஜூலை/i,/^ஆ/i,/^செ/i,/^அ/i,/^ந/i,/^டி/i]},defaultParseWidth:"any"}),day:(0,c.A)({matchPatterns:{narrow:/^(ஞா|தி|செ|பு|வி|வெ|ச)/i,short:/^(ஞா|தி|செ|பு|வி|வெ|ச)/i,abbreviated:/^(ஞாயி.|திங்.|செவ்.|புத.|வியா.|வெள்.|சனி)/i,wide:/^(ஞாயிறு|திங்கள்|செவ்வாய்|புதன்|வியாழன்|வெள்ளி|சனி)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^ஞா/i,/^தி/i,/^செ/i,/^பு/i,/^வி/i,/^வெ/i,/^ச/i],any:[/^ஞா/i,/^தி/i,/^செ/i,/^பு/i,/^வி/i,/^வெ/i,/^ச/i]},defaultParseWidth:"any"}),dayPeriod:(0,c.A)({matchPatterns:{narrow:/^(மு.ப|பி.ப|நள்|நண்|காலை|மதியம்|மாலை|இரவு)/i,any:/^(மு.ப|பி.ப|முற்பகல்|பிற்பகல்|நள்ளிரவு|நண்பகல்|காலை|மதியம்|மாலை|இரவு)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^மு/i,pm:/^பி/i,midnight:/^நள்/i,noon:/^நண்/i,morning:/காலை/i,afternoon:/மதியம்/i,evening:/மாலை/i,night:/இரவு/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}};var jr={lessThanXSeconds:{one:"น้อยกว่า 1 วินาที",other:"น้อยกว่า {{count}} วินาที"},xSeconds:{one:"1 วินาที",other:"{{count}} วินาที"},halfAMinute:"ครึ่งนาที",lessThanXMinutes:{one:"น้อยกว่า 1 นาที",other:"น้อยกว่า {{count}} นาที"},xMinutes:{one:"1 นาที",other:"{{count}} นาที"},aboutXHours:{one:"ประมาณ 1 ชั่วโมง",other:"ประมาณ {{count}} ชั่วโมง"},xHours:{one:"1 ชั่วโมง",other:"{{count}} ชั่วโมง"},xDays:{one:"1 วัน",other:"{{count}} วัน"},aboutXMonths:{one:"ประมาณ 1 เดือน",other:"ประมาณ {{count}} เดือน"},xMonths:{one:"1 เดือน",other:"{{count}} เดือน"},aboutXYears:{one:"ประมาณ 1 ปี",other:"ประมาณ {{count}} ปี"},xYears:{one:"1 ปี",other:"{{count}} ปี"},overXYears:{one:"มากกว่า 1 ปี",other:"มากกว่า {{count}} ปี"},almostXYears:{one:"เกือบ 1 ปี",other:"เกือบ {{count}} ปี"}},Fr={date:(0,a.A)({formats:{full:"วันEEEEที่ do MMMM y",long:"do MMMM y",medium:"d MMM y",short:"dd/MM/yyyy"},defaultWidth:"full"}),time:(0,a.A)({formats:{full:"H:mm:ss น. zzzz",long:"H:mm:ss น. z",medium:"H:mm:ss น.",short:"H:mm น."},defaultWidth:"medium"}),dateTime:(0,a.A)({formats:{full:"{{date}} 'เวลา' {{time}}",long:"{{date}} 'เวลา' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},Br={lastWeek:"eeee'ที่แล้วเวลา' p",yesterday:"'เมื่อวานนี้เวลา' p",today:"'วันนี้เวลา' p",tomorrow:"'พรุ่งนี้เวลา' p",nextWeek:"eeee 'เวลา' p",other:"P"};const zr={formatDistance:function(e,t,n){var r;return n=n||{},r="string"==typeof jr[e]?jr[e]:1===t?jr[e].one:jr[e].other.replace("{{count}}",t),n.addSuffix?n.comparison>0?"halfAMinute"===e?"ใน"+r:"ใน "+r:r+"ที่ผ่านมา":r},formatLong:Fr,formatRelative:function(e,t,n,r){return Br[e]},localize:{ordinalNumber:function(e){return Number(e)},era:(0,s.A)({values:{narrow:["B","คศ"],abbreviated:["BC","ค.ศ."],wide:["ปีก่อนคริสตกาล","คริสต์ศักราช"]},defaultWidth:"wide"}),quarter:(0,s.A)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["ไตรมาสแรก","ไตรมาสที่สอง","ไตรมาสที่สาม","ไตรมาสที่สี่"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,s.A)({values:{narrow:["ม.ค.","ก.พ.","มี.ค.","เม.ย.","พ.ค.","มิ.ย.","ก.ค.","ส.ค.","ก.ย.","ต.ค.","พ.ย.","ธ.ค."],abbreviated:["ม.ค.","ก.พ.","มี.ค.","เม.ย.","พ.ค.","มิ.ย.","ก.ค.","ส.ค.","ก.ย.","ต.ค.","พ.ย.","ธ.ค."],wide:["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม"]},defaultWidth:"wide"}),day:(0,s.A)({values:{narrow:["อา.","จ.","อ.","พ.","พฤ.","ศ.","ส."],short:["อา.","จ.","อ.","พ.","พฤ.","ศ.","ส."],abbreviated:["อา.","จ.","อ.","พ.","พฤ.","ศ.","ส."],wide:["อาทิตย์","จันทร์","อังคาร","พุธ","พฤหัสบดี","ศุกร์","เสาร์"]},defaultWidth:"wide"}),dayPeriod:(0,s.A)({values:{narrow:{am:"ก่อนเที่ยง",pm:"หลังเที่ยง",midnight:"เที่ยงคืน",noon:"เที่ยง",morning:"เช้า",afternoon:"บ่าย",evening:"เย็น",night:"กลางคืน"},abbreviated:{am:"ก่อนเที่ยง",pm:"หลังเที่ยง",midnight:"เที่ยงคืน",noon:"เที่ยง",morning:"เช้า",afternoon:"บ่าย",evening:"เย็น",night:"กลางคืน"},wide:{am:"ก่อนเที่ยง",pm:"หลังเที่ยง",midnight:"เที่ยงคืน",noon:"เที่ยง",morning:"เช้า",afternoon:"บ่าย",evening:"เย็น",night:"กลางคืน"}},defaultWidth:"wide",formattingValues:{narrow:{am:"ก่อนเที่ยง",pm:"หลังเที่ยง",midnight:"เที่ยงคืน",noon:"เที่ยง",morning:"ตอนเช้า",afternoon:"ตอนกลางวัน",evening:"ตอนเย็น",night:"ตอนกลางคืน"},abbreviated:{am:"ก่อนเที่ยง",pm:"หลังเที่ยง",midnight:"เที่ยงคืน",noon:"เที่ยง",morning:"ตอนเช้า",afternoon:"ตอนกลางวัน",evening:"ตอนเย็น",night:"ตอนกลางคืน"},wide:{am:"ก่อนเที่ยง",pm:"หลังเที่ยง",midnight:"เที่ยงคืน",noon:"เที่ยง",morning:"ตอนเช้า",afternoon:"ตอนกลางวัน",evening:"ตอนเย็น",night:"ตอนกลางคืน"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(0,u.A)({matchPattern:/^\d+/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,c.A)({matchPatterns:{narrow:/^([bB]|[aA]|คศ)/i,abbreviated:/^([bB]\.?\s?[cC]\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?|ค\.?ศ\.?)/i,wide:/^(ก่อนคริสตกาล|คริสต์ศักราช|คริสตกาล)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^[bB]/i,/^(^[aA]|ค\.?ศ\.?|คริสตกาล|คริสต์ศักราช|)/i]},defaultParseWidth:"any"}),quarter:(0,c.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^ไตรมาส(ที่)? ?[1234]/i},defaultMatchWidth:"wide",parsePatterns:{any:[/(1|แรก|หนึ่ง)/i,/(2|สอง)/i,/(3|สาม)/i,/(4|สี่)/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,c.A)({matchPatterns:{narrow:/^(ม\.?ค\.?|ก\.?พ\.?|มี\.?ค\.?|เม\.?ย\.?|พ\.?ค\.?|มิ\.?ย\.?|ก\.?ค\.?|ส\.?ค\.?|ก\.?ย\.?|ต\.?ค\.?|พ\.?ย\.?|ธ\.?ค\.?)/i,abbreviated:/^(ม\.?ค\.?|ก\.?พ\.?|มี\.?ค\.?|เม\.?ย\.?|พ\.?ค\.?|มิ\.?ย\.?|ก\.?ค\.?|ส\.?ค\.?|ก\.?ย\.?|ต\.?ค\.?|พ\.?ย\.?|ธ\.?ค\.?')/i,wide:/^(มกราคม|กุมภาพันธ์|มีนาคม|เมษายน|พฤษภาคม|มิถุนายน|กรกฎาคม|สิงหาคม|กันยายน|ตุลาคม|พฤศจิกายน|ธันวาคม)/i},defaultMatchWidth:"wide",parsePatterns:{wide:[/^มก/i,/^กุม/i,/^มี/i,/^เม/i,/^พฤษ/i,/^มิ/i,/^กรก/i,/^ส/i,/^กัน/i,/^ต/i,/^พฤศ/i,/^ธ/i],any:[/^ม\.?ค\.?/i,/^ก\.?พ\.?/i,/^มี\.?ค\.?/i,/^เม\.?ย\.?/i,/^พ\.?ค\.?/i,/^มิ\.?ย\.?/i,/^ก\.?ค\.?/i,/^ส\.?ค\.?/i,/^ก\.?ย\.?/i,/^ต\.?ค\.?/i,/^พ\.?ย\.?/i,/^ธ\.?ค\.?/i]},defaultParseWidth:"any"}),day:(0,c.A)({matchPatterns:{narrow:/^(อา\.?|จ\.?|อ\.?|พฤ\.?|พ\.?|ศ\.?|ส\.?)/i,short:/^(อา\.?|จ\.?|อ\.?|พฤ\.?|พ\.?|ศ\.?|ส\.?)/i,abbreviated:/^(อา\.?|จ\.?|อ\.?|พฤ\.?|พ\.?|ศ\.?|ส\.?)/i,wide:/^(อาทิตย์|จันทร์|อังคาร|พุธ|พฤหัสบดี|ศุกร์|เสาร์)/i},defaultMatchWidth:"wide",parsePatterns:{wide:[/^อา/i,/^จั/i,/^อั/i,/^พุธ/i,/^พฤ/i,/^ศ/i,/^เส/i],any:[/^อา/i,/^จ/i,/^อ/i,/^พ(?!ฤ)/i,/^พฤ/i,/^ศ/i,/^ส/i]},defaultParseWidth:"any"}),dayPeriod:(0,c.A)({matchPatterns:{any:/^(ก่อนเที่ยง|หลังเที่ยง|เที่ยงคืน|เที่ยง|(ตอน.*?)?.*(เที่ยง|เช้า|บ่าย|เย็น|กลางคืน))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^ก่อนเที่ยง/i,pm:/^หลังเที่ยง/i,midnight:/^เที่ยงคืน/i,noon:/^เที่ยง/i,morning:/เช้า/i,afternoon:/บ่าย/i,evening:/เย็น/i,night:/กลางคืน/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};var Wr={lessThanXSeconds:{one:"bir saniyeden az",other:"{{count}} saniyeden az"},xSeconds:{one:"1 saniye",other:"{{count}} saniye"},halfAMinute:"yarım dakika",lessThanXMinutes:{one:"bir dakikadan az",other:"{{count}} dakikadan az"},xMinutes:{one:"1 dakika",other:"{{count}} dakika"},aboutXHours:{one:"yaklaşık 1 saat",other:"yaklaşık {{count}} saat"},xHours:{one:"1 saat",other:"{{count}} saat"},xDays:{one:"1 gün",other:"{{count}} gün"},aboutXMonths:{one:"yaklaşık 1 ay",other:"yaklaşık {{count}} ay"},xMonths:{one:"1 ay",other:"{{count}} ay"},aboutXYears:{one:"yaklaşık 1 yıl",other:"yaklaşık {{count}} yıl"},xYears:{one:"1 yıl",other:"{{count}} yıl"},overXYears:{one:"1 yıldan fazla",other:"{{count}} yıldan fazla"},almostXYears:{one:"neredeyse 1 yıl",other:"neredeyse {{count}} yıl"}},Vr={date:(0,a.A)({formats:{full:"d MMMM y EEEE",long:"d MMMM y",medium:"d MMM y",short:"dd.MM.yyyy"},defaultWidth:"full"}),time:(0,a.A)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,a.A)({formats:{full:"{{date}} 'saat' {{time}}",long:"{{date}} 'saat' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},Ur={lastWeek:"'geçen hafta' eeee 'saat' p",yesterday:"'dün saat' p",today:"'bugün saat' p",tomorrow:"'yarın saat' p",nextWeek:"eeee 'saat' p",other:"P"};const Hr={formatDistance:function(e,t,n){var r;return n=n||{},r="string"==typeof Wr[e]?Wr[e]:1===t?Wr[e].one:Wr[e].other.replace("{{count}}",t),n.addSuffix?n.comparison>0?r+" sonra":r+" önce":r},formatLong:Vr,formatRelative:function(e,t,n,r){return Ur[e]},localize:{ordinalNumber:function(e,t){return Number(e)+"."},era:(0,s.A)({values:{abbreviated:["MÖ","MS"],narrow:["MÖ","MS"],wide:["Milattan Önce","Milattan Sonra"]},defaultWidth:"wide"}),quarter:(0,s.A)({values:{narrow:["1","2","3","4"],abbreviated:["1Ç","2Ç","3Ç","4Ç"],wide:["İlk çeyrek","İkinci Çeyrek","Üçüncü çeyrek","Son çeyrek"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,s.A)({values:{narrow:["O","Ş","M","N","M","H","T","A","E","E","K","A"],abbreviated:["Oca","Şub","Mar","Nis","May","Haz","Tem","Ağu","Eyl","Eki","Kas","Ara"],wide:["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık"]},defaultWidth:"wide"}),day:(0,s.A)({values:{narrow:["P","P","S","Ç","P","C","C"],short:["Pz","Pt","Sa","Ça","Pe","Cu","Ct"],abbreviated:["Paz","Pts","Sal","Çar","Per","Cum","Cts"],wide:["Pazar","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi"]},defaultWidth:"wide"}),dayPeriod:(0,s.A)({values:{narrow:{am:"öö",pm:"ös",midnight:"gy",noon:"ö",morning:"sa",afternoon:"ös",evening:"ak",night:"ge"},abbreviated:{am:"ÖÖ",pm:"ÖS",midnight:"gece yarısı",noon:"öğle",morning:"sabah",afternoon:"öğleden sonra",evening:"akşam",night:"gece"},wide:{am:"Ö.Ö.",pm:"Ö.S.",midnight:"gece yarısı",noon:"öğle",morning:"sabah",afternoon:"öğleden sonra",evening:"akşam",night:"gece"}},defaultWidth:"wide",formattingValues:{narrow:{am:"öö",pm:"ös",midnight:"gy",noon:"ö",morning:"sa",afternoon:"ös",evening:"ak",night:"ge"},abbreviated:{am:"ÖÖ",pm:"ÖS",midnight:"gece yarısı",noon:"öğlen",morning:"sabahleyin",afternoon:"öğleden sonra",evening:"akşamleyin",night:"geceleyin"},wide:{am:"ö.ö.",pm:"ö.s.",midnight:"gece yarısı",noon:"öğlen",morning:"sabahleyin",afternoon:"öğleden sonra",evening:"akşamleyin",night:"geceleyin"}},defaulFormattingWidth:"wide"})},match:{ordinalNumber:(0,u.A)({matchPattern:/^(\d+)(\.)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,c.A)({matchPatterns:{narrow:/^(mö|ms)/i,abbreviated:/^(mö|ms)/i,wide:/^(milattan önce|milattan sonra)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/(^mö|^milattan önce)/i,/(^ms|^milattan sonra)/i]},defaultParseWidth:"any"}),quarter:(0,c.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^[1234]ç/i,wide:/^((i|İ)lk|(i|İ)kinci|üçüncü|son) çeyrek/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i],abbreviated:[/1ç/i,/2ç/i,/3ç/i,/4ç/i],wide:[/^(i|İ)lk çeyrek/i,/(i|İ)kinci çeyrek/i,/üçüncü çeyrek/i,/son çeyrek/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,c.A)({matchPatterns:{narrow:/^[oşmnhtaek]/i,abbreviated:/^(oca|şub|mar|nis|may|haz|tem|ağu|eyl|eki|kas|ara)/i,wide:/^(ocak|şubat|mart|nisan|mayıs|haziran|temmuz|ağustos|eylül|ekim|kasım|aralık)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^o/i,/^ş/i,/^m/i,/^n/i,/^m/i,/^h/i,/^t/i,/^a/i,/^e/i,/^e/i,/^k/i,/^a/i],any:[/^o/i,/^ş/i,/^mar/i,/^n/i,/^may/i,/^h/i,/^t/i,/^ağ/i,/^ey/i,/^ek/i,/^k/i,/^ar/i]},defaultParseWidth:"any"}),day:(0,c.A)({matchPatterns:{narrow:/^[psçc]/i,short:/^(pz|pt|sa|ça|pe|cu|ct)/i,abbreviated:/^(paz|pts|sal|çar|per|cum|cts)/i,wide:/^(pazar|pazartesi|salı|çarşamba|perşembe|cuma|cumartesi)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^p/i,/^p/i,/^s/i,/^ç/i,/^p/i,/^c/i,/^c/i],any:[/^pz/i,/^pt/i,/^sa/i,/^ça/i,/^pe/i,/^cu/i,/^ct/i],wide:[/^pazar/i,/^pazartesi/i,/^salı/i,/^çarşamba/i,/^perşembe/i,/^cuma/i,/cumartesi/i]},defaultParseWidth:"any"}),dayPeriod:(0,c.A)({matchPatterns:{narrow:/^(öö|ös|gy|ö|sa|ös|ak|ge)/i,any:/^(ö\.?\s?[ös]\.?|öğleden sonra|gece yarısı|öğle|(sabah|öğ|akşam|gece)(leyin))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^ö\.?ö\.?/i,pm:/^ö\.?s\.?/i,midnight:/^(gy|gece yarısı)/i,noon:/^öğ/i,morning:/^sa/i,afternoon:/^öğleden sonra/i,evening:/^ak/i,night:/^ge/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:1}};var qr={lessThanXSeconds:{one:"بىر سىكۇنت ئىچىدە",other:"سىكۇنت ئىچىدە {{count}}"},xSeconds:{one:"بىر سىكۇنت",other:"سىكۇنت {{count}}"},halfAMinute:"يىرىم مىنۇت",lessThanXMinutes:{one:"بىر مىنۇت ئىچىدە",other:"مىنۇت ئىچىدە {{count}}"},xMinutes:{one:"بىر مىنۇت",other:"مىنۇت {{count}}"},aboutXHours:{one:"تەخمىنەن بىر سائەت",other:"سائەت {{count}} تەخمىنەن"},xHours:{one:"بىر سائەت",other:"سائەت {{count}}"},xDays:{one:"بىر كۈن",other:"كۈن {{count}}"},aboutXMonths:{one:"تەخمىنەن بىر ئاي",other:"ئاي {{count}} تەخمىنەن"},xMonths:{one:"بىر ئاي",other:"ئاي {{count}}"},aboutXYears:{one:"تەخمىنەن بىر يىل",other:"يىل {{count}} تەخمىنەن"},xYears:{one:"بىر يىل",other:"يىل {{count}}"},overXYears:{one:"بىر يىلدىن ئارتۇق",other:"يىلدىن ئارتۇق {{count}}"},almostXYears:{one:"ئاساسەن بىر يىل",other:"يىل {{count}} ئاساسەن"}},Gr={date:(0,a.A)({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:(0,a.A)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:(0,a.A)({formats:{full:"{{date}} 'دە' {{time}}",long:"{{date}} 'دە' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},Yr={lastWeek:"'ئ‍ۆتكەن' eeee 'دە' p",yesterday:"'تۈنۈگۈن دە' p",today:"'بۈگۈن دە' p",tomorrow:"'ئەتە دە' p",nextWeek:"eeee 'دە' p",other:"P"};const Xr={formatDistance:function(e,t,n){var r;return n=n||{},r="string"==typeof qr[e]?qr[e]:1===t?qr[e].one:qr[e].other.replace("{{count}}",t),n.addSuffix?n.comparison>0?r:r+" بولدى":r},formatLong:Gr,formatRelative:function(e,t,n,r){return Yr[e]},localize:{ordinalNumber:function(e,t){return String(e)},era:(0,s.A)({values:{narrow:["ب","ك"],abbreviated:["ب","ك"],wide:["مىيلادىدىن بۇرۇن","مىيلادىدىن كىيىن"]},defaultWidth:"wide"}),quarter:(0,s.A)({values:{narrow:["1","2","3","4"],abbreviated:["1","2","3","4"],wide:["بىرىنجى چارەك","ئىككىنجى چارەك","ئۈچىنجى چارەك","تۆتىنجى چارەك"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,s.A)({values:{narrow:["ي","ف","م","ا","م","ى","ى","ا","س","ۆ","ن","د"],abbreviated:["يانۋار","فېۋىرال","مارت","ئاپرىل","ماي","ئىيۇن","ئىيول","ئاۋغۇست","سىنتەبىر","ئۆكتەبىر","نويابىر","دىكابىر"],wide:["يانۋار","فېۋىرال","مارت","ئاپرىل","ماي","ئىيۇن","ئىيول","ئاۋغۇست","سىنتەبىر","ئۆكتەبىر","نويابىر","دىكابىر"]},defaultWidth:"wide"}),day:(0,s.A)({values:{narrow:["ي","د","س","چ","پ","ج","ش"],short:["ي","د","س","چ","پ","ج","ش"],abbreviated:["يەكشەنبە","دۈشەنبە","سەيشەنبە","چارشەنبە","پەيشەنبە","جۈمە","شەنبە"],wide:["يەكشەنبە","دۈشەنبە","سەيشەنبە","چارشەنبە","پەيشەنبە","جۈمە","شەنبە"]},defaultWidth:"wide"}),dayPeriod:(0,s.A)({values:{narrow:{am:"ئە",pm:"چ",midnight:"ك",noon:"چ",morning:"ئەتىگەن",afternoon:"چۈشتىن كىيىن",evening:"ئاخشىم",night:"كىچە"},abbreviated:{am:"ئە",pm:"چ",midnight:"ك",noon:"چ",morning:"ئەتىگەن",afternoon:"چۈشتىن كىيىن",evening:"ئاخشىم",night:"كىچە"},wide:{am:"ئە",pm:"چ",midnight:"ك",noon:"چ",morning:"ئەتىگەن",afternoon:"چۈشتىن كىيىن",evening:"ئاخشىم",night:"كىچە"}},defaultWidth:"wide",formattingValues:{narrow:{am:"ئە",pm:"چ",midnight:"ك",noon:"چ",morning:"ئەتىگەندە",afternoon:"چۈشتىن كىيىن",evening:"ئاخشامدا",night:"كىچىدە"},abbreviated:{am:"ئە",pm:"چ",midnight:"ك",noon:"چ",morning:"ئەتىگەندە",afternoon:"چۈشتىن كىيىن",evening:"ئاخشامدا",night:"كىچىدە"},wide:{am:"ئە",pm:"چ",midnight:"ك",noon:"چ",morning:"ئەتىگەندە",afternoon:"چۈشتىن كىيىن",evening:"ئاخشامدا",night:"كىچىدە"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(0,u.A)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,c.A)({matchPatterns:{narrow:/^(ب|ك)/i,wide:/^(مىيلادىدىن بۇرۇن|مىيلادىدىن كىيىن)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^بۇرۇن/i,/^كىيىن/i]},defaultParseWidth:"any"}),quarter:(0,c.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^چ[1234]/i,wide:/^چارەك [1234]/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,c.A)({matchPatterns:{narrow:/^[يفمئامئ‍ئاسۆند]/i,abbreviated:/^(يانۋار|فېۋىرال|مارت|ئاپرىل|ماي|ئىيۇن|ئىيول|ئاۋغۇست|سىنتەبىر|ئۆكتەبىر|نويابىر|دىكابىر)/i,wide:/^(يانۋار|فېۋىرال|مارت|ئاپرىل|ماي|ئىيۇن|ئىيول|ئاۋغۇست|سىنتەبىر|ئۆكتەبىر|نويابىر|دىكابىر)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^ي/i,/^ف/i,/^م/i,/^ا/i,/^م/i,/^ى‍/i,/^ى‍/i,/^ا‍/i,/^س/i,/^ۆ/i,/^ن/i,/^د/i],any:[/^يان/i,/^فېۋ/i,/^مار/i,/^ئاپ/i,/^ماي/i,/^ئىيۇن/i,/^ئىيول/i,/^ئاۋ/i,/^سىن/i,/^ئۆك/i,/^نوي/i,/^دىك/i]},defaultParseWidth:"any"}),day:(0,c.A)({matchPatterns:{narrow:/^[دسچپجشي]/i,short:/^(يە|دۈ|سە|چا|پە|جۈ|شە)/i,abbreviated:/^(يە|دۈ|سە|چا|پە|جۈ|شە)/i,wide:/^(يەكشەنبە|دۈشەنبە|سەيشەنبە|چارشەنبە|پەيشەنبە|جۈمە|شەنبە)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^ي/i,/^د/i,/^س/i,/^چ/i,/^پ/i,/^ج/i,/^ش/i],any:[/^ي/i,/^د/i,/^س/i,/^چ/i,/^پ/i,/^ج/i,/^ش/i]},defaultParseWidth:"any"}),dayPeriod:(0,c.A)({matchPatterns:{narrow:/^(ئە|چ|ك|چ|(دە|ئەتىگەن) ( ئە‍|چۈشتىن كىيىن|ئاخشىم|كىچە))/i,any:/^(ئە|چ|ك|چ|(دە|ئەتىگەن) ( ئە‍|چۈشتىن كىيىن|ئاخشىم|كىچە))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^ئە/i,pm:/^چ/i,midnight:/^ك/i,noon:/^چ/i,morning:/ئەتىگەن/i,afternoon:/چۈشتىن كىيىن/i,evening:/ئاخشىم/i,night:/كىچە/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};function Kr(e,t){if(void 0!==e.one&&1===t)return e.one;var n=t%10,r=t%100;return 1===n&&11!==r?e.singularNominative.replace("{{count}}",t):n>=2&&n<=4&&(r<10||r>20)?e.singularGenitive.replace("{{count}}",t):e.pluralGenitive.replace("{{count}}",t)}function Qr(e){return function(t,n){return n.addSuffix?n.comparison>0?e.future?Kr(e.future,t):"за "+Kr(e.regular,t):e.past?Kr(e.past,t):Kr(e.regular,t)+" тому":Kr(e.regular,t)}}var Zr={lessThanXSeconds:Qr({regular:{one:"менше секунди",singularNominative:"менше {{count}} секунди",singularGenitive:"менше {{count}} секунд",pluralGenitive:"менше {{count}} секунд"},future:{one:"менше, ніж за секунду",singularNominative:"менше, ніж за {{count}} секунду",singularGenitive:"менше, ніж за {{count}} секунди",pluralGenitive:"менше, ніж за {{count}} секунд"}}),xSeconds:Qr({regular:{singularNominative:"{{count}} секунда",singularGenitive:"{{count}} секунди",pluralGenitive:"{{count}} секунд"},past:{singularNominative:"{{count}} секунду тому",singularGenitive:"{{count}} секунди тому",pluralGenitive:"{{count}} секунд тому"},future:{singularNominative:"за {{count}} секунду",singularGenitive:"за {{count}} секунди",pluralGenitive:"за {{count}} секунд"}}),halfAMinute:function(e,t){return t.addSuffix?t.comparison>0?"за півхвилини":"півхвилини тому":"півхвилини"},lessThanXMinutes:Qr({regular:{one:"менше хвилини",singularNominative:"менше {{count}} хвилини",singularGenitive:"менше {{count}} хвилин",pluralGenitive:"менше {{count}} хвилин"},future:{one:"менше, ніж за хвилину",singularNominative:"менше, ніж за {{count}} хвилину",singularGenitive:"менше, ніж за {{count}} хвилини",pluralGenitive:"менше, ніж за {{count}} хвилин"}}),xMinutes:Qr({regular:{singularNominative:"{{count}} хвилина",singularGenitive:"{{count}} хвилини",pluralGenitive:"{{count}} хвилин"},past:{singularNominative:"{{count}} хвилину тому",singularGenitive:"{{count}} хвилини тому",pluralGenitive:"{{count}} хвилин тому"},future:{singularNominative:"за {{count}} хвилину",singularGenitive:"за {{count}} хвилини",pluralGenitive:"за {{count}} хвилин"}}),aboutXHours:Qr({regular:{singularNominative:"близько {{count}} години",singularGenitive:"близько {{count}} годин",pluralGenitive:"близько {{count}} годин"},future:{singularNominative:"приблизно за {{count}} годину",singularGenitive:"приблизно за {{count}} години",pluralGenitive:"приблизно за {{count}} годин"}}),xHours:Qr({regular:{singularNominative:"{{count}} годину",singularGenitive:"{{count}} години",pluralGenitive:"{{count}} годин"}}),xDays:Qr({regular:{singularNominative:"{{count}} день",singularGenitive:"{{count}} дня",pluralGenitive:"{{count}} днів"}}),aboutXMonths:Qr({regular:{singularNominative:"близько {{count}} місяця",singularGenitive:"близько {{count}} місяців",pluralGenitive:"близько {{count}} місяців"},future:{singularNominative:"приблизно за {{count}} місяць",singularGenitive:"приблизно за {{count}} місяця",pluralGenitive:"приблизно за {{count}} місяців"}}),xMonths:Qr({regular:{singularNominative:"{{count}} місяць",singularGenitive:"{{count}} місяця",pluralGenitive:"{{count}} місяців"}}),aboutXYears:Qr({regular:{singularNominative:"близько {{count}} року",singularGenitive:"близько {{count}} років",pluralGenitive:"близько {{count}} років"},future:{singularNominative:"приблизно за {{count}} рік",singularGenitive:"приблизно за {{count}} роки",pluralGenitive:"приблизно за {{count}} років"}}),xYears:Qr({regular:{singularNominative:"{{count}} рік",singularGenitive:"{{count}} роки",pluralGenitive:"{{count}} років"}}),overXYears:Qr({regular:{singularNominative:"більше {{count}} року",singularGenitive:"більше {{count}} років",pluralGenitive:"більше {{count}} років"},future:{singularNominative:"більше, ніж за {{count}} рік",singularGenitive:"більше, ніж за {{count}} роки",pluralGenitive:"більше, ніж за {{count}} років"}}),almostXYears:Qr({regular:{singularNominative:"майже {{count}} рік",singularGenitive:"майже {{count}} роки",pluralGenitive:"майже {{count}} років"},future:{singularNominative:"майже за {{count}} рік",singularGenitive:"майже за {{count}} роки",pluralGenitive:"майже за {{count}} років"}})},Jr={date:(0,a.A)({formats:{full:"EEEE, do MMMM y 'р.'",long:"do MMMM y 'р.'",medium:"d MMM y 'р.'",short:"dd.MM.y"},defaultWidth:"full"}),time:(0,a.A)({formats:{full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},defaultWidth:"full"}),dateTime:(0,a.A)({formats:{full:"{{date}} 'о' {{time}}",long:"{{date}} 'о' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},ea=["неділю","понеділок","вівторок","середу","четвер","п’ятницю","суботу"];function ta(e){return"'у "+ea[e]+" о' p"}var na={lastWeek:function(e,t,n){var r=e.getUTCDay();return C(e,t,n)?ta(r):function(e){var t=ea[e];switch(e){case 0:case 3:case 5:case 6:return"'у минулу "+t+" о' p";case 1:case 2:case 4:return"'у минулий "+t+" о' p"}}(r)},yesterday:"'вчора о' p",today:"'сьогодні о' p",tomorrow:"'завтра о' p",nextWeek:function(e,t,n){var r=e.getUTCDay();return C(e,t,n)?ta(r):function(e){var t=ea[e];switch(e){case 0:case 3:case 5:case 6:return"'у наступну "+t+" о' p";case 1:case 2:case 4:return"'у наступний "+t+" о' p"}}(r)},other:"P"};const ra={formatDistance:function(e,t,n){return n=n||{},Zr[e](t,n)},formatLong:Jr,formatRelative:function(e,t,n,r){var a=na[e];return"function"==typeof a?a(t,n,r):a},localize:{ordinalNumber:function(e,t){var n=String((t||{}).unit);return e+("date"===n?3===e||23===e?"-є":"-е":"minute"===n||"second"===n||"hour"===n?"-а":"-й")},era:(0,s.A)({values:{narrow:["до н.е.","н.е."],abbreviated:["до н. е.","н. е."],wide:["до нашої ери","нашої ери"]},defaultWidth:"wide"}),quarter:(0,s.A)({values:{narrow:["1","2","3","4"],abbreviated:["1-й кв.","2-й кв.","3-й кв.","4-й кв."],wide:["1-й квартал","2-й квартал","3-й квартал","4-й квартал"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,s.A)({values:{narrow:["С","Л","Б","К","Т","Ч","Л","С","В","Ж","Л","Г"],abbreviated:["січ.","лют.","берез.","квіт.","трав.","черв.","лип.","серп.","верес.","жовт.","листоп.","груд."],wide:["січень","лютий","березень","квітень","травень","червень","липень","серпень","вересень","жовтень","листопад","грудень"]},defaultWidth:"wide",formattingValues:{narrow:["С","Л","Б","К","Т","Ч","Л","С","В","Ж","Л","Г"],abbreviated:["січ.","лют.","берез.","квіт.","трав.","черв.","лип.","серп.","верес.","жовт.","листоп.","груд."],wide:["січня","лютого","березня","квітня","травня","червня","липня","серпня","вересня","жовтня","листопада","грудня"]},defaultFormattingWidth:"wide"}),day:(0,s.A)({values:{narrow:["Н","П","В","С","Ч","П","С"],short:["нд","пн","вт","ср","чт","пт","сб"],abbreviated:["нед","пон","вів","сер","чтв","птн","суб"],wide:["неділя","понеділок","вівторок","середа","четвер","п’ятниця","субота"]},defaultWidth:"wide"}),dayPeriod:(0,s.A)({values:{narrow:{am:"ДП",pm:"ПП",midnight:"півн.",noon:"пол.",morning:"ранок",afternoon:"день",evening:"веч.",night:"ніч"},abbreviated:{am:"ДП",pm:"ПП",midnight:"півн.",noon:"пол.",morning:"ранок",afternoon:"день",evening:"веч.",night:"ніч"},wide:{am:"ДП",pm:"ПП",midnight:"північ",noon:"полудень",morning:"ранок",afternoon:"день",evening:"вечір",night:"ніч"}},defaultWidth:"any",formattingValues:{narrow:{am:"ДП",pm:"ПП",midnight:"півн.",noon:"пол.",morning:"ранку",afternoon:"дня",evening:"веч.",night:"ночі"},abbreviated:{am:"ДП",pm:"ПП",midnight:"півн.",noon:"пол.",morning:"ранку",afternoon:"дня",evening:"веч.",night:"ночі"},wide:{am:"ДП",pm:"ПП",midnight:"північ",noon:"полудень",morning:"ранку",afternoon:"дня",evening:"веч.",night:"ночі"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(0,u.A)({matchPattern:/^(\d+)(-?(е|й|є|а|я))?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,c.A)({matchPatterns:{narrow:/^((до )?н\.?\s?е\.?)/i,abbreviated:/^((до )?н\.?\s?е\.?)/i,wide:/^(до нашої ери|нашої ери|наша ера)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^д/i,/^н/i]},defaultParseWidth:"any"}),quarter:(0,c.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^[1234](-?[иі]?й?)? кв.?/i,wide:/^[1234](-?[иі]?й?)? квартал/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,c.A)({matchPatterns:{narrow:/^[слбктчвжг]/i,abbreviated:/^(січ|лют|бер|берез|кві|трав?|чер|лип|сер|вер|жов|лис(топ)?|груд)\.?/i,wide:/^(січень|січня|лютий|лютого|березень|березня|квітень|квітня|травень|травня|липень|липня|серпень|серпня|вересень|вересня|жовтень|жовтня|листопада?|грудень|грудня)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^с/i,/^л/i,/^б/i,/^к/i,/^т/i,/^ч/i,/^л/i,/^с/i,/^в/i,/^ж/i,/^л/i,/^г/i],any:[/^сі/i,/^лю/i,/^б/i,/^к/i,/^т/i,/^ч/i,/^лип/i,/^се/i,/^в/i,/^ж/i,/^лис/i,/^г/i]},defaultParseWidth:"any"}),day:(0,c.A)({matchPatterns:{narrow:/^[нпвсч]/i,short:/^(нд|пн|вт|ср|чт|пт|сб)\.?/i,abbreviated:/^(нед|пон|вів|сер|че?тв|птн?|суб)\.?/i,wide:/^(неділ[яі]|понеділ[ок][ка]|вівтор[ок][ка]|серед[аи]|четвер(га)?|п\W*?ятниц[яі]|субот[аи])/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^н/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^н/i,/^п[он]/i,/^в/i,/^с[ер]/i,/^ч/i,/^п\W*?[ят]/i,/^с[уб]/i]},defaultParseWidth:"any"}),dayPeriod:(0,c.A)({matchPatterns:{narrow:/^([дп]п|півн\.?|пол\.?|ранок|ранку|день|дня|веч\.?|ніч|ночі)/i,abbreviated:/^([дп]п|півн\.?|пол\.?|ранок|ранку|день|дня|веч\.?|ніч|ночі)/i,wide:/^([дп]п|північ|полудень|ранок|ранку|день|дня|вечір|вечора|ніч|ночі)/i},defaultMatchWidth:"wide",parsePatterns:{any:{am:/^дп/i,pm:/^пп/i,midnight:/^півн/i,noon:/^пол/i,morning:/^р/i,afternoon:/^д[ен]/i,evening:/^в/i,night:/^н/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:1}};var aa={lessThanXSeconds:{one:"dưới 1 giây",other:"dưới {{count}} giây"},xSeconds:{one:"1 giây",other:"{{count}} giây"},halfAMinute:"nửa phút",lessThanXMinutes:{one:"dưới 1 phút",other:"dưới {{count}} phút"},xMinutes:{one:"1 phút",other:"{{count}} phút"},aboutXHours:{one:"khoảng 1 giờ",other:"khoảng {{count}} giờ"},xHours:{one:"1 giờ",other:"{{count}} giờ"},xDays:{one:"1 ngày",other:"{{count}} ngày"},aboutXMonths:{one:"khoảng 1 tháng",other:"khoảng {{count}} tháng"},xMonths:{one:"1 tháng",other:"{{count}} tháng"},aboutXYears:{one:"khoảng 1 năm",other:"khoảng {{count}} năm"},xYears:{one:"1 năm",other:"{{count}} năm"},overXYears:{one:"hơn 1 năm",other:"hơn {{count}} năm"},almostXYears:{one:"gần 1 năm",other:"gần {{count}} năm"}},oa={date:(0,a.A)({formats:{full:"EEEE, 'ngày' d MMMM 'năm' y",long:"'ngày' d MMMM 'năm' y",medium:"d MMM 'năm' y",short:"dd/MM/y"},defaultWidth:"full"}),time:(0,a.A)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,a.A)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},ia={lastWeek:"eeee 'tuần trước vào lúc' p",yesterday:"'hôm qua vào lúc' p",today:"'hôm nay vào lúc' p",tomorrow:"'ngày mai vào lúc' p",nextWeek:"eeee 'tới vào lúc' p",other:"P"};const sa={formatDistance:function(e,t,n){var r;return n=n||{},r="string"==typeof aa[e]?aa[e]:1===t?aa[e].one:aa[e].other.replace("{{count}}",t),n.addSuffix?n.comparison>0?r+" nữa":r+" trước":r},formatLong:oa,formatRelative:function(e,t,n,r){return ia[e]},localize:{ordinalNumber:function(e,t){var n=String((t||{}).unit),r=parseInt(e,10);if("quarter"===n)switch(r){case 1:return"I";case 2:return"II";case 3:return"III";case 4:return"IV"}else if("day"===n)switch(r){case 1:return"thứ 2";case 2:return"thứ 3";case 3:return"thứ 4";case 4:return"thứ 5";case 5:return"thứ 6";case 6:return"thứ 7";case 7:return"chủ nhật"}else{if("week"===n)return 1===r?"thứ nhất":"thứ "+r;if("dayOfYear"===n)return 1===r?"đầu tiên":"thứ "+r}return r},era:(0,s.A)({values:{narrow:["TCN","SCN"],abbreviated:["trước CN","sau CN"],wide:["trước Công Nguyên","sau Công Nguyên"]},defaultWidth:"wide"}),quarter:(0,s.A)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["Quý 1","Quý 2","Quý 3","Quý 4"]},defaultWidth:"wide",formattingValues:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["quý I","quý II","quý III","quý IV"]},defaultFormattingWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,s.A)({values:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["Thg 1","Thg 2","Thg 3","Thg 4","Thg 5","Thg 6","Thg 7","Thg 8","Thg 9","Thg 10","Thg 11","Thg 12"],wide:["Tháng Một","Tháng Hai","Tháng Ba","Tháng Tư","Tháng Năm","Tháng Sáu","Tháng Bảy","Tháng Tám","Tháng Chín","Tháng Mười","Tháng Mười Một","Tháng Mười Hai"]},defaultWidth:"wide",formattingValues:{narrow:["01","02","03","04","05","06","07","08","09","10","11","12"],abbreviated:["thg 1","thg 2","thg 3","thg 4","thg 5","thg 6","thg 7","thg 8","thg 9","thg 10","thg 11","thg 12"],wide:["tháng 01","tháng 02","tháng 03","tháng 04","tháng 05","tháng 06","tháng 07","tháng 08","tháng 09","tháng 10","tháng 11","tháng 12"]},defaultFormattingWidth:"wide"}),day:(0,s.A)({values:{narrow:["CN","T2","T3","T4","T5","T6","T7"],short:["CN","Th 2","Th 3","Th 4","Th 5","Th 6","Th 7"],abbreviated:["CN","Thứ 2","Thứ 3","Thứ 4","Thứ 5","Thứ 6","Thứ 7"],wide:["Chủ Nhật","Thứ Hai","Thứ Ba","Thứ Tư","Thứ Năm","Thứ Sáu","Thứ Bảy"]},defaultWidth:"wide"}),dayPeriod:(0,s.A)({values:{narrow:{am:"am",pm:"pm",midnight:"nửa đêm",noon:"tr",morning:"sg",afternoon:"ch",evening:"tối",night:"đêm"},abbreviated:{am:"AM",pm:"PM",midnight:"nửa đêm",noon:"trưa",morning:"sáng",afternoon:"chiều",evening:"tối",night:"đêm"},wide:{am:"SA",pm:"CH",midnight:"nửa đêm",noon:"trưa",morning:"sáng",afternoon:"chiều",evening:"tối",night:"đêm"}},defaultWidth:"wide",formattingValues:{narrow:{am:"am",pm:"pm",midnight:"nửa đêm",noon:"tr",morning:"sg",afternoon:"ch",evening:"tối",night:"đêm"},abbreviated:{am:"AM",pm:"PM",midnight:"nửa đêm",noon:"trưa",morning:"sáng",afternoon:"chiều",evening:"tối",night:"đêm"},wide:{am:"SA",pm:"CH",midnight:"nửa đêm",noon:"giữa trưa",morning:"vào buổi sáng",afternoon:"vào buổi chiều",evening:"vào buổi tối",night:"vào ban đêm"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(0,u.A)({matchPattern:/^(\d+)/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,c.A)({matchPatterns:{narrow:/^(tcn|scn)/i,abbreviated:/^(trước CN|sau CN)/i,wide:/^(trước Công Nguyên|sau Công Nguyên)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^t/i,/^s/i]},defaultParseWidth:"any"}),quarter:(0,c.A)({matchPatterns:{narrow:/^([1234]|i{1,3}v?)/i,abbreviated:/^q([1234]|i{1,3}v?)/i,wide:/^quý ([1234]|i{1,3}v?)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/(1|i)$/i,/(2|ii)$/i,/(3|iii)$/i,/(4|iv)$/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,c.A)({matchPatterns:{narrow:/^(0?[2-9]|10|11|12|0?1)/i,abbreviated:/^thg[ _]?(0?[1-9](?!\d)|10|11|12)/i,wide:/^tháng ?(Một|Hai|Ba|Tư|Năm|Sáu|Bảy|Tám|Chín|Mười|Mười ?Một|Mười ?Hai|0?[1-9](?!\d)|10|11|12)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/0?1$/i,/0?2/i,/3/,/4/,/5/,/6/,/7/,/8/,/9/,/10/,/11/,/12/],abbreviated:[/^thg[ _]?0?1(?!\d)/i,/^thg[ _]?0?2/i,/^thg[ _]?0?3/i,/^thg[ _]?0?4/i,/^thg[ _]?0?5/i,/^thg[ _]?0?6/i,/^thg[ _]?0?7/i,/^thg[ _]?0?8/i,/^thg[ _]?0?9/i,/^thg[ _]?10/i,/^thg[ _]?11/i,/^thg[ _]?12/i],wide:[/^tháng ?(Một|0?1(?!\d))/i,/^tháng ?(Hai|0?2)/i,/^tháng ?(Ba|0?3)/i,/^tháng ?(Tư|0?4)/i,/^tháng ?(Năm|0?5)/i,/^tháng ?(Sáu|0?6)/i,/^tháng ?(Bảy|0?7)/i,/^tháng ?(Tám|0?8)/i,/^tháng ?(Chín|0?9)/i,/^tháng ?(Mười|10)/i,/^tháng ?(Mười ?Một|11)/i,/^tháng ?(Mười ?Hai|12)/i]},defaultParseWidth:"any"}),day:(0,c.A)({matchPatterns:{narrow:/^(CN|T2|T3|T4|T5|T6|T7)/i,short:/^(CN|Th ?2|Th ?3|Th ?4|Th ?5|Th ?6|Th ?7)/i,abbreviated:/^(CN|Th ?2|Th ?3|Th ?4|Th ?5|Th ?6|Th ?7)/i,wide:/^(Chủ ?Nhật|Chúa ?Nhật|thứ ?Hai|thứ ?Ba|thứ ?Tư|thứ ?Năm|thứ ?Sáu|thứ ?Bảy)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/CN/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i],short:[/CN/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i],abbreviated:[/CN/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i],wide:[/(Chủ|Chúa) ?Nhật/i,/Hai/i,/Ba/i,/Tư/i,/Năm/i,/Sáu/i,/Bảy/i]},defaultParseWidth:"any"}),dayPeriod:(0,c.A)({matchPatterns:{narrow:/^(a|p|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i,abbreviated:/^(am|pm|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i,wide:/^(ch[^i]*|sa|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^(a|sa)/i,pm:/^(p|ch[^i]*)/i,midnight:/nửa đêm/i,noon:/trưa/i,morning:/sáng/i,afternoon:/chiều/i,evening:/tối/i,night:/^đêm/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:1}};var la={lessThanXSeconds:{one:"不到 1 秒",other:"不到 {{count}} 秒"},xSeconds:{one:"1 秒",other:"{{count}} 秒"},halfAMinute:"半分钟",lessThanXMinutes:{one:"不到 1 分钟",other:"不到 {{count}} 分钟"},xMinutes:{one:"1 分钟",other:"{{count}} 分钟"},xHours:{one:"1 小时",other:"{{count}} 小时"},aboutXHours:{one:"大约 1 小时",other:"大约 {{count}} 小时"},xDays:{one:"1 天",other:"{{count}} 天"},aboutXMonths:{one:"大约 1 个月",other:"大约 {{count}} 个月"},xMonths:{one:"1 个月",other:"{{count}} 个月"},aboutXYears:{one:"大约 1 年",other:"大约 {{count}} 年"},xYears:{one:"1 年",other:"{{count}} 年"},overXYears:{one:"超过 1 年",other:"超过 {{count}} 年"},almostXYears:{one:"将近 1 年",other:"将近 {{count}} 年"}},ua={date:(0,a.A)({formats:{full:"y'年'M'月'd'日' EEEE",long:"y'年'M'月'd'日'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},defaultWidth:"full"}),time:(0,a.A)({formats:{full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},defaultWidth:"full"}),dateTime:(0,a.A)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},ca={lastWeek:"'上个' eeee p",yesterday:"'昨天' p",today:"'今天' p",tomorrow:"'明天' p",nextWeek:"'下个' eeee p",other:"P"};const da={formatDistance:function(e,t,n){var r;return n=n||{},r="string"==typeof la[e]?la[e]:1===t?la[e].one:la[e].other.replace("{{count}}",t),n.addSuffix?n.comparison>0?r+"内":r+"前":r},formatLong:ua,formatRelative:function(e,t,n,r){return ca[e]},localize:{ordinalNumber:function(e,t){var n=Number(e),r=String((t||{}).unit);return"date"===r||"hour"===r||"minute"===r||"second"===r?n.toString():"第 "+n.toString()},era:(0,s.A)({values:{narrow:["前","公元"],abbreviated:["前","公元"],wide:["公元前","公元"]},defaultWidth:"wide"}),quarter:(0,s.A)({values:{narrow:["1","2","3","4"],abbreviated:["第一刻","第二刻","第三刻","第四刻"],wide:["第一刻钟","第二刻钟","第三刻钟","第四刻钟"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,s.A)({values:{narrow:["一","二","三","四","五","六","七","八","九","十","十一","十二"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},defaultWidth:"wide"}),day:(0,s.A)({values:{narrow:["日","一","二","三","四","五","六"],short:["日","一","二","三","四","五","六"],abbreviated:["周日","周一","周二","周三","周四","周五","周六"],wide:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},defaultWidth:"wide"}),dayPeriod:(0,s.A)({values:{narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},defaultWidth:"wide",formattingValues:{narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(0,u.A)({matchPattern:/^(第\s*)?\d+/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,c.A)({matchPatterns:{narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^(前)/i,/^(公元)/i]},defaultParseWidth:"any"}),quarter:(0,c.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^第[一二三四]刻/i,wide:/^第[一二三四]刻钟/i},defaultMatchWidth:"wide",parsePatterns:{any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,c.A)({matchPatterns:{narrow:/^(一|二|三|四|五|六|七|八|九|十[二一])/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一])月/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^一/i,/^二/i,/^三/i,/^四/i,/^五/i,/^六/i,/^七/i,/^八/i,/^九/i,/^十(?!(一|二))/i,/^十一/i,/^十二/i],any:[/^一|[!\d]1[!\d]/i,/^二|[!\d]2[!\d]/i,/^三|3/i,/^四|4/i,/^五|5/i,/^六|6/i,/^七|7/i,/^八|8/i,/^九|9/i,/^十(?!(一|二))|10/i,/^十一|11/i,/^十二|12/i]},defaultParseWidth:"any"}),day:(0,c.A)({matchPatterns:{narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^周[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},defaultMatchWidth:"wide",parsePatterns:{any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},defaultParseWidth:"any"}),dayPeriod:(0,c.A)({matchPatterns:{any:/^(上午|下午|午夜|[中正]午|早上|下午|晚上?|凌晨)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^上午/i,pm:/^下午/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚/i,night:/^凌晨/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}};var pa={lessThanXSeconds:{one:"少於 1 秒",other:"少於 {{count}} 秒"},xSeconds:{one:"1 秒",other:"{{count}} 秒"},halfAMinute:"半分鐘",lessThanXMinutes:{one:"少於 1 分鐘",other:"少於 {{count}} 分鐘"},xMinutes:{one:"1 分鐘",other:"{{count}} 分鐘"},xHours:{one:"1 小時",other:"{{count}} 小時"},aboutXHours:{one:"大約 1 小時",other:"大約 {{count}} 小時"},xDays:{one:"1 天",other:"{{count}} 天"},aboutXMonths:{one:"大約 1 個月",other:"大約 {{count}} 個月"},xMonths:{one:"1 個月",other:"{{count}} 個月"},aboutXYears:{one:"大約 1 年",other:"大約 {{count}} 年"},xYears:{one:"1 年",other:"{{count}} 年"},overXYears:{one:"超過 1 年",other:"超過 {{count}} 年"},almostXYears:{one:"將近 1 年",other:"將近 {{count}} 年"}},fa={date:(0,a.A)({formats:{full:"y'年'M'月'd'日' EEEE",long:"y'年'M'月'd'日'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},defaultWidth:"full"}),time:(0,a.A)({formats:{full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},defaultWidth:"full"}),dateTime:(0,a.A)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},ha={lastWeek:"'上個' eeee p",yesterday:"'昨天' p",today:"'今天' p",tomorrow:"'明天' p",nextWeek:"'下個' eeee p",other:"P"};const ma={formatDistance:function(e,t,n){var r;return n=n||{},r="string"==typeof pa[e]?pa[e]:1===t?pa[e].one:pa[e].other.replace("{{count}}",t),n.addSuffix?n.comparison>0?r+"內":r+"前":r},formatLong:fa,formatRelative:function(e,t,n,r){return ha[e]},localize:{ordinalNumber:function(e,t){return"第 "+Number(e).toString()},era:(0,s.A)({values:{narrow:["前","公元"],abbreviated:["前","公元"],wide:["公元前","公元"]},defaultWidth:"wide"}),quarter:(0,s.A)({values:{narrow:["1","2","3","4"],abbreviated:["第一刻","第二刻","第三刻","第四刻"],wide:["第一刻鐘","第二刻鐘","第三刻鐘","第四刻鐘"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,s.A)({values:{narrow:["一","二","三","四","五","六","七","八","九","十","十一","十二"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},defaultWidth:"wide"}),day:(0,s.A)({values:{narrow:["日","一","二","三","四","五","六"],short:["日","一","二","三","四","五","六"],abbreviated:["週日","週一","週二","週三","週四","週五","週六"],wide:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},defaultWidth:"wide"}),dayPeriod:(0,s.A)({values:{narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜間"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜間"}},defaultWidth:"wide",formattingValues:{narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜間"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜間"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(0,u.A)({matchPattern:/^(第\s*)?\d+/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,c.A)({matchPatterns:{narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^(前)/i,/^(公元)/i]},defaultParseWidth:"any"}),quarter:(0,c.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^第[一二三四]刻/i,wide:/^第[一二三四]刻鐘/i},defaultMatchWidth:"wide",parsePatterns:{any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,c.A)({matchPatterns:{narrow:/^(一|二|三|四|五|六|七|八|九|十[二一])/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一])月/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^一/i,/^二/i,/^三/i,/^四/i,/^五/i,/^六/i,/^七/i,/^八/i,/^九/i,/^十(?!(一|二))/i,/^十一/i,/^十二/i],any:[/^一|[!\d]1[!\d]/i,/^二|[!\d]2[!\d]/i,/^三|3/i,/^四|4/i,/^五|5/i,/^六|6/i,/^七|7/i,/^八|8/i,/^九|9/i,/^十(?!(一|二))|10/i,/^十一|11/i,/^十二|12/i]},defaultParseWidth:"any"}),day:(0,c.A)({matchPatterns:{narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^週[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},defaultMatchWidth:"wide",parsePatterns:{any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},defaultParseWidth:"any"}),dayPeriod:(0,c.A)({matchPatterns:{any:/^(上午|下午|午夜|[中正]午|早上|下午|晚上?|凌晨)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^上午/i,pm:/^下午/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚/i,night:/^凌晨/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}}},94583:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>c});var r={lessThanXSeconds:{one:"menos de um segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"meio minuto",lessThanXMinutes:{one:"menos de um minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"cerca de 1 hora",other:"cerca de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 dia",other:"{{count}} dias"},aboutXMonths:{one:"cerca de 1 mês",other:"cerca de {{count}} meses"},xMonths:{one:"1 mês",other:"{{count}} meses"},aboutXYears:{one:"cerca de 1 ano",other:"cerca de {{count}} anos"},xYears:{one:"1 ano",other:"{{count}} anos"},overXYears:{one:"mais de 1 ano",other:"mais de {{count}} anos"},almostXYears:{one:"quase 1 ano",other:"quase {{count}} anos"}},a=n(95047);const o={date:(0,a.A)({formats:{full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/yyyy"},defaultWidth:"full"}),time:(0,a.A)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,a.A)({formats:{full:"{{date}} 'às' {{time}}",long:"{{date}} 'às' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};var i={lastWeek:function(e,t,n){var r=e.getUTCDay();return"'"+(0===r||6===r?"último":"última")+"' eeee 'às' p"},yesterday:"'ontem às' p",today:"'hoje às' p",tomorrow:"'amanhã às' p",nextWeek:"eeee 'às' p",other:"P"},s=n(14797);const l={ordinalNumber:function(e,t){var n=Number(e),r=String((t||{}).unit);return"week"===r||"isoWeek"===r?n+"ª":n+"º"},era:(0,s.A)({values:{narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","depois de cristo"]},defaultWidth:"wide"}),quarter:(0,s.A)({values:{narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,s.A)({values:{narrow:["j","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["jan","fev","mar","abr","mai","jun","jul","ago","set","out","nov","dez"],wide:["janeiro","fevereiro","março","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"]},defaultWidth:"wide"}),day:(0,s.A)({values:{narrow:["do","2ª","3ª","4ª","5ª","6ª","sá"],short:["do","2ª","3ª","4ª","5ª","6ª","sá"],abbreviated:["dom","seg","ter","qua","qui","sex","sáb"],wide:["domingo","segunda","terça","quarta","quinta","sexta","sábado"]},defaultWidth:"wide"}),dayPeriod:(0,s.A)({values:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"manhã",afternoon:"tarde",evening:"tarde",night:"noite"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"tarde",night:"noite"},wide:{am:"a.m.",pm:"p.m.",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"tarde",night:"noite"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"da manhã",afternoon:"da tarde",evening:"da tarde",night:"da noite"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da tarde",night:"da noite"},wide:{am:"a.m.",pm:"p.m.",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da tarde",night:"da noite"}},defaultFormattingWidth:"wide"})};var u=n(13091);const c={formatDistance:function(e,t,n){var a;return n=n||{},a="string"==typeof r[e]?r[e]:1===t?r[e].one:r[e].other.replace("{{count}}",t),n.addSuffix?n.comparison>0?"em "+a:"há "+a:a},formatLong:o,formatRelative:function(e,t,n,r){var a=i[e];return"function"==typeof a?a(t,n,r):a},localize:l,match:{ordinalNumber:(0,n(46171).A)({matchPattern:/^(\d+)[ºªo]?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,u.A)({matchPatterns:{narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|d\.?\s?c\.?)/i,wide:/^(antes de cristo|depois de cristo)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^ac/i,/^dc/i],wide:[/^antes de cristo/i,/^depois de cristo/i]},defaultParseWidth:"any"}),quarter:(0,u.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,u.A)({matchPatterns:{narrow:/^[jfmajsond]/i,abbreviated:/^(jan|fev|mar|abr|mai|jun|jul|ago|set|out|nov|dez)/i,wide:/^(janeiro|fevereiro|março|abril|maio|junho|julho|agosto|setembro|outubro|novembro|dezembro)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^fev/i,/^mar/i,/^abr/i,/^mai/i,/^jun/i,/^jul/i,/^ago/i,/^set/i,/^out/i,/^nov/i,/^dez/i]},defaultParseWidth:"any"}),day:(0,u.A)({matchPatterns:{narrow:/^(dom|[23456]ª?|s[aá]b)/i,short:/^(dom|[23456]ª?|s[aá]b)/i,abbreviated:/^(dom|seg|ter|qua|qui|sex|s[aá]b)/i,wide:/^(domingo|(segunda|ter[cç]a|quarta|quinta|sexta)([- ]feira)?|s[aá]bado)/i},defaultMatchWidth:"wide",parsePatterns:{short:[/^d/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^s[aá]/i],narrow:[/^d/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^s[aá]/i],any:[/^d/i,/^seg/i,/^t/i,/^qua/i,/^qui/i,/^sex/i,/^s[aá]b/i]},defaultParseWidth:"any"}),dayPeriod:(0,u.A)({matchPatterns:{narrow:/^(a|p|mn|md|(da) (manhã|tarde|noite))/i,any:/^([ap]\.?\s?m\.?|meia[-\s]noite|meio[-\s]dia|(da) (manhã|tarde|noite))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mn|^meia[-\s]noite/i,noon:/^md|^meio[-\s]dia/i,morning:/manhã/i,afternoon:/tarde/i,evening:/tarde/i,night:/noite/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},21456:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>oe});var r=n(91964),a=n(25654),o=n(10123),i=n(37426),s=n(91788),l=n(67044),u=n(41109),c=n(94188),d=n(50464);function p(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var r=n||{},a=r.locale,i=a&&a.options&&a.options.weekStartsOn,s=null==i?0:(0,c.A)(i),l=null==r.weekStartsOn?s:(0,c.A)(r.weekStartsOn);if(!(l>=0&&l<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var u=(0,o.A)(e),d=(0,c.A)(t),p=((d%7+7)%70,a=r?t:1-t;if(a<=50)n=e||100;else{var o=a+50;n=e+100*Math.floor(o/100)-(e>=o%100?100:0)}return r?n:1-n}var Y=[31,28,31,30,31,30,31,31,30,31,30,31],X=[31,29,31,30,31,30,31,31,30,31,30,31];function K(e){return e%400==0||e%4==0&&e%100!=0}const Q={G:{priority:140,parse:function(e,t,n,r){switch(t){case"G":case"GG":case"GGG":return n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"});case"GGGGG":return n.era(e,{width:"narrow"});default:return n.era(e,{width:"wide"})||n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"})}},set:function(e,t,n,r){return t.era=n,e.setUTCFullYear(n,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["R","u","t","T"]},y:{priority:130,parse:function(e,t,n,r){var a=function(e){return{year:e,isTwoDigitYear:"yy"===t}};switch(t){case"y":return U(4,e,a);case"yo":return n.ordinalNumber(e,{unit:"year",valueCallback:a});default:return U(t.length,e,a)}},validate:function(e,t,n){return t.isTwoDigitYear||t.year>0},set:function(e,t,n,r){var a=e.getUTCFullYear();if(n.isTwoDigitYear){var o=G(n.year,a);return e.setUTCFullYear(o,0,1),e.setUTCHours(0,0,0,0),e}var i="era"in t&&1!==t.era?1-n.year:n.year;return e.setUTCFullYear(i,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","u","w","I","i","e","c","t","T"]},Y:{priority:130,parse:function(e,t,n,r){var a=function(e){return{year:e,isTwoDigitYear:"YY"===t}};switch(t){case"Y":return U(4,e,a);case"Yo":return n.ordinalNumber(e,{unit:"year",valueCallback:a});default:return U(t.length,e,a)}},validate:function(e,t,n){return t.isTwoDigitYear||t.year>0},set:function(e,t,n,r){var a=(0,d.A)(e,r);if(n.isTwoDigitYear){var o=G(n.year,a);return e.setUTCFullYear(o,0,r.firstWeekContainsDate),e.setUTCHours(0,0,0,0),(0,g.A)(e,r)}var i="era"in t&&1!==t.era?1-n.year:n.year;return e.setUTCFullYear(i,0,r.firstWeekContainsDate),e.setUTCHours(0,0,0,0),(0,g.A)(e,r)},incompatibleTokens:["y","R","u","Q","q","M","L","I","d","D","i","t","T"]},R:{priority:130,parse:function(e,t,n,r){return H("R"===t?4:t.length,e)},set:function(e,t,n,r){var a=new Date(0);return a.setUTCFullYear(n,0,4),a.setUTCHours(0,0,0,0),(0,m.A)(a)},incompatibleTokens:["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]},u:{priority:130,parse:function(e,t,n,r){return H("u"===t?4:t.length,e)},set:function(e,t,n,r){return e.setUTCFullYear(n,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["G","y","Y","R","w","I","i","e","c","t","T"]},Q:{priority:120,parse:function(e,t,n,r){switch(t){case"Q":case"QQ":return U(t.length,e);case"Qo":return n.ordinalNumber(e,{unit:"quarter"});case"QQQ":return n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(e,{width:"narrow",context:"formatting"});default:return n.quarter(e,{width:"wide",context:"formatting"})||n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,n){return t>=1&&t<=4},set:function(e,t,n,r){return e.setUTCMonth(3*(n-1),1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]},q:{priority:120,parse:function(e,t,n,r){switch(t){case"q":case"qq":return U(t.length,e);case"qo":return n.ordinalNumber(e,{unit:"quarter"});case"qqq":return n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(e,{width:"narrow",context:"standalone"});default:return n.quarter(e,{width:"wide",context:"standalone"})||n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"})}},validate:function(e,t,n){return t>=1&&t<=4},set:function(e,t,n,r){return e.setUTCMonth(3*(n-1),1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]},M:{priority:110,parse:function(e,t,n,r){var a=function(e){return e-1};switch(t){case"M":return z(v,e,a);case"MM":return U(2,e,a);case"Mo":return n.ordinalNumber(e,{unit:"month",valueCallback:a});case"MMM":return n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(e,{width:"narrow",context:"formatting"});default:return n.month(e,{width:"wide",context:"formatting"})||n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,n){return t>=0&&t<=11},set:function(e,t,n,r){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]},L:{priority:110,parse:function(e,t,n,r){var a=function(e){return e-1};switch(t){case"L":return z(v,e,a);case"LL":return U(2,e,a);case"Lo":return n.ordinalNumber(e,{unit:"month",valueCallback:a});case"LLL":return n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(e,{width:"narrow",context:"standalone"});default:return n.month(e,{width:"wide",context:"standalone"})||n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"})}},validate:function(e,t,n){return t>=0&&t<=11},set:function(e,t,n,r){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]},w:{priority:100,parse:function(e,t,n,r){switch(t){case"w":return z(w,e);case"wo":return n.ordinalNumber(e,{unit:"week"});default:return U(t.length,e)}},validate:function(e,t,n){return t>=1&&t<=53},set:function(e,t,n,r){return(0,g.A)(function(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var r=(0,o.A)(e),a=(0,c.A)(t),i=(0,h.A)(r,n)-a;return r.setUTCDate(r.getUTCDate()-7*i),r}(e,n,r),r)},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","i","t","T"]},I:{priority:100,parse:function(e,t,n,r){switch(t){case"I":return z(w,e);case"Io":return n.ordinalNumber(e,{unit:"week"});default:return U(t.length,e)}},validate:function(e,t,n){return t>=1&&t<=53},set:function(e,t,n,r){return(0,m.A)(function(e,t){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var n=(0,o.A)(e),r=(0,c.A)(t),a=(0,f.A)(n)-r;return n.setUTCDate(n.getUTCDate()-7*a),n}(e,n,r),r)},incompatibleTokens:["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]},d:{priority:90,parse:function(e,t,n,r){switch(t){case"d":return z(y,e);case"do":return n.ordinalNumber(e,{unit:"date"});default:return U(t.length,e)}},validate:function(e,t,n){var r=K(e.getUTCFullYear()),a=e.getUTCMonth();return r?t>=1&&t<=X[a]:t>=1&&t<=Y[a]},set:function(e,t,n,r){return e.setUTCDate(n),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","w","I","D","i","e","c","t","T"]},D:{priority:90,parse:function(e,t,n,r){switch(t){case"D":case"DD":return z(b,e);case"Do":return n.ordinalNumber(e,{unit:"date"});default:return U(t.length,e)}},validate:function(e,t,n){return K(e.getUTCFullYear())?t>=1&&t<=366:t>=1&&t<=365},set:function(e,t,n,r){return e.setUTCMonth(0,n),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]},E:{priority:90,parse:function(e,t,n,r){switch(t){case"E":case"EE":case"EEE":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,n){return t>=0&&t<=6},set:function(e,t,n,r){return(e=p(e,n,r)).setUTCHours(0,0,0,0),e},incompatibleTokens:["D","i","e","c","t","T"]},e:{priority:90,parse:function(e,t,n,r){var a=function(e){var t=7*Math.floor((e-1)/7);return(e+r.weekStartsOn+6)%7+t};switch(t){case"e":case"ee":return U(t.length,e,a);case"eo":return n.ordinalNumber(e,{unit:"day",valueCallback:a});case"eee":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"eeeee":return n.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,n){return t>=0&&t<=6},set:function(e,t,n,r){return(e=p(e,n,r)).setUTCHours(0,0,0,0),e},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]},c:{priority:90,parse:function(e,t,n,r){var a=function(e){var t=7*Math.floor((e-1)/7);return(e+r.weekStartsOn+6)%7+t};switch(t){case"c":case"cc":return U(t.length,e,a);case"co":return n.ordinalNumber(e,{unit:"day",valueCallback:a});case"ccc":return n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});case"ccccc":return n.day(e,{width:"narrow",context:"standalone"});case"cccccc":return n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});default:return n.day(e,{width:"wide",context:"standalone"})||n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"})}},validate:function(e,t,n){return t>=0&&t<=6},set:function(e,t,n,r){return(e=p(e,n,r)).setUTCHours(0,0,0,0),e},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]},i:{priority:90,parse:function(e,t,n,r){var a=function(e){return 0===e?7:e};switch(t){case"i":case"ii":return U(t.length,e);case"io":return n.ordinalNumber(e,{unit:"day"});case"iii":return n.day(e,{width:"abbreviated",context:"formatting",valueCallback:a})||n.day(e,{width:"short",context:"formatting",valueCallback:a})||n.day(e,{width:"narrow",context:"formatting",valueCallback:a});case"iiiii":return n.day(e,{width:"narrow",context:"formatting",valueCallback:a});case"iiiiii":return n.day(e,{width:"short",context:"formatting",valueCallback:a})||n.day(e,{width:"narrow",context:"formatting",valueCallback:a});default:return n.day(e,{width:"wide",context:"formatting",valueCallback:a})||n.day(e,{width:"abbreviated",context:"formatting",valueCallback:a})||n.day(e,{width:"short",context:"formatting",valueCallback:a})||n.day(e,{width:"narrow",context:"formatting",valueCallback:a})}},validate:function(e,t,n){return t>=1&&t<=7},set:function(e,t,n,r){return e=function(e,t){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var n=(0,c.A)(t);n%7==0&&(n-=7);var r=(0,o.A)(e),a=((n%7+7)%7<1?7:0)+n-r.getUTCDay();return r.setUTCDate(r.getUTCDate()+a),r}(e,n,r),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]},a:{priority:80,parse:function(e,t,n,r){switch(t){case"a":case"aa":case"aaa":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}},set:function(e,t,n,r){return e.setUTCHours(q(n),0,0,0),e},incompatibleTokens:["b","B","H","K","k","t","T"]},b:{priority:80,parse:function(e,t,n,r){switch(t){case"b":case"bb":case"bbb":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}},set:function(e,t,n,r){return e.setUTCHours(q(n),0,0,0),e},incompatibleTokens:["a","B","H","K","k","t","T"]},B:{priority:80,parse:function(e,t,n,r){switch(t){case"B":case"BB":case"BBB":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}},set:function(e,t,n,r){return e.setUTCHours(q(n),0,0,0),e},incompatibleTokens:["a","b","t","T"]},h:{priority:70,parse:function(e,t,n,r){switch(t){case"h":return z(A,e);case"ho":return n.ordinalNumber(e,{unit:"hour"});default:return U(t.length,e)}},validate:function(e,t,n){return t>=1&&t<=12},set:function(e,t,n,r){var a=e.getUTCHours()>=12;return a&&n<12?e.setUTCHours(n+12,0,0,0):a||12!==n?e.setUTCHours(n,0,0,0):e.setUTCHours(0,0,0,0),e},incompatibleTokens:["H","K","k","t","T"]},H:{priority:70,parse:function(e,t,n,r){switch(t){case"H":return z(x,e);case"Ho":return n.ordinalNumber(e,{unit:"hour"});default:return U(t.length,e)}},validate:function(e,t,n){return t>=0&&t<=23},set:function(e,t,n,r){return e.setUTCHours(n,0,0,0),e},incompatibleTokens:["a","b","h","K","k","t","T"]},K:{priority:70,parse:function(e,t,n,r){switch(t){case"K":return z(_,e);case"Ko":return n.ordinalNumber(e,{unit:"hour"});default:return U(t.length,e)}},validate:function(e,t,n){return t>=0&&t<=11},set:function(e,t,n,r){return e.getUTCHours()>=12&&n<12?e.setUTCHours(n+12,0,0,0):e.setUTCHours(n,0,0,0),e},incompatibleTokens:["a","b","h","H","k","t","T"]},k:{priority:70,parse:function(e,t,n,r){switch(t){case"k":return z(S,e);case"ko":return n.ordinalNumber(e,{unit:"hour"});default:return U(t.length,e)}},validate:function(e,t,n){return t>=1&&t<=24},set:function(e,t,n,r){var a=n<=24?n%24:n;return e.setUTCHours(a,0,0,0),e},incompatibleTokens:["a","b","h","H","K","t","T"]},m:{priority:60,parse:function(e,t,n,r){switch(t){case"m":return z(C,e);case"mo":return n.ordinalNumber(e,{unit:"minute"});default:return U(t.length,e)}},validate:function(e,t,n){return t>=0&&t<=59},set:function(e,t,n,r){return e.setUTCMinutes(n,0,0),e},incompatibleTokens:["t","T"]},s:{priority:50,parse:function(e,t,n,r){switch(t){case"s":return z(T,e);case"so":return n.ordinalNumber(e,{unit:"second"});default:return U(t.length,e)}},validate:function(e,t,n){return t>=0&&t<=59},set:function(e,t,n,r){return e.setUTCSeconds(n,0),e},incompatibleTokens:["t","T"]},S:{priority:30,parse:function(e,t,n,r){return U(t.length,e,(function(e){return Math.floor(e*Math.pow(10,3-t.length))}))},set:function(e,t,n,r){return e.setUTCMilliseconds(n),e},incompatibleTokens:["t","T"]},X:{priority:10,parse:function(e,t,n,r){switch(t){case"X":return W(L,e);case"XX":return W($,e);case"XXXX":return W(j,e);case"XXXXX":return W(B,e);default:return W(F,e)}},set:function(e,t,n,r){return t.timestampIsSet?e:new Date(e.getTime()-n)},incompatibleTokens:["t","T","x"]},x:{priority:10,parse:function(e,t,n,r){switch(t){case"x":return W(L,e);case"xx":return W($,e);case"xxxx":return W(j,e);case"xxxxx":return W(B,e);default:return W(F,e)}},set:function(e,t,n,r){return t.timestampIsSet?e:new Date(e.getTime()-n)},incompatibleTokens:["t","T","X"]},t:{priority:40,parse:function(e,t,n,r){return V(e)},set:function(e,t,n,r){return[new Date(1e3*n),{timestampIsSet:!0}]},incompatibleTokens:"*"},T:{priority:20,parse:function(e,t,n,r){return V(e)},set:function(e,t,n,r){return[new Date(n),{timestampIsSet:!0}]},incompatibleTokens:"*"}};var Z=10,J=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,ee=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,te=/^'([^]*?)'?$/,ne=/''/g,re=/\S/,ae=/[a-zA-Z]/;function oe(e,t,n,d){if(arguments.length<3)throw new TypeError("3 arguments required, but only "+arguments.length+" present");var p=String(e),f=String(t),h=d||{},m=h.locale||r.A;if(!m.match)throw new RangeError("locale must contain match property");var g=m.options&&m.options.firstWeekContainsDate,v=null==g?1:(0,c.A)(g),y=null==h.firstWeekContainsDate?v:(0,c.A)(h.firstWeekContainsDate);if(!(y>=1&&y<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var b=m.options&&m.options.weekStartsOn,w=null==b?0:(0,c.A)(b),x=null==h.weekStartsOn?w:(0,c.A)(h.weekStartsOn);if(!(x>=0&&x<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===f)return""===p?(0,o.A)(n):new Date(NaN);var S,_={firstWeekContainsDate:y,weekStartsOn:x,locale:m},A=[{priority:Z,set:ie,index:0}],C=f.match(ee).map((function(e){var t=e[0];return"p"===t||"P"===t?(0,s.A[t])(e,m.formatLong,_):e})).join("").match(J),T=[];for(S=0;S0&&re.test(p))return new Date(NaN);var N=A.map((function(e){return e.priority})).sort((function(e,t){return t-e})).filter((function(e,t,n){return n.indexOf(e)===t})).map((function(e){return A.filter((function(t){return t.priority===e})).reverse()})).map((function(e){return e[0]})),L=(0,o.A)(n);if(isNaN(L))return new Date(NaN);var $=(0,a.A)(L,(0,l.A)(L)),j={};for(S=0;S{"use strict";n.r(t),n.d(t,{default:()=>p});var r=n(94188),a=n(67044),o=36e5,i=6e4,s=2,l={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},u=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,c=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,d=/^([+-])(\d{2})(?::?(\d{2}))?$/;function p(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=t||{},p=null==n.additionalDigits?s:(0,r.A)(n.additionalDigits);if(2!==p&&1!==p&&0!==p)throw new RangeError("additionalDigits must be 0, 1 or 2");if("string"!=typeof e&&"[object String]"!==Object.prototype.toString.call(e))return new Date(NaN);var v,y=function(e){var t,n={},r=e.split(l.dateTimeDelimiter);if(/:/.test(r[0])?(n.date=null,t=r[0]):(n.date=r[0],t=r[1],l.timeZoneDelimiter.test(n.date)&&(n.date=e.split(l.timeZoneDelimiter)[0],t=e.substr(n.date.length,e.length))),t){var a=l.timezone.exec(t);a?(n.time=t.replace(a[1],""),n.timezone=a[1]):n.time=t}return n}(e);if(y.date){var b=function(e,t){var n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),r=e.match(n);if(!r)return{year:null};var a=r[1]&&parseInt(r[1]),o=r[2]&&parseInt(r[2]);return{year:null==o?a:100*o,restDateString:e.slice((r[1]||r[2]).length)}}(y.date,p);v=function(e,t){if(null===t)return null;var n=e.match(u);if(!n)return null;var r=!!n[4],a=f(n[1]),o=f(n[2])-1,i=f(n[3]),s=f(n[4]),l=f(n[5])-1;if(r)return function(e,t,n){return t>=1&&t<=53&&n>=0&&n<=6}(0,s,l)?function(e,t,n){var r=new Date(0);r.setUTCFullYear(e,0,4);var a=7*(t-1)+n+1-(r.getUTCDay()||7);return r.setUTCDate(r.getUTCDate()+a),r}(t,s,l):new Date(NaN);var c=new Date(0);return function(e,t,n){return t>=0&&t<=11&&n>=1&&n<=(m[t]||(g(e)?29:28))}(t,o,i)&&function(e,t){return t>=1&&t<=(g(e)?366:365)}(t,a)?(c.setUTCFullYear(t,o,Math.max(a,i)),c):new Date(NaN)}(b.restDateString,b.year)}if(isNaN(v)||!v)return new Date(NaN);var w,x=v.getTime(),S=0;if(y.time&&(S=function(e){var t=e.match(c);if(!t)return null;var n=h(t[1]),r=h(t[2]),a=h(t[3]);return function(e,t,n){return 24===e?0===t&&0===n:n>=0&&n<60&&t>=0&&t<60&&e>=0&&e<25}(n,r,a)?n*o+r*i+1e3*a:NaN}(y.time),isNaN(S)||null===S))return new Date(NaN);if(y.timezone){if(w=function(e){if("Z"===e)return 0;var t=e.match(d);if(!t)return 0;var n="+"===t[1]?-1:1,r=parseInt(t[2]),a=t[3]&&parseInt(t[3])||0;return function(e,t){return t>=0&&t<=59}(0,a)?n*(r*o+a*i):NaN}(y.timezone),isNaN(w))return new Date(NaN)}else{var _=x+S,A=new Date(_);w=(0,a.A)(A);var C=new Date(_);w>0?C.setDate(A.getDate()+1):C.setDate(A.getDate()-1);var T=(0,a.A)(C)-w;T>0&&(w+=T)}return new Date(x+S+w)}function f(e){return e?parseInt(e):1}function h(e){return e&&parseFloat(e.replace(",","."))||0}var m=[31,null,31,30,31,30,31,31,30,31,30,31];function g(e){return e%400==0||e%4==0&&e%100}},53508:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(10123);function a(e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var t=(0,r.A)(e);return t.setHours(0,0,0,0),t}},27827:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(10123),a=n(94188);function o(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=t||{},o=n.locale,i=o&&o.options&&o.options.weekStartsOn,s=null==i?0:(0,a.A)(i),l=null==n.weekStartsOn?s:(0,a.A)(n.weekStartsOn);if(!(l>=0&&l<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var u=(0,r.A)(e),c=u.getDay(),d=(c{"use strict";n.d(t,{A:()=>o});var r=n(94188),a=n(7767);function o(e,t){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var n=(0,r.A)(t);return(0,a.A)(e,-n)}},44327:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(94188),a=n(66034);function o(e,t){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var n=(0,r.A)(t);return(0,a.default)(e,-n)}},10123:(e,t,n)=>{"use strict";function r(e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):("string"!=typeof e&&"[object String]"!==t||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn((new Error).stack)),new Date(NaN))}n.d(t,{A:()=>r})},34240:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>Mq});var r={};n.r(r),n.d(r,{HashMap:()=>De,RADIAN_TO_DEGREE:()=>Be,assert:()=>Te,bind:()=>ie,clone:()=>U,concatArray:()=>Ne,createCanvas:()=>X,createHashMap:()=>Re,createObject:()=>Le,curry:()=>se,defaults:()=>Y,disableUserSelect:()=>$e,each:()=>ee,eqNaN:()=>we,extend:()=>G,filter:()=>re,find:()=>ae,guid:()=>W,hasOwn:()=>je,indexOf:()=>K,inherits:()=>Q,isArray:()=>le,isArrayLike:()=>J,isBuiltInObject:()=>he,isDom:()=>ge,isFunction:()=>ue,isGradientObject:()=>ve,isImagePatternObject:()=>ye,isNumber:()=>pe,isObject:()=>fe,isPrimitive:()=>Pe,isRegExp:()=>be,isString:()=>ce,isStringSafe:()=>de,isTypedArray:()=>me,keys:()=>oe,logError:()=>V,map:()=>te,merge:()=>H,mergeAll:()=>q,mixin:()=>Z,noop:()=>Fe,normalizeCssArray:()=>Ce,reduce:()=>ne,retrieve:()=>xe,retrieve2:()=>Se,retrieve3:()=>_e,setAsPrimitive:()=>Me,slice:()=>Ae,trim:()=>ke});var a={};n.r(a),n.d(a,{add:()=>Ge,applyTransform:()=>dt,clone:()=>He,copy:()=>Ue,create:()=>Ve,dist:()=>it,distSquare:()=>lt,distance:()=>ot,distanceSquare:()=>st,div:()=>tt,dot:()=>nt,len:()=>Ke,lenSquare:()=>Ze,length:()=>Qe,lengthSquare:()=>Je,lerp:()=>ct,max:()=>ft,min:()=>pt,mul:()=>et,negate:()=>ut,normalize:()=>at,scale:()=>rt,scaleAndAdd:()=>Ye,set:()=>qe,sub:()=>Xe});var o={};n.r(o),n.d(o,{clone:()=>Kt,copy:()=>Ut,create:()=>Wt,identity:()=>Vt,invert:()=>Xt,mul:()=>Ht,rotate:()=>Gt,scale:()=>Yt,translate:()=>qt});var i={};n.r(i),n.d(i,{fastLerp:()=>Pr,fastMapToColor:()=>Or,lerp:()=>Ir,lift:()=>Er,liftColor:()=>Br,lum:()=>$r,mapToColor:()=>Dr,modifyAlpha:()=>Nr,modifyHSL:()=>Rr,parse:()=>Tr,random:()=>jr,stringify:()=>Lr,toHex:()=>Mr});var s={};n.r(s),n.d(s,{dispose:()=>To,disposeAll:()=>ko,getElementSSRData:()=>Po,getInstance:()=>Eo,init:()=>Co,registerPainter:()=>Mo,registerSSRDataGetter:()=>Oo,version:()=>Io});var l={};n.r(l),n.d(l,{Arc:()=>eg,BezierCurve:()=>Qm,BoundingRect:()=>un,Circle:()=>hm,CompoundPath:()=>ng,Ellipse:()=>vm,Group:()=>wo,Image:()=>Al,IncrementalDisplayable:()=>hg,Line:()=>qm,LinearGradient:()=>ag,OrientedBoundingRect:()=>dg,Path:()=>vl,Point:()=>Zt,Polygon:()=>Fm,Polyline:()=>Wm,RadialGradient:()=>og,Rect:()=>Il,Ring:()=>Nm,Sector:()=>Im,Text:()=>Yl,applyTransform:()=>Ig,clipPointsByRect:()=>Lg,clipRectByRect:()=>$g,createIcon:()=>jg,extendPath:()=>wg,extendShape:()=>yg,getShapeClass:()=>Sg,getTransform:()=>Og,groupTransition:()=>Ng,initProps:()=>tc,isElementRemoved:()=>nc,lineLineIntersect:()=>Bg,linePolygonIntersect:()=>Fg,makeImage:()=>Ag,makePath:()=>_g,mergePath:()=>Tg,registerShape:()=>xg,removeElement:()=>rc,removeElementWithFadeOut:()=>oc,resizePath:()=>kg,setTooltipConfig:()=>Wg,subPixelOptimize:()=>Pg,subPixelOptimizeLine:()=>Eg,subPixelOptimizeRect:()=>Mg,transformDirection:()=>Dg,traverseElements:()=>Ug,updateProps:()=>ec});var u={};n.r(u),n.d(u,{createDimensions:()=>Xw,createList:()=>vS,createScale:()=>bS,createSymbol:()=>uy,createTextStyle:()=>xS,dataStack:()=>yS,enableHoverEmphasis:()=>zu,getECData:()=>Xl,getLayoutRect:()=>Bd,mixinAxisModelCommonMethods:()=>wS});var c={};n.r(c),n.d(c,{MAX_SAFE_INTEGER:()=>Ho,asc:()=>jo,getPercentWithPrecision:()=>Wo,getPixelPrecision:()=>zo,getPrecision:()=>Fo,getPrecisionSafe:()=>Bo,isNumeric:()=>ni,isRadianAroundZero:()=>Go,linearMap:()=>No,nice:()=>Zo,numericToNumber:()=>ti,parseDate:()=>Xo,quantile:()=>Jo,quantity:()=>Ko,quantityExponent:()=>Qo,reformIntervals:()=>ei,remRadian:()=>qo,round:()=>$o});var d={};n.r(d),n.d(d,{format:()=>id,parse:()=>Xo});var p={};n.r(p),n.d(p,{Arc:()=>eg,BezierCurve:()=>Qm,BoundingRect:()=>un,Circle:()=>hm,CompoundPath:()=>ng,Ellipse:()=>vm,Group:()=>wo,Image:()=>Al,IncrementalDisplayable:()=>hg,Line:()=>qm,LinearGradient:()=>ag,Polygon:()=>Fm,Polyline:()=>Wm,RadialGradient:()=>og,Rect:()=>Il,Ring:()=>Nm,Sector:()=>Im,Text:()=>Yl,clipPointsByRect:()=>Lg,clipRectByRect:()=>$g,createIcon:()=>jg,extendPath:()=>wg,extendShape:()=>yg,getShapeClass:()=>Sg,getTransform:()=>Og,initProps:()=>tc,makeImage:()=>Ag,makePath:()=>_g,mergePath:()=>Tg,registerShape:()=>xg,resizePath:()=>kg,updateProps:()=>ec});var f={};n.r(f),n.d(f,{addCommas:()=>_d,capitalFirst:()=>Id,encodeHTML:()=>Et,formatTime:()=>Od,formatTpl:()=>Md,getTextRect:()=>LS,getTooltipMarker:()=>Pd,normalizeCssArray:()=>Cd,toCamelCase:()=>Ad,truncateText:()=>Ki});var h={};n.r(h),n.d(h,{bind:()=>ie,clone:()=>U,curry:()=>se,defaults:()=>Y,each:()=>ee,extend:()=>G,filter:()=>re,indexOf:()=>K,inherits:()=>Q,isArray:()=>le,isFunction:()=>ue,isObject:()=>fe,isString:()=>ce,map:()=>te,merge:()=>H,reduce:()=>ne});var m={};n.r(m),n.d(m,{Axis:()=>YS,ChartView:()=>Jg,ComponentModel:()=>Yd,ComponentView:()=>Uh,List:()=>Yw,Model:()=>Lc,PRIORITY:()=>eb,SeriesModel:()=>Wh,color:()=>i,connect:()=>qb,dataTool:()=>gw,dependencies:()=>Yy,disConnect:()=>Yb,disconnect:()=>Gb,dispose:()=>Xb,env:()=>x,extendChartView:()=>ZS,extendComponentModel:()=>XS,extendComponentView:()=>KS,extendSeriesModel:()=>QS,format:()=>f,getCoordinateSystemDimensions:()=>iw,getInstanceByDom:()=>Kb,getInstanceById:()=>Qb,getMap:()=>hw,graphic:()=>p,helper:()=>u,init:()=>Hb,innerDrawElementOnCanvas:()=>Ny,matrix:()=>o,number:()=>c,parseGeoJSON:()=>NS,parseGeoJson:()=>NS,registerAction:()=>aw,registerCoordinateSystem:()=>ow,registerLayout:()=>sw,registerLoading:()=>dw,registerLocale:()=>qc,registerMap:()=>fw,registerPostInit:()=>tw,registerPostUpdate:()=>nw,registerPreprocessor:()=>Jb,registerProcessor:()=>ew,registerTheme:()=>Zb,registerTransform:()=>mw,registerUpdateLifecycle:()=>rw,registerVisual:()=>lw,setCanvasCreator:()=>pw,setPlatformAPI:()=>M,throttle:()=>rv,time:()=>d,use:()=>bw,util:()=>h,vector:()=>a,version:()=>Gy,zrUtil:()=>r,zrender:()=>s});var g=n(31635),v=function(e,t){return v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},v(e,t)};function y(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}v(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}Object.create,Object.create;var b=function(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1},w=new function(){this.browser=new b,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow="undefined"!=typeof window};"object"==typeof wx&&"function"==typeof wx.getSystemInfoSync?(w.wxa=!0,w.touchEventsSupported=!0):"undefined"==typeof document&&"undefined"!=typeof self?w.worker=!0:"undefined"==typeof navigator||0===navigator.userAgent.indexOf("Node.js")?(w.node=!0,w.svgSupported=!0):function(e,t){var n=t.browser,r=e.match(/Firefox\/([\d.]+)/),a=e.match(/MSIE\s([\d.]+)/)||e.match(/Trident\/.+?rv:(([\d.]+))/),o=e.match(/Edge?\/([\d.]+)/),i=/micromessenger/i.test(e);r&&(n.firefox=!0,n.version=r[1]),a&&(n.ie=!0,n.version=a[1]),o&&(n.edge=!0,n.version=o[1],n.newEdge=+o[1].split(".")[0]>18),i&&(n.weChat=!0),t.svgSupported="undefined"!=typeof SVGRect,t.touchEventsSupported="ontouchstart"in window&&!n.ie&&!n.edge,t.pointerEventsSupported="onpointerdown"in window&&(n.edge||n.ie&&+n.version>=11),t.domSupported="undefined"!=typeof document;var s=document.documentElement.style;t.transform3dSupported=(n.ie&&"transition"in s||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),t.transformSupported=t.transform3dSupported||n.ie&&+n.version>=9}(navigator.userAgent,w);const x=w;var S,_,A=12,C="sans-serif",T=A+"px "+C,k=function(e){var t={};if("undefined"==typeof JSON)return t;for(var n=0;n<95;n++){var r=String.fromCharCode(n+32),a=(e.charCodeAt(n)-20)/100;t[r]=a}return t}("007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N"),E={createCanvas:function(){return"undefined"!=typeof document&&document.createElement("canvas")},measureText:function(e,t){if(!S){var n=E.createCanvas();S=n&&n.getContext("2d")}if(S)return _!==t&&(_=S.font=t||T),S.measureText(e);e=e||"";var r=/((?:\d+)?\.?\d*)px/.exec(t=t||T),a=r&&+r[1]||A,o=0;if(t.indexOf("mono")>=0)o=a*e.length;else for(var i=0;i>1)%2;i.style.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",r[s]+":0",a[l]+":0",r[1-s]+":auto",a[1-l]+":auto",""].join("!important;"),e.appendChild(i),n.push(i)}return n}(t,o),s=function(e,t,n){for(var r=n?"invTrans":"trans",a=t[r],o=t.srcCoords,i=[],s=[],l=!0,u=0;u<4;u++){var c=e[u].getBoundingClientRect(),d=2*u,p=c.left,f=c.top;i.push(p,f),l=l&&o&&p===o[d]&&f===o[d+1],s.push(e[u].offsetLeft,e[u].offsetTop)}return l&&a?a:(t.srcCoords=i,t[r]=n?xt(s,i):xt(i,s))}(i,o,a);if(s)return s(e,n,r),!0}return!1}function Ct(e){return"CANVAS"===e.nodeName.toUpperCase()}var Tt=/([&<>"'])/g,kt={"&":"&","<":"<",">":">",'"':""","'":"'"};function Et(e){return null==e?"":(e+"").replace(Tt,(function(e,t){return kt[t]}))}var Mt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Pt=[],Ot=x.browser.firefox&&+x.browser.version.split(".")[0]<39;function It(e,t,n,r){return n=n||{},r?Dt(e,t,n):Ot&&null!=t.layerX&&t.layerX!==t.offsetX?(n.zrX=t.layerX,n.zrY=t.layerY):null!=t.offsetX?(n.zrX=t.offsetX,n.zrY=t.offsetY):Dt(e,t,n),n}function Dt(e,t,n){if(x.domSupported&&e.getBoundingClientRect){var r=t.clientX,a=t.clientY;if(Ct(e)){var o=e.getBoundingClientRect();return n.zrX=r-o.left,void(n.zrY=a-o.top)}if(At(Pt,e,r,a))return n.zrX=Pt[0],void(n.zrY=Pt[1])}n.zrX=n.zrY=0}function Rt(e){return e||window.event}function Nt(e,t,n){if(null!=(t=Rt(t)).zrX)return t;var r=t.type;if(r&&r.indexOf("touch")>=0){var a="touchend"!==r?t.targetTouches[0]:t.changedTouches[0];a&&It(e,a,t,n)}else{It(e,t,t,n);var o=function(e){var t=e.wheelDelta;if(t)return t;var n=e.deltaX,r=e.deltaY;return null==n||null==r?t:3*(0!==r?Math.abs(r):Math.abs(n))*(r>0?-1:r<0?1:n>0?-1:1)}(t);t.zrDelta=o?o/120:-(t.detail||0)/3}var i=t.button;return null==t.which&&void 0!==i&&Mt.test(t.type)&&(t.which=1&i?1:2&i?3:4&i?2:0),t}function Lt(e,t,n,r){e.addEventListener(t,n,r)}var $t=function(e){e.preventDefault(),e.stopPropagation(),e.cancelBubble=!0};function jt(e){return 2===e.which||3===e.which}var Ft=function(){function e(){this._track=[]}return e.prototype.recognize=function(e,t,n){return this._doTrack(e,t,n),this._recognize(e)},e.prototype.clear=function(){return this._track.length=0,this},e.prototype._doTrack=function(e,t,n){var r=e.touches;if(r){for(var a={points:[],touches:[],target:t,event:e},o=0,i=r.length;o1&&a&&a.length>1){var i=Bt(a)/Bt(o);!isFinite(i)&&(i=1),t.pinchScale=i;var s=[((r=a)[0][0]+r[1][0])/2,(r[0][1]+r[1][1])/2];return t.pinchX=s[0],t.pinchY=s[1],{type:"pinch",target:e[0].target,event:t}}}}};function Wt(){return[1,0,0,1,0,0]}function Vt(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e}function Ut(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function Ht(e,t,n){var r=t[0]*n[0]+t[2]*n[1],a=t[1]*n[0]+t[3]*n[1],o=t[0]*n[2]+t[2]*n[3],i=t[1]*n[2]+t[3]*n[3],s=t[0]*n[4]+t[2]*n[5]+t[4],l=t[1]*n[4]+t[3]*n[5]+t[5];return e[0]=r,e[1]=a,e[2]=o,e[3]=i,e[4]=s,e[5]=l,e}function qt(e,t,n){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4]+n[0],e[5]=t[5]+n[1],e}function Gt(e,t,n,r){void 0===r&&(r=[0,0]);var a=t[0],o=t[2],i=t[4],s=t[1],l=t[3],u=t[5],c=Math.sin(n),d=Math.cos(n);return e[0]=a*d+s*c,e[1]=-a*c+s*d,e[2]=o*d+l*c,e[3]=-o*c+d*l,e[4]=d*(i-r[0])+c*(u-r[1])+r[0],e[5]=d*(u-r[1])-c*(i-r[0])+r[1],e}function Yt(e,t,n){var r=n[0],a=n[1];return e[0]=t[0]*r,e[1]=t[1]*a,e[2]=t[2]*r,e[3]=t[3]*a,e[4]=t[4]*r,e[5]=t[5]*a,e}function Xt(e,t){var n=t[0],r=t[2],a=t[4],o=t[1],i=t[3],s=t[5],l=n*i-o*r;return l?(l=1/l,e[0]=i*l,e[1]=-o*l,e[2]=-r*l,e[3]=n*l,e[4]=(r*s-i*a)*l,e[5]=(o*a-n*s)*l,e):null}function Kt(e){var t=[1,0,0,1,0,0];return Ut(t,e),t}var Qt=function(){function e(e,t){this.x=e||0,this.y=t||0}return e.prototype.copy=function(e){return this.x=e.x,this.y=e.y,this},e.prototype.clone=function(){return new e(this.x,this.y)},e.prototype.set=function(e,t){return this.x=e,this.y=t,this},e.prototype.equal=function(e){return e.x===this.x&&e.y===this.y},e.prototype.add=function(e){return this.x+=e.x,this.y+=e.y,this},e.prototype.scale=function(e){this.x*=e,this.y*=e},e.prototype.scaleAndAdd=function(e,t){this.x+=e.x*t,this.y+=e.y*t},e.prototype.sub=function(e){return this.x-=e.x,this.y-=e.y,this},e.prototype.dot=function(e){return this.x*e.x+this.y*e.y},e.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},e.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},e.prototype.normalize=function(){var e=this.len();return this.x/=e,this.y/=e,this},e.prototype.distance=function(e){var t=this.x-e.x,n=this.y-e.y;return Math.sqrt(t*t+n*n)},e.prototype.distanceSquare=function(e){var t=this.x-e.x,n=this.y-e.y;return t*t+n*n},e.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},e.prototype.transform=function(e){if(e){var t=this.x,n=this.y;return this.x=e[0]*t+e[2]*n+e[4],this.y=e[1]*t+e[3]*n+e[5],this}},e.prototype.toArray=function(e){return e[0]=this.x,e[1]=this.y,e},e.prototype.fromArray=function(e){this.x=e[0],this.y=e[1]},e.set=function(e,t,n){e.x=t,e.y=n},e.copy=function(e,t){e.x=t.x,e.y=t.y},e.len=function(e){return Math.sqrt(e.x*e.x+e.y*e.y)},e.lenSquare=function(e){return e.x*e.x+e.y*e.y},e.dot=function(e,t){return e.x*t.x+e.y*t.y},e.add=function(e,t,n){e.x=t.x+n.x,e.y=t.y+n.y},e.sub=function(e,t,n){e.x=t.x-n.x,e.y=t.y-n.y},e.scale=function(e,t,n){e.x=t.x*n,e.y=t.y*n},e.scaleAndAdd=function(e,t,n,r){e.x=t.x+n.x*r,e.y=t.y+n.y*r},e.lerp=function(e,t,n,r){var a=1-r;e.x=a*t.x+r*n.x,e.y=a*t.y+r*n.y},e}();const Zt=Qt;var Jt=Math.min,en=Math.max,tn=new Zt,nn=new Zt,rn=new Zt,an=new Zt,on=new Zt,sn=new Zt,ln=function(){function e(e,t,n,r){n<0&&(e+=n,n=-n),r<0&&(t+=r,r=-r),this.x=e,this.y=t,this.width=n,this.height=r}return e.prototype.union=function(e){var t=Jt(e.x,this.x),n=Jt(e.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=en(e.x+e.width,this.x+this.width)-t:this.width=e.width,isFinite(this.y)&&isFinite(this.height)?this.height=en(e.y+e.height,this.y+this.height)-n:this.height=e.height,this.x=t,this.y=n},e.prototype.applyTransform=function(t){e.applyTransform(this,this,t)},e.prototype.calculateTransform=function(e){var t=this,n=e.width/t.width,r=e.height/t.height,a=[1,0,0,1,0,0];return qt(a,a,[-t.x,-t.y]),Yt(a,a,[n,r]),qt(a,a,[e.x,e.y]),a},e.prototype.intersect=function(t,n){if(!t)return!1;t instanceof e||(t=e.create(t));var r=this,a=r.x,o=r.x+r.width,i=r.y,s=r.y+r.height,l=t.x,u=t.x+t.width,c=t.y,d=t.y+t.height,p=!(oh&&(h=b,mh&&(h=w,v=n.x&&e<=n.x+n.width&&t>=n.y&&t<=n.y+n.height},e.prototype.clone=function(){return new e(this.x,this.y,this.width,this.height)},e.prototype.copy=function(t){e.copy(this,t)},e.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},e.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},e.prototype.isZero=function(){return 0===this.width||0===this.height},e.create=function(t){return new e(t.x,t.y,t.width,t.height)},e.copy=function(e,t){e.x=t.x,e.y=t.y,e.width=t.width,e.height=t.height},e.applyTransform=function(t,n,r){if(r){if(r[1]<1e-5&&r[1]>-1e-5&&r[2]<1e-5&&r[2]>-1e-5){var a=r[0],o=r[3],i=r[4],s=r[5];return t.x=n.x*a+i,t.y=n.y*o+s,t.width=n.width*a,t.height=n.height*o,t.width<0&&(t.x+=t.width,t.width=-t.width),void(t.height<0&&(t.y+=t.height,t.height=-t.height))}tn.x=rn.x=n.x,tn.y=an.y=n.y,nn.x=an.x=n.x+n.width,nn.y=rn.y=n.y+n.height,tn.transform(r),an.transform(r),nn.transform(r),rn.transform(r),t.x=Jt(tn.x,nn.x,rn.x,an.x),t.y=Jt(tn.y,nn.y,rn.y,an.y);var l=en(tn.x,nn.x,rn.x,an.x),u=en(tn.y,nn.y,rn.y,an.y);t.width=l-t.x,t.height=u-t.y}else t!==n&&e.copy(t,n)},e}();const un=ln;var cn="silent";function dn(){$t(this.event)}var pn=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handler=null,t}return We(t,e),t.prototype.dispose=function(){},t.prototype.setCursor=function(){},t}(yt),fn=function(e,t){this.x=e,this.y=t},hn=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],mn=new un(0,0,0,0),gn=function(e){function t(t,n,r,a,o){var i=e.call(this)||this;return i._hovered=new fn(0,0),i.storage=t,i.painter=n,i.painterRoot=a,i._pointerSize=o,r=r||new pn,i.proxy=null,i.setHandlerProxy(r),i._draggingMgr=new gt(i),i}return We(t,e),t.prototype.setHandlerProxy=function(e){this.proxy&&this.proxy.dispose(),e&&(ee(hn,(function(t){e.on&&e.on(t,this[t],this)}),this),e.handler=this),this.proxy=e},t.prototype.mousemove=function(e){var t=e.zrX,n=e.zrY,r=bn(this,t,n),a=this._hovered,o=a.target;o&&!o.__zr&&(o=(a=this.findHover(a.x,a.y)).target);var i=this._hovered=r?new fn(t,n):this.findHover(t,n),s=i.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),o&&s!==o&&this.dispatchToElement(a,"mouseout",e),this.dispatchToElement(i,"mousemove",e),s&&s!==o&&this.dispatchToElement(i,"mouseover",e)},t.prototype.mouseout=function(e){var t=e.zrEventControl;"only_globalout"!==t&&this.dispatchToElement(this._hovered,"mouseout",e),"no_globalout"!==t&&this.trigger("globalout",{type:"globalout",event:e})},t.prototype.resize=function(){this._hovered=new fn(0,0)},t.prototype.dispatch=function(e,t){var n=this[e];n&&n.call(this,t)},t.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},t.prototype.setCursorStyle=function(e){var t=this.proxy;t.setCursor&&t.setCursor(e)},t.prototype.dispatchToElement=function(e,t,n){var r=(e=e||{}).target;if(!r||!r.silent){for(var a="on"+t,o=function(e,t,n){return{type:e,event:n,target:t.target,topTarget:t.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:dn}}(t,e,n);r&&(r[a]&&(o.cancelBubble=!!r[a].call(r,o)),r.trigger(t,o),r=r.__hostTarget?r.__hostTarget:r.parent,!o.cancelBubble););o.cancelBubble||(this.trigger(t,o),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer((function(e){"function"==typeof e[a]&&e[a].call(e,o),e.trigger&&e.trigger(t,o)})))}},t.prototype.findHover=function(e,t,n){var r=this.storage.getDisplayList(),a=new fn(e,t);if(yn(r,a,e,t,n),this._pointerSize&&!a.target){for(var o=[],i=this._pointerSize,s=i/2,l=new un(e-s,t-s,i,i),u=r.length-1;u>=0;u--){var c=r[u];c===n||c.ignore||c.ignoreCoarsePointer||c.parent&&c.parent.ignoreCoarsePointer||(mn.copy(c.getBoundingRect()),c.transform&&mn.applyTransform(c.transform),mn.intersect(l)&&o.push(c))}if(o.length)for(var d=Math.PI/12,p=2*Math.PI,f=0;f=0;o--){var i=e[o],s=void 0;if(i!==a&&!i.ignore&&(s=vn(i,n,r))&&(!t.topTarget&&(t.topTarget=i),s!==cn)){t.target=i;break}}}function bn(e,t,n){var r=e.painter;return t<0||t>r.getWidth()||n<0||n>r.getHeight()}ee(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(e){gn.prototype[e]=function(t){var n,r,a=t.zrX,o=t.zrY,i=bn(this,a,o);if("mouseup"===e&&i||(r=(n=this.findHover(a,o)).target),"mousedown"===e)this._downEl=r,this._downPoint=[t.zrX,t.zrY],this._upEl=r;else if("mouseup"===e)this._upEl=r;else if("click"===e){if(this._downEl!==this._upEl||!this._downPoint||it(this._downPoint,[t.zrX,t.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,e,t)}}));const wn=gn;var xn=7;function Sn(e,t,n,r){var a=t+1;if(a===n)return 1;if(r(e[a++],e[t])<0){for(;a=0;)a++;return a-t}function _n(e,t,n,r,a){for(r===t&&r++;r>>1])<0?l=o:s=o+1;var u=r-s;switch(u){case 3:e[s+3]=e[s+2];case 2:e[s+2]=e[s+1];case 1:e[s+1]=e[s];break;default:for(;u>0;)e[s+u]=e[s+u-1],u--}e[s]=i}}function An(e,t,n,r,a,o){var i=0,s=0,l=1;if(o(e,t[n+a])>0){for(s=r-a;l0;)i=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),i+=a,l+=a}else{for(s=a+1;ls&&(l=s);var u=i;i=a-l,l=a-u}for(i++;i>>1);o(e,t[n+c])>0?i=c+1:l=c}return l}function Cn(e,t,n,r,a,o){var i=0,s=0,l=1;if(o(e,t[n+a])<0){for(s=a+1;ls&&(l=s);var u=i;i=a-l,l=a-u}else{for(s=r-a;l=0;)i=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),i+=a,l+=a}for(i++;i>>1);o(e,t[n+c])<0?l=c:i=c+1}return l}function Tn(e,t,n,r){n||(n=0),r||(r=e.length);var a=r-n;if(!(a<2)){var o=0;if(a<32)_n(e,n,r,n+(o=Sn(e,n,r,t)),t);else{var i=function(e,t){var n,r,a=xn,o=0,i=[];function s(s){var l=n[s],u=r[s],c=n[s+1],d=r[s+1];r[s]=u+d,s===o-3&&(n[s+1]=n[s+2],r[s+1]=r[s+2]),o--;var p=Cn(e[c],e,l,u,0,t);l+=p,0!=(u-=p)&&0!==(d=An(e[l+u-1],e,c,d,d-1,t))&&(u<=d?function(n,r,o,s){var l=0;for(l=0;l=xn||f>=xn);if(h)break;m<0&&(m=0),m+=2}if((a=m)<1&&(a=1),1===r){for(l=0;l=0;l--)e[f+l]=e[p+l];if(0===r){v=!0;break}}if(e[d--]=i[c--],1==--s){v=!0;break}if(0!=(g=s-An(e[u],i,0,s,s-1,t))){for(s-=g,f=1+(d-=g),p=1+(c-=g),l=0;l=xn||g>=xn);if(v)break;h<0&&(h=0),h+=2}if((a=h)<1&&(a=1),1===s){for(f=1+(d-=r),p=1+(u-=r),l=r-1;l>=0;l--)e[f+l]=e[p+l];e[d]=i[c]}else{if(0===s)throw new Error;for(p=d-(s-1),l=0;l=0;l--)e[f+l]=e[p+l];e[d]=i[c]}else for(p=d-(s-1),l=0;l1;){var e=o-2;if(e>=1&&r[e-1]<=r[e]+r[e+1]||e>=2&&r[e-2]<=r[e]+r[e-1])r[e-1]r[e+1])break;s(e)}},forceMergeRuns:function(){for(;o>1;){var e=o-2;e>0&&r[e-1]=32;)t|=1&e,e>>=1;return e+t}(a);do{if((o=Sn(e,n,r,t))s&&(l=s),_n(e,n,n+l,n+o,t),o=l}i.pushRun(n,o),i.mergeRuns(),a-=o,n+=o}while(0!==a);i.forceMergeRuns()}}}var kn=1,En=4,Mn=!1;function Pn(){Mn||(Mn=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function On(e,t){return e.zlevel===t.zlevel?e.z===t.z?e.z2-t.z2:e.z-t.z:e.zlevel-t.zlevel}var In=function(){function e(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=On}return e.prototype.traverse=function(e,t){for(var n=0;n0&&(u.__clipPaths=[]),isNaN(u.z)&&(Pn(),u.z=0),isNaN(u.z2)&&(Pn(),u.z2=0),isNaN(u.zlevel)&&(Pn(),u.zlevel=0),this._displayList[this._displayListLen++]=u}var c=e.getDecalElement&&e.getDecalElement();c&&this._updateAndAddDisplayable(c,t,n);var d=e.getTextGuideLine();d&&this._updateAndAddDisplayable(d,t,n);var p=e.getTextContent();p&&this._updateAndAddDisplayable(p,t,n)}},e.prototype.addRoot=function(e){e.__zr&&e.__zr.storage===this||this._roots.push(e)},e.prototype.delRoot=function(e){if(e instanceof Array)for(var t=0,n=e.length;t=0&&this._roots.splice(r,1)}},e.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},e.prototype.getRoots=function(){return this._roots},e.prototype.dispose=function(){this._displayList=null,this._roots=null},e}();const Dn=In,Rn=x.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(e){return setTimeout(e,16)};var Nn={linear:function(e){return e},quadraticIn:function(e){return e*e},quadraticOut:function(e){return e*(2-e)},quadraticInOut:function(e){return(e*=2)<1?.5*e*e:-.5*(--e*(e-2)-1)},cubicIn:function(e){return e*e*e},cubicOut:function(e){return--e*e*e+1},cubicInOut:function(e){return(e*=2)<1?.5*e*e*e:.5*((e-=2)*e*e+2)},quarticIn:function(e){return e*e*e*e},quarticOut:function(e){return 1- --e*e*e*e},quarticInOut:function(e){return(e*=2)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)},quinticIn:function(e){return e*e*e*e*e},quinticOut:function(e){return--e*e*e*e*e+1},quinticInOut:function(e){return(e*=2)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)},sinusoidalIn:function(e){return 1-Math.cos(e*Math.PI/2)},sinusoidalOut:function(e){return Math.sin(e*Math.PI/2)},sinusoidalInOut:function(e){return.5*(1-Math.cos(Math.PI*e))},exponentialIn:function(e){return 0===e?0:Math.pow(1024,e-1)},exponentialOut:function(e){return 1===e?1:1-Math.pow(2,-10*e)},exponentialInOut:function(e){return 0===e?0:1===e?1:(e*=2)<1?.5*Math.pow(1024,e-1):.5*(2-Math.pow(2,-10*(e-1)))},circularIn:function(e){return 1-Math.sqrt(1-e*e)},circularOut:function(e){return Math.sqrt(1- --e*e)},circularInOut:function(e){return(e*=2)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},elasticIn:function(e){var t,n=.1;return 0===e?0:1===e?1:(!n||n<1?(n=1,t=.1):t=.4*Math.asin(1/n)/(2*Math.PI),-n*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/.4))},elasticOut:function(e){var t,n=.1;return 0===e?0:1===e?1:(!n||n<1?(n=1,t=.1):t=.4*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/.4)+1)},elasticInOut:function(e){var t,n=.1;return 0===e?0:1===e?1:(!n||n<1?(n=1,t=.1):t=.4*Math.asin(1/n)/(2*Math.PI),(e*=2)<1?n*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/.4)*-.5:n*Math.pow(2,-10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/.4)*.5+1)},backIn:function(e){var t=1.70158;return e*e*((t+1)*e-t)},backOut:function(e){var t=1.70158;return--e*e*((t+1)*e+t)+1},backInOut:function(e){var t=2.5949095;return(e*=2)<1?e*e*((t+1)*e-t)*.5:.5*((e-=2)*e*((t+1)*e+t)+2)},bounceIn:function(e){return 1-Nn.bounceOut(1-e)},bounceOut:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},bounceInOut:function(e){return e<.5?.5*Nn.bounceIn(2*e):.5*Nn.bounceOut(2*e-1)+.5}};const Ln=Nn;var $n=Math.pow,jn=Math.sqrt,Fn=1e-8,Bn=1e-4,zn=jn(3),Wn=1/3,Vn=Ve(),Un=Ve(),Hn=Ve();function qn(e){return e>-Fn&&eFn||e<-Fn}function Yn(e,t,n,r,a){var o=1-a;return o*o*(o*e+3*a*t)+a*a*(a*r+3*o*n)}function Xn(e,t,n,r,a){var o=1-a;return 3*(((t-e)*o+2*(n-t)*a)*o+(r-n)*a*a)}function Kn(e,t,n,r,a,o){var i=r+3*(t-n)-e,s=3*(n-2*t+e),l=3*(t-e),u=e-a,c=s*s-3*i*l,d=s*l-9*i*u,p=l*l-3*s*u,f=0;if(qn(c)&&qn(d))qn(s)?o[0]=0:(A=-l/s)>=0&&A<=1&&(o[f++]=A);else{var h=d*d-4*c*p;if(qn(h)){var m=d/c,g=-m/2;(A=-s/i+m)>=0&&A<=1&&(o[f++]=A),g>=0&&g<=1&&(o[f++]=g)}else if(h>0){var v=jn(h),y=c*s+1.5*i*(-d+v),b=c*s+1.5*i*(-d-v);(A=(-s-((y=y<0?-$n(-y,Wn):$n(y,Wn))+(b=b<0?-$n(-b,Wn):$n(b,Wn))))/(3*i))>=0&&A<=1&&(o[f++]=A)}else{var w=(2*c*s-3*i*d)/(2*jn(c*c*c)),x=Math.acos(w)/3,S=jn(c),_=Math.cos(x),A=(-s-2*S*_)/(3*i),C=(g=(-s+S*(_+zn*Math.sin(x)))/(3*i),(-s+S*(_-zn*Math.sin(x)))/(3*i));A>=0&&A<=1&&(o[f++]=A),g>=0&&g<=1&&(o[f++]=g),C>=0&&C<=1&&(o[f++]=C)}}return f}function Qn(e,t,n,r,a){var o=6*n-12*t+6*e,i=9*t+3*r-3*e-9*n,s=3*t-3*e,l=0;if(qn(i))Gn(o)&&(c=-s/o)>=0&&c<=1&&(a[l++]=c);else{var u=o*o-4*i*s;if(qn(u))a[0]=-o/(2*i);else if(u>0){var c,d=jn(u),p=(-o-d)/(2*i);(c=(-o+d)/(2*i))>=0&&c<=1&&(a[l++]=c),p>=0&&p<=1&&(a[l++]=p)}}return l}function Zn(e,t,n,r,a,o){var i=(t-e)*a+e,s=(n-t)*a+t,l=(r-n)*a+n,u=(s-i)*a+i,c=(l-s)*a+s,d=(c-u)*a+u;o[0]=e,o[1]=i,o[2]=u,o[3]=d,o[4]=d,o[5]=c,o[6]=l,o[7]=r}function Jn(e,t,n,r,a,o,i,s,l,u,c){var d,p,f,h,m,g=.005,v=1/0;Vn[0]=l,Vn[1]=u;for(var y=0;y<1;y+=.05)Un[0]=Yn(e,n,a,i,y),Un[1]=Yn(t,r,o,s,y),(h=lt(Vn,Un))=0&&h=0&&g=1?1:Kn(0,r,o,1,e,s)&&Yn(0,a,i,1,s[0])}}}const ur=function(){function e(e){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=e.life||1e3,this._delay=e.delay||0,this.loop=e.loop||!1,this.onframe=e.onframe||Fe,this.ondestroy=e.ondestroy||Fe,this.onrestart=e.onrestart||Fe,e.easing&&this.setEasing(e.easing)}return e.prototype.step=function(e,t){if(this._inited||(this._startTime=e+this._delay,this._inited=!0),!this._paused){var n=this._life,r=e-this._startTime-this._pausedTime,a=r/n;a<0&&(a=0),a=Math.min(a,1);var o=this.easingFunc,i=o?o(a):a;if(this.onframe(i),1===a){if(!this.loop)return!0;var s=r%n;this._startTime=e-s,this._pausedTime=0,this.onrestart()}return!1}this._pausedTime+=t},e.prototype.pause=function(){this._paused=!0},e.prototype.resume=function(){this._paused=!1},e.prototype.setEasing=function(e){this.easing=e,this.easingFunc=ue(e)?e:Ln[e]||lr(e)},e}();var cr=function(e){this.value=e},dr=function(){function e(){this._len=0}return e.prototype.insert=function(e){var t=new cr(e);return this.insertEntry(t),t},e.prototype.insertEntry=function(e){this.head?(this.tail.next=e,e.prev=this.tail,e.next=null,this.tail=e):this.head=this.tail=e,this._len++},e.prototype.remove=function(e){var t=e.prev,n=e.next;t?t.next=n:this.head=n,n?n.prev=t:this.tail=t,e.next=e.prev=null,this._len--},e.prototype.len=function(){return this._len},e.prototype.clear=function(){this.head=this.tail=null,this._len=0},e}(),pr=function(){function e(e){this._list=new dr,this._maxSize=10,this._map={},this._maxSize=e}return e.prototype.put=function(e,t){var n=this._list,r=this._map,a=null;if(null==r[e]){var o=n.len(),i=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var s=n.head;n.remove(s),delete r[s.key],a=s.value,this._lastRemovedEntry=s}i?i.value=t:i=new cr(t),i.key=e,n.insertEntry(i),r[e]=i}return a},e.prototype.get=function(e){var t=this._map[e],n=this._list;if(null!=t)return t!==n.tail&&(n.remove(t),n.insertEntry(t)),t.value},e.prototype.clear=function(){this._list.clear(),this._map={}},e.prototype.len=function(){return this._list.len()},e}();const fr=pr;var hr={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function mr(e){return(e=Math.round(e))<0?0:e>255?255:e}function gr(e){return e<0?0:e>1?1:e}function vr(e){var t=e;return t.length&&"%"===t.charAt(t.length-1)?mr(parseFloat(t)/100*255):mr(parseInt(t,10))}function yr(e){var t=e;return t.length&&"%"===t.charAt(t.length-1)?gr(parseFloat(t)/100):gr(parseFloat(t))}function br(e,t,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?e+(t-e)*n*6:2*n<1?t:3*n<2?e+(t-e)*(2/3-n)*6:e}function wr(e,t,n){return e+(t-e)*n}function xr(e,t,n,r,a){return e[0]=t,e[1]=n,e[2]=r,e[3]=a,e}function Sr(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}var _r=new fr(20),Ar=null;function Cr(e,t){Ar&&Sr(Ar,t),Ar=_r.put(e,Ar||t.slice())}function Tr(e,t){if(e){t=t||[];var n=_r.get(e);if(n)return Sr(t,n);var r=(e+="").replace(/ /g,"").toLowerCase();if(r in hr)return Sr(t,hr[r]),Cr(e,t),t;var a,o=r.length;if("#"===r.charAt(0))return 4===o||5===o?(a=parseInt(r.slice(1,4),16))>=0&&a<=4095?(xr(t,(3840&a)>>4|(3840&a)>>8,240&a|(240&a)>>4,15&a|(15&a)<<4,5===o?parseInt(r.slice(4),16)/15:1),Cr(e,t),t):void xr(t,0,0,0,1):7===o||9===o?(a=parseInt(r.slice(1,7),16))>=0&&a<=16777215?(xr(t,(16711680&a)>>16,(65280&a)>>8,255&a,9===o?parseInt(r.slice(7),16)/255:1),Cr(e,t),t):void xr(t,0,0,0,1):void 0;var i=r.indexOf("("),s=r.indexOf(")");if(-1!==i&&s+1===o){var l=r.substr(0,i),u=r.substr(i+1,s-(i+1)).split(","),c=1;switch(l){case"rgba":if(4!==u.length)return 3===u.length?xr(t,+u[0],+u[1],+u[2],1):xr(t,0,0,0,1);c=yr(u.pop());case"rgb":return u.length>=3?(xr(t,vr(u[0]),vr(u[1]),vr(u[2]),3===u.length?c:yr(u[3])),Cr(e,t),t):void xr(t,0,0,0,1);case"hsla":return 4!==u.length?void xr(t,0,0,0,1):(u[3]=yr(u[3]),kr(u,t),Cr(e,t),t);case"hsl":return 3!==u.length?void xr(t,0,0,0,1):(kr(u,t),Cr(e,t),t);default:return}}xr(t,0,0,0,1)}}function kr(e,t){var n=(parseFloat(e[0])%360+360)%360/360,r=yr(e[1]),a=yr(e[2]),o=a<=.5?a*(r+1):a+r-a*r,i=2*a-o;return xr(t=t||[],mr(255*br(i,o,n+1/3)),mr(255*br(i,o,n)),mr(255*br(i,o,n-1/3)),1),4===e.length&&(t[3]=e[3]),t}function Er(e,t){var n=Tr(e);if(n){for(var r=0;r<3;r++)n[r]=t<0?n[r]*(1-t)|0:(255-n[r])*t+n[r]|0,n[r]>255?n[r]=255:n[r]<0&&(n[r]=0);return Lr(n,4===n.length?"rgba":"rgb")}}function Mr(e){var t=Tr(e);if(t)return((1<<24)+(t[0]<<16)+(t[1]<<8)+ +t[2]).toString(16).slice(1)}function Pr(e,t,n){if(t&&t.length&&e>=0&&e<=1){n=n||[];var r=e*(t.length-1),a=Math.floor(r),o=Math.ceil(r),i=t[a],s=t[o],l=r-a;return n[0]=mr(wr(i[0],s[0],l)),n[1]=mr(wr(i[1],s[1],l)),n[2]=mr(wr(i[2],s[2],l)),n[3]=gr(wr(i[3],s[3],l)),n}}var Or=Pr;function Ir(e,t,n){if(t&&t.length&&e>=0&&e<=1){var r=e*(t.length-1),a=Math.floor(r),o=Math.ceil(r),i=Tr(t[a]),s=Tr(t[o]),l=r-a,u=Lr([mr(wr(i[0],s[0],l)),mr(wr(i[1],s[1],l)),mr(wr(i[2],s[2],l)),gr(wr(i[3],s[3],l))],"rgba");return n?{color:u,leftIndex:a,rightIndex:o,value:r}:u}}var Dr=Ir;function Rr(e,t,n,r){var a=Tr(e);if(e)return a=function(e){if(e){var t,n,r=e[0]/255,a=e[1]/255,o=e[2]/255,i=Math.min(r,a,o),s=Math.max(r,a,o),l=s-i,u=(s+i)/2;if(0===l)t=0,n=0;else{n=u<.5?l/(s+i):l/(2-s-i);var c=((s-r)/6+l/2)/l,d=((s-a)/6+l/2)/l,p=((s-o)/6+l/2)/l;r===s?t=p-d:a===s?t=1/3+c-p:o===s&&(t=2/3+d-c),t<0&&(t+=1),t>1&&(t-=1)}var f=[360*t,n,u];return null!=e[3]&&f.push(e[3]),f}}(a),null!=t&&(a[0]=function(e){return(e=Math.round(e))<0?0:e>360?360:e}(t)),null!=n&&(a[1]=yr(n)),null!=r&&(a[2]=yr(r)),Lr(kr(a),"rgba")}function Nr(e,t){var n=Tr(e);if(n&&null!=t)return n[3]=gr(t),Lr(n,"rgba")}function Lr(e,t){if(e&&e.length){var n=e[0]+","+e[1]+","+e[2];return"rgba"!==t&&"hsva"!==t&&"hsla"!==t||(n+=","+e[3]),t+"("+n+")"}}function $r(e,t){var n=Tr(e);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*t:0}function jr(){return Lr([Math.round(255*Math.random()),Math.round(255*Math.random()),Math.round(255*Math.random())],"rgb")}var Fr=new fr(100);function Br(e){if(ce(e)){var t=Fr.get(e);return t||(t=Er(e,-.1),Fr.put(e,t)),t}if(ve(e)){var n=G({},e);return n.colorStops=te(e.colorStops,(function(e){return{offset:e.offset,color:Er(e.color,-.1)}})),n}return e}var zr=Math.round;function Wr(e){var t;if(e&&"transparent"!==e){if("string"==typeof e&&e.indexOf("rgba")>-1){var n=Tr(e);n&&(e="rgb("+n[0]+","+n[1]+","+n[2]+")",t=n[3])}}else e="none";return{color:e,opacity:null==t?1:t}}var Vr=1e-4;function Ur(e){return e-Vr}function Hr(e){return zr(1e3*e)/1e3}function qr(e){return zr(1e4*e)/1e4}var Gr={left:"start",right:"end",center:"middle",middle:"middle"};function Yr(e){return e&&!!e.image}function Xr(e){return Yr(e)||function(e){return e&&!!e.svgElement}(e)}function Kr(e){return"linear"===e.type}function Qr(e){return"radial"===e.type}function Zr(e){return e&&("linear"===e.type||"radial"===e.type)}function Jr(e){return"url(#"+e+")"}function ea(e){var t=e.getGlobalScale(),n=Math.max(t[0],t[1]);return Math.max(Math.ceil(Math.log(n)/Math.log(10)),1)}function ta(e){var t=e.x||0,n=e.y||0,r=(e.rotation||0)*Be,a=Se(e.scaleX,1),o=Se(e.scaleY,1),i=e.skewX||0,s=e.skewY||0,l=[];return(t||n)&&l.push("translate("+t+"px,"+n+"px)"),r&&l.push("rotate("+r+")"),1===a&&1===o||l.push("scale("+a+","+o+")"),(i||s)&&l.push("skew("+zr(i*Be)+"deg, "+zr(s*Be)+"deg)"),l.join(" ")}var na=x.hasGlobalWindow&&ue(window.btoa)?function(e){return window.btoa(unescape(encodeURIComponent(e)))}:"undefined"!=typeof Buffer?function(e){return Buffer.from(e).toString("base64")}:function(e){return null},ra=Array.prototype.slice;function aa(e,t,n){return(t-e)*n+e}function oa(e,t,n,r){for(var a=t.length,o=0;or?t:e,o=Math.min(n,r),i=a[o-1]||{color:[0,0,0,0],offset:0},s=o;si)r.length=i;else for(var s=o;s=1},e.prototype.getAdditiveTrack=function(){return this._additiveTrack},e.prototype.addKeyframe=function(e,t,n){this._needsSort=!0;var r=this.keyframes,a=r.length,o=!1,i=6,s=t;if(J(t)){var l=function(e){return J(e&&e[0])?2:1}(t);i=l,(1===l&&!pe(t[0])||2===l&&!pe(t[0][0]))&&(o=!0)}else if(pe(t)&&!we(t))i=0;else if(ce(t))if(isNaN(+t)){var u=Tr(t);u&&(s=u,i=3)}else i=0;else if(ve(t)){var c=G({},s);c.colorStops=te(t.colorStops,(function(e){return{offset:e.offset,color:Tr(e.color)}})),Kr(t)?i=4:Qr(t)&&(i=5),s=c}0===a?this.valType=i:i===this.valType&&6!==i||(o=!0),this.discrete=this.discrete||o;var d={time:e,value:s,rawValue:t,percent:0};return n&&(d.easing=n,d.easingFunc=ue(n)?n:Ln[n]||lr(n)),r.push(d),d},e.prototype.prepare=function(e,t){var n=this.keyframes;this._needsSort&&n.sort((function(e,t){return e.time-t.time}));for(var r=this.valType,a=n.length,o=n[a-1],i=this.discrete,s=fa(r),l=pa(r),u=0;u=0&&!(l[n].percent<=t);n--);n=f(n,u-2)}else{for(n=p;nt);n++);n=f(n-1,u-2)}a=l[n+1],r=l[n]}if(r&&a){this._lastFr=n,this._lastFrP=t;var h=a.percent-r.percent,m=0===h?1:f((t-r.percent)/h,1);a.easingFunc&&(m=a.easingFunc(m));var g=o?this._additiveValue:d?ha:e[c];if(!fa(s)&&!d||g||(g=this._additiveValue=[]),this.discrete)e[c]=m<1?r.rawValue:a.rawValue;else if(fa(s))1===s?oa(g,r[i],a[i],m):function(e,t,n,r){for(var a=t.length,o=a&&t[0].length,i=0;i0&&s.addKeyframe(0,ca(l),r),this._trackKeys.push(i)}s.addKeyframe(e,ca(t[i]),r)}return this._maxTime=Math.max(this._maxTime,e),this},e.prototype.pause=function(){this._clip.pause(),this._paused=!0},e.prototype.resume=function(){this._clip.resume(),this._paused=!1},e.prototype.isPaused=function(){return!!this._paused},e.prototype.duration=function(e){return this._maxTime=e,this._force=!0,this},e.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var e=this._doneCbs;if(e)for(var t=e.length,n=0;n0)){this._started=1;for(var t=this,n=[],r=this._maxTime||0,a=0;a1){var i=o.pop();a.addKeyframe(i.time,e[r]),a.prepare(this._maxTime,a.getAdditiveTrack())}}}},e}();const va=ga;function ya(){return(new Date).getTime()}var ba=function(e){function t(t){var n=e.call(this)||this;return n._running=!1,n._time=0,n._pausedTime=0,n._pauseStart=0,n._paused=!1,t=t||{},n.stage=t.stage||{},n}return We(t,e),t.prototype.addClip=function(e){e.animation&&this.removeClip(e),this._head?(this._tail.next=e,e.prev=this._tail,e.next=null,this._tail=e):this._head=this._tail=e,e.animation=this},t.prototype.addAnimator=function(e){e.animation=this;var t=e.getClip();t&&this.addClip(t)},t.prototype.removeClip=function(e){if(e.animation){var t=e.prev,n=e.next;t?t.next=n:this._head=n,n?n.prev=t:this._tail=t,e.next=e.prev=e.animation=null}},t.prototype.removeAnimator=function(e){var t=e.getClip();t&&this.removeClip(t),e.animation=null},t.prototype.update=function(e){for(var t=ya()-this._pausedTime,n=t-this._time,r=this._head;r;){var a=r.next;r.step(t,n)?(r.ondestroy(),this.removeClip(r),r=a):r=a}this._time=t,e||(this.trigger("frame",n),this.stage.update&&this.stage.update())},t.prototype._startLoop=function(){var e=this;this._running=!0,Rn((function t(){e._running&&(Rn(t),!e._paused&&e.update())}))},t.prototype.start=function(){this._running||(this._time=ya(),this._pausedTime=0,this._startLoop())},t.prototype.stop=function(){this._running=!1},t.prototype.pause=function(){this._paused||(this._pauseStart=ya(),this._paused=!0)},t.prototype.resume=function(){this._paused&&(this._pausedTime+=ya()-this._pauseStart,this._paused=!1)},t.prototype.clear=function(){for(var e=this._head;e;){var t=e.next;e.prev=e.next=e.animation=null,e=t}this._head=this._tail=null},t.prototype.isFinished=function(){return null==this._head},t.prototype.animate=function(e,t){t=t||{},this.start();var n=new va(e,t.loop);return this.addAnimator(n),n},t}(yt);const wa=ba;var xa,Sa,_a=x.domSupported,Aa=(Sa={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},{mouse:xa=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],touch:["touchstart","touchend","touchmove"],pointer:te(xa,(function(e){var t=e.replace("mouse","pointer");return Sa.hasOwnProperty(t)?t:e}))}),Ca=["mousemove","mouseup"],Ta=["pointermove","pointerup"],ka=!1;function Ea(e){var t=e.pointerType;return"pen"===t||"touch"===t}function Ma(e){e&&(e.zrByTouch=!0)}function Pa(e,t){for(var n=t,r=!1;n&&9!==n.nodeType&&!(r=n.domBelongToZr||n!==t&&n===e.painterRoot);)n=n.parentNode;return r}var Oa=function(e,t){this.stopPropagation=Fe,this.stopImmediatePropagation=Fe,this.preventDefault=Fe,this.type=t.type,this.target=this.currentTarget=e.dom,this.pointerType=t.pointerType,this.clientX=t.clientX,this.clientY=t.clientY},Ia={mousedown:function(e){e=Nt(this.dom,e),this.__mayPointerCapture=[e.zrX,e.zrY],this.trigger("mousedown",e)},mousemove:function(e){e=Nt(this.dom,e);var t=this.__mayPointerCapture;!t||e.zrX===t[0]&&e.zrY===t[1]||this.__togglePointerCapture(!0),this.trigger("mousemove",e)},mouseup:function(e){e=Nt(this.dom,e),this.__togglePointerCapture(!1),this.trigger("mouseup",e)},mouseout:function(e){Pa(this,(e=Nt(this.dom,e)).toElement||e.relatedTarget)||(this.__pointerCapturing&&(e.zrEventControl="no_globalout"),this.trigger("mouseout",e))},wheel:function(e){ka=!0,e=Nt(this.dom,e),this.trigger("mousewheel",e)},mousewheel:function(e){ka||(e=Nt(this.dom,e),this.trigger("mousewheel",e))},touchstart:function(e){Ma(e=Nt(this.dom,e)),this.__lastTouchMoment=new Date,this.handler.processGesture(e,"start"),Ia.mousemove.call(this,e),Ia.mousedown.call(this,e)},touchmove:function(e){Ma(e=Nt(this.dom,e)),this.handler.processGesture(e,"change"),Ia.mousemove.call(this,e)},touchend:function(e){Ma(e=Nt(this.dom,e)),this.handler.processGesture(e,"end"),Ia.mouseup.call(this,e),+new Date-+this.__lastTouchMoment<300&&Ia.click.call(this,e)},pointerdown:function(e){Ia.mousedown.call(this,e)},pointermove:function(e){Ea(e)||Ia.mousemove.call(this,e)},pointerup:function(e){Ia.mouseup.call(this,e)},pointerout:function(e){Ea(e)||Ia.mouseout.call(this,e)}};ee(["click","dblclick","contextmenu"],(function(e){Ia[e]=function(t){t=Nt(this.dom,t),this.trigger(e,t)}}));var Da={pointermove:function(e){Ea(e)||Da.mousemove.call(this,e)},pointerup:function(e){Da.mouseup.call(this,e)},mousemove:function(e){this.trigger("mousemove",e)},mouseup:function(e){var t=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",e),t&&(e.zrEventControl="only_globalout",this.trigger("mouseout",e))}};function Ra(e,t,n,r){e.mounted[t]=n,e.listenerOpts[t]=r,Lt(e.domTarget,t,n,r)}function Na(e){var t,n,r,a,o=e.mounted;for(var i in o)o.hasOwnProperty(i)&&(t=e.domTarget,n=i,r=o[i],a=e.listenerOpts[i],t.removeEventListener(n,r,a));e.mounted={}}var La=function(e,t){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=e,this.domHandlers=t};const $a=function(e){function t(t,n){var r,a,o,i=e.call(this)||this;return i.__pointerCapturing=!1,i.dom=t,i.painterRoot=n,i._localHandlerScope=new La(t,Ia),_a&&(i._globalHandlerScope=new La(document,Da)),r=i,a=i._localHandlerScope,o=a.domHandlers,x.pointerEventsSupported?ee(Aa.pointer,(function(e){Ra(a,e,(function(t){o[e].call(r,t)}))})):(x.touchEventsSupported&&ee(Aa.touch,(function(e){Ra(a,e,(function(t){o[e].call(r,t),function(e){e.touching=!0,null!=e.touchTimer&&(clearTimeout(e.touchTimer),e.touchTimer=null),e.touchTimer=setTimeout((function(){e.touching=!1,e.touchTimer=null}),700)}(a)}))})),ee(Aa.mouse,(function(e){Ra(a,e,(function(t){t=Rt(t),a.touching||o[e].call(r,t)}))}))),i}return We(t,e),t.prototype.dispose=function(){Na(this._localHandlerScope),_a&&Na(this._globalHandlerScope)},t.prototype.setCursor=function(e){this.dom.style&&(this.dom.style.cursor=e||"default")},t.prototype.__togglePointerCapture=function(e){if(this.__mayPointerCapture=null,_a&&+this.__pointerCapturing^+e){this.__pointerCapturing=e;var t=this._globalHandlerScope;e?function(e,t){function n(n){Ra(t,n,(function(r){r=Rt(r),Pa(e,r.target)||(r=function(e,t){return Nt(e.dom,new Oa(e,t),!0)}(e,r),t.domHandlers[n].call(e,r))}),{capture:!0})}x.pointerEventsSupported?ee(Ta,n):x.touchEventsSupported||ee(Ca,n)}(this,t):Na(t)}},t}(yt);var ja=1;x.hasGlobalWindow&&(ja=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var Fa=ja,Ba="#333",za="#ccc",Wa=Vt;function Va(e){return e>5e-5||e<-5e-5}var Ua=[],Ha=[],qa=[1,0,0,1,0,0],Ga=Math.abs,Ya=function(){function e(){}return e.prototype.getLocalTransform=function(t){return e.getLocalTransform(this,t)},e.prototype.setPosition=function(e){this.x=e[0],this.y=e[1]},e.prototype.setScale=function(e){this.scaleX=e[0],this.scaleY=e[1]},e.prototype.setSkew=function(e){this.skewX=e[0],this.skewY=e[1]},e.prototype.setOrigin=function(e){this.originX=e[0],this.originY=e[1]},e.prototype.needLocalTransform=function(){return Va(this.rotation)||Va(this.x)||Va(this.y)||Va(this.scaleX-1)||Va(this.scaleY-1)||Va(this.skewX)||Va(this.skewY)},e.prototype.updateTransform=function(){var e=this.parent&&this.parent.transform,t=this.needLocalTransform(),n=this.transform;t||e?(n=n||[1,0,0,1,0,0],t?this.getLocalTransform(n):Wa(n),e&&(t?Ht(n,e,n):Ut(n,e)),this.transform=n,this._resolveGlobalScaleRatio(n)):n&&(Wa(n),this.invTransform=null)},e.prototype._resolveGlobalScaleRatio=function(e){var t=this.globalScaleRatio;if(null!=t&&1!==t){this.getGlobalScale(Ua);var n=Ua[0]<0?-1:1,r=Ua[1]<0?-1:1,a=((Ua[0]-n)*t+n)/Ua[0]||0,o=((Ua[1]-r)*t+r)/Ua[1]||0;e[0]*=a,e[1]*=a,e[2]*=o,e[3]*=o}this.invTransform=this.invTransform||[1,0,0,1,0,0],Xt(this.invTransform,e)},e.prototype.getComputedTransform=function(){for(var e=this,t=[];e;)t.push(e),e=e.parent;for(;e=t.pop();)e.updateTransform();return this.transform},e.prototype.setLocalTransform=function(e){if(e){var t=e[0]*e[0]+e[1]*e[1],n=e[2]*e[2]+e[3]*e[3],r=Math.atan2(e[1],e[0]),a=Math.PI/2+r-Math.atan2(e[3],e[2]);n=Math.sqrt(n)*Math.cos(a),t=Math.sqrt(t),this.skewX=a,this.skewY=0,this.rotation=-r,this.x=+e[4],this.y=+e[5],this.scaleX=t,this.scaleY=n,this.originX=0,this.originY=0}},e.prototype.decomposeTransform=function(){if(this.transform){var e=this.parent,t=this.transform;e&&e.transform&&(e.invTransform=e.invTransform||[1,0,0,1,0,0],Ht(Ha,e.invTransform,t),t=Ha);var n=this.originX,r=this.originY;(n||r)&&(qa[4]=n,qa[5]=r,Ht(Ha,t,qa),Ha[4]-=n,Ha[5]-=r,t=Ha),this.setLocalTransform(t)}},e.prototype.getGlobalScale=function(e){var t=this.transform;return e=e||[],t?(e[0]=Math.sqrt(t[0]*t[0]+t[1]*t[1]),e[1]=Math.sqrt(t[2]*t[2]+t[3]*t[3]),t[0]<0&&(e[0]=-e[0]),t[3]<0&&(e[1]=-e[1]),e):(e[0]=1,e[1]=1,e)},e.prototype.transformCoordToLocal=function(e,t){var n=[e,t],r=this.invTransform;return r&&dt(n,n,r),n},e.prototype.transformCoordToGlobal=function(e,t){var n=[e,t],r=this.transform;return r&&dt(n,n,r),n},e.prototype.getLineScale=function(){var e=this.transform;return e&&Ga(e[0]-1)>1e-10&&Ga(e[3]-1)>1e-10?Math.sqrt(Ga(e[0]*e[3]-e[2]*e[1])):1},e.prototype.copyTransform=function(e){Ka(this,e)},e.getLocalTransform=function(e,t){t=t||[];var n=e.originX||0,r=e.originY||0,a=e.scaleX,o=e.scaleY,i=e.anchorX,s=e.anchorY,l=e.rotation||0,u=e.x,c=e.y,d=e.skewX?Math.tan(e.skewX):0,p=e.skewY?Math.tan(-e.skewY):0;if(n||r||i||s){var f=n+i,h=r+s;t[4]=-f*a-d*h*o,t[5]=-h*o-p*f*a}else t[4]=t[5]=0;return t[0]=a,t[3]=o,t[1]=p*a,t[2]=d*o,l&&Gt(t,t,l),t[4]+=n+u,t[5]+=r+c,t},e.initDefaultProps=function(){var t=e.prototype;t.scaleX=t.scaleY=t.globalScaleRatio=1,t.x=t.y=t.originX=t.originY=t.skewX=t.skewY=t.rotation=t.anchorX=t.anchorY=0}(),e}(),Xa=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function Ka(e,t){for(var n=0;n=0?parseFloat(e)/100*t:parseFloat(e):e}function io(e,t,n){var r=t.position||"inside",a=null!=t.distance?t.distance:5,o=n.height,i=n.width,s=o/2,l=n.x,u=n.y,c="left",d="top";if(r instanceof Array)l+=oo(r[0],n.width),u+=oo(r[1],n.height),c=null,d=null;else switch(r){case"left":l-=a,u+=s,c="right",d="middle";break;case"right":l+=a+i,u+=s,d="middle";break;case"top":l+=i/2,u-=a,c="center",d="bottom";break;case"bottom":l+=i/2,u+=o+a,c="center";break;case"inside":l+=i/2,u+=s,c="center",d="middle";break;case"insideLeft":l+=a,u+=s,d="middle";break;case"insideRight":l+=i-a,u+=s,c="right",d="middle";break;case"insideTop":l+=i/2,u+=a,c="center";break;case"insideBottom":l+=i/2,u+=o-a,c="center",d="bottom";break;case"insideTopLeft":l+=a,u+=a;break;case"insideTopRight":l+=i-a,u+=a,c="right";break;case"insideBottomLeft":l+=a,u+=o-a,d="bottom";break;case"insideBottomRight":l+=i-a,u+=o-a,c="right",d="bottom"}return(e=e||{}).x=l,e.y=u,e.align=c,e.verticalAlign=d,e}var so="__zr_normal__",lo=Xa.concat(["ignore"]),uo=ne(Xa,(function(e,t){return e[t]=!0,e}),{ignore:!1}),co={},po=new un(0,0,0,0),fo=function(){function e(e){this.id=W(),this.animators=[],this.currentStates=[],this.states={},this._init(e)}return e.prototype._init=function(e){this.attr(e)},e.prototype.drift=function(e,t,n){switch(this.draggable){case"horizontal":t=0;break;case"vertical":e=0}var r=this.transform;r||(r=this.transform=[1,0,0,1,0,0]),r[4]+=e,r[5]+=t,this.decomposeTransform(),this.markRedraw()},e.prototype.beforeUpdate=function(){},e.prototype.afterUpdate=function(){},e.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},e.prototype.updateInnerText=function(e){var t=this._textContent;if(t&&(!t.ignore||e)){this.textConfig||(this.textConfig={});var n=this.textConfig,r=n.local,a=t.innerTransformable,o=void 0,i=void 0,s=!1;a.parent=r?this:null;var l=!1;if(a.copyTransform(t),null!=n.position){var u=po;n.layoutRect?u.copy(n.layoutRect):u.copy(this.getBoundingRect()),r||u.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(co,n,u):io(co,n,u),a.x=co.x,a.y=co.y,o=co.align,i=co.verticalAlign;var c=n.origin;if(c&&null!=n.rotation){var d=void 0,p=void 0;"center"===c?(d=.5*u.width,p=.5*u.height):(d=oo(c[0],u.width),p=oo(c[1],u.height)),l=!0,a.originX=-a.x+d+(r?0:u.x),a.originY=-a.y+p+(r?0:u.y)}}null!=n.rotation&&(a.rotation=n.rotation);var f=n.offset;f&&(a.x+=f[0],a.y+=f[1],l||(a.originX=-f[0],a.originY=-f[1]));var h=null==n.inside?"string"==typeof n.position&&n.position.indexOf("inside")>=0:n.inside,m=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),g=void 0,v=void 0,y=void 0;h&&this.canBeInsideText()?(g=n.insideFill,v=n.insideStroke,null!=g&&"auto"!==g||(g=this.getInsideTextFill()),null!=v&&"auto"!==v||(v=this.getInsideTextStroke(g),y=!0)):(g=n.outsideFill,v=n.outsideStroke,null!=g&&"auto"!==g||(g=this.getOutsideFill()),null!=v&&"auto"!==v||(v=this.getOutsideStroke(g),y=!0)),(g=g||"#000")===m.fill&&v===m.stroke&&y===m.autoStroke&&o===m.align&&i===m.verticalAlign||(s=!0,m.fill=g,m.stroke=v,m.autoStroke=y,m.align=o,m.verticalAlign=i,t.setDefaultTextStyle(m)),t.__dirty|=kn,s&&t.dirtyStyle(!0)}},e.prototype.canBeInsideText=function(){return!0},e.prototype.getInsideTextFill=function(){return"#fff"},e.prototype.getInsideTextStroke=function(e){return"#000"},e.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?za:Ba},e.prototype.getOutsideStroke=function(e){var t=this.__zr&&this.__zr.getBackgroundColor(),n="string"==typeof t&&Tr(t);n||(n=[255,255,255,1]);for(var r=n[3],a=this.__zr.isDarkMode(),o=0;o<3;o++)n[o]=n[o]*r+(a?0:255)*(1-r);return n[3]=1,Lr(n,"rgba")},e.prototype.traverse=function(e,t){},e.prototype.attrKV=function(e,t){"textConfig"===e?this.setTextConfig(t):"textContent"===e?this.setTextContent(t):"clipPath"===e?this.setClipPath(t):"extra"===e?(this.extra=this.extra||{},G(this.extra,t)):this[e]=t},e.prototype.hide=function(){this.ignore=!0,this.markRedraw()},e.prototype.show=function(){this.ignore=!1,this.markRedraw()},e.prototype.attr=function(e,t){if("string"==typeof e)this.attrKV(e,t);else if(fe(e))for(var n=oe(e),r=0;r0},e.prototype.getState=function(e){return this.states[e]},e.prototype.ensureState=function(e){var t=this.states;return t[e]||(t[e]={}),t[e]},e.prototype.clearStates=function(e){this.useState(so,!1,e)},e.prototype.useState=function(e,t,n,r){var a=e===so;if(this.hasState()||!a){var o=this.currentStates,i=this.stateTransition;if(!(K(o,e)>=0)||!t&&1!==o.length){var s;if(this.stateProxy&&!a&&(s=this.stateProxy(e)),s||(s=this.states&&this.states[e]),s||a){a||this.saveCurrentToNormalState(s);var l=!!(s&&s.hoverLayer||r);l&&this._toggleHoverLayerFlag(!0),this._applyStateObj(e,s,this._normalState,t,!n&&!this.__inHover&&i&&i.duration>0,i);var u=this._textContent,c=this._textGuide;return u&&u.useState(e,t,n,l),c&&c.useState(e,t,n,l),a?(this.currentStates=[],this._normalState={}):t?this.currentStates.push(e):this.currentStates=[e],this._updateAnimationTargets(),this.markRedraw(),!l&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~kn),s}V("State "+e+" not exists.")}}},e.prototype.useStates=function(e,t,n){if(e.length){var r=[],a=this.currentStates,o=e.length,i=o===a.length;if(i)for(var s=0;s0,f);var h=this._textContent,m=this._textGuide;h&&h.useStates(e,t,d),m&&m.useStates(e,t,d),this._updateAnimationTargets(),this.currentStates=e.slice(),this.markRedraw(),!d&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~kn)}else this.clearStates()},e.prototype.isSilent=function(){for(var e=this.silent,t=this.parent;!e&&t;){if(t.silent){e=!0;break}t=t.parent}return e},e.prototype._updateAnimationTargets=function(){for(var e=0;e=0){var n=this.currentStates.slice();n.splice(t,1),this.useStates(n)}},e.prototype.replaceState=function(e,t,n){var r=this.currentStates.slice(),a=K(r,e),o=K(r,t)>=0;a>=0?o?r.splice(a,1):r[a]=t:n&&!o&&r.push(t),this.useStates(r)},e.prototype.toggleState=function(e,t){t?this.useState(e,!0):this.removeState(e)},e.prototype._mergeStates=function(e){for(var t,n={},r=0;r=0&&t.splice(n,1)})),this.animators.push(e),n&&n.animation.addAnimator(e),n&&n.wakeUp()},e.prototype.updateDuringAnimation=function(e){this.markRedraw()},e.prototype.stopAnimation=function(e,t){for(var n=this.animators,r=n.length,a=[],o=0;o0&&n.during&&o[0].during((function(e,t){n.during(t)}));for(var p=0;p0||a.force&&!i.length){var S,_=void 0,A=void 0,C=void 0;if(s)for(A={},p&&(_={}),w=0;w=0&&(n.splice(r,0,e),this._doAdd(e))}return this},t.prototype.replace=function(e,t){var n=K(this._children,e);return n>=0&&this.replaceAt(t,n),this},t.prototype.replaceAt=function(e,t){var n=this._children,r=n[t];if(e&&e!==this&&e.parent!==this&&e!==r){n[t]=e,r.parent=null;var a=this.__zr;a&&r.removeSelfFromZr(a),this._doAdd(e)}return this},t.prototype._doAdd=function(e){e.parent&&e.parent.remove(e),e.parent=this;var t=this.__zr;t&&t!==e.__zr&&e.addSelfToZr(t),t&&t.refresh()},t.prototype.remove=function(e){var t=this.__zr,n=this._children,r=K(n,e);return r<0||(n.splice(r,1),e.parent=null,t&&e.removeSelfFromZr(t),t&&t.refresh()),this},t.prototype.removeAll=function(){for(var e=this._children,t=this.__zr,n=0;n0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},e.prototype.setSleepAfterStill=function(e){this._sleepAfterStill=e},e.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},e.prototype.refreshHover=function(){this._needsRefreshHover=!0},e.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover())},e.prototype.resize=function(e){this._disposed||(e=e||{},this.painter.resize(e.width,e.height),this.handler.resize())},e.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},e.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},e.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},e.prototype.setCursorStyle=function(e){this._disposed||this.handler.setCursorStyle(e)},e.prototype.findHover=function(e,t){if(!this._disposed)return this.handler.findHover(e,t)},e.prototype.on=function(e,t,n){return this._disposed||this.handler.on(e,t,n),this},e.prototype.off=function(e,t){this._disposed||this.handler.off(e,t)},e.prototype.trigger=function(e,t){this._disposed||this.handler.trigger(e,t)},e.prototype.clear=function(){if(!this._disposed){for(var e=this.storage.getRoots(),t=0;t0){if(e<=a)return i;if(e>=o)return s}else{if(e>=a)return i;if(e<=o)return s}else{if(e===a)return i;if(e===o)return s}return(e-a)/l*u+i}function Lo(e,t){switch(e){case"center":case"middle":e="50%";break;case"left":case"top":e="0%";break;case"right":case"bottom":e="100%"}return ce(e)?(n=e,n.replace(/^\s+|\s+$/g,"")).match(/%$/)?parseFloat(e)/100*t:parseFloat(e):null==e?NaN:+e;var n}function $o(e,t,n){return null==t&&(t=10),t=Math.min(Math.max(0,t),Ro),e=(+e).toFixed(t),n?e:+e}function jo(e){return e.sort((function(e,t){return e-t})),e}function Fo(e){if(e=+e,isNaN(e))return 0;if(e>1e-14)for(var t=1,n=0;n<15;n++,t*=10)if(Math.round(e*t)/t===e)return n;return Bo(e)}function Bo(e){var t=e.toString().toLowerCase(),n=t.indexOf("e"),r=n>0?+t.slice(n+1):0,a=n>0?n:t.length,o=t.indexOf("."),i=o<0?0:a-1-o;return Math.max(0,i-r)}function zo(e,t){var n=Math.log,r=Math.LN10,a=Math.floor(n(e[1]-e[0])/r),o=Math.round(n(Math.abs(t[1]-t[0]))/r),i=Math.min(Math.max(-a+o,0),20);return isFinite(i)?i:20}function Wo(e,t,n){return e[t]&&Vo(e,n)[t]||0}function Vo(e,t){var n=ne(e,(function(e,t){return e+(isNaN(t)?0:t)}),0);if(0===n)return[];for(var r=Math.pow(10,t),a=te(e,(function(e){return(isNaN(e)?0:e)/n*r*100})),o=100*r,i=te(a,(function(e){return Math.floor(e)})),s=ne(i,(function(e,t){return e+t}),0),l=te(a,(function(e,t){return e-i[t]}));su&&(u=l[d],c=d);++i[c],l[c]=0,++s}return te(i,(function(e){return e/r}))}function Uo(e,t){var n=Math.max(Fo(e),Fo(t)),r=e+t;return n>Ro?r:$o(r,n)}var Ho=9007199254740991;function qo(e){var t=2*Math.PI;return(e%t+t)%t}function Go(e){return e>-Do&&e=10&&t++,t}function Zo(e,t){var n=Qo(e),r=Math.pow(10,n),a=e/r;return e=(t?a<1.5?1:a<2.5?2:a<4?3:a<7?5:10:a<1?1:a<2?2:a<3?3:a<5?5:10)*r,n>=-20?+e.toFixed(n<0?-n:0):e}function Jo(e,t){var n=(e.length-1)*t+1,r=Math.floor(n),a=+e[r-1],o=n-r;return o?a+o*(e[r]-a):a}function ei(e){e.sort((function(e,t){return s(e,t,0)?-1:1}));for(var t=-1/0,n=1,r=0;r=0||a&&K(a,s)<0)){var l=n.getShallow(s,t);null!=l&&(o[e[i][0]]=l)}}return o}}var Wi=zi([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),Vi=function(){function e(){}return e.prototype.getAreaStyle=function(e,t){return Wi(this,e,t)},e}(),Ui=new fr(50);function Hi(e){if("string"==typeof e){var t=Ui.get(e);return t&&t.image}return e}function qi(e,t,n,r,a){if(e){if("string"==typeof e){if(t&&t.__zrImageSrc===e||!n)return t;var o=Ui.get(e),i={hostEl:n,cb:r,cbPayload:a};return o?!Yi(t=o.image)&&o.pending.push(i):((t=E.loadImage(e,Gi,Gi)).__zrImageSrc=e,Ui.put(e,t.__cachedImgObj={image:t,pending:[i]})),t}return e}return t}function Gi(){var e=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var t=0;t=i;l++)s-=i;var u=Ja(n,t);return u>s&&(n="",u=0),s=e-u,a.ellipsis=n,a.ellipsisWidth=u,a.contentWidth=s,a.containerWidth=e,a}function Zi(e,t){var n=t.containerWidth,r=t.font,a=t.contentWidth;if(!n)return"";var o=Ja(e,r);if(o<=n)return e;for(var i=0;;i++){if(o<=a||i>=t.maxIterations){e+=t.ellipsis;break}var s=0===i?Ji(e,a,t.ascCharWidth,t.cnCharWidth):o>0?Math.floor(e.length*a/o):0;o=Ja(e=e.substr(0,s),r)}return""===e&&(e=t.placeholder),e}function Ji(e,t,n,r){for(var a=0,o=0,i=e.length;o0&&h+r.accumWidth>r.width&&(o=t.split("\n"),d=!0),r.accumWidth=h}else{var m=is(t,c,r.width,r.breakAll,r.accumWidth);r.accumWidth=m.accumWidth+f,i=m.linesWidths,o=m.lines}}else o=t.split("\n");for(var g=0;g=32&&t<=591||t>=880&&t<=4351||t>=4608&&t<=5119||t>=7680&&t<=8303}(e)||!!as[e]}function is(e,t,n,r,a){for(var o=[],i=[],s="",l="",u=0,c=0,d=0;dn:a+c+f>n)?c?(s||l)&&(h?(s||(s=l,l="",c=u=0),o.push(s),i.push(c-u),l+=p,s="",c=u+=f):(l&&(s+=l,l="",u=0),o.push(s),i.push(c),s=p,c=f)):h?(o.push(l),i.push(u),l=p,u=f):(o.push(p),i.push(f)):(c+=f,h?(l+=p,u+=f):(l&&(s+=l,l="",u=0),s+=p))}else l&&(s+=l,c+=u),o.push(s),i.push(c),s="",l="",u=0,c=0}return o.length||s||(s=e,l="",u=0),l&&(s+=l),s&&(o.push(s),i.push(c)),1===o.length&&(c+=a),{accumWidth:c,lines:o,linesWidths:i}}var ss="__zr_style_"+Math.round(10*Math.random()),ls={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},us={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};ls[ss]=!0;var cs=["z","z2","invisible"],ds=["invisible"],ps=function(e){function t(t){return e.call(this,t)||this}var n;return We(t,e),t.prototype._init=function(t){for(var n=oe(t),r=0;r1e-4)return s[0]=e-n,s[1]=t-r,l[0]=e+n,void(l[1]=t+r);if(xs[0]=bs(a)*n+e,xs[1]=ys(a)*r+t,Ss[0]=bs(o)*n+e,Ss[1]=ys(o)*r+t,u(s,xs,Ss),c(l,xs,Ss),(a%=ws)<0&&(a+=ws),(o%=ws)<0&&(o+=ws),a>o&&!i?o+=ws:aa&&(_s[0]=bs(f)*n+e,_s[1]=ys(f)*r+t,u(s,_s,s),c(l,_s,l))}var Os={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},Is=[],Ds=[],Rs=[],Ns=[],Ls=[],$s=[],js=Math.min,Fs=Math.max,Bs=Math.cos,zs=Math.sin,Ws=Math.abs,Vs=Math.PI,Us=2*Vs,Hs="undefined"!=typeof Float32Array,qs=[];function Gs(e){return Math.round(e/Vs*1e8)/1e8%2*Vs}function Ys(e,t){var n=Gs(e[0]);n<0&&(n+=Us);var r=n-e[0],a=e[1];a+=r,!t&&a-n>=Us?a=n+Us:t&&n-a>=Us?a=n-Us:!t&&n>a?a=n+(Us-Gs(n-a)):t&&n0&&(this._ux=Ws(n/Fa/e)||0,this._uy=Ws(n/Fa/t)||0)},e.prototype.setDPR=function(e){this.dpr=e},e.prototype.setContext=function(e){this._ctx=e},e.prototype.getContext=function(){return this._ctx},e.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},e.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},e.prototype.moveTo=function(e,t){return this._drawPendingPt(),this.addData(Os.M,e,t),this._ctx&&this._ctx.moveTo(e,t),this._x0=e,this._y0=t,this._xi=e,this._yi=t,this},e.prototype.lineTo=function(e,t){var n=Ws(e-this._xi),r=Ws(t-this._yi),a=n>this._ux||r>this._uy;if(this.addData(Os.L,e,t),this._ctx&&a&&this._ctx.lineTo(e,t),a)this._xi=e,this._yi=t,this._pendingPtDist=0;else{var o=n*n+r*r;o>this._pendingPtDist&&(this._pendingPtX=e,this._pendingPtY=t,this._pendingPtDist=o)}return this},e.prototype.bezierCurveTo=function(e,t,n,r,a,o){return this._drawPendingPt(),this.addData(Os.C,e,t,n,r,a,o),this._ctx&&this._ctx.bezierCurveTo(e,t,n,r,a,o),this._xi=a,this._yi=o,this},e.prototype.quadraticCurveTo=function(e,t,n,r){return this._drawPendingPt(),this.addData(Os.Q,e,t,n,r),this._ctx&&this._ctx.quadraticCurveTo(e,t,n,r),this._xi=n,this._yi=r,this},e.prototype.arc=function(e,t,n,r,a,o){this._drawPendingPt(),qs[0]=r,qs[1]=a,Ys(qs,o),r=qs[0];var i=(a=qs[1])-r;return this.addData(Os.A,e,t,n,n,r,i,0,o?0:1),this._ctx&&this._ctx.arc(e,t,n,r,a,o),this._xi=Bs(a)*n+e,this._yi=zs(a)*n+t,this},e.prototype.arcTo=function(e,t,n,r,a){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(e,t,n,r,a),this},e.prototype.rect=function(e,t,n,r){return this._drawPendingPt(),this._ctx&&this._ctx.rect(e,t,n,r),this.addData(Os.R,e,t,n,r),this},e.prototype.closePath=function(){this._drawPendingPt(),this.addData(Os.Z);var e=this._ctx,t=this._x0,n=this._y0;return e&&e.closePath(),this._xi=t,this._yi=n,this},e.prototype.fill=function(e){e&&e.fill(),this.toStatic()},e.prototype.stroke=function(e){e&&e.stroke(),this.toStatic()},e.prototype.len=function(){return this._len},e.prototype.setData=function(e){var t=e.length;this.data&&this.data.length===t||!Hs||(this.data=new Float32Array(t));for(var n=0;nu.length&&(this._expandData(),u=this.data);for(var c=0;c0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},e.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var e=[],t=0;t11&&(this.data=new Float32Array(e)))}},e.prototype.getBoundingRect=function(){Rs[0]=Rs[1]=Ls[0]=Ls[1]=Number.MAX_VALUE,Ns[0]=Ns[1]=$s[0]=$s[1]=-Number.MAX_VALUE;var e,t=this.data,n=0,r=0,a=0,o=0;for(e=0;en||Ws(g)>r||d===t-1)&&(h=Math.sqrt(M*M+g*g),a=m,o=b);break;case Os.C:var v=e[d++],y=e[d++],b=(m=e[d++],e[d++]),w=e[d++],x=e[d++];h=er(a,o,v,y,m,b,w,x,10),a=w,o=x;break;case Os.Q:h=ir(a,o,v=e[d++],y=e[d++],m=e[d++],b=e[d++],10),a=m,o=b;break;case Os.A:var S=e[d++],_=e[d++],A=e[d++],C=e[d++],T=e[d++],k=e[d++],E=k+T;d+=1,f&&(i=Bs(T)*A+S,s=zs(T)*C+_),h=Fs(A,C)*js(Us,Math.abs(k)),a=Bs(E)*A+S,o=zs(E)*C+_;break;case Os.R:i=a=e[d++],s=o=e[d++],h=2*e[d++]+2*e[d++];break;case Os.Z:var M=i-a;g=s-o,h=Math.sqrt(M*M+g*g),a=i,o=s}h>=0&&(l[c++]=h,u+=h)}return this._pathLen=u,u},e.prototype.rebuildPath=function(e,t){var n,r,a,o,i,s,l,u,c,d,p=this.data,f=this._ux,h=this._uy,m=this._len,g=t<1,v=0,y=0,b=0;if(!g||(this._pathSegLen||this._calculateLength(),l=this._pathSegLen,u=t*this._pathLen))e:for(var w=0;w0&&(e.lineTo(c,d),b=0),x){case Os.M:n=a=p[w++],r=o=p[w++],e.moveTo(a,o);break;case Os.L:i=p[w++],s=p[w++];var _=Ws(i-a),A=Ws(s-o);if(_>f||A>h){if(g){if(v+(Y=l[y++])>u){var C=(u-v)/Y;e.lineTo(a*(1-C)+i*C,o*(1-C)+s*C);break e}v+=Y}e.lineTo(i,s),a=i,o=s,b=0}else{var T=_*_+A*A;T>b&&(c=i,d=s,b=T)}break;case Os.C:var k=p[w++],E=p[w++],M=p[w++],P=p[w++],O=p[w++],I=p[w++];if(g){if(v+(Y=l[y++])>u){Zn(a,k,M,O,C=(u-v)/Y,Is),Zn(o,E,P,I,C,Ds),e.bezierCurveTo(Is[1],Ds[1],Is[2],Ds[2],Is[3],Ds[3]);break e}v+=Y}e.bezierCurveTo(k,E,M,P,O,I),a=O,o=I;break;case Os.Q:if(k=p[w++],E=p[w++],M=p[w++],P=p[w++],g){if(v+(Y=l[y++])>u){ar(a,k,M,C=(u-v)/Y,Is),ar(o,E,P,C,Ds),e.quadraticCurveTo(Is[1],Ds[1],Is[2],Ds[2]);break e}v+=Y}e.quadraticCurveTo(k,E,M,P),a=M,o=P;break;case Os.A:var D=p[w++],R=p[w++],N=p[w++],L=p[w++],$=p[w++],j=p[w++],F=p[w++],B=!p[w++],z=N>L?N:L,W=Ws(N-L)>.001,V=$+j,U=!1;if(g&&(v+(Y=l[y++])>u&&(V=$+j*(u-v)/Y,U=!0),v+=Y),W&&e.ellipse?e.ellipse(D,R,N,L,F,$,V,B):e.arc(D,R,z,$,V,B),U)break e;S&&(n=Bs($)*N+D,r=zs($)*L+R),a=Bs(V)*N+D,o=zs(V)*L+R;break;case Os.R:n=a=p[w],r=o=p[w+1],i=p[w++],s=p[w++];var H=p[w++],q=p[w++];if(g){if(v+(Y=l[y++])>u){var G=u-v;e.moveTo(i,s),e.lineTo(i+js(G,H),s),(G-=H)>0&&e.lineTo(i+H,s+js(G,q)),(G-=q)>0&&e.lineTo(i+Fs(H-G,0),s+q),(G-=H)>0&&e.lineTo(i,s+Fs(q-G,0));break e}v+=Y}e.rect(i,s,H,q);break;case Os.Z:if(g){var Y;if(v+(Y=l[y++])>u){C=(u-v)/Y,e.lineTo(a*(1-C)+n*C,o*(1-C)+r*C);break e}v+=Y}e.closePath(),a=n,o=r}}},e.prototype.clone=function(){var t=new e,n=this.data;return t.data=n.slice?n.slice():Array.prototype.slice.call(n),t._len=this._len,t},e.CMD=Os,e.initDefaultProps=function(){var t=e.prototype;t._saveData=!0,t._ux=0,t._uy=0,t._pendingPtDist=0,t._version=0}(),e}();const Ks=Xs;function Qs(e,t,n,r,a,o,i){if(0===a)return!1;var s,l=a;if(i>t+l&&i>r+l||ie+l&&o>n+l||ot+d&&c>r+d&&c>o+d&&c>s+d||ce+d&&u>n+d&&u>a+d&&u>i+d||ut+u&&l>r+u&&l>o+u||le+u&&s>n+u&&s>a+u||sn||c+ua&&(a+=nl);var p=Math.atan2(l,s);return p<0&&(p+=nl),p>=r&&p<=a||p+nl>=r&&p+nl<=a}function al(e,t,n,r,a,o){if(o>t&&o>r||oa?s:0}var ol=Ks.CMD,il=2*Math.PI,sl=[-1,-1,-1],ll=[-1,-1];function ul(e,t,n,r,a,o,i,s,l,u){if(u>t&&u>r&&u>o&&u>s||u1&&(void 0,c=ll[0],ll[0]=ll[1],ll[1]=c),h=Yn(t,r,o,s,ll[0]),f>1&&(m=Yn(t,r,o,s,ll[1]))),2===f?vt&&s>r&&s>o||s=0&&c<=1&&(a[l++]=c);else{var u=i*i-4*o*s;if(qn(u))(c=-i/(2*o))>=0&&c<=1&&(a[l++]=c);else if(u>0){var c,d=jn(u),p=(-i-d)/(2*o);(c=(-i+d)/(2*o))>=0&&c<=1&&(a[l++]=c),p>=0&&p<=1&&(a[l++]=p)}}return l}(t,r,o,s,sl);if(0===l)return 0;var u=rr(t,r,o);if(u>=0&&u<=1){for(var c=0,d=tr(t,r,o,u),p=0;pn||s<-n)return 0;var l=Math.sqrt(n*n-s*s);sl[0]=-l,sl[1]=l;var u=Math.abs(r-a);if(u<1e-4)return 0;if(u>=il-1e-4){r=0,a=il;var c=o?1:-1;return i>=sl[0]+e&&i<=sl[1]+e?c:0}if(r>a){var d=r;r=a,a=d}r<0&&(r+=il,a+=il);for(var p=0,f=0;f<2;f++){var h=sl[f];if(h+e>i){var m=Math.atan2(s,h);c=o?1:-1,m<0&&(m=il+m),(m>=r&&m<=a||m+il>=r&&m+il<=a)&&(m>Math.PI/2&&m<1.5*Math.PI&&(c=-c),p+=c)}}return p}function pl(e,t,n,r,a){for(var o,i,s,l,u=e.data,c=e.len(),d=0,p=0,f=0,h=0,m=0,g=0;g1&&(n||(d+=al(p,f,h,m,r,a))),y&&(h=p=u[g],m=f=u[g+1]),v){case ol.M:p=h=u[g++],f=m=u[g++];break;case ol.L:if(n){if(Qs(p,f,u[g],u[g+1],t,r,a))return!0}else d+=al(p,f,u[g],u[g+1],r,a)||0;p=u[g++],f=u[g++];break;case ol.C:if(n){if(Zs(p,f,u[g++],u[g++],u[g++],u[g++],u[g],u[g+1],t,r,a))return!0}else d+=ul(p,f,u[g++],u[g++],u[g++],u[g++],u[g],u[g+1],r,a)||0;p=u[g++],f=u[g++];break;case ol.Q:if(n){if(Js(p,f,u[g++],u[g++],u[g],u[g+1],t,r,a))return!0}else d+=cl(p,f,u[g++],u[g++],u[g],u[g+1],r,a)||0;p=u[g++],f=u[g++];break;case ol.A:var b=u[g++],w=u[g++],x=u[g++],S=u[g++],_=u[g++],A=u[g++];g+=1;var C=!!(1-u[g++]);o=Math.cos(_)*x+b,i=Math.sin(_)*S+w,y?(h=o,m=i):d+=al(p,f,o,i,r,a);var T=(r-b)*S/x+b;if(n){if(rl(b,w,S,_,_+A,C,t,T,a))return!0}else d+=dl(b,w,S,_,_+A,C,T,a);p=Math.cos(_+A)*x+b,f=Math.sin(_+A)*S+w;break;case ol.R:if(h=p=u[g++],m=f=u[g++],o=h+u[g++],i=m+u[g++],n){if(Qs(h,m,o,m,t,r,a)||Qs(o,m,o,i,t,r,a)||Qs(o,i,h,i,t,r,a)||Qs(h,i,h,m,t,r,a))return!0}else d+=al(o,m,o,i,r,a),d+=al(h,i,h,m,r,a);break;case ol.Z:if(n){if(Qs(p,f,h,m,t,r,a))return!0}else d+=al(p,f,h,m,r,a);p=h,f=m}}return n||(s=f,l=m,Math.abs(s-l)<1e-4)||(d+=al(p,f,h,m,r,a)||0),0!==d}var fl=Y({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},ls),hl={style:Y({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},us.style)},ml=Xa.concat(["invisible","culling","z","z2","zlevel","parent"]),gl=function(e){function t(t){return e.call(this,t)||this}var n;return We(t,e),t.prototype.update=function(){var n=this;e.prototype.update.call(this);var r=this.style;if(r.decal){var a=this._decalEl=this._decalEl||new t;a.buildPath===t.prototype.buildPath&&(a.buildPath=function(e){n.buildPath(e,n.shape)}),a.silent=!0;var o=a.style;for(var i in r)o[i]!==r[i]&&(o[i]=r[i]);o.fill=r.fill?r.decal:null,o.decal=null,o.shadowColor=null,r.strokeFirst&&(o.stroke=null);for(var s=0;s.5?Ba:t>.2?"#eee":za}if(e)return za}return Ba},t.prototype.getInsideTextStroke=function(e){var t=this.style.fill;if(ce(t)){var n=this.__zr;if(!(!n||!n.isDarkMode())==$r(e,0)<.4)return t}},t.prototype.buildPath=function(e,t,n){},t.prototype.pathUpdated=function(){this.__dirty&=~En},t.prototype.getUpdatedPathProxy=function(e){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,e),this.path},t.prototype.createPathProxy=function(){this.path=new Ks(!1)},t.prototype.hasStroke=function(){var e=this.style,t=e.stroke;return!(null==t||"none"===t||!(e.lineWidth>0))},t.prototype.hasFill=function(){var e=this.style.fill;return null!=e&&"none"!==e},t.prototype.getBoundingRect=function(){var e=this._rect,t=this.style,n=!e;if(n){var r=!1;this.path||(r=!0,this.createPathProxy());var a=this.path;(r||this.__dirty&En)&&(a.beginPath(),this.buildPath(a,this.shape,!1),this.pathUpdated()),e=a.getBoundingRect()}if(this._rect=e,this.hasStroke()&&this.path&&this.path.len()>0){var o=this._rectStroke||(this._rectStroke=e.clone());if(this.__dirty||n){o.copy(e);var i=t.strokeNoScale?this.getLineScale():1,s=t.lineWidth;if(!this.hasFill()){var l=this.strokeContainThreshold;s=Math.max(s,null==l?4:l)}i>1e-10&&(o.width+=s/i,o.height+=s/i,o.x-=s/i/2,o.y-=s/i/2)}return o}return e},t.prototype.contain=function(e,t){var n=this.transformCoordToLocal(e,t),r=this.getBoundingRect(),a=this.style;if(e=n[0],t=n[1],r.contain(e,t)){var o=this.path;if(this.hasStroke()){var i=a.lineWidth,s=a.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(this.hasFill()||(i=Math.max(i,this.strokeContainThreshold)),function(e,t,n,r){return pl(e,t,!0,n,r)}(o,i/s,e,t)))return!0}if(this.hasFill())return function(e,t,n){return pl(e,0,!1,t,n)}(o,e,t)}return!1},t.prototype.dirtyShape=function(){this.__dirty|=En,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},t.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},t.prototype.animateShape=function(e){return this.animate("shape",e)},t.prototype.updateDuringAnimation=function(e){"style"===e?this.dirtyStyle():"shape"===e?this.dirtyShape():this.markRedraw()},t.prototype.attrKV=function(t,n){"shape"===t?this.setShape(n):e.prototype.attrKV.call(this,t,n)},t.prototype.setShape=function(e,t){var n=this.shape;return n||(n=this.shape={}),"string"==typeof e?n[e]=t:G(n,e),this.dirtyShape(),this},t.prototype.shapeChanged=function(){return!!(this.__dirty&En)},t.prototype.createStyle=function(e){return Le(fl,e)},t.prototype._innerSaveToNormal=function(t){e.prototype._innerSaveToNormal.call(this,t);var n=this._normalState;t.shape&&!n.shape&&(n.shape=G({},this.shape))},t.prototype._applyStateObj=function(t,n,r,a,o,i){e.prototype._applyStateObj.call(this,t,n,r,a,o,i);var s,l=!(n&&a);if(n&&n.shape?o?a?s=n.shape:(s=G({},r.shape),G(s,n.shape)):(s=G({},a?this.shape:r.shape),G(s,n.shape)):l&&(s=r.shape),s)if(o){this.shape=G({},this.shape);for(var u={},c=oe(s),d=0;d0},t.prototype.hasFill=function(){var e=this.style.fill;return null!=e&&"none"!==e},t.prototype.createStyle=function(e){return Le(yl,e)},t.prototype.setBoundingRect=function(e){this._rect=e},t.prototype.getBoundingRect=function(){var e=this.style;if(!this._rect){var t=e.text;null!=t?t+="":t="";var n=to(t,e.font,e.textAlign,e.textBaseline);if(n.x+=e.x||0,n.y+=e.y||0,this.hasStroke()){var r=e.lineWidth;n.x-=r/2,n.y-=r/2,n.width+=r,n.height+=r}this._rect=n}return this._rect},t.initDefaultProps=void(t.prototype.dirtyRectTolerance=10),t}(ms);bl.prototype.type="tspan";const wl=bl;var xl=Y({x:0,y:0},ls),Sl={style:Y({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},us.style)},_l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return We(t,e),t.prototype.createStyle=function(e){return Le(xl,e)},t.prototype._getSize=function(e){var t=this.style,n=t[e];if(null!=n)return n;var r,a=(r=t.image)&&"string"!=typeof r&&r.width&&r.height?t.image:this.__image;if(!a)return 0;var o="width"===e?"height":"width",i=t[o];return null==i?a[e]:a[e]/a[o]*i},t.prototype.getWidth=function(){return this._getSize("width")},t.prototype.getHeight=function(){return this._getSize("height")},t.prototype.getAnimationStyleProps=function(){return Sl},t.prototype.getBoundingRect=function(){var e=this.style;return this._rect||(this._rect=new un(e.x||0,e.y||0,this.getWidth(),this.getHeight())),this._rect},t}(ms);_l.prototype.type="image";const Al=_l;var Cl=Math.round;function Tl(e,t,n){if(t){var r=t.x1,a=t.x2,o=t.y1,i=t.y2;e.x1=r,e.x2=a,e.y1=o,e.y2=i;var s=n&&n.lineWidth;return s?(Cl(2*r)===Cl(2*a)&&(e.x1=e.x2=El(r,s,!0)),Cl(2*o)===Cl(2*i)&&(e.y1=e.y2=El(o,s,!0)),e):e}}function kl(e,t,n){if(t){var r=t.x,a=t.y,o=t.width,i=t.height;e.x=r,e.y=a,e.width=o,e.height=i;var s=n&&n.lineWidth;return s?(e.x=El(r,s,!0),e.y=El(a,s,!0),e.width=Math.max(El(r+o,s,!1)-e.x,0===o?0:1),e.height=Math.max(El(a+i,s,!1)-e.y,0===i?0:1),e):e}}function El(e,t,n){if(!t)return e;var r=Cl(2*e);return(r+Cl(t))%2==0?r/2:(r+(n?1:-1))/2}var Ml=function(){this.x=0,this.y=0,this.width=0,this.height=0},Pl={},Ol=function(e){function t(t){return e.call(this,t)||this}return We(t,e),t.prototype.getDefaultShape=function(){return new Ml},t.prototype.buildPath=function(e,t){var n,r,a,o;if(this.subPixelOptimize){var i=kl(Pl,t,this.style);n=i.x,r=i.y,a=i.width,o=i.height,i.r=t.r,t=i}else n=t.x,r=t.y,a=t.width,o=t.height;t.r?function(e,t){var n,r,a,o,i,s=t.x,l=t.y,u=t.width,c=t.height,d=t.r;u<0&&(s+=u,u=-u),c<0&&(l+=c,c=-c),"number"==typeof d?n=r=a=o=d:d instanceof Array?1===d.length?n=r=a=o=d[0]:2===d.length?(n=a=d[0],r=o=d[1]):3===d.length?(n=d[0],r=o=d[1],a=d[2]):(n=d[0],r=d[1],a=d[2],o=d[3]):n=r=a=o=0,n+r>u&&(n*=u/(i=n+r),r*=u/i),a+o>u&&(a*=u/(i=a+o),o*=u/i),r+a>c&&(r*=c/(i=r+a),a*=c/i),n+o>c&&(n*=c/(i=n+o),o*=c/i),e.moveTo(s+n,l),e.lineTo(s+u-r,l),0!==r&&e.arc(s+u-r,l+r,r,-Math.PI/2,0),e.lineTo(s+u,l+c-a),0!==a&&e.arc(s+u-a,l+c-a,a,0,Math.PI/2),e.lineTo(s+o,l+c),0!==o&&e.arc(s+o,l+c-o,o,Math.PI/2,Math.PI),e.lineTo(s,l+n),0!==n&&e.arc(s+n,l+n,n,Math.PI,1.5*Math.PI)}(e,t):e.rect(n,r,a,o)},t.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},t}(vl);Ol.prototype.type="rect";const Il=Ol;var Dl={fill:"#000"},Rl={style:Y({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},us.style)},Nl=function(e){function t(t){var n=e.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=Dl,n.attr(t),n}return We(t,e),t.prototype.childrenRef=function(){return this._children},t.prototype.update=function(){e.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var t=0;tf&&c){var h=Math.floor(f/l);n=n.slice(0,h)}if(e&&i&&null!=d)for(var m=Qi(d,o,t.ellipsis,{minChar:t.truncateMinChar,placeholder:t.placeholder}),g=0;g0,C=null!=e.width&&("truncate"===e.overflow||"break"===e.overflow||"breakAll"===e.overflow),k=r.calculatedLineHeight,E=0;El&&rs(n,e.substring(l,u),t,s),rs(n,r[2],t,s,r[1]),l=Xi.lastIndex}lo){x>0?(y.tokens=y.tokens.slice(0,x),g(y,w,b),n.lines=n.lines.slice(0,v+1)):n.lines=n.lines.slice(0,v);break e}var k=S.width,E=null==k||"auto"===k;if("string"==typeof k&&"%"===k.charAt(k.length-1))I.percentWidth=k,c.push(I),I.contentWidth=Ja(I.text,C);else{if(E){var M=S.backgroundColor,P=M&&M.image;P&&Yi(P=Hi(P))&&(I.width=Math.max(I.width,P.width*T/P.height))}var O=h&&null!=a?a-w:null;null!=O&&O=0&&"right"===(k=b[T]).align;)this._placeToken(k,e,x,h,C,"right",g),S-=k.width,C-=k.width,T--;for(A+=(n-(A-f)-(m-C)-S)/2;_<=T;)k=b[_],this._placeToken(k,e,x,h,A+k.width/2,"center",g),A+=k.width,_++;h+=x}},t.prototype._placeToken=function(e,t,n,r,a,o,i){var s=t.rich[e.styleName]||{};s.text=e.text;var l=e.verticalAlign,u=r+n/2;"top"===l?u=r+e.height/2:"bottom"===l&&(u=r+n-e.height/2),!e.isLineHolder&&Gl(s)&&this._renderBackground(s,t,"right"===o?a-e.width:"center"===o?a-e.width/2:a,u-e.height/2,e.width,e.height);var c=!!s.backgroundColor,d=e.textPadding;d&&(a=Hl(a,o,d),u-=e.height/2-d[0]-e.innerHeight/2);var p=this._getOrCreateChild(wl),f=p.createStyle();p.useStyle(f);var h=this._defaultStyle,m=!1,g=0,v=Ul("fill"in s?s.fill:"fill"in t?t.fill:(m=!0,h.fill)),y=Vl("stroke"in s?s.stroke:"stroke"in t?t.stroke:c||i||h.autoStroke&&!m?null:(g=2,h.stroke)),b=s.textShadowBlur>0||t.textShadowBlur>0;f.text=e.text,f.x=a,f.y=u,b&&(f.shadowBlur=s.textShadowBlur||t.textShadowBlur||0,f.shadowColor=s.textShadowColor||t.textShadowColor||"transparent",f.shadowOffsetX=s.textShadowOffsetX||t.textShadowOffsetX||0,f.shadowOffsetY=s.textShadowOffsetY||t.textShadowOffsetY||0),f.textAlign=o,f.textBaseline="middle",f.font=e.font||T,f.opacity=_e(s.opacity,t.opacity,1),Bl(f,s),y&&(f.lineWidth=_e(s.lineWidth,t.lineWidth,g),f.lineDash=Se(s.lineDash,t.lineDash),f.lineDashOffset=t.lineDashOffset||0,f.stroke=y),v&&(f.fill=v);var w=e.contentWidth,x=e.contentHeight;p.setBoundingRect(new un(no(f.x,w,f.textAlign),ro(f.y,x,f.textBaseline),w,x))},t.prototype._renderBackground=function(e,t,n,r,a,o){var i,s,l,u=e.backgroundColor,c=e.borderWidth,d=e.borderColor,p=u&&u.image,f=u&&!p,h=e.borderRadius,m=this;if(f||e.lineHeight||c&&d){(i=this._getOrCreateChild(Il)).useStyle(i.createStyle()),i.style.fill=null;var g=i.shape;g.x=n,g.y=r,g.width=a,g.height=o,g.r=h,i.dirtyShape()}if(f)(l=i.style).fill=u||null,l.fillOpacity=Se(e.fillOpacity,1);else if(p){(s=this._getOrCreateChild(Al)).onload=function(){m.dirtyStyle()};var v=s.style;v.image=u.image,v.x=n,v.y=r,v.width=a,v.height=o}c&&d&&((l=i.style).lineWidth=c,l.stroke=d,l.strokeOpacity=Se(e.strokeOpacity,1),l.lineDash=e.borderDash,l.lineDashOffset=e.borderDashOffset||0,i.strokeContainThreshold=0,i.hasFill()&&i.hasStroke()&&(l.strokeFirst=!0,l.lineWidth*=2));var y=(i||s).style;y.shadowBlur=e.shadowBlur||0,y.shadowColor=e.shadowColor||"transparent",y.shadowOffsetX=e.shadowOffsetX||0,y.shadowOffsetY=e.shadowOffsetY||0,y.opacity=_e(e.opacity,t.opacity,1)},t.makeFont=function(e){var t="";return zl(e)&&(t=[e.fontStyle,e.fontWeight,Fl(e.fontSize),e.fontFamily||"sans-serif"].join(" ")),t&&ke(t)||e.textFont||e.font},t}(ms),Ll={left:!0,right:1,center:1},$l={top:1,bottom:1,middle:1},jl=["fontStyle","fontWeight","fontSize","fontFamily"];function Fl(e){return"string"!=typeof e||-1===e.indexOf("px")&&-1===e.indexOf("rem")&&-1===e.indexOf("em")?isNaN(+e)?A+"px":e+"px":e}function Bl(e,t){for(var n=0;n=0,o=!1;if(e instanceof vl){var i=Jl(e),s=a&&i.selectFill||i.normalFill,l=a&&i.selectStroke||i.normalStroke;if(fu(s)||fu(l)){var u=(r=r||{}).style||{};"inherit"===u.fill?(o=!0,r=G({},r),(u=G({},u)).fill=s):!fu(u.fill)&&fu(s)?(o=!0,r=G({},r),(u=G({},u)).fill=Br(s)):!fu(u.stroke)&&fu(l)&&(o||(r=G({},r),u=G({},u)),u.stroke=Br(l)),r.style=u}}if(r&&null==r.z2){o||(r=G({},r));var c=e.z2EmphasisLift;r.z2=e.z2+(null!=c?c:iu)}return r}(this,0,t,n);if("blur"===e)return function(e,t,n){var r=K(e.currentStates,t)>=0,a=e.style.opacity,o=r?null:function(e,t,n,r){for(var a=e.style,o={},i=0;i0){var o={dataIndex:a,seriesIndex:e.seriesIndex};null!=r&&(o.dataType=r),t.push(o)}}))})),t}function zu(e,t,n){Gu(e,!0),Su(e,Cu),Vu(e,t,n)}function Wu(e,t,n,r){r?function(e){Gu(e,!1)}(e):zu(e,t,n)}function Vu(e,t,n){var r=Xl(e);null!=t?(r.focus=t,r.blurScope=n):r.focus&&(r.focus=null)}var Uu=["emphasis","blur","select"],Hu={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function qu(e,t,n,r){n=n||"itemStyle";for(var a=0;a0){var d={duration:c.duration,delay:c.delay||0,easing:c.easing,done:o,force:!!o||!!i,setToFinal:!u,scope:e,during:i};l?t.animateFrom(n,d):t.animateTo(n,d)}else t.stopAnimation(),!l&&t.attr(n),i&&i(1),o&&o()}function ec(e,t,n,r,a,o){Ju("update",e,t,n,r,a,o)}function tc(e,t,n,r,a,o){Ju("enter",e,t,n,r,a,o)}function nc(e){if(!e.__zr)return!0;for(var t=0;t-1?Bc:Wc;function qc(e,t){e=e.toUpperCase(),Uc[e]=new Lc(t),Vc[e]=t}function Gc(e){return Uc[e]}qc(zc,{time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst",custom:"Custom chart",chart:"Chart"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}}),qc(Bc,{time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图",custom:"自定义图表",chart:"图表"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}});var Yc=1e3,Xc=6e4,Kc=36e5,Qc=864e5,Zc=31536e6,Jc={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},ed="{yyyy}-{MM}-{dd}",td={year:"{yyyy}",month:"{yyyy}-{MM}",day:ed,hour:ed+" "+Jc.hour,minute:ed+" "+Jc.minute,second:ed+" "+Jc.second,millisecond:Jc.none},nd=["year","month","day","hour","minute","second","millisecond"],rd=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function ad(e,t){return"0000".substr(0,t-(e+="").length)+e}function od(e){switch(e){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return e}}function id(e,t,n,r){var a=Xo(e),o=a[ud(n)](),i=a[cd(n)]()+1,s=Math.floor((i-1)/3)+1,l=a[dd(n)](),u=a["get"+(n?"UTC":"")+"Day"](),c=a[pd(n)](),d=(c-1)%12+1,p=a[fd(n)](),f=a[hd(n)](),h=a[md(n)](),m=c>=12?"pm":"am",g=m.toUpperCase(),v=(r instanceof Lc?r:Gc(r||Hc)||Uc[Wc]).getModel("time"),y=v.get("month"),b=v.get("monthAbbr"),w=v.get("dayOfWeek"),x=v.get("dayOfWeekAbbr");return(t||"").replace(/{a}/g,m+"").replace(/{A}/g,g+"").replace(/{yyyy}/g,o+"").replace(/{yy}/g,ad(o%100+"",2)).replace(/{Q}/g,s+"").replace(/{MMMM}/g,y[i-1]).replace(/{MMM}/g,b[i-1]).replace(/{MM}/g,ad(i,2)).replace(/{M}/g,i+"").replace(/{dd}/g,ad(l,2)).replace(/{d}/g,l+"").replace(/{eeee}/g,w[u]).replace(/{ee}/g,x[u]).replace(/{e}/g,u+"").replace(/{HH}/g,ad(c,2)).replace(/{H}/g,c+"").replace(/{hh}/g,ad(d+"",2)).replace(/{h}/g,d+"").replace(/{mm}/g,ad(p,2)).replace(/{m}/g,p+"").replace(/{ss}/g,ad(f,2)).replace(/{s}/g,f+"").replace(/{SSS}/g,ad(h,3)).replace(/{S}/g,h+"")}function sd(e,t){var n=Xo(e),r=n[cd(t)]()+1,a=n[dd(t)](),o=n[pd(t)](),i=n[fd(t)](),s=n[hd(t)](),l=0===n[md(t)](),u=l&&0===s,c=u&&0===i,d=c&&0===o,p=d&&1===a;return p&&1===r?"year":p?"month":d?"day":c?"hour":u?"minute":l?"second":"millisecond"}function ld(e,t,n){var r=pe(e)?Xo(e):e;switch(t=t||sd(e,n)){case"year":return r[ud(n)]();case"half-year":return r[cd(n)]()>=6?1:0;case"quarter":return Math.floor((r[cd(n)]()+1)/4);case"month":return r[cd(n)]();case"day":return r[dd(n)]();case"half-day":return r[pd(n)]()/24;case"hour":return r[pd(n)]();case"minute":return r[fd(n)]();case"second":return r[hd(n)]();case"millisecond":return r[md(n)]()}}function ud(e){return e?"getUTCFullYear":"getFullYear"}function cd(e){return e?"getUTCMonth":"getMonth"}function dd(e){return e?"getUTCDate":"getDate"}function pd(e){return e?"getUTCHours":"getHours"}function fd(e){return e?"getUTCMinutes":"getMinutes"}function hd(e){return e?"getUTCSeconds":"getSeconds"}function md(e){return e?"getUTCMilliseconds":"getMilliseconds"}function gd(e){return e?"setUTCFullYear":"setFullYear"}function vd(e){return e?"setUTCMonth":"setMonth"}function yd(e){return e?"setUTCDate":"setDate"}function bd(e){return e?"setUTCHours":"setHours"}function wd(e){return e?"setUTCMinutes":"setMinutes"}function xd(e){return e?"setUTCSeconds":"setSeconds"}function Sd(e){return e?"setUTCMilliseconds":"setMilliseconds"}function _d(e){if(!ni(e))return ce(e)?e:"-";var t=(e+"").split(".");return t[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:"")}function Ad(e,t){return e=(e||"").toLowerCase().replace(/-(.)/g,(function(e,t){return t.toUpperCase()})),t&&e&&(e=e.charAt(0).toUpperCase()+e.slice(1)),e}var Cd=Ce;function Td(e,t,n){function r(e){return e&&ke(e)?e:"-"}function a(e){return!(null==e||isNaN(e)||!isFinite(e))}var o="time"===t,i=e instanceof Date;if(o||i){var s=o?Xo(e):e;if(!isNaN(+s))return id(s,"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}",n);if(i)return"-"}if("ordinal"===t)return de(e)?r(e):pe(e)&&a(e)?e+"":"-";var l=ti(e);return a(l)?_d(l):de(e)?r(e):"boolean"==typeof e?e+"":"-"}var kd=["a","b","c","d","e","f","g"],Ed=function(e,t){return"{"+e+(null==t?"":t)+"}"};function Md(e,t,n){le(t)||(t=[t]);var r=t.length;if(!r)return"";for(var a=t[0].$vars||[],o=0;o':'':{renderMode:o,content:"{"+(n.markerId||"markerX")+"|} ",style:"subItem"===a?{width:4,height:4,borderRadius:2,backgroundColor:r}:{width:10,height:10,borderRadius:5,backgroundColor:r}}:""}function Od(e,t,n){"week"!==e&&"month"!==e&&"quarter"!==e&&"half-year"!==e&&"year"!==e||(e="MM-dd\nyyyy");var r=Xo(t),a=n?"getUTC":"get",o=r[a+"FullYear"](),i=r[a+"Month"]()+1,s=r[a+"Date"](),l=r[a+"Hours"](),u=r[a+"Minutes"](),c=r[a+"Seconds"](),d=r[a+"Milliseconds"]();return e.replace("MM",ad(i,2)).replace("M",i).replace("yyyy",o).replace("yy",ad(o%100+"",2)).replace("dd",ad(s,2)).replace("d",s).replace("hh",ad(l,2)).replace("h",l).replace("mm",ad(u,2)).replace("m",u).replace("ss",ad(c,2)).replace("s",c).replace("SSS",ad(d,3))}function Id(e){return e?e.charAt(0).toUpperCase()+e.substr(1):e}function Dd(e,t){return t=t||"transparent",ce(e)?e:fe(e)&&e.colorStops&&(e.colorStops[0]||{}).color||t}function Rd(e,t){if("_blank"===t||"blank"===t){var n=window.open();n.opener=null,n.location.href=e}else window.open(e,t)}var Nd=ee,Ld=["left","right","top","bottom","width","height"],$d=[["width","left","right"],["height","top","bottom"]];function jd(e,t,n,r,a){var o=0,i=0;null==r&&(r=1/0),null==a&&(a=1/0);var s=0;t.eachChild((function(l,u){var c,d,p=l.getBoundingRect(),f=t.childAt(u+1),h=f&&f.getBoundingRect();if("horizontal"===e){var m=p.width+(h?-h.x+p.x:0);(c=o+m)>r||l.newline?(o=0,c=m,i+=s+n,s=p.height):s=Math.max(s,p.height)}else{var g=p.height+(h?-h.y+p.y:0);(d=i+g)>a||l.newline?(o+=s+n,i=0,d=g,s=p.width):s=Math.max(s,p.width)}l.newline||(l.x=o,l.y=i,l.markRedraw(),"horizontal"===e?o=c+n:i=d+n)}))}var Fd=jd;function Bd(e,t,n){n=Cd(n||0);var r=t.width,a=t.height,o=Lo(e.left,r),i=Lo(e.top,a),s=Lo(e.right,r),l=Lo(e.bottom,a),u=Lo(e.width,r),c=Lo(e.height,a),d=n[2]+n[0],p=n[1]+n[3],f=e.aspect;switch(isNaN(u)&&(u=r-s-p-o),isNaN(c)&&(c=a-l-d-i),null!=f&&(isNaN(u)&&isNaN(c)&&(f>r/a?u=.8*r:c=.8*a),isNaN(u)&&(u=f*c),isNaN(c)&&(c=u/f)),isNaN(o)&&(o=r-s-u-p),isNaN(i)&&(i=a-l-c-d),e.left||e.right){case"center":o=r/2-u/2-n[3];break;case"right":o=r-u-p}switch(e.top||e.bottom){case"middle":case"center":i=a/2-c/2-n[0];break;case"bottom":i=a-c-d}o=o||0,i=i||0,isNaN(u)&&(u=r-p-o-(s||0)),isNaN(c)&&(c=a-d-i-(l||0));var h=new un(o+n[3],i+n[0],u,c);return h.margin=n,h}function zd(e,t,n,r,a,o){var i,s=!a||!a.hv||a.hv[0],l=!a||!a.hv||a.hv[1],u=a&&a.boundingMode||"all";if((o=o||e).x=e.x,o.y=e.y,!s&&!l)return!1;if("raw"===u)i="group"===e.type?new un(0,0,+t.width||0,+t.height||0):e.getBoundingRect();else if(i=e.getBoundingRect(),e.needLocalTransform()){var c=e.getLocalTransform();(i=i.clone()).applyTransform(c)}var d=Bd(Y({width:i.width,height:i.height},t),n,r),p=s?d.x-i.x:0,f=l?d.y-i.y:0;return"raw"===u?(o.x=p,o.y=f):(o.x+=p,o.y+=f),o===e&&e.markRedraw(),!0}function Wd(e){var t=e.layoutMode||e.constructor.layoutMode;return fe(t)?t:t?{type:t}:null}function Vd(e,t,n){var r=n&&n.ignoreSize;!le(r)&&(r=[r,r]);var a=i($d[0],0),o=i($d[1],1);function i(n,a){var o={},i=0,u={},c=0;if(Nd(n,(function(t){u[t]=e[t]})),Nd(n,(function(e){s(t,e)&&(o[e]=u[e]=t[e]),l(o,e)&&i++,l(u,e)&&c++})),r[a])return l(t,n[1])?u[n[2]]=null:l(t,n[2])&&(u[n[1]]=null),u;if(2!==c&&i){if(i>=2)return o;for(var d=0;d=0;i--)o=H(o,n[i],!0);t.defaultOption=o}return t.defaultOption},t.prototype.getReferringComponents=function(e,t){var n=e+"Index",r=e+"Id";return ki(this.ecModel,e,{index:this.get(n,!0),id:this.get(r,!0)},t)},t.prototype.getBoxLayoutParams=function(){var e=this;return{left:e.get("left"),top:e.get("top"),right:e.get("right"),bottom:e.get("bottom"),width:e.get("width"),height:e.get("height")}},t.prototype.getZLevelKey=function(){return""},t.prototype.setZLevel=function(e){this.option.zlevel=e},t.protoInitialize=function(){var e=t.prototype;e.type="component",e.id="",e.name="",e.mainType="",e.subType="",e.componentIndex=0}(),t}(Lc);Li(Gd,Lc),Bi(Gd),function(e){var t={};e.registerSubTypeDefaulter=function(e,n){var r=Ri(e);t[r.main]=n},e.determineSubType=function(n,r){var a=r.type;if(!a){var o=Ri(n).main;e.hasSubTypes(n)&&t[o]&&(a=t[o](r))}return a}}(Gd),function(e,t){function n(e,t){return e[t]||(e[t]={predecessor:[],successor:[]}),e[t]}e.topologicalTravel=function(e,t,r,a){if(e.length){var o=function(e){var t={},r=[];return ee(e,(function(a){var o,i,s=n(t,a),l=function(e,t){var n=[];return ee(e,(function(e){K(t,e)>=0&&n.push(e)})),n}(s.originalDeps=(o=a,i=[],ee(Gd.getClassesByMainType(o),(function(e){i=i.concat(e.dependencies||e.prototype.dependencies||[])})),i=te(i,(function(e){return Ri(e).main})),"dataset"!==o&&K(i,"dataset")<=0&&i.unshift("dataset"),i),e);s.entryCount=l.length,0===s.entryCount&&r.push(a),ee(l,(function(e){K(s.predecessor,e)<0&&s.predecessor.push(e);var r=n(t,e);K(r.successor,e)<0&&r.successor.push(a)}))})),{graph:t,noEntryList:r}}(t),i=o.graph,s=o.noEntryList,l={};for(ee(e,(function(e){l[e]=!0}));s.length;){var u=s.pop(),c=i[u],d=!!l[u];d&&(r.call(a,u,c.originalDeps.slice()),delete l[u]),ee(c.successor,d?f:p)}ee(l,(function(){throw new Error("")}))}function p(e){i[e].entryCount--,0===i[e].entryCount&&s.push(e)}function f(e){l[e]=!0,p(e)}}}(Gd);const Yd=Gd;var Xd="";"undefined"!=typeof navigator&&(Xd=navigator.platform||"");var Kd="rgba(0, 0, 0, 0.2)";const Qd={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:Kd,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:Kd,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:Kd,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:Kd,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:Kd,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:Kd,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:Xd.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};var Zd=Re(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),Jd="original",ep="arrayRows",tp="objectRows",np="keyedColumns",rp="typedArray",ap="unknown",op="column",ip="row",sp={Must:1,Might:2,Not:3},lp=xi();function up(e,t,n){var r={},a=dp(t);if(!a||!e)return r;var o,i,s=[],l=[],u=t.ecModel,c=lp(u).datasetMap,d=a.uid+"_"+n.seriesLayoutBy;ee(e=e.slice(),(function(t,n){var a=fe(t)?t:e[n]={name:t};"ordinal"===a.type&&null==o&&(o=n,i=h(a)),r[a.name]=[]}));var p=c.get(d)||c.set(d,{categoryWayDim:i,valueWayDim:0});function f(e,t,n){for(var r=0;rt)return e[r];return e[n-1]}(r,i):n;if((c=c||n)&&c.length){var d=c[l];return a&&(u[a]=d),s.paletteIdx=(l+1)%c.length,d}}var _p="\0_ec_inner",Ap=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return y(t,e),t.prototype.init=function(e,t,n,r,a,o){r=r||{},this.option=null,this._theme=new Lc(r),this._locale=new Lc(a),this._optionManager=o},t.prototype.setOption=function(e,t,n){var r=kp(t);this._optionManager.setOption(e,n,r),this._resetOption(null,r)},t.prototype.resetOption=function(e,t){return this._resetOption(e,kp(t))},t.prototype._resetOption=function(e,t){var n=!1,r=this._optionManager;if(!e||"recreate"===e){var a=r.mountOption("recreate"===e);this.option&&"recreate"!==e?(this.restoreData(),this._mergeOption(a,t)):gp(this,a),n=!0}if("timeline"!==e&&"media"!==e||this.restoreData(),!e||"recreate"===e||"timeline"===e){var o=r.getTimelineOption(this);o&&(n=!0,this._mergeOption(o,t))}if(!e||"recreate"===e||"media"===e){var i=r.getMediaOption(this);i.length&&ee(i,(function(e){n=!0,this._mergeOption(e,t)}),this)}return n},t.prototype.mergeOption=function(e){this._mergeOption(e,null)},t.prototype._mergeOption=function(e,t){var n=this.option,r=this._componentsMap,a=this._componentsCount,o=[],i=Re(),s=t&&t.replaceMergeMainTypeMap;lp(this).datasetMap=Re(),ee(e,(function(e,t){null!=e&&(Yd.hasClass(t)?t&&(o.push(t),i.set(t,!0)):n[t]=null==n[t]?U(e):H(n[t],e,!0))})),s&&s.each((function(e,t){Yd.hasClass(t)&&!i.get(t)&&(o.push(t),i.set(t,!0))})),Yd.topologicalTravel(o,Yd.getAllClassMainTypes(),(function(t){var o=function(e,t,n){var r=vp.get(t);if(!r)return n;var a=r(e);return a?n.concat(a):n}(this,t,ui(e[t])),i=r.get(t),l=hi(i,o,i?s&&s.get(t)?"replaceMerge":"normalMerge":"replaceAll");(function(e,t,n){ee(e,(function(e){var r=e.newOption;fe(r)&&(e.keyInfo.mainType=t,e.keyInfo.subType=function(e,t,n,r){return t.type?t.type:n?n.subType:r.determineSubType(e,t)}(t,r,e.existing,n))}))})(l,t,Yd),n[t]=null,r.set(t,null),a.set(t,0);var u,c=[],d=[],p=0;ee(l,(function(e,n){var r=e.existing,a=e.newOption;if(a){var o="series"===t,i=Yd.getClass(t,e.keyInfo.subType,!o);if(!i)return;if("tooltip"===t){if(u)return;u=!0}if(r&&r.constructor===i)r.name=e.keyInfo.name,r.mergeOption(a,this),r.optionUpdated(a,!1);else{var s=G({componentIndex:n},e.keyInfo);G(r=new i(a,this,this,s),s),e.brandNew&&(r.__requireNewView=!0),r.init(a,this,this),r.optionUpdated(null,!0)}}else r&&(r.mergeOption({},this),r.optionUpdated({},!1));r?(c.push(r.option),d.push(r),p++):(c.push(void 0),d.push(void 0))}),this),n[t]=c,r.set(t,d),a.set(t,p),"series"===t&&hp(this)}),this),this._seriesIndices||hp(this)},t.prototype.getOption=function(){var e=U(this.option);return ee(e,(function(t,n){if(Yd.hasClass(n)){for(var r=ui(t),a=r.length,o=!1,i=a-1;i>=0;i--)r[i]&&!bi(r[i])?o=!0:(r[i]=null,!o&&a--);r.length=a,e[n]=r}})),delete e[_p],e},t.prototype.getTheme=function(){return this._theme},t.prototype.getLocaleModel=function(){return this._locale},t.prototype.setUpdatePayload=function(e){this._payload=e},t.prototype.getUpdatePayload=function(){return this._payload},t.prototype.getComponent=function(e,t){var n=this._componentsMap.get(e);if(n){var r=n[t||0];if(r)return r;if(null==t)for(var a=0;a=t:"max"===n?e<=t:e===t})(r[i],e,o)||(a=!1)}})),a}const $p=Np;var jp=ee,Fp=fe,Bp=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function zp(e){var t=e&&e.itemStyle;if(t)for(var n=0,r=Bp.length;n=0;m--){var g=e[m];if(s||(p=g.data.rawIndexOf(g.stackedByDimension,d)),p>=0){var v=g.data.getByRawIndex(g.stackResultDimension,p);if("all"===l||"positive"===l&&v>0||"negative"===l&&v<0||"samesign"===l&&f>=0&&v>0||"samesign"===l&&f<=0&&v<0){f=Uo(f,v),h=v;break}}}return r[0]=f,r[1]=h,r}))}))}var af,of,sf,lf,uf,cf=function(e){this.data=e.data||(e.sourceFormat===np?{}:[]),this.sourceFormat=e.sourceFormat||ap,this.seriesLayoutBy=e.seriesLayoutBy||op,this.startIndex=e.startIndex||0,this.dimensionsDetectedCount=e.dimensionsDetectedCount,this.metaRawOption=e.metaRawOption;var t=this.dimensionsDefine=e.dimensionsDefine;if(t)for(var n=0;nu&&(u=f)}s[0]=l,s[1]=u}},r=function(){return this._data?this._data.length/this._dimSize:0};function a(e){for(var t=0;t=0&&(s=o.interpolatedValue[l])}return null!=s?s+"":""})):void 0},e.prototype.getRawValue=function(e,t){return Mf(this.getData(t),e)},e.prototype.formatTooltip=function(e,t,n){},e}();function If(e){var t,n;return fe(e)?e.type&&(n=e):t=e,{text:t,frag:n}}function Df(e){return new Rf(e)}var Rf=function(){function e(e){e=e||{},this._reset=e.reset,this._plan=e.plan,this._count=e.count,this._onDirty=e.onDirty,this._dirty=!0}return e.prototype.perform=function(e){var t,n=this._upstream,r=e&&e.skip;if(this._dirty&&n){var a=this.context;a.data=a.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!r&&(t=this._plan(this.context));var o,i=c(this._modBy),s=this._modDataCount||0,l=c(e&&e.modBy),u=e&&e.modDataCount||0;function c(e){return!(e>=1)&&(e=1),e}i===l&&s===u||(t="reset"),(this._dirty||"reset"===t)&&(this._dirty=!1,o=this._doReset(r)),this._modBy=l,this._modDataCount=u;var d=e&&e.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var p=this._dueIndex,f=Math.min(null!=d?this._dueIndex+d:1/0,this._dueEnd);if(!r&&(o||p1&&r>0?s:i}};return o;function i(){return t=e?null:ot},gte:function(e,t){return e>=t}},zf=function(){function e(e,t){pe(t)||Lf(""),this._opFn=Bf[e],this._rvalFloat=ti(t)}return e.prototype.evaluate=function(e){return pe(e)?this._opFn(e,this._rvalFloat):this._opFn(ti(e),this._rvalFloat)},e}(),Wf=function(){function e(e,t){var n="desc"===e;this._resultLT=n?1:-1,null==t&&(t=n?"min":"max"),this._incomparable="min"===t?-1/0:1/0}return e.prototype.evaluate=function(e,t){var n=pe(e)?e:ti(e),r=pe(t)?t:ti(t),a=isNaN(n),o=isNaN(r);if(a&&(n=this._incomparable),o&&(r=this._incomparable),a&&o){var i=ce(e),s=ce(t);i&&(n=s?e:0),s&&(r=i?t:0)}return nr?-this._resultLT:0},e}(),Vf=function(){function e(e,t){this._rval=t,this._isEQ=e,this._rvalTypeof=typeof t,this._rvalFloat=ti(t)}return e.prototype.evaluate=function(e){var t=e===this._rval;if(!t){var n=typeof e;n===this._rvalTypeof||"number"!==n&&"number"!==this._rvalTypeof||(t=ti(e)===this._rvalFloat)}return this._isEQ?t:!t},e}();function Uf(e,t){return"eq"===e||"ne"===e?new Vf("eq"===e,t):je(Bf,e)?new zf(e,t):null}var Hf=function(){function e(){}return e.prototype.getRawData=function(){throw new Error("not supported")},e.prototype.getRawDataItem=function(e){throw new Error("not supported")},e.prototype.cloneRawData=function(){},e.prototype.getDimensionInfo=function(e){},e.prototype.cloneAllDimensionInfo=function(){},e.prototype.count=function(){},e.prototype.retrieveValue=function(e,t){},e.prototype.retrieveValueFromItem=function(e,t){},e.prototype.convertValue=function(e,t){return $f(e,t)},e}();function qf(e){return Zf(e.sourceFormat)||Lf(""),e.data}function Gf(e){var t=e.sourceFormat,n=e.data;if(Zf(t)||Lf(""),t===ep){for(var r=[],a=0,o=n.length;a65535?th:nh}function sh(e,t,n,r,a){var o=oh[n||"float"];if(a){var i=e[t],s=i&&i.length;if(s!==r){for(var l=new o(r),u=0;um[1]&&(m[1]=h)}return this._rawCount=this._count=s,{start:i,end:s}},e.prototype._initDataFromProvider=function(e,t,n){for(var r=this._provider,a=this._chunks,o=this._dimensions,i=o.length,s=this._rawExtent,l=te(o,(function(e){return e.property})),u=0;ug[1]&&(g[1]=m)}}!r.persistent&&r.clean&&r.clean(),this._rawCount=this._count=t,this._extent=[]},e.prototype.count=function(){return this._count},e.prototype.get=function(e,t){if(!(t>=0&&t=0&&t=this._rawCount||e<0)return-1;if(!this._indices)return e;var t=this._indices,n=t[e];if(null!=n&&ne))return o;a=o-1}}return-1},e.prototype.indicesOfNearest=function(e,t,n){var r=this._chunks[e],a=[];if(!r)return a;null==n&&(n=1/0);for(var o=1/0,i=-1,s=0,l=0,u=this.count();l=0&&i<0)&&(o=d,i=c,s=0),c===i&&(a[s++]=l))}return a.length=s,a},e.prototype.getIndices=function(){var e,t=this._indices;if(t){var n=t.constructor,r=this._count;if(n===Array){e=new n(r);for(var a=0;a=u&&b<=c||isNaN(b))&&(i[s++]=f),f++;p=!0}else if(2===a){h=d[r[0]];var g=d[r[1]],v=e[r[1]][0],y=e[r[1]][1];for(m=0;m=u&&b<=c||isNaN(b))&&(w>=v&&w<=y||isNaN(w))&&(i[s++]=f),f++}p=!0}}if(!p)if(1===a)for(m=0;m=u&&b<=c||isNaN(b))&&(i[s++]=x)}else for(m=0;me[A][1])&&(S=!1)}S&&(i[s++]=t.getRawIndex(m))}return sg[1]&&(g[1]=m)}}},e.prototype.lttbDownSample=function(e,t){var n,r,a,o=this.clone([e],!0),i=o._chunks[e],s=this.count(),l=0,u=Math.floor(1/t),c=this.getRawIndex(0),d=new(ih(this._rawCount))(Math.min(2*(Math.ceil(s/u)+2),s));d[l++]=c;for(var p=1;pn&&(n=r,a=C)}A>0&&Au-f&&(s=u-f,i.length=s);for(var h=0;hc[1]&&(c[1]=g),d[p++]=v}return a._count=p,a._indices=d,a._updateGetRawIdx(),a},e.prototype.each=function(e,t){if(this._count)for(var n=e.length,r=this._chunks,a=0,o=this.count();ai&&(i=l)}return r=[o,i],this._extent[e]=r,r},e.prototype.getRawDataItem=function(e){var t=this.getRawIndex(e);if(this._provider.persistent)return this._provider.getItem(t);for(var n=[],r=this._chunks,a=0;a=0?this._indices[e]:-1},e.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},e.internalField=function(){function e(e,t,n,r){return $f(e[r],this._dimensions[r])}Jf={arrayRows:e,objectRows:function(e,t,n,r){return $f(e[t],this._dimensions[r])},keyedColumns:e,original:function(e,t,n,r){var a=e&&(null==e.value?e:e.value);return $f(a instanceof Array?a[r]:a,this._dimensions[r])},typedArray:function(e,t,n,r){return e[r]}}}(),e}();const uh=lh;var ch=function(){function e(e){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=e}return e.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},e.prototype._setLocalSource=function(e,t){this._sourceList=e,this._upstreamSignList=t,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},e.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},e.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},e.prototype._createSource=function(){this._setLocalSource([],[]);var e,t,n=this._sourceHost,r=this._getUpstreamSourceManagers(),a=!!r.length;if(ph(n)){var o=n,i=void 0,s=void 0,l=void 0;if(a){var u=r[0];u.prepareSource(),i=(l=u.getSource()).data,s=l.sourceFormat,t=[u._getVersionSign()]}else s=me(i=o.get("data",!0))?rp:Jd,t=[];var c=this._getSourceMetaRawOption()||{},d=l&&l.metaRawOption||{},p=Se(c.seriesLayoutBy,d.seriesLayoutBy)||null,f=Se(c.sourceHeader,d.sourceHeader),h=Se(c.dimensions,d.dimensions);e=p!==d.seriesLayoutBy||!!f!=!!d.sourceHeader||h?[pf(i,{seriesLayoutBy:p,sourceHeader:f,dimensions:h},s)]:[]}else{var m=n;if(a){var g=this._applyTransform(r);e=g.sourceList,t=g.upstreamSignList}else e=[pf(m.get("source",!0),this._getSourceMetaRawOption(),null)],t=[]}this._setLocalSource(e,t)},e.prototype._applyTransform=function(e){var t,n=this._sourceHost,r=n.get("transform",!0),a=n.get("fromTransformResult",!0);null!=a&&1!==e.length&&fh("");var o,i=[],s=[];return ee(e,(function(e){e.prepareSource();var t=e.getSource(a||0);null==a||t||fh(""),i.push(t),s.push(e._getVersionSign())})),r?t=function(e,t,n){var r=ui(e),a=r.length;a||Lf("");for(var o=0,i=a;o1||n>0&&!e.noHeader;return ee(e.blocks,(function(e){var n=xh(e);n>=t&&(t=n+ +(r&&(!n||bh(e)&&!e.noHeader)))})),t}return 0}function Sh(e,t,n,r){var a,o=t.noHeader,i=(a=xh(t),{html:gh[a],richText:vh[a]}),s=[],l=t.blocks||[];Te(!l||le(l)),l=l||[];var u=e.orderMode;if(t.sortBlocks&&u){l=l.slice();var c={valueAsc:"asc",valueDesc:"desc"};if(je(c,u)){var d=new Wf(c[u],null);l.sort((function(e,t){return d.evaluate(e.sortParam,t.sortParam)}))}else"seriesDesc"===u&&l.reverse()}ee(l,(function(n,a){var o=t.valueFormatter,l=wh(n)(o?G(G({},e),{valueFormatter:o}):e,n,a>0?i.html:0,r);null!=l&&s.push(l)}));var p="richText"===e.renderMode?s.join(i.richText):Ch(s.join(""),o?n:i.html);if(o)return p;var f=Td(t.header,"ordinal",e.useUTC),h=mh(r,e.renderMode).nameStyle;return"richText"===e.renderMode?Th(e,f,h)+i.richText+p:Ch('
'+Et(f)+"
"+p,n)}function _h(e,t,n,r){var a=e.renderMode,o=t.noName,i=t.noValue,s=!t.markerType,l=t.name,u=e.useUTC,c=t.valueFormatter||e.valueFormatter||function(e){return te(e=le(e)?e:[e],(function(e,t){return Td(e,le(f)?f[t]:f,u)}))};if(!o||!i){var d=s?"":e.markupStyleCreator.makeTooltipMarker(t.markerType,t.markerColor||"#333",a),p=o?"":Td(l,"ordinal",u),f=t.valueType,h=i?[]:c(t.value,t.dataIndex),m=!s||!o,g=!s&&o,v=mh(r,a),y=v.nameStyle,b=v.valueStyle;return"richText"===a?(s?"":d)+(o?"":Th(e,p,y))+(i?"":function(e,t,n,r,a){var o=[a],i=r?10:20;return n&&o.push({padding:[0,0,0,i],align:"right"}),e.markupStyleCreator.wrapRichTextStyle(le(t)?t.join(" "):t,o)}(e,h,m,g,b)):Ch((s?"":d)+(o?"":function(e,t,n){return''+Et(e)+""}(p,!s,y))+(i?"":function(e,t,n,r){return''+te(e=le(e)?e:[e],(function(e){return Et(e)})).join("  ")+""}(h,m,g,b)),n)}}function Ah(e,t,n,r,a,o){if(e)return wh(e)({useUTC:a,renderMode:n,orderMode:r,markupStyleCreator:t,valueFormatter:e.valueFormatter},e,0,o)}function Ch(e,t){return'
'+e+'
'}function Th(e,t,n){return e.markupStyleCreator.wrapRichTextStyle(t,n)}function kh(e,t){return Dd(e.getData().getItemVisual(t,"style")[e.visualDrawType])}function Eh(e,t){var n=e.get("padding");return null!=n?n:"richText"===t?[8,10]:10}var Mh=function(){function e(){this.richTextStyles={},this._nextStyleNameId=ri()}return e.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},e.prototype.makeTooltipMarker=function(e,t,n){var r="richText"===n?this._generateStyleName():null,a=Pd({color:t,type:e,renderMode:n,markerId:r});return ce(a)?a:(this.richTextStyles[r]=a.style,a.content)},e.prototype.wrapRichTextStyle=function(e,t){var n={};le(t)?ee(t,(function(e){return G(n,e)})):G(n,t);var r=this._generateStyleName();return this.richTextStyles[r]=n,"{"+r+"|"+e+"}"},e}();function Ph(e){var t,n,r,a,o=e.series,i=e.dataIndex,s=e.multipleSeries,l=o.getData(),u=l.mapDimensionsAll("defaultedTooltip"),c=u.length,d=o.getRawValue(i),p=le(d),f=kh(o,i);if(c>1||p&&!c){var h=function(e,t,n,r,a){var o=t.getData(),i=ne(e,(function(e,t,n){var r=o.getDimensionInfo(n);return e||r&&!1!==r.tooltip&&null!=r.displayName}),!1),s=[],l=[],u=[];function c(e,t){var n=o.getDimensionInfo(t);n&&!1!==n.otherDims.tooltip&&(i?u.push(yh("nameValue",{markerType:"subItem",markerColor:a,name:n.displayName,value:e,valueType:n.type})):(s.push(e),l.push(n.type)))}return r.length?ee(r,(function(e){c(Mf(o,n,e),e)})):ee(e,c),{inlineValues:s,inlineValueTypes:l,blocks:u}}(d,o,i,u,f);t=h.inlineValues,n=h.inlineValueTypes,r=h.blocks,a=h.inlineValues[0]}else if(c){var m=l.getDimensionInfo(u[0]);a=t=Mf(l,i,u[0]),n=m.type}else a=t=p?d[0]:d;var g=yi(o),v=g&&o.name||"",y=l.getName(i),b=s?v:y;return yh("section",{header:v,noHeader:s||!g,sortParam:a,blocks:[yh("nameValue",{markerType:"item",markerColor:f,name:b,noName:!ke(b),value:t,valueType:n,dataIndex:i})].concat(r||[])})}var Oh=xi();function Ih(e,t){return e.getName(t)||e.getId(t)}var Dh="__universalTransitionEnabled",Rh=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._selectedDataIndicesMap={},t}return y(t,e),t.prototype.init=function(e,t,n){this.seriesIndex=this.componentIndex,this.dataTask=Df({count:Lh,reset:$h}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(e,n),(Oh(this).sourceManager=new ch(this)).prepareSource();var r=this.getInitialData(e,n);Fh(r,this),this.dataTask.context.data=r,Oh(this).dataBeforeProcessed=r,Nh(this),this._initSelectedMapFromData(r)},t.prototype.mergeDefaultAndTheme=function(e,t){var n=Wd(this),r=n?Ud(e):{},a=this.subType;Yd.hasClass(a)&&(a+="Series"),H(e,t.getTheme().get(this.subType)),H(e,this.getDefaultOption()),ci(e,"label",["show"]),this.fillDataTextStyle(e.data),n&&Vd(e,r,n)},t.prototype.mergeOption=function(e,t){e=H(this.option,e,!0),this.fillDataTextStyle(e.data);var n=Wd(this);n&&Vd(this.option,e,n);var r=Oh(this).sourceManager;r.dirty(),r.prepareSource();var a=this.getInitialData(e,t);Fh(a,this),this.dataTask.dirty(),this.dataTask.context.data=a,Oh(this).dataBeforeProcessed=a,Nh(this),this._initSelectedMapFromData(a)},t.prototype.fillDataTextStyle=function(e){if(e&&!me(e))for(var t=["show"],n=0;nthis.getShallow("animationThreshold")&&(t=!1),!!t},t.prototype.restoreData=function(){this.dataTask.dirty()},t.prototype.getColorFromPalette=function(e,t,n){var r=this.ecModel,a=wp.prototype.getColorFromPalette.call(this,e,t,n);return a||(a=r.getColorFromPalette(e,t,n)),a},t.prototype.coordDimToDataDim=function(e){return this.getRawData().mapDimensionsAll(e)},t.prototype.getProgressive=function(){return this.get("progressive")},t.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},t.prototype.select=function(e,t){this._innerSelect(this.getData(t),e)},t.prototype.unselect=function(e,t){var n=this.option.selectedMap;if(n){var r=this.option.selectedMode,a=this.getData(t);if("series"===r||"all"===n)return this.option.selectedMap={},void(this._selectedDataIndicesMap={});for(var o=0;o=0&&n.push(a)}return n},t.prototype.isSelected=function(e,t){var n=this.option.selectedMap;if(!n)return!1;var r=this.getData(t);return("all"===n||n[Ih(r,e)])&&!r.getItemModel(e).get(["select","disabled"])},t.prototype.isUniversalTransitionEnabled=function(){if(this[Dh])return!0;var e=this.option.universalTransition;return!!e&&(!0===e||e&&e.enabled)},t.prototype._innerSelect=function(e,t){var n,r,a=this.option,o=a.selectedMode,i=t.length;if(o&&i)if("series"===o)a.selectedMap="all";else if("multiple"===o){fe(a.selectedMap)||(a.selectedMap={});for(var s=a.selectedMap,l=0;l0&&this._innerSelect(e,t)}},t.registerClass=function(e){return Yd.registerClass(e)},t.protoInitialize=function(){var e=t.prototype;e.type="series.__base__",e.seriesIndex=0,e.ignoreStyleOnData=!1,e.hasSymbolVisual=!1,e.defaultSymbol="circle",e.visualStyleAccessPath="itemStyle",e.visualDrawType="fill"}(),t}(Yd);function Nh(e){var t=e.name;yi(e)||(e.name=function(e){var t=e.getRawData(),n=t.mapDimensionsAll("seriesName"),r=[];return ee(n,(function(e){var n=t.getDimensionInfo(e);n.displayName&&r.push(n.displayName)})),r.join(" ")}(e)||t)}function Lh(e){return e.model.getRawData().count()}function $h(e){var t=e.model;return t.setData(t.getRawData().cloneShallow()),jh}function jh(e,t){t.outputData&&e.end>t.outputData.count()&&t.model.getRawData().cloneShallow(t.outputData)}function Fh(e,t){ee(Ne(e.CHANGABLE_METHODS,e.DOWNSAMPLE_METHODS),(function(n){e.wrapMethod(n,se(Bh,t))}))}function Bh(e,t){var n=zh(e);return n&&n.setOutputEnd((t||this).count()),t}function zh(e){var t=(e.ecModel||{}).scheduler,n=t&&t.getPipeline(e.uid);if(n){var r=n.currentTask;if(r){var a=r.agentStubMap;a&&(r=a.get(e.uid))}return r}}Z(Rh,Of),Z(Rh,wp),Li(Rh,Yd);const Wh=Rh;var Vh=function(){function e(){this.group=new wo,this.uid=jc("viewComponent")}return e.prototype.init=function(e,t){},e.prototype.render=function(e,t,n,r){},e.prototype.dispose=function(e,t){},e.prototype.updateView=function(e,t,n,r){},e.prototype.updateLayout=function(e,t,n,r){},e.prototype.updateVisual=function(e,t,n,r){},e.prototype.toggleBlurSeries=function(e,t,n){},e.prototype.eachRendered=function(e){var t=this.group;t&&t.traverse(e)},e}();Ni(Vh),Bi(Vh);const Uh=Vh;function Hh(){var e=xi();return function(t){var n=e(t),r=t.pipelineContext,a=!!n.large,o=!!n.progressiveRender,i=n.large=!(!r||!r.large),s=n.progressiveRender=!(!r||!r.progressiveRender);return!(a===i&&o===s)&&"reset"}}var qh=Ks.CMD,Gh=[[],[],[]],Yh=Math.sqrt,Xh=Math.atan2;function Kh(e,t){if(t){var n,r,a,o,i,s,l=e.data,u=e.len(),c=qh.M,d=qh.C,p=qh.L,f=qh.R,h=qh.A,m=qh.Q;for(a=0,o=0;a1&&(i*=Qh(h),s*=Qh(h));var m=(a===o?-1:1)*Qh((i*i*(s*s)-i*i*(f*f)-s*s*(p*p))/(i*i*(f*f)+s*s*(p*p)))||0,g=m*i*f/s,v=m*-s*p/i,y=(e+n)/2+Jh(d)*g-Zh(d)*v,b=(t+r)/2+Zh(d)*g+Jh(d)*v,w=rm([1,0],[(p-g)/i,(f-v)/s]),x=[(p-g)/i,(f-v)/s],S=[(-1*p-g)/i,(-1*f-v)/s],_=rm(x,S);if(nm(x,S)<=-1&&(_=em),nm(x,S)>=1&&(_=0),_<0){var A=Math.round(_/em*1e6)/1e6;_=2*em+A%2*em}c.addData(u,y,b,i,s,w,_,d,o)}var om=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,im=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g,sm=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return We(t,e),t.prototype.applyTransform=function(e){},t}(vl);function lm(e){return null!=e.setData}function um(e,t){var n=function(e){var t=new Ks;if(!e)return t;var n,r=0,a=0,o=r,i=a,s=Ks.CMD,l=e.match(om);if(!l)return t;for(var u=0;uP*P+O*O&&(A=T,C=k),{cx:A,cy:C,x0:-c,y0:-d,x1:A*(a/x-1),y1:C*(a/x-1)}}var Pm=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0,this.cornerRadius=0},Om=function(e){function t(t){return e.call(this,t)||this}return We(t,e),t.prototype.getDefaultShape=function(){return new Pm},t.prototype.buildPath=function(e,t){!function(e,t){var n,r=Tm(t.r,0),a=Tm(t.r0||0,0),o=r>0;if(o||a>0){if(o||(r=a,a=0),a>r){var i=r;r=a,a=i}var s=t.startAngle,l=t.endAngle;if(!isNaN(s)&&!isNaN(l)){var u=t.cx,c=t.cy,d=!!t.clockwise,p=Am(l-s),f=p>bm&&p%bm;if(f>Em&&(p=f),r>Em)if(p>bm-Em)e.moveTo(u+r*xm(s),c+r*wm(s)),e.arc(u,c,r,s,l,!d),a>Em&&(e.moveTo(u+a*xm(l),c+a*wm(l)),e.arc(u,c,a,l,s,d));else{var h=void 0,m=void 0,g=void 0,v=void 0,y=void 0,b=void 0,w=void 0,x=void 0,S=void 0,_=void 0,A=void 0,C=void 0,T=void 0,k=void 0,E=void 0,M=void 0,P=r*xm(s),O=r*wm(s),I=a*xm(l),D=a*wm(l),R=p>Em;if(R){var N=t.cornerRadius;N&&(n=function(e){var t;if(le(e)){var n=e.length;if(!n)return e;t=1===n?[e[0],e[0],0,0]:2===n?[e[0],e[0],e[1],e[1]]:3===n?e.concat(e[2]):e}else t=[e,e,e,e];return t}(N),h=n[0],m=n[1],g=n[2],v=n[3]);var L=Am(r-a)/2;if(y=km(L,g),b=km(L,v),w=km(L,h),x=km(L,m),A=S=Tm(y,b),C=_=Tm(w,x),(S>Em||_>Em)&&(T=r*xm(l),k=r*wm(l),E=a*xm(s),M=a*wm(s),pEm){var U=km(g,A),H=km(v,A),q=Mm(E,M,P,O,r,U,d),G=Mm(T,k,I,D,r,H,d);e.moveTo(u+q.cx+q.x0,c+q.cy+q.y0),A0&&e.arc(u+q.cx,c+q.cy,U,_m(q.y0,q.x0),_m(q.y1,q.x1),!d),e.arc(u,c,r,_m(q.cy+q.y1,q.cx+q.x1),_m(G.cy+G.y1,G.cx+G.x1),!d),H>0&&e.arc(u+G.cx,c+G.cy,H,_m(G.y1,G.x1),_m(G.y0,G.x0),!d))}else e.moveTo(u+P,c+O),e.arc(u,c,r,s,l,!d);else e.moveTo(u+P,c+O);a>Em&&R?C>Em?(U=km(h,C),q=Mm(I,D,T,k,a,-(H=km(m,C)),d),G=Mm(P,O,E,M,a,-U,d),e.lineTo(u+q.cx+q.x0,c+q.cy+q.y0),C<_&&U===H?e.arc(u+q.cx,c+q.cy,C,_m(q.y0,q.x0),_m(G.y0,G.x0),!d):(H>0&&e.arc(u+q.cx,c+q.cy,H,_m(q.y0,q.x0),_m(q.y1,q.x1),!d),e.arc(u,c,a,_m(q.cy+q.y1,q.cx+q.x1),_m(G.cy+G.y1,G.cx+G.x1),d),U>0&&e.arc(u+G.cx,c+G.cy,U,_m(G.y1,G.x1),_m(G.y0,G.x0),!d))):(e.lineTo(u+I,c+D),e.arc(u,c,a,l,s,d)):e.lineTo(u+I,c+D)}else e.moveTo(u,c);e.closePath()}}}(e,t)},t.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},t}(vl);Om.prototype.type="sector";const Im=Om;var Dm=function(){this.cx=0,this.cy=0,this.r=0,this.r0=0},Rm=function(e){function t(t){return e.call(this,t)||this}return We(t,e),t.prototype.getDefaultShape=function(){return new Dm},t.prototype.buildPath=function(e,t){var n=t.cx,r=t.cy,a=2*Math.PI;e.moveTo(n+t.r,r),e.arc(n,r,t.r,0,a,!1),e.moveTo(n+t.r0,r),e.arc(n,r,t.r0,0,a,!0)},t}(vl);Rm.prototype.type="ring";const Nm=Rm;function Lm(e,t,n){var r=t.smooth,a=t.points;if(a&&a.length>=2){if(r){var o=function(e,t,n,r){var a,o,i,s,l=[],u=[],c=[],d=[];if(r){i=[1/0,1/0],s=[-1/0,-1/0];for(var p=0,f=e.length;psg[1]){if(i=!1,a)return i;var u=Math.abs(sg[0]-ig[1]),c=Math.abs(ig[0]-sg[1]);Math.min(u,c)>r.len()&&(uMath.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function Rg(e){return!e.isGroup}function Ng(e,t,n){if(e&&t){var r,a=(r={},e.traverse((function(e){Rg(e)&&e.anid&&(r[e.anid]=e)})),r);t.traverse((function(e){if(Rg(e)&&e.anid){var t=a[e.anid];if(t){var r=o(e);e.attr(o(t)),ec(e,r,n,Xl(e).dataIndex)}}}))}function o(e){var t={x:e.x,y:e.y,rotation:e.rotation};return function(e){return null!=e.shape}(e)&&(t.shape=G({},e.shape)),t}}function Lg(e,t){return te(e,(function(e){var n=e[0];n=mg(n,t.x),n=gg(n,t.x+t.width);var r=e[1];return r=mg(r,t.y),[n,r=gg(r,t.y+t.height)]}))}function $g(e,t){var n=mg(e.x,t.x),r=gg(e.x+e.width,t.x+t.width),a=mg(e.y,t.y),o=gg(e.y+e.height,t.y+t.height);if(r>=n&&o>=a)return{x:n,y:a,width:r-n,height:o-a}}function jg(e,t,n){var r=G({rectHover:!0},t),a=r.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},e)return 0===e.indexOf("image://")?(a.image=e.slice(8),Y(a,n),new Al(r)):_g(e.replace("path://",""),r,n,"center")}function Fg(e,t,n,r,a){for(var o=0,i=a[a.length-1];o=-1e-6)return!1;var h=e-a,m=t-o,g=zg(h,m,u,c)/f;if(g<0||g>1)return!1;var v=zg(h,m,d,p)/f;return!(v<0||v>1)}function zg(e,t,n,r){return e*r-n*t}function Wg(e){var t=e.itemTooltipOption,n=e.componentModel,r=e.itemName,a=ce(t)?{formatter:t}:t,o=n.mainType,i=n.componentIndex,s={componentType:o,name:r,$vars:["name"]};s[o+"Index"]=i;var l=e.formatterParamsExtra;l&&ee(oe(l),(function(e){je(s,e)||(s[e]=l[e],s.$vars.push(e))}));var u=Xl(e.el);u.componentMainType=o,u.componentIndex=i,u.tooltipConfig={name:r,option:Y({content:r,encodeHTMLContent:!0,formatterParams:s},a)}}function Vg(e,t){var n;e.isGroup&&(n=t(e)),n||e.traverse(t)}function Ug(e,t){if(e)if(le(e))for(var n=0;n=0?d():c=setTimeout(d,-a),l=r};return p.clear=function(){c&&(clearTimeout(c),c=null)},p.debounceNextCall=function(e){s=e},p}function av(e,t,n,r){var a=e[t];if(a){var o=a[ev]||a,i=a[nv];if(a[tv]!==n||i!==r){if(null==n||!r)return e[t]=o;(a=e[t]=rv(o,n,"debounce"===r))[ev]=o,a[nv]=r,a[tv]=n}return a}}function ov(e,t){var n=e[t];n&&n[ev]&&(n.clear&&n.clear(),e[t]=n[ev])}var iv=xi(),sv={itemStyle:zi(Ic,!0),lineStyle:zi(Mc,!0)},lv={lineStyle:"stroke",itemStyle:"fill"};function uv(e,t){return e.visualStyleMapper||sv[t]||(console.warn("Unknown style type '"+t+"'."),sv.itemStyle)}function cv(e,t){return e.visualDrawType||lv[t]||(console.warn("Unknown style type '"+t+"'."),"fill")}var dv={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var n=e.getData(),r=e.visualStyleAccessPath||"itemStyle",a=e.getModel(r),o=uv(e,r)(a),i=a.getShallow("decal");i&&(n.setVisual("decal",i),i.dirty=!0);var s=cv(e,r),l=o[s],u=ue(l)?l:null,c="auto"===o.fill||"auto"===o.stroke;if(!o[s]||u||c){var d=e.getColorFromPalette(e.name,null,t.getSeriesCount());o[s]||(o[s]=d,n.setVisual("colorFromPalette",!0)),o.fill="auto"===o.fill||ue(o.fill)?d:o.fill,o.stroke="auto"===o.stroke||ue(o.stroke)?d:o.stroke}if(n.setVisual("style",o),n.setVisual("drawType",s),!t.isSeriesFiltered(e)&&u)return n.setVisual("colorFromPalette",!1),{dataEach:function(t,n){var r=e.getDataParams(n),a=G({},o);a[s]=u(r),t.setItemVisual(n,"style",a)}}}},pv=new Lc,fv={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){if(!e.ignoreStyleOnData&&!t.isSeriesFiltered(e)){var n=e.getData(),r=e.visualStyleAccessPath||"itemStyle",a=uv(e,r),o=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(e,t){var n=e.getRawDataItem(t);if(n&&n[r]){pv.option=n[r];var i=a(pv);G(e.ensureUniqueItemVisual(t,"style"),i),pv.option.decal&&(e.setItemVisual(t,"decal",pv.option.decal),pv.option.decal.dirty=!0),o in i&&e.setItemVisual(t,"colorFromPalette",!1)}}:null}}}},hv={performRawSeries:!0,overallReset:function(e){var t=Re();e.eachSeries((function(e){var n=e.getColorBy();if(!e.isColorBySeries()){var r=e.type+"-"+n,a=t.get(r);a||(a={},t.set(r,a)),iv(e).scope=a}})),e.eachSeries((function(t){if(!t.isColorBySeries()&&!e.isSeriesFiltered(t)){var n=t.getRawData(),r={},a=t.getData(),o=iv(t).scope,i=t.visualStyleAccessPath||"itemStyle",s=cv(t,i);a.each((function(e){var t=a.getRawIndex(e);r[t]=e})),n.each((function(e){var i=r[e];if(a.getItemVisual(i,"colorFromPalette")){var l=a.ensureUniqueItemVisual(i,"style"),u=n.getName(e)||e+"",c=n.count();l[s]=t.getColorFromPalette(u,o,c)}}))}}))}},mv=Math.PI,gv=function(){function e(e,t,n,r){this._stageTaskMap=Re(),this.ecInstance=e,this.api=t,n=this._dataProcessorHandlers=n.slice(),r=this._visualHandlers=r.slice(),this._allHandlers=n.concat(r)}return e.prototype.restoreData=function(e,t){e.restoreData(t),this._stageTaskMap.each((function(e){var t=e.overallTask;t&&t.dirty()}))},e.prototype.getPerformArgs=function(e,t){if(e.__pipeline){var n=this._pipelineMap.get(e.__pipeline.id),r=n.context,a=!t&&n.progressiveEnabled&&(!r||r.progressiveRender)&&e.__idxInPipeline>n.blockIndex?n.step:null,o=r&&r.modDataCount;return{step:a,modBy:null!=o?Math.ceil(o/a):null,modDataCount:o}}},e.prototype.getPipeline=function(e){return this._pipelineMap.get(e)},e.prototype.updateStreamModes=function(e,t){var n=this._pipelineMap.get(e.uid),r=e.getData().count(),a=n.progressiveEnabled&&t.incrementalPrepareRender&&r>=n.threshold,o=e.get("large")&&r>=e.get("largeThreshold"),i="mod"===e.get("progressiveChunkMode")?r:null;e.pipelineContext=n.context={progressiveRender:a,modDataCount:i,large:o}},e.prototype.restorePipelines=function(e){var t=this,n=t._pipelineMap=Re();e.eachSeries((function(e){var r=e.getProgressive(),a=e.uid;n.set(a,{id:a,head:null,tail:null,threshold:e.getProgressiveThreshold(),progressiveEnabled:r&&!(e.preventIncremental&&e.preventIncremental()),blockIndex:-1,step:Math.round(r||700),count:0}),t._pipe(e,e.dataTask)}))},e.prototype.prepareStageTasks=function(){var e=this._stageTaskMap,t=this.api.getModel(),n=this.api;ee(this._allHandlers,(function(r){var a=e.get(r.uid)||e.set(r.uid,{});Te(!(r.reset&&r.overallReset),""),r.reset&&this._createSeriesStageTask(r,a,t,n),r.overallReset&&this._createOverallStageTask(r,a,t,n)}),this)},e.prototype.prepareView=function(e,t,n,r){var a=e.renderTask,o=a.context;o.model=t,o.ecModel=n,o.api=r,a.__block=!e.incrementalPrepareRender,this._pipe(t,a)},e.prototype.performDataProcessorTasks=function(e,t){this._performStageTasks(this._dataProcessorHandlers,e,t,{block:!0})},e.prototype.performVisualTasks=function(e,t,n){this._performStageTasks(this._visualHandlers,e,t,n)},e.prototype._performStageTasks=function(e,t,n,r){r=r||{};var a=!1,o=this;function i(e,t){return e.setDirty&&(!e.dirtyMap||e.dirtyMap.get(t.__pipeline.id))}ee(e,(function(e,s){if(!r.visualType||r.visualType===e.visualType){var l=o._stageTaskMap.get(e.uid),u=l.seriesTaskMap,c=l.overallTask;if(c){var d,p=c.agentStubMap;p.each((function(e){i(r,e)&&(e.dirty(),d=!0)})),d&&c.dirty(),o.updatePayload(c,n);var f=o.getPerformArgs(c,r.block);p.each((function(e){e.perform(f)})),c.perform(f)&&(a=!0)}else u&&u.each((function(s,l){i(r,s)&&s.dirty();var u=o.getPerformArgs(s,r.block);u.skip=!e.performRawSeries&&t.isSeriesFiltered(s.context.model),o.updatePayload(s,n),s.perform(u)&&(a=!0)}))}})),this.unfinished=a||this.unfinished},e.prototype.performSeriesTasks=function(e){var t;e.eachSeries((function(e){t=e.dataTask.perform()||t})),this.unfinished=t||this.unfinished},e.prototype.plan=function(){this._pipelineMap.each((function(e){var t=e.tail;do{if(t.__block){e.blockIndex=t.__idxInPipeline;break}t=t.getUpstream()}while(t)}))},e.prototype.updatePayload=function(e,t){"remain"!==t&&(e.context.payload=t)},e.prototype._createSeriesStageTask=function(e,t,n,r){var a=this,o=t.seriesTaskMap,i=t.seriesTaskMap=Re(),s=e.seriesType,l=e.getTargetSeries;function u(t){var s=t.uid,l=i.set(s,o&&o.get(s)||Df({plan:xv,reset:Sv,count:Cv}));l.context={model:t,ecModel:n,api:r,useClearVisual:e.isVisual&&!e.isLayout,plan:e.plan,reset:e.reset,scheduler:a},a._pipe(t,l)}e.createOnAllSeries?n.eachRawSeries(u):s?n.eachRawSeriesByType(s,u):l&&l(n,r).each(u)},e.prototype._createOverallStageTask=function(e,t,n,r){var a=this,o=t.overallTask=t.overallTask||Df({reset:vv});o.context={ecModel:n,api:r,overallReset:e.overallReset,scheduler:a};var i=o.agentStubMap,s=o.agentStubMap=Re(),l=e.seriesType,u=e.getTargetSeries,c=!0,d=!1;function p(e){var t=e.uid,n=s.set(t,i&&i.get(t)||(d=!0,Df({reset:yv,onDirty:wv})));n.context={model:e,overallProgress:c},n.agent=o,n.__block=c,a._pipe(e,n)}Te(!e.createOnAllSeries,""),l?n.eachRawSeriesByType(l,p):u?u(n,r).each(p):(c=!1,ee(n.getSeries(),p)),d&&o.dirty()},e.prototype._pipe=function(e,t){var n=e.uid,r=this._pipelineMap.get(n);!r.head&&(r.head=t),r.tail&&r.tail.pipe(t),r.tail=t,t.__idxInPipeline=r.count++,t.__pipeline=r},e.wrapStageHandler=function(e,t){return ue(e)&&(e={overallReset:e,seriesType:Tv(e)}),e.uid=jc("stageHandler"),t&&(e.visualType=t),e},e}();function vv(e){e.overallReset(e.ecModel,e.api,e.payload)}function yv(e){return e.overallProgress&&bv}function bv(){this.agent.dirty(),this.getDownstream().dirty()}function wv(){this.agent&&this.agent.dirty()}function xv(e){return e.plan?e.plan(e.model,e.ecModel,e.api,e.payload):null}function Sv(e){e.useClearVisual&&e.data.clearAllVisual();var t=e.resetDefines=ui(e.reset(e.model,e.ecModel,e.api,e.payload));return t.length>1?te(t,(function(e,t){return Av(t)})):_v}var _v=Av(0);function Av(e){return function(t,n){var r=n.data,a=n.resetDefines[e];if(a&&a.dataEach)for(var o=t.start;o0&&c===a.length-u.length){var d=a.slice(0,c);"data"!==d&&(t.mainType=d,t[u.toLowerCase()]=e,s=!0)}}i.hasOwnProperty(a)&&(n[a]=e,s=!0),s||(r[a]=e)}))}return{cptQuery:t,dataQuery:n,otherQuery:r}},e.prototype.filter=function(e,t){var n=this.eventInfo;if(!n)return!0;var r=n.targetEl,a=n.packedEvent,o=n.model,i=n.view;if(!o||!i)return!0;var s=t.cptQuery,l=t.dataQuery;return u(s,o,"mainType")&&u(s,o,"subType")&&u(s,o,"index","componentIndex")&&u(s,o,"name")&&u(s,o,"id")&&u(l,a,"name")&&u(l,a,"dataIndex")&&u(l,a,"dataType")&&(!i.filterForExposedEvent||i.filterForExposedEvent(e,t.otherQuery,r,a));function u(e,t,n,r){return null==e[n]||t[r||n]===e[n]}},e.prototype.afterTrigger=function(){this.eventInfo=null},e}(),zv=["symbol","symbolSize","symbolRotate","symbolOffset"],Wv=zv.concat(["symbolKeepAspect"]),Vv={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var n=e.getData();if(e.legendIcon&&n.setVisual("legendIcon",e.legendIcon),e.hasSymbolVisual){for(var r={},a={},o=!1,i=0;i=0&&py(l)?l:.5,e.createRadialGradient(i,s,0,i,s,l)}(e,t,n):function(e,t,n){var r=null==t.x?0:t.x,a=null==t.x2?1:t.x2,o=null==t.y?0:t.y,i=null==t.y2?0:t.y2;return t.global||(r=r*n.width+n.x,a=a*n.width+n.x,o=o*n.height+n.y,i=i*n.height+n.y),r=py(r)?r:0,a=py(a)?a:1,o=py(o)?o:0,i=py(i)?i:0,e.createLinearGradient(r,o,a,i)}(e,t,n),a=t.colorStops,o=0;o0&&(t=r.lineDash,n=r.lineWidth,t&&"solid"!==t&&n>0?"dashed"===t?[4*n,2*n]:"dotted"===t?[n]:pe(t)?[t]:le(t)?t:null:null),o=r.lineDashOffset;if(a){var i=r.strokeNoScale&&e.getLineScale?e.getLineScale():1;i&&1!==i&&(a=te(a,(function(e){return e/i})),o/=i)}return[a,o]}var vy=new Ks(!0);function yy(e){var t=e.stroke;return!(null==t||"none"===t||!(e.lineWidth>0))}function by(e){return"string"==typeof e&&"none"!==e}function wy(e){var t=e.fill;return null!=t&&"none"!==t}function xy(e,t){if(null!=t.fillOpacity&&1!==t.fillOpacity){var n=e.globalAlpha;e.globalAlpha=t.fillOpacity*t.opacity,e.fill(),e.globalAlpha=n}else e.fill()}function Sy(e,t){if(null!=t.strokeOpacity&&1!==t.strokeOpacity){var n=e.globalAlpha;e.globalAlpha=t.strokeOpacity*t.opacity,e.stroke(),e.globalAlpha=n}else e.stroke()}function _y(e,t,n){var r=qi(t.image,t.__image,n);if(Yi(r)){var a=e.createPattern(r,t.repeat||"repeat");if("function"==typeof DOMMatrix&&a&&a.setTransform){var o=new DOMMatrix;o.translateSelf(t.x||0,t.y||0),o.rotateSelf(0,0,(t.rotation||0)*Be),o.scaleSelf(t.scaleX||1,t.scaleY||1),a.setTransform(o)}return a}}var Ay=["shadowBlur","shadowOffsetX","shadowOffsetY"],Cy=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function Ty(e,t,n,r,a){var o=!1;if(!r&&t===(n=n||{}))return!1;if(r||t.opacity!==n.opacity){Dy(e,a),o=!0;var i=Math.max(Math.min(t.opacity,1),0);e.globalAlpha=isNaN(i)?ls.opacity:i}(r||t.blend!==n.blend)&&(o||(Dy(e,a),o=!0),e.globalCompositeOperation=t.blend||ls.blend);for(var s=0;s0&&e.unfinished);e.unfinished||this._zr.flush()}}},t.prototype.getDom=function(){return this._dom},t.prototype.getId=function(){return this.id},t.prototype.getZr=function(){return this._zr},t.prototype.isSSR=function(){return this._ssr},t.prototype.setOption=function(e,t,n){if(!this[tb])if(this._disposed)Ib(this.id);else{var r,a,o;if(fe(t)&&(n=t.lazyUpdate,r=t.silent,a=t.replaceMerge,o=t.transition,t=t.notMerge),this[tb]=!0,!this._model||t){var i=new $p(this._api),s=this._theme,l=this._model=new Ep;l.scheduler=this._scheduler,l.ssr=this._ssr,l.init(null,null,null,s,this._locale,i)}this._model.setOption(e,{replaceMerge:a},Lb);var u={seriesTransition:o,optionChanged:!0};if(n)this[nb]={silent:r,updateParams:u},this[tb]=!1,this.getZr().wakeUp();else{try{ub(this),pb.update.call(this,null,u)}catch(e){throw this[nb]=null,this[tb]=!1,e}this._ssr||this._zr.flush(),this[nb]=null,this[tb]=!1,gb.call(this,r),vb.call(this,r)}}},t.prototype.setTheme=function(){},t.prototype.getModel=function(){return this._model},t.prototype.getOption=function(){return this._model&&this._model.getOption()},t.prototype.getWidth=function(){return this._zr.getWidth()},t.prototype.getHeight=function(){return this._zr.getHeight()},t.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||x.hasGlobalWindow&&window.devicePixelRatio||1},t.prototype.getRenderedCanvas=function(e){return this.renderToCanvas(e)},t.prototype.renderToCanvas=function(e){return e=e||{},this._zr.painter.getRenderedCanvas({backgroundColor:e.backgroundColor||this._model.get("backgroundColor"),pixelRatio:e.pixelRatio||this.getDevicePixelRatio()})},t.prototype.renderToSVGString=function(e){return e=e||{},this._zr.painter.renderToString({useViewBox:e.useViewBox})},t.prototype.getSvgDataURL=function(){if(x.svgSupported){var e=this._zr;return ee(e.storage.getDisplayList(),(function(e){e.stopAnimation(null,!0)})),e.painter.toDataURL()}},t.prototype.getDataURL=function(e){if(!this._disposed){var t=(e=e||{}).excludeComponents,n=this._model,r=[],a=this;ee(t,(function(e){n.eachComponent({mainType:e},(function(e){var t=a._componentsMap[e.__viewId];t.group.ignore||(r.push(t),t.group.ignore=!0)}))}));var o="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.renderToCanvas(e).toDataURL("image/"+(e&&e.type||"png"));return ee(r,(function(e){e.group.ignore=!1})),o}Ib(this.id)},t.prototype.getConnectedDataURL=function(e){if(!this._disposed){var t="svg"===e.type,n=this.group,r=Math.min,a=Math.max,o=1/0;if(zb[n]){var i=o,s=o,l=-1/0,u=-1/0,c=[],d=e&&e.pixelRatio||this.getDevicePixelRatio();ee(Bb,(function(o,d){if(o.group===n){var p=t?o.getZr().painter.getSvgDom().innerHTML:o.renderToCanvas(U(e)),f=o.getDom().getBoundingClientRect();i=r(f.left,i),s=r(f.top,s),l=a(f.right,l),u=a(f.bottom,u),c.push({dom:p,left:f.left,top:f.top})}}));var p=(l*=d)-(i*=d),f=(u*=d)-(s*=d),h=E.createCanvas(),m=Co(h,{renderer:t?"svg":"canvas"});if(m.resize({width:p,height:f}),t){var g="";return ee(c,(function(e){var t=e.left-i,n=e.top-s;g+=''+e.dom+""})),m.painter.getSvgRoot().innerHTML=g,e.connectedBackgroundColor&&m.painter.setBackgroundColor(e.connectedBackgroundColor),m.refreshImmediately(),m.painter.toDataURL()}return e.connectedBackgroundColor&&m.add(new Il({shape:{x:0,y:0,width:p,height:f},style:{fill:e.connectedBackgroundColor}})),ee(c,(function(e){var t=new Al({style:{x:e.left*d-i,y:e.top*d-s,image:e.dom}});m.add(t)})),m.refreshImmediately(),h.toDataURL("image/"+(e&&e.type||"png"))}return this.getDataURL(e)}Ib(this.id)},t.prototype.convertToPixel=function(e,t){return fb(this,"convertToPixel",e,t)},t.prototype.convertFromPixel=function(e,t){return fb(this,"convertFromPixel",e,t)},t.prototype.containPixel=function(e,t){var n;if(!this._disposed)return ee(_i(this._model,e),(function(e,r){r.indexOf("Models")>=0&&ee(e,(function(e){var a=e.coordinateSystem;if(a&&a.containPoint)n=n||!!a.containPoint(t);else if("seriesModels"===r){var o=this._chartsMap[e.__viewId];o&&o.containPoint&&(n=n||o.containPoint(t,e))}}),this)}),this),!!n;Ib(this.id)},t.prototype.getVisual=function(e,t){var n=_i(this._model,e,{defaultMainType:"series"}),r=n.seriesModel.getData(),a=n.hasOwnProperty("dataIndexInside")?n.dataIndexInside:n.hasOwnProperty("dataIndex")?r.indexOfRawIndex(n.dataIndex):null;return null!=a?Hv(r,a,t):qv(r,t)},t.prototype.getViewOfComponentModel=function(e){return this._componentsMap[e.__viewId]},t.prototype.getViewOfSeriesModel=function(e){return this._chartsMap[e.__viewId]},t.prototype._initEvents=function(){var e,t,n,r=this;ee(Ob,(function(e){var t=function(t){var n,a=r.getModel(),o=t.target;if("globalout"===e?n={}:o&&Kv(o,(function(e){var t=Xl(e);if(t&&null!=t.dataIndex){var r=t.dataModel||a.getSeriesByIndex(t.seriesIndex);return n=r&&r.getDataParams(t.dataIndex,t.dataType,o)||{},!0}if(t.eventData)return n=G({},t.eventData),!0}),!0),n){var i=n.componentType,s=n.componentIndex;"markLine"!==i&&"markPoint"!==i&&"markArea"!==i||(i="series",s=n.seriesIndex);var l=i&&null!=s&&a.getComponent(i,s),u=l&&r["series"===l.mainType?"_chartsMap":"_componentsMap"][l.__viewId];n.event=t,n.type=e,r._$eventProcessor.eventInfo={targetEl:o,packedEvent:n,model:l,view:u},r.trigger(e,n)}};t.zrEventfulCallAtLast=!0,r._zr.on(e,t,r)})),ee(Rb,(function(e,t){r._messageCenter.on(t,(function(e){this.trigger(t,e)}),r)})),ee(["selectchanged"],(function(e){r._messageCenter.on(e,(function(t){this.trigger(e,t)}),r)})),e=this._messageCenter,t=this,n=this._api,e.on("selectchanged",(function(e){var r=n.getModel();e.isFromClick?(Xv("map","selectchanged",t,r,e),Xv("pie","selectchanged",t,r,e)):"select"===e.fromAction?(Xv("map","selected",t,r,e),Xv("pie","selected",t,r,e)):"unselect"===e.fromAction&&(Xv("map","unselected",t,r,e),Xv("pie","unselected",t,r,e))}))},t.prototype.isDisposed=function(){return this._disposed},t.prototype.clear=function(){this._disposed?Ib(this.id):this.setOption({series:[]},!0)},t.prototype.dispose=function(){if(this._disposed)Ib(this.id);else{this._disposed=!0,this.getDom()&&Ei(this.getDom(),Ub,"");var e=this,t=e._api,n=e._model;ee(e._componentsViews,(function(e){e.dispose(n,t)})),ee(e._chartsViews,(function(e){e.dispose(n,t)})),e._zr.dispose(),e._dom=e._model=e._chartsMap=e._componentsMap=e._chartsViews=e._componentsViews=e._scheduler=e._api=e._zr=e._throttledZrFlush=e._theme=e._coordSysMgr=e._messageCenter=null,delete Bb[e.id]}},t.prototype.resize=function(e){if(!this[tb])if(this._disposed)Ib(this.id);else{this._zr.resize(e);var t=this._model;if(this._loadingFX&&this._loadingFX.resize(),t){var n=t.resetOption("media"),r=e&&e.silent;this[nb]&&(null==r&&(r=this[nb].silent),n=!0,this[nb]=null),this[tb]=!0;try{n&&ub(this),pb.update.call(this,{type:"resize",animation:G({duration:0},e&&e.animation)})}catch(e){throw this[tb]=!1,e}this[tb]=!1,gb.call(this,r),vb.call(this,r)}}},t.prototype.showLoading=function(e,t){if(this._disposed)Ib(this.id);else if(fe(e)&&(t=e,e=""),e=e||"default",this.hideLoading(),Fb[e]){var n=Fb[e](this._api,t),r=this._zr;this._loadingFX=n,r.add(n)}},t.prototype.hideLoading=function(){this._disposed?Ib(this.id):(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},t.prototype.makeActionFromEvent=function(e){var t=G({},e);return t.type=Rb[e.type],t},t.prototype.dispatchAction=function(e,t){if(this._disposed)Ib(this.id);else if(fe(t)||(t={silent:!!t}),Db[e.type]&&this._model)if(this[tb])this._pendingActions.push(e);else{var n=t.silent;mb.call(this,e,n);var r=t.flush;r?this._zr.flush():!1!==r&&x.browser.weChat&&this._throttledZrFlush(),gb.call(this,n),vb.call(this,n)}},t.prototype.updateLabelLayout=function(){Uy.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},t.prototype.appendData=function(e){if(this._disposed)Ib(this.id);else{var t=e.seriesIndex;this.getModel().getSeriesByIndex(t).appendData(e),this._scheduler.unfinished=!0,this.getZr().wakeUp()}},t.internalField=function(){function e(e){e.clearColorPalette(),e.eachSeries((function(e){e.clearColorPalette()}))}function t(e){for(var t=[],n=e.currentStates,r=0;r0?{duration:o,delay:r.get("delay"),easing:r.get("easing")}:null;n.eachRendered((function(e){if(e.states&&e.states.emphasis){if(nc(e))return;if(e instanceof vl&&function(e){var t=Jl(e);t.normalFill=e.style.fill,t.normalStroke=e.style.stroke;var n=e.states.select||{};t.selectFill=n.style&&n.style.fill||null,t.selectStroke=n.style&&n.style.stroke||null}(e),e.__dirty){var n=e.prevStates;n&&e.useStates(n)}if(a){e.stateTransition=i;var r=e.getTextContent(),o=e.getTextGuideLine();r&&(r.stateTransition=i),o&&(o.stateTransition=i)}e.__dirty&&t(e)}}))}ub=function(e){var t=e._scheduler;t.restorePipelines(e._model),t.prepareStageTasks(),cb(e,!0),cb(e,!1),t.plan()},cb=function(e,t){for(var n=e._model,r=e._scheduler,a=t?e._componentsViews:e._chartsViews,o=t?e._componentsMap:e._chartsMap,i=e._zr,s=e._api,l=0;lt.get("hoverLayerThreshold")&&!x.node&&!x.worker&&t.eachSeries((function(t){if(!t.preventUsingHoverLayer){var n=e._chartsMap[t.__viewId];n.__alive&&n.eachRendered((function(e){e.states.emphasis&&(e.states.emphasis.hoverLayer=!0)}))}}))}(e,t),Uy.trigger("series:afterupdate",t,r,s)},Cb=function(e){e[rb]=!0,e.getZr().wakeUp()},Tb=function(e){e[rb]&&(e.getZr().storage.traverse((function(e){nc(e)||t(e)})),e[rb]=!1)},_b=function(e){return new(function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return y(n,t),n.prototype.getCoordinateSystems=function(){return e._coordSysMgr.getCoordinateSystems()},n.prototype.getComponentByElement=function(t){for(;t;){var n=t.__ecComponentInfo;if(null!=n)return e._model.getComponent(n.mainType,n.index);t=t.parent}},n.prototype.enterEmphasis=function(t,n){Eu(t,n),Cb(e)},n.prototype.leaveEmphasis=function(t,n){Mu(t,n),Cb(e)},n.prototype.enterBlur=function(t){Pu(t),Cb(e)},n.prototype.leaveBlur=function(t){Ou(t),Cb(e)},n.prototype.enterSelect=function(t){Iu(t),Cb(e)},n.prototype.leaveSelect=function(t){Du(t),Cb(e)},n.prototype.getModel=function(){return e.getModel()},n.prototype.getViewOfComponentModel=function(t){return e.getViewOfComponentModel(t)},n.prototype.getViewOfSeriesModel=function(t){return e.getViewOfSeriesModel(t)},n}(Pp))(e)},Ab=function(e){function t(e,t){for(var n=0;n=0)){uw.push(n);var o=Ov.wrapStageHandler(n,a);o.__prio=t,o.__raw=n,e.push(o)}}function dw(e,t){Fb[e]=t}function pw(e){M({createCanvas:e})}function fw(e,t,n){var r=qy("registerMap");r&&r(e,t,n)}function hw(e){var t=qy("getMap");return t&&t(e)}var mw=function(e){var t=(e=U(e)).type;t||Lf("");var n=t.split(":");2!==n.length&&Lf("");var r=!1;"echarts"===n[0]&&(t=n[1],r=!0),e.__isBuiltIn=r,Kf.set(t,e)};lw(Qy,dv),lw(Jy,fv),lw(Jy,hv),lw(Qy,Vv),lw(Jy,Uv),lw(7e3,(function(e,t){e.eachRawSeries((function(n){if(!e.isSeriesFiltered(n)){var r=n.getData();r.hasItemVisual()&&r.each((function(e){var n=r.getItemVisual(e,"decal");n&&(r.ensureUniqueItemVisual(e,"style").decal=By(n,t))}));var a=r.getVisual("decal");a&&(r.getVisual("style").decal=By(a,t))}}))})),Jb(nf),ew(900,(function(e){var t=Re();e.eachSeries((function(e){var n=e.get("stack");if(n){var r=t.get(n)||t.set(n,[]),a=e.getData(),o={stackResultDimension:a.getCalculationInfo("stackResultDimension"),stackedOverDimension:a.getCalculationInfo("stackedOverDimension"),stackedDimension:a.getCalculationInfo("stackedDimension"),stackedByDimension:a.getCalculationInfo("stackedByDimension"),isStackedByIndex:a.getCalculationInfo("isStackedByIndex"),data:a,seriesModel:e};if(!o.stackedDimension||!o.isStackedByIndex&&!o.stackedByDimension)return;r.length&&a.setCalculationInfo("stackedOnSeries",r[r.length-1].seriesModel),r.push(o)}})),t.each(rf)})),dw("default",(function(e,t){Y(t=t||{},{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var n=new wo,r=new Il({style:{fill:t.maskColor},zlevel:t.zlevel,z:1e4});n.add(r);var a,o=new Yl({style:{text:t.text,fill:t.textColor,fontSize:t.fontSize,fontWeight:t.fontWeight,fontStyle:t.fontStyle,fontFamily:t.fontFamily},zlevel:t.zlevel,z:10001}),i=new Il({style:{fill:"none"},textContent:o,textConfig:{position:"right",distance:10},zlevel:t.zlevel,z:10001});return n.add(i),t.showSpinner&&((a=new eg({shape:{startAngle:-mv/2,endAngle:-mv/2+.1,r:t.spinnerRadius},style:{stroke:t.color,lineCap:"round",lineWidth:t.lineWidth},zlevel:t.zlevel,z:10001})).animateShape(!0).when(1e3,{endAngle:3*mv/2}).start("circularInOut"),a.animateShape(!0).when(1e3,{startAngle:3*mv/2}).delay(300).start("circularInOut"),n.add(a)),n.resize=function(){var n=o.getBoundingRect().width,s=t.showSpinner?t.spinnerRadius:0,l=(e.getWidth()-2*s-(t.showSpinner&&n?10:0)-n)/2-(t.showSpinner&&n?0:5+n/2)+(t.showSpinner?0:n/2)+(n?0:s),u=e.getHeight()/2;t.showSpinner&&a.setShape({cx:l,cy:u}),i.setShape({x:l-s,y:u-s,width:2*s,height:2*s}),r.setShape({x:0,y:0,width:e.getWidth(),height:e.getHeight()})},n.resize(),n})),aw({type:lu,event:lu,update:lu},Fe),aw({type:uu,event:uu,update:uu},Fe),aw({type:cu,event:cu,update:cu},Fe),aw({type:du,event:du,update:du},Fe),aw({type:pu,event:pu,update:pu},Fe),Zb("light",Dv),Zb("dark",Fv);var gw={},vw=[],yw={registerPreprocessor:Jb,registerProcessor:ew,registerPostInit:tw,registerPostUpdate:nw,registerUpdateLifecycle:rw,registerAction:aw,registerCoordinateSystem:ow,registerLayout:sw,registerVisual:lw,registerTransform:mw,registerLoading:dw,registerMap:fw,registerImpl:function(e,t){Hy[e]=t},PRIORITY:eb,ComponentModel:Yd,ComponentView:Uh,SeriesModel:Wh,ChartView:Jg,registerComponentModel:function(e){Yd.registerClass(e)},registerComponentView:function(e){Uh.registerClass(e)},registerSeriesModel:function(e){Wh.registerClass(e)},registerChartView:function(e){Jg.registerClass(e)},registerSubTypeDefaulter:function(e,t){Yd.registerSubTypeDefaulter(e,t)},registerPainter:function(e,t){Mo(e,t)}};function bw(e){le(e)?ee(e,(function(e){bw(e)})):K(vw,e)>=0||(vw.push(e),ue(e)&&(e={install:e}),e.install(yw))}function ww(e){return null==e?0:e.length||1}function xw(e){return e}var Sw=function(){function e(e,t,n,r,a,o){this._old=e,this._new=t,this._oldKeyGetter=n||xw,this._newKeyGetter=r||xw,this.context=a,this._diffModeMultiple="multiple"===o}return e.prototype.add=function(e){return this._add=e,this},e.prototype.update=function(e){return this._update=e,this},e.prototype.updateManyToOne=function(e){return this._updateManyToOne=e,this},e.prototype.updateOneToMany=function(e){return this._updateOneToMany=e,this},e.prototype.updateManyToMany=function(e){return this._updateManyToMany=e,this},e.prototype.remove=function(e){return this._remove=e,this},e.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},e.prototype._executeOneToOne=function(){var e=this._old,t=this._new,n={},r=new Array(e.length),a=new Array(t.length);this._initIndexMap(e,null,r,"_oldKeyGetter"),this._initIndexMap(t,n,a,"_newKeyGetter");for(var o=0;o1){var u=s.shift();1===s.length&&(n[i]=s[0]),this._update&&this._update(u,o)}else 1===l?(n[i]=null,this._update&&this._update(s,o)):this._remove&&this._remove(o)}this._performRestAdd(a,n)},e.prototype._executeMultiple=function(){var e=this._old,t=this._new,n={},r={},a=[],o=[];this._initIndexMap(e,n,a,"_oldKeyGetter"),this._initIndexMap(t,r,o,"_newKeyGetter");for(var i=0;i1&&1===d)this._updateManyToOne&&this._updateManyToOne(u,l),r[s]=null;else if(1===c&&d>1)this._updateOneToMany&&this._updateOneToMany(u,l),r[s]=null;else if(1===c&&1===d)this._update&&this._update(u,l),r[s]=null;else if(c>1&&d>1)this._updateManyToMany&&this._updateManyToMany(u,l),r[s]=null;else if(c>1)for(var p=0;p1)for(var i=0;i30}var Nw,Lw,$w,jw,Fw,Bw,zw,Ww=fe,Vw=te,Uw="undefined"==typeof Int32Array?Array:Int32Array,Hw=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],qw=["_approximateExtent"],Gw=function(){function e(e,t){var n;this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","lttbDownSample"];var r=!1;Ow(e)?(n=e.dimensions,this._dimOmitted=e.isDimensionOmitted(),this._schema=e):(r=!0,n=e),n=n||["x","y"];for(var a={},o=[],i={},s=!1,l={},u=0;u=t)){var n=this._store.getProvider();this._updateOrdinalMeta();var r=this._nameList,a=this._idList;if(n.getSource().sourceFormat===Jd&&!n.pure)for(var o=[],i=e;i0},e.prototype.ensureUniqueItemVisual=function(e,t){var n=this._itemVisuals,r=n[e];r||(r=n[e]={});var a=r[t];return null==a&&(le(a=this.getVisual(t))?a=a.slice():Ww(a)&&(a=G({},a)),r[t]=a),a},e.prototype.setItemVisual=function(e,t,n){var r=this._itemVisuals[e]||{};this._itemVisuals[e]=r,Ww(t)?G(r,t):r[t]=n},e.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},e.prototype.setLayout=function(e,t){Ww(e)?G(this._layout,e):this._layout[e]=t},e.prototype.getLayout=function(e){return this._layout[e]},e.prototype.getItemLayout=function(e){return this._itemLayouts[e]},e.prototype.setItemLayout=function(e,t,n){this._itemLayouts[e]=n?G(this._itemLayouts[e]||{},t):t},e.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},e.prototype.setItemGraphicEl=function(e,t){var n=this.hostModel&&this.hostModel.seriesIndex;Kl(n,this.dataType,e,t),this._graphicEls[e]=t},e.prototype.getItemGraphicEl=function(e){return this._graphicEls[e]},e.prototype.eachItemGraphicEl=function(e,t){ee(this._graphicEls,(function(n,r){n&&e&&e.call(t,n,r)}))},e.prototype.cloneShallow=function(t){return t||(t=new e(this._schema?this._schema:Vw(this.dimensions,this._getDimInfo,this),this.hostModel)),Fw(t,this),t._store=this._store,t},e.prototype.wrapMethod=function(e,t){var n=this[e];ue(n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(e),this[e]=function(){var e=n.apply(this,arguments);return t.apply(this,[e].concat(Ae(arguments)))})},e.internalField=(Nw=function(e){var t=e._invertedIndicesMap;ee(t,(function(n,r){var a=e._dimInfos[r],o=a.ordinalMeta,i=e._store;if(o){n=t[r]=new Uw(o.categories.length);for(var s=0;s1&&(s+="__ec__"+u),r[t]=s}})),e}();const Yw=Gw;function Xw(e,t){return Kw(e,t).dimensions}function Kw(e,t){df(e)||(e=ff(e));var n=(t=t||{}).coordDimensions||[],r=t.dimensionsDefine||e.dimensionsDefine||[],a=Re(),o=[],i=function(e,t,n,r){var a=Math.max(e.dimensionsDetectedCount||1,t.length,n.length,r||0);return ee(t,(function(e){var t;fe(e)&&(t=e.dimsDef)&&(a=Math.max(a,t.length))})),a}(e,n,r,t.dimensionsCount),s=t.canOmitUnusedDimensions&&Rw(i),l=r===e.dimensionsDefine,u=l?Dw(e):Iw(r),c=t.encodeDefine;!c&&t.encodeDefaulter&&(c=t.encodeDefaulter(e,i));for(var d=Re(c),p=new rh(i),f=0;f0&&(r.name=a+(o-1)),o++,t.set(a,o)}}(o),new Pw({source:e,dimensions:o,fullDimensionCount:i,dimensionOmitted:s})}function Qw(e,t,n){if(n||t.hasKey(e)){for(var r=0;t.hasKey(e+r);)r++;e+=r}return t.set(e,!0),e}var Zw=function(e){this.coordSysDims=[],this.axisMap=Re(),this.categoryAxisMap=Re(),this.coordSysName=e},Jw={cartesian2d:function(e,t,n,r){var a=e.getReferringComponents("xAxis",Ci).models[0],o=e.getReferringComponents("yAxis",Ci).models[0];t.coordSysDims=["x","y"],n.set("x",a),n.set("y",o),ex(a)&&(r.set("x",a),t.firstCategoryDimIndex=0),ex(o)&&(r.set("y",o),null==t.firstCategoryDimIndex&&(t.firstCategoryDimIndex=1))},singleAxis:function(e,t,n,r){var a=e.getReferringComponents("singleAxis",Ci).models[0];t.coordSysDims=["single"],n.set("single",a),ex(a)&&(r.set("single",a),t.firstCategoryDimIndex=0)},polar:function(e,t,n,r){var a=e.getReferringComponents("polar",Ci).models[0],o=a.findAxisModel("radiusAxis"),i=a.findAxisModel("angleAxis");t.coordSysDims=["radius","angle"],n.set("radius",o),n.set("angle",i),ex(o)&&(r.set("radius",o),t.firstCategoryDimIndex=0),ex(i)&&(r.set("angle",i),null==t.firstCategoryDimIndex&&(t.firstCategoryDimIndex=1))},geo:function(e,t,n,r){t.coordSysDims=["lng","lat"]},parallel:function(e,t,n,r){var a=e.ecModel,o=a.getComponent("parallel",e.get("parallelIndex")),i=t.coordSysDims=o.dimensions.slice();ee(o.parallelAxisIndex,(function(e,o){var s=a.getComponent("parallelAxis",e),l=i[o];n.set(l,s),ex(s)&&(r.set(l,s),null==t.firstCategoryDimIndex&&(t.firstCategoryDimIndex=o))}))}};function ex(e){return"category"===e.get("type")}function tx(e,t,n){var r,a,o,i=(n=n||{}).byIndex,s=n.stackedCoordDimension;!function(e){return!Ow(e.schema)}(t)?(a=t.schema,r=a.dimensions,o=t.store):r=t;var l,u,c,d,p=!(!e||!e.get("stack"));if(ee(r,(function(e,t){ce(e)&&(r[t]=e={name:e}),p&&!e.isExtraCoord&&(i||l||!e.ordinalMeta||(l=e),u||"ordinal"===e.type||"time"===e.type||s&&s!==e.coordDim||(u=e))})),!u||i||l||(i=!0),u){c="__\0ecstackresult_"+e.id,d="__\0ecstackedover_"+e.id,l&&(l.createInvertedIndices=!0);var f=u.coordDim,h=u.type,m=0;ee(r,(function(e){e.coordDim===f&&m++}));var g={name:c,coordDim:f,coordDimIndex:m,type:h,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:r.length},v={name:d,coordDim:d,coordDimIndex:m+1,type:h,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:r.length+1};a?(o&&(g.storeDimIndex=o.ensureCalculationDimension(d,h),v.storeDimIndex=o.ensureCalculationDimension(c,h)),a.appendCalculationDimension(g),a.appendCalculationDimension(v)):(r.push(g),r.push(v))}return{stackedDimension:u&&u.name,stackedByDimension:l&&l.name,isStackedByIndex:i,stackedOverDimension:d,stackResultDimension:c}}function nx(e,t){return!!t&&t===e.getCalculationInfo("stackedDimension")}function rx(e,t){return nx(e,t)?e.getCalculationInfo("stackResultDimension"):t}const ax=function(e,t,n){n=n||{};var r,a=t.getSourceManager(),o=!1;e?(o=!0,r=ff(e)):o=(r=a.getSource()).sourceFormat===Jd;var i=function(e){var t=e.get("coordinateSystem"),n=new Zw(t),r=Jw[t];if(r)return r(e,n,n.axisMap,n.categoryAxisMap),n}(t),s=function(e,t){var n,r=e.get("coordinateSystem"),a=Dp.get(r);return t&&t.coordSysDims&&(n=te(t.coordSysDims,(function(e){var n={name:e},r=t.axisMap.get(e);if(r){var a=r.get("type");n.type=Tw(a)}return n}))),n||(n=a&&(a.getDimensionsInfo?a.getDimensionsInfo():a.dimensions.slice())||["x","y"]),n}(t,i),l=n.useEncodeDefaulter,u=ue(l)?l:l?se(up,s,t):null,c=Kw(r,{coordDimensions:s,generateCoord:n.generateCoord,encodeDefine:t.getEncode(),encodeDefaulter:u,canOmitUnusedDimensions:!o}),d=function(e,t,n){var r,a;return n&&ee(e,(function(e,o){var i=e.coordDim,s=n.categoryAxisMap.get(i);s&&(null==r&&(r=o),e.ordinalMeta=s.getOrdinalMeta(),t&&(e.createInvertedIndices=!0)),null!=e.otherDims.itemName&&(a=!0)})),a||null==r||(e[r].otherDims.itemName=0),r}(c.dimensions,n.createInvertedIndices,i),p=o?null:a.getSharedDataStore(c),f=tx(t,{schema:c,store:p}),h=new Yw(c,t);h.setCalculationInfo(f);var m=null!=d&&function(e){if(e.sourceFormat===Jd){var t=function(e){for(var t=0;tt[1]&&(t[1]=e[1])},e.prototype.unionExtentFromData=function(e,t){this.unionExtent(e.getApproximateExtent(t))},e.prototype.getExtent=function(){return this._extent.slice()},e.prototype.setExtent=function(e,t){var n=this._extent;isNaN(e)||(n[0]=e),isNaN(t)||(n[1]=t)},e.prototype.isInExtentRange=function(e){return this._extent[0]<=e&&this._extent[1]>=e},e.prototype.isBlank=function(){return this._isBlank},e.prototype.setBlank=function(e){this._isBlank=e},e}();Bi(ox);const ix=ox;var sx=0;function lx(e){return fe(e)&&null!=e.value?e.value:e+""}const ux=function(){function e(e){this.categories=e.categories||[],this._needCollect=e.needCollect,this._deduplication=e.deduplication,this.uid=++sx}return e.createByAxisModel=function(t){var n=t.option,r=n.data,a=r&&te(r,lx);return new e({categories:a,needCollect:!a,deduplication:!1!==n.dedplication})},e.prototype.getOrdinal=function(e){return this._getOrCreateMap().get(e)},e.prototype.parseAndCollect=function(e){var t,n=this._needCollect;if(!ce(e)&&!n)return e;if(n&&!this._deduplication)return t=this.categories.length,this.categories[t]=e,t;var r=this._getOrCreateMap();return null==(t=r.get(e))&&(n?(t=this.categories.length,this.categories[t]=e,r.set(e,t)):t=NaN),t},e.prototype._getOrCreateMap=function(){return this._map||(this._map=Re(this.categories))},e}();function cx(e){return"interval"===e.type||"log"===e.type}function dx(e){var t=Math.pow(10,Qo(e)),n=e/t;return n?2===n?n=3:3===n?n=5:n*=2:n=1,$o(n*t)}function px(e){return Fo(e)+2}function fx(e,t,n){e[t]=Math.max(Math.min(e[t],n[1]),n[0])}function hx(e,t){return e>=t[0]&&e<=t[1]}function mx(e,t){return t[1]===t[0]?.5:(e-t[0])/(t[1]-t[0])}function gx(e,t){return e*(t[1]-t[0])+t[0]}var vx=function(e){function t(t){var n=e.call(this,t)||this;n.type="ordinal";var r=n.getSetting("ordinalMeta");return r||(r=new ux({})),le(r)&&(r=new ux({categories:te(r,(function(e){return fe(e)?e.value:e}))})),n._ordinalMeta=r,n._extent=n.getSetting("extent")||[0,r.categories.length-1],n}return y(t,e),t.prototype.parse=function(e){return null==e?NaN:ce(e)?this._ordinalMeta.getOrdinal(e):Math.round(e)},t.prototype.contain=function(e){return hx(e=this.parse(e),this._extent)&&null!=this._ordinalMeta.categories[e]},t.prototype.normalize=function(e){return mx(e=this._getTickNumber(this.parse(e)),this._extent)},t.prototype.scale=function(e){return e=Math.round(gx(e,this._extent)),this.getRawOrdinalNumber(e)},t.prototype.getTicks=function(){for(var e=[],t=this._extent,n=t[0];n<=t[1];)e.push({value:n}),n++;return e},t.prototype.getMinorTicks=function(e){},t.prototype.setSortInfo=function(e){if(null!=e){for(var t=e.ordinalNumbers,n=this._ordinalNumbersByTick=[],r=this._ticksByOrdinalNumber=[],a=0,o=this._ordinalMeta.categories.length,i=Math.min(o,t.length);a=0&&e=0&&e=e},t.prototype.getOrdinalMeta=function(){return this._ordinalMeta},t.prototype.calcNiceTicks=function(){},t.prototype.calcNiceExtent=function(){},t.type="ordinal",t}(ix);ix.registerClass(vx);const yx=vx;var bx=$o,xx=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="interval",t._interval=0,t._intervalPrecision=2,t}return y(t,e),t.prototype.parse=function(e){return e},t.prototype.contain=function(e){return hx(e,this._extent)},t.prototype.normalize=function(e){return mx(e,this._extent)},t.prototype.scale=function(e){return gx(e,this._extent)},t.prototype.setExtent=function(e,t){var n=this._extent;isNaN(e)||(n[0]=parseFloat(e)),isNaN(t)||(n[1]=parseFloat(t))},t.prototype.unionExtent=function(e){var t=this._extent;e[0]t[1]&&(t[1]=e[1]),this.setExtent(t[0],t[1])},t.prototype.getInterval=function(){return this._interval},t.prototype.setInterval=function(e){this._interval=e,this._niceExtent=this._extent.slice(),this._intervalPrecision=px(e)},t.prototype.getTicks=function(e){var t=this._interval,n=this._extent,r=this._niceExtent,a=this._intervalPrecision,o=[];if(!t)return o;n[0]1e4)return[];var s=o.length?o[o.length-1].value:r[1];return n[1]>s&&(e?o.push({value:bx(s+t,a)}):o.push({value:n[1]})),o},t.prototype.getMinorTicks=function(e){for(var t=this.getTicks(!0),n=[],r=this.getExtent(),a=1;ar[0]&&cr&&(i=a.interval=r);var s=a.intervalPrecision=px(i);return function(e,t){!isFinite(e[0])&&(e[0]=t[0]),!isFinite(e[1])&&(e[1]=t[1]),fx(e,0,t),fx(e,1,t),e[0]>e[1]&&(e[0]=e[1])}(a.niceTickExtent=[$o(Math.ceil(e[0]/i)*i,s),$o(Math.floor(e[1]/i)*i,s)],e),a}(r,e,t,n);this._intervalPrecision=o.intervalPrecision,this._interval=o.interval,this._niceExtent=o.niceTickExtent}},t.prototype.calcNiceExtent=function(e){var t=this._extent;if(t[0]===t[1])if(0!==t[0]){var n=Math.abs(t[0]);e.fixMax||(t[1]+=n/2),t[0]-=n/2}else t[1]=1;var r=t[1]-t[0];isFinite(r)||(t[0]=0,t[1]=1),this.calcNiceTicks(e.splitNumber,e.minInterval,e.maxInterval);var a=this._interval;e.fixMin||(t[0]=bx(Math.floor(t[0]/a)*a)),e.fixMax||(t[1]=bx(Math.ceil(t[1]/a)*a))},t.prototype.setNiceExtent=function(e,t){this._niceExtent=[e,t]},t.type="interval",t}(ix);ix.registerClass(xx);const Sx=xx;var _x="undefined"!=typeof Float32Array,Ax=_x?Float32Array:Array;function Cx(e){return le(e)?_x?new Float32Array(e):e:new Ax(e)}var Tx="__ec_stack_";function kx(e){return e.get("stack")||Tx+e.seriesIndex}function Ex(e){return e.dim+e.index}function Mx(e,t){var n=[];return t.eachSeriesByType(e,(function(e){Rx(e)&&n.push(e)})),n}function Px(e){var t=function(e){var t={};ee(e,(function(e){var n=e.coordinateSystem.getBaseAxis();if("time"===n.type||"value"===n.type)for(var r=e.getData(),a=n.dim+"_"+n.index,o=r.getDimensionIndex(r.mapDimension(n.dim)),i=r.getStore(),s=0,l=i.count();s0&&(o=null===o?s:Math.min(o,s))}n[r]=o}}return n}(e),n=[];return ee(e,(function(e){var r,a=e.coordinateSystem.getBaseAxis(),o=a.getExtent();if("category"===a.type)r=a.getBandWidth();else if("value"===a.type||"time"===a.type){var i=a.dim+"_"+a.index,s=t[i],l=Math.abs(o[1]-o[0]),u=a.scale.getExtent(),c=Math.abs(u[1]-u[0]);r=s?l/c*s:l}else{var d=e.getData();r=Math.abs(o[1]-o[0])/d.count()}var p=Lo(e.get("barWidth"),r),f=Lo(e.get("barMaxWidth"),r),h=Lo(e.get("barMinWidth")||(Nx(e)?.5:1),r),m=e.get("barGap"),g=e.get("barCategoryGap");n.push({bandWidth:r,barWidth:p,barMaxWidth:f,barMinWidth:h,barGap:m,barCategoryGap:g,axisKey:Ex(a),stackId:kx(e)})})),Ox(n)}function Ox(e){var t={};ee(e,(function(e,n){var r=e.axisKey,a=e.bandWidth,o=t[r]||{bandWidth:a,remainedWidth:a,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},i=o.stacks;t[r]=o;var s=e.stackId;i[s]||o.autoWidthCount++,i[s]=i[s]||{width:0,maxWidth:0};var l=e.barWidth;l&&!i[s].width&&(i[s].width=l,l=Math.min(o.remainedWidth,l),o.remainedWidth-=l);var u=e.barMaxWidth;u&&(i[s].maxWidth=u);var c=e.barMinWidth;c&&(i[s].minWidth=c);var d=e.barGap;null!=d&&(o.gap=d);var p=e.barCategoryGap;null!=p&&(o.categoryGap=p)}));var n={};return ee(t,(function(e,t){n[t]={};var r=e.stacks,a=e.bandWidth,o=e.categoryGap;if(null==o){var i=oe(r).length;o=Math.max(35-4*i,15)+"%"}var s=Lo(o,a),l=Lo(e.gap,1),u=e.remainedWidth,c=e.autoWidthCount,d=(u-s)/(c+(c-1)*l);d=Math.max(d,0),ee(r,(function(e){var t=e.maxWidth,n=e.minWidth;if(e.width)r=e.width,t&&(r=Math.min(r,t)),n&&(r=Math.max(r,n)),e.width=r,u-=r+l*r,c--;else{var r=d;t&&tr&&(r=n),r!==d&&(e.width=r,u-=r+l*r,c--)}})),d=(u-s)/(c+(c-1)*l),d=Math.max(d,0);var p,f=0;ee(r,(function(e,t){e.width||(e.width=d),p=e,f+=e.width*(1+l)})),p&&(f-=p.width*l);var h=-f/2;ee(r,(function(e,r){n[t][r]=n[t][r]||{bandWidth:a,offset:h,width:e.width},h+=e.width*(1+l)}))})),n}function Ix(e,t){var n=Mx(e,t),r=Px(n);ee(n,(function(e){var t=e.getData(),n=e.coordinateSystem.getBaseAxis(),a=kx(e),o=r[Ex(n)][a],i=o.offset,s=o.width;t.setLayout({bandWidth:o.bandWidth,offset:i,size:s})}))}function Dx(e){return{seriesType:e,plan:Hh(),reset:function(e){if(Rx(e)){var t=e.getData(),n=e.coordinateSystem,r=n.getBaseAxis(),a=n.getOtherAxis(r),o=t.getDimensionIndex(t.mapDimension(a.dim)),i=t.getDimensionIndex(t.mapDimension(r.dim)),s=e.get("showBackground",!0),l=t.mapDimension(a.dim),u=t.getCalculationInfo("stackResultDimension"),c=nx(t,l)&&!!t.getCalculationInfo("stackedOnSeries"),d=a.isHorizontal(),p=function(e,t){var n=t.model.get("startValue");return n||(n=0),t.toGlobalCoord(t.dataToCoord("log"===t.type?n>0?n:1:n))}(0,a),f=Nx(e),h=e.get("barMinHeight")||0,m=u&&t.getDimensionIndex(u),g=t.getLayout("size"),v=t.getLayout("offset");return{progress:function(e,t){for(var r,a=e.count,l=f&&Cx(3*a),u=f&&s&&Cx(3*a),y=f&&Cx(a),b=n.master.getRect(),w=d?b.width:b.height,x=t.getStore(),S=0;null!=(r=e.next());){var _=x.get(c?m:o,r),A=x.get(i,r),C=p,T=void 0;c&&(T=+_-x.get(o,r));var k=void 0,E=void 0,M=void 0,P=void 0;if(d){var O=n.dataToPoint([_,A]);c&&(C=n.dataToPoint([T,A])[0]),k=C,E=O[1]+v,M=O[0]-C,P=g,Math.abs(M)0)for(var s=0;s=0;--s)if(l[u]){o=l[u];break}o=o||i.none}if(le(o)){var c=null==e.level?0:e.level>=0?e.level:o.length+e.level;o=o[c=Math.min(c,o.length-1)]}}return id(new Date(e.value),o,a,r)}(e,t,n,this.getSetting("locale"),r)},t.prototype.getTicks=function(){var e=this._interval,t=this._extent,n=[];if(!e)return n;n.push({value:t[0],level:0});var r=this.getSetting("useUTC"),a=function(e,t,n,r){var a,o=rd,i=0;function s(e,t,n,a,o,i,s){for(var l=new Date(t),u=t,c=l[a]();u1&&0===u&&o.unshift({value:o[0].value-p})}}for(u=0;u=r[0]&&v<=r[1]&&d++)}var y=(r[1]-r[0])/t;if(d>1.5*y&&p>y/1.5)break;if(u.push(m),d>y||e===o[f])break}c=[]}}var b=re(te(u,(function(e){return re(e,(function(e){return e.value>=r[0]&&e.value<=r[1]&&!e.notAdd}))})),(function(e){return e.length>0})),w=[],x=b.length-1;for(f=0;fn&&(this._approxInterval=n);var o=$x.length,i=Math.min(function(e,t,n,r){for(;n>>1;e[a][1]16?16:e>7.5?7:e>3.5?4:e>1.5?2:1}function Fx(e){return(e/=2592e6)>6?6:e>3?3:e>2?2:1}function Bx(e){return(e/=Kc)>12?12:e>6?6:e>3.5?4:e>2?2:1}function zx(e,t){return(e/=t?Xc:Yc)>30?30:e>20?20:e>15?15:e>10?10:e>5?5:e>2?2:1}function Wx(e){return Zo(e,!0)}function Vx(e,t,n){var r=new Date(e);switch(od(t)){case"year":case"month":r[vd(n)](0);case"day":r[yd(n)](1);case"hour":r[bd(n)](0);case"minute":r[wd(n)](0);case"second":r[xd(n)](0),r[Sd(n)](0)}return r.getTime()}ix.registerClass(Lx);const Ux=Lx;var Hx=ix.prototype,qx=Sx.prototype,Gx=$o,Yx=Math.floor,Xx=Math.ceil,Kx=Math.pow,Qx=Math.log,Zx=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="log",t.base=10,t._originalScale=new Sx,t._interval=0,t}return y(t,e),t.prototype.getTicks=function(e){var t=this._originalScale,n=this._extent,r=t.getExtent();return te(qx.getTicks.call(this,e),(function(e){var t=e.value,a=$o(Kx(this.base,t));return a=t===n[0]&&this._fixMin?eS(a,r[0]):a,{value:a=t===n[1]&&this._fixMax?eS(a,r[1]):a}}),this)},t.prototype.setExtent=function(e,t){var n=Qx(this.base);e=Qx(Math.max(0,e))/n,t=Qx(Math.max(0,t))/n,qx.setExtent.call(this,e,t)},t.prototype.getExtent=function(){var e=this.base,t=Hx.getExtent.call(this);t[0]=Kx(e,t[0]),t[1]=Kx(e,t[1]);var n=this._originalScale.getExtent();return this._fixMin&&(t[0]=eS(t[0],n[0])),this._fixMax&&(t[1]=eS(t[1],n[1])),t},t.prototype.unionExtent=function(e){this._originalScale.unionExtent(e);var t=this.base;e[0]=Qx(e[0])/Qx(t),e[1]=Qx(e[1])/Qx(t),Hx.unionExtent.call(this,e)},t.prototype.unionExtentFromData=function(e,t){this.unionExtent(e.getApproximateExtent(t))},t.prototype.calcNiceTicks=function(e){e=e||10;var t=this._extent,n=t[1]-t[0];if(!(n===1/0||n<=0)){var r=Ko(n);for(e/n*r<=.5&&(r*=10);!isNaN(r)&&Math.abs(r)<1&&Math.abs(r)>0;)r*=10;var a=[$o(Xx(t[0]/r)*r),$o(Yx(t[1]/r)*r)];this._interval=r,this._niceExtent=a}},t.prototype.calcNiceExtent=function(e){qx.calcNiceExtent.call(this,e),this._fixMin=e.fixMin,this._fixMax=e.fixMax},t.prototype.parse=function(e){return e},t.prototype.contain=function(e){return hx(e=Qx(e)/Qx(this.base),this._extent)},t.prototype.normalize=function(e){return mx(e=Qx(e)/Qx(this.base),this._extent)},t.prototype.scale=function(e){return e=gx(e,this._extent),Kx(this.base,e)},t.type="log",t}(ix),Jx=Zx.prototype;function eS(e,t){return Gx(e,Fo(t))}Jx.getMinorTicks=qx.getMinorTicks,Jx.getLabel=qx.getLabel,ix.registerClass(Zx);const tS=Zx;var nS=function(){function e(e,t,n){this._prepareParams(e,t,n)}return e.prototype._prepareParams=function(e,t,n){n[1]0&&s>0&&!l&&(i=0),i<0&&s<0&&!u&&(s=0));var d=this._determinedMin,p=this._determinedMax;return null!=d&&(i=d,l=!0),null!=p&&(s=p,u=!0),{min:i,max:s,minFixed:l,maxFixed:u,isBlank:c}},e.prototype.modifyDataMinMax=function(e,t){this[aS[e]]=t},e.prototype.setDeterminedMinMax=function(e,t){this[rS[e]]=t},e.prototype.freeze=function(){this.frozen=!0},e}(),rS={min:"_determinedMin",max:"_determinedMax"},aS={min:"_dataMin",max:"_dataMax"};function oS(e,t,n){var r=e.rawExtentInfo;return r||(r=new nS(e,t,n),e.rawExtentInfo=r,r)}function iS(e,t){return null==t?null:we(t)?NaN:e.parse(t)}function sS(e,t){var n=e.type,r=oS(e,t,e.getExtent()).calculate();e.setBlank(r.isBlank);var a=r.min,o=r.max,i=t.ecModel;if(i&&"time"===n){var s=Mx("bar",i),l=!1;if(ee(s,(function(e){l=l||e.getBaseAxis()===t.axis})),l){var u=Px(s),c=function(e,t,n,r){var a=n.axis.getExtent(),o=a[1]-a[0],i=function(e,t,n){if(e&&t){var r=e[Ex(t)];return r}}(r,n.axis);if(void 0===i)return{min:e,max:t};var s=1/0;ee(i,(function(e){s=Math.min(e.offset,s)}));var l=-1/0;ee(i,(function(e){l=Math.max(e.offset+e.width,l)})),s=Math.abs(s),l=Math.abs(l);var u=s+l,c=t-e,d=c/(1-(s+l)/o)-c;return{min:e-=d*(s/u),max:t+=d*(l/u)}}(a,o,t,u);a=c.min,o=c.max}}return{extent:[a,o],fixMin:r.minFixed,fixMax:r.maxFixed}}function lS(e,t){var n=t,r=sS(e,n),a=r.extent,o=n.get("splitNumber");e instanceof tS&&(e.base=n.get("logBase"));var i=e.type,s=n.get("interval"),l="interval"===i||"time"===i;e.setExtent(a[0],a[1]),e.calcNiceExtent({splitNumber:o,fixMin:r.fixMin,fixMax:r.fixMax,minInterval:l?n.get("minInterval"):null,maxInterval:l?n.get("maxInterval"):null}),null!=s&&e.setInterval&&e.setInterval(s)}function uS(e,t){if(t=t||e.get("type"))switch(t){case"category":return new yx({ordinalMeta:e.getOrdinalMeta?e.getOrdinalMeta():e.getCategories(),extent:[1/0,-1/0]});case"time":return new Ux({locale:e.ecModel.getLocaleModel(),useUTC:e.ecModel.get("useUTC")});default:return new(ix.getClass(t)||Sx)}}function cS(e){var t,n,r=e.getLabelModel().get("formatter"),a="category"===e.type?e.scale.getExtent()[0]:null;return"time"===e.scale.type?(n=r,function(t,r){return e.scale.getFormattedLabel(t,r,n)}):ce(r)?function(t){return function(n){var r=e.scale.getLabel(n);return t.replace("{value}",null!=r?r:"")}}(r):ue(r)?(t=r,function(n,r){return null!=a&&(r=n.value-a),t(dS(e,n),r,null!=n.level?{level:n.level}:null)}):function(t){return e.scale.getLabel(t)}}function dS(e,t){return"category"===e.type?e.scale.getLabel(t):t.value}function pS(e,t){var n=t*Math.PI/180,r=e.width,a=e.height,o=r*Math.abs(Math.cos(n))+Math.abs(a*Math.sin(n)),i=r*Math.abs(Math.sin(n))+Math.abs(a*Math.cos(n));return new un(e.x,e.y,o,i)}function fS(e){var t=e.get("interval");return null==t?"auto":t}function hS(e){return"category"===e.type&&0===fS(e.getLabelModel())}function mS(e,t){var n={};return ee(e.mapDimensionsAll(t),(function(t){n[rx(e,t)]=!0})),oe(n)}var gS=function(){function e(){}return e.prototype.getNeedCrossZero=function(){return!this.option.scale},e.prototype.getCoordSysModel=function(){},e}();function vS(e){return ax(null,e)}var yS={isDimensionStacked:nx,enableDataStack:tx,getStackedDimension:rx};function bS(e,t){var n=t;t instanceof Lc||(n=new Lc(t));var r=uS(n);return r.setExtent(e[0],e[1]),lS(r,n),r}function wS(e){Z(e,gS)}function xS(e,t){return pc(e,null,null,"normal"!==(t=t||{}).state)}var SS=1e-8;function _S(e,t){return Math.abs(e-t)n&&(e=a,n=i)}if(e)return function(e){for(var t=0,n=0,r=0,a=e.length,o=e[a-1][0],i=e[a-1][1],s=0;s>1^-(1&s),l=l>>1^-(1&l),a=s+=a,o=l+=o,r.push([s/n,l/n])}return r}function NS(e,t){return te(re((e=function(e){if(!e.UTF8Encoding)return e;var t=e,n=t.UTF8Scale;return null==n&&(n=1024),ee(t.features,(function(e){var t=e.geometry,r=t.encodeOffsets,a=t.coordinates;if(r)switch(t.type){case"LineString":t.coordinates=RS(a,r,n);break;case"Polygon":case"MultiLineString":DS(a,r,n);break;case"MultiPolygon":ee(a,(function(e,t){return DS(e,r[t],n)}))}})),t.UTF8Encoding=!1,t}(e)).features,(function(e){return e.geometry&&e.properties&&e.geometry.coordinates.length>0})),(function(e){var n=e.properties,r=e.geometry,a=[];switch(r.type){case"Polygon":var o=r.coordinates;a.push(new MS(o[0],o.slice(1)));break;case"MultiPolygon":ee(r.coordinates,(function(e){e[0]&&a.push(new MS(e[0],e.slice(1)))}));break;case"LineString":a.push(new PS([r.coordinates]));break;case"MultiLineString":a.push(new PS(r.coordinates))}var i=new OS(n[t||"name"],a,n.cp);return i.properties=n,i}))}function LS(e,t,n,r,a,o,i,s){return new Yl({style:{text:e,font:t,align:n,verticalAlign:r,padding:a,rich:o,overflow:i?"truncate":null,lineHeight:s}}).getBoundingRect()}var $S=xi();function jS(e,t){var n=te(t,(function(t){return e.scale.parse(t)}));return"time"===e.type&&n.length>0&&(n.sort(),n.unshift(n[0]),n.push(n[n.length-1])),n}function FS(e,t){var n,r,a=BS(e,"labels"),o=fS(t);return zS(a,o)||(ue(o)?n=US(e,o):(r="auto"===o?function(e){var t=$S(e).autoInterval;return null!=t?t:$S(e).autoInterval=e.calculateCategoryInterval()}(e):o,n=VS(e,r)),WS(a,o,{labels:n,labelCategoryInterval:r}))}function BS(e,t){return $S(e)[t]||($S(e)[t]=[])}function zS(e,t){for(var n=0;n1&&c/l>2&&(u=Math.round(Math.ceil(u/l)*l));var d=hS(e),p=i.get("showMinLabel")||d,f=i.get("showMaxLabel")||d;p&&u!==o[0]&&m(o[0]);for(var h=u;h<=o[1];h+=l)m(h);function m(e){var t={value:e};s.push(n?e:{formattedLabel:r(t),rawLabel:a.getLabel(t),tickValue:e})}return f&&h-l!==o[1]&&m(o[1]),s}function US(e,t,n){var r=e.scale,a=cS(e),o=[];return ee(r.getTicks(),(function(e){var i=r.getLabel(e),s=e.value;t(e.value,i)&&o.push(n?s:{formattedLabel:a(e),rawLabel:i,tickValue:s})})),o}var HS=[0,1],qS=function(){function e(e,t,n){this.onBand=!1,this.inverse=!1,this.dim=e,this.scale=t,this._extent=n||[0,0]}return e.prototype.contain=function(e){var t=this._extent,n=Math.min(t[0],t[1]),r=Math.max(t[0],t[1]);return e>=n&&e<=r},e.prototype.containData=function(e){return this.scale.contain(e)},e.prototype.getExtent=function(){return this._extent.slice()},e.prototype.getPixelPrecision=function(e){return zo(e||this.scale.getExtent(),this._extent)},e.prototype.setExtent=function(e,t){var n=this._extent;n[0]=e,n[1]=t},e.prototype.dataToCoord=function(e,t){var n=this._extent,r=this.scale;return e=r.normalize(e),this.onBand&&"ordinal"===r.type&&GS(n=n.slice(),r.count()),No(e,HS,n,t)},e.prototype.coordToData=function(e,t){var n=this._extent,r=this.scale;this.onBand&&"ordinal"===r.type&&GS(n=n.slice(),r.count());var a=No(e,n,HS,t);return this.scale.scale(a)},e.prototype.pointToData=function(e,t){},e.prototype.getTicksCoords=function(e){var t=(e=e||{}).tickModel||this.getTickModel(),n=te(function(e,t){var n=e.getTickModel().get("customValues");return n?{ticks:jS(e,n)}:"category"===e.type?function(e,t){var n,r,a=BS(e,"ticks"),o=fS(t),i=zS(a,o);if(i)return i;if(t.get("show")&&!e.scale.isBlank()||(n=[]),ue(o))n=US(e,o,!0);else if("auto"===o){var s=FS(e,e.getLabelModel());r=s.labelCategoryInterval,n=te(s.labels,(function(e){return e.tickValue}))}else n=VS(e,r=o,!0);return WS(a,o,{ticks:n,tickCategoryInterval:r})}(e,t):{ticks:te(e.scale.getTicks(),(function(e){return e.value}))}}(this,t).ticks,(function(e){return{coord:this.dataToCoord("ordinal"===this.scale.type?this.scale.getRawOrdinalNumber(e):e),tickValue:e}}),this);return function(e,t,n,r){var a=t.length;if(e.onBand&&!n&&a){var o,i,s=e.getExtent();if(1===a)t[0].coord=s[0],o=t[1]={coord:s[1]};else{var l=t[a-1].tickValue-t[0].tickValue,u=(t[a-1].coord-t[0].coord)/l;ee(t,(function(e){e.coord-=u/2})),i=1+e.scale.getExtent()[1]-t[a-1].tickValue,o={coord:t[a-1].coord+u*i},t.push(o)}var c=s[0]>s[1];d(t[0].coord,s[0])&&(r?t[0].coord=s[0]:t.shift()),r&&d(s[0],t[0].coord)&&t.unshift({coord:s[0]}),d(s[1],o.coord)&&(r?o.coord=s[1]:t.pop()),r&&d(o.coord,s[1])&&t.push({coord:s[1]})}function d(e,t){return e=$o(e),t=$o(t),c?e>t:e0&&e<100||(e=5),te(this.scale.getMinorTicks(e),(function(e){return te(e,(function(e){return{coord:this.dataToCoord(e),tickValue:e}}),this)}),this)},e.prototype.getViewLabels=function(){return function(e){var t=e.getLabelModel().get("customValues");if(t){var n=cS(e);return{labels:jS(e,t).map((function(t){var r={value:t};return{formattedLabel:n(r),rawLabel:e.scale.getLabel(r),tickValue:t}}))}}return"category"===e.type?function(e){var t=e.getLabelModel(),n=FS(e,t);return!t.get("show")||e.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}(e):function(e){var t=e.scale.getTicks(),n=cS(e);return{labels:te(t,(function(t,r){return{level:t.level,formattedLabel:n(t,r),rawLabel:e.scale.getLabel(t),tickValue:t.value}}))}}(e)}(this).labels},e.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},e.prototype.getTickModel=function(){return this.model.getModel("axisTick")},e.prototype.getBandWidth=function(){var e=this._extent,t=this.scale.getExtent(),n=t[1]-t[0]+(this.onBand?1:0);0===n&&(n=1);var r=Math.abs(e[1]-e[0]);return Math.abs(r)/n},e.prototype.calculateCategoryInterval=function(){return function(e){var t=function(e){var t=e.getLabelModel();return{axisRotate:e.getRotate?e.getRotate():e.isHorizontal&&!e.isHorizontal()?90:0,labelRotate:t.get("rotate")||0,font:t.getFont()}}(e),n=cS(e),r=(t.axisRotate-t.labelRotate)/180*Math.PI,a=e.scale,o=a.getExtent(),i=a.count();if(o[1]-o[0]<1)return 0;var s=1;i>40&&(s=Math.max(1,Math.floor(i/40)));for(var l=o[0],u=e.dataToCoord(l+1)-e.dataToCoord(l),c=Math.abs(u*Math.cos(r)),d=Math.abs(u*Math.sin(r)),p=0,f=0;l<=o[1];l+=s){var h,m,g=to(n({value:l}),t.font,"center","top");h=1.3*g.width,m=1.3*g.height,p=Math.max(p,h,7),f=Math.max(f,m,7)}var v=p/c,y=f/d;isNaN(v)&&(v=1/0),isNaN(y)&&(y=1/0);var b=Math.max(0,Math.floor(Math.min(v,y))),w=$S(e.model),x=e.getExtent(),S=w.lastAutoInterval,_=w.lastTickCount;return null!=S&&null!=_&&Math.abs(S-b)<=1&&Math.abs(_-i)<=1&&S>b&&w.axisExtent0===x[0]&&w.axisExtent1===x[1]?b=S:(w.lastTickCount=i,w.lastAutoInterval=b,w.axisExtent0=x[0],w.axisExtent1=x[1]),b}(this)},e}();function GS(e,t){var n=(e[1]-e[0])/t/2;e[0]+=n,e[1]-=n}const YS=qS;function XS(e){var t=Yd.extend(e);return Yd.registerClass(t),t}function KS(e){var t=Uh.extend(e);return Uh.registerClass(t),t}function QS(e){var t=Wh.extend(e);return Wh.registerClass(t),t}function ZS(e){var t=Jg.extend(e);return Jg.registerClass(t),t}var JS=2*Math.PI,e_=Ks.CMD,t_=["top","right","bottom","left"];function n_(e,t,n,r,a){var o=n.width,i=n.height;switch(e){case"top":r.set(n.x+o/2,n.y-t),a.set(0,-1);break;case"bottom":r.set(n.x+o/2,n.y+i+t),a.set(0,1);break;case"left":r.set(n.x-t,n.y+i/2),a.set(-1,0);break;case"right":r.set(n.x+o+t,n.y+i/2),a.set(1,0)}}function r_(e,t,n,r,a,o,i,s,l){i-=e,s-=t;var u=Math.sqrt(i*i+s*s),c=(i/=u)*n+e,d=(s/=u)*n+t;if(Math.abs(r-a)%JS<1e-4)return l[0]=c,l[1]=d,u-n;if(o){var p=r;r=tl(a),a=tl(p)}else r=tl(r),a=tl(a);r>a&&(a+=JS);var f=Math.atan2(s,i);if(f<0&&(f+=JS),f>=r&&f<=a||f+JS>=r&&f+JS<=a)return l[0]=c,l[1]=d,u-n;var h=n*Math.cos(r)+e,m=n*Math.sin(r)+t,g=n*Math.cos(a)+e,v=n*Math.sin(a)+t,y=(h-i)*(h-i)+(m-s)*(m-s),b=(g-i)*(g-i)+(v-s)*(v-s);return y0){t=t/180*Math.PI,u_.fromArray(e[0]),c_.fromArray(e[1]),d_.fromArray(e[2]),Zt.sub(p_,u_,c_),Zt.sub(f_,d_,c_);var n=p_.len(),r=f_.len();if(!(n<.001||r<.001)){p_.scale(1/n),f_.scale(1/r);var a=p_.dot(f_);if(Math.cos(t)1&&Zt.copy(g_,d_),g_.toArray(e[1])}}}}function y_(e,t,n){if(n<=180&&n>0){n=n/180*Math.PI,u_.fromArray(e[0]),c_.fromArray(e[1]),d_.fromArray(e[2]),Zt.sub(p_,c_,u_),Zt.sub(f_,d_,c_);var r=p_.len(),a=f_.len();if(!(r<.001||a<.001)&&(p_.scale(1/r),f_.scale(1/a),p_.dot(t)=i)Zt.copy(g_,d_);else{g_.scaleAndAdd(f_,o/Math.tan(Math.PI/2-s));var l=d_.x!==c_.x?(g_.x-c_.x)/(d_.x-c_.x):(g_.y-c_.y)/(d_.y-c_.y);if(isNaN(l))return;l<0?Zt.copy(g_,c_):l>1&&Zt.copy(g_,d_)}g_.toArray(e[1])}}}function b_(e,t,n,r){var a="normal"===n,o=a?e:e.ensureState(n);o.ignore=t;var i=r.get("smooth");i&&!0===i&&(i=.3),o.shape=o.shape||{},i>0&&(o.shape.smooth=i);var s=r.getModel("lineStyle").getLineStyle();a?e.useStyle(s):o.style=s}function w_(e,t){var n=t.smooth,r=t.points;if(r)if(e.moveTo(r[0][0],r[0][1]),n>0&&r.length>=3){var a=it(r[0],r[1]),o=it(r[1],r[2]);if(!a||!o)return e.lineTo(r[1][0],r[1][1]),void e.lineTo(r[2][0],r[2][1]);var i=Math.min(a,o)*n,s=ct([],r[1],r[0],i/a),l=ct([],r[1],r[2],i/o),u=ct([],s,l,.5);e.bezierCurveTo(s[0],s[1],s[0],s[1],u[0],u[1]),e.bezierCurveTo(l[0],l[1],l[0],l[1],r[2][0],r[2][1])}else for(var c=1;c0&&o&&S(-d/i,0,i);var g,v,y=e[0],b=e[i-1];return w(),g<0&&_(-g,.8),v<0&&_(v,.8),w(),x(g,v,1),x(v,g,-1),w(),g<0&&A(-g),v<0&&A(v),u}function w(){g=y.rect[t]-r,v=a-b.rect[t]-b.rect[n]}function x(e,t,n){if(e<0){var r=Math.min(t,-e);if(r>0){S(r*n,0,i);var a=r+e;a<0&&_(-a*n,1)}else _(-e*n,1)}}function S(n,r,a){0!==n&&(u=!0);for(var o=r;o0)for(l=0;l0;l--)S(-o[l-1]*d,l,i)}}function A(e){var t=e<0?-1:1;e=Math.abs(e);for(var n=Math.ceil(e/(i-1)),r=0;r0?S(n,0,r+1):S(-n,i-r-1,i),(e-=n)<=0)return}}function C_(e,t,n,r){return A_(e,"y","height",t,n,r)}function T_(e){var t=[];e.sort((function(e,t){return t.priority-e.priority}));var n=new un(0,0,0,0);function r(e){if(!e.ignore){var t=e.ensureState("emphasis");null==t.ignore&&(t.ignore=!1)}e.ignore=!0}for(var a=0;a=0&&n.attr(f.oldLayoutSelect),K(u,"emphasis")>=0&&n.attr(f.oldLayoutEmphasis)),ec(n,s,t,i)}else if(n.attr(s),!bc(n).valueAnimation){var c=Se(n.style.opacity,1);n.style.opacity=0,tc(n,{style:{opacity:c}},t,i)}if(f.oldLayout=s,n.states.select){var d=f.oldLayoutSelect={};D_(d,s,R_),D_(d,n.states.select,R_)}if(n.states.emphasis){var p=f.oldLayoutEmphasis={};D_(p,s,R_),D_(p,n.states.emphasis,R_)}xc(n,i,l,t,t)}if(r&&!r.ignore&&!r.invisible){a=(f=I_(r)).oldLayout;var f,h={points:r.shape.points};a?(r.attr({shape:a}),ec(r,{shape:h},t)):(r.setShape(h),r.style.strokePercent=0,tc(r,{style:{strokePercent:1}},t)),f.oldLayout=h}},e}();const L_=N_;var $_=xi();function j_(e){e.registerUpdateLifecycle("series:beforeupdate",(function(e,t,n){var r=$_(t).labelManager;r||(r=$_(t).labelManager=new L_),r.clearLabels()})),e.registerUpdateLifecycle("series:layoutlabels",(function(e,t,n){var r=$_(t).labelManager;n.updatedSeries.forEach((function(e){r.addLabelsOfSeries(t.getViewOfSeriesModel(e))})),r.updateLayoutConfig(t),r.layout(t),r.processLabelsOverall()}))}function F_(e,t,n){var r=E.createCanvas(),a=t.getWidth(),o=t.getHeight(),i=r.style;return i&&(i.position="absolute",i.left="0",i.top="0",i.width=a+"px",i.height=o+"px",r.setAttribute("data-zr-dom-id",e)),r.width=a*n,r.height=o*n,r}bw(j_);var B_=function(e){function t(t,n,r){var a,o=e.call(this)||this;o.motionBlur=!1,o.lastFrameAlpha=.7,o.dpr=1,o.virtual=!1,o.config={},o.incremental=!1,o.zlevel=0,o.maxRepaintRectCount=5,o.__dirty=!0,o.__firstTimePaint=!0,o.__used=!1,o.__drawIndex=0,o.__startIndex=0,o.__endIndex=0,o.__prevStartIndex=null,o.__prevEndIndex=null,r=r||Fa,"string"==typeof t?a=F_(t,n,r):fe(t)&&(t=(a=t).id),o.id=t,o.dom=a;var i=a.style;return i&&($e(a),a.onselectstart=function(){return!1},i.padding="0",i.margin="0",i.borderWidth="0"),o.painter=n,o.dpr=r,o}return We(t,e),t.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},t.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},t.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},t.prototype.setUnpainted=function(){this.__firstTimePaint=!0},t.prototype.createBackBuffer=function(){var e=this.dpr;this.domBack=F_("back-"+this.id,this.painter,e),this.ctxBack=this.domBack.getContext("2d"),1!==e&&this.ctxBack.scale(e,e)},t.prototype.createRepaintRects=function(e,t,n,r){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var a,o=[],i=this.maxRepaintRectCount,s=!1,l=new un(0,0,0,0);function u(e){if(e.isFinite()&&!e.isZero())if(0===o.length)(t=new un(0,0,0,0)).copy(e),o.push(t);else{for(var t,n=!1,r=1/0,a=0,u=0;u=i)}}for(var c=this.__startIndex;c15)break}n.prevElClipPaths&&d.restore()};if(f)if(0===f.length)s=l.__endIndex;else for(var w=p.dpr,x=0;x0&&e>r[0]){for(s=0;se);s++);i=n[r[s]]}if(r.splice(s+1,0,e),n[e]=t,!t.virtual)if(i){var l=i.dom;l.nextSibling?o.insertBefore(t.dom,l.nextSibling):o.appendChild(t.dom)}else o.firstChild?o.insertBefore(t.dom,o.firstChild):o.appendChild(t.dom);t.painter||(t.painter=this)}},e.prototype.eachLayer=function(e,t){for(var n=this._zlevelList,r=0;r0?U_:0),this._needsManuallyCompositing),u.__builtin__||V("ZLevel "+l+" has been used by unkown layer "+u.id),u!==o&&(u.__used=!0,u.__startIndex!==a&&(u.__dirty=!0),u.__startIndex=a,u.incremental?u.__drawIndex=-1:u.__drawIndex=a,t(a),o=u),s.__dirty&kn&&!s.__inHover&&(u.__dirty=!0,u.incremental&&u.__drawIndex<0&&(u.__drawIndex=a))}t(a),this.eachBuiltinLayer((function(e,t){!e.__used&&e.getElementCount()>0&&(e.__dirty=!0,e.__startIndex=e.__endIndex=e.__drawIndex=0),e.__dirty&&e.__drawIndex<0&&(e.__drawIndex=e.__startIndex)}))},e.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},e.prototype._clearLayer=function(e){e.clear()},e.prototype.setBackgroundColor=function(e){this._backgroundColor=e,ee(this._layers,(function(e){e.setUnpainted()}))},e.prototype.configLayer=function(e,t){if(t){var n=this._layerConfig;n[e]?H(n[e],t,!0):n[e]=t;for(var r=0;r=K_:-u>=K_),f=u>0?u%K_:u%K_+K_;l=!!p||!Ur(d)&&f>=X_==!!c;var h=e+n*Y_(o),m=t+r*G_(o);this._start&&this._add("M",h,m);var g=Math.round(a*Q_);if(p){var v=1/this._p,y=(c?1:-1)*(K_-v);this._add("A",n,r,g,1,+c,e+n*Y_(o+y),t+r*G_(o+y)),v>.01&&this._add("A",n,r,g,0,+c,h,m)}else{var b=e+n*Y_(i),w=t+r*G_(i);this._add("A",n,r,g,+l,+c,b,w)}},e.prototype.rect=function(e,t,n,r){this._add("M",e,t),this._add("l",n,0),this._add("l",0,r),this._add("l",-n,0),this._add("Z")},e.prototype.closePath=function(){this._d.length>0&&this._add("Z")},e.prototype._add=function(e,t,n,r,a,o,i,s,l){for(var u=[],c=this._p,d=1;d"}(a,o)+("style"!==a?Et(i):i||"")+(r?""+n+te(r,(function(t){return e(t)})).join(n)+n:"")+""}(e)}function pA(e){return{zrId:e,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssStyleCache:{},cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function fA(e,t,n,r){return cA("svg","root",{width:e,height:t,xmlns:aA,"xmlns:xlink":oA,version:"1.1",baseProfile:"full",viewBox:!!r&&"0 0 "+e+" "+t},n)}var hA=0;function mA(){return hA++}var gA={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"},vA="transform-origin";function yA(e,t,n){var r=G({},e.shape);G(r,t),e.buildPath(n,r);var a=new J_;return a.reset(ea(e)),n.rebuildPath(a,1),a.generateStr(),a.getStr()}function bA(e,t){var n=t.originX,r=t.originY;(n||r)&&(e[vA]=n+"px "+r+"px")}var wA={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function xA(e,t){var n=t.zrId+"-ani-"+t.cssAnimIdx++;return t.cssAnims[n]=e,n}function SA(e){return ce(e)?gA[e]?"cubic-bezier("+gA[e]+")":lr(e)?e:"":""}function _A(e,t,n,r){var a=e.animators,o=a.length,i=[];if(e instanceof ng){var s=function(e,t,n){var r,a,o=e.shape.paths,i={};if(ee(o,(function(e){var t=pA(n.zrId);t.animation=!0,_A(e,{},t,!0);var o=t.cssAnims,s=t.cssNodes,l=oe(o),u=l.length;if(u){var c=o[a=l[u-1]];for(var d in c){var p=c[d];i[d]=i[d]||{d:""},i[d].d+=p.d||""}for(var f in s){var h=s[f].animation;h.indexOf(a)>=0&&(r=h)}}})),r){t.d=!1;var s=xA(i,n);return r.replace(a,s)}}(e,t,n);if(s)i.push(s);else if(!o)return}else if(!o)return;for(var l={},u=0;u0})).length)return xA(c,n)+" "+a[0]+" both"}for(var g in l)(s=m(l[g]))&&i.push(s);if(i.length){var v=n.zrId+"-cls-"+mA();n.cssNodes["."+v]={animation:i.join(",")},t.class=v}}function AA(e,t,n,r){var a=JSON.stringify(e),o=n.cssStyleCache[a];o||(o=n.zrId+"-cls-"+mA(),n.cssStyleCache[a]=o,n.cssNodes["."+o+(r?":hover":"")]=e),t.class=t.class?t.class+" "+o:o}var CA=Math.round;function TA(e){return e&&ce(e.src)}function kA(e){return e&&ue(e.toDataURL)}function EA(e,t,n,r){(function(e,t,n,r){var a=null==t.opacity?1:t.opacity;if(n instanceof Al)e("opacity",a);else{if(function(e){var t=e.fill;return null!=t&&t!==eA}(t)){var o=Wr(t.fill);e("fill",o.color);var i=null!=t.fillOpacity?t.fillOpacity*o.opacity*a:o.opacity*a;(r||i<1)&&e("fill-opacity",i)}else e("fill",eA);if(function(e){var t=e.stroke;return null!=t&&t!==eA}(t)){var s=Wr(t.stroke);e("stroke",s.color);var l=t.strokeNoScale?n.getLineScale():1,u=l?(t.lineWidth||0)/l:0,c=null!=t.strokeOpacity?t.strokeOpacity*s.opacity*a:s.opacity*a,d=t.strokeFirst;if((r||1!==u)&&e("stroke-width",u),(r||d)&&e("paint-order",d?"stroke":"fill"),(r||c<1)&&e("stroke-opacity",c),t.lineDash){var p=gy(n),f=p[0],h=p[1];f&&(h=tA(h||0),e("stroke-dasharray",f.join(",")),(h||r)&&e("stroke-dashoffset",h))}else r&&e("stroke-dasharray",eA);for(var m=0;m=0&&i||o;s&&(a=Br(s))}var l=r.lineWidth;l&&(l/=!r.strokeNoScale&&e.transform?e.transform[0]:1);var u={cursor:"pointer"};a&&(u.fill=a),r.stroke&&(u.stroke=r.stroke),l&&(u["stroke-width"]=l),AA(u,t,n,!0)}}(e,o,t),cA(s,e.id+"",o)}function jA(e,t){return e instanceof vl?$A(e,t):e instanceof Al?function(e,t){var n=e.style,r=n.image;if(r&&!ce(r)&&(TA(r)?r=r.src:kA(r)&&(r=r.toDataURL())),r){var a=n.x||0,o=n.y||0,i={href:r,width:n.width,height:n.height};return a&&(i.x=a),o&&(i.y=o),OA(i,e.transform),EA(i,n,e,t),MA(i,e),t.animation&&_A(e,i,t),cA("image",e.id+"",i)}}(e,t):e instanceof wl?function(e,t){var n=e.style,r=n.text;if(null!=r&&(r+=""),r&&!isNaN(n.x)&&!isNaN(n.y)){var a=n.font||T,o=n.x||0,i=function(e,t,n){return"top"===n?e+=t/2:"bottom"===n&&(e-=t/2),e}(n.y||0,ao(a),n.textBaseline),s={"dominant-baseline":"central","text-anchor":Gr[n.textAlign]||n.textAlign};if(zl(n)){var l="",u=n.fontStyle,c=Fl(n.fontSize);if(!parseFloat(c))return;var d=n.fontFamily||C,p=n.fontWeight;l+="font-size:"+c+";font-family:"+d+";",u&&"normal"!==u&&(l+="font-style:"+u+";"),p&&"normal"!==p&&(l+="font-weight:"+p+";"),s.style=l}else s.style="font: "+a;return r.match(/\s/)&&(s["xml:space"]="preserve"),o&&(s.x=o),i&&(s.y=i),OA(s,e.transform),EA(s,n,e,t),MA(s,e),t.animation&&_A(e,s,t),cA("text",e.id+"",s,void 0,r)}}(e,t):void 0}function FA(e,t,n,r){var a,o=e[n],i={gradientUnits:o.global?"userSpaceOnUse":"objectBoundingBox"};if(Kr(o))a="linearGradient",i.x1=o.x,i.y1=o.y,i.x2=o.x2,i.y2=o.y2;else{if(!Qr(o))return;a="radialGradient",i.cx=Se(o.x,.5),i.cy=Se(o.y,.5),i.r=Se(o.r,.5)}for(var s=o.colorStops,l=[],u=0,c=s.length;ul?rC(e,null==n[d+1]?null:n[d+1].elm,n,s,d):aC(e,t,i,l))}(n,r,a):JA(a)?(JA(e.text)&&YA(n,""),rC(n,null,a,0,a.length-1)):JA(r)?aC(n,r,0,r.length-1):JA(e.text)&&YA(n,""):e.text!==t.text&&(JA(r)&&aC(n,r,0,r.length-1),YA(n,t.text)))}var sC=0,lC=function(){function e(e,t,n){if(this.type="svg",this.refreshHover=function(){},this.configLayer=function(){},this.storage=t,this._opts=n=G({},n),this.root=e,this._id="zr"+sC++,this._oldVNode=fA(n.width,n.height),e&&!n.ssr){var r=this._viewport=document.createElement("div");r.style.cssText="position:relative;overflow:hidden";var a=this._svgDom=this._oldVNode.elm=uA("svg");oC(null,this._oldVNode),r.appendChild(a),e.appendChild(r)}this.resize(n.width,n.height)}return e.prototype.getType=function(){return this.type},e.prototype.getViewportRoot=function(){return this._viewport},e.prototype.getViewportRootOffset=function(){var e=this.getViewportRoot();if(e)return{offsetLeft:e.offsetLeft||0,offsetTop:e.offsetTop||0}},e.prototype.getSvgDom=function(){return this._svgDom},e.prototype.refresh=function(){if(this.root){var e=this.renderToVNode({willUpdate:!0});e.attrs.style="position:absolute;left:0;top:0;user-select:none",function(e,t){if(tC(e,t))iC(e,t);else{var n=e.elm,r=qA(n);nC(t),null!==r&&(VA(r,t.elm,GA(n)),aC(r,[e],0,0))}}(this._oldVNode,e),this._oldVNode=e}},e.prototype.renderOneToVNode=function(e){return jA(e,pA(this._id))},e.prototype.renderToVNode=function(e){e=e||{};var t=this.storage.getDisplayList(!0),n=this._width,r=this._height,a=pA(this._id);a.animation=e.animation,a.willUpdate=e.willUpdate,a.compress=e.compress,a.emphasis=e.emphasis;var o=[],i=this._bgVNode=function(e,t,n,r){var a;if(n&&"none"!==n)if(a=cA("rect","bg",{width:e,height:t,x:"0",y:"0"}),Zr(n))FA({fill:n},a.attrs,"fill",r);else if(Xr(n))BA({style:{fill:n},dirty:Fe,getBoundingRect:function(){return{width:e,height:t}}},a.attrs,"fill",r);else{var o=Wr(n),i=o.color,s=o.opacity;a.attrs.fill=i,s<1&&(a.attrs["fill-opacity"]=s)}return a}(n,r,this._backgroundColor,a);i&&o.push(i);var s=e.compress?null:this._mainVNode=cA("g","main",{},[]);this._paintList(t,a,s?s.children:o),s&&o.push(s);var l=te(oe(a.defs),(function(e){return a.defs[e]}));if(l.length&&o.push(cA("defs","defs",{},l)),e.animation){var u=function(e,t,n){var r=(n=n||{}).newline?"\n":"",a=" {"+r,o=r+"}",i=te(oe(e),(function(t){return t+a+te(oe(e[t]),(function(n){return n+":"+e[t][n]+";"})).join(r)+o})).join(r),s=te(oe(t),(function(e){return"@keyframes "+e+a+te(oe(t[e]),(function(n){return n+a+te(oe(t[e][n]),(function(r){var a=t[e][n][r];return"d"===r&&(a='path("'+a+'")'),r+":"+a+";"})).join(r)+o})).join(r)+o})).join(r);return i||s?[""].join(r):""}(a.cssNodes,a.cssAnims,{newline:!0});if(u){var c=cA("style","stl",{},[],u);o.push(c)}}return fA(n,r,o,e.useViewBox)},e.prototype.renderToString=function(e){return e=e||{},dA(this.renderToVNode({animation:Se(e.cssAnimation,!0),emphasis:Se(e.cssEmphasis,!0),willUpdate:!1,compress:!0,useViewBox:Se(e.useViewBox,!0)}),{newline:!0})},e.prototype.setBackgroundColor=function(e){this._backgroundColor=e},e.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},e.prototype._paintList=function(e,t,n){for(var r,a,o=e.length,i=[],s=0,l=0,u=0;u=0&&(!d||!a||d[h]!==a[h]);h--);for(var m=f-1;m>h;m--)r=i[--s-1];for(var g=h+1;g-1&&(s.style.stroke=s.style.fill,s.style.fill="#fff",s.style.lineWidth=2),t},t.type="series.line",t.dependencies=["grid","polar"],t.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},t}(Wh);function dC(e,t){var n=e.mapDimensionsAll("defaultedLabel"),r=n.length;if(1===r){var a=Mf(e,t,n[0]);return null!=a?a+"":null}if(r){for(var o=[],i=0;i=0&&r.push(t[o])}return r.join(" ")}var fC=function(e){function t(t,n,r,a){var o=e.call(this)||this;return o.updateData(t,n,r,a),o}return y(t,e),t.prototype._createSymbol=function(e,t,n,r,a){this.removeAll();var o=uy(e,-1,-1,2,2,null,a);o.attr({z2:100,culling:!0,scaleX:r[0]/2,scaleY:r[1]/2}),o.drift=hC,this._symbolType=e,this.add(o)},t.prototype.stopSymbolAnimation=function(e){this.childAt(0).stopAnimation(null,e)},t.prototype.getSymbolType=function(){return this._symbolType},t.prototype.getSymbolPath=function(){return this.childAt(0)},t.prototype.highlight=function(){Eu(this.childAt(0))},t.prototype.downplay=function(){Mu(this.childAt(0))},t.prototype.setZ=function(e,t){var n=this.childAt(0);n.zlevel=e,n.z=t},t.prototype.setDraggable=function(e,t){var n=this.childAt(0);n.draggable=e,n.cursor=!t&&e?"move":n.cursor},t.prototype.updateData=function(e,n,r,a){this.silent=!1;var o=e.getItemVisual(n,"symbol")||"circle",i=e.hostModel,s=t.getSymbolSize(e,n),l=o!==this._symbolType,u=a&&a.disableAnimation;if(l){var c=e.getItemVisual(n,"symbolKeepAspect");this._createSymbol(o,e,n,s,c)}else{(p=this.childAt(0)).silent=!1;var d={scaleX:s[0]/2,scaleY:s[1]/2};u?p.attr(d):ec(p,d,i,n),ic(p)}if(this._updateCommon(e,n,s,r,a),l){var p=this.childAt(0);u||(d={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:p.style.opacity}},p.scaleX=p.scaleY=0,p.style.opacity=0,tc(p,d,i,n))}u&&this.childAt(0).stopAnimation("leave")},t.prototype._updateCommon=function(e,t,n,r,a){var o,i,s,l,u,c,d,p,f,h=this.childAt(0),m=e.hostModel;if(r&&(o=r.emphasisItemStyle,i=r.blurItemStyle,s=r.selectItemStyle,l=r.focus,u=r.blurScope,d=r.labelStatesModels,p=r.hoverScale,f=r.cursorStyle,c=r.emphasisDisabled),!r||e.hasItemOption){var g=r&&r.itemModel?r.itemModel:e.getItemModel(t),v=g.getModel("emphasis");o=v.getModel("itemStyle").getItemStyle(),s=g.getModel(["select","itemStyle"]).getItemStyle(),i=g.getModel(["blur","itemStyle"]).getItemStyle(),l=v.get("focus"),u=v.get("blurScope"),c=v.get("disabled"),d=dc(g),p=v.getShallow("scale"),f=g.getShallow("cursor")}var y=e.getItemVisual(t,"symbolRotate");h.attr("rotation",(y||0)*Math.PI/180||0);var b=dy(e.getItemVisual(t,"symbolOffset"),n);b&&(h.x=b[0],h.y=b[1]),f&&h.attr("cursor",f);var w=e.getItemVisual(t,"style"),x=w.fill;if(h instanceof Al){var S=h.style;h.useStyle(G({image:S.image,x:S.x,y:S.y,width:S.width,height:S.height},w))}else h.__isEmptyBrush?h.useStyle(G({},w)):h.useStyle(w),h.style.decal=null,h.setColor(x,a&&a.symbolInnerColor),h.style.strokeNoScale=!0;var _=e.getItemVisual(t,"liftZ"),A=this._z2;null!=_?null==A&&(this._z2=h.z2,h.z2+=_):null!=A&&(h.z2=A,this._z2=null);var C=a&&a.useNameLabel;cc(h,d,{labelFetcher:m,labelDataIndex:t,defaultText:function(t){return C?e.getName(t):dC(e,t)},inheritColor:x,defaultOpacity:w.opacity}),this._sizeX=n[0]/2,this._sizeY=n[1]/2;var T=h.ensureState("emphasis");T.style=o,h.ensureState("select").style=s,h.ensureState("blur").style=i;var k=null==p||!0===p?Math.max(1.1,3/this._sizeY):isFinite(p)&&p>0?+p:1;T.scaleX=this._sizeX*k,T.scaleY=this._sizeY*k,this.setSymbolScale(1),Wu(this,l,u,c)},t.prototype.setSymbolScale=function(e){this.scaleX=this.scaleY=e},t.prototype.fadeOut=function(e,t,n){var r=this.childAt(0),a=Xl(this).dataIndex,o=n&&n.animation;if(this.silent=r.silent=!0,n&&n.fadeLabel){var i=r.getTextContent();i&&rc(i,{style:{opacity:0}},t,{dataIndex:a,removeOpt:o,cb:function(){r.removeTextContent()}})}else r.removeTextContent();rc(r,{style:{opacity:0},scaleX:0,scaleY:0},t,{dataIndex:a,cb:e,removeOpt:o})},t.getSymbolSize=function(e,t){return cy(e.getItemVisual(t,"symbolSize"))},t}(wo);function hC(e,t){this.parent.drift(e,t)}const mC=fC;function gC(e,t,n,r){return t&&!isNaN(t[0])&&!isNaN(t[1])&&!(r.isIgnore&&r.isIgnore(n))&&!(r.clipShape&&!r.clipShape.contain(t[0],t[1]))&&"none"!==e.getItemVisual(n,"symbol")}function vC(e){return null==e||fe(e)||(e={isIgnore:e}),e||{}}function yC(e){var t=e.hostModel,n=t.getModel("emphasis");return{emphasisItemStyle:n.getModel("itemStyle").getItemStyle(),blurItemStyle:t.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:t.getModel(["select","itemStyle"]).getItemStyle(),focus:n.get("focus"),blurScope:n.get("blurScope"),emphasisDisabled:n.get("disabled"),hoverScale:n.get("scale"),labelStatesModels:dc(t),cursorStyle:t.get("cursor")}}var bC=function(){function e(e){this.group=new wo,this._SymbolCtor=e||mC}return e.prototype.updateData=function(e,t){this._progressiveEls=null,t=vC(t);var n=this.group,r=e.hostModel,a=this._data,o=this._SymbolCtor,i=t.disableAnimation,s=yC(e),l={disableAnimation:i},u=t.getSymbolPoint||function(t){return e.getItemLayout(t)};a||n.removeAll(),e.diff(a).add((function(r){var a=u(r);if(gC(e,a,r,t)){var i=new o(e,r,s,l);i.setPosition(a),e.setItemGraphicEl(r,i),n.add(i)}})).update((function(c,d){var p=a.getItemGraphicEl(d),f=u(c);if(gC(e,f,c,t)){var h=e.getItemVisual(c,"symbol")||"circle",m=p&&p.getSymbolType&&p.getSymbolType();if(!p||m&&m!==h)n.remove(p),(p=new o(e,c,s,l)).setPosition(f);else{p.updateData(e,c,s,l);var g={x:f[0],y:f[1]};i?p.attr(g):ec(p,g,r)}n.add(p),e.setItemGraphicEl(c,p)}else n.remove(p)})).remove((function(e){var t=a.getItemGraphicEl(e);t&&t.fadeOut((function(){n.remove(t)}),r)})).execute(),this._getSymbolPoint=u,this._data=e},e.prototype.updateLayout=function(){var e=this,t=this._data;t&&t.eachItemGraphicEl((function(t,n){var r=e._getSymbolPoint(n);t.setPosition(r),t.markRedraw()}))},e.prototype.incrementalPrepareUpdate=function(e){this._seriesScope=yC(e),this._data=null,this.group.removeAll()},e.prototype.incrementalUpdate=function(e,t,n){function r(e){e.isGroup||(e.incremental=!0,e.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[],n=vC(n);for(var a=e.start;a0?n=r[0]:r[1]<0&&(n=r[1]),n}(a,n),i=r.dim,s=a.dim,l=t.mapDimension(s),u=t.mapDimension(i),c="x"===s||"radius"===s?1:0,d=te(e.dimensions,(function(e){return t.mapDimension(e)})),p=!1,f=t.getCalculationInfo("stackResultDimension");return nx(t,d[0])&&(p=!0,d[0]=f),nx(t,d[1])&&(p=!0,d[1]=f),{dataDimsForPoint:d,valueStart:o,valueAxisDim:s,baseAxisDim:i,stacked:!!p,valueDim:l,baseDim:u,baseDataOffset:c,stackedOverDimension:t.getCalculationInfo("stackedOverDimension")}}function SC(e,t,n,r){var a=NaN;e.stacked&&(a=n.get(n.getCalculationInfo("stackedOverDimension"),r)),isNaN(a)&&(a=e.valueStart);var o=e.baseDataOffset,i=[];return i[o]=n.get(e.baseDim,r),i[1-o]=a,t.dataToPoint(i)}var _C=Math.min,AC=Math.max;function CC(e,t){return isNaN(e)||isNaN(t)}function TC(e,t,n,r,a,o,i,s,l){for(var u,c,d,p,f,h,m=n,g=0;g=a||m<0)break;if(CC(v,y)){if(l){m+=o;continue}break}if(m===n)e[o>0?"moveTo":"lineTo"](v,y),d=v,p=y;else{var b=v-u,w=y-c;if(b*b+w*w<.5){m+=o;continue}if(i>0){for(var x=m+o,S=t[2*x],_=t[2*x+1];S===v&&_===y&&g=r||CC(S,_))f=v,h=y;else{T=S-u,k=_-c;var P=v-u,O=S-v,I=y-c,D=_-y,R=void 0,N=void 0;if("x"===s){var L=T>0?1:-1;f=v-L*(R=Math.abs(P))*i,h=y,E=v+L*(N=Math.abs(O))*i,M=y}else if("y"===s){var $=k>0?1:-1;f=v,h=y-$*(R=Math.abs(I))*i,E=v,M=y+$*(N=Math.abs(D))*i}else R=Math.sqrt(P*P+I*I),f=v-T*i*(1-(C=(N=Math.sqrt(O*O+D*D))/(N+R))),h=y-k*i*(1-C),M=y+k*i*C,E=_C(E=v+T*i*C,AC(S,v)),M=_C(M,AC(_,y)),E=AC(E,_C(S,v)),h=y-(k=(M=AC(M,_C(_,y)))-y)*R/N,f=_C(f=v-(T=E-v)*R/N,AC(u,v)),h=_C(h,AC(c,y)),E=v+(T=v-(f=AC(f,_C(u,v))))*N/R,M=y+(k=y-(h=AC(h,_C(c,y))))*N/R}e.bezierCurveTo(d,p,f,h,v,y),d=E,p=M}else e.lineTo(v,y)}u=v,c=y,m+=o}return g}var kC=function(){this.smooth=0,this.smoothConstraint=!0},EC=function(e){function t(t){var n=e.call(this,t)||this;return n.type="ec-polyline",n}return y(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new kC},t.prototype.buildPath=function(e,t){var n=t.points,r=0,a=n.length/2;if(t.connectNulls){for(;a>0&&CC(n[2*a-2],n[2*a-1]);a--);for(;r=0){var g=i?(c-r)*m+r:(u-n)*m+n;return i?[e,g]:[g,e]}n=u,r=c;break;case o.C:u=a[l++],c=a[l++],d=a[l++],p=a[l++],f=a[l++],h=a[l++];var v=i?Kn(n,u,d,f,e,s):Kn(r,c,p,h,e,s);if(v>0)for(var y=0;y=0)return g=i?Yn(r,c,p,h,b):Yn(n,u,d,f,b),i?[e,g]:[g,e]}n=f,r=h}}},t}(vl),MC=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return y(t,e),t}(kC),PC=function(e){function t(t){var n=e.call(this,t)||this;return n.type="ec-polygon",n}return y(t,e),t.prototype.getDefaultShape=function(){return new MC},t.prototype.buildPath=function(e,t){var n=t.points,r=t.stackedOnPoints,a=0,o=n.length/2,i=t.smoothMonotone;if(t.connectNulls){for(;o>0&&CC(n[2*o-2],n[2*o-1]);o--);for(;ar)return!1;return!0}(o,t))){var i=t.mapDimension(o.dim),s={};return ee(o.getViewLabels(),(function(e){var t=o.scale.getRawOrdinalNumber(e.tickValue);s[t]=1})),function(e){return!s.hasOwnProperty(t.get(i,e))}}}}(e,i,a),A=this._data;A&&A.eachItemGraphicEl((function(e,t){e.__temp&&(o.remove(e),A.setItemGraphicEl(t,null))})),x||p.remove(),o.add(m);var C,T=!c&&e.get("step");a&&a.getArea&&e.get("clip",!0)&&(null!=(C=a.getArea()).width?(C.x-=.1,C.y-=.1,C.width+=.2,C.height+=.2):C.r0&&(C.r0-=.5,C.r+=.5)),this._clipShapeForSymbol=C;var k=function(e,t,n){var r=e.getVisual("visualMeta");if(r&&r.length&&e.count()&&"cartesian2d"===t.type){for(var a,o,i=r.length-1;i>=0;i--){var s=e.getDimensionInfo(r[i].dimension);if("x"===(a=s&&s.coordDim)||"y"===a){o=r[i];break}}if(o){var l=t.getAxis(a),u=te(o.stops,(function(e){return{coord:l.toGlobalCoord(l.dataToCoord(e.value)),color:e.color}})),c=u.length,d=o.outerColors.slice();c&&u[0].coord>u[c-1].coord&&(u.reverse(),d.reverse());var p=function(e,t){var n,r,a=[],o=e.length;function i(e,t,n){var r=e.coord;return{coord:n,color:Ir((n-r)/(t.coord-r),[e.color,t.color])}}for(var s=0;st){r?a.push(i(r,l,t)):n&&a.push(i(n,l,0),i(n,l,t));break}n&&(a.push(i(n,l,0)),n=null),a.push(l),r=l}}return a}(u,"x"===a?n.getWidth():n.getHeight()),f=p.length;if(!f&&c)return u[0].coord<0?d[1]?d[1]:u[c-1].color:d[0]?d[0]:u[0].color;var h=p[0].coord-10,m=p[f-1].coord+10,g=m-h;if(g<.001)return"transparent";ee(p,(function(e){e.offset=(e.coord-h)/g})),p.push({offset:f?p[f-1].offset:.5,color:d[1]||"transparent"}),p.unshift({offset:f?p[0].offset:.5,color:d[0]||"transparent"});var v=new ag(0,0,0,0,p,!0);return v[a]=h,v[a+"2"]=m,v}}}(i,a,n)||i.getVisual("style")[i.getVisual("drawType")];if(f&&d.type===a.type&&T===this._step){v&&!h?h=this._newPolygon(u,w):h&&!v&&(m.remove(h),h=this._polygon=null),c||this._initOrUpdateEndLabel(e,a,Dd(k));var E=m.getClipPath();E?tc(E,{shape:WC(this,a,!1,e).shape},e):m.setClipPath(WC(this,a,!0,e)),x&&p.updateData(i,{isIgnore:_,clipShape:C,disableAnimation:!0,getSymbolPoint:function(e){return[u[2*e],u[2*e+1]]}}),NC(this._stackedOnPoints,w)&&NC(this._points,u)||(g?this._doUpdateAnimation(i,w,a,n,T,y,S):(T&&(u=FC(u,a,T,S),w&&(w=FC(w,a,T,S))),f.setShape({points:u}),h&&h.setShape({points:u,stackedOnPoints:w})))}else x&&p.updateData(i,{isIgnore:_,clipShape:C,disableAnimation:!0,getSymbolPoint:function(e){return[u[2*e],u[2*e+1]]}}),g&&this._initSymbolLabelAnimation(i,a,C),T&&(u=FC(u,a,T,S),w&&(w=FC(w,a,T,S))),f=this._newPolyline(u),v?h=this._newPolygon(u,w):h&&(m.remove(h),h=this._polygon=null),c||this._initOrUpdateEndLabel(e,a,Dd(k)),m.setClipPath(WC(this,a,!0,e));var M=e.getModel("emphasis"),P=M.get("focus"),O=M.get("blurScope"),I=M.get("disabled");f.useStyle(Y(s.getLineStyle(),{fill:"none",stroke:k,lineJoin:"bevel"})),qu(f,e,"lineStyle"),f.style.lineWidth>0&&"bolder"===e.get(["emphasis","lineStyle","width"])&&(f.getState("emphasis").style.lineWidth=+f.style.lineWidth+1),Xl(f).seriesIndex=e.seriesIndex,Wu(f,P,O,I);var D=jC(e.get("smooth")),R=e.get("smoothMonotone");if(f.setShape({smooth:D,smoothMonotone:R,connectNulls:S}),h){var N=i.getCalculationInfo("stackedOnSeries"),L=0;h.useStyle(Y(l.getAreaStyle(),{fill:k,opacity:.7,lineJoin:"bevel",decal:i.getVisual("style").decal})),N&&(L=jC(N.get("smooth"))),h.setShape({smooth:D,stackedOnSmooth:L,smoothMonotone:R,connectNulls:S}),qu(h,e,"areaStyle"),Xl(h).seriesIndex=e.seriesIndex,Wu(h,P,O,I)}var $=function(e){r._changePolyState(e)};i.eachItemGraphicEl((function(e){e&&(e.onHoverStateChange=$)})),this._polyline.onHoverStateChange=$,this._data=i,this._coordSys=a,this._stackedOnPoints=w,this._points=u,this._step=T,this._valueOrigin=y,e.get("triggerLineEvent")&&(this.packEventData(e,f),h&&this.packEventData(e,h))},t.prototype.packEventData=function(e,t){Xl(t).eventData={componentType:"series",componentSubType:"line",componentIndex:e.componentIndex,seriesIndex:e.seriesIndex,seriesName:e.name,seriesType:"line"}},t.prototype.highlight=function(e,t,n,r){var a=e.getData(),o=wi(a,r);if(this._changePolyState("emphasis"),!(o instanceof Array)&&null!=o&&o>=0){var i=a.getLayout("points"),s=a.getItemGraphicEl(o);if(!s){var l=i[2*o],u=i[2*o+1];if(isNaN(l)||isNaN(u))return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(l,u))return;var c=e.get("zlevel")||0,d=e.get("z")||0;(s=new mC(a,o)).x=l,s.y=u,s.setZ(c,d);var p=s.getSymbolPath().getTextContent();p&&(p.zlevel=c,p.z=d,p.z2=this._polyline.z2+1),s.__temp=!0,a.setItemGraphicEl(o,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else Jg.prototype.highlight.call(this,e,t,n,r)},t.prototype.downplay=function(e,t,n,r){var a=e.getData(),o=wi(a,r);if(this._changePolyState("normal"),null!=o&&o>=0){var i=a.getItemGraphicEl(o);i&&(i.__temp?(a.setItemGraphicEl(o,null),this.group.remove(i)):i.downplay())}else Jg.prototype.downplay.call(this,e,t,n,r)},t.prototype._changePolyState=function(e){var t=this._polygon;_u(this._polyline,e),t&&_u(t,e)},t.prototype._newPolyline=function(e){var t=this._polyline;return t&&this._lineGroup.remove(t),t=new EC({shape:{points:e},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(t),this._polyline=t,t},t.prototype._newPolygon=function(e,t){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new PC({shape:{points:e,stackedOnPoints:t},segmentIgnoreThreshold:2}),this._lineGroup.add(n),this._polygon=n,n},t.prototype._initSymbolLabelAnimation=function(e,t,n){var r,a,o=t.getBaseAxis(),i=o.inverse;"cartesian2d"===t.type?(r=o.isHorizontal(),a=!1):"polar"===t.type&&(r="angle"===o.dim,a=!0);var s=e.hostModel,l=s.get("animationDuration");ue(l)&&(l=l(null));var u=s.get("animationDelay")||0,c=ue(u)?u(null):u;e.eachItemGraphicEl((function(e,o){var s=e;if(s){var d=[e.x,e.y],p=void 0,f=void 0,h=void 0;if(n)if(a){var m=n,g=t.pointToCoord(d);r?(p=m.startAngle,f=m.endAngle,h=-g[1]/180*Math.PI):(p=m.r0,f=m.r,h=g[0])}else{var v=n;r?(p=v.x,f=v.x+v.width,h=e.x):(p=v.y+v.height,f=v.y,h=e.y)}var y=f===p?0:(h-p)/(f-p);i&&(y=1-y);var b=ue(u)?u(o):l*y+c,w=s.getSymbolPath(),x=w.getTextContent();s.attr({scaleX:0,scaleY:0}),s.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:b}),x&&x.animateFrom({style:{opacity:0}},{duration:300,delay:b}),w.disableLabelAnimation=!0}}))},t.prototype._initOrUpdateEndLabel=function(e,t,n){var r=e.getModel("endLabel");if(zC(e)){var a=e.getData(),o=this._polyline,i=a.getLayout("points");if(!i)return o.removeTextContent(),void(this._endLabel=null);var s=this._endLabel;s||((s=this._endLabel=new Yl({z2:200})).ignoreClip=!0,o.setTextContent(this._endLabel),o.disableLabelAnimation=!0);var l=function(e){for(var t,n,r=e.length/2;r>0&&(t=e[2*r-2],n=e[2*r-1],isNaN(t)||isNaN(n));r--);return r-1}(i);l>=0&&(cc(o,dc(e,"endLabel"),{inheritColor:n,labelFetcher:e,labelDataIndex:l,defaultText:function(e,t,n){return null!=n?pC(a,n):dC(a,e)},enableTextSetter:!0},function(e,t){var n=t.getBaseAxis(),r=n.isHorizontal(),a=n.inverse,o=r?a?"right":"left":"center",i=r?"middle":a?"top":"bottom";return{normal:{align:e.get("align")||o,verticalAlign:e.get("verticalAlign")||i}}}(r,t)),o.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},t.prototype._endLabelOnDuring=function(e,t,n,r,a,o,i){var s=this._endLabel,l=this._polyline;if(s){e<1&&null==r.originalX&&(r.originalX=s.x,r.originalY=s.y);var u=n.getLayout("points"),c=n.hostModel,d=c.get("connectNulls"),p=o.get("precision"),f=o.get("distance")||0,h=i.getBaseAxis(),m=h.isHorizontal(),g=h.inverse,v=t.shape,y=g?m?v.x:v.y+v.height:m?v.x+v.width:v.y,b=(m?f:0)*(g?-1:1),w=(m?0:-f)*(g?-1:1),x=m?"x":"y",S=function(e,t,n){for(var r,a,o=e.length/2,i="x"===n?0:1,s=0,l=-1,u=0;u=t||r>=t&&a<=t){l=u;break}s=u,r=a}else r=a;return{range:[s,l],t:(t-r)/(a-r)}}(u,y,x),_=S.range,A=_[1]-_[0],C=void 0;if(A>=1){if(A>1&&!d){var T=BC(u,_[0]);s.attr({x:T[0]+b,y:T[1]+w}),a&&(C=c.getRawValue(_[0]))}else{(T=l.getPointOn(y,x))&&s.attr({x:T[0]+b,y:T[1]+w});var k=c.getRawValue(_[0]),E=c.getRawValue(_[1]);a&&(C=Pi(n,p,k,E,S.t))}r.lastFrameIndex=_[0]}else{var M=1===e||r.lastFrameIndex>0?_[0]:0;T=BC(u,M),a&&(C=c.getRawValue(M)),s.attr({x:T[0]+b,y:T[1]+w})}if(a){var P=bc(s);"function"==typeof P.setLabelText&&P.setLabelText(C)}}},t.prototype._doUpdateAnimation=function(e,t,n,r,a,o,i){var s=this._polyline,l=this._polygon,u=e.hostModel,c=function(e,t,n,r,a,o,i,s){for(var l=function(e,t){var n=[];return t.diff(e).add((function(e){n.push({cmd:"+",idx:e})})).update((function(e,t){n.push({cmd:"=",idx:t,idx1:e})})).remove((function(e){n.push({cmd:"-",idx:e})})).execute(),n}(e,t),u=[],c=[],d=[],p=[],f=[],h=[],m=[],g=xC(a,t,i),v=e.getLayout("points")||[],y=t.getLayout("points")||[],b=0;b3e3||l&&$C(p,h)>3e3)return s.stopAnimation(),s.setShape({points:f}),void(l&&(l.stopAnimation(),l.setShape({points:f,stackedOnPoints:h})));s.shape.__points=c.current,s.shape.points=d;var m={shape:{points:f}};c.current!==d&&(m.shape.__points=c.next),s.stopAnimation(),ec(s,m,u),l&&(l.setShape({points:d,stackedOnPoints:p}),l.stopAnimation(),ec(l,{shape:{stackedOnPoints:h}},u),s.shape.points!==l.shape.points&&(l.shape.points=s.shape.points));for(var g=[],v=c.status,y=0;yt&&(t=e[n]);return isFinite(t)?t:NaN},min:function(e){for(var t=1/0,n=0;nt&&(t=o,n=a)}return isFinite(n)?n:NaN},nearest:function(e){return e[0]}},GC=function(e){return Math.round(e.length/2)};function YC(e){return{seriesType:e,reset:function(e,t,n){var r=e.getData(),a=e.get("sampling"),o=e.coordinateSystem,i=r.count();if(i>10&&"cartesian2d"===o.type&&a){var s=o.getBaseAxis(),l=o.getOtherAxis(s),u=s.getExtent(),c=n.getDevicePixelRatio(),d=Math.abs(u[1]-u[0])*(c||1),p=Math.round(i/d);if(isFinite(p)&&p>1){"lttb"===a&&e.setData(r.lttbDownSample(r.mapDimension(l.dim),1/p));var f=void 0;ce(a)?f=qC[a]:ue(a)&&(f=a),f&&e.setData(r.downSample(r.mapDimension(l.dim),1/p,f,GC))}}}}}var XC=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return y(t,e),t.prototype.getInitialData=function(e,t){return ax(null,this,{useEncodeDefaulter:!0})},t.prototype.getMarkerPosition=function(e,t,n){var r=this.coordinateSystem;if(r&&r.clampData){var a=r.clampData(e),o=r.dataToPoint(a);if(n)ee(r.getAxes(),(function(e,n){if("category"===e.type&&null!=t){var r=e.getTicksCoords(),i=e.getTickModel().get("alignWithLabel"),s=a[n],l="x1"===t[n]||"y1"===t[n];if(l&&!i&&(s+=1),r.length<2)return;if(2===r.length)return void(o[n]=e.toGlobalCoord(e.getExtent()[l?1:0]));for(var u=void 0,c=void 0,d=1,p=0;ps){c=(f+u)/2;break}1===p&&(d=h-r[0].tickValue)}null==c&&(u?u&&(c=r[r.length-1].coord):c=r[0].coord),o[n]=e.toGlobalCoord(c)}}));else{var i=this.getData(),s=i.getLayout("offset"),l=i.getLayout("size"),u=r.getBaseAxis().isHorizontal()?0:1;o[u]+=s+l/2}return o}return[NaN,NaN]},t.type="series.__base_bar__",t.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},t}(Wh);Wh.registerClass(XC);const KC=XC,QC=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return y(t,e),t.prototype.getInitialData=function(){return ax(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},t.prototype.getProgressive=function(){return!!this.get("large")&&this.get("progressive")},t.prototype.getProgressiveThreshold=function(){var e=this.get("progressiveThreshold"),t=this.get("largeThreshold");return t>e&&(e=t),e},t.prototype.brushSelector=function(e,t,n){return n.rect(t.getItemLayout(e))},t.type="series.bar",t.dependencies=["grid","polar"],t.defaultOption=Fc(KC.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),t}(KC);var ZC=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},JC=function(e){function t(t){var n=e.call(this,t)||this;return n.type="sausage",n}return y(t,e),t.prototype.getDefaultShape=function(){return new ZC},t.prototype.buildPath=function(e,t){var n=t.cx,r=t.cy,a=Math.max(t.r0||0,0),o=Math.max(t.r,0),i=.5*(o-a),s=a+i,l=t.startAngle,u=t.endAngle,c=t.clockwise,d=2*Math.PI,p=c?u-lo)return!0;o=u}return!1},t.prototype._isOrderDifferentInView=function(e,t){for(var n=t.scale,r=n.getExtent(),a=Math.max(0,r[0]),o=Math.min(r[1],n.getOrdinalMeta().categories.length-1);a<=o;++a)if(e.ordinalNumbers[a]!==n.getRawOrdinalNumber(a))return!0},t.prototype._updateSortWithinSameData=function(e,t,n,r){if(this._isOrderChangedWithinSameData(e,t,n)){var a=this._dataSort(e,n,t);this._isOrderDifferentInView(a,n)&&(this._removeOnRenderedListener(r),r.dispatchAction({type:"changeAxisOrder",componentType:n.dim+"Axis",axisId:n.index,sortInfo:a}))}},t.prototype._dispatchInitSort=function(e,t,n){var r=t.baseAxis,a=this._dataSort(e,r,(function(n){return e.get(e.mapDimension(t.otherAxis.dim),n)}));n.dispatchAction({type:"changeAxisOrder",componentType:r.dim+"Axis",isInitSort:!0,axisId:r.index,sortInfo:a})},t.prototype.remove=function(e,t){this._clear(this._model),this._removeOnRenderedListener(t)},t.prototype.dispose=function(e,t){this._removeOnRenderedListener(t)},t.prototype._removeOnRenderedListener=function(e){this._onRendered&&(e.getZr().off("rendered",this._onRendered),this._onRendered=null)},t.prototype._clear=function(e){var t=this.group,n=this._data;e&&e.isAnimationEnabled()&&n&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],n.eachItemGraphicEl((function(t){oc(t,e,Xl(t).dataIndex)}))):t.removeAll(),this._data=null,this._isFirstFrame=!0},t.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},t.type="bar",t}(Jg),sT={cartesian2d:function(e,t){var n=t.width<0?-1:1,r=t.height<0?-1:1;n<0&&(t.x+=t.width,t.width=-t.width),r<0&&(t.y+=t.height,t.height=-t.height);var a=e.x+e.width,o=e.y+e.height,i=aT(t.x,e.x),s=oT(t.x+t.width,a),l=aT(t.y,e.y),u=oT(t.y+t.height,o),c=sa?s:i,t.y=d&&l>o?u:l,t.width=c?0:s-i,t.height=d?0:u-l,n<0&&(t.x+=t.width,t.width=-t.width),r<0&&(t.y+=t.height,t.height=-t.height),c||d},polar:function(e,t){var n=t.r0<=t.r?1:-1;if(n<0){var r=t.r;t.r=t.r0,t.r0=r}var a=oT(t.r,e.r),o=aT(t.r0,e.r0);t.r=a,t.r0=o;var i=a-o<0;return n<0&&(r=t.r,t.r=t.r0,t.r0=r),i}},lT={cartesian2d:function(e,t,n,r,a,o,i,s,l){var u=new Il({shape:G({},r),z2:1});return u.__dataIndex=n,u.name="item",o&&(u.shape[a?"height":"width"]=0),u},polar:function(e,t,n,r,a,o,i,s,l){var u=!a&&l?eT:Im,c=new u({shape:r,z2:1});c.name="item";var d,p,f=mT(a);if(c.calculateTextPosition=(d=f,p=({isRoundCap:u===eT}||{}).isRoundCap,function(e,t,n){var r=t.position;if(!r||r instanceof Array)return io(e,t,n);var a=d(r),o=null!=t.distance?t.distance:5,i=this.shape,s=i.cx,l=i.cy,u=i.r,c=i.r0,f=(u+c)/2,h=i.startAngle,m=i.endAngle,g=(h+m)/2,v=p?Math.abs(u-c)/2:0,y=Math.cos,b=Math.sin,w=s+u*y(h),x=l+u*b(h),S="left",_="top";switch(a){case"startArc":w=s+(c-o)*y(g),x=l+(c-o)*b(g),S="center",_="top";break;case"insideStartArc":w=s+(c+o)*y(g),x=l+(c+o)*b(g),S="center",_="bottom";break;case"startAngle":w=s+f*y(h)+tT(h,o+v,!1),x=l+f*b(h)+nT(h,o+v,!1),S="right",_="middle";break;case"insideStartAngle":w=s+f*y(h)+tT(h,-o+v,!1),x=l+f*b(h)+nT(h,-o+v,!1),S="left",_="middle";break;case"middle":w=s+f*y(g),x=l+f*b(g),S="center",_="middle";break;case"endArc":w=s+(u+o)*y(g),x=l+(u+o)*b(g),S="center",_="bottom";break;case"insideEndArc":w=s+(u-o)*y(g),x=l+(u-o)*b(g),S="center",_="top";break;case"endAngle":w=s+f*y(m)+tT(m,o+v,!0),x=l+f*b(m)+nT(m,o+v,!0),S="left",_="middle";break;case"insideEndAngle":w=s+f*y(m)+tT(m,-o+v,!0),x=l+f*b(m)+nT(m,-o+v,!0),S="right",_="middle";break;default:return io(e,t,n)}return(e=e||{}).x=w,e.y=x,e.align=S,e.verticalAlign=_,e}),o){var h=a?"r":"endAngle",m={};c.shape[h]=a?r.r0:r.startAngle,m[h]=r[h],(s?ec:tc)(c,{shape:m},o)}return c}};function uT(e,t,n,r,a,o,i,s){var l,u;o?(u={x:r.x,width:r.width},l={y:r.y,height:r.height}):(u={y:r.y,height:r.height},l={x:r.x,width:r.width}),s||(i?ec:tc)(n,{shape:l},t,a,null),(i?ec:tc)(n,{shape:u},t?e.baseAxis.model:null,a)}function cT(e,t){for(var n=0;n0?1:-1,i=r.height>0?1:-1;return{x:r.x+o*a/2,y:r.y+i*a/2,width:r.width-o*a,height:r.height-i*a}},polar:function(e,t,n){var r=e.getItemLayout(t);return{cx:r.cx,cy:r.cy,r0:r.r0,r:r.r,startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}}};function mT(e){return function(e){var t=e?"Arc":"Angle";return function(e){switch(e){case"start":case"insideStart":case"end":case"insideEnd":return e+t;default:return e}}}(e)}function gT(e,t,n,r,a,o,i,s){var l=t.getItemVisual(n,"style");if(s){if(!o.get("roundCap")){var u=e.shape;G(u,rT(r.getModel("itemStyle"),u,!0)),e.setShape(u)}}else{var c=r.get(["itemStyle","borderRadius"])||0;e.setShape("r",c)}e.useStyle(l);var d=r.getShallow("cursor");d&&e.attr("cursor",d);var p=s?i?a.r>=a.r0?"endArc":"startArc":a.endAngle>=a.startAngle?"endAngle":"startAngle":i?a.height>=0?"bottom":"top":a.width>=0?"right":"left",f=dc(r);cc(e,f,{labelFetcher:o,labelDataIndex:n,defaultText:dC(o.getData(),n),inheritColor:l.fill,defaultOpacity:l.opacity,defaultOutsidePosition:p});var h=e.getTextContent();if(s&&h){var m=r.get(["label","position"]);e.textConfig.inside="middle"===m||null,function(e,t,n,r){if(pe(r))e.setTextConfig({rotation:r});else if(le(t))e.setTextConfig({rotation:0});else{var a,o=e.shape,i=o.clockwise?o.startAngle:o.endAngle,s=o.clockwise?o.endAngle:o.startAngle,l=(i+s)/2,u=n(t);switch(u){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":a=l;break;case"startAngle":case"insideStartAngle":a=i;break;case"endAngle":case"insideEndAngle":a=s;break;default:return void e.setTextConfig({rotation:0})}var c=1.5*Math.PI-a;"middle"===u&&c>Math.PI/2&&c<1.5*Math.PI&&(c-=Math.PI),e.setTextConfig({rotation:c})}}(e,"outside"===m?p:m,mT(i),r.get(["label","rotate"]))}wc(h,f,o.getRawValue(n),(function(e){return pC(t,e)}));var g=r.getModel(["emphasis"]);Wu(e,g.get("focus"),g.get("blurScope"),g.get("disabled")),qu(e,r),function(e){return null!=e.startAngle&&null!=e.endAngle&&e.startAngle===e.endAngle}(a)&&(e.style.fill="none",e.style.stroke="none",ee(e.states,(function(e){e.style&&(e.style.fill=e.style.stroke="none")})))}var vT=function(){},yT=function(e){function t(t){var n=e.call(this,t)||this;return n.type="largeBar",n}return y(t,e),t.prototype.getDefaultShape=function(){return new vT},t.prototype.buildPath=function(e,t){for(var n=t.points,r=this.baseDimIdx,a=1-this.baseDimIdx,o=[],i=[],s=this.barWidth,l=0;l=s[0]&&t<=s[0]+l[0]&&n>=s[1]&&n<=s[1]+l[1])return i[c]}return-1}(this,e.offsetX,e.offsetY);Xl(this).dataIndex=t>=0?t:null}),30,!1);function xT(e,t,n){if(RC(n,"cartesian2d")){var r=t,a=n.getArea();return{x:e?r.x:a.x,y:e?a.y:r.y,width:e?r.width:a.width,height:e?a.height:r.height}}var o=t;return{cx:(a=n.getArea()).cx,cy:a.cy,r0:e?a.r0:o.r0,r:e?a.r:o.r,startAngle:e?o.startAngle:0,endAngle:e?o.endAngle:2*Math.PI}}const ST=iT;var _T=2*Math.PI,AT=Math.PI/180;function CT(e,t){return Bd(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function TT(e,t){var n=CT(e,t),r=e.get("center"),a=e.get("radius");le(a)||(a=[0,a]);var o,i,s=Lo(n.width,t.getWidth()),l=Lo(n.height,t.getHeight()),u=Math.min(s,l),c=Lo(a[0],u/2),d=Lo(a[1],u/2),p=e.coordinateSystem;if(p){var f=p.dataToPoint(r);o=f[0]||0,i=f[1]||0}else le(r)||(r=[r,r]),o=Lo(r[0],s)+n.x,i=Lo(r[1],l)+n.y;return{cx:o,cy:i,r0:c,r:d}}function kT(e,t,n){t.eachSeriesByType(e,(function(e){var t=e.getData(),r=t.mapDimension("value"),a=CT(e,n),o=TT(e,n),i=o.cx,s=o.cy,l=o.r,u=o.r0,c=-e.get("startAngle")*AT,d=e.get("endAngle"),p=e.get("padAngle")*AT;d="auto"===d?c-_T:-d*AT;var f=e.get("minAngle")*AT+p,h=0;t.each(r,(function(e){!isNaN(e)&&h++}));var m=t.getSum(r),g=Math.PI/(m||h)*2,v=e.get("clockwise"),y=e.get("roseType"),b=e.get("stillShowZeroSum"),w=t.getDataExtent(r);w[0]=0;var x=v?1:-1,S=[c,d],_=x*p/2;Ys(S,!v),c=S[0],d=S[1];var A=ET(e);A.startAngle=c,A.endAngle=d,A.clockwise=v;var C=Math.abs(d-c),T=C,k=0,E=c;if(t.setLayout({viewRect:a,r:l}),t.each(r,(function(e,n){var r;if(isNaN(e))t.setItemLayout(n,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:v,cx:i,cy:s,r0:u,r:y?NaN:l});else{(r="area"!==y?0===m&&b?g:e*g:C/h)r?c=o=E+x*r/2:(o=E+_,c=a-_),t.setItemLayout(n,{angle:r,startAngle:o,endAngle:c,clockwise:v,cx:i,cy:s,r0:u,r:y?No(e,w,[u,l]):l}),E=a}})),T<_T&&h)if(T<=.001){var M=C/h;t.each(r,(function(e,n){if(!isNaN(e)){var r=t.getItemLayout(n);r.angle=M;var a=0,o=0;Mn?i:o,c=Math.abs(l.label.y-n);if(c>=u.maxY){var d=l.label.x-t-l.len2*a,p=r+l.len,h=Math.abs(d)e.unconstrainedWidth?null:f:null;r.setStyle("width",h)}var m=r.getBoundingRect();o.width=m.width;var g=(r.style.margin||0)+2.1;o.height=m.height+g,o.y-=(o.height-d)/2}}}function DT(e){return"center"===e.position}var RT=function(e){function t(t,n,r){var a=e.call(this)||this;a.z2=2;var o=new Yl;return a.setTextContent(o),a.updateData(t,n,r,!0),a}return y(t,e),t.prototype.updateData=function(e,t,n,r){var a=this,o=e.hostModel,i=e.getItemModel(t),s=i.getModel("emphasis"),l=e.getItemLayout(t),u=G(rT(i.getModel("itemStyle"),l,!0),l);if(isNaN(u.startAngle))a.setShape(u);else{if(r){a.setShape(u);var c=o.getShallow("animationType");o.ecModel.ssr?(tc(a,{scaleX:0,scaleY:0},o,{dataIndex:t,isFrom:!0}),a.originX=u.cx,a.originY=u.cy):"scale"===c?(a.shape.r=l.r0,tc(a,{shape:{r:l.r}},o,t)):null!=n?(a.setShape({startAngle:n,endAngle:n}),tc(a,{shape:{startAngle:l.startAngle,endAngle:l.endAngle}},o,t)):(a.shape.endAngle=l.startAngle,ec(a,{shape:{endAngle:l.endAngle}},o,t))}else ic(a),ec(a,{shape:u},o,t);a.useStyle(e.getItemVisual(t,"style")),qu(a,i);var d=(l.startAngle+l.endAngle)/2,p=o.get("selectedOffset"),f=Math.cos(d)*p,h=Math.sin(d)*p,m=i.getShallow("cursor");m&&a.attr("cursor",m),this._updateLabel(o,e,t),a.ensureState("emphasis").shape=G({r:l.r+(s.get("scale")&&s.get("scaleSize")||0)},rT(s.getModel("itemStyle"),l)),G(a.ensureState("select"),{x:f,y:h,shape:rT(i.getModel(["select","itemStyle"]),l)}),G(a.ensureState("blur"),{shape:rT(i.getModel(["blur","itemStyle"]),l)});var g=a.getTextGuideLine(),v=a.getTextContent();g&&G(g.ensureState("select"),{x:f,y:h}),G(v.ensureState("select"),{x:f,y:h}),Wu(this,s.get("focus"),s.get("blurScope"),s.get("disabled"))}},t.prototype._updateLabel=function(e,t,n){var r=this,a=t.getItemModel(n),o=a.getModel("labelLine"),i=t.getItemVisual(n,"style"),s=i&&i.fill,l=i&&i.opacity;cc(r,dc(a),{labelFetcher:t.hostModel,labelDataIndex:n,inheritColor:s,defaultOpacity:l,defaultText:e.getFormattedLabel(n,"normal")||t.getName(n)});var u=r.getTextContent();r.setTextConfig({position:null,rotation:null}),u.attr({z2:10});var c=e.get(["label","position"]);if("outside"!==c&&"outer"!==c)r.removeTextGuideLine();else{var d=this.getTextGuideLine();d||(d=new Wm,this.setTextGuideLine(d)),x_(this,S_(a),{stroke:s,opacity:_e(o.get(["lineStyle","opacity"]),l,1)})}},t}(Im);const NT=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.ignoreLabelLineUpdate=!0,t}return y(t,e),t.prototype.render=function(e,t,n,r){var a,o=e.getData(),i=this._data,s=this.group;if(!i&&o.count()>0){for(var l=o.getItemLayout(0),u=1;isNaN(l&&l.startAngle)&&u0?"right":"left":P>0?"left":"right"}var j=Math.PI,F=0,B=g.get("rotate");if(pe(B))F=B*(j/180);else if("center"===v)F=0;else if("radial"===B||!0===B)F=P<0?-M+j:-M;else if("tangential"===B&&"outside"!==v&&"outer"!==v){var z=Math.atan2(P,O);z<0&&(z=2*j+z),O>0&&(z=j+z),F=z-j}if(o=!!F,p.x=C,p.y=T,p.rotation=F,p.setStyle({verticalAlign:"middle"}),I){p.setStyle({align:E});var W=p.states.select;W&&(W.x+=p.x,W.y+=p.y)}else{var V=p.getBoundingRect().clone();V.applyTransform(p.getComputedTransform());var U=(p.style.margin||0)+2.1;V.y-=U/2,V.height+=U,a.push({label:p,labelLine:h,position:v,len:_,len2:A,minTurnAngle:S.get("minTurnAngle"),maxSurfaceAngle:S.get("maxSurfaceAngle"),surfaceNormal:new Zt(P,O),linePoints:k,textAlign:E,labelDistance:y,labelAlignTo:b,edgeDistance:w,bleedMargin:x,rect:V,unconstrainedWidth:V.width,labelStyleWidth:p.style.width})}s.setTextConfig({inside:I})}})),!o&&e.get("avoidLabelOverlap")&&function(e,t,n,r,a,o,i,s){for(var l=[],u=[],c=Number.MAX_VALUE,d=-Number.MAX_VALUE,p=0;p=n.r0}},t.type="pie",t}(Jg);function LT(e,t,n){t=le(t)&&{coordDimensions:t}||G({encodeDefine:e.getEncode()},t);var r=e.getSource(),a=Kw(r,t).dimensions,o=new Yw(a,e);return o.initData(r,n),o}var $T=function(){function e(e,t){this._getDataWithEncodedVisual=e,this._getRawData=t}return e.prototype.getAllNames=function(){var e=this._getRawData();return e.mapArray(e.getName)},e.prototype.containName=function(e){return this._getRawData().indexOfName(e)>=0},e.prototype.indexOfName=function(e){return this._getDataWithEncodedVisual().indexOfName(e)},e.prototype.getItemVisual=function(e,t){return this._getDataWithEncodedVisual().getItemVisual(e,t)},e}();const jT=$T;var FT=xi();const BT=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return y(t,e),t.prototype.init=function(t){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new jT(ie(this.getData,this),ie(this.getRawData,this)),this._defaultLabelLine(t)},t.prototype.mergeOption=function(){e.prototype.mergeOption.apply(this,arguments)},t.prototype.getInitialData=function(){return LT(this,{coordDimensions:["value"],encodeDefaulter:se(cp,this)})},t.prototype.getDataParams=function(t){var n=this.getData(),r=FT(n),a=r.seats;if(!a){var o=[];n.each(n.mapDimension("value"),(function(e){o.push(e)})),a=r.seats=Vo(o,n.hostModel.get("percentPrecision"))}var i=e.prototype.getDataParams.call(this,t);return i.percent=a[t]||0,i.$vars.push("percent"),i},t.prototype._defaultLabelLine=function(e){ci(e,"labelLine",["show"]);var t=e.labelLine,n=e.emphasis.labelLine;t.show=t.show&&e.label.show,n.show=n.show&&e.emphasis.label.show},t.type="series.pie",t.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,endAngle:"auto",padAngle:0,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},t}(Wh),zT=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n}return y(t,e),t.prototype.getInitialData=function(e,t){return ax(null,this,{useEncodeDefaulter:!0})},t.prototype.getProgressive=function(){var e=this.option.progressive;return null==e?this.option.large?5e3:this.get("progressive"):e},t.prototype.getProgressiveThreshold=function(){var e=this.option.progressiveThreshold;return null==e?this.option.large?1e4:this.get("progressiveThreshold"):e},t.prototype.brushSelector=function(e,t,n){return n.point(t.getItemLayout(e))},t.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},t.type="series.scatter",t.dependencies=["grid","polar","geo","singleAxis","calendar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:"#212121"}},universalTransition:{divideShape:"clone"}},t}(Wh);var WT=function(){},VT=function(e){function t(t){var n=e.call(this,t)||this;return n._off=0,n.hoverDataIdx=-1,n}return y(t,e),t.prototype.getDefaultShape=function(){return new WT},t.prototype.reset=function(){this.notClear=!1,this._off=0},t.prototype.buildPath=function(e,t){var n,r=t.points,a=t.size,o=this.symbolProxy,i=o.shape,s=e.getContext?e.getContext():e,l=s&&a[0]<4,u=this.softClipShape;if(l)this._ctx=s;else{for(this._ctx=null,n=this._off;n=0;s--){var l=2*s,u=r[l]-o/2,c=r[l+1]-i/2;if(e>=u&&t>=c&&e<=u+o&&t<=c+i)return s}return-1},t.prototype.contain=function(e,t){var n=this.transformCoordToLocal(e,t),r=this.getBoundingRect();return e=n[0],t=n[1],r.contain(e,t)?(this.hoverDataIdx=this.findDataIndex(e,t))>=0:(this.hoverDataIdx=-1,!1)},t.prototype.getBoundingRect=function(){var e=this._rect;if(!e){for(var t=this.shape,n=t.points,r=t.size,a=r[0],o=r[1],i=1/0,s=1/0,l=-1/0,u=-1/0,c=0;c=0&&(l.dataIndex=n+(e.startIndex||0))}))},e.prototype.remove=function(){this._clear()},e.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},e}();const HT=UT,qT=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return y(t,e),t.prototype.render=function(e,t,n){var r=e.getData();this._updateSymbolDraw(r,e).updateData(r,{clipShape:this._getClipShape(e)}),this._finished=!0},t.prototype.incrementalPrepareRender=function(e,t,n){var r=e.getData();this._updateSymbolDraw(r,e).incrementalPrepareUpdate(r),this._finished=!1},t.prototype.incrementalRender=function(e,t,n){this._symbolDraw.incrementalUpdate(e,t.getData(),{clipShape:this._getClipShape(t)}),this._finished=e.end===t.getData().count()},t.prototype.updateTransform=function(e,t,n){var r=e.getData();if(this.group.dirty(),!this._finished||r.count()>1e4)return{update:!0};var a=HC("").reset(e,t,n);a.progress&&a.progress({start:0,end:r.count(),count:r.count()},r),this._symbolDraw.updateLayout(r)},t.prototype.eachRendered=function(e){this._symbolDraw&&this._symbolDraw.eachRendered(e)},t.prototype._getClipShape=function(e){if(e.get("clip",!0)){var t=e.coordinateSystem;return t&&t.getArea&&t.getArea(.1)}},t.prototype._updateSymbolDraw=function(e,t){var n=this._symbolDraw,r=t.pipelineContext.large;return n&&r===this._isLargeDraw||(n&&n.remove(),n=this._symbolDraw=r?new HT:new wC,this._isLargeDraw=r,this.group.removeAll()),this.group.add(n.group),n},t.prototype.remove=function(e,t){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},t.prototype.dispose=function(){},t.type="scatter",t}(Jg),GT=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return y(t,e),t.type="grid",t.dependencies=["xAxis","yAxis"],t.layoutMode="box",t.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},t}(Yd);var YT=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return y(t,e),t.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",Ci).models[0]},t.type="cartesian2dAxis",t}(Yd);Z(YT,gS);var XT={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},KT=H({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},XT),QT=H({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},XT);const ZT={category:KT,value:QT,time:H({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},QT),log:Y({logBase:10},QT)};var JT={value:1,category:1,time:1,log:1};function ek(e,t,n,r){ee(JT,(function(a,o){var i=H(H({},ZT[o],!0),r,!0),s=function(e){function n(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t+"Axis."+o,n}return y(n,e),n.prototype.mergeDefaultAndTheme=function(e,t){var n=Wd(this),r=n?Ud(e):{};H(e,t.getTheme().get(o+"Axis")),H(e,this.getDefaultOption()),e.type=tk(e),n&&Vd(e,r,n)},n.prototype.optionUpdated=function(){"category"===this.option.type&&(this.__ordinalMeta=ux.createByAxisModel(this))},n.prototype.getCategories=function(e){var t=this.option;if("category"===t.type)return e?t.data:this.__ordinalMeta.categories},n.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},n.type=t+"Axis."+o,n.defaultOption=i,n}(n);e.registerComponentModel(s)})),e.registerSubTypeDefaulter(t+"Axis",tk)}function tk(e){return e.type||(e.data?"category":"value")}var nk=function(){function e(e){this.type="cartesian",this._dimList=[],this._axes={},this.name=e||""}return e.prototype.getAxis=function(e){return this._axes[e]},e.prototype.getAxes=function(){return te(this._dimList,(function(e){return this._axes[e]}),this)},e.prototype.getAxesByScale=function(e){return e=e.toLowerCase(),re(this.getAxes(),(function(t){return t.scale.type===e}))},e.prototype.addAxis=function(e){var t=e.dim;this._axes[t]=e,this._dimList.push(t)},e}(),rk=["x","y"];function ak(e){return"interval"===e.type||"time"===e.type}var ok=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="cartesian2d",t.dimensions=rk,t}return y(t,e),t.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var e=this.getAxis("x").scale,t=this.getAxis("y").scale;if(ak(e)&&ak(t)){var n=e.getExtent(),r=t.getExtent(),a=this.dataToPoint([n[0],r[0]]),o=this.dataToPoint([n[1],r[1]]),i=n[1]-n[0],s=r[1]-r[0];if(i&&s){var l=(o[0]-a[0])/i,u=(o[1]-a[1])/s,c=a[0]-n[0]*l,d=a[1]-r[0]*u,p=this._transform=[l,0,0,u,c,d];this._invTransform=Xt([],p)}}},t.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},t.prototype.containPoint=function(e){var t=this.getAxis("x"),n=this.getAxis("y");return t.contain(t.toLocalCoord(e[0]))&&n.contain(n.toLocalCoord(e[1]))},t.prototype.containData=function(e){return this.getAxis("x").containData(e[0])&&this.getAxis("y").containData(e[1])},t.prototype.containZone=function(e,t){var n=this.dataToPoint(e),r=this.dataToPoint(t),a=this.getArea(),o=new un(n[0],n[1],r[0]-n[0],r[1]-n[1]);return a.intersect(o)},t.prototype.dataToPoint=function(e,t,n){n=n||[];var r=e[0],a=e[1];if(this._transform&&null!=r&&isFinite(r)&&null!=a&&isFinite(a))return dt(n,e,this._transform);var o=this.getAxis("x"),i=this.getAxis("y");return n[0]=o.toGlobalCoord(o.dataToCoord(r,t)),n[1]=i.toGlobalCoord(i.dataToCoord(a,t)),n},t.prototype.clampData=function(e,t){var n=this.getAxis("x").scale,r=this.getAxis("y").scale,a=n.getExtent(),o=r.getExtent(),i=n.parse(e[0]),s=r.parse(e[1]);return(t=t||[])[0]=Math.min(Math.max(Math.min(a[0],a[1]),i),Math.max(a[0],a[1])),t[1]=Math.min(Math.max(Math.min(o[0],o[1]),s),Math.max(o[0],o[1])),t},t.prototype.pointToData=function(e,t){var n=[];if(this._invTransform)return dt(n,e,this._invTransform);var r=this.getAxis("x"),a=this.getAxis("y");return n[0]=r.coordToData(r.toLocalCoord(e[0]),t),n[1]=a.coordToData(a.toLocalCoord(e[1]),t),n},t.prototype.getOtherAxis=function(e){return this.getAxis("x"===e.dim?"y":"x")},t.prototype.getArea=function(e){e=e||0;var t=this.getAxis("x").getGlobalExtent(),n=this.getAxis("y").getGlobalExtent(),r=Math.min(t[0],t[1])-e,a=Math.min(n[0],n[1])-e,o=Math.max(t[0],t[1])-r+e,i=Math.max(n[0],n[1])-a+e;return new un(r,a,o,i)},t}(nk);const ik=ok;var sk=function(e){function t(t,n,r,a,o){var i=e.call(this,t,n,r)||this;return i.index=0,i.type=a||"value",i.position=o||"bottom",i}return y(t,e),t.prototype.isHorizontal=function(){var e=this.position;return"top"===e||"bottom"===e},t.prototype.getGlobalExtent=function(e){var t=this.getExtent();return t[0]=this.toGlobalCoord(t[0]),t[1]=this.toGlobalCoord(t[1]),e&&t[0]>t[1]&&t.reverse(),t},t.prototype.pointToData=function(e,t){return this.coordToData(this.toLocalCoord(e["x"===this.dim?0:1]),t)},t.prototype.setCategorySortInfo=function(e){if("category"!==this.type)return!1;this.model.option.categorySortInfo=e,this.scale.setSortInfo(e)},t}(YS);const lk=sk;function uk(e,t,n){n=n||{};var r=e.coordinateSystem,a=t.axis,o={},i=a.getAxesOnZeroOf()[0],s=a.position,l=i?"onZero":s,u=a.dim,c=r.getRect(),d=[c.x,c.x+c.width,c.y,c.y+c.height],p={left:0,right:1,top:0,bottom:1,onZero:2},f=t.get("offset")||0,h="x"===u?[d[2]-f,d[3]+f]:[d[0]-f,d[1]+f];if(i){var m=i.toGlobalCoord(i.dataToCoord(0));h[p.onZero]=Math.max(Math.min(m,h[1]),h[0])}o.position=["y"===u?h[p[l]]:d[0],"x"===u?h[p[l]]:d[3]],o.rotation=Math.PI/2*("x"===u?0:1),o.labelDirection=o.tickDirection=o.nameDirection={top:-1,bottom:1,left:-1,right:1}[s],o.labelOffset=i?h[p[s]]-h[p.onZero]:0,t.get(["axisTick","inside"])&&(o.tickDirection=-o.tickDirection),xe(n.labelInside,t.get(["axisLabel","inside"]))&&(o.labelDirection=-o.labelDirection);var g=t.get(["axisLabel","rotate"]);return o.labelRotate="top"===l?-g:g,o.z2=1,o}function ck(e){return"cartesian2d"===e.get("coordinateSystem")}function dk(e){var t={xAxisModel:null,yAxisModel:null};return ee(t,(function(n,r){var a=r.replace(/Model$/,""),o=e.getReferringComponents(a,Ci).models[0];t[r]=o})),t}var pk=Math.log;function fk(e,t,n){var r=Sx.prototype,a=r.getTicks.call(n),o=r.getTicks.call(n,!0),i=a.length-1,s=r.getInterval.call(n),l=sS(e,t),u=l.extent,c=l.fixMin,d=l.fixMax;if("log"===e.type){var p=pk(e.base);u=[pk(u[0])/p,pk(u[1])/p]}e.setExtent(u[0],u[1]),e.calcNiceExtent({splitNumber:i,fixMin:c,fixMax:d});var f=r.getExtent.call(e);c&&(u[0]=f[0]),d&&(u[1]=f[1]);var h=r.getInterval.call(e),m=u[0],g=u[1];if(c&&d)h=(g-m)/i;else if(c)for(g=u[0]+h*i;gu[0]&&isFinite(m)&&isFinite(u[0]);)h=dx(h),m=u[1]-h*i;else{e.getTicks().length-1>i&&(h=dx(h));var v=h*i;(m=$o((g=Math.ceil(u[1]/h)*h)-v))<0&&u[0]>=0?(m=0,g=$o(v)):g>0&&u[1]<=0&&(g=0,m=-$o(v))}var y=(a[0].value-o[0].value)/s,b=(a[i].value-o[i].value)/s;r.setExtent.call(e,m+h*y,g+h*b),r.setInterval.call(e,h),(y||b)&&r.setNiceExtent.call(e,m+h,g-h)}var hk=function(){function e(e,t,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=rk,this._initCartesian(e,t,n),this.model=e}return e.prototype.getRect=function(){return this._rect},e.prototype.update=function(e,t){var n=this._axesMap;function r(e){var t,n=oe(e),r=n.length;if(r){for(var a=[],o=r-1;o>=0;o--){var i=e[+n[o]],s=i.model,l=i.scale;cx(l)&&s.get("alignTicks")&&null==s.get("interval")?a.push(i):(lS(l,s),cx(l)&&(t=i))}a.length&&(t||lS((t=a.pop()).scale,t.model),ee(a,(function(e){fk(e.scale,e.model,t.scale)})))}}this._updateScale(e,this.model),r(n.x),r(n.y);var a={};ee(n.x,(function(e){gk(n,"y",e,a)})),ee(n.y,(function(e){gk(n,"x",e,a)})),this.resize(this.model,t)},e.prototype.resize=function(e,t,n){var r=e.getBoxLayoutParams(),a=!n&&e.get("containLabel"),o=Bd(r,{width:t.getWidth(),height:t.getHeight()});this._rect=o;var i=this._axesList;function s(){ee(i,(function(e){var t=e.isHorizontal(),n=t?[0,o.width]:[0,o.height],r=e.inverse?1:0;e.setExtent(n[r],n[1-r]),function(e,t){var n=e.getExtent(),r=n[0]+n[1];e.toGlobalCoord="x"===e.dim?function(e){return e+t}:function(e){return r-e+t},e.toLocalCoord="x"===e.dim?function(e){return e-t}:function(e){return r-e+t}}(e,t?o.x:o.y)}))}s(),a&&(ee(i,(function(e){if(!e.model.get(["axisLabel","inside"])){var t=function(e){var t=e.model,n=e.scale;if(t.get(["axisLabel","show"])&&!n.isBlank()){var r,a,o=n.getExtent();a=n instanceof yx?n.count():(r=n.getTicks()).length;var i,s=e.getLabelModel(),l=cS(e),u=1;a>40&&(u=Math.ceil(a/40));for(var c=0;c0&&r>0||n<0&&r<0)}(e)}const yk=hk;var bk=Math.PI,wk=function(){function e(e,t){this.group=new wo,this.opt=t,this.axisModel=e,Y(t,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var n=new wo({x:t.position[0],y:t.position[1],rotation:t.rotation});n.updateTransform(),this._transformGroup=n}return e.prototype.hasBuilder=function(e){return!!xk[e]},e.prototype.add=function(e){xk[e](this.opt,this.axisModel,this.group,this._transformGroup)},e.prototype.getGroup=function(){return this.group},e.innerTextLayout=function(e,t,n){var r,a,o=qo(t-e);return Go(o)?(a=n>0?"top":"bottom",r="center"):Go(o-bk)?(a=n>0?"bottom":"top",r="center"):(a="middle",r=o>0&&o0?"right":"left":n>0?"left":"right"),{rotation:o,textAlign:r,textVerticalAlign:a}},e.makeAxisEventDataBase=function(e){var t={componentType:e.mainType,componentIndex:e.componentIndex};return t[e.mainType+"Index"]=e.componentIndex,t},e.isLabelSilent=function(e){var t=e.get("tooltip");return e.get("silent")||!(e.get("triggerEvent")||t&&t.show)},e}(),xk={axisLine:function(e,t,n,r){var a=t.get(["axisLine","show"]);if("auto"===a&&e.handleAutoShown&&(a=e.handleAutoShown("axisLine")),a){var o=t.axis.getExtent(),i=r.transform,s=[o[0],0],l=[o[1],0],u=s[0]>l[0];i&&(dt(s,s,i),dt(l,l,i));var c=G({lineCap:"round"},t.getModel(["axisLine","lineStyle"]).getLineStyle()),d=new qm({shape:{x1:s[0],y1:s[1],x2:l[0],y2:l[1]},style:c,strokeContainThreshold:e.strokeContainThreshold||5,silent:!0,z2:1});Eg(d.shape,d.style.lineWidth),d.anid="line",n.add(d);var p=t.get(["axisLine","symbol"]);if(null!=p){var f=t.get(["axisLine","symbolSize"]);ce(p)&&(p=[p,p]),(ce(f)||pe(f))&&(f=[f,f]);var h=dy(t.get(["axisLine","symbolOffset"])||0,f),m=f[0],g=f[1];ee([{rotate:e.rotation+Math.PI/2,offset:h[0],r:0},{rotate:e.rotation-Math.PI/2,offset:h[1],r:Math.sqrt((s[0]-l[0])*(s[0]-l[0])+(s[1]-l[1])*(s[1]-l[1]))}],(function(t,r){if("none"!==p[r]&&null!=p[r]){var a=uy(p[r],-m/2,-g/2,m,g,c.stroke,!0),o=t.r+t.offset,i=u?l:s;a.attr({rotation:t.rotate,x:i[0]+o*Math.cos(e.rotation),y:i[1]-o*Math.sin(e.rotation),silent:!0,z2:11}),n.add(a)}}))}}},axisTickLabel:function(e,t,n,r){var a=function(e,t,n,r){var a=n.axis,o=n.getModel("axisTick"),i=o.get("show");if("auto"===i&&r.handleAutoShown&&(i=r.handleAutoShown("axisTick")),i&&!a.scale.isBlank()){for(var s=o.getModel("lineStyle"),l=r.tickDirection*o.get("length"),u=Ck(a.getTicksCoords(),t.transform,l,Y(s.getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])}),"ticks"),c=0;cd[1]?-1:1,f=["start"===s?d[0]-p*c:"end"===s?d[1]+p*c:(d[0]+d[1])/2,Ak(s)?e.labelOffset+l*c:0],h=t.get("nameRotate");null!=h&&(h=h*bk/180),Ak(s)?o=wk.innerTextLayout(e.rotation,null!=h?h:e.rotation,l):(o=function(e,t,n,r){var a,o,i=qo(n-e),s=r[0]>r[1],l="start"===t&&!s||"start"!==t&&s;return Go(i-bk/2)?(o=l?"bottom":"top",a="center"):Go(i-1.5*bk)?(o=l?"top":"bottom",a="center"):(o="middle",a=i<1.5*bk&&i>bk/2?l?"left":"right":l?"right":"left"),{rotation:i,textAlign:a,textVerticalAlign:o}}(e.rotation,s,h||0,d),null!=(i=e.axisNameAvailableWidth)&&(i=Math.abs(i/Math.sin(o.rotation)),!isFinite(i)&&(i=null)));var m=u.getFont(),g=t.get("nameTruncate",!0)||{},v=g.ellipsis,y=xe(e.nameTruncateMaxWidth,g.maxWidth,i),b=new Yl({x:f[0],y:f[1],rotation:o.rotation,silent:wk.isLabelSilent(t),style:pc(u,{text:a,font:m,overflow:"truncate",width:y,ellipsis:v,fill:u.getTextColor()||t.get(["axisLine","lineStyle","color"]),align:u.get("align")||o.textAlign,verticalAlign:u.get("verticalAlign")||o.textVerticalAlign}),z2:1});if(Wg({el:b,componentModel:t,itemName:a}),b.__fullText=a,b.anid="name",t.get("triggerEvent")){var w=wk.makeAxisEventDataBase(t);w.targetType="axisName",w.name=a,Xl(b).eventData=w}r.add(b),b.updateTransform(),n.add(b),b.decomposeTransform()}}};function Sk(e){e&&(e.ignore=!0)}function _k(e,t){var n=e&&e.getBoundingRect().clone(),r=t&&t.getBoundingRect().clone();if(n&&r){var a=Vt([]);return Gt(a,a,-e.rotation),n.applyTransform(Ht([],a,e.getLocalTransform())),r.applyTransform(Ht([],a,t.getLocalTransform())),n.intersect(r)}}function Ak(e){return"middle"===e||"center"===e}function Ck(e,t,n,r,a){for(var o=[],i=[],s=[],l=0;l=0||e===t}function Ek(e){var t=(e.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return t&&t.axesInfo[Pk(e)]}function Mk(e){return!!e.get(["handle","show"])}function Pk(e){return e.type+"||"+e.id}var Ok={},Ik=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return y(t,e),t.prototype.render=function(t,n,r,a){this.axisPointerClass&&function(e){var t=Ek(e);if(t){var n=t.axisPointerModel,r=t.axis.scale,a=n.option,o=n.get("status"),i=n.get("value");null!=i&&(i=r.parse(i));var s=Mk(n);null==o&&(a.status=s?"show":"hide");var l=r.getExtent().slice();l[0]>l[1]&&l.reverse(),(null==i||i>l[1])&&(i=l[1]),i0&&!d.min?d.min=0:null!=d.min&&d.min<0&&!d.max&&(d.max=0);var p=i;null!=d.color&&(p=Y({color:d.color},i));var f=H(U(d),{boundaryGap:e,splitNumber:t,scale:n,axisLine:r,axisTick:a,axisLabel:o,name:d.text,showName:s,nameLocation:"end",nameGap:u,nameTextStyle:p,triggerEvent:c},!1);if(ce(l)){var h=f.name;f.name=l.replace("{value}",null!=h?h:"")}else ue(l)&&(f.name=l(f.name,f));var m=new Lc(f,null,this.ecModel);return Z(m,gS.prototype),m.mainType="radar",m.componentIndex=this.componentIndex,m}),this);this._indicatorModels=d},t.prototype.getIndicatorModels=function(){return this._indicatorModels},t.type="radar",t.defaultOption={z:0,center:["50%","50%"],radius:"75%",startAngle:90,axisName:{show:!0},boundaryGap:[0,0],splitNumber:5,axisNameGap:15,scale:!1,shape:"polygon",axisLine:H({lineStyle:{color:"#bbb"}},eE.axisLine),axisLabel:tE(eE.axisLabel,!1),axisTick:tE(eE.axisTick,!1),splitLine:tE(eE.splitLine,!0),splitArea:tE(eE.splitArea,!0),indicator:[]},t}(Yd);const rE=nE;var aE=["axisLine","axisTickLabel","axisName"],oE=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return y(t,e),t.prototype.render=function(e,t,n){this.group.removeAll(),this._buildAxes(e),this._buildSplitLineAndArea(e)},t.prototype._buildAxes=function(e){var t=e.coordinateSystem;ee(te(t.getIndicatorAxes(),(function(e){var n=e.model.get("showName")?e.name:"";return new Tk(e.model,{axisName:n,position:[t.cx,t.cy],rotation:e.angle,labelDirection:-1,tickDirection:-1,nameDirection:1})})),(function(e){ee(aE,e.add,e),this.group.add(e.getGroup())}),this)},t.prototype._buildSplitLineAndArea=function(e){var t=e.coordinateSystem,n=t.getIndicatorAxes();if(n.length){var r=e.get("shape"),a=e.getModel("splitLine"),o=e.getModel("splitArea"),i=a.getModel("lineStyle"),s=o.getModel("areaStyle"),l=a.get("show"),u=o.get("show"),c=i.get("color"),d=s.get("color"),p=le(c)?c:[c],f=le(d)?d:[d],h=[],m=[];if("circle"===r)for(var g=n[0].getTicksCoords(),v=t.cx,y=t.cy,b=0;b3?1.4:a>1?1.2:1.1;gE(this,"zoom","zoomOnMouseWheel",e,{scale:r>0?s:1/s,originX:o,originY:i,isAvailableBehavior:null})}if(n){var l=Math.abs(r);gE(this,"scrollMove","moveOnMouseWheel",e,{scrollDelta:(r>0?1:-1)*(l>3?.4:l>1?.15:.05),originX:o,originY:i,isAvailableBehavior:null})}}},t.prototype._pinchHandler=function(e){fE(this._zr,"globalPan")||gE(this,"zoom",null,e,{scale:e.pinchScale>1?1.1:1/1.1,originX:e.pinchX,originY:e.pinchY,isAvailableBehavior:null})},t}(yt);function gE(e,t,n,r,a){e.pointerChecker&&e.pointerChecker(r,a.originX,a.originY)&&($t(r.event),vE(e,t,n,r,a))}function vE(e,t,n,r,a){a.isAvailableBehavior=ie(yE,null,n,r),e.trigger(t,a)}function yE(e,t,n){var r=n[e];return!e||r&&(!ce(r)||t.event[r+"Key"])}const bE=mE;function wE(e,t,n){var r=e.target;r.x+=t,r.y+=n,r.dirty()}function xE(e,t,n,r){var a=e.target,o=e.zoomLimit,i=e.zoom=e.zoom||1;if(i*=t,o){var s=o.min||0,l=o.max||1/0;i=Math.max(Math.min(l,i),s)}var u=i/e.zoom;e.zoom=i,a.x-=(n-a.x)*(u-1),a.y-=(r-a.y)*(u-1),a.scaleX*=u,a.scaleY*=u,a.dirty()}var SE,_E={axisPointer:1,tooltip:1,brush:1};function AE(e,t,n){var r=t.getComponentByElement(e.topTarget),a=r&&r.coordinateSystem;return r&&r!==n&&!_E.hasOwnProperty(r.mainType)&&a&&a.model!==n}function CE(e){ce(e)&&(e=(new DOMParser).parseFromString(e,"text/xml"));var t=e;for(9===t.nodeType&&(t=t.firstChild);"svg"!==t.nodeName.toLowerCase()||1!==t.nodeType;)t=t.nextSibling;return t}var TE={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-anchor":"textAlign",visibility:"visibility",display:"display"},kE=oe(TE),EE={"alignment-baseline":"textBaseline","stop-color":"stopColor"},ME=oe(EE),PE=function(){function e(){this._defs={},this._root=null}return e.prototype.parse=function(e,t){t=t||{};var n=CE(e);this._defsUsePending=[];var r=new wo;this._root=r;var a=[],o=n.getAttribute("viewBox")||"",i=parseFloat(n.getAttribute("width")||t.width),s=parseFloat(n.getAttribute("height")||t.height);isNaN(i)&&(i=null),isNaN(s)&&(s=null),LE(n,r,null,!0,!1);for(var l,u,c=n.firstChild;c;)this._parseNode(c,r,a,null,!1,!1),c=c.nextSibling;if(function(e,t){for(var n=0;n=4&&(l={x:parseFloat(d[0]||0),y:parseFloat(d[1]||0),width:parseFloat(d[2]),height:parseFloat(d[3])})}if(l&&null!=i&&null!=s&&(u=HE(l,{x:0,y:0,width:i,height:s}),!t.ignoreViewBox)){var p=r;(r=new wo).add(p),p.scaleX=p.scaleY=u.scale,p.x=u.x,p.y=u.y}return t.ignoreRootClip||null==i||null==s||r.setClipPath(new Il({shape:{x:0,y:0,width:i,height:s}})),{root:r,width:i,height:s,viewBoxRect:l,viewBoxTransform:u,named:a}},e.prototype._parseNode=function(e,t,n,r,a,o){var i,s=e.nodeName.toLowerCase(),l=r;if("defs"===s&&(a=!0),"text"===s&&(o=!0),"defs"===s||"switch"===s)i=t;else{if(!a){var u=SE[s];if(u&&je(SE,s)){i=u.call(this,e,t);var c=e.getAttribute("name");if(c){var d={name:c,namedFrom:null,svgNodeTagLower:s,el:i};n.push(d),"g"===s&&(l=d)}else r&&n.push({name:r.name,namedFrom:r,svgNodeTagLower:s,el:i});t.add(i)}}var p=OE[s];if(p&&je(OE,s)){var f=p.call(this,e),h=e.getAttribute("id");h&&(this._defs[h]=f)}}if(i&&i.isGroup)for(var m=e.firstChild;m;)1===m.nodeType?this._parseNode(m,i,n,l,a,o):3===m.nodeType&&o&&this._parseText(m,i),m=m.nextSibling},e.prototype._parseText=function(e,t){var n=new wl({style:{text:e.textContent},silent:!0,x:this._textX||0,y:this._textY||0});RE(t,n),LE(e,n,this._defsUsePending,!1,!1),function(e,t){var n=t.__selfStyle;if(n){var r=n.textBaseline,a=r;r&&"auto"!==r?"baseline"===r?a="alphabetic":"before-edge"===r||"text-before-edge"===r?a="top":"after-edge"===r||"text-after-edge"===r?a="bottom":"central"!==r&&"mathematical"!==r||(a="middle"):a="alphabetic",e.style.textBaseline=a}var o=t.__inheritedStyle;if(o){var i=o.textAlign,s=i;i&&("middle"===i&&(s="center"),e.style.textAlign=s)}}(n,t);var r=n.style,a=r.fontSize;a&&a<9&&(r.fontSize=9,n.scaleX*=a/9,n.scaleY*=a/9);var o=(r.fontSize||r.fontFamily)&&[r.fontStyle,r.fontWeight,(r.fontSize||12)+"px",r.fontFamily||"sans-serif"].join(" ");r.font=o;var i=n.getBoundingRect();return this._textX+=i.width,t.add(n),n},e.internalField=void(SE={g:function(e,t){var n=new wo;return RE(t,n),LE(e,n,this._defsUsePending,!1,!1),n},rect:function(e,t){var n=new Il;return RE(t,n),LE(e,n,this._defsUsePending,!1,!1),n.setShape({x:parseFloat(e.getAttribute("x")||"0"),y:parseFloat(e.getAttribute("y")||"0"),width:parseFloat(e.getAttribute("width")||"0"),height:parseFloat(e.getAttribute("height")||"0")}),n.silent=!0,n},circle:function(e,t){var n=new hm;return RE(t,n),LE(e,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(e.getAttribute("cx")||"0"),cy:parseFloat(e.getAttribute("cy")||"0"),r:parseFloat(e.getAttribute("r")||"0")}),n.silent=!0,n},line:function(e,t){var n=new qm;return RE(t,n),LE(e,n,this._defsUsePending,!1,!1),n.setShape({x1:parseFloat(e.getAttribute("x1")||"0"),y1:parseFloat(e.getAttribute("y1")||"0"),x2:parseFloat(e.getAttribute("x2")||"0"),y2:parseFloat(e.getAttribute("y2")||"0")}),n.silent=!0,n},ellipse:function(e,t){var n=new vm;return RE(t,n),LE(e,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(e.getAttribute("cx")||"0"),cy:parseFloat(e.getAttribute("cy")||"0"),rx:parseFloat(e.getAttribute("rx")||"0"),ry:parseFloat(e.getAttribute("ry")||"0")}),n.silent=!0,n},polygon:function(e,t){var n,r=e.getAttribute("points");r&&(n=NE(r));var a=new Fm({shape:{points:n||[]},silent:!0});return RE(t,a),LE(e,a,this._defsUsePending,!1,!1),a},polyline:function(e,t){var n,r=e.getAttribute("points");r&&(n=NE(r));var a=new Wm({shape:{points:n||[]},silent:!0});return RE(t,a),LE(e,a,this._defsUsePending,!1,!1),a},image:function(e,t){var n=new Al;return RE(t,n),LE(e,n,this._defsUsePending,!1,!1),n.setStyle({image:e.getAttribute("xlink:href")||e.getAttribute("href"),x:+e.getAttribute("x"),y:+e.getAttribute("y"),width:+e.getAttribute("width"),height:+e.getAttribute("height")}),n.silent=!0,n},text:function(e,t){var n=e.getAttribute("x")||"0",r=e.getAttribute("y")||"0",a=e.getAttribute("dx")||"0",o=e.getAttribute("dy")||"0";this._textX=parseFloat(n)+parseFloat(a),this._textY=parseFloat(r)+parseFloat(o);var i=new wo;return RE(t,i),LE(e,i,this._defsUsePending,!1,!0),i},tspan:function(e,t){var n=e.getAttribute("x"),r=e.getAttribute("y");null!=n&&(this._textX=parseFloat(n)),null!=r&&(this._textY=parseFloat(r));var a=e.getAttribute("dx")||"0",o=e.getAttribute("dy")||"0",i=new wo;return RE(t,i),LE(e,i,this._defsUsePending,!1,!0),this._textX+=parseFloat(a),this._textY+=parseFloat(o),i},path:function(e,t){var n=cm(e.getAttribute("d")||"");return RE(t,n),LE(e,n,this._defsUsePending,!1,!1),n.silent=!0,n}}),e}(),OE={lineargradient:function(e){var t=parseInt(e.getAttribute("x1")||"0",10),n=parseInt(e.getAttribute("y1")||"0",10),r=parseInt(e.getAttribute("x2")||"10",10),a=parseInt(e.getAttribute("y2")||"0",10),o=new ag(t,n,r,a);return IE(e,o),DE(e,o),o},radialgradient:function(e){var t=parseInt(e.getAttribute("cx")||"0",10),n=parseInt(e.getAttribute("cy")||"0",10),r=parseInt(e.getAttribute("r")||"0",10),a=new og(t,n,r);return IE(e,a),DE(e,a),a}};function IE(e,t){"userSpaceOnUse"===e.getAttribute("gradientUnits")&&(t.global=!0)}function DE(e,t){for(var n=e.firstChild;n;){if(1===n.nodeType&&"stop"===n.nodeName.toLocaleLowerCase()){var r,a=n.getAttribute("offset");r=a&&a.indexOf("%")>0?parseInt(a,10)/100:a?parseFloat(a):0;var o={};UE(n,o,o);var i=o.stopColor||n.getAttribute("stop-color")||"#000000";t.colorStops.push({offset:r,color:i})}n=n.nextSibling}}function RE(e,t){e&&e.__inheritedStyle&&(t.__inheritedStyle||(t.__inheritedStyle={}),Y(t.__inheritedStyle,e.__inheritedStyle))}function NE(e){for(var t=BE(e),n=[],r=0;r0;o-=2){var i=r[o],s=r[o-1],l=BE(i);switch(a=a||[1,0,0,1,0,0],s){case"translate":qt(a,a,[parseFloat(l[0]),parseFloat(l[1]||"0")]);break;case"scale":Yt(a,a,[parseFloat(l[0]),parseFloat(l[1]||l[0])]);break;case"rotate":Gt(a,a,-parseFloat(l[0])*WE,[parseFloat(l[1]||"0"),parseFloat(l[2]||"0")]);break;case"skewX":Ht(a,[1,0,Math.tan(parseFloat(l[0])*WE),1,0,0],a);break;case"skewY":Ht(a,[1,Math.tan(parseFloat(l[0])*WE),0,1,0,0],a);break;case"matrix":a[0]=parseFloat(l[0]),a[1]=parseFloat(l[1]),a[2]=parseFloat(l[2]),a[3]=parseFloat(l[3]),a[4]=parseFloat(l[4]),a[5]=parseFloat(l[5])}}t.setLocalTransform(a)}}(e,t),UE(e,i,s),r||function(e,t,n){for(var r=0;r0,h={api:n,geo:s,mapOrGeoModel:e,data:i,isVisualEncodedByVisualMap:f,isGeo:o,transformInfoRaw:d};"geoJSON"===s.resourceType?this._buildGeoJSON(h):"geoSVG"===s.resourceType&&this._buildSVG(h),this._updateController(e,t,n),this._updateMapSelectHandler(e,l,n,r)},e.prototype._buildGeoJSON=function(e){var t=this._regionsGroupByName=Re(),n=Re(),r=this._regionsGroup,a=e.transformInfoRaw,o=e.mapOrGeoModel,i=e.data,s=e.geo.projection,l=s&&s.stream;function u(e,t){return t&&(e=t(e)),e&&[e[0]*a.scaleX+a.x,e[1]*a.scaleY+a.y]}function c(e){for(var t=[],n=!l&&s&&s.project,r=0;r=0)&&(p=a);var f=i?{normal:{align:"center",verticalAlign:"middle"}}:null;cc(t,dc(r),{labelFetcher:p,labelDataIndex:d,defaultText:n},f);var h=t.getTextContent();if(h&&(uM(h).ignore=h.ignore,t.textConfig&&i)){var m=t.getBoundingRect().clone();t.textConfig.layoutRect=m,t.textConfig.position=[(i[0]-m.x)/m.width*100+"%",(i[1]-m.y)/m.height*100+"%"]}t.disableLabelAnimation=!0}else t.removeTextContent(),t.removeTextConfig(),t.disableLabelAnimation=null}function mM(e,t,n,r,a,o){e.data?e.data.setItemGraphicEl(o,t):Xl(t).eventData={componentType:"geo",componentIndex:a.componentIndex,geoIndex:a.componentIndex,name:n,region:r&&r.option||{}}}function gM(e,t,n,r,a){e.data||Wg({el:t,componentModel:a,itemName:n,itemTooltipOption:r.get("tooltip")})}function vM(e,t,n,r,a){t.highDownSilentOnTouch=!!a.get("selectedMode");var o=r.getModel("emphasis"),i=o.get("focus");return Wu(t,i,o.get("blurScope"),o.get("disabled")),e.isGeo&&function(e,t,n){var r=Xl(e);r.componentMainType=t.mainType,r.componentIndex=t.componentIndex,r.componentHighDownName=n}(t,a,n),i}function yM(e,t,n){var r,a=[];function o(){r=[]}function i(){r.length&&(a.push(r),r=[])}var s=t({polygonStart:o,polygonEnd:i,lineStart:o,lineEnd:i,point:function(e,t){isFinite(e)&&isFinite(t)&&r.push([e,t])},sphere:function(){}});return!n&&s.polygonStart(),ee(e,(function(e){s.lineStart();for(var t=0;t-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2),n},t.type="series.map",t.dependencies=["geo"],t.layoutMode="box",t.defaultOption={z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:null,showLegendSymbol:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,selectedMode:!0,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},nameProperty:"name"},t}(Wh);const _M=SM;function AM(e){var t={};e.eachSeriesByType("map",(function(e){var n=e.getHostGeoModel(),r=n?"o"+n.id:"i"+e.getMapType();(t[r]=t[r]||[]).push(e)})),ee(t,(function(e,t){for(var n,r,a,o=(n=te(e,(function(e){return e.getData()})),r=e[0].get("mapValueCalculation"),a={},ee(n,(function(e){e.each(e.mapDimension("value"),(function(t,n){var r="ec-"+e.getName(n);a[r]=a[r]||[],isNaN(t)||a[r].push(t)}))})),n[0].map(n[0].mapDimension("value"),(function(e,t){for(var o="ec-"+n[0].getName(t),i=0,s=1/0,l=-1/0,u=a[o].length,c=0;c1?(f.width=p,f.height=p/b):(f.height=p,f.width=p*b),f.y=d[1]-f.height/2,f.x=d[0]-f.width/2;else{var x=e.getBoxLayoutParams();x.aspect=b,f=Bd(x,{width:v,height:y})}this.setViewRect(f.x,f.y,f.width,f.height),this.setCenter(e.get("center"),t),this.setZoom(e.get("zoom"))}var LM=function(){function e(){this.dimensions=OM}return e.prototype.create=function(e,t){var n=[];function r(e){return{nameProperty:e.get("nameProperty"),aspectScale:e.get("aspectScale"),projection:e.get("projection")}}e.eachComponent("geo",(function(e,a){var o=e.get("map"),i=new RM(o+a,o,G({nameMap:e.get("nameMap")},r(e)));i.zoomLimit=e.get("scaleLimit"),n.push(i),e.coordinateSystem=i,i.model=e,i.resize=NM,i.resize(e,t)})),e.eachSeries((function(e){if("geo"===e.get("coordinateSystem")){var t=e.get("geoIndex")||0;e.coordinateSystem=n[t]}}));var a={};return e.eachSeriesByType("map",(function(e){if(!e.getHostGeoModel()){var t=e.getMapType();a[t]=a[t]||[],a[t].push(e)}})),ee(a,(function(e,a){var o=te(e,(function(e){return e.get("nameMap")})),i=new RM(a,a,G({nameMap:q(o)},r(e[0])));i.zoomLimit=xe.apply(null,te(e,(function(e){return e.get("scaleLimit")}))),n.push(i),i.resize=NM,i.resize(e[0],t),ee(e,(function(e){e.coordinateSystem=i,function(e,t){ee(t.get("geoCoord"),(function(t,n){e.addGeoCoord(n,t)}))}(i,e)}))})),n},e.prototype.getFilledRegions=function(e,t,n,r){for(var a=(e||[]).slice(),o=Re(),i=0;i=0;){var o=t[n];o.hierNode.prelim+=r,o.hierNode.modifier+=r,a+=o.hierNode.change,r+=o.hierNode.shift+a}}(e);var o=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2;a?(e.hierNode.prelim=a.hierNode.prelim+t(e,a),e.hierNode.modifier=e.hierNode.prelim-o):e.hierNode.prelim=o}else a&&(e.hierNode.prelim=a.hierNode.prelim+t(e,a));e.parentNode.hierNode.defaultAncestor=function(e,t,n,r){if(t){for(var a=e,o=e,i=o.parentNode.children[0],s=t,l=a.hierNode.modifier,u=o.hierNode.modifier,c=i.hierNode.modifier,d=s.hierNode.modifier;s=KM(s),o=QM(o),s&&o;){a=KM(a),i=QM(i),a.hierNode.ancestor=e;var p=s.hierNode.prelim+d-o.hierNode.prelim-u+r(s,o);p>0&&(JM(ZM(s,e,n),e,p),u+=p,l+=p),d+=s.hierNode.modifier,u+=o.hierNode.modifier,l+=a.hierNode.modifier,c+=i.hierNode.modifier}s&&!KM(a)&&(a.hierNode.thread=s,a.hierNode.modifier+=d-l),o&&!QM(i)&&(i.hierNode.thread=o,i.hierNode.modifier+=u-c,n=e)}return n}(e,a,e.parentNode.hierNode.defaultAncestor||r[0],t)}function GM(e){var t=e.hierNode.prelim+e.parentNode.hierNode.modifier;e.setLayout({x:t},!0),e.hierNode.modifier+=e.parentNode.hierNode.modifier}function YM(e){return arguments.length?e:eP}function XM(e,t){return e-=Math.PI/2,{x:t*Math.cos(e),y:t*Math.sin(e)}}function KM(e){var t=e.children;return t.length&&e.isExpand?t[t.length-1]:e.hierNode.thread}function QM(e){var t=e.children;return t.length&&e.isExpand?t[0]:e.hierNode.thread}function ZM(e,t,n){return e.hierNode.ancestor.parentNode===t.parentNode?e.hierNode.ancestor:n}function JM(e,t,n){var r=n/(t.hierNode.i-e.hierNode.i);t.hierNode.change-=r,t.hierNode.shift+=n,t.hierNode.modifier+=n,t.hierNode.prelim+=n,e.hierNode.change+=r}function eP(e,t){return e.parentNode===t.parentNode?1:2}var tP=function(){this.parentPoint=[],this.childPoints=[]},nP=function(e){function t(t){return e.call(this,t)||this}return y(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new tP},t.prototype.buildPath=function(e,t){var n=t.childPoints,r=n.length,a=t.parentPoint,o=n[0],i=n[r-1];if(1===r)return e.moveTo(a[0],a[1]),void e.lineTo(o[0],o[1]);var s=t.orient,l="TB"===s||"BT"===s?0:1,u=1-l,c=Lo(t.forkPosition,1),d=[];d[l]=a[l],d[u]=a[u]+(i[u]-a[u])*c,e.moveTo(a[0],a[1]),e.lineTo(d[0],d[1]),e.moveTo(o[0],o[1]),d[l]=o[l],e.lineTo(d[0],d[1]),d[l]=i[l],e.lineTo(d[0],d[1]),e.lineTo(i[0],i[1]);for(var p=1;py.x)||(w-=Math.PI);var _=x?"left":"right",A=s.getModel("label"),C=A.get("rotate"),T=C*(Math.PI/180),k=g.getTextContent();k&&(g.setTextConfig({position:A.get("position")||_,rotation:null==C?-w:T,origin:"center"}),k.setStyle("verticalAlign","middle"))}var E=s.get(["emphasis","focus"]),M="relative"===E?Ne(i.getAncestorsIndices(),i.getDescendantIndices()):"ancestor"===E?i.getAncestorsIndices():"descendant"===E?i.getDescendantIndices():null;M&&(Xl(n).focus=M),function(e,t,n,r,a,o,i,s){var l=t.getModel(),u=e.get("edgeShape"),c=e.get("layout"),d=e.getOrient(),p=e.get(["lineStyle","curveness"]),f=e.get("edgeForkPosition"),h=l.getModel("lineStyle").getLineStyle(),m=r.__edge;if("curve"===u)t.parentNode&&t.parentNode!==n&&(m||(m=r.__edge=new Qm({shape:uP(c,d,p,a,a)})),ec(m,{shape:uP(c,d,p,o,i)},e));else if("polyline"===u&&"orthogonal"===c&&t!==n&&t.children&&0!==t.children.length&&!0===t.isExpand){for(var g=t.children,v=[],y=0;yt&&(t=r.height)}this.height=t+1},e.prototype.getNodeById=function(e){if(this.getId()===e)return this;for(var t=0,n=this.children,r=n.length;t=0&&this.hostTree.data.setItemLayout(this.dataIndex,e,t)},e.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},e.prototype.getModel=function(e){if(!(this.dataIndex<0))return this.hostTree.data.getItemModel(this.dataIndex).getModel(e)},e.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},e.prototype.setVisual=function(e,t){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,e,t)},e.prototype.getVisual=function(e){return this.hostTree.data.getItemVisual(this.dataIndex,e)},e.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},e.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},e.prototype.getChildIndex=function(){if(this.parentNode){for(var e=this.parentNode.children,t=0;t=0){var r=n.getData().tree.root,a=e.targetNode;if(ce(a)&&(a=r.getNodeById(a)),a&&r.contains(a))return{node:a};var o=e.targetNodeId;if(null!=o&&(a=r.getNodeById(o)))return{node:a}}}function AP(e){for(var t=[];e;)(e=e.parentNode)&&t.push(e);return t.reverse()}function CP(e,t){return K(AP(e),t)>=0}function TP(e,t){for(var n=[];e;){var r=e.dataIndex;n.push({name:e.name,dataIndex:r,value:t.getRawValue(r)}),e=e.parentNode}return n.reverse(),n}var kP=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.hasSymbolVisual=!0,t.ignoreStyleOnData=!0,t}return y(t,e),t.prototype.getInitialData=function(e){var t={name:e.name,children:e.data},n=e.leaves||{},r=new Lc(n,this,this.ecModel),a=SP.createTree(t,this,(function(e){e.wrapMethod("getItemModel",(function(e,t){var n=a.getNodeByDataIndex(t);return n&&n.children.length&&n.isExpand||(e.parentModel=r),e}))})),o=0;a.eachNode("preorder",(function(e){e.depth>o&&(o=e.depth)}));var i=e.expandAndCollapse&&e.initialTreeDepth>=0?e.initialTreeDepth:o;return a.root.eachNode("preorder",(function(e){var t=e.hostTree.data.getRawDataItem(e.dataIndex);e.isExpand=t&&null!=t.collapsed?!t.collapsed:e.depth<=i})),a.data},t.prototype.getOrient=function(){var e=this.get("orient");return"horizontal"===e?e="LR":"vertical"===e&&(e="TB"),e},t.prototype.setZoom=function(e){this.option.zoom=e},t.prototype.setCenter=function(e){this.option.center=e},t.prototype.formatTooltip=function(e,t,n){for(var r=this.getData().tree,a=r.root.children[0],o=r.getNodeByDataIndex(e),i=o.getValue(),s=o.name;o&&o!==a;)s=o.parentNode.name+"."+s,o=o.parentNode;return yh("nameValue",{name:s,value:i,noValue:isNaN(i)||null==i})},t.prototype.getDataParams=function(t){var n=e.prototype.getDataParams.apply(this,arguments),r=this.getData().tree.getNodeByDataIndex(t);return n.treeAncestors=TP(r,this),n.collapsed=!r.isExpand,n},t.type="series.tree",t.layoutMode="box",t.defaultOption={z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderWidth:1.5},label:{show:!0},animationEasing:"linear",animationDuration:700,animationDurationUpdate:500},t}(Wh);const EP=kP;function MP(e,t){for(var n,r=[e];n=r.pop();)if(t(n),n.isExpand){var a=n.children;if(a.length)for(var o=a.length-1;o>=0;o--)r.push(a[o])}}function PP(e,t){e.eachSeriesByType("tree",(function(e){!function(e,t){var n=function(e,t){return Bd(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}(e,t);e.layoutInfo=n;var r=e.get("layout"),a=0,o=0,i=null;"radial"===r?(a=2*Math.PI,o=Math.min(n.height,n.width)/2,i=YM((function(e,t){return(e.parentNode===t.parentNode?1:2)/e.depth}))):(a=n.width,o=n.height,i=YM());var s=e.getData().tree.root,l=s.children[0];if(l){!function(e){var t=e;t.hierNode={defaultAncestor:null,ancestor:t,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var n,r,a=[t];n=a.pop();)if(r=n.children,n.isExpand&&r.length)for(var o=r.length-1;o>=0;o--){var i=r[o];i.hierNode={defaultAncestor:null,ancestor:i,prelim:0,modifier:0,change:0,shift:0,i:o,thread:null},a.push(i)}}(s),function(e,t,n){for(var r,a=[e],o=[];r=a.pop();)if(o.push(r),r.isExpand){var i=r.children;if(i.length)for(var s=0;sc.getLayout().x&&(c=e),e.depth>d.depth&&(d=e)}));var p=u===c?1:i(u,c)/2,f=p-u.getLayout().x,h=0,m=0,g=0,v=0;if("radial"===r)h=a/(c.getLayout().x+p+f),m=o/(d.depth-1||1),MP(l,(function(e){g=(e.getLayout().x+f)*h,v=(e.depth-1)*m;var t=XM(g,v);e.setLayout({x:t.x,y:t.y,rawX:g,rawY:v},!0)}));else{var y=e.getOrient();"RL"===y||"LR"===y?(m=o/(c.getLayout().x+p+f),h=a/(d.depth-1||1),MP(l,(function(e){v=(e.getLayout().x+f)*m,g="LR"===y?(e.depth-1)*h:a-(e.depth-1)*h,e.setLayout({x:g,y:v},!0)}))):"TB"!==y&&"BT"!==y||(h=a/(c.getLayout().x+p+f),m=o/(d.depth-1||1),MP(l,(function(e){g=(e.getLayout().x+f)*h,v="TB"===y?(e.depth-1)*m:o-(e.depth-1)*m,e.setLayout({x:g,y:v},!0)})))}}}(e,t)}))}function OP(e){e.eachSeriesByType("tree",(function(e){var t=e.getData();t.tree.eachNode((function(e){var n=e.getModel().getModel("itemStyle").getItemStyle();G(t.ensureUniqueItemVisual(e.dataIndex,"style"),n)}))}))}var IP=["treemapZoomToNode","treemapRender","treemapMove"];function DP(e){var t=e.getData().tree,n={};t.eachNode((function(t){for(var r=t;r&&r.depth>1;)r=r.parentNode;var a=xp(e.ecModel,r.name||r.dataIndex+"",n);t.setVisual("decal",a)}))}function RP(e){var t=0;ee(e.children,(function(e){RP(e);var n=e.value;le(n)&&(n=n[0]),t+=n}));var n=e.value;le(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=t),n<0&&(n=0),le(e.value)?e.value[0]=n:e.value=n}const NP=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.preventUsingHoverLayer=!0,n}return y(t,e),t.prototype.getInitialData=function(e,t){var n={name:e.name,children:e.data};RP(n);var r=e.levels||[],a=this.designatedVisualItemStyle={},o=new Lc({itemStyle:a},this,t);r=e.levels=function(e,t){var n,r,a=ui(t.get("color")),o=ui(t.get(["aria","decal","decals"]));if(a){ee(e=e||[],(function(e){var t=new Lc(e),a=t.get("color"),o=t.get("decal");(t.get(["itemStyle","color"])||a&&"none"!==a)&&(n=!0),(t.get(["itemStyle","decal"])||o&&"none"!==o)&&(r=!0)}));var i=e[0]||(e[0]={});return n||(i.color=a.slice()),!r&&o&&(i.decal=o.slice()),e}}(r,t);var i=te(r||[],(function(e){return new Lc(e,o,t)}),this),s=SP.createTree(n,this,(function(e){e.wrapMethod("getItemModel",(function(e,t){var n=s.getNodeByDataIndex(t),r=n?i[n.depth]:null;return e.parentModel=r||o,e}))}));return s.data},t.prototype.optionUpdated=function(){this.resetViewRoot()},t.prototype.formatTooltip=function(e,t,n){var r=this.getData(),a=this.getRawValue(e);return yh("nameValue",{name:r.getName(e),value:a})},t.prototype.getDataParams=function(t){var n=e.prototype.getDataParams.apply(this,arguments),r=this.getData().tree.getNodeByDataIndex(t);return n.treeAncestors=TP(r,this),n.treePathInfo=n.treeAncestors,n},t.prototype.setLayoutInfo=function(e){this.layoutInfo=this.layoutInfo||{},G(this.layoutInfo,e)},t.prototype.mapIdToIndex=function(e){var t=this._idIndexMap;t||(t=this._idIndexMap=Re(),this._idIndexMapCount=0);var n=t.get(e);return null==n&&t.set(e,n=this._idIndexMapCount++),n},t.prototype.getViewRoot=function(){return this._viewRoot},t.prototype.resetViewRoot=function(e){e?this._viewRoot=e:e=this._viewRoot;var t=this.getRawData().tree.root;e&&(e===t||t.contains(e))||(this._viewRoot=t)},t.prototype.enableAriaDecal=function(){DP(this)},t.type="series.treemap",t.layoutMode="box",t.defaultOption={progressive:0,left:"center",top:"middle",width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"▶",zoomToNodeRatio:.1024,scaleLimit:null,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",textStyle:{color:"#fff"}},emphasis:{itemStyle:{color:"rgba(0,0,0,0.9)"}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",overflow:"truncate"},upperLabel:{show:!1,position:[0,"50%"],height:20,overflow:"truncate",verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],overflow:"truncate",verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},t}(Wh);var LP=function(){function e(e){this.group=new wo,e.add(this.group)}return e.prototype.render=function(e,t,n,r){var a=e.getModel("breadcrumb"),o=this.group;if(o.removeAll(),a.get("show")&&n){var i=a.getModel("itemStyle"),s=a.getModel("emphasis"),l=i.getModel("textStyle"),u=s.getModel(["itemStyle","textStyle"]),c={pos:{left:a.get("left"),right:a.get("right"),top:a.get("top"),bottom:a.get("bottom")},box:{width:t.getWidth(),height:t.getHeight()},emptyItemWidth:a.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(n,c,l),this._renderContent(e,c,i,s,l,u,r),zd(o,c.pos,c.box)}},e.prototype._prepare=function(e,t,n){for(var r=e;r;r=r.parentNode){var a=vi(r.getModel().get("name"),""),o=n.getTextRect(a),i=Math.max(o.width+16,t.emptyItemWidth);t.totalWidth+=i+8,t.renderList.push({node:r,text:a,width:i})}},e.prototype._renderContent=function(e,t,n,r,a,o,i){for(var s,l,u,c,d,p,f,h,m,g=0,v=t.emptyItemWidth,y=e.get(["breadcrumb","height"]),b=(s=t.pos,c=(l=t.box).width,d=l.height,p=Lo(s.left,c),f=Lo(s.top,d),h=Lo(s.right,c),m=Lo(s.bottom,d),(isNaN(p)||isNaN(parseFloat(s.left)))&&(p=0),(isNaN(h)||isNaN(parseFloat(s.right)))&&(h=c),(isNaN(f)||isNaN(parseFloat(s.top)))&&(f=0),(isNaN(m)||isNaN(parseFloat(s.bottom)))&&(m=d),u=Cd(u||0),{width:Math.max(h-p-u[1]-u[3],0),height:Math.max(m-f-u[0]-u[2],0)}),w=t.totalWidth,x=t.renderList,S=r.getModel("itemStyle").getItemStyle(),_=x.length-1;_>=0;_--){var A=x[_],C=A.node,T=A.width,k=A.text;w>b.width&&(w-=T-v,T=v,k=null);var E=new Fm({shape:{points:$P(g,0,T,y,_===x.length-1,0===_)},style:Y(n.getItemStyle(),{lineJoin:"bevel"}),textContent:new Yl({style:pc(a,{text:k})}),textConfig:{position:"inside"},z2:1e4*iu,onclick:se(i,C)});E.disableLabelAnimation=!0,E.getTextContent().ensureState("emphasis").style=pc(o,{text:k}),E.ensureState("emphasis").style=S,Wu(E,r.get("focus"),r.get("blurScope"),r.get("disabled")),this.group.add(E),jP(E,e,C),g+=T+8}},e.prototype.remove=function(){this.group.removeAll()},e}();function $P(e,t,n,r,a,o){var i=[[a?e:e-5,t],[e+n,t],[e+n,t+r],[a?e:e-5,t+r]];return!o&&i.splice(2,0,[e+n+5,t+r/2]),!a&&i.push([e,t+r/2]),i}function jP(e,t,n){Xl(e).eventData={componentType:"series",componentSubType:"treemap",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:n&&n.dataIndex,name:n&&n.name},treePathInfo:n&&TP(n,t)}}const FP=LP;var BP=function(){function e(){this._storage=[],this._elExistsMap={}}return e.prototype.add=function(e,t,n,r,a){return!this._elExistsMap[e.id]&&(this._elExistsMap[e.id]=!0,this._storage.push({el:e,target:t,duration:n,delay:r,easing:a}),!0)},e.prototype.finished=function(e){return this._finishedCallback=e,this},e.prototype.start=function(){for(var e=this,t=this._storage.length,n=function(){--t<=0&&(e._storage.length=0,e._elExistsMap={},e._finishedCallback&&e._finishedCallback())},r=0,a=this._storage.length;r3||Math.abs(e.dy)>3)){var t=this.seriesModel.getData().tree.root;if(!t)return;var n=t.getLayout();if(!n)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:n.x+e.dx,y:n.y+e.dy,width:n.width,height:n.height}})}},t.prototype._onZoom=function(e){var t=e.originX,n=e.originY,r=e.scale;if("animating"!==this._state){var a=this.seriesModel.getData().tree.root;if(!a)return;var o=a.getLayout();if(!o)return;var i,s=new un(o.x,o.y,o.width,o.height),l=this._controllerHost;i=l.zoomLimit;var u=l.zoom=l.zoom||1;if(u*=r,i){var c=i.min||0,d=i.max||1/0;u=Math.max(Math.min(d,u),c)}var p=u/l.zoom;l.zoom=u;var f=this.seriesModel.layoutInfo,h=[1,0,0,1,0,0];qt(h,h,[-(t-=f.x),-(n-=f.y)]),Yt(h,h,[p,p]),qt(h,h,[t,n]),s.applyTransform(h),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:s.x,y:s.y,width:s.width,height:s.height}})}},t.prototype._initEvents=function(e){var t=this;e.on("click",(function(e){if("ready"===t._state){var n=t.seriesModel.get("nodeClick",!0);if(n){var r=t.findTarget(e.offsetX,e.offsetY);if(r){var a=r.node;if(a.getLayout().isLeafRoot)t._rootToNode(r);else if("zoomToNode"===n)t._zoomToNode(r);else if("link"===n){var o=a.hostTree.data.getItemModel(a.dataIndex),i=o.get("link",!0),s=o.get("target",!0)||"blank";i&&Rd(i,s)}}}}}),this)},t.prototype._renderBreadcrumb=function(e,t,n){var r=this;n||(n=null!=e.get("leafDepth",!0)?{node:e.getViewRoot()}:this.findTarget(t.getWidth()/2,t.getHeight()/2))||(n={node:e.getData().tree.root}),(this._breadcrumb||(this._breadcrumb=new FP(this.group))).render(e,t,n.node,(function(t){"animating"!==r._state&&(CP(e.getViewRoot(),t)?r._rootToNode({node:t}):r._zoomToNode({node:t}))}))},t.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage={nodeGroup:[],background:[],content:[]},this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},t.prototype.dispose=function(){this._clearController()},t.prototype._zoomToNode=function(e){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:e.node})},t.prototype._rootToNode=function(e){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:e.node})},t.prototype.findTarget=function(e,t){var n;return this.seriesModel.getViewRoot().eachNode({attr:"viewChildren",order:"preorder"},(function(r){var a=this._storage.background[r.getRawIndex()];if(a){var o=a.transformCoordToLocal(e,t),i=a.shape;if(!(i.x<=o[0]&&o[0]<=i.x+i.width&&i.y<=o[1]&&o[1]<=i.y+i.height))return!1;n={node:r,offsetX:o[0],offsetY:o[1]}}}),this),n},t.type="treemap",t}(Jg);const ZP=QP;var JP=ee,eO=fe,tO=-1,nO=function(){function e(t){var n=t.mappingMethod,r=t.type,a=this.option=U(t);this.type=r,this.mappingMethod=n,this._normalizeData=pO[n];var o=e.visualHandlers[r];this.applyVisual=o.applyVisual,this.getColorMapper=o.getColorMapper,this._normalizedToVisual=o._normalizedToVisual[n],"piecewise"===n?(rO(a),function(e){var t=e.pieceList;e.hasSpecialVisual=!1,ee(t,(function(t,n){t.originIndex=n,null!=t.visual&&(e.hasSpecialVisual=!0)}))}(a)):"category"===n?a.categories?function(e){var t=e.categories,n=e.categoryMap={},r=e.visual;if(JP(t,(function(e,t){n[e]=t})),!le(r)){var a=[];fe(r)?JP(r,(function(e,t){var r=n[t];a[null!=r?r:tO]=e})):a[tO]=r,r=dO(e,a)}for(var o=t.length-1;o>=0;o--)null==r[o]&&(delete n[t[o]],t.pop())}(a):rO(a,!0):(Te("linear"!==n||a.dataExtent),rO(a))}return e.prototype.mapValueToVisual=function(e){var t=this._normalizeData(e);return this._normalizedToVisual(t,e)},e.prototype.getNormalizer=function(){return ie(this._normalizeData,this)},e.listVisualTypes=function(){return oe(e.visualHandlers)},e.isValidType=function(t){return e.visualHandlers.hasOwnProperty(t)},e.eachVisual=function(e,t,n){fe(e)?ee(e,t,n):t.call(n,e)},e.mapVisual=function(t,n,r){var a,o=le(t)?[]:fe(t)?{}:(a=!0,null);return e.eachVisual(t,(function(e,t){var i=n.call(r,e,t);a?o=i:o[t]=i})),o},e.retrieveVisuals=function(t){var n,r={};return t&&JP(e.visualHandlers,(function(e,a){t.hasOwnProperty(a)&&(r[a]=t[a],n=!0)})),n?r:null},e.prepareVisualTypes=function(e){if(le(e))e=e.slice();else{if(!eO(e))return[];var t=[];JP(e,(function(e,n){t.push(n)})),e=t}return e.sort((function(e,t){return"color"===t&&"color"!==e&&0===e.indexOf("color")?1:-1})),e},e.dependsOn=function(e,t){return"color"===t?!(!e||0!==e.indexOf(t)):e===t},e.findPieceIndex=function(e,t,n){for(var r,a=1/0,o=0,i=t.length;ou[1]&&(u[1]=l);var c=t.get("colorMappingBy"),d={type:i.name,dataExtent:u,visual:i.range};"color"!==d.type||"index"!==c&&"id"!==c?d.mappingMethod="linear":(d.mappingMethod="category",d.loop=!0);var p=new hO(d);return mO(p).drColorMappingBy=c,p}}}(0,a,o,0,u,f);ee(f,(function(e,t){if(e.depth>=n.length||e===n[e.depth]){var o=function(e,t,n,r,a,o){var i=G({},t);if(a){var s=a.type,l="color"===s&&mO(a).drColorMappingBy,u="index"===l?r:"id"===l?o.mapIdToIndex(n.getId()):n.getValue(e.get("visualDimension"));i[s]=a.mapValueToVisual(u)}return i}(a,u,e,t,h,r);vO(e,o,n,r)}}))}else s=yO(u),c.fill=s}}function yO(e){var t=bO(e,"color");if(t){var n=bO(e,"colorAlpha"),r=bO(e,"colorSaturation");return r&&(t=Rr(t,null,null,r)),n&&(t=Nr(t,n)),t}}function bO(e,t){var n=e[t];if(null!=n&&"none"!==n)return n}function wO(e,t){var n=e.get(t);return le(n)&&n.length?{name:t,range:n}:null}var xO=Math.max,SO=Math.min,_O=xe,AO=ee,CO=["itemStyle","borderWidth"],TO=["itemStyle","gapWidth"],kO=["upperLabel","show"],EO=["upperLabel","height"];const MO={seriesType:"treemap",reset:function(e,t,n,r){var a=n.getWidth(),o=n.getHeight(),i=e.option,s=Bd(e.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()}),l=i.size||[],u=Lo(_O(s.width,l[0]),a),c=Lo(_O(s.height,l[1]),o),d=r&&r.type,p=_P(r,["treemapZoomToNode","treemapRootToNode"],e),f="treemapRender"===d||"treemapMove"===d?r.rootRect:null,h=e.getViewRoot(),m=AP(h);if("treemapMove"!==d){var g="treemapZoomToNode"===d?function(e,t,n,r,a){var o,i=(t||{}).node,s=[r,a];if(!i||i===n)return s;for(var l=r*a,u=l*e.option.zoomToNodeRatio;o=i.parentNode;){for(var c=0,d=o.children,p=0,f=d.length;pHo&&(u=Ho),i=o}ui[1]&&(i[1]=t)}))):i=[NaN,NaN],{sum:r,dataExtent:i}}(t,i,s);if(0===u.sum)return e.viewChildren=[];if(u.sum=function(e,t,n,r,a){if(!r)return n;for(var o=e.get("visibleMin"),i=a.length,s=i,l=i-1;l>=0;l--){var u=a["asc"===r?i-l-1:l].getValue();u/n*tr&&(r=i));var l=e.area*e.area,u=t*t*n;return l?xO(u*r/l,l/(u*a)):1/0}function IO(e,t,n,r,a){var o=t===n.width?0:1,i=1-o,s=["x","y"],l=["width","height"],u=n[s[o]],c=t?e.area/t:0;(a||c>n[l[i]])&&(c=n[l[i]]);for(var d=0,p=e.length;dr&&(r=t);var o=r%2?r+2:r+3;a=[];for(var i=0;i0&&(y[0]=-y[0],y[1]=-y[1]);var w=v[0]<0?-1:1;if("start"!==r.__position&&"end"!==r.__position){var x=-Math.atan2(v[1],v[0]);u[0].8?"left":c[0]<-.8?"right":"center",p=c[1]>.8?"top":c[1]<-.8?"bottom":"middle";break;case"start":r.x=-c[0]*h+l[0],r.y=-c[1]*m+l[1],d=c[0]>.8?"right":c[0]<-.8?"left":"center",p=c[1]>.8?"bottom":c[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":r.x=h*w+l[0],r.y=l[1]+S,d=v[0]<0?"right":"left",r.originX=-h*w,r.originY=-S;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":r.x=b[0],r.y=b[1]+S,d="center",r.originY=-S;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":r.x=-h*w+u[0],r.y=u[1]+S,d=v[0]>=0?"right":"left",r.originX=h*w,r.originY=-S}r.scaleX=r.scaleY=a,r.setStyle({verticalAlign:r.__verticalAlign||p,align:r.__align||d})}}}function _(e,t){var n=e.__specifiedRotation;if(null==n){var r=i.tangentAt(t);e.attr("rotation",(1===t?-1:1)*Math.PI/2-Math.atan2(r[1],r[0]))}else e.attr("rotation",n)}},t}(wo);const wI=bI;function xI(e){var t=e.hostModel,n=t.getModel("emphasis");return{lineStyle:t.getModel("lineStyle").getLineStyle(),emphasisLineStyle:n.getModel(["lineStyle"]).getLineStyle(),blurLineStyle:t.getModel(["blur","lineStyle"]).getLineStyle(),selectLineStyle:t.getModel(["select","lineStyle"]).getLineStyle(),emphasisDisabled:n.get("disabled"),blurScope:n.get("blurScope"),focus:n.get("focus"),labelStatesModels:dc(t)}}function SI(e){return isNaN(e[0])||isNaN(e[1])}function _I(e){return e&&!SI(e[0])&&!SI(e[1])}const AI=function(){function e(e){this.group=new wo,this._LineCtor=e||wI}return e.prototype.updateData=function(e){var t=this;this._progressiveEls=null;var n=this,r=n.group,a=n._lineData;n._lineData=e,a||r.removeAll();var o=xI(e);e.diff(a).add((function(n){t._doAdd(e,n,o)})).update((function(n,r){t._doUpdate(a,e,r,n,o)})).remove((function(e){r.remove(a.getItemGraphicEl(e))})).execute()},e.prototype.updateLayout=function(){var e=this._lineData;e&&e.eachItemGraphicEl((function(t,n){t.updateLayout(e,n)}),this)},e.prototype.incrementalPrepareUpdate=function(e){this._seriesScope=xI(e),this._lineData=null,this.group.removeAll()},e.prototype.incrementalUpdate=function(e,t){function n(e){e.isGroup||function(e){return e.animators&&e.animators.length>0}(e)||(e.incremental=!0,e.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[];for(var r=e.start;r=0?r+=u:r-=u:h>=0?r-=u:r+=u}return r}function II(e,t){var n=[],r=ar,a=[[],[],[]],o=[[],[]],i=[];t/=2,e.eachEdge((function(e,s){var l=e.getLayout(),u=e.getVisual("fromSymbol"),c=e.getVisual("toSymbol");l.__original||(l.__original=[He(l[0]),He(l[1])],l[2]&&l.__original.push(He(l[2])));var d=l.__original;if(null!=l[2]){if(Ue(a[0],d[0]),Ue(a[1],d[2]),Ue(a[2],d[1]),u&&"none"!==u){var p=ZO(e.node1),f=OI(a,d[0],p*t);r(a[0][0],a[1][0],a[2][0],f,n),a[0][0]=n[3],a[1][0]=n[4],r(a[0][1],a[1][1],a[2][1],f,n),a[0][1]=n[3],a[1][1]=n[4]}c&&"none"!==c&&(p=ZO(e.node2),f=OI(a,d[1],p*t),r(a[0][0],a[1][0],a[2][0],f,n),a[1][0]=n[1],a[2][0]=n[2],r(a[0][1],a[1][1],a[2][1],f,n),a[1][1]=n[1],a[2][1]=n[2]),Ue(l[0],a[0]),Ue(l[1],a[2]),Ue(l[2],a[1])}else Ue(o[0],d[0]),Ue(o[1],d[1]),Xe(i,o[1],o[0]),at(i,i),u&&"none"!==u&&(p=ZO(e.node1),Ye(o[0],o[0],i,p*t)),c&&"none"!==c&&(p=ZO(e.node2),Ye(o[1],o[1],i,-p*t)),Ue(l[0],o[0]),Ue(l[1],o[1])}))}function DI(e){return"view"===e.type}var RI=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return y(t,e),t.prototype.init=function(e,t){var n=new wC,r=new AI,a=this.group;this._controller=new bE(t.getZr()),this._controllerHost={target:a},a.add(n.group),a.add(r.group),this._symbolDraw=n,this._lineDraw=r,this._firstRender=!0},t.prototype.render=function(e,t,n){var r=this,a=e.coordinateSystem;this._model=e;var o=this._symbolDraw,i=this._lineDraw,s=this.group;if(DI(a)){var l={x:a.x,y:a.y,scaleX:a.scaleX,scaleY:a.scaleY};this._firstRender?s.attr(l):ec(s,l,e)}II(e.getGraph(),QO(e));var u=e.getData();o.updateData(u);var c=e.getEdgeData();i.updateData(c),this._updateNodeAndLinkScale(),this._updateController(e,t,n),clearTimeout(this._layoutTimeout);var d=e.forceLayout,p=e.get(["force","layoutAnimation"]);d&&this._startForceLayoutIteration(d,p);var f=e.get("layout");u.graph.eachNode((function(t){var n=t.dataIndex,a=t.getGraphicEl(),o=t.getModel();if(a){a.off("drag").off("dragend");var i=o.get("draggable");i&&a.on("drag",(function(o){switch(f){case"force":d.warmUp(),!r._layouting&&r._startForceLayoutIteration(d,p),d.setFixed(n),u.setItemLayout(n,[a.x,a.y]);break;case"circular":u.setItemLayout(n,[a.x,a.y]),t.setLayout({fixed:!0},!0),tI(e,"symbolSize",t,[o.offsetX,o.offsetY]),r.updateLayout(e);break;default:u.setItemLayout(n,[a.x,a.y]),XO(e.getGraph(),e),r.updateLayout(e)}})).on("dragend",(function(){d&&d.setUnfixed(n)})),a.setDraggable(i,!!o.get("cursor")),"adjacency"===o.get(["emphasis","focus"])&&(Xl(a).focus=t.getAdjacentDataIndices())}})),u.graph.eachEdge((function(e){var t=e.getGraphicEl(),n=e.getModel().get(["emphasis","focus"]);t&&"adjacency"===n&&(Xl(t).focus={edge:[e.dataIndex],node:[e.node1.dataIndex,e.node2.dataIndex]})}));var h="circular"===e.get("layout")&&e.get(["circular","rotateLabel"]),m=u.getLayout("cx"),g=u.getLayout("cy");u.graph.eachNode((function(e){rI(e,h,m,g)})),this._firstRender=!1},t.prototype.dispose=function(){this.remove(),this._controller&&this._controller.dispose(),this._controllerHost=null},t.prototype._startForceLayoutIteration=function(e,t){var n=this;!function r(){e.step((function(e){n.updateLayout(n._model),(n._layouting=!e)&&(t?n._layoutTimeout=setTimeout(r,16):r())}))}()},t.prototype._updateController=function(e,t,n){var r=this,a=this._controller,o=this._controllerHost,i=this.group;a.setPointerChecker((function(t,r,a){var o=i.getBoundingRect();return o.applyTransform(i.transform),o.contain(r,a)&&!AE(t,n,e)})),DI(e.coordinateSystem)?(a.enable(e.get("roam")),o.zoomLimit=e.get("scaleLimit"),o.zoom=e.coordinateSystem.getZoom(),a.off("pan").off("zoom").on("pan",(function(t){wE(o,t.dx,t.dy),n.dispatchAction({seriesId:e.id,type:"graphRoam",dx:t.dx,dy:t.dy})})).on("zoom",(function(t){xE(o,t.scale,t.originX,t.originY),n.dispatchAction({seriesId:e.id,type:"graphRoam",zoom:t.scale,originX:t.originX,originY:t.originY}),r._updateNodeAndLinkScale(),II(e.getGraph(),QO(e)),r._lineDraw.updateLayout(),n.updateLabelLayout()}))):a.disable()},t.prototype._updateNodeAndLinkScale=function(){var e=this._model,t=e.getData(),n=QO(e);t.eachItemGraphicEl((function(e,t){e&&e.setSymbolScale(n)}))},t.prototype.updateLayout=function(e){II(e.getGraph(),QO(e)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},t.prototype.remove=function(){clearTimeout(this._layoutTimeout),this._layouting=!1,this._layoutTimeout=null,this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()},t.type="graph",t}(Jg);const NI=RI;function LI(e){return"_EC_"+e}var $I=function(){function e(e){this.type="graph",this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this._directed=e||!1}return e.prototype.isDirected=function(){return this._directed},e.prototype.addNode=function(e,t){e=null==e?""+t:""+e;var n=this._nodesMap;if(!n[LI(e)]){var r=new jI(e,t);return r.hostGraph=this,this.nodes.push(r),n[LI(e)]=r,r}},e.prototype.getNodeByIndex=function(e){var t=this.data.getRawIndex(e);return this.nodes[t]},e.prototype.getNodeById=function(e){return this._nodesMap[LI(e)]},e.prototype.addEdge=function(e,t,n){var r=this._nodesMap,a=this._edgesMap;if(pe(e)&&(e=this.nodes[e]),pe(t)&&(t=this.nodes[t]),e instanceof jI||(e=r[LI(e)]),t instanceof jI||(t=r[LI(t)]),e&&t){var o=e.id+"-"+t.id,i=new FI(e,t,n);return i.hostGraph=this,this._directed&&(e.outEdges.push(i),t.inEdges.push(i)),e.edges.push(i),e!==t&&t.edges.push(i),this.edges.push(i),a[o]=i,i}},e.prototype.getEdgeByIndex=function(e){var t=this.edgeData.getRawIndex(e);return this.edges[t]},e.prototype.getEdge=function(e,t){e instanceof jI&&(e=e.id),t instanceof jI&&(t=t.id);var n=this._edgesMap;return this._directed?n[e+"-"+t]:n[e+"-"+t]||n[t+"-"+e]},e.prototype.eachNode=function(e,t){for(var n=this.nodes,r=n.length,a=0;a=0&&e.call(t,n[a],a)},e.prototype.eachEdge=function(e,t){for(var n=this.edges,r=n.length,a=0;a=0&&n[a].node1.dataIndex>=0&&n[a].node2.dataIndex>=0&&e.call(t,n[a],a)},e.prototype.breadthFirstTraverse=function(e,t,n,r){if(t instanceof jI||(t=this._nodesMap[LI(t)]),t){for(var a="out"===n?"outEdges":"in"===n?"inEdges":"edges",o=0;o=0&&n.node2.dataIndex>=0})),a=0,o=r.length;a=0&&this[e][t].setItemVisual(this.dataIndex,n,r)},getVisual:function(n){return this[e][t].getItemVisual(this.dataIndex,n)},setLayout:function(n,r){this.dataIndex>=0&&this[e][t].setItemLayout(this.dataIndex,n,r)},getLayout:function(){return this[e][t].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[e][t].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[e][t].getRawIndex(this.dataIndex)}}}Z(jI,BI("hostGraph","data")),Z(FI,BI("hostGraph","edgeData"));const zI=$I;function WI(e,t,n,r,a){for(var o=new zI(r),i=0;i "+p)),u++)}var f,h=n.get("coordinateSystem");if("cartesian2d"===h||"polar"===h)f=ax(e,n);else{var m=Dp.get(h),g=m&&m.dimensions||[];K(g,"value")<0&&g.concat(["value"]);var v=Kw(e,{coordDimensions:g,encodeDefine:n.getEncode()}).dimensions;(f=new Yw(v,n)).initData(e)}var y=new Yw(["value"],n);return y.initData(l,s),a&&a(f,y),bP({mainData:f,struct:o,structAttr:"graph",datas:{node:f,edge:y},datasAttr:{node:"data",edge:"edgeData"}}),o.update(),o}var VI=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n}return y(t,e),t.prototype.init=function(t){e.prototype.init.apply(this,arguments);var n=this;function r(){return n._categoriesData}this.legendVisualProvider=new jT(r,r),this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},t.prototype.mergeOption=function(t){e.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},t.prototype.mergeDefaultAndTheme=function(t){e.prototype.mergeDefaultAndTheme.apply(this,arguments),ci(t,"edgeLabel",["show"])},t.prototype.getInitialData=function(e,t){var n,r=e.edges||e.links||[],a=e.data||e.nodes||[],o=this;if(a&&r){BO(n=this)&&(n.__curvenessList=[],n.__edgeMap={},zO(n));var i=WI(a,r,this,!0,(function(e,t){e.wrapMethod("getItemModel",(function(e){var t=o._categoriesModels[e.getShallow("category")];return t&&(t.parentModel=e.parentModel,e.parentModel=t),e}));var n=Lc.prototype.getModel;function r(e,t){var r=n.call(this,e,t);return r.resolveParentPath=a,r}function a(e){if(e&&("label"===e[0]||"label"===e[1])){var t=e.slice();return"label"===e[0]?t[0]="edgeLabel":"label"===e[1]&&(t[1]="edgeLabel"),t}return e}t.wrapMethod("getItemModel",(function(e){return e.resolveParentPath=a,e.getModel=r,e}))}));return ee(i.edges,(function(e){!function(e,t,n,r){if(BO(n)){var a=WO(e,t,n),o=n.__edgeMap,i=o[VO(a)];o[a]&&!i?o[a].isForward=!0:i&&o[a]&&(i.isForward=!0,o[a].isForward=!1),o[a]=o[a]||[],o[a].push(r)}}(e.node1,e.node2,this,e.dataIndex)}),this),i.data}},t.prototype.getGraph=function(){return this.getData().graph},t.prototype.getEdgeData=function(){return this.getGraph().edgeData},t.prototype.getCategoriesData=function(){return this._categoriesData},t.prototype.formatTooltip=function(e,t,n){if("edge"===n){var r=this.getData(),a=this.getDataParams(e,n),o=r.graph.getEdgeByIndex(e),i=r.getName(o.node1.dataIndex),s=r.getName(o.node2.dataIndex),l=[];return null!=i&&l.push(i),null!=s&&l.push(s),yh("nameValue",{name:l.join(" > "),value:a.value,noValue:null==a.value})}return Ph({series:this,dataIndex:e,multipleSeries:t})},t.prototype._updateCategoriesData=function(){var e=te(this.option.categories||[],(function(e){return null!=e.value?e:G({value:0},e)})),t=new Yw(["value"],this);t.initData(e),this._categoriesData=t,this._categoriesModels=t.mapArray((function(e){return t.getItemModel(e)}))},t.prototype.setZoom=function(e){this.option.zoom=e},t.prototype.setCenter=function(e){this.option.center=e},t.prototype.isAnimationEnabled=function(){return e.prototype.isAnimationEnabled.call(this)&&!("force"===this.get("layout")&&this.get(["force","layoutAnimation"]))},t.type="series.graph",t.dependencies=["grid","polar","geo","singleAxis","calendar"],t.defaultOption={z:2,coordinateSystem:"view",legendHoverLink:!0,layout:null,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{scale:!0,label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},t}(Wh);const UI=VI;var HI={type:"graphRoam",event:"graphRoam",update:"none"},qI=function(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0},GI=function(e){function t(t){var n=e.call(this,t)||this;return n.type="pointer",n}return y(t,e),t.prototype.getDefaultShape=function(){return new qI},t.prototype.buildPath=function(e,t){var n=Math.cos,r=Math.sin,a=t.r,o=t.width,i=t.angle,s=t.x-n(i)*o*(o>=a/3?1:2),l=t.y-r(i)*o*(o>=a/3?1:2);i=t.angle-Math.PI/2,e.moveTo(s,l),e.lineTo(t.x+n(i)*o,t.y+r(i)*o),e.lineTo(t.x+n(t.angle)*a,t.y+r(t.angle)*a),e.lineTo(t.x-n(i)*o,t.y-r(i)*o),e.lineTo(s,l)},t}(vl);const YI=GI;function XI(e,t){var n=null==e?"":e+"";return t&&(ce(t)?n=t.replace("{value}",n):ue(t)&&(n=t(e))),n}var KI=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return y(t,e),t.prototype.render=function(e,t,n){this.group.removeAll();var r=e.get(["axisLine","lineStyle","color"]),a=function(e,t){var n=e.get("center"),r=t.getWidth(),a=t.getHeight(),o=Math.min(r,a);return{cx:Lo(n[0],t.getWidth()),cy:Lo(n[1],t.getHeight()),r:Lo(e.get("radius"),o/2)}}(e,n);this._renderMain(e,t,n,r,a),this._data=e.getData()},t.prototype.dispose=function(){},t.prototype._renderMain=function(e,t,n,r,a){var o=this.group,i=e.get("clockwise"),s=-e.get("startAngle")/180*Math.PI,l=-e.get("endAngle")/180*Math.PI,u=e.getModel("axisLine"),c=u.get("roundCap")?eT:Im,d=u.get("show"),p=u.getModel("lineStyle"),f=p.get("width"),h=[s,l];Ys(h,!i);for(var m=(l=h[1])-(s=h[0]),g=s,v=[],y=0;d&&y=e&&(0===t?0:r[t-1][0])Math.PI/2&&(j+=Math.PI):"tangential"===$?j=-A-Math.PI/2:pe($)&&(j=$*Math.PI/180),0===j?d.add(new Yl({style:pc(b,{text:D,x:N,y:L,verticalAlign:c<-.8?"top":c>.8?"bottom":"middle",align:u<-.4?"left":u>.4?"right":"center"},{inheritColor:R}),silent:!0})):d.add(new Yl({style:pc(b,{text:D,x:N,y:L,verticalAlign:"middle",align:"center"},{inheritColor:R}),silent:!0,originX:N,originY:L,rotation:j}))}if(y.get("show")&&P!==w){I=(I=y.get("distance"))?I+l:l;for(var F=0;F<=x;F++){u=Math.cos(A),c=Math.sin(A);var B=new qm({shape:{x1:u*(h-I)+p,y1:c*(h-I)+f,x2:u*(h-_-I)+p,y2:c*(h-_-I)+f},silent:!0,style:E});"auto"===E.stroke&&B.setStyle({stroke:r((P+F/x)/w)}),d.add(B),A+=T}A-=T}else A+=C}},t.prototype._renderPointer=function(e,t,n,r,a,o,i,s,l){var u=this.group,c=this._data,d=this._progressEls,p=[],f=e.get(["pointer","show"]),h=e.getModel("progress"),m=h.get("show"),g=e.getData(),v=g.mapDimension("value"),y=+e.get("min"),b=+e.get("max"),w=[y,b],x=[o,i];function S(t,n){var r,o=g.getItemModel(t).getModel("pointer"),i=Lo(o.get("width"),a.r),s=Lo(o.get("length"),a.r),l=e.get(["pointer","icon"]),u=o.get("offsetCenter"),c=Lo(u[0],a.r),d=Lo(u[1],a.r),p=o.get("keepAspect");return(r=l?uy(l,c-i/2,d-s,i,s,null,p):new YI({shape:{angle:-Math.PI/2,width:i,r:s,x:c,y:d}})).rotation=-(n+Math.PI/2),r.x=a.cx,r.y=a.cy,r}function _(e,t){var n=h.get("roundCap")?eT:Im,r=h.get("overlap"),i=r?h.get("width"):l/g.count(),u=r?a.r-i:a.r-(e+1)*i,c=r?a.r:a.r-e*i,d=new n({shape:{startAngle:o,endAngle:t,cx:a.cx,cy:a.cy,clockwise:s,r0:u,r:c}});return r&&(d.z2=b-g.get(v,e)%b),d}(m||f)&&(g.diff(c).add((function(t){var n=g.get(v,t);if(f){var r=S(t,o);tc(r,{rotation:-((isNaN(+n)?x[0]:No(n,w,x,!0))+Math.PI/2)},e),u.add(r),g.setItemGraphicEl(t,r)}if(m){var a=_(t,o),i=h.get("clip");tc(a,{shape:{endAngle:No(n,w,x,i)}},e),u.add(a),Kl(e.seriesIndex,g.dataType,t,a),p[t]=a}})).update((function(t,n){var r=g.get(v,t);if(f){var a=c.getItemGraphicEl(n),i=a?a.rotation:o,s=S(t,i);s.rotation=i,ec(s,{rotation:-((isNaN(+r)?x[0]:No(r,w,x,!0))+Math.PI/2)},e),u.add(s),g.setItemGraphicEl(t,s)}if(m){var l=d[n],y=_(t,l?l.shape.endAngle:o),b=h.get("clip");ec(y,{shape:{endAngle:No(r,w,x,b)}},e),u.add(y),Kl(e.seriesIndex,g.dataType,t,y),p[t]=y}})).execute(),g.each((function(e){var t=g.getItemModel(e),n=t.getModel("emphasis"),a=n.get("focus"),o=n.get("blurScope"),i=n.get("disabled");if(f){var s=g.getItemGraphicEl(e),l=g.getItemVisual(e,"style"),u=l.fill;if(s instanceof Al){var c=s.style;s.useStyle(G({image:c.image,x:c.x,y:c.y,width:c.width,height:c.height},l))}else s.useStyle(l),"pointer"!==s.type&&s.setColor(u);s.setStyle(t.getModel(["pointer","itemStyle"]).getItemStyle()),"auto"===s.style.fill&&s.setStyle("fill",r(No(g.get(v,e),w,[0,1],!0))),s.z2EmphasisLift=0,qu(s,t),Wu(s,a,o,i)}if(m){var d=p[e];d.useStyle(g.getItemVisual(e,"style")),d.setStyle(t.getModel(["progress","itemStyle"]).getItemStyle()),d.z2EmphasisLift=0,qu(d,t),Wu(d,a,o,i)}})),this._progressEls=p)},t.prototype._renderAnchor=function(e,t){var n=e.getModel("anchor");if(n.get("show")){var r=n.get("size"),a=n.get("icon"),o=n.get("offsetCenter"),i=n.get("keepAspect"),s=uy(a,t.cx-r/2+Lo(o[0],t.r),t.cy-r/2+Lo(o[1],t.r),r,r,null,i);s.z2=n.get("showAbove")?1:0,s.setStyle(n.getModel("itemStyle").getItemStyle()),this.group.add(s)}},t.prototype._renderTitleAndDetail=function(e,t,n,r,a){var o=this,i=e.getData(),s=i.mapDimension("value"),l=+e.get("min"),u=+e.get("max"),c=new wo,d=[],p=[],f=e.isAnimationEnabled(),h=e.get(["pointer","showAbove"]);i.diff(this._data).add((function(e){d[e]=new Yl({silent:!0}),p[e]=new Yl({silent:!0})})).update((function(e,t){d[e]=o._titleEls[t],p[e]=o._detailEls[t]})).execute(),i.each((function(t){var n=i.getItemModel(t),o=i.get(s,t),m=new wo,g=r(No(o,[l,u],[0,1],!0)),v=n.getModel("title");if(v.get("show")){var y=v.get("offsetCenter"),b=a.cx+Lo(y[0],a.r),w=a.cy+Lo(y[1],a.r);(E=d[t]).attr({z2:h?0:2,style:pc(v,{x:b,y:w,text:i.getName(t),align:"center",verticalAlign:"middle"},{inheritColor:g})}),m.add(E)}var x=n.getModel("detail");if(x.get("show")){var S=x.get("offsetCenter"),_=a.cx+Lo(S[0],a.r),A=a.cy+Lo(S[1],a.r),C=Lo(x.get("width"),a.r),T=Lo(x.get("height"),a.r),k=e.get(["progress","show"])?i.getItemVisual(t,"style").fill:g,E=p[t],M=x.get("formatter");E.attr({z2:h?0:2,style:pc(x,{x:_,y:A,text:XI(o,M),width:isNaN(C)?null:C,height:isNaN(T)?null:T,align:"center",verticalAlign:"middle"},{inheritColor:k})}),wc(E,{normal:x},o,(function(e){return XI(e,M)})),f&&xc(E,t,i,e,{getFormattedLabel:function(e,t,n,r,a,i){return XI(i?i.interpolatedValue:o,M)}}),m.add(E)}c.add(m)})),this.group.add(c),this._titleEls=d,this._detailEls=p},t.type="gauge",t}(Jg);const QI=KI,ZI=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.visualStyleAccessPath="itemStyle",n}return y(t,e),t.prototype.getInitialData=function(e,t){return LT(this,["value"])},t.type="series.gauge",t.defaultOption={z:2,colorBy:"data",center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,roundCap:!1,lineStyle:{color:[[1,"#E6EBF8"]],width:10}},progress:{show:!1,overlap:!0,width:10,roundCap:!1,clip:!0},splitLine:{show:!0,length:10,distance:10,lineStyle:{color:"#63677A",width:3,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:6,distance:10,lineStyle:{color:"#63677A",width:1,type:"solid"}},axisLabel:{show:!0,distance:15,color:"#464646",fontSize:12,rotate:0},pointer:{icon:null,offsetCenter:[0,0],show:!0,showAbove:!0,length:"60%",width:6,keepAspect:!1},anchor:{show:!1,showAbove:!1,size:6,icon:"circle",offsetCenter:[0,0],keepAspect:!1,itemStyle:{color:"#fff",borderWidth:0,borderColor:"#5470c6"}},title:{show:!0,offsetCenter:[0,"20%"],color:"#464646",fontSize:16,valueAnimation:!1},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"#464646",fontSize:30,fontWeight:"bold",lineHeight:30,valueAnimation:!1}},t}(Wh);var JI=["itemStyle","opacity"],eD=function(e){function t(t,n){var r=e.call(this)||this,a=r,o=new Wm,i=new Yl;return a.setTextContent(i),r.setTextGuideLine(o),r.updateData(t,n,!0),r}return y(t,e),t.prototype.updateData=function(e,t,n){var r=this,a=e.hostModel,o=e.getItemModel(t),i=e.getItemLayout(t),s=o.getModel("emphasis"),l=o.get(JI);l=null==l?1:l,n||ic(r),r.useStyle(e.getItemVisual(t,"style")),r.style.lineJoin="round",n?(r.setShape({points:i.points}),r.style.opacity=0,tc(r,{style:{opacity:l}},a,t)):ec(r,{style:{opacity:l},shape:{points:i.points}},a,t),qu(r,o),this._updateLabel(e,t),Wu(this,s.get("focus"),s.get("blurScope"),s.get("disabled"))},t.prototype._updateLabel=function(e,t){var n=this,r=this.getTextGuideLine(),a=n.getTextContent(),o=e.hostModel,i=e.getItemModel(t),s=e.getItemLayout(t).label,l=e.getItemVisual(t,"style"),u=l.fill;cc(a,dc(i),{labelFetcher:e.hostModel,labelDataIndex:t,defaultOpacity:l.opacity,defaultText:e.getName(t)},{normal:{align:s.textAlign,verticalAlign:s.verticalAlign}}),n.setTextConfig({local:!0,inside:!!s.inside,insideStroke:u,outsideFill:u});var c=s.linePoints;r.setShape({points:c}),n.textGuideLineConfig={anchor:c?new Zt(c[0][0],c[0][1]):null},ec(a,{style:{x:s.x,y:s.y}},o,t),a.attr({rotation:s.rotation,originX:s.x,originY:s.y,z2:10}),x_(n,S_(i),{stroke:u})},t}(Fm);const tD=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.ignoreLabelLineUpdate=!0,n}return y(t,e),t.prototype.render=function(e,t,n){var r=e.getData(),a=this._data,o=this.group;r.diff(a).add((function(e){var t=new eD(r,e);r.setItemGraphicEl(e,t),o.add(t)})).update((function(e,t){var n=a.getItemGraphicEl(t);n.updateData(r,e),o.add(n),r.setItemGraphicEl(e,n)})).remove((function(t){oc(a.getItemGraphicEl(t),e,t)})).execute(),this._data=r},t.prototype.remove=function(){this.group.removeAll(),this._data=null},t.prototype.dispose=function(){},t.type="funnel",t}(Jg);var nD=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return y(t,e),t.prototype.init=function(t){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new jT(ie(this.getData,this),ie(this.getRawData,this)),this._defaultLabelLine(t)},t.prototype.getInitialData=function(e,t){return LT(this,{coordDimensions:["value"],encodeDefaulter:se(cp,this)})},t.prototype._defaultLabelLine=function(e){ci(e,"labelLine",["show"]);var t=e.labelLine,n=e.emphasis.labelLine;t.show=t.show&&e.label.show,n.show=n.show&&e.emphasis.label.show},t.prototype.getDataParams=function(t){var n=this.getData(),r=e.prototype.getDataParams.call(this,t),a=n.mapDimension("value"),o=n.getSum(a);return r.percent=o?+(n.get(a,t)/o*100).toFixed(2):0,r.$vars.push("percent"),r},t.type="series.funnel",t.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},t}(Wh);const rD=nD;function aD(e,t){e.eachSeriesByType("funnel",(function(e){var n=e.getData(),r=n.mapDimension("value"),a=e.get("sort"),o=function(e,t){return Bd(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}(e,t),i=e.get("orient"),s=o.width,l=o.height,u=function(e,t){for(var n=e.mapDimension("value"),r=e.mapArray(n,(function(e){return e})),a=[],o="ascending"===t,i=0,s=e.count();i5)return;var r=this._model.coordinateSystem.getSlidedAxisExpandWindow([e.offsetX,e.offsetY]);"none"!==r.behavior&&this._dispatchExpand({axisExpandWindow:r.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(e){if(!this._mouseDownPoint&&yD(this,"mousemove")){var t=this._model,n=t.coordinateSystem.getSlidedAxisExpandWindow([e.offsetX,e.offsetY]),r=n.behavior;"jump"===r&&this._throttledDispatchExpand.debounceNextCall(t.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===r?null:{axisExpandWindow:n.axisExpandWindow,animation:"jump"===r?null:{duration:0}})}}};function yD(e,t){var n=e._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===t}const bD=gD,wD=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return y(t,e),t.prototype.init=function(){e.prototype.init.apply(this,arguments),this.mergeOption({})},t.prototype.mergeOption=function(e){var t=this.option;e&&H(t,e,!0),this._initDimensions()},t.prototype.contains=function(e,t){var n=e.get("parallelIndex");return null!=n&&t.getComponent("parallel",n)===this},t.prototype.setAxisExpand=function(e){ee(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],(function(t){e.hasOwnProperty(t)&&(this.option[t]=e[t])}),this)},t.prototype._initDimensions=function(){var e=this.dimensions=[],t=this.parallelAxisIndex=[];ee(re(this.ecModel.queryComponents({mainType:"parallelAxis"}),(function(e){return(e.get("parallelIndex")||0)===this.componentIndex}),this),(function(n){e.push("dim"+n.get("dim")),t.push(n.componentIndex)}))},t.type="parallel",t.dependencies=["parallelAxis"],t.layoutMode="box",t.defaultOption={z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},t}(Yd);var xD=function(e){function t(t,n,r,a,o){var i=e.call(this,t,n,r)||this;return i.type=a||"value",i.axisIndex=o,i}return y(t,e),t.prototype.isHorizontal=function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")},t}(YS);const SD=xD;function _D(e,t,n,r,a,o){e=e||0;var i=n[1]-n[0];if(null!=a&&(a=CD(a,[0,i])),null!=o&&(o=Math.max(o,null!=a?a:0)),"all"===r){var s=Math.abs(t[1]-t[0]);s=CD(s,[0,i]),a=o=CD(s,[a,o]),r=0}t[0]=CD(t[0],n),t[1]=CD(t[1],n);var l=AD(t,r);t[r]+=e;var u,c=a||0,d=n.slice();return l.sign<0?d[0]+=c:d[1]-=c,t[r]=CD(t[r],d),u=AD(t,r),null!=a&&(u.sign!==l.sign||u.spano&&(t[1-r]=t[r]+u.sign*o),t}function AD(e,t){var n=e[t]-e[1-t];return{span:Math.abs(n),sign:n>0?-1:n<0?1:t?-1:1}}function CD(e,t){return Math.min(null!=t[1]?t[1]:1/0,Math.max(null!=t[0]?t[0]:-1/0,e))}var TD=ee,kD=Math.min,ED=Math.max,MD=Math.floor,PD=Math.ceil,OD=$o,ID=Math.PI,DD=function(){function e(e,t,n){this.type="parallel",this._axesMap=Re(),this._axesLayout={},this.dimensions=e.dimensions,this._model=e,this._init(e,t,n)}return e.prototype._init=function(e,t,n){var r=e.dimensions,a=e.parallelAxisIndex;TD(r,(function(e,n){var r=a[n],o=t.getComponent("parallelAxis",r),i=this._axesMap.set(e,new SD(e,uS(o),[0,0],o.get("type"),r)),s="category"===i.type;i.onBand=s&&o.get("boundaryGap"),i.inverse=o.get("inverse"),o.axis=i,i.model=o,i.coordinateSystem=o.coordinateSystem=this}),this)},e.prototype.update=function(e,t){this._updateAxesFromSeries(this._model,e)},e.prototype.containPoint=function(e){var t=this._makeLayoutInfo(),n=t.axisBase,r=t.layoutBase,a=t.pixelDimIndex,o=e[1-a],i=e[a];return o>=n&&o<=n+t.axisLength&&i>=r&&i<=r+t.layoutLength},e.prototype.getModel=function(){return this._model},e.prototype._updateAxesFromSeries=function(e,t){t.eachSeries((function(n){if(e.contains(n,t)){var r=n.getData();TD(this.dimensions,(function(e){var t=this._axesMap.get(e);t.scale.unionExtentFromData(r,r.mapDimension(e)),lS(t.scale,t.model)}),this)}}),this)},e.prototype.resize=function(e,t){this._rect=Bd(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()}),this._layoutAxes()},e.prototype.getRect=function(){return this._rect},e.prototype._makeLayoutInfo=function(){var e,t=this._model,n=this._rect,r=["x","y"],a=["width","height"],o=t.get("layout"),i="horizontal"===o?0:1,s=n[a[i]],l=[0,s],u=this.dimensions.length,c=RD(t.get("axisExpandWidth"),l),d=RD(t.get("axisExpandCount")||0,[0,u]),p=t.get("axisExpandable")&&u>3&&u>d&&d>1&&c>0&&s>0,f=t.get("axisExpandWindow");f?(e=RD(f[1]-f[0],l),f[1]=f[0]+e):(e=RD(c*(d-1),l),(f=[c*(t.get("axisExpandCenter")||MD(u/2))-e/2])[1]=f[0]+e);var h=(s-e)/(u-d);h<3&&(h=0);var m=[MD(OD(f[0]/c,1))+1,PD(OD(f[1]/c,1))-1],g=h/c*f[0];return{layout:o,pixelDimIndex:i,layoutBase:n[r[i]],layoutLength:s,axisBase:n[r[1-i]],axisLength:n[a[1-i]],axisExpandable:p,axisExpandWidth:c,axisCollapseWidth:h,axisExpandWindow:f,axisCount:u,winInnerIndices:m,axisExpandWindow0Pos:g}},e.prototype._layoutAxes=function(){var e=this._rect,t=this._axesMap,n=this.dimensions,r=this._makeLayoutInfo(),a=r.layout;t.each((function(e){var t=[0,r.axisLength],n=e.inverse?1:0;e.setExtent(t[n],t[1-n])})),TD(n,(function(t,n){var o=(r.axisExpandable?LD:ND)(n,r),i={horizontal:{x:o.position,y:r.axisLength},vertical:{x:0,y:o.position}},s={horizontal:ID/2,vertical:0},l=[i[a].x+e.x,i[a].y+e.y],u=s[a],c=[1,0,0,1,0,0];Gt(c,c,u),qt(c,c,l),this._axesLayout[t]={position:l,rotation:u,transform:c,axisNameAvailableWidth:o.axisNameAvailableWidth,axisLabelShow:o.axisLabelShow,nameTruncateMaxWidth:o.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}}),this)},e.prototype.getAxis=function(e){return this._axesMap.get(e)},e.prototype.dataToPoint=function(e,t){return this.axisCoordToPoint(this._axesMap.get(t).dataToCoord(e),t)},e.prototype.eachActiveState=function(e,t,n,r){null==n&&(n=0),null==r&&(r=e.count());var a=this._axesMap,o=this.dimensions,i=[],s=[];ee(o,(function(t){i.push(e.mapDimension(t)),s.push(a.get(t).model)}));for(var l=this.hasAxisBrushed(),u=n;ua*(1-c[0])?(l="jump",i=s-a*(1-c[2])):(i=s-a*c[1])>=0&&(i=s-a*(1-c[1]))<=0&&(i=0),(i*=t.axisExpandWidth/u)?_D(i,r,o,"all"):l="none";else{var p=r[1]-r[0];(r=[ED(0,o[1]*s/p-p/2)])[1]=kD(o[1],r[0]+p),r[0]=r[1]-p}return{axisExpandWindow:r,behavior:l}},e}();function RD(e,t){return kD(ED(e,t[0]),t[1])}function ND(e,t){var n=t.layoutLength/(t.axisCount-1);return{position:n*e,axisNameAvailableWidth:n,axisLabelShow:!0}}function LD(e,t){var n,r,a=t.layoutLength,o=t.axisExpandWidth,i=t.axisCount,s=t.axisCollapseWidth,l=t.winInnerIndices,u=s,c=!1;return e=0;n--)jo(t[n])},t.prototype.getActiveState=function(e){var t=this.activeIntervals;if(!t.length)return"normal";if(null==e||isNaN(+e))return"inactive";if(1===t.length){var n=t[0];if(n[0]<=e&&e<=n[1])return"active"}else for(var r=0,a=t.length;rqD}(e)||o){if(i&&!o){"single"===s.brushMode&&lR(e);var l=U(s);l.brushType=CR(l.brushType,i),l.panelId=i===zD?null:i.panelId,o=e._creatingCover=eR(e,l),e._covers.push(o)}if(o){var u=ER[CR(e._brushType,i)];o.__brushOption.range=u.getCreatingRange(xR(e,o,e._track)),r&&(tR(e,o),u.updateCommon(e,o)),nR(e,o),a={isEnd:r}}}else r&&"single"===s.brushMode&&s.removeOnClick&&iR(e,t,n)&&lR(e)&&(a={isEnd:r,removeOnClick:!0});return a}function CR(e,t){return"auto"===e?t.defaultBrushType:e}var TR={mousedown:function(e){if(this._dragging)kR(this,e);else if(!e.target||!e.target.draggable){SR(e);var t=this.group.transformCoordToLocal(e.offsetX,e.offsetY);this._creatingCover=null,(this._creatingPanel=iR(this,e,t))&&(this._dragging=!0,this._track=[t.slice()])}},mousemove:function(e){var t=e.offsetX,n=e.offsetY,r=this.group.transformCoordToLocal(t,n);if(function(e,t,n){if(e._brushType&&!function(e,t,n){var r=e._zr;return t<0||t>r.getWidth()||n<0||n>r.getHeight()}(e,t.offsetX,t.offsetY)){var r=e._zr,a=e._covers,o=iR(e,t,n);if(!e._dragging)for(var i=0;i=0&&(o[a[i].depth]=new Lc(a[i],this,t));if(r&&n){var s=WI(r,n,this,!0,(function(e,t){e.wrapMethod("getItemModel",(function(e,t){var n=e.parentModel,r=n.getData().getItemLayout(t);if(r){var a=r.depth,o=n.levelModels[a];o&&(e.parentModel=o)}return e})),t.wrapMethod("getItemModel",(function(e,t){var n=e.parentModel,r=n.getGraph().getEdgeByIndex(t).node1.getLayout();if(r){var a=r.depth,o=n.levelModels[a];o&&(e.parentModel=o)}return e}))}));return s.data}},t.prototype.setNodePosition=function(e,t){var n=(this.option.data||this.option.nodes)[e];n.localX=t[0],n.localY=t[1]},t.prototype.getGraph=function(){return this.getData().graph},t.prototype.getEdgeData=function(){return this.getGraph().edgeData},t.prototype.formatTooltip=function(e,t,n){function r(e){return isNaN(e)||null==e}if("edge"===n){var a=this.getDataParams(e,n),o=a.data,i=a.value;return yh("nameValue",{name:o.source+" -- "+o.target,value:i,noValue:r(i)})}var s=this.getGraph().getNodeByIndex(e).getLayout().value,l=this.getDataParams(e,n).data.name;return yh("nameValue",{name:null!=l?l+"":null,value:s,noValue:r(s)})},t.prototype.optionUpdated=function(){},t.prototype.getDataParams=function(t,n){var r=e.prototype.getDataParams.call(this,t,n);if(null==r.value&&"node"===n){var a=this.getGraph().getNodeByIndex(t).getLayout().value;r.value=a}return r},t.type="series.sankey",t.defaultOption={z:2,coordinateSystem:"view",left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,layoutIterations:32,label:{show:!0,position:"right",fontSize:12},edgeLabel:{show:!1,fontSize:12},levels:[],nodeAlign:"justify",lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},select:{itemStyle:{borderColor:"#212121"}},animationEasing:"linear",animationDuration:1e3},t}(Wh);const GR=qR;function YR(e,t){e.eachSeriesByType("sankey",(function(e){var n=e.get("nodeWidth"),r=e.get("nodeGap"),a=function(e,t){return Bd(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}(e,t);e.layoutInfo=a;var o=a.width,i=a.height,s=e.getGraph(),l=s.nodes,u=s.edges;!function(e){ee(e,(function(e){var t=aN(e.outEdges,rN),n=aN(e.inEdges,rN),r=e.getValue()||0,a=Math.max(t,n,r);e.setLayout({value:a},!0)}))}(l),function(e,t,n,r,a,o,i,s,l){(function(e,t,n,r,a,o,i){for(var s=[],l=[],u=[],c=[],d=0,p=0;p=0;v&&g.depth>f&&(f=g.depth),m.setLayout({depth:v?g.depth:d},!0),"vertical"===o?m.setLayout({dy:n},!0):m.setLayout({dx:n},!0);for(var y=0;yd-1?f:d-1;i&&"left"!==i&&function(e,t,n,r){if("right"===t){for(var a=[],o=e,i=0;o.length;){for(var s=0;s0;o--)QR(s,l*=.99,i),KR(s,a,n,r,i),oN(s,l,i),KR(s,a,n,r,i)}(e,t,o,a,r,i,s),function(e,t){var n="vertical"===t?"x":"y";ee(e,(function(e){e.outEdges.sort((function(e,t){return e.node2.getLayout()[n]-t.node2.getLayout()[n]})),e.inEdges.sort((function(e,t){return e.node1.getLayout()[n]-t.node1.getLayout()[n]}))})),ee(e,(function(e){var t=0,n=0;ee(e.outEdges,(function(e){e.setLayout({sy:t},!0),t+=e.getLayout().dy})),ee(e.inEdges,(function(e){e.setLayout({ty:n},!0),n+=e.getLayout().dy}))}))}(e,s)}(l,u,n,r,o,i,0!==re(l,(function(e){return 0===e.getLayout().value})).length?0:e.get("layoutIterations"),e.get("orient"),e.get("nodeAlign"))}))}function XR(e){var t=e.hostGraph.data.getRawDataItem(e.dataIndex);return null!=t.depth&&t.depth>=0}function KR(e,t,n,r,a){var o="vertical"===a?"x":"y";ee(e,(function(e){var i,s,l;e.sort((function(e,t){return e.getLayout()[o]-t.getLayout()[o]}));for(var u=0,c=e.length,d="vertical"===a?"dx":"dy",p=0;p0&&(i=s.getLayout()[o]+l,"vertical"===a?s.setLayout({x:i},!0):s.setLayout({y:i},!0)),u=s.getLayout()[o]+s.getLayout()[d]+t;if((l=u-t-("vertical"===a?r:n))>0)for(i=s.getLayout()[o]-l,"vertical"===a?s.setLayout({x:i},!0):s.setLayout({y:i},!0),u=i,p=c-2;p>=0;--p)(l=(s=e[p]).getLayout()[o]+s.getLayout()[d]+t-u)>0&&(i=s.getLayout()[o]-l,"vertical"===a?s.setLayout({x:i},!0):s.setLayout({y:i},!0)),u=s.getLayout()[o]}))}function QR(e,t,n){ee(e.slice().reverse(),(function(e){ee(e,(function(e){if(e.outEdges.length){var r=aN(e.outEdges,ZR,n)/aN(e.outEdges,rN);if(isNaN(r)){var a=e.outEdges.length;r=a?aN(e.outEdges,JR,n)/a:0}if("vertical"===n){var o=e.getLayout().x+(r-nN(e,n))*t;e.setLayout({x:o},!0)}else{var i=e.getLayout().y+(r-nN(e,n))*t;e.setLayout({y:i},!0)}}}))}))}function ZR(e,t){return nN(e.node2,t)*e.getValue()}function JR(e,t){return nN(e.node2,t)}function eN(e,t){return nN(e.node1,t)*e.getValue()}function tN(e,t){return nN(e.node1,t)}function nN(e,t){return"vertical"===t?e.getLayout().x+e.getLayout().dx/2:e.getLayout().y+e.getLayout().dy/2}function rN(e){return e.getValue()}function aN(e,t,n){for(var r=0,a=e.length,o=-1;++oo&&(o=t)})),ee(n,(function(t){var n=new hO({type:"color",mappingMethod:"linear",dataExtent:[a,o],visual:e.get("color")}).mapValueToVisual(t.getLayout().value),r=t.getModel().get(["itemStyle","color"]);null!=r?(t.setVisual("color",r),t.setVisual("style",{fill:r})):(t.setVisual("color",n),t.setVisual("style",{fill:n}))}))}r.length&&ee(r,(function(e){var t=e.getModel().get("lineStyle");e.setVisual("style",t)}))}))}var sN=function(){function e(){}return e.prototype.getInitialData=function(e,t){var n,r,a=t.getComponent("xAxis",this.get("xAxisIndex")),o=t.getComponent("yAxis",this.get("yAxisIndex")),i=a.get("type"),s=o.get("type");"category"===i?(e.layout="horizontal",n=a.getOrdinalMeta(),r=!0):"category"===s?(e.layout="vertical",n=o.getOrdinalMeta(),r=!0):e.layout=e.layout||"horizontal";var l=["x","y"],u="horizontal"===e.layout?0:1,c=this._baseAxisDim=l[u],d=l[1-u],p=[a,o],f=p[u].get("type"),h=p[1-u].get("type"),m=e.data;if(m&&r){var g=[];ee(m,(function(e,t){var n;le(e)?(n=e.slice(),e.unshift(t)):le(e.value)?((n=G({},e)).value=n.value.slice(),e.value.unshift(t)):n=e,g.push(n)})),e.data=g}var v=this.defaultValueDimensions,y=[{name:c,type:Tw(f),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:d,type:Tw(h),dimsDef:v.slice()}];return LT(this,{coordDimensions:y,dimensionsCount:v.length+1,encodeDefaulter:se(up,y,this)})},e.prototype.getBaseAxis=function(){var e=this._baseAxisDim;return this.ecModel.getComponent(e+"Axis",this.get(e+"AxisIndex")).axis},e}(),lN=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.defaultValueDimensions=[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],n.visualDrawType="stroke",n}return y(t,e),t.type="series.boxplot",t.dependencies=["xAxis","yAxis","grid"],t.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}},animationDuration:800},t}(Wh);Z(lN,sN,!0);const uN=lN;var cN=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return y(t,e),t.prototype.render=function(e,t,n){var r=e.getData(),a=this.group,o=this._data;this._data||a.removeAll();var i="horizontal"===e.get("layout")?1:0;r.diff(o).add((function(e){if(r.hasValue(e)){var t=fN(r.getItemLayout(e),r,e,i,!0);r.setItemGraphicEl(e,t),a.add(t)}})).update((function(e,t){var n=o.getItemGraphicEl(t);if(r.hasValue(e)){var s=r.getItemLayout(e);n?(ic(n),hN(s,n,r,e)):n=fN(s,r,e,i),a.add(n),r.setItemGraphicEl(e,n)}else a.remove(n)})).remove((function(e){var t=o.getItemGraphicEl(e);t&&a.remove(t)})).execute(),this._data=r},t.prototype.remove=function(e){var t=this.group,n=this._data;this._data=null,n&&n.eachItemGraphicEl((function(e){e&&t.remove(e)}))},t.type="boxplot",t}(Jg),dN=function(){},pN=function(e){function t(t){var n=e.call(this,t)||this;return n.type="boxplotBoxPath",n}return y(t,e),t.prototype.getDefaultShape=function(){return new dN},t.prototype.buildPath=function(e,t){var n=t.points,r=0;for(e.moveTo(n[r][0],n[r][1]),r++;r<4;r++)e.lineTo(n[r][0],n[r][1]);for(e.closePath();rm){var w=[v,b];r.push(w)}}}return{boxData:n,outliers:r}}(t.getRawData(),e.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:n.boxData},{data:n.outliers}]}},wN=["color","borderColor"],xN=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return y(t,e),t.prototype.render=function(e,t,n){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(e),this._isLargeDraw?this._renderLarge(e):this._renderNormal(e)},t.prototype.incrementalPrepareRender=function(e,t,n){this._clear(),this._updateDrawMode(e)},t.prototype.incrementalRender=function(e,t,n,r){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(e,t):this._incrementalRenderNormal(e,t)},t.prototype.eachRendered=function(e){Ug(this._progressiveEls||this.group,e)},t.prototype._updateDrawMode=function(e){var t=e.pipelineContext.large;null!=this._isLargeDraw&&t===this._isLargeDraw||(this._isLargeDraw=t,this._clear())},t.prototype._renderNormal=function(e){var t=e.getData(),n=this._data,r=this.group,a=t.getLayout("isSimpleBox"),o=e.get("clip",!0),i=e.coordinateSystem,s=i.getArea&&i.getArea();this._data||r.removeAll(),t.diff(n).add((function(n){if(t.hasValue(n)){var i=t.getItemLayout(n);if(o&&CN(s,i))return;var l=AN(i,0,!0);tc(l,{shape:{points:i.ends}},e,n),TN(l,t,n,a),r.add(l),t.setItemGraphicEl(n,l)}})).update((function(i,l){var u=n.getItemGraphicEl(l);if(t.hasValue(i)){var c=t.getItemLayout(i);o&&CN(s,c)?r.remove(u):(u?(ec(u,{shape:{points:c.ends}},e,i),ic(u)):u=AN(c),TN(u,t,i,a),r.add(u),t.setItemGraphicEl(i,u))}else r.remove(u)})).remove((function(e){var t=n.getItemGraphicEl(e);t&&r.remove(t)})).execute(),this._data=t},t.prototype._renderLarge=function(e){this._clear(),PN(e,this.group);var t=e.get("clip",!0)?DC(e.coordinateSystem,!1,e):null;t?this.group.setClipPath(t):this.group.removeClipPath()},t.prototype._incrementalRenderNormal=function(e,t){for(var n,r=t.getData(),a=r.getLayout("isSimpleBox");null!=(n=e.next());){var o=AN(r.getItemLayout(n));TN(o,r,n,a),o.incremental=!0,this.group.add(o),this._progressiveEls.push(o)}},t.prototype._incrementalRenderLarge=function(e,t){PN(t,this.group,this._progressiveEls,!0)},t.prototype.remove=function(e){this._clear()},t.prototype._clear=function(){this.group.removeAll(),this._data=null},t.type="candlestick",t}(Jg),SN=function(){},_N=function(e){function t(t){var n=e.call(this,t)||this;return n.type="normalCandlestickBox",n}return y(t,e),t.prototype.getDefaultShape=function(){return new SN},t.prototype.buildPath=function(e,t){var n=t.points;this.__simpleBox?(e.moveTo(n[4][0],n[4][1]),e.lineTo(n[6][0],n[6][1])):(e.moveTo(n[0][0],n[0][1]),e.lineTo(n[1][0],n[1][1]),e.lineTo(n[2][0],n[2][1]),e.lineTo(n[3][0],n[3][1]),e.closePath(),e.moveTo(n[4][0],n[4][1]),e.lineTo(n[5][0],n[5][1]),e.moveTo(n[6][0],n[6][1]),e.lineTo(n[7][0],n[7][1]))},t}(vl);function AN(e,t,n){var r=e.ends;return new _N({shape:{points:n?kN(r,e):r},z2:100})}function CN(e,t){for(var n=!0,r=0;r0?"borderColor":"borderColor0"])||n.get(["itemStyle",e>0?"color":"color0"]);0===e&&(a=n.get(["itemStyle","borderColorDoji"]));var o=n.getModel("itemStyle").getItemStyle(wN);t.useStyle(o),t.style.fill=null,t.style.stroke=a}const IN=xN;var DN=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.defaultValueDimensions=[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],n}return y(t,e),t.prototype.getShadowDim=function(){return"open"},t.prototype.brushSelector=function(e,t,n){var r=t.getItemLayout(e);return r&&n.rect(r.brushRect)},t.type="series.candlestick",t.dependencies=["xAxis","yAxis","grid"],t.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,clip:!0,itemStyle:{color:"#eb5454",color0:"#47b262",borderColor:"#eb5454",borderColor0:"#47b262",borderColorDoji:null,borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationEasing:"linear",animationDuration:300},t}(Wh);Z(DN,sN,!0);const RN=DN;function NN(e){e&&le(e.series)&&ee(e.series,(function(e){fe(e)&&"k"===e.type&&(e.type="candlestick")}))}var LN=["itemStyle","borderColor"],$N=["itemStyle","borderColor0"],jN=["itemStyle","borderColorDoji"],FN=["itemStyle","color"],BN=["itemStyle","color0"];const zN={seriesType:"candlestick",plan:Hh(),performRawSeries:!0,reset:function(e,t){function n(e,t){return t.get(e>0?FN:BN)}function r(e,t){return t.get(0===e?jN:e>0?LN:$N)}if(!t.isSeriesFiltered(e))return!e.pipelineContext.large&&{progress:function(e,t){for(var a;null!=(a=e.next());){var o=t.getItemModel(a),i=t.getItemLayout(a).sign,s=o.getItemStyle();s.fill=n(i,o),s.stroke=r(i,o)||s.fill,G(t.ensureUniqueItemVisual(a,"style"),s)}}}}};var WN={seriesType:"candlestick",plan:Hh(),reset:function(e){var t=e.coordinateSystem,n=e.getData(),r=function(e,t){var n,r=e.getBaseAxis(),a="category"===r.type?r.getBandWidth():(n=r.getExtent(),Math.abs(n[1]-n[0])/t.count()),o=Lo(Se(e.get("barMaxWidth"),a),a),i=Lo(Se(e.get("barMinWidth"),1),a),s=e.get("barWidth");return null!=s?Lo(s,a):Math.max(Math.min(a/2,o),i)}(e,n),a=["x","y"],o=n.getDimensionIndex(n.mapDimension(a[0])),i=te(n.mapDimensionsAll(a[1]),n.getDimensionIndex,n),s=i[0],l=i[1],u=i[2],c=i[3];if(n.setLayout({candleWidth:r,isSimpleBox:r<=1.3}),!(o<0||i.length<4))return{progress:e.pipelineContext.large?function(n,r){for(var a,i,d=Cx(4*n.count),p=0,f=[],h=[],m=r.getStore(),g=!!e.get(["itemStyle","borderColorDoji"]);null!=(i=n.next());){var v=m.get(o,i),y=m.get(s,i),b=m.get(l,i),w=m.get(u,i),x=m.get(c,i);isNaN(v)||isNaN(w)||isNaN(x)?(d[p++]=NaN,p+=3):(d[p++]=VN(m,i,y,b,l,g),f[0]=v,f[1]=w,a=t.dataToPoint(f,null,h),d[p++]=a?a[0]:NaN,d[p++]=a?a[1]:NaN,f[1]=x,a=t.dataToPoint(f,null,h),d[p++]=a?a[1]:NaN)}r.setLayout("largePoints",d)}:function(e,n){for(var a,i=n.getStore();null!=(a=e.next());){var d=i.get(o,a),p=i.get(s,a),f=i.get(l,a),h=i.get(u,a),m=i.get(c,a),g=Math.min(p,f),v=Math.max(p,f),y=A(g,d),b=A(v,d),w=A(h,d),x=A(m,d),S=[];C(S,b,0),C(S,y,1),S.push(k(x),k(b),k(w),k(y));var _=!!n.getItemModel(a).get(["itemStyle","borderColorDoji"]);n.setItemLayout(a,{sign:VN(i,a,p,f,l,_),initBaseline:p>f?b[1]:y[1],ends:S,brushRect:T(h,m,d)})}function A(e,n){var r=[];return r[0]=n,r[1]=e,isNaN(n)||isNaN(e)?[NaN,NaN]:t.dataToPoint(r)}function C(e,t,n){var a=t.slice(),o=t.slice();a[0]=Pg(a[0]+r/2,1,!1),o[0]=Pg(o[0]-r/2,1,!0),n?e.push(a,o):e.push(o,a)}function T(e,t,n){var a=A(e,n),o=A(t,n);return a[0]-=r/2,o[0]-=r/2,{x:a[0],y:a[1],width:r,height:o[1]-a[1]}}function k(e){return e[0]=Pg(e[0],1),e}}}}};function VN(e,t,n,r,a,o){return n>r?-1:n0?e.get(a,t-1)<=r?1:-1:1}const UN=WN;function HN(e,t){var n=t.rippleEffectColor||t.color;e.eachChild((function(e){e.attr({z:t.z,zlevel:t.zlevel,style:{stroke:"stroke"===t.brushType?n:null,fill:"fill"===t.brushType?n:null}})}))}var qN=function(e){function t(t,n){var r=e.call(this)||this,a=new mC(t,n),o=new wo;return r.add(a),r.add(o),r.updateData(t,n),r}return y(t,e),t.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},t.prototype.startEffectAnimation=function(e){for(var t=e.symbolType,n=e.color,r=e.rippleNumber,a=this.childAt(1),o=0;o0&&(o=this._getLineLength(r)/l*1e3),o!==this._period||i!==this._loop||s!==this._roundTrip){r.stopAnimation();var c=void 0;c=ue(u)?u(n):u,r.__t>0&&(c=-o*r.__t),this._animateSymbol(r,o,c,i,s)}this._period=o,this._loop=i,this._roundTrip=s}},t.prototype._animateSymbol=function(e,t,n,r,a){if(t>0){e.__t=0;var o=this,i=e.animate("",r).when(a?2*t:t,{__t:a?2:1}).delay(n).during((function(){o._updateSymbolPosition(e)}));r||i.done((function(){o.remove(e)})),i.start()}},t.prototype._getLineLength=function(e){return it(e.__p1,e.__cp1)+it(e.__cp1,e.__p2)},t.prototype._updateAnimationPoints=function(e,t){e.__p1=t[0],e.__p2=t[1],e.__cp1=t[2]||[(t[0][0]+t[1][0])/2,(t[0][1]+t[1][1])/2]},t.prototype.updateData=function(e,t,n){this.childAt(0).updateData(e,t,n),this._updateEffectSymbol(e,t)},t.prototype._updateSymbolPosition=function(e){var t=e.__p1,n=e.__p2,r=e.__cp1,a=e.__t<1?e.__t:2-e.__t,o=[e.x,e.y],i=o.slice(),s=tr,l=nr;o[0]=s(t[0],r[0],n[0],a),o[1]=s(t[1],r[1],n[1],a);var u=e.__t<1?l(t[0],r[0],n[0],a):l(n[0],r[0],t[0],1-a),c=e.__t<1?l(t[1],r[1],n[1],a):l(n[1],r[1],t[1],1-a);e.rotation=-Math.atan2(c,u)-Math.PI/2,"line"!==this._symbolType&&"rect"!==this._symbolType&&"roundRect"!==this._symbolType||(void 0!==e.__lastT&&e.__lastT=0&&!(r[o]<=t);o--);o=Math.min(o,a-2)}else{for(o=i;ot);o++);o=Math.min(o-1,a-2)}var s=(t-r[o])/(r[o+1]-r[o]),l=n[o],u=n[o+1];e.x=l[0]*(1-s)+s*u[0],e.y=l[1]*(1-s)+s*u[1];var c=e.__t<1?u[0]-l[0]:l[0]-u[0],d=e.__t<1?u[1]-l[1]:l[1]-u[1];e.rotation=-Math.atan2(d,c)-Math.PI/2,this._lastFrame=o,this._lastFramePercent=t,e.ignore=!1}},t}(QN);const tL=eL;var nL=function(){this.polyline=!1,this.curveness=0,this.segs=[]},rL=function(e){function t(t){var n=e.call(this,t)||this;return n._off=0,n.hoverDataIdx=-1,n}return y(t,e),t.prototype.reset=function(){this.notClear=!1,this._off=0},t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new nL},t.prototype.buildPath=function(e,t){var n,r=t.segs,a=t.curveness;if(t.polyline)for(n=this._off;n0){e.moveTo(r[n++],r[n++]);for(var i=1;i0){var d=(s+u)/2-(l-c)*a,p=(l+c)/2-(u-s)*a;e.quadraticCurveTo(d,p,u,c)}else e.lineTo(u,c)}this.incremental&&(this._off=n,this.notClear=!0)},t.prototype.findDataIndex=function(e,t){var n=this.shape,r=n.segs,a=n.curveness,o=this.style.lineWidth;if(n.polyline)for(var i=0,s=0;s0)for(var u=r[s++],c=r[s++],d=1;d0){if(Js(u,c,(u+p)/2-(c-f)*a,(c+f)/2-(p-u)*a,p,f,o,e,t))return i}else if(Qs(u,c,p,f,o,e,t))return i;i++}return-1},t.prototype.contain=function(e,t){var n=this.transformCoordToLocal(e,t),r=this.getBoundingRect();return e=n[0],t=n[1],r.contain(e,t)?(this.hoverDataIdx=this.findDataIndex(e,t))>=0:(this.hoverDataIdx=-1,!1)},t.prototype.getBoundingRect=function(){var e=this._rect;if(!e){for(var t=this.shape.segs,n=1/0,r=1/0,a=-1/0,o=-1/0,i=0;i0&&(o.dataIndex=n+e.__startIndex)}))},e.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},e}();var oL={seriesType:"lines",plan:Hh(),reset:function(e){var t=e.coordinateSystem;if(t){var n=e.get("polyline"),r=e.pipelineContext.large;return{progress:function(a,o){var i=[];if(r){var s=void 0,l=a.end-a.start;if(n){for(var u=0,c=a.start;c0&&(l||s.configLayer(o,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(i/10+.9,1),0)})),a.updateData(r);var u=e.get("clip",!0)&&DC(e.coordinateSystem,!1,e);u?this.group.setClipPath(u):this.group.removeClipPath(),this._lastZlevel=o,this._finished=!0},t.prototype.incrementalPrepareRender=function(e,t,n){var r=e.getData();this._updateLineDraw(r,e).incrementalPrepareUpdate(r),this._clearLayer(n),this._finished=!1},t.prototype.incrementalRender=function(e,t,n){this._lineDraw.incrementalUpdate(e,t.getData()),this._finished=e.end===t.getData().count()},t.prototype.eachRendered=function(e){this._lineDraw&&this._lineDraw.eachRendered(e)},t.prototype.updateTransform=function(e,t,n){var r=e.getData(),a=e.pipelineContext;if(!this._finished||a.large||a.progressiveRender)return{update:!0};var o=iL.reset(e,t,n);o.progress&&o.progress({start:0,end:r.count(),count:r.count()},r),this._lineDraw.updateLayout(),this._clearLayer(n)},t.prototype._updateLineDraw=function(e,t){var n=this._lineDraw,r=this._showEffect(t),a=!!t.get("polyline"),o=t.pipelineContext.large;return n&&r===this._hasEffet&&a===this._isPolyline&&o===this._isLargeDraw||(n&&n.remove(),n=this._lineDraw=o?new aL:new AI(a?r?tL:JN:r?QN:wI),this._hasEffet=r,this._isPolyline=a,this._isLargeDraw=o),this.group.add(n.group),n},t.prototype._showEffect=function(e){return!!e.get(["effect","show"])},t.prototype._clearLayer=function(e){var t=e.getZr();"svg"===t.painter.getType()||null==this._lastZlevel||t.painter.getLayer(this._lastZlevel).clear(!0)},t.prototype.remove=function(e,t){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(t)},t.prototype.dispose=function(e,t){this.remove(e,t)},t.type="lines",t}(Jg);var lL="undefined"==typeof Uint32Array?Array:Uint32Array,uL="undefined"==typeof Float64Array?Array:Float64Array;function cL(e){var t=e.data;t&&t[0]&&t[0][0]&&t[0][0].coord&&(e.data=te(t,(function(e){var t={coords:[e[0].coord,e[1].coord]};return e[0].name&&(t.fromName=e[0].name),e[1].name&&(t.toName=e[1].name),q([t,e[0],e[1]])})))}var dL=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.visualStyleAccessPath="lineStyle",n.visualDrawType="stroke",n}return y(t,e),t.prototype.init=function(t){t.data=t.data||[],cL(t);var n=this._processFlatCoordsArray(t.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(t.data=new Float32Array(n.count)),e.prototype.init.apply(this,arguments)},t.prototype.mergeOption=function(t){if(cL(t),t.data){var n=this._processFlatCoordsArray(t.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(t.data=new Float32Array(n.count))}e.prototype.mergeOption.apply(this,arguments)},t.prototype.appendData=function(e){var t=this._processFlatCoordsArray(e.data);t.flatCoords&&(this._flatCoords?(this._flatCoords=Ne(this._flatCoords,t.flatCoords),this._flatCoordsOffset=Ne(this._flatCoordsOffset,t.flatCoordsOffset)):(this._flatCoords=t.flatCoords,this._flatCoordsOffset=t.flatCoordsOffset),e.data=new Float32Array(t.count)),this.getRawData().appendData(e.data)},t.prototype._getCoordsFromItemModel=function(e){var t=this.getData().getItemModel(e);return t.option instanceof Array?t.option:t.getShallow("coords")},t.prototype.getLineCoordsCount=function(e){return this._flatCoordsOffset?this._flatCoordsOffset[2*e+1]:this._getCoordsFromItemModel(e).length},t.prototype.getLineCoords=function(e,t){if(this._flatCoordsOffset){for(var n=this._flatCoordsOffset[2*e],r=this._flatCoordsOffset[2*e+1],a=0;a ")})},t.prototype.preventIncremental=function(){return!!this.get(["effect","show"])},t.prototype.getProgressive=function(){var e=this.option.progressive;return null==e?this.option.large?1e4:this.get("progressive"):e},t.prototype.getProgressiveThreshold=function(){var e=this.option.progressiveThreshold;return null==e?this.option.large?2e4:this.get("progressiveThreshold"):e},t.prototype.getZLevelKey=function(){var e=this.getModel("effect"),t=e.get("trailLength");return this.getData().count()>this.getProgressiveThreshold()?this.id:e.get("show")&&t>0?t+"":""},t.type="series.lines",t.dependencies=["grid","polar","geo","calendar"],t.defaultOption={coordinateSystem:"geo",z:2,legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}},t}(Wh);const pL=dL;function fL(e){return e instanceof Array||(e=[e,e]),e}const hL={seriesType:"lines",reset:function(e){var t=fL(e.get("symbol")),n=fL(e.get("symbolSize")),r=e.getData();return r.setVisual("fromSymbol",t&&t[0]),r.setVisual("toSymbol",t&&t[1]),r.setVisual("fromSymbolSize",n&&n[0]),r.setVisual("toSymbolSize",n&&n[1]),{dataEach:r.hasItemOption?function(e,t){var n=e.getItemModel(t),r=fL(n.getShallow("symbol",!0)),a=fL(n.getShallow("symbolSize",!0));r[0]&&e.setItemVisual(t,"fromSymbol",r[0]),r[1]&&e.setItemVisual(t,"toSymbol",r[1]),a[0]&&e.setItemVisual(t,"fromSymbolSize",a[0]),a[1]&&e.setItemVisual(t,"toSymbolSize",a[1])}:null}}};var mL=function(){function e(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var e=E.createCanvas();this.canvas=e}return e.prototype.update=function(e,t,n,r,a,o){var i=this._getBrush(),s=this._getGradient(a,"inRange"),l=this._getGradient(a,"outOfRange"),u=this.pointSize+this.blurSize,c=this.canvas,d=c.getContext("2d"),p=e.length;c.width=t,c.height=n;for(var f=0;f0){var C=o(v)?s:l;v>0&&(v=v*_+S),b[w++]=C[A],b[w++]=C[A+1],b[w++]=C[A+2],b[w++]=C[A+3]*v*256}else w+=4}return d.putImageData(y,0,0),c},e.prototype._getBrush=function(){var e=this._brushCanvas||(this._brushCanvas=E.createCanvas()),t=this.pointSize+this.blurSize,n=2*t;e.width=n,e.height=n;var r=e.getContext("2d");return r.clearRect(0,0,n,n),r.shadowOffsetX=n,r.shadowBlur=this.blurSize,r.shadowColor="#000",r.beginPath(),r.arc(-t,t,this.pointSize,0,2*Math.PI,!0),r.closePath(),r.fill(),e},e.prototype._getGradient=function(e,t){for(var n=this._gradientPixels,r=n[t]||(n[t]=new Uint8ClampedArray(1024)),a=[0,0,0,0],o=0,i=0;i<256;i++)e[t](i/255,!0,a),r[o++]=a[0],r[o++]=a[1],r[o++]=a[2],r[o++]=a[3];return r},e}();const gL=mL;function vL(e){var t=e.dimensions;return"lng"===t[0]&&"lat"===t[1]}var yL=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return y(t,e),t.prototype.render=function(e,t,n){var r;t.eachComponent("visualMap",(function(t){t.eachTargetSeries((function(n){n===e&&(r=t)}))})),this._progressiveEls=null,this.group.removeAll();var a=e.coordinateSystem;"cartesian2d"===a.type||"calendar"===a.type?this._renderOnCartesianAndCalendar(e,n,0,e.getData().count()):vL(a)&&this._renderOnGeo(a,e,r,n)},t.prototype.incrementalPrepareRender=function(e,t,n){this.group.removeAll()},t.prototype.incrementalRender=function(e,t,n,r){var a=t.coordinateSystem;a&&(vL(a)?this.render(t,n,r):(this._progressiveEls=[],this._renderOnCartesianAndCalendar(t,r,e.start,e.end,!0)))},t.prototype.eachRendered=function(e){Ug(this._progressiveEls||this.group,e)},t.prototype._renderOnCartesianAndCalendar=function(e,t,n,r,a){var o,i,s,l,u=e.coordinateSystem,c=RC(u,"cartesian2d");if(c){var d=u.getAxis("x"),p=u.getAxis("y");o=d.getBandWidth()+.5,i=p.getBandWidth()+.5,s=d.scale.getExtent(),l=p.scale.getExtent()}for(var f=this.group,h=e.getData(),m=e.getModel(["emphasis","itemStyle"]).getItemStyle(),g=e.getModel(["blur","itemStyle"]).getItemStyle(),v=e.getModel(["select","itemStyle"]).getItemStyle(),y=e.get(["itemStyle","borderRadius"]),b=dc(e),w=e.getModel("emphasis"),x=w.get("focus"),S=w.get("blurScope"),_=w.get("disabled"),A=c?[h.mapDimension("x"),h.mapDimension("y"),h.mapDimension("value")]:[h.mapDimension("time"),h.mapDimension("value")],C=n;Cs[1]||Ml[1])continue;var P=u.dataToPoint([E,M]);T=new Il({shape:{x:P[0]-o/2,y:P[1]-i/2,width:o,height:i},style:k})}else{if(isNaN(h.get(A[1],C)))continue;T=new Il({z2:1,shape:u.dataToRect([h.get(A[0],C)]).contentShape,style:k})}if(h.hasItemOption){var O=h.getItemModel(C),I=O.getModel("emphasis");m=I.getModel("itemStyle").getItemStyle(),g=O.getModel(["blur","itemStyle"]).getItemStyle(),v=O.getModel(["select","itemStyle"]).getItemStyle(),y=O.get(["itemStyle","borderRadius"]),x=I.get("focus"),S=I.get("blurScope"),_=I.get("disabled"),b=dc(O)}T.shape.r=y;var D=e.getRawValue(C),R="-";D&&null!=D[2]&&(R=D[2]+""),cc(T,b,{labelFetcher:e,labelDataIndex:C,defaultOpacity:k.opacity,defaultText:R}),T.ensureState("emphasis").style=m,T.ensureState("blur").style=g,T.ensureState("select").style=v,Wu(T,x,S,_),T.incremental=a,a&&(T.states.emphasis.hoverLayer=!0),f.add(T),h.setItemGraphicEl(C,T),this._progressiveEls&&this._progressiveEls.push(T)}},t.prototype._renderOnGeo=function(e,t,n,r){var a=n.targetVisuals.inRange,o=n.targetVisuals.outOfRange,i=t.getData(),s=this._hmLayer||this._hmLayer||new gL;s.blurSize=t.get("blurSize"),s.pointSize=t.get("pointSize"),s.minOpacity=t.get("minOpacity"),s.maxOpacity=t.get("maxOpacity");var l=e.getViewRect().clone(),u=e.getRoamTransform();l.applyTransform(u);var c=Math.max(l.x,0),d=Math.max(l.y,0),p=Math.min(l.width+l.x,r.getWidth()),f=Math.min(l.height+l.y,r.getHeight()),h=p-c,m=f-d,g=[i.mapDimension("lng"),i.mapDimension("lat"),i.mapDimension("value")],v=i.mapArray(g,(function(t,n,r){var a=e.dataToPoint([t,n]);return a[0]-=c,a[1]-=d,a.push(r),a})),y=n.getExtent(),b="visualMap.continuous"===n.type?function(e,t){var n=e[1]-e[0];return t=[(t[0]-e[0])/n,(t[1]-e[0])/n],function(e){return e>=t[0]&&e<=t[1]}}(y,n.option.range):function(e,t,n){var r=e[1]-e[0],a=(t=te(t,(function(t){return{interval:[(t.interval[0]-e[0])/r,(t.interval[1]-e[0])/r]}}))).length,o=0;return function(e){var r;for(r=o;r=0;r--){var i;if((i=t[r].interval)[0]<=e&&e<=i[1]){o=r;break}}return r>=0&&r0?1:-1}(n,o,a,r,d),function(e,t,n,r,a,o,i,s,l,u){var c,d=l.valueDim,p=l.categoryDim,f=Math.abs(n[p.wh]),h=e.getItemVisual(t,"symbolSize");(c=le(h)?h.slice():null==h?["100%","100%"]:[h,h])[p.index]=Lo(c[p.index],f),c[d.index]=Lo(c[d.index],r?f:Math.abs(o)),u.symbolSize=c,(u.symbolScale=[c[0]/s,c[1]/s])[d.index]*=(l.isHorizontal?-1:1)*i}(e,t,a,o,0,d.boundingLength,d.pxSign,u,r,d),function(e,t,n,r,a){var o=e.get(xL)||0;o&&(_L.attr({scaleX:t[0],scaleY:t[1],rotation:n}),_L.updateTransform(),o/=_L.getLineScale(),o*=t[r.valueDim.index]),a.valueLineWidth=o||0}(n,d.symbolScale,l,r,d);var p=d.symbolSize,f=dy(n.get("symbolOffset"),p);return function(e,t,n,r,a,o,i,s,l,u,c,d){var p=c.categoryDim,f=c.valueDim,h=d.pxSign,m=Math.max(t[f.index]+s,0),g=m;if(r){var v=Math.abs(l),y=xe(e.get("symbolMargin"),"15%")+"",b=!1;y.lastIndexOf("!")===y.length-1&&(b=!0,y=y.slice(0,y.length-1));var w=Lo(y,t[f.index]),x=Math.max(m+2*w,0),S=b?0:2*w,_=ni(r),A=_?r:BL((v+S)/x);x=m+2*(w=(v-A*m)/2/(b?A:Math.max(A-1,1))),S=b?0:2*w,_||"fixed"===r||(A=u?BL((Math.abs(u)+S)/x):0),g=A*x-S,d.repeatTimes=A,d.symbolMargin=w}var C=h*(g/2),T=d.pathPosition=[];T[p.index]=n[p.wh]/2,T[f.index]="start"===i?C:"end"===i?l-C:l/2,o&&(T[0]+=o[0],T[1]+=o[1]);var k=d.bundlePosition=[];k[p.index]=n[p.xy],k[f.index]=n[f.xy];var E=d.barRectShape=G({},n);E[f.wh]=h*Math.max(Math.abs(n[f.wh]),Math.abs(T[f.index]+C)),E[p.wh]=n[p.wh];var M=d.clipShape={};M[p.xy]=-n[p.xy],M[p.wh]=c.ecSize[p.wh],M[f.xy]=0,M[f.wh]=n[f.wh]}(n,p,a,o,0,f,s,d.valueLineWidth,d.boundingLength,d.repeatCutLength,r,d),d}function CL(e,t){return e.toGlobalCoord(e.dataToCoord(e.scale.parse(t)))}function TL(e){var t=e.symbolPatternSize,n=uy(e.symbolType,-t/2,-t/2,t,t);return n.attr({culling:!0}),"image"!==n.type&&n.setStyle({strokeNoScale:!0}),n}function kL(e,t,n,r){var a=e.__pictorialBundle,o=n.symbolSize,i=n.valueLineWidth,s=n.pathPosition,l=t.valueDim,u=n.repeatTimes||0,c=0,d=o[t.valueDim.index]+i+2*n.symbolMargin;for($L(e,(function(e){e.__pictorialAnimationIndex=c,e.__pictorialRepeatTimes=u,c0:r<0)&&(a=u-1-e),t[l.index]=d*(a-u/2+.5)+s[l.index],{x:t[0],y:t[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation}}}function EL(e,t,n,r){var a=e.__pictorialBundle,o=e.__pictorialMainPath;o?jL(o,null,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation},n,r):(o=e.__pictorialMainPath=TL(n),a.add(o),jL(o,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:0,scaleY:0,rotation:n.rotation},{scaleX:n.symbolScale[0],scaleY:n.symbolScale[1]},n,r))}function ML(e,t,n){var r=G({},t.barRectShape),a=e.__pictorialBarRect;a?jL(a,null,{shape:r},t,n):((a=e.__pictorialBarRect=new Il({z2:2,shape:r,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}})).disableMorphing=!0,e.add(a))}function PL(e,t,n,r){if(n.symbolClip){var a=e.__pictorialClipPath,o=G({},n.clipShape),i=t.valueDim,s=n.animationModel,u=n.dataIndex;if(a)ec(a,{shape:o},s,u);else{o[i.wh]=0,a=new Il({shape:o}),e.__pictorialBundle.setClipPath(a),e.__pictorialClipPath=a;var c={};c[i.wh]=n.clipShape[i.wh],l[r?"updateProps":"initProps"](a,{shape:c},s,u)}}}function OL(e,t){var n=e.getItemModel(t);return n.getAnimationDelayParams=IL,n.isAnimationEnabled=DL,n}function IL(e){return{index:e.__pictorialAnimationIndex,count:e.__pictorialRepeatTimes}}function DL(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function RL(e,t,n,r){var a=new wo,o=new wo;return a.add(o),a.__pictorialBundle=o,o.x=n.bundlePosition[0],o.y=n.bundlePosition[1],n.symbolRepeat?kL(a,t,n):EL(a,0,n),ML(a,n,r),PL(a,t,n,r),a.__pictorialShapeStr=LL(e,n),a.__pictorialSymbolMeta=n,a}function NL(e,t,n,r){var a=r.__pictorialBarRect;a&&a.removeTextContent();var o=[];$L(r,(function(e){o.push(e)})),r.__pictorialMainPath&&o.push(r.__pictorialMainPath),r.__pictorialClipPath&&(n=null),ee(o,(function(e){rc(e,{scaleX:0,scaleY:0},n,t,(function(){r.parent&&r.parent.remove(r)}))})),e.setItemGraphicEl(t,null)}function LL(e,t){return[e.getItemVisual(t.dataIndex,"symbol")||"none",!!t.symbolRepeat,!!t.symbolClip].join(":")}function $L(e,t,n){ee(e.__pictorialBundle.children(),(function(r){r!==e.__pictorialBarRect&&t.call(n,r)}))}function jL(e,t,n,r,a,o){t&&e.attr(t),r.symbolClip&&!a?n&&e.attr(n):n&&l[a?"updateProps":"initProps"](e,n,r.animationModel,r.dataIndex,o)}function FL(e,t,n){var r=n.dataIndex,a=n.itemModel,o=a.getModel("emphasis"),i=o.getModel("itemStyle").getItemStyle(),s=a.getModel(["blur","itemStyle"]).getItemStyle(),l=a.getModel(["select","itemStyle"]).getItemStyle(),u=a.getShallow("cursor"),c=o.get("focus"),d=o.get("blurScope"),p=o.get("scale");$L(e,(function(e){if(e instanceof Al){var t=e.style;e.useStyle(G({image:t.image,x:t.x,y:t.y,width:t.width,height:t.height},n.style))}else e.useStyle(n.style);var r=e.ensureState("emphasis");r.style=i,p&&(r.scaleX=1.1*e.scaleX,r.scaleY=1.1*e.scaleY),e.ensureState("blur").style=s,e.ensureState("select").style=l,u&&(e.cursor=u),e.z2=n.z2}));var f=t.valueDim.posDesc[+(n.boundingLength>0)],h=e.__pictorialBarRect;h.ignoreClip=!0,cc(h,dc(a),{labelFetcher:t.seriesModel,labelDataIndex:r,defaultText:dC(t.seriesModel.getData(),r),inheritColor:n.style.fill,defaultOpacity:n.style.opacity,defaultOutsidePosition:f}),Wu(e,c,d,o.get("disabled"))}function BL(e){var t=Math.round(e);return Math.abs(e-t)<1e-4?t:Math.ceil(e)}const zL=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return y(t,e),t.prototype.render=function(e,t,n){var r=this.group,a=e.getData(),o=this._data,i=e.coordinateSystem,s=i.getBaseAxis().isHorizontal(),l=i.master.getRect(),u={ecSize:{width:n.getWidth(),height:n.getHeight()},seriesModel:e,coordSys:i,coordSysExtent:[[l.x,l.x+l.width],[l.y,l.y+l.height]],isHorizontal:s,valueDim:SL[+s],categoryDim:SL[1-+s]};a.diff(o).add((function(e){if(a.hasValue(e)){var t=OL(a,e),n=AL(a,e,t,u),o=RL(a,u,n);a.setItemGraphicEl(e,o),r.add(o),FL(o,u,n)}})).update((function(e,t){var n=o.getItemGraphicEl(t);if(a.hasValue(e)){var i=OL(a,e),s=AL(a,e,i,u),l=LL(a,s);n&&l!==n.__pictorialShapeStr&&(r.remove(n),a.setItemGraphicEl(e,null),n=null),n?function(e,t,n){var r=n.animationModel,a=n.dataIndex;ec(e.__pictorialBundle,{x:n.bundlePosition[0],y:n.bundlePosition[1]},r,a),n.symbolRepeat?kL(e,t,n,!0):EL(e,0,n,!0),ML(e,n,!0),PL(e,t,n,!0)}(n,u,s):n=RL(a,u,s,!0),a.setItemGraphicEl(e,n),n.__pictorialSymbolMeta=s,r.add(n),FL(n,u,s)}else r.remove(n)})).remove((function(e){var t=o.getItemGraphicEl(e);t&&NL(o,e,t.__pictorialSymbolMeta.animationModel,t)})).execute();var c=e.get("clip",!0)?DC(e.coordinateSystem,!1,e):null;return c?r.setClipPath(c):r.removeClipPath(),this._data=a,this.group},t.prototype.remove=function(e,t){var n=this.group,r=this._data;e.get("animation")?r&&r.eachItemGraphicEl((function(t){NL(r,Xl(t).dataIndex,e,t)})):n.removeAll()},t.type="pictorialBar",t}(Jg),WL=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n.defaultSymbol="roundRect",n}return y(t,e),t.prototype.getInitialData=function(t){return t.stack=null,e.prototype.getInitialData.apply(this,arguments)},t.type="series.pictorialBar",t.dependencies=["grid"],t.defaultOption=Fc(KC.defaultOption,{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",clip:!1,progressive:0,emphasis:{scale:!1},select:{itemStyle:{borderColor:"#212121"}}}),t}(KC);var VL=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._layers=[],n}return y(t,e),t.prototype.render=function(e,t,n){var r=e.getData(),a=this,o=this.group,i=e.getLayerSeries(),s=r.getLayout("layoutInfo"),l=s.rect,u=s.boundaryGap;function c(e){return e.name}o.x=0,o.y=l.y+u[0];var d=new _w(this._layersSeries||[],i,c,c),p=[];function f(t,n,s){var l=a._layers;if("remove"!==t){for(var u,c,d=[],f=[],h=i[n].indices,m=0;mo&&(o=s),r.push(s)}for(var u=0;uo&&(o=d)}return{y0:a,max:o}}(l),c=u.y0,d=n/u.max,p=o.length,f=o[0].indices.length,h=0;hC&&!Go(k-C)&&k0?(a.virtualPiece?a.virtualPiece.updateData(!1,r,e,t,n):(a.virtualPiece=new KL(r,e,t,n),l.add(a.virtualPiece)),o.piece.off("click"),a.virtualPiece.on("click",(function(e){a._rootToNode(o.parentNode)}))):a.virtualPiece&&(l.remove(a.virtualPiece),a.virtualPiece=null)}(i,s),this._initEvents(),this._oldChildren=c},t.prototype._initEvents=function(){var e=this;this.group.off("click"),this.group.on("click",(function(t){var n=!1;e.seriesModel.getViewRoot().eachNode((function(r){if(!n&&r.piece&&r.piece===t.target){var a=r.getModel().get("nodeClick");if("rootToNode"===a)e._rootToNode(r);else if("link"===a){var o=r.getModel(),i=o.get("link");i&&Rd(i,o.get("target",!0)||"_blank")}n=!0}}))}))},t.prototype._rootToNode=function(e){e!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:QL,from:this.uid,seriesId:this.seriesModel.id,targetNode:e})},t.prototype.containPoint=function(e,t){var n=t.getData().getItemLayout(0);if(n){var r=e[0]-n.cx,a=e[1]-n.cy,o=Math.sqrt(r*r+a*a);return o<=n.r&&o>=n.r0}},t.type="sunburst",t}(Jg);const e$=JL;function t$(e){var t=0;ee(e.children,(function(e){t$(e);var n=e.value;le(n)&&(n=n[0]),t+=n}));var n=e.value;le(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=t),n<0&&(n=0),le(e.value)?e.value[0]=n:e.value=n}const n$=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.ignoreStyleOnData=!0,n}return y(t,e),t.prototype.getInitialData=function(e,t){var n={name:e.name,children:e.data};t$(n);var r=this._levelModels=te(e.levels||[],(function(e){return new Lc(e,this,t)}),this),a=SP.createTree(n,this,(function(e){e.wrapMethod("getItemModel",(function(e,t){var n=a.getNodeByDataIndex(t),o=r[n.depth];return o&&(e.parentModel=o),e}))}));return a.data},t.prototype.optionUpdated=function(){this.resetViewRoot()},t.prototype.getDataParams=function(t){var n=e.prototype.getDataParams.apply(this,arguments),r=this.getData().tree.getNodeByDataIndex(t);return n.treePathInfo=TP(r,this),n},t.prototype.getLevelModel=function(e){return this._levelModels&&this._levelModels[e.depth]},t.prototype.getViewRoot=function(){return this._viewRoot},t.prototype.resetViewRoot=function(e){e?this._viewRoot=e:e=this._viewRoot;var t=this.getRawData().tree.root;e&&(e===t||t.contains(e))||(this._viewRoot=t)},t.prototype.enableAriaDecal=function(){DP(this)},t.type="series.sunburst",t.defaultOption={z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,stillShowZeroSum:!0,nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},emphasis:{focus:"descendant"},blur:{itemStyle:{opacity:.2},label:{opacity:.1}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,data:[],sort:"desc"},t}(Wh);var r$=Math.PI/180;function a$(e,t,n){t.eachSeriesByType(e,(function(e){var t=e.get("center"),r=e.get("radius");le(r)||(r=[0,r]),le(t)||(t=[t,t]);var a=n.getWidth(),o=n.getHeight(),i=Math.min(a,o),s=Lo(t[0],a),l=Lo(t[1],o),u=Lo(r[0],i/2),c=Lo(r[1],i/2),d=-e.get("startAngle")*r$,p=e.get("minAngle")*r$,f=e.getData().tree.root,h=e.getViewRoot(),m=h.depth,g=e.get("sort");null!=g&&o$(h,g);var v=0;ee(h.children,(function(e){!isNaN(e.getValue())&&v++}));var y=h.getValue(),b=Math.PI/(y||v)*2,w=h.depth>0,x=h.height-(w?-1:1),S=(c-u)/(x||1),_=e.get("clockwise"),A=e.get("stillShowZeroSum"),C=_?1:-1,T=function(t,n){if(t){var r=n;if(t!==f){var a=t.getValue(),o=0===y&&A?b:a*b;o1;)a=a.parentNode;var o=n.getColorFromPalette(a.name||a.dataIndex+"",t);return e.depth>1&&ce(o)&&(o=Er(o,(e.depth-1)/(r-1)*.5)),o}(a,e,r.root.height)),G(n.ensureUniqueItemVisual(a.dataIndex,"style"),o)}))}))}var s$={color:"fill",borderColor:"stroke"},l$={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},u$=xi();const c$=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return y(t,e),t.prototype.optionUpdated=function(){this.currentZLevel=this.get("zlevel",!0),this.currentZ=this.get("z",!0)},t.prototype.getInitialData=function(e,t){return ax(null,this)},t.prototype.getDataParams=function(t,n,r){var a=e.prototype.getDataParams.call(this,t,n);return r&&(a.info=u$(r).info),a},t.type="series.custom",t.dependencies=["grid","polar","geo","singleAxis","calendar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},t}(Wh);function d$(e,t){return t=t||[0,0],te(["x","y"],(function(n,r){var a=this.getAxis(n),o=t[r],i=e[r]/2;return"category"===a.type?a.getBandWidth():Math.abs(a.dataToCoord(o-i)-a.dataToCoord(o+i))}),this)}function p$(e,t){return t=t||[0,0],te([0,1],(function(n){var r=t[n],a=e[n]/2,o=[],i=[];return o[n]=r-a,i[n]=r+a,o[1-n]=i[1-n]=t[1-n],Math.abs(this.dataToPoint(o)[n]-this.dataToPoint(i)[n])}),this)}function f$(e,t){var n=this.getAxis(),r=t instanceof Array?t[0]:t,a=(e instanceof Array?e[0]:e)/2;return"category"===n.type?n.getBandWidth():Math.abs(n.dataToCoord(r-a)-n.dataToCoord(r+a))}function h$(e,t){return t=t||[0,0],te(["Radius","Angle"],(function(n,r){var a=this["get"+n+"Axis"](),o=t[r],i=e[r]/2,s="category"===a.type?a.getBandWidth():Math.abs(a.dataToCoord(o-i)-a.dataToCoord(o+i));return"Angle"===n&&(s=s*Math.PI/180),s}),this)}function m$(e,t,n,r){return e&&(e.legacy||!1!==e.legacy&&!n&&!r&&"tspan"!==t&&("text"===t||je(e,"text")))}function g$(e,t,n){var r,a,o,i=e;if("text"===t)o=i;else{o={},je(i,"text")&&(o.text=i.text),je(i,"rich")&&(o.rich=i.rich),je(i,"textFill")&&(o.fill=i.textFill),je(i,"textStroke")&&(o.stroke=i.textStroke),je(i,"fontFamily")&&(o.fontFamily=i.fontFamily),je(i,"fontSize")&&(o.fontSize=i.fontSize),je(i,"fontStyle")&&(o.fontStyle=i.fontStyle),je(i,"fontWeight")&&(o.fontWeight=i.fontWeight),a={type:"text",style:o,silent:!0},r={};var s=je(i,"textPosition");n?r.position=s?i.textPosition:"inside":s&&(r.position=i.textPosition),je(i,"textPosition")&&(r.position=i.textPosition),je(i,"textOffset")&&(r.offset=i.textOffset),je(i,"textRotation")&&(r.rotation=i.textRotation),je(i,"textDistance")&&(r.distance=i.textDistance)}return v$(o,e),ee(o.rich,(function(e){v$(e,e)})),{textConfig:r,textContent:a}}function v$(e,t){t&&(t.font=t.textFont||t.font,je(t,"textStrokeWidth")&&(e.lineWidth=t.textStrokeWidth),je(t,"textAlign")&&(e.align=t.textAlign),je(t,"textVerticalAlign")&&(e.verticalAlign=t.textVerticalAlign),je(t,"textLineHeight")&&(e.lineHeight=t.textLineHeight),je(t,"textWidth")&&(e.width=t.textWidth),je(t,"textHeight")&&(e.height=t.textHeight),je(t,"textBackgroundColor")&&(e.backgroundColor=t.textBackgroundColor),je(t,"textPadding")&&(e.padding=t.textPadding),je(t,"textBorderColor")&&(e.borderColor=t.textBorderColor),je(t,"textBorderWidth")&&(e.borderWidth=t.textBorderWidth),je(t,"textBorderRadius")&&(e.borderRadius=t.textBorderRadius),je(t,"textBoxShadowColor")&&(e.shadowColor=t.textBoxShadowColor),je(t,"textBoxShadowBlur")&&(e.shadowBlur=t.textBoxShadowBlur),je(t,"textBoxShadowOffsetX")&&(e.shadowOffsetX=t.textBoxShadowOffsetX),je(t,"textBoxShadowOffsetY")&&(e.shadowOffsetY=t.textBoxShadowOffsetY))}function y$(e,t,n){var r=e;r.textPosition=r.textPosition||n.position||"inside",null!=n.offset&&(r.textOffset=n.offset),null!=n.rotation&&(r.textRotation=n.rotation),null!=n.distance&&(r.textDistance=n.distance);var a=r.textPosition.indexOf("inside")>=0,o=e.fill||"#000";b$(r,t);var i=null==r.textFill;return a?i&&(r.textFill=n.insideFill||"#fff",!r.textStroke&&n.insideStroke&&(r.textStroke=n.insideStroke),!r.textStroke&&(r.textStroke=o),null==r.textStrokeWidth&&(r.textStrokeWidth=2)):(i&&(r.textFill=e.fill||n.outsideFill||"#000"),!r.textStroke&&n.outsideStroke&&(r.textStroke=n.outsideStroke)),r.text=t.text,r.rich=t.rich,ee(t.rich,(function(e){b$(e,e)})),r}function b$(e,t){t&&(je(t,"fill")&&(e.textFill=t.fill),je(t,"stroke")&&(e.textStroke=t.fill),je(t,"lineWidth")&&(e.textStrokeWidth=t.lineWidth),je(t,"font")&&(e.font=t.font),je(t,"fontStyle")&&(e.fontStyle=t.fontStyle),je(t,"fontWeight")&&(e.fontWeight=t.fontWeight),je(t,"fontSize")&&(e.fontSize=t.fontSize),je(t,"fontFamily")&&(e.fontFamily=t.fontFamily),je(t,"align")&&(e.textAlign=t.align),je(t,"verticalAlign")&&(e.textVerticalAlign=t.verticalAlign),je(t,"lineHeight")&&(e.textLineHeight=t.lineHeight),je(t,"width")&&(e.textWidth=t.width),je(t,"height")&&(e.textHeight=t.height),je(t,"backgroundColor")&&(e.textBackgroundColor=t.backgroundColor),je(t,"padding")&&(e.textPadding=t.padding),je(t,"borderColor")&&(e.textBorderColor=t.borderColor),je(t,"borderWidth")&&(e.textBorderWidth=t.borderWidth),je(t,"borderRadius")&&(e.textBorderRadius=t.borderRadius),je(t,"shadowColor")&&(e.textBoxShadowColor=t.shadowColor),je(t,"shadowBlur")&&(e.textBoxShadowBlur=t.shadowBlur),je(t,"shadowOffsetX")&&(e.textBoxShadowOffsetX=t.shadowOffsetX),je(t,"shadowOffsetY")&&(e.textBoxShadowOffsetY=t.shadowOffsetY),je(t,"textShadowColor")&&(e.textShadowColor=t.textShadowColor),je(t,"textShadowBlur")&&(e.textShadowBlur=t.textShadowBlur),je(t,"textShadowOffsetX")&&(e.textShadowOffsetX=t.textShadowOffsetX),je(t,"textShadowOffsetY")&&(e.textShadowOffsetY=t.textShadowOffsetY))}var w$={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},x$=oe(w$),S$=(ne(Xa,(function(e,t){return e[t]=1,e}),{}),Xa.join(", "),["","style","shape","extra"]),_$=xi();function A$(e,t,n,r,a){var o=e+"Animation",i=Zu(e,r,a)||{},s=_$(t).userDuring;return i.duration>0&&(i.during=s?ie(O$,{el:t,userDuring:s}):null,i.setToFinal=!0,i.scope=e),G(i,n[o]),i}function C$(e,t,n,r){var a=(r=r||{}).dataIndex,o=r.isInit,i=r.clearStyle,s=n.isAnimationEnabled(),l=_$(e),u=t.style;l.userDuring=t.during;var c={},d={};if(function(e,t,n){for(var r=0;r=0)){var d=e.getAnimationStyleProps(),p=d?d.style:null;if(p){!a&&(a=r.style={});var f=oe(n);for(u=0;u0&&e.animateFrom(p,f)}else!function(e,t,n,r,a){if(a){var o=A$("update",e,t,r,n);o.duration>0&&e.animateFrom(a,o)}}(e,t,a||0,n,c);T$(e,t),u?e.dirty():e.markRedraw()}function T$(e,t){for(var n=_$(e).leaveToProps,r=0;r=0){!o&&(o=r[e]={});var p=oe(i);for(c=0;cr[1]&&r.reverse(),{coordSys:{type:"polar",cx:e.cx,cy:e.cy,r:r[1],r0:r[0]},api:{coord:function(r){var a=t.dataToRadius(r[0]),o=n.dataToAngle(r[1]),i=e.coordToPoint([a,o]);return i.push(a,o*Math.PI/180),i},size:ie(h$,e)}}},calendar:function(e){var t=e.getRect(),n=e.getRangeInfo();return{coordSys:{type:"calendar",x:t.x,y:t.y,width:t.width,height:t.height,cellWidth:e.getCellWidth(),cellHeight:e.getCellHeight(),rangeInfo:{start:n.start,end:n.end,weeks:n.weeks,dayCount:n.allDay}},api:{coord:function(t,n){return e.dataToPoint(t,n)}}}}};function K$(e){return e instanceof vl}function Q$(e){return e instanceof ms}const Z$=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return y(t,e),t.prototype.render=function(e,t,n,r){this._progressiveEls=null;var a=this._data,o=e.getData(),i=this.group,s=rj(e,o,t,n);a||i.removeAll(),o.diff(a).add((function(t){oj(n,null,t,s(t,r),e,i,o)})).remove((function(t){var n=a.getItemGraphicEl(t);n&&k$(n,u$(n).option,e)})).update((function(t,l){var u=a.getItemGraphicEl(l);oj(n,u,t,s(t,r),e,i,o)})).execute();var l=e.get("clip",!0)?DC(e.coordinateSystem,!1,e):null;l?i.setClipPath(l):i.removeClipPath(),this._data=o},t.prototype.incrementalPrepareRender=function(e,t,n){this.group.removeAll(),this._data=null},t.prototype.incrementalRender=function(e,t,n,r,a){var o=t.getData(),i=rj(t,o,n,r),s=this._progressiveEls=[];function l(e){e.isGroup||(e.incremental=!0,e.ensureState("emphasis").hoverLayer=!0)}for(var u=e.start;u=0?t.getStore().get(a,n):void 0}var o=t.get(r.name,n),i=r&&r.ordinalMeta;return i?i.categories[o]:o},styleEmphasis:function(n,r){null==r&&(r=s);var a=y(r,F$).getItemStyle(),o=b(r,F$),i=pc(o,null,null,!0,!0);i.text=o.getShallow("show")?_e(e.getFormattedLabel(r,F$),e.getFormattedLabel(r,B$),dC(t,r)):null;var l=fc(o,null,!0);return x(n,a),a=y$(a,i,l),n&&w(a,n),a.legacy=!0,a},visual:function(e,n){if(null==n&&(n=s),je(s$,e)){var r=t.getItemVisual(n,"style");return r?r[s$[e]]:null}if(je(l$,e))return t.getItemVisual(n,e)},barLayout:function(e){if("cartesian2d"===o.type)return function(e){var t=[],n=e.axis,r="axis0";if("category"===n.type){for(var a=n.getBandWidth(),o=0;o=d;h--){var m=t.childAt(h);dj(t,m,a)}}}(e,d,n,r,a),i>=0?o.replaceAt(d,i):o.add(d),d}function sj(e,t,n){var r,a=u$(e),o=t.type,i=t.shape,s=t.style;return n.isUniversalTransitionEnabled()||null!=o&&o!==a.customGraphicType||"path"===o&&(r=i)&&(je(r,"pathData")||je(r,"d"))&&mj(i)!==a.customPathData||"image"===o&&je(s,"image")&&s.image!==a.customImagePath}function lj(e,t,n){var r=t?uj(e,t):e,a=t?cj(e,r,F$):e.style,o=e.type,i=r?r.textConfig:null,s=e.textContent,l=s?t?uj(s,t):s:null;if(a&&(n.isLegacy||m$(a,o,!!i,!!l))){n.isLegacy=!0;var u=g$(a,o,!t);!i&&u.textConfig&&(i=u.textConfig),!l&&u.textContent&&(l=u.textContent)}if(!t&&l){var c=l;!c.type&&(c.type="text")}var d=t?n[t]:n.normal;d.cfg=i,d.conOpt=l}function uj(e,t){return t?e?e[t]:null:e}function cj(e,t,n){var r=t&&t.style;return null==r&&n===F$&&e&&(r=e.styleEmphasis),r}function dj(e,t,n){t&&k$(t,u$(e).option,n)}function pj(e,t){var n=e&&e.name;return null!=n?n:G$+t}function fj(e,t){var n=this.context,r=null!=e?n.newChildren[e]:null,a=null!=t?n.oldChildren[t]:null;ij(n.api,a,n.dataIndex,r,n.seriesModel,n.group)}function hj(e){var t=this.context,n=t.oldChildren[e];n&&k$(n,u$(n).option,t.seriesModel)}function mj(e){return e&&(e.pathData||e.d)}var gj=xi(),vj=U,yj=ie,bj=function(){function e(){this._dragging=!1,this.animationThreshold=15}return e.prototype.render=function(e,t,n,r){var a=t.get("value"),o=t.get("status");if(this._axisModel=e,this._axisPointerModel=t,this._api=n,r||this._lastValue!==a||this._lastStatus!==o){this._lastValue=a,this._lastStatus=o;var i=this._group,s=this._handle;if(!o||"hide"===o)return i&&i.hide(),void(s&&s.hide());i&&i.show(),s&&s.show();var l={};this.makeElOption(l,a,e,t,n);var u=l.graphicKey;u!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=u;var c=this._moveAnimation=this.determineAnimation(e,t);if(i){var d=se(wj,t,c);this.updatePointerEl(i,l,d),this.updateLabelEl(i,l,d,t)}else i=this._group=new wo,this.createPointerEl(i,l,e,t),this.createLabelEl(i,l,e,t),n.getZr().add(i);Aj(i,t,!0),this._renderHandle(a)}},e.prototype.remove=function(e){this.clear(e)},e.prototype.dispose=function(e){this.clear(e)},e.prototype.determineAnimation=function(e,t){var n=t.get("animation"),r=e.axis,a="category"===r.type,o=t.get("snap");if(!o&&!a)return!1;if("auto"===n||null==n){var i=this.animationThreshold;if(a&&r.getBandWidth()>i)return!0;if(o){var s=Ek(e).seriesDataCount,l=r.getExtent();return Math.abs(l[0]-l[1])/s>i}return!1}return!0===n},e.prototype.makeElOption=function(e,t,n,r,a){},e.prototype.createPointerEl=function(e,t,n,r){var a=t.pointer;if(a){var o=gj(e).pointerEl=new l[a.type](vj(t.pointer));e.add(o)}},e.prototype.createLabelEl=function(e,t,n,r){if(t.label){var a=gj(e).labelEl=new Yl(vj(t.label));e.add(a),Sj(a,r)}},e.prototype.updatePointerEl=function(e,t,n){var r=gj(e).pointerEl;r&&t.pointer&&(r.setStyle(t.pointer.style),n(r,{shape:t.pointer.shape}))},e.prototype.updateLabelEl=function(e,t,n,r){var a=gj(e).labelEl;a&&(a.setStyle(t.label.style),n(a,{x:t.label.x,y:t.label.y}),Sj(a,r))},e.prototype._renderHandle=function(e){if(!this._dragging&&this.updateHandleTransform){var t,n=this._axisPointerModel,r=this._api.getZr(),a=this._handle,o=n.getModel("handle"),i=n.get("status");if(!o.get("show")||!i||"hide"===i)return a&&r.remove(a),void(this._handle=null);this._handle||(t=!0,a=this._handle=jg(o.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(e){$t(e.event)},onmousedown:yj(this._onHandleDragMove,this,0,0),drift:yj(this._onHandleDragMove,this),ondragend:yj(this._onHandleDragEnd,this)}),r.add(a)),Aj(a,n,!1),a.setStyle(o.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var s=o.get("size");le(s)||(s=[s,s]),a.scaleX=s[0]/2,a.scaleY=s[1]/2,av(this,"_doDispatchAxisPointer",o.get("throttle")||0,"fixRate"),this._moveHandleToValue(e,t)}},e.prototype._moveHandleToValue=function(e,t){wj(this._axisPointerModel,!t&&this._moveAnimation,this._handle,_j(this.getHandleTransform(e,this._axisModel,this._axisPointerModel)))},e.prototype._onHandleDragMove=function(e,t){var n=this._handle;if(n){this._dragging=!0;var r=this.updateHandleTransform(_j(n),[e,t],this._axisModel,this._axisPointerModel);this._payloadInfo=r,n.stopAnimation(),n.attr(_j(r)),gj(n).lastProp=null,this._doDispatchAxisPointer()}},e.prototype._doDispatchAxisPointer=function(){if(this._handle){var e=this._payloadInfo,t=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:e.cursorPoint[0],y:e.cursorPoint[1],tooltipOption:e.tooltipOption,axesInfo:[{axisDim:t.axis.dim,axisIndex:t.componentIndex}]})}},e.prototype._onHandleDragEnd=function(){if(this._dragging=!1,this._handle){var e=this._axisPointerModel.get("value");this._moveHandleToValue(e),this._api.dispatchAction({type:"hideTip"})}},e.prototype.clear=function(e){this._lastValue=null,this._lastStatus=null;var t=e.getZr(),n=this._group,r=this._handle;t&&n&&(this._lastGraphicKey=null,n&&t.remove(n),r&&t.remove(r),this._group=null,this._handle=null,this._payloadInfo=null),ov(this,"_doDispatchAxisPointer")},e.prototype.doClear=function(){},e.prototype.buildLabel=function(e,t,n){return{x:e[n=n||0],y:e[1-n],width:t[n],height:t[1-n]}},e}();function wj(e,t,n,r){xj(gj(n).lastProp,r)||(gj(n).lastProp=r,t?ec(n,r,e):(n.stopAnimation(),n.attr(r)))}function xj(e,t){if(fe(e)&&fe(t)){var n=!0;return ee(t,(function(t,r){n=n&&xj(e[r],t)})),!!n}return e===t}function Sj(e,t){e[t.get(["label","show"])?"show":"hide"]()}function _j(e){return{x:e.x||0,y:e.y||0,rotation:e.rotation||0}}function Aj(e,t,n){var r=t.get("z"),a=t.get("zlevel");e&&e.traverse((function(e){"group"!==e.type&&(null!=r&&(e.z=r),null!=a&&(e.zlevel=a),e.silent=n)}))}const Cj=bj;function Tj(e){var t,n=e.get("type"),r=e.getModel(n+"Style");return"line"===n?(t=r.getLineStyle()).fill=null:"shadow"===n&&((t=r.getAreaStyle()).stroke=null),t}function kj(e,t,n,r,a){var o=Ej(n.get("value"),t.axis,t.ecModel,n.get("seriesDataIndices"),{precision:n.get(["label","precision"]),formatter:n.get(["label","formatter"])}),i=n.getModel("label"),s=Cd(i.get("padding")||0),l=i.getFont(),u=to(o,l),c=a.position,d=u.width+s[1]+s[3],p=u.height+s[0]+s[2],f=a.align;"right"===f&&(c[0]-=d),"center"===f&&(c[0]-=d/2);var h=a.verticalAlign;"bottom"===h&&(c[1]-=p),"middle"===h&&(c[1]-=p/2),function(e,t,n,r){var a=r.getWidth(),o=r.getHeight();e[0]=Math.min(e[0]+t,a)-t,e[1]=Math.min(e[1]+n,o)-n,e[0]=Math.max(e[0],0),e[1]=Math.max(e[1],0)}(c,d,p,r);var m=i.get("backgroundColor");m&&"auto"!==m||(m=t.get(["axisLine","lineStyle","color"])),e.label={x:c[0],y:c[1],style:pc(i,{text:o,font:l,fill:i.getTextColor(),padding:s,backgroundColor:m}),z2:10}}function Ej(e,t,n,r,a){e=t.scale.parse(e);var o=t.scale.getLabel({value:e},{precision:a.precision}),i=a.formatter;if(i){var s={value:dS(t,{value:e}),axisDimension:t.dim,axisIndex:t.index,seriesData:[]};ee(r,(function(e){var t=n.getSeriesByIndex(e.seriesIndex),r=e.dataIndexInside,a=t&&t.getDataParams(r);a&&s.seriesData.push(a)})),ce(i)?o=i.replace("{value}",o):ue(i)&&(o=i(s))}return o}function Mj(e,t,n){var r=[1,0,0,1,0,0];return Gt(r,r,n.rotation),qt(r,r,n.position),Ig([e.dataToCoord(t),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],r)}function Pj(e,t,n,r,a,o){var i=Tk.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=a.get(["label","margin"]),kj(t,r,a,o,{position:Mj(r.axis,e,n),align:i.textAlign,verticalAlign:i.textVerticalAlign})}function Oj(e,t,n){return{x1:e[n=n||0],y1:e[1-n],x2:t[n],y2:t[1-n]}}function Ij(e,t,n){return{x:e[n=n||0],y:e[1-n],width:t[n],height:t[1-n]}}function Dj(e,t,n,r,a,o){return{cx:e,cy:t,r0:n,r,startAngle:a,endAngle:o,clockwise:!0}}var Rj=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return y(t,e),t.prototype.makeElOption=function(e,t,n,r,a){var o=n.axis,i=o.grid,s=r.get("type"),l=Nj(i,o).getOtherAxis(o).getGlobalExtent(),u=o.toGlobalCoord(o.dataToCoord(t,!0));if(s&&"none"!==s){var c=Tj(r),d=Lj[s](o,u,l);d.style=c,e.graphicKey=d.type,e.pointer=d}Pj(t,e,uk(i.model,n),n,r,a)},t.prototype.getHandleTransform=function(e,t,n){var r=uk(t.axis.grid.model,t,{labelInside:!1});r.labelMargin=n.get(["handle","margin"]);var a=Mj(t.axis,e,r);return{x:a[0],y:a[1],rotation:r.rotation+(r.labelDirection<0?Math.PI:0)}},t.prototype.updateHandleTransform=function(e,t,n,r){var a=n.axis,o=a.grid,i=a.getGlobalExtent(!0),s=Nj(o,a).getOtherAxis(a).getGlobalExtent(),l="x"===a.dim?0:1,u=[e.x,e.y];u[l]+=t[l],u[l]=Math.min(i[1],u[l]),u[l]=Math.max(i[0],u[l]);var c=(s[1]+s[0])/2,d=[c,c];return d[l]=u[l],{x:u[0],y:u[1],rotation:e.rotation,cursorPoint:d,tooltipOption:[{verticalAlign:"middle"},{align:"center"}][l]}},t}(Cj);function Nj(e,t){var n={};return n[t.dim+"AxisIndex"]=t.index,e.getCartesian(n)}var Lj={line:function(e,t,n){return{type:"Line",subPixelOptimize:!0,shape:Oj([t,n[0]],[t,n[1]],$j(e))}},shadow:function(e,t,n){var r=Math.max(1,e.getBandWidth()),a=n[1]-n[0];return{type:"Rect",shape:Ij([t-r/2,n[0]],[r,a],$j(e))}}};function $j(e){return"x"===e.dim?0:1}const jj=Rj,Fj=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return y(t,e),t.type="axisPointer",t.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},t}(Yd);var Bj=xi(),zj=ee;function Wj(e,t,n){if(!x.node){var r=t.getZr();Bj(r).records||(Bj(r).records={}),function(e,t){function n(n,r){e.on(n,(function(n){var a=function(e){var t={showTip:[],hideTip:[]},n=function(r){var a=t[r.type];a?a.push(r):(r.dispatchAction=n,e.dispatchAction(r))};return{dispatchAction:n,pendings:t}}(t);zj(Bj(e).records,(function(e){e&&r(e,n,a.dispatchAction)})),function(e,t){var n,r=e.showTip.length,a=e.hideTip.length;r?n=e.showTip[r-1]:a&&(n=e.hideTip[a-1]),n&&(n.dispatchAction=null,t.dispatchAction(n))}(a.pendings,t)}))}Bj(e).initialized||(Bj(e).initialized=!0,n("click",se(Uj,"click")),n("mousemove",se(Uj,"mousemove")),n("globalout",Vj))}(r,t),(Bj(r).records[e]||(Bj(r).records[e]={})).handler=n}}function Vj(e,t,n){e.handler("leave",null,n)}function Uj(e,t,n,r){t.handler(e,n,r)}function Hj(e,t){if(!x.node){var n=t.getZr();(Bj(n).records||{})[e]&&(Bj(n).records[e]=null)}}var qj=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return y(t,e),t.prototype.render=function(e,t,n){var r=t.getComponent("tooltip"),a=e.get("triggerOn")||r&&r.get("triggerOn")||"mousemove|click";Wj("axisPointer",n,(function(e,t,n){"none"!==a&&("leave"===e||a.indexOf(e)>=0)&&n({type:"updateAxisPointer",currTrigger:e,x:t&&t.offsetX,y:t&&t.offsetY})}))},t.prototype.remove=function(e,t){Hj("axisPointer",t)},t.prototype.dispose=function(e,t){Hj("axisPointer",t)},t.type="axisPointer",t}(Uh);const Gj=qj;function Yj(e,t){var n,r=[],a=e.seriesIndex;if(null==a||!(n=t.getSeriesByIndex(a)))return{point:[]};var o=n.getData(),i=wi(o,e);if(null==i||i<0||le(i))return{point:[]};var s=o.getItemGraphicEl(i),l=n.coordinateSystem;if(n.getTooltipPosition)r=n.getTooltipPosition(i)||[];else if(l&&l.dataToPoint)if(e.isStacked){var u=l.getBaseAxis(),c=l.getOtherAxis(u).dim,d=u.dim,p="x"===c||"radius"===c?1:0,f=o.mapDimension(d),h=[];h[p]=o.get(f,i),h[1-p]=o.get(o.getCalculationInfo("stackResultDimension"),i),r=l.dataToPoint(h)||[]}else r=l.dataToPoint(o.getValues(te(l.dimensions,(function(e){return o.mapDimension(e)})),i))||[];else if(s){var m=s.getBoundingRect().clone();m.applyTransform(s.transform),r=[m.x+m.width/2,m.y+m.height/2]}return{point:r,el:s}}var Xj=xi();function Kj(e,t,n){var r=e.currTrigger,a=[e.x,e.y],o=e,i=e.dispatchAction||ie(n.dispatchAction,n),s=t.getComponent("axisPointer").coordSysAxesInfo;if(s){tF(a)&&(a=Yj({seriesIndex:o.seriesIndex,dataIndex:o.dataIndex},t).point);var l=tF(a),u=o.axesInfo,c=s.axesInfo,d="leave"===r||tF(a),p={},f={},h={list:[],map:{}},m={showPointer:se(Zj,f),showTooltip:se(Jj,h)};ee(s.coordSysMap,(function(e,t){var n=l||e.containPoint(a);ee(s.coordSysAxesInfo[t],(function(e,t){var r=e.axis,o=function(e,t){for(var n=0;n<(e||[]).length;n++){var r=e[n];if(t.axis.dim===r.axisDim&&t.axis.model.componentIndex===r.axisIndex)return r}}(u,e);if(!d&&n&&(!u||o)){var i=o&&o.value;null!=i||l||(i=r.pointToData(a)),null!=i&&Qj(e,i,m,!1,p)}}))}));var g={};return ee(c,(function(e,t){var n=e.linkGroup;n&&!f[t]&&ee(n.axesInfo,(function(t,r){var a=f[r];if(t!==e&&a){var o=a.value;n.mapper&&(o=e.axis.scale.parse(n.mapper(o,eF(t),eF(e)))),g[e.key]=o}}))})),ee(g,(function(e,t){Qj(c[t],e,m,!0,p)})),function(e,t,n){var r=n.axesInfo=[];ee(t,(function(t,n){var a=t.axisPointerModel.option,o=e[n];o?(!t.useHandle&&(a.status="show"),a.value=o.value,a.seriesDataIndices=(o.payloadBatch||[]).slice()):!t.useHandle&&(a.status="hide"),"show"===a.status&&r.push({axisDim:t.axis.dim,axisIndex:t.axis.model.componentIndex,value:a.value})}))}(f,c,p),function(e,t,n,r){if(!tF(t)&&e.list.length){var a=((e.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};r({type:"showTip",escapeConnect:!0,x:t[0],y:t[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:a.dataIndexInside,dataIndex:a.dataIndex,seriesIndex:a.seriesIndex,dataByCoordSys:e.list})}else r({type:"hideTip"})}(h,a,e,i),function(e,t,n){var r=n.getZr(),a="axisPointerLastHighlights",o=Xj(r)[a]||{},i=Xj(r)[a]={};ee(e,(function(e,t){var n=e.axisPointerModel.option;"show"===n.status&&e.triggerEmphasis&&ee(n.seriesDataIndices,(function(e){var t=e.seriesIndex+" | "+e.dataIndex;i[t]=e}))}));var s=[],l=[];ee(o,(function(e,t){!i[t]&&l.push(e)})),ee(i,(function(e,t){!o[t]&&s.push(e)})),l.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:l}),s.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:s})}(c,0,n),p}}function Qj(e,t,n,r,a){var o=e.axis;if(!o.scale.isBlank()&&o.containData(t))if(e.involveSeries){var i=function(e,t){var n=t.axis,r=n.dim,a=e,o=[],i=Number.MAX_VALUE,s=-1;return ee(t.seriesModels,(function(t,l){var u,c,d=t.getData().mapDimensionsAll(r);if(t.getAxisTooltipData){var p=t.getAxisTooltipData(d,e,n);c=p.dataIndices,u=p.nestestValue}else{if(!(c=t.getData().indicesOfNearest(d[0],e,"category"===n.type?.5:null)).length)return;u=t.getData().get(d[0],c[0])}if(null!=u&&isFinite(u)){var f=e-u,h=Math.abs(f);h<=i&&((h=0&&s<0)&&(i=h,s=f,a=u,o.length=0),ee(c,(function(e){o.push({seriesIndex:t.seriesIndex,dataIndexInside:e,dataIndex:t.getData().getRawIndex(e)})})))}})),{payloadBatch:o,snapToValue:a}}(t,e),s=i.payloadBatch,l=i.snapToValue;s[0]&&null==a.seriesIndex&&G(a,s[0]),!r&&e.snap&&o.containData(l)&&null!=l&&(t=l),n.showPointer(e,t,s),n.showTooltip(e,i,l)}else n.showPointer(e,t)}function Zj(e,t,n,r){e[t.key]={value:n,payloadBatch:r}}function Jj(e,t,n,r){var a=n.payloadBatch,o=t.axis,i=o.model,s=t.axisPointerModel;if(t.triggerTooltip&&a.length){var l=t.coordSys.model,u=Pk(l),c=e.map[u];c||(c=e.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},e.list.push(c)),c.dataByAxis.push({axisDim:o.dim,axisIndex:i.componentIndex,axisType:i.type,axisId:i.id,value:r,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:a.slice()})}}function eF(e){var t=e.axis.model,n={},r=n.axisDim=e.axis.dim;return n.axisIndex=n[r+"AxisIndex"]=t.componentIndex,n.axisName=n[r+"AxisName"]=t.name,n.axisId=n[r+"AxisId"]=t.id,n}function tF(e){return!e||null==e[0]||isNaN(e[0])||null==e[1]||isNaN(e[1])}function nF(e){Dk.registerAxisPointerClass("CartesianAxisPointer",jj),e.registerComponentModel(Fj),e.registerComponentView(Gj),e.registerPreprocessor((function(e){if(e){(!e.axisPointer||0===e.axisPointer.length)&&(e.axisPointer={});var t=e.axisPointer.link;t&&!le(t)&&(e.axisPointer.link=[t])}})),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,(function(e,t){e.getComponent("axisPointer").coordSysAxesInfo=function(e,t){var n={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return function(e,t,n){var r=t.getComponent("tooltip"),a=t.getComponent("axisPointer"),o=a.get("link",!0)||[],i=[];ee(n.getCoordinateSystems(),(function(n){if(n.axisPointerEnabled){var s=Pk(n.model),l=e.coordSysAxesInfo[s]={};e.coordSysMap[s]=n;var u=n.model.getModel("tooltip",r);if(ee(n.getAxes(),se(f,!1,null)),n.getTooltipAxes&&r&&u.get("show")){var c="axis"===u.get("trigger"),d="cross"===u.get(["axisPointer","type"]),p=n.getTooltipAxes(u.get(["axisPointer","axis"]));(c||d)&&ee(p.baseAxes,se(f,!d||"cross",c)),d&&ee(p.otherAxes,se(f,"cross",!1))}}function f(r,s,c){var d=c.model.getModel("axisPointer",a),p=d.get("show");if(p&&("auto"!==p||r||Mk(d))){null==s&&(s=d.get("triggerTooltip")),d=r?function(e,t,n,r,a,o){var i=t.getModel("axisPointer"),s={};ee(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],(function(e){s[e]=U(i.get(e))})),s.snap="category"!==e.type&&!!o,"cross"===i.get("type")&&(s.type="line");var l=s.label||(s.label={});if(null==l.show&&(l.show=!1),"cross"===a){var u=i.get(["label","show"]);if(l.show=null==u||u,!o){var c=s.lineStyle=i.get("crossStyle");c&&Y(l,c.textStyle)}}return e.model.getModel("axisPointer",new Lc(s,n,r))}(c,u,a,t,r,s):d;var f=d.get("snap"),h=d.get("triggerEmphasis"),m=Pk(c.model),g=s||f||"category"===c.type,v=e.axesInfo[m]={key:m,axis:c,coordSys:n,axisPointerModel:d,triggerTooltip:s,triggerEmphasis:h,involveSeries:g,snap:f,useHandle:Mk(d),seriesModels:[],linkGroup:null};l[m]=v,e.seriesInvolved=e.seriesInvolved||g;var y=function(e,t){for(var n=t.model,r=t.dim,a=0;ag?"left":"right",c=Math.abs(l[1]-v)/m<.3?"middle":l[1]>v?"top":"bottom"}return{position:l,align:u,verticalAlign:c}}(t,n,0,i,r.get(["label","margin"]));kj(e,n,r,a,p)},t}(Cj),aF={line:function(e,t,n,r){return"angle"===e.dim?{type:"Line",shape:Oj(t.coordToPoint([r[0],n]),t.coordToPoint([r[1],n]))}:{type:"Circle",shape:{cx:t.cx,cy:t.cy,r:n}}},shadow:function(e,t,n,r){var a=Math.max(1,e.getBandWidth()),o=Math.PI/180;return"angle"===e.dim?{type:"Sector",shape:Dj(t.cx,t.cy,r[0],r[1],(-n-a/2)*o,(a/2-n)*o)}:{type:"Sector",shape:Dj(t.cx,t.cy,n-a/2,n+a/2,0,2*Math.PI)}}};const oF=rF,iF=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return y(t,e),t.prototype.findAxisModel=function(e){var t;return this.ecModel.eachComponent(e,(function(e){e.getCoordSysModel()===this&&(t=e)}),this),t},t.type="polar",t.dependencies=["radiusAxis","angleAxis"],t.defaultOption={z:0,center:["50%","50%"],radius:"80%"},t}(Yd);var sF=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return y(t,e),t.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",Ci).models[0]},t.type="polarAxis",t}(Yd);Z(sF,gS);var lF=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return y(t,e),t.type="angleAxis",t}(sF),uF=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return y(t,e),t.type="radiusAxis",t}(sF),cF=function(e){function t(t,n){return e.call(this,"radius",t,n)||this}return y(t,e),t.prototype.pointToData=function(e,t){return this.polar.pointToData(e,t)["radius"===this.dim?0:1]},t}(YS);cF.prototype.dataToRadius=YS.prototype.dataToCoord,cF.prototype.radiusToData=YS.prototype.coordToData;const dF=cF;var pF=xi(),fF=function(e){function t(t,n){return e.call(this,"angle",t,n||[0,360])||this}return y(t,e),t.prototype.pointToData=function(e,t){return this.polar.pointToData(e,t)["radius"===this.dim?0:1]},t.prototype.calculateCategoryInterval=function(){var e=this,t=e.getLabelModel(),n=e.scale,r=n.getExtent(),a=n.count();if(r[1]-r[0]<1)return 0;var o=r[0],i=e.dataToCoord(o+1)-e.dataToCoord(o),s=Math.abs(i),l=to(null==o?"":o+"",t.getFont(),"center","top"),u=Math.max(l.height,7)/s;isNaN(u)&&(u=1/0);var c=Math.max(0,Math.floor(u)),d=pF(e.model),p=d.lastAutoInterval,f=d.lastTickCount;return null!=p&&null!=f&&Math.abs(p-c)<=1&&Math.abs(f-a)<=1&&p>c?c=p:(d.lastTickCount=a,d.lastAutoInterval=c),c},t}(YS);fF.prototype.dataToAngle=YS.prototype.dataToCoord,fF.prototype.angleToData=YS.prototype.coordToData;const hF=fF;var mF=["radius","angle"],gF=function(){function e(e){this.dimensions=mF,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new dF,this._angleAxis=new hF,this.axisPointerEnabled=!0,this.name=e||"",this._radiusAxis.polar=this._angleAxis.polar=this}return e.prototype.containPoint=function(e){var t=this.pointToCoord(e);return this._radiusAxis.contain(t[0])&&this._angleAxis.contain(t[1])},e.prototype.containData=function(e){return this._radiusAxis.containData(e[0])&&this._angleAxis.containData(e[1])},e.prototype.getAxis=function(e){return this["_"+e+"Axis"]},e.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},e.prototype.getAxesByScale=function(e){var t=[],n=this._angleAxis,r=this._radiusAxis;return n.scale.type===e&&t.push(n),r.scale.type===e&&t.push(r),t},e.prototype.getAngleAxis=function(){return this._angleAxis},e.prototype.getRadiusAxis=function(){return this._radiusAxis},e.prototype.getOtherAxis=function(e){var t=this._angleAxis;return e===t?this._radiusAxis:t},e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},e.prototype.getTooltipAxes=function(e){var t=null!=e&&"auto"!==e?this.getAxis(e):this.getBaseAxis();return{baseAxes:[t],otherAxes:[this.getOtherAxis(t)]}},e.prototype.dataToPoint=function(e,t){return this.coordToPoint([this._radiusAxis.dataToRadius(e[0],t),this._angleAxis.dataToAngle(e[1],t)])},e.prototype.pointToData=function(e,t){var n=this.pointToCoord(e);return[this._radiusAxis.radiusToData(n[0],t),this._angleAxis.angleToData(n[1],t)]},e.prototype.pointToCoord=function(e){var t=e[0]-this.cx,n=e[1]-this.cy,r=this.getAngleAxis(),a=r.getExtent(),o=Math.min(a[0],a[1]),i=Math.max(a[0],a[1]);r.inverse?o=i-360:i=o+360;var s=Math.sqrt(t*t+n*n);t/=s,n/=s;for(var l=Math.atan2(-n,t)/Math.PI*180,u=li;)l+=360*u;return[s,l]},e.prototype.coordToPoint=function(e){var t=e[0],n=e[1]/180*Math.PI;return[Math.cos(n)*t+this.cx,-Math.sin(n)*t+this.cy]},e.prototype.getArea=function(){var e=this.getAngleAxis(),t=this.getRadiusAxis().getExtent().slice();t[0]>t[1]&&t.reverse();var n=e.getExtent(),r=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:t[0],r:t[1],startAngle:-n[0]*r,endAngle:-n[1]*r,clockwise:e.inverse,contain:function(e,t){var n=e-this.cx,r=t-this.cy,a=n*n+r*r-1e-4,o=this.r,i=this.r0;return a<=o*o&&a>=i*i}}},e.prototype.convertToPixel=function(e,t,n){return vF(t)===this?this.dataToPoint(n):null},e.prototype.convertFromPixel=function(e,t,n){return vF(t)===this?this.pointToData(n):null},e}();function vF(e){var t=e.seriesModel,n=e.polarModel;return n&&n.coordinateSystem||t&&t.coordinateSystem}const yF=gF;function bF(e,t){var n=this,r=n.getAngleAxis(),a=n.getRadiusAxis();if(r.scale.setExtent(1/0,-1/0),a.scale.setExtent(1/0,-1/0),e.eachSeries((function(e){if(e.coordinateSystem===n){var t=e.getData();ee(mS(t,"radius"),(function(e){a.scale.unionExtentFromData(t,e)})),ee(mS(t,"angle"),(function(e){r.scale.unionExtentFromData(t,e)}))}})),lS(r.scale,r.model),lS(a.scale,a.model),"category"===r.type&&!r.onBand){var o=r.getExtent(),i=360/r.scale.count();r.inverse?o[1]+=i:o[1]-=i,r.setExtent(o[0],o[1])}}function wF(e,t){var n;if(e.type=t.get("type"),e.scale=uS(t),e.onBand=t.get("boundaryGap")&&"category"===e.type,e.inverse=t.get("inverse"),function(e){return"angleAxis"===e.mainType}(t)){e.inverse=e.inverse!==t.get("clockwise");var r=t.get("startAngle"),a=null!==(n=t.get("endAngle"))&&void 0!==n?n:r+(e.inverse?-360:360);e.setExtent(r,a)}t.axis=e,e.model=t}const xF={dimensions:mF,create:function(e,t){var n=[];return e.eachComponent("polar",(function(e,r){var a=new yF(r+"");a.update=bF;var o=a.getRadiusAxis(),i=a.getAngleAxis(),s=e.findAxisModel("radiusAxis"),l=e.findAxisModel("angleAxis");wF(o,s),wF(i,l),function(e,t,n){var r=t.get("center"),a=n.getWidth(),o=n.getHeight();e.cx=Lo(r[0],a),e.cy=Lo(r[1],o);var i=e.getRadiusAxis(),s=Math.min(a,o)/2,l=t.get("radius");null==l?l=[0,"100%"]:le(l)||(l=[0,l]);var u=[Lo(l[0],s),Lo(l[1],s)];i.inverse?i.setExtent(u[1],u[0]):i.setExtent(u[0],u[1])}(a,e,t),n.push(a),e.coordinateSystem=a,a.model=e})),e.eachSeries((function(e){if("polar"===e.get("coordinateSystem")){var t=e.getReferringComponents("polar",Ci).models[0];e.coordinateSystem=t.coordinateSystem}})),n}};var SF=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function _F(e,t,n){t[1]>t[0]&&(t=t.slice().reverse());var r=e.coordToPoint([t[0],n]),a=e.coordToPoint([t[1],n]);return{x1:r[0],y1:r[1],x2:a[0],y2:a[1]}}function AF(e){return e.getRadiusAxis().inverse?0:1}function CF(e){var t=e[0],n=e[e.length-1];t&&n&&Math.abs(Math.abs(t.coord-n.coord)-360)<1e-4&&e.pop()}var TF=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.axisPointerClass="PolarAxisPointer",n}return y(t,e),t.prototype.render=function(e,t){if(this.group.removeAll(),e.get("show")){var n=e.axis,r=n.polar,a=r.getRadiusAxis().getExtent(),o=n.getTicksCoords(),i=n.getMinorTicksCoords(),s=te(n.getViewLabels(),(function(e){e=U(e);var t=n.scale,r="ordinal"===t.type?t.getRawOrdinalNumber(e.tickValue):e.tickValue;return e.coord=n.dataToCoord(r),e}));CF(s),CF(o),ee(SF,(function(t){!e.get([t,"show"])||n.scale.isBlank()&&"axisLine"!==t||kF[t](this.group,e,r,o,i,a,s)}),this)}},t.type="angleAxis",t}(Dk),kF={axisLine:function(e,t,n,r,a,o){var i,s=t.getModel(["axisLine","lineStyle"]),u=n.getAngleAxis(),c=Math.PI/180,d=u.getExtent(),p=AF(n),f=p?0:1,h=360===Math.abs(d[1]-d[0])?"Circle":"Arc";(i=0===o[f]?new l[h]({shape:{cx:n.cx,cy:n.cy,r:o[p],startAngle:-d[0]*c,endAngle:-d[1]*c,clockwise:u.inverse},style:s.getLineStyle(),z2:1,silent:!0}):new Nm({shape:{cx:n.cx,cy:n.cy,r:o[p],r0:o[f]},style:s.getLineStyle(),z2:1,silent:!0})).style.fill=null,e.add(i)},axisTick:function(e,t,n,r,a,o){var i=t.getModel("axisTick"),s=(i.get("inside")?-1:1)*i.get("length"),l=o[AF(n)],u=te(r,(function(e){return new qm({shape:_F(n,[l,l+s],e.coord)})}));e.add(Tg(u,{style:Y(i.getModel("lineStyle").getLineStyle(),{stroke:t.get(["axisLine","lineStyle","color"])})}))},minorTick:function(e,t,n,r,a,o){if(a.length){for(var i=t.getModel("axisTick"),s=t.getModel("minorTick"),l=(i.get("inside")?-1:1)*s.get("length"),u=o[AF(n)],c=[],d=0;dh?"left":"right",v=Math.abs(f[1]-m)/p<.3?"middle":f[1]>m?"top":"bottom";if(s&&s[d]){var y=s[d];fe(y)&&y.textStyle&&(i=new Lc(y.textStyle,l,l.ecModel))}var b=new Yl({silent:Tk.isLabelSilent(t),style:pc(i,{x:f[0],y:f[1],fill:i.getTextColor()||t.get(["axisLine","lineStyle","color"]),text:r.formattedLabel,align:g,verticalAlign:v})});if(e.add(b),c){var w=Tk.makeAxisEventDataBase(t);w.targetType="axisLabel",w.value=r.rawLabel,Xl(b).eventData=w}}),this)},splitLine:function(e,t,n,r,a,o){var i=t.getModel("splitLine").getModel("lineStyle"),s=i.get("color"),l=0;s=s instanceof Array?s:[s];for(var u=[],c=0;c=0?"p":"n",k=x;y&&(r[s][C]||(r[s][C]={p:x,n:x}),k=r[s][C][T]);var E=void 0,M=void 0,P=void 0,O=void 0;if("radius"===d.dim){var I=d.dataToCoord(A)-x,D=o.dataToCoord(C);Math.abs(I)=O})}}}))};var $F={startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:0}},jF={splitNumber:5},FF=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return y(t,e),t.type="polar",t}(Uh);function BF(e,t){t=t||{};var n=e.coordinateSystem,r=e.axis,a={},o=r.position,i=r.orient,s=n.getRect(),l=[s.x,s.x+s.width,s.y,s.y+s.height],u={horizontal:{top:l[2],bottom:l[3]},vertical:{left:l[0],right:l[1]}};a.position=["vertical"===i?u.vertical[o]:l[0],"horizontal"===i?u.horizontal[o]:l[3]],a.rotation=Math.PI/2*{horizontal:0,vertical:1}[i],a.labelDirection=a.tickDirection=a.nameDirection={top:-1,bottom:1,right:1,left:-1}[o],e.get(["axisTick","inside"])&&(a.tickDirection=-a.tickDirection),xe(t.labelInside,e.get(["axisLabel","inside"]))&&(a.labelDirection=-a.labelDirection);var c=t.rotate;return null==c&&(c=e.get(["axisLabel","rotate"])),a.labelRotation="top"===o?-c:c,a.z2=1,a}var zF=["axisLine","axisTickLabel","axisName"],WF=["splitArea","splitLine"],VF=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.axisPointerClass="SingleAxisPointer",n}return y(t,e),t.prototype.render=function(t,n,r,a){var o=this.group;o.removeAll();var i=this._axisGroup;this._axisGroup=new wo;var s=BF(t),l=new Tk(t,s);ee(zF,l.add,l),o.add(this._axisGroup),o.add(l.getGroup()),ee(WF,(function(e){t.get([e,"show"])&&UF[e](this,this.group,this._axisGroup,t)}),this),Ng(i,this._axisGroup,t),e.prototype.render.call(this,t,n,r,a)},t.prototype.remove=function(){Lk(this)},t.type="singleAxis",t}(Dk),UF={splitLine:function(e,t,n,r){var a=r.axis;if(!a.scale.isBlank()){var o=r.getModel("splitLine"),i=o.getModel("lineStyle"),s=i.get("color");s=s instanceof Array?s:[s];for(var l=i.get("width"),u=r.coordinateSystem.getRect(),c=a.isHorizontal(),d=[],p=0,f=a.getTicksCoords({tickModel:o}),h=[],m=[],g=0;g=t.y&&e[1]<=t.y+t.height:n.contain(n.toLocalCoord(e[1]))&&e[0]>=t.y&&e[0]<=t.y+t.height},e.prototype.pointToData=function(e){var t=this.getAxis();return[t.coordToData(t.toLocalCoord(e["horizontal"===t.orient?0:1]))]},e.prototype.dataToPoint=function(e){var t=this.getAxis(),n=this.getRect(),r=[],a="horizontal"===t.orient?0:1;return e instanceof Array&&(e=e[0]),r[a]=t.toGlobalCoord(t.dataToCoord(+e)),r[1-a]=0===a?n.y+n.height/2:n.x+n.width/2,r},e.prototype.convertToPixel=function(e,t,n){return ZF(t)===this?this.dataToPoint(n):null},e.prototype.convertFromPixel=function(e,t,n){return ZF(t)===this?this.pointToData(n):null},e}();function ZF(e){var t=e.seriesModel,n=e.singleAxisModel;return n&&n.coordinateSystem||t&&t.coordinateSystem}const JF=QF,eB={create:function(e,t){var n=[];return e.eachComponent("singleAxis",(function(r,a){var o=new JF(r,e,t);o.name="single_"+a,o.resize(r,t),r.coordinateSystem=o,n.push(o)})),e.eachSeries((function(e){if("singleAxis"===e.get("coordinateSystem")){var t=e.getReferringComponents("singleAxis",Ci).models[0];e.coordinateSystem=t&&t.coordinateSystem}})),n},dimensions:KF};var tB=["x","y"],nB=["width","height"],rB=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return y(t,e),t.prototype.makeElOption=function(e,t,n,r,a){var o=n.axis,i=o.coordinateSystem,s=iB(i,1-oB(o)),l=i.dataToPoint(t)[0],u=r.get("type");if(u&&"none"!==u){var c=Tj(r),d=aB[u](o,l,s);d.style=c,e.graphicKey=d.type,e.pointer=d}Pj(t,e,BF(n),n,r,a)},t.prototype.getHandleTransform=function(e,t,n){var r=BF(t,{labelInside:!1});r.labelMargin=n.get(["handle","margin"]);var a=Mj(t.axis,e,r);return{x:a[0],y:a[1],rotation:r.rotation+(r.labelDirection<0?Math.PI:0)}},t.prototype.updateHandleTransform=function(e,t,n,r){var a=n.axis,o=a.coordinateSystem,i=oB(a),s=iB(o,i),l=[e.x,e.y];l[i]+=t[i],l[i]=Math.min(s[1],l[i]),l[i]=Math.max(s[0],l[i]);var u=iB(o,1-i),c=(u[1]+u[0])/2,d=[c,c];return d[i]=l[i],{x:l[0],y:l[1],rotation:e.rotation,cursorPoint:d,tooltipOption:{verticalAlign:"middle"}}},t}(Cj),aB={line:function(e,t,n){return{type:"Line",subPixelOptimize:!0,shape:Oj([t,n[0]],[t,n[1]],oB(e))}},shadow:function(e,t,n){var r=e.getBandWidth(),a=n[1]-n[0];return{type:"Rect",shape:Ij([t-r/2,n[0]],[r,a],oB(e))}}};function oB(e){return e.isHorizontal()?0:1}function iB(e,t){var n=e.getRect();return[n[tB[t]],n[tB[t]]+n[nB[t]]]}const sB=rB;var lB=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return y(t,e),t.type="single",t}(Uh);function uB(e,t){var n,r=e.cellSize;1===(n=le(r)?r:e.cellSize=[r,r]).length&&(n[1]=n[0]);var a=te([0,1],(function(e){return function(e,t){return null!=e[$d[t][0]]||null!=e[$d[t][1]]&&null!=e[$d[t][2]]}(t,e)&&(n[e]="auto"),null!=n[e]&&"auto"!==n[e]}));Vd(e,t,{type:"box",ignoreSize:a})}const cB=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return y(t,e),t.prototype.init=function(t,n,r){var a=Ud(t);e.prototype.init.apply(this,arguments),uB(t,a)},t.prototype.mergeOption=function(t){e.prototype.mergeOption.apply(this,arguments),uB(this.option,t)},t.prototype.getCellSize=function(){return this.option.cellSize},t.type="calendar",t.defaultOption={z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},t}(Yd);var dB=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return y(t,e),t.prototype.render=function(e,t,n){var r=this.group;r.removeAll();var a=e.coordinateSystem,o=a.getRangeInfo(),i=a.getOrient(),s=t.getLocaleModel();this._renderDayRect(e,o,r),this._renderLines(e,o,i,r),this._renderYearText(e,o,i,r),this._renderMonthText(e,s,i,r),this._renderWeekText(e,s,o,i,r)},t.prototype._renderDayRect=function(e,t,n){for(var r=e.coordinateSystem,a=e.getModel("itemStyle").getItemStyle(),o=r.getCellWidth(),i=r.getCellHeight(),s=t.start.time;s<=t.end.time;s=r.getNextNDay(s,1).time){var l=r.dataToRect([s],!1).tl,u=new Il({shape:{x:l[0],y:l[1],width:o,height:i},cursor:"default",style:a});n.add(u)}},t.prototype._renderLines=function(e,t,n,r){var a=this,o=e.coordinateSystem,i=e.getModel(["splitLine","lineStyle"]).getLineStyle(),s=e.get(["splitLine","show"]),l=i.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var u=t.start,c=0;u.time<=t.end.time;c++){p(u.formatedDate),0===c&&(u=o.getDateInfo(t.start.y+"-"+t.start.m));var d=u.date;d.setMonth(d.getMonth()+1),u=o.getDateInfo(d)}function p(t){a._firstDayOfMonth.push(o.getDateInfo(t)),a._firstDayPoints.push(o.dataToRect([t],!1).tl);var l=a._getLinePointsOfOneWeek(e,t,n);a._tlpoints.push(l[0]),a._blpoints.push(l[l.length-1]),s&&a._drawSplitline(l,i,r)}p(o.getNextNDay(t.end.time,1).formatedDate),s&&this._drawSplitline(a._getEdgesPoints(a._tlpoints,l,n),i,r),s&&this._drawSplitline(a._getEdgesPoints(a._blpoints,l,n),i,r)},t.prototype._getEdgesPoints=function(e,t,n){var r=[e[0].slice(),e[e.length-1].slice()],a="horizontal"===n?0:1;return r[0][a]=r[0][a]-t/2,r[1][a]=r[1][a]+t/2,r},t.prototype._drawSplitline=function(e,t,n){var r=new Wm({z2:20,shape:{points:e},style:t});n.add(r)},t.prototype._getLinePointsOfOneWeek=function(e,t,n){for(var r=e.coordinateSystem,a=r.getDateInfo(t),o=[],i=0;i<7;i++){var s=r.getNextNDay(a.time,i),l=r.dataToRect([s.time],!1);o[2*s.day]=l.tl,o[2*s.day+1]=l["horizontal"===n?"bl":"tr"]}return o},t.prototype._formatterLabel=function(e,t){return ce(e)&&e?(n=e,ee(t,(function(e,t){n=n.replace("{"+t+"}",e)})),n):ue(e)?e(t):t.nameMap;var n},t.prototype._yearTextPositionControl=function(e,t,n,r,a){var o=t[0],i=t[1],s=["center","bottom"];"bottom"===r?(i+=a,s=["center","top"]):"left"===r?o-=a:"right"===r?(o+=a,s=["center","top"]):i-=a;var l=0;return"left"!==r&&"right"!==r||(l=Math.PI/2),{rotation:l,x:o,y:i,style:{align:s[0],verticalAlign:s[1]}}},t.prototype._renderYearText=function(e,t,n,r){var a=e.getModel("yearLabel");if(a.get("show")){var o=a.get("margin"),i=a.get("position");i||(i="horizontal"!==n?"top":"left");var s=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],l=(s[0][0]+s[1][0])/2,u=(s[0][1]+s[1][1])/2,c="horizontal"===n?0:1,d={top:[l,s[c][1]],bottom:[l,s[1-c][1]],left:[s[1-c][0],u],right:[s[c][0],u]},p=t.start.y;+t.end.y>+t.start.y&&(p=p+"-"+t.end.y);var f=a.get("formatter"),h={start:t.start.y,end:t.end.y,nameMap:p},m=this._formatterLabel(f,h),g=new Yl({z2:30,style:pc(a,{text:m})});g.attr(this._yearTextPositionControl(g,d[i],n,i,o)),r.add(g)}},t.prototype._monthTextPositionControl=function(e,t,n,r,a){var o="left",i="top",s=e[0],l=e[1];return"horizontal"===n?(l+=a,t&&(o="center"),"start"===r&&(i="bottom")):(s+=a,t&&(i="middle"),"start"===r&&(o="right")),{x:s,y:l,align:o,verticalAlign:i}},t.prototype._renderMonthText=function(e,t,n,r){var a=e.getModel("monthLabel");if(a.get("show")){var o=a.get("nameMap"),i=a.get("margin"),s=a.get("position"),l=a.get("align"),u=[this._tlpoints,this._blpoints];o&&!ce(o)||(o&&(t=Gc(o)||t),o=t.get(["time","monthAbbr"])||[]);var c="start"===s?0:1,d="horizontal"===n?0:1;i="start"===s?-i:i;for(var p="center"===l,f=0;f=r.start.time&&n.timei.end.time&&e.reverse(),e},e.prototype._getRangeInfo=function(e){var t,n=[this.getDateInfo(e[0]),this.getDateInfo(e[1])];n[0].time>n[1].time&&(t=!0,n.reverse());var r=Math.floor(n[1].time/fB)-Math.floor(n[0].time/fB)+1,a=new Date(n[0].time),o=a.getDate(),i=n[1].date.getDate();a.setDate(o+r-1);var s=a.getDate();if(s!==i)for(var l=a.getTime()-n[1].time>0?1:-1;(s=a.getDate())!==i&&(a.getTime()-n[1].time)*l>0;)r-=l,a.setDate(s-l);var u=Math.floor((r+n[0].day+6)/7),c=t?1-u:u-1;return t&&n.reverse(),{range:[n[0].formatedDate,n[1].formatedDate],start:n[0],end:n[1],allDay:r,weeks:u,nthWeek:c,fweek:n[0].day,lweek:n[1].day}},e.prototype._getDateByWeeksAndDay=function(e,t,n){var r=this._getRangeInfo(n);if(e>r.weeks||0===e&&tr.lweek)return null;var a=7*(e-1)-r.fweek+t,o=new Date(r.start.time);return o.setDate(+r.start.d+a),this.getDateInfo(o)},e.create=function(t,n){var r=[];return t.eachComponent("calendar",(function(a){var o=new e(a,t,n);r.push(o),a.coordinateSystem=o})),t.eachSeries((function(e){"calendar"===e.get("coordinateSystem")&&(e.coordinateSystem=r[e.get("calendarIndex")||0])})),r},e.dimensions=["time","value"],e}();function mB(e){var t=e.calendarModel,n=e.seriesModel;return t?t.coordinateSystem:n?n.coordinateSystem:null}const gB=hB;function vB(e,t){var n;return ee(t,(function(t){null!=e[t]&&"auto"!==e[t]&&(n=!0)})),n}var yB=["transition","enterFrom","leaveTo"],bB=yB.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function wB(e,t,n){if(n&&(!e[n]&&t[n]&&(e[n]={}),e=e[n],t=t[n]),e&&t)for(var r=n?yB:bB,a=0;a=0;l--){var p,f,h;if(h=null!=(f=vi((p=n[l]).id,null))?a.get(f):null){var m=h.parent,g=(d=_B(m),{}),v=zd(h,p,m===r?{width:o,height:i}:{width:d.width,height:d.height},null,{hv:p.hv,boundingMode:p.bounding},g);if(!_B(h).isNew&&v){for(var y=p.transition,b={},w=0;w=0)?b[x]=S:h[x]=S}ec(h,b,e,0)}else h.attr(g)}}},t.prototype._clear=function(){var e=this,t=this._elMap;t.each((function(n){kB(n,_B(n).option,t,e._lastGraphicModel)})),this._elMap=Re()},t.prototype.dispose=function(){this._clear()},t.type="graphic",t}(Uh);function CB(e){var t=new(je(SB,e)?SB[e]:Sg(e))({});return _B(t).type=e,t}function TB(e,t,n,r){var a=CB(n);return t.add(a),r.set(e,a),_B(a).id=e,_B(a).isNew=!0,a}function kB(e,t,n,r){e&&e.parent&&("group"===e.type&&e.traverse((function(e){kB(e,t,n,r)})),k$(e,t,r),n.removeKey(_B(e).id))}function EB(e,t,n,r){e.isGroup||ee([["cursor",ms.prototype.cursor],["zlevel",r||0],["z",n||0],["z2",0]],(function(n){var r=n[0];je(t,r)?e[r]=Se(t[r],n[1]):null==e[r]&&(e[r]=n[1])})),ee(oe(t),(function(n){if(0===n.indexOf("on")){var r=t[n];e[n]=ue(r)?r:null}})),je(t,"draggable")&&(e.draggable=t.draggable),null!=t.name&&(e.name=t.name),null!=t.id&&(e.id=t.id)}var MB=["x","y","radius","angle","single"],PB=["cartesian2d","polar","singleAxis"];function OB(e){return e+"Axis"}function IB(e){var t=e.ecModel,n={infoList:[],infoMap:Re()};return e.eachTargetAxis((function(e,r){var a=t.getComponent(OB(e),r);if(a){var o=a.getCoordSysModel();if(o){var i=o.uid,s=n.infoMap.get(i);s||(s={model:o,axisModels:[]},n.infoList.push(s),n.infoMap.set(i,s)),s.axisModels.push(a)}}})),n}var DB=function(){function e(){this.indexList=[],this.indexMap=[]}return e.prototype.add=function(e){this.indexMap[e]||(this.indexList.push(e),this.indexMap[e]=!0)},e}(),RB=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._autoThrottle=!0,n._noTarget=!0,n._rangePropMode=["percent","percent"],n}return y(t,e),t.prototype.init=function(e,t,n){var r=NB(e);this.settledOption=r,this.mergeDefaultAndTheme(e,n),this._doInit(r)},t.prototype.mergeOption=function(e){var t=NB(e);H(this.option,e,!0),H(this.settledOption,t,!0),this._doInit(t)},t.prototype._doInit=function(e){var t=this.option;this._setDefaultThrottle(e),this._updateRangeUse(e);var n=this.settledOption;ee([["start","startValue"],["end","endValue"]],(function(e,r){"value"===this._rangePropMode[r]&&(t[e[0]]=n[e[0]]=null)}),this),this._resetTarget()},t.prototype._resetTarget=function(){var e=this.get("orient",!0),t=this._targetAxisInfoMap=Re();this._fillSpecifiedTargetAxis(t)?this._orient=e||this._makeAutoOrientByTargetAxis():(this._orient=e||"horizontal",this._fillAutoTargetAxisByOrient(t,this._orient)),this._noTarget=!0,t.each((function(e){e.indexList.length&&(this._noTarget=!1)}),this)},t.prototype._fillSpecifiedTargetAxis=function(e){var t=!1;return ee(MB,(function(n){var r=this.getReferringComponents(OB(n),Ti);if(r.specified){t=!0;var a=new DB;ee(r.models,(function(e){a.add(e.componentIndex)})),e.set(n,a)}}),this),t},t.prototype._fillAutoTargetAxisByOrient=function(e,t){var n=this.ecModel,r=!0;if(r){var a="vertical"===t?"y":"x";o(n.findComponents({mainType:a+"Axis"}),a)}function o(t,n){var a=t[0];if(a){var o=new DB;if(o.add(a.componentIndex),e.set(n,o),r=!1,"x"===n||"y"===n){var i=a.getReferringComponents("grid",Ci).models[0];i&&ee(t,(function(e){a.componentIndex!==e.componentIndex&&i===e.getReferringComponents("grid",Ci).models[0]&&o.add(e.componentIndex)}))}}}r&&o(n.findComponents({mainType:"singleAxis",filter:function(e){return e.get("orient",!0)===t}}),"single"),r&&ee(MB,(function(t){if(r){var a=n.findComponents({mainType:OB(t),filter:function(e){return"category"===e.get("type",!0)}});if(a[0]){var o=new DB;o.add(a[0].componentIndex),e.set(t,o),r=!1}}}),this)},t.prototype._makeAutoOrientByTargetAxis=function(){var e;return this.eachTargetAxis((function(t){!e&&(e=t)}),this),"y"===e?"vertical":"horizontal"},t.prototype._setDefaultThrottle=function(e){if(e.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var t=this.ecModel.option;this.option.throttle=t.animation&&t.animationDurationUpdate>0?100:20}},t.prototype._updateRangeUse=function(e){var t=this._rangePropMode,n=this.get("rangeMode");ee([["start","startValue"],["end","endValue"]],(function(r,a){var o=null!=e[r[0]],i=null!=e[r[1]];o&&!i?t[a]="percent":!o&&i?t[a]="value":n?t[a]=n[a]:o&&(t[a]="percent")}))},t.prototype.noTarget=function(){return this._noTarget},t.prototype.getFirstTargetAxisModel=function(){var e;return this.eachTargetAxis((function(t,n){null==e&&(e=this.ecModel.getComponent(OB(t),n))}),this),e},t.prototype.eachTargetAxis=function(e,t){this._targetAxisInfoMap.each((function(n,r){ee(n.indexList,(function(n){e.call(t,r,n)}))}))},t.prototype.getAxisProxy=function(e,t){var n=this.getAxisModel(e,t);if(n)return n.__dzAxisProxy},t.prototype.getAxisModel=function(e,t){var n=this._targetAxisInfoMap.get(e);if(n&&n.indexMap[t])return this.ecModel.getComponent(OB(e),t)},t.prototype.setRawRange=function(e){var t=this.option,n=this.settledOption;ee([["start","startValue"],["end","endValue"]],(function(r){null==e[r[0]]&&null==e[r[1]]||(t[r[0]]=n[r[0]]=e[r[0]],t[r[1]]=n[r[1]]=e[r[1]])}),this),this._updateRangeUse(e)},t.prototype.setCalculatedRange=function(e){var t=this.option;ee(["start","startValue","end","endValue"],(function(n){t[n]=e[n]}))},t.prototype.getPercentRange=function(){var e=this.findRepresentativeAxisProxy();if(e)return e.getDataPercentWindow()},t.prototype.getValueRange=function(e,t){if(null!=e||null!=t)return this.getAxisProxy(e,t).getDataValueWindow();var n=this.findRepresentativeAxisProxy();return n?n.getDataValueWindow():void 0},t.prototype.findRepresentativeAxisProxy=function(e){if(e)return e.__dzAxisProxy;for(var t,n=this._targetAxisInfoMap.keys(),r=0;r=0}(t)){var n=OB(this._dimName),r=t.getReferringComponents(n,Ci).models[0];r&&this._axisIndex===r.componentIndex&&e.push(t)}}),this),e},e.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},e.prototype.getMinMaxSpan=function(){return U(this._minMaxSpan)},e.prototype.calculateDataWindow=function(e){var t,n=this._dataExtent,r=this.getAxisModel().axis.scale,a=this._dataZoomModel.getRangePropMode(),o=[0,100],i=[],s=[];BB(["start","end"],(function(l,u){var c=e[l],d=e[l+"Value"];"percent"===a[u]?(null==c&&(c=o[u]),d=r.parse(No(c,o,n))):(t=!0,c=No(d=null==d?n[u]:r.parse(d),n,o)),s[u]=null==d||isNaN(d)?n[u]:d,i[u]=null==c||isNaN(c)?o[u]:c})),zB(s),zB(i);var l=this._minMaxSpan;function u(e,t,n,a,o){var i=o?"Span":"ValueSpan";_D(0,e,n,"all",l["min"+i],l["max"+i]);for(var s=0;s<2;s++)t[s]=No(e[s],n,a,!0),o&&(t[s]=r.parse(t[s]))}return t?u(s,i,n,o,!1):u(i,s,o,n,!0),{valueWindow:s,percentWindow:i}},e.prototype.reset=function(e){if(e===this._dataZoomModel){var t=this.getTargetSeriesModels();this._dataExtent=function(e,t,n){var r=[1/0,-1/0];BB(n,(function(e){!function(e,t,n){t&&ee(mS(t,n),(function(n){var r=t.getApproximateExtent(n);r[0]e[1]&&(e[1]=r[1])}))}(r,e.getData(),t)}));var a=e.getAxisModel(),o=oS(a.axis.scale,a,r).calculate();return[o.min,o.max]}(this,this._dimName,t),this._updateMinMaxSpan();var n=this.calculateDataWindow(e.settledOption);this._valueWindow=n.valueWindow,this._percentWindow=n.percentWindow,this._setAxisModel()}},e.prototype.filterData=function(e,t){if(e===this._dataZoomModel){var n=this._dimName,r=this.getTargetSeriesModels(),a=e.get("filterMode"),o=this._valueWindow;"none"!==a&&BB(r,(function(e){var t=e.getData(),r=t.mapDimensionsAll(n);if(r.length){if("weakFilter"===a){var i=t.getStore(),s=te(r,(function(e){return t.getDimensionIndex(e)}),t);t.filterSelf((function(e){for(var t,n,a,l=0;lo[1];if(c&&!d&&!p)return!0;c&&(a=!0),d&&(t=!0),p&&(n=!0)}return a&&t&&n}))}else BB(r,(function(n){if("empty"===a)e.setData(t=t.map(n,(function(e){return function(e){return e>=o[0]&&e<=o[1]}(e)?e:NaN})));else{var r={};r[n]=o,t.selectRange(r)}}));BB(r,(function(e){t.setApproximateExtent(o,e)}))}}))}},e.prototype._updateMinMaxSpan=function(){var e=this._minMaxSpan={},t=this._dataZoomModel,n=this._dataExtent;BB(["min","max"],(function(r){var a=t.get(r+"Span"),o=t.get(r+"ValueSpan");null!=o&&(o=this.getAxisModel().axis.scale.parse(o)),null!=o?a=No(n[0]+o,n,[0,100],!0):null!=a&&(o=No(a,[0,100],n,!0)-n[0]),e[r+"Span"]=a,e[r+"ValueSpan"]=o}),this)},e.prototype._setAxisModel=function(){var e=this.getAxisModel(),t=this._percentWindow,n=this._valueWindow;if(t){var r=zo(n,[0,500]);r=Math.min(r,20);var a=e.axis.scale.rawExtentInfo;0!==t[0]&&a.setDeterminedMinMax("min",+n[0].toFixed(r)),100!==t[1]&&a.setDeterminedMinMax("max",+n[1].toFixed(r)),a.freeze()}},e}();const VB=WB,UB={getTargetSeries:function(e){function t(t){e.eachComponent("dataZoom",(function(n){n.eachTargetAxis((function(r,a){var o=e.getComponent(OB(r),a);t(r,a,o,n)}))}))}t((function(e,t,n,r){n.__dzAxisProxy=null}));var n=[];t((function(t,r,a,o){a.__dzAxisProxy||(a.__dzAxisProxy=new VB(t,r,o,e),n.push(a.__dzAxisProxy))}));var r=Re();return ee(n,(function(e){ee(e.getTargetSeriesModels(),(function(e){r.set(e.uid,e)}))})),r},overallReset:function(e,t){e.eachComponent("dataZoom",(function(e){e.eachTargetAxis((function(t,n){e.getAxisProxy(t,n).reset(e)})),e.eachTargetAxis((function(n,r){e.getAxisProxy(n,r).filterData(e,t)}))})),e.eachComponent("dataZoom",(function(e){var t=e.findRepresentativeAxisProxy();if(t){var n=t.getDataPercentWindow(),r=t.getDataValueWindow();e.setCalculatedRange({start:n[0],end:n[1],startValue:r[0],endValue:r[1]})}}))}};var HB=!1;function qB(e){HB||(HB=!0,e.registerProcessor(e.PRIORITY.PROCESSOR.FILTER,UB),function(e){e.registerAction("dataZoom",(function(e,t){ee(function(e,t){var n,r=Re(),a=[],o=Re();e.eachComponent({mainType:"dataZoom",query:t},(function(e){o.get(e.uid)||s(e)}));do{n=!1,e.eachComponent("dataZoom",i)}while(n);function i(e){!o.get(e.uid)&&function(e){var t=!1;return e.eachTargetAxis((function(e,n){var a=r.get(e);a&&a[n]&&(t=!0)})),t}(e)&&(s(e),n=!0)}function s(e){o.set(e.uid,!0),a.push(e),e.eachTargetAxis((function(e,t){(r.get(e)||r.set(e,[]))[t]=!0}))}return a}(t,e),(function(t){t.setRawRange({start:e.start,end:e.end,startValue:e.startValue,endValue:e.endValue})}))}))}(e),e.registerSubTypeDefaulter("dataZoom",(function(){return"slider"})))}function GB(e){e.registerComponentModel($B),e.registerComponentView(FB),qB(e)}var YB=function(){},XB={};function KB(e,t){XB[e]=t}function QB(e){return XB[e]}const ZB=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return y(t,e),t.prototype.optionUpdated=function(){e.prototype.optionUpdated.apply(this,arguments);var t=this.ecModel;ee(this.option.feature,(function(e,n){var r=QB(n);r&&(r.getDefaultOption&&(r.defaultOption=r.getDefaultOption(t)),H(e,r.defaultOption))}))},t.type="toolbox",t.layoutMode={type:"box",ignoreSize:!0},t.defaultOption={show:!0,z:6,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1,position:"bottom"}},t}(Yd);function JB(e,t){var n=Cd(t.get("padding")),r=t.getItemStyle(["color","opacity"]);return r.fill=t.get("backgroundColor"),new Il({shape:{x:e.x-n[3],y:e.y-n[0],width:e.width+n[1]+n[3],height:e.height+n[0]+n[2],r:t.get("borderRadius")},style:r,silent:!0,z2:-1})}var ez=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return y(t,e),t.prototype.render=function(e,t,n,r){var a=this.group;if(a.removeAll(),e.get("show")){var o=+e.get("itemSize"),i="vertical"===e.get("orient"),s=e.get("feature")||{},l=this._features||(this._features={}),u=[];ee(s,(function(e,t){u.push(t)})),new _w(this._featureNames||[],u).add(c).update(c).remove(se(c,null)).execute(),this._featureNames=u,function(e,t,n){var r=t.getBoxLayoutParams(),a=t.get("padding"),o={width:n.getWidth(),height:n.getHeight()},i=Bd(r,o,a);Fd(t.get("orient"),e,t.get("itemGap"),i.width,i.height),zd(e,r,o,a)}(a,e,n),a.add(JB(a.getBoundingRect(),e)),i||a.eachChild((function(e){var t=e.__title,r=e.ensureState("emphasis"),i=r.textConfig||(r.textConfig={}),s=e.getTextContent(),l=s&&s.ensureState("emphasis");if(l&&!ue(l)&&t){var u=l.style||(l.style={}),c=to(t,Yl.makeFont(u)),d=e.x+a.x,p=!1;e.y+a.y+o+c.height>n.getHeight()&&(i.position="top",p=!0);var f=p?-5-c.height:o+10;d+c.width/2>n.getWidth()?(i.position=["100%",f],u.align="right"):d-c.width/2<0&&(i.position=[0,f],u.align="left")}}))}function c(c,d){var p,f=u[c],h=u[d],m=s[f],g=new Lc(m,e,e.ecModel);if(r&&null!=r.newTitle&&r.featureName===f&&(m.title=r.newTitle),f&&!h){if(function(e){return 0===e.indexOf("my")}(f))p={onclick:g.option.onclick,featureName:f};else{var v=QB(f);if(!v)return;p=new v}l[f]=p}else if(!(p=l[h]))return;p.uid=jc("toolbox-feature"),p.model=g,p.ecModel=t,p.api=n;var y=p instanceof YB;f||!h?!g.get("show")||y&&p.unusable?y&&p.remove&&p.remove(t,n):(function(r,s,l){var u,c,d=r.getModel("iconStyle"),p=r.getModel(["emphasis","iconStyle"]),f=s instanceof YB&&s.getIcons?s.getIcons():r.get("icon"),h=r.get("title")||{};ce(f)?(u={})[l]=f:u=f,ce(h)?(c={})[l]=h:c=h;var m=r.iconPaths={};ee(u,(function(l,u){var f=jg(l,{},{x:-o/2,y:-o/2,width:o,height:o});f.setStyle(d.getItemStyle()),f.ensureState("emphasis").style=p.getItemStyle();var h=new Yl({style:{text:c[u],align:p.get("textAlign"),borderRadius:p.get("textBorderRadius"),padding:p.get("textPadding"),fill:null,font:yc({fontStyle:p.get("textFontStyle"),fontFamily:p.get("textFontFamily"),fontSize:p.get("textFontSize"),fontWeight:p.get("textFontWeight")},t)},ignore:!0});f.setTextContent(h),Wg({el:f,componentModel:e,itemName:u,formatterParamsExtra:{title:c[u]}}),f.__title=c[u],f.on("mouseover",(function(){var t=p.getItemStyle(),r=i?null==e.get("right")&&"right"!==e.get("left")?"right":"left":null==e.get("bottom")&&"bottom"!==e.get("top")?"bottom":"top";h.setStyle({fill:p.get("textFill")||t.fill||t.stroke||"#000",backgroundColor:p.get("textBackgroundColor")}),f.setTextConfig({position:p.get("textPosition")||r}),h.ignore=!e.get("showTitle"),n.enterEmphasis(this)})).on("mouseout",(function(){"emphasis"!==r.get(["iconStatus",u])&&n.leaveEmphasis(this),h.hide()})),("emphasis"===r.get(["iconStatus",u])?Eu:Mu)(f),a.add(f),f.on("click",ie(s.onclick,s,t,n,u)),m[u]=f}))}(g,p,f),g.setIconStatus=function(e,t){var n=this.option,r=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[e]=t,r[e]&&("emphasis"===t?Eu:Mu)(r[e])},p instanceof YB&&p.render&&p.render(g,t,n,r)):y&&p.dispose&&p.dispose(t,n)}},t.prototype.updateView=function(e,t,n,r){ee(this._features,(function(e){e instanceof YB&&e.updateView&&e.updateView(e.model,t,n,r)}))},t.prototype.remove=function(e,t){ee(this._features,(function(n){n instanceof YB&&n.remove&&n.remove(e,t)})),this.group.removeAll()},t.prototype.dispose=function(e,t){ee(this._features,(function(n){n instanceof YB&&n.dispose&&n.dispose(e,t)}))},t.type="toolbox",t}(Uh);const tz=ez,nz=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return y(t,e),t.prototype.onclick=function(e,t){var n=this.model,r=n.get("name")||e.get("title.0.text")||"echarts",a="svg"===t.getZr().painter.getType(),o=a?"svg":n.get("type",!0)||"png",i=t.getConnectedDataURL({type:o,backgroundColor:n.get("backgroundColor",!0)||e.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")}),s=x.browser;if("function"!=typeof MouseEvent||!s.newEdge&&(s.ie||s.edge))if(window.navigator.msSaveOrOpenBlob||a){var l=i.split(","),u=l[0].indexOf("base64")>-1,c=a?decodeURIComponent(l[1]):l[1];u&&(c=window.atob(c));var d=r+"."+o;if(window.navigator.msSaveOrOpenBlob){for(var p=c.length,f=new Uint8Array(p);p--;)f[p]=c.charCodeAt(p);var h=new Blob([f]);window.navigator.msSaveOrOpenBlob(h,d)}else{var m=document.createElement("iframe");document.body.appendChild(m);var g=m.contentWindow,v=g.document;v.open("image/svg+xml","replace"),v.write(c),v.close(),g.focus(),v.execCommand("SaveAs",!0,d),document.body.removeChild(m)}}else{var y=n.get("lang"),b='',w=window.open();w.document.write(b),w.document.title=r}else{var S=document.createElement("a");S.download=r+"."+o,S.target="_blank",S.href=i;var _=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});S.dispatchEvent(_)}},t.getDefaultOption=function(e){return{show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:e.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:e.getLocaleModel().get(["toolbox","saveAsImage","lang"])}},t}(YB);var rz="__ec_magicType_stack__",az=[["line","bar"],["stack"]],oz=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return y(t,e),t.prototype.getIcons=function(){var e=this.model,t=e.get("icon"),n={};return ee(e.get("type"),(function(e){t[e]&&(n[e]=t[e])})),n},t.getDefaultOption=function(e){return{show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:e.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}}},t.prototype.onclick=function(e,t,n){var r=this.model,a=r.get(["seriesIndex",n]);if(iz[n]){var o,i={series:[]};ee(az,(function(e){K(e,n)>=0&&ee(e,(function(e){r.setIconStatus(e,"normal")}))})),r.setIconStatus(n,"emphasis"),e.eachComponent({mainType:"series",query:null==a?null:{seriesIndex:a}},(function(e){var t=e.subType,a=e.id,o=iz[n](t,a,e,r);o&&(Y(o,e.option),i.series.push(o));var s=e.coordinateSystem;if(s&&"cartesian2d"===s.type&&("line"===n||"bar"===n)){var l=s.getAxesByScale("ordinal")[0];if(l){var u=l.dim+"Axis",c=e.getReferringComponents(u,Ci).models[0].componentIndex;i[u]=i[u]||[];for(var d=0;d<=c;d++)i[u][c]=i[u][c]||{};i[u][c].boundaryGap="bar"===n}}}));var s=n;"stack"===n&&(o=H({stack:r.option.title.tiled,tiled:r.option.title.stack},r.option.title),"emphasis"!==r.get(["iconStatus",n])&&(s="tiled")),t.dispatchAction({type:"changeMagicType",currentType:s,newOption:i,newTitle:o,featureName:"magicType"})}},t}(YB),iz={line:function(e,t,n,r){if("bar"===e)return H({id:t,type:"line",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},r.get(["option","line"])||{},!0)},bar:function(e,t,n,r){if("line"===e)return H({id:t,type:"bar",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},r.get(["option","bar"])||{},!0)},stack:function(e,t,n,r){var a=n.get("stack")===rz;if("line"===e||"bar"===e)return r.setIconStatus("stack",a?"normal":"emphasis"),H({id:t,stack:a?"":rz},r.get(["option","stack"])||{},!0)}};aw({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},(function(e,t){t.mergeOption(e.newOption)}));const sz=oz;var lz=new Array(60).join("-"),uz="\t";function cz(e){return e.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}var dz=new RegExp("[\t]+","g");var pz=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return y(t,e),t.prototype.onclick=function(e,t){setTimeout((function(){t.dispatchAction({type:"hideTip"})}));var n=t.getDom(),r=this.model;this._dom&&n.removeChild(this._dom);var a=document.createElement("div");a.style.cssText="position:absolute;top:0;bottom:0;left:0;right:0;padding:5px",a.style.backgroundColor=r.get("backgroundColor")||"#fff";var o=document.createElement("h4"),i=r.get("lang")||[];o.innerHTML=i[0]||r.get("title"),o.style.cssText="margin:10px 20px",o.style.color=r.get("textColor");var s=document.createElement("div"),l=document.createElement("textarea");s.style.cssText="overflow:auto";var u=r.get("optionToContent"),c=r.get("contentToOption"),d=function(e){var t,n,r,a=function(e){var t={},n=[],r=[];return e.eachRawSeries((function(e){var a=e.coordinateSystem;if(!a||"cartesian2d"!==a.type&&"polar"!==a.type)n.push(e);else{var o=a.getBaseAxis();if("category"===o.type){var i=o.dim+"_"+o.index;t[i]||(t[i]={categoryAxis:o,valueAxis:a.getOtherAxis(o),series:[]},r.push({axisDim:o.dim,axisIndex:o.index})),t[i].series.push(e)}else n.push(e)}})),{seriesGroupByCategoryAxis:t,other:n,meta:r}}(e);return{value:re([(n=a.seriesGroupByCategoryAxis,r=[],ee(n,(function(e,t){var n=e.categoryAxis,a=e.valueAxis.dim,o=[" "].concat(te(e.series,(function(e){return e.name}))),i=[n.model.getCategories()];ee(e.series,(function(e){var t=e.getRawData();i.push(e.getRawData().mapArray(t.mapDimension(a),(function(e){return e})))}));for(var s=[o.join(uz)],l=0;l=0)return!0}(e)){var a=function(e){for(var t=e.split(/\n+/g),n=[],r=te(cz(t.shift()).split(dz),(function(e){return{name:e,data:[]}})),a=0;a=0)&&e(a,r._targetInfoList)}))}return e.prototype.setOutputRanges=function(e,t){return this.matchOutputRanges(e,t,(function(e,t,n){if((e.coordRanges||(e.coordRanges=[])).push(t),!e.coordRange){e.coordRange=t;var r=kz[e.brushType](0,n,t);e.__rangeOffset={offset:Mz[e.brushType](r.values,e.range,[1,1]),xyMinMax:r.xyMinMax}}})),e},e.prototype.matchOutputRanges=function(e,t,n){ee(e,(function(e){var r=this.findTargetInfo(e,t);r&&!0!==r&&ee(r.coordSyses,(function(r){var a=kz[e.brushType](1,r,e.range,!0);n(e,a.values,r,t)}))}),this)},e.prototype.setInputRanges=function(e,t){ee(e,(function(e){var n,r,a,o,i,s=this.findTargetInfo(e,t);if(e.range=e.range||[],s&&!0!==s){e.panelId=s.panelId;var l=kz[e.brushType](0,s.coordSys,e.coordRange),u=e.__rangeOffset;e.range=u?Mz[e.brushType](l.values,u.offset,(n=l.xyMinMax,r=u.xyMinMax,a=Oz(n),o=Oz(r),i=[a[0]/o[0],a[1]/o[1]],isNaN(i[0])&&(i[0]=1),isNaN(i[1])&&(i[1]=1),i)):l.values}}),this)},e.prototype.makePanelOpts=function(e,t){return te(this._targetInfoList,(function(n){var r=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:t?t(n):null,clipPath:OR(r),isTargetByCursor:DR(r,e,n.coordSysModel),getLinearBrushOtherExtent:IR(r)}}))},e.prototype.controlSeries=function(e,t,n){var r=this.findTargetInfo(e,n);return!0===r||r&&K(r.coordSyses,t.coordinateSystem)>=0},e.prototype.findTargetInfo=function(e,t){for(var n=this._targetInfoList,r=_z(t,e),a=0;ae[1]&&e.reverse(),e}function _z(e,t){return _i(e,t,{includeMainTypes:wz})}var Az={grid:function(e,t){var n=e.xAxisModels,r=e.yAxisModels,a=e.gridModels,o=Re(),i={},s={};(n||r||a)&&(ee(n,(function(e){var t=e.axis.grid.model;o.set(t.id,t),i[t.id]=!0})),ee(r,(function(e){var t=e.axis.grid.model;o.set(t.id,t),s[t.id]=!0})),ee(a,(function(e){o.set(e.id,e),i[e.id]=!0,s[e.id]=!0})),o.each((function(e){var a=e.coordinateSystem,o=[];ee(a.getCartesians(),(function(e,t){(K(n,e.getAxis("x").model)>=0||K(r,e.getAxis("y").model)>=0)&&o.push(e)})),t.push({panelId:"grid--"+e.id,gridModel:e,coordSysModel:e,coordSys:o[0],coordSyses:o,getPanelRect:Tz.grid,xAxisDeclared:i[e.id],yAxisDeclared:s[e.id]})})))},geo:function(e,t){ee(e.geoModels,(function(e){var n=e.coordinateSystem;t.push({panelId:"geo--"+e.id,geoModel:e,coordSysModel:e,coordSys:n,coordSyses:[n],getPanelRect:Tz.geo})}))}},Cz=[function(e,t){var n=e.xAxisModel,r=e.yAxisModel,a=e.gridModel;return!a&&n&&(a=n.axis.grid.model),!a&&r&&(a=r.axis.grid.model),a&&a===t.gridModel},function(e,t){var n=e.geoModel;return n&&n===t.geoModel}],Tz={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var e=this.coordSys,t=e.getBoundingRect().clone();return t.applyTransform(Og(e)),t}},kz={lineX:se(Ez,0),lineY:se(Ez,1),rect:function(e,t,n,r){var a=e?t.pointToData([n[0][0],n[1][0]],r):t.dataToPoint([n[0][0],n[1][0]],r),o=e?t.pointToData([n[0][1],n[1][1]],r):t.dataToPoint([n[0][1],n[1][1]],r),i=[Sz([a[0],o[0]]),Sz([a[1],o[1]])];return{values:i,xyMinMax:i}},polygon:function(e,t,n,r){var a=[[1/0,-1/0],[1/0,-1/0]];return{values:te(n,(function(n){var o=e?t.pointToData(n,r):t.dataToPoint(n,r);return a[0][0]=Math.min(a[0][0],o[0]),a[1][0]=Math.min(a[1][0],o[1]),a[0][1]=Math.max(a[0][1],o[0]),a[1][1]=Math.max(a[1][1],o[1]),o})),xyMinMax:a}}};function Ez(e,t,n,r){var a=n.getAxis(["x","y"][e]),o=Sz(te([0,1],(function(e){return t?a.coordToData(a.toLocalCoord(r[e]),!0):a.toGlobalCoord(a.dataToCoord(r[e]))}))),i=[];return i[e]=o,i[1-e]=[NaN,NaN],{values:o,xyMinMax:i}}var Mz={lineX:se(Pz,0),lineY:se(Pz,1),rect:function(e,t,n){return[[e[0][0]-n[0]*t[0][0],e[0][1]-n[0]*t[0][1]],[e[1][0]-n[1]*t[1][0],e[1][1]-n[1]*t[1][1]]]},polygon:function(e,t,n){return te(e,(function(e,r){return[e[0]-n[0]*t[r][0],e[1]-n[1]*t[r][1]]}))}};function Pz(e,t,n,r){return[t[0]-r[e]*n[0],t[1]-r[e]*n[1]]}function Oz(e){return e?[e[0][1]-e[0][0],e[1][1]-e[1][0]]:[NaN,NaN]}const Iz=xz;var Dz,Rz,Nz=ee,Lz=li+"toolbox-dataZoom_",$z=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return y(t,e),t.prototype.render=function(e,t,n,r){this._brushController||(this._brushController=new PR(n.getZr()),this._brushController.on("brush",ie(this._onBrush,this)).mount()),function(e,t,n,r,a){var o=n._isZoomActive;r&&"takeGlobalCursor"===r.type&&(o="dataZoomSelect"===r.key&&r.dataZoomSelectActive),n._isZoomActive=o,e.setIconStatus("zoom",o?"emphasis":"normal");var i=new Iz(Fz(e),t,{include:["grid"]}).makePanelOpts(a,(function(e){return e.xAxisDeclared&&!e.yAxisDeclared?"lineX":!e.xAxisDeclared&&e.yAxisDeclared?"lineY":"rect"}));n._brushController.setPanels(i).enableBrush(!(!o||!i.length)&&{brushType:"auto",brushStyle:e.getModel("brushStyle").getItemStyle()})}(e,t,this,r,n),function(e,t){e.setIconStatus("back",function(e){return vz(e).length}(t)>1?"emphasis":"normal")}(e,t)},t.prototype.onclick=function(e,t,n){jz[n].call(this)},t.prototype.remove=function(e,t){this._brushController&&this._brushController.unmount()},t.prototype.dispose=function(e,t){this._brushController&&this._brushController.dispose()},t.prototype._onBrush=function(e){var t=e.areas;if(e.isEnd&&t.length){var n={},r=this.ecModel;this._brushController.updateCovers([]),new Iz(Fz(this.model),r,{include:["grid"]}).matchOutputRanges(t,r,(function(e,t,n){if("cartesian2d"===n.type){var r=e.brushType;"rect"===r?(a("x",n,t[0]),a("y",n,t[1])):a({lineX:"x",lineY:"y"}[r],n,t)}})),function(e,t){var n=vz(e);mz(t,(function(t,r){for(var a=n.length-1;a>=0&&!n[a][r];a--);if(a<0){var o=e.queryComponents({mainType:"dataZoom",subType:"select",id:r})[0];if(o){var i=o.getPercentRange();n[0][r]={dataZoomId:r,start:i[0],end:i[1]}}}})),n.push(t)}(r,n),this._dispatchZoomAction(n)}function a(e,t,a){var o=t.getAxis(e),i=o.model,s=function(e,t,n){var r;return n.eachComponent({mainType:"dataZoom",subType:"select"},(function(n){n.getAxisModel(e,t.componentIndex)&&(r=n)})),r}(e,i,r),l=s.findRepresentativeAxisProxy(i).getMinMaxSpan();null==l.minValueSpan&&null==l.maxValueSpan||(a=_D(0,a.slice(),o.scale.getExtent(),0,l.minValueSpan,l.maxValueSpan)),s&&(n[s.id]={dataZoomId:s.id,startValue:a[0],endValue:a[1]})}},t.prototype._dispatchZoomAction=function(e){var t=[];Nz(e,(function(e,n){t.push(U(e))})),t.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:t})},t.getDefaultOption=function(e){return{show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:e.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}}},t}(YB),jz={zoom:function(){var e=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:e})},back:function(){this._dispatchZoomAction(function(e){var t=vz(e),n=t[t.length-1];t.length>1&&t.pop();var r={};return mz(n,(function(e,n){for(var a=t.length-1;a>=0;a--)if(e=t[a][n]){r[n]=e;break}})),r}(this.ecModel))}};function Fz(e){var t={xAxisIndex:e.get("xAxisIndex",!0),yAxisIndex:e.get("yAxisIndex",!0),xAxisId:e.get("xAxisId",!0),yAxisId:e.get("yAxisId",!0)};return null==t.xAxisIndex&&null==t.xAxisId&&(t.xAxisIndex="all"),null==t.yAxisIndex&&null==t.yAxisId&&(t.yAxisIndex="all"),t}Dz="dataZoom",Rz=function(e){var t=e.getComponent("toolbox",0),n=["feature","dataZoom"];if(t&&null!=t.get(n)){var r=t.getModel(n),a=[],o=_i(e,Fz(r));return Nz(o.xAxisModels,(function(e){return i(e,"xAxis","xAxisIndex")})),Nz(o.yAxisModels,(function(e){return i(e,"yAxis","yAxisIndex")})),a}function i(e,t,n){var o=e.componentIndex,i={type:"select",$fromToolbox:!0,filterMode:r.get("filterMode",!0)||"filter",id:Lz+t+o};i[n]=o,a.push(i)}},Te(null==vp.get(Dz)&&Rz),vp.set(Dz,Rz);const Bz=$z,zz=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return y(t,e),t.type="tooltip",t.dependencies=["axisPointer"],t.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},t}(Yd);function Wz(e){var t=e.get("confine");return null!=t?!!t:"richText"===e.get("renderMode")}function Vz(e){if(x.domSupported)for(var t=document.documentElement.style,n=0,r=e.length;n-1?(u+="top:50%",c+="translateY(-50%) rotate("+(i="left"===s?-225:-45)+"deg)"):(u+="left:50%",c+="translateX(-50%) rotate("+(i="top"===s?225:45)+"deg)");var d=i*Math.PI/180,p=l+a,f=p*Math.abs(Math.cos(d))+p*Math.abs(Math.sin(d)),h=t+" solid "+a+"px;";return'
'}(n,r,a)),ce(e))o.innerHTML=e+i;else if(e){o.innerHTML="",le(e)||(e=[e]);for(var s=0;s=0?this._tryShow(n,r):"leave"===t&&this._hide(r))}),this))},t.prototype._keepShow=function(){var e=this._tooltipModel,t=this._ecModel,n=this._api,r=e.get("triggerOn");if(null!=this._lastX&&null!=this._lastY&&"none"!==r&&"click"!==r){var a=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!n.isDisposed()&&a.manuallyShowTip(e,t,n,{x:a._lastX,y:a._lastY,dataByCoordSys:a._lastDataByCoordSys})}))}},t.prototype.manuallyShowTip=function(e,t,n,r){if(r.from!==this.uid&&!x.node&&n.getDom()){var a=iW(r,n);this._ticket="";var o=r.dataByCoordSys,i=function(e,t,n){var r=Ai(e).queryOptionMap,a=r.keys()[0];if(a&&"series"!==a){var o,i=ki(t,a,r.get(a),{useDefault:!1,enableAll:!1,enableNone:!1}).models[0];if(i)return n.getViewOfComponentModel(i).group.traverse((function(t){var n=Xl(t).tooltipConfig;if(n&&n.name===e.name)return o=t,!0})),o?{componentMainType:a,componentIndex:i.componentIndex,el:o}:void 0}}(r,t,n);if(i){var s=i.el.getBoundingRect().clone();s.applyTransform(i.el.transform),this._tryShow({offsetX:s.x+s.width/2,offsetY:s.y+s.height/2,target:i.el,position:r.position,positionDefault:"bottom"},a)}else if(r.tooltip&&null!=r.x&&null!=r.y){var l=rW;l.x=r.x,l.y=r.y,l.update(),Xl(l).tooltipConfig={name:null,option:r.tooltip},this._tryShow({offsetX:r.x,offsetY:r.y,target:l},a)}else if(o)this._tryShow({offsetX:r.x,offsetY:r.y,position:r.position,dataByCoordSys:o,tooltipOption:r.tooltipOption},a);else if(null!=r.seriesIndex){if(this._manuallyAxisShowTip(e,t,n,r))return;var u=Yj(r,t),c=u.point[0],d=u.point[1];null!=c&&null!=d&&this._tryShow({offsetX:c,offsetY:d,target:u.el,position:r.position,positionDefault:"bottom"},a)}else null!=r.x&&null!=r.y&&(n.dispatchAction({type:"updateAxisPointer",x:r.x,y:r.y}),this._tryShow({offsetX:r.x,offsetY:r.y,position:r.position,target:n.getZr().findHover(r.x,r.y).target},a))}},t.prototype.manuallyHideTip=function(e,t,n,r){var a=this._tooltipContent;this._tooltipModel&&a.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,r.from!==this.uid&&this._hide(iW(r,n))},t.prototype._manuallyAxisShowTip=function(e,t,n,r){var a=r.seriesIndex,o=r.dataIndex,i=t.getComponent("axisPointer").coordSysAxesInfo;if(null!=a&&null!=o&&null!=i){var s=t.getSeriesByIndex(a);if(s&&"axis"===oW([s.getData().getItemModel(o),s,(s.coordinateSystem||{}).model],this._tooltipModel).get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:a,dataIndex:o,position:r.position}),!0}},t.prototype._tryShow=function(e,t){var n=e.target;if(this._tooltipModel){this._lastX=e.offsetX,this._lastY=e.offsetY;var r=e.dataByCoordSys;if(r&&r.length)this._showAxisTooltip(r,e);else if(n){var a,o;if("legend"===Xl(n).ssrType)return;this._lastDataByCoordSys=null,Kv(n,(function(e){return null!=Xl(e).dataIndex?(a=e,!0):null!=Xl(e).tooltipConfig?(o=e,!0):void 0}),!0),a?this._showSeriesItemTooltip(e,a,t):o?this._showComponentItemTooltip(e,o,t):this._hide(t)}else this._lastDataByCoordSys=null,this._hide(t)}},t.prototype._showOrMove=function(e,t){var n=e.get("showDelay");t=ie(t,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(t,n):t()},t.prototype._showAxisTooltip=function(e,t){var n=this._ecModel,r=this._tooltipModel,a=[t.offsetX,t.offsetY],o=oW([t.tooltipOption],r),i=this._renderMode,s=[],l=yh("section",{blocks:[],noHeader:!0}),u=[],c=new Mh;ee(e,(function(e){ee(e.dataByAxis,(function(e){var t=n.getComponent(e.axisDim+"Axis",e.axisIndex),a=e.value;if(t&&null!=a){var o=Ej(a,t.axis,n,e.seriesDataIndices,e.valueLabelOpt),d=yh("section",{header:o,noHeader:!ke(o),sortBlocks:!0,blocks:[]});l.blocks.push(d),ee(e.seriesDataIndices,(function(l){var p=n.getSeriesByIndex(l.seriesIndex),f=l.dataIndexInside,h=p.getDataParams(f);if(!(h.dataIndex<0)){h.axisDim=e.axisDim,h.axisIndex=e.axisIndex,h.axisType=e.axisType,h.axisId=e.axisId,h.axisValue=dS(t.axis,{value:a}),h.axisValueLabel=o,h.marker=c.makeTooltipMarker("item",Dd(h.color),i);var m=If(p.formatTooltip(f,!0,null)),g=m.frag;if(g){var v=oW([p],r).get("valueFormatter");d.blocks.push(v?G({valueFormatter:v},g):g)}m.text&&u.push(m.text),s.push(h)}}))}}))})),l.blocks.reverse(),u.reverse();var d=t.position,p=o.get("order"),f=Ah(l,c,i,p,n.get("useUTC"),o.get("textStyle"));f&&u.unshift(f);var h="richText"===i?"\n\n":"
",m=u.join(h);this._showOrMove(o,(function(){this._updateContentNotChangedOnAxis(e,s)?this._updatePosition(o,d,a[0],a[1],this._tooltipContent,s):this._showTooltipContent(o,m,s,Math.random()+"",a[0],a[1],d,null,c)}))},t.prototype._showSeriesItemTooltip=function(e,t,n){var r=this._ecModel,a=Xl(t),o=a.seriesIndex,i=r.getSeriesByIndex(o),s=a.dataModel||i,l=a.dataIndex,u=a.dataType,c=s.getData(u),d=this._renderMode,p=e.positionDefault,f=oW([c.getItemModel(l),s,i&&(i.coordinateSystem||{}).model],this._tooltipModel,p?{position:p}:null),h=f.get("trigger");if(null==h||"item"===h){var m=s.getDataParams(l,u),g=new Mh;m.marker=g.makeTooltipMarker("item",Dd(m.color),d);var v=If(s.formatTooltip(l,!1,u)),y=f.get("order"),b=f.get("valueFormatter"),w=v.frag,x=w?Ah(b?G({valueFormatter:b},w):w,g,d,y,r.get("useUTC"),f.get("textStyle")):v.text,S="item_"+s.name+"_"+l;this._showOrMove(f,(function(){this._showTooltipContent(f,x,m,S,e.offsetX,e.offsetY,e.position,e.target,g)})),n({type:"showTip",dataIndexInside:l,dataIndex:c.getRawIndex(l),seriesIndex:o,from:this.uid})}},t.prototype._showComponentItemTooltip=function(e,t,n){var r="html"===this._renderMode,a=Xl(t),o=a.tooltipConfig.option||{},i=o.encodeHTMLContent;ce(o)&&(o={content:o,formatter:o},i=!0),i&&r&&o.content&&((o=U(o)).content=Et(o.content));var s=[o],l=this._ecModel.getComponent(a.componentMainType,a.componentIndex);l&&s.push(l),s.push({formatter:o.content});var u=e.positionDefault,c=oW(s,this._tooltipModel,u?{position:u}:null),d=c.get("content"),p=Math.random()+"",f=new Mh;this._showOrMove(c,(function(){var n=U(c.get("formatterParams")||{});this._showTooltipContent(c,d,n,p,e.offsetX,e.offsetY,e.position,t,f)})),n({type:"showTip",from:this.uid})},t.prototype._showTooltipContent=function(e,t,n,r,a,o,i,s,l){if(this._ticket="",e.get("showContent")&&e.get("show")){var u=this._tooltipContent;u.setEnterable(e.get("enterable"));var c=e.get("formatter");i=i||e.get("position");var d=t,p=this._getNearestPoint([a,o],n,e.get("trigger"),e.get("borderColor")).color;if(c)if(ce(c)){var f=e.ecModel.get("useUTC"),h=le(n)?n[0]:n;d=c,h&&h.axisType&&h.axisType.indexOf("time")>=0&&(d=id(h.axisValue,d,f)),d=Md(d,n,!0)}else if(ue(c)){var m=ie((function(t,r){t===this._ticket&&(u.setContent(r,l,e,p,i),this._updatePosition(e,i,a,o,u,n,s))}),this);this._ticket=r,d=c(n,r,m)}else d=c;u.setContent(d,l,e,p,i),u.show(e,p),this._updatePosition(e,i,a,o,u,n,s)}},t.prototype._getNearestPoint=function(e,t,n,r){return"axis"===n||le(t)?{color:r||("html"===this._renderMode?"#fff":"none")}:le(t)?void 0:{color:r||t.color||t.borderColor}},t.prototype._updatePosition=function(e,t,n,r,a,o,i){var s=this._api.getWidth(),l=this._api.getHeight();t=t||e.get("position");var u=a.getSize(),c=e.get("align"),d=e.get("verticalAlign"),p=i&&i.getBoundingRect().clone();if(i&&p.applyTransform(i.transform),ue(t)&&(t=t([n,r],o,a.el,p,{viewSize:[s,l],contentSize:u.slice()})),le(t))n=Lo(t[0],s),r=Lo(t[1],l);else if(fe(t)){var f=t;f.width=u[0],f.height=u[1];var h=Bd(f,{width:s,height:l});n=h.x,r=h.y,c=null,d=null}else if(ce(t)&&i){var m=function(e,t,n,r){var a=n[0],o=n[1],i=Math.ceil(Math.SQRT2*r)+8,s=0,l=0,u=t.width,c=t.height;switch(e){case"inside":s=t.x+u/2-a/2,l=t.y+c/2-o/2;break;case"top":s=t.x+u/2-a/2,l=t.y-o-i;break;case"bottom":s=t.x+u/2-a/2,l=t.y+c+i;break;case"left":s=t.x-a-i,l=t.y+c/2-o/2;break;case"right":s=t.x+u+i,l=t.y+c/2-o/2}return[s,l]}(t,p,u,e.get("borderWidth"));n=m[0],r=m[1]}else m=function(e,t,n,r,a,o,i){var s=n.getSize(),l=s[0],u=s[1];return null!=o&&(e+l+o+2>r?e-=l+o:e+=o),null!=i&&(t+u+i>a?t-=u+i:t+=i),[e,t]}(n,r,a,s,l,c?null:20,d?null:20),n=m[0],r=m[1];c&&(n-=sW(c)?u[0]/2:"right"===c?u[0]:0),d&&(r-=sW(d)?u[1]/2:"bottom"===d?u[1]:0),Wz(e)&&(m=function(e,t,n,r,a){var o=n.getSize(),i=o[0],s=o[1];return e=Math.min(e+i,r)-i,t=Math.min(t+s,a)-s,[e=Math.max(e,0),t=Math.max(t,0)]}(n,r,a,s,l),n=m[0],r=m[1]),a.moveTo(n,r)},t.prototype._updateContentNotChangedOnAxis=function(e,t){var n=this._lastDataByCoordSys,r=this._cbParamsList,a=!!n&&n.length===e.length;return a&&ee(n,(function(n,o){var i=n.dataByAxis||[],s=(e[o]||{}).dataByAxis||[];(a=a&&i.length===s.length)&&ee(i,(function(e,n){var o=s[n]||{},i=e.seriesDataIndices||[],l=o.seriesDataIndices||[];(a=a&&e.value===o.value&&e.axisType===o.axisType&&e.axisId===o.axisId&&i.length===l.length)&&ee(i,(function(e,t){var n=l[t];a=a&&e.seriesIndex===n.seriesIndex&&e.dataIndex===n.dataIndex})),r&&ee(e.seriesDataIndices,(function(e){var n=e.seriesIndex,o=t[n],i=r[n];o&&i&&i.data!==o.data&&(a=!1)}))}))})),this._lastDataByCoordSys=e,this._cbParamsList=t,!!a},t.prototype._hide=function(e){this._lastDataByCoordSys=null,e({type:"hideTip",from:this.uid})},t.prototype.dispose=function(e,t){!x.node&&t.getDom()&&(ov(this,"_updatePosition"),this._tooltipContent.dispose(),Hj("itemTooltip",t))},t.type="tooltip",t}(Uh);function oW(e,t,n){var r,a=t.ecModel;n?(r=new Lc(n,a,a),r=new Lc(t.option,r,a)):r=t;for(var o=e.length-1;o>=0;o--){var i=e[o];i&&(i instanceof Lc&&(i=i.get("tooltip",!0)),ce(i)&&(i={formatter:i}),i&&(r=new Lc(i,r,a)))}return r}function iW(e,t){return e.dispatchAction||ie(t.dispatchAction,t)}function sW(e){return"center"===e||"middle"===e}const lW=aW;var uW=["rect","polygon","keep","clear"];function cW(e,t){var n=ui(e?e.brush:[]);if(n.length){var r=[];ee(n,(function(e){var t=e.hasOwnProperty("toolbox")?e.toolbox:[];t instanceof Array&&(r=r.concat(t))}));var a=e&&e.toolbox;le(a)&&(a=a[0]),a||(a={feature:{}},e.toolbox=[a]);var o=a.feature||(a.feature={}),i=o.brush||(o.brush={}),s=i.type||(i.type=[]);s.push.apply(s,r),function(e){var t={};ee(e,(function(e){t[e]=1})),e.length=0,ee(t,(function(t,n){e.push(n)}))}(s),t&&!s.length&&s.push.apply(s,uW)}}var dW=ee;function pW(e){if(e)for(var t in e)if(e.hasOwnProperty(t))return!0}function fW(e,t,n){var r={};return dW(t,(function(t){var a,o=r[t]=((a=function(){}).prototype.__hidden=a.prototype,new a);dW(e[t],(function(e,r){if(hO.isValidType(r)){var a={type:r,visual:e};n&&n(a,t),o[r]=new hO(a),"opacity"===r&&((a=U(a)).type="colorAlpha",o.__hidden.__alphaForOpacity=new hO(a))}}))})),r}function hW(e,t,n){var r;ee(n,(function(e){t.hasOwnProperty(e)&&pW(t[e])&&(r=!0)})),r&&ee(n,(function(n){t.hasOwnProperty(n)&&pW(t[n])?e[n]=U(t[n]):delete e[n]}))}var mW={lineX:gW(0),lineY:gW(1),rect:{point:function(e,t,n){return e&&n.boundingRect.contain(e[0],e[1])},rect:function(e,t,n){return e&&n.boundingRect.intersect(e)}},polygon:{point:function(e,t,n){return e&&n.boundingRect.contain(e[0],e[1])&&AS(n.range,e[0],e[1])},rect:function(e,t,n){var r=n.range;if(!e||r.length<=1)return!1;var a=e.x,o=e.y,i=e.width,s=e.height,l=r[0];return!!(AS(r,a,o)||AS(r,a+i,o)||AS(r,a,o+s)||AS(r,a+i,o+s)||un.create(e).contain(l[0],l[1])||Fg(a,o,a+i,o,r)||Fg(a,o,a,o+s,r)||Fg(a+i,o,a+i,o+s,r)||Fg(a,o+s,a+i,o+s,r))||void 0}}};function gW(e){var t=["x","y"],n=["width","height"];return{point:function(t,n,r){if(t){var a=r.range;return vW(t[e],a)}},rect:function(r,a,o){if(r){var i=o.range,s=[r[t[e]],r[t[e]]+r[n[e]]];return s[1]t[0][1]&&(t[0][1]=o[0]),o[1]t[1][1]&&(t[1][1]=o[1])}return t&&TW(t)}};function TW(e){return new un(e[0][0],e[1][0],e[0][1]-e[0][0],e[1][1]-e[1][0])}const kW=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return y(t,e),t.prototype.init=function(e,t){this.ecModel=e,this.api=t,this.model,(this._brushController=new PR(t.getZr())).on("brush",ie(this._onBrush,this)).mount()},t.prototype.render=function(e,t,n,r){this.model=e,this._updateController(e,t,n,r)},t.prototype.updateTransform=function(e,t,n,r){xW(t),this._updateController(e,t,n,r)},t.prototype.updateVisual=function(e,t,n,r){this.updateTransform(e,t,n,r)},t.prototype.updateView=function(e,t,n,r){this._updateController(e,t,n,r)},t.prototype._updateController=function(e,t,n,r){(!r||r.$from!==e.id)&&this._brushController.setPanels(e.brushTargetManager.makePanelOpts(n)).enableBrush(e.brushOption).updateCovers(e.areas.slice())},t.prototype.dispose=function(){this._brushController.dispose()},t.prototype._onBrush=function(e){var t=this.model.id,n=this.model.brushTargetManager.setOutputRanges(e.areas,this.ecModel);(!e.isEnd||e.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:t,areas:U(n),$from:t}),e.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:t,areas:U(n),$from:t})},t.type="brush",t}(Uh);function EW(e,t){return H({brushType:e.brushType,brushMode:e.brushMode,transformable:e.transformable,brushStyle:new Lc(e.brushStyle).getItemStyle(),removeOnClick:e.removeOnClick,z:e.z},t,!0)}const MW=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.areas=[],n.brushOption={},n}return y(t,e),t.prototype.optionUpdated=function(e,t){var n=this.option;!t&&hW(n,e,["inBrush","outOfBrush"]);var r=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:"#ddd"},r.hasOwnProperty("liftZ")||(r.liftZ=5)},t.prototype.setAreas=function(e){e&&(this.areas=te(e,(function(e){return EW(this.option,e)}),this))},t.prototype.setBrushOption=function(e){this.brushOption=EW(this.option,e),this.brushType=this.brushOption.brushType},t.type="brush",t.dependencies=["geo","grid","xAxis","yAxis","parallel","series"],t.defaultOption={seriesIndex:"all",brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(210,219,238,0.3)",borderColor:"#D2DBEE"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},t}(Yd);var PW=["rect","polygon","lineX","lineY","keep","clear"];const OW=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return y(t,e),t.prototype.render=function(e,t,n){var r,a,o;t.eachComponent({mainType:"brush"},(function(e){r=e.brushType,a=e.brushOption.brushMode||"single",o=o||!!e.areas.length})),this._brushType=r,this._brushMode=a,ee(e.get("type",!0),(function(t){e.setIconStatus(t,("keep"===t?"multiple"===a:"clear"===t?o:t===r)?"emphasis":"normal")}))},t.prototype.updateView=function(e,t,n){this.render(e,t,n)},t.prototype.getIcons=function(){var e=this.model,t=e.get("icon",!0),n={};return ee(e.get("type",!0),(function(e){t[e]&&(n[e]=t[e])})),n},t.prototype.onclick=function(e,t,n){var r=this._brushType,a=this._brushMode;"clear"===n?(t.dispatchAction({type:"axisAreaSelect",intervals:[]}),t.dispatchAction({type:"brush",command:"clear",areas:[]})):t.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===n?r:r!==n&&n,brushMode:"keep"===n?"multiple"===a?"single":"multiple":a}})},t.getDefaultOption=function(e){return{show:!0,type:PW.slice(),icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:e.getLocaleModel().get(["toolbox","brush","title"])}},t}(YB);var IW=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.layoutMode={type:"box",ignoreSize:!0},n}return y(t,e),t.type="title",t.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},t}(Yd),DW=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return y(t,e),t.prototype.render=function(e,t,n){if(this.group.removeAll(),e.get("show")){var r=this.group,a=e.getModel("textStyle"),o=e.getModel("subtextStyle"),i=e.get("textAlign"),s=Se(e.get("textBaseline"),e.get("textVerticalAlign")),l=new Yl({style:pc(a,{text:e.get("text"),fill:a.getTextColor()},{disableBox:!0}),z2:10}),u=l.getBoundingRect(),c=e.get("subtext"),d=new Yl({style:pc(o,{text:c,fill:o.getTextColor(),y:u.height+e.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),p=e.get("link"),f=e.get("sublink"),h=e.get("triggerEvent",!0);l.silent=!p&&!h,d.silent=!f&&!h,p&&l.on("click",(function(){Rd(p,"_"+e.get("target"))})),f&&d.on("click",(function(){Rd(f,"_"+e.get("subtarget"))})),Xl(l).eventData=Xl(d).eventData=h?{componentType:"title",componentIndex:e.componentIndex}:null,r.add(l),c&&r.add(d);var m=r.getBoundingRect(),g=e.getBoxLayoutParams();g.width=m.width,g.height=m.height;var v=Bd(g,{width:n.getWidth(),height:n.getHeight()},e.get("padding"));i||("middle"===(i=e.get("left")||e.get("right"))&&(i="center"),"right"===i?v.x+=v.width:"center"===i&&(v.x+=v.width/2)),s||("center"===(s=e.get("top")||e.get("bottom"))&&(s="middle"),"bottom"===s?v.y+=v.height:"middle"===s&&(v.y+=v.height/2),s=s||"top"),r.x=v.x,r.y=v.y,r.markRedraw();var y={align:i,verticalAlign:s};l.setStyle(y),d.setStyle(y),m=r.getBoundingRect();var b=v.margin,w=e.getItemStyle(["color","opacity"]);w.fill=e.get("backgroundColor");var x=new Il({shape:{x:m.x-b[3],y:m.y-b[0],width:m.width+b[1]+b[3],height:m.height+b[0]+b[2],r:e.get("borderRadius")},style:w,subPixelOptimize:!0,silent:!0});r.add(x)}},t.type="title",t}(Uh),RW=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.layoutMode="box",n}return y(t,e),t.prototype.init=function(e,t,n){this.mergeDefaultAndTheme(e,n),this._initData()},t.prototype.mergeOption=function(t){e.prototype.mergeOption.apply(this,arguments),this._initData()},t.prototype.setCurrentIndex=function(e){null==e&&(e=this.option.currentIndex);var t=this._data.count();this.option.loop?e=(e%t+t)%t:(e>=t&&(e=t-1),e<0&&(e=0)),this.option.currentIndex=e},t.prototype.getCurrentIndex=function(){return this.option.currentIndex},t.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},t.prototype.setPlayState=function(e){this.option.autoPlay=!!e},t.prototype.getPlayState=function(){return!!this.option.autoPlay},t.prototype._initData=function(){var e,t=this.option,n=t.data||[],r=t.axisType,a=this._names=[];"category"===r?(e=[],ee(n,(function(t,n){var r,o=vi(pi(t),"");fe(t)?(r=U(t)).value=n:r=n,e.push(r),a.push(o)}))):e=n;var o={category:"ordinal",time:"time",value:"number"}[r]||"number";(this._data=new Yw([{name:"value",type:o}],this)).initData(e,a)},t.prototype.getData=function(){return this._data},t.prototype.getCategories=function(){if("category"===this.get("axisType"))return this._names.slice()},t.type="timeline",t.defaultOption={z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},t}(Yd);const NW=RW;var LW=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return y(t,e),t.type="timeline.slider",t.defaultOption=Fc(NW.defaultOption,{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"circle",symbolSize:12,lineStyle:{show:!0,width:2,color:"#DAE1F5"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#A4B1D7"},itemStyle:{color:"#A4B1D7",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:15,color:"#316bf3",borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0, 0, 0, 0.3)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:24,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"M2,18.5A1.52,1.52,0,0,1,.92,18a1.49,1.49,0,0,1,0-2.12L7.81,9.36,1,3.11A1.5,1.5,0,1,1,3,.89l8,7.34a1.48,1.48,0,0,1,.49,1.09,1.51,1.51,0,0,1-.46,1.1L3,18.08A1.5,1.5,0,0,1,2,18.5Z",prevIcon:"M10,.5A1.52,1.52,0,0,1,11.08,1a1.49,1.49,0,0,1,0,2.12L4.19,9.64,11,15.89a1.5,1.5,0,1,1-2,2.22L1,10.77A1.48,1.48,0,0,1,.5,9.68,1.51,1.51,0,0,1,1,8.58L9,.92A1.5,1.5,0,0,1,10,.5Z",prevBtnSize:18,nextBtnSize:18,color:"#A4B1D7",borderColor:"#A4B1D7",borderWidth:1},emphasis:{label:{show:!0,color:"#6f778d"},itemStyle:{color:"#316BF3"},controlStyle:{color:"#316BF3",borderColor:"#316BF3",borderWidth:2}},progress:{lineStyle:{color:"#316BF3"},itemStyle:{color:"#316BF3"},label:{color:"#6f778d"}},data:[]}),t}(NW);Z(LW,Of.prototype);const $W=LW,jW=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return y(t,e),t.type="timeline",t}(Uh);var FW=function(e){function t(t,n,r,a){var o=e.call(this,t,n,r)||this;return o.type=a||"value",o}return y(t,e),t.prototype.getLabelModel=function(){return this.model.getModel("label")},t.prototype.isHorizontal=function(){return"horizontal"===this.model.get("orient")},t}(YS);const BW=FW;var zW=Math.PI,WW=xi(),VW=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return y(t,e),t.prototype.init=function(e,t){this.api=t},t.prototype.render=function(e,t,n){if(this.model=e,this.api=n,this.ecModel=t,this.group.removeAll(),e.get("show",!0)){var r=this._layout(e,n),a=this._createGroup("_mainGroup"),o=this._createGroup("_labelGroup"),i=this._axis=this._createAxis(r,e);e.formatTooltip=function(e){return yh("nameValue",{noName:!0,value:i.scale.getLabel({value:e})})},ee(["AxisLine","AxisTick","Control","CurrentPointer"],(function(t){this["_render"+t](r,a,i,e)}),this),this._renderAxisLabel(r,o,i,e),this._position(r,e)}this._doPlayStop(),this._updateTicksStatus()},t.prototype.remove=function(){this._clearTimer(),this.group.removeAll()},t.prototype.dispose=function(){this._clearTimer()},t.prototype._layout=function(e,t){var n,r,a,o,i=e.get(["label","position"]),s=e.get("orient"),l=function(e,t){return Bd(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()},e.get("padding"))}(e,t),u={horizontal:"center",vertical:(n=null==i||"auto"===i?"horizontal"===s?l.y+l.height/2=0||"+"===n?"left":"right"},c={horizontal:n>=0||"+"===n?"top":"bottom",vertical:"middle"},d={horizontal:0,vertical:zW/2},p="vertical"===s?l.height:l.width,f=e.getModel("controlStyle"),h=f.get("show",!0),m=h?f.get("itemSize"):0,g=h?f.get("itemGap"):0,v=m+g,y=e.get(["label","rotate"])||0;y=y*zW/180;var b=f.get("position",!0),w=h&&f.get("showPlayBtn",!0),x=h&&f.get("showPrevBtn",!0),S=h&&f.get("showNextBtn",!0),_=0,A=p;"left"===b||"bottom"===b?(w&&(r=[0,0],_+=v),x&&(a=[_,0],_+=v),S&&(o=[A-m,0],A-=v)):(w&&(r=[A-m,0],A-=v),x&&(a=[0,0],_+=v),S&&(o=[A-m,0],A-=v));var C=[_,A];return e.get("inverse")&&C.reverse(),{viewRect:l,mainLength:p,orient:s,rotation:d[s],labelRotation:y,labelPosOpt:n,labelAlign:e.get(["label","align"])||u[s],labelBaseline:e.get(["label","verticalAlign"])||e.get(["label","baseline"])||c[s],playPosition:r,prevBtnPosition:a,nextBtnPosition:o,axisExtent:C,controlSize:m,controlGap:g}},t.prototype._position=function(e,t){var n=this._mainGroup,r=this._labelGroup,a=e.viewRect;if("vertical"===e.orient){var o=[1,0,0,1,0,0],i=a.x,s=a.y+a.height;qt(o,o,[-i,-s]),Gt(o,o,-zW/2),qt(o,o,[i,s]),(a=a.clone()).applyTransform(o)}var l=g(a),u=g(n.getBoundingRect()),c=g(r.getBoundingRect()),d=[n.x,n.y],p=[r.x,r.y];p[0]=d[0]=l[0][0];var f,h=e.labelPosOpt;function m(e){e.originX=l[0][0]-e.x,e.originY=l[1][0]-e.y}function g(e){return[[e.x,e.x+e.width],[e.y,e.y+e.height]]}function v(e,t,n,r,a){e[r]+=n[r][a]-t[r][a]}null==h||ce(h)?(v(d,u,l,1,f="+"===h?0:1),v(p,c,l,1,1-f)):(v(d,u,l,1,f=h>=0?0:1),p[1]=d[1]+h),n.setPosition(d),r.setPosition(p),n.rotation=r.rotation=e.rotation,m(n),m(r)},t.prototype._createAxis=function(e,t){var n=t.getData(),r=t.get("axisType"),a=function(e,t){if(t=t||e.get("type"))switch(t){case"category":return new yx({ordinalMeta:e.getCategories(),extent:[1/0,-1/0]});case"time":return new Ux({locale:e.ecModel.getLocaleModel(),useUTC:e.ecModel.get("useUTC")});default:return new Sx}}(t,r);a.getTicks=function(){return n.mapArray(["value"],(function(e){return{value:e}}))};var o=n.getDataExtent("value");a.setExtent(o[0],o[1]),a.calcNiceTicks();var i=new BW("value",a,e.axisExtent,r);return i.model=t,i},t.prototype._createGroup=function(e){var t=this[e]=new wo;return this.group.add(t),t},t.prototype._renderAxisLine=function(e,t,n,r){var a=n.getExtent();if(r.get(["lineStyle","show"])){var o=new qm({shape:{x1:a[0],y1:0,x2:a[1],y2:0},style:G({lineCap:"round"},r.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});t.add(o);var i=this._progressLine=new qm({shape:{x1:a[0],x2:this._currentPointer?this._currentPointer.x:a[0],y1:0,y2:0},style:Y({lineCap:"round",lineWidth:o.style.lineWidth},r.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});t.add(i)}},t.prototype._renderAxisTick=function(e,t,n,r){var a=this,o=r.getData(),i=n.scale.getTicks();this._tickSymbols=[],ee(i,(function(e){var i=n.dataToCoord(e.value),s=o.getItemModel(e.value),l=s.getModel("itemStyle"),u=s.getModel(["emphasis","itemStyle"]),c=s.getModel(["progress","itemStyle"]),d={x:i,y:0,onclick:ie(a._changeTimeline,a,e.value)},p=UW(s,l,t,d);p.ensureState("emphasis").style=u.getItemStyle(),p.ensureState("progress").style=c.getItemStyle(),zu(p);var f=Xl(p);s.get("tooltip")?(f.dataIndex=e.value,f.dataModel=r):f.dataIndex=f.dataModel=null,a._tickSymbols.push(p)}))},t.prototype._renderAxisLabel=function(e,t,n,r){var a=this;if(n.getLabelModel().get("show")){var o=r.getData(),i=n.getViewLabels();this._tickLabels=[],ee(i,(function(r){var i=r.tickValue,s=o.getItemModel(i),l=s.getModel("label"),u=s.getModel(["emphasis","label"]),c=s.getModel(["progress","label"]),d=n.dataToCoord(r.tickValue),p=new Yl({x:d,y:0,rotation:e.labelRotation-e.rotation,onclick:ie(a._changeTimeline,a,i),silent:!1,style:pc(l,{text:r.formattedLabel,align:e.labelAlign,verticalAlign:e.labelBaseline})});p.ensureState("emphasis").style=pc(u),p.ensureState("progress").style=pc(c),t.add(p),zu(p),WW(p).dataIndex=i,a._tickLabels.push(p)}))}},t.prototype._renderControl=function(e,t,n,r){var a=e.controlSize,o=e.rotation,i=r.getModel("controlStyle").getItemStyle(),s=r.getModel(["emphasis","controlStyle"]).getItemStyle(),l=r.getPlayState(),u=r.get("inverse",!0);function c(e,n,l,u){if(e){var c=oo(Se(r.get(["controlStyle",n+"BtnSize"]),a),a),d=function(e,t,n,r){var a=r.style,o=jg(e.get(["controlStyle",t]),r||{},new un(n[0],n[1],n[2],n[3]));return a&&o.setStyle(a),o}(r,n+"Icon",[0,-c/2,c,c],{x:e[0],y:e[1],originX:a/2,originY:0,rotation:u?-o:0,rectHover:!0,style:i,onclick:l});d.ensureState("emphasis").style=s,t.add(d),zu(d)}}c(e.nextBtnPosition,"next",ie(this._changeTimeline,this,u?"-":"+")),c(e.prevBtnPosition,"prev",ie(this._changeTimeline,this,u?"+":"-")),c(e.playPosition,l?"stop":"play",ie(this._handlePlayClick,this,!l),!0)},t.prototype._renderCurrentPointer=function(e,t,n,r){var a=r.getData(),o=r.getCurrentIndex(),i=a.getItemModel(o).getModel("checkpointStyle"),s=this,l={onCreate:function(e){e.draggable=!0,e.drift=ie(s._handlePointerDrag,s),e.ondragend=ie(s._handlePointerDragend,s),HW(e,s._progressLine,o,n,r,!0)},onUpdate:function(e){HW(e,s._progressLine,o,n,r)}};this._currentPointer=UW(i,i,this._mainGroup,{},this._currentPointer,l)},t.prototype._handlePlayClick=function(e){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:e,from:this.uid})},t.prototype._handlePointerDrag=function(e,t,n){this._clearTimer(),this._pointerChangeTimeline([n.offsetX,n.offsetY])},t.prototype._handlePointerDragend=function(e){this._pointerChangeTimeline([e.offsetX,e.offsetY],!0)},t.prototype._pointerChangeTimeline=function(e,t){var n=this._toAxisCoord(e)[0],r=jo(this._axis.getExtent().slice());n>r[1]&&(n=r[1]),n=0&&(i[o]=+i[o].toFixed(d)),[i,c]}var aV={min:se(rV,"min"),max:se(rV,"max"),average:se(rV,"average"),median:se(rV,"median")};function oV(e,t){if(t){var n=e.getData(),r=e.coordinateSystem,a=r&&r.dimensions;if(!function(e){return!isNaN(parseFloat(e.x))&&!isNaN(parseFloat(e.y))}(t)&&!le(t.coord)&&le(a)){var o=iV(t,n,r,e);if((t=U(t)).type&&aV[t.type]&&o.baseAxis&&o.valueAxis){var i=K(a,o.baseAxis.dim),s=K(a,o.valueAxis.dim),l=aV[t.type](n,o.baseDataDim,o.valueDataDim,i,s);t.coord=l[0],t.value=l[1]}else t.coord=[null!=t.xAxis?t.xAxis:t.radiusAxis,null!=t.yAxis?t.yAxis:t.angleAxis]}if(null!=t.coord&&le(a))for(var u=t.coord,c=0;c<2;c++)aV[u[c]]&&(u[c]=uV(n,n.mapDimension(a[c]),u[c]));else t.coord=[];return t}}function iV(e,t,n,r){var a={};return null!=e.valueIndex||null!=e.valueDim?(a.valueDataDim=null!=e.valueIndex?t.getDimension(e.valueIndex):e.valueDim,a.valueAxis=n.getAxis(function(e,t){var n=e.getData().getDimensionInfo(t);return n&&n.coordDim}(r,a.valueDataDim)),a.baseAxis=n.getOtherAxis(a.valueAxis),a.baseDataDim=t.mapDimension(a.baseAxis.dim)):(a.baseAxis=r.getBaseAxis(),a.valueAxis=n.getOtherAxis(a.baseAxis),a.baseDataDim=t.mapDimension(a.baseAxis.dim),a.valueDataDim=t.mapDimension(a.valueAxis.dim)),a}function sV(e,t){return!(e&&e.containData&&t.coord&&!nV(t))||e.containData(t.coord)}function lV(e,t){return e?function(e,n,r,a){return $f(a<2?e.coord&&e.coord[a]:e.value,t[a])}:function(e,n,r,a){return $f(e.value,t[a])}}function uV(e,t,n){if("average"===n){var r=0,a=0;return e.each(t,(function(e,t){isNaN(e)||(r+=e,a++)})),r/a}return"median"===n?e.getMedian(t):e.getDataExtent(t)["max"===n?1:0]}var cV=xi();const dV=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return y(t,e),t.prototype.init=function(){this.markerGroupMap=Re()},t.prototype.render=function(e,t,n){var r=this,a=this.markerGroupMap;a.each((function(e){cV(e).keep=!1})),t.eachSeries((function(e){var a=eV.getMarkerModelFromSeries(e,r.type);a&&r.renderSeries(e,a,t,n)})),a.each((function(e){!cV(e).keep&&r.group.remove(e.group)}))},t.prototype.markKeep=function(e){cV(e).keep=!0},t.prototype.toggleBlurSeries=function(e,t){var n=this;ee(e,(function(e){var r=eV.getMarkerModelFromSeries(e,n.type);r&&r.getData().eachItemGraphicEl((function(e){e&&(t?Pu(e):Ou(e))}))}))},t.type="marker",t}(Uh);function pV(e,t,n){var r=t.coordinateSystem;e.each((function(a){var o,i=e.getItemModel(a),s=Lo(i.get("x"),n.getWidth()),l=Lo(i.get("y"),n.getHeight());if(isNaN(s)||isNaN(l)){if(t.getMarkerPosition)o=t.getMarkerPosition(e.getValues(e.dimensions,a));else if(r){var u=e.get(r.dimensions[0],a),c=e.get(r.dimensions[1],a);o=r.dataToPoint([u,c])}}else o=[s,l];isNaN(s)||(o[0]=s),isNaN(l)||(o[1]=l),e.setItemLayout(a,o)}))}const fV=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return y(t,e),t.prototype.updateTransform=function(e,t,n){t.eachSeries((function(e){var t=eV.getMarkerModelFromSeries(e,"markPoint");t&&(pV(t.getData(),e,n),this.markerGroupMap.get(e.id).updateLayout())}),this)},t.prototype.renderSeries=function(e,t,n,r){var a=e.coordinateSystem,o=e.id,i=e.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,new wC),u=function(e,t,n){var r;r=e?te(e&&e.dimensions,(function(e){return G(G({},t.getData().getDimensionInfo(t.getData().mapDimension(e))||{}),{name:e,ordinalMeta:null})})):[{name:"value",type:"float"}];var a=new Yw(r,n),o=te(n.get("data"),se(oV,t));e&&(o=re(o,se(sV,e)));var i=lV(!!e,r);return a.initData(o,null,i),a}(a,e,t);t.setData(u),pV(t.getData(),e,r),u.each((function(e){var n=u.getItemModel(e),r=n.getShallow("symbol"),a=n.getShallow("symbolSize"),o=n.getShallow("symbolRotate"),s=n.getShallow("symbolOffset"),l=n.getShallow("symbolKeepAspect");if(ue(r)||ue(a)||ue(o)||ue(s)){var c=t.getRawValue(e),d=t.getDataParams(e);ue(r)&&(r=r(c,d)),ue(a)&&(a=a(c,d)),ue(o)&&(o=o(c,d)),ue(s)&&(s=s(c,d))}var p=n.getModel("itemStyle").getItemStyle(),f=qv(i,"color");p.fill||(p.fill=f),u.setItemVisual(e,{symbol:r,symbolSize:a,symbolRotate:o,symbolOffset:s,symbolKeepAspect:l,style:p})})),l.updateData(u),this.group.add(l.group),u.eachItemGraphicEl((function(e){e.traverse((function(e){Xl(e).dataModel=t}))})),this.markKeep(l),l.group.silent=t.get("silent")||e.get("silent")},t.type="markPoint",t}(dV),hV=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return y(t,e),t.prototype.createMarkerModelFromSeries=function(e,n,r){return new t(e,n,r)},t.type="markLine",t.defaultOption={z:5,symbol:["circle","arrow"],symbolSize:[8,16],symbolOffset:0,precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"},t}(eV);var mV=xi(),gV=function(e,t,n,r){var a,o=e.getData();if(le(r))a=r;else{var i=r.type;if("min"===i||"max"===i||"average"===i||"median"===i||null!=r.xAxis||null!=r.yAxis){var s=void 0,l=void 0;if(null!=r.yAxis||null!=r.xAxis)s=t.getAxis(null!=r.yAxis?"y":"x"),l=xe(r.yAxis,r.xAxis);else{var u=iV(r,o,t,e);s=u.valueAxis,l=uV(o,rx(o,u.valueDataDim),i)}var c="x"===s.dim?0:1,d=1-c,p=U(r),f={coord:[]};p.type=null,p.coord=[],p.coord[d]=-1/0,f.coord[d]=1/0;var h=n.get("precision");h>=0&&pe(l)&&(l=+l.toFixed(Math.min(h,20))),p.coord[c]=f.coord[c]=l,a=[p,f,{type:i,valueIndex:r.valueIndex,value:l}]}else a=[]}var m=[oV(e,a[0]),oV(e,a[1]),G({},a[2])];return m[2].type=m[2].type||null,H(m[2],m[0]),H(m[2],m[1]),m};function vV(e){return!isNaN(e)&&!isFinite(e)}function yV(e,t,n,r){var a=1-e,o=r.dimensions[e];return vV(t[a])&&vV(n[a])&&t[e]===n[e]&&r.getAxis(o).containData(t[e])}function bV(e,t){if("cartesian2d"===e.type){var n=t[0].coord,r=t[1].coord;if(n&&r&&(yV(1,n,r,e)||yV(0,n,r,e)))return!0}return sV(e,t[0])&&sV(e,t[1])}function wV(e,t,n,r,a){var o,i=r.coordinateSystem,s=e.getItemModel(t),l=Lo(s.get("x"),a.getWidth()),u=Lo(s.get("y"),a.getHeight());if(isNaN(l)||isNaN(u)){if(r.getMarkerPosition)o=r.getMarkerPosition(e.getValues(e.dimensions,t));else{var c=i.dimensions,d=e.get(c[0],t),p=e.get(c[1],t);o=i.dataToPoint([d,p])}if(RC(i,"cartesian2d")){var f=i.getAxis("x"),h=i.getAxis("y");c=i.dimensions,vV(e.get(c[0],t))?o[0]=f.toGlobalCoord(f.getExtent()[n?0:1]):vV(e.get(c[1],t))&&(o[1]=h.toGlobalCoord(h.getExtent()[n?0:1]))}isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u)}else o=[l,u];e.setItemLayout(t,o)}const xV=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return y(t,e),t.prototype.updateTransform=function(e,t,n){t.eachSeries((function(e){var t=eV.getMarkerModelFromSeries(e,"markLine");if(t){var r=t.getData(),a=mV(t).from,o=mV(t).to;a.each((function(t){wV(a,t,!0,e,n),wV(o,t,!1,e,n)})),r.each((function(e){r.setItemLayout(e,[a.getItemLayout(e),o.getItemLayout(e)])})),this.markerGroupMap.get(e.id).updateLayout()}}),this)},t.prototype.renderSeries=function(e,t,n,r){var a=e.coordinateSystem,o=e.id,i=e.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,new AI);this.group.add(l.group);var u=function(e,t,n){var r;r=e?te(e&&e.dimensions,(function(e){return G(G({},t.getData().getDimensionInfo(t.getData().mapDimension(e))||{}),{name:e,ordinalMeta:null})})):[{name:"value",type:"float"}];var a=new Yw(r,n),o=new Yw(r,n),i=new Yw([],n),s=te(n.get("data"),se(gV,t,e,n));e&&(s=re(s,se(bV,e)));var l=lV(!!e,r);return a.initData(te(s,(function(e){return e[0]})),null,l),o.initData(te(s,(function(e){return e[1]})),null,l),i.initData(te(s,(function(e){return e[2]}))),i.hasItemOption=!0,{from:a,to:o,line:i}}(a,e,t),c=u.from,d=u.to,p=u.line;mV(t).from=c,mV(t).to=d,t.setData(p);var f=t.get("symbol"),h=t.get("symbolSize"),m=t.get("symbolRotate"),g=t.get("symbolOffset");function v(t,n,a){var o=t.getItemModel(n);wV(t,n,a,e,r);var s=o.getModel("itemStyle").getItemStyle();null==s.fill&&(s.fill=qv(i,"color")),t.setItemVisual(n,{symbolKeepAspect:o.get("symbolKeepAspect"),symbolOffset:Se(o.get("symbolOffset",!0),g[a?0:1]),symbolRotate:Se(o.get("symbolRotate",!0),m[a?0:1]),symbolSize:Se(o.get("symbolSize"),h[a?0:1]),symbol:Se(o.get("symbol",!0),f[a?0:1]),style:s})}le(f)||(f=[f,f]),le(h)||(h=[h,h]),le(m)||(m=[m,m]),le(g)||(g=[g,g]),u.from.each((function(e){v(c,e,!0),v(d,e,!1)})),p.each((function(e){var t=p.getItemModel(e).getModel("lineStyle").getLineStyle();p.setItemLayout(e,[c.getItemLayout(e),d.getItemLayout(e)]),null==t.stroke&&(t.stroke=c.getItemVisual(e,"style").fill),p.setItemVisual(e,{fromSymbolKeepAspect:c.getItemVisual(e,"symbolKeepAspect"),fromSymbolOffset:c.getItemVisual(e,"symbolOffset"),fromSymbolRotate:c.getItemVisual(e,"symbolRotate"),fromSymbolSize:c.getItemVisual(e,"symbolSize"),fromSymbol:c.getItemVisual(e,"symbol"),toSymbolKeepAspect:d.getItemVisual(e,"symbolKeepAspect"),toSymbolOffset:d.getItemVisual(e,"symbolOffset"),toSymbolRotate:d.getItemVisual(e,"symbolRotate"),toSymbolSize:d.getItemVisual(e,"symbolSize"),toSymbol:d.getItemVisual(e,"symbol"),style:t})})),l.updateData(p),u.line.eachItemGraphicEl((function(e){Xl(e).dataModel=t,e.traverse((function(e){Xl(e).dataModel=t}))})),this.markKeep(l),l.group.silent=t.get("silent")||e.get("silent")},t.type="markLine",t}(dV),SV=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return y(t,e),t.prototype.createMarkerModelFromSeries=function(e,n,r){return new t(e,n,r)},t.type="markArea",t.defaultOption={z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},t}(eV);var _V=xi(),AV=function(e,t,n,r){var a=r[0],o=r[1];if(a&&o){var i=oV(e,a),s=oV(e,o),l=i.coord,u=s.coord;l[0]=xe(l[0],-1/0),l[1]=xe(l[1],-1/0),u[0]=xe(u[0],1/0),u[1]=xe(u[1],1/0);var c=q([{},i,s]);return c.coord=[i.coord,s.coord],c.x0=i.x,c.y0=i.y,c.x1=s.x,c.y1=s.y,c}};function CV(e){return!isNaN(e)&&!isFinite(e)}function TV(e,t,n,r){var a=1-e;return CV(t[a])&&CV(n[a])}function kV(e,t){var n=t.coord[0],r=t.coord[1],a={coord:n,x:t.x0,y:t.y0},o={coord:r,x:t.x1,y:t.y1};return RC(e,"cartesian2d")?!(!n||!r||!TV(1,n,r)&&!TV(0,n,r))||function(e,t,n){return!(e&&e.containZone&&t.coord&&n.coord&&!nV(t)&&!nV(n))||e.containZone(t.coord,n.coord)}(e,a,o):sV(e,a)||sV(e,o)}function EV(e,t,n,r,a){var o,i=r.coordinateSystem,s=e.getItemModel(t),l=Lo(s.get(n[0]),a.getWidth()),u=Lo(s.get(n[1]),a.getHeight());if(isNaN(l)||isNaN(u)){if(r.getMarkerPosition){var c=e.getValues(["x0","y0"],t),d=e.getValues(["x1","y1"],t),p=i.clampData(c),f=i.clampData(d),h=[];"x0"===n[0]?h[0]=p[0]>f[0]?d[0]:c[0]:h[0]=p[0]>f[0]?c[0]:d[0],"y0"===n[1]?h[1]=p[1]>f[1]?d[1]:c[1]:h[1]=p[1]>f[1]?c[1]:d[1],o=r.getMarkerPosition(h,n,!0)}else{var m=[y=e.get(n[0],t),b=e.get(n[1],t)];i.clampData&&i.clampData(m,m),o=i.dataToPoint(m,!0)}if(RC(i,"cartesian2d")){var g=i.getAxis("x"),v=i.getAxis("y"),y=e.get(n[0],t),b=e.get(n[1],t);CV(y)?o[0]=g.toGlobalCoord(g.getExtent()["x0"===n[0]?0:1]):CV(b)&&(o[1]=v.toGlobalCoord(v.getExtent()["y0"===n[1]?0:1]))}isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u)}else o=[l,u];return o}var MV=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],PV=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return y(t,e),t.prototype.updateTransform=function(e,t,n){t.eachSeries((function(e){var t=eV.getMarkerModelFromSeries(e,"markArea");if(t){var r=t.getData();r.each((function(t){var a=te(MV,(function(a){return EV(r,t,a,e,n)}));r.setItemLayout(t,a),r.getItemGraphicEl(t).setShape("points",a)}))}}),this)},t.prototype.renderSeries=function(e,t,n,r){var a=e.coordinateSystem,o=e.id,i=e.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,{group:new wo});this.group.add(l.group),this.markKeep(l);var u=function(e,t,n){var r,a;if(e){var o=te(e&&e.dimensions,(function(e){var n=t.getData();return G(G({},n.getDimensionInfo(n.mapDimension(e))||{}),{name:e,ordinalMeta:null})}));a=te(["x0","y0","x1","y1"],(function(e,t){return{name:e,type:o[t%2].type}})),r=new Yw(a,n)}else r=new Yw(a=[{name:"value",type:"float"}],n);var i=te(n.get("data"),se(AV,t,e,n));e&&(i=re(i,se(kV,e)));var s=e?function(e,t,n,r){return $f(e.coord[Math.floor(r/2)][r%2],a[r])}:function(e,t,n,r){return $f(e.value,a[r])};return r.initData(i,null,s),r.hasItemOption=!0,r}(a,e,t);t.setData(u),u.each((function(t){var n=te(MV,(function(n){return EV(u,t,n,e,r)})),o=a.getAxis("x").scale,s=a.getAxis("y").scale,l=o.getExtent(),c=s.getExtent(),d=[o.parse(u.get("x0",t)),o.parse(u.get("x1",t))],p=[s.parse(u.get("y0",t)),s.parse(u.get("y1",t))];jo(d),jo(p);var f=!!(l[0]>d[1]||l[1]p[1]||c[1]=0},t.prototype.getOrient=function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},t.type="legend.plain",t.dependencies=["series"],t.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},t}(Yd);const DV=IV;var RV=se,NV=ee,LV=wo,$V=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.newlineDisabled=!1,n}return y(t,e),t.prototype.init=function(){this.group.add(this._contentGroup=new LV),this.group.add(this._selectorGroup=new LV),this._isFirstRender=!0},t.prototype.getContentGroup=function(){return this._contentGroup},t.prototype.getSelectorGroup=function(){return this._selectorGroup},t.prototype.render=function(e,t,n){var r=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),e.get("show",!0)){var a=e.get("align"),o=e.get("orient");a&&"auto"!==a||(a="right"===e.get("left")&&"vertical"===o?"right":"left");var i=e.get("selector",!0),s=e.get("selectorPosition",!0);!i||s&&"auto"!==s||(s="horizontal"===o?"end":"start"),this.renderInner(a,e,t,n,i,o,s);var l=e.getBoxLayoutParams(),u={width:n.getWidth(),height:n.getHeight()},c=e.get("padding"),d=Bd(l,u,c),p=this.layoutInner(e,a,d,r,i,s),f=Bd(Y({width:p.width,height:p.height},l),u,c);this.group.x=f.x-p.x,this.group.y=f.y-p.y,this.group.markRedraw(),this.group.add(this._backgroundEl=JB(p,e))}},t.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},t.prototype.renderInner=function(e,t,n,r,a,o,i){var s=this.getContentGroup(),l=Re(),u=t.get("selectedMode"),c=[];n.eachRawSeries((function(e){!e.get("legendHoverLink")&&c.push(e.id)})),NV(t.getData(),(function(a,o){var i=a.get("name");if(!this.newlineDisabled&&(""===i||"\n"===i)){var d=new LV;return d.newline=!0,void s.add(d)}var p=n.getSeriesByName(i)[0];if(!l.get(i))if(p){var f=p.getData(),h=f.getVisual("legendLineStyle")||{},m=f.getVisual("legendIcon"),g=f.getVisual("style"),v=this._createItem(p,i,o,a,t,e,h,g,m,u,r);v.on("click",RV(jV,i,null,r,c)).on("mouseover",RV(BV,p.name,null,r,c)).on("mouseout",RV(zV,p.name,null,r,c)),n.ssr&&v.eachChild((function(e){var t=Xl(e);t.seriesIndex=p.seriesIndex,t.dataIndex=o,t.ssrType="legend"})),l.set(i,!0)}else n.eachRawSeries((function(s){if(!l.get(i)&&s.legendVisualProvider){var d=s.legendVisualProvider;if(!d.containName(i))return;var p=d.indexOfName(i),f=d.getItemVisual(p,"style"),h=d.getItemVisual(p,"legendIcon"),m=Tr(f.fill);m&&0===m[3]&&(m[3]=.2,f=G(G({},f),{fill:Lr(m,"rgba")}));var g=this._createItem(s,i,o,a,t,e,{},f,h,u,r);g.on("click",RV(jV,null,i,r,c)).on("mouseover",RV(BV,null,i,r,c)).on("mouseout",RV(zV,null,i,r,c)),n.ssr&&g.eachChild((function(e){var t=Xl(e);t.seriesIndex=s.seriesIndex,t.dataIndex=o,t.ssrType="legend"})),l.set(i,!0)}}),this)}),this),a&&this._createSelector(a,t,r,o,i)},t.prototype._createSelector=function(e,t,n,r,a){var o=this.getSelectorGroup();NV(e,(function(e){var r=e.type,a=new Yl({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:"all"===r?"legendAllSelect":"legendInverseSelect"})}});o.add(a),cc(a,{normal:t.getModel("selectorLabel"),emphasis:t.getModel(["emphasis","selectorLabel"])},{defaultText:e.title}),zu(a)}))},t.prototype._createItem=function(e,t,n,r,a,o,i,s,l,u,c){var d,p,f,h=e.visualDrawType,m=a.get("itemWidth"),g=a.get("itemHeight"),v=a.isSelected(t),y=r.get("symbolRotate"),b=r.get("symbolKeepAspect"),w=r.get("icon"),x=function(e,t,n,r,a,o,i){function s(e,t){"auto"===e.lineWidth&&(e.lineWidth=t.lineWidth>0?2:0),NV(e,(function(n,r){"inherit"===e[r]&&(e[r]=t[r])}))}var l=t.getModel("itemStyle"),u=l.getItemStyle(),c=0===e.lastIndexOf("empty",0)?"fill":"stroke",d=l.getShallow("decal");u.decal=d&&"inherit"!==d?By(d,i):r.decal,"inherit"===u.fill&&(u.fill=r[a]),"inherit"===u.stroke&&(u.stroke=r[c]),"inherit"===u.opacity&&(u.opacity=("fill"===a?r:n).opacity),s(u,r);var p=t.getModel("lineStyle"),f=p.getLineStyle();if(s(f,n),"auto"===u.fill&&(u.fill=r.fill),"auto"===u.stroke&&(u.stroke=r.fill),"auto"===f.stroke&&(f.stroke=r.fill),!o){var h=t.get("inactiveBorderWidth"),m=u[c];u.lineWidth="auto"===h?r.lineWidth>0&&m?2:0:u.lineWidth,u.fill=t.get("inactiveColor"),u.stroke=t.get("inactiveBorderColor"),f.stroke=p.get("inactiveColor"),f.lineWidth=p.get("inactiveWidth")}return{itemStyle:u,lineStyle:f}}(l=w||l||"roundRect",r,i,s,h,v,c),S=new LV,_=r.getModel("textStyle");if(!ue(e.getLegendIcon)||w&&"inherit"!==w){var A="inherit"===w&&e.getData().getVisual("symbol")?"inherit"===y?e.getData().getVisual("symbolRotate"):y:0;S.add((d={itemWidth:m,itemHeight:g,icon:l,iconRotate:A,itemStyle:x.itemStyle,lineStyle:x.lineStyle,symbolKeepAspect:b},(f=uy(p=d.icon||"roundRect",0,0,d.itemWidth,d.itemHeight,d.itemStyle.fill,d.symbolKeepAspect)).setStyle(d.itemStyle),f.rotation=(d.iconRotate||0)*Math.PI/180,f.setOrigin([d.itemWidth/2,d.itemHeight/2]),p.indexOf("empty")>-1&&(f.style.stroke=f.style.fill,f.style.fill="#fff",f.style.lineWidth=2),f))}else S.add(e.getLegendIcon({itemWidth:m,itemHeight:g,icon:l,iconRotate:y,itemStyle:x.itemStyle,lineStyle:x.lineStyle,symbolKeepAspect:b}));var C="left"===o?m+5:-5,T=o,k=a.get("formatter"),E=t;ce(k)&&k?E=k.replace("{name}",null!=t?t:""):ue(k)&&(E=k(t));var M=v?_.getTextColor():r.get("inactiveColor");S.add(new Yl({style:pc(_,{text:E,x:C,y:g/2,fill:M,align:T,verticalAlign:"middle"},{inheritColor:M})}));var P=new Il({shape:S.getBoundingRect(),style:{fill:"transparent"}}),O=r.getModel("tooltip");return O.get("show")&&Wg({el:P,componentModel:a,itemName:t,itemTooltipOption:O.option}),S.add(P),S.eachChild((function(e){e.silent=!0})),P.silent=!u,this.getContentGroup().add(S),zu(S),S.__legendDataIndex=n,S},t.prototype.layoutInner=function(e,t,n,r,a,o){var i=this.getContentGroup(),s=this.getSelectorGroup();Fd(e.get("orient"),i,e.get("itemGap"),n.width,n.height);var l=i.getBoundingRect(),u=[-l.x,-l.y];if(s.markRedraw(),i.markRedraw(),a){Fd("horizontal",s,e.get("selectorItemGap",!0));var c=s.getBoundingRect(),d=[-c.x,-c.y],p=e.get("selectorButtonGap",!0),f=e.getOrient().index,h=0===f?"width":"height",m=0===f?"height":"width",g=0===f?"y":"x";"end"===o?d[f]+=l[h]+p:u[f]+=c[h]+p,d[1-f]+=l[m]/2-c[m]/2,s.x=d[0],s.y=d[1],i.x=u[0],i.y=u[1];var v={x:0,y:0};return v[h]=l[h]+p+c[h],v[m]=Math.max(l[m],c[m]),v[g]=Math.min(0,c[g]+d[1-f]),v}return i.x=u[0],i.y=u[1],this.group.getBoundingRect()},t.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},t.type="legend.plain",t}(Uh);function jV(e,t,n,r){zV(e,t,n,r),n.dispatchAction({type:"legendToggleSelect",name:null!=e?e:t}),BV(e,t,n,r)}function FV(e){for(var t,n=e.getZr().storage.getDisplayList(),r=0,a=n.length;rn[a],h=[-d.x,-d.y];t||(h[r]=l[s]);var m=[0,0],g=[-p.x,-p.y],v=Se(e.get("pageButtonGap",!0),e.get("itemGap",!0));f&&("end"===e.get("pageButtonPosition",!0)?g[r]+=n[a]-p[a]:m[r]+=p[a]+v),g[1-r]+=d[o]/2-p[o]/2,l.setPosition(h),u.setPosition(m),c.setPosition(g);var y={x:0,y:0};if(y[a]=f?n[a]:d[a],y[o]=Math.max(d[o],p[o]),y[i]=Math.min(0,p[i]+g[1-r]),u.__rectSize=n[a],f){var b={x:0,y:0};b[a]=Math.max(n[a]-p[a]-v,0),b[o]=y[o],u.setClipPath(new Il({shape:b})),u.__rectSize=b[a]}else c.eachChild((function(e){e.attr({invisible:!0,silent:!0})}));var w=this._getPageInfo(e);return null!=w.pageIndex&&ec(l,{x:w.contentPosition[0],y:w.contentPosition[1]},f?e:null),this._updatePageInfoView(e,w),y},t.prototype._pageGo=function(e,t,n){var r=this._getPageInfo(t)[e];null!=r&&n.dispatchAction({type:"legendScroll",scrollDataIndex:r,legendId:t.id})},t.prototype._updatePageInfoView=function(e,t){var n=this._controllerGroup;ee(["pagePrev","pageNext"],(function(r){var a=null!=t[r+"DataIndex"],o=n.childOfName(r);o&&(o.setStyle("fill",a?e.get("pageIconColor",!0):e.get("pageIconInactiveColor",!0)),o.cursor=a?"pointer":"default")}));var r=n.childOfName("pageText"),a=e.get("pageFormatter"),o=t.pageIndex,i=null!=o?o+1:0,s=t.pageCount;r&&a&&r.setStyle("text",ce(a)?a.replace("{current}",null==i?"":i+"").replace("{total}",null==s?"":s+""):a({current:i,total:s}))},t.prototype._getPageInfo=function(e){var t=e.get("scrollDataIndex",!0),n=this.getContentGroup(),r=this._containerGroup.__rectSize,a=e.getOrient().index,o=XV[a],i=KV[a],s=this._findTargetItemIndex(t),l=n.children(),u=l[s],c=l.length,d=c?1:0,p={contentPosition:[n.x,n.y],pageCount:d,pageIndex:d-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!u)return p;var f=y(u);p.contentPosition[a]=-f.s;for(var h=s+1,m=f,g=f,v=null;h<=c;++h)(!(v=y(l[h]))&&g.e>m.s+r||v&&!b(v,m.s))&&(m=g.i>m.i?g:v)&&(null==p.pageNextDataIndex&&(p.pageNextDataIndex=m.i),++p.pageCount),g=v;for(h=s-1,m=f,g=f,v=null;h>=-1;--h)(v=y(l[h]))&&b(g,v.s)||!(m.i=t&&e.s<=t+r}},t.prototype._findTargetItemIndex=function(e){return this._showController?(this.getContentGroup().eachChild((function(r,a){var o=r.__legendDataIndex;null==n&&null!=o&&(n=a),o===e&&(t=a)})),null!=t?t:n):0;var t,n},t.type="legend.scroll",t}(WV);const ZV=QV;function JV(e){bw(HV),e.registerComponentModel(GV),e.registerComponentView(ZV),function(e){e.registerAction("legendScroll","legendscroll",(function(e,t){var n=e.scrollDataIndex;null!=n&&t.eachComponent({mainType:"legend",subType:"scroll",query:e},(function(e){e.setScrollDataIndex(n)}))}))}(e)}const eU=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return y(t,e),t.type="dataZoom.inside",t.defaultOption=Fc(LB.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),t}(LB);var tU=xi();function nU(e,t){if(t){e.removeKey(t.model.uid);var n=t.controller;n&&n.dispose()}}function rU(e,t){e.isDisposed()||e.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:t})}function aU(e,t,n,r){return e.coordinateSystem.containPoint([n,r])}var oU=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="dataZoom.inside",t}return y(t,e),t.prototype.render=function(t,n,r){e.prototype.render.apply(this,arguments),t.noTarget()?this._clear():(this.range=t.getPercentRange(),function(e,t,n){tU(e).coordSysRecordMap.each((function(e){var r=e.dataZoomInfoMap.get(t.uid);r&&(r.getRange=n)}))}(r,t,{pan:ie(iU.pan,this),zoom:ie(iU.zoom,this),scrollMove:ie(iU.scrollMove,this)}))},t.prototype.dispose=function(){this._clear(),e.prototype.dispose.apply(this,arguments)},t.prototype._clear=function(){!function(e,t){for(var n=tU(e).coordSysRecordMap,r=n.keys(),a=0;a0?s.pixelStart+s.pixelLength-s.pixel:s.pixel-s.pixelStart)/s.pixelLength*(o[1]-o[0])+o[0],u=Math.max(1/r.scale,0);o[0]=(o[0]-l)*u+l,o[1]=(o[1]-l)*u+l;var c=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return _D(0,o,[0,100],0,c.minSpan,c.maxSpan),this.range=o,a[0]!==o[0]||a[1]!==o[1]?o:void 0}},pan:sU((function(e,t,n,r,a,o){var i=lU[r]([o.oldX,o.oldY],[o.newX,o.newY],t,a,n);return i.signal*(e[1]-e[0])*i.pixel/i.pixelLength})),scrollMove:sU((function(e,t,n,r,a,o){return lU[r]([0,0],[o.scrollDelta,o.scrollDelta],t,a,n).signal*(e[1]-e[0])*o.scrollDelta}))};function sU(e){return function(t,n,r,a){var o=this.range,i=o.slice(),s=t.axisModels[0];if(s)return _D(e(i,s,t,n,r,a),i,[0,100],"all"),this.range=i,o[0]!==i[0]||o[1]!==i[1]?i:void 0}}var lU={grid:function(e,t,n,r,a){var o=n.axis,i={},s=a.model.coordinateSystem.getRect();return e=e||[0,0],"x"===o.dim?(i.pixel=t[0]-e[0],i.pixelLength=s.width,i.pixelStart=s.x,i.signal=o.inverse?1:-1):(i.pixel=t[1]-e[1],i.pixelLength=s.height,i.pixelStart=s.y,i.signal=o.inverse?-1:1),i},polar:function(e,t,n,r,a){var o=n.axis,i={},s=a.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return e=e?s.pointToCoord(e):[0,0],t=s.pointToCoord(t),"radiusAxis"===n.mainType?(i.pixel=t[0]-e[0],i.pixelLength=l[1]-l[0],i.pixelStart=l[0],i.signal=o.inverse?1:-1):(i.pixel=t[1]-e[1],i.pixelLength=u[1]-u[0],i.pixelStart=u[0],i.signal=o.inverse?-1:1),i},singleAxis:function(e,t,n,r,a){var o=n.axis,i=a.model.coordinateSystem.getRect(),s={};return e=e||[0,0],"horizontal"===o.orient?(s.pixel=t[0]-e[0],s.pixelLength=i.width,s.pixelStart=i.x,s.signal=o.inverse?1:-1):(s.pixel=t[1]-e[1],s.pixelLength=i.height,s.pixelStart=i.y,s.signal=o.inverse?-1:1),s}};const uU=oU;function cU(e){qB(e),e.registerComponentModel(eU),e.registerComponentView(uU),function(e){e.registerProcessor(e.PRIORITY.PROCESSOR.FILTER,(function(e,t){var n=tU(t),r=n.coordSysRecordMap||(n.coordSysRecordMap=Re());r.each((function(e){e.dataZoomInfoMap=null})),e.eachComponent({mainType:"dataZoom",subType:"inside"},(function(e){ee(IB(e).infoList,(function(n){var a=n.model.uid,o=r.get(a)||r.set(a,function(e,t){var n={model:t,containsPoint:se(aU,t),dispatchAction:se(rU,e),dataZoomInfoMap:null,controller:null},r=n.controller=new bE(e.getZr());return ee(["pan","zoom","scrollMove"],(function(e){r.on(e,(function(t){var r=[];n.dataZoomInfoMap.each((function(a){if(t.isAvailableBehavior(a.model.option)){var o=(a.getRange||{})[e],i=o&&o(a.dzReferCoordSysInfo,n.model.mainType,n.controller,t);!a.model.get("disabled",!0)&&i&&r.push({dataZoomId:a.model.id,start:i[0],end:i[1]})}})),r.length&&n.dispatchAction(r)}))})),n}(t,n.model));(o.dataZoomInfoMap||(o.dataZoomInfoMap=Re())).set(e.uid,{dzReferCoordSysInfo:n,model:e,getRange:null})}))})),r.each((function(e){var t,n=e.controller,a=e.dataZoomInfoMap;if(a){var o=a.keys()[0];null!=o&&(t=a.get(o))}if(t){var i=function(e){var t,n="type_",r={type_true:2,type_move:1,type_false:0,type_undefined:-1},a=!0;return e.each((function(e){var o=e.model,i=!o.get("disabled",!0)&&(!o.get("zoomLock",!0)||"move");r[n+i]>r[n+t]&&(t=i),a=a&&o.get("preventDefaultMouseMove",!0)})),{controlType:t,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!a}}}(a);n.enable(i.controlType,i.opt),n.setPointerChecker(e.containsPoint),av(e,"dispatchAction",t.model.get("throttle",!0),"fixRate")}else nU(r,e)}))}))}(e)}const dU=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return y(t,e),t.type="dataZoom.slider",t.layoutMode="box",t.defaultOption=Fc(LB.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),t}(LB);var pU=Il,fU="horizontal",hU="vertical",mU=["line","bar","candlestick","scatter"],gU={easing:"cubicOut",duration:100,delay:0},vU=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._displayables={},n}return y(t,e),t.prototype.init=function(e,t){this.api=t,this._onBrush=ie(this._onBrush,this),this._onBrushEnd=ie(this._onBrushEnd,this)},t.prototype.render=function(t,n,r,a){if(e.prototype.render.apply(this,arguments),av(this,"_dispatchZoomAction",t.get("throttle"),"fixRate"),this._orient=t.getOrient(),!1!==t.get("show")){if(t.noTarget())return this._clear(),void this.group.removeAll();a&&"dataZoom"===a.type&&a.from===this.uid||this._buildView(),this._updateView()}else this.group.removeAll()},t.prototype.dispose=function(){this._clear(),e.prototype.dispose.apply(this,arguments)},t.prototype._clear=function(){ov(this,"_dispatchZoomAction");var e=this.api.getZr();e.off("mousemove",this._onBrush),e.off("mouseup",this._onBrushEnd)},t.prototype._buildView=function(){var e=this.group;e.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var t=this._displayables.sliderGroup=new wo;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),e.add(t),this._positionGroup()},t.prototype._resetLocation=function(){var e=this.dataZoomModel,t=this.api,n=e.get("brushSelect")?7:0,r=this._findCoordRect(),a={width:t.getWidth(),height:t.getHeight()},o=this._orient===fU?{right:a.width-r.x-r.width,top:a.height-30-7-n,width:r.width,height:30}:{right:7,top:r.y,width:30,height:r.height},i=Ud(e.option);ee(["right","top","width","height"],(function(e){"ph"===i[e]&&(i[e]=o[e])}));var s=Bd(i,a);this._location={x:s.x,y:s.y},this._size=[s.width,s.height],this._orient===hU&&this._size.reverse()},t.prototype._positionGroup=function(){var e=this.group,t=this._location,n=this._orient,r=this.dataZoomModel.getFirstTargetAxisModel(),a=r&&r.get("inverse"),o=this._displayables.sliderGroup,i=(this._dataShadowInfo||{}).otherAxisInverse;o.attr(n!==fU||a?n===fU&&a?{scaleY:i?1:-1,scaleX:-1}:n!==hU||a?{scaleY:i?-1:1,scaleX:-1,rotation:Math.PI/2}:{scaleY:i?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:i?1:-1,scaleX:1});var s=e.getBoundingRect([o]);e.x=t.x-s.x,e.y=t.y-s.y,e.markRedraw()},t.prototype._getViewExtent=function(){return[0,this._size[0]]},t.prototype._renderBackground=function(){var e=this.dataZoomModel,t=this._size,n=this._displayables.sliderGroup,r=e.get("brushSelect");n.add(new pU({silent:!0,shape:{x:0,y:0,width:t[0],height:t[1]},style:{fill:e.get("backgroundColor")},z2:-40}));var a=new pU({shape:{x:0,y:0,width:t[0],height:t[1]},style:{fill:"transparent"},z2:0,onclick:ie(this._onClickPanel,this)}),o=this.api.getZr();r?(a.on("mousedown",this._onBrushStart,this),a.cursor="crosshair",o.on("mousemove",this._onBrush),o.on("mouseup",this._onBrushEnd)):(o.off("mousemove",this._onBrush),o.off("mouseup",this._onBrushEnd)),n.add(a)},t.prototype._renderDataShadow=function(){var e=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],e){var t=this._size,n=this._shadowSize||[],r=e.series,a=r.getRawData(),o=r.getShadowDim&&r.getShadowDim(),i=o&&a.getDimensionInfo(o)?r.getShadowDim():e.otherDim;if(null!=i){var s=this._shadowPolygonPts,l=this._shadowPolylinePts;if(a!==this._shadowData||i!==this._shadowDim||t[0]!==n[0]||t[1]!==n[1]){var u=a.getDataExtent(i),c=.3*(u[1]-u[0]);u=[u[0]-c,u[1]+c];var d,p=[0,t[1]],f=[0,t[0]],h=[[t[0],0],[0,0]],m=[],g=f[1]/(a.count()-1),v=0,y=Math.round(a.count()/t[0]);a.each([i],(function(e,t){if(y>0&&t%y)v+=g;else{var n=null==e||isNaN(e)||""===e,r=n?0:No(e,u,p,!0);n&&!d&&t?(h.push([h[h.length-1][0],0]),m.push([m[m.length-1][0],0])):!n&&d&&(h.push([v,0]),m.push([v,0])),h.push([v,r]),m.push([v,r]),v+=g,d=n}})),s=this._shadowPolygonPts=h,l=this._shadowPolylinePts=m}this._shadowData=a,this._shadowDim=i,this._shadowSize=[t[0],t[1]];for(var b=this.dataZoomModel,w=0;w<3;w++){var x=S(1===w);this._displayables.sliderGroup.add(x),this._displayables.dataShadowSegs.push(x)}}}function S(e){var t=b.getModel(e?"selectedDataBackground":"dataBackground"),n=new wo,r=new Fm({shape:{points:s},segmentIgnoreThreshold:1,style:t.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),a=new Wm({shape:{points:l},segmentIgnoreThreshold:1,style:t.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return n.add(r),n.add(a),n}},t.prototype._prepareDataShadowInfo=function(){var e=this.dataZoomModel,t=e.get("showDataShadow");if(!1!==t){var n,r=this.ecModel;return e.eachTargetAxis((function(a,o){ee(e.getAxisProxy(a,o).getTargetSeriesModels(),(function(e){if(!(n||!0!==t&&K(mU,e.get("type"))<0)){var i,s=r.getComponent(OB(a),o).axis,l={x:"y",y:"x",radius:"angle",angle:"radius"}[a],u=e.coordinateSystem;null!=l&&u.getOtherAxis&&(i=u.getOtherAxis(s).inverse),l=e.getData().mapDimension(l),n={thisAxis:s,series:e,thisDim:a,otherDim:l,otherAxisInverse:i}}}),this)}),this),n}},t.prototype._renderHandle=function(){var e=this.group,t=this._displayables,n=t.handles=[null,null],r=t.handleLabels=[null,null],a=this._displayables.sliderGroup,o=this._size,i=this.dataZoomModel,s=this.api,l=i.get("borderRadius")||0,u=i.get("brushSelect"),c=t.filler=new pU({silent:u,style:{fill:i.get("fillerColor")},textConfig:{position:"inside"}});a.add(c),a.add(new pU({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:o[0],height:o[1],r:l},style:{stroke:i.get("dataBackgroundColor")||i.get("borderColor"),lineWidth:1,fill:"rgba(0,0,0,0)"}})),ee([0,1],(function(t){var o=i.get("handleIcon");!iy[o]&&o.indexOf("path://")<0&&o.indexOf("image://")<0&&(o="path://"+o);var s=uy(o,-1,0,2,2,null,!0);s.attr({cursor:yU(this._orient),draggable:!0,drift:ie(this._onDragMove,this,t),ondragend:ie(this._onDragEnd,this),onmouseover:ie(this._showDataInfo,this,!0),onmouseout:ie(this._showDataInfo,this,!1),z2:5});var l=s.getBoundingRect(),u=i.get("handleSize");this._handleHeight=Lo(u,this._size[1]),this._handleWidth=l.width/l.height*this._handleHeight,s.setStyle(i.getModel("handleStyle").getItemStyle()),s.style.strokeNoScale=!0,s.rectHover=!0,s.ensureState("emphasis").style=i.getModel(["emphasis","handleStyle"]).getItemStyle(),zu(s);var c=i.get("handleColor");null!=c&&(s.style.fill=c),a.add(n[t]=s);var d=i.getModel("textStyle");e.add(r[t]=new Yl({silent:!0,invisible:!0,style:pc(d,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:d.getTextColor(),font:d.getFont()}),z2:10}))}),this);var d=c;if(u){var p=Lo(i.get("moveHandleSize"),o[1]),f=t.moveHandle=new Il({style:i.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:o[1]-.5,height:p}}),h=.8*p,m=t.moveHandleIcon=uy(i.get("moveHandleIcon"),-h/2,-h/2,h,h,"#fff",!0);m.silent=!0,m.y=o[1]+p/2-.5,f.ensureState("emphasis").style=i.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var g=Math.min(o[1]/2,Math.max(p,10));(d=t.moveZone=new Il({invisible:!0,shape:{y:o[1]-g,height:p+g}})).on("mouseover",(function(){s.enterEmphasis(f)})).on("mouseout",(function(){s.leaveEmphasis(f)})),a.add(f),a.add(m),a.add(d)}d.attr({draggable:!0,cursor:yU(this._orient),drift:ie(this._onDragMove,this,"all"),ondragstart:ie(this._showDataInfo,this,!0),ondragend:ie(this._onDragEnd,this),onmouseover:ie(this._showDataInfo,this,!0),onmouseout:ie(this._showDataInfo,this,!1)})},t.prototype._resetInterval=function(){var e=this._range=this.dataZoomModel.getPercentRange(),t=this._getViewExtent();this._handleEnds=[No(e[0],[0,100],t,!0),No(e[1],[0,100],t,!0)]},t.prototype._updateInterval=function(e,t){var n=this.dataZoomModel,r=this._handleEnds,a=this._getViewExtent(),o=n.findRepresentativeAxisProxy().getMinMaxSpan(),i=[0,100];_D(t,r,a,n.get("zoomLock")?"all":e,null!=o.minSpan?No(o.minSpan,i,a,!0):null,null!=o.maxSpan?No(o.maxSpan,i,a,!0):null);var s=this._range,l=this._range=jo([No(r[0],a,i,!0),No(r[1],a,i,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},t.prototype._updateView=function(e){var t=this._displayables,n=this._handleEnds,r=jo(n.slice()),a=this._size;ee([0,1],(function(e){var r=t.handles[e],o=this._handleHeight;r.attr({scaleX:o/2,scaleY:o/2,x:n[e]+(e?-1:1),y:a[1]/2-o/2})}),this),t.filler.setShape({x:r[0],y:0,width:r[1]-r[0],height:a[1]});var o={x:r[0],width:r[1]-r[0]};t.moveHandle&&(t.moveHandle.setShape(o),t.moveZone.setShape(o),t.moveZone.getBoundingRect(),t.moveHandleIcon&&t.moveHandleIcon.attr("x",o.x+o.width/2));for(var i=t.dataShadowSegs,s=[0,r[0],r[1],a[0]],l=0;lt[0]||n[1]<0||n[1]>t[1])){var r=this._handleEnds,a=(r[0]+r[1])/2,o=this._updateInterval("all",n[0]-a);this._updateView(),o&&this._dispatchZoomAction(!1)}},t.prototype._onBrushStart=function(e){var t=e.offsetX,n=e.offsetY;this._brushStart=new Zt(t,n),this._brushing=!0,this._brushStartTime=+new Date},t.prototype._onBrushEnd=function(e){if(this._brushing){var t=this._displayables.brushRect;if(this._brushing=!1,t){t.attr("ignore",!0);var n=t.shape;if(!(+new Date-this._brushStartTime<200&&Math.abs(n.width)<5)){var r=this._getViewExtent(),a=[0,100];this._range=jo([No(n.x,r,a,!0),No(n.x+n.width,r,a,!0)]),this._handleEnds=[n.x,n.x+n.width],this._updateView(),this._dispatchZoomAction(!1)}}}},t.prototype._onBrush=function(e){this._brushing&&($t(e.event),this._updateBrushRect(e.offsetX,e.offsetY))},t.prototype._updateBrushRect=function(e,t){var n=this._displayables,r=this.dataZoomModel,a=n.brushRect;a||(a=n.brushRect=new pU({silent:!0,style:r.getModel("brushStyle").getItemStyle()}),n.sliderGroup.add(a)),a.attr("ignore",!1);var o=this._brushStart,i=this._displayables.sliderGroup,s=i.transformCoordToLocal(e,t),l=i.transformCoordToLocal(o.x,o.y),u=this._size;s[0]=Math.max(Math.min(u[0],s[0]),0),a.setShape({x:l[0],y:0,width:s[0]-l[0],height:u[1]})},t.prototype._dispatchZoomAction=function(e){var t=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:e?gU:null,start:t[0],end:t[1]})},t.prototype._findCoordRect=function(){var e,t=IB(this.dataZoomModel).infoList;if(!e&&t.length){var n=t[0].model.coordinateSystem;e=n.getRect&&n.getRect()}if(!e){var r=this.api.getWidth(),a=this.api.getHeight();e={x:.2*r,y:.2*a,width:.6*r,height:.6*a}}return e},t.type="dataZoom.slider",t}(jB);function yU(e){return"vertical"===e?"ns-resize":"ew-resize"}const bU=vU;function wU(e){e.registerComponentModel(dU),e.registerComponentView(bU),qB(e)}var xU={get:function(e,t,n){var r=U((SU[e]||{})[t]);return n&&le(r)?r[r.length-1]:r}},SU={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}};const _U=xU;var AU=hO.mapVisual,CU=hO.eachVisual,TU=le,kU=ee,EU=jo,MU=No,PU=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.stateList=["inRange","outOfRange"],n.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],n.layoutMode={type:"box",ignoreSize:!0},n.dataBound=[-1/0,1/0],n.targetVisuals={},n.controllerVisuals={},n}return y(t,e),t.prototype.init=function(e,t,n){this.mergeDefaultAndTheme(e,n)},t.prototype.optionUpdated=function(e,t){var n=this.option;!t&&hW(n,e,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},t.prototype.resetVisual=function(e){var t=this.stateList;e=ie(e,this),this.controllerVisuals=fW(this.option.controller,t,e),this.targetVisuals=fW(this.option.target,t,e)},t.prototype.getItemSymbol=function(){return null},t.prototype.getTargetSeriesIndices=function(){var e=this.option.seriesIndex,t=[];return null==e||"all"===e?this.ecModel.eachSeries((function(e,n){t.push(n)})):t=ui(e),t},t.prototype.eachTargetSeries=function(e,t){ee(this.getTargetSeriesIndices(),(function(n){var r=this.ecModel.getSeriesByIndex(n);r&&e.call(t,r)}),this)},t.prototype.isTargetSeries=function(e){var t=!1;return this.eachTargetSeries((function(n){n===e&&(t=!0)})),t},t.prototype.formatValueText=function(e,t,n){var r,a=this.option,o=a.precision,i=this.dataBound,s=a.formatter;n=n||["<",">"],le(e)&&(e=e.slice(),r=!0);var l=t?e:r?[u(e[0]),u(e[1])]:u(e);return ce(s)?s.replace("{value}",r?l[0]:l).replace("{value2}",r?l[1]:l):ue(s)?r?s(e[0],e[1]):s(e):r?e[0]===i[0]?n[0]+" "+l[1]:e[1]===i[1]?n[1]+" "+l[0]:l[0]+" - "+l[1]:l;function u(e){return e===i[0]?"min":e===i[1]?"max":(+e).toFixed(Math.min(o,20))}},t.prototype.resetExtent=function(){var e=this.option,t=EU([e.min,e.max]);this._dataExtent=t},t.prototype.getDataDimensionIndex=function(e){var t=this.option.dimension;if(null!=t)return e.getDimensionIndex(t);for(var n=e.dimensions,r=n.length-1;r>=0;r--){var a=n[r],o=e.getDimensionInfo(a);if(!o.isCalculationCoord)return o.storeDimIndex}},t.prototype.getExtent=function(){return this._dataExtent.slice()},t.prototype.completeVisualOption=function(){var e=this.ecModel,t=this.option,n={inRange:t.inRange,outOfRange:t.outOfRange},r=t.target||(t.target={}),a=t.controller||(t.controller={});H(r,n),H(a,n);var o=this.isCategory();function i(n){TU(t.color)&&!n.inRange&&(n.inRange={color:t.color.slice().reverse()}),n.inRange=n.inRange||{color:e.get("gradientColor")}}i.call(this,r),i.call(this,a),function(e,t,n){var r=e[t],a=e[n];r&&!a&&(a=e[n]={},kU(r,(function(e,t){if(hO.isValidType(t)){var n=_U.get(t,"inactive",o);null!=n&&(a[t]=n,"color"!==t||a.hasOwnProperty("opacity")||a.hasOwnProperty("colorAlpha")||(a.opacity=[0,0]))}})))}.call(this,r,"inRange","outOfRange"),function(e){var t=(e.inRange||{}).symbol||(e.outOfRange||{}).symbol,n=(e.inRange||{}).symbolSize||(e.outOfRange||{}).symbolSize,r=this.get("inactiveColor"),a=this.getItemSymbol()||"roundRect";kU(this.stateList,(function(i){var s=this.itemSize,l=e[i];l||(l=e[i]={color:o?r:[r]}),null==l.symbol&&(l.symbol=t&&U(t)||(o?a:[a])),null==l.symbolSize&&(l.symbolSize=n&&U(n)||(o?s[0]:[s[0],s[0]])),l.symbol=AU(l.symbol,(function(e){return"none"===e?a:e}));var u=l.symbolSize;if(null!=u){var c=-1/0;CU(u,(function(e){e>c&&(c=e)})),l.symbolSize=AU(u,(function(e){return MU(e,[0,c],[0,s[0]],!0)}))}}),this)}.call(this,a)},t.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},t.prototype.isCategory=function(){return!!this.option.categories},t.prototype.setSelected=function(e){},t.prototype.getSelected=function(){return null},t.prototype.getValueState=function(e){return null},t.prototype.getVisualMeta=function(e){return null},t.type="visualMap",t.dependencies=["series"],t.defaultOption={show:!0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},t}(Yd);const OU=PU;var IU=[20,140],DU=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return y(t,e),t.prototype.optionUpdated=function(t,n){e.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual((function(e){e.mappingMethod="linear",e.dataExtent=this.getExtent()})),this._resetRange()},t.prototype.resetItemSize=function(){e.prototype.resetItemSize.apply(this,arguments);var t=this.itemSize;(null==t[0]||isNaN(t[0]))&&(t[0]=IU[0]),(null==t[1]||isNaN(t[1]))&&(t[1]=IU[1])},t.prototype._resetRange=function(){var e=this.getExtent(),t=this.option.range;!t||t.auto?(e.auto=1,this.option.range=e):le(t)&&(t[0]>t[1]&&t.reverse(),t[0]=Math.max(t[0],e[0]),t[1]=Math.min(t[1],e[1]))},t.prototype.completeVisualOption=function(){e.prototype.completeVisualOption.apply(this,arguments),ee(this.stateList,(function(e){var t=this.option.controller[e].symbolSize;t&&t[0]!==t[1]&&(t[0]=t[1]/3)}),this)},t.prototype.setSelected=function(e){this.option.range=e.slice(),this._resetRange()},t.prototype.getSelected=function(){var e=this.getExtent(),t=jo((this.get("range")||[]).slice());return t[0]>e[1]&&(t[0]=e[1]),t[1]>e[1]&&(t[1]=e[1]),t[0]=n[1]||e<=t[1])?"inRange":"outOfRange"},t.prototype.findTargetDataIndices=function(e){var t=[];return this.eachTargetSeries((function(n){var r=[],a=n.getData();a.each(this.getDataDimensionIndex(a),(function(t,n){e[0]<=t&&t<=e[1]&&r.push(n)}),this),t.push({seriesId:n.id,dataIndex:r})}),this),t},t.prototype.getVisualMeta=function(e){var t=RU(0,0,this.getExtent()),n=RU(0,0,this.option.range.slice()),r=[];function a(t,n){r.push({value:t,color:e(t,n)})}for(var o=0,i=0,s=n.length,l=t.length;ie[1])break;n.push({color:this.getControllerVisual(o,"color",t),offset:a/100})}return n.push({color:this.getControllerVisual(e[1],"color",t),offset:1}),n},t.prototype._createBarPoints=function(e,t){var n=this.visualMapModel.itemSize;return[[n[0]-t[0],e[0]],[n[0],e[0]],[n[0],e[1]],[n[0]-t[1],e[1]]]},t.prototype._createBarGroup=function(e){var t=this._orient,n=this.visualMapModel.get("inverse");return new wo("horizontal"!==t||n?"horizontal"===t&&n?{scaleX:"bottom"===e?-1:1,rotation:-Math.PI/2}:"vertical"!==t||n?{scaleX:"left"===e?1:-1}:{scaleX:"left"===e?1:-1,scaleY:-1}:{scaleX:"bottom"===e?1:-1,rotation:Math.PI/2})},t.prototype._updateHandle=function(e,t){if(this._useHandle){var n=this._shapes,r=this.visualMapModel,a=n.handleThumbs,o=n.handleLabels,i=r.itemSize,s=r.getExtent();zU([0,1],(function(l){var u=a[l];u.setStyle("fill",t.handlesColor[l]),u.y=e[l];var c=BU(e[l],[0,i[1]],s,!0),d=this.getControllerVisual(c,"symbolSize");u.scaleX=u.scaleY=d/i[0],u.x=i[0]-d/2;var p=Ig(n.handleLabelPoints[l],Og(u,this.group));o[l].setStyle({x:p[0],y:p[1],text:r.formatValueText(this._dataInterval[l]),verticalAlign:"middle",align:"vertical"===this._orient?this._applyTransform("left",n.mainGroup):"center"})}),this)}},t.prototype._showIndicator=function(e,t,n,r){var a=this.visualMapModel,o=a.getExtent(),i=a.itemSize,s=[0,i[1]],l=this._shapes,u=l.indicator;if(u){u.attr("invisible",!1);var c=this.getControllerVisual(e,"color",{convertOpacityToAlpha:!0}),d=this.getControllerVisual(e,"symbolSize"),p=BU(e,o,s,!0),f=i[0]-d/2,h={x:u.x,y:u.y};u.y=p,u.x=f;var m=Ig(l.indicatorLabelPoint,Og(u,this.group)),g=l.indicatorLabel;g.attr("invisible",!1);var v=this._applyTransform("left",l.mainGroup),y="horizontal"===this._orient;g.setStyle({text:(n||"")+a.formatValueText(t),verticalAlign:y?v:"middle",align:y?"center":v});var b={x:f,y:p,style:{fill:c}},w={style:{x:m[0],y:m[1]}};if(a.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var x={duration:100,easing:"cubicInOut",additive:!0};u.x=h.x,u.y=h.y,u.animateTo(b,x),g.animateTo(w,x)}else u.attr(b),g.attr(w);this._firstShowIndicator=!1;var S=this._shapes.handleLabels;if(S)for(var _=0;_a[1]&&(u[1]=1/0),t&&(u[0]===-1/0?this._showIndicator(l,u[1],"< ",i):u[1]===1/0?this._showIndicator(l,u[0],"> ",i):this._showIndicator(l,l,"≈ ",i));var c=this._hoverLinkDataIndices,d=[];(t||qU(n))&&(d=this._hoverLinkDataIndices=n.findTargetDataIndices(u));var p=function(e,t){var n={},r={};return a(e||[],n),a(t||[],r,n),[o(n),o(r)];function a(e,t,n){for(var r=0,a=e.length;r=0&&(a.dimension=o,r.push(a))}})),e.getData().setVisual("visualMeta",r)}}];function ZU(e,t,n,r){for(var a=t.targetVisuals[r],o=hO.prepareVisualTypes(a),i={color:qv(e.getData(),"color")},s=0,l=o.length;s0:e.splitNumber>0)&&!e.calculable?"piecewise":"continuous"})),e.registerAction(XU,KU),ee(QU,(function(t){e.registerVisual(e.PRIORITY.VISUAL.COMPONENT,t)})),e.registerPreprocessor(eH))}function aH(e){e.registerComponentModel(NU),e.registerComponentView(YU),rH(e)}var oH=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._pieceList=[],n}return y(t,e),t.prototype.optionUpdated=function(t,n){e.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var r=this._mode=this._determineMode();this._pieceList=[],iH[this._mode].call(this,this._pieceList),this._resetSelected(t,n);var a=this.option.categories;this.resetVisual((function(e,t){"categories"===r?(e.mappingMethod="category",e.categories=U(a)):(e.dataExtent=this.getExtent(),e.mappingMethod="piecewise",e.pieceList=te(this._pieceList,(function(e){return e=U(e),"inRange"!==t&&(e.visual=null),e})))}))},t.prototype.completeVisualOption=function(){var t=this.option,n={},r=hO.listVisualTypes(),a=this.isCategory();function o(e,t,n){return e&&e[t]&&e[t].hasOwnProperty(n)}ee(t.pieces,(function(e){ee(r,(function(t){e.hasOwnProperty(t)&&(n[t]=1)}))})),ee(n,(function(e,n){var r=!1;ee(this.stateList,(function(e){r=r||o(t,e,n)||o(t.target,e,n)}),this),!r&&ee(this.stateList,(function(e){(t[e]||(t[e]={}))[n]=_U.get(n,"inRange"===e?"active":"inactive",a)}))}),this),e.prototype.completeVisualOption.apply(this,arguments)},t.prototype._resetSelected=function(e,t){var n=this.option,r=this._pieceList,a=(t?n:e).selected||{};if(n.selected=a,ee(r,(function(e,t){var n=this.getSelectedMapKey(e);a.hasOwnProperty(n)||(a[n]=!0)}),this),"single"===n.selectedMode){var o=!1;ee(r,(function(e,t){var n=this.getSelectedMapKey(e);a[n]&&(o?a[n]=!1:o=!0)}),this)}},t.prototype.getItemSymbol=function(){return this.get("itemSymbol")},t.prototype.getSelectedMapKey=function(e){return"categories"===this._mode?e.value+"":e.index+""},t.prototype.getPieceList=function(){return this._pieceList},t.prototype._determineMode=function(){var e=this.option;return e.pieces&&e.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},t.prototype.setSelected=function(e){this.option.selected=U(e)},t.prototype.getValueState=function(e){var t=hO.findPieceIndex(e,this._pieceList);return null!=t&&this.option.selected[this.getSelectedMapKey(this._pieceList[t])]?"inRange":"outOfRange"},t.prototype.findTargetDataIndices=function(e){var t=[],n=this._pieceList;return this.eachTargetSeries((function(r){var a=[],o=r.getData();o.each(this.getDataDimensionIndex(o),(function(t,r){hO.findPieceIndex(t,n)===e&&a.push(r)}),this),t.push({seriesId:r.id,dataIndex:a})}),this),t},t.prototype.getRepresentValue=function(e){var t;if(this.isCategory())t=e.value;else if(null!=e.value)t=e.value;else{var n=e.interval||[];t=n[0]===-1/0&&n[1]===1/0?0:(n[0]+n[1])/2}return t},t.prototype.getVisualMeta=function(e){if(!this.isCategory()){var t=[],n=["",""],r=this,a=this._pieceList.slice();if(a.length){var o=a[0].interval[0];o!==-1/0&&a.unshift({interval:[-1/0,o]}),(o=a[a.length-1].interval[1])!==1/0&&a.push({interval:[o,1/0]})}else a.push({interval:[-1/0,1/0]});var i=-1/0;return ee(a,(function(e){var t=e.interval;t&&(t[0]>i&&s([i,t[0]],"outOfRange"),s(t.slice()),i=t[1])}),this),{stops:t,outerColors:n}}function s(a,o){var i=r.getRepresentValue({interval:a});o||(o=r.getValueState(i));var s=e(i,o);a[0]===-1/0?n[0]=s:a[1]===1/0?n[1]=s:t.push({value:a[0],color:s},{value:a[1],color:s})}},t.type="visualMap.piecewise",t.defaultOption=Fc(OU.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),t}(OU),iH={splitNumber:function(e){var t=this.option,n=Math.min(t.precision,20),r=this.getExtent(),a=t.splitNumber;a=Math.max(parseInt(a,10),1),t.splitNumber=a;for(var o=(r[1]-r[0])/a;+o.toFixed(n)!==o&&n<5;)n++;t.precision=n,o=+o.toFixed(n),t.minOpen&&e.push({interval:[-1/0,r[0]],close:[0,0]});for(var i=0,s=r[0];i","≥"][t[0]]];e.text=e.text||this.formatValueText(null!=e.value?e.value:e.interval,!1,n)}),this)}};function sH(e,t){var n=e.inverse;("vertical"===e.orient?!n:n)&&t.reverse()}const lH=oH,uH=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return y(t,e),t.prototype.doRender=function(){var e=this.group;e.removeAll();var t=this.visualMapModel,n=t.get("textGap"),r=t.textStyleModel,a=r.getFont(),o=r.getTextColor(),i=this._getItemAlign(),s=t.itemSize,l=this._getViewData(),u=l.endsText,c=xe(t.get("showLabel",!0),!u);u&&this._renderEndsText(e,u[0],s,c,i),ee(l.viewPieceList,(function(r){var l=r.piece,u=new wo;u.onclick=ie(this._onItemClick,this,l),this._enableHoverLink(u,r.indexInModelPieceList);var d=t.getRepresentValue(l);if(this._createItemSymbol(u,d,[0,0,s[0],s[1]]),c){var p=this.visualMapModel.getValueState(d);u.add(new Yl({style:{x:"right"===i?-n:s[0]+n,y:s[1]/2,text:l.text,verticalAlign:"middle",align:i,font:a,fill:o,opacity:"outOfRange"===p?.5:1}}))}e.add(u)}),this),u&&this._renderEndsText(e,u[1],s,c,i),Fd(t.get("orient"),e,t.get("itemGap")),this.renderBackground(e),this.positionGroup(e)},t.prototype._enableHoverLink=function(e,t){var n=this;e.on("mouseover",(function(){return r("highlight")})).on("mouseout",(function(){return r("downplay")}));var r=function(e){var r=n.visualMapModel;r.option.hoverLink&&n.api.dispatchAction({type:e,batch:FU(r.findTargetDataIndices(t),r)})}},t.prototype._getItemAlign=function(){var e=this.visualMapModel,t=e.option;if("vertical"===t.orient)return jU(e,this.api,e.itemSize);var n=t.align;return n&&"auto"!==n||(n="left"),n},t.prototype._renderEndsText=function(e,t,n,r,a){if(t){var o=new wo,i=this.visualMapModel.textStyleModel;o.add(new Yl({style:pc(i,{x:r?"right"===a?n[0]:0:n[0]/2,y:n[1]/2,verticalAlign:"middle",align:r?a:"center",text:t})})),e.add(o)}},t.prototype._getViewData=function(){var e=this.visualMapModel,t=te(e.getPieceList(),(function(e,t){return{piece:e,indexInModelPieceList:t}})),n=e.get("text"),r=e.get("orient"),a=e.get("inverse");return("horizontal"===r?a:!a)?t.reverse():n&&(n=n.slice().reverse()),{viewPieceList:t,endsText:n}},t.prototype._createItemSymbol=function(e,t,n){e.add(uy(this.getControllerVisual(t,"symbol"),n[0],n[1],n[2],n[3],this.getControllerVisual(t,"color")))},t.prototype._onItemClick=function(e){var t=this.visualMapModel,n=t.option,r=n.selectedMode;if(r){var a=U(n.selected),o=t.getSelectedMapKey(e);"single"===r||!0===r?(a[o]=!0,ee(a,(function(e,t){a[t]=t===o}))):a[o]=!a[o],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:a})}},t.type="visualMap.piecewise",t}(LU);function cH(e){e.registerComponentModel(lH),e.registerComponentView(uH),rH(e)}var dH={label:{enabled:!0},decal:{show:!1}},pH=xi(),fH={};function hH(e,t){var n=e.getModel("aria");if(n.get("enabled")){var r=U(dH);H(r.label,e.getLocaleModel().get("aria"),!1),H(n.option,r,!1),function(){if(n.getModel("decal").get("show")){var t=Re();e.eachSeries((function(e){if(!e.isColorBySeries()){var n=t.get(e.type);n||(n={},t.set(e.type,n)),pH(e).scope=n}})),e.eachRawSeries((function(t){if(!e.isSeriesFiltered(t))if(ue(t.enableAriaDecal))t.enableAriaDecal();else{var n=t.getData();if(t.isColorBySeries()){var r=xp(t.ecModel,t.name,fH,e.getSeriesCount()),a=n.getVisual("decal");n.setVisual("decal",u(a,r))}else{var o=t.getRawData(),i={},s=pH(t).scope;n.each((function(e){var t=n.getRawIndex(e);i[t]=e}));var l=o.count();o.each((function(e){var r=i[e],a=o.getName(e)||e+"",c=xp(t.ecModel,a,s,l),d=n.getItemVisual(r,"decal");n.setItemVisual(r,"decal",u(d,c))}))}}function u(e,t){var n=e?G(G({},t),e):t;return n.dirty=!0,n}}))}}(),function(){var r=t.getZr().dom;if(r){var o=e.getLocaleModel().get("aria"),i=n.getModel("label");if(i.option=Y(i.option,o),i.get("enabled"))if(i.get("description"))r.setAttribute("aria-label",i.get("description"));else{var s,l=e.getSeriesCount(),u=i.get(["data","maxCount"])||10,c=i.get(["series","maxCount"])||10,d=Math.min(l,c);if(!(l<1)){var p=function(){var t=e.get("title");return t&&t.length&&(t=t[0]),t&&t.text}();s=p?a(i.get(["general","withTitle"]),{title:p}):i.get(["general","withoutTitle"]);var f=[];s+=a(l>1?i.get(["series","multiple","prefix"]):i.get(["series","single","prefix"]),{seriesCount:l}),e.eachSeries((function(t,n){if(n1?i.get(["series","multiple",o]):i.get(["series","single",o]),{seriesId:t.seriesIndex,seriesName:t.get("name"),seriesType:(b=t.subType,w=e.getLocaleModel().get(["series","typeNames"]),w[b]||w.chart)});var s=t.getData();s.count()>u?r+=a(i.get(["data","partialData"]),{displayCnt:u}):r+=i.get(["data","allData"]);for(var c=i.get(["data","separator","middle"]),p=i.get(["data","separator","end"]),h=[],m=0;m":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},vH=function(){function e(e){null==(this._condVal=ce(e)?new RegExp(e):be(e)?e:null)&&Lf("")}return e.prototype.evaluate=function(e){var t=typeof e;return ce(t)?this._condVal.test(e):!!pe(t)&&this._condVal.test(e+"")},e}(),yH=function(){function e(){}return e.prototype.evaluate=function(){return this.value},e}(),bH=function(){function e(){}return e.prototype.evaluate=function(){for(var e=this.children,t=0;t2&&l.push(t),t=[e,n]}function h(e,n,r,a){IH(e,r)&&IH(n,a)||t.push(e,n,r,a,r,a)}function m(e,n,r,a,o,i){var s=Math.abs(n-e),l=4*Math.tan(s/4)/3,u=nA:k2&&l.push(t),l}function RH(e,t,n,r,a,o,i,s,l,u){if(IH(e,n)&&IH(t,r)&&IH(a,i)&&IH(o,s))l.push(i,s);else{var c=2/u,d=c*c,p=i-e,f=s-t,h=Math.sqrt(p*p+f*f);p/=h,f/=h;var m=n-e,g=r-t,v=a-i,y=o-s,b=m*m+g*g,w=v*v+y*y;if(b=0&&w-S*S=0)l.push(i,s);else{var _=[],A=[];Zn(e,n,a,i,.5,_),Zn(t,r,o,s,.5,A),RH(_[0],A[0],_[1],A[1],_[2],A[2],_[3],A[3],l,u),RH(_[4],A[4],_[5],A[5],_[6],A[6],_[7],A[7],l,u)}}}}function NH(e,t,n){var r=e[t],a=e[1-t],o=Math.abs(r/a),i=Math.ceil(Math.sqrt(o*n)),s=Math.floor(n/i);0===s&&(s=1,i=n);for(var l=[],u=0;u0)for(u=0;uMath.abs(u),d=NH([l,u],c?0:1,t),p=(c?s:u)/d.length,f=0;f1?null:new Zt(f*l+e,f*u+t)}function FH(e,t,n){var r=new Zt;Zt.sub(r,n,t),r.normalize();var a=new Zt;return Zt.sub(a,e,t),a.dot(r)}function BH(e,t){var n=e[e.length-1];n&&n[0]===t[0]&&n[1]===t[1]||e.push(t)}function zH(e){var t=e.points,n=[],r=[];As(t,n,r);var a=new un(n[0],n[1],r[0]-n[0],r[1]-n[1]),o=a.width,i=a.height,s=a.x,l=a.y,u=new Zt,c=new Zt;return o>i?(u.x=c.x=s+o/2,u.y=l,c.y=l+i):(u.y=c.y=l+i/2,u.x=s,c.x=s+o),function(e,t,n){for(var r=e.length,a=[],o=0;o0;l/=2){var u=0,c=0;(e&l)>0&&(u=1),(t&l)>0&&(c=1),s+=l*l*(3*u^c),0===c&&(1===u&&(e=l-1-e,t=l-1-t),i=e,e=t,t=i)}return s}function rq(e){var t=1/0,n=1/0,r=-1/0,a=-1/0,o=te(e,(function(e){var o=e.getBoundingRect(),i=e.getComputedTransform(),s=o.x+o.width/2+(i?i[4]:0),l=o.y+o.height/2+(i?i[5]:0);return t=Math.min(s,t),n=Math.min(l,n),r=Math.max(s,r),a=Math.max(l,a),[s,l]}));return te(o,(function(o,i){return{cp:o,z:nq(o[0],o[1],t,n,r,a),path:e[i]}})).sort((function(e,t){return e.z-t.z})).map((function(e){return e.path}))}function aq(e){return function(e,t){var n,r=[],a=e.shape;switch(e.type){case"rect":!function(e,t,n){for(var r=e.width,a=e.height,o=r>a,i=NH([r,a],o?0:1,t),s=o?"width":"height",l=o?"height":"width",u=o?"x":"y",c=o?"y":"x",d=e[s]/i.length,p=0;p=0;a--)if(!n[a].many.length){var l=n[s].many;if(l.length<=1){if(!s)return n;s=0}o=l.length;var u=Math.ceil(o/2);n[a].many=l.slice(u,o),n[s].many=l.slice(0,u),s++}return n}var sq={clone:function(e){for(var t=[],n=1-Math.pow(1-e.path.style.opacity,1/e.count),r=0;r0){var s,l,u=r.getModel("universalTransition").get("delay"),c=Object.assign({setToFinal:!0},i);oq(e)&&(s=e,l=t),oq(t)&&(s=t,l=e);for(var d=s?s===e:e.length>t.length,p=s?iq(l,s):iq(d?t:e,[d?e:t]),f=0,h=0;hcq))for(var a=n.getIndices(),o=0;o0&&r.group.traverse((function(e){e instanceof vl&&!e.animators.length&&e.animateFrom({style:{opacity:0}},a)}))}))}function yq(e){return e.getModel("universalTransition").get("seriesKey")||e.id}function bq(e){return le(e)?e.sort().join(","):e}function wq(e){if(e.hostModel)return e.hostModel.getModel("universalTransition").get("divideShape")}function xq(e,t){for(var n=0;n=0&&a.push({dataGroupId:t.oldDataGroupIds[n],data:t.oldData[n],divide:wq(t.oldData[n]),groupIdDim:e.dimension})})),ee(ui(e.to),(function(e){var r=xq(n.updatedSeries,e);if(r>=0){var a=n.updatedSeries[r].getData();o.push({dataGroupId:t.oldDataGroupIds[r],data:a,divide:wq(a),groupIdDim:e.dimension})}})),a.length>0&&o.length>0&&vq(a,o,r)}(e,r,n,t)}));else{var o=function(e,t){var n=Re(),r=Re(),a=Re();return ee(e.oldSeries,(function(t,n){var o=e.oldDataGroupIds[n],i=e.oldData[n],s=yq(t),l=bq(s);r.set(l,{dataGroupId:o,data:i}),le(s)&&ee(s,(function(e){a.set(e,{key:l,dataGroupId:o,data:i})}))})),ee(t.updatedSeries,(function(e){if(e.isUniversalTransitionEnabled()&&e.isAnimationEnabled()){var t=e.get("dataGroupId"),o=e.getData(),i=yq(e),s=bq(i),l=r.get(s);if(l)n.set(s,{oldSeries:[{dataGroupId:l.dataGroupId,divide:wq(l.data),data:l.data}],newSeries:[{dataGroupId:t,divide:wq(o),data:o}]});else if(le(i)){var u=[];ee(i,(function(e){var t=r.get(e);t.data&&u.push({dataGroupId:t.dataGroupId,divide:wq(t.data),data:t.data})})),u.length&&n.set(s,{oldSeries:u,newSeries:[{dataGroupId:t,data:o,divide:wq(o)}]})}else{var c=a.get(i);if(c){var d=n.get(c.key);d||(d={oldSeries:[{dataGroupId:c.dataGroupId,data:c.data,divide:wq(c.data)}],newSeries:[]},n.set(c.key,d)),d.newSeries.push({dataGroupId:t,data:o,divide:wq(o)})}}}})),n}(r,n);ee(o.keys(),(function(e){var n=o.get(e);vq(n.oldSeries,n.newSeries,t)}))}ee(n.updatedSeries,(function(e){e[Dh]&&(e[Dh]=!1)}))}for(var i=e.getSeries(),s=r.oldSeries=[],l=r.oldDataGroupIds=[],u=r.oldData=[],c=0;c{"use strict";e.exports=function(e){var t=e.uri,n=e.name,r=e.type;this.uri=t,this.name=n,this.type=r}},69550:(e,t,n)=>{"use strict";var r=n(64767);e.exports=function e(t,n,a){var o;void 0===n&&(n=""),void 0===a&&(a=r);var i=new Map;function s(e,t){var n=i.get(t);n?n.push.apply(n,e):i.set(t,e)}if(a(t))o=null,s([n],t);else{var l=n?n+".":"";if("undefined"!=typeof FileList&&t instanceof FileList)o=Array.prototype.map.call(t,(function(e,t){return s([""+l+t],e),null}));else if(Array.isArray(t))o=t.map((function(t,n){var r=e(t,""+l+n,a);return r.files.forEach(s),r.clone}));else if(t&&t.constructor===Object)for(var u in o={},t){var c=e(t[u],""+l+u,a);c.files.forEach(s),o[u]=c.clone}else o=t}return{clone:o,files:i}}},64767:(e,t,n)=>{"use strict";var r=n(56614);e.exports=function(e){return"undefined"!=typeof File&&e instanceof File||"undefined"!=typeof Blob&&e instanceof Blob||e instanceof r}},32017:e=>{"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,a,o;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(a=r;0!=a--;)if(!e(t[a],n[a]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(o=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(a=r;0!=a--;)if(!Object.prototype.hasOwnProperty.call(n,o[a]))return!1;for(a=r;0!=a--;){var i=o[a];if(!e(t[i],n[i]))return!1}return!0}return t!=t&&n!=n}},72492:e=>{"use strict";e.exports=function(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});var n,r="boolean"==typeof t.cycles&&t.cycles,a=t.cmp&&(n=t.cmp,function(e){return function(t,r){var a={key:t,value:e[t]},o={key:r,value:e[r]};return n(a,o)}}),o=[];return function e(t){if(t&&t.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0!==t){if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!=typeof t)return JSON.stringify(t);var n,i;if(Array.isArray(t)){for(i="[",n=0;n{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(96540)),o=r(n(813)),i=n(9018);t.default=function(e){var t=!e.readonly&&(!e.buttons||e.buttons.includes("confirm"));return a.default.createElement(i.Wrapper,{align:e.align||"flex-end",padding:e.padding,margin:e.margin},(!e.buttons||e.buttons.includes("cancel"))&&a.default.createElement(o.default,{margin:"0 16px",disabled:e.disabled||e.disabledCancel,name:e.names?e.names.cancel:"cancel-action","data-testid":"cancel-action",onClick:e.onCancel},e.labels?e.labels.cancel:"Cancelar"),t&&a.default.createElement(o.default,{color:e.actionButtonColor||"secondary",variant:"contained",disabled:e.disabled||e.disabledConfirm,name:e.names?e.names.confirm:"confirm-action","data-testid":"confirm-action",onClick:e.onConfirm},e.labels?e.labels.confirm:"Confirmar"))}},9018:(e,t,n)=>{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.Wrapper=void 0;var a,o=r(n(441)),i=r(n(34378));t.Wrapper=i.default.div(a||(a=(0,o.default)(["\n grid-area: actions;\n display: flex;\n flex: 1;\n justify-content: ",";\n padding: ",";\n margin: ",";\n"])),(function(e){return e.align}),(function(e){return e.padding}),(function(e){return e.margin}))},16880:(e,t,n)=>{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(55965)),o=r(n(47e3)),i=r(n(66536)),s=r(n(96540)),l=n(49044),u=["comment","author","padding","commentStyle","authorStyle"];function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.AdvertiseTypography=t.AdvertiseContainer=void 0;var a,o,i=r(n(441)),s=r(n(34378)),l=r(n(54166)),u=r(n(28228)),c=n(78944).theme.colors.gray;t.AdvertiseTypography=(0,s.default)(l.default)(a||(a=(0,i.default)(["\n && {\n border-left: 1px solid ",";\n }\n"])),c[400]),t.AdvertiseContainer=(0,s.default)(u.default)(o||(o=(0,i.default)(["\n display: flex;\n flex-direction: column;\n"])))},17394:(e,t,n)=>{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(89634)),o=r(n(96540));t.default=function(e){return o.default.createElement(a.default,e,e.name?e.name.charAt(0).toUpperCase():e.icon)}},42650:(e,t,n)=>{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(55965)),o=r(n(47e3)),i=r(n(66536)),s=r(n(96540)),l=r(n(79850)),u=["children","color","overlap","counter","vertical","horizontal","margin","padding","style"];function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(47e3)),o=r(n(66536)),i=r(n(96540)),s=r(n(54166)),l=n(18052),u=["padding","margin","style","childrenStyle","children","variant","primary"];function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.Line=t.Container=void 0;var a,o,i=r(n(441)),s=r(n(34378)),l=n(78944).theme.colors.gray;t.Line=s.default.div(a||(a=(0,i.default)(["\n height: 1px;\n flex: 1;\n min-height: 0.75px;\n max-height: 3px;\n align-self: center;\n background-color: ",";\n"])),(function(e){return e.primary?l[500]:l[300]})),t.Container=s.default.div(o||(o=(0,i.default)(["\n display: flex;\n"])))},4733:(e,t,n)=>{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(55965)),o=r(n(47e3)),i=r(n(66536)),s=r(n(25769)),l=r(n(96540)),u=r(n(86891)),c=["square","padding","margin","style"];function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.DataTableAction=void 0;var a=r(n(96540)),o=r(n(54468));t.DataTableAction=function(e){var t=e.label,n=e.children,r=e.color,i=void 0===r?"default":r,s=e.onClick;return a.default.createElement(o.default,{size:"small",color:i,"aria-label":t,onClick:s},n)}},71796:(e,t,n)=>{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.DataTableField=void 0;var a=r(n(47e3)),o=r(n(96540)),i=r(n(35343)),s=r(n(66032)),l=r(n(10650)),u=r(n(16191)),c=r(n(69859)),d=r(n(12867)),p=n(9786);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.makeDataTablePaginationActions=void 0;var a=r(n(50650)),o=r(n(50261)),i=r(n(7986)),s=r(n(76932)),l=r(n(96540)),u=r(n(54468)),c=n(9786);t.makeDataTablePaginationActions=function(e){var t=e.showFirstButton,n=e.showLastButton,r=e.clickable;return function(e){var d=e.count,p=e.page,f=e.rowsPerPage,h=e.onPageChange,m=Math.ceil(d/f)-1;return l.default.createElement(c.PaginationWrapper,null,t&&l.default.createElement(u.default,{disabled:0===p||r,"aria-label":"first page",onClick:function(e){h(e,0)}},l.default.createElement(s.default,null)),l.default.createElement(u.default,{disabled:0===p||r,"aria-label":"previous page",onClick:function(e){h(e,p-1)}},l.default.createElement(i.default,null)),l.default.createElement(u.default,{disabled:p>=m||r,"aria-label":"next page",onClick:function(e){h(e,p+1)}},l.default.createElement(o.default,null)),n&&l.default.createElement(u.default,{disabled:p>=m||r,"aria-label":"last page",onClick:function(e){h(e,Math.max(0,m))}},l.default.createElement(a.default,null)))}}},88814:(e,t,n)=>{"use strict";var r=n(84505),a=n(67267);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.DataTableQueryPaginated=void 0;var o=r(n(84635)),i=r(n(99652)),s=r(n(47e3)),l=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=a(e)&&"function"!=typeof e)return{default:e};var n=S(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&{}.hasOwnProperty.call(e,i)){var s=o?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(n(96540)),u=r(n(4825)),c=r(n(66032)),d=r(n(10650)),p=r(n(16191)),f=r(n(35411)),h=r(n(69941)),m=r(n(69859)),g=r(n(39989)),v=r(n(53640)),y=n(94260),b=n(28701),w=n(63643),x=n(7643);function S(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(S=function(e){return e?n:t})(e)}function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function A(e){for(var t=1;t{"use strict";var r=n(84505),a=n(67267);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.DataTable=void 0;var o=r(n(84635)),i=r(n(47e3)),s=r(n(99652)),l=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=a(e)&&"function"!=typeof e)return{default:e};var n=_(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&{}.hasOwnProperty.call(e,i)){var s=o?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(n(96540)),u=r(n(35343)),c=r(n(4825)),d=r(n(66032)),p=r(n(10650)),f=r(n(16191)),h=r(n(35411)),m=r(n(69941)),g=r(n(69859)),v=r(n(39989)),y=r(n(53640)),b=n(94260),w=n(28701),x=n(63643),S=n(7643);function _(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(_=function(e){return e?n:t})(e)}function A(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function C(e){for(var t=1;t0&&l.default.createElement(y.default,{style:{height:("small"===F?33:53)*fe}},l.default.createElement(f.default,{colSpan:P.length}))),!i.disabled&&l.default.createElement(m.default,null,l.default.createElement(y.default,null,l.default.createElement(v.default,{count:M.length,page:r,rowsPerPageOptions:i.rowsPerPageOptions,rowsPerPage:k,labelRowsPerPage:z?"":i.labelRowsPerPage,labelDisplayedRows:i.labelDisplayedRows,SelectProps:z?{style:{display:"none"}}:{},ActionsComponent:pe,onPageChange:function(e,t){a(t)},onRowsPerPageChange:function(e){E(parseInt(e.target.value,10)),a(0)}})))))};t.default=k},48070:(e,t,n)=>{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DataTable",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"DataTableAction",{enumerable:!0,get:function(){return o.DataTableAction}}),Object.defineProperty(t,"DataTableField",{enumerable:!0,get:function(){return i.DataTableField}}),Object.defineProperty(t,"DataTableQueryPaginated",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"RowMode",{enumerable:!0,get:function(){return l.RowMode}});var a=r(n(56837)),o=n(34236),i=n(71796),s=r(n(88814)),l=n(63643)},28701:(e,t,n)=>{"use strict";var r=n(84505),a=n(67267);Object.defineProperty(t,"__esModule",{value:!0}),t.StatefulRow=t.NewRow=void 0;var o=r(n(47e3)),i=r(n(99652)),s=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=a(e)&&"function"!=typeof e)return{default:e};var n=h(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&{}.hasOwnProperty.call(e,i)){var s=o?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(n(96540)),l=r(n(16191)),u=r(n(53640)),c=r(n(47281)),d=r(n(95372)),p=r(n(12867)),f=n(63643);function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(h=function(e){return e?n:t})(e)}function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function g(e){for(var t=1;t4&&void 0!==arguments[4]&&arguments[4];if("actions"===e.type)return e.renderCell({data:t,rowMode:f.RowMode.Edit,isNew:o});var i=null==r||null===(a=r[t.id])||void 0===a?void 0:a.has(e.field);if(e.renderCell){var l=t[e.field];return e.renderCell({data:t,rowMode:f.RowMode.Edit,isNew:o,hasError:i,value:l})}if("datetime"===e.type){var u=t[e.field];return s.default.createElement(c.default,{fullWidth:!0,type:"datetime",value:u,error:i,name:e.field.toString(),onChange:function(t){n(e.field,t)}})}if(e.type.includes("numeric")){var h="numeric-int"===e.type?0:2,m=t[e.field];return s.default.createElement(d.default,{fixedDecimalScale:!0,fullWidth:!0,type:"text",error:i,thousandSeparator:".",decimalSeparator:",",decimalScale:h,value:m,name:e.field.toString(),onValueChange:function(t){n(e.field,t.value)}})}var g="number"===e.type?"number":"text",v=t[e.field];return s.default.createElement(p.default,{fullWidth:!0,options:e.options,defaultValue:v,type:g,error:i,name:e.field.toString(),onChange:function(t){return n(e.field,t.target.value)}})},b=function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("actions"===e.type)return e.renderCell({data:t,rowMode:r?f.RowMode.Hide:f.RowMode.View});var a=t[e.field];return e.renderCell?e.renderCell({data:t,rowMode:f.RowMode.View,value:a}):(null===(n=e.getValue)||void 0===n?void 0:n.call(e,a))||a};t.StatefulRow=function(e){var t=e.data,n=e.mode,r=e.errors,a=e.columns,u=e.onUpdate,c=e.isHidden,d=(0,s.useState)((function(){return t})),p=(0,i.default)(d,2),h=p[0],m=p[1],w=(0,s.useCallback)((function(e,t){m((function(n){return g(g({},n),{},(0,o.default)({},"".concat(String(e)),t))}));var n={};n[e]=t,null==u||u(n)}),[u]);return s.default.createElement(s.default.Fragment,null,a.map((function(e,a){return s.default.createElement(l.default,{align:e.align,key:"".concat(e.title,"-").concat(a),style:e.cellStyle},function(e,n,a){return n===f.RowMode.Edit&&a?y(e,h,w,r):n===f.RowMode.View?b(e,t,c):function(e,t){var n;if("actions"===e.type)return e.renderCell({data:t,rowMode:f.RowMode.View});var r=t[e.field];return e.renderCell?e.renderCell({data:t,rowMode:f.RowMode.Hide,value:r}):(null===(n=e.getValue)||void 0===n?void 0:n.call(e,r))||r}(e,t)}(e,n,v(e)))})))},t.NewRow=function(e){var t=e.data,n=e.columns,r=e.errors,a=e.onUpdate,c=(0,s.useState)((function(){return t})),d=(0,i.default)(c,2),p=d[0],f=d[1],h=(0,s.useCallback)((function(e,t){f((function(n){return g(g({},n),{},(0,o.default)({},e,t))})),null==a||a((0,o.default)({},e,t))}),[a]);return s.default.createElement(u.default,{"data-testid":"table-row"},n.map((function(e,t){return s.default.createElement(l.default,{style:e.cellStyle,align:e.align,key:"".concat(e.title,"-").concat(t)},v(e)?y(e,p,h,r,!0):b(e,p))})))}},9786:(e,t,n)=>{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.TableCellRows=t.RowTable=t.PaginationWrapper=t.FieldWrapper=void 0;var a,o,i,s,l=r(n(53640)),u=r(n(16191)),c=r(n(441)),d=r(n(34378));t.FieldWrapper=d.default.span(a||(a=(0,c.default)([""]))),t.PaginationWrapper=d.default.div(o||(o=(0,c.default)(["\n display: flex;\n margin-left: 12px;\n"]))),t.TableCellRows=(0,d.default)(u.default)(i||(i=(0,c.default)(["\n && {\n width: 400px;\n height: 60px;\n padding: 0 10px;\n }\n"]))),t.RowTable=(0,d.default)(l.default)(s||(s=(0,c.default)(["\n width: 100%;\n cursor: pointer;\n\n &:hover {\n background: -moz-linear-gradient(\n left,\n rgba(189, 189, 189, 0) 0%,\n rgba(189, 189, 189, 1) 100%\n );\n background: -webkit-linear-gradient(\n left,\n rgba(189, 189, 189, 0) 0%,\n rgba(189, 189, 189, 1) 100%\n );\n background: linear-gradient(\n to right,\n rgba(189, 189, 189, 0) 0%,\n rgba(189, 189, 189, 1) 100%\n );\n }\n\n &.no-hover {\n background: none;\n }\n"])))},63643:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RowMode=void 0,t.RowMode=function(e){return e[e.Hide=0]="Hide",e[e.View=1]="View",e[e.Edit=2]="Edit",e}({})},7643:(e,t,n)=>{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.useRowsState=void 0;var a=r(n(47e3)),o=r(n(99652)),i=n(96540),s=n(63643);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2?arguments[2]:void 0,r=(0,i.useState)((function(){return{internal:new Map}})),a=(0,o.default)(r,2),l=a[0],d=a[1];(0,i.useEffect)((function(){var r,a=new Map,o=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return c(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){s=!0,o=e},f:function(){try{i||null==n.return||n.return()}finally{if(s)throw o}}}}(e);try{for(o.s();!(r=o.n()).done;){var i=r.value,p=l.internal.get(i.id);p?a.set(i.id,p):a.set(i.id,{editableState:{},mode:t?s.RowMode.Hide:s.RowMode.View,stackView:[],currentState:i})}}catch(e){o.e(e)}finally{o.f()}null!=n&&n.id&&a.set(n.id,{editableState:u({},n),mode:s.RowMode.View,stackView:[]}),d({internal:a})}),[e,!!n]);var p=(0,i.useCallback)((function(e,t){d((function(n){var r=n.internal.get(e);return r&&n.internal.set(e,u(u({},r),t)),{internal:n.internal}}))}),[]),f=(0,i.useCallback)((function(e,t){d((function(n){var r=n.internal.get(e);return r&&(r.stackView.push(t),n.internal.set(e,r)),{internal:n.internal}}))}),[]),h=(0,i.useCallback)((function(e){d((function(t){var n=t.internal.get(e);return n&&(n.stackView.pop(),t.internal.set(e,n)),{internal:t.internal}}))}),[]),m=(0,i.useCallback)((function(e){return l.internal.get(e)}),[l]),g=(0,i.useCallback)((function(e){return function(t){d((function(n){var r=n.internal.get(e);return r?r.editableState=u(u({},r.editableState),t):n.internal.set(e,{editableState:t,mode:s.RowMode.View,stackView:[]}),{internal:n.internal}}))}}),[]);return{getRowState:m,setEditableRowState:g,setRowState:p,pushRowView:f,popRowView:h}}},20364:(e,t,n)=>{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(55965)),o=r(n(47e3)),i=r(n(66536)),s=r(n(96540)),l=r(n(11402)),u=["margin","padding","style"];function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(55965)),o=r(n(47e3)),i=r(n(66536)),s=r(n(96540)),l=r(n(68460)),u=r(n(82078)),c=["mini","children","padding","name","margin","style"];function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(55965)),o=r(n(47e3)),i=r(n(66536)),s=r(n(25769)),l=r(n(96540)),u=r(n(72617)),c=["children","margin","padding","style"];function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(55965)),o=r(n(47e3)),i=r(n(66536)),s=r(n(96540)),l=n(78944),u=["padding","margin","style","primary"];function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(47e3)),o=r(n(25769)),i=r(n(96540)),s=r(n(98625)),l=r(n(12308)),u=r(n(73772)),c=r(n(53834)),d=r(n(66065)),p=r(n(60361));function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(55965)),o=r(n(47e3)),i=r(n(66536)),s=r(n(3896)),l=r(n(25769)),u=r(n(96540)),c=r(n(90401)),d=r(n(20292)),p=n(78944),f=["title","padding","margin","style","color","className","children"];function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e){for(var t=1;t{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(47e3)),o=r(n(96540)),i=r(n(60361));function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(55965)),o=r(n(5673)),i=r(n(76768)),s=r(n(66536)),l=r(n(96540)),u=n(56163),c=["show","onToggle","name"];t.default=function(e){var t=e.show,n=e.onToggle,r=e.name,d=(0,s.default)(e,c);return l.default.createElement(u.StyledButton,(0,a.default)({},d,{padding:"0px",name:null!=r?r:"show-password",onClick:n}),t?l.default.createElement(i.default,{"data-testid":"icon-off"}):l.default.createElement(o.default,{"data-testid":"icon-on"}))}},56163:(e,t,n)=>{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.StyledButton=void 0;var a,o=r(n(441)),i=r(n(34378)),s=r(n(6447));t.StyledButton=(0,i.default)(s.default)(a||(a=(0,o.default)(["\n width: 36px !important;\n height: 36px !important;\n"])))},27953:(e,t,n)=>{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(55965)),o=r(n(47e3)),i=r(n(66536)),s=r(n(96540)),l=r(n(66032)),u=n(78944),c=["style","margin","padding","spacing","children"];function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(55965)),o=r(n(47e3)),i=r(n(66536)),s=r(n(96540)),l=r(n(10650)),u=["style","margin","padding","children"];function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t{"use strict";var r=n(84505),a=n(67267);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(55965)),i=r(n(47e3)),s=r(n(66536)),l=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=a(e)&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&{}.hasOwnProperty.call(e,i)){var s=o?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(n(96540)),u=r(n(16191)),c=r(n(66038)),d=n(93884),p=["style","margin","padding","children","spacing"];function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e){for(var t=1;t{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(47e3)),o=r(n(96540)),i=r(n(69941));function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t{"use strict";var r=n(84505),a=n(67267);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SortContext=void 0;var o=r(n(55965)),i=r(n(47e3)),s=r(n(66536)),l=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=a(e)&&"function"!=typeof e)return{default:e};var n=d(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&{}.hasOwnProperty.call(e,i)){var s=o?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(n(96540)),u=r(n(69859)),c=["style","margin","padding","children","color","active","direction","onSort"];function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(d=function(e){return e?n:t})(e)}function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(55965)),o=r(n(47e3)),i=r(n(66536)),s=r(n(96540)),l=r(n(39989)),u=n(78944),c=["count","page","rowsPerPage","rowsPerPageOptions","onPageChange","onRowsPerPageChange","style","padding"];function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(55965)),o=r(n(47e3)),i=r(n(66536)),s=r(n(96540)),l=r(n(53640)),u=n(78944),c=["style","margin","padding","children","background"];function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(55965)),o=r(n(47e3)),i=r(n(66536)),s=r(n(96540)),l=r(n(4604)),u=["children","margin","padding","style","variant"];function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(55965)),o=r(n(47e3)),i=r(n(66536)),s=r(n(96540)),l=r(n(85786)),u=["children","padding","margin","style"];function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(55965)),o=r(n(66536)),i=r(n(96540)),s=r(n(71708)),l=["open","title","text","labels","onCancel","onConfirm","disableBackdropClick"];t.default=function(e){var t=e.open,n=e.title,r=e.text,u=e.labels,c=e.onCancel,d=e.onConfirm,p=e.disableBackdropClick,f=(0,o.default)(e,l);return i.default.createElement(s.default,(0,a.default)({},f,{open:t,title:n,text:r,primaryButtonAction:d,primaryButtonText:(null==u?void 0:u.confirm)||"Sim",secondaryButtonText:(null==u?void 0:u.cancel)||"Voltar",primaryButtonColor:"primary",secondaryButtonAction:c,onClose:p?void 0:c}))}},71708:(e,t,n)=>{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(55965)),o=r(n(66536)),i=r(n(96540)),s=r(n(89123)),l=r(n(813)),u=n(78944),c=["open","title","titleAction","text","primaryButtonColor","primaryButtonStyle","primaryButtonName","primaryButtonText","secondaryButtonText","secondaryButtonName","snippet","content","PaperProps","fullWidth","maxWidth","omitActionButtons","primaryButtonAction","secondaryButtonAction","onClose"],d=u.theme.colors,p=d.action,f={palette:{primary:{main:d.primary.main},secondary:{main:p.cancel},typography:{useNextVariants:!0}}};t.default=function(e){var t=e.open,n=e.title,r=e.titleAction,d=e.text,p=e.primaryButtonColor,h=e.primaryButtonStyle,m=e.primaryButtonName,g=e.primaryButtonText,v=e.secondaryButtonText,y=e.secondaryButtonName,b=e.snippet,w=e.content,x=e.PaperProps,S=e.fullWidth,_=e.maxWidth,A=e.omitActionButtons,C=e.primaryButtonAction,T=e.secondaryButtonAction,k=e.onClose,E=(0,o.default)(e,c),M=v&&T;return i.default.createElement(u.ThemeProviderFlipper,{options:f},i.default.createElement(s.default,(0,a.default)({},E,{open:t,titleAction:r,title:n,text:d,content:w,snippet:b,fullWidth:S,maxWidth:_,PaperProps:x,actions:!A&&i.default.createElement(i.default.Fragment,null,M&&i.default.createElement(l.default,{name:y||"secondary-button",margin:"12px 6px",onClick:T},v),i.default.createElement(l.default,{name:m||"primary-button",color:p,style:h,variant:"contained",margin:"12px 6px",onClick:C},g)),onClose:k})))}},67170:(e,t,n)=>{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ConfirmDialog",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"DialogV2",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"RemoveDialog",{enumerable:!0,get:function(){return o.default}});var a=r(n(71708)),o=r(n(9177)),i=r(n(34287))},9177:(e,t,n)=>{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(55965)),o=r(n(3580)),i=r(n(66536)),s=r(n(96540)),l=r(n(71708)),u=["open","onCancel","onConfirm","title","text","labels","disableBackdropClick"];t.default=function(e){var t=e.open,n=e.onCancel,r=e.onConfirm,c=e.title,d=e.text,p=e.labels,f=e.disableBackdropClick,h=(0,i.default)(e,u);return s.default.createElement(l.default,(0,a.default)({},h,{open:t,title:(0,o.default)(c||"EXCLUIR"),text:d,primaryButtonAction:r,primaryButtonText:(null==p?void 0:p.confirm)||"Excluir",primaryButtonName:"confirm-delete",primaryButtonColor:"secondary",secondaryButtonAction:n,secondaryButtonName:"cancel-delete",secondaryButtonText:(null==p?void 0:p.cancel)||"Cancelar",onClose:f?void 0:n}))}},89123:(e,t,n)=>{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(55965)),o=r(n(47e3)),i=r(n(66536)),s=r(n(25769)),l=r(n(96540)),u=r(n(62217)),c=r(n(33992)),d=r(n(12514)),p=r(n(55901)),f=r(n(40395)),h=n(77069),m=["snippet","style","padding","margin","scroll","PaperProps","open","fullScreen","fullWidth","maxWidth","onClose","titleAction","titleWrapperStyle","titleStyle","titleActionStyle","contentStyle","contentTextStyle","actionsStyle","actions","content","text","title","snippetStyle","snippetContentStyle","aria-title"];function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.TitleWrapper=t.TitleAction=t.SnippetContent=t.Snippet=t.PaperContent=void 0;var a,o,i,s,l,u=r(n(441)),c=r(n(34378));t.PaperContent=c.default.div(a||(a=(0,u.default)([""]))),t.TitleWrapper=c.default.div(o||(o=(0,u.default)(["\n display: flex;\n"]))),t.TitleAction=c.default.div(i||(i=(0,u.default)(["\n padding: 16px 24px;\n align-items: center;\n display: flex;\n"]))),t.Snippet=c.default.div(s||(s=(0,u.default)(["\n display: flex;\n justify-content: flex-end;\n"]))),t.SnippetContent=c.default.div(l||(l=(0,u.default)(["\n position: relative;\n height: inherit;\n display: flex;\n"])))},15586:(e,t,n)=>{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(55965)),o=r(n(47e3)),i=r(n(66536)),s=r(n(96540)),l=r(n(14831)),u=["children","padding","margin","style"];function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(55965)),o=r(n(47e3)),i=r(n(66536)),s=r(n(96540)),l=r(n(26102)),u=["children","padding","margin","style"];function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(96540)),o=r(n(53540)),i=n(50903);t.default=function(e){var t=e.margin,n=void 0===t?48:t,r=e.padding,s=void 0===r?24:r,l=e.size,u=void 0===l?72:l;return a.default.createElement(i.LoadingContainer,{"data-testid":"loading-component",style:{margin:n,padding:s}},a.default.createElement(o.default,{color:"primary",size:u}))}},50903:(e,t,n)=>{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.LoadingContainer=void 0;var a,o=r(n(441)),i=r(n(34378));t.LoadingContainer=i.default.div(a||(a=(0,o.default)(["\n display: flex;\n flex: 1;\n align-items: center;\n justify-content: center;\n"])))},21661:(e,t,n)=>{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(55965)),o=r(n(66536)),i=r(n(96540)),s=n(12319),l=["buttonLabel","readonly"],u=["customText","searchText","show"];t.default=function(e){var t=e.buttonLabel,n=e.readonly,r=(0,o.default)(e,l),c=n?"Não há nada aqui.":'Não há nada aqui. Clique em "'.concat(t||"Adicionar",'" para cadastrar um item.'),d=r.customText,p=void 0===d?c:d,f=r.searchText,h=void 0===f?"":f,m=r.show,g=(0,o.default)(r,u);return m?i.default.createElement(s.TextTypography,(0,a.default)({align:"center",variant:"h5",color:"textSecondary",padding:"48px 0"},g),""!==h?'Sua pesquisa "'.concat(h,'" não retornou nenhum resultado.'):p):null}},12319:(e,t,n)=>{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.TextTypography=void 0;var a,o=r(n(441)),i=r(n(4604)),s=r(n(34378));t.TextTypography=(0,s.default)(i.default)(a||(a=(0,o.default)(["\n && {\n flex: 1;\n }\n"])))},53540:(e,t,n)=>{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(55965)),o=r(n(47e3)),i=r(n(66536)),s=r(n(25769)),l=r(n(96540)),u=r(n(57485)),c=r(n(83497)),d=["linear","style","margin","padding","rootColor","primaryColor","barPrimaryColor","barSecondaryColor"];function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(55965)),o=r(n(96540)),i=r(n(22737)),s=n(78944);n(79644);var l=s.theme.colors.gray;t.default=function(e){return o.default.createElement(i.default,(0,a.default)({containerTestId:"skeleton-container",baseColor:l[200],highlightColor:l[300]},e))}},17096:(e,t,n)=>{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(55965)),o=r(n(39781)),i=r(n(47e3)),s=r(n(66536)),l=r(n(6325)),u=r(n(20889)),c=r(n(75897)),d=r(n(21447)),p=r(n(96540)),f=r(n(30420)),h=r(n(44111)),m=r(n(6447)),g=n(78944),v=["id","action","anchorOrigin","autoHide","icon","message","onClose","open","padding","margin","style","variant","className","TransitionComponent","TransitionProps","onClick"];function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(55965)),o=r(n(47e3)),i=r(n(66536)),s=r(n(96540)),l=r(n(80562)),u=["children","withWrapper","wrapperStyle","enterDelay","title"];function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ValidationStatus=void 0;var a=r(n(96540)),o=r(n(35110)),i=r(n(813)),s=n(8341);t.ValidationStatus=function(e){return e.Loading="Loading",e.Success="Success",e.Error="Error",e}({}),t.default=function(e){var t=e.open,n=e.failed,r=e.success,l=e.title,u=e.responses,c=e.validations,d=e.icons,p=e.onClose,f=e.onCancel,h=e.handleCreate;return a.default.createElement(s.MuiDialog,{fullWidth:!0,open:t,scroll:"body",maxWidth:"sm",title:function(e,t){return t.every((function(e){return"Success"===e}))?e.success:t.some((function(e){return"Loading"===e}))?e.loading:t.includes("Error")?e.error:e.loading}(l,u),actions:n?a.default.createElement(i.default,{color:"primary",variant:"contained",margin:"12px",padding:"6px 31.1px",onClick:p},"VOLTAR"):a.default.createElement(o.default,{disabled:!r,margin:"12px",actionButtonColor:"secondary",onCancel:f,onConfirm:h}),content:function(e,t){return e.map((function(e,n){return a.default.createElement(s.ValidationWrapper,{key:n},function(e){var t=e.status,n=e.icons;return"Success"===t?n.success:"Error"===t?n.error:n.loading}({status:e.status,icons:t}),(r=e.status,o=e.description,"Success"===r?a.default.createElement(s.DialogTypography,null,o.success):"Error"===r?a.default.createElement(s.DialogTypography,null,o.error):a.default.createElement(s.DialogTypography,null,o.loading)));var r,o}))}(c,d),onClose:p})}},8341:(e,t,n)=>{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.ValidationWrapper=t.MuiDialog=t.DialogTypography=void 0;var a,o,i,s=r(n(441)),l=r(n(34378)),u=r(n(54166)),c=r(n(89123));t.MuiDialog=(0,l.default)(c.default)(a||(a=(0,s.default)(["\n div > div > h2 {\n margin-top: 20px;\n }\n"]))),t.DialogTypography=(0,l.default)(u.default)(o||(o=(0,s.default)(["\n && {\n font-size: 16px;\n }\n"]))),t.ValidationWrapper=l.default.div(i||(i=(0,s.default)(["\n display: flex;\n align-items: center;\n padding: 15px 0;\n gap: 15px;\n"])))},85747:(e,t,n)=>{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(55965)),o=r(n(49674)),i=r(n(96540)),s=n(84797);t.default=function(e){return i.default.createElement(s.ButtonAdd,(0,a.default)({},e,{dashed:!0,color:"primary",id:"id-add-"+e.name,name:"add-"+e.name,padding:e.padding,disabled:!!e.disabled,margin:e.margin||"12px 0 24px",fullWidth:e.fullWidth,onClick:e.onClick}),i.default.createElement(o.default,null),e.label)}},84797:(e,t,n)=>{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.ButtonAdd=void 0;var a,o=r(n(441)),i=r(n(34378)),s=r(n(813));t.ButtonAdd=(0,i.default)(s.default)(a||(a=(0,o.default)(["\n display: flex;\n flex: 1;\n align-items: center;\n justify-content: center;\n"])))},59521:(e,t,n)=>{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.Autocomplete=void 0;var a=r(n(95641)),o=r(n(55965)),i=r(n(96540)),s=r(n(13433));t.Autocomplete=function(e){var t=(0,o.default)({},((0,a.default)(e),e));return i.default.createElement(s.default,t)}},813:(e,t,n)=>{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(55965)),o=r(n(47e3)),i=r(n(66536)),s=r(n(96540)),l=r(n(78729)),u=["children","color","dashed","href","margin","padding","style","variant"];function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(47e3)),o=r(n(55965)),i=r(n(96540)),s=r(n(35343)),l=r(n(1136)),u=r(n(46160)),c=r(n(4604)),d=n(12867),p=n(38112);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.DENSE=t.CheckFieldsWrapper=void 0;var a,o=r(n(441)),i=r(n(34378));t.DENSE={padding:"2px",margin:"0px 7px"},t.CheckFieldsWrapper=i.default.div(a||(a=(0,o.default)(["\n display: flex;\n flex-direction: rows;\n width: 100%;\n align-items: center;\n button {\n display: none;\n }\n :hover button {\n display: flex;\n }\n"])))},19938:(e,t,n)=>{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(55965)),o=r(n(35487)),i=r(n(96540)),s=n(59521),l=r(n(12867));t.default=function(e){var t=e.label,n=e.list,r=e.error,u=e.disabled,c=e.value,d=e.onChange;return i.default.createElement(s.Autocomplete,{multiple:!0,fullWidth:!0,open:!1,options:[],disabled:u,forcePopupIcon:!1,value:c,renderInput:function(e){return i.default.createElement(l.default,(0,a.default)({},e,{fullWidth:!0,label:t,error:r,disabled:u,variant:"outlined",onKeyDown:function(e){var t=e.target;if(","===e.key||";"===e.key||" "===e.key||"Enter"===e.key){e.preventDefault();var r=n?n.map((function(e){return e.label})).filter((function(e){return void 0!==e})):[];null==d||d(e,[].concat((0,o.default)(r),[t.value])),t.value=""}}}))},sx:{".MuiAutocomplete-tag":{margin:"1px 3px"},".MuiChip-root":{height:"27px"}},onChange:d})}},47281:(e,t,n)=>{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(47e3)),o=r(n(66536)),i=r(n(55965)),s=r(n(96540)),l=n(27261),u=n(79821),c=n(96411),d=n(34174),p=n(33845),f=n(64354),h=n(67384),m=r(n(22965)),g=r(n(99492)),v=n(67355),y=n(78944),b=["id","padding","margin","style","value","onChange","error","minDate","minDateTime","maxDate","maxDateTime","required","disabled","placeholder","fullWidth","type"];function w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function x(e){for(var t=1;t{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.CustomWrapper=void 0;var a,o=r(n(441)),i=n(34378);t.CustomWrapper=i.styled.div(a||(a=(0,o.default)(["\n border-radius: 5px;\n overflow: hidden;\n"])))},6447:(e,t,n)=>{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(55965)),o=r(n(47e3)),i=r(n(66536)),s=r(n(96540)),l=r(n(54468)),u=["children","padding","margin","size","style"];function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(66536)),o=r(n(96540)),i=r(n(21407)),s=["children"];t.default=function(e){var t=e.children,n=(0,a.default)(e,s);return o.default.createElement(i.default,n,t)}},95372:(e,t,n)=>{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(55965)),o=r(n(47e3)),i=r(n(66536)),s=r(n(96540)),l=n(32434),u=r(n(12867)),c=["customInput","hasFormat","format","style"];function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t{"use strict";var r=n(84505),a=n(67267);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(47e3)),i=r(n(66536)),s=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=a(e)&&"function"!=typeof e)return{default:e};var n=d(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&{}.hasOwnProperty.call(e,i)){var s=o?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(n(96540)),l=r(n(29982)),u=n(36423),c=["pinLength","pin","setPin","onPinChanged","validationResult","isValidating","size","style","inputProps","variant"];function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(d=function(e){return e?n:t})(e)}function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){s=!0,o=e},f:function(){try{i||null==n.return||n.return()}finally{if(s)throw o}}}}(e.clipboardData.getData("text/plain").trim().split(""));try{for(a.s();!(t=a.n()).done;){var o=t.value;n.push(parseInt(o,10))}}catch(e){a.e(e)}finally{a.f()}r(n),w(n.length-1)};return s.default.createElement(u.Container,y,Array.from({length:t},(function(e,r){return s.default.createElement(l.default,{key:r,className:"pin-input-field",color:"primary",variant:v||"outlined",value:0===n[r]?0:n[r]||"",disabled:d,error:o,style:f({width:"40px",height:"small"===p?"30px":"40px",marginInline:"small"===p?"5px":"10px"},m),InputProps:{role:"pin-input-field",style:f({width:"small"===p?"40px":"45px",textAlign:"center",fontWeight:"bold",fontSize:"small"===p?"16px":"20px",padding:"auto"},g)},inputRef:function(e){b.current[r]=e},onKeyDown:function(e){return function(e,t){"Backspace"===e.nativeEvent.code&&(void 0===n[t]?w(t-1):a(void 0,t))}(e,r)},onPaste:x,onChange:function(e){!function(e,n){if(!(e.target.value.length>1)){var r=e.target.value.split("").pop();if(r&&" "!==r&&""!==r){var o=Number(r.trim());isNaN(o)||0===r.length||o>=0&&o<=9&&(a(o,n),n{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.ValidateContainer=t.Container=t.ButtonContainer=void 0;var a,o,i,s=r(n(441)),l=r(n(34378));t.Container=l.default.div(a||(a=(0,s.default)(["\n display: flex;\n width: auto;\n justify-content: center;\n"]))),t.ValidateContainer=l.default.div(o||(o=(0,s.default)(["\n display: flex;\n width: auto;\n justify-content: center;\n margin-bottom: 2rem;\n"]))),t.ButtonContainer=l.default.div(i||(i=(0,s.default)(["\n display: flex;\n width: auto;\n justify-content: center;\n margin-top: 3rem;\n"])))},36114:(e,t,n)=>{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(55965)),o=r(n(47e3)),i=r(n(66536)),s=r(n(96540)),l=r(n(86880)),u=r(n(1136)),c=r(n(97075)),d=r(n(66574)),p=r(n(95728)),f=["row","options","className","padding","margin","color","style","title","value","spacing","name","onChange"];function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e){for(var t=1;t{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(55965)),o=r(n(47e3)),i=r(n(66536)),s=r(n(96540)),l=r(n(66574)),u=["color","padding","margin","style"];function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(55965)),o=r(n(47e3)),i=r(n(66536)),s=r(n(12092)),l=r(n(96540)),u=r(n(54468)),c=r(n(21407)),d=r(n(34725)),p=["children","style","margin","padding","hasClear","onClear","onChange","variant"];function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(55965)),o=r(n(47e3)),i=r(n(66536)),s=r(n(25769)),l=r(n(96540)),u=r(n(89596)),c=n(78944),d=["padding","margin","size","color","style","defaultValue"];function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.renderOptions=t.default=t.HelperBox=void 0;var a=r(n(55965)),o=r(n(47e3)),i=r(n(66536)),s=r(n(12092)),l=r(n(52162)),u=r(n(45035)),c=r(n(99652)),d=r(n(7915)),p=r(n(32643)),f=r(n(46810)),h=r(n(25769)),m=r(n(96540)),g=r(n(21407)),v=r(n(60361)),y=r(n(29982)),b=r(n(6447)),w=n(45229),x=n(78944),S=["options","size","margin","padding","style","error","variant","InputLabelProps","InputProps","SelectProps","autoComplete","onHelperClick","helperIcon","fullWidth","hasClear","onClear","onChange","characters","children"];function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function A(e){for(var t=1;t{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.Wrapper=t.TextFieldWrapper=t.StaticTextFieldWrapper=t.Helper=t.CharactersCount=void 0;var a,o,i,s,l,u=r(n(441)),c=r(n(34378)),d=n(78944).theme.colors.gray;t.Wrapper=c.default.div(a||(a=(0,u.default)([""]))),t.Helper=c.default.div(o||(o=(0,u.default)(["\n width: 42px;\n height: 38px;\n"]))),t.TextFieldWrapper=c.default.div(i||(i=(0,u.default)(["\n width: 100%;\n display: flex;\n flex-direction: rows;\n align-items: center;\n button {\n display: none;\n }\n :hover button {\n display: flex;\n }\n"]))),t.StaticTextFieldWrapper=c.default.div(s||(s=(0,u.default)(["\n width: 100%;\n display: flex;\n flex-direction: rows;\n align-items: center;\n"]))),t.CharactersCount=c.default.span(l||(l=(0,u.default)(["\n color: ",";\n font-size: 14px;\n font-family:\n Roboto,\n Helvetica,\n Arial,\n sans- serif;\n"])),d[600])},59938:(e,t,n)=>{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(27562)),o=r(n(35487)),i=r(n(7915)),s=r(n(71142)),l=r(n(96540)),u=r(n(90860)),c=n(59358),d=(0,s.default)(i.default),p=function(e,t){return l.default.createElement(c.BreadcrumbLink,{key:e,href:e},t)};t.default=function(e){var t=e.pathname,n=e.homeId,r=e.pathMapping,i=e.linkWrapper,s=void 0===i?p:i,f=(t||window.location.pathname).split("/").filter((function(e){return e in r})),h=[n].concat((0,o.default)(f)),m=h.length-1,g=d((function(e,t){var n=r[e],a="/"+h.slice(1,t+1).join("/"),o=l.default.createElement(c.TextTypography,{key:a,color:"inherit"},n);return n&&(t===m?o:s(a,o))}),h);return l.default.createElement(u.default,{separator:l.default.createElement(a.default,null)},g)}},59358:(e,t,n)=>{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.TextTypography=t.BreadcrumbLink=void 0;var a,o,i=r(n(441)),s=r(n(34378)),l=r(n(54166)),u=n(78944).theme.colors.primary;t.BreadcrumbLink=s.default.a(a||(a=(0,i.default)(["\n text-decoration: none;\n color: ",";\n\n &:hover {\n text-decoration: underline;\n }\n"])),u.main),t.TextTypography=(0,s.default)(l.default)(o||(o=(0,i.default)(["\n && {\n display: flex;\n }\n"])))},28941:(e,t,n)=>{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(55965)),o=r(n(47e3)),i=r(n(66536)),s=r(n(96540)),l=r(n(30249)),u=["style","margin","padding","top","width"];function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(55965)),o=r(n(47e3)),i=r(n(66536)),s=r(n(96540)),l=r(n(1758)),u=["children","padding","margin","anchorOrigin","style","withWrapper"];function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(47e3)),o=r(n(55965)),i=r(n(50261)),s=r(n(7986)),l=r(n(66536)),u=r(n(3896)),c=r(n(25769)),d=r(n(96540)),p=r(n(30249)),f=n(63192),h=n(78944),m=["id","anchor","className","color","docked","expanded","margin","maxWidth","minWidth","top","open","padding","paperClasses","showButton","style","variant","ButtonProps","onToggle","children","name"];function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.SidebarStorie=t.AnchorButton=t.Action=void 0;var a,o,i,s=r(n(441)),l=r(n(34378)),u=r(n(813)),c=n(78944).theme.colors.gray;t.Action=l.default.div(a||(a=(0,s.default)(["\n flex-direction: ",";\n display: flex;\n padding: 4px;\n"])),(function(e){return"left"===e.anchor?"row-reverse":"row"})),t.AnchorButton=(0,l.default)(u.default)(o||(o=(0,s.default)(["\n && {\n max-width: ","px;\n border-radius: 4px;\n box-shadow: none;\n min-width: auto;\n width: 100%;\n background-color: transparent;\n }\n\n &:active {\n box-shadow: none;\n }\n\n &:hover {\n background-color: "," !important;\n }\n"])),(function(e){return e.minwidth}),c[300]),t.SidebarStorie=l.default.div(i||(i=(0,s.default)(["\n height: 500px;\n"])))},18569:(e,t,n)=>{"use strict";var r=n(84505),a=n(67267);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(55965)),i=r(n(67267)),s=r(n(47e3)),l=r(n(66536)),u=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=a(e)&&"function"!=typeof e)return{default:e};var n=h(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&{}.hasOwnProperty.call(e,i)){var s=o?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(n(96540)),c=r(n(42087)),d=r(n(31656)),p=r(n(30042)),f=["active","bottomLabel","steps","padding","margin","style"];function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(h=function(e){return e?n:t})(e)}function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function g(e){for(var t=1;t=e:void 0},y=function(e){var t=e.icon,n=e.active;return"function"==typeof t?t(n):(0,u.cloneElement)(t,{active:String(n),color:n?"primary":"disabled"})};t.default=function(e){var t=e.active,n=e.bottomLabel,r=e.steps,a=e.padding,s=e.margin,h=e.style,m=void 0===h?{}:h,b=(0,l.default)(e,f);return u.default.createElement(p.default,(0,o.default)({role:"stepper-container",alternativeLabel:n,activeStep:t,style:g({padding:a,margin:s},m)},b),r.map((function(e,n){return u.default.createElement(c.default,{key:n},u.default.createElement(d.default,{icon:"object"===(0,i.default)(e)?u.default.createElement(y,{icon:e.icon,active:!!v(n,t)}):n+1},"object"===(0,i.default)(e)?e.label:e))})))}},34179:(e,t,n)=>{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(55965)),o=r(n(47e3)),i=r(n(66536)),s=r(n(96540)),l=r(n(92148)),u=["style","margin","disableRipple","padding","minWidth","href"];function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(55965)),o=r(n(47e3)),i=r(n(66536)),s=r(n(96540)),l=r(n(77645)),u=["children","style","margin","centered","padding","variant","indicatorColor"];function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(55965)),o=r(n(47e3)),i=r(n(66536)),s=r(n(96540)),l=r(n(28228)),u=["children","style","margin","padding","minHeight"];function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(28597)),o=r(n(39781)),i=r(n(55965)),s=r(n(67034)),l=r(n(66536)),u=r(n(96540)),c=r(n(99197)),d=r(n(85747)),p=r(n(28228)),f=n(10956),h=n(78944),m=["id","name","label","nested","title","action","onToggleEdit","editing","children","renderRemove","onRemove","onClickAdd","onAddProps","onEditProps","onRemoveProps"],g=h.theme.colors.feedback;t.default=function(e){var t=e.id,n=e.name,r=e.label,h=e.nested,v=e.title,y=e.action,b=e.onToggleEdit,w=e.editing,x=e.children,S=e.renderRemove,_=e.onRemove,A=e.onClickAdd,C=e.onAddProps,T=e.onEditProps,k=e.onRemoveProps,E=(0,l.default)(e,m);return u.default.createElement(p.default,(0,i.default)({},E,{id:t,name:n,className:"showable",elevation:h?0:void 0,padding:h?"0px":"24px",style:{flex:1,display:"flex",flexDirection:"column"}}),v&&u.default.createElement(u.default.Fragment,null,u.default.createElement(f.Header,null,v&&u.default.createElement(f.Title,{name:n+"-title",variant:"h6",color:"primary"},v),y,_&&!!S&&u.default.createElement(f.CardButton,(0,i.default)({},k,{className:w?"":"showable-target",name:"remove-".concat(n),margin:"-10px 20px",padding:"0px",onClick:_}),u.default.createElement(s.default,{htmlColor:g.danger})),b&&u.default.createElement(f.CardButton,(0,i.default)({},T,{className:w?"":"showable-target",name:"".concat(w?"cancel":"edit","-").concat(n),margin:"-10px",padding:"0px",onClick:b}),w?u.default.createElement(o.default,null):u.default.createElement(a.default,null))),u.default.createElement(c.default,null)),A&&u.default.createElement(d.default,(0,i.default)({},C,{name:n,label:r,onClick:A})),x)}},10956:(e,t,n)=>{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.Title=t.Header=t.CardWrapper=t.CardButton=void 0;var a,o,i,s,l=r(n(441)),u=r(n(34378)),c=r(n(54166)),d=r(n(6447));t.Header=u.default.div(a||(a=(0,l.default)(["\n display: flex;\n"]))),t.CardWrapper=u.default.div(o||(o=(0,l.default)(["\n width: 100%;\n"]))),t.Title=(0,u.default)(c.default)(i||(i=(0,l.default)(["\n flex: 1;\n"]))),t.CardButton=(0,u.default)(d.default)(s||(s=(0,l.default)(["\n && {\n width: 36px;\n height: 36px;\n }\n"])))},3808:(e,t,n)=>{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(55965)),o=r(n(28597)),i=r(n(98984)),s=r(n(39118)),l=r(n(47e3)),u=r(n(66536)),c=r(n(96540)),d=r(n(55645)),p=r(n(71932)),f=r(n(55669)),h=r(n(54990)),m=r(n(6447)),g=n(12867),v=n(70596),y=["actions","details","expandIcon","margin","padding","style","summary","summaryStyle","detailsStyle","actionsStyle","onHelperClick","onEditClick","onSaveClick","onClick","helperIcon","editable","editing","headerProps","helperButtonPosition"];function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function w(e){for(var t=1;t{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.ExpansionPanelHeaderWrapper=void 0;var a,o=r(n(441)),i=r(n(34378));t.ExpansionPanelHeaderWrapper=i.default.div(a||(a=(0,o.default)(["\n display: flex;\n flex-direction: rows;\n align-items: center;\n button {\n display: none;\n }\n :hover button {\n display: flex;\n }\n"])))},34463:(e,t,n)=>{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(55965)),o=r(n(47e3)),i=r(n(66536)),s=r(n(96540)),l=r(n(9796)),u=r(n(2368)),c=["children","padding","margin","style","elevation"];function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(55965)),o=r(n(47e3)),i=r(n(72048)),s=r(n(66536)),l=r(n(96540)),u=n(284),c=["hideExpansionIcon","expanded","defaultExpanded","id","nested","elevation","hideSummary","title","summary","details","actions","area","style","className","detailsStyle","onChange","onClick"];function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.Title=t.Summary=t.ExpansionPaperPanel=void 0;var a,o,i,s=r(n(441)),l=r(n(34378)),u=r(n(54166)),c=r(n(3808));t.ExpansionPaperPanel=(0,l.default)(c.default)(a||(a=(0,s.default)(["\n && {\n border-radius: 4px;\n }\n\n &::before {\n height: 0px !important;\n top: 0px !important;\n background-color: transparent;\n }\n"]))),t.Summary=l.default.div(o||(o=(0,s.default)(["\n display: flex;\n flex: 1;\n align-items: center;\n"]))),t.Title=(0,l.default)(u.default)(i||(i=(0,s.default)(["\n && {\n flex: 1;\n }\n"])))},28228:(e,t,n)=>{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(55965)),o=r(n(47e3)),i=r(n(66536)),s=r(n(96540)),l=r(n(4825)),u=["children","style","padding","margin"];function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(55965)),o=r(n(96540)),i=r(n(55645)),s=n(53253),l=n(24957),u=r(n(43400)),c=n(57963);t.default=function(e){var t=e.expanded,n=e.loading,r=void 0!==n&&n,d=e.percentage,p=e.time,f=void 0===p?0:p,h=e.steps,m=e.remainingSteps,g=void 0===m?0:m,v=e.title,y=e.titleProps,b=e.subTitle,w=e.image,x=e.showBottomPercentage,S=void 0===x||x,_=e.expandable,A=void 0===_||_,C=e.showIcon,T=void 0===C||C,k=e.summary,E=e.summaryProps,M=e.expansionPanelDetailsProps,P=e.linearProgressBarProps,O=e.summaryLinearProgressBarProps,I=e.rootProps,D=e.onStepUrlClick,R=e.fullWidth,N=e.padding,L=e.margin,$=e.showSubTitleSkeleton,j=void 0!==$&&$,F=e.onChange;return r?o.default.createElement(u.default,{expandable:A,subTitleSkeleton:j,showIcon:T,showBottomPercentage:S,fullWidth:R}):o.default.createElement(c.Container,(0,a.default)({margin:L,fullWidth:R},I),o.default.createElement(i.default,(0,a.default)({},t?{expanded:t}:{},{onChange:F}),o.default.createElement(l.StepCardPanel,{fullWidth:R,title:v,padding:N,summary:k,expandable:A,remainingSteps:g,time:f,showIcon:T,showBottomPercentage:S,subTitle:b,percentage:d,titleProps:y,summaryProps:E,summaryLinearProgressBarProps:O,linearProgressBarProps:P}),A&&o.default.createElement(s.StepCardDetails,{steps:h,image:w,expansionPanelDetailsProps:M,onStepUrlClick:D})))}},53253:(e,t,n)=>{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.StepCardDetails=void 0;var a=r(n(55965)),o=r(n(52162)),i=r(n(20889)),s=r(n(96540)),l=r(n(55669)),u=r(n(90401)),c=r(n(54166)),d=r(n(6447)),p=n(57963),f=n(78944).theme.colors,h=f.feedback,m=f.gray,g=function(e){var t=e.steps,n=e.onStepUrlClick;return s.default.createElement(u.default,null,(t||[]).map((function(e,t){return s.default.createElement(p.ListItemContainer,{key:t},s.default.createElement(i.default,{style:{color:e.done?h.success:m[600]}}),s.default.createElement(c.default,{variant:"body1",style:{color:m[700],fontWeight:600}},e.title),e.url&&n&&s.default.createElement(s.default.Fragment,null,s.default.createElement(d.default,{"data-testid":"step-card-button-".concat(t),style:{backgroundColor:"unset"},onClick:function(){n&&e.url&&n(e.url)}},s.default.createElement(o.default,{fontSize:"small",style:{margin:"0px"}}))))})))};t.StepCardDetails=function(e){var t=e.steps,n=e.onStepUrlClick,r=e.image,o=e.expansionPanelDetailsProps;return s.default.createElement(l.default,(0,a.default)({style:{display:"flex",justifyContent:"space-between"}},o),s.default.createElement(p.StepCardColumn,{justifyContent:"start"},s.default.createElement(g,{steps:t,onStepUrlClick:n})),r&&s.default.createElement(p.StepCardColumn,{justifyContent:"end"},"string"==typeof r?s.default.createElement("img",{src:r,alt:"Step Icon"}):r))}},24957:(e,t,n)=>{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.StepCardPanel=void 0;var a=r(n(72048)),o=r(n(55965)),i=r(n(20889)),s=r(n(96540)),l=r(n(54990)),u=r(n(83497)),c=n(17604),d=r(n(54166)),p=n(57963),f=n(78944).theme.colors,h=f.feedback,m=f.gray;t.StepCardPanel=function(e){var t=e.title,n=e.summary,r=e.expandable,f=e.showBottomPercentage,g=e.summaryProps,v=e.linearProgressBarProps,y=e.summaryLinearProgressBarProps,b=e.percentage,w=e.remainingSteps,x=e.time,S=e.showIcon,_=e.subTitle,A=e.titleProps,C=e.fullWidth,T=e.padding;return s.default.createElement(p.StepContainer,{padding:T},s.default.createElement(p.StepCardRow,{fullWidth:C,minHeight:r?"100px":"100%"},s.default.createElement(p.StepCardColumn,{justifyContent:"start"},S&&s.default.createElement(i.default,{"data-testid":"step-card-title-icon",style:{fontSize:40,color:100===b?h.success:m[600]}}),s.default.createElement(p.TitleContainer,null,s.default.createElement(d.default,(0,o.default)({variant:"h6",style:{color:m[800],fontSize:24,textAlign:"center"}},A),t),_&&s.default.createElement(d.default,(0,o.default)({variant:"h6",style:{color:m[600],textAlign:"center"}},A),_))),s.default.createElement(p.StepCardColumn,{justifyContent:"end"},r?s.default.createElement(l.default,{style:{textAlign:"center"},expandIcon:s.default.createElement(a.default,{fontSize:"large"})},s.default.createElement(d.default,(0,o.default)({variant:"h6"},g),(0,c.sprintf)(n,w,x))):s.default.createElement(p.NormalProgressContainer,{"data-testid":"normal-progress"},s.default.createElement(p.NormalProgressContent,null,s.default.createElement(d.default,(0,o.default)({variant:"h6"},g),n),s.default.createElement(d.default,{variant:"subtitle2"},"".concat(b,"%"))),s.default.createElement(u.default,(0,o.default)({variant:"determinate",value:b,color:"success",style:{width:"100%",height:"16px",borderRadius:10,backgroundColor:m[400]}},y))))),f&&s.default.createElement(p.StepCardRow,{fullWidth:C,minHeight:"15px"},s.default.createElement(u.default,(0,o.default)({value:b,color:"success",variant:"determinate",style:{height:"16px",width:"100%",backgroundColor:m[400]}},v))))}},43400:(e,t,n)=>{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(96540)),o=r(n(55645)),i=r(n(79098)),s=n(57963);t.default=function(e){var t=e.expandable,n=e.showBottomPercentage,r=e.showIcon,l=e.subTitleSkeleton,u=e.padding,c=e.margin,d=e.fullWidth;return a.default.createElement(s.Container,{"data-testid":"skeleton-container",margin:c,fullWidth:d},a.default.createElement(o.default,null,a.default.createElement(s.StepContainer,{padding:u},a.default.createElement(s.StepCardRow,{fullWidth:d,minHeight:t?"100px":"100%"},a.default.createElement(s.StepCardColumn,{justifyContent:"start"},r&&a.default.createElement(i.default,{variant:"circular",width:40,height:40}),a.default.createElement(s.TitleContainer,null,a.default.createElement(i.default,{variant:"text",style:{minWidth:"300px"},height:40}),l&&a.default.createElement(i.default,{variant:"text",style:{minWidth:"300px"},height:40}))),a.default.createElement(s.StepCardColumn,{justifyContent:"end"},t?a.default.createElement(i.default,{variant:"text",style:{minWidth:"300px"},height:40}):a.default.createElement(s.NormalProgressContainer,null,a.default.createElement(i.default,{variant:"text",height:40,style:{minWidth:"200px"}}),a.default.createElement(i.default,{variant:"text",style:{width:"100%"}})))),n&&a.default.createElement(s.StepCardRow,{minHeight:"15px",fullWidth:d},a.default.createElement(i.default,{variant:"text",style:{width:"100%"}})))))}},57963:(e,t,n)=>{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.TitleContainer=t.StepContainer=t.StepCardRow=t.StepCardColumn=t.NormalProgressContent=t.NormalProgressContainer=t.ListItemContainer=t.Container=void 0;var a,o,i,s,l,u,c,d,p=r(n(441)),f=r(n(34378));t.Container=f.default.div(a||(a=(0,p.default)(["\n width: 100%;\n max-width: ",";\n ","\n"])),(function(e){return e.fullWidth?"100%":"1100px"}),(function(e){return e.margin?"margin: ".concat(e.margin,";"):""})),t.StepCardRow=f.default.div(o||(o=(0,p.default)(["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n width: 100%;\n max-width: ",";\n min-height: ",";\n"])),(function(e){return e.fullWidth?"100%":"1100px"}),(function(e){return e.minHeight})),t.StepContainer=f.default.div(i||(i=(0,p.default)(["\n display: flex;\n flex-direction: column;\n ","\n"])),(function(e){return e.padding?"padding: ".concat(e.padding,";"):""})),t.StepCardColumn=f.default.div(s||(s=(0,p.default)(["\n padding-inline: 30px;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: ",";\n width: 100%;\n\n ","\n"])),(function(e){return e.justifyContent}),(function(e){return"start"===e.justifyContent?"\n svg:first-child {\n margin-right: 40px;\n }\n ":""})),t.ListItemContainer=f.default.li(l||(l=(0,p.default)(["\n display: flex;\n flex-direction: row;\n align-items: center;\n height: 30px;\n margin: 16px 0;\n\n svg:first-child {\n margin-right: 16px;\n }\n"]))),t.TitleContainer=f.default.div(u||(u=(0,p.default)(["\n h6:first-child {\n padding-inline: 20px;\n }\n\n span {\n margin-left: 20px;\n }\n"]))),t.NormalProgressContainer=f.default.div(c||(c=(0,p.default)(["\n width: 100%;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n"]))),t.NormalProgressContent=f.default.div(d||(d=(0,p.default)(["\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-bottom: 8px;\n"])))},8582:(e,t,n)=>{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0});var a={Actions:!0,Advertise:!0,Avatar:!0,Badge:!0,Chapter:!0,Chip:!0,Divider:!0,Fab:!0,FabV2:!0,Line:!0,List:!0,ListItem:!0,MenuItem:!0,PasswordVisibility:!0,Table:!0,TableBody:!0,TableCell:!0,TableHead:!0,TableRow:!0,TableFooter:!0,TablePagination:!0,Typography:!0,Collapse:!0,Dialog:!0,Fade:!0,Grow:!0,Loading:!0,NothingFound:!0,Progress:!0,Skeleton:!0,SnackBar:!0,Tooltip:!0,ValidationDialog:!0,AddButton:!0,Button:!0,Checkbox:!0,ChipField:!0,DateTime:!0,IconButton:!0,InputAdornment:!0,MaskField:!0,PinInput:!0,Radio:!0,RadioGroup:!0,Select:!0,Slider:!0,TextField:!0,Breadcrumbs:!0,Drawer:!0,Menu:!0,Sidebar:!0,Stepper:!0,Tab:!0,Tabs:!0,Box:!0,Card:!0,ExpansionPanel:!0,Header:!0,Panel:!0,Paper:!0,StepCard:!0,StepCardSkeleton:!0};Object.defineProperty(t,"Actions",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"AddButton",{enumerable:!0,get:function(){return z.default}}),Object.defineProperty(t,"Advertise",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"Avatar",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"Badge",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"Box",{enumerable:!0,get:function(){return le.default}}),Object.defineProperty(t,"Breadcrumbs",{enumerable:!0,get:function(){return te.default}}),Object.defineProperty(t,"Button",{enumerable:!0,get:function(){return W.default}}),Object.defineProperty(t,"Card",{enumerable:!0,get:function(){return ue.default}}),Object.defineProperty(t,"Chapter",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(t,"Checkbox",{enumerable:!0,get:function(){return V.default}}),Object.defineProperty(t,"Chip",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,"ChipField",{enumerable:!0,get:function(){return U.default}}),Object.defineProperty(t,"Collapse",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(t,"DateTime",{enumerable:!0,get:function(){return H.default}}),Object.defineProperty(t,"Dialog",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(t,"Divider",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(t,"Drawer",{enumerable:!0,get:function(){return ne.default}}),Object.defineProperty(t,"ExpansionPanel",{enumerable:!0,get:function(){return ce.default}}),Object.defineProperty(t,"Fab",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(t,"FabV2",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(t,"Fade",{enumerable:!0,get:function(){return I.default}}),Object.defineProperty(t,"Grow",{enumerable:!0,get:function(){return D.default}}),Object.defineProperty(t,"Header",{enumerable:!0,get:function(){return de.default}}),Object.defineProperty(t,"IconButton",{enumerable:!0,get:function(){return q.default}}),Object.defineProperty(t,"InputAdornment",{enumerable:!0,get:function(){return G.default}}),Object.defineProperty(t,"Line",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(t,"List",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(t,"ListItem",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(t,"Loading",{enumerable:!0,get:function(){return R.default}}),Object.defineProperty(t,"MaskField",{enumerable:!0,get:function(){return Y.default}}),Object.defineProperty(t,"Menu",{enumerable:!0,get:function(){return re.default}}),Object.defineProperty(t,"MenuItem",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(t,"NothingFound",{enumerable:!0,get:function(){return N.default}}),Object.defineProperty(t,"Panel",{enumerable:!0,get:function(){return pe.default}}),Object.defineProperty(t,"Paper",{enumerable:!0,get:function(){return fe.default}}),Object.defineProperty(t,"PasswordVisibility",{enumerable:!0,get:function(){return x.default}}),Object.defineProperty(t,"PinInput",{enumerable:!0,get:function(){return X.default}}),Object.defineProperty(t,"Progress",{enumerable:!0,get:function(){return L.default}}),Object.defineProperty(t,"Radio",{enumerable:!0,get:function(){return K.default}}),Object.defineProperty(t,"RadioGroup",{enumerable:!0,get:function(){return Q.default}}),Object.defineProperty(t,"Select",{enumerable:!0,get:function(){return Z.default}}),Object.defineProperty(t,"Sidebar",{enumerable:!0,get:function(){return ae.default}}),Object.defineProperty(t,"Skeleton",{enumerable:!0,get:function(){return $.default}}),Object.defineProperty(t,"Slider",{enumerable:!0,get:function(){return J.default}}),Object.defineProperty(t,"SnackBar",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(t,"StepCard",{enumerable:!0,get:function(){return he.default}}),Object.defineProperty(t,"StepCardSkeleton",{enumerable:!0,get:function(){return me.default}}),Object.defineProperty(t,"Stepper",{enumerable:!0,get:function(){return oe.default}}),Object.defineProperty(t,"Tab",{enumerable:!0,get:function(){return ie.default}}),Object.defineProperty(t,"Table",{enumerable:!0,get:function(){return S.default}}),Object.defineProperty(t,"TableBody",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(t,"TableCell",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"TableFooter",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(t,"TableHead",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(t,"TablePagination",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(t,"TableRow",{enumerable:!0,get:function(){return T.default}}),Object.defineProperty(t,"Tabs",{enumerable:!0,get:function(){return se.default}}),Object.defineProperty(t,"TextField",{enumerable:!0,get:function(){return ee.default}}),Object.defineProperty(t,"Tooltip",{enumerable:!0,get:function(){return F.default}}),Object.defineProperty(t,"Typography",{enumerable:!0,get:function(){return M.default}}),Object.defineProperty(t,"ValidationDialog",{enumerable:!0,get:function(){return B.default}});var o=n(48070);Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(a,e)||e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))}));var i=n(67170);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(a,e)||e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}));var s=n(59521);Object.keys(s).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(a,e)||e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))}));var l=r(n(35110)),u=r(n(16880)),c=r(n(17394)),d=r(n(42650)),p=r(n(67776)),f=r(n(4733)),h=r(n(20364)),m=r(n(68460)),g=r(n(26995)),v=r(n(99197)),y=r(n(65283)),b=r(n(86781)),w=r(n(94152)),x=r(n(17017)),S=r(n(27953)),_=r(n(92266)),A=r(n(91690)),C=r(n(93884)),T=r(n(60196)),k=r(n(95401)),E=r(n(73926)),M=r(n(54166)),P=r(n(6176)),O=r(n(89123)),I=r(n(15586)),D=r(n(53112)),R=r(n(1333)),N=r(n(21661)),L=r(n(53540)),$=r(n(24092)),j=r(n(17096)),F=r(n(82078)),B=r(n(99915)),z=r(n(85747)),W=r(n(813)),V=r(n(94948)),U=r(n(19938)),H=r(n(47281)),q=r(n(6447)),G=r(n(84408)),Y=r(n(95372)),X=r(n(85573)),K=r(n(26808)),Q=r(n(36114)),Z=r(n(31537)),J=r(n(64496)),ee=r(n(12867)),te=r(n(59938)),ne=r(n(28941)),re=r(n(20027)),ae=r(n(30364)),oe=r(n(18569)),ie=r(n(34179)),se=r(n(56492)),le=r(n(85699)),ue=r(n(87464)),ce=r(n(3808)),de=r(n(34463)),pe=r(n(11992)),fe=r(n(28228)),he=r(n(9985)),me=r(n(43400))},38888:(e,t,n)=>{"use strict";function r(e,t,n=void 0){const r={};return Object.keys(e).forEach((a=>{r[a]=e[a].reduce(((e,r)=>{if(r){const a=t(r);""!==a&&e.push(a),n&&n[r]&&e.push(n[r])}return e}),[]).join(" ")})),r}n.d(t,{A:()=>r})},11245:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>i});const r=e=>e,a=(()=>{let e=r;return{configure(t){e=t},generate:t=>e(t),reset(){e=r}}})(),o={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function i(e,t,n="Mui"){const r=o[t];return r?`${n}-${r}`:`${a.generate(e)}-${t}`}},36306:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(11245);function a(e,t,n="Mui"){const a={};return t.forEach((t=>{a[t]=(0,r.Ay)(e,t,n)})),a}},61042:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(8207),a=n.n(r);const o=a().oneOfType([a().func,a().object])},27442:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e,t,n){return"function"==typeof e?e(t,n):e}},85202:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(96540);function a({controlled:e,default:t,name:n,state:a="value"}){const{current:o}=r.useRef(void 0!==e),[i,s]=r.useState(t);return[o?e:i,r.useCallback((e=>{o||s(e)}),[])]}},17862:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(96540);const a="undefined"!=typeof window?r.useLayoutEffect:r.useEffect},72236:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(96540),a=n(17862);const o=function(e){const t=r.useRef(e);return(0,a.A)((()=>{t.current=e})),r.useRef(((...e)=>(0,t.current)(...e))).current}},72463:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(96540);function a(...e){return r.useMemo((()=>e.every((e=>null==e))?null:t=>{e.forEach((e=>{!function(e,t){"function"==typeof e?e(t):e&&(e.current=t)}(e,t)}))}),e)}},54674:(e,t,n)=>{"use strict";var r;n.d(t,{A:()=>s});var a=n(96540);let o=0;const i=(r||(r=n.t(a,2)))["useId".toString()];function s(e){if(void 0!==i){const t=i();return null!=e?e:t}return function(e){const[t,n]=a.useState(e),r=e||t;return a.useEffect((()=>{null==t&&(o+=1,n(`mui-${o}`))}),[t]),r}(e)}},67389:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;tc});var a=n(72463);var o=n(34164);const i=function(e){if(void 0===e)return{};const t={};return Object.keys(e).filter((t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t]))).forEach((n=>{t[n]=e[n]})),t},s=function(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:a,externalForwardedProps:s,className:l}=e;if(!t){const e=(0,o.A)(null==n?void 0:n.className,l,null==s?void 0:s.className,null==a?void 0:a.className),t=r({},null==n?void 0:n.style,null==s?void 0:s.style,null==a?void 0:a.style),i=r({},n,s,a);return e.length>0&&(i.className=e),Object.keys(t).length>0&&(i.style=t),{props:i,internalRef:void 0}}const u=function(e,t=[]){if(void 0===e)return{};const n={};return Object.keys(e).filter((n=>n.match(/^on[A-Z]/)&&"function"==typeof e[n]&&!t.includes(n))).forEach((t=>{n[t]=e[t]})),n}(r({},s,a)),c=i(a),d=i(s),p=t(u),f=(0,o.A)(null==p?void 0:p.className,null==n?void 0:n.className,l,null==s?void 0:s.className,null==a?void 0:a.className),h=r({},null==p?void 0:p.style,null==n?void 0:n.style,null==s?void 0:s.style,null==a?void 0:a.style),m=r({},p,n,d,c);return f.length>0&&(m.className=f),Object.keys(h).length>0&&(m.style=h),{props:m,internalRef:p.ref}};var l=n(27442);const u=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"],c=function(e){var t;const{elementType:n,externalSlotProps:o,ownerState:i,skipResolvingSlotProps:c=!1}=e,d=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r=0||(a[n]=e[n]);return a}(e,u),p=c?{}:(0,l.A)(o,i),{props:f,internalRef:h}=s(r({},d,{externalSlotProps:p}));return function(e,t,n){return void 0===e||"string"==typeof e?t:r({},t,{ownerState:r({},t.ownerState,n)})}(n,r({},f,{ref:(0,a.A)(h,null==p?void 0:p.ref,null==(t=e.additionalProps)?void 0:t.ref)}),i)}},79821:(e,t,n)=>{"use strict";n.r(t),n.d(t,{AdapterDateFns:()=>xt});var r=n(8497),a=n(68106),o=n(91016);function i(e,t){(0,o.A)(2,arguments);var n=(0,a.A)(e),i=(0,r.A)(t);return isNaN(i)?new Date(NaN):i?(n.setDate(n.getDate()+i),n):n}var s=n(28060);function l(e,t){(0,o.A)(2,arguments);var n=(0,a.A)(e),i=(0,r.A)(t);if(isNaN(i))return new Date(NaN);if(!i)return n;var s=n.getDate(),l=new Date(n.getTime());return l.setMonth(n.getMonth()+i+1,0),s>=l.getDate()?l:(n.setFullYear(l.getFullYear(),l.getMonth(),s),n)}function u(e){(0,o.A)(1,arguments);var t=(0,a.A)(e);return t.setHours(23,59,59,999),t}var c=n(37229);function d(e){(0,o.A)(1,arguments);var t=(0,a.A)(e),n=t.getFullYear();return t.setFullYear(n+1,0,0),t.setHours(23,59,59,999),t}var p=n(22965);function f(e){(0,o.A)(1,arguments);var t=(0,a.A)(e),n=t.getFullYear(),r=t.getMonth(),i=new Date(0);return i.setFullYear(n,r+1,0),i.setHours(0,0,0,0),i.getDate()}function h(e,t){var n,i,s,l,u,d,p,f;(0,o.A)(1,arguments);var h=(0,c.q)(),m=(0,r.A)(null!==(n=null!==(i=null!==(s=null!==(l=null==t?void 0:t.weekStartsOn)&&void 0!==l?l:null==t||null===(u=t.locale)||void 0===u||null===(d=u.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==s?s:h.weekStartsOn)&&void 0!==i?i:null===(p=h.locale)||void 0===p||null===(f=p.options)||void 0===f?void 0:f.weekStartsOn)&&void 0!==n?n:0);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var g=(0,a.A)(e),v=g.getDay(),y=(vr.getTime()}function g(e,t){(0,o.A)(2,arguments);var n=(0,a.A)(e),r=(0,a.A)(t);return n.getTime()e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){s=!0,o=e},f:function(){try{i||null==n.return||n.return()}finally{if(s)throw o}}}}var _=n(14491),A=n(97077);function C(e,t){if(null==e)throw new TypeError("assign requires that input parameter not be null or undefined");for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}var T=n(15637),k=n(97325),E=n(38296);function M(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function P(e,t){return P=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},P(e,t)}function O(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&P(e,t)}function I(e){return I=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},I(e)}function D(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=I(e);if(t){var a=I(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===(0,w.A)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return M(e)}(this,n)}}function R(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function N(e){var t=function(e,t){if("object"!==(0,w.A)(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==(0,w.A)(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===(0,w.A)(t)?t:String(t)}function L(e,t){for(var n=0;n0,a=r?t:1-t;if(a<=50)n=e||100;else{var o=a+50;n=e+100*Math.floor(o/100)-(e>=o%100?100:0)}return r?n:1-n}function Se(e){return e%400==0||e%4==0&&e%100!=0}var _e=function(e){O(n,e);var t=D(n);function n(){var e;R(this,n);for(var r=arguments.length,a=new Array(r),o=0;o0}},{key:"set",value:function(e,t,n){var r=e.getUTCFullYear();if(n.isTwoDigitYear){var a=xe(n.year,r);return e.setUTCFullYear(a,0,1),e.setUTCHours(0,0,0,0),e}var o="era"in t&&1!==t.era?1-n.year:n.year;return e.setUTCFullYear(o,0,1),e.setUTCHours(0,0,0,0),e}}]),n}(W),Ae=n(527),Ce=n(91525),Te=function(e){O(n,e);var t=D(n);function n(){var e;R(this,n);for(var r=arguments.length,a=new Array(r),o=0;o0}},{key:"set",value:function(e,t,n,r){var a=(0,Ae.A)(e,r);if(n.isTwoDigitYear){var o=xe(n.year,a);return e.setUTCFullYear(o,0,r.firstWeekContainsDate),e.setUTCHours(0,0,0,0),(0,Ce.A)(e,r)}var i="era"in t&&1!==t.era?1-n.year:n.year;return e.setUTCFullYear(i,0,r.firstWeekContainsDate),e.setUTCHours(0,0,0,0),(0,Ce.A)(e,r)}}]),n}(W),ke=n(90246),Ee=function(e){O(n,e);var t=D(n);function n(){var e;R(this,n);for(var r=arguments.length,a=new Array(r),o=0;o=1&&t<=4}},{key:"set",value:function(e,t,n){return e.setUTCMonth(3*(n-1),1),e.setUTCHours(0,0,0,0),e}}]),n}(W),Oe=function(e){O(n,e);var t=D(n);function n(){var e;R(this,n);for(var r=arguments.length,a=new Array(r),o=0;o=1&&t<=4}},{key:"set",value:function(e,t,n){return e.setUTCMonth(3*(n-1),1),e.setUTCHours(0,0,0,0),e}}]),n}(W),Ie=function(e){O(n,e);var t=D(n);function n(){var e;R(this,n);for(var r=arguments.length,a=new Array(r),o=0;o=0&&t<=11}},{key:"set",value:function(e,t,n){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e}}]),n}(W),De=function(e){O(n,e);var t=D(n);function n(){var e;R(this,n);for(var r=arguments.length,a=new Array(r),o=0;o=0&&t<=11}},{key:"set",value:function(e,t,n){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e}}]),n}(W),Re=n(54703),Ne=function(e){O(n,e);var t=D(n);function n(){var e;R(this,n);for(var r=arguments.length,a=new Array(r),o=0;o=1&&t<=53}},{key:"set",value:function(e,t,n,i){return(0,Ce.A)(function(e,t,n){(0,o.A)(2,arguments);var i=(0,a.A)(e),s=(0,r.A)(t),l=(0,Re.A)(i,n)-s;return i.setUTCDate(i.getUTCDate()-7*l),i}(e,n,i),i)}}]),n}(W),Le=n(38958),$e=function(e){O(n,e);var t=D(n);function n(){var e;R(this,n);for(var r=arguments.length,a=new Array(r),o=0;o=1&&t<=53}},{key:"set",value:function(e,t,n){return(0,ke.A)(function(e,t){(0,o.A)(2,arguments);var n=(0,a.A)(e),i=(0,r.A)(t),s=(0,Le.A)(n)-i;return n.setUTCDate(n.getUTCDate()-7*s),n}(e,n))}}]),n}(W),je=[31,28,31,30,31,30,31,31,30,31,30,31],Fe=[31,29,31,30,31,30,31,31,30,31,30,31],Be=function(e){O(n,e);var t=D(n);function n(){var e;R(this,n);for(var r=arguments.length,a=new Array(r),o=0;o=1&&t<=Fe[r]:t>=1&&t<=je[r]}},{key:"set",value:function(e,t,n){return e.setUTCDate(n),e.setUTCHours(0,0,0,0),e}}]),n}(W),ze=function(e){O(n,e);var t=D(n);function n(){var e;R(this,n);for(var r=arguments.length,a=new Array(r),o=0;o=1&&t<=366:t>=1&&t<=365}},{key:"set",value:function(e,t,n){return e.setUTCMonth(0,n),e.setUTCHours(0,0,0,0),e}}]),n}(W);function We(e,t,n){var i,s,l,u,d,p,f,h;(0,o.A)(2,arguments);var m=(0,c.q)(),g=(0,r.A)(null!==(i=null!==(s=null!==(l=null!==(u=null==n?void 0:n.weekStartsOn)&&void 0!==u?u:null==n||null===(d=n.locale)||void 0===d||null===(p=d.options)||void 0===p?void 0:p.weekStartsOn)&&void 0!==l?l:m.weekStartsOn)&&void 0!==s?s:null===(f=m.locale)||void 0===f||null===(h=f.options)||void 0===h?void 0:h.weekStartsOn)&&void 0!==i?i:0);if(!(g>=0&&g<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var v=(0,a.A)(e),y=(0,r.A)(t),b=((y%7+7)%7=0&&t<=6}},{key:"set",value:function(e,t,n,r){return(e=We(e,n,r)).setUTCHours(0,0,0,0),e}}]),n}(W),Ue=function(e){O(n,e);var t=D(n);function n(){var e;R(this,n);for(var r=arguments.length,a=new Array(r),o=0;o=0&&t<=6}},{key:"set",value:function(e,t,n,r){return(e=We(e,n,r)).setUTCHours(0,0,0,0),e}}]),n}(W),He=function(e){O(n,e);var t=D(n);function n(){var e;R(this,n);for(var r=arguments.length,a=new Array(r),o=0;o=0&&t<=6}},{key:"set",value:function(e,t,n,r){return(e=We(e,n,r)).setUTCHours(0,0,0,0),e}}]),n}(W),qe=function(e){O(n,e);var t=D(n);function n(){var e;R(this,n);for(var r=arguments.length,a=new Array(r),o=0;o=1&&t<=7}},{key:"set",value:function(e,t,n){return e=function(e,t){(0,o.A)(2,arguments);var n=(0,r.A)(t);n%7==0&&(n-=7);var i=(0,a.A)(e),s=((n%7+7)%7<1?7:0)+n-i.getUTCDay();return i.setUTCDate(i.getUTCDate()+s),i}(e,n),e.setUTCHours(0,0,0,0),e}}]),n}(W),Ge=function(e){O(n,e);var t=D(n);function n(){var e;R(this,n);for(var r=arguments.length,a=new Array(r),o=0;o=1&&t<=12}},{key:"set",value:function(e,t,n){var r=e.getUTCHours()>=12;return r&&n<12?e.setUTCHours(n+12,0,0,0):r||12!==n?e.setUTCHours(n,0,0,0):e.setUTCHours(0,0,0,0),e}}]),n}(W),Qe=function(e){O(n,e);var t=D(n);function n(){var e;R(this,n);for(var r=arguments.length,a=new Array(r),o=0;o=0&&t<=23}},{key:"set",value:function(e,t,n){return e.setUTCHours(n,0,0,0),e}}]),n}(W),Ze=function(e){O(n,e);var t=D(n);function n(){var e;R(this,n);for(var r=arguments.length,a=new Array(r),o=0;o=0&&t<=11}},{key:"set",value:function(e,t,n){return e.getUTCHours()>=12&&n<12?e.setUTCHours(n+12,0,0,0):e.setUTCHours(n,0,0,0),e}}]),n}(W),Je=function(e){O(n,e);var t=D(n);function n(){var e;R(this,n);for(var r=arguments.length,a=new Array(r),o=0;o=1&&t<=24}},{key:"set",value:function(e,t,n){var r=n<=24?n%24:n;return e.setUTCHours(r,0,0,0),e}}]),n}(W),et=function(e){O(n,e);var t=D(n);function n(){var e;R(this,n);for(var r=arguments.length,a=new Array(r),o=0;o=0&&t<=59}},{key:"set",value:function(e,t,n){return e.setUTCMinutes(n,0,0),e}}]),n}(W),tt=function(e){O(n,e);var t=D(n);function n(){var e;R(this,n);for(var r=arguments.length,a=new Array(r),o=0;o=0&&t<=59}},{key:"set",value:function(e,t,n){return e.setUTCSeconds(n,0),e}}]),n}(W),nt=function(e){O(n,e);var t=D(n);function n(){var e;R(this,n);for(var r=arguments.length,a=new Array(r),o=0;ovoid 0===e?new Date:null===e?null:new Date(e),this.getInvalidDate=()=>new Date("Invalid Date"),this.getTimezone=()=>"default",this.setTimezone=e=>e,this.toJsDate=e=>e,this.getCurrentLocaleCode=()=>this.locale.code,this.is12HourCycleInCurrentLocale=()=>/a/.test(this.locale.formatLong.time({width:"short"})),this.expandFormat=e=>e.match(/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g).map((e=>{const t=e[0];return"p"===t||"P"===t?(0,this.longFormatters[t])(e,this.locale.formatLong):e})).join(""),this.formatNumber=e=>e,this.getDayOfWeek=e=>e.getDay()+1;const{locale:t,formats:n,longFormatters:r,lib:a}=e;this.locale=t,this.formats=(0,vt.A)({},bt,n),this.longFormatters=r,this.lib=a||"date-fns"}}class xt extends wt{constructor({locale:e,formats:t}={}){super({locale:e??ht.A,formats:t,longFormatters:gt()}),this.parse=(e,t)=>""===e?null:function(e,t,n,i){var s,l,u,d,p,f,h,m,g,v,y,b,x,M,P,O,I,D;(0,o.A)(3,arguments);var R=String(e),N=String(t),L=(0,c.q)(),$=null!==(s=null!==(l=null==i?void 0:i.locale)&&void 0!==l?l:L.locale)&&void 0!==s?s:_.A;if(!$.match)throw new RangeError("locale must contain match property");var j=(0,r.A)(null!==(u=null!==(d=null!==(p=null!==(f=null==i?void 0:i.firstWeekContainsDate)&&void 0!==f?f:null==i||null===(h=i.locale)||void 0===h||null===(m=h.options)||void 0===m?void 0:m.firstWeekContainsDate)&&void 0!==p?p:L.firstWeekContainsDate)&&void 0!==d?d:null===(g=L.locale)||void 0===g||null===(v=g.options)||void 0===v?void 0:v.firstWeekContainsDate)&&void 0!==u?u:1);if(!(j>=1&&j<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var F=(0,r.A)(null!==(y=null!==(b=null!==(x=null!==(M=null==i?void 0:i.weekStartsOn)&&void 0!==M?M:null==i||null===(P=i.locale)||void 0===P||null===(O=P.options)||void 0===O?void 0:O.weekStartsOn)&&void 0!==x?x:L.weekStartsOn)&&void 0!==b?b:null===(I=L.locale)||void 0===I||null===(D=I.options)||void 0===D?void 0:D.weekStartsOn)&&void 0!==y?y:0);if(!(F>=0&&F<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===N)return""===R?(0,a.A)(n):new Date(NaN);var B,W={firstWeekContainsDate:j,weekStartsOn:F,locale:$},V=[new z],U=N.match(ut).map((function(e){var t=e[0];return t in T.A?(0,T.A[t])(e,$.formatLong):e})).join("").match(lt),H=[],q=S(U);try{var G=function(){var t=B.value;null!=i&&i.useAdditionalWeekYearTokens||!(0,E.xM)(t)||(0,E.lJ)(t,N,e),null!=i&&i.useAdditionalDayOfYearTokens||!(0,E.ef)(t)||(0,E.lJ)(t,N,e);var n=t[0],r=st[n];if(r){var a=r.incompatibleTokens;if(Array.isArray(a)){var o=H.find((function(e){return a.includes(e.token)||e.token===n}));if(o)throw new RangeError("The format string mustn't contain `".concat(o.fullToken,"` and `").concat(t,"` at the same time"))}else if("*"===r.incompatibleTokens&&H.length>0)throw new RangeError("The format string mustn't contain `".concat(t,"` and any other token at the same time"));H.push({token:n,fullToken:t});var s=r.run(R,t,$.match,W);if(!s)return{v:new Date(NaN)};V.push(s.setter),R=s.rest}else{if(n.match(ft))throw new RangeError("Format string contains an unescaped latin alphabet character `"+n+"`");if("''"===t?t="'":"'"===n&&(t=t.match(ct)[1].replace(dt,"'")),0!==R.indexOf(t))return{v:new Date(NaN)};R=R.slice(t.length)}};for(q.s();!(B=q.n()).done;){var Y=G();if("object"===(0,w.A)(Y))return Y.v}}catch(e){q.e(e)}finally{q.f()}if(R.length>0&&pt.test(R))return new Date(NaN);var X=V.map((function(e){return e.priority})).sort((function(e,t){return t-e})).filter((function(e,t,n){return n.indexOf(e)===t})).map((function(e){return V.filter((function(t){return t.priority===e})).sort((function(e,t){return t.subPriority-e.subPriority}))})).map((function(e){return e[0]})),K=(0,a.A)(n);if(isNaN(K.getTime()))return new Date(NaN);var Q,Z=(0,A.A)(K,(0,k.A)(K)),J={},ee=S(X);try{for(ee.s();!(Q=ee.n()).done;){var te=Q.value;if(!te.validate(Z,W))return new Date(NaN);var ne=te.set(Z,J,W);Array.isArray(ne)?(Z=ne[0],C(J,ne[1])):Z=ne}}catch(e){ee.e(e)}finally{ee.f()}return Z}(e,t,new Date,{locale:this.locale}),this.isValid=e=>null!=e&&(0,b.A)(e),this.format=(e,t)=>this.formatByString(e,this.formats[t]),this.formatByString=(e,t)=>(0,p.default)(e,t,{locale:this.locale}),this.isEqual=(e,t)=>null===e&&null===t||null!==e&&null!==t&&function(e,t){(0,o.A)(2,arguments);var n=(0,a.A)(e),r=(0,a.A)(t);return n.getTime()===r.getTime()}(e,t),this.isSameYear=(e,t)=>function(e,t){(0,o.A)(2,arguments);var n=(0,a.A)(e),r=(0,a.A)(t);return n.getFullYear()===r.getFullYear()}(e,t),this.isSameMonth=(e,t)=>function(e,t){(0,o.A)(2,arguments);var n=(0,a.A)(e),r=(0,a.A)(t);return n.getFullYear()===r.getFullYear()&&n.getMonth()===r.getMonth()}(e,t),this.isSameDay=(e,t)=>function(e,t){(0,o.A)(2,arguments);var n=v(e),r=v(t);return n.getTime()===r.getTime()}(e,t),this.isSameHour=(e,t)=>function(e,t){(0,o.A)(2,arguments);var n=y(e),r=y(t);return n.getTime()===r.getTime()}(e,t),this.isAfter=(e,t)=>m(e,t),this.isAfterYear=(e,t)=>m(e,d(t)),this.isAfterDay=(e,t)=>m(e,u(t)),this.isBefore=(e,t)=>g(e,t),this.isBeforeYear=(e,t)=>g(e,this.startOfYear(t)),this.isBeforeDay=(e,t)=>g(e,this.startOfDay(t)),this.isWithinRange=(e,[t,n])=>function(e,t){(0,o.A)(2,arguments);var n=(0,a.A)(e).getTime(),r=(0,a.A)(t.start).getTime(),i=(0,a.A)(t.end).getTime();if(!(r<=i))throw new RangeError("Invalid interval");return n>=r&&n<=i}(e,{start:t,end:n}),this.startOfYear=e=>function(e){(0,o.A)(1,arguments);var t=(0,a.A)(e),n=new Date(0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}(e),this.startOfMonth=e=>function(e){(0,o.A)(1,arguments);var t=(0,a.A)(e);return t.setDate(1),t.setHours(0,0,0,0),t}(e),this.startOfWeek=e=>h(e,{locale:this.locale}),this.startOfDay=e=>v(e),this.endOfYear=e=>d(e),this.endOfMonth=e=>function(e){(0,o.A)(1,arguments);var t=(0,a.A)(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}(e),this.endOfWeek=e=>function(e,t){var n,i,s,l,u,d,p,f;(0,o.A)(1,arguments);var h=(0,c.q)(),m=(0,r.A)(null!==(n=null!==(i=null!==(s=null!==(l=null==t?void 0:t.weekStartsOn)&&void 0!==l?l:null==t||null===(u=t.locale)||void 0===u||null===(d=u.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==s?s:h.weekStartsOn)&&void 0!==i?i:null===(p=h.locale)||void 0===p||null===(f=p.options)||void 0===f?void 0:f.weekStartsOn)&&void 0!==n?n:0);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var g=(0,a.A)(e),v=g.getDay(),y=6+(vu(e),this.addYears=(e,t)=>function(e,t){return(0,o.A)(2,arguments),l(e,12*(0,r.A)(t))}(e,t),this.addMonths=(e,t)=>l(e,t),this.addWeeks=(e,t)=>function(e,t){return(0,o.A)(2,arguments),i(e,7*(0,r.A)(t))}(e,t),this.addDays=(e,t)=>i(e,t),this.addHours=(e,t)=>function(e,t){(0,o.A)(2,arguments);var n=(0,r.A)(t);return(0,s.A)(e,36e5*n)}(e,t),this.addMinutes=(e,t)=>function(e,t){(0,o.A)(2,arguments);var n=(0,r.A)(t);return(0,s.A)(e,6e4*n)}(e,t),this.addSeconds=(e,t)=>function(e,t){(0,o.A)(2,arguments);var n=(0,r.A)(t);return(0,s.A)(e,1e3*n)}(e,t),this.getYear=e=>function(e){return(0,o.A)(1,arguments),(0,a.A)(e).getFullYear()}(e),this.getMonth=e=>function(e){return(0,o.A)(1,arguments),(0,a.A)(e).getMonth()}(e),this.getDate=e=>function(e){return(0,o.A)(1,arguments),(0,a.A)(e).getDate()}(e),this.getHours=e=>function(e){return(0,o.A)(1,arguments),(0,a.A)(e).getHours()}(e),this.getMinutes=e=>function(e){return(0,o.A)(1,arguments),(0,a.A)(e).getMinutes()}(e),this.getSeconds=e=>function(e){return(0,o.A)(1,arguments),(0,a.A)(e).getSeconds()}(e),this.getMilliseconds=e=>function(e){return(0,o.A)(1,arguments),(0,a.A)(e).getMilliseconds()}(e),this.setYear=(e,t)=>function(e,t){(0,o.A)(2,arguments);var n=(0,a.A)(e),i=(0,r.A)(t);return isNaN(n.getTime())?new Date(NaN):(n.setFullYear(i),n)}(e,t),this.setMonth=(e,t)=>function(e,t){(0,o.A)(2,arguments);var n=(0,a.A)(e),i=(0,r.A)(t),s=n.getFullYear(),l=n.getDate(),u=new Date(0);u.setFullYear(s,i,15),u.setHours(0,0,0,0);var c=f(u);return n.setMonth(i,Math.min(l,c)),n}(e,t),this.setDate=(e,t)=>function(e,t){(0,o.A)(2,arguments);var n=(0,a.A)(e),i=(0,r.A)(t);return n.setDate(i),n}(e,t),this.setHours=(e,t)=>function(e,t){(0,o.A)(2,arguments);var n=(0,a.A)(e),i=(0,r.A)(t);return n.setHours(i),n}(e,t),this.setMinutes=(e,t)=>function(e,t){(0,o.A)(2,arguments);var n=(0,a.A)(e),i=(0,r.A)(t);return n.setMinutes(i),n}(e,t),this.setSeconds=(e,t)=>function(e,t){(0,o.A)(2,arguments);var n=(0,a.A)(e),i=(0,r.A)(t);return n.setSeconds(i),n}(e,t),this.setMilliseconds=(e,t)=>function(e,t){(0,o.A)(2,arguments);var n=(0,a.A)(e),i=(0,r.A)(t);return n.setMilliseconds(i),n}(e,t),this.getDaysInMonth=e=>f(e),this.getWeekArray=e=>{const t=this.startOfWeek(this.startOfMonth(e)),n=this.endOfWeek(this.endOfMonth(e));let r=0,a=t;const o=[];for(;this.isBefore(a,n);){const e=Math.floor(r/7);o[e]=o[e]||[],o[e].push(a),a=this.addDays(a,1),r+=1}return o},this.getWeekNumber=e=>function(e,t){(0,o.A)(1,arguments);var n=(0,a.A)(e),i=h(n,t).getTime()-function(e,t){var n,i,s,l,u,d,p,f;(0,o.A)(1,arguments);var m=(0,c.q)(),g=(0,r.A)(null!==(n=null!==(i=null!==(s=null!==(l=null==t?void 0:t.firstWeekContainsDate)&&void 0!==l?l:null==t||null===(u=t.locale)||void 0===u||null===(d=u.options)||void 0===d?void 0:d.firstWeekContainsDate)&&void 0!==s?s:m.firstWeekContainsDate)&&void 0!==i?i:null===(p=m.locale)||void 0===p||null===(f=p.options)||void 0===f?void 0:f.firstWeekContainsDate)&&void 0!==n?n:1),v=function(e,t){var n,i,s,l,u,d,p,f;(0,o.A)(1,arguments);var m=(0,a.A)(e),g=m.getFullYear(),v=(0,c.q)(),y=(0,r.A)(null!==(n=null!==(i=null!==(s=null!==(l=null==t?void 0:t.firstWeekContainsDate)&&void 0!==l?l:null==t||null===(u=t.locale)||void 0===u||null===(d=u.options)||void 0===d?void 0:d.firstWeekContainsDate)&&void 0!==s?s:v.firstWeekContainsDate)&&void 0!==i?i:null===(p=v.locale)||void 0===p||null===(f=p.options)||void 0===f?void 0:f.firstWeekContainsDate)&&void 0!==n?n:1);if(!(y>=1&&y<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var b=new Date(0);b.setFullYear(g+1,0,y),b.setHours(0,0,0,0);var w=h(b,t),x=new Date(0);x.setFullYear(g,0,y),x.setHours(0,0,0,0);var S=h(x,t);return m.getTime()>=w.getTime()?g+1:m.getTime()>=S.getTime()?g:g-1}(e,t),y=new Date(0);return y.setFullYear(v,0,g),y.setHours(0,0,0,0),h(y,t)}(n,t).getTime();return Math.round(i/6048e5)+1}(e,{locale:this.locale}),this.getYearRange=([e,t])=>{const n=this.startOfYear(e),r=this.endOfYear(t),a=[];let o=n;for(;this.isBefore(o,r);)a.push(o),o=this.addYears(o,1);return a}}}},42474:(e,t,n)=>{"use strict";n.d(t,{x:()=>fe});var r=n(10793),a=n(57126),o=n(96540),i=n(34164),s=n(67389),l=n(98844),u=n(11848),c=n(38888),d=n(54674),p=n(72236),f=n(41711),h=n(45027);const m=({shouldDisableDate:e,shouldDisableMonth:t,shouldDisableYear:n,minDate:r,maxDate:a,disableFuture:i,disablePast:s,timezone:l})=>{const u=(0,h.u)();return o.useCallback((o=>null!==(0,f.Z)({adapter:u,value:o,timezone:l,props:{shouldDisableDate:e,shouldDisableMonth:t,shouldDisableYear:n,minDate:r,maxDate:a,disableFuture:i,disablePast:s}})),[u,e,t,n,r,a,i,s,l])};var g=n(90383),v=n(92824);var y=n(52319),b=n(33551),w=n(93944),x=n(85202),S=n(71922),_=n(10950),A=n(25221),C=n(44675),T=n(47299),k=n(40431),E=n(52982),M=n(40549);function P(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}n(5556);var O=n(80851),I=n(92403),D=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.remove(r):"string"==typeof n.className?n.className=P(n.className,r):n.setAttribute("class",P(n.className&&n.className.baseVal||"",r)));var n,r}))},R=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a[t.root,{[`.${L.U["slideEnter-left"]}`]:t["slideEnter-left"]},{[`.${L.U["slideEnter-right"]}`]:t["slideEnter-right"]},{[`.${L.U.slideEnterActive}`]:t.slideEnterActive},{[`.${L.U.slideExit}`]:t.slideExit},{[`.${L.U["slideExitActiveLeft-left"]}`]:t["slideExitActiveLeft-left"]},{[`.${L.U["slideExitActiveLeft-right"]}`]:t["slideExitActiveLeft-right"]}]})((({theme:e})=>{const t=e.transitions.create("transform",{duration:e.transitions.duration.complex,easing:"cubic-bezier(0.35, 0.8, 0.4, 1)"});return{display:"block",position:"relative",overflowX:"hidden","& > *":{position:"absolute",top:0,right:0,left:0},[`& .${L.U["slideEnter-left"]}`]:{willChange:"transform",transform:"translate(100%)",zIndex:1},[`& .${L.U["slideEnter-right"]}`]:{willChange:"transform",transform:"translate(-100%)",zIndex:1},[`& .${L.U.slideEnterActive}`]:{transform:"translate(0%)",transition:t},[`& .${L.U.slideExit}`]:{transform:"translate(0%)"},[`& .${L.U["slideExitActiveLeft-left"]}`]:{willChange:"transform",transform:"translate(-100%)",transition:t,zIndex:0},[`& .${L.U["slideExitActiveLeft-right"]}`]:{willChange:"transform",transform:"translate(100%)",transition:t,zIndex:0}}}));var B=n(80916),z=n(88822);const W=["parentProps","day","focusableDay","selectedDays","isDateDisabled","currentMonthNumber","isViewFocused"],V=["ownerState"],U=6*(A.B3+2*A.y0),H=(0,u.Ay)("div",{name:"MuiDayCalendar",slot:"Root",overridesResolver:(e,t)=>t.root})({}),q=(0,u.Ay)("div",{name:"MuiDayCalendar",slot:"Header",overridesResolver:(e,t)=>t.header})({display:"flex",justifyContent:"center",alignItems:"center"}),G=(0,u.Ay)(b.A,{name:"MuiDayCalendar",slot:"WeekDayLabel",overridesResolver:(e,t)=>t.weekDayLabel})((({theme:e})=>({width:36,height:40,margin:"0 2px",textAlign:"center",display:"flex",justifyContent:"center",alignItems:"center",color:(e.vars||e).palette.text.secondary}))),Y=(0,u.Ay)(b.A,{name:"MuiDayCalendar",slot:"WeekNumberLabel",overridesResolver:(e,t)=>t.weekNumberLabel})((({theme:e})=>({width:36,height:40,margin:"0 2px",textAlign:"center",display:"flex",justifyContent:"center",alignItems:"center",color:e.palette.text.disabled}))),X=(0,u.Ay)(b.A,{name:"MuiDayCalendar",slot:"WeekNumber",overridesResolver:(e,t)=>t.weekNumber})((({theme:e})=>(0,a.A)({},e.typography.caption,{width:A.B3,height:A.B3,padding:0,margin:`0 ${A.y0}px`,color:e.palette.text.disabled,fontSize:"0.75rem",alignItems:"center",justifyContent:"center",display:"inline-flex"}))),K=(0,u.Ay)("div",{name:"MuiDayCalendar",slot:"LoadingContainer",overridesResolver:(e,t)=>t.loadingContainer})({display:"flex",justifyContent:"center",alignItems:"center",minHeight:U}),Q=(0,u.Ay)((function(e){const t=(0,l.A)({props:e,name:"MuiPickersSlideTransition"}),{children:n,className:s,reduceAnimations:u,transKey:d}=t,p=(0,r.A)(t,j),f=(e=>{const{classes:t,slideDirection:n}=e,r={root:["root"],exit:["slideExit"],enterActive:["slideEnterActive"],enter:[`slideEnter-${n}`],exitActive:[`slideExitActiveLeft-${n}`]};return(0,c.A)(r,L.E,t)})(t),h=(0,C.A)();if(u)return(0,$.jsx)("div",{className:(0,i.A)(f.root,s),children:n});const m={exit:f.exit,enterActive:f.enterActive,enter:f.enter,exitActive:f.exitActive};return(0,$.jsx)(F,{className:(0,i.A)(f.root,s),childFactory:e=>o.cloneElement(e,{classNames:m}),role:"presentation",children:(0,$.jsx)(N,(0,a.A)({mountOnEnter:!0,unmountOnExit:!0,timeout:h.transitions.duration.complex,classNames:m},p,{children:n}),d)})}),{name:"MuiDayCalendar",slot:"SlideTransition",overridesResolver:(e,t)=>t.slideTransition})({minHeight:U}),Z=(0,u.Ay)("div",{name:"MuiDayCalendar",slot:"MonthContainer",overridesResolver:(e,t)=>t.monthContainer})({overflow:"hidden"}),J=(0,u.Ay)("div",{name:"MuiDayCalendar",slot:"WeekContainer",overridesResolver:(e,t)=>t.weekContainer})({margin:`${A.y0}px 0`,display:"flex",justifyContent:"center"});function ee(e){let{parentProps:t,day:n,focusableDay:i,selectedDays:l,isDateDisabled:u,currentMonthNumber:c,isViewFocused:d}=e,p=(0,r.A)(e,W);const{disabled:f,disableHighlightToday:m,isMonthSwitchingAnimating:g,showDaysOutsideCurrentMonth:v,slots:y,slotProps:b,timezone:w}=t,x=(0,h.hc)(),_=(0,h.cB)(w),A=null!==i&&x.isSameDay(n,i),C=l.some((e=>x.isSameDay(e,n))),T=x.isSameDay(n,_),k=y?.day??S.a,E=(0,s.A)({elementType:k,externalSlotProps:b?.day,additionalProps:(0,a.A)({disableHighlightToday:m,showDaysOutsideCurrentMonth:v,role:"gridcell",isAnimating:g,"data-timestamp":x.toJsDate(n).valueOf()},p),ownerState:(0,a.A)({},t,{day:n,selected:C})}),M=(0,r.A)(E,V),P=o.useMemo((()=>f||u(n)),[f,u,n]),O=o.useMemo((()=>x.getMonth(n)!==c),[x,n,c]),I=o.useMemo((()=>{const e=x.startOfMonth(x.setMonth(n,c));return v?x.isSameDay(n,x.startOfWeek(e)):x.isSameDay(n,e)}),[c,n,v,x]),D=o.useMemo((()=>{const e=x.endOfMonth(x.setMonth(n,c));return v?x.isSameDay(n,x.endOfWeek(e)):x.isSameDay(n,e)}),[c,n,v,x]);return(0,$.jsx)(k,(0,a.A)({},M,{day:n,disabled:P,autoFocus:d&&A,today:T,outsideCurrentMonth:O,isFirstVisibleCell:I,isLastVisibleCell:D,selected:C,tabIndex:A?0:-1,"aria-selected":C,"aria-current":T?"date":void 0}))}function te(e){const t=(0,l.A)({props:e,name:"MuiDayCalendar"}),n=(0,h.hc)(),{onFocusedDayChange:r,className:s,currentMonth:u,selectedDays:d,focusedDay:f,loading:g,onSelectedDaysChange:v,onMonthSwitchingAnimationEnd:y,readOnly:b,reduceAnimations:S,renderLoading:A=(()=>(0,$.jsx)("span",{children:"..."})),slideDirection:C,TransitionProps:T,disablePast:k,disableFuture:E,minDate:M,maxDate:P,shouldDisableDate:O,shouldDisableMonth:I,shouldDisableYear:D,dayOfWeekFormatter:R=(e=>n.format(e,"weekdayShort").charAt(0).toUpperCase()),hasFocus:N,onFocusedViewChange:L,gridLabelId:j,displayWeekNumber:F,fixedWeekNumber:W,autoFocus:V,timezone:U}=t,te=(0,h.cB)(U),ne=(e=>{const{classes:t}=e;return(0,c.A)({root:["root"],header:["header"],weekDayLabel:["weekDayLabel"],loadingContainer:["loadingContainer"],slideTransition:["slideTransition"],monthContainer:["monthContainer"],weekContainer:["weekContainer"],weekNumberLabel:["weekNumberLabel"],weekNumber:["weekNumber"]},z.X,t)})(t),re=(0,w.I)(),ae=m({shouldDisableDate:O,shouldDisableMonth:I,shouldDisableYear:D,minDate:M,maxDate:P,disablePast:k,disableFuture:E,timezone:U}),oe=(0,_.b)(),[ie,se]=(0,x.A)({name:"DayCalendar",state:"hasFocus",controlled:N,default:V??!1}),[le,ue]=o.useState((()=>f||te)),ce=(0,p.A)((e=>{b||v(e)})),de=e=>{ae(e)||(r(e),ue(e),L?.(!0),se(!0))},pe=(0,p.A)(((e,t)=>{switch(e.key){case"ArrowUp":de(n.addDays(t,-7)),e.preventDefault();break;case"ArrowDown":de(n.addDays(t,7)),e.preventDefault();break;case"ArrowLeft":{const r=n.addDays(t,re?1:-1),a=n.addMonths(t,re?1:-1),o=(0,B.il)({utils:n,date:r,minDate:re?r:n.startOfMonth(a),maxDate:re?n.endOfMonth(a):r,isDateDisabled:ae,timezone:U});de(o||r),e.preventDefault();break}case"ArrowRight":{const r=n.addDays(t,re?-1:1),a=n.addMonths(t,re?-1:1),o=(0,B.il)({utils:n,date:r,minDate:re?n.startOfMonth(a):r,maxDate:re?r:n.endOfMonth(a),isDateDisabled:ae,timezone:U});de(o||r),e.preventDefault();break}case"Home":de(n.startOfWeek(t)),e.preventDefault();break;case"End":de(n.endOfWeek(t)),e.preventDefault();break;case"PageUp":de(n.addMonths(t,1)),e.preventDefault();break;case"PageDown":de(n.addMonths(t,-1)),e.preventDefault()}})),fe=(0,p.A)(((e,t)=>de(t))),he=(0,p.A)(((e,t)=>{ie&&n.isSameDay(le,t)&&L?.(!1)})),me=n.getMonth(u),ge=n.getYear(u),ve=o.useMemo((()=>d.filter((e=>!!e)).map((e=>n.startOfDay(e)))),[n,d]),ye=`${ge}-${me}`,be=o.useMemo((()=>o.createRef()),[ye]),we=o.useMemo((()=>{const e=n.startOfMonth(u),t=n.endOfMonth(u);return ae(le)||n.isAfterDay(le,t)||n.isBeforeDay(le,e)?(0,B.il)({utils:n,date:le,minDate:e,maxDate:t,disablePast:k,disableFuture:E,isDateDisabled:ae,timezone:U}):le}),[u,E,k,le,ae,n,U]),xe=o.useMemo((()=>{const e=n.setTimezone(u,U),t=n.getWeekArray(e);let r=n.addMonths(e,1);for(;W&&t.length{t.length(0,$.jsx)(G,{variant:"caption",role:"columnheader","aria-label":n.format(e,"weekday"),className:ne.weekDayLabel,children:R(e)},t.toString())))]}),g?(0,$.jsx)(K,{className:ne.loadingContainer,children:A()}):(0,$.jsx)(Q,(0,a.A)({transKey:ye,onExited:y,reduceAnimations:S,slideDirection:C,className:(0,i.A)(s,ne.slideTransition)},T,{nodeRef:be,children:(0,$.jsx)(Z,{ref:be,role:"rowgroup",className:ne.monthContainer,children:xe.map(((e,r)=>(0,$.jsxs)(J,{role:"row",className:ne.weekContainer,"aria-rowindex":r+1,children:[F&&(0,$.jsx)(X,{className:ne.weekNumber,role:"rowheader","aria-label":oe.calendarWeekNumberAriaLabelText(n.getWeekNumber(e[0])),children:oe.calendarWeekNumberText(n.getWeekNumber(e[0]))}),e.map(((e,n)=>(0,$.jsx)(ee,{parentProps:t,day:e,selectedDays:ve,focusableDay:we,onKeyDown:pe,onFocus:fe,onBlur:he,onDaySelect:ce,isDateDisabled:ae,currentMonthNumber:me,isViewFocused:ie,"aria-colindex":n+1},e.toString())))]},`week-${e[0]}`)))})}))]})}var ne=n(75631),re=n(38523),ae=n(4780),oe=n(51650),ie=n(84022),se=n(77602),le=n(87306),ue=n(13016);const ce=["autoFocus","onViewChange","value","defaultValue","referenceDate","disableFuture","disablePast","onChange","onYearChange","onMonthChange","reduceAnimations","shouldDisableDate","shouldDisableMonth","shouldDisableYear","view","views","openTo","className","disabled","readOnly","minDate","maxDate","disableHighlightToday","focusedView","onFocusedViewChange","showDaysOutsideCurrentMonth","fixedWeekNumber","dayOfWeekFormatter","slots","slotProps","loading","renderLoading","displayWeekNumber","yearsOrder","yearsPerRow","monthsPerRow","timezone"],de=(0,u.Ay)(ie.I,{name:"MuiDateCalendar",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"flex",flexDirection:"column",height:A.Y2}),pe=(0,u.Ay)(y.g,{name:"MuiDateCalendar",slot:"ViewTransitionContainer",overridesResolver:(e,t)=>t.viewTransitionContainer})({}),fe=o.forwardRef((function(e,t){const n=(0,h.hc)(),u=(0,d.A)(),f=function(e,t){const n=(0,h.hc)(),r=(0,h.Yg)(),o=(0,se.q)(),i=(0,l.A)({props:e,name:"MuiDateCalendar"});return(0,a.A)({},i,{loading:i.loading??!1,disablePast:i.disablePast??!1,disableFuture:i.disableFuture??!1,openTo:i.openTo??"day",views:i.views??["year","day"],reduceAnimations:i.reduceAnimations??o,renderLoading:i.renderLoading??(()=>(0,$.jsx)("span",{children:"..."})),minDate:(0,B.IP)(n,i.minDate,r.minDate),maxDate:(0,B.IP)(n,i.maxDate,r.maxDate)})}(e),{autoFocus:y,onViewChange:b,value:w,defaultValue:x,referenceDate:S,disableFuture:_,disablePast:A,onChange:C,onYearChange:T,onMonthChange:k,reduceAnimations:E,shouldDisableDate:M,shouldDisableMonth:P,shouldDisableYear:O,view:I,views:D,openTo:R,className:N,disabled:L,readOnly:j,minDate:F,maxDate:z,disableHighlightToday:W,focusedView:V,onFocusedViewChange:U,showDaysOutsideCurrentMonth:H,fixedWeekNumber:q,dayOfWeekFormatter:G,slots:Y,slotProps:X,loading:K,renderLoading:Q,displayWeekNumber:Z,yearsOrder:J,yearsPerRow:ee,monthsPerRow:ie,timezone:fe}=f,he=(0,r.A)(f,ce),{value:me,handleValueChange:ge,timezone:ve}=(0,ue.Y)({name:"DateCalendar",timezone:fe,value:w,defaultValue:x,onChange:C,valueManager:g.W}),{view:ye,setView:be,focusedView:we,setFocusedView:xe,goToNextView:Se,setValueAndGoToNextView:_e}=(0,ae.o)({view:I,views:D,openTo:R,onChange:ge,onViewChange:b,autoFocus:y,focusedView:V,onFocusedViewChange:U}),{referenceDate:Ae,calendarState:Ce,changeFocusedDay:Te,changeMonth:ke,handleChangeMonth:Ee,isDateDisabled:Me,onMonthSwitchingAnimationEnd:Pe}=(e=>{const{value:t,referenceDate:n,disableFuture:r,disablePast:i,disableSwitchToMonthOnDayFocus:s=!1,maxDate:l,minDate:u,onMonthChange:c,reduceAnimations:d,shouldDisableDate:f,timezone:y}=e,b=(0,h.hc)(),w=o.useRef(((e,t,n)=>(r,o)=>{switch(o.type){case"changeMonth":return(0,a.A)({},r,{slideDirection:o.direction,currentMonth:o.newMonth,isMonthSwitchingAnimating:!e});case"finishMonthSwitchingAnimation":return(0,a.A)({},r,{isMonthSwitchingAnimating:!1});case"changeFocusedDay":{if(null!=r.focusedDay&&null!=o.focusedDay&&n.isSameDay(o.focusedDay,r.focusedDay))return r;const i=null!=o.focusedDay&&!t&&!n.isSameMonth(r.currentMonth,o.focusedDay);return(0,a.A)({},r,{focusedDay:o.focusedDay,isMonthSwitchingAnimating:i&&!e&&!o.withoutMonthSwitchingAnimation,currentMonth:i?n.startOfMonth(o.focusedDay):r.currentMonth,slideDirection:null!=o.focusedDay&&n.isAfterDay(o.focusedDay,r.currentMonth)?"left":"right"})}default:throw new Error("missing support")}})(Boolean(d),s,b)).current,x=o.useMemo((()=>g.W.getInitialReferenceValue({value:t,utils:b,timezone:y,props:e,referenceDate:n,granularity:v.yX.day})),[]),[S,_]=o.useReducer(w,{isMonthSwitchingAnimating:!1,focusedDay:x,currentMonth:b.startOfMonth(x),slideDirection:"left"}),A=o.useCallback((e=>{_((0,a.A)({type:"changeMonth"},e)),c&&c(e.newMonth)}),[c]),C=o.useCallback((e=>{const t=e;b.isSameMonth(t,S.currentMonth)||A({newMonth:b.startOfMonth(t),direction:b.isAfterDay(t,S.currentMonth)?"left":"right"})}),[S.currentMonth,A,b]),T=m({shouldDisableDate:f,minDate:u,maxDate:l,disableFuture:r,disablePast:i,timezone:y}),k=o.useCallback((()=>{_({type:"finishMonthSwitchingAnimation"})}),[]),E=(0,p.A)(((e,t)=>{T(e)||_({type:"changeFocusedDay",focusedDay:e,withoutMonthSwitchingAnimation:t})}));return{referenceDate:x,calendarState:S,changeMonth:C,changeFocusedDay:E,isDateDisabled:T,onMonthSwitchingAnimationEnd:k,handleChangeMonth:A}})({value:me,referenceDate:S,reduceAnimations:E,onMonthChange:k,minDate:F,maxDate:z,shouldDisableDate:M,disablePast:A,disableFuture:_,timezone:ve}),Oe=L&&me||F,Ie=L&&me||z,De=`${u}-grid-label`,Re=null!==we,Ne=Y?.calendarHeader??oe.V,Le=(0,s.A)({elementType:Ne,externalSlotProps:X?.calendarHeader,additionalProps:{views:D,view:ye,currentMonth:Ce.currentMonth,onViewChange:be,onMonthChange:(e,t)=>Ee({newMonth:e,direction:t}),minDate:Oe,maxDate:Ie,disabled:L,disablePast:A,disableFuture:_,reduceAnimations:E,timezone:ve,labelId:De},ownerState:f}),$e=(0,p.A)((e=>{const t=n.startOfMonth(e),r=n.endOfMonth(e),a=Me(e)?(0,B.il)({utils:n,date:e,minDate:n.isBefore(F,t)?t:F,maxDate:n.isAfter(z,r)?r:z,disablePast:A,disableFuture:_,isDateDisabled:Me,timezone:ve}):e;a?(_e(a,"finish"),k?.(t)):(Se(),ke(t)),Te(a,!0)})),je=(0,p.A)((e=>{const t=n.startOfYear(e),r=n.endOfYear(e),a=Me(e)?(0,B.il)({utils:n,date:e,minDate:n.isBefore(F,t)?t:F,maxDate:n.isAfter(z,r)?r:z,disablePast:A,disableFuture:_,isDateDisabled:Me,timezone:ve}):e;a?(_e(a,"finish"),T?.(a)):(Se(),ke(t)),Te(a,!0)})),Fe=(0,p.A)((e=>ge(e?(0,B.jH)(n,e,me??Ae):e,"finish",ye)));o.useEffect((()=>{null!=me&&n.isValid(me)&&ke(me)}),[me]);const Be=f,ze=(e=>{const{classes:t}=e;return(0,c.A)({root:["root"],viewTransitionContainer:["viewTransitionContainer"]},le.$,t)})(Be),We={disablePast:A,disableFuture:_,maxDate:z,minDate:F},Ve={disableHighlightToday:W,readOnly:j,disabled:L,timezone:ve,gridLabelId:De,slots:Y,slotProps:X},Ue=o.useRef(ye);o.useEffect((()=>{Ue.current!==ye&&(we===Ue.current&&xe(ye,!0),Ue.current=ye)}),[we,xe,ye]);const He=o.useMemo((()=>[me]),[me]);return(0,$.jsxs)(de,(0,a.A)({ref:t,className:(0,i.A)(ze.root,N),ownerState:Be},he,{children:[(0,$.jsx)(Ne,(0,a.A)({},Le,{slots:Y,slotProps:X})),(0,$.jsx)(pe,{reduceAnimations:E,className:ze.viewTransitionContainer,transKey:ye,ownerState:Be,children:(0,$.jsxs)("div",{children:["year"===ye&&(0,$.jsx)(re.i,(0,a.A)({},We,Ve,{value:me,onChange:je,shouldDisableYear:O,hasFocus:Re,onFocusedViewChange:e=>xe("year",e),yearsOrder:J,yearsPerRow:ee,referenceDate:Ae})),"month"===ye&&(0,$.jsx)(ne.T,(0,a.A)({},We,Ve,{hasFocus:Re,className:N,value:me,onChange:$e,shouldDisableMonth:P,onFocusedViewChange:e=>xe("month",e),monthsPerRow:ie,referenceDate:Ae})),"day"===ye&&(0,$.jsx)(te,(0,a.A)({},Ce,We,Ve,{onMonthSwitchingAnimationEnd:Pe,onFocusedDayChange:Te,reduceAnimations:E,selectedDays:He,onSelectedDaysChange:Fe,shouldDisableDate:M,shouldDisableMonth:P,shouldDisableYear:O,hasFocus:Re,onFocusedViewChange:e=>xe("day",e),showDaysOutsideCurrentMonth:H,fixedWeekNumber:q,dayOfWeekFormatter:G,displayWeekNumber:Z,loading:K,renderLoading:Q}))]})})]}))}))},52319:(e,t,n)=>{"use strict";n.d(t,{g:()=>h}),n(96540);var r=n(34164),a=n(47299),o=n(20973),i=n(11848),s=n(98844),l=n(44675),u=n(38888),c=n(87787),d=n(74848);const p=e=>{const{classes:t}=e;return(0,u.A)({root:["root"]},c.K,t)},f=(0,i.Ay)(a.A,{name:"MuiPickersFadeTransitionGroup",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"block",position:"relative"});function h(e){const t=(0,s.A)({props:e,name:"MuiPickersFadeTransitionGroup"}),{children:n,className:a,reduceAnimations:i,transKey:u}=t,c=p(t),h=(0,l.A)();return i?n:(0,d.jsx)(f,{className:(0,r.A)(c.root,a),children:(0,d.jsx)(o.A,{appear:!1,mountOnEnter:!0,unmountOnExit:!0,timeout:{appear:h.transitions.duration.enteringScreen,enter:h.transitions.duration.enteringScreen,exit:0},children:n},u)})}},87306:(e,t,n)=>{"use strict";n.d(t,{$:()=>o,r:()=>i});var r=n(11245),a=n(36306);const o=e=>(0,r.Ay)("MuiDateCalendar",e),i=(0,a.A)("MuiDateCalendar",["root","viewTransitionContainer"])},88822:(e,t,n)=>{"use strict";n.d(t,{X:()=>o,f:()=>i});var r=n(11245),a=n(36306);const o=e=>(0,r.Ay)("MuiDayCalendar",e),i=(0,a.A)("MuiDayCalendar",["root","header","weekDayLabel","loadingContainer","slideTransition","monthContainer","weekContainer","weekNumberLabel","weekNumber"])},87787:(e,t,n)=>{"use strict";n.d(t,{K:()=>o,r:()=>i});var r=n(11245),a=n(36306);const o=e=>(0,r.Ay)("MuiPickersFadeTransitionGroup",e),i=(0,a.A)("MuiPickersFadeTransitionGroup",["root"])},55449:(e,t,n)=>{"use strict";n.d(t,{E:()=>o,U:()=>i});var r=n(11245),a=n(36306);const o=e=>(0,r.Ay)("MuiPickersSlideTransition",e),i=(0,a.A)("MuiPickersSlideTransition",["root","slideEnter-left","slideEnter-right","slideEnterActive","slideExit","slideExitActiveLeft-left","slideExitActiveLeft-right"])},33262:(e,t,n)=>{"use strict";n.d(t,{v:()=>m});var r=n(57126),a=n(10793),o=n(96540),i=n(1043),s=n(98844),l=n(67389),u=n(17025),c=n(78942),d=n(6852),p=n(60054),f=n(74848);const h=["slots","slotProps","InputProps","inputProps"],m=o.forwardRef((function(e,t){const n=(0,s.A)({props:e,name:"MuiDateField"}),{slots:o,slotProps:m,InputProps:g,inputProps:v}=n,y=(0,a.A)(n,h),b=n,w=o?.textField??(e.enableAccessibleFieldDOMStructure?d.X:i.A),x=(0,l.A)({elementType:w,externalSlotProps:m?.textField,externalForwardedProps:y,additionalProps:{ref:t},ownerState:b});x.inputProps=(0,r.A)({},v,x.inputProps),x.InputProps=(0,r.A)({},g,x.InputProps);const S=(0,u.c)(x),_=(0,p.h)(S),A=(0,c.Z)((0,r.A)({},_,{slots:o,slotProps:m}));return(0,f.jsx)(w,(0,r.A)({},A))}))},17025:(e,t,n)=>{"use strict";n.d(t,{c:()=>l});var r=n(90383),a=n(22224),o=n(41711),i=n(64799),s=n(9674);const l=e=>{const t=(0,s.LN)(e),{forwardedProps:n,internalProps:l}=(0,i.o)(t,"date");return(0,a.M)({forwardedProps:n,internalProps:l,valueManager:r.W,fieldValueManager:r.o,validator:o.Z,valueType:"date"})}},48281:(e,t,n)=>{"use strict";n.d(t,{S:()=>w});var r=n(57126),a=n(10793),o=n(96540),i=n(34164),s=n(33551),l=n(11848),u=n(98844),c=n(38888),d=n(9695),p=n(10950),f=n(45027),h=n(98281),m=n(80916),g=n(74848);const v=["value","isLandscape","onChange","toolbarFormat","toolbarPlaceholder","views","className","onViewChange","view"],y=(0,l.Ay)(d.Z,{name:"MuiDatePickerToolbar",slot:"Root",overridesResolver:(e,t)=>t.root})({}),b=(0,l.Ay)(s.A,{name:"MuiDatePickerToolbar",slot:"Title",overridesResolver:(e,t)=>t.title})({variants:[{props:{isLandscape:!0},style:{margin:"auto 16px auto auto"}}]}),w=o.forwardRef((function(e,t){const n=(0,u.A)({props:e,name:"MuiDatePickerToolbar"}),{value:s,isLandscape:l,toolbarFormat:d,toolbarPlaceholder:w="––",views:x,className:S}=n,_=(0,a.A)(n,v),A=(0,f.hc)(),C=(0,p.b)(),T=(e=>{const{classes:t}=e;return(0,c.A)({root:["root"],title:["title"]},h.y,t)})(n),k=o.useMemo((()=>{if(!s)return w;const e=(0,m.Wq)(A,{format:d,views:x},!0);return A.formatByString(s,e)}),[s,d,w,A,x]),E=n;return(0,g.jsx)(y,(0,r.A)({ref:t,toolbarTitle:C.datePickerToolbarTitle,isLandscape:l,className:(0,i.A)(T.root,S)},_,{children:(0,g.jsx)(b,{variant:"h4",align:l?"left":"center",ownerState:E,className:T.title,children:k})}))}))},98281:(e,t,n)=>{"use strict";n.d(t,{Y:()=>o,y:()=>a});var r=n(11245);function a(e){return(0,r.Ay)("MuiDatePickerToolbar",e)}const o=(0,n(36306).A)("MuiDatePickerToolbar",["root","title"])},96411:(e,t,n)=>{"use strict";n.r(t),n.d(t,{DatePicker:()=>f,DatePickerToolbar:()=>h.S,datePickerToolbarClasses:()=>m.Y});var r=n(57126),a=n(10793),o=n(96540),i=n(86819),s=n(98844),l=n(17522),u=n(12716),c=n(18903),d=n(74848);const p=["desktopModeMediaQuery"],f=o.forwardRef((function(e,t){const n=(0,s.A)({props:e,name:"MuiDatePicker"}),{desktopModeMediaQuery:o=c.jX}=n,f=(0,a.A)(n,p);return(0,i.A)(o,{defaultMatches:!0})?(0,d.jsx)(l.T,(0,r.A)({ref:t},f)):(0,d.jsx)(u.$,(0,r.A)({ref:t},f))}));var h=n(48281),m=n(98281)},17559:(e,t,n)=>{"use strict";n.d(t,{D:()=>c});var r=n(57126),a=n(96540),o=n(98844),i=n(45027),s=n(53136),l=n(80916),u=n(48281);function c(e,t){const n=(0,i.hc)(),c=(0,i.Yg)(),d=(0,o.A)({props:e,name:t}),p=a.useMemo((()=>null==d.localeText?.toolbarTitle?d.localeText:(0,r.A)({},d.localeText,{datePickerToolbarTitle:d.localeText.toolbarTitle})),[d.localeText]);return(0,r.A)({},d,{localeText:p},(0,s.R)({views:d.views,openTo:d.openTo,defaultViews:["year","day"],defaultOpenTo:"day"}),{disableFuture:d.disableFuture??!1,disablePast:d.disablePast??!1,minDate:(0,l.IP)(n,d.minDate,c.minDate),maxDate:(0,l.IP)(n,d.maxDate,c.maxDate),slots:(0,r.A)({toolbar:u.S},d.slots)})}},76690:(e,t,n)=>{"use strict";n.d(t,{I:()=>m});var r=n(57126),a=n(10793),o=n(96540),i=n(1043),s=n(98844),l=n(67389),u=n(64691),c=n(78942),d=n(6852),p=n(60054),f=n(74848);const h=["slots","slotProps","InputProps","inputProps"],m=o.forwardRef((function(e,t){const n=(0,s.A)({props:e,name:"MuiDateTimeField"}),{slots:o,slotProps:m,InputProps:g,inputProps:v}=n,y=(0,a.A)(n,h),b=n,w=o?.textField??(e.enableAccessibleFieldDOMStructure?d.X:i.A),x=(0,l.A)({elementType:w,externalSlotProps:m?.textField,externalForwardedProps:y,ownerState:b,additionalProps:{ref:t}});x.inputProps=(0,r.A)({},v,x.inputProps),x.InputProps=(0,r.A)({},g,x.InputProps);const S=(0,u.p)(x),_=(0,p.h)(S),A=(0,c.Z)((0,r.A)({},_,{slots:o,slotProps:m}));return(0,f.jsx)(w,(0,r.A)({},A))}))},64691:(e,t,n)=>{"use strict";n.d(t,{p:()=>l});var r=n(90383),a=n(22224),o=n(64618),i=n(64799),s=n(9674);const l=e=>{const t=(0,s.o_)(e),{forwardedProps:n,internalProps:l}=(0,i.o)(t,"date-time");return(0,a.M)({forwardedProps:n,internalProps:l,valueManager:r.W,fieldValueManager:r.o,validator:o.q,valueType:"date-time"})}},88554:(e,t,n)=>{"use strict";n.d(t,{U:()=>y});var r=n(96540),a=n(34164),o=n(89367),i=n(45250),s=n(6533),l=n(11848),u=n(98844),c=n(38888),d=n(71196),p=n(10950),f=n(26760),h=n(80916),m=n(74848);const g=e=>(0,h.sC)(e)?"date":"time",v=(0,l.Ay)(i.A,{name:"MuiDateTimePickerTabs",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({boxShadow:`0 -1px 0 0 inset ${(e.vars||e).palette.divider}`,"&:last-child":{boxShadow:`0 1px 0 0 inset ${(e.vars||e).palette.divider}`,[`& .${s.A.indicator}`]:{bottom:"auto",top:0}}}))),y=function(e){const t=(0,u.A)({props:e,name:"MuiDateTimePickerTabs"}),{dateIcon:n=(0,m.jsx)(d.Z5,{}),onViewChange:i,timeIcon:s=(0,m.jsx)(d.b1,{}),view:l,hidden:h="undefined"==typeof window||window.innerHeight<667,className:y,sx:b}=t,w=(0,p.b)(),x=(e=>{const{classes:t}=e;return(0,c.A)({root:["root"]},f.w,t)})(t);return h?null:(0,m.jsxs)(v,{ownerState:t,variant:"fullWidth",value:g(l),onChange:(e,t)=>{i("date"===t?"day":"hours")},className:(0,a.A)(y,x.root),sx:b,children:[(0,m.jsx)(o.A,{value:"date","aria-label":w.dateTableLabel,icon:(0,m.jsx)(r.Fragment,{children:n})}),(0,m.jsx)(o.A,{value:"time","aria-label":w.timeTableLabel,icon:(0,m.jsx)(r.Fragment,{children:s})})]})}},51555:(e,t,n)=>{"use strict";n.d(t,{l:()=>O});var r=n(57126),a=n(10793),o=n(96540),i=n(93944),s=n(11848),l=n(98844),u=n(38888),c=n(34164),d=n(11756),p=n(9695),f=n(93987),h=n(10950),m=n(45027),g=n(37175),v=n(14254),y=n(25221),b=n(80916),w=n(58374),x=n(12331),S=n(74848);const _=["ampm","ampmInClock","value","onChange","view","isLandscape","onViewChange","toolbarFormat","toolbarPlaceholder","views","disabled","readOnly","toolbarVariant","toolbarTitle","className"],A=e=>{const{classes:t,isLandscape:n,isRtl:r}=e,a={root:["root"],dateContainer:["dateContainer"],timeContainer:["timeContainer",r&&"timeLabelReverse"],timeDigitsContainer:["timeDigitsContainer",r&&"timeLabelReverse"],separator:["separator"],ampmSelection:["ampmSelection",n&&"ampmLandscape"],ampmLabel:["ampmLabel"]};return(0,u.A)(a,g.$,t)},C=(0,s.Ay)(p.Z,{name:"MuiDateTimePickerToolbar",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({paddingLeft:16,paddingRight:16,justifyContent:"space-around",position:"relative",variants:[{props:{toolbarVariant:"desktop"},style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,[`& .${x.N.content} .${w.S.selected}`]:{color:(e.vars||e).palette.primary.main,fontWeight:e.typography.fontWeightBold}}},{props:{toolbarVariant:"desktop",isLandscape:!0},style:{borderRight:`1px solid ${(e.vars||e).palette.divider}`}},{props:{toolbarVariant:"desktop",isLandscape:!1},style:{paddingLeft:24,paddingRight:0}}]}))),T=(0,s.Ay)("div",{name:"MuiDateTimePickerToolbar",slot:"DateContainer",overridesResolver:(e,t)=>t.dateContainer})({display:"flex",flexDirection:"column",alignItems:"flex-start"}),k=(0,s.Ay)("div",{name:"MuiDateTimePickerToolbar",slot:"TimeContainer",overridesResolver:(e,t)=>t.timeContainer})({display:"flex",flexDirection:"row",variants:[{props:{isRtl:!0},style:{flexDirection:"row-reverse"}},{props:{toolbarVariant:"desktop",isLandscape:!1},style:{gap:9,marginRight:4,alignSelf:"flex-end"}},{props:({isLandscape:e,toolbarVariant:t})=>e&&"desktop"!==t,style:{flexDirection:"column"}},{props:({isLandscape:e,toolbarVariant:t,isRtl:n})=>e&&"desktop"!==t&&n,style:{flexDirection:"column-reverse"}}]}),E=(0,s.Ay)("div",{name:"MuiDateTimePickerToolbar",slot:"TimeDigitsContainer",overridesResolver:(e,t)=>t.timeDigitsContainer})({display:"flex",variants:[{props:{isRtl:!0},style:{flexDirection:"row-reverse"}},{props:{toolbarVariant:"desktop"},style:{gap:1.5}}]}),M=(0,s.Ay)(d.k,{name:"MuiDateTimePickerToolbar",slot:"Separator",overridesResolver:(e,t)=>t.separator})({margin:"0 4px 0 2px",cursor:"default",variants:[{props:{toolbarVariant:"desktop"},style:{margin:0}}]}),P=(0,s.Ay)("div",{name:"MuiDateTimePickerToolbar",slot:"AmPmSelection",overridesResolver:(e,t)=>[{[`.${g.d.ampmLabel}`]:t.ampmLabel},{[`&.${g.d.ampmLandscape}`]:t.ampmLandscape},t.ampmSelection]})({display:"flex",flexDirection:"column",marginRight:"auto",marginLeft:12,[`& .${g.d.ampmLabel}`]:{fontSize:17},variants:[{props:{isLandscape:!0},style:{margin:"4px 0 auto",flexDirection:"row",justifyContent:"space-around",width:"100%"}}]});function O(e){const t=(0,l.A)({props:e,name:"MuiDateTimePickerToolbar"}),{ampm:n,ampmInClock:s,value:u,onChange:d,view:p,isLandscape:g,onViewChange:w,toolbarFormat:x,toolbarPlaceholder:O="––",views:I,disabled:D,readOnly:R,toolbarVariant:N="mobile",toolbarTitle:L,className:$}=t,j=(0,a.A)(t,_),F=(0,i.I)(),B=(0,r.A)({},t,{isRtl:F}),z=(0,m.hc)(),{meridiemMode:W,handleMeridiemChange:V}=(0,v.r7)(u,n,d),U=Boolean(n&&!s),H="desktop"===N,q=(0,h.b)(),G=A(B),Y=L??q.dateTimePickerToolbarTitle,X=o.useMemo((()=>u?x?z.formatByString(u,x):z.format(u,"shortDate"):O),[u,x,O,z]);return(0,S.jsxs)(C,(0,r.A)({isLandscape:g,className:(0,c.A)(G.root,$),toolbarTitle:Y},j,{ownerState:B,children:[(0,S.jsxs)(T,{className:G.dateContainer,ownerState:B,children:[I.includes("year")&&(0,S.jsx)(f.R,{tabIndex:-1,variant:"subtitle1",onClick:()=>w("year"),selected:"year"===p,value:u?z.format(u,"year"):"–"}),I.includes("day")&&(0,S.jsx)(f.R,{tabIndex:-1,variant:H?"h5":"h4",onClick:()=>w("day"),selected:"day"===p,value:X})]}),(0,S.jsxs)(k,{className:G.timeContainer,ownerState:B,children:[(0,S.jsxs)(E,{className:G.timeDigitsContainer,ownerState:B,children:[I.includes("hours")&&(0,S.jsxs)(o.Fragment,{children:[(0,S.jsx)(f.R,{variant:H?"h5":"h3",width:H&&!g?y.aG:void 0,onClick:()=>w("hours"),selected:"hours"===p,value:u?(K=u,n?z.format(K,"hours12h"):z.format(K,"hours24h")):"--"}),(0,S.jsx)(M,{variant:H?"h5":"h3",value:":",className:G.separator,ownerState:B}),(0,S.jsx)(f.R,{variant:H?"h5":"h3",width:H&&!g?y.aG:void 0,onClick:()=>w("minutes"),selected:"minutes"===p||!I.includes("minutes")&&"hours"===p,value:u?z.format(u,"minutes"):"--",disabled:!I.includes("minutes")})]}),I.includes("seconds")&&(0,S.jsxs)(o.Fragment,{children:[(0,S.jsx)(M,{variant:H?"h5":"h3",value:":",className:G.separator,ownerState:B}),(0,S.jsx)(f.R,{variant:H?"h5":"h3",width:H&&!g?y.aG:void 0,onClick:()=>w("seconds"),selected:"seconds"===p,value:u?z.format(u,"seconds"):"--"})]})]}),U&&!H&&(0,S.jsxs)(P,{className:G.ampmSelection,ownerState:B,children:[(0,S.jsx)(f.R,{variant:"subtitle2",selected:"am"===W,typographyClassName:G.ampmLabel,value:(0,b._S)(z,"am"),onClick:R?void 0:()=>V("am"),disabled:D}),(0,S.jsx)(f.R,{variant:"subtitle2",selected:"pm"===W,typographyClassName:G.ampmLabel,value:(0,b._S)(z,"pm"),onClick:R?void 0:()=>V("pm"),disabled:D})]}),n&&H&&(0,S.jsx)(f.R,{variant:"h5",onClick:()=>w("meridiem"),selected:"meridiem"===p,value:u&&W?(0,b._S)(z,W):"--",width:y.aG})]})]}));var K}},26760:(e,t,n)=>{"use strict";n.d(t,{g:()=>o,w:()=>a});var r=n(11245);function a(e){return(0,r.Ay)("MuiDateTimePickerTabs",e)}const o=(0,n(36306).A)("MuiDateTimePickerTabs",["root"])},37175:(e,t,n)=>{"use strict";n.d(t,{$:()=>a,d:()=>o});var r=n(11245);function a(e){return(0,r.Ay)("MuiDateTimePickerToolbar",e)}const o=(0,n(36306).A)("MuiDateTimePickerToolbar",["root","dateContainer","timeContainer","timeDigitsContainer","separator","timeLabelReverse","ampmSelection","ampmLandscape","ampmLabel"])},34174:(e,t,n)=>{"use strict";n.r(t),n.d(t,{DateTimePicker:()=>f,DateTimePickerTabs:()=>h.U,DateTimePickerToolbar:()=>g.l,dateTimePickerTabsClasses:()=>m.g,dateTimePickerToolbarClasses:()=>v.d});var r=n(57126),a=n(10793),o=n(96540),i=n(86819),s=n(98844),l=n(65658),u=n(42698),c=n(18903),d=n(74848);const p=["desktopModeMediaQuery"],f=o.forwardRef((function(e,t){const n=(0,s.A)({props:e,name:"MuiDateTimePicker"}),{desktopModeMediaQuery:o=c.jX}=n,f=(0,a.A)(n,p);return(0,i.A)(o,{defaultMatches:!0})?(0,d.jsx)(l.U,(0,r.A)({ref:t},f)):(0,d.jsx)(u.E,(0,r.A)({ref:t},f))}));var h=n(88554),m=n(26760),g=n(51555),v=n(37175)},46464:(e,t,n)=>{"use strict";n.d(t,{u:()=>d});var r=n(57126),a=n(96540),o=n(98844),i=n(45027),s=n(80916),l=n(88554),u=n(51555),c=n(53136);function d(e,t){const n=(0,i.hc)(),d=(0,i.Yg)(),p=(0,o.A)({props:e,name:t}),f=p.ampm??n.is12HourCycleInCurrentLocale(),h=a.useMemo((()=>null==p.localeText?.toolbarTitle?p.localeText:(0,r.A)({},p.localeText,{dateTimePickerToolbarTitle:p.localeText.toolbarTitle})),[p.localeText]);return(0,r.A)({},p,(0,c.R)({views:p.views,openTo:p.openTo,defaultViews:["year","day","hours","minutes"],defaultOpenTo:"day"}),{ampm:f,localeText:h,orientation:p.orientation??"portrait",disableIgnoringDatePartForTimeValidation:p.disableIgnoringDatePartForTimeValidation??Boolean(p.minDateTime||p.maxDateTime||p.disablePast||p.disableFuture),disableFuture:p.disableFuture??!1,disablePast:p.disablePast??!1,minDate:(0,s.IP)(n,p.minDateTime??p.minDate,d.minDate),maxDate:(0,s.IP)(n,p.maxDateTime??p.maxDate,d.maxDate),minTime:p.minDateTime??p.minTime,maxTime:p.maxDateTime??p.maxTime,slots:(0,r.A)({toolbar:u.l,tabs:l.U},p.slots),slotProps:(0,r.A)({},p.slotProps,{toolbar:(0,r.A)({ampm:f},p.slotProps?.toolbar)})})}},17522:(e,t,n)=>{"use strict";n.d(t,{T:()=>x});var r=n(57126),a=n(96540),o=n(8207),i=n.n(o),s=n(27442),l=n(61042),u=n(90383),c=n(17559),d=n(10950),p=n(45027),f=n(14385),h=n(41711),m=n(23852),g=n(71196),v=n(33262),y=n(66130),b=n(80916),w=n(69021);const x=a.forwardRef((function(e,t){const n=(0,d.b)(),a=(0,p.hc)(),o=(0,c.D)(e,"MuiDesktopDatePicker"),i=(0,r.A)({day:y.W,month:y.W,year:y.W},o.viewRenderers),l=(0,r.A)({},o,{viewRenderers:i,format:(0,b.Wq)(a,o,!1),yearsPerRow:o.yearsPerRow??4,slots:(0,r.A)({openPickerIcon:g.CT,field:v.v},o.slots),slotProps:(0,r.A)({},o.slotProps,{field:e=>(0,r.A)({},(0,s.A)(o.slotProps?.field,e),(0,f.zd)(o),{ref:t}),toolbar:(0,r.A)({hidden:!0},o.slotProps?.toolbar)})}),{renderPicker:x}=(0,m.U)({props:l,valueManager:u.W,valueType:"date",getOpenDialogAriaText:(0,w.z)({utils:a,formatKey:"fullDate",contextTranslation:n.openDatePickerDialogue,propsTranslation:l.localeText?.openDatePickerDialogue}),validator:h.Z});return x()}));x.propTypes={autoFocus:i().bool,className:i().string,closeOnSelect:i().bool,dayOfWeekFormatter:i().func,defaultValue:i().object,disabled:i().bool,disableFuture:i().bool,disableHighlightToday:i().bool,disableOpenPicker:i().bool,disablePast:i().bool,displayWeekNumber:i().bool,enableAccessibleFieldDOMStructure:i().any,fixedWeekNumber:i().number,format:i().string,formatDensity:i().oneOf(["dense","spacious"]),inputRef:l.A,label:i().node,loading:i().bool,localeText:i().object,maxDate:i().object,minDate:i().object,monthsPerRow:i().oneOf([3,4]),name:i().string,onAccept:i().func,onChange:i().func,onClose:i().func,onError:i().func,onMonthChange:i().func,onOpen:i().func,onSelectedSectionsChange:i().func,onViewChange:i().func,onYearChange:i().func,open:i().bool,openTo:i().oneOf(["day","month","year"]),orientation:i().oneOf(["landscape","portrait"]),readOnly:i().bool,reduceAnimations:i().bool,referenceDate:i().object,renderLoading:i().func,selectedSections:i().oneOfType([i().oneOf(["all","day","empty","hours","meridiem","minutes","month","seconds","weekDay","year"]),i().number]),shouldDisableDate:i().func,shouldDisableMonth:i().func,shouldDisableYear:i().func,showDaysOutsideCurrentMonth:i().bool,slotProps:i().object,slots:i().object,sx:i().oneOfType([i().arrayOf(i().oneOfType([i().func,i().object,i().bool])),i().func,i().object]),timezone:i().string,value:i().object,view:i().oneOf(["day","month","year"]),viewRenderers:i().shape({day:i().func,month:i().func,year:i().func}),views:i().arrayOf(i().oneOf(["day","month","year"]).isRequired),yearsOrder:i().oneOf(["asc","desc"]),yearsPerRow:i().oneOf([3,4])}},65658:(e,t,n)=>{"use strict";n.d(t,{U:()=>R});var r=n(57126),a=n(10793),o=n(96540),i=n(8207),s=n.n(i),l=n(27442),u=n(61042),c=n(71543),d=n(90383),p=n(76690),f=n(46464),h=n(66130),m=n(10950),g=n(45027),v=n(14385),y=n(64618),b=n(71196),w=n(23852),x=n(16356),S=n(24034),_=n(82470),A=n(24525),C=n(42330),T=n(36352),k=n(25221),E=n(35421),M=n(80916),P=n(69021),O=n(74848);const I=["openTo","focusedView","timeViewsCount"],D=function(e,t,n){const{openTo:i,focusedView:s,timeViewsCount:l}=n,u=(0,a.A)(n,I),d=(0,r.A)({},u,{focusedView:null,sx:[{[`&.${_.L.root}`]:{borderBottom:0},[`&.${_.L.root}, .${A.w.root}, &.${C.X.root}`]:{maxHeight:k.Y2}}]}),p=(0,E.Sq)(t);return(0,O.jsxs)(o.Fragment,{children:[e[p?"day":t]?.((0,r.A)({},n,{view:p?"day":t,focusedView:s&&(0,M.sC)(s)?s:null,views:n.views.filter(M.sC),sx:[{gridColumn:1},...d.sx]})),l>0&&(0,O.jsxs)(o.Fragment,{children:[(0,O.jsx)(c.A,{orientation:"vertical",sx:{gridColumn:2}}),e[p?t:"hours"]?.((0,r.A)({},d,{view:p?t:"hours",focusedView:s&&(0,E.Sq)(s)?s:null,openTo:(0,E.Sq)(i)?i:"hours",views:n.views.filter(E.Sq),sx:[{gridColumn:3},...d.sx]}))]})]})},R=o.forwardRef((function(e,t){const n=(0,m.b)(),a=(0,g.hc)(),o=(0,f.u)(e,"MuiDesktopDateTimePicker"),{shouldRenderTimeInASingleColumn:i,thresholdToRenderTimeInASingleColumn:s,views:u,timeSteps:c}=(0,x.H)(o),_=i?S.$W:S.$8,A=(0,r.A)({day:h.W,month:h.W,year:h.W,hours:_,minutes:_,seconds:_,meridiem:_},o.viewRenderers),C=o.ampmInClock??!0,k=A.hours?.name===S.$8.name?u:u.filter((e=>"meridiem"!==e)),E=i?[]:["accept"],M=(0,r.A)({},o,{viewRenderers:A,format:(0,x.J)(a,o),views:k,yearsPerRow:o.yearsPerRow??4,ampmInClock:C,timeSteps:c,thresholdToRenderTimeInASingleColumn:s,shouldRenderTimeInASingleColumn:i,slots:(0,r.A)({field:p.I,layout:T.U,openPickerIcon:b.CT},o.slots),slotProps:(0,r.A)({},o.slotProps,{field:e=>(0,r.A)({},(0,l.A)(o.slotProps?.field,e),(0,v.zd)(o),{ref:t}),toolbar:(0,r.A)({hidden:!0,ampmInClock:C,toolbarVariant:"desktop"},o.slotProps?.toolbar),tabs:(0,r.A)({hidden:!0},o.slotProps?.tabs),actionBar:e=>(0,r.A)({actions:E},(0,l.A)(o.slotProps?.actionBar,e))})}),{renderPicker:O}=(0,w.U)({props:M,valueManager:d.W,valueType:"date-time",getOpenDialogAriaText:(0,P.z)({utils:a,formatKey:"fullDate",contextTranslation:n.openDatePickerDialogue,propsTranslation:M.localeText?.openDatePickerDialogue}),validator:y.q,rendererInterceptor:D});return O()}));R.propTypes={ampm:s().bool,ampmInClock:s().bool,autoFocus:s().bool,className:s().string,closeOnSelect:s().bool,dayOfWeekFormatter:s().func,defaultValue:s().object,disabled:s().bool,disableFuture:s().bool,disableHighlightToday:s().bool,disableIgnoringDatePartForTimeValidation:s().bool,disableOpenPicker:s().bool,disablePast:s().bool,displayWeekNumber:s().bool,enableAccessibleFieldDOMStructure:s().any,fixedWeekNumber:s().number,format:s().string,formatDensity:s().oneOf(["dense","spacious"]),inputRef:u.A,label:s().node,loading:s().bool,localeText:s().object,maxDate:s().object,maxDateTime:s().object,maxTime:s().object,minDate:s().object,minDateTime:s().object,minTime:s().object,minutesStep:s().number,monthsPerRow:s().oneOf([3,4]),name:s().string,onAccept:s().func,onChange:s().func,onClose:s().func,onError:s().func,onMonthChange:s().func,onOpen:s().func,onSelectedSectionsChange:s().func,onViewChange:s().func,onYearChange:s().func,open:s().bool,openTo:s().oneOf(["day","hours","meridiem","minutes","month","seconds","year"]),orientation:s().oneOf(["landscape","portrait"]),readOnly:s().bool,reduceAnimations:s().bool,referenceDate:s().object,renderLoading:s().func,selectedSections:s().oneOfType([s().oneOf(["all","day","empty","hours","meridiem","minutes","month","seconds","weekDay","year"]),s().number]),shouldDisableDate:s().func,shouldDisableMonth:s().func,shouldDisableTime:s().func,shouldDisableYear:s().func,showDaysOutsideCurrentMonth:s().bool,skipDisabled:s().bool,slotProps:s().object,slots:s().object,sx:s().oneOfType([s().arrayOf(s().oneOfType([s().func,s().object,s().bool])),s().func,s().object]),thresholdToRenderTimeInASingleColumn:s().number,timeSteps:s().shape({hours:s().number,minutes:s().number,seconds:s().number}),timezone:s().string,value:s().object,view:s().oneOf(["day","hours","meridiem","minutes","month","seconds","year"]),viewRenderers:s().shape({day:s().func,hours:s().func,meridiem:s().func,minutes:s().func,month:s().func,seconds:s().func,year:s().func}),views:s().arrayOf(s().oneOf(["day","hours","minutes","month","seconds","year"]).isRequired),yearsOrder:s().oneOf(["asc","desc"]),yearsPerRow:s().oneOf([3,4])}},36352:(e,t,n)=>{"use strict";n.d(t,{U:()=>p});var r=n(57126),a=n(96540),o=n(34164),i=n(93944),s=n(71543),l=n(27596),u=n(3726),c=n(85636),d=n(74848);const p=a.forwardRef((function(e,t){const n=(0,i.I)(),{toolbar:a,tabs:p,content:f,actionBar:h,shortcuts:m}=(0,l.A)(e),{sx:g,className:v,isLandscape:y,classes:b}=e,w=h&&(h.props.actions?.length??0)>0,x=(0,r.A)({},e,{isRtl:n});return(0,d.jsxs)(u.Kr,{ref:t,className:(0,o.A)(v,c.k.root,b?.root),sx:[{[`& .${c.k.tabs}`]:{gridRow:4,gridColumn:"1 / 4"},[`& .${c.k.actionBar}`]:{gridRow:5}},...Array.isArray(g)?g:[g]],ownerState:x,children:[y?m:a,y?a:m,(0,d.jsxs)(u.IU,{className:(0,o.A)(c.k.contentWrapper,b?.contentWrapper),sx:{display:"grid"},children:[f,p,w&&(0,d.jsx)(s.A,{sx:{gridRow:3,gridColumn:"1 / 4"}})]}),h]})}))},94034:(e,t,n)=>{"use strict";n.d(t,{U:()=>S});var r=n(57126),a=n(96540),o=n(8207),i=n.n(o),s=n(27442),l=n(61042),u=n(90383),c=n(20442),d=n(45116),p=n(10950),f=n(45027),h=n(14385),m=n(99654),g=n(71196),v=n(23852),y=n(24034),b=n(35421),w=n(16356),x=n(69021);const S=a.forwardRef((function(e,t){const n=(0,p.b)(),a=(0,f.hc)(),o=(0,d.k)(e,"MuiDesktopTimePicker"),{shouldRenderTimeInASingleColumn:i,views:l,timeSteps:S}=(0,w.H)(o),_=i?y.$W:y.$8,A=(0,r.A)({hours:_,minutes:_,seconds:_,meridiem:_},o.viewRenderers),C=o.ampmInClock??!0,T=i?[]:["accept"],k=A.hours?.name===y.$8.name?l:l.filter((e=>"meridiem"!==e)),E=(0,r.A)({},o,{ampmInClock:C,timeSteps:S,viewRenderers:A,format:(0,b.b$)(a,o),views:i?["hours"]:k,slots:(0,r.A)({field:c.Q,openPickerIcon:g.O4},o.slots),slotProps:(0,r.A)({},o.slotProps,{field:e=>(0,r.A)({},(0,s.A)(o.slotProps?.field,e),(0,h.zd)(o),{ref:t}),toolbar:(0,r.A)({hidden:!0,ampmInClock:C},o.slotProps?.toolbar),actionBar:(0,r.A)({actions:T},o.slotProps?.actionBar)})}),{renderPicker:M}=(0,v.U)({props:E,valueManager:u.W,valueType:"time",getOpenDialogAriaText:(0,x.z)({utils:a,formatKey:"fullTime",contextTranslation:n.openTimePickerDialogue,propsTranslation:E.localeText?.openTimePickerDialogue}),validator:m.i});return M()}));S.propTypes={ampm:i().bool,ampmInClock:i().bool,autoFocus:i().bool,className:i().string,closeOnSelect:i().bool,defaultValue:i().object,disabled:i().bool,disableFuture:i().bool,disableIgnoringDatePartForTimeValidation:i().bool,disableOpenPicker:i().bool,disablePast:i().bool,enableAccessibleFieldDOMStructure:i().any,format:i().string,formatDensity:i().oneOf(["dense","spacious"]),inputRef:l.A,label:i().node,localeText:i().object,maxTime:i().object,minTime:i().object,minutesStep:i().number,name:i().string,onAccept:i().func,onChange:i().func,onClose:i().func,onError:i().func,onOpen:i().func,onSelectedSectionsChange:i().func,onViewChange:i().func,open:i().bool,openTo:i().oneOf(["hours","meridiem","minutes","seconds"]),orientation:i().oneOf(["landscape","portrait"]),readOnly:i().bool,reduceAnimations:i().bool,referenceDate:i().object,selectedSections:i().oneOfType([i().oneOf(["all","day","empty","hours","meridiem","minutes","month","seconds","weekDay","year"]),i().number]),shouldDisableTime:i().func,skipDisabled:i().bool,slotProps:i().object,slots:i().object,sx:i().oneOfType([i().arrayOf(i().oneOfType([i().func,i().object,i().bool])),i().func,i().object]),thresholdToRenderTimeInASingleColumn:i().number,timeSteps:i().shape({hours:i().number,minutes:i().number,seconds:i().number}),timezone:i().string,value:i().object,view:i().oneOf(["hours","meridiem","minutes","seconds"]),viewRenderers:i().shape({hours:i().func,meridiem:i().func,minutes:i().func,seconds:i().func}),views:i().arrayOf(i().oneOf(["hours","minutes","seconds"]).isRequired)}},52776:(e,t,n)=>{"use strict";n.d(t,{N:()=>O});var r=n(57126),a=n(10793),o=n(96540),i=n(34164),s=n(67389),l=n(11848),u=n(79739),c=n(98844),d=n(72236),p=n(38888),f=n(17681),h=n(88116),m=n(72463),g=n(10950),v=n(45027),y=n(35421),b=n(84022),w=n(42330),x=n(4780),S=n(25221),_=n(13016),A=n(90383),C=n(24215),T=n(74848);const k=["ampm","timeStep","autoFocus","slots","slotProps","value","defaultValue","referenceDate","disableIgnoringDatePartForTimeValidation","maxTime","minTime","disableFuture","disablePast","minutesStep","shouldDisableTime","onChange","view","openTo","onViewChange","focusedView","onFocusedViewChange","className","disabled","readOnly","views","skipDisabled","timezone"],E=(0,l.Ay)(b.I,{name:"MuiDigitalClock",slot:"Root",overridesResolver:(e,t)=>t.root})({overflowY:"auto",width:"100%","@media (prefers-reduced-motion: no-preference)":{scrollBehavior:"auto"},maxHeight:S.kP,variants:[{props:{alreadyRendered:!0},style:{"@media (prefers-reduced-motion: no-preference)":{scrollBehavior:"smooth"}}}]}),M=(0,l.Ay)(h.A,{name:"MuiDigitalClock",slot:"List",overridesResolver:(e,t)=>t.list})({padding:0}),P=(0,l.Ay)(f.A,{name:"MuiDigitalClock",slot:"Item",overridesResolver:(e,t)=>t.item})((({theme:e})=>({padding:"8px 16px",margin:"2px 4px","&:first-of-type":{marginTop:4},"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,u.X4)(e.palette.primary.main,e.palette.action.hoverOpacity)},"&.Mui-selected":{backgroundColor:(e.vars||e).palette.primary.main,color:(e.vars||e).palette.primary.contrastText,"&:focus-visible, &:hover":{backgroundColor:(e.vars||e).palette.primary.dark}},"&.Mui-focusVisible":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.focusOpacity})`:(0,u.X4)(e.palette.primary.main,e.palette.action.focusOpacity)}}))),O=o.forwardRef((function(e,t){const n=(0,v.hc)(),l=o.useRef(null),u=(0,m.A)(t,l),f=(0,c.A)({props:e,name:"MuiDigitalClock"}),{ampm:h=n.is12HourCycleInCurrentLocale(),timeStep:b=30,autoFocus:S,slots:O,slotProps:I,value:D,defaultValue:R,referenceDate:N,disableIgnoringDatePartForTimeValidation:L=!1,maxTime:$,minTime:j,disableFuture:F,disablePast:B,minutesStep:z=1,shouldDisableTime:W,onChange:V,view:U,openTo:H,onViewChange:q,focusedView:G,onFocusedViewChange:Y,className:X,disabled:K,readOnly:Q,views:Z=["hours"],skipDisabled:J=!1,timezone:ee}=f,te=(0,a.A)(f,k),{value:ne,handleValueChange:re,timezone:ae}=(0,_.Y)({name:"DigitalClock",timezone:ee,value:D,defaultValue:R,onChange:V,valueManager:A.W}),oe=(0,g.b)(),ie=(0,v.cB)(ae),se=o.useMemo((()=>(0,r.A)({},f,{alreadyRendered:!!l.current})),[f]),le=(e=>{const{classes:t}=e;return(0,p.A)({root:["root"],list:["list"],item:["item"]},w.L,t)})(se),ue=O?.digitalClockItem??P,ce=(0,s.A)({elementType:ue,externalSlotProps:I?.digitalClockItem,ownerState:{},className:le.item}),de=(0,C.T)({value:ne,referenceDate:N,utils:n,props:f,timezone:ae}),pe=(0,d.A)((e=>re(e,"finish","hours"))),{setValueAndGoToNextView:fe}=(0,x.o)({view:U,views:Z,openTo:H,onViewChange:q,onChange:pe,focusedView:G,onFocusedViewChange:Y}),he=(0,d.A)((e=>{fe(e,"finish")}));o.useEffect((()=>{if(null===l.current)return;const e=l.current.querySelector('[role="listbox"] [role="option"][tabindex="0"], [role="listbox"] [role="option"][aria-selected="true"]');if(!e)return;const t=e.offsetTop;(S||G)&&e.focus(),l.current.scrollTop=t-4}));const me=o.useCallback((e=>{const t=(0,y.iF)(L,n);return!!(j&&t(j,e)||$&&t(e,$)||F&&t(e,ie)||B&&t(ie,e))||!!(n.getMinutes(e)%z!=0||W&&W(e,"hours"))}),[L,n,j,$,F,ie,B,z,W]),ge=o.useMemo((()=>{const e=n.startOfDay(de);return[e,...Array.from({length:Math.ceil(1440/b)-1},((t,r)=>n.addMinutes(e,b*(r+1))))]}),[de,b,n]),ve=ge.findIndex((e=>n.isEqual(e,de)));return(0,T.jsx)(E,(0,r.A)({ref:u,className:(0,i.A)(le.root,X),ownerState:se},te,{children:(0,T.jsx)(M,{role:"listbox","aria-label":oe.timePickerToolbarTitle,className:le.list,children:ge.map(((e,t)=>{if(J&&me(e))return null;const a=n.isEqual(e,ne),o=n.format(e,h?"fullTime12h":"fullTime24h"),i=ve===t||-1===ve&&0===t?0:-1;return(0,T.jsx)(ue,(0,r.A)({onClick:()=>!Q&&he(e),selected:a,disabled:K||me(e),disableRipple:Q,role:"option","aria-disabled":Q,"aria-selected":a,tabIndex:i},ce,{children:o}),o)}))})}))}))},42330:(e,t,n)=>{"use strict";n.d(t,{L:()=>a,X:()=>o});var r=n(11245);function a(e){return(0,r.Ay)("MuiDigitalClock",e)}const o=(0,n(36306).A)("MuiDigitalClock",["root","list","item"])},72692:(e,t,n)=>{"use strict";n.d(t,{$:()=>c,F:()=>u});var r=n(57126),a=n(10793),o=n(96540),i=n(98844),s=n(74848);const l=["localeText"],u=o.createContext(null),c=function(e){const{localeText:t}=e,n=(0,a.A)(e,l),{utils:c,localeText:d}=o.useContext(u)??{utils:void 0,localeText:void 0},p=(0,i.A)({props:n,name:"MuiLocalizationProvider"}),{children:f,dateAdapter:h,dateFormats:m,dateLibInstance:g,adapterLocale:v,localeText:y}=p,b=o.useMemo((()=>(0,r.A)({},y,d,t)),[y,d,t]),w=o.useMemo((()=>{if(!h)return c||null;const e=new h({locale:v,formats:m,instance:g});if(!e.isMUIAdapter)throw new Error(["MUI X: The date adapter should be imported from `@mui/x-date-pickers` or `@mui/x-date-pickers-pro`, not from `@date-io`","For example, `import { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs'` instead of `import AdapterDayjs from '@date-io/dayjs'`","More information on the installation documentation: https://mui.com/x/react-date-pickers/getting-started/#installation"].join("\n"));return e}),[h,v,m,g,c]),x=o.useMemo((()=>w?{minDate:w.date("1900-01-01T00:00:00.000"),maxDate:w.date("2099-12-31T00:00:00.000")}:null),[w]),S=o.useMemo((()=>({utils:w,defaultDates:x,localeText:b})),[x,w,b]);return(0,s.jsx)(u.Provider,{value:S,children:f})}},64354:(e,t,n)=>{"use strict";n.r(t),n.d(t,{LocalizationProvider:()=>r.$,MuiPickersAdapterContext:()=>r.F});var r=n(72692)},12716:(e,t,n)=>{"use strict";n.d(t,{$:()=>w});var r=n(57126),a=n(96540),o=n(8207),i=n.n(o),s=n(27442),l=n(61042),u=n(71576),c=n(17559),d=n(10950),p=n(45027),f=n(14385),h=n(41711),m=n(33262),g=n(90383),v=n(66130),y=n(80916),b=n(69021);const w=a.forwardRef((function(e,t){const n=(0,d.b)(),a=(0,p.hc)(),o=(0,c.D)(e,"MuiMobileDatePicker"),i=(0,r.A)({day:v.W,month:v.W,year:v.W},o.viewRenderers),l=(0,r.A)({},o,{viewRenderers:i,format:(0,y.Wq)(a,o,!1),slots:(0,r.A)({field:m.v},o.slots),slotProps:(0,r.A)({},o.slotProps,{field:e=>(0,r.A)({},(0,s.A)(o.slotProps?.field,e),(0,f.zd)(o),{ref:t}),toolbar:(0,r.A)({hidden:!1},o.slotProps?.toolbar)})}),{renderPicker:w}=(0,u.C)({props:l,valueManager:g.W,valueType:"date",getOpenDialogAriaText:(0,b.z)({utils:a,formatKey:"fullDate",contextTranslation:n.openDatePickerDialogue,propsTranslation:l.localeText?.openDatePickerDialogue}),validator:h.Z});return w()}));w.propTypes={autoFocus:i().bool,className:i().string,closeOnSelect:i().bool,dayOfWeekFormatter:i().func,defaultValue:i().object,disabled:i().bool,disableFuture:i().bool,disableHighlightToday:i().bool,disableOpenPicker:i().bool,disablePast:i().bool,displayWeekNumber:i().bool,enableAccessibleFieldDOMStructure:i().any,fixedWeekNumber:i().number,format:i().string,formatDensity:i().oneOf(["dense","spacious"]),inputRef:l.A,label:i().node,loading:i().bool,localeText:i().object,maxDate:i().object,minDate:i().object,monthsPerRow:i().oneOf([3,4]),name:i().string,onAccept:i().func,onChange:i().func,onClose:i().func,onError:i().func,onMonthChange:i().func,onOpen:i().func,onSelectedSectionsChange:i().func,onViewChange:i().func,onYearChange:i().func,open:i().bool,openTo:i().oneOf(["day","month","year"]),orientation:i().oneOf(["landscape","portrait"]),readOnly:i().bool,reduceAnimations:i().bool,referenceDate:i().object,renderLoading:i().func,selectedSections:i().oneOfType([i().oneOf(["all","day","empty","hours","meridiem","minutes","month","seconds","weekDay","year"]),i().number]),shouldDisableDate:i().func,shouldDisableMonth:i().func,shouldDisableYear:i().func,showDaysOutsideCurrentMonth:i().bool,slotProps:i().object,slots:i().object,sx:i().oneOfType([i().arrayOf(i().oneOfType([i().func,i().object,i().bool])),i().func,i().object]),timezone:i().string,value:i().object,view:i().oneOf(["day","month","year"]),viewRenderers:i().shape({day:i().func,month:i().func,year:i().func}),views:i().arrayOf(i().oneOf(["day","month","year"]).isRequired),yearsOrder:i().oneOf(["asc","desc"]),yearsPerRow:i().oneOf([3,4])}},42698:(e,t,n)=>{"use strict";n.d(t,{E:()=>x});var r=n(57126),a=n(96540),o=n(8207),i=n.n(o),s=n(27442),l=n(61042),u=n(90383),c=n(76690),d=n(46464),p=n(10950),f=n(45027),h=n(14385),m=n(64618),g=n(71576),v=n(66130),y=n(24034),b=n(16356),w=n(69021);const x=a.forwardRef((function(e,t){const n=(0,p.b)(),a=(0,f.hc)(),o=(0,d.u)(e,"MuiMobileDateTimePicker"),i=(0,r.A)({day:v.W,month:v.W,year:v.W,hours:y.Zo,minutes:y.Zo,seconds:y.Zo},o.viewRenderers),l=o.ampmInClock??!1,x=(0,r.A)({},o,{viewRenderers:i,format:(0,b.J)(a,o),ampmInClock:l,slots:(0,r.A)({field:c.I},o.slots),slotProps:(0,r.A)({},o.slotProps,{field:e=>(0,r.A)({},(0,s.A)(o.slotProps?.field,e),(0,h.zd)(o),{ref:t}),toolbar:(0,r.A)({hidden:!1,ampmInClock:l},o.slotProps?.toolbar),tabs:(0,r.A)({hidden:!1},o.slotProps?.tabs)})}),{renderPicker:S}=(0,g.C)({props:x,valueManager:u.W,valueType:"date-time",getOpenDialogAriaText:(0,w.z)({utils:a,formatKey:"fullDate",contextTranslation:n.openDatePickerDialogue,propsTranslation:x.localeText?.openDatePickerDialogue}),validator:m.q});return S()}));x.propTypes={ampm:i().bool,ampmInClock:i().bool,autoFocus:i().bool,className:i().string,closeOnSelect:i().bool,dayOfWeekFormatter:i().func,defaultValue:i().object,disabled:i().bool,disableFuture:i().bool,disableHighlightToday:i().bool,disableIgnoringDatePartForTimeValidation:i().bool,disableOpenPicker:i().bool,disablePast:i().bool,displayWeekNumber:i().bool,enableAccessibleFieldDOMStructure:i().any,fixedWeekNumber:i().number,format:i().string,formatDensity:i().oneOf(["dense","spacious"]),inputRef:l.A,label:i().node,loading:i().bool,localeText:i().object,maxDate:i().object,maxDateTime:i().object,maxTime:i().object,minDate:i().object,minDateTime:i().object,minTime:i().object,minutesStep:i().number,monthsPerRow:i().oneOf([3,4]),name:i().string,onAccept:i().func,onChange:i().func,onClose:i().func,onError:i().func,onMonthChange:i().func,onOpen:i().func,onSelectedSectionsChange:i().func,onViewChange:i().func,onYearChange:i().func,open:i().bool,openTo:i().oneOf(["day","hours","minutes","month","seconds","year"]),orientation:i().oneOf(["landscape","portrait"]),readOnly:i().bool,reduceAnimations:i().bool,referenceDate:i().object,renderLoading:i().func,selectedSections:i().oneOfType([i().oneOf(["all","day","empty","hours","meridiem","minutes","month","seconds","weekDay","year"]),i().number]),shouldDisableDate:i().func,shouldDisableMonth:i().func,shouldDisableTime:i().func,shouldDisableYear:i().func,showDaysOutsideCurrentMonth:i().bool,slotProps:i().object,slots:i().object,sx:i().oneOfType([i().arrayOf(i().oneOfType([i().func,i().object,i().bool])),i().func,i().object]),timezone:i().string,value:i().object,view:i().oneOf(["day","hours","minutes","month","seconds","year"]),viewRenderers:i().shape({day:i().func,hours:i().func,minutes:i().func,month:i().func,seconds:i().func,year:i().func}),views:i().arrayOf(i().oneOf(["day","hours","minutes","month","seconds","year"]).isRequired),yearsOrder:i().oneOf(["asc","desc"]),yearsPerRow:i().oneOf([3,4])}},72098:(e,t,n)=>{"use strict";n.d(t,{o:()=>w});var r=n(57126),a=n(96540),o=n(8207),i=n.n(o),s=n(27442),l=n(61042),u=n(90383),c=n(20442),d=n(45116),p=n(10950),f=n(45027),h=n(14385),m=n(99654),g=n(71576),v=n(24034),y=n(35421),b=n(69021);const w=a.forwardRef((function(e,t){const n=(0,p.b)(),a=(0,f.hc)(),o=(0,d.k)(e,"MuiMobileTimePicker"),i=(0,r.A)({hours:v.Zo,minutes:v.Zo,seconds:v.Zo},o.viewRenderers),l=o.ampmInClock??!1,w=(0,r.A)({},o,{ampmInClock:l,viewRenderers:i,format:(0,y.b$)(a,o),slots:(0,r.A)({field:c.Q},o.slots),slotProps:(0,r.A)({},o.slotProps,{field:e=>(0,r.A)({},(0,s.A)(o.slotProps?.field,e),(0,h.zd)(o),{ref:t}),toolbar:(0,r.A)({hidden:!1,ampmInClock:l},o.slotProps?.toolbar)})}),{renderPicker:x}=(0,g.C)({props:w,valueManager:u.W,valueType:"time",getOpenDialogAriaText:(0,b.z)({utils:a,formatKey:"fullTime",contextTranslation:n.openTimePickerDialogue,propsTranslation:w.localeText?.openTimePickerDialogue}),validator:m.i});return x()}));w.propTypes={ampm:i().bool,ampmInClock:i().bool,autoFocus:i().bool,className:i().string,closeOnSelect:i().bool,defaultValue:i().object,disabled:i().bool,disableFuture:i().bool,disableIgnoringDatePartForTimeValidation:i().bool,disableOpenPicker:i().bool,disablePast:i().bool,enableAccessibleFieldDOMStructure:i().any,format:i().string,formatDensity:i().oneOf(["dense","spacious"]),inputRef:l.A,label:i().node,localeText:i().object,maxTime:i().object,minTime:i().object,minutesStep:i().number,name:i().string,onAccept:i().func,onChange:i().func,onClose:i().func,onError:i().func,onOpen:i().func,onSelectedSectionsChange:i().func,onViewChange:i().func,open:i().bool,openTo:i().oneOf(["hours","minutes","seconds"]),orientation:i().oneOf(["landscape","portrait"]),readOnly:i().bool,reduceAnimations:i().bool,referenceDate:i().object,selectedSections:i().oneOfType([i().oneOf(["all","day","empty","hours","meridiem","minutes","month","seconds","weekDay","year"]),i().number]),shouldDisableTime:i().func,slotProps:i().object,slots:i().object,sx:i().oneOfType([i().arrayOf(i().oneOfType([i().func,i().object,i().bool])),i().func,i().object]),timezone:i().string,value:i().object,view:i().oneOf(["hours","minutes","seconds"]),viewRenderers:i().shape({hours:i().func,minutes:i().func,seconds:i().func}),views:i().arrayOf(i().oneOf(["hours","minutes","seconds"]).isRequired)}},75631:(e,t,n)=>{"use strict";n.d(t,{T:()=>O});var r=n(10793),a=n(57126),o=n(96540),i=n(34164),s=n(93944),l=n(98844),u=n(11848),c=n(38888),d=n(85202),p=n(72236),f=n(79739),h=n(67389),m=n(17862),g=n(38751),v=n(74848);const y=["autoFocus","className","children","disabled","selected","value","tabIndex","onClick","onKeyDown","onFocus","onBlur","aria-current","aria-label","monthsPerRow","slots","slotProps"],b=(0,u.Ay)("div",{name:"MuiPickersMonth",slot:"Root",overridesResolver:(e,t)=>[t.root]})({display:"flex",alignItems:"center",justifyContent:"center",flexBasis:"33.3%",variants:[{props:{monthsPerRow:4},style:{flexBasis:"25%"}}]}),w=(0,u.Ay)("button",{name:"MuiPickersMonth",slot:"MonthButton",overridesResolver:(e,t)=>[t.monthButton,{[`&.${g.m.disabled}`]:t.disabled},{[`&.${g.m.selected}`]:t.selected}]})((({theme:e})=>(0,a.A)({color:"unset",backgroundColor:"transparent",border:0,outline:0},e.typography.subtitle1,{margin:"8px 0",height:36,width:72,borderRadius:18,cursor:"pointer","&:focus":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,f.X4)(e.palette.action.active,e.palette.action.hoverOpacity)},"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,f.X4)(e.palette.action.active,e.palette.action.hoverOpacity)},"&:disabled":{cursor:"auto",pointerEvents:"none"},[`&.${g.m.disabled}`]:{color:(e.vars||e).palette.text.secondary},[`&.${g.m.selected}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.main,"&:focus, &:hover":{backgroundColor:(e.vars||e).palette.primary.dark}}}))),x=o.memo((function(e){const t=(0,l.A)({props:e,name:"MuiPickersMonth"}),{autoFocus:n,className:s,children:u,disabled:d,selected:p,value:f,tabIndex:x,onClick:S,onKeyDown:_,onFocus:A,onBlur:C,"aria-current":T,"aria-label":k,slots:E,slotProps:M}=t,P=(0,r.A)(t,y),O=o.useRef(null),I=(e=>{const{disabled:t,selected:n,classes:r}=e,a={root:["root"],monthButton:["monthButton",t&&"disabled",n&&"selected"]};return(0,c.A)(a,g.k,r)})(t);(0,m.A)((()=>{n&&O.current?.focus()}),[n]);const D=E?.monthButton??w,R=(0,h.A)({elementType:D,externalSlotProps:M?.monthButton,additionalProps:{children:u,disabled:d,tabIndex:x,ref:O,type:"button",role:"radio","aria-current":T,"aria-checked":p,"aria-label":k,onClick:e=>S(e,f),onKeyDown:e=>_(e,f),onFocus:e=>A(e,f),onBlur:e=>C(e,f)},ownerState:t,className:I.monthButton});return(0,v.jsx)(b,(0,a.A)({className:(0,i.A)(I.root,s),ownerState:t},P,{children:(0,v.jsx)(D,(0,a.A)({},R))}))}));var S=n(45027),_=n(45200),A=n(80916),C=n(90383),T=n(92824),k=n(13016),E=n(25221);const M=["className","value","defaultValue","referenceDate","disabled","disableFuture","disablePast","maxDate","minDate","onChange","shouldDisableMonth","readOnly","disableHighlightToday","autoFocus","onMonthFocus","hasFocus","onFocusedViewChange","monthsPerRow","timezone","gridLabelId","slots","slotProps"],P=(0,u.Ay)("div",{name:"MuiMonthCalendar",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"flex",flexWrap:"wrap",alignContent:"stretch",padding:"0 4px",width:E.eX,boxSizing:"border-box"}),O=o.forwardRef((function(e,t){const n=function(e,t){const n=(0,S.hc)(),r=(0,S.Yg)(),o=(0,l.A)({props:e,name:"MuiMonthCalendar"});return(0,a.A)({disableFuture:!1,disablePast:!1},o,{minDate:(0,A.IP)(n,o.minDate,r.minDate),maxDate:(0,A.IP)(n,o.maxDate,r.maxDate)})}(e),{className:u,value:f,defaultValue:h,referenceDate:m,disabled:g,disableFuture:y,disablePast:b,maxDate:w,minDate:E,onChange:O,shouldDisableMonth:I,readOnly:D,autoFocus:R=!1,onMonthFocus:N,hasFocus:L,onFocusedViewChange:$,monthsPerRow:j=3,timezone:F,gridLabelId:B,slots:z,slotProps:W}=n,V=(0,r.A)(n,M),{value:U,handleValueChange:H,timezone:q}=(0,k.Y)({name:"MonthCalendar",timezone:F,value:f,defaultValue:h,onChange:O,valueManager:C.W}),G=(0,S.cB)(q),Y=(0,s.I)(),X=(0,S.hc)(),K=o.useMemo((()=>C.W.getInitialReferenceValue({value:U,utils:X,props:n,timezone:q,referenceDate:m,granularity:T.yX.month})),[]),Q=n,Z=(e=>{const{classes:t}=e;return(0,c.A)({root:["root"]},_.x,t)})(Q),J=o.useMemo((()=>X.getMonth(G)),[X,G]),ee=o.useMemo((()=>null!=U?X.getMonth(U):null),[U,X]),[te,ne]=o.useState((()=>ee||X.getMonth(K))),[re,ae]=(0,d.A)({name:"MonthCalendar",state:"hasFocus",controlled:L,default:R??!1}),oe=(0,p.A)((e=>{ae(e),$&&$(e)})),ie=o.useCallback((e=>{const t=X.startOfMonth(b&&X.isAfter(G,E)?G:E),n=X.startOfMonth(y&&X.isBefore(G,w)?G:w),r=X.startOfMonth(e);return!!X.isBefore(r,t)||!!X.isAfter(r,n)||!!I&&I(r)}),[y,b,w,E,G,I,X]),se=(0,p.A)(((e,t)=>{if(D)return;const n=X.setMonth(U??K,t);H(n)})),le=(0,p.A)((e=>{ie(X.setMonth(U??K,e))||(ne(e),oe(!0),N&&N(e))}));o.useEffect((()=>{ne((e=>null!==ee&&e!==ee?ee:e))}),[ee]);const ue=(0,p.A)(((e,t)=>{const n=12;switch(e.key){case"ArrowUp":le((n+t-3)%n),e.preventDefault();break;case"ArrowDown":le((n+t+3)%n),e.preventDefault();break;case"ArrowLeft":le((n+t+(Y?1:-1))%n),e.preventDefault();break;case"ArrowRight":le((n+t+(Y?-1:1))%n),e.preventDefault()}})),ce=(0,p.A)(((e,t)=>{le(t)})),de=(0,p.A)(((e,t)=>{te===t&&oe(!1)}));return(0,v.jsx)(P,(0,a.A)({ref:t,className:(0,i.A)(Z.root,u),ownerState:Q,role:"radiogroup","aria-labelledby":B},V,{children:(0,A.YQ)(X,U??K).map((e=>{const t=X.getMonth(e),n=X.format(e,"monthShort"),r=X.format(e,"month"),a=t===ee,o=g||ie(e);return(0,v.jsx)(x,{selected:a,value:t,onClick:se,onKeyDown:ue,autoFocus:re&&t===te,disabled:o,tabIndex:t!==te||o?-1:0,onFocus:ce,onBlur:de,"aria-current":J===t?"date":void 0,"aria-label":r,monthsPerRow:j,slots:z,slotProps:W,children:n},n)}))}))}))},45200:(e,t,n)=>{"use strict";n.d(t,{b:()=>o,x:()=>a});var r=n(11245);function a(e){return(0,r.Ay)("MuiMonthCalendar",e)}const o=(0,n(36306).A)("MuiMonthCalendar",["root"])},38751:(e,t,n)=>{"use strict";n.d(t,{k:()=>a,m:()=>o});var r=n(11245);function a(e){return(0,r.Ay)("MuiPickersMonth",e)}const o=(0,n(36306).A)("MuiPickersMonth",["root","monthButton","disabled","selected"])},41268:(e,t,n)=>{"use strict";n.d(t,{z:()=>j});var r=n(57126),a=n(10793),o=n(96540),i=n(34164),s=n(93944),l=n(11848),u=n(98844),c=n(72236),d=n(38888),p=n(10950),f=n(45027),h=n(35421),m=n(4780),g=n(14254),v=n(84022),y=n(82470),b=n(79739),w=n(88116),x=n(17681),S=n(72463),_=n(24525),A=n(25221),C=n(74848);const T=["autoFocus","onChange","className","disabled","readOnly","items","active","slots","slotProps","skipDisabled"],k=(0,l.Ay)(w.A,{name:"MuiMultiSectionDigitalClockSection",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({maxHeight:A.kP,width:56,padding:0,overflow:"hidden","@media (prefers-reduced-motion: no-preference)":{scrollBehavior:"auto"},"@media (pointer: fine)":{"&:hover":{overflowY:"auto"}},"@media (pointer: none), (pointer: coarse)":{overflowY:"auto"},"&:not(:first-of-type)":{borderLeft:`1px solid ${(e.vars||e).palette.divider}`},"&::after":{display:"block",content:'""',height:"calc(100% - 40px - 6px)"},variants:[{props:{alreadyRendered:!0},style:{"@media (prefers-reduced-motion: no-preference)":{scrollBehavior:"smooth"}}}]}))),E=(0,l.Ay)(x.A,{name:"MuiMultiSectionDigitalClockSection",slot:"Item",overridesResolver:(e,t)=>t.item})((({theme:e})=>({padding:8,margin:"2px 4px",width:A.aG,justifyContent:"center","&:first-of-type":{marginTop:4},"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,b.X4)(e.palette.primary.main,e.palette.action.hoverOpacity)},"&.Mui-selected":{backgroundColor:(e.vars||e).palette.primary.main,color:(e.vars||e).palette.primary.contrastText,"&:focus-visible, &:hover":{backgroundColor:(e.vars||e).palette.primary.dark}},"&.Mui-focusVisible":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.focusOpacity})`:(0,b.X4)(e.palette.primary.main,e.palette.action.focusOpacity)}}))),M=o.forwardRef((function(e,t){const n=o.useRef(null),s=(0,S.A)(t,n),l=o.useRef(null),c=(0,u.A)({props:e,name:"MuiMultiSectionDigitalClockSection"}),{autoFocus:p,onChange:f,className:h,disabled:m,readOnly:g,items:v,active:y,slots:b,slotProps:w,skipDisabled:x}=c,A=(0,a.A)(c,T),M=o.useMemo((()=>(0,r.A)({},c,{alreadyRendered:!!n.current})),[c]),P=(e=>{const{classes:t}=e;return(0,d.A)({root:["root"],item:["item"]},_.K,t)})(M),O=b?.digitalClockSectionItem??E;o.useEffect((()=>{if(null===n.current)return;const e=n.current.querySelector('[role="option"][tabindex="0"], [role="option"][aria-selected="true"]');if(y&&p&&e&&e.focus(),!e||l.current===e)return;l.current=e;const t=e.offsetTop;n.current.scrollTop=t-4}));const I=v.findIndex((e=>e.isFocused(e.value)));return(0,C.jsx)(k,(0,r.A)({ref:s,className:(0,i.A)(P.root,h),ownerState:M,autoFocusItem:p&&y,role:"listbox"},A,{children:v.map(((e,t)=>{const n=e.isDisabled?.(e.value),a=m||n;if(x&&a)return null;const o=e.isSelected(e.value),i=I===t||-1===I&&0===t?0:-1;return(0,C.jsx)(O,(0,r.A)({onClick:()=>!g&&f(e.value),selected:o,disabled:a,disableRipple:g,role:"option","aria-disabled":g||a||void 0,"aria-label":e.ariaLabel,"aria-selected":o,tabIndex:i,className:P.item},w?.digitalClockSectionItem,{children:e.label}),e.label)}))}))})),P=({now:e,value:t,utils:n,ampm:r,isDisabled:a,resolveAriaLabel:o,timeStep:i,valueOrReferenceDate:s})=>{const l=t?n.getHours(t):null,u=[],c=(e,t)=>{const n=t??l;return null!==n&&(r?12===e?12===n||0===n:n===e||n-12===e:n===e)},d=e=>c(e,n.getHours(s)),p=r?11:23;for(let t=0;t<=p;t+=i){let i=n.format(n.setHours(e,t),r?"hours12h":"hours24h");const s=o(parseInt(i,10).toString());i=n.formatNumber(i),u.push({value:t,label:i,isSelected:c,isDisabled:a,isFocused:d,ariaLabel:s})}return u},O=({value:e,utils:t,isDisabled:n,timeStep:r,resolveLabel:a,resolveAriaLabel:o,hasValue:i=!0})=>{const s=t=>null!==e&&i&&e===t,l=t=>e===t;return[...Array.from({length:Math.ceil(60/r)},((e,i)=>{const u=r*i;return{value:u,label:t.formatNumber(a(u)),isDisabled:n,isSelected:s,isFocused:l,ariaLabel:o(u.toString())}}))]};var I=n(13016),D=n(90383),R=n(24215),N=n(80916);const L=["ampm","timeSteps","autoFocus","slots","slotProps","value","defaultValue","referenceDate","disableIgnoringDatePartForTimeValidation","maxTime","minTime","disableFuture","disablePast","minutesStep","shouldDisableTime","onChange","view","views","openTo","onViewChange","focusedView","onFocusedViewChange","className","disabled","readOnly","skipDisabled","timezone"],$=(0,l.Ay)(v.I,{name:"MuiMultiSectionDigitalClock",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({display:"flex",flexDirection:"row",width:"100%",borderBottom:`1px solid ${(e.vars||e).palette.divider}`}))),j=o.forwardRef((function(e,t){const n=(0,f.hc)(),l=(0,s.I)(),v=(0,u.A)({props:e,name:"MuiMultiSectionDigitalClock"}),{ampm:b=n.is12HourCycleInCurrentLocale(),timeSteps:w,autoFocus:x,slots:S,slotProps:_,value:A,defaultValue:T,referenceDate:k,disableIgnoringDatePartForTimeValidation:E=!1,maxTime:j,minTime:F,disableFuture:B,disablePast:z,minutesStep:W=1,shouldDisableTime:V,onChange:U,view:H,views:q=["hours","minutes"],openTo:G,onViewChange:Y,focusedView:X,onFocusedViewChange:K,className:Q,disabled:Z,readOnly:J,skipDisabled:ee=!1,timezone:te}=v,ne=(0,a.A)(v,L),{value:re,handleValueChange:ae,timezone:oe}=(0,I.Y)({name:"MultiSectionDigitalClock",timezone:te,value:A,defaultValue:T,onChange:U,valueManager:D.W}),ie=(0,p.b)(),se=(0,f.cB)(oe),le=o.useMemo((()=>(0,r.A)({hours:1,minutes:5,seconds:5},w)),[w]),ue=(0,R.T)({value:re,referenceDate:k,utils:n,props:v,timezone:oe}),ce=(0,c.A)(((e,t,n)=>ae(e,t,n))),de=o.useMemo((()=>b&&q.includes("hours")?q.includes("meridiem")?q:[...q,"meridiem"]:q),[b,q]),{view:pe,setValueAndGoToNextView:fe,focusedView:he}=(0,m.o)({view:H,views:de,openTo:G,onViewChange:Y,onChange:ce,focusedView:X,onFocusedViewChange:K}),me=(0,c.A)((e=>{fe(e,"finish","meridiem")})),{meridiemMode:ge,handleMeridiemChange:ve}=(0,g.r7)(ue,b,me,"finish"),ye=o.useCallback(((e,t)=>{const r=(0,h.iF)(E,n),a="hours"===t||"minutes"===t&&de.includes("seconds"),o=({start:e,end:t})=>!(F&&r(F,t)||j&&r(e,j)||B&&r(e,se)||z&&r(se,a?t:e)),i=(e,r=1)=>{if(e%r!=0)return!1;if(V)switch(t){case"hours":return!V(n.setHours(ue,e),"hours");case"minutes":return!V(n.setMinutes(ue,e),"minutes");case"seconds":return!V(n.setSeconds(ue,e),"seconds");default:return!1}return!0};switch(t){case"hours":{const t=(0,h.gY)(e,ge,b),r=n.setHours(ue,t);return!o({start:n.setSeconds(n.setMinutes(r,0),0),end:n.setSeconds(n.setMinutes(r,59),59)})||!i(t)}case"minutes":{const t=n.setMinutes(ue,e);return!o({start:n.setSeconds(t,0),end:n.setSeconds(t,59)})||!i(e,W)}case"seconds":{const t=n.setSeconds(ue,e);return!o({start:t,end:t})||!i(e)}default:throw new Error("not supported")}}),[b,ue,E,j,ge,F,W,V,n,B,z,se,de]),be=o.useCallback((e=>{switch(e){case"hours":return{onChange:e=>{const t=(0,h.gY)(e,ge,b);fe(n.setHours(ue,t),"finish","hours")},items:P({now:se,value:re,ampm:b,utils:n,isDisabled:e=>ye(e,"hours"),timeStep:le.hours,resolveAriaLabel:ie.hoursClockNumberText,valueOrReferenceDate:ue})};case"minutes":return{onChange:e=>{fe(n.setMinutes(ue,e),"finish","minutes")},items:O({value:n.getMinutes(ue),utils:n,isDisabled:e=>ye(e,"minutes"),resolveLabel:e=>n.format(n.setMinutes(se,e),"minutes"),timeStep:le.minutes,hasValue:!!re,resolveAriaLabel:ie.minutesClockNumberText})};case"seconds":return{onChange:e=>{fe(n.setSeconds(ue,e),"finish","seconds")},items:O({value:n.getSeconds(ue),utils:n,isDisabled:e=>ye(e,"seconds"),resolveLabel:e=>n.format(n.setSeconds(se,e),"seconds"),timeStep:le.seconds,hasValue:!!re,resolveAriaLabel:ie.secondsClockNumberText})};case"meridiem":{const e=(0,N._S)(n,"am"),t=(0,N._S)(n,"pm");return{onChange:ve,items:[{value:"am",label:e,isSelected:()=>!!re&&"am"===ge,isFocused:()=>!!ue&&"am"===ge,ariaLabel:e},{value:"pm",label:t,isSelected:()=>!!re&&"pm"===ge,isFocused:()=>!!ue&&"pm"===ge,ariaLabel:t}]}}default:throw new Error(`Unknown view: ${e} found.`)}}),[se,re,b,n,le.hours,le.minutes,le.seconds,ie.hoursClockNumberText,ie.minutesClockNumberText,ie.secondsClockNumberText,ge,fe,ue,ye,ve]),we=o.useMemo((()=>{if(!l)return de;const e=de.filter((e=>"meridiem"!==e));return e.reverse(),de.includes("meridiem")&&e.push("meridiem"),e}),[l,de]),xe=o.useMemo((()=>de.reduce(((e,t)=>(0,r.A)({},e,{[t]:be(t)})),{})),[de,be]),Se=v,_e=(e=>{const{classes:t}=e;return(0,d.A)({root:["root"]},y.h,t)})(Se);return(0,C.jsx)($,(0,r.A)({ref:t,className:(0,i.A)(_e.root,Q),ownerState:Se,role:"group"},ne,{children:we.map((e=>(0,C.jsx)(M,{items:xe[e].items,onChange:xe[e].onChange,active:pe===e,autoFocus:x??he===e,disabled:Z,readOnly:J,slots:S,slotProps:_,skipDisabled:ee,"aria-label":ie.selectViewText(e)},e)))}))}))},82470:(e,t,n)=>{"use strict";n.d(t,{L:()=>o,h:()=>a});var r=n(11245);function a(e){return(0,r.Ay)("MuiMultiSectionDigitalClock",e)}const o=(0,n(36306).A)("MuiMultiSectionDigitalClock",["root"])},24525:(e,t,n)=>{"use strict";n.d(t,{K:()=>a,w:()=>o});var r=n(11245);function a(e){return(0,r.Ay)("MuiMultiSectionDigitalClockSection",e)}const o=(0,n(36306).A)("MuiMultiSectionDigitalClockSection",["root","item"])},61952:(e,t,n)=>{"use strict";n.d(t,{L:()=>c});var r=n(57126),a=n(10793),o=(n(96540),n(84798)),i=n(37071),s=n(10950),l=n(74848);const u=["onAccept","onClear","onCancel","onSetToday","actions"];function c(e){const{onAccept:t,onClear:n,onCancel:c,onSetToday:d,actions:p}=e,f=(0,a.A)(e,u),h=(0,s.b)();if(null==p||0===p.length)return null;const m=p?.map((e=>{switch(e){case"clear":return(0,l.jsx)(o.A,{onClick:n,children:h.clearButtonLabel},e);case"cancel":return(0,l.jsx)(o.A,{onClick:c,children:h.cancelButtonLabel},e);case"accept":return(0,l.jsx)(o.A,{onClick:t,children:h.okButtonLabel},e);case"today":return(0,l.jsx)(o.A,{onClick:d,children:h.todayButtonLabel},e);default:return null}}));return(0,l.jsx)(i.A,(0,r.A)({},f,{children:m}))}},51650:(e,t,n)=>{"use strict";n.d(t,{V:()=>E});var r=n(10793),a=n(57126),o=n(96540),i=n(34164),s=n(20973),l=n(11848),u=n(98844),c=n(67389),d=n(38888),p=n(19455),f=n(10950),h=n(45027),m=n(52319),g=n(71196),v=n(83976),y=n(14254),b=n(56192),w=n(74848);const x=["slots","slotProps","currentMonth","disabled","disableFuture","disablePast","maxDate","minDate","onMonthChange","onViewChange","view","reduceAnimations","views","labelId","className","timezone","format"],S=["ownerState"],_=(0,l.Ay)("div",{name:"MuiPickersCalendarHeader",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"flex",alignItems:"center",marginTop:12,marginBottom:4,paddingLeft:24,paddingRight:12,maxHeight:40,minHeight:40}),A=(0,l.Ay)("div",{name:"MuiPickersCalendarHeader",slot:"LabelContainer",overridesResolver:(e,t)=>t.labelContainer})((({theme:e})=>(0,a.A)({display:"flex",overflow:"hidden",alignItems:"center",cursor:"pointer",marginRight:"auto"},e.typography.body1,{fontWeight:e.typography.fontWeightMedium}))),C=(0,l.Ay)("div",{name:"MuiPickersCalendarHeader",slot:"Label",overridesResolver:(e,t)=>t.label})({marginRight:6}),T=(0,l.Ay)(p.A,{name:"MuiPickersCalendarHeader",slot:"SwitchViewButton",overridesResolver:(e,t)=>t.switchViewButton})({marginRight:"auto",variants:[{props:{view:"year"},style:{[`.${b.H.switchViewIcon}`]:{transform:"rotate(180deg)"}}}]}),k=(0,l.Ay)(g.iV,{name:"MuiPickersCalendarHeader",slot:"SwitchViewIcon",overridesResolver:(e,t)=>t.switchViewIcon})((({theme:e})=>({willChange:"transform",transition:e.transitions.create("transform"),transform:"rotate(0deg)"}))),E=o.forwardRef((function(e,t){const n=(0,f.b)(),o=(0,h.hc)(),l=(0,u.A)({props:e,name:"MuiPickersCalendarHeader"}),{slots:p,slotProps:g,currentMonth:E,disabled:M,disableFuture:P,disablePast:O,maxDate:I,minDate:D,onMonthChange:R,onViewChange:N,view:L,reduceAnimations:$,views:j,labelId:F,className:B,timezone:z,format:W=`${o.formats.month} ${o.formats.year}`}=l,V=(0,r.A)(l,x),U=l,H=(e=>{const{classes:t}=e;return(0,d.A)({root:["root"],labelContainer:["labelContainer"],label:["label"],switchViewButton:["switchViewButton"],switchViewIcon:["switchViewIcon"]},b.T,t)})(l),q=p?.switchViewButton??T,G=(0,c.A)({elementType:q,externalSlotProps:g?.switchViewButton,additionalProps:{size:"small","aria-label":n.calendarViewSwitchingButtonAriaLabel(L)},ownerState:U,className:H.switchViewButton}),Y=p?.switchViewIcon??k,X=(0,c.A)({elementType:Y,externalSlotProps:g?.switchViewIcon,ownerState:U,className:H.switchViewIcon}),K=(0,r.A)(X,S),Q=(0,y.bH)(E,{disableFuture:P,maxDate:I,timezone:z}),Z=(0,y.p_)(E,{disablePast:O,minDate:D,timezone:z});if(1===j.length&&"year"===j[0])return null;const J=o.formatByString(E,W);return(0,w.jsxs)(_,(0,a.A)({},V,{ownerState:U,className:(0,i.A)(B,H.root),ref:t,children:[(0,w.jsxs)(A,{role:"presentation",onClick:()=>{if(1!==j.length&&N&&!M)if(2===j.length)N(j.find((e=>e!==L))||j[0]);else{const e=0!==j.indexOf(L)?0:1;N(j[e])}},ownerState:U,"aria-live":"polite",className:H.labelContainer,children:[(0,w.jsx)(m.g,{reduceAnimations:$,transKey:J,children:(0,w.jsx)(C,{id:F,ownerState:U,className:H.label,children:J})}),j.length>1&&!M&&(0,w.jsx)(q,(0,a.A)({},G,{children:(0,w.jsx)(Y,(0,a.A)({},K))}))]}),(0,w.jsx)(s.A,{in:"day"===L,children:(0,w.jsx)(v.Y,{slots:p,slotProps:g,onGoToPrevious:()=>R(o.addMonths(E,-1),"right"),isPreviousDisabled:Z,previousLabel:n.previousMonth,onGoToNext:()=>R(o.addMonths(E,1),"left"),isNextDisabled:Q,nextLabel:n.nextMonth})})]}))}))},56192:(e,t,n)=>{"use strict";n.d(t,{H:()=>i,T:()=>o});var r=n(11245),a=n(36306);const o=e=>(0,r.Ay)("MuiPickersCalendarHeader",e),i=(0,a.A)("MuiPickersCalendarHeader",["root","labelContainer","label","switchViewButton","switchViewIcon"])},71922:(e,t,n)=>{"use strict";n.d(t,{a:()=>C});var r=n(10793),a=n(57126),o=n(96540),i=n(34164),s=n(80189),l=n(38888),u=n(72463),c=n(17862),d=n(79739),p=n(11848),f=n(98844),h=n(45027),m=n(25221),g=n(62288),v=n(74848);const y=["autoFocus","className","day","disabled","disableHighlightToday","disableMargin","hidden","isAnimating","onClick","onDaySelect","onFocus","onBlur","onKeyDown","onMouseDown","onMouseEnter","outsideCurrentMonth","selected","showDaysOutsideCurrentMonth","children","today","isFirstVisibleCell","isLastVisibleCell"],b=({theme:e})=>(0,a.A)({},e.typography.caption,{width:m.B3,height:m.B3,borderRadius:"50%",padding:0,backgroundColor:"transparent",transition:e.transitions.create("background-color",{duration:e.transitions.duration.short}),color:(e.vars||e).palette.text.primary,"@media (pointer: fine)":{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,d.X4)(e.palette.primary.main,e.palette.action.hoverOpacity)}},"&:focus":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.focusOpacity})`:(0,d.X4)(e.palette.primary.main,e.palette.action.focusOpacity),[`&.${g.Q.selected}`]:{willChange:"background-color",backgroundColor:(e.vars||e).palette.primary.dark}},[`&.${g.Q.selected}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.main,fontWeight:e.typography.fontWeightMedium,"&:hover":{willChange:"background-color",backgroundColor:(e.vars||e).palette.primary.dark}},[`&.${g.Q.disabled}:not(.${g.Q.selected})`]:{color:(e.vars||e).palette.text.disabled},[`&.${g.Q.disabled}&.${g.Q.selected}`]:{opacity:.6},variants:[{props:{disableMargin:!1},style:{margin:`0 ${m.y0}px`}},{props:{outsideCurrentMonth:!0,showDaysOutsideCurrentMonth:!0},style:{color:(e.vars||e).palette.text.secondary}},{props:{disableHighlightToday:!1,today:!0},style:{[`&:not(.${g.Q.selected})`]:{border:`1px solid ${(e.vars||e).palette.text.secondary}`}}}]}),w=(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableMargin&&t.dayWithMargin,!n.disableHighlightToday&&n.today&&t.today,!n.outsideCurrentMonth&&n.showDaysOutsideCurrentMonth&&t.dayOutsideMonth,n.outsideCurrentMonth&&!n.showDaysOutsideCurrentMonth&&t.hiddenDaySpacingFiller]},x=(0,p.Ay)(s.A,{name:"MuiPickersDay",slot:"Root",overridesResolver:w})(b),S=(0,p.Ay)("div",{name:"MuiPickersDay",slot:"Root",overridesResolver:w})((({theme:e})=>(0,a.A)({},b({theme:e}),{opacity:0,pointerEvents:"none"}))),_=()=>{},A=o.forwardRef((function(e,t){const n=(0,f.A)({props:e,name:"MuiPickersDay"}),{autoFocus:s=!1,className:d,day:p,disabled:m=!1,disableHighlightToday:b=!1,disableMargin:w=!1,isAnimating:A,onClick:C,onDaySelect:T,onFocus:k=_,onBlur:E=_,onKeyDown:M=_,onMouseDown:P=_,onMouseEnter:O=_,outsideCurrentMonth:I,selected:D=!1,showDaysOutsideCurrentMonth:R=!1,children:N,today:L=!1}=n,$=(0,r.A)(n,y),j=(0,a.A)({},n,{autoFocus:s,disabled:m,disableHighlightToday:b,disableMargin:w,selected:D,showDaysOutsideCurrentMonth:R,today:L}),F=(e=>{const{selected:t,disableMargin:n,disableHighlightToday:r,today:a,disabled:o,outsideCurrentMonth:i,showDaysOutsideCurrentMonth:s,classes:u}=e,c=i&&!s,d={root:["root",t&&!c&&"selected",o&&"disabled",!n&&"dayWithMargin",!r&&a&&"today",i&&s&&"dayOutsideMonth",c&&"hiddenDaySpacingFiller"],hiddenDaySpacingFiller:["hiddenDaySpacingFiller"]};return(0,l.A)(d,g.m,u)})(j),B=(0,h.hc)(),z=o.useRef(null),W=(0,u.A)(z,t);return(0,c.A)((()=>{!s||m||A||I||z.current.focus()}),[s,m,A,I]),I&&!R?(0,v.jsx)(S,{className:(0,i.A)(F.root,F.hiddenDaySpacingFiller,d),ownerState:j,role:$.role}):(0,v.jsx)(x,(0,a.A)({className:(0,i.A)(F.root,d),ref:W,centerRipple:!0,disabled:m,tabIndex:D?0:-1,onKeyDown:e=>M(e,p),onFocus:e=>k(e,p),onBlur:e=>E(e,p),onMouseEnter:e=>O(e,p),onClick:e=>{m||T(p),I&&e.currentTarget.focus(),C&&C(e)},onMouseDown:e=>{P(e),I&&e.preventDefault()}},$,{ownerState:j,children:N||B.format(p,"dayOfMonth")}))})),C=o.memo(A)},62288:(e,t,n)=>{"use strict";n.d(t,{Q:()=>o,m:()=>a});var r=n(11245);function a(e){return(0,r.Ay)("MuiPickersDay",e)}const o=(0,n(36306).A)("MuiPickersDay",["root","dayWithMargin","dayOutsideMonth","hiddenDaySpacingFiller","today","selected","disabled"])},3726:(e,t,n)=>{"use strict";n.d(t,{CJ:()=>f,IU:()=>p,Kr:()=>d});var r=n(96540),a=n(34164),o=n(11848),i=n(98844),s=n(38888),l=n(85636),u=n(27596),c=n(74848);const d=(0,o.Ay)("div",{name:"MuiPickersLayout",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"grid",gridAutoColumns:"max-content auto max-content",gridAutoRows:"max-content auto max-content",[`& .${l.k.actionBar}`]:{gridColumn:"1 / 4",gridRow:3},variants:[{props:{isLandscape:!0},style:{[`& .${l.k.toolbar}`]:{gridColumn:1,gridRow:"2 / 3"},[`.${l.k.shortcuts}`]:{gridColumn:"2 / 4",gridRow:1}}},{props:{isLandscape:!0,isRtl:!0},style:{[`& .${l.k.toolbar}`]:{gridColumn:3}}},{props:{isLandscape:!1},style:{[`& .${l.k.toolbar}`]:{gridColumn:"2 / 4",gridRow:1},[`& .${l.k.shortcuts}`]:{gridColumn:1,gridRow:"2 / 3"}}},{props:{isLandscape:!1,isRtl:!0},style:{[`& .${l.k.shortcuts}`]:{gridColumn:3}}}]}),p=(0,o.Ay)("div",{name:"MuiPickersLayout",slot:"ContentWrapper",overridesResolver:(e,t)=>t.contentWrapper})({gridColumn:2,gridRow:2,display:"flex",flexDirection:"column"}),f=r.forwardRef((function(e,t){const n=(0,i.A)({props:e,name:"MuiPickersLayout"}),{toolbar:o,content:f,tabs:h,actionBar:m,shortcuts:g}=(0,u.A)(n),{sx:v,className:y,isLandscape:b,wrapperVariant:w}=n,x=(e=>{const{isLandscape:t,classes:n}=e,r={root:["root",t&&"landscape"],contentWrapper:["contentWrapper"]};return(0,s.A)(r,l.s,n)})(n);return(0,c.jsxs)(d,{ref:t,sx:v,className:(0,a.A)(y,x.root),ownerState:n,children:[b?g:o,b?o:g,(0,c.jsx)(p,{className:x.contentWrapper,children:"desktop"===w?(0,c.jsxs)(r.Fragment,{children:[f,h]}):(0,c.jsxs)(r.Fragment,{children:[h,f]})}),m]})}))},85636:(e,t,n)=>{"use strict";n.d(t,{k:()=>o,s:()=>a});var r=n(11245);function a(e){return(0,r.Ay)("MuiPickersLayout",e)}const o=(0,n(36306).A)("MuiPickersLayout",["root","landscape","contentWrapper","toolbar","actionBar","tabs","shortcuts"])},27596:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(57126),a=(n(96540),n(67389)),o=n(38888),i=n(61952),s=n(85636),l=n(12108),u=n(74848);const c=e=>{const{wrapperVariant:t,onAccept:n,onClear:c,onCancel:d,onSetToday:p,view:f,views:h,onViewChange:m,value:g,onChange:v,onSelectShortcut:y,isValid:b,isLandscape:w,disabled:x,readOnly:S,children:_,slots:A,slotProps:C}=e,T=(e=>{const{classes:t,isLandscape:n}=e,r={root:["root",n&&"landscape"],contentWrapper:["contentWrapper"],toolbar:["toolbar"],actionBar:["actionBar"],tabs:["tabs"],landscape:["landscape"],shortcuts:["shortcuts"]};return(0,o.A)(r,s.s,t)})(e),k=A?.actionBar??i.L,E=(0,a.A)({elementType:k,externalSlotProps:C?.actionBar,additionalProps:{onAccept:n,onClear:c,onCancel:d,onSetToday:p,actions:"desktop"===t?[]:["cancel","accept"]},className:T.actionBar,ownerState:(0,r.A)({},e,{wrapperVariant:t})}),M=(0,u.jsx)(k,(0,r.A)({},E)),P=A?.toolbar,O=(0,a.A)({elementType:P,externalSlotProps:C?.toolbar,additionalProps:{isLandscape:w,onChange:v,value:g,view:f,onViewChange:m,views:h,disabled:x,readOnly:S},className:T.toolbar,ownerState:(0,r.A)({},e,{wrapperVariant:t})}),I=function(e){return null!==e.view}(O)&&P?(0,u.jsx)(P,(0,r.A)({},O)):null,D=_,R=A?.tabs,N=f&&R?(0,u.jsx)(R,(0,r.A)({view:f,onViewChange:m,className:T.tabs},C?.tabs)):null,L=A?.shortcuts??l.f,$=(0,a.A)({elementType:L,externalSlotProps:C?.shortcuts,additionalProps:{isValid:b,isLandscape:w,onChange:y},className:T.shortcuts,ownerState:{isValid:b,isLandscape:w,onChange:y,wrapperVariant:t}});return{toolbar:I,content:D,tabs:N,actionBar:M,shortcuts:f&&L?(0,u.jsx)(L,(0,r.A)({},$)):null}}},45979:(e,t,n)=>{"use strict";n.d(t,{er:()=>m,fI:()=>b,jp:()=>g,tl:()=>h,vK:()=>v});var r=n(10793),a=n(57126),o=n(96540),i=n(67389),s=n(38888),l=n(72463),u=n(11848),c=n(98844),d=n(42746),p=n(74848);const f=["slots","slotProps","elements","sectionListRef"],h=(0,u.Ay)("div",{name:"MuiPickersSectionList",slot:"Root",overridesResolver:(e,t)=>t.root})({direction:"ltr /*! @noflip */",outline:"none"}),m=(0,u.Ay)("span",{name:"MuiPickersSectionList",slot:"Section",overridesResolver:(e,t)=>t.section})({}),g=(0,u.Ay)("span",{name:"MuiPickersSectionList",slot:"SectionSeparator",overridesResolver:(e,t)=>t.sectionSeparator})({whiteSpace:"pre"}),v=(0,u.Ay)("span",{name:"MuiPickersSectionList",slot:"SectionContent",overridesResolver:(e,t)=>t.sectionContent})({outline:"none"});function y(e){const{slots:t,slotProps:n,element:r,classes:o}=e,s=t?.section??m,l=(0,i.A)({elementType:s,externalSlotProps:n?.section,externalForwardedProps:r.container,className:o.section,ownerState:{}}),u=t?.sectionContent??v,c=(0,i.A)({elementType:u,externalSlotProps:n?.sectionContent,externalForwardedProps:r.content,additionalProps:{suppressContentEditableWarning:!0},className:o.sectionContent,ownerState:{}}),d=t?.sectionSeparator??g,f=(0,i.A)({elementType:d,externalSlotProps:n?.sectionSeparator,externalForwardedProps:r.before,ownerState:{position:"before"}}),h=(0,i.A)({elementType:d,externalSlotProps:n?.sectionSeparator,externalForwardedProps:r.after,ownerState:{position:"after"}});return(0,p.jsxs)(s,(0,a.A)({},l,{children:[(0,p.jsx)(d,(0,a.A)({},f)),(0,p.jsx)(u,(0,a.A)({},c)),(0,p.jsx)(d,(0,a.A)({},h))]}))}const b=o.forwardRef((function(e,t){const n=(0,c.A)({props:e,name:"MuiPickersSectionList"}),{slots:u,slotProps:m,elements:g,sectionListRef:v}=n,b=(0,r.A)(n,f),w=(e=>{const{classes:t}=e;return(0,s.A)({root:["root"],section:["section"],sectionContent:["sectionContent"]},d.b,t)})(n),x=o.useRef(null),S=(0,l.A)(t,x),_=e=>{if(!x.current)throw new Error(`MUI X: Cannot call sectionListRef.${e} before the mount of the component.`);return x.current};o.useImperativeHandle(v,(()=>({getRoot:()=>_("getRoot"),getSectionContainer:e=>_("getSectionContainer").querySelector(`.${d.T.section}[data-sectionindex="${e}"]`),getSectionContent:e=>_("getSectionContent").querySelector(`.${d.T.section}[data-sectionindex="${e}"] .${d.T.sectionContent}`),getSectionIndexFromDOMElement(e){const t=_("getSectionIndexFromDOMElement");if(null==e||!t.contains(e))return null;let n=null;return e.classList.contains(d.T.section)?n=e:e.classList.contains(d.T.sectionContent)&&(n=e.parentElement),null==n?null:Number(n.dataset.sectionindex)}})));const A=u?.root??h,C=(0,i.A)({elementType:A,externalSlotProps:m?.root,externalForwardedProps:b,additionalProps:{ref:S,suppressContentEditableWarning:!0},className:w.root,ownerState:{}});return(0,p.jsx)(A,(0,a.A)({},C,{children:C.contentEditable?g.map((({content:e,before:t,after:n})=>`${t.children}${e.children}${n.children}`)).join(""):(0,p.jsx)(o.Fragment,{children:g.map(((e,t)=>(0,p.jsx)(y,{slots:u,slotProps:m,element:e,classes:w},t)))})}))}))},42746:(e,t,n)=>{"use strict";n.d(t,{T:()=>o,b:()=>a});var r=n(11245);function a(e){return(0,r.Ay)("MuiPickersSectionList",e)}const o=(0,n(36306).A)("MuiPickersSectionList",["root","section","sectionContent"])},12108:(e,t,n)=>{"use strict";n.d(t,{f:()=>M});var r=n(57126),a=n(10793),o=n(96540),i=n(27465),s=n(34164),l=n(75659),u=n(47947),c=n(11848),d=n(42637),p=n(25669),f=n(18593),h=n(96852),m=n(32850),g=n(38413),v=n(31609);function y(e){return(0,v.Ay)("MuiListItem",e)}(0,g.A)("MuiListItem",["root","container","dense","alignItemsFlexStart","divider","gutters","padding","secondaryAction"]);var b=n(22927),w=n(92755),x=n(74848);const S=(0,c.Ay)("div",{name:"MuiListItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,"flex-start"===n.alignItems&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters,!n.disablePadding&&t.padding,n.hasSecondaryAction&&t.secondaryAction]}})((0,d.A)((({theme:e})=>({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>!e.disablePadding&&e.dense,style:{paddingTop:4,paddingBottom:4}},{props:({ownerState:e})=>!e.disablePadding&&!e.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:e})=>!e.disablePadding&&!!e.secondaryAction,style:{paddingRight:48}},{props:({ownerState:e})=>!!e.secondaryAction,style:{[`& > .${b.A.root}`]:{paddingRight:48}}},{props:{alignItems:"flex-start"},style:{alignItems:"flex-start"}},{props:({ownerState:e})=>e.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:e})=>e.button,style:{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}}},{props:({ownerState:e})=>e.hasSecondaryAction,style:{paddingRight:48}}]})))),_=(0,c.Ay)("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),A=o.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiListItem"}),{alignItems:r="center",children:a,className:i,component:c,components:d={},componentsProps:g={},ContainerComponent:v="li",ContainerProps:{className:b,...A}={},dense:C=!1,disableGutters:T=!1,disablePadding:k=!1,divider:E=!1,secondaryAction:M,slotProps:P={},slots:O={},...I}=n,D=o.useContext(m.A),R=o.useMemo((()=>({dense:C||D.dense||!1,alignItems:r,disableGutters:T})),[r,D.dense,C,T]),N=o.useRef(null),L=o.Children.toArray(a),$=L.length&&(0,f.A)(L[L.length-1],["ListItemSecondaryAction"]),j={...n,alignItems:r,dense:R.dense,disableGutters:T,disablePadding:k,divider:E,hasSecondaryAction:$},F=(e=>{const{alignItems:t,classes:n,dense:r,disableGutters:a,disablePadding:o,divider:i,hasSecondaryAction:s}=e,u={root:["root",r&&"dense",!a&&"gutters",!o&&"padding",i&&"divider","flex-start"===t&&"alignItemsFlexStart",s&&"secondaryAction"],container:["container"]};return(0,l.A)(u,y,n)})(j),B=(0,h.A)(N,t),z=O.root||d.Root||S,W=P.root||g.root||{},V={className:(0,s.A)(F.root,W.className,i),...I};let U=c||"li";return $?(U=V.component||c?U:"div","li"===v&&("li"===U?U="div":"li"===V.component&&(V.component="div")),(0,x.jsx)(m.A.Provider,{value:R,children:(0,x.jsxs)(_,{as:v,className:(0,s.A)(F.container,b),ref:B,ownerState:j,...A,children:[(0,x.jsx)(z,{...W,...!(0,u.A)(z)&&{as:U,ownerState:{...j,...W.ownerState}},...V,children:L}),L.pop()]})})):(0,x.jsx)(m.A.Provider,{value:R,children:(0,x.jsxs)(z,{...W,as:U,ref:B,...!(0,u.A)(z)&&{ownerState:{...j,...W.ownerState}},...V,children:[L,M&&(0,x.jsx)(w.A,{children:M})]})})}));var C=n(69554),T=n(25221);const k=["items","changeImportance","isLandscape","onChange","isValid"],E=["getValue"];function M(e){const{items:t,changeImportance:n="accept",onChange:o,isValid:s}=e,l=(0,a.A)(e,k);if(null==t||0===t.length)return null;const u=t.map((e=>{let{getValue:t}=e,i=(0,a.A)(e,E);const l=t({isValid:s});return(0,r.A)({},i,{label:i.label,onClick:()=>{o(l,n,i)},disabled:!s(l)})}));return(0,x.jsx)(i.A,(0,r.A)({dense:!0,sx:[{maxHeight:T.Y2,maxWidth:200,overflow:"auto"},...Array.isArray(l.sx)?l.sx:[l.sx]]},l,{children:u.map((e=>(0,x.jsx)(A,{children:(0,x.jsx)(C.A,(0,r.A)({},e))},e.id??e.label)))}))}},67193:(e,t,n)=>{"use strict";n.d(t,{W:()=>v});var r=n(10793),a=n(57126),o=n(96540),i=n(79716),s=n(11848),l=n(98844),u=n(19667),c=n(38888),d=n(67657),p=n(29411),f=n(74848);const h=["label","autoFocus","disableUnderline","ownerState"],m=(0,s.Ay)(p.XP,{name:"MuiPickersFilledInput",slot:"Root",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>(0,u.MC)(e)&&"disableUnderline"!==e})((({theme:e})=>{const t="light"===e.palette.mode,n=t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",r=t?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",a=t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",o=t?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:a,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r}},[`&.${d.C.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r},[`&.${d.C.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:o},variants:[...Object.keys((e.vars??e).palette).filter((t=>(e.vars??e).palette[t].main)).map((t=>({props:{color:t,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t]?.main}`}}}))),{props:{disableUnderline:!1},style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${d.C.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${d.C.error}`]:{"&:before, &:after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${d.C.disabled}, .${d.C.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${d.C.disabled}:before`]:{borderBottomStyle:"dotted"}}},{props:({startAdornment:e})=>!!e,style:{paddingLeft:12}},{props:({endAdornment:e})=>!!e,style:{paddingRight:12}}]}})),g=(0,s.Ay)(p.wB,{name:"MuiPickersFilledInput",slot:"sectionsContainer",overridesResolver:(e,t)=>t.sectionsContainer})({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,variants:[{props:{size:"small"},style:{paddingTop:21,paddingBottom:4}},{props:({startAdornment:e})=>!!e,style:{paddingLeft:0}},{props:({endAdornment:e})=>!!e,style:{paddingRight:0}},{props:{hiddenLabel:!0},style:{paddingTop:16,paddingBottom:17}},{props:{hiddenLabel:!0,size:"small"},style:{paddingTop:8,paddingBottom:9}}]}),v=o.forwardRef((function(e,t){const n=(0,l.A)({props:e,name:"MuiPickersFilledInput"}),{label:o,disableUnderline:s=!1,ownerState:u}=n,v=(0,r.A)(n,h),y=(0,i.A)(),b=(e=>{const{classes:t,disableUnderline:n}=e,r={root:["root",!n&&"underline"],input:["input"]},o=(0,c.A)(r,d.u,t);return(0,a.A)({},t,o)})((0,a.A)({},n,u,y,{color:y?.color||"primary"}));return(0,f.jsx)(p.jv,(0,a.A)({slots:{root:m,input:g},slotProps:{root:{disableUnderline:s}}},v,{label:o,classes:b,ref:t}))}));v.muiName="Input"},67657:(e,t,n)=>{"use strict";n.d(t,{C:()=>l,u:()=>s});var r=n(57126),a=n(36306),o=n(11245),i=n(72719);function s(e){return(0,o.Ay)("MuiPickersFilledInput",e)}const l=(0,r.A)({},i.R,(0,a.A)("MuiPickersFilledInput",["root","underline","input"]))},31809:(e,t,n)=>{"use strict";n.d(t,{a:()=>m});var r=n(10793),a=n(57126),o=n(96540),i=n(79716),s=n(11848),l=n(98844),u=n(38888),c=n(34865),d=n(29411),p=n(74848);const f=["label","autoFocus","disableUnderline","ownerState"],h=(0,s.Ay)(d.XP,{name:"MuiPickersInput",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>{let t="light"===e.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(t=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),{"label + &":{marginTop:16},variants:[...Object.keys((e.vars??e).palette).filter((t=>(e.vars??e).palette[t].main)).map((t=>({props:{color:t},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t].main}`}}}))),{props:{disableUnderline:!1},style:{"&::after":{background:"red",left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${c.a.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${c.a.error}`]:{"&:before, &:after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${t}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${c.a.disabled}, .${c.a.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${t}`}},[`&.${c.a.disabled}:before`]:{borderBottomStyle:"dotted"}}}]}})),m=o.forwardRef((function(e,t){const n=(0,l.A)({props:e,name:"MuiPickersInput"}),{label:o,disableUnderline:s=!1,ownerState:m}=n,g=(0,r.A)(n,f),v=(0,i.A)(),y=(e=>{const{classes:t,disableUnderline:n}=e,r={root:["root",!n&&"underline"],input:["input"]},o=(0,u.A)(r,c.e,t);return(0,a.A)({},t,o)})((0,a.A)({},n,m,v,{disableUnderline:s,color:v?.color||"primary"}));return(0,p.jsx)(d.jv,(0,a.A)({slots:{root:h}},g,{label:o,classes:y,ref:t}))}));m.muiName="Input"},34865:(e,t,n)=>{"use strict";n.d(t,{a:()=>l,e:()=>s});var r=n(57126),a=n(36306),o=n(11245),i=n(72719);function s(e){return(0,o.Ay)("MuiPickersFilledInput",e)}const l=(0,r.A)({},i.R,(0,a.A)("MuiPickersInput",["root","input"]))},29411:(e,t,n)=>{"use strict";n.d(t,{jv:()=>A,XP:()=>y,wB:()=>b});var r=n(10793),a=n(57126),o=n(96540),i=n(79716),s=n(11848),l=n(98844),u=n(72463),c=n(38888);function d(e){if("string"!=typeof e)throw new Error(function(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;et.root})((({theme:e})=>(0,a.A)({},e.typography.body1,{color:(e.vars||e).palette.text.primary,cursor:"text",padding:0,display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",boxSizing:"border-box",letterSpacing:(.15/16,Math.round(937.5)/1e5+"em"),variants:[{props:{fullWidth:!0},style:{width:"100%"}}]}))),b=(0,s.Ay)(m.tl,{name:"MuiPickersInputBase",slot:"SectionsContainer",overridesResolver:(e,t)=>t.sectionsContainer})((({theme:e})=>({padding:"4px 0 5px",fontFamily:e.typography.fontFamily,fontSize:"inherit",lineHeight:"1.4375em",flexGrow:1,outline:"none",display:"flex",flexWrap:"nowrap",overflow:"hidden",letterSpacing:"inherit",width:"182px",variants:[{props:{isRtl:!0},style:{textAlign:"right /*! @noflip */"}},{props:{size:"small"},style:{paddingTop:1}},{props:{adornedStart:!1,focused:!1,filled:!1},style:{color:"currentColor",opacity:0}},{props:({adornedStart:e,focused:t,filled:n,label:r})=>!e&&!t&&!n&&null==r,style:e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:"light"===e.palette.mode?.42:.5}}]}))),w=(0,s.Ay)(m.er,{name:"MuiPickersInputBase",slot:"Section",overridesResolver:(e,t)=>t.section})((({theme:e})=>({fontFamily:e.typography.fontFamily,fontSize:"inherit",letterSpacing:"inherit",lineHeight:"1.4375em",display:"flex"}))),x=(0,s.Ay)(m.vK,{name:"MuiPickersInputBase",slot:"SectionContent",overridesResolver:(e,t)=>t.content})((({theme:e})=>({fontFamily:e.typography.fontFamily,lineHeight:"1.4375em",letterSpacing:"inherit",width:"fit-content",outline:"none"}))),S=(0,s.Ay)(m.jp,{name:"MuiPickersInputBase",slot:"Separator",overridesResolver:(e,t)=>t.separator})((()=>({whiteSpace:"pre",letterSpacing:"inherit"}))),_=(0,s.Ay)("input",{name:"MuiPickersInputBase",slot:"Input",overridesResolver:(e,t)=>t.hiddenInput})((0,a.A)({},{border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"})),A=o.forwardRef((function(e,t){const n=(0,l.A)({props:e,name:"MuiPickersInputBase"}),{elements:s,areAllSectionsEmpty:A,value:C,onChange:T,id:k,endAdornment:E,startAdornment:M,renderSuffix:P,slots:O,slotProps:I,contentEditable:D,tabIndex:R,onInput:N,onPaste:L,onKeyDown:$,name:j,readOnly:F,inputProps:B,inputRef:z,sectionListRef:W}=n,V=(0,r.A)(n,v),U=o.useRef(null),H=(0,u.A)(t,U),q=(0,u.A)(B?.ref,z),G=(0,f.I)(),Y=(0,i.A)();if(!Y)throw new Error("MUI X: PickersInputBase should always be used inside a PickersTextField component");o.useEffect((()=>{Y&&Y.setAdornedStart(Boolean(M))}),[Y,M]),o.useEffect((()=>{Y&&(A?Y.onEmpty():Y.onFilled())}),[Y,A]);const X=(0,a.A)({},n,Y,{isRtl:G}),K=(e=>{const{focused:t,disabled:n,error:r,classes:a,fullWidth:o,readOnly:i,color:s,size:l,endAdornment:u,startAdornment:p}=e,f={root:["root",t&&!n&&"focused",n&&"disabled",i&&"readOnly",r&&"error",o&&"fullWidth",`color${d(s)}`,"small"===l&&"inputSizeSmall",Boolean(p)&&"adornedStart",Boolean(u)&&"adornedEnd"],notchedOutline:["notchedOutline"],input:["input"],sectionsContainer:["sectionsContainer"],sectionContent:["sectionContent"],sectionBefore:["sectionBefore"],sectionAfter:["sectionAfter"]};return(0,c.A)(f,h.l,a)})(X),Q=O?.root||y,Z=(0,p.A)({elementType:Q,externalSlotProps:I?.root,externalForwardedProps:V,additionalProps:{"aria-invalid":Y.error,ref:H},className:K.root,ownerState:X}),J=O?.input||b;return(0,g.jsxs)(Q,(0,a.A)({},Z,{children:[M,(0,g.jsx)(m.fI,{sectionListRef:W,elements:s,contentEditable:D,tabIndex:R,className:K.sectionsContainer,onFocus:e=>{Y.disabled?e.stopPropagation():Y.onFocus?.(e)},onBlur:Y.onBlur,onInput:N,onPaste:L,onKeyDown:$,slots:{root:J,section:w,sectionContent:x,sectionSeparator:S},slotProps:{root:{ownerState:X},sectionContent:{className:h.R.sectionContent},sectionSeparator:({position:e})=>({className:"before"===e?h.R.sectionBefore:h.R.sectionAfter})}}),E,P?P((0,a.A)({},Y)):null,(0,g.jsx)(_,(0,a.A)({name:j,className:K.input,value:C,onChange:T,id:k,"aria-hidden":"true",tabIndex:-1,readOnly:F,required:Y.required,disabled:Y.disabled},B,{ref:q}))]}))}))},72719:(e,t,n)=>{"use strict";n.d(t,{R:()=>o,l:()=>a});var r=n(11245);function a(e){return(0,r.Ay)("MuiPickersInputBase",e)}const o=(0,n(36306).A)("MuiPickersInputBase",["root","focused","disabled","error","notchedOutline","sectionContent","sectionBefore","sectionAfter","adornedStart","adornedEnd","input"])},50130:(e,t,n)=>{"use strict";n.d(t,{w:()=>x});var r=n(10793),a=n(57126),o=n(96540),i=n(79716),s=n(11848),l=n(98844),u=n(38888),c=n(58641),d=n(74848);const p=["children","className","label","notched","shrink"],f=(0,s.Ay)("fieldset",{name:"MuiPickersOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})((({theme:e})=>{const t="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%",borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}})),h=(0,s.Ay)("span")((({theme:e})=>({fontFamily:e.typography.fontFamily,fontSize:"inherit"}))),m=(0,s.Ay)("legend")((({theme:e})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:{withLabel:!1},style:{padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})}},{props:{withLabel:!0},style:{display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}}},{props:{withLabel:!0,notched:!0},style:{maxWidth:"100%",transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}]})));function g(e){const{className:t,label:n}=e,o=(0,r.A)(e,p),i=null!=n&&""!==n,s=(0,a.A)({},e,{withLabel:i});return(0,d.jsx)(f,(0,a.A)({"aria-hidden":!0,className:t},o,{ownerState:s,children:(0,d.jsx)(m,{ownerState:s,children:i?(0,d.jsx)(h,{children:n}):(0,d.jsx)(h,{className:"notranslate",children:"​"})})}))}var v=n(29411);const y=["label","autoFocus","ownerState","notched"],b=(0,s.Ay)(v.XP,{name:"MuiPickersOutlinedInput",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>{const t="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{padding:"0 14px",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${c.q.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${c.q.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}},[`&.${c.q.focused} .${c.q.notchedOutline}`]:{borderStyle:"solid",borderWidth:2},[`&.${c.q.disabled}`]:{[`& .${c.q.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled},"*":{color:(e.vars||e).palette.action.disabled}},[`&.${c.q.error} .${c.q.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},variants:Object.keys((e.vars??e).palette).filter((t=>(e.vars??e).palette[t]?.main??!1)).map((t=>({props:{color:t},style:{[`&.${c.q.focused}:not(.${c.q.error}) .${c.q.notchedOutline}`]:{borderColor:(e.vars||e).palette[t].main}}})))}})),w=(0,s.Ay)(v.wB,{name:"MuiPickersOutlinedInput",slot:"SectionsContainer",overridesResolver:(e,t)=>t.sectionsContainer})({padding:"16.5px 0",variants:[{props:{size:"small"},style:{padding:"8.5px 0"}}]}),x=o.forwardRef((function(e,t){const n=(0,l.A)({props:e,name:"MuiPickersOutlinedInput"}),{label:s,ownerState:p,notched:f}=n,h=(0,r.A)(n,y),m=(0,i.A)(),x=(0,a.A)({},n,p,m,{color:m?.color||"primary"}),S=(e=>{const{classes:t}=e,n=(0,u.A)({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},c.G,t);return(0,a.A)({},t,n)})(x);return(0,d.jsx)(v.jv,(0,a.A)({slots:{root:b,input:w},renderSuffix:e=>(0,d.jsx)(g,{shrink:Boolean(f||e.adornedStart||e.focused||e.filled),notched:Boolean(f||e.adornedStart||e.focused||e.filled),className:S.notchedOutline,label:null!=s&&""!==s&&m?.required?(0,d.jsxs)(o.Fragment,{children:[s," ","*"]}):s,ownerState:x})},h,{label:s,classes:S,ref:t}))}));x.muiName="Input"},58641:(e,t,n)=>{"use strict";n.d(t,{G:()=>s,q:()=>l});var r=n(57126),a=n(36306),o=n(11245),i=n(72719);function s(e){return(0,o.Ay)("MuiPickersOutlinedInput",e)}const l=(0,r.A)({},i.R,(0,a.A)("MuiPickersOutlinedInput",["root","notchedOutline","input"]))},6852:(e,t,n)=>{"use strict";n.d(t,{X:()=>_});var r=n(57126),a=n(10793),o=n(96540),i=n(34164),s=n(11848),l=n(98844),u=n(72463),c=n(38888),d=n(54674),p=n(29571),f=n(6347),h=n(45359),m=n(90750),g=n(50130),v=n(67193),y=n(31809),b=n(74848);const w=["onFocus","onBlur","className","color","disabled","error","variant","required","InputProps","inputProps","inputRef","sectionListRef","elements","areAllSectionsEmpty","onClick","onKeyDown","onKeyUp","onPaste","onInput","endAdornment","startAdornment","tabIndex","contentEditable","focused","value","onChange","fullWidth","id","name","helperText","FormHelperTextProps","label","InputLabelProps"],x={standard:y.a,filled:v.W,outlined:g.w},S=(0,s.Ay)(h.A,{name:"MuiPickersTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),_=o.forwardRef((function(e,t){const n=(0,l.A)({props:e,name:"MuiPickersTextField"}),{onFocus:s,onBlur:h,className:g,color:v="primary",disabled:y=!1,error:_=!1,variant:A="outlined",required:C=!1,InputProps:T,inputProps:k,inputRef:E,sectionListRef:M,elements:P,areAllSectionsEmpty:O,onClick:I,onKeyDown:D,onKeyUp:R,onPaste:N,onInput:L,endAdornment:$,startAdornment:j,tabIndex:F,contentEditable:B,focused:z,value:W,onChange:V,fullWidth:U,id:H,name:q,helperText:G,FormHelperTextProps:Y,label:X,InputLabelProps:K}=n,Q=(0,a.A)(n,w),Z=o.useRef(null),J=(0,u.A)(t,Z),ee=(0,d.A)(H),te=G&&ee?`${ee}-helper-text`:void 0,ne=X&&ee?`${ee}-label`:void 0,re=(0,r.A)({},n,{color:v,disabled:y,error:_,focused:z,required:C,variant:A}),ae=(e=>{const{focused:t,disabled:n,classes:r,required:a}=e,o={root:["root",t&&!n&&"focused",n&&"disabled",a&&"required"]};return(0,c.A)(o,m.d,r)})(re),oe=x[A];return(0,b.jsxs)(S,(0,r.A)({className:(0,i.A)(ae.root,g),ref:J,focused:z,onFocus:s,onBlur:h,disabled:y,variant:A,error:_,color:v,fullWidth:U,required:C,ownerState:re},Q,{children:[(0,b.jsx)(p.A,(0,r.A)({htmlFor:ee,id:ne},K,{children:X})),(0,b.jsx)(oe,(0,r.A)({elements:P,areAllSectionsEmpty:O,onClick:I,onKeyDown:D,onKeyUp:R,onInput:L,onPaste:N,endAdornment:$,startAdornment:j,tabIndex:F,contentEditable:B,value:W,onChange:V,id:ee,fullWidth:U,inputProps:k,inputRef:E,sectionListRef:M,label:X,name:q,role:"group","aria-labelledby":ne},T)),G&&(0,b.jsx)(f.A,(0,r.A)({id:te},Y,{children:G}))]}))}))},90750:(e,t,n)=>{"use strict";n.d(t,{d:()=>a,f:()=>o});var r=n(11245);function a(e){return(0,r.Ay)("MuiPickersTextField",e)}const o=(0,n(36306).A)("MuiPickersTextField",["root","focused","disabled","error","required"])},56285:(e,t,n)=>{"use strict";n.d(t,{a:()=>se});var r=n(57126),a=n(10793),o=n(96540),i=n(34164),s=n(11848),l=n(98844),u=n(38888),c=n(54674),d=n(10950),p=n(45027),f=n(83976),h=n(35421),m=n(4780),g=n(14254),v=n(84022),y=n(99448),b=n(19455),w=n(33551),x=n(17862);const S=220,_=36,A=S/2,C=S/2,T=A-A,k=0-C,E=(e,t,n)=>{const r=t-A,a=n-C;let o=(Math.atan2(T,k)-Math.atan2(r,a))*(180/Math.PI);o=Math.round(o/e)*e,o%=360;const i=r**2+a**2;return{value:Math.floor(o/e)||0,distance:Math.sqrt(i)}};var M=n(75022),P=n(74848);const O=["className","hasSelected","isInner","type","viewValue"],I=e=>{const{classes:t}=e;return(0,u.A)({root:["root"],thumb:["thumb"]},M.w,t)},D=(0,s.Ay)("div",{name:"MuiClockPointer",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({width:2,backgroundColor:(e.vars||e).palette.primary.main,position:"absolute",left:"calc(50% - 1px)",bottom:"50%",transformOrigin:"center bottom 0px",variants:[{props:{shouldAnimate:!0},style:{transition:e.transitions.create(["transform","height"])}}]}))),R=(0,s.Ay)("div",{name:"MuiClockPointer",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})((({theme:e})=>({width:4,height:4,backgroundColor:(e.vars||e).palette.primary.contrastText,borderRadius:"50%",position:"absolute",top:-21,left:"calc(50% - 18px)",border:`16px solid ${(e.vars||e).palette.primary.main}`,boxSizing:"content-box",variants:[{props:{hasSelected:!0},style:{backgroundColor:(e.vars||e).palette.primary.main}}]})));function N(e){const t=(0,l.A)({props:e,name:"MuiClockPointer"}),{className:n,isInner:s,type:u,viewValue:c}=t,d=(0,a.A)(t,O),p=o.useRef(u);o.useEffect((()=>{p.current=u}),[u]);const f=(0,r.A)({},t,{shouldAnimate:p.current!==u}),h=I(f);return(0,P.jsx)(D,(0,r.A)({style:(()=>{let e=360/("hours"===u?12:60)*c;return"hours"===u&&c>12&&(e-=360),{height:Math.round((s?.26:.4)*S),transform:`rotateZ(${e}deg)`}})(),className:(0,i.A)(n,h.root),ownerState:f},d,{children:(0,P.jsx)(R,{ownerState:f,className:h.thumb})}))}var L=n(74033),$=n(80916);const j=(0,s.Ay)("div",{name:"MuiClock",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({display:"flex",justifyContent:"center",alignItems:"center",margin:e.spacing(2)}))),F=(0,s.Ay)("div",{name:"MuiClock",slot:"Clock",overridesResolver:(e,t)=>t.clock})({backgroundColor:"rgba(0,0,0,.07)",borderRadius:"50%",height:220,width:220,flexShrink:0,position:"relative",pointerEvents:"none"}),B=(0,s.Ay)("div",{name:"MuiClock",slot:"Wrapper",overridesResolver:(e,t)=>t.wrapper})({"&:focus":{outline:"none"}}),z=(0,s.Ay)("div",{name:"MuiClock",slot:"SquareMask",overridesResolver:(e,t)=>t.squareMask})({width:"100%",height:"100%",position:"absolute",pointerEvents:"auto",outline:0,touchAction:"none",userSelect:"none",variants:[{props:{disabled:!1},style:{"@media (pointer: fine)":{cursor:"pointer",borderRadius:"50%"},"&:active":{cursor:"move"}}}]}),W=(0,s.Ay)("div",{name:"MuiClock",slot:"Pin",overridesResolver:(e,t)=>t.pin})((({theme:e})=>({width:6,height:6,borderRadius:"50%",backgroundColor:(e.vars||e).palette.primary.main,position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)"}))),V=(e,t)=>({zIndex:1,bottom:8,paddingLeft:4,paddingRight:4,width:_,variants:[{props:{meridiemMode:t},style:{backgroundColor:(e.vars||e).palette.primary.main,color:(e.vars||e).palette.primary.contrastText,"&:hover":{backgroundColor:(e.vars||e).palette.primary.light}}}]}),U=(0,s.Ay)(b.A,{name:"MuiClock",slot:"AmButton",overridesResolver:(e,t)=>t.amButton})((({theme:e})=>(0,r.A)({},V(e,"am"),{position:"absolute",left:8}))),H=(0,s.Ay)(b.A,{name:"MuiClock",slot:"PmButton",overridesResolver:(e,t)=>t.pmButton})((({theme:e})=>(0,r.A)({},V(e,"pm"),{position:"absolute",right:8}))),q=(0,s.Ay)(w.A,{name:"MuiClock",slot:"meridiemText",overridesResolver:(e,t)=>t.meridiemText})({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"});function G(e){const t=(0,l.A)({props:e,name:"MuiClock"}),{ampm:n,ampmInClock:r,autoFocus:a,children:s,value:c,handleMeridiemChange:f,isTimeDisabled:h,meridiemMode:m,minutesStep:g=1,onChange:v,selectedId:y,type:b,viewValue:w,disabled:A=!1,readOnly:C,className:T}=t,k=t,M=(0,p.hc)(),O=(0,d.b)(),I=o.useRef(!1),D=(e=>{const{classes:t,meridiemMode:n}=e,r={root:["root"],clock:["clock"],wrapper:["wrapper"],squareMask:["squareMask"],pin:["pin"],amButton:["amButton","am"===n&&"selected"],pmButton:["pmButton","pm"===n&&"selected"],meridiemText:["meridiemText"]};return(0,u.A)(r,L.D,t)})(k),R=h(w,b),V=!n&&"hours"===b&&(w<1||w>12),G=(e,t)=>{A||C||h(e,b)||v(e,t)},Y=(e,t)=>{let{offsetX:r,offsetY:a}=e;if(void 0===r){const t=e.target.getBoundingClientRect();r=e.changedTouches[0].clientX-t.left,a=e.changedTouches[0].clientY-t.top}const o="seconds"===b||"minutes"===b?((e,t,n=1)=>{const r=6*n;let{value:a}=E(r,e,t);return a=a*n%60,a})(r,a,g):((e,t,n)=>{const{value:r,distance:a}=E(30,e,t);let o=r||12;return n?o%=12:a{I.current=!0,Y(e,"shallow")},K=o.useMemo((()=>"hours"===b||w%5==0),[b,w]),Q="minutes"===b?g:1,Z=o.useRef(null);return(0,x.A)((()=>{a&&Z.current.focus()}),[a]),(0,P.jsxs)(j,{className:(0,i.A)(T,D.root),children:[(0,P.jsxs)(F,{className:D.clock,children:[(0,P.jsx)(z,{onTouchMove:X,onTouchStart:X,onTouchEnd:e=>{I.current&&(Y(e,"finish"),I.current=!1)},onMouseUp:e=>{I.current&&(I.current=!1),Y(e.nativeEvent,"finish")},onMouseMove:e=>{e.buttons>0&&Y(e.nativeEvent,"shallow")},ownerState:{disabled:A},className:D.squareMask}),!R&&(0,P.jsxs)(o.Fragment,{children:[(0,P.jsx)(W,{className:D.pin}),null!=c&&(0,P.jsx)(N,{type:b,viewValue:w,isInner:V,hasSelected:K})]}),(0,P.jsx)(B,{"aria-activedescendant":y,"aria-label":O.clockLabelText(b,c,M,null==c?null:M.format(c,"fullTime")),ref:Z,role:"listbox",onKeyDown:e=>{if(!I.current)switch(e.key){case"Home":G(0,"partial"),e.preventDefault();break;case"End":G("minutes"===b?59:23,"partial"),e.preventDefault();break;case"ArrowUp":G(w+Q,"partial"),e.preventDefault();break;case"ArrowDown":G(w-Q,"partial"),e.preventDefault();break;case"Enter":case" ":G(w,"finish"),e.preventDefault()}},tabIndex:0,className:D.wrapper,children:s})]}),n&&r&&(0,P.jsxs)(o.Fragment,{children:[(0,P.jsx)(U,{onClick:C?void 0:()=>f("am"),disabled:A||null===m,ownerState:k,className:D.amButton,title:(0,$._S)(M,"am"),children:(0,P.jsx)(q,{variant:"caption",className:D.meridiemText,children:(0,$._S)(M,"am")})}),(0,P.jsx)(H,{disabled:A||null===m,onClick:C?void 0:()=>f("pm"),ownerState:k,className:D.pmButton,title:(0,$._S)(M,"pm"),children:(0,P.jsx)(q,{variant:"caption",className:D.meridiemText,children:(0,$._S)(M,"pm")})})]})]})}var Y=n(46426);const X=["className","disabled","index","inner","label","selected"],K=(0,s.Ay)("span",{name:"MuiClockNumber",slot:"Root",overridesResolver:(e,t)=>[t.root,{[`&.${Y.q.disabled}`]:t.disabled},{[`&.${Y.q.selected}`]:t.selected}]})((({theme:e})=>({height:_,width:_,position:"absolute",left:"calc((100% - 36px) / 2)",display:"inline-flex",justifyContent:"center",alignItems:"center",borderRadius:"50%",color:(e.vars||e).palette.text.primary,fontFamily:e.typography.fontFamily,"&:focused":{backgroundColor:(e.vars||e).palette.background.paper},[`&.${Y.q.selected}`]:{color:(e.vars||e).palette.primary.contrastText},[`&.${Y.q.disabled}`]:{pointerEvents:"none",color:(e.vars||e).palette.text.disabled},variants:[{props:{inner:!0},style:(0,r.A)({},e.typography.body2,{color:(e.vars||e).palette.text.secondary})}]})));function Q(e){const t=(0,l.A)({props:e,name:"MuiClockNumber"}),{className:n,disabled:o,index:s,inner:c,label:d,selected:p}=t,f=(0,a.A)(t,X),h=t,m=(e=>{const{classes:t,selected:n,disabled:r}=e,a={root:["root",n&&"selected",r&&"disabled"]};return(0,u.A)(a,Y.E,t)})(h),g=s%12/12*Math.PI*2-Math.PI/2,v=(S-_-2)/2*(c?.65:1),y=Math.round(Math.cos(g)*v),b=Math.round(Math.sin(g)*v);return(0,P.jsx)(K,(0,r.A)({className:(0,i.A)(n,m.root),"aria-disabled":!!o||void 0,"aria-selected":!!p||void 0,role:"option",style:{transform:`translate(${y}px, ${b+(S-_)/2}px`},ownerState:h},f,{children:d}))}const Z=({ampm:e,value:t,getClockNumberText:n,isDisabled:r,selectedId:a,utils:o})=>{const i=t?o.getHours(t):null,s=[],l=e?12:23,u=t=>null!==i&&(e?12===t?12===i||0===i:i===t||i-12===t:i===t);for(let t=e?1:0;t<=l;t+=1){let i=t.toString();0===t&&(i="00");const l=!e&&(0===t||t>12);i=o.formatNumber(i);const c=u(t);s.push((0,P.jsx)(Q,{id:c?a:void 0,index:t,inner:l,selected:c,disabled:r(t),label:i,"aria-label":n(i)},t))}return s},J=({utils:e,value:t,isDisabled:n,getClockNumberText:r,selectedId:a})=>{const o=e.formatNumber;return[[5,o("05")],[10,o("10")],[15,o("15")],[20,o("20")],[25,o("25")],[30,o("30")],[35,o("35")],[40,o("40")],[45,o("45")],[50,o("50")],[55,o("55")],[0,o("00")]].map((([e,o],i)=>{const s=e===t;return(0,P.jsx)(Q,{label:o,id:s?a:void 0,index:i+1,inner:!1,disabled:n(e),selected:s,"aria-label":r(o)},e)}))};var ee=n(13016),te=n(90383),ne=n(24215);const re=["ampm","ampmInClock","autoFocus","slots","slotProps","value","defaultValue","referenceDate","disableIgnoringDatePartForTimeValidation","maxTime","minTime","disableFuture","disablePast","minutesStep","shouldDisableTime","showViewSwitcher","onChange","view","views","openTo","onViewChange","focusedView","onFocusedViewChange","className","disabled","readOnly","timezone"],ae=(0,s.Ay)(v.I,{name:"MuiTimeClock",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"flex",flexDirection:"column",position:"relative"}),oe=(0,s.Ay)(f.Y,{name:"MuiTimeClock",slot:"ArrowSwitcher",overridesResolver:(e,t)=>t.arrowSwitcher})({position:"absolute",right:12,top:15}),ie=["hours","minutes"],se=o.forwardRef((function(e,t){const n=(0,p.hc)(),s=(0,l.A)({props:e,name:"MuiTimeClock"}),{ampm:f=n.is12HourCycleInCurrentLocale(),ampmInClock:v=!1,autoFocus:b,slots:w,slotProps:x,value:S,defaultValue:_,referenceDate:A,disableIgnoringDatePartForTimeValidation:C=!1,maxTime:T,minTime:k,disableFuture:E,disablePast:M,minutesStep:O=1,shouldDisableTime:I,showViewSwitcher:D,onChange:R,view:N,views:L=ie,openTo:$,onViewChange:j,focusedView:F,onFocusedViewChange:B,className:z,disabled:W,readOnly:V,timezone:U}=s,H=(0,a.A)(s,re),{value:q,handleValueChange:Y,timezone:X}=(0,ee.Y)({name:"TimeClock",timezone:U,value:S,defaultValue:_,onChange:R,valueManager:te.W}),K=(0,ne.T)({value:q,referenceDate:A,utils:n,props:s,timezone:X}),Q=(0,d.b)(),se=(0,p.cB)(X),{view:le,setView:ue,previousView:ce,nextView:de,setValueAndGoToNextView:pe}=(0,m.o)({view:N,views:L,openTo:$,onViewChange:j,onChange:Y,focusedView:F,onFocusedViewChange:B}),{meridiemMode:fe,handleMeridiemChange:he}=(0,g.r7)(K,f,pe),me=o.useCallback(((e,t)=>{const r=(0,h.iF)(C,n),a="hours"===t||"minutes"===t&&L.includes("seconds"),o=({start:e,end:t})=>!(k&&r(k,t)||T&&r(e,T)||E&&r(e,se)||M&&r(se,a?t:e)),i=(e,r=1)=>{if(e%r!=0)return!1;if(I)switch(t){case"hours":return!I(n.setHours(K,e),"hours");case"minutes":return!I(n.setMinutes(K,e),"minutes");case"seconds":return!I(n.setSeconds(K,e),"seconds");default:return!1}return!0};switch(t){case"hours":{const t=(0,h.gY)(e,fe,f),r=n.setHours(K,t);return!o({start:n.setSeconds(n.setMinutes(r,0),0),end:n.setSeconds(n.setMinutes(r,59),59)})||!i(t)}case"minutes":{const t=n.setMinutes(K,e);return!o({start:n.setSeconds(t,0),end:n.setSeconds(t,59)})||!i(e,O)}case"seconds":{const t=n.setSeconds(K,e);return!o({start:t,end:t})||!i(e)}default:throw new Error("not supported")}}),[f,K,C,T,fe,k,O,I,n,E,M,se,L]),ge=(0,c.A)(),ve=o.useMemo((()=>{switch(le){case"hours":{const e=(e,t)=>{const r=(0,h.gY)(e,fe,f);pe(n.setHours(K,r),t,"hours")};return{onChange:e,viewValue:n.getHours(K),children:Z({value:q,utils:n,ampm:f,onChange:e,getClockNumberText:Q.hoursClockNumberText,isDisabled:e=>W||me(e,"hours"),selectedId:ge})}}case"minutes":{const e=n.getMinutes(K),t=(e,t)=>{pe(n.setMinutes(K,e),t,"minutes")};return{viewValue:e,onChange:t,children:J({utils:n,value:e,onChange:t,getClockNumberText:Q.minutesClockNumberText,isDisabled:e=>W||me(e,"minutes"),selectedId:ge})}}case"seconds":{const e=n.getSeconds(K),t=(e,t)=>{pe(n.setSeconds(K,e),t,"seconds")};return{viewValue:e,onChange:t,children:J({utils:n,value:e,onChange:t,getClockNumberText:Q.secondsClockNumberText,isDisabled:e=>W||me(e,"seconds"),selectedId:ge})}}default:throw new Error("You must provide the type for ClockView")}}),[le,n,q,f,Q.hoursClockNumberText,Q.minutesClockNumberText,Q.secondsClockNumberText,fe,pe,K,me,ge,W]),ye=s,be=(e=>{const{classes:t}=e;return(0,u.A)({root:["root"],arrowSwitcher:["arrowSwitcher"]},y.Y,t)})(ye);return(0,P.jsxs)(ae,(0,r.A)({ref:t,className:(0,i.A)(be.root,z),ownerState:ye},H,{children:[(0,P.jsx)(G,(0,r.A)({autoFocus:b??!!F,ampmInClock:v&&L.includes("hours"),value:q,type:le,ampm:f,minutesStep:O,isTimeDisabled:me,meridiemMode:fe,handleMeridiemChange:he,selectedId:ge,disabled:W,readOnly:V},ve)),D&&(0,P.jsx)(oe,{className:be.arrowSwitcher,slots:w,slotProps:x,onGoToPrevious:()=>ue(ce),isPreviousDisabled:!ce,previousLabel:Q.openPreviousView,onGoToNext:()=>ue(de),isNextDisabled:!de,nextLabel:Q.openNextView,ownerState:ye})]}))}))},74033:(e,t,n)=>{"use strict";n.d(t,{D:()=>a,N:()=>o});var r=n(11245);function a(e){return(0,r.Ay)("MuiClock",e)}const o=(0,n(36306).A)("MuiClock",["root","clock","wrapper","squareMask","pin","amButton","pmButton","meridiemText","selected"])},46426:(e,t,n)=>{"use strict";n.d(t,{E:()=>a,q:()=>o});var r=n(11245);function a(e){return(0,r.Ay)("MuiClockNumber",e)}const o=(0,n(36306).A)("MuiClockNumber",["root","selected","disabled"])},75022:(e,t,n)=>{"use strict";n.d(t,{S:()=>o,w:()=>a});var r=n(11245);function a(e){return(0,r.Ay)("MuiClockPointer",e)}const o=(0,n(36306).A)("MuiClockPointer",["root","thumb"])},99448:(e,t,n)=>{"use strict";n.d(t,{G:()=>o,Y:()=>a});var r=n(11245);function a(e){return(0,r.Ay)("MuiTimeClock",e)}const o=(0,n(36306).A)("MuiTimeClock",["root","arrowSwitcher"])},20442:(e,t,n)=>{"use strict";n.d(t,{Q:()=>m});var r=n(57126),a=n(10793),o=n(96540),i=n(1043),s=n(98844),l=n(67389),u=n(49619),c=n(78942),d=n(6852),p=n(60054),f=n(74848);const h=["slots","slotProps","InputProps","inputProps"],m=o.forwardRef((function(e,t){const n=(0,s.A)({props:e,name:"MuiTimeField"}),{slots:o,slotProps:m,InputProps:g,inputProps:v}=n,y=(0,a.A)(n,h),b=n,w=o?.textField??(e.enableAccessibleFieldDOMStructure?d.X:i.A),x=(0,l.A)({elementType:w,externalSlotProps:m?.textField,externalForwardedProps:y,ownerState:b,additionalProps:{ref:t}});x.inputProps=(0,r.A)({},v,x.inputProps),x.InputProps=(0,r.A)({},g,x.InputProps);const S=(0,u.p)(x),_=(0,p.h)(S),A=(0,c.Z)((0,r.A)({},_,{slots:o,slotProps:m}));return(0,f.jsx)(w,(0,r.A)({},A))}))},49619:(e,t,n)=>{"use strict";n.d(t,{p:()=>l});var r=n(90383),a=n(22224),o=n(99654),i=n(64799),s=n(9674);const l=e=>{const t=(0,s.EO)(e),{forwardedProps:n,internalProps:l}=(0,i.o)(t,"time");return(0,a.M)({forwardedProps:n,internalProps:l,valueManager:r.W,fieldValueManager:r.o,validator:o.i,valueType:"time"})}},8867:(e,t,n)=>{"use strict";n.d(t,{b:()=>T});var r=n(57126),a=n(10793),o=(n(96540),n(34164)),i=n(93944),s=n(11848),l=n(98844),u=n(38888),c=n(11756),d=n(93987),p=n(9695),f=n(18903),h=n(10950),m=n(45027),g=n(14254),v=n(91575),y=n(80916),b=n(74848);const w=["ampm","ampmInClock","value","isLandscape","onChange","view","onViewChange","views","disabled","readOnly","className"],x=e=>{const{isLandscape:t,classes:n,isRtl:r}=e,a={root:["root"],separator:["separator"],hourMinuteLabel:["hourMinuteLabel",t&&"hourMinuteLabelLandscape",r&&"hourMinuteLabelReverse"],ampmSelection:["ampmSelection",t&&"ampmLandscape"],ampmLabel:["ampmLabel"]};return(0,u.A)(a,v.j,n)},S=(0,s.Ay)(p.Z,{name:"MuiTimePickerToolbar",slot:"Root",overridesResolver:(e,t)=>t.root})({}),_=(0,s.Ay)(c.k,{name:"MuiTimePickerToolbar",slot:"Separator",overridesResolver:(e,t)=>t.separator})({outline:0,margin:"0 4px 0 2px",cursor:"default"}),A=(0,s.Ay)("div",{name:"MuiTimePickerToolbar",slot:"HourMinuteLabel",overridesResolver:(e,t)=>[{[`&.${v.n.hourMinuteLabelLandscape}`]:t.hourMinuteLabelLandscape,[`&.${v.n.hourMinuteLabelReverse}`]:t.hourMinuteLabelReverse},t.hourMinuteLabel]})({display:"flex",justifyContent:"flex-end",alignItems:"flex-end",variants:[{props:{isRtl:!0},style:{flexDirection:"row-reverse"}},{props:{isLandscape:!0},style:{marginTop:"auto"}}]}),C=(0,s.Ay)("div",{name:"MuiTimePickerToolbar",slot:"AmPmSelection",overridesResolver:(e,t)=>[{[`.${v.n.ampmLabel}`]:t.ampmLabel},{[`&.${v.n.ampmLandscape}`]:t.ampmLandscape},t.ampmSelection]})({display:"flex",flexDirection:"column",marginRight:"auto",marginLeft:12,[`& .${v.n.ampmLabel}`]:{fontSize:17},variants:[{props:{isLandscape:!0},style:{margin:"4px 0 auto",flexDirection:"row",justifyContent:"space-around",flexBasis:"100%"}}]});function T(e){const t=(0,l.A)({props:e,name:"MuiTimePickerToolbar"}),{ampm:n,ampmInClock:s,value:u,isLandscape:c,onChange:p,view:v,onViewChange:T,views:k,disabled:E,readOnly:M,className:P}=t,O=(0,a.A)(t,w),I=(0,m.hc)(),D=(0,h.b)(),R=(0,i.I)(),N=Boolean(n&&!s&&k.includes("hours")),{meridiemMode:L,handleMeridiemChange:$}=(0,g.r7)(u,n,p),j=(0,r.A)({},t,{isRtl:R}),F=x(j),B=(0,b.jsx)(_,{tabIndex:-1,value:":",variant:"h3",selected:!1,className:F.separator});return(0,b.jsxs)(S,(0,r.A)({landscapeDirection:"row",toolbarTitle:D.timePickerToolbarTitle,isLandscape:c,ownerState:j,className:(0,o.A)(F.root,P)},O,{children:[(0,b.jsxs)(A,{className:F.hourMinuteLabel,ownerState:j,children:[(0,f.Xk)(k,"hours")&&(0,b.jsx)(d.R,{tabIndex:-1,variant:"h3",onClick:()=>T("hours"),selected:"hours"===v,value:u?(z=u,n?I.format(z,"hours12h"):I.format(z,"hours24h")):"--"}),(0,f.Xk)(k,["hours","minutes"])&&B,(0,f.Xk)(k,"minutes")&&(0,b.jsx)(d.R,{tabIndex:-1,variant:"h3",onClick:()=>T("minutes"),selected:"minutes"===v,value:u?I.format(u,"minutes"):"--"}),(0,f.Xk)(k,["minutes","seconds"])&&B,(0,f.Xk)(k,"seconds")&&(0,b.jsx)(d.R,{variant:"h3",onClick:()=>T("seconds"),selected:"seconds"===v,value:u?I.format(u,"seconds"):"--"})]}),N&&(0,b.jsxs)(C,{className:F.ampmSelection,ownerState:j,children:[(0,b.jsx)(d.R,{disableRipple:!0,variant:"subtitle2",selected:"am"===L,typographyClassName:F.ampmLabel,value:(0,y._S)(I,"am"),onClick:M?void 0:()=>$("am"),disabled:E}),(0,b.jsx)(d.R,{disableRipple:!0,variant:"subtitle2",selected:"pm"===L,typographyClassName:F.ampmLabel,value:(0,y._S)(I,"pm"),onClick:M?void 0:()=>$("pm"),disabled:E})]})]}));var z}},67384:(e,t,n)=>{"use strict";n.r(t),n.d(t,{TimePicker:()=>f,TimePickerToolbar:()=>h.b,timePickerToolbarClasses:()=>m.n});var r=n(57126),a=n(10793),o=n(96540),i=n(86819),s=n(98844),l=n(94034),u=n(72098),c=n(18903),d=n(74848);const p=["desktopModeMediaQuery"],f=o.forwardRef((function(e,t){const n=(0,s.A)({props:e,name:"MuiTimePicker"}),{desktopModeMediaQuery:o=c.jX}=n,f=(0,a.A)(n,p);return(0,i.A)(o,{defaultMatches:!0})?(0,d.jsx)(l.U,(0,r.A)({ref:t},f)):(0,d.jsx)(u.o,(0,r.A)({ref:t},f))}));var h=n(8867),m=n(91575)},45116:(e,t,n)=>{"use strict";n.d(t,{k:()=>u});var r=n(57126),a=n(96540),o=n(98844),i=n(45027),s=n(8867),l=n(53136);function u(e,t){const n=(0,i.hc)(),u=(0,o.A)({props:e,name:t}),c=u.ampm??n.is12HourCycleInCurrentLocale(),d=a.useMemo((()=>null==u.localeText?.toolbarTitle?u.localeText:(0,r.A)({},u.localeText,{timePickerToolbarTitle:u.localeText.toolbarTitle})),[u.localeText]);return(0,r.A)({},u,{ampm:c,localeText:d},(0,l.R)({views:u.views,openTo:u.openTo,defaultViews:["hours","minutes"],defaultOpenTo:"hours"}),{disableFuture:u.disableFuture??!1,disablePast:u.disablePast??!1,slots:(0,r.A)({toolbar:s.b},u.slots),slotProps:(0,r.A)({},u.slotProps,{toolbar:(0,r.A)({ampm:c,ampmInClock:u.ampmInClock},u.slotProps?.toolbar)})})}},91575:(e,t,n)=>{"use strict";n.d(t,{j:()=>a,n:()=>o});var r=n(11245);function a(e){return(0,r.Ay)("MuiTimePickerToolbar",e)}const o=(0,n(36306).A)("MuiTimePickerToolbar",["root","separator","hourMinuteLabel","hourMinuteLabelLandscape","hourMinuteLabelReverse","ampmSelection","ampmLandscape","ampmLabel"])},38523:(e,t,n)=>{"use strict";n.d(t,{i:()=>I});var r=n(10793),a=n(57126),o=n(96540),i=n(34164),s=n(93944),l=n(98844),u=n(11848),c=n(38888),d=n(85202),p=n(72236),f=n(72463),h=n(79739),m=n(67389),g=n(17862),v=n(92479),y=n(74848);const b=["autoFocus","className","children","disabled","selected","value","tabIndex","onClick","onKeyDown","onFocus","onBlur","aria-current","yearsPerRow","slots","slotProps"],w=(0,u.Ay)("div",{name:"MuiPickersYear",slot:"Root",overridesResolver:(e,t)=>[t.root]})({display:"flex",alignItems:"center",justifyContent:"center",flexBasis:"33.3%",variants:[{props:{yearsPerRow:4},style:{flexBasis:"25%"}}]}),x=(0,u.Ay)("button",{name:"MuiPickersYear",slot:"YearButton",overridesResolver:(e,t)=>[t.yearButton,{[`&.${v.z.disabled}`]:t.disabled},{[`&.${v.z.selected}`]:t.selected}]})((({theme:e})=>(0,a.A)({color:"unset",backgroundColor:"transparent",border:0,outline:0},e.typography.subtitle1,{margin:"6px 0",height:36,width:72,borderRadius:18,cursor:"pointer","&:focus":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.focusOpacity})`:(0,h.X4)(e.palette.action.active,e.palette.action.focusOpacity)},"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,h.X4)(e.palette.action.active,e.palette.action.hoverOpacity)},"&:disabled":{cursor:"auto",pointerEvents:"none"},[`&.${v.z.disabled}`]:{color:(e.vars||e).palette.text.secondary},[`&.${v.z.selected}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.main,"&:focus, &:hover":{backgroundColor:(e.vars||e).palette.primary.dark}}}))),S=o.memo((function(e){const t=(0,l.A)({props:e,name:"MuiPickersYear"}),{autoFocus:n,className:s,children:u,disabled:d,selected:p,value:f,tabIndex:h,onClick:S,onKeyDown:_,onFocus:A,onBlur:C,"aria-current":T,slots:k,slotProps:E}=t,M=(0,r.A)(t,b),P=o.useRef(null),O=(e=>{const{disabled:t,selected:n,classes:r}=e,a={root:["root"],yearButton:["yearButton",t&&"disabled",n&&"selected"]};return(0,c.A)(a,v.X,r)})(t);(0,g.A)((()=>{n&&P.current?.focus()}),[n]);const I=k?.yearButton??x,D=(0,m.A)({elementType:I,externalSlotProps:E?.yearButton,additionalProps:{children:u,disabled:d,tabIndex:h,ref:P,type:"button",role:"radio","aria-current":T,"aria-checked":p,onClick:e=>S(e,f),onKeyDown:e=>_(e,f),onFocus:e=>A(e,f),onBlur:e=>C(e,f)},ownerState:t,className:O.yearButton});return(0,y.jsx)(w,(0,a.A)({className:(0,i.A)(O.root,s),ownerState:t},M,{children:(0,y.jsx)(I,(0,a.A)({},D))}))}));var _=n(45027),A=n(77664),C=n(80916),T=n(90383),k=n(92824),E=n(13016),M=n(25221);const P=["autoFocus","className","value","defaultValue","referenceDate","disabled","disableFuture","disablePast","maxDate","minDate","onChange","readOnly","shouldDisableYear","disableHighlightToday","onYearFocus","hasFocus","onFocusedViewChange","yearsOrder","yearsPerRow","timezone","gridLabelId","slots","slotProps"],O=(0,u.Ay)("div",{name:"MuiYearCalendar",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"flex",flexDirection:"row",flexWrap:"wrap",overflowY:"auto",height:"100%",padding:"0 4px",width:M.eX,maxHeight:M.Yq,boxSizing:"border-box",position:"relative"}),I=o.forwardRef((function(e,t){const n=function(e,t){const n=(0,_.hc)(),r=(0,_.Yg)(),o=(0,l.A)({props:e,name:"MuiYearCalendar"});return(0,a.A)({disablePast:!1,disableFuture:!1},o,{yearsPerRow:o.yearsPerRow??3,minDate:(0,C.IP)(n,o.minDate,r.minDate),maxDate:(0,C.IP)(n,o.maxDate,r.maxDate)})}(e),{autoFocus:u,className:h,value:m,defaultValue:g,referenceDate:v,disabled:b,disableFuture:w,disablePast:x,maxDate:M,minDate:I,onChange:D,readOnly:R,shouldDisableYear:N,onYearFocus:L,hasFocus:$,onFocusedViewChange:j,yearsOrder:F="asc",yearsPerRow:B,timezone:z,gridLabelId:W,slots:V,slotProps:U}=n,H=(0,r.A)(n,P),{value:q,handleValueChange:G,timezone:Y}=(0,E.Y)({name:"YearCalendar",timezone:z,value:m,defaultValue:g,onChange:D,valueManager:T.W}),X=(0,_.cB)(Y),K=(0,s.I)(),Q=(0,_.hc)(),Z=o.useMemo((()=>T.W.getInitialReferenceValue({value:q,utils:Q,props:n,timezone:Y,referenceDate:v,granularity:k.yX.year})),[]),J=n,ee=(e=>{const{classes:t}=e;return(0,c.A)({root:["root"]},A.o,t)})(J),te=o.useMemo((()=>Q.getYear(X)),[Q,X]),ne=o.useMemo((()=>null!=q?Q.getYear(q):null),[q,Q]),[re,ae]=o.useState((()=>ne||Q.getYear(Z))),[oe,ie]=(0,d.A)({name:"YearCalendar",state:"hasFocus",controlled:$,default:u??!1}),se=(0,p.A)((e=>{ie(e),j&&j(e)})),le=o.useCallback((e=>{if(x&&Q.isBeforeYear(e,X))return!0;if(w&&Q.isAfterYear(e,X))return!0;if(I&&Q.isBeforeYear(e,I))return!0;if(M&&Q.isAfterYear(e,M))return!0;if(!N)return!1;const t=Q.startOfYear(e);return N(t)}),[w,x,M,I,X,N,Q]),ue=(0,p.A)(((e,t)=>{if(R)return;const n=Q.setYear(q??Z,t);G(n)})),ce=(0,p.A)((e=>{le(Q.setYear(q??Z,e))||(ae(e),se(!0),L?.(e))}));o.useEffect((()=>{ae((e=>null!==ne&&e!==ne?ne:e))}),[ne]);const de="desc"!==F?1*B:-1*B,pe=K||"desc"===F?-1:1,fe=(0,p.A)(((e,t)=>{switch(e.key){case"ArrowUp":ce(t-de),e.preventDefault();break;case"ArrowDown":ce(t+de),e.preventDefault();break;case"ArrowLeft":ce(t-pe),e.preventDefault();break;case"ArrowRight":ce(t+pe),e.preventDefault()}})),he=(0,p.A)(((e,t)=>{ce(t)})),me=(0,p.A)(((e,t)=>{re===t&&se(!1)})),ge=o.useRef(null),ve=(0,f.A)(t,ge);o.useEffect((()=>{if(u||null===ge.current)return;const e=ge.current.querySelector('[tabindex="0"]');if(!e)return;const t=e.offsetHeight,n=e.offsetTop,r=ge.current.clientHeight,a=ge.current.scrollTop,o=n+t;t>r||n{const t=Q.getYear(e),n=t===ne,r=b||le(e);return(0,y.jsx)(S,{selected:n,value:t,onClick:ue,onKeyDown:fe,autoFocus:oe&&t===re,disabled:r,tabIndex:t!==re||r?-1:0,onFocus:he,onBlur:me,"aria-current":te===t?"date":void 0,yearsPerRow:B,slots:V,slotProps:U,children:Q.format(e,"year")},Q.format(e,"year"))}))}))}))},92479:(e,t,n)=>{"use strict";n.d(t,{X:()=>a,z:()=>o});var r=n(11245);function a(e){return(0,r.Ay)("MuiPickersYear",e)}const o=(0,n(36306).A)("MuiPickersYear",["root","yearButton","selected","disabled"])},77664:(e,t,n)=>{"use strict";n.d(t,{E:()=>o,o:()=>a});var r=n(11245);function a(e){return(0,r.Ay)("MuiYearCalendar",e)}const o=(0,n(36306).A)("MuiYearCalendar",["root"])},66130:(e,t,n)=>{"use strict";n.d(t,{W:()=>i}),n(96540);var r=n(42474),a=n(80916),o=n(74848);const i=({view:e,onViewChange:t,views:n,focusedView:i,onFocusedViewChange:s,value:l,defaultValue:u,referenceDate:c,onChange:d,className:p,classes:f,disableFuture:h,disablePast:m,minDate:g,maxDate:v,shouldDisableDate:y,shouldDisableMonth:b,shouldDisableYear:w,reduceAnimations:x,onMonthChange:S,monthsPerRow:_,onYearChange:A,yearsOrder:C,yearsPerRow:T,slots:k,slotProps:E,loading:M,renderLoading:P,disableHighlightToday:O,readOnly:I,disabled:D,showDaysOutsideCurrentMonth:R,dayOfWeekFormatter:N,sx:L,autoFocus:$,fixedWeekNumber:j,displayWeekNumber:F,timezone:B})=>(0,o.jsx)(r.x,{view:e,onViewChange:t,views:n.filter(a.sC),focusedView:i&&(0,a.sC)(i)?i:null,onFocusedViewChange:s,value:l,defaultValue:u,referenceDate:c,onChange:d,className:p,classes:f,disableFuture:h,disablePast:m,minDate:g,maxDate:v,shouldDisableDate:y,shouldDisableMonth:b,shouldDisableYear:w,reduceAnimations:x,onMonthChange:S,monthsPerRow:_,onYearChange:A,yearsOrder:C,yearsPerRow:T,slots:k,slotProps:E,loading:M,renderLoading:P,disableHighlightToday:O,readOnly:I,disabled:D,showDaysOutsideCurrentMonth:R,dayOfWeekFormatter:N,sx:L,autoFocus:$,fixedWeekNumber:j,displayWeekNumber:F,timezone:B})},78942:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var r=n(57126),a=n(10793),o=n(96540),i=n(67389),s=n(19455),l=n(29153),u=n(71196),c=n(10950),d=n(74848);const p=["clearable","onClear","InputProps","sx","slots","slotProps"],f=["ownerState"],h=e=>{const t=(0,c.b)(),{clearable:n,onClear:h,InputProps:m,sx:g,slots:v,slotProps:y}=e,b=(0,a.A)(e,p),w=v?.clearButton??s.A,x=(0,i.A)({elementType:w,externalSlotProps:y?.clearButton,ownerState:{},className:"clearButton",additionalProps:{title:t.fieldClearLabel}}),S=(0,a.A)(x,f),_=v?.clearIcon??u.vu,A=(0,i.A)({elementType:_,externalSlotProps:y?.clearIcon,ownerState:{}});return(0,r.A)({},b,{InputProps:(0,r.A)({},m,{endAdornment:(0,d.jsxs)(o.Fragment,{children:[n&&(0,d.jsx)(l.A,{position:"end",sx:{marginRight:m?.endAdornment?-1:-1.5},children:(0,d.jsx)(w,(0,r.A)({},S,{onClick:h,children:(0,d.jsx)(_,(0,r.A)({fontSize:"small"},A))}))}),m?.endAdornment]})}),sx:[{"& .clearButton":{opacity:1},"@media (pointer: fine)":{"& .clearButton":{opacity:0},"&:hover, &:focus-within":{".clearButton":{opacity:1}}}},...Array.isArray(g)?g:[g]]})}},10950:(e,t,n)=>{"use strict";n.d(t,{b:()=>a});var r=n(45027);const a=()=>(0,r.u)().localeText},64799:(e,t,n)=>{"use strict";n.d(t,{o:()=>s});var r=n(57126),a=n(96540),o=n(14385);const i=["value","defaultValue","referenceDate","format","formatDensity","onChange","timezone","onError","shouldRespectLeadingZeros","selectedSections","onSelectedSectionsChange","unstableFieldRef","enableAccessibleFieldDOMStructure","disabled","readOnly","dateSeparator"],s=(e,t)=>a.useMemo((()=>{const n=(0,r.A)({},e),a={},s=e=>{n.hasOwnProperty(e)&&(a[e]=n[e],delete n[e])};return i.forEach(s),"date"===t?o.eu.forEach(s):"time"===t?o.$5.forEach(s):"date-time"===t&&(o.eu.forEach(s),o.$5.forEach(s),o.QG.forEach(s)),{forwardedProps:n,internalProps:a}}),[e,t])},71196:(e,t,n)=>{"use strict";n.d(t,{A6:()=>s,CT:()=>u,O4:()=>c,Z5:()=>d,b1:()=>p,fl:()=>l,iV:()=>i,vu:()=>f});var r=n(20561),a=n(96540),o=n(74848);const i=(0,r.A)((0,o.jsx)("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),s=(0,r.A)((0,o.jsx)("path",{d:"M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"}),"ArrowLeft"),l=(0,r.A)((0,o.jsx)("path",{d:"M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"}),"ArrowRight"),u=(0,r.A)((0,o.jsx)("path",{d:"M17 12h-5v5h5v-5zM16 1v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-1V1h-2zm3 18H5V8h14v11z"}),"Calendar"),c=(0,r.A)((0,o.jsxs)(a.Fragment,{children:[(0,o.jsx)("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),(0,o.jsx)("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"})]}),"Clock"),d=(0,r.A)((0,o.jsx)("path",{d:"M9 11H7v2h2v-2zm4 0h-2v2h2v-2zm4 0h-2v2h2v-2zm2-7h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V9h14v11z"}),"DateRange"),p=(0,r.A)((0,o.jsxs)(a.Fragment,{children:[(0,o.jsx)("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),(0,o.jsx)("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"})]}),"Time"),f=(0,r.A)((0,o.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Clear")},27261:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ArrowDropDownIcon:()=>Xe.iV,ArrowLeftIcon:()=>Xe.A6,ArrowRightIcon:()=>Xe.fl,CalendarIcon:()=>Xe.CT,ClearIcon:()=>Xe.vu,ClockIcon:()=>Xe.O4,DEFAULT_DESKTOP_MODE_MEDIA_QUERY:()=>Ye.jX,DateCalendar:()=>S.x,DateField:()=>g.v,DatePicker:()=>ee.DatePicker,DatePickerToolbar:()=>ee.DatePickerToolbar,DateRangeIcon:()=>Xe.Z5,DateTimeField:()=>w.I,DateTimePicker:()=>_e.DateTimePicker,DateTimePickerTabs:()=>_e.DateTimePickerTabs,DateTimePickerToolbar:()=>_e.DateTimePickerToolbar,DayCalendarSkeleton:()=>J,DesktopDatePicker:()=>te.T,DesktopDateTimePicker:()=>Ae.U,DesktopDateTimePickerLayout:()=>Ce.U,DesktopTimePicker:()=>ve.U,DigitalClock:()=>l.N,LocalizationProvider:()=>f.LocalizationProvider,MobileDatePicker:()=>ne.$,MobileDateTimePicker:()=>Te.E,MobileTimePicker:()=>ye.o,MonthCalendar:()=>k.T,MuiPickersAdapterContext:()=>f.MuiPickersAdapterContext,MultiSectionDigitalClock:()=>c.z,PickersActionBar:()=>Ie.L,PickersCalendarHeader:()=>Ne.V,PickersDay:()=>h.a,PickersFilledInput:()=>Be.W,PickersInput:()=>je.a,PickersInputBase:()=>Ue.jv,PickersLayout:()=>ue.CJ,PickersLayoutContentWrapper:()=>ue.IU,PickersLayoutRoot:()=>ue.Kr,PickersOutlinedInput:()=>We.w,PickersShortcuts:()=>De.f,PickersTextField:()=>Le.X,StaticDatePicker:()=>me,StaticDateTimePicker:()=>Me,StaticTimePicker:()=>Se,TimeClock:()=>r.a,TimeField:()=>y.Q,TimeIcon:()=>Xe.b1,TimePicker:()=>ge.TimePicker,TimePickerToolbar:()=>ge.TimePickerToolbar,Unstable_PickersSectionList:()=>qe.fI,Unstable_PickersSectionListRoot:()=>qe.tl,Unstable_PickersSectionListSection:()=>qe.er,Unstable_PickersSectionListSectionContent:()=>qe.vK,Unstable_PickersSectionListSectionSeparator:()=>qe.jp,YearCalendar:()=>P.i,clockClasses:()=>a.N,clockNumberClasses:()=>o.q,clockPointerClasses:()=>s.S,dateCalendarClasses:()=>_.r,datePickerToolbarClasses:()=>ee.datePickerToolbarClasses,dateTimePickerTabsClasses:()=>_e.dateTimePickerTabsClasses,dateTimePickerToolbarClasses:()=>_e.dateTimePickerToolbarClasses,dayCalendarClasses:()=>A.f,dayCalendarSkeletonClasses:()=>H,digitalClockClasses:()=>u.X,extractValidationProps:()=>Je.zd,getDateCalendarUtilityClass:()=>_.$,getDayCalendarSkeletonUtilityClass:()=>U,getDigitalClockUtilityClass:()=>u.L,getMonthCalendarUtilityClass:()=>E.x,getMultiSectionDigitalClockUtilityClass:()=>p.h,getPickersDayUtilityClass:()=>m.m,getPickersFilledInputUtilityClass:()=>ze.u,getPickersInputBaseUtilityClass:()=>He.l,getPickersInputUtilityClass:()=>Fe.e,getPickersOutlinedInputUtilityClass:()=>Ve.G,getPickersSectionListUtilityClass:()=>Ge.b,getPickersTextFieldUtilityClass:()=>$e.d,getTimeClockUtilityClass:()=>i.Y,getYearCalendarUtilityClass:()=>O.o,monthCalendarClasses:()=>E.b,multiSectionDigitalClockClasses:()=>p.L,multiSectionDigitalClockSectionClasses:()=>d.w,pickersCalendarHeaderClasses:()=>Re.H,pickersDayClasses:()=>m.Q,pickersFadeTransitionGroupClasses:()=>C.r,pickersFilledInputClasses:()=>ze.C,pickersInputBaseClasses:()=>He.R,pickersInputClasses:()=>Fe.a,pickersLayoutClasses:()=>Oe.k,pickersMonthClasses:()=>M.m,pickersOutlinedInputClasses:()=>Ve.q,pickersSectionListClasses:()=>Ge.T,pickersSlideTransitionClasses:()=>T.U,pickersTextFieldClasses:()=>$e.f,pickersYearClasses:()=>I.z,renderDateViewCalendar:()=>ie.W,renderDigitalClockTimeView:()=>we.$W,renderMultiSectionDigitalClockTimeView:()=>we.$8,renderTimeViewClock:()=>we.Zo,timeClockClasses:()=>i.G,timePickerToolbarClasses:()=>ge.timePickerToolbarClasses,unstable_useDateField:()=>v.c,unstable_useDateTimeField:()=>x.p,unstable_useTimeField:()=>b.p,useClearableField:()=>Ke.Z,usePickerLayout:()=>Pe.A,usePickersTranslations:()=>Qe.b,useSplitFieldProps:()=>Ze.o,useValidation:()=>et.$,validateDate:()=>fe.Z,validateDateTime:()=>Ee.q,validateTime:()=>xe.i,yearCalendarClasses:()=>O.E});var r=n(56285),a=n(74033),o=n(46426),i=n(99448),s=n(75022),l=n(52776),u=n(42330),c=n(41268),d=n(24525),p=n(82470),f=n(64354),h=n(71922),m=n(62288),g=n(33262),v=n(17025),y=n(20442),b=n(49619),w=n(76690),x=n(64691),S=n(42474),_=n(87306),A=n(88822),C=n(87787),T=n(55449),k=n(75631),E=n(45200),M=n(38751),P=n(38523),O=n(77664),I=n(92479),D=n(57126),R=n(10793),N=n(96540),L=n(34164),$=n(47035),j=n(11848),F=n(98844),B=n(38888),z=n(25221),W=n(11245),V=n(36306);const U=e=>(0,W.Ay)("MuiDayCalendarSkeleton",e),H=(0,V.A)("MuiDayCalendarSkeleton",["root","week","daySkeleton"]);var q=n(74848);const G=["className"],Y=e=>{const{classes:t}=e;return(0,B.A)({root:["root"],week:["week"],daySkeleton:["daySkeleton"]},U,t)},X=(0,j.Ay)("div",{name:"MuiDayCalendarSkeleton",slot:"Root",overridesResolver:(e,t)=>t.root})({alignSelf:"start"}),K=(0,j.Ay)("div",{name:"MuiDayCalendarSkeleton",slot:"Week",overridesResolver:(e,t)=>t.week})({margin:`${z.y0}px 0`,display:"flex",justifyContent:"center"}),Q=(0,j.Ay)($.A,{name:"MuiDayCalendarSkeleton",slot:"DaySkeleton",overridesResolver:(e,t)=>t.daySkeleton})({margin:`0 ${z.y0}px`,variants:[{props:{day:0},style:{visibility:"hidden"}}]}),Z=[[0,1,1,1,1,1,1],[1,1,1,1,1,1,1],[1,1,1,1,1,1,1],[1,1,1,1,1,1,1],[1,1,1,1,0,0,0]];function J(e){const t=(0,F.A)({props:e,name:"MuiDayCalendarSkeleton"}),{className:n}=t,r=(0,R.A)(t,G),a=Y(r);return(0,q.jsx)(X,(0,D.A)({className:(0,L.A)(a.root,n)},r,{children:Z.map(((e,t)=>(0,q.jsx)(K,{className:a.week,children:e.map(((e,t)=>(0,q.jsx)(Q,{variant:"circular",width:z.B3,height:z.B3,className:a.daySkeleton,ownerState:{day:e}},t)))},t)))}))}var ee=n(96411),te=n(17522),ne=n(12716),re=n(8207),ae=n.n(re),oe=n(17559),ie=n(66130),se=n(67199),le=n(72692),ue=n(3726);const ce=["props","ref"],de=(0,j.Ay)(ue.CJ)((({theme:e})=>({overflow:"hidden",minWidth:z.eX,backgroundColor:(e.vars||e).palette.background.paper}))),pe=e=>{let{props:t,ref:n}=e,r=(0,R.A)(e,ce);const{localeText:a,slots:o,slotProps:i,className:s,sx:l,displayStaticWrapperAs:u,autoFocus:c}=t,{layoutProps:d,renderCurrentView:p}=(0,se.k)((0,D.A)({},r,{props:t,autoFocusView:c??!1,fieldRef:void 0,additionalViewProps:{},wrapperVariant:u})),f=o?.layout??de;return{renderPicker:()=>(0,q.jsx)(le.$,{localeText:a,children:(0,q.jsx)(f,(0,D.A)({},d,i?.layout,{slots:o,slotProps:i,sx:[...Array.isArray(l)?l:[l],...Array.isArray(i?.layout?.sx)?i.layout.sx:[i?.layout?.sx]],className:(0,L.A)(s,i?.layout?.className),ref:n,children:p()}))})}};var fe=n(41711),he=n(90383);const me=N.forwardRef((function(e,t){const n=(0,oe.D)(e,"MuiStaticDatePicker"),r=n.displayStaticWrapperAs??"mobile",a=(0,D.A)({day:ie.W,month:ie.W,year:ie.W},n.viewRenderers),o=(0,D.A)({},n,{viewRenderers:a,displayStaticWrapperAs:r,yearsPerRow:n.yearsPerRow??("mobile"===r?3:4),slotProps:(0,D.A)({},n.slotProps,{toolbar:(0,D.A)({hidden:"desktop"===r},n.slotProps?.toolbar)})}),{renderPicker:i}=pe({props:o,valueManager:he.W,valueType:"date",validator:fe.Z,ref:t});return i()}));me.propTypes={autoFocus:ae().bool,className:ae().string,dayOfWeekFormatter:ae().func,defaultValue:ae().object,disabled:ae().bool,disableFuture:ae().bool,disableHighlightToday:ae().bool,disablePast:ae().bool,displayStaticWrapperAs:ae().oneOf(["desktop","mobile"]),displayWeekNumber:ae().bool,fixedWeekNumber:ae().number,loading:ae().bool,localeText:ae().object,maxDate:ae().object,minDate:ae().object,monthsPerRow:ae().oneOf([3,4]),onAccept:ae().func,onChange:ae().func,onClose:ae().func,onError:ae().func,onMonthChange:ae().func,onViewChange:ae().func,onYearChange:ae().func,openTo:ae().oneOf(["day","month","year"]),orientation:ae().oneOf(["landscape","portrait"]),readOnly:ae().bool,reduceAnimations:ae().bool,referenceDate:ae().object,renderLoading:ae().func,shouldDisableDate:ae().func,shouldDisableMonth:ae().func,shouldDisableYear:ae().func,showDaysOutsideCurrentMonth:ae().bool,slotProps:ae().object,slots:ae().object,sx:ae().oneOfType([ae().arrayOf(ae().oneOfType([ae().func,ae().object,ae().bool])),ae().func,ae().object]),timezone:ae().string,value:ae().object,view:ae().oneOf(["day","month","year"]),viewRenderers:ae().shape({day:ae().func,month:ae().func,year:ae().func}),views:ae().arrayOf(ae().oneOf(["day","month","year"]).isRequired),yearsOrder:ae().oneOf(["asc","desc"]),yearsPerRow:ae().oneOf([3,4])};var ge=n(67384),ve=n(94034),ye=n(72098),be=n(45116),we=n(24034),xe=n(99654);const Se=N.forwardRef((function(e,t){const n=(0,be.k)(e,"MuiStaticTimePicker"),r=n.displayStaticWrapperAs??"mobile",a=n.ampmInClock??"desktop"===r,o=(0,D.A)({hours:we.Zo,minutes:we.Zo,seconds:we.Zo},n.viewRenderers),i=(0,D.A)({},n,{viewRenderers:o,displayStaticWrapperAs:r,ampmInClock:a,slotProps:(0,D.A)({},n.slotProps,{toolbar:(0,D.A)({hidden:"desktop"===r,ampmInClock:a},n.slotProps?.toolbar)})}),{renderPicker:s}=pe({props:i,valueManager:he.W,valueType:"time",validator:xe.i,ref:t});return s()}));Se.propTypes={ampm:ae().bool,ampmInClock:ae().bool,autoFocus:ae().bool,className:ae().string,defaultValue:ae().object,disabled:ae().bool,disableFuture:ae().bool,disableIgnoringDatePartForTimeValidation:ae().bool,disablePast:ae().bool,displayStaticWrapperAs:ae().oneOf(["desktop","mobile"]),localeText:ae().object,maxTime:ae().object,minTime:ae().object,minutesStep:ae().number,onAccept:ae().func,onChange:ae().func,onClose:ae().func,onError:ae().func,onViewChange:ae().func,openTo:ae().oneOf(["hours","minutes","seconds"]),orientation:ae().oneOf(["landscape","portrait"]),readOnly:ae().bool,reduceAnimations:ae().bool,referenceDate:ae().object,shouldDisableTime:ae().func,slotProps:ae().object,slots:ae().object,sx:ae().oneOfType([ae().arrayOf(ae().oneOfType([ae().func,ae().object,ae().bool])),ae().func,ae().object]),timezone:ae().string,value:ae().object,view:ae().oneOf(["hours","minutes","seconds"]),viewRenderers:ae().shape({hours:ae().func,minutes:ae().func,seconds:ae().func}),views:ae().arrayOf(ae().oneOf(["hours","minutes","seconds"]).isRequired)};var _e=n(34174),Ae=n(65658),Ce=n(36352),Te=n(42698),ke=n(46464),Ee=n(64618);const Me=N.forwardRef((function(e,t){const n=(0,ke.u)(e,"MuiStaticDateTimePicker"),r=n.displayStaticWrapperAs??"mobile",a=n.ampmInClock??"desktop"===r,o=(0,D.A)({day:ie.W,month:ie.W,year:ie.W,hours:we.Zo,minutes:we.Zo,seconds:we.Zo},n.viewRenderers),i=(0,D.A)({},n,{viewRenderers:o,displayStaticWrapperAs:r,ampmInClock:a,yearsPerRow:n.yearsPerRow??("mobile"===r?3:4),slotProps:(0,D.A)({},n.slotProps,{tabs:(0,D.A)({hidden:"desktop"===r},n.slotProps?.tabs),toolbar:(0,D.A)({hidden:"desktop"===r,ampmInClock:a},n.slotProps?.toolbar)})}),{renderPicker:s}=pe({props:i,valueManager:he.W,valueType:"date-time",validator:Ee.q,ref:t});return s()}));Me.propTypes={ampm:ae().bool,ampmInClock:ae().bool,autoFocus:ae().bool,className:ae().string,dayOfWeekFormatter:ae().func,defaultValue:ae().object,disabled:ae().bool,disableFuture:ae().bool,disableHighlightToday:ae().bool,disableIgnoringDatePartForTimeValidation:ae().bool,disablePast:ae().bool,displayStaticWrapperAs:ae().oneOf(["desktop","mobile"]),displayWeekNumber:ae().bool,fixedWeekNumber:ae().number,loading:ae().bool,localeText:ae().object,maxDate:ae().object,maxDateTime:ae().object,maxTime:ae().object,minDate:ae().object,minDateTime:ae().object,minTime:ae().object,minutesStep:ae().number,monthsPerRow:ae().oneOf([3,4]),onAccept:ae().func,onChange:ae().func,onClose:ae().func,onError:ae().func,onMonthChange:ae().func,onViewChange:ae().func,onYearChange:ae().func,openTo:ae().oneOf(["day","hours","minutes","month","seconds","year"]),orientation:ae().oneOf(["landscape","portrait"]),readOnly:ae().bool,reduceAnimations:ae().bool,referenceDate:ae().object,renderLoading:ae().func,shouldDisableDate:ae().func,shouldDisableMonth:ae().func,shouldDisableTime:ae().func,shouldDisableYear:ae().func,showDaysOutsideCurrentMonth:ae().bool,slotProps:ae().object,slots:ae().object,sx:ae().oneOfType([ae().arrayOf(ae().oneOfType([ae().func,ae().object,ae().bool])),ae().func,ae().object]),timezone:ae().string,value:ae().object,view:ae().oneOf(["day","hours","minutes","month","seconds","year"]),viewRenderers:ae().shape({day:ae().func,hours:ae().func,minutes:ae().func,month:ae().func,seconds:ae().func,year:ae().func}),views:ae().arrayOf(ae().oneOf(["day","hours","minutes","month","seconds","year"]).isRequired),yearsOrder:ae().oneOf(["asc","desc"]),yearsPerRow:ae().oneOf([3,4])};var Pe=n(27596),Oe=n(85636),Ie=n(61952),De=n(12108),Re=n(56192),Ne=n(51650),Le=n(6852),$e=n(90750),je=n(31809),Fe=n(34865),Be=n(67193),ze=n(67657),We=n(50130),Ve=n(58641),Ue=n(29411),He=n(72719),qe=n(45979),Ge=n(42746),Ye=n(18903),Xe=n(71196),Ke=n(78942),Qe=n(10950),Ze=n(64799),Je=n(14385),et=n(60013)},84022:(e,t,n)=>{"use strict";n.d(t,{I:()=>o});var r=n(11848),a=n(25221);const o=(0,r.Ay)("div")({overflow:"hidden",width:a.eX,maxHeight:a.Y2,display:"flex",flexDirection:"column",margin:"0 auto"})},83976:(e,t,n)=>{"use strict";n.d(t,{Y:()=>A});var r=n(57126),a=n(10793),o=n(96540),i=n(34164),s=n(33551),l=n(93944),u=n(11848),c=n(98844),d=n(38888),p=n(67389),f=n(19455),h=n(71196),m=n(11245);function g(e){return(0,m.Ay)("MuiPickersArrowSwitcher",e)}(0,n(36306).A)("MuiPickersArrowSwitcher",["root","spacer","button","previousIconButton","nextIconButton","leftArrowIcon","rightArrowIcon"]);var v=n(74848);const y=["children","className","slots","slotProps","isNextDisabled","isNextHidden","onGoToNext","nextLabel","isPreviousDisabled","isPreviousHidden","onGoToPrevious","previousLabel","labelId"],b=["ownerState"],w=["ownerState"],x=(0,u.Ay)("div",{name:"MuiPickersArrowSwitcher",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"flex"}),S=(0,u.Ay)("div",{name:"MuiPickersArrowSwitcher",slot:"Spacer",overridesResolver:(e,t)=>t.spacer})((({theme:e})=>({width:e.spacing(3)}))),_=(0,u.Ay)(f.A,{name:"MuiPickersArrowSwitcher",slot:"Button",overridesResolver:(e,t)=>t.button})({variants:[{props:{hidden:!0},style:{visibility:"hidden"}}]}),A=o.forwardRef((function(e,t){const n=(0,l.I)(),o=(0,c.A)({props:e,name:"MuiPickersArrowSwitcher"}),{children:u,className:f,slots:m,slotProps:A,isNextDisabled:C,isNextHidden:T,onGoToNext:k,nextLabel:E,isPreviousDisabled:M,isPreviousHidden:P,onGoToPrevious:O,previousLabel:I,labelId:D}=o,R=(0,a.A)(o,y),N=o,L=(e=>{const{classes:t}=e;return(0,d.A)({root:["root"],spacer:["spacer"],button:["button"],previousIconButton:["previousIconButton"],nextIconButton:["nextIconButton"],leftArrowIcon:["leftArrowIcon"],rightArrowIcon:["rightArrowIcon"]},g,t)})(N),$={isDisabled:C,isHidden:T,goTo:k,label:E},j={isDisabled:M,isHidden:P,goTo:O,label:I},F=m?.previousIconButton??_,B=(0,p.A)({elementType:F,externalSlotProps:A?.previousIconButton,additionalProps:{size:"medium",title:j.label,"aria-label":j.label,disabled:j.isDisabled,edge:"end",onClick:j.goTo},ownerState:(0,r.A)({},N,{hidden:j.isHidden}),className:(0,i.A)(L.button,L.previousIconButton)}),z=m?.nextIconButton??_,W=(0,p.A)({elementType:z,externalSlotProps:A?.nextIconButton,additionalProps:{size:"medium",title:$.label,"aria-label":$.label,disabled:$.isDisabled,edge:"start",onClick:$.goTo},ownerState:(0,r.A)({},N,{hidden:$.isHidden}),className:(0,i.A)(L.button,L.nextIconButton)}),V=m?.leftArrowIcon??h.A6,U=(0,p.A)({elementType:V,externalSlotProps:A?.leftArrowIcon,additionalProps:{fontSize:"inherit"},ownerState:N,className:L.leftArrowIcon}),H=(0,a.A)(U,b),q=m?.rightArrowIcon??h.fl,G=(0,p.A)({elementType:q,externalSlotProps:A?.rightArrowIcon,additionalProps:{fontSize:"inherit"},ownerState:N,className:L.rightArrowIcon}),Y=(0,a.A)(G,w);return(0,v.jsxs)(x,(0,r.A)({ref:t,className:(0,i.A)(L.root,f),ownerState:N},R,{children:[(0,v.jsx)(F,(0,r.A)({},B,{children:n?(0,v.jsx)(q,(0,r.A)({},Y)):(0,v.jsx)(V,(0,r.A)({},H))})),u?(0,v.jsx)(s.A,{variant:"subtitle1",component:"span",id:D,children:u}):(0,v.jsx)(S,{className:L.spacer,ownerState:N}),(0,v.jsx)(z,(0,r.A)({},W,{children:n?(0,v.jsx)(V,(0,r.A)({},H)):(0,v.jsx)(q,(0,r.A)({},Y))}))]}))}))},9695:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});var r=n(57126),a=n(10793),o=n(96540),i=n(34164),s=n(33551),l=n(11848),u=n(98844),c=n(38888),d=n(12331),p=n(74848);const f=["children","className","toolbarTitle","hidden","titleId","isLandscape","classes","landscapeDirection"],h=(0,l.Ay)("div",{name:"MuiPickersToolbar",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"space-between",padding:e.spacing(2,3),variants:[{props:{isLandscape:!0},style:{height:"auto",maxWidth:160,padding:16,justifyContent:"flex-start",flexWrap:"wrap"}}]}))),m=(0,l.Ay)("div",{name:"MuiPickersToolbar",slot:"Content",overridesResolver:(e,t)=>t.content})({display:"flex",flexWrap:"wrap",width:"100%",flex:1,justifyContent:"space-between",alignItems:"center",flexDirection:"row",variants:[{props:{isLandscape:!0},style:{justifyContent:"flex-start",alignItems:"flex-start",flexDirection:"column"}},{props:{isLandscape:!0,landscapeDirection:"row"},style:{flexDirection:"row"}}]}),g=o.forwardRef((function(e,t){const n=(0,u.A)({props:e,name:"MuiPickersToolbar"}),{children:o,className:l,toolbarTitle:g,hidden:v,titleId:y}=n,b=(0,a.A)(n,f),w=n,x=(e=>{const{classes:t,isLandscape:n}=e,r={root:["root"],content:["content"],penIconButton:["penIconButton",n&&"penIconButtonLandscape"]};return(0,c.A)(r,d.B,t)})(w);return v?null:(0,p.jsxs)(h,(0,r.A)({ref:t,className:(0,i.A)(x.root,l),ownerState:w},b,{children:[(0,p.jsx)(s.A,{color:"text.secondary",variant:"overline",id:y,children:g}),(0,p.jsx)(m,{className:x.content,ownerState:w,children:o})]}))}))},93987:(e,t,n)=>{"use strict";n.d(t,{R:()=>g});var r=n(57126),a=n(10793),o=n(96540),i=n(34164),s=n(84798),l=n(11848),u=n(98844),c=n(38888),d=n(11756),p=n(12331),f=n(74848);const h=["align","className","selected","typographyClassName","value","variant","width"],m=(0,l.Ay)(s.A,{name:"MuiPickersToolbarButton",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:0,minWidth:16,textTransform:"none"}),g=o.forwardRef((function(e,t){const n=(0,u.A)({props:e,name:"MuiPickersToolbarButton"}),{align:o,className:s,selected:l,typographyClassName:g,value:v,variant:y,width:b}=n,w=(0,a.A)(n,h),x=(e=>{const{classes:t}=e;return(0,c.A)({root:["root"]},p.B,t)})(n);return(0,f.jsx)(m,(0,r.A)({variant:"text",ref:t,className:(0,i.A)(s,x.root)},b?{sx:{width:b}}:{},w,{children:(0,f.jsx)(d.k,{align:o,className:g,variant:y,value:v,selected:l})}))}))},11756:(e,t,n)=>{"use strict";n.d(t,{k:()=>m});var r=n(57126),a=n(10793),o=n(96540),i=n(34164),s=n(33551),l=n(11848),u=n(98844),c=n(38888),d=n(58374),p=n(74848);const f=["className","selected","value"],h=(0,l.Ay)(s.A,{name:"MuiPickersToolbarText",slot:"Root",overridesResolver:(e,t)=>[t.root,{[`&.${d.S.selected}`]:t.selected}]})((({theme:e})=>({transition:e.transitions.create("color"),color:(e.vars||e).palette.text.secondary,[`&.${d.S.selected}`]:{color:(e.vars||e).palette.text.primary}}))),m=o.forwardRef((function(e,t){const n=(0,u.A)({props:e,name:"MuiPickersToolbarText"}),{className:o,value:s}=n,l=(0,a.A)(n,f),m=(e=>{const{classes:t,selected:n}=e,r={root:["root",n&&"selected"]};return(0,c.A)(r,d.Q,t)})(n);return(0,p.jsx)(h,(0,r.A)({ref:t,className:(0,i.A)(o,m.root),component:"span"},l,{children:s}))}))},12331:(e,t,n)=>{"use strict";n.d(t,{B:()=>a,N:()=>o});var r=n(11245);function a(e){return(0,r.Ay)("MuiPickersToolbar",e)}const o=(0,n(36306).A)("MuiPickersToolbar",["root","content"])},58374:(e,t,n)=>{"use strict";n.d(t,{Q:()=>a,S:()=>o});var r=n(11245);function a(e){return(0,r.Ay)("MuiPickersToolbarText",e)}const o=(0,n(36306).A)("MuiPickersToolbarText",["root","selected"])},25221:(e,t,n)=>{"use strict";n.d(t,{B3:()=>r,Y2:()=>s,Yq:()=>i,aG:()=>u,eX:()=>o,kP:()=>l,y0:()=>a});const r=36,a=2,o=320,i=280,s=336,l=232,u=48},14254:(e,t,n)=>{"use strict";n.d(t,{bH:()=>i,p_:()=>s,r7:()=>l});var r=n(96540),a=n(45027),o=n(35421);function i(e,{disableFuture:t,maxDate:n,timezone:o}){const i=(0,a.hc)();return r.useMemo((()=>{const r=i.date(void 0,o),a=i.startOfMonth(t&&i.isBefore(r,n)?r:n);return!i.isAfter(a,e)}),[t,n,e,i,o])}function s(e,{disablePast:t,minDate:n,timezone:o}){const i=(0,a.hc)();return r.useMemo((()=>{const r=i.date(void 0,o),a=i.startOfMonth(t&&i.isAfter(r,n)?r:n);return!i.isBefore(a,e)}),[t,n,e,i,o])}function l(e,t,n,i){const s=(0,a.hc)();return{meridiemMode:(0,o.fX)(e,s),handleMeridiemChange:r.useCallback((r=>{const a=null==e?null:(0,o.tB)(e,r,Boolean(t),s);n(a,i??"partial")}),[t,e,n,i,s])}}},9674:(e,t,n)=>{"use strict";n.d(t,{EO:()=>s,LN:()=>i,o_:()=>l});var r=n(57126),a=n(80916),o=n(45027);const i=e=>{const t=(0,o.hc)(),n=(0,o.Yg)();return(0,r.A)({},e,{disablePast:e.disablePast??!1,disableFuture:e.disableFuture??!1,format:e.format??t.formats.keyboardDate,minDate:(0,a.IP)(t,e.minDate,n.minDate),maxDate:(0,a.IP)(t,e.maxDate,n.maxDate)})},s=e=>{const t=(0,o.hc)(),n=e.ampm??t.is12HourCycleInCurrentLocale()?t.formats.fullTime12h:t.formats.fullTime24h;return(0,r.A)({},e,{disablePast:e.disablePast??!1,disableFuture:e.disableFuture??!1,format:e.format??n})},l=e=>{const t=(0,o.hc)(),n=(0,o.Yg)(),i=e.ampm??t.is12HourCycleInCurrentLocale()?t.formats.keyboardDateTime12h:t.formats.keyboardDateTime24h;return(0,r.A)({},e,{disablePast:e.disablePast??!1,disableFuture:e.disableFuture??!1,format:e.format??i,disableIgnoringDatePartForTimeValidation:Boolean(e.minDateTime||e.maxDateTime),minDate:(0,a.IP)(t,e.minDateTime??e.minDate,n.minDate),maxDate:(0,a.IP)(t,e.maxDateTime??e.maxDate,n.maxDate),minTime:e.minDateTime??e.minTime,maxTime:e.maxDateTime??e.maxTime})}},24215:(e,t,n)=>{"use strict";n.d(t,{T:()=>s});var r=n(96540),a=n(90383),o=n(80916),i=n(92824);const s=({value:e,referenceDate:t,utils:n,props:s,timezone:l})=>{const u=r.useMemo((()=>a.W.getInitialReferenceValue({value:e,utils:n,props:s,referenceDate:t,granularity:i.yX.day,timezone:l,getTodayDate:()=>(0,o.ak)(n,l,"date")})),[]);return e??u}},77602:(e,t,n)=>{"use strict";n.d(t,{q:()=>l});var r=n(86819);const a="undefined"!=typeof navigator&&navigator.userAgent.match(/android\s(\d+)|OS\s(\d+)/i),o=a&&a[1]?parseInt(a[1],10):null,i=a&&a[2]?parseInt(a[2],10):null,s=o&&o<10||i&&i<13||!1,l=()=>(0,r.A)("@media (prefers-reduced-motion: reduce)",{defaultMatches:!1})||s},23852:(e,t,n)=>{"use strict";n.d(t,{U:()=>$});var r=n(57126),a=n(10793),o=n(96540),i=n(67389),s=n(29153),l=n(19455),u=n(72463),c=n(54674),d=n(87467),p=n(20973),f=n(34339),h=n(87558),m=n(73524),g=n(38888),v=n(72236);function y(e){return e&&e.ownerDocument||document}var b=n(11848),w=n(98844),x=n(11245);function S(e){return(0,x.Ay)("MuiPickersPopper",e)}(0,n(36306).A)("MuiPickersPopper",["root","paper"]);var _=n(18903),A=n(77602),C=n(74848);const T=["PaperComponent","popperPlacement","ownerState","children","paperSlotProps","paperClasses","onPaperClick","onPaperTouchStart"],k=(0,b.Ay)(h.A,{name:"MuiPickersPopper",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({zIndex:e.zIndex.modal}))),E=(0,b.Ay)(f.A,{name:"MuiPickersPopper",slot:"Paper",overridesResolver:(e,t)=>t.paper})({outline:0,transformOrigin:"top center",variants:[{props:({placement:e})=>["top","top-start","top-end"].includes(e),style:{transformOrigin:"bottom center"}}]}),M=o.forwardRef(((e,t)=>{const{PaperComponent:n,popperPlacement:o,ownerState:s,children:l,paperSlotProps:u,paperClasses:c,onPaperClick:d,onPaperTouchStart:p}=e,f=(0,a.A)(e,T),h=(0,r.A)({},s,{placement:o}),m=(0,i.A)({elementType:n,externalSlotProps:u,additionalProps:{tabIndex:-1,elevation:8,ref:t},className:c,ownerState:h});return(0,C.jsx)(n,(0,r.A)({},f,m,{onClick:e=>{d(e),m.onClick?.(e)},onTouchStart:e=>{p(e),m.onTouchStart?.(e)},ownerState:h,children:l}))}));function P(e){const t=(0,w.A)({props:e,name:"MuiPickersPopper"}),{anchorEl:n,children:a,containerRef:s=null,shouldRestoreFocus:l,onBlur:c,onDismiss:f,open:h,role:b,placement:x,slots:T,slotProps:P,reduceAnimations:O}=t;o.useEffect((()=>{function e(e){h&&"Escape"===e.key&&f()}return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}}),[f,h]);const I=o.useRef(null);o.useEffect((()=>{"tooltip"===b||l&&!l()||(h?I.current=(0,_.bq)(document):I.current&&I.current instanceof HTMLElement&&setTimeout((()=>{I.current instanceof HTMLElement&&I.current.focus()})))}),[h,b,l]);const[D,R,N]=function(e,t){const n=o.useRef(!1),r=o.useRef(!1),a=o.useRef(null),i=o.useRef(!1);o.useEffect((()=>{if(e)return document.addEventListener("mousedown",t,!0),document.addEventListener("touchstart",t,!0),()=>{document.removeEventListener("mousedown",t,!0),document.removeEventListener("touchstart",t,!0),i.current=!1};function t(){i.current=!0}}),[e]);const s=(0,v.A)((e=>{if(!i.current)return;const o=r.current;r.current=!1;const s=y(a.current);if(!a.current||"clientX"in e&&function(e,t){return t.documentElement.clientWidth-1:!s.documentElement.contains(e.target)||a.current.contains(e.target),l||o||t(e)})),l=()=>{r.current=!0};return o.useEffect((()=>{if(e){const e=y(a.current),t=()=>{n.current=!0};return e.addEventListener("touchstart",s),e.addEventListener("touchmove",t),()=>{e.removeEventListener("touchstart",s),e.removeEventListener("touchmove",t)}}}),[e,s]),o.useEffect((()=>{if(e){const e=y(a.current);return e.addEventListener("click",s),()=>{e.removeEventListener("click",s),r.current=!1}}}),[e,s]),[a,l,l]}(h,c??f),L=o.useRef(null),$=(0,u.A)(L,s),j=(0,u.A)($,D),F=t,B=(e=>{const{classes:t}=e;return(0,g.A)({root:["root"],paper:["paper"]},S,t)})(F),z=(0,A.q)(),W=O??z,V=T?.desktopTransition??W?p.A:d.A,U=T?.desktopTrapFocus??m.A,H=T?.desktopPaper??E,q=T?.popper??k,G=(0,i.A)({elementType:q,externalSlotProps:P?.popper,additionalProps:{transition:!0,role:b,open:h,anchorEl:n,placement:x,onKeyDown:e=>{"Escape"===e.key&&(e.stopPropagation(),f())}},className:B.root,ownerState:t});return(0,C.jsx)(q,(0,r.A)({},G,{children:({TransitionProps:e,placement:t})=>(0,C.jsx)(U,(0,r.A)({open:h,disableAutoFocus:!0,disableRestoreFocus:!0,disableEnforceFocus:"tooltip"===b,isEnabled:()=>!0},P?.desktopTrapFocus,{children:(0,C.jsx)(V,(0,r.A)({},e,P?.desktopTransition,{children:(0,C.jsx)(M,{PaperComponent:H,ownerState:F,popperPlacement:t,ref:j,onPaperClick:R,onPaperTouchStart:N,paperClasses:B.paper,paperSlotProps:P?.desktopPaper,children:a})}))}))}))}var O=n(67199),I=n(72692),D=n(3726);const R=["props","getOpenDialogAriaText"],N=["ownerState"],L=["ownerState"],$=e=>{let{props:t,getOpenDialogAriaText:n}=e,d=(0,a.A)(e,R);const{slots:p,slotProps:f,className:h,sx:m,format:g,formatDensity:v,enableAccessibleFieldDOMStructure:y,selectedSections:b,onSelectedSectionsChange:w,timezone:x,name:S,label:_,inputRef:A,readOnly:T,disabled:k,autoFocus:E,localeText:M,reduceAnimations:$}=t,j=o.useRef(null),F=o.useRef(null),B=(0,c.A)(),z=f?.toolbar?.hidden??!1,{open:W,actions:V,hasUIView:U,layoutProps:H,renderCurrentView:q,shouldRestoreFocus:G,fieldProps:Y}=(0,O.k)((0,r.A)({},d,{props:t,fieldRef:F,autoFocusView:!0,additionalViewProps:{},wrapperVariant:"desktop"})),X={open:W},K=p.inputAdornment??s.A,Q=(0,i.A)({elementType:K,externalSlotProps:f?.inputAdornment,additionalProps:{position:"end"},ownerState:t}),Z=(0,a.A)(Q,N),J=p.openPickerButton??l.A,ee=(0,i.A)({elementType:J,externalSlotProps:f?.openPickerButton,additionalProps:{disabled:k||T,onClick:W?V.onClose:V.onOpen,"aria-label":n(Y.value),edge:Z.position},ownerState:t}),te=(0,a.A)(ee,L),ne=p.openPickerIcon,re=(0,i.A)({elementType:ne,externalSlotProps:f?.openPickerIcon,ownerState:X}),ae=p.field,oe=(0,i.A)({elementType:ae,externalSlotProps:f?.field,additionalProps:(0,r.A)({},Y,z&&{id:B},{readOnly:T,disabled:k,className:h,sx:m,format:g,formatDensity:v,enableAccessibleFieldDOMStructure:y,selectedSections:b,onSelectedSectionsChange:w,timezone:x,label:_,name:S,autoFocus:E&&!t.open,focused:!!W||void 0},A?{inputRef:A}:{}),ownerState:t});U&&(oe.InputProps=(0,r.A)({},oe.InputProps,{ref:j},!t.disableOpenPicker&&{[`${Z.position}Adornment`]:(0,C.jsx)(K,(0,r.A)({},Z,{children:(0,C.jsx)(J,(0,r.A)({},te,{children:(0,C.jsx)(ne,(0,r.A)({},re))}))}))}));const ie=(0,r.A)({textField:p.textField,clearIcon:p.clearIcon,clearButton:p.clearButton},oe.slots),se=p.layout??D.CJ;let le=B;z&&(le=_?`${B}-label`:void 0);const ue=(0,r.A)({},f,{toolbar:(0,r.A)({},f?.toolbar,{titleId:B}),popper:(0,r.A)({"aria-labelledby":le},f?.popper)}),ce=(0,u.A)(F,oe.unstableFieldRef);return{renderPicker:()=>(0,C.jsxs)(I.$,{localeText:M,children:[(0,C.jsx)(ae,(0,r.A)({},oe,{slots:ie,slotProps:ue,unstableFieldRef:ce})),(0,C.jsx)(P,(0,r.A)({role:"dialog",placement:"bottom-start",anchorEl:j.current},V,{open:W,slots:p,slotProps:ue,shouldRestoreFocus:G,reduceAnimations:$,children:(0,C.jsx)(se,(0,r.A)({},H,ue?.layout,{slots:p,slotProps:ue,children:q()}))}))]})}}},22224:(e,t,n)=>{"use strict";n.d(t,{M:()=>C});var r=n(57126),a=n(96540),o=n(17862),i=n(72236),s=n(93944),l=n(60013),u=n(45027),c=n(74015),d=n(85202),p=n(10950);const f=(e,t,n,r,a)=>{switch(r.type){case"year":return n.fieldYearPlaceholder({digitAmount:e.formatByString(e.date(void 0,t),a).length,format:a});case"month":return n.fieldMonthPlaceholder({contentType:r.contentType,format:a});case"day":return n.fieldDayPlaceholder({format:a});case"weekDay":return n.fieldWeekDayPlaceholder({contentType:r.contentType,format:a});case"hours":return n.fieldHoursPlaceholder({format:a});case"minutes":return n.fieldMinutesPlaceholder({format:a});case"seconds":return n.fieldSecondsPlaceholder({format:a});case"meridiem":return n.fieldMeridiemPlaceholder({format:a});default:return a}},h=({utils:e,timezone:t,date:n,shouldRespectLeadingZeros:a,localeText:o,localizedDigits:i,now:s,token:l,startSeparator:u})=>{if(""===l)throw new Error("MUI X: Should not call `commitToken` with an empty token");const d=(0,c.wp)(e,l),p=(0,c.Xw)(e,t,d.contentType,d.type,l),h=a?p:"digit"===d.contentType,m=null!=n&&e.isValid(n);let g=m?e.formatByString(n,l):"",v=null;if(h)if(p)v=""===g?e.formatByString(s,l).length:g.length;else{if(null==d.maxLength)throw new Error(`MUI X: The token ${l} should have a 'maxDigitNumber' property on it's adapter`);v=d.maxLength,m&&(g=(0,c.et)((0,c.Fv)((0,c.S)(g,i),v),i))}return(0,r.A)({},d,{format:l,maxLength:v,value:g,placeholder:f(e,t,o,d,l),hasLeadingZerosInFormat:p,hasLeadingZerosInInput:h,startSeparator:u,endSeparator:"",modified:!1})},m=e=>{let t=(({utils:e,format:t})=>{let n=10,r=t,a=e.expandFormat(t);for(;a!==r;)if(r=a,a=e.expandFormat(r),n-=1,n<0)throw new Error("MUI X: The format expansion seems to be in an infinite loop. Please open an issue with the format passed to the picker component.");return a})(e);e.isRtl&&e.enableAccessibleFieldDOMStructure&&(t=t.split(" ").reverse().join(" "));const n=(({utils:e,expandedFormat:t})=>{const n=[],{start:r,end:a}=e.escapedCharacters,o=new RegExp(`(\\${r}[^\\${a}]*\\${a})+`,"g");let i=null;for(;i=o.exec(t);)n.push({start:i.index,end:o.lastIndex-1});return n})((0,r.A)({},e,{expandedFormat:t})),a=(e=>{const{utils:t,expandedFormat:n,escapedParts:a}=e,o=t.date(void 0),i=[];let s="";const l=Object.keys(t.formatTokenMap).sort(((e,t)=>t.length-e.length)),u=/^([a-zA-Z]+)/,c=new RegExp(`^(${l.join("|")})*$`),d=new RegExp(`^(${l.join("|")})`),p=e=>a.find((t=>t.start<=e&&t.end>=e));let f=0;for(;f0;){const n=d.exec(t)[1];t=t.slice(n.length),i.push(h((0,r.A)({},e,{now:o,token:n,startSeparator:s}))),s=""}f+=l.length}else{const e=n[f];a&&t?.start===f||t?.end===f||(0===i.length?s+=e:i[i.length-1].endSeparator+=e),f+=1}}return 0===i.length&&s.length>0&&i.push({type:"empty",contentType:"letter",maxLength:null,format:"",value:"",placeholder:"",hasLeadingZerosInFormat:!1,hasLeadingZerosInInput:!1,startSeparator:s,endSeparator:"",modified:!1}),i})((0,r.A)({},e,{expandedFormat:t,escapedParts:n}));return(({isRtl:e,formatDensity:t,sections:n})=>n.map((n=>{const r=n=>{let r=n;return e&&null!==r&&r.includes(" ")&&(r=`⁩${r}⁦`),"spacious"===t&&["/",".","-"].includes(r)&&(r=` ${r} `),r};return n.startSeparator=r(n.startSeparator),n.endSeparator=r(n.endSeparator),n})))((0,r.A)({},e,{sections:a}))};var g=n(13016),v=n(92824);const y=e=>null!=e.saveQuery;var b=n(72463),w=n(54674),x=n(18903);const S=e=>{const{internalProps:{disabled:t,readOnly:n=!1},forwardedProps:{sectionListRef:r,onBlur:s,onClick:l,onFocus:d,onInput:f,onPaste:h,focused:m,autoFocus:g=!1},fieldValueManager:v,applyCharacterEditing:y,resetCharacterQuery:S,setSelectedSections:_,parsedSelectedSections:A,state:C,clearActiveSection:T,clearValue:k,updateSectionValue:E,updateValueFromValueStr:M,sectionOrder:P,areAllSectionsEmpty:O,sectionsValueBoundaries:I}=e,D=a.useRef(null),R=(0,b.A)(r,D),N=(0,p.b)(),L=(0,u.hc)(),$=(0,w.A)(),[j,F]=a.useState(!1),B=a.useMemo((()=>({syncSelectionToDOM:()=>{if(!D.current)return;const e=document.getSelection();if(!e)return;if(null==A)return e.rangeCount>0&&D.current.getRoot().contains(e.getRangeAt(0).startContainer)&&e.removeAllRanges(),void(j&&D.current.getRoot().blur());if(!D.current.getRoot().contains((0,x.bq)(document)))return;const t=new window.Range;let n;n="all"===A?D.current.getRoot():"empty"===C.sections[A].type?D.current.getSectionContainer(A):D.current.getSectionContent(A),t.selectNodeContents(n),n.focus(),e.removeAllRanges(),e.addRange(t)},getActiveSectionIndexFromDOM:()=>{const e=(0,x.bq)(document);return e&&D.current&&D.current.getRoot().contains(e)?D.current.getSectionIndexFromDOMElement(e):null},focusField:(e=0)=>{if(!D.current)return;const t=(0,c.FS)(e,C.sections);F(!0),D.current.getSectionContent(t).focus()},setSelectedSections:e=>{if(!D.current)return;const t=(0,c.FS)(e,C.sections);F(null!==("all"===t?0:t)),_(e)},isFieldFocused:()=>{const e=(0,x.bq)(document);return!!D.current&&D.current.getRoot().contains(e)}})),[A,_,C.sections,j]),z=(0,i.A)((e=>{if(!D.current)return;const t=C.sections[e];D.current.getSectionContent(e).innerHTML=t.value||t.placeholder,B.syncSelectionToDOM()})),W=(0,i.A)(((e,...t)=>{!e.isDefaultPrevented()&&D.current&&(F(!0),l?.(e,...t),"all"===A?setTimeout((()=>{const e=document.getSelection().getRangeAt(0).startOffset;if(0===e)return void _(P.startIndex);let t=0,n=0;for(;n{if(f?.(e),!D.current||"all"!==A)return;const t=e.target.textContent??"";D.current.getRoot().innerHTML=C.sections.map((e=>`${e.startSeparator}${e.value||e.placeholder}${e.endSeparator}`)).join(""),B.syncSelectionToDOM(),0===t.length||10===t.charCodeAt(0)?(S(),k(),_("all")):t.length>1?M(t):y({keyPressed:t,sectionIndex:0})})),U=(0,i.A)((e=>{if(h?.(e),n||"all"!==A)return void e.preventDefault();const t=e.clipboardData.getData("text");e.preventDefault(),S(),M(t)})),H=(0,i.A)(((...e)=>{d?.(...e),!j&&D.current&&(F(!0),null!=D.current.getSectionIndexFromDOMElement((0,x.bq)(document))||_(P.startIndex))})),q=(0,i.A)(((...e)=>{s?.(...e),setTimeout((()=>{if(!D.current)return;const e=(0,x.bq)(document);!D.current.getRoot().contains(e)&&(F(!1),_(null))}))})),G=(0,i.A)((e=>t=>{t.isDefaultPrevented()||_(e)})),Y=(0,i.A)((e=>{e.preventDefault()})),X=(0,i.A)((e=>()=>{_(e)})),K=(0,i.A)((e=>{if(e.preventDefault(),n||t||"number"!=typeof A)return;const r=C.sections[A],a=e.clipboardData.getData("text"),o=/^[a-zA-Z]+$/.test(a),i=/^[0-9]+$/.test(a),s=/^(([a-zA-Z]+)|)([0-9]+)(([a-zA-Z]+)|)$/.test(a);"letter"===r.contentType&&o||"digit"===r.contentType&&i||"digit-with-letter"===r.contentType&&s?(S(),E({activeSection:r,newSectionValue:a,shouldGoToNextSection:!0})):o||i||(S(),M(a))})),Q=(0,i.A)((e=>{e.preventDefault(),e.dataTransfer.dropEffect="none"})),Z=(0,i.A)((e=>{if(!D.current)return;const t=e.target,r=t.textContent??"",a=D.current.getSectionIndexFromDOMElement(t),o=C.sections[a];if(!n&&D.current){if(0===r.length){if(""===o.value)return void z(a);const t=e.nativeEvent.inputType;return"insertParagraph"===t||"insertLineBreak"===t?void z(a):(S(),void T())}y({keyPressed:r,sectionIndex:a}),z(a)}else z(a)}));(0,o.A)((()=>{if(j&&D.current)if("all"===A)D.current.getRoot().focus();else if("number"==typeof A){const e=D.current.getSectionContent(A);e&&e.focus()}}),[A,j]);const J=a.useMemo((()=>C.sections.reduce(((e,t)=>(e[t.type]=I[t.type]({currentDate:null,contentType:t.contentType,format:t.format}),e)),{})),[I,C.sections]),ee="all"===A,te=a.useMemo((()=>C.sections.map(((e,r)=>{const o=!ee&&!t&&!n;return{container:{"data-sectionindex":r,onClick:G(r)},content:{tabIndex:ee||r>0?-1:0,contentEditable:!ee&&!t&&!n,role:"spinbutton",id:`${$}-${e.type}`,"aria-labelledby":`${$}-${e.type}`,"aria-readonly":n,"aria-valuenow":(0,c.Nu)(e,L),"aria-valuemin":J[e.type].minimum,"aria-valuemax":J[e.type].maximum,"aria-valuetext":e.value?(0,c.QF)(e,L):N.empty,"aria-label":N[e.type],"aria-disabled":t,spellCheck:!o&&void 0,autoCapitalize:o?"off":void 0,autoCorrect:o?"off":void 0,[parseInt(a.version,10)>=17?"enterKeyHint":"enterkeyhint"]:o?"next":void 0,children:e.value||e.placeholder,onInput:Z,onPaste:K,onFocus:X(r),onDragOver:Q,onMouseUp:Y,inputMode:"letter"===e.contentType?"text":"numeric"},before:{children:e.startSeparator},after:{children:e.endSeparator}}}))),[C.sections,X,K,Q,Z,G,Y,t,n,ee,N,L,J,$]),ne=(0,i.A)((e=>{M(e.target.value)})),re=a.useMemo((()=>O?"":v.getV7HiddenInputValueFromSections(C.sections)),[O,C.sections,v]);return a.useEffect((()=>{if(null==D.current)throw new Error(["MUI X: The `sectionListRef` prop has not been initialized by `PickersSectionList`","You probably tried to pass a component to the `textField` slot that contains an `` element instead of a `PickersSectionList`.","","If you want to keep using an `` HTML element for the editing, please remove the `enableAccessibleFieldDOMStructure` prop from your picker or field component:","","","","Learn more about the field accessible DOM structure on the MUI documentation: https://mui.com/x/react-date-pickers/fields/#fields-to-edit-a-single-element"].join("\n"));g&&D.current&&D.current.getSectionContent(P.startIndex).focus()}),[]),{interactions:B,returnedValue:{autoFocus:g,readOnly:n,focused:m??j,sectionListRef:R,onBlur:q,onClick:W,onFocus:H,onInput:V,onPaste:U,enableAccessibleFieldDOMStructure:!0,elements:te,tabIndex:0===A?-1:0,contentEditable:ee,value:re,onChange:ne,areAllSectionsEmpty:O}}},_=e=>e.replace(/[\u2066\u2067\u2068\u2069]/g,""),A=e=>{const t=(0,s.I)(),n=a.useRef(),o=a.useRef(),{forwardedProps:{onFocus:l,onClick:u,onPaste:d,onBlur:p,inputRef:f,placeholder:h},internalProps:{readOnly:m=!1,disabled:g=!1},parsedSelectedSections:v,activeSectionIndex:y,state:w,fieldValueManager:S,valueManager:A,applyCharacterEditing:C,resetCharacterQuery:T,updateSectionValue:k,updateValueFromValueStr:E,clearActiveSection:M,clearValue:P,setTempAndroidValueStr:O,setSelectedSections:I,getSectionsFromValue:D,areAllSectionsEmpty:R,localizedDigits:N}=e,L=a.useRef(null),$=(0,b.A)(f,L),j=a.useMemo((()=>((e,t,n)=>{let a=0,o=n?1:0;const i=[];for(let s=0;s({syncSelectionToDOM:()=>{if(!L.current)return;if(null==v)return void(L.current.scrollLeft&&(L.current.scrollLeft=0));if(L.current!==(0,x.bq)(document))return;const e=L.current.scrollTop;if("all"===v)L.current.select();else{const e=j[v],t="empty"===e.type?e.startInInput-e.startSeparator.length:e.startInInput,n="empty"===e.type?e.endInInput+e.endSeparator.length:e.endInInput;t===L.current.selectionStart&&n===L.current.selectionEnd||L.current===(0,x.bq)(document)&&L.current.setSelectionRange(t,n),clearTimeout(o.current),o.current=setTimeout((()=>{!L.current||L.current!==(0,x.bq)(document)||L.current.selectionStart!==L.current.selectionEnd||L.current.selectionStart===t&&L.current.selectionEnd===n||F.syncSelectionToDOM()}))}L.current.scrollTop=e},getActiveSectionIndexFromDOM:()=>{const e=L.current.selectionStart??0,t=L.current.selectionEnd??0;if(0===e&&0===t)return null;const n=e<=j[0].startInInput?1:j.findIndex((t=>t.startInInput-t.startSeparator.length>e));return-1===n?j.length-1:n-1},focusField:(e=0)=>{L.current?.focus(),I(e)},setSelectedSections:e=>I(e),isFieldFocused:()=>L.current===(0,x.bq)(document)})),[L,v,j,I]),B=()=>{const e=L.current.selectionStart??0;let t;t=e<=j[0].startInInput||e>=j[j.length-1].endInInput?1:j.findIndex((t=>t.startInInput-t.startSeparator.length>e));const n=-1===t?j.length-1:t-1;I(n)},z=(0,i.A)(((...e)=>{l?.(...e);const t=L.current;clearTimeout(n.current),n.current=setTimeout((()=>{t&&t===L.current&&null==y&&(t.value.length&&Number(t.selectionEnd)-Number(t.selectionStart)===t.value.length?I("all"):B())}))})),W=(0,i.A)(((e,...t)=>{e.isDefaultPrevented()||(u?.(e,...t),B())})),V=(0,i.A)((e=>{if(d?.(e),e.preventDefault(),m||g)return;const t=e.clipboardData.getData("text");if("number"==typeof v){const e=w.sections[v],n=/^[a-zA-Z]+$/.test(t),r=/^[0-9]+$/.test(t),a=/^(([a-zA-Z]+)|)([0-9]+)(([a-zA-Z]+)|)$/.test(t);if("letter"===e.contentType&&n||"digit"===e.contentType&&r||"digit-with-letter"===e.contentType&&a)return T(),void k({activeSection:e,newSectionValue:t,shouldGoToNextSection:!0});if(n||r)return}T(),E(t)})),U=(0,i.A)(((...e)=>{p?.(...e),I(null)})),H=(0,i.A)((e=>{if(m)return;const n=e.target.value;if(""===n)return T(),void P();const r=e.nativeEvent.data,a=r&&r.length>1,o=a?r:n,i=_(o);if(null==y||a)return void E(a?r:i);let s;if("all"===v&&1===i.length)s=i;else{const e=_(S.getV6InputValueFromSections(j,N,t));let n=-1,r=-1;for(let t=0;ta.end)return;const o=i.length-e.length+a.end-_(a.endSeparator||"").length;s=i.slice(a.start+_(a.startSeparator||"").length,o)}if(0===s.length)return(0,c.m0)()&&O(o),T(),void M();C({keyPressed:s,sectionIndex:y})})),q=a.useMemo((()=>void 0!==h?h:S.getV6InputValueFromSections(D(A.emptyValue),N,t)),[h,S,D,A.emptyValue,N,t]),G=a.useMemo((()=>w.tempValueStrAndroid??S.getV6InputValueFromSections(w.sections,N,t)),[w.sections,S,w.tempValueStrAndroid,N,t]);a.useEffect((()=>(L.current&&L.current===(0,x.bq)(document)&&I("all"),()=>{clearTimeout(n.current),clearTimeout(o.current)})),[]);const Y=a.useMemo((()=>null==y||"letter"===w.sections[y].contentType?"text":"numeric"),[y,w.sections]),X=L.current&&L.current===(0,x.bq)(document);return{interactions:F,returnedValue:{readOnly:m,onBlur:U,onClick:W,onFocus:z,onPaste:V,inputRef:$,enableAccessibleFieldDOMStructure:!1,placeholder:q,inputMode:Y,autoComplete:"off",value:!X&&R?"":G,onChange:H}}},C=e=>{const t=(0,u.hc)(),{internalProps:n,internalProps:{unstableFieldRef:f,minutesStep:h,enableAccessibleFieldDOMStructure:b=!1,disabled:w=!1,readOnly:x=!1},forwardedProps:{onKeyDown:_,error:C,clearable:T,onClear:k},fieldValueManager:E,valueManager:M,validator:P}=e,O=(0,s.I)(),I=(e=>{const t=(0,u.hc)(),n=(0,p.b)(),o=(0,u.u)(),i=(0,s.I)(),{valueManager:l,fieldValueManager:f,valueType:h,validator:y,internalProps:b,internalProps:{value:w,defaultValue:x,referenceDate:S,onChange:_,format:A,formatDensity:C="dense",selectedSections:T,onSelectedSectionsChange:k,shouldRespectLeadingZeros:E=!1,timezone:M,enableAccessibleFieldDOMStructure:P=!1}}=e,{timezone:O,value:I,handleValueChange:D}=(0,g.M)({timezone:M,value:w,defaultValue:x,onChange:_,valueManager:l}),R=a.useMemo((()=>(0,c.wk)(t)),[t]),N=a.useMemo((()=>(0,c.Lz)(t,R,O)),[t,R,O]),L=a.useCallback(((e,r=null)=>f.getSectionsFromValue(t,e,r,(e=>m({utils:t,timezone:O,localeText:n,localizedDigits:R,format:A,date:e,formatDensity:C,shouldRespectLeadingZeros:E,enableAccessibleFieldDOMStructure:P,isRtl:i})))),[f,A,n,R,i,E,t,C,O,P]),[$,j]=a.useState((()=>{const e=L(I);(0,c.xL)(e,h);const n={sections:e,value:I,referenceValue:l.emptyValue,tempValueStrAndroid:null},a=(0,v.kI)(e),o=l.getInitialReferenceValue({referenceDate:S,value:I,utils:t,props:b,granularity:a,timezone:O});return(0,r.A)({},n,{referenceValue:o})})),[F,B]=(0,d.A)({controlled:T,default:null,name:"useField",state:"selectedSections"}),z=e=>{B(e),k?.(e)},W=a.useMemo((()=>(0,c.FS)(F,$.sections)),[F,$.sections]),V="all"===W?0:W,U=({value:e,referenceValue:n,sections:a})=>{if(j((t=>(0,r.A)({},t,{sections:a,value:e,referenceValue:n,tempValueStrAndroid:null}))),l.areValuesEqual(t,$.value,e))return;const i={validationError:y({adapter:o,value:e,timezone:O,props:b})};D(e,i)},H=(e,t)=>{const n=[...$.sections];return n[e]=(0,r.A)({},n[e],{value:t,modified:!0}),n};return a.useEffect((()=>{const e=L($.value);(0,c.xL)(e,h),j((t=>(0,r.A)({},t,{sections:e})))}),[A,t.locale,i]),a.useEffect((()=>{let e;e=!l.areValuesEqual(t,$.value,I)||l.getTimezone(t,$.value)!==l.getTimezone(t,I),e&&j((e=>(0,r.A)({},e,{value:I,referenceValue:f.updateReferenceValue(t,I,e.referenceValue),sections:L(I)})))}),[I]),{state:$,activeSectionIndex:V,parsedSelectedSections:W,setSelectedSections:z,clearValue:()=>{U({value:l.emptyValue,referenceValue:$.referenceValue,sections:L(l.emptyValue)})},clearActiveSection:()=>{if(null==V)return;const e=$.sections[V],n=f.getActiveDateManager(t,$,e),a=n.getSections($.sections).filter((e=>""!==e.value)).length===(""===e.value?0:1),o=H(V,""),i=a?null:t.getInvalidDate(),s=n.getNewValuesFromNewActiveDate(i);U((0,r.A)({},s,{sections:o}))},updateSectionValue:({activeSection:e,newSectionValue:n,shouldGoToNextSection:a})=>{a&&V<$.sections.length-1&&z(V+1);const o=f.getActiveDateManager(t,$,e),i=H(V,n),s=o.getSections(i),l=(0,c.$i)(t,s,R);let u,d;if(null!=l&&t.isValid(l)){const e=(0,c.Sp)(t,O,l,s,o.referenceDate,!0);u=o.getNewValuesFromNewActiveDate(e),d=!0}else u=o.getNewValuesFromNewActiveDate(l),d=(null!=l&&!t.isValid(l))!=(null!=o.date&&!t.isValid(o.date));return d?U((0,r.A)({},u,{sections:i})):j((e=>(0,r.A)({},e,u,{sections:i,tempValueStrAndroid:null})))},updateValueFromValueStr:e=>{const r=f.parseValueStr(e,$.referenceValue,((e,r)=>{const a=t.parse(e,A);if(null==a||!t.isValid(a))return null;const o=m({utils:t,timezone:O,localeText:n,localizedDigits:R,format:A,date:a,formatDensity:C,shouldRespectLeadingZeros:E,enableAccessibleFieldDOMStructure:P,isRtl:i});return(0,c.Sp)(t,O,a,o,r,!1)})),a=f.updateReferenceValue(t,r,$.referenceValue);U({value:r,referenceValue:a,sections:L(r,$.sections)})},setTempAndroidValueStr:e=>j((t=>(0,r.A)({},t,{tempValueStrAndroid:e}))),getSectionsFromValue:L,sectionsValueBoundaries:N,localizedDigits:R,timezone:O}})(e),{state:D,activeSectionIndex:R,parsedSelectedSections:N,setSelectedSections:L,clearValue:$,clearActiveSection:j,updateSectionValue:F,setTempAndroidValueStr:B,sectionsValueBoundaries:z,localizedDigits:W,timezone:V}=I,U=(({sections:e,updateSectionValue:t,sectionsValueBoundaries:n,localizedDigits:o,setTempAndroidValueStr:s,timezone:l})=>{const d=(0,u.hc)(),[p,f]=a.useState(null),h=(0,i.A)((()=>f(null)));a.useEffect((()=>{null!=p&&e[p.sectionIndex]?.type!==p.sectionType&&h()}),[e,p,h]),a.useEffect((()=>{if(null!=p){const e=setTimeout((()=>h()),5e3);return()=>{clearTimeout(e)}}return()=>{}}),[p,h]);const m=({keyPressed:t,sectionIndex:n},r,a)=>{const o=t.toLowerCase(),i=e[n];if(null!=p&&(!a||a(p.value))&&p.sectionIndex===n){const e=`${p.value}${o}`,t=r(e,i);if(!y(t))return f({sectionIndex:n,value:e,sectionType:i.type}),t}const s=r(o,i);return y(s)&&!s.saveQuery?(h(),null):(f({sectionIndex:n,value:o,sectionType:i.type}),y(s)?null:s)};return{applyCharacterEditing:(0,i.A)((a=>{const i=e[a.sectionIndex],u=(0,c.Hp)(a.keyPressed,o)?(e=>{const t=(e,t)=>{const r=(0,c.S)(e,o),a=Number(r),i=n[t.type]({currentDate:null,format:t.format,contentType:t.contentType});if(a>i.maximum)return{saveQuery:!1};if(ai.maximum||r.length===i.maximum.toString().length;return{sectionValue:(0,c.bQ)(d,a,i,o,t),shouldGoToNextSection:s}};return m(e,((e,n)=>{if("digit"===n.contentType||"digit-with-letter"===n.contentType)return t(e,n);if("month"===n.type){const a=(0,c.Xw)(d,l,"digit","month","MM"),o=t(e,{type:n.type,format:"MM",hasLeadingZerosInFormat:a,hasLeadingZerosInInput:!0,contentType:"digit",maxLength:2});if(y(o))return o;const i=(0,c.C7)(d,o.sectionValue,"MM",n.format);return(0,r.A)({},o,{sectionValue:i})}if("weekDay"===n.type){const a=t(e,n);if(y(a))return a;const o=(0,c.s8)(d,l,n.format)[Number(a.sectionValue)-1];return(0,r.A)({},a,{sectionValue:o})}return{saveQuery:!1}}),(e=>(0,c.Hp)(e,o)))})((0,r.A)({},a,{keyPressed:(0,c.et)(a.keyPressed,o)})):(e=>{const t=(e,t,n)=>{const r=t.filter((e=>e.toLowerCase().startsWith(n)));return 0===r.length?{saveQuery:!1}:{sectionValue:r[0],shouldGoToNextSection:1===r.length}},n=(e,n,a,o)=>{const i=e=>(0,c.hk)(d,l,n.type,e);if("letter"===n.contentType)return t(n.format,i(n.format),e);if(a&&null!=o&&"letter"===(0,c.wp)(d,a).contentType){const n=i(a),s=t(0,n,e);return y(s)?{saveQuery:!1}:(0,r.A)({},s,{sectionValue:o(s.sectionValue,n)})}return{saveQuery:!1}};return m(e,((e,t)=>{switch(t.type){case"month":{const r=e=>(0,c.C7)(d,e,d.formats.month,t.format);return n(e,t,d.formats.month,r)}case"weekDay":{const r=(e,t)=>t.indexOf(e).toString();return n(e,t,d.formats.weekday,r)}case"meridiem":return n(e,t);default:return{saveQuery:!1}}}))})(a);null!=u?t({activeSection:i,newSectionValue:u.sectionValue,shouldGoToNextSection:u.shouldGoToNextSection}):s(null)})),resetCharacterQuery:h}})({sections:D.sections,updateSectionValue:F,sectionsValueBoundaries:z,localizedDigits:W,setTempAndroidValueStr:B,timezone:V}),{resetCharacterQuery:H}=U,q=M.areValuesEqual(t,D.value,M.emptyValue),G=b?S:A,Y=a.useMemo((()=>(0,c.gS)(D.sections,O&&!b)),[D.sections,O,b]),{returnedValue:X,interactions:K}=G((0,r.A)({},e,I,U,{areAllSectionsEmpty:q,sectionOrder:Y})),Q=(0,i.A)((e=>{if(_?.(e),!w)switch(!0){case(e.ctrlKey||e.metaKey)&&"a"===e.key.toLowerCase()&&!e.shiftKey&&!e.altKey:e.preventDefault(),L("all");break;case"ArrowRight"===e.key:if(e.preventDefault(),null==N)L(Y.startIndex);else if("all"===N)L(Y.endIndex);else{const e=Y.neighbors[N].rightIndex;null!==e&&L(e)}break;case"ArrowLeft"===e.key:if(e.preventDefault(),null==N)L(Y.endIndex);else if("all"===N)L(Y.startIndex);else{const e=Y.neighbors[N].leftIndex;null!==e&&L(e)}break;case"Delete"===e.key:if(e.preventDefault(),x)break;null==N||"all"===N?$():j(),H();break;case["ArrowUp","ArrowDown","Home","End","PageUp","PageDown"].includes(e.key):{if(e.preventDefault(),x||null==R)break;const n=D.sections[R],r=E.getActiveDateManager(t,D,n),a=(0,c.UY)(t,V,n,e.key,z,W,r.date,{minutesStep:h});F({activeSection:n,newSectionValue:a,shouldGoToNextSection:!1});break}}}));(0,o.A)((()=>{K.syncSelectionToDOM()}));const{hasValidationError:Z}=(0,l.$)({props:n,validator:P,timezone:V,value:D.value,onError:n.onError}),J=a.useMemo((()=>void 0!==C?C:Z),[Z,C]);a.useEffect((()=>{J||null!=R||H()}),[D.referenceValue,R,J]),a.useEffect((()=>{null!=D.tempValueStrAndroid&&null!=R&&(H(),j())}),[D.sections]),a.useImperativeHandle(f,(()=>({getSections:()=>D.sections,getActiveSectionIndex:K.getActiveSectionIndexFromDOM,setSelectedSections:K.setSelectedSections,focusField:K.focusField,isFieldFocused:K.isFieldFocused})));const ee={onKeyDown:Q,onClear:(0,i.A)(((e,...t)=>{e.preventDefault(),k?.(e,...t),$(),K.isFieldFocused()?L(Y.startIndex):K.focusField(0)})),error:J,clearable:Boolean(T&&!q&&!x&&!w)},te={disabled:w,readOnly:x};return(0,r.A)({},e.forwardedProps,ee,te,X)}},74015:(e,t,n)=>{"use strict";n.d(t,{$i:()=>b,C7:()=>g,FS:()=>E,Fv:()=>p,Hp:()=>d,Lz:()=>S,Nq:()=>m,Nu:()=>P,QF:()=>M,S:()=>u,Sp:()=>C,UY:()=>h,Xw:()=>y,ZS:()=>x,bQ:()=>f,et:()=>c,gS:()=>k,hk:()=>i,m0:()=>T,s8:()=>o,sZ:()=>w,wk:()=>l,wp:()=>a,xL:()=>_});var r=n(80916);const a=(e,t)=>{const n=e.formatTokenMap[t];if(null==n)throw new Error([`MUI X: The token "${t}" is not supported by the Date and Time Pickers.`,"Please try using another token or open an issue on https://github.com/mui/mui-x/issues/new/choose if you think it should be supported."].join("\n"));return"string"==typeof n?{type:n,contentType:"meridiem"===n?"letter":"digit",maxLength:void 0}:{type:n.sectionType,contentType:n.contentType,maxLength:n.maxLength}},o=(e,t,n)=>{const r=[],a=e.date(void 0,t),o=e.startOfWeek(a),i=e.endOfWeek(a);let s=o;for(;e.isBefore(s,i);)r.push(s),s=e.addDays(s,1);return r.map((t=>e.formatByString(t,n)))},i=(e,t,n,a)=>{switch(n){case"month":return(0,r.YQ)(e,e.date(void 0,t)).map((t=>e.formatByString(t,a)));case"weekDay":return o(e,t,a);case"meridiem":{const n=e.date(void 0,t);return[e.startOfDay(n),e.endOfDay(n)].map((t=>e.formatByString(t,a)))}default:return[]}},s=["0","1","2","3","4","5","6","7","8","9"],l=e=>{const t=e.date(void 0);return"0"===e.formatByString(e.setSeconds(t,0),"s")?s:Array.from({length:10}).map(((n,r)=>e.formatByString(e.setSeconds(t,r),"s")))},u=(e,t)=>{if("0"===t[0])return e;const n=[];let r="";for(let a=0;a-1&&(n.push(o.toString()),r="")}return n.join("")},c=(e,t)=>"0"===t[0]?e:e.split("").map((e=>t[Number(e)])).join(""),d=(e,t)=>{const n=u(e,t);return" "!==n&&!Number.isNaN(Number(n))},p=(e,t)=>{let n=e;for(n=Number(n).toString();n.length{if("day"===a.type&&"digit-with-letter"===a.contentType){const r=e.setDate(n.longestMonth,t);return e.formatByString(r,a.format)}let o=t.toString();return a.hasLeadingZerosInInput&&(o=p(o,a.maxLength)),c(o,r)},h=(e,t,n,r,a,o,s,l)=>{const c=(e=>{switch(e){case"ArrowUp":return 1;case"ArrowDown":return-1;case"PageUp":return 5;case"PageDown":return-5;default:return 0}})(r),d="Home"===r,p="End"===r,h=""===n.value||d||p;return"digit"===n.contentType||"digit-with-letter"===n.contentType?(()=>{const r=a[n.type]({currentDate:s,format:n.format,contentType:n.contentType}),i=t=>f(e,t,r,o,n),m="minutes"===n.type&&l?.minutesStep?l.minutesStep:1;let g=parseInt(u(n.value,o),10)+c*m;if(h){if("year"===n.type&&!p&&!d)return e.formatByString(e.date(void 0,t),n.format);g=c>0||d?r.minimum:r.maximum}return g%m!=0&&((c<0||d)&&(g+=m-(m+g)%m),(c>0||p)&&(g-=g%m)),g>r.maximum?i(r.minimum+(g-r.maximum-1)%(r.maximum-r.minimum+1)):g{const r=i(e,t,n.type,n.format);if(0===r.length)return n.value;if(h)return c>0||d?r[0]:r[r.length-1];const a=r.indexOf(n.value);return r[((a+c)%r.length+r.length)%r.length]})()},m=(e,t,n)=>{let r=e.value||e.placeholder;const a="non-input"===t?e.hasLeadingZerosInFormat:e.hasLeadingZerosInInput;return"non-input"===t&&e.hasLeadingZerosInInput&&!e.hasLeadingZerosInFormat&&(r=Number(u(r,n)).toString()),["input-rtl","input-ltr"].includes(t)&&"digit"===e.contentType&&!a&&1===r.length&&(r=`${r}‎`),"input-rtl"===t&&(r=`⁨${r}⁩`),r},g=(e,t,n,r)=>e.formatByString(e.parse(t,n),r),v=(e,t,n)=>4===e.formatByString(e.date(void 0,t),n).length,y=(e,t,n,r,a)=>{if("digit"!==n)return!1;const o=e.date(void 0,t);switch(r){case"year":return v(e,t,a)?"0001"===e.formatByString(e.setYear(o,1),a):"01"===e.formatByString(e.setYear(o,2001),a);case"month":return e.formatByString(e.startOfYear(o),a).length>1;case"day":return e.formatByString(e.startOfMonth(o),a).length>1;case"weekDay":return e.formatByString(e.startOfWeek(o),a).length>1;case"hours":return e.formatByString(e.setHours(o,1),a).length>1;case"minutes":return e.formatByString(e.setMinutes(o,1),a).length>1;case"seconds":return e.formatByString(e.setSeconds(o,1),a).length>1;default:throw new Error("Invalid section type")}},b=(e,t,n)=>{const r=t.some((e=>"day"===e.type)),a=[],o=[];for(let e=0;ee.map((e=>`${e.startSeparator}${e.value||e.placeholder}${e.endSeparator}`)).join(""),x=(e,t,n)=>{const r=e.map((e=>{const r=m(e,n?"input-rtl":"input-ltr",t);return`${e.startSeparator}${r}${e.endSeparator}`})).join("");return n?`⁦${r}⁩`:r},S=(e,t,n)=>{const a=e.date(void 0,n),i=e.endOfYear(a),s=e.endOfDay(a),{maxDaysInMonth:l,longestMonth:c}=(0,r.YQ)(e,a).reduce(((t,n)=>{const r=e.getDaysInMonth(n);return r>t.maxDaysInMonth?{maxDaysInMonth:r,longestMonth:n}:t}),{maxDaysInMonth:0,longestMonth:null});return{year:({format:t})=>({minimum:0,maximum:v(e,n,t)?9999:99}),month:()=>({minimum:1,maximum:e.getMonth(i)+1}),day:({currentDate:t})=>({minimum:1,maximum:null!=t&&e.isValid(t)?e.getDaysInMonth(t):l,longestMonth:c}),weekDay:({format:t,contentType:r})=>{if("digit"===r){const r=o(e,n,t).map(Number);return{minimum:Math.min(...r),maximum:Math.max(...r)}}return{minimum:1,maximum:7}},hours:({format:n})=>{const r=e.getHours(s);return u(e.formatByString(e.endOfDay(a),n),t)!==r.toString()?{minimum:1,maximum:Number(u(e.formatByString(e.startOfDay(a),n),t))}:{minimum:0,maximum:r}},minutes:()=>({minimum:0,maximum:e.getMinutes(s)}),seconds:()=>({minimum:0,maximum:e.getSeconds(s)}),meridiem:()=>({minimum:0,maximum:1}),empty:()=>({minimum:0,maximum:0})}},_=(e,t)=>{},A={year:1,month:2,day:3,weekDay:4,hours:5,minutes:6,seconds:7,meridiem:8,empty:9},C=(e,t,n,r,a,i)=>[...r].sort(((e,t)=>A[e.type]-A[t.type])).reduce(((r,a)=>!i||a.modified?((e,t,n,r,a)=>{switch(n.type){case"year":return e.setYear(a,e.getYear(r));case"month":return e.setMonth(a,e.getMonth(r));case"weekDay":{const a=o(e,t,n.format),i=e.formatByString(r,n.format),s=a.indexOf(i),l=a.indexOf(n.value)-s;return e.addDays(r,l)}case"day":return e.setDate(a,e.getDate(r));case"meridiem":{const t=e.getHours(r)<12,n=e.getHours(a);return t&&n>=12?e.addHours(a,-12):!t&&n<12?e.addHours(a,12):a}case"hours":return e.setHours(a,e.getHours(r));case"minutes":return e.setMinutes(a,e.getMinutes(r));case"seconds":return e.setSeconds(a,e.getSeconds(r));default:return a}})(e,t,a,n,r):r),a),T=()=>navigator.userAgent.toLowerCase().includes("android"),k=(e,t)=>{const n={};if(!t)return e.forEach(((t,r)=>{const a=0===r?null:r-1,o=r===e.length-1?null:r+1;n[r]={leftIndex:a,rightIndex:o}})),{neighbors:n,startIndex:0,endIndex:e.length-1};const r={},a={};let o=0,i=0,s=e.length-1;for(;s>=0;){i=e.findIndex(((e,t)=>t>=o&&e.endSeparator?.includes(" ")&&" / "!==e.endSeparator)),-1===i&&(i=e.length-1);for(let e=i;e>=o;e-=1)a[e]=s,r[s]=e,s-=1;o=i+1}return e.forEach(((t,o)=>{const i=a[o],s=0===i?null:r[i-1],l=i===e.length-1?null:r[i+1];n[o]={leftIndex:s,rightIndex:l}})),{neighbors:n,startIndex:r[0],endIndex:r[e.length-1]}},E=(e,t)=>null==e?null:"all"===e?"all":"string"==typeof e?t.findIndex((t=>t.type===e)):e,M=(e,t)=>{if(e.value)switch(e.type){case"month":{if("digit"===e.contentType)return t.format(t.setMonth(t.date(),Number(e.value)-1),"month");const n=t.parse(e.value,e.format);return n?t.format(n,"month"):void 0}case"day":return"digit"===e.contentType?t.format(t.setDate(t.startOfYear(t.date()),Number(e.value)),"dayOfMonthFull"):e.value;default:return}},P=(e,t)=>{if(e.value)switch(e.type){case"weekDay":if("letter"===e.contentType)return;return Number(e.value);case"meridiem":{const n=t.parse(`01:00 ${e.value}`,`${t.formats.hours12h}:${t.formats.minutes} ${e.format}`);return n?t.getHours(n)>=12?1:0:void 0}case"day":return"digit-with-letter"===e.contentType?parseInt(e.value,10):Number(e.value);case"month":{if("digit"===e.contentType)return Number(e.value);const n=t.parse(e.value,e.format);return n?t.getMonth(n)+1:void 0}default:return"letter"!==e.contentType?Number(e.value):void 0}}},71576:(e,t,n)=>{"use strict";n.d(t,{C:()=>A});var r=n(57126),a=n(10793),o=n(96540),i=n(67389),s=n(72463),l=n(54674),u=n(30799),c=n(20973),d=n(77037),p=n(68997),f=n(11848),h=n(25221),m=n(74848);const g=(0,f.Ay)(d.A)({[`& .${p.A.container}`]:{outline:0},[`& .${p.A.paper}`]:{outline:0,minWidth:h.eX}}),v=(0,f.Ay)(u.A)({"&:first-of-type":{padding:0}});function y(e){const{children:t,onDismiss:n,open:a,slots:o,slotProps:i}=e,s=o?.dialog??g,l=o?.mobileTransition??c.A;return(0,m.jsx)(s,(0,r.A)({open:a,onClose:n},i?.dialog,{TransitionComponent:l,TransitionProps:i?.mobileTransition,PaperComponent:o?.mobilePaper,PaperProps:i?.mobilePaper,children:(0,m.jsx)(v,{children:t})}))}var b=n(67199),w=n(18903),x=n(72692),S=n(3726);const _=["props","getOpenDialogAriaText"],A=e=>{let{props:t,getOpenDialogAriaText:n}=e,u=(0,a.A)(e,_);const{slots:c,slotProps:d,className:p,sx:f,format:h,formatDensity:g,enableAccessibleFieldDOMStructure:v,selectedSections:A,onSelectedSectionsChange:C,timezone:T,name:k,label:E,inputRef:M,readOnly:P,disabled:O,localeText:I}=t,D=o.useRef(null),R=(0,l.A)(),N=d?.toolbar?.hidden??!1,{open:L,actions:$,layoutProps:j,renderCurrentView:F,fieldProps:B}=(0,b.k)((0,r.A)({},u,{props:t,fieldRef:D,autoFocusView:!0,additionalViewProps:{},wrapperVariant:"mobile"})),z=c.field,W=(0,i.A)({elementType:z,externalSlotProps:d?.field,additionalProps:(0,r.A)({},B,N&&{id:R},!(O||P)&&{onClick:$.onOpen,onKeyDown:(0,w.rQ)($.onOpen)},{readOnly:P??!0,disabled:O,className:p,sx:f,format:h,formatDensity:g,enableAccessibleFieldDOMStructure:v,selectedSections:A,onSelectedSectionsChange:C,timezone:T,label:E,name:k},M?{inputRef:M}:{}),ownerState:t});W.inputProps=(0,r.A)({},W.inputProps,{"aria-label":n(B.value)});const V=(0,r.A)({textField:c.textField},W.slots),U=c.layout??S.CJ;let H=R;N&&(H=E?`${R}-label`:void 0);const q=(0,r.A)({},d,{toolbar:(0,r.A)({},d?.toolbar,{titleId:R}),mobilePaper:(0,r.A)({"aria-labelledby":H},d?.mobilePaper)}),G=(0,s.A)(D,W.unstableFieldRef);return{renderPicker:()=>(0,m.jsxs)(x.$,{localeText:I,children:[(0,m.jsx)(z,(0,r.A)({},W,{slots:V,slotProps:q,unstableFieldRef:G})),(0,m.jsx)(y,(0,r.A)({},$,{open:L,slots:c,slotProps:q,children:(0,m.jsx)(U,(0,r.A)({},j,q?.layout,{slots:c,slotProps:q,children:F()}))}))]})}}},67199:(e,t,n)=>{"use strict";n.d(t,{k:()=>v});var r=n(57126),a=n(96540),o=n(72236),i=n(45027),s=n(60013),l=n(13016);var u=n(10793),c=n(17862),d=n(4780),p=n(35421);const f=["className","sx"];var h=n(93944),m=n(18903);function g(){return"undefined"==typeof window?"portrait":window.screen&&window.screen.orientation&&window.screen.orientation.angle?90===Math.abs(window.screen.orientation.angle)?"landscape":"portrait":window.orientation&&90===Math.abs(Number(window.orientation))?"landscape":"portrait"}const v=({props:e,valueManager:t,valueType:n,wrapperVariant:v,additionalViewProps:y,validator:b,autoFocusView:w,rendererInterceptor:x,fieldRef:S})=>{const _=(({props:e,valueManager:t,valueType:n,wrapperVariant:u,validator:c})=>{const{onAccept:d,onChange:p,value:f,defaultValue:h,closeOnSelect:m="desktop"===u,timezone:g}=e,{current:v}=a.useRef(h),{current:y}=a.useRef(void 0!==f),b=(0,i.hc)(),w=(0,i.u)(),{isOpen:x,setIsOpen:S}=(({open:e,onOpen:t,onClose:n})=>{const r=a.useRef("boolean"==typeof e).current,[o,i]=a.useState(!1);return a.useEffect((()=>{if(r){if("boolean"!=typeof e)throw new Error("You must not mix controlling and uncontrolled mode for `open` prop");i(e)}}),[r,e]),{isOpen:o,setIsOpen:a.useCallback((e=>{r||i(e),e&&t&&t(),!e&&n&&n()}),[r,t,n])}})(e),{timezone:_,value:A,handleValueChange:C}=(0,l.M)({timezone:g,value:f,defaultValue:v,onChange:p,valueManager:t}),[T,k]=a.useState((()=>{let e;return e=void 0!==A?A:void 0!==v?v:t.emptyValue,{draft:e,lastPublishedValue:e,lastCommittedValue:e,lastControlledValue:A,hasBeenModifiedSinceMount:!1}})),{getValidationErrorForNewValue:E}=(0,s.$)({props:e,validator:c,timezone:_,value:T.draft,onError:e.onError}),M=(0,o.A)((e=>{const n={action:e,dateState:T,hasChanged:n=>!t.areValuesEqual(b,e.value,n),isControlled:y,closeOnSelect:m},a=(e=>{const{action:t,hasChanged:n,dateState:r,isControlled:a}=e,o=!a&&!r.hasBeenModifiedSinceMount;return"setValueFromField"===t.name||("setValueFromAction"===t.name?!(!o||!["accept","today","clear"].includes(t.pickerAction))||n(r.lastPublishedValue):("setValueFromView"===t.name&&"shallow"!==t.selectionState||"setValueFromShortcut"===t.name)&&(!!o||n(r.lastPublishedValue)))})(n),o=(e=>{const{action:t,hasChanged:n,dateState:r,isControlled:a,closeOnSelect:o}=e,i=!a&&!r.hasBeenModifiedSinceMount;return"setValueFromAction"===t.name?!(!i||!["accept","today","clear"].includes(t.pickerAction))||n(r.lastCommittedValue):"setValueFromView"===t.name&&"finish"===t.selectionState&&o?!!i||n(r.lastCommittedValue):"setValueFromShortcut"===t.name&&"accept"===t.changeImportance&&n(r.lastCommittedValue)})(n),i=(e=>{const{action:t,closeOnSelect:n}=e;return"setValueFromAction"===t.name||("setValueFromView"===t.name?"finish"===t.selectionState&&n:"setValueFromShortcut"===t.name&&"accept"===t.changeImportance)})(n);k((t=>(0,r.A)({},t,{draft:e.value,lastPublishedValue:a?e.value:t.lastPublishedValue,lastCommittedValue:o?e.value:t.lastCommittedValue,hasBeenModifiedSinceMount:!0})));let s=null;const l=()=>{if(!s){const t="setValueFromField"===e.name?e.context.validationError:E(e.value);s={validationError:t},"setValueFromShortcut"===e.name&&(s.shortcut=e.shortcut)}return s};a&&C(e.value,l()),o&&d&&d(e.value,l()),i&&S(!1)}));if(void 0!==A&&(void 0===T.lastControlledValue||!t.areValuesEqual(b,T.lastControlledValue,A))){const e=t.areValuesEqual(b,T.draft,A);k((t=>(0,r.A)({},t,{lastControlledValue:A},e?{}:{lastCommittedValue:A,lastPublishedValue:A,draft:A,hasBeenModifiedSinceMount:!0})))}const P=(0,o.A)((()=>{M({value:t.emptyValue,name:"setValueFromAction",pickerAction:"clear"})})),O=(0,o.A)((()=>{M({value:T.lastPublishedValue,name:"setValueFromAction",pickerAction:"accept"})})),I=(0,o.A)((()=>{M({value:T.lastPublishedValue,name:"setValueFromAction",pickerAction:"dismiss"})})),D=(0,o.A)((()=>{M({value:T.lastCommittedValue,name:"setValueFromAction",pickerAction:"cancel"})})),R=(0,o.A)((()=>{M({value:t.getTodayValue(b,_,n),name:"setValueFromAction",pickerAction:"today"})})),N=(0,o.A)((e=>{e.preventDefault(),S(!0)})),L=(0,o.A)((e=>{e?.preventDefault(),S(!1)})),$=(0,o.A)(((e,t="partial")=>M({name:"setValueFromView",value:e,selectionState:t}))),j=(0,o.A)(((e,t,n)=>M({name:"setValueFromShortcut",value:e,changeImportance:t,shortcut:n}))),F=(0,o.A)(((e,t)=>M({name:"setValueFromField",value:e,context:t}))),B={onClear:P,onAccept:O,onDismiss:I,onCancel:D,onSetToday:R,onOpen:N,onClose:L},z={value:T.draft,onChange:F},W=a.useMemo((()=>t.cleanValue(b,T.draft)),[b,t,T.draft]);return{open:x,fieldProps:z,viewProps:{value:W,onChange:$,onClose:L,open:x},layoutProps:(0,r.A)({},B,{value:W,onChange:$,onSelectShortcut:j,isValid:n=>{const r=c({adapter:w,value:n,timezone:_,props:e});return!t.hasError(r)}}),actions:B}})({props:e,valueManager:t,valueType:n,wrapperVariant:v,validator:b}),A=(({props:e,propsFromPickerValue:t,additionalViewProps:n,autoFocusView:i,rendererInterceptor:s,fieldRef:l})=>{const{onChange:h,open:m,onClose:g}=t,{view:v,views:y,openTo:b,onViewChange:w,viewRenderers:x,timezone:S}=e,_=(0,u.A)(e,f),{view:A,setView:C,defaultView:T,focusedView:k,setFocusedView:E,setValueAndGoToNextView:M}=(0,d.o)({view:v,views:y,openTo:b,onChange:h,onViewChange:w,autoFocus:i}),{hasUIView:P,viewModeLookup:O}=a.useMemo((()=>y.reduce(((e,t)=>{let n;return n=null!=x[t]?"UI":"field",e.viewModeLookup[t]=n,"UI"===n&&(e.hasUIView=!0),e}),{hasUIView:!1,viewModeLookup:{}})),[x,y]),I=a.useMemo((()=>y.reduce(((e,t)=>null!=x[t]&&(0,p.hW)(t)?e+1:e),0)),[x,y]),D=O[A],R=(0,o.A)((()=>"UI"===D)),[N,L]=a.useState("UI"===D?A:null);return N!==A&&"UI"===O[A]&&L(A),(0,c.A)((()=>{"field"===D&&m&&(g(),setTimeout((()=>{l?.current?.setSelectedSections(A),l?.current?.focusField(A)})))}),[A]),(0,c.A)((()=>{if(!m)return;let e=A;"field"===D&&null!=N&&(e=N),e!==T&&"UI"===O[e]&&"UI"===O[T]&&(e=T),e!==A&&C(e),E(e,!0)}),[m]),{hasUIView:P,shouldRestoreFocus:R,layoutProps:{views:y,view:N,onViewChange:C},renderCurrentView:()=>{if(null==N)return null;const e=x[N];if(null==e)return null;const a=(0,r.A)({},_,n,t,{views:y,timezone:S,onChange:M,view:N,onViewChange:C,focusedView:k,onFocusedViewChange:E,showViewSwitcher:I>1,timeViewsCount:I});return s?s(x,N,a):e(a)}}})({props:e,additionalViewProps:y,autoFocusView:w,fieldRef:S,propsFromPickerValue:_.viewProps,rendererInterceptor:x}),C=(({props:e,propsFromPickerValue:t,propsFromPickerViews:n,wrapperVariant:o})=>{const{orientation:i}=e,s=((e,t)=>{const[n,r]=a.useState(g);return(0,c.A)((()=>{const e=()=>{r(g())};return window.addEventListener("orientationchange",e),()=>{window.removeEventListener("orientationchange",e)}}),[]),!(0,m.Xk)(e,["hours","minutes","seconds"])&&"landscape"===(t||n)})(n.views,i),l=(0,h.I)();return{layoutProps:(0,r.A)({},n,t,{isLandscape:s,isRtl:l,wrapperVariant:o,disabled:e.disabled,readOnly:e.readOnly})}})({props:e,wrapperVariant:v,propsFromPickerValue:_.layoutProps,propsFromPickerViews:A.layoutProps});return{open:_.open,actions:_.actions,fieldProps:_.fieldProps,renderCurrentView:A.renderCurrentView,hasUIView:A.hasUIView,shouldRestoreFocus:A.shouldRestoreFocus,layoutProps:C.layoutProps}}},45027:(e,t,n)=>{"use strict";n.d(t,{Yg:()=>u,cB:()=>c,hc:()=>l,u:()=>s});var r=n(57126),a=n(96540),o=n(72692),i=n(67530);const s=()=>{const e=a.useContext(o.F);if(null===e)throw new Error(["MUI X: Can not find the date and time pickers localization context.","It looks like you forgot to wrap your component in LocalizationProvider.","This can also happen if you are bundling multiple versions of the `@mui/x-date-pickers` package"].join("\n"));if(null===e.utils)throw new Error(["MUI X: Can not find the date and time pickers adapter from its localization context.","It looks like you forgot to pass a `dateAdapter` to your LocalizationProvider."].join("\n"));const t=a.useMemo((()=>(0,r.A)({},i.X,e.localeText)),[e.localeText]);return a.useMemo((()=>(0,r.A)({},e,{localeText:t})),[e,t])},l=()=>s().utils,u=()=>s().defaultDates,c=e=>{const t=l(),n=a.useRef();return void 0===n.current&&(n.current=t.date(void 0,e)),n.current}},13016:(e,t,n)=>{"use strict";n.d(t,{M:()=>s,Y:()=>l});var r=n(96540),a=n(72236),o=n(85202),i=n(45027);const s=({timezone:e,value:t,defaultValue:n,onChange:o,valueManager:s})=>{const l=(0,i.hc)(),u=r.useRef(n),c=t??u.current??s.emptyValue,d=r.useMemo((()=>s.getTimezone(l,c)),[l,s,c]),p=(0,a.A)((e=>null==d?e:s.setTimezone(l,d,e))),f=e??d??"default";return{value:r.useMemo((()=>s.setTimezone(l,f,c)),[s,l,f,c]),handleValueChange:(0,a.A)(((e,...t)=>{const n=p(e);o?.(n,...t)})),timezone:f}},l=({name:e,timezone:t,value:n,defaultValue:r,onChange:i,valueManager:l})=>{const[u,c]=(0,o.A)({name:e,state:"value",controlled:n,default:r??l.emptyValue}),d=(0,a.A)(((e,...t)=>{c(e),i?.(e,...t)}));return s({timezone:t,value:u,defaultValue:void 0,onChange:d,valueManager:l})}},4780:(e,t,n)=>{"use strict";n.d(t,{o:()=>i});var r=n(96540),a=n(72236),o=n(85202);function i({onChange:e,onViewChange:t,openTo:n,view:i,views:s,autoFocus:l,focusedView:u,onFocusedViewChange:c}){const d=r.useRef(n),p=r.useRef(s),f=r.useRef(s.includes(n)?n:s[0]),[h,m]=(0,o.A)({name:"useViews",state:"view",controlled:i,default:f.current}),g=r.useRef(l?h:null),[v,y]=(0,o.A)({name:"useViews",state:"focusedView",controlled:u,default:g.current});r.useEffect((()=>{(d.current&&d.current!==n||p.current&&p.current.some((e=>!s.includes(e))))&&(m(s.includes(n)?n:s[0]),p.current=s,d.current=n)}),[n,m,h,s]);const b=s.indexOf(h),w=s[b-1]??null,x=s[b+1]??null,S=(0,a.A)(((e,t)=>{y(t?e:t=>e===t?null:t),c?.(e,t)})),_=(0,a.A)((e=>{S(e,!0),e!==h&&(m(e),t&&t(e))})),A=(0,a.A)((()=>{x&&_(x)})),C=(0,a.A)(((t,n,r)=>{const a="finish"===n,o=r?s.indexOf(r){"use strict";n.d(t,{h:()=>l});var r=n(57126),a=n(10793);const o=["enableAccessibleFieldDOMStructure"],i=["InputProps","readOnly"],s=["onPaste","onKeyDown","inputMode","readOnly","InputProps","inputProps","inputRef"],l=e=>{let{enableAccessibleFieldDOMStructure:t}=e,n=(0,a.A)(e,o);if(t){const{InputProps:e,readOnly:t}=n,o=(0,a.A)(n,i);return(0,r.A)({},o,{InputProps:(0,r.A)({},e??{},{readOnly:t})})}const{onPaste:l,onKeyDown:u,inputMode:c,readOnly:d,InputProps:p,inputProps:f,inputRef:h}=n,m=(0,a.A)(n,s);return(0,r.A)({},m,{InputProps:(0,r.A)({},p??{},{readOnly:d}),inputProps:(0,r.A)({},f??{},{inputMode:c,onPaste:l,onKeyDown:u,ref:h})})}},16356:(e,t,n)=>{"use strict";n.d(t,{H:()=>d,J:()=>l});var r=n(57126),a=n(10793),o=n(35421),i=n(80916);const s=["views","format"],l=(e,t,n)=>{let{views:l,format:u}=t,c=(0,a.A)(t,s);if(u)return u;const d=[],p=[];if(l.forEach((e=>{(0,o.hW)(e)?p.push(e):(0,i.sC)(e)&&d.push(e)})),0===p.length)return(0,i.Wq)(e,(0,r.A)({views:d},c),!1);if(0===d.length)return(0,o.b$)(e,(0,r.A)({views:p},c));const f=(0,o.b$)(e,(0,r.A)({views:p},c));return`${n?e.formats.keyboardDate:(0,i.Wq)(e,(0,r.A)({views:d},c),!1)} ${f}`},u=(e,t,n)=>n?t.filter((e=>!(0,o.Sq)(e)||"hours"===e)):e?[...t,"meridiem"]:t,c=(e,t)=>1440/((e.hours??1)*(e.minutes??5))<=t;function d({thresholdToRenderTimeInASingleColumn:e,ampm:t,timeSteps:n,views:a}){const o=e??24,i=(0,r.A)({hours:1,minutes:5,seconds:5},n),s=c(i,o);return{thresholdToRenderTimeInASingleColumn:o,timeSteps:i,shouldRenderTimeInASingleColumn:s,views:u(t,a,s)}}},80916:(e,t,n)=>{"use strict";n.d(t,{IP:()=>s,Q6:()=>i,Wq:()=>h,YQ:()=>u,_S:()=>d,ak:()=>c,cH:()=>m,iH:()=>l,il:()=>o,jH:()=>a,sC:()=>f});var r=n(53136);const a=(e,t,n)=>{let r=t;return r=e.setHours(r,e.getHours(n)),r=e.setMinutes(r,e.getMinutes(n)),r=e.setSeconds(r,e.getSeconds(n)),r=e.setMilliseconds(r,e.getMilliseconds(n)),r},o=({date:e,disableFuture:t,disablePast:n,maxDate:r,minDate:o,isDateDisabled:i,utils:s,timezone:l})=>{const u=a(s,s.date(void 0,l),e);n&&s.isBefore(o,u)&&(o=u),t&&s.isAfter(r,u)&&(r=u);let c=e,d=e;for(s.isBefore(e,o)&&(c=o,d=null),s.isAfter(e,r)&&(d&&(d=r),c=null);c||d;){if(c&&s.isAfter(c,r)&&(c=null),d&&s.isBefore(d,o)&&(d=null),c){if(!i(c))return c;c=s.addDays(c,1)}if(d){if(!i(d))return d;d=s.addDays(d,-1)}}return null},i=(e,t)=>null!=t&&e.isValid(t)?t:null,s=(e,t,n)=>null!=t&&e.isValid(t)?t:n,l=(e,t,n)=>!e.isValid(t)&&null!=t&&!e.isValid(n)&&null!=n||e.isEqual(t,n),u=(e,t)=>{const n=[e.startOfYear(t)];for(;n.length<12;){const t=n[n.length-1];n.push(e.addMonths(t,1))}return n},c=(e,t,n)=>"date"===n?e.startOfDay(e.date(void 0,t)):e.date(void 0,t),d=(e,t)=>{const n=e.setHours(e.date(),"am"===t?2:14);return e.format(n,"meridiem")},p=["year","month","day"],f=e=>p.includes(e),h=(e,{format:t,views:n},a)=>{if(null!=t)return t;const o=e.formats;return(0,r.f)(n,["year"])?o.year:(0,r.f)(n,["month"])?o.month:(0,r.f)(n,["day"])?o.dayOfMonth:(0,r.f)(n,["month","year"])?`${o.month} ${o.year}`:(0,r.f)(n,["day","month"])?`${o.month} ${o.dayOfMonth}`:a?/en/.test(e.getCurrentLocaleCode())?o.normalDateWithWeekday:o.normalDate:o.keyboardDate},m=(e,t)=>{const n=e.startOfWeek(t);return[0,1,2,3,4,5,6].map((t=>e.addDays(n,t)))}},92824:(e,t,n)=>{"use strict";n.d(t,{$9:()=>l,kI:()=>i,yX:()=>o});var r=n(35421),a=n(80916);const o={year:1,month:2,day:3,hours:4,minutes:5,seconds:6,milliseconds:7},i=e=>Math.max(...e.map((e=>o[e.type]??1))),s=(e,t,n)=>{if(t===o.year)return e.startOfYear(n);if(t===o.month)return e.startOfMonth(n);if(t===o.day)return e.startOfDay(n);let r=n;return t{let l=i?i():s(t,n,(0,a.ak)(t,o));null!=e.minDate&&t.isAfterDay(e.minDate,l)&&(l=s(t,n,e.minDate)),null!=e.maxDate&&t.isBeforeDay(e.maxDate,l)&&(l=s(t,n,e.maxDate));const u=(0,r.iF)(e.disableIgnoringDatePartForTimeValidation??!1,t);return null!=e.minTime&&u(e.minTime,l)&&(l=s(t,n,e.disableIgnoringDatePartForTimeValidation?e.minTime:(0,a.jH)(t,l,e.minTime))),null!=e.maxTime&&u(l,e.maxTime)&&(l=s(t,n,e.disableIgnoringDatePartForTimeValidation?e.maxTime:(0,a.jH)(t,l,e.maxTime))),l}},35421:(e,t,n)=>{"use strict";n.d(t,{Sq:()=>i,b$:()=>p,fX:()=>s,gY:()=>l,hW:()=>o,iF:()=>d,tB:()=>u});var r=n(53136);const a=["hours","minutes","seconds"],o=e=>a.includes(e),i=e=>a.includes(e)||"meridiem"===e,s=(e,t)=>e?t.getHours(e)>=12?"pm":"am":null,l=(e,t,n)=>n&&(e>=12?"pm":"am")!==t?"am"===t?e-12:e+12:e,u=(e,t,n,r)=>{const a=l(r.getHours(e),t,n);return r.setHours(e,a)},c=(e,t)=>3600*t.getHours(e)+60*t.getMinutes(e)+t.getSeconds(e),d=(e,t)=>(n,r)=>e?t.isAfter(n,r):c(n,t)>c(r,t),p=(e,{format:t,views:n,ampm:a})=>{if(null!=t)return t;const o=e.formats;return(0,r.f)(n,["hours"])?a?`${o.hours12h} ${o.meridiem}`:o.hours24h:(0,r.f)(n,["minutes"])?o.minutes:(0,r.f)(n,["seconds"])?o.seconds:(0,r.f)(n,["minutes","seconds"])?`${o.minutes}:${o.seconds}`:(0,r.f)(n,["hours","minutes","seconds"])?a?`${o.hours12h}:${o.minutes}:${o.seconds} ${o.meridiem}`:`${o.hours24h}:${o.minutes}:${o.seconds}`:a?`${o.hours12h}:${o.minutes} ${o.meridiem}`:`${o.hours24h}:${o.minutes}`}},18903:(e,t,n)=>{"use strict";function r(e,t){return Array.isArray(t)?t.every((t=>-1!==e.indexOf(t))):-1!==e.indexOf(t)}n.d(t,{Xk:()=>r,bq:()=>o,jX:()=>i,rQ:()=>a});const a=(e,t)=>n=>{"Enter"!==n.key&&" "!==n.key||(e(n),n.preventDefault(),n.stopPropagation()),t&&t(n)},o=(e=document)=>{const t=e.activeElement;return t?t.shadowRoot?o(t.shadowRoot):t:null},i="@media (pointer: fine)"},90383:(e,t,n)=>{"use strict";n.d(t,{W:()=>l,o:()=>u});var r=n(10793),a=n(80916),o=n(92824),i=n(74015);const s=["value","referenceDate"],l={emptyValue:null,getTodayValue:a.ak,getInitialReferenceValue:e=>{let{value:t,referenceDate:n}=e,a=(0,r.A)(e,s);return null!=t&&a.utils.isValid(t)?t:null!=n?n:(0,o.$9)(a)},cleanValue:a.Q6,areValuesEqual:a.iH,isSameError:(e,t)=>e===t,hasError:e=>null!=e,defaultErrorState:null,getTimezone:(e,t)=>null!=t&&e.isValid(t)?e.getTimezone(t):null,setTimezone:(e,t,n)=>null==n?null:e.setTimezone(n,t)},u={updateReferenceValue:(e,t,n)=>null!=t&&e.isValid(t)?t:n,getSectionsFromValue:(e,t,n,r)=>!e.isValid(t)&&n?n:r(t),getV7HiddenInputValueFromSections:i.sZ,getV6InputValueFromSections:i.ZS,getActiveDateManager:(e,t)=>({date:t.value,referenceDate:t.referenceValue,getSections:e=>e,getNewValuesFromNewActiveDate:n=>({value:n,referenceValue:null!=n&&e.isValid(n)?n:t.referenceValue})}),parseValueStr:(e,t,n)=>n(e.trim(),t)}},53136:(e,t,n)=>{"use strict";n.d(t,{R:()=>a,f:()=>r});const r=(e,t)=>e.length===t.length&&t.every((t=>e.includes(t))),a=({openTo:e,defaultOpenTo:t,views:n,defaultViews:r})=>{const a=n??r;let o;if(null!=e)o=e;else if(a.includes(t))o=t;else{if(!(a.length>0))throw new Error("MUI X: The `views` prop must contain at least one view.");o=a[0]}return{views:a,openTo:o}}},67530:(e,t,n)=>{"use strict";n.d(t,{X:()=>o,c:()=>i});var r=n(69021);const a={previousMonth:"Previous month",nextMonth:"Next month",openPreviousView:"Open previous view",openNextView:"Open next view",calendarViewSwitchingButtonAriaLabel:e=>"year"===e?"year view is open, switch to calendar view":"calendar view is open, switch to year view",start:"Start",end:"End",startDate:"Start date",startTime:"Start time",endDate:"End date",endTime:"End time",cancelButtonLabel:"Cancel",clearButtonLabel:"Clear",okButtonLabel:"OK",todayButtonLabel:"Today",datePickerToolbarTitle:"Select date",dateTimePickerToolbarTitle:"Select date & time",timePickerToolbarTitle:"Select time",dateRangePickerToolbarTitle:"Select date range",clockLabelText:(e,t,n,r)=>`Select ${e}. ${r||null!==t&&n.isValid(t)?`Selected time is ${r??n.format(t,"fullTime")}`:"No time selected"}`,hoursClockNumberText:e=>`${e} hours`,minutesClockNumberText:e=>`${e} minutes`,secondsClockNumberText:e=>`${e} seconds`,selectViewText:e=>`Select ${e}`,calendarWeekNumberHeaderLabel:"Week number",calendarWeekNumberHeaderText:"#",calendarWeekNumberAriaLabelText:e=>`Week ${e}`,calendarWeekNumberText:e=>`${e}`,openDatePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`Choose date, selected date is ${n??t.format(e,"fullDate")}`:"Choose date",openTimePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`Choose time, selected time is ${n??t.format(e,"fullTime")}`:"Choose time",fieldClearLabel:"Clear",timeTableLabel:"pick time",dateTableLabel:"pick date",fieldYearPlaceholder:e=>"Y".repeat(e.digitAmount),fieldMonthPlaceholder:e=>"letter"===e.contentType?"MMMM":"MM",fieldDayPlaceholder:()=>"DD",fieldWeekDayPlaceholder:e=>"letter"===e.contentType?"EEEE":"EE",fieldHoursPlaceholder:()=>"hh",fieldMinutesPlaceholder:()=>"mm",fieldSecondsPlaceholder:()=>"ss",fieldMeridiemPlaceholder:()=>"aa",year:"Year",month:"Month",day:"Day",weekDay:"Week day",hours:"Hours",minutes:"Minutes",seconds:"Seconds",meridiem:"Meridiem",empty:"Empty"},o=a,i=(0,r.r)(a)},33845:(e,t,n)=>{"use strict";n.r(t),n.d(t,{DEFAULT_LOCALE:()=>S.X,beBY:()=>i,caES:()=>u,csCZ:()=>p,daDK:()=>m,deDE:()=>y,elGR:()=>x,enUS:()=>S.c,esES:()=>C,eu:()=>E,faIR:()=>O,fiFI:()=>R,frFR:()=>$,heIL:()=>B,huHU:()=>V,isIS:()=>q,itIT:()=>X,jaJP:()=>Z,koKR:()=>te,kzKZ:()=>ae,mk:()=>oe,nbNO:()=>le,nlNL:()=>de,nnNO:()=>he,plPL:()=>ve,ptBR:()=>we,roRO:()=>_e,ruRU:()=>Te,skSK:()=>Me,svSE:()=>Ie,trTR:()=>Ne,ukUA:()=>je,urPK:()=>ze,viVN:()=>Ue,zhCN:()=>Ge,zhHK:()=>Ke});var r=n(69021);const a={hours:"гадзіны",minutes:"хвіліны",seconds:"секунды",meridiem:"мерыдыем"},o={previousMonth:"Папярэдні месяц",nextMonth:"Наступны месяц",openPreviousView:"Aдкрыць папярэдні выгляд",openNextView:"Aдкрыць наступны выгляд",calendarViewSwitchingButtonAriaLabel:e=>"year"===e?"гадавы выгляд адкрыты, перайсці да каляндарнага выгляду":"каляндарны выгляд адкрыты, перайсці да гадавога выгляду",start:"Пачатак",end:"Канец",cancelButtonLabel:"Адмена",clearButtonLabel:"Ачысціць",okButtonLabel:"OK",todayButtonLabel:"Сёння",datePickerToolbarTitle:"Абраць дату",dateTimePickerToolbarTitle:"Абраць дату і час",timePickerToolbarTitle:"Абраць час",dateRangePickerToolbarTitle:"Абраць каляндарны перыяд",clockLabelText:(e,t,n,r)=>`Абярыце ${a[e]}. ${r||null!==t&&n.isValid(t)?`Абраны час ${r??n.format(t,"fullTime")}`:"Час не абраны"}`,hoursClockNumberText:e=>`${e} гадзін`,minutesClockNumberText:e=>`${e} хвілін`,secondsClockNumberText:e=>`${e} секунд`,selectViewText:e=>`Абярыце ${a[e]}`,calendarWeekNumberHeaderLabel:"Нумар тыдня",calendarWeekNumberHeaderText:"#",calendarWeekNumberAriaLabelText:e=>`Тыдзень ${e}`,calendarWeekNumberText:e=>`${e}`,openDatePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`Абраць дату, абрана дата ${n??t.format(e,"fullDate")}`:"Абраць дату",openTimePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`Абраць час, абрыны час ${n??t.format(e,"fullTime")}`:"Абраць час",timeTableLabel:"абраць час",dateTableLabel:"абраць дату",fieldYearPlaceholder:e=>"Y".repeat(e.digitAmount),fieldMonthPlaceholder:e=>"letter"===e.contentType?"MMMM":"MM",fieldDayPlaceholder:()=>"DD",fieldHoursPlaceholder:()=>"hh",fieldMinutesPlaceholder:()=>"mm",fieldSecondsPlaceholder:()=>"ss",fieldMeridiemPlaceholder:()=>"aa"},i=(0,r.r)(o),s={hours:"Hores",minutes:"Minuts",seconds:"Segons",meridiem:"Meridià"},l={previousMonth:"Mes anterior",nextMonth:"Mes següent",openPreviousView:"Obrir l'última vista",openNextView:"Obrir la següent vista",calendarViewSwitchingButtonAriaLabel:e=>"year"===e?"la vista anual està oberta, canvia a la vista de calendari":"la vista de calendari està oberta, canvia a la vista anual",start:"Començar",end:"Terminar",startDate:"Data inicial",startTime:"Hora inicial",endDate:"Data final",endTime:"Hora final",cancelButtonLabel:"Cancel·lar",clearButtonLabel:"Netejar",okButtonLabel:"OK",todayButtonLabel:"Avuí",datePickerToolbarTitle:"Seleccionar data",dateTimePickerToolbarTitle:"Seleccionar data i hora",timePickerToolbarTitle:"Seleccionar hora",dateRangePickerToolbarTitle:"Seleccionar rang de dates",clockLabelText:(e,t,n,r)=>`Selecciona ${s[e]}. ${r||null!==t&&n.isValid(t)?`L'hora seleccionada és ${r??n.format(t,"fullTime")}`:"Hora no seleccionada"}`,hoursClockNumberText:e=>`${e} hores`,minutesClockNumberText:e=>`${e} minuts`,secondsClockNumberText:e=>`${e} segons`,selectViewText:e=>`Seleccionar ${s[e]}`,calendarWeekNumberHeaderLabel:"Número de la setmana",calendarWeekNumberHeaderText:"#",calendarWeekNumberAriaLabelText:e=>`Setmana ${e}`,calendarWeekNumberText:e=>`${e}`,openDatePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`Tria la data, la data triada és ${n??t.format(e,"fullDate")}`:"Tria la data",openTimePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`Tria l'hora, l'hora triada és ${n??t.format(e,"fullTime")}`:"Tria l'hora",fieldClearLabel:"Netega el valor",timeTableLabel:"tria la data",dateTableLabel:"tria l'hora",fieldYearPlaceholder:e=>"Y".repeat(e.digitAmount),fieldMonthPlaceholder:e=>"letter"===e.contentType?"MMMM":"MM",fieldDayPlaceholder:()=>"DD",fieldWeekDayPlaceholder:e=>"letter"===e.contentType?"EEEE":"EE",fieldHoursPlaceholder:()=>"hh",fieldMinutesPlaceholder:()=>"mm",fieldSecondsPlaceholder:()=>"ss",fieldMeridiemPlaceholder:()=>"aa",year:"Any",month:"Mes",day:"Dia",weekDay:"Dia de la setmana",hours:"Hores",minutes:"Minuts",seconds:"Segons",meridiem:"Meridià",empty:"Buit"},u=(0,r.r)(l),c={hours:"Hodiny",minutes:"Minuty",seconds:"Sekundy",meridiem:"Odpoledne"},d={previousMonth:"Předchozí měsíc",nextMonth:"Další měsíc",openPreviousView:"Otevřít předchozí zobrazení",openNextView:"Otevřít další zobrazení",calendarViewSwitchingButtonAriaLabel:e=>"year"===e?"roční zobrazení otevřeno, přepněte do zobrazení kalendáře":"zobrazení kalendáře otevřeno, přepněte do zobrazení roku",start:"Začátek",end:"Konec",cancelButtonLabel:"Zrušit",clearButtonLabel:"Vymazat",okButtonLabel:"Potvrdit",todayButtonLabel:"Dnes",datePickerToolbarTitle:"Vyberte datum",dateTimePickerToolbarTitle:"Vyberte datum a čas",timePickerToolbarTitle:"Vyberte čas",dateRangePickerToolbarTitle:"Vyberete rozmezí dat",clockLabelText:(e,t,n,r)=>`${c[e]??e} vybrány. ${r||null!==t&&n.isValid(t)?`Vybraný čas je ${r??n.format(t,"fullTime")}`:"Není vybrán čas"}`,hoursClockNumberText:e=>`${e} hodin`,minutesClockNumberText:e=>`${e} minut`,secondsClockNumberText:e=>`${e} sekund`,selectViewText:e=>`Vyberte ${c[e]}`,calendarWeekNumberHeaderLabel:"Týden v roce",calendarWeekNumberHeaderText:"#",calendarWeekNumberAriaLabelText:e=>`${e} týden v roce`,calendarWeekNumberText:e=>`${e}`,openDatePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`Vyberte datum, vybrané datum je ${n??t.format(e,"fullDate")}`:"Vyberte datum",openTimePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`Vyberte čas, vybraný čas je ${n??t.format(e,"fullTime")}`:"Vyberte čas",timeTableLabel:"vyberte čas",dateTableLabel:"vyberte datum",fieldYearPlaceholder:e=>"Y".repeat(e.digitAmount),fieldMonthPlaceholder:e=>"letter"===e.contentType?"MMMM":"MM",fieldDayPlaceholder:()=>"DD",fieldHoursPlaceholder:()=>"hh",fieldMinutesPlaceholder:()=>"mm",fieldSecondsPlaceholder:()=>"ss",fieldMeridiemPlaceholder:()=>"aa"},p=(0,r.r)(d),f={hours:"Timer",minutes:"Minutter",seconds:"Sekunder",meridiem:"Meridiem"},h={previousMonth:"Forrige måned",nextMonth:"Næste måned",openPreviousView:"Åben forrige visning",openNextView:"Åben næste visning",calendarViewSwitchingButtonAriaLabel:e=>"year"===e?"årsvisning er åben, skift til kalendervisning":"kalendervisning er åben, skift til årsvisning",start:"Start",end:"Slut",startDate:"Start dato",startTime:"Start tid",endDate:"Slut date",endTime:"Slut tid",cancelButtonLabel:"Annuller",clearButtonLabel:"Ryd",okButtonLabel:"OK",todayButtonLabel:"I dag",datePickerToolbarTitle:"Vælg dato",dateTimePickerToolbarTitle:"Vælg dato & tidspunkt",timePickerToolbarTitle:"Vælg tidspunkt",dateRangePickerToolbarTitle:"Vælg datointerval",clockLabelText:(e,t,n,r)=>`Vælg ${f[e]??e}. ${r||null!==t&&n.isValid(t)?`Valgte tidspunkt er ${r??n.format(t,"fullTime")}`:"Intet tidspunkt valgt"}`,hoursClockNumberText:e=>`${e} timer`,minutesClockNumberText:e=>`${e} minutter`,secondsClockNumberText:e=>`${e} sekunder`,selectViewText:e=>`Vælg ${f[e]}`,calendarWeekNumberHeaderLabel:"Ugenummer",calendarWeekNumberHeaderText:"#",calendarWeekNumberAriaLabelText:e=>`Uge ${e}`,calendarWeekNumberText:e=>`${e}`,openDatePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`Vælg dato, valgte dato er ${n??t.format(e,"fullDate")}`:"Vælg dato",openTimePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`Vælg tidspunkt, valgte tidspunkt er ${n??t.format(e,"fullTime")}`:"Vælg tidspunkt",fieldClearLabel:"ryd felt",timeTableLabel:"vælg tidspunkt",dateTableLabel:"vælg dato",fieldYearPlaceholder:e=>"Y".repeat(e.digitAmount),fieldMonthPlaceholder:e=>"letter"===e.contentType?"MMMM":"MM",fieldDayPlaceholder:()=>"DD",fieldWeekDayPlaceholder:e=>"letter"===e.contentType?"EEEE":"EE",fieldHoursPlaceholder:()=>"hh",fieldMinutesPlaceholder:()=>"mm",fieldSecondsPlaceholder:()=>"ss",fieldMeridiemPlaceholder:()=>"aa",year:"år",month:"måned",day:"dag",weekDay:"ugedag",hours:"timer",minutes:"minutter",seconds:"sekunder",meridiem:"middag",empty:"tom"},m=(0,r.r)(h),g={hours:"Stunden",minutes:"Minuten",seconds:"Sekunden",meridiem:"Meridiem"},v={previousMonth:"Letzter Monat",nextMonth:"Nächster Monat",openPreviousView:"Letzte Ansicht öffnen",openNextView:"Nächste Ansicht öffnen",calendarViewSwitchingButtonAriaLabel:e=>"year"===e?"Jahresansicht ist geöffnet, zur Kalenderansicht wechseln":"Kalenderansicht ist geöffnet, zur Jahresansicht wechseln",start:"Beginn",end:"Ende",startDate:"Startdatum",startTime:"Startzeit",endDate:"Enddatum",endTime:"Endzeit",cancelButtonLabel:"Abbrechen",clearButtonLabel:"Löschen",okButtonLabel:"OK",todayButtonLabel:"Heute",datePickerToolbarTitle:"Datum auswählen",dateTimePickerToolbarTitle:"Datum & Uhrzeit auswählen",timePickerToolbarTitle:"Uhrzeit auswählen",dateRangePickerToolbarTitle:"Datumsbereich auswählen",clockLabelText:(e,t,n,r)=>`${g[e]??e} auswählen. ${r||null!==t&&n.isValid(t)?`Gewählte Uhrzeit ist ${r??n.format(t,"fullTime")}`:"Keine Uhrzeit ausgewählt"}`,hoursClockNumberText:e=>`${e} ${g.hours}`,minutesClockNumberText:e=>`${e} ${g.minutes}`,secondsClockNumberText:e=>`${e} ${g.seconds}`,selectViewText:e=>`${g[e]} auswählen`,calendarWeekNumberHeaderLabel:"Kalenderwoche",calendarWeekNumberHeaderText:"#",calendarWeekNumberAriaLabelText:e=>`Woche ${e}`,calendarWeekNumberText:e=>`${e}`,openDatePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`Datum auswählen, gewähltes Datum ist ${n??t.format(e,"fullDate")}`:"Datum auswählen",openTimePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`Uhrzeit auswählen, gewählte Uhrzeit ist ${n??t.format(e,"fullTime")}`:"Uhrzeit auswählen",fieldClearLabel:"Wert leeren",timeTableLabel:"Uhrzeit auswählen",dateTableLabel:"Datum auswählen",fieldYearPlaceholder:e=>"J".repeat(e.digitAmount),fieldMonthPlaceholder:e=>"letter"===e.contentType?"MMMM":"MM",fieldDayPlaceholder:()=>"TT",fieldWeekDayPlaceholder:e=>"letter"===e.contentType?"EEEE":"EE",fieldHoursPlaceholder:()=>"hh",fieldMinutesPlaceholder:()=>"mm",fieldSecondsPlaceholder:()=>"ss",fieldMeridiemPlaceholder:()=>"aa",year:"Jahr",month:"Monat",day:"Tag",weekDay:"Wochentag",hours:"Stunden",minutes:"Minuten",seconds:"Sekunden",meridiem:"Tageszeit",empty:"Leer"},y=(0,r.r)(v),b={hours:"ώρες",minutes:"λεπτά",seconds:"δευτερόλεπτα",meridiem:"μεσημβρία"},w={previousMonth:"Προηγούμενος μήνας",nextMonth:"Επόμενος μήνας",openPreviousView:"Άνοίγμα προηγούμενης προβολή",openNextView:"Άνοίγμα επόμενης προβολή",calendarViewSwitchingButtonAriaLabel:e=>"year"===e?"η προβολή έτους είναι ανοιχτή, μεταβείτε στην προβολή ημερολογίου":"η προβολή ημερολογίου είναι ανοιχτή, μεταβείτε στην προβολή έτους",start:"Αρχή",end:"Τέλος",cancelButtonLabel:"Άκυρο",clearButtonLabel:"Καθαρισμός",okButtonLabel:"OK",todayButtonLabel:"Σήμερα",datePickerToolbarTitle:"Επιλέξτε ημερομηνία",dateTimePickerToolbarTitle:"Επιλέξτε ημερομηνία και ώρα",timePickerToolbarTitle:"Επιλέξτε ώρα",dateRangePickerToolbarTitle:"Επιλέξτε εύρος ημερομηνιών",clockLabelText:(e,t,n,r)=>`Επιλέξτε ${b[e]}. ${r||null!==t&&n.isValid(t)?`Η επιλεγμένη ώρα είναι ${r??n.format(t,"fullTime")}`:"Δεν έχει επιλεγεί ώρα"}`,hoursClockNumberText:e=>`${e} ώρες`,minutesClockNumberText:e=>`${e} λεπτά`,secondsClockNumberText:e=>`${e} δευτερόλεπτα`,selectViewText:e=>`Επιλέξτε ${b[e]}`,calendarWeekNumberHeaderLabel:"Αριθμός εβδομάδας",calendarWeekNumberHeaderText:"#",calendarWeekNumberAriaLabelText:e=>`Εβδομάδα ${e}`,calendarWeekNumberText:e=>`${e}`,openDatePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`Επιλέξτε ημερομηνία, η επιλεγμένη ημερομηνία είναι ${n??t.format(e,"fullDate")}`:"Επιλέξτε ημερομηνία",openTimePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`Επιλέξτε ώρα, η επιλεγμένη ώρα είναι ${n??t.format(e,"fullTime")}`:"Επιλέξτε ώρα",timeTableLabel:"επιλέξτε ώρα",dateTableLabel:"επιλέξτε ημερομηνία",fieldYearPlaceholder:e=>"Y".repeat(e.digitAmount),fieldMonthPlaceholder:e=>"letter"===e.contentType?"MMMM":"MM",fieldDayPlaceholder:()=>"DD",fieldWeekDayPlaceholder:e=>"letter"===e.contentType?"EEEE":"EE",fieldHoursPlaceholder:()=>"hh",fieldMinutesPlaceholder:()=>"mm",fieldSecondsPlaceholder:()=>"ss",fieldMeridiemPlaceholder:()=>"aa"},x=(0,r.r)(w);var S=n(67530);const _={hours:"Horas",minutes:"Minutos",seconds:"Segundos",meridiem:"Meridiano"},A={previousMonth:"Mes anterior",nextMonth:"Mes siguiente",openPreviousView:"Abrir la última vista",openNextView:"Abrir la siguiente vista",calendarViewSwitchingButtonAriaLabel:e=>"year"===e?"la vista anual está abierta, cambie a la vista de calendario":"la vista de calendario está abierta, cambie a la vista anual",start:"Empezar",end:"Terminar",startDate:"Fecha inicio",startTime:"Hora inicio",endDate:"Fecha final",endTime:"Hora final",cancelButtonLabel:"Cancelar",clearButtonLabel:"Limpiar",okButtonLabel:"OK",todayButtonLabel:"Hoy",datePickerToolbarTitle:"Seleccionar fecha",dateTimePickerToolbarTitle:"Seleccionar fecha y hora",timePickerToolbarTitle:"Seleccionar hora",dateRangePickerToolbarTitle:"Seleccionar rango de fecha",clockLabelText:(e,t,n,r)=>`Seleccione ${_[e]}. ${r||null!==t&&n.isValid(t)?`La hora seleccionada es ${r??n.format(t,"fullTime")}`:"No hay hora seleccionada"}`,hoursClockNumberText:e=>`${e} horas`,minutesClockNumberText:e=>`${e} minutos`,secondsClockNumberText:e=>`${e} segundos`,selectViewText:e=>`Seleccionar ${_[e]}`,calendarWeekNumberHeaderLabel:"Número de semana",calendarWeekNumberHeaderText:"#",calendarWeekNumberAriaLabelText:e=>`Semana ${e}`,calendarWeekNumberText:e=>`${e}`,openDatePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`Elige fecha, la fecha elegida es ${n??t.format(e,"fullDate")}`:"Elige fecha",openTimePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`Elige hora, la hora elegida es ${n??t.format(e,"fullTime")}`:"Elige hora",fieldClearLabel:"Limpiar valor",timeTableLabel:"elige hora",dateTableLabel:"elige fecha",fieldYearPlaceholder:e=>"A".repeat(e.digitAmount),fieldMonthPlaceholder:e=>"letter"===e.contentType?"MMMM":"MM",fieldDayPlaceholder:()=>"DD",fieldWeekDayPlaceholder:e=>"letter"===e.contentType?"EEEE":"EE",fieldHoursPlaceholder:()=>"hh",fieldMinutesPlaceholder:()=>"mm",fieldSecondsPlaceholder:()=>"ss",fieldMeridiemPlaceholder:()=>"aa",year:"Año",month:"Mes",day:"Dia",weekDay:"Dia de la semana",hours:"Horas",minutes:"Minutos",seconds:"Segundos",meridiem:"Meridiano",empty:"Vacío"},C=(0,r.r)(A),T={hours:"orduak",minutes:"minutuak",seconds:"segunduak",meridiem:"meridianoa"},k={previousMonth:"Azken hilabetea",nextMonth:"Hurrengo hilabetea",openPreviousView:"azken bista ireki",openNextView:"hurrengo bista ireki",calendarViewSwitchingButtonAriaLabel:e=>"year"===e?"urteko bista irekita dago, aldatu egutegi bistara":"egutegi bista irekita dago, aldatu urteko bistara",start:"Hasi",end:"Bukatu",cancelButtonLabel:"Utxi",clearButtonLabel:"Garbitu",okButtonLabel:"OK",todayButtonLabel:"Gaur",datePickerToolbarTitle:"Data aukeratu",dateTimePickerToolbarTitle:"Data eta ordua aukeratu",timePickerToolbarTitle:"Ordua aukeratu",dateRangePickerToolbarTitle:"Data tartea aukeratu",clockLabelText:(e,t,n,r)=>`Aukeratu ${T[e]}. ${r||null!==t&&n.isValid(t)?`Aukeratutako ordua ${r??n.format(t,"fullTime")} da`:"Ez da ordurik aukertau"}`,hoursClockNumberText:e=>`${e} ordu`,minutesClockNumberText:e=>`${e} minutu`,secondsClockNumberText:e=>`${e} segundu`,selectViewText:e=>`Aukeratu ${T[e]}`,calendarWeekNumberHeaderLabel:"Astea zenbakia",calendarWeekNumberHeaderText:"#",calendarWeekNumberAriaLabelText:e=>`${e} astea`,calendarWeekNumberText:e=>`${e}`,openDatePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`Data aukeratu, aukeratutako data ${n??t.format(e,"fullDate")} da`:"Data aukeratu",openTimePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`Ordua aukeratu, aukeratutako ordua ${n??t.format(e,"fullTime")} da`:"Ordua aukeratu",fieldClearLabel:"Balioa garbitu",timeTableLabel:"ordua aukeratu",dateTableLabel:"data aukeratu",fieldYearPlaceholder:e=>"Y".repeat(e.digitAmount),fieldMonthPlaceholder:e=>"letter"===e.contentType?"MMMM":"MM",fieldDayPlaceholder:()=>"DD",fieldWeekDayPlaceholder:e=>"letter"===e.contentType?"EEEE":"EE",fieldHoursPlaceholder:()=>"hh",fieldMinutesPlaceholder:()=>"mm",fieldSecondsPlaceholder:()=>"ss",fieldMeridiemPlaceholder:()=>"aa"},E=(0,r.r)(k),M={hours:"ساعت‌ها",minutes:"دقیقه‌ها",seconds:"ثانیه‌ها",meridiem:"بعد از ظهر"},P={previousMonth:"ماه گذشته",nextMonth:"ماه آینده",openPreviousView:"نمای قبلی",openNextView:"نمای بعدی",calendarViewSwitchingButtonAriaLabel:e=>"year"===e?"نمای سال باز است، رفتن به نمای تقویم":"نمای تقویم باز است، رفتن به نمای سال",start:"شروع",end:"پایان",startDate:"تاریخ شروع",startTime:"ساعت شروع",endDate:"تاریخ پایان",endTime:"ساعت پایان",cancelButtonLabel:"لغو",clearButtonLabel:"پاک کردن",okButtonLabel:"اوکی",todayButtonLabel:"امروز",datePickerToolbarTitle:"تاریخ را انتخاب کنید",dateTimePickerToolbarTitle:"تاریخ و ساعت را انتخاب کنید",timePickerToolbarTitle:"ساعت را انتخاب کنید",dateRangePickerToolbarTitle:"محدوده تاریخ را انتخاب کنید",clockLabelText:(e,t,n,r)=>` را انتخاب کنید ${M[e]}. ${r||null!==t&&n.isValid(t)?`ساعت انتخاب ${r??n.format(t,"fullTime")} می باشد`:"هیچ ساعتی انتخاب نشده است"}`,hoursClockNumberText:e=>`${e} ساعت‌ها`,minutesClockNumberText:e=>`${e} دقیقه‌ها`,secondsClockNumberText:e=>`${e} ثانیه‌ها`,selectViewText:e=>` را انتخاب کنید ${M[e]}`,calendarWeekNumberHeaderLabel:"عدد هفته",calendarWeekNumberHeaderText:"#",calendarWeekNumberAriaLabelText:e=>`هفته ${e}`,calendarWeekNumberText:e=>`${e}`,openDatePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`تاریخ را انتخاب کنید، تاریخ انتخاب شده ${n??t.format(e,"fullDate")} می‌باشد`:"تاریخ را انتخاب کنید",openTimePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`ساعت را انتخاب کنید، ساعت انتخاب شده ${n??t.format(e,"fullTime")} می‌باشد`:"ساعت را انتخاب کنید",fieldClearLabel:"پاک کردن مقدار",timeTableLabel:"انتخاب تاریخ",dateTableLabel:"انتخاب ساعت",fieldYearPlaceholder:e=>"Y".repeat(e.digitAmount),fieldMonthPlaceholder:e=>"letter"===e.contentType?"MMMM":"MM",fieldDayPlaceholder:()=>"DD",fieldWeekDayPlaceholder:e=>"letter"===e.contentType?"EEEE":"EE",fieldHoursPlaceholder:()=>"hh",fieldMinutesPlaceholder:()=>"mm",fieldSecondsPlaceholder:()=>"ss",fieldMeridiemPlaceholder:()=>"aa",year:"سال",month:"ماه",day:"روز",weekDay:"روز هفته",hours:"ساعت‌ها",minutes:"دقیقه‌ها",seconds:"ثانیه‌ها",meridiem:"نیم‌روز",empty:"خالی"},O=(0,r.r)(P),I={hours:"tunnit",minutes:"minuutit",seconds:"sekuntit",meridiem:"iltapäivä"},D={previousMonth:"Edellinen kuukausi",nextMonth:"Seuraava kuukausi",openPreviousView:"Avaa edellinen näkymä",openNextView:"Avaa seuraava näkymä",calendarViewSwitchingButtonAriaLabel:e=>"year"===e?"vuosinäkymä on auki, vaihda kalenterinäkymään":"kalenterinäkymä on auki, vaihda vuosinäkymään",start:"Alku",end:"Loppu",startDate:"Alkamispäivämäärä",startTime:"Alkamisaika",endDate:"Päättymispäivämäärä",endTime:"Päättymisaika",cancelButtonLabel:"Peruuta",clearButtonLabel:"Tyhjennä",okButtonLabel:"OK",todayButtonLabel:"Tänään",datePickerToolbarTitle:"Valitse päivä",dateTimePickerToolbarTitle:"Valitse päivä ja aika",timePickerToolbarTitle:"Valitse aika",dateRangePickerToolbarTitle:"Valitse aikaväli",clockLabelText:(e,t,n,r)=>`Valitse ${I[e]}. ${r||null!==t&&n.isValid(t)?`Valittu aika on ${r??n.format(t,"fullTime")}`:"Ei aikaa valittuna"}`,hoursClockNumberText:e=>`${e} tuntia`,minutesClockNumberText:e=>`${e} minuuttia`,secondsClockNumberText:e=>`${e} sekuntia`,selectViewText:e=>`Valitse ${I[e]}`,calendarWeekNumberHeaderLabel:"Viikko",calendarWeekNumberHeaderText:"#",calendarWeekNumberAriaLabelText:e=>`Viikko ${e}`,calendarWeekNumberText:e=>`${e}`,openDatePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`Valitse päivä, valittu päivä on ${n??t.format(e,"fullDate")}`:"Valitse päivä",openTimePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`Valitse aika, valittu aika on ${n??t.format(e,"fullTime")}`:"Valitse aika",fieldClearLabel:"Tyhjennä arvo",timeTableLabel:"valitse aika",dateTableLabel:"valitse päivä",fieldYearPlaceholder:e=>"V".repeat(e.digitAmount),fieldMonthPlaceholder:e=>"letter"===e.contentType?"KKKK":"KK",fieldDayPlaceholder:()=>"PP",fieldWeekDayPlaceholder:e=>"letter"===e.contentType?"EEEE":"EE",fieldHoursPlaceholder:()=>"tt",fieldMinutesPlaceholder:()=>"mm",fieldSecondsPlaceholder:()=>"ss",fieldMeridiemPlaceholder:()=>"aa",year:"Vuosi",month:"Kuukausi",day:"Päivä",weekDay:"Viikonpäivä",hours:"Tunnit",minutes:"Minuutit",seconds:"Sekunnit",meridiem:"Iltapäivä",empty:"Tyhjä"},R=(0,r.r)(D),N={hours:"heures",minutes:"minutes",seconds:"secondes",meridiem:"méridien"},L={previousMonth:"Mois précédent",nextMonth:"Mois suivant",openPreviousView:"Ouvrir la vue précédente",openNextView:"Ouvrir la vue suivante",calendarViewSwitchingButtonAriaLabel:e=>"year"===e?"La vue année est ouverte, ouvrir la vue calendrier":"La vue calendrier est ouverte, ouvrir la vue année",start:"Début",end:"Fin",startDate:"Date de début",startTime:"Heure de début",endDate:"Date de fin",endTime:"Heure de fin",cancelButtonLabel:"Annuler",clearButtonLabel:"Vider",okButtonLabel:"OK",todayButtonLabel:"Aujourd'hui",datePickerToolbarTitle:"Choisir une date",dateTimePickerToolbarTitle:"Choisir la date et l'heure",timePickerToolbarTitle:"Choisir l'heure",dateRangePickerToolbarTitle:"Choisir la plage de dates",clockLabelText:(e,t,n,r)=>`Choix des ${N[e]}. ${r||null!==t&&n.isValid(t)?`L'heure choisie est ${r??n.format(t,"fullTime")}`:"Aucune heure choisie"}`,hoursClockNumberText:e=>`${e} heures`,minutesClockNumberText:e=>`${e} minutes`,secondsClockNumberText:e=>`${e} secondes`,selectViewText:e=>`Choisir ${N[e]}`,calendarWeekNumberHeaderLabel:"Semaine",calendarWeekNumberHeaderText:"#",calendarWeekNumberAriaLabelText:e=>`Semaine ${e}`,calendarWeekNumberText:e=>`${e}`,openDatePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`Choisir la date, la date sélectionnée est ${n??t.format(e,"fullDate")}`:"Choisir la date",openTimePickerDialogue:(e,t,n)=>n?`Choisir l'heure, l'heure sélectionnée est ${n??t.format(e,"fullTime")}`:"Choisir l'heure",fieldClearLabel:"Effacer la valeur",timeTableLabel:"choix de l'heure",dateTableLabel:"choix de la date",fieldYearPlaceholder:e=>"A".repeat(e.digitAmount),fieldMonthPlaceholder:e=>"letter"===e.contentType?"MMMM":"MM",fieldDayPlaceholder:()=>"JJ",fieldWeekDayPlaceholder:e=>"letter"===e.contentType?"EEEE":"EE",fieldHoursPlaceholder:()=>"hh",fieldMinutesPlaceholder:()=>"mm",fieldSecondsPlaceholder:()=>"ss",fieldMeridiemPlaceholder:()=>"aa",year:"Année",month:"Mois",day:"Jour",weekDay:"Jour de la semaine",hours:"Heures",minutes:"Minutes",seconds:"Secondes",meridiem:"Méridien",empty:"Vider"},$=(0,r.r)(L),j={hours:"שעות",minutes:"דקות",seconds:"שניות",meridiem:"מרידיאם"},F={previousMonth:"חודש קודם",nextMonth:"חודש הבא",openPreviousView:"תצוגה קודמת",openNextView:"תצוגה הבאה",calendarViewSwitchingButtonAriaLabel:e=>"year"===e?"תצוגת שנה פתוחה, מעבר לתצוגת לוח שנה":"תצוגת לוח שנה פתוחה, מעבר לתצוגת שנה",start:"תחילה",end:"סיום",startDate:"תאריך תחילה",startTime:"שעת תחילה",endDate:"תאריך סיום",endTime:"שעת סיום",cancelButtonLabel:"ביטול",clearButtonLabel:"ניקוי",okButtonLabel:"אישור",todayButtonLabel:"היום",datePickerToolbarTitle:"בחירת תאריך",dateTimePickerToolbarTitle:"בחירת תאריך ושעה",timePickerToolbarTitle:"בחירת שעה",dateRangePickerToolbarTitle:"בחירת טווח תאריכים",clockLabelText:(e,t,n,r)=>`בחירת ${j[e]}. ${r||null!==t&&n.isValid(t)?`השעה הנבחרת היא ${r??n.format(t,"fullTime")}`:"לא נבחרה שעה"}`,hoursClockNumberText:e=>`${e} שעות`,minutesClockNumberText:e=>`${e} דקות`,secondsClockNumberText:e=>`${e} שניות`,selectViewText:e=>`בחירת ${j[e]}`,calendarWeekNumberHeaderLabel:"שבוע מספר",calendarWeekNumberHeaderText:"#",calendarWeekNumberAriaLabelText:e=>`שבוע ${e}`,calendarWeekNumberText:e=>`${e}`,openDatePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`בחירת תאריך, התאריך שנבחר הוא ${n??t.format(e,"fullDate")}`:"בחירת תאריך",openTimePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`בחירת שעה, השעה שנבחרה היא ${n??t.format(e,"fullTime")}`:"בחירת שעה",fieldClearLabel:"נקה ערך",timeTableLabel:"בחירת שעה",dateTableLabel:"בחירת תאריך",fieldYearPlaceholder:e=>"Y".repeat(e.digitAmount),fieldMonthPlaceholder:e=>"letter"===e.contentType?"MMMM":"MM",fieldDayPlaceholder:()=>"DD",fieldWeekDayPlaceholder:e=>"letter"===e.contentType?"EEEE":"EE",fieldHoursPlaceholder:()=>"hh",fieldMinutesPlaceholder:()=>"mm",fieldSecondsPlaceholder:()=>"ss",fieldMeridiemPlaceholder:()=>"aa",year:"שנה",month:"חודש",day:"יום",weekDay:"יום בשבוע",hours:"שעות",minutes:"דקות",seconds:"שניות",meridiem:"יחידת זמן",empty:"ריק"},B=(0,r.r)(F),z={hours:"Óra",minutes:"Perc",seconds:"Másodperc",meridiem:"Délután"},W={previousMonth:"Előző hónap",nextMonth:"Következő hónap",openPreviousView:"Előző nézet megnyitása",openNextView:"Következő nézet megnyitása",calendarViewSwitchingButtonAriaLabel:e=>"year"===e?"az évválasztó már nyitva, váltson a naptárnézetre":"a naptárnézet már nyitva, váltson az évválasztóra",start:"Kezdő dátum",end:"Záró dátum",startDate:"Kezdő dátum",startTime:"Kezdő idő",endDate:"Záró dátum",endTime:"Záró idő",cancelButtonLabel:"Mégse",clearButtonLabel:"Törlés",okButtonLabel:"OK",todayButtonLabel:"Ma",datePickerToolbarTitle:"Dátum kiválasztása",dateTimePickerToolbarTitle:"Dátum és idő kiválasztása",timePickerToolbarTitle:"Idő kiválasztása",dateRangePickerToolbarTitle:"Dátumhatárok kiválasztása",clockLabelText:(e,t,n,r)=>`${z[e]??e} kiválasztása. ${r||null!==t&&n.isValid(t)?`A kiválasztott idő ${r??n.format(t,"fullTime")}`:"Nincs kiválasztva idő"}`,hoursClockNumberText:e=>`${e} ${z.hours.toLowerCase()}`,minutesClockNumberText:e=>`${e} ${z.minutes.toLowerCase()}`,secondsClockNumberText:e=>`${e} ${z.seconds.toLowerCase()}`,selectViewText:e=>`${z[e]} kiválasztása`,calendarWeekNumberHeaderLabel:"Hét",calendarWeekNumberHeaderText:"#",calendarWeekNumberAriaLabelText:e=>`${e}. hét`,calendarWeekNumberText:e=>`${e}`,openDatePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`Válasszon dátumot, a kiválasztott dátum: ${n??t.format(e,"fullDate")}`:"Válasszon dátumot",openTimePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`Válasszon időt, a kiválasztott idő: ${n??t.format(e,"fullTime")}`:"Válasszon időt",fieldClearLabel:"Tartalom ürítése",timeTableLabel:"válasszon időt",dateTableLabel:"válasszon dátumot",fieldYearPlaceholder:e=>"É".repeat(e.digitAmount),fieldMonthPlaceholder:e=>"letter"===e.contentType?"HHHH":"HH",fieldDayPlaceholder:()=>"NN",fieldWeekDayPlaceholder:e=>"letter"===e.contentType?"NNNN":"NN",fieldHoursPlaceholder:()=>"óó",fieldMinutesPlaceholder:()=>"pp",fieldSecondsPlaceholder:()=>"mm",fieldMeridiemPlaceholder:()=>"dd",year:"Év",month:"Hónap",day:"Nap",weekDay:"Hétköznap",hours:z.hours,minutes:z.minutes,seconds:z.seconds,meridiem:z.meridiem,empty:"Üres"},V=(0,r.r)(W),U={hours:"klukkustundir",minutes:"mínútur",seconds:"sekúndur",meridiem:"eftirmiðdagur"},H={previousMonth:"Fyrri mánuður",nextMonth:"Næsti mánuður",openPreviousView:"Opna fyrri skoðun",openNextView:"Opna næstu skoðun",calendarViewSwitchingButtonAriaLabel:e=>"year"===e?"ársskoðun er opin, skipta yfir í dagatalsskoðun":"dagatalsskoðun er opin, skipta yfir í ársskoðun",start:"Upphaf",end:"Endir",cancelButtonLabel:"Hætta við",clearButtonLabel:"Hreinsa",okButtonLabel:"OK",todayButtonLabel:"Í dag",datePickerToolbarTitle:"Velja dagsetningu",dateTimePickerToolbarTitle:"Velja dagsetningu og tíma",timePickerToolbarTitle:"Velja tíma",dateRangePickerToolbarTitle:"Velja tímabil",clockLabelText:(e,t,n,r)=>`Velja ${U[e]}. ${r||null!==t&&n.isValid(t)?`Valinn tími er ${r??n.format(t,"fullTime")}`:"Enginn tími valinn"}`,hoursClockNumberText:e=>`${e} klukkustundir`,minutesClockNumberText:e=>`${e} mínútur`,secondsClockNumberText:e=>`${e} sekúndur`,selectViewText:e=>`Velja ${U[e]}`,calendarWeekNumberHeaderLabel:"Vikunúmer",calendarWeekNumberHeaderText:"#",calendarWeekNumberAriaLabelText:e=>`Vika ${e}`,calendarWeekNumberText:e=>`${e}`,openDatePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`Velja dagsetningu, valin dagsetning er ${n??t.format(e,"fullDate")}`:"Velja dagsetningu",openTimePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`Velja tíma, valinn tími er ${n??t.format(e,"fullTime")}`:"Velja tíma",timeTableLabel:"velja tíma",dateTableLabel:"velja dagsetningu",fieldYearPlaceholder:e=>"Á".repeat(e.digitAmount),fieldMonthPlaceholder:e=>"letter"===e.contentType?"MMMM":"MM",fieldDayPlaceholder:()=>"DD",fieldWeekDayPlaceholder:e=>"letter"===e.contentType?"EEEE":"EE",fieldHoursPlaceholder:()=>"kk",fieldMinutesPlaceholder:()=>"mm",fieldSecondsPlaceholder:()=>"ss",fieldMeridiemPlaceholder:()=>"ee"},q=(0,r.r)(H),G={hours:"le ore",minutes:"i minuti",seconds:"i secondi",meridiem:"il meridiano"},Y={previousMonth:"Mese precedente",nextMonth:"Mese successivo",openPreviousView:"Apri la vista precedente",openNextView:"Apri la vista successiva",calendarViewSwitchingButtonAriaLabel:e=>"year"===e?"la vista dell'anno è aperta, passare alla vista del calendario":"la vista dell'calendario è aperta, passare alla vista dell'anno",start:"Inizio",end:"Fine",startDate:"Data di inizio",startTime:"Ora di inizio",endDate:"Data di fine",endTime:"Ora di fine",cancelButtonLabel:"Cancellare",clearButtonLabel:"Sgomberare",okButtonLabel:"OK",todayButtonLabel:"Oggi",datePickerToolbarTitle:"Seleziona data",dateTimePickerToolbarTitle:"Seleziona data e orario",timePickerToolbarTitle:"Seleziona orario",dateRangePickerToolbarTitle:"Seleziona intervallo di date",clockLabelText:(e,t,n,r)=>`Seleziona ${G[e]}. ${r||null!==t&&n.isValid(t)?`L'ora selezionata è ${r??n.format(t,"fullTime")}`:"Nessun orario selezionato"}`,hoursClockNumberText:e=>`${e} ore`,minutesClockNumberText:e=>`${e} minuti`,secondsClockNumberText:e=>`${e} secondi`,selectViewText:e=>`Seleziona ${G[e]}`,calendarWeekNumberHeaderLabel:"Numero settimana",calendarWeekNumberHeaderText:"#",calendarWeekNumberAriaLabelText:e=>`Settimana ${e}`,calendarWeekNumberText:e=>`${e}`,openDatePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`Scegli la data, la data selezionata è ${n??t.format(e,"fullDate")}`:"Scegli la data",openTimePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`Scegli l'ora, l'ora selezionata è ${n??t.format(e,"fullTime")}`:"Scegli l'ora",fieldClearLabel:"Cancella valore",timeTableLabel:"scegli un'ora",dateTableLabel:"scegli una data",fieldYearPlaceholder:e=>"A".repeat(e.digitAmount),fieldMonthPlaceholder:e=>"letter"===e.contentType?"MMMM":"MM",fieldDayPlaceholder:()=>"GG",fieldWeekDayPlaceholder:e=>"letter"===e.contentType?"GGGG":"GG",fieldHoursPlaceholder:()=>"hh",fieldMinutesPlaceholder:()=>"mm",fieldSecondsPlaceholder:()=>"ss",fieldMeridiemPlaceholder:()=>"aa",year:"Anno",month:"Mese",day:"Giorno",weekDay:"Giorno della settimana",hours:"Ore",minutes:"Minuti",seconds:"Secondi",meridiem:"Meridiano",empty:"Vuoto"},X=(0,r.r)(Y),K={hours:"時間",minutes:"分",seconds:"秒",meridiem:"メリディム"},Q={previousMonth:"先月",nextMonth:"来月",openPreviousView:"前の表示を開く",openNextView:"次の表示を開く",calendarViewSwitchingButtonAriaLabel:e=>"year"===e?"年選択表示からカレンダー表示に切り替える":"カレンダー表示から年選択表示に切り替える",start:"開始",end:"終了",startDate:"開始日",startTime:"開始時間",endDate:"終了日",endTime:"終了時間",cancelButtonLabel:"キャンセル",clearButtonLabel:"クリア",okButtonLabel:"確定",todayButtonLabel:"今日",datePickerToolbarTitle:"日付を選択",dateTimePickerToolbarTitle:"日時を選択",timePickerToolbarTitle:"時間を選択",dateRangePickerToolbarTitle:"日付の範囲を選択",clockLabelText:(e,t,n,r)=>`${K[e]??e}を選択してください ${r||null!==t&&n.isValid(t)?`選択した時間は ${r??n.format(t,"fullTime")} です`:"時間が選択されていません"}`,hoursClockNumberText:e=>`${e} ${K.hours}`,minutesClockNumberText:e=>`${e} ${K.minutes}`,secondsClockNumberText:e=>`${e} ${K.seconds}`,selectViewText:e=>`を選択 ${K[e]}`,calendarWeekNumberHeaderLabel:"週番号",calendarWeekNumberHeaderText:"#",calendarWeekNumberAriaLabelText:e=>`${e}週目`,calendarWeekNumberText:e=>`${e}`,openDatePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`日付を選択してください。選択した日付は ${n??t.format(e,"fullDate")} です`:"日付を選択してください",openTimePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`時間を選択してください。選択した時間は ${n??t.format(e,"fullTime")} です`:"時間を選択してください",fieldClearLabel:"クリア",timeTableLabel:"時間を選択",dateTableLabel:"日付を選択",fieldYearPlaceholder:e=>"Y".repeat(e.digitAmount),fieldMonthPlaceholder:e=>"letter"===e.contentType?"MMMM":"MM",fieldDayPlaceholder:()=>"DD",fieldWeekDayPlaceholder:e=>"letter"===e.contentType?"EEEE":"EE",fieldHoursPlaceholder:()=>"hh",fieldMinutesPlaceholder:()=>"mm",fieldSecondsPlaceholder:()=>"ss",fieldMeridiemPlaceholder:()=>"aa",year:"年",month:"月",day:"日",weekDay:"平日",hours:"時間",minutes:"分",seconds:"秒",meridiem:"メリディム",empty:"空"},Z=(0,r.r)(Q),J={hours:"시간을",minutes:"분을",seconds:"초를",meridiem:"오전/오후를"},ee={previousMonth:"이전 달",nextMonth:"다음 달",openPreviousView:"이전 화면 보기",openNextView:"다음 화면 보기",calendarViewSwitchingButtonAriaLabel:e=>"year"===e?"연도 선택 화면에서 달력 화면으로 전환하기":"달력 화면에서 연도 선택 화면으로 전환하기",start:"시작",end:"종료",startDate:"시작 날짜",startTime:"시작 시간",endDate:"종료 날짜",endTime:"종료 시간",cancelButtonLabel:"취소",clearButtonLabel:"초기화",okButtonLabel:"확인",todayButtonLabel:"오늘",datePickerToolbarTitle:"날짜 선택하기",dateTimePickerToolbarTitle:"날짜 & 시간 선택하기",timePickerToolbarTitle:"시간 선택하기",dateRangePickerToolbarTitle:"날짜 범위 선택하기",clockLabelText:(e,t,n,r)=>`${J[e]} 선택하세요. ${r||null!==t&&n.isValid(t)?`현재 선택된 시간은 ${r??n.format(t,"fullTime")}입니다.`:"시간을 선택하지 않았습니다."}`,hoursClockNumberText:e=>`${e}시`,minutesClockNumberText:e=>`${e}분`,secondsClockNumberText:e=>`${e}초`,selectViewText:e=>`${J[e]} 선택하기`,calendarWeekNumberHeaderLabel:"주 번호",calendarWeekNumberHeaderText:"#",calendarWeekNumberAriaLabelText:e=>`${e}번째 주`,calendarWeekNumberText:e=>`${e}`,openDatePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`날짜를 선택하세요. 현재 선택된 날짜는 ${n??t.format(e,"fullDate")}입니다.`:"날짜를 선택하세요",openTimePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`시간을 선택하세요. 현재 선택된 시간은 ${n??t.format(e,"fullTime")}입니다.`:"시간을 선택하세요",fieldClearLabel:"지우기",timeTableLabel:"선택한 시간",dateTableLabel:"선택한 날짜",fieldYearPlaceholder:e=>"Y".repeat(e.digitAmount),fieldMonthPlaceholder:e=>"letter"===e.contentType?"MMMM":"MM",fieldDayPlaceholder:()=>"DD",fieldWeekDayPlaceholder:e=>"letter"===e.contentType?"EEEE":"EE",fieldHoursPlaceholder:()=>"hh",fieldMinutesPlaceholder:()=>"mm",fieldSecondsPlaceholder:()=>"ss",fieldMeridiemPlaceholder:()=>"aa",year:"년",month:"월",day:"일",weekDay:"평일",hours:"시간",minutes:"분",seconds:"초",empty:"공란"},te=(0,r.r)(ee),ne={hours:"Сағатты",minutes:"Минутты",seconds:"Секундты",meridiem:"Меридием"},re={previousMonth:"Алдыңғы ай",nextMonth:"Келесі ай",openPreviousView:"Алдыңғы көріністі ашу",openNextView:"Келесі көріністі ашу",calendarViewSwitchingButtonAriaLabel:e=>"year"===e?"жылдық көріністі ашу, күнтізбе көрінісіне ауысу":"күнтізбе көрінісін ашу, жылдық көрінісіне ауысу",start:"Бастау",end:"Cоңы",cancelButtonLabel:"Бас тарту",clearButtonLabel:"Тазарту",okButtonLabel:"Ок",todayButtonLabel:"Бүгін",datePickerToolbarTitle:"Күнді таңдау",dateTimePickerToolbarTitle:"Күн мен уақытты таңдау",timePickerToolbarTitle:"Уақытты таңдау",dateRangePickerToolbarTitle:"Кезеңді таңдаңыз",clockLabelText:(e,t,n,r)=>`${ne[e]} таңдау. ${r||null!==t&&n.isValid(t)?`Таңдалған уақыт ${r??n.format(t,"fullTime")}`:"Уақыт таңдалмаған"}`,hoursClockNumberText:e=>`${e} сағат`,minutesClockNumberText:e=>`${e} минут`,secondsClockNumberText:e=>`${e} секунд`,selectViewText:e=>`${ne[e]} таңдау`,calendarWeekNumberHeaderLabel:"Апта нөмірі",calendarWeekNumberHeaderText:"№",calendarWeekNumberAriaLabelText:e=>`Апта ${e}`,calendarWeekNumberText:e=>`${e}`,openDatePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`Күнді таңдаңыз, таңдалған күн ${n??t.format(e,"fullDate")}`:"Күнді таңдаңыз",openTimePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`Уақытты таңдаңыз, таңдалған уақыт ${n??t.format(e,"fullTime")}`:"Уақытты таңдаңыз",timeTableLabel:"уақытты таңдау",dateTableLabel:"күнді таңдау",fieldYearPlaceholder:e=>"Ж".repeat(e.digitAmount),fieldMonthPlaceholder:e=>"letter"===e.contentType?"AAAA":"AA",fieldDayPlaceholder:()=>"КК",fieldHoursPlaceholder:()=>"сс",fieldMinutesPlaceholder:()=>"мм",fieldSecondsPlaceholder:()=>"сс",fieldMeridiemPlaceholder:()=>"(т|к)"},ae=(0,r.r)(re),oe=(0,r.r)({previousMonth:"Предходен месец",nextMonth:"Следен месец",openPreviousView:"отвори претходен приказ",openNextView:"отвори следен приказ",calendarViewSwitchingButtonAriaLabel:e=>"year"===e?"годишен приказ, отвори календарски приказ":"календарски приказ, отвори годишен приказ",start:"Почеток",end:"Крај",cancelButtonLabel:"Откажи",clearButtonLabel:"Избриши",okButtonLabel:"OK",todayButtonLabel:"Денес",datePickerToolbarTitle:"Избери датум",dateTimePickerToolbarTitle:"Избери датум и време",timePickerToolbarTitle:"Избери време",dateRangePickerToolbarTitle:"Избери временски опсег",clockLabelText:(e,t,n,r)=>`Select ${e}. ${r||null!==t&&n.isValid(t)?`Избраното време е ${r??n.format(t,"fullTime")}`:"Нема избрано време"}`,hoursClockNumberText:e=>`${e} часа`,minutesClockNumberText:e=>`${e} минути`,secondsClockNumberText:e=>`${e} секунди`,selectViewText:e=>`Избери ${e}`,calendarWeekNumberHeaderLabel:"Недела број",calendarWeekNumberHeaderText:"#",calendarWeekNumberAriaLabelText:e=>`Недела ${e}`,calendarWeekNumberText:e=>`${e}`,openDatePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`Избери датум, избраниот датум е ${n??t.format(e,"fullDate")}`:"Избери датум",openTimePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`Избери време, избраното време е ${n??t.format(e,"fullTime")}`:"Избери време",fieldClearLabel:"Избриши",timeTableLabel:"одбери време",dateTableLabel:"одбери датум",fieldYearPlaceholder:e=>"Г".repeat(e.digitAmount),fieldMonthPlaceholder:e=>"letter"===e.contentType?"MMMM":"MM",fieldDayPlaceholder:()=>"ДД",fieldWeekDayPlaceholder:e=>"letter"===e.contentType?"EEEE":"EE",fieldHoursPlaceholder:()=>"чч",fieldMinutesPlaceholder:()=>"мм",fieldSecondsPlaceholder:()=>"сс",fieldMeridiemPlaceholder:()=>"aa"}),ie={hours:"timer",minutes:"minutter",seconds:"sekunder",meridiem:"meridiem"},se={previousMonth:"Forrige måned",nextMonth:"Neste måned",openPreviousView:"Åpne forrige visning",openNextView:"Åpne neste visning",calendarViewSwitchingButtonAriaLabel:e=>"year"===e?"årsvisning er åpen, bytt til kalendervisning":"kalendervisning er åpen, bytt til årsvisning",start:"Start",end:"Slutt",cancelButtonLabel:"Avbryt",clearButtonLabel:"Fjern",okButtonLabel:"OK",todayButtonLabel:"I dag",datePickerToolbarTitle:"Velg dato",dateTimePickerToolbarTitle:"Velg dato & klokkeslett",timePickerToolbarTitle:"Velg klokkeslett",dateRangePickerToolbarTitle:"Velg datoperiode",clockLabelText:(e,t,n,r)=>`Velg ${ie[e]}. ${r||null!==t&&n.isValid(t)?`Valgt tid er ${r??n.format(t,"fullTime")}`:"Ingen tid valgt"}`,hoursClockNumberText:e=>`${e} timer`,minutesClockNumberText:e=>`${e} minutter`,secondsClockNumberText:e=>`${e} sekunder`,selectViewText:e=>`Velg ${ie[e]}`,calendarWeekNumberHeaderLabel:"Ukenummer",calendarWeekNumberHeaderText:"#",calendarWeekNumberAriaLabelText:e=>`Uke ${e}`,calendarWeekNumberText:e=>`${e}`,openDatePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`Velg dato, valgt dato er ${n??t.format(e,"fullDate")}`:"Velg dato",openTimePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`Velg tid, valgt tid er ${n??t.format(e,"fullTime")}`:"Velg tid",timeTableLabel:"velg tid",dateTableLabel:"velg dato",fieldYearPlaceholder:e=>"Å".repeat(e.digitAmount),fieldMonthPlaceholder:e=>"letter"===e.contentType?"MMMM":"MM",fieldDayPlaceholder:()=>"DD",fieldWeekDayPlaceholder:e=>"letter"===e.contentType?"EEEE":"EE",fieldHoursPlaceholder:()=>"tt",fieldMinutesPlaceholder:()=>"mm",fieldSecondsPlaceholder:()=>"ss",fieldMeridiemPlaceholder:()=>"aa"},le=(0,r.r)(se),ue={hours:"uren",minutes:"minuten",seconds:"seconden",meridiem:"meridium"},ce={previousMonth:"Vorige maand",nextMonth:"Volgende maand",openPreviousView:"Open vorige view",openNextView:"Open volgende view",calendarViewSwitchingButtonAriaLabel:e=>"year"===e?"jaarweergave is geopend, schakel over naar kalenderweergave":"kalenderweergave is geopend, switch naar jaarweergave",start:"Start",end:"Einde",startDate:"Start datum",startTime:"Start tijd",endDate:"Eind datum",endTime:"Eind tijd",cancelButtonLabel:"Annuleren",clearButtonLabel:"Resetten",okButtonLabel:"OK",todayButtonLabel:"Vandaag",datePickerToolbarTitle:"Selecteer datum",dateTimePickerToolbarTitle:"Selecteer datum & tijd",timePickerToolbarTitle:"Selecteer tijd",dateRangePickerToolbarTitle:"Selecteer datumbereik",clockLabelText:(e,t,n,r)=>`Selecteer ${ue[e]}. ${r||null!==t&&n.isValid(t)?`Geselecteerde tijd is ${r??n.format(t,"fullTime")}`:"Geen tijd geselecteerd"}`,hoursClockNumberText:e=>`${e} uren`,minutesClockNumberText:e=>`${e} minuten`,secondsClockNumberText:e=>`${e} seconden`,selectViewText:e=>`Selecteer ${ue[e]}`,calendarWeekNumberHeaderLabel:"Weeknummer",calendarWeekNumberHeaderText:"#",calendarWeekNumberAriaLabelText:e=>`Week ${e}`,calendarWeekNumberText:e=>`${e}`,openDatePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`Kies datum, geselecteerde datum is ${n??t.format(e,"fullDate")}`:"Kies datum",openTimePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`Kies tijd, geselecteerde tijd is ${n??t.format(e,"fullTime")}`:"Kies tijd",fieldClearLabel:"Wissen",timeTableLabel:"kies tijd",dateTableLabel:"kies datum",fieldYearPlaceholder:e=>"Y".repeat(e.digitAmount),fieldMonthPlaceholder:e=>"letter"===e.contentType?"MMMM":"MM",fieldDayPlaceholder:()=>"DD",fieldWeekDayPlaceholder:e=>"letter"===e.contentType?"EEEE":"EE",fieldHoursPlaceholder:()=>"hh",fieldMinutesPlaceholder:()=>"mm",fieldSecondsPlaceholder:()=>"ss",fieldMeridiemPlaceholder:()=>"aa",year:"Jaar",month:"Maand",day:"Dag",weekDay:"Weekdag",hours:"Uren",minutes:"Minuten",seconds:"Seconden",meridiem:"Middag",empty:"Legen"},de=(0,r.r)(ce),pe={hours:"timar",minutes:"minuttar",seconds:"sekundar",meridiem:"meridiem"},fe={previousMonth:"Forrige månad",nextMonth:"Neste månad",openPreviousView:"Opne forrige visning",openNextView:"Opne neste visning",calendarViewSwitchingButtonAriaLabel:e=>"year"===e?"årsvisning er open, byt til kalendervisning":"kalendervisning er open, byt til årsvisning",start:"Start",end:"Slutt",startDate:"Startdato",startTime:"Starttid",endDate:"Sluttdato",endTime:"Slutttid",cancelButtonLabel:"Avbryt",clearButtonLabel:"Fjern",okButtonLabel:"OK",todayButtonLabel:"I dag",datePickerToolbarTitle:"Vel dato",dateTimePickerToolbarTitle:"Vel dato & klokkeslett",timePickerToolbarTitle:"Vel klokkeslett",dateRangePickerToolbarTitle:"Vel datoperiode",clockLabelText:(e,t,n,r)=>`Vel ${pe[e]}. ${r||null!==t&&n.isValid(t)?`Vald tid er ${r??n.format(t,"fullTime")}`:"Ingen tid vald"}`,hoursClockNumberText:e=>`${e} timar`,minutesClockNumberText:e=>`${e} minuttar`,secondsClockNumberText:e=>`${e} sekundar`,selectViewText:e=>`Vel ${pe[e]}`,calendarWeekNumberHeaderLabel:"Vekenummer",calendarWeekNumberHeaderText:"#",calendarWeekNumberAriaLabelText:e=>`Veke ${e}`,calendarWeekNumberText:e=>`${e}`,openDatePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`Vel dato, vald dato er ${n??t.format(e,"fullDate")}`:"Vel dato",openTimePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`Vel tid, vald tid er ${n??t.format(e,"fullTime")}`:"Vel tid",fieldClearLabel:"Fjern verdi",timeTableLabel:"vel tid",dateTableLabel:"vel dato",fieldYearPlaceholder:e=>"Å".repeat(e.digitAmount),fieldMonthPlaceholder:e=>"letter"===e.contentType?"MMMM":"MM",fieldDayPlaceholder:()=>"DD",fieldWeekDayPlaceholder:e=>"letter"===e.contentType?"EEEE":"EE",fieldHoursPlaceholder:()=>"tt",fieldMinutesPlaceholder:()=>"mm",fieldSecondsPlaceholder:()=>"ss",fieldMeridiemPlaceholder:()=>"aa",year:"År",month:"Månad",day:"Dag",weekDay:"Vekedag",hours:"Timar",minutes:"Minuttar",seconds:"Sekundar",meridiem:"Meridiem",empty:"Tom"},he=(0,r.r)(fe),me={hours:"godzin",minutes:"minut",seconds:"sekund",meridiem:"popołudnie"},ge={previousMonth:"Poprzedni miesiąc",nextMonth:"Następny miesiąc",openPreviousView:"Otwórz poprzedni widok",openNextView:"Otwórz następny widok",calendarViewSwitchingButtonAriaLabel:e=>"year"===e?"otwarty jest widok roku, przełącz na widok kalendarza":"otwarty jest widok kalendarza, przełącz na widok roku",start:"Początek",end:"Koniec",cancelButtonLabel:"Anuluj",clearButtonLabel:"Wyczyść",okButtonLabel:"Zatwierdź",todayButtonLabel:"Dzisiaj",datePickerToolbarTitle:"Wybierz datę",dateTimePickerToolbarTitle:"Wybierz datę i czas",timePickerToolbarTitle:"Wybierz czas",dateRangePickerToolbarTitle:"Wybierz zakres dat",clockLabelText:(e,t,n,r)=>`Wybierz ${me[e]}. ${r||null!==t&&n.isValid(t)?`Wybrany czas to ${r??n.format(t,"fullTime")}`:"Nie wybrano czasu"}`,hoursClockNumberText:e=>`${e} godzin`,minutesClockNumberText:e=>`${e} minut`,secondsClockNumberText:e=>`${e} sekund`,selectViewText:e=>`Wybierz ${me[e]}`,calendarWeekNumberHeaderLabel:"Numer tygodnia",calendarWeekNumberHeaderText:"#",calendarWeekNumberAriaLabelText:e=>`Tydzień ${e}`,calendarWeekNumberText:e=>`${e}`,openDatePickerDialogue:(e,t,n)=>null!=e&&t.isValid(e)?`Wybierz datę, obecnie wybrana data to ${n??t.format(e,"fullDate")}`:"Wybierz datę",openTimePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`Wybierz czas, obecnie wybrany czas to ${n??t.format(e,"fullTime")}`:"Wybierz czas",timeTableLabel:"wybierz czas",dateTableLabel:"wybierz datę"},ve=(0,r.r)(ge),ye={hours:"horas",minutes:"minutos",seconds:"segundos",meridiem:"meridiano"},be={previousMonth:"Mês anterior",nextMonth:"Próximo mês",openPreviousView:"Abrir próxima seleção",openNextView:"Abrir seleção anterior",calendarViewSwitchingButtonAriaLabel:e=>"year"===e?"Seleção de ano está aberta, alternando para seleção de calendário":"Seleção de calendários está aberta, alternando para seleção de ano",start:"Início",end:"Fim",startDate:"Data de início",startTime:"Hora de início",endDate:"Data de Término",endTime:"Hora de Término",cancelButtonLabel:"Cancelar",clearButtonLabel:"Limpar",okButtonLabel:"OK",todayButtonLabel:"Hoje",datePickerToolbarTitle:"Selecione a data",dateTimePickerToolbarTitle:"Selecione data e hora",timePickerToolbarTitle:"Selecione a hora",dateRangePickerToolbarTitle:"Selecione o intervalo entre datas",clockLabelText:(e,t,n,r)=>`Selecione ${ye[e]}. ${r||null!==t&&n.isValid(t)?`Selecionado a hora ${r??n.format(t,"fullTime")}`:"Hora não selecionada"}`,hoursClockNumberText:e=>`${e} horas`,minutesClockNumberText:e=>`${e} minutos`,secondsClockNumberText:e=>`${e} segundos`,selectViewText:e=>`Selecione ${ye[e]}`,calendarWeekNumberHeaderLabel:"Número da semana",calendarWeekNumberHeaderText:"#",calendarWeekNumberAriaLabelText:e=>`Semana ${e}`,calendarWeekNumberText:e=>`${e}`,openDatePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`Escolha uma data, data selecionada ${n??t.format(e,"fullDate")}`:"Escolha uma data",openTimePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`Escolha uma hora, hora selecionada ${n??t.format(e,"fullTime")}`:"Escolha uma hora",timeTableLabel:"escolha uma hora",dateTableLabel:"escolha uma data",fieldYearPlaceholder:e=>"A".repeat(e.digitAmount),fieldMonthPlaceholder:e=>"letter"===e.contentType?"MMMM":"MM",fieldDayPlaceholder:()=>"DD",fieldWeekDayPlaceholder:e=>"letter"===e.contentType?"SSSS":"SS",fieldHoursPlaceholder:()=>"hh",fieldMinutesPlaceholder:()=>"mm",fieldSecondsPlaceholder:()=>"ss",fieldMeridiemPlaceholder:()=>"aa",year:"Ano",month:"Mês",day:"Dia",weekDay:"Dia da Semana",hours:"Horas",minutes:"Minutos",seconds:"Segundos",meridiem:"Meio dia",empty:"Vazio"},we=(0,r.r)(be),xe={hours:"Ore",minutes:"Minute",seconds:"Secunde",meridiem:"Meridiane"},Se={previousMonth:"Luna anterioară",nextMonth:"Luna următoare",openPreviousView:"Deschideți vizualizarea anterioară",openNextView:"Deschideți vizualizarea următoare",calendarViewSwitchingButtonAriaLabel:e=>"year"===e?"Vizualizarea anuală este deschisă, comutați la vizualizarea calendarului":"Vizualizarea calendarului este deschisă, comutați la vizualizarea anuală",start:"Început",end:"Sfârșit",cancelButtonLabel:"Anulare",clearButtonLabel:"Ștergere",okButtonLabel:"OK",todayButtonLabel:"Astăzi",datePickerToolbarTitle:"Selectați data",dateTimePickerToolbarTitle:"Selectați data și ora",timePickerToolbarTitle:"Selectați ora",dateRangePickerToolbarTitle:"Selectați intervalul de date",clockLabelText:(e,t,n,r)=>`Selectați ${xe[e]??e}. ${r||null!==t&&n.isValid(t)?`Ora selectată este ${r??n.format(t,"fullTime")}`:"Nicio oră selectată"}`,hoursClockNumberText:e=>`${e} ${xe.hours}`,minutesClockNumberText:e=>`${e} ${xe.minutes}`,secondsClockNumberText:e=>`${e} ${xe.seconds}`,selectViewText:e=>`Selectați ${xe[e]}`,calendarWeekNumberHeaderLabel:"Număr săptămână",calendarWeekNumberHeaderText:"#",calendarWeekNumberAriaLabelText:e=>`Săptămâna ${e}`,calendarWeekNumberText:e=>`${e}`,openDatePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`Selectați data, data selectată este ${n??t.format(e,"fullDate")}`:"Selectați data",openTimePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`Selectați ora, ora selectată este ${n??t.format(e,"fullTime")}`:"Selectați ora",fieldClearLabel:"Golire conținut",timeTableLabel:"Selectați ora",dateTableLabel:"Selectați data",fieldYearPlaceholder:e=>"A".repeat(e.digitAmount),fieldMonthPlaceholder:e=>"letter"===e.contentType?"LLLL":"LL",fieldDayPlaceholder:()=>"ZZ",fieldHoursPlaceholder:()=>"hh",fieldMinutesPlaceholder:()=>"mm",fieldSecondsPlaceholder:()=>"ss",fieldMeridiemPlaceholder:()=>"aa"},_e=(0,r.r)(Se),Ae={hours:"часы",minutes:"минуты",seconds:"секунды",meridiem:"меридием"},Ce={previousMonth:"Предыдущий месяц",nextMonth:"Следующий месяц",openPreviousView:"Открыть предыдущий вид",openNextView:"Открыть следующий вид",calendarViewSwitchingButtonAriaLabel:e=>"year"===e?"открыт годовой вид, переключить на календарный вид":"открыт календарный вид, переключить на годовой вид",start:"Начало",end:"Конец",startDate:"Начальная дата",startTime:"Начальное время",endDate:"Конечная дата",endTime:"Конечное время",cancelButtonLabel:"Отмена",clearButtonLabel:"Очистить",okButtonLabel:"Ок",todayButtonLabel:"Сегодня",datePickerToolbarTitle:"Выбрать дату",dateTimePickerToolbarTitle:"Выбрать дату и время",timePickerToolbarTitle:"Выбрать время",dateRangePickerToolbarTitle:"Выбрать период",clockLabelText:(e,t,n,r)=>`Выбрать ${Ae[e]}. ${r||null!==t&&n.isValid(t)?`Выбрано время ${r??n.format(t,"fullTime")}`:"Время не выбрано"}`,hoursClockNumberText:e=>`${e} часов`,minutesClockNumberText:e=>`${e} минут`,secondsClockNumberText:e=>`${e} секунд`,selectViewText:e=>`Выбрать ${Ae[e]}`,calendarWeekNumberHeaderLabel:"Номер недели",calendarWeekNumberHeaderText:"№",calendarWeekNumberAriaLabelText:e=>`Неделя ${e}`,calendarWeekNumberText:e=>`${e}`,openDatePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`Выберите дату, выбрана дата ${n??t.format(e,"fullDate")}`:"Выберите дату",openTimePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`Выберите время, выбрано время ${n??t.format(e,"fullTime")}`:"Выберите время",fieldClearLabel:"Очистить значение",timeTableLabel:"выбрать время",dateTableLabel:"выбрать дату",fieldYearPlaceholder:e=>"Г".repeat(e.digitAmount),fieldMonthPlaceholder:e=>"letter"===e.contentType?"ММММ":"ММ",fieldDayPlaceholder:()=>"ДД",fieldWeekDayPlaceholder:e=>"letter"===e.contentType?"ДДДД":"ДД",fieldHoursPlaceholder:()=>"чч",fieldMinutesPlaceholder:()=>"мм",fieldSecondsPlaceholder:()=>"сс",fieldMeridiemPlaceholder:()=>"(д|п)п",year:"Год",month:"Месяц",day:"День",weekDay:"День недели",hours:"Часы",minutes:"Минуты",seconds:"Секунды",meridiem:"Меридием",empty:"Пустой"},Te=(0,r.r)(Ce),ke={hours:"Hodiny",minutes:"Minúty",seconds:"Sekundy",meridiem:"Popoludnie"},Ee={previousMonth:"Ďalší mesiac",nextMonth:"Predchádzajúci mesiac",openPreviousView:"Otvoriť predchádzajúce zobrazenie",openNextView:"Otvoriť ďalšie zobrazenie",calendarViewSwitchingButtonAriaLabel:e=>"year"===e?"ročné zobrazenie otvorené, prepnite do zobrazenia kalendára":"zobrazenie kalendára otvorené, prepnite do zobrazenia roka",start:"Začiatok",end:"Koniec",cancelButtonLabel:"Zrušiť",clearButtonLabel:"Vymazať",okButtonLabel:"Potvrdiť",todayButtonLabel:"Dnes",datePickerToolbarTitle:"Vyberte dátum",dateTimePickerToolbarTitle:"Vyberte dátum a čas",timePickerToolbarTitle:"Vyberte čas",dateRangePickerToolbarTitle:"Vyberete rozmedzie dátumov",clockLabelText:(e,t,n,r)=>`${ke[e]??e} vybraný. ${r||null!==t&&n.isValid(t)?`Vybraný čas je ${r??n.format(t,"fullTime")}`:"Nie je vybraný čas"}`,hoursClockNumberText:e=>`${e} hodín`,minutesClockNumberText:e=>`${e} minút`,secondsClockNumberText:e=>`${e} sekúnd`,selectViewText:e=>`Vyberte ${ke[e]}`,calendarWeekNumberHeaderLabel:"Týždeň v roku",calendarWeekNumberHeaderText:"#",calendarWeekNumberAriaLabelText:e=>`${e} týždeň v roku`,calendarWeekNumberText:e=>`${e}`,openDatePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`Vyberte dátum, vybraný dátum je ${n??t.format(e,"fullDate")}`:"Vyberte dátum",openTimePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`Vyberte čas, vybraný čas je ${n??t.format(e,"fullTime")}`:"Vyberte čas",timeTableLabel:"vyberte čas",dateTableLabel:"vyberte dátum",fieldYearPlaceholder:e=>"Y".repeat(e.digitAmount),fieldMonthPlaceholder:e=>"letter"===e.contentType?"MMMM":"MM",fieldDayPlaceholder:()=>"DD",fieldHoursPlaceholder:()=>"hh",fieldMinutesPlaceholder:()=>"mm",fieldSecondsPlaceholder:()=>"ss",fieldMeridiemPlaceholder:()=>"aa"},Me=(0,r.r)(Ee),Pe={hours:"timmar",minutes:"minuter",seconds:"sekunder",meridiem:"meridiem"},Oe={previousMonth:"Föregående månad",nextMonth:"Nästa månad",openPreviousView:"Öppna föregående vy",openNextView:"Öppna nästa vy",calendarViewSwitchingButtonAriaLabel:e=>"year"===e?"årsvyn är öppen, byt till kalendervy":"kalendervyn är öppen, byt till årsvy",start:"Start",end:"Slut",startDate:"Startdatum",startTime:"Starttid",endDate:"Slutdatum",endTime:"Sluttid",cancelButtonLabel:"Avbryt",clearButtonLabel:"Rensa",okButtonLabel:"OK",todayButtonLabel:"Idag",datePickerToolbarTitle:"Välj datum",dateTimePickerToolbarTitle:"Välj datum & tid",timePickerToolbarTitle:"Välj tid",dateRangePickerToolbarTitle:"Välj datumintervall",clockLabelText:(e,t,n,r)=>`Välj ${Pe[e]}. ${r||null!==t&&n.isValid(t)?`Vald tid är ${r??n.format(t,"fullTime")}`:"Ingen tid vald"}`,hoursClockNumberText:e=>`${e} timmar`,minutesClockNumberText:e=>`${e} minuter`,secondsClockNumberText:e=>`${e} sekunder`,selectViewText:e=>`Välj ${Pe[e]}`,calendarWeekNumberHeaderLabel:"Vecka nummer",calendarWeekNumberHeaderText:"#",calendarWeekNumberAriaLabelText:e=>`Vecka ${e}`,calendarWeekNumberText:e=>`${e}`,openDatePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`Välj datum, valt datum är ${n??t.format(e,"fullDate")}`:"Välj datum",openTimePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`Välj tid, vald tid är ${n??t.format(e,"fullTime")}`:"Välj tid",fieldClearLabel:"Rensa värde",timeTableLabel:"välj tid",dateTableLabel:"välj datum",fieldYearPlaceholder:e=>"Å".repeat(e.digitAmount),fieldMonthPlaceholder:e=>"letter"===e.contentType?"MMMM":"MM",fieldDayPlaceholder:()=>"DD",fieldWeekDayPlaceholder:e=>"letter"===e.contentType?"EEEE":"EE",fieldHoursPlaceholder:()=>"tt",fieldMinutesPlaceholder:()=>"mm",fieldSecondsPlaceholder:()=>"ss",fieldMeridiemPlaceholder:()=>"aa",year:"År",month:"Månad",day:"Dag",weekDay:"Veckodag",hours:"Timmar",minutes:"Minuter",seconds:"Sekunder",meridiem:"Meridiem",empty:"Tom"},Ie=(0,r.r)(Oe),De={hours:"saat",minutes:"dakika",seconds:"saniye",meridiem:"öğleden sonra"},Re={previousMonth:"Önceki ay",nextMonth:"Sonraki ay",openPreviousView:"Sonraki görünüm",openNextView:"Önceki görünüm",calendarViewSwitchingButtonAriaLabel:e=>"year"===e?"yıl görünümü açık, takvim görünümüne geç":"takvim görünümü açık, yıl görünümüne geç",start:"Başlangıç",end:"Bitiş",cancelButtonLabel:"iptal",clearButtonLabel:"Temizle",okButtonLabel:"Tamam",todayButtonLabel:"Bugün",datePickerToolbarTitle:"Tarih Seç",dateTimePickerToolbarTitle:"Tarih & Saat seç",timePickerToolbarTitle:"Saat seç",dateRangePickerToolbarTitle:"Tarih aralığı seçin",clockLabelText:(e,t,n,r)=>`${De[e]} seç. ${r||null!==t&&n.isValid(t)?`Seçilen zaman: ${r??n.format(t,"fullTime")}`:"Zaman seçilmedi"}`,hoursClockNumberText:e=>`${e} saat`,minutesClockNumberText:e=>`${e} dakika`,secondsClockNumberText:e=>`${e} saniye`,selectViewText:e=>`Seç ${De[e]}`,calendarWeekNumberHeaderLabel:"Hafta numarası",calendarWeekNumberHeaderText:"#",calendarWeekNumberAriaLabelText:e=>`Hafta ${e}`,calendarWeekNumberText:e=>`${e}`,openDatePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`Tarih seçin, seçilen tarih: ${n??t.format(e,"fullDate")}`:"Tarih seç",openTimePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`Saat seçin, seçilen saat: ${n??t.format(e,"fullTime")}`:"Saat seç",timeTableLabel:"saat seç",dateTableLabel:"tarih seç",fieldYearPlaceholder:e=>"Y".repeat(e.digitAmount),fieldMonthPlaceholder:e=>"letter"===e.contentType?"AAA":"AA",fieldDayPlaceholder:()=>"GG",fieldWeekDayPlaceholder:e=>"letter"===e.contentType?"HHH":"HH",fieldHoursPlaceholder:()=>"ss",fieldMinutesPlaceholder:()=>"dd",fieldSecondsPlaceholder:()=>"ss",fieldMeridiemPlaceholder:()=>"aa"},Ne=(0,r.r)(Re),Le={hours:"годин",minutes:"хвилин",seconds:"секунд",meridiem:"Південь"},$e={previousMonth:"Попередній місяць",nextMonth:"Наступний місяць",openPreviousView:"Відкрити попередній вигляд",openNextView:"Відкрити наступний вигляд",calendarViewSwitchingButtonAriaLabel:e=>"year"===e?"річний вигляд відкрито, перейти до календарного вигляду":"календарний вигляд відкрито, перейти до річного вигляду",start:"Початок",end:"Кінець",startDate:"День початку",startTime:"Час початку",endDate:"День закінчення",endTime:"Час закінчення",cancelButtonLabel:"Відміна",clearButtonLabel:"Очистити",okButtonLabel:"OK",todayButtonLabel:"Сьогодні",datePickerToolbarTitle:"Вибрати дату",dateTimePickerToolbarTitle:"Вибрати дату і час",timePickerToolbarTitle:"Вибрати час",dateRangePickerToolbarTitle:"Вибрати календарний період",clockLabelText:(e,t,n,r)=>`Вибрати ${Le[e]}. ${r||null!==t&&n.isValid(t)?`Вибрано час ${r??n.format(t,"fullTime")}`:"Час не вибраний"}`,hoursClockNumberText:e=>`${e} годин`,minutesClockNumberText:e=>`${e} хвилин`,secondsClockNumberText:e=>`${e} секунд`,selectViewText:e=>`Вибрати ${Le[e]}`,calendarWeekNumberHeaderLabel:"Номер тижня",calendarWeekNumberHeaderText:"#",calendarWeekNumberAriaLabelText:e=>`Тиждень ${e}`,calendarWeekNumberText:e=>`${e}`,openDatePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`Оберіть дату, обрана дата ${n??t.format(e,"fullDate")}`:"Оберіть дату",openTimePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`Оберіть час, обраний час ${n??t.format(e,"fullTime")}`:"Оберіть час",fieldClearLabel:"Очистити дані",timeTableLabel:"оберіть час",dateTableLabel:"оберіть дату",fieldYearPlaceholder:e=>"Y".repeat(e.digitAmount),fieldMonthPlaceholder:e=>"letter"===e.contentType?"MMMM":"MM",fieldDayPlaceholder:()=>"DD",fieldWeekDayPlaceholder:e=>"letter"===e.contentType?"EEEE":"EE",fieldHoursPlaceholder:()=>"hh",fieldMinutesPlaceholder:()=>"mm",fieldSecondsPlaceholder:()=>"ss",fieldMeridiemPlaceholder:()=>"aa",year:"Рік",month:"Місяць",day:"День",weekDay:"День тижня",hours:"Годин",minutes:"Хвилин",seconds:"Секунд",meridiem:"Меридіем",empty:"Порожній"},je=(0,r.r)($e),Fe={hours:"گھنٹے",minutes:"منٹ",seconds:"سیکنڈ",meridiem:"میریڈیم"},Be={previousMonth:"پچھلا مہینہ",nextMonth:"اگلا مہینہ",openPreviousView:"پچھلا ویو کھولیں",openNextView:"اگلا ویو کھولیں",calendarViewSwitchingButtonAriaLabel:e=>"year"===e?"سال والا ویو کھلا ہے۔ کیلنڈر والا ویو کھولیں":"کیلنڈر والا ویو کھلا ہے۔ سال والا ویو کھولیں",start:"شروع",end:"ختم",cancelButtonLabel:"کینسل",clearButtonLabel:"کلئیر",okButtonLabel:"اوکے",todayButtonLabel:"آج",datePickerToolbarTitle:"تاریخ منتخب کریں",dateTimePickerToolbarTitle:"تاریخ اور وقت منتخب کریں",timePickerToolbarTitle:"وقت منتخب کریں",dateRangePickerToolbarTitle:"تاریخوں کی رینج منتخب کریں",clockLabelText:(e,t,n,r)=>`${Fe[e]} منتخب کریں ${r||null!==t&&n.isValid(t)?`منتخب وقت ہے ${r??n.format(t,"fullTime")}`:"کوئی وقت منتخب نہیں"}`,hoursClockNumberText:e=>`${e} گھنٹے`,minutesClockNumberText:e=>`${e} منٹ`,secondsClockNumberText:e=>`${e} سیکنڈ`,selectViewText:e=>`${Fe[e]} منتخب کریں`,calendarWeekNumberHeaderLabel:"ہفتہ نمبر",calendarWeekNumberHeaderText:"نمبر",calendarWeekNumberAriaLabelText:e=>`ہفتہ ${e}`,calendarWeekNumberText:e=>`${e}`,openDatePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`تاریخ منتخب کریں، منتخب شدہ تاریخ ہے ${n??t.format(e,"fullDate")}`:"تاریخ منتخب کریں",openTimePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`وقت منتخب کریں، منتخب شدہ وقت ہے ${n??t.format(e,"fullTime")}`:"وقت منتخب کریں",timeTableLabel:"وقت منتخب کریں",dateTableLabel:"تاریخ منتخب کریں"},ze=(0,r.r)(Be),We={hours:"giờ",minutes:"phút",seconds:"giây",meridiem:"buổi"},Ve={previousMonth:"Tháng trước",nextMonth:"Tháng sau",openPreviousView:"Mở xem trước",openNextView:"Mở xem sau",calendarViewSwitchingButtonAriaLabel:e=>"year"===e?"đang mở xem năm, chuyển sang xem lịch":"đang mở xem lịch, chuyển sang xem năm",start:"Bắt đầu",end:"Kết thúc",startDate:"Ngày bắt đầu",startTime:"Thời gian bắt đầu",endDate:"Ngày kết thúc",endTime:"Thời gian kết thúc",cancelButtonLabel:"Hủy",clearButtonLabel:"Xóa",okButtonLabel:"OK",todayButtonLabel:"Hôm nay",datePickerToolbarTitle:"Chọn ngày",dateTimePickerToolbarTitle:"Chọn ngày và giờ",timePickerToolbarTitle:"Chọn giờ",dateRangePickerToolbarTitle:"Chọn khoảng ngày",clockLabelText:(e,t,n,r)=>`Chọn ${We[e]}. ${r||null!==t&&n.isValid(t)?`Giờ được chọn là ${r??n.format(t,"fullTime")}`:"Không có giờ được chọn"}`,hoursClockNumberText:e=>`${e} giờ`,minutesClockNumberText:e=>`${e} phút`,secondsClockNumberText:e=>`${e} giây`,selectViewText:e=>`Chọn ${We[e]}`,calendarWeekNumberHeaderLabel:"Số tuần",calendarWeekNumberHeaderText:"#",calendarWeekNumberAriaLabelText:e=>`Tuần ${e}`,calendarWeekNumberText:e=>`${e}`,openDatePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`Chọn ngày, ngày đã chọn là ${n??t.format(e,"fullDate")}`:"Chọn ngày",openTimePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`Chọn giờ, giờ đã chọn là ${n??t.format(e,"fullTime")}`:"Chọn giờ",fieldClearLabel:"Xóa giá trị",timeTableLabel:"chọn giờ",dateTableLabel:"chọn ngày",fieldYearPlaceholder:e=>"Y".repeat(e.digitAmount),fieldMonthPlaceholder:e=>"letter"===e.contentType?"MMMM":"MM",fieldDayPlaceholder:()=>"DD",fieldWeekDayPlaceholder:e=>"letter"===e.contentType?"EEEE":"EE",fieldHoursPlaceholder:()=>"hh",fieldMinutesPlaceholder:()=>"mm",fieldSecondsPlaceholder:()=>"ss",fieldMeridiemPlaceholder:()=>"aa",year:"Năm",month:"Tháng",day:"Ngày",weekDay:"Thứ",hours:"Giờ",minutes:"Phút",seconds:"Giây",meridiem:"Buổi",empty:"Trống"},Ue=(0,r.r)(Ve),He={hours:"小时",minutes:"分钟",seconds:"秒",meridiem:"十二小时制"},qe={previousMonth:"上个月",nextMonth:"下个月",openPreviousView:"前一个视图",openNextView:"下一个视图",calendarViewSwitchingButtonAriaLabel:e=>"year"===e?"年视图已打开,切换为日历视图":"日历视图已打开,切换为年视图",start:"开始",end:"结束",startDate:"开始日期",startTime:"开始时间",endDate:"结束日期",endTime:"结束时间",cancelButtonLabel:"取消",clearButtonLabel:"清除",okButtonLabel:"确认",todayButtonLabel:"今天",datePickerToolbarTitle:"选择日期",dateTimePickerToolbarTitle:"选择日期和时间",timePickerToolbarTitle:"选择时间",dateRangePickerToolbarTitle:"选择时间范围",clockLabelText:(e,t,n,r)=>`选择 ${He[e]}. ${r||null!==t&&n.isValid(t)?`已选择${r??n.format(t,"fullTime")}`:"未选择时间"}`,hoursClockNumberText:e=>`${e}小时`,minutesClockNumberText:e=>`${e}分钟`,secondsClockNumberText:e=>`${e}秒`,selectViewText:e=>`选择 ${He[e]}`,calendarWeekNumberHeaderLabel:"周数",calendarWeekNumberHeaderText:"#",calendarWeekNumberAriaLabelText:e=>`第${e}周`,calendarWeekNumberText:e=>`${e}`,openDatePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`选择日期,已选择${n??t.format(e,"fullDate")}`:"选择日期",openTimePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`选择时间,已选择${n??t.format(e,"fullTime")}`:"选择时间",fieldClearLabel:"清除",timeTableLabel:"选择时间",dateTableLabel:"选择日期",fieldYearPlaceholder:e=>"Y".repeat(e.digitAmount),fieldMonthPlaceholder:e=>"letter"===e.contentType?"MMMM":"MM",fieldDayPlaceholder:()=>"DD",fieldWeekDayPlaceholder:e=>"letter"===e.contentType?"EEEE":"EE",fieldHoursPlaceholder:()=>"hh",fieldMinutesPlaceholder:()=>"mm",fieldSecondsPlaceholder:()=>"ss",fieldMeridiemPlaceholder:()=>"aa",year:"年份",month:"月份",day:"日期",weekDay:"星期",hours:"时",minutes:"分",seconds:"秒",meridiem:"十二小时制",empty:"空"},Ge=(0,r.r)(qe),Ye={hours:"小時",minutes:"分鐘",seconds:"秒",meridiem:"子午線"},Xe={previousMonth:"上個月",nextMonth:"下個月",openPreviousView:"前一個檢視表",openNextView:"下一個檢視表",calendarViewSwitchingButtonAriaLabel:e=>"year"===e?"年份檢視表已打開,切換以檢視日曆":"日曆檢視表已打開,切換以檢視年份",start:"開始",end:"結束",startDate:"開始日期",startTime:"開始時間",endDate:"結束日期",endTime:"結束時間",cancelButtonLabel:"取消",clearButtonLabel:"清除",okButtonLabel:"確認",todayButtonLabel:"今日",datePickerToolbarTitle:"選擇日期",dateTimePickerToolbarTitle:"選擇日期和時間",timePickerToolbarTitle:"選擇時間",dateRangePickerToolbarTitle:"選擇時間範圍",clockLabelText:(e,t,n,r)=>`選擇 ${Ye[e]}. ${r||null!==t&&n.isValid(t)?`已選擇${r??n.format(t,"fullTime")}`:"未選擇時間"}`,hoursClockNumberText:e=>`${e}小時`,minutesClockNumberText:e=>`${e}分鐘`,secondsClockNumberText:e=>`${e}秒`,selectViewText:e=>`選擇 ${Ye[e]}`,calendarWeekNumberHeaderLabel:"週數",calendarWeekNumberHeaderText:"#",calendarWeekNumberAriaLabelText:e=>`第${e}週`,calendarWeekNumberText:e=>`${e}`,openDatePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`選擇日期,已選擇${n??t.format(e,"fullDate")}`:"選擇日期",openTimePickerDialogue:(e,t,n)=>n||null!==e&&t.isValid(e)?`選擇時間,已選擇${n??t.format(e,"fullTime")}`:"選擇時間",fieldClearLabel:"清除",timeTableLabel:"選擇時間",dateTableLabel:"選擇日期",fieldYearPlaceholder:e=>"Y".repeat(e.digitAmount),fieldMonthPlaceholder:e=>"letter"===e.contentType?"MMMM":"MM",fieldDayPlaceholder:()=>"DD",fieldWeekDayPlaceholder:e=>"letter"===e.contentType?"EEEE":"EE",fieldHoursPlaceholder:()=>"hh",fieldMinutesPlaceholder:()=>"mm",fieldSecondsPlaceholder:()=>"ss",fieldMeridiemPlaceholder:()=>"aa",year:"年",month:"月",day:"日",weekDay:"星期",hours:"小時",minutes:"分鐘",seconds:"秒",meridiem:"子午線",empty:"空值"},Ke=(0,r.r)(Xe)},69021:(e,t,n)=>{"use strict";n.d(t,{r:()=>a,z:()=>o});var r=n(57126);const a=e=>({components:{MuiLocalizationProvider:{defaultProps:{localeText:(0,r.A)({},e)}}}}),o=e=>{const{utils:t,formatKey:n,contextTranslation:r,propsTranslation:a}=e;return e=>{const o=null!==e&&t.isValid(e)?t.format(e,n):null;return(a??r)(e,t,o)}}},24034:(e,t,n)=>{"use strict";n.d(t,{$8:()=>c,$W:()=>u,Zo:()=>l}),n(96540);var r=n(56285),a=n(52776),o=n(41268),i=n(35421),s=n(74848);const l=({view:e,onViewChange:t,focusedView:n,onFocusedViewChange:a,views:o,value:l,defaultValue:u,referenceDate:c,onChange:d,className:p,classes:f,disableFuture:h,disablePast:m,minTime:g,maxTime:v,shouldDisableTime:y,minutesStep:b,ampm:w,ampmInClock:x,slots:S,slotProps:_,readOnly:A,disabled:C,sx:T,autoFocus:k,showViewSwitcher:E,disableIgnoringDatePartForTimeValidation:M,timezone:P})=>(0,s.jsx)(r.a,{view:e,onViewChange:t,focusedView:n&&(0,i.hW)(n)?n:null,onFocusedViewChange:a,views:o.filter(i.hW),value:l,defaultValue:u,referenceDate:c,onChange:d,className:p,classes:f,disableFuture:h,disablePast:m,minTime:g,maxTime:v,shouldDisableTime:y,minutesStep:b,ampm:w,ampmInClock:x,slots:S,slotProps:_,readOnly:A,disabled:C,sx:T,autoFocus:k,showViewSwitcher:E,disableIgnoringDatePartForTimeValidation:M,timezone:P}),u=({view:e,onViewChange:t,focusedView:n,onFocusedViewChange:r,views:o,value:l,defaultValue:u,referenceDate:c,onChange:d,className:p,classes:f,disableFuture:h,disablePast:m,minTime:g,maxTime:v,shouldDisableTime:y,minutesStep:b,ampm:w,slots:x,slotProps:S,readOnly:_,disabled:A,sx:C,autoFocus:T,disableIgnoringDatePartForTimeValidation:k,timeSteps:E,skipDisabled:M,timezone:P})=>(0,s.jsx)(a.N,{view:e,onViewChange:t,focusedView:n,onFocusedViewChange:r,views:o.filter(i.hW),value:l,defaultValue:u,referenceDate:c,onChange:d,className:p,classes:f,disableFuture:h,disablePast:m,minTime:g,maxTime:v,shouldDisableTime:y,minutesStep:b,ampm:w,slots:x,slotProps:S,readOnly:_,disabled:A,sx:C,autoFocus:T,disableIgnoringDatePartForTimeValidation:k,timeStep:E?.minutes,skipDisabled:M,timezone:P}),c=({view:e,onViewChange:t,focusedView:n,onFocusedViewChange:r,views:a,value:l,defaultValue:u,referenceDate:c,onChange:d,className:p,classes:f,disableFuture:h,disablePast:m,minTime:g,maxTime:v,shouldDisableTime:y,minutesStep:b,ampm:w,slots:x,slotProps:S,readOnly:_,disabled:A,sx:C,autoFocus:T,disableIgnoringDatePartForTimeValidation:k,timeSteps:E,skipDisabled:M,timezone:P})=>(0,s.jsx)(o.z,{view:e,onViewChange:t,focusedView:n,onFocusedViewChange:r,views:a.filter(i.hW),value:l,defaultValue:u,referenceDate:c,onChange:d,className:p,classes:f,disableFuture:h,disablePast:m,minTime:g,maxTime:v,shouldDisableTime:y,minutesStep:b,ampm:w,slots:x,slotProps:S,readOnly:_,disabled:A,sx:C,autoFocus:T,disableIgnoringDatePartForTimeValidation:k,timeSteps:E,skipDisabled:M,timezone:P})},14385:(e,t,n)=>{"use strict";n.d(t,{$5:()=>a,QG:()=>o,eu:()=>r,zd:()=>s});const r=["disablePast","disableFuture","minDate","maxDate","shouldDisableDate","shouldDisableMonth","shouldDisableYear"],a=["disablePast","disableFuture","minTime","maxTime","shouldDisableTime","minutesStep","ampm","disableIgnoringDatePartForTimeValidation"],o=["minDateTime","maxDateTime"],i=[...r,...a,...o],s=e=>i.reduce(((t,n)=>(e.hasOwnProperty(n)&&(t[n]=e[n]),t)),{})},60013:(e,t,n)=>{"use strict";n.d(t,{$:()=>i});var r=n(96540),a=n(72236),o=n(45027);function i(e){const{props:t,validator:n,value:i,timezone:s,onError:l}=e,u=(0,o.u)(),c=r.useRef(n.valueManager.defaultErrorState),d=n({adapter:u,value:i,timezone:s,props:t}),p=n.valueManager.hasError(d);r.useEffect((()=>{l&&!n.valueManager.isSameError(d,c.current)&&l(d,i),c.current=d}),[n,l,d,i]);const f=(0,a.A)((e=>n({adapter:u,value:e,timezone:s,props:t})));return{validationError:d,hasValidationError:p,getValidationErrorForNewValue:f}}},41711:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(80916),a=n(90383);const o=({props:e,value:t,timezone:n,adapter:a})=>{if(null===t)return null;const{shouldDisableDate:o,shouldDisableMonth:i,shouldDisableYear:s,disablePast:l,disableFuture:u}=e,c=a.utils.date(void 0,n),d=(0,r.IP)(a.utils,e.minDate,a.defaultDates.minDate),p=(0,r.IP)(a.utils,e.maxDate,a.defaultDates.maxDate);switch(!0){case!a.utils.isValid(t):return"invalidDate";case Boolean(o&&o(t)):return"shouldDisableDate";case Boolean(i&&i(t)):return"shouldDisableMonth";case Boolean(s&&s(t)):return"shouldDisableYear";case Boolean(u&&a.utils.isAfterDay(t,c)):return"disableFuture";case Boolean(l&&a.utils.isBeforeDay(t,c)):return"disablePast";case Boolean(d&&a.utils.isBeforeDay(t,d)):return"minDate";case Boolean(p&&a.utils.isAfterDay(t,p)):return"maxDate";default:return null}};o.valueManager=a.W},64618:(e,t,n)=>{"use strict";n.d(t,{q:()=>i});var r=n(41711),a=n(99654),o=n(90383);const i=({adapter:e,value:t,timezone:n,props:o})=>{const i=(0,r.Z)({adapter:e,value:t,timezone:n,props:o});return null!==i?i:(0,a.i)({adapter:e,value:t,timezone:n,props:o})};i.valueManager=o.W},99654:(e,t,n)=>{"use strict";n.d(t,{i:()=>o});var r=n(35421),a=n(90383);const o=({adapter:e,value:t,timezone:n,props:a})=>{if(null===t)return null;const{minTime:o,maxTime:i,minutesStep:s,shouldDisableTime:l,disableIgnoringDatePartForTimeValidation:u=!1,disablePast:c,disableFuture:d}=a,p=e.utils.date(void 0,n),f=(0,r.iF)(u,e.utils);switch(!0){case!e.utils.isValid(t):return"invalidDate";case Boolean(o&&f(o,t)):return"minTime";case Boolean(i&&f(t,i)):return"maxTime";case Boolean(d&&e.utils.isAfter(t,p)):return"disableFuture";case Boolean(c&&e.utils.isBefore(t,p)):return"disablePast";case Boolean(l&&l(t,"hours")):return"shouldDisableTime-hours";case Boolean(l&&l(t,"minutes")):return"shouldDisableTime-minutes";case Boolean(l&&l(t,"seconds")):return"shouldDisableTime-seconds";case Boolean(s&&e.utils.getMinutes(t)%s!=0):return"minutesStep";default:return null}};o.valueManager=a.W},34921:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},r=function(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},a={p:r,P:function(e,t){var a,o=e.match(/(P+)(p+)?/)||[],i=o[1],s=o[2];if(!s)return n(e,t);switch(i){case"P":a=t.dateTime({width:"short"});break;case"PP":a=t.dateTime({width:"medium"});break;case"PPP":a=t.dateTime({width:"long"});break;default:a=t.dateTime({width:"full"})}return a.replace("{{date}}",n(i,t)).replace("{{time}}",r(s,t))}};t.default=a,e.exports=t.default},14491:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(46095).A},37229:(e,t,n)=>{"use strict";n.d(t,{q:()=>a});var r={};function a(){return r}},15637:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=function(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},a=function(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}};const o={p:a,P:function(e,t){var n,o=e.match(/(P+)(p+)?/)||[],i=o[1],s=o[2];if(!s)return r(e,t);switch(i){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",r(i,t)).replace("{{time}}",a(s,t))}}},97325:(e,t,n)=>{"use strict";function r(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}n.d(t,{A:()=>r})},38958:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(68106),a=n(90246),o=n(6354),i=n(91016),s=6048e5;function l(e){(0,i.A)(1,arguments);var t=(0,r.A)(e),n=(0,a.A)(t).getTime()-function(e){(0,i.A)(1,arguments);var t=(0,o.A)(e),n=new Date(0);return n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0),(0,a.A)(n)}(t).getTime();return Math.round(n/s)+1}},6354:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(68106),a=n(91016),o=n(90246);function i(e){(0,a.A)(1,arguments);var t=(0,r.A)(e),n=t.getUTCFullYear(),i=new Date(0);i.setUTCFullYear(n+1,0,4),i.setUTCHours(0,0,0,0);var s=(0,o.A)(i),l=new Date(0);l.setUTCFullYear(n,0,4),l.setUTCHours(0,0,0,0);var u=(0,o.A)(l);return t.getTime()>=s.getTime()?n+1:t.getTime()>=u.getTime()?n:n-1}},54703:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(68106),a=n(91525),o=n(527),i=n(91016),s=n(8497),l=n(37229),u=6048e5;function c(e,t){(0,i.A)(1,arguments);var n=(0,r.A)(e),c=(0,a.A)(n,t).getTime()-function(e,t){var n,r,u,c,d,p,f,h;(0,i.A)(1,arguments);var m=(0,l.q)(),g=(0,s.A)(null!==(n=null!==(r=null!==(u=null!==(c=null==t?void 0:t.firstWeekContainsDate)&&void 0!==c?c:null==t||null===(d=t.locale)||void 0===d||null===(p=d.options)||void 0===p?void 0:p.firstWeekContainsDate)&&void 0!==u?u:m.firstWeekContainsDate)&&void 0!==r?r:null===(f=m.locale)||void 0===f||null===(h=f.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==n?n:1),v=(0,o.A)(e,t),y=new Date(0);return y.setUTCFullYear(v,0,g),y.setUTCHours(0,0,0,0),(0,a.A)(y,t)}(n,t).getTime();return Math.round(c/u)+1}},527:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(68106),a=n(91016),o=n(91525),i=n(8497),s=n(37229);function l(e,t){var n,l,u,c,d,p,f,h;(0,a.A)(1,arguments);var m=(0,r.A)(e),g=m.getUTCFullYear(),v=(0,s.q)(),y=(0,i.A)(null!==(n=null!==(l=null!==(u=null!==(c=null==t?void 0:t.firstWeekContainsDate)&&void 0!==c?c:null==t||null===(d=t.locale)||void 0===d||null===(p=d.options)||void 0===p?void 0:p.firstWeekContainsDate)&&void 0!==u?u:v.firstWeekContainsDate)&&void 0!==l?l:null===(f=v.locale)||void 0===f||null===(h=f.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==n?n:1);if(!(y>=1&&y<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var b=new Date(0);b.setUTCFullYear(g+1,0,y),b.setUTCHours(0,0,0,0);var w=(0,o.A)(b,t),x=new Date(0);x.setUTCFullYear(g,0,y),x.setUTCHours(0,0,0,0);var S=(0,o.A)(x,t);return m.getTime()>=w.getTime()?g+1:m.getTime()>=S.getTime()?g:g-1}},38296:(e,t,n)=>{"use strict";n.d(t,{ef:()=>o,lJ:()=>s,xM:()=>i});var r=["D","DD"],a=["YY","YYYY"];function o(e){return-1!==r.indexOf(e)}function i(e){return-1!==a.indexOf(e)}function s(e,t,n){if("YYYY"===e)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===e)throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===e)throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===e)throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}},91016:(e,t,n)=>{"use strict";function r(e,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")}n.d(t,{A:()=>r})},90246:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(68106),a=n(91016);function o(e){(0,a.A)(1,arguments);var t=(0,r.A)(e),n=t.getUTCDay(),o=(n<1?7:0)+n-1;return t.setUTCDate(t.getUTCDate()-o),t.setUTCHours(0,0,0,0),t}},91525:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(68106),a=n(91016),o=n(8497),i=n(37229);function s(e,t){var n,s,l,u,c,d,p,f;(0,a.A)(1,arguments);var h=(0,i.q)(),m=(0,o.A)(null!==(n=null!==(s=null!==(l=null!==(u=null==t?void 0:t.weekStartsOn)&&void 0!==u?u:null==t||null===(c=t.locale)||void 0===c||null===(d=c.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==l?l:h.weekStartsOn)&&void 0!==s?s:null===(p=h.locale)||void 0===p||null===(f=p.options)||void 0===f?void 0:f.weekStartsOn)&&void 0!==n?n:0);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var g=(0,r.A)(e),v=g.getUTCDay(),y=(v{"use strict";function r(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}n.d(t,{A:()=>r})},28060:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(8497),a=n(68106),o=n(91016);function i(e,t){(0,o.A)(2,arguments);var n=(0,a.A)(e).getTime(),i=(0,r.A)(t);return new Date(n+i)}},22965:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>N});var r=n(94773),a=n(97077),o=n(68106),i=n(91016),s=n(38958),l=n(6354),u=n(54703),c=n(527);function d(e,t){for(var n=e<0?"-":"",r=Math.abs(e).toString();r.length0?n:1-n;return d("yy"===t?r%100:r,t.length)},f=function(e,t){var n=e.getUTCMonth();return"M"===t?String(n+1):d(n+1,2)},h=function(e,t){return d(e.getUTCDate(),t.length)},m=function(e,t){return d(e.getUTCHours()%12||12,t.length)},g=function(e,t){return d(e.getUTCHours(),t.length)},v=function(e,t){return d(e.getUTCMinutes(),t.length)},y=function(e,t){return d(e.getUTCSeconds(),t.length)},b=function(e,t){var n=t.length,r=e.getUTCMilliseconds();return d(Math.floor(r*Math.pow(10,n-3)),t.length)};function w(e,t){var n=e>0?"-":"+",r=Math.abs(e),a=Math.floor(r/60),o=r%60;if(0===o)return n+String(a);var i=t||"";return n+String(a)+i+d(o,2)}function x(e,t){return e%60==0?(e>0?"-":"+")+d(Math.abs(e)/60,2):S(e,t)}function S(e,t){var n=t||"",r=e>0?"-":"+",a=Math.abs(e);return r+d(Math.floor(a/60),2)+n+d(a%60,2)}const _={G:function(e,t,n){var r=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){var r=e.getUTCFullYear(),a=r>0?r:1-r;return n.ordinalNumber(a,{unit:"year"})}return p(e,t)},Y:function(e,t,n,r){var a=(0,c.A)(e,r),o=a>0?a:1-a;return"YY"===t?d(o%100,2):"Yo"===t?n.ordinalNumber(o,{unit:"year"}):d(o,t.length)},R:function(e,t){return d((0,l.A)(e),t.length)},u:function(e,t){return d(e.getUTCFullYear(),t.length)},Q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return d(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return d(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){var r=e.getUTCMonth();switch(t){case"M":case"MM":return f(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){var r=e.getUTCMonth();switch(t){case"L":return String(r+1);case"LL":return d(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){var a=(0,u.A)(e,r);return"wo"===t?n.ordinalNumber(a,{unit:"week"}):d(a,t.length)},I:function(e,t,n){var r=(0,s.A)(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):d(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getUTCDate(),{unit:"date"}):h(e,t)},D:function(e,t,n){var r=function(e){(0,i.A)(1,arguments);var t=(0,o.A)(e),n=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var r=n-t.getTime();return Math.floor(r/864e5)+1}(e);return"Do"===t?n.ordinalNumber(r,{unit:"dayOfYear"}):d(r,t.length)},E:function(e,t,n){var r=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){var a=e.getUTCDay(),o=(a-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return d(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(a,{width:"short",context:"formatting"});default:return n.day(a,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){var a=e.getUTCDay(),o=(a-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return d(o,t.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(a,{width:"narrow",context:"standalone"});case"cccccc":return n.day(a,{width:"short",context:"standalone"});default:return n.day(a,{width:"wide",context:"standalone"})}},i:function(e,t,n){var r=e.getUTCDay(),a=0===r?7:r;switch(t){case"i":return String(a);case"ii":return d(a,t.length);case"io":return n.ordinalNumber(a,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){var r=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){var r,a=e.getUTCHours();switch(r=12===a?"noon":0===a?"midnight":a/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){var r,a=e.getUTCHours();switch(r=a>=17?"evening":a>=12?"afternoon":a>=4?"morning":"night",t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){var r=e.getUTCHours()%12;return 0===r&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return m(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getUTCHours(),{unit:"hour"}):g(e,t)},K:function(e,t,n){var r=e.getUTCHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):d(r,t.length)},k:function(e,t,n){var r=e.getUTCHours();return 0===r&&(r=24),"ko"===t?n.ordinalNumber(r,{unit:"hour"}):d(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):v(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):y(e,t)},S:function(e,t){return b(e,t)},X:function(e,t,n,r){var a=(r._originalDate||e).getTimezoneOffset();if(0===a)return"Z";switch(t){case"X":return x(a);case"XXXX":case"XX":return S(a);default:return S(a,":")}},x:function(e,t,n,r){var a=(r._originalDate||e).getTimezoneOffset();switch(t){case"x":return x(a);case"xxxx":case"xx":return S(a);default:return S(a,":")}},O:function(e,t,n,r){var a=(r._originalDate||e).getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+w(a,":");default:return"GMT"+S(a,":")}},z:function(e,t,n,r){var a=(r._originalDate||e).getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+w(a,":");default:return"GMT"+S(a,":")}},t:function(e,t,n,r){var a=r._originalDate||e;return d(Math.floor(a.getTime()/1e3),t.length)},T:function(e,t,n,r){return d((r._originalDate||e).getTime(),t.length)}};var A=n(15637),C=n(97325),T=n(38296),k=n(8497),E=n(37229),M=n(14491),P=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,O=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,I=/^'([^]*?)'?$/,D=/''/g,R=/[a-zA-Z]/;function N(e,t,n){var s,l,u,c,d,p,f,h,m,g,v,y,b,w,x,S,N,L;(0,i.A)(2,arguments);var $=String(t),j=(0,E.q)(),F=null!==(s=null!==(l=null==n?void 0:n.locale)&&void 0!==l?l:j.locale)&&void 0!==s?s:M.A,B=(0,k.A)(null!==(u=null!==(c=null!==(d=null!==(p=null==n?void 0:n.firstWeekContainsDate)&&void 0!==p?p:null==n||null===(f=n.locale)||void 0===f||null===(h=f.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==d?d:j.firstWeekContainsDate)&&void 0!==c?c:null===(m=j.locale)||void 0===m||null===(g=m.options)||void 0===g?void 0:g.firstWeekContainsDate)&&void 0!==u?u:1);if(!(B>=1&&B<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var z=(0,k.A)(null!==(v=null!==(y=null!==(b=null!==(w=null==n?void 0:n.weekStartsOn)&&void 0!==w?w:null==n||null===(x=n.locale)||void 0===x||null===(S=x.options)||void 0===S?void 0:S.weekStartsOn)&&void 0!==b?b:j.weekStartsOn)&&void 0!==y?y:null===(N=j.locale)||void 0===N||null===(L=N.options)||void 0===L?void 0:L.weekStartsOn)&&void 0!==v?v:0);if(!(z>=0&&z<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!F.localize)throw new RangeError("locale must contain localize property");if(!F.formatLong)throw new RangeError("locale must contain formatLong property");var W=(0,o.A)(e);if(!(0,r.A)(W))throw new RangeError("Invalid time value");var V=(0,C.A)(W),U=(0,a.A)(W,V),H={firstWeekContainsDate:B,weekStartsOn:z,locale:F,_originalDate:W};return $.match(O).map((function(e){var t=e[0];return"p"===t||"P"===t?(0,A.A[t])(e,F.formatLong):e})).join("").match(P).map((function(r){if("''"===r)return"'";var a,o,i=r[0];if("'"===i)return(o=(a=r).match(I))?o[1].replace(D,"'"):a;var s=_[i];if(s)return null!=n&&n.useAdditionalWeekYearTokens||!(0,T.xM)(r)||(0,T.lJ)(r,t,String(e)),null!=n&&n.useAdditionalDayOfYearTokens||!(0,T.ef)(r)||(0,T.lJ)(r,t,String(e)),s(U,r,F.localize,H);if(i.match(R))throw new RangeError("Format string contains an unescaped latin alphabet character `"+i+"`");return r})).join("")}},94773:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(59713),a=n(91016),o=n(68106);function i(e){if((0,a.A)(1,arguments),!function(e){return(0,a.A)(1,arguments),e instanceof Date||"object"===(0,r.A)(e)&&"[object Date]"===Object.prototype.toString.call(e)}(e)&&"number"!=typeof e)return!1;var t=(0,o.A)(e);return!isNaN(Number(t))}},69260:(e,t,n)=>{"use strict";function r(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}n.d(t,{A:()=>r})},81190:(e,t,n)=>{"use strict";function r(e){return function(t,n){var r;if("formatting"===(null!=n&&n.context?String(n.context):"standalone")&&e.formattingValues){var a=e.defaultFormattingWidth||e.defaultWidth,o=null!=n&&n.width?String(n.width):a;r=e.formattingValues[o]||e.formattingValues[a]}else{var i=e.defaultWidth,s=null!=n&&n.width?String(n.width):e.defaultWidth;r=e.values[s]||e.values[i]}return r[e.argumentCallback?e.argumentCallback(t):t]}}n.d(t,{A:()=>r})},75658:(e,t,n)=>{"use strict";function r(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.width,a=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],o=t.match(a);if(!o)return null;var i,s=o[0],l=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(l)?function(e,t){for(var n=0;nr})},90244:(e,t,n)=>{"use strict";function r(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.match(e.matchPattern);if(!r)return null;var a=r[0],o=t.match(e.parsePattern);if(!o)return null;var i=e.valueCallback?e.valueCallback(o[0]):o[0];return{value:i=n.valueCallback?n.valueCallback(i):i,rest:t.slice(a.length)}}}n.d(t,{A:()=>r})},46095:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};var a=n(69260);const o={date:(0,a.A)({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:(0,a.A)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:(0,a.A)({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};var i={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};var s=n(81190);const l={ordinalNumber:function(e,t){var n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:(0,s.A)({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:(0,s.A)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:(0,s.A)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:(0,s.A)({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:(0,s.A)({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})};var u=n(75658);const c={code:"en-US",formatDistance:function(e,t,n){var a,o=r[e];return a="string"==typeof o?o:1===t?o.one:o.other.replace("{{count}}",t.toString()),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+a:a+" ago":a},formatLong:o,formatRelative:function(e,t,n,r){return i[e]},localize:l,match:{ordinalNumber:(0,n(90244).A)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,u.A)({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:(0,u.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,u.A)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,u.A)({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,u.A)({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},99492:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>c});var r={lessThanXSeconds:{one:"menos de um segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"meio minuto",lessThanXMinutes:{one:"menos de um minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"cerca de 1 hora",other:"cerca de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 dia",other:"{{count}} dias"},aboutXWeeks:{one:"cerca de 1 semana",other:"cerca de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"cerca de 1 mês",other:"cerca de {{count}} meses"},xMonths:{one:"1 mês",other:"{{count}} meses"},aboutXYears:{one:"cerca de 1 ano",other:"cerca de {{count}} anos"},xYears:{one:"1 ano",other:"{{count}} anos"},overXYears:{one:"mais de 1 ano",other:"mais de {{count}} anos"},almostXYears:{one:"quase 1 ano",other:"quase {{count}} anos"}};var a=n(69260);const o={date:(0,a.A)({formats:{full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/yyyy"},defaultWidth:"full"}),time:(0,a.A)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,a.A)({formats:{full:"{{date}} 'às' {{time}}",long:"{{date}} 'às' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};var i={lastWeek:function(e){var t=e.getUTCDay();return"'"+(0===t||6===t?"último":"última")+"' eeee 'às' p"},yesterday:"'ontem às' p",today:"'hoje às' p",tomorrow:"'amanhã às' p",nextWeek:"eeee 'às' p",other:"P"};var s=n(81190);const l={ordinalNumber:function(e,t){var n=Number(e);return"week"===(null==t?void 0:t.unit)?n+"ª":n+"º"},era:(0,s.A)({values:{narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","depois de cristo"]},defaultWidth:"wide"}),quarter:(0,s.A)({values:{narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:(0,s.A)({values:{narrow:["j","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["jan","fev","mar","abr","mai","jun","jul","ago","set","out","nov","dez"],wide:["janeiro","fevereiro","março","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"]},defaultWidth:"wide"}),day:(0,s.A)({values:{narrow:["D","S","T","Q","Q","S","S"],short:["dom","seg","ter","qua","qui","sex","sab"],abbreviated:["domingo","segunda","terça","quarta","quinta","sexta","sábado"],wide:["domingo","segunda-feira","terça-feira","quarta-feira","quinta-feira","sexta-feira","sábado"]},defaultWidth:"wide"}),dayPeriod:(0,s.A)({values:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"manhã",afternoon:"tarde",evening:"tarde",night:"noite"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"tarde",night:"noite"},wide:{am:"a.m.",pm:"p.m.",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"tarde",night:"noite"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"da manhã",afternoon:"da tarde",evening:"da tarde",night:"da noite"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da tarde",night:"da noite"},wide:{am:"a.m.",pm:"p.m.",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da tarde",night:"da noite"}},defaultFormattingWidth:"wide"})};var u=n(75658);const c={code:"pt-BR",formatDistance:function(e,t,n){var a,o=r[e];return a="string"==typeof o?o:1===t?o.one:o.other.replace("{{count}}",String(t)),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"em "+a:"há "+a:a},formatLong:o,formatRelative:function(e,t,n,r){var a=i[e];return"function"==typeof a?a(t):a},localize:l,match:{ordinalNumber:(0,n(90244).A)({matchPattern:/^(\d+)[ºªo]?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,u.A)({matchPatterns:{narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|d\.?\s?c\.?)/i,wide:/^(antes de cristo|depois de cristo)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^ac/i,/^dc/i],wide:[/^antes de cristo/i,/^depois de cristo/i]},defaultParseWidth:"any"}),quarter:(0,u.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,u.A)({matchPatterns:{narrow:/^[jfmajsond]/i,abbreviated:/^(jan|fev|mar|abr|mai|jun|jul|ago|set|out|nov|dez)/i,wide:/^(janeiro|fevereiro|março|abril|maio|junho|julho|agosto|setembro|outubro|novembro|dezembro)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^fev/i,/^mar/i,/^abr/i,/^mai/i,/^jun/i,/^jul/i,/^ago/i,/^set/i,/^out/i,/^nov/i,/^dez/i]},defaultParseWidth:"any"}),day:(0,u.A)({matchPatterns:{narrow:/^(dom|[23456]ª?|s[aá]b)/i,short:/^(dom|[23456]ª?|s[aá]b)/i,abbreviated:/^(dom|seg|ter|qua|qui|sex|s[aá]b)/i,wide:/^(domingo|(segunda|ter[cç]a|quarta|quinta|sexta)([- ]feira)?|s[aá]bado)/i},defaultMatchWidth:"wide",parsePatterns:{short:[/^d/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^s[aá]/i],narrow:[/^d/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^s[aá]/i],any:[/^d/i,/^seg/i,/^t/i,/^qua/i,/^qui/i,/^sex/i,/^s[aá]b/i]},defaultParseWidth:"any"}),dayPeriod:(0,u.A)({matchPatterns:{narrow:/^(a|p|mn|md|(da) (manhã|tarde|noite))/i,any:/^([ap]\.?\s?m\.?|meia[-\s]noite|meio[-\s]dia|(da) (manhã|tarde|noite))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mn|^meia[-\s]noite/i,noon:/^md|^meio[-\s]dia/i,morning:/manhã/i,afternoon:/tarde/i,evening:/tarde/i,night:/noite/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},97077:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(28060),a=n(91016),o=n(8497);function i(e,t){(0,a.A)(2,arguments);var n=(0,o.A)(t);return(0,r.A)(e,-n)}},68106:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(59713),a=n(91016);function o(e){(0,a.A)(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"===(0,r.A)(e)&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):("string"!=typeof e&&"[object String]"!==t||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))}},54739:(e,t,n)=>{"use strict";var r=n(50228);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,o,i){if(i!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:a};return n.PropTypes=n,n}},8207:(e,t,n)=>{e.exports=n(54739)()},50228:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},79572:(e,t,n)=>{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(96540)),o=n(43590);t.default=function(e){var t=e.options,n=void 0===t?{}:t,r=e.children;return a.default.createElement(o.ThemeProvider,{theme:(0,o.createTheme)(n)},r)}},60802:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={50:"#E8EAF6",100:"#858FA4",200:"#647188",300:"#43536D",400:"#2C3E5B",500:"#213352",600:"#152849",700:"#132442",800:"#10203A",900:"#0E1C33"},r={50:"#DAF2FD",100:"#AEE5F9",200:"#82D9F6",300:"#56CCF2",400:"#49B3F0",500:"#3C99EF",600:"#2F80ED",700:"#276BF0",800:"#1840F6",900:"#0815FC"},a={50:"#CEE5D8",100:"#9FCFA7",200:"#6FB975",300:"#40A344",400:"#289939",500:"#108F2D",600:"#118D16",700:"#0F7F14",800:"#0D7011",900:"#0B620F"},o={50:"#E9F4DD",100:"#C3E997",200:"#AED581",300:"#9DCC66",400:"#8BC34A",500:"#7DAE43",600:"#6E983D",700:"#608336",800:"#487429",900:"#33691E"},i={50:"#FFF7D5",100:"#FFF7B3",200:"#F1C555",300:"#EEC33E",400:"#EAC128",500:"#E7BF11",600:"#FFAD00",700:"#E89600",800:"#D17E00",900:"#985D04"},s={50:"#FFE1B4",100:"#F8D88F",200:"#FCC970",300:"#FFB950",400:"#FFAF38",500:"#FFA41C",600:"#FF9900",700:"#F37500",800:"#E65100",900:"#FF4500"},l={50:"#FFCCBC",100:"#F5874F",200:"#EF7943",300:"#E96C38",400:"#E45E2C",500:"#DE5121",600:"#D84315",700:"#D03F12",800:"#C73A0F",900:"#BF360C"},u={50:"#FAFAFA",100:"#F5F5F5",200:"#EEEEEE",300:"#E0E0E0",400:"#BDBDBD",500:"#9E9E9E",600:"#757575",700:"#616161",800:"#424242",900:"#212121"},c={cancel:l[600],confirm:a[600]},d={light:n[300],main:n[600],dark:n[900]},p={light:a[300],main:a[600],dark:a[900]},f={low:o[400],medium:i[500],high:s[600]},h={main:{neutral:u[400],minimal:r[300],low:o[400],medium:i[500],high:s[600],critical:l[600]},light:{neutral:u[100],minimal:r[50],low:o[50],medium:i[50],high:s[50],critical:l[50]}},m={danger:l[600],warning:s[600],success:a[400],info:r[600]};t.default={red:{50:"#FFCDD2",100:"#FCAEB2",200:"#F88F93",300:"#F57173",400:"#F15253",500:"#EE3334",600:"#EA1414",700:"#D00A0A",800:"#B50000",900:"#99000F"},pink:{50:"#FADADB",100:"#F5B4B8",200:"#EF8F94",300:"#EA6970",400:"#EF5F6C",500:"#F55469",600:"#FA4A65",700:"#FF4062",800:"#FC1A40",900:"#C60034"},lightPink:{50:"#FFD0C1",100:"#F2A29A",200:"#E57373",300:"#F26A69",400:"#FF605E",500:"#F55756",600:"#EA4D4D",700:"#DD4C4A",800:"#CF4A46",900:"#C24943"},purple:{50:"#F3E5F5",100:"#D7C6E0",200:"#C9ABD0",300:"#BC91C0",400:"#AE76B0",500:"#A05BA0",600:"#7B4299",700:"#623A84",800:"#6B1D80",900:"#74007C"},indigo:{50:"#E0E4FF",100:"#C1CDF3",200:"#84A0DB",300:"#6589CF",400:"#6581CE",500:"#667CCD",600:"#6674CC",700:"#4D59B2",800:"#333E98",900:"#1A237E"},darkBlue:n,blue:r,lightBlue:{50:"#E0F5FE",100:"#A3E0FB",200:"#66CBF9",300:"#29B6F6",400:"#039BE5",500:"#0288D1",600:"#0277BD",700:"#01579B",800:"#004A7C",900:"#043658"},lightTeal:{50:"#E7F3F5",100:"#CFE7EA",200:"#B7DCE0",300:"#9FD0D5",400:"#87C4CB",500:"#79B1BC",600:"#6B9FAC",700:"#568395",800:"#487086",900:"#3E6073"},teal:{50:"#E0F2F1",100:"#B2DFDB",200:"#80CBC4",300:"#67C1B8",400:"#4DB6AC",500:"#26A69A",600:"#009688",700:"#00897B",800:"#00695C",900:"#004D40"},green:a,lightGreen:o,amber:i,orange:s,deepOrange:l,brown:{50:"#DAC7BB",100:"#CCB2A1",200:"#BD9C87",300:"#AF876D",400:"#A07252",500:"#925C38",600:"#83471E",700:"#6C3C20",800:"#553221",900:"#3E2723"},lightBrown:{50:"#F7DED6",100:"#ECAD98",200:"#FE9275",300:"#E97551",400:"#ED6C45",500:"#D95E38",600:"#C5502C",700:"#B2411F",800:"#9E3313",900:"#8A2506"},gray:u,neutral:{50:"#FFFFFF",100:"#F6F7FF",200:"#000000"},action:c,primary:d,secondary:p,criticality:f,priority:h,feedback:m}},78944:(e,t,n)=>{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0});var a={ThemeProviderFlipper:!0};Object.defineProperty(t,"ThemeProviderFlipper",{enumerable:!0,get:function(){return i.default}});var o=n(32909);Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(a,e)||e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))}));var i=r(n(79572))},32909:(e,t,n)=>{"use strict";var r=n(84505);Object.defineProperty(t,"__esModule",{value:!0}),t.theme=t.muiThemeOptions=void 0;var a=r(n(60802));t.theme={colors:a.default},t.muiThemeOptions={palette:{primary:{main:a.default.darkBlue[600]},secondary:{main:a.default.green[600]},error:{main:a.default.deepOrange[600]},background:{default:a.default.neutral[100]},text:{primary:a.default.gray[900]}}}},85828:()=>{!function(){if("undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof HTMLElement){var e=!1;try{var t=document.createElement("div");t.addEventListener("focus",(function(e){e.preventDefault(),e.stopPropagation()}),!0),t.focus(Object.defineProperty({},"preventScroll",{get:function(){if(navigator&&void 0!==navigator.userAgent&&navigator.userAgent&&navigator.userAgent.match(/Edge\/1[7-8]/))return e=!1;e=!0}}))}catch(e){}if(void 0===HTMLElement.prototype.nativeFocus&&!e){HTMLElement.prototype.nativeFocus=HTMLElement.prototype.focus;var n=function(e){for(var t=0;t{var e="focus-outline-hidden";function t(){var e=this;document.addEventListener("keydown",(function(t){e.focusByKeyboard=!0}),!0),document.addEventListener("mousedown",(function(t){e.focusByKeyboard=!1}),!0),document.addEventListener("focus",(function(t){e.updateVisibility()}),!0),document.addEventListener("focusout",(function(t){window.setTimeout((function(){document.hasFocus()||(e.focusByKeyboard=!0,e.updateVisibility())}),0)})),this.updateVisibility()}t.prototype={focusByKeyboard:!0,updateVisibility:function(){this.hidden=!this.focusByKeyboard},set hidden(t){document.documentElement.classList.toggle(e,t)},get hidden(){return document.documentElement.classList.contains(e)}},new t},19385:(e,t,n)=>{"use strict";n.r(t),n.d(t,{HermesBrowse:()=>Tt,HermesContainer:()=>Ve,HermesContext:()=>M,HermesCreate:()=>vt,HermesUpdate:()=>xt});var r,a,o,i,s,l,u,c,d,p,f,h,m,g,v,y,b,w,x,S,_,A,C,T,k=n(5544),E=n(96540),M=(0,E.createContext)({}),P=function(e){var t=e.children,n=(0,E.useState)(!1),r=(0,k.A)(n,2),a=r[0],o=r[1],i=(0,E.useState)(!1),s=(0,k.A)(i,2),l=s[0],u=s[1],c=(0,E.useState)([]),d=(0,k.A)(c,2),p=d[0],f=d[1],h=(0,E.useState)([]),m=(0,k.A)(h,2),g=m[0],v=m[1],y=(0,E.useState)(!1),b=(0,k.A)(y,2),w=b[0],x=b[1],S=(0,E.useState)(!1),_=(0,k.A)(S,2),A=_[0],C=_[1],T=(0,E.useState)(!1),P=(0,k.A)(T,2),O=P[0],I=P[1],D=(0,E.useState)(""),R=(0,k.A)(D,2),N=R[0],L=R[1],$=(0,E.useState)(""),j=(0,k.A)($,2),F=j[0],B=j[1],z=(0,E.useState)(""),W=(0,k.A)(z,2),V=W[0],U=W[1],H=(0,E.useState)(""),q=(0,k.A)(H,2),G=q[0],Y=q[1],X=(0,E.useState)(""),K=(0,k.A)(X,2),Q=K[0],Z=K[1],J=(0,E.useState)(""),ee=(0,k.A)(J,2),te=ee[0],ne=ee[1],re=(0,E.useState)(""),ae=(0,k.A)(re,2),oe=ae[0],ie=ae[1],se=(0,E.useState)(""),le=(0,k.A)(se,2),ue=le[0],ce=le[1],de=(0,E.useState)([]),pe=(0,k.A)(de,2),fe=pe[0],he=pe[1],me=(0,E.useState)([]),ge=(0,k.A)(me,2),ve=ge[0],ye=ge[1],be=(0,E.useState)([]),we=(0,k.A)(be,2),xe=we[0],Se=we[1],_e=(0,E.useState)([]),Ae=(0,k.A)(_e,2),Ce=Ae[0],Te=Ae[1],ke=(0,E.useState)([]),Ee=(0,k.A)(ke,2),Me=Ee[0],Pe=Ee[1],Oe=(0,E.useState)([]),Ie=(0,k.A)(Oe,2),De=Ie[0],Re=Ie[1];return E.createElement(M.Provider,{value:{showCreate:a,setShowCreate:o,showUpdate:l,setShowUpdate:u,editAllStates:p,setEditAllStates:f,externalDefaultError:g,setExternalDefaultError:v,handleHover:w,setHandleHover:x,inputValidation:A,setInputValidation:C,openDeleteDialog:O,setOpenDeleteDialog:I,updateId:N,setUpdateId:L,deleteId:F,setDeleteId:B,saasUpdateGenericId:V,setSaasUpdateGenericId:U,saasUpdateName:G,setSaasUpdateName:Y,endpoint:Q,setEndpoint:Z,createName:te,setCreateName:ne,createEndpoint:oe,setCreateEndpoint:ie,selectedEndpointType:ue,setSelectedEndpointType:ce,externalFields:fe,setExternalFields:he,updateExternalFields:ve,setUpdateExternalFields:ye,userModifiedFields:xe,setUserModifiedFields:Se,userUpdateExternalFields:Ce,setUserUpdateExternalFields:Te,createMetadata:Me,setCreateMetadata:Pe,fieldsErrors:De,setFieldsErrors:Re}},t)},O=n(94366),I=n(22290),D=n(57528),R=n(34378),N=n(8582),L=n(78944),$=L.theme.colors,j=$.gray,F=$.neutral,B=(0,R.createGlobalStyle)(r||(r=(0,D.A)(["\n * {\n margin: 0;\n padding: 0;\n font-family: Roboto, Helvetica, Arial, sans-serif;\n }\n"]))),z=(R.default.div(a||(a=(0,D.A)(["\n padding: 40px;\n max-width: 100%;\n margin: 0 auto;\n display: flex;\n align-items: center;\n justify-content: center;\n"]))),(0,R.default)(N.Paper)(o||(o=(0,D.A)(["\n & {\n width: 1000px;\n }\n"]))),R.default.div(i||(i=(0,D.A)(["\n display: grid;\n flex: 1;\n width: 100%;\n grid-gap: 24px;\n padding-top: 24px;\n grid-template-areas: 'header' 'body';\n"])))),W=R.default.div(s||(s=(0,D.A)(["\n grid-area: header;\n display: grid;\n grid-gap: 4px;\n"]))),V=R.default.div(l||(l=(0,D.A)(["\n display: inline-flex;\n align-items: center;\n gap: 5px;\n cursor: pointer;\n margin: 12px 0px;\n"]))),U=R.default.div(u||(u=(0,D.A)(["\n display: flex;\n align-items: flex-start;\n gap: 25px;\n margin-top: 10px;\n max-width: 65%;\n"]))),H=R.default.div(c||(c=(0,D.A)(["\n width: 100%;\n display: flex;\n justify-content: end;\n gap: 10px;\n"]))),q=(0,R.default)(N.TableRow)(d||(d=(0,D.A)(["\n & {\n border: 1px solid transparent !important;\n }\n"]))),G=(0,R.default)(N.TableRow)(p||(p=(0,D.A)(["\n width: 100%;\n cursor: pointer;\n\n &:hover {\n background: -moz-linear-gradient(\n left,\n rgba(189, 189, 189, 0) 0%,\n rgba(189, 189, 189, 1) 100%\n );\n background: -webkit-linear-gradient(\n left,\n rgba(189, 189, 189, 0) 0%,\n rgba(189, 189, 189, 1) 100%\n );\n background: linear-gradient(\n to right,\n rgba(189, 189, 189, 0) 0%,\n rgba(189, 189, 189, 1) 100%\n );\n }\n\n &.no-hover {\n background: none;\n }\n"]))),Y=(0,R.default)(N.TableCell)(f||(f=(0,D.A)(["\n border-right: 1px solid ",";\n background-color: ",";\n"])),F[50],j[300]),X=(0,R.default)(N.TableCell)(h||(h=(0,D.A)(["\n border-left: 1px solid ",";\n background-color: ",";\n"])),F[50],j[300]),K=(0,R.default)(N.TableCell)(m||(m=(0,D.A)(["\n min-width: 200px;\n\n @media (max-width: 1048px) {\n min-width: 0px;\n }\n"]))),Q=(0,R.default)(N.TableCell)(g||(g=(0,D.A)(["\n min-width: 150px;\n max-width: 150px;\n word-break: break-all;\n padding: 16px 12px !important;\n vertical-align: ",";\n\n @media (max-width: 1280px) {\n padding: 16px 6px !important;\n min-width: 125px;\n max-width: 125px;\n }\n"])),(function(e){return"true"===e.error?"top !important":"inherit"})),Z=(0,R.default)(N.TableCell)(v||(v=(0,D.A)(["\n min-width: 125px;\n max-width: 125px;\n padding: 16px 12px !important;\n vertical-align: ",";\n\n @media (max-width: 1280px) {\n padding: 16px 6px !important;\n min-width: 100px;\n max-width: 100px;\n }\n"])),(function(e){return"true"===e.error?"top !important":"inherit"})),J=(0,R.default)(N.TableCell)(y||(y=(0,D.A)(["\n padding: 16px 12px !important;\n\n @media (max-width: 1280px) {\n padding: 16px 6px !important;\n }\n"]))),ee=(0,R.default)(N.TableCell)(b||(b=(0,D.A)(["\n padding: 16px 12px !important;\n\n @media (max-width: 1280px) {\n padding: 16px 6px !important;\n }\n"]))),te=(0,R.default)(N.Fab)(w||(w=(0,D.A)(["\n width: 36px !important;\n height: 36px !important;\n opacity: 0;\n transition: opacity 0.2s ease-in-out;\n\n ",":hover & {\n opacity: 1;\n }\n\n ",".editing & {\n opacity: 1;\n }\n"])),G,G),ne=(0,R.default)(N.Fab)(x||(x=(0,D.A)(["\n width: 36px !important;\n height: 36px !important;\n"]))),re=(0,R.default)(N.Typography)(S||(S=(0,D.A)(["\n && {\n font-size: 16px;\n }\n"]))),ae=(0,R.default)(N.Typography)(_||(_=(0,D.A)(["\n && {\n line-height: 0;\n font-size: 18px;\n }\n"]))),oe=(0,R.default)(N.MenuItem)(A||(A=(0,D.A)(["\n && {\n outline: none;\n cursor: pointer;\n font-family: Roboto, Helvetica, Arial, sans-serif;\n\n &:hover {\n background-color: #e0e0e0;\n }\n }\n"]))),ie=(0,R.default)(N.TextField)(C||(C=(0,D.A)(["\n .MuiFormHelperText-contained {\n margin: 2px 0px 0px 5px;\n }\n"]))),se=(0,R.default)(N.TextField)(T||(T=(0,D.A)(["\n .MuiFormHelperText-contained {\n margin: 2px 0px 0px 3px;\n }\n\n .MuiFormHelperText-root {\n font-size: 10px;\n line-height: 1;\n }\n"]))),le=n(1446),ue=n(15774),ce=n(27839),de=n(6871),pe=n(42235),fe=n(94626),he=n(96972);function me(e){return new ue.C((function(t,n){return new he.c((function(r){var a,o,i;try{a=n(t).subscribe({next:function(a){a.errors&&(i=e({graphQLErrors:a.errors,response:a,operation:t,forward:n}))?o=i.subscribe({next:r.next.bind(r),error:r.error.bind(r),complete:r.complete.bind(r)}):r.next(a)},error:function(a){(i=e({operation:t,networkError:a,graphQLErrors:a&&a.result&&a.result.errors,forward:n}))?o=i.subscribe({next:r.next.bind(r),error:r.error.bind(r),complete:r.complete.bind(r)}):r.error(a)},complete:function(){i||r.complete.bind(r)()}})}catch(a){e({networkError:a,operation:t,forward:n}),r.error(a)}return function(){a&&a.unsubscribe(),o&&a.unsubscribe()}}))}))}!function(e){function t(t){var n=e.call(this)||this;return n.link=me(t),n}(0,fe.C6)(t,e),t.prototype.request=function(e,t){return this.link.request(e,t)}}(ue.C);var ge="keepfy-persist",ve="quirons-persist",ye="keepfy-token",be="quirons-token",we="https://app.keepfy.com",xe=new le.P({uri:"".concat(we,"/graphql")}),Se=new ue.C((function(e,t){return e.setContext((function(){return{headers:{authorization:(we.includes("quirons")?"true"===localStorage.getItem(ve):we.includes("keepfy")?"true"===localStorage.getItem(ge):"true"===localStorage.getItem(ve)||"true"===localStorage.getItem(ge))?we.includes("quirons")?localStorage.getItem(be):we.includes("keepfy")?localStorage.getItem(ye):localStorage.getItem(ye)||localStorage.getItem(be):we.includes("quirons")?sessionStorage.getItem(be):we.includes("keepfy")?sessionStorage.getItem(ye):sessionStorage.getItem(ye)||sessionStorage.getItem(be)}}})),t(e)})),_e=me((function(e){var t=e.graphQLErrors,n=e.networkError,r=e.operation,a=e.response;if(t){var o=t,i=o.find((function(e){return"DELETED_SESSION"===e.code}));if(i){var s=i.message,l=window.location.pathname,u=null!=s&&s.includes("computador")?"_comp":"_disp";return localStorage.setItem(ye,""),localStorage.setItem(be,""),sessionStorage.setItem(ye,""),sessionStorage.setItem(be,""),void(l.includes("login")||location.replace("/login?redirect=".concat(l,"&drop=true&code=")+"deleted_session".concat(u)))}if(o.find((function(e){return e.isTrusted})))return}if(n){var c=n,d=c.statusCode;if(502===d){var p=c,f=p.name,h=p.bodyText,m=p.response.url;console.error({message:f,bodyText:h,url:m})}if(400===d)return void console.error({message:"GraphQL error 400: ".concat(r.operationName),data:r.variables,errors:t});console.error(n)}else{if(null!=t&&t.length&&"INTERNAL_SERVER_ERROR"===t[0].message)return;console.error({message:"GraphQL error: ".concat(r.operationName),data:null==a?void 0:a.data,variables:r.variables,errors:null!=a&&a.errors?JSON.stringify(a.errors):void 0})}})),Ae=new ce.R({cache:new de.D,link:(0,pe.H)([Se,_e,xe]),defaultOptions:{watchQuery:{fetchPolicy:"cache-and-network"},query:{fetchPolicy:"network-only"},mutate:{fetchPolicy:"network-only"}}}),Ce=n(38483),Te=n(60436),ke=n(64980),Ee=n(72346),Me=function(e){return e.Custom="Custom",e.FakeErp="FakeERP",e.InventoryMovement="InventoryMovement",e.InventoryRequest="InventoryRequest",e.Middleware="Middleware",e.OmieIn="OmieIn",e.OmieOut="OmieOut",e.Taf="TAF",e.TTalk="TTalk",e.TotvsModa="TotvsModa",e.WegMfm="WegMfm",e}({}),Pe=function(e){return e.Boolean="Boolean",e.Date="Date",e.DateTime="DateTime",e.Number="Number",e.String="String",e.Time="Time",e}({}),Oe=function(e){return e.Erp="Erp",e.Inventory="Inventory",e.Mes="Mes",e.Monitoring="Monitoring",e.TafMiddleware="TafMiddleware",e}({});function Ie(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function De(e){for(var t=1;t0||((null===(a=n[t])||void 0===a?void 0:a.externalFields.default)||"").length>0)}));i(e)}),[n]),t.map((function(e,a){var i,p,f,h,m,g,v,y;return E.createElement(G,{key:"".concat(e.id,"-").concat(a),className:"".concat(s[a]?"editing":""," ").concat(s[a]?"no-hover":""),onClick:function(){return function(e,t,n,r){var a=(0,Te.A)(t);a[e]=!0,n(a),r(!0)}(a,s,l,u)}},E.createElement(J,{colSpan:1},e.name),E.createElement(J,{colSpan:1},Fe(e.type)),E.createElement(J,{colSpan:1},E.createElement(N.Checkbox,{disabled:!0,checked:e.required,name:"checkbox-internal",color:"primary"})),E.createElement(Q,{colSpan:2,error:o[a]?"true":"false"},s[a]?E.createElement(se,{fullWidth:!0,inputRef:d,value:(null===(i=n[a])||void 0===i?void 0:i.externalFields.name)||"",error:o[a],helperText:o[a]?"Preencha o campo 'Chave' ou 'Valor'.":"",onChange:function(e){return function(e,t,n){var r=e.target.value;n((function(e){var n=(0,Te.A)(e);return n[t]=De(De({},n[t]),{},{externalFields:De(De({},n[t].externalFields),{},{name:r})}),n}))}(e,a,r)}}):E.createElement(E.Fragment,null,null===(p=n[a])||void 0===p?void 0:p.externalFields.name)),E.createElement(Q,{colSpan:2,error:o[a]?"true":"false"},s[a]?function(e,t){var a;return(null===(a=n[t])||void 0===a?void 0:a.externalFields.type)===Pe.Boolean?function(e,t,n){return E.createElement(N.TextField,{select:!0,fullWidth:!0,value:t[e].externalFields.default||"",onChange:function(t){return function(e,t,n){var r=e.target.value;n((function(e){var n=(0,Te.A)(e);return n[t]=De(De({},n[t]),{},{externalFields:De(De({},n[t].externalFields),{},{default:r})}),n}))}(t,e,n)}},ze.map((function(e){return E.createElement(oe,{key:e.value,value:e.value},e.label)})))}(t,n,r):function(e,t,n,r,a,o,i){var s,l,u,c=((null===(s=a[t])||void 0===s?void 0:s.externalFields.default)||"").length>=e.limit,d=c?"Limite máximo: ".concat(e.limit," caracteres."):"";return E.createElement(se,{fullWidth:!0,inputRef:r,value:a[t].externalFields.default||"",type:(null===(l=a[t])||void 0===l?void 0:l.externalFields.type)===Pe.DateTime?"datetime-local":null===(u=a[t])||void 0===u?void 0:u.externalFields.type,error:n[t]||c,helperText:n[t]?"Preencha o campo 'Chave' ou 'Valor'.":d,inputProps:{maxLength:e.limit},sx:{'& input[type="time"]::-webkit-calendar-picker-indicator':{display:"none","-webkit-appearance":"none"},'& input[type="date"]::-webkit-calendar-picker-indicator':{display:"none","-webkit-appearance":"none"},'& input[type="datetime-local"]::-webkit-calendar-picker-indicator':{display:"none","-webkit-appearance":"none"}},onChange:function(n){return function(e,t,n,r,a){var o=e.target.value;r((function(e){var r,i=(0,Te.A)(e);i[t]=De(De({},i[t]),{},{externalFields:De(De({},i[t].externalFields),{},{default:o})});var s=((null===(r=i[t])||void 0===r||null===(r=r.externalFields)||void 0===r?void 0:r.default)||"").length>=n;return a((function(e){var n=(0,Te.A)(e);return n[t]=s,n})),i}))}(n,t,e.limit,o,i)}})}(e,t,o,d,n,r,c)}(e,a):function(e,t){var n,r,a,o,i,s=(null===(n=t[e])||void 0===n?void 0:n.externalFields.default)||"";return(null===(r=t[e])||void 0===r?void 0:r.externalFields.type)===Pe.Boolean?"true"===s?"verdadeiro":"falso":(null===(a=t[e])||void 0===a?void 0:a.externalFields.type)===Pe.DateTime?s?(i=new Date(s),(0,Ee.default)(i,"dd/MM/yyyy 'às' HH:mm")):"":(null===(o=t[e])||void 0===o?void 0:o.externalFields.type)===Pe.Date?s?new Date(s).toLocaleDateString("pt-BR",{timeZone:"UTC"}):"":s}(a,n)),E.createElement(Z,{colSpan:2,error:o[a]?"true":"false"},s[a]?E.createElement(N.TextField,{select:!0,fullWidth:!0,value:null===(f=n[a])||void 0===f?void 0:f.externalFields.type,onChange:function(e){return function(e,t,n){var r=e.target.value;n((function(e){var n=(0,Te.A)(e);return n[t]=De(De({},n[t]),{},{externalFields:De(De({},n[t].externalFields),{},{default:"",type:r})}),n}))}(e,a,r)}},(v=e.externalFields.type,y=Be[v],Object.entries(y).map((function(e){var t=(0,k.A)(e,2);return{value:t[0],label:t[1]}}))).map((function(e){return E.createElement(oe,{key:e.value,value:e.value},e.label)}))):Fe(null===(h=n[a])||void 0===h?void 0:h.externalFields.type)),E.createElement(J,{colSpan:2},E.createElement(N.Checkbox,{disabled:!s[a],name:"checkbox-external",color:"primary",checked:(null===(m=t[a])||void 0===m?void 0:m.externalFields.required)||(null===(g=n[a])||void 0===g?void 0:g.externalFields.required)||!1,onChange:function(){return function(e,t){t((function(t){var n=(0,Te.A)(t);return n[e].externalFields.required=!n[e].externalFields.required,n}))}(a,r)}})),E.createElement(ee,{colSpan:1},E.createElement(ft,{index:a})))}))},mt=function(e){var t=e.tableFieldsData,n=e.modifiedFields,r=e.setModifiedFields,a=e.handleCancel,o=e.handleConfirm,i=e.handleEditAllFields,s=(0,E.useContext)(M),l=s.editAllStates,u=s.setEditAllStates,c=s.externalDefaultError;return E.createElement(E.Fragment,null,E.createElement(pt.A,{sx:{overflow:"auto"}},E.createElement(pt.A,{sx:{width:"100%",display:"table",tableLayout:"fixed"}},E.createElement(N.Table,{margin:"16px 0px"},E.createElement(N.TableHead,null,E.createElement(q,null,E.createElement(N.TableCell,{colSpan:12,size:"small"},E.createElement(H,null,E.createElement(ne,null,E.createElement(N.Tooltip,{title:"Editar itens",enterDelay:250,placement:"bottom"},E.createElement(dt,{color:"action",onClick:i}))),E.createElement(ne,{disabled:c.includes(!0)},E.createElement(N.Tooltip,{title:"Confirmar edição",enterDelay:250,placement:"bottom"},E.createElement(ct.A,{color:"action",onClick:function(){if(l.length>0)return u([])}})))))),E.createElement(N.TableRow,null,E.createElement(Y,{colSpan:3,align:"center"},"Campos Internos"),E.createElement(X,{colSpan:9,align:"center"},"Campos Externos")),E.createElement(N.TableRow,null,Le.map((function(e,t){return E.createElement(J,{key:t,colSpan:e.colSpan},e.title)})))),E.createElement(N.TableBody,null,E.createElement(ht,{tableFieldsData:t,modifiedFields:n,setModifiedFields:r}))))),E.createElement(N.Actions,{align:"flex-end",disabled:c.includes(!0)||l.includes(!0),onConfirm:o,onCancel:a}))},gt=L.theme.colors.primary,vt=function(e){var t=e.erpType,n=e.integrationType,r=(0,I.useNotification)(),a=(0,k.A)(r,1)[0],o=(0,E.useContext)(M),i=o.endpoint,s=o.setEndpoint,l=o.createName,u=o.setCreateName,c=o.createEndpoint,d=o.setCreateEndpoint,p=o.inputValidation,f=o.setInputValidation,h=o.selectedEndpointType,m=o.setSelectedEndpointType,g=o.externalFields,v=o.setExternalFields,y=o.userModifiedFields,b=o.setUserModifiedFields,w=o.fieldsErrors,x=o.setShowCreate,S=o.setEditAllStates,_=o.setCreateMetadata,A=o.setExternalDefaultError,C=tt(null!=n?n:Oe.Erp).genericsData,T=function(e){var t=(0,Ke.I)(et,{variables:{input:e}}),n=t.data,r=t.loading,a=t.error,o=(null==n?void 0:n.hermesGetAllFields)||[],i=o.map((function(e){return{id:e.id,genericMetadataId:e.genericMetadataId,name:e.name,limit:e.limit,required:e.required,type:e.type,externalFields:{id:e.externalFields.id,name:e.externalFields.name,type:e.externalFields.type,required:e.externalFields.required,default:e.externalFields.default,internalFieldId:e.externalFields.internalFieldId}}}));return{allFieldsData:o,allTableFieldsData:i,loading:r,error:void 0!==a}}({metadataId:c,erpType:null!=t?t:Me.Custom,isGeneric:!0}),P=T.allTableFieldsData,O=T.loading;(0,E.useEffect)((function(){if(P.length>0&&!O){var e=Array.from(P.map((function(e){return{id:e.id,genericMetadataId:e.genericMetadataId,name:e.name,limit:e.limit,required:e.required,type:e.type,externalFields:{id:e.externalFields.id,name:e.externalFields.name||"",type:e.externalFields.type,required:e.externalFields.required,default:e.externalFields.default||"",internalFieldId:e.externalFields.internalFieldId}}})));v(e),b(e)}}),[O]);var D=function(){x(!1),u(""),d(""),S([]),A([]),b([]),f(!1)};return E.createElement(E.Fragment,null,E.createElement(V,{onClick:D},E.createElement(qe,{htmlColor:gt.main,fontSize:"inherit"}),E.createElement(ae,{color:"primary",variant:"h6"},"Crie seu metadado")),E.createElement(U,null,E.createElement(ie,{required:!0,fullWidth:!0,label:"Nome da Integração",value:l,error:p,helperText:p?"Esse campo é obrigatório":"",onChange:function(e){u(e.target.value),""!==e.target.value&&f(!1)}}),E.createElement(N.TextField,{select:!0,fullWidth:!0,label:"Endpoint",value:c,onChange:function(e){d(e.target.value),S([])}},C.map((function(e){var t=e.id,n=e.name,r=e.type;return E.createElement(oe,{key:"".concat(n,"-").concat(t),value:t,onClick:function(){return function(e,t){m(e),s(t)}(r,n)}},n)})))),""!==c?O?E.createElement(N.Loading,null):E.createElement(mt,{tableFieldsData:g,modifiedFields:y,setModifiedFields:b,handleConfirm:function(){var e=We(g,y);if(""===l)f(!0);else if(w.includes(!0))S(w);else{var n={genericMetadata:{id:c,name:i,type:h},id:ut(),integrationType:t,isCustomizable:e.length>0,name:l,version:1,fields:e};_((function(e){return[].concat((0,Te.A)(e),[n])})),setTimeout((function(){x(!1),a("success","Metadado configurado!")}),750)}},handleCancel:D,handleEditAllFields:function(){S(Array(P.length).fill(!0))}}):E.createElement(N.NothingFound,{show:!0,customText:"Selecione um Endpoint para verificar os campos otimizáveis."}))};function yt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function bt(e){for(var t=1;t0){var e=x.fields.map((function(e){return{id:e.id,genericMetadataId:e.genericMetadataId,name:e.name,limit:e.limit,required:e.required,type:e.type,externalFields:{id:e.externalFields.id,name:e.externalFields.name,type:e.externalFields.type,required:e.externalFields.required,default:e.externalFields.default,internalFieldId:e.externalFields.internalFieldId}}}));p(e),h(e)}}),[x]);var S=function(){v(!1),y([]),b([]),h([]),c(!1)};return E.createElement(E.Fragment,null,E.createElement(V,{onClick:S},E.createElement(qe,{htmlColor:wt.main,fontSize:"inherit"}),E.createElement(ae,{color:"primary",variant:"h6"},"Edite seu metadado")),E.createElement(U,null,E.createElement(ie,{required:!0,fullWidth:!0,error:u,helperText:u?"Esse campo é obrigatório":"",label:"Nome da Integração",value:s,onChange:function(e){l(e.target.value),""!==e.target.value&&c(!1)}}),E.createElement(N.TextField,{select:!0,disabled:!0,fullWidth:!0,value:g,label:"Endpoint"},w.map((function(e){var t=e.id,n=e.name;return E.createElement(oe,{key:"".concat(n,"-").concat(t),value:t},n)})))),E.createElement(mt,{tableFieldsData:d,modifiedFields:f,setModifiedFields:h,handleConfirm:function(){var e=We(d,f);if(""===s)c(!0);else{var t=o.map((function(t){return t.id===m?bt(bt({},t),{},{id:m,name:s,isCustomizable:!0,version:1,fields:e}):t}));i(t),setTimeout((function(){v(!1),r("success","Metadado editado!")}),750)}},handleCancel:S,handleEditAllFields:function(){y(Array(null==x?void 0:x.fields.length).fill(!0))}}))};const St=(0,Ue.A)((0,He.jsx)("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z"}),"Delete");var _t=function(e){var t=e.open,n=e.id,r=e.onClose,a=(0,I.useNotification)(),o=(0,k.A)(a,1)[0],i=(0,E.useContext)(M),s=i.createMetadata,l=i.setCreateMetadata,u=i.setOpenDeleteDialog;return E.createElement(N.Dialog,{fullWidth:!0,open:t,maxWidth:"xs",scroll:"body",title:"EXCLUIR",actions:E.createElement(N.Actions,{margin:"12px",onCancel:r,onConfirm:function(){return e=n,t=s.filter((function(t){return t.id!==e})),void setTimeout((function(){u(!1),l(t),o("success","Metadado deletado!")}),750);var e,t}}),content:E.createElement(E.Fragment,null,E.createElement(re,{margin:"0 0 10px 0"},"Deseja realmente remover o metadado cadastrado?"),E.createElement(re,null,"Essa operação não poderá ser desfeita.")),onClose:r})},At=function(e){var t=e.erpType,n=e.serviceDescription,r=e.integrationCardName,a=e.integrationType,o=(0,E.useContext)(M),i=o.deleteId,s=o.setDeleteId,l=o.openDeleteDialog,u=o.setOpenDeleteDialog,c=o.createMetadata,d=o.setUpdateId,p=o.setShowUpdate,f=o.setSaasUpdateName,h=o.setSaasUpdateGenericId,m=nt({erpType:null!=t?t:Me.Custom,group:n,integrationCardName:r,integrationContext:a}).loading,g=function(){u(!1)};return E.createElement(E.Fragment,null,m?E.createElement(N.Loading,null):E.createElement(N.Table,{margin:"20px 0"},E.createElement(N.TableHead,null,E.createElement(N.TableRow,null,Ne.map((function(e,t){return E.createElement(N.TableCell,{key:t,colSpan:e.colSpan},e.title)})))),E.createElement(N.TableBody,null,c.map((function(e){return E.createElement(G,{key:e.genericMetadata.id},E.createElement(K,{colSpan:4},e.name),E.createElement(K,{colSpan:4},e.genericMetadata.name),E.createElement(K,{colSpan:1,align:"right"},E.createElement(te,{margin:"0 15px 0 0",onClick:function(){return t=e.id,n=e.name,r=e.genericMetadata.id,p(!0),d(t),f(n),void h(r);var t,n,r}},E.createElement(dt,{color:"action"})),E.createElement(te,{onClick:function(){return t=e.id,s(t),void u(!0);var t}},E.createElement(St,{color:"action"})),E.createElement(_t,{open:l,id:i,onClose:g})))})))))},Ct=L.theme.colors.primary,Tt=function(e){var t=e.erpType,n=e.integrationType,r=e.serviceDescription,a=e.integrationCardName,o=e.previous,i=(0,E.useContext)(M),s=i.showCreate,l=i.setShowCreate,u=i.showUpdate,c=i.setCreateName,d=i.setCreateEndpoint,p=i.createMetadata,f=i.setCreateMetadata,h=nt({erpType:null!=t?t:Me.Custom,group:r,integrationCardName:a,integrationContext:n}).saasData;return(0,E.useEffect)((function(){h&&0===p.length&&f((0,Te.A)(h))}),[h]),E.createElement(E.Fragment,null,!s&&!u&&E.createElement(E.Fragment,null,E.createElement(V,{onClick:o},E.createElement(qe,{htmlColor:Ct.main,fontSize:"inherit"}),E.createElement(ae,{color:"primary",variant:"h6"},"Configure os metadados")),E.createElement(z,null,E.createElement(W,null,E.createElement(N.AddButton,{label:"NOVO METADADO",name:"new-metadata",margin:"0px",onClick:function(){l(!0),c(""),d("")}}))),p.length>0?E.createElement(At,{erpType:t,serviceDescription:r,integrationCardName:a}):E.createElement(N.NothingFound,{show:!0,customText:"Seus metadados cadastrados serão apresentados aqui."})),s&&E.createElement(vt,{erpType:t,integrationType:n}),u&&E.createElement(xt,null))}},47907:(e,t,n)=>{"use strict";n.d(t,{qj:()=>m,gi:()=>f,VC:()=>h,J1:()=>d,Nh:()=>p});var r=function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.devAssert=function(e,t){if(!Boolean(e))throw new Error(t)}},29657:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.inspect=function(e){return a(e,[])};const n=10,r=2;function a(e,t){switch(typeof e){case"string":return JSON.stringify(e);case"function":return e.name?`[function ${e.name}]`:"[function]";case"object":return function(e,t){if(null===e)return"null";if(t.includes(e))return"[Circular]";const o=[...t,e];if(function(e){return"function"==typeof e.toJSON}(e)){const t=e.toJSON();if(t!==e)return"string"==typeof t?t:a(t,o)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return"[]";if(t.length>r)return"[Array]";const o=Math.min(n,e.length),i=e.length-o,s=[];for(let n=0;n1&&s.push(`... ${i} more items`),"["+s.join(", ")+"]"}(e,o);return function(e,t){const n=Object.entries(e);if(0===n.length)return"{}";if(t.length>r)return"["+function(e){const t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){const t=e.constructor.name;if("string"==typeof t&&""!==t)return t}return t}(e)+"]";const o=n.map((([e,n])=>e+": "+a(n,t)));return"{ "+o.join(", ")+" }"}(e,o)}(e,t);default:return String(e)}}},76257:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Token=t.QueryDocumentKeys=t.OperationTypeNode=t.Location=void 0,t.isNode=function(e){const t=null==e?void 0:e.kind;return"string"==typeof t&&o.has(t)};class n{constructor(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}t.Location=n;class r{constructor(e,t,n,r,a,o){this.kind=e,this.start=t,this.end=n,this.line=r,this.column=a,this.value=o,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}t.Token=r;const a={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]};t.QueryDocumentKeys=a;const o=new Set(Object.keys(a));var i;t.OperationTypeNode=i,function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"}(i||(t.OperationTypeNode=i={}))},69165:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dedentBlockStringLines=function(e){var t;let n=Number.MAX_SAFE_INTEGER,r=null,o=-1;for(let t=0;t0===t?e:e.slice(n))).slice(null!==(t=r)&&void 0!==t?t:0,o+1)},t.isPrintableAsBlockString=function(e){if(""===e)return!0;let t=!0,n=!1,r=!0,a=!1;for(let o=0;o1&&a.slice(1).every((e=>0===e.length||(0,r.isWhiteSpace)(e.charCodeAt(0)))),s=n.endsWith('\\"""'),l=e.endsWith('"')&&!s,u=e.endsWith("\\"),c=l||u,d=!(null!=t&&t.minimize)&&(!o||e.length>70||c||i||s);let p="";const f=o&&(0,r.isWhiteSpace)(e.charCodeAt(0));return(d&&!f||i)&&(p+="\n"),p+=n,(d||c)&&(p+="\n"),'"""'+p+'"""'};var r=n(3932);function a(e){let t=0;for(;t{"use strict";function n(e){return e>=48&&e<=57}function r(e){return e>=97&&e<=122||e>=65&&e<=90}Object.defineProperty(t,"__esModule",{value:!0}),t.isDigit=n,t.isLetter=r,t.isNameContinue=function(e){return r(e)||n(e)||95===e},t.isNameStart=function(e){return r(e)||95===e},t.isWhiteSpace=function(e){return 9===e||32===e}},7030:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Kind=void 0,t.Kind=n,function(e){e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.INT="IntValue",e.FLOAT="FloatValue",e.STRING="StringValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e.SCHEMA_DEFINITION="SchemaDefinition",e.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",e.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",e.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",e.FIELD_DEFINITION="FieldDefinition",e.INPUT_VALUE_DEFINITION="InputValueDefinition",e.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",e.UNION_TYPE_DEFINITION="UnionTypeDefinition",e.ENUM_TYPE_DEFINITION="EnumTypeDefinition",e.ENUM_VALUE_DEFINITION="EnumValueDefinition",e.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",e.DIRECTIVE_DEFINITION="DirectiveDefinition",e.SCHEMA_EXTENSION="SchemaExtension",e.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",e.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",e.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",e.UNION_TYPE_EXTENSION="UnionTypeExtension",e.ENUM_TYPE_EXTENSION="EnumTypeExtension",e.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension"}(n||(t.Kind=n={}))},7583:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.printString=function(e){return`"${e.replace(n,r)}"`};const n=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function r(e){return a[e.charCodeAt(0)]}const a=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"]},70585:(e,t,n)=>{"use strict";t.y=function(e){return(0,o.visit)(e,i)};var r=n(69165),a=n(7583),o=n(9111);const i={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>s(e.definitions,"\n\n")},OperationDefinition:{leave(e){const t=u("(",s(e.variableDefinitions,", "),")"),n=s([e.operation,s([e.name,t]),s(e.directives," ")]," ");return("query"===n?"":n+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:n,directives:r})=>e+": "+t+u(" = ",n)+u(" ",s(r," "))},SelectionSet:{leave:({selections:e})=>l(e)},Field:{leave({alias:e,name:t,arguments:n,directives:r,selectionSet:a}){const o=u("",e,": ")+t;let i=o+u("(",s(n,", "),")");return i.length>80&&(i=o+u("(\n",c(s(n,"\n")),"\n)")),s([i,s(r," "),a]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+u(" ",s(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:n})=>s(["...",u("on ",e),s(t," "),n]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:n,directives:r,selectionSet:a})=>`fragment ${e}${u("(",s(n,", "),")")} on ${t} ${u("",s(r," ")," ")}`+a},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:t})=>t?(0,r.printBlockString)(e):(0,a.printString)(e)},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+s(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+s(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+u("(",s(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:n})=>u("",e,"\n")+s(["schema",s(t," "),l(n)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:n})=>u("",e,"\n")+s(["scalar",t,s(n," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:a})=>u("",e,"\n")+s(["type",t,u("implements ",s(n," & ")),s(r," "),l(a)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:n,type:r,directives:a})=>u("",e,"\n")+t+(d(n)?u("(\n",c(s(n,"\n")),"\n)"):u("(",s(n,", "),")"))+": "+r+u(" ",s(a," "))},InputValueDefinition:{leave:({description:e,name:t,type:n,defaultValue:r,directives:a})=>u("",e,"\n")+s([t+": "+n,u("= ",r),s(a," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:a})=>u("",e,"\n")+s(["interface",t,u("implements ",s(n," & ")),s(r," "),l(a)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:n,types:r})=>u("",e,"\n")+s(["union",t,s(n," "),u("= ",s(r," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:n,values:r})=>u("",e,"\n")+s(["enum",t,s(n," "),l(r)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:n})=>u("",e,"\n")+s([t,s(n," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:n,fields:r})=>u("",e,"\n")+s(["input",t,s(n," "),l(r)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:n,repeatable:r,locations:a})=>u("",e,"\n")+"directive @"+t+(d(n)?u("(\n",c(s(n,"\n")),"\n)"):u("(",s(n,", "),")"))+(r?" repeatable":"")+" on "+s(a," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>s(["extend schema",s(e," "),l(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>s(["extend scalar",e,s(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>s(["extend type",e,u("implements ",s(t," & ")),s(n," "),l(r)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>s(["extend interface",e,u("implements ",s(t," & ")),s(n," "),l(r)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:n})=>s(["extend union",e,s(t," "),u("= ",s(n," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:n})=>s(["extend enum",e,s(t," "),l(n)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:n})=>s(["extend input",e,s(t," "),l(n)]," ")}};function s(e,t=""){var n;return null!==(n=null==e?void 0:e.filter((e=>e)).join(t))&&void 0!==n?n:""}function l(e){return u("{\n",c(s(e,"\n")),"\n}")}function u(e,t,n=""){return null!=t&&""!==t?e+t+n:""}function c(e){return u(" ",e.replace(/\n/g,"\n "))}function d(e){var t;return null!==(t=null==e?void 0:e.some((e=>e.includes("\n"))))&&void 0!==t&&t}},9111:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BREAK=void 0,t.getEnterLeaveForKind=l,t.getVisitFn=function(e,t,n){const{enter:r,leave:a}=l(e,t);return n?a:r},t.visit=function(e,t,n=o.QueryDocumentKeys){const u=new Map;for(const e of Object.values(i.Kind))u.set(e,l(t,e));let c,d,p,f=Array.isArray(e),h=[e],m=-1,g=[],v=e;const y=[],b=[];do{m++;const e=m===h.length,i=e&&0!==g.length;if(e){if(d=0===b.length?void 0:y[y.length-1],v=p,p=b.pop(),i)if(f){v=v.slice();let e=0;for(const[t,n]of g){const r=t-e;null===n?(v.splice(r,1),e++):v[r]=n}}else{v=Object.defineProperties({},Object.getOwnPropertyDescriptors(v));for(const[e,t]of g)v[e]=t}m=c.index,h=c.keys,g=c.edits,f=c.inArray,c=c.prev}else if(p){if(d=f?m:h[m],v=p[d],null==v)continue;y.push(d)}let l;if(!Array.isArray(v)){var w,x;(0,o.isNode)(v)||(0,r.devAssert)(!1,`Invalid AST Node: ${(0,a.inspect)(v)}.`);const n=e?null===(w=u.get(v.kind))||void 0===w?void 0:w.leave:null===(x=u.get(v.kind))||void 0===x?void 0:x.enter;if(l=null==n?void 0:n.call(t,v,d,p,y,b),l===s)break;if(!1===l){if(!e){y.pop();continue}}else if(void 0!==l&&(g.push([d,l]),!e)){if(!(0,o.isNode)(l)){y.pop();continue}v=l}}var S;void 0===l&&i&&g.push([d,v]),e?y.pop():(c={inArray:f,index:m,keys:h,edits:g,prev:c},f=Array.isArray(v),h=f?v:null!==(S=n[v.kind])&&void 0!==S?S:[],m=-1,g=[],p&&b.push(p),p=v)}while(void 0!==c);return 0!==g.length?g[g.length-1][1]:e},t.visitInParallel=function(e){const t=new Array(e.length).fill(null),n=Object.create(null);for(const r of Object.values(i.Kind)){let a=!1;const o=new Array(e.length).fill(void 0),i=new Array(e.length).fill(void 0);for(let t=0;t{"use strict";var r=n(73404),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?i:s[e.$$typeof]||a}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=i;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var a=f(n);a&&a!==h&&e(t,a,r)}var i=c(n);d&&(i=i.concat(d(n)));for(var s=l(t),m=l(n),g=0;g{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,a=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,f=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case d:case o:case s:case i:case f:return e;default:switch(e=e&&e.$$typeof){case u:case p:case g:case m:case l:return e;default:return t}}case a:return t}}}function S(e){return x(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=l,t.Element=r,t.ForwardRef=p,t.Fragment=o,t.Lazy=g,t.Memo=m,t.Portal=a,t.Profiler=s,t.StrictMode=i,t.Suspense=f,t.isAsyncMode=function(e){return S(e)||x(e)===c},t.isConcurrentMode=S,t.isContextConsumer=function(e){return x(e)===u},t.isContextProvider=function(e){return x(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return x(e)===p},t.isFragment=function(e){return x(e)===o},t.isLazy=function(e){return x(e)===g},t.isMemo=function(e){return x(e)===m},t.isPortal=function(e){return x(e)===a},t.isProfiler=function(e){return x(e)===s},t.isStrictMode=function(e){return x(e)===i},t.isSuspense=function(e){return x(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===d||e===s||e===i||e===f||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===u||e.$$typeof===p||e.$$typeof===y||e.$$typeof===b||e.$$typeof===w||e.$$typeof===v)},t.typeOf=x},73404:(e,t,n)=>{"use strict";e.exports=n(3072)},76120:(e,t,n)=>{"use strict";function r(e,t){for(var n=0;nw});var a=[],o=a.forEach,i=a.slice,s=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,l={name:"cookie",lookup:function(e){var t;if(e.lookupCookie&&"undefined"!=typeof document){var n=function(e){for(var t="".concat(e,"="),n=document.cookie.split(";"),r=0;r4&&void 0!==arguments[4]?arguments[4]:{path:"/",sameSite:"strict"};n&&(a.expires=new Date,a.expires.setTime(a.expires.getTime()+60*n*1e3)),r&&(a.domain=r),document.cookie=function(e,t,n){var r=n||{};r.path=r.path||"/";var a=encodeURIComponent(t),o="".concat(e,"=").concat(a);if(r.maxAge>0){var i=r.maxAge-0;if(Number.isNaN(i))throw new Error("maxAge should be a Number");o+="; Max-Age=".concat(Math.floor(i))}if(r.domain){if(!s.test(r.domain))throw new TypeError("option domain is invalid");o+="; Domain=".concat(r.domain)}if(r.path){if(!s.test(r.path))throw new TypeError("option path is invalid");o+="; Path=".concat(r.path)}if(r.expires){if("function"!=typeof r.expires.toUTCString)throw new TypeError("option expires is invalid");o+="; Expires=".concat(r.expires.toUTCString())}if(r.httpOnly&&(o+="; HttpOnly"),r.secure&&(o+="; Secure"),r.sameSite)switch("string"==typeof r.sameSite?r.sameSite.toLowerCase():r.sameSite){case!0:o+="; SameSite=Strict";break;case"lax":o+="; SameSite=Lax";break;case"strict":o+="; SameSite=Strict";break;case"none":o+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return o}(e,encodeURIComponent(t),a)}(t.lookupCookie,e,t.cookieMinutes,t.cookieDomain,t.cookieOptions)}},u={name:"querystring",lookup:function(e){var t;if("undefined"!=typeof window){var n=window.location.search;!window.location.search&&window.location.hash&&window.location.hash.indexOf("?")>-1&&(n=window.location.hash.substring(window.location.hash.indexOf("?")));for(var r=n.substring(1).split("&"),a=0;a0&&r[a].substring(0,o)===e.lookupQuerystring&&(t=r[a].substring(o+1))}}return t}},c=null,d=function(){if(null!==c)return c;try{c="undefined"!==window&&null!==window.localStorage;var e="i18next.translate.boo";window.localStorage.setItem(e,"foo"),window.localStorage.removeItem(e)}catch(e){c=!1}return c},p={name:"localStorage",lookup:function(e){var t;if(e.lookupLocalStorage&&d()){var n=window.localStorage.getItem(e.lookupLocalStorage);n&&(t=n)}return t},cacheUserLanguage:function(e,t){t.lookupLocalStorage&&d()&&window.localStorage.setItem(t.lookupLocalStorage,e)}},f=null,h=function(){if(null!==f)return f;try{f="undefined"!==window&&null!==window.sessionStorage;var e="i18next.translate.boo";window.sessionStorage.setItem(e,"foo"),window.sessionStorage.removeItem(e)}catch(e){f=!1}return f},m={name:"sessionStorage",lookup:function(e){var t;if(e.lookupSessionStorage&&h()){var n=window.sessionStorage.getItem(e.lookupSessionStorage);n&&(t=n)}return t},cacheUserLanguage:function(e,t){t.lookupSessionStorage&&h()&&window.sessionStorage.setItem(t.lookupSessionStorage,e)}},g={name:"navigator",lookup:function(e){var t=[];if("undefined"!=typeof navigator){if(navigator.languages)for(var n=0;n0?t:void 0}},v={name:"htmlTag",lookup:function(e){var t,n=e.htmlTag||("undefined"!=typeof document?document.documentElement:null);return n&&"function"==typeof n.getAttribute&&(t=n.getAttribute("lang")),t}},y={name:"path",lookup:function(e){var t;if("undefined"!=typeof window){var n=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(n instanceof Array)if("number"==typeof e.lookupFromPathIndex){if("string"!=typeof n[e.lookupFromPathIndex])return;t=n[e.lookupFromPathIndex].replace("/","")}else t=n[0].replace("/","")}return t}},b={name:"subdomain",lookup:function(e){var t="number"==typeof e.lookupFromSubdomainIndex?e.lookupFromSubdomainIndex+1:1,n="undefined"!=typeof window&&window.location&&window.location.hostname&&window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(n)return n[t]}},w=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.type="languageDetector",this.detectors={},this.init(t,n)}var t,n;return t=e,n=[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.services=e,this.options=function(e){return o.call(i.call(arguments,1),(function(t){if(t)for(var n in t)void 0===e[n]&&(e[n]=t[n])})),e}(t,this.options||{},{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"]}),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=n,this.addDetector(l),this.addDetector(u),this.addDetector(p),this.addDetector(m),this.addDetector(g),this.addDetector(v),this.addDetector(y),this.addDetector(b)}},{key:"addDetector",value:function(e){this.detectors[e.name]=e}},{key:"detect",value:function(e){var t=this;e||(e=this.options.order);var n=[];return e.forEach((function(e){if(t.detectors[e]){var r=t.detectors[e].lookup(t.options);r&&"string"==typeof r&&(r=[r]),r&&(n=n.concat(r))}})),this.services.languageUtils.getBestMatchFromCodes?n:n.length>0?n[0]:null}},{key:"cacheUserLanguage",value:function(e,t){var n=this;t||(t=this.options.caches),t&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(e)>-1||t.forEach((function(t){n.detectors[t]&&n.detectors[t].cacheUserLanguage(e,n.options)})))}}],n&&r(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();w.type="languageDetector"},35543:(e,t,n)=>{"use strict";var r=n(87343),a=n(66554),o=n(50812),i=n(72572),s=n(62730),l=n(61971),u=n(29257),c=n(14404),d=n(19818);function p(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var f=p(r),h=p(a),m=p(o),g=p(i),v=p(s),y=p(l),b=p(u),w=p(c),x=p(d);function S(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};h.default(this,e),this.init(t,n)}return m.default(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||A,this.options=t,this.debug=t.debug}},{key:"setDebug",value:function(e){this.debug=e}},{key:"log",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n1?t-1:0),r=1;r-1?e.replace(/###/g,"."):e}function a(){return!e||"string"==typeof e}for(var o="string"!=typeof t?[].concat(t):t.split(".");o.length>1;){if(a())return{};var i=r(o.shift());!e[i]&&n&&(e[i]=new n),e=Object.prototype.hasOwnProperty.call(e,i)?e[i]:{}}return a()?{}:{obj:e,k:r(o.shift())}}function P(e,t,n){var r=M(e,t,Object);r.obj[r.k]=n}function O(e,t){var n=M(e,t),r=n.obj,a=n.k;if(r)return r[a]}function I(e,t,n){var r=O(e,n);return void 0!==r?r:O(t,n)}function D(e,t,n){for(var r in t)"__proto__"!==r&&"constructor"!==r&&(r in e?"string"==typeof e[r]||e[r]instanceof String||"string"==typeof t[r]||t[r]instanceof String?n&&(e[r]=t[r]):D(e[r],t[r],n):e[r]=t[r]);return e}function R(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var N={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function L(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,(function(e){return N[e]})):e}var $="undefined"!=typeof window&&window.navigator&&void 0===window.navigator.userAgentData&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,j=[" ",",","?","!",";"];function F(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function B(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:".";if(e){if(e[t])return e[t];for(var r=t.split(n),a=e,o=0;oo+i;)i++,l=a[s=r.slice(o,o+i).join(n)];if(void 0===l)return;if(null===l)return null;if(t.endsWith(s)){if("string"==typeof l)return l;if(s&&"string"==typeof l[s])return l[s]}var u=r.slice(o+i).join(n);return u?z(l,u,n):void 0}a=a[r[o]]}return a}}var W=function(e){v.default(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=b.default(t);if(n){var a=b.default(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return y.default(this,e)});function a(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};return h.default(this,a),t=r.call(this),$&&T.call(g.default(t)),t.data=e||{},t.options=n,void 0===t.options.keySeparator&&(t.options.keySeparator="."),void 0===t.options.ignoreJSONStructure&&(t.options.ignoreJSONStructure=!0),t}return m.default(a,[{key:"addNamespaces",value:function(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}},{key:"removeNamespaces",value:function(e){var t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,o=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure,i=[e,t];n&&"string"!=typeof n&&(i=i.concat(n)),n&&"string"==typeof n&&(i=i.concat(a?n.split(a):n)),e.indexOf(".")>-1&&(i=e.split("."));var s=O(this.data,i);return s||!o||"string"!=typeof n?s:z(this.data&&this.data[e]&&this.data[e][t],n,a)}},{key:"addResource",value:function(e,t,n,r){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},o=this.options.keySeparator;void 0===o&&(o=".");var i=[e,t];n&&(i=i.concat(o?n.split(o):n)),e.indexOf(".")>-1&&(r=t,t=(i=e.split("."))[1]),this.addNamespaces(t),P(this.data,i,r),a.silent||this.emit("added",e,t,n,r)}},{key:"addResources",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(var a in n)"string"!=typeof n[a]&&"[object Array]"!==Object.prototype.toString.apply(n[a])||this.addResource(e,t,a,n[a],{silent:!0});r.silent||this.emit("added",e,t,n)}},{key:"addResourceBundle",value:function(e,t,n,r,a){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},i=[e,t];e.indexOf(".")>-1&&(r=n,n=t,t=(i=e.split("."))[1]),this.addNamespaces(t);var s=O(this.data,i)||{};r?D(s,n,a):s=B(B({},s),n),P(this.data,i,s),o.silent||this.emit("added",e,t,n)}},{key:"removeResourceBundle",value:function(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}},{key:"hasResourceBundle",value:function(e,t){return void 0!==this.getResource(e,t)}},{key:"getResourceBundle",value:function(e,t){return t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI?B(B({},{}),this.getResource(e,t)):this.getResource(e,t)}},{key:"getDataByLanguage",value:function(e){return this.data[e]}},{key:"hasLanguageSomeTranslations",value:function(e){var t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find((function(e){return t[e]&&Object.keys(t[e]).length>0}))}},{key:"toJSON",value:function(){return this.data}}]),a}(T),V={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,t,n,r,a){var o=this;return e.forEach((function(e){o.processors[e]&&(t=o.processors[e].process(t,n,r,a))})),t}};function U(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function H(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};return h.default(this,a),t=r.call(this),$&&T.call(g.default(t)),n=["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],o=e,i=g.default(t),n.forEach((function(e){o[e]&&(i[e]=o[e])})),t.options=s,void 0===t.options.keySeparator&&(t.options.keySeparator="."),t.logger=C.create("translator"),t}return m.default(a,[{key:"changeLanguage",value:function(e){e&&(this.language=e)}},{key:"exists",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;var n=this.resolve(e,t);return n&&void 0!==n.res}},{key:"extractFromKey",value:function(e,t){var n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");var r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,a=t.ns||this.options.defaultNS||[],o=n&&e.indexOf(n)>-1,i=!(this.options.userDefinedKeySeparator||t.keySeparator||this.options.userDefinedNsSeparator||t.nsSeparator||function(e,t,n){t=t||"",n=n||"";var r=j.filter((function(e){return t.indexOf(e)<0&&n.indexOf(e)<0}));if(0===r.length)return!0;var a=new RegExp("(".concat(r.map((function(e){return"?"===e?"\\?":e})).join("|"),")")),o=!a.test(e);if(!o){var i=e.indexOf(n);i>0&&!a.test(e.substring(0,i))&&(o=!0)}return o}(e,n,r));if(o&&!i){var s=e.match(this.interpolator.nestingRegexp);if(s&&s.length>0)return{key:e,namespaces:a};var l=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(l[0])>-1)&&(a=l.shift()),e=l.join(r)}return"string"==typeof a&&(a=[a]),{key:e,namespaces:a}}},{key:"translate",value:function(e,t,n){var r=this;if("object"!==f.default(t)&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),t||(t={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);var o=void 0!==t.returnDetails?t.returnDetails:this.options.returnDetails,i=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,s=this.extractFromKey(e[e.length-1],t),l=s.key,u=s.namespaces,c=u[u.length-1],d=t.lng||this.language,p=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(d&&"cimode"===d.toLowerCase()){if(p){var h=t.nsSeparator||this.options.nsSeparator;return o?(m.res="".concat(c).concat(h).concat(l),m):"".concat(c).concat(h).concat(l)}return o?(m.res=l,m):l}var m=this.resolve(e,t),g=m&&m.res,v=m&&m.usedKey||l,y=m&&m.exactUsedKey||l,b=Object.prototype.toString.apply(g),w=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,x=!this.i18nFormat||this.i18nFormat.handleAsObject;if(x&&g&&"string"!=typeof g&&"boolean"!=typeof g&&"number"!=typeof g&&["[object Number]","[object Function]","[object RegExp]"].indexOf(b)<0&&("string"!=typeof w||"[object Array]"!==b)){if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");var S=this.options.returnedObjectHandler?this.options.returnedObjectHandler(v,g,H(H({},t),{},{ns:u})):"key '".concat(l," (").concat(this.language,")' returned an object instead of string.");return o?(m.res=S,m):S}if(i){var _="[object Array]"===b,A=_?[]:{},C=_?y:v;for(var T in g)if(Object.prototype.hasOwnProperty.call(g,T)){var k="".concat(C).concat(i).concat(T);A[T]=this.translate(k,H(H({},t),{joinArrays:!1,ns:u})),A[T]===k&&(A[T]=g[T])}g=A}}else if(x&&"string"==typeof w&&"[object Array]"===b)(g=g.join(w))&&(g=this.extendTranslation(g,e,t,n));else{var E=!1,M=!1,P=void 0!==t.count&&"string"!=typeof t.count,O=a.hasDefaultValue(t),I=P?this.pluralResolver.getSuffix(d,t.count,t):"",D=t["defaultValue".concat(I)]||t.defaultValue;!this.isValidLookup(g)&&O&&(E=!0,g=D),this.isValidLookup(g)||(M=!0,g=l);var R=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&M?void 0:g,N=O&&D!==g&&this.options.updateMissing;if(M||E||N){if(this.logger.log(N?"updateKey":"missingKey",d,c,l,N?D:g),i){var L=this.resolve(l,H(H({},t),{},{keySeparator:!1}));L&&L.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var $=[],j=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&j&&j[0])for(var F=0;F1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e&&(e=[e]),e.forEach((function(e){if(!i.isValidLookup(t)){var l=i.extractFromKey(e,s),u=l.key;n=u;var c=l.namespaces;i.options.fallbackNS&&(c=c.concat(i.options.fallbackNS));var d=void 0!==s.count&&"string"!=typeof s.count,p=d&&!s.ordinal&&0===s.count&&i.pluralResolver.shouldUseIntlApi(),f=void 0!==s.context&&("string"==typeof s.context||"number"==typeof s.context)&&""!==s.context,h=s.lngs?s.lngs:i.languageUtils.toResolveHierarchy(s.lng||i.language,s.fallbackLng);c.forEach((function(e){i.isValidLookup(t)||(o=e,!q["".concat(h[0],"-").concat(e)]&&i.utils&&i.utils.hasLoadedNamespace&&!i.utils.hasLoadedNamespace(o)&&(q["".concat(h[0],"-").concat(e)]=!0,i.logger.warn('key "'.concat(n,'" for languages "').concat(h.join(", "),'" won\'t get resolved as namespace "').concat(o,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),h.forEach((function(n){if(!i.isValidLookup(t)){a=n;var o,l=[u];if(i.i18nFormat&&i.i18nFormat.addLookupKeys)i.i18nFormat.addLookupKeys(l,u,n,e,s);else{var c;d&&(c=i.pluralResolver.getSuffix(n,s.count,s));var h="".concat(i.options.pluralSeparator,"zero");if(d&&(l.push(u+c),p&&l.push(u+h)),f){var m="".concat(u).concat(i.options.contextSeparator).concat(s.context);l.push(m),d&&(l.push(m+c),p&&l.push(m+h))}}for(;o=l.pop();)i.isValidLookup(t)||(r=o,t=i.getResource(n,e,o,s))}})))}))}})),{res:t,usedKey:n,exactUsedKey:r,usedLng:a,usedNS:o}}},{key:"isValidLookup",value:function(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}}],[{key:"hasDefaultValue",value:function(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&"defaultValue"===t.substring(0,12)&&void 0!==e[t])return!0;return!1}}]),a}(T);function Y(e){return e.charAt(0).toUpperCase()+e.slice(1)}var X=function(){function e(t){h.default(this,e),this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=C.create("languageUtils")}return m.default(e,[{key:"getScriptPartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return null;var t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}},{key:"getLanguagePartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return e;var t=e.split("-");return this.formatLanguageCode(t[0])}},{key:"formatLanguageCode",value:function(e){if("string"==typeof e&&e.indexOf("-")>-1){var t=["hans","hant","latn","cyrl","cans","mong","arab"],n=e.split("-");return this.options.lowerCaseLng?n=n.map((function(e){return e.toLowerCase()})):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=Y(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=Y(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=Y(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}},{key:"isSupportedCode",value:function(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}},{key:"getBestMatchFromCodes",value:function(e){var t,n=this;return e?(e.forEach((function(e){if(!t){var r=n.formatLanguageCode(e);n.options.supportedLngs&&!n.isSupportedCode(r)||(t=r)}})),!t&&this.options.supportedLngs&&e.forEach((function(e){if(!t){var r=n.getLanguagePartFromCode(e);if(n.isSupportedCode(r))return t=r;t=n.options.supportedLngs.find((function(e){if(0===e.indexOf(r))return e}))}})),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}},{key:"getFallbackCodes",value:function(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),"string"==typeof e&&(e=[e]),"[object Array]"===Object.prototype.toString.apply(e))return e;if(!t)return e.default||[];var n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}},{key:"toResolveHierarchy",value:function(e,t){var n=this,r=this.getFallbackCodes(t||this.options.fallbackLng||[],e),a=[],o=function(e){e&&(n.isSupportedCode(e)?a.push(e):n.logger.warn("rejecting language code not found in supportedLngs: ".concat(e)))};return"string"==typeof e&&e.indexOf("-")>-1?("languageOnly"!==this.options.load&&o(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&o(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&o(this.getLanguagePartFromCode(e))):"string"==typeof e&&o(this.formatLanguageCode(e)),r.forEach((function(e){a.indexOf(e)<0&&o(n.formatLanguageCode(e))})),a}}]),e}(),K=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],Q={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(1==e||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0==e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)}},Z=["v1","v2","v3"],J={zero:0,one:1,two:2,few:3,many:4,other:5},ee=function(){function e(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};h.default(this,e),this.languageUtils=t,this.options=r,this.logger=C.create("pluralResolver"),this.options.compatibilityJSON&&"v4"!==this.options.compatibilityJSON||"undefined"!=typeof Intl&&Intl.PluralRules||(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=(n={},K.forEach((function(e){e.lngs.forEach((function(t){n[t]={numbers:e.nr,plurals:Q[e.fc]}}))})),n)}return m.default(e,[{key:"addRule",value:function(e,t){this.rules[e]=t}},{key:"getRule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(e,{type:t.ordinal?"ordinal":"cardinal"})}catch(e){return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}},{key:"needsPlural",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getRule(e,t);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,n).map((function(e){return"".concat(t).concat(e)}))}},{key:"getSuffixes",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.getRule(e,n);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort((function(e,t){return J[e]-J[t]})).map((function(e){return"".concat(t.options.prepend).concat(e)})):r.numbers.map((function(r){return t.getSuffix(e,r,n)})):[]}},{key:"getSuffix",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this.getRule(e,n);return r?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(r.select(t)):this.getSuffixRetroCompatible(r,t):(this.logger.warn("no plural rule found for: ".concat(e)),"")}},{key:"getSuffixRetroCompatible",value:function(e,t){var n=this,r=e.noAbs?e.plurals(t):e.plurals(Math.abs(t)),a=e.numbers[r];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===a?a="plural":1===a&&(a=""));var o=function(){return n.options.prepend&&a.toString()?n.options.prepend+a.toString():a.toString()};return"v1"===this.options.compatibilityJSON?1===a?"":"number"==typeof a?"_plural_".concat(a.toString()):o():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?o():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}},{key:"shouldUseIntlApi",value:function(){return!Z.includes(this.options.compatibilityJSON)}}]),e}();function te(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ne(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};h.default(this,e),this.logger=C.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(e){return e},this.init(t)}return m.default(e,[{key:"init",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});var t=e.interpolation;this.escape=void 0!==t.escape?t.escape:L,this.escapeValue=void 0===t.escapeValue||t.escapeValue,this.useRawValueToEscape=void 0!==t.useRawValueToEscape&&t.useRawValueToEscape,this.prefix=t.prefix?R(t.prefix):t.prefixEscaped||"{{",this.suffix=t.suffix?R(t.suffix):t.suffixEscaped||"}}",this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||",",this.unescapePrefix=t.unescapeSuffix?"":t.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":t.unescapeSuffix||"",this.nestingPrefix=t.nestingPrefix?R(t.nestingPrefix):t.nestingPrefixEscaped||R("$t("),this.nestingSuffix=t.nestingSuffix?R(t.nestingSuffix):t.nestingSuffixEscaped||R(")"),this.nestingOptionsSeparator=t.nestingOptionsSeparator?t.nestingOptionsSeparator:t.nestingOptionsSeparator||",",this.maxReplaces=t.maxReplaces?t.maxReplaces:1e3,this.alwaysFormat=void 0!==t.alwaysFormat&&t.alwaysFormat,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var e="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(e,"g");var t="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(t,"g");var n="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(n,"g")}},{key:"interpolate",value:function(e,t,n,r){var a,o,i,s=this,l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function u(e){return e.replace(/\$/g,"$$$$")}var c=function(e){if(e.indexOf(s.formatSeparator)<0){var a=I(t,l,e);return s.alwaysFormat?s.format(a,void 0,n,ne(ne(ne({},r),t),{},{interpolationkey:e})):a}var o=e.split(s.formatSeparator),i=o.shift().trim(),u=o.join(s.formatSeparator).trim();return s.format(I(t,l,i),u,n,ne(ne(ne({},r),t),{},{interpolationkey:i}))};this.resetRegExp();var d=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,p=r&&r.interpolation&&void 0!==r.interpolation.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:function(e){return u(e)}},{regex:this.regexp,safeValue:function(e){return s.escapeValue?u(s.escape(e)):u(e)}}].forEach((function(t){for(i=0;a=t.regex.exec(e);){var n=a[1].trim();if(void 0===(o=c(n)))if("function"==typeof d){var l=d(e,a,r);o="string"==typeof l?l:""}else if(r&&r.hasOwnProperty(n))o="";else{if(p){o=a[0];continue}s.logger.warn("missed to pass in variable ".concat(n," for interpolating ").concat(e)),o=""}else"string"==typeof o||s.useRawValueToEscape||(o=E(o));var u=t.safeValue(o);if(e=e.replace(a[0],u),p?(t.regex.lastIndex+=o.length,t.regex.lastIndex-=a[0].length):t.regex.lastIndex=0,++i>=s.maxReplaces)break}})),e}},{key:"nest",value:function(e,t){var n,r,a=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=ne({},o);function s(e,t){var n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;var r=e.split(new RegExp("".concat(n,"[ ]*{"))),a="{".concat(r[1]);e=r[0],a=(a=this.interpolate(a,i)).replace(/'/g,'"');try{i=JSON.parse(a),t&&(i=ne(ne({},t),i))}catch(t){return this.logger.warn("failed parsing options string in nesting for key ".concat(e),t),"".concat(e).concat(n).concat(a)}return delete i.defaultValue,e}for(i.applyPostProcessor=!1,delete i.defaultValue;n=this.nestingRegexp.exec(e);){var l=[],u=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){var c=n[1].split(this.formatSeparator).map((function(e){return e.trim()}));n[1]=c.shift(),l=c,u=!0}if((r=t(s.call(this,n[1].trim(),i),i))&&n[0]===e&&"string"!=typeof r)return r;"string"!=typeof r&&(r=E(r)),r||(this.logger.warn("missed to resolve ".concat(n[1]," for nesting ").concat(e)),r=""),u&&(r=l.reduce((function(e,t){return a.format(e,t,o.lng,ne(ne({},o),{},{interpolationkey:n[1].trim()}))}),r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0}return e}}]),e}();function ae(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function oe(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};h.default(this,e),this.logger=C.create("formatter"),this.options=t,this.formats={number:function(e,t,n){return new Intl.NumberFormat(t,n).format(e)},currency:function(e,t,n){return new Intl.NumberFormat(t,oe(oe({},n),{},{style:"currency"})).format(e)},datetime:function(e,t,n){return new Intl.DateTimeFormat(t,oe({},n)).format(e)},relativetime:function(e,t,n){return new Intl.RelativeTimeFormat(t,oe({},n)).format(e,n.range||"day")},list:function(e,t,n){return new Intl.ListFormat(t,oe({},n)).format(e)}},this.init(t)}return m.default(e,[{key:"init",value:function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||","}},{key:"add",value:function(e,t){this.formats[e.toLowerCase().trim()]=t}},{key:"format",value:function(e,t,n,r){var a=this;return t.split(this.formatSeparator).reduce((function(e,t){var o=function(e){var t=e.toLowerCase().trim(),n={};if(e.indexOf("(")>-1){var r=e.split("(");t=r[0].toLowerCase().trim();var a=r[1].substring(0,r[1].length-1);"currency"===t&&a.indexOf(":")<0?n.currency||(n.currency=a.trim()):"relativetime"===t&&a.indexOf(":")<0?n.range||(n.range=a.trim()):a.split(";").forEach((function(e){if(e){var t=e.split(":"),r=x.default(t),a=r[0],o=r.slice(1).join(":").trim().replace(/^'+|'+$/g,"");n[a.trim()]||(n[a.trim()]=o),"false"===o&&(n[a.trim()]=!1),"true"===o&&(n[a.trim()]=!0),isNaN(o)||(n[a.trim()]=parseInt(o,10))}}))}return{formatName:t,formatOptions:n}}(t),i=o.formatName,s=o.formatOptions;if(a.formats[i]){var l=e;try{var u=r&&r.formatParams&&r.formatParams[r.interpolationkey]||{},c=u.locale||u.lng||r.locale||r.lng||n;l=a.formats[i](e,c,oe(oe(oe({},s),r),u))}catch(e){a.logger.warn(e)}return l}return a.logger.warn("there was no format function for ".concat(i)),e}),e)}}]),e}();function se(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function le(e){for(var t=1;t3&&void 0!==arguments[3]?arguments[3]:{};return h.default(this,a),o=r.call(this),$&&T.call(g.default(o)),o.backend=e,o.store=t,o.services=n,o.languageUtils=n.languageUtils,o.options=i,o.logger=C.create("backendConnector"),o.waitingReads=[],o.maxParallelReads=i.maxParallelReads||10,o.readingCalls=0,o.maxRetries=i.maxRetries>=0?i.maxRetries:5,o.retryTimeout=i.retryTimeout>=1?i.retryTimeout:350,o.state={},o.queue=[],o.backend&&o.backend.init&&o.backend.init(n,i.backend,i),o}return m.default(a,[{key:"queueLoad",value:function(e,t,n,r){var a=this,o={},i={},s={},l={};return e.forEach((function(e){var r=!0;t.forEach((function(t){var s="".concat(e,"|").concat(t);!n.reload&&a.store.hasResourceBundle(e,t)?a.state[s]=2:a.state[s]<0||(1===a.state[s]?void 0===i[s]&&(i[s]=!0):(a.state[s]=1,r=!1,void 0===i[s]&&(i[s]=!0),void 0===o[s]&&(o[s]=!0),void 0===l[t]&&(l[t]=!0)))})),r||(s[e]=!0)})),(Object.keys(o).length||Object.keys(i).length)&&this.queue.push({pending:i,pendingCount:Object.keys(i).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(o),pending:Object.keys(i),toLoadLanguages:Object.keys(s),toLoadNamespaces:Object.keys(l)}}},{key:"loaded",value:function(e,t,n){var r=e.split("|"),a=r[0],o=r[1];t&&this.emit("failedLoading",a,o,t),n&&this.store.addResourceBundle(a,o,n),this.state[e]=t?-1:2;var i={};this.queue.forEach((function(n){var r,s,l,u,c;r=n.loaded,s=o,(u=(l=M(r,[a],Object)).obj)[c=l.k]=u[c]||[],u[c].push(s),function(e,t){void 0!==e.pending[t]&&(delete e.pending[t],e.pendingCount--)}(n,e),t&&n.errors.push(t),0!==n.pendingCount||n.done||(Object.keys(n.loaded).forEach((function(e){i[e]||(i[e]={});var t=n.loaded[e];t.length&&t.forEach((function(t){void 0===i[e][t]&&(i[e][t]=!0)}))})),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())})),this.emit("loaded",i),this.queue=this.queue.filter((function(e){return!e.done}))}},{key:"read",value:function(e,t,n){var r=this,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,i=arguments.length>5?arguments[5]:void 0;return e.length?this.readingCalls>=this.maxParallelReads?void this.waitingReads.push({lng:e,ns:t,fcName:n,tried:a,wait:o,callback:i}):(this.readingCalls++,this.backend[n](e,t,(function(s,l){if(r.readingCalls--,r.waitingReads.length>0){var u=r.waitingReads.shift();r.read(u.lng,u.ns,u.fcName,u.tried,u.wait,u.callback)}s&&l&&a2&&void 0!==arguments[2]?arguments[2]:{},a=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),a&&a();"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);var o=this.queueLoad(e,t,r,a);if(!o.toLoad.length)return o.pending.length||a(),null;o.toLoad.forEach((function(e){n.loadOne(e)}))}},{key:"load",value:function(e,t,n){this.prepareLoading(e,t,{},n)}},{key:"reload",value:function(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}},{key:"loadOne",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.split("|"),a=r[0],o=r[1];this.read(a,o,"read",void 0,void 0,(function(r,i){r&&t.logger.warn("".concat(n,"loading namespace ").concat(o," for language ").concat(a," failed"),r),!r&&i&&t.logger.log("".concat(n,"loaded namespace ").concat(o," for language ").concat(a),i),t.loaded(e,r,i)}))}},{key:"saveMissing",value:function(e,t,n,r,a){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t)?this.logger.warn('did not save key "'.concat(n,'" as the namespace "').concat(t,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!"):null!=n&&""!==n&&(this.backend&&this.backend.create&&this.backend.create(e,t,n,r,null,le(le({},o),{},{isUpdate:a})),e&&e[0]&&this.store.addResource(e[0],t,n,r))}}]),a}(T);function ce(e){return"string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function de(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function pe(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;if(h.default(this,a),e=r.call(this),$&&T.call(g.default(e)),e.options=ce(n),e.services={},e.logger=C,e.modules={external:[]},t=g.default(e),Object.getOwnPropertyNames(Object.getPrototypeOf(t)).forEach((function(e){"function"==typeof t[e]&&(t[e]=t[e].bind(t))})),o&&!e.isInitialized&&!n.isClone){if(!e.options.initImmediate)return e.init(n,o),y.default(e,g.default(e));setTimeout((function(){e.init(n,o)}),0)}return e}return m.default(a,[{key:"init",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;"function"==typeof t&&(n=t,t={}),!t.defaultNS&&!1!==t.defaultNS&&t.ns&&("string"==typeof t.ns?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));var r={debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){var t={};if("object"===f.default(e[1])&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"===f.default(e[2])||"object"===f.default(e[3])){var n=e[3]||e[2];Object.keys(n).forEach((function(e){t[e]=n[e]}))}return t},interpolation:{escapeValue:!0,format:function(e,t,n,r){return e},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}};function a(e){return e?"function"==typeof e?new e:e:null}if(this.options=pe(pe(pe({},r),this.options),ce(t)),"v1"!==this.options.compatibilityAPI&&(this.options.interpolation=pe(pe({},r.interpolation),this.options.interpolation)),void 0!==t.keySeparator&&(this.options.userDefinedKeySeparator=t.keySeparator),void 0!==t.nsSeparator&&(this.options.userDefinedNsSeparator=t.nsSeparator),!this.options.isClone){var o;this.modules.logger?C.init(a(this.modules.logger),this.options):C.init(null,this.options),this.modules.formatter?o=this.modules.formatter:"undefined"!=typeof Intl&&(o=ie);var i=new X(this.options);this.store=new W(this.options.resources,this.options);var s=this.services;s.logger=C,s.resourceStore=this.store,s.languageUtils=i,s.pluralResolver=new ee(i,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),!o||this.options.interpolation.format&&this.options.interpolation.format!==r.interpolation.format||(s.formatter=a(o),s.formatter.init(s,this.options),this.options.interpolation.format=s.formatter.format.bind(s.formatter)),s.interpolator=new re(this.options),s.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},s.backendConnector=new ue(a(this.modules.backend),s.resourceStore,s,this.options),s.backendConnector.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a1?n-1:0),a=1;a0&&"dev"!==l[0]&&(this.options.lng=l[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach((function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments)}})),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach((function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments),e}}));var u=k(),c=function(){var t=function(t,r){e.isInitialized&&!e.initializedStoreOnce&&e.logger.warn("init: i18next is already initialized. You should call init just once!"),e.isInitialized=!0,e.options.isClone||e.logger.log("initialized",e.options),e.emit("initialized",e.options),u.resolve(r),n(t,r)};if(e.languages&&"v1"!==e.options.compatibilityAPI&&!e.isInitialized)return t(null,e.t.bind(e));e.changeLanguage(e.options.lng,t)};return this.options.resources||!this.options.initImmediate?c():setTimeout(c,0),u}},{key:"loadResources",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:fe,r="string"==typeof e?e:this.language;if("function"==typeof e&&(n=e),!this.options.resources||this.options.partialBundledLanguages){if(r&&"cimode"===r.toLowerCase())return n();var a=[],o=function(e){e&&t.services.languageUtils.toResolveHierarchy(e).forEach((function(e){a.indexOf(e)<0&&a.push(e)}))};r?o(r):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((function(e){return o(e)})),this.options.preload&&this.options.preload.forEach((function(e){return o(e)})),this.services.backendConnector.load(a,this.options.ns,(function(e){e||t.resolvedLanguage||!t.language||t.setResolvedLanguage(t.language),n(e)}))}else n(null)}},{key:"reloadResources",value:function(e,t,n){var r=k();return e||(e=this.languages),t||(t=this.options.ns),n||(n=fe),this.services.backendConnector.reload(e,t,(function(e){r.resolve(),n(e)})),r}},{key:"use",value:function(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&V.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}},{key:"setResolvedLanguage",value:function(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(var t=0;t-1)&&this.store.hasLanguageSomeTranslations(n)){this.resolvedLanguage=n;break}}}},{key:"changeLanguage",value:function(e,t){var n=this;this.isLanguageChangingTo=e;var r=k();this.emit("languageChanging",e);var a=function(e){n.language=e,n.languages=n.services.languageUtils.toResolveHierarchy(e),n.resolvedLanguage=void 0,n.setResolvedLanguage(e)},o=function(o){e||o||!n.services.languageDetector||(o=[]);var i="string"==typeof o?o:n.services.languageUtils.getBestMatchFromCodes(o);i&&(n.language||a(i),n.translator.language||n.translator.changeLanguage(i),n.services.languageDetector&&n.services.languageDetector.cacheUserLanguage(i)),n.loadResources(i,(function(e){!function(e,o){o?(a(o),n.translator.changeLanguage(o),n.isLanguageChangingTo=void 0,n.emit("languageChanged",o),n.logger.log("languageChanged",o)):n.isLanguageChangingTo=void 0,r.resolve((function(){return n.t.apply(n,arguments)})),t&&t(e,(function(){return n.t.apply(n,arguments)}))}(e,i)}))};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect(o):o(e):o(this.services.languageDetector.detect()),r}},{key:"getFixedT",value:function(e,t,n){var r=this,a=function e(t,a){var o;if("object"!==f.default(a)){for(var i=arguments.length,s=new Array(i>2?i-2:0),l=2;l1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var r=this.resolvedLanguage||this.languages[0],a=!!this.options&&this.options.fallbackLng,o=this.languages[this.languages.length-1];if("cimode"===r.toLowerCase())return!0;var i=function(e,n){var r=t.services.backendConnector.state["".concat(e,"|").concat(n)];return-1===r||2===r};if(n.precheck){var s=n.precheck(this,i);if(void 0!==s)return s}return!(!this.hasResourceBundle(r,e)&&this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages)&&(!i(r,e)||a&&!i(o,e)))}},{key:"loadNamespaces",value:function(e,t){var n=this,r=k();return this.options.ns?("string"==typeof e&&(e=[e]),e.forEach((function(e){n.options.ns.indexOf(e)<0&&n.options.ns.push(e)})),this.loadResources((function(e){r.resolve(),t&&t(e)})),r):(t&&t(),Promise.resolve())}},{key:"loadLanguages",value:function(e,t){var n=k();"string"==typeof e&&(e=[e]);var r=this.options.preload||[],a=e.filter((function(e){return r.indexOf(e)<0}));return a.length?(this.options.preload=r.concat(a),this.loadResources((function(e){n.resolve(),t&&t(e)})),n):(t&&t(),Promise.resolve())}},{key:"dir",value:function(e){return e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),e?["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(this.services.languageUtils.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr":"rtl"}},{key:"cloneInstance",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:fe,r=pe(pe(pe({},this.options),t),{isClone:!0}),o=new a(r);return["store","services","language"].forEach((function(t){o[t]=e[t]})),o.services=pe({},this.services),o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},o.translator=new G(o.services,o.options),o.translator.on("*",(function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1?arguments[1]:void 0)}));var me=he.createInstance();me.createInstance=he.createInstance,e.exports=me},20181:(e,t,n)=>{var r=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,i=/^0o[0-7]+$/i,s=parseInt,l="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,u="object"==typeof self&&self&&self.Object===Object&&self,c=l||u||Function("return this")(),d=Object.prototype.toString,p=Math.max,f=Math.min,h=function(){return c.Date.now()};function m(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function g(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==d.call(e)}(e))return NaN;if(m(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=m(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(r,"");var n=o.test(e);return n||i.test(e)?s(e.slice(2),n?2:8):a.test(e)?NaN:+e}e.exports=function(e,t,n){var r,a,o,i,s,l,u=0,c=!1,d=!1,v=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var n=r,o=a;return r=a=void 0,u=t,i=e.apply(o,n)}function b(e){var n=e-l;return void 0===l||n>=t||n<0||d&&e-u>=o}function w(){var e=h();if(b(e))return x(e);s=setTimeout(w,function(e){var n=t-(e-l);return d?f(n,o-(e-u)):n}(e))}function x(e){return s=void 0,v&&r?y(e):(r=a=void 0,i)}function S(){var e=h(),n=b(e);if(r=arguments,a=this,l=e,n){if(void 0===s)return function(e){return u=e,s=setTimeout(w,t),c?y(e):i}(l);if(d)return s=setTimeout(w,t),y(l)}return void 0===s&&(s=setTimeout(w,t)),i}return t=g(t)||0,m(n)&&(c=!!n.leading,o=(d="maxWait"in n)?p(g(n.maxWait)||0,t):o,v="trailing"in n?!!n.trailing:v),S.cancel=function(){void 0!==s&&clearTimeout(s),u=0,r=l=a=s=void 0},S.flush=function(){return void 0===s?i:x(h())},S}},22290:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ArrowPosition:()=>gn,AutocompleteFetcher:()=>dt,AutocompleteFetcherWithAdd:()=>xt,BRLValueRange:()=>Nt,BrowserNotSupported:()=>Tt,CheckTree:()=>It,DateRange:()=>Ft,DropArea:()=>Rt,Notification:()=>Zt,PasswordInput:()=>sn,PasswordStrengthBar:()=>cn,PercentageRange:()=>Wt,ScrollContext:()=>dn,ScrollHistory:()=>pn,SelectedFilters:()=>Ht,TableRowCollapse:()=>wn,TableRowSkeleton:()=>_n,useNotification:()=>Xt});var r=n(58168),a=n(21514),o=n(82284),i=n(60436),s=n(64980);function l(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function u(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){l(o,r,a,i,s,"next",e)}function s(e){l(o,r,a,i,s,"throw",e)}i(void 0)}))}}var c=n(53986),d=n(5544),p=n(54756),f=n.n(p),h=n(96540),m=n(8582),g=n(70731),v=n.n(g);const y={CASE_SENSITIVE_EQUAL:7,EQUAL:6,STARTS_WITH:5,WORD_STARTS_WITH:4,CONTAINS:3,ACRONYM:2,MATCHES:1,NO_MATCH:0},b=(e,t)=>String(e.rankedValue).localeCompare(String(t.rankedValue));function w(e,t,n){void 0===n&&(n={});const{keys:r,threshold:a=y.MATCHES,baseSort:o=b,sorter:i=(e=>e.sort(((e,t)=>S(e,t,o))))}=n,s=e.reduce((function(e,o,i){const s=function(e,t,n,r){if(!t)return{rankedValue:e,rank:x(e,n,r),keyIndex:-1,keyThreshold:r.threshold};const a=function(e,t){const n=[];for(let r=0,a=t.length;r{let{rank:o,rankedValue:i,keyIndex:s,keyThreshold:l}=e,{itemValue:u,attributes:c}=t,d=x(u,n,r),p=i;const{minRanking:f,maxRanking:h,threshold:m}=c;return d=y.MATCHES?d=f:d>h&&(d=h),d>o&&(o=d,s=a,l=m,p=u),{rankedValue:p,rank:o,keyIndex:s,keyThreshold:l}}),{rankedValue:e,rank:y.NO_MATCH,keyIndex:-1,keyThreshold:r.threshold})}(o,r,t,n),{rank:l,keyThreshold:u=a}=s;return l>=u&&e.push({...s,item:o,index:i}),e}),[]);return i(s).map((e=>{let{item:t}=e;return t}))}function x(e,t,n){return e=_(e,n),(t=_(t,n)).length>e.length?y.NO_MATCH:e===t?y.CASE_SENSITIVE_EQUAL:(e=e.toLowerCase())===(t=t.toLowerCase())?y.EQUAL:e.startsWith(t)?y.STARTS_WITH:e.includes(` ${t}`)?y.WORD_STARTS_WITH:e.includes(t)?y.CONTAINS:1===t.length?y.NO_MATCH:function(e){let t="";return e.split(" ").forEach((e=>{e.split("-").forEach((e=>{t+=e.substr(0,1)}))})),t}(e).includes(t)?y.ACRONYM:function(e,t){let n=0,r=0;function a(e,t,r){for(let a=r,o=t.length;a-1))return y.NO_MATCH;return function(e){const r=1/e,a=n/t.length;return y.MATCHES+a*r}(r-o)}(e,t)}function S(e,t,n){const{rank:r,keyIndex:a}=e,{rank:o,keyIndex:i}=t;return r===o?a===i?n(e,t):ao?-1:1}function _(e,t){let{keepDiacritics:n}=t;return e=`${e}`,n||(e=v()(e)),e}function A(e,t){let n;if("object"==typeof t&&(t=t.key),"function"==typeof t)n=t(e);else if(null==e)n=null;else if(Object.hasOwnProperty.call(e,t))n=e[t];else{if(t.includes("."))return function(e,t){const n=e.split(".");let r=[t];for(let e=0,t=n.length;e div {\n padding-left: 0 !important;\n border-left: none;\n }\n"]))),ze=(0,Te.default)(L)(de||(de=(0,Ce.A)(["\n cursor: pointer !important;\n transition: transform 0.3s ease !important;\n transform: "," !important;\n"])),(function(e){return e.transform})),We=(Te.default.div(pe||(pe=(0,Ce.A)(["\n padding: 12px;\n max-width: 500px;\n width: 100%;\n background-color: #ddd;\n height: 100px;\n border-radius: 8px;\n"]))),Te.default.form(fe||(fe=(0,Ce.A)(["\n position: relative;\n width: 100%;\n height: 100%;\n box-sizing: border-box;\n\n .drop-area-overlay {\n width: 100%;\n height: 100%;\n position: absolute;\n box-sizing: border-box;\n background-color: rgba(250, 250, 250, 0.75);\n top: 0;\n left: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n opacity: 0;\n visibility: hidden;\n transition:\n opacity 0.3s ease-in-out,\n visibility 0.3s ease-in-out,\n border 0.3s ease-in-out;\n border-radius: 4px;\n border: 3px dashed transparent;\n }\n\n .drop-area-overlay.highlight {\n opacity: 1;\n visibility: visible;\n border: 3px dashed ",";\n border-radius: 4px;\n }\n"])),Ee[800])),Ve=(0,Te.default)(m.Typography)(he||(he=(0,Ce.A)(["\n && {\n color: ",";\n }\n"])),Ee[800]),Ue=Te.default.input(me||(me=(0,Ce.A)(["\n position: absolute;\n width: 100%;\n opacity: 0;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n"]))),He=Te.default.span(ge||(ge=(0,Ce.A)(["\n margin: 0 6px;\n"]))),qe=Te.default.div(ve||(ve=(0,Ce.A)(["\n margin: 12px;\n"]))),Ge=(0,Te.default)(Oe)(ye||(ye=(0,Ce.A)(["\n flex-wrap: wrap;\n padding: ",";\n margin: ",";\n"])),(function(e){return e.padding}),(function(e){return e.margin?e.margin:"12px 0"})),Ye=(0,Te.default)(Ie)(be||(be=(0,Ce.A)(["\n padding: 6px 0;\n"]))),Xe=(0,Te.default)(m.Typography)(we||(we=(0,Ce.A)(["\n flex: 3;\n text-align: right;\n"]))),Ke=(0,Te.default)(m.Progress)(xe||(xe=(0,Ce.A)(["\n flex: 1;\n border-radius: 4px;\n\n &&& {\n height: 8px;\n }\n"]))),Qe=Te.default.div(Se||(Se=(0,Ce.A)(["\n display: flex;\n align-items: center;\n gap: 6px;\n padding: 4px 0px;\n"]))),Ze=Te.default.div(_e||(_e=(0,Ce.A)(["\n display: flex;\n align-items: center;\n margin: 0px 10px;\n"]))),Je=Te.default.span(Ae||(Ae=(0,Ce.A)(["\n font-weight: bold;\n"]))),et=["children"],tt=["children"],nt=function(e,t){return!("object"===(0,o.A)(t)&&e===t.label||t===e)},rt=function(e){var t=[],n=function(e){e.forEach((function(e){var r=e.children,a=(0,c.A)(e,tt);t.push(a),r&&n(r)}))};return n(e),t},at=function(e){var t,n,a=e.depth,o=void 0===a?0:a,i=(0,h.useState)(!0),s=(0,d.A)(i,2),l=s[0],u=s[1],c=(n=e.option.label.split(" - "),(0,O.A)(n)||(0,I.A)(n)||(0,D.A)(n)||(0,R.A)()),p=c[0],f=c.slice(1).join(" - "),g=e.option.children&&e.option.children.length>0;return h.createElement(N.A,null,h.createElement(N.A,(0,r.A)({},e,{component:"div",style:{paddingLeft:"".concat(24*o,"px")},sx:{border:"location"===e.option.type?"1px solid transparent":"none",borderRadius:"location"===e.option.type?"5px":"none","&:hover":"location"===e.option.type?{border:"1px solid lightgray",borderRadius:"5px"}:{background:"linear-gradient(to right, rgba(189, 189, 189, 0) 0%, rgba(189, 189, 189, 1) 100%)"}},onClick:function(t){return function(t,n){t.stopPropagation(),e.onClick&&e.onClick(t,n),e.option.type}(t,e.option)}}),h.createElement(P,{htmlColor:g?"inherit":"lightgray",style:{marginLeft:"18px",transition:"transform 0.3s ease-in-out",transform:"".concat(l?"":"rotate(180deg)")},onClick:function(e){e.stopPropagation(),g&&u(!l)}}),h.createElement(Qe,null,h.createElement(Ze,null,e.option.icon),h.createElement(m.Typography,{variant:"body2"},h.createElement(Je,null,p)," - ",f))),h.createElement(m.Collapse,{in:l,timeout:400},h.createElement(N.A,null,null===(t=e.option.children)||void 0===t?void 0:t.map((function(t,n){return h.createElement(at,(0,r.A)({},e,{key:"".concat(t.value,"-").concat(n),option:t,depth:o+1,onClick:e.onClick}))})))))},ot=["error","fetchSuggestions","disableInputChange","renderBottomElement","onHelperClick","renderTree"],it=["key"];function st(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function lt(e){for(var t=1;t=t)){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,$({query:"",offset:U});case 4:e.sent.hasMore&&g((function(e){return lt(lt({},e),{},{offset:e.offset+20})})),q.current.size=t;case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[]);(0,h.useEffect)((function(){var t,n;I.current=!0;var r,a=V.findIndex((function(t){var n;return t.value===(null===(n=e.value)||void 0===n?void 0:n.value)})),o=null===(t=e.value)||void 0===t||null===(t=t.label)||void 0===t?void 0:t.toLowerCase(),i=o?V.findIndex((function(e){return e.label.toLowerCase()===o})):-1,s=V[-1!=a?a:i],l=void 0===(null===(n=e.value)||void 0===n?void 0:n.value)&&null!==p.selected;return(null!=s&&s.value||l)&&(g((function(e){return lt(lt({},e),{},{offset:l?0:e.offset,selected:null!=s?s:null})})),a<0&&i>=0&&(null===(r=e.onChange)||void 0===r||r.call(e,s,s.label))),function(){I.current=!1}}),[null===(t=e.value)||void 0===t?void 0:t.value,V,p.selected]),(0,h.useEffect)((function(){function t(){return t=u(f().mark((function t(){var n,r,a,o,i;return f().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(a=null===(n=e.value)||void 0===n?void 0:n.value,o=(null===(r=e.value)||void 0===r?void 0:r.label)||"",-1===V.findIndex((function(e){return e.value===a}))){t.next=7;break}g((function(e){return lt({},e)})),t.next=21;break;case 7:return g((function(e){return lt(lt({},e),{},{loading:!0})})),t.prev=8,O.current=o,t.next=12,$({id:a,query:o,offset:0}).then((function(e){return e.data||[]}));case 12:i=t.sent,P(rt(i)),I.current&&g((function(e){return lt(lt({},e),{},{suggestions:i})})),t.next=20;break;case 17:t.prev=17,t.t0=t.catch(8),console.error(t.t0);case 20:I.current&&g((function(e){return lt(lt({},e),{},{loading:!1})}));case 21:case"end":return t.stop()}}),t,null,[[8,17]])}))),t.apply(this,arguments)}!function(){t.apply(this,arguments)}()}),[e.value,$]);var Y=function(){var e=u(f().mark((function e(t,n){var r,a,o;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=null==n?void 0:n.clearSuggestions,o=null!==(r=null==n?void 0:n.offset)&&void 0!==r?r:U,g((function(e){return lt(lt({},e),{},{loading:!0})})),O.current=t,e.next=6,$({query:t,offset:o}).then((function(e){var t=e.hasMore,n=o>0&&!a?V:[];if(e.data){var r=[].concat((0,i.A)(n),(0,i.A)(e.data));r.length&&I.current&&g((function(e){return lt(lt({},e),{},{suggestions:r})}))}q.current.hasMore=t})).catch((function(e){console.error(e)})).finally((function(){I.current&&g((function(e){return lt(lt({},e),{},{loading:!1})}))}));case 6:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}();N.current=Y;var X=(0,h.useCallback)((function(){var t,n,r,a=(null===(t=D.current)||void 0===t?void 0:t.value)||"",o=(null===(n=e.value)||void 0===n?void 0:n.label)||"";nt(a,o)&&""!==a&&(null===(r=N.current)||void 0===r||r.call(N,a))}),[]);(0,h.useEffect)((function(){if(U>=20){var e,t,n=(null===(e=D.current)||void 0===e?void 0:e.value)||"",r=n.includes(O.current)?O.current:n;null===(t=N.current)||void 0===t||t.call(N,r)}}),[U,X]);var K=(0,h.useCallback)((function(t,n){var r,a,i;if(n instanceof Array)null===(r=e.onChangeMultiple)||void 0===r||r.call(e,n.filter((function(e){return!!e.value})));else if("object"===(0,o.A)(n)&&n)null===(a=e.onChange)||void 0===a||a.call(e,n,n.label);else if(null===n)return q.current.size=0,q.current.hasMore=ut,null===(i=N.current)||void 0===i||i.call(N,"",{clearSuggestions:!0,offset:0}),void g((function(e){return lt(lt({},e),{},{offset:0})}))}),[]),Q=(0,h.useMemo)((function(){var e;return function(e){var t=e.isLoading,n=e.inputValue,a=e.renderBottomElement,o=e.scrollStateRef,i=e.onScrollEnd;return function(e){var s=e.children,l=(0,c.A)(e,et),u=s.props.children.some((function(e){return"Nenhuma opção encontrada"===e.key})),p=function(e){var t=e.onScrollEnd,n=e.scrollSize,r=(0,h.useState)(null),a=(0,d.A)(r,2),o=a[0],i=a[1],s=(0,h.useCallback)((function(e){var t=null==e?void 0:e.children;null!=t&&t.length&&t[0].scrollTo(0,n),i(e)}),[n]);return(0,h.useEffect)((function(){var e=o,n=!1,r=function(e){if(e){var r=e.currentTarget.firstChild;if(!r)return;var a=r.scrollTop+r.offsetHeight>=r.scrollHeight;if(!n&&a){var o=r.scrollTop;window.requestAnimationFrame((function(){n=!1,t(o)})),n=!0}}};return e&&e.addEventListener("scroll",r,!0),function(){e&&e.removeEventListener("scroll",r)}}),[o,t]),{setRefScroll:s}}({onScrollEnd:i,scrollSize:o.current.size}),f=p.setRefScroll;return h.createElement(m.Paper,(0,r.A)({},l,{key:"paper-wrapper"}),h.createElement(Me,{ref:f,key:"paper-div-wrapper"},s),null==a?void 0:a({inputValue:n,isLoading:t,isEmpty:u}))}}({isLoading:H,inputValue:(null===(e=D.current)||void 0===e?void 0:e.value)||"",renderBottomElement:F,scrollStateRef:q,onScrollEnd:G})}),[G,H,F]),Z=(0,h.useCallback)((0,k.s)((function(e,t){(0,a.default)(e)||K(e,t)}),500),[]),J=(0,h.useCallback)((0,k.s)(function(){var t=u(f().mark((function t(n,r){var a,o,i;return f().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:nt(o=r||"",(null===(a=e.value)||void 0===a?void 0:a.label)||"")&&I.current&&(g((function(e){return lt(lt({},e),{},{offset:0})})),R.current=n,q.current.size=0,q.current.hasMore=ut,null===(i=N.current)||void 0===i||i.call(N,o));case 3:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}(),500),[]),ee=(0,h.useCallback)((function(t,n,r){var a=n||"";if(!t&&A&&a.length>0)return x(a),J(t,a),void C(!1);if(t){x(a),J(t,n);var o=new Map(z?M.map((function(e){return[e.label.toLowerCase(),e]})):V.map((function(e){return[e.label.toLowerCase(),e]})));if("input"!==r||j||Z(t,a),"string"==typeof n){var i,s=o.get(a.toLowerCase());x(a);var l,u=s||{label:a,value:void 0};return u.value&&0===u.label.length||null===(l=e.onError)||void 0===l||l.call(e),void(null===(i=e.onChange)||void 0===i||i.call(e,u,a))}}}),[A,J,z,V,M,j,Z,e]),te=e.multiple?e.values:p.selected;return h.createElement(m.Autocomplete,(0,r.A)({},W,{freeSolo:!0,selectOnFocus:!0,clearText:"",loadingText:"Carregando...",id:null!==(n=W.id)&&void 0!==n?n:"autocomplete-input",loading:p.loading,disabled:e.disabled,value:te,inputValue:b,renderInput:function(t){var n;return h.createElement(m.TextField,(0,r.A)({},t,{error:L,name:e.name,inputRef:D,label:e.label,style:e.style,required:e.required,autoFocus:e.autoFocus,placeholder:e.placeholder,fullWidth:t.fullWidth||!0,InputLabelProps:e.InputLabelProps,InputProps:lt(lt({},t.InputProps),{},{endAdornment:h.createElement(h.Fragment,null,H?h.createElement(m.Progress,{size:20}):null,null===(n=e.InputProps)||void 0===n?void 0:n.endAdornment,t.InputProps.endAdornment)}),onHelperClick:B}))},PaperComponent:Q,options:V,isOptionEqualToValue:function(e,t){return!!e.value&&e.value===t.value},getOptionDisabled:function(e){return"string"!=typeof e&&(Array.isArray(e)?e.some((function(e){return"string"!=typeof e&&"nenhuma opção encontrada"===e.label.toLowerCase()})):"nenhuma opção encontrada"===e.label.toLowerCase())},filterOptions:function(e,t){var n=t.inputValue;if(z){var r=w(e,n,{keys:["label","children.*.label","children.*.children.*.label","children.*.children.*.children.*.label"]});return r.length?r:[{label:"Nenhuma opção encontrada",value:"Nenhuma opção encontrada"}]}var a=e.filter((function(e){return"string"==typeof e?e.toLowerCase().includes(n.toLowerCase()):Array.isArray(e)?e.some((function(e){return"string"==typeof e?e.toLowerCase().includes(n.toLowerCase()):e.label.toLowerCase().includes(n.toLowerCase())})):e.label.toLowerCase().includes(n.toLowerCase())}));return 0===a.length?[{label:"Nenhuma opção encontrada",value:"Nenhuma opção encontrada"}]:a},getOptionLabel:function(e){return"string"==typeof e?e:e.label},renderOption:function(e,t){var n=e.key,a=(0,c.A)(e,it);return"string"==typeof t?h.createElement("li",(0,r.A)({},a,{key:n}),t):z?h.createElement(at,(0,r.A)({},a,{key:n,option:t,onClick:function(e,t){return function(e,t){"location"!==t.type&&g((function(e){return lt(lt({},e),{},{selected:t})}))}(0,t)}})):h.createElement("li",(0,r.A)({},a,{key:n,style:{display:"flex",flexDirection:"column",alignItems:"flex-start"}}),t.label,t.description&&h.createElement(m.Typography,{style:{fontSize:"12px",color:"gray"}},t.description))},sx:lt(lt({},W.sx),{},{".MuiAutocomplete-tag":{margin:"1px 3px"},".MuiChip-root":{height:"27px"}}),onClose:function(t,n){var r,a,o=t.target.value||"";["selectOption","createOption","blur"].includes(n)||o!==(null===(a=e.value)||void 0===a?void 0:a.label)&&(K(t,o),""!==o&&g((function(e){return lt(lt({},e),{},{suggestions:[]})}))),q.current.size=0,q.current.hasMore=ut,null===(r=e.onClose)||void 0===r||r.call(e,t,n)},onFocus:X,onInputChange:ee,onChange:K}))},pt=(0,E.A)((0,M.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"}),"Add");var ft=["contained","children"],ht=ke.theme.colors,mt=ht.neutral,gt={backgroundColor:ht.primary.main,color:mt[50]};const vt=function(e){var t=e.contained,n=e.children,a=(0,c.A)(e,ft);return h.createElement(Re,(0,r.A)({name:"dialog-add",margin:"12px",variant:"outlined",id:"autocomplete-add-button",style:t?gt:void 0},a),h.createElement(pt,null),n)};var yt=["textButton","renderDialog"];function bt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function wt(e){for(var t=1;tNumber(r[1])),b(r)}}),[b,u]);return h.createElement(Ie,a,h.createElement(m.MaskField,(0,r.A)({},o,{name:"filter-".concat(t,"-min"),label:"De",defaultValue:"",error:g,decimalScale:2,thousandSeparator:".",decimalSeparator:",",InputProps:{startAdornment:h.createElement(m.Typography,{color:"textSecondary",variant:"body2"},"R$")},onChange:w(0)})),h.createElement(He,null,"-"),h.createElement(m.MaskField,(0,r.A)({},i,{name:"filter-".concat(t,"-max"),label:"Até",defaultValue:"",error:g,decimalScale:2,thousandSeparator:".",decimalSeparator:",",InputProps:{startAdornment:h.createElement(m.Typography,{color:"textSecondary",variant:"body2"},"R$")},onChange:w(1)})))};var Lt=n(79672),$t=n(47281),jt=n(52422);const Ft=function(e){var t=e.name,n=e.hasTime,a=e.containerProps,o=(0,h.useState)([null,null]),i=(0,d.A)(o,2),s=i[0],l=i[1],u=(0,h.useState)(!1),c=(0,d.A)(u,2),p=c[0],f=c[1],m=n?"datetime":"date",g=(0,h.useCallback)((function(t){e.onChange(t),l(t)}),[e.onChange]);return h.createElement(Ie,(0,r.A)({},a,{"data-cy":"data-range-container"}),h.createElement($t.default,{label:"De",name:"filter-".concat(t,"-start-date"),value:s[0],type:m,error:p,"data-cy":"data-range-from",onChange:function(e){var t=(0,jt.vd)(e)?e:null,n=s[1],r=[t,s[1]];(0,jt.vd)(t)&&(0,jt.vd)(n)?f((0,Lt.default)(t,n)):f(!1),g(r)}}),h.createElement(He,null,"-"),h.createElement($t.default,{label:"Até",name:"filter-".concat(t,"-end-date"),value:s[1],type:m,error:p,"data-cy":"data-range-to",onChange:function(e){var t=(0,jt.vd)(e)?e:null,n=s[0],r=[s[0],t];(0,jt.vd)(t)&&(0,jt.vd)(n)?f((0,Lt.default)(n,t)):f(!1),g(r)}}))};var Bt=["name","onChange"],zt=[0,100];const Wt=function(e){var t=e.name,n=e.onChange,a=(0,c.A)(e,Bt),o=(0,h.useCallback)((function(e,t){n(t)}),[n]);return h.createElement(qe,null,h.createElement(m.Slider,(0,r.A)({},a,{defaultValue:zt,valueLabelDisplay:"on",name:"percentage-".concat(t),valueLabelFormat:function(e){return e+"%"},onChangeCommitted:o})))};var Vt=["filters","onRemoveFilter"],Ut=function(e){return e.name+"-"+(t=e.description,t.replace(/([a-z])([A-Z])/g,(function(e,t,n){return t+"-"+n})).toLowerCase()).replace(/ /g,"-")+"-selected-option";var t};const Ht=function(e){var t=e.filters,n=e.onRemoveFilter,a=(0,c.A)(e,Vt),o=(0,h.useCallback)((function(e){return function(){n(e)}}),[n]),i=(0,h.useCallback)((function(e){return h.createElement(Me,{key:e.key},h.createElement(m.Grow,{in:!0,margin:"0 6px 6px 0"},h.createElement(m.Chip,{square:!0,label:h.createElement(m.Typography,{noWrap:!0,display:"inline",title:e.description,style:{maxWidth:"300px"}},e.description),name:Ut(e),onDelete:o(e)})))}),[o]);return(0,h.useMemo)((function(){return t.length?h.createElement(Ge,(0,r.A)({},a,{padding:e.padding,margin:e.margin}),t.map((function(e){return i(e)}))):null}),[t])};var qt=n(69326),Gt={open:!1,variant:"success",message:""},Yt=(0,h.createContext)([Gt,function(){return null}]),Xt=function(){var e=(0,h.useContext)(Yt),t=(0,d.A)(e,2)[1],n=(0,h.useCallback)(t,[]);return(0,h.useMemo)((function(){return[n]}),[n])};function Kt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Qt(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{isBrowserSupported:()=>a});var r=[/Edge\/([0-9._]+)/,/Trident\/7\.0.*rv:([0-9.]+).*\).*Gecko$/,/MSIE\s([0-9.]+);.*Trident\/[4-7].0/,/MSIE\s(7\.0)/],a=function(){return!r.find((function(e){return e.test(navigator.userAgent)}),r)}},7908:(e,t,n)=>{"use strict";n.d(t,{s:()=>r});var r=function(e,t){var n=0;return function(){for(var r=arguments.length,a=new Array(r),o=0;o{"use strict";n.d(t,{GP:()=>i,vd:()=>s});var r=n(72346),a=n(94583),o=n(1806),i=function(e,t){return(0,r.default)(function(e){return"string"==typeof e?(0,o.default)(e):e}(e),t,{locale:a.default})},s=function(e){return!!e&&e instanceof Date&&"Invalid Date"!==e.toString()}},86002:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(33530),a=n(89174),o=n(38483),i=n(40469),s=n(66169),l=n(50962),u=n(54991);const c=(0,l.default)((0,s.default)(""),(function(e){var t=0,n=0,r=0,a=0,o=0,i=0,s=0,l=0,c=0,d=0,p=0,f=0,h=0,m=0,g=0,v=0,y=0,b=4,w="",x="",S="";if(e){t=4*e.length,n=e.length;for(var _=e.replace(/\s+/g,"").split(/\s*/),A=_.length,C=0;C0&&C0&&C0&&r0&&a0&&o0&&(t+=6*i),s>0&&(t+=2*s),(a>0||r>0)&&0===i&&0===o&&(t-=n),0===a&&0===r&&0===i&&o>0&&(t-=n),d>0&&(t-=p),f>0&&(t-=2*f),h>0&&(t-=2*h),m>0&&(t-=2*m),g>0&&(t-=3*g),v>0&&(t-=3*v),y>0&&(t-=3*y),l=0,e.length>=8&&(b=3),l>b&&(t+=2*l),t<0?0:t}return 0}),(0,i.default)([[(0,o.default)(0),function(e){return[e,"empty",""]}],[(0,a.default)(28),function(e){return[e,"worst","Por favor, crie uma senha mais forte!"]}],[(0,a.default)(35),function(e){return[e,"bad","Por favor, crie uma senha mais forte!"]}],[(0,a.default)(59),function(e){return[e,"weak","Boa senha, mas pode melhorar!"]}],[(0,a.default)(85),function(e){return[e,"good","Muito bem!"]}],[(0,r.default)(85),function(e){return[e,"strong","Excelente!"]}]]))},61315:(e,t,n)=>{"use strict";n.r(t),n.d(t,{passwordValidation:()=>T});var r=n(86828),a=n(21456),o="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function i(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var s={exports:{}},l={exports:{}};(function(){var e=this||self;function t(e,t){function n(){}n.prototype=t.prototype,e.Ba=t.prototype,e.prototype=new n,e.prototype.constructor=e,e.Ha=function(e,n,r){for(var a=Array(arguments.length-2),o=2;oe.length)&&Re(ae,e)}function le(e){return Re(Z,e)?ce(e,U):ce(e,W)}function ue(e){var t=le(e.toString());M(e),e.g(t)}function ce(e,t){for(var n,r=new E,a=e.length,o=0;ot?2:o[o.length-1]=a&&a<=r;++a)if((n=parseInt(e.substring(0,a),10))in F)return t.g(e.substring(a)),n;return 0}function Oe(e,t,n,r,a){if(0==t.length)return 0;var o;t=new E(t),null!=n&&(o=v(n,11)),null==o&&(o="NonMatch");var i=t.toString();if(0==i.length)o=20;else if(G.test(i))i=i.replace(G,""),M(t),t.g(le(i)),o=1;else{if(i=new RegExp(o),ue(t),0==(o=t.toString()).search(i)){i=o.match(i)[0].length;var s=o.substring(i).match(Y);s&&null!=s[1]&&0=t.h.length)throw Error("Phone number too short after IDD");if(0!=(e=Pe(t,r)))return x(a,1,e),e;throw Error("Invalid country calling code")}return null!=n&&(i=""+(o=y(n,10)),0==(s=t.toString()).lastIndexOf(i,0)&&(i=new E(s.substring(i.length)),s=v(n,1),s=new RegExp(y(s,2)),Ie(i,n,null),i=i.toString(),!Re(s,t.toString())&&Re(s,i)||3==Ee(0,t.toString(),n,-1)))?(r.g(i),x(a,1,o),o):(x(a,1,0),0)}function Ie(e,t,n){var r=e.toString(),a=r.length,o=v(t,15);if(0!=a&&null!=o&&0!=o.length){var i=new RegExp("^(?:"+o+")");if(a=i.exec(r)){var s=Re(o=new RegExp(y(v(t,1),2)),r),l=a.length-1;null==(t=v(t,16))||0==t.length||null==a[l]||0==a[l].length?s&&!Re(o,r.substring(a[0].length))||(null!=n&&0=t.length)a="";else{var o=t.indexOf(";",a);a=-1!==o?t.substring(a,o):t.substring(a)}var i=a;if(null==i?o=!0:0===i.length?o=!1:(o=J.exec(i),i=ee.exec(i),o=null!==o||null!==i),!o)throw Error("The string supplied did not seem to be a phone number");if(null!=a?("+"===a.charAt(0)&&r.g(a),a=t.indexOf("tel:"),r.g(t.substring(0<=a?a+4:0,t.indexOf(";phone-context=")))):(a=r.g,0<=(o=(t=null!=t?t:"").search(X))?0<=(o=(t=(t=t.substring(o)).replace(Q,"")).search(K))&&(t=t.substring(0,o)):t="",a.call(r,t)),0<(a=(t=r.toString()).indexOf(";isub="))&&(M(r),r.g(t.substring(0,a))),!se(r.toString()))throw Error("The string supplied did not seem to be a phone number");if(t=r.toString(),!(pe(n)||null!=t&&0a.h.length)throw Error("The string supplied is too short to be a phone number");if(null!=o&&(Ie(n=new E(a.toString()),o,new E),2!=(e=Ee(0,n.toString(),o,-1))&&4!=e&&5!=e&&(a=n)),2>(n=(e=a.toString()).length))throw Error("The string supplied is too short to be a phone number");if(17t;++t){if(r=void 0,e.length!t.hasOwnProperty(e)&&(t[e]=1,!0)))}function st(e){this.j=e,this.h=new Ne(e),this.l=this.g=""}tt.getCountryCodeForRegionCode=ot,tt.getRegionCodeForCountryCode=function(e){return Ce(e)},tt.getSupportedRegionCodes=function(){return it(Object.keys(B).filter((function(e){return isNaN(e)})))},tt.getSupportedCallingCodes=function(){return it((e=Object.keys(F),[...Object.keys(B).filter((function(e){return!isNaN(e)})).map((function(e){return parseInt(e,10)})),...e.map((function(e){return parseInt(e,10)}))]));var e},tt.getExample=function(e,t){var n;return n=function(e,t){var n=Ze;if(!pe(e))return null;t=be(xe(n,e),t);try{if(m(t,6))return De(n,v(t,6),e)}catch(e){}return null}(e,t?function(e){switch(e){case"fixed-line":return 0;case"fixed-line-or-mobile":return 2;case"mobile":return 1;case"pager":return 8;case"personal-number":return 7;case"premium-rate":return 4;case"shared-cost":return 5;case"toll-free":return 3;case"uan":return 9;case"voip":return 6;default:return-1}}(t):0),new tt(n,e).toJSON()},tt.getAsYouType=function(e){return new st(e)},tt.getNumberFrom=function(e,t){try{e:{if(et){var n=et.get(e);if(n){var r=n;break e}}let t;r=new tt(null==e||null==(t=e.number)?void 0:t.e164,{})}return{valid:!0,number:he(r.l,t)}}catch(e){return{valid:!1,error:e}}},tt.prototype.toJSON=function(){return this.g},tt.prototype.toJSON=tt.prototype.toJSON,tt.prototype.ja=function(){return this.g.canBeInternationallyDialled},tt.prototype.canBeInternationallyDialled=tt.prototype.ja,tt.prototype.ya=function(){return this.g.valid},tt.prototype.isValid=tt.prototype.ya,tt.prototype.xa=function(){return this.g.possible},tt.prototype.isPossible=tt.prototype.xa,tt.prototype.getType=function(){return this.g.type},tt.prototype.getType=tt.prototype.getType,tt.prototype.sa=function(){return"mobile"===this.g.type||"fixed-line-or-mobile"===this.g.type},tt.prototype.isMobile=tt.prototype.sa,tt.prototype.ra=function(){return"fixed-line"===this.g.type||"fixed-line-or-mobile"===this.g.type},tt.prototype.isFixedLine=tt.prototype.ra,tt.prototype.ta=function(e){return this.g.number[null==e?"e164":e]},tt.prototype.getNumber=tt.prototype.ta,tt.prototype.va=function(){return this.g.regionCode},tt.prototype.getRegionCode=tt.prototype.va,tt.prototype.ia=function(){return ot(this.g.regionCode)},tt.prototype.getCountryCode=tt.prototype.ia,st.prototype.qa=function(e){this.g+=e;var t=this.h;return t.la=function(e,t){e.u.g(t);var n=t;if(Y.test(n)||1==e.u.h.length&&q.test(n)?("+"==t?(n=t,e.ba.g(t)):(n=W[t],e.ba.g(n),e.g.g(n)),t=n):(e.v=!1,e.oa=!0),!e.v){if(!e.oa)if(Ye(e)){if(Xe(e))return We(e)}else if(0{try{const n=e.exports(...t).toJSON();return n.valid||n.possible||(n.possible=!1,n.possibility||(n.possibility="invalid")),n}catch(e){return{valid:!1,possible:!1,possibility:"invalid",error:e}}},e.exports.getCountryCodeForRegionCode=e.exports.getCountryCodeForRegionCode,e.exports.getRegionCodeForCountryCode=e.exports.getRegionCodeForCountryCode,e.exports.getSupportedCallingCodes=e.exports.getSupportedCallingCodes,e.exports.getSupportedRegionCodes=e.exports.getSupportedRegionCodes,e.exports.getExample=e.exports.getExample,e.exports.getAsYouType=e.exports.getAsYouType,e.exports.getNumberFrom=e.exports.getNumberFrom}(s);var c=i(s.exports);const{PhoneNumber:d,AsYouType:p,getCountryCodeForRegionCode:f,getRegionCodeForCountryCode:h,getSupportedCallingCodes:m,getSupportedRegionCodes:g,getExample:v,getAsYouType:y,getNumberFrom:b}=c;var w=n(36326),x=n.n(w),S=n(86002),_=["worst","bad","weak","good","strong"],A=new Map([["worst","péssima"],["bad","ruim"],["weak","fraca"],["good","boa"],["strong","forte"]]),C=new Map([["min",function(e,t){return{validation:"min",arguments:t.minLength,message:"Deve conter pelo menos ".concat(t.minLength," caracteres"),satisfied:(new(x())).min(t.minLength).validate(e)}}],["max",function(e,t){return{validation:"max",arguments:t.maxLength,message:"Deve conter no máximo ".concat(t.maxLength," caracteres"),satisfied:(new(x())).max(t.maxLength).validate(e)}}],["uppercase",function(e){return{validation:"uppercase",message:"Pelo menos uma letra maiúscula",satisfied:(new(x())).uppercase().validate(e)}}],["lowercase",function(e){return{validation:"lowercase",message:"Pelo menos uma letra minúscula",satisfied:(new(x())).has().lowercase().validate(e)}}],["symbols",function(e){return{validation:"symbols",message:"Pelo menos um caractere especial",satisfied:(new(x())).has().symbols().validate(e)}}],["digits",function(e){return{validation:"digits",message:"Deve conter números",satisfied:(new(x())).has().digits().validate(e)}}],["spaces",function(e){return{validation:"spaces",message:"Não pode ter espaços",satisfied:(new(x())).has().not().spaces().validate(e)}}],["sequential",function(e){return{validation:"sequential",message:"Sem caracteres repetidos em sequência",satisfied:!/(\w)\1+/.test(e)}}],["strength",function(e,t){var n=(0,S.A)(e),r=0===n[0]?"worst":n[1];return{validation:"strength",tag:r,message:"Nivel da senha: ".concat(A.get(r)),satisfied:_.indexOf(r)>=_.indexOf(t.minAcceptable)}}],["phone",function(e){return{validation:"phone",message:"Não deve ser um telefone/celular",satisfied:!((...e)=>{try{const t=c(...e).toJSON();return t.valid||t.possible||(t.possible=!1,t.possibility||(t.possibility="invalid")),t}catch(e){return{valid:!1,possible:!1,possibility:"invalid",error:e}}})(e,{regionCode:"BR"}).valid}}],["date",function(e){var t=(0,a.default)(e,"ddMMyyyy",new Date);return{validation:"date",message:"Não deve ser uma data",satisfied:!(0,r.A)(t)}}],["plate",function(e){return{validation:"plate",message:"Não deve ser uma placa veicular",satisfied:!/^[A-Za-z]{3}\d{4}$/.test(e)&&!/^([A-Za-z]{3}-\d{4}|[A-Za-z]{3}\d{1}[A-Za-z]{1}\d{2})$/.test(e)}}]]),T=function(e){var t,n,r,a,o=e.password,i=e.options,s=e.config,l={minLength:(null==s||null===(t=s.length)||void 0===t?void 0:t.minLength)||10,maxLength:(null==s||null===(n=s.length)||void 0===n?void 0:n.maxLength)||128,minAcceptable:(null==s||null===(r=s.showScore)||void 0===r?void 0:r.minAcceptable)||"strong"},u=[];return i?i.forEach((function(e){var t=C.get(e);t&&u.push(t(o,l))})):C.forEach((function(e){u.push(e(o,l))})),{hasInvalidFields:(a=u,a.some((function(e){return!1===e.satisfied}))),data:u}}},45228:e=>{"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,a){for(var o,i,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),l=1;l{"use strict";n.d(t,{LV:()=>I,yN:()=>M});var r=n(39149),a=n(407);function o(){}var i,s=function(){function e(e,t){void 0===e&&(e=1/0),void 0===t&&(t=o),this.max=e,this.dispose=t,this.map=new Map,this.newest=null,this.oldest=null}return e.prototype.has=function(e){return this.map.has(e)},e.prototype.get=function(e){var t=this.getNode(e);return t&&t.value},e.prototype.getNode=function(e){var t=this.map.get(e);if(t&&t!==this.newest){var n=t.older,r=t.newer;r&&(r.older=n),n&&(n.newer=r),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=r)}return t},e.prototype.set=function(e,t){var n=this.getNode(e);return n?n.value=t:(n={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=n),this.newest=n,this.oldest=this.oldest||n,this.map.set(e,n),n.value)},e.prototype.clean=function(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)},e.prototype.delete=function(e){var t=this.map.get(e);return!!t&&(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),this.dispose(t.value,e),!0)},e}(),l=new a.DX,u=Object.prototype.hasOwnProperty,c=void 0===(i=Array.from)?function(e){var t=[];return e.forEach((function(e){return t.push(e)})),t}:i;function d(e){var t=e.unsubscribe;"function"==typeof t&&(e.unsubscribe=void 0,t())}var p=[],f=100;function h(e,t){if(!e)throw new Error(t||"assertion failure")}function m(e){switch(e.length){case 0:throw new Error("unknown value");case 1:return e[0];case 2:throw e[1]}}var g=function(){function e(t){this.fn=t,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++e.count}return e.prototype.peek=function(){if(1===this.value.length&&!b(this))return v(this),this.value[0]},e.prototype.recompute=function(e){return h(!this.recomputing,"already recomputing"),v(this),b(this)?function(e,t){return T(e),l.withValue(e,y,[e,t]),function(e,t){if("function"==typeof e.subscribe)try{d(e),e.unsubscribe=e.subscribe.apply(null,t)}catch(t){return e.setDirty(),!1}return!0}(e,t)&&function(e){e.dirty=!1,b(e)||x(e)}(e),m(e.value)}(this,e):m(this.value)},e.prototype.setDirty=function(){this.dirty||(this.dirty=!0,this.value.length=0,w(this),d(this))},e.prototype.dispose=function(){var e=this;this.setDirty(),T(this),S(this,(function(t,n){t.setDirty(),k(t,e)}))},e.prototype.forget=function(){this.dispose()},e.prototype.dependOn=function(e){e.add(this),this.deps||(this.deps=p.pop()||new Set),this.deps.add(e)},e.prototype.forgetDeps=function(){var e=this;this.deps&&(c(this.deps).forEach((function(t){return t.delete(e)})),this.deps.clear(),p.push(this.deps),this.deps=null)},e.count=0,e}();function v(e){var t=l.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),b(e)?_(t,e):A(t,e),t}function y(e,t){e.recomputing=!0,e.value.length=0;try{e.value[0]=e.fn.apply(null,t)}catch(t){e.value[1]=t}e.recomputing=!1}function b(e){return e.dirty||!(!e.dirtyChildren||!e.dirtyChildren.size)}function w(e){S(e,_)}function x(e){S(e,A)}function S(e,t){var n=e.parents.size;if(n)for(var r=c(e.parents),a=0;a0&&a===r.length&&n[a-1]===r[a-1]||e.setDirty()),C(e,t),b(e)||x(e)}function C(e,t){var n=e.dirtyChildren;n&&(n.delete(t),0===n.size&&(p.length0&&e.childValues.forEach((function(t,n){k(e,n)})),e.forgetDeps(),h(null===e.dirtyChildren)}function k(e,t){t.parents.delete(e),e.childValues.delete(t),C(e,t)}var E={setDirty:!0,dispose:!0,forget:!0};function M(e){var t=new Map,n=e&&e.subscribe;function r(e){var r=l.getValue();if(r){var a=t.get(e);a||t.set(e,a=new Set),r.dependOn(a),"function"==typeof n&&(d(a),a.unsubscribe=n(e))}}return r.dirty=function(e,n){var r=t.get(e);if(r){var a=n&&u.call(E,n)?n:"setDirty";c(r).forEach((function(e){return e[a]()})),t.delete(e),d(r)}},r}function P(){var e=new r.b("function"==typeof WeakMap);return function(){return e.lookupArray(arguments)}}P();var O=new Set;function I(e,t){void 0===t&&(t=Object.create(null));var n=new s(t.max||Math.pow(2,16),(function(e){return e.dispose()})),r=t.keyArgs,a=t.makeCacheKey||P(),o=function(){var o=a.apply(null,r?r.apply(null,arguments):arguments);if(void 0===o)return e.apply(null,arguments);var i=n.get(o);i||(n.set(o,i=new g(e)),i.subscribe=t.subscribe,i.forget=function(){return n.delete(o)});var s=i.recompute(Array.prototype.slice.call(arguments));return n.set(o,i),O.add(n),l.hasValue()||(O.forEach((function(e){return e.clean()})),O.clear()),s};function i(e){var t=n.get(e);t&&t.setDirty()}function u(e){var t=n.get(e);if(t)return t.peek()}function c(e){return n.delete(e)}return Object.defineProperty(o,"size",{get:function(){return n.map.size},configurable:!1,enumerable:!1}),o.dirtyKey=i,o.dirty=function(){i(a.apply(null,arguments))},o.peekKey=u,o.peek=function(){return u(a.apply(null,arguments))},o.forgetKey=c,o.forget=function(){return c(a.apply(null,arguments))},o.makeCacheKey=a,o.getKey=r?function(){return a.apply(null,r.apply(null,arguments))}:a,Object.freeze(o)}},76855:e=>{e.exports={error:{length:"Length should be a valid positive number",password:"Password should be a valid string",invalidPlugin:"Plugin should be a valid function"},regex:{digits:"(\\d.*)",letters:"([a-zA-Z].*)",symbols:"([`~\\!@#\\$%\\^\\&\\*\\(\\)\\-_\\=\\+\\[\\{\\}\\]\\\\|;:\\'\",<.>\\/\\?€£¥₹§±].*)",spaces:"([\\s].*)"}}},36326:(e,t,n)=>{var r=n(72513),a=n(76855).error,o=n(35923);function i(e){const t=Number(e);if(isNaN(t)||!Number.isInteger(t)||t<1)throw new Error(a.length)}function s(e){return r[e.method].apply(this,e.arguments)}function l(e,t,n){return this.properties.push({method:e,arguments:t,description:n}),this}e.exports=class{constructor(){this.properties=[]}validate(e,t){return this.list=Boolean(t&&t.list),this.details=Boolean(t&&t.details),this.password=String(e),this.positive=!0,this.list||this.details?this.properties.reduce(((e,t)=>{if(!s.call(this,t)){var n=t.method;if(this.details){n={validation:t.method},t.arguments&&t.arguments[0]&&(n.arguments=t.arguments[0]),this.positive||"not"===t.method||(n.inverted=!0);var r=t.arguments&&t.arguments[1]||o(t.method,n.arguments,n.inverted);n.message=r}return e.concat(n)}return e}),[]):this.properties.every(s.bind(this))}letters(e,t){return e&&i(e),l.call(this,"letters",arguments)}digits(e,t){return e&&i(e),l.call(this,"digits",arguments)}symbols(e,t){return e&&i(e),l.call(this,"symbols",arguments)}min(e,t){return i(e),l.call(this,"min",arguments)}max(e,t){return i(e),l.call(this,"max",arguments)}lowercase(e,t){return e&&i(e),l.call(this,"lowercase",arguments)}uppercase(e,t){return e&&i(e),l.call(this,"uppercase",arguments)}spaces(e,t){return e&&i(e),l.call(this,"spaces",arguments)}has(e,t){return l.call(this,"has",arguments)}not(e,t){return l.call(this,"not",arguments)}is(){return l.call(this,"is",arguments)}oneOf(e,t){return l.call(this,"oneOf",arguments)}usingPlugin(e,t){if("function"!=typeof e)throw new Error(a.invalidPlugin);return l.call(this,"usingPlugin",arguments)}}},72513:(e,t,n)=>{var r=n(76855).regex;function a(e,t){if(t&&t>1){const n=parseInt(t,10);return new RegExp(e+"{"+n+",}").test(this.password)===this.positive}return new RegExp(e).test(this.password)===this.positive}e.exports={not:function(e){return this.positive=!1,!e||a.call(this,e)},has:function(e){return this.positive=!0,!e||a.call(this,e)},is:function(){return this.positive=!0,!0},min:function(e){return this.password.length>=e},max:function(e){return this.password.length<=e},digits:function(e){return a.call(this,r.digits,e)},letters:function(e){return a.call(this,r.letters,e)},uppercase:function(e){if(e&&e>1){let t=0,n=0;for(;n1){let t=0,n=0;for(;n=0===this.positive},usingPlugin:function(e){try{const t=e.call({},this.password);return Boolean(t)===this.positive}catch(e){return!1}}}},35923:e=>{e.exports=function(e,r,a){const o=a?n:t;return o[e]&&o[e](r)};const t={min:e=>`The string should have a minimum length of ${e} character${r(e)}`,max:e=>`The string should have a maximum length of ${e} character${r(e)}`,letters:(e=1)=>`The string should have a minimum of ${e} letter${r(e)}`,digits:(e=1)=>`The string should have a minimum of ${e} digit${r(e)}`,uppercase:(e=1)=>`The string should have a minimum of ${e} uppercase letter${r(e)}`,lowercase:(e=1)=>`The string should have a minimum of ${e} lowercase letter${r(e)}`,symbols:(e=1)=>`The string should have a minimum of ${e} symbol${r(e)}`,spaces:(e=1)=>`The string should have a minimum of ${e} space${r(e)}`,oneOf:e=>`The string should be ${e.length>1?`one of ${e.slice(0,-1).join(", ")} and `:""}${e[e.length-1]}`,has:e=>`The string should have pattern '${e}'`,not:e=>`The string should not have pattern '${e}'`,usingPlugin:e=>`The string should not violate ${e.name||"plugin"}`},n={min:e=>`The string should have a maximum length of ${e} character${r(e)}`,max:e=>`The string should have a minimum length of ${e} character${r(e)}`,letters:(e=0)=>`The string should ${0===e?"not have":`have a maximum of ${e}`} letter${r(e)}`,digits:(e=0)=>`The string should ${0===e?"not have":`have a maximum of ${e}`} digit${r(e)}`,uppercase:(e=0)=>`The string should ${0===e?"not have":`have a maximum of ${e}`} uppercase letter${r(e)}`,lowercase:(e=0)=>`The string should ${0===e?"not have":`have a maximum of ${e}`} lowercase letter${r(e)}`,symbols:(e=0)=>`The string should ${0===e?"not have":`have a maximum of ${e}`} symbol${r(e)}`,spaces:(e=0)=>`The string should ${0===e?"not have":`have a maximum of ${e}`} space${r(e)}`,oneOf:e=>`The string should not be ${e.length>1?`one of ${e.slice(0,-1).join(", ")} and `:""}${e[e.length-1]}`,has:e=>`The string should not have pattern '${e}'`,not:e=>`The string should have pattern '${e}'`,usingPlugin:e=>`The string should violate ${e.name||"plugin"}`};function r(e){return 1===e?"":"s"}},2694:(e,t,n)=>{"use strict";var r=n(6925);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,o,i){if(i!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:a};return n.PropTypes=n,n}},5556:(e,t,n)=>{e.exports=n(2694)()},6925:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},79007:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=function(){return!1}},12849:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=function(){return!0}},58238:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=(0,n(47673).A)((function(e,t){return Number(e)+Number(t)}))},38392:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(25586),a=n(53024),o=n(69326);const i=(0,a.A)((function(e){return(0,o.A)(e.length,(function(){var t=0,n=arguments[0],a=arguments[arguments.length-1],o=Array.prototype.slice.call(arguments,0);return o[0]=function(){var e=n.apply(this,(0,r.A)(arguments,[t,a]));return t+=1,e},e.apply(this,o)}))}))},62321:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});var r=n(47673),a=n(32471),o=n(81622),i=n(13773),s=function(){function e(e,t){this.xf=t,this.f=e,this.all=!0}return e.prototype["@@transducer/init"]=i.A.init,e.prototype["@@transducer/result"]=function(e){return this.all&&(e=this.xf["@@transducer/step"](e,!0)),this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.f(t)||(this.all=!1,e=(0,o.A)(this.xf["@@transducer/step"](e,!1))),e},e}();const l=(0,r.A)((function(e,t){return new s(e,t)})),u=(0,r.A)((0,a.A)(["all"],l,(function(e,t){for(var n=0;n{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(53024).A)((function(e){return function(){return e}}))},55325:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(25586);const a=(0,n(47673).A)((function(e,t){return(0,r.A)(t,[e])}))},91126:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(51242).A)((function(e,t,n){var r={};for(var a in n)r[a]=n[a];return r[e]=t,r}))},17725:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(64366),a=n(72392);const o=(0,r.A)(a.default)},40469:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var r=n(80641),a=n(53024),o=n(62506),i=n(17175),s=n(95747);const l=(0,a.A)((function(e){var t=(0,s.default)(i.default,0,(0,o.default)((function(e){return e[0].length}),e));return(0,r.A)(t,(function(){for(var t=0;t{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(8587);const a=(0,n(47673).A)(r.A)},90323:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(2010).A)((function(e,t){return e+1}),0)},69326:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(80641),a=n(53024),o=n(47673),i=n(67245);const s=(0,o.A)((function(e,t){return 1===e?(0,a.A)(t):(0,r.A)(e,(0,i.A)(e,[],t))}))},75569:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(58238).A)(-1)},66169:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(47673).A)((function(e,t){return null==t||t!=t?e:t}))},88030:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(47673),a=n(23676);const o=(0,r.A)((function(e,t){for(var n=[],r=0,o=e.length,i=t.length,s=new a.A,l=0;l{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(47673),a=n(22230),o=n(64366);const i=(0,r.A)((function(e,t){return e||t})),s=(0,r.A)((function(e,t){return(0,a.A)(e)?function(){return e.apply(this,arguments)||t.apply(this,arguments)}:(0,o.A)(i)(e,t)}))},38483:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>p});var r=n(47673);function a(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function o(e,t,n){for(var r=0,a=n.length;r=0;){if(n[f]===e)return r[f]===t;f-=1}switch(p){case"Map":return e.size===t.size&&c(e.entries(),t.entries(),n.concat([e]),r.concat([t]));case"Set":return e.size===t.size&&c(e.values(),t.values(),n.concat([e]),r.concat([t]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var h=(0,l.default)(e);if(h.length!==(0,l.default)(t).length)return!1;var m=n.concat([e]),g=r.concat([t]);for(f=h.length-1;f>=0;){var v=h[f];if(!(0,i.A)(v,t)||!d(t[v],e[v],m,g))return!1;f-=1}return!0}const p=(0,r.A)((function(e,t){return d(e,t,[],[])}))},17473:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>d});var r=n(47673),a=n(32471),o=n(47441),i=n(88927),s=n(13773),l=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=s.A.init,e.prototype["@@transducer/result"]=s.A.result,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):e},e}();const u=(0,r.A)((function(e,t){return new l(e,t)}));var c=n(90085);const d=(0,r.A)((0,a.A)(["filter"],u,(function(e,t){return(0,o.A)(t)?(0,i.A)((function(n,r){return e(t[r])&&(n[r]=t[r]),n}),{},(0,c.default)(t)):function(e,t){for(var n=0,r=t.length,a=[];n{"use strict";n.r(t),n.d(t,{default:()=>u});var r=n(47673),a=n(32471),o=n(81622),i=n(13773),s=function(){function e(e,t){this.xf=t,this.f=e,this.found=!1}return e.prototype["@@transducer/init"]=i.A.init,e.prototype["@@transducer/result"]=function(e){return this.found||(e=this.xf["@@transducer/step"](e,void 0)),this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.f(t)&&(this.found=!0,e=(0,o.A)(this.xf["@@transducer/step"](e,t))),e},e}();const l=(0,r.A)((function(e,t){return new s(e,t)})),u=(0,r.A)((0,a.A)(["find"],l,(function(e,t){for(var n=0,r=t.length;n{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(53024).A)((function(e){for(var t={},n=0;n{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(47673).A)((function(e,t){return e>t}))},26301:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(47673),a=n(48396);const o=(0,r.A)((function(e,t){if(0===e.length)return!1;for(var n=t,r=0;r{"use strict";function r(e){return e}n.r(t),n.d(t,{default:()=>a});const a=(0,n(53024).A)(r)},92763:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(51242),a=n(69326);const o=(0,r.A)((function(e,t,n){return(0,a.A)(Math.max(e.length,t.length,n.length),(function(){return e.apply(this,arguments)?t.apply(this,arguments):n.apply(this,arguments)}))}))},34649:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(58238).A)(1)},23676:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(8587);function a(e,t,n){var a,o=typeof e;switch(o){case"string":case"number":return 0===e&&1/e==-1/0?!!n._items["-0"]||(t&&(n._items["-0"]=!0),!1):null!==n._nativeSet?t?(a=n._nativeSet.size,n._nativeSet.add(e),n._nativeSet.size===a):n._nativeSet.has(e):o in n._items?e in n._items[o]||(t&&(n._items[o][e]=!0),!1):(t&&(n._items[o]={},n._items[o][e]=!0),!1);case"boolean":if(o in n._items){var i=e?1:0;return!!n._items[o][i]||(t&&(n._items[o][i]=!0),!1)}return t&&(n._items[o]=e?[!1,!0]:[!0,!1]),!1;case"function":return null!==n._nativeSet?t?(a=n._nativeSet.size,n._nativeSet.add(e),n._nativeSet.size===a):n._nativeSet.has(e):o in n._items?!!(0,r.A)(e,n._items[o])||(t&&n._items[o].push(e),!1):(t&&(n._items[o]=[e]),!1);case"undefined":return!!n._items[o]||(t&&(n._items[o]=!0),!1);case"object":if(null===e)return!!n._items.null||(t&&(n._items.null=!0),!1);default:return(o=Object.prototype.toString.call(e))in n._items?!!(0,r.A)(e,n._items[o])||(t&&n._items[o].push(e),!1):(t&&(n._items[o]=[e]),!1)}}const o=function(){function e(){this._nativeSet="function"==typeof Set?new Set:null,this._items={}}return e.prototype.add=function(e){return!a(e,!0,this)},e.prototype.has=function(e){return a(e,!1,this)},e}()},80641:(e,t,n)=>{"use strict";function r(e,t){switch(e){case 0:return function(){return t.apply(this,arguments)};case 1:return function(e){return t.apply(this,arguments)};case 2:return function(e,n){return t.apply(this,arguments)};case 3:return function(e,n,r){return t.apply(this,arguments)};case 4:return function(e,n,r,a){return t.apply(this,arguments)};case 5:return function(e,n,r,a,o){return t.apply(this,arguments)};case 6:return function(e,n,r,a,o,i){return t.apply(this,arguments)};case 7:return function(e,n,r,a,o,i,s){return t.apply(this,arguments)};case 8:return function(e,n,r,a,o,i,s,l){return t.apply(this,arguments)};case 9:return function(e,n,r,a,o,i,s,l,u){return t.apply(this,arguments)};case 10:return function(e,n,r,a,o,i,s,l,u,c){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}n.d(t,{A:()=>r})},38912:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(65349);function a(e,t){return function(){var n=arguments.length;if(0===n)return t();var a=arguments[n-1];return(0,r.A)(a)||"function"!=typeof a[e]?t.apply(this,arguments):a[e].apply(a,Array.prototype.slice.call(arguments,0,n-1))}}},66338:(e,t,n)=>{"use strict";function r(e){return function(){return!e.apply(this,arguments)}}n.d(t,{A:()=>r})},25586:(e,t,n)=>{"use strict";function r(e,t){var n;t=t||[];var r=(e=e||[]).length,a=t.length,o=[];for(n=0;nr})},53024:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(19969);function a(e){return function t(n){return 0===arguments.length||(0,r.A)(n)?t:e.apply(this,arguments)}}},47673:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(53024),a=n(19969);function o(e){return function t(n,o){switch(arguments.length){case 0:return t;case 1:return(0,a.A)(n)?t:(0,r.A)((function(t){return e(n,t)}));default:return(0,a.A)(n)&&(0,a.A)(o)?t:(0,a.A)(n)?(0,r.A)((function(t){return e(t,o)})):(0,a.A)(o)?(0,r.A)((function(t){return e(n,t)})):e(n,o)}}}},51242:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(53024),a=n(47673),o=n(19969);function i(e){return function t(n,i,s){switch(arguments.length){case 0:return t;case 1:return(0,o.A)(n)?t:(0,a.A)((function(t,r){return e(n,t,r)}));case 2:return(0,o.A)(n)&&(0,o.A)(i)?t:(0,o.A)(n)?(0,a.A)((function(t,n){return e(t,i,n)})):(0,o.A)(i)?(0,a.A)((function(t,r){return e(n,t,r)})):(0,r.A)((function(t){return e(n,i,t)}));default:return(0,o.A)(n)&&(0,o.A)(i)&&(0,o.A)(s)?t:(0,o.A)(n)&&(0,o.A)(i)?(0,a.A)((function(t,n){return e(t,n,s)})):(0,o.A)(n)&&(0,o.A)(s)?(0,a.A)((function(t,n){return e(t,i,n)})):(0,o.A)(i)&&(0,o.A)(s)?(0,a.A)((function(t,r){return e(n,t,r)})):(0,o.A)(n)?(0,r.A)((function(t){return e(t,i,s)})):(0,o.A)(i)?(0,r.A)((function(t){return e(n,t,s)})):(0,o.A)(s)?(0,r.A)((function(t){return e(n,i,t)})):e(n,i,s)}}}},67245:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(80641),a=n(19969);function o(e,t,n){return function(){for(var i=[],s=0,l=e,u=0;u=arguments.length)?c=t[u]:(c=arguments[s],s+=1),i[u]=c,(0,a.A)(c)||(l-=1),u+=1}return l<=0?n.apply(this,i):(0,r.A)(l,o(e,i,n))}}},32471:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(65349);function a(e,t,n){return function(){if(0===arguments.length)return n();var a=Array.prototype.slice.call(arguments,0),o=a.pop();if(!(0,r.A)(o)){for(var i=0;i{"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(t,e)}n.d(t,{A:()=>r})},8587:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(38483);function a(e,t){return function(e,t,n){var a,o;if("function"==typeof e.indexOf)switch(typeof t){case"number":if(0===t){for(a=1/t;n=0}},79168:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(48396),a=Object.prototype.toString;const o=function(){return"[object Arguments]"===a.call(arguments)?function(e){return"[object Arguments]"===a.call(e)}:function(e){return(0,r.A)("callee",e)}}()},65349:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)}},79826:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(53024),a=n(65349),o=n(6267);const i=(0,r.A)((function(e){return!!(0,a.A)(e)||!!e&&"object"==typeof e&&!(0,o.A)(e)&&(1===e.nodeType?!!e.length:0===e.length||e.length>0&&e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1))}))},22230:(e,t,n)=>{"use strict";function r(e){return"[object Function]"===Object.prototype.toString.call(e)}n.d(t,{A:()=>r})},47441:(e,t,n)=>{"use strict";function r(e){return"[object Object]"===Object.prototype.toString.call(e)}n.d(t,{A:()=>r})},19969:(e,t,n)=>{"use strict";function r(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}n.d(t,{A:()=>r})},6267:(e,t,n)=>{"use strict";function r(e){return"[object String]"===Object.prototype.toString.call(e)}n.d(t,{A:()=>r})},70270:(e,t,n)=>{"use strict";function r(e,t){for(var n=0,r=t.length,a=Array(r);nr})},88927:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(79826),a=function(){function e(e){this.f=e}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(e){return e},e.prototype["@@transducer/step"]=function(e,t){return this.f(e,t)},e}(),o=n(80641);const i=(0,n(47673).A)((function(e,t){return(0,o.A)(e.length,(function(){return e.apply(t,arguments)}))}));function s(e,t,n){for(var r=n.next();!r.done;){if((t=e["@@transducer/step"](t,r.value))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r=n.next()}return e["@@transducer/result"](t)}function l(e,t,n,r){return e["@@transducer/result"](n[r](i(e["@@transducer/step"],e),t))}var u="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function c(e,t,n){if("function"==typeof e&&(e=function(e){return new a(e)}(e)),(0,r.A)(n))return function(e,t,n){for(var r=0,a=n.length;r{"use strict";function r(e){return e&&e["@@transducer/reduced"]?e:{"@@transducer/value":e,"@@transducer/reduced":!0}}n.d(t,{A:()=>r})},13773:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={init:function(){return this.xf["@@transducer/init"]()},result:function(e){return this.xf["@@transducer/result"](e)}}},69995:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(47673),a=n(22230),o=n(69326),i=n(38274);const s=(0,r.A)((function(e,t){return(0,o.A)(e+1,(function(){var n=arguments[e];if(null!=n&&(0,a.A)(n[t]))return n[t].apply(n,Array.prototype.slice.call(arguments,0,e));throw new TypeError((0,i.A)(n)+' does not have a method named "'+t+'"')}))}))},91453:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(47673).A)((function(e,t){return null!=t&&t.constructor===e||t instanceof e}))},59453:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>c});var r=n(53024),a=n(79168),o=n(65349),i=n(47441),s=n(6267);const l=(0,r.A)((function(e){return null!=e&&"function"==typeof e["fantasy-land/empty"]?e["fantasy-land/empty"]():null!=e&&null!=e.constructor&&"function"==typeof e.constructor["fantasy-land/empty"]?e.constructor["fantasy-land/empty"]():null!=e&&"function"==typeof e.empty?e.empty():null!=e&&null!=e.constructor&&"function"==typeof e.constructor.empty?e.constructor.empty():(0,o.A)(e)?[]:(0,s.A)(e)?"":(0,i.A)(e)?{}:(0,a.A)(e)?function(){return arguments}():void 0}));var u=n(38483);const c=(0,r.A)((function(e){return null!=e&&(0,u.default)(e,l(e))}))},21514:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(53024).A)((function(e){return null==e}))},90085:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>c});var r=n(53024),a=n(48396),o=n(79168),i=!{toString:null}.propertyIsEnumerable("toString"),s=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],l=function(){return arguments.propertyIsEnumerable("length")}(),u=function(e,t){for(var n=0;n=0;)t=s[n],(0,a.A)(t,e)&&!u(r,t)&&(r[r.length]=t),n-=1;return r})):(0,r.A)((function(e){return Object(e)!==e?[]:Object.keys(e)}))},92269:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(55395).A)(-1)},64366:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(53024),a=n(47673),o=n(88927),i=n(25586),s=n(62506);const l=(0,a.A)((function(e,t){return"function"==typeof t["fantasy-land/ap"]?t["fantasy-land/ap"](e):"function"==typeof e.ap?e.ap(t):"function"==typeof e?function(n){return e(n)(t(n))}:(0,o.A)((function(e,n){return(0,i.A)(e,(0,s.default)(n,t))}),[],e)}));var u=n(69326);const c=(0,a.A)((function(e,t){var n=(0,u.A)(e,t);return(0,u.A)(e,(function(){return(0,o.A)(l,(0,s.default)(n,arguments[0]),Array.prototype.slice.call(arguments,1))}))})),d=(0,r.A)((function(e){return c(e.length,e)}))},33530:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(47673).A)((function(e,t){return e<=t}))},62506:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>p});var r=n(47673),a=n(32471),o=n(70270),i=n(88927),s=n(13773),l=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=s.A.init,e.prototype["@@transducer/result"]=s.A.result,e.prototype["@@transducer/step"]=function(e,t){return this.xf["@@transducer/step"](e,this.f(t))},e}();const u=(0,r.A)((function(e,t){return new l(e,t)}));var c=n(69326),d=n(90085);const p=(0,r.A)((0,a.A)(["fantasy-land/map","map"],u,(function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return(0,c.A)(t.length,(function(){return e.call(this,t.apply(this,arguments))}));case"[object Object]":return(0,i.A)((function(n,r){return n[r]=e(t[r]),n}),{},(0,d.default)(t));default:return(0,o.A)(e,t)}})))},17175:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(47673).A)((function(e,t){return t>e?t:e}))},72392:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(53024).A)((function(e){return!e}))},55395:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(47673),a=n(6267);const o=(0,r.A)((function(e,t){var n=e<0?t.length+e:e;return(0,a.A)(t)?t.charAt(n):t[n]}))},45316:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(47673).A)((function(e,t){for(var n={},r={},a=0,o=e.length;a{"use strict";n.d(t,{A:()=>r});const r=(0,n(47673).A)((function(e,t){for(var n=t,r=0;r{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(51242),a=n(66169),o=n(1766);const i=(0,r.A)((function(e,t,n){return(0,a.default)(e,(0,o.A)(t,n))}))},21428:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(47673).A)((function(e,t){for(var n={},r=0;r{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(47673).A)((function(e,t){var n={};for(var r in t)e(t[r],r,t)&&(n[r]=t[r]);return n}))},50962:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>c});var r=n(80641);function a(e,t){return function(){return t.call(this,e.apply(this,arguments))}}var o=n(95747),i=n(38912),s=n(53024),l=n(35507);const u=(0,s.A)((0,i.A)("tail",(0,l.A)(1,1/0)));function c(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return(0,r.A)(arguments[0].length,(0,o.default)(a,arguments[0],u(arguments)))}},32076:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(47673),a=n(1766);const o=(0,r.A)((function(e,t){return(0,a.A)([e],t)}))},28038:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(51242),a=n(38483);const o=(0,r.A)((function(e,t,n){return(0,a.default)(t,n[e])}))},86953:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(51242),a=n(11587);const o=(0,r.A)((function(e,t,n){return(0,a.default)(e,[t],n)}))},96351:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(51242).A)((function(e,t,n){return e(n[t])}))},95747:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(51242),a=n(88927);const o=(0,r.A)(a.A)},2010:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(67245),a=n(32471),o=n(48396),i=n(88927),s=n(13773),l=function(){function e(e,t,n,r){this.valueFn=e,this.valueAcc=t,this.keyFn=n,this.xf=r,this.inputs={}}return e.prototype["@@transducer/init"]=s.A.init,e.prototype["@@transducer/result"]=function(e){var t;for(t in this.inputs)if((0,o.A)(t,this.inputs)&&(e=this.xf["@@transducer/step"](e,this.inputs[t]))["@@transducer/reduced"]){e=e["@@transducer/value"];break}return this.inputs=null,this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){var n=this.keyFn(t);return this.inputs[n]=this.inputs[n]||[n,this.valueAcc],this.inputs[n][1]=this.valueFn(this.inputs[n][1],t),e},e}();const u=(0,r.A)(4,[],(function(e,t,n,r){return new l(e,t,n,r)})),c=(0,r.A)(4,[],(0,a.A)([],u,(function(e,t,n,r){return(0,i.A)((function(r,a){var i=n(a);return r[i]=e((0,o.A)(i,r)?r[i]:t,a),r}),{},r)})))},89374:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(66338),a=n(47673),o=n(17473);const i=(0,a.A)((function(e,t){return(0,o.default)((0,r.A)(e),t)}))},1482:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(47673),a=n(8840),o=n(3531);const i=(0,r.A)((function(e,t){return(0,o.default)((0,a.default)(e),t)}))},54991:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(53024),a=n(6267);const o=(0,r.A)((function(e){return(0,a.A)(e)?e.split("").reverse().join(""):Array.prototype.slice.call(e,0).reverse()}))},35507:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(38912);const a=(0,n(51242).A)((0,r.A)("slice",(function(e,t,n){return Array.prototype.slice.call(n,e,t)})))},65393:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(47673).A)((function(e,t){return Array.prototype.slice.call(t,0).sort(e)}))},49329:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(69995).A)(1,"split")},3338:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(58238);const a=(0,n(95747).default)(r.A,0)},3531:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(47673).A)((function(e,t){var n,r=Number(t),a=0;if(r<0||isNaN(r))throw new RangeError("n must be a non-negative number");for(n=new Array(r);a{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(53024),a=n(48396);const o=(0,r.A)((function(e){var t=[];for(var n in e)(0,a.A)(n,e)&&(t[t.length]=[n,e[n]]);return t}))},38274:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(53024),a=n(8587),o=n(70270);function i(e){return'"'+e.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}var s=function(e){return(e<10?"0":"")+e};const l="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+s(e.getUTCMonth()+1)+"-"+s(e.getUTCDate())+"T"+s(e.getUTCHours())+":"+s(e.getUTCMinutes())+":"+s(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};var u=n(90085),c=n(89374);function d(e,t){var n=function(n){var r=t.concat([e]);return(0,a.A)(n,r)?"":d(n,r)},r=function(e,t){return(0,o.A)((function(t){return i(t)+": "+n(e[t])}),t.slice().sort())};switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+(0,o.A)(n,e).join(", ")+"))";case"[object Array]":return"["+(0,o.A)(n,e).concat(r(e,(0,c.default)((function(e){return/^\d+$/.test(e)}),(0,u.default)(e)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof e?"new Boolean("+n(e.valueOf())+")":e.toString();case"[object Date]":return"new Date("+(isNaN(e.valueOf())?n(NaN):i(l(e)))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof e?"new Number("+n(e.valueOf())+")":1/e==-1/0?"-0":e.toString(10);case"[object String]":return"object"==typeof e?"new String("+n(e.valueOf())+")":i(e);case"[object Undefined]":return"undefined";default:if("function"==typeof e.toString){var s=e.toString();if("[object Object]"!==s)return s}return"{"+r(e,(0,u.default)(e)).join(", ")+"}"}}const p=(0,r.A)((function(e){return d(e,[])}))},1254:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(69995).A)(0,"toUpperCase")},92460:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(21967);const a=(0,n(18541).default)(r.default)},18541:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(23676);const a=(0,n(47673).A)((function(e,t){for(var n,a,o=new r.A,i=[],s=0;s{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(51242).A)((function(e,t,n){return e(n)?t(n):n}))},56118:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});var r=n(8587),a=n(47673),o=n(53024),i=n(69326);const s=(0,o.A)((function(e){return(0,i.A)(e.length,(function(t,n){var r=Array.prototype.slice.call(arguments,0);return r[0]=n,r[1]=t,e.apply(this,r)}))}));var l=n(89374);const u=(0,a.A)((function(e,t){return(0,l.default)(s(r.A)(e),t)}))},12469:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(47673).A)((function(e,t){for(var n=0,r=Math.min(e.length,t.length),a={};n{"use strict";var r=n(96540),a=n(45228),o=n(69982);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n