1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2888],{78947:function(e,t,n){"use strict";function r(e){return r="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},r(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){o(e,t,n[t])}))}return e}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(c){i=!0,o=c}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function c(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}n.d(t,{Qc:function(){return Rt},qv:function(){return Nt},vc:function(){return B},vz:function(){return Mt}});var l=function(){},u={},d={},f=null,h={mark:l,measure:l};try{"undefined"!==typeof window&&(u=window),"undefined"!==typeof document&&(d=document),"undefined"!==typeof MutationObserver&&(f=MutationObserver),"undefined"!==typeof performance&&(h=performance)}catch(Lt){}var p=(u.navigator||{}).userAgent,m=void 0===p?"":p,g=u,y=d,v=f,b=h,_=(g.document,!!y.documentElement&&!!y.head&&"function"===typeof y.addEventListener&&"function"===typeof y.createElement),x=~m.indexOf("MSIE")||~m.indexOf("Trident/"),w="svg-inline--fa",S="data-fa-i2svg",E="data-fa-pseudo-element",O="fontawesome-i2svg",k=["HTML","HEAD","STYLE","SCRIPT"],T=function(){try{return!0}catch(Lt){return!1}}(),P={fas:"solid",far:"regular",fal:"light",fad:"duotone",fab:"brands",fak:"kit",fa:"solid"},j={solid:"fas",regular:"far",light:"fal",duotone:"fad",brands:"fab",kit:"fak"},D="fa-layers-text",C=/Font Awesome ([5 ]*)(Solid|Regular|Light|Duotone|Brands|Free|Pro|Kit).*/i,M={900:"fas",400:"far",normal:"far",300:"fal"},R=[1,2,3,4,5,6,7,8,9,10],N=R.concat([11,12,13,14,15,16,17,18,19,20]),A=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],I={GROUP:"group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},L=["xs","sm","lg","fw","ul","li","border","pull-left","pull-right","spin","pulse","rotate-90","rotate-180","rotate-270","flip-horizontal","flip-vertical","flip-both","stack","stack-1x","stack-2x","inverse","layers","layers-text","layers-counter",I.GROUP,I.SWAP_OPACITY,I.PRIMARY,I.SECONDARY].concat(R.map((function(e){return"".concat(e,"x")}))).concat(N.map((function(e){return"w-".concat(e)}))),U=g.FontAwesomeConfig||{};if(y&&"function"===typeof y.querySelector){[["data-family-prefix","familyPrefix"],["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((function(e){var t=s(e,2),n=t[0],r=t[1],i=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=y.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(n));void 0!==i&&null!==i&&(U[r]=i)}))}var V=a({},{familyPrefix:"fa",replacementClass:w,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0},U);V.autoReplaceSvg||(V.observeMutations=!1);var B=a({},V);g.FontAwesomeConfig=B;var z=g||{};z.___FONT_AWESOME___||(z.___FONT_AWESOME___={}),z.___FONT_AWESOME___.styles||(z.___FONT_AWESOME___.styles={}),z.___FONT_AWESOME___.hooks||(z.___FONT_AWESOME___.hooks={}),z.___FONT_AWESOME___.shims||(z.___FONT_AWESOME___.shims=[]);var F=z.___FONT_AWESOME___,H=[],$=!1;function Y(e){_&&($?setTimeout(e,0):H.push(e))}_&&(($=(y.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(y.readyState))||y.addEventListener("DOMContentLoaded",(function e(){y.removeEventListener("DOMContentLoaded",e),$=1,H.map((function(e){return e()}))})));var W,G="pending",q="settled",K="fulfilled",X="rejected",Z=function(){},J="undefined"!==typeof n.g&&"undefined"!==typeof n.g.process&&"function"===typeof n.g.process.emit,Q="undefined"===typeof setImmediate?setTimeout:setImmediate,ee=[];function te(){for(var e=0;e<ee.length;e++)ee[e][0](ee[e][1]);ee=[],W=!1}function ne(e,t){ee.push([e,t]),W||(W=!0,Q(te,0))}function re(e){var t=e.owner,n=t._state,r=t._data,i=e[n],o=e.then;if("function"===typeof i){n=K;try{r=i(r)}
1catch(Lt){se(o,Lt)}}ie(o,r)||(n===K&&oe(o,r),n===X&&se(o,r))}function ie(e,t){var n;try{if(e===t)throw new TypeError("A promises callback cannot return that same promise.");if(t&&("function"===typeof t||"object"===r(t))){var i=t.then;if("function"===typeof i)return i.call(t,(function(r){n||(n=!0,t===r?ae(e,r):oe(e,r))}),(function(t){n||(n=!0,se(e,t))})),!0}}catch(Lt){return n||se(e,Lt),!0}return!1}function oe(e,t){e!==t&&ie(e,t)||ae(e,t)}function ae(e,t){e._state===G&&(e._state=q,e._data=t,ne(le,e))}function se(e,t){e._state===G&&(e._state=q,e._data=t,ne(ue,e))}function ce(e){e._then=e._then.forEach(re)}function le(e){e._state=K,ce(e)}function ue(e){e._state=X,ce(e),!e._handled&&J&&n.g.process.emit("unhandledRejection",e._data,e)}function de(e){n.g.process.emit("rejectionHandled",e)}function fe(e){if("function"!==typeof e)throw new TypeError("Promise resolver "+e+" is not a function");if(this instanceof fe===!1)throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");this._then=[],function(e,t){function n(e){se(t,e)}try{e((function(e){oe(t,e)}),n)}catch(Lt){n(Lt)}}(e,this)}fe.prototype={constructor:fe,_state:G,_then:null,_data:void 0,_handled:!1,then:function(e,t){var n={owner:this,then:new this.constructor(Z),fulfilled:e,rejected:t};return!t&&!e||this._handled||(this._handled=!0,this._state===X&&J&&ne(de,this)),this._state===K||this._state===X?ne(re,n):this._then.push(n),n.then},catch:function(e){return this.then(null,e)}},fe.all=function(e){if(!Array.isArray(e))throw new TypeError("You must pass an array to Promise.all().");return new fe((function(t,n){var r=[],i=0;function o(e){return i++,function(n){r[e]=n,--i||t(r)}}for(var a,s=0;s<e.length;s++)(a=e[s])&&"function"===typeof a.then?a.then(o(s),n):r[s]=a;i||t(r)}))},fe.race=function(e){if(!Array.isArray(e))throw new TypeError("You must pass an array to Promise.race().");return new fe((function(t,n){for(var r,i=0;i<e.length;i++)(r=e[i])&&"function"===typeof r.then?r.then(t,n):t(r)}))},fe.resolve=function(e){return e&&"object"===r(e)&&e.constructor===fe?e:new fe((function(t){t(e)}))},fe.reject=function(e){return new fe((function(t,n){n(e)}))};var he="function"===typeof Promise?Promise:fe,pe=16,me={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function ge(e){if(e&&_){var t=y.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=y.head.childNodes,r=null,i=n.length-1;i>-1;i--){var o=n[i],a=(o.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(a)>-1&&(r=o)}return y.head.insertBefore(t,r),e}}function ye(){for(var e=12,t="";e-- >0;)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return t}function ve(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function be(e){return e.classList?ve(e.classList):(e.getAttribute("class")||"").split(" ").filter((function(e){return e}))}function _e(e,t){var n,r=t.split("-"),i=r[0],o=r.slice(1).join("-");return i!==e||""===o||(n=o,~L.indexOf(n))?null:o}function xe(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function we(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,": ").concat(e[n],";")}),"")}function Se(e){return e.size!==me.size||e.x!==me.x||e.y!==me.y||e.rotate!==me.rotate||e.flipX||e.flipY}function Ee(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth,i={transform:"translate(".concat(n/2," 256)")},o="translate(".concat(32*t.x,", ").concat(32*t.y,") "),a="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:i,inner:{transform:"".concat(o," ").concat(a," ").concat(s)},path:{transform:"translate(".concat(r/2*-1," -256)")}}}var Oe={x:0,y:0,width:"100%",height:"100%"};function ke(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function Te(e){var t=e.icons,n=t.main,r=t.mask,i=e.prefix,o=e.iconName,s=e.transform,c=e.symbol,l=e.title,u=e.maskId,d=e.titleId,f=e.extra,h=e.watchable,p=void 0!==h&&h,m=r.found?r:n,g=m.width,y=m.height,v="fak"===i,b=v?"":"fa-w-".concat(Math.ceil(g/y*16)),_=[B.replacementClass,o?"".concat(B.familyPrefix,"-").concat(o):"",b].filter((function(e){return-1===f.classes.indexOf(e)})).filter((function(e){return""!==e||!!e})).concat(f.classes).join(" "),x={children:[],attributes:a({},f.attributes,{"data-prefix":i,"data-icon":o,class:_,role:f.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(g," ").concat(y)})},w=v&&!~f.classes.indexOf("fa-fw")?{width:"".concat(g/y*16*.0625,"em")}:{};p&&(x.attributes[S]=""),l&&x.children.push({tag:"title",attributes:{id:x.attributes["aria-labelledby"]||"title-".concat(d||ye())},children:[l]});var E=a({},x,{prefix:i,iconName:o,main:n,mask:r,maskId:u,transform:s,symbol:c,styles:a({},w,f.styles)}),O=r.found&&n.found?function(e){var t,n=e.children,r=e.attributes,i=e.main,o=e.mask,s=e.maskId,c=e.transform,l=i.width,u=i.icon,d=o.width,f=o.icon,h=Ee({transform:c,containerWidth:d,iconWidth:l}),p={tag:"rect",attributes:a({},Oe,{fill:"white"})},m=u.children?{children:u.children.map(ke)}:{},g={tag:"g",attributes:a({},h.inner),children:[ke(a({tag:u.tag,attributes:a({},u.attributes,h.path)},m))]},y={tag:"g",attributes:a({},h.outer),children:[g]},v="mask-".concat(s||ye()),b="clip-".concat(s||ye()),_={tag:"mask",attributes:a({},Oe,{id:v,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[p,y]},x={tag:"defs",children:[{tag:"clipPath",attributes:{id:b},children:(t=f,"g"===t.tag?t.children:[t])},_]};
1return n.push(x,{tag:"rect",attributes:a({fill:"currentColor","clip-path":"url(#".concat(b,")"),mask:"url(#".concat(v,")")},Oe)}),{children:n,attributes:r}}(E):function(e){var t=e.children,n=e.attributes,r=e.main,i=e.transform,o=we(e.styles);if(o.length>0&&(n.style=o),Se(i)){var s=Ee({transform:i,containerWidth:r.width,iconWidth:r.width});t.push({tag:"g",attributes:a({},s.outer),children:[{tag:"g",attributes:a({},s.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:a({},r.icon.attributes,s.path)}]}]})}else t.push(r.icon);return{children:t,attributes:n}}(E),k=O.children,T=O.attributes;return E.children=k,E.attributes=T,c?function(e){var t=e.prefix,n=e.iconName,r=e.children,i=e.attributes,o=e.symbol;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:a({},i,{id:!0===o?"".concat(t,"-").concat(B.familyPrefix,"-").concat(n):o}),children:r}]}]}(E):function(e){var t=e.children,n=e.main,r=e.mask,i=e.attributes,o=e.styles,s=e.transform;if(Se(s)&&n.found&&!r.found){var c={x:n.width/n.height/2,y:.5};i.style=we(a({},o,{"transform-origin":"".concat(c.x+s.x/16,"em ").concat(c.y+s.y/16,"em")}))}return[{tag:"svg",attributes:i,children:t}]}(E)}function Pe(e){var t=e.content,n=e.width,r=e.height,i=e.transform,o=e.title,s=e.extra,c=e.watchable,l=void 0!==c&&c,u=a({},s.attributes,o?{title:o}:{},{class:s.classes.join(" ")});l&&(u[S]="");var d=a({},s.styles);Se(i)&&(d.transform=function(e){var t=e.transform,n=e.width,r=void 0===n?16:n,i=e.height,o=void 0===i?16:i,a=e.startCentered,s=void 0!==a&&a,c="";return c+=s&&x?"translate(".concat(t.x/pe-r/2,"em, ").concat(t.y/pe-o/2,"em) "):s?"translate(calc(-50% + ".concat(t.x/pe,"em), calc(-50% + ").concat(t.y/pe,"em)) "):"translate(".concat(t.x/pe,"em, ").concat(t.y/pe,"em) "),c+="scale(".concat(t.size/pe*(t.flipX?-1:1),", ").concat(t.size/pe*(t.flipY?-1:1),") "),c+"rotate(".concat(t.rotate,"deg) ")}({transform:i,startCentered:!0,width:n,height:r}),d["-webkit-transform"]=d.transform);var f=we(d);f.length>0&&(u.style=f);var h=[];return h.push({tag:"span",attributes:u,children:[t]}),o&&h.push({tag:"span",attributes:{class:"sr-only"},children:[o]}),h}function je(e){var t=e.content,n=e.title,r=e.extra,i=a({},r.attributes,n?{title:n}:{},{class:r.classes.join(" ")}),o=we(r.styles);o.length>0&&(i.style=o);var s=[];return s.push({tag:"span",attributes:i,children:[t]}),n&&s.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),s}var De=function(){},Ce=B.measurePerformance&&b&&b.mark&&b.measure?b:{mark:De,measure:De},Me='FA "5.15.4"',Re=function(e){Ce.mark("".concat(Me," ").concat(e," ends")),Ce.measure("".concat(Me," ").concat(e),"".concat(Me," ").concat(e," begins"),"".concat(Me," ").concat(e," ends"))},Ne=function(e){return Ce.mark("".concat(Me," ").concat(e," begins")),function(){return Re(e)}},Ae=function(e,t,n,r){var i,o,a,s=Object.keys(e),c=s.length,l=void 0!==r?function(e,t){return function(n,r,i,o){return e.call(t,n,r,i,o)}}(t,r):t;for(void 0===n?(i=1,a=e[s[0]]):(i=0,a=n);i<c;i++)a=l(a,e[o=s[i]],o,e);return a};function Ie(e){for(var t="",n=0;n<e.length;n++){t+=("000"+e.charCodeAt(n).toString(16)).slice(-4)}return t}function Le(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.skipHooks,i=void 0!==r&&r,o=Object.keys(t).reduce((function(e,n){var r=t[n];return!!r.icon?e[r.iconName]=r.icon:e[n]=r,e}),{});"function"!==typeof F.hooks.addPack||i?F.styles[e]=a({},F.styles[e]||{},o):F.hooks.addPack(e,o),"fas"===e&&Le("fa",t)}var Ue=F.styles,Ve=F.shims,Be={},ze={},Fe={},He=function(){var e=function(e){return Ae(Ue,(function(t,n,r){return t[r]=Ae(n,e,{}),t}),{})};Be=e((function(e,t,n){return t[3]&&(e[t[3]]=n),e})),ze=e((function(e,t,n){var r=t[2];return e[n]=n,r.forEach((function(t){e[t]=n})),e}));var t="far"in Ue;Fe=Ae(Ve,(function(e,n){var r=n[0],i=n[1],o=n[2];return"far"!==i||t||(i="fas"),e[r]={prefix:i,iconName:o},e}),{})};function $e(e,t){return(Be[e]||{})[t]}He();var Ye=F.styles;function We(e){return e.reduce((function(e,t){var n=_e(B.familyPrefix,t);if(Ye[t])e.prefix=t;else if(B.autoFetchSvg&&Object.keys(P).indexOf(t)>-1)e.prefix=t;else if(n){var r="fa"===e.prefix?Fe[n]||{prefix:null,iconName:null}:{};e.iconName=r.iconName||n,e.prefix=r.prefix||e.prefix}else t!==B.replacementClass&&0!==t.indexOf("fa-w-")&&e.rest.push(t);return e}),{prefix:null,iconName:null,rest:[]}
1)}function Ge(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}function qe(e){var t=e.tag,n=e.attributes,r=void 0===n?{}:n,i=e.children,o=void 0===i?[]:i;return"string"===typeof e?xe(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,'="').concat(xe(e[n]),'" ')}),"").trim()}(r),">").concat(o.map(qe).join(""),"</").concat(t,">")}var Ke=function(){};function Xe(e){return"string"===typeof(e.getAttribute?e.getAttribute(S):null)}var Ze={replace:function(e){var t=e[0],n=e[1].map((function(e){return qe(e)})).join("\n");if(t.parentNode&&t.outerHTML)t.outerHTML=n+(B.keepOriginalSource&&"svg"!==t.tagName.toLowerCase()?"\x3c!-- ".concat(t.outerHTML," Font Awesome fontawesome.com --\x3e"):"");else if(t.parentNode){var r=document.createElement("span");t.parentNode.replaceChild(r,t),r.outerHTML=n}},nest:function(e){var t=e[0],n=e[1];if(~be(t).indexOf(B.replacementClass))return Ze.replace(e);var r=new RegExp("".concat(B.familyPrefix,"-.*"));delete n[0].attributes.style,delete n[0].attributes.id;var i=n[0].attributes.class.split(" ").reduce((function(e,t){return t===B.replacementClass||t.match(r)?e.toSvg.push(t):e.toNode.push(t),e}),{toNode:[],toSvg:[]});n[0].attributes.class=i.toSvg.join(" ");var o=n.map((function(e){return qe(e)})).join("\n");t.setAttribute("class",i.toNode.join(" ")),t.setAttribute(S,""),t.innerHTML=o}};function Je(e){e()}function Qe(e,t){var n="function"===typeof t?t:Ke;if(0===e.length)n();else{var r=Je;"async"===B.mutateApproach&&(r=g.requestAnimationFrame||Je),r((function(){var t=!0===B.autoReplaceSvg?Ze.replace:Ze[B.autoReplaceSvg]||Ze.replace,r=Ne("mutate");e.map(t),r(),n()}))}}var et=!1;function tt(){et=!1}var nt=null;function rt(e){if(v&&B.observeMutations){var t=e.treeCallback,n=e.nodeCallback,r=e.pseudoElementsCallback,i=e.observeMutationsRoot,o=void 0===i?y:i;nt=new v((function(e){et||ve(e).forEach((function(e){if("childList"===e.type&&e.addedNodes.length>0&&!Xe(e.addedNodes[0])&&(B.searchPseudoElements&&r(e.target),t(e.target)),"attributes"===e.type&&e.target.parentNode&&B.searchPseudoElements&&r(e.target.parentNode),"attributes"===e.type&&Xe(e.target)&&~A.indexOf(e.attributeName))if("class"===e.attributeName){var i=We(be(e.target)),o=i.prefix,a=i.iconName;o&&e.target.setAttribute("data-prefix",o),a&&e.target.setAttribute("data-icon",a)}else n(e.target)}))})),_&&nt.observe(o,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function it(e){var t,n,r=e.getAttribute("data-prefix"),i=e.getAttribute("data-icon"),o=void 0!==e.innerText?e.innerText.trim():"",a=We(be(e));return r&&i&&(a.prefix=r,a.iconName=i),a.prefix&&o.length>1?a.iconName=(t=a.prefix,n=e.innerText,(ze[t]||{})[n]):a.prefix&&1===o.length&&(a.iconName=$e(a.prefix,Ie(e.innerText))),a}var ot=function(e){var t={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return e?e.toLowerCase().split(" ").reduce((function(e,t){var n=t.toLowerCase().split("-"),r=n[0],i=n.slice(1).join("-");if(r&&"h"===i)return e.flipX=!0,e;if(r&&"v"===i)return e.flipY=!0,e;if(i=parseFloat(i),isNaN(i))return e;switch(r){case"grow":e.size=e.size+i;break;case"shrink":e.size=e.size-i;break;case"left":e.x=e.x-i;break;case"right":e.x=e.x+i;break;case"up":e.y=e.y-i;break;case"down":e.y=e.y+i;break;case"rotate":e.rotate=e.rotate+i}return e}),t):t};function at(e){var t=it(e),n=t.iconName,r=t.prefix,i=t.rest,o=function(e){var t=e.getAttribute("style"),n=[];return t&&(n=t.split(";").reduce((function(e,t){var n=t.split(":"),r=n[0],i=n.slice(1);return r&&i.length>0&&(e[r]=i.join(":").trim()),e}),{})),n}(e),a=function(e){return ot(e.getAttribute("data-fa-transform"))}(e),s=function(e){var t=e.getAttribute("data-fa-symbol");return null!==t&&(""===t||t)}(e),c=function(e){var t=ve(e.attributes).reduce((function(e,t){return"class"!==e.name&&"style"!==e.name&&(e[t.name]=t.value),e}),{}),n=e.getAttribute("title"),r=e.getAttribute("data-fa-title-id");return B.autoA11y&&(n?t["aria-labelledby"]="".concat(B.replacementClass,"-title-").concat(r||ye()):(t["aria-hidden"]="true",t.focusable="false")),t}(e),l=function(e){var t=e.getAttribute("data-fa-mask");return t?We(t.split(" ").map((function(e){return e.trim()}))):{prefix:null,iconName:null,rest:[]}}(e);return{iconName:n,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:r,transform:a,symbol:s,mask:l,maskId:e.getAttribute("data-fa-mask-id"),extra:{classes:i,styles:o,attributes:c}}}function st(e){this.name="MissingIcon",this.message=e||"Icon unavailable",this.stack=(new Error).stack}st.prototype=Object.create(Error.prototype),st.prototype.constructor=st;var ct={fill:"currentColor"}
vendor: 4,403 bytes, line 1
1,lt={attributeType:"XML",repeatCount:"indefinite",dur:"2s"},ut={tag:"path",attributes:a({},ct,{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"})},dt=a({},lt,{attributeName:"opacity"}),ft={tag:"g",children:[ut,{tag:"circle",attributes:a({},ct,{cx:"256",cy:"364",r:"28"}),children:[{tag:"animate",attributes:a({},lt,{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:a({},dt,{values:"1;0;1;1;0;1;"})}]},{tag:"path",attributes:a({},ct,{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:[{tag:"animate",attributes:a({},dt,{values:"1;0;0;0;0;1;"})}]},{tag:"path",attributes:a({},ct,{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({},dt,{values:"0;0;1;1;0;0;"})}]}]},ht=F.styles;function pt(e){var t=e[0],n=e[1],r=s(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(B.familyPrefix,"-").concat(I.GROUP)},children:[{tag:"path",attributes:{class:"".concat(B.familyPrefix,"-").concat(I.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(B.familyPrefix,"-").concat(I.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}function mt(e,t){return new he((function(n,r){var i={found:!1,width:512,height:512,icon:ft};if(e&&t&&ht[t]&&ht[t][e])return n(pt(ht[t][e]));e&&t&&!B.showMissingIcons?r(new st("Icon is missing for prefix ".concat(t," with icon name ").concat(e))):n(i)}))}var gt=F.styles;function yt(e){var t=at(e);return~t.extra.classes.indexOf(D)?function(e,t){var n=t.title,r=t.transform,i=t.extra,o=null,a=null;if(x){var s=parseInt(getComputedStyle(e).fontSize,10),c=e.getBoundingClientRect();o=c.width/s,a=c.height/s}return B.autoA11y&&!n&&(i.attributes["aria-hidden"]="true"),he.resolve([e,Pe({content:e.innerHTML,width:o,height:a,transform:r,title:n,extra:i,watchable:!0})])}(e,t):function(e,t){var n=t.iconName,r=t.title,i=t.titleId,o=t.prefix,a=t.transform,c=t.symbol,l=t.mask,u=t.maskId,d=t.extra;return new he((function(t,f){he.all([mt(n,o),mt(l.iconName,l.prefix)]).then((function(l){var f=s(l,2),h=f[0],p=f[1];t([e,Te({icons:{main:h,mask:p},prefix:o,iconName:n,transform:a,symbol:c,mask:p,maskId:u,title:r,titleId:i,extra:d,watchable:!0})])}))}))}(e,t)}function vt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(_){var n=y.documentElement.classList,r=function(e){return n.add("".concat(O,"-").concat(e))},i=function(e){return n.remove("".concat(O,"-").concat(e))},o=B.autoFetchSvg?Object.keys(P):Object.keys(gt),a=[".".concat(D,":not([").concat(S,"])")].concat(o.map((function(e){return".".concat(e,":not([").concat(S,"])")}))).join(", ");
1if(0!==a.length){var s=[];try{s=ve(e.querySelectorAll(a))}catch(Lt){}if(s.length>0){r("pending"),i("complete");var c=Ne("onTree"),l=s.reduce((function(e,t){try{var n=yt(t);n&&e.push(n)}catch(Lt){T||Lt instanceof st&&console.error(Lt)}return e}),[]);return new he((function(e,n){he.all(l).then((function(n){Qe(n,(function(){r("active"),r("complete"),i("pending"),"function"===typeof t&&t(),c(),e()}))})).catch((function(){c(),n()}))}))}}}}function bt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;yt(e).then((function(e){e&&Qe([e],t)}))}function _t(e,t){var n="".concat("data-fa-pseudo-element-pending").concat(t.replace(":","-"));return new he((function(r,i){if(null!==e.getAttribute(n))return r();var o=ve(e.children).filter((function(e){return e.getAttribute(E)===t}))[0],s=g.getComputedStyle(e,t),c=s.getPropertyValue("font-family").match(C),l=s.getPropertyValue("font-weight"),u=s.getPropertyValue("content");if(o&&!c)return e.removeChild(o),r();if(c&&"none"!==u&&""!==u){var d=s.getPropertyValue("content"),f=~["Solid","Regular","Light","Duotone","Brands","Kit"].indexOf(c[2])?j[c[2].toLowerCase()]:M[l],h=Ie(3===d.length?d.substr(1,1):d),p=$e(f,h),m=p;if(!p||o&&o.getAttribute("data-prefix")===f&&o.getAttribute("data-icon")===m)r();else{e.setAttribute(n,m),o&&e.removeChild(o);var v={iconName:null,title:null,titleId:null,prefix:null,transform:me,symbol:!1,mask:null,maskId:null,extra:{classes:[],styles:{},attributes:{}}},b=v.extra;b.attributes[E]=t,mt(p,f).then((function(i){var o=Te(a({},v,{icons:{main:i,mask:{prefix:null,iconName:null,rest:[]}},prefix:f,iconName:m,extra:b,watchable:!0})),s=y.createElement("svg");":before"===t?e.insertBefore(s,e.firstChild):e.appendChild(s),s.outerHTML=o.map((function(e){return qe(e)})).join("\n"),e.removeAttribute(n),r()})).catch(i)}}else r()}))}function xt(e){return he.all([_t(e,":before"),_t(e,":after")])}function wt(e){return e.parentNode!==document.head&&!~k.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(E)&&(!e.parentNode||"svg"!==e.parentNode.tagName)}function St(e){if(_)return new he((function(t,n){var r=ve(e.querySelectorAll("*")).filter(wt).map(xt),i=Ne("searchPseudoElements");et=!0,he.all(r).then((function(){i(),tt(),t()})).catch((function(){i(),tt(),n()}))}))}function Et(){var e="fa",t=w,n=B.familyPrefix,r=B.replacementClass,i='svg:not(:root).svg-inline--fa {\n overflow: visible;\n}\n\n.svg-inline--fa {\n display: inline-block;\n font-size: inherit;\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.225em;\n}\n.svg-inline--fa.fa-w-1 {\n width: 0.0625em;\n}\n.svg-inline--fa.fa-w-2 {\n width: 0.125em;\n}\n.svg-inline--fa.fa-w-3 {\n width: 0.1875em;\n}\n.svg-inline--fa.fa-w-4 {\n width: 0.25em;\n}\n.svg-inline--fa.fa-w-5 {\n width: 0.3125em;\n}\n.svg-inline--fa.fa-w-6 {\n width: 0.375em;\n}\n.svg-inline--fa.fa-w-7 {\n width: 0.4375em;\n}\n.svg-inline--fa.fa-w-8 {\n width: 0.5em;\n}\n.svg-inline--fa.fa-w-9 {\n width: 0.5625em;\n}\n.svg-inline--fa.fa-w-10 {\n width: 0.625em;\n}\n.svg-inline--fa.fa-w-11 {\n width: 0.6875em;\n}\n.svg-inline--fa.fa-w-12 {\n width: 0.75em;\n}\n.svg-inline--fa.fa-w-13 {\n width: 0.8125em;\n}\n.svg-inline--fa.fa-w-14 {\n width: 0.875em;\n}\n.svg-inline--fa.fa-w-15 {\n width: 0.9375em;\n}\n.svg-inline--fa.fa-w-16 {\n width: 1em;\n}\n.svg-inline--fa.fa-w-17 {\n width: 1.0625em;\n}\n.svg-inline--fa.fa-w-18 {\n width: 1.125em;\n}\n.svg-inline--fa.fa-w-19 {\n width: 1.1875em;\n}\n.svg-inline--fa.fa-w-20 {\n width: 1.25em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-border {\n height: 1.5em;\n}\n.svg-inline--fa.fa-li {\n width: 2em;\n}\n.svg-inline--fa.fa-fw {\n 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 {\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 -webkit-transform-origin: center center;\n transform-origin: center center;\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-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: #ff253a;\n border-radius: 1em;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n color: #fff;\n height: 1.5em;\n line-height: 1;\n max-width: 5em;\n min-width: 1.5em;\n overflow: hidden;\n padding: 0.25em;\n right: 0;\n text-overflow: ellipsis;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: 0;\n right: 0;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: 0;\n left: 0;\n right: auto;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n right: 0;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: 0;\n right: auto;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-lg {\n font-size: 1.3333333333em;\n line-height: 0.75em;\n vertical-align: -0.0667em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n}\n\n.fa-sm {\n font-size: 0.875em;\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;
1\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-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: 2.5em;\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: -2em;\n position: absolute;\n text-align: center;\n width: 2em;\n line-height: inherit;\n}\n\n.fa-border {\n border: solid 0.08em #eee;\n border-radius: 0.1em;\n padding: 0.2em 0.25em 0.15em;\n}\n\n.fa-pull-left {\n float: left;\n}\n\n.fa-pull-right {\n float: right;\n}\n\n.fa.fa-pull-left,\n.fas.fa-pull-left,\n.far.fa-pull-left,\n.fal.fa-pull-left,\n.fab.fa-pull-left {\n margin-right: 0.3em;\n}\n.fa.fa-pull-right,\n.fas.fa-pull-right,\n.far.fa-pull-right,\n.fal.fa-pull-right,\n.fab.fa-pull-right {\n margin-left: 0.3em;\n}\n\n.fa-spin {\n -webkit-animation: fa-spin 2s infinite linear;\n animation: fa-spin 2s infinite linear;\n}\n\n.fa-pulse {\n -webkit-animation: fa-spin 1s infinite steps(8);\n animation: fa-spin 1s infinite steps(8);\n}\n\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both, .fa-flip-horizontal.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n:root .fa-rotate-90,\n:root .fa-rotate-180,\n:root .fa-rotate-270,\n:root .fa-flip-horizontal,\n:root .fa-flip-vertical,\n:root .fa-flip-both {\n -webkit-filter: none;\n filter: none;\n}\n\n.fa-stack {\n display: inline-block;\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}\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: #fff;\n}\n\n.sr-only {\n border: 0;\n clip: rect(0, 0, 0, 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n}\n\n.sr-only-focusable:active, .sr-only-focusable:focus {\n clip: auto;\n height: auto;\n margin: 0;\n overflow: visible;\n position: static;\n width: auto;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: 1;\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 color: #fff;\n}';if(n!==e||r!==t){var o=new RegExp("\\.".concat(e,"\\-"),"g"),a=new RegExp("\\--".concat(e,"\\-"),"g"),s=new RegExp("\\.".concat(t),"g");i=i.replace(o,".".concat(n,"-")).replace(a,"--".concat(n,"-")).replace(s,".".concat(r))}return i}var Ot=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.definitions={}}var t,n,r;return t=e,n=[{key:"add",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=n.reduce(this._pullDefinitions,{});
1Object.keys(i).forEach((function(t){e.definitions[t]=a({},e.definitions[t]||{},i[t]),Le(t,i[t]),He()}))}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(e,t){var n=t.prefix&&t.iconName&&t.icon?{0:t}:t;return Object.keys(n).map((function(t){var r=n[t],i=r.prefix,o=r.iconName,a=r.icon;e[i]||(e[i]={}),e[i][o]=a})),e}}],n&&i(t.prototype,n),r&&i(t,r),e}();function kt(){B.autoAddCss&&!Ct&&(ge(Et()),Ct=!0)}function Tt(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map((function(e){return qe(e)}))}}),Object.defineProperty(e,"node",{get:function(){if(_){var t=y.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function Pt(e){var t=e.prefix,n=void 0===t?"fa":t,r=e.iconName;if(r)return Ge(Dt.definitions,n,r)||Ge(F.styles,n,r)}var jt,Dt=new Ot,Ct=!1,Mt={i2svg:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(_){kt();var t=e.node,n=void 0===t?y:t,r=e.callback,i=void 0===r?function(){}:r;return B.searchPseudoElements&&St(n),vt(n,i)}return he.reject("Operation requires a DOM of some kind.")},css:Et,insertCss:function(){Ct||(ge(Et()),Ct=!0)},watch:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.autoReplaceSvgRoot,n=e.observeMutationsRoot;!1===B.autoReplaceSvg&&(B.autoReplaceSvg=!0),B.observeMutations=!0,Y((function(){It({autoReplaceSvgRoot:t}),rt({treeCallback:vt,nodeCallback:bt,pseudoElementsCallback:St,observeMutationsRoot:n})}))}},Rt={transform:function(e){return ot(e)}},Nt=(jt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?me:n,i=t.symbol,o=void 0!==i&&i,s=t.mask,c=void 0===s?null:s,l=t.maskId,u=void 0===l?null:l,d=t.title,f=void 0===d?null:d,h=t.titleId,p=void 0===h?null:h,m=t.classes,g=void 0===m?[]:m,y=t.attributes,v=void 0===y?{}:y,b=t.styles,_=void 0===b?{}:b;if(e){var x=e.prefix,w=e.iconName,S=e.icon;return Tt(a({type:"icon"},e),(function(){return kt(),B.autoA11y&&(f?v["aria-labelledby"]="".concat(B.replacementClass,"-title-").concat(p||ye()):(v["aria-hidden"]="true",v.focusable="false")),Te({icons:{main:pt(S),mask:c?pt(c.icon):{found:!1,width:null,height:null,icon:{}}},prefix:x,iconName:w,transform:a({},me,r),symbol:o,title:f,maskId:u,titleId:p,extra:{attributes:v,styles:_,classes:g}})}))}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(e||{}).icon?e:Pt(e||{}),r=t.mask;return r&&(r=(r||{}).icon?r:Pt(r||{})),jt(n,a({},t,{mask:r}))}),At={noAuto:function(){B.autoReplaceSvg=!1,B.observeMutations=!1,nt&&nt.disconnect()},config:B,dom:Mt,library:Dt,parse:Rt,findIconDefinition:Pt,icon:Nt,text:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?me:n,i=t.title,o=void 0===i?null:i,s=t.classes,l=void 0===s?[]:s,u=t.attributes,d=void 0===u?{}:u,f=t.styles,h=void 0===f?{}:f;return Tt({type:"text",content:e},(function(){return kt(),Pe({content:e,transform:a({},me,r),title:o,extra:{attributes:d,styles:h,classes:["".concat(B.familyPrefix,"-layers-text")].concat(c(l))}})}))},counter:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.title,r=void 0===n?null:n,i=t.classes,o=void 0===i?[]:i,a=t.attributes,s=void 0===a?{}:a,l=t.styles,u=void 0===l?{}:l;return Tt({type:"counter",content:e},(function(){return kt(),je({content:e.toString(),title:r,extra:{attributes:s,styles:u,classes:["".concat(B.familyPrefix,"-layers-counter")].concat(c(o))}})}))},layer:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.classes,r=void 0===n?[]:n;return Tt({type:"layer"},(function(){kt();var t=[];return e((function(e){Array.isArray(e)?e.map((function(e){t=t.concat(e.abstract)})):t=t.concat(e.abstract)})),[{tag:"span",attributes:{class:["".concat(B.familyPrefix,"-layers")].concat(c(r)).join(" ")},children:t}]}))},toHtml:qe},It=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.autoReplaceSvgRoot,n=void 0===t?y:t;(Object.keys(F.styles).length>0||B.autoFetchSvg)&&_&&B.autoReplaceSvg&&At.dom.i2svg({node:n})}},51436:function(e,t,n){"use strict";n.d(t,{$aW:function(){return T},Acd:function(){return c},Aq:function(){return g},DBF:function(){return _},I7k:function(){return P},ILF:function(){return C},IV4:function(){return l},IyC:function(){return M},J9Y:function(){return b},KtF:function(){return S},LEp:function(){return d},Mdf:function(){return m},NBC:function(){return k},OS1:function(){return u},R8d:function(){return j},X5K:function(){return R},aQp:function(){return x},cwv:function(){return y},d8e:function(){return O},gc2:function(){return r},jLD:function(){return E},mTx:function(){return h},onQ:function(){return o},owJ:function(){return p},ptq:function(){return f},qO$:function(){return v},qmU:function(){return s},r8p:function(){return w},tAh:function(){return D},xiG:function(){return a},yOZ:function(){return i}});var r={prefix:"fas",iconName:"angle-down",icon:[320,512,[],"f107","M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z"]},i={prefix:"fas",iconName:"angle-right",icon:[256,512,[],"f105","M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"]},o={prefix:"fas",iconName:"angle-up",icon:[320,512,[],"f106","M177 159.7l136 136c9.4 9.4 9.4 24.6 0 33.9l-22.6 22.6c-9.4 9.4-24.6 9.4-33.9 0L160 255.9l-96.4 96.4c-9.4 9.4-24.6 9.4-33.9 0L7 329.7c-9.4-9.4-9.4-24.6 0-33.9l136-136c9.4-9.5 24.6-9.5 34-.1z"]},a={prefix:"fas",iconName:"bars",icon:[448,512,[],"f0c9","M16 132h416c8.837 0 16-7.163 16-16V76c0-8.837-7.163-16-16-16H16C7.163 60 0 67.163 0 76v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16z"]},s={prefix:"fas",iconName:"bell",icon:[448,512,[],"f0f3","M224 512c35.32 0 63.97-28.65 63.97-64H160.03c0 35.35 28.65 64 63.97 64zm215.39-149.71c-19.32-20.76-55.47-51.99-55.47-154.29 0-77.7-54.48-139.9-127.94-155.16V32c0-17.67-14.32-32-31.98-32s-31.98 14.33-31.98 32v20.84C118.56 68.1 64.08 130.3 64.08 208c0 102.3-36.15 133.53-55.47 154.29-6 6.45-8.66 14.16-8.61 21.71.11 16.4 12.98 32 32.1 32h383.8c19.12 0 32-15.6 32.1-32 .05-7.55-2.61-15.27-8.61-21.71z"]},c={prefix:"fas",iconName:"bullhorn",icon:[576,512,[],"f0a1","M576 240c0-23.63-12.95-44.04-32-55.12V32.01C544 23.26 537.02 0 512 0c-7.12 0-14.19 2.38-19.98 7.
102l-85.03 68.03C364.28 109.19 310.66 128 256 128H64c-35.35 0-64 28.65-64 64v96c0 35.35 28.65 64 64 64h33.7c-1.39 10.48-2.18 21.14-2.18 32 0 39.77 9.26 77.35 25.56 110.94 5.19 10.69 16.52 17.06 28.4 17.06h74.28c26.05 0 41.69-29.84 25.9-50.56-16.4-21.52-26.15-48.36-26.15-77.44 0-11.11 1.62-21.79 4.41-32H256c54.66 0 108.28 18.81 150.98 52.95l85.03 68.03a32.023 32.023 0 0 0 19.98 7.02c24.92 0 32-22.78 32-32V295.13C563.05 284.04 576 263.63 576 240zm-96 141.42l-33.05-26.44C392.95 311.78 325.12 288 256 288v-96c69.12 0 136.95-23.78 190.95-66.98L480 98.58v282.84z"]},l={prefix:"fas",iconName:"calendar-alt",icon:[448,512,[],"f073","M0 464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V192H0v272zm320-196c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zM192 268c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zM64 268c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H76c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H76c-6.6 0-12-5.4-12-12v-40zM400 64h-48V16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v48H160V16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v48H48C21.5 64 0 85.5 0 112v48h448v-48c0-26.5-21.5-48-48-48z"]},u={prefix:"fas",iconName:"chart-pie",icon:[544,512,[],"f200","M527.79 288H290.5l158.03 158.03c6.04 6.04 15.98 6.53 22.19.68 38.7-36.46 65.32-85.61 73.13-140.86 1.34-9.46-6.51-17.85-16.06-17.85zm-15.83-64.8C503.72 103.74 408.26 8.28 288.8.04 279.68-.59 272 7.1 272 16.24V240h223.77c9.14 0 16.82-7.68 16.19-16.8zM224 288V50.71c0-9.55-8.39-17.4-17.84-16.06C86.99 51.49-4.1 155.6.14 280.37 4.5 408.51 114.83 513.59 243.03 511.98c50.4-.63 96.97-16.87 135.26-44.03 7.9-5.6 8.42-17.23 1.57-24.08L224 288z"]},d={prefix:"fas",iconName:"check",icon:[512,512,[],"f00c","M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"]},f={prefix:"fas",iconName:"chevron-down",icon:[448,512,[],"f078","M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z"]},h={prefix:"fas",iconName:"chevron-up",icon:[448,512,[],"f077","M240.971 130.524l194.343 194.343c9.373 9.373 9.373 24.569 0 33.941l-22.667 22.667c-9.357 9.357-24.522 9.375-33.901.04L224 227.495 69.255 381.516c-9.379 9.335-24.544 9.317-33.901-.04l-22.667-22.667c-9.373-9.373-9.373-24.569 0-33.941L207.03 130.525c9.372-9.373 24.568-9.373 33.941-.001z"]},p={prefix:"fas",iconName:"coins",icon:[512,512,[],"f51e","M0 405.3V448c0 35.3 86 64 192 64s192-28.7 192-64v-42.7C342.7 434.4 267.2 448 192 448S41.3 434.4 0 405.3zM320 128c106 0 192-28.7 192-64S426 0 320 0 128 28.7 128 64s86 64 192 64zM0 300.4V352c0 35.3 86 64 192 64s192-28.7 192-64v-51.6c-41.3 34-116.9 51.6-192 51.6S41.3 334.4 0 300.4zm416 11c57.3-11.1 96-31.7 96-55.4v-42.7c-23.2 16.4-57.3 27.6-96 34.5v63.6zM192 160C86 160 0 195.8 0 240s86 80 192 80 192-35.8 192-80-86-80-192-80zm219.3 56.3c60-10.8 100.7-32 100.7-56.3v-42.7c-35.5 25.1-96.5 38.6-160.7 41.8 29.5 14.3 51.2 33.5 60 57.2z"]},m={prefix:"fas",iconName:"eye",icon:[576,512,[],"f06e","M572.52 241.4C518.29 135.59 410.93 64 288 64S57.68 135.64 3.48 241.41a32.35 32.35 0 0 0 0 29.19C57.71 376.41 165.07 448 288 448s230.32-71.64 284.52-177.41a32.35 32.35 0 0 0 0-29.19zM288 400a144 144 0 1 1 144-144 143.93 143.93 0 0 1-144 144zm0-240a95.31 95.31 0 0 0-25.31 3.79 47.85 47.85 0 0 1-66.9 66.9A95.78 95.78 0 1 0 288 160z"]},g={prefix:"fas",iconName:"eye-slash",icon:[640,512,[],"f070","M320 400c-75.85 0-137.25-58.71-142.9-133.11L72.2 185.82c-13.79 17.3-26.48 35.59-36.72 55.59a32.35 32.35 0 0 0 0 29.19C89.71 376.41 197.07 448 320 448c26.91 0 52.87-4 77.89-10.46L346 397.39a144.13 144.13 0 0 1-26 2.61zm313.82 58.1l-110.55-85.44a331.25 331.25 0 0 0 81.25-102.07 32.35 32.35 0 0 0 0-29.19C550.29 135.59 442.93 64 320 64a308.15 308.15 0 0 0-147.32 37.7L45.46 3.37A16 16 0 0 0 23 6.18L3.37 31.45A16 16 0 0 0 6.18 53.9l588.36 454.73a16 16 0 0 0 22.46-2.81l19.64-25.27a16 16 0 0 0-2.82-22.45zm-183.72-142l-39.3-30.38A94.7
15 94.75 0 0 0 416 256a94.76 94.76 0 0 0-121.31-92.21A47.65 47.65 0 0 1 304 192a46.64 46.64 0 0 1-1.54 10l-73.61-56.89A142.31 142.31 0 0 1 320 112a143.92 143.92 0 0 1 144 144c0 21.63-5.29 41.79-13.9 60.11z"]},y={prefix:"fas",iconName:"file-alt",icon:[384,512,[],"f15c","M224 136V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H248c-13.2 0-24-10.8-24-24zm64 236c0 6.6-5.4 12-12 12H108c-6.6 0-12-5.4-12-12v-8c0-6.6 5.4-12 12-12h168c6.6 0 12 5.4 12 12v8zm0-64c0 6.6-5.4 12-12 12H108c-6.6 0-12-5.4-12-12v-8c0-6.6 5.4-12 12-12h168c6.6 0 12 5.4 12 12v8zm0-72v8c0 6.6-5.4 12-12 12H108c-6.6 0-12-5.4-12-12v-8c0-6.6 5.4-12 12-12h168c6.6 0 12 5.4 12 12zm96-114.1v6.1H256V0h6.1c6.4 0 12.5 2.5 17 7l97.9 98c4.5 4.5 7 10.6 7 16.9z"]},v={prefix:"fas",iconName:"history",icon:[512,512,[],"f1da","M504 255.531c.253 136.64-111.18 248.372-247.82 248.468-59.015.042-113.223-20.53-155.822-54.911-11.077-8.94-11.905-25.541-1.839-35.607l11.267-11.267c8.609-8.609 22.353-9.551 31.891-1.984C173.062 425.135 212.781 440 256 440c101.705 0 184-82.311 184-184 0-101.705-82.311-184-184-184-48.814 0-93.149 18.969-126.068 49.932l50.754 50.754c10.08 10.08 2.941 27.314-11.313 27.314H24c-8.837 0-16-7.163-16-16V38.627c0-14.254 17.234-21.393 27.314-11.314l49.372 49.372C129.209 34.136 189.552 8 256 8c136.81 0 247.747 110.78 248 247.531zm-180.912 78.784l9.823-12.63c8.138-10.463 6.253-25.542-4.21-33.679L288 256.349V152c0-13.255-10.745-24-24-24h-16c-13.255 0-24 10.745-24 24v135.651l65.409 50.874c10.463 8.137 25.541 6.253 33.679-4.21z"]},b={prefix:"fas",iconName:"home",icon:[576,512,[],"f015","M280.37 148.26L96 300.11V464a16 16 0 0 0 16 16l112.06-.29a16 16 0 0 0 15.92-16V368a16 16 0 0 1 16-16h64a16 16 0 0 1 16 16v95.64a16 16 0 0 0 16 16.05L464 480a16 16 0 0 0 16-16V300L295.67 148.26a12.19 12.19 0 0 0-15.3 0zM571.6 251.47L488 182.56V44.05a12 12 0 0 0-12-12h-56a12 12 0 0 0-12 12v72.61L318.47 43a48 48 0 0 0-61 0L4.34 251.47a12 12 0 0 0-1.6 16.9l25.5 31A12 12 0 0 0 45.15 301l235.22-193.74a12.19 12.19 0 0 1 15.3 0L530.9 301a12 12 0 0 0 16.9-1.6l25.5-31a12 12 0 0 0-1.7-16.93z"]},_={prefix:"fas",iconName:"moon",icon:[512,512,[],"f186","M283.211 512c78.962 0 151.079-35.925 198.857-94.792 7.068-8.708-.639-21.43-11.562-19.35-124.203 23.654-238.262-71.576-238.262-196.954 0-72.222 38.662-138.635 101.498-174.394 9.686-5.512 7.25-20.197-3.756-22.23A258.156 258.156 0 0 0 283.211 0c-141.309 0-256 114.511-256 256 0 141.309 114.511 256 256 256z"]},x={prefix:"fas",iconName:"play-circle",icon:[512,512,[],"f144","M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm115.7 272l-176 101c-15.8 8.8-35.7-2.5-35.7-21V152c0-18.4 19.8-29.8 35.7-21l176 107c16.4 9.2 16.4 32.9 0 42z"]},w={prefix:"fas",iconName:"plus",icon:[448,512,[],"f067","M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"]},S={prefix:"fas",iconName:"plus-circle",icon:[512,512,[],"f055","M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm144 276c0 6.6-5.4 12-12 12h-92v92c0 6.6-5.4 12-12 12h-56c-6.6 0-12-5.4-12-12v-92h-92c-6.6 0-12-5.4-12-12v-56c0-6.6 5.4-12 12-12h92v-92c0-6.6 5.4-12 12-12h56c6.6 0 12 5.4 12 12v92h92c6.6 0 12 5.4 12 12v56z"]},E={prefix:"fas",iconName:"sign-out-alt",icon:[512,512,[],"f2f5","M497 273L329 441c-15 15-41 4.5-41-17v-96H152c-13.3 0-24-10.7-24-24v-96c0-13.3 10.7-24 24-24h136V88c0-21.4 25.9-32 41-17l168 168c9.3 9.4 9.3 24.6 0 34zM192 436v-40c0-6.6-5.4-12-12-12H96c-17.7 0-32-14.3-32-32V160c0-17.7 14.3-32 32-32h84c6.6 0 12-5.4 12-12V76c0-6.6-5.4-12-12-12H96c-53 0-96 43-96 96v192c0 53 43 96 96 96h84c6.6 0 12-5.4 12-12z"]},O={prefix:"fas",iconName:"sync-alt",icon:[512,512,[],"f2f1","M370.72 133.28C339.458 104.008 298.888 87.962 255.848 88c-77.458.068-144.328 53.178-162.791 126.85-1.344 5.363-6.122 9.15-11.651 9.15H24.103c-7.498 0-13.194-6.807-11.807-14.176C33.933 94.924 134.813 8 256 8c66.448 0 126.791 26.136 171.315 68.685L463.03 40.97C478.149 25.851 504 36.559 504 57.941V192c0 13.255-10.745 24-24 24H345.941c-21.382 0-32.09-25.851-16.971-40.971l41.75-41.749zM32 296h134.059c21.382 0 32.09 25.851 16.971 40.971l-41.75 41.75c31.262 29.273 71.835 45.319 114.876 45.28 77.418-.07 144.315-53.144 162.787-126.849 1.344-5.363 6.122-9.15 11.651-9.15h57.304c7.498 0 13.194 6.807 11.807 14.176C478.067 417.076 377.187 504 256 504c-66.448 0-126.791-26.136-171.315-68.685L48.97 471.03C33.851 486.149 8 475.441 8 454.059V320c0-13.255 10.745-24 24-24z"]},k={prefix:"fas",iconName:"times",icon:[352,512,[],"f00d","M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"]},T={prefix:"fas",iconName:"trash",icon:[448,512,[],"f1f8","M432 32H312l-9.4-18.7A24 24 0 0 0 281.1 0H166.8a23.72 23.72 0 0 0-21.4 13.3L136 32H16A16 16 0 0 0 0 48v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16zM53.2 467a48 48 0 0 0 47.9 45h245.8a48 48 0 0 0 47.9-45L416 128H32z"]},P={prefix:"fas",iconName:"trash-alt",icon:[448,512,[],"f2ed","M32 464a48 48 0 0 0 48 48h288a48 48 0 0 0 48-48V128H32zm272-256a16 16 0 0 1 32 0v224a16 16 0 0 1-32 0zm-96 0a16 16 0 0 1 32 0v224a16 16 0 0 1-32 0zm-96 0a16 16 0 0 1 32 0v224a16 16 0 0 1-32 0zM432 32H312l-9.4-18.7A24 24 0 0 0 281.1 0H166.8a23.72 23.72 0 0 0-21.4 13.3L136 32H16A16 16 0 0 0 0 48v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16z"]},j={prefix:"fas",iconName:"undo-alt",icon:[512,512,[],"f2ea","M255.545 8c-66.269.119-126.438 26.233-170.86 68.685L48.971 40.971C33.851 25.851 8 36.559 8 57.941V192c0 13.255 10.745 24 24 24h134.059c21.382 0 32.09-25.851 16.971-40.971l-41.75-41.75c30.864-28.899 70.801-44.907 113.23-45.273 92.398-.798 170.283 73.977 169.484 169.442C423.236 348.009 349.816 424 256 424c-41.127 0-79.997-14.678-110.63-41.556-4.743-4.161-11.906-3.908-16.368.553L89.34 422.659c-4.872 4.872-4.631 12.815.482 17.433C133.798 479.813 192.074 504 256 504c136.966 0 247.999-111.033 248-247.998C504.001 119.193 392.354 7.755 255.545 8z"]},D={prefix:"fas",iconName:"unlock",icon:[448,512,[],"f09c","M400 256H152V152.9c0-39.6 31.7-72.5 71.3-72.9 40-.4 72.7 32.1 72.7 72v16c0 13.3 10.7 24 24 24h32c13.3 0 24-10.7 24-24v-16C376 68 307.5-.3 223.5 0 139.5.3 72 69.5 72 153.5V256H48c-26.5 0-48 21.5-48 48v160c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V304c0-26.5-21.5-48-48-48z"]},C={prefix:"fas",iconName:"user",icon:[448,512,[],"f007","M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm89.6 32h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-41.6c0-74.2-60.2-134.4-134.4-134.4z"]},M={prefix:"fas",iconName:"video",icon:[576,512,[],"f03d","M336.2 64H47.8C21.4 64 0 85.4 0 111.8v288.4C0 426.6 21.4 448 47.8 448h288.4c26.4 0 47.8-21.4 47.8-47.8V111.8c0-26.4-21.4-47.8-47.8-47.8zm189.4 37.7L416 177.3v157.4l109.6 75.5c21.2 14.6 50.4-.3 50.4-25.8V127.5c0-25.4-29.1-40.4-50.4-25.8z"]},R={prefix:"fas",iconName:"wallet",icon:[512,512,[],"f555","M461.2 128H80c-8.84 0-16-7.16-16-16s7.16-16 16-16h384c8.84 0 16-7.16 16-16 0-26.51-21.49-48-48-48H64C28.65 32 0 60.65 0 96v320c0 35.35 28.65 64 64 64h397.2c28.02 0 50.8-21.53 50.8-48V176c0-26.47-22.78-48-50.8-48zM416 336c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32z"]}},67814:function(e,t,n){"use strict";n.d(t,{G:function(){return v}});var r=n(78947),i=n(45697),o=n.n(i),a=n(67294);function s(e){return s="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},s(e)}
1function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}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;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function f(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function h(e){return t=e,(t-=0)===t?e:(e=e.replace(/[\-_\s]+(.)?/g,(function(e,t){return t?t.toUpperCase():""}))).substr(0,1).toLowerCase()+e.substr(1);var t}function p(e){return e.split(";").map((function(e){return e.trim()})).filter((function(e){return e})).reduce((function(e,t){var n,r=t.indexOf(":"),i=h(t.slice(0,r)),o=t.slice(r+1).trim();return i.startsWith("webkit")?e[(n=i,n.charAt(0).toUpperCase()+n.slice(1))]=o:e[i]=o,e}),{})}var m=!1;try{m=!0}catch(_){}function g(e){return e&&"object"===s(e)&&e.prefix&&e.iconName&&e.icon?e:r.Qc.icon?r.Qc.icon(e):null===e?null:e&&"object"===s(e)&&e.prefix&&e.iconName?e:Array.isArray(e)&&2===e.length?{prefix:e[0],iconName:e[1]}:"string"===typeof e?{prefix:"fas",iconName:e}:void 0}function y(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?c({},e,t):{}}function v(e){var t=e.forwardedRef,n=d(e,["forwardedRef"]),i=n.icon,o=n.mask,a=n.symbol,s=n.className,l=n.title,h=n.titleId,p=g(i),_=y("classes",[].concat(f(function(e){var t,n=e.spin,r=e.pulse,i=e.fixedWidth,o=e.inverse,a=e.border,s=e.listItem,l=e.flip,u=e.size,d=e.rotation,f=e.pull,h=(c(t={"fa-spin":n,"fa-pulse":r,"fa-fw":i,"fa-inverse":o,"fa-border":a,"fa-li":s,"fa-flip-horizontal":"horizontal"===l||"both"===l,"fa-flip-vertical":"vertical"===l||"both"===l},"fa-".concat(u),"undefined"!==typeof u&&null!==u),c(t,"fa-rotate-".concat(d),"undefined"!==typeof d&&null!==d&&0!==d),c(t,"fa-pull-".concat(f),"undefined"!==typeof f&&null!==f),c(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(h).map((function(e){return h[e]?e:null})).filter((function(e){return e}))}(n)),f(s.split(" ")))),x=y("transform","string"===typeof n.transform?r.Qc.transform(n.transform):n.transform),w=y("mask",g(o)),S=(0,r.qv)(p,u({},_,{},x,{},w,{symbol:a,title:l,titleId:h}));if(!S)return function(){var e;!m&&console&&"function"===typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",p),null;var E=S.abstract,O={ref:t};return Object.keys(n).forEach((function(e){v.defaultProps.hasOwnProperty(e)||(O[e]=n[e])})),b(E[0],O)}v.displayName="FontAwesomeIcon",v.propTypes={border:o().bool,className:o().string,mask:o().oneOfType([o().object,o().array,o().string]),fixedWidth:o().bool,inverse:o().bool,flip:o().oneOf(["horizontal","vertical","both"]),icon:o().oneOfType([o().object,o().array,o().string]),listItem:o().bool,pull:o().oneOf(["right","left"]),pulse:o().bool,rotation:o().oneOf([0,90,180,270]),size:o().oneOf(["lg","xs","sm","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:o().bool,symbol:o().oneOfType([o().bool,o().string]),title:o().string,transform:o().oneOfType([o().string,o().object]),swapOpacity:o().bool},v.defaultProps={border:!1,className:"",mask:null,fixedWidth:!1,inverse:!1,flip:null,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,symbol:!1,title:"",transform:null,swapOpacity:!1};var b=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"===typeof n)return n;var i=(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=p(r);break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=r:e.attrs[h(t)]=r}return e}),{attrs:{}}),a=r.style,s=void 0===a?{}:a,c=d(r,["style"]);return o.attrs.style=u({},o.attrs.style,{},s),t.apply(void 0,[n.tag,u({},o.attrs,{},c)].concat(f(i)))}.bind(null,a.createElement)},51131:function(e,t,n){"use strict";n.d(t,{J:function(){return r}});const r="production"},71195:function(e,t,n){"use strict";n.d(t,{RP:function(){return l},cc:function(){return c},fH:function(){return s}});var r=n(71235),i=n(96893),o=n(12343),a=n(67597);function s(){return(0,r.YO)("globalEventProcessors",(()=>[]))}function c(e){s().push(e)}function l(e,t,n,r=0){return new i.cW(((i,s)=>{const c=e[r];if(null===t||"function"!==typeof c)i(t);else{const u=c({...t},n);("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.id&&null===u&&o.kg.log(`Event processor "${c.id}" dropped event`),(0,a.J8)(u)?u.then((t=>l(e,t,n,r+1).then(i))).then(null,s):l(e,u,n,r+1).then(i).then(null,s)}}))}},64487:function(e,t,n){"use strict";n.d(t,{$e:function(){return a},Tb:function(){return i},e:function(){return o}});var r=n(95659);function i(e,t){return(0,r.Gd)().captureException(e,{captureContext:t})}function o(e){(0,r.Gd)().configureScope(e)}function a(e){(0,r.Gd)().withScope(e)}}
1,95659:function(e,t,n){"use strict";n.d(t,{Gd:function(){return p},cu:function(){return f}});var r=n(62844),i=n(21170),o=n(12343),a=n(71235),s=n(51131),c=n(10350),l=n(9015);const u=100;class d{constructor(e,t=new c.s,n=4){this._version=n,this._stack=[{scope:t}],e&&this.bindClient(e)}isOlderThan(e){return this._version<e}bindClient(e){this.getStackTop().client=e,e&&e.setupIntegrations&&e.setupIntegrations()}pushScope(){const e=c.s.clone(this.getScope());return this.getStack().push({client:this.getClient(),scope:e}),e}popScope(){return!(this.getStack().length<=1)&&!!this.getStack().pop()}withScope(e){const t=this.pushScope();try{e(t)}finally{this.popScope()}}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}captureException(e,t){const n=this._lastEventId=t&&t.event_id?t.event_id:(0,r.DM)(),i=new Error("Sentry syntheticException");return this._withClient(((r,o)=>{r.captureException(e,{originalException:e,syntheticException:i,...t,event_id:n},o)})),n}captureMessage(e,t,n){const i=this._lastEventId=n&&n.event_id?n.event_id:(0,r.DM)(),o=new Error(e);return this._withClient(((r,a)=>{r.captureMessage(e,t,{originalException:e,syntheticException:o,...n,event_id:i},a)})),i}captureEvent(e,t){const n=t&&t.event_id?t.event_id:(0,r.DM)();return e.type||(this._lastEventId=n),this._withClient(((r,i)=>{r.captureEvent(e,{...t,event_id:n},i)})),n}lastEventId(){return this._lastEventId}addBreadcrumb(e,t){const{scope:n,client:r}=this.getStackTop();if(!r)return;const{beforeBreadcrumb:a=null,maxBreadcrumbs:s=u}=r.getOptions&&r.getOptions()||{};if(s<=0)return;const c={timestamp:(0,i.yW)(),...e},l=a?(0,o.Cf)((()=>a(c,t))):c;null!==l&&(r.emit&&r.emit("beforeAddBreadcrumb",l,t),n.addBreadcrumb(l,s))}setUser(e){this.getScope().setUser(e)}setTags(e){this.getScope().setTags(e)}setExtras(e){this.getScope().setExtras(e)}setTag(e,t){this.getScope().setTag(e,t)}setExtra(e,t){this.getScope().setExtra(e,t)}setContext(e,t){this.getScope().setContext(e,t)}configureScope(e){const{scope:t,client:n}=this.getStackTop();n&&e(t)}run(e){const t=h(this);try{e(this)}finally{h(t)}}getIntegration(e){const t=this.getClient();if(!t)return null;try{return t.getIntegration(e)}catch(n){return("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.warn(`Cannot retrieve integration ${e.id} from the current Hub`),null}}startTransaction(e,t){const n=this._callExtensionMethod("startTransaction",e,t);if(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&!n){this.getClient()?console.warn("Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init':\nSentry.addTracingExtensions();\nSentry.init({...});\n"):console.warn("Tracing extension 'startTransaction' is missing. You should 'init' the SDK before calling 'startTransaction'")}return n}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(e=!1){if(e)return this.endSession();this._sendSessionUpdate()}endSession(){const e=this.getStackTop().scope,t=e.getSession();t&&(0,l.RJ)(t),this._sendSessionUpdate(),e.setSession()}startSession(e){const{scope:t,client:n}=this.getStackTop(),{release:r,environment:i=s.J}=n&&n.getOptions()||{},{userAgent:o}=a.n2.navigator||{},c=(0,l.Hv)({release:r,environment:i,user:t.getUser(),...o&&{userAgent:o},...e}),u=t.getSession&&t.getSession();return u&&"ok"===u.status&&(0,l.CT)(u,{status:"exited"}),this.endSession(),t.setSession(c),c}shouldSendDefaultPii(){const e=this.getClient(),t=e&&e.getOptions();return Boolean(t&&t.sendDefaultPii)}_sendSessionUpdate(){const{scope:e,client:t}=this.getStackTop(),n=e.getSession();n&&t&&t.captureSession&&t.captureSession(n)}_withClient(e){const{scope:t,client:n}=this.getStackTop();n&&e(n,t)}_callExtensionMethod(e,...t){const n=f().__SENTRY__;if(n&&n.extensions&&"function"===typeof n.extensions[e])return n.extensions[e].apply(this,t);("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.warn(`Extension method ${e} couldn't be found, doing nothing.`)}}function f(){return a.n2.__SENTRY__=a.n2.__SENTRY__||{extensions:{},hub:void 0},a.n2}function h(e){const t=f(),n=y(t);return v(t,e),n}function p(){const e=f();if(e.__SENTRY__&&e.__SENTRY__.acs){const t=e.__SENTRY__.acs.getCurrentHub();if(t)return t}return m(e)}function m(e=f()){return g(e)&&!y(e).isOlderThan(4)||v(e,new d),y(e)}function g(e){return!!(e&&e.__SENTRY__&&e.__SENTRY__.hub)}function y(e){return(0,a.YO)("hub",(()=>new d),e)}function v(e,t){if(!e)return!1;return(e.__SENTRY__=e.__SENTRY__||{}).hub=t,!0}},10350:function(e,t,n){"use strict";n.d(t,{s:function(){return c}});var r=n(67597),i=n(21170),o=n(62844),a=n(71195),s=n(9015);class c{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=l()}static clone(e){const t=new c;return e&&(t._breadcrumbs=[...e._breadcrumbs],t._tags={...e._tags},t._extra={...e._extra},t._contexts={...e._contexts},t._user=e._user,t._level=e._level,t._span=e._span,t._session=e._session,t._transactionName=e._transactionName,t._fingerprint=e._fingerprint,t._eventProcessors=[...e._eventProcessors],t._requestSession=e._requestSession,t._attachments=[...e._attachments],t._sdkProcessingMetadata={...e._sdkProcessingMetadata},t._propagationContext={...e._propagationContext}),t}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{},this._session&&(0,s.CT)(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}setSpan(e){return this._span=e,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){const e=this.getSpan();return e&&e.transaction}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;if("function"===typeof e){const t=e(this);return t instanceof c?t:this}return e instanceof c?(this._tags={...this._tags,...e._tags},this._extra={...this._extra,...e._extra},this._contexts={...this._contexts,...e._contexts},e._user&&Object.keys(e._user).length&&(this._user=e._user),e._level&&(this._level=e._level),e._fingerprint&&(this._fingerprint=e._fingerprint),e._requestSession&&(this._requestSession=e._requestSession),e._propagationContext&&(this._propagationContext=e._propagationContext)):(0,r.PO)(e)&&(this._tags={...this._tags,...e.tags},this._extra={...this._extra,...e.extra},this._contexts={...this._contexts,...e.contexts},e.user&&(this._user=e.user),e.level&&(this._level=e.level),e.fingerprint&&(this._fingerprint=e.fingerprint),e.requestSession&&(this._requestSession=e.requestSession),e.propagationContext&&(this._propagationContext=e.propagationContext)),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._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this._propagationContext=l(),this}addBreadcrumb(e,t){const n="number"===typeof t?t:100;if(n<=0)return this;const r={timestamp:(0,i.yW)(),...e},o=this._breadcrumbs;return o.push(r),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}getAttachments(){return this._attachments}clearAttachments(){return this._attachments=[],this}applyToEvent(e,t={}
1,n){if(this._extra&&Object.keys(this._extra).length&&(e.extra={...this._extra,...e.extra}),this._tags&&Object.keys(this._tags).length&&(e.tags={...this._tags,...e.tags}),this._user&&Object.keys(this._user).length&&(e.user={...this._user,...e.user}),this._contexts&&Object.keys(this._contexts).length&&(e.contexts={...this._contexts,...e.contexts}),this._level&&(e.level=this._level),this._transactionName&&(e.transaction=this._transactionName),this._span){e.contexts={trace:this._span.getTraceContext(),...e.contexts};const t=this._span.transaction;if(t){e.sdkProcessingMetadata={dynamicSamplingContext:t.getDynamicSamplingContext(),...e.sdkProcessingMetadata};const n=t.name;n&&(e.tags={transaction:n,...e.tags})}}this._applyFingerprint(e);const r=this._getBreadcrumbs(),i=[...e.breadcrumbs||[],...r];return e.breadcrumbs=i.length>0?i:void 0,e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...this._sdkProcessingMetadata,propagationContext:this._propagationContext},(0,a.RP)([...n||[],...(0,a.fH)(),...this._eventProcessors],e,t)}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...e},this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}_getBreadcrumbs(){return this._breadcrumbs}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach((e=>{e(this)})),this._notifyingListeners=!1)}_applyFingerprint(e){e.fingerprint=e.fingerprint?(0,o.lE)(e.fingerprint):[],this._fingerprint&&(e.fingerprint=e.fingerprint.concat(this._fingerprint)),e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint}}function l(){return{traceId:(0,o.DM)(),spanId:(0,o.DM)().substring(16)}}},9015:function(e,t,n){"use strict";n.d(t,{CT:function(){return s},Hv:function(){return a},RJ:function(){return c}});var r=n(21170),i=n(62844),o=n(20535);function a(e){const t=(0,r.ph)(),n={sid:(0,i.DM)(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function(e){return(0,o.Jr)({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&&s(n,e),n}function s(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||(0,r.ph)(),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:(0,i.DM)()),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)}function c(e,t){let n={};t?n={status:t}:"ok"===e.status&&(n={status:"exited"}),s(e,n)}},58464:function(e,t,n){"use strict";n.d(t,{Rt:function(){return o},l4:function(){return s},qT:function(){return c}});var r=n(67597);const i=(0,n(71235).Rf)();function o(e,t={}){if(!e)return"<unknown>";try{let n=e;const r=5,i=[];let o=0,s=0;const c=" > ",l=c.length;let u;const d=Array.isArray(t)?t:t.keyAttrs,f=!Array.isArray(t)&&t.maxStringLength||80;for(;n&&o++<r&&(u=a(n,d),!("html"===u||o>1&&s+i.length*l+u.length>=f));)i.push(u),s+=u.length,n=n.parentNode;return i.reverse().join(c)}catch(n){return"<unknown>"}}function a(e,t){const n=e,i=[];let o,a,s,c,l;if(!n||!n.tagName)return"";i.push(n.tagName.toLowerCase());const u=t&&t.length?t.filter((e=>n.getAttribute(e))).map((e=>[e,n.getAttribute(e)])):null;if(u&&u.length)u.forEach((e=>{i.push(`[${e[0]}="${e[1]}"]`)}));else if(n.id&&i.push(`#${n.id}`),o=n.className,o&&(0,r.HD)(o))for(a=o.split(/\s+/),l=0;l<a.length;l++)i.push(`.${a[l]}`);const d=["aria-label","type","name","title","alt"];for(l=0;l<d.length;l++)s=d[l],c=n.getAttribute(s),c&&i.push(`[${s}="${c}"]`);return i.join("")}function s(){try{return i.document.location.href}catch(e){return""}}function c(e){return i.document&&i.document.querySelector?i.document.querySelector(e):null}},68518:function(e,t,n){"use strict";function r(){return"undefined"!==typeof __SENTRY_BROWSER_BUNDLE__&&!!__SENTRY_BROWSER_BUNDLE__}function i(){return"npm"}n.d(t,{S:function(){return i},n:function(){return r}})},67597:function(e,t,n){"use strict";n.d(t,{Cy:function(){return g},HD:function(){return l},J8:function(){return m},Kj:function(){return p},PO:function(){return d},TX:function(){return s},V9:function(){return v},VW:function(){return a},VZ:function(){return i},cO:function(){return f},fm:function(){return c},i2:function(){return y},kK:function(){return h},pt:function(){return u},y1:function(){return b}});const r=Object.prototype.toString;function i(e){switch(r.call(e)){case"[object Error]":case"[object E
1xception]":case"[object DOMException]":return!0;default:return v(e,Error)}}function o(e,t){return r.call(e)===`[object ${t}]`}function a(e){return o(e,"ErrorEvent")}function s(e){return o(e,"DOMError")}function c(e){return o(e,"DOMException")}function l(e){return o(e,"String")}function u(e){return null===e||"object"!==typeof e&&"function"!==typeof e}function d(e){return o(e,"Object")}function f(e){return"undefined"!==typeof Event&&v(e,Event)}function h(e){return"undefined"!==typeof Element&&v(e,Element)}function p(e){return o(e,"RegExp")}function m(e){return Boolean(e&&e.then&&"function"===typeof e.then)}function g(e){return d(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function y(e){return"number"===typeof e&&e!==e}function v(e,t){try{return e instanceof t}catch(n){return!1}}function b(e){return!("object"!==typeof e||null===e||!e.__isVue&&!e._isVue)}},12343:function(e,t,n){"use strict";n.d(t,{Cf:function(){return a},LD:function(){return o},RU:function(){return i},kg:function(){return s}});var r=n(71235);const i=["debug","info","warn","error","log","assert","trace"],o={};function a(e){if(!("console"in r.n2))return e();const t=r.n2.console,n={},i=Object.keys(o);i.forEach((e=>{const r=o[e];n[e]=t[e],t[e]=r}));try{return e()}finally{i.forEach((e=>{t[e]=n[e]}))}}const s=function(){let e=!1;const t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return"undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?i.forEach((n=>{t[n]=(...t)=>{e&&a((()=>{r.n2.console[n](`Sentry Logger [${n}]:`,...t)}))}})):i.forEach((e=>{t[e]=()=>{}})),t}()},62844:function(e,t,n){"use strict";n.d(t,{DM:function(){return o},Db:function(){return c},EG:function(){return l},YO:function(){return u},jH:function(){return s},lE:function(){return d}});var r=n(20535),i=n(71235);function o(){const e=i.n2,t=e.crypto||e.msCrypto;let n=()=>16*Math.random();try{if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,"");t&&t.getRandomValues&&(n=()=>t.getRandomValues(new Uint8Array(1))[0])}catch(r){}return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,(e=>(e^(15&n())>>e/4).toString(16)))}function a(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function s(e){const{message:t,event_id:n}=e;if(t)return t;const r=a(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function c(e,t,n){const r=e.exception=e.exception||{},i=r.values=r.values||[],o=i[0]=i[0]||{};o.value||(o.value=t||""),o.type||(o.type=n||"Error")}function l(e,t){const n=a(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}}function u(e){if(e&&e.__sentry_captured__)return!0;try{(0,r.xp)(e,"__sentry_captured__",!0)}catch(t){}return!1}function d(e){return Array.isArray(e)?e:[e]}},61422:function(e,t,n){"use strict";n.d(t,{KV:function(){return o},l$:function(){return a}});var r=n(68518);e=n.hmd(e);var i=n(83454);function o(){return!(0,r.n)()&&"[object process]"===Object.prototype.toString.call("undefined"!==typeof i?i:0)}function a(e,t){return e.require(t)}},20535:function(e,t,n){"use strict";n.d(t,{$Q:function(){return l},HK:function(){return u},Jr:function(){return g},Sh:function(){return f},_j:function(){return d},hl:function(){return s},xp:function(){return c},zf:function(){return m}});var r=n(58464),i=n(67597),o=n(12343),a=n(57321);function s(e,t,n){if(!(t in e))return;const r=e[t],i=n(r);"function"===typeof i&&l(i,r),e[t]=i}function c(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch(r){("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function l(e,t){try{const n=t.prototype||{};e.prototype=t.prototype=n,c(e,"__sentry_original__",t)}catch(n){}}function u(e){return e.__sentry_original__}function d(e){return Object.keys(e).map((t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`)).join("&")}function f(e){if((0,i.VZ)(e))return{message:e.message,name:e.name,stack:e.stack,...p(e)};if((0,i.cO)(e)){const t={type:e.type,target:h(e.target),currentTarget:h(e.currentTarget),...p(e)};return"undefined"!==typeof CustomEvent&&(0,i.V9)(e,CustomEvent)&&(t.detail=e.detail),t}return e}function h(e){try{return(0,i.kK)(e)?(0,r.Rt)(e):Object.prototype.toString.call(e)}catch(t){return"<unknown>"}}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 m(e,t=40){const n=Object.keys(f(e));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=t)return(0,a.$G)(n[0],t);for(let r=n.length;r>0;r--){const e=n.slice(0,r).join(", ");
1if(!(e.length>t))return r===n.length?e:(0,a.$G)(e,t)}return""}function g(e){return y(e,new Map)}function y(e,t){if((0,i.PO)(e)){const n=t.get(e);if(void 0!==n)return n;const r={};t.set(e,r);for(const i of Object.keys(e))"undefined"!==typeof e[i]&&(r[i]=y(e[i],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(y(e,t))})),r}return e}},57321:function(e,t,n){"use strict";n.d(t,{$G:function(){return i},U0:function(){return a},nK:function(){return o}});var r=n(67597);function i(e,t=0){return"string"!==typeof e||0===t||e.length<=t?e:`${e.slice(0,t)}...`}function o(e,t){if(!Array.isArray(e))return"";const n=[];for(let o=0;o<e.length;o++){const t=e[o];try{(0,r.y1)(t)?n.push("[VueViewModel]"):n.push(String(t))}catch(i){n.push("[value cannot be serialized]")}}return n.join(t)}function a(e,t=[],n=!1){return t.some((t=>function(e,t,n=!1){return!!(0,r.HD)(e)&&((0,r.Kj)(t)?t.test(e):!!(0,r.HD)(t)&&(n?e===t:e.includes(t)))}(e,t,n)))}},96893:function(e,t,n){"use strict";n.d(t,{$2:function(){return a},WD:function(){return o},cW:function(){return s}});var r,i=n(67597);function o(e){return new s((t=>{t(e)}))}function a(e){return new s(((t,n)=>{n(e)}))}!function(e){e[e.PENDING=0]="PENDING";e[e.RESOLVED=1]="RESOLVED";e[e.REJECTED=2]="REJECTED"}(r||(r={}));class s{constructor(e){s.prototype.__init.call(this),s.prototype.__init2.call(this),s.prototype.__init3.call(this),s.prototype.__init4.call(this),this._state=r.PENDING,this._handlers=[];try{e(this._resolve,this._reject)}catch(t){this._reject(t)}}then(e,t){return new s(((n,r)=>{this._handlers.push([!1,t=>{if(e)try{n(e(t))}catch(i){r(i)}else n(t)},e=>{if(t)try{n(t(e))}catch(i){r(i)}else r(e)}]),this._executeHandlers()}))}catch(e){return this.then((e=>e),e)}finally(e){return new s(((t,n)=>{let r,i;return this.then((t=>{i=!1,r=t,e&&e()}),(t=>{i=!0,r=t,e&&e()})).then((()=>{i?n(r):t(r)}))}))}__init(){this._resolve=e=>{this._setResult(r.RESOLVED,e)}}__init2(){this._reject=e=>{this._setResult(r.REJECTED,e)}}__init3(){this._setResult=(e,t)=>{this._state===r.PENDING&&((0,i.J8)(t)?t.then(this._resolve,this._reject):(this._state=e,this._value=t,this._executeHandlers()))}}__init4(){this._executeHandlers=()=>{if(this._state===r.PENDING)return;const e=this._handlers.slice();this._handlers=[],e.forEach((e=>{e[0]||(this._state===r.RESOLVED&&e[1](this._value),this._state===r.REJECTED&&e[2](this._value),e[0]=!0)}))}}}},21170:function(e,t,n){"use strict";n.d(t,{Z1:function(){return f},ph:function(){return u},yW:function(){return l}});var r=n(61422),i=n(71235);e=n.hmd(e);const o=(0,i.Rf)(),a={nowSeconds:()=>Date.now()/1e3};const s=(0,r.KV)()?function(){try{return(0,r.l$)(e,"perf_hooks").performance}catch(t){return}}():function(){const{performance:e}=o;if(!e||!e.now)return;return{now:()=>e.now(),timeOrigin:Date.now()-e.now()}}(),c=void 0===s?a:{nowSeconds:()=>(s.timeOrigin+s.now())/1e3},l=a.nowSeconds.bind(a),u=c.nowSeconds.bind(c);let d;const f=(()=>{const{performance:e}=o;if(!e||!e.now)return void(d="none");const t=36e5,n=e.now(),r=Date.now(),i=e.timeOrigin?Math.abs(e.timeOrigin+n-r):t,a=i<t,s=e.timing&&e.timing.navigationStart,c="number"===typeof s?Math.abs(s+n-r):t;return a||c<t?i<=c?(d="timeOrigin",e.timeOrigin):(d="navigationStart",s):(d="dateNow",r)})()},71235:function(e,t,n){"use strict";function r(e){return e&&e.Math==Math?e:void 0}n.d(t,{Rf:function(){return o},YO:function(){return a},n2:function(){return i}});const i="object"==typeof globalThis&&r(globalThis)||"object"==typeof window&&r(window)||"object"==typeof self&&r(self)||"object"==typeof n.g&&r(n.g)||function(){return this}()||{};function o(){return i}function a(e,t,n){const r=n||i,o=r.__SENTRY__=r.__SENTRY__||{};return o[e]||(o[e]=t())}},94184:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)){if(n.length){var a=i.apply(null,n);a&&e.push(a)}}else if("object"===o)if(n.toString===Object.prototype.toString)for(var s in n)r.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}
vendor: 4,227 bytes, line 1
1.apply(t,[]))||(e.exports=n)}()},86010:function(e,t,n){"use strict";function r(e){var t,n,i="";if("string"===typeof e||"number"===typeof e)i+=e;else if("object"===typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=r(e[t]))&&(i&&(i+=" "),i+=n);else for(t in e)e[t]&&(i&&(i+=" "),i+=t);return i}function i(){for(var e,t,n=0,i="";n<arguments.length;)(e=arguments[n++])&&(t=r(e))&&(i&&(i+=" "),i+=t);return i}n.r(t),n.d(t,{default:function(){return i}})},27484:function(e){e.exports=function(){"use strict";var e=1e3,t=6e4,n=36e5,r="millisecond",i="second",o="minute",a="hour",s="day",c="week",l="month",u="quarter",d="year",f="date",h="Invalid Date",p=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},y=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},v={s:y,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?"+":"-")+y(r,2,"0")+":"+y(i,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(r,l),o=n-i<0,a=t.clone().add(r+(o?-1:1),l);return+(-(r+(n-i)/(o?i-a:a-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:l,y:d,w:c,d:s,D:f,h:a,m:o,s:i,ms:r,Q:u}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},b="en",_={};_[b]=g;var x=function(e){return e instanceof O},w=function(e,t,n){var r;if(!e)return b;if("string"==typeof e)_[e]&&(r=e),t&&(_[e]=t,r=e);else{var i=e.name;_[i]=e,r=i}return!n&&r&&(b=r),r||!n&&b},S=function(e,t){if(x(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new O(n)},E=v;E.l=w,E.i=x,E.w=function(e,t){return S(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var O=function(){function g(e){this.$L=w(e.locale,null,!0),this.parse(e)}var y=g.prototype;return y.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(E.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(p);if(r){var i=r[2]-1||0,o=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)}}return new Date(t)}(e),this.$x=e.x||{},this.init()},y.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},y.$utils=function(){return E},y.isValid=function(){return!(this.$d.toString()===h)},y.isSame=function(e,t){var n=S(e);return this.startOf(t)<=n&&n<=this.endOf(t)},y.isAfter=function(e,t){return S(e)<this.startOf(t)},y.isBefore=function(e,t){return this.endOf(t)<S(e)},y.$g=function(e,t,n){return E.u(e)?this[t]:this.set(n,e)},y.unix=function(){return Math.floor(this.valueOf()/1e3)},y.valueOf=function(){return this.$d.getTime()},y.startOf=function(e,t){var n=this,r=!!E.u(t)||t,u=E.p(e),h=function(e,t){var i=E.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return r?i:i.endOf(s)},p=function(e,t){return E.w(n.toDate()[e].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},m=this.$W,g=this.$M,y=this.$D,v="set"+(this.$u?"UTC":"");switch(u){case d:return r?h(1,0):h(31,11);case l:return r?h(1,g):h(0,g+1);case c:var b=this.$locale().weekStart||0,_=(m<b?m+7:m)-b;return h(r?y-_:y+(6-_),g);case s:case f:return p(v+"Hours",0);case a:return p(v+"Minutes",1);case o:return p(v+"Seconds",2);case i:return p(v+"Milliseconds",3);default:return this.clone()}},y.endOf=function(e){return this.startOf(e,!1)},y.$set=function(e,t){var n,c=E.p(e),u="set"+(this.$u?"UTC":""),h=(n={},n[s]=u+"Date",n[f]=u+"Date",n[l]=u+"Month",n[d]=u+"FullYear",n[a]=u+"Hours",n[o]=u+"Minutes",n[i]=u+"Seconds",n[r]=u+"Milliseconds",n)[c],p=c===s?this.$D+(t-this.$W):t;if(c===l||c===d){var m=this.clone().set(f,1);
vendor: 4,695 bytes, line 1
1m.$d[h](p),m.init(),this.$d=m.set(f,Math.min(this.$D,m.daysInMonth())).$d}else h&&this.$d[h](p);return this.init(),this},y.set=function(e,t){return this.clone().$set(e,t)},y.get=function(e){return this[E.p(e)]()},y.add=function(r,u){var f,h=this;r=Number(r);var p=E.p(u),m=function(e){var t=S(h);return E.w(t.date(t.date()+Math.round(e*r)),h)};if(p===l)return this.set(l,this.$M+r);if(p===d)return this.set(d,this.$y+r);if(p===s)return m(1);if(p===c)return m(7);var g=(f={},f[o]=t,f[a]=n,f[i]=e,f)[p]||1,y=this.$d.getTime()+r*g;return E.w(y,this)},y.subtract=function(e,t){return this.add(-1*e,t)},y.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||h;var r=e||"YYYY-MM-DDTHH:mm:ssZ",i=E.z(this),o=this.$H,a=this.$m,s=this.$M,c=n.weekdays,l=n.months,u=function(e,n,i,o){return e&&(e[n]||e(t,r))||i[n].substr(0,o)},d=function(e){return E.s(o%12||12,e,"0")},f=n.meridiem||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r},p={YY:String(this.$y).slice(-2),YYYY:this.$y,M:s+1,MM:E.s(s+1,2,"0"),MMM:u(n.monthsShort,s,l,3),MMMM:u(l,s),D:this.$D,DD:E.s(this.$D,2,"0"),d:String(this.$W),dd:u(n.weekdaysMin,this.$W,c,2),ddd:u(n.weekdaysShort,this.$W,c,3),dddd:c[this.$W],H:String(o),HH:E.s(o,2,"0"),h:d(1),hh:d(2),a:f(o,a,!0),A:f(o,a,!1),m:String(a),mm:E.s(a,2,"0"),s:String(this.$s),ss:E.s(this.$s,2,"0"),SSS:E.s(this.$ms,3,"0"),Z:i};return r.replace(m,(function(e,t){return t||p[e]||i.replace(":","")}))},y.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},y.diff=function(r,f,h){var p,m=E.p(f),g=S(r),y=(g.utcOffset()-this.utcOffset())*t,v=this-g,b=E.m(this,g);return b=(p={},p[d]=b/12,p[l]=b,p[u]=b/3,p[c]=(v-y)/6048e5,p[s]=(v-y)/864e5,p[a]=v/n,p[o]=v/t,p[i]=v/e,p)[m]||v,h?b:E.a(b)},y.daysInMonth=function(){return this.endOf(l).$D},y.$locale=function(){return _[this.$L]},y.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=w(e,t,!0);return r&&(n.$L=r),n},y.clone=function(){return E.w(this.$d,this)},y.toDate=function(){return new Date(this.valueOf())},y.toJSON=function(){return this.isValid()?this.toISOString():null},y.toISOString=function(){return this.$d.toISOString()},y.toString=function(){return this.$d.toUTCString()},g}(),k=O.prototype;return S.prototype=k,[["$ms",r],["$s",i],["$m",o],["$H",a],["$W",s],["$M",l],["$y",d],["$D",f]].forEach((function(e){k[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),S.extend=function(e,t){return e.$i||(e(t,O,S),e.$i=!0),S},S.locale=w,S.isDayjs=x,S.unix=function(e){return S(1e3*e)},S.en=_[b],S.Ls=_,S.p={},S}()},76831:function(e,t,n){e.exports=function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e),r={name:"ja",weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),ordinal:function(e){return e+"\u65e5"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiem:function(e){return e<12?"\u5348\u524d":"\u5348\u5f8c"},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u6570\u79d2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65e5",dd:"%d\u65e5",M:"1\u30f6\u6708",MM:"%d\u30f6\u6708",y:"1\u5e74",yy:"%d\u5e74"}};return n.default.locale(r,null,!0),r}(n(27484))},1646:function(e){e.exports=function(){"use strict";var e,t,n=1e3,r=6e4,i=36e5,o=864e5,a=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,s=31536e6,c=2592e6,l=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,u={years:s,months:c,days:o,hours:i,minutes:r,seconds:n,milliseconds:1,weeks:6048e5},d=function(e){return e instanceof v},f=function(e,t,n){return new v(e,n,t.$l)},h=function(e){return t.p(e)+"s"},p=function(e){return e<0},m=function(e){return p(e)?Math.ceil(e):Math.floor(e)},g=function(e){return Math.abs(e)},y=function(e,t){return e?p(e)?{negative:!0,format:""+g(e)+t}:{negative:!1,format:""+e+t}:{negative:!1,format:""}}
1,v=function(){function p(e,t,n){var r=this;if(this.$d={},this.$l=n,void 0===e&&(this.$ms=0,this.parseFromMilliseconds()),t)return f(e*u[h(t)],this);if("number"==typeof e)return this.$ms=e,this.parseFromMilliseconds(),this;if("object"==typeof e)return Object.keys(e).forEach((function(t){r.$d[h(t)]=e[t]})),this.calMilliseconds(),this;if("string"==typeof e){var i=e.match(l);if(i){var o=i.slice(2).map((function(e){return null!=e?Number(e):0}));return this.$d.years=o[0],this.$d.months=o[1],this.$d.weeks=o[2],this.$d.days=o[3],this.$d.hours=o[4],this.$d.minutes=o[5],this.$d.seconds=o[6],this.calMilliseconds(),this}}return this}var g=p.prototype;return g.calMilliseconds=function(){var e=this;this.$ms=Object.keys(this.$d).reduce((function(t,n){return t+(e.$d[n]||0)*u[n]}),0)},g.parseFromMilliseconds=function(){var e=this.$ms;this.$d.years=m(e/s),e%=s,this.$d.months=m(e/c),e%=c,this.$d.days=m(e/o),e%=o,this.$d.hours=m(e/i),e%=i,this.$d.minutes=m(e/r),e%=r,this.$d.seconds=m(e/n),e%=n,this.$d.milliseconds=e},g.toISOString=function(){var e=y(this.$d.years,"Y"),t=y(this.$d.months,"M"),n=+this.$d.days||0;this.$d.weeks&&(n+=7*this.$d.weeks);var r=y(n,"D"),i=y(this.$d.hours,"H"),o=y(this.$d.minutes,"M"),a=this.$d.seconds||0;this.$d.milliseconds&&(a+=this.$d.milliseconds/1e3);var s=y(a,"S"),c=e.negative||t.negative||r.negative||i.negative||o.negative||s.negative,l=i.format||o.format||s.format?"T":"",u=(c?"-":"")+"P"+e.format+t.format+r.format+l+i.format+o.format+s.format;return"P"===u||"-P"===u?"P0D":u},g.toJSON=function(){return this.toISOString()},g.format=function(e){var n=e||"YYYY-MM-DDTHH:mm:ss",r={Y:this.$d.years,YY:t.s(this.$d.years,2,"0"),YYYY:t.s(this.$d.years,4,"0"),M:this.$d.months,MM:t.s(this.$d.months,2,"0"),D:this.$d.days,DD:t.s(this.$d.days,2,"0"),H:this.$d.hours,HH:t.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:t.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:t.s(this.$d.seconds,2,"0"),SSS:t.s(this.$d.milliseconds,3,"0")};return n.replace(a,(function(e,t){return t||String(r[e])}))},g.as=function(e){return this.$ms/u[h(e)]},g.get=function(e){var t=this.$ms,n=h(e);return"milliseconds"===n?t%=1e3:t="weeks"===n?m(t/u[n]):this.$d[n],0===t?0:t},g.add=function(e,t,n){var r;return r=t?e*u[h(t)]:d(e)?e.$ms:f(e,this).$ms,f(this.$ms+r*(n?-1:1),this)},g.subtract=function(e,t){return this.add(e,t,!0)},g.locale=function(e){var t=this.clone();return t.$l=e,t},g.clone=function(){return f(this.$ms,this)},g.humanize=function(t){return e().add(this.$ms,"ms").locale(this.$l).fromNow(!t)},g.milliseconds=function(){return this.get("milliseconds")},g.asMilliseconds=function(){return this.as("milliseconds")},g.seconds=function(){return this.get("seconds")},g.asSeconds=function(){return this.as("seconds")},g.minutes=function(){return this.get("minutes")},g.asMinutes=function(){return this.as("minutes")},g.hours=function(){return this.get("hours")},g.asHours=function(){return this.as("hours")},g.days=function(){return this.get("days")},g.asDays=function(){return this.as("days")},g.weeks=function(){return this.get("weeks")},g.asWeeks=function(){return this.as("weeks")},g.months=function(){return this.get("months")},g.asMonths=function(){return this.as("months")},g.years=function(){return this.get("years")},g.asYears=function(){return this.as("years")},p}();return function(n,r,i){e=i,t=i().$utils(),i.duration=function(e,t){var n=i.locale();return f(e,{$l:n},t)},i.isDuration=d;var o=r.prototype.add,a=r.prototype.subtract;r.prototype.add=function(e,t){return d(e)&&(e=e.asMilliseconds()),o.bind(this)(e,t)},r.prototype.subtract=function(e,t){return d(e)&&(e=e.asMilliseconds()),a.bind(this)(e,t)}}}()},66607:function(e){e.exports=function(){"use strict";return function(e,t,n){t.prototype.isBetween=function(e,t,r,i){var o=n(e),a=n(t),s="("===(i=i||"()")[0],c=")"===i[1];return(s?this.isAfter(o,r):!this.isBefore(o,r))&&(c?this.isBefore(a,r):!this.isAfter(a,r))||(s?this.isBefore(o,r):!this.isAfter(o,r))&&(c?this.isAfter(a,r):!this.isBefore(a,r))}}}()},9996:function(e){"use strict";var t=function(e){return function(e){return!!e&&"object"===typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===n}(e)}(e)};var n="function"===typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function r(e,t){return!1!==t.clone&&t.isMergeableObject(e)?c((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function i(e,t,n){return e.concat(t).map((function(e){return r(e,n)}))}function o(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function a(e,t){try{return t in e}catch(n){return!1}}function s(e,t,n){var i={};return n.isMergeableObject(e)&&o(e).forEach((function(t){i[t]=r(e[t],n)})),o(t).forEach((function(o){(function(e,t){return a(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,o)||(a(e,o)&&n.isMergeableObject(t[o])?i[o]=function(e,t){if(!t.customMerge)return c;var n=t.customMerge(e);return"function"===typeof n?n:c}(o,n)(e[o],t[o],n):i[o]=r(t[o],n))})),i}function c(e,n,o){(o=o||{}).arrayMerge=o.arrayMerge||i,o.isMergeableObject=o.isMergeableObject||t,o.cloneUnlessOtherwiseSpecified=r;var a=Array.isArray(n);return a===Array.isArray(e)?a?o.arrayMerge(e,n,o):s(e,n,o):r(n,o)}c.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return c(e,n,t)}),{})};var l=c;e.exports=l},53316:function(e){function t(e,t,n,r){var i,o=null==(i=r)||"number"===typeof i||"boolean"===typeof i?r:n(r),a=t.get(o);return"undefined"===typeof a&&(a=e.call(this,r),t.set(o,a)),a}function n(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),o=t.get(i);return"undefined"===typeof o&&(o=e.apply(this,r),t.set(i,o)),o}function r(e,t,n,r,i){return n.bind(t,e,r,i)}function i(e,i){return r(e,this,1===e.length?t:n,i.cache.create(),i.serializer)}function o(){return JSON.stringify(arguments)}function a(){this.cache=Object.create(null)}a.prototype.has=function(e){return e in this.cache},a.prototype.get=function(e){return this.cache[e]},a.prototype.set=function(e,t){this.cache[e]=t};var s={create:function(){return new a}};e.exports=function(e,t){var n=t&&t.cache?t.cache:s,r=t&&t.serializer?t.serializer:o;return(t&&t.strategy?t.strategy:i)(e,{cache:n,serializer:r})},e.exports.strategies={variadic:function(e,t){return r(e,this,n,t.cac
vendor: 8,815 bytes, line 1
1he.create(),t.serializer)},monadic:function(e,n){return r(e,this,t,n.cache.create(),n.serializer)}}},8679:function(e,t,n){"use strict";var r=n(59864),i={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},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(e){return r.isMemo(e)?a:s[e.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var l=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(p){var i=h(n);i&&i!==p&&e(t,i,r)}var a=u(n);d&&(a=a.concat(d(n)));for(var s=c(t),m=c(n),g=0;g<a.length;++g){var y=a[g];if(!o[y]&&(!r||!r[y])&&(!m||!m[y])&&(!s||!s[y])){var v=f(n,y);try{l(t,y,v)}catch(b){}}}}return t}},18172:function(e,t,n){"use strict";function r(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+e+(n.length?" "+n.map((function(e){return"'"+e+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function i(e){return!!e&&!!e[Y]}function o(e){return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===W}(e)||Array.isArray(e)||!!e[$]||!!e.constructor[$]||f(e)||h(e))}function a(e,t,n){void 0===n&&(n=!1),0===s(e)?(n?Object.keys:G)(e).forEach((function(r){n&&"symbol"==typeof r||t(r,e[r],e)})):e.forEach((function(n,r){return t(r,n,e)}))}function s(e){var t=e[Y];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:f(e)?2:h(e)?3:0}function c(e,t){return 2===s(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function l(e,t){return 2===s(e)?e.get(t):e[t]}function u(e,t,n){var r=s(e);2===r?e.set(t,n):3===r?(e.delete(t),e.add(n)):e[t]=n}function d(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function f(e){return B&&e instanceof Map}function h(e){return z&&e instanceof Set}function p(e){return e.o||e.t}function m(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=q(e);delete t[Y];for(var n=G(t),r=0;r<n.length;r++){var i=n[r],o=t[i];!1===o.writable&&(o.writable=!0,o.configurable=!0),(o.get||o.set)&&(t[i]={configurable:!0,writable:!0,enumerable:o.enumerable,value:e[i]})}return Object.create(Object.getPrototypeOf(e),t)}function g(e,t){return void 0===t&&(t=!1),v(e)||i(e)||!o(e)||(s(e)>1&&(e.set=e.add=e.clear=e.delete=y),Object.freeze(e),t&&a(e,(function(e,t){return g(t,!0)}),!0)),e}function y(){r(2)}function v(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function b(e){var t=K[e];return t||r(18,e),t}function _(){return U}function x(e,t){t&&(b("Patches"),e.u=[],e.s=[],e.v=t)}function w(e){S(e),e.p.forEach(O),e.p=null}function S(e){e===U&&(U=e.l)}function E(e){return U={p:[],l:U,h:e,m:!0,_:0}}function O(e){var t=e[Y];0===t.i||1===t.i?t.j():t.O=!0}function k(e,t){t._=t.p.length;var n=t.p[0],i=void 0!==e&&e!==n;return t.h.g||b("ES5").S(t,e,i),i?(n[Y].P&&(w(t),r(4)),o(e)&&(e=T(t,e),t.l||j(t,e)),t.u&&b("Patches").M(n[Y],e,t.u,t.s)):e=T(t,n,[]),w(t),t.u&&t.v(t.u,t.s),e!==H?e:void 0}function T(e,t,n){if(v(t))return t;var r=t[Y];if(!r)return a(t,(function(i,o){return P(e,r,t,i,o,n)}),!0),t;if(r.A!==e)return t;if(!r.P)return j(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=m(r.k):r.o;a(3===r.i?new Set(i):i,(function(t,o){return P(e,r,i,t,o,n)})),j(e,i,!1),n&&e.u&&b("Patches").R(r,n,e.u,e.s)}return r.o}function P(e,t,n,r,a,s){if(i(a)){var l=T(e,a,s&&t&&3!==t.i&&!c(t.D,r)?s.concat(r):void 0);if(u(n,r,l),!i(l))return;e.m=!1}if(o(a)&&!v(a)){if(!e.h.F&&e._<1)return;T(e,a),t&&t.A.l||j(e,a)}}function j(e,t,n){void 0===n&&(n=!1),e.h.F&&e.m&&g(t,n)}function D(e,t){var n=e[Y];return(n?p(n):e)[t]}function C(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function M(e){e.P||(e.P=!0,e.l&&M(e.l))}function R(e){e.o||(e.o=m(e.t))}function N(e,t,n){var r=f(t)?b("MapSet").N(t,n):h(t)?b("MapSet").T(t,n):e.g?function(e,t){var n=Array.isArray(e),r={i:n?1:0,A:t?t.A:_(),P:!1,I:!1,D:{},l:t,t:e,k:null,o:null,j:null,C:!1},i=r,o=X;n&&(i=[r],o=Z);var a=Proxy.revocable(i,o),s=a.revoke,c=a.proxy;return r.k=c,r.j=s,c}(t,n):b("ES5").J(t,n);return(n?n.A:_()).p.push(r),r}function A(e){return i(e)||r(22,e),function e(t){if(!o(t))return t;var n,r=t[Y],i=s(t);if(r){if(!r.P&&(r.i<4||!b("ES5").K(r)))return r.t;r.I=!0,n=I(t,i),r.I=!1}else n=I(t,i);return a(n,(function(t,i){r&&l(r.t,t)===i||u(n,t,e(i))})),3===i?new Set(n):n}(e)}function I(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return m(e)}var L,U,V="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),B="undefined"!=typeof Map,z="undefined"!=typeof Set,F="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,H=V?Symbol.for("immer-nothing"):((L={})["immer-nothing"]=!0,L),$=V?Symbol.for("immer-draftable"):"__$immer_draftable",Y=V?Symbol.for("immer-state"):"__$immer_state",W=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),G="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,q=Object.getOwnPropertyDescriptors||function(e){var t={};return G(e).forEach((function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)})),t},K={},X={get:function(e,t){if(t===Y)return e;var n=p(e);if(!c(n,t))return function(e,t,n){var r,i=C(t,n);return i?"value"in i?i.value:null===(r=i.get)||void 0===r?void 0:r.call(e.k):void 0}(e,n,t);var r=n[t];return e.I||!o(r)?r:r===D(e.t,t)?(R(e),e.o[t]=N(e.A.h,r,e)):r},has:function(e,t){return t in p(e)},ownKeys:function(e){return Reflect.ownKeys(p(e))},set:function(e,t,n){var r=C(p(e),t);if(null==r?void 0:r.set)return r.set.call(e.k,n),!0;if(!e.P){var i=D(p(e),t),o=null==i?void 0:i[Y];if(o&&o.t===n)return e.o[t]=n,e.D[t]=!1,!0;if(d(n,i)&&(void 0!==n||c(e.t,t)))return!0;R(e),M(e)}return e.o[t]===n&&"number"!=typeof n&&(void 0!==n||t in e.o)||(e.o[t]=n,e.D[t]=!0,!0)},deleteProperty:function(e,t){return void 0!==D(e.t,t)||t in e.t?(e.D[t]=!1,R(e),M(e)):delete e.D[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=p(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:r.enumerable,value:n[t]}:r},defineProperty:function(){r(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){r(12)}},Z={};a(X,(function(e,t){Z[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),Z.deleteProperty=function(e,t){return X.deleteProperty.call(this,e[0],t)},Z.set=function(e,t,n){return X.set.call(this,e[0],t,n,e[0])};var J=function(){function e(e){var t=this;this.g=F,this.F=!0,this.produce=function(e,n,i){if("function"==typeof e&&"function"!=typeof n){var a=n;n=e;var s=t;return function(e){var t=this;void 0===e&&(e=a);for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];return s.produce(e,(function(e){var r;return(r=n).call.apply(r,[t,e].concat(i))}))}}var c;if("function"!=typeof n&&r(6),void 0!==i&&"function"!=typeof i&&r(7),o(e)){var l=E(t),u=N(t,e,void 0),d=!0;try{c=n(u),d=!1}finally{d?w(l):S(l)}return"undefined"!=typeof Promise&&c instanceof Promise?c.then((function(e){return x(l,i),k(e,l)}),(function(e){throw w(l),e})):(x(l,i),k(c,l))}if(!e||"object"!=typeof e){if((c=n(e))===H)return;return void 0===c&&(c=e),t.F&&g(c,!0),c}r(21,e)},this.produceWithPatches=function(e,n){return"function"==typeof e?function(n){for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];return t.produceWithPatches(n,(function(t){return e.apply(void 0,[t].concat(i))}))}:[t.produce(e,n,(function(e,t){r=e,i=t})),r,i];var r,i},"boolean"==typeof(null==e?void 0:e.useProxies)&&this.setUseProxies(e.useProxies),"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze)}var t=e.prototype;return t.createDraft=function(e){o(e)||r(8),i(e)&&(e=A(e));var t=E(this),n=N(this,e,void 0);return n[Y].C=!0,S(t),n},t.finishDraft=function(e,t){var n=(e&&e[Y]).A;return x(n,t),k(void 0,n)},t.setAutoFreeze=function(e){this.F=e},t.setUseProxies=function(e){e&&!F&&r(20),this.g=e},t.applyPatches=function(e,t){var n;for(n=t.length-1;n>=0;n--){var r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}n>
1-1&&(t=t.slice(n+1));var o=b("Patches").$;return i(e)?o(e,t):this.produce(e,(function(e){return o(e,t)}))},e}(),Q=new J,ee=Q.produce;Q.produceWithPatches.bind(Q),Q.setAutoFreeze.bind(Q),Q.setUseProxies.bind(Q),Q.applyPatches.bind(Q),Q.createDraft.bind(Q),Q.finishDraft.bind(Q);t.ZP=ee},49090:function(e){function t(e,t){e.onload=function(){this.onerror=this.onload=null,t(null,e)},e.onerror=function(){this.onerror=this.onload=null,t(new Error("Failed to load "+this.src),e)}}function n(e,t){e.onreadystatechange=function(){"complete"!=this.readyState&&"loaded"!=this.readyState||(this.onreadystatechange=null,t(null,e))}}e.exports=function(e,r,i){var o=document.head||document.getElementsByTagName("head")[0],a=document.createElement("script");"function"===typeof r&&(i=r,r={}),r=r||{},i=i||function(){},a.type=r.type||"text/javascript",a.charset=r.charset||"utf8",a.async=!("async"in r)||!!r.async,a.src=e,r.attrs&&function(e,t){for(var n in t)e.setAttribute(n,t[n])}(a,r.attrs),r.text&&(a.text=""+r.text),("onload"in a?t:n)(a,i),a.onload||t(a,i),o.appendChild(a)}},30845:function(e,t,n){"use strict";n.r(t);var r=Number.isNaN||function(e){return"number"===typeof e&&e!==e};function i(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(i=e[n],o=t[n],!(i===o||r(i)&&r(o)))return!1;var i,o;return!0}t.default=function(e,t){var n;void 0===t&&(t=i);var r,o=[],a=!1;return function(){for(var i=[],s=0;s<arguments.length;s++)i[s]=arguments[s];return a&&n===this&&t(i,o)||(r=e.apply(this,i),a=!0,n=this,o=i),r}}},40984:function(e,t,n){"use strict";n.d(t,{g:function(){return c},y:function(){return je}});var r=n(95627),i=n.n(r),o=n(43547),a=n.n(o),s=n(85893),c=function(e){var t=e.onChange,n=e.checked,r=e.onClick,o=e.disabled;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("label",{className:i().dynamic([["1540833222",[a().theme.colors.rouge]]])+" switch",children:[(0,s.jsx)("input",{type:"checkbox",checked:n,onChange:function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(){return null===t||void 0===t?void 0:t()})),onClick:function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(){return null===r||void 0===r?void 0:r()})),disabled:o,className:i().dynamic([["1540833222",[a().theme.colors.rouge]]])}),(0,s.jsx)("span",{className:i().dynamic([["1540833222",[a().theme.colors.rouge]]])+" slider round"})]}),(0,s.jsx)(i(),{id:"1540833222",dynamic:[a().theme.colors.rouge],children:[".switch.__jsx-style-dynamic-selector{position:relative;display:inline-block;width:60px;height:34px;}",".switch.__jsx-style-dynamic-selector input[type='checkbox'].__jsx-style-dynamic-selector{opacity:0;width:0;height:0;}",".switch.__jsx-style-dynamic-selector .slider.__jsx-style-dynamic-selector{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#ccc;-webkit-transition:0.4s;transition:0.4s;}",".switch.__jsx-style-dynamic-selector .slider.round.__jsx-style-dynamic-selector{border-radius:34px;}",".switch.__jsx-style-dynamic-selector .slider.round.__jsx-style-dynamic-selector:before{border-radius:50%;}",".switch.__jsx-style-dynamic-selector .slider.__jsx-style-dynamic-selector:before{position:absolute;content:'';height:26px;width:26px;left:4px;bottom:4px;background-color:white;-webkit-transition:0.4s;transition:0.4s;}",".switch.__jsx-style-dynamic-selector input.__jsx-style-dynamic-selector:checked+.slider.__jsx-style-dynamic-selector{--tw-bg-opacity:1;background-color:rgba(188,0,16,var(--tw-bg-opacity));}",".switch.__jsx-style-dynamic-selector input.__jsx-style-dynamic-selector:focus+.slider.__jsx-style-dynamic-selector{box-shadow:0 0 1px ".concat(a().theme.colors.rouge,";}"),".switch.__jsx-style-dynamic-selector input.__jsx-style-dynamic-selector:checked+.slider.__jsx-style-dynamic-selector:before{-webkit-transform:translateX(26px);-ms-transform:translateX(26px);transform:translateX(26px);}"]})]})},l=n(67294);function u(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function d(e){return u(1,arguments),e instanceof Date||"object"===typeof e&&"[object Date]"===Object.prototype.toString.call(e)}function f(e){u(1,arguments);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.
11 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))}function h(e){if(u(1,arguments),!d(e)&&"number"!==typeof e)return!1;var t=f(e);return!isNaN(Number(t))}function p(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)}function m(e,t){u(2,arguments);var n=f(e).getTime(),r=p(t);return new Date(n+r)}function g(e,t){u(2,arguments);var n=p(t);return m(e,-n)}var y=864e5;function v(e){u(1,arguments);var t=1,n=f(e),r=n.getUTCDay(),i=(r<t?7:0)+r-t;return n.setUTCDate(n.getUTCDate()-i),n.setUTCHours(0,0,0,0),n}function b(e){u(1,arguments);var t=f(e),n=t.getUTCFullYear(),r=new Date(0);r.setUTCFullYear(n+1,0,4),r.setUTCHours(0,0,0,0);var i=v(r),o=new Date(0);o.setUTCFullYear(n,0,4),o.setUTCHours(0,0,0,0);var a=v(o);return t.getTime()>=i.getTime()?n+1:t.getTime()>=a.getTime()?n:n-1}function _(e){u(1,arguments);var t=b(e),n=new Date(0);n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0);var r=v(n);return r}var x=6048e5;var w={};function S(){return w}function E(e,t){var n,r,i,o,a,s,c,l;u(1,arguments);var d=S(),h=p(null!==(n=null!==(r=null!==(i=null!==(o=null===t||void 0===t?void 0:t.weekStartsOn)&&void 0!==o?o:null===t||void 0===t||null===(a=t.locale)||void 0===a||null===(s=a.options)||void 0===s?void 0:s.weekStartsOn)&&void 0!==i?i:d.weekStartsOn)&&void 0!==r?r:null===(c=d.locale)||void 0===c||null===(l=c.options)||void 0===l?void 0:l.weekStartsOn)&&void 0!==n?n:0);if(!(h>=0&&h<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var m=f(e),g=m.getUTCDay(),y=(g<h?7:0)+g-h;return m.setUTCDate(m.getUTCDate()-y),m.setUTCHours(0,0,0,0),m}function O(e,t){var n,r,i,o,a,s,c,l;u(1,arguments);var d=f(e),h=d.getUTCFullYear(),m=S(),g=p(null!==(n=null!==(r=null!==(i=null!==(o=null===t||void 0===t?void 0:t.firstWeekContainsDate)&&void 0!==o?o:null===t||void 0===t||null===(a=t.locale)||void 0===a||null===(s=a.options)||void 0===s?void 0:s.firstWeekContainsDate)&&void 0!==i?i:m.firstWeekContainsDate)&&void 0!==r?r:null===(c=m.locale)||void 0===c||null===(l=c.options)||void 0===l?void 0:l.firstWeekContainsDate)&&void 0!==n?n:1);if(!(g>=1&&g<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var y=new Date(0);y.setUTCFullYear(h+1,0,g),y.setUTCHours(0,0,0,0);var v=E(y,t),b=new Date(0);b.setUTCFullYear(h,0,g),b.setUTCHours(0,0,0,0);var _=E(b,t);return d.getTime()>=v.getTime()?h+1:d.getTime()>=_.getTime()?h:h-1}function k(e,t){var n,r,i,o,a,s,c,l;u(1,arguments);var d=S(),f=p(null!==(n=null!==(r=null!==(i=null!==(o=null===t||void 0===t?void 0:t.firstWeekContainsDate)&&void 0!==o?o:null===t||void 0===t||null===(a=t.locale)||void 0===a||null===(s=a.options)||void 0===s?void 0:s.firstWeekContainsDate)&&void 0!==i?i:d.firstWeekContainsDate)&&void 0!==r?r:null===(c=d.locale)||void 0===c||null===(l=c.options)||void 0===l?void 0:l.firstWeekContainsDate)&&void 0!==n?n:1),h=O(e,t),m=new Date(0);m.setUTCFullYear(h,0,f),m.setUTCHours(0,0,0,0);var g=E(m,t);return g}var T=6048e5;function P(e,t){for(var n=e<0?"-":"",r=Math.abs(e).toString();r.length<t;)r="0"+r;return n+r}var j={y:function(e,t){var n=e.getUTCFullYear(),r=n>0?n:1-n;return P("yy"===t?r%100:r,t.length)},M:function(e,t){var n=e.getUTCMonth();return"M"===t?String(n+1):P(n+1,2)},d:function(e,t){return P(e.getUTCDate(),t.length)},a:function(e,t){var n=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:function(e,t){return P(e.getUTCHours()%12||12,t.length)},H:function(e,t){return P(e.getUTCHours(),t.length)},m:function(e,t){return P(e.getUTCMinutes(),t.length)},s:function(e,t){return P(e.getUTCSeconds(),t.length)},S:function(e,t){var n=t.length,r=e.getUTCMilliseconds();return P(Math.floor(r*Math.pow(10,n-3)),t.length)}},D="midnight",C="noon",M="morning",R="afternoon",N="evening",A="night",I={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(),i=r>0?r:1-r;return n.ordinalNumber(i,{unit:"year"})}return j.y(e,t)},Y:function(e,t,n,r){var i=O(e,r),o=i>0?i:1-i;return"YY"===t?P(o%100,2):"Yo"===t?n.ordinalNumber(o,{unit:"year"}):P(o,t.length)},R:function(e,t){return P(b(e),t.length)},u:function(e,t){return P(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 P(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 P(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 j.M(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 P(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 i=function(e,t){u(1,arguments);var n=f(e),r=E(n,t).getTime()-k(n,t).getTime();return Math.round(r/T)+1}(e,r);return"wo"===t?n.ordinalNumber(i,{unit:"week"}):P(i,t.length)},I:function(e,t,n){var r=function(e){u(1,arguments);var t=f(e),n=v(t).getTime()-_(t).getTime();return Math.round(n/x)+1}(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):P(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getUTCDate(),{unit:"date"}):j.d(e,t)},D:function(e,t,n){var r=function(e){u(1,arguments);var t=f(e),n=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var r=t.getTime(),i=n-r;return Math.floor(i/y)+1}(e);return"Do"===t?n.ordinalNumber(r,{unit:"dayOfYear"}):P(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 i=e.getUTCDay(),o=(i-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return P(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){var i=e.getUTCDay(),o=(i-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return P(o,t.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,n){var r=e.getUTCDay(),i=0===r?7:r;switch(t){case"i":return String(i);case"ii":return P(i,t.length);case"io":return n.ordinalNumber(i,{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,i=e.getUTCHours();switch(r=12===i?C:0===i?D:i/12>
vendor: 3,600 bytes, line 1
1=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,i=e.getUTCHours();switch(r=i>=17?N:i>=12?R:i>=4?M:A,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 j.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getUTCHours(),{unit:"hour"}):j.H(e,t)},K:function(e,t,n){var r=e.getUTCHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):P(r,t.length)},k:function(e,t,n){var r=e.getUTCHours();return 0===r&&(r=24),"ko"===t?n.ordinalNumber(r,{unit:"hour"}):P(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):j.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):j.s(e,t)},S:function(e,t){return j.S(e,t)},X:function(e,t,n,r){var i=(r._originalDate||e).getTimezoneOffset();if(0===i)return"Z";switch(t){case"X":return U(i);case"XXXX":case"XX":return V(i);default:return V(i,":")}},x:function(e,t,n,r){var i=(r._originalDate||e).getTimezoneOffset();switch(t){case"x":return U(i);case"xxxx":case"xx":return V(i);default:return V(i,":")}},O:function(e,t,n,r){var i=(r._originalDate||e).getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+L(i,":");default:return"GMT"+V(i,":")}},z:function(e,t,n,r){var i=(r._originalDate||e).getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+L(i,":");default:return"GMT"+V(i,":")}},t:function(e,t,n,r){var i=r._originalDate||e;return P(Math.floor(i.getTime()/1e3),t.length)},T:function(e,t,n,r){return P((r._originalDate||e).getTime(),t.length)}};function L(e,t){var n=e>0?"-":"+",r=Math.abs(e),i=Math.floor(r/60),o=r%60;if(0===o)return n+String(i);var a=t||"";return n+String(i)+a+P(o,2)}function U(e,t){return e%60===0?(e>0?"-":"+")+P(Math.abs(e)/60,2):V(e,t)}function V(e,t){var n=t||"",r=e>0?"-":"+",i=Math.abs(e);return r+P(Math.floor(i/60),2)+n+P(i%60,2)}var B=I,z=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"})}},F=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"})}},H={p:F,P:function(e,t){var n,r=e.match(/(P+)(p+)?/)||[],i=r[1],o=r[2];if(!o)return z(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}}",z(i,t)).replace("{{time}}",F(o,t))}},$=H;function Y(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()}var W=["D","DD"],G=["YY","YYYY"];function q(e){return-1!==W.indexOf(e)}function K(e){return-1!==G.indexOf(e)}function X(e,t,n){if("YYYY"===e)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").
1concat(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"))}var Z={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"}},J=function(e,t,n){var r,i=Z[e];return r="string"===typeof i?i:1===t?i.one:i.other.replace("{{count}}",t.toString()),null!==n&&void 0!==n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function Q(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth,r=e.formats[n]||e.formats[e.defaultWidth];return r}}var ee={date:Q({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:Q({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:Q({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},te={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},ne=function(e,t,n,r){return te[e]};function re(e){return function(t,n){var r;if("formatting"===(null!==n&&void 0!==n&&n.context?String(n.context):"standalone")&&e.formattingValues){var i=e.defaultFormattingWidth||e.defaultWidth,o=null!==n&&void 0!==n&&n.width?String(n.width):i;r=e.formattingValues[o]||e.formattingValues[i]}else{var a=e.defaultWidth,s=null!==n&&void 0!==n&&n.width?String(n.width):e.defaultWidth;r=e.values[s]||e.values[a]}return r[e.argumentCallback?e.argumentCallback(t):t]}}var ie={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:re({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:re({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:re({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:re({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:re({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"})};function oe(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.width,i=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],o=t.match(i);if(!o)return null;var a,s=o[0],c=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(c)?se(c,(function(e){return e.test(s)})):ae(c,(function(e){return e.test(s)}));a=e.valueCallback?e.valueCallback(l):l,a=n.valueCallback?n.valueCallback(a):a;var u=t.slice(s.length);return{value:a,rest:u}}}function ae(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function se(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return n}var ce,le={ordinalNumber:(ce={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.match(ce.matchPattern);if(!n)return null;var r=n[0],i=e.match(ce.parsePattern);if(!i)return null;var o=ce.valueCallback?ce.valueCallback(i[0]):i[0];o=t.valueCallback?t.valueCallback(o):o;var a=e.slice(r.length);return{value:o,rest:a}}),era:oe({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:oe({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:oe({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:oe({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:oe({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"})},ue={code:"en-US",formatDistance:J,formatLong:ee,formatRelative:ne,localize:ie,match:le,options:{weekStartsOn:0,firstWeekContainsDate:1}},de=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,fe=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,he=/^'([^]*?)'?$/,pe=/''/g,me=/[a-zA-Z]/;function ge(e,t,n){var r,i,o,a,s,c,l,d,m,y,v,b,_,x,w,E,O,k;u(2,arguments);var T=String(t),P=S(),j=null!==(r=null!==(i=null===n||void 0===n?void 0:n.locale)&&void 0!==i?i:P.locale)&&void 0!==r?r:ue,D=p(null!==(o=null!==(a=null!==(s=null!==(c=null===n||void 0===n?void 0:n.firstWeekContainsDate)&&void 0!==c?c:null===n||void 0===n||null===(l=n.locale)||void 0===l||null===(d=l.options)||void 0===d?void 0:d.firstWeekContainsDate)&&void 0!==s?s:P.firstWeekContainsDate)&&void 0!==a?a:null===(m=P.locale)||void 0===m||null===(y=m.options)||void 0===y?void 0:y.firstWeekContainsDate)&&void 0!==o?o:1);if(!(D>=1&&D<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var C=p(null!==(v=null!==(b=null!==(_=null!==(x=null===n||void 0===n?void 0:n.weekStartsOn)&&void 0!==x?x:null===n||void 0===n||null===(w=n.locale)||void 0===w||null===(E=w.options)||void 0===E?void 0:E.weekStartsOn)&&void 0!==_?_:P.weekStartsOn)&&void 0!==b?b:null===(O=P.locale)||void 0===O||null===(k=O.options)||void 0===k?void 0:k.weekStartsOn)&&void 0!==v?v:0);if(!(C>=0&&C<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!j.localize)throw new RangeError("locale must contain localize property");if(!j.formatLong)throw new RangeError("locale must contain formatLong property");var M=f(e);if(!h(M))throw new RangeError("Invalid time value");var R=Y(M),N=g(M,R),A={firstWeekContainsDate:D,weekStartsOn:C,locale:j,_originalDate:M},I=T.match(fe).map((function(e){var t=e[0];return"p"===t||"P"===t?(0,$[t])(e,j.formatLong):e})).join("").match(de).map((function(r){if("''"===r)return"'";var i=r[0];if("'"===i)return ye(r);var o=B[i];if(o)return null!==n&&void 0!==n&&n.useAdditionalWeekYearTokens||!K(r)||X(r,t,String(e)),null!==n&&void 0!==n&&n.useAdditionalDayOfYearTokens||!q(r)||X(r,t,String(e)),o(N,r,j.localize,A);
1if(i.match(me))throw new RangeError("Format string contains an unescaped latin alphabet character `"+i+"`");return r})).join("");return I}function ye(e){var t=e.match(he);return t?t[1].replace(pe,"'"):e}function ve(e,t){if(e>t)return ve(t,e).reverse();const n=[];for(let r=e;r<=t;r++)n.push(r);return n}function be(e,t){return("0".repeat(t-1)+e.toString()).slice(-t)}function _e(e,t,n){if(!function(e,t,n){if(arguments.length<3)throw new TypeError("3 argument required, but only "+arguments.length+" present");var r=new Date(e,t,n);return r.getFullYear()===e&&r.getMonth()===t&&r.getDate()===n}(e,t-1,n))return null;return be(e,4)+"-"+be(t,2)+"-"+be(n,2)}function xe(e){const t=new Date(e),n=t.getFullYear(),r=t.getMonth()+1,i=t.getDate();return isNaN(n)||isNaN(r)||isNaN(i)?{year:"",month:"",day:""}:{year:n.toString(),month:r.toString(),day:i.toString()}}function we(e){return parseInt(e)}function Se(e){return e.toString()}const Ee=(e,t,n={})=>{const[r,i]=(0,l.useState)((()=>{const{defaultYear:e,defaultMonth:t,defaultDay:r}=function(e){const t=new Date;let n=null;null!=e.defaultYear&&("now"===e.defaultYear?n=t.getFullYear():"number"===typeof e.defaultYear&&(n=e.defaultYear));let r=null;null!=e.defaultMonth&&("now"===e.defaultMonth?r=t.getMonth()+1:"number"===typeof e.defaultMonth&&(r=e.defaultMonth));let i=null;return null!=e.defaultDay&&("now"===e.defaultDay?i=t.getDate():"number"===typeof e.defaultDay&&(i=e.defaultDay)),{defaultYear:n,defaultMonth:r,defaultDay:i}}(n);return{yearValue:e?Se(e):"",monthValue:t?Se(t):"",dayValue:r?Se(r):"",dateString:null,changeCount:0}})),o=(0,l.useCallback)((({year:e,month:t,day:n})=>{i((r=>{const i=null!==e&&void 0!==e?e:r.yearValue,o=null!==t&&void 0!==t?t:r.monthValue,a=null!==n&&void 0!==n?n:r.dayValue;return{yearValue:i,monthValue:o,dayValue:a,dateString:_e(we(i),we(o),we(a)),changeCount:r.changeCount+1}}))}),[]),a=(0,l.useCallback)((e=>{const{year:t,month:n,day:r}=xe(e);i((i=>({yearValue:t,monthValue:n,dayValue:r,dateString:e,changeCount:i.changeCount})))}),[]),s=(0,l.useRef)(!1);(0,l.useEffect)((()=>{s.current&&t(r.dateString||"")}),[r.changeCount]),(0,l.useEffect)((()=>(s.current=!0,()=>{s.current=!1})),[]),(0,l.useEffect)((()=>{if("string"!==typeof e)return;(r.dateString||"")!==e&&a(e)}),[a,e]);const c=n.locale,u=n.yearFormat,d=(0,l.useMemo)((()=>ve(null!=n.firstYear?n.firstYear:2e3,null!=n.lastYear?n.lastYear:(new Date).getFullYear()).map((e=>{const t=u?ge(new Date(e,0,1),u,{locale:c}):e.toString();return{value:Se(e),label:t}}))),[n.firstYear,n.lastYear,c,u]),f=n.monthFormat,h=(0,l.useMemo)((()=>ve(1,12).map((e=>({label:f?ge(new Date(1960,e-1),f,{locale:c}):e.toString(),value:Se(e)})))),[c,f]),p=n.dayFormat,m=(0,l.useMemo)((()=>ve(1,31).map((e=>({label:p?ge(new Date(1960,0,e),p,{locale:c}):e.toString(),value:Se(e)})))),[c,p]),g=(0,l.useMemo)((()=>{if(""!==r.yearValue&&!d.some((e=>e.value===r.yearValue))){let t;try{t=u?ge(new Date(we(r.yearValue),0,1),u,{locale:c}):r.yearValue}catch(e){t=r.yearValue}return d.concat({label:t,value:r.yearValue})}return d}),[r.yearValue,d]);return{yearValue:r.yearValue,monthValue:r.monthValue,dayValue:r.dayValue,yearOptions:g,monthOptions:h,dayOptions:m,onYearChange:(0,l.useCallback)((e=>{const t="string"===typeof e?e:e.target.value;o({year:t})}),[o]),onMonthChange:(0,l.useCallback)((e=>{const t="string"===typeof e?e:e.target.value;o({month:t})}),[o]),onDayChange:(0,l.useCallback)((e=>{const t="string"===typeof e?e:e.target.value;o({day:t})}),[o]),dateValue:r.dateString,onDateChange:(0,l.useCallback)((e=>{const t="string"===typeof e?e:e.target.value,{year:n,month:r,day:i}=xe(t);o({year:n,month:r,day:i})}),[o]),setDate:a}};var Oe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};const ke=l.forwardRef(((e,t)=>{const{onChange:n,value:r}=e,i=Oe(e,["onChange","value"]),o=Ee(r,n,i);return e.render(Object.assign(Object.assign({},o),{ref:t}))}));ke.displayName="DateSelect";var Te=n(89417),Pe=l.forwardRef((function(e,t){var n=Ee(e.value,e.onChange,{firstYear:1900,defaultYear:2e3});return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("label",{className:"jsx-".concat(Te.Y.__hash),children:[(0,s.jsx)("select",{disabled:null===e||void 0===e?void 0:e.disabled,value:n.yearValue,onChange:n.onYearChange,className:"jsx-".concat(Te.Y.__hash)+" "+"".concat((null===e||void 0===e?void 0:e.hasError)&&"has-error"),children:n.yearOptions.map((function(e){return(0,s.jsx)("option",{value:e.value,className:"jsx-".concat(Te.Y.__hash),children:e.label},e.value)}))}),"\u5e74"]}),(0,s.jsxs)("label",{className:"jsx-".concat(Te.Y.__hash),children:[(0,s.jsxs)("select",{value:n.monthValue,onChange:n.onMonthChange,disabled:null===e||void 0===e?void 0:e.disabled,className:"jsx-".concat(Te.Y.__hash)+" "+"".concat((null===e||void 0===e?void 0:e.hasError)&&"has-error"),children:[(0,s.jsx)("option",{value:"",className:"jsx-".concat(Te.Y.__hash)}),n.monthOptions.map((function(e){return(0,s.jsx)("option",{value:e.value,className:"jsx-".concat(Te.Y.__hash),children:e.label},e.value)}))]}),"\u6708"]}),(0,s.jsxs)("label",{className:"jsx-".concat(Te.Y.__hash),children:[(0,s.jsxs)("select",{value:n.dayValue,onChange:n.onDayChange,ref:t,disabled:null===e||void 0===e?void 0:e.disabled,className:"jsx-".concat(Te.Y.__hash)+" "+"".concat((null===e||void 0===e?void 0:e.hasError)&&"has-error"),children:[(0,s.jsx)("option",{value:"",className:"jsx-".concat(Te.Y.__hash)}),n.dayOptions.map((function(e){return(0,s.jsx)("option",{value:e.value,className:"jsx-".concat(Te.Y.__hash),children:e.label},e.value)}))]}),"\u65e5"]}),(0,s.jsx)(i(),{id:Te.Y.__hash,children:Te.Y})]})}));Pe.displayName="CustomDateSelect";var je=Pe},89417:function(e,t,n){"use strict";n.d(t,{Y:function(){return i},i:function(){return r}});var r=["input[type='text'].jsx-2710184671,input[type='password'].jsx-2710184671,input[type='number'].jsx-2710184671,input[type='email'].jsx-2710184671,input[type='date'].jsx-2710184671,textarea.jsx-2710184671{border-radius:0.375rem;border-width:1px;border-style:solid;--tw-border-opacity:1;border-color:rgba(224,224,224,var(--tw-border-opacity));padding-left:0.5rem;padding-right:0.5rem;padding-top:0.5rem;padding-bottom:0.5rem;--tw-text-opacity:1;color:rgba(20,19,19,var(--tw-text-opacity));}","._dark input[type='text'].jsx-2710184671,._dark input[type='password'].jsx-2710184671,._dark input[type='number'].jsx-2710184671,._dark input[type='email'].jsx-2710184671,._dark input[type='date'].jsx-2710184671,._dark textarea.jsx-2710184671{--tw-text-opacity:1;color:rgba(20,19,19,var(--tw-text-opacity));}","input[type='number'].jsx-2710184671::-webkit-outer-spin-button,input[type='number'].jsx-2710184671::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}","input[type='number'].jsx-2710184671{-moz-appearance:textfield;text-align:right;}",".has-error.jsx-2710184671{background-color:#ffd8db;}"];r.__hash="2710184671";var i=["select.jsx-685479273::-ms-expand{display:none;}","select.jsx-685479273{-webkit-appearance:none;-moz-appearance:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;background-image:url('/images/ico_arrow_down.svg');background-position:right 6px center;background-repeat:no-repeat;background-size:12px 12px;border-radius:0.375rem;border-width:1px;border-style:solid;--tw-border-opacity:1;border-color:rgba(224,224,224,var(--tw-border-opacity));padding-top:0.25rem;padding-bottom:0.25rem;padding-right:1.25rem;padding-left:0.5rem;cursor:pointer;}","._dark select.jsx-685479273{--tw-text-opacity:1;color:rgba(20,19,19,var(--tw-text-opacity));}","select.has-error.jsx-685479273{background-color:#ffd8db;}"];i.__hash="685479273"},19315:function(e,t,n){"use strict";var r,i=n(16835),o=n(71383),a=n(95627),s=n.n(a),c=n(67294),l=n(41664),u=n.n(l),d=n(26389),f=n(26997),h=n(92432),p=n(63952),m=n(84568),g=n(91854),y=n(41594),v=n(85893),b=(0,f.Ps)(r||(r=(0,o.Z)(["\n query getJushouEvents($openDay: ISO8601Date!, $jushouType: JushouTypeEnum, $openSeq: Int) {\n jushouEvents(openDay: $openDay, jushouType: $jushouType, openSeq: $openSeq) {\n id\n hidden\n velCode\n velName\n saleStatus\n raceSet\n jushouType\n openSeq\n openDay\n refundableAmount\n jushouCarryOver {\n prevAmount\n nextAmount\n }\n races {\n deadlineAt\n timezone\n nightRace\n }\n }\n jushouEventPeriods(openDay: $openDay) {\n velCode\n jushouBonusCampaign {\n fourRefundLimitAmount\n threeRefundLimitAmount\n }\n }\n }\n"]))),_=function(e){var t,n,r,i=e.item,o=null===i||void 0===i?void 0:i.saleStatus;return"ABORTED"===o||"CLOSED"===o?(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)("div",{className:"_font-bold _mr-2",children:d.K7[o]}),(0,v.jsx)("div",{className:"_text-sm _font-semibold _border _border-rouge _text-rouge _rounded-md _p-1 _mr-1 dark:_bg-white",children:"\u30ec\u30fc\u30b9\u7d50\u679c"})]}):(0,v.jsxs)(v.Fragment,{children:["TWO"!==(null===i||void 0===i?void 0:i.jushouType)&&(0,v.jsxs)("div",{children:[Number.isSafeInteger(null===i||void 0===i?void 0:i.refundableAmount)&&(0,v.jsxs)("div",{className:"_font-bold _mr-2",children:[(0,v.jsx)("div",{className:"_text-xs _font-normal",children:"\u6255\u623b\u53ef\u80fd\u7dcf\u984d"}),(0,v.jsxs)("h3",{className:"_text-right",children:["PRE_SALE"===(null===i||void 0===i?void 0:i.saleStatus)?"-":null===(t=i.refundableAmount)||void 0===t?void 0:t.toLocaleStr
1ing(),"\u5186"]})]}),(0,v.jsxs)("div",{className:"_font-bold _mr-2",children:[(0,v.jsx)("div",{className:"_text-xs _font-normal",children:"\u5185\u30ad\u30e3\u30ea\u30fc\u30aa\u30fc\u30d0\u30fc"}),(0,v.jsxs)("h3",{className:"_text-right",children:[(null===(n=i.jushouCarryOver)||void 0===n||null===(r=n.prevAmount)||void 0===r?void 0:r.toLocaleString())||"-","\u5186"]})]})]}),(0,v.jsx)("div",{className:"_text-sm _font-semibold _border _border-rouge _text-rouge _rounded-md _p-1 _mr-1 dark:_bg-white",children:d.K7[o]}),(0,v.jsxs)("div",{children:[(0,v.jsx)("span",{className:"_font-semibold",children:(0,g.Ab)(i.deadlineAt,null===i||void 0===i?void 0:i.openDay)})," ","\u7de0\u5207"]})]})},x=function(e){var t=e.campaign,n=e.jushouEvents;if(!t)return(0,v.jsx)(v.Fragment,{});function r(e){var t;return Number(null===n||void 0===n||null===(t=n.find((function(t){return(null===t||void 0===t?void 0:t.jushouType)===e&&"AVAILABLE"===(null===t||void 0===t?void 0:t.saleStatus)})))||void 0===t?void 0:t.refundableAmount)}var i=r("THREE")<=(null===t||void 0===t?void 0:t.threeRefundLimitAmount),o=r("FOUR")<=(null===t||void 0===t?void 0:t.fourRefundLimitAmount);return i||o?(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)("div",{className:"jsx-568234792 _mb-4 _p-4 _bg-white dark:_bg-dark-3 marquee",children:(0,v.jsxs)("span",{className:"jsx-568234792",children:[i&&"\u4e0a\u4e57\u305b\u767a\u751f\u4e2d\uff01[AutoRace THREE]\u6700\u5927".concat((null===t||void 0===t?void 0:t.threeRefundLimitAmount)/1e4,"\u4e07\u30dd\u30a4\u30f3\u30c8"),o&&"\u4e0a\u4e57\u305b\u767a\u751f\u4e2d\uff01[AutoRace FOUR]\u6700\u5927".concat((null===t||void 0===t?void 0:t.fourRefundLimitAmount)/1e4,"\u4e07\u30dd\u30a4\u30f3\u30c8")]})}),(0,v.jsx)(s(),{id:"568234792",children:["@-webkit-keyframes MarqueeScroll-jsx-568234792{from{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);}to{-webkit-transform:translateX(-100%);-ms-transform:translateX(-100%);transform:translateX(-100%);}}","@keyframes MarqueeScroll-jsx-568234792{from{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);}to{-webkit-transform:translateX(-100%);-ms-transform:translateX(-100%);transform:translateX(-100%);}}",".marquee.jsx-568234792{background-color:#fff5f5;width:100%;overflow:hidden;padding:5px 10px;margin-bottom:1rem;border-radius:0.375rem;}",".marquee.jsx-568234792>span.jsx-568234792{display:inline-block;white-space:nowrap;padding-left:100%;-webkit-animation-name:MarqueeScroll-jsx-568234792;animation-name:MarqueeScroll-jsx-568234792;-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-animation-duration:12s;animation-duration:12s;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;}"]})]}):(0,v.jsx)(v.Fragment,{})};t.Z=function(){var e=(0,y.aF)().currentUser,t=(0,p.xy)().onlineStatus,n=null===t||void 0===t?void 0:t.openDay,r=(0,h.aM)({query:b,variables:{openDay:n},pause:!n}),o=(0,i.Z)(r,1)[0].data,a=(null===o||void 0===o?void 0:o.jushouEvents)||[],l=(null===o||void 0===o?void 0:o.jushouEventPeriods)||[],f=(0,d.K2)(a);return n&&(0,m.Z)(n).diff((0,m.Z)(),"hour")<=-29||0===(null===a||void 0===a?void 0:a.length)?(0,v.jsx)("div",{className:"rl _py-8 _text-lg _font-semibold _text-center",children:"\u672c\u65e5\u306f\u91cd\u52dd\u5f0f\u306e\u5bfe\u8c61\u30ec\u30fc\u30b9\u306f\u3054\u3056\u3044\u307e\u305b\u3093\u3002"}):n&&n!==(null===t||void 0===t?void 0:t.jushouSaleOn)?(0,v.jsx)("div",{className:"rl _py-8 _text-lg _font-semibold _text-center",children:"\u73fe\u5728\u3001\u767a\u58f2\u6e96\u5099\u4e2d\u3067\u3059\u3002"}):(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)("div",{className:"jsx-115352195 rl",children:f.map((function(t,n){var r,i,o;return(0,v.jsxs)("section",{className:"jsx-115352195 _mb-8",children:[(0,v.jsx)("h3",{className:"jsx-115352195 _bg-ash dark:_bg-dark-4 _font-bold _text-center _py-3 _mb-4",children:(0,g.PQ)(null===(r=t[0])||void 0===r?void 0:r.velName)}),"CTYB"!==(null===e||void 0===e?void 0:e.userType)&&x({campaign:null===(o=t[0].velCode,i=l.find((function(e){return e.velCode===o})))||void 0===i?void 0:i.jushouBonusCampaign,jushouEvents:t}),t.map((function(e,t){return(0,v.jsx)(c.Fragment,{children:!1===e.hidden&&(0,v.jsx)(u(),{href:{pathname:"/play_jushou",query:{event_id:e.id}},children:(0,v.jsx)("a",{className:"jsx-115352195",children:(0,v.jsx)("div",{className:"jsx-115352195 rl__card _mb-5 _bg-white dark:_bg-dark-3",children:(0,v.jsxs)("div",{className:"jsx-115352195 _flex _justify-between _items-center",children:[(0,v.jsx)("div",{className:"jsx-115352195 _flex _items-center",children:(0,v.jsxs)("div",{className:"jsx-115352195 _mr-1",children:[(0,v.jsx)("div",{className:"jsx-115352195 _mb-1 _font-bold",children:e.jushouType}),(0,v.jsxs)("div",{className:"jsx-115352195",children:[e.raceSet,"R"]})]})}),(0,v.jsx)("div",{className:"jsx-115352195 _flex _items-center",children:(0,v.jsx)(_,{item:e})})]})})})})},t)}))]},n)}))}),(0,v.jsx)(s(),{id:"115352195",children:[".rl__card.jsx-115352195{border-radius:0.5rem;padding:1rem;box-shadow:2px 2px 2px 0 rgba(0,0,0,0.1);}",".rl__timezone--morning.jsx-115352195{background-color:#eb5353;}",".rl__timezone--day.jsx-115352195{background-color:#5c9e00;}",".rl__timezone--twilight.jsx-115352195{background-color:#ef6ea6;}",".rl__timezone--night.jsx-115352195{background-color:#3a8aec;}",".rl__timezone--midnight.jsx-115352195{background-color:#5543b2;}"]})]})}},9802:function(e,t,n){"use strict";var r=n(58334),i=n(97813),o=n(85893),a={"amount must be greater than or equal to 1":"\u91d1\u984d\u306f1\u5186\u4ee5\u4e0a\u3092\u3054\u5165\u529b\u304f\u3060\u3055\u3044\u3002","amount must be greater than or equal to 100":"\u91d1\u984d\u306f100\u5186\u4ee5\u4e0a\u3092\u3054\u5165\u529b\u304f\u3060\u3055\u3044\u3002","amount must be greater than or equal to 1000":"\u91d1\u984d\u306f10000\u5186\u4ee5\u4e0a\u3092\u3054\u5165\u529b\u304f\u3060\u3055\u3044\u3002","amount must be greater than or equal to 10":"\u91d1\u984d\u306f10\u5186\u4ee5\u4e0a\u3092\u3054\u5165\u529b\u304f\u3060\u3055\u3044\u3002","pincode is the wrong length (should be 4)":"\u6697\u8a3c\u756a\u53f7\u306f4\u6841\u3067\u3054\u5165\u529b\u304f\u3060\u3055\u3044\u3002","pincode can't be blank":"\u6697\u8a3c\u756a\u53f7\u306f4\u6841\u3067\u3054\u5165\u529b\u304f\u3060\u3055\u3044\u3002"};t.Z=function(e){var t,n=e.error;return(0,o.jsxs)(o.Fragment,{children:[(0,r.O_)(n).map((function(e,t){return e.code&&(0,o.jsx)(i.P_,{className:"_mb-4",children:e.message},t)})),null===n||void 0===n||null===(t=n.graphQLErrors)||void 0===t?void 0:t.map((function(e,t){return a[e.message]&&(0,o.jsx)(i.P_,{className:"_mb-4",children:a[e.message]},t)}))]})}},17982:function(e,t,n){"use strict";n.d(t,{BM:function(){return bs},vs:function(){return s},RV:function(){return Hs},nO:function(){return Ys.Z},h$:function(){return z},Do:function(){return V},ZF:function(){return B},D_:function(){return $s.Z},lR:function(){return Qs},DY:function(){return ee},N5:function(){return de},zR:function(){return ae},fv:function(){return T},nv:function(){return v},HV:function(){return k},CL:function(){return L},hb:function(){return H},uJ:function(){return A},Dw:function(){return I}});var r,i=n(95627),o=n.n(i),a=n(85893),s=function(e){return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"jsx-1932629192 cw",children:e.children}),(0,a.jsx)(o(),{id:"1932629192",children:[".cw.jsx-1932629192{margin-top:-1rem;overflow:hidden;border-top-left-radius:1rem;border-top-right-radius:1rem;box-shadow:0 -2px 5px 0 rgba(0,0,0,0.3);}","@media (min-width:1200px){.cw.jsx-1932629192{box-shadow:none;margin-top:0px;overflow:visible;border-radius:1rem;}}"]})]})},c=n(41594),l=n(41664),u=n.n(l),d=n(67294),f=n(67814),h=n(51436),p=n(40984),m=n(74994),g=function(){var e=(0,m.hW)(),t=e.colorScheme,n=e.setColorScheme,r=(0,d.useCallback)((function(){localStorage.setItem("theme",t)}),[t]),i=(0,d.useCallback)((function(){localStorage.theme&&n(localStorage.theme),!localStorage.theme&&window.matchMedia("(prefers-color-scheme: dark)").matches&&n("dark")}),[n]);(0,d.useEffect)((function(){i()}),[]),(0,d.useEffect)((function(){r(),"dark"===t?document.documentElement.classList.add("_dark"):document.documentElement.classList.remove("_dark")}),[t])},y=n(63161),v=function(){var e=(0,c.aF)(),t=e.currentUser,n=e.logout,r=(0,m.hW)(),i=r.colorScheme,s=r.setColorScheme,l=(0,y.Z)(),d=l.chargeURL,v=l.chargeLable,b=l.remitURL,_=l.isUsablePaymentService;g();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("footer",{className:"jsx-4021280272 sf _bg-ink dark:_bg-dark-6",children:[(0,a.jsxs)("div",{className:"jsx-4021280272 sf__inner",children:[(0,a.jsxs)("ul",{className:"jsx-4021280272 sf__list _mb-4 _text-sm _border-b _border-gray-dark",children:[(0,a.jsx)("li",{className:"jsx-4021280272",children:(0,a.jsx)(u(),{href:"/",children:(0,a.jsx)("a",{className:"jsx-4021280272",children:"\u901a\u5e38\u6295\u7968\u30c8\u30c3\u30d7"})})}),(0,a.jsx)("li",{className:"jsx-4021280272",children:(0,a.jsx)(u(),{href:{pathname:"/",query:{tab:"jushou"}},children:(0,a.jsx)("a",{className:"jsx-4021280272",children:"\u91cd\u52dd\u5f0f\u6295\u7968\u30c8\u30c3\u30d7"})})}),_&&(0,a.jsx)("li",{className:"jsx-4021280272",children:(0,a.jsx)(u(),{href:d,children:(0,a.jsx)("a",{className:"jsx-4021280272",children:v})})}),_&&(0,a.jsx)("li",{className:"jsx-4021280272",children:(0,a.jsx)(u(),{href:b,children:(0,a.jsx)("a",{className:"jsx-4021280272",children:"\u7cbe\u7b97"})})}),"CTYB"===(null===t||void 0===t?void 0:t.userType)&&"UNSECURED"===(null===t||void 0===t?void 0:t.ctybCourse)&&(0,a.jsx)("li",{className:"jsx-4021280272",children:(0,a.jsx)(u(),{href:"/mypage/transfer/",children:(0,a.jsx)("a",{className:"jsx-4021280272",children:"\u632f\u66ff"})})}),(0,a.jsx)("li",{className:"jsx-4021280272",children:(0,a.jsx)(u(),{href:"/mypage/order/",children:(0,a.jsx)("a",{className:"jsx-4021280272",children:"\u6295\u7968\u5c65\u6b74"})})}),(0,a.jsx)("li",{className:"jsx-4021280272",children:(0,a.jsx)(u(),{href:"/mypage/score/",children:(0,a.jsx)("a",{className:"jsx-4021280272",children:"\u30de\u30a4\u30ec\u30dd\u30fc\u30c8"})})}),(0,a.jsx)("li",{className:"jsx-4021280272",children:(0,a.jsx)(u(),{href:"".concat("https://autorace.jp","/news/campaign/"),children:(0,a.jsx)("a",{target:"_blank",className:"jsx-4021280272",children:"\u30ad\u30e3\u30f3\u30da\u30fc\u30f3\u60c5\u5831"})})}),(0,a.jsx)("li",{className:"jsx-4021280272",children:(0,a.jsx)("a",{onClick:function(){return n()},className:"jsx-4021280272",children:"\u30ed\u30b0\u30a2\u30a6\u30c8"})})]}),(0,a.jsxs)("ul",{className:"jsx-4021280272 sf__list _text-xs _border-b _border-gray-dark _mb-2",children:[(0,a.jsx)("li",{className:"jsx-4021280272",children:(0,a.jsx)(u(),{href:"".concat("https://autorace.jp","/policy"),children:(0,a.jsx)("a",{target:"_blank",className:"jsx-4021280272",children:"\u5229\u7528\u898f\u7d04"})})}),(0,a.jsx)("li",{className:"jsx-4021280272",children:(0,a.jsx)(u(),{href:"".concat("https://autorace.jp","/netvote_guide/support/agreement.php"),children:(0,a.jsx)("a",{target:"_blank",className:"jsx-4021280272",children:"\u7d04\u5b9a\u66f8"})})}),(0,a.jsx)("li",{className:"jsx-4021280272",children:(0,a.jsx)(u(),{href:"".concat("https://autorace.jp","/pdf/tokusho.pdf"),children:(0,a.jsx)("a",{target:"_blank",className:"jsx-4021280272",children:"\u7279\u5b9a\u5546\u53d6\u5f15\u6cd5"})})}),(0,a.jsx)("li",{className:"jsx-4021280272",children:(0,a.jsx)(u(),{href:"".concat("https://autorace.jp","/privacypolicy"),children:(0,a.jsx)("a",{target:"_blank",className:"jsx-4021280272",children:"\u500b\u4eba\u60c5\u5831\u4fdd\u8b77\u65b9\u91dd"})})}),(0,a.jsx)("li",{className:"jsx-4021280272",children:(0,a.jsx)(u(),{href:"".concat("https://autorace.jp","/support/"),children:(0,a.jsx)("a",{target:"_blank",className:"jsx-4021280272",children:"\u3088\u304f\u3042\u308b\u8cea\u554f"})})}),(0,a.jsx)("li",{className:"jsx-4021280272",children:(0,a.jsx)(u(),{href:"".concat("https://autorace.jp","/inquiry/"),children:(0,a.jsx)("a",{target:"_blank",className:"jsx-4021280272",children:"\u304a\u554f\u3044\u5408\u308f\u305b"})})})]}),(0,a.jsx)("ul",{className:"jsx-4021280272 sf__list _border-b _border-gray-dark",children:(0,a.jsxs)("li",{className:"jsx-4021280272 _flex _justify-between _items-center _w-full _mb-2",children:[(0,a.jsxs)("span",{className:"jsx-4021280272 _text-sm _text-white",children:[(0,a.jsx)(f.G,{icon:h.DBF,className:"_mr-1"}),"\u30c0\u30fc\u30af\u30e2\u30fc\u30c9"]}),(0,a.jsx)(p.g,{checked:"dark"===i,onChange:function(){s("light"===i?"dark":"light")}})]})})]}),(0,a.jsxs)("p",{className:"jsx-4021280272 sf__slogan",children:["\u30aa\u30fc\u30c8\u30ec\u30fc\u30b9\u306f\u9069\u5ea6\u306b\u697d\u3057\u307f\u307e\u3057\u3087\u3046\u3002",(0,a.jsx)("br",{className:"jsx-4021280272 _block md:_hidden"})," \u8eca\u5238\u306e\u8cfc\u5165\u306f20\u6b73\u306b\u306a\u3063\u3066\u304b\u3089\u3002"]}),(0,a.jsxs)("div",{className:"jsx-4021280272 sf__copyright",children:["\u30b7\u30b9\u30c6\u30e0\u904b\u55b6\u8005\uff1a"," ",(0,a.jsx)("a",{href:"https://ar-a.or.jp/",target:"_blank",rel:"noreferrer",className:"jsx-4021280272 _text-link",children:"\u4e00\u822c\u8ca1\u56e3\u6cd5\u4eba\u30aa\u30fc\u30c8\u30ec\u30fc\u30b9\u632f\u8208\u5354\u4f1a"})]})]}),(0,a.jsx)(o(),{id:"4021280272",children:[".sf.jsx-4021280272{margin-top:auto;}",".sf__inner.jsx-4021280272{padding:1.25rem;}","@media (min-width:1200px){.sf__list.jsx-4021280272{max-width:520px;margin:auto;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;}}
1",".sf__list.jsx-4021280272>li.jsx-4021280272{margin-bottom:1.25rem;}",".sf__list.jsx-4021280272>li.jsx-4021280272:not(:last-child){margin-right:1.25rem;}",".sf__list.jsx-4021280272>li.jsx-4021280272 a.jsx-4021280272{--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity));}",".sf__list.jsx-4021280272>li.jsx-4021280272 a.jsx-4021280272:hover{-webkit-text-decoration:underline;text-decoration:underline;}",".sf__slogan.jsx-4021280272{font-size:10px;text-align:center;--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity));}",".sf__copyright.jsx-4021280272{padding:1.25rem;text-align:center;font-size:0.75rem;line-height:1rem;--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity));}"]})]})},b=n(97813),_=n(11163),x=n(82515),w=n(43547),S=n.n(w),E=n(8919),O=function(e){return fetch(e).then((function(e){return e.json()}))},k=function(){var e=(0,_.useRouter)(),t=(0,d.useState)(!1),n=t[0],r=t[1],i=(0,c.aF)().currentUser,s=(0,m.hW)().screenMobile,l=(0,E.Z)().headerHeight,u=(0,x.ZP)("".concat("https://cdn.autorace.jp","/data/notice/vote-01.json"),O).data;return(0,d.useEffect)((function(){r(!1)}),[e]),(0,a.jsxs)(a.Fragment,{children:[u&&(0,a.jsxs)("a",{href:"https://autorace.jp"+u.link,target:"_blank",rel:"noreferrer",id:"site-header-notice",className:o().dynamic([["1414905338",[S().theme.screens.lg,l,l]]])+" _block _p-2 _bg-white dark:_bg-dark-3 _underline md:_text-center _text-sm",children:[(0,a.jsx)("span",{className:o().dynamic([["1414905338",[S().theme.screens.lg,l,l]]])+" _pr-2",children:u.date}),u.title]}),(0,a.jsxs)("header",{id:"site-header",className:o().dynamic([["1414905338",[S().theme.screens.lg,l,l]]])+" sh _bg-ink dark:_bg-dark-6",children:[(0,a.jsxs)("div",{className:o().dynamic([["1414905338",[S().theme.screens.lg,l,l]]])+" sh__inner",children:[s&&(0,a.jsx)("div",{style:{flexBasis:"4.5rem"},className:o().dynamic([["1414905338",[S().theme.screens.lg,l,l]]]),children:i&&(0,a.jsxs)("button",{onClick:function(){return r(!n)},className:o().dynamic([["1414905338",[S().theme.screens.lg,l,l]]])+" _flex _items-center _flex-nowrap",children:[(0,a.jsx)(f.G,{icon:h.xiG,className:"_mr-1 _w-4"}),n?"\u9589\u3058\u308b":"MENU"]})}),(0,a.jsx)("div",{className:o().dynamic([["1414905338",[S().theme.screens.lg,l,l]]]),children:(0,a.jsx)("a",{href:"https://autorace.jp",target:"_blank",rel:"noreferrer",className:o().dynamic([["1414905338",[S().theme.screens.lg,l,l]]]),children:(0,a.jsx)("img",{src:"/images/img_logo_brand.svg",alt:"Auto Race",style:{width:"115px",height:"auto"},className:o().dynamic([["1414905338",[S().theme.screens.lg,l,l]]])})})}),i?(0,a.jsxs)("div",{className:o().dynamic([["1414905338",[S().theme.screens.lg,l,l]]]),children:[!s&&(0,a.jsxs)("span",{className:o().dynamic([["1414905338",[S().theme.screens.lg,l,l]]])+" _pr-3",children:["\u52a0\u5165\u8005\u756a\u53f7\uff1a ",null===i||void 0===i?void 0:i.userNumber]}),(0,a.jsxs)(b.We,{className:"_bg-rouge _w-auto _text-sm _px-2",href:"/mypage",children:[(0,a.jsx)(f.G,{icon:h.ILF}),(0,a.jsx)("span",{className:o().dynamic([["1414905338",[S().theme.screens.lg,l,l]]])+" _inline-block md:_ml-2",children:"\u30de\u30a4\u30da\u30fc\u30b8"})]})]}):(0,a.jsxs)(b.We,{className:"_bg-sky _w-auto _text-sm _px-2",href:"/login",children:[(0,a.jsx)(f.G,{icon:h.jLD}),(0,a.jsx)("span",{className:o().dynamic([["1414905338",[S().theme.screens.lg,l,l]]])+" _inline-block md:_ml-2",children:"\u767b\u9332\u30fb\u30ed\u30b0\u30a4\u30f3"})]})]}),s&&n&&(0,a.jsx)("div",{className:o().dynamic([["1414905338",[S().theme.screens.lg,l,l]]])+" sh__wrapper _bg-ash dark:_bg-dark-4",children:(0,a.jsx)(L,{setMenuOpen:r})})]}),(0,a.jsx)(o(),{id:"1414905338",dynamic:[S().theme.screens.lg,l,l],children:[".sh.__jsx-style-dynamic-selector{position:-webkit-sticky;position:sticky;top:0;z-index:999;}",".sh__inner.__jsx-style-dynamic-selector{max-width:".concat(S().theme.screens.lg,";margin-left:auto;margin-right:auto;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;
1-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding:0.75rem;font-size:1rem;line-height:1.5rem;--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity));}"),".sh__wrapper.__jsx-style-dynamic-selector{position:fixed;height:calc(100vh - ".concat(l,"px);overflow:auto;top:").concat(l,"px;z-index:10;width:100%;}")]})]})},T=function(){var e,t=(0,c.aF)().logout,n=(0,c.aF)().currentUser,r=(0,m.hW)().screenMobile,i=(0,y.Z)(),s=i.chargeURL,l=i.chargeLable,d=i.isUsablePaymentService,p=i.remitURL,g=i.isVotableWithPoint,v=i.isVotableWithCash,b=i.isVotableWithRefund;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"jsx-2182631905 sb _px-3",children:[(0,a.jsxs)("div",{className:"jsx-2182631905 _mb-4",children:[!r&&v&&(0,a.jsx)("div",{className:"jsx-2182631905",children:(0,a.jsx)(A,{cash:null===n||void 0===n||null===(e=n.userAmount)||void 0===e?void 0:e.cash,className:"_mb-4"})}),!r&&g&&(0,a.jsx)("div",{className:"jsx-2182631905",children:(0,a.jsx)(I,{user:n})})]}),(0,a.jsxs)("ul",{className:"jsx-2182631905 sb__menu _mb-4",children:[(0,a.jsx)("li",{className:"jsx-2182631905",children:(0,a.jsx)(u(),{href:"/",children:(0,a.jsxs)("a",{className:"jsx-2182631905",children:[(0,a.jsx)(f.G,{icon:h.J9Y,className:"_mr-1"}),"\u901a\u5e38\u6295\u7968\u30c8\u30c3\u30d7"]})})}),(0,a.jsx)("li",{className:"jsx-2182631905",children:(0,a.jsx)(u(),{href:{pathname:"/",query:{tab:"jushou"}},children:(0,a.jsxs)("a",{className:"jsx-2182631905",children:[(0,a.jsx)(f.G,{icon:h.J9Y,className:"_mr-1"}),"\u91cd\u52dd\u5f0f\u6295\u7968\u30c8\u30c3\u30d7"]})})}),d&&(0,a.jsx)("li",{className:"jsx-2182631905",children:(0,a.jsx)(u(),{href:s,children:(0,a.jsxs)("a",{className:"jsx-2182631905",children:[(0,a.jsx)(f.G,{icon:h.d8e,className:"_mr-1"}),l]})})}),d&&(0,a.jsx)("li",{className:"jsx-2182631905",children:(0,a.jsx)(u(),{href:p,children:(0,a.jsxs)("a",{className:"jsx-2182631905",children:[(0,a.jsx)(f.G,{icon:h.X5K,className:"_mr-1"}),"\u7cbe\u7b97"]})})}),"CTYB"===(null===n||void 0===n?void 0:n.userType)&&"UNSECURED"===(null===n||void 0===n?void 0:n.ctybCourse)&&(0,a.jsx)("li",{className:"jsx-2182631905",children:(0,a.jsx)(u(),{href:"/mypage/transfer/",children:(0,a.jsxs)("a",{className:"jsx-2182631905",children:[(0,a.jsx)(f.G,{icon:h.X5K,className:"_mr-1"}),"\u632f\u66ff"]})})}),(0,a.jsx)("li",{className:"jsx-2182631905",children:(0,a.jsx)(u(),{href:"/mypage/order/",children:(0,a.jsxs)("a",{className:"jsx-2182631905",children:[(0,a.jsx)(f.G,{icon:h.qO$,className:"_mr-1"}),"\u6295\u7968\u5c65\u6b74"]})})}),v&&"UNSECURED"!==(null===n||void 0===n?void 0:n.ctybCourse)&&(0,a.jsx)("li",{className:"jsx-2182631905",children:(0,a.jsx)(u(),{href:"/mypage/cash_history",children:(0,a.jsxs)("a",{className:"jsx-2182631905",children:[(0,a.jsx)(f.G,{icon:h.qO$,className:"_mr-1"}),"\u73fe\u91d1\u5c65\u6b74"]})})}),b&&(0,a.jsx)("li",{className:"jsx-2182631905",children:(0,a.jsx)(u(),{href:"/mypage/refund_history/",children:(0,a.jsxs)("a",{className:"jsx-2182631905",children:[(0,a.jsx)(f.G,{icon:h.qO$,className:"_mr-1"}),"\u6255\u623b\u91d1\u5c65\u6b74"]})})}),g&&(0,a.jsx)("li",{className:"jsx-2182631905",children:(0,a.jsx)(u(),{href:"/mypage/point_history/",children:(0,a.jsxs)("a",{className:"jsx-2182631905",children:[(0,a.jsx)(f.G,{icon:h.qO$,className:"_mr-1"}),"\u30dd\u30a4\u30f3\u30c8\u5c65\u6b74"]})})}),(0,a.jsx)("li",{className:"jsx-2182631905",children:(0,a.jsx)(u(),{href:"/mypage/score/",children:(0,a.jsxs)("a",{className:"jsx-2182631905",children:[(0,a.jsx)(f.G,{icon:h.cwv,className:"_mr-1"}),"\u30de\u30a4\u30ec\u30dd\u30fc\u30c8"]})})}),(0,a.jsx)("li",{className:"jsx-2182631905",children:(0,a.jsx)(u(),{href:"".concat("https://autorace.jp","/race_info/"),children:(0,a.jsxs)("a",{target:"_blank",className:"jsx-2182631905",children:[(0,a.jsx)(f.G,{icon:h.OS1,className:"_mr-1"}),"\u30ec\u30fc\u30b9\u60c5\u5831"]})})}),(0,a.jsx)("li",{className:"jsx-2182631905",children:(0,a.jsx)(u(),{href:"".concat("https://autorace.jp","/news/campaign/"),children:(0,a.jsxs)("a",{target:"_blank",className:"jsx-2182631905",children:[(0,a.jsx)(f.G,{icon:h.Acd,className:"_mr-1"}),"\u30ad\u30e3\u30f3\u30da\u30fc\u30f3\u60c5\u5831"]})})}),(0,a.jsx)("li",{className:"jsx-2182631905",children:(0,a.jsxs)("button",{onClick:function(){return t()},className:"jsx-2182631905",children:[(0,a.jsx)(f.G,{icon:h.tAh,className:"_mr-1"}),"\u30ed\u30b0\u30a2\u30a6\u30c8"]})})]})]}),(0,a.jsx)(o(),{id:"2182631905",children:[".sb__menu.jsx-2182631905>li.jsx-2182631905{padding:1rem;}"]})]})},P=n(16835),j=n(4480),D=n(6983),C=window.localStorage,M=(0,D.J)({key:"recoil-persist",storage:C}).persistAtom,R=(0,j.cn)({key:"DISPLAY_AMOUNT",default:!0,effects:[M]}),N=function(){var e=(0,j.FV)(R),t=(0,P.Z)(e,2);return{displayAmount:t[0],setDisplayAmount:t[1]}},A=function(e){var t,n,r=e.className,i=e.disablePlusIcon,o=(0,c.aF)().currentUser,s=N(),l=s.displayAmount,d=s.setDisplayAmount;return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:"_py-6 _px-4 _text-white _bg-rouge _flex _justify-between _rounded-lg ".concat(r),children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"_pr-1",children:"\u73fe\u91d1"}),(0,a.jsx)("button",{onClick:function(){return d(!l)},className:"_mr-1",children:(0,a.jsx)(f.G,{icon:l?h.Aq:h.Mdf,className:"_text-white"})})]}),(0,a.jsxs)("div",{className:"_flex _items-center",children:[(0,a.jsx)("div",{children:l?(0,a.jsxs)(a.Fragment,{children:["SUSPENDED"===(null===o||void 0===o?void 0:o.ctybBalanceStatus)?"-":null===o||void 0===o||null===(t=o.userAmount)||void 0===t||null===(n=t.cash)||void 0===n?void 0:n.toLocaleStr
1ing()," ","\u5186"]}):"******\u5186"}),"CTYB"!==(null===o||void 0===o?void 0:o.userType)&&!0!==i&&(0,a.jsx)(u(),{href:"/mypage/deposit",children:(0,a.jsx)("a",{className:"_bg-white _text-rouge _text-center _rounded-full _text-sm _inline-block _w-5 _ml-4",children:(0,a.jsx)(f.G,{icon:h.r8p})})})]})]})})},I=function(e){var t,n,r,i,o=e.user,s=e.className,c=e.disablePlusIcon,l=(0,y.Z)(),d=l.chargeURL,p=l.isVotableWithRefund,m=N(),g=m.displayAmount,v=m.setDisplayAmount;return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:"_py-6 _px-4 _text-white _bg-sky _flex _justify-between _rounded-lg ".concat(s),children:[(0,a.jsx)("div",{children:"\u30dd\u30a4\u30f3\u30c8"}),(0,a.jsxs)("div",{className:"_flex _items-center",children:[(0,a.jsxs)("div",{className:"_text-right",children:[(0,a.jsxs)("div",{children:[null===o||void 0===o||null===(t=o.userAmount)||void 0===t||null===(n=t.points)||void 0===n?void 0:n.toLocaleString()," pt"]}),p&&(0,a.jsxs)("div",{className:"_text-xs",children:[(0,a.jsx)("span",{className:"_pr-1",children:"\u6255\u623b\u91d1\u6b8b\u9ad8"}),(0,a.jsx)("button",{onClick:function(){return v(!g)},className:"_mr-1",children:(0,a.jsx)(f.G,{icon:g?h.Aq:h.Mdf,className:"_text-white"})}),g?(0,a.jsx)(a.Fragment,{children:null===o||void 0===o||null===(r=o.userAmount)||void 0===r||null===(i=r.refunds)||void 0===i?void 0:i.toLocaleString()}):"******","\u5186"]})]}),!0!==c&&(0,a.jsx)(u(),{href:d,children:(0,a.jsx)("a",{className:"_bg-white _text-sky _text-center _rounded-full _text-sm _inline-block _w-5 _ml-4",children:(0,a.jsx)(f.G,{icon:h.r8p})})})]})]})})},L=function(e){var t,n=e.setMenuOpen,r=(0,c.aF)(),i=r.currentUser,s=r.logout,l=(0,m.hW)().screenMobile,d=(0,y.Z)(),p=d.chargeURL,g=d.chargeLable,v=d.isUsablePaymentService,b=d.remitURL,_=d.isVotableWithPoint,x=d.isVotableWithCash,w=d.isVotableWithRefund;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"jsx-294530954 shm",children:[(0,a.jsxs)("div",{className:"jsx-294530954 _p-5",children:[l&&x&&(0,a.jsx)(A,{cash:null===i||void 0===i||null===(t=i.userAmount)||void 0===t?void 0:t.cash,className:"_mb-4"}),l&&_&&(0,a.jsx)(I,{user:i})]}),(0,a.jsxs)("ul",{onClick:function(){return n(!1)},className:"jsx-294530954 shm__menu _mb-16 _px-5",children:[(0,a.jsx)("li",{className:"jsx-294530954",children:(0,a.jsx)(u(),{href:"/",children:(0,a.jsxs)("a",{className:"jsx-294530954",children:[(0,a.jsx)(f.G,{icon:h.J9Y,className:"_mr-1"}),"\u901a\u5e38\u6295\u7968\u30c8\u30c3\u30d7"]})})}),(0,a.jsx)("li",{className:"jsx-294530954",children:(0,a.jsx)(u(),{href:{pathname:"/",query:{tab:"jushou"}},children:(0,a.jsxs)("a",{className:"jsx-294530954",children:[(0,a.jsx)(f.G,{icon:h.J9Y,className:"_mr-1"}),"\u91cd\u52dd\u5f0f\u6295\u7968\u30c8\u30c3\u30d7"]})})}),v&&(0,a.jsx)("li",{className:"jsx-294530954",children:(0,a.jsx)(u(),{href:p,children:(0,a.jsxs)("a",{className:"jsx-294530954",children:[(0,a.jsx)(f.G,{icon:h.d8e,className:"_mr-1"}),g]})})}),v&&(0,a.jsx)("li",{className:"jsx-294530954",children:(0,a.jsx)(u(),{href:b,children:(0,a.jsxs)("a",{className:"jsx-294530954",children:[(0,a.jsx)(f.G,{icon:h.d8e,className:"_mr-1"}),"\u7cbe\u7b97"]})})}),"CTYB"===(null===i||void 0===i?void 0:i.userType)&&"UNSECURED"===(null===i||void 0===i?void 0:i.ctybCourse)&&(0,a.jsx)("li",{className:"jsx-294530954",children:(0,a.jsx)(u(),{href:"/mypage/transfer/",children:(0,a.jsxs)("a",{className:"jsx-294530954",children:[(0,a.jsx)(f.G,{icon:h.X5K,className:"_mr-1"}),"\u632f\u66ff"]})})}),(0,a.jsx)("li",{className:"jsx-294530954",children:(0,a.jsx)(u(),{href:"/mypage/order/",children:(0,a.jsxs)("a",{className:"jsx-294530954",children:[(0,a.jsx)(f.G,{icon:h.qO$,className:"_mr-1"}),"\u6295\u7968\u5c65\u6b74"]})})}),w&&(0,a.jsx)("li",{className:"jsx-294530954",children:(0,a.jsx)(u(),{href:"/mypage/refund_history",children:(0,a.jsxs)("a",{className:"jsx-294530954",children:[(0,a.jsx)(f.G,{icon:h.qO$,className:"_mr-1"}),"\u6255\u623b\u91d1\u5c65\u6b74"]})})}),x&&(0,a.jsx)("li",{className:"jsx-294530954",children:(0,a.jsx)(u(),{href:"/mypage/cash_history",children:(0,a.jsxs)("a",{className:"jsx-294530954",children:[(0,a.jsx)(f.G,{icon:h.qO$,className:"_mr-1"}),"\u73fe\u91d1\u5c65\u6b74"]})})}),_&&(0,a.jsx)("li",{className:"jsx-294530954",children:(0,a.jsx)(u(),{href:"/mypage/point_history/",children:(0,a.jsxs)("a",{className:"jsx-294530954",children:[(0,a.jsx)(f.G,{icon:h.qO$,className:"_mr-1"}),"\u30dd\u30a4\u30f3\u30c8\u5c65\u6b74"]})})}),(0,a.jsx)("li",{className:"jsx-294530954",children:(0,a.jsx)(u(),{href:"/mypage/score/",children:(0,a.jsxs)("a",{className:"jsx-294530954",children:[(0,a.jsx)(f.G,{icon:h.cwv,className:"_mr-1"}),"\u30de\u30a4\u30ec\u30dd\u30fc\u30c8"]})})}),(0,a.jsx)("li",{className:"jsx-294530954",children:(0,a.jsx)(u(),{href:"".concat("https://autorace.jp","/race_info/"),children:(0,a.jsxs)("a",{target:"_blank",className:"jsx-294530954",children:[(0,a.jsx)(f.G,{icon:h.OS1,className:"_mr-1"}),"\u30ec\u30fc\u30b9\u60c5\u5831"]})})}),(0,a.jsx)("li",{className:"jsx-294530954",children:(0,a.jsx)(u(),{href:"".concat("https://autorace.jp","/news/campaign/"),children:(0,a.jsxs)("a",{target:"_blank",className:"jsx-294530954",children:[(0,a.jsx)(f.G,{icon:h.Acd,className:"_mr-1"}),"\u30ad\u30e3\u30f3\u30da\u30fc\u30f3\u60c5\u5831"]})})}),(0,a.jsx)("li",{className:"jsx-294530954",children:(0,a.jsxs)("button",{onClick:function(){return s()},className:"jsx-294530954",children:[(0,a.jsx)(f.G,{icon:h.tAh,className:"_mr-1"}),"\u30ed\u30b0\u30a2\u30a6\u30c8"]})})]})]}),(0,a.jsx)(o(),{id:"294530954",children:[".shm.jsx-294530954{--tw-bg-opacity:1;background-color:rgba(224,224,224,var(--tw-bg-opacity));padding-bottom:1.5rem;}",".shm__menu.jsx-294530954>li.jsx-294530954{border-bottom-width:1px;--tw-border-opacity:1;border-color:rgba(255,255,255,var(--tw-border-opacity));}",".shm__menu.jsx-294530954>li.jsx-294530954 a.jsx-294530954,.shm__menu.jsx-294530954>li.jsx-294530954 button.jsx-294530954{display:block;width:100%;padding:1rem;text-align:left;}","._dark .shm.jsx-294530954{--tw-bg-opacity:1;background-color:rgba(18,24,29,var(--tw-bg-opacity));}","._dark .shm__menu.jsx-294530954>li.jsx-294530954{--tw-border-opacity:1;border-color:rgba(34,49,58,var(--tw-border-opacity));}"]})]})},U=n(89417),V=function(e){var t=e.pincode,n=e.handleClickAgree,r=e.fetching,i=e.setPincode,s=e.displayModal,c=e.setDisplayModal,l=e.children,f=(0,d.useState)(!1),h=f[0],p=f[1],m=function(){return 4===t.length};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(b.u_,{open:s,onClose:function(){return c(!1)},head:"\u6697\u8a3c\u756a\u53f7\u5165\u529b",children:[(null===l||void 0===l?void 0:l.contents)&&(0,a.jsx)("div",{className:"jsx-".concat(U.i.__hash)+" _mb-4",children:null===l||void 0===l?void 0:l.contents}),(null===l||void 0===l?void 0:l.errors)&&(0,a.jsx)("div",{className:"jsx-".concat(U.i.__hash)+" _mb-4",children:null===l||void 0===l?void 0:l.errors}),(0,a.jsxs)("div",{className:"jsx-".concat(U.i.__hash),children:[(0,a.jsxs)("form",{name:"pincode",className:"jsx-".concat(U.i.__hash)+" _mb-10",children:[(0,a.jsx)("p",{className:"jsx-".concat(U.i.__hash)+" _text-sm _mb-5 _font-bold",children:"\u6697\u8a3c\u756a\u53f7\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002"}),(0,a.jsx)("input",{type:h?"text":"password",defaultValue:t,onChange:function(e){i(e.target.value)},maxLength:4,placeholder:"\u534a\u89d2\u6570\u5b574\u6841",inputMode:"numeric",className:"jsx-".concat(U.i.__hash)+" _w-full _mb-4"}),(0,a.jsxs)("label",{className:"jsx-".concat(U.i.__hash)+" _mb-2 _inline-block",children:[(0,a.jsx)("input",{type:"checkbox",onChange:function(){return p(!h)},checked:h,className:"jsx-".concat(U.i.__hash)+" _mr-2 _inline-block"}),"\u8868\u793a\u3059\u308b"]}),(0,a.jsx)(u(),{href:"".concat("https://autorace.jp","/support/"),children:(0,a.jsx)("a",{target:"_blank",className:"jsx-".concat(U.i.__hash)+" _text-sm _underline _block",children:"\u6697\u8a3c\u756a\u53f7\u3092\u5fd8\u308c\u305f\u65b9\u306f\u3053\u3061\u3089"})})]}),(0,a.jsxs)("div",{className:"jsx-".concat(U.i.__hash)+" _flex _justify-between",children:[(0,a.jsx)(b.Q$,{onClick:function(){return c(!1)},theme:"ash",className:"_mr-1 _w-48",children:"\u30ad\u30e3\u30f3\u30bb\u30eb"}),(0,a.jsx)(b.Q$,{onClick:n,className:"_ml-1 _w-48",disabled:r||!m(),children:"OK"})]})]})]}),(0,a.jsx)(o(),{id:U.i.__hash,children:U.i})]})}
1,B=function(e){var t=e.displayModal,n=e.setDisplayModal;return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(b.u_,{open:t,onClose:function(){return n&&n(!1)},head:"\u672c\u4eba\u78ba\u8a8d\u66f8\u985e\u306e\u63d0\u51fa\u304c\u5fc5\u8981\u3067\u3059",children:(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"_mb-10",children:(0,a.jsx)("p",{className:"_text-sm _mb-5 _font-bold",children:"\u6295\u7968\u3092\u884c\u3046\u5834\u5408\u306f\u3001\u672c\u4eba\u78ba\u8a8d\u66f8\u985e\u306e\u63d0\u51fa\u304c\u5fc5\u9808\u3068\u306a\u308a\u307e\u3059\u3002\u304a\u624b\u6570\u3067\u3059\u304c\u672c\u4eba\u78ba\u8a8d\u66f8\u985e\u63d0\u51fa\u306e\u304a\u624b\u7d9a\u304d\u3092\u304a\u9858\u3044\u3044\u305f\u3057\u307e\u3059\u3002"})}),(0,a.jsxs)("div",{className:"_flex _justify-between",children:[(0,a.jsx)(b.Q$,{href:"/",theme:"ash",className:"_mr-1 _w-48",children:"\u30c8\u30c3\u30d7\u3078"}),(0,a.jsx)(b.Q$,{className:"_ml-1 _w-48",href:"/signup/ekyc/",children:"\u63d0\u51fa\u3059\u308b"})]})]})})})},z=function(e){var t=e.displayModal,n=e.setDisplayModal;return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(b.u_,{open:t,onClose:function(){return n&&n(!1)},head:"\u672c\u4eba\u78ba\u8a8d\u306e\u5be9\u67fb\u4e2d\u3067\u3059",children:(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"_mb-10",children:(0,a.jsx)("p",{className:"_text-sm _mb-5 _font-bold",children:"\u3054\u672c\u4eba\u69d8\u78ba\u8a8d\u30c7\u30fc\u30bf\u306e\u78ba\u8a8d\u5b8c\u4e86\u307e\u3067\u4eca\u3057\u3070\u3089\u304f\u304a\u5f85\u3061\u304f\u3060\u3055\u3044\u3002\u78ba\u8a8d\u5b8c\u4e86\u5f8c\u306b\u3054\u767b\u9332\u306e\u30e1\u30fc\u30eb\u306b\u3054\u6848\u5185\u3055\u305b\u3066\u9802\u304d\u307e\u3059\u3002"})}),(0,a.jsx)("div",{className:"_flex _justify-center",children:(0,a.jsx)(b.Q$,{href:"/",theme:"ash",className:"_w-48",children:"\u30c8\u30c3\u30d7\u3078"})})]})})})},F=n(22004),H=function(e){var t=e.url,n=e.playing,r=(0,d.useState)(!1),i=r[0],o=r[1];(0,d.useEffect)((function(){o(!1)}),[t]);var s=setTimeout((function(){o(!0)}),5e3);return(0,a.jsx)(a.Fragment,{children:i?(0,a.jsx)("img",{src:"".concat("https://vote.autorace.jp","/images/img_no_video.png"),width:"100%"}):(0,a.jsx)(F.Z,{url:t,muted:!1,playsinline:!0,playing:n||!1,width:"100%",height:"auto",controls:!0,onError:function(){},onProgress:function(){clearTimeout(s)},file:"forceHLS"})})},$=n(59499),Y=n(71383),W=n(90896),G=n(26997),q=n(92432);function K(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<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?K(Object(n),!0).forEach((function(t){(0,$.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):K(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Z,J=(0,G.Ps)(r||(r=(0,Y.Z)(["\n query {\n zenginBanks {\n code\n name\n }\n }\n"]))),Q=function(e){var t=e.name,n=e.code;return(0,a.jsx)("div",{style:{display:"flex"},"data-value":n,children:(0,a.jsxs)("div",{children:[t,"\u9280\u884c"]})})},ee=function(e){var t,n=e.onChange,r=e.hasError,i=e.defaultBankCode,o=(0,q.aM)({query:J}),s=(0,P.Z)(o,1)[0].data,c=(0,m.hW)().colorScheme,l=null===s||void 0===s||null===(t=s.zenginBanks)||void 0===t?void 0:t.find((function(e){return e.code===i}));return(0,a.jsx)(W.ZP,{defaultValue:l,styles:{control:function(e){return r?X(X({},e),{},{backgroundColor:"#ffd8db"}):e},option:function(e,t){return"dark"===c?X(X({},e),{},{color:t.isSelected?"#fff":"#12181d"}):e}},options:null===s||void 0===s?void 0:s.zenginBanks,formatOptionLabel:Q,onChange:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){return n((null===e||void 0===e?void 0:e.code)||"")})),getOptionLabel:function(e){return e.name},getOptionValue:function(e){return e.code},placeholder:"\u9078\u629e\u3057\u3066\u304f\u3060\u3055\u3044",instanceId:"select-bank"})};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;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?te(Object(n),!0).forEach((function(t){(0,$.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):te(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var re,ie=(0,G.Ps)(Z||(Z=(0,Y.Z)(["\n query {\n ctybBanks {\n code\n name\n }\n }\n"]))),oe=function(e){var t=e.name,n=e.code;return(0,a.jsx)("div",{style:{display:"flex"},"data-value":n,children:(0,a.jsxs)("div",{children:[t,"\u9280\u884c"]})})},ae=function(e){var t=e.onChange,n=e.hasError,r=(0,q.aM)({query:ie}),i=(0,P.Z)(r,1)[0].data,o=(0,m.hW)().colorScheme;return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(W.ZP,{styles:{control:function(e){return n?ne(ne({},e),{},{backgroundColor:"#ffd8db"}):e},option:function(e,t){return"dark"===o?ne(ne({},e),{},{color:t.isSelected?"#fff":"#12181d"}):e}},options:null===i||void 0===i?void 0:i.ctybBanks,formatOptionLabel:oe,onChange:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){return t((null===e||void 0===e?void 0:e.code)||"")})),getOptionLabel:function(e){return e.name},getOptionValue:function(e){return e.code},placeholder:"\u9078\u629e\u3057\u3066\u304f\u3060\u3055\u3044",instanceId:"select-ctyb-bank"})})};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 ce(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?se(Object(n),!0).forEach((function(t){(0,$.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):se(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var le=(0,G.Ps)(re||(re=(0,Y.Z)(["\n query ($bankCode: String!) {\n zenginBranches(bankCode: $bankCode) {\n code\n name\n }\n }\n"]))),ue=function(e){var t=e.name,n=e.code;return(0,a.jsx)("div",{style:{display:"flex"},"data-value":n,children:(0,a.jsxs)("div",{children:[t,"\u652f\u5e97"]})})},de=function(e){var t=e.bankCode,n=e.onChange,r=e.hasError,i=e.defaultBranchCode,o=(0,d.useState)(null),s=o[0],c=o[1],l=(0,q.aM)({query:le,variables:{bankCode:t}}),u=(0,P.Z)(l,1)[0].data,f=(0,m.hW)().colorScheme,h=(0,d.useMemo)((function(){return null===u||void 0===u?void 0:u.zenginBranches}),[u]),p=null===h||void 0===h?void 0:h.find((function(e){return e.code===i}));return(0,d.useEffect)((function(){c(null),n("")}),[t]),(0,d.useEffect)((function(){c(p||null),n((null===p||void 0===p?void 0:p.code)||"")}),[p]),(0,a.jsx)(W.ZP,{styles:{control:function(e){return r?ce(ce({},e),{},{backgroundColor:"#ffd8db"}):e},option:function(e,t){return"dark"===f?ce(ce({},e),{},{color:t.isSelected?"#fff":"#12181d"}):e}},value:s,options:h,formatOptionLabel:ue,onChange:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){n((null===e||void 0===e?void 0:e.code)||""),c(e||null)})),getOptionLabel:function(e){return e.name},getOptionValue:function(e){return e.code},placeholder:"\u9078\u629e\u3057\u3066\u304f\u3060\u3055\u3044",instanceId:"select-branch",isDisabled:!t})};const fe="undefined"===typeof window?function(e){return e()}:window.requestAnimationFrame;function he(e,t,n){const r=n||(e=>Array.prototype.slice.call(e));let i=!1,o=[];return function(...n){o=r(n),i||(i=!0,fe.call(window,(()=>{i=!1,e.apply(t,o)})))}}const pe=e=>"start"===e?"left":"end"===e?"right":"center",me=(e,t,n)=>"start"===e?t:"end"===e?n:(t+n)/2;function ge(){}const ye=function(){let e=0;return function(){return e++}}();function ve(e){return null===e||"undefined"===typeof e}function be(e){if(Array.isArray&&Array.isArray(e))return!0;const t=Object.prototype.toString.call(e);return"[object"===t.substr(0,7)&&"Array]"===t.substr(-6)}function _e(e){return null!==e&&"[object Object]"===Object.prototype.toString.call(e)}const xe=e=>("number"===typeof e||e instanceof Number)&&isFinite(+e);function we(e,t){return xe(e)?e:t}function Se(e,t){return"undefined"===typeof e?t:e}const Ee=(e,t)=>"string"===typeof e&&e.endsWith("%")?parseFloat(e)/100*t:+e;function Oe(e,t,n){if(e&&"function"===typeof e.call)return e.apply(n,t)}function ke(e,t,n,r){let i,o,a;if(be(e))if(o=e.length,r)for(i=o-1;i>=0;i--)t.call(n,e[i],i);else for(i=0;i<o;i++)t.call(n,e[i],i);else if(_e(e))for(a=Object.keys(e),o=a.length,i=0;i<o;i++)t.call(n,e[a[i]],a[i])}function Te(e,t){let n,r,i,o;if(!e||!t||e.length!==t.length)return!1;for(n=0,r=e.length;n<r;++n)if(i=e[n],o=t[n],i.datasetIndex!==o.datasetIndex||i.index!==o.index)return!1;return!0}function Pe(e){if(be(e))return e.map(Pe);if(_e(e)){const t=Object.create(null),n=Object.keys(e),r=n.length;let i=0;for(;i<r;++i)t[n[i]]=Pe(e[n[i]]);return t}return e}function je(e){return-1===["__proto__","prototype","constructor"].indexOf(e)}function De(e,t,n,r){if(!je(e))return;const i=t[e],o=n[e];_e(i)&&_e(o)?Ce(i,o,r):t[e]=Pe(o)}function Ce(e,t,n){const r=be(t)?t:[t],i=r.length;if(!_e(e))return e;const o=(n=n||{}).merger||De;for(let a=0;a<i;++a){if(!_e(t=r[a]))continue;const i=Object.keys(t);for(let r=0,a=i.length;r<a;++r)o(i[r],e,t,n)}return e}function Me(e,t){return Ce(e,t,{merger:Re})}function Re(e,t,n){if(!je(e))return;const r=t[e],i=n[e];_e(r)&&_e(i)?Me(r,i):Object.prototype.hasOwnProperty.call(t,e)||(t[e]=Pe(i))}function Ne(e,t){const n=e.indexOf(".",t);return-1===n?e.length:n}function Ae(e,t){if(""===t)return e;let n=0,r=Ne(t,n);for(;e&&r>n;)e=e[t.substr(n,r-n)],n=r+1,r=Ne(t,n);return e}function Ie(e){return e.charAt(0).toUpperCase()+e.slice(1)}const Le=e=>"undefined"!==typeof e,Ue=e=>"function"===typeof e,Ve=(e,t)=>{if(e.size!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;return!0};const Be=Math.PI,ze=2*Be,Fe=ze+Be,He=Number.POSITIVE_INFINITY,$e=Be/180,Ye=Be/2,We=Be/4,Ge=2*Be/3,qe=Math.log10,Ke=Math.sign;function Xe(e){const t=Math.round(e);e=Je(e,t,e/1e3)?t:e;const n=Math.pow(10,Math.floor(qe(e))),r=e/n;return(r<=1?1:r<=2?2:r<=5?5:10)*n}function Ze(e){return!isNaN(parseFloat(e))&&isFinite(e)}function Je(e,t,n){return Math.abs(e-t)<n}function Qe(e,t,n){let r,i,o;for(r=0,i=e.length;r<i;r++)o=e[r][n],isNaN(o)||(t.min=Math.min(t.min,o),t.max=Math.max(t.max,o))}function et(e){return e*(Be/180)}function tt(e){return e*(180/Be)}function nt(e){if(!xe(e))return;let t=1,n=0;for(;Math.round(e*t)/t!==e;)t*=10,n++;return n}function rt(e,t){const n=t.x-e.x,r=t.y-e.y,i=Math.sqrt(n*n+r*r);let o=Math.atan2(r,n);return o<-.5*Be&&(o+=ze),{angle:o,distance:i}}function it(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function ot(e,t){return(e-t+Fe)%ze-Be}function at(e){return(e%ze+ze)%ze}function st(e,t,n,r){const i=at(e),o=at(t),a=at(n),s=at(o-i),c=at(a-i),l=at(i-o),u=at(i-a);return i===o||i===a||r&&o===a||s>c&&l<u}function ct(e,t,n){return Math.max(t,Math.min(n,e))}function lt(e,t,n,r=1e-6){return e>=Math.min(t,n)-r&&e<=Math.max(t,n)+r}const ut=e=>
vendor: 7,109 bytes, line 1
10===e||1===e,dt=(e,t,n)=>-Math.pow(2,10*(e-=1))*Math.sin((e-t)*ze/n),ft=(e,t,n)=>Math.pow(2,-10*e)*Math.sin((e-t)*ze/n)+1,ht={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>-e*(e-2),easeInOutQuad:e=>(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1),easeInCubic:e=>e*e*e,easeOutCubic:e=>(e-=1)*e*e+1,easeInOutCubic:e=>(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2),easeInQuart:e=>e*e*e*e,easeOutQuart:e=>-((e-=1)*e*e*e-1),easeInOutQuart:e=>(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2),easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>(e-=1)*e*e*e*e+1,easeInOutQuint:e=>(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2),easeInSine:e=>1-Math.cos(e*Ye),easeOutSine:e=>Math.sin(e*Ye),easeInOutSine:e=>-.5*(Math.cos(Be*e)-1),easeInExpo:e=>0===e?0:Math.pow(2,10*(e-1)),easeOutExpo:e=>1===e?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>ut(e)?e:e<.5?.5*Math.pow(2,10*(2*e-1)):.5*(2-Math.pow(2,-10*(2*e-1))),easeInCirc:e=>e>=1?e:-(Math.sqrt(1-e*e)-1),easeOutCirc:e=>Math.sqrt(1-(e-=1)*e),easeInOutCirc:e=>(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1),easeInElastic:e=>ut(e)?e:dt(e,.075,.3),easeOutElastic:e=>ut(e)?e:ft(e,.075,.3),easeInOutElastic(e){const t=.1125;return ut(e)?e:e<.5?.5*dt(2*e,t,.45):.5+.5*ft(2*e-1,t,.45)},easeInBack(e){const t=1.70158;return e*e*((t+1)*e-t)},easeOutBack(e){const t=1.70158;return(e-=1)*e*((t+1)*e+t)+1},easeInOutBack(e){let t=1.70158;return(e/=.5)<1?e*e*((1+(t*=1.525))*e-t)*.5:.5*((e-=2)*e*((1+(t*=1.525))*e+t)+2)},easeInBounce:e=>1-ht.easeOutBounce(1-e),easeOutBounce(e){const t=7.5625,n=2.75;return e<1/n?t*e*e:e<2/n?t*(e-=1.5/n)*e+.75:e<2.5/n?t*(e-=2.25/n)*e+.9375:t*(e-=2.625/n)*e+.984375},easeInOutBounce:e=>e<.5?.5*ht.easeInBounce(2*e):.5*ht.easeOutBounce(2*e-1)+.5},pt={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},mt="0123456789ABCDEF",gt=e=>mt[15&e],yt=e=>mt[(240&e)>>4]+mt[15&e],vt=e=>(240&e)>>4===(15&e);function bt(e){var t=function(e){return vt(e.r)&&vt(e.g)&&vt(e.b)&&vt(e.a)}(e)?gt:yt;return e?"#"+t(e.r)+t(e.g)+t(e.b)+(e.a<255?t(e.a):""):e}function _t(e){return e+.5|0}const xt=(e,t,n)=>Math.max(Math.min(e,n),t);function wt(e){return xt(_t(2.55*e),0,255)}function St(e){return xt(_t(255*e),0,255)}function Et(e){return xt(_t(e/2.55)/100,0,1)}function Ot(e){return xt(_t(100*e),0,100)}const kt=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;const Tt=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function Pt(e,t,n){const r=t*Math.min(n,1-n),i=(t,i=(t+e/30)%12)=>n-r*Math.max(Math.min(i-3,9-i,1),-1);return[i(0),i(8),i(4)]}function jt(e,t,n){const r=(r,i=(r+e/60)%6)=>n-n*t*Math.max(Math.min(i,4-i,1),0);return[r(5),r(3),r(1)]}function Dt(e,t,n){const r=Pt(e,1,.5);let i;for(t+n>1&&(i=1/(t+n),t*=i,n*=i),i=0;i<3;i++)r[i]*=1-t-n,r[i]+=t;return r}function Ct(e){const t=e.r/255,n=e.g/255,r=e.b/255,i=Math.max(t,n,r),o=Math.min(t,n,r),a=(i+o)/2;let s,c,l;return i!==o&&(l=i-o,c=a>.5?l/(2-i-o):l/(i+o),s=i===t?(n-r)/l+(n<r?6:0):i===n?(r-t)/l+2:(t-n)/l+4,s=60*s+.5),[0|s,c||0,a]}function Mt(e,t,n,r){return(Array.isArray(t)?e(t[0],t[1],t[2]):e(t,n,r)).map(St)}function Rt(e,t,n){return Mt(Pt,e,t,n)}function Nt(e){return(e%360+360)%360}function At(e){const t=Tt.exec(e);let n,r=255;if(!t)return;t[5]!==n&&(r=t[6]?wt(+t[5]):St(+t[5]));const i=Nt(+t[2]),o=+t[3]/100,a=+t[4]/100;return n="hwb"===t[1]?function(e,t,n){return Mt(Dt,e,t,n)}(i,o,a):"hsv"===t[1]?function(e,t,n){return Mt(jt,e,t,n)}(i,o,a):Rt(i,o,a),{r:n[0],g:n[1],b:n[2],a:r}}const It={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},Lt={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};let Ut;function Vt(e){Ut||(Ut=function(){const e={},t=Object.keys(Lt),n=Object.keys(It);let r,i,o,a,s;for(r=0;r<t.length;r++){for(a=s=t[r],i=0;i<n.length;i++)o=n[i],s=s.replace(o,It[o]);o=parseInt(Lt[a],16),e[s]=[o>>16&255,o>>8&255,255&o]}return e}(),Ut.transparent=[0,0,0,0]);const t=Ut[e.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:4===t.length?t[3]:255}}function Bt(e,t,n){if(e){let r=Ct(e);r[t]=Math.max(0,Math.min(r[t]+r[t]*n,0===t?360:1)),r=Rt(r),e.r=r[0],e.g=r[1],e.b=r[2]}}function zt(e,t){return e?Object.assign(t||{},e):e}function Ft(e){var t={r:0,g:0,b:0,a:255};return Array.isArray(e)?e.length>=3&&(t={r:e[0],g:e[1],b:e[2],a:255},e.length>3&&(t.a=St(e[3]))):(t=zt(e,{r:0,g:0,b:0,a:1})).a=St(t.a),t}function Ht(e){return"r"===e.charAt(0)?function(e){const t=kt.exec(e);let n,r,i,o=255;if(t){if(t[7]!==n){const e=+t[7];o=255&(t[8]?wt(e):255*e)}return n=+t[1],r=+t[3],i=+t[5],n=255&(t[2]?wt(n):n),r=255&(t[4]?wt(r):r),i=255&(t[6]?wt(i):i),{r:n,g:r,b:i,a:o}}}(e):At(e)}class $t{constructor(e){if(e instanceof $t)return e;const t=typeof e;let n;
1"object"===t?n=Ft(e):"string"===t&&(n=function(e){var t,n=e.length;return"#"===e[0]&&(4===n||5===n?t={r:255&17*pt[e[1]],g:255&17*pt[e[2]],b:255&17*pt[e[3]],a:5===n?17*pt[e[4]]:255}:7!==n&&9!==n||(t={r:pt[e[1]]<<4|pt[e[2]],g:pt[e[3]]<<4|pt[e[4]],b:pt[e[5]]<<4|pt[e[6]],a:9===n?pt[e[7]]<<4|pt[e[8]]:255})),t}(e)||Vt(e)||Ht(e)),this._rgb=n,this._valid=!!n}get valid(){return this._valid}get rgb(){var e=zt(this._rgb);return e&&(e.a=Et(e.a)),e}set rgb(e){this._rgb=Ft(e)}rgbString(){return this._valid?(e=this._rgb)&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${Et(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`):this._rgb;var e}hexString(){return this._valid?bt(this._rgb):this._rgb}hslString(){return this._valid?function(e){if(!e)return;const t=Ct(e),n=t[0],r=Ot(t[1]),i=Ot(t[2]);return e.a<255?`hsla(${n}, ${r}%, ${i}%, ${Et(e.a)})`:`hsl(${n}, ${r}%, ${i}%)`}(this._rgb):this._rgb}mix(e,t){const n=this;if(e){const r=n.rgb,i=e.rgb;let o;const a=t===o?.5:t,s=2*a-1,c=r.a-i.a,l=((s*c===-1?s:(s+c)/(1+s*c))+1)/2;o=1-l,r.r=255&l*r.r+o*i.r+.5,r.g=255&l*r.g+o*i.g+.5,r.b=255&l*r.b+o*i.b+.5,r.a=a*r.a+(1-a)*i.a,n.rgb=r}return n}clone(){return new $t(this.rgb)}alpha(e){return this._rgb.a=St(e),this}clearer(e){return this._rgb.a*=1-e,this}greyscale(){const e=this._rgb,t=_t(.3*e.r+.59*e.g+.11*e.b);return e.r=e.g=e.b=t,this}opaquer(e){return this._rgb.a*=1+e,this}negate(){const e=this._rgb;return e.r=255-e.r,e.g=255-e.g,e.b=255-e.b,this}lighten(e){return Bt(this._rgb,2,e),this}darken(e){return Bt(this._rgb,2,-e),this}saturate(e){return Bt(this._rgb,1,e),this}desaturate(e){return Bt(this._rgb,1,-e),this}rotate(e){return function(e,t){var n=Ct(e);n[0]=Nt(n[0]+t),n=Rt(n),e.r=n[0],e.g=n[1],e.b=n[2]}(this._rgb,e),this}}function Yt(e){return new $t(e)}const Wt=e=>e instanceof CanvasGradient||e instanceof CanvasPattern;function Gt(e){return Wt(e)?e:Yt(e)}function qt(e){return Wt(e)?e:Yt(e).saturate(.5).darken(.1).hexString()}const Kt=Object.create(null),Xt=Object.create(null);function Zt(e,t){if(!t)return e;const n=t.split(".");for(let r=0,i=n.length;r<i;++r){const t=n[r];e=e[t]||(e[t]=Object.create(null))}return e}function Jt(e,t,n){return"string"===typeof t?Ce(Zt(e,t),n):Ce(Zt(e,""),t)}var Qt=new class{constructor(e){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=e=>e.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(e,t)=>qt(t.backgroundColor),this.hoverBorderColor=(e,t)=>qt(t.borderColor),this.hoverColor=(e,t)=>qt(t.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={}
vendor: 6,344 bytes, line 1
1,this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(e)}set(e,t){return Jt(this,e,t)}get(e){return Zt(this,e)}describe(e,t){return Jt(Xt,e,t)}override(e,t){return Jt(Kt,e,t)}route(e,t,n,r){const i=Zt(this,e),o=Zt(this,n),a="_"+t;Object.defineProperties(i,{[a]:{value:i[t],writable:!0},[t]:{enumerable:!0,get(){const e=this[a],t=o[r];return _e(e)?Object.assign({},t,e):Se(e,t)},set(e){this[a]=e}}})}}({_scriptable:e=>!e.startsWith("on"),_indexable:e=>"events"!==e,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}});function en(e,t,n,r,i){let o=t[i];return o||(o=t[i]=e.measureText(i).width,n.push(i)),o>r&&(r=o),r}function tn(e,t,n,r){let i=(r=r||{}).data=r.data||{},o=r.garbageCollect=r.garbageCollect||[];r.font!==t&&(i=r.data={},o=r.garbageCollect=[],r.font=t),e.save(),e.font=t;let a=0;const s=n.length;let c,l,u,d,f;for(c=0;c<s;c++)if(d=n[c],void 0!==d&&null!==d&&!0!==be(d))a=en(e,i,o,a,d);else if(be(d))for(l=0,u=d.length;l<u;l++)f=d[l],void 0===f||null===f||be(f)||(a=en(e,i,o,a,f));e.restore();const h=o.length/2;if(h>n.length){for(c=0;c<h;c++)delete i[o[c]];o.splice(0,h)}return a}function nn(e,t,n){const r=e.currentDevicePixelRatio,i=0!==n?Math.max(n/2,.5):0;return Math.round((t-i)*r)/r+i}function rn(e,t){(t=t||e.getContext("2d")).save(),t.resetTransform(),t.clearRect(0,0,e.width,e.height),t.restore()}function on(e,t,n,r){let i,o,a,s,c;const l=t.pointStyle,u=t.rotation,d=t.radius;let f=(u||0)*$e;if(l&&"object"===typeof l&&(i=l.toString(),"[object HTMLImageElement]"===i||"[object HTMLCanvasElement]"===i))return e.save(),e.translate(n,r),e.rotate(f),e.drawImage(l,-l.width/2,-l.height/2,l.width,l.height),void e.restore();if(!(isNaN(d)||d<=0)){switch(e.beginPath(),l){default:e.arc(n,r,d,0,ze),e.closePath();break;case"triangle":e.moveTo(n+Math.sin(f)*d,r-Math.cos(f)*d),f+=Ge,e.lineTo(n+Math.sin(f)*d,r-Math.cos(f)*d),f+=Ge,e.lineTo(n+Math.sin(f)*d,r-Math.cos(f)*d),e.closePath();break;case"rectRounded":c=.516*d,s=d-c,o=Math.cos(f+We)*s,a=Math.sin(f+We)*s,e.arc(n-o,r-a,c,f-Be,f-Ye),e.arc(n+a,r-o,c,f-Ye,f),e.arc(n+o,r+a,c,f,f+Ye),e.arc(n-a,r+o,c,f+Ye,f+Be),e.closePath();break;case"rect":if(!u){s=Math.SQRT1_2*d,e.rect(n-s,r-s,2*s,2*s);break}f+=We;case"rectRot":o=Math.cos(f)*d,a=Math.sin(f)*d,e.moveTo(n-o,r-a),e.lineTo(n+a,r-o),e.lineTo(n+o,r+a),e.lineTo(n-a,r+o),e.closePath();break;case"crossRot":f+=We;case"cross":o=Math.cos(f)*d,a=Math.sin(f)*d,e.moveTo(n-o,r-a),e.lineTo(n+o,r+a),e.moveTo(n+a,r-o),e.lineTo(n-a,r+o);break;case"star":o=Math.cos(f)*d,a=Math.sin(f)*d,e.moveTo(n-o,r-a),e.lineTo(n+o,r+a),e.moveTo(n+a,r-o),e.lineTo(n-a,r+o),f+=We,o=Math.cos(f)*d,a=Math.sin(f)*d,e.moveTo(n-o,r-a),e.lineTo(n+o,r+a),e.moveTo(n+a,r-o),e.lineTo(n-a,r+o);break;case"line":o=Math.cos(f)*d,a=Math.sin(f)*d,e.moveTo(n-o,r-a),e.lineTo(n+o,r+a);break;case"dash":e.moveTo(n,r),e.lineTo(n+Math.cos(f)*d,r+Math.sin(f)*d)}e.fill(),t.borderWidth>0&&e.stroke()}}function an(e,t,n){return n=n||.5,!t||e&&e.x>t.left-n&&e.x<t.right+n&&e.y>t.top-n&&e.y<t.bottom+n}function sn(e,t){e.save(),e.beginPath(),e.rect(t.left,t.top,t.right-t.left,t.bottom-t.top),e.clip()}function cn(e){e.restore()}function ln(e,t,n,r,i){if(!t)return e.lineTo(n.x,n.y);if("middle"===i){const r=(t.x+n.x)/2;e.lineTo(r,t.y),e.lineTo(r,n.y)}else"after"===i!==!!r?e.lineTo(t.x,n.y):e.lineTo(n.x,t.y);e.lineTo(n.x,n.y)}function un(e,t,n,r){if(!t)return e.lineTo(n.x,n.y);e.bezierCurveTo(r?t.cp1x:t.cp2x,r?t.cp1y:t.cp2y,r?n.cp2x:n.cp1x,r?n.cp2y:n.cp1y,n.x,n.y)}function dn(e,t,n,r,i,o={}){const a=be(t)?t:[t],s=o.strokeWidth>0&&""!==o.strokeColor;let c,l;for(e.save(),e.font=i.string,function(e,t){t.translation&&e.translate(t.translation[0],t.translation[1]);ve(t.rotation)||e.rotate(t.rotation);t.color&&(e.fillStyle=t.color);t.textAlign&&(e.textAlign=t.textAlign);t.textBaseline&&(e.textBaseline=t.textBaseline)}(e,o),c=0;c<a.length;++c)l=a[c],s&&(o.strokeColor&&(e.strokeStyle=o.strokeColor),ve(o.strokeWidth)||(e.lineWidth=o.strokeWidth),e.strokeText(l,n,r,o.maxWidth)),e.fillText(l,n,r,o.maxWidth),fn(e,n,r,l,o),r+=i.lineHeight;e.restore()}function fn(e,t,n,r,i){if(i.strikethrough||i.underline){const o=e.measureText(r),a=t-o.actualBoundingBoxLeft,s=t+o.actualBoundingBoxRight,c=n-o.actualBoundingBoxAscent,l=n+o.actualBoundingBoxDescent,u=i.strikethrough?(c+l)/2:l;e.strokeStyle=e.fillStyle,e.beginPath(),e.lineWidth=i.decorationWidth||2,e.moveTo(a,u),e.lineTo(s,u),e.stroke()}}function hn(e,t){const{x:n,y:r,w:i,h:o,radius:a}=t;e.arc(n+a.topLeft,r+a.topLeft,a.topLeft,-Ye,Be,!0),e.lineTo(n,r+o-a.bottomLeft),e.arc(n+a.bottomLeft,r+o-a.bottomLeft,a.bottomLeft,Be,Ye,!0),e.lineTo(n+i-a.bottomRight,r+o),e.arc(n+i-a.bottomRight,r+o-a.bottomRight,a.bottomRight,Ye,0,!0),e.lineTo(n+i,r+a.topRight),e.arc(n+i-a.topRight,r+a.topRight,a.topRight,0,-Ye,!0),e.lineTo(n+a.topLeft,r)}const pn=new RegExp(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/),mn=new RegExp(/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/);function gn(e,t){const n=(""+e).match(pn);if(!n||"normal"===n[1])return 1.2*t;switch(e=+n[2],n[3]){case"px":return e;case"%":e/=100}return t*e}function yn(e,t){const n={},r=_e(t),i=r?Object.keys(t):t,o=_e(e)?r?n=>Se(e[n],e[t[n]]):t=>e[t]:()=>e;for(const a of i)n[a]=+o(a)||0;return n}function vn(e){return yn(e,{top:"y",right:"x",bottom:"y",left:"x"})}function bn(e){return yn(e,["topLeft","topRight","bottomLeft","bottomRight"])}function _n(e){const t=vn(e);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function xn(e,t){e=e||{},t=t||Qt.font;let n=Se(e.size,t.size);"string"===typeof n&&(n=parseInt(n,10));let r=Se(e.style,t.style);r&&!(""+r).match(mn)&&(console.warn('Invalid font style specified: "'+r+'"'),r="");const i={family:Se(e.family,t.family),lineHeight:gn(Se(e.lineHeight,t.lineHeight),n),size:n,style:r,weight:Se(e.weight,t.weight),string:""};return i.string=function(e){return!e||ve(e.size)||ve(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family}(i),i}function wn(e,t,n,r){let i,o,a,s=!0;for(i=0,o=e.length;i<o;++i)if(a=e[i],void 0!==a&&(void 0!==t&&"function"===typeof a&&(a=a(t),s=!1),void 0!==n&&be(a)&&(a=a[n%a.length],s=!1),void 0!==a))return r&&!s&&(r.cacheable=!1),a}function Sn(e,t){return Object.assign(Object.create(e),t)}function En(e,t,n){n=n||(n=>e[n]<t);let r,i=e.length-1,o=0;for(;i-o>1;)r=o+i>>1,n(r)?o=r:i=r;return{lo:o,hi:i}}
vendor: 4,862 bytes, line 1
1const On=(e,t,n)=>En(e,n,(r=>e[r][t]<n)),kn=(e,t,n)=>En(e,n,(r=>e[r][t]>=n));const Tn=["push","pop","shift","splice","unshift"];function Pn(e,t){const n=e._chartjs;if(!n)return;const r=n.listeners,i=r.indexOf(t);-1!==i&&r.splice(i,1),r.length>0||(Tn.forEach((t=>{delete e[t]})),delete e._chartjs)}function jn(e){const t=new Set;let n,r;for(n=0,r=e.length;n<r;++n)t.add(e[n]);return t.size===r?e:Array.from(t)}function Dn(e,t=[""],n=e,r,i=(()=>e[0])){Le(r)||(r=zn("_fallback",e));const o={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:e,_rootScopes:n,_fallback:r,_getTarget:i,override:i=>Dn([i,...e],t,n,r)};return new Proxy(o,{deleteProperty:(t,n)=>(delete t[n],delete t._keys,delete e[0][n],!0),get:(n,r)=>An(n,r,(()=>function(e,t,n,r){let i;for(const o of t)if(i=zn(Rn(o,e),n),Le(i))return Nn(e,i)?Vn(n,r,e,i):i}(r,t,e,n))),getOwnPropertyDescriptor:(e,t)=>Reflect.getOwnPropertyDescriptor(e._scopes[0],t),getPrototypeOf:()=>Reflect.getPrototypeOf(e[0]),has:(e,t)=>Fn(e).includes(t),ownKeys:e=>Fn(e),set(e,t,n){const r=e._storage||(e._storage=i());return e[t]=r[t]=n,delete e._keys,!0}})}function Cn(e,t,n,r){const i={_cacheable:!1,_proxy:e,_context:t,_subProxy:n,_stack:new Set,_descriptors:Mn(e,r),setContext:t=>Cn(e,t,n,r),override:i=>Cn(e.override(i),t,n,r)};return new Proxy(i,{deleteProperty:(t,n)=>(delete t[n],delete e[n],!0),get:(e,t,n)=>An(e,t,(()=>function(e,t,n){const{_proxy:r,_context:i,_subProxy:o,_descriptors:a}=e;let s=r[t];Ue(s)&&a.isScriptable(t)&&(s=function(e,t,n,r){const{_proxy:i,_context:o,_subProxy:a,_stack:s}=n;if(s.has(e))throw new Error("Recursion detected: "+Array.from(s).join("->")+"->"+e);s.add(e),t=t(o,a||r),s.delete(e),Nn(e,t)&&(t=Vn(i._scopes,i,e,t));return t}(t,s,e,n));be(s)&&s.length&&(s=function(e,t,n,r){const{_proxy:i,_context:o,_subProxy:a,_descriptors:s}=n;if(Le(o.index)&&r(e))t=t[o.index%t.length];else if(_e(t[0])){const n=t,r=i._scopes.filter((e=>e!==n));t=[];for(const c of n){const n=Vn(r,i,e,c);t.push(Cn(n,o,a&&a[e],s))}}return t}(t,s,e,a.isIndexable));Nn(t,s)&&(s=Cn(s,i,o&&o[t],a));return s}(e,t,n))),getOwnPropertyDescriptor:(t,n)=>t._descriptors.allKeys?Reflect.has(e,n)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,n),getPrototypeOf:()=>Reflect.getPrototypeOf(e),has:(t,n)=>Reflect.has(e,n),ownKeys:()=>Reflect.ownKeys(e),set:(t,n,r)=>(e[n]=r,delete t[n],!0)})}function Mn(e,t={scriptable:!0,indexable:!0}){const{_scriptable:n=t.scriptable,_indexable:r=t.indexable,_allKeys:i=t.allKeys}=e;return{allKeys:i,scriptable:n,indexable:r,isScriptable:Ue(n)?n:()=>n,isIndexable:Ue(r)?r:()=>r}}const Rn=(e,t)=>e?e+Ie(t):t,Nn=(e,t)=>_e(t)&&"adapters"!==e&&(null===Object.getPrototypeOf(t)||t.constructor===Object);function An(e,t,n){if(Object.prototype.hasOwnProperty.call(e,t))return e[t];const r=n();return e[t]=r,r}function In(e,t,n){return Ue(e)?e(t,n):e}const Ln=(e,t)=>!0===e?t:"string"===typeof e?Ae(t,e):void 0;function Un(e,t,n,r,i){for(const o of t){const t=Ln(n,o);if(t){e.add(t);const o=In(t._fallback,n,i);if(Le(o)&&o!==n&&o!==r)return o}else if(!1===t&&Le(r)&&n!==r)return null}return!1}function Vn(e,t,n,r){const i=t._rootScopes,o=In(t._fallback,n,r),a=[...e,...i],s=new Set;s.add(r);let c=Bn(s,a,n,o||n,r);return null!==c&&((!Le(o)||o===n||(c=Bn(s,a,o,c,r),null!==c))&&Dn(Array.from(s),[""],i,o,(()=>function(e,t,n){const r=e._getTarget();t in r||(r[t]={});const i=r[t];if(be(i)&&_e(n))return n;return i}(t,n,r))))}function Bn(e,t,n,r,i){for(;n;)n=Un(e,t,n,r,i);return n}function zn(e,t){for(const n of t){if(!n)continue;const t=n[e];if(Le(t))return t}}function Fn(e){let t=e._keys;return t||(t=e._keys=function(e){const t=new Set;for(const n of e)for(const e of Object.keys(n).filter((e=>!e.startsWith("_"))))t.add(e);return Array.from(t)}(e._scopes)),t}const Hn=Number.EPSILON||1e-14,$n=(e,t)=>t<e.length&&!e[t].skip&&e[t],Yn=e=>"x"===e?"y":"x";function Wn(e,t,n,r){const i=e.skip?t:e,o=t,a=n.skip?t:n,s=it(o,i),c=it(a,o);let l=s/(s+c),u=c/(s+c);l=isNaN(l)?0:l,u=isNaN(u)?0:u;const d=r*l,f=r*u;return{previous:{x:o.x-d*(a.x-i.x),y:o.y-d*(a.y-i.y)},next:{x:o.x+f*(a.x-i.x),y:o.y+f*(a.y-i.y)}}}function Gn(e,t="x"){const n=Yn(t),r=e.length,i=Array(r).fill(0),o=Array(r);let a,s,c,l=$n(e,0);for(a=0;a<r;++a)if(s=c,c=l,l=$n(e,a+1),c){if(l){const e=l[t]-c[t];i[a]=0!==e?(l[n]-c[n])/e:0}o[a]=s?l?Ke(i[a-1])!==Ke(i[a])?0:(i[a-1]+i[a])/2:i[a-1]:i[a]}!function(e,t,n){const r=e.length;let i,o,a,s,c,l=$n(e,0);for(let u=0;u<r-1;++u)c=l,l=$n(e,u+1),c&&l&&(Je(t[u],0,Hn)?n[u]=n[u+1]=0:(i=n[u]/t[u],o=n[u+1]/t[u],s=Math.pow(i,2)+Math.pow(o,2),s<=9||(a=3/Math.sqrt(s),n[u]=i*a*t[u],n[u+1]=o*a*t[u])))}(e,i,o),function(e,t,n="x"){const r=Yn(n),i=e.length;let o,a,s,c=$n(e,0);for(let l=0;l<i;++l){if(a=s,s=c,c=$n(e,l+1),!s)continue;const i=s[n],u=s[r];a&&(o=(i-a[n])/3,s[`cp1${n}`]=i-o,s[`cp1${r}`]=u-o*t[l]),c&&(o=(c[n]-i)/3,s[`cp2${n}`]=i+o,s[`cp2${r}`]=u+o*t[l])}}(e,o,t)}
vendor: 4,535 bytes, line 1
1function qn(e,t,n){return Math.max(Math.min(e,n),t)}function Kn(e,t,n,r,i){let o,a,s,c;if(t.spanGaps&&(e=e.filter((e=>!e.skip))),"monotone"===t.cubicInterpolationMode)Gn(e,i);else{let n=r?e[e.length-1]:e[0];for(o=0,a=e.length;o<a;++o)s=e[o],c=Wn(n,s,e[Math.min(o+1,a-(r?0:1))%a],t.tension),s.cp1x=c.previous.x,s.cp1y=c.previous.y,s.cp2x=c.next.x,s.cp2y=c.next.y,n=s}t.capBezierPoints&&function(e,t){let n,r,i,o,a,s=an(e[0],t);for(n=0,r=e.length;n<r;++n)a=o,o=s,s=n<r-1&&an(e[n+1],t),o&&(i=e[n],a&&(i.cp1x=qn(i.cp1x,t.left,t.right),i.cp1y=qn(i.cp1y,t.top,t.bottom)),s&&(i.cp2x=qn(i.cp2x,t.left,t.right),i.cp2y=qn(i.cp2y,t.top,t.bottom)))}(e,n)}function Xn(){return"undefined"!==typeof window&&"undefined"!==typeof document}function Zn(e){let t=e.parentNode;return t&&"[object ShadowRoot]"===t.toString()&&(t=t.host),t}function Jn(e,t,n){let r;return"string"===typeof e?(r=parseInt(e,10),-1!==e.indexOf("%")&&(r=r/100*t.parentNode[n])):r=e,r}const Qn=e=>window.getComputedStyle(e,null);const er=["top","right","bottom","left"];function tr(e,t,n){const r={};n=n?"-"+n:"";for(let i=0;i<4;i++){const o=er[i];r[o]=parseFloat(e[t+"-"+o+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}function nr(e,t){const{canvas:n,currentDevicePixelRatio:r}=t,i=Qn(n),o="border-box"===i.boxSizing,a=tr(i,"padding"),s=tr(i,"border","width"),{x:c,y:l,box:u}=function(e,t){const n=e.native||e,r=n.touches,i=r&&r.length?r[0]:n,{offsetX:o,offsetY:a}=i;let s,c,l=!1;if(((e,t,n)=>(e>0||t>0)&&(!n||!n.shadowRoot))(o,a,n.target))s=o,c=a;else{const e=t.getBoundingClientRect();s=i.clientX-e.left,c=i.clientY-e.top,l=!0}return{x:s,y:c,box:l}}(e,n),d=a.left+(u&&s.left),f=a.top+(u&&s.top);let{width:h,height:p}=t;return o&&(h-=a.width+s.width,p-=a.height+s.height),{x:Math.round((c-d)/h*n.width/r),y:Math.round((l-f)/p*n.height/r)}}const rr=e=>Math.round(10*e)/10;function ir(e,t,n,r){const i=Qn(e),o=tr(i,"margin"),a=Jn(i.maxWidth,e,"clientWidth")||He,s=Jn(i.maxHeight,e,"clientHeight")||He,c=function(e,t,n){let r,i;if(void 0===t||void 0===n){const o=Zn(e);if(o){const e=o.getBoundingClientRect(),a=Qn(o),s=tr(a,"border","width"),c=tr(a,"padding");t=e.width-c.width-s.width,n=e.height-c.height-s.height,r=Jn(a.maxWidth,o,"clientWidth"),i=Jn(a.maxHeight,o,"clientHeight")}else t=e.clientWidth,n=e.clientHeight}return{width:t,height:n,maxWidth:r||He,maxHeight:i||He}}(e,t,n);let{width:l,height:u}=c;if("content-box"===i.boxSizing){const e=tr(i,"border","width"),t=tr(i,"padding");l-=t.width+e.width,u-=t.height+e.height}return l=Math.max(0,l-o.width),u=Math.max(0,r?Math.floor(l/r):u-o.height),l=rr(Math.min(l,a,c.maxWidth)),u=rr(Math.min(u,s,c.maxHeight)),l&&!u&&(u=rr(l/2)),{width:l,height:u}}function or(e,t,n){const r=t||1,i=Math.floor(e.height*r),o=Math.floor(e.width*r);e.height=i/r,e.width=o/r;const a=e.canvas;return a.style&&(n||!a.style.height&&!a.style.width)&&(a.style.height=`${e.height}px`,a.style.width=`${e.width}px`),(e.currentDevicePixelRatio!==r||a.height!==i||a.width!==o)&&(e.currentDevicePixelRatio=r,a.height=i,a.width=o,e.ctx.setTransform(r,0,0,r,0,0),!0)}const ar=function(){let e=!1;try{const t={get passive(){return e=!0,!1}};window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(t){}return e}();function sr(e,t){const n=function(e,t){return Qn(e).getPropertyValue(t)}(e,t),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}function cr(e,t,n,r){return{x:e.x+n*(t.x-e.x),y:e.y+n*(t.y-e.y)}}function lr(e,t,n,r){return{x:e.x+n*(t.x-e.x),y:"middle"===r?n<.5?e.y:t.y:"after"===r?n<1?e.y:t.y:n>0?t.y:e.y}}function ur(e,t,n,r){const i={x:e.cp2x,y:e.cp2y},o={x:t.cp1x,y:t.cp1y},a=cr(e,i,n),s=cr(i,o,n),c=cr(o,t,n),l=cr(a,s,n),u=cr(s,c,n);return cr(l,u,n)}const dr=new Map;function fr(e,t,n){return function(e,t){t=t||{};const n=e+JSON.stringify(t);let r=dr.get(n);return r||(r=new Intl.NumberFormat(e,t),dr.set(n,r)),r}(t,n).format(e)}function hr(e,t,n){return e?function(e,t){return{x:n=>e+e+t-n,setWidth(e){t=e},textAlign:e=>"center"===e?e:"right"===e?"left":"right",xPlus:(e,t)=>e-t,leftForLtr:(e,t)=>e-t}}(t,n):{x:e=>e,setWidth(e){},textAlign:e=>e,xPlus:(e,t)=>e+t,leftForLtr:(e,t)=>e}}function pr(e,t){let n,r;"ltr"!==t&&"rtl"!==t||(n=e.canvas.style,r=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",t,"important"),e.prevTextDirection=r)}function mr(e,t){void 0!==t&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",t[0],t[1]))}function gr(e){return"angle"===e?{between:st,compare:ot,normalize:at}:{between:lt,compare:(e,t)=>
vendor: 4,913 bytes, line 1
1e-t,normalize:e=>e}}function yr({start:e,end:t,count:n,loop:r,style:i}){return{start:e%n,end:t%n,loop:r&&(t-e+1)%n===0,style:i}}function vr(e,t,n){if(!n)return[e];const{property:r,start:i,end:o}=n,a=t.length,{compare:s,between:c,normalize:l}=gr(r),{start:u,end:d,loop:f,style:h}=function(e,t,n){const{property:r,start:i,end:o}=n,{between:a,normalize:s}=gr(r),c=t.length;let l,u,{start:d,end:f,loop:h}=e;if(h){for(d+=c,f+=c,l=0,u=c;l<u&&a(s(t[d%c][r]),i,o);++l)d--,f--;d%=c,f%=c}return f<d&&(f+=c),{start:d,end:f,loop:h,style:e.style}}(e,t,n),p=[];let m,g,y,v=!1,b=null;const _=()=>v||c(i,y,m)&&0!==s(i,y),x=()=>!v||0===s(o,m)||c(o,y,m);for(let w=u,S=u;w<=d;++w)g=t[w%a],g.skip||(m=l(g[r]),m!==y&&(v=c(m,i,o),null===b&&_()&&(b=0===s(m,i)?w:S),null!==b&&x()&&(p.push(yr({start:b,end:w,loop:f,count:a,style:h})),b=null),S=w,y=m));return null!==b&&p.push(yr({start:b,end:d,loop:f,count:a,style:h})),p}function br(e,t){const n=[],r=e.segments;for(let i=0;i<r.length;i++){const o=vr(r[i],e.points,t);o.length&&n.push(...o)}return n}function _r(e,t,n,r){return r&&r.setContext&&n?function(e,t,n,r){const i=e._chart.getContext(),o=xr(e.options),{_datasetIndex:a,options:{spanGaps:s}}=e,c=n.length,l=[];let u=o,d=t[0].start,f=d;function h(e,t,r,i){const o=s?-1:1;if(e!==t){for(e+=c;n[e%c].skip;)e-=o;for(;n[t%c].skip;)t+=o;e%c!==t%c&&(l.push({start:e%c,end:t%c,loop:r,style:i}),u=i,d=t%c)}}for(const p of t){d=s?d:p.start;let e,t=n[d%c];for(f=d+1;f<=p.end;f++){const o=n[f%c];e=xr(r.setContext(Sn(i,{type:"segment",p0:t,p1:o,p0DataIndex:(f-1)%c,p1DataIndex:f%c,datasetIndex:a}))),wr(e,u)&&h(d,f-1,p.loop,u),t=o,u=e}d<f-1&&h(d,f-1,p.loop,u)}return l}(e,t,n,r):t}function xr(e){return{backgroundColor:e.backgroundColor,borderCapStyle:e.borderCapStyle,borderDash:e.borderDash,borderDashOffset:e.borderDashOffset,borderJoinStyle:e.borderJoinStyle,borderWidth:e.borderWidth,borderColor:e.borderColor}}function wr(e,t){return t&&JSON.stringify(e)!==JSON.stringify(t)}var Sr=new class{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(e,t,n,r){const i=t.listeners[r],o=t.duration;i.forEach((r=>r({chart:e,initial:t.initial,numSteps:o,currentStep:Math.min(n-t.start,o)})))}_refresh(){this._request||(this._running=!0,this._request=fe.call(window,(()=>{this._update(),this._request=null,this._running&&this._refresh()})))}_update(e=Date.now()){let t=0;this._charts.forEach(((n,r)=>{if(!n.running||!n.items.length)return;const i=n.items;let o,a=i.length-1,s=!1;for(;a>=0;--a)o=i[a],o._active?(o._total>n.duration&&(n.duration=o._total),o.tick(e),s=!0):(i[a]=i[i.length-1],i.pop());s&&(r.draw(),this._notify(r,n,e,"progress")),i.length||(n.running=!1,this._notify(r,n,e,"complete"),n.initial=!1),t+=i.length})),this._lastDate=e,0===t&&(this._running=!1)}_getAnims(e){const t=this._charts;let n=t.get(e);return n||(n={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},t.set(e,n)),n}listen(e,t,n){this._getAnims(e).listeners[t].push(n)}add(e,t){t&&t.length&&this._getAnims(e).items.push(...t)}has(e){return this._getAnims(e).items.length>0}start(e){const t=this._charts.get(e);t&&(t.running=!0,t.start=Date.now(),t.duration=t.items.reduce(((e,t)=>Math.max(e,t._duration)),0),this._refresh())}running(e){if(!this._running)return!1;const t=this._charts.get(e);return!!(t&&t.running&&t.items.length)}stop(e){const t=this._charts.get(e);if(!t||!t.items.length)return;const n=t.items;let r=n.length-1;for(;r>=0;--r)n[r].cancel();t.items=[],this._notify(e,t,Date.now(),"complete")}remove(e){return this._charts.delete(e)}};const Er="transparent",Or={boolean:(e,t,n)=>n>.5?t:e,color(e,t,n){const r=Gt(e||Er),i=r.valid&&Gt(t||Er);return i&&i.valid?i.mix(r,n).hexString():t},number:(e,t,n)=>e+(t-e)*n};class kr{constructor(e,t,n,r){const i=t[n];r=wn([e.to,r,i,e.from]);const o=wn([e.from,i,r]);this._active=!0,this._fn=e.fn||Or[e.type||typeof o],this._easing=ht[e.easing]||ht.linear,this._start=Math.floor(Date.now()+(e.delay||0)),this._duration=this._total=Math.floor(e.duration),this._loop=!!e.loop,this._target=t,this._prop=n,this._from=o,this._to=r,this._promises=void 0}active(){return this._active}update(e,t,n){if(this._active){this._notify(!1);const r=this._target[this._prop],i=n-this._start,o=this._duration-i;this._start=n,this._duration=Math.floor(Math.max(o,e.duration)),this._total+=i,this._loop=!!e.loop,this._to=wn([e.to,t,r,e.from]),this._from=wn([e.from,r,t])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(e){const t=e-this._start,n=this._duration,r=this._prop,i=this._from,o=this._loop,a=this._to;let s;if(this._active=i!==a&&(o||t<n),!this._active)return this._target[r]=a,void this._notify(!0);t<0?this._target[r]=i:(s=t/n%2,s=o&&s>1?2-s:s,s=this._easing(Math.min(1,Math.max(0,s))),this._target[r]=this._fn(i,a,s))}wait(){const e=this._promises||(this._promises=[]);return new Promise(((t,n)=>{e.push({res:t,rej:n}
vendor: 11,845 bytes, line 1
1)}))}_notify(e){const t=e?"res":"rej",n=this._promises||[];for(let r=0;r<n.length;r++)n[r][t]()}}Qt.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0});const Tr=Object.keys(Qt.animation);Qt.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:e=>"onProgress"!==e&&"onComplete"!==e&&"fn"!==e}),Qt.set("animations",{colors:{type:"color",properties:["color","borderColor","backgroundColor"]},numbers:{type:"number",properties:["x","y","borderWidth","radius","tension"]}}),Qt.describe("animations",{_fallback:"animation"}),Qt.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:e=>0|e}}}});class Pr{constructor(e,t){this._chart=e,this._properties=new Map,this.configure(t)}configure(e){if(!_e(e))return;const t=this._properties;Object.getOwnPropertyNames(e).forEach((n=>{const r=e[n];if(!_e(r))return;const i={};for(const e of Tr)i[e]=r[e];(be(r.properties)&&r.properties||[n]).forEach((e=>{e!==n&&t.has(e)||t.set(e,i)}))}))}_animateOptions(e,t){const n=t.options,r=function(e,t){if(!t)return;let n=e.options;if(!n)return void(e.options=t);n.$shared&&(e.options=n=Object.assign({},n,{$shared:!1,$animations:{}}));return n}(e,n);if(!r)return[];const i=this._createAnimations(r,n);return n.$shared&&function(e,t){const n=[],r=Object.keys(t);for(let i=0;i<r.length;i++){const t=e[r[i]];t&&t.active()&&n.push(t.wait())}return Promise.all(n)}(e.options.$animations,n).then((()=>{e.options=n}),(()=>{})),i}_createAnimations(e,t){const n=this._properties,r=[],i=e.$animations||(e.$animations={}),o=Object.keys(t),a=Date.now();let s;for(s=o.length-1;s>=0;--s){const c=o[s];if("$"===c.charAt(0))continue;if("options"===c){r.push(...this._animateOptions(e,t));continue}const l=t[c];let u=i[c];const d=n.get(c);if(u){if(d&&u.active()){u.update(d,l,a);continue}u.cancel()}d&&d.duration?(i[c]=u=new kr(d,e,c,l),r.push(u)):e[c]=l}return r}update(e,t){if(0===this._properties.size)return void Object.assign(e,t);const n=this._createAnimations(e,t);return n.length?(Sr.add(this._chart,n),!0):void 0}}function jr(e,t){const n=e&&e.options||{},r=n.reverse,i=void 0===n.min?t:0,o=void 0===n.max?t:0;return{start:r?o:i,end:r?i:o}}function Dr(e,t){const n=[],r=e._getSortedDatasetMetas(t);let i,o;for(i=0,o=r.length;i<o;++i)n.push(r[i].index);return n}function Cr(e,t,n,r={}){const i=e.keys,o="single"===r.mode;let a,s,c,l;if(null!==t){for(a=0,s=i.length;a<s;++a){if(c=+i[a],c===n){if(r.all)continue;break}l=e.values[c],xe(l)&&(o||0===t||Ke(t)===Ke(l))&&(t+=l)}return t}}function Mr(e,t){const n=e&&e.options.stacked;return n||void 0===n&&void 0!==t.stack}function Rr(e,t,n){const r=e[t]||(e[t]={});return r[n]||(r[n]={})}function Nr(e,t,n,r){for(const i of t.getMatchingVisibleMetas(r).reverse()){const t=e[i.index];if(n&&t>0||!n&&t<0)return i.index}return null}function Ar(e,t){const{chart:n,_cachedMeta:r}=e,i=n._stacks||(n._stacks={}),{iScale:o,vScale:a,index:s}=r,c=o.axis,l=a.axis,u=function(e,t,n){return`${e.id}.${t.id}.${n.stack||n.type}`}(o,a,r),d=t.length;let f;for(let h=0;h<d;++h){const e=t[h],{[c]:n,[l]:o}=e;f=(e._stacks||(e._stacks={}))[l]=Rr(i,u,n),f[s]=o,f._top=Nr(f,a,!0,r.type),f._bottom=Nr(f,a,!1,r.type)}}function Ir(e,t){const n=e.scales;return Object.keys(n).filter((e=>n[e].axis===t)).shift()}function Lr(e,t){const n=e.controller.index,r=e.vScale&&e.vScale.axis;if(r){t=t||e._parsed;for(const e of t){const t=e._stacks;if(!t||void 0===t[r]||void 0===t[r][n])return;delete t[r][n]}}}const Ur=e=>"reset"===e||"none"===e,Vr=(e,t)=>t?e:Object.assign({},e);class Br{constructor(e,t){this.chart=e,this._ctx=e.ctx,this.index=t,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.$context=void 0,this._syncList=[],this.initialize()}initialize(){const e=this._cachedMeta;this.configure(),this.linkScales(),e._stacked=Mr(e.vScale,e),this.addElements()}updateIndex(e){this.index!==e&&Lr(this._cachedMeta),this.index=e}linkScales(){const e=this.chart,t=this._cachedMeta,n=this.getDataset(),r=(e,t,n,r)=>"x"===e?t:"r"===e?r:n,i=t.xAxisID=Se(n.xAxisID,Ir(e,"x")),o=t.yAxisID=Se(n.yAxisID,Ir(e,"y")),a=t.rAxisID=Se(n.rAxisID,Ir(e,"r")),s=t.indexAxis,c=t.iAxisID=r(s,i,o,a),l=t.vAxisID=r(s,o,i,a);t.xScale=this.getScaleForId(i),t.yScale=this.getScaleForId(o),t.rScale=this.getScaleForId(a),t.iScale=this.getScaleForId(c),t.vScale=this.getScaleForId(l)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(e){return this.chart.scales[e]}_getOtherScale(e){const t=this._cachedMeta;return e===t.iScale?t.vScale:t.iScale}reset(){this._update("reset")}_destroy(){const e=this._cachedMeta;this._data&&Pn(this._data,this),e._stacked&&Lr(e)}_dataCheck(){const e=this.getDataset(),t=e.data||(e.data=[]),n=this._data;if(_e(t))this._data=function(e){const t=Object.keys(e),n=new Array(t.length);let r,i,o;for(r=0,i=t.length;r<i;++r)o=t[r],n[r]={x:o,y:e[o]};return n}(t);else if(n!==t){if(n){Pn(n,this);const e=this._cachedMeta;Lr(e),e._parsed=[]}t&&Object.isExtensible(t)&&(i=this,(r=t)._chartjs?r._chartjs.listeners.push(i):(Object.defineProperty(r,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[i]}}),Tn.forEach((e=>{const t="_onData"+Ie(e),n=r[e];Object.defineProperty(r,e,{configurable:!0,enumerable:!1,value(...e){const i=n.apply(this,e);return r._chartjs.listeners.forEach((n=>{"function"===typeof n[t]&&n[t](...e)})),i}})})))),this._syncList=[],this._data=t}var r,i}addElements(){const e=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(e.dataset=new this.datasetElementType)}buildOrUpdateElements(e){const t=this._cachedMeta,n=this.getDataset();let r=!1;this._dataCheck();const i=t._stacked;t._stacked=Mr(t.vScale,t),t.stack!==n.stack&&(r=!0,Lr(t),t.stack=n.stack),this._resyncElements(e),(r||i!==t._stacked)&&Ar(this,t._parsed)}configure(){const e=this.chart.config,t=e.datasetScopeKeys(this._type),n=e.getOptionScopes(this.getDataset(),t,!0);this.options=e.createResolver(n,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(e,t){const{_cachedMeta:n,_data:r}=this,{iScale:i,_stacked:o}=n,a=i.axis;let s,c,l,u=0===e&&t===r.length||n._sorted,d=e>0&&n._parsed[e-1];if(!1===this._parsing)n._parsed=r,n._sorted=!0,l=r;else{l=be(r[e])?this.parseArrayData(n,r,e,t):_e(r[e])?this.parseObjectData(n,r,e,t):this.parsePrimitiveData(n,r,e,t);const i=()=>null===c[a]||d&&c[a]<d[a];for(s=0;s<t;++s)n._parsed[s+e]=c=l[s],u&&(i()&&(u=!1),d=c);n._sorted=u}o&&Ar(this,l)}parsePrimitiveData(e,t,n,r){const{iScale:i,vScale:o}=e,a=i.axis,s=o.axis,c=i.getLabels(),l=i===o,u=new Array(r);let d,f,h;for(d=0,f=r;d<f;++d)h=d+n,u[d]={[a]:l||i.parse(c[h],h),[s]:o.parse(t[h],h)};return u}parseArrayData(e,t,n,r){const{xScale:i,yScale:o}=e,a=new Array(r);let s,c,l,u;for(s=0,c=r;s<c;++s)l=s+n,u=t[l],a[s]={x:i.parse(u[0],l),y:o.parse(u[1],l)};return a}parseObjectData(e,t,n,r){const{xScale:i,yScale:o}=e,{xAxisKey:a="x",yAxisKey:s="y"}=this._parsing,c=new Array(r);let l,u,d,f;for(l=0,u=r;l<u;++l)d=l+n,f=t[d],c[l]={x:i.parse(Ae(f,a),d),y:o.parse(Ae(f,s),d)};return c}getParsed(e){return this._cachedMeta._parsed[e]}getDataElement(e){return this._cachedMeta.data[e]}applyStack(e,t,n){const r=this.chart,i=this._cachedMeta,o=t[e.axis];return Cr({keys:Dr(r,!0),values:t._stacks[e.axis]},o,i.index,{mode:n})}updateRangeFromParsed(e,t,n,r){const i=n[t.axis];let o=null===i?NaN:i;const a=r&&n._stacks[t.axis];r&&a&&(r.values=a,o=Cr(r,i,this._cachedMeta.index)),e.min=Math.min(e.min,o),e.max=Math.max(e.max,o)}getMinMax(e,t){const n=this._cachedMeta,r=n._parsed,i=n._sorted&&e===n.iScale,o=r.length,a=this._getOtherScale(e),s=((e,t,n)=>e&&!t.hidden&&t._stacked&&{keys:Dr(n,!0),values:null})(t,n,this.chart),c={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:l,max:u}=function(e){const{min:t,max:n,minDefined:r,maxDefined:i}=e.getUserBounds();return{min:r?t:Number.NEGATIVE_INFINITY,max:i?n:Number.POSITIVE_INFINITY}}(a);let d,f;function h(){f=r[d];const t=f[a.axis];return!xe(f[e.axis])||l>t||u<t}for(d=0;d<o&&(h()||(this.updateRangeFromParsed(c,e,f,s),!i));++d);if(i)for(d=o-1;d>=0;--d)if(!h()){this.updateRangeFromParsed(c,e,f,s);break}return c}getAllParsedValues(e){const t=this._cachedMeta._parsed,n=[];let r,i,o;for(r=0,i=t.length;r<i;++r)o=t[r][e.axis],xe(o)&&n.push(o);return n}getMaxOverflow(){return!1}getLabelAndValue(e){const t=this._cachedMeta,n=t.iScale,r=t.vScale,i=this.getParsed(e);return{label:n?""+n.getLabelForValue(i[n.axis]):"",value:r?""+r.getLabelForValue(i[r.axis]):""}}_update(e){const t=this._cachedMeta;this.update(e||"default"),t._clip=function(e){let t,n,r,i;return _e(e)?(t=e.top,n=e.right,r=e.bottom,i=e.left):t=n=r=i=e,{top:t,right:n,bottom:r,left:i,disabled:!1===e}}(Se(this.options.clip,function(e,t,n){if(!1===n)return!1;const r=jr(e,n),i=jr(t,n);return{top:i.end,right:r.end,bottom:i.start,left:r.start}}(t.xScale,t.yScale,this.getMaxOverflow())))}update(e){}draw(){const e=this._ctx,t=this.chart,n=this._cachedMeta,r=n.data||[],i=t.chartArea,o=[],a=this._drawStart||0,s=this._drawCount||r.length-a,c=this.options.drawActiveElementsOnTop;let l;for(n.dataset&&n.dataset.draw(e,i,a,s),l=a;l<a+s;++l){const t=r[l];t.hidden||(t.active&&c?o.push(t):t.draw(e,i))}for(l=0;l<o.length;++l)o[l].draw(e,i)}getStyle(e,t){const n=t?"active":"default";return void 0===e&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(n):this.resolveDataElementOptions(e||0,n)}getContext(e,t,n){const r=this.getDataset();let i;if(e>=0&&e<this._cachedMeta.data.length){const t=this._cachedMeta.data[e];i=t.$context||(t.$context=function(e,t,n){return Sn(e,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:n,index:t,mode:"default",type:"data"})}(this.getContext(),e,t)),i.parsed=this.getParsed(e),i.raw=r.data[e],i.index=i.dataIndex=e}else i=this.$context||(this.$context=function(e,t){return Sn(e,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:"default",type:"dataset"})}(this.chart.getContext(),this.index)),i.dataset=r,i.index=i.datasetIndex=this.index;return i.active=!!t,i.mode=n,i}resolveDatasetElementOptions(e){return this._resolveElementOptions(this.datasetElementType.id,e)}resolveDataElementOptions(e,t){return this._resolveElementOptions(this.dataElementType.id,t,e)}_resolveElementOptions(e,t="default",n){const r="active"===t,i=this._cachedDataOpts,o=e+"-"+t,a=i[o],s=this.enableOptionSharing&&Le(n);if(a)return Vr(a,s);const c=this.chart.config,l=c.datasetElementScopeKeys(this._type,e),u=r?[`${e}Hover`,"hover",e,""]:[e,""],d=c.getOptionScopes(this.getDataset(),l),f=Object.keys(Qt.elements[e]),h=c.resolveNamedOptions(d,f,(()=>this.getContext(n,r)),u);return h.$shared&&(h.$shared=s,i[o]=Object.freeze(Vr(h,s))),h}_resolveAnimations(e,t,n){const r=this.chart,i=this._cachedDataOpts,o=`animation-${t}`,a=i[o];if(a)return a;let s;if(!1!==r.options.animation){const r=this.chart.config,i=r.datasetAnimationScopeKeys(this._type,t),o=r.getOptionScopes(this.getDataset(),i);s=r.createResolver(o,this.getContext(e,n,t))}const c=new Pr(r,s&&s.animations);return s&&s._cacheable&&(i[o]=Object.freeze(c)),c}getSharedOptions(e){if(e.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},e))}includeOptions(e,t){return!t||Ur(e)||this.chart._animationsDisabled}updateElement(e,t,n,r){Ur(r)?Object.assign(e,n):this._resolveAnimations(t,r).update(e,n)}updateSharedOptions(e,t,n){e&&!Ur(t)&&this._resolveAnimations(void 0,t).update(e,n)}_setStyle(e,t,n,r){e.active=r;const i=this.getStyle(t,r);
vendor: 5,524 bytes, line 1
1this._resolveAnimations(t,n,r).update(e,{options:!r&&this.getSharedOptions(i)||i})}removeHoverStyle(e,t,n){this._setStyle(e,n,"active",!1)}setHoverStyle(e,t,n){this._setStyle(e,n,"active",!0)}_removeDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!1)}_setDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!0)}_resyncElements(e){const t=this._data,n=this._cachedMeta.data;for(const[a,s,c]of this._syncList)this[a](s,c);this._syncList=[];const r=n.length,i=t.length,o=Math.min(i,r);o&&this.parse(0,o),i>r?this._insertElements(r,i-r,e):i<r&&this._removeElements(i,r-i)}_insertElements(e,t,n=!0){const r=this._cachedMeta,i=r.data,o=e+t;let a;const s=e=>{for(e.length+=t,a=e.length-1;a>=o;a--)e[a]=e[a-t]};for(s(i),a=e;a<o;++a)i[a]=new this.dataElementType;this._parsing&&s(r._parsed),this.parse(e,t),n&&this.updateElements(i,e,t,"reset")}updateElements(e,t,n,r){}_removeElements(e,t){const n=this._cachedMeta;if(this._parsing){const r=n._parsed.splice(e,t);n._stacked&&Lr(n,r)}n.data.splice(e,t)}_sync(e){if(this._parsing)this._syncList.push(e);else{const[t,n,r]=e;this[t](n,r)}this.chart._dataChanges.push([this.index,...e])}_onDataPush(){const e=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-e,e])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(e,t){t&&this._sync(["_removeElements",e,t]);const n=arguments.length-2;n&&this._sync(["_insertElements",e,n])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}function zr(e){const t=e.iScale,n=function(e,t){if(!e._cache.$bar){const n=e.getMatchingVisibleMetas(t);let r=[];for(let t=0,i=n.length;t<i;t++)r=r.concat(n[t].controller.getAllParsedValues(e));e._cache.$bar=jn(r.sort(((e,t)=>e-t)))}return e._cache.$bar}(t,e.type);let r,i,o,a,s=t._length;const c=()=>{32767!==o&&-32768!==o&&(Le(a)&&(s=Math.min(s,Math.abs(o-a)||s)),a=o)};for(r=0,i=n.length;r<i;++r)o=t.getPixelForValue(n[r]),c();for(a=void 0,r=0,i=t.ticks.length;r<i;++r)o=t.getPixelForTick(r),c();return s}function Fr(e,t,n,r){return be(e)?function(e,t,n,r){const i=n.parse(e[0],r),o=n.parse(e[1],r),a=Math.min(i,o),s=Math.max(i,o);let c=a,l=s;Math.abs(a)>Math.abs(s)&&(c=s,l=a),t[n.axis]=l,t._custom={barStart:c,barEnd:l,start:i,end:o,min:a,max:s}}(e,t,n,r):t[n.axis]=n.parse(e,r),t}function Hr(e,t,n,r){const i=e.iScale,o=e.vScale,a=i.getLabels(),s=i===o,c=[];let l,u,d,f;for(l=n,u=n+r;l<u;++l)f=t[l],d={},d[i.axis]=s||i.parse(a[l],l),c.push(Fr(f,d,o,l));return c}function $r(e){return e&&void 0!==e.barStart&&void 0!==e.barEnd}function Yr(e,t,n,r){let i=t.borderSkipped;const o={};if(!i)return void(e.borderSkipped=o);const{start:a,end:s,reverse:c,top:l,bottom:u}=function(e){let t,n,r,i,o;return e.horizontal?(t=e.base>e.x,n="left",r="right"):(t=e.base<e.y,n="bottom",r="top"),t?(i="end",o="start"):(i="start",o="end"),{start:n,end:r,reverse:t,top:i,bottom:o}}(e);"middle"===i&&n&&(e.enableBorderRadius=!0,(n._top||0)===r?i=l:(n._bottom||0)===r?i=u:(o[Wr(u,a,s,c)]=!0,i=l)),o[Wr(i,a,s,c)]=!0,e.borderSkipped=o}function Wr(e,t,n,r){var i,o,a;return r?(a=n,e=Gr(e=(i=e)===(o=t)?a:i===a?o:i,n,t)):e=Gr(e,t,n),e}function Gr(e,t,n){return"start"===e?t:"end"===e?n:e}function qr(e,{inflateAmount:t},n){e.inflateAmount="auto"===t?1===n?.33:0:t}Br.defaults={},Br.prototype.datasetElementType=null,Br.prototype.dataElementType=null;class Kr extends Br{parsePrimitiveData(e,t,n,r){return Hr(e,t,n,r)}parseArrayData(e,t,n,r){return Hr(e,t,n,r)}parseObjectData(e,t,n,r){const{iScale:i,vScale:o}=e,{xAxisKey:a="x",yAxisKey:s="y"}=this._parsing,c="x"===i.axis?a:s,l="x"===o.axis?a:s,u=[];let d,f,h,p;for(d=n,f=n+r;d<f;++d)p=t[d],h={},h[i.axis]=i.parse(Ae(p,c),d),u.push(Fr(Ae(p,l),h,o,d));return u}updateRangeFromParsed(e,t,n,r){super.updateRangeFromParsed(e,t,n,r);const i=n._custom;i&&t===this._cachedMeta.vScale&&(e.min=Math.min(e.min,i.min),e.max=Math.max(e.max,i.max))}getMaxOverflow(){return 0}getLabelAndValue(e){const t=this._cachedMeta,{iScale:n,vScale:r}=t,i=this.getParsed(e),o=i._custom,a=$r(o)?"["+o.start+", "+o.end+"]":""+r.getLabelForValue(i[r.axis]);return{label:""+n.getLabelForValue(i[n.axis]),value:a}}initialize(){this.enableOptionSharing=!0,super.initialize();this._cachedMeta.stack=this.getDataset().stack}update(e){const t=this._cachedMeta;this.updateElements(t.data,0,t.data.length,e)}updateElements(e,t,n,r){const i="reset"===r,{index:o,_cachedMeta:{vScale:a}}=this,s=a.getBasePixel(),c=a.isHorizontal(),l=this._getRuler(),u=this.resolveDataElementOptions(t,r),d=this.getSharedOptions(u),f=this.includeOptions(r,d);this.updateSharedOptions(d,r,u);for(let h=t;h<t+n;h++){const t=this.getParsed(h),n=i||ve(t[a.axis])?{base:s,head:s}:this._calculateBarValuePixels(h),u=this._calculateBarIndexPixels(h,l),p=(t._stacks||{})[a.axis],m={horizontal:c,base:n.base,enableBorderRadius:!p||$r(t._custom)||o===p._top||o===p._bottom,x:c?n.head:u.center,y:c?u.center:n.head,height:c?u.size:Math.abs(n.size),width:c?Math.abs(n.size):u.size};f&&(m.options=d||this.resolveDataElementOptions(h,e[h].active?"active":r));const g=m.options||e[h].options;Yr(m,g,p,o),qr(m,g,l.ratio),this.updateElement(e[h],h,m,r)}}_getStacks(e,t){const n=this._cachedMeta.iScale,r=n.getMatchingVisibleMetas(this._type),i=n.options.stacked,o=r.length,a=[];let s,c;for(s=0;s<o;++s)if(c=r[s],c.controller.options.grouped){if("undefined"!==typeof t){const e=c.controller.getParsed(t)[c.controller._cachedMeta.vScale.axis
vendor: 5,377 bytes, line 1
1];if(ve(e)||isNaN(e))continue}if((!1===i||-1===a.indexOf(c.stack)||void 0===i&&void 0===c.stack)&&a.push(c.stack),c.index===e)break}return a.length||a.push(void 0),a}_getStackCount(e){return this._getStacks(void 0,e).length}_getStackIndex(e,t,n){const r=this._getStacks(e,n),i=void 0!==t?r.indexOf(t):-1;return-1===i?r.length-1:i}_getRuler(){const e=this.options,t=this._cachedMeta,n=t.iScale,r=[];let i,o;for(i=0,o=t.data.length;i<o;++i)r.push(n.getPixelForValue(this.getParsed(i)[n.axis],i));const a=e.barThickness;return{min:a||zr(t),pixels:r,start:n._startPixel,end:n._endPixel,stackCount:this._getStackCount(),scale:n,grouped:e.grouped,ratio:a?1:e.categoryPercentage*e.barPercentage}}_calculateBarValuePixels(e){const{_cachedMeta:{vScale:t,_stacked:n},options:{base:r,minBarLength:i}}=this,o=r||0,a=this.getParsed(e),s=a._custom,c=$r(s);let l,u,d=a[t.axis],f=0,h=n?this.applyStack(t,a,n):d;h!==d&&(f=h-d,h=d),c&&(d=s.barStart,h=s.barEnd-s.barStart,0!==d&&Ke(d)!==Ke(s.barEnd)&&(f=0),f+=d);const p=ve(r)||c?f:r;let m=t.getPixelForValue(p);if(l=this.chart.getDataVisibility(e)?t.getPixelForValue(f+h):m,u=l-m,Math.abs(u)<i&&(u=function(e,t,n){return 0!==e?Ke(e):(t.isHorizontal()?1:-1)*(t.min>=n?1:-1)}(u,t,o)*i,d===o&&(m-=u/2),l=m+u),m===t.getPixelForValue(o)){const e=Ke(u)*t.getLineWidthForValue(o)/2;m+=e,u-=e}return{size:u,base:m,head:l,center:l+u/2}}_calculateBarIndexPixels(e,t){const n=t.scale,r=this.options,i=r.skipNull,o=Se(r.maxBarThickness,1/0);let a,s;if(t.grouped){const n=i?this._getStackCount(e):t.stackCount,c="flex"===r.barThickness?function(e,t,n,r){const i=t.pixels,o=i[e];let a=e>0?i[e-1]:null,s=e<i.length-1?i[e+1]:null;const c=n.categoryPercentage;null===a&&(a=o-(null===s?t.end-t.start:s-o)),null===s&&(s=o+o-a);const l=o-(o-Math.min(a,s))/2*c;return{chunk:Math.abs(s-a)/2*c/r,ratio:n.barPercentage,start:l}}(e,t,r,n):function(e,t,n,r){const i=n.barThickness;let o,a;return ve(i)?(o=t.min*n.categoryPercentage,a=n.barPercentage):(o=i*r,a=1),{chunk:o/r,ratio:a,start:t.pixels[e]-o/2}}(e,t,r,n),l=this._getStackIndex(this.index,this._cachedMeta.stack,i?e:void 0);a=c.start+c.chunk*l+c.chunk/2,s=Math.min(o,c.chunk*c.ratio)}else a=n.getPixelForValue(this.getParsed(e)[n.axis],e),s=Math.min(o,t.min*t.ratio);return{base:a-s/2,head:a+s/2,center:a,size:s}}draw(){const e=this._cachedMeta,t=e.vScale,n=e.data,r=n.length;let i=0;for(;i<r;++i)null!==this.getParsed(i)[t.axis]&&n[i].draw(this._ctx)}}Kr.id="bar",Kr.defaults={datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}},Kr.overrides={scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}};class Xr extends Br{initialize(){this.enableOptionSharing=!0,super.initialize()}parsePrimitiveData(e,t,n,r){const i=super.parsePrimitiveData(e,t,n,r);for(let o=0;o<i.length;o++)i[o]._custom=this.resolveDataElementOptions(o+n).radius;return i}parseArrayData(e,t,n,r){const i=super.parseArrayData(e,t,n,r);for(let o=0;o<i.length;o++){const e=t[n+o];i[o]._custom=Se(e[2],this.resolveDataElementOptions(o+n).radius)}return i}parseObjectData(e,t,n,r){const i=super.parseObjectData(e,t,n,r);for(let o=0;o<i.length;o++){const e=t[n+o];i[o]._custom=Se(e&&e.r&&+e.r,this.resolveDataElementOptions(o+n).radius)}return i}getMaxOverflow(){const e=this._cachedMeta.data;let t=0;for(let n=e.length-1;n>=0;--n)t=Math.max(t,e[n].size(this.resolveDataElementOptions(n))/2);return t>0&&t}getLabelAndValue(e){const t=this._cachedMeta,{xScale:n,yScale:r}=t,i=this.getParsed(e),o=n.getLabelForValue(i.x),a=r.getLabelForValue(i.y),s=i._custom;return{label:t.label,value:"("+o+", "+a+(s?", "+s:"")+")"}}update(e){const t=this._cachedMeta.data;this.updateElements(t,0,t.length,e)}updateElements(e,t,n,r){const i="reset"===r,{iScale:o,vScale:a}=this._cachedMeta,s=this.resolveDataElementOptions(t,r),c=this.getSharedOptions(s),l=this.includeOptions(r,c),u=o.axis,d=a.axis;for(let f=t;f<t+n;f++){const t=e[f],n=!i&&this.getParsed(f),s={},c=s[u]=i?o.getPixelForDecimal(.5):o.getPixelForValue(n[u]),h=s[d]=i?a.getBasePixel():a.getPixelForValue(n[d]);s.skip=isNaN(c)||isNaN(h),l&&(s.options=this.resolveDataElementOptions(f,t.active?"active":r),i&&(s.options.radius=0)),this.updateElement(t,f,s,r)}this.updateSharedOptions(c,r,s)}resolveDataElementOptions(e,t){const n=this.getParsed(e);let r=super.resolveDataElementOptions(e,t);r.$shared&&(r=Object.assign({},r,{$shared:!1}));const i=r.radius;return"active"!==t&&(r.radius=0),r.radius+=Se(n&&n._custom,i),r}}Xr.id="bubble",Xr.defaults={datasetElementType:!1,dataElementType:"point",animations:{numbers:{type:"number",properties:["x","y","borderWidth","radius"]}}},Xr.overrides={scales:{x:{type:"linear"},y:{type:"linear"}},plugins:{tooltip:{callbacks:{title:()=>""}}}};class Zr extends Br{constructor(e,t){super(e,t),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(e,t){const n=this.getDataset().data,r=this._cachedMeta;if(!1===this._parsing)r._parsed=n;else{let i,o,a=e=>+n[e];if(_e(n[e])){const{key:e="value"}=this._parsing;a=t=>+Ae(n[t],e)}for(i=e,o=e+t;i<o;++i)r._parsed[i]=a(i)}}_getRotation(){return et(this.options.rotation-90)}_getCircumference(){return et(this.options.circumference)}_getRotationExtents(){let e=ze,t=-ze;
vendor: 2,613 bytes, line 1
1for(let n=0;n<this.chart.data.datasets.length;++n)if(this.chart.isDatasetVisible(n)){const r=this.chart.getDatasetMeta(n).controller,i=r._getRotation(),o=r._getCircumference();e=Math.min(e,i),t=Math.max(t,i+o)}return{rotation:e,circumference:t-e}}update(e){const t=this.chart,{chartArea:n}=t,r=this._cachedMeta,i=r.data,o=this.getMaxBorderWidth()+this.getMaxOffset(i)+this.options.spacing,a=Math.max((Math.min(n.width,n.height)-o)/2,0),s=Math.min((c=this.options.cutout,l=a,"string"===typeof c&&c.endsWith("%")?parseFloat(c)/100:c/l),1);var c,l;const u=this._getRingWeight(this.index),{circumference:d,rotation:f}=this._getRotationExtents(),{ratioX:h,ratioY:p,offsetX:m,offsetY:g}=function(e,t,n){let r=1,i=1,o=0,a=0;if(t<ze){const s=e,c=s+t,l=Math.cos(s),u=Math.sin(s),d=Math.cos(c),f=Math.sin(c),h=(e,t,r)=>st(e,s,c,!0)?1:Math.max(t,t*n,r,r*n),p=(e,t,r)=>st(e,s,c,!0)?-1:Math.min(t,t*n,r,r*n),m=h(0,l,d),g=h(Ye,u,f),y=p(Be,l,d),v=p(Be+Ye,u,f);r=(m-y)/2,i=(g-v)/2,o=-(m+y)/2,a=-(g+v)/2}return{ratioX:r,ratioY:i,offsetX:o,offsetY:a}}(f,d,s),y=(n.width-o)/h,v=(n.height-o)/p,b=Math.max(Math.min(y,v)/2,0),_=Ee(this.options.radius,b),x=(_-Math.max(_*s,0))/this._getVisibleDatasetWeightTotal();this.offsetX=m*_,this.offsetY=g*_,r.total=this.calculateTotal(),this.outerRadius=_-x*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-x*u,0),this.updateElements(i,0,i.length,e)}_circumference(e,t){const n=this.options,r=this._cachedMeta,i=this._getCircumference();return t&&n.animation.animateRotate||!this.chart.getDataVisibility(e)||null===r._parsed[e]||r.data[e].hidden?0:this.calculateCircumference(r._parsed[e]*i/ze)}updateElements(e,t,n,r){const i="reset"===r,o=this.chart,a=o.chartArea,s=o.options.animation,c=(a.left+a.right)/2,l=(a.top+a.bottom)/2,u=i&&s.animateScale,d=u?0:this.innerRadius,f=u?0:this.outerRadius,h=this.resolveDataElementOptions(t,r),p=this.getSharedOptions(h),m=this.includeOptions(r,p);let g,y=this._getRotation();for(g=0;g<t;++g)y+=this._circumference(g,i);for(g=t;g<t+n;++g){const t=this._circumference(g,i),n=e[g],o={x:c+this.offsetX,y:l+this.offsetY,startAngle:y,endAngle:y+t,circumference:t,outerRadius:f,innerRadius:d};m&&(o.options=p||this.resolveDataElementOptions(g,n.active?"active":r)),y+=t,this.updateElement(n,g,o,r)}this.updateSharedOptions(p,r,h)}calculateTotal(){const e=this._cachedMeta,t=e.data;let n,r=0;for(n=0;n<t.length;n++){const i=e._parsed[n];null===i||isNaN(i)||!this.chart.getDataVisibility(n)||t[n].hidden||(r+=Math.abs(i))}return r}calculateCircumference(e){const t=this._cachedMeta.total;return t>0&&!isNaN(e)?ze*(Math.abs(e)/t):0}
vendor: 5,555 bytes, line 1
1getLabelAndValue(e){const t=this._cachedMeta,n=this.chart,r=n.data.labels||[],i=fr(t._parsed[e],n.options.locale);return{label:r[e]||"",value:i}}getMaxBorderWidth(e){let t=0;const n=this.chart;let r,i,o,a,s;if(!e)for(r=0,i=n.data.datasets.length;r<i;++r)if(n.isDatasetVisible(r)){o=n.getDatasetMeta(r),e=o.data,a=o.controller;break}if(!e)return 0;for(r=0,i=e.length;r<i;++r)s=a.resolveDataElementOptions(r),"inner"!==s.borderAlign&&(t=Math.max(t,s.borderWidth||0,s.hoverBorderWidth||0));return t}getMaxOffset(e){let t=0;for(let n=0,r=e.length;n<r;++n){const e=this.resolveDataElementOptions(n);t=Math.max(t,e.offset||0,e.hoverOffset||0)}return t}_getRingWeightOffset(e){let t=0;for(let n=0;n<e;++n)this.chart.isDatasetVisible(n)&&(t+=this._getRingWeight(n));return t}_getRingWeight(e){return Math.max(Se(this.chart.data.datasets[e].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}Zr.id="doughnut",Zr.defaults={datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"},Zr.descriptors={_scriptable:e=>"spacing"!==e,_indexable:e=>"spacing"!==e},Zr.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){const t=e.data;if(t.labels.length&&t.datasets.length){const{labels:{pointStyle:n}}=e.legend.options;return t.labels.map(((t,r)=>{const i=e.getDatasetMeta(0).controller.getStyle(r);return{text:t,fillStyle:i.backgroundColor,strokeStyle:i.borderColor,lineWidth:i.borderWidth,pointStyle:n,hidden:!e.getDataVisibility(r),index:r}}))}return[]}},onClick(e,t,n){n.chart.toggleDataVisibility(t.index),n.chart.update()}},tooltip:{callbacks:{title:()=>"",label(e){let t=e.label;const n=": "+e.formattedValue;return be(t)?(t=t.slice(),t[0]+=n):t+=n,t}}}}};class Jr extends Br{initialize(){this.enableOptionSharing=!0,super.initialize()}update(e){const t=this._cachedMeta,{dataset:n,data:r=[],_dataset:i}=t,o=this.chart._animationsDisabled;let{start:a,count:s}=function(e,t,n){const r=t.length;let i=0,o=r;if(e._sorted){const{iScale:a,_parsed:s}=e,c=a.axis,{min:l,max:u,minDefined:d,maxDefined:f}=a.getUserBounds();d&&(i=ct(Math.min(On(s,a.axis,l).lo,n?r:On(t,c,a.getPixelForValue(l)).lo),0,r-1)),o=f?ct(Math.max(On(s,a.axis,u).hi+1,n?0:On(t,c,a.getPixelForValue(u)).hi+1),i,r)-i:r-i}return{start:i,count:o}}(t,r,o);this._drawStart=a,this._drawCount=s,function(e){const{xScale:t,yScale:n,_scaleRanges:r}=e,i={xmin:t.min,xmax:t.max,ymin:n.min,ymax:n.max};if(!r)return e._scaleRanges=i,!0;const o=r.xmin!==t.min||r.xmax!==t.max||r.ymin!==n.min||r.ymax!==n.max;return Object.assign(r,i),o}(t)&&(a=0,s=r.length),n._chart=this.chart,n._datasetIndex=this.index,n._decimated=!!i._decimated,n.points=r;const c=this.resolveDatasetElementOptions(e);this.options.showLine||(c.borderWidth=0),c.segment=this.options.segment,this.updateElement(n,void 0,{animated:!o,options:c},e),this.updateElements(r,a,s,e)}updateElements(e,t,n,r){const i="reset"===r,{iScale:o,vScale:a,_stacked:s,_dataset:c}=this._cachedMeta,l=this.resolveDataElementOptions(t,r),u=this.getSharedOptions(l),d=this.includeOptions(r,u),f=o.axis,h=a.axis,{spanGaps:p,segment:m}=this.options,g=Ze(p)?p:Number.POSITIVE_INFINITY,y=this.chart._animationsDisabled||i||"none"===r;let v=t>0&&this.getParsed(t-1);for(let b=t;b<t+n;++b){const t=e[b],n=this.getParsed(b),l=y?t:{},p=ve(n[h]),_=l[f]=o.getPixelForValue(n[f],b),x=l[h]=i||p?a.getBasePixel():a.getPixelForValue(s?this.applyStack(a,n,s):n[h],b);l.skip=isNaN(_)||isNaN(x)||p,l.stop=b>0&&n[f]-v[f]>g,m&&(l.parsed=n,l.raw=c.data[b]),d&&(l.options=u||this.resolveDataElementOptions(b,t.active?"active":r)),y||this.updateElement(t,b,l,r),v=n}this.updateSharedOptions(u,r,l)}getMaxOverflow(){const e=this._cachedMeta,t=e.dataset,n=t.options&&t.options.borderWidth||0,r=e.data||[];if(!r.length)return n;const i=r[0].size(this.resolveDataElementOptions(0)),o=r[r.length-1].size(this.resolveDataElementOptions(r.length-1));return Math.max(n,i,o)/2}draw(){const e=this._cachedMeta;e.dataset.updateControlPoints(this.chart.chartArea,e.iScale.axis),super.draw()}}Jr.id="line",Jr.defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1},Jr.overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};class Qr extends Br{constructor(e,t){super(e,t),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(e){const t=this._cachedMeta,n=this.chart,r=n.data.labels||[],i=fr(t._parsed[e].r,n.options.locale);return{label:r[e]||"",value:i}}update(e){const t=this._cachedMeta.data;this._updateRadius(),this.updateElements(t,0,t.length,e)}_updateRadius(){const e=this.chart,t=e.chartArea,n=e.options,r=Math.min(t.right-t.left,t.bottom-t.top),i=Math.max(r/2,0),o=(i-Math.max(n.cutoutPercentage?i/100*n.cutoutPercentage:1,0))/e.getVisibleDatasetCount();this.outerRadius=i-o*this.index,this.innerRadius=this.outerRadius-o}updateElements(e,t,n,r){const i="reset"===r,o=this.chart,a=this.getDataset(),s=o.options.animation,c=this._cachedMeta.rScale,l=c.xCenter,u=c.yCenter,d=c.getIndexAngle(0)-.5*Be;let f,h=d;const p=360/this.countVisibleElements();for(f=0;f<t;++f)h+=this._computeAngle(f,r,p);for(f=t;f<t+n;f++){const t=e[f];let n=h,m=h+this._computeAngle(f,r,p),g=o.getDataVisibility(f)?c.getDistanceFromCenterForValue(a.data[f]):0;h=m,i&&(s.animateScale&&(g=0),s.animateRotate&&(n=m=d));
1const y={x:l,y:u,innerRadius:0,outerRadius:g,startAngle:n,endAngle:m,options:this.resolveDataElementOptions(f,t.active?"active":r)};this.updateElement(t,f,y,r)}}countVisibleElements(){const e=this.getDataset(),t=this._cachedMeta;let n=0;return t.data.forEach(((t,r)=>{!isNaN(e.data[r])&&this.chart.getDataVisibility(r)&&n++})),n}_computeAngle(e,t,n){return this.chart.getDataVisibility(e)?et(this.resolveDataElementOptions(e,t).angle||n):0}}Qr.id="polarArea",Qr.defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0},Qr.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){const t=e.data;if(t.labels.length&&t.datasets.length){const{labels:{pointStyle:n}}=e.legend.options;return t.labels.map(((t,r)=>{const i=e.getDatasetMeta(0).controller.getStyle(r);return{text:t,fillStyle:i.backgroundColor,strokeStyle:i.borderColor,lineWidth:i.borderWidth,pointStyle:n,hidden:!e.getDataVisibility(r),index:r}}))}return[]}},onClick(e,t,n){n.chart.toggleDataVisibility(t.index),n.chart.update()}},tooltip:{callbacks:{title:()=>"",label:e=>e.chart.data.labels[e.dataIndex]+": "+e.formattedValue}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};class ei extends Zr{}ei.id="pie",ei.defaults={cutout:0,rotation:0,circumference:360,radius:"100%"};class ti extends Br{getLabelAndValue(e){const t=this._cachedMeta.vScale,n=this.getParsed(e);return{label:t.getLabels()[e],value:""+t.getLabelForValue(n[t.axis])}}update(e){const t=this._cachedMeta,n=t.dataset,r=t.data||[],i=t.iScale.getLabels();if(n.points=r,"resize"!==e){const t=this.resolveDatasetElementOptions(e);this.options.showLine||(t.borderWidth=0);const o={_loop:!0,_fullLoop:i.length===r.length,options:t};this.updateElement(n,void 0,o,e)}this.updateElements(r,0,r.length,e)}updateElements(e,t,n,r){const i=this.getDataset(),o=this._cachedMeta.rScale,a="reset"===r;for(let s=t;s<t+n;s++){const t=e[s],n=this.resolveDataElementOptions(s,t.active?"active":r),c=o.getPointPositionForValue(s,i.data[s]),l=a?o.xCenter:c.x,u=a?o.yCenter:c.y,d={x:l,y:u,angle:c.angle,skip:isNaN(l)||isNaN(u),options:n};this.updateElement(t,s,d,r)}}}ti.id="radar",ti.defaults={datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:!0,elements:{line:{fill:"start"}}},ti.overrides={aspectRatio:1,scales:{r:{type:"radialLinear"}}};class ni extends Jr{}ni.id="scatter",ni.defaults={showLine:!1,fill:!1},ni.overrides={interaction:{mode:"point"},plugins:{tooltip:{callbacks:{title:()=>"",label:e=>"("+e.label+", "+e.formattedValue+")"}}},scales:{x:{type:"linear"},y:{type:"linear"}}};function ri(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class ii{constructor(e){this.options=e||{}}formats(){return ri()}parse(e,t){return ri()}format(e,t){return ri()}add(e,t,n){return ri()}diff(e,t,n){return ri()}startOf(e,t,n){return ri()}endOf(e,t){return ri()}}ii.override=function(e){Object.assign(ii.prototype,e)};var oi={_date:ii};function ai(e,t){return"native"in e?{x:e.x,y:e.y}:nr(e,t)}function si(e,t,n,r){const{controller:i,data:o,_sorted:a}=e,s=i._cachedMeta.iScale;if(s&&t===s.axis&&"r"!==t&&a&&o.length){const e=s._reversePixels?kn:On;if(!r)return e(o,t,n);if(i._sharedOptions){const r=o[0],i="function"===typeof r.getRange&&r.getRange(t);if(i){const r=e(o,t,n-i),a=e(o,t,n+i);return{lo:r.lo,hi:a.hi}}}}return{lo:0,hi:o.length-1}}function ci(e,t,n,r,i){const o=e.getSortedVisibleDatasetMetas(),a=n[t];for(let s=0,c=o.length;s<c;++s){const{index:e,data:n}=o[s],{lo:c,hi:l}=si(o[s],t,a,i);for(let t=c;t<=l;++t){const i=n[t];i.skip||r(i,e,t)}}}function li(e,t,n,r){const i=[];if(!an(t,e.chartArea,e._minPadding))return i;return ci(e,n,t,(function(e,n,o){e.inRange(t.x,t.y,r)&&i.push({element:e,datasetIndex:n,index:o})}),!0),i}function ui(e,t,n,r,i){let o=[];const a=function(e){const t=-1!==e.indexOf("x"),n=-1!==e.indexOf("y");return function(e,r){const i=t?Math.abs(e.x-r.x):0,o=n?Math.abs(e.y-r.y):0;return Math.sqrt(Math.pow(i,2)+Math.pow(o,2))}}(n);let s=Number.POSITIVE_INFINITY;return ci(e,n,t,(function(n,c,l){const u=n.inRange(t.x,t.y,i);if(r&&!u)return;const d=n.getCenterPoint(i);if(!an(d,e.chartArea,e._minPadding)&&!u)return;const f=a(t,d);f<s?(o=[{element:n,datasetIndex:c,index:l}],s=f):f===s&&o.push({element:n,datasetIndex:c,index:l})})),o}function di(e,t,n,r,i){return an(t,e.chartArea,e._minPadding)?"r"!==n||r?ui(e,t,n,r,i):function(e,t,n,r){let i=[];return ci(e,n,t,(function(e,n,o){const{startAngle:a,endAngle:s}=e.getProps(["startAngle","endAngle"],r),{angle:c}=rt(e,{x:t.x,y:t.y});st(c,a,s)&&i.push({element:e,datasetIndex:n,index:o})})),i}(e,t,n,i):[]}function fi(e,t,n,r){const i=ai(t,e),o=[],a=n.axis,s="x"===a?"inXRange":"inYRange";let c=!1;return function(e,t){const n=e.getSortedVisibleDatasetMetas();let r,i,o;for(let a=0,s=n.length;a<s;++a){({index:r,data:i}=n[a]);for(let e=0,n=i.length;e<n;++e)o=i[e],o.skip||t(o,r,e)}}
vendor: 4,477 bytes, line 1
1(e,((e,t,n)=>{e[s](i[a],r)&&o.push({element:e,datasetIndex:t,index:n}),e.inRange(i.x,i.y,r)&&(c=!0)})),n.intersect&&!c?[]:o}var hi={modes:{index(e,t,n,r){const i=ai(t,e),o=n.axis||"x",a=n.intersect?li(e,i,o,r):di(e,i,o,!1,r),s=[];return a.length?(e.getSortedVisibleDatasetMetas().forEach((e=>{const t=a[0].index,n=e.data[t];n&&!n.skip&&s.push({element:n,datasetIndex:e.index,index:t})})),s):[]},dataset(e,t,n,r){const i=ai(t,e),o=n.axis||"xy";let a=n.intersect?li(e,i,o,r):di(e,i,o,!1,r);if(a.length>0){const t=a[0].datasetIndex,n=e.getDatasetMeta(t).data;a=[];for(let e=0;e<n.length;++e)a.push({element:n[e],datasetIndex:t,index:e})}return a},point:(e,t,n,r)=>li(e,ai(t,e),n.axis||"xy",r),nearest:(e,t,n,r)=>di(e,ai(t,e),n.axis||"xy",n.intersect,r),x:(e,t,n,r)=>fi(e,t,{axis:"x",intersect:n.intersect},r),y:(e,t,n,r)=>fi(e,t,{axis:"y",intersect:n.intersect},r)}};const pi=["left","top","right","bottom"];function mi(e,t){return e.filter((e=>e.pos===t))}function gi(e,t){return e.filter((e=>-1===pi.indexOf(e.pos)&&e.box.axis===t))}function yi(e,t){return e.sort(((e,n)=>{const r=t?n:e,i=t?e:n;return r.weight===i.weight?r.index-i.index:r.weight-i.weight}))}function vi(e,t){const n=function(e){const t={};for(const n of e){const{stack:e,pos:r,stackWeight:i}=n;if(!e||!pi.includes(r))continue;const o=t[e]||(t[e]={count:0,placed:0,weight:0,size:0});o.count++,o.weight+=i}return t}(e),{vBoxMaxWidth:r,hBoxMaxHeight:i}=t;let o,a,s;for(o=0,a=e.length;o<a;++o){s=e[o];const{fullSize:a}=s.box,c=n[s.stack],l=c&&s.stackWeight/c.weight;s.horizontal?(s.width=l?l*r:a&&t.availableWidth,s.height=i):(s.width=r,s.height=l?l*i:a&&t.availableHeight)}return n}function bi(e,t,n,r){return Math.max(e[n],t[n])+Math.max(e[r],t[r])}function _i(e,t){e.top=Math.max(e.top,t.top),e.left=Math.max(e.left,t.left),e.bottom=Math.max(e.bottom,t.bottom),e.right=Math.max(e.right,t.right)}function xi(e,t,n,r){const{pos:i,box:o}=n,a=e.maxPadding;if(!_e(i)){n.size&&(e[i]-=n.size);const t=r[n.stack]||{size:0,count:1};t.size=Math.max(t.size,n.horizontal?o.height:o.width),n.size=t.size/t.count,e[i]+=n.size}o.getPadding&&_i(a,o.getPadding());const s=Math.max(0,t.outerWidth-bi(a,e,"left","right")),c=Math.max(0,t.outerHeight-bi(a,e,"top","bottom")),l=s!==e.w,u=c!==e.h;return e.w=s,e.h=c,n.horizontal?{same:l,other:u}:{same:u,other:l}}function wi(e,t){const n=t.maxPadding;function r(e){const r={left:0,top:0,right:0,bottom:0};return e.forEach((e=>{r[e]=Math.max(t[e],n[e])})),r}return r(e?["left","right"]:["top","bottom"])}function Si(e,t,n,r){const i=[];let o,a,s,c,l,u;for(o=0,a=e.length,l=0;o<a;++o){s=e[o],c=s.box,c.update(s.width||t.w,s.height||t.h,wi(s.horizontal,t));const{same:a,other:d}=xi(t,n,s,r);l|=a&&i.length,u=u||d,c.fullSize||i.push(s)}return l&&Si(i,t,n,r)||u}function Ei(e,t,n,r,i){e.top=n,e.left=t,e.right=t+r,e.bottom=n+i,e.width=r,e.height=i}function Oi(e,t,n,r){const i=n.padding;let{x:o,y:a}=t;for(const s of e){const e=s.box,c=r[s.stack]||{count:1,placed:0,weight:1},l=s.stackWeight/c.weight||1;if(s.horizontal){const r=t.w*l,o=c.size||e.height;Le(c.start)&&(a=c.start),e.fullSize?Ei(e,i.left,a,n.outerWidth-i.right-i.left,o):Ei(e,t.left+c.placed,a,r,o),c.start=a,c.placed+=r,a=e.bottom}else{const r=t.h*l,a=c.size||e.width;Le(c.start)&&(o=c.start),e.fullSize?Ei(e,o,i.top,a,n.outerHeight-i.bottom-i.top):Ei(e,o,t.top+c.placed,a,r),c.start=o,c.placed+=r,o=e.right}}t.x=o,t.y=a}Qt.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}});var ki={addBox(e,t){e.boxes||(e.boxes=[]),t.fullSize=t.fullSize||!1,t.position=t.position||"top",t.weight=t.weight||0,t._layers=t._layers||function(){return[{z:0,draw(e){t.draw(e)}}]},e.boxes.push(t)},removeBox(e,t){const n=e.boxes?e.boxes.indexOf(t):-1;-1!==n&&e.boxes.splice(n,1)},configure(e,t,n){t.fullSize=n.fullSize,t.position=n.position,t.weight=n.weight},update(e,t,n,r){if(!e)return;const i=_n(e.options.layout.padding),o=Math.max(t-i.width,0),a=Math.max(n-i.height,0),s=function(e){const t=function(e){const t=[];let n,r,i,o,a,s;for(n=0,r=(e||[]).length;n<r;++n)i=e[n],({position:o,options:{stack:a,stackWeight:s=1}}=i),t.push({index:n,box:i,pos:o,horizontal:i.isHorizontal(),weight:i.weight,stack:a&&o+a,stackWeight:s});return t}(e),n=yi(t.filter((e=>e.box.fullSize)),!0),r=yi(mi(t,"left"),!0),i=yi(mi(t,"right")),o=yi(mi(t,"top"),!0),a=yi(mi(t,"bottom")),s=gi(t,"x"),c=gi(t,"y");return{fullSize:n,leftAndTop:r.concat(o),rightAndBottom:i.concat(c).concat(a).concat(s),chartArea:mi(t,"chartArea"),vertical:r.concat(i).c
vendor: 5,176 bytes, line 1
1oncat(c),horizontal:o.concat(a).concat(s)}}(e.boxes),c=s.vertical,l=s.horizontal;ke(e.boxes,(e=>{"function"===typeof e.beforeLayout&&e.beforeLayout()}));const u=c.reduce(((e,t)=>t.box.options&&!1===t.box.options.display?e:e+1),0)||1,d=Object.freeze({outerWidth:t,outerHeight:n,padding:i,availableWidth:o,availableHeight:a,vBoxMaxWidth:o/2/u,hBoxMaxHeight:a/2}),f=Object.assign({},i);_i(f,_n(r));const h=Object.assign({maxPadding:f,w:o,h:a,x:i.left,y:i.top},i),p=vi(c.concat(l),d);Si(s.fullSize,h,d,p),Si(c,h,d,p),Si(l,h,d,p)&&Si(c,h,d,p),function(e){const t=e.maxPadding;function n(n){const r=Math.max(t[n]-e[n],0);return e[n]+=r,r}e.y+=n("top"),e.x+=n("left"),n("right"),n("bottom")}(h),Oi(s.leftAndTop,h,d,p),h.x+=h.w,h.y+=h.h,Oi(s.rightAndBottom,h,d,p),e.chartArea={left:h.left,top:h.top,right:h.left+h.w,bottom:h.top+h.h,height:h.h,width:h.w},ke(s.chartArea,(t=>{const n=t.box;Object.assign(n,e.chartArea),n.update(h.w,h.h,{left:0,top:0,right:0,bottom:0})}))}};class Ti{acquireContext(e,t){}releaseContext(e){return!1}addEventListener(e,t,n){}removeEventListener(e,t,n){}getDevicePixelRatio(){return 1}getMaximumSize(e,t,n,r){return t=Math.max(0,t||e.width),n=n||e.height,{width:t,height:Math.max(0,r?Math.floor(t/r):n)}}isAttached(e){return!0}updateConfig(e){}}class Pi extends Ti{acquireContext(e){return e&&e.getContext&&e.getContext("2d")||null}updateConfig(e){e.options.animation=!1}}const ji={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},Di=e=>null===e||""===e;const Ci=!!ar&&{passive:!0};function Mi(e,t,n){e.canvas.removeEventListener(t,n,Ci)}function Ri(e,t){for(const n of e)if(n===t||n.contains(t))return!0}function Ni(e,t,n){const r=e.canvas,i=new MutationObserver((e=>{let t=!1;for(const n of e)t=t||Ri(n.addedNodes,r),t=t&&!Ri(n.removedNodes,r);t&&n()}));return i.observe(document,{childList:!0,subtree:!0}),i}function Ai(e,t,n){const r=e.canvas,i=new MutationObserver((e=>{let t=!1;for(const n of e)t=t||Ri(n.removedNodes,r),t=t&&!Ri(n.addedNodes,r);t&&n()}));return i.observe(document,{childList:!0,subtree:!0}),i}const Ii=new Map;let Li=0;function Ui(){const e=window.devicePixelRatio;e!==Li&&(Li=e,Ii.forEach(((t,n)=>{n.currentDevicePixelRatio!==e&&t()})))}function Vi(e,t,n){const r=e.canvas,i=r&&Zn(r);if(!i)return;const o=he(((e,t)=>{const r=i.clientWidth;n(e,t),r<i.clientWidth&&n()}),window),a=new ResizeObserver((e=>{const t=e[0],n=t.contentRect.width,r=t.contentRect.height;0===n&&0===r||o(n,r)}));return a.observe(i),function(e,t){Ii.size||window.addEventListener("resize",Ui),Ii.set(e,t)}(e,o),a}function Bi(e,t,n){n&&n.disconnect(),"resize"===t&&function(e){Ii.delete(e),Ii.size||window.removeEventListener("resize",Ui)}(e)}function zi(e,t,n){const r=e.canvas,i=he((t=>{null!==e.ctx&&n(function(e,t){const n=ji[e.type]||e.type,{x:r,y:i}=nr(e,t);return{type:n,chart:t,native:e,x:void 0!==r?r:null,y:void 0!==i?i:null}}(t,e))}),e,(e=>{const t=e[0];return[t,t.offsetX,t.offsetY]}));return function(e,t,n){e.addEventListener(t,n,Ci)}(r,t,i),i}class Fi extends Ti{acquireContext(e,t){const n=e&&e.getContext&&e.getContext("2d");return n&&n.canvas===e?(function(e,t){const n=e.style,r=e.getAttribute("height"),i=e.getAttribute("width");if(e.$chartjs={initial:{height:r,width:i,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",Di(i)){const t=sr(e,"width");void 0!==t&&(e.width=t)}if(Di(r))if(""===e.style.height)e.height=e.width/(t||2);else{const t=sr(e,"height");void 0!==t&&(e.height=t)}}(e,t),n):null}releaseContext(e){const t=e.canvas;if(!t.$chartjs)return!1;const n=t.$chartjs.initial;["height","width"].forEach((e=>{const r=n[e];ve(r)?t.removeAttribute(e):t.setAttribute(e,r)}));const r=n.style||{};return Object.keys(r).forEach((e=>{t.style[e]=r[e]})),t.width=t.width,delete t.$chartjs,!0}addEventListener(e,t,n){this.removeEventListener(e,t);const r=e.$proxies||(e.$proxies={}),i={attach:Ni,detach:Ai,resize:Vi}[t]||zi;r[t]=i(e,t,n)}removeEventListener(e,t){const n=e.$proxies||(e.$proxies={}),r=n[t];if(!r)return;({attach:Bi,detach:Bi,resize:Bi}[t]||Mi)(e,t,r),n[t]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,t,n,r){return ir(e,t,n,r)}isAttached(e){const t=Zn(e);return!(!t||!t.isConnected)}}class Hi{constructor(){this.x=void 0,this.y=void 0,this.active=!1,this.options=void 0,this.$animations=void 0}tooltipPosition(e){const{x:t,y:n}=this.getProps(["x","y"],e);return{x:t,y:n}}hasValue(){return Ze(this.x)&&Ze(this.y)}getProps(e,t){const n=this.$animations;if(!t||!n)return this;const r={};return e.forEach((e=>{r[e]=n[e]&&n[e].active()?n[e]._to:this[e]})),r}}Hi.defaults={},Hi.defaultRoutes=void 0;const $i={values:e=>be(e)?e:""+e,numeric(e,t,n){if(0===e)return"0";const r=this.chart.options.locale;let i,o=e;if(n.length>1){const t=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(t<1e-4||t>1e15)&&(i="scientific"),o=function(e,t){let n=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;Math.abs(n)>=1&&e!==Math.floor(e)&&(n=e-Math.floor(e));return n}
vendor: 13,152 bytes, line 1
1(e,n)}const a=qe(Math.abs(o)),s=Math.max(Math.min(-1*Math.floor(a),20),0),c={notation:i,minimumFractionDigits:s,maximumFractionDigits:s};return Object.assign(c,this.options.ticks.format),fr(e,r,c)},logarithmic(e,t,n){if(0===e)return"0";const r=e/Math.pow(10,Math.floor(qe(e)));return 1===r||2===r||5===r?$i.numeric.call(this,e,t,n):""}};var Yi={formatters:$i};function Wi(e,t){const n=e.options.ticks,r=n.maxTicksLimit||function(e){const t=e.options.offset,n=e._tickSize(),r=e._length/n+(t?0:1),i=e._maxLength/n;return Math.floor(Math.min(r,i))}(e),i=n.major.enabled?function(e){const t=[];let n,r;for(n=0,r=e.length;n<r;n++)e[n].major&&t.push(n);return t}(t):[],o=i.length,a=i[0],s=i[o-1],c=[];if(o>r)return function(e,t,n,r){let i,o=0,a=n[0];for(r=Math.ceil(r),i=0;i<e.length;i++)i===a&&(t.push(e[i]),o++,a=n[o*r])}(t,c,i,o/r),c;const l=function(e,t,n){const r=function(e){const t=e.length;let n,r;if(t<2)return!1;for(r=e[0],n=1;n<t;++n)if(e[n]-e[n-1]!==r)return!1;return r}(e),i=t.length/n;if(!r)return Math.max(i,1);const o=function(e){const t=[],n=Math.sqrt(e);let r;for(r=1;r<n;r++)e%r===0&&(t.push(r),t.push(e/r));return n===(0|n)&&t.push(n),t.sort(((e,t)=>e-t)).pop(),t}(r);for(let a=0,s=o.length-1;a<s;a++){const e=o[a];if(e>i)return e}return Math.max(i,1)}(i,t,r);if(o>0){let e,n;const r=o>1?Math.round((s-a)/(o-1)):null;for(Gi(t,c,l,ve(r)?0:a-r,a),e=0,n=o-1;e<n;e++)Gi(t,c,l,i[e],i[e+1]);return Gi(t,c,l,s,ve(r)?t.length:s+r),c}return Gi(t,c,l),c}function Gi(e,t,n,r,i){const o=Se(r,0),a=Math.min(Se(i,e.length),e.length);let s,c,l,u=0;for(n=Math.ceil(n),i&&(s=i-r,n=s/Math.floor(s/n)),l=o;l<0;)u++,l=Math.round(o+u*n);for(c=Math.max(o,0);c<a;c++)c===l&&(t.push(e[c]),u++,l=Math.round(o+u*n))}Qt.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",grace:0,grid:{display:!0,lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(e,t)=>t.lineWidth,tickColor:(e,t)=>t.color,offset:!1,borderDash:[],borderDashOffset:0,borderWidth:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:Yi.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),Qt.route("scale.ticks","color","","color"),Qt.route("scale.grid","color","","borderColor"),Qt.route("scale.grid","borderColor","","borderColor"),Qt.route("scale.title","color","","color"),Qt.describe("scale",{_fallback:!1,_scriptable:e=>!e.startsWith("before")&&!e.startsWith("after")&&"callback"!==e&&"parser"!==e,_indexable:e=>"borderDash"!==e&&"tickBorderDash"!==e}),Qt.describe("scales",{_fallback:"scale"}),Qt.describe("scale.ticks",{_scriptable:e=>"backdropPadding"!==e&&"callback"!==e,_indexable:e=>"backdropPadding"!==e});const qi=(e,t,n)=>"top"===t||"left"===t?e[t]+n:e[t]-n;function Ki(e,t){const n=[],r=e.length/t,i=e.length;let o=0;for(;o<i;o+=r)n.push(e[Math.floor(o)]);return n}function Xi(e,t,n){const r=e.ticks.length,i=Math.min(t,r-1),o=e._startPixel,a=e._endPixel,s=1e-6;let c,l=e.getPixelForTick(i);if(!(n&&(c=1===r?Math.max(l-o,a-l):0===t?(e.getPixelForTick(1)-l)/2:(l-e.getPixelForTick(i-1))/2,l+=i<t?c:-c,l<o-s||l>a+s)))return l}function Zi(e){return e.drawTicks?e.tickLength:0}function Ji(e,t){if(!e.display)return 0;const n=xn(e.font,t),r=_n(e.padding);return(be(e.text)?e.text.length:1)*n.lineHeight+r.height}function Qi(e,t,n){let r=pe(e);return(n&&"right"!==t||!n&&"right"===t)&&(r=(e=>"left"===e?"right":"right"===e?"left":e)(r)),r}class eo extends Hi{constructor(e){super(),this.id=e.id,this.type=e.type,this.options=void 0,this.ctx=e.ctx,this.chart=e.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(e){this.options=e.setContext(this.getContext()),this.axis=e.axis,this._userMin=this.parse(e.min),this._userMax=this.parse(e.max),this._suggestedMin=this.parse(e.suggestedMin),this._suggestedMax=this.parse(e.suggestedMax)}parse(e,t){return e}getUserBounds(){let{_userMin:e,_userMax:t,_suggestedMin:n,_suggestedMax:r}=this;return e=we(e,Number.POSITIVE_INFINITY),t=we(t,Number.NEGATIVE_INFINITY),n=we(n,Number.POSITIVE_INFINITY),r=we(r,Number.NEGATIVE_INFINITY),{min:we(e,n),max:we(t,r),minDefined:xe(e),maxDefined:xe(t)}}getMinMax(e){let t,{min:n,max:r,minDefined:i,maxDefined:o}=this.getUserBounds();if(i&&o)return{min:n,max:r};const a=this.getMatchingVisibleMetas();for(let s=0,c=a.length;s<c;++s)t=a[s].controller.getMinMax(this,e),i||(n=Math.min(n,t.min)),o||(r=Math.max(r,t.max));return n=o&&n>r?r:n,r=i&&n>r?n:r,{min:we(n,we(r,n)),max:we(r,we(n,r))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){Oe(this.options.beforeUpdate,[this])}update(e,t,n){const{beginAtZero:r,grace:i,ticks:o}=this.options,a=o.sampleSize;this.beforeUpdate(),this.maxWidth=e,this.maxHeight=t,this._margins=n=Object.assign({left:0,right:0,top:0,bottom:0},n),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+n.left+n.right:this.height+n.top+n.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=function(e,t,n){const{min:r,max:i}=e,o=Ee(t,(i-r)/2),a=(e,t)=>n&&0===e?0:e+t;return{min:a(r,-Math.abs(o)),max:a(i,o)}}(this,i,r),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const s=a<this.ticks.length;this._convertTicksToLabels(s?Ki(this.ticks,a):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),o.display&&(o.autoSkip||"auto"===o.source)&&(this.ticks=Wi(this,this.ticks),this._labelSizes=null),s&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let e,t,n=this.options.reverse;this.isHorizontal()?(e=this.left,t=this.right):(e=this.top,t=this.bottom,n=!n),this._startPixel=e,this._endPixel=t,this._reversePixels=n,this._length=t-e,this._alignToPixels=this.options.alignToPixels}afterUpdate(){Oe(this.options.afterUpdate,[this])}beforeSetDimensions(){Oe(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){Oe(this.options.afterSetDimensions,[this])}_callHooks(e){this.chart.notifyPlugins(e,this.getContext()),Oe(this.options[e],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){Oe(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(e){const t=this.options.ticks;let n,r,i;for(n=0,r=e.length;n<r;n++)i=e[n],i.label=Oe(t.callback,[i.value,n,e],this)}afterTickToLabelConversion(){Oe(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){Oe(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const e=this.options,t=e.ticks,n=this.ticks.length,r=t.minRotation||0,i=t.maxRotation;let o,a,s,c=r;if(!this._isVisible()||!t.display||r>=i||n<=1||!this.isHorizontal())return void(this.labelRotation=r);const l=this._getLabelSizes(),u=l.widest.width,d=l.highest.height,f=ct(this.chart.width-u,0,this.maxWidth);o=e.offset?this.maxWidth/n:f/(n-1),u+6>o&&(o=f/(n-(e.offset?.5:1)),a=this.maxHeight-Zi(e.grid)-t.padding-Ji(e.title,this.chart.options.font),s=Math.sqrt(u*u+d*d),c=tt(Math.min(Math.asin(ct((l.highest.height+6)/o,-1,1)),Math.asin(ct(a/s,-1,1))-Math.asin(ct(d/s,-1,1)))),c=Math.max(r,Math.min(i,c))),this.labelRotation=c}afterCalculateLabelRotation(){Oe(this.options.afterCalculateLabelRotation,[this])}beforeFit(){Oe(this.options.beforeFit,[this])}fit(){const e={width:0,height:0},{chart:t,options:{ticks:n,title:r,grid:i}}=this,o=this._isVisible(),a=this.isHorizontal();if(o){const o=Ji(r,t.options.font);if(a?(e.width=this.maxWidth,e.height=Zi(i)+o):(e.height=this.maxHeight,e.width=Zi(i)+o),n.display&&this.ticks.length){const{first:t,last:r,widest:i,highest:o}=this._getLabelSizes(),s=2*n.padding,c=et(this.labelRotation),l=Math.cos(c),u=Math.sin(c);if(a){const t=n.mirror?0:u*i.width+l*o.height;e.height=Math.min(this.maxHeight,e.height+t+s)}else{const t=n.mirror?0:l*i.width+u*o.height;e.width=Math.min(this.maxWidth,e.width+t+s)}this._calculatePadding(t,r,u,l)}}this._handleMargins(),a?(this.width=this._length=t.width-this._margins.left-this._margins.right,this.height=e.height):(this.width=e.width,this.height=this._length=t.height-this._margins.top-this._margins.bottom)}_calculatePadding(e,t,n,r){const{ticks:{align:i,padding:o},position:a}=this.options,s=0!==this.labelRotation,c="top"!==a&&"x"===this.axis;if(this.isHorizontal()){const a=this.getPixelForTick(0)-this.left,l=this.right-this.getPixelForTick(this.ticks.length-1);let u=0,d=0;s?c?(u=r*e.width,d=n*t.height):(u=n*e.height,d=r*t.width):"start"===i?d=t.width:"end"===i?u=e.width:(u=e.width/2,d=t.width/2),this.paddingLeft=Math.max((u-a+o)*this.width/(this.width-a),0),this.paddingRight=Math.max((d-l+o)*this.width/(this.width-l),0)}else{let n=t.height/2,r=e.height/2;"start"===i?(n=0,r=e.height):"end"===i&&(n=t.height,r=0),this.paddingTop=n+o,this.paddingBottom=r+o}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){Oe(this.options.afterFit,[this])}isHorizontal(){const{axis:e,position:t}=this.options;return"top"===t||"bottom"===t||"x"===e}isFullSize(){return this.options.fullSize}_convertTicksToLabels(e){let t,n;for(this.beforeTickToLabelConversion(),this.generateTickLabels(e),t=0,n=e.length;t<n;t++)ve(e[t].label)&&(e.splice(t,1),n--,t--);this.afterTickToLabelConversion()}_getLabelSizes(){let e=this._labelSizes;if(!e){const t=this.options.ticks.sampleSize;let n=this.ticks;t<n.length&&(n=Ki(n,t)),this._labelSizes=e=this._computeLabelSizes(n,n.length)}return e}_computeLabelSizes(e,t){const{ctx:n,_longestTextCache:r}=this,i=[],o=[];let a,s,c,l,u,d,f,h,p,m,g,y=0,v=0;for(a=0;a<t;++a){if(l=e[a].label,u=this._resolveTickFontOptions(a),n.font=d=u.string,f=r[d]=r[d]||{data:{},gc:[]},h=u.lineHeight,p=m=0,ve(l)||be(l)){if(be(l))for(s=0,c=l.length;s<c;++s)g=l[s],ve(g)||be(g)||(p=en(n,f.data,f.gc,p,g),m+=h)}else p=en(n,f.data,f.gc,p,l),m=h;i.push(p),o.push(m),y=Math.max(p,y),v=Math.max(m,v)}!function(e,t){ke(e,(e=>{const n=e.gc,r=n.length/2;let i;if(r>t){for(i=0;i<r;++i)delete e.data[n[i]];n.splice(0,r)}}))}(r,t);const b=i.indexOf(y),_=o.indexOf(v),x=e=>({width:i[e]||0,height:o[e]||0});return{first:x(0),last:x(t-1),widest:x(b),highest:x(_),widths:i,heights:o}}getLabelForValue(e){return e}getPixelForValue(e,t){return NaN}getValueForPixel(e){}getPixelForTick(e){const t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e].value)}getPixelForDecimal(e){this._reversePixels&&(e=1-e);const t=this._startPixel+e*this._length;return ct(this._alignToPixels?nn(this.chart,t,0):t,-32768,32767)}getDecimalForPixel(e){const t=(e-this._startPixel)/this._length;return this._reversePixels?1-t:t}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:e,max:t}=this;return e<0&&t<0?t:e>0&&t>0?e:0}getContext(e){const t=this.ticks||[];if(e>=0&&e<t.length){const n=t[e];return n.$context||(n.$context=function(e,t,n){return Sn(e,{tick:n,index:t,type:"tick"})}(this.getContext(),e,n))}return this.$context||(this.$context=Sn(this.chart.getContext(),{scale:this,type:"scale"}))}_tickSize(){const e=this.options.ticks,t=et(this.labelRotation),n=Math.abs(Math.cos(t)),r=M
vendor: 4,676 bytes, line 1
1ath.abs(Math.sin(t)),i=this._getLabelSizes(),o=e.autoSkipPadding||0,a=i?i.widest.width+o:0,s=i?i.highest.height+o:0;return this.isHorizontal()?s*n>a*r?a/n:s/r:s*r<a*n?s/n:a/r}_isVisible(){const e=this.options.display;return"auto"!==e?!!e:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(e){const t=this.axis,n=this.chart,r=this.options,{grid:i,position:o}=r,a=i.offset,s=this.isHorizontal(),c=this.ticks.length+(a?1:0),l=Zi(i),u=[],d=i.setContext(this.getContext()),f=d.drawBorder?d.borderWidth:0,h=f/2,p=function(e){return nn(n,e,f)};let m,g,y,v,b,_,x,w,S,E,O,k;if("top"===o)m=p(this.bottom),_=this.bottom-l,w=m-h,E=p(e.top)+h,k=e.bottom;else if("bottom"===o)m=p(this.top),E=e.top,k=p(e.bottom)-h,_=m+h,w=this.top+l;else if("left"===o)m=p(this.right),b=this.right-l,x=m-h,S=p(e.left)+h,O=e.right;else if("right"===o)m=p(this.left),S=e.left,O=p(e.right)-h,b=m+h,x=this.left+l;else if("x"===t){if("center"===o)m=p((e.top+e.bottom)/2+.5);else if(_e(o)){const e=Object.keys(o)[0],t=o[e];m=p(this.chart.scales[e].getPixelForValue(t))}E=e.top,k=e.bottom,_=m+h,w=_+l}else if("y"===t){if("center"===o)m=p((e.left+e.right)/2);else if(_e(o)){const e=Object.keys(o)[0],t=o[e];m=p(this.chart.scales[e].getPixelForValue(t))}b=m-h,x=b-l,S=e.left,O=e.right}const T=Se(r.ticks.maxTicksLimit,c),P=Math.max(1,Math.ceil(c/T));for(g=0;g<c;g+=P){const e=i.setContext(this.getContext(g)),t=e.lineWidth,r=e.color,o=i.borderDash||[],c=e.borderDashOffset,l=e.tickWidth,d=e.tickColor,f=e.tickBorderDash||[],h=e.tickBorderDashOffset;y=Xi(this,g,a),void 0!==y&&(v=nn(n,y,t),s?b=x=S=O=v:_=w=E=k=v,u.push({tx1:b,ty1:_,tx2:x,ty2:w,x1:S,y1:E,x2:O,y2:k,width:t,color:r,borderDash:o,borderDashOffset:c,tickWidth:l,tickColor:d,tickBorderDash:f,tickBorderDashOffset:h}))}return this._ticksLength=c,this._borderValue=m,u}_computeLabelItems(e){const t=this.axis,n=this.options,{position:r,ticks:i}=n,o=this.isHorizontal(),a=this.ticks,{align:s,crossAlign:c,padding:l,mirror:u}=i,d=Zi(n.grid),f=d+l,h=u?-l:f,p=-et(this.labelRotation),m=[];let g,y,v,b,_,x,w,S,E,O,k,T,P="middle";if("top"===r)x=this.bottom-h,w=this._getXAxisLabelAlignment();else if("bottom"===r)x=this.top+h,w=this._getXAxisLabelAlignment();else if("left"===r){const e=this._getYAxisLabelAlignment(d);w=e.textAlign,_=e.x}else if("right"===r){const e=this._getYAxisLabelAlignment(d);w=e.textAlign,_=e.x}else if("x"===t){if("center"===r)x=(e.top+e.bottom)/2+f;else if(_e(r)){const e=Object.keys(r)[0],t=r[e];x=this.chart.scales[e].getPixelForValue(t)+f}w=this._getXAxisLabelAlignment()}else if("y"===t){if("center"===r)_=(e.left+e.right)/2-f;else if(_e(r)){const e=Object.keys(r)[0],t=r[e];_=this.chart.scales[e].getPixelForValue(t)}w=this._getYAxisLabelAlignment(d).textAlign}"y"===t&&("start"===s?P="top":"end"===s&&(P="bottom"));const j=this._getLabelSizes();for(g=0,y=a.length;g<y;++g){v=a[g],b=v.label;const e=i.setContext(this.getContext(g));S=this.getPixelForTick(g)+i.labelOffset,E=this._resolveTickFontOptions(g),O=E.lineHeight,k=be(b)?b.length:1;const t=k/2,n=e.color,s=e.textStrokeColor,l=e.textStrokeWidth;let d;if(o?(_=S,T="top"===r?"near"===c||0!==p?-k*O+O/2:"center"===c?-j.highest.height/2-t*O+O:-j.highest.height+O/2:"near"===c||0!==p?O/2:"center"===c?j.highest.height/2-t*O:j.highest.height-k*O,u&&(T*=-1)):(x=S,T=(1-k)*O/2),e.showLabelBackdrop){const t=_n(e.backdropPadding),n=j.heights[g],r=j.widths[g];let i=x+T-t.top,o=_-t.left;switch(P){case"middle":i-=n/2;break;case"bottom":i-=n}switch(w){case"center":o-=r/2;break;case"right":o-=r}d={left:o,top:i,width:r+t.width,height:n+t.height,color:e.backdropColor}}m.push({rotation:p,label:b,font:E,color:n,strokeColor:s,strokeWidth:l,textOffset:T,textAlign:w,textBaseline:P,translation:[_,x],backdrop:d})}return m}_getXAxisLabelAlignment(){const{position:e,ticks:t}=this.options;if(-et(this.labelRotation))return"top"===e?"left":"right";let n="center";return"start"===t.align?n="left":"end"===t.align&&(n="right"),n}_getYAxisLabelAlignment(e){const{position:t,ticks:{crossAlign:n,mirror:r,padding:i}}=this.options,o=e+i,a=this._getLabelSizes().widest.width;let s,c;return"left"===t?r?(c=this.right+i,"near"===n?s="left":"center"===n?(s="center",c+=a/2):(s="right",c+=a)):(c=this.right-o,"near"===n?s="right":"center"===n?(s="center",c-=a/2):(s="left",c=this.left)):"right"===t?r?(c=this.left+i,"near"===n?s="right":"center"===n?(s="center",c-=a/2):(s="left",c-=a)):(c=this.left+o,"near"===n?s="left":"center"===n?(s="center",c+=a/2):(s="right",c=this.right)):s="right",{textAlign:s,x:c}}_computeLabelArea(){if(this.options.ticks.mirror)return;const e=this.chart,t=this.options.position;return"left"===t||"right"===t?{top:0,left:this.left,bottom:e.height,right:this.right}
vendor: 4,659 bytes, line 1
1:"top"===t||"bottom"===t?{top:this.top,left:0,bottom:this.bottom,right:e.width}:void 0}drawBackground(){const{ctx:e,options:{backgroundColor:t},left:n,top:r,width:i,height:o}=this;t&&(e.save(),e.fillStyle=t,e.fillRect(n,r,i,o),e.restore())}getLineWidthForValue(e){const t=this.options.grid;if(!this._isVisible()||!t.display)return 0;const n=this.ticks.findIndex((t=>t.value===e));if(n>=0){return t.setContext(this.getContext(n)).lineWidth}return 0}drawGrid(e){const t=this.options.grid,n=this.ctx,r=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(e));let i,o;const a=(e,t,r)=>{r.width&&r.color&&(n.save(),n.lineWidth=r.width,n.strokeStyle=r.color,n.setLineDash(r.borderDash||[]),n.lineDashOffset=r.borderDashOffset,n.beginPath(),n.moveTo(e.x,e.y),n.lineTo(t.x,t.y),n.stroke(),n.restore())};if(t.display)for(i=0,o=r.length;i<o;++i){const e=r[i];t.drawOnChartArea&&a({x:e.x1,y:e.y1},{x:e.x2,y:e.y2},e),t.drawTicks&&a({x:e.tx1,y:e.ty1},{x:e.tx2,y:e.ty2},{color:e.tickColor,width:e.tickWidth,borderDash:e.tickBorderDash,borderDashOffset:e.tickBorderDashOffset})}}drawBorder(){const{chart:e,ctx:t,options:{grid:n}}=this,r=n.setContext(this.getContext()),i=n.drawBorder?r.borderWidth:0;if(!i)return;const o=n.setContext(this.getContext(0)).lineWidth,a=this._borderValue;let s,c,l,u;this.isHorizontal()?(s=nn(e,this.left,i)-i/2,c=nn(e,this.right,o)+o/2,l=u=a):(l=nn(e,this.top,i)-i/2,u=nn(e,this.bottom,o)+o/2,s=c=a),t.save(),t.lineWidth=r.borderWidth,t.strokeStyle=r.borderColor,t.beginPath(),t.moveTo(s,l),t.lineTo(c,u),t.stroke(),t.restore()}drawLabels(e){if(!this.options.ticks.display)return;const t=this.ctx,n=this._computeLabelArea();n&&sn(t,n);const r=this._labelItems||(this._labelItems=this._computeLabelItems(e));let i,o;for(i=0,o=r.length;i<o;++i){const e=r[i],n=e.font,o=e.label;e.backdrop&&(t.fillStyle=e.backdrop.color,t.fillRect(e.backdrop.left,e.backdrop.top,e.backdrop.width,e.backdrop.height)),dn(t,o,0,e.textOffset,n,e)}n&&cn(t)}drawTitle(){const{ctx:e,options:{position:t,title:n,reverse:r}}=this;if(!n.display)return;const i=xn(n.font),o=_n(n.padding),a=n.align;let s=i.lineHeight/2;"bottom"===t||"center"===t||_e(t)?(s+=o.bottom,be(n.text)&&(s+=i.lineHeight*(n.text.length-1))):s+=o.top;const{titleX:c,titleY:l,maxWidth:u,rotation:d}=function(e,t,n,r){const{top:i,left:o,bottom:a,right:s,chart:c}=e,{chartArea:l,scales:u}=c;let d,f,h,p=0;const m=a-i,g=s-o;if(e.isHorizontal()){if(f=me(r,o,s),_e(n)){const e=Object.keys(n)[0],r=n[e];h=u[e].getPixelForValue(r)+m-t}else h="center"===n?(l.bottom+l.top)/2+m-t:qi(e,n,t);d=s-o}else{if(_e(n)){const e=Object.keys(n)[0],r=n[e];f=u[e].getPixelForValue(r)-g+t}else f="center"===n?(l.left+l.right)/2-g+t:qi(e,n,t);h=me(r,a,i),p="left"===n?-Ye:Ye}return{titleX:f,titleY:h,maxWidth:d,rotation:p}}(this,s,t,a);dn(e,n.text,0,0,i,{color:n.color,maxWidth:u,rotation:d,textAlign:Qi(a,t,r),textBaseline:"middle",translation:[c,l]})}draw(e){this._isVisible()&&(this.drawBackground(),this.drawGrid(e),this.drawBorder(),this.drawTitle(),this.drawLabels(e))}_layers(){const e=this.options,t=e.ticks&&e.ticks.z||0,n=Se(e.grid&&e.grid.z,-1);return this._isVisible()&&this.draw===eo.prototype.draw?[{z:n,draw:e=>{this.drawBackground(),this.drawGrid(e),this.drawTitle()}},{z:n+1,draw:()=>{this.drawBorder()}},{z:t,draw:e=>{this.drawLabels(e)}}]:[{z:t,draw:e=>{this.draw(e)}}]}getMatchingVisibleMetas(e){const t=this.chart.getSortedVisibleDatasetMetas(),n=this.axis+"AxisID",r=[];let i,o;for(i=0,o=t.length;i<o;++i){const o=t[i];o[n]!==this.id||e&&o.type!==e||r.push(o)}return r}_resolveTickFontOptions(e){return xn(this.options.ticks.setContext(this.getContext(e)).font)}_maxDigits(){const e=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/e}}class to{constructor(e,t,n){this.type=e,this.scope=t,this.override=n,this.items=Object.create(null)}isForType(e){return Object.prototype.isPrototypeOf.call(this.type.prototype,e.prototype)}register(e){const t=Object.getPrototypeOf(e);let n;(function(e){return"id"in e&&"defaults"in e})(t)&&(n=this.register(t));const r=this.items,i=e.id,o=this.scope+"."+i;if(!i)throw new Error("class does not have id: "+e);return i in r||(r[i]=e,function(e,t,n){const r=Ce(Object.create(null),[n?Qt.get(n):{},Qt.get(t),e.defaults]);Qt.set(t,r),e.defaultRoutes&&function(e,t){Object.keys(t).forEach((n=>{const r=n.split("."),i=r.pop(),o=[e].concat(r).join("."),a=t[n].split("."),s=a.pop(),c=a.join(".");Qt.route(o,i,c,s)}))}(t,e.defaultRoutes);e.descriptors&&Qt.describe(t,e.descriptors)}(e,o,n),this.override&&Qt.override(e.id,e.overrides)),o}get(e){return this.items[e]}unregister(e){const t=this.items,n=e.id,r=this.scope;
vendor: 4,160 bytes, line 1
1n in t&&delete t[n],r&&n in Qt[r]&&(delete Qt[r][n],this.override&&delete Kt[n])}}var no=new class{constructor(){this.controllers=new to(Br,"datasets",!0),this.elements=new to(Hi,"elements"),this.plugins=new to(Object,"plugins"),this.scales=new to(eo,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...e){this._each("register",e)}remove(...e){this._each("unregister",e)}addControllers(...e){this._each("register",e,this.controllers)}addElements(...e){this._each("register",e,this.elements)}addPlugins(...e){this._each("register",e,this.plugins)}addScales(...e){this._each("register",e,this.scales)}getController(e){return this._get(e,this.controllers,"controller")}getElement(e){return this._get(e,this.elements,"element")}getPlugin(e){return this._get(e,this.plugins,"plugin")}getScale(e){return this._get(e,this.scales,"scale")}removeControllers(...e){this._each("unregister",e,this.controllers)}removeElements(...e){this._each("unregister",e,this.elements)}removePlugins(...e){this._each("unregister",e,this.plugins)}removeScales(...e){this._each("unregister",e,this.scales)}_each(e,t,n){[...t].forEach((t=>{const r=n||this._getRegistryForType(t);n||r.isForType(t)||r===this.plugins&&t.id?this._exec(e,r,t):ke(t,(t=>{const r=n||this._getRegistryForType(t);this._exec(e,r,t)}))}))}_exec(e,t,n){const r=Ie(e);Oe(n["before"+r],[],n),t[e](n),Oe(n["after"+r],[],n)}_getRegistryForType(e){for(let t=0;t<this._typedRegistries.length;t++){const n=this._typedRegistries[t];if(n.isForType(e))return n}return this.plugins}_get(e,t,n){const r=t.get(e);if(void 0===r)throw new Error('"'+e+'" is not a registered '+n+".");return r}};class ro{constructor(){this._init=[]}notify(e,t,n,r){"beforeInit"===t&&(this._init=this._createDescriptors(e,!0),this._notify(this._init,e,"install"));const i=r?this._descriptors(e).filter(r):this._descriptors(e),o=this._notify(i,e,t,n);return"afterDestroy"===t&&(this._notify(i,e,"stop"),this._notify(this._init,e,"uninstall")),o}_notify(e,t,n,r){r=r||{};for(const i of e){const e=i.plugin;if(!1===Oe(e[n],[t,r,i.options],e)&&r.cancelable)return!1}return!0}invalidate(){ve(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(e){if(this._cache)return this._cache;const t=this._cache=this._createDescriptors(e);return this._notifyStateChanges(e),t}_createDescriptors(e,t){const n=e&&e.config,r=Se(n.options&&n.options.plugins,{}),i=function(e){const t=[],n=Object.keys(no.plugins.items);for(let i=0;i<n.length;i++)t.push(no.getPlugin(n[i]));const r=e.plugins||[];for(let i=0;i<r.length;i++){const e=r[i];-1===t.indexOf(e)&&t.push(e)}return t}(n);return!1!==r||t?function(e,t,n,r){const i=[],o=e.getContext();for(let a=0;a<t.length;a++){const s=t[a],c=io(n[s.id],r);null!==c&&i.push({plugin:s,options:oo(e.config,s,c,o)})}return i}(e,i,r,t):[]}_notifyStateChanges(e){const t=this._oldCache||[],n=this._cache,r=(e,t)=>e.filter((e=>!t.some((t=>e.plugin.id===t.plugin.id))));this._notify(r(t,n),e,"stop"),this._notify(r(n,t),e,"start")}}function io(e,t){return t||!1!==e?!0===e?{}:e:null}function oo(e,t,n,r){const i=e.pluginScopeKeys(t),o=e.getOptionScopes(n,i);return e.createResolver(o,r,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function ao(e,t){const n=Qt.datasets[e]||{};return((t.datasets||{})[e]||{}).indexAxis||t.indexAxis||n.indexAxis||"x"}function so(e,t){return"x"===e||"y"===e?e:t.axis||("top"===(n=t.position)||"bottom"===n?"x":"left"===n||"right"===n?"y":void 0)||e.charAt(0).toLowerCase();var n}function co(e){const t=e.options||(e.options={});t.plugins=Se(t.plugins,{}),t.scales=function(e,t){const n=Kt[e.type]||{scales:{}},r=t.scales||{},i=ao(e.type,t),o=Object.create(null),a=Object.create(null);return Object.keys(r).forEach((e=>{const t=r[e];if(!_e(t))return console.error(`Invalid scale configuration for scale: ${e}`);if(t._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${e}`);const s=so(e,t),c=function(e,t){return e===t?"_index_":"_value_"}(s,i),l=n.scales||{};o[s]=o[s]||e,a[e]=Me(Object.create(null),[{axis:s},t,l[s],l[c]])})),e.data.datasets.forEach((n=>{const i=n.type||e.type,s=n.indexAxis||ao(i,t),c=(Kt[i]||{}).scales||{};
vendor: 6,223 bytes, line 1
1Object.keys(c).forEach((e=>{const t=function(e,t){let n=e;return"_index_"===e?n=t:"_value_"===e&&(n="x"===t?"y":"x"),n}(e,s),i=n[t+"AxisID"]||o[t]||t;a[i]=a[i]||Object.create(null),Me(a[i],[{axis:t},r[i],c[e]])}))})),Object.keys(a).forEach((e=>{const t=a[e];Me(t,[Qt.scales[t.type],Qt.scale])})),a}(e,t)}function lo(e){return(e=e||{}).datasets=e.datasets||[],e.labels=e.labels||[],e}const uo=new Map,fo=new Set;function ho(e,t){let n=uo.get(e);return n||(n=t(),uo.set(e,n),fo.add(n)),n}const po=(e,t,n)=>{const r=Ae(t,n);void 0!==r&&e.add(r)};class mo{constructor(e){this._config=function(e){return(e=e||{}).data=lo(e.data),co(e),e}(e),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(e){this._config.type=e}get data(){return this._config.data}set data(e){this._config.data=lo(e)}get options(){return this._config.options}set options(e){this._config.options=e}get plugins(){return this._config.plugins}update(){const e=this._config;this.clearCache(),co(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return ho(e,(()=>[[`datasets.${e}`,""]]))}datasetAnimationScopeKeys(e,t){return ho(`${e}.transition.${t}`,(()=>[[`datasets.${e}.transitions.${t}`,`transitions.${t}`],[`datasets.${e}`,""]]))}datasetElementScopeKeys(e,t){return ho(`${e}-${t}`,(()=>[[`datasets.${e}.elements.${t}`,`datasets.${e}`,`elements.${t}`,""]]))}pluginScopeKeys(e){const t=e.id;return ho(`${this.type}-plugin-${t}`,(()=>[[`plugins.${t}`,...e.additionalOptionScopes||[]]]))}_cachedScopes(e,t){const n=this._scopeCache;let r=n.get(e);return r&&!t||(r=new Map,n.set(e,r)),r}getOptionScopes(e,t,n){const{options:r,type:i}=this,o=this._cachedScopes(e,n),a=o.get(t);if(a)return a;const s=new Set;t.forEach((t=>{e&&(s.add(e),t.forEach((t=>po(s,e,t)))),t.forEach((e=>po(s,r,e))),t.forEach((e=>po(s,Kt[i]||{},e))),t.forEach((e=>po(s,Qt,e))),t.forEach((e=>po(s,Xt,e)))}));const c=Array.from(s);return 0===c.length&&c.push(Object.create(null)),fo.has(t)&&o.set(t,c),c}chartOptionScopes(){const{options:e,type:t}=this;return[e,Kt[t]||{},Qt.datasets[t]||{},{type:t},Qt,Xt]}resolveNamedOptions(e,t,n,r=[""]){const i={$shared:!0},{resolver:o,subPrefixes:a}=go(this._resolverCache,e,r);let s=o;if(function(e,t){const{isScriptable:n,isIndexable:r}=Mn(e);for(const i of t){const t=n(i),o=r(i),a=(o||t)&&e[i];if(t&&(Ue(a)||yo(a))||o&&be(a))return!0}return!1}(o,t)){i.$shared=!1;s=Cn(o,n=Ue(n)?n():n,this.createResolver(e,n,a))}for(const c of t)i[c]=s[c];return i}createResolver(e,t,n=[""],r){const{resolver:i}=go(this._resolverCache,e,n);return _e(t)?Cn(i,t,void 0,r):i}}function go(e,t,n){let r=e.get(t);r||(r=new Map,e.set(t,r));const i=n.join();let o=r.get(i);if(!o){o={resolver:Dn(t,n),subPrefixes:n.filter((e=>!e.toLowerCase().includes("hover")))},r.set(i,o)}return o}const yo=e=>_e(e)&&Object.getOwnPropertyNames(e).reduce(((t,n)=>t||Ue(e[n])),!1);const vo=["top","bottom","left","right","chartArea"];function bo(e,t){return"top"===e||"bottom"===e||-1===vo.indexOf(e)&&"x"===t}function _o(e,t){return function(n,r){return n[e]===r[e]?n[t]-r[t]:n[e]-r[e]}}function xo(e){const t=e.chart,n=t.options.animation;t.notifyPlugins("afterRender"),Oe(n&&n.onComplete,[e],t)}function wo(e){const t=e.chart,n=t.options.animation;Oe(n&&n.onProgress,[e],t)}function So(e){return Xn()&&"string"===typeof e?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}const Eo={},Oo=e=>{const t=So(e);return Object.values(Eo).filter((e=>e.canvas===t)).pop()};function ko(e,t,n){const r=Object.keys(e);for(const i of r){const r=+i;if(r>=t){const o=e[i];delete e[i],(n>0||r>t)&&(e[r+n]=o)}}}class To{constructor(e,t){const n=this.config=new mo(t),r=So(e),i=Oo(r);if(i)throw new Error("Canvas is already in use. Chart with ID '"+i.id+"' must be destroyed before the canvas can be reused.");const o=n.createResolver(n.chartOptionScopes(),this.getContext());this.platform=new(n.platform||function(e){return!Xn()||"undefined"!==typeof OffscreenCanvas&&e instanceof OffscreenCanvas?Pi:Fi}(r)),this.platform.updateConfig(n);const a=this.platform.acquireContext(r,o.aspectRatio),s=a&&a.canvas,c=s&&s.height,l=s&&s.width;this.id=ye(),this.ctx=a,this.canvas=s,this.width=l,this.height=c,this._options=o,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new ro,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=function(e,t){let n;return function(...r){return t?(clearTimeout(n),n=setTimeout(e,t,r)):e.apply(this,r),t}}((e=>this.update(e)),o.resizeDelay||0),this._dataChanges=[],Eo[this.id]=this,a&&s?(Sr.listen(this,"complete",xo),Sr.listen(this,"progress",wo),this._initialize(),this.attached&&this.update()):console.error("Failed to create chart: can't acquire context from the given item")}get aspectRatio(){const{options:{aspectRatio:e,maintainAspectRatio:t},width:n,height:r,_aspectRatio:i}=this;return ve(e)?t&&i?i:r?n/r:null:e}get data(){return this.config.data}set data(e){this.config.data=e}get options(){return this._options}set options(e){this.config.options=e}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():or(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return rn(this.canvas,this.ctx),this}stop(){return Sr.stop(this),this}resize(e,t){Sr.running(this)?this._resizeBeforeDraw={width:e,height:t}:this._resize(e,t)}_resize(e,t){const n=this.options,r=this.canvas,i=n.maintainAspectRatio&&this.aspectRatio,o=this.platform.getMaximumSize(r,e,t,i),a=n.devicePixelRatio||this.platform.getDevicePixelRatio(),s=this.width?"resize":"attach";this.width=o.width,this.height=o.height,this._aspectRatio=this.aspectRatio,or(this,a,!0)&&(this.notifyPlugins("resize",{size:o}),Oe(n.onResize,[this,o],this),this.attached&&this._doResize(s)&&this.render())}ensureScalesHaveIDs(){ke(this.options.scales||{},((e,t)=>
vendor: 4,116 bytes, line 1
1{e.id=t}))}buildOrUpdateScales(){const e=this.options,t=e.scales,n=this.scales,r=Object.keys(n).reduce(((e,t)=>(e[t]=!1,e)),{});let i=[];t&&(i=i.concat(Object.keys(t).map((e=>{const n=t[e],r=so(e,n),i="r"===r,o="x"===r;return{options:n,dposition:i?"chartArea":o?"bottom":"left",dtype:i?"radialLinear":o?"category":"linear"}})))),ke(i,(t=>{const i=t.options,o=i.id,a=so(o,i),s=Se(i.type,t.dtype);void 0!==i.position&&bo(i.position,a)===bo(t.dposition)||(i.position=t.dposition),r[o]=!0;let c=null;if(o in n&&n[o].type===s)c=n[o];else{c=new(no.getScale(s))({id:o,type:s,ctx:this.ctx,chart:this}),n[c.id]=c}c.init(i,e)})),ke(r,((e,t)=>{e||delete n[t]})),ke(n,(e=>{ki.configure(this,e,e.options),ki.addBox(this,e)}))}_updateMetasets(){const e=this._metasets,t=this.data.datasets.length,n=e.length;if(e.sort(((e,t)=>e.index-t.index)),n>t){for(let e=t;e<n;++e)this._destroyDatasetMeta(e);e.splice(t,n-t)}this._sortedMetasets=e.slice(0).sort(_o("order","index"))}_removeUnreferencedMetasets(){const{_metasets:e,data:{datasets:t}}=this;e.length>t.length&&delete this._stacks,e.forEach(((e,n)=>{0===t.filter((t=>t===e._dataset)).length&&this._destroyDatasetMeta(n)}))}buildOrUpdateControllers(){const e=[],t=this.data.datasets;let n,r;for(this._removeUnreferencedMetasets(),n=0,r=t.length;n<r;n++){const r=t[n];let i=this.getDatasetMeta(n);const o=r.type||this.config.type;if(i.type&&i.type!==o&&(this._destroyDatasetMeta(n),i=this.getDatasetMeta(n)),i.type=o,i.indexAxis=r.indexAxis||ao(o,this.options),i.order=r.order||0,i.index=n,i.label=""+r.label,i.visible=this.isDatasetVisible(n),i.controller)i.controller.updateIndex(n),i.controller.linkScales();else{const t=no.getController(o),{datasetElementType:r,dataElementType:a}=Qt.datasets[o];Object.assign(t.prototype,{dataElementType:no.getElement(a),datasetElementType:r&&no.getElement(r)}),i.controller=new t(this,n),e.push(i.controller)}}return this._updateMetasets(),e}_resetElements(){ke(this.data.datasets,((e,t)=>{this.getDatasetMeta(t).controller.reset()}),this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(e){const t=this.config;t.update();const n=this._options=t.createResolver(t.chartOptionScopes(),this.getContext()),r=this._animationsDisabled=!n.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),!1===this.notifyPlugins("beforeUpdate",{mode:e,cancelable:!0}))return;const i=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let o=0;for(let c=0,l=this.data.datasets.length;c<l;c++){const{controller:e}=this.getDatasetMeta(c),t=!r&&-1===i.indexOf(e);e.buildOrUpdateElements(t),o=Math.max(+e.getMaxOverflow(),o)}o=this._minPadding=n.layout.autoPadding?o:0,this._updateLayout(o),r||ke(i,(e=>{e.reset()})),this._updateDatasets(e),this.notifyPlugins("afterUpdate",{mode:e}),this._layers.sort(_o("z","_idx"));const{_active:a,_lastEvent:s}=this;s?this._eventHandler(s,!0):a.length&&this._updateHoverStyles(a,a,!0),this.render()}_updateScales(){ke(this.scales,(e=>{ki.removeBox(this,e)})),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const e=this.options,t=new Set(Object.keys(this._listeners)),n=new Set(e.events);Ve(t,n)&&!!this._responsiveListeners===e.responsive||(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:e}=this,t=this._getUniformDataChanges()||[];for(const{method:n,start:r,count:i}of t){ko(e,r,"_removeElements"===n?-i:i)}}_getUniformDataChanges(){const e=this._dataChanges;if(!e||!e.length)return;this._dataChanges=[];const t=this.data.datasets.length,n=t=>new Set(e.filter((e=>e[0]===t)).map(((e,t)=>t+","+e.splice(1).join(",")))),r=n(0);for(let i=1;i<t;i++)if(!Ve(r,n(i)))return;return Array.from(r).map((e=>e.split(","))).map((e=>({method:e[1],start:+e[2],count:+e[3]})))}_updateLayout(e){if(!1===this.notifyPlugins("beforeLayout",{cancelable:!0}))return;ki.update(this,this.width,this.height,e);const t=this.chartArea,n=t.width<=0||t.height<=0;this._layers=[],ke(this.boxes,(e=>{n&&"chartArea"===e.position||(e.configure&&e.configure(),this._layers.push(...e._layers()))}
vendor: 5,631 bytes, line 1
1),this),this._layers.forEach(((e,t)=>{e._idx=t})),this.notifyPlugins("afterLayout")}_updateDatasets(e){if(!1!==this.notifyPlugins("beforeDatasetsUpdate",{mode:e,cancelable:!0})){for(let e=0,t=this.data.datasets.length;e<t;++e)this.getDatasetMeta(e).controller.configure();for(let t=0,n=this.data.datasets.length;t<n;++t)this._updateDataset(t,Ue(e)?e({datasetIndex:t}):e);this.notifyPlugins("afterDatasetsUpdate",{mode:e})}}_updateDataset(e,t){const n=this.getDatasetMeta(e),r={meta:n,index:e,mode:t,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetUpdate",r)&&(n.controller._update(t),r.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",r))}render(){!1!==this.notifyPlugins("beforeRender",{cancelable:!0})&&(Sr.has(this)?this.attached&&!Sr.running(this)&&Sr.start(this):(this.draw(),xo({chart:this})))}draw(){let e;if(this._resizeBeforeDraw){const{width:e,height:t}=this._resizeBeforeDraw;this._resize(e,t),this._resizeBeforeDraw=null}if(this.clear(),this.width<=0||this.height<=0)return;if(!1===this.notifyPlugins("beforeDraw",{cancelable:!0}))return;const t=this._layers;for(e=0;e<t.length&&t[e].z<=0;++e)t[e].draw(this.chartArea);for(this._drawDatasets();e<t.length;++e)t[e].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(e){const t=this._sortedMetasets,n=[];let r,i;for(r=0,i=t.length;r<i;++r){const i=t[r];e&&!i.visible||n.push(i)}return n}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(!1===this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0}))return;const e=this.getSortedVisibleDatasetMetas();for(let t=e.length-1;t>=0;--t)this._drawDataset(e[t]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(e){const t=this.ctx,n=e._clip,r=!n.disabled,i=this.chartArea,o={meta:e,index:e.index,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetDraw",o)&&(r&&sn(t,{left:!1===n.left?0:i.left-n.left,right:!1===n.right?this.width:i.right+n.right,top:!1===n.top?0:i.top-n.top,bottom:!1===n.bottom?this.height:i.bottom+n.bottom}),e.controller.draw(),r&&cn(t),o.cancelable=!1,this.notifyPlugins("afterDatasetDraw",o))}getElementsAtEventForMode(e,t,n,r){const i=hi.modes[t];return"function"===typeof i?i(this,e,n,r):[]}getDatasetMeta(e){const t=this.data.datasets[e],n=this._metasets;let r=n.filter((e=>e&&e._dataset===t)).pop();return r||(r={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:t&&t.order||0,index:e,_dataset:t,_parsed:[],_sorted:!1},n.push(r)),r}getContext(){return this.$context||(this.$context=Sn(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(e){const t=this.data.datasets[e];if(!t)return!1;const n=this.getDatasetMeta(e);return"boolean"===typeof n.hidden?!n.hidden:!t.hidden}setDatasetVisibility(e,t){this.getDatasetMeta(e).hidden=!t}toggleDataVisibility(e){this._hiddenIndices[e]=!this._hiddenIndices[e]}getDataVisibility(e){return!this._hiddenIndices[e]}_updateVisibility(e,t,n){const r=n?"show":"hide",i=this.getDatasetMeta(e),o=i.controller._resolveAnimations(void 0,r);Le(t)?(i.data[t].hidden=!n,this.update()):(this.setDatasetVisibility(e,n),o.update(i,{visible:n}),this.update((t=>t.datasetIndex===e?r:void 0)))}hide(e,t){this._updateVisibility(e,t,!1)}show(e,t){this._updateVisibility(e,t,!0)}_destroyDatasetMeta(e){const t=this._metasets[e];t&&t.controller&&t.controller._destroy(),delete this._metasets[e]}_stop(){let e,t;for(this.stop(),Sr.remove(this),e=0,t=this.data.datasets.length;e<t;++e)this._destroyDatasetMeta(e)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:e,ctx:t}=this;this._stop(),this.config.clearCache(),e&&(this.unbindEvents(),rn(e,t),this.platform.releaseContext(t),this.canvas=null,this.ctx=null),this.notifyPlugins("destroy"),delete Eo[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...e){return this.canvas.toDataURL(...e)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const e=this._listeners,t=this.platform,n=(n,r)=>{t.addEventListener(this,n,r),e[n]=r},r=(e,t,n)=>{e.offsetX=t,e.offsetY=n,this._eventHandler(e)};ke(this.options.events,(e=>n(e,r)))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const e=this._responsiveListeners,t=this.platform,n=(n,r)=>{t.addEventListener(this,n,r),e[n]=r},r=(n,r)=>{e[n]&&(t.removeEventListener(this,n,r),delete e[n])},i=(e,t)=>{this.canvas&&this.resize(e,t)};let o;const a=()=>{r("attach",a),this.attached=!0,this.resize(),n("resize",i),n("detach",o)};o=()=>{this.attached=!1,r("resize",i),this._stop(),this._resize(0,0),n("attach",a)},t.isAttached(this.canvas)?a():o()}unbindEvents(){ke(this._listeners,((e,t)=>{this.platform.removeEventListener(this,t,e)})),this._listeners={},ke(this._responsiveListeners,((e,t)=>{this.platform.removeEventListener(this,t,e)})),this._responsiveListeners=void 0}updateHoverStyle(e,t,n){const r=n?"set":"remove";let i,o,a,s;for("dataset"===t&&(i=this.getDatasetMeta(e[0].datasetIndex),i.controller["_"+r+"DatasetHoverStyle"]()),a=0,s=e.length;a<s;++a){o=e[a];const t=o&&this.getDatasetMeta(o.datasetIndex).controller;t&&t[r+"HoverStyle"](o.element,o.datasetIndex,o.index)}}getActiveElements(){return this._active||[]}setActiveElements(e){const t=this._active||[],n=e.map((({datasetIndex:e,index:t})=>{const n=this.getDatasetMeta(e);if(!n)throw new Error("No dataset found at index "+e);return{datasetIndex:e,element:n.data[t],index:t}}));!Te(n,t)&&(this._active=n,this._lastEvent=null,this._updateHoverStyles(n,t))}notifyPlugins(e,t,n){return this._plugins.notify(this,e,t,n)}
1_updateHoverStyles(e,t,n){const r=this.options.hover,i=(e,t)=>e.filter((e=>!t.some((t=>e.datasetIndex===t.datasetIndex&&e.index===t.index)))),o=i(t,e),a=n?e:i(e,t);o.length&&this.updateHoverStyle(o,r.mode,!1),a.length&&r.mode&&this.updateHoverStyle(a,r.mode,!0)}_eventHandler(e,t){const n={event:e,replay:t,cancelable:!0,inChartArea:an(e,this.chartArea,this._minPadding)},r=t=>(t.options.events||this.options.events).includes(e.native.type);if(!1===this.notifyPlugins("beforeEvent",n,r))return;const i=this._handleEvent(e,t,n.inChartArea);return n.cancelable=!1,this.notifyPlugins("afterEvent",n,r),(i||n.changed)&&this.render(),this}_handleEvent(e,t,n){const{_active:r=[],options:i}=this,o=t,a=this._getActiveElements(e,r,n,o),s=function(e){return"mouseup"===e.type||"click"===e.type||"contextmenu"===e.type}(e),c=function(e,t,n,r){return n&&"mouseout"!==e.type?r?t:e:null}(e,this._lastEvent,n,s);n&&(this._lastEvent=null,Oe(i.onHover,[e,a,this],this),s&&Oe(i.onClick,[e,a,this],this));const l=!Te(a,r);return(l||t)&&(this._active=a,this._updateHoverStyles(a,r,t)),this._lastEvent=c,l}_getActiveElements(e,t,n,r){if("mouseout"===e.type)return[];if(!n)return t;const i=this.options.hover;return this.getElementsAtEventForMode(e,i.mode,i,r)}}const Po=()=>ke(To.instances,(e=>e._plugins.invalidate())),jo=!0;function Do(e,t,n){const{startAngle:r,pixelMargin:i,x:o,y:a,outerRadius:s,innerRadius:c}=t;let l=i/s;e.beginPath(),e.arc(o,a,s,r-l,n+l),c>i?(l=i/c,e.arc(o,a,c,n+l,r-l,!0)):e.arc(o,a,i,n+Ye,r-Ye),e.closePath(),e.clip()}function Co(e,t,n,r){const i=yn(e.options.borderRadius,["outerStart","outerEnd","innerStart","innerEnd"]);const o=(n-t)/2,a=Math.min(o,r*t/2),s=e=>{const t=(n-Math.min(o,e))*r/2;return ct(e,0,Math.min(o,t))};return{outerStart:s(i.outerStart),outerEnd:s(i.outerEnd),innerStart:ct(i.innerStart,0,a),innerEnd:ct(i.innerEnd,0,a)}}function Mo(e,t,n,r){return{x:n+e*Math.cos(t),y:r+e*Math.sin(t)}}function Ro(e,t,n,r,i){const{x:o,y:a,startAngle:s,pixelMargin:c,innerRadius:l}=t,u=Math.max(t.outerRadius+r+n-c,0),d=l>0?l+r+n+c:0;let f=0;const h=i-s;if(r){const e=((l>0?l-r:0)+(u>0?u-r:0))/2;f=(h-(0!==e?h*e/(e+r):h))/2}const p=(h-Math.max(.001,h*u-n/Be)/u)/2,m=s+p+f,g=i-p-f,{outerStart:y,outerEnd:v,innerStart:b,innerEnd:_}=Co(t,d,u,g-m),x=u-y,w=u-v,S=m+y/x,E=g-v/w,O=d+b,k=d+_,T=m+b/O,P=g-_/k;if(e.beginPath(),e.arc(o,a,u,S,E),v>0){const t=Mo(w,E,o,a);e.arc(t.x,t.y,v,E,g+Ye)}const j=Mo(k,g,o,a);if(e.lineTo(j.x,j.y),_>0){const t=Mo(k,P,o,a);e.arc(t.x,t.y,_,g+Ye,P+Math.PI)}if(e.arc(o,a,d,g-_/d,m+b/d,!0),b>0){const t=Mo(O,T,o,a);e.arc(t.x,t.y,b,T+Math.PI,m-Ye)}const D=Mo(x,m,o,a);if(e.lineTo(D.x,D.y),y>0){const t=Mo(x,S,o,a);e.arc(t.x,t.y,y,m-Ye,S)}e.closePath()}function No(e,t,n,r,i){const{options:o}=t,{borderWidth:a,borderJoinStyle:s}=o,c="inner"===o.borderAlign;a&&(c?(e.lineWidth=2*a,e.lineJoin=s||"round"):(e.lineWidth=a,e.lineJoin=s||"bevel"),t.fullCircles&&function(e,t,n){const{x:r,y:i,startAngle:o,pixelMargin:a,fullCircles:s}=t,c=Math.max(t.outerRadius-a,0),l=t.innerRadius+a;let u;for(n&&Do(e,t,o+ze),e.beginPath(),e.arc(r,i,l,o+ze,o,!0),u=0;u<s;++u)e.stroke();for(e.beginPath(),e.arc(r,i,c,o,o+ze),u=0;u<s;++u)e.stroke()}(e,t,c),c&&Do(e,t,i),Ro(e,t,n,r,i),e.stroke())}Object.defineProperties(To,{defaults:{enumerable:jo,value:Qt},instances:{enumerable:jo,value:Eo},overrides:{enumerable:jo,value:Kt},registry:{enumerable:jo,value:no},version:{enumerable:jo,value:"3.7.0"},getChart:{enumerable:jo,value:Oo},register:{enumerable:jo,value:(...e)=>{no.add(...e),Po()}},unregister:{enumerable:jo,value:(...e)=>{no.remove(...e),Po()}}});class Ao extends Hi{constructor(e){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,e&&Object.assign(this,e)}inRange(e,t,n){const r=this.getProps(["x","y"],n),{angle:i,distance:o}=rt(r,{x:e,y:t}),{startAngle:a,endAngle:s,innerRadius:c,outerRadius:l,circumference:u}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],n),d=this.options.spacing/2,f=Se(u,s-a)>=ze||st(i,a,s),h=lt(o,c+d,l+d);return f&&h}getCenterPoint(e){const{x:t,y:n,startAngle:r,endAngle:i,innerRadius:o,outerRadius:a}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius","circumference"],e),{offset:s,spacing:c}=this.options,l=(r+i)/2,u=(o+a+c+s)/2;return{x:t+Math.cos(l)*u,y:n+Math.sin(l)*u}}tooltipPosition(e){return this.getCenterPoint(e)}draw(e){const{options:t,circumference:n}=this,r=(t.offset||0)/2,i=(t.spacing||0)/2;if(this.pixelMargin="inner"===t.borderAlign?.33:0,this.fullCircles=n>ze?Math.floor(n/ze):0,0===n||this.innerRadius<0||this.outerRadius<0)return;e.save();let o=0;if(r){o=r/2;const t=(this.startAngle+this.endAngle)/2;e.translate(Math.cos(t)*o,Math.sin(t)*o),this.circumference>=Be&&(o=r)}e.fillStyle=t.backgroundColor,e.strokeStyle=t.borderColor;const a=function(e,t,n,r){const{fullCircles:i,startAngle:o,circumference:a}=t;let s=t.endAngle;if(i){Ro(e,t,n,r,o+ze);for(let t=0;t<i;++t)e.fill();
vendor: 3,086 bytes, line 1
1isNaN(a)||(s=o+a%ze,a%ze===0&&(s+=ze))}return Ro(e,t,n,r,s),e.fill(),s}(e,this,o,i);No(e,this,o,i,a),e.restore()}}function Io(e,t,n=t){e.lineCap=Se(n.borderCapStyle,t.borderCapStyle),e.setLineDash(Se(n.borderDash,t.borderDash)),e.lineDashOffset=Se(n.borderDashOffset,t.borderDashOffset),e.lineJoin=Se(n.borderJoinStyle,t.borderJoinStyle),e.lineWidth=Se(n.borderWidth,t.borderWidth),e.strokeStyle=Se(n.borderColor,t.borderColor)}function Lo(e,t,n){e.lineTo(n.x,n.y)}function Uo(e,t,n={}){const r=e.length,{start:i=0,end:o=r-1}=n,{start:a,end:s}=t,c=Math.max(i,a),l=Math.min(o,s),u=i<a&&o<a||i>s&&o>s;return{count:r,start:c,loop:t.loop,ilen:l<c&&!u?r+l-c:l-c}}function Vo(e,t,n,r){const{points:i,options:o}=t,{count:a,start:s,loop:c,ilen:l}=Uo(i,n,r),u=function(e){return e.stepped?ln:e.tension||"monotone"===e.cubicInterpolationMode?un:Lo}(o);let d,f,h,{move:p=!0,reverse:m}=r||{};for(d=0;d<=l;++d)f=i[(s+(m?l-d:d))%a],f.skip||(p?(e.moveTo(f.x,f.y),p=!1):u(e,h,f,m,o.stepped),h=f);return c&&(f=i[(s+(m?l:0))%a],u(e,h,f,m,o.stepped)),!!c}function Bo(e,t,n,r){const i=t.points,{count:o,start:a,ilen:s}=Uo(i,n,r),{move:c=!0,reverse:l}=r||{};let u,d,f,h,p,m,g=0,y=0;const v=e=>(a+(l?s-e:e))%o,b=()=>{h!==p&&(e.lineTo(g,p),e.lineTo(g,h),e.lineTo(g,m))};for(c&&(d=i[v(0)],e.moveTo(d.x,d.y)),u=0;u<=s;++u){if(d=i[v(u)],d.skip)continue;const t=d.x,n=d.y,r=0|t;r===f?(n<h?h=n:n>p&&(p=n),g=(y*g+t)/++y):(b(),e.lineTo(t,n),f=r,y=0,h=p=n),m=n}b()}function zo(e){const t=e.options,n=t.borderDash&&t.borderDash.length;return!e._decimated&&!e._loop&&!t.tension&&"monotone"!==t.cubicInterpolationMode&&!t.stepped&&!n?Bo:Vo}Ao.id="arc",Ao.defaults={borderAlign:"center",borderColor:"#fff",borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0},Ao.defaultRoutes={backgroundColor:"backgroundColor"};const Fo="function"===typeof Path2D;function Ho(e,t,n,r){Fo&&!t.options.segment?function(e,t,n,r){let i=t._path;i||(i=t._path=new Path2D,t.path(i,n,r)&&i.closePath()),Io(e,t.options),e.stroke(i)}(e,t,n,r):function(e,t,n,r){const{segments:i,options:o}=t,a=zo(t);for(const s of i)Io(e,o,s.style),e.beginPath(),a(e,t,s,{start:n,end:n+r-1})&&e.closePath(),e.stroke()}(e,t,n,r)}class $o extends Hi{constructor(e){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,e&&Object.assign(this,e)}updateControlPoints(e,t){const n=this.options;if((n.tension||"monotone"===n.cubicInterpolationMode)&&!n.stepped&&!this._pointsUpdated){const r=n.spanGaps?this._loop:this._fullLoop;Kn(this._points,n,e,r,t),this._pointsUpdated=!0}}set points(e){this._points=e,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=function(e,t){const n=e.points,r=e.options.spanGaps,i=n.length;if(!i)return[];const o=!!e._loop,{start:a,end:s}=function(e,t,n,r){let i=0,o=t-1;if(n&&!r)for(;i<t&&!e[i].skip;)i++;for(;i<t&&e[i].skip;)i++;
vendor: 4,695 bytes, line 1
1for(i%=t,n&&(o+=i);o>i&&e[o%t].skip;)o--;return o%=t,{start:i,end:o}}(n,i,o,r);return _r(e,!0===r?[{start:a,end:s,loop:o}]:function(e,t,n,r){const i=e.length,o=[];let a,s=t,c=e[t];for(a=t+1;a<=n;++a){const n=e[a%i];n.skip||n.stop?c.skip||(r=!1,o.push({start:t%i,end:(a-1)%i,loop:r}),t=s=n.stop?a:null):(s=a,c.skip&&(t=a)),c=n}return null!==s&&o.push({start:t%i,end:s%i,loop:r}),o}(n,a,s<a?s+i:s,!!e._fullLoop&&0===a&&s===i-1),n,t)}(this,this.options.segment))}first(){const e=this.segments,t=this.points;return e.length&&t[e[0].start]}last(){const e=this.segments,t=this.points,n=e.length;return n&&t[e[n-1].end]}interpolate(e,t){const n=this.options,r=e[t],i=this.points,o=br(this,{property:t,start:r,end:r});if(!o.length)return;const a=[],s=function(e){return e.stepped?lr:e.tension||"monotone"===e.cubicInterpolationMode?ur:cr}(n);let c,l;for(c=0,l=o.length;c<l;++c){const{start:l,end:u}=o[c],d=i[l],f=i[u];if(d===f){a.push(d);continue}const h=s(d,f,Math.abs((r-d[t])/(f[t]-d[t])),n.stepped);h[t]=e[t],a.push(h)}return 1===a.length?a[0]:a}pathSegment(e,t,n){return zo(this)(e,this,t,n)}path(e,t,n){const r=this.segments,i=zo(this);let o=this._loop;t=t||0,n=n||this.points.length-t;for(const a of r)o&=i(e,this,a,{start:t,end:t+n-1});return!!o}draw(e,t,n,r){const i=this.options||{};(this.points||[]).length&&i.borderWidth&&(e.save(),Ho(e,this,n,r),e.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}}function Yo(e,t,n,r){const i=e.options,{[n]:o}=e.getProps([n],r);return Math.abs(t-o)<i.radius+i.hitRadius}$o.id="line",$o.defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0},$o.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"},$o.descriptors={_scriptable:!0,_indexable:e=>"borderDash"!==e&&"fill"!==e};class Wo extends Hi{constructor(e){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,e&&Object.assign(this,e)}inRange(e,t,n){const r=this.options,{x:i,y:o}=this.getProps(["x","y"],n);return Math.pow(e-i,2)+Math.pow(t-o,2)<Math.pow(r.hitRadius+r.radius,2)}inXRange(e,t){return Yo(this,e,"x",t)}inYRange(e,t){return Yo(this,e,"y",t)}getCenterPoint(e){const{x:t,y:n}=this.getProps(["x","y"],e);return{x:t,y:n}}size(e){let t=(e=e||this.options||{}).radius||0;t=Math.max(t,t&&e.hoverRadius||0);return 2*(t+(t&&e.borderWidth||0))}draw(e,t){const n=this.options;this.skip||n.radius<.1||!an(this,t,this.size(n)/2)||(e.strokeStyle=n.borderColor,e.lineWidth=n.borderWidth,e.fillStyle=n.backgroundColor,on(e,n,this.x,this.y))}getRange(){const e=this.options||{};return e.radius+e.hitRadius}}function Go(e,t){const{x:n,y:r,base:i,width:o,height:a}=e.getProps(["x","y","base","width","height"],t);let s,c,l,u,d;return e.horizontal?(d=a/2,s=Math.min(n,i),c=Math.max(n,i),l=r-d,u=r+d):(d=o/2,s=n-d,c=n+d,l=Math.min(r,i),u=Math.max(r,i)),{left:s,top:l,right:c,bottom:u}}function qo(e,t,n,r){return e?0:ct(t,n,r)}function Ko(e){const t=Go(e),n=t.right-t.left,r=t.bottom-t.top,i=function(e,t,n){const r=e.options.borderWidth,i=e.borderSkipped,o=vn(r);return{t:qo(i.top,o.top,0,n),r:qo(i.right,o.right,0,t),b:qo(i.bottom,o.bottom,0,n),l:qo(i.left,o.left,0,t)}}(e,n/2,r/2),o=function(e,t,n){const{enableBorderRadius:r}=e.getProps(["enableBorderRadius"]),i=e.options.borderRadius,o=bn(i),a=Math.min(t,n),s=e.borderSkipped,c=r||_e(i);return{topLeft:qo(!c||s.top||s.left,o.topLeft,0,a),topRight:qo(!c||s.top||s.right,o.topRight,0,a),bottomLeft:qo(!c||s.bottom||s.left,o.bottomLeft,0,a),bottomRight:qo(!c||s.bottom||s.right,o.bottomRight,0,a)}}(e,n/2,r/2);return{outer:{x:t.left,y:t.top,w:n,h:r,radius:o},inner:{x:t.left+i.l,y:t.top+i.t,w:n-i.l-i.r,h:r-i.t-i.b,radius:{topLeft:Math.max(0,o.topLeft-Math.max(i.t,i.l)),topRight:Math.max(0,o.topRight-Math.max(i.t,i.r)),bottomLeft:Math.max(0,o.bottomLeft-Math.max(i.b,i.l)),bottomRight:Math.max(0,o.bottomRight-Math.max(i.b,i.r))}}}}function Xo(e,t,n,r){const i=null===t,o=null===n,a=e&&!(i&&o)&&Go(e,r);return a&&(i||lt(t,a.left,a.right))&&(o||lt(n,a.top,a.bottom))}function Zo(e,t){e.rect(t.x,t.y,t.w,t.h)}function Jo(e,t,n={}){const r=e.x!==n.x?-t:0,i=e.y!==n.y?-t:0,o=(e.x+e.w!==n.x+n.w?t:0)-r,a=(e.y+e.h!==n.y+n.h?t:0)-i;return{x:e.x+r,y:e.y+i,w:e.w+o,h:e.h+a,radius:e.radius}}Wo.id="point",Wo.defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0},Wo.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};class Qo extends Hi{constructor(e){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmou
vendor: 5,301 bytes, line 1
1nt=void 0,e&&Object.assign(this,e)}draw(e){const{inflateAmount:t,options:{borderColor:n,backgroundColor:r}}=this,{inner:i,outer:o}=Ko(this),a=(s=o.radius).topLeft||s.topRight||s.bottomLeft||s.bottomRight?hn:Zo;var s;e.save(),o.w===i.w&&o.h===i.h||(e.beginPath(),a(e,Jo(o,t,i)),e.clip(),a(e,Jo(i,-t,o)),e.fillStyle=n,e.fill("evenodd")),e.beginPath(),a(e,Jo(i,t)),e.fillStyle=r,e.fill(),e.restore()}inRange(e,t,n){return Xo(this,e,t,n)}inXRange(e,t){return Xo(this,e,null,t)}inYRange(e,t){return Xo(this,null,e,t)}getCenterPoint(e){const{x:t,y:n,base:r,horizontal:i}=this.getProps(["x","y","base","horizontal"],e);return{x:i?(t+r)/2:t,y:i?n:(n+r)/2}}getRange(e){return"x"===e?this.width/2:this.height/2}}Qo.id="bar",Qo.defaults={borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0},Qo.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};function ea(e,t,n){const r=function(e){const t=e.options,n=t.fill;let r=Se(n&&n.target,n);return void 0===r&&(r=!!t.backgroundColor),!1!==r&&null!==r&&(!0===r?"origin":r)}(e);if(_e(r))return!isNaN(r.value)&&r;let i=parseFloat(r);return xe(i)&&Math.floor(i)===i?("-"!==r[0]&&"+"!==r[0]||(i=t+i),!(i===t||i<0||i>=n)&&i):["origin","start","end","stack","shape"].indexOf(r)>=0&&r}class ta{constructor(e){this.x=e.x,this.y=e.y,this.radius=e.radius}pathSegment(e,t,n){const{x:r,y:i,radius:o}=this;return t=t||{start:0,end:ze},e.arc(r,i,o,t.end,t.start,!0),!n.bounds}interpolate(e){const{x:t,y:n,radius:r}=this,i=e.angle;return{x:t+Math.cos(i)*r,y:n+Math.sin(i)*r,angle:i}}}function na(e){return(e.scale||{}).getPointPositionForValue?function(e){const{scale:t,fill:n}=e,r=t.options,i=t.getLabels().length,o=[],a=r.reverse?t.max:t.min,s=r.reverse?t.min:t.max;let c,l,u;if(u="start"===n?a:"end"===n?s:_e(n)?n.value:t.getBaseValue(),r.grid.circular)return l=t.getPointPositionForValue(0,a),new ta({x:l.x,y:l.y,radius:t.getDistanceFromCenterForValue(u)});for(c=0;c<i;++c)o.push(t.getPointPositionForValue(c,u));return o}(e):function(e){const{scale:t={},fill:n}=e;let r,i=null;return"start"===n?i=t.bottom:"end"===n?i=t.top:_e(n)?i=t.getPixelForValue(n.value):t.getBasePixel&&(i=t.getBasePixel()),xe(i)?(r=t.isHorizontal(),{x:r?i:null,y:r?null:i}):null}(e)}function ra(e,t,n){for(;t>e;t--){const e=n[t];if(!isNaN(e.x)&&!isNaN(e.y))break}return t}function ia(e,t,n){const r=[];for(let i=0;i<n.length;i++){const o=n[i],{first:a,last:s,point:c}=oa(o,t,"x");if(!(!c||a&&s))if(a)r.unshift(c);else if(e.push(c),!s)break}e.push(...r)}function oa(e,t,n){const r=e.interpolate(t,n);if(!r)return{};const i=r[n],o=e.segments,a=e.points;let s=!1,c=!1;for(let l=0;l<o.length;l++){const e=o[l],t=a[e.start][n],r=a[e.end][n];if(lt(i,t,r)){s=i===t,c=i===r;break}}return{first:s,last:c,point:r}}function aa(e){const{chart:t,fill:n,line:r}=e;if(xe(n))return function(e,t){const n=e.getDatasetMeta(t);return n&&e.isDatasetVisible(t)?n.dataset:null}(t,n);if("stack"===n)return function(e){const{scale:t,index:n,line:r}=e,i=[],o=r.segments,a=r.points,s=function(e,t){const n=[],r=e.getMatchingVisibleMetas("line");for(let i=0;i<r.length;i++){const e=r[i];if(e.index===t)break;e.hidden||n.unshift(e.dataset)}return n}(t,n);s.push(sa({x:null,y:t.bottom},r));for(let c=0;c<o.length;c++){const e=o[c];for(let t=e.start;t<=e.end;t++)ia(i,a[t],s)}return new $o({points:i,options:{}})}(e);if("shape"===n)return!0;const i=na(e);return i instanceof ta?i:sa(i,r)}function sa(e,t){let n=[],r=!1;return be(e)?(r=!0,n=e):n=function(e,t){const{x:n=null,y:r=null}=e||{},i=t.points,o=[];return t.segments.forEach((({start:e,end:t})=>{t=ra(e,t,i);const a=i[e],s=i[t];null!==r?(o.push({x:a.x,y:r}),o.push({x:s.x,y:r})):null!==n&&(o.push({x:n,y:a.y}),o.push({x:n,y:s.y}))})),o}(e,t),n.length?new $o({points:n,options:{tension:0},_loop:r,_fullLoop:r}):null}function ca(e,t,n){let r=e[t].fill;const i=[t];let o;if(!n)return r;for(;!1!==r&&-1===i.indexOf(r);){if(!xe(r))return r;if(o=e[r],!o)return!1;if(o.visible)return r;i.push(r),r=o.fill}return!1}function la(e,t,n){e.beginPath(),t.path(e),e.lineTo(t.last().x,n),e.lineTo(t.first().x,n),e.closePath(),e.clip()}function ua(e,t,n,r){if(r)return;let i=t[e],o=n[e];return"angle"===e&&(i=at(i),o=at(o)),{property:e,start:i,end:o}}function da(e,t,n,r){return e&&t?r(e[n],t[n]):e?e[n]:t?t[n]:0}function fa(e,t,n){const{top:r,bottom:i}=t.chart.chartArea,{property:o,start:a,end:s}=n||{};"x"===o&&(e.beginPath(),e.rect(a,r,s-a,i-r),e.clip())}function ha(e,t,n,r){const i=t.interpolate(n,r);i&&e.lineTo(i.x,i.y)}function pa(e,t){const{line:n,target:r,property:i,color:o,scale:a}=t,s=function(e,t,n){const r=e.segments,i=e.points,o=t.points,a=[];for(const s of r){let{start:e,end:r}=s;r=ra(e,r,i);const c=ua(n,i[e],i[r],s.loop);if(!t.segments){a.push({source:s,target:c,start:i[e],end:i[r]});continue}const l=br(t,c);for(const t of l){const e=ua(n,o[t.start],o[t.end],t.loop),r=vr(s,i,e);for(const i of r)a.push({source:i,target:t,start:{[n]:da(c,e,"start",Math.max)},end:{[n]:da(c,e,"end",Math.min)}})}}return a}(n,r,i);for(const{source:c,target:l,start:u,end:d}of s){const{style:{backgroundColor:t=o}={}}=c,s=!0!==r;e.save(),e.fillStyle=t,fa(e,a,s&&ua(i,u,d)),e.beginPath();const f=!!n.pathSegment(e,c);let h;if(s){f?e.closePath():ha(e,r,d,i);const t=!!r.pathSegment(e,l,{move:f,reverse:!0});h=f&&t,h||ha(e,r,u,i)}
vendor: 5,315 bytes, line 1
1e.closePath(),e.fill(h?"evenodd":"nonzero"),e.restore()}}function ma(e,t,n){const r=aa(t),{line:i,scale:o,axis:a}=t,s=i.options,c=s.fill,l=s.backgroundColor,{above:u=l,below:d=l}=c||{};r&&i.points.length&&(sn(e,n),function(e,t){const{line:n,target:r,above:i,below:o,area:a,scale:s}=t,c=n._loop?"angle":t.axis;e.save(),"x"===c&&o!==i&&(la(e,r,a.top),pa(e,{line:n,target:r,color:i,scale:s,property:c}),e.restore(),e.save(),la(e,r,a.bottom)),pa(e,{line:n,target:r,color:o,scale:s,property:c}),e.restore()}(e,{line:i,target:r,above:u,below:d,area:n,scale:o,axis:a}),cn(e))}var ga={id:"filler",afterDatasetsUpdate(e,t,n){const r=(e.data.datasets||[]).length,i=[];let o,a,s,c;for(a=0;a<r;++a)o=e.getDatasetMeta(a),s=o.dataset,c=null,s&&s.options&&s instanceof $o&&(c={visible:e.isDatasetVisible(a),index:a,fill:ea(s,a,r),chart:e,axis:o.controller.options.indexAxis,scale:o.vScale,line:s}),o.$filler=c,i.push(c);for(a=0;a<r;++a)c=i[a],c&&!1!==c.fill&&(c.fill=ca(i,a,n.propagate))},beforeDraw(e,t,n){const r="beforeDraw"===n.drawTime,i=e.getSortedVisibleDatasetMetas(),o=e.chartArea;for(let a=i.length-1;a>=0;--a){const t=i[a].$filler;t&&(t.line.updateControlPoints(o,t.axis),r&&ma(e.ctx,t,o))}},beforeDatasetsDraw(e,t,n){if("beforeDatasetsDraw"!==n.drawTime)return;const r=e.getSortedVisibleDatasetMetas();for(let i=r.length-1;i>=0;--i){const t=r[i].$filler;t&&ma(e.ctx,t,e.chartArea)}},beforeDatasetDraw(e,t,n){const r=t.meta.$filler;r&&!1!==r.fill&&"beforeDatasetDraw"===n.drawTime&&ma(e.ctx,r,e.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const ya=(e,t)=>{let{boxHeight:n=t,boxWidth:r=t}=e;return e.usePointStyle&&(n=Math.min(n,t),r=Math.min(r,t)),{boxWidth:r,boxHeight:n,itemHeight:Math.max(t,n)}};class va extends Hi{constructor(e){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,t,n){this.maxWidth=e,this.maxHeight=t,this._margins=n,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const e=this.options.labels||{};let t=Oe(e.generateLabels,[this.chart],this)||[];e.filter&&(t=t.filter((t=>e.filter(t,this.chart.data)))),e.sort&&(t=t.sort(((t,n)=>e.sort(t,n,this.chart.data)))),this.options.reverse&&t.reverse(),this.legendItems=t}fit(){const{options:e,ctx:t}=this;if(!e.display)return void(this.width=this.height=0);const n=e.labels,r=xn(n.font),i=r.size,o=this._computeTitleHeight(),{boxWidth:a,itemHeight:s}=ya(n,i);let c,l;t.font=r.string,this.isHorizontal()?(c=this.maxWidth,l=this._fitRows(o,i,a,s)+10):(l=this.maxHeight,c=this._fitCols(o,i,a,s)+10),this.width=Math.min(c,e.maxWidth||this.maxWidth),this.height=Math.min(l,e.maxHeight||this.maxHeight)}_fitRows(e,t,n,r){const{ctx:i,maxWidth:o,options:{labels:{padding:a}}}=this,s=this.legendHitBoxes=[],c=this.lineWidths=[0],l=r+a;let u=e;i.textAlign="left",i.textBaseline="middle";let d=-1,f=-l;return this.legendItems.forEach(((e,h)=>{const p=n+t/2+i.measureText(e.text).width;(0===h||c[c.length-1]+p+2*a>o)&&(u+=l,c[c.length-(h>0?0:1)]=0,f+=l,d++),s[h]={left:0,top:f,row:d,width:p,height:r},c[c.length-1]+=p+a})),u}_fitCols(e,t,n,r){const{ctx:i,maxHeight:o,options:{labels:{padding:a}}}=this,s=this.legendHitBoxes=[],c=this.columnSizes=[],l=o-e;let u=a,d=0,f=0,h=0,p=0;return this.legendItems.forEach(((e,o)=>{const m=n+t/2+i.measureText(e.text).width;o>0&&f+r+2*a>l&&(u+=d+a,c.push({width:d,height:f}),h+=d+a,p++,d=f=0),s[o]={left:h,top:f,col:p,width:m,height:r},d=Math.max(d,m),f+=r+a})),u+=d,c.push({width:d,height:f}),u}adjustHitBoxes(){if(!this.options.display)return;const e=this._computeTitleHeight(),{legendHitBoxes:t,options:{align:n,labels:{padding:r},rtl:i}}=this,o=hr(i,this.left,this.width);if(this.isHorizontal()){let i=0,a=me(n,this.left+r,this.right-this.lineWidths[i]);for(const s of t)i!==s.row&&(i=s.row,a=me(n,this.left+r,this.right-this.lineWidths[i])),s.top+=this.top+e+r,s.left=o.leftForLtr(o.x(a),s.width),a+=s.width+r}else{let i=0,a=me(n,this.top+e+r,this.bottom-this.columnSizes[i].height);for(const s of t)s.col!==i&&(i=s.col,a=me(n,this.top+e+r,this.bottom-this.columnSizes[i].height)),s.top=a,s.left+=this.left+r,s.left=o.leftForLtr(o.x(s.left),s.width),a+=s.height+r}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){if(this.options.display){const e=this.ctx;sn(e,this),this._draw(),cn(e)}}_draw(){const{options:e,columnSizes:t,lineWidths:n,ctx:r}=this,{align:i,labels:o}=e,a=Qt.color,s=hr(e.rtl,this.left,this.width),c=xn(o.font),{color:l,padding:u}=o,d=c.size,f=d/2;let h;this.drawTitle(),r.textAlign=s.textAlign("left"),r.textBaseline="middle",r.lineWidth=.5,r.font=c.string;const{boxWidth:p,boxHeight:m,itemHeight:g}=ya(o,d),y=this.isHorizontal(),v=this._computeTitleHeight();h=y?{x:me(i,this.left+u,this.right-n[0]),y:this.top+u+v,line:0}
vendor: 4,278 bytes, line 1
1:{x:this.left+u,y:me(i,this.top+v+u,this.bottom-t[0].height),line:0},pr(this.ctx,e.textDirection);const b=g+u;this.legendItems.forEach(((_,x)=>{r.strokeStyle=_.fontColor||l,r.fillStyle=_.fontColor||l;const w=r.measureText(_.text).width,S=s.textAlign(_.textAlign||(_.textAlign=o.textAlign)),E=p+f+w;let O=h.x,k=h.y;s.setWidth(this.width),y?x>0&&O+E+u>this.right&&(k=h.y+=b,h.line++,O=h.x=me(i,this.left+u,this.right-n[h.line])):x>0&&k+b>this.bottom&&(O=h.x=O+t[h.line].width+u,h.line++,k=h.y=me(i,this.top+v+u,this.bottom-t[h.line].height));!function(e,t,n){if(isNaN(p)||p<=0||isNaN(m)||m<0)return;r.save();const i=Se(n.lineWidth,1);if(r.fillStyle=Se(n.fillStyle,a),r.lineCap=Se(n.lineCap,"butt"),r.lineDashOffset=Se(n.lineDashOffset,0),r.lineJoin=Se(n.lineJoin,"miter"),r.lineWidth=i,r.strokeStyle=Se(n.strokeStyle,a),r.setLineDash(Se(n.lineDash,[])),o.usePointStyle){const o={radius:p*Math.SQRT2/2,pointStyle:n.pointStyle,rotation:n.rotation,borderWidth:i},a=s.xPlus(e,p/2);on(r,o,a,t+f)}else{const o=t+Math.max((d-m)/2,0),a=s.leftForLtr(e,p),c=bn(n.borderRadius);r.beginPath(),Object.values(c).some((e=>0!==e))?hn(r,{x:a,y:o,w:p,h:m,radius:c}):r.rect(a,o,p,m),r.fill(),0!==i&&r.stroke()}r.restore()}(s.x(O),k,_),O=((e,t,n,r)=>e===(r?"left":"right")?n:"center"===e?(t+n)/2:t)(S,O+p+f,y?O+E:this.right,e.rtl),function(e,t,n){dn(r,n.text,e,t+g/2,c,{strikethrough:n.hidden,textAlign:s.textAlign(n.textAlign)})}(s.x(O),k,_),y?h.x+=E+u:h.y+=b})),mr(this.ctx,e.textDirection)}drawTitle(){const e=this.options,t=e.title,n=xn(t.font),r=_n(t.padding);if(!t.display)return;const i=hr(e.rtl,this.left,this.width),o=this.ctx,a=t.position,s=n.size/2,c=r.top+s;let l,u=this.left,d=this.width;if(this.isHorizontal())d=Math.max(...this.lineWidths),l=this.top+c,u=me(e.align,u,this.right-d);else{const t=this.columnSizes.reduce(((e,t)=>Math.max(e,t.height)),0);l=c+me(e.align,this.top,this.bottom-t-e.labels.padding-this._computeTitleHeight())}const f=me(a,u,u+d);o.textAlign=i.textAlign(pe(a)),o.textBaseline="middle",o.strokeStyle=t.color,o.fillStyle=t.color,o.font=n.string,dn(o,t.text,f,l,n)}_computeTitleHeight(){const e=this.options.title,t=xn(e.font),n=_n(e.padding);return e.display?t.lineHeight+n.height:0}_getLegendItemAt(e,t){let n,r,i;if(lt(e,this.left,this.right)&<(t,this.top,this.bottom))for(i=this.legendHitBoxes,n=0;n<i.length;++n)if(r=i[n],lt(e,r.left,r.left+r.width)&<(t,r.top,r.top+r.height))return this.legendItems[n];return null}handleEvent(e){const t=this.options;if(!function(e,t){if("mousemove"===e&&(t.onHover||t.onLeave))return!0;if(t.onClick&&("click"===e||"mouseup"===e))return!0;return!1}(e.type,t))return;const n=this._getLegendItemAt(e.x,e.y);if("mousemove"===e.type){const r=this._hoveredItem,i=((e,t)=>null!==e&&null!==t&&e.datasetIndex===t.datasetIndex&&e.index===t.index)(r,n);r&&!i&&Oe(t.onLeave,[e,r,this],this),this._hoveredItem=n,n&&!i&&Oe(t.onHover,[e,n,this],this)}else n&&Oe(t.onClick,[e,n,this],this)}}var ba={id:"legend",_element:va,start(e,t,n){const r=e.legend=new va({ctx:e.ctx,options:n,chart:e});ki.configure(e,r,n),ki.addBox(e,r)},stop(e){ki.removeBox(e,e.legend),delete e.legend},beforeUpdate(e,t,n){const r=e.legend;ki.configure(e,r,n),r.options=n},afterUpdate(e){const t=e.legend;t.buildLabels(),t.adjustHitBoxes()},afterEvent(e,t){t.replay||e.legend.handleEvent(t.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(e,t,n){const r=t.datasetIndex,i=n.chart;i.isDatasetVisible(r)?(i.hide(r),t.hidden=!0):(i.show(r),t.hidden=!1)},onHover:null,onLeave:null,labels:{color:e=>e.chart.options.color,boxWidth:40,padding:10,generateLabels(e){const t=e.data.datasets,{labels:{usePointStyle:n,pointStyle:r,textAlign:i,color:o}}=e.legend.options;return e._getSortedDatasetMetas().map((e=>{const a=e.controller.getStyle(n?0:void 0),s=_n(a.borderWidth);return{text:t[e.index].label,fillStyle:a.backgroundColor,fontColor:o,hidden:!e.visible,lineCap:a.borderCapStyle,lineDash:a.borderDash,lineDashOffset:a.borderDashOffset,lineJoin:a.borderJoinStyle,lineWidth:(s.width+s.height)/4,strokeStyle:a.borderColor,pointStyle:r||a.pointStyle,rotation:a.rotation,textAlign:i||a.textAlign,borderRadius:0,datasetIndex:e.index}}),this)}},title:{color:e=>e.chart.options.color,display:!1,position:"center",text:""}}
vendor: 3,729 bytes, line 1
1,descriptors:{_scriptable:e=>!e.startsWith("on"),labels:{_scriptable:e=>!["generateLabels","filter","sort"].includes(e)}}};class _a extends Hi{constructor(e){super(),this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,t){const n=this.options;if(this.left=0,this.top=0,!n.display)return void(this.width=this.height=this.right=this.bottom=0);this.width=this.right=e,this.height=this.bottom=t;const r=be(n.text)?n.text.length:1;this._padding=_n(n.padding);const i=r*xn(n.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=i:this.width=i}isHorizontal(){const e=this.options.position;return"top"===e||"bottom"===e}_drawArgs(e){const{top:t,left:n,bottom:r,right:i,options:o}=this,a=o.align;let s,c,l,u=0;return this.isHorizontal()?(c=me(a,n,i),l=t+e,s=i-n):("left"===o.position?(c=n+e,l=me(a,r,t),u=-.5*Be):(c=i-e,l=me(a,t,r),u=.5*Be),s=r-t),{titleX:c,titleY:l,maxWidth:s,rotation:u}}draw(){const e=this.ctx,t=this.options;if(!t.display)return;const n=xn(t.font),r=n.lineHeight/2+this._padding.top,{titleX:i,titleY:o,maxWidth:a,rotation:s}=this._drawArgs(r);dn(e,t.text,0,0,n,{color:t.color,maxWidth:a,rotation:s,textAlign:pe(t.align),textBaseline:"middle",translation:[i,o]})}}var xa={id:"title",_element:_a,start(e,t,n){!function(e,t){const n=new _a({ctx:e.ctx,options:t,chart:e});ki.configure(e,n,t),ki.addBox(e,n),e.titleBlock=n}(e,n)},stop(e){const t=e.titleBlock;ki.removeBox(e,t),delete e.titleBlock},beforeUpdate(e,t,n){const r=e.titleBlock;ki.configure(e,r,n),r.options=n},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};new WeakMap;const wa={average(e){if(!e.length)return!1;let t,n,r=0,i=0,o=0;for(t=0,n=e.length;t<n;++t){const n=e[t].element;if(n&&n.hasValue()){const e=n.tooltipPosition();r+=e.x,i+=e.y,++o}}return{x:r/o,y:i/o}},nearest(e,t){if(!e.length)return!1;let n,r,i,o=t.x,a=t.y,s=Number.POSITIVE_INFINITY;for(n=0,r=e.length;n<r;++n){const r=e[n].element;if(r&&r.hasValue()){const e=it(t,r.getCenterPoint());e<s&&(s=e,i=r)}}if(i){const e=i.tooltipPosition();o=e.x,a=e.y}return{x:o,y:a}}};function Sa(e,t){return t&&(be(t)?Array.prototype.push.apply(e,t):e.push(t)),e}function Ea(e){return("string"===typeof e||e instanceof String)&&e.indexOf("\n")>-1?e.split("\n"):e}function Oa(e,t){const{element:n,datasetIndex:r,index:i}=t,o=e.getDatasetMeta(r).controller,{label:a,value:s}=o.getLabelAndValue(i);return{chart:e,label:a,parsed:o.getParsed(i),raw:e.data.datasets[r].data[i],formattedValue:s,dataset:o.getDataset(),dataIndex:i,datasetIndex:r,element:n}}function ka(e,t){const n=e.chart.ctx,{body:r,footer:i,title:o}=e,{boxWidth:a,boxHeight:s}=t,c=xn(t.bodyFont),l=xn(t.titleFont),u=xn(t.footerFont),d=o.length,f=i.length,h=r.length,p=_n(t.padding);let m=p.height,g=0,y=r.reduce(((e,t)=>e+t.before.length+t.lines.length+t.after.length),0);if(y+=e.beforeBody.length+e.afterBody.length,d&&(m+=d*l.lineHeight+(d-1)*t.titleSpacing+t.titleMarginBottom),y){m+=h*(t.displayColors?Math.max(s,c.lineHeight):c.lineHeight)+(y-h)*c.lineHeight+(y-1)*t.bodySpacing}f&&(m+=t.footerMarginTop+f*u.lineHeight+(f-1)*t.footerSpacing);let v=0;const b=function(e){g=Math.max(g,n.measureText(e).width+v)};return n.save(),n.font=l.string,ke(e.title,b),n.font=c.string,ke(e.beforeBody.concat(e.afterBody),b),v=t.displayColors?a+2+t.boxPadding:0,ke(r,(e=>{ke(e.before,b),ke(e.lines,b),ke(e.after,b)})),v=0,n.font=u.string,ke(e.footer,b),n.restore(),g+=p.width,{width:g,height:m}}
vendor: 9,130 bytes, line 1
1function Ta(e,t,n,r){const{x:i,width:o}=n,{width:a,chartArea:{left:s,right:c}}=e;let l="center";return"center"===r?l=i<=(s+c)/2?"left":"right":i<=o/2?l="left":i>=a-o/2&&(l="right"),function(e,t,n,r){const{x:i,width:o}=r,a=n.caretSize+n.caretPadding;return"left"===e&&i+o+a>t.width||"right"===e&&i-o-a<0||void 0}(l,e,t,n)&&(l="center"),l}function Pa(e,t,n){const r=n.yAlign||t.yAlign||function(e,t){const{y:n,height:r}=t;return n<r/2?"top":n>e.height-r/2?"bottom":"center"}(e,n);return{xAlign:n.xAlign||t.xAlign||Ta(e,t,n,r),yAlign:r}}function ja(e,t,n,r){const{caretSize:i,caretPadding:o,cornerRadius:a}=e,{xAlign:s,yAlign:c}=n,l=i+o,{topLeft:u,topRight:d,bottomLeft:f,bottomRight:h}=bn(a);let p=function(e,t){let{x:n,width:r}=e;return"right"===t?n-=r:"center"===t&&(n-=r/2),n}(t,s);const m=function(e,t,n){let{y:r,height:i}=e;return"top"===t?r+=n:r-="bottom"===t?i+n:i/2,r}(t,c,l);return"center"===c?"left"===s?p+=l:"right"===s&&(p-=l):"left"===s?p-=Math.max(u,f)+i:"right"===s&&(p+=Math.max(d,h)+i),{x:ct(p,0,r.width-t.width),y:ct(m,0,r.height-t.height)}}function Da(e,t,n){const r=_n(n.padding);return"center"===t?e.x+e.width/2:"right"===t?e.x+e.width-r.right:e.x+r.left}function Ca(e){return Sa([],Ea(e))}function Ma(e,t){const n=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return n?e.override(n):e}class Ra extends Hi{constructor(e){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=e.chart||e._chart,this._chart=this.chart,this.options=e.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(e){this.options=e,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const e=this._cachedAnimations;if(e)return e;const t=this.chart,n=this.options.setContext(this.getContext()),r=n.enabled&&t.options.animation&&n.animations,i=new Pr(this.chart,r);return r._cacheable&&(this._cachedAnimations=Object.freeze(i)),i}getContext(){return this.$context||(this.$context=(e=this.chart.getContext(),t=this,n=this._tooltipItems,Sn(e,{tooltip:t,tooltipItems:n,type:"tooltip"})));var e,t,n}getTitle(e,t){const{callbacks:n}=t,r=n.beforeTitle.apply(this,[e]),i=n.title.apply(this,[e]),o=n.afterTitle.apply(this,[e]);let a=[];return a=Sa(a,Ea(r)),a=Sa(a,Ea(i)),a=Sa(a,Ea(o)),a}getBeforeBody(e,t){return Ca(t.callbacks.beforeBody.apply(this,[e]))}getBody(e,t){const{callbacks:n}=t,r=[];return ke(e,(e=>{const t={before:[],lines:[],after:[]},i=Ma(n,e);Sa(t.before,Ea(i.beforeLabel.call(this,e))),Sa(t.lines,i.label.call(this,e)),Sa(t.after,Ea(i.afterLabel.call(this,e))),r.push(t)})),r}getAfterBody(e,t){return Ca(t.callbacks.afterBody.apply(this,[e]))}getFooter(e,t){const{callbacks:n}=t,r=n.beforeFooter.apply(this,[e]),i=n.footer.apply(this,[e]),o=n.afterFooter.apply(this,[e]);let a=[];return a=Sa(a,Ea(r)),a=Sa(a,Ea(i)),a=Sa(a,Ea(o)),a}_createItems(e){const t=this._active,n=this.chart.data,r=[],i=[],o=[];let a,s,c=[];for(a=0,s=t.length;a<s;++a)c.push(Oa(this.chart,t[a]));return e.filter&&(c=c.filter(((t,r,i)=>e.filter(t,r,i,n)))),e.itemSort&&(c=c.sort(((t,r)=>e.itemSort(t,r,n)))),ke(c,(t=>{const n=Ma(e.callbacks,t);r.push(n.labelColor.call(this,t)),i.push(n.labelPointStyle.call(this,t)),o.push(n.labelTextColor.call(this,t))})),this.labelColors=r,this.labelPointStyles=i,this.labelTextColors=o,this.dataPoints=c,c}update(e,t){const n=this.options.setContext(this.getContext()),r=this._active;let i,o=[];if(r.length){const e=wa[n.position].call(this,r,this._eventPosition);o=this._createItems(n),this.title=this.getTitle(o,n),this.beforeBody=this.getBeforeBody(o,n),this.body=this.getBody(o,n),this.afterBody=this.getAfterBody(o,n),this.footer=this.getFooter(o,n);const t=this._size=ka(this,n),a=Object.assign({},e,t),s=Pa(this.chart,n,a),c=ja(n,a,s,this.chart);this.xAlign=s.xAlign,this.yAlign=s.yAlign,i={opacity:1,x:c.x,y:c.y,width:t.width,height:t.height,caretX:e.x,caretY:e.y}}else 0!==this.opacity&&(i={opacity:0});this._tooltipItems=o,this.$context=void 0,i&&this._resolveAnimations().update(this,i),e&&n.external&&n.external.call(this,{chart:this.chart,tooltip:this,replay:t})}drawCaret(e,t,n,r){const i=this.getCaretPosition(e,n,r);t.lineTo(i.x1,i.y1),t.lineTo(i.x2,i.y2),t.lineTo(i.x3,i.y3)}getCaretPosition(e,t,n){const{xAlign:r,yAlign:i}=this,{caretSize:o,cornerRadius:a}=n,{topLeft:s,topRight:c,bottomLeft:l,bottomRight:u}=bn(a),{x:d,y:f}=e,{width:h,height:p}=t;let m,g,y,v,b,_;return"center"===i?(b=f+p/2,"left"===r?(m=d,g=m-o,v=b+o,_=b-o):(m=d+h,g=m+o,v=b-o,_=b+o),y=m):(g="left"===r?d+Math.max(s,l)+o:"right"===r?d+h-Math.max(c,u)-o:this.caretX,"top"===i?(v=f,b=v-o,m=g-o,y=g+o):(v=f+p,b=v+o,m=g+o,y=g-o),_=v),{x1:m,x2:g,x3:y,y1:v,y2:b,y3:_}}drawTitle(e,t,n){const r=this.title,i=r.length;let o,a,s;if(i){const c=hr(n.rtl,this.x,this.width);for(e.x=Da(this,n.titleAlign,n),t.textAlign=c.textAlign(n.titleAlign),t.textBaseline="middle",o=xn(n.titleFont),a=n.titleSpacing,t.fillStyle=n.titleColor,t.font=o.string,s=0;s<i;++s)t.fillText(r[s],c.x(e.x),e.y+o.lineHeight/2),e.y+=o.lineHeight+a,s+1===i&&(e.y+=n.titleMarginBottom-a)}}_drawColorBox(e,t,n,r,i){const o=this.labelColors[n],a=this.labelPointStyles[n],{boxHeight:s,boxWidth:c,boxPadding:l}=i,u=xn(i.bodyFont),d=Da(this,"left",i),f=r.x(d),h=s<u.lineHeight?(u.lineHeight-s)/2:0,p=t.y+h;if(i.usePointStyle){const t={radius:Math.min(c,s)/2,pointStyle:a.pointStyle,rotation:a.rotation,borderWidth:1},n=r.leftForLtr(f,c)+c/2,l=p+s/2;e.strokeStyle=i.multiKeyBackground,e.fillStyle=i.multiKeyBackground,on(e,t,n,l),e.strokeStyle=o.borderColor,e.fillStyle=o.backgroundColor,on(e,t,n,l)}else{e.lineWidth=o.borderWidth||1,e.strokeStyle=o.borderColor,e.setLineDash(o.borderDash||[]),e.lineDashOffset=o.borderDashOffset||0;const t=r.leftForLtr(f,c-l),n=r.leftForLtr(r.xPlus(f,1),c-l-2),a=bn(o.borderRadius);Object.values(a).some((e=>0!==e))?(e.beginPath(),e.fillStyle=i.multiKeyBackground,hn(e,{x:t,y:p,w:c,h:s,radius:a}),e.fill(),e.stroke(),e.fillStyle=o.backgroundColor,e.beginPath(),hn(e,{x:n,y:p+1,w:c-2,h:s-2,radius:a}),e.fill()):(e.fillStyle=i.multiKeyBackground,e.fillRect(t,p,c,s),e.strokeRect(t,p,c,s),e.fillStyle=o.backgroundColor,e.fillRect(n,p+1,c-2,s-2))}e.fillStyle=this.labelTextColors[n]}drawBody(e,t,n){const{body:r}=this,{bodySpacing:i,bodyAlign:o,displayColors:a,boxHeight:s,boxWidth:c,boxPadding:l}=n,u=xn(n.bodyFont);let d=u.lineHeight,f=0;const h=hr(n.rtl,this.x,this.width),p=function(n){t.fillText(n,h.x(e.x+f),e.y+d/2),e.y+=d+i},m=h.textAlign(o);let g,y,v,b,_,x,w;for(t.textAlign=o,t.textBaseline="middle",t.font=u.string,e.x=Da(this,m,n),t.fillStyle=n.bodyColor,ke(this.beforeBody,p),f=a&&"right"!==m?"center"===o?c/2+l:c+2+l:0,b=0,x=r.length;b<x;++b){for(g=r[b],y=this.labelTextColors[b],t.fillStyle=y,ke(g.before,p),v=g.lines,a&&v.length&&(this._drawColorBox(t,e,b,h,n),d=Math.max(u.lineHeight,s)),_=0,w=v.length;_<w;++_)p(v[_]),d=u.lineHeight;ke(g.after,p)}f=0,d=u.lineHeight,ke(this.afterBody,p),e.y-=i}drawFooter(e,t,n){const r=this.footer,i=r.length;let o,a;if(i){const s=hr(n.rtl,this.x,this.width);for(e.x=Da(this,n.footerAlign,n),e.y+=n.footerMarginTop,t.textAlign=s.textAlign(n.footerAlign),t.textBaseline="middle",o=xn(n.footerFont),t.fillStyle=n.footerColor,t.font=o.string,a=0;a<i;++a)t.fillText(r[a],s.x(e.x),e.y+o.lineHeight/2),e.y+=o.lineHeight+n.footerSpacing}}drawBackground(e,t,n,r){const{xAlign:i,yAlign:o}=this,{x:a,y:s}=e,{width:c,height:l}=n,{topLeft:u,topRight:d,bottomLeft:f,bottomRight:h}=bn(r.cornerRadius);t.fillStyle=r.backgroundColor,t.strokeStyle=r.borderColor,t.lineWidth=r.borderWidth,t.beginPath(),t.moveTo(a+u,s),"top"===o&&this.drawCaret(e,t,n,r),t.lineTo(a+c-d,s),t.quadraticCurveTo(a+c,s,a+c,s+d),"center"===o&&"right"===i&&this.drawCaret(e,t,n,r),t.lineTo(a+c,s+l-h),t.quadraticCurveTo(a+c,s+l,a+c-h,s+l),"bottom"===o&&this.drawCaret(e,t,n,r),t.lineTo(a+f,s+l),t.quadraticCurveTo(a,s+l,a,s+l-f),"center"===o&&"left"===i&&this.drawCaret(e,t,n,r),t.lineTo(a,s+u),t.quadraticCurveTo(a,s,a+u,s),t.closePath(),t.fill(),r.borderWidth>0&&t.stroke()}_updateAnimationTarget(e){const t=this.chart,n=this.$animations,r=n&&n.x,i=n&&n.y;if(r||i){const n=wa[e.position].call(this,this._active,this._eventPosition);if(!n)return;const o=this._size=ka(this,e),a=Object.assign({},n,this._size),s=Pa(t,e,a),c=ja(e,a,s,t);r._to===c.x&&i._to===c.y||(this.xAlign=s.xAlign,this.yAlign=s.yAlign,this.width=o.width,this.height=o.height,this.caretX=n.x,this.caretY=n.y,this._resolveAnimations().update(this,c))}}draw(e){const t=this.options.setContext(this.getContext());let n=this.opacity;if(!n)return;this._updateAnimationTarget(t);const r={width:this.width,height:this.height},i={x:this.x,y:this.y};n=Math.abs(n)<.001?0:n;const o=_n(t.padding),a=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;
vendor: 15,368 bytes, line 1
1t.enabled&&a&&(e.save(),e.globalAlpha=n,this.drawBackground(i,e,r,t),pr(e,t.textDirection),i.y+=o.top,this.drawTitle(i,e,t),this.drawBody(i,e,t),this.drawFooter(i,e,t),mr(e,t.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,t){const n=this._active,r=e.map((({datasetIndex:e,index:t})=>{const n=this.chart.getDatasetMeta(e);if(!n)throw new Error("Cannot find a dataset at index "+e);return{datasetIndex:e,element:n.data[t],index:t}})),i=!Te(n,r),o=this._positionChanged(r,t);(i||o)&&(this._active=r,this._eventPosition=t,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(e,t,n=!0){if(t&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const r=this.options,i=this._active||[],o=this._getActiveElements(e,i,t,n),a=this._positionChanged(o,e),s=t||!Te(o,i)||a;return s&&(this._active=o,(r.enabled||r.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,t))),s}_getActiveElements(e,t,n,r){const i=this.options;if("mouseout"===e.type)return[];if(!r)return t;const o=this.chart.getElementsAtEventForMode(e,i.mode,i,n);return i.reverse&&o.reverse(),o}_positionChanged(e,t){const{caretX:n,caretY:r,options:i}=this,o=wa[i.position].call(this,e,t);return!1!==o&&(n!==o.x||r!==o.y)}}Ra.positioners=wa;var Na={id:"tooltip",_element:Ra,positioners:wa,afterInit(e,t,n){n&&(e.tooltip=new Ra({chart:e,options:n}))},beforeUpdate(e,t,n){e.tooltip&&e.tooltip.initialize(n)},reset(e,t,n){e.tooltip&&e.tooltip.initialize(n)},afterDraw(e){const t=e.tooltip,n={tooltip:t};!1!==e.notifyPlugins("beforeTooltipDraw",n)&&(t&&t.draw(e.ctx),e.notifyPlugins("afterTooltipDraw",n))},afterEvent(e,t){if(e.tooltip){const n=t.replay;e.tooltip.handleEvent(t.event,n,t.inChartArea)&&(t.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(e,t)=>t.bodyFont.size,boxWidth:(e,t)=>t.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:{beforeTitle:ge,title(e){if(e.length>0){const t=e[0],n=t.chart.data.labels,r=n?n.length:0;if(this&&this.options&&"dataset"===this.options.mode)return t.dataset.label||"";if(t.label)return t.label;if(r>0&&t.dataIndex<r)return n[t.dataIndex]}return""},afterTitle:ge,beforeBody:ge,beforeLabel:ge,label(e){if(this&&this.options&&"dataset"===this.options.mode)return e.label+": "+e.formattedValue||e.formattedValue;let t=e.dataset.label||"";t&&(t+=": ");const n=e.formattedValue;return ve(n)||(t+=n),t},labelColor(e){const t=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{borderColor:t.borderColor,backgroundColor:t.backgroundColor,borderWidth:t.borderWidth,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(e){const t=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{pointStyle:t.pointStyle,rotation:t.rotation}},afterLabel:ge,afterBody:ge,beforeFooter:ge,footer:ge,afterFooter:ge}},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:e=>"filter"!==e&&"itemSort"!==e&&"external"!==e,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};function Aa(e,t,n,r){const i=e.indexOf(t);if(-1===i)return((e,t,n,r)=>("string"===typeof t?(n=e.push(t)-1,r.unshift({index:n,label:t})):isNaN(t)&&(n=null),n))(e,t,n,r);return i!==e.lastIndexOf(t)?n:i}class Ia extends eo{constructor(e){super(e),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(e){const t=this._addedLabels;if(t.length){const e=this.getLabels();for(const{index:n,label:r}of t)e[n]===r&&e.splice(n,1);this._addedLabels=[]}super.init(e)}parse(e,t){if(ve(e))return null;const n=this.getLabels();return((e,t)=>null===e?null:ct(Math.round(e),0,t))(t=isFinite(t)&&n[t]===e?t:Aa(n,e,Se(t,e),this._addedLabels),n.length-1)}determineDataLimits(){const{minDefined:e,maxDefined:t}=this.getUserBounds();let{min:n,max:r}=this.getMinMax(!0);"ticks"===this.options.bounds&&(e||(n=0),t||(r=this.getLabels().length-1)),this.min=n,this.max=r}buildTicks(){const e=this.min,t=this.max,n=this.options.offset,r=[];let i=this.getLabels();i=0===e&&t===i.length-1?i:i.slice(e,t+1),this._valueRange=Math.max(i.length-(n?0:1),1),this._startValue=this.min-(n?.5:0);for(let o=e;o<=t;o++)r.push({value:o});return r}getLabelForValue(e){const t=this.getLabels();return e>=0&&e<t.length?t[e]:e}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(e){return"number"!==typeof e&&(e=this.parse(e)),null===e?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getPixelForTick(e){const t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e].value)}getValueForPixel(e){return Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange)}getBasePixel(){return this.bottom}}function La(e,t){const n=[],{bounds:r,step:i,min:o,max:a,precision:s,count:c,maxTicks:l,maxDigits:u,includeBounds:d}=e,f=i||1,h=l-1,{min:p,max:m}=t,g=!ve(o),y=!ve(a),v=!ve(c),b=(m-p)/(u+1);let _,x,w,S,E=Xe((m-p)/h/f)*f;if(E<1e-14&&!g&&!y)return[{value:p},{value:m}];S=Math.ceil(m/E)-Math.floor(p/E),S>h&&(E=Xe(S*E/h/f)*f),ve(s)||(_=Math.pow(10,s),E=Math.ceil(E*_)/_),"ticks"===r?(x=Math.floor(p/E)*E,w=Math.ceil(m/E)*E):(x=p,w=m),g&&y&&i&&function(e,t){const n=Math.round(e);return n-t<=e&&n+t>=e}((a-o)/i,E/1e3)?(S=Math.round(Math.min((a-o)/E,l)),E=(a-o)/S,x=o,w=a):v?(x=g?o:x,w=y?a:w,S=c-1,E=(w-x)/S):(S=(w-x)/E,S=Je(S,Math.round(S),E/1e3)?Math.round(S):Math.ceil(S));const O=Math.max(nt(E),nt(x));_=Math.pow(10,ve(s)?O:s),x=Math.round(x*_)/_,w=Math.round(w*_)/_;let k=0;for(g&&(d&&x!==o?(n.push({value:o}),x<o&&k++,Je(Math.round((x+k*E)*_)/_,o,Ua(o,b,e))&&k++):x<o&&k++);k<S;++k)n.push({value:Math.round((x+k*E)*_)/_});return y&&d&&w!==a?n.length&&Je(n[n.length-1].value,a,Ua(a,b,e))?n[n.length-1].value=a:n.push({value:a}):y&&w!==a||n.push({value:w}),n}function Ua(e,t,{horizontal:n,minRotation:r}){const i=et(r),o=(n?Math.sin(i):Math.cos(i))||.001,a=.75*t*(""+e).length;return Math.min(t/o,a)}Ia.id="category",Ia.defaults={ticks:{callback:Ia.prototype.getLabelForValue}};class Va extends eo{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(e,t){return ve(e)||("number"===typeof e||e instanceof Number)&&!isFinite(+e)?null:+e}handleTickRangeOptions(){const{beginAtZero:e}=this.options,{minDefined:t,maxDefined:n}=this.getUserBounds();let{min:r,max:i}=this;const o=e=>r=t?r:e,a=e=>i=n?i:e;if(e){const e=Ke(r),t=Ke(i);e<0&&t<0?a(0):e>0&&t>0&&o(0)}if(r===i){let t=1;(i>=Number.MAX_SAFE_INTEGER||r<=Number.MIN_SAFE_INTEGER)&&(t=Math.abs(.05*i)),a(i+t),e||o(r-t)}this.min=r,this.max=i}getTickLimit(){const e=this.options.ticks;let t,{maxTicksLimit:n,stepSize:r}=e;return r?(t=Math.ceil(this.max/r)-Math.floor(this.min/r)+1,t>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${r} would result generating up to ${t} ticks. Limiting to 1000.`),t=1e3)):(t=this.computeTickLimit(),n=n||11),n&&(t=Math.min(n,t)),t}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const e=this.options,t=e.ticks;let n=this.getTickLimit();n=Math.max(2,n);const r=La({maxTicks:n,bounds:e.bounds,min:e.min,max:e.max,precision:t.precision,step:t.stepSize,count:t.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:t.minRotation||0,includeBounds:!1!==t.includeBounds},this._range||this);return"ticks"===e.bounds&&Qe(r,this,"value"),e.reverse?(r.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),r}configure(){const e=this.ticks;let t=this.min,n=this.max;if(super.configure(),this.options.offset&&e.length){const r=(n-t)/Math.max(e.length-1,1)/2;t-=r,n+=r}this._startValue=t,this._endValue=n,this._valueRange=n-t}getLabelForValue(e){return fr(e,this.chart.options.locale,this.options.ticks.format)}}class Ba extends Va{determineDataLimits(){const{min:e,max:t}=this.getMinMax(!0);this.min=xe(e)?e:0,this.max=xe(t)?t:1,this.handleTickRangeOptions()}computeTickLimit(){const e=this.isHorizontal(),t=e?this.width:this.height,n=et(this.options.ticks.minRotation),r=(e?Math.sin(n):Math.cos(n))||.001,i=this._resolveTickFontOptions(0);return Math.ceil(t/Math.min(40,i.lineHeight/r))}getPixelForValue(e){return null===e?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getValueForPixel(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange}}function za(e){return 1===e/Math.pow(10,Math.floor(qe(e)))}Ba.id="linear",Ba.defaults={ticks:{callback:Yi.formatters.numeric}};class Fa extends eo{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(e,t){const n=Va.prototype.parse.apply(this,[e,t]);if(0!==n)return xe(n)&&n>0?n:null;this._zero=!0}determineDataLimits(){const{min:e,max:t}=this.getMinMax(!0);this.min=xe(e)?Math.max(0,e):null,this.max=xe(t)?Math.max(0,t):null,this.options.beginAtZero&&(this._zero=!0),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:e,maxDefined:t}=this.getUserBounds();let n=this.min,r=this.max;const i=t=>n=e?n:t,o=e=>r=t?r:e,a=(e,t)=>Math.pow(10,Math.floor(qe(e))+t);n===r&&(n<=0?(i(1),o(10)):(i(a(n,-1)),o(a(r,1)))),n<=0&&i(a(r,-1)),r<=0&&o(a(n,1)),this._zero&&this.min!==this._suggestedMin&&n===a(this.min,0)&&i(a(n,-1)),this.min=n,this.max=r}buildTicks(){const e=this.options,t=function(e,t){const n=Math.floor(qe(t.max)),r=Math.ceil(t.max/Math.pow(10,n)),i=[];let o=we(e.min,Math.pow(10,Math.floor(qe(t.min)))),a=Math.floor(qe(o)),s=Math.floor(o/Math.pow(10,a)),c=a<0?Math.pow(10,Math.abs(a)):1;do{i.push({value:o,major:za(o)}),++s,10===s&&(s=1,++a,c=a>=0?1:c),o=Math.round(s*Math.pow(10,a)*c)/c}while(a<n||a===n&&s<r);const l=we(e.max,o);return i.push({value:l,major:za(o)}),i}({min:this._userMin,max:this._userMax},this);return"ticks"===e.bounds&&Qe(t,this,"value"),e.reverse?(t.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),t}getLabelForValue(e){return void 0===e?"0":fr(e,this.chart.options.locale,this.options.ticks.format)}configure(){const e=this.min;super.configure(),this._startValue=qe(e),this._valueRange=qe(this.max)-qe(e)}getPixelForValue(e){return void 0!==e&&0!==e||(e=this.min),null===e||isNaN(e)?NaN:this.getPixelForDecimal(e===this.min?0:(qe(e)-this._startValue)/this._valueRange)}getValueForPixel(e){const t=this.getDecimalForPixel(e);return Math.pow(10,this._startValue+t*this._valueRange)}}function Ha(e){const t=e.ticks;if(t.display&&e.display){const e=_n(t.backdropPadding);return Se(t.font&&t.font.size,Qt.font.size)+e.height}return 0}function $a(e,t,n,r,i){return e===r||e===i?{start:t-n/2,end:t+n/2}:e<r||e>i?{start:t-n,end:t}:{start:t,end:t+n}}function Ya(e){const t={l:e.left+e._padding.left,r:e.right-e._padding.right,t:e.top+e._padding.top,b:e.bottom-e._padding.bottom},n=Object.assign({},t),r=[],i=[],o=e._pointLabels.length,a=e.options.pointLabels,s=a.centerPointLabels?Be/o:0;for(let d=0;d<o;d++){const o=a.setContext(e.getPointLabelContext(d));i[d]=o.padding;const f=e.getPointPosition(d,e.drawingArea+i[d],s),h=xn(o.font),p=(c=e.ctx,l=h,u=be(u=e._pointLabels[d])?u:[u],{w:tn(c,l.string,u),h:u.length*l.lineHeight});r[d]=p;const m=at(e.getIndexAngle(d)+s),g=Math.round(tt(m));Wa(n,t,m,$a(g,f.x,p.w,0,180),$a(g,f.y,p.h,90,270))}var c,l,u;e.setCenterPoint(t.l-n.l,n.r-t.r,t.t-n.t,n.b-t.b),e._pointLabelItems=function(e,t,n){const r=[],i=e._pointLabels.length,o=e.options,a=Ha(o)/2,s=e.drawingArea,c=o.pointLabels.centerPointLabels?Be/i:0;for(let l=0;l<i;l++){const i=e.getPointPosition(l,s+a+n[l],c),o=Math.round(tt(at(i.angle+Ye))),u=t[l],d=Ka(i.y,u.h,o),f=Ga(o),h=qa(i.x,u.w,f);r.push({x:i.x,y:d,textAlign:f,left:h,top:d,right:h+u.w,bottom:d+u.h})}return r}(e,r,i)}function Wa(e,t,n,r,i){const o=Math.abs(Math.sin(n)),a=Math.abs(Math.cos(n));let s=0,c=0;r.start<t.l?(s=(t.l-r.start)/o,e.l=Math.min(e.l,t.l-s)):r.end>t.r&&(s=(r.end-t.r)/o,e.r=Math.max(e.r,t.r+s)),i.start<t.t?(c=(t.t-i.start)/a,e.t=Math.min(e.t,t.t-c)):i.end>t.b&&(c=(i.end-t.b)/a,e.b=Math.max(e.b,t.b+c))}function Ga(e){return 0===e||180===e?"center":e<180?"left":"right"}function qa(e,t,n){return"right"===n?e-=t:"center"===n&&(e-=t/2),e}function Ka(e,t,n){return 90===n||270===n?e-=t/2:(n>270||n<90)&&(e-=t),e}function Xa(e,t,n,r){const{ctx:i}=e;if(n)i.arc(e.xCenter,e.yCenter,t,0,ze);else{let n=e.getPointPosition(0,t);i.moveTo(n.x,n.y);for(let o=1;o<r;o++)n=e.getPointPosition(o,t),i.lineTo(n.x,n.y)}}Fa.id="logarithmic",Fa.defaults={ticks:{callback:Yi.formatters.logarithmic,major:{enabled:!0}}};class Za extends Va{constructor(e){super(e),this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){const e=this._padding=_n(Ha(this.options)/2),t=this.width=this.maxWidth-e.width,n=this.height=this.maxHeight-e.height;this.xCenter=Math.floor(this.left+t/2+e.left),this.yCenter=Math.floor(this.top+n/2+e.top),this.drawingArea=Math.floor(Math.min(t,n)/2)}determineDataLimits(){const{min:e,max:t}=this.getMinMax(!1);this.min=xe(e)&&!isNaN(e)?e:0,this.max=xe(t)&&!isNaN(t)?t:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/Ha(this.options))}generateTickLabels(e){Va.prototype.generateTickLabels.call(this,e),this._pointLabels=this.getLabels().map(((e,t)=>{const n=Oe(this.options.pointLabels.callback,[e,t],this);return n||0===n?n:""})).filter(((e,t)=>this.chart.getDataVisibility(t)))}fit(){const e=this.options;e.display&&e.pointLabels.display?Ya(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(e,t,n,r){this.xCenter+=Math.floor((e-t)/2),this.yCenter+=Math.floor((n-r)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(e,t,n,r))}getIndexAngle(e){return at(e*(ze/(this._pointLabels.length||1))+et(this.options.startAngle||0))}getDistanceFromCenterForValue(e){if(ve(e))return NaN;const t=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-e)*t:(e-this.min)*t}getValueForDistanceFromCenter(e){if(ve(e))return NaN;const t=e/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-t:this.min+t}getPointLabelContext(e){const t=this._pointLabels||[];if(e>=0&&e<t.length){const n=t[e];return function(e,t,n){return Sn(e,{label:n,index:t,type:"pointLabel"})}(this.getContext(),e,n)}}getPointPosition(e,t,n=0){const r=this.getIndexAngle(e)-Ye+n;return{x:Math.cos(r)*t+this.xCenter,y:Math.sin(r)*t+this.yCenter,angle:r}}getPointPositionForValue(e,t){return this.getPointPosition(e,this.getDistanceFromCenterForValue(t))}getBasePosition(e){return this.getPointPositionForValue(e||0,this.getBaseValue())}getPointLabelPosition(e){const{left:t,top:n,right:r,bottom:i}=this._pointLabelItems[e];return{left:t,top:n,right:r,bottom:i}}
vendor: 7,571 bytes, line 1
1drawBackground(){const{backgroundColor:e,grid:{circular:t}}=this.options;if(e){const n=this.ctx;n.save(),n.beginPath(),Xa(this,this.getDistanceFromCenterForValue(this._endValue),t,this._pointLabels.length),n.closePath(),n.fillStyle=e,n.fill(),n.restore()}}drawGrid(){const e=this.ctx,t=this.options,{angleLines:n,grid:r}=t,i=this._pointLabels.length;let o,a,s;if(t.pointLabels.display&&function(e,t){const{ctx:n,options:{pointLabels:r}}=e;for(let i=t-1;i>=0;i--){const t=r.setContext(e.getPointLabelContext(i)),o=xn(t.font),{x:a,y:s,textAlign:c,left:l,top:u,right:d,bottom:f}=e._pointLabelItems[i],{backdropColor:h}=t;if(!ve(h)){const e=_n(t.backdropPadding);n.fillStyle=h,n.fillRect(l-e.left,u-e.top,d-l+e.width,f-u+e.height)}dn(n,e._pointLabels[i],a,s+o.lineHeight/2,o,{color:t.color,textAlign:c,textBaseline:"middle"})}}(this,i),r.display&&this.ticks.forEach(((e,t)=>{if(0!==t){a=this.getDistanceFromCenterForValue(e.value);!function(e,t,n,r){const i=e.ctx,o=t.circular,{color:a,lineWidth:s}=t;!o&&!r||!a||!s||n<0||(i.save(),i.strokeStyle=a,i.lineWidth=s,i.setLineDash(t.borderDash),i.lineDashOffset=t.borderDashOffset,i.beginPath(),Xa(e,n,o,r),i.closePath(),i.stroke(),i.restore())}(this,r.setContext(this.getContext(t-1)),a,i)}})),n.display){for(e.save(),o=i-1;o>=0;o--){const r=n.setContext(this.getPointLabelContext(o)),{color:i,lineWidth:c}=r;c&&i&&(e.lineWidth=c,e.strokeStyle=i,e.setLineDash(r.borderDash),e.lineDashOffset=r.borderDashOffset,a=this.getDistanceFromCenterForValue(t.ticks.reverse?this.min:this.max),s=this.getPointPosition(o,a),e.beginPath(),e.moveTo(this.xCenter,this.yCenter),e.lineTo(s.x,s.y),e.stroke())}e.restore()}}drawBorder(){}drawLabels(){const e=this.ctx,t=this.options,n=t.ticks;if(!n.display)return;const r=this.getIndexAngle(0);let i,o;e.save(),e.translate(this.xCenter,this.yCenter),e.rotate(r),e.textAlign="center",e.textBaseline="middle",this.ticks.forEach(((r,a)=>{if(0===a&&!t.reverse)return;const s=n.setContext(this.getContext(a)),c=xn(s.font);if(i=this.getDistanceFromCenterForValue(this.ticks[a].value),s.showLabelBackdrop){e.font=c.string,o=e.measureText(r.label).width,e.fillStyle=s.backdropColor;const t=_n(s.backdropPadding);e.fillRect(-o/2-t.left,-i-c.size/2-t.top,o+t.width,c.size+t.height)}dn(e,r.label,0,-i,c,{color:s.color})})),e.restore()}drawTitle(){}}Za.id="radialLinear",Za.defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:Yi.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback:e=>e,padding:5,centerPointLabels:!1}},Za.defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"},Za.descriptors={angleLines:{_fallback:"grid"}};const Ja={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},Qa=Object.keys(Ja);function es(e,t){return e-t}function ts(e,t){if(ve(t))return null;const n=e._adapter,{parser:r,round:i,isoWeekday:o}=e._parseOpts;let a=t;return"function"===typeof r&&(a=r(a)),xe(a)||(a="string"===typeof r?n.parse(a,r):n.parse(a)),null===a?null:(i&&(a="week"!==i||!Ze(o)&&!0!==o?n.startOf(a,i):n.startOf(a,"isoWeek",o)),+a)}function ns(e,t,n,r){const i=Qa.length;for(let o=Qa.indexOf(e);o<i-1;++o){const e=Ja[Qa[o]],i=e.steps?e.steps:Number.MAX_SAFE_INTEGER;if(e.common&&Math.ceil((n-t)/(i*e.size))<=r)return Qa[o]}return Qa[i-1]}function rs(e,t,n){if(n){if(n.length){const{lo:r,hi:i}=En(n,t);e[n[r]>=t?n[r]:n[i]]=!0}}else e[t]=!0}function is(e,t,n){const r=[],i={},o=t.length;let a,s;for(a=0;a<o;++a)s=t[a],i[s]=a,r.push({value:s,major:!1});return 0!==o&&n?function(e,t,n,r){const i=e._adapter,o=+i.startOf(t[0].value,r),a=t[t.length-1].value;let s,c;for(s=o;s<=a;s=+i.add(s,1,r))c=n[s],c>=0&&(t[c].major=!0);return t}(e,r,i,n):r}class os extends eo{constructor(e){super(e),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(e,t){const n=e.time||(e.time={}),r=this._adapter=new oi._date(e.adapters.date);Me(n.displayFormats,r.formats()),this._parseOpts={parser:n.parser,round:n.round,isoWeekday:n.isoWeekday},super.init(e),this._normalized=t.normalized}parse(e,t){return void 0===e?null:ts(this,e)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const e=this.options,t=this._adapter,n=e.time.unit||"day";let{min:r,max:i,minDefined:o,maxDefined:a}=this.getUserBounds();function s(e){o||isNaN(e.min)||(r=Math.min(r,e.min)),a||isNaN(e.max)||(i=Math.max(i,e.max))}o&&a||(s(this._getLabelBounds()),"ticks"===e.bounds&&"labels"===e.ticks.source||s(this.getMinMax(!1))),r=xe(r)&&!isNaN(r)?r:+t.startOf(Date.now(),n),i=xe(i)&&!isNaN(i)?i:+t.endOf(Date.now(),n)+1,this.min=Math.min(r,i-1),this.max=Math.max(r+1,i)}_getLabelBounds(){const e=this.getLabelTimestamps();let t=Number.POSITIVE_INFINITY,n=Number.NEGATIVE_INFINITY;return e.length&&(t=e[0],n=e[e.length-1]),{min:t,max:n}}buildTicks(){const e=this.options,t=e.time,n=e.ticks,r="labels"===n.source?this.getLabelTimestamps():this._generate();"ticks"===e.bounds&&r.length&&(this.min=this._userMin||r[0],this.max=this._userMax||r[r.length-1]);const i=this.min,o=function(e,t,n){let r=0,i=e.length;for(;r<i&&e[r]<t;)r++;for(;i>r&&e[i-1]>n;)i--;return r>0||i<e.length?e.slice(r,i):e}(r,i,this.max);return this._unit=t.unit||(n.autoSkip?ns(t.minUnit,this.min,this.max,this._getLabelCapacity(i)):function(e,t,n,r,i){for(let o=Qa.length-1;o>=Qa.indexOf(n);o--){const n=Qa[o];if(Ja[n].common&&e._adapter.diff(i,r,n)>=t-1)return n}return Qa[n?Qa.indexOf(n):0]}(this,o.length,t.minUnit,this.min,this.max)),this._majorUnit=n.major.enabled&&"year"!==this._unit?function(e){for(let t=Qa.indexOf(e)+1,n=Qa.length;t<n;++t)if(Ja[Qa[t]].common)return Qa[t]}(this._unit):void 0,this.initOffsets(r),e.reverse&&o.reverse(),is(this,o,this._majorUnit)}initOffsets(e){let t,n,r=0,i=0;this.options.offset&&e.length&&(t=this.getDecimalForValue(e[0]),r=1===e.length?1-t:(this.getDecimalForValue(e[1])-t)/2,n=this.getDecimalForValue(e[e.length-1]),i=1===e.length?n:(n-this.getDecimalForValue(e[e.length-2]))/2);const o=e.length<3?.5:.25;r=ct(r,0,o),i=ct(i,0,o),this._offsets={start:r,end:i,factor:1/(r+1+i)}}_generate(){const e=this._adapter,t=this.min,n=this.max,r=this.options,i=r.time,o=i.unit||ns(i.minUnit,t,n,this._getLabelCapacity(t)),a=Se(i.stepSize,1),s="week"===o&&i.isoWeekday,c=Ze(s)||!0===s,l={};let u,d,f=t;if(c&&(f=+e.startOf(f,"isoWeek",s)),f=+e.startOf(f,c?"day":o),e.diff(n,t,o)>1e5*a)throw new Error(t+" and "+n+" are too far apart with stepSize of "+a+" "+o);const h="data"===r.ticks.source&&this.getDataTimestamps();for(u=f,d=0;u<n;u=+e.add(u,a,o),d++)rs(l,u,h);return u!==n&&"ticks"!==r.bounds&&1!==d||rs(l,u,h),Object.keys(l).sort(((e,t)=>e-t)).map((e=>+e))}getLabelForValue(e){const t=this._adapter,n=this.options.time;return n.tooltipFormat?t.format(e,n.tooltipFormat):t.format(e,n.displayFormats.datetime)}_tickFormatFunction(e,t,n,r){const i=this.options,o=i.time.displayFormats,a=this._unit,s=this._majorUnit,c=a&&o[a],l=s&&o[s],u=n[t],d=s&&l&&u&&u.major,f=this._adapter.format(e,r||(d?l:c)),h=i.ticks.callback;return h?Oe(h,[f,t,n],this):f}generateTickLabels(e){let t,n,r;for(t=0,n=e.length;t<n;
1++t)r=e[t],r.label=this._tickFormatFunction(r.value,t,e)}getDecimalForValue(e){return null===e?NaN:(e-this.min)/(this.max-this.min)}getPixelForValue(e){const t=this._offsets,n=this.getDecimalForValue(e);return this.getPixelForDecimal((t.start+n)*t.factor)}getValueForPixel(e){const t=this._offsets,n=this.getDecimalForPixel(e)/t.factor-t.end;return this.min+n*(this.max-this.min)}_getLabelSize(e){const t=this.options.ticks,n=this.ctx.measureText(e).width,r=et(this.isHorizontal()?t.maxRotation:t.minRotation),i=Math.cos(r),o=Math.sin(r),a=this._resolveTickFontOptions(0).size;return{w:n*i+a*o,h:n*o+a*i}}_getLabelCapacity(e){const t=this.options.time,n=t.displayFormats,r=n[t.unit]||n.millisecond,i=this._tickFormatFunction(e,0,is(this,[e],this._majorUnit),r),o=this._getLabelSize(i),a=Math.floor(this.isHorizontal()?this.width/o.w:this.height/o.h)-1;return a>0?a:1}getDataTimestamps(){let e,t,n=this._cache.data||[];if(n.length)return n;const r=this.getMatchingVisibleMetas();if(this._normalized&&r.length)return this._cache.data=r[0].controller.getAllParsedValues(this);for(e=0,t=r.length;e<t;++e)n=n.concat(r[e].controller.getAllParsedValues(this));return this._cache.data=this.normalize(n)}getLabelTimestamps(){const e=this._cache.labels||[];let t,n;if(e.length)return e;const r=this.getLabels();for(t=0,n=r.length;t<n;++t)e.push(ts(this,r[t]));return this._cache.labels=this._normalized?e:this.normalize(e)}normalize(e){return jn(e.sort(es))}}function as(e,t,n){let r,i,o,a,s=0,c=e.length-1;n?(t>=e[s].pos&&t<=e[c].pos&&({lo:s,hi:c}=On(e,"pos",t)),({pos:r,time:o}=e[s]),({pos:i,time:a}=e[c])):(t>=e[s].time&&t<=e[c].time&&({lo:s,hi:c}=On(e,"time",t)),({time:r,pos:o}=e[s]),({time:i,pos:a}=e[c]));const l=i-r;return l?o+(a-o)*(t-r)/l:o}os.id="time",os.defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",major:{enabled:!1}}};class ss extends os{constructor(e){super(e),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const e=this._getTimestampsForTable(),t=this._table=this.buildLookupTable(e);this._minPos=as(t,this.min),this._tableRange=as(t,this.max)-this._minPos,super.initOffsets(e)}buildLookupTable(e){const{min:t,max:n}=this,r=[],i=[];let o,a,s,c,l;for(o=0,a=e.length;o<a;++o)c=e[o],c>=t&&c<=n&&r.push(c);if(r.length<2)return[{time:t,pos:0},{time:n,pos:1}];for(o=0,a=r.length;o<a;++o)l=r[o+1],s=r[o-1],c=r[o],Math.round((l+s)/2)!==c&&i.push({time:c,pos:o/(a-1)});return i}_getTimestampsForTable(){let e=this._cache.all||[];if(e.length)return e;const t=this.getDataTimestamps(),n=this.getLabelTimestamps();return e=t.length&&n.length?this.normalize(t.concat(n)):t.length?t:n,e=this._cache.all=e,e}getDecimalForValue(e){return(as(this._table,e)-this._minPos)/this._tableRange}getValueForPixel(e){const t=this._offsets,n=this.getDecimalForPixel(e)/t.factor-t.end;return as(this._table,n*this._tableRange+this._minPos,!0)}}ss.id="timeseries",ss.defaults=os.defaults;const cs="label";function ls(e,t){"function"===typeof e?e(t):e&&(e.current=t)}function us(e,t){e.labels=t}function ds(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:cs;const r=[];e.datasets=t.map((t=>{const i=e.datasets.find((e=>e[n]===t[n]));return i&&t.data&&!r.includes(i)?(r.push(i),Object.assign(i,t),i):{...t}}))}function fs(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:cs;const n={labels:[],datasets:[]};return us(n,e.labels),ds(n,e.datasets,t),n}function hs(e,t){let{height:n=150,width:r=300,redraw:i=!1,datasetIdKey:o,type:a,data:s,options:c,plugins:l=[],fallbackContent:u,...f}=e;const h=(0,d.useRef)(null),p=(0,d.useRef)(),m=()=>{h.current&&(p.current=new To(h.current,{type:a,data:fs(s,o),options:c,plugins:l}),ls(t,p.current))},g=()=>{ls(t,null),p.current&&(p.current.destroy(),p.current=null)};return(0,d.useEffect)((()=>{var e,t;!i&&p.current&&c&&(e=p.current,t=c,e.options={...t})}),[i,c]),(0,d.useEffect)((()=>{!i&&p.current&&us(p.current.config.data,s.labels)}),[i,s.labels]),(0,d.useEffect)((()=>{!i&&p.current&&s.datasets&&ds(p.current.config.data,s.datasets,o)}),[i,s.datasets]),(0,d.useEffect)((()=>
1{p.current&&(i?(g(),setTimeout(m)):p.current.update())}),[i,c,s.labels,s.datasets]),(0,d.useEffect)((()=>(m(),()=>g())),[]),d.createElement("canvas",Object.assign({ref:h,role:"img",height:n,width:r},f),u)}const ps=(0,d.forwardRef)(hs);function ms(e,t){return To.register(t),(0,d.forwardRef)(((t,n)=>d.createElement(ps,Object.assign({},t,{ref:n,type:e}))))}const gs=ms("bar",Kr);To.register(Ia,Ba,Wo,Qo,xa,Na,ba,ga);var ys,vs={responsive:!0,plugins:{legend:{display:!1}},scales:{y:{ticks:{callback:function(e){return e+"%"}}}}},bs=function(e){var t=e.data,n={labels:e.labels,datasets:[{data:t||[],borderWidth:1,backgroundColor:e.bgColors||[]}]};return(0,a.jsx)(gs,{options:vs,data:n})},_s=n(61193),xs=n.n(_s),ws=function(){var e=function(t,n){return e=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])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ss=function(){return Ss=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Ss.apply(this,arguments)},Es={top:{width:"100%",height:"10px",top:"-5px",left:"0px",cursor:"row-resize"},right:{width:"10px",height:"100%",top:"0px",right:"-5px",cursor:"col-resize"},bottom:{width:"100%",height:"10px",bottom:"-5px",left:"0px",cursor:"row-resize"},left:{width:"10px",height:"100%",top:"0px",left:"-5px",cursor:"col-resize"},topRight:{width:"20px",height:"20px",position:"absolute",right:"-10px",top:"-10px",cursor:"ne-resize"},bottomRight:{width:"20px",height:"20px",position:"absolute",right:"-10px",bottom:"-10px",cursor:"se-resize"},bottomLeft:{width:"20px",height:"20px",position:"absolute",left:"-10px",bottom:"-10px",cursor:"sw-resize"},topLeft:{width:"20px",height:"20px",position:"absolute",left:"-10px",top:"-10px",cursor:"nw-resize"}},Os=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.onMouseDown=function(e){t.props.onResizeStart(e,t.props.direction)},t.onTouchStart=function(e){t.props.onResizeStart(e,t.props.direction)},t}return ws(t,e),t.prototype.render=function(){return d.createElement("div",{className:this.props.className||"",style:Ss(Ss({position:"absolute",userSelect:"none"},Es[this.props.direction]),this.props.replaceStyles||{}),onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart},this.props.children)},t}(d.PureComponent),ks=n(53316),Ts=n.n(ks),Ps=function(){var e=function(t,n){return e=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])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),js=function(){return js=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},js.apply(this,arguments)},Ds={width:"auto",height:"auto"},Cs=Ts()((function(e,t,n){return Math.max(Math.min(e,n),t)})),Ms=Ts()((function(e,t){return Math.round(e/t)*t})),Rs=Ts()((function(e,t){return new RegExp(e,"i").test(t)})),Ns=function(e){return Boolean(e.touches&&e.touches.length)},As=Ts()((function(e,t,n){void 0===n&&(n=0);var r=t.reduce((function(n,r,i){return Math.abs(r-e)<Math.abs(t[n]-e)?i:n}),0),i=Math.abs(t[r]-e);return 0===n||i<n?t[r]:e})),Is=Ts()((function(e,t){return e.substr(e.length-t.length,t.length)===t})),Ls=Ts()((function(e){return"auto"===(e=e.toString())||Is(e,"px")||Is(e,"%")||Is(e,"vh")||Is(e,"vw")||Is(e,"vmax")||Is(e,"vmin")?e:e+"px"})),Us=function(e,t,n,r){if(e&&"string"===typeof e){if(Is(e,"px"))return Number(e.replace("px",""));if(Is(e,"%"))return t*(Number(e.replace("%",""))/100);if(Is(e,"vw"))return n*(Number(e.replace("vw",""))/100);if(Is(e,"vh"))return r*(Number(e.replace("vh",""))/100)}return e},Vs=Ts()((function(e,t,n,r,i,o,a){return r=Us(r,e.width,t,n),i=Us(i,e.height,t,n),o=Us(o,e.width,t,n),a=Us(a,e.height,t,n),{maxWidth:"undefined"===typeof r?void 0:Number(r),maxHeight:"undefined"===typeof i?void 0:Number(i),minWidth:"undefined"===typeof o?void 0:Number(o),minHeight:"undefined"===typeof a?void 0:Number(a)}}
vendor: 10,794 bytes, line 1
1)),Bs=["as","style","className","grid","snap","bounds","boundsByDirection","size","defaultSize","minWidth","minHeight","maxWidth","maxHeight","lockAspectRatio","lockAspectRatioExtraWidth","lockAspectRatioExtraHeight","enable","handleStyles","handleClasses","handleWrapperStyle","handleWrapperClass","children","onResizeStart","onResize","onResizeStop","handleComponent","scale","resizeRatio","snapGap"],zs="__resizable_base__",Fs=function(e){function t(t){var n=e.call(this,t)||this;return n.ratio=1,n.resizable=null,n.parentLeft=0,n.parentTop=0,n.resizableLeft=0,n.resizableRight=0,n.resizableTop=0,n.resizableBottom=0,n.targetLeft=0,n.targetTop=0,n.appendBase=function(){if(!n.resizable||!n.window)return null;var e=n.parentNode;if(!e)return null;var t=n.window.document.createElement("div");return t.style.width="100%",t.style.height="100%",t.style.position="absolute",t.style.transform="scale(0, 0)",t.style.left="0",t.style.flex="0",t.classList?t.classList.add(zs):t.className+=zs,e.appendChild(t),t},n.removeBase=function(e){var t=n.parentNode;t&&t.removeChild(e)},n.ref=function(e){e&&(n.resizable=e)},n.state={isResizing:!1,width:"undefined"===typeof(n.propsSize&&n.propsSize.width)?"auto":n.propsSize&&n.propsSize.width,height:"undefined"===typeof(n.propsSize&&n.propsSize.height)?"auto":n.propsSize&&n.propsSize.height,direction:"right",original:{x:0,y:0,width:0,height:0},backgroundStyle:{height:"100%",width:"100%",backgroundColor:"rgba(0,0,0,0)",cursor:"auto",opacity:0,position:"fixed",zIndex:9999,top:"0",left:"0",bottom:"0",right:"0"},flexBasis:void 0},n.onResizeStart=n.onResizeStart.bind(n),n.onMouseMove=n.onMouseMove.bind(n),n.onMouseUp=n.onMouseUp.bind(n),n}return Ps(t,e),Object.defineProperty(t.prototype,"parentNode",{get:function(){return this.resizable?this.resizable.parentNode:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"window",{get:function(){return this.resizable&&this.resizable.ownerDocument?this.resizable.ownerDocument.defaultView:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"propsSize",{get:function(){return this.props.size||this.props.defaultSize||Ds},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"size",{get:function(){var e=0,t=0;if(this.resizable&&this.window){var n=this.resizable.offsetWidth,r=this.resizable.offsetHeight,i=this.resizable.style.position;"relative"!==i&&(this.resizable.style.position="relative"),e="auto"!==this.resizable.style.width?this.resizable.offsetWidth:n,t="auto"!==this.resizable.style.height?this.resizable.offsetHeight:r,this.resizable.style.position=i}return{width:e,height:t}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"sizeStyle",{get:function(){var e=this,t=this.props.size,n=function(t){if("undefined"===typeof e.state[t]||"auto"===e.state[t])return"auto";if(e.propsSize&&e.propsSize[t]&&Is(e.propsSize[t].toString(),"%")){if(Is(e.state[t].toString(),"%"))return e.state[t].toString();var n=e.getParentSize();return Number(e.state[t].toString().replace("px",""))/n[t]*100+"%"}return Ls(e.state[t])};return{width:t&&"undefined"!==typeof t.width&&!this.state.isResizing?Ls(t.width):n("width"),height:t&&"undefined"!==typeof t.height&&!this.state.isResizing?Ls(t.height):n("height")}},enumerable:!1,configurable:!0}),t.prototype.getParentSize=function(){if(!this.parentNode)return this.window?{width:this.window.innerWidth,height:this.window.innerHeight}:{width:0,height:0};var e=this.appendBase();if(!e)return{width:0,height:0};var t=!1,n=this.parentNode.style.flexWrap;"wrap"!==n&&(t=!0,this.parentNode.style.flexWrap="wrap"),e.style.position="relative",e.style.minWidth="100%";var r={width:e.offsetWidth,height:e.offsetHeight};return t&&(this.parentNode.style.flexWrap=n),this.removeBase(e),r},t.prototype.bindEvents=function(){this.window&&(this.window.addEventListener("mouseup",this.onMouseUp),this.window.addEventListener("mousemove",this.onMouseMove),this.window.addEventListener("mouseleave",this.onMouseUp),this.window.addEventListener("touchmove",this.onMouseMove,{capture:!0,passive:!1}),this.window.addEventListener("touchend",this.onMouseUp))},t.prototype.unbindEvents=function(){this.window&&(this.window.removeEventListener("mouseup",this.onMouseUp),this.window.removeEventListener("mousemove",this.onMouseMove),this.window.removeEventListener("mouseleave",this.onMouseUp),this.window.removeEventListener("touchmove",this.onMouseMove,!0),this.window.removeEventListener("touchend",this.onMouseUp))},t.prototype.componentDidMount=function(){if(this.resizable&&this.window){var e=this.window.getComputedStyle(this.resizable);this.setState({width:this.state.width||this.size.width,height:this.state.height||this.size.height,flexBasis:"auto"!==e.flexBasis?e.flexBasis:void 0})}},t.prototype.componentWillUnmount=function(){this.window&&this.unbindEvents()},t.prototype.createSizeForCssProperty=function(e,t){var n=this.propsSize&&this.propsSize[t];return"auto"!==this.state[t]||this.state.original[t]!==e||"undefined"!==typeof n&&"auto"!==n?e:"auto"},t.prototype.calculateNewMaxFromBoundary=function(e,t){var n,r,i=this.props.boundsByDirection,o=this.state.direction,a=i&&Rs("left",o),s=i&&Rs("top",o);if("parent"===this.props.bounds){var c=this.parentNode;c&&(n=a?this.resizableRight-this.parentLeft:c.offsetWidth+(this.parentLeft-this.resizableLeft),r=s?this.resizableBottom-this.parentTop:c.offsetHeight+(this.parentTop-this.resizableTop))}else"window"===this.props.bounds?this.window&&(n=a?this.resizableRight:this.window.innerWidth-this.resizableLeft,r=s?this.resizableBottom:this.window.innerHeight-this.resizableTop):this.props.bounds&&(n=a?this.resizableRight-this.targetLeft:this.props.bounds.offsetWidth+(this.targetLeft-this.resizableLeft),r=s?this.resizableBottom-this.targetTop:this.props.bounds.offsetHeight+(this.targetTop-this.resizableTop));return n&&Number.isFinite(n)&&(e=e&&e<n?e:n),r&&Number.isFinite(r)&&(t=t&&t<r?t:r),{maxWidth:e,maxHeight:t}},t.prototype.calculateNewSizeFromDirection=function(e,t){var n=this.props.scale||1,r=this.props.resizeRatio||1,i=this.state,o=i.direction,a=i.original,s=this.props,c=s.lockAspectRatio,l=s.lockAspectRatioExtraHeight,u=s.lockAspectRatioExtraWidth,d=a.width,f=a.height,h=l||0,p=u||0;return Rs("right",o)&&(d=a.width+(e-a.x)*r/n,c&&(f=(d-p)/this.ratio+h)),Rs("left",o)&&(d=a.width-(e-a.x)*r/n,c&&(f=(d-p)/this.ratio+h)),Rs("bottom",o)&&(f=a.height+(t-a.y)*r/n,c&&(d=(f-h)*this.ratio+p)),Rs("top",o)&&(f=a.height-(t-a.y)*r/n,c&&(d=(f-h)*this.ratio+p)),{newWidth:d,newHeight:f}},t.prototype.calculateNewSizeFromAspectRatio=function(e,t,n,r){var i=this.props,o=i.lockAspectRatio,a=i.lockAspectRatioExtraHeight,s=i.lockAspectRatioExtraWidth,c="undefined"===typeof r.width?10:r.width,l="undefined"===typeof n.width||n.width<0?e:n.width,u="undefined"===typeof r.height?10:r.height,d="undefined"===typeof n.height||n.height<0?t:n.height,f=a||0,h=s||0;if(o){var p=(u-f)*this.ratio+h,m=(d-f)*this.ratio+h,g=(c-h)/this.ratio+f,y=(l-h)/this.ratio+f,v=Math.max(c,p),b=Math.min(l,m),_=Math.max(u,g),x=Math.min(d,y);e=Cs(e,v,b),t=Cs(t,_,x)}else e=Cs(e,c,l),t=Cs(t,u,d);return{newWidth:e,newHeight:t}},t.prototype.setBoundingClientRect=function(){if("parent"===this.props.bounds){var e=this.parentNode;if(e){var t=e.getBoundingClientRect();this.parentLeft=t.left,this.parentTop=t.top}}if(this.props.bounds&&"string"!==typeof this.props.bounds){var n=this.props.bounds.getBoundingClientRect();this.targetLeft=n.left,this.targetTop=n.top}if(this.resizable){var r=this.resizable.getBoundingClientRect(),i=r.left,o=r.top,a=r.right,s=r.bottom;this.resizableLeft=i,this.resizableRight=a,this.resizableTop=o,this.resizableBottom=s}},t.prototype.onResizeStart=function(e,t){if(this.resizable&&this.window){var n,r=0,i=0;if(e.nativeEvent&&function(e){return Boolean((e.clientX||0===e.clientX)&&(e.clientY||0===e.clientY))}(e.nativeEvent)?(r=e.nativeEvent.clientX,i=e.nativeEvent.clientY):e.nativeEvent&&Ns(e.nativeEvent)&&(r=e.nativeEvent.touches[0].clientX,i=e.nativeEvent.touches[0].clientY),this.props.onResizeStart)if(this.resizable)if(!1===this.props.onResizeStart(e,t,this.resizable))return;this.props.size&&("undefined"!==typeof this.props.size.height&&this.props.size.height!==this.state.height&&this.setState({height:this.props.size.height}),"undefined"!==typeof this.props.size.width&&this.props.size.width!==this.state.width&&this.setState({width:this.props.size.width})),this.ratio="number"===typeof this.props.lockAspectRatio?this.props.lockAspectRatio:this.size.width/this.size.height;var o=this.window.getComputedStyle(this.resizable);if("auto"!==o.flexBasis){var a=this.parentNode;if(a){var s=this.window.getComputedStyle(a).flexDirection;this.flexDir=s.startsWith("row")?"row":"column",n=o.flexBasis}}this.setBoundingClientRect(),this.bindEvents();var c={original:{x:r,y:i,width:this.size.width,height:this.size.height},isResizing:!0,backgroundStyle:js(js({},this.state.backgroundStyle),{cursor:this.window.getComputedStyle(e.target).cursor||"auto"}),direction:t,flexBasis:n};this.setState(c)}},t.prototype.onMouseMove=function(e){if(this.state.isResizing&&this.resizable&&this.window){if(this.window.TouchEvent&&Ns(e))try{e.preventDefault(),e.stopPropagation()}catch(O){}var t=this.props,n=t.maxWidth,r=t.maxHeight,i=t.minWidth,o=t.minHeight,a=Ns(e)?e.touches[0].clientX:e.clientX,s=Ns(e)?e.touches[0].clientY:e.clientY,c=this.state,l=c.direction,u=c.original,d=c.width,f=c.height,h=this.getParentSize(),p=Vs(h,this.window.innerWidth,this.window.innerHeight,n,r,i,o);n=p.maxWidth,r=p.maxHeight,i=p.minWidth,o=p.minHeight;var m=this.calculateNewSizeFromDirection(a,s),g=m.newHeight,y=m.newWidth,v=this.calculateNewMaxFromBoundary(n,r),b=this.calculateNewSizeFromAspectRatio(y,g,{width:v.maxWidth,height:v.maxHeight},{width:i,height:o});if(y=b.newWidth,g=b.newHeight,this.props.grid){var _=Ms(y,this.props.grid[0]),x=Ms(g,this.props.grid[1]),w=this.props.snapGap||0;y=0===w||Math.abs(_-y)<=w?_:y,g=0===w||Math.abs(x-g)<=w?x:g}this.props.snap&&this.props.snap.x&&(y=As(y,this.props.snap.x,this.props.snapGap)),this.props.snap&&this.props.snap.y&&(g=As(g,this.props.snap.y,this.props.snapGap));var S={width:y-u.width,height:g-u.height};if(d&&"string"===typeof d)if(Is(d,"%"))y=y/h.width*100+"%";else if(Is(d,"vw")){y=y/this.window.innerWidth*100+"vw"}else if(Is(d,"vh")){y=y/this.window.innerHeight*100+"vh"}if(f&&"string"===typeof f)if(Is(f,"%"))g=g/h.height*100+"%";else if(Is(f,"vw")){g=g/this.window.innerWidth*100+"vw"}else if(Is(f,"vh")){g=g/this.window.innerHeight*100+"vh"}var E={width:this.createSizeForCssProperty(y,"width"),height:this.createSizeForCssProperty(g,"height")};"row"===this.flexDir?E.flexBasis=E.width:"column"===this.flexDir&&(E.flexBasis=E.height),this.setState(E),this.props.onResize&&this.props.onResize(e,l,this.resizable,S)}}
1,t.prototype.onMouseUp=function(e){var t=this.state,n=t.isResizing,r=t.direction,i=t.original;if(n&&this.resizable){var o={width:this.size.width-i.width,height:this.size.height-i.height};this.props.onResizeStop&&this.props.onResizeStop(e,r,this.resizable,o),this.props.size&&this.setState(this.props.size),this.unbindEvents(),this.setState({isResizing:!1,backgroundStyle:js(js({},this.state.backgroundStyle),{cursor:"auto"})})}},t.prototype.updateSize=function(e){this.setState({width:e.width,height:e.height})},t.prototype.renderResizer=function(){var e=this,t=this.props,n=t.enable,r=t.handleStyles,i=t.handleClasses,o=t.handleWrapperStyle,a=t.handleWrapperClass,s=t.handleComponent;if(!n)return null;var c=Object.keys(n).map((function(t){return!1!==n[t]?d.createElement(Os,{key:t,direction:t,onResizeStart:e.onResizeStart,replaceStyles:r&&r[t],className:i&&i[t]},s&&s[t]?s[t]:null):null}));return d.createElement("div",{className:a,style:o},c)},t.prototype.render=function(){var e=this,t=Object.keys(this.props).reduce((function(t,n){return-1!==Bs.indexOf(n)||(t[n]=e.props[n]),t}),{}),n=js(js(js({position:"relative",userSelect:this.state.isResizing?"none":"auto"},this.props.style),this.sizeStyle),{maxWidth:this.props.maxWidth,maxHeight:this.props.maxHeight,minWidth:this.props.minWidth,minHeight:this.props.minHeight,boxSizing:"border-box",flexShrink:0});this.state.flexBasis&&(n.flexBasis=this.state.flexBasis);var r=this.props.as||"div";return d.createElement(r,js({ref:this.ref,style:n,className:this.props.className},t),this.state.isResizing&&d.createElement("div",{style:this.state.backgroundStyle}),this.props.children,this.renderResizer())},t.defaultProps={as:"div",onResizeStart:function(){},onResize:function(){},onResizeStop:function(){},enable:{top:!0,right:!0,bottom:!0,left:!0,topRight:!0,bottomRight:!0,bottomLeft:!0,topLeft:!0},style:{},grid:[1,1],lockAspectRatio:!1,lockAspectRatioExtraWidth:0,lockAspectRatioExtraHeight:0,scale:1,resizeRatio:1,snapGap:0},t}(d.PureComponent),Hs=function(e){var t=e.open,n=e.onClose,r=e.children;return(0,a.jsxs)(a.Fragment,{children:[t&&(0,a.jsx)(xs(),{handle:".handle",children:(0,a.jsxs)("div",{className:"jsx-1973822788 dm",children:[(0,a.jsxs)("div",{className:"jsx-1973822788 dm__head",children:[(0,a.jsx)("div",{className:"jsx-1973822788 handle"}),(0,a.jsx)("button",{onClick:function(){return n()},className:"jsx-1973822788 dm__close",children:(0,a.jsx)(f.G,{icon:h.NBC,className:"_text-white"})})]}),(0,a.jsx)(Fs,{lockAspectRatio:!0,minWidth:320,maxWidth:640,children:r})]})}),(0,a.jsx)(o(),{id:"1973822788",children:[".dm.jsx-1973822788{position:fixed;top:30vh;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);margin:auto;z-index:10;--tw-bg-opacity:1;background-color:rgba(20,19,19,var(--tw-bg-opacity));padding:0.25rem;box-shadow:0px 2px 4px #00000033;}","@media (min-width:1200px){.dm.jsx-1973822788{position:absolute;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);}}",".dm__head.jsx-1973822788{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end;}",".dm__close.jsx-1973822788{cursor:pointer;margin-bottom:0.25rem;--tw-bg-opacity:1;background-color:rgba(188,0,16,var(--tw-bg-opacity));padding-left:0.5rem;padding-right:0.5rem;--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity));}",".handle.jsx-1973822788{width:100%;cursor:move;}"]})]})},$s=n(9802),Ys=n(19315),Ws=n(91854),Gs=n(63952),qs=n(84568);function Ks(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 Xs(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ks(Object(n),!0).forEach((function(t){(0,$.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ks(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Zs=(0,G.Ps)(ys||(ys=(0,Y.Z)(["\n query getRaceCalendar($openDay: ISO8601Date!, $velCode: String) {\n raceCalendars(openDay: $openDay, velCode: $velCode) {\n id\n velCode\n liveEndsAt\n liveStartsAt\n startDay\n lastDay\n edaban\n gradeName\n titleName\n }\n }\n"]))),Js=function(e){var t=e.item;return(0,Ws.ej)(t)?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"_mr-1 _font-semibold",children:[t.raceNum,"R"]}),(0,a.jsx)("div",{className:"_text-sm _font-semibold _border _border-rouge _text-rouge _rounded-md _p-1 _mr-1 dark:_bg-white",children:"\u524d\u58f2"})]}):(0,Ws.Dn)(t)?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"_font-bold _mr-2",children:"NONE"!==(null===t||void 0===t?void 0:t.abortType)?"\u4e2d\u6b62":"\u7d42\u4e86"}),(0,a.jsx)("div",{className:"_text-sm _font-semibold _border _border-rouge _text-rouge _rounded-md _p-1 _mr-1 dark:_bg-white",children:"\u30ec\u30fc\u30b9\u7d50\u679c"})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"_font-bold _mr-2",children:[t.raceNum,"R"]}),(0,a.jsx)("div",{className:"_text-sm _font-semibold _border _border-rouge _text-rouge _rounded-md _p-1 _mr-1 dark:_bg-white",children:"\u6295\u7968"})]})},Qs=function(){var e=(0,Gs.xy)(),t=e.races,n=e.onlineStatus,r=null===n||void 0===n?void 0:n.openDay,i=(0,q.aM)({query:Zs,variables:{openDay:r},pause:!r}),s=(0,P.Z)(i,1)[0].data,c=null===s||void 0===s?void 0:s.raceCalendars,l=(0,Ws.tL)(t).map((function(e){return Xs(Xs({},e),{},{calendar:null===c||void 0===c?void 0:c.find((function(t){if(t.velCode===e.velCode)return t}))})}));return null!==n&&void 0!==n&&n.openDay&&(0,qs.Z)(null===n||void 0===n?void 0:n.openDay).diff((0,qs.Z)(),"hour")<=-29?(0,a.jsxs)("div",{className:"rl _py-8 _text-lg _font-semibold _text-center",children:["\u672c\u65e5\u306f",(0,a.jsx)("span",{className:"_text-rouge",children:"\u975e\u958b\u50ac\u65e5"}),"\u3067\u3059\u3002"]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"jsx-115352195 rl",children:l.map((function(e,t){var n,i,o,s,c,l,p,m,g,y,v,b,_;return(0,a.jsx)(d.Fragment,{children:!1===e.hidden&&(0,a.jsx)(u(),{href:{pathname:"/vote",query:{vel_code:e.velCode,race_num:e.raceNum}},children:(0,a.jsx)("a",{className:"jsx-115352195",children:(0,a.jsxs)("div",{className:"jsx-115352195 rl__card _mb-5 _bg-white dark:_bg-dark-3",children:[(0,a.jsxs)("div",{className:"jsx-115352195 _flex _justify-between _mb-3",children:[(0,a.jsxs)("div",{className:"jsx-115352195",children:[(0,a.jsx)("div",{style:{fontSize:".5rem",padding:"2px 6px"},className:"jsx-115352195 _bg-ink _text-white _rounded-md _inline-block",children:(null===e||void 0===e?void 0:e.calendar)&&Ws.c0[null===e||void 0===e||null===(n=e.calendar)||void 0===n?void 0:n.gradeName]}),(0,a.jsx)("div",{style:{fontSize:".5rem",padding:"2px 6px"},className:"jsx-115352195 "+"_text-white _rounded-md _inline-block rl__timezone--".concat(e.timezone.toLowerCase()," _ml-2"),children:Ws.wF[e.timezone]})]}),(0,a.jsxs)("div",{className:"jsx-115352195 _flex _justify-between _items-center",children:[(null===e||void 0===e||null===(i=e.raceProgram)||void 0===i?void 0:i.situation)&&(0,a.jsx)("div",{style:{fontSize:".5rem",padding:"2px 6px"},className:"jsx-115352195 _border _border-ink dark:_border-white _text-ink dark:_text-white _rounded-md _inline-block _mx-1",children:null===e||void 0===e||null===(o=e.raceProgram)||void 0===o?void 0:o.situation}),(null===e||void 0===e||null===(s=e.raceProgram)||void 0===s?void 0:s.weatherName)&&(0,a.jsx)("div",{style:{fontSize:".5rem",padding:"2px 6px"},className:"jsx-115352195 _border _border-ink dark:_border-white _text-ink dark:_text-white _rounded-md _inline-block _mx-1",children:null===e||void 0===e||null===(c=e.raceProgram)||void 0===c?void 0:c.weatherName})]})]}),(0,a.jsxs)("div",{className:"jsx-115352195 _flex _justify-between _items-center _mb-3",children:[(0,a.jsxs)("div",{className:"jsx-115352195 _flex _items-center",children:[(0,a.jsx)("div",{className:"jsx-115352195 _mr-1 _font-bold",children:(0,Ws.PQ)(e.velName)}),(0,a.jsxs)("div",{className:"jsx-115352195 _text-xs",children:[(null===(l=e.calendar)||void 0===l?void 0:l.lastDay)===r?"\u6700\u7d42\u65e5":"".concat(e.nitiji,"\u65e5\u76ee"),null!==(p=e.calendar)&&void 0!==p&&p.edaban&&(null===(m=e.calendar)||void 0===m?void 0:m.edaban)>1?"\uff08\u9806\u5ef6\uff09":""]})]}),(0,a.jsxs)("div",{className:"jsx-115352195 _flex _items-center",children:[(0,a.jsx)(Js,{item:e}),!(0,Ws.Dn)(e)&&(0,a.jsxs)("div",{className:"jsx-115352195 _text-xs",children:[(0,a.jsxs)("div",{className:"jsx-115352195",children:[(0,a.jsx)("span",{className:"jsx-115352195 _font-semibold",children:(0,Ws.Ab)(e.startsAt,null===e||void 0===e?void 0:e.openDay)})," ","\u767a\u8d70"]}),(0,a.jsxs)("div",{className:"jsx-115352195",children:[(0,a.jsx)("span",{className:"jsx-115352195 _font-semibold",children:(0,Ws.Ab)(e.deadlineAt,null===e||void 0===e?void 0:e.openDay)})," ","\u7de0\u5207"]})]})]})]}),(0,a.jsx)("hr",{className:"jsx-115352195 _bg-body dark:_bg-dark-2 _mb-3"}),(0,a.jsxs)("div",{className:"jsx-115352195 _text-sm",children:[(0,a.jsx)("h5",{className:"jsx-115352195",children:null===(g=e.calendar)||void 0===g?void 0:g.titleName}),(0,a.jsxs)("div",{className:"jsx-115352195 _flex",children:[(0,a.jsxs)("div",{className:"jsx-115352195 _mr-4",children:[(0,a.jsx)(f.G,{icon:h.IV4,className:"_mr-1"}),(0,qs.Z)(null===(y=e.calendar)||void 0===y?void 0:y.startDay).format("MM/DD")," -",(0,qs.Z)(null===(v=e.calendar)||void 0===v?void 0:v.lastDay).format("MM/DD")]}),(0,a.jsxs)("div",{className:"jsx-115352195",children:[(0,a.jsx)(f.G,{icon:h.IyC,className:"_mr-1"}),(0,Ws.Ab)(null===(b=e.calendar)||void 0===b?void 0:b.liveStartsAt,null===e||void 0===e?void 0:e.openDay)," \uff5e",(0,Ws.Ab)(null===(_=e.calendar)||void 0===_?void 0:_.liveEndsAt,null===e||void 0===e?void 0:e.openDay)]})]})]})]})})})},t)}))}),(0,a.jsx)(o(),{id:"115352195",children:[".rl__card.jsx-115352195{border-radius:0.5rem;padding:1rem;box-shadow:2px 2px 2px 0 rgba(0,0,0,0.1);}",".rl__timezone--morning.jsx-115352195{background-color:#eb5353;}",".rl__timezone--day.jsx-115352195{background-color:#5c9e00;}",".rl__timezone--twilight.jsx-115352195{background-color:#ef6ea6;}",".rl__timezone--night.jsx-115352195{background-color:#3a8aec;}",".rl__timezone--midnight.jsx-115352195{background-color:#5543b2;}"]})]})}},34018:function(e,t,n){"use strict";n.d(t,{u:function(){return l}});var r=n(59499),i=n(95627),o=n.n(i),a=n(85893);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 c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?s(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var l=function(e){var t=null!==e&&void 0!==e&&e.theme?"badge--".concat(null===e||void 0===e?void 0:e.theme):"badge--primary";return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",c(c({},e),{},{className:"jsx-1414873367 "+"badge ".concat(t," ").concat(null===e||void 0===e?void 0:e.className),children:e.children})),(0,a.jsx)(o(),{id:"1414873367",children:[".badge.jsx-1414873367{display:inline-block;border-radius:0.125rem;border-width:1px;padding-left:0.5rem;padding-right:0.5rem;padding-top:0.25rem;padding-bottom:0.25rem;font-size:0.75rem;line-height:1rem;line-height:1;}",".badge--primary.jsx-1414873367{--tw-border-opacity:1;border-color:rgba(188,0,16,var(--tw-border-opacity));--tw-bg-opacity:1;background-color:rgba(188,0,16,var(--tw-bg-opacity));--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity));}",".badge--primary-inverse.jsx-1414873367{--tw-border-opacity:1;border-color:rgba(188,0,16,var(--tw-border-opacity));--tw-bg-opacity:1;background-color:rgba(255,255,255,var(--tw-bg-opacity));--tw-text-opacity:1;color:rgba(188,0,16,var(--tw-text-opacity));}","._dark .badge--primary-inverse.jsx-1414873367{--tw-bg-opacity:1;background-color:rgba(24,32,39,var(--tw-bg-opacity));}"]})]})}}
1,77033:function(e,t,n){"use strict";n.d(t,{We:function(){return v},Q$:function(){return m},pg:function(){return _},de:function(){return x}});var r=n(59499);function i(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var o=n(95627),a=n.n(o),s=n(94184),c=n.n(s),l=n(41664),u=n.n(l),d=n(85893),f=["href"];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 p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var m=function(e){var t=e.theme||"primary",n=c()("button button--".concat(t),e.className),r=e.type||"button",o=e.href,s=i(e,f);return(0,d.jsxs)(d.Fragment,{children:[o?(0,d.jsx)(u(),{href:o,children:(0,d.jsx)("a",p(p({},s),{},{className:"jsx-2171994817 "+"".concat(n," ").concat(e.disabled&&"disabled"),children:e.children}))}):(0,d.jsx)("button",p(p({},s),{},{onClick:e.onClick,type:r,className:"jsx-2171994817 "+(n||""),children:e.children})),(0,d.jsx)(a(),{id:"2171994817",children:[".button.jsx-2171994817{position:relative;display:inline-block;width:100%;border-radius:9999px;border-width:1px;border-style:solid;padding-left:1rem;padding-right:1rem;padding-top:0.75rem;padding-bottom:0.75rem;text-align:center;font-size:0.875rem;line-height:1.25rem;font-weight:600;}",".button.jsx-2171994817:hover{opacity:0.8;}",".button.jsx-2171994817:focus{outline:2px solid transparent;outline-offset:2px;}",".button--primary.jsx-2171994817{--tw-border-opacity:1;border-color:rgba(188,0,16,var(--tw-border-opacity));--tw-bg-opacity:1;background-color:rgba(188,0,16,var(--tw-bg-opacity));--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity));}",".button--ash.jsx-2171994817{--tw-border-opacity:1;border-color:rgba(224,224,224,var(--tw-border-opacity));--tw-bg-opacity:1;background-color:rgba(224,224,224,var(--tw-bg-opacity));--tw-text-opacity:1;color:rgba(20,19,19,var(--tw-text-opacity));}",".button--bordered-rouge.jsx-2171994817{--tw-border-opacity:1;border-color:rgba(188,0,16,var(--tw-border-opacity));--tw-text-opacity:1;color:rgba(188,0,16,var(--tw-text-opacity));}",".button--bordered-sky.jsx-2171994817{--tw-border-opacity:1;border-color:rgba(36,182,247,var(--tw-border-opacity));--tw-text-opacity:1;color:rgba(36,182,247,var(--tw-text-opacity));}",".button--bordered-ink.jsx-2171994817{--tw-border-opacity:1;border-color:rgba(20,19,19,var(--tw-border-opacity));--tw-bg-opacity:1;background-color:rgba(255,255,255,var(--tw-bg-opacity));--tw-text-opacity:1;color:rgba(20,19,19,var(--tw-text-opacity));}","._dark .button--bordered-ink.jsx-2171994817{--tw-text-opacity:1;color:rgba(20,19,19,var(--tw-text-opacity));}",".button.jsx-2171994817:disabled,.button.disabled.jsx-2171994817{cursor:not-allowed;--tw-border-opacity:1;border-color:rgba(203,203,202,var(--tw-border-opacity));--tw-bg-opacity:1;background-color:rgba(203,203,202,var(--tw-bg-opacity));--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity));}",".button.jsx-2171994817:disabled.jsx-2171994817:hover,.button.disabled.jsx-2171994817:hover{opacity:1;}","._dark .button--bordered-rouge.jsx-2171994817{--tw-bg-opacity:1;background-color:rgba(255,255,255,var(--tw-bg-opacity));}"]})]})};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 y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?g(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var v=function(e){var t=c()("button",e.className);return(0,d.jsxs)(d.Fragment,{children:[e.href?(0,d.jsx)(u(),{href:e.href,children:(0,d.jsx)("a",{className:"jsx-3146274147 "+(t||""),children:e.children})}):(0,d.jsx)("button",y(y({},e),{},{onClick:e.onClick,type:"button",className:"jsx-3146274147 "+(t||""),children:e.children})),(0,d.jsx)(a(),{id:"3146274147",children:[".button.jsx-3146274147{display:inline-block;border-radius:0.125rem;--tw-bg-opacity:1;background-color:rgba(224,224,224,var(--tw-bg-opacity));padding-left:1rem;padding-right:1rem;padding-top:0.5rem;padding-bottom:0.5rem;text-align:center;}","._dark .button.jsx-3146274147{--tw-bg-opacity:1;background-color:rgba(18,24,29,var(--tw-bg-opacity));}"]})]})},b=n(67294),_=function(e){var t=e.tabs,n=e.defaultTabIndex,r=e.buttonClass,i=(0,b.useState)(0),o=i[0],s=i[1];return(0,b.useEffect)((function(){s(n||0)}),[n]),(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"jsx-1572230828",children:[(0,d.jsx)("div",{role:"group",className:"jsx-1572230828 msi__tab _mb-4",children:t.map((function(e,t){return(0,d.jsx)("button",{onClick:function(){return function(e){s(e)}(t)},className:"jsx-1572230828 "+"".concat(t===o&&"_bg-rouge"," ").concat(r||""),children:e.title},t)}))}),(0,d.jsx)("div",{className:"jsx-1572230828",children:t[o].content})]}),(0,d.jsx)(a(),{id:"1572230828",children:[".msi__tab.jsx-1572230828{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;border-radius:0.375rem;--tw-shadow:0 1px 2px 0 rgba(0,0,0,0.05);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-sha
1dow);}",".msi__tab.jsx-1572230828>button.jsx-1572230828{width:100%;--tw-bg-opacity:1;background-color:rgba(89,88,86,var(--tw-bg-opacity));padding-left:1rem;padding-right:1rem;padding-top:0.5rem;padding-bottom:0.5rem;font-size:0.875rem;line-height:1.25rem;font-weight:500;font-weight:600;--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity));}",".msi__tab.jsx-1572230828>button.jsx-1572230828:first-child{border-top-left-radius:9999px;border-bottom-left-radius:9999px;}",".msi__tab.jsx-1572230828>button.jsx-1572230828:last-child{border-top-right-radius:9999px;border-bottom-right-radius:9999px;}"]})]})},x=function(e){var t=e.tabs;return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("div",{className:"jsx-2153519974",children:(0,d.jsx)("div",{role:"group",className:"jsx-2153519974 msi__tab _mb-4",children:t.map((function(e,t){return(0,d.jsx)(u(),{href:null===e||void 0===e?void 0:e.href,children:(0,d.jsx)("a",{className:"jsx-2153519974 "+"".concat((null===e||void 0===e?void 0:e.active)&&"_bg-rouge"),children:e.title})},t)}))})}),(0,d.jsx)(a(),{id:"2153519974",children:[".msi__tab.jsx-2153519974{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;border-radius:0.375rem;--tw-shadow:0 1px 2px 0 rgba(0,0,0,0.05);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-sha
1dow);}",".msi__tab.jsx-2153519974>a.jsx-2153519974{display:block;width:100%;--tw-bg-opacity:1;background-color:rgba(89,88,86,var(--tw-bg-opacity));padding-left:1rem;padding-right:1rem;padding-top:0.5rem;padding-bottom:0.5rem;text-align:center;font-size:0.875rem;line-height:1.25rem;font-weight:500;font-weight:600;--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity));}",".msi__tab.jsx-2153519974>a.jsx-2153519974:first-child{border-top-left-radius:9999px;border-bottom-left-radius:9999px;}",".msi__tab.jsx-2153519974>a.jsx-2153519974:last-child{border-top-right-radius:9999px;border-bottom-right-radius:9999px;}"]})]})}},97813:function(e,t,n){"use strict";n.d(t,{We:function(){return r.We},Q$:function(){return r.Q$},X6:function(){return m},hq:function(){return h},u_:function(){return x},P_:function(){return p},tl:function(){return T},A9:function(){return P}});var r=n(77033),i=(n(34018),n(95627)),o=n.n(i),a=n(94184),s=n.n(a),c=n(41664),l=n.n(c),u=n(67814),d=n(51436),f=n(85893),h=function(e){var t=s()("link",e.className);return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(l(),{href:e.href,children:(0,f.jsxs)("a",{className:"jsx-3482998892 "+(t||""),children:[e.children,(0,f.jsx)(u.G,{icon:d.yOZ,className:"_text-xl _text-ash dark:_text-dark-1"})]})}),(0,f.jsx)(o(),{id:"3482998892",children:[".link.jsx-3482998892{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding:1.25rem;}"]})]})},p=function(e){var t=e.theme||"danger",n=s()("notification notification--".concat(t),e.className);return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("div",{className:"jsx-2419096871 "+(n||""),children:e.children}),(0,f.jsx)(o(),{id:"2419096871",children:[".notification.jsx-2419096871{width:100%;padding:0.5rem;font-size:0.875rem;line-height:1.25rem;}",".notification--danger.jsx-2419096871{background-color:#ffd8db;color:#8a000c;}",".notification--warning.jsx-2419096871{background-color:#fff8e4;color:#b28e18;}",".notification--success.jsx-2419096871{background-color:#e2f6ff;color:#1e8cbc;}"]})]})},m=function(e){return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("h1",{className:"jsx-1021557036 ah",children:e.children}),(0,f.jsx)(o(),{id:"1021557036",children:[".ah.jsx-1021557036{--tw-bg-opacity:1;background-color:rgba(188,0,16,var(--tw-bg-opacity));padding-left:1.25rem;padding-right:1.25rem;padding-top:1.75rem;padding-bottom:1.75rem;text-align:right;font-size:1.25rem;line-height:1.75rem;font-weight:600;--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity));}","@media (min-width:1200px){.ah.jsx-1021557036{margin-bottom:1.25rem;border-radius:0.5rem;text-align:center;}}"]})]})},g=n(67294);function y(){return!("undefined"===typeof window||!window.document||!window.document.createElement)}var v=y()?g.useLayoutEffect:g.useEffect;var b=n(73935);var _=function(e){var t=e.children,n=e.type,r=void 0===n?"reach-portal":n,i=(0,g.useRef)(null),o=(0,g.useRef)(null),a=function(){var e=(0,g.useState)(Object.create(null))[1];return(0,g.useCallback)((function(){e(Object.create(null))}),[])}();return v((function(){if(i.current){var e=i.current.ownerDocument;return o.current=null==e?void 0:e.createElement(r),e.body.appendChild(o.current),a(),function(){o.current&&o.current.ownerDocument&&o.current.ownerDocument.body.removeChild(o.current)}}}),[r,a]),o.current?(0,b.createPortal)(t,o.current):(0,g.createElement)("span",{ref:i})},x=function(e){var t=e.children,n=e.open,r=e.onClose,i=(e._onEnter,e.head),a=(0,g.useRef)(),s=(0,g.useCallback)((function(e){if("Escape"===e.key)return r()}),[r]);return(0,g.useEffect)((function(){return a.current&&n&&window.addEventListener("keydown",s),function(){window.removeEventListener("keydown",s)}}),[n,s]),(0,f.jsxs)(_,{children:[n?(0,f.jsx)("div",{className:"jsx-2785
1505381 root",children:(0,f.jsxs)("div",{role:"dialog",ref:a,className:"jsx-2785505381 modal",children:[i?(0,f.jsx)("h3",{className:"jsx-2785505381 modal__head",children:i}):null,(0,f.jsx)("div",{className:"jsx-2785505381 modal__body",children:t})]})}):null,(0,f.jsx)(o(),{id:"2785505381",children:[".root.jsx-2785505381{position:fixed;top:0px;right:0px;bottom:0px;left:0px;z-index:50;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;background-color:rgba(0,0,0,0.65);}",".modal.jsx-2785505381{max-width:95%;position:relative;margin-left:1.75rem;margin-right:1.75rem;border-radius:0.75rem;border-width:1px;--tw-bg-opacity:1;background-color:rgba(255,255,255,var(--tw-bg-opacity));padding:1.25rem;}","@media (min-width:1200px){.modal.jsx-2785505381{max-width:440px;}}",".modal__head.jsx-2785505381{margin-bottom:1.25rem;border-bottom-width:1px;--tw-border-opacity:1;border-color:rgba(203,203,202,var(--tw-border-opacity));padding-top:0.5rem;padding-bottom:1.25rem;text-align:center;font-weight:700;}","._dark .modal.jsx-2785505381{--tw-bg-opacity:1;background-color:rgba(24,32,39,var(--tw-bg-opacity));}",".modal.jsx-2785505381:focus{outline:2px solid transparent;outline-offset:2px;}"]})]})},w=n(59499),S=n(11358),E=n.n(S);function O(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 k(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O(Object(n),!0).forEach((function(t){(0,w.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var T=function(e){return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("div",{className:"jsx-212152652 pagination",children:(0,f.jsx)(E(),k(k({},e),{},{previousLabel:"\u524d",nextLabel:"\u6b21"}))}),(0,f.jsx)(o(),{id:"212152652",children:[".pagination.jsx-212152652>ul{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;}",".pagination.jsx-212152652>ul > li{border-width:1px;border-left-width:0px;--tw-border-opacity:1;border-color:rgba(224,224,224,var(--tw-border-opacity));--tw-bg-opacity:1;background-color:rgba(255,255,255,var(--tw-bg-opacity));}","._dark .pagination.jsx-212152652>ul > li{--tw-border-opacity:1;border-color:rgba(34,49,58,var(--tw-border-opacity));--tw-bg-opacity:1;background-color:rgba(24,32,39,var(--tw-bg-opacity));}",".pagination.jsx-212152652>ul > li:first-child{border-left-width:1px;}",".pagination.jsx-212152652>ul > li > a{display:inline-block;padding-left:0.75rem;padding-right:0.75rem;padding-top:0.5rem;padding-bottom:0.5rem;}",".pagination.jsx-212152652>ul > li.selected > a{--tw-bg-opacity:1;background-color:rgba(188,0,16,var(--tw-bg-opacity));--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity));}"]})]})},P=function(e){var t=e.theme||"rouge";return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("div",{className:"jsx-3530166134 "+"sbar _bg-".concat(t," ").concat(e.className),children:(0,f.jsxs)("div",{className:"jsx-3530166134 _flex _items-center",children:[(0,f.jsx)(u.G,{icon:d.qmU,className:"_mr-3"}),(0,f.jsx)("div",{className:"jsx-3530166134",children:e.children})]})}),(0,f.jsx)(o(),{id:"3530166134",children:[".sbar.jsx-3530166134{width:100%;border-radius:0.375rem;padding-left:0.75rem;padding-right:0.75rem;padding-top:0.5rem;padding-bottom:0.5rem;font-size:0.875rem;line-height:1.25rem;--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity));box-shadow:0px 2px 4px #00000033;}"]})]})}},8919:function(e,t,n){"use strict";var r=n(67294);t.Z=function(){var e=(0,r.useState)(0),t=e[0],n=e[1],i=(0,r.useState)(0),o=i[0],a=i[1];return(0,r.useEffect)((function(){var e,t;n((null===(e=document.getElementById("site-header"))||void 0===e?void 0:e.clientHeight)||0),a((null===(t=document.getElementById("site-header-notice"))||void 0===t?void 0:t.clientHeight)||0)}),[]),{headerHeight:t,noticeHeight:o}}},16117:function(e,t,n){"use strict";n.d(t,{OA:function(){return p},nX:function(){return m}});var r,i=n(16835),o=n(71383),a=n(67294),s=n(26997),c=n(92432),l=n(63952),u=n(85893),d={jushouEvents:[],onlineStatus:null},f=(0,s.Ps)(r||(r=(0,o.Z)(["\n query getJushouEvents($openDay: ISO8601Date!, $jushouType: JushouTypeEnum, $openSeq: Int) {\n jushouEvents(openDay: $openDay, jushouType: $jushouType, openSeq: $openSeq) {\n id\n hidden\n openDay\n velCode\n velName\n saleStatus\n raceSet\n jushouType\n openSeq\n refundableAmount\n jushouCarryOver {\n prevAmount\n nextAmount\n }\n races {\n id\n deadlineAt\n raceNum\n hidden\n }\n }\n }\n"]))),h=a.createContext(d),p=function(e){var t=e.children,n=(0,l.xy)().onlineStatus,r=null===n||void 0===n?void 0:n.openDay,o=(0,c.aM)({query:f,variables:{openDay:r}}),s=(0,i.Z)(o,1)[0].data,d={jushouEvents:(0,a.useMemo)((function(){return s?s.jushouEvents:[]}),[s]),onlineStatus:n};return(0,u.jsx)(h.Provider,{value:d,children:t})};function m(){var e=a.useContext(h);if(void 0===e)throw new Error("useJushou must be used within a JushouProvider");return e}},74994:function(e,t,n){"use strict";n.d(t,{hW:function(){return d},jw:function(){return u}});var r=n(67294),i=n(30587),o=n(43547),a=n.n(o),s=n(85893),c={mobileView:"(max-width: calc(".concat(a().theme.screens.md," - 1px))"),voteSm:"(max-width: ".concat(a().theme.screens["vote-sm"],")"),voteMd:"(min-width: calc(".concat(a().theme.screens["vote-sm"]," + 1px)) and (max-width: ").concat(a().theme.screens["vote-md"],")"),prefersReducedMotion:"(prefers-reduced-motion: reduce)"},l=(0,r.createContext)(null),u=function(e){var t=e.children,n=(0,r.useState)("light"),o=n[0],a=n[1],u=(0,i.ZP)(c.mobileView),d=(0,i.ZP)(c.voteSm),f=(0,i.ZP)(c.voteMd),h=(0,i.ZP)(c.prefersReducedMotion),p=(0,r.useMemo)((function(){return{screenMobile:u,screenVoteSm:d,screenVoteMd:f,prefersReducedMotion:h,colorScheme:o,setColorScheme:a}}),[u,d,f,h,o,a]);return(0,s.jsx)(l.Provider,{value:p,children:t})};function d(){return(0,r.useContext)(l)}},35861:function(e,t,n){"use strict";n.d(t,{SO:function(){return m},wl:function(){return p}});var r=n(59499),i=n(67294),o=n(11163),a=n.n(o),s=n(18172),c=n(85893);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;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?l(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d={targetJushouEvent:null,targetRaceInJushou:null,jushouInputs:[],jushouFormationInputs:[],draftCart:{jushouTypeItems:[]},fixedCart:{jushouTypeItems:[]},eachVotes:1,playResult:null},f=i.createContext(d);function h(e,t){switch(t.type){case"UPDATE_TARGET_JUSHOU_EVENT":return u(u({},e),{},{targetJushouEvent:t.payload});case"UPDATE_TARGET_RACE_IN_JUSHOU":return u(u({},e),{},{targetRaceInJushou:t.payload});case"UPDATE_JUSHOU_INPUTS":return u(u({},e),{},{jushouInputs:t.payload});case"UPDATE_JUSHOU_FORMATION_INPUTS":return u(u({},e),{},{jushouFormationInputs:t.payload});case"UPDATE_FIXED_CART":return u(u({},e),{},{fixedCart:t.fixedCart});case"UPDATE_DRAFT_CART":return u(u({},e),{},{draftCart:t.draftCart});case"UPDATE_RESULT_PACKS":return u(u({},e),{},{playResult:t.playResult});case"UPDATE_EACH_VOTES":return u(u({},e),{},{eachVotes:t.eachVotes});default:throw new Error("Unhandled action type")}}var p=function(e){var t=e.children,n=(0,i.useReducer)(h,d),r=n[0],o=n[1],l=function(e){o({type:"UPDATE_TARGET_JUSHOU_EVENT",payload:e})},p=function(e){o({type:"UPDATE_TARGET_RACE_IN_JUSHOU",payload:e})},m=function(e){o({type:"UPDATE_JUSHOU_INPUTS",payload:e})},g=function(e){o({type:"UPDATE_JUSHOU_FORMATION_INPUTS",payload:e})},y=function(e){o({type:"UPDATE_EACH_VOTES",eachVotes:e})},v=function(){o({type:"UPDATE_DRAFT_CART",draftCart:{jushouTypeItems:[]}})},b=function(e){var t=(0,s.ZP)(e,(function(e){e.jushouTypeItems.forEach((function(t,n){t.demeItems.every((function(e){return e.votes===t.demeItems[0].votes}))?e.jushouTypeItems.splice(n,1,u(u({},t),{},{closed:!0})):e.jushouTypeItems.splice(n,1,u(u({},t),{},{closed:!1})),t.demeItems.forEach((function(e,n){(!e.votes||e.votes<0)&&t.demeItems.splice(n,1,u(u({},e),{},{votes:0}))}))}))}));o({type:"UPDATE_DRAFT_CART",draftCart:t})},_=function(e){var t=(0,s.ZP)(e,(function(e){e.jushouTypeItems.forEach((function(t,n){t.demeItems.every((function(e){return e.votes===t.demeItems[0].votes})),e.jushouTypeItems.splice(n,1,u({},t)),t.demeItems.forEach((function(e,n){(!e.votes||e.votes<0)&&t.demeItems.splice(n,1,u(u({},e),{},{votes:0}))}))}))}));o({type:"UPDATE_FIXED_CART",fixedCart:t})},x=function(){var e=(0,s.ZP)(r.fixedCart,(function(e){e.jushouTypeItems=e.jushouTypeItems.concat(r.draftCart.jushouTypeItems)}));o({type:"UPDATE_FIXED_CART",fixedCart:e})},w=function(){var e=(0,s.ZP)(r.jushouInputs,(function(e){return null===e||void 0===e?void 0:e.map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return u(u({},e),{},{race1:!1,race2:!1,race3:!1,race4:!1})}))}))}));m(e)},S=function(){var e=(0,s.ZP)(r.jushouFormationInputs,(function(e){return null===e||void 0===e?void 0:e.map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return null===e||void 0===e?void 0:e.map((function(e){return u(u({},e),{},{checked:!1})}))}))}))}));g(e)},E=function(){o({type:"UPDATE_FIXED_CART",fixedCart:{jushouTypeItems:[]}})},O=function(e){o({type:"UPDATE_RESULT_PACKS",playResult:e})},k=(0,i.useMemo)((function(){return u(u({},r),{},{setTargetJushouEvent:l,setTargetRaceInJushou:p,setJushouInputs:m,setJushouFormationInputs:g,initializeDraftCart:v,setDraftCart:b,setFixedCart:_,moveDraftToFixed:x,clearAllCheckJushouInputs:w,clearAllCheckJushouFormationInputs:S,initializeFixedCart:E,setPlayResult:O,setEachVotes:y})}),[r]);return(0,i.useEffect)((function(){var e;null!==r&&void 0!==r&&null!==(e=r.targetJushouEvent)&&void 0!==e&&e.hidden&&(null===a()||void 0===a()||a().push("/"))}),[null===r||void 0===r?void 0:r.targetJushouEvent]),(0,c.jsx)(f.Provider,{value:k,children:t})};function m(){var e=(0,i.useContext)(f);if(null===e)throw new Error("usePlayJushou must be used within a PlayJushouProvider");return e}},63952:function(e,t,n){"use strict";n.d(t,{$7:function(){return l},xy:function(){return u}});var r=n(16835),i=n(67294),o=n(92432),a=n(85893),s={onlineStatus:null,races:[],activeBetTypes:[]},c=i.createContext(s),l=function(e){var t=e.children,n=(0,o.aM)({query:"\n query {\n onlineStatus {\n openDay\n jushouSaleOn\n }\n activeBetTypes\n }\n"}),s=(0,r.Z)(n,1)[0].data,l=null===s||void 0===s?void 0:s.onlineStatus,u=null===s||void 0===s?void 0:s.activeBetTypes,d=(0,o.aM)({query:"\n query ($openD
1ay: ISO8601Date) {\n races(openDay: $openDay) {\n id\n velCode\n raceNum\n grade\n timezone\n velName\n nitiji\n raceNum\n startsAt\n deadlineAt\n avsStatus\n hidden\n saleStatus\n abortType\n openDay\n raceProgram {\n situation\n weatherName\n }\n }\n }\n",variables:{openDay:null===l||void 0===l?void 0:l.openDay},pause:!l}),f=(0,r.Z)(d,1)[0].data,h=(0,i.useMemo)((function(){return{onlineStatus:l||null,races:(null===f||void 0===f?void 0:f.races)||[],activeBetTypes:u||[]}}),[l,f,u]);return(0,a.jsx)(c.Provider,{value:h,children:t})};function u(){var e=(0,i.useContext)(c);if(null===e)throw new Error("RaceProvider \u3067\u30e9\u30c3\u30d7\u3057\u3066\u304f\u3060\u3055\u3044");return e}},41594:function(e,t,n){"use strict";n.d(t,{Gx:function(){return m},aF:function(){return w},dr:function(){return x}});var r,i,o=n(16835),a=n(59499),s=n(71383),c=n(67294),l=n(11163),u=n(26997),d=n(92432),f=n(85893);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 p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){(0,a.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var m="\nuserNumber\nctybBalanceStatus\nctybCourse\npaymentLocked\nuserType\nlastName\nfirstName\nlastKana\nfirstKana\nbirthOn\nemail\nletterAddrType\norderLimit\norderLimitIncreaseableOn\norderLimitUpdatedOn\ntel1\ntel2\norderPinSkipped\norderNoticeEnabled\nraceResultNoticeEnabled\npointExpireNoticeEnabled\nemailNewsEnabled\nletterEnabled\ndepositNoticeEnabled\nhitNoticeEnabled\nperiodicWithdrawalNoticeEnabled\nwithdrawalNoticeEnabled\nlineSub\nemailConfirmed\naddresses {\n addrLine\n addrType\n prefectureCode\n prefectureName\n zipcode\n}\nuserAmount {\n cash\n points\n refunds\n}\nuserTotal {\n orderPackCount\n orderItemCount\n receptionCount\n orderVotes\n}\nidentification {\n approvedAt\n createdAt\n id\n status\n updatedAt\n userId\n}\nidentificationApproved\n",g={currentUser:null},y=(0,u.Ps)(r||(r=(0,s.Z)(["\n mutation ($input: UserLogoutInput!) {\n userLogout(input: $input) {\n result\n }\n }\n"]))),v=(0,u.Ps)(i||(i=(0,s.Z)(["\n query {\n currentUser {\n ","\n }\n }\n"])),m),b=c.createContext(g);function _(e,t){if("UPDATE_CURRENT_USER"===t.type)return p(p({},e),{},{currentUser:t.currentUser})}var x=function(e){var t=e.children,n=(0,l.useRouter)(),r=(0,c.useReducer)(_,g),i=r[0],a=r[1],s=(0,c.useState)(""),u=s[0],h=s[1],m=(0,d.Db)(y),x=(0,o.Z)(m,2)[1],w=(0,d.aM)({query:v}),S=(0,o.Z)(w,2),E=S[0],O=S[1],k=function(e){a({type:"UPDATE_CURRENT_USER",currentUser:e||null})},T=function(){x({input:{clientMutationId:""}}).then((function(e){var t,r;null!==e&&void 0!==e&&null!==(t=e.data)&&void 0!==t&&null!==(r=t.userLogout)&&void 0!==r&&r.result&&(a({type:"UPDATE_CURRENT_USER",currentUser:null}),n.push("/login"))}))},P=function(){O({requestPolicy:"network-only"})};(0,c.useEffect)((function(){var e,t,r,o,s,c;E.fetching||((null===E||void 0===E||null===(e=E.error)||void 0===e?void 0:e.graphQLErrors.find((function(e){return"Unauthenticated"===e.message})))&&null!==(t=n.pathname)&&void 0!==t&&t.match(/vote|jushou|mypage|race_results|signup\/ekyc/g)&&(h(n.asPath),n.push("/login")),"CLS"!==(null===i||void 0===i||null===(r=i.currentUser)||void 0===r?void 0:r.userType)||null!==i&&void 0!==i&&null!==(o=i.currentUser)&&void 0!==o&&o.emailConfirmed||null!==(s=n.pathname)&&void 0!==s&&s.match(/mypage\/cashless|mypage\/mail\//g)||n.push("/mypage/cashless/mail"),a({type:"UPDATE_CURRENT_USER",currentUser:(null===E||void 0===E||null===(c=E.data)||void 0===c?void 0:c.currentUser)||null}))}),[E.fetching]);var j=(0,c.useMemo)((function(){return p(p({},i),{},{redirectAfterLoginPath:u,setRedirectAfterLoginPath:h,logout:T,setCurrentUser:k,refetchCurrentUser:P,currentUserResult:E})}),[i,E.data]);return(0,f.jsx)(b.Provider,{value:j,children:t})};function w(){var e=(0,c.useContext)(b);if(null===e)throw new Error("UserProvider \u3067\u30e9\u30c3\u30d7\u3057\u3066\u304f\u3060\u3055\u3044");return e}},63161:function(e,t,n){"use strict";var r=n(91575),i=n(41594);t.Z=function(){var e,t,n=(0,i.aF)().currentUser,o=null===n||void 0===n||null===(e=n.addresses)||void 0===e?void 0:e.find((function(e){return"ADDR1"===e.addrType})),a=null===n||void 0===n||null===(t=n.addresses)||void 0===t?void 0:t.find((function(e){return"ADDR2"===e.addrType})),s=null!==n&&void 0!==n&&n.letterAddrType?r.sB[null===n||void 0===n?void 0:n.letterAddrType]:"",c="PMT_AGENT"===(null===n||void 0===n?void 0:n.userType)||"CLS"===(null===n||void 0===n?void 0:n.userType),l="PMT_AGENT"===(null===n||void 0===n?void 0:n.userType)||(null===n||void 0===n?void 0:n.identification),u="PMT_AGENT"===(null===n||void 0===n?void 0:n.userType)||"CLS"===(null===n||void 0===n?void 0:n.userType)?"/mypage/remit/":"/mypage/withdraw/",d="PMT_AGENT"===(null===n||void 0===n?void 0:n.userType)||"CLS"===(null===n||void 0===n?void 0:n.userType)?"\u30c1\u30e3\u30fc\u30b8":"\u5165\u91
1d1\u30fb\u30c1\u30e3\u30fc\u30b8",f="JPB_DIRECT"===(null===n||void 0===n?void 0:n.userType)||"RKB_DIRECT"===(null===n||void 0===n?void 0:n.userType)||"PYB_DIRECT"===(null===n||void 0===n?void 0:n.userType)||"SMBC_DIRECT"===(null===n||void 0===n?void 0:n.userType),h="PMT_AGENT"===(null===n||void 0===n?void 0:n.userType)||"CLS"===(null===n||void 0===n?void 0:n.userType)||f,p="CTYB"===(null===n||void 0===n?void 0:n.userType)||f,m=f||"PMT_AGENT"===(null===n||void 0===n?void 0:n.userType)||"CLS"===(null===n||void 0===n?void 0:n.userType),g="PMT_AGENT"===(null===n||void 0===n?void 0:n.userType)||"CLS"===(null===n||void 0===n?void 0:n.userType);return{addr1:o,addr2:a,letterAddrTypeLabel:s,USER_LETTER_ADDR_TYPE_LABEL:r.sB,chargeURL:"/mypage/charge/",remitURL:u,chargeLable:d,isBankDirectUser:f,isUsablePaymentService:h,isRemitUser:c,isApprovedPmtUser:l,isVotableWithCash:p,isVotableWithPoint:m,isVotableWithRefund:g,currencyUnit:function(){return f?"\u5186/pt":"PMT_AGENT"===(null===n||void 0===n?void 0:n.userType)?"pt":"\u5186"}}}},15019:function(e,t,n){"use strict";n.d(t,{GF:function(){return g},rv:function(){return y}});var r=n(16835),i=n(59499),o=n(67294),a=n(18172),s=n(63952),c=n(11163),l=n.n(c),u=n(85893);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 f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){(0,i.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var h={targetRace:null,selectedBetType:{sanrentan:{name:"\uff13\u9023\u5358",selected:!0,status:"ON_SALE"},sanrenfuku:{name:"\uff13\u9023\u8907",selected:!1,status:"ON_SALE"},nirentan:{name:"\uff12\u9023\u5358",selected:!1,status:"ON_SALE"},nirenfuku:{name:"\uff12\u9023\u8907",selected:!1,status:"ON_SALE"},wide:{name:"\u30ef\u30a4\u30c9",selected:!1,status:"ON_SALE"},tanshou:{name:"\u5358\u52dd",selected:!1,status:"ON_SALE"},fukushou:{name:"\u8907\u52dd",selected:!1,status:"ON_SALE"}},voteInputs:[],draftCart:{betItems:[]},fixedCart:{betItems:[]},voteResult:null,eachVotes:1},p=o.createContext(h);function m(e,t){switch(t.type){case"UPDATE_TARGET_RACE":return f(f({},e),{},{targetRace:t.race||null});case"UPDATE_SELECTED_BETTYPE":return f(f({},e),{},{selectedBetType:t.selectedBetType});case"UPDATE_VOTE_INPUTS":return f(f({},e),{},{voteInputs:t.voteInputs});case"UPDATE_FIXED_CART":return f(f({},e),{},{fixedCart:t.fixedCart});case"UPDATE_DRAFT_CART":return f(f({},e),{},{draftCart:t.draftCart});case"UPDATE_RESULT_PACKS":return f(f({},e),{},{voteResult:t.voteResult});case"UPDATE_EACH_VOTES":return f(f({},e),{},{eachVotes:t.eachVotes})}}var g=function(e){var t=e.children,n=(0,s.xy)().activeBetTypes,c=(0,o.useReducer)(m,h),d=c[0],g=c[1],y=function(e){g({type:"UPDATE_TARGET_RACE",race:e})},v=function(e){g({type:"UPDATE_VOTE_INPUTS",voteInputs:e})},b=function(){g({type:"UPDATE_DRAFT_CART",draftCart:{betItems:[]}})},_=function(e){var t=(0,a.ZP)(e,(function(e){e.betItems.forEach((function(t,n){t.demeItems.every((function(e){return e.votes===t.demeItems[0].votes}))?e.betItems.splice(n,1,f(f({},t),{},{voteType:"FORMATION",closed:!0})):e.betItems.splice(n,1,f(f({},t),{},{voteType:"BASIC",closed:!1})),t.demeItems.forEach((function(e,n){(!e.votes||e.votes<0)&&t.demeItems.splice(n,1,f(f({},e),{},{votes:0}))}))}))}));g({type:"UPDATE_DRAFT_CART",draftCart:t})},x=function(){g({type:"UPDATE_FIXED_CART",fixedCart:{betItems:[]}})},w=function(e){var t=(0,a.ZP)(e,(function(e){e.betItems.forEach((function(t,n){t.demeItems.every((function(e){return e.votes===t.demeItems[0].votes}))?e.betItems.splice(n,1,f(f({},t),{},{voteType:"FORMATION"})):e.betItems.splice(n,1,f(f({},t),{},{voteType:"BASIC"})),t.demeItems.forEach((function(e,n){(!e.votes||e.votes<0)&&t.demeItems.splice(n,1,f(f({},e),{},{votes:0}))}
1))}))}));g({type:"UPDATE_FIXED_CART",fixedCart:t})},S=function(){var e=(0,a.ZP)(d.fixedCart,(function(e){e.betItems=e.betItems.concat(d.draftCart.betItems)}));g({type:"UPDATE_FIXED_CART",fixedCart:e})},E=function(e){var t=(0,a.ZP)(d.fixedCart,(function(t){t.betItems.push(e)}));g({type:"UPDATE_FIXED_CART",fixedCart:t})},O=function(e){g({type:"UPDATE_RESULT_PACKS",voteResult:e})},k=function(e){g({type:"UPDATE_EACH_VOTES",eachVotes:e})},T=function(e){g({type:"UPDATE_SELECTED_BETTYPE",selectedBetType:f(f({},d.selectedBetType),{},(0,i.Z)({},e,f(f({},d.selectedBetType[e]),{},{selected:"ON_SALE"===d.selectedBetType[e].status&&!d.selectedBetType[e].selected})))})},P=function(){var e=(0,a.ZP)(d.voteInputs,(function(e){return null===e||void 0===e?void 0:e.map((function(e){return f(f({},e),{},{first:!1,second:!1,third:!1,box:!1})}))}));v(e)},j=function(){var e=(0,a.ZP)(d.selectedBetType,(function(){return h.selectedBetType}));g({type:"UPDATE_SELECTED_BETTYPE",selectedBetType:e})};(0,o.useEffect)((function(){var e;if(null!==d&&void 0!==d&&null!==(e=d.targetRace)&&void 0!==e&&e.hidden&&(null===l()||void 0===l()||l().push("/")),null!==d&&void 0!==d&&d.targetRace){var t=(0,a.ZP)(null===d||void 0===d?void 0:d.selectedBetType,(function(e){for(var t=0,i=Object.entries(null===d||void 0===d?void 0:d.selectedBetType);t<i.length;t++){var o,a,s=(0,r.Z)(i[t],1)[0];e[s].status=(null===d||void 0===d||null===(o=d.targetRace)||void 0===o||null===(a=o.raceStatus)||void 0===a?void 0:a["bet".concat(s.charAt(0).toUpperCase()+s.slice(1),"SaleStatus")])||"UNREGISTERED",n.includes(s.toUpperCase())&&"ON_SALE"===e[s].status||(e[s].selected=!1)}}));g({type:"UPDATE_SELECTED_BETTYPE",selectedBetType:t})}}),[null===d||void 0===d?void 0:d.targetRace,n]);var D=(0,o.useMemo)((function(){return f(f({},d),{},{setTargetRace:y,setVoteInputs:v,switchBetType:T,setDraftCart:_,setFixedCart:w,moveDraftToFixed:S,addOddsBetItem:E,setVoteResult:O,setEachVotes:k,initializeFixedCart:x,initializeDraftCart:b,initializeSelectedBetType:j,clearAllCheckVoteInputs:P})}),[d]);return(0,u.jsx)(p.Provider,{value:D,children:t})};function y(){var e=(0,o.useContext)(p);if(null===e)throw new Error("VoteProvider \u3067\u30e9\u30c3\u30d7\u3057\u3066\u304f\u3060\u3055\u3044");return e}},14603:function(e,t,n){"use strict";var r=n(95659);function i(e){if("boolean"===typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;const t=(0,r.Gd)().getClient(),n=e||t&&t.getOptions();return!!n&&(n.enableTracing||"tracesSampleRate"in n||"tracesSampler"in n)}function o(e,t){let n=0;for(let r=e.length-1;r>=0;r--){const t=e[r];"."===t?e.splice(r,1):".."===t?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}const a=/^(\S+:\\|\/?)([\s\S]*?)((?:\.{1,2}|[^/\\]+?|)(\.[^./\\]*|))(?:[/\\]*)$/;function s(e){const t=e.length>1024?`<truncated>${e.slice(-1024)}`:e,n=a.exec(t);return n?n.slice(1):[]}function c(...e){let t="",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){const i=r>=0?e[r]:"/";i&&(t=`${i}/${t}`,n="/"===i.charAt(0))}return t=o(t.split("/").filter((e=>!!e)),!n).join("/"),(n?"/":"")+t||"."}function l(e){let t=0;for(;t<e.length&&""===e[t];t++);let n=e.length-1;for(;n>=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}class u{static __initStatic(){this.id="RewriteFrames"}constructor(e={}){u.prototype.__init.call(this),this.name=u.id,e.root&&(this._root=e.root),this._prefix=e.prefix||"app:///",e.iteratee&&(this._iteratee=e.iteratee)}setupOnce(e,t){}processEvent(e){return this.process(e)}process(e){let t=e;return e.exception&&Array.isArray(e.exception.values)&&(t=this._processExceptionsEvent(t)),t}__init(){this._iteratee=e=>{if(!e.filename)return e;const t=/^[a-zA-Z]:\\/.test(e.filename)||e.filename.includes("\\")&&!e.filename.includes("/"),n=/^\//.test(e.filename);if(t||n){const n=t?e.filename.replace(/^[a-zA-Z]:/,"").replace(/\\/g,"/"):e.filename,r=this._root?function(e,t){e=c(e).slice(1),t=c(t).slice(1);const n=l(e.split("/")),r=l(t.split("/")),i=Math.min(n.length,r.length);let o=i;for(let s=0;s<i;s++)if(n[s]!==r[s]){o=s;break}let a=[];for(let s=o;s<n.length;s++)a.push("..");return a=a.concat(r.slice(o)),a.join("/")}(this._root,n):function(e,t){let n=s(e)[2];return t&&n.slice(-1*t.length)===t&&(n=n.slice(0,n.length-t.length)),n}(n);e.filename=`${this._prefix}${r}`}return e}}_processExceptionsEvent(e){try{return{...e,exception:{...e.exception,values:e.exception.values.map((e=>({...e,...e.stacktrace&&{stacktrace:this._processStacktrace(e.stacktrace)}})))}}}catch(t){return e}}_processStacktrace(e){return{...e,frames:e&&e.frames&&e.frames.map((e=>this._iteratee(e)))}}}u.__initStatic();const d="7.80.0";var f=n(12343),h=n(62844),p=n(57321);const m=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/],g=[/^.*\/healthcheck$/,/^.*\/healthy$/,/^.*\/live$/,/^.*\/ready$/,/^.*\/heartbeat$/,/^.*\/health$/,/^.*\/healthz$/];class y{static __initStatic(){this.id="InboundFilters"}constructor(e={}){this.name=y.id,this._options=e}setupOnce(e,t){}processEvent(e,t,n){const r=n.getOptions(),i=function(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:m],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[],...e.disableTransactionDefaults?[]:g],ignoreInternal:void 0===e.ignoreInternal||e.ignoreInternal}}(this._options,r);return function(e,t){if(t.ignoreInternal&&function(e){try{return"SentryError"===e.exception.values[0].type}catch(t){}return!1}(e))return("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.warn(`Event dropped due to being internal Sentry Error.\nEvent: ${(0,h.jH)(e)}`),!0;if(function(e,t){if(e.type||!t||!t.length)return!1;return function(e){const t=[];e.message&&t.push(e.message);let n;try{n=e.exception.values[e.exception.values.length-1]}catch(r){}n&&n.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`));"undefined"!==typeof __SENTRY_DEBUG__&&!__SENTRY_DEBUG__||0!==t.length||f.kg.error(`Could not extract message for event ${(0,h.jH)(e)}`);return t}(e).some((e=>(0,p.U0)(e,t)))}(e,t.ignoreErrors))return("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.warn(`Event dropped due to being matched by \`ignoreErrors\` option.\nEvent: ${(0,h.jH)(e)}`),!0;if(function(e,t){if("transaction"!==e.type||!t||!t.length)return!1;const n=e.transaction;return!!n&&(0,p.U0)(n,t)}(e,t.ignoreTransactions))return("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.\nEvent: ${(0,h.jH)(e)}`),!0;if(function(e,t){if(!t||!t.length)return!1;const n=v(e);return!!n&&(0,p.U0)(n,t)}(e,t.denyUrls))return("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.warn(`Event dropped due to being matched by \`denyUrls\` option.\nEvent: ${(0,h.jH)(e)}.\nUrl: ${v(e)}`),!0;if(!function(e,t){if(!t||!t.length)return!0;const n=v(e);return!n||(0,p.U0)(n,t)}(e,t.allowUrls))return("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.warn(`Event dropped due to not being matched by \`allowUrls\` option.\nEvent: ${(0,h.jH)(e)}.\nUrl: ${v(e)}`),!0;return!1}(e,i)?null:e}}function v(e){try{let n;try{n=e.exception.values[0].stacktrace.frames}catch(t){}return n?function(e=[]){for(let t=e.length-1;t>=0;t--){const n=e[t];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(n):null}catch(n){return("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.error(`Cannot extract url for event ${(0,h.jH)(e)}`),null}}y.__initStatic();var b=n(20535);let _;class x{static __initStatic(){this.id="FunctionToString"}constructor(){this.name=x.id}setupOnce(){_=Function.prototype.toString;try{Function.prototype.toString=function(...e){const t=(0,b.HK)(this)||this;return _.apply(t,e)}}catch(e){}}}x.__initStatic();var w=n(71195);const S=[];function E(e){const t=e.defaultIntegrations||[],n=e.integrations;let r;t.forEach((e=>{e.isDefaultInstance=!0})),r=Array.isArray(n)?[...t,...n]:"function"===typeof n?(0,h.lE)(n(t)):t;const i=function(e){const t={};return e.forEach((e=>{const{name:n}=e,r=t[n];r&&!r.isDefaultInstance&&e.isDefaultInstance||(t[n]=e)})),Object.keys(t).map((e=>t[e]))}(r),o=function(e,t){for(let n=0;n<e.length;n++)if(!0===t(e[n]))return n;return-1}(i,(e=>"Debug"===e.name));if(-1!==o){const[e]=i.splice(o,1);i.push(e)}return i}function O(e,t,n){if(n[t.name]=t,-1===S.indexOf(t.name)&&(t.setupOnce(w.cc,r.Gd),S.push(t.name)),e.on&&"function"===typeof t.preprocessEvent){const n=t.preprocessEvent.bind(t);e.on("preprocessEvent",((t,r)=>n(t,r,e)))}if(e.addEventProcessor&&"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)}("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.log(`Integration installed: ${t.name}`)}const k=/\(error: (.*)\)/,T=/captureMessage|captureException/;function P(...e){const t=e.sort(((e,t)=>e[0]-t[0])).map((e=>e[1]));return(e,n=0)=>{const r=[],i=e.split("\n");for(let o=n;o<i.length;o++){const e=i[o];if(e.length>1024)continue;const n=k.test(e)?e.replace(k,"$1"):e;if(!n.match(/\S*Error: /)){for(const e of t){const t=e(n);if(t){r.push(t);break}}if(r.length>=50)break}}return function(e){if(!e.length)return[];const t=Array.from(e);/sentryWrapped/.test(t[t.length-1].function||"")&&t.pop();t.reverse(),T.test(t[t.length-1].function||"")&&(t.pop(),T.test(t[t.length-1].function||"")&&t.pop());return t.slice(0,50).map((e=>({...e,filename:e.filename||t[t.length-1].filename,function:e.function||"?"})))}(r)}}const j="<anonymous>";function D(e){try{return e&&"function"===typeof e&&e.name||j}catch(t){return j}}var C=n(71235);const M=(0,C.Rf)();function R(){if(!("fetch"in M))return!1;
1try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(e){return!1}}function N(e){return e&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}var A=n(67597);const I=(0,C.Rf)();const L=(0,C.Rf)(),U={},V={};function B(e){if(!V[e])switch(V[e]=!0,e){case"console":!function(){if(!("console"in C.n2))return;f.RU.forEach((function(e){e in C.n2.console&&(0,b.hl)(C.n2.console,e,(function(t){return f.LD[e]=t,function(...t){F("console",{args:t,level:e});const n=f.LD[e];n&&n.apply(C.n2.console,t)}}))}))}();break;case"dom":!function(){if(!L.document)return;const e=F.bind(null,"dom"),t=K(e,!0);L.document.addEventListener("click",t,!1),L.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach((t=>{const n=L[t]&&L[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&((0,b.hl)(n,"addEventListener",(function(t){return function(n,r,i){if("click"===n||"keypress"==n)try{const r=this,o=r.__sentry_instrumentation_handlers__=r.__sentry_instrumentation_handlers__||{},a=o[n]=o[n]||{refCount:0};if(!a.handler){const r=K(e);a.handler=r,t.call(this,n,r,i)}a.refCount++}catch(o){}return t.call(this,n,r,i)}})),(0,b.hl)(n,"removeEventListener",(function(e){return function(t,n,r){if("click"===t||"keypress"==t)try{const n=this,i=n.__sentry_instrumentation_handlers__||{},o=i[t];o&&(o.refCount--,o.refCount<=0&&(e.call(this,t,o.handler,r),o.handler=void 0,delete i[t]),0===Object.keys(i).length&&delete n.__sentry_instrumentation_handlers__)}catch(i){}return e.call(this,t,n,r)}})))}))}();break;case"xhr":!function(){if(!L.XMLHttpRequest)return;const e=XMLHttpRequest.prototype;(0,b.hl)(e,"open",(function(e){return function(...t){const n=Date.now(),r=t[1],i=this.__sentry_xhr_v2__={method:(0,A.HD)(t[0])?t[0].toUpperCase():t[0],url:t[1],request_headers:{}};(0,A.HD)(r)&&"POST"===i.method&&r.match(/sentry_key/)&&(this.__sentry_own_request__=!0);const o=()=>{const e=this.__sentry_xhr_v2__;if(e&&4===this.readyState){try{e.status_code=this.status}catch(r){}F("xhr",{args:t,endTimestamp:Date.now(),startTimestamp:n,xhr:this})}};return"onreadystatechange"in this&&"function"===typeof this.onreadystatechange?(0,b.hl)(this,"onreadystatechange",(function(e){return function(...t){return o(),e.apply(this,t)}})):this.addEventListener("readystatechange",o),(0,b.hl)(this,"setRequestHeader",(function(e){return function(...t){const[n,r]=t,i=this.__sentry_xhr_v2__;return i&&(i.request_headers[n.toLowerCase()]=r),e.apply(this,t)}})),e.apply(this,t)}})),(0,b.hl)(e,"send",(function(e){return function(...t){const n=this.__sentry_xhr_v2__;return n&&void 0!==t[0]&&(n.body=t[0]),F("xhr",{args:t,startTimestamp:Date.now(),xhr:this}),e.apply(this,t)}}))}();break;case"fetch":!function(){if(!function(){if(!R())return!1;if(N(M.fetch))return!0;let e=!1;const t=M.document;if(t&&"function"===typeof t.createElement)try{const n=t.createElement("iframe");
1n.hidden=!0,t.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(e=N(n.contentWindow.fetch)),t.head.removeChild(n)}catch(n){("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}return e}())return;(0,b.hl)(C.n2,"fetch",(function(e){return function(...t){const{method:n,url:r}=function(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){const[t,n]=e;return{url:$(t),method:H(n,"method")?String(n.method).toUpperCase():"GET"}}const t=e[0];return{url:$(t),method:H(t,"method")?String(t.method).toUpperCase():"GET"}}(t),i={args:t,fetchData:{method:n,url:r},startTimestamp:Date.now()};return F("fetch",{...i}),e.apply(C.n2,t).then((e=>(F("fetch",{...i,endTimestamp:Date.now(),response:e}),e)),(e=>{throw F("fetch",{...i,endTimestamp:Date.now(),error:e}),e}))}}))}();break;case"history":!function(){if(!function(){const e=I.chrome,t=e&&e.app&&e.app.runtime,n="history"in I&&!!I.history.pushState&&!!I.history.replaceState;return!t&&n}())return;const e=L.onpopstate;function t(e){return function(...t){const n=t.length>2?t[2]:void 0;if(n){const e=Y,t=String(n);Y=t,F("history",{from:e,to:t})}return e.apply(this,t)}}L.onpopstate=function(...t){const n=L.location.href,r=Y;if(Y=n,F("history",{from:r,to:n}),e)try{return e.apply(this,t)}catch(i){}},(0,b.hl)(L.history,"pushState",t),(0,b.hl)(L.history,"replaceState",t)}();break;case"error":X=L.onerror,L.onerror=function(e,t,n,r,i){return F("error",{column:r,error:i,line:n,msg:e,url:t}),!(!X||X.__SENTRY_LOADER__)&&X.apply(this,arguments)},L.onerror.__SENTRY_INSTRUMENTED__=!0;break;case"unhandledrejection":Z=L.onunhandledrejection,L.onunhandledrejection=function(e){return F("unhandledrejection",e),!(Z&&!Z.__SENTRY_LOADER__)||Z.apply(this,arguments)},L.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0;break;default:return void(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.warn("unknown instrumentation type:",e))}}function z(e,t){U[e]=U[e]||[],U[e].push(t),B(e)}function F(e,t){if(e&&U[e])for(const r of U[e]||[])try{r(t)}catch(n){("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.error(`Error while triggering instrumentation handler.\nType: ${e}\nName: ${D(r)}\nError:`,n)}}function H(e,t){return!!e&&"object"===typeof e&&!!e[t]}function $(e){return"string"===typeof e?e:e?H(e,"url")?e.url:e.toString?e.toString():"":""}let Y;let W,G,q;function K(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;const r=function(e){try{return e.target}catch(t){return null}}(n);if(function(e,t){return"keypress"===e&&(!t||!t.tagName||"INPUT"!==t.tagName&&"TEXTAREA"!==t.tagName&&!t.isContentEditable)}(n.type,r))return;(0,b.xp)(n,"_sentryCaptured",!0),r&&!r._sentryId&&(0,b.xp)(r,"_sentryId",(0,h.DM)());const i="keypress"===n.type?"input":n.type;(function(e){if(e.type!==G)return!1;try{if(!e.target||e.target._sentryId!==q)return!1}catch(t){}return!0})(n)||(e({event:n,name:i,global:t}),G=n.type,q=r?r._sentryId:void 0),clearTimeout(W),W=L.setTimeout((()=>{q=void 0,G=void 0}),1e3)}}let X=null;let Z=null;const J=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function Q(e,t=!1){const{host:n,path:r,pass:i,port:o,projectId:a,protocol:s,publicKey:c}=e;return`${s}://${c}${t&&i?`:${i}`:""}@${n}${o?`:${o}`:""}/${r?`${r}/`:r}${a}`}function ee(e){const t=J.exec(e);if(!t)return void console.error(`Invalid Sentry Dsn: ${e}`);const[n,r,i="",o,a="",s]=t.slice(1);let c="",l=s;const u=l.split("/");if(u.length>1&&(c=u.slice(0,-1).join("/"),l=u.pop()),l){const e=l.match(/^\d+/);e&&(l=e[0])}return te({host:o,pass:i,path:c,projectId:l,port:a,protocol:n,publicKey:r})}function te(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function ne(e){const t="string"===typeof e?ee(e):te(e);if(t&&function(e){if("undefined"!==typeof __SENTRY_DEBUG__&&!__SENTRY_DEBUG__)return!0;const{port:t,projectId:n,protocol:r}=e;return!["protocol","publicKey","host","projectId"].find((t=>!e[t]&&(f.kg.error(`Invalid Sentry Dsn: ${t} missing`),!0)))&&(n.match(/^\d+$/)?function(e){return"http"===e||"https"===e}(r)?!t||!isNaN(parseInt(t,10))||(f.kg.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):(f.kg.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):(f.kg.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1))}(t))return t}var re=n(96893);function ie(e,t=100,n=1/0){try{return ae("",e,t,n)}catch(r){return{ERROR:`**non-serializable** (${r})`}}}function oe(e,t=3,n=102400){const r=ie(e,t);return i=r,function(e){return~-encodeURI(e).split(/%..|./).length}(JSON.stringify(i))>n?oe(e,t-1,n):r;var i}function ae(e,t,r=1/0,i=1/0,o=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<t.length;e++)if(t[e]===n)return!0;return t.push(n),!1},function(n){if(e)t.delete(n);else for(let e=0;e<t.length;e++)if(t[e]===n){t.splice(e,1);break}}]}()){const[a,s]=o;if(null==t||["number","boolean","string"].includes(typeof t)&&!(0,A.i2)(t))return t;const c=function(e,t){try{if("domain"===e&&t&&"object"===typeof t&&t._events)return"[Domain]";if("domainEmitter"===e)return"[DomainEmitter]";if("undefined"!==typeof n.g&&t===n.g)return"[Global]";if("undefined"!==typeof window&&t===window)return"[Window]";if("undefined"!==typeof document&&t===document)return"[Document]";if((0,A.y1)(t))return"[VueViewModel]";if((0,A.Cy)(t))return"[SyntheticEvent]";if("number"===typeof t&&t!==t)return"[NaN]";if("function"===typeof t)return`[Function: ${D(t)}]`;if("symbol"===typeof t)return`[${String(t)}]`;if("bigint"===typeof t)return`[BigInt: ${String(t)}]`;const r=function(e){const t=Object.getPrototypeOf(e);return t?t.constructor.name:"null prototype"}(t);return/^HTML(\w*)Element$/.test(r)?`[HTMLElement: ${r}]`:`[object ${r}]`}catch(r){return`**non-serializable** (${r})`}}(e,t);if(!c.startsWith("[object "))return c;if(t.__sentry_skip_normalization__)return t;const l="number"===typeof t.__sentry_override_normalization_depth__?t.__sentry_override_normalization_depth__:r;if(0===l)return c.replace("object ","");if(a(t))return"[Circular ~]";const u=t;if(u&&"function"===typeof u.toJSON)try{return ae("",u.toJSON(),l-1,i,o)}catch(p){}const d=Array.isArray(t)?[]:{};let f=0;const h=(0,b.Sh)(t);for(const n in h){if(!Object.prototype.hasOwnProperty.call(h,n))continue;if(f>=i){d[n]="[MaxProperties ~]";break}const e=h[n];d[n]=ae(n,e,l-1,i,o),f++}return s(t),d}function se(e,t=[]){return[e,t]}function ce(e,t){const[n,r]=e;return[n,[...r,t]]}function le(e,t){const n=e[1];for(const r of n){if(t(r,r[0].type))return!0}return!1}function ue(e,t){return(t||new TextEncoder).encode(e)}function de(e,t){const[n,r]=e;let i=JSON.stringify(n);function o(e){"string"===typeof i?i="string"===typeof e?i+e:[ue(i,t),e]:i.push("string"===typeof e?ue(e,t):e)}for(const s of r){const[e,t]=s;if(o(`\n${JSON.stringify(e)}\n`),"string"===typeof t||t instanceof Uint8Array)o(t);else{let e;try{e=JSON.stringify(t)}catch(a){e=JSON.stringify(ie(t))}o(e)}}return"string"===typeof i?i:function(e){const t=e.reduce(((e,t)=>e+t.length),0),n=new Uint8Array(t);let r=0;for(const i of e)n.set(i,r),r+=i.length;return n}(i)}function fe(e,t){const n="string"===typeof e.data?ue(e.data,t):e.data;return[(0,b.Jr)({type:"attachment",length:n.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),n]}const he={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",statsd:"unknown"};function pe(e){return he[e]}function me(e){if(!e||!e.sdk)return;
1const{name:t,version:n}=e.sdk;return{name:t,version:n}}class ge 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}}function ye(e){const t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}function ve(e,t={}){const n="string"===typeof t?t:t.tunnel,r="string"!==typeof t&&t._metadata?t._metadata.sdk:void 0;return n||`${function(e){return`${ye(e)}${e.projectId}/envelope/`}(e)}?${function(e,t){return(0,b._j)({sentry_key:e.publicKey,sentry_version:"7",...t&&{sentry_client:`${t.name}/${t.version}`}})}(e,r)}`}function be(e,t,n,r){const i=me(n),o=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 a=function(e,t,n,r){const i=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:e.event_id,sent_at:(new Date).toISOString(),...t&&{sdk:t},...!!n&&r&&{dsn:Q(r)},...i&&{trace:(0,b.Jr)({...i})}}}(e,i,r,t);delete e.sdkProcessingMetadata;return se(a,[[{type:o},e]])}var _e=n(9015),xe=n(51131);function we(e,t,n){const r=t.getOptions(),{publicKey:i}=t.getDsn()||{},{segment:o}=n&&n.getUser()||{},a=(0,b.Jr)({environment:r.environment||xe.J,release:r.release,user_segment:o,public_key:i,trace_id:e});return t.emit&&t.emit("createDsc",a),a}var Se=n(21170),Ee=n(10350);function Oe(e,t,n,r,i){const{normalizeDepth:o=3,normalizeMaxBreadth:a=1e3}=e,s={...t,event_id:t.event_id||n.event_id||(0,h.DM)(),timestamp:t.timestamp||(0,Se.yW)()},c=n.integrations||e.integrations.map((e=>e.name));!function(e,t){const{environment:n,release:r,dist:i,maxValueLength:o=250}=t;"environment"in e||(e.environment="environment"in t?n:xe.J);void 0===e.release&&void 0!==r&&(e.release=r);void 0===e.dist&&void 0!==i&&(e.dist=i);e.message&&(e.message=(0,p.$G)(e.message,o));const a=e.exception&&e.exception.values&&e.exception.values[0];a&&a.value&&(a.value=(0,p.$G)(a.value,o));const s=e.request;s&&s.url&&(s.url=(0,p.$G)(s.url,o))}(s,e),function(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}(s,c),void 0===t.type&&function(e,t){const n=C.n2._sentryDebugIds;if(!n)return;let r;const i=ke.get(t);i?r=i:(r=new Map,ke.set(t,r));const o=Object.keys(n).reduce(((e,i)=>{let o;const a=r.get(i);a?o=a:(o=t(i),r.set(i,o));for(let t=o.length-1;t>=0;t--){const r=o[t];if(r.filename){e[r.filename]=n[i];break}}return e}),{});try{e.exception.values.forEach((e=>{e.stacktrace.frames.forEach((e=>{e.filename&&(e.debug_id=o[e.filename])}))}))}catch(a){}}(s,e.stackParser);let l=r;n.captureContext&&(l=Ee.s.clone(l).update(n.captureContext));let u=(0,re.WD)(s);const d=i&&i.getEventProcessors?i.getEventProcessors():[];if(l){if(l.getAttachments){const e=[...n.attachments||[],...l.getAttachments()];e.length&&(n.attachments=e)}u=l.applyToEvent(s,n,d)}else u=(0,w.RP)([...d,...(0,w.fH)()],s,n);return u.then((e=>(e&&function(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(r){}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.keys(t).forEach((e=>{n.push({type:"sourcemap",code_file:e,debug_id:t[e]})}))}(e),"number"===typeof o&&o>0?function(e,t,n){if(!e)return null;const r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map((e=>({...e,...e.data&&{data:ie(e.data,t,n)}})))},...e.user&&{user:ie(e.user,t,n)},...e.contexts&&{contexts:ie(e.contexts,t,n)},...e.extra&&{extra:ie(e.extra,t,n)}};e.contexts&&e.contexts.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=ie(e.contexts.trace.data,t,n)));e.spans&&(r.spans=e.spans.map((e=>(e.data&&(e.data=ie(e.data,t,n)),e))));return r}(e,o,a):e)))}const ke=new WeakMap;const Te="Not capturing exception because it's already been captured.";function Pe(e){return void 0===e.type}function je(e){return"transaction"===e.type}var De=n(68518);function Ce(e,t){const n=Re(e,t),r={type:t&&t.name,value:Ae(t)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function Me(e,t){return{exception:{values:[Ce(e,t)]}}}function Re(e,t){const n=t.stacktrace||t.stack||"",r=function(e){if(e){if("number"===typeof e.framesToPop)return e.framesToPop;if(Ne.test(e.message))return 1}return 0}(t);try{return e(n,r)}catch(i){}return[]}const Ne=/Minified React error #\d+;/i;function Ae(e){const t=e&&e.message;return t?t.error&&"string"===typeof t.error.message?t.error.message:t:"No error message"}function Ie(e,t,n,i,o){let a;if((0,A.VW)(t)&&t.error){return Me(e,t.error)}if((0,A.TX)(t)||(0,A.fm)(t)){const r=t;if("stack"in t)a=Me(e,t);else{const t=r.name||((0,A.TX)(r)?"DOMError":"DOMException"),o=r.message?`${t}: ${r.message}`:t;a=Le(e,o,n,i),(0,h.Db)(a,o)}return"code"in r&&(a.tags={...a.tags,"DOMException.code":`${r.code}`}),a}if((0,A.VZ)(t))return Me(e,t);if((0,A.PO)(t)||(0,A.cO)(t)){return a=function(e,t,n,i){const o=(0,r.Gd)().getClient(),a=o&&o.getOptions().normalizeDepth,s={exception:{values:[{type:(0,A.cO)(t)?t.constructor.name:i?"UnhandledRejection":"Error",value:Ue(t,{isUnhandledRejection:i})}]},extra:{__serialized__:oe(t,a)}};if(n){const t=Re(e,n);t.length&&(s.exception.values[0].stacktrace={frames:t})}return s}(e,t,n,o),(0,h.EG)(a,{synthetic:!0}),a}return a=Le(e,t,n,i),(0,h.Db)(a,`${t}`,void 0),(0,h.EG)(a,{synthetic:!0}),a}function Le(e,t,n,r){const i={message:t};if(r&&n){const r=Re(e,n);r.length&&(i.exception={values:[{value:t,stacktrace:{frames:r}}]})}return i}function Ue(e,{isUnhandledRejection:t}){const n=(0,b.zf)(e),r=t?"promise rejection":"exception";if((0,A.VW)(e))return`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``;if((0,A.cO)(e)){return`Event \`${function(e){try{const t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch(t){}}(e)}\` (type=${e.type}) captured as ${r}`}return`Object captured as ${r} with keys: ${n}`}var Ve=n(64487);const Be=C.n2;let ze=0;function Fe(){return ze>0}function He(){ze++,setTimeout((()=>{ze--}))}function $e(e,t={}
1,n){if("function"!==typeof e)return e;try{const t=e.__sentry_wrapped__;if(t)return t;if((0,b.HK)(e))return e}catch(i){return e}const r=function(){const r=Array.prototype.slice.call(arguments);try{n&&"function"===typeof n&&n.apply(this,arguments);const i=r.map((e=>$e(e,t)));return e.apply(this,i)}catch(i){throw He(),(0,Ve.$e)((e=>{e.addEventProcessor((e=>(t.mechanism&&((0,h.Db)(e,void 0,void 0),(0,h.EG)(e,t.mechanism)),e.extra={...e.extra,arguments:r},e))),(0,Ve.Tb)(i)})),i}};try{for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t])}catch(o){}(0,b.$Q)(r,e),(0,b.xp)(e,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get:()=>e.name})}catch(o){}return r}class Ye extends class{constructor(e){if(this._options=e,this._integrations={},this._integrationsInitialized=!1,this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],e.dsn?this._dsn=ne(e.dsn):("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.warn("No DSN provided, client will not send events."),this._dsn){const t=ve(this._dsn,e);this._transport=e.transport({recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:t})}}captureException(e,t,n){if((0,h.YO)(e))return void(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.log(Te));let r=t&&t.event_id;return this._process(this.eventFromException(e,t).then((e=>this._captureEvent(e,t,n))).then((e=>{r=e}))),r}captureMessage(e,t,n,r){let i=n&&n.event_id;const o=(0,A.pt)(e)?this.eventFromMessage(String(e),t,n):this.eventFromException(e,n);return this._process(o.then((e=>this._captureEvent(e,n,r))).then((e=>{i=e}))),i}captureEvent(e,t,n){if(t&&t.originalException&&(0,h.YO)(t.originalException))return void(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.log(Te));let r=t&&t.event_id;return this._process(this._captureEvent(e,t,n).then((e=>{r=e}))),r}captureSession(e){"string"!==typeof e.release?("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.warn("Discarded session because of missing or non-string release"):(this.sendSession(e),(0,_e.CT)(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;
1return t?this._isClientDoneProcessing(e).then((n=>t.flush(e).then((e=>n&&e)))):(0,re.WD)(!0)}close(e){return this.flush(e).then((e=>(this.getOptions().enabled=!1,e)))}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}setupIntegrations(e){(e&&!this._integrationsInitialized||this._isEnabled()&&!this._integrationsInitialized)&&(this._integrations=function(e,t){const n={};return t.forEach((t=>{t&&O(e,t,n)})),n}(this,this._options.integrations),this._integrationsInitialized=!0)}getIntegrationById(e){return this._integrations[e]}getIntegration(e){try{return this._integrations[e.id]||null}catch(t){return("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.warn(`Cannot retrieve integration ${e.id} from the current Client`),null}}addIntegration(e){O(this,e,this._integrations)}sendEvent(e,t={}){this.emit("beforeSendEvent",e,t);let n=be(e,this._dsn,this._options._metadata,this._options.tunnel);for(const i of t.attachments||[])n=ce(n,fe(i,this._options.transportOptions&&this._options.transportOptions.textEncoder));const r=this._sendEnvelope(n);r&&r.then((t=>this.emit("afterSendEvent",e,t)),null)}sendSession(e){const t=function(e,t,n,r){const i=me(n);return se({sent_at:(new Date).toISOString(),...i&&{sdk:i},...!!r&&t&&{dsn:Q(t)}},["aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()]])}(e,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(t)}recordDroppedEvent(e,t,n){if(this._options.sendClientReports){const n=`${e}:${t}`;("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.log(`Adding outcome: "${n}"`),this._outcomes[n]=this._outcomes[n]+1||1}}on(e,t){this._hooks[e]||(this._hooks[e]=[]),this._hooks[e].push(t)}emit(e,...t){this._hooks[e]&&this._hooks[e].forEach((e=>e(...t)))}_updateSessionFromEvent(e,t){let n=!1,r=!1;const i=t.exception&&t.exception.values;if(i){r=!0;for(const e of i){const t=e.mechanism;if(t&&!1===t.handled){n=!0;break}}}const o="ok"===e.status;(o&&0===e.errors||o&&n)&&((0,_e.CT)(e,{...n&&{status:"crashed"},errors:e.errors||Number(r||n)}),this.captureSession(e))}_isClientDoneProcessing(e){return new re.cW((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){const r=this.getOptions(),i=Object.keys(this._integrations);return!t.integrations&&i.length>0&&(t.integrations=i),this.emit("preprocessEvent",e,t),Oe(r,e,t,n,this).then((e=>{if(null===e)return e;const{propagationContext:t}=e.sdkProcessingMetadata||{};if(!(e.contexts&&e.contexts.trace)&&t){const{traceId:r,spanId:i,parentSpanId:o,dsc:a}=t;e.contexts={trace:{trace_id:r,span_id:i,parent_span_id:o},...e.contexts};const s=a||we(r,this,n);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("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__){const t=e;"log"===t.logLevel?f.kg.log(t.message):f.kg.warn(t)}}))}_processEvent(e,t,n){const r=this.getOptions(),{sampleRate:i}=r,o=je(e),a=Pe(e),s=e.type||"error",c=`before send for type \`${s}\``;if(a&&"number"===typeof i&&Math.random()>i)return this.recordDroppedEvent("sample_rate","error",e),(0,re.$2)(new ge(`Discarding event because it's not included in the random sample (sampling rate = ${i})`,"log"));const l="replay_event"===s?"replay":s;return this._prepareEvent(e,t,n).then((n=>{if(null===n)throw this.recordDroppedEvent("event_processor",l,e),new ge("An event processor returned `null`, will not send event.","log");if(t.data&&!0===t.data.__sentry__)return n;const i=function(e,t,n){const{beforeSend:r,beforeSendTransaction:i}=e;if(Pe(t)&&r)return r(t,n);if(je(t)&&i)return i(t,n);return t}(r,n,t);return function(e,t){const n=`${t} must return \`null\` or a valid event.`;if((0,A.J8)(e))return e.then((e=>{if(!(0,A.PO)(e)&&null!==e)throw new ge(n);return e}),(e=>{throw new ge(`${t} rejected with ${e}`)}));if(!(0,A.PO)(e)&&null!==e)throw new ge(n);return e}(i,c)}
1)).then((r=>{if(null===r)throw this.recordDroppedEvent("before_send",l,e),new ge(`${c} returned \`null\`, will not send event.`,"log");const i=n&&n.getSession();!o&&i&&this._updateSessionFromEvent(i,r);const a=r.transaction_info;if(o&&a&&r.transaction!==e.transaction){const e="custom";r.transaction_info={...a,source:e}}return this.sendEvent(r,t),r})).then(null,(e=>{if(e instanceof ge)throw e;throw this.captureException(e,{data:{__sentry__:!0},originalException:e}),new ge(`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)))}_sendEnvelope(e){if(this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport)return this._transport.send(e).then(null,(e=>{("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.error("Error while sending event:",e)}));("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.error("Transport disabled")}_clearOutcomes(){const e=this._outcomes;return this._outcomes={},Object.keys(e).map((t=>{const[n,r]=t.split(":");return{reason:n,category:r,quantity:e[t]}}))}}{constructor(e){const t=Be.SENTRY_SDK_SOURCE||(0,De.S)();e._metadata=e._metadata||{},e._metadata.sdk=e._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:`${t}:@sentry/browser`,version:d}],version:d},super(e),e.sendClientReports&&Be.document&&Be.document.addEventListener("visibilitychange",(()=>{"hidden"===Be.document.visibilityState&&this._flushOutcomes()}))}eventFromException(e,t){return function(e,t,n,r){const i=Ie(e,t,n&&n.syntheticException||void 0,r);return(0,h.EG)(i),i.level="error",n&&n.event_id&&(i.event_id=n.event_id),(0,re.WD)(i)}(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t="info",n){return function(e,t,n="info",r,i){const o=Le(e,t,r&&r.syntheticException||void 0,i);return o.level=n,r&&r.event_id&&(o.event_id=r.event_id),(0,re.WD)(o)}(this._options.stackParser,e,t,n,this._options.attachStacktrace)}captureUserFeedback(e){if(!this._isEnabled())return void(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.warn("SDK not enabled, will not capture user feedback."));const t=function(e,{metadata:t,tunnel:n,dsn:r}){const i={event_id:e.event_id,sent_at:(new Date).toISOString(),...t&&t.sdk&&{sdk:{name:t.sdk.name,version:t.sdk.version}},...!!n&&!!r&&{dsn:Q(r)}},o=function(e){return[{type:"user_report"},e]}(e);return se(i,[o])}(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)}_flushOutcomes(){const e=this._clearOutcomes();if(0===e.length)return void(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.log("No outcomes to send"));if(!this._dsn)return void(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.log("No dsn provided, will not send outcomes"));("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.log("Sending outcomes:",e);const t=(n=e,se((r=this._options.tunnel&&Q(this._dsn))?{dsn:r}:{},[[{type:"client_report"},{timestamp:i||(0,Se.yW)(),discarded_events:n}]]));var n,r,i;this._sendEnvelope(t)}}var We=n(58464);class Ge{static __initStatic(){this.id="GlobalHandlers"}constructor(e){this.name=Ge.id,this._options={onerror:!0,onunhandledrejection:!0,...e},this._installFunc={onerror:qe,onunhandledrejection:Ke}}setupOnce(){Error.stackTraceLimit=50;const e=this._options;for(const n in e){const r=this._installFunc[n];r&&e[n]&&(t=n,("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.log(`Global Handler attached: ${t}`),r(),this._installFunc[n]=void 0)}var t}}function qe(){z("error",(e=>{const[t,n,r]=Je();if(!t.getIntegration(Ge))return;const{msg:i,url:o,line:a,column:s,error:c}=e;if(Fe()||c&&c.__sentry_own_request__)return;const l=void 0===c&&(0,A.HD)(i)?function(e,t,n,r){const i=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;let o=(0,A.VW)(e)?e.message:e,a="Error";const s=o.match(i);s&&(a=s[1],o=s[2]);return Xe({exception:{values:[{type:a,value:o}]}},t,n,r)}(i,o,a,s):Xe(Ie(n,c||i,void 0,r,!1),o,a,s);l.level="error",Ze(t,c,l,"onerror")}))}function Ke(){z("unhandledrejection",(e=>{const[t,n,r]=Je();if(!t.getIntegration(Ge))return;let i=e;try{"reason"in e?i=e.reason:"detail"in e&&"reason"in e.detail&&(i=e.detail.reason)}catch(a){}if(Fe()||i&&i.__sentry_own_request__)return!0;const o=(0,A.pt)(i)?{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(i)}`}]}}:Ie(n,i,void 0,r,!0);o.level="error",Ze(t,i,o,"onunhandledrejection")}))}function Xe(e,t,n,r){const i=e.exception=e.exception||{},o=i.values=i.values||[],a=o[0]=o[0]||{},s=a.stacktrace=a.stacktrace||{},c=s.frames=s.frames||[],l=isNaN(parseInt(r,10))?void 0:r,u=isNaN(parseInt(n,10))?void 0:n,d=(0,A.HD)(t)&&t.length>0?t:(0,We.l4)();return 0===c.length&&c.push({colno:l,filename:d,function:"?",in_app:!0,lineno:u}),e}function Ze(e,t,n,r){(0,h.EG)(n,{handled:!1,type:r}),e.captureEvent(n,{originalException:t})}function Je(){const e=(0,r.Gd)(),t=e.getClient(),n=t&&t.getOptions()||{stackParser:()=>[],attachStacktrace:!1};return[e,n.stackParser,n.attachStacktrace]}Ge.__initStatic();const Qe=["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"];class et{static __initStatic(){this.id="TryCatch"}constructor(e){this.name=et.id,this._options={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...e}}setupOnce(){this._options.setTimeout&&(0,b.hl)(Be,"setTimeout",tt),this._options.setInterval&&(0,b.hl)(Be,"setInterval",tt),this._options.requestAnimationFrame&&(0,b.hl)(Be,"requestAnimationFrame",nt),this._options.XMLHttpRequest&&"XMLHttpRequest"in Be&&(0,b.hl)(XMLHttpRequest.prototype,"send",rt);const e=this._options.eventTarget;if(e){(Array.isArray(e)?e:Qe).forEach(it)}}}function tt(e){return function(...t){const n=t[0];return t[0]=$e(n,{mechanism:{data:{function:D(e)},handled:!1,type:"instrument"}}),e.apply(this,t)}}function nt(e){return function(t){return e.apply(this,[$e(t,{mechanism:{data:{function:"requestAnimationFrame",handler:D(e)},handled:!1,type:"instrument"}})])}}function rt(e){return function(...t){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach((e=>{e in n&&"function"===typeof n[e]&&(0,b.hl)(n,e,(function(t){const n={mechanism:{data:{function:e,handler:D(t)},handled:!1,type:"instrument"}},r=(0,b.HK)(t);return r&&(n.mechanism.data.handler=D(r)),$e(t,n)}))})),e.apply(this,t)}}function it(e){const t=Be,n=t[e]&&t[e].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&((0,b.hl)(n,"addEventListener",(function(t){return function(n,r,i){try{"function"===typeof r.handleEvent&&(r.handleEvent=$e(r.handleEvent,{mechanism:{data:{function:"handleEvent",handler:D(r),target:e},handled:!1,type:"instrument"}}))}catch(o){}return t.apply(this,[n,$e(r,{mechanism:{data:{function:"addEventListener",handler:D(r),target:e},handled:!1,type:"instrument"}}),i])}})),(0,b.hl)(n,"removeEventListener",(function(e){return function(t,n,r){const i=n;try{const n=i&&i.__sentry_wrapped__;n&&e.call(this,t,n,r)}catch(o){}return e.call(this,t,i,r)}})))}et.__initStatic();const ot=["fatal","error","warning","log","info","debug"];
1function at(e){return"warn"===e?"warning":ot.includes(e)?e:"log"}function st(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}}const ct=1024;class lt{static __initStatic(){this.id="Breadcrumbs"}constructor(e){this.name=lt.id,this.options={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e}}setupOnce(){if(this.options.console&&z("console",dt),this.options.dom&&z("dom",function(e){function t(t){let n,i="object"===typeof e?e.serializeAttribute:void 0,o="object"===typeof e&&"number"===typeof e.maxStringLength?e.maxStringLength:void 0;o&&o>ct&&(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${o} was configured. Sentry will use 1024 instead.`),o=ct),"string"===typeof i&&(i=[i]);try{const e=t.event;n=function(e){return!!e&&!!e.target}(e)?(0,We.Rt)(e.target,{keyAttrs:i,maxStringLength:o}):(0,We.Rt)(e,{keyAttrs:i,maxStringLength:o})}catch(a){n="<unknown>"}0!==n.length&&(0,r.Gd)().addBreadcrumb({category:`ui.${t.name}`,message:n},{event:t.event,name:t.name,global:t.global})}return t}(this.options.dom)),this.options.xhr&&z("xhr",ft),this.options.fetch&&z("fetch",ht),this.options.history&&z("history",pt),this.options.sentry){const e=(0,r.Gd)().getClient();e&&e.on&&e.on("beforeSendEvent",ut)}}}function ut(e){(0,r.Gd)().addBreadcrumb({category:"sentry."+("transaction"===e.type?"transaction":"event"),event_id:e.event_id,level:e.level,message:(0,h.jH)(e)},{event:e})}function dt(e){const t={category:"console",data:{arguments:e.args,logger:"console"},level:at(e.level),message:(0,p.nK)(e.args," ")};if("assert"===e.level){if(!1!==e.args[0])return;t.message=`Assertion failed: ${(0,p.nK)(e.args.slice(1)," ")||"console.assert"}`,t.data.arguments=e.args.slice(1)}(0,r.Gd)().addBreadcrumb(t,{input:e.args,level:e.level})}function ft(e){const{startTimestamp:t,endTimestamp:n}=e,i=e.xhr.__sentry_xhr_v2__;if(!t||!n||!i)return;const{method:o,url:a,status_code:s,body:c}=i,l={method:o,url:a,status_code:s},u={xhr:e.xhr,input:c,startTimestamp:t,endTimestamp:n};(0,r.Gd)().addBreadcrumb({category:"xhr",data:l,type:"http"},u)}function ht(e){const{startTimestamp:t,endTimestamp:n}=e;if(n&&(!e.fetchData.url.match(/sentry_key/)||"POST"!==e.fetchData.method))if(e.error){const i=e.fetchData,o={data:e.error,input:e.args,startTimestamp:t,endTimestamp:n};(0,r.Gd)().addBreadcrumb({category:"fetch",data:i,level:"error",type:"http"},o)}else{const i={...e.fetchData,status_code:e.response&&e.response.status},o={input:e.args,response:e.response,startTimestamp:t,endTimestamp:n};(0,r.Gd)().addBreadcrumb({category:"fetch",data:i,type:"http"},o)}}function pt(e){let t=e.from,n=e.to;const i=st(Be.location.href);let o=st(t);const a=st(n);o.path||(o=i),i.protocol===a.protocol&&i.host===a.host&&(n=a.relative),i.protocol===o.protocol&&i.host===o.host&&(t=o.relative),(0,r.Gd)().addBreadcrumb({category:"navigation",data:{from:t,to:n}})}function mt(e,t,n=250,r,i,o,a){if(!o.exception||!o.exception.values||!a||!(0,A.V9)(a.originalException,Error))return;const s=o.exception.values.length>0?o.exception.values[o.exception.values.length-1]:void 0;var c,l;s&&(o.exception.values=(c=gt(e,t,i,a.originalException,r,o.exception.values,s,0),l=n,c.map((e=>(e.value&&(e.value=(0,p.$G)(e.value,l)),e)))))}
1function gt(e,t,n,r,i,o,a,s){if(o.length>=n+1)return o;let c=[...o];if((0,A.V9)(r[i],Error)){yt(a,s);const o=e(t,r[i]),l=c.length;vt(o,i,l,s),c=gt(e,t,n,r[i],i,[o,...c],o,l)}return Array.isArray(r.errors)&&r.errors.forEach(((r,o)=>{if((0,A.V9)(r,Error)){yt(a,s);const l=e(t,r),u=c.length;vt(l,`errors[${o}]`,u,s),c=gt(e,t,n,r,i,[l,...c],l,u)}})),c}function yt(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,is_exception_group:!0,exception_id:t}}function vt(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}}lt.__initStatic();class bt{static __initStatic(){this.id="LinkedErrors"}constructor(e={}){this.name=bt.id,this._key=e.key||"cause",this._limit=e.limit||5}setupOnce(){}preprocessEvent(e,t,n){const r=n.getOptions();mt(Ce,r.stackParser,r.maxValueLength,this._key,this._limit,e,t)}}bt.__initStatic();class _t{static __initStatic(){this.id="HttpContext"}constructor(){this.name=_t.id}setupOnce(){}preprocessEvent(e){if(!Be.navigator&&!Be.location&&!Be.document)return;const t=e.request&&e.request.url||Be.location&&Be.location.href,{referrer:n}=Be.document||{},{userAgent:r}=Be.navigator||{},i={...e.request&&e.request.headers,...n&&{Referer:n},...r&&{"User-Agent":r}},o={...e.request,...t&&{url:t},headers:i};e.request=o}}_t.__initStatic();class xt{static __initStatic(){this.id="Dedupe"}constructor(){this.name=xt.id}setupOnce(e,t){}processEvent(e){if(e.type)return e;try{if(function(e,t){if(!t)return!1;if(function(e,t){const n=e.message,r=t.message;if(!n&&!r)return!1;if(n&&!r||!n&&r)return!1;if(n!==r)return!1;if(!St(e,t))return!1;if(!wt(e,t))return!1;return!0}(e,t))return!0;if(function(e,t){const n=Et(t),r=Et(e);if(!n||!r)return!1;if(n.type!==r.type||n.value!==r.value)return!1;if(!St(e,t))return!1;if(!wt(e,t))return!1;return!0}(e,t))return!0;return!1}(e,this._previousEvent))return("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(t){}return this._previousEvent=e}}function wt(e,t){let n=Ot(e),r=Ot(t);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(r.length!==n.length)return!1;for(let i=0;i<r.length;i++){const e=r[i],t=n[i];if(e.filename!==t.filename||e.lineno!==t.lineno||e.colno!==t.colno||e.function!==t.function)return!1}return!0}function St(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;try{return!(n.join("")!==r.join(""))}catch(i){return!1}}function Et(e){return e.exception&&e.exception.values&&e.exception.values[0]}function Ot(e){const t=e.exception;if(t)try{return t.values[0].stacktrace.frames}catch(n){return}}xt.__initStatic();const kt="?";function Tt(e,t,n,r){const i={filename:e,function:t,in_app:!0};return void 0!==n&&(i.lineno=n),void 0!==r&&(i.colno=r),i}const Pt=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,jt=/\((\S*)(?::(\d+))(?::(\d+))\)/,Dt=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Ct=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,Mt=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i,Rt=P(...[[30,e=>{const t=Pt.exec(e);if(t){if(t[2]&&0===t[2].indexOf("eval")){const e=jt.exec(t[2]);e&&(t[2]=e[1],t[3]=e[2],t[4]=e[3])}const[e,n]=Nt(t[1]||kt,t[2]);return Tt(n,e,t[3]?+t[3]:void 0,t[4]?+t[4]:void 0)}}],[50,e=>{const t=Dt.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const e=Ct.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]||kt;return[n,e]=Nt(n,e),Tt(e,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}],[40,e=>{const t=Mt.exec(e);return t?Tt(t[2],t[1]||kt,+t[3],t[4]?+t[4]:void 0):void 0}]]),Nt=(e,t)=>{const n=-1!==e.indexOf("safari-extension"),r=-1!==e.indexOf("safari-web-extension");return n||r?[-1!==e.indexOf("@")?e.split("@")[0]:kt,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]};function At(e){const t=[];function n(e){return t.splice(t.indexOf(e),1)[0]}return{$:t,add:function(r){if(!(void 0===e||t.length<e))return(0,re.$2)(new ge("Not adding Promise because buffer limit was reached."));const i=r();return-1===t.indexOf(i)&&t.push(i),i.then((()=>
1n(i))).then(null,(()=>n(i).then(null,(()=>{})))),i},drain:function(e){return new re.cW(((n,r)=>{let i=t.length;if(!i)return n(!0);const o=setTimeout((()=>{e&&e>0&&n(!1)}),e);t.forEach((e=>{(0,re.WD)(e).then((()=>{--i||(clearTimeout(o),n(!0))}),r)}))}))}}}function It(e,{statusCode:t,headers:n},r=Date.now()){const i={...e},o=n&&n["x-sentry-rate-limits"],a=n&&n["retry-after"];if(o)for(const s of o.trim().split(",")){const[e,t]=s.split(":",2),n=parseInt(e,10),o=1e3*(isNaN(n)?60:n);if(t)for(const a of t.split(";"))i[a]=r+o;else i.all=r+o}else a?i.all=r+function(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}(a,r):429===t&&(i.all=r+6e4);return i}function Lt(e,t,n=At(e.bufferSize||30)){let r={};function i(i){const o=[];if(le(i,((t,n)=>{const i=pe(n);if(function(e,t,n=Date.now()){return function(e,t){return e[t]||e.all||0}(e,t)>n}(r,i)){const r=Ut(t,n);e.recordDroppedEvent("ratelimit_backoff",i,r)}else o.push(t)})),0===o.length)return(0,re.WD)();const a=se(i[0],o),s=t=>{le(a,((n,r)=>{const i=Ut(n,r);e.recordDroppedEvent(t,pe(r),i)}))};return n.add((()=>t({body:de(a,e.textEncoder)}).then((e=>(void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),r=It(r,e),e)),(e=>{throw s("network_error"),e})))).then((e=>e),(e=>{if(e instanceof ge)return("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.error("Skipped sending event because buffer is full."),s("queue_overflow"),(0,re.WD)();throw e}))}return i.__sentry__baseTransport__=!0,{send:i,flush:e=>n.drain(e)}}function Ut(e,t){if("event"===t||"transaction"===t)return Array.isArray(e)?e[1]:void 0}let Vt;function Bt(e,t=function(){if(Vt)return Vt;if(N(Be.fetch))return Vt=Be.fetch.bind(Be);const e=Be.document;let t=Be.fetch;if(e&&"function"===typeof e.createElement)try{const n=e.createElement("iframe");n.hidden=!0,e.head.appendChild(n);const r=n.contentWindow;r&&r.fetch&&(t=r.fetch),e.head.removeChild(n)}catch(n){("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}return Vt=t.bind(Be)}()){let n=0,r=0;return Lt(e,(function(i){const o=i.body.length;n+=o,r++;const a={body:i.body,method:"POST",referrerPolicy:"origin",headers:e.headers,keepalive:n<=6e4&&r<15,...e.fetchOptions};try{return t(e.url,a).then((e=>(n-=o,r--,{statusCode:e.status,headers:{"x-sentry-rate-limits":e.headers.get("X-Sentry-Rate-Limits"),"retry-after":e.headers.get("Retry-After")}})))}catch(s){return Vt=void 0,n-=o,r--,(0,re.$2)(s)}}))}function zt(e){return Lt(e,(function(t){return new re.cW(((n,r)=>{const i=new XMLHttpRequest;i.onerror=r,i.onreadystatechange=()=>{4===i.readyState&&n({statusCode:i.status,headers:{"x-sentry-rate-limits":i.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":i.getResponseHeader("Retry-After")}})},i.open("POST",e.url);for(const t in e.headers)Object.prototype.hasOwnProperty.call(e.headers,t)&&i.setRequestHeader(t,e.headers[t]);i.send(t.body)}))}))}const Ft=[new y,new x,new et,new lt,new Ge,new bt,new xt,new _t];function Ht(e={}){void 0===e.defaultIntegrations&&(e.defaultIntegrations=Ft),void 0===e.release&&("string"===typeof __SENTRY_RELEASE__&&(e.release=__SENTRY_RELEASE__),Be.SENTRY_RELEASE&&Be.SENTRY_RELEASE.id&&(e.release=Be.SENTRY_RELEASE.id)),void 0===e.autoSessionTracking&&(e.autoSessionTracking=!0),void 0===e.sendClientReports&&(e.sendClientReports=!0);const t={...e,stackParser:(n=e.stackParser||Rt,Array.isArray(n)?P(...n):n),integrations:E(e),transport:e.transport||(R()?Bt:zt)};var n;!function(e,t){!0===t.debug&&("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?f.kg.enable():console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle."));const n=(0,r.Gd)();n.getScope().update(t.initialScope);const i=new e(t);n.bindClient(i)}(Ye,t),e.autoSessionTracking&&function(){if("undefined"===typeof Be.document)return void(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.warn("Session tracking in non-browser environment with @
1sentry/browser is not supported."));const e=(0,r.Gd)();if(!e.captureSession)return;$t(e),z("history",(({from:e,to:t})=>{void 0!==e&&e!==t&&$t((0,r.Gd)())}))}()}function $t(e){e.startSession({ignoreDuration:!0}),e.captureSession()}const Yt="baggage",Wt="sentry-",Gt=/^sentry-/;function qt(e){if(!e)return;return function(e){if(0===Object.keys(e).length)return;return Object.entries(e).reduce(((e,[t,n],r)=>{const i=`${encodeURIComponent(t)}=${encodeURIComponent(n)}`,o=0===r?i:`${e},${i}`;return o.length>8192?(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.warn(`Not adding key: ${t} with val: ${n} to baggage header due to exceeding baggage size limits.`),e):o}),"")}(Object.entries(e).reduce(((e,[t,n])=>(n&&(e[`sentry-${t}`]=n),e)),{}))}function Kt(e){return e.split(",").map((e=>e.split("=").map((e=>decodeURIComponent(e.trim()))))).reduce(((e,[t,n])=>(e[t]=n,e)),{})}const Xt=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function Zt(e,t){const n=function(e){if(!e)return;const t=e.match(Xt);if(!t)return;let n;return"1"===t[3]?n=!0:"0"===t[3]&&(n=!1),{traceId:t[1],parentSampled:n,parentSpanId:t[2]}}(e),r=function(e){if(!(0,A.HD)(e)&&!Array.isArray(e))return;let t={};if(Array.isArray(e))t=e.reduce(((e,t)=>({...e,...Kt(t)})),{});else{if(!e)return;t=Kt(e)}const n=Object.entries(t).reduce(((e,[t,n])=>(t.match(Gt)&&(e[t.slice(Wt.length)]=n),e)),{});return Object.keys(n).length>0?n:void 0}(t),{traceId:i,parentSpanId:o,parentSampled:a}=n||{},s={traceId:i||(0,h.DM)(),spanId:(0,h.DM)().substring(16),sampled:a};return o&&(s.parentSpanId=o),r&&(s.dsc=r),{traceparentData:n,dynamicSamplingContext:r,propagationContext:s}}function Jt(e=(0,h.DM)(),t=(0,h.DM)().substring(16),n){let r="";return void 0!==n&&(r=n?"-1":"-0"),`${e}-${t}${r}`}class Qt{constructor(e=1e3){this._maxlen=e,this.spans=[]}add(e){this.spans.length>this._maxlen?e.spanRecorder=void 0:this.spans.push(e)}}class en{constructor(e={}){this.traceId=e.traceId||(0,h.DM)(),this.spanId=e.spanId||(0,h.DM)().substring(16),this.startTimestamp=e.startTimestamp||(0,Se.ph)(),this.tags=e.tags||{},this.data=e.data||{},this.instrumenter=e.instrumenter||"sentry",this.origin=e.origin||"manual",e.parentSpanId&&(this.parentSpanId=e.parentSpanId),"sampled"in e&&(this.sampled=e.sampled),e.op&&(this.op=e.op),e.description&&(this.description=e.description),e.name&&(this.description=e.name),e.status&&(this.status=e.status),e.endTimestamp&&(this.endTimestamp=e.endTimestamp)}get name(){return this.description||""}set name(e){this.setName(e)}startChild(e){const t=new en({...e,parentSpanId:this.spanId,sampled:this.sampled,traceId:this.traceId});if(t.spanRecorder=this.spanRecorder,t.spanRecorder&&t.spanRecorder.add(t),t.transaction=this.transaction,("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&t.transaction){const n=`[Tracing] Starting '${e&&e.op||"< unknown op >"}' span on transaction '${t.transaction.name||"< unknown name >"}' (${t.transaction.spanId}).`;t.transaction.metadata.spanMetadata[t.spanId]={logMessage:n},f.kg.log(n)}return t}setTag(e,t){return this.tags={...this.tags,[e]:t},this}setData(e,t){return this.data={...this.data,[e]:t},this}setStatus(e){return this.status=e,this}setHttpStatus(e){this.setTag("http.status_code",String(e)),this.setData("http.response.status_code",e);const t=function(e){if(e<400&&e>=100)return"ok";if(e>=400&&e<500)switch(e){case 401:return"unauthenticated";case 403:return"permission_denied";case 404:return"not_found";case 409:return"already_exists";case 413:return"failed_precondition";case 429:return"resource_exhausted";default:return"invalid_argument"}if(e>=500&&e<600)switch(e){case 501:return"unimplemented";case 503:return"unavailable";case 504:return"deadline_exceeded";default:return"internal_error"}return"unknown_error"}(e);return"unknown_error"!==t&&this.setStatus(t),this}setName(e){this.description=e}isSuccess(){return"ok"===this.status}finish(e){if(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&this.transaction&&this.transaction.spanId!==this.spanId){const{logMessage:e}=this.transaction.metadata.spanMetadata[this.spanId];e&&f.kg.log(e.replace("Starting","Finishing"))}this.endTimestamp="number"===typeof e?e:(0,Se.ph)()}toTraceparent(){return Jt(this.traceId,this.spanId,this.sampled)}toContext(){return(0,b.Jr)({data:this.data,description:this.description,endTimestamp:this.endTimestamp,op:this.op,parentSpanId:this.parentSpanId,sampled:this.sampled,spanId:this.spanId,startTimestamp:this.startTimestamp,status:this.status,tags:this.tags,traceId:this.traceId})}updateWithContext(e){return this.data=e.data||{},this.description=e.description,this.endTimestamp=e.endTimestamp,this.op=e.op,this.parentSpanId=e.parentSpanId,this.sampled=e.sampled,this.spanId=e.spanId||this.spanId,this.startTimestamp=e.startTimestamp||this.startTimestamp,this.status=e.status,this.tags=e.tags||{},this.traceId=e.traceId||this.traceId,this}getTraceContext(){return(0,b.Jr)({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,trace_id:this.traceId,origin:this.origin})}toJSON(){return(0,b.Jr)({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,start_timestamp:this.startTimestamp,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,timestamp:this.endTimestamp,trace_id:this.traceId,origin:this.origin})}}class tn extends en{constructor(e,t){super(e),delete this.description,this._measurements={},this._contexts={},this._hub=t||(0,r.Gd)(),this._name=e.name||"",this.metadata={source:"custom",...e.metadata,spanMetadata:{}},this._trimEnd=e.trimEnd,this.transaction=this;const n=this.metadata.dynamicSamplingContext;n&&(this._frozenDynamicSamplingContext={...n})}get name(){return this._name}set name(e){this.setName(e)}setName(e,t="custom"){this._name=e,this.metadata.source=t}initSpanRecorder(e=1e3){this.spanRecorder||(this.spanRecorder=new Qt(e)),this.spanRecorder.add(this)}setContext(e,t){null===t?delete this._contexts[e]:this._contexts[e]=t}setMeasurement(e,t,n=""){this._measurements[e]={value:t,unit:n}}setMetadata(e){this.metadata={...this.metadata,...e}}finish(e){const t=this._finishTransaction(e);if(t)return this._hub.captureEvent(t)}toContext(){const e=super.toContext();return(0,b.Jr)({...e,name:this.name,trimEnd:this._trimEnd})}updateWithContext(e){return super.updateWithContext(e),this.name=e.name||"",this._trimEnd=e.trimEnd,this}getDynamicSamplingContext(){if(this._frozenDynamicSamplingContext)return this._frozenDynamicSamplingContext;const e=this._hub||(0,r.Gd)(),t=e.getClient();if(!t)return{};const n=e.getScope(),i=we(this.traceId,t,n),o=this.metadata.sampleRate;void 0!==o&&(i.sample_rate=`${o}`);const a=this.metadata.source;return a&&"url"!==a&&(i.transaction=this.name),void 0!==this.sampled&&(i.sampled=String(this.sampled)),i}setHub(e){this._hub=e}_finishTransaction(e){if(void 0!==this.endTimestamp)return;this.name||(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.warn("Transaction has no name, falling back to `<unlabeled transaction>
1`."),this.name="<unlabeled transaction>"),super.finish(e);const t=this._hub.getClient();if(t&&t.emit&&t.emit("finishTransaction",this),!0!==this.sampled)return("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled."),void(t&&t.recordDroppedEvent("sample_rate","transaction"));const n=this.spanRecorder?this.spanRecorder.spans.filter((e=>e!==this&&e.endTimestamp)):[];this._trimEnd&&n.length>0&&(this.endTimestamp=n.reduce(((e,t)=>e.endTimestamp&&t.endTimestamp?e.endTimestamp>t.endTimestamp?e:t:e)).endTimestamp);const r=this.metadata,i={contexts:{...this._contexts,trace:this.getTraceContext()},spans:n,start_timestamp:this.startTimestamp,tags:this.tags,timestamp:this.endTimestamp,transaction:this.name,type:"transaction",sdkProcessingMetadata:{...r,dynamicSamplingContext:this.getDynamicSamplingContext()},...r.source&&{transaction_info:{source:r.source}}};return Object.keys(this._measurements).length>0&&(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.log("[Measurements] Adding measurements to transaction",JSON.stringify(this._measurements,void 0,2)),i.measurements=this._measurements),("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.log(`[Tracing] Finishing ${this.op} transaction: ${this.name}.`),i}}const nn={idleTimeout:1e3,finalTimeout:3e4,heartbeatInterval:5e3},rn=["heartbeatFailed","idleTimeout","documentHidden","finalTimeout","externalFinish","cancelled"];class on extends Qt{constructor(e,t,n,r){super(r),this._pushActivity=e,this._popActivity=t,this.transactionSpanId=n}add(e){e.spanId!==this.transactionSpanId&&(e.finish=t=>{e.endTimestamp="number"===typeof t?t:(0,Se.ph)(),this._popActivity(e.spanId)},void 0===e.endTimestamp&&this._pushActivity(e.spanId)),super.add(e)}}class an extends tn{constructor(e,t,n=nn.idleTimeout,r=nn.finalTimeout,i=nn.heartbeatInterval,o=!1){super(e,t),this._idleHub=t,this._idleTimeout=n,this._finalTimeout=r,this._heartbeatInterval=i,this._onScope=o,this.activities={},this._heartbeatCounter=0,this._finished=!1,this._idleTimeoutCanceledPermanently=!1,this._beforeFinishCallbacks=[],this._finishReason=rn[4],o&&(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.log(`Setting idle transaction on scope. Span ID: ${this.spanId}`),t.configureScope((e=>e.setSpan(this)))),this._restartIdleTimeout(),setTimeout((()=>{this._finished||(this.setStatus("deadline_exceeded"),this._finishReason=rn[3],this.finish())}),this._finalTimeout)}finish(e=(0,Se.ph)()){if(this._finished=!0,this.activities={},"ui.action.click"===this.op&&this.setTag("finishReason",this._finishReason),this.spanRecorder){("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.log("[Tracing] finishing IdleTransaction",new Date(1e3*e).toISOString(),this.op);for(const t of this._beforeFinishCallbacks)t(this,e);this.spanRecorder.spans=this.spanRecorder.spans.filter((t=>{if(t.spanId===this.spanId)return!0;t.endTimestamp||(t.endTimestamp=e,t.setStatus("cancelled"),("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.log("[Tracing] cancelling span since transaction ended early",JSON.stringify(t,void 0,2)));const n=t.startTimestamp<e,r=(this._finalTimeout+this._idleTimeout)/1e3,i=t.endTimestamp-this.startTimestamp<r;if("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__){const e=JSON.stringify(t,void 0,2);n?i||f.kg.log("[Tracing] discarding Span since it finished after Transaction final timeout",e):f.kg.log("[Tracing] discarding Span since it happened after Transaction was finished",e)}return n&&i})),("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.log("[Tracing] flushing IdleTransaction")}else("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.log("[Tracing] No active IdleTransaction");if(this._onScope){const e=this._idleHub.getScope();e.getTransaction()===this&&e.setSpan(void 0)}return super.finish(e)}registerBeforeFinishCallback(e){this._beforeFinishCallbacks.push(e)}initSpanRecorder(e){if(!this.spanRecorder){const t=e=>{this._finished||this._pushActivity(e)},n=e=>{this._finished||this._popActivity(e)};this.spanRecorder=new on(t,n,this.spanId,e),("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.log("Starting heartbeat"),this._pingHeartbeat()}this.spanRecorder.add(this)}cancelIdleTimeout(e,{restartOnChildSpanChange:t}={restartOnChildSpanChange:!0}){this._idleTimeoutCanceledPermanently=!1===t,this._idleTimeoutID&&(clearTimeout(this._idleTimeoutID),this._idleTimeoutID=void 0,0===Object.keys(this.activities).length&&this._idleTimeoutCanceledPermanently&&(this._finishReason=rn[5],this.finish(e)))}setFinishReason(e){this._finishReason=e}_restartIdleTimeout(e){this.cancelIdleTimeout(),this._idleTimeoutID=setTimeout((()=>{this._finished||0!==Object.keys(this.activities).length||(this._finishReason=rn[1],this.finish(e))}),this._idleTimeout)}
1_pushActivity(e){this.cancelIdleTimeout(void 0,{restartOnChildSpanChange:!this._idleTimeoutCanceledPermanently}),("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.log(`[Tracing] pushActivity: ${e}`),this.activities[e]=!0,("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.log("[Tracing] new activities count",Object.keys(this.activities).length)}_popActivity(e){if(this.activities[e]&&(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.log(`[Tracing] popActivity ${e}`),delete this.activities[e],("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.log("[Tracing] new activities count",Object.keys(this.activities).length)),0===Object.keys(this.activities).length){const e=(0,Se.ph)();this._idleTimeoutCanceledPermanently?(this._finishReason=rn[5],this.finish(e)):this._restartIdleTimeout(e+this._idleTimeout/1e3)}}_beat(){if(this._finished)return;const e=Object.keys(this.activities).join("");e===this._prevHeartbeatString?this._heartbeatCounter++:this._heartbeatCounter=1,this._prevHeartbeatString=e,this._heartbeatCounter>=3?(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.log("[Tracing] Transaction finished because of no change for 3 heart beats"),this.setStatus("deadline_exceeded"),this._finishReason=rn[0],this.finish()):this._pingHeartbeat()}_pingHeartbeat(){("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.log(`pinging Heartbeat -> current counter: ${this._heartbeatCounter}`),setTimeout((()=>{this._beat()}),this._heartbeatInterval)}}function sn(e){return(e||(0,r.Gd)()).getScope().getTransaction()}let cn=!1;function ln(){const e=sn();if(e){const t="internal_error";("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.log(`[Tracing] Transaction: ${t} -> Global error occured`),e.setStatus(t)}}function un(e,t,n){if(!i(t))return e.sampled=!1,e;if(void 0!==e.sampled)return e.setMetadata({sampleRate:Number(e.sampled)}),e;let r;return"function"===typeof t.tracesSampler?(r=t.tracesSampler(n),e.setMetadata({sampleRate:Number(r)})):void 0!==n.parentSampled?r=n.parentSampled:"undefined"!==typeof t.tracesSampleRate?(r=t.tracesSampleRate,e.setMetadata({sampleRate:Number(r)})):(r=1,e.setMetadata({sampleRate:r})),function(e){if((0,A.i2)(e)||"number"!==typeof e&&"boolean"!==typeof e)return("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.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)}.`),!1;if(e<0||e>1)return("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.warn(`[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got ${e}.`),!1;return!0}(r)?r?(e.sampled=Math.random()<r,e.sampled?(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.log(`[Tracing] starting ${e.op} transaction - ${e.name}`),e):(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(r)})`),e)):(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.log("[Tracing] Discarding transaction because "+("function"===typeof t.tracesSampler?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0")),e.sampled=!1,e):(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.warn("[Tracing] Discarding transaction because of invalid sample rate."),e.sampled=!1,e)}function dn(){const e=this.getScope().getSpan();return e?{"sentry-trace":e.toTraceparent()}:{}}function fn(e,t){const n=this.getClient(),r=n&&n.getOptions()||{},i=r.instrumenter||"sentry",o=e.instrumenter||"sentry";i!==o&&(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.error(`A transaction was started with instrumenter=\`${o}\`, but the SDK is configured with the \`${i}\` instrumenter.\nThe transaction will not be sampled. Please use the ${i} instrumentation to start transactions.`),e.sampled=!1);let a=new tn(e,this);return a=un(a,r,{parentSampled:e.parentSampled,transactionContext:e,...t}),a.sampled&&a.initSpanRecorder(r._experiments&&r._experiments.maxSpans),n&&n.emit&&n.emit("startTransaction",a),a}function hn(e,t,n,r,i,o,a){const s=e.getClient(),c=s&&s.getOptions()||{};let l=new an(t,e,n,r,a,i);return l=un(l,c,{parentSampled:t.parentSampled,transactionContext:t,...o}
1),l.sampled&&l.initSpanRecorder(c._experiments&&c._experiments.maxSpans),s&&s.emit&&s.emit("startTransaction",l),l}function pn(){const e=(0,r.cu)();e.__SENTRY__&&(e.__SENTRY__.extensions=e.__SENTRY__.extensions||{},e.__SENTRY__.extensions.startTransaction||(e.__SENTRY__.extensions.startTransaction=fn),e.__SENTRY__.extensions.traceHeaders||(e.__SENTRY__.extensions.traceHeaders=dn),cn||(cn=!0,z("error",ln),z("unhandledrejection",ln)))}ln.tag="sentry_tracingErrorCallback";const mn=C.n2;const gn=(e,t,n)=>{let r,i;return o=>{t.value>=0&&(o||n)&&(i=t.value-(r||0),(i||void 0===r)&&(r=t.value,t.delta=i,e(t)))}},yn=()=>mn.__WEB_VITALS_POLYFILL__?mn.performance&&(performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]||(()=>{const e=mn.performance.timing,t=mn.performance.navigation.type,n={entryType:"navigation",startTime:0,type:2==t?"back_forward":1===t?"reload":"navigate"};for(const r in e)"navigationStart"!==r&&"toJSON"!==r&&(n[r]=Math.max(e[r]-e.navigationStart,0));return n})()):mn.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0],vn=()=>{const e=yn();return e&&e.activationStart||0},bn=(e,t)=>{const n=yn();let r="navigate";return n&&(r=mn.document.prerendering||vn()>0?"prerender":n.type.replace(/_/g,"-")),{name:e,value:"undefined"===typeof t?-1:t,rating:"good",delta:0,entries:[],id:`v3-${Date.now()}-${Math.floor(8999999999999*Math.random())+1e12}`,navigationType:r}},_n=(e,t,n)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){const r=new PerformanceObserver((e=>{t(e.getEntries())}));return r.observe(Object.assign({type:e,buffered:!0},n||{})),r}}catch(r){}},xn=(e,t)=>{const n=r=>{"pagehide"!==r.type&&"hidden"!==mn.document.visibilityState||(e(r),t&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))};addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0)};let wn=-1;const Sn=()=>(wn<0&&(wn="hidden"!==mn.document.visibilityState||mn.document.prerendering?1/0:0,xn((({timeStamp:e})=>{wn=e}),!0)),{get firstHiddenTime(){return wn}}),En={},On={},kn={};let Tn,Pn,jn;function Dn(e,t){return In(e,t),kn[e]||(!function(e){const t={};"event"===e&&(t.durationThreshold=0);_n(e,(t=>{Cn(e,{entries:t})}),t)}(e),kn[e]=!0),Ln(e,t)}function Cn(e,t){const n=On[e];if(n&&n.length)for(const i of n)try{i(t)}catch(r){("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.error(`Error while triggering instrumentation handler.\nType: ${e}\nName: ${D(i)}\nError:`,r)}}function Mn(){(e=>{const t=bn("CLS",0);let n,r=0,i=[];const o=e=>{e.forEach((e=>{if(!e.hadRecentInput){const o=i[0],a=i[i.length-1];r&&0!==i.length&&e.startTime-a.startTime<1e3&&e.startTime-o.startTime<5e3?(r+=e.value,i.push(e)):(r=e.value,i=[e]),r>t.value&&(t.value=r,t.entries=i,n&&n())}}))},a=_n("layout-shift",o);if(a){n=gn(e,t);const r=()=>{o(a.takeRecords()),n(!0)};xn(r)}})((e=>{Cn("cls",{metric:e}),Tn=e}))}function Rn(){(e=>{const t=Sn(),n=bn("FID");let r;const i=e=>{e.startTime<t.firstHiddenTime&&(n.value=e.processingStart-e.startTime,n.entries.push(e),r(!0))},o=e=>{e.forEach(i)},a=_n("first-input",o);r=gn(e,n),a&&xn((()=>{o(a.takeRecords()),a.disconnect()}),!0)})((e=>{Cn("fid",{metric:e}),Pn=e}))}function Nn(){(e=>{const t=Sn(),n=bn("LCP");let r;const i=e=>{const i=e[e.length-1];if(i){const e=Math.max(i.startTime-vn(),0);e<t.firstHiddenTime&&(n.value=e,n.entries=[i],r())}},o=_n("largest-contentful-paint",i);if(o){r=gn(e,n);const t=()=>{En[n.id]||(i(o.takeRecords()),o.disconnect(),En[n.id]=!0,r(!0))};["keydown","click"].forEach((e=>{addEventListener(e,t,{once:!0,capture:!0})})),xn(t,!0)}})((e=>{Cn("lcp",{metric:e}),jn=e}))}function An(e,t,n,r){return In(e,t),kn[e]||(n(),kn[e]=!0),r&&t({metric:r}),Ln(e,t)}function In(e,t){On[e]=On[e]||[],On[e].push(t)}function Ln(e,t){return()=>{const n=On[e];if(!n)return;const r=n.indexOf(t);-1!==r&&n.splice(r,1)}}function Un(e){return"number"===typeof e&&isFinite(e)}function Vn(e,{startTimestamp:t,...n}){return t&&e.startTimestamp>t&&(e.startTimestamp=t),e.startChild({startTimestamp:t,...n})}function Bn(e){return e/1e3}function zn(){return mn&&mn.addEventListener&&mn.performance}let Fn,Hn,$n=0,Yn={};function Wn(){const e=zn();if(e&&Se.Z1){e.mark&&mn.performance.mark("sentry-tracing-init");const t=function(){return e=({metric:e})=>{const t=e.entries.pop();if(!t)return;const n=Bn(Se.Z1),r=Bn(t.startTime);("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.log("[Measurements] Adding FID"),Yn.fid={value:e.value,unit:"millisecond"},Yn["mark.fid"]={value:n+r,unit:"second"}},An("fid",e,Rn,Pn);var e}(),n=function(){return e=({metric:e})=>{const t=e.entries.pop();t&&(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.log("[Measurements] Adding CLS"),Yn.cls={value:e.value,unit:""},Hn=t)},An("cls",e,Mn,Tn);var e}(),r=function(){return e=({metric:e})=>{const t=e.entries.pop();t&&(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.log("[Measurements] Adding LCP"),Yn.lcp={value:e.value,unit:"millisecond"},Fn=t)},An("lcp",e,Nn,jn);var e}();return()=>{t(),n(),r()}}return()=>{}}function Gn(e){const t=zn();if(!t||!mn.performance.getEntries||!Se.Z1)return;("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.log("[Tracing] Adding & adjusting spans using Performance API");const n=Bn(Se.Z1),r=t.getEntries();let i,o;
1if(r.slice($n).forEach((t=>{const r=Bn(t.startTime),a=Bn(t.duration);if(!("navigation"===e.op&&n+r<e.startTimestamp))switch(t.entryType){case"navigation":!function(e,t,n){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach((r=>{qn(e,t,r,n)})),qn(e,t,"secureConnection",n,"TLS/SSL","connectEnd"),qn(e,t,"fetch",n,"cache","domainLookupStart"),qn(e,t,"domainLookup",n,"DNS"),function(e,t,n){Vn(e,{op:"browser",origin:"auto.browser.browser.metrics",description:"request",startTimestamp:n+Bn(t.requestStart),endTimestamp:n+Bn(t.responseEnd)}),Vn(e,{op:"browser",origin:"auto.browser.browser.metrics",description:"response",startTimestamp:n+Bn(t.responseStart),endTimestamp:n+Bn(t.responseEnd)})}(e,t,n)}(e,t,n),i=n+Bn(t.responseStart),o=n+Bn(t.requestStart);break;case"mark":case"paint":case"measure":{!function(e,t,n,r,i){const o=i+n,a=o+r;Vn(e,{description:t.name,endTimestamp:a,op:t.entryType,origin:"auto.resource.browser.metrics",startTimestamp:o})}(e,t,r,a,n);const i=Sn(),o=t.startTime<i.firstHiddenTime;"first-paint"===t.name&&o&&(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.log("[Measurements] Adding FP"),Yn.fp={value:t.startTime,unit:"millisecond"}),"first-contentful-paint"===t.name&&o&&(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.log("[Measurements] Adding FCP"),Yn.fcp={value:t.startTime,unit:"millisecond"});break}case"resource":{const i=t.name.replace(mn.location.origin,"");!function(e,t,n,r,i,o){if("xmlhttprequest"===t.initiatorType||"fetch"===t.initiatorType)return;const a={};"transferSize"in t&&(a["http.response_transfer_size"]=t.transferSize);"encodedBodySize"in t&&(a["http.response_content_length"]=t.encodedBodySize);"decodedBodySize"in t&&(a["http.decoded_response_content_length"]=t.decodedBodySize);"renderBlockingStatus"in t&&(a["resource.render_blocking_status"]=t.renderBlockingStatus);const s=o+r;Vn(e,{description:n,endTimestamp:s+i,op:t.initiatorType?`resource.${t.initiatorType}`:"resource.other",origin:"auto.resource.browser.metrics",startTimestamp:s,data:a})}(e,t,i,r,a,n);break}}})),$n=Math.max(r.length-1,0),function(e){const t=mn.navigator;if(!t)return;const n=t.connection;n&&(n.effectiveType&&e.setTag("effectiveConnectionType",n.effectiveType),n.type&&e.setTag("connectionType",n.type),Un(n.rtt)&&(Yn["connection.rtt"]={value:n.rtt,unit:"millisecond"}));Un(t.deviceMemory)&&e.setTag("deviceMemory",`${t.deviceMemory} GB`);Un(t.hardwareConcurrency)&&e.setTag("hardwareConcurrency",String(t.hardwareConcurrency))}(e),"pageload"===e.op){"number"===typeof i&&(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.log("[Measurements] Adding TTFB"),Yn.ttfb={value:1e3*(i-e.startTimestamp),unit:"millisecond"},"number"===typeof o&&o<=i&&(Yn["ttfb.requestTime"]={value:1e3*(i-o),unit:"millisecond"})),["fcp","fp","lcp"].forEach((t=>{if(!Yn[t]||n>=e.startTimestamp)return;const r=Yn[t].value,i=n+Bn(r),o=Math.abs(1e3*(i-e.startTimestamp)),a=o-r;("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.log(`[Measurements] Normalized ${t} from ${r} to ${o} (${a})`),Yn[t].value=o}));const t=Yn["mark.fid"];t&&Yn.fid&&(Vn(e,{description:"first input delay",endTimestamp:t.value+Bn(Yn.fid.value),op:"ui.action",origin:"auto.ui.browser.metrics",startTimestamp:t.value}),delete Yn["mark.fid"]),"fcp"in Yn||delete Yn.cls,Object.keys(Yn).forEach((t=>{e.setMeasurement(t,Yn[t].value,Yn[t].unit)})),function(e){Fn&&(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.log("[Measurements] Adding LCP Data"),Fn.element&&e.setTag("lcp.element",(0,We.Rt)(Fn.element)),Fn.id&&e.setTag("lcp.id",Fn.id),Fn.url&&e.setTag("lcp.url",Fn.url.trim().slice(0,200)),e.setTag("lcp.size",Fn.size));Hn&&Hn.sources&&(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.log("[Measurements] Adding CLS Data"),Hn.sources.forEach(((t,n)=>e.setTag(`cls.source.${n+1}`,(0,We.Rt)(t.node)))))}(e)}Fn=void 0,Hn=void 0,Yn={}}function qn(e,t,n,r,i,o){const a=o?t[o]:t[`${n}End`],s=t[`${n}Start`];s&&a&&Vn(e,{op:"browser",origin:"auto.browser.browser.metrics",description:i||n,startTimestamp:r+Bn(s),endTimestamp:r+Bn(a)})}const Kn=["localhost",/^\/(?!\/)/],Xn={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,tracingOrigins:Kn,tracePropagationTargets:Kn};function Zn(e){const{traceFetch:t,traceXHR:n,tracePropagationTargets:o,tracingOrigins:a,shouldCreateSpanForRequest:s,enableHTTPTimings:c}={traceFetch:Xn.traceFetch,traceXHR:Xn.traceXHR,...e},l="function"===typeof s?s:e=>!0,u=e=>function(e,t){return(0,p.U0)(e,t||Kn)}(e,o||a),d={};t&&z("fetch",(e=>{const t=function(e,t,n,o){if(!i()||!e.fetchData)return;const a=t(e.fetchData.url);if(e.endTimestamp&&a){const t=e.fetchData.__span;if(!t)return;const n=o[t];if(n){if(e.response){n.setHttpStatus(e.response.status);const t=e.response&&e.response.headers&&e.response.headers.get("content-length"),r=parseInt(t);r>0&&n.setData("http.response_content_length",r)}else e.error&&n.setStatus("internal_error");n.finish(),delete o[t]}return}const s=(0,r.Gd)(),c=s.getScope(),l=s.getClient(),u=c.getSpan(),{method:d,url:f}=e.fetchData,h=a&&u?u.startChild({data:{url:f,type:"fetch","http.method":d},description:`${d} ${f}`,op:"http.client",origin:"auto.http.browser"}):void 0;h&&(e.fetchData.__span=h.spanId,o[h.spanId]=h);if(n(e.fetchData.url)&&l){const t=e.args[0];e.args[1]=e.args[1]||{};const n=e.args[1];n.headers=function(e,t,n,r,i){const o=i||n.getSpan(),a=o&&o.transaction,{traceId:s,sampled:c,dsc:l}=n.getPropagationContext(),u=o?o.toTraceparent():Jt(s,void 0,c),d=qt(a?a.getDynamicSamplingContext():l||we(s,t,n)),f="undefined"!==typeof Request&&(0,A.V9)(e,Request)?e.headers:r.headers;if(f){if("undefined"!==typeof Headers&&(0,A.V9)(f,Headers)){const e=new Headers(f);return e.append("sentry-trace",u),d&&e.append(Yt,d),e}if(Array.isArray(f)){const e=[...f,["sentry-trace",u]];return d&&e.push([Yt,d]),e}{const e="baggage"in f?f.baggage:void 0,t=[];return Array.isArray(e)?t.push(...e):e&&t.push(e),d&&t.push(d),{...f,"sentry-trace":u,baggage:t.length>0?t.join(","):void 0}}}return{"sentry-trace":u,baggage:d}}(t,l,c,n,h)}return h}(e,l,u,d);c&&t&&Jn(t)})),n&&z("xhr",(e=>{const t=function(e,t,n,o){const a=e.xhr,s=a&&a.__sentry_xhr_v2__;if(!i()||a&&a.__sentry_own_request__||!a||!s)return;const c=t(s.url);if(e.endTimestamp&&c){const e=a.__sentry_xhr_span_id__;if(!e)return;const t=o[e];return void(t&&(t.setHttpStatus(s.status_code),t.finish(),delete o[e]))}const l=(0,r.Gd)(),u=l.getScope(),d=u.getSpan(),f=c&&d?d.startChild({data:{...s.data,type:"xhr","http.method":s.method,url:s.url},description:`${s.method} ${s.url}`,op:"http.client",origin:"auto.http.browser"}):void 0;f&&(a.__sentry_xhr_span_id__=f.spanId,o[a.__sentry_xhr_span_id__]=f);if(a.setRequestHeader&&n(s.url))if(f){const e=f&&f.transaction,t=qt(e&&e.getDynamicSamplingContext());er(a,f.toTraceparent(),t)}else{const e=l.getClient(),{traceId:t,sampled:n,dsc:r}=u.getPropagationContext();er(a,Jt(t,void 0,n),qt(r||(e?we(t,e,u):void 0)))}return f}(e,l,u,d);c&&t&&Jn(t)}))}function Jn(e){const t=e.data.url;if(!t)return;const n=Dn("resource",(({entries:r})=>{r.forEach((r=>{if(function(e){return"resource"===e.entryType&&"initiatorType"in e&&"string"===typeof e.nextHopProtocol&&("fetch"===e.initiatorType||"xmlhttprequest"===e.initiatorType)}
1(r)&&r.name.endsWith(t)){(function(e){const{name:t,version:n}=function(e){let t="unknown",n="unknown",r="";for(const i of e){if("/"===i){[t,n]=e.split("/");break}if(!isNaN(Number(i))){t="h"===r?"http":r,n=e.split(r)[1];break}r+=i}r===e&&(t=r);return{name:t,version:n}}(e.nextHopProtocol),r=[];if(r.push(["network.protocol.version",n],["network.protocol.name",t]),!Se.Z1)return r;return[...r,["http.request.redirect_start",Qn(e.redirectStart)],["http.request.fetch_start",Qn(e.fetchStart)],["http.request.domain_lookup_start",Qn(e.domainLookupStart)],["http.request.domain_lookup_end",Qn(e.domainLookupEnd)],["http.request.connect_start",Qn(e.connectStart)],["http.request.secure_connection_start",Qn(e.secureConnectionStart)],["http.request.connection_end",Qn(e.connectEnd)],["http.request.request_start",Qn(e.requestStart)],["http.request.response_start",Qn(e.responseStart)],["http.request.response_end",Qn(e.responseEnd)]]})(r).forEach((t=>e.setData(...t))),setTimeout(n)}}))}))}function Qn(e=0){return((Se.Z1||performance.timeOrigin)+e)/1e3}function er(e,t,n){try{e.setRequestHeader("sentry-trace",t),n&&e.setRequestHeader(Yt,n)}catch(r){}}const tr={...nn,markBackgroundTransactions:!0,routingInstrumentation:function(e,t=!0,n=!0){if(!mn||!mn.location)return void(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.warn("Could not initialize routing instrumentation due to invalid location"));let r,i=mn.location.href;t&&(r=e({name:mn.location.pathname,startTimestamp:Se.Z1?Se.Z1/1e3:void 0,op:"pageload",origin:"auto.pageload.browser",metadata:{source:"url"}})),n&&z("history",(({to:t,from:n})=>{void 0===n&&i&&-1!==i.indexOf(t)?i=void 0:n!==t&&(i=void 0,r&&(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.log(`[Tracing] Finishing current transaction with op: ${r.op}`),r.finish()),r=e({name:mn.location.pathname,op:"navigation",origin:"auto.navigation.browser",metadata:{source:"url"}}))}))},startTransactionOnLocationChange:!0,startTransactionOnPageLoad:!0,enableLongTask:!0,_experiments:{},...Xn};class nr{constructor(e){this.name="BrowserTracing",this._hasSetTracePropagationTargets=!1,pn(),("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&(this._hasSetTracePropagationTargets=!(!e||!e.tracePropagationTargets&&!e.tracingOrigins)),this.options={...tr,...e},void 0!==this.options._experiments.enableLongTask&&(this.options.enableLongTask=this.options._experiments.enableLongTask),e&&!e.tracePropagationTargets&&e.tracingOrigins&&(this.options.tracePropagationTargets=e.tracingOrigins),this._collectWebVitals=Wn(),this.options.enableLongTask&&Dn("longtask",(({entries:e})=>{for(const t of e){const e=sn();if(!e)return;const n=Bn(Se.Z1+t.startTime),r=Bn(t.duration);e.startChild({description:"Main UI thread blocked",op:"ui.long-task",origin:"auto.ui.browser.metrics",startTimestamp:n,endTimestamp:n+r})}})),this.options._experiments.enableInteractions&&Dn("event",(({entries:e})=>{for(const t of e){const e=sn();if(!e)return;if("click"===t.name){const n=Bn(Se.Z1+t.startTime),r=Bn(t.duration);e.startChild({description:(0,We.Rt)(t.target),op:`ui.interaction.${t.name}`,origin:"auto.ui.browser.metrics",startTimestamp:n,endTimestamp:n+r})}}}))}setupOnce(e,t){this._getCurrentHub=t;const n=t().getClient(),r=n&&n.getOptions(),{routingInstrumentation:i,startTransactionOnLocationChange:o,startTransactionOnPageLoad:a,markBackgroundTransactions:s,traceFetch:c,traceXHR:l,shouldCreateSpanForRequest:u,enableHTTPTimings:d,_experiments:h}=this.options,p=r&&r.tracePropagationTargets,m=p||this.options.tracePropagationTargets;("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&this._hasSetTracePropagationTargets&&p&&f.kg.warn("[Tracing] The `tracePropagationTargets` option was set in the BrowserTracing integration and top level `Sentry.init`. The top level `Sentry.init` value is being used."),i((e=>{const n=this._createRouteTransaction(e);return this.options._experiments.onStartRouteTransaction&&this.options._experiments.onStartRouteTransaction(n,e,t),n}),a,o),s&&(mn&&mn.document?mn.document.addEventListener("visibilitychange",(()=>{const e=sn();if(mn.document.hidden&&e){const t="cancelled";("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.log(`[Tracing] Transaction: ${t} -> since tab moved to the background, op: ${e.op}`),e.status||e.setStatus(t),e.setTag("visibilitychange","document.hidden"),e.finish()}})):("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.warn("[Tracing] Could not set up background tab detection due to lack of global document")),h.enableInteractions&&this._registerInteractionListener(),Zn({traceFetch:c,traceXHR:l,tracePropagationTargets:m,shouldCreateSpanForRequest:u,enableHTTPTimings:d})}_createRouteTransaction(e){if(!this._getCurrentHub)return void(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.warn(`[Tracing] Did not create ${e.op}
1 transaction because _getCurrentHub is invalid.`));const t=this._getCurrentHub(),{beforeNavigate:n,idleTimeout:r,finalTimeout:i,heartbeatInterval:o}=this.options,a="pageload"===e.op,s=a?rr("sentry-trace"):"",c=a?rr("baggage"):"",{traceparentData:l,dynamicSamplingContext:u,propagationContext:d}=Zt(s,c),h={...e,...l,metadata:{...e.metadata,dynamicSamplingContext:l&&!u?{}:u},trimEnd:!0},p="function"===typeof n?n(h):h,m=void 0===p?{...h,sampled:!1}:p;m.metadata=m.name!==h.name?{...m.metadata,source:"custom"}:m.metadata,this._latestRouteName=m.name,this._latestRouteSource=m.metadata&&m.metadata.source,!1===m.sampled&&("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.log(`[Tracing] Will not send ${m.op} transaction because of beforeNavigate.`),("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.log(`[Tracing] Starting ${m.op} transaction on scope`);const{location:g}=mn,y=hn(t,m,r,i,!0,{location:g},o),v=t.getScope();return a&&l?v.setPropagationContext(d):v.setPropagationContext({traceId:y.traceId,spanId:y.spanId,parentSpanId:y.parentSpanId,sampled:y.sampled}),y.registerBeforeFinishCallback((e=>{this._collectWebVitals(),Gn(e)})),y}_registerInteractionListener(){let e;const t=()=>{const{idleTimeout:t,finalTimeout:n,heartbeatInterval:r}=this.options,i="ui.action.click",o=sn();if(o&&o.op&&["navigation","pageload"].includes(o.op))return void(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.warn(`[Tracing] Did not create ${i} transaction because a pageload or navigation transaction is in progress.`));if(e&&(e.setFinishReason("interactionInterrupted"),e.finish(),e=void 0),!this._getCurrentHub)return void(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.warn(`[Tracing] Did not create ${i} transaction because _getCurrentHub is invalid.`));if(!this._latestRouteName)return void(("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.warn(`[Tracing] Did not create ${i} transaction because _latestRouteName is missing.`));const a=this._getCurrentHub(),{location:s}=mn,c={name:this._latestRouteName,op:i,trimEnd:!0,metadata:{source:this._latestRouteSource||"url"}};e=hn(a,c,t,n,!0,{location:s},r)};["click"].forEach((e=>{addEventListener(e,t,{once:!1,capture:!0})}))}}function rr(e){const t=(0,We.qT)(`meta[name=${e}]`);return t?t.getAttribute("content"):void 0}function ir(e,t,n){const r=t.match(/([a-z_]+)\.(.*)/i);if(null===r)e[t]=n;else{ir(e[r[1]],r[2],n)}}function or(e,t,n={}){return Array.isArray(t)?ar(e,t,n):function(e,t,n){const r=r=>{const i=t(r);if(e.allowExclusionByUser){if(!i.find((t=>t.name===e.name)))return i}return ar(e,i,n)};return r}(e,t,n)}function ar(e,t,n){const r=t.find((t=>t.name===e.name));if(r){for(const[e,t]of Object.entries(n))ir(r,e,t);return t}return[...t,e]}var sr=n(83454);function cr(e){const t=e?sr.env.NEXT_PUBLIC_VERCEL_ENV:sr.env.VERCEL_ENV;return t?`vercel-${t}`:void 0}const lr={"routing.instrumentation":"next-app-router"};function ur(e,t=!0,n=!0){let r,i=Be.location.pathname;t&&(r=e({name:i,op:"pageload",origin:"auto.pageload.nextjs.app_router_instrumentation",tags:lr,startTimestamp:Se.Z1?Se.Z1/1e3:void 0,metadata:{source:"url"}})),n&&z("fetch",(t=>{if(void 0!==t.endTimestamp)return;if("GET"!==t.fetchData.method)return;const n=function(e){if(!e[0]||"object"!==typeof e[0]||void 0===e[0].searchParams)return null;if(!e[1]||"object"!==typeof e[1]||!("headers"in e[1]))return null;try{const t=e[0],n=e[1].headers;return"1"!==n.RSC||"1"===n["Next-Router-Prefetch"]?null:{targetPathname:t.pathname}}catch(t){return null}}(t.args);if(null===n)return;const o=n.targetPathname,a={...lr,from:i};i=o,r&&r.finish(),e({name:o,op:"navigation",origin:"auto.navigation.nextjs.app_router_instrumentation",tags:a,metadata:{source:"url"}})}))}var dr=n(11163),fr=n.n(dr);const hr=Be;const pr={"routing.instrumentation":"next-pages-router"};let mr,gr;const yr=(0,r.Gd)().getClient();function vr(e,t=!0,n=!0){const{route:i,params:o,sentryTrace:a,baggage:s}=function(){let e;const t=hr.document.getElementById("__NEXT_DATA__");if(t&&t.innerHTML)try{e=JSON.parse(t.innerHTML)}catch(a){("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.warn("Could not extract __NEXT_DATA__")}if(!e)return{};const n={},{page:r,query:i,props:o}=e;return n.route=r,n.params=i,o&&o.pageProps&&(n.sentryTrace=o.pageProps._sentryTraceData,n.baggage=o.pageProps._sentryBaggage),n}(),{traceparentData:c,dynamicSamplingContext:l,propagationContext:u}=Zt(a,s);if((0,r.Gd)().getScope().setPropagationContext(u),gr=i||hr.location.pathname,t){const t=i?"route":"url";mr=e({name:gr,op:"pageload",origin:"auto.pageload.nextjs.pages_router_instrumentation",tags:pr,startTimestamp:Se.Z1?Se.Z1/1e3:void 0,...o&&yr&&yr.getOptions().sendDefaultPii&&{data:o},...c,metadata:{source:t,dynamicSamplingContext:c&&!l?{}:l}})}n&&fr().events.on("routeChangeStart",(t=>
1{const n=t.split(/[\?#]/,1)[0];const r=function(e){const t=(hr.__BUILD_MANIFEST||{}).sortedPages;if(!t)return;return t.find((t=>{const n=function(e){const t=e.split("/");let n="";t[t.length-1].match(/^\[\[\.\.\..+\]\]$/)&&(t.pop(),n="(?:/(.+?))?");const r=t.map((e=>e.replace(/^\[\.\.\..+\]$/,"(.+?)").replace(/^\[.*\]$/,"([^/]+?)"))).join("/");return new RegExp(`^${r}${n}(?:/)?$`)}(t);return e.match(n)}))}(n);let i,o;r?(i=r,o="route"):(i=n,o="url");const a={...pr,from:gr};gr=i,mr&&mr.finish();const s=e({name:i,op:"navigation",origin:"auto.navigation.nextjs.pages_router_instrumentation",tags:a,metadata:{source:o}});if(s){const e=s.startChild({op:"ui.nextjs.route-change",origin:"auto.ui.nextjs.pages_router_instrumentation",description:"Next.js Route Change"}),t=()=>{e.finish(),fr().events.off("routeChangeComplete",t)};fr().events.on("routeChangeComplete",t)}}))}function br(e,t=!0,n=!0){!Be.document.getElementById("__NEXT_DATA__")?ur(e,t,n):vr(e,t,n)}const _r=n.g;const xr=n.g;var wr=n(83454),Sr=window;Sr.__sentryRewritesTunnelPath__=void 0,Sr.SENTRY_RELEASE={id:"wOdF-nQeMz9YCM29DL4fS"},Sr.__sentryBasePath=void 0,Sr.__rewriteFramesAssetPrefixPath__="";!function(e){const t={environment:cr(!0)||"production",...e};!function(e){const t=_r.__sentryRewritesTunnelPath__;if(t&&e.dsn){const n=ee(e.dsn);if(!n)return;const r=n.host.match(/^o(\d+)\.ingest\.sentry\.io$/);if(r){const i=`${t}?o=${r[1]}&p=${n.projectId}`;e.tunnel=i,("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.info(`Tunneling events to "${i}"`)}else("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&f.kg.warn("Provided DSN is not a Sentry SaaS DSN. Will not tunnel events.")}}(t),function(e,t){e._metadata=e._metadata||{},e._metadata.sdk=e._metadata.sdk||{name:"sentry.javascript.nextjs",packages:t.map((e=>({name:`npm:@sentry/${e}`,version:d}))),version:d}}(t,["nextjs","react"]),function(e){let t=e.integrations||[];const n=xr.__rewriteFramesAssetPrefixPath__||"",r=new u({iteratee:e=>{try{const{origin:t}=new URL(e.filename);e.filename=function(e){let t,n=e[0],r=1;for(;r<e.length;){const i=e[r],o=e[r+1];if(r+=2,("optionalAccess"===i||"optionalCall"===i)&&null==n)return;"access"===i||"optionalAccess"===i?(t=n,n=o(n)):"call"!==i&&"optionalCall"!==i||(n=o(((...e)=>n.call(t,...e))),t=void 0)}return n}([e,"access",e=>e.filename,"optionalAccess",e=>e.replace,"call",e=>e(t,"app://"),"access",e=>e.replace,"call",e=>e(n,"")])}catch(t){}return e.filename&&e.filename.startsWith("app:///_next")&&(e.filename=decodeURI(e.filename)),e.filename&&e.filename.match(/^app:\/\/\/_next\/static\/chunks\/(main-|main-app-|polyfills-|webpack-|framework-|framework\.)[0-9a-f]+\.js$/)&&(e.in_app=!1),e}});if(t=or(r,t),("undefined"===typeof __SENTRY_TRACING__||__SENTRY_TRACING__)&&i(e)){t=or(new nr({tracingOrigins:[...Xn.tracingOrigins,/^(api\/)/],routingInstrumentation:br}),t,{"options.routingInstrumentation":br})}e.integrations=t}(t),function(e){const t={_metadata:{},...e};t._metadata.sdk=t._metadata.sdk||{name:"sentry.javascript.react",packages:[{name:"npm:@sentry/react",version:d}],version:d},Ht(t)}(t),(0,Ve.e)((e=>{e.setTag("runtime","browser");const t=e=>"transaction"===e.type&&"/404"===e.transaction?null:e;t.id="NextClient404Filter",e.addEventProcessor(t)}))}({dsn:wr.env.SENTRY_DSN||wr.env.NEXT_PUBLIC_SENTRY_DSN||"https://[email protected]/6164526",tracesSampleRate:.005,environment:"production"})},44019:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDomainLocale=function(e,t,n,r){return!1};("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7942:function(e,t,n){"use strict";var r=n(85696);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(92648).Z,o=n(17273).Z,a=i(n(67294)),s=n(64957),c=n(57995),l=n(30647),u=n(51992),d=n(90639),f=n(44019),h=n(70227),p={};function m(e,t,n,r){if(e&&s.isLocalURL(t)){Promise.resolve(e.prefetch(t,n,r)).catch((function(e){0}));var i=r&&"undefined"!==typeof r.locale?r.locale:e&&e.locale;p[t+"%"+n+(i?"%"+i:"")]=!0}}var g=a.default.forwardRef((function(e,t){var n,i=e.href,g=e.as,y=e.children,v=e.prefetch,b=e.passHref,_=e.replace,x=e.shallow,w=e.scroll,S=e.locale,E=e.onClick,O=e.onMouseEnter,k=e.onTouchStart,T=e.legacyBehavior,P=void 0===T?
1!0!==Boolean(!1):T,j=o(e,["href","as","children","prefetch","passHref","replace","shallow","scroll","locale","onClick","onMouseEnter","onTouchStart","legacyBehavior"]);n=y,!P||"string"!==typeof n&&"number"!==typeof n||(n=a.default.createElement("a",null,n));var D=!1!==v,C=a.default.useContext(l.RouterContext),M=a.default.useContext(u.AppRouterContext);M&&(C=M);var R,N=a.default.useMemo((function(){var e=s.resolveHref(C,i,!0),t=r(e,2),n=t[0],o=t[1];return{href:n,as:g?s.resolveHref(C,g):o||n}}),[C,i,g]),A=N.href,I=N.as,L=a.default.useRef(A),U=a.default.useRef(I);P&&(R=a.default.Children.only(n));var V=P?R&&"object"===typeof R&&R.ref:t,B=d.useIntersection({rootMargin:"200px"}),z=r(B,3),F=z[0],H=z[1],$=z[2],Y=a.default.useCallback((function(e){U.current===I&&L.current===A||($(),U.current=I,L.current=A),F(e),V&&("function"===typeof V?V(e):"object"===typeof V&&(V.current=e))}),[I,V,A,$,F]);a.default.useEffect((function(){var e=H&&D&&s.isLocalURL(A),t="undefined"!==typeof S?S:C&&C.locale,n=p[A+"%"+I+(t?"%"+t:"")];e&&!n&&m(C,A,I,{locale:t})}),[I,A,H,S,D,C]);var W={ref:Y,onClick:function(e){P||"function"!==typeof E||E(e),P&&R.props&&"function"===typeof R.props.onClick&&R.props.onClick(e),e.defaultPrevented||function(e,t,n,r,i,o,c,l,u,d){if("A"!==e.currentTarget.nodeName.toUpperCase()||!function(e){var t=e.currentTarget.target;return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)&&s.isLocalURL(n)){e.preventDefault();var f=function(){"beforePopState"in t?t[i?"replace":"push"](n,r,{shallow:o,locale:l,scroll:c}):t[i?"replace":"push"](n,{forceOptimisticNavigation:!d})};u?a.default.startTransition(f):f()}}(e,C,A,I,_,x,w,S,Boolean(M),D)},onMouseEnter:function(e){P||"function"!==typeof O||O(e),P&&R.props&&"function"===typeof R.props.onMouseEnter&&R.props.onMouseEnter(e),!D&&M||s.isLocalURL(A)&&m(C,A,I,{priority:!0})},onTouchStart:function(e){P||"function"!==typeof k||k(e),P&&R.props&&"function"===typeof R.props.onTouchStart&&R.props.onTouchStart(e),!D&&M||s.isLocalURL(A)&&m(C,A,I,{priority:!0})}};if(!P||b||"a"===R.type&&!("href"in R.props)){var G="undefined"!==typeof S?S:C&&C.locale,q=C&&C.isLocaleDomain&&f.getDomainLocale(I,G,C.locales,C.domainLocales);W.href=q||h.addBasePath(c.addLocale(I,G,C&&C.defaultLocale))}return P?a.default.cloneElement(R,W):a.default.createElement("a",Object.assign({},j,W),n)}));t.default=g,("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},90639:function(e,t,n){"use strict";var r=n(85696);Object.defineProperty(t,"__esModule",{value:!0}),t.useIntersection=function(e){var t=e.rootRef,n=e.rootMargin,l=e.disabled||!a,u=i.useState(!1),d=r(u,2),f=d[0],h=d[1],p=i.useState(null),m=r(p,2),g=m[0],y=m[1];i.useEffect((function(){if(a){if(l||f)return;if(g&&g.tagName){var e=function(e,t,n){var r=function(e){var t,n={root:e.root||null,margin:e.rootMargin||""},r=c.find((function(e){return e.root===n.root&&e.margin===n.margin}));if(r&&(t=s.get(r)))return t;var i=new Map,o=new IntersectionObserver((function(e){e.forEach((function(e){var t=i.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)}))}),e);return t={id:n,observer:o,elements:i},c.push(n),s.set(n,t),t}(n),i=r.id,o=r.observer,a=r.elements;return a.set(e,t),o.observe(e),function(){if(a.delete(e),o.unobserve(e),0===a.size){o.disconnect(),s.delete(i);var t=c.findIndex((function(e){return e.root===i.root&&e.margin===i.margin}));t>-1&&c.splice(t,1)}}}(g,(function(e){return e&&h(e)}),{root:null==t?void 0:t.current,rootMargin:n});return e}}else if(!f){var r=o.requestIdleCallback((function(){return h(!0)}));return function(){return o.cancelIdleCallback(r)}}}),[g,l,n,t,f]);var v=i.useCallback((function(){h(!1)}),[]);return[y,f,v]};var i=n(67294),o=n(26286),a="function"===typeof IntersectionObserver,s=new Map,c=[];("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},78e3:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AmpStateContext=void 0;var r=(0,n(92648).Z)(n(67294)).default.createContext({});t.AmpStateContext=r},9470:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isInAmpMode=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.ampFirst,n=void 0!==t&&t,r=e.hybrid,i=void 0!==r&&r,o=e.hasQuery,a=void 0!==o&&o;return n||i&&a}},51992:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TemplateContext=t.GlobalLayoutRouterContext=t.LayoutRouterContext=t.AppRouterContext=void 0;var r=(0,n(92648).Z)(n(67294)),i=r.default.createContext(null);t.AppRouterContext=i;var o=r.default.createContext(null);t.LayoutRouterContext=o;var a=r.default.createContext(null);t.GlobalLayoutRouterContext=a;var s=r.default.createContext(null);t.TemplateContext=s},72717:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultHead=u,t.default=void 0;var r=n(6495).Z,i=n(92648).Z,o=(0,n(91598).Z)(n(67294)),a=i(n(11585)),s=n(78e3),c=n(15850),l=n(9470);n(99475);function u(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=[o.default.createElement("meta",{charSet:"utf-8"})];return e||t.push(o.default.createElement("meta",{name:"viewport",content:"width=device-width"})),t}function d(e,t){return"string"===typeof t||"number"===typeof t?e:t.type===o.default.Fragment?e.concat(o.default.Children.toArray(t.props.children).reduce((function(e,t){return"string"===typeof t||"number"===typeof t?e:e.concat(t)}),[])):e.concat(t)}var f=["name","httpEquiv","charSet","itemProp"];function h(e,t){var n=t.inAmpMode;return e.reduce(d,[]).reverse().concat(u(n).reverse()).filter(function(){var e=new Set,t=new Set,n=new Set,r={};return function(i){var o=!0,a=!1;if(i.key&&"number"!==typeof i.key&&i.key.indexOf("$")>0){a=!0;var s=i.key.slice(i.key.indexOf("$")+1);e.has(s)?o=!1:e.add(s)}switch(i.type){case"title":case"base":t.has(i.type)?o=!1:t.add(i.type);break;case"meta":for(var c=0,l=f.length;c<l;c++){var u=f[c];if(i.props.hasOwnProperty(u))if("charSet"===u)n.has(u)?o=!1:n.add(u);else{var d=i.props[u],h=r[u]||new Set;"name"===u&&a||!h.has(d)?(h.add(d),r[u]=h):o=!1}}}return o}}()).reverse().map((function(e,t){var i=e.key||t;if(!n&&"link"===e.type&&e.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some((function(t){return e.props.href.startsWith(t)}))){var a=r({},e.props||{});return a["data-href"]=a.href,a.href=void 0,a["data-optimized-fonts"]=!0,o.default.cloneElement(e,a)}return o.default.cloneElement(e,{key:i})}))}var p=function(e){var t=e.children,n=o.useContext(s.AmpStateContext),r=o.useContext(c.HeadManagerContext);return o.default.createElement(a.default,{reduceComponentsToState:h,headManager:r,inAmpMode:l.isInAmpMode(n)},t)};t.default=p,("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},11585:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.headManager,n=e.reduceComponentsToState;function s(){if(t&&t.mountedInstances){var i=r.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(n(i,e))}}if(i){var c;null==t||null==(c=t.mountedInstances)||c.add(e.children),s()}return o((function(){var n;return null==t||null==(n=t.mountedInstances)||n.add(e.children),function(){var n;null==t||null==(n=t.mountedInstances)||n.delete(e.children)}})),o((function(){return t&&(t._pendingUpdate=s),function(){t&&(t._pendingUpdate=s)}})),a((function(){return t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),function(){t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)}})),null};var r=(0,n(91598).Z)(n(67294));var i=!1,o=i?function(){}:r.useLayoutEffect,a=i?function(){}:r.useEffect},28454:function(e,t,n){var r=n(83454),i=n(67294);function o(e){return e&&"object"===typeof e&&"default"in e?e:{default:e}}var a=o(i);function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var c="undefined"!==typeof r&&r.env&&!0,l=function(e){return"[object String]"===Object.prototype.toString.call(e)},u=function(){function e(e){var t=void 0===e?{}:e,n=t.name,r=void 0===n?"stylesheet":n,i=t.optimizeForSpeed,o=void 0===i?c:i;d(l(r),"`name` must be a string"),this._name=r,this._deletedRulePlaceholder="#"+r+"-deleted-rule____{}",d("boolean"===typeof o,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=o,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var a=document.querySelector('meta[property="csp-nonce"]');this._nonce=a?a.getAttribute("content"):null}var t,n,r,i=e.prototype;return i.setOptimizeForSpeed=function(e){d("boolean"===typeof e,"`setOptimizeForSpeed` accepts a boolean"),d(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=e,this.inject()},i.isOptimizeForSpeed=function(){return this._optimizeForSpeed},i.inject=function(){var e=this;if(d(!this._injected,"sheet already injected"),this._injected=!0,this._optimizeForSpeed)return this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.get
1Sheet(),void(this._optimizeForSpeed||(c||console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0));this._serverSheet={cssRules:[],insertRule:function(t,n){return"number"===typeof n?e._serverSheet.cssRules[n]={cssText:t}:e._serverSheet.cssRules.push({cssText:t}),n},deleteRule:function(t){e._serverSheet.cssRules[t]=null}}},i.getSheetForTag=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]},i.getSheet=function(){return this.getSheetForTag(this._tags[this._tags.length-1])},i.insertRule=function(e,t){if(d(l(e),"`insertRule` accepts only strings"),this._optimizeForSpeed){var n=this.getSheet();"number"!==typeof t&&(t=n.cssRules.length);try{n.insertRule(e,t)}catch(i){return c||console.warn("StyleSheet: illegal rule: \n\n"+e+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),-1}}else{var r=this._tags[t];this._tags.push(this.makeStyleTag(this._name,e,r))}return this._rulesCount++},i.replaceRule=function(e,t){if(this._optimizeForSpeed){var n=this.getSheet();if(t.trim()||(t=this._deletedRulePlaceholder),!n.cssRules[e])return e;n.deleteRule(e);try{n.insertRule(t,e)}catch(i){c||console.warn("StyleSheet: illegal rule: \n\n"+t+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),n.insertRule(this._deletedRulePlaceholder,e)}}else{var r=this._tags[e];d(r,"old rule at index `"+e+"` not found"),r.textContent=t}return e},i.deleteRule=function(e){if(this._optimizeForSpeed)this.replaceRule(e,"");else{var t=this._tags[e];d(t,"rule at index `"+e+"` not found"),t.parentNode.removeChild(t),this._tags[e]=null}},i.flush=function(){this._injected=!1,this._rulesCount=0,this._tags.forEac
1h((function(e){return e&&e.parentNode.removeChild(e)})),this._tags=[]},i.cssRules=function(){var e=this;return this._tags.reduce((function(t,n){return n?t=t.concat(Array.prototype.map.call(e.getSheetForTag(n).cssRules,(function(t){return t.cssText===e._deletedRulePlaceholder?null:t}))):t.push(null),t}),[])},i.makeStyleTag=function(e,t,n){t&&d(l(t),"makeStyleTag accepts only strings as second parameter");var r=document.createElement("style");this._nonce&&r.setAttribute("nonce",this._nonce),r.type="text/css",r.setAttribute("data-"+e,""),t&&r.appendChild(document.createTextNode(t));var i=document.head||document.getElementsByTagName("head")[0];return n?i.insertBefore(r,n):i.appendChild(r),r},t=e,(n=[{key:"length",get:function(){return this._rulesCount}}])&&s(t.prototype,n),r&&s(t,r),e}();function d(e,t){if(!e)throw new Error("StyleSheet: "+t+".")}var f=function(e){for(var t=5381,n=e.length;n;)t=33*t^e.charCodeAt(--n);return t>>>0},h={};function p(e,t){if(!t)return"jsx-"+e;var n=String(t),r=e+n;return h[r]||(h[r]="jsx-"+f(e+"-"+n)),h[r]}function m(e,t){var n=e+t;return h[n]||(h[n]=t.replace(/__jsx-style-dynamic-selector/g,e)),h[n]}var g=function(){function e(e){var t=void 0===e?{}:e,n=t.styleSheet,r=void 0===n?null:n,i=t.optimizeForSpeed,o=void 0!==i&&i;this._sheet=r||new u({name:"styled-jsx",optimizeForSpeed:o}),this._sheet.inject(),r&&"boolean"===typeof o&&(this._sheet.setOptimizeForSpeed(o),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var t=e.prototype;return t.add=function(e){var t=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(e.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer||(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce((function(e,t){return e[t]=0,e}),{}));var n=this.getIdAndRules(e),r=n.styleId,i=n.rules;if(r in this._instancesCounts)this._instancesCounts[r]+=1;else{var o=i.map((function(e){return t._sheet.insertRule(e)})).filter((function(e){return-1!==e}));this._indices[r]=o,this._instancesCounts[r]=1}},t.remove=function(e){var t=this,n=this.getIdAndRules(e).styleId;if(function(e,t){if(!e)throw new Error("StyleSheetRegistry: "+t+".")}(n in this._instancesCounts,"styleId: `"+n+"` not found"),this._instancesCounts[n]-=1,this._instancesCounts[n]<1){var r=this._fromServer&&this._fromServer[n];r?(r.parentNode.removeChild(r),delete this._fromServer[n]):(this._indices[n].forEach((function(e){return t._sheet.deleteRule(e)})),delete this._indices[n]),delete this._instancesCounts[n]}},t.update=function(e,t){this.add(t),this.remove(e)},t.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},t.cssRules=function(){var e=this,t=this._fromServer?Object.keys(this._fromServer).map((function(t){return[t,e._fromServer[t]]})):[],n=this._sheet.cssRules();return t.concat(Object.keys(this._indices).map((function(t){return[t,e._indices[t].map((function(e){return n[e].cssText})).join(e._optimizeForSpeed?"":"\n")]})).filter((function(e){return Boolean(e[1])})))},t.styles=function(e){return function(e,t){return void 0===t&&(t={}),e.map((function(e){var n=e[0],r=e[1];return a.default.createElement("style",{id:"__"+n,key:"__"+n,nonce:t.nonce?t.nonce:void 0,dangerouslySetInnerHTML:{__html:r}})}))}(this.cssRules(),e)},t.getIdAndRules=function(e){var t=e.children,n=e.dynamic,r=e.id;if(n){var i=p(r,n);return{styleId:i,rules:Array.isArray(t)?t.map((function(e){return m(i,e)})):[m(i,t)]}}return{styleId:p(r),rules:Array.isArray(t)?t:[t]}},t.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce((function(e,t){return e[t.id.slice(2)]=t,e}),{})},e}();var y=i.createContext(null);function v(){return new g}function b(){return i.useContext(y)}y.displayName="StyleSheetContext";var _=a.default.useInsertionEffect||a.default.useLayoutEffect,x=v();function w(e){var t=x||b();return t?(_((function(){return t.add(e),function(){t.remove(e)}}),[e.id,String(e.dynamic)]),null):null}w.dynamic=function(e){return e.map((function(e){return p(e[0],e[1])})).join(" ")},t.style=w},95627:function(e,t,n){e.exports=n(28454).style},7039:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return we}});var r=n(59499),i=n(95627),o=n.n(i),a=n(17982),s=n(41594),c=n(43547),l=n.n(c),u=n(85893),d=function(e){var t=(0,s.aF)().currentUser;return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsxs)("div",{className:o().dynamic([["4046885646",[l().theme.screens.lg]]])+" m",children:[(0,u.jsx)("div",{className:o().dynamic([["4046885646",[l().theme.screens.lg]]])+" m__left",children:t&&(0,u.jsx)(a.fv,{})}),(0,u.jsx)("div",{className:o().dynamic([["4046885646",[l().theme.screens.lg]]])+" m__center",children:e.children}),(0,u.jsx)("div",{className:o().dynamic([["4046885646",[l().theme.screens.lg]]])+" m__right"})]}),(0,u.jsx)(o(),{id:"4046885646",dynamic:[l().theme.screens.lg],children:[".m.__jsx-style-dynamic-selector{width:100%;max-width:".concat(l().theme.screens.lg,";}"),"@media (min-width:1200px){.m.__jsx-style-dynamic-selector{margin-left:auto;margin-right:auto;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;
1-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;}}",".m__left.__jsx-style-dynamic-selector{display:none;}","@media (min-width:1200px){.m__left.__jsx-style-dynamic-selector{width:27%;min-width:320px;max-width:370px;overflow-y:auto;max-height:100vh;display:block;padding-top:1.5rem;}}",".m__center.__jsx-style-dynamic-selector{padding-bottom:3rem;}","@media (min-width:1200px){.m__center.__jsx-style-dynamic-selector{width:48%;min-width:560px;max-width:660px;margin-left:1.25rem;margin-right:1.25rem;padding-top:1.5rem;}}",".m__right.__jsx-style-dynamic-selector{display:none;}","@media (min-width:1200px){.m__right.__jsx-style-dynamic-selector{width:27%;min-width:320px;max-width:370px;display:block;}}"]})]})},f=n(9008),h=n.n(f),p=n(74994),m=n(63952),g=n(15019),y=n(92432),v=n(11163),b=n.n(v),_=n(26997),x=n(64487);function w(e){return w="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},w(e)}"function"===typeof Symbol&&null!=Symbol.iterator&&Symbol.iterator,"function"===typeof Symbol&&null!=Symbol.asyncIterator&&Symbol.asyncIterator;var S="function"===typeof Symbol&&null!=Symbol.toStringTag?Symbol.toStringTag:"@@toStringTag";function E(e,t){for(var n,r=/\r\n|[\n\r]/g,i=1,o=t+1;(n=r.exec(e.body))&&n.index<t;)i+=1,o=t+1-(n.index+n[0].length);return{line:i,column:o}}function O(e){return k(e.source,E(e.source,e.start))}function k(e,t){var n=e.locationOffset.column-1,r=P(n)+e.body,i=t.line-1,o=e.locationOffset.line-1,a=t.line+o,s=1===t.line?n:0,c=t.column+s,l="".concat(e.name,":").concat(a,":").concat(c,"\n"),u=r.split(/\r\n|[\n\r]/g),d=u[i];if(d.length>120){for(var f=Math.floor(c/80),h=c%80,p=[],m=0;m<d.length;m+=80)p.push(d.slice(m,m+80));return l+T([["".concat(a),p[0]]].concat(p.slice(1,f+1).map((function(e){return["",e]})),[[" ",P(h-1)+"^"],["",p[f+1]]]))}return l+T([["".concat(a-1),u[i-1]],["".concat(a),d],["",P(c-1)+"^"],["".concat(a+1),u[i+1]]])}function T(e){var t=e.filter((function(e){e[0];return void 0!==e[1]})),n=Math.max.apply(Math,t.map((function(e){return e[0].length})));return t.map((function(e){var t,r=e[0],i=e[1];return P(n-(t=r).length)+t+(i?" | "+i:" |")})).join("\n")}function P(e){return Array(e+1).join(" ")}function j(e){return j="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},j(e)}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 C(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function M(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function R(e,t){return!t||"object"!==j(t)&&"function"!==typeof t?N(e):t}function N(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A(e){var t="function"===typeof Map?new Map:void 0;return A=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return I(e,arguments,V(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),U(r,e)},A(e)}function I(e,t,n){return I=L()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&U(i,n.prototype),i},I.apply(null,arguments)}function L(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}
1function U(e,t){return U=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},U(e,t)}function V(e){return V=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},V(e)}Error;function B(e){return void 0===e||0===e.length?void 0:e}Object.freeze({NAME:"Name",DOCUMENT:"Document",OPERATION_DEFINITION:"OperationDefinition",VARIABLE_DEFINITION:"VariableDefinition",SELECTION_SET:"SelectionSet",FIELD:"Field",ARGUMENT:"Argument",FRAGMENT_SPREAD:"FragmentSpread",INLINE_FRAGMENT:"InlineFragment",FRAGMENT_DEFINITION:"FragmentDefinition",VARIABLE:"Variable",INT:"IntValue",FLOAT:"FloatValue",STRING:"StringValue",BOOLEAN:"BooleanValue",NULL:"NullValue",ENUM:"EnumValue",LIST:"ListValue",OBJECT:"ObjectValue",OBJECT_FIELD:"ObjectField",DIRECTIVE:"Directive",NAMED_TYPE:"NamedType",LIST_TYPE:"ListType",NON_NULL_TYPE:"NonNullType",SCHEMA_DEFINITION:"SchemaDefinition",OPERATION_TYPE_DEFINITION:"OperationTypeDefinition",SCALAR_TYPE_DEFINITION:"ScalarTypeDefinition",OBJECT_TYPE_DEFINITION:"ObjectTypeDefinition",FIELD_DEFINITION:"FieldDefinition",INPUT_VALUE_DEFINITION:"InputValueDefinition",INTERFACE_TYPE_DEFINITION:"InterfaceTypeDefinition",UNION_TYPE_DEFINITION:"UnionTypeDefinition",ENUM_TYPE_DEFINITION:"EnumTypeDefinition",ENUM_VALUE_DEFINITION:"EnumValueDefinition",INPUT_OBJECT_TYPE_DEFINITION:"InputObjectTypeDefinition",DIRECTIVE_DEFINITION:"DirectiveDefinition",SCHEMA_EXTENSION:"SchemaExtension",SCALAR_TYPE_EXTENSION:"ScalarTypeExtension",OBJECT_TYPE_EXTENSION:"ObjectTypeExtension",INTERFACE_TYPE_EXTENSION:"InterfaceTypeExtension",UNION_TYPE_EXTENSION:"UnionTypeExtension",ENUM_TYPE_EXTENSION:"EnumTypeExtension",INPUT_OBJECT_TYPE_EXTENSION:"InputObjectTypeExtension"});var z="function"===typeof Symbol&&"function"===typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):void 0;function F(e){var t=e.prototype.toJSON;"function"===typeof t||function(e,t){if(!Boolean(e))throw new Error(null!=t?t:"Unexpected invariant triggered.")}(0),e.prototype.inspect=t,z&&(e.prototype[z]=t)}var H=function(){function e(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}return e.prototype.toJSON=function(){return{start:this.start,end:this.end}},e}();F(H);var $=function(){function e(e,t,n,r,i,o,a){this.kind=e,this.start=t,this.end=n,this.line=r,this.column=i,this.value=a,this.prev=o,this.next=null}return e.prototype.toJSON=function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}},e}();function Y(e){return null!=e&&"string"===typeof e.kind}F($);Object.freeze({SOF:"<SOF>",EOF:"<EOF>",BANG:"!",DOLLAR:"$",AMP:"&",PAREN_L:"(",PAREN_R:")",SPREAD:"...",COLON:":",EQUALS:"=",AT:"@",BRACKET_L:"[",BRACKET_R:"]",BRACE_L:"{",PIPE:"|",BRACE_R:"}",NAME:"Name",INT:"Int",FLOAT:"Float",STRING:"String",BLOCK_STRING:"BlockString",COMMENT:"Comment"});function W(e){return W="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},W(e)}function G(e){return q(e,[])}function q(e,t){switch(W(e)){case"string":return JSON.stringify(e);case"function":return e.name?"[function ".concat(e.name,"]"):"[function]";case"object":return null===e?"null":function(e,t){if(-1!==t.indexOf(e))return"[Circular]";var n=[].concat(t,[e]),r=function(e){var t=e[String(z)];if("function"===typeof t)return t;if("function"===typeof e.inspect)return e.inspect}(e);if(void 0!==r){var i=r.call(e);if(i!==e)return"string"===typeof i?i:q(i,n)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return"[]";if(t.length>2)return"[Array]";for(var n=Math.min(10,e.length),r=e.length-n,i=[],o=0;o<n;++o)i.push(q(e[o],t));1===r?i.push("... 1 more item"):r>1&&i.push("... ".concat(r," more items"));return"["+i.join(", ")+"]"}(e,n);return function(e,t){var n=Object.keys(e);if(0===n.length)return"{}";if(t.length>2)return"["+function(e){var t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"===typeof e.constructor){var n=e.constructor.name;if("string"===typeof n&&""!==n)return n}return t}(e)+"]";var r=n.map((function(n){return n+": "+q(e[n],t)}));return"{ "+r.join(", ")+" }"}(e,n)}(e,t);default:return String(e)}}Object.freeze({QUERY:"QUERY",MUTATION:"MUTATION",SUBSCRIPTION:"SUBSCRIPTION",FIELD:"FIELD",FRAGMENT_DEFINITION:"FRAGMENT_DEFINITION",FRAGMENT_SPREAD:"FRAGMENT_SPREAD",INLINE_FRAGMENT:"INLINE_FRAGMENT",VARIABLE_DEFINITION:"VARIABLE_DEFINITION",SCHEMA:"SCHEMA",SCALAR:"SCALAR",OBJECT:"OBJECT",FIELD_DEFINITION:"FIELD_DEFINITION",ARGUMENT_DEFINITION:"ARGUMENT_DEFINITION",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",
1ENUM_VALUE:"ENUM_VALUE",INPUT_OBJECT:"INPUT_OBJECT",INPUT_FIELD_DEFINITION:"INPUT_FIELD_DEFINITION"});var K=n(63496);function X(e){var t=e.forward;return function(e){return(0,K.zG)(e,t)}}var Z=function(){var e="undefined"!=typeof navigator&&"ReactNative"===(null===navigator||void 0===navigator?void 0:navigator.product);return X}(),J={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"]},Q=Object.freeze({});function ee(e,t,n){var r=e[t];if(r){if(!n&&"function"===typeof r)return r;var i=n?r.leave:r.enter;if("function"===typeof i)return i}else{var o=n?e.leave:e.enter;if(o){if("function"===typeof o)return o;var a=o[t];if("function"===typeof a)return a}}}function te(e){return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:J,r=void 0,i=Array.isArray(e),o=[e],a=-1,s=[],c=void 0,l=void 0,u=void 0,d=[],f=[],h=e;do{var p=++a===o.length,m=p&&0!==s.length;if(p){if(l=0===f.length?void 0:d[d.length-1],c=u,u=f.pop(),m){if(i)c=c.slice();else{for(var g={},y=0,v=Object.keys(c);y<v.length;y++){var b=v[y];g[b]=c[b]}c=g}for(var _=0,x=0;x<s.length;x++){var w=s[x][0],S=s[x][1];i&&(w-=_),i&&null===S?(c.splice(w,1),_++):c[w]=S}}a=r.index,o=r.keys,s=r.edits,i=r.inArray,r=r.prev}else{if(l=u?i?a:o[a]:void 0,null===(c=u?u[l]:h)||void 0===c)continue;u&&d.push(l)}var E,O=void 0;if(!Array.isArray(c)){if(!Y(c))throw new Error("Invalid AST Node: ".concat(G(c),"."));var k=ee(t,c.kind,p);if(k){if((O=k.call(t,c,l,u,d,f))===Q)break;if(!1===O){if(!p){d.pop();continue}}else if(void 0!==O&&(s.push([l,O]),!p)){if(!Y(O)){d.pop();continue}c=O}}}void 0===O&&m&&s.push([l,c]),p?d.pop():(r={inArray:i,index:a,keys:o,edits:s,prev:r},o=(i=Array.isArray(c))?c:null!==(E=n[c.kind])&&void 0!==E?E:[],a=-1,s=[],u&&f.push(u),u=c)}while(void 0!==r);return 0!==s.length&&(h=s[s.length-1][1]),h}(e,{leave:ne})}var ne={Name:function(e){return e.value},Variable:function(e){return"$"+e.name},Document:function(e){return ie(e.definitions,"\n\n")+"\n"},OperationDefinition:function(e){var t=e.operation,n=e.name,r=ae("(",ie(e.variableDefinitions,", "),")"),i=ie(e.directives," "),o=e.selectionSet;return n||i||r||"query"!==t?ie([t,ie([n,r]),i,o]," "):o},VariableDefinition:function(e){var t=e.variable,n=e.type,r=e.defaultValue,i=e.directives;return t+": "+n+ae(" = ",r)+ae(" ",ie(i," "))},SelectionSet:function(e){return oe(e.selections)},Field:function(e){var t=e.alias,n=e.name,r=e.arguments,i=e.directives,o=e.selectionSet,a=ae("",t,": ")+n,s=a+ae("(",ie(r,", "),")");return s.length>80&&(s=a+ae("(\n",se(ie(r,"\n")),"\n)")),ie([s,ie(i," "),o]," ")},Argument:function(e){return e.name+": "+e.value}
vendor: 5,019 bytes, line 1
1,FragmentSpread:function(e){return"..."+e.name+ae(" ",ie(e.directives," "))},InlineFragment:function(e){var t=e.typeCondition,n=e.directives,r=e.selectionSet;return ie(["...",ae("on ",t),ie(n," "),r]," ")},FragmentDefinition:function(e){var t=e.name,n=e.typeCondition,r=e.variableDefinitions,i=e.directives,o=e.selectionSet;return"fragment ".concat(t).concat(ae("(",ie(r,", "),")")," ")+"on ".concat(n," ").concat(ae("",ie(i," ")," "))+o},IntValue:function(e){return e.value},FloatValue:function(e){return e.value},StringValue:function(e,t){var n=e.value;return e.block?function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=-1===e.indexOf("\n"),i=" "===e[0]||"\t"===e[0],o='"'===e[e.length-1],a="\\"===e[e.length-1],s=!r||o||a||n,c="";return!s||r&&i||(c+="\n"+t),c+=t?e.replace(/\n/g,"\n"+t):e,s&&(c+="\n"),'"""'+c.replace(/"""/g,'\\"""')+'"""'}(n,"description"===t?"":" "):JSON.stringify(n)},BooleanValue:function(e){return e.value?"true":"false"},NullValue:function(){return"null"},EnumValue:function(e){return e.value},ListValue:function(e){return"["+ie(e.values,", ")+"]"},ObjectValue:function(e){return"{"+ie(e.fields,", ")+"}"},ObjectField:function(e){return e.name+": "+e.value},Directive:function(e){return"@"+e.name+ae("(",ie(e.arguments,", "),")")},NamedType:function(e){return e.name},ListType:function(e){return"["+e.type+"]"},NonNullType:function(e){return e.type+"!"},SchemaDefinition:re((function(e){var t=e.directives,n=e.operationTypes;return ie(["schema",ie(t," "),oe(n)]," ")})),OperationTypeDefinition:function(e){return e.operation+": "+e.type},ScalarTypeDefinition:re((function(e){return ie(["scalar",e.name,ie(e.directives," ")]," ")})),ObjectTypeDefinition:re((function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return ie(["type",t,ae("implements ",ie(n," & ")),ie(r," "),oe(i)]," ")})),FieldDefinition:re((function(e){var t=e.name,n=e.arguments,r=e.type,i=e.directives;return t+(le(n)?ae("(\n",se(ie(n,"\n")),"\n)"):ae("(",ie(n,", "),")"))+": "+r+ae(" ",ie(i," "))})),InputValueDefinition:re((function(e){var t=e.name,n=e.type,r=e.defaultValue,i=e.directives;return ie([t+": "+n,ae("= ",r),ie(i," ")]," ")})),InterfaceTypeDefinition:re((function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return ie(["interface",t,ae("implements ",ie(n," & ")),ie(r," "),oe(i)]," ")})),UnionTypeDefinition:re((function(e){var t=e.name,n=e.directives,r=e.types;return ie(["union",t,ie(n," "),r&&0!==r.length?"= "+ie(r," | "):""]," ")})),EnumTypeDefinition:re((function(e){var t=e.name,n=e.directives,r=e.values;return ie(["enum",t,ie(n," "),oe(r)]," ")})),EnumValueDefinition:re((function(e){return ie([e.name,ie(e.directives," ")]," ")})),InputObjectTypeDefinition:re((function(e){var t=e.name,n=e.directives,r=e.fields;return ie(["input",t,ie(n," "),oe(r)]," ")})),DirectiveDefinition:re((function(e){var t=e.name,n=e.arguments,r=e.repeatable,i=e.locations;return"directive @"+t+(le(n)?ae("(\n",se(ie(n,"\n")),"\n)"):ae("(",ie(n,", "),")"))+(r?" repeatable":"")+" on "+ie(i," | ")})),SchemaExtension:function(e){var t=e.directives,n=e.operationTypes;return ie(["extend schema",ie(t," "),oe(n)]," ")},ScalarTypeExtension:function(e){return ie(["extend scalar",e.name,ie(e.directives," ")]," ")},ObjectTypeExtension:function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return ie(["extend type",t,ae("implements ",ie(n," & ")),ie(r," "),oe(i)]," ")},InterfaceTypeExtension:function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return ie(["extend interface",t,ae("implements ",ie(n," & ")),ie(r," "),oe(i)]," ")},UnionTypeExtension:function(e){var t=e.name,n=e.directives,r=e.types;return ie(["extend union",t,ie(n," "),r&&0!==r.length?"= "+ie(r," | "):""]," ")},EnumTypeExtension:function(e){var t=e.name,n=e.directives,r=e.values;return ie(["extend enum",t,ie(n," "),oe(r)]," ")},InputObjectTypeExtension:function(e){var t=e.name,n=e.directives,r=e.fields;return ie(["extend input",t,ie(n," "),oe(r)]," ")}};function re(e){return function(t){return ie([t.description,e(t)],"\n")}}function ie(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return null!==(t=null===e||void 0===e?void 0:e.filter((function(e){return e})).join(n))&&void 0!==t?t:""}function oe(e){return ae("{\n",se(ie(e,"\n")),"\n}")}function ae(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return null!=t&&""!==t?e+t+n:""}function se(e){return ae(" ",e.replace(/\n/g,"\n "))}function ce(e){return-1!==e.indexOf("\n")}function le(e){return null!=e&&e.some(ce)}var ue=(0,_.eI)({url:"https://api.autorace.jp/graphql",maskTypename:!0,requestPolicy:"cache-and-network",fetchOptions:function(){return{credentials:"include",headers:{"X-Requested-With":"XMLHttpRequest"}}},exchanges:[Z,_.HG,function(e){var t=e.forward;return function(e){return(0,K.zG)(e,(0,K.UI)((function(e){var t=function(e){var t=te(e),n=t.match(/^\s*query\s+(\w+)/)||t.match(/^\s*mutation\s+(\w+)/);
1return n?n[1]:null}(e.query);return t&&(e.context.url+="?operationName=".concat(encodeURIComponent(t))),e})),t)}},(0,_.Dk)({onError:function(e){if(e.networkError&&(x.Tb(e.networkError,{tags:{category:"graphql"},level:"info"}),alert("\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u74b0\u5883\u3092\u78ba\u8a8d\u3057\u3001\u30da\u30fc\u30b8\u3092\u518d\u8aad\u307f\u8fbc\u307f\u3059\u308b\u304b\u3001\u554f\u984c\u304c\u89e3\u6c7a\u3057\u306a\u3044\u5834\u5408\u306f\u3001\u5f8c\u3067\u3082\u3046\u4e00\u5ea6\u3084\u308a\u76f4\u3057\u3066\u304f\u3060\u3055\u3044\u3002"),b().push("/500")),e.graphQLErrors){var t=e.graphQLErrors.find((function(e){return"Unauthenticated"===e.message||"InvalidPincode"===e.message})),n=e.graphQLErrors.find((function(e){var t,n;return"undefinedField"===(null===(t=e.extensions)||void 0===t?void 0:t.code)||"variableRequiresValidType"===(null===(n=e.extensions)||void 0===n?void 0:n.code)}));t||x.Tb(e.graphQLErrors,{tags:{category:"graphql"},level:"info"}),n&&(alert("\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002\u30da\u30fc\u30b8\u3092\u518d\u8aad\u307f\u8fbc\u307f\u3057\u3066\u304f\u3060\u3055\u3044\u3002"),location.reload())}}}),_.Ek]}),de=n(4480),fe="GTM-WT2DMXS",he=n(4298),pe=n.n(he),me=n(67294),ge=function(e){var t=e.googleTagManagerId;return(0,u.jsx)(pe(),{id:"gtm",strategy:"afterInteractive",dangerouslySetInnerHTML:{__html:"\n (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\n new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\n j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;
1j.src=\n 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);\n })(window,document,'script','dataLayer','".concat(t,"');\n ")}})},ye=n(78947),ve=(n(40906),n(16117)),be=n(35861);function _e(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 xe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_e(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_e(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function we(e){var t=e.Component,n=e.pageProps,r=n.layout;return(0,me.useEffect)((function(){var e=function(){console.error("\u9077\u79fb\u6642\u306b\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f"),b().push("/500")};return b().events.on("routeChangeError",e),function(){b().events.off("routeChangeError",e)}}),[]),(0,u.jsxs)(u.Fragment,{children:[(0,u.jsxs)(h(),{children:[(0,u.jsx)("title",{className:o().dynamic([["3120493396",[ye.vz.css()]]]),children:"\u30aa\u30fc\u30c8\u30ec\u30fc\u30b9.JP\u6295\u7968\uff5cAutoRace.JP"}),(0,u.jsx)("link",{rel:"icon",href:"/favicon.ico",className:o().dynamic([["3120493396",[ye.vz.css()]]])}),(0,u.jsx)("link",{rel:"apple-touch-icon",sizes:"180x180",href:"/apple-touch-icon-180x180-precomposed.png",className:o().dynamic([["3120493396",[ye.vz.css()]]])}),(0,u.jsx)("link",{rel:"icon",type:"image/png",href:"./android-chrome-192x192.png",sizes:"192x192",className:o().dynamic([["3120493396",[ye.vz.css()]]])}),(0,u.jsx)("meta",{name:"application-name",content:"AutoRace.JP",className:o().dynamic([["3120493396",[ye.vz.css()]]])}),(0,u.jsx)("meta",{name:"msapplication-square180x180logo",content:"/apple-touch-icon-180x180-precomposed.png",className:o().dynamic([["3120493396",[ye.vz.css()]]])}),(0,u.jsx)("meta",{name:"viewport",content:"initial-scale=1, maximum-scale=1",className:o().dynamic([["3120493396",[ye.vz.css()]]])})]}),(0,u.jsx)(ge,{googleTagManagerId:fe}),(0,u.jsx)(y.zt,{value:ue,children:(0,u.jsx)(de.Wh,{children:(0,u.jsx)(p.jw,{children:(0,u.jsx)(s.dr,{children:(0,u.jsxs)("div",{className:o().dynamic([["3120493396",[ye.vz.css()]]])+" global-container",children:[(0,u.jsx)(a.HV,{}),"vote"===r?(0,u.jsx)(m.$7,{children:(0,u.jsx)(g.GF,{children:(0,u.jsx)(ve.OA,{children:(0,u.jsx)(be.wl,{children:(0,u.jsx)(t,xe(xe({},n),{},{className:o().dynamic([["3120493396",[ye.vz.css()]]])+" "+(n&&null!=n.className&&n.className||"")}))})})})}):(0,u.jsx)(d,{children:(0,u.jsx)(t,xe(xe({},n),{},{className:o().dynamic([["3120493396",[ye.vz.css()]]])+" "+(n&&null!=n.className&&n.className||"")}))}),(0,u.jsx)(a.nv,{})]})})})})}),(0,u.jsx)(o(),{id:"3120493396",dynamic:[ye.vz.css()],children:["".concat(ye.vz.css(),".__jsx-style-dynamic-selector .dasdasd-asdasdad.__jsx-style-dynamic-selector{display:block;}")]})]})}ye.vc.autoAddCss=!1},43547:function(e){e.exports={prefix:"_",important:!0,purge:{enabled:!1},darkMode:"class",theme:{screens:{sm:"375px",md:"1200px",lg:"1400px",xl:"1600px","vote-min":"320px","vote-sm":"991px","vote-md":"1200px","vote-max":"1400px"},colors:{ink:"#141313",white:"#fff",rouge:"#BC0010",sky:"#24B6F7",ash:"#E0E0E0","gray-light":"#dddddd",gray:"#CBCBCA","gray-dark":"#595856",body:"#f4f4f4",link:"#3A8AEC",prediction:{0:"#BC000F",1:"#5C9F00",2:"#302E2C",3:"#3A8AEC"},syaban:{1:"#FAFAFA","c-1":"#141313","b-1":"#222222",2:"#302E2C","c-2":"#fff","b-2":"#302E2C",3:"#EB5353","c-3":"#fff","b-3":"#EB5353",4:"#398AEC","c-4":"#fff","b-4":"#398AEC",5:"#F6E92A","c-5":"#141313","b-5":"#DDDDDD",6:"#5C9E00","c-6":"#fff","b-6":"#5C9E00",7:"#FF9900","c-7":"#fff","b-7":"#FF9900",8:"#EF6EA6","c-8":"#fff","b-8":"#EF6EA6"},situation:{0:"#FFF3E0",1:"#D1DDED",2:"#F4F4F4",3:"#F4F4F4",4:"#F4F4F4",5:"#F4F4F4"},dark:{1:"#49667E",2:"#090F14",3:"#182027",4:"#12181D",5:"#22313A",6:"#000508"}},extend:{}},variants:{extend:{}},plugins:[]}},91575:function(e,t,n){"use strict";n.d(t,{$e:function(){return g},BP:function(){return d},Bo:function(){return m},MM:function(){return h},NC:function(){return o},TC:function(){return s},_J:function(){return l},nx:function(){return c},pF:function(){return i},pn:function(){return u},sB:function(){return a},uv:function(){return y},w6:function(){return f},y$:function(){return p}});var r=n(27812),i=function(e,t){var n=new Map(e.map((function(e){return[e[t],e]})));return Array.from(n.values())},o={NONE:"\u306a\u3057",MALE:"\u7537\u6027",FEMALE:"\u5973\u6027"},a={ADDR1:"\u4f4f\u62401",ADDR2:"\u4f4f\u62402"},s={RKB_DIRECT:{name:"\u697d\u5929\u9280\u884c",code:"0036"},PYB_DIRECT:{name:"PayPay\u9280\u884c",code:"0033"},JPB_DIRECT:{name:"\u3086\u3046\u3061\u3087\u9280\u884c",code:"9900"},SMBC_DIRECT:{name:"\u4e09\u4e95\u4f4f\u53cb\u9280\u884c",code:"0009"}},c={"0001":"MIZUHO","0005":"MUFG","0009":"SMBC","0010":"RESONA","0017":"SAITAMA_RESONA","0128":"GUNMA","0134":"CHIBA","0170":"YAMAGUCHI","0177":"FUKUOKA","0033":"PYB","0036":"RKB",9900:"JPB"},l={"0001":"mizuho","0005":"mufg","0009":"smbc","0010":"resona","0017":"saitamaResona","0128":"gunma","0134":"chiba","0149":"shizuoka","0170":"yamaguchi","0177":"fukuoka","0033":"pyb","0036":"rkb",9900:"jpb"},u=function(e){return isNaN(e)?0:Number(e)},d=function(e){return e.replace(/[\uff21-\uff3a\uff41-\uff5a\uff10-\uff19]/g,(function(e){return String.fromCharCode(e.charCodeAt(0)-65248)}
1))},f=function(e,t,n){return Array.from({length:(t-e)/n+1},(function(t,r){return e+r*n}))},h=function(e,t,n){return"string"===typeof e?e.slice(0,t)+n+e.slice(t):""},p=function(e){var t=Number(e),n="\u2460\u2461\u2462\u2463\u2464\u2465\u2466\u2467\u2468\u2469\u246a\u246b\u246c\u246d\u246e\u246f\u2470\u2471\u2472\u2473\u3251\u3252\u3253\u3254\u3255\u3256\u3257\u3258\u3259\u325a\u325b\u325c\u325d\u325e\u325f\u32b1\u32b2\u32b3\u32b4\u32b5\u32b6\u32b7\u32b8\u32b9\u32ba\u32bb\u32bc\u32bd\u32be\u32bf".split("");return t?n[t-1]:""},m=function(e){var t,n,r=e.reduce((function(e,t){return(null===t||void 0===t?void 0:t.length)>e?null===t||void 0===t?void 0:t.length:e}),0);return null!==(t=null===(n=new Array(r).fill(null))||void 0===n?void 0:n.map((function(t,n){return null===e||void 0===e?void 0:e.map((function(e){return e[n]}))})))&&void 0!==t?t:[]},g=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(0!==t.length){for(var o=t[0],a=0;a<o.length;a++)e(t.slice(1),[].concat((0,r.Z)(n),[o[a]]),i);return i}i.push(n)},y=function(e,t){var n,r;return null===e||void 0===e||null===(n=e.split("-"))||void 0===n||null===(r=n.splice(0,t+1))||void 0===r?void 0:r.join("-")}},84568:function(e,t,n){"use strict";var r=n(27484),i=n.n(r),o=(n(76831),n(66607)),a=n.n(o),s=n(1646),c=n.n(s);i().extend(c()),i().extend(a()),i().locale("ja"),t.Z=i()},58334:function(e,t,n){"use strict";n.d(t,{O_:function(){return l},cE:function(){return d},yu:function(){return u}});var r=n(27812),i=n(41664),o=n.n(i),a=n(85893),s={UNAUTHENTICATED:"\u5165\u529b\u60c5\u5831\u306b\u8aa4\u308a\u304c\u3042\u308b\u305f\u3081\u30ed\u30b0\u30a4\u30f3\u3067\u304d\u307e\u305b\u3093\u3002",INVALID_PINCODE:"\u6697\u8a3c\u756a\u53f7\u304c\u6b63\u3057\u304f\u3042\u308a\u307e\u305b\u3093\u3002",RECEPTION_STOPPED:"\u30b7\u30b9\u30c6\u30e0\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u4e2d\u306e\u305f\u3081\u53d7\u3051\u4ed8\u3051\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002"},c={USER_PASSWORD_LOCKED:(0,a.jsxs)(a.Fragment,{children:["\u30ed\u30c3\u30af\u4e2d\u306e\u305f\u3081\u30ed\u30b0\u30a4\u30f3\u3067\u304d\u307e\u305b\u3093\u300210~15\u5206\u5f8c\u306b\u518d\u5ea6\u304a\u8a66\u3057\u3044\u305f\u3060\u304f\u304b\u3001\u30d1\u30b9\u30ef\u30fc\u30c9\u30ed\u30c3\u30af\u89e3\u9664\u3088\u308a\u30ed\u30c3\u30af\u3092\u89e3\u9664\u3057\u3066\u304f\u3060\u3055\u3044\u3002",(0,a.jsx)(o(),{href:"/unlock_password",children:(0,a.jsx)("a",{className:"_inline-block _text-link _underline",children:"\u30ed\u30c3\u30af\u89e3\u9664\u306f\u3053\u3061\u3089"})}),"\u304b\u3089"]}),USER_DELETE_REQUESTED:"\u9000\u4f1a\u7533\u8acb\u4e2d\u306e\u305f\u3081\u30ed\u30b0\u30a4\u30f3\u3067\u304d\u307e\u305b\u3093\u3002"},l=function(e){var t,n=(null===e||void 0===e||null===(t=e.graphQLErrors)||void 0===t?void 0:t.map((function(e){var t,n;return{code:null===(t=e.extensions)||void 0===t?void 0:t.code,reason:null===(n=e.extensions)||void 0===n?void 0:n.reason,message:function(){var t,n,r,i;return"UNAUTHENTICATED"===(null===(t=e.extensions)||void 0===t?void 0:t.code)?c[null===(n=e.extensions)||void 0===n?void 0:n.reason]||s[null===(r=e.extensions)||void 0===r?void 0:r.code]:s[null===(i=e.extensions)||void 0===i?void 0:i.code]||e.message}()}})))||[];return(0,r.Z)(n)},u=function(e,t){var n=null===e||void 0===e?void 0:e.find((function(e){return(null===e||void 0===e?void 0:e.field)===t}));return Boolean(n)},d=function(e,t){var n=null===e||void 0===e?void 0:e.find((function(e){return(null===e||void 0===e?void 0:e.field)===t}));return Boolean(n)}},26389:function(e,t,n){"use strict";n.d(t,{$1:function(){return h},K2:function(){return l},K7:function(){return f},QD:function(){return s},U9:function(){return c},d$:function(){return d},yN:function(){return u}});var r=n(59499),i=n(84568);function o(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<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?o(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var s=function(e){return"ABORTED"===(null===e||void 0===e?void 0:e.saleStatus)||(0,i.Z)(function(e){var t,n,r=null!==e&&void 0!==e&&null!==(t=e.races)&&void 0!==t&&t.length?null===e||void 0===e||null===(n=e.races)||void 0===n?void 0:n.reduce((function(e,t){return(null===e||void 0===e?void 0:e.raceNum)>(null===t||void 0===t?void 0:t.raceNum)?t:e})):null;return(null===r||void 0===r?void 0:r.deadlineAt)||""}(e)).diff((0,i.Z)())<0},c=function(e){var t={};return e.filter((function(e){return!e.hidden})).forEach((function(e){t[e.jushouType]||(t[e.jushouType]=[]),t[e.jushouType].push(e)})),Object.values(t).map((function(e){return e.sort((function(e,t){return e.openSeq<t.openSeq?-1:e.openSeq>t.openSeq?1:0}))}))},l=function(e){var t={};e.filter((function(e){return!e.hidden})).forEach((function(e){t[e.velCode]||(t[e.velCode]={}),t[e.velCode][e.jushouType]||(t[e.velCode][e.jushouType]=[]),t[e.velCode][e.jushouType].push(e)}));var n=Object.values(t).map((function(e){return Object.values(e).map((function(e){var t,n,r,i,o,s=e.filter((function(e){return"AVAILABLE"===e.saleStatus||"PRE_SALE"===e.saleStatus})),c=s.length?s.reduce((function(e,t){return e.openSeq>t.openSeq?t:e})):e.reduce((function(e,t){return e.openSeq<t.openSeq?t:e}));return a(a({},c),{},{deadlineAt:null!==c&&void 0!==c&&null!==(t=c.races)&&void 0!==t&&t.length?null===c||void 0===c||null===(n=c.races)||void 0===n||null===(r=n.reduce((function(e,t){return(null===e||void 0===e?void 0:e.deadlineAt)>(null===t||void 0===t?void 0:t.deadlineAt)?t:e})))||void 0===r?void 0:r.deadlineAt:"",customTimezone:null!==c&&void 0!==c&&null!==(i=c.races[0])&&void 0!==i&&i.nightRace?"NIGHTRACE":null===c||void 0===c||null===(o=c.races[0])||void 0===o?void 0:o.timezone})}))}));return n.sort((function(e,t){var n={MORNING:1,DAY:2,TWILIGHT:3,NIGHT:4,NIGHTRACE:5,MIDNIGHT:6};return n[e[0].customTimezone]-n[t[0].customTimezone]}))},u=function(e){var t,n=e;return{athletes:(null===n||void 0===n||null===(t=n.raceCards)||void 0===t?void 0:t.map((function(e){var t,r="entry".concat(e.entryNum,"SaleStatus");return a(a({saleStatus:null===n||void 0===n||null===(t=n.raceStatus)||void 0===t?void 0:t[r]},e),{},{raceNum:null===n||void 0===n?void 0:n.raceNum})})))||[]||[]}},d=function(e,t){return null===e||void 0===e?void 0:e.map((function(e,n){var r,i,o,a,s=null===(r=t[n][1])||void 0===r||null===(i=r.map((function(e){return null===e||void 0===e?void 0:e.toString()})))||void 0===i?void 0:i.join("");return{raceNum:null===e||void 0===e?void 0:e.raceNum,items:null===(o=t[n][0])||void 0===o||null===(a=o.map((function(e){if(e&&s)return"".concat(e,"-").concat(s)})))||void 0===a?void 0:a.filter((function(e){if(e)return e}))}}))},f={AVAILABLE:"\u6295\u7968",PRE_SALE:"\u767a\u58f2\u524d",ABORTED:"\u767a\u58f2\u4e2d\u6b62",CLOSED:"\u767a\u58f2\u7d42\u4e86"},h=function(e,t,n){return"".concat("https://autorace.jp","/race_info/JushouResult/").concat({"002":"kawaguchi","012":"kawaguchi2","003":"isesaki","004":"hamamatsu","005":"iizuka","006":"sanyou"}[t],"/").concat(e,"_").concat(n)}},91854:function(e,t,n){"use strict";n.d(t,{Ab:function(){return P},Dn:function(){return _},M_:function(){return o},PQ:function(){return j},Wh:function(){return S},ZC:function(){return c},b0:function(){return T},c0:function(){return d},ej:function(){return v},gJ:function(){return k},od:function(){return h},oj:function(){return f},pj:function(){return l},rJ:function(){return a},rc:function(){return s},su:function(){return w},tL:function(){return b},wF:function(){return u},wy:function(){return p},yv:function(){return O},zN:function(){return m},zk:function(){return E},zt:function(){return x}});var r=n(16835),i=n(84568),o=100,a=0,s=0,c=999,l={recepion:500,orderPack:900,orderItem:4e3},u={DAY:"\u30c7\u30a4",MORNING:"\u30e2\u30fc\u30cb\u30f3\u30b0",NIGHT:"\u30ca\u30a4\u30bf\u30fc",MIDNIGHT:"\u30df\u30c3\u30c9\u30ca\u30a4\u30c8",TWILIGHT:"\u8584\u66ae"},d={"\u666e\u901a\u958b\u50ac":"\u666e\u901a",SG:"SG",G1:"GI",G2:"GII","\u7279G1":"\u7279GI"},f={SANRENTAN:"\uff13\u9023\u5358",SANRENFUKU:"\uff13\u9023\u8907",NIRENTAN:"\uff12\u9023\u5358",NIRENFUKU:"\uff12\u9023\u8907",WIDE:"\u30ef\u30a4\u30c9",TANSHOU:"\u5358\u52dd",FUKUSHOU:"\u8907\u52dd"},h={BOX:"\u30dc\u30c3\u30af\u30b9",BASIC:"\u30d0\u30e9",FORMATION:"\u30d5\u30a9\u30fc\u30e1\u30fc\u30b7\u30e7\u30f3",WHEEL:"\u6d41\u3057"},p={RACE_BET_TYPE_UNRELEASED:"\u8ced\u5f0f",KESSHA:"\u6b20\u8eca",MAX_ORDER_VOTES_EXCEEDED:"\u6295\u7968\u9
11d1\u984d\u8d85\u904e",MAX_RACE_BET_TYPE_ORDER_AMOUNT_EXCEEDED:"\u8cfc\u5165\u4e0a\u9650\u30a8\u30e9\u30fc"},m={"002":"kawaguchi","012":"kawaguchi2","003":"isesaki","004":"hama","005":"iizuka","006":"sanyou"},g={"002":"kawaguchi","012":"kawaguchi","003":"isezaki","004":"hama","005":"iizuka","006":"sanyou"},y={"002":"kawaguchi","012":"kawaguchi2","003":"isezaki","004":"hama","005":"iizuka","006":"sanyou"},v=function(e){return 1===e.raceNum&&"ADVANCE"===e.saleStatus},b=function(e){var t={},n={MORNING:1,DAY:2,TWILIGHT:3,NIGHT:4,MIDNIGHT:5};return e.filter((function(e){return!e.hidden})).forEach((function(e){t[e.velCode]||(t[e.velCode]=[]),t[e.velCode].push(e)})),Object.values(t).map((function(e){var t=e.filter((function(e){return e.raceNum&&("READY"===e.avsStatus||"BACKEND_SALE"===e.avsStatus)&&!e.onAbort&&new Date(e.deadlineAt).getTime()-(new Date).getTime()>0}));return t.length?t.reduce((function(e,t){return e.raceNum>t.raceNum?t:e})):e.reduce((function(e,t){return e.raceNum<t.raceNum?t:e}))})).sort((function(e,t){return e.timezone===t.timezone?Number(e.velCode)-Number(t.velCode):n[e.timezone]-n[t.timezone]}))},_=function(e){return"NONE"!==(null===e||void 0===e?void 0:e.abortType)||(0,i.Z)(null===e||void 0===e?void 0:e.deadlineAt).diff((0,i.Z)())<0},x=function(e){return"https://sp-auto.digi-c.com/autorace/_definst_/".concat(g[e.velCode],"/").concat((0,i.Z)(e.openDay).format("YYYY"),"/").concat(y[e.velCode],"_").concat((0,i.Z)(e.openDay).format("YYYYMMDD"),"_").concat(e.raceNum.toString().padStart(2,"0"),"s/playlist.m3u8")},w=function(e){return"https://sp-auto.digi-c.com/autorace/_definst_/".concat(g[e.velCode],"/").concat((0,i.Z)(e.openDay).format("YYYY"),"/").concat(y[e.velCode],"_").concat((0,i.Z)(e.openDay).format("YYYYMMDD"),"_").concat(e.raceNum.toString().padStart(2,"0"),"/playlist.m3u8")},S=function(e){return"//autorace-live.akamaized.net/hls/live/2036917/".concat({"002":"id2","012":"id12","003":"id3","004":"id4","005":"id5","006":"id6"}[e],"/master.m3u8")},E=function(e,t,n){return"".concat("https://autorace.jp","/race_info/RaceResult/").concat({"002":"kawaguchi","012":"kawaguchi2","003":"isesaki","004":"hamamatsu","005":"iizuka","006":"sanyou"}[t],"/").concat(e,"_").concat(n)},O=function(e){return String(e.odds).split("\u301c").map((function(t){var n;return null===(n=Number(t)*o*e.votes)||void 0===n?void 0:n.toLocaleString()})).join("\u301c")},k=function(e){var t,n;return/^-/.test(e)?null===e||void 0===e||null===(t=e.replace(/0\./g,""))||void 0===t?void 0:t.padEnd(4,"0"):null===e||void 0===e||null===(n=e.replace(/0\./g,""))||void 0===n?void 0:n.padEnd(3,"0")}
1,T=function(e){var t=e?e.deme.split("-"):[],n=(0,r.Z)(t,3),i=n[0],o=n[1],c=n[2];return e?{betType:e.betType,selectedAll:!0,closed:!1,demeItems:[{votes:1,deme:e.deme,odds:e.rate||a,popularity:Number(e.popularity)||s,selected:!0}],inputtedNums:[[Number(i)],o?[Number(o)]:[],c?[Number(c)]:[]],packDeme:e.deme,voteType:"FORMATION"}:null},P=function(e,t){if((0,i.Z)(e).format("YYYY-MM-DD")===t)return(0,i.Z)(e).format("HH:mm");if(1===(0,i.Z)(e).diff(t,"day")){var n=(0,i.Z)(e).format("HH:mm"),r=Number(n.split(":")[0])+24,o=n.split(":")[1];return"".concat(r,":").concat(o)}return""},j=function(e){return null!==e&&void 0!==e&&e.match(/\u5ddd\u53e32/)?"\u5ddd\u53e3":e}},83454:function(e,t,n){"use strict";var r,i;e.exports=(null==(r=n.g.process)?void 0:r.env)&&"object"===typeof(null==(i=n.g.process)?void 0:i.env)?n.g.process:n(77663)},75492:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n(7039)}])},40906:function(){},77663:function(e){!function(){var t={229:function(e){var t,n,r=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"===typeof setTimeout?setTimeout:i}catch(e){t=i}try{n="function"===typeof clearTimeout?clearTimeout:o}catch(e){n=o}}();var s,c=[],l=!1,u=-1;function d(){l&&s&&(l=!1,s.length?c=s.concat(c):u=-1,c.length&&f())}function f(){if(!l){var e=a(d);l=!0;for(var t=c.length;t;){for(s=c,c=[];++u<t;)s&&s[u].run();u=-1,t=c.length}s=null,l=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===o||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function p(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new h(e,t)),1!==c.length||l||a(f)},h.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=p,r.addListener=p,r.once=p,r.off=p,r.removeListener=p,r.removeAllListeners=p,r.emit=p,r.prependListener=p,r.prependOnceListener=p,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}}},n={};function r(e){var i=n[e];if(void 0!==i)return i.exports;var o=n[e]={exports:{}},a=!0;try{t[e](o,o.exports,r),a=!1}finally{a&&delete n[e]}return o.exports}r.ab="//";var i=r(229);e.exports=i}()},9008:function(e,t,n){e.exports=n(72717)},41664:function(e,t,n){e.exports=n(7942)},11163:function(e,t,n){e.exports=n(69898)},4298:function(e,t,n){e.exports=n(72189)},92703:function(e,t,n){"use strict";
1var r=n(50414);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==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:i};return n.PropTypes=n,n}},45697:function(e,t,n){e.exports=n(92703)()},50414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},75668:function(e,t,n){"use strict";function r(e){return r="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},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DraggableCore",{enumerable:!0,get:function(){return d.default}}),t.default=void 0;var i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!==typeof e)return{default:e};var n=m(t);if(n&&n.has(e))return n.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(i,a,s):i[a]=e[a]}i.default=e,n&&n.set(e,i);return i}(n(67294)),o=p(n(45697)),a=p(n(73935)),s=p(n(86010)),c=n(81825),l=n(2849),u=n(9280),d=p(n(80783)),f=p(n(55904)),h=["axis","bounds","children","defaultPosition","defaultClassName","defaultClassNameDragging","defaultClassNameDragged","position","positionOffset","scale"];function p(e){return e&&e.__esModule?e:{default:e}}function m(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(m=function(e){return e?n:t})(e)}function g(){return g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},g.apply(this,arguments)}function y(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function v(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<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){P(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function _(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(c){s=!0,i=c}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return x(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return x(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function x(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function w(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}
vendor: 17,862 bytes, line 1
1function S(e,t){return S=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},S(e,t)}function E(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=T(e);if(t){var i=T(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return O(this,n)}}function O(e,t){if(t&&("object"===r(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return k(e)}function k(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T(e){return T=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},T(e)}function P(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var j=function(e){!function(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}}),t&&S(e,t)}(u,e);var t,n,r,o=E(u);function u(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),P(k(t=o.call(this,e)),"onDragStart",(function(e,n){if((0,f.default)("Draggable: onDragStart: %j",n),!1===t.props.onStart(e,(0,l.createDraggableData)(k(t),n)))return!1;t.setState({dragging:!0,dragged:!0})})),P(k(t),"onDrag",(function(e,n){if(!t.state.dragging)return!1;(0,f.default)("Draggable: onDrag: %j",n);var r=(0,l.createDraggableData)(k(t),n),i={x:r.x,y:r.y};if(t.props.bounds){var o=i.x,a=i.y;i.x+=t.state.slackX,i.y+=t.state.slackY;var s=_((0,l.getBoundPosition)(k(t),i.x,i.y),2),c=s[0],u=s[1];i.x=c,i.y=u,i.slackX=t.state.slackX+(o-i.x),i.slackY=t.state.slackY+(a-i.y),r.x=i.x,r.y=i.y,r.deltaX=i.x-t.state.x,r.deltaY=i.y-t.state.y}if(!1===t.props.onDrag(e,r))return!1;t.setState(i)})),P(k(t),"onDragStop",(function(e,n){if(!t.state.dragging)return!1;if(!1===t.props.onStop(e,(0,l.createDraggableData)(k(t),n)))return!1;(0,f.default)("Draggable: onDragStop: %j",n);var r={dragging:!1,slackX:0,slackY:0};if(Boolean(t.props.position)){var i=t.props.position,o=i.x,a=i.y;r.x=o,r.y=a}t.setState(r)})),t.state={dragging:!1,dragged:!1,x:e.position?e.position.x:e.defaultPosition.x,y:e.position?e.position.y:e.defaultPosition.y,prevPropsPosition:b({},e.position),slackX:0,slackY:0,isElementSVG:!1},!e.position||e.onDrag||e.onStop||console.warn("A `position` was applied to this <Draggable>, without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element."),t}return t=u,r=[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.position,r=t.prevPropsPosition;return!n||r&&n.x===r.x&&n.y===r.y?null:((0,f.default)("Draggable: getDerivedStateFromProps %j",{position:n,prevPropsPosition:r}),{x:n.x,y:n.y,prevPropsPosition:b({},n)})}}],(n=[{key:"componentDidMount",value:function(){"undefined"!==typeof window.SVGElement&&this.findDOMNode()instanceof window.SVGElement&&this.setState({isElementSVG:!0})}},{key:"componentWillUnmount",value:function(){this.setState({dragging:!1})}},{key:"findDOMNode",value:function(){var e,t,n;return null!==(e=null===(t=this.props)||void 0===t||null===(n=t.nodeRef)||void 0===n?void 0:n.current)&&void 0!==e?e:a.default.findDOMNode(this)}},{key:"render",value:function(){var e,t=this.props,n=(t.axis,t.bounds,t.children),r=t.defaultPosition,o=t.defaultClassName,a=t.defaultClassNameDragging,u=t.defaultClassNameDragged,f=t.position,p=t.positionOffset,m=(t.scale,y(t,h)),v={},_=null,x=!Boolean(f)||this.state.dragging,w=f||r,S={x:(0,l.canDragX)(this)&&x?this.state.x:w.x,y:(0,l.canDragY)(this)&&x?this.state.y:w.y};this.state.isElementSVG?_=(0,c.createSVGTransform)(S,p):v=(0,c.createCSSTransform)(S,p);var E=(0,s.default)(n.props.className||"",o,(P(e={},a,this.state.dragging),P(e,u,this.state.dragged),e));return i.createElement(d.default,g({},m,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),i.cloneElement(i.Children.only(n),{className:E,style:b(b({},n.props.style),v),transform:_}))}}])&&w(t.prototype,n),r&&w(t,r),u}(i.Component);t.default=j,P(j,"displayName","Draggable"),P(j,"propTypes",b(b({},d.default.propTypes),{},{axis:o.default.oneOf(["both","x","y","none"]),bounds:o.default.oneOfType([o.default.shape({left:o.default.number,right:o.default.number,top:o.default.number,bottom:o.default.number}),o.default.string,o.default.oneOf([!1])]),defaultClassName:o.default.string,defaultClassNameDragging:o.default.string,defaultClassNameDragged:o.default.string,defaultPosition:o.default.shape({x:o.default.number,y:o.default.number}),positionOffset:o.default.shape({x:o.default.oneOfType([o.default.number,o.default.string]),y:o.default.oneOfType([o.default.number,o.default.string])}),position:o.default.shape({x:o.default.number,y:o.default.number}),className:u.dontSetMe,style:u.dontSetMe,transform:u.dontSetMe})),P(j,"defaultProps",b(b({},d.default.defaultProps),{},{axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},scale:1}))},80783:function(e,t,n){"use strict";function r(e){return r="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},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!==typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(i,a,s):i[a]=e[a]}i.default=e,n&&n.set(e,i);return i}(n(67294)),o=d(n(45697)),a=d(n(73935)),s=n(81825),c=n(2849),l=n(9280),u=d(n(55904));function d(e){return e&&e.__esModule?e:{default:e}}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){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(c){s=!0,i=c}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}function v(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=x(e);if(t){var i=x(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return b(this,n)}}function b(e,t){if(t&&("object"===r(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return _(e)}function _(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x(e){return x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},x(e)}function w(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var S={start:"touchstart",move:"touchmove",stop:"touchend"},E={start:"mousedown",move:"mousemove",stop:"mouseup"},O=E,k=function(e){!function(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}}),t&&y(e,t)}(l,e);var t,n,r,o=v(l);function l(){var e;m(this,l);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return w(_(e=o.call.apply(o,[this].concat(n))),"state",{dragging:!1,lastX:NaN,lastY:NaN,touchIdentifier:null}),w(_(e),"mounted",!1),w(_(e),"handleDragStart",(function(t){if(e.props.onMouseDown(t),!e.props.allowAnyClick&&"number"===typeof t.button&&0!==t.button)return!1;var n=e.findDOMNode();if(!n||!n.ownerDocument||!n.ownerDocument.body)throw new Error("<DraggableCore> not mounted on DragStart!");var r=n.ownerDocument;if(!(e.props.disabled||!(t.target instanceof r.defaultView.Node)||e.props.handle&&!(0,s.matchesSelectorAndParentsTo)(t.target,e.props.handle,n)||e.props.cancel&&(0,s.matchesSelectorAndParentsTo)(t.target,e.props.cancel,n))){"touchstart"===t.type&&t.preventDefault();var i=(0,s.getTouchIdentifier)(t);e.setState({touchIdentifier:i});var o=(0,c.getControlPosition)(t,i,_(e));if(null!=o){var a=o.x,l=o.y,d=(0,c.createCoreData)(_(e),a,l);(0,u.default)("DraggableCore: handleDragStart: %j",d),(0,u.default)("calling",e.props.onStart),!1!==e.props.onStart(t,d)&&!1!==e.mounted&&(e.props.enableUserSelectHack&&(0,s.addUserSelectStyles)(r),e.setState({dragging:!0,lastX:a,lastY:l}),(0,s.addEvent)(r,O.move,e.handleDrag),(0,s.addEvent)(r,O.stop,e.handleDragStop))}}})),w(_(e),"handleDrag",(function(t){var n=(0,c.getControlPosition)(t,e.state.touchIdentifier,_(e));if(null!=n){var r=n.x,i=n.y;if(Array.isArray(e.props.grid)){var o=r-e.state.lastX,a=i-e.state.lastY,s=h((0,c.snapToGrid)(e.props.grid,o,a),2);if(o=s[0],a=s[1],!o&&!a)return;r=e.state.lastX+o,i=e.state.lastY+a}var l=(0,c.createCoreData)(_(e),r,i);if((0,u.default)("DraggableCore: handleDrag: %j",l),!1!==e.props.onDrag(t,l)&&!1!==e.mounted)e.setState({lastX:r,lastY:i});else try{e.handleDragStop(new MouseEvent("mouseup"))}catch(f){var d=document.createEvent("MouseEvents");d.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),e.handleDragStop(d)}}})),w(_(e),"handleDragStop",(function(t){if(e.state.dragging){var n=(0,c.getControlPosition)(t,e.state.touchIdentifier,_(e));if(null!=n){var r=n.x,i=n.y,o=(0,c.createCoreData)(_(e),r,i);if(!1===e.props.onStop(t,o)||!1===e.mounted)return!1;var a=e.findDOMNode();a&&e.props.enableUserSelectHack&&(0,s.removeUserSelectStyles)(a.ownerDocument),(0,u.default)("DraggableCore: handleDragStop: %j",o),e.setState({dragging:!1,lastX:NaN,lastY:NaN}),a&&((0,u.default)("DraggableCore: Removing handlers"),(0,s.removeEvent)(a.ownerDocument,O.move,e.handleDrag),(0,s.removeEvent)(a.ownerDocument,O.stop,e.handleDragStop))}}})),w(_(e),"onMouseDown",(function(t){return O=E,e.handleDragStart(t)})),w(_(e),"onMouseUp",(function(t){return O=E,e.handleDragStop(t)})),w(_(e),"onTouchStart",(function(t){return O=S,e.handleDragStart(t)})),w(_(e),"onTouchEnd",(function(t){return O=S,e.handleDragStop(t)})),e}return t=l,(n=[{key:"componentDidMount",value:function(){this.mounted=!0;var e=this.findDOMNode();e&&(0,s.addEvent)(e,S.start,this.onTouchStart,{passive:!1})}},{key:"componentWillUnmount",value:function(){this.mounted=!1;var e=this.findDOMNode();if(e){var t=e.ownerDocument;(0,s.removeEvent)(t,E.move,this.handleDrag),(0,s.removeEvent)(t,S.move,this.handleDrag),(0,s.removeEvent)(t,E.stop,this.handleDragStop),(0,s.removeEvent)(t,S.stop,this.handleDragStop),(0,s.removeEvent)(e,S.start,this.onTouchStart,{passive:!1}),this.props.enableUserSelectHack&&(0,s.removeUserSelectStyles)(t)}}},{key:"findDOMNode",value:function(){var e,t,n;return null!==(e=null===(t=this.props)||void 0===t||null===(n=t.nodeRef)||void 0===n?void 0:n.current)&&void 0!==e?e:a.default.findDOMNode(this)}},{key:"render",value:function(){return i.cloneElement(i.Children.only(this.props.children),{onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}}])&&g(t.prototype,n),r&&g(t,r),l}(i.Component);t.default=k,w(k,"displayName","DraggableCore"),w(k,"propTypes",{allowAnyClick:o.default.bool,disabled:o.default.bool,enableUserSelectHack:o.default.bool,offsetParent:function(e,t){if(e[t]&&1!==e[t].nodeType)throw new Error("Draggable's offsetParent must be a DOM Node.")},grid:o.default.arrayOf(o.default.number),handle:o.default.string,cancel:o.default.string,nodeRef:o.default.object,onStart:o.default.func,onDrag:o.default.func,onStop:o.default.func,onMouseDown:o.default.func,scale:o.default.number,className:l.dontSetMe,style:l.dontSetMe,transform:l.dontSetMe}),w(k,"defaultProps",{allowAnyClick:!1,disabled:!1,enableUserSelectHack:!0,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){},scale:1})},61193:function(e,t,n){"use strict";var r=n(75668),i=r.default,o=r.DraggableCore;e.exports=i,e.exports.default=i,e.exports.DraggableCore=o},81825:function(e,t,n){"use strict";function r(e){return r="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},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.matchesSelector=d,t.matchesSelectorAndParentsTo=function(e,t,n){var r=e;do{if(d(r,t))return!0;if(r===n)return!1;r=r.parentNode}while(r);return!1},t.addEvent=function(e,t,n,r){if(!e)return;var i=c({capture:!0},r);e.addEventListener?e.addEventListener(t,n,i):e.attachEvent?e.attachEvent("on"+t,n):e["on"+t]=n},t.removeEvent=function(e,t,n,r){if(!e)return;var i=c({capture:!0},r);e.removeEventListener?e.removeEventListener(t,n,i):e.detachEvent?e.detachEvent("on"+t,n):e["on"+t]=null},t.outerHeight=function(e){var t=e.clientHeight,n=e.ownerDocument.defaultView.getComputedStyle(e);return t+=(0,i.int)(n.borderTopWidth),t+=(0,i.int)(n.borderBottomWidth)},t.outerWidth=function(e){var t=e.clientWidth,n=e.ownerDocument.defaultView.getComputedStyle(e);return t+=(0,i.int)(n.borderLeftWidth),t+=(0,i.int)(n.borderRightWidth)},t.innerHeight=function(e){var t=e.clientHeight,n=e.ownerDocument.defaultView.getComputedStyle(e);return t-=(0,i.int)(n.paddingTop),t-=(0,i.int)(n.paddingBottom)},t.innerWidth=function(e){var t=e.clientWidth,n=e.ownerDocument.defaultView.getComputedStyle(e);return t-=(0,i.int)(n.paddingLeft),t-=(0,i.int)(n.paddingRight)},t.offsetXYFromParent=function(e,t,n){var r=t===t.ownerDocument.body?{left:0,top:0}:t.getBoundingClientRect(),i=(e.clientX+t.scrollLeft-r.left)/n,o=(e.clientY+t.scrollTop-r.top)/n;return{x:i,y:o}},t.createCSSTransform=function(e,t){var n=f(e,t,"px");return l({},(0,o.browserPrefixToKey)("transform",o.default),n)},t.createSVGTransform=function(e,t){return f(e,t,"")},t.getTranslation=f,t.getTouch=function(e,t){return e.targetTouches&&(0,i.findInArray)(e.targetTouches,(function(e){return t===e.identifier}))||e.changedTouches&&(0,i.findInArray)(e.changedTouches,(function(e){return t===e.identifier}))},t.getTouchIdentifier=function(e){if(e.targetTouches&&e.targetTouches[0])return e.targetTouches[0].identifier;if(e.changedTouches&&e.changedTouches[0])return e.changedTouches[0].identifier},t.addUserSelectStyles=function(e){if(!e)return;var t=e.getElementById("react-draggable-style-el");t||((t=e.createElement("style")).type="text/css",t.id="react-draggable-style-el",t.innerHTML=".react-draggable-transparent-selection *::-moz-selection {all: inherit;}\n",t.innerHTML+=".react-draggable-transparent-selection *::selection {all: inherit;}\n",e.getElementsByTagName("head")[0].appendChild(t));e.body&&h(e.body,"react-draggable-transparent-selection")},t.removeUserSelectStyles=function(e){if(!e)return;try{if(e.body&&p(e.body,"react-draggable-transparent-selection"),e.selection)e.selection.empty();else{var t=(e.defaultView||window).getSelection();t&&"Caret"!==t.type&&t.removeAllRanges()}}catch(n){}},t.addClassName=h,t.removeClassName=p;var i=n(9280),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!==typeof e)return{default:e};var n=a(t);if(n&&n.has(e))return n.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var c=o?Object.getOwnPropertyDescriptor(e,s):null;c&&(c.get||c.set)?Object.defineProperty(i,s,c):i[s]=e[s]}i.default=e,n&&n.set(e,i);return i}(n(38650));function a(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(a=function(e){return e?n:t})(e)}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 c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?s(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var u="";function d(e,t){return u||(u=(0,i.findInArray)(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"],(function(t){return(0,i.isFunction)(e[t])}))),!!(0,i.isFunction)(e[u])&&e[u](t)}function f(e,t,n){var r=e.x,i=e.y,o="translate(".concat(r).concat(n,",").concat(i).concat(n,")");if(t){var a="".concat("string"===typeof t.x?t.x:t.x+n),s="".concat("string"===typeof t.y?t.y:t.y+n);o="translate(".concat(a,", ").concat(s,")")+o}return o}function h(e,t){e.classList?e.classList.add(t):e.className.match(new RegExp("(?:^|\\s)".concat(t,"(?!\\S)")))||(e.className+=" ".concat(t))}function p(e,t){e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("(?:^|\\s)".concat(t,"(?!\\S)"),"g"),"")}},38650:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPrefix=r,t.browserPrefixToKey=i,t.browserPrefixToStyle=function(e,t){return t?"-".concat(t.toLowerCase(),"-").concat(e):e},t.default=void 0;var n=["Moz","Webkit","O","ms"];function r(){var e,t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"transform";if("undefined"===typeof window)return"";var o=null===(e=window.document)||void 0===e||null===(t=e.documentElement)||void 0===t?void 0:t.style;if(!o)return"";if(r in o)return"";for(var a=0;a<n.length;a++)if(i(r,n[a])in o)return n[a];return""}function i(e,t){return t?"".concat(t).concat(function(e){for(var t="",n=!0,r=0;r<e.length;r++)n?(t+=e[r].toUpperCase(),n=!1):"-"===e[r]?n=!0:t+=e[r];return t}(e)):e}var o=r();t.default=o},55904:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){0}},2849:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getBoundPosition=function(e,t,n){if(!e.props.bounds)return[t,n];var a=e.props.bounds;a="string"===typeof a?a:function(e){return{left:e.left,top:e.top,right:e.right,bottom:e.bottom}}(a);var s=o(e);if("string"===typeof a){var c,l=s.ownerDocument,u=l.defaultView;if(!((c="parent"===a?s.parentNode:l.querySelector(a))instanceof u.HTMLElement))throw new Error('Bounds selector "'+a+'" could not find an element.');var d=c,f=u.getComputedStyle(s),h=u.getComputedStyle(d);a={left:-s.offsetLeft+(0,r.int)(h.paddingLeft)+(0,r.int)(f.marginLeft),top:-s.offsetTop+(0,r.int)(h.paddingTop)+(0,r.int)(f.marginTop),right:(0,i.innerWidth)(d)-(0,i.outerWidth)(s)-s.offsetLeft+(0,r.int)(h.paddingRight)-(0,r.int)(f.marginRight),bottom:(0,i.innerHeight)(d)-(0,i.outerHeight)(s)-s.offsetTop+(0,r.int)(h.paddingBottom)-(0,r.int)(f.marginBottom)}}(0,r.isNum)(a.right)&&(t=Math.min(t,a.right));(0,r.isNum)(a.bottom)&&(n=Math.min(n,a.bottom));(0,r.isNum)(a.left)&&(t=Math.max(t,a.left));(0,r.isNum)(a.top)&&(n=Math.max(n,a.top));return[t,n]},t.snapToGrid=function(e,t,n){var r=Math.round(t/e[0])*e[0],i=Math.round(n/e[1])*e[1];return[r,i]},t.canDragX=function(e){return"both"===e.props.axis||"x"===e.props.axis},t.canDragY=function(e){return"both"===e.props.axis||"y"===e.props.axis},t.getControlPosition=function(e,t,n){var r="number"===typeof t?(0,i.getTouch)(e,t):null;if("number"===typeof t&&!r)return null;var a=o(n),s=n.props.offsetParent||a.offsetParent||a.ownerDocument.body;return(0,i.offsetXYFromParent)(r||e,s,n.props.scale)},t.createCoreData=function(e,t,n){var i=e.state,a=!(0,r.isNum)(i.lastX),s=o(e);return a?{node:s,deltaX:0,deltaY:0,lastX:t,lastY:n,x:t,y:n}:{node:s,deltaX:t-i.lastX,deltaY:n-i.lastY,lastX:i.lastX,lastY:i.lastY,x:t,y:n}},t.createDraggableData=function(e,t){var n=e.props.scale;return{node:t.node,x:e.state.x+t.deltaX/n,y:e.state.y+t.deltaY/n,deltaX:t.deltaX/n,deltaY:t.deltaY/n,lastX:e.state.x,lastY:e.state.y}};var r=n(9280),i=n(81825);function o(e){var t=e.findDOMNode();if(!t)throw new Error("<DraggableCore>: Unmounted during event!");return t}},9280:function(e,t){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.findInArray=function(e,t){for(var n=0,r=e.length;n<r;n++)if(t.apply(t,[e[n],n,e]))return e[n]},t.isFunction=function(e){return"function"===typeof e||"[object Function]"===Object.prototype.toString.call(e)},t.isNum=function(e){return"number"===typeof e&&!isNaN(e)},t.int=function(e){return parseInt(e,10)},t.dontSetMe=function(e,t,n){if(e[t])return new Error("Invalid prop ".concat(t," passed to ").concat(n," - do not set this, set it on the child."))}},69590:function(e){var t="undefined"!==typeof Element,n="function"===typeof Map,r="function"===typeof Set,i="function"===typeof ArrayBuffer&&!!ArrayBuffer.isView;function o(e,a){if(e===a)return!0;if(e&&a&&"object"==typeof e&&"object"==typeof a){if(e.constructor!==a.constructor)return!1;var s,c,l,u;if(Array.isArray(e)){if((s=e.length)!=a.length)return!1;for(c=s;0!==c--;)if(!o(e[c],a[c]))return!1;return!0}if(n&&e instanceof Map&&a instanceof Map){if(e.size!==a.size)return!1;for(u=e.entries();!(c=u.next()).done;)if(!a.has(c.value[0]))return!1;for(u=e.entries();!(c=u.next()).done;)if(!o(c.value[1],a.get(c.value[0])))return!1;return!0}if(r&&e instanceof Set&&a instanceof Set){if(e.size!==a.size)return!1;for(u=e.entries();!(c=u.next()).done;)if(!a.has(c.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(a)){if((s=e.length)!=a.length)return!1;for(c=s;0!==c--;)if(e[c]!==a[c])return!1;return!0}if(e.constructor===RegExp)return e.source===a.source&&e.flags===a.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===a.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===a.toString();if((s=(l=Object.keys(e)).length)!==Object.keys(a).length)return!1;for(c=s;0!==c--;)if(!Object.prototype.hasOwnProperty.call(a,l[c]))return!1;if(t&&e instanceof Element)return!1;for(c=s;0!==c--;)if(("_owner"!==l[c]&&"__v"!==l[c]&&"__o"!==l[c]||!e.$$typeof)&&!o(e[l[c]],a[l[c]]))return!1;return!0}return e!==e&&a!==a}e.exports=function(e,t){try{return o(e,t)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}}},69921:function(e,t){"use strict";var n="function"===typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,c=n?Symbol.for("react.provider"):60109,l=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,h=n?Symbol.for("react.suspense"):60113,p=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,v=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,_=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 u:case d:case o:case s:case a:case h:return e;default:switch(e=e&&e.$$typeof){case l:case f:case g:case m:case c:return e;default:return t}}case i:return t}}}function w(e){return x(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=l,t.ContextProvider=c,t.Element=r,t.ForwardRef=f,t.Fragment=o,t.Lazy=g,t.Memo=m,t.Portal=i,t.Profiler=s,t.StrictMode=a,t.Suspense=h,t.isAsyncMode=function(e){return w(e)||x(e)===u},t.isConcurrentMode=w,t.isContextConsumer=function(e){return x(e)===l},t.isContextProvider=function(e){return x(e)===c},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return x(e)===f},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)===i},t.isProfiler=function(e){return x(e)===s},t.isStrictMode=function(e){return x(e)===a},t.isSuspense=function(e){return x(e)===h},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===o||e===d||e===s||e===a||e===h||e===p||"object"===typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===c||e.$$typeof===l||e.$$typeof===f||e.$$typeof===v||e.$$typeof===b||e.$$typeof===_||e.$$typeof===y)},t.typeOf=x},59864:function(e,t,n){"use strict";e.exports=n(69921)},11358:function(module,__unused_webpack_exports,__webpack_require__){var t;t=function(__WEBPACK_EXTERNAL_MODULE__98__){return(()=>{var __webpack_modules__={759:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var r,i=n(98),o=n.n(i),a=n(697),s=n.n(a);function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c.apply(this,arguments)}e=n.hmd(e),(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(e),"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var l=function(e){var t=e.breakLabel,n=e.breakClassName,r=e.breakLinkClassName,i=e.breakHandler,a=e.getEventListener,s=n||"break";return o().createElement("li",{className:s},o().createElement("a",c({className:r,role:"button",tabIndex:"0",onKeyPress:i},a(i)),t))};
1l.propTypes={breakLabel:s().oneOfType([s().string,s().node]),breakClassName:s().string,breakLinkClassName:s().string,breakHandler:s().func.isRequired,getEventListener:s().func.isRequired};var u=l;const d=u;var f,h;(f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(f.register(l,"BreakView","/home/yoan/work/oss/react-paginate/react_components/BreakView.js"),f.register(u,"default","/home/yoan/work/oss/react-paginate/react_components/BreakView.js")),(h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&h(e)},770:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var r,i=n(98),o=n.n(i),a=n(697),s=n.n(a);function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c.apply(this,arguments)}e=n.hmd(e),(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(e),"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var l=function(e){var t=e.pageClassName,n=e.pageLinkClassName,r=e.page,i=e.selected,a=e.activeClassName,s=e.activeLinkClassName,l=e.getEventListener,u=e.pageSelectedHandler,d=e.href,f=e.extraAriaContext,h=e.pageLabelBuilder,p=e.rel,m=e.ariaLabel||"Page "+r+(f?" "+f:""),g=null;return i&&(g="page",m=e.ariaLabel||"Page "+r+" is your current page",t=void 0!==t?t+" "+a:a,void 0!==n?void 0!==s&&(n=n+" "+s):n=s),o().createElement("li",{className:t},o().createElement("a",c({rel:p,role:d?void 0:"button",className:n,href:d,tabIndex:i?"-1":"0","aria-label":m,"aria-current":g,onKeyPress:u},l(u)),h(r)))};l.propTypes={pageSelectedHandler:s().func.isRequired,selected:s().bool.isRequired,pageClassName:s().string,pageLinkClassName:s().string,activeClassName:s().string,activeLinkClassName:s().string,extraAriaContext:s().string,href:s().string,ariaLabel:s().string,page:s().number.isRequired,getEventListener:s().func.isRequired,pageLabelBuilder:s().func.isRequired,rel:s().string};var u=l;const d=u;var f,h;(f="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(f.register(l,"PageView","/home/yoan/work/oss/react-paginate/react_components/PageView.js"),f.register(u,"default","/home/yoan/work/oss/react-paginate/react_components/PageView.js")),(h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&h(e)},214:(module,__webpack_exports__,__nested_webpack_require_3517__)=>{"use strict";__nested_webpack_require_3517__.d(__webpack_exports__,{Z:()=>PaginationBoxView});var react__WEBPACK_IMPORTED_MODULE_0__=__nested_webpack_require_3517__(98),react__WEBPACK_IMPORTED_MODULE_0___default=__nested_webpack_require_3517__.n(react__WEBPACK_IMPORTED_MODULE_0__),prop_types__WEBPACK_IMPORTED_MODULE_1__=__nested_webpack_require_3517__(697),prop_types__WEBPACK_IMPORTED_MODULE_1___default=__nested_webpack_require_3517__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__),_PageView__WEBPACK_IMPORTED_MODULE_2__=__nested_webpack_require_3517__(770),_BreakView__WEBPACK_IMPORTED_MODULE_3__=__nested_webpack_require_3517__(759),_utils__WEBPACK_IMPORTED_MODULE_4__=__nested_webpack_require_3517__(923),enterModule;function _typeof(e){return _typeof="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},_typeof(e)}function _extends(){return _extends=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_extends.apply(this,arguments)}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _createClass(e,t,n){return t&&_defineProperties(e.prototype,t),n&&_defineProperties(e,n),e}function _inherits(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}}),t&&_setPrototypeOf(e,t)}function _setPrototypeOf(e,t){return _setPrototypeOf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},_setPrototypeOf(e,t)}function _createSuper(e){var t=_isNativeReflectConstruct();return function(){var n,r=_getPrototypeOf(e);if(t){var i=_getPrototypeOf(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return _possibleConstructorReturn(this,n)}}function _possibleConstructorReturn(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(e)}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _isNativeReflectConstruct(){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 _getPrototypeOf(e){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},_getPrototypeOf(e)}function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}module=__nested_webpack_require_3517__.hmd(module),enterModule="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0,enterModule&&enterModule(module);var __signature__="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(e){return e},PaginationBoxView=function(_Component){_inherits(PaginationBoxView,_Component);var _super=_createSuper(PaginationBoxView);function PaginationBoxView(e){var t,n;return _classCallCheck(this,PaginationBoxView),_defineProperty(_assertThisInitialized(t=_super.call(this,e)),"handlePreviousPage",(function(e){var n=t.state.selected;t.handleClick(e,null,n>0?n-1:void 0,{isPrevious:!0})})),_defineProperty(_assertThisInitialized(t),"handleNextPage",(function(e){var n=t.state.selected,r=t.props.pageCount;t.handleClick(e,null,n<r-1?n+1:void 0,{isNext:!0})}
1)),_defineProperty(_assertThisInitialized(t),"handlePageSelected",(function(e,n){if(t.state.selected===e)return t.callActiveCallback(e),void t.handleClick(n,null,void 0,{isActive:!0});t.handleClick(n,null,e)})),_defineProperty(_assertThisInitialized(t),"handlePageChange",(function(e){t.state.selected!==e&&(t.setState({selected:e}),t.callCallback(e))})),_defineProperty(_assertThisInitialized(t),"getEventListener",(function(e){return _defineProperty({},t.props.eventListener,e)})),_defineProperty(_assertThisInitialized(t),"handleClick",(function(e,n,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=i.isPrevious,a=void 0!==o&&o,s=i.isNext,c=void 0!==s&&s,l=i.isBreak,u=void 0!==l&&l,d=i.isActive,f=void 0!==d&&d;e.preventDefault?e.preventDefault():e.returnValue=!1;var h=t.state.selected,p=t.props.onClick,m=r;if(p){var g=p({index:n,selected:h,nextSelectedPage:r,event:e,isPrevious:a,isNext:c,isBreak:u,isActive:f});if(!1===g)return;Number.isInteger(g)&&(m=g)}void 0!==m&&t.handlePageChange(m)})),_defineProperty(_assertThisInitialized(t),"handleBreakClick",(function(e,n){var r=t.state.selected;t.handleClick(n,e,r<e?t.getForwardJump():t.getBackwardJump(),{isBreak:!0})})),_defineProperty(_assertThisInitialized(t),"callCallback",(function(e){void 0!==t.props.onPageChange&&"function"==typeof t.props.onPageChange&&t.props.onPageChange({selected:e})})),_defineProperty(_assertThisInitialized(t),"callActiveCallback",(function(e){void 0!==t.props.onPageActive&&"function"==typeof t.props.onPageActive&&t.props.onPageActive({selected:e})})),_defineProperty(_assertThisInitialized(t),"getElementPageRel",(function(e){var n=t.state.selected,r=t.props,i=r.nextPageRel,o=r.prevPageRel,a=r.selectedPageRel;return n-1===e?o:n===e?a:n+1===e?i:void 0})),_defineProperty(_assertThisInitialized(t),"pagination",(function(){var e=[],n=t.props,r=n.pageRangeDisplayed,i=n.pageCount,o=n.marginPagesDisplayed,a=n.breakLabel,s=n.breakClassName,c=n.breakLinkClassName,l=t.state.selected;if(i<=r)for(var u=0;u<i;u++)e.push(t.getPageElement(u));else{var d=r/2,f=r-d;l>i-r/2?d=r-(f=i-l):l<r/2&&(f=r-(d=l));var h,p,m=function(e){return t.getPageElement(e)},g=[];for(h=0;h<i;h++){var y=h+1;y<=o||y>i-o||h>=l-d&&h<=l+(0===l&&r>1?f-1:f)?g.push({type:"page",index:h,display:m(h)}):a&&g.length>0&&g[g.length-1].display!==p&&(r>0||o>0)&&(p=react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_BreakView__WEBPACK_IMPORTED_MODULE_3__.Z,{key:h,breakLabel:a,breakClassName:s,breakLinkClassName:c,breakHandler:t.handleBreakClick.bind(null,h),getEventListener:t.getEventListener}),g.push({type:"break",index:h,display:p}))}g.forEach((function(t,n){var r=t;"break"===t.type&&g[n-1]&&"page"===g[n-1].type&&g[n+1]&&"page"===g[n+1].type&&g[n+1].index-g[n-1].index<=2&&(r={type:"page",index:t.index,display:m(t.index)}),e.push(r.display)}))}return e})),void 0!==e.initialPage&&void 0!==e.forcePage&&console.warn("(react-paginate): Both initialPage (".concat(e.initialPage,") and forcePage (").concat(e.forcePage,") props are provided, which is discouraged.")+" Use exclusively forcePage prop for a controlled component.\nSee https://reactjs.org/docs/forms.html#controlled-components"),n=e.initialPage?e.initialPage:e.forcePage?e.forcePage:0,t.state={selected:n},t}return _createClass(PaginationBoxView,[{key:"componentDidMount",value:function(){var e=this.props,t=e.initialPage,n=e.disableInitialCallback,r=e.extraAriaContext,i=e.pageCount,o=e.forcePage;void 0===t||n||this.callCallback(t),r&&console.warn("DEPRECATED (react-paginate): The extraAriaContext prop is deprecated. You should now use the ariaLabelBuilder instead."),Number.isInteger(i)||console.warn("(react-paginate): The pageCount prop value provided is not an integer (".concat(i,"). Did you forget a Math.ceil()?")),void 0!==t&&t>i-1&&console.warn("(react-paginate): The initialPage prop provided is greater than the maximum page index from pageCount prop (".concat(t," > ").concat(i-1,").")),void 0!==o&&o>i-1&&console.warn("(react-paginate): The forcePage prop provided is greater than the maximum page index from pageCount prop (".concat(o," > ").concat(i-1,")."))}},{key:"componentDidUpdate",value:function(e){void 0!==this.props.forcePage&&this.props.forcePage!==e.forcePage&&(this.props.forcePage>this.props.pageCount-1&&console.warn("(react-paginate): The forcePage prop provided is greater than the maximum page index from pageCount prop (".concat(this.props.forcePage," > ").concat(this.props.pageCount-1,").")),this.setState({selected:this.props.forcePage}
1)),Number.isInteger(e.pageCount)&&!Number.isInteger(this.props.pageCount)&&console.warn("(react-paginate): The pageCount prop value provided is not an integer (".concat(this.props.pageCount,"). Did you forget a Math.ceil()?"))}},{key:"getForwardJump",value:function(){var e=this.state.selected,t=this.props,n=t.pageCount,r=e+t.pageRangeDisplayed;return r>=n?n-1:r}},{key:"getBackwardJump",value:function(){var e=this.state.selected-this.props.pageRangeDisplayed;return e<0?0:e}},{key:"getElementHref",value:function(e){var t=this.props,n=t.hrefBuilder,r=t.pageCount,i=t.hrefAllControls;if(n)return i||e>=0&&e<r?n(e+1,r,this.state.selected):void 0}},{key:"ariaLabelBuilder",value:function(e){var t=e===this.state.selected;if(this.props.ariaLabelBuilder&&e>=0&&e<this.props.pageCount){var n=this.props.ariaLabelBuilder(e+1,t);return this.props.extraAriaContext&&!t&&(n=n+" "+this.props.extraAriaContext),n}}},{key:"getPageElement",value:function(e){var t=this.state.selected,n=this.props,r=n.pageClassName,i=n.pageLinkClassName,o=n.activeClassName,a=n.activeLinkClassName,s=n.extraAriaContext,c=n.pageLabelBuilder;return react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_PageView__WEBPACK_IMPORTED_MODULE_2__.Z,{key:e,pageSelectedHandler:this.handlePageSelected.bind(null,e),selected:t===e,rel:this.getElementPageRel(e),pageClassName:r,pageLinkClassName:i,activeClassName:o,activeLinkClassName:a,extraAriaContext:s,href:this.getElementHref(e),ariaLabel:this.ariaLabelBuilder(e),page:e+1,pageLabelBuilder:c,getEventListener:this.getEventListener})}},{key:"render",value:function(){var e=this.props.renderOnZeroPageCount;if(0===this.props.pageCount&&void 0!==e)return e?e(this.props):e;var t=this.props,n=t.disabledClassName,r=t.disabledLinkClassName,i=t.pageCount,o=t.className,a=t.containerClassName,s=t.previousLabel,c=t.previousClassName,l=t.previousLinkClassName,u=t.previousAriaLabel,d=t.prevRel,f=t.nextLabel,h=t.nextClassName,p=t.nextLinkClassName,m=t.nextAriaLabel,g=t.nextRel,y=this.state.selected,v=0===y,b=y===i-1,_="".concat((0,_utils__WEBPACK_IMPORTED_MODULE_4__.m)(c)).concat(v?" ".concat((0,_utils__WEBPACK_IMPORTED_MODULE_4__.m)(n)):""),x="".concat((0,_utils__WEBPACK_IMPORTED_MODULE_4__.m)(h)).concat(b?" ".concat((0,_utils__WEBPACK_IMPORTED_MODULE_4__.m)(n)):""),w="".concat((0,_utils__WEBPACK_IMPORTED_MODULE_4__.m)(l)).concat(v?" ".concat((0,_utils__WEBPACK_IMPORTED_MODULE_4__.m)(r)):""),S="".concat((0,_utils__WEBPACK_IMPORTED_MODULE_4__.m)(p)).concat(b?" ".concat((0,_utils__WEBPACK_IMPORTED_MODULE_4__.m)(r)):""),E=v?"true":"false",O=b?"true":"false";return react__WEBPACK_IMPORTED_MODULE_0___default().createElement("ul",{className:o||a},react__WEBPACK_IMPORTED_MODULE_0___default().createElement("li",{className:_},react__WEBPACK_IMPORTED_MODULE_0___default().createElement("a",_extends({className:w,href:this.getElementHref(y-1),tabIndex:v?"-1":"0",role:"button",onKeyPress:this.handlePreviousPage,"aria-disabled":E,"aria-label":u,rel:d},this.getEventListener(this.handlePreviousPage)),s)),this.pagination(),react__WEBPACK_IMPORTED_MODULE_0___default().createElement("li",{className:x},react__WEBPACK_IMPORTED_MODULE_0___default().createElement("a",_extends({className:S,href:this.getElementHref(y+1),tabIndex:b?"-1":"0",role:"button",onKeyPress:this.handleNextPage,"aria-disabled":O,"aria-label":m,rel:g},this.getEventListener(this.handleNextPage)),f)))}},{key:"__reactstandin__regenerateByEval",value:function __reactstandin__regenerateByEval(key,code){this[key]=eval(code)}}]),PaginationBoxView}(react__WEBPACK_IMPORTED_MODULE_0__.Component),reactHotLoader,leaveModule;_defineProperty(PaginationBoxView,"propTypes",{pageCount:prop_types__WEBPACK_IMPORTED_MODULE_1___default().number.isRequired,pageRangeDisplayed:prop_types__WEBPACK_IMPORTED_MODULE_1___default().number,marginPagesDisplayed:prop_types__WEBPACK_IMPORTED_MODULE_1___default().number,previousLabel:prop_types__WEBPACK_IMPORTED_MODULE_1___default().node,previousAriaLabel:prop_types__WEBPACK_IMPORTED_MODULE_1___default().string,prevPageRel:prop_types__WEBPACK_IMPORTED_MODULE_1___default().string,prevRel:prop_types__WEBPACK_IMPORTED_MODULE_1___default().string,nextLabel:prop_types__WEBPACK_IMPORTED_MODULE_1___default().node,nextAriaLabel:prop_types__WEBPACK_IMPORTED_MODULE_1___default().string,nextPageRel:prop_types__WEBPACK_IMPORTED_MODULE_1___default().string,nextRel:prop_types__WEBPACK_IMPORTED_MODULE_1___default().string,breakLabel:prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1___default().string,prop_types__WEBPACK_IMPORTED_MODULE_1___default().node]),hrefBuilder:prop_types__WEBPACK_IMPORTED_MODULE_1___default().func,hrefAllControls:prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool,onPageChange:prop_types__WEBPACK_IMPORTED_MODULE_1___default().func,onPageActive:prop_types__WEBPACK_IMPORTED_MODULE_1___default().func,onClick:prop_types__WEBPACK_IMPORTED_MODULE_1___default().func,initialPage:prop_types__WEBPACK_IMPORTED_MODULE_1___default().number,forcePage:prop_types__WEBPACK_IMPORTED_MODULE_1___default().number,disableInitialCallback:prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool,containerClassName:prop_types__WEBPACK_IMPORTED_MODULE_1___default().string,className:prop_types__WEBPACK_IMPORTED_MODULE_1___default().string,pageClassName:prop_types__WEBPACK_IMPORTED_MODULE_1___default().string,pageLinkClassName:prop_types__WEBPACK_IMPORTED_MODULE_1___default().string,pageLabelBuilder:prop_types__WEBPACK_IMPORTED_MODULE_1___default().func,activeClassName:prop_types__WEBPACK_IMPORTED_MODULE_1___default().string,activeLinkClassName:prop_types__WEBPACK_IMPORTED_MODULE_1___default().string,previousClassName:prop_types__WEBPACK_IMPORTED_MODULE_1___default().string,nextClassName:prop_types__WEBPACK_IMPORTED_MODULE_1___default().string,previousLinkClassName:prop_types__WEBPACK_IMPORTED_MODULE_1___default().string,nextLinkClassName:prop_types__WEBPACK_IMPORTED_MODULE_1___default().string,disabledClassName:prop_types__WEBPACK_IMPORTED_MODULE_1___default().string,disabledLinkClassName:prop_types__WEBPACK_IMPORTED_MODULE_1___default().string,breakClassName:prop_types__WEBPACK_IMPORTED_MODULE_1___default().string,breakLinkClassName:prop_types__WEBPACK_IMPORTED_MODULE_1___default().string,extraAriaContext:prop_types__WEBPACK_IMPORTED_MODULE_1___default().string,ariaLabelBuilder:prop_types__WEBPACK_IMPORTED_MODULE_1___default().func,eventListener:prop_types__WEBPACK_IMPORTED_MODULE_1___default().string,renderOnZeroPageCount:prop_types__WEBPACK_IMPORTED_MODULE_1___default().func,selectedPageRel:prop_types__WEBPACK_IMPORTED_MODULE_1___default().string}),_defineProperty(PaginationBoxView,"defaultProps",{pageRangeDisplayed:2,marginPagesDisplayed:3,activeClassName:"selected",previousLabel:"Previous",previousClassName:"previous",previousAriaLabel:"Previous page",prevPageRel:"prev",prevRel:"prev",nextLabel:"Next",nextClassName:"next",nextAriaLabel:"Next page",nextPageRel:"next",nextRel:"next",breakLabel:"...",disabledClassName:"disabled",disableInitialCallback:!1,pageLabelBuilder:function(e){return e},eventListener:"onClick",renderOnZeroPageCount:void 0,selectedPageRel:"canonical",hrefAllControls:!1}),reactHotLoader="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0,reactHotLoader&&reactHotLoader.register(PaginationBoxView,"PaginationBoxView","/home/yoan/work/oss/react-paginate/react_components/PaginationBoxView.js"),leaveModule="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0,leaveModule&&leaveModule(module)},351:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r,i=n(214);e=n.hmd(e),(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(e),"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var o=i.Z;const a=o;var s,c;(s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&s.register(o,"default","/home/yoan/work/oss/react-paginate/react_components/index.js"),(c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&c(e)}
1,923:(e,t,n)=>{"use strict";var r,i,o;function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return null!=e?e:t}n.d(t,{m:()=>a}),e=n.hmd(e),(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(e),"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature,(i="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&i.register(a,"classNameIfDefined","/home/yoan/work/oss/react-paginate/react_components/utils.js"),(o="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&o(e)},703:(e,t,n)=>{"use strict";var r=n(414);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==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:i}
1;return n.PropTypes=n,n}},697:(e,t,n)=>{e.exports=n(703)()},414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},98:e=>{"use strict";e.exports=__WEBPACK_EXTERNAL_MODULE__98__}},__webpack_module_cache__={};function __nested_webpack_require_21573__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var n=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};return __webpack_modules__[e](n,n.exports,__nested_webpack_require_21573__),n.loaded=!0,n.exports}__nested_webpack_require_21573__.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return __nested_webpack_require_21573__.d(t,{a:t}),t},__nested_webpack_require_21573__.d=(e,t)=>{for(var n in t)__nested_webpack_require_21573__.o(t,n)&&!__nested_webpack_require_21573__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__nested_webpack_require_21573__.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),__nested_webpack_require_21573__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),__nested_webpack_require_21573__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var __webpack_exports__=__nested_webpack_require_21573__(351);return __webpack_exports__})()},module.exports=t(__webpack_require__(67294))},60722:function(e,t,n){"use strict";function r(e){return r="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},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!==typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(67294)),a=(i=n(69590))&&i.__esModule?i:{default:i},s=n(85741);function c(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function l(){return l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l.apply(this,arguments)}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t){return f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},f(e,t)}function h(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g(e);if(t){var i=g(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return p(this,n)}}function p(e,t){return!t||"object"!==r(t)&&"function"!==typeof t?m(e):t}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v=function(e){!function(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}}),t&&f(e,t)}(s,e);var t,n,r,i=h(s);function s(){var e;u(this,s);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return y(m(e=i.call.apply(i,[this].concat(n))),"mounted",!1),y(m(e),"isReady",!1),y(m(e),"isPlaying",!1),y(m(e),"isLoading",!0),y(m(e),"loadOnReady",null),y(m(e),"startOnPlay",!0),y(m(e),"seekOnPlay",null),y(m(e),"onDurationCalled",!1),y(m(e),"handlePlayerMount",(function(t){e.player=t,e.player.load(e.props.url),e.progress()})),y(m(e),"getInternalPlayer",(function(t){return e.player?e.player[t]:null})),y(m(e),"progress",(function(){if(e.props.url&&e.player&&e.isReady){var t=e.getCurrentTime()||0,n=e.getSecondsLoaded(),r=e.getDuration();if(r){var i={playedSeconds:t,played:t/r};null!==n&&(i.loadedSeconds=n,i.loaded=n/r),i.playedSeconds===e.prevPlayed&&i.loadedSeconds===e.prevLoaded||e.props.onProgress(i),e.prevPlayed=i.playedSeconds,e.prevLoaded=i.loadedSeconds}}e.progressTimeout=setTimeout(e.progress,e.props.progressFrequency||e.props.progressInterval)})),y(m(e),"handleReady",(function(){if(e.mounted){e.isReady=!0,e.isLoading=!1;var t=e.props,n=t.onReady,r=t.playing,i=t.volume,o=t.muted;n(),o||null===i||e.player.setVolume(i),e.loadOnReady?(e.player.load(e.loadOnReady,!0),e.loadOnReady=null):r&&e.player.play(),e.handleDurationCheck()}})),y(m(e),"handlePlay",(function(){e.isPlaying=!0,e.isLoading=!1;var t=e.props,n=t.onStart,r=t.onPlay,i=t.playbackRate;e.startOnPlay&&(e.player.setPlaybackRate&&1!==i&&e.player.setPlaybackRate(i),n(),e.startOnPlay=!1),r(),e.seekOnPlay&&(e.seekTo(e.seekOnPlay),e.seekOnPlay=null),e.handleDurationCheck()})),y(m(e),"handlePause",(function(t){e.isPlaying=!1,e.isLoading||e.props.onPause(t)})),y(m(e),"handleEnded",(function(){var t=e.props,n=t.activePlayer,r=t.loop,i=t.onEnded;n.loopOnEnded&&r&&e.seekTo(0),r||(e.isPlaying=!1,i())})),y(m(e),"handleError",(function(){var t;e.isLoading=!1,(t=e.props).onError.apply(t,arguments)})),y(m(e),"handleDurationCheck",(function(){clearTimeout(e.durationCheckTimeout);var t=e.getDuration();t?e.onDurationCalled||(e.props.onDuration(t),e.onDurationCalled=!0):e.durationCheckTimeout=setTimeout(e.handleDurationCheck,100)})),y(m(e),"handleLoaded",(function(){e.isLoading=!1})),e}return t=s,n=[{key:"componentDidMount",value:function(){this.mounted=!0}},{key:"componentWillUnmount",value:function(){clearTimeout(this.progressTimeout),clearTimeout(this.durationCheckTimeout),this.isReady&&this.props.stopOnUnmount&&(this.player.stop(),this.player.disablePIP&&this.player.disablePIP(
1)),this.mounted=!1}},{key:"componentDidUpdate",value:function(e){var t=this;if(this.player){var n=this.props,r=n.url,i=n.playing,o=n.volume,s=n.muted,c=n.playbackRate,l=n.pip,u=n.loop,d=n.activePlayer;if(!(0,a.default)(e.url,r)){if(this.isLoading&&!d.forceLoad)return console.warn("ReactPlayer: the attempt to load ".concat(r," is being deferred until the player has loaded")),void(this.loadOnReady=r);this.isLoading=!0,this.startOnPlay=!0,this.onDurationCalled=!1,this.player.load(r,this.isReady)}e.playing||!i||this.isPlaying||this.player.play(),e.playing&&!i&&this.isPlaying&&this.player.pause(),!e.pip&&l&&this.player.enablePIP&&this.player.enablePIP(),e.pip&&!l&&this.player.disablePIP&&this.player.disablePIP(),e.volume!==o&&null!==o&&this.player.setVolume(o),e.muted!==s&&(s?this.player.mute():(this.player.unmute(),null!==o&&setTimeout((function(){return t.player.setVolume(o)})))),e.playbackRate!==c&&this.player.setPlaybackRate&&this.player.setPlaybackRate(c),e.loop!==u&&this.player.setLoop&&this.player.setLoop(u)}}},{key:"getDuration",value:function(){return this.isReady?this.player.getDuration():null}},{key:"getCurrentTime",value:function(){return this.isReady?this.player.getCurrentTime():null}},{key:"getSecondsLoaded",value:function(){return this.isReady?this.player.getSecondsLoaded():null}},{key:"seekTo",value:function(e,t){var n=this;if(!this.isReady&&0!==e)return this.seekOnPlay=e,void setTimeout((function(){n.seekOnPlay=null}),5e3);if(t?"fraction"===t:e>0&&e<1){var r=this.player.getDuration();return r?void this.player.seekTo(r*e):void console.warn("ReactPlayer: could not seek using fraction \u2013\xa0duration not yet available")}this.player.seekTo(e)}},{key:"render",value:function(){var e=this.props.activePlayer;return e?o.default.createElement(e,l({},this.props,{onMount:this.handlePlayerMount,onReady:this.handleReady,onPlay:this.handlePlay,onPause:this.handlePause,onEnded:this.handleEnded,onLoaded:this.handleLoaded,onError:this.handleError})):null}}],n&&d(t.prototype,n),r&&d(t,r),s}(o.Component);t.default=v,y(v,"displayName","Player"),y(v,"propTypes",s.propTypes),y(v,"defaultProps",s.defaultProps)},83855:function(e,t,n){"use strict";function r(e){return r="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},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!==typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(67294));function o(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},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 s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){m(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=p(e);if(t){var i=p(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return f(this,n)}}function f(e,t){return!t||"object"!==r(t)&&"function"!==typeof t?h(e):t}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}
1function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var g="64px",y={},v=function(e){!function(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}}),t&&u(e,t)}(a,e);var t,n,r,o=d(a);function a(){var e;c(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return m(h(e=o.call.apply(o,[this].concat(n))),"mounted",!1),m(h(e),"state",{image:null}),m(h(e),"handleKeyPress",(function(t){"Enter"!==t.key&&" "!==t.key||e.props.onClick()})),e}return t=a,(n=[{key:"componentDidMount",value:function(){this.mounted=!0,this.fetchImage(this.props)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.url,r=t.light;e.url===n&&e.light===r||this.fetchImage(this.props)}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"fetchImage",value:function(e){var t=this,n=e.url,r=e.light;if("string"!==typeof r){if(!y[n])return this.setState({image:null}),window.fetch("https://noembed.com/embed?url=".concat(n)).then((function(e){return e.json()})).then((function(e){if(e.thumbnail_url&&t.mounted){var r=e.thumbnail_url.replace("height=100","height=480");t.setState({image:r}),y[n]=r}}));this.setState({image:y[n]})}else this.setState({image:r})}},{key:"render",value:function(){var e=this.props,t=e.onClick,n=e.playIcon,r=e.previewTabIndex,o=this.state.image,a={display:"flex",alignItems:"center",justifyContent:"center"},c={preview:s({width:"100%",height:"100%",backgroundImage:o?"url(".concat(o,")"):void 0,backgroundSize:"cover",backgroundPosition:"center",cursor:"pointer"},a),shadow:s({background:"radial-gradient(rgb(0, 0, 0, 0.3), rgba(0, 0, 0, 0) 60%)",borderRadius:g,width:g,height:g},a),playIcon:{borderStyle:"solid",borderWidth:"16px 0 16px 26px",borderColor:"transparent transparent transparent white",marginLeft:"7px"}},l=i.default.createElement("div",{style:c.shadow,className:"react-player__shadow"},i.default.createElement("div",{style:c.playIcon,className:"react-player__play-icon"}));return i.default.createElement("div",{style:c.preview,className:"react-player__preview",onClick:t,tabIndex:r,onKeyPress:this.handleKeyPress},n||l)}}])&&l(t.prototype,n),r&&l(t,r),a}(i.Component);t.default=v},70390:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createReactPlayer=void 0;var r=k(n(67294)),i=u(n(9996)),o=u(n(30845)),a=u(n(69590)),s=n(85741),c=n(38045),l=u(n(60722));function u(e){return e&&e.__esModule?e:{default:e}}function d(e){return d="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},d(e)}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<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){E(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p.apply(this,arguments)}function m(e){return function(e){if(Array.isArray(e))return g(e)}(e)||function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return g(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function b(e,t){return b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},b(e,t)}function _(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=S(e);if(t){var i=S(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return x(this,n)}}function x(e,t){return!t||"object"!==d(t)&&"function"!==typeof t?w(e):t}function w(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}
1function S(e){return S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},S(e)}function E(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function O(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return O=function(){return e},e}function k(e){if(e&&e.__esModule)return e;if(null===e||"object"!==d(e)&&"function"!==typeof e)return{default:e};var t=O();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}var T=(0,r.lazy)((function(){return Promise.resolve().then((function(){return k(n(83855))}))})),P="undefined"!==typeof window&&window.document,j="undefined"!==typeof n.g&&n.g.window&&n.g.window.document,D=Object.keys(s.propTypes),C=P||j?r.Suspense:function(){return null},M=[];t.createReactPlayer=function(e,t){var n,u;return u=n=function(n){!function(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}}),t&&b(e,t)}(x,n);var u,d,f,g=_(x);function x(){var n;y(this,x);for(var a=arguments.length,u=new Array(a),d=0;d<a;d++)u[d]=arguments[d];return E(w(n=g.call.apply(g,[this].concat(u))),"state",{showPreview:!!n.props.light}),E(w(n),"references",{wrapper:function(e){n.wrapper=e},player:function(e){n.player=e}}),E(w(n),"handleClickPreview",(function(e){n.setState({showPreview:!1}),n.props.onClickPreview(e)})),E(w(n),"showPreview",(function(){n.setState({showPreview:!0})})),E(w(n),"getDuration",(function(){return n.player?n.player.getDuration():null})),E(w(n),"getCurrentTime",(function(){return n.player?n.player.getCurrentTime():null})),E(w(n),"getSecondsLoaded",(function(){return n.player?n.player.getSecondsLoaded():null})),E(w(n),"getInternalPlayer",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"player";return n.player?n.player.getInternalPlayer(e):null})),E(w(n),"seekTo",(function(e,t){if(!n.player)return null;n.player.seekTo(e,t)})),E(w(n),"handleReady",(function(){n.props.onReady(w(n))})),E(w(n),"getActivePlayer",(0,o.default)((function(n){for(var r=0,i=[].concat(M,m(e));r<i.length;r++){var o=i[r];if(o.canPlay(n))return o}return t||null}))),E(w(n),"getConfig",(0,o.default)((function(e,t){var r=n.props.config;return i.default.all([s.defaultProps.config,s.defaultProps.config[t]||{},r,r[t]||{}])}))),E(w(n),"getAttributes",(0,o.default)((function(e){return(0,c.omit)(n.props,D)}))),E(w(n),"renderActivePlayer",(function(e){if(!e)return null;var t=n.getActivePlayer(e);if(!t)return null;var i=n.getConfig(e,t.key);return r.default.createElement(l.default,p({},n.props,{key:t.key,ref:n.references.player,config:i,activePlayer:t.lazyPlayer||t,onReady:n.handleReady}))})),n}return u=x,d=[{key:"shouldComponentUpdate",value:function(e,t){return!(0,a.default)(this.props,e)||!(0,a.default)(this.state,t)}},{key:"componentDidUpdate",value:function(e){var t=this.props.light;!e.light&&t&&this.setState({showPreview:!0}),e.light&&!t&&this.setState({showPreview:!1})}},{key:"renderPreview",value:function(e){if(!e)return null;var t=this.props,n=t.light,i=t.playIcon,o=t.previewTabIndex;return r.default.createElement(T,{url:e,light:n,playIcon:i,previewTabIndex:o,onClick:this.handleClickPreview})}},{key:"render",value:function(){var e=this.props,t=e.url,n=e.style,i=e.width,o=e.height,a=e.fallback,s=e.wrapper,c=this.state.showPreview,l=this.getAttributes(t);return r.default.createElement(s,p({ref:this.references.wrapper,style:h(h({},n),{},{width:i,height:o})},l),r.default.createElement(C,{fallback:a},c?this.renderPreview(t):this.renderActivePlayer(t)))}}],d&&v(u.prototype,d),f&&v(u,f),x}(r.Component),E(n,"displayName","ReactPlayer"),E(n,"propTypes",s.propTypes),E(n,"defaultProps",s.defaultProps),E(n,"addCustomPlayer",(function(e){M.push(e)})),E(n,"removeCustomPlayers",(function(){M.length=0})),E(n,"canPlay",(function(t){for(var n=0,r=[].concat(M,m(e));n<r.length;n++){if(r[n].canPlay(t))return!0}return!1})),E(n,"canEnablePIP",(function(t){for(var n=0,r=[].concat(M,m(e));n<r.length;n++){var i=r[n];if(i.canEnablePIP&&i.canEnablePIP(t))return!0}return!1})),u}},22004:function(e,t,n){"use strict";t.Z=void 0;var r,i=(r=n(86497))&&r.__esModule?r:{default:r},o=n(70390);var a=i.default[i.default.length-1],s=(0,o.createReactPlayer)(i.default,a);t.Z=s},71776:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.canPlay=t.FLV_EXTENSIONS=t.DASH_EXTENSIONS=t.HLS_EXTENSIONS=t.VIDEO_EXTENSIONS=t.AUDIO_EXTENSIONS=t.MATCH_URL_KALTURA=t.MATCH_URL_VIDYARD=t.MATCH_URL_MIXCLOUD=t.MATCH_URL_DAILYMOTION=t.MATCH_URL_TWITCH_CHANNEL=t.MATCH_URL_TWITCH_VIDEO=t.MATCH_URL_WISTIA=t.MATCH_URL_STREAMABLE=t.MATCH_URL_FACEBOOK_WATCH=t.MATCH_URL_FACEBOOK=t.MATCH_URL_VIMEO=t.MATCH_URL_SOUNDCLOUD=t.MATCH_URL_YOUTUBE=void 0;var r=n(38045);function i(e,t){var n;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"===typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}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 a,s=!0,c=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return s=e.done,e},e:function(e){c=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(c)throw a}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var a=/(?:youtu\.be\/|youtube(?:-nocookie)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//;t.MATCH_URL_YOUTUBE=a;var s=/(?:soundcloud\.com|snd\.sc)\/[^.]+$/;t.MATCH_URL_SOUNDCLOUD=s;var c=/vimeo\.com\/.+/;t.MATCH_URL_VIMEO=c;var l=/^https?:\/\/(www\.)?facebook\.com.*\/(video(s)?|watch|story)(\.php?|\/).+$/;t.MATCH_URL_FACEBOOK=l;var u=/^https?:\/\/fb\.watch\/.+$/;t.MATCH_URL_FACEBOOK_WATCH=u;var d=/streamable\.com\/([a-z0-9]+)$/;t.MATCH_URL_STREAMABLE=d;var f=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?(.*)$/;t.MATCH_URL_WISTIA=f;var h=/(?:www\.|go\.)?twitch\.tv\/videos\/(\d+)($|\?)/;t.MATCH_URL_TWITCH_VIDEO=h;var p=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+)($|\?)/;t.MATCH_URL_TWITCH_CHANNEL=p;var m=/^(?:(?:https?):)?(?:\/\/)?(?:www\.)?(?:(?:dailymotion\.com(?:\/embed)?\/video)|dai\.ly)\/([a-zA-Z0-9]+)(?:_[\w_-]+)?$/;t.MATCH_URL_DAILYMOTION=m;var g=/mixcloud\.com\/([^/]+\/[^/]+)/;t.MATCH_URL_MIXCLOUD=g;var y=/vidyard.com\/(?:watch\/)?([a-zA-Z0-9-]+)/;t.MATCH_URL_VIDYARD=y;var v=/^https?:\/\/[a-zA-Z]+\.kaltura.(com|org)\/p\/([0-9]+)\/sp\/([0-9]+)00\/embedIframeJs\/uiconf_id\/([0-9]+)\/partner_id\/([0-9]+)(.*)entry_id.([a-zA-Z0-9-_]+)$/;t.MATCH_URL_KALTURA=v;var b=/\.(m4a|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i;t.AUDIO_EXTENSIONS=b;var _=/\.(mp4|og[gv]|webm|mov|m4v)($|\?)/i;t.VIDEO_EXTENSIONS=_;var x=/\.(m3u8)($|\?)/i;t.HLS_EXTENSIONS=x;var w=/\.(mpd)($|\?)/i;t.DASH_EXTENSIONS=w;var S=/\.(flv)($|\?)/i;t.FLV_EXTENSIONS=S;var E={youtube:function(e){return e instanceof Array?e.every((function(e){return a.test(e)})):a.test(e)},soundcloud:function(e){return s.test(e)&&!b.test(e)},vimeo:function(e){return c.test(e)&&!_.test(e)&&!x.test(e)},facebook:function(e){return l.test(e)||u.test(e)},streamable:function(e){return d.test(e)},wistia:function(e){return f.test(e)},twitch:function(e){return h.test(e)||p.test(e)},dailymotion:function(e){return m.test(e)},mixcloud:function(e){return g.test(e)},vidyard:function(e){return y.test(e)},kaltura:function(e){return v.test(e)},file:function e(t){if(t instanceof Array){var n,o=i(t);try{for(o.s();!(n=o.n()).done;){var a=n.value;if("string"===typeof a&&e(a))return!0;if(e(a.src))return!0}}catch(s){o.e(s)}finally{o.f()}return!1}return!(!(0,r.isMediaStream)(t)&&!(0,r.isBlobUrl)(t))||(b.test(t)||_.test(t)||x.test(t)||w.test(t)||S.test(t))}};t.canPlay=E},36807:function(e,t,n){"use strict";function r(e){return r="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},r(e)}
1Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!==typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(67294)),o=n(38045),a=n(71776);function s(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}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 l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){b(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(c){i=!0,o=c}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return d(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t){return p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},p(e,t)}function m(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=v(e);if(t){var i=v(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return g(this,n)}}function g(e,t){return!t||"object"!==r(t)&&"function"!==typeof t?y(e):t}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(e){return v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},v(e)}function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _=function(e){!function(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}}),t&&p(e,t)}(c,e);var t,n,r,s=m(c);function c(){var e;f(this,c);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return b(y(e=s.call.apply(s,[this].concat(n))),"callPlayer",o.callPlayer),b(y(e),"onDurationChange",(function(){var t=e.getDuration();e.props.onDuration(t)})),b(y(e),"mute",(function(){e.callPlayer("setMuted",!0)})),b(y(e),"unmute",(function(){e.callPlayer("setMuted",!1)})),b(y(e),"ref",(function(t){e.container=t})),e}return t=c,(n=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(e){var t=this,n=this.props,r=n.controls,i=n.config,s=n.onError,c=n.playing,d=u(e.match(a.MATCH_URL_DAILYMOTION),2)[1];this.player?this.player.load(d,{start:(0,o.parseStartTime)(e),autoplay:c}):(0,o.getSDK)("https://api.dmcdn.net/all.js","DM","dmAsyncInit",(function(e){return e.player})).then((function(n){if(t.container){var a=n.player;t.player=new a(t.container,{width:"100%",height:"100%",video:d,params:l({controls:r,autoplay:t.props.playing,mute:t.props.muted,start:(0,o.parseStartTime)(e),origin:window.location.origin},i.params),events:{apiready:t.props.onReady,seeked:function(){return t.props.onSeek(t.player.currentTime)},video_end:t.props.onEnded,durationchange:t.onDurationChange,pause:t.props.onPause,playing:t.props.onPlay,waiting:t.props.onBuffer,error:function(e){return s(e)}}})}}),s)}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){}},{key:"seekTo",value:function(e){this.callPlayer("seek",e)}},{key:"setVolume",value:function(e){this.callPlayer("setVolume",e)}},{key:"getDuration",value:function(){return this.player.duration||null}},{key:"getCurrentTime",value:function(){return this.player.currentTime}},{key:"getSecondsLoaded",value:function(){return this.player.bufferedTime}}
1,{key:"render",value:function(){var e={width:"100%",height:"100%",display:this.props.display};return i.default.createElement("div",{style:e},i.default.createElement("div",{ref:this.ref}))}}])&&h(t.prototype,n),r&&h(t,r),c}(i.Component);t.default=_,b(_,"displayName","DailyMotion"),b(_,"canPlay",a.canPlay.dailymotion),b(_,"loopOnEnded",!0)},31972:function(e,t,n){"use strict";function r(e){return r="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},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!==typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(67294)),o=n(38045),a=n(71776);function s(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c.apply(this,arguments)}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function f(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=m(e);if(t){var i=m(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return h(this,n)}}function h(e,t){return!t||"object"!==r(t)&&"function"!==typeof t?p(e):t}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var y="https://connect.facebook.net/en_US/sdk.js",v="fbAsyncInit",b="facebook-player-",_=function(e){!function(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}}),t&&d(e,t)}(s,e);var t,n,r,a=f(s);function s(){var e;l(this,s);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return g(p(e=a.call.apply(a,[this].concat(n))),"callPlayer",o.callPlayer),g(p(e),"playerID",e.props.config.playerId||"".concat(b).concat((0,o.randomString)())),g(p(e),"mute",(function(){e.callPlayer("mute")})),g(p(e),"unmute",(function(){e.callPlayer("unmute")})),e}return t=s,(n=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(e,t){var n=this;t?(0,o.getSDK)(y,"FB",v).then((function(e){return e.XFBML.parse()})):(0,o.getSDK)(y,"FB",v).then((function(e){e.init({appId:n.props.config.appId,xfbml:!0,version:n.props.config.version}),e.Event.subscribe("xfbml.render",(function(e){n.props.onLoaded()})),e.Event.subscribe("xfbml.ready",(function(e){"video"===e.type&&e.id===n.playerID&&(n.player=e.instance,n.player.subscribe("startedPlaying",n.props.onPlay),n.player.subscribe("paused",n.props.onPause),n.player.subscribe("finishedPlaying",n.props.onEnded),n.player.subscribe("startedBuffering",n.props.onBuffer),n.player.subscribe("finishedBuffering",n.props.onBufferEnd),n.player.subscribe("error",n.props.onError),n.props.muted?n.c
1allPlayer("mute"):n.callPlayer("unmute"),n.props.onReady(),document.getElementById(n.playerID).querySelector("iframe").style.visibility="visible")}))}))}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){}},{key:"seekTo",value:function(e){this.callPlayer("seek",e)}},{key:"setVolume",value:function(e){this.callPlayer("setVolume",e)}},{key:"getDuration",value:function(){return this.callPlayer("getDuration")}},{key:"getCurrentTime",value:function(){return this.callPlayer("getCurrentPosition")}},{key:"getSecondsLoaded",value:function(){return null}},{key:"render",value:function(){var e=this.props.config.attributes;return i.default.createElement("div",c({style:{width:"100%",height:"100%"},id:this.playerID,className:"fb-video","data-href":this.props.url,"data-autoplay":this.props.playing?"true":"false","data-allowfullscreen":"true","data-controls":this.props.controls?"true":"false"},e))}}])&&u(t.prototype,n),r&&u(t,r),s}(i.Component);t.default=_,g(_,"displayName","Facebook"),g(_,"canPlay",a.canPlay.facebook),g(_,"loopOnEnded",!0)},14926:function(e,t,n){"use strict";function r(e){return r="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},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!==typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(67294)),o=n(38045),a=n(71776);function s(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c.apply(this,arguments)}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function f(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=m(e);if(t){var i=m(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return h(this,n)}}function h(e,t){return!t||"object"!==r(t)&&"function"!==typeof t?p(e):t}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var y="undefined"!==typeof navigator,v=y&&"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1,b=y&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||v)&&!window.MSStream,_=/www\.dropbox\.com\/.+/,x=/https:\/\/watch\.cloudflarestream\.com\/([a-z0-9]+)/,w=function(e){!function(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}}),t&&d(e,t)}(h,e);var t,n,r,s=f(h);function h(){var e;l(this,h);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return g(p(e=s.call.apply(s,[this].concat(n))),"onReady",(function(){var t;return(t=e.props).onReady.apply(t,arguments)})),g(p(e),"onPlay",(function(){var t;return(t=e.props).onPlay.apply(t,arguments)})),g(p(e),"onBuffer",(function(){var t;return(t=e.props).onBuffer.apply(t,arguments)})),g(p(e),"onBufferEnd",(function(){var t;return(t=e.props).onBufferEnd.apply(t,arguments)})),g(p(e),"onPause",(function(){var t;return(t=e.props).onPause.apply(t,arguments)})),g(p(e),"onEnded",(function(){var t;return(t=e.props).onEnded.apply(t,arguments)})),g(p(e),"onError",(function(){var t;return(t=e.props).onError.apply(t,arguments)})),g(p(e),"onEnablePIP",(function(){var t;return(t=e.props).onEnablePIP.apply(t,arguments)})),g(p(e),"onDisablePIP",(function(t){var n=e.props,r=n.onDisablePIP,i=n.playing;r(t),i&&e.play()})),g(p(e),"onPresentationModeChange",(function(t){if(e.player&&(0,o.supportsWebKitPresentationMode)(e.player)){var n=e.player.webkitPresentationMode;"picture-in-picture"===n?e.onEnablePIP(t):"inline"===n&&e.onDisablePIP(t)}})),g(p(e),"onSeek",(function(t){e.props.onSeek(t.target.currentTime)})),g(p(e),"mute",(function(){e.player.muted=!0}
vendor: 6,936 bytes, line 1
1)),g(p(e),"unmute",(function(){e.player.muted=!1})),g(p(e),"renderSourceElement",(function(e,t){return"string"===typeof e?i.default.createElement("source",{key:t,src:e}):i.default.createElement("source",c({key:t},e))})),g(p(e),"renderTrack",(function(e,t){return i.default.createElement("track",c({key:t},e))})),g(p(e),"ref",(function(t){e.player&&(e.prevPlayer=e.player),e.player=t})),e}return t=h,(n=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this),this.addListeners(this.player),b&&this.player.load()}},{key:"componentDidUpdate",value:function(e){this.shouldUseAudio(this.props)!==this.shouldUseAudio(e)&&(this.removeListeners(this.prevPlayer,e.url),this.addListeners(this.player)),this.props.url===e.url||(0,o.isMediaStream)(this.props.url)||(this.player.srcObject=null)}},{key:"componentWillUnmount",value:function(){this.removeListeners(this.player),this.hls&&this.hls.destroy()}},{key:"addListeners",value:function(e){var t=this.props,n=t.url,r=t.playsinline;e.addEventListener("play",this.onPlay),e.addEventListener("waiting",this.onBuffer),e.addEventListener("playing",this.onBufferEnd),e.addEventListener("pause",this.onPause),e.addEventListener("seeked",this.onSeek),e.addEventListener("ended",this.onEnded),e.addEventListener("error",this.onError),e.addEventListener("enterpictureinpicture",this.onEnablePIP),e.addEventListener("leavepictureinpicture",this.onDisablePIP),e.addEventListener("webkitpresentationmodechanged",this.onPresentationModeChange),this.shouldUseHLS(n)||e.addEventListener("canplay",this.onReady),r&&(e.setAttribute("playsinline",""),e.setAttribute("webkit-playsinline",""),e.setAttribute("x5-playsinline",""))}},{key:"removeListeners",value:function(e,t){e.removeEventListener("canplay",this.onReady),e.removeEventListener("play",this.onPlay),e.removeEventListener("waiting",this.onBuffer),e.removeEventListener("playing",this.onBufferEnd),e.removeEventListener("pause",this.onPause),e.removeEventListener("seeked",this.onSeek),e.removeEventListener("ended",this.onEnded),e.removeEventListener("error",this.onError),e.removeEventListener("enterpictureinpicture",this.onEnablePIP),e.removeEventListener("leavepictureinpicture",this.onDisablePIP),e.removeEventListener("webkitpresentationmodechanged",this.onPresentationModeChange),this.shouldUseHLS(t)||e.removeEventListener("canplay",this.onReady)}},{key:"shouldUseAudio",value:function(e){return!e.config.forceVideo&&!e.config.attributes.poster&&(a.AUDIO_EXTENSIONS.test(e.url)||e.config.forceAudio)}},{key:"shouldUseHLS",value:function(e){return!!this.props.config.forceHLS||!b&&(a.HLS_EXTENSIONS.test(e)||x.test(e))}},{key:"shouldUseDASH",value:function(e){return a.DASH_EXTENSIONS.test(e)||this.props.config.forceDASH}},{key:"shouldUseFLV",value:function(e){return a.FLV_EXTENSIONS.test(e)||this.props.config.forceFLV}},{key:"load",value:function(e){var t=this,n=this.props.config,r=n.hlsVersion,i=n.hlsOptions,a=n.dashVersion,s=n.flvVersion;if(this.hls&&this.hls.destroy(),this.dash&&this.dash.reset(),this.shouldUseHLS(e)&&(0,o.getSDK)("https://cdn.jsdelivr.net/npm/hls.js@VERSION/dist/hls.min.js".replace("VERSION",r),"Hls").then((function(n){if(t.hls=new n(i),t.hls.on(n.Events.MANIFEST_PARSED,(function(){t.props.onReady()})),t.hls.on(n.Events.ERROR,(function(e,r){t.props.onError(e,r,t.hls,n)})),x.test(e)){var r=e.match(x)[1];t.hls.loadSource("https://videodelivery.net/{id}/manifest/video.m3u8".replace("{id}",r))}else t.hls.loadSource(e);t.hls.attachMedia(t.player),t.props.onLoaded()})),this.shouldUseDASH(e)&&(0,o.getSDK)("https://cdnjs.cloudflare.com/ajax/libs/dashjs/VERSION/dash.all.min.js".replace("VERSION",a),"dashjs").then((function(n){t.dash=n.MediaPlayer().create(),t.dash.initialize(t.player,e,t.props.playing),t.dash.on("error",t.props.onError),parseInt(a)<3?t.dash.getDebug().setLogToBrowserConsole(!1):t.dash.updateSettings({debug:{logLevel:n.Debug.LOG_LEVEL_NONE}}),t.props.onLoaded()})),this.shouldUseFLV(e)&&(0,o.getSDK)("https://cdn.jsdelivr.net/npm/flv.js@VERSION/dist/flv.min.js".replace("VERSION",s),"flvjs").then((function(n){t.flv=n.createPlayer({type:"flv",url:e}),t.flv.attachMediaElement(t.player),t.flv.load(),t.props.onLoaded()})),e instanceof Array)this.player.load();else if((0,o.isMediaStream)(e))try{this.player.srcObject=e}catch(c){this.player.src=window.URL.createObjectURL(e)}}},{key:"play",value:function(){var e=this.player.play();e&&e.catch(this.props.onError)}},{key:"pause",value:function(){this.player.pause()}},{key:"stop",value:function(){this.player.removeAttribute("src"),this.dash&&this.dash.reset()}},{key:"seekTo",value:function(e){this.player.currentTime=e}},{key:"setVolume",value:function(e){this.player.volume=e}},{key:"enablePIP",value:function(){this.player.requestPictureInPicture&&document.pictureInPictureElement!==this.player?this.player.requestPictureInPicture():(0,o.supportsWebKitPresentationMode)(this.player)&&"picture-in-picture"!==this.player.webkitPresentationMode&&this.player.webkitSetPresentationMode("picture-in-picture")}},{key:"disablePIP",value:function(){document.exitPictureInPicture&&document.pictureInPictureElement===this.player?document.exitPictureInPicture():(0,o.supportsWebKitPresentationMode)(this.player)&&"inline"!==this.player.webkitPresentationMode&&this.player.webkitSetPresentationMode("inline")}},{key:"setPlaybackRate",value:function(e){this.player.playbackRate=e}},{key:"getDuration",value:function(){if(!this.player)return null;var e=this.player,t=e.duration,n=e.seekable;return t===1/0&&n.length>0?n.end(n.length-1):t}},{key:"getCurrentTime",value:function(){return this.player?this.player.currentTime:null}},{key:"getSecondsLoaded",value:function(){if(!this.player)return null;var e=this.player.buffered;if(0===e.length)return 0;var t=e.end(e.length-1),n=this.getDuration();return t>n?n:t}},{key:"getSource",value:function(e){var t=this.shouldUseHLS(e),n=this.shouldUseDASH(e),r=this.shouldUseFLV(e);if(!(e instanceof Array||(0,o.isMediaStream)(e)||t||n||r))return _.test(e)?e.replace("www.dropbox.com","dl.dropboxusercontent.com"):e}},{key:"render",value:function(){var e=this.props,t=e.url,n=e.playing,r=e.loop,o=e.controls,a=e.muted,s=e.config,l=e.width,u=e.height,d=this.shouldUseAudio(this.props)?"audio":"video",f={width:"auto"===l?l:"100%",height:"auto"===u?u:"100%"};return i.default.createElement(d,c({ref:this.ref,src:this.getSource(t),style:f,preload:"auto",autoPlay:n||void 0,controls:o,muted:a,loop:r},s.attributes),t instanceof Array&&t.map(this.renderSourceElement),s.tracks.map(this.renderTrack))}}])&&u(t.prototype,n),r&&u(t,r),h}(i.Component);t.default=w,g(w,"displayName","FilePlayer"),g(w,"canPlay",a.canPlay.file)},73911:function(e,t,n){"use strict";function r(e){return r="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},r(e)}
1Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!==typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(67294)),o=n(38045),a=n(71776);function s(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=p(e);if(t){var i=p(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return f(this,n)}}function f(e,t){return!t||"object"!==r(t)&&"function"!==typeof t?h(e):t}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var g=function(e){!function(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}}),t&&u(e,t)}(s,e);var t,n,r,a=d(s);function s(){var e;c(this,s);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return m(h(e=a.call.apply(a,[this].concat(n))),"callPlayer",o.callPlayer),m(h(e),"duration",null),m(h(e),"currentTime",null),m(h(e),"secondsLoaded",null),m(h(e),"mute",(function(){e.callPlayer("mute")})),m(h(e),"unmute",(function(){e.callPlayer("unmute")})),m(h(e),"ref",(function(t){e.iframe=t})),e}return t=s,(n=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(e){var t=this;(0,o.getSDK)("https://cdn.embed.ly/player-0.1.0.min.js","playerjs").then((function(e){t.iframe&&(t.player=new e.Player(t.iframe),t.player.on("ready",(function(){t.player.isReady=!0,t.player.on("play",t.props.onPlay),t.player.on("pause",t.props.onPause),t.player.on("seeked",t.props.onSeek),t.player.on("ended",t.props.onEnded),t.player.on("error",t.props.onError),t.player.on("timeupdate",(function(e){var n=e.duration,r=e.seconds;t.duration=n,t.currentTime=r})),t.player.on("buffered",(function(e){var n=e.percent;t.duration&&(t.secondsLoaded=t.duration*n)})),t.player.setLoop(t.props.loop),t.props.muted&&t.player.mute(),setTimeout((function(){t.props.onReady()}))})))}),this.props.onError)}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){}},{key:"seekTo",value:function(e){this.callPlayer("setCurrentTime",e)}},{key:"setVolume",value:function(e){this.callPlayer("setVolume",e)}},{key:"setLoop",value:function(e){this.callPlayer("setLoop",e)}},{key:"getDuration",value:function(){return this.duration}},{key:"getCurrentTime",value:function(){return this.currentTime}},{key:"getSecondsLoaded",value:function(){return this.secondsLoaded}},{key:"render",value:function(){return i.default.createElement("iframe",{ref:this.ref,src:this.props.url,frameBorder:"0",scrolling:"no",style:{width:"100%",height:"100%"},allowFullScreen:!0,allow:"encrypted-media",referrerPolicy:"no-referrer-when-downgrade"})}}])&&l(t.prototype,n),r&&l(t,r),s}(i.Component);t.default=g,m(g,"displayName","Kaltura"),m(g,"canPlay",a.canPlay.kaltura)},50143:function(e,t,n){"use strict";function r(e){return r="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},r(e)}
1Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!==typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(67294)),o=n(38045),a=n(71776);function s(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}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 l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){y(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t){return f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},f(e,t)}function h(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g(e);if(t){var i=g(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return p(this,n)}}function p(e,t){return!t||"object"!==r(t)&&"function"!==typeof t?m(e):t}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v=function(e){!function(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}}),t&&f(e,t)}(c,e);var t,n,r,s=h(c);function c(){var e;u(this,c);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return y(m(e=s.call.apply(s,[this].concat(n))),"callPlayer",o.callPlayer),y(m(e),"duration",null),y(m(e),"currentTime",null),y(m(e),"secondsLoaded",null),y(m(e),"mute",(function(){})),y(m(e),"unmute",(function(){})),y(m(e),"ref",(function(t){e.iframe=t})),e}return t=c,n=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(e){var t=this;(0,o.getSDK)("https://widget.mixcloud.com/media/js/widgetApi.js","Mixcloud").then((function(e){t.player=e.PlayerWidget(t.iframe),t.player.ready.then((function(){t.player.events.play.on(t.props.onPlay),t.player.events.pause.on(t.props.onPause),t.player.events.ended.on(t.props.onEnded),t.player.events.error.on(t.props.error),t.player.events.progress.on((function(e,n){t.currentTime=e,t.duration=n})),t.props.onReady()}))}),this.props.onError)}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){}},{key:"seekTo",value:function(e){this.callPlayer("seek",e)}},{key:"setVolume",value:function(e){}},{key:"getDuration",value:function(){return this.duration}},{key:"getCurrentTime",value:function(){return this.currentTime}},{key:"getSecondsLoaded",value:function(){return null}},{key:"render",value:function(){var e=this.props,t=e.url,n=e.config,r=t.match(a.MATCH_URL_MIXCLOUD)[1],s=(0,o.queryString)(l(l({},n.options),{},{feed:"/".concat(r,"/")}));return i.default.createElement("iframe",{key:r,ref:this.ref,style:{width:"100%",height:"100%"},src:"https://www.mixcloud.com/widget/iframe/?".concat(s),frameBorder:"0"})}}],n&&d(t.prototype,n),r&&d(t,r),c}(i.Component);t.default=v,y(v,"displayName","Mixcloud"),y(v,"canPlay",a.canPlay.mixcloud),y(v,"loopOnEnded",!0)},72648:function(e,t,n){"use strict";function r(e){return r="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},r(e)}
1Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!==typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(67294)),o=n(38045),a=n(71776);function s(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}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 l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){y(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t){return f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},f(e,t)}function h(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g(e);if(t){var i=g(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return p(this,n)}}function p(e,t){return!t||"object"!==r(t)&&"function"!==typeof t?m(e):t}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v=function(e){!function(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}}),t&&f(e,t)}(s,e);var t,n,r,a=h(s);function s(){var e;u(this,s);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return y(m(e=a.call.apply(a,[this].concat(n))),"callPlayer",o.callPlayer),y(m(e),"duration",null),y(m(e),"currentTime",null),y(m(e),"fractionLoaded",null),y(m(e),"mute",(function(){e.setVolume(0)})),y(m(e),"unmute",(function(){null!==e.props.volume&&e.setVolume(e.props.volume)})),y(m(e),"ref",(function(t){e.iframe=t})),e}return t=s,(n=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(e,t){var n=this;(0,o.getSDK)("https://w.soundcloud.com/player/api.js","SC").then((function(r){if(n.iframe){var i=r.Widget.Events,o=i.PLAY,a=i.PLAY_PROGRESS,s=i.PAUSE,c=i.FINISH,u=i.ERROR;t||(n.player=r.Widget(n.iframe),n.player.bind(o,n.props.onPlay),n.player.bind(s,(function(){n.duration-n.currentTime<.05||n.props.onPause()})),n.player.bind(a,(function(e){n.currentTime=e.currentPosition/1e3,n.fractionLoaded=e.loadedProgress})),n.player.bind(c,(function(){return n.props.onEnded()})),n.player.bind(u,(function(e){return n.props.onError(e)}))),n.player.load(e,l(l({},n.props.config.options),{},{callback:function(){n.player.getDuration((function(e){n.duration=e/1e3,n.props.onReady()}))}}))}}))}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){}},{key:"seekTo",value:function(e){this.callPlayer("seekTo",1e3*e)}},{key:"setVolume",value:function(e){this.callPlayer("setVolume",100*e)}},{key:"getDuration",value:function(){return this.duration}},{key:"getCurrentTime",value:function(){return this.currentTime}},{key:"getSecondsLoaded",value:function(){return this.fractionLoaded*this.duration}}
1,{key:"render",value:function(){var e={width:"100%",height:"100%",display:this.props.display};return i.default.createElement("iframe",{ref:this.ref,src:"https://w.soundcloud.com/player/?url=".concat(encodeURIComponent(this.props.url)),style:e,frameBorder:0,allow:"autoplay"})}}])&&d(t.prototype,n),r&&d(t,r),s}(i.Component);t.default=v,y(v,"displayName","SoundCloud"),y(v,"canPlay",a.canPlay.soundcloud),y(v,"loopOnEnded",!0)},50993:function(e,t,n){"use strict";function r(e){return r="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},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!==typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(67294)),o=n(38045),a=n(71776);function s(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=p(e);if(t){var i=p(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return f(this,n)}}function f(e,t){return!t||"object"!==r(t)&&"function"!==typeof t?h(e):t}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var g=function(e){!function(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}}),t&&u(e,t)}(f,e);var t,n,r,s=d(f);function f(){var e;c(this,f);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return m(h(e=s.call.apply(s,[this].concat(n))),"callPlayer",o.callPlayer),m(h(e),"duration",null),m(h(e),"currentTime",null),m(h(e),"secondsLoaded",null),m(h(e),"mute",(function(){e.callPlayer("mute")})),m(h(e),"unmute",(function(){e.callPlayer("unmute")})),m(h(e),"ref",(function(t){e.iframe=t})),e}return t=f,(n=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(e){var t=this;(0,o.getSDK)("https://cdn.embed.ly/player-0.1.0.min.js","playerjs").then((function(e){t.iframe&&(t.player=new e.Player(t.iframe),t.player.setLoop(t.props.loop),t.player.on("ready",t.props.onReady),t.player.on("play",t.props.onPlay),t.player.on("pause",t.props.onPause),t.player.on("seeked",t.props.onSeek),t.player.on("ended",t.props.onEnded),t.player.on("error",t.props.onError),t.player.on("timeupdate",(function(e){var n=e.duration,r=e.seconds;t.duration=n,t.currentTime=r})),t.player.on("buffered",(function(e){var n=e.percent;t.duration&&(t.secondsLoaded=t.duration*n)})),t.props.muted&&t.player.mute())}),this.props.onError)}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){}},{key:"seekTo",value:function(e){this.callPlayer("setCurrentTime",e)}
1},{key:"setVolume",value:function(e){this.callPlayer("setVolume",100*e)}},{key:"setLoop",value:function(e){this.callPlayer("setLoop",e)}},{key:"getDuration",value:function(){return this.duration}},{key:"getCurrentTime",value:function(){return this.currentTime}},{key:"getSecondsLoaded",value:function(){return this.secondsLoaded}},{key:"render",value:function(){var e=this.props.url.match(a.MATCH_URL_STREAMABLE)[1];return i.default.createElement("iframe",{ref:this.ref,src:"https://streamable.com/o/".concat(e),frameBorder:"0",scrolling:"no",style:{width:"100%",height:"100%"},allowFullScreen:!0})}}])&&l(t.prototype,n),r&&l(t,r),f}(i.Component);t.default=g,m(g,"displayName","Streamable"),m(g,"canPlay",a.canPlay.streamable)},29482:function(e,t,n){"use strict";function r(e){return r="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},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!==typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(67294)),o=n(38045),a=n(71776);function s(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}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 l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function f(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=m(e);if(t){var i=m(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return h(this,n)}}function h(e,t){return!t||"object"!==r(t)&&"function"!==typeof t?p(e):t}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var y="twitch-player-",v=function(e){!function(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}}),t&&d(e,t)}(h,e);var t,n,r,s=f(h);function h(){var e;l(this,h);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return g(p(e=s.call.apply(s,[this].concat(n))),"callPlayer",o.callPlayer),g(p(e),"playerID",e.props.config.playerId||"".concat(y).concat((0,o.randomString)())),g(p(e),"mute",(function(){e.callPlayer("setMuted",!0)})),g(p(e),"unmute",(function(){e.callPlayer("setMuted",!1)})),e}return t=h,n=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(e,t){var n=this,r=this.props,i=r.playsinline,s=r.onError,l=r.config,u=r.controls,d=a.MATCH_URL_TWITCH_CHANNEL.test(e),f=d?e.match(a.MATCH_URL_TWITCH_CHANNEL)[1]:e.match(a.MATCH_URL_TWITCH_VIDEO)[1];t?d?this.player.setChannel(f):this.player.setVideo("v"+f):(0,o.getSDK)("https://player.twitch.tv/js/embed/v1.js","Twitch").then((function(t){n.player=new t.Player(n.playerID,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?c(Object(n),!0).forEach((function(t){g(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({video:d?"":f,channel:d?f:"",height:"100%",width:"100%",playsinline:i,autoplay:n.props.playing,muted:n.props.muted,controls:!!d||u,time:(0,o.parseStartTime)(e)},l.options));var r=t.Player,a=r.READY,s=r.PLAYING,h=r.PAUSE,p=r.ENDED,m=r.ONLINE,y=r.OFFLINE;n.player.addEventListener(a,n.props.onReady),n.player.addEventListener(s,n.props.onPlay),n.player.addEventListener(h,n.props.onPause),n.player.addEventListener(p,n.props.onEnded),n.player.addEventListener(m,n.props.onLoaded),n.player.addEventListener(y,n.props.onLoaded)}),s)}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){this.callPlayer("pause")}},{key:"seekTo",value:function(e){this.callPlayer("seek",e)}},{key:"setVolume",value:function(e){this.callPlayer("setVolume",e)}},{key:"getDuration",value:function(){return this.callPlayer("getDuration")}},{key:"getCurrentTime",value:function(){return this.callPlayer("getCurrentTime")}},{key:"getSecondsLoaded",value:function(){return null}},{key:"render",value:function(){return i.default.createElement("div",{style:{width:"100%",height:"100%"},id:this.playerID})}}],n&&u(t.prototype,n),r&&u(t,r),h}(i.Component);t.default=v,g(v,"displayName","Twitch"),g(v,"canPlay",a.canPlay.twitch),g(v,"loopOnEnded",!0)},36596:function(e,t,n){"use strict";function r(e){return r="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},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!==typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(67294)),o=n(38045),a=n(71776);function s(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}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 l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function f(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=m(e);if(t){var i=m(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return h(this,n)}}function h(e,t){return!t||"object"!==r(t)&&"function"!==typeof t?p(e):t}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var y=function(e){!function(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}}),t&&d(e,t)}(h,e);var t,n,r,s=f(h);function h(){var e;l(this,h);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return g(p(e=s.call.apply(s,[this].concat(n))),"callPlayer",o.callPlayer),g(p(e),"mute",(function(){e.setVolume(0)})),g(p(e),"unmute",(function(){null!==e.props.volume&&e.setVolume(e.props.volume)})),g(p(e),"ref",(function(t){e.container=t})),e}return t=h,n=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(e){var t=this,n=this.props,r=n.playing,i=n.
1config,s=n.onError,l=n.onDuration,u=e&&e.match(a.MATCH_URL_VIDYARD)[1];this.player&&this.stop(),(0,o.getSDK)("https://play.vidyard.com/embed/v4.js","VidyardV4","onVidyardAPI").then((function(e){t.container&&(e.api.addReadyListener((function(e,n){t.player=n,t.player.on("ready",t.props.onReady),t.player.on("play",t.props.onPlay),t.player.on("pause",t.props.onPause),t.player.on("seek",t.props.onSeek),t.player.on("playerComplete",t.props.onEnded)}),u),e.api.renderPlayer(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){g(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({uuid:u,container:t.container,autoplay:r?1:0},i.options)),e.api.getPlayerMetadata(u).then((function(e){t.duration=e.length_in_seconds,l(e.length_in_seconds)})))}),s)}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){window.VidyardV4.api.destroyPlayer(this.player)}},{key:"seekTo",value:function(e){this.callPlayer("seek",e)}},{key:"setVolume",value:function(e){this.callPlayer("setVolume",e)}},{key:"setPlaybackRate",value:function(e){this.callPlayer("setPlaybackSpeed",e)}},{key:"getDuration",value:function(){return this.duration}},{key:"getCurrentTime",value:function(){return this.callPlayer("currentTime")}},{key:"getSecondsLoaded",value:function(){return null}},{key:"render",value:function(){var e={width:"100%",height:"100%",display:this.props.display};return i.default.createElement("div",{style:e},i.default.createElement("div",{ref:this.ref}))}}],n&&u(t.prototype,n),r&&u(t,r),h}(i.Component);t.default=y,g(y,"displayName","Vidyard"),g(y,"canPlay",a.canPlay.vidyard)},80868:function(e,t,n){"use strict";function r(e){return r="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},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!==typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(67294)),o=n(38045),a=n(71776);function s(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}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 l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function f(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=m(e);if(t){var i=m(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return h(this,n)}}function h(e,t){return!t||"object"!==r(t)&&"function"!==typeof t?p(e):t}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var y=function(e){!function(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}}),t&&d(e,t)}(s,e);var t,n,r,a=f(s);function s(){var e;l(this,s);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return g(p(e=a.call.apply(a,[this].concat(n))),"callPlayer",o.callPlayer),g(p(e),"duration",null),g(p(e),"currentTime",null),g(p(e),"secondsLoaded",null),g(p(e),"mute",(function(){e.setVolume(0)})),g(p(e),"unmute",(function(){null!==e.props.volume&&e.setVolume(e.props.volume)})),g(p(e),"ref",(function(t){e.container=t})),e}return t=s,n=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(e){var t=this;this.duration=null,(0,o.getSDK)("https://player.vimeo.com/api/player.js","Vimeo").then((function(n){t.container&&(t.player=new n.Player(t.container,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?c(Object(n),!0).forEach((function(t){g(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({url:e,autoplay:t.props.playing,muted:t.props.muted,loop:t.props.loop,playsinline:t.props.playsinline,controls:t.props.controls},t.props.config.playerOptions)),t.player.ready().then((function(){var e=t.container.querySelector("iframe");e.style.width="100%",e.style.height="100%"})).catch(t.props.onError),t.player.on("loaded",(function(){t.props.onReady(),t.refreshDuration()})),t.player.on("play",(function(){t.props.onPlay(),t.refreshDuration()})),t.player.on("pause",t.props.onPause),t.player.on("seeked",(function(e){return t.props.onSeek(e.seconds)})),t.player.on("ended",t.props.onEnded),t.player.on("error",t.props.onError),t.player.on("timeupdate",(function(e){var n=e.seconds;t.currentTime=n})),t.player.on("progress",(function(e){var n=e.seconds;t.secondsLoaded=n})),t.player.on("bufferstart",t.props.onBuffer),t.player.on("bufferend",t.props.onBufferEnd))}),this.props.onError)}},{key:"refreshDuration",value:function(){var e=this;this.player.getDuration().then((function(t){e.duration=t}))}},{key:"play",value:function(){var e=this.callPlayer("play");e&&e.catch(this.props.onError)}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){this.callPlayer("unload")}},{key:"seekTo",value:function(e){this.callPlayer("setCurrentTime",e)}},{key:"setVolume",value:function(e){this.callPlayer("setVolume",e)}},{key:"setLoop",value:function(e){this.callPlayer("setLoop",e)}},{key:"setPlaybackRate",value:function(e){this.callPlayer("setPlaybackRate",e)}},{key:"getDuration",value:function(){return this.duration}},{key:"getCurrentTime",value:function(){return this.currentTime}},{key:"getSecondsLoaded",value:function(){return this.secondsLoaded}},{key:"render",value:function(){var e={width:"100%",height:"100%",overflow:"hidden",display:this.props.display};return i.default.createElement("div",{key:this.props.url,ref:this.ref,style:e})}}],n&&u(t.prototype,n),r&&u(t,r),s}(i.Component);t.default=y,g(y,"displayName","Vimeo"),g(y,"canPlay",a.canPlay.vimeo),g(y,"forceLoad",!0)},8018:function(e,t,n){"use strict";function r(e){return r="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},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!==typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(67294)),o=n(38045),a=n(71776);function s(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}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 l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){y(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t){return f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},f(e,t)}function h(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g(e);
1if(t){var i=g(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return p(this,n)}}function p(e,t){return!t||"object"!==r(t)&&"function"!==typeof t?m(e):t}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v="wistia-player-",b=function(e){!function(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}}),t&&f(e,t)}(c,e);var t,n,r,s=h(c);function c(){var e;u(this,c);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return y(m(e=s.call.apply(s,[this].concat(n))),"callPlayer",o.callPlayer),y(m(e),"playerID",e.props.config.playerId||"".concat(v).concat((0,o.randomString)())),y(m(e),"onPlay",(function(){var t;return(t=e.props).onPlay.apply(t,arguments)})),y(m(e),"onPause",(function(){var t;return(t=e.props).onPause.apply(t,arguments)})),y(m(e),"onSeek",(function(){var t;return(t=e.props).onSeek.apply(t,arguments)})),y(m(e),"onEnded",(function(){var t;return(t=e.props).onEnded.apply(t,arguments)})),y(m(e),"mute",(function(){e.callPlayer("mute")})),y(m(e),"unmute",(function(){e.callPlayer("unmute")})),e}return t=c,n=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(e){var t=this,n=this.props,r=n.playing,i=n.muted,a=n.controls,s=n.onReady,c=n.config,u=n.onError;(0,o.getSDK)("https://fast.wistia.com/assets/external/E-v1.js","Wistia").then((function(e){c.customControls&&c.customControls.forEach((function(t){return e.defineControl(t)})),window._wq=window._wq||[],window._wq.push({id:t.playerID,options:l({autoPlay:r,silentAutoPlay:"allow",muted:i,controlsVisibleOnLoad:a,fullscreenButton:a,playbar:a,playbackRateControl:a,qualityControl:a,volumeControl:a,settingsControl:a,smallPlayButton:a},c.options),onReady:function(e){t.player=e,t.unbind(),t.player.bind("play",t.onPlay),t.player.bind("pause",t.onPause),t.player.bind("seek",t.onSeek),t.player.bind("end",t.onEnded),s()}})}),u)}},{key:"unbind",value:function(){this.player.unbind("play",this.onPlay),this.player.unbind("pause",this.onPause),this.player.unbind("seek",this.onSeek),this.player.unbind("end",this.onEnded)}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){this.unbind(),this.callPlayer("remove")}},{key:"seekTo",value:function(e){this.callPlayer("time",e)}},{key:"setVolume",value:function(e){this.callPlayer("volume",e)}},{key:"setPlaybackRate",value:function(e){this.callPlayer("playbackRate",e)}},{key:"getDuration",value:function(){return this.callPlayer("duration")}},{key:"getCurrentTime",value:function(){return this.callPlayer("time")}},{key:"getSecondsLoaded",value:function(){return null}},{key:"render",value:function(){var e=this.props.url,t=e&&e.match(a.MATCH_URL_WISTIA)[1],n="wistia_embed wistia_async_".concat(t);return i.default.createElement("div",{id:this.playerID,key:t,className:n,style:{width:"100%",height:"100%"}})}}],n&&d(t.prototype,n),r&&d(t,r),c}(i.Component);t.default=b,y(b,"displayName","Wistia"),y(b,"canPlay",a.canPlay.wistia),y(b,"loopOnEnded",!0)},60356:function(e,t,n){"use strict";function r(e){return r="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},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!==typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(67294)),o=n(38045),a=n(71776);function s(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}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 l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?c(Object(n),!0).forEach((function(t){b(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(c){i=!0,o=c}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return d(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t){return p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},p(e,t)}function m(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=v(e);if(t){var i=v(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return g(this,n)}}function g(e,t){return!t||"object"!==r(t)&&"function"!==typeof t?y(e):t}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(e){return v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},v(e)}function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _="YT",x=/[?&](?:list|channel)=([a-zA-Z0-9_-]+)/,w=/user\/([a-zA-Z0-9_-]+)\/?/,S=/youtube-nocookie\.com/,E=function(e){!function(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}}),t&&p(e,t)}(c,e);var t,n,r,s=m(c);function c(){var e;f(this,c);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return b(y(e=s.call.apply(s,[this].concat(n))),"callPlayer",o.callPlayer),b(y(e),"parsePlaylist",(function(t){return t instanceof Array?{listType:"playlist",playlist:t.map(e.getID).join(",")}:x.test(t)?{listType:"playlist",list:u(t.match(x),2)[1].replace(/^UC/,"UU")}:w.test(t)?{listType:"user_uploads",list:u(t.match(w),2)[1]}:{}})),b(y(e),"onStateChange",(function(t){var n=t.data,r=e.props,i=r.onPlay,o=r.onPause,a=r.onBuffer,s=r.onBufferEnd,c=r.onEnded,l=r.onReady,u=r.loop,d=r.config,f=d.playerVars,h=d.onUnstarted,p=window.YT.PlayerState,m=p.UNSTARTED,g=p.PLAYING,y=p.PAUSED,v=p.BUFFERING,b=p.ENDED,_=p.CUED;if(n===m&&h(),n===g&&(i(),s()),n===y&&o(),n===v&&a(),n===b){var x=!!e.callPlayer("getPlaylist");u&&!x&&(f.start?e.seekTo(f.start):e.play()),c()}n===_&&l()})),b(y(e),"mute",(function(){e.callPlayer("mute")})),b(y(e),"unmute",(function(){e.callPlayer("unMute")})),b(y(e),"ref",(function(t){e.container=t})),e}return t=c,(n=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"getID",value:function(e){return!e||e instanceof Array||x.test(e)?null:e.match(a.MATCH_URL_YOUTUBE)[1]}},{key:"load",value:function(e,t){var n=this,r=this.props,i=r.playing,a=r.muted,s=r.playsinline,c=r.controls,u=r.loop,d=r.config,f=r.onError,h=d.playerVars,p=d.embedOptions,m=this.getID(e);if(t)return x.test(e)||w.test(e)||e instanceof Array?void this.player.loadPlaylist(this.parsePlaylist(e)):void this.player.cueVideoById({videoId:m,startSeconds:(0,o.parseStartTime)(e)||h.start,endSeconds:(0,o.parseEndTime)(e)||h.end});(0,o.getSDK)("https://www.youtube.com/iframe_api",_,"onYouTubeIframeAPIReady",(function(e){return e.loaded})).then((function(t){n.container&&(n.player=new t.Player(n.container,l({width:"100%",height:"100%",videoId:m,playerVars:l(l({autoplay:i?1:0,mute:a?1:0,controls:c?1:0,start:(0,o.parseStartTime)(e),end:(0,o.parseEndTime)(e),origin:window.location.origin,playsinline:s?1:0},n.parsePlaylist(e)),h),events:{onReady:function(){u&&n.player.setLoop(!0),n.props.onReady()},onStateChange:n.onStateChange,onError:function(e){return f(e.data)}},host:S.test(e)?"https://www.youtube-nocookie.com":void 0},p)))}),f),p.events&&console.warn("Using `embedOptions.events` will likely break things. Use ReactPlayer\u2019s callback props instead, eg onReady, onPlay, onPause")}},{key:"play",value:function(){this.callPlayer("playVideo")}},{key:"pause",value:function(){this.callPlayer("pauseVideo")}},{key:"stop",value:function(){document.body.contains(this.callPlayer("getIframe"))&&this.callPlayer("stopVideo")}},{key:"seekTo",value:function(e){this.callPlayer("seekTo",e),this.props.playing||this.pause()}},{key:"setVolume",value:function(e){this.callPlayer("setVolume",100*e)}},{key:"setPlaybackRate",value:function(e){this.callPlayer("setPlaybackRate",e)}},{key:"setLoop",value:function(e){this.callPlayer("setLoop",e)}},{key:"getDuration",value:function(){return this.callPlayer("getDuration")}},{key:"getCurrentTime",value:function(){return this.callPlayer("getCurrentTime")}},{key:"getSecondsLoaded",value:function(){return this.callPlayer("getVideoLoadedFraction")*this.getDuration()}}
1,{key:"render",value:function(){var e={width:"100%",height:"100%",display:this.props.display};return i.default.createElement("div",{style:e},i.default.createElement("div",{ref:this.ref}))}}])&&h(t.prototype,n),r&&h(t,r),c}(i.Component);t.default=E,b(E,"displayName","YouTube"),b(E,"canPlay",a.canPlay.youtube)},86497:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(67294),i=n(38045),o=n(71776);function a(e){return a="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},a(e)}function s(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function c(e){if(e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!==typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}var l=[{key:"youtube",name:"YouTube",canPlay:o.canPlay.youtube,lazyPlayer:(0,r.lazy)((function(){return Promise.resolve().then((function(){return c(n(60356))}))}))},{key:"soundcloud",name:"SoundCloud",canPlay:o.canPlay.soundcloud,lazyPlayer:(0,r.lazy)((function(){return Promise.resolve().then((function(){return c(n(72648))}))}))},{key:"vimeo",name:"Vimeo",canPlay:o.canPlay.vimeo,lazyPlayer:(0,r.lazy)((function(){return Promise.resolve().then((function(){return c(n(80868))}))}))},{key:"facebook",name:"Facebook",canPlay:o.canPlay.facebook,lazyPlayer:(0,r.lazy)((function(){return Promise.resolve().then((function(){return c(n(31972))}))}))},{key:"streamable",name:"Streamable",canPlay:o.canPlay.streamable,lazyPlayer:(0,r.lazy)((function(){return Promise.resolve().then((function(){return c(n(50993))}))}))},{key:"wistia",name:"Wistia",canPlay:o.canPlay.wistia,lazyPlayer:(0,r.lazy)((function(){return Promise.resolve().then((function(){return c(n(8018))}))}))},{key:"twitch",name:"Twitch",canPlay:o.canPlay.twitch,lazyPlayer:(0,r.lazy)((function(){return Promise.resolve().then((function(){return c(n(29482))}))}))},{key:"dailymotion",name:"DailyMotion",canPlay:o.canPlay.dailymotion,lazyPlayer:(0,r.lazy)((function(){return Promise.resolve().then((function(){return c(n(36807))}))}))},{key:"mixcloud",name:"Mixcloud",canPlay:o.canPlay.mixcloud,lazyPlayer:(0,r.lazy)((function(){return Promise.resolve().then((function(){return c(n(50143))}))}))},{key:"vidyard",name:"Vidyard",canPlay:o.canPlay.vidyard,lazyPlayer:(0,r.lazy)((function(){return Promise.resolve().then((function(){return c(n(36596))}))}))},{key:"kaltura",name:"Kaltura",canPlay:o.canPlay.kaltura,lazyPlayer:(0,r.lazy)((function(){return Promise.resolve().then((function(){return c(n(73911))}))}))},{key:"file",name:"FilePlayer",canPlay:o.canPlay.file,canEnablePIP:function(e){return o.canPlay.file(e)&&(document.pictureInPictureEnabled||(0,i.supportsWebKitPresentationMode)())&&!o.AUDIO_EXTENSIONS.test(e)},lazyPlayer:(0,r.lazy)((function(){return Promise.resolve().then((function(){return c(n(14926))}))}))}];t.default=l},85741:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultProps=t.propTypes=void 0;var r,i=(r=n(45697))&&r.__esModule?r:{default:r};var o=i.default.string,a=i.default.bool,s=i.default.number,c=i.default.array,l=i.default.oneOfType,u=i.default.shape,d=i.default.object,f=i.default.func,h=i.default.node,p={url:l([o,c,d]),playing:a,loop:a,controls:a,volume:s,muted:a,playbackRate:s,width:l([o,s]),height:l([o,s]),style:d,progressInterval:s,playsinline:a,pip:a,stopOnUnmount:a,light:l([a,o]),playIcon:h,previewTabIndex:s,fallback:h,wrapper:l([o,f,u({render:f.isRequired})]),config:u({soundcloud:u({options:d}),youtube:u({playerVars:d,embedOptions:d,onUnstarted:f}),facebook:u({appId:o,version:o,playerId:o,attributes:d}),dailymotion:u({params:d}),vimeo:u({playerOptions:d}),file:u({attributes:d,tracks:c,forceVideo:a,forceAudio:a,forceHLS:a,forceDASH:a,forceFLV:a,hlsOptions:d,hlsVersion:o,dashVersion:o,flvVersion:o}
1),wistia:u({options:d,playerId:o,customControls:c}),mixcloud:u({options:d}),twitch:u({options:d,playerId:o}),vidyard:u({options:d})}),onReady:f,onStart:f,onPlay:f,onPause:f,onBuffer:f,onBufferEnd:f,onEnded:f,onError:f,onDuration:f,onSeek:f,onProgress:f,onClickPreview:f,onEnablePIP:f,onDisablePIP:f};t.propTypes=p;var m=function(){},g={playing:!1,loop:!1,controls:!1,volume:null,muted:!1,playbackRate:1,width:"640px",height:"360px",style:{},progressInterval:1e3,playsinline:!1,pip:!1,stopOnUnmount:!0,light:!1,fallback:null,wrapper:"div",previewTabIndex:0,config:{soundcloud:{options:{visual:!0,buying:!1,liking:!1,download:!1,sharing:!1,show_comments:!1,show_playcount:!1}},youtube:{playerVars:{playsinline:1,showinfo:0,rel:0,iv_load_policy:3,modestbranding:1},embedOptions:{},onUnstarted:m},facebook:{appId:"1309697205772819",version:"v3.3",playerId:null,attributes:{}},dailymotion:{params:{api:1,"endscreen-enable":!1}},vimeo:{playerOptions:{autopause:!1,byline:!1,portrait:!1,title:!1}},file:{attributes:{},tracks:[],forceVideo:!1,forceAudio:!1,forceHLS:!1,forceDASH:!1,forceFLV:!1,hlsOptions:{},hlsVersion:"0.14.16",dashVersion:"3.1.3",flvVersion:"1.5.0"},wistia:{options:{},playerId:null,customControls:null},mixcloud:{options:{hide_cover:1}},twitch:{options:{},playerId:null},vidyard:{options:{}}},onReady:m,onStart:m,onPlay:m,onPause:m,onBuffer:m,onBufferEnd:m,onEnded:m,onError:m,onDuration:m,onSeek:m,onProgress:m,onClickPreview:m,onEnablePIP:m,onDisablePIP:m};t.defaultProps=g},38045:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseStartTime=function(e){return f(e,c)},t.parseEndTime=function(e){return f(e,l)},t.randomString=function(){return Math.random().toString(36).substr(2,5)},t.queryString=function(e){return Object.keys(e).map((function(t){return"".concat(t,"=").concat(e[t])})).join("&")},t.getSDK=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){return!0},o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:r.default,a=h(t);if(a&&i(a))return Promise.resolve(a);return new Promise((function(r,i){if(p[e])p[e].push({resolve:r,reject:i});else{p[e]=[{resolve:r,reject:i}];var a=function(t){p[e].forEach((function(e){return e.resolve(t)}))};if(n){var s=window[n];window[n]=function(){s&&s(),a(h(t))}}o(e,(function(r){r?(p[e].forEach((function(e){return e.reject(r)})),p[e]=null):n||a(h(t))}))}}))},t.getConfig=function(e,t){return(0,i.default)(t.config,e.config)},t.omit=function(e){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];for(var o=(t=[]).concat.apply(t,r),a={},s=Object.keys(e),c=0,l=s;c<l.length;c++){var u=l[c];-1===o.indexOf(u)&&(a[u]=e[u])}return a},t.callPlayer=function(e){var t;if(!this.player||!this.player[e]){var n="ReactPlayer: ".concat(this.constructor.displayName," player could not call %c").concat(e,"%c \u2013 ");return this.player?this.player[e]||(n+="The method was not available"):n+="The player was not available",console.warn(n,"font-weight: bold",""),null}for(var r=arguments.length,i=new Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];return(t=this.player)[e].apply(t,i)},t.isMediaStream=function(e){return"undefined"!==typeof window&&"undefined"!==typeof window.MediaStream&&e instanceof window.MediaStream},t.isBlobUrl=function(e){return/^blob:/.test(e)},t.supportsWebKitPresentationMode=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.createElement("video"),t=!1===/iPhone|iPod/.test(navigator.userAgent);return e.webkitSupportsPresentationMode&&"function"===typeof e.webkitSetPresentationMode&&t};var r=o(n(49090)),i=o(n(9996));function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(c){i=!0,o=c}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}
1(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var c=/[?&#](?:start|t)=([0-9hms]+)/,l=/[?&#]end=([0-9hms]+)/,u=/(\d+)(h|m|s)/g,d=/^\d+$/;function f(e,t){if(!(e instanceof Array)){var n=e.match(t);if(n){var r=n[1];if(r.match(u))return function(e){var t=0,n=u.exec(e);for(;null!==n;){var r=a(n,3),i=r[1],o=r[2];"h"===o&&(t+=60*parseInt(i,10)*60),"m"===o&&(t+=60*parseInt(i,10)),"s"===o&&(t+=parseInt(i,10)),n=u.exec(e)}return t}(r);if(d.test(r))return parseInt(r)}}}function h(e){return window[e]?window[e]:window.exports&&window.exports[e]?window.exports[e]:window.module&&window.module.exports&&window.module.exports[e]?window.module.exports[e]:null}var p={}},90896:function(e,t,n){"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{ZP:function(){return Yn}});var i=n(67294);var o=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<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(r){0}}else t.appendChild(document.createTextNode(e));this.ctr++}
vendor: 4,459 bytes, line 1
1,t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),a=Math.abs,s=String.fromCharCode,c=Object.assign;function l(e){return e.trim()}function u(e,t,n){return e.replace(t,n)}function d(e,t){return e.indexOf(t)}function f(e,t){return 0|e.charCodeAt(t)}function h(e,t,n){return e.slice(t,n)}function p(e){return e.length}function m(e){return e.length}function g(e,t){return t.push(e),e}var y=1,v=1,b=0,_=0,x=0,w="";function S(e,t,n,r,i,o,a){return{value:e,root:t,parent:n,type:r,props:i,children:o,line:y,column:v,length:a,return:""}}function E(e,t){return c(S("",null,null,"",null,null,0),e,{length:-e.length},t)}function O(){return x=_>0?f(w,--_):0,v--,10===x&&(v=1,y--),x}function k(){return x=_<b?f(w,_++):0,v++,10===x&&(v=1,y++),x}function T(){return f(w,_)}function P(){return _}function j(e,t){return h(w,e,t)}function D(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function C(e){return y=v=1,b=p(w=e),_=0,[]}function M(e){return w="",e}function R(e){return l(j(_-1,I(91===e?e+2:40===e?e+1:e)))}function N(e){for(;(x=T())&&x<33;)k();return D(e)>2||D(x)>3?"":" "}function A(e,t){for(;--t&&k()&&!(x<48||x>102||x>57&&x<65||x>70&&x<97););return j(e,P()+(t<6&&32==T()&&32==k()))}function I(e){for(;k();)switch(x){case e:return _;case 34:case 39:34!==e&&39!==e&&I(x);break;case 40:41===e&&I(e);break;case 92:k()}return _}function L(e,t){for(;k()&&e+x!==57&&(e+x!==84||47!==T()););return"/*"+j(t,_-1)+"*"+s(47===e?e:k())}function U(e){for(;!D(T());)k();return j(e,_)}var V="-ms-",B="-moz-",z="-webkit-",F="comm",H="rule",$="decl",Y="@keyframes";function W(e,t){for(var n="",r=m(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function G(e,t,n,r){switch(e.type){case"@import":case $:return e.return=e.return||e.value;case F:return"";case Y:return e.return=e.value+"{"+W(e.children,r)+"}";case H:e.value=e.props.join(",")}return p(n=W(e.children,r))?e.return=e.value+"{"+n+"}":""}function q(e,t){switch(function(e,t){return(((t<<2^f(e,0))<<2^f(e,1))<<2^f(e,2))<<2^f(e,3)}(e,t)){case 5103:return z+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return z+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return z+e+B+e+V+e+e;case 6828:case 4268:return z+e+V+e+e;case 6165:return z+e+V+"flex-"+e+e;case 5187:return z+e+u(e,/(\w+).+(:[^]+)/,"-webkit-box-$1$2-ms-flex-$1$2")+e;case 5443:return z+e+V+"flex-item-"+u(e,/flex-|-self/,"")+e;case 4675:return z+e+V+"flex-line-pack"+u(e,/align-content|flex-|-self/,"")+e;case 5548:return z+e+V+u(e,"shrink","negative")+e;case 5292:return z+e+V+u(e,"basis","preferred-size")+e;case 6060:return z+"box-"+u(e,"-grow","")+z+e+V+u(e,"grow","positive")+e;case 4554:return z+u(e,/([^-])(transform)/g,"$1-webkit-$2")+e;case 6187:return u(u(u(e,/(zoom-|grab)/,z+"$1"),/(image-set)/,z+"$1"),e,"")+e;case 5495:case 3959:return u(e,/(image-set\([^]*)/,z+"$1$`$1");case 4968:return u(u(e,/(.+:)(flex-)?(.*)/,"-webkit-box-pack:$3-ms-flex-pack:$3"),/s.+-b[^;]+/,"justify")+z+e+e;case 4095:case 3583:case 4068:case 2532:return u(e,/(.+)-inline(.+)/,z+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(p(e)-1-t>6)switch(f(e,t+1)){case 109:if(45!==f(e,t+4))break;case 102:return u(e,/(.+:)(.+)-([^]+)/,"$1-webkit-$2-$3$1"+B+(108==f(e,t+3)?"$3":"$2-$3"))+e;case 115:return~d(e,"stretch")?q(u(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==f(e,t+1))break;case 6444:switch(f(e,p(e)-3-(~d(e,"!important")&&10))){case 107:return u(e,":",":"+z)+e;case 101:return u(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+z+(45===f(e,14)?"inline-":"")+"box$3$1"+z+"$2$3$1"+V+"$2box$3")+e}break;case 5936:switch(f(e,t+11)){case 114:return z+e+V+u(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return z+e+V+u(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return z+e+V+u(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return z+e+V+e+e}return e}function K(e){return M(X("",null,null,null,[""],e=C(e),0,[0],e))}function X(e,t,n,r,i,o,a,c,l){for(var f=0,h=0,m=a,y=0,v=0,b=0,_=1,x=1,w=1,S=0,E="",j=i,D=o,C=r,M=E;x;
vendor: 5,152 bytes, line 1
1)switch(b=S,S=k()){case 40:if(108!=b&&58==M.charCodeAt(m-1)){-1!=d(M+=u(R(S),"&","&\f"),"&\f")&&(w=-1);break}case 34:case 39:case 91:M+=R(S);break;case 9:case 10:case 13:case 32:M+=N(b);break;case 92:M+=A(P()-1,7);continue;case 47:switch(T()){case 42:case 47:g(J(L(k(),P()),t,n),l);break;default:M+="/"}break;case 123*_:c[f++]=p(M)*w;case 125*_:case 59:case 0:switch(S){case 0:case 125:x=0;case 59+h:v>0&&p(M)-m&&g(v>32?Q(M+";",r,n,m-1):Q(u(M," ","")+";",r,n,m-2),l);break;case 59:M+=";";default:if(g(C=Z(M,t,n,f,h,i,c,E,j=[],D=[],m),o),123===S)if(0===h)X(M,t,C,C,j,o,m,c,D);else switch(y){case 100:case 109:case 115:X(e,C,C,r&&g(Z(e,C,C,0,0,i,c,E,i,j=[],m),D),i,D,m,c,r?j:D);break;default:X(M,C,C,C,[""],D,0,c,D)}}f=h=v=0,_=w=1,E=M="",m=a;break;case 58:m=1+p(M),v=b;default:if(_<1)if(123==S)--_;else if(125==S&&0==_++&&125==O())continue;switch(M+=s(S),S*_){case 38:w=h>0?1:(M+="\f",-1);break;case 44:c[f++]=(p(M)-1)*w,w=1;break;case 64:45===T()&&(M+=R(k())),y=T(),h=m=p(E=M+=U(P())),S++;break;case 45:45===b&&2==p(M)&&(_=0)}}return o}function Z(e,t,n,r,i,o,s,c,d,f,p){for(var g=i-1,y=0===i?o:[""],v=m(y),b=0,_=0,x=0;b<r;++b)for(var w=0,E=h(e,g+1,g=a(_=s[b])),O=e;w<v;++w)(O=l(_>0?y[w]+" "+E:u(E,/&\f/g,y[w])))&&(d[x++]=O);return S(e,t,n,0===i?H:c,d,f,p)}function J(e,t,n){return S(e,t,n,F,s(x),h(e,2,-2),0)}function Q(e,t,n,r){return S(e,t,n,$,h(e,0,r),h(e,r+1,-1),r)}var ee=function(e,t,n){for(var r=0,i=0;r=i,i=T(),38===r&&12===i&&(t[n]=1),!D(i);)k();return j(e,_)},te=function(e,t){return M(function(e,t){var n=-1,r=44;do{switch(D(r)){case 0:38===r&&12===T()&&(t[n]=1),e[n]+=ee(_-1,t,n);break;case 2:e[n]+=R(r);break;case 4:if(44===r){e[++n]=58===T()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=s(r)}}while(r=k());return e}(C(e),t))},ne=new WeakMap,re=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)||ne.get(n))&&!r){ne.set(e,!0);for(var i=[],o=te(t,i),a=n.props,s=0,c=0;s<o.length;s++)for(var l=0;l<a.length;l++,c++)e.props[c]=i[s]?o[s].replace(/&\f/g,a[l]):a[l]+" "+o[s]}}},ie=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},oe=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case $:e.return=q(e.value,e.length);break;case Y:return W([E(e,{value:u(e.value,"@","@"+z)})],r);case H:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return W([E(e,{props:[u(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return W([E(e,{props:[u(t,/:(plac\w+)/,":-webkit-input-$1")]}),E(e,{props:[u(t,/:(plac\w+)/,":-moz-$1")]}),E(e,{props:[u(t,/:(plac\w+)/,V+"input-$1")]})],r)}return""}))}}],ae=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 r=e.stylisPlugins||oe;var i,a,s={},c=[];i=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<t.length;n++)s[t[n]]=!0;c.push(e)}));var l,u,d=[G,(u=function(e){l.insert(e)},function(e){e.root||(e=e.return)&&u(e)})],f=function(e){var t=m(e);return function(n,r,i,o){for(var a="",s=0;s<t;s++)a+=e[s](n,r,i,o)||"";return a}}([re,ie].concat(r,d));a=function(e,t,n,r){l=n,W(K(e?e+"{"+t.styles+"}":t.styles),f),r&&(h.inserted[t.name]=!0)};var h={key:t,sheet:new o({key:t,container:i,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:a};return h.sheet.hydrate(c),h};function se(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var ce=function(e,t,n){var r=e.key+"-"+t.name;if(!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles),void 0===e.inserted[t.name]){var i=t;do{e.insert(t===i?"."+r:"",i,e.sheet,!0);i=i.next}while(void 0!==i)}};var le=function(e){for(var t,n=0,r=0,i=e.length;i>=4;++r,i-=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(i){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)},ue={animationIterationCount: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,msGr
1idRow: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};var de=/[A-Z]|^ms/g,fe=/_EMO_([^_]+?)_([^]*?)_EMO_/g,he=function(e){return 45===e.charCodeAt(1)},pe=function(e){return null!=e&&"boolean"!==typeof e},me=function(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}((function(e){return he(e)?e:e.replace(de,"-$&").toLowerCase()})),ge=function(e,t){switch(e){case"animation":case"animationName":if("string"===typeof t)return t.replace(fe,(function(e,t,n){return ve={name:t,styles:n,next:ve},t}))}return 1===ue[e]||he(e)||"number"!==typeof t||0===t?t:t+"px"};function ye(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return ve={name:n.name,styles:n.styles,next:ve},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)ve={name:r.name,styles:r.styles,next:ve},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=ye(e,t,n[i])+";";else for(var o in n){var a=n[o];if("object"!==typeof a)null!=t&&void 0!==t[a]?r+=o+"{"+t[a]+"}":pe(a)&&(r+=me(o)+":"+ge(o,a)+";");else if(!Array.isArray(a)||"string"!==typeof a[0]||null!=t&&void 0!==t[a[0]]){var s=ye(e,t,a);switch(o){case"animation":case"animationName":r+=me(o)+":"+s+";";break;default:r+=o+"{"+s+"}"}}else for(var c=0;c<a.length;c++)pe(a[c])&&(r+=me(o)+":"+ge(o,a[c])+";")}return r}(e,t,n);case"function":if(void 0!==e){var i=ve,o=n(e);return ve=i,ye(e,t,o)}}if(null==t)return n;var a=t[n];return void 0!==a?a:n}var ve,be=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var _e=function(e,t,n){if(1===e.length&&"object"===typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,i="";ve=void 0;var o=e[0];null==o||void 0===o.raw?(r=!1,i+=ye(n,t,o)):i+=o[0];for(var a=1;a<e.length;a++)i+=ye(n,t,e[a]),r&&(i+=o[a]);be.lastIndex=0;for(var s,c="";null!==(s=be.exec(i));)c+="-"+s[1];return{name:le(i)+c,styles:i,next:ve}},xe={}.hasOwnProperty,we=(0,i.createContext)("undefined"!==typeof HTMLElement?ae({key:"css"}):null);var Se=we.Provider,Ee=function(e){return(0,i.forwardRef)((function(t,n){var r=(0,i.useContext)(we);return e(t,r,n)}))},Oe=(0,i.createContext)({});var ke="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Te=function(e,t){var n={};for(var r in t)xe.call(t,r)&&(n[r]=t[r]);return n[ke]=e,n},Pe=function(){return null},je=Ee((function(e,t,n){var r=e.css;"string"===typeof r&&void 0!==t.registered[r]&&(r=t.registered[r]);var o=e[ke],a=[r],s="";"string"===typeof e.className?s=se(t.registered,a,e.className):null!=e.className&&(s=e.className+" ");var c=_e(a,void 0,(0,i.useContext)(Oe));ce(t,c,"string"===typeof o);s+=t.key+"-"+c.name;var l={};for(var u in e)xe.call(e,u)&&"css"!==u&&u!==ke&&(l[u]=e[u]);l.ref=n,l.className=s;var d=(0,i.createElement)(o,l),f=(0,i.createElement)(Pe,null);return(0,i.createElement)(i.Fragment,null,f,d)}));n(8679);var De=function(e,t){var n=arguments;if(null==t||!xe.call(t,"css"))return i.createElement.apply(void 0,n);var r=n.length,o=new Array(r);o[0]=je,o[1]=Te(e,t);for(var a=2;a<r;a++)o[a]=n[a];return i.createElement.apply(null,o)};function Ce(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return _e(t)}var Me=function e(t){for(var n=t.length,r=0,i="";r<n;r++){var o=t[r];if(null!=o){var a=void 0;switch(typeof o){case"boolean":break;case"object":if(Array.isArray(o))a=e(o);else for(var s in a="",o)o[s]&&s&&(a&&(a+=" "),a+=s);break;default:a=o}a&&(i&&(i+=" "),i+=a)}}return i};function Re(e,t,n){var r=[],i=se(e,r,n);return r.length<2?n:i+t(r)}var Ne=function(){return null},Ae=Ee((function(e,t){var n=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var i=_e(n,t.registered);return ce(t,i,!1),t.key+"-"+i.name},r={css:n,cx:function(){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];return Re(t.registered,n,Me(r))},theme:(0,i.useContext)(Oe)},o=e.children(r);var a=(0,i.createElement)(Ne,null);return(0,i.createElement)(i.Fragment,null,a,o)}));function Ie(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Le(e){return Le="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},Le(e)}function Ue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ve(e){var t=function(e,t){if("object"!==Le(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==Le(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===Le(t)?t:String(t)}function Be(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Ve(r.key),r)}}function ze(e,t,n){return t&&Be(e.prototype,t),n&&Be(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Fe(e,t){return Fe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Fe(e,t)}function He(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&&Fe(e,t)}function $e(e,t,n){return(t=Ve(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ye=n(73935);function We(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ge(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 qe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
vendor: 9,375 bytes, line 1
1t%2?Ge(Object(n),!0).forEach((function(t){We(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ge(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ke(e){return Ke=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Ke(e)}function Xe(e,t){return!t||"object"!==typeof t&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Ze(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=Ke(e);if(t){var i=Ke(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Xe(this,n)}}var Je=["className","clearValue","cx","getStyles","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Qe=function(){};function et(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function tt(e,t,n){var r=[n];if(t&&e)for(var i in t)t.hasOwnProperty(i)&&t[i]&&r.push("".concat(et(e,i)));return r.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(" ")}var nt=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===Le(e)&&null!==e?[e]:[];var t},rt=function(e){return e.className,e.clearValue,e.cx,e.getStyles,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme,qe({},Ie(e,Je))};function it(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function ot(e){return it(e)?window.pageYOffset:e.scrollTop}function at(e,t){it(e)?window.scrollTo(0,t):e.scrollTop=t}function st(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}function ct(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Qe,i=ot(e),o=t-i,a=10,s=0;function c(){var t=st(s+=a,i,o,n);at(e,t),s<n?window.requestAnimationFrame(c):r(e)}c()}function lt(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var ut=!1,dt={get passive(){return ut=!0}},ft="undefined"!==typeof window?window:{};ft.addEventListener&&ft.removeEventListener&&(ft.addEventListener("p",Qe,dt),ft.removeEventListener("p",Qe,!1));var ht=ut;function pt(e){return null!=e}function mt(e,t,n){return e?t:n}function gt(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,i=e.placement,o=e.shouldScroll,a=e.isFixedPosition,s=e.theme.spacing,c=function(e){var t=getComputedStyle(e),n="absolute"===t.position,r=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var i=e;i=i.parentElement;)if(t=getComputedStyle(i),(!n||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return i;return document.documentElement}(n),l={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return l;var u=c.getBoundingClientRect().height,d=n.getBoundingClientRect(),f=d.bottom,h=d.height,p=d.top,m=n.offsetParent.getBoundingClientRect().top,g=window.innerHeight,y=ot(c),v=parseInt(getComputedStyle(n).marginBottom,10),b=parseInt(getComputedStyle(n).marginTop,10),_=m-b,x=g-p,w=_+y,S=u-y-p,E=f-g+y+v,O=y+p-b,k=160;switch(i){case"auto":case"bottom":if(x>=h)return{placement:"bottom",maxHeight:t};if(S>=h&&!a)return o&&ct(c,E,k),{placement:"bottom",maxHeight:t};if(!a&&S>=r||a&&x>=r)return o&&ct(c,E,k),{placement:"bottom",maxHeight:a?x-v:S-v};if("auto"===i||a){var T=t,P=a?_:w;return P>=r&&(T=Math.min(P-v-s.controlHeight,t)),{placement:"top",maxHeight:T}}if("bottom"===i)return o&&at(c,E),{placement:"bottom",maxHeight:t};break;case"top":if(_>=h)return{placement:"top",maxHeight:t};if(w>=h&&!a)return o&&ct(c,O,k),{placement:"top",maxHeight:t};if(!a&&w>=r||a&&_>=r){var j=t;return(!a&&w>=r||a&&_>=r)&&(j=a?_-b:w-b),o&&ct(c,O,k),{placement:"top",maxHeight:j}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(i,'".'))}return l}var yt=function(e){return"auto"===e?"bottom":e},vt=(0,i.createContext)({getPortalPlacement:null}),bt=function(e){He(n,e);var t=Ze(n);function n(){var e;Ue(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return(e=t.call.apply(t,[this].concat(i))).state={maxHeight:e.props.maxMenuHeight,placement:null},e.context=void 0,e.getPlacement=function(t){var n=e.props,r=n.minMenuHeight,i=n.maxMenuHeight,o=n.menuPlacement,a=n.menuPosition,s=n.menuShouldScrollIntoView,c=n.theme;if(t){var l="fixed"===a,u=gt({maxHeight:i,menuEl:t,minHeight:r,placement:o,shouldScroll:s&&!l,isFixedPosition:l,theme:c}),d=e.context.getPortalPlacement;d&&d(u),e.setState(u)}},e.getUpdatedProps=function(){var t=e.props.menuPlacement,n=e.state.placement||yt(t);return qe(qe({},e.props),{},{placement:n,maxHeight:e.state.maxHeight})},e}return ze(n,[{key:"render",value:function(){return(0,this.props.children)({ref:this.getPlacement,placerProps:this.getUpdatedProps()})}}]),n}(i.Component);bt.contextType=vt;var _t=function(e){var t=e.theme,n=t.spacing.baseUnit;return{color:t.colors.neutral40,padding:"".concat(2*n,"px ").concat(3*n,"px"),textAlign:"center"}},xt=_t,wt=_t,St=function(e){var t=e.children,n=e.className,i=e.cx,o=e.getStyles,a=e.innerProps;return De("div",r({css:o("noOptionsMessage",e),className:i({"menu-notice":!0,"menu-notice--no-options":!0},n)},a),t)};St.defaultProps={children:"No options"};var Et=function(e){var t=e.children,n=e.className,i=e.cx,o=e.getStyles,a=e.innerProps;return De("div",r({css:o("loadingMessage",e),className:i({"menu-notice":!0,"menu-notice--loading":!0},n)},a),t)};Et.defaultProps={children:"Loading..."};var Ot,kt=function(e){He(n,e);var t=Ze(n);function n(){var e;Ue(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return(e=t.call.apply(t,[this].concat(i))).state={placement:null},e.getPortalPlacement=function(t){var n=t.placement;n!==yt(e.props.menuPlacement)&&e.setState({placement:n})},e}return ze(n,[{key:"render",value:function(){var e=this.props,t=e.appendTo,n=e.children,i=e.className,o=e.controlElement,a=e.cx,s=e.innerProps,c=e.menuPlacement,l=e.menuPosition,u=e.getStyles,d="fixed"===l;if(!t&&!d||!o)return null;var f=this.state.placement||yt(c),h=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(o),p=d?0:window.pageYOffset,m=h[f]+p,g=De("div",r({css:u("menuPortal",{offset:m,position:l,rect:h}),className:a({"menu-portal":!0},i)},s),n);return De(vt.Provider,{value:{getPortalPlacement:this.getPortalPlacement}},t?(0,Ye.createPortal)(g,t):g)}}]),n}(i.Component),Tt=["size"];var Pt,jt,Dt={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},Ct=function(e){var t=e.size,n=Ie(e,Tt);return De("svg",r({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Dt},n))},Mt=function(e){return De(Ct,r({size:20},e),De("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},Rt=function(e){return De(Ct,r({size:20},e),De("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},Nt=function(e){var t=e.isFocused,n=e.theme,r=n.spacing.baseUnit,i=n.colors;return{label:"indicatorContainer",color:t?i.neutral60:i.neutral20,display:"flex",padding:2*r,transition:"color 150ms",":hover":{color:t?i.neutral80:i.neutral40}}},At=Nt,It=Nt,Lt=function(){var e=Ce.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}(Ot||(Pt=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],jt||(jt=Pt.slice(0)),Ot=Object.freeze(Object.defineProperties(Pt,{raw:{value:Object.freeze(jt)}})))),Ut=function(e){var t=e.delay,n=e.offset;return De("span",{css:Ce({animation:"".concat(Lt," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},Vt=function(e){var t=e.className,n=e.cx,i=e.getStyles,o=e.innerProps,a=e.isRtl;return De("div",r({css:i("loadingIndicator",e),className:n({indicator:!0,"loading-indicator":!0},t)},o),De(Ut,{delay:0,offset:a}),De(Ut,{delay:160,offset:!0}),De(Ut,{delay:320,offset:!a}))};Vt.defaultProps={size:4};var Bt=["data"],zt=["innerRef","isDisabled","isHidden","inputClassName"],Ft={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},Ht={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":qe({content:'attr(data-value) " "',visibility:"hidden",
1whiteSpace:"pre"},Ft)},$t=function(e){return qe({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},Ft)},Yt=function(e){var t=e.children,n=e.innerProps;return De("div",n,t)};var Wt={ClearIndicator:function(e){var t=e.children,n=e.className,i=e.cx,o=e.getStyles,a=e.innerProps;return De("div",r({css:o("clearIndicator",e),className:i({indicator:!0,"clear-indicator":!0},n)},a),t||De(Mt,null))},Control:function(e){var t=e.children,n=e.cx,i=e.getStyles,o=e.className,a=e.isDisabled,s=e.isFocused,c=e.innerRef,l=e.innerProps,u=e.menuIsOpen;return De("div",r({ref:c,css:i("control",e),className:n({control:!0,"control--is-disabled":a,"control--is-focused":s,"control--menu-is-open":u},o)},l),t)},DropdownIndicator:function(e){var t=e.children,n=e.className,i=e.cx,o=e.getStyles,a=e.innerProps;return De("div",r({css:o("dropdownIndicator",e),className:i({indicator:!0,"dropdown-indicator":!0},n)},a),t||De(Rt,null))},DownChevron:Rt,CrossIcon:Mt,Group:function(e){var t=e.children,n=e.className,i=e.cx,o=e.getStyles,a=e.Heading,s=e.headingProps,c=e.innerProps,l=e.label,u=e.theme,d=e.selectProps;return De("div",r({css:o("group",e),className:i({group:!0},n)},c),De(a,r({},s,{selectProps:d,theme:u,getStyles:o,cx:i}),l),De("div",null,t))},GroupHeading:function(e){var t=e.getStyles,n=e.cx,i=e.className,o=rt(e);o.data;var a=Ie(o,Bt);return De("div",r({css:t("groupHeading",e),className:n({"group-heading":!0},i)},a))},IndicatorsContainer:function(e){var t=e.children,n=e.className,i=e.cx,o=e.innerProps,a=e.getStyles;return De("div",r({css:a("indicatorsContainer",e),className:i({indicators:!0},n)},o),t)},IndicatorSeparator:function(e){var t=e.className,n=e.cx,i=e.getStyles,o=e.innerProps;return De("span",r({},o,{css:i("indicatorSeparator",e),className:n({"indicator-separator":!0},t)}))},Input:function(e){var t=e.className,n=e.cx,i=e.getStyles,o=e.value,a=rt(e),s=a.innerRef,c=a.isDisabled,l=a.isHidden,u=a.inputClassName,d=Ie(a,zt);return De("div",{className:n({"input-container":!0},t),css:i("input",e),"data-value":o||""},De("input",r({className:n({input:!0},u),ref:s,style:$t(l),disabled:c},d)))},LoadingIndicator:Vt,Menu:function(e){var t=e.children,n=e.className,i=e.cx,o=e.getStyles,a=e.innerRef,s=e.innerProps;return De("div",r({css:o("menu",e),className:i({menu:!0},n),ref:a},s),t)},MenuList:function(e){var t=e.children,n=e.className,i=e.cx,o=e.getStyles,a=e.innerProps,s=e.innerRef,c=e.isMulti;return De("div",r({css:o("menuList",e),className:i({"menu-list":!0,"menu-list--is-multi":c},n),ref:s},a),t)},MenuPortal:kt,LoadingMessage:Et,NoOptionsMessage:St,MultiValue:function(e){var t=e.children,n=e.className,r=e.components,i=e.cx,o=e.data,a=e.getStyles,s=e.innerProps,c=e.isDisabled,l=e.removeProps,u=e.selectProps,d=r.Container,f=r.Label,h=r.Remove;return De(Ae,null,(function(r){var p=r.css,m=r.cx;return De(d,{data:o,innerProps:qe({className:m(p(a("multiValue",e)),i({"multi-value":!0,"multi-value--is-disabled":c},n))},s),selectProps:u},De(f,{data:o,innerProps:{className:m(p(a("multiValueLabel",e)),i({"multi-value__label":!0},n))},selectProps:u},t),De(h,{data:o,innerProps:qe({className:m(p(a("multiValueRemove",e)),i({"multi-value__remove":!0},n)),"aria-label":"Remove ".concat(t||"option")},l),selectProps:u}))}))},MultiValueContainer:Yt,MultiValueLabel:Yt,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return De("div",r({role:"button"},n),t||De(Mt,{size:14}))},Option:function(e){var t=e.children,n=e.className,i=e.cx,o=e.getStyles,a=e.isDisabled,s=e.isFocused,c=e.isSelected,l=e.innerRef,u=e.innerProps;return De("div",r({css:o("option",e),className:i({option:!0,"option--is-disabled":a,"option--is-focused":s,"option--is-selected":c},n),ref:l,"aria-disabled":a},u),t)},Placeholder:function(e){var t=e.children,n=e.className,i=e.cx,o=e.getStyles,a=e.innerProps;return De("div",r({css:o("placeholder",e),className:i({placeholder:!0},n)},a),t)},SelectContainer:function(e){var t=e.children,n=e.className,i=e.cx,o=e.getStyles,a=e.innerProps,s=e.isDisabled,c=e.isRtl;return De("div",r({css:o("container",e),className:i({"--is-disabled":s,"--is-rtl":c},n)},a),t)},SingleValue:function(e){var t=e.children,n=e.className,i=e.cx,o=e.getStyles,a=e.isDisabled,s=e.innerProps;return De("div",r({css:o("singleValue",e),className:i({"single-value":!0,"single-value--is-disabled":a},n)},s),t)},ValueContainer:function(e){var t=e.children,n=e.className,i=e.cx,o=e.innerProps,a=e.isMulti,s=e.getStyles,c=e.hasValue;return De("div",r({css:s("valueContainer",e),className:i({"value-container":!0,"value-container--is-multi":a,"value-container--has-value":c},n)},o),t)}};function Gt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function qt(e,t){if(e){if("string"===typeof e)return Gt(e,t);var n=Object.prototype.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)?Gt(e,t):void 0}}function Kt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],c=!0,l=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}
1finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw i}}return s}}(e,t)||qt(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var Xt=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function Zt(e){return function(e){if(Array.isArray(e))return Gt(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||qt(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var Jt=n(30845);for(var Qt={name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"},en=function(e){return De("span",r({css:Qt},e))},tn={guidance:function(e){var t=e.isSearchable,n=e.isMulti,r=e.isDisabled,i=e.tabSelectsValue;switch(e.context){case"menu":return"Use Up and Down to choose options".concat(r?"":", press Enter to select the currently focused option",", press Escape to exit the menu").concat(i?", press Tab to select the option and exit the menu":"",".");case"input":return"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(n?" press left to focus selected values":"");case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var t=e.action,n=e.label,r=void 0===n?"":n,i=e.labels,o=e.isDisabled;switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(r,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(i.length>1?"s":""," ").concat(i.join(","),", selected.");case"select-option":return"option ".concat(r,o?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,r=e.options,i=e.label,o=void 0===i?"":i,a=e.selectValue,s=e.isDisabled,c=e.isSelected,l=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&a)return"value ".concat(o," focused, ").concat(l(a,n),".");if("menu"===t){var u=s?" disabled":"",d="".concat(c?"selected":"focused").concat(u);return"option ".concat(o," ").concat(d,", ").concat(l(r,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},nn=function(e){var t=e.ariaSelection,n=e.focusedOption,r=e.focusedValue,o=e.focusableOptions,a=e.isFocused,s=e.selectValue,c=e.selectProps,l=e.id,u=c.ariaLiveMessages,d=c.getOptionLabel,f=c.inputValue,h=c.isMulti,p=c.isOptionDisabled,m=c.isSearchable,g=c.menuIsOpen,y=c.options,v=c.screenReaderStatus,b=c.tabSelectsValue,_=c["aria-label"],x=c["aria-live"],w=(0,i.useMemo)((function(){return qe(qe({},tn),u||{})}),[u]),S=(0,i.useMemo)((function(){var e,n="";if(t&&w.onChange){var r=t.option,i=t.options,o=t.removedValue,a=t.removedValues,c=t.value,l=o||r||(e=c,Array.isArray(e)?null:e),u=l?d(l):"",f=i||a||void 0,h=f?f.map(d):[],m=qe({isDisabled:l&&p(l,s),label:u,labels:h},t);n=w.onChange(m)}return n}),[t,w,p,s,d]),E=(0,i.useMemo)((function(){var e="",t=n||r,i=!!(n&&s&&s.includes(n));if(t&&w.onFocus){var o={focused:t,label:d(t),isDisabled:p(t,s),isSelected:i,options:y,context:t===n?"menu":"value",selectValue:s};e=w.onFocus(o)}return e}),[n,r,d,p,w,y,s]),O=(0,i.useMemo)((function(){var e="";if(g&&y.length&&w.onFilter){var t=v({count:o.length});e=w.onFilter({inputValue:f,resultsMessage:t})}return e}),[o,f,g,w,y,v]),k=(0,i.useMemo)((function(){var e="";if(w.guidance){var t=r?"value":g?"menu":"input";e=w.guidance({"aria-label":_,context:t,isDisabled:n&&p(n,s),isMulti:h,isSearchable:m,tabSelectsValue:b})}return e}),[_,n,r,h,p,m,g,w,s,b]),T="".concat(E," ").concat(O," ").concat(k),P=De(i.Fragment,null,De("span",{id:"aria-selection"},S),De("span",{id:"aria-context"},T)),j="initial-input-focus"===(null===t||void 0===t?void 0:t.action);return De(i.Fragment,null,De(en,{id:l},j&&P),De(en,{"aria-live":x,"aria-atomic":"false","aria-relevant":"additions text"},a&&!j&&P))},rn
vendor: 6,727 bytes, line 1
1=[{base:"A",letters:"A\u24b6\uff21\xc0\xc1\xc2\u1ea6\u1ea4\u1eaa\u1ea8\xc3\u0100\u0102\u1eb0\u1eae\u1eb4\u1eb2\u0226\u01e0\xc4\u01de\u1ea2\xc5\u01fa\u01cd\u0200\u0202\u1ea0\u1eac\u1eb6\u1e00\u0104\u023a\u2c6f"},{base:"AA",letters:"\ua732"},{base:"AE",letters:"\xc6\u01fc\u01e2"},{base:"AO",letters:"\ua734"},{base:"AU",letters:"\ua736"},{base:"AV",letters:"\ua738\ua73a"},{base:"AY",letters:"\ua73c"},{base:"B",letters:"B\u24b7\uff22\u1e02\u1e04\u1e06\u0243\u0182\u0181"},{base:"C",letters:"C\u24b8\uff23\u0106\u0108\u010a\u010c\xc7\u1e08\u0187\u023b\ua73e"},{base:"D",letters:"D\u24b9\uff24\u1e0a\u010e\u1e0c\u1e10\u1e12\u1e0e\u0110\u018b\u018a\u0189\ua779"},{base:"DZ",letters:"\u01f1\u01c4"},{base:"Dz",letters:"\u01f2\u01c5"},{base:"E",letters:"E\u24ba\uff25\xc8\xc9\xca\u1ec0\u1ebe\u1ec4\u1ec2\u1ebc\u0112\u1e14\u1e16\u0114\u0116\xcb\u1eba\u011a\u0204\u0206\u1eb8\u1ec6\u0228\u1e1c\u0118\u1e18\u1e1a\u0190\u018e"},{base:"F",letters:"F\u24bb\uff26\u1e1e\u0191\ua77b"},{base:"G",letters:"G\u24bc\uff27\u01f4\u011c\u1e20\u011e\u0120\u01e6\u0122\u01e4\u0193\ua7a0\ua77d\ua77e"},{base:"H",letters:"H\u24bd\uff28\u0124\u1e22\u1e26\u021e\u1e24\u1e28\u1e2a\u0126\u2c67\u2c75\ua78d"},{base:"I",letters:"I\u24be\uff29\xcc\xcd\xce\u0128\u012a\u012c\u0130\xcf\u1e2e\u1ec8\u01cf\u0208\u020a\u1eca\u012e\u1e2c\u0197"},{base:"J",letters:"J\u24bf\uff2a\u0134\u0248"},{base:"K",letters:"K\u24c0\uff2b\u1e30\u01e8\u1e32\u0136\u1e34\u0198\u2c69\ua740\ua742\ua744\ua7a2"},{base:"L",letters:"L\u24c1\uff2c\u013f\u0139\u013d\u1e36\u1e38\u013b\u1e3c\u1e3a\u0141\u023d\u2c62\u2c60\ua748\ua746\ua780"},{base:"LJ",letters:"\u01c7"},{base:"Lj",letters:"\u01c8"},{base:"M",letters:"M\u24c2\uff2d\u1e3e\u1e40\u1e42\u2c6e\u019c"},{base:"N",letters:"N\u24c3\uff2e\u01f8\u0143\xd1\u1e44\u0147\u1e46\u0145\u1e4a\u1e48\u0220\u019d\ua790\ua7a4"},{base:"NJ",letters:"\u01ca"},{base:"Nj",letters:"\u01cb"},{base:"O",letters:"O\u24c4\uff2f\xd2\xd3\xd4\u1ed2\u1ed0\u1ed6\u1ed4\xd5\u1e4c\u022c\u1e4e\u014c\u1e50\u1e52\u014e\u022e\u0230\xd6\u022a\u1ece\u0150\u01d1\u020c\u020e\u01a0\u1edc\u1eda\u1ee0\u1ede\u1ee2\u1ecc\u1ed8\u01ea\u01ec\xd8\u01fe\u0186\u019f\ua74a\ua74c"},{base:"OI",letters:"\u01a2"},{base:"OO",letters:"\ua74e"},{base:"OU",letters:"\u0222"},{base:"P",letters:"P\u24c5\uff30\u1e54\u1e56\u01a4\u2c63\ua750\ua752\ua754"},{base:"Q",letters:"Q\u24c6\uff31\ua756\ua758\u024a"},{base:"R",letters:"R\u24c7\uff32\u0154\u1e58\u0158\u0210\u0212\u1e5a\u1e5c\u0156\u1e5e\u024c\u2c64\ua75a\ua7a6\ua782"},{base:"S",letters:"S\u24c8\uff33\u1e9e\u015a\u1e64\u015c\u1e60\u0160\u1e66\u1e62\u1e68\u0218\u015e\u2c7e\ua7a8\ua784"},{base:"T",letters:"T\u24c9\uff34\u1e6a\u0164\u1e6c\u021a\u0162\u1e70\u1e6e\u0166\u01ac\u01ae\u023e\ua786"},{base:"TZ",letters:"\ua728"},{base:"U",letters:"U\u24ca\uff35\xd9\xda\xdb\u0168\u1e78\u016a\u1e7a\u016c\xdc\u01db\u01d7\u01d5\u01d9\u1ee6\u016e\u0170\u01d3\u0214\u0216\u01af\u1eea\u1ee8\u1eee\u1eec\u1ef0\u1ee4\u1e72\u0172\u1e76\u1e74\u0244"},{base:"V",letters:"V\u24cb\uff36\u1e7c\u1e7e\u01b2\ua75e\u0245"},{base:"VY",letters:"\ua760"},{base:"W",letters:"W\u24cc\uff37\u1e80\u1e82\u0174\u1e86\u1e84\u1e88\u2c72"},{base:"X",letters:"X\u24cd\uff38\u1e8a\u1e8c"},{base:"Y",letters:"Y\u24ce\uff39\u1ef2\xdd\u0176\u1ef8\u0232\u1e8e\u0178\u1ef6\u1ef4\u01b3\u024e\u1efe"},{base:"Z",letters:"Z\u24cf\uff3a\u0179\u1e90\u017b\u017d\u1e92\u1e94\u01b5\u0224\u2c7f\u2c6b\ua762"},{base:"a",letters:"a\u24d0\uff41\u1e9a\xe0\xe1\xe2\u1ea7\u1ea5\u1eab\u1ea9\xe3\u0101\u0103\u1eb1\u1eaf\u1eb5\u1eb3\u0227\u01e1\xe4\u01df\u1ea3\xe5\u01fb\u01ce\u0201\u0203\u1ea1\u1ead\u1eb7\u1e01\u0105\u2c65\u0250"},{base:"aa",letters:"\ua733"},{base:"ae",letters:"\xe6\u01fd\u01e3"},{base:"ao",letters:"\ua735"},{base:"au",letters:"\ua737"},{base:"av",letters:"\ua739\ua73b"},{base:"ay",letters:"\ua73d"},{base:"b",letters:"b\u24d1\uff42\u1e03\u1e05\u1e07\u0180\u0183\u0253"},{base:"c",letters:"c\u24d2\uff43\u0107\u0109\u010b\u010d\xe7\u1e09\u0188\u023c\ua73f\u2184"},{base:"d",letters:"d\u24d3\uff44\u1e0b\u010f\u1e0d\u1e11\u1e13\u1e0f\u0111\u018c\u0256\u0257\ua77a"},{base:"dz",letters:"\u01f3\u01c6"},{base:"e",letters:"e\u24d4\uff45\xe8\xe9\xea\u1ec1\u1ebf\u1ec5\u1ec3\u1ebd\u0113\u1e15\u1e17\u0115\u0117\xeb\u1ebb\u011b\u0205\u0207\u1eb9\u1ec7\u0229\u1e1d\u0119\u1e19\u1e1b\u0247\u025b\u01dd"},{base:"f",letters:"f\u24d5\uff46\u1e1f\u0192\ua77c"},{base:"g",letters:"g\u24d6\uff47\u01f5\u011d\u1e21\u011f\u0121\u01e7\u0123\u01e5\u0260\ua7a1\u1d79\ua77f"},{base:"h",letters:"h\u24d7\uff48\u0125\u1e23\u1e27\u021f\u1e25\u1e29\u1e2b\u1e96\u0127\u2c68\u2c76\u0265"},{base:"hv",letters:"\u0195"},{base:"i",letters:"i\u24d8\uff49\xec\xed\xee\u0129\u012b\u012d\xef\u1e2f\u1ec9\u01d0\u0209\u020b\u1ecb\u012f\u1e2d\u0268\u0131"},{base:"j",letters:"j\u24d9\uff4a\u0135\u01f0\u0249"},{base:"k",letters:"k\u24da\uff4b\u1e31\u01e9\u1e33\u0137\u1e35\u0199\u2c6a\ua741\ua743\ua745\ua7a3"},{base:"l",letters:"l\u24db\uff4c\u0140\u013a\u013e\u1e37\u1e39\u013c\u1e3d\u1e3b\u017f\u0142\u019a\u026b\u2c61\ua749\ua781\ua747"},{base:"lj",letters:"\u01c9"},{base:"m",letters:"m\u24dc\uff4d\u1e3f\u1e41\u1e43\u0271\u026f"},{base:"n",letters:"n\u24dd\uff4e\u01f9\u0144\xf1\u1e45\u0148\u1e47\u0146\u1e4b\u1e49\u019e\u0272\u0149\ua791\ua7a5"},{base:"nj",letters:"\u01cc"},{base:"o",letters:"o\u24de\uff4f\xf2\xf3\xf4\u1ed3\u1ed1\u1ed7\u1ed5\xf5\u1e4d\u022d\u1e4f\u014d\u1e51\u1e53\u014f\u022f\u0231\xf6\u022b\u1ecf\u0151\u01d2\u020d\u020f\u01a1\u1edd\u1edb\u1ee1\u1edf\u1ee3\u1ecd\u1ed9\u01eb\u01ed\xf8\u01ff\u0254\ua74b\ua74d\u0275"},{base:"oi",letters:"\u01a3"},{base:"ou",letters:"\u0223"},{base:"oo",letters:"\ua74f"},{base:"p",letters:"p\u24df\uff50\u1e55\u1e57\u01a5\u1d7d\ua751\ua753\ua755"},{base:"q",letters:"q\u24e0\uff51\u024b\ua757\ua759"},{base:"r",letters:"r\u24e1\uff52\u0155\u1e59\u0159\u0211\u0213\u1e5b\u1e5d\u0157\u1e5f\u024d\u027d\ua75b\ua7a7\ua783"},{base:"s",letters:"s\u24e2\uff53\xdf\u015b\u1e65\u015d\u1e61\u0161\u1e67\u1e63\u1e69\u0219\u015f\u023f\ua7a9\ua785\u1e9b"},{base:"t",letters:"t\u24e3\uff54\u1e6b\u1e97\u0165\u1e6d\u021b\u0163\u1e71\u1e6f\u0167\u01ad\u0288\u2c66\ua787"},{base:"tz",letters:"\ua729"},{base:"u",letters:"u\u24e4\uff55\xf9\xfa\xfb\u0169\u1e79\u016b\u1e7b\u016d\xfc\u01dc\u01d8\u01d6\u01da\u1ee7\u016f\u0171\u01d4\u0215\u0217\u01b0\u1eeb\u1ee9\u1eef\u1eed\u1ef1\u1ee5\u1e73\u0173\u1e77\u1e75\u0289"},{base:"v",letters:"v\u24e5\uff56\u1e7d\u1e7f\u028b\ua75f\u028c"},{base:"vy",letters:"\ua761"},{base:"w",letters:"w\u24e6\uff57\u1e81\u1e83\u0175\u1e87\u1e85\u1e98\u1e89\u2c73"},{base:"x",letters:"x\u24e7\uff58\u1e8b\u1e8d"},{base:"y",letters:"y\u24e8\uff59\u1ef3\xfd\u0177\u1ef9\u0233\u1e8f\xff\u1ef7\u1e99\u1ef5\u01b4\u024f\u1eff"},{base:"z",letters:"z\u24e9\uff5a\u017a\u1e91\u017c\u017e\u1e93\u1e95\u01b6\u0225\u0240\u2c6c\ua763"}],
vendor: 3,086 bytes, line 1
1on=new RegExp("["+rn.map((function(e){return e.letters})).join("")+"]","g"),an={},sn=0;sn<rn.length;sn++)for(var cn=rn[sn],ln=0;ln<cn.letters.length;ln++)an[cn.letters[ln]]=cn.base;var un=function(e){return e.replace(on,(function(e){return an[e]}))},dn=(0,Jt.default)(un),fn=function(e){return e.replace(/^\s+|\s+$/g,"")},hn=function(e){return"".concat(e.label," ").concat(e.value)},pn=["innerRef"];function mn(e){var t=e.innerRef,n=Ie(e,pn);return De("input",r({ref:t},n,{css:Ce({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"","")}))}var gn=["boxSizing","height","overflow","paddingRight","position"],yn={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function vn(e){e.preventDefault()}function bn(e){e.stopPropagation()}function _n(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function xn(){return"ontouchstart"in window||navigator.maxTouchPoints}var wn=!("undefined"===typeof window||!window.document||!window.document.createElement),Sn=0,En={capture:!1,passive:!1};var On=function(){return document.activeElement&&document.activeElement.blur()},kn={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function Tn(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,o=function(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,o=e.onTopArrive,a=e.onTopLeave,s=(0,i.useRef)(!1),c=(0,i.useRef)(!1),l=(0,i.useRef)(0),u=(0,i.useRef)(null),d=(0,i.useCallback)((function(e,t){if(null!==u.current){var i=u.current,l=i.scrollTop,d=i.scrollHeight,f=i.clientHeight,h=u.current,p=t>0,m=d-f-l,g=!1;m>t&&s.current&&(r&&r(e),s.current=!1),p&&c.current&&(a&&a(e),c.current=!1),p&&t>m?(n&&!s.current&&n(e),h.scrollTop=d,g=!0,s.current=!0):!p&&-t>l&&(o&&!c.current&&o(e),h.scrollTop=0,g=!0,c.current=!0),g&&function(e){e.preventDefault(),e.stopPropagation()}(e)}}),[n,r,o,a]),f=(0,i.useCallback)((function(e){d(e,e.deltaY)}),[d]),h=(0,i.useCallback)((function(e){l.current=e.changedTouches[0].clientY}),[]),p=(0,i.useCallback)((function(e){var t=l.current-e.changedTouches[0].clientY;d(e,t)}),[d]),m=(0,i.useCallback)((function(e){if(e){var t=!!ht&&{passive:!1};e.addEventListener("wheel",f,t),e.addEventListener("touchstart",h,t),e.addEventListener("touchmove",p,t)}}),[p,h,f]),g=(0,i.useCallback)((function(e){e&&(e.removeEventListener("wheel",f,!1),e.removeEventListener("touchstart",h,!1),e.removeEventListener("touchmove",p,!1))}),[p,h,f]);return(0,i.useEffect)((function(){if(t){var e=u.current;return m(e),function(){g(e)}}}),[t,m,g]),function(e){u.current=e}}({isEnabled:void 0===r||r,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),a=function(e){var t=e.isEnabled,n=e.accountForScrollbars,r=void 0===n||n,o=(0,i.useRef)({}),a=(0,i.useRef)(null),s=(0,i.useCallback)((function(e){if(wn){var t=document.body,n=t&&t.style;
1if(r&&gn.forEach((function(e){var t=n&&n[e];o.current[e]=t})),r&&Sn<1){var i=parseInt(o.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,s=window.innerWidth-a+i||0;Object.keys(yn).forEach((function(e){var t=yn[e];n&&(n[e]=t)})),n&&(n.paddingRight="".concat(s,"px"))}t&&xn()&&(t.addEventListener("touchmove",vn,En),e&&(e.addEventListener("touchstart",_n,En),e.addEventListener("touchmove",bn,En))),Sn+=1}}),[r]),c=(0,i.useCallback)((function(e){if(wn){var t=document.body,n=t&&t.style;Sn=Math.max(Sn-1,0),r&&Sn<1&&gn.forEach((function(e){var t=o.current[e];n&&(n[e]=t)})),t&&xn()&&(t.removeEventListener("touchmove",vn,En),e&&(e.removeEventListener("touchstart",_n,En),e.removeEventListener("touchmove",bn,En)))}}),[r]);return(0,i.useEffect)((function(){if(t){var e=a.current;return s(e),function(){c(e)}}}),[t,s,c]),function(e){a.current=e}}({isEnabled:n});return De(i.Fragment,null,n&&De("div",{onClick:On,css:kn}),t((function(e){o(e),a(e)})))}var Pn={clearIndicator:It,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},control:function(e){var t=e.isDisabled,n=e.isFocused,r=e.theme,i=r.colors,o=r.borderRadius,a=r.spacing;return{label:"control",alignItems:"center",backgroundColor:t?i.neutral5:i.neutral0,borderColor:t?i.neutral10:n?i.primary:i.neutral20,borderRadius:o,borderStyle:"solid",borderWidth:1,boxShadow:n?"0 0 0 1px ".concat(i.primary):void 0,cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:a.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms","&:hover":{borderColor:n?i.primary:i.neutral30}}},dropdownIndicator:At,group:function(e){var t=e.theme.spacing;return{paddingBottom:2*t.baseUnit,paddingTop:2*t.baseUnit}},groupHeading:function(e){var t=e.theme.spacing;return{label:"group",color:"#999",cursor:"default",display:"block",fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*t.baseUnit,paddingRight:3*t.baseUnit,textTransform:"uppercase"}},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e){var t=e.isDisabled,n=e.theme,r=n.spacing.baseUnit,i=n.colors;return{label:"indicatorSeparator",alignSelf:"stretch",backgroundColor:t?i.neutral10:i.neutral20,marginBottom:2*r,marginTop:2*r,width:1}},input:function(e){var t=e.isDisabled,n=e.value,r=e.theme,i=r.spacing,o=r.colors;return qe({margin:i.baseUnit/2,paddingBottom:i.baseUnit/2,paddingTop:i.baseUnit/2,visibility:t?"hidden":"visible",color:o.neutral80,transform:n?"translateZ(0)":""},Ht)},loadingIndicator:function(e){var t=e.isFocused,n=e.size,r=e.theme,i=r.colors,o=r.spacing.baseUnit;return{label:"loadingIndicator",color:t?i.neutral60:i.neutral20,display:"flex",padding:2*o,transition:"color 150ms",alignSelf:"center",fontSize:n,lineHeight:1,marginRight:n,textAlign:"center",verticalAlign:"middle"}},loadingMessage:wt,menu:function(e){var t,n=e.placement,r=e.theme,i=r.borderRadius,o=r.spacing,a=r.colors;return $e(t={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(n),"100%"),$e(t,"backgroundColor",a.neutral0),$e(t,"borderRadius",i),$e(t,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),$e(t,"marginBottom",o.menuGutter),$e(t,"marginTop",o.menuGutter),$e(t,"position","absolute"),$e(t,"width","100%"),$e(t,"zIndex",1),t},menuList:function(e){var t=e.maxHeight,n=e.theme.spacing.baseUnit;return{maxHeight:t,overflowY:"auto",paddingBottom:n,paddingTop:n,position:"relative",WebkitOverflowScrolling:"touch"}},menuPortal:function(e){var t=e.rect,n=e.offset,r=e.position;return{left:t.left,position:r,top:n,width:t.width,zIndex:1}},multiValue:function(e){var t=e.theme,n=t.spacing,r=t.borderRadius;return{label:"multiValue",backgroundColor:t.colors.neutral10,borderRadius:r/2,display:"flex",margin:n.baseUnit/2,minWidth:0}},multiValueLabel:function(e){var t=e.theme,n=t.borderRadius,r=t.colors,i=e.cropWithEllipsis;return{borderRadius:n/2,color:r.neutral80,fontSize:"85%",overflow:"hidden",padding:3,paddingLeft:6,textOverflow:i||void 0===i?"ellipsis":void 0,whiteSpace:"nowrap"}},multiValueRemove:function(e){var t=e.theme,n=t.spacing,r=t.borderRadius,i=t.colors;return{alignItems:"center",borderRadius:r/2,backgroundColor:e.isFocused?i.dangerLight:void 0,display:"flex",paddingLeft:n.baseUnit,paddingRight:n.baseUnit,":hover":{backgroundColor:i.dangerLight,color:i.danger}}},noOptionsMessage:xt,option:function(e){var t=e.isDisabled,n=e.isFocused,r=e.isSelected,i=e.theme,o=i.spacing,a=i.colors;return{label:"option",backgroundColor:r?a.primary:n?a.primary25:"transparent",color:t?a.neutral20:r?a.neutral0:"inherit",curs
1or:"default",display:"block",fontSize:"inherit",padding:"".concat(2*o.baseUnit,"px ").concat(3*o.baseUnit,"px"),width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",":active":{backgroundColor:t?void 0:r?a.primary:a.primary50}}},placeholder:function(e){var t=e.theme,n=t.spacing;return{label:"placeholder",color:t.colors.neutral50,gridArea:"1 / 1 / 2 / 3",marginLeft:n.baseUnit/2,marginRight:n.baseUnit/2}},singleValue:function(e){var t=e.isDisabled,n=e.theme,r=n.spacing,i=n.colors;return{label:"singleValue",color:t?i.neutral40:i.neutral80,gridArea:"1 / 1 / 2 / 3",marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2,maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},valueContainer:function(e){var t=e.theme.spacing,n=e.isMulti,r=e.hasValue,i=e.selectProps.controlShouldRenderValue;return{alignItems:"center",display:n&&r&&i?"flex":"grid",flex:1,flexWrap:"wrap",padding:"".concat(t.baseUnit/2,"px ").concat(2*t.baseUnit,"px"),WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"}}};var jn,Dn={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},Cn={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:lt(),captureMenuScroll:!lt(),closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){if(e.data.__isNew__)return!0;var n=qe({ignoreCase:!0,ignoreAccents:!0,stringify:hn,trim:!0,matchFrom:"any"},jn),r=n.ignoreCase,i=n.ignoreAccents,o=n.stringify,a=n.trim,s=n.matchFrom,c=a?fn(t):t,l=a?fn(o(e)):o(e);return r&&(c=c.toLowerCase(),l=l.toLowerCase()),i&&(c=dn(c),l=un(l)),"start"===s?l.substr(0,c.length)===c:l.indexOf(c)>-1},formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:function(e){return!!e.isDisabled},loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0};function Mn(e,t,n,r){return{type:"option",data:t,isDisabled:Un(e,t,n),isSelected:Vn(e,t,n),label:In(e,t),value:Ln(e,t),index:r}}function Rn(e,t){return e.options.map((function(n,r){if("options"in n){var i=n.options.map((function(n,r){return Mn(e,n,t,r)})).filter((function(t){return An(e,t)}));return i.length>0?{type:"group",data:n,options:i,index:r}:void 0}var o=Mn(e,n,t,r);return An(e,o)?o:void 0})).filter(pt)}function Nn(e){return e.reduce((function(e,t){return"group"===t.type?e.push.apply(e,Zt(t.options.map((function(e){return e.data})))):e.push(t.data),e}),[])}function An(e,t){var n=e.inputValue,r=void 0===n?"":n,i=t.data,o=t.isSelected,a=t.label,s=t.value;return(!zn(e)||!o)&&Bn(e,{label:a,value:s,data:i},r)}var In=function(e,t){return e.getOptionLabel(t)},Ln=function(e,t){return e.getOptionValue(t)};function Un(e,t,n){return"function"===typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function Vn(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"===typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=Ln(e,t);return n.some((function(t){return Ln(e,t)===r}))}function Bn(e,t,n){return!e.filterOption||e.filterOption(t,n)}var zn=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},Fn=1,Hn=function(e){He(n,e);var t=Ze(n);function n(e){var r;return Ue(this,n),(r=t.call(this,e)).state={ariaSelection:null,focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0},r.blockOptionHover=!1,r.isComposing=!1,r.commonProps=void 0,r.initialTouchX=0,r.initialTouchY=0,r.instancePrefix="",r.openAfterFocus=!1,r.scrollToFocusedOptionOnUpdate=!1,r.userIsDragging=void 0,r.controlRef=null,r.getControlRef=function(e){r.controlRef=e},r.focusedOptionRef=null,r.getFocusedOptionRef=function(e){r.focu
vendor: 19,392 bytes, line 1
1sedOptionRef=e},r.menuListRef=null,r.getMenuListRef=function(e){r.menuListRef=e},r.inputRef=null,r.getInputRef=function(e){r.inputRef=e},r.focus=r.focusInput,r.blur=r.blurInput,r.onChange=function(e,t){var n=r.props,i=n.onChange,o=n.name;t.name=o,r.ariaOnChange(e,t),i(e,t)},r.setValue=function(e,t,n){var i=r.props,o=i.closeMenuOnSelect,a=i.isMulti,s=i.inputValue;r.onInputChange("",{action:"set-value",prevInputValue:s}),o&&(r.setState({inputIsHiddenAfterUpdate:!a}),r.onMenuClose()),r.setState({clearFocusValueOnUpdate:!0}),r.onChange(e,{action:t,option:n})},r.selectOption=function(e){var t=r.props,n=t.blurInputOnSelect,i=t.isMulti,o=t.name,a=r.state.selectValue,s=i&&r.isOptionSelected(e,a),c=r.isOptionDisabled(e,a);if(s){var l=r.getOptionValue(e);r.setValue(a.filter((function(e){return r.getOptionValue(e)!==l})),"deselect-option",e)}else{if(c)return void r.ariaOnChange(e,{action:"select-option",option:e,name:o});i?r.setValue([].concat(Zt(a),[e]),"select-option",e):r.setValue(e,"select-option")}n&&r.blurInput()},r.removeValue=function(e){var t=r.props.isMulti,n=r.state.selectValue,i=r.getOptionValue(e),o=n.filter((function(e){return r.getOptionValue(e)!==i})),a=mt(t,o,o[0]||null);r.onChange(a,{action:"remove-value",removedValue:e}),r.focusInput()},r.clearValue=function(){var e=r.state.selectValue;r.onChange(mt(r.props.isMulti,[],null),{action:"clear",removedValues:e})},r.popValue=function(){var e=r.props.isMulti,t=r.state.selectValue,n=t[t.length-1],i=t.slice(0,t.length-1),o=mt(e,i,i[0]||null);r.onChange(o,{action:"pop-value",removedValue:n})},r.getValue=function(){return r.state.selectValue},r.cx=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return tt.apply(void 0,[r.props.classNamePrefix].concat(t))},r.getOptionLabel=function(e){return In(r.props,e)},r.getOptionValue=function(e){return Ln(r.props,e)},r.getStyles=function(e,t){var n=Pn[e](t);n.boxSizing="border-box";var i=r.props.styles[e];return i?i(n,t):n},r.getElementId=function(e){return"".concat(r.instancePrefix,"-").concat(e)},r.getComponents=function(){return e=r.props,qe(qe({},Wt),e.components);var e},r.buildCategorizedOptions=function(){return Rn(r.props,r.state.selectValue)},r.getCategorizedOptions=function(){return r.props.menuIsOpen?r.buildCategorizedOptions():[]},r.buildFocusableOptions=function(){return Nn(r.buildCategorizedOptions())},r.getFocusableOptions=function(){return r.props.menuIsOpen?r.buildFocusableOptions():[]},r.ariaOnChange=function(e,t){r.setState({ariaSelection:qe({value:e},t)})},r.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),r.focusInput())},r.onMenuMouseMove=function(e){r.blockOptionHover=!1},r.onControlMouseDown=function(e){var t=r.props.openMenuOnClick;r.state.isFocused?r.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&r.onMenuClose():t&&r.openMenu("first"):(t&&(r.openAfterFocus=!0),r.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()},r.onDropdownIndicatorMouseDown=function(e){if((!e||"mousedown"!==e.type||0===e.button)&&!r.props.isDisabled){var t=r.props,n=t.isMulti,i=t.menuIsOpen;r.focusInput(),i?(r.setState({inputIsHiddenAfterUpdate:!n}),r.onMenuClose()):r.openMenu("first"),e.preventDefault(),e.stopPropagation()}},r.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(r.clearValue(),e.preventDefault(),e.stopPropagation(),r.openAfterFocus=!1,"touchend"===e.type?r.focusInput():setTimeout((function(){return r.focusInput()})))},r.onScroll=function(e){"boolean"===typeof r.props.closeMenuOnScroll?e.target instanceof HTMLElement&&it(e.target)&&r.props.onMenuClose():"function"===typeof r.props.closeMenuOnScroll&&r.props.closeMenuOnScroll(e)&&r.props.onMenuClose()},r.onCompositionStart=function(){r.isComposing=!0},r.onCompositionEnd=function(){r.isComposing=!1},r.onTouchStart=function(e){var t=e.touches,n=t&&t.item(0);n&&(r.initialTouchX=n.clientX,r.initialTouchY=n.clientY,r.userIsDragging=!1)},r.onTouchMove=function(e){var t=e.touches,n=t&&t.item(0);if(n){var i=Math.abs(n.clientX-r.initialTouchX),o=Math.abs(n.clientY-r.initialTouchY);r.userIsDragging=i>5||o>5}},r.onTouchEnd=function(e){r.userIsDragging||(r.controlRef&&!r.controlRef.contains(e.target)&&r.menuListRef&&!r.menuListRef.contains(e.target)&&r.blurInput(),r.initialTouchX=0,r.initialTouchY=0)},r.onControlTouchEnd=function(e){r.userIsDragging||r.onControlMouseDown(e)},r.onClearIndicatorTouchEnd=function(e){r.userIsDragging||r.onClearIndicatorMouseDown(e)},r.onDropdownIndicatorTouchEnd=function(e){r.userIsDragging||r.onDropdownIndicatorMouseDown(e)},r.handleInputChange=function(e){var t=r.props.inputValue,n=e.currentTarget.value;r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange(n,{action:"input-change",prevInputValue:t}),r.props.menuIsOpen||r.onMenuOpen()},r.onInputFocus=function(e){r.props.onFocus&&r.props.onFocus(e),r.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(r.openAfterFocus||r.props.openMenuOnFocus)&&r.openMenu("first"),r.openAfterFocus=!1},r.onInputBlur=function(e){var t=r.props.inputValue;r.menuListRef&&r.menuListRef.contains(document.activeElement)?r.inputRef.focus():(r.props.onBlur&&r.props.onBlur(e),r.onInputChange("",{action:"input-blur",prevInputValue:t}),r.onMenuClose(),r.setState({focusedValue:null,isFocused:!1}))},r.onOptionHover=function(e){r.blockOptionHover||r.state.focusedOption===e||r.setState({focusedOption:e})},r.shouldHideSelectedOptions=function(){return zn(r.props)},r.onKeyDown=function(e){var t=r.props,n=t.isMulti,i=t.backspaceRemovesValue,o=t.escapeClearsValue,a=t.inputValue,s=t.isClearable,c=t.isDisabled,l=t.menuIsOpen,u=t.onKeyDown,d=t.tabSelectsValue,f=t.openMenuOnFocus,h=r.state,p=h.focusedOption,m=h.focusedValue,g=h.selectValue;if(!c&&("function"!==typeof u||(u(e),!e.defaultPrevented))){switch(r.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||a)return;r.focusValue("previous");break;case"ArrowRight":if(!n||a)return;r.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(m)r.removeValue(m);else{if(!i)return;n?r.popValue():s&&r.clearValue()}break;case"Tab":if(r.isComposing)return;if(e.shiftKey||!l||!d||!p||f&&r.isOptionSelected(p,g))return;r.selectOption(p);break;case"Enter":if(229===e.keyCode)break;if(l){if(!p)return;if(r.isComposing)return;r.selectOption(p);break}return;case"Escape":l?(r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange("",{action:"menu-close",prevInputValue:a}),r.onMenuClose()):s&&o&&r.clearValue();break;case" ":if(a)return;if(!l){r.openMenu("first");break}if(!p)return;r.selectOption(p);break;case"ArrowUp":l?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":l?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!l)return;r.focusOption("pageup");break;case"PageDown":if(!l)return;r.focusOption("pagedown");break;case"Home":if(!l)return;r.focusOption("first");break;case"End":if(!l)return;r.focusOption("last");break;default:return}e.preventDefault()}},r.instancePrefix="react-select-"+(r.props.instanceId||++Fn),r.state.selectValue=nt(e.value),r}return ze(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,r=t.menuIsOpen,i=this.state.isFocused;(i&&!n&&e.isDisabled||i&&r&&!e.menuIsOpen)&&this.focusInput(),i&&n&&!e.isDisabled&&this.setState({isFocused:!1},this.onMenuClose),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(!function(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),i=t.offsetHeight/3;r.bottom+i>n.bottom?at(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+i,e.scrollHeight)):r.top-i<n.top&&at(e,Math.max(t.offsetTop-i,0))}(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,n=this.state,r=n.selectValue,i=n.isFocused,o=this.buildFocusableOptions(),a="first"===e?0:o.length-1;if(!this.props.isMulti){var s=o.indexOf(r[0]);s>-1&&(a=s)}this.scrollToFocusedOptionOnUpdate=!(i&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:o[a]},(function(){return t.onMenuOpen()}))}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,r=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var i=n.indexOf(r);r||(i=-1);var o=n.length-1,a=-1;if(n.length){switch(e){case"previous":a=0===i?0:-1===i?o:i-1;break;case"next":i>-1&&i<o&&(a=i+1)}this.setState({inputIsHidden:-1!==a,focusedValue:n[a]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,r=this.getFocusableOptions();if(r.length){var i=0,o=r.indexOf(n);n||(o=-1),"up"===e?i=o>0?o-1:r.length-1:"down"===e?i=(o+1)%r.length:"pageup"===e?(i=o-t)<0&&(i=0):"pagedown"===e?(i=o+t)>r.length-1&&(i=r.length-1):"last"===e&&(i=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[i],focusedValue:null})}}},{key:"getTheme",value:function(){return this.props.theme?"function"===typeof this.props.theme?this.props.theme(Dn):qe(qe({},Dn),this.props.theme):Dn}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getValue,i=this.selectOption,o=this.setValue,a=this.props,s=a.isMulti,c=a.isRtl,l=a.options;return{clearValue:e,cx:t,getStyles:n,getValue:r,hasValue:this.hasValue(),isMulti:s,isRtl:c,options:l,selectOption:i,selectProps:a,setValue:o,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return Un(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return Vn(this.props,e,t)}},{key:"filterOption",value:function(e,t){return Bn(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"===typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,o=e.inputId,a=e.inputValue,s=e.tabIndex,c=e.form,l=e.menuIsOpen,u=this.getComponents().Input,d=this.state,f=d.inputIsHidden,h=d.ariaSelection,p=this.commonProps,m=o||this.getElementId("input"),g=qe(qe({"aria-autocomplete":"list","aria-expanded":l,"aria-haspopup":!0,"aria-controls":this.getElementId("listbox"),"aria-owns":this.getElementId("listbox"),"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],role:"combobox"},!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null===h||void 0===h?void 0:h.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?i.createElement(u,r({},p,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:m,innerRef:this.getInputRef,isDisabled:t,isHidden:f,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:s,form:c,type:"text",value:a},g)):i.createElement(mn,r({id:m,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Qe,onFocus:this.onInputFocus,disabled:t,tabIndex:s,inputMode:"none",form:c,value:""},g))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,o=t.MultiValueContainer,a=t.MultiValueLabel,s=t.MultiValueRemove,c=t.SingleValue,l=t.Placeholder,u=this.commonProps,d=this.props,f=d.controlShouldRenderValue,h=d.isDisabled,p=d.isMulti,m=d.inputValue,g=d.placeholder,y=this.state,v=y.selectValue,b=y.focusedValue,_=y.isFocused;if(!this.hasValue()||!f)return m?null:i.createElement(l,r({},u,{key:"placeholder",isDisabled:h,isFocused:_,innerProps:{id:this.getElementId("placeholder")}}),g);if(p)return v.map((function(t,c){var l=t===b,d="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return i.createElement(n,r({},u,{components:{Container:o,Label:a,Remove:s},isFocused:l,isDisabled:h,key:d,index:c,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault(),e.stopPropagation()}},data:t}),e.formatOptionLabel(t,"value"))}));if(m)return null;var x=v[0];return i.createElement(c,r({},u,{data:x,isDisabled:h}),this.formatOptionLabel(x,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,o=n.isDisabled,a=n.isLoading,s=this.state.isFocused;if(!this.isClearable()||!e||o||!this.hasValue()||a)return null;var c={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return i.createElement(e,r({},t,{innerProps:c,isFocused:s}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,o=n.isDisabled,a=n.isLoading,s=this.state.isFocused;if(!e||!a)return null;return i.createElement(e,r({},t,{innerProps:{"aria-hidden":"true"},isDisabled:o,isFocused:s}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var o=this.commonProps,a=this.props.isDisabled,s=this.state.isFocused;return i.createElement(n,r({},o,{isDisabled:a,isFocused:s}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,o=this.state.isFocused,a={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return i.createElement(e,r({},t,{innerProps:a,isDisabled:n,isFocused:o}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,o=t.GroupHeading,a=t.Menu,s=t.MenuList,c=t.MenuPortal,l=t.LoadingMessage,u=t.NoOptionsMessage,d=t.Option,f=this.commonProps,h=this.state.focusedOption,p=this.props,m=p.captureMenuScroll,g=p.inputValue,y=p.isLoading,v=p.loadingMessage,b=p.minMenuHeight,_=p.maxMenuHeight,x=p.menuIsOpen,w=p.menuPlacement,S=p.menuPosition,E=p.menuPortalTarget,O=p.menuShouldBlockScroll,k=p.menuShouldScrollIntoView,T=p.noOptionsMessage,P=p.onMenuScrollToTop,j=p.onMenuScrollToBottom;if(!x)return null;var D,C=function(t,n){var o=t.type,a=t.data,s=t.isDisabled,c=t.isSelected,l=t.label,u=t.value,p=h===a,m=s?void 0:function(){return e.onOptionHover(a)},g=s?void 0:function(){return e.selectOption(a)},y="".concat(e.getElementId("option"),"-").concat(n),v={id:y,onClick:g,onMouseMove:m,onMouseOver:m,tabIndex:-1};return i.createElement(d,r({},f,{innerProps:v,data:a,isDisabled:s,isSelected:c,key:y,label:l,type:o,value:u,isFocused:p,innerRef:p?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())D=this.getCategorizedOptions().map((function(t){if("group"===t.type){var a=t.data,s=t.options,c=t.index,l="".concat(e.getElementId("group"),"-").concat(c),u="".concat(l,"-heading");return i.createElement(n,r({},f,{key:l,data:a,options:s,Heading:o,headingProps:{id:u,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map((function(e){return C(e,"".concat(c,"-").concat(e.index))})))}if("option"===t.type)return C(t,"".concat(t.index))}));else if(y){var M=v({inputValue:g});if(null===M)return null;D=i.createElement(l,f,M)}else{var R=T({inputValue:g});if(null===R)return null;D=i.createElement(u,f,R)}var N={minMenuHeight:b,maxMenuHeight:_,menuPlacement:w,menuPosition:S,menuShouldScrollIntoView:k},A=i.createElement(bt,r({},f,N),(function(t){var n=t.ref,o=t.placerProps,c=o.placement,l=o.maxHeight;return i.createElement(a,r({},f,N,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove,id:e.getElementId("listbox")},isLoading:y,placement:c}),i.createElement(Tn,{captureEnabled:m,onTopArrive:P,onBottomArrive:j,lockEnabled:O},(function(t){return i.createElement(s,r({},f,{innerRef:function(n){e.getMenuListRef(n),t(n)},isLoading:y,maxHeight:l,focusedOption:h}),D)})))}));return E||"fixed"===S?i.createElement(c,r({},f,{appendTo:E,controlElement:this.controlRef,menuPlacement:w,menuPosition:S}),A):A}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,r=t.isDisabled,o=t.isMulti,a=t.name,s=this.state.selectValue;if(a&&!r){if(o){if(n){var c=s.map((function(t){return e.getOptionValue(t)})).join(n);return i.createElement("input",{name:a,type:"hidden",value:c})}var l=s.length>0?s.map((function(t,n){return i.createElement("input",{key:"i-".concat(n),name:a,type:"hidden",value:e.getOptionValue(t)})})):i.createElement("input",{name:a,type:"hidden"});return i.createElement("div",null,l)}var u=s[0]?this.getOptionValue(s[0]):"";return i.createElement("input",{name:a,type:"hidden",value:u})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,o=t.focusedOption,a=t.focusedValue,s=t.isFocused,c=t.selectValue,l=this.getFocusableOptions();return i.createElement(nn,r({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:o,focusedValue:a,isFocused:s,selectValue:c,focusableOptions:l}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,o=e.
1SelectContainer,a=e.ValueContainer,s=this.props,c=s.className,l=s.id,u=s.isDisabled,d=s.menuIsOpen,f=this.state.isFocused,h=this.commonProps=this.getCommonProps();return i.createElement(o,r({},h,{className:c,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:u,isFocused:f}),this.renderLiveRegion(),i.createElement(t,r({},h,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:u,isFocused:f,menuIsOpen:d}),i.createElement(a,r({},h,{isDisabled:u}),this.renderPlaceholderOrValue(),this.renderInput()),i.createElement(n,r({},h,{isDisabled:u}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r=t.clearFocusValueOnUpdate,i=t.inputIsHiddenAfterUpdate,o=t.ariaSelection,a=t.isFocused,s=t.prevWasFocused,c=e.options,l=e.value,u=e.menuIsOpen,d=e.inputValue,f=e.isMulti,h=nt(l),p={};if(n&&(l!==n.value||c!==n.options||u!==n.menuIsOpen||d!==n.inputValue)){var m=u?function(e,t){return Nn(Rn(e,t))}(e,h):[],g=r?function(e,t){var n=e.focusedValue,r=e.selectValue.indexOf(n);if(r>-1){if(t.indexOf(n)>-1)return n;if(r<t.length)return t[r]}return null}(t,h):null,y=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,m);p={selectValue:h,focusedOption:y,focusedValue:g,clearFocusValueOnUpdate:!1}}var v=null!=i&&e!==n?{inputIsHidden:i,inputIsHiddenAfterUpdate:void 0}:{},b=o,_=a&&s;return a&&!_&&(b={value:mt(f,h,h[0]||null),options:h,action:"initial-input-focus"},_=!s),"initial-input-focus"===(null===o||void 0===o?void 0:o.action)&&(b=null),qe(qe(qe({},p),v),{},{prevProps:e,ariaSelection:b,prevWasFocused:_})}}]),n}(i.Component);Hn.defaultProps=Cn;var $n=i.forwardRef((function(e,t){var n=function(e){var t=e.defaultInputValue,n=void 0===t?"":t,r=e.defaultMenuIsOpen,o=void 0!==r&&r,a=e.defaultValue,s=void 0===a?null:a,c=e.inputValue,l=e.menuIsOpen,u=e.onChange,d=e.onInputChange,f=e.onMenuClose,h=e.onMenuOpen,p=e.value,m=Ie(e,Xt),g=Kt((0,i.useState)(void 0!==c?c:n),2),y=g[0],v=g[1],b=Kt((0,i.useState)(void 0!==l?l:o),2),_=b[0],x=b[1],w=Kt((0,i.useState)(void 0!==p?p:s),2),S=w[0],E=w[1],O=(0,i.useCallback)((function(e,t){"function"===typeof u&&u(e,t),E(e)}),[u]),k=(0,i.useCallback)((function(e,t){var n;"function"===typeof d&&(n=d(e,t)),v(void 0!==n?n:e)}),[d]),T=(0,i.useCallback)((function(){"function"===typeof h&&h(),x(!0)}),[h]),P=(0,i.useCallback)((function(){"function"===typeof f&&f(),x(!1)}),[f]),j=void 0!==c?c:y,D=void 0!==l?l:_,C=void 0!==p?p:S;return qe(qe({},m),{},{inputValue:j,menuIsOpen:D,onChange:O,onInputChange:k,onMenuClose:P,onMenuOpen:T,value:C})}(e);return i.createElement(Hn,r({ref:t},n))})),Yn=(i.Component,$n)},6983:function(e,t){"use strict";t.J=void 0;t.J=(e={})=>{if("undefined"===typeof window)return{persistAtom:()=>{}};const{key:t="recoil-persist",storage:n=localStorage}=e,r=(e,t,n,r)=>{r?delete t[n]:t[n]=e,a(t)},i=()=>{const e=n.getItem(t);return null===e||void 0===e?{}:"string"===typeof e?o(e):"function"===typeof e.then?e.then(o):{}},o=e=>{if(void 0===e)return{};try{return JSON.parse(e)}catch(t){return console.error(t),{}}},a=e=>{try{"function"===typeof n.mergeItem?n.mergeItem(t,JSON.stringify(e)):n.setItem(t,JSON.stringify(e))}catch(r){console.error(r)}};return{persistAtom:({onSet:e,node:t,trigger:n,setSelf:o})=>{if("get"===n){const e=i();"function"===typeof e.then&&e.then((e=>{e.hasOwnProperty(t.key)&&o(e[t.key])})),e.hasOwnProperty(t.key)&&o(e[t.key])}e((async(e,n,o)=>{const a=i();"function"===typeof a.then?a.then((n=>r(e,n,t.key,o))):r(e,a,t.key,o)}))}}}},4480:function(e,t,n){"use strict";n.d(t,{FV:function(){return cs},Wh:function(){return as},cn:function(){return ss}});var r=n(67294),i=n(73935);var o=function(e){const t=new Error(e);
1if(void 0===t.stack)try{throw t}catch(n){}return t};var a=function(e){return!!e&&"function"===typeof e.then};var s=function(e,t){if(null!=e)return e;throw o(null!==t&&void 0!==t?t:"Got unexpected null or undefined")};function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class l{getValue(){throw o("BaseLoadable")}toPromise(){throw o("BaseLoadable")}valueMaybe(){throw o("BaseLoadable")}valueOrThrow(){throw o(`Loadable expected value, but in "${this.state}" state`)}promiseMaybe(){throw o("BaseLoadable")}promiseOrThrow(){throw o(`Loadable expected promise, but in "${this.state}" state`)}errorMaybe(){throw o("BaseLoadable")}errorOrThrow(){throw o(`Loadable expected error, but in "${this.state}" state`)}is(e){return e.state===this.state&&e.contents===this.contents}map(e){throw o("BaseLoadable")}}class u extends l{constructor(e){super(),c(this,"state","hasValue"),c(this,"contents",void 0),this.contents=e}getValue(){return this.contents}toPromise(){return Promise.resolve(this.contents)}valueMaybe(){return this.contents}valueOrThrow(){return this.contents}promiseMaybe(){}errorMaybe(){}map(e){try{const t=e(this.contents);return a(t)?m(t):v(t)?t:h(t)}catch(t){return a(t)?m(t.next((()=>this.map(e)))):p(t)}}}class d extends l{constructor(e){super(),c(this,"state","hasError"),c(this,"contents",void 0),this.contents=e}getValue(){throw this.contents}toPromise(){return Promise.reject(this.contents)}valueMaybe(){}promiseMaybe(){}errorMaybe(){return this.contents}errorOrThrow(){return this.contents}map(e){return this}}class f extends l{constructor(e){super(),c(this,"state","loading"),c(this,"contents",void 0),this.contents=e}getValue(){throw this.contents}toPromise(){return this.contents}valueMaybe(){}promiseMaybe(){return this.contents}promiseOrThrow(){return this.contents}errorMaybe(){}map(e){return m(this.contents.then((t=>{const n=e(t);if(v(n)){const e=n;switch(e.state){case"hasValue":case"loading":return e.contents;case"hasError":throw e.contents}}return n})).catch((t=>{if(a(t))return t.then((()=>this.map(e).contents));throw t})))}}function h(e){return Object.freeze(new u(e))}function p(e){return Object.freeze(new d(e))}function m(e){return Object.freeze(new f(e))}function g(){return Object.freeze(new f(new Promise((()=>{}))))}function y(e){const t=function(e){return e.every((e=>"hasValue"===e.state))?h(e.map((e=>e.contents))):e.some((e=>"hasError"===e.state))?p(s(e.find((e=>"hasError"===e.state)),"Invalid loadable passed to loadableAll").contents):m(Promise.all(e.map((e=>e.contents))))}((Array.isArray(e)?e:Object.getOwnPropertyNames(e).map((t=>e[t]))).map((e=>v(e)?e:a(e)?m(e):h(e))));return Array.isArray(e)?t:t.map((t=>Object.getOwnPropertyNames(e).reduce(((e,n,r)=>({...e,[n]:t[r]})),{})))}function v(e){return e instanceof l}const b={of:e=>a(e)?m(e):v(e)?e:h(e),error:e=>p(e),loading:()=>g(),all:y,isLoadable:v};var _={loadableWithValue:h,loadableWithError:p,loadableWithPromise:m,loadableLoading:g,loadableAll:y,isLoadable:v,RecoilLoadable:b},x=_.loadableWithValue,w=_.loadableWithError,S=_.loadableWithPromise,E=_.loadableLoading,O=_.loadableAll,k=_.isLoadable,T=_.RecoilLoadable,P=Object.freeze({__proto__:null,loadableWithValue:x,loadableWithError:w,loadableWithPromise:S,loadableLoading:E,loadableAll:O,isLoadable:k,RecoilLoadable:T});const j=(new Map).set("recoil_hamt_2020",!0).set("recoil_sync_external_store",!0).set("recoil_suppress_rerender_in_callback",!0).set("recoil_memory_managament_2020",!0);function D(e){var t;return null!==(t=j.get(e))&&void 0!==t&&t}D.setPass=e=>{j.set(e,!0)},D.setFail=e=>{j.set(e,!1)},D.clear=()=>{j.clear()};var C,M,R,N=D;const A=null!==(C=r.createMutableSource)&&void 0!==C?C:r.unstable_createMutableSource,I=null!==(M=r.useMutableSource)&&void 0!==M?M:r.unstable_useMutableSource,L=null!==(R=r.useSyncExternalStore)&&void 0!==R?R:r.unstable_useSyncExternalStore;var U={createMutableSource:A,useMutableSource:I,useSyncExternalStore:L,reactMode:function(){return N("recoil_transition_support")?{mode:"TRANSITION_SUPPORT",early:!0,concurrent:!0}:N("recoil_sync_external_store")&&null!=L?{mode:"SYNC_EXTERNAL_STORE",early:!0,concurrent:!1}:N("recoil_mutable_source")&&null!=I&&"undefined"!==typeof window&&!window.$disableRecoilValueMutableSource_TEMP_HACK_DO_NOT_USE?N("recoil_suppress_rerender_in_callback")?{mode:"MUTABLE_SOURCE",early:!0,concurrent:!0}:{mode:"MUTABLE_SOURCE",early:!1,concurrent:!1}:N("recoil_suppress_rerender_in_callback")?{mode:"LEGACY",early:!0,concurrent:!1}:{mode:"LEGACY",early:!1,concurrent:!1}},isFastRefreshEnabled:function(){return!1}};class V{constructor(e){c(this,"key",void 0),this.key=e}toJSON(){return{key:this.key}}}class B extends V{}class z extends V{}var F={AbstractRecoilValue:V,RecoilState:B,RecoilValueReadOnly:z,isRecoilValue:function(e){return e instanceof B||e instanceof z}},H=F.AbstractRecoilValue,$=F.RecoilState,Y=F.RecoilValueReadOnly,W=F.isRecoilValue,G=Object.freeze({__proto__:null,AbstractRecoilValue:H,RecoilState:$,RecoilValueReadOnly:Y,isRecoilValue:W});var q=function(e,...t){0};var K=function(e,t){return function*(){let n=0;for(const r of e)yield t(r,n++)}()};var X=function(e,t,{error:n}={}){return null};const{isFastRefreshEnabled:Z}=U;class J{}const Q=new J,ee=new Map,te=new Map;
vendor: 16,117 bytes, line 1
1class ne extends Error{}const re=new Map;function ie(e){return re.get(e)}var oe={nodes:ee,recoilValues:te,registerNode:function(e){if(ee.has(e.key)){const t=`Duplicate atom key "${e.key}". This is a FATAL ERROR in\n production. But it is safe to ignore this warning if it occurred because of\n hot module replacement.`;console.warn(t)}ee.set(e.key,e);const t=null==e.set?new G.RecoilValueReadOnly(e.key):new G.RecoilState(e.key);return te.set(e.key,t),t},getNode:function(e){const t=ee.get(e);if(null==t)throw new ne(`Missing definition for RecoilValue: "${e}""`);return t},getNodeMaybe:function(e){return ee.get(e)},deleteNodeConfigIfPossible:function(e){var t;if(!N("recoil_memory_managament_2020"))return;const n=ee.get(e);var r;null!==n&&void 0!==n&&null!==(t=n.shouldDeleteConfigOnRelease)&&void 0!==t&&t.call(n)&&(ee.delete(e),null===(r=ie(e))||void 0===r||r(),re.delete(e))},setConfigDeletionHandler:function(e,t){N("recoil_memory_managament_2020")&&(void 0===t?re.delete(e):re.set(e,t))},getConfigDeletionHandler:ie,recoilValuesForKeys:function(e){return K(e,(e=>s(te.get(e))))},NodeMissingError:ne,DefaultValue:J,DEFAULT_VALUE:Q};var ae={enqueueExecution:function(e,t){t()}};var se,ce,le=(se=function(e){var t="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},n={},r=Math.pow(2,5),i=r-1,o=r/2,a=r/4,s={},c=function(e){return function(){return e}},l=n.hash=function(e){var n="undefined"===typeof e?"undefined":t(e);if("number"===n)return e;"string"!==n&&(e+="");for(var r=0,i=0,o=e.length;i<o;++i)r=(r<<5)-r+e.charCodeAt(i)|0;return r},u=function(e,t){return t>>>e&i},d=function(e){return 1<<e},f=function(e,t){return function(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,127&(e+=e>>8)+(e>>16)}(e&t-1)},h=function(e,t,n,r){var i=r;if(!e){var o=r.length;i=new Array(o);for(var a=0;a<o;++a)i[a]=r[a]}return i[t]=n,i},p=function(e,t,n){var r=n.length-1,i=0,o=0,a=n;if(e)i=o=t;else for(a=new Array(r);i<t;)a[o++]=n[i++];for(++i;i<=r;)a[o++]=n[i++];return e&&(a.length=r),a},m={__hamt_isEmpty:!0},g=function(e){return e===m||e&&e.__hamt_isEmpty},y=function(e,t,n,r){return{type:1,edit:e,hash:t,key:n,value:r,_modify:S}},v=function(e,t,n){return{type:2,edit:e,hash:t,children:n,_modify:E}},b=function(e,t,n){return{type:3,edit:e,mask:t,children:n,_modify:O}},_=function(e,t,n){return{type:4,edit:e,size:t,children:n,_modify:k}},x=function e(t,n,r,i,o,a){if(r===o)return v(t,r,[a,i]);var s=u(n,r),c=u(n,o);return b(t,d(s)|d(c),s===c?[e(t,n+5,r,i,o,a)]:s<c?[i,a]:[a,i])},w=function(e,t){return e===t.edit},S=function(e,t,n,r,i,o,a){if(t(o,this.key)){var c=r(this.value);return c===this.value?this:c===s?(--a.value,m):w(e,this)?(this.value=c,this):y(e,i,o,c)}var l=r();return l===s?this:(++a.value,x(e,n,this.hash,this,i,y(e,i,o,l)))},E=function(e,t,n,r,i,o,a){if(i===this.hash){var c=function(e,t,n,r,i,o,a,c){for(var l=i.length,u=0;u<l;++u){var d=i[u];if(n(a,d.key)){var f=d.value,m=o(f);return m===f?i:m===s?(--c.value,p(e,u,i)):h(e,u,y(t,r,a,m),i)}}var g=o();return g===s?i:(++c.value,h(e,l,y(t,r,a,g),i))}(w(e,this),e,t,this.hash,this.children,r,o,a);return c===this.children?this:c.length>1?v(e,this.hash,c):c[0]}var l=r();return l===s?this:(++a.value,x(e,n,this.hash,this,i,y(e,i,o,l)))},O=function(e,t,n,r,i,a,s){var c=this.mask,l=this.children,y=u(n,i),v=d(y),x=f(c,v),S=c&v,E=S?l[x]:m,O=E._modify(e,t,n+5,r,i,a,s);if(E===O)return this;var k=w(e,this),T=c,P=void 0;if(S&&g(O)){if(!(T&=~v))return m;if(l.length<=2&&function(e){return e===m||1===e.type||2===e.type}(l[1^x]))return l[1^x];P=p(k,x,l)}else if(S||g(O))P=h(k,x,O,l);else{if(l.length>=o)return function(e,t,n,r,i){for(var o=[],a=r,s=0,c=0;a;++c)1&a&&(o[c]=i[s++]),a>>>=1;return o[t]=n,_(e,s+1,o)}(e,y,O,c,l);T|=v,P=function(e,t,n,r){var i=r.length;if(e){for(var o=i;o>=t;)r[o--]=r[o];return r[t]=n,r}for(var a=0,s=0,c=new Array(i+1);a<t;)c[s++]=r[a++];for(c[t]=n;a<i;)c[++s]=r[a++];return c}(k,x,O,l)}return k?(this.mask=T,this.children=P,this):b(e,T,P)},k=function(e,t,n,r,i,o,s){var c=this.size,l=this.children,d=u(n,i),f=l[d],p=(f||m)._modify(e,t,n+5,r,i,o,s);if(f===p)return this;var y=w(e,this),v=void 0;if(g(f)&&!g(p))++c,v=h(y,d,p,l);else if(!g(f)&&g(p)){if(--c<=a)return function(e,t,n,r){for(var i=new Array(t-1),o=0,a=0,s=0,c=r.length;s<c;++s)if(s!==n){var l=r[s];l&&!g(l)&&(i[o++]=l,a|=1<<s)}return b(e,a,i)}(e,c,d,l);v=h(y,d,m,l)}else v=h(y,d,p,l);return y?(this.size=c,this.children=v,this):_(e,c,v)};function T(e,t,n,r,i){this._editable=e,this._edit=t,this._config=n,this._root=r,this._size=i}m._modify=function(e,t,n,r,i,o,a){var c=r();return c===s?m:(++a.value,y(e,i,o,c))},T.prototype.setTree=function(e,t){return this._editable?(this._root=e,this._size=t,this):e===this._root?this:new T(this._editable,this._edit,this._config,e,t)};var P=n.tryGetHash=function(e,t,n,r){for(var i=r._root,o=0,a=r._config.keyEq;;)switch(i.type){case 1:return a(n,i.key)?i.value:e;case 2:if(t===i.hash)for(var s=i.children,c=0,l=s.length;c<l;++c){var h=s[c];if(a(n,h.key))return h.value}return e;case 3:var p=u(o,t),m=d(p);if(i.mask&m){i=i.children[f(i.mask,m)],o+=5;break}return e;case 4:if(i=i.children[u(o,t)]){o+=5;break}return e;default:return e}};T.prototype.tryGetHash=function(e,t,n){return P(e,t,n,this)};var j=n.tryGet=function(e,t,n){return P(e,n._config.hash(t),t,n)};T.prototype.tryGet=function(e,t){return j(e,t,this)};var D=n.getHash=function(e,t,n){return P(void 0,e,t,n)};T.prototype.getHash=function(e,t){return D(e,t,this)},n.get=function(e,t){return P(void 0,t._config.hash(e),e,t)},T.prototype.get=function(e,t){return j(t,e,this)};var C=n.has=function(e,t,n){return P(s,e,t,n)!==s};T.prototype.hasHash=function(e,t){return C(e,t,this)};var M=n.has=function(e,t){return C(t._config.hash(e),e,t)};T.prototype.has=function(e){return M(e,this)};var R=function(e,t){return e===t};n.make=function(e){return new T(0,0,{keyEq:e&&e.keyEq||R,hash:e&&e.hash||l},m,0)},n.empty=n.make();var N=n.isEmpty=function(e){return e&&!!g(e._root)};T.prototype.isEmpty=function(){return N(this)};var A=n.modifyHash=function(e,t,n,r){var i={value:r._size},o=r._root._modify(r._editable?r._edit:NaN,r._config.keyEq,0,e,t,n,i);return r.setTree(o,i.value)};T.prototype.modifyHash=function(e,t,n){return A(n,e,t,this)};var I=n.modify=function(e,t,n){return A(e,n._config.hash(t),t,n)};T.prototype.modify=function(e,t){return I(t,e,this)};var L=n.setHash=function(e,t,n,r){return A(c(n),e,t,r)};T.prototype.setHash=function(e,t,n){return L(e,t,n,this)};var U=n.set=function(e,t,n){return L(n._config.hash(e),e,t,n)};T.prototype.set=function(e,t){return U(e,t,this)};var V=c(s),B=n.removeHash=function(e,t,n){return A(V,e,t,n)};T.prototype.removeHash=T.prototype.deleteHash=function(e,t){return B(e,t,this)};var z=n.remove=function(e,t){return B(t._config.hash(e),e,t)};T.prototype.remove=T.prototype.delete=function(e){return z(e,this)};var F=n.beginMutation=function(e){return new T(e._editable+1,e._edit+1,e._config,e._root,e._size)};T.prototype.beginMutation=function(){return F(this)};var H=n.endMutation=function(e){return e._editable=e._editable&&e._editable-1,e};T.prototype.endMutation=function(){return H(this)};var $=n.mutate=function(e,t){var n=F(t);return e(n),H(n)};T.prototype.mutate=function(e){return $(e,this)};var Y=function(e){return e&&W(e[0],e[1],e[2],e[3],e[4])},W=function(e,t,n,r,i){for(;n<e;){var o=t[n++];if(o&&!g(o))return G(o,r,[e,t,n,r,i])}return Y(i)},G=function(e,t,n){switch(e.type){case 1:return{value:t(e),rest:n};case 2:case 4:case 3:var r=e.children;return W(r.length,r,0,t,n);default:return Y(n)}},q={done:!0};function K(e){this.v=e}K.prototype.next=function(){if(!this.v)return q;var e=this.v;return this.v=Y(e.rest),e},K.prototype[Symbol.iterator]=function(){return this};var X=function(e,t){return new K(G(e._root,t))},Z=function(e){return[e.key,e.value]},J=n.entries=function(e){return X(e,Z)};T.prototype.entries=T.prototype[Symbol.iterator]=function(){return J(this)};var Q=function(e){return e.key},ee=n.keys=function(e){return X(e,Q)};T.prototype.keys=function(){return ee(this)};var te=function(e){return e.value},ne=n.values=T.prototype.values=function(e){return X(e,te)};T.prototype.values=function(){return ne(this)};var re=n.fold=function(e,t,n){var r=n._root;if(1===r.type)return e(t,r.value,r.key);for(var i=[r.children],o=void 0;o=i.pop();)for(var a=0,s=o.length;a<s;){var c=o[a++];c&&c.type&&(1===c.type?t=e(t,c.value,c.key):i.push(c.children))}return t};T.prototype.fold=function(e,t){return re(e,t,this)};var ie=n.forEach=function(e,t){return re((function(n,r,i){return e(r,i,t)}),null,t)};T.prototype.forEach=function(e){return ie(e,this)};var oe=n.count=function(e){return e._size};T.prototype.count=function(){return oe(this)},Object.defineProperty(T.prototype,"size",{get:T.prototype.count}),e.exports?e.exports=n:(void 0).hamt=n},se(ce={exports:{}},ce.exports),ce.exports);class ue{constructor(e){c(this,"_map",void 0),this._map=new Map(null===e||void 0===e?void 0:e.entries())}keys(){return this._map.keys()}entries(){return this._map.entries()}get(e){return this._map.get(e)}has(e){return this._map.has(e)}set(e,t){return this._map.set(e,t),this}delete(e){return this._map.delete(e),this}clone(){return fe(this)}toMap(){return new Map(this._map)}}class de{constructor(e){if(c(this,"_hamt",le.empty.beginMutation()),e instanceof de){const t=e._hamt.endMutation();e._hamt=t.beginMutation(),this._hamt=t.beginMutation()}else if(e)for(const[t,n]of e.entries())this._hamt.set(t,n)}keys(){return this._hamt.keys()}entries(){return this._hamt.entries()}get(e){return this._hamt.get(e)}has(e){return this._hamt.has(e)}set(e,t){return this._hamt.set(e,t),this}delete(e){return this._hamt.delete(e),this}clone(){return fe(this)}toMap(){return new Map(this._hamt)}}function fe(e){return N("recoil_hamt_2020")?new de(e):new ue(e)}var he=fe,pe=Object.freeze({__proto__:null,persistentMap:he});var me=function(e,...t){const n=new Set;e:for(const r of e){for(const e of t)if(e.has(r))continue e;n.add(r)}return n};var ge=function(e,t){const n=new Map;return e.forEach(((e,r)=>{n.set(r,t(e,r))})),n};function ye(e,t,n,r){const{nodeDeps:i,nodeToNodeSubscriptions:o}=n,a=i.get(e);if(a&&r&&a!==r.nodeDeps.get(e))return;i.set(e,t);const c=null==a?t:me(t,a);for(const l of c){o.has(l)||o.set(l,new Set);s(o.get(l)).add(e)}if(a){const n=me(a,t);for(const t of n){if(!o.has(t))return;const n=s(o.get(t));n.delete(e),0===n.size&&o.delete(t)}}}var ve={cloneGraph:function(e){return{nodeDeps:ge(e.nodeDeps,(e=>new Set(e))),nodeToNodeSubscriptions:ge(e.nodeToNodeSubscriptions,(e=>new Set(e)))}},graph:function(){return{nodeDeps:new Map,nodeToNodeSubscriptions:new Map}},saveDepsToStore:function(e,t,n,r){var i,o,a,s;const c=n.getState();r!==c.currentTree.version&&r!==(null===(i=c.nextTree)||void 0===i?void 0:i.version)&&r!==(null===(o=c.previousTree)||void 0===o?void 0:o.version)&&X("Tried to save dependencies to a discarded tree");const l=n.getGraph(r);if(ye(e,t,l),r===(null===(a=c.previousTree)||void 0===a?void 0:a.version)){ye(e,t,n.getGraph(c.currentTree.version),l)}if(r===(null===(s=c.previousTree)||void 0===s?void 0:s.version)||r===c.currentTree.version){var u;const r=null===(u=c.nextTree)||void 0===u?void 0:u.version;if(void 0!==r){ye(e,t,n.getGraph(r),l)}}}};let be=0;let _e=0;let xe=0;var we={getNextTreeStateVersion:()=>be++,getNextStoreID:()=>_e++,getNextComponentID:()=>xe++};const{persistentMap:Se}=pe,{graph:Ee}=ve,{getNextTreeStateVersion:Oe}=we;function ke(){const e=Oe();return{version:e,stateID:e,transactionMetadata:{},dirtyAtoms:new Set,atomValues:Se(),nonvalidatedAtoms:Se()}}var Te={makeEmptyTreeState:ke,makeEmptyStoreState:function(){const e=ke();return{currentTree:e,nextTree:null,previousTree:null,commitDepth:0,knownAtoms:new Set,knownSelectors:new Set,transactionSubscriptions:new Map,nodeTransactionSubscriptions:new Map,nodeToComponentSubscriptions:new Map,queuedComponentCallbacks_DEPRECATED:[],suspendedComponentResolvers:new Set,graphsByVersion:(new Map).set(e.version,Ee()),retention:{referenceCounts:new Map,nodesRetainedByZone:new Map,retainablesToCheckForRelease:new Set},nodeCleanupFunctions:new Map}},getNextTreeStateVersion:Oe};class Pe{}var je={RetentionZone:Pe,retentionZone:function(){return new Pe}};var De={setByAddingToSet:function(e,t){const n=new Set(e);return n.add(t),n},setByDeletingFromSet:function(e,t){const n=new Set(e);return n.delete(t),n},mapBySettingInMap:function(e,t,n){const r=new Map(e);return r.set(t,n),r},mapByUpdatingInMap:function(e,t,n){const r=new Map(e);return r.set(t,n(r.get(t))),r},mapByDeletingFromMap:function(e,t){const n=new Map(e);return n.delete(t),n},mapByDeletingMultipleFromMap:function(e,t){const n=new Map(e);return t.forEach((e=>n.delete(e))),n}};var Ce=function*(e,t){let n=0;for(const r of e)t(r,n++)&&(yield r)};var Me=function(e,t){return new Proxy(e,{get:(e,n)=>(!(n in e)&&n in t&&(e[n]=t[n]()),e[n]),ownKeys:e=>Object.keys(e)})};const{getNode:Re,getNodeMaybe:Ne,recoilValuesForKeys:Ae}=oe,{RetentionZone:Ie}=je,{setByAddingToSet:Le}=De,Ue=Object.freeze(new Set);class Ve extends Error{}function Be(e,t,n,r){const i=e.getState();if(i.nodeCleanupFunctions.has(n))return;const o=Re(n),a=function(e,t,n){if(!N("recoil_memory_managament_2020"))return()=>{};const{nodesRetainedByZone:r}=e.getState().retention;function i(e){let n=r.get(e);n||r.set(e,n=new Set),n.add(t)}if(n instanceof Ie)i(n);else if(Array.isArray(n))for(const o of n)i(o);return()=>{if(!N("recoil_memory_managament_2020"))return;const{retention:r}=e.getState();function i(e){const n=r.nodesRetainedByZone.get(e);null===n||void 0===n||n.delete(t),n&&0===n.size&&r.nodesRetainedByZone.delete(e)}if(n instanceof Ie)i(n);else if(Array.isArray(n))for(const e of n)i(e)}}(e,n,o.retainedBy),s=o.init(e,t,r);i.nodeCleanupFunctions.set(n,(()=>{s(),a()}))}function ze(e,t,n){return Re(n).peek(e,t)}function Fe(e,t,n){const r=new Set,i=Array.from(n),o=e.getGraph(t.version);for(let s=i.pop();s;s=i.pop()){var a;r.add(s);const e=null!==(a=o.nodeToNodeSubscriptions.get(s))&&void 0!==a?a:Ue;for(const t of e)r.has(t)||i.push(t)}return r}var He={getNodeLoadable:function(e,t,n){return Be(e,t,n,"get"),Re(n).get(e,t)},peekNodeLoadable:ze,setNodeValue:function(e,t,n,r){const i=Re(n);if(null==i.set)throw new Ve(`Attempt to set read-only RecoilValue: ${n}`);const o=i.set;return Be(e,t,n,"set"),o(e,t,r)},initializeNode:function(e,t,n){Be(e,e.getState().currentTree,t,n)},cleanUpNode:function(e,t){var n;const r=e.getState();null===(n=r.nodeCleanupFunctions.get(t))||void 0===n||n(),r.nodeCleanupFunctions.delete(t)},setUnvalidatedAtomValue_DEPRECATED:function(e,t,n){var r;const i=Ne(t);return null===i||void 0===i||null===(r=i.invalidate)||void 0===r||r.call(i,e),{...e,atomValues:e.atomValues.clone().delete(t),nonvalidatedAtoms:e.nonvalidatedAtoms.clone().set(t,n),dirtyAtoms:Le(e.dirtyAtoms,t)}},peekNodeInfo:function(e,t,n){const r=e.getState(),i=e.getGraph(t.version),o=Re(n).nodeType;return Me({type:o},{loadable:()=>ze(e,t,n),isActive:()=>r.knownAtoms.has(n)||r.knownSelectors.has(n),isSet:()=>"selector"!==o&&t.atomValues.has(n),isModified:()=>t.dirtyAtoms.has(n),deps:()=>{var e;return Ae(null!==(e=i.nodeDeps.get(n))&&void 0!==e?e:[])},subscribers:()=>{var i,o;return{nodes:Ae(Ce(Fe(e,t,new Set([n])),(e=>e!==n))),components:K(null!==(i=null===(o=r.nodeToComponentSubscriptions.get(n))||void 0===o?void 0:o.values())&&void 0!==i?i:[],(([e])=>({name:e})))}}})},getDownstreamNodes:Fe};let $e=null;var Ye={setInvalidateMemoizedSnapshot:function(e){$e=e},invalidateMemoizedSnapshot:function(){var e;null===(e=$e)||void 0===e||e()}};const{getDownstreamNodes:We,getNodeLoadable:Ge,setNodeValue:qe}=He,{getNextComponentID:Ke}=we,{getNode:Xe,getNodeMaybe:Ze}=oe,{DefaultValue:Je}=oe,{reactMode:Qe}=U,{AbstractRecoilValue:et,RecoilState:tt,RecoilValueReadOnly:nt,isRecoilValue:rt}=G,{invalidateMemoizedSnapshot:it}=Ye;function ot(e,t,n){if("set"===n.type){const{recoilValue:r,valueOrUpdater:i}=n,a=function(e,t,{key:n},r){if("function"===typeof r){const i=Ge(e,t,n);
1if("loading"===i.state){const e=`Tried to set atom or selector "${n}" using an updater function while the current state is pending, this is not currently supported.`;throw X(e),o(e)}if("hasError"===i.state)throw i.contents;return r(i.contents)}return r}(e,t,r,i),s=qe(e,t,r.key,a);for(const[e,n]of s.entries())at(t,e,n)}else if("setLoadable"===n.type){const{recoilValue:{key:e},loadable:r}=n;at(t,e,r)}else if("markModified"===n.type){const{recoilValue:{key:e}}=n;t.dirtyAtoms.add(e)}else if("setUnvalidated"===n.type){var r;const{recoilValue:{key:e},unvalidatedValue:i}=n,o=Ze(e);null===o||void 0===o||null===(r=o.invalidate)||void 0===r||r.call(o,t),t.atomValues.delete(e),t.nonvalidatedAtoms.set(e,i),t.dirtyAtoms.add(e)}else X(`Unknown action ${n.type}`)}function at(e,t,n){"hasValue"===n.state&&n.contents instanceof Je?e.atomValues.delete(t):e.atomValues.set(t,n),e.dirtyAtoms.add(t),e.nonvalidatedAtoms.delete(t)}function st(e,t){e.replaceState((n=>{const r=ut(n);for(const i of t)ot(e,r,i);return dt(e,r),it(),r}))}function ct(e,t){if(lt.length){const n=lt[lt.length-1];let r=n.get(e);r||n.set(e,r=[]),r.push(t)}else st(e,[t])}const lt=[];function ut(e){return{...e,atomValues:e.atomValues.clone(),nonvalidatedAtoms:e.nonvalidatedAtoms.clone(),dirtyAtoms:new Set(e.dirtyAtoms)}}function dt(e,t){const n=We(e,t,t.dirtyAtoms);for(const o of n){var r,i;null===(r=Ze(o))||void 0===r||null===(i=r.invalidate)||void 0===i||i.call(r,t)}}function ft(e,t,n){ct(e,{type:"set",recoilValue:t,valueOrUpdater:n})}var ht={RecoilValueReadOnly:nt,AbstractRecoilValue:et,RecoilState:tt,getRecoilValueAsLoadable:function(e,{key:t},n=e.getState().currentTree){var r,i;const o=e.getState();n.version!==o.currentTree.version&&n.version!==(null===(r=o.nextTree)||void 0===r?void 0:r.version)&&n.version!==(null===(i=o.previousTree)||void 0===i?void 0:i.version)&&X("Tried to read from a discarded tree");const a=Ge(e,n,t);return"loading"===a.state&&a.contents.catch((()=>{})),a}
vendor: 4,774 bytes, line 1
1,setRecoilValue:ft,setRecoilValueLoadable:function(e,t,n){if(n instanceof Je)return ft(e,t,n);ct(e,{type:"setLoadable",recoilValue:t,loadable:n})},markRecoilValueModified:function(e,t){ct(e,{type:"markModified",recoilValue:t})},setUnvalidatedRecoilValue:function(e,t,n){ct(e,{type:"setUnvalidated",recoilValue:t,unvalidatedValue:n})},subscribeToRecoilValue:function(e,{key:t},n,r=null){const i=Ke(),o=e.getState();o.nodeToComponentSubscriptions.has(t)||o.nodeToComponentSubscriptions.set(t,new Map),s(o.nodeToComponentSubscriptions.get(t)).set(i,[null!==r&&void 0!==r?r:"<not captured>",n]);const a=Qe();if(a.early&&("LEGACY"===a.mode||"MUTABLE_SOURCE"===a.mode)){const r=e.getState().nextTree;r&&r.dirtyAtoms.has(t)&&n(r)}return{release:()=>{const n=e.getState(),r=n.nodeToComponentSubscriptions.get(t);void 0!==r&&r.has(i)?(r.delete(i),0===r.size&&n.nodeToComponentSubscriptions.delete(t)):X(`Subscription missing at release time for atom ${t}. This is a bug in Recoil.`)}}},isRecoilValue:rt,applyAtomValueWrites:function(e,t){const n=e.clone();return t.forEach(((e,t)=>{"hasValue"===e.state&&e.contents instanceof Je?n.delete(t):n.set(t,e)})),n},batchStart:function(){const e=new Map;return lt.push(e),()=>{for(const[t,n]of e)st(t,n);lt.pop()!==e&&X("Incorrect order of batch popping")}},writeLoadableToTreeState:at,invalidateDownstreams:dt,copyTreeState:ut,refreshRecoilValue:function(e,t){var n;const{currentTree:r}=e.getState(),i=Xe(t.key);null===(n=i.clearCache)||void 0===n||n.call(i,e,r)}};var pt=function(e,t,n){const r=e.entries();let i=r.next();for(;!i.done;){const o=i.value;if(t.call(n,o[1],o[0],e))return!0;i=r.next()}return!1};const{cleanUpNode:mt}=He,{deleteNodeConfigIfPossible:gt,getNode:yt}=oe,{RetentionZone:vt}=je,bt=new Set;function _t(e,t){const n=e.getState(),r=n.currentTree;if(n.nextTree)return void X("releaseNodesNowOnCurrentTree should only be called at the end of a batch");const i=new Set;for(const a of t)if(a instanceof vt)for(const e of wt(n,a))i.add(e);else i.add(a);const o=function(e,t){const n=e.getState(),r=n.currentTree,i=e.getGraph(r.version),o=new Set,a=new Set;return c(t),o;function c(t){const l=new Set,u=function(e,t,n,r,i){const o=e.getGraph(t.version),a=[],c=new Set;for(;n.size>0;)l(s(n.values().next().value));return a;function l(e){if(r.has(e)||i.has(e))return void n.delete(e);if(c.has(e))return;const t=o.nodeToNodeSubscriptions.get(e);if(t)for(const n of t)l(n);c.add(e),n.delete(e),a.push(e)}}(e,r,t,o,a);for(const e of u){var d;if("recoilRoot"===yt(e).retainedBy){a.add(e);continue}if((null!==(d=n.retention.referenceCounts.get(e))&&void 0!==d?d:0)>0){a.add(e);continue}if(St(e).some((e=>n.retention.referenceCounts.get(e)))){a.add(e);continue}const t=i.nodeToNodeSubscriptions.get(e);t&&pt(t,(e=>a.has(e)))?a.add(e):(o.add(e),l.add(e))}const f=new Set;for(const e of l)for(const t of null!==(h=i.nodeDeps.get(e))&&void 0!==h?h:bt){var h;o.has(t)||f.add(t)}f.size&&c(f)}}(e,i);for(const a of o)xt(e,r,a)}function xt(e,t,n){if(!N("recoil_memory_managament_2020"))return;mt(e,n);const r=e.getState();r.knownAtoms.delete(n),r.knownSelectors.delete(n),r.nodeTransactionSubscriptions.delete(n),r.retention.referenceCounts.delete(n);const i=St(n);for(const c of i){var o;null===(o=r.retention.nodesRetainedByZone.get(c))||void 0===o||o.delete(n)}t.atomValues.delete(n),t.dirtyAtoms.delete(n),t.nonvalidatedAtoms.delete(n);const a=r.graphsByVersion.get(t.version);if(a){const e=a.nodeDeps.get(n);if(void 0!==e){a.nodeDeps.delete(n);for(const t of e){var s;null===(s=a.nodeToNodeSubscriptions.get(t))||void 0===s||s.delete(n)}}a.nodeToNodeSubscriptions.delete(n)}gt(n)}function wt(e,t){var n;return null!==(n=e.retention.nodesRetainedByZone.get(t))&&void 0!==n?n:bt}function St(e){const t=yt(e).retainedBy;return void 0===t||"components"===t||"recoilRoot"===t?[]:t instanceof vt?[t]:t}function Et(e,t){if(!N("recoil_memory_managament_2020"))return;e.getState().retention.referenceCounts.delete(t),function(e,t){const n=e.getState();n.nextTree?n.retention.retainablesToCheckForRelease.add(t):_t(e,new Set([t]))}(e,t)}var Ot={SUSPENSE_TIMEOUT_MS:12e4,updateRetainCount:function(e,t,n){var r;if(!N("recoil_memory_managament_2020"))return;const i=e.getState().retention.referenceCounts,o=(null!==(r=i.get(t))&&void 0!==r?r:0)+n;0===o?Et(e,t):i.set(t,o)},updateRetainCountToZero:Et,releaseScheduledRetainablesNow:function(e){if(!N("recoil_memory_managament_2020"))return;const t=e.getState();_t(e,t.retention.retainablesToCheckForRelease),t.retention.retainablesToCheckForRelease.clear()},retainedByOptionWithDefault:function(e){return void 0===e?"recoilRoot":e}};const{unstable_batchedUpdates:kt}=i;var Tt={unstable_batchedUpdates:kt};const{unstable_batchedUpdates:Pt}=Tt;var jt={unstable_batchedUpdates:Pt};const{batchStart:Dt}
1=ht,{unstable_batchedUpdates:Ct}=jt;let Mt=Ct;var Rt={getBatcher:()=>Mt,setBatcher:e=>{Mt=e},batchUpdates:e=>{Mt((()=>{let t=()=>{};try{t=Dt(),e()}finally{t()}}))}};var Nt=function*(e){for(const t of e)for(const e of t)yield e};const At="undefined"===typeof Window||"undefined"===typeof window,It="undefined"!==typeof navigator&&"ReactNative"===navigator.product;var Lt={isSSR:At,isReactNative:It,isWindow:e=>!At&&(e===window||e instanceof Window)};var Ut={memoizeWithArgsHash:function(e,t){let n;return(...r)=>{n||(n={});const i=t(...r);return Object.hasOwnProperty.call(n,i)||(n[i]=e(...r)),n[i]}},memoizeOneWithArgsHash:function(e,t){let n,r;return(...i)=>{const o=t(...i);return n===o||(n=o,r=e(...i)),r}},memoizeOneWithArgsHashAndInvalidation:function(e,t){let n,r;return[(...i)=>{const o=t(...i);return n===o||(n=o,r=e(...i)),r},()=>{n=null}]}};const{batchUpdates:Vt}=Rt,{initializeNode:Bt,peekNodeInfo:zt}=He,{graph:Ft}=ve,{getNextStoreID:Ht}=we,{DEFAULT_VALUE:$t,recoilValues:Yt,recoilValuesForKeys:Wt}=oe,{AbstractRecoilValue:Gt,getRecoilValueAsLoadable:qt,setRecoilValue:Kt,setUnvalidatedRecoilValue:Xt}=ht,{updateRetainCount:Zt}=Ot,{setInvalidateMemoizedSnapshot:Jt}=Ye,{getNextTreeStateVersion:Qt,makeEmptyStoreState:en}=Te,{isSSR:tn}=Lt,{memoizeOneWithArgsHashAndInvalidation:nn}=Ut;class rn{constructor(e,t){c(this,"_store",void 0),c(this,"_refCount",1),c(this,"getLoadable",(e=>(this.checkRefCount_INTERNAL(),qt(this._store,e)))),c(this,"getPromise",(e=>(this.checkRefCount_INTERNAL(),this.getLoadable(e).toPromise()))),c(this,"getNodes_UNSTABLE",(e=>{if(this.checkRefCount_INTERNAL(),!0===(null===e||void 0===e?void 0:e.isModified)){if(!1===(null===e||void 0===e?void 0:e.isInitialized))return[];const t=this._store.getState().currentTree;return Wt(t.dirtyAtoms)}const t=this._store.getState().knownAtoms,n=this._store.getState().knownSelectors;return null==(null===e||void 0===e?void 0:e.isInitialized)?Yt.values():!0===e.isInitialized?Wt(Nt([t,n])):Ce(Yt.values(),(({key:e})=>!t.has(e)&&!n.has(e)))})),c(this,"getInfo_UNSTABLE",(({key:e})=>(this.checkRefCount_INTERNAL(),zt(this._store,this._store.getState().currentTree,e)))),c(this,"map",(e=>{this.checkRefCount_INTERNAL();const t=new cn(this,Vt);return e(t),t})),c(this,"asyncMap",(async e=>{this.checkRefCount_INTERNAL();const t=new cn(this,Vt);return t.retain(),await e(t),t.autoRelease_INTERNAL(),t})),this._store={storeID:Ht(),parentStoreID:t,getState:()=>e,replaceState:t=>{e.currentTree=t(e.currentTree)},getGraph:t=>{const n=e.graphsByVersion;if(n.has(t))return s(n.get(t));const r=Ft();return n.set(t,r),r},subscribeToTransactions:()=>({release:()=>{}}),addTransactionMetadata:()=>{throw o("Cannot subscribe to Snapshots")}};for(const n of this._store.getState().knownAtoms)Bt(this._store,n,"get"),Zt(this._store,n,1);this.autoRelease_INTERNAL()}retain(){this._refCount<=0&&X("Attempt to retain() Snapshot that was already released."),this._refCount++;let e=!1;return()=>{e||(e=!0,this._release())}}autoRelease_INTERNAL(){tn||window.setTimeout((()=>this._release()),10)}_release(){if(this._refCount--,0===this._refCount){if(this._store.getState().nodeCleanupFunctions.forEach((e=>e())),this._store.getState().nodeCleanupFunctions.clear(),!N("recoil_memory_managament_2020"))return}else this._refCount}isRetained(){return this._refCount>0}checkRefCount_INTERNAL(){N("recoil_memory_managament_2020")&&this._refCount}getStore_INTERNAL(){return this.checkRefCount_INTERNAL(),this._store}getID(){return this.checkRefCount_INTERNAL(),this._store.getState().currentTree.stateID}getStoreID(){return this.checkRefCount_INTERNAL(),this._store.storeID}}function on(e,t,n=!1){const r=e.getState(),i=n?Qt():t.version;return{currentTree:{version:n?i:t.version,stateID:n?i:t.stateID,transactionMetadata:{...t.transactionMetadata},dirtyAtoms:new Set(t.dirtyAtoms),atomValues:t.atomValues.clone(),nonvalidatedAtoms:t.nonvalidatedAtoms.clone()},commitDepth:0,nextTree:null,previousTree:null,knownAtoms:new Set(r.knownAtoms),knownSelectors:new Set(r.knownSelectors),transactionSubscriptions:new Map,nodeTransactionSubscriptions:new Map,nodeToComponentSubscriptions:new Map,queuedComponentCallbacks_DEPRECATED:[],suspendedComponentResolvers:new Set,graphsByVersion:(new Map).set(i,e.getGraph(t.version)),retention:{referenceCounts:new Map,nodesRetainedByZone:new Map,retainablesToCheckForRelease:new Set}
1,nodeCleanupFunctions:new Map(K(r.nodeCleanupFunctions.entries(),(([e])=>[e,()=>{}])))}}const[an,sn]=nn(((e,t)=>{var n;const r=e.getState(),i="latest"===t?null!==(n=r.nextTree)&&void 0!==n?n:r.currentTree:s(r.previousTree);return new rn(on(e,i),e.storeID)}),((e,t)=>{var n,r;return String(t)+String(e.storeID)+String(null===(n=e.getState().nextTree)||void 0===n?void 0:n.version)+String(e.getState().currentTree.version)+String(null===(r=e.getState().previousTree)||void 0===r?void 0:r.version)}));Jt(sn);class cn extends rn{constructor(e,t){super(on(e.getStore_INTERNAL(),e.getStore_INTERNAL().getState().currentTree,!0),e.getStoreID()),c(this,"_batch",void 0),c(this,"set",((e,t)=>{this.checkRefCount_INTERNAL();const n=this.getStore_INTERNAL();this._batch((()=>{Zt(n,e.key,1),Kt(this.getStore_INTERNAL(),e,t)}))})),c(this,"reset",(e=>{this.checkRefCount_INTERNAL();const t=this.getStore_INTERNAL();this._batch((()=>{Zt(t,e.key,1),Kt(this.getStore_INTERNAL(),e,$t)}))})),c(this,"setUnvalidatedAtomValues_DEPRECATED",(e=>{this.checkRefCount_INTERNAL();const t=this.getStore_INTERNAL();Vt((()=>{for(const[n,r]of e.entries())Zt(t,n,1),Xt(t,new Gt(n),r)}))})),this._batch=t}}var ln={Snapshot:rn,MutableSnapshot:cn,freshSnapshot:function(e){const t=new rn(en());return null!=e?t.map(e):t},cloneSnapshot:function(e,t="latest"){const n=an(e,t);return n.isRetained()?n:(sn(),an(e,t))}},un=ln.Snapshot,dn=ln.MutableSnapshot,fn=ln.freshSnapshot,hn=ln.cloneSnapshot,pn=Object.freeze({__proto__:null,Snapshot:un,MutableSnapshot:dn,freshSnapshot:fn,cloneSnapshot:hn});var mn=function(...e){const t=new Set;for(const n of e)for(const e of n)t.add(e);return t};const{useRef:gn}=r;var yn=function(e){const t=gn(e);return t.current===e&&"function"===typeof e&&(t.current=e()),t};const{getNextTreeStateVersion:vn,makeEmptyStoreState:bn}=Te,{cleanUpNode:_n,getDownstreamNodes:xn,initializeNode:wn,setNodeValue:Sn,setUnvalidatedAtomValue_DEPRECATED:En}=He,{graph:On}=ve,{cloneGraph:kn}=ve,{getNextStoreID:Tn}=we,{createMutableSource:Pn,reactMode:jn}=U,{applyAtomValueWrites:Dn}=ht,{releaseScheduledRetainablesNow:Cn}=Ot,{freshSnapshot:Mn}=pn,{useCallback:Rn,useContext:Nn,useEffect:An,useMemo:In,useRef:Ln,useState:Un}=r;function Vn(){throw o("This component must be used inside a <RecoilRoot> component.")}const Bn=Object.freeze({storeID:Tn(),getState:Vn,replaceState:Vn,getGraph:Vn,subscribeToTransactions:Vn,addTransactionMetadata:Vn});let zn=!1;function Fn(e){if(zn)throw o("An atom update was triggered within the execution of a state updater function. State updater functions provided to Recoil must be pure functions.");const t=e.getState();if(null===t.nextTree){N("recoil_memory_managament_2020")&&N("recoil_release_on_cascading_update_killswitch_2021")&&t.commitDepth>0&&Cn(e);const n=t.currentTree.version,r=vn();t.nextTree={...t.currentTree,version:r,stateID:r,dirtyAtoms:new Set,transactionMetadata:{}},t.graphsByVersion.set(r,kn(s(t.graphsByVersion.get(n))))}}const Hn=r.createContext({current:Bn}),$n=()=>Nn(Hn),Yn=r.createContext(null);function Wn(e,t,n){const r=xn(e,n,n.dirtyAtoms);for(const i of r){const e=t.nodeToComponentSubscriptions.get(i);if(e)for(const[t,[r,i]]of e)i(n)}}function Gn(e){const t=e.getState(),n=t.currentTree,r=n.dirtyAtoms;if(r.size){for(const[n,i]of t.nodeTransactionSubscriptions)if(r.has(n))for(const[t,r]of i)r(e);for(const[n,r]of t.transactionSubscriptions)r(e);(!jn().early||t.suspendedComponentResolvers.size>0)&&(Wn(e,t,n),t.suspendedComponentResolvers.forEach((e=>e())),t.suspendedComponentResolvers.clear())}t.queuedComponentCallbacks_DEPRECATED.forEach((e=>e(n))),t.queuedComponentCallbacks_DEPRECATED.splice(0,t.queuedComponentCallbacks_DEPRECATED.length)}function qn({setNotifyBatcherOfChange:e}){const t=$n(),[,n]=Un([]);return e((()=>n({}))),An((()=>(e((()=>n({}
1))),()=>{e((()=>{}))})),[e]),An((()=>{ae.enqueueExecution("Batcher",(()=>{!function(e){const t=e.getState();t.commitDepth++;try{const{nextTree:n}=t;if(null==n)return;t.previousTree=t.currentTree,t.currentTree=n,t.nextTree=null,Gn(e),null!=t.previousTree?t.graphsByVersion.delete(t.previousTree.version):X("Ended batch with no previous state, which is unexpected","recoil"),t.previousTree=null,N("recoil_memory_managament_2020")&&null==n&&Cn(e)}finally{t.commitDepth--}}(t.current)}))})),null}let Kn=0;function Xn({initializeState_DEPRECATED:e,initializeState:t,store_INTERNAL:n,children:i}){let o;const a=e=>{const t=o.current.graphsByVersion;if(t.has(e))return s(t.get(e));const n=On();return t.set(e,n),n},c=(e,t)=>{if(null==t){const{transactionSubscriptions:t}=h.current.getState(),n=Kn++;return t.set(n,e),{release:()=>{t.delete(n)}}}{const{nodeTransactionSubscriptions:n}=h.current.getState();n.has(t)||n.set(t,new Map);const r=Kn++;return s(n.get(t)).set(r,e),{release:()=>{const e=n.get(t);e&&(e.delete(r),0===e.size&&n.delete(t))}}}},l=e=>{Fn(h.current);for(const t of Object.keys(e))s(h.current.getState().nextTree).transactionMetadata[t]=e[t]},u=e=>{Fn(h.current);const t=s(o.current.nextTree);let n;try{zn=!0,n=e(t)}finally{zn=!1}n!==t&&(o.current.nextTree=n,jn().early&&Wn(h.current,o.current,n),s(d.current)())},d=Ln(null),f=Rn((e=>{d.current=e}),[d]),h=yn((()=>null!==n&&void 0!==n?n:{storeID:Tn(),getState:()=>o.current,replaceState:u,getGraph:a,subscribeToTransactions:c,addTransactionMetadata:l}));null!=n&&(h.current=n),o=yn((()=>null!=e?function(e,t){const n=bn();return t({set:(t,r)=>{const i=n.currentTree,o=Sn(e,i,t.key,r),a=new Set(o.keys()),s=i.nonvalidatedAtoms.clone();for(const e of a)s.delete(e);n.currentTree={...i,dirtyAtoms:mn(i.dirtyAtoms,a),atomValues:Dn(i.atomValues,o),nonvalidatedAtoms:s}},setUnvalidatedAtomValues:e=>{e.forEach(((e,t)=>{n.currentTree=En(n.currentTree,t,e)}))}}),n}(h.current,e):null!=t?function(e){const t=Mn(e),n=t.getStore_INTERNAL().getState();return t.retain(),n.nodeCleanupFunctions.forEach((e=>e())),n.nodeCleanupFunctions.clear(),n}(t):bn()));const p=In((()=>null===Pn||void 0===Pn?void 0:Pn(o,(()=>o.current.currentTree.version))),[o]);return An((()=>{const e=h.current;for(const t of new Set(e.getState().knownAtoms))wn(e,t,"get");return()=>{for(const t of e.getState().knownAtoms)_n(e,t)}}),[h]),r.createElement(Hn.Provider,{value:h},r.createElement(Yn.Provider,{value:p},r.createElement(qn,{setNotifyBatcherOfChange:f}),i))}var Zn={RecoilRoot:function(e){const{override:t,...n}=e,i=$n();return!1===t&&i.current!==Bn?e.children:r.createElement(Xn,n)},useStoreRef:$n,useRecoilMutableSource:function(){const e=Nn(Yn);return null==e&&q("Attempted to use a Recoil hook outside of a <RecoilRoot>. <RecoilRoot> must be an ancestor of any component that uses Recoil hooks."),e},useRecoilStoreID:function(){return $n().current.storeID},notifyComponents_FOR_TESTING:Wn,sendEndOfBatchNotifications_FOR_TESTING:Gn};var Jn=function(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0,r=e.length;n<r;n++)if(e[n]!==t[n])return!1;return!0};const{useEffect:Qn,useRef:er}=r;var tr=function(e){const t=er();return Qn((()=>{t.current=e})),t.current};const{useStoreRef:nr}=Zn,{SUSPENSE_TIMEOUT_MS:rr}=Ot,{updateRetainCount:ir}=Ot,{RetentionZone:or}=je,{useEffect:ar,useRef:sr}=r,{isSSR:cr}=Lt;var lr=function(e){if(N("recoil_memory_managament_2020"))return function(e){const t=(Array.isArray(e)?e:[e]).map((e=>e instanceof or?e:e.key)),n=nr();ar((()=>{if(!N("recoil_memory_managament_2020"))return;const e=n.current;if(r.current&&!cr)window.clearTimeout(r.current),r.current=null;else for(const n of t)ir(e,n,1);return()=>{for(const n of t)ir(e,n,-1)}}),[n,...t]);const r=sr(),i=tr(t);if(!cr&&(void 0===i||!Jn(i,t))){const e=n.current;for(const n of t)ir(e,n,1);if(i)for(const t of i)ir(e,t,-1);r.current&&window.clearTimeout(r.current),r.current=window.setTimeout((()=>{r.current=null;for(const n of t)ir(e,n,-1)}),rr)}}(e)};var ur=function(){return"<component name not available>"};const{batchUpdates:dr}=Rt,{DEFAULT_VALUE:fr}=oe,{reactMode:hr,useMutableSource:pr,useSyncExternalStore:mr}=U,{useRecoilMutableSource:gr,useStoreRef:yr}=Zn,{isRecoilValue:vr}=G,{AbstractRecoilValue:br,getRecoilValueAsLoadable:_r,setRecoilValue:xr,setUnvalidatedRecoilValue:wr,subscribeToRecoilValue:Sr}=ht,{useCallback:Er,useEffect:Or,useMemo:kr,useRef:Tr,useState:Pr}=r,{setByAddingToSet:jr}=De;function Dr(e,t,n){if("hasValue"===e.state)return e.contents;if("loading"===e.state){throw new Promise((e=>{n.current.getState().suspendedComponentResolvers.add(e)}))}throw"hasError"===e.state?e.contents:o(`Invalid value of loadable atom "${t.key}"`)}function Cr(e){const t=yr(),n=ur(),r=Er((()=>{var n;const r=t.current,i=r.getState(),o=hr().early&&null!==(n=i.nextTree)&&void 0!==n?n:i.currentTree;return{loadable:_r(r,e,o),key:e.key}}
1),[t,e]),i=Er((e=>{let t;return()=>{var n,r;const i=e();return null!==(n=t)&&void 0!==n&&n.loadable.is(i.loadable)&&(null===(r=t)||void 0===r?void 0:r.key)===i.key?t:(t=i,i)}}),[]),o=kr((()=>i(r)),[r,i]),a=Er((r=>{const i=t.current;return Sr(i,e,r,n).release}),[t,e,n]);return mr(a,o,o).loadable}function Mr(e){const t=yr(),n=Er((()=>{var n;const r=t.current,i=r.getState(),o=hr().early&&null!==(n=i.nextTree)&&void 0!==n?n:i.currentTree;return _r(r,e,o)}),[t,e]),r=Er((()=>n()),[n]),i=ur(),a=Er(((r,o)=>{const a=t.current;return Sr(a,e,(()=>{if(!N("recoil_suppress_rerender_in_callback"))return o();const e=n();l.current.is(e)||o(),l.current=e}),i).release}),[t,e,i,n]),s=gr();if(null==s)throw o("Recoil hooks must be used in components contained within a <RecoilRoot> component.");const c=pr(s,r,a),l=Tr(c);return Or((()=>{l.current=c})),c}function Rr(e){const t=yr(),n=ur(),r=Er((()=>{var n;const r=t.current,i=r.getState(),o=hr().early&&null!==(n=i.nextTree)&&void 0!==n?n:i.currentTree;return _r(r,e,o)}),[t,e]),i=Er((()=>({loadable:r(),key:e.key})),[r,e.key]),o=Er((e=>{const t=i();return e.loadable.is(t.loadable)&&e.key===t.key?e:t}),[i]);Or((()=>{const r=Sr(t.current,e,(e=>{s(o)}),n);return s(o),r.release}),[n,e,t,o]);const[a,s]=Pr(i);return a.key!==e.key?i().loadable:a.loadable}function Nr(e){const t=yr(),[,n]=Pr([]),r=ur(),i=Er((()=>{var n;const r=t.current,i=r.getState(),o=hr().early&&null!==(n=i.nextTree)&&void 0!==n?n:i.currentTree;return _r(r,e,o)}),[t,e]),o=i(),a=Tr(o);return Or((()=>{a.current=o})),Or((()=>{const o=t.current,s=o.getState(),c=Sr(o,e,(e=>{var t;if(!N("recoil_suppress_rerender_in_callback"))return n([]);const r=i();null!==(t=a.current)&&void 0!==t&&t.is(r)||n(r),a.current=r}),r);if(s.nextTree)o.getState().queuedComponentCallbacks_DEPRECATED.push((()=>{a.current=null,n([])}));else{var l;if(!N("recoil_suppress_rerender_in_callback"))return n([]);const e=i();null!==(l=a.current)&&void 0!==l&&l.is(e)||n(e),a.current=e}return c.release}),[r,i,e,t]),o}function Ar(e){return N("recoil_memory_managament_2020")&&lr(e),{TRANSITION_SUPPORT:Rr,SYNC_EXTERNAL_STORE:Cr,MUTABLE_SOURCE:Mr,LEGACY:Nr}[hr().mode](e)}function Ir(e){const t=yr();return Dr(Ar(e),e,t)}function Lr(e){const t=yr();return Er((n=>{xr(t.current,e,n)}),[t,e])}function Ur(e){return N("recoil_memory_managament_2020")&&lr(e),Rr(e)}function Vr(e){const t=yr();return Dr(Ur(e),e,t)}var Br={recoilComponentGetRecoilValueCount_FOR_TESTING:{current:0},useRecoilInterface:function(){const e=ur(),t=yr(),[,n]=Pr([]),r=Tr(new Set);r.current=new Set;const i=Tr(new Set),o=Tr(new Map),a=Er((e=>{const t=o.current.get(e);t&&(t.release(),o.current.delete(e))}),[o]),s=Er(((e,t)=>{o.current.has(t)&&n([])}),[]);return Or((()=>{const n=t.current;me(r.current,i.current).forEach((t=>{if(o.current.has(t))return void q(`Double subscription to RecoilValue "${t}"`);const r=Sr(n,new br(t),(e=>s(e,t)),e);o.current.set(t,r);n.getState().nextTree?n.getState().queuedComponentCallbacks_DEPRECATED.push((()=>{s(n.getState(),t)})):s(n.getState(),t)})),me(i.current,r.current).forEach((e=>{a(e)})),i.current=r.current})),Or((()=>{const n=o.current;return me(r.current,new Set(n.keys())).forEach((r=>{const i=Sr(t.current,new br(r),(e=>s(e,r)),e);n.set(r,i)})),()=>n.forEach(((e,t)=>a(t)))}),[e,t,a,s]),kr((()=>{function e(e){return n=>{xr(t.current,e,n)}}function n(e){var n;r.current.has(e.key)||(r.current=jr(r.current,e.key));const i=t.current.getState();return _r(t.current,e,hr().early&&null!==(n=i.nextTree)&&void 0!==n?n:i.currentTree)}function i(e){return Dr(n(e),e,t)}
1return{getRecoilValue:i,getRecoilValueLoadable:n,getRecoilState:function(t){return[i(t),e(t)]},getRecoilStateLoadable:function(t){return[n(t),e(t)]},getSetRecoilState:e,getResetRecoilState:function(e){return()=>xr(t.current,e,fr)}}}),[r,t])},useRecoilState:function(e){return[Ir(e),Lr(e)]},useRecoilStateLoadable:function(e){return[Ar(e),Lr(e)]},useRecoilValue:Ir,useRecoilValueLoadable:Ar,useResetRecoilState:function(e){const t=yr();return Er((()=>{xr(t.current,e,fr)}),[t,e])},useSetRecoilState:Lr,useSetUnvalidatedAtomValues:function(){const e=yr();return(t,n={})=>{dr((()=>{e.current.addTransactionMetadata(n),t.forEach(((t,n)=>wr(e.current,new br(n),t)))}))}},useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE:Ur,useRecoilValue_TRANSITION_SUPPORT_UNSTABLE:Vr,useRecoilState_TRANSITION_SUPPORT_UNSTABLE:function(e){return[Vr(e),Lr(e)]}};var zr=function(e,t){const n=new Map;for(const[r,i]of e)t(i,r)&&n.set(r,i);return n};var Fr=function(e,t){const n=new Set;for(const r of e)t(r)&&n.add(r);return n};var Hr=function(...e){const t=new Map;for(let n=0;n<e.length;n++){const r=e[n].keys();let i;for(;!(i=r.next()).done;)t.set(i.value,e[n].get(i.value))}return t};const{batchUpdates:$r}=Rt,{DEFAULT_VALUE:Yr,getNode:Wr,nodes:Gr}=oe,{useStoreRef:qr}
1=Zn,{AbstractRecoilValue:Kr,setRecoilValueLoadable:Xr}=ht,{SUSPENSE_TIMEOUT_MS:Zr}=Ot,{cloneSnapshot:Jr}=pn,{useCallback:Qr,useEffect:ei,useRef:ti,useState:ni}=r,{isSSR:ri}=Lt;function ii(e){const t=qr();ei((()=>t.current.subscribeToTransactions(e).release),[e,t])}function oi(e){const t=e.atomValues.toMap(),n=ge(zr(t,((e,t)=>{const n=Wr(t).persistence_UNSTABLE;return null!=n&&"none"!==n.type&&"hasValue"===e.state})),(e=>e.contents));return Hr(e.nonvalidatedAtoms.toMap(),n)}function ai(e,t){var n;const r=e.getState(),i=null!==(n=r.nextTree)&&void 0!==n?n:r.currentTree,o=t.getStore_INTERNAL().getState().currentTree;$r((()=>{const n=new Set;for(const e of[i.atomValues.keys(),o.atomValues.keys()])for(const t of e){var r,a;(null===(r=i.atomValues.get(t))||void 0===r?void 0:r.contents)!==(null===(a=o.atomValues.get(t))||void 0===a?void 0:a.contents)&&Wr(t).shouldRestoreFromSnapshots&&n.add(t)}n.forEach((t=>{Xr(e,new Kr(t),o.atomValues.has(t)?s(o.atomValues.get(t)):Yr)})),e.replaceState((e=>({...e,stateID:t.getID()})))}))}var si={useRecoilSnapshot:function(){const e=qr(),[t,n]=ni((()=>Jr(e.current))),r=tr(t),i=ti(),o=ti();if(ii(Qr((e=>n(Jr(e))),[])),ei((()=>{const e=t.retain();var n;i.current&&!ri&&(window.clearTimeout(i.current),i.current=null,null===(n=o.current)||void 0===n||n.call(o),o.current=null);return()=>{window.setTimeout(e,10)}}),[t]),r!==t&&!ri){var a;if(i.current)window.clearTimeout(i.current),i.current=null,null===(a=o.current)||void 0===a||a.call(o),o.current=null;o.current=t.retain(),i.current=window.setTimeout((()=>{var e;i.current=null,null===(e=o.current)||void 0===e||e.call(o),o.current=null}),Zr)}return t},gotoSnapshot:ai,useGotoRecoilSnapshot:function(){const e=qr();return Qr((t=>ai(e.current,t)),[e])},useRecoilTransactionObserver:function(e){ii(Qr((t=>{const n=Jr(t,"latest"),r=Jr(t,"previous");e({snapshot:n,previousSnapshot:r})}),[e]))},useTransactionObservation_DEPRECATED:function(e){ii(Qr((t=>{let n=t.getState().previousTree;const r=t.getState().currentTree;n||(X("Transaction subscribers notified without a previous tree being present -- this is a bug in Recoil"),n=t.getState().currentTree);const i=oi(r),o=oi(n),a=ge(Gr,(e=>{var t,n,r,i;return{persistence_UNSTABLE:{type:null!==(t=null===(n=e.persistence_UNSTABLE)||void 0===n?void 0:n.type)&&void 0!==t?t:"none",backButton:null!==(r=null===(i=e.persistence_UNSTABLE)||void 0===i?void 0:i.backButton)&&void 0!==r&&r}}})),s=Fr(r.dirtyAtoms,(e=>i.has(e)||o.has(e)));e({atomValues:i,previousAtomValues:o,atomInfo:a,modifiedAtoms:s,transactionMetadata:{...r.transactionMetadata}})}),[e]))},useTransactionSubscription_DEPRECATED:ii};const{peekNodeInfo:ci}=He,{useStoreRef:li}=Zn;var ui=function(){const e=li();return({key:t})=>ci(e.current,e.current.getState().currentTree,t)};const{reactMode:di}=U,{RecoilRoot:fi,useStoreRef:hi}=Zn,{useMemo:pi}=r;var mi=function(){"MUTABLE_SOURCE"===di().mode&&console.warn("Warning: There are known issues using useRecoilBridgeAcrossReactRoots() in recoil_mutable_source rendering mode. Please consider upgrading to recoil_sync_external_store mode.");const e=hi().current;return pi((()=>function({children:t}){return r.createElement(fi,{store_INTERNAL:e},t)}),[e])};const{loadableWithValue:gi}=P,{initializeNode:yi}=He,{DEFAULT_VALUE:vi,getNode:bi}=oe,{copyTreeState:_i,getRecoilValueAsLoadable:xi,invalidateDownstreams:wi,writeLoadableToTreeState:Si}=ht;function Ei(e){return"atom"===bi(e.key).nodeType}class Oi{constructor(e,t){c(this,"_store",void 0),c(this,"_treeState",void 0),c(this,"_changes",void 0),c(this,"get",(e=>{if(this._changes.has(e.key))return this._changes.get(e.key);if(!Ei(e))throw o("Reading selectors within atomicUpdate is not supported");const t=xi(this._store,e,this._treeState);if("hasValue"===t.state)return t.contents;throw"hasError"===t.state?t.contents:o(`Expected Recoil atom ${e.key} to have a value, but it is in a loading state.`)})),c(this,"set",((e,t)=>{if(!Ei(e))throw o("Setting selectors within atomicUpdate is not supported");if("function"===typeof t){const n=this.get(e);this._changes.set(e.key,t(n))}else yi(this._store,e.key,"set"),this._changes.set(e.key,t)})),c(this,"reset",(e=>{this.set(e,vi)})),this._store=e,this._treeState=t,this._changes=new Map}
1newTreeState_INTERNAL(){if(0===this._changes.size)return this._treeState;const e=_i(this._treeState);for(const[t,n]of this._changes)Si(e,t,gi(n));return wi(this._store,e),e}}var ki=function(e){return t=>{e.replaceState((n=>{const r=new Oi(e,n);return t(r),r.newTreeState_INTERNAL()}))}},Ti=ki,Pi=Object.freeze({__proto__:null,atomicUpdater:Ti});var ji=function(e,t){if(!e)throw new Error(t)};const{atomicUpdater:Di}=Pi,{batchUpdates:Ci}=Rt,{DEFAULT_VALUE:Mi}=oe,{useStoreRef:Ri}=Zn,{refreshRecoilValue:Ni,setRecoilValue:Ai}=ht,{cloneSnapshot:Ii}=pn,{gotoSnapshot:Li}=si,{useCallback:Ui}=r;class Vi{}const Bi=new Vi;function zi(e,t,n,r){let i,s=Bi;var c;(Ci((()=>{const a="useRecoilCallback() expects a function that returns a function: it accepts a function of the type (RecoilInterface) => (Args) => ReturnType and returns a callback function (Args) => ReturnType, where RecoilInterface is an object {snapshot, set, ...} and Args and ReturnType are the argument and return types of the callback you want to create. Please see the docs at recoiljs.org for details.";if("function"!==typeof t)throw o(a);const c=Me({...null!==r&&void 0!==r?r:{},set:(t,n)=>Ai(e,t,n),reset:t=>Ai(e,t,Mi),refresh:t=>Ni(e,t),gotoSnapshot:t=>Li(e,t),transact_UNSTABLE:t=>Di(e)(t)},{snapshot:()=>{const t=Ii(e);return i=t.retain(),t}}),l=t(c);if("function"!==typeof l)throw o(a);s=l(...n)})),s instanceof Vi&&ji(!1),a(s))?s.finally((()=>{var e;null===(e=i)||void 0===e||e()})):null===(c=i)||void 0===c||c();return s}var Fi={recoilCallback:zi,useRecoilCallback:function(e,t){const n=Ri();return Ui(((...t)=>zi(n.current,e,t)),null!=t?[...t,n]:void 0)}};const{useStoreRef:Hi}=Zn,{refreshRecoilValue:$i}=ht,{useCallback:Yi}=r;var Wi=function(e){const t=Hi();return Yi((()=>{const n=t.current;$i(n,e)}),[e,t])};const{atomicUpdater:Gi}=Pi,{useStoreRef:qi}=Zn,{useMemo:Ki}=r;var Xi=function(e,t){const n=qi();return Ki((()=>(...t)=>{Gi(n.current)((n=>{e(n)(...t)}))}),null!=t?[...t,n]:void 0)};var Zi=class{constructor(e){c(this,"value",void 0),this.value=e}},Ji=Object.freeze({__proto__:null,WrappedValue:Zi});const{isFastRefreshEnabled:Qi}=U;
vendor: 5,578 bytes, line 1
1class eo extends Error{}var to=class{constructor(e){var t,n,r;c(this,"_name",void 0),c(this,"_numLeafs",void 0),c(this,"_root",void 0),c(this,"_onHit",void 0),c(this,"_onSet",void 0),c(this,"_mapNodeValue",void 0),this._name=null===e||void 0===e?void 0:e.name,this._numLeafs=0,this._root=null,this._onHit=null!==(t=null===e||void 0===e?void 0:e.onHit)&&void 0!==t?t:()=>{},this._onSet=null!==(n=null===e||void 0===e?void 0:e.onSet)&&void 0!==n?n:()=>{},this._mapNodeValue=null!==(r=null===e||void 0===e?void 0:e.mapNodeValue)&&void 0!==r?r:e=>e}size(){return this._numLeafs}root(){return this._root}get(e,t){var n;return null===(n=this.getLeafNode(e,t))||void 0===n?void 0:n.value}getLeafNode(e,t){if(null==this._root)return;let n=this._root;for(;n;){if(null===t||void 0===t||t.onNodeVisit(n),"leaf"===n.type)return this._onHit(n),n;const r=this._mapNodeValue(e(n.nodeKey));n=n.branches.get(r)}}set(e,t,n){const r=()=>{var r,i,o,a;let s,c;for(const[t,p]of e){var l,u,d;const e=this._root;if("leaf"===(null===e||void 0===e?void 0:e.type))throw this.invalidCacheError();const r=s;if(s=r?r.branches.get(c):e,s=null!==(l=s)&&void 0!==l?l:{type:"branch",nodeKey:t,parent:r,branches:new Map,branchKey:c},"branch"!==s.type||s.nodeKey!==t)throw this.invalidCacheError();null===r||void 0===r||r.branches.set(c,s),null===n||void 0===n||null===(u=n.onNodeVisit)||void 0===u||u.call(n,s),c=this._mapNodeValue(p),this._root=null!==(d=this._root)&&void 0!==d?d:s}const f=s?null===(r=s)||void 0===r?void 0:r.branches.get(c):this._root;if(null!=f&&("leaf"!==f.type||f.branchKey!==c))throw this.invalidCacheError();const h={type:"leaf",value:t,parent:s,branchKey:c};null===(i=s)||void 0===i||i.branches.set(c,h),this._root=null!==(o=this._root)&&void 0!==o?o:h,this._numLeafs++,this._onSet(h),null===n||void 0===n||null===(a=n.onNodeVisit)||void 0===a||a.call(n,h)};try{r()}catch(i){if(!(i instanceof eo))throw i;this.clear(),r()}}delete(e){const t=this.root();if(!t)return!1;if(e===t)return this._root=null,this._numLeafs=0,!0;let n=e.parent,r=e.branchKey;for(;n;){var i;if(n.branches.delete(r),n===t)return 0===n.branches.size?(this._root=null,this._numLeafs=0):this._numLeafs--,!0;if(n.branches.size>0)break;r=null===(i=n)||void 0===i?void 0:i.branchKey,n=n.parent}for(;n!==t;n=n.parent)if(null==n)return!1;return this._numLeafs--,!0}clear(){this._numLeafs=0,this._root=null}invalidCacheError(){const e=Qi()?"Possible Fast Refresh module reload detected. This may also be caused by an selector returning inconsistent values. Resetting cache.":"Invalid cache values. This happens when selectors do not return consistent values for the same input dependency values. That may also be caused when using Fast Refresh to change a selector implementation. Resetting cache.";throw X(e+(null!=this._name?` - ${this._name}`:"")),new eo}},no=Object.freeze({__proto__:null,TreeCache:to});var ro=class{constructor(e){var t;c(this,"_maxSize",void 0),c(this,"_size",void 0),c(this,"_head",void 0),c(this,"_tail",void 0),c(this,"_map",void 0),c(this,"_keyMapper",void 0),this._maxSize=e.maxSize,this._size=0,this._head=null,this._tail=null,this._map=new Map,this._keyMapper=null!==(t=e.mapKey)&&void 0!==t?t:e=>e}head(){return this._head}tail(){return this._tail}size(){return this._size}maxSize(){return this._maxSize}has(e){return this._map.has(this._keyMapper(e))}get(e){const t=this._keyMapper(e),n=this._map.get(t);if(n)return this.set(e,n.value),n.value}set(e,t){const n=this._keyMapper(e);this._map.get(n)&&this.delete(e);const r=this.head(),i={key:e,right:r,left:null,value:t};r?r.left=i:this._tail=i,this._map.set(n,i),this._head=i,this._size++,this._maybeDeleteLRU()}_maybeDeleteLRU(){this.size()>this.maxSize()&&this.deleteLru()}deleteLru(){const e=this.tail();e&&this.delete(e.key)}delete(e){const t=this._keyMapper(e);if(!this._size||!this._map.has(t))return;const n=s(this._map.get(t)),r=n.right,i=n.left;r&&(r.left=n.left),i&&(i.right=n.right),n===this.head()&&(this._head=r),n===this.tail()&&(this._tail=i),this._map.delete(t),this._size--}clear(){this._size=0,this._head=null,this._tail=null,this._map=new Map}},io=Object.freeze({__proto__:null,LRUCache:ro});const{LRUCache:oo}=io,{TreeCache:ao}=no;var so=function({name:e,maxSize:t,mapNodeValue:n=(e=>e)}){const r=new oo({maxSize:t}),i=new ao({name:e,mapNodeValue:n,onHit:e=>{r.set(e,!0)},onSet:e=>{const n=r.tail();r.set(e,!0),n&&i.size()>t&&i.delete(n.key)}});return i};function co(e,t,n){if("string"===typeof e&&!e.includes('"')&&!e.includes("\\"))return`"${e}"`;switch(typeof e){case"undefined":return"";case"boolean":return e?"true":"false";case"number":case"symbol":return String(e);case"string":return JSON.stringify(e);case"function":if(!0!==(null===t||void 0===t?void 0:t.allowFunctions))throw o("Attempt to serialize function in a Recoil cache key");return`__FUNCTION(${e.name})__`}if(null===e)return"null";var r;if("object"!==typeof e)return null!==(r=JSON.stringify(e))&&void 0!==r?r:"";if(a(e))return"__PROMISE__";if(Array.isArray(e))return`[${e.map(((e,n)=>co(e,t,n.toString())))}]`;if("function"===typeof e.toJSON)return co(e.toJSON(n),t,n);if(e instanceof Map){const r={};for(const[n,i]of e)r["string"===typeof n?n:co(n,t)]=i;return co(r,t,n)}return e instanceof Set?co(Array.from(e).sort(((e,n)=>co(e,t).localeCompare(co(n,t)))),t,n):void 0!==Symbol&&null!=e[Symbol.iterator]&&"function"===typeof e[Symbol.iterator]?co(Array.from(e),t,n):`{${Object.keys(e).filter((t=>void 0!==e[t])).sort().map((n=>`${co(n,t)}:${co(e[n],t,n)}`)).join(",")}}`}var lo=function(e,t={allowFunctions:!1}){return co(e,t)};const{TreeCache:uo}
1=no,fo={equality:"reference",eviction:"keep-all",maxSize:1/0};var ho=function({equality:e=fo.equality,eviction:t=fo.eviction,maxSize:n=fo.maxSize}=fo,r){const i=function(e){switch(e){case"reference":return e=>e;case"value":return e=>lo(e)}throw o(`Unrecognized equality policy ${e}`)}(e);return function(e,t,n,r){switch(e){case"keep-all":return new uo({name:r,mapNodeValue:n});case"lru":return so({name:r,maxSize:s(t),mapNodeValue:n});case"most-recent":return so({name:r,maxSize:1,mapNodeValue:n})}throw o(`Unrecognized eviction policy ${e}`)}(t,n,i,r)};const{isReactNative:po,isWindow:mo}=Lt;var go={startPerfBlock:function(e){return()=>null}};const{isLoadable:yo,loadableWithError:vo,loadableWithPromise:bo,loadableWithValue:_o}=P,{WrappedValue:xo}=Ji,{getNodeLoadable:wo,peekNodeLoadable:So,setNodeValue:Eo}=He,{saveDepsToStore:Oo}=ve,{DEFAULT_VALUE:ko,getConfigDeletionHandler:To,getNode:Po,registerNode:jo}=oe,{isRecoilValue:Do}=G,{markRecoilValueModified:Co}=ht,{retainedByOptionWithDefault:Mo}=Ot,{recoilCallback:Ro}=Fi,{startPerfBlock:No}=go;class Ao{}const Io=new Ao,Lo=[],Uo=new Map,Vo=(()=>{let e=0;return()=>e++})();function Bo(e){let t=null;const{key:n,get:r,cachePolicy_UNSTABLE:i}=e,c=null!=e.set?e.set:void 0;const l=new Set,u=ho(null!==i&&void 0!==i?i:{equality:"reference",eviction:"keep-all"},n),d=Mo(e.retainedBy_UNSTABLE),f=new Map;let h=0;function p(){return!N("recoil_memory_managament_2020")||h>0}function m(e){return e.getState().knownSelectors.add(n),h++,()=>{h--}}function g(){return void 0!==To(n)&&!p()}function y(e,t,n,r,i){D(t,r,i),v(e,n)}function v(e,t){j(e,t)&&P(e),b(t,!0)}function b(e,n){const r=Uo.get(e);if(null!=r){for(const e of r)Co(e,s(t));n&&Uo.delete(e)}}function _(e,t){let n=Uo.get(t);null==n&&Uo.set(t,n=new Set),n.add(e)}function x(e,t,n,r,i,o){return t.then((r=>{if(!p())throw P(e),Io;null!=o.loadingDepKey&&o.loadingDepPromise===t?n.atomValues.set(o.loadingDepKey,_o(r)):e.getState().knownSelectors.forEach((e=>{n.atomValues.delete(e)}));const a=E(e,n);if(a&&"loading"!==a.state){if((j(e,i)||null==T(e))&&v(e,i),"hasValue"===a.state)return a.contents;throw a.contents}if(!j(e,i)){const t=k(e,n);if(null!=t)return t.loadingLoadable.contents}const[s,c]=S(e,n,i);if("loading"!==s.state&&y(e,n,i,s,c),"hasError"===s.state)throw s.contents;return s.contents})).catch((t=>{if(t instanceof Ao)throw Io;if(!p())throw P(e),Io;const o=vo(t);throw y(e,n,i,o,r),t}))}function w(e,t,r,i){var o,a,s,c,u,d,f;(j(e,i)||t.version===(null===(o=e.getState())||void 0===o||null===(a=o.currentTree)||void 0===a?void 0:a.version)||t.version===(null===(s=e.getState())||void 0===s||null===(c=s.nextTree)||void 0===c?void 0:c.version))&&Oo(n,r,e,null!==(u=null===(d=e.getState())||void 0===d||null===(f=d.nextTree)||void 0===f?void 0:f.version)&&void 0!==u?u:e.getState().currentTree.version);for(const n of r)l.add(n)}function S(e,i,c){const l=No(n);let u=!0,d=!0;const f=()=>{l(),d=!1};let h,m,g=!1;const v={loadingDepKey:null,loadingDepPromise:null},_=new Map;function S({key:t}){const n=wo(e,i,t);switch(_.set(t,n),u||(w(e,i,new Set(_.keys()),c),function(e,t){j(e,t)&&(s(T(e)).stateVersions.clear(),b(t,!1))}(e,c)),n.state){case"hasValue":return n.contents;case"hasError":throw n.contents;case"loading":throw v.loadingDepKey=t,v.loadingDepPromise=n.contents,n.contents}throw o("Invalid Loadable state")}const E=n=>(...r)=>{if(d)throw o("Callbacks from getCallback() should only be called asynchronously after the selector is evalutated. It c
1an be used for selectors to return objects with callbacks that can work with Recoil state without a subscription.");return null==t&&ji(!1),Ro(e,n,r,{node:t})};try{h=r({get:S,getCallback:E}),h=Do(h)?S(h):h,yo(h)&&("hasError"===h.state&&(g=!0),h=h.contents),a(h)?h=function(e,t,n,r,i,o){return t.then((t=>{if(!p())throw P(e),Io;const o=_o(t);return y(e,n,i,o,r),t})).catch((t=>{if(!p())throw P(e),Io;if(a(t))return x(e,t,n,r,i,o);const s=vo(t);throw y(e,n,i,s,r),t}))}(e,h,i,_,c,v).finally(f):f(),h=h instanceof xo?h.value:h}catch(O){h=O,a(h)?h=x(e,h,i,_,c,v).finally(f):(g=!0,f())}return m=g?vo(h):a(h)?bo(h):_o(h),u=!1,function(e,t,n){if(j(e,t)){const t=T(e);null!=t&&(t.depValuesDiscoveredSoFarDuringAsyncWork=n)}}(e,c,_),w(e,i,new Set(_.keys()),c),[m,_]}function E(e,t){let r=t.atomValues.get(n);if(null!=r)return r;const i=new Set;try{r=u.get((n=>("string"!==typeof n&&ji(!1),wo(e,t,n).contents)),{onNodeVisit:e=>{"branch"===e.type&&e.nodeKey!==n&&i.add(e.nodeKey)}})}catch(s){throw o(`Problem with cache lookup for selector "${n}": ${s.message}`)}var a;r&&(t.atomValues.set(n,r),w(e,t,i,null===(a=T(e))||void 0===a?void 0:a.executionID));return r}function O(e,t){const n=E(e,t);if(null!=n)return P(e),n;const r=k(e,t);var i;if(null!=r)return"loading"===(null===(i=r.loadingLoadable)||void 0===i?void 0:i.state)&&_(e,r.executionID),r.loadingLoadable;const o=Vo(),[a,s]=S(e,t,o);return"loading"===a.state?(!function(e,t,n,r,i){f.set(e,{depValuesDiscoveredSoFarDuringAsyncWork:r,executionID:t,loadingLoadable:n,stateVersions:new Map([[i.version,!0]])})}(e,o,a,s,t),_(e,o)):(P(e),D(t,a,s)),a}function k(e,t){const n=Nt([f.has(e)?[s(f.get(e))]:[],K(Ce(f,(([t])=>t!==e)),(([,e])=>e))]);function r(n){for(const[r,i]of n)if(!wo(e,t,r).is(i))return!0;return!1}for(const i of n){if(i.stateVersions.get(t.version)||!r(i.depValuesDiscoveredSoFarDuringAsyncWork))return i.stateVersions.set(t.version,!0),i;i.stateVersions.set(t.version,!1)}}function T(e){return f.get(e)}function P(e){f.delete(e)}function j(e,t){var n;return t===(null===(n=T(e))||void 0===n?void 0:n.executionID)}function D(e,t,r){e.atomValues.set(n,t);try{u.set(function(e){return Array.from(e.entries()).map((([e,t])=>[e,t.contents]))}(r),t)}catch(i){throw o(`Problem with setting cache for selector "${n}": ${i.message}`)}}function C(e,t){const r=t.atomValues.get(n);return null!=r?r:u.get((n=>{var r;return"string"!==typeof n&&ji(!1),null===(r=So(e,t,n))||void 0===r?void 0:r.contents}))}function M(e,t){return function(e){if(Lo.includes(n)){const e=`Recoil selector has circular dependencies: ${Lo.slice(Lo.indexOf(n)).join(" \u2192 ")}`;return vo(o(e))}Lo.push(n);try{return e()}finally{Lo.pop()}}((()=>O(e,t)))}function R(e){e.atomValues.delete(n)}function A(e,n){null==t&&ji(!1);for(const t of l){var r;const i=Po(t);null===(r=i.clearCache)||void 0===r||r.call(i,e,n)}l.clear(),R(n),u.clear(),Co(e,t)}if(null!=c){return t=jo({key:n,nodeType:"selector",peek:C,get:M,set:(e,t,r)=>{let i=!1;const s=new Map;function l({key:r}){if(i)throw o("Recoil: Async selector sets are not currently supported.");const a=wo(e,t,r);if("hasValue"===a.state)return a.contents;if("loading"===a.state){const e=`Getting value of asynchronous atom or selector "${r}" in a pending state while setting selector "${n}" is not yet supported.`;throw X(e),o(e)}throw a.contents}function u(n,r){if(i){const e="Recoil: Async selector sets are not currently supported.";throw X(e),o(e)}const a="function"===typeof r?r(l(n)):r;Eo(e,t,n.key,a).forEach(((e,t)=>s.set(t,e)))}const d=c({set:u,get:l,reset:function(e){u(e,ko)}},r);if(void 0!==d)throw a(d)?o("Recoil: Async selector sets are not currently supported."):o("Recoil: selector set should be a void function.");return i=!0,s},init:m,invalidate:R,clearCache:A,shouldDeleteConfigOnRelease:g,dangerouslyAllowMutability:e.dangerouslyAllowMutability,shouldRestoreFromSnapshots:!1,retainedBy:d})}return t=jo({key:n,nodeType:"selector",peek:C,get:M,init:m,invalidate:R,clearCache:A,shouldDeleteConfigOnRelease:g,dangerouslyAllowMutability:e.dangerouslyAllowMutability,shouldRestoreFromSnapshots:!1,retainedBy:d})}Bo.value=e=>new xo(e);var zo=Bo;const{isLoadable:Fo,loadableWithError:Ho,loadableWithPromise:$o,loadableWithValue:Yo}=P,{WrappedValue:Wo}=Ji,{peekNodeInfo:Go}
1=He,{DEFAULT_VALUE:qo,DefaultValue:Ko,getConfigDeletionHandler:Xo,registerNode:Zo,setConfigDeletionHandler:Jo}=oe,{isRecoilValue:Qo}=G,{getRecoilValueAsLoadable:ea,markRecoilValueModified:ta,setRecoilValue:na,setRecoilValueLoadable:ra}=ht,{retainedByOptionWithDefault:ia}=Ot,oa=e=>e instanceof Wo?e.value:e;function aa(e){const{key:t,persistence_UNSTABLE:n}=e,r=ia(e.retainedBy_UNSTABLE);let i=0;function c(e){return $o(e.then((e=>(u=Yo(e),e))).catch((e=>{throw u=Ho(e),e})))}let l,u=a(e.default)?c(e.default):Fo(e.default)?"loading"===e.default.state?c(e.default.contents):e.default:Yo(oa(e.default));f(u.contents);const d=new Map;function f(e){return e}function h(e,n){var r,i;return null!==(r=null!==(i=n.atomValues.get(t))&&void 0!==i?i:l)&&void 0!==r?r:u}const p=Zo({key:t,nodeType:"atom",peek:h,get:function(e,r){if(r.atomValues.has(t))return s(r.atomValues.get(t));if(r.nonvalidatedAtoms.has(t)){if(null!=l)return l;if(null==n)return q(`Tried to restore a persisted value for atom ${t} but it has no persistence settings.`),u;const e=r.nonvalidatedAtoms.get(t),i=n.validator(e,qo),o=i instanceof Ko?u:Yo(i);return l=o,l}return u},set:function(e,n,r){if(n.atomValues.has(t)){const e=s(n.atomValues.get(t));if("hasValue"===e.state&&r===e.contents)return new Map}else if(!n.nonvalidatedAtoms.has(t)&&r instanceof Ko)return new Map;return l=void 0,(new Map).set(t,Yo(r))},init:function(n,r,s){var c;if(i++,n.getState().knownAtoms.add(t),"loading"===u.state){const y=()=>{var e;(null!==(e=n.getState().nextTree)&&void 0!==e?e:n.getState().currentTree).atomValues.has(t)||ta(n,p)};u.contents.finally(y)}const l=null!==(c=e.effects)&&void 0!==c?c:e.effects_UNSTABLE;if(null!=l){let v=qo,b=!0,_=!1,x=null;function w(e){if(b&&e.key===t){const e=v;return e instanceof Ko?h(n,r):a(e)?$o(e.then((e=>e instanceof Ko?u.toPromise():e))):Yo(e)}return ea(n,e)}
1function S(e){return w(e).toPromise()}function E(e){var r;const i=Go(n,null!==(r=n.getState().nextTree)&&void 0!==r?r:n.getState().currentTree,e.key);return!b||e.key!==t||v instanceof Ko?i:{...i,isSet:!0,loadable:w(e)}}const O=e=>t=>{if(b){const n=w(p),r="hasValue"===n.state?n.contents:qo;v="function"===typeof t?t(r):t,a(v)&&(v=v.then((t=>(x={effect:e,value:t},t))))}else{if(a(t))throw o("Setting atoms to async values is not implemented.");"function"!==typeof t&&(x={effect:e,value:oa(t)}),na(n,p,"function"===typeof t?n=>{const r=oa(t(n));return x={effect:e,value:r},r}:oa(t))}},k=e=>()=>O(e)(qo),T=e=>r=>{var i;const{release:o}=n.subscribeToTransactions((n=>{var i;let{currentTree:o,previousTree:a}=n.getState();a||(X("Transaction subscribers notified without a next tree being present -- this is a bug in Recoil"),a=o);const s=null!==(i=o.atomValues.get(t))&&void 0!==i?i:u;if("hasValue"===s.state){var c,l,d,f;const n=s.contents,i=null!==(c=a.atomValues.get(t))&&void 0!==c?c:u,h="hasValue"===i.state?i.contents:qo;(null===(l=x)||void 0===l?void 0:l.effect)!==e||(null===(d=x)||void 0===d?void 0:d.value)!==n?r(n,h,!o.atomValues.has(t)):(null===(f=x)||void 0===f?void 0:f.effect)===e&&(x=null)}}),t);d.set(n,[...null!==(i=d.get(n))&&void 0!==i?i:[],o])};for(const P of l)try{const j=P({node:p,storeID:n.storeID,parentStoreID_UNSTABLE:n.parentStoreID,trigger:s,setSelf:O(P),resetSelf:k(P),onSet:T(P),getPromise:S,getLoadable:w,getInfo_UNSTABLE:E});var f;if(null!=j)d.set(n,[...null!==(f=d.get(n))&&void 0!==f?f:[],j])}catch(g){v=g,_=!0}if(b=!1,!(v instanceof Ko)){var m;const D=_?Ho(v):a(v)?$o(function(e,n){const r=n.then((n=>{var i,o;return(null===(o=(null!==(i=e.getState().nextTree)&&void 0!==i?i:e.getState().currentTree).atomValues.get(t))||void 0===o?void 0:o.contents)===r&&na(e,p,n),n})).catch((n=>{var i,o;throw(null===(o=(null!==(i=e.getState().nextTree)&&void 0!==i?i:e.getState().currentTree).atomValues.get(t))||void 0===o?void 0:o.contents)===r&&ra(e,p,Ho(n)),n}));return r}(n,v)):Yo(oa(v));D.contents,r.atomValues.set(t,D),null===(m=n.getState().nextTree)||void 0===m||m.atomValues.set(t,D)}}return()=>{var e;i--,null===(e=d.get(n))||void 0===e||e.forEach((e=>e())),d.delete(n)}},invalidate:function(){l=void 0},shouldDeleteConfigOnRelease:function(){return void 0!==Xo(t)&&i<=0},dangerouslyAllowMutability:e.dangerouslyAllowMutability,persistence_UNSTABLE:e.persistence_UNSTABLE?{type:e.persistence_UNSTABLE.type,backButton:e.persistence_UNSTABLE.backButton}:void 0,shouldRestoreFromSnapshots:!0,retainedBy:r});return p}function sa(e){const{...t}=e,n="default"in e?e.default:new Promise((()=>{}));return Qo(n)?function(e){const t=sa({...e,default:qo,persistence_UNSTABLE:void 0===e.persistence_UNSTABLE?void 0:{...e.persistence_UNSTABLE,validator:t=>t instanceof Ko?t:s(e.persistence_UNSTABLE).validator(t,qo)},effects:e.effects,effects_UNSTABLE:e.effects_UNSTABLE}),n=zo({key:`${e.key}__withFallback`,get:({get:n})=>{const r=n(t);return r instanceof Ko?e.default:r},set:({set:e},n)=>e(t,n),cachePolicy_UNSTABLE:{eviction:"most-recent"},dangerouslyAllowMutability:e.dangerouslyAllowMutability});return Jo(n.key,Xo(e.key)),n}({...t,default:n}):aa({...t,default:n})}sa.value=e=>new Wo(e);var ca=sa;var la=class{constructor(e){var t;c(this,"_map",void 0),c(this,"_keyMapper",void 0),this._map=new Map,this._keyMapper=null!==(t=null===e||void 0===e?void 0:e.mapKey)&&void 0!==t?t:e=>e}size(){return this._map.size}has(e){return this._map.has(this._keyMapper(e))}get(e){return this._map.get(this._keyMapper(e))}set(e,t){this._map.set(this._keyMapper(e),t)}delete(e){this._map.delete(this._keyMapper(e))}clear(){this._map.clear()}},ua=Object.freeze({__proto__:null,MapCache:la});const{LRUCache:da}=io,{MapCache:fa}=ua,ha={equality:"reference",eviction:"none",maxSize:1/0};var pa=function({equality:e=ha.equality,eviction:t=ha.eviction,maxSize:n=ha.maxSize}=ha){const r=function(e){switch(e){case"reference":return e=>e;case"value":return e=>lo(e)}throw o(`Unrecognized equality policy ${e}`)}(e),i=function(e,t,n){switch(e){case"keep-all":return new fa({mapKey:n});case"lru":return new da({mapKey:n,maxSize:s(t)});case"most-recent":return new da({mapKey:n,maxSize:1})}throw o(`Unrecognized eviction policy ${e}`)}(t,n,r);return i};
1const{setConfigDeletionHandler:ma}=oe;var ga=function(e){var t,n;const r=pa({equality:null!==(t=null===(n=e.cachePolicyForParams_UNSTABLE)||void 0===n?void 0:n.equality)&&void 0!==t?t:"value",eviction:"keep-all"});return t=>{var n,i;const o=r.get(t);if(null!=o)return o;const{cachePolicyForParams_UNSTABLE:a,...s}=e,c="default"in e?e.default:new Promise((()=>{})),l=ca({...s,key:`${e.key}__${null!==(n=lo(t))&&void 0!==n?n:"void"}`,default:"function"===typeof c?c(t):c,retainedBy_UNSTABLE:"function"===typeof e.retainedBy_UNSTABLE?e.retainedBy_UNSTABLE(t):e.retainedBy_UNSTABLE,effects:"function"===typeof e.effects?e.effects(t):"function"===typeof e.effects_UNSTABLE?e.effects_UNSTABLE(t):null!==(i=e.effects)&&void 0!==i?i:e.effects_UNSTABLE});return r.set(t,l),ma(l.key,(()=>{r.delete(t)})),l}};const{setConfigDeletionHandler:ya}=oe;let va=0;var ba=function(e){var t,n;const r=pa({equality:null!==(t=null===(n=e.cachePolicyForParams_UNSTABLE)||void 0===n?void 0:n.equality)&&void 0!==t?t:"value",eviction:"keep-all"});return t=>{var n;let i;try{i=r.get(t)}catch(d){throw o(`Problem with cache lookup for selector ${e.key}: ${d.message}`)}if(null!=i)return i;const a=`${e.key}__selectorFamily/${null!==(n=lo(t,{allowFunctions:!0}))&&void 0!==n?n:"void"}/${va++}`,s=n=>e.get(t)(n),c=e.cachePolicy_UNSTABLE,l="function"===typeof e.retainedBy_UNSTABLE?e.retainedBy_UNSTABLE(t):e.retainedBy_UNSTABLE;let u;if(null!=e.set){const n=e.set;u=zo({key:a,get:s,set:(e,r)=>n(t)(e,r),cachePolicy_UNSTABLE:c,dangerouslyAllowMutability:e.dangerouslyAllowMutability,retainedBy_UNSTABLE:l})}else u=zo({key:a,get:s,cachePolicy_UNSTABLE:c,dangerouslyAllowMutability:e.dangerouslyAllowMutability,retainedBy_UNSTABLE:l});return r.set(t,u),ya(u.key,(()=>{r.delete(t)})),u}};const _a=ba({key:"__constant",get:e=>()=>e,cachePolicyForParams_UNSTABLE:{equality:"reference"}});var xa=function(e){return _a(e)};const wa=ba({key:"__error",get:e=>()=>{throw o(e)},cachePolicyForParams_UNSTABLE:{equality:"reference"}});var Sa=function(e){return wa(e)};var Ea=function(e){return e};const{loadableWithError:Oa,loadableWithPromise:ka,loadableWithValue:Ta}=P;function Pa(e,t){const n=Array(t.length).fill(void 0),r=Array(t.length).fill(void 0);for(const[o,a]of t.entries())try{n[o]=e(a)}catch(i){r[o]=i}return[n,r]}function ja(e){return null!=e&&!a(e)}function Da(e){return Array.isArray(e)?e:Object.getOwnPropertyNames(e).map((t=>e[t]))}function Ca(e,t){return Array.isArray(e)?t:Object.getOwnPropertyNames(e).reduce(((e,n,r)=>({...e,[n]:t[r]})),{})}function Ma(e,t,n){return Ca(e,n.map(((e,n)=>null==e?Ta(t[n]):a(e)?ka(e):Oa(e))))}var Ra={waitForNone:ba({key:"__waitForNone",get:e=>({get:t})=>{const n=Da(e),[r,i]=Pa(t,n);return Ma(e,r,i)},dangerouslyAllowMutability:!0}),waitForAny:ba({key:"__waitForAny",get:e=>({get:t})=>{const n=Da(e),[r,i]=Pa(t,n);return i.some((e=>!a(e)))?Ma(e,r,i):new Promise((t=>{for(const[n,o]of i.entries())a(o)&&o.then((o=>{r[n]=o,i[n]=void 0,t(Ma(e,r,i))})).catch((o=>{i[n]=o,t(Ma(e,r,i))}))}))},dangerouslyAllowMutability:!0}),waitForAll:ba({key:"__waitForAll",get:e=>({get:t})=>{const n=Da(e),[r,i]=Pa(t,n);if(i.every((e=>null==e)))return Ca(e,r);const o=i.find(ja);if(null!=o)throw o;return Promise.all(i).then((t=>{return Ca(e,(n=r,t.map(((e,t)=>void 0===e?n[t]:e))));var n}))},dangerouslyAllowMutability:!0}),waitForAllSettled:ba({key:"__waitForAllSettled",get:e=>({get:t})=>{const n=Da(e),[r,i]=Pa(t,n);return i.every((e=>!a(e)))?Ma(e,r,i):Promise.all(i.map(((e,t)=>a(e)?e.then((e=>{r[t]=e,i[t]=void 0})).catch((e=>{r[t]=void 0,i[t]=e})):null))).then((()=>
vendor: 1,172 bytes, line 1
1Ma(e,r,i)))},dangerouslyAllowMutability:!0}),noWait:ba({key:"__noWait",get:e=>({get:t})=>{try{return zo.value(Ta(t(e)))}catch(n){return zo.value(a(n)?ka(n):Oa(n))}},dangerouslyAllowMutability:!0})};const{RecoilLoadable:Na}=P,{DefaultValue:Aa}=oe,{RecoilRoot:Ia,useRecoilStoreID:La}=Zn,{isRecoilValue:Ua}=G,{retentionZone:Va}=je,{freshSnapshot:Ba}=pn,{useRecoilState:za,useRecoilState_TRANSITION_SUPPORT_UNSTABLE:Fa,useRecoilStateLoadable:Ha,useRecoilValue:$a,useRecoilValue_TRANSITION_SUPPORT_UNSTABLE:Ya,useRecoilValueLoadable:Wa,useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE:Ga,useResetRecoilState:qa,useSetRecoilState:Ka}=Br,{useGotoRecoilSnapshot:Xa,useRecoilSnapshot:Za,useRecoilTransactionObserver:Ja}=si,{useRecoilCallback:Qa}=Fi,{noWait:es,waitForAll:ts,waitForAllSettled:ns,waitForAny:rs,waitForNone:is}=Ra;var os={DefaultValue:Aa,isRecoilValue:Ua,RecoilLoadable:Na,RecoilRoot:Ia,useRecoilStoreID:La,useRecoilBridgeAcrossReactRoots_UNSTABLE:mi,atom:ca,selector:zo,atomFamily:ga,selectorFamily:ba,constSelector:xa,errorSelector:Sa,readOnlySelector:Ea,noWait:es,waitForNone:is,waitForAny:rs,waitForAll:ts,waitForAllSettled:ns,useRecoilValue:$a,useRecoilValueLo
1adable:Wa,useRecoilState:za,useRecoilStateLoadable:Ha,useSetRecoilState:Ka,useResetRecoilState:qa,useGetRecoilValueInfo_UNSTABLE:ui,useRecoilRefresher_UNSTABLE:Wi,useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE:Ga,useRecoilValue_TRANSITION_SUPPORT_UNSTABLE:Ya,useRecoilState_TRANSITION_SUPPORT_UNSTABLE:Fa,useRecoilCallback:Qa,useRecoilTransaction_UNSTABLE:Xi,useGotoRecoilSnapshot:Xa,useRecoilSnapshot:Za,useRecoilTransactionObserver_UNSTABLE:Ja,snapshot_UNSTABLE:Ba,useRetain:lr,retentionZone:Va},as=os.RecoilRoot,ss=os.atom,cs=os.useRecoilState},82515:function(e,t,n){"use strict";n.d(t,{ZP:function(){return A}});var r=n(67294),i=Object.prototype.hasOwnProperty;var o=new WeakMap,a=0;var s=function(){function e(e){void 0===e&&(e={}),this.cache=new Map(Object.entries(e)),this.subs=[]}return e.prototype.get=function(e){var t=this.serializeKey(e)[0];return this.cache.get(t)},e.prototype.set=function(e,t){var n=this.serializeKey(e)[0];this.cache.set(n,t),this.notify()},e.prototype.keys=function(){return Array.from(this.cache.keys())},e.prototype.has=function(e){var t=this.serializeKey(e)[0];return this.cache.has(t)},e.prototype.clear=function(){this.cache.clear(),this.notify()},e.prototype.delete=function(e){var t=this.serializeKey(e)[0];this.cache.delete(t),this.notify()},e.prototype.serializeKey=function(e){var t=null;if("function"===typeof e)try{e=e()}catch(n){e=""}return Array.isArray(e)?(t=e,e=function(e){if(!e.length)return"";for(var t="arg",n=0;n<e.length;++n)if(null!==e[n]){var r=void 0;"object"!==typeof e[n]&&"function"!==typeof e[n]?r="string"===typeof e[n]?'"'+e[n]+'"':String(e[n]):o.has(e[n])?r=o.get(e[n]):(r=a,o.set(e[n],a++)),t+="@"+r}else t+="@null";return t}(e)):e=String(e||""),[e,t,e?"err@"+e:"",e?"validating@"+e:""]},e.prototype.subscribe=function(e){var t=this;if("function"!==typeof e)throw new Error("Expected the listener to be a function.");var n=!0;return this.subs.push(e),function(){if(n){n=!1;var r=t.subs.indexOf(e);r>-1&&(t.subs[r]=t.subs[t.subs.length-1],t.subs.length--)}}},e.prototype.notify=function(){for(var e=0,t=this.subs;e<t.length;e++){(0,t[e])()}},e}(),c=!0,l={isOnline:function(){return c},isDocumentVisible:function(){return"undefined"===typeof document||void 0===document.visibilityState||"hidden"!==document.visibilityState},fetcher:function(e){return fetch(e).then((function(e){return e.json()}))},registerOnFocus:function(e){"undefined"!==typeof window&&void 0!==window.addEventListener&&"undefined"!==typeof document&&void 0!==document.addEventListener&&(document.addEventListener("visibilitychange",(function(){return e()}),!1),window.addEventListener("focus",(function(){return e()}),!1))},registerOnReconnect:function(e){"undefined"!==typeof window&&void 0!==window.addEventListener&&(window.addEventListener("online",(function(){c=!0,e()}),!1),window.addEventListener("offline",(function(){return c=!1}),!1))}},u=function(){return u=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},u.apply(this,arguments)},d=new s;var f="undefined"!==typeof window&&navigator.connection&&-1!==["slow-2g","2g"].indexOf(navigator.connection.effectiveType),h=u({onLoadingSlow:function(){},onSuccess:function(){},onError:function(){},onErrorRetry:function(e,t,n,r,i){if(n.isDocumentVisible()&&!("number"===typeof n.errorRetryCount&&i.retryCount>n.errorRetryCount)){var o=Math.min(i.retryCount,8),a=~~((Math.random()+.5)*(1<<o))*n.errorRetryInterval;setTimeout(r,a,i)}},errorRetryInterval:1e3*(f?10:5),focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:1e3*(f?5:3),refreshInterval:0,revalidateOnFocus:!0,revalidateOnReconnect:!0,refreshWhenHidden:!1,refreshWhenOffline:!1,shouldRetryOnError:!0,suspense:!1,compare:function e(t,n){var r,o;if(t===n)return!0;if(t&&n&&(r=t.constructor)===n.constructor){if(r===Date)return t.getTime()===n.getTime();if(r===RegExp)return t.toString()===n.toString();if(r===Array){if((o=t.length)===n.length)for(;o--&&e(t[o],n[o]););return-1===o}if(!r||"object"===typeof t){for(r in o=0,t){if(i.call(t,r)&&++o&&!i.call(n,r))return!1;if(!(r in n)||!e(t[r],n[r]))return!1}return Object.keys(n).length===o}}return t!==t&&n!==n},isPaused:function(){return!1}},l),p=h,m="undefined"===typeof window||!!("undefined"!==typeof Deno&&Deno&&Deno.version&&Deno.version.deno),g=m?null:window.requestAnimationFrame?function(e){return window.requestAnimationFrame(e)}:function(e){return setTimeout(e,1)},y=m?r.useEffect:r.useLayoutEffect,v=(0,r.createContext)({});v.displayName="SWRConfigContext";
1var b=v,_=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(t){o(t)}}function s(e){try{c(r.throw(e))}catch(t){o(t)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},x=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[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(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},w={},S={},E={},O={},k={},T={},P={},j=function(){var e=0;return function(){return++e}}();if(!m){var D=function(e){if(p.isDocumentVisible()&&p.isOnline())for(var t in e)e[t][0]&&e[t][0]()};"function"===typeof p.registerOnFocus&&p.registerOnFocus((function(){return D(E)})),"function"===typeof p.registerOnReconnect&&p.registerOnReconnect((function(){return D(O)}))}var C=function(e,t){void 0===t&&(t=!0);var n=d.serializeKey(e),r=n[0],i=n[2],o=n[3];if(!r)return Promise.resolve();var a=k[r];if(r&&a){for(var s=d.get(r),c=d.get(i),l=d.get(o),u=[],f=0;f<a.length;++f)u.push(a[f](t,s,c,l,f>0));return Promise.all(u).then((function(){return d.get(r)}))}return Promise.resolve(d.get(r))},M=function(e,t,n,r){var i=k[e];if(e&&i)for(var o=0;o<i.length;++o)i[o](!1,t,n,r)},R=function(e,t,n){return void 0===n&&(n=!0),_(void 0,void 0,void 0,(function(){var r,i,o,a,s,c,l,u,f,h,p,m,g;return x(this,(function(y){switch(y.label){case 0:if(r=d.serializeKey(e),i=r[0],o=r[2],!i)return[2];if("undefined"===typeof t)return[2,C(e,n)];if(T[i]=j()-1,P[i]=0,a=T[i],s=S[i],u=!1,t&&"function"===typeof t)try{t=t(d.get(i))}catch(v){t=void 0,l=v}if(!t||"function"!==typeof t.then)return[3,5];u=!0,y.label=1;case 1:return y.trys.push([1,3,,4]),[4,t];case 2:return c=y.sent(),[3,4];case 3:return f=y.sent(),l=f,[3,4];case 4:return[3,6];case 5:c=t,y.label=6;case 6:if((h=function(){if(a!==T[i]||s!==S[i]){if(l)throw l;return!0}})())return[2,c];if("undefined"!==typeof c&&d.set(i,c),d.set(o,l),P[i]=j()-1,!u&&h())return[2,c];if(p=k[i]){for(m=[],g=0;g<p.length;++g)m.push(p[g](!!n,c,l,void 0,g>0));return[2,Promise.all(m).then((function(){if(l)throw l;return d.get(i)}))]}if(l)throw l;return[2,c]}}))}))};Object.defineProperty(b.Provider,"default",{value:p});b.Provider;var N=function(){for(var e=this,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var i=t[0],o=Object.assign({},p,(0,r.useContext)(b),t.length>2?t[2]:2===t.length&&"object"===typeof t[1]?t[1]:{}),a=t.length>2||2===t.length&&"function"===typeof t[1]||null===t[1]?t[1]:o.fetcher,s=d.serializeKey(i),c=s[0],l=s[1],u=s[2],f=s[3],h=(0,r.useRef)(o);y((function(){h.current=o}));var v=function(){return o.revalidateOnMount||!o.initialData&&void 0===o.revalidateOnMount},D=function(){var e=d.get(c);return"undefined"===typeof e?o.initialData:e},C=function(){return!!d.get(f)||c&&v()},N=D(),A=d.get(u),I=C(),L=(0,r.useRef)({data:!1,error:!1,isValidating:!1}),U=(0,r.useRef)({data:N,error:A,isValidating:I});(0,r.useDebugValue)(U.current.data);var V,B,z=(0,r.useState)({})[1],F=(0,r.useCallback)((function(e){var t=!1;for(var n in e)U.current[n]!==e[n]&&(U.current[n]=e[n],L.current[n]&&(t=!0));if(t){if(H.current||!Y.current)return;z({})}}),[]),H=(0,r.useRef)(!1),$=(0,r.useRef)(c),Y=(0,r.useRef)(!1),W=(0,r.useCallback)((function(e){for(var t,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];H.current||Y.current&&c===$.current&&(t=h.current)[e].apply(t,n)}),[c]),G=(0,r.useCallback)((function(e,t){return R($.current,e,t)}),[]),q=function(e,t){return e[c]?e[c].push(t):e[c]=[t],function(){var n=e[c],r=n.indexOf(t);r>=0&&(n[r]=n[n.length-1],n.pop())}},K=(0,r.useCallback)((function(t){return void 0===t&&(t={}),_(e,void 0,void 0,(function(){var e,n,r,i,s,p,m,g,y,v;return x(this,(function(b){switch(b.label){case 0:if(!c||!a)return[2,!1];if(H.current)return[2,!1];if(h.current.isPaused())return[2,!1];e=t.retryCount,n=void 0===e?0:e,r=t.dedupe,i=void 0!==r&&r,s=!0,p="undefined"!==typeof w[c]&&i,b.label=1;case 1:return b.trys.push([1,6,,7]),F({isValidating:!0}),d.set(f,!0),p||M(c,U.current.data,U.current.error,!0),m=void 0,g=void 0,p?(g=S[c],[4,w[c]]):[3,3];case 2:return m=b.sent(),[3,5];case 3:return o.loadingTimeout&&!d.get(c)&&setTimeout((function(){s&&W("onLoadingSlow",c,o)}),o.loadingTimeout),w[c]=null!==l?a.apply(void 0,l):a(c),S[c]=g=j(),[4,w[c]];case 4:m=b.sent(),setTimeout((function(){delete w[c],delete S[c]}),o.dedupingInterval),W("onSuccess",m,c,o),b.label=5;case 5:return S[c]>g?[2,!1]:T[c]&&(g<=T[c]||g<=P[c]||0===P[c])?(F({isValidating:!1}),[2,!1]):(d.set(u,void 0),d.set(f,!1),y={isValidating:!1},"undefined"!==typeof U.current.error&&(y.error=void 0),o.compare(U.current.data,m)||(y.data=m),o.compare(d.get(c),m)||d.set(c,m),F(y),p||M(c,m,y.error,!1),[3,7]);case 6:return v=b.sent(),delete w[c],delete S[c],h.current.isPaused()?(F({isValidating:!1}),[2,!1]):(d.set(u,v),U.current.error!==v&&(F({isValidating:!1,error:v}),p||M(c,void 0,v,!1)),W("onError",v,c,o),o.shouldRetryOnError&&W("onErrorRetry",v,c,o,K,{retryCount:n+1,dedupe:!0}),[3,7]);case 7:return s=!1,[2,!0]}}))}))}),[c]);if(y((function(){if(c){H.current=!1;var e=Y.current;Y.current=!0;var t=U.current.data,n=D();$.current=c,o.compare(t,n)||F({data:n});var r=function(){return K({dedupe:!0})};(e||v())&&("undefined"===typeof n||m?r():g(r));var i=!1,a=q(E,(function(){!i&&h.current.revalidateOnFocus&&(i=!0,r(),setTimeout((function(){return i=!1}),h.current.focusThrottleInterval))})),s=q(O,(function(){h.current.revalidateOnReconnect&&r()})),l=q(k,(function(e,t,n,i,a){void 0===e&&(e=!0),void 0===a&&(a=!0);var s={},c=!1;return"undefined"===typeof t||o.compare(U.current.data,t)||(s.data=t,c=!0),U.current.error!==n&&(s.error=n,c=!0),"undefined"!==typeof i&&U.current.isValidating!==i&&(s.isValidating=i,c=!0),c&&F(s),!!e&&(a?r():K())}));return function(){F=function(){return null},H.current=!0,a(),s(),l()}}}),[c,K]),y((function(){var t=null,n=function(){return _(e,void 0,void 0,(function(){return x(this,(function(e){switch(e.label){case 0:return U.current.error||!h.current.refreshWhenHidden&&!h.current.isDocumentVisible()||!h.current.refreshWhenOffline&&!h.current.isOnline()?[3,2]:[4,K({dedupe:!0})];case 1:e.sent(),e.label=2;case 2:return h.current.refreshInterval&&t&&(t=setTimeout(n,h.current.refreshInterval)),[2]}}))}))};return h.current.refreshInterval&&(t=setTimeout(n,h.current.refreshInterval)),function(){t&&(clearTimeout(t),t=null)}}),[o.refreshInterval,o.refreshWhenHidden,o.refreshWhenOffline,K]),o.suspense){if(V=d.get(c),B=d.get(u),"undefined"===typeof V&&(V=N),"undefined"===typeof B&&(B=A),"undefined"===typeof V&&"undefined"===typeof B){if(w[c]||K(),w[c]&&"function"===typeof w[c].then)throw w[c];V=w[c]}if("undefined"===typeof V&&B)throw B}var X=(0,r.useMemo)((function(){var e={revalidate:K,mutate:G};return Object.defineProperties(e,{error:{get:function(){return L.current.error=!0,o.suspense?B:$.current===c?U.current.error:A},enumerable:!0},data:{get:function(){return L.current.data=!0,o.suspense?V:$.current===c?U.current.data:N},enumerable:!0},isValidating:{get:function(){return L.current.isValidating=!0,!!c&&U.current.isValidating},enumerable:!0}}),e}),[K,N,A,G,c,o.suspense,B,V]);return X};var A=N},92432:function(e,t,n){"use strict";n.d(t,{Db:function(){return m},aM:function(){return y},zt:function(){return c}});var r=n(86138),i=n(67294),o=n(63496),a={},s=i.createContext(a),c=s.Provider;s.Consumer;s.displayName="UrqlContext";var l=()=>{var e=i.useContext(s);return e},u={fetching:!1,stale:!1,error:void 0,data:void 0,extensions:void 0,operation:void 0},d=(e,t)=>e===t||!(!e||!t||e.key!==t.key),f=(e,t)=>{var n={...e,...t,data:void 0!==t.data||t.error?t.data:e.data,fetching:!!t.fetching,stale:!!t.stale};return((e,t)=>{for(var n in e)if(!(n in t))return!0;for(var r in t)if("operation"===r?!d(e[r],t[r]):e[r]!==t[r])return!0;return!1})(e,n)?n:e},h=(e,t)=>{for(var n=0,r=t.length;n<r;n++)if(e[n]!==t[n])return!0;return!1};
1i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function p(e,t){e(t)}function m(e){var t=i.useRef(!0),n=l(),[a,s]=i.useState(u),c=i.useCallback(((i,a)=>(p(s,{...u,fetching:!0}),(0,o.Vi)((0,o.qn)(1)((0,o.hX)((e=>!e.hasNext))((0,o.Mq)((e=>{t.current&&p(s,{fetching:!1,stale:e.stale,data:e.data,error:e.error,extensions:e.extensions,operation:e.operation})}))(n.executeMutation((0,r.h)(e,i),a||{}))))))),[n,e,s]);return i.useEffect((()=>(t.current=!0,()=>{t.current=!1})),[]),[a,c]}function g(e,t){var n=i.useRef(void 0);return i.useMemo((()=>{var i=(0,r.h)(e,t);return void 0!==n.current&&n.current.key===i.key?n.current:(n.current=i,i)}),[e,t])}function y(e){var t=l(),n=(e=>{if(!e._react){var t=new Set,n=new Map;e.operations$&&(0,o.Ld)((e=>{"teardown"===e.kind&&t.has(e.key)&&(t.delete(e.key),n.delete(e.key))}))(e.operations$),e._react={get:e=>n.get(e),set(e,r){t.delete(e),n.set(e,r)},dispose(e){t.add(e)}}}return e._react})(t),r=((e,t)=>t&&void 0!==t.suspense?!!t.suspense:e.suspense)(t,e.context),a=g(e.query,e.variables),s=i.useMemo((()=>{if(e.pause)return null;var i=t.executeQuery(a,{requestPolicy:e.requestPolicy,...e.context});return r?(0,o.Mq)((e=>{n.set(a.key,e)}))(i):i}),[n,t,a,r,e.pause,e.requestPolicy,e.context]),c=i.useCallback(((e,t)=>{if(!e)return{fetching:!1};var r=n.get(a.key);if(r){if(t&&null!=r&&"then"in r)throw r}else{var i,s=(0,o.Ld)((e=>{r=e,i&&i(r)}))((0,o.oE)((()=>t&&!i||!r))(e));if(null==r&&t){var c=new Promise((e=>{i=e}));throw n.set(a.key,c),c}s.unsubscribe()}return r||{fetching:!0}}),[n,a]),d=[t,a,e.requestPolicy,e.context,e.pause],[m,y]=i.useState((()=>[s,f(u,c(s,r)),d])),v=m[1];return s!==m[0]&&h(m[2],d)&&y([s,v=f(m[1],c(s,r)),d]),i.useEffect((()=>{var e=m[0],t=m[2][1],r=!1,i=e=>{r=!0,p(y,(t=>{var n=f(t[1],e);return t[1]!==n?[t[0],n,t[2]]:t}))};if(e){var a=(0,o.Ld)(i)((0,o.ok)((()=>{i({fetching:!1})}))(e));return r||i({fetching:!0}),()=>{n.dispose(t.key),a.unsubscribe()}}i({fetching:!1})}),[n,m[0],m[2][1]]),[v,i.useCallback((i=>{var s={requestPolicy:e.requestPolicy,...e.context,...i};p(y,(e=>[r?(0,o.Mq)((e=>{n.set(a.key,e)}))(t.executeQuery(a,s)):t.executeQuery(a,s),e[1],d]))}),[t,n,a,r,e.requestPolicy,e.context,e.pause])]}},30587:function(e,t,n){"use strict";t.ZP=void 0;var r=n(88038);Object.defineProperty(t,"ZP",{enumerable:!0,get:function(){return r.default}})},88038:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useMediaLayout=t.useMedia=t.mockMediaQueryList=void 0;var r=n(67294),i=n(51654);t.mockMediaQueryList={media:"",matches:!1,onchange:i.noop,addListener:i.noop,removeListener:i.noop,addEventListener:i.noop,removeEventListener:i.noop,dispatchEvent:function(e){return!0}};var o=function(e){return function(n,o){void 0===o&&(o=!1);var a=r.useState(o),s=a[0],c=a[1],l=i.queryObjectToString(n);return e((function(){var e=!0,n="undefined"===typeof window?t.mockMediaQueryList:window.matchMedia(l),r=function(){e&&c(Boolean(n.matches))};return n.addListener(r),c(n.matches),function(){e=!1,n.removeListener(r)}}),[l]),s}};t.useMedia=o(r.useEffect),t.useMediaLayout=o(r.useLayoutEffect),t.default=t.useMedia},26426:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.replace(/[A-Z]/g,(function(e){return"-"+e.toLowerCase()})).toLowerCase()}},51654:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.noop=t.queryObjectToString=t.camelToHyphen=void 0;var r=n(26426);Object.defineProperty(t,"camelToHyphen",{enumerable:!0,get:function(){return r.default}});var i=n(71168);Object.defineProperty(t,"queryObjectToString",{enumerable:!0,get:function(){return i.default}});var o=n(98419);Object.defineProperty(t,"noop",{enumerable:!0,get:function(){return o.default}})},98419:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){}},71168:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(26426);t.default=function(e){return"string"===typeof e?e:Object.entries(e).map((function(e){var t=e[0],n=e[1],i=r.default(t),o=n;return"boolean"===typeof o?o?i:"not "+i:("number"===typeof o&&/[height|width]$/.test(i)&&(o+="px"),"("+i+": "+o+")")})).join(" and ")}},36155:function(e,t,n){"use strict";n.d(t,{Qc:function(){return O},S0:function(){return D},__:function(){return a},hY:function(){return o}});
1var r,i,o={NAME:"Name",DOCUMENT:"Document",OPERATION_DEFINITION:"OperationDefinition",VARIABLE_DEFINITION:"VariableDefinition",SELECTION_SET:"SelectionSet",FIELD:"Field",ARGUMENT:"Argument",FRAGMENT_SPREAD:"FragmentSpread",INLINE_FRAGMENT:"InlineFragment",FRAGMENT_DEFINITION:"FragmentDefinition",VARIABLE:"Variable",INT:"IntValue",FLOAT:"FloatValue",STRING:"StringValue",BOOLEAN:"BooleanValue",NULL:"NullValue",ENUM:"EnumValue",LIST:"ListValue",OBJECT:"ObjectValue",OBJECT_FIELD:"ObjectField",DIRECTIVE:"Directive",NAMED_TYPE:"NamedType",LIST_TYPE:"ListType",NON_NULL_TYPE:"NonNullType"};class a extends Error{constructor(e,t,n,r,i,o,a){super(e),this.name="GraphQLError",this.message=e,i&&(this.path=i),t&&(this.nodes=Array.isArray(t)?t:[t]),n&&(this.source=n),r&&(this.positions=r),o&&(this.originalError=o);var s=a;if(!s&&o){var c=o.extensions;c&&"object"==typeof c&&(s=c)}this.extensions=s||{}}toJSON(){return{...this,message:this.message}}toString(){return this.message}get[Symbol.toStringTag](){return"GraphQLError"}}function s(e){return new a(`Syntax Error: Unexpected token at ${i} in ${e}`)}function c(e){if(e.lastIndex=i,e.test(r))return r.slice(i,i=e.lastIndex)}var l=/ +(?=[^\s])/y;function u(e){for(var t=e.split("\n"),n="",r=0,i=0,o=t.length-1,a=0;a<t.length;a++)l.lastIndex=0,l.test(t[a])&&(a&&(!r||l.lastIndex<r)&&(r=l.lastIndex),i=i||a,o=a);for(var s=i;s<=o;s++)s!==i&&(n+="\n"),n+=t[s].slice(r).replace(/\\"""/g,'"""');return n}function d(){for(var e=0|r.charCodeAt(i++);9===e||10===e||13===e||32===e||35===e||44===e||65279===e;e=0|r.charCodeAt(i++))if(35===e)for(;(e=0|r.charCodeAt(i++))&&10!==e&&13!==e;);i--}function f(){for(var e=i,t=0|r.charCodeAt(i++);t>=48&&t<=57||t>=65&&t<=90||95===t||t>=97&&t<=122;t=0|r.charCodeAt(i++));if(e===i-1)throw s("Name");var n=r.slice(e,--i);return d(),n}function h(){return{kind:"Name",value:f()}}var p=/(?:"""|(?:[\s\S]*?[^\\])""")/y,m=/(?:(?:\.\d+)?[eE][+-]?\d+|\.\d+)/y;function g(e){var t;switch(r.charCodeAt(i)){case 91:i++,d();for(var n=[];93!==r.charCodeAt(i);)n.push(g(e));return i++,d(),{kind:"ListValue",values:n};case 123:i++,d();for(var o=[];125!==r.charCodeAt(i);){var a=h();if(58!==r.charCodeAt(i++))throw s("ObjectField");d(),o.push({kind:"ObjectField",name:a,value:g(e)})}return i++,d(),{kind:"ObjectValue",fields:o};case 36:if(e)throw s("Variable");return i++,{kind:"Variable",name:h()};case 34:if(34===r.charCodeAt(i+1)&&34===r.charCodeAt(i+2)){if(i+=3,null==(t=c(p)))throw s("StringValue");return d(),{kind:"StringValue",value:u(t.slice(0,-3)),block:!0}}var l,y=i;i++;var v=!1;for(l=0|r.charCodeAt(i++);92===l&&(i++,v=!0)||10!==l&&13!==l&&34!==l&&l;l=0|r.charCodeAt(i++));if(34!==l)throw s("StringValue");return t=r.slice(y,i),d(),{kind:"StringValue",value:v?JSON.parse(t):t.slice(1,-1),block:!1};case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:for(var b,_=i++;(b=0|r.charCodeAt(i++))>=48&&b<=57;);var x=r.slice(_,--i);if(46===(b=r.charCodeAt(i))||69===b||101===b){if(null==(t=c(m)))throw s("FloatValue");return d(),{kind:"FloatValue",value:x+t}}return d(),{kind:"IntValue",value:x};case 110:if(117===r.charCodeAt(i+1)&&108===r.charCodeAt(i+2)&&108===r.charCodeAt(i+3))return i+=4,d(),{kind:"NullValue"};break;case 116:if(114===r.charCodeAt(i+1)&&117===r.charCodeAt(i+2)&&101===r.charCodeAt(i+3))return i+=4,d(),{kind:"BooleanValue",value:!0};break;case 102:if(97===r.charCodeAt(i+1)&&108===r.charCodeAt(i+2)&&115===r.charCodeAt(i+3)&&101===r.charCodeAt(i+4))return i+=5,d(),{kind:"BooleanValue",value:!1}}return{kind:"EnumValue",value:f()}}function y(e){if(40===r.charCodeAt(i)){var t=[];i++,d();do{var n=h();if(58!==r.charCodeAt(i++))throw s("Argument");d(),t.push({kind:"Argument",name:n,value:g(e)})}while(41!==r.charCodeAt(i));return i++,d(),t}}function v(e){if(64===r.charCodeAt(i)){var t=[];do{i++,t.push({kind:"Directive",name:h(),arguments:y(e)})}while(64===r.charCodeAt(i));return t}}function b(){for(var e=0;91===r.charCodeAt(i);)e++,i++,d();var t={kind:"NamedType",name:h()};do{if(33===r.charCodeAt(i)&&(i++,d(),t={kind:"NonNullType",type:t}),e){if(93!==r.charCodeAt(i++))throw s("NamedType");d(),t={kind:"ListType",type:t}}}while(e--);return t}function _(){if(123!==r.charCodeAt(i++))throw s("SelectionSet");return d(),x()}function x(){var e=[];do{if(46===r.charCodeAt(i)){if(46!==r.charCodeAt(++i)||46!==r.charCodeAt(++i))throw s("SelectionSet");switch(i++,d(),r.charCodeAt(i)){case 64:e.push({kind:"InlineFragment",typeCondition:void 0,directives:v(!1),selectionSet:_()});break;case 111:110===r.charCodeAt(i+1)?(i+=2,d(),e.push({kind:"InlineFragment",typeCondition:{kind:"NamedType",name:h()},directives:v(!1),selectionSet:_()})):e.push({kind:"FragmentSpread",name:h(),directives:v(!1)});break;case 123:i++,d(),e.push({kind:"InlineFragment",typeCondition:void 0,directives:void 0,selectionSet:x()});break;default:e.push({kind:"FragmentSpread",name:h(),directives:v(!1)})}}else{var t=h(),n=void 0;58===r.charCodeAt(i)&&(i++,d(),n=t,t=h());var o=y(!1),a=v(!1),c=void 0;123===r.charCodeAt(i)&&(i++,d(),c=x()),e.push({kind:"Field",alias:n,name:t,arguments:o,directives:a,selectionSet:c})}}while(125!==r.charCodeAt(i));return i++,d(),{kind:"SelectionSet",selections:e}}function w(){if(d(),40===r.charCodeAt(i)){var e=[];i++,d();do{var t=void 0;if(34===r.charCodeAt(i)&&(t=g(!0)),36!==r.charCodeAt(i++))throw s("Variable");var n=h();if(58!==r.charCodeAt(i++))throw s("VariableDefinition");d();var o=b(),a=void 0;61===r.charCodeAt(i)&&(i++,d(),a=g(!0)),d();var c={kind:"VariableDefinition",variable:{kind:"Variable",name:n},type:o,defaultValue:a,directives:v(!0)};t&&(c.description=t),e.push(c)}while(41!==r.charCodeAt(i));return i++,d(),e}}function S(e){var t=h();if(111!==r.charCodeAt(i++)||110!==r.charCodeAt(i++))throw s("FragmentDefinition");d();var n={kind:"FragmentDefinition",name:t,typeCondition:{kind:"NamedType",name:h()},directives:v(!1),selectionSet:_()};return e&&(n.description=e),n}function E(){var e=[];do{var t=void 0;if(34===r.charCodeAt(i)&&(t=g(!0)),123===r.charCodeAt(i)){if(t)throw s("Document");i++,d(),e.push({kind:"OperationDefinition",operation:"query",name:void 0,variableDefinitions:void 0,directives:void 0,selectionSet:x()})}else{var n=f();switch(n){case"fragment":e.push(S(t));break;case"query":case"mutation":case"subscription":var o,a=void 0;40!==(o=r.charCodeAt(i))&&64!==o&&123!==o&&(a=h());var c={kind:"OperationDefinition",operation:n,name:a,variableDefinitions:w(),directives:v(!1),selectionSet:_()};t&&(c.description=t),e.push(c);break;default:throw s("Document")}}}while(i<r.length);return e}function O(e,t){return r=e.body?e.body:e,i=0,d(),t&&t.noLocation?{kind:"Document",definitions:E()}:{kind:"Document",definitions:E(),loc:{start:0,end:r.length,startToken:void 0,endToken:void 0,source:{body:r,name:"graphql.web",locationOffset:{line:1,column:1}}}}}
1function k(e,t,n){for(var r="",i=0;i<e.length;i++)i&&(r+=t),r+=n(e[i]);return r}var T="\n",P={OperationDefinition(e){var t="";e.description&&(t+=P.StringValue(e.description)+"\n"),t+=e.operation,e.name&&(t+=" "+e.name.value),e.variableDefinitions&&e.variableDefinitions.length&&(e.name||(t+=" "),t+="("+k(e.variableDefinitions,", ",P.VariableDefinition)+")"),e.directives&&e.directives.length&&(t+=" "+k(e.directives," ",P.Directive));var n=P.SelectionSet(e.selectionSet);return"query"!==t?t+" "+n:n},VariableDefinition(e){var t="";return e.description&&(t+=P.StringValue(e.description)+" "),t+=P.Variable(e.variable)+": "+j(e.type),e.defaultValue&&(t+=" = "+j(e.defaultValue)),e.directives&&e.directives.length&&(t+=" "+k(e.directives," ",P.Directive)),t},Field(e){var t=e.alias?e.alias.value+": "+e.name.value:e.name.value;if(e.arguments&&e.arguments.length){var n=k(e.arguments,", ",P.Argument);t.length+n.length+2>80?t+="("+(T+=" ")+k(e.arguments,T,P.Argument)+(T=T.slice(0,-2))+")":t+="("+n+")"}return e.directives&&e.directives.length&&(t+=" "+k(e.directives," ",P.Directive)),e.selectionSet&&e.selectionSet.selections.length&&(t+=" "+P.SelectionSet(e.selectionSet)),t}
1,StringValue:e=>e.block?function(e){return'"""\n'+e.replace(/"""/g,'\\"""')+'\n"""'}(e.value).replace(/\n/g,T):function(e){return JSON.stringify(e)}(e.value),BooleanValue:e=>""+e.value,NullValue:e=>"null",IntValue:e=>e.value,FloatValue:e=>e.value,EnumValue:e=>e.value,Name:e=>e.value,Variable:e=>"$"+e.name.value,ListValue:e=>"["+k(e.values,", ",j)+"]",ObjectValue:e=>"{"+k(e.fields,", ",P.ObjectField)+"}",ObjectField:e=>e.name.value+": "+j(e.value),Document:e=>e.definitions&&e.definitions.length?k(e.definitions,"\n\n",j):"",SelectionSet:e=>"{"+(T+=" ")+k(e.selections,T,j)+(T=T.slice(0,-2))+"}",Argument:e=>e.name.value+": "+j(e.value),FragmentSpread(e){var t="..."+e.name.value;return e.directives&&e.directives.length&&(t+=" "+k(e.directives," ",P.Directive)),t},InlineFragment(e){var t="...";return e.typeCondition&&(t+=" on "+e.typeCondition.name.value),e.directives&&e.directives.length&&(t+=" "+k(e.directives," ",P.Directive)),t+" "+P.SelectionSet(e.selectionSet)},FragmentDefinition(e){var t="";return e.description&&(t+=P.StringValue(e.description)+"\n"),t+="fragment "+e.name.value,t+=" on "+e.typeCondition.name.value,e.directives&&e.directives.length&&(t+=" "+k(e.directives," ",P.Directive)),t+" "+P.SelectionSet(e.selectionSet)},Directive(e){var t="@"+e.name.value;return e.arguments&&e.arguments.length&&(t+="("+k(e.arguments,", ",P.Argument)+")"),t},NamedType:e=>
1e.name.value,ListType:e=>"["+j(e.type)+"]",NonNullType:e=>j(e.type)+"!"},j=e=>P[e.kind](e);function D(e){return T="\n",P[e.kind]?P[e.kind](e):""}},86138:function(e,t,n){"use strict";n.d(t,{d:function(){return C},e:function(){return M},f:function(){return B},h:function(){return O},k:function(){return E},m:function(){return D},s:function(){return w}});var r=n(36155),i=n(63496),o=e=>e&&e.message&&(e.extensions||"GraphQLError"===e.name)?e:"object"==typeof e&&e.message?new r.__(e.message,e.nodes,e.source,e.positions,e.path,e,e.extensions||{}):new r.__(e);class a extends Error{constructor(e){var t=(e.graphQLErrors||[]).map(o),n=((e,t)=>{var n="";if(e)return`[Network] ${e.message}`;if(t)for(var r of t)n&&(n+="\n"),n+=`[GraphQL] ${r.message}`;return n})(e.networkError,t);super(n),this.name="CombinedError",this.message=n,this.graphQLErrors=t,this.networkError=e.networkError,this.response=e.response}toString(){return this.message}}var s=(e,t)=>{for(var n=0|(t||5381),r=0,i=0|e.length;r<i;r++)n=(n<<5)+n+e.charCodeAt(r);return n},c=new Set,l=new WeakMap,u=e=>{if(null===e||c.has(e))return"null";if("object"!=typeof e)return JSON.stringify(e)||"";if(e.toJSON)return u(e.toJSON());if(Array.isArray(e)){var t="[";for(var n of e)t.length>1&&(t+=","),t+=u(n)||"null";return t+"]"}if(p!==h&&e instanceof p||m!==h&&e instanceof m)return"null";var r=Object.keys(e).sort();if(!r.length&&e.constructor&&e.constructor!==Object){var i=l.get(e)||Math.random().toString(36).slice(2);return l.set(e,i),u({__key:i})}c.add(e);var o="{";for(var a of r){var s=u(e[a]);s&&(o.length>1&&(o+=","),o+=u(a)+":"+s)}return c.delete(e),o+"}"},d=(e,t,n)=>{if(null==n||"object"!=typeof n||n.toJSON||c.has(n));else if(Array.isArray(n))for(var r=0,i=n.length;r<i;r++)d(e,`${t}.${r}`,n[r]);else if(n instanceof p||n instanceof m)e.set(t,n);else for(var o of(c.add(n),Object.keys(n)))d(e,`${t}.${o}`,n[o])},f=e=>(c.clear(),u(e));class h{}var p="undefined"!=typeof File?File:h,m="undefined"!=typeof Blob?Blob:h,g=/("{3}[\s\S]*"{3}|"(?:\\.|[^"])*")/g,y=/(?:#[^\n\r]+)?(?:[\r\n]+|$)/g,v=(e,t)=>t%2==0?e.replace(y,"\n"):e,b=e=>e.split(g).map(v).join("").trim(),_=new Map,x=new Map,w=e=>{var t;return"string"==typeof e?t=b(e):e.loc&&x.get(e.__key)===e?t=e.loc.source.body:(t=_.get(e)||b((0,r.S0)(e)),_.set(e,t)),"string"==typeof e||e.loc||(e.loc={start:0,end:t.length,source:{body:t,name:"gql",locationOffset:{line:1,column:1}}}),t},S=e=>{var t=s(w(e));if(e.definitions){var n=k(e);n&&(t=s(`\n# ${n}`,t))}return t},E=e=>{var t,n;return"string"==typeof e?(t=S(e),n=x.get(t)||(0,r.Qc)(e,{noLocation:!0})):(t=e.__key||S(e),n=x.get(t)||e),n.loc||w(n),n.__key=t,x.set(t,n),n},O=(e,t,n)=>{var r=t||{},i=E(e),o=f(r),a=i.__key;return"{}"!==o&&(a=s(o,a)),{key:a,query:i,variables:r,extensions:n}},k=e=>{for(var t of e.definitions)if(t.kind===r.hY.OPERATION_DEFINITION)return t.name?t.name.value:void 0},T=(e,t,n)=>{if(!("data"in t||"errors"in t&&Array.isArray(t.errors)))throw new Error("No Content");var r="subscription"===e.kind;return{operation:e,data:t.data,error:Array.isArray(t.errors)?new a({graphQLErrors:t.errors,response:n}):void 0,extensions:t.extensions?{...t.extensions}:void 0,hasNext:null==t.hasNext?r:t.hasNext,stale:!1}},P=(e,t)=>{if("object"==typeof e&&null!=e&&(!e.constructor||e.constructor===Object||Array.isArray(e))){for(var n of(e=Array.isArray(e)?[...e]:{...e},Object.keys(t)))e[n]=P(e[n],t[n]);return e}return t},j=(e,t,n,r)=>{var i=e.error?e.error.graphQLErrors:[],o=!!e.extensions||!!t.extensions,s={...e.extensions,...t.extensions},c=t.incremental;"path"in t&&(c=[t]);var l={data:e.data};if(c){var u=function(e){Array.isArray(e.errors)&&i.push(...e.errors),e.extensions&&(Object.assign(s,e.extensions),o=!0);var t="data",n=l,a=[];if(e.path)a=e.path;else if(r){var c=r.find((t=>t.id===e.id));a=e.subPath?[...c.path,...e.subPath]:c.path}for(var u=0,d=a.length;u<d;t=a[u++])n=n[t]=Array.isArray(n[t])?[...n[t]]:{...n[t]};if(e.items)for(var f=+t>=0?t:0,h=0,p=e.items.length;h<p;h++)n[f+h]=P(n[f+h],e.items[h]);else void 0!==e.data&&(n[t]=P(n[t],e.data))};for(var d of c)u(d)}else l.data=t.data||e.data,i=t.errors||i;return{operation:e.operation,data:l.data,error:i.length?new a({graphQLErrors:i,response:n}):void 0,extensions:o?s:void 0,hasNext:null!=t.hasNext?t.hasNext:e.hasNext,stale:!1}};function D(e){return{query:e.extensions&&e.extensions.persistedQuery&&!e.extensions.persistedQuery.miss?void 0:w(e.query),operationName:k(e.query),variables:e.variables||void 0,extensions:e.extensions}}var C=(e,t)=>{var n="query"===e.kind&&e.context.preferGetMethod;if(!n||!t)return e.context.url;
1var r=new URL(e.context.url);for(var i in t){var o=t[i];o&&r.searchParams.set(i,"object"==typeof o?f(o):o)}var a=r.toString();return a.length>2047&&"force"!==n?(e.context.preferGetMethod=!1,e.context.url):a},M=(e,t)=>{var n={accept:"subscription"===e.kind?"text/event-stream, multipart/mixed":"application/graphql-response+json, application/graphql+json, application/json, text/event-stream, multipart/mixed"},r=("function"==typeof e.context.fetchOptions?e.context.fetchOptions():e.context.fetchOptions)||{};if(r.headers)for(var i in r.headers)n[i.toLowerCase()]=r.headers[i];var o=((e,t)=>{if(t&&("query"!==e.kind||!e.context.preferGetMethod)){var n=f(t),r=(e=>{var t=new Map;return p===h&&m===h||(c.clear(),d(t,"variables",e)),t})(t.variables);if(r.size){var i=new FormData;i.append("operations",n),i.append("map",f({...[...r.keys()].map((e=>[e]))}));var o=0;for(var a of r.values())i.append(""+o++,a);return i}return n}})(e,t);return"string"!=typeof o||n["content-type"]||(n["content-type"]="application/json"),{...r,method:o?"POST":"GET",body:o,headers:n}},R="undefined"!=typeof TextDecoder?new TextDecoder:null,N=/boundary="?([^=";]+)"?/i,A=/data: ?([^\n]+)/,I=e=>"Buffer"===e.constructor.name?e.toString():R.decode(e);async function*L(e){if(e.body[Symbol.asyncIterator])for await(var t of e.body)yield I(t);else{var n,r=e.body.getReader();try{for(;!(n=await r.read()).done;)yield I(n.value)}finally{r.cancel()}}}async function*U(e,t){var n,r="";for await(var i of e)for(r+=i;(n=r.indexOf(t))>-1;)yield r.slice(0,n),r=r.slice(n+t.length)}async function*V(e,t,n){var r,i=!0,o=null;try{yield await Promise.resolve();var s,c,l=(r=await(e.context.fetch||fetch)(t,n)).headers.get("Content-Type")||"";for await(var u of(s=/multipart\/mixed/i.test(l)?async function*(e,t){var n,r=e.match(N),i="--"+(r?r[1]:"-"),o=!0;for await(var a of U(L(t),"\r\n"+i)){if(o){o=!1;var s=a.indexOf(i);if(!(s>-1))continue;a=a.slice(s+i.length)}try{yield n=JSON.parse(a.slice(a.indexOf("\r\n\r\n")+4))}catch(e){if(!n)throw e}if(n&&!1===n.hasNext)break}n&&!1!==n.hasNext&&(yield{hasNext:!1})}(l,r):/text\/event-stream/i.test(l)?async function*(e){var t;for await(var n of U(L(e),"\n\n")){var r=n.match(A);if(r){var i=r[1];try{yield t=JSON.parse(i)}catch(e){if(!t)throw e}if(t&&!1===t.hasNext)break}}t&&!1!==t.hasNext&&(yield{hasNext:!1})}(r):/text\//i.test(l)?async function*(e){var t=await e.text();try{var n=JSON.parse(t);0,yield n}catch(e){throw new Error(t)}}(r):async function*(e){yield JSON.parse(await e.text())}(r),s))u.pending&&!o?c=u.pending:u.pending&&(c=[...c,...u.pending]),o=o?j(o,u,r,c):T(e,u,r),i=!1,yield o,i=!0;o||(yield o=T(e,{},r))}catch(t){if(!i)throw t;yield((e,t,n)=>({operation:e,data:void 0,error:new a({networkError:t,response:n}),extensions:void 0,hasNext:!1,stale:!1}))(e,r&&(r.status<200||r.status>=300)&&r.statusText?new Error(r.statusText):t,r)}}function B(e,t,n){var r;return"undefined"!=typeof AbortController&&(n.signal=(r=new AbortController).signal),(0,i.ok)((()=>{r&&r.abort()}))((0,i.hX)((e=>!!e))((0,i.fY)(V(e,t,n))))}},26997:function(e,t,n){"use strict";n.d(t,{Dk:function(){return b},Ek:function(){return v},HG:function(){return g},Ps:function(){return h},eI:function(){return x}});var r=n(36155),i=n(86138),o=n(63496),a=(e,t)=>{if(Array.isArray(e))for(var n of e)a(n,t);else if("object"==typeof e&&null!==e)for(var r in e)"__typename"===r&&"string"==typeof e[r]?t.add(e[r]):a(e[r],t);return t},s=e=>{if("definitions"in e){var t=[];for(var n of e.definitions){var i=s(n);t.push(i)}return{...e,definitions:t}}if("directives"in e&&e.directives&&e.directives.length){var o=[],a={};for(var c of e.directives){var l=c.name.value;"_"!==l[0]?o.push(c):l=l.slice(1),a[l]=c}e={...e,directives:o,_directives:a}}if("selectionSet"in e){var u=[],d=e.kind===r.hY.OPERATION_DEFINITION;if(e.selectionSet){for(var f of e.selectionSet.selections||[]){d=d||f.kind===r.hY.FIELD&&"__typename"===f.name.value&&!f.alias;var h=s(f);u.push(h)}return d||u.push({kind:r.hY.FIELD,name:{kind:r.hY.NAME,value:"__typename"},_generated:!0}),{...e,selectionSet:{...e.selectionSet,selections:u}}}}return e},c=new Map,l=(e,t)=>
1{if(e&&"object"==typeof e){if(Array.isArray(e))return e.map((e=>l(e)));if(e&&"object"==typeof e&&(t||"__typename"in e)){var n={};for(var r in e)"__typename"===r?Object.defineProperty(n,"__typename",{enumerable:!1,value:e.__typename}):n[r]=l(e[r]);return n}return e}return e};function u(e){var t=t=>e(t);return t.toPromise=()=>(0,o.Vi)((0,o.qn)(1)((0,o.hX)((e=>!e.stale&&!e.hasNext))(t))),t.then=(e,n)=>t.toPromise().then(e,n),t.subscribe=e=>(0,o.Ld)(e)(t),t}function d(e,t,n){return{...t,kind:e,context:t.context?{...t.context,...n}:n||t.context}}var f=()=>{};function h(e){for(var t=new Map,n=[],o=[],a=Array.isArray(e)?e[0]:e||"",s=1;s<arguments.length;s++){var c=arguments[s];c&&c.definitions?o.push(c):a+=c,a+=arguments[0][s]}for(var l of(o.unshift((0,i.k)(a)),o))for(var u of l.definitions)if(u.kind===r.hY.FRAGMENT_DEFINITION){var d=u.name.value,f=(0,i.s)(u);t.has(d)||(t.set(d,f),n.push(u))}else n.push(u);return(0,i.k)({kind:r.hY.DOCUMENT,definitions:n})}var p=({kind:e})=>"mutation"!==e&&"query"!==e,m=e=>{var t=(e=>{var t=(0,i.k)(e),n=c.get(t.__key);return n||(c.set(t.__key,n=s(t)),Object.defineProperty(n,"__key",{value:t.__key,enumerable:!1})),n})(e.query);if(t!==e.query){var n=d(e.kind,e);return n.query=t,n}return e},g=({forward:e,client:t,dispatchDebug:n})=>{var r=new Map,i=new Map,s=e=>"query"===e.kind&&"network-only"!==e.context.requestPolicy&&("cache-only"===e.context.requestPolicy||r.has(e.key));return n=>{var c=(0,o.UI)((e=>{var n=r.get(e.key);return"cache-and-network"===e.context.requestPolicy&&(n.stale=!0,y(t,e)),n}))((0,o.hX)((e=>!p(e)&&s(e)))(n)),l=(0,o.bw)((e=>{var{operation:n}=e;if(n){var o=n.context.additionalTypenames||[];if("subscription"!==e.operation.kind&&(o=(e=>[...a(e,new Set)])(e.data).concat(o)),"mutation"===e.operation.kind||"subscription"===e.operation.kind){for(var s=new Set,c=0;c<o.length;c++){var l=o[c],u=i.get(l);
1for(var d of(u||i.set(l,u=new Set),u.values()))s.add(d);u.clear()}for(var f of s.values())r.has(f)&&(n=r.get(f).operation,r.delete(f),y(t,n))}else if("query"===n.kind&&e.data){r.set(n.key,e);for(var h=0;h<o.length;h++){var p=o[h],m=i.get(p);m||i.set(p,m=new Set),m.add(n.key)}}}}))(e((0,o.hX)((e=>"query"!==e.kind||"cache-only"!==e.context.requestPolicy))((0,o.UI)((e=>e))((0,o.TS)([(0,o.UI)(m)((0,o.hX)((e=>!p(e)&&!s(e)))(n)),(0,o.hX)((e=>p(e)))(n)])))));return(0,o.TS)([c,l])}},y=(e,t)=>e.reexecuteOperation(d(t.kind,t,{requestPolicy:"network-only"})),v=(new Set,({forward:e,dispatchDebug:t})=>t=>{var n=(0,o.zg)((e=>{var n=(0,i.m)(e),r=(0,i.d)(e,n),a=(0,i.e)(e,n),s=(0,o.Rs)((0,o.hX)((t=>"teardown"===t.kind&&t.key===e.key))(t))((0,i.f)(e,r,a));return s}))((0,o.hX)((e=>"teardown"!==e.kind&&("subscription"!==e.kind||!!e.context.fetchSubscriptions)))(t)),r=e((0,o.hX)((e=>"teardown"===e.kind||"subscription"===e.kind&&!e.context.fetchSubscriptions))(t));return(0,o.TS)([n,r])}),b=({onOperation:e,onResult:t,onError:n})=>({forward:r})=>i=>(0,o.zg)((e=>{n&&e.error&&n(e.error,e.operation);var r=t&&t(e)||e;return"then"in r?(0,o.p4)(r):(0,o._A)(r)}))(r((0,o.zg)((t=>{var n=e&&e(t)||t;return"then"in n?(0,o.p4)(n):(0,o._A)(n)}))(i))),_=({dispatchDebug:e})=>e=>(0,o.hX)((e=>!1))(e),x=function e(t){var n=0,r=new Map,a=new Map,s=new Set,c=[],h={url:t.url,fetchSubscriptions:t.fetchSubscriptions,fetchOptions:t.fetchOptions,fetch:t.fetch,preferGetMethod:t.preferGetMethod,requestPolicy:t.requestPolicy||"cache-first"},p=(0,o.nN)();function m(e){"mutation"!==e.kind&&"teardown"!==e.kind&&s.has(e.key)||("teardown"===e.kind?s.delete(e.key):"mutation"!==e.kind&&s.add(e.key),p.next(e))}var g=!1;function y(e){if(e&&m(e),!g){for(g=!0;g&&(e=c.shift());)m(e);g=!1}}var v=e=>{var n=(0,o.Rs)((0,o.hX)((t=>"teardown"===t.kind&&t.key===e.key))(p.source))((0,o.hX)((t=>t.operation.kind===e.kind&&t.operation.key===e.key&&(!t.operation.context._instance||t.operation.context._instance===e.context._instance)))(E));return t.maskTypename&&(n=(0,o.UI)((e=>({...e,data:l(e.data,!0)})))(n)),n="query"!==e.kind?(0,o.oE)((e=>!!e.hasNext),!0)(n):(0,o.wt)((t=>{var n=(0,o._A)(t);return t.stale||t.hasNext?n:(0,o.TS)([n,(0,o.UI)((()=>(t.stale=!0,t)))((0,o.qn)(1)((0,o.hX)((t=>t.key===e.key))(p.source)))])}))(n),n="mutation"!==e.kind?(0,o.ok)((()=>{s.delete(e.key),r.delete(e.key),a.delete(e.key),g=!1;for(var t=c.length-1;t>=0;t--)c[t].key===e.key&&c.splice(t,1);m(d("teardown",e,e.context))}))((0,o.Mq)((t=>{if(t.stale){for(var n of c)if(n.key===t.operation.key){s.delete(n.key);break}}else t.hasNext||s.delete(e.key);r.set(e.key,t)}))(n)):(0,o.Hr)((()=>{m(e)}))(n),(0,o.BN)(n)},b=this instanceof e?this:Object.create(e.prototype),x=Object.assign(b,{suspense:!!t.suspense,operations$:p.source,reexecuteOperation(e){if("teardown"===e.kind)y(e);else if("mutation"===e.kind||a.has(e.key)){for(var t=!1,n=0;n<c.length;n++)t=t||c[n].key===e.key;t||s.delete(e.key),c.push(e),Promise.resolve().then(y)}},createRequestOperation:(e,t,r)=>(r||(r={}),d(e,t,{_instance:"mutation"===e?n=n+1|0:void 0,...h,...r,requestPolicy:r.requestPolicy||h.requestPolicy,suspense:r.suspense||!1!==r.suspense&&x.suspense})),executeRequestOperation:e=>"mutation"===e.kind?u(v(e)):u((0,o.Vo)((()=>{var t=a.get(e.key);t||a.set(e.key,t=v(e)),t=(0,o.Hr)((()=>{y(e)}))(t);var n=r.get(e.key);return"query"===e.kind&&n&&(n.stale||n.hasNext)?(0,o.wt)(o._A)((0,o.TS)([t,(0,o.hX)((t=>t===r.get(e.key)))((0,o._A)(n))])):t}))),executeQuery(e,t){var n=x.createRequestOperation("query",e,t);return x.executeRequestOperation(n)},executeSubscription(e,t){var n=x.createRequestOperation("subscription",e,t);return x.executeRequestOperation(n)},executeMutation(e,t){var n=x.createRequestOperation("mutation",e,t);return x.executeRequestOperation(n)},readQuery(e,t,n){var r=null;return(0,o.Ld)((e=>{r=e}))(x.query(e,t,n)).unsubscribe(),r},query:(e,t,n)=>x.executeQuery((0,i.h)(e,t),n),subscription:(e,t,n)=>x.executeSubscription((0,i.h)(e,t),n),mutation:(e,t,n)=>x.executeMutation((0,i.h)(e,t),n)}),w=f,S=(e=>({client:t,forward:n,dispatchDebug:r})=>e.reduceRight(((e,n)=>n({client:t,forward:t=>(0,o.BN)(e((0,o.BN)(t))),dispatchDebug(e){}})),n))(t.exchanges),E=(0,o.BN)(S({client:x,dispatchDebug:w,forward:_({dispatchDebug:w})})(p.source));return(0,o.nY)(E),x}},52587:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:function(){return r}})},59499:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Z:function(){return r}})},16835:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(2937);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(c){s=!0,i=c}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||(0,r.Z)(e,t)||function(){throw new TypeError("Invalid attempt to de
1structure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},71383:function(e,t,n){"use strict";function r(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n.d(t,{Z:function(){return r}})},27812:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(52587);var i=n(2937);function o(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,i.Z)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},2937:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(52587);function i(e,t){if(e){if("string"===typeof e)return(0,r.Z)(e,t);var n=Object.prototype.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)?(0,r.Z)(e,t):void 0}}},63496:function(e,t,n){"use strict";n.d(t,{BN:function(){return g},Hr:function(){return m},Ld:function(){return P},Mq:function(){return p},Rs:function(){return b},TS:function(){return f},UI:function(){return u},Vi:function(){return D},Vo:function(){return x},_A:function(){return E},bw:function(){return p},fY:function(){return w},hX:function(){return l},nN:function(){return k},nY:function(){return j},oE:function(){return _},ok:function(){return h},p4:function(){return T},qn:function(){return v},wt:function(){return y},zG:function(){return C},zg:function(){return d}});var r=()=>{},i=r;function o(e){return{tag:0,0:e}}function a(e){return{tag:1,0:e}}var s=()=>"function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator",c=e=>e;function l(e){return t=>n=>{var r=i;t((t=>{0===t?n(0):0===t.tag?(r=t[0],n(t)):e(t[0])?n(t):r(0)}))}}function u(e){return t=>n=>t((t=>{0===t||0===t.tag?n(t):n(a(e(t[0])))}))}function d(e){return t=>n=>{var r=[],a=i,s=!1,c=!1;t((t=>{c||(0===t?(c=!0,r.length||n(0)):0===t.tag?a=t[0]:(s=!1,function(e){var t=i;e((e=>{if(0===e){if(r.length){var i=r.indexOf(t);i>-1&&(r=r.slice()).splice(i,1),r.length||(c?n(0):s||(s=!0,a(0)))}}else 0===e.tag?(r.push(t=e[0]),t(0)):r.length&&(n(e),t(0))}))}(e(t[0])),s||(s=!0,a(0))))})),n(o((e=>{if(1===e){c||(c=!0,a(1));for(var t=0,n=r,i=r.length;t<i;t++)n[t](1);r.length=0}else{c||s?s=!1:(s=!0,a(0));for(var o=0,l=r,u=r.length;o<u;o++)l[o](0)}})))}}function f(e){return function(e){return d(c)(e)}(S(e))}function h(e){return t=>n=>{var r=!1;t((t=>{if(r);else if(0===t)r=!0,n(0),e();else if(0===t.tag){var i=t[0];n(o((t=>{1===t?(r=!0,i(1),e()):i(t)})))}else n(t)}))}}function p(e){return t=>n=>{var r=!1;t((t=>{if(r);else if(0===t)r=!0,n(0);else if(0===t.tag){var i=t[0];n(o((e=>{1===e&&(r=!0),i(e)})))}else e(t[0]),n(t)}))}}function m(e){return t=>n=>t((t=>{0===t?n(0):0===t.tag?(n(t),e()):n(t)}))}function g(e){var t=[],n=i,r=!1;return i=>{t.push(i),1===t.length&&e((e=>{if(0===e){for(var i=0,o=t,a=t.length;i<a;i++)o[i](0);t.length=0}else if(0===e.tag)n=e[0];else{r=!1;for(var s=0,c=t,l=t.length;s<l;s++)c[s](e)}})),i(o((e=>{if(1===e){var o=t.indexOf(i);o>-1&&(t=t.slice()).splice(o,1),t.length||n(1)}else r||(r=!0,n(0))})))}}function y(e){return t=>n=>{var r=i,a=i,s=!1,c=!1,l=!1,u=!1;t((t=>{u||(0===t?(u=!0,l||n(0)):0===t.tag?r=t[0]:(l&&(a(1),a=i),s?s=!1:(s=!0,r(0)),function(e){l=!0,e((e=>{l&&(0===e?(l=!1,u?n(0):s||(s=!0,r(0))):0===e.tag?(c=!1,(a=e[0])(0)):(n(e),c?c=!1:a(0)))}))}(e(t[0]))))})),n(o((e=>{1===e?(u||(u=!0,r(1)),l&&(l=!1,a(1))):(u||s||(s=!0,r(0)),l&&!c&&(c=!0,a(0)))})))}}function v(e){return t=>n=>{var r=i,a=!1,s=0;t((t=>{a||(0===t?(a=!0,n(0)):0===t.tag?e<=0?(a=!0,n(0),t[0](1)):r=t[0]:s++<e?(n(t),!a&&s>=e&&(a=!0,n(0),r(1))):n(t))})),n(o((t=>{1!==t||a?0===t&&!a&&s<e&&r(0):(a=!0,r(1))})))}}function b(e){return t=>n=>{var r=i,a=i,s=!1;t((t=>{s||(0===t?(s=!0,a(1),n(0)):0===t.tag?(r=t[0],e((e=>{0===e||(0===e.tag?(a=e[0])(0):(s=!0,a(1),r(1),n(0)))}))):n(t))})),n(o((e=>{1!==e||s?s||r(0):(s=!0,r(1),a(1))})))}}function _(e,t){return n=>r=>{var o=i,a=!1;n((n=>{a||(0===n?(a=!0,r(0)):0===n.tag?(o=n[0],r(n)):e(n[0])?r(n):(a=!0,t&&r(n),r(0),o(1)))}))}}function x(e){return t=>e()(t)}function w(e){return t=>{var n,r=e[s()]&&e[s()]()||e,i=!1,c=!1,l=!1;t(o((async e=>{if(1===e)i=!0,r.return&&r.return();else if(c)l=!0;else{for(l=c=!0;l&&!i;)if((n=await r.next()).done)i=!0,r.return&&await r.return(),t(0);else try{l=!1,t(a(n.value))}catch(e){if(!r.throw)throw e;(i=!!(await r.throw(e)).done)&&t(0)}c=!1}})))}}var S=function(e){return e[Symbol.asyncIterator]?w(e):t=>{var n,r=e[Symbol.iterator](),i=!1,s=!1,c=!1;t(o((e=>{if(1===e)i=!0,r.return&&r.return();else if(s)c=!0;else{for(c=s=!0;c&&!i;)if((n=r.next()).done)i=!0,r.return&&r.return(),t(0);else try{c=!1,t(a(n.value))}catch(e){if(!r.throw)throw e;(i=!!r.throw(e).done)&&t(0)}s=!1}})))}};function E(e){return t=>{var n=!1;t(o((r=>{1===r?n=!0:n||(n=!0,t(a(e)),t(0))})))}}function O(e){return t=>{var n=!1,r=e({next(e){n||t(a(e))},complete(){n||(n=!0,t(0))}});t(o((e=>{1!==e||n||(n=!0,r())})))}}function k(){var e,t;return{source:g(O((n=>(e=n.next,t=n.complete,r)))),next(t){e&&e(t)}
1,complete(){t&&t()}}}function T(e){return O((t=>(e.then((e=>{Promise.resolve(e).then((()=>{t.next(e),t.complete()}))})),r)))}function P(e){return t=>{var n=i,r=!1;return t((t=>{0===t?r=!0:0===t.tag?(n=t[0])(0):r||(e(t[0]),n(0))})),{unsubscribe(){r||(r=!0,n(1))}}}}function j(e){P((e=>{}))(e)}function D(e){return new Promise((t=>{var n,r=i;e((e=>{0===e?Promise.resolve(n).then(t):0===e.tag?(r=e[0])(0):(n=e[0],r(0))}))}))}var C=(...e)=>{for(var t=e[0],n=1,r=e.length;n<r;n++)t=e[n](t);return t}}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[9774,179],(function(){return t(14603),t(75492),t(69898)}));var n=e.O();_N_E=n}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.