(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2888],{3525:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.withPageAuthRequired=t.useUser=t.RequestError=t.UserContext=t.UserProvider=t.useConfig=t.ConfigProvider=void 0;var o=n(1865);Object.defineProperty(t,"ConfigProvider",{enumerable:!0,get:function(){return r(o).default}}),Object.defineProperty(t,"useConfig",{enumerable:!0,get:function(){return o.useConfig}});var i=n(70638);Object.defineProperty(t,"UserProvider",{enumerable:!0,get:function(){return r(i).default}}),Object.defineProperty(t,"UserContext",{enumerable:!0,get:function(){return i.UserContext}}),Object.defineProperty(t,"RequestError",{enumerable:!0,get:function(){return i.RequestError}}),Object.defineProperty(t,"useUser",{enumerable:!0,get:function(){return i.useUser}});var a=n(78896);Object.defineProperty(t,"withPageAuthRequired",{enumerable:!0,get:function(){return r(a).default}})},1865:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useConfig=void 0;var r=n(38428).__importStar(n(67294)),o=r.createContext({});t.useConfig=function(){return r.useContext(o)},t.default=function(e){var t=e.children,n=e.loginUrl,i=void 0===n?"/welcome":n;return r.default.createElement(o.Provider,{value:{loginUrl:i}},t)}},70638:function(e,t,n){"use strict";var r=n(83454);Object.defineProperty(t,"__esModule",{value:!0}),t.useUser=t.UserContext=t.RequestError=void 0;var o=n(38428),i=o.__importStar(n(67294)),a=o.__importDefault(n(1865)),s=function(e){function t(n){var r=e.call(this)||this;return r.status=n,Object.setPrototypeOf(r,t.prototype),r}return o.__extends(t,e),t}(Error);t.RequestError=s;var l="You forgot to wrap your app in <UserProvider>";t.UserContext=i.createContext({get user(){throw new Error(l)},get error(){throw new Error(l)},get isLoading(){throw new Error(l)},checkSession:function(){throw new Error(l)}});t.useUser=function(){return i.useContext(t.UserContext)};var u=function(e){return o.__awaiter(void 0,void 0,void 0,(function(){var t;return o.__generator(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,fetch(e)];case 1:return t=n.sent(),[3,3];case 2:throw n.sent(),new s(0);case 3:if(t.ok)return[2,t.json()];if(401===t.status)return[2,void 0];throw new s(t.status)}}))}))};t.default=function(e){var n=e.children,s=e.user,l=e.profileUrl,c=void 0===l?r.env.NEXT_PUBLIC_AUTH0_PROFILE||"/api/auth/me":l,f=e.loginUrl,d=e.fetcher,p=void 0===d?u:d,h=o.__read(i.useState({user:s,isLoading:!s}),2),m=h[0],g=h[1],v=i.useCallback((function(){return o.__awaiter(void 0,void 0,void 0,(function(){var e,t;return o.__generator(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,p(c)];case 1:return e=n.sent(),g((function(t){return o.__assign(o.__assign({},t),{user:e,error:void 0})})),[3,3];case 2:return t=n.sent(),g((function(e){return o.__assign(o.__assign({},e),{error:t})})),[3,3];case 3:return[2]}}))}))}),[c]);i.useEffect((function(){m.user||o.__awaiter(void 0,void 0,void 0,(function(){return o.__generator(this,(function(e){switch(e.label){case 0:return[4,v()];case 1:return e.sent(),g((function(e){return o.__assign(o.__assign({},e),{isLoading:!1})})),[2]}}))}))}),[m.user]);var y=m.user,b=m.error,x=m.isLoading;return i.default.createElement(a.default,{loginUrl:f},i.default.createElement(t.UserContext.Provider,{value:{user:y,error:b,isLoading:x,checkSession:v}},n))}},78896:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(38428),o=r.__importStar(n(67294)),i=n(1865),a=n(70638),s=function(){return o.default.createElement(o.default.Fragment,null)},l=function(){return o.default.createElement(o.default.Fragment,null)};t.default=function(e,t){return void 0===t&&(t={}),function(n){var u=t.returnTo,c=t.onRedirecting,f=void 0===c?s:c,d=t.onError,p=void 0===d?l:d,h=i.useConfig().loginUrl,m=a.useUser(),g=m.user,v=m.error,y=m.isLoading;return o.useEffect((function(){if(!(g&&!v||y)){var e;if(u)e=u;else{var t=window.location.toString();e=t.replace(new URL(t).origin,"")||"/"}window.location.assign(h+"?returnTo="+encodeURIComponent(e))}}),[g,v,y]),v?p(v):g?o.default.createElement(e,r.__assign({user:g},n)):f()}}},14713:function(e,t,n){"use strict";t.aF=t.dr=void 0;var r=n(38428),o=n(3525);Object.defineProperty(t,"dr",{enumerable:!0,get:function(){return o.UserProvider}}),Object.defineProperty(t,"aF",{enumerable:!0,get:function(){return o.useUser}});var i=function(e){return"The "+e+" method can only be used from the server side"},a={getSession:function(){throw new Error(i("getSession"))},getAccessToken:function(){throw new Error(i("getAccessToken"))},withApiAuthRequired:function(){throw new Error(i("withApiAuthRequired"))},handleLogin:function(){throw new Error(i("handleLogin"))},handleLogout:function(){throw new Error(i("handleLogout"))},handleCallback:function(){throw new Error(i("handleCallback"))},handleProfile:function(){throw new Error(i("handleProfile"))},handleAuth:function(){throw new Error(i("handleAuth"))},withPageAuthRequired:function(){throw new Error(i("withPageAuthRequired"))},getServerSidePropsWrapper:function(){throw new Error(i("getServerSidePropsWrapper"))}}},38428:function(e,t,n){"use strict";n.r(t),n.d(t,{__assign:function(){return i},__asyncDelegator:function(){return w},__asyncGenerator:function(){return x},__asyncValues:function(){return _},__await:function(){return b},__awaiter:function(){return c},__classPrivateFieldGet:function(){return T},__classPrivateFieldIn:function(){return A},__classPrivateFieldSet:function(){return O},__createBinding:function(){return d},__decorate:function(){return s},__exportStar:function(){return p},__extends:function(){return o},__generator:function(){return f},__importDefault:function(){return E},__importStar:function(){return S},__makeTemplateObject:function(){return k},__metadata:function(){return u},__param:function(){return l},__read:function(){return m},__rest:function(){return a},__spread:function(){return g},__spreadArray:function(){return y},__spreadArrays:function(){return v},__values:function(){return h}});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};function a(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 o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function s(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}function l(e,t){return function(n,r){t(n,r,e)}}function u(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)}function c(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(t){i(t)}}function s(e){try{l(r.throw(e))}catch(t){i(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))}function f(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(s){i=[6,s],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}}var d=Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};function p(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||d(t,e,n)}function h(e){var t="function"===typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function m(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function g(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(m(arguments[t]));return e}function v(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),o=0;for(t=0;t<n;t++)for(var i=arguments[t],a=0,s=i.length;a<s;a++,o++)r[o]=i[a];return r}function y(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}function b(e){return this instanceof b?(this.v=e,this):new b(e)}function x(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=n.apply(e,t||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(e){o[e]&&(r[e]=function(t){return new Promise((function(n,r){i.push([e,t,n,r])>1||s(e,t)}))})}function s(e,t){try{!function(e){e.value instanceof b?Promise.resolve(e.value.v).then(l,u):c(i[0][2],e)}(o[e](t))}catch(n){c(i[0][3],n)}}function l(e){s("next",e)}function u(e){s("throw",e)}function c(e,t){e(t),i.shift(),i.length&&s(i[0][0],i[0][1])}}function w(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,o){t[r]=e[r]?function(t){return(n=!n)?{value:b(e[r](t)),done:"return"===r}:o?o(t):t}:o}}function _(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=h(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,o){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,o,(t=e[n](t)).done,t.value)}))}}}function k(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var C=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function S(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&d(t,e,n);return C(t,e),t}function E(e){return e&&e.__esModule?e:{default:e}}function T(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"===typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function O(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"===typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n}function A(e,t){if(null===t||"object"!==typeof t&&"function"!==typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"===typeof e?t===e:e.has(t)}},8417:function(e,t,n){"use strict";n.d(t,{Z:function(){return oe}});var r=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<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++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),o=Math.abs,i=String.fromCharCode,a=Object.assign;function s(e){return e.trim()}function l(e,t,n){return e.replace(t,n)}function u(e,t){return e.indexOf(t)}function c(e,t){return 0|e.charCodeAt(t)}function f(e,t,n){return e.slice(t,n)}function d(e){return e.length}function p(e){return e.length}function h(e,t){return t.push(e),e}var m=1,g=1,v=0,y=0,b=0,x="";function w(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:m,column:g,length:a,return:""}}function _(e,t){return a(w("",null,null,"",null,null,0),e,{length:-e.length},t)}function k(){return b=y>0?c(x,--y):0,g--,10===b&&(g=1,m--),b}function C(){return b=y<v?c(x,y++):0,g++,10===b&&(g=1,m++),b}function S(){return c(x,y)}function E(){return y}function T(e,t){return f(x,e,t)}function O(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 A(e){return m=g=1,v=d(x=e),y=0,[]}function j(e){return x="",e}function I(e){return s(T(y-1,R(91===e?e+2:40===e?e+1:e)))}function P(e){for(;(b=S())&&b<33;)C();return O(e)>2||O(b)>3?"":" "}function N(e,t){for(;--t&&C()&&!(b<48||b>102||b>57&&b<65||b>70&&b<97););return T(e,E()+(t<6&&32==S()&&32==C()))}function R(e){for(;C();)switch(b){case e:return y;case 34:case 39:34!==e&&39!==e&&R(b);break;case 40:41===e&&R(e);break;case 92:C()}return y}function Z(e,t){for(;C()&&e+b!==57&&(e+b!==84||47!==S()););return"/*"+T(t,y-1)+"*"+i(47===e?e:C())}function L(e){for(;!O(S());)C();return T(e,y)}var D="-ms-",F="-moz-",M="-webkit-",z="comm",B="rule",H="decl",$="@keyframes";function U(e,t){for(var n="",r=p(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function V(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case H:return e.return=e.return||e.value;case z:return"";case $:return e.return=e.value+"{"+U(e.children,r)+"}";case B:e.value=e.props.join(",")}return d(n=U(e.children,r))?e.return=e.value+"{"+n+"}":""}function G(e){return j(W("",null,null,null,[""],e=A(e),0,[0],e))}function W(e,t,n,r,o,a,s,f,p){for(var m=0,g=0,v=s,y=0,b=0,x=0,w=1,_=1,T=1,O=0,A="",j=o,R=a,D=r,F=A;_;)switch(x=O,O=C()){case 40:if(108!=x&&58==c(F,v-1)){-1!=u(F+=l(I(O),"&","&\f"),"&\f")&&(T=-1);break}case 34:case 39:case 91:F+=I(O);break;case 9:case 10:case 13:case 32:F+=P(x);break;case 92:F+=N(E()-1,7);continue;case 47:switch(S()){case 42:case 47:h(X(Z(C(),E()),t,n),p);break;default:F+="/"}break;case 123*w:f[m++]=d(F)*T;case 125*w:case 59:case 0:switch(O){case 0:case 125:_=0;case 59+g:-1==T&&(F=l(F,/\f/g,"")),b>0&&d(F)-v&&h(b>32?Y(F+";",r,n,v-1):Y(l(F," ","")+";",r,n,v-2),p);break;case 59:F+=";";default:if(h(D=q(F,t,n,m,g,o,f,A,j=[],R=[],v),a),123===O)if(0===g)W(F,t,D,D,j,a,v,f,R);else switch(99===y&&110===c(F,3)?100:y){case 100:case 108:case 109:case 115:W(e,D,D,r&&h(q(e,D,D,0,0,o,f,A,o,j=[],v),R),o,R,v,f,r?j:R);break;default:W(F,D,D,D,[""],R,0,f,R)}}m=g=b=0,w=T=1,A=F="",v=s;break;case 58:v=1+d(F),b=x;default:if(w<1)if(123==O)--w;else if(125==O&&0==w++&&125==k())continue;switch(F+=i(O),O*w){case 38:T=g>0?1:(F+="\f",-1);break;case 44:f[m++]=(d(F)-1)*T,T=1;break;case 64:45===S()&&(F+=I(C())),y=S(),g=v=d(A=F+=L(E())),O++;break;case 45:45===x&&2==d(F)&&(w=0)}}return a}function q(e,t,n,r,i,a,u,c,d,h,m){for(var g=i-1,v=0===i?a:[""],y=p(v),b=0,x=0,_=0;b<r;++b)for(var k=0,C=f(e,g+1,g=o(x=u[b])),S=e;k<y;++k)(S=s(x>0?v[k]+" "+C:l(C,/&\f/g,v[k])))&&(d[_++]=S);return w(e,t,n,0===i?B:c,d,h,m)}function X(e,t,n){return w(e,t,n,z,i(b),f(e,2,-2),0)}function Y(e,t,n,r){return w(e,t,n,H,f(e,0,r),f(e,r+1,-1),r)}var K=function(e,t,n){for(var r=0,o=0;r=o,o=S(),38===r&&12===o&&(t[n]=1),!O(o);)C();return T(e,y)},Q=function(e,t){return j(function(e,t){var n=-1,r=44;do{switch(O(r)){case 0:38===r&&12===S()&&(t[n]=1),e[n]+=K(y-1,t,n);break;case 2:e[n]+=I(r);break;case 4:if(44===r){e[++n]=58===S()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=i(r)}}while(r=C());return e}(A(e),t))},J=new WeakMap,ee=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)||J.get(n))&&!r){J.set(e,!0);for(var o=[],i=Q(t,o),a=n.props,s=0,l=0;s<i.length;s++)for(var u=0;u<a.length;u++,l++)e.props[l]=o[s]?i[s].replace(/&\f/g,a[u]):a[u]+" "+i[s]}}},te=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function ne(e,t){switch(function(e,t){return 45^c(e,0)?(((t<<2^c(e,0))<<2^c(e,1))<<2^c(e,2))<<2^c(e,3):0}(e,t)){case 5103:return"-webkit-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 M+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return M+e+F+e+D+e+e;case 6828:case 4268:return M+e+D+e+e;case 6165:return M+e+D+"flex-"+e+e;case 5187:return M+e+l(e,/(\w+).+(:[^]+)/,"-webkit-box-$1$2-ms-flex-$1$2")+e;case 5443:return M+e+D+"flex-item-"+l(e,/flex-|-self/,"")+e;case 4675:return M+e+D+"flex-line-pack"+l(e,/align-content|flex-|-self/,"")+e;case 5548:return M+e+D+l(e,"shrink","negative")+e;case 5292:return M+e+D+l(e,"basis","preferred-size")+e;case 6060:return"-webkit-box-"+l(e,"-grow","")+M+e+D+l(e,"grow","positive")+e;case 4554:return M+l(e,/([^-])(transform)/g,"$1-webkit-$2")+e;case 6187:return l(l(l(e,/(zoom-|grab)/,"-webkit-$1"),/(image-set)/,"-webkit-$1"),e,"")+e;case 5495:case 3959:return l(e,/(image-set\([^]*)/,"-webkit-$1$`$1");case 4968:return l(l(e,/(.+:)(flex-)?(.*)/,"-webkit-box-pack:$3-ms-flex-pack:$3"),/s.+-b[^;]+/,"justify")+M+e+e;case 4095:case 3583:case 4068:case 2532:return l(e,/(.+)-inline(.+)/,"-webkit-$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(d(e)-1-t>6)switch(c(e,t+1)){case 109:if(45!==c(e,t+4))break;case 102:return l(e,/(.+:)(.+)-([^]+)/,"$1-webkit-$2-$3$1-moz-"+(108==c(e,t+3)?"$3":"$2-$3"))+e;case 115:return~u(e,"stretch")?ne(l(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==c(e,t+1))break;case 6444:switch(c(e,d(e)-3-(~u(e,"!important")&&10))){case 107:return l(e,":",":-webkit-")+e;case 101:return l(e,/(.+:)([^;!]+)(;|!.+)?/,"$1-webkit-"+(45===c(e,14)?"inline-":"")+"box$3$1"+"-webkit-$2$3$1"+"-ms-$2box$3")+e}break;case 5936:switch(c(e,t+11)){case 114:return M+e+D+l(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return M+e+D+l(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return M+e+D+l(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return M+e+D+e+e}return e}var re=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case H:e.return=ne(e.value,e.length);break;case $:return U([_(e,{value:l(e.value,"@","@-webkit-")})],r);case B: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 U([_(e,{props:[l(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return U([_(e,{props:[l(t,/:(plac\w+)/,":-webkit-input-$1")]}),_(e,{props:[l(t,/:(plac\w+)/,":-moz-$1")]}),_(e,{props:[l(t,/:(plac\w+)/,"-ms-input-$1")]})],r)}return""}))}}],oe=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 o=e.stylisPlugins||re;var i,a,s={},l=[];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;l.push(e)}));var u,c,f=[V,(c=function(e){u.insert(e)},function(e){e.root||(e=e.return)&&c(e)})],d=function(e){var t=p(e);return function(n,r,o,i){for(var a="",s=0;s<t;s++)a+=e[s](n,r,o,i)||"";return a}}([ee,te].concat(o,f));a=function(e,t,n,r){u=n,U(G(e?e+"{"+t.styles+"}":t.styles),d),r&&(h.inserted[t.name]=!0)};var h={key:t,sheet:new r({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(l),h}},40784:function(e,t,n){"use strict";function r(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}n.d(t,{Z:function(){return i}});var o=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,i=r((function(e){return o.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}))},5638:function(e,t,n){"use strict";n.d(t,{T:function(){return s},w:function(){return a}});var r=n(67294),o=n(8417),i=(n(41123),(0,r.createContext)("undefined"!==typeof HTMLElement?(0,o.Z)({key:"css"}):null));i.Provider;var a=function(e){return(0,r.forwardRef)((function(t,n){var o=(0,r.useContext)(i);return e(t,o,n)}))},s=(0,r.createContext)({})},70917:function(e,t,n){"use strict";n.d(t,{F4:function(){return i},iv:function(){return o}});n(67294),n(8417),n(8679);var r=n(41123);function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,r.O)(t)}var i=function(){var e=o.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_"}}}},41123:function(e,t,n){"use strict";n.d(t,{O:function(){return h}});var r=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=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(o){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)},o=n(40351);var i=/[A-Z]|^ms/g,a=/_EMO_([^_]+?)_([^]*?)_EMO_/g,s=function(e){return 45===e.charCodeAt(1)},l=function(e){return null!=e&&"boolean"!==typeof e},u=function(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}((function(e){return s(e)?e:e.replace(i,"-$&").toLowerCase()})),c=function(e,t){switch(e){case"animation":case"animationName":if("string"===typeof t)return t.replace(a,(function(e,t,n){return d={name:t,styles:n,next:d},t}))}return 1===o.Z[e]||s(e)||"number"!==typeof t||0===t?t:t+"px"};function f(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 d={name:n.name,styles:n.styles,next:d},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)d={name:r.name,styles:r.styles,next:d},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=f(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!==typeof a)null!=t&&void 0!==t[a]?r+=i+"{"+t[a]+"}":l(a)&&(r+=u(i)+":"+c(i,a)+";");else if(!Array.isArray(a)||"string"!==typeof a[0]||null!=t&&void 0!==t[a[0]]){var s=f(e,t,a);switch(i){case"animation":case"animationName":r+=u(i)+":"+s+";";break;default:r+=i+"{"+s+"}"}}else for(var d=0;d<a.length;d++)l(a[d])&&(r+=u(i)+":"+c(i,a[d])+";")}return r}(e,t,n);case"function":if(void 0!==e){var o=d,i=n(e);return d=o,f(e,t,i)}}if(null==t)return n;var a=t[n];return void 0!==a?a:n}var d,p=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var h=function(e,t,n){if(1===e.length&&"object"===typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var o=!0,i="";d=void 0;var a=e[0];null==a||void 0===a.raw?(o=!1,i+=f(n,t,a)):i+=a[0];for(var s=1;s<e.length;s++)i+=f(n,t,e[s]),o&&(i+=a[s]);p.lastIndex=0;for(var l,u="";null!==(l=p.exec(i));)u+="-"+l[1];return{name:r(i)+u,styles:i,next:d}}},40351:function(e,t){"use strict";t.Z={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,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1}},78947:function(e,t,n){"use strict";function r(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 o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function i(e){return i="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},i(e)}function a(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 s(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){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,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(l){s=!0,o=l}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||c(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 u(e){return function(e){if(Array.isArray(e))return f(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||c(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 c(e,t){if(e){if("string"===typeof e)return f(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)?f(e,t):void 0}}function f(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,{Qc:function(){return Jt},qv:function(){return en},vc:function(){return Qt}});var d=function(){},p={},h={},m=null,g={mark:d,measure:d};try{"undefined"!==typeof window&&(p=window),"undefined"!==typeof document&&(h=document),"undefined"!==typeof MutationObserver&&(m=MutationObserver),"undefined"!==typeof performance&&(g=performance)}catch(tn){}var v=(p.navigator||{}).userAgent,y=void 0===v?"":v,b=p,x=h,w=m,_=g,k=(b.document,!!x.documentElement&&!!x.head&&"function"===typeof x.addEventListener&&"function"===typeof x.createElement),C=~y.indexOf("MSIE")||~y.indexOf("Trident/"),S="svg-inline--fa",E="data-fa-i2svg",T="data-fa-pseudo-element",O="data-prefix",A="data-icon",j="fontawesome-i2svg",I=["HTML","HEAD","STYLE","SCRIPT"],P=function(){try{return!0}catch(tn){return!1}}(),N={fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands",fak:"kit","fa-kit":"kit",fa:"solid"},R={solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"},Z={fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},L={"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},D=/fa[srltdbk\-\ ]/,F="fa-layers-text",M=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Kit)?.*/i,z={900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},B=[1,2,3,4,5,6,7,8,9,10],H=B.concat([11,12,13,14,15,16,17,18,19,20]),$=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],U="duotone-group",V="swap-opacity",G="primary",W="secondary",q=[].concat(u(Object.keys(R)),["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",U,V,G,W]).concat(B.map((function(e){return"".concat(e,"x")}))).concat(H.map((function(e){return"w-".concat(e)}))),X=b.FontAwesomeConfig||{};if(x&&"function"===typeof x.querySelector){[["data-family-prefix","familyPrefix"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach((function(e){var t=l(e,2),n=t[0],r=t[1],o=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=x.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(n));void 0!==o&&null!==o&&(X[r]=o)}))}var Y=o(o({},{familyPrefix:"fa",styleDefault:"solid",replacementClass:S,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0}),X);Y.autoReplaceSvg||(Y.observeMutations=!1);var K={};Object.keys(Y).forEach((function(e){Object.defineProperty(K,e,{enumerable:!0,set:function(t){Y[e]=t,Q.forEach((function(e){return e(K)}))},get:function(){return Y[e]}})})),b.FontAwesomeConfig=K;var Q=[];var J=16,ee={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function te(){for(var e=12,t="";e-- >0;)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return t}function ne(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function re(e){return e.classList?ne(e.classList):(e.getAttribute("class")||"").split(" ").filter((function(e){return e}))}function oe(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function ie(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")}),"")}function ae(e){return e.size!==ee.size||e.x!==ee.x||e.y!==ee.y||e.rotate!==ee.rotate||e.flipX||e.flipY}function se(){var e="fa",t=S,n=K.familyPrefix,r=K.replacementClass,o=':root, :host {\n  --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";\n  --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";\n  --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";\n  --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";\n  --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n  --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n  overflow: visible;\n  box-sizing: content-box;\n}\n\n.svg-inline--fa {\n  display: var(--fa-display, inline-block);\n  height: 1em;\n  overflow: visible;\n  vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n  vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n  vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n  vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n  vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n  vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n  vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n  margin-right: var(--fa-pull-margin, 0.3em);\n  width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n  margin-left: var(--fa-pull-margin, 0.3em);\n  width: auto;\n}\n.svg-inline--fa.fa-li {\n  width: var(--fa-li-width, 2em);\n  top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n  width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n  bottom: 0;\n  left: 0;\n  margin: auto;\n  position: absolute;\n  right: 0;\n  top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n  display: inline-block;\n  position: absolute;\n  text-align: center;\n}\n\n.fa-layers {\n  display: inline-block;\n  height: 1em;\n  position: relative;\n  text-align: center;\n  vertical-align: -0.125em;\n  width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n  -webkit-transform-origin: center center;\n          transform-origin: center 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: var(--fa-counter-background-color, #ff253a);\n  border-radius: var(--fa-counter-border-radius, 1em);\n  box-sizing: border-box;\n  color: var(--fa-inverse, #fff);\n  line-height: var(--fa-counter-line-height, 1);\n  max-width: var(--fa-counter-max-width, 5em);\n  min-width: var(--fa-counter-min-width, 1.5em);\n  overflow: hidden;\n  padding: var(--fa-counter-padding, 0.25em 0.5em);\n  right: var(--fa-right, 0);\n  text-overflow: ellipsis;\n  top: var(--fa-top, 0);\n  -webkit-transform: scale(var(--fa-counter-scale, 0.25));\n          transform: scale(var(--fa-counter-scale, 0.25));\n  -webkit-transform-origin: top right;\n          transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n  bottom: var(--fa-bottom, 0);\n  right: var(--fa-right, 0);\n  top: auto;\n  -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n          transform: scale(var(--fa-layers-scale, 0.25));\n  -webkit-transform-origin: bottom right;\n          transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n  bottom: var(--fa-bottom, 0);\n  left: var(--fa-left, 0);\n  right: auto;\n  top: auto;\n  -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n          transform: scale(var(--fa-layers-scale, 0.25));\n  -webkit-transform-origin: bottom left;\n          transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n  top: var(--fa-top, 0);\n  right: var(--fa-right, 0);\n  -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n          transform: scale(var(--fa-layers-scale, 0.25));\n  -webkit-transform-origin: top right;\n          transform-origin: top right;\n}\n\n.fa-layers-top-left {\n  left: var(--fa-left, 0);\n  right: auto;\n  top: var(--fa-top, 0);\n  -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n          transform: scale(var(--fa-layers-scale, 0.25));\n  -webkit-transform-origin: top left;\n          transform-origin: top left;\n}\n\n.fa-1x {\n  font-size: 1em;\n}\n\n.fa-2x {\n  font-size: 2em;\n}\n\n.fa-3x {\n  font-size: 3em;\n}\n\n.fa-4x {\n  font-size: 4em;\n}\n\n.fa-5x {\n  font-size: 5em;\n}\n\n.fa-6x {\n  font-size: 6em;\n}\n\n.fa-7x {\n  font-size: 7em;\n}\n\n.fa-8x {\n  font-size: 8em;\n}\n\n.fa-9x {\n  font-size: 9em;\n}\n\n.fa-10x {\n  font-size: 10em;\n}\n\n.fa-2xs {\n  font-size: 0.625em;\n  line-height: 0.1em;\n  vertical-align: 0.225em;\n}\n\n.fa-xs {\n  font-size: 0.75em;\n  line-height: 0.0833333337em;\n  vertical-align: 0.125em;\n}\n\n.fa-sm {\n  font-size: 0.875em;\n  line-height: 0.0714285718em;\n  vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n  font-size: 1.25em;\n  line-height: 0.05em;\n  vertical-align: -0.075em;\n}\n\n.fa-xl {\n  font-size: 1.5em;\n  line-height: 0.0416666682em;\n  vertical-align: -0.125em;\n}\n\n.fa-2xl {\n  font-size: 2em;\n  line-height: 0.03125em;\n  vertical-align: -0.1875em;\n}\n\n.fa-fw {\n  text-align: center;\n  width: 1.25em;\n}\n\n.fa-ul {\n  list-style-type: none;\n  margin-left: var(--fa-li-margin, 2.5em);\n  padding-left: 0;\n}\n.fa-ul > li {\n  position: relative;\n}\n\n.fa-li {\n  left: calc(var(--fa-li-width, 2em) * -1);\n  position: absolute;\n  text-align: center;\n  width: var(--fa-li-width, 2em);\n  line-height: inherit;\n}\n\n.fa-border {\n  border-color: var(--fa-border-color, #eee);\n  border-radius: var(--fa-border-radius, 0.1em);\n  border-style: var(--fa-border-style, solid);\n  border-width: var(--fa-border-width, 0.08em);\n  padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n  float: left;\n  margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n  float: right;\n  margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n  -webkit-animation-name: fa-beat;\n          animation-name: fa-beat;\n  -webkit-animation-delay: var(--fa-animation-delay, 0);\n          animation-delay: var(--fa-animation-delay, 0);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n          animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n  -webkit-animation-name: fa-bounce;\n          animation-name: fa-bounce;\n  -webkit-animation-delay: var(--fa-animation-delay, 0);\n          animation-delay: var(--fa-animation-delay, 0);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n          animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n  -webkit-animation-name: fa-fade;\n          animation-name: fa-fade;\n  -webkit-animation-delay: var(--fa-animation-delay, 0);\n          animation-delay: var(--fa-animation-delay, 0);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n          animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n  -webkit-animation-name: fa-beat-fade;\n          animation-name: fa-beat-fade;\n  -webkit-animation-delay: var(--fa-animation-delay, 0);\n          animation-delay: var(--fa-animation-delay, 0);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n          animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n  -webkit-animation-name: fa-flip;\n          animation-name: fa-flip;\n  -webkit-animation-delay: var(--fa-animation-delay, 0);\n          animation-delay: var(--fa-animation-delay, 0);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n          animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n  -webkit-animation-name: fa-shake;\n          animation-name: fa-shake;\n  -webkit-animation-delay: var(--fa-animation-delay, 0);\n          animation-delay: var(--fa-animation-delay, 0);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n          animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n  -webkit-animation-name: fa-spin;\n          animation-name: fa-spin;\n  -webkit-animation-delay: var(--fa-animation-delay, 0);\n          animation-delay: var(--fa-animation-delay, 0);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 2s);\n          animation-duration: var(--fa-animation-duration, 2s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n          animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n  --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n  -webkit-animation-name: fa-spin;\n          animation-name: fa-spin;\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));\n          animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n  .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n    -webkit-animation-delay: -1ms;\n            animation-delay: -1ms;\n    -webkit-animation-duration: 1ms;\n            animation-duration: 1ms;\n    -webkit-animation-iteration-count: 1;\n            animation-iteration-count: 1;\n    transition-delay: 0s;\n    transition-duration: 0s;\n  }\n}\n@-webkit-keyframes fa-beat {\n  0%, 90% {\n    -webkit-transform: scale(1);\n            transform: scale(1);\n  }\n  45% {\n    -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n            transform: scale(var(--fa-beat-scale, 1.25));\n  }\n}\n@keyframes fa-beat {\n  0%, 90% {\n    -webkit-transform: scale(1);\n            transform: scale(1);\n  }\n  45% {\n    -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n            transform: scale(var(--fa-beat-scale, 1.25));\n  }\n}\n@-webkit-keyframes fa-bounce {\n  0% {\n    -webkit-transform: scale(1, 1) translateY(0);\n            transform: scale(1, 1) translateY(0);\n  }\n  10% {\n    -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n            transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n  }\n  30% {\n    -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n            transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n  }\n  50% {\n    -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n            transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n  }\n  57% {\n    -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n            transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n  }\n  64% {\n    -webkit-transform: scale(1, 1) translateY(0);\n            transform: scale(1, 1) translateY(0);\n  }\n  100% {\n    -webkit-transform: scale(1, 1) translateY(0);\n            transform: scale(1, 1) translateY(0);\n  }\n}\n@keyframes fa-bounce {\n  0% {\n    -webkit-transform: scale(1, 1) translateY(0);\n            transform: scale(1, 1) translateY(0);\n  }\n  10% {\n    -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n            transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n  }\n  30% {\n    -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n            transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n  }\n  50% {\n    -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n            transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n  }\n  57% {\n    -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n            transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n  }\n  64% {\n    -webkit-transform: scale(1, 1) translateY(0);\n            transform: scale(1, 1) translateY(0);\n  }\n  100% {\n    -webkit-transform: scale(1, 1) translateY(0);\n            transform: scale(1, 1) translateY(0);\n  }\n}\n@-webkit-keyframes fa-fade {\n  50% {\n    opacity: var(--fa-fade-opacity, 0.4);\n  }\n}\n@keyframes fa-fade {\n  50% {\n    opacity: var(--fa-fade-opacity, 0.4);\n  }\n}\n@-webkit-keyframes fa-beat-fade {\n  0%, 100% {\n    opacity: var(--fa-beat-fade-opacity, 0.4);\n    -webkit-transform: scale(1);\n            transform: scale(1);\n  }\n  50% {\n    opacity: 1;\n    -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n            transform: scale(var(--fa-beat-fade-scale, 1.125));\n  }\n}\n@keyframes fa-beat-fade {\n  0%, 100% {\n    opacity: var(--fa-beat-fade-opacity, 0.4);\n    -webkit-transform: scale(1);\n            transform: scale(1);\n  }\n  50% {\n    opacity: 1;\n    -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n            transform: scale(var(--fa-beat-fade-scale, 1.125));\n  }\n}\n@-webkit-keyframes fa-flip {\n  50% {\n    -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n            transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n  }\n}\n@keyframes fa-flip {\n  50% {\n    -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n            transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n  }\n}\n@-webkit-keyframes fa-shake {\n  0% {\n    -webkit-transform: rotate(-15deg);\n            transform: rotate(-15deg);\n  }\n  4% {\n    -webkit-transform: rotate(15deg);\n            transform: rotate(15deg);\n  }\n  8%, 24% {\n    -webkit-transform: rotate(-18deg);\n            transform: rotate(-18deg);\n  }\n  12%, 28% {\n    -webkit-transform: rotate(18deg);\n            transform: rotate(18deg);\n  }\n  16% {\n    -webkit-transform: rotate(-22deg);\n            transform: rotate(-22deg);\n  }\n  20% {\n    -webkit-transform: rotate(22deg);\n            transform: rotate(22deg);\n  }\n  32% {\n    -webkit-transform: rotate(-12deg);\n            transform: rotate(-12deg);\n  }\n  36% {\n    -webkit-transform: rotate(12deg);\n            transform: rotate(12deg);\n  }\n  40%, 100% {\n    -webkit-transform: rotate(0deg);\n            transform: rotate(0deg);\n  }\n}\n@keyframes fa-shake {\n  0% {\n    -webkit-transform: rotate(-15deg);\n            transform: rotate(-15deg);\n  }\n  4% {\n    -webkit-transform: rotate(15deg);\n            transform: rotate(15deg);\n  }\n  8%, 24% {\n    -webkit-transform: rotate(-18deg);\n            transform: rotate(-18deg);\n  }\n  12%, 28% {\n    -webkit-transform: rotate(18deg);\n            transform: rotate(18deg);\n  }\n  16% {\n    -webkit-transform: rotate(-22deg);\n            transform: rotate(-22deg);\n  }\n  20% {\n    -webkit-transform: rotate(22deg);\n            transform: rotate(22deg);\n  }\n  32% {\n    -webkit-transform: rotate(-12deg);\n            transform: rotate(-12deg);\n  }\n  36% {\n    -webkit-transform: rotate(12deg);\n            transform: rotate(12deg);\n  }\n  40%, 100% {\n    -webkit-transform: rotate(0deg);\n            transform: rotate(0deg);\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@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  -webkit-transform: rotate(90deg);\n          transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n  -webkit-transform: rotate(180deg);\n          transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n  -webkit-transform: rotate(270deg);\n          transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n  -webkit-transform: scale(-1, 1);\n          transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n  -webkit-transform: scale(1, -1);\n          transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n  -webkit-transform: scale(-1, -1);\n          transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n  -webkit-transform: rotate(var(--fa-rotate-angle, none));\n          transform: rotate(var(--fa-rotate-angle, none));\n}\n\n.fa-stack {\n  display: inline-block;\n  vertical-align: middle;\n  height: 2em;\n  position: relative;\n  width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n  bottom: 0;\n  left: 0;\n  margin: auto;\n  position: absolute;\n  right: 0;\n  top: 0;\n  z-index: var(--fa-stack-z-index, auto);\n}\n\n.svg-inline--fa.fa-stack-1x {\n  height: 1em;\n  width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n  height: 2em;\n  width: 2.5em;\n}\n\n.fa-inverse {\n  color: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n  position: absolute;\n  width: 1px;\n  height: 1px;\n  padding: 0;\n  margin: -1px;\n  overflow: hidden;\n  clip: rect(0, 0, 0, 0);\n  white-space: nowrap;\n  border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n  position: absolute;\n  width: 1px;\n  height: 1px;\n  padding: 0;\n  margin: -1px;\n  overflow: hidden;\n  clip: rect(0, 0, 0, 0);\n  white-space: nowrap;\n  border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n  fill: var(--fa-primary-color, currentColor);\n  opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n  fill: var(--fa-secondary-color, currentColor);\n  opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n  opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n  opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n  fill: black;\n}\n\n.fad.fa-inverse,\n.fa-duotone.fa-inverse {\n  color: var(--fa-inverse, #fff);\n}';if(n!==e||r!==t){var i=new RegExp("\\.".concat(e,"\\-"),"g"),a=new RegExp("\\--".concat(e,"\\-"),"g"),s=new RegExp("\\.".concat(t),"g");o=o.replace(i,".".concat(n,"-")).replace(a,"--".concat(n,"-")).replace(s,".".concat(r))}return o}var le=!1;function ue(){K.autoAddCss&&!le&&(!function(e){if(e&&k){var t=x.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=x.head.childNodes,r=null,o=n.length-1;o>-1;o--){var i=n[o],a=(i.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(a)>-1&&(r=i)}x.head.insertBefore(t,r)}}(se()),le=!0)}var ce={mixout:function(){return{dom:{css:se,insertCss:ue}}},hooks:function(){return{beforeDOMElementCreation:function(){ue()},beforeI2svg:function(){ue()}}}},fe=b||{};fe.___FONT_AWESOME___||(fe.___FONT_AWESOME___={}),fe.___FONT_AWESOME___.styles||(fe.___FONT_AWESOME___.styles={}),fe.___FONT_AWESOME___.hooks||(fe.___FONT_AWESOME___.hooks={}),fe.___FONT_AWESOME___.shims||(fe.___FONT_AWESOME___.shims=[]);var de=fe.___FONT_AWESOME___,pe=[],he=!1;function me(e){k&&(he?setTimeout(e,0):pe.push(e))}function ge(e){var t=e.tag,n=e.attributes,r=void 0===n?{}:n,o=e.children,i=void 0===o?[]:o;return"string"===typeof e?oe(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,'="').concat(oe(e[n]),'" ')}),"").trim()}(r),">").concat(i.map(ge).join(""),"</").concat(t,">")}function ve(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}k&&((he=(x.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(x.readyState))||x.addEventListener("DOMContentLoaded",(function e(){x.removeEventListener("DOMContentLoaded",e),he=1,pe.map((function(e){return e()}))})));var ye=function(e,t,n,r){var o,i,a,s=Object.keys(e),l=s.length,u=void 0!==r?function(e,t){return function(n,r,o,i){return e.call(t,n,r,o,i)}}(t,r):t;for(void 0===n?(o=1,a=e[s[0]]):(o=0,a=n);o<l;o++)a=u(a,e[i=s[o]],i,e);return a};function be(e){var t=function(e){for(var t=[],n=0,r=e.length;n<r;){var o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){var i=e.charCodeAt(n++);56320==(64512&i)?t.push(((1023&o)<<10)+(1023&i)+65536):(t.push(o),n--)}else t.push(o)}return t}(e);return 1===t.length?t[0].toString(16):null}function xe(e){return Object.keys(e).reduce((function(t,n){var r=e[n];return!!r.icon?t[r.iconName]=r.icon:t[n]=r,t}),{})}function we(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.skipHooks,i=void 0!==r&&r,a=xe(t);"function"!==typeof de.hooks.addPack||i?de.styles[e]=o(o({},de.styles[e]||{}),a):de.hooks.addPack(e,xe(t)),"fas"===e&&we("fa",t)}var _e=de.styles,ke=de.shims,Ce=Object.values(Z),Se=null,Ee={},Te={},Oe={},Ae={},je={},Ie=Object.keys(N);function Pe(e,t){var n,r=t.split("-"),o=r[0],i=r.slice(1).join("-");return o!==e||""===i||(n=i,~q.indexOf(n))?null:i}var Ne,Re=function(){var e=function(e){return ye(_e,(function(t,n,r){return t[r]=ye(n,e,{}),t}),{})};Ee=e((function(e,t,n){(t[3]&&(e[t[3]]=n),t[2])&&t[2].filter((function(e){return"number"===typeof e})).forEach((function(t){e[t.toString(16)]=n}));return e})),Te=e((function(e,t,n){(e[n]=n,t[2])&&t[2].filter((function(e){return"string"===typeof e})).forEach((function(t){e[t]=n}));return e})),je=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 _e||K.autoFetchSvg,n=ye(ke,(function(e,n){var r=n[0],o=n[1],i=n[2];return"far"!==o||t||(o="fas"),"string"===typeof r&&(e.names[r]={prefix:o,iconName:i}),"number"===typeof r&&(e.unicodes[r.toString(16)]={prefix:o,iconName:i}),e}),{names:{},unicodes:{}});Oe=n.names,Ae=n.unicodes,Se=Me(K.styleDefault)};function Ze(e,t){return(Ee[e]||{})[t]}function Le(e,t){return(je[e]||{})[t]}function De(e){return Oe[e]||{prefix:null,iconName:null}}function Fe(){return Se}Ne=function(e){Se=Me(e.styleDefault)},Q.push(Ne),Re();function Me(e){var t=R[e]||R[N[e]],n=e in de.styles?e:null;return t||n||null}function ze(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.skipLookups,r=void 0!==n&&n,o=null,i=e.reduce((function(e,t){var n=Pe(K.familyPrefix,t);if(_e[t]?(t=Ce.includes(t)?L[t]:t,o=t,e.prefix=t):Ie.indexOf(t)>-1?(o=t,e.prefix=Me(t)):n?e.iconName=n:t!==K.replacementClass&&e.rest.push(t),!r&&e.prefix&&e.iconName){var i="fa"===o?De(e.iconName):{},a=Le(e.prefix,e.iconName);i.prefix&&(o=null),e.iconName=i.iconName||a||e.iconName,e.prefix=i.prefix||e.prefix,"far"!==e.prefix||_e.far||!_e.fas||K.autoFetchSvg||(e.prefix="fas")}return e}),{prefix:null,iconName:null,rest:[]});return"fa"!==i.prefix&&"fa"!==o||(i.prefix=Fe()||"fas"),i}var Be=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,{});Object.keys(i).forEach((function(t){e.definitions[t]=o(o({},e.definitions[t]||{}),i[t]),we(t,i[t]);var n=Z[t];n&&we(n,i[t]),Re()}))}},{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],o=r.prefix,i=r.iconName,a=r.icon,s=a[2];e[o]||(e[o]={}),s.length>0&&s.forEach((function(t){"string"===typeof t&&(e[o][t]=a)})),e[o][i]=a})),e}}],n&&a(t.prototype,n),r&&a(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}(),He=[],$e={},Ue={},Ve=Object.keys(Ue);function Ge(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var i=$e[e]||[];return i.forEach((function(e){t=e.apply(null,[t].concat(r))})),t}function We(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=$e[e]||[];o.forEach((function(e){e.apply(null,n)}))}function qe(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return Ue[e]?Ue[e].apply(null,t):void 0}function Xe(e){"fa"===e.prefix&&(e.prefix="fas");var t=e.iconName,n=e.prefix||Fe();if(t)return t=Le(n,t)||t,ve(Ye.definitions,n,t)||ve(de.styles,n,t)}var Ye=new Be,Ke={i2svg:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return k?(We("beforeI2svg",e),qe("pseudoElements2svg",e),qe("i2svg",e)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.autoReplaceSvgRoot;!1===K.autoReplaceSvg&&(K.autoReplaceSvg=!0),K.observeMutations=!0,me((function(){Je({autoReplaceSvgRoot:t}),We("watch",e)}))}},Qe={noAuto:function(){K.autoReplaceSvg=!1,K.observeMutations=!1,We("noAuto")},config:K,dom:Ke,parse:{icon:function(e){if(null===e)return null;if("object"===i(e)&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:Le(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&2===e.length){var t=0===e[1].indexOf("fa-")?e[1].slice(3):e[1],n=Me(e[0]);return{prefix:n,iconName:Le(n,t)||t}}if("string"===typeof e&&(e.indexOf("".concat(K.familyPrefix,"-"))>-1||e.match(D))){var r=ze(e.split(" "),{skipLookups:!0});return{prefix:r.prefix||Fe(),iconName:Le(r.prefix,r.iconName)||r.iconName}}if("string"===typeof e){var o=Fe();return{prefix:o,iconName:Le(o,e)||e}}}},library:Ye,findIconDefinition:Xe,toHtml:ge},Je=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.autoReplaceSvgRoot,n=void 0===t?x:t;(Object.keys(de.styles).length>0||K.autoFetchSvg)&&k&&K.autoReplaceSvg&&Qe.dom.i2svg({node:n})};function et(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map((function(e){return ge(e)}))}}),Object.defineProperty(e,"node",{get:function(){if(k){var t=x.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function tt(e){var t=e.icons,n=t.main,r=t.mask,i=e.prefix,a=e.iconName,s=e.transform,l=e.symbol,u=e.title,c=e.maskId,f=e.titleId,d=e.extra,p=e.watchable,h=void 0!==p&&p,m=r.found?r:n,g=m.width,v=m.height,y="fak"===i,b=[K.replacementClass,a?"".concat(K.familyPrefix,"-").concat(a):""].filter((function(e){return-1===d.classes.indexOf(e)})).filter((function(e){return""!==e||!!e})).concat(d.classes).join(" "),x={children:[],attributes:o(o({},d.attributes),{},{"data-prefix":i,"data-icon":a,class:b,role:d.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(g," ").concat(v)})},w=y&&!~d.classes.indexOf("fa-fw")?{width:"".concat(g/v*16*.0625,"em")}:{};h&&(x.attributes[E]=""),u&&(x.children.push({tag:"title",attributes:{id:x.attributes["aria-labelledby"]||"title-".concat(f||te())},children:[u]}),delete x.attributes.title);var _=o(o({},x),{},{prefix:i,iconName:a,main:n,mask:r,maskId:c,transform:s,symbol:l,styles:o(o({},w),d.styles)}),k=r.found&&n.found?qe("generateAbstractMask",_)||{children:[],attributes:{}}:qe("generateAbstractIcon",_)||{children:[],attributes:{}},C=k.children,S=k.attributes;return _.children=C,_.attributes=S,l?function(e){var t=e.prefix,n=e.iconName,r=e.children,i=e.attributes,a=e.symbol,s=!0===a?"".concat(t,"-").concat(K.familyPrefix,"-").concat(n):a;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:o(o({},i),{},{id:s}),children:r}]}]}(_):function(e){var t=e.children,n=e.main,r=e.mask,i=e.attributes,a=e.styles,s=e.transform;if(ae(s)&&n.found&&!r.found){var l={x:n.width/n.height/2,y:.5};i.style=ie(o(o({},a),{},{"transform-origin":"".concat(l.x+s.x/16,"em ").concat(l.y+s.y/16,"em")}))}return[{tag:"svg",attributes:i,children:t}]}(_)}function nt(e){var t=e.content,n=e.width,r=e.height,i=e.transform,a=e.title,s=e.extra,l=e.watchable,u=void 0!==l&&l,c=o(o(o({},s.attributes),a?{title:a}:{}),{},{class:s.classes.join(" ")});u&&(c[E]="");var f=o({},s.styles);ae(i)&&(f.transform=function(e){var t=e.transform,n=e.width,r=void 0===n?16:n,o=e.height,i=void 0===o?16:o,a=e.startCentered,s=void 0!==a&&a,l="";return l+=s&&C?"translate(".concat(t.x/J-r/2,"em, ").concat(t.y/J-i/2,"em) "):s?"translate(calc(-50% + ".concat(t.x/J,"em), calc(-50% + ").concat(t.y/J,"em)) "):"translate(".concat(t.x/J,"em, ").concat(t.y/J,"em) "),l+="scale(".concat(t.size/J*(t.flipX?-1:1),", ").concat(t.size/J*(t.flipY?-1:1),") "),l+"rotate(".concat(t.rotate,"deg) ")}({transform:i,startCentered:!0,width:n,height:r}),f["-webkit-transform"]=f.transform);var d=ie(f);d.length>0&&(c.style=d);var p=[];return p.push({tag:"span",attributes:c,children:[t]}),a&&p.push({tag:"span",attributes:{class:"sr-only"},children:[a]}),p}function rt(e){var t=e.content,n=e.title,r=e.extra,i=o(o(o({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),a=ie(r.styles);a.length>0&&(i.style=a);var s=[];return s.push({tag:"span",attributes:i,children:[t]}),n&&s.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),s}var ot=de.styles;function it(e){var t=e[0],n=e[1],r=l(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(K.familyPrefix,"-").concat(U)},children:[{tag:"path",attributes:{class:"".concat(K.familyPrefix,"-").concat(W),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(K.familyPrefix,"-").concat(G),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}var at={found:!1,width:512,height:512};function st(e,t){var n=t;return"fa"===t&&null!==K.styleDefault&&(t=Fe()),new Promise((function(r,i){qe("missingIconAbstract");if("fa"===n){var a=De(e)||{};e=a.iconName||e,t=a.prefix||t}if(e&&t&&ot[t]&&ot[t][e])return r(it(ot[t][e]));!function(e,t){P||K.showMissingIcons||!e||console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}(e,t),r(o(o({},at),{},{icon:K.showMissingIcons&&e&&qe("missingIconAbstract")||{}}))}))}var lt=function(){},ut=K.measurePerformance&&_&&_.mark&&_.measure?_:{mark:lt,measure:lt},ct='FA "6.1.1"',ft=function(e){ut.mark("".concat(ct," ").concat(e," ends")),ut.measure("".concat(ct," ").concat(e),"".concat(ct," ").concat(e," begins"),"".concat(ct," ").concat(e," ends"))},dt=function(e){return ut.mark("".concat(ct," ").concat(e," begins")),function(){return ft(e)}},pt=function(){};function ht(e){return"string"===typeof(e.getAttribute?e.getAttribute(E):null)}function mt(e){return x.createElementNS("http://www.w3.org/2000/svg",e)}function gt(e){return x.createElement(e)}function vt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.ceFn,r=void 0===n?"svg"===e.tag?mt:gt:n;if("string"===typeof e)return x.createTextNode(e);var o=r(e.tag);Object.keys(e.attributes||[]).forEach((function(t){o.setAttribute(t,e.attributes[t])}));var i=e.children||[];return i.forEach((function(e){o.appendChild(vt(e,{ceFn:r}))})),o}var yt={replace:function(e){var t=e[0];if(t.parentNode)if(e[1].forEach((function(e){t.parentNode.insertBefore(vt(e),t)})),null===t.getAttribute(E)&&K.keepOriginalSource){var n=x.createComment(function(e){var t=" ".concat(e.outerHTML," ");return"".concat(t,"Font Awesome fontawesome.com ")}(t));t.parentNode.replaceChild(n,t)}else t.remove()},nest:function(e){var t=e[0],n=e[1];if(~re(t).indexOf(K.replacementClass))return yt.replace(e);var r=new RegExp("".concat(K.familyPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){var o=n[0].attributes.class.split(" ").reduce((function(e,t){return t===K.replacementClass||t.match(r)?e.toSvg.push(t):e.toNode.push(t),e}),{toNode:[],toSvg:[]});n[0].attributes.class=o.toSvg.join(" "),0===o.toNode.length?t.removeAttribute("class"):t.setAttribute("class",o.toNode.join(" "))}var i=n.map((function(e){return ge(e)})).join("\n");t.setAttribute(E,""),t.innerHTML=i}};function bt(e){e()}function xt(e,t){var n="function"===typeof t?t:pt;if(0===e.length)n();else{var r=bt;"async"===K.mutateApproach&&(r=b.requestAnimationFrame||bt),r((function(){var t=!0===K.autoReplaceSvg?yt.replace:yt[K.autoReplaceSvg]||yt.replace,r=dt("mutate");e.map(t),r(),n()}))}}var wt=!1;function _t(){wt=!0}function kt(){wt=!1}var Ct=null;function St(e){if(w&&K.observeMutations){var t=e.treeCallback,n=void 0===t?pt:t,r=e.nodeCallback,o=void 0===r?pt:r,i=e.pseudoElementsCallback,a=void 0===i?pt:i,s=e.observeMutationsRoot,l=void 0===s?x:s;Ct=new w((function(e){if(!wt){var t=Fe();ne(e).forEach((function(e){if("childList"===e.type&&e.addedNodes.length>0&&!ht(e.addedNodes[0])&&(K.searchPseudoElements&&a(e.target),n(e.target)),"attributes"===e.type&&e.target.parentNode&&K.searchPseudoElements&&a(e.target.parentNode),"attributes"===e.type&&ht(e.target)&&~$.indexOf(e.attributeName))if("class"===e.attributeName&&function(e){var t=e.getAttribute?e.getAttribute(O):null,n=e.getAttribute?e.getAttribute(A):null;return t&&n}(e.target)){var r=ze(re(e.target)),i=r.prefix,s=r.iconName;e.target.setAttribute(O,i||t),s&&e.target.setAttribute(A,s)}else(l=e.target)&&l.classList&&l.classList.contains&&l.classList.contains(K.replacementClass)&&o(e.target);var l}))}})),k&&Ct.observe(l,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function Et(e){var t=e.getAttribute("style"),n=[];return t&&(n=t.split(";").reduce((function(e,t){var n=t.split(":"),r=n[0],o=n.slice(1);return r&&o.length>0&&(e[r]=o.join(":").trim()),e}),{})),n}function Tt(e){var t=e.getAttribute("data-prefix"),n=e.getAttribute("data-icon"),r=void 0!==e.innerText?e.innerText.trim():"",o=ze(re(e));return o.prefix||(o.prefix=Fe()),t&&n&&(o.prefix=t,o.iconName=n),o.iconName&&o.prefix||o.prefix&&r.length>0&&(o.iconName=function(e,t){return(Te[e]||{})[t]}(o.prefix,e.innerText)||Ze(o.prefix,be(e.innerText))),o}function Ot(e){var t=ne(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 K.autoA11y&&(n?t["aria-labelledby"]="".concat(K.replacementClass,"-title-").concat(r||te()):(t["aria-hidden"]="true",t.focusable="false")),t}function At(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},n=Tt(e),r=n.iconName,i=n.prefix,a=n.rest,s=Ot(e),l=Ge("parseNodeAttributes",{},e),u=t.styleParser?Et(e):[];return o({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:i,transform:ee,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:a,styles:u,attributes:s}},l)}var jt=de.styles;function It(e){var t="nest"===K.autoReplaceSvg?At(e,{styleParser:!1}):At(e);return~t.extra.classes.indexOf(F)?qe("generateLayersText",e,t):qe("generateSvgReplacementMutation",e,t)}function Pt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!k)return Promise.resolve();var n=x.documentElement.classList,r=function(e){return n.add("".concat(j,"-").concat(e))},o=function(e){return n.remove("".concat(j,"-").concat(e))},i=K.autoFetchSvg?Object.keys(N):Object.keys(jt),a=[".".concat(F,":not([").concat(E,"])")].concat(i.map((function(e){return".".concat(e,":not([").concat(E,"])")}))).join(", ");if(0===a.length)return Promise.resolve();var s=[];try{s=ne(e.querySelectorAll(a))}catch(tn){}if(!(s.length>0))return Promise.resolve();r("pending"),o("complete");var l=dt("onTree"),u=s.reduce((function(e,t){try{var n=It(t);n&&e.push(n)}catch(tn){P||"MissingIcon"===tn.name&&console.error(tn)}return e}),[]);return new Promise((function(e,n){Promise.all(u).then((function(n){xt(n,(function(){r("active"),r("complete"),o("pending"),"function"===typeof t&&t(),l(),e()}))})).catch((function(e){l(),n(e)}))}))}function Nt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;It(e).then((function(e){e&&xt([e],t)}))}var Rt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?ee:n,i=t.symbol,a=void 0!==i&&i,s=t.mask,l=void 0===s?null:s,u=t.maskId,c=void 0===u?null:u,f=t.title,d=void 0===f?null:f,p=t.titleId,h=void 0===p?null:p,m=t.classes,g=void 0===m?[]:m,v=t.attributes,y=void 0===v?{}:v,b=t.styles,x=void 0===b?{}:b;if(e){var w=e.prefix,_=e.iconName,k=e.icon;return et(o({type:"icon"},e),(function(){return We("beforeDOMElementCreation",{iconDefinition:e,params:t}),K.autoA11y&&(d?y["aria-labelledby"]="".concat(K.replacementClass,"-title-").concat(h||te()):(y["aria-hidden"]="true",y.focusable="false")),tt({icons:{main:it(k),mask:l?it(l.icon):{found:!1,width:null,height:null,icon:{}}},prefix:w,iconName:_,transform:o(o({},ee),r),symbol:a,title:d,maskId:c,titleId:h,extra:{attributes:y,styles:x,classes:g}})}))}},Zt={mixout:function(){return{icon:(e=Rt,function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(t||{}).icon?t:Xe(t||{}),i=n.mask;return i&&(i=(i||{}).icon?i:Xe(i||{})),e(r,o(o({},n),{},{mask:i}))})};var e},hooks:function(){return{mutationObserverCallbacks:function(e){return e.treeCallback=Pt,e.nodeCallback=Nt,e}}},provides:function(e){e.i2svg=function(e){var t=e.node,n=void 0===t?x:t,r=e.callback;return Pt(n,void 0===r?function(){}:r)},e.generateSvgReplacementMutation=function(e,t){var n=t.iconName,r=t.title,o=t.titleId,i=t.prefix,a=t.transform,s=t.symbol,u=t.mask,c=t.maskId,f=t.extra;return new Promise((function(t,d){Promise.all([st(n,i),u.iconName?st(u.iconName,u.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then((function(u){var d=l(u,2),p=d[0],h=d[1];t([e,tt({icons:{main:p,mask:h},prefix:i,iconName:n,transform:a,symbol:s,maskId:c,title:r,titleId:o,extra:f,watchable:!0})])})).catch(d)}))},e.generateAbstractIcon=function(e){var t,n=e.children,r=e.attributes,o=e.main,i=e.transform,a=ie(e.styles);return a.length>0&&(r.style=a),ae(i)&&(t=qe("generateAbstractTransformGrouping",{main:o,transform:i,containerWidth:o.width,iconWidth:o.width})),n.push(t||o.icon),{children:n,attributes:r}}}},Lt={mixout:function(){return{layer:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.classes,r=void 0===n?[]:n;return et({type:"layer"},(function(){We("beforeDOMElementCreation",{assembler:e,params:t});var n=[];return e((function(e){Array.isArray(e)?e.map((function(e){n=n.concat(e.abstract)})):n=n.concat(e.abstract)})),[{tag:"span",attributes:{class:["".concat(K.familyPrefix,"-layers")].concat(u(r)).join(" ")},children:n}]}))}}}},Dt={mixout:function(){return{counter:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.title,r=void 0===n?null:n,o=t.classes,i=void 0===o?[]:o,a=t.attributes,s=void 0===a?{}:a,l=t.styles,c=void 0===l?{}:l;return et({type:"counter",content:e},(function(){return We("beforeDOMElementCreation",{content:e,params:t}),rt({content:e.toString(),title:r,extra:{attributes:s,styles:c,classes:["".concat(K.familyPrefix,"-layers-counter")].concat(u(i))}})}))}}}},Ft={mixout:function(){return{text:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?ee:n,i=t.title,a=void 0===i?null:i,s=t.classes,l=void 0===s?[]:s,c=t.attributes,f=void 0===c?{}:c,d=t.styles,p=void 0===d?{}:d;return et({type:"text",content:e},(function(){return We("beforeDOMElementCreation",{content:e,params:t}),nt({content:e,transform:o(o({},ee),r),title:a,extra:{attributes:f,styles:p,classes:["".concat(K.familyPrefix,"-layers-text")].concat(u(l))}})}))}}},provides:function(e){e.generateLayersText=function(e,t){var n=t.title,r=t.transform,o=t.extra,i=null,a=null;if(C){var s=parseInt(getComputedStyle(e).fontSize,10),l=e.getBoundingClientRect();i=l.width/s,a=l.height/s}return K.autoA11y&&!n&&(o.attributes["aria-hidden"]="true"),Promise.resolve([e,nt({content:e.innerHTML,width:i,height:a,transform:r,title:n,extra:o,watchable:!0})])}}},Mt=new RegExp('"',"ug"),zt=[1105920,1112319];function Bt(e,t){var n="".concat("data-fa-pseudo-element-pending").concat(t.replace(":","-"));return new Promise((function(r,i){if(null!==e.getAttribute(n))return r();var a=ne(e.children).filter((function(e){return e.getAttribute(T)===t}))[0],s=b.getComputedStyle(e,t),l=s.getPropertyValue("font-family").match(M),u=s.getPropertyValue("font-weight"),c=s.getPropertyValue("content");if(a&&!l)return e.removeChild(a),r();if(l&&"none"!==c&&""!==c){var f=s.getPropertyValue("content"),d=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(l[2])?R[l[2].toLowerCase()]:z[u],p=function(e){var t=e.replace(Mt,""),n=function(e,t){var n,r=e.length,o=e.charCodeAt(t);return o>=55296&&o<=56319&&r>t+1&&(n=e.charCodeAt(t+1))>=56320&&n<=57343?1024*(o-55296)+n-56320+65536:o}(t,0),r=n>=zt[0]&&n<=zt[1],o=2===t.length&&t[0]===t[1];return{value:be(o?t[0]:t),isSecondary:r||o}}(f),h=p.value,m=p.isSecondary,g=l[0].startsWith("FontAwesome"),v=Ze(d,h),y=v;if(g){var w=function(e){var t=Ae[e],n=Ze("fas",e);return t||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}(h);w.iconName&&w.prefix&&(v=w.iconName,d=w.prefix)}if(!v||m||a&&a.getAttribute(O)===d&&a.getAttribute(A)===y)r();else{e.setAttribute(n,y),a&&e.removeChild(a);var _={iconName:null,title:null,titleId:null,prefix:null,transform:ee,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}},k=_.extra;k.attributes[T]=t,st(v,d).then((function(i){var a=tt(o(o({},_),{},{icons:{main:i,mask:{prefix:null,iconName:null,rest:[]}},prefix:d,iconName:y,extra:k,watchable:!0})),s=x.createElement("svg");"::before"===t?e.insertBefore(s,e.firstChild):e.appendChild(s),s.outerHTML=a.map((function(e){return ge(e)})).join("\n"),e.removeAttribute(n),r()})).catch(i)}}else r()}))}function Ht(e){return Promise.all([Bt(e,"::before"),Bt(e,"::after")])}function $t(e){return e.parentNode!==document.head&&!~I.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(T)&&(!e.parentNode||"svg"!==e.parentNode.tagName)}function Ut(e){if(k)return new Promise((function(t,n){var r=ne(e.querySelectorAll("*")).filter($t).map(Ht),o=dt("searchPseudoElements");_t(),Promise.all(r).then((function(){o(),kt(),t()})).catch((function(){o(),kt(),n()}))}))}var Vt=!1,Gt=function(e){return e.toLowerCase().split(" ").reduce((function(e,t){var n=t.toLowerCase().split("-"),r=n[0],o=n.slice(1).join("-");if(r&&"h"===o)return e.flipX=!0,e;if(r&&"v"===o)return e.flipY=!0,e;if(o=parseFloat(o),isNaN(o))return e;switch(r){case"grow":e.size=e.size+o;break;case"shrink":e.size=e.size-o;break;case"left":e.x=e.x-o;break;case"right":e.x=e.x+o;break;case"up":e.y=e.y-o;break;case"down":e.y=e.y+o;break;case"rotate":e.rotate=e.rotate+o}return e}),{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},Wt={mixout:function(){return{parse:{transform:function(e){return Gt(e)}}}},hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-transform");return n&&(e.transform=Gt(n)),e}}},provides:function(e){e.generateAbstractTransformGrouping=function(e){var t=e.main,n=e.transform,r=e.containerWidth,i=e.iconWidth,a={transform:"translate(".concat(r/2," 256)")},s="translate(".concat(32*n.x,", ").concat(32*n.y,") "),l="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "),u="rotate(".concat(n.rotate," 0 0)"),c={outer:a,inner:{transform:"".concat(s," ").concat(l," ").concat(u)},path:{transform:"translate(".concat(i/2*-1," -256)")}};return{tag:"g",attributes:o({},c.outer),children:[{tag:"g",attributes:o({},c.inner),children:[{tag:t.icon.tag,children:t.icon.children,attributes:o(o({},t.icon.attributes),c.path)}]}]}}}},qt={x:0,y:0,width:"100%",height:"100%"};function Xt(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}var Yt={hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-mask"),r=n?ze(n.split(" ").map((function(e){return e.trim()}))):{prefix:null,iconName:null,rest:[]};return r.prefix||(r.prefix=Fe()),e.mask=r,e.maskId=t.getAttribute("data-fa-mask-id"),e}}},provides:function(e){e.generateAbstractMask=function(e){var t,n=e.children,r=e.attributes,i=e.main,a=e.mask,s=e.maskId,l=e.transform,u=i.width,c=i.icon,f=a.width,d=a.icon,p=function(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth,o={transform:"translate(".concat(n/2," 256)")},i="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:o,inner:{transform:"".concat(i," ").concat(a," ").concat(s)},path:{transform:"translate(".concat(r/2*-1," -256)")}}}({transform:l,containerWidth:f,iconWidth:u}),h={tag:"rect",attributes:o(o({},qt),{},{fill:"white"})},m=c.children?{children:c.children.map(Xt)}:{},g={tag:"g",attributes:o({},p.inner),children:[Xt(o({tag:c.tag,attributes:o(o({},c.attributes),p.path)},m))]},v={tag:"g",attributes:o({},p.outer),children:[g]},y="mask-".concat(s||te()),b="clip-".concat(s||te()),x={tag:"mask",attributes:o(o({},qt),{},{id:y,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[h,v]},w={tag:"defs",children:[{tag:"clipPath",attributes:{id:b},children:(t=d,"g"===t.tag?t.children:[t])},x]};return n.push(w,{tag:"rect",attributes:o({fill:"currentColor","clip-path":"url(#".concat(b,")"),mask:"url(#".concat(y,")")},qt)}),{children:n,attributes:r}}}},Kt={provides:function(e){var t=!1;b.matchMedia&&(t=b.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){var e=[],n={fill:"currentColor"},r={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};e.push({tag:"path",attributes:o(o({},n),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var i=o(o({},r),{},{attributeName:"opacity"}),a={tag:"circle",attributes:o(o({},n),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||a.children.push({tag:"animate",attributes:o(o({},r),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:o(o({},i),{},{values:"1;0;1;1;0;1;"})}),e.push(a),e.push({tag:"path",attributes:o(o({},n),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:t?[]:[{tag:"animate",attributes:o(o({},i),{},{values:"1;0;0;0;0;1;"})}]}),t||e.push({tag:"path",attributes:o(o({},n),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:o(o({},i),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:e}}}};!function(e,t){var n=t.mixoutsTo;He=e,$e={},Object.keys(Ue).forEach((function(e){-1===Ve.indexOf(e)&&delete Ue[e]})),He.forEach((function(e){var t=e.mixout?e.mixout():{};if(Object.keys(t).forEach((function(e){"function"===typeof t[e]&&(n[e]=t[e]),"object"===i(t[e])&&Object.keys(t[e]).forEach((function(r){n[e]||(n[e]={}),n[e][r]=t[e][r]}))})),e.hooks){var r=e.hooks();Object.keys(r).forEach((function(e){$e[e]||($e[e]=[]),$e[e].push(r[e])}))}e.provides&&e.provides(Ue)}))}([ce,Zt,Lt,Dt,Ft,{hooks:function(){return{mutationObserverCallbacks:function(e){return e.pseudoElementsCallback=Ut,e}}},provides:function(e){e.pseudoElements2svg=function(e){var t=e.node,n=void 0===t?x:t;K.searchPseudoElements&&Ut(n)}}},{mixout:function(){return{dom:{unwatch:function(){_t(),Vt=!0}}}},hooks:function(){return{bootstrap:function(){St(Ge("mutationObserverCallbacks",{}))},noAuto:function(){Ct&&Ct.disconnect()},watch:function(e){var t=e.observeMutationsRoot;Vt?kt():St(Ge("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}},Wt,Yt,Kt,{hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-symbol"),r=null!==n&&(""===n||n);return e.symbol=r,e}}}}],{mixoutsTo:Qe});var Qt=Qe.config,Jt=Qe.parse,en=Qe.icon},51436:function(e,t,n){"use strict";n.d(t,{$X1:function(){return h},AQZ:function(){return re},CjD:function(){return P},DBf:function(){return w},DD4:function(){return D},EQ8:function(){return _},FKd:function(){return te},GTE:function(){return i},HTU:function(){return o},ILF:function(){return ee},IwR:function(){return V},IyC:function(){return ne},Kl4:function(){return H},KtF:function(){return k},LEp:function(){return x},NBC:function(){return se},OEn:function(){return oe},Psp:function(){return q},Ry6:function(){return v},TL5:function(){return O},VjI:function(){return a},VmB:function(){return Z},Vui:function(){return K},WV2:function(){return T},XCy:function(){return $},XQY:function(){return U},YHc:function(){return L},_1N:function(){return F},b7h:function(){return j},bUn:function(){return l},c0k:function(){return ie},cXU:function(){return u},dLO:function(){return d},dzc:function(){return R},e7M:function(){return J},eFW:function(){return p},eW2:function(){return y},g7e:function(){return s},g82:function(){return ae},gMD:function(){return A},gPx:function(){return m},icf:function(){return f},ik8:function(){return Q},l1h:function(){return b},lXL:function(){return S},mXR:function(){return Y},nfZ:function(){return I},q7m:function(){return E},r8p:function(){return W},skt:function(){return c},u_e:function(){return r},uqF:function(){return B},wEO:function(){return C},wn1:function(){return z},xiG:function(){return g},y1i:function(){return X},yGG:function(){return N},zc:function(){return G}});var r={prefix:"fas",iconName:"1",icon:[256,512,[],"31","M256 448c0 17.67-14.33 32-32 32H32c-17.67 0-32-14.33-32-32s14.33-32 32-32h64V123.8L49.75 154.6C35.02 164.5 15.19 160.4 5.375 145.8C-4.422 131.1-.4531 111.2 14.25 101.4l96-64c9.828-6.547 22.45-7.187 32.84-1.594C153.5 41.37 160 52.22 160 64.01v352h64C241.7 416 256 430.3 256 448z"]},o={prefix:"fas",iconName:"2",icon:[320,512,[],"32","M320 448c0 17.67-14.33 32-32 32H32c-13.08 0-24.83-7.953-29.7-20.09c-4.859-12.12-1.859-26 7.594-35.03l193.6-185.1c31.36-30.17 33.95-80 5.812-113.4c-14.91-17.69-35.86-28.12-58.97-29.38C127.4 95.83 105.3 103.9 88.53 119.9L53.52 151.7c-13.08 11.91-33.33 10.89-45.2-2.172C-3.563 136.5-2.594 116.2 10.48 104.3l34.45-31.3c28.67-27.34 68.39-42.11 108.9-39.88c40.33 2.188 78.39 21.16 104.4 52.03c49.8 59.05 45.2 147.3-10.45 200.8l-136 130H288C305.7 416 320 430.3 320 448z"]},i={prefix:"fas",iconName:"3",icon:[320,512,[],"33","M320 344c0 74.98-61.02 136-136 136H103.6c-46.34 0-87.31-29.53-101.1-73.48c-5.594-16.77 3.484-34.88 20.25-40.47c16.75-5.609 34.89 3.484 40.47 20.25c5.922 17.77 22.48 29.7 41.23 29.7H184c39.7 0 72-32.3 72-72s-32.3-72-72-72H80c-13.2 0-25.05-8.094-29.83-20.41C45.39 239.3 48.66 225.3 58.38 216.4l131.4-120.4H32c-17.67 0-32-14.33-32-32s14.33-32 32-32h240c13.2 0 25.05 8.094 29.83 20.41c4.781 12.3 1.516 26.27-8.203 35.19l-131.4 120.4H184C258.1 208 320 269 320 344z"]},a={prefix:"fas",iconName:"4",icon:[384,512,[],"34","M384 334.2c0 17.67-14.33 32-32 32h-32v81.78c0 17.67-14.33 32-32 32s-32-14.33-32-32v-81.78H32c-10.97 0-21.17-5.625-27.05-14.89c-5.859-9.266-6.562-20.89-1.875-30.81l128-270.2C138.6 34.33 157.8 27.56 173.7 35.09c15.97 7.562 22.78 26.66 15.22 42.63L82.56 302.2H256V160c0-17.67 14.33-32 32-32s32 14.33 32 32v142.2h32C369.7 302.2 384 316.6 384 334.2z"]},s={prefix:"fas",iconName:"5",icon:[320,512,[],"35","M320 344.6c0 74.66-60.73 135.4-135.4 135.4H104.7c-46.81 0-88.22-29.83-103-74.23c-5.594-16.77 3.469-34.89 20.23-40.48c16.83-5.625 34.91 3.469 40.48 20.23c6.078 18.23 23.08 30.48 42.3 30.48h79.95c39.36 0 71.39-32.03 71.39-71.39s-32.03-71.38-71.39-71.38H32c-9.484 0-18.47-4.203-24.56-11.48C1.359 254.5-1.172 244.9 .5156 235.6l32-177.2C35.27 43.09 48.52 32.01 64 32.01l192 .0049c17.67 0 32 14.33 32 32s-14.33 32-32 32H90.73L70.3 209.2h114.3C259.3 209.2 320 269.1 320 344.6z"]},l={prefix:"fas",iconName:"6",icon:[320,512,[],"36","M167.7 160.8l64.65-76.06c11.47-13.45 9.812-33.66-3.656-45.09C222.7 34.51 215.3 32.01 208 32.01c-9.062 0-18.06 3.833-24.38 11.29C38.07 214.5 0 245.5 0 320c0 88.22 71.78 160 160 160s160-71.78 160-160C320 234.4 252.3 164.9 167.7 160.8zM160 416c-52.94 0-96-43.06-96-96s43.06-95.1 96-95.1s96 43.06 96 95.1S212.9 416 160 416z"]},u={prefix:"fas",iconName:"7",icon:[320,512,[],"37","M315.6 80.14l-224 384c-5.953 10.19-16.66 15.88-27.67 15.88c-5.469 0-11.02-1.406-16.09-4.359c-15.27-8.906-20.42-28.5-11.52-43.77l195.9-335.9H32c-17.67 0-32-14.33-32-32s14.33-32 32-32h256c11.45 0 22.05 6.125 27.75 16.06S321.4 70.23 315.6 80.14z"]},c={prefix:"fas",iconName:"8",icon:[320,512,[],"38","M267.5 249.2C290 226.1 304 194.7 304 160c0-70.58-57.42-128-128-128h-32c-70.58 0-128 57.42-128 128c0 34.7 13.99 66.12 36.48 89.19C20.83 272.5 0 309.8 0 352c0 70.58 57.42 128 128 128h64c70.58 0 128-57.42 128-128C320 309.8 299.2 272.5 267.5 249.2zM144 96.01h32c35.3 0 64 28.7 64 64s-28.7 64-64 64h-32c-35.3 0-64-28.7-64-64S108.7 96.01 144 96.01zM192 416H128c-35.3 0-64-28.7-64-64s28.7-64 64-64h64c35.3 0 64 28.7 64 64S227.3 416 192 416z"]},f={prefix:"fas",iconName:"9",icon:[320,512,[],"39","M160 32.01c-88.22 0-160 71.78-160 160c0 85.57 67.71 155.1 152.3 159.2l-64.65 76.06c-11.47 13.45-9.812 33.66 3.656 45.09c6 5.125 13.38 7.62 20.72 7.62c9.062 0 18.06-3.823 24.38-11.28C281.9 297.5 320 266.6 320 192C320 103.8 248.2 32.01 160 32.01zM160 288c-52.94 0-96-43.06-96-95.1s43.06-96 96-96s96 43.06 96 96S212.9 288 160 288z"]},d={prefix:"fas",iconName:"address-card",icon:[576,512,[62140,"contact-card","vcard"],"f2bb","M512 32H64C28.65 32 0 60.65 0 96v320c0 35.35 28.65 64 64 64h448c35.35 0 64-28.65 64-64V96C576 60.65 547.3 32 512 32zM176 128c35.35 0 64 28.65 64 64s-28.65 64-64 64s-64-28.65-64-64S140.7 128 176 128zM272 384h-192C71.16 384 64 376.8 64 368C64 323.8 99.82 288 144 288h64c44.18 0 80 35.82 80 80C288 376.8 280.8 384 272 384zM496 320h-128C359.2 320 352 312.8 352 304S359.2 288 368 288h128C504.8 288 512 295.2 512 304S504.8 320 496 320zM496 256h-128C359.2 256 352 248.8 352 240S359.2 224 368 224h128C504.8 224 512 231.2 512 240S504.8 256 496 256zM496 192h-128C359.2 192 352 184.8 352 176S359.2 160 368 160h128C504.8 160 512 167.2 512 176S504.8 192 496 192z"]},p={prefix:"fas",iconName:"arrow-right",icon:[448,512,[8594],"f061","M438.6 278.6l-160 160C272.4 444.9 264.2 448 256 448s-16.38-3.125-22.62-9.375c-12.5-12.5-12.5-32.75 0-45.25L338.8 288H32C14.33 288 .0016 273.7 .0016 256S14.33 224 32 224h306.8l-105.4-105.4c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0l160 160C451.1 245.9 451.1 266.1 438.6 278.6z"]},h={prefix:"fas",iconName:"asterisk",icon:[448,512,[10033,61545],"2a","M417.1 368c-5.937 10.27-16.69 16-27.75 16c-5.422 0-10.92-1.375-15.97-4.281L256 311.4V448c0 17.67-14.33 32-31.1 32S192 465.7 192 448V311.4l-118.3 68.29C68.67 382.6 63.17 384 57.75 384c-11.06 0-21.81-5.734-27.75-16c-8.828-15.31-3.594-34.88 11.72-43.72L159.1 256L41.72 187.7C26.41 178.9 21.17 159.3 29.1 144C36.63 132.5 49.26 126.7 61.65 128.2C65.78 128.7 69.88 130.1 73.72 132.3L192 200.6V64c0-17.67 14.33-32 32-32S256 46.33 256 64v136.6l118.3-68.29c3.838-2.213 7.939-3.539 12.07-4.051C398.7 126.7 411.4 132.5 417.1 144c8.828 15.31 3.594 34.88-11.72 43.72L288 256l118.3 68.28C421.6 333.1 426.8 352.7 417.1 368z"]},m={prefix:"fas",iconName:"ban",icon:[512,512,[128683,"cancel"],"f05e","M512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256zM99.5 144.8C77.15 176.1 64 214.5 64 256C64 362 149.1 448 256 448C297.5 448 335.9 434.9 367.2 412.5L99.5 144.8zM448 256C448 149.1 362 64 256 64C214.5 64 176.1 77.15 144.8 99.5L412.5 367.2C434.9 335.9 448 297.5 448 256V256z"]},g={prefix:"fas",iconName:"bars",icon:[448,512,["navicon"],"f0c9","M0 96C0 78.33 14.33 64 32 64H416C433.7 64 448 78.33 448 96C448 113.7 433.7 128 416 128H32C14.33 128 0 113.7 0 96zM0 256C0 238.3 14.33 224 32 224H416C433.7 224 448 238.3 448 256C448 273.7 433.7 288 416 288H32C14.33 288 0 273.7 0 256zM416 448H32C14.33 448 0 433.7 0 416C0 398.3 14.33 384 32 384H416C433.7 384 448 398.3 448 416C448 433.7 433.7 448 416 448z"]},v={prefix:"fas",iconName:"calendar-check",icon:[448,512,[],"f274","M160 32V64H288V32C288 14.33 302.3 0 320 0C337.7 0 352 14.33 352 32V64H400C426.5 64 448 85.49 448 112V160H0V112C0 85.49 21.49 64 48 64H96V32C96 14.33 110.3 0 128 0C145.7 0 160 14.33 160 32zM0 192H448V464C448 490.5 426.5 512 400 512H48C21.49 512 0 490.5 0 464V192zM328.1 304.1C338.3 295.6 338.3 280.4 328.1 271C319.6 261.7 304.4 261.7 295 271L200 366.1L152.1 319C143.6 309.7 128.4 309.7 119 319C109.7 328.4 109.7 343.6 119 352.1L183 416.1C192.4 426.3 207.6 426.3 216.1 416.1L328.1 304.1z"]},y={prefix:"fas",iconName:"caret-down",icon:[320,512,[],"f0d7","M310.6 246.6l-127.1 128C176.4 380.9 168.2 384 160 384s-16.38-3.125-22.63-9.375l-127.1-128C.2244 237.5-2.516 223.7 2.438 211.8S19.07 192 32 192h255.1c12.94 0 24.62 7.781 29.58 19.75S319.8 237.5 310.6 246.6z"]},b={prefix:"fas",iconName:"caret-up",icon:[320,512,[],"f0d8","M9.39 265.4l127.1-128C143.6 131.1 151.8 128 160 128s16.38 3.125 22.63 9.375l127.1 128c9.156 9.156 11.9 22.91 6.943 34.88S300.9 320 287.1 320H32.01c-12.94 0-24.62-7.781-29.58-19.75S.2333 274.5 9.39 265.4z"]},x={prefix:"fas",iconName:"check",icon:[448,512,[10004,10003],"f00c","M438.6 105.4C451.1 117.9 451.1 138.1 438.6 150.6L182.6 406.6C170.1 419.1 149.9 419.1 137.4 406.6L9.372 278.6C-3.124 266.1-3.124 245.9 9.372 233.4C21.87 220.9 42.13 220.9 54.63 233.4L159.1 338.7L393.4 105.4C405.9 92.88 426.1 92.88 438.6 105.4H438.6z"]},w={prefix:"fas",iconName:"circle-info",icon:[512,512,["info-circle"],"f05a","M256 0C114.6 0 0 114.6 0 256s114.6 256 256 256s256-114.6 256-256S397.4 0 256 0zM256 128c17.67 0 32 14.33 32 32c0 17.67-14.33 32-32 32S224 177.7 224 160C224 142.3 238.3 128 256 128zM296 384h-80C202.8 384 192 373.3 192 360s10.75-24 24-24h16v-64H224c-13.25 0-24-10.75-24-24S210.8 224 224 224h32c13.25 0 24 10.75 24 24v88h16c13.25 0 24 10.75 24 24S309.3 384 296 384z"]},_={prefix:"fas",iconName:"circle-plus",icon:[512,512,["plus-circle"],"f055","M0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256zM256 368C269.3 368 280 357.3 280 344V280H344C357.3 280 368 269.3 368 256C368 242.7 357.3 232 344 232H280V168C280 154.7 269.3 144 256 144C242.7 144 232 154.7 232 168V232H168C154.7 232 144 242.7 144 256C144 269.3 154.7 280 168 280H232V344C232 357.3 242.7 368 256 368z"]},k=_,C={prefix:"fas",iconName:"cloud-arrow-up",icon:[640,512,[62338,"cloud-upload","cloud-upload-alt"],"f0ee","M144 480C64.47 480 0 415.5 0 336C0 273.2 40.17 219.8 96.2 200.1C96.07 197.4 96 194.7 96 192C96 103.6 167.6 32 256 32C315.3 32 367 64.25 394.7 112.2C409.9 101.1 428.3 96 448 96C501 96 544 138.1 544 192C544 204.2 541.7 215.8 537.6 226.6C596 238.4 640 290.1 640 352C640 422.7 582.7 480 512 480H144zM223 263C213.7 272.4 213.7 287.6 223 296.1C232.4 306.3 247.6 306.3 256.1 296.1L296 257.9V392C296 405.3 306.7 416 320 416C333.3 416 344 405.3 344 392V257.9L383 296.1C392.4 306.3 407.6 306.3 416.1 296.1C426.3 287.6 426.3 272.4 416.1 263L336.1 183C327.6 173.7 312.4 173.7 303 183L223 263z"]},S={prefix:"fas",iconName:"comments",icon:[640,512,[61670,128490],"f086","M416 176C416 78.8 322.9 0 208 0S0 78.8 0 176c0 39.57 15.62 75.96 41.67 105.4c-16.39 32.76-39.23 57.32-39.59 57.68c-2.1 2.205-2.67 5.475-1.441 8.354C1.9 350.3 4.602 352 7.66 352c38.35 0 70.76-11.12 95.74-24.04C134.2 343.1 169.8 352 208 352C322.9 352 416 273.2 416 176zM599.6 443.7C624.8 413.9 640 376.6 640 336C640 238.8 554 160 448 160c-.3145 0-.6191 .041-.9336 .043C447.5 165.3 448 170.6 448 176c0 98.62-79.68 181.2-186.1 202.5C282.7 455.1 357.1 512 448 512c33.69 0 65.32-8.008 92.85-21.98C565.2 502 596.1 512 632.3 512c3.059 0 5.76-1.725 7.02-4.605c1.229-2.879 .6582-6.148-1.441-8.354C637.6 498.7 615.9 475.3 599.6 443.7z"]},E={prefix:"fas",iconName:"download",icon:[512,512,[],"f019","M480 352h-133.5l-45.25 45.25C289.2 409.3 273.1 416 256 416s-33.16-6.656-45.25-18.75L165.5 352H32c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h448c17.67 0 32-14.33 32-32v-96C512 366.3 497.7 352 480 352zM432 456c-13.2 0-24-10.8-24-24c0-13.2 10.8-24 24-24s24 10.8 24 24C456 445.2 445.2 456 432 456zM233.4 374.6C239.6 380.9 247.8 384 256 384s16.38-3.125 22.62-9.375l128-128c12.49-12.5 12.49-32.75 0-45.25c-12.5-12.5-32.76-12.5-45.25 0L288 274.8V32c0-17.67-14.33-32-32-32C238.3 0 224 14.33 224 32v242.8L150.6 201.4c-12.49-12.5-32.75-12.5-45.25 0c-12.49 12.5-12.49 32.75 0 45.25L233.4 374.6z"]},T={prefix:"fas",iconName:"exclamation",icon:[128,512,[10069,10071,61738],"21","M64 352c17.69 0 32-14.32 32-31.1V64.01c0-17.67-14.31-32.01-32-32.01S32 46.34 32 64.01v255.1C32 337.7 46.31 352 64 352zM64 400c-22.09 0-40 17.91-40 40s17.91 39.1 40 39.1s40-17.9 40-39.1S86.09 400 64 400z"]},O={prefix:"fas",iconName:"expand",icon:[448,512,[],"f065","M128 32H32C14.31 32 0 46.31 0 64v96c0 17.69 14.31 32 32 32s32-14.31 32-32V96h64c17.69 0 32-14.31 32-32S145.7 32 128 32zM416 32h-96c-17.69 0-32 14.31-32 32s14.31 32 32 32h64v64c0 17.69 14.31 32 32 32s32-14.31 32-32V64C448 46.31 433.7 32 416 32zM128 416H64v-64c0-17.69-14.31-32-32-32s-32 14.31-32 32v96c0 17.69 14.31 32 32 32h96c17.69 0 32-14.31 32-32S145.7 416 128 416zM416 320c-17.69 0-32 14.31-32 32v64h-64c-17.69 0-32 14.31-32 32s14.31 32 32 32h96c17.69 0 32-14.31 32-32v-96C448 334.3 433.7 320 416 320z"]},A={prefix:"fas",iconName:"file",icon:[384,512,[128459,61462,128196],"f15b","M0 64C0 28.65 28.65 0 64 0H224V128C224 145.7 238.3 160 256 160H384V448C384 483.3 355.3 512 320 512H64C28.65 512 0 483.3 0 448V64zM256 128V0L384 128H256z"]},j={prefix:"fas",iconName:"file-circle-plus",icon:[576,512,[],"e4ee","M0 64C0 28.65 28.65 0 64 0H224V128C224 145.7 238.3 160 256 160H384V198.6C310.1 219.5 256 287.4 256 368C256 427.1 285.1 479.3 329.7 511.3C326.6 511.7 323.3 512 320 512H64C28.65 512 0 483.3 0 448V64zM256 128V0L384 128H256zM288 368C288 288.5 352.5 224 432 224C511.5 224 576 288.5 576 368C576 447.5 511.5 512 432 512C352.5 512 288 447.5 288 368zM448 303.1C448 295.2 440.8 287.1 432 287.1C423.2 287.1 416 295.2 416 303.1V351.1H368C359.2 351.1 352 359.2 352 367.1C352 376.8 359.2 383.1 368 383.1H416V431.1C416 440.8 423.2 447.1 432 447.1C440.8 447.1 448 440.8 448 431.1V383.1H496C504.8 383.1 512 376.8 512 367.1C512 359.2 504.8 351.1 496 351.1H448V303.1z"]},I={prefix:"fas",iconName:"file-lines",icon:[384,512,[128462,61686,128441,"file-alt","file-text"],"f15c","M256 0v128h128L256 0zM224 128L224 0H48C21.49 0 0 21.49 0 48v416C0 490.5 21.49 512 48 512h288c26.51 0 48-21.49 48-48V160h-127.1C238.3 160 224 145.7 224 128zM272 416h-160C103.2 416 96 408.8 96 400C96 391.2 103.2 384 112 384h160c8.836 0 16 7.162 16 16C288 408.8 280.8 416 272 416zM272 352h-160C103.2 352 96 344.8 96 336C96 327.2 103.2 320 112 320h160c8.836 0 16 7.162 16 16C288 344.8 280.8 352 272 352zM288 272C288 280.8 280.8 288 272 288h-160C103.2 288 96 280.8 96 272C96 263.2 103.2 256 112 256h160C280.8 256 288 263.2 288 272z"]},P={prefix:"fas",iconName:"film",icon:[512,512,[127902],"f008","M463.1 32h-416C21.49 32-.0001 53.49-.0001 80v352c0 26.51 21.49 48 47.1 48h416c26.51 0 48-21.49 48-48v-352C511.1 53.49 490.5 32 463.1 32zM111.1 408c0 4.418-3.582 8-8 8H55.1c-4.418 0-8-3.582-8-8v-48c0-4.418 3.582-8 8-8h47.1c4.418 0 8 3.582 8 8L111.1 408zM111.1 280c0 4.418-3.582 8-8 8H55.1c-4.418 0-8-3.582-8-8v-48c0-4.418 3.582-8 8-8h47.1c4.418 0 8 3.582 8 8V280zM111.1 152c0 4.418-3.582 8-8 8H55.1c-4.418 0-8-3.582-8-8v-48c0-4.418 3.582-8 8-8h47.1c4.418 0 8 3.582 8 8L111.1 152zM351.1 400c0 8.836-7.164 16-16 16H175.1c-8.836 0-16-7.164-16-16v-96c0-8.838 7.164-16 16-16h160c8.836 0 16 7.162 16 16V400zM351.1 208c0 8.836-7.164 16-16 16H175.1c-8.836 0-16-7.164-16-16v-96c0-8.838 7.164-16 16-16h160c8.836 0 16 7.162 16 16V208zM463.1 408c0 4.418-3.582 8-8 8h-47.1c-4.418 0-7.1-3.582-7.1-8l0-48c0-4.418 3.582-8 8-8h47.1c4.418 0 8 3.582 8 8V408zM463.1 280c0 4.418-3.582 8-8 8h-47.1c-4.418 0-8-3.582-8-8v-48c0-4.418 3.582-8 8-8h47.1c4.418 0 8 3.582 8 8V280zM463.1 152c0 4.418-3.582 8-8 8h-47.1c-4.418 0-8-3.582-8-8l0-48c0-4.418 3.582-8 7.1-8h47.1c4.418 0 8 3.582 8 8V152z"]},N={prefix:"fas",iconName:"font",icon:[448,512,[],"f031","M416 416h-25.81L253.1 52.76c-4.688-12.47-16.57-20.76-29.91-20.76s-25.34 8.289-30.02 20.76L57.81 416H32c-17.67 0-32 14.31-32 32s14.33 32 32 32h96c17.67 0 32-14.31 32-32s-14.33-32-32-32H126.2l17.1-48h159.6l17.1 48H320c-17.67 0-32 14.31-32 32s14.33 32 32 32h96c17.67 0 32-14.31 32-32S433.7 416 416 416zM168.2 304L224 155.1l55.82 148.9H168.2z"]},R={prefix:"fas",iconName:"glasses",icon:[576,512,[],"f530","M574.1 280.4l-45.38-181.8c-5.875-23.63-21.62-44-43-55.75c-21.5-11.75-46.1-14.13-70.25-6.375l-15.25 5.125c-8.375 2.75-12.87 11.88-10 20.25l5 15.13c2.75 8.375 11.88 12.88 20.25 10.13l13.12-4.375c10.88-3.625 23-3.625 33.25 1.75c10.25 5.375 17.5 14.5 20.38 25.75l38.38 153.9c-22.12-6.875-49.75-12.5-81.13-12.5c-34.88 0-73.1 7-114.9 26.75H251.4C210.5 258.6 171.4 251.6 136.5 251.6c-31.38 0-59 5.625-81.12 12.5l38.38-153.9c2.875-11.25 10.12-20.38 20.5-25.75C124.4 79.12 136.5 79.12 147.4 82.74l13.12 4.375c8.375 2.75 17.5-1.75 20.25-10.13l5-15.13C188.6 53.49 184.1 44.37 175.6 41.62l-15.25-5.125c-23.13-7.75-48.75-5.375-70.13 6.375c-21.37 11.75-37.12 32.13-43 55.75L1.875 280.4C.6251 285.4 .0001 290.6 .0001 295.9v70.25C.0001 428.1 51.63 480 115.3 480h37.13c60.25 0 110.4-46 114.9-105.4l2.875-38.63h35.75l2.875 38.63C313.3 433.1 363.4 480 423.6 480h37.13c63.62 0 115.2-51 115.2-113.9V295.9C576 290.6 575.4 285.5 574.1 280.4zM203.4 369.7c-2 26-24.38 46.25-51 46.25H115.2C87 415.1 64 393.6 64 366.1v-37.5c18.12-6.5 43.38-13 72.62-13c23.88 0 47.25 4.375 69.88 13L203.4 369.7zM512 366.1c0 27.5-23 49.88-51.25 49.88h-37.13c-26.62 0-49-20.25-51-46.25l-3.125-41.13c22.62-8.625 46.13-13 70-13c29 0 54.38 6.5 72.5 13V366.1z"]},Z={prefix:"fas",iconName:"image",icon:[512,512,[],"f03e","M447.1 32h-384C28.64 32-.0091 60.65-.0091 96v320c0 35.35 28.65 64 63.1 64h384c35.35 0 64-28.65 64-64V96C511.1 60.65 483.3 32 447.1 32zM111.1 96c26.51 0 48 21.49 48 48S138.5 192 111.1 192s-48-21.49-48-48S85.48 96 111.1 96zM446.1 407.6C443.3 412.8 437.9 416 432 416H82.01c-6.021 0-11.53-3.379-14.26-8.75c-2.73-5.367-2.215-11.81 1.334-16.68l70-96C142.1 290.4 146.9 288 152 288s9.916 2.441 12.93 6.574l32.46 44.51l93.3-139.1C293.7 194.7 298.7 192 304 192s10.35 2.672 13.31 7.125l128 192C448.6 396 448.9 402.3 446.1 407.6z"]},L={prefix:"fas",iconName:"info",icon:[192,512,[],"f129","M160 448h-32V224c0-17.69-14.33-32-32-32L32 192c-17.67 0-32 14.31-32 32s14.33 31.1 32 31.1h32v192H32c-17.67 0-32 14.31-32 32s14.33 32 32 32h128c17.67 0 32-14.31 32-32S177.7 448 160 448zM96 128c26.51 0 48-21.49 48-48S122.5 32.01 96 32.01s-48 21.49-48 48S69.49 128 96 128z"]},D={prefix:"fas",iconName:"key",icon:[512,512,[128273],"f084","M282.3 343.7L248.1 376.1C244.5 381.5 238.4 384 232 384H192V424C192 437.3 181.3 448 168 448H128V488C128 501.3 117.3 512 104 512H24C10.75 512 0 501.3 0 488V408C0 401.6 2.529 395.5 7.029 391L168.3 229.7C162.9 212.8 160 194.7 160 176C160 78.8 238.8 0 336 0C433.2 0 512 78.8 512 176C512 273.2 433.2 352 336 352C317.3 352 299.2 349.1 282.3 343.7zM376 176C398.1 176 416 158.1 416 136C416 113.9 398.1 96 376 96C353.9 96 336 113.9 336 136C336 158.1 353.9 176 376 176z"]},F={prefix:"fas",iconName:"lock-open",icon:[576,512,[],"f3c1","M352 192H384C419.3 192 448 220.7 448 256V448C448 483.3 419.3 512 384 512H64C28.65 512 0 483.3 0 448V256C0 220.7 28.65 192 64 192H288V144C288 64.47 352.5 0 432 0C511.5 0 576 64.47 576 144V192C576 209.7 561.7 224 544 224C526.3 224 512 209.7 512 192V144C512 99.82 476.2 64 432 64C387.8 64 352 99.82 352 144V192z"]},M={prefix:"fas",iconName:"magnifying-glass",icon:[512,512,[128269,"search"],"f002","M500.3 443.7l-119.7-119.7c27.22-40.41 40.65-90.9 33.46-144.7C401.8 87.79 326.8 13.32 235.2 1.723C99.01-15.51-15.51 99.01 1.724 235.2c11.6 91.64 86.08 166.7 177.6 178.9c53.8 7.189 104.3-6.236 144.7-33.46l119.7 119.7c15.62 15.62 40.95 15.62 56.57 0C515.9 484.7 515.9 459.3 500.3 443.7zM79.1 208c0-70.58 57.42-128 128-128s128 57.42 128 128c0 70.58-57.42 128-128 128S79.1 278.6 79.1 208z"]},z=M,B={prefix:"fas",iconName:"microphone-lines",icon:[384,512,[127897,"microphone-alt"],"f3c9","M192 352c53.03 0 96-42.97 96-96h-80C199.2 256 192 248.8 192 240S199.2 224 208 224H288V192h-80C199.2 192 192 184.8 192 176S199.2 160 208 160H288V127.1h-80c-8.836 0-16-7.164-16-16s7.164-16 16-16L288 96c0-53.03-42.97-96-96-96s-96 42.97-96 96v160C96 309 138.1 352 192 352zM344 192C330.7 192 320 202.7 320 215.1V256c0 73.33-61.97 132.4-136.3 127.7c-66.08-4.169-119.7-66.59-119.7-132.8L64 215.1C64 202.7 53.25 192 40 192S16 202.7 16 215.1v32.15c0 89.66 63.97 169.6 152 181.7V464H128c-18.19 0-32.84 15.18-31.96 33.57C96.43 505.8 103.8 512 112 512h160c8.222 0 15.57-6.216 15.96-14.43C288.8 479.2 274.2 464 256 464h-40v-33.77C301.7 418.5 368 344.9 368 256V215.1C368 202.7 357.3 192 344 192z"]},H={prefix:"fas",iconName:"minus",icon:[448,512,[8722,10134,8211,"subtract"],"f068","M400 288h-352c-17.69 0-32-14.32-32-32.01s14.31-31.99 32-31.99h352c17.69 0 32 14.3 32 31.99S417.7 288 400 288z"]},$={prefix:"fas",iconName:"paper-plane",icon:[512,512,[61913],"f1d8","M511.6 36.86l-64 415.1c-1.5 9.734-7.375 18.22-15.97 23.05c-4.844 2.719-10.27 4.097-15.68 4.097c-4.188 0-8.319-.8154-12.29-2.472l-122.6-51.1l-50.86 76.29C226.3 508.5 219.8 512 212.8 512C201.3 512 192 502.7 192 491.2v-96.18c0-7.115 2.372-14.03 6.742-19.64L416 96l-293.7 264.3L19.69 317.5C8.438 312.8 .8125 302.2 .0625 289.1s5.469-23.72 16.06-29.77l448-255.1c10.69-6.109 23.88-5.547 34 1.406S513.5 24.72 511.6 36.86z"]},U={prefix:"fas",iconName:"pause",icon:[320,512,[9208],"f04c","M272 63.1l-32 0c-26.51 0-48 21.49-48 47.1v288c0 26.51 21.49 48 48 48L272 448c26.51 0 48-21.49 48-48v-288C320 85.49 298.5 63.1 272 63.1zM80 63.1l-32 0c-26.51 0-48 21.49-48 48v288C0 426.5 21.49 448 48 448l32 0c26.51 0 48-21.49 48-48v-288C128 85.49 106.5 63.1 80 63.1z"]},V={prefix:"fas",iconName:"pen",icon:[512,512,[128394],"f304","M362.7 19.32C387.7-5.678 428.3-5.678 453.3 19.32L492.7 58.75C517.7 83.74 517.7 124.3 492.7 149.3L444.3 197.7L314.3 67.72L362.7 19.32zM421.7 220.3L188.5 453.4C178.1 463.8 165.2 471.5 151.1 475.6L30.77 511C22.35 513.5 13.24 511.2 7.03 504.1C.8198 498.8-1.502 489.7 .976 481.2L36.37 360.9C40.53 346.8 48.16 333.9 58.57 323.5L291.7 90.34L421.7 220.3z"]},G={prefix:"fas",iconName:"play",icon:[384,512,[9654],"f04b","M361 215C375.3 223.8 384 239.3 384 256C384 272.7 375.3 288.2 361 296.1L73.03 472.1C58.21 482 39.66 482.4 24.52 473.9C9.377 465.4 0 449.4 0 432V80C0 62.64 9.377 46.63 24.52 38.13C39.66 29.64 58.21 29.99 73.03 39.04L361 215z"]},W={prefix:"fas",iconName:"plus",icon:[448,512,[10133,61543,"add"],"2b","M432 256c0 17.69-14.33 32.01-32 32.01H256v144c0 17.69-14.33 31.99-32 31.99s-32-14.3-32-31.99v-144H48c-17.67 0-32-14.32-32-32.01s14.33-31.99 32-31.99H192v-144c0-17.69 14.33-32.01 32-32.01s32 14.32 32 32.01v144h144C417.7 224 432 238.3 432 256z"]},q={prefix:"fas",iconName:"question",icon:[320,512,[10067,10068,61736],"3f","M204.3 32.01H96c-52.94 0-96 43.06-96 96c0 17.67 14.31 31.1 32 31.1s32-14.32 32-31.1c0-17.64 14.34-32 32-32h108.3C232.8 96.01 256 119.2 256 147.8c0 19.72-10.97 37.47-30.5 47.33L127.8 252.4C117.1 258.2 112 268.7 112 280v40c0 17.67 14.31 31.99 32 31.99s32-14.32 32-31.99V298.3L256 251.3c39.47-19.75 64-59.42 64-103.5C320 83.95 268.1 32.01 204.3 32.01zM144 400c-22.09 0-40 17.91-40 40s17.91 39.1 40 39.1s40-17.9 40-39.1S166.1 400 144 400z"]},X={prefix:"fas",iconName:"quote-left",icon:[448,512,[8220,"quote-left-alt"],"f10d","M96 224C84.72 224 74.05 226.3 64 229.9V224c0-35.3 28.7-64 64-64c17.67 0 32-14.33 32-32S145.7 96 128 96C57.42 96 0 153.4 0 224v96c0 53.02 42.98 96 96 96s96-42.98 96-96S149 224 96 224zM352 224c-11.28 0-21.95 2.305-32 5.879V224c0-35.3 28.7-64 64-64c17.67 0 32-14.33 32-32s-14.33-32-32-32c-70.58 0-128 57.42-128 128v96c0 53.02 42.98 96 96 96s96-42.98 96-96S405 224 352 224z"]},Y={prefix:"fas",iconName:"right-from-bracket",icon:[512,512,["sign-out-alt"],"f2f5","M96 480h64C177.7 480 192 465.7 192 448S177.7 416 160 416H96c-17.67 0-32-14.33-32-32V128c0-17.67 14.33-32 32-32h64C177.7 96 192 81.67 192 64S177.7 32 160 32H96C42.98 32 0 74.98 0 128v256C0 437 42.98 480 96 480zM504.8 238.5l-144.1-136c-6.975-6.578-17.2-8.375-26-4.594c-8.803 3.797-14.51 12.47-14.51 22.05l-.0918 72l-128-.001c-17.69 0-32.02 14.33-32.02 32v64c0 17.67 14.34 32 32.02 32l128 .001l.0918 71.1c0 9.578 5.707 18.25 14.51 22.05c8.803 3.781 19.03 1.984 26-4.594l144.1-136C514.4 264.4 514.4 247.6 504.8 238.5z"]},K={prefix:"fas",iconName:"trash-can",icon:[448,512,[61460,"trash-alt"],"f2ed","M135.2 17.69C140.6 6.848 151.7 0 163.8 0H284.2C296.3 0 307.4 6.848 312.8 17.69L320 32H416C433.7 32 448 46.33 448 64C448 81.67 433.7 96 416 96H32C14.33 96 0 81.67 0 64C0 46.33 14.33 32 32 32H128L135.2 17.69zM31.1 128H416V448C416 483.3 387.3 512 352 512H95.1C60.65 512 31.1 483.3 31.1 448V128zM111.1 208V432C111.1 440.8 119.2 448 127.1 448C136.8 448 143.1 440.8 143.1 432V208C143.1 199.2 136.8 192 127.1 192C119.2 192 111.1 199.2 111.1 208zM207.1 208V432C207.1 440.8 215.2 448 223.1 448C232.8 448 240 440.8 240 432V208C240 199.2 232.8 192 223.1 192C215.2 192 207.1 199.2 207.1 208zM304 208V432C304 440.8 311.2 448 320 448C328.8 448 336 440.8 336 432V208C336 199.2 328.8 192 320 192C311.2 192 304 199.2 304 208z"]},Q={prefix:"fas",iconName:"triangle-exclamation",icon:[512,512,[9888,"exclamation-triangle","warning"],"f071","M506.3 417l-213.3-364c-16.33-28-57.54-28-73.98 0l-213.2 364C-10.59 444.9 9.849 480 42.74 480h426.6C502.1 480 522.6 445 506.3 417zM232 168c0-13.25 10.75-24 24-24S280 154.8 280 168v128c0 13.25-10.75 24-23.1 24S232 309.3 232 296V168zM256 416c-17.36 0-31.44-14.08-31.44-31.44c0-17.36 14.07-31.44 31.44-31.44s31.44 14.08 31.44 31.44C287.4 401.9 273.4 416 256 416z"]},J=Q,ee={prefix:"fas",iconName:"user",icon:[448,512,[62144,128100],"f007","M224 256c70.7 0 128-57.31 128-128s-57.3-128-128-128C153.3 0 96 57.31 96 128S153.3 256 224 256zM274.7 304H173.3C77.61 304 0 381.6 0 477.3c0 19.14 15.52 34.67 34.66 34.67h378.7C432.5 512 448 496.5 448 477.3C448 381.6 370.4 304 274.7 304z"]},te={prefix:"fas",iconName:"user-plus",icon:[640,512,[],"f234","M224 256c70.7 0 128-57.31 128-128S294.7 0 224 0C153.3 0 96 57.31 96 128S153.3 256 224 256zM274.7 304H173.3C77.61 304 0 381.6 0 477.3C0 496.5 15.52 512 34.66 512h378.7C432.5 512 448 496.5 448 477.3C448 381.6 370.4 304 274.7 304zM616 200h-48v-48C568 138.8 557.3 128 544 128s-24 10.75-24 24v48h-48C458.8 200 448 210.8 448 224s10.75 24 24 24h48v48C520 309.3 530.8 320 544 320s24-10.75 24-24v-48h48C629.3 248 640 237.3 640 224S629.3 200 616 200z"]},ne={prefix:"fas",iconName:"video",icon:[576,512,["video-camera"],"f03d","M384 112v288c0 26.51-21.49 48-48 48h-288c-26.51 0-48-21.49-48-48v-288c0-26.51 21.49-48 48-48h288C362.5 64 384 85.49 384 112zM576 127.5v256.9c0 25.5-29.17 40.39-50.39 25.79L416 334.7V177.3l109.6-75.56C546.9 87.13 576 102.1 576 127.5z"]},re={prefix:"fas",iconName:"volume-high",icon:[640,512,[128266,"volume-up"],"f028","M412.6 182c-10.28-8.334-25.41-6.867-33.75 3.402c-8.406 10.24-6.906 25.35 3.375 33.74C393.5 228.4 400 241.8 400 255.1c0 14.17-6.5 27.59-17.81 36.83c-10.28 8.396-11.78 23.5-3.375 33.74c4.719 5.806 11.62 8.802 18.56 8.802c5.344 0 10.75-1.779 15.19-5.399C435.1 311.5 448 284.6 448 255.1S435.1 200.4 412.6 182zM473.1 108.2c-10.22-8.334-25.34-6.898-33.78 3.34c-8.406 10.24-6.906 25.35 3.344 33.74C476.6 172.1 496 213.3 496 255.1s-19.44 82.1-53.31 110.7c-10.25 8.396-11.75 23.5-3.344 33.74c4.75 5.775 11.62 8.771 18.56 8.771c5.375 0 10.75-1.779 15.22-5.431C518.2 366.9 544 313 544 255.1S518.2 145 473.1 108.2zM534.4 33.4c-10.22-8.334-25.34-6.867-33.78 3.34c-8.406 10.24-6.906 25.35 3.344 33.74C559.9 116.3 592 183.9 592 255.1s-32.09 139.7-88.06 185.5c-10.25 8.396-11.75 23.5-3.344 33.74C505.3 481 512.2 484 519.2 484c5.375 0 10.75-1.779 15.22-5.431C601.5 423.6 640 342.5 640 255.1S601.5 88.34 534.4 33.4zM301.2 34.98c-11.5-5.181-25.01-3.076-34.43 5.29L131.8 160.1H48c-26.51 0-48 21.48-48 47.96v95.92c0 26.48 21.49 47.96 48 47.96h83.84l134.9 119.8C272.7 477 280.3 479.8 288 479.8c4.438 0 8.959-.9314 13.16-2.835C312.7 471.8 320 460.4 320 447.9V64.12C320 51.55 312.7 40.13 301.2 34.98z"]},oe={prefix:"fas",iconName:"volume-off",icon:[320,512,[],"f026","M320 64v383.1c0 12.59-7.337 24.01-18.84 29.16C296.1 479.1 292.4 480 288 480c-7.688 0-15.28-2.781-21.27-8.094l-134.9-119.9H48c-26.51 0-48-21.49-48-47.1V208c0-26.51 21.49-47.1 48-47.1h83.84l134.9-119.9c9.422-8.375 22.93-10.45 34.43-5.259C312.7 39.1 320 51.41 320 64z"]},ie={prefix:"fas",iconName:"volume-xmark",icon:[576,512,["volume-mute","volume-times"],"f6a9","M301.2 34.85c-11.5-5.188-25.02-3.122-34.44 5.253L131.8 160H48c-26.51 0-48 21.49-48 47.1v95.1c0 26.51 21.49 47.1 48 47.1h83.84l134.9 119.9c5.984 5.312 13.58 8.094 21.26 8.094c4.438 0 8.972-.9375 13.17-2.844c11.5-5.156 18.82-16.56 18.82-29.16V64C319.1 51.41 312.7 40 301.2 34.85zM513.9 255.1l47.03-47.03c9.375-9.375 9.375-24.56 0-33.94s-24.56-9.375-33.94 0L480 222.1L432.1 175c-9.375-9.375-24.56-9.375-33.94 0s-9.375 24.56 0 33.94l47.03 47.03l-47.03 47.03c-9.375 9.375-9.375 24.56 0 33.94c9.373 9.373 24.56 9.381 33.94 0L480 289.9l47.03 47.03c9.373 9.373 24.56 9.381 33.94 0c9.375-9.375 9.375-24.56 0-33.94L513.9 255.1z"]},ae={prefix:"fas",iconName:"xmark",icon:[320,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M310.6 361.4c12.5 12.5 12.5 32.75 0 45.25C304.4 412.9 296.2 416 288 416s-16.38-3.125-22.62-9.375L160 301.3L54.63 406.6C48.38 412.9 40.19 416 32 416S15.63 412.9 9.375 406.6c-12.5-12.5-12.5-32.75 0-45.25l105.4-105.4L9.375 150.6c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L160 210.8l105.4-105.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-105.4 105.4L310.6 361.4z"]},se=ae},67814:function(e,t,n){"use strict";n.d(t,{G:function(){return w}});var r=n(78947),o=n(45697),i=n.n(o),a=n(67294);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){c(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 u(e){return u="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},u(e)}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 f(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function d(e){return function(e){if(Array.isArray(e))return p(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||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)||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 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 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}var m=["style"];function g(e){return e.split(";").map((function(e){return e.trim()})).filter((function(e){return e})).reduce((function(e,t){var n,r=t.indexOf(":"),o=h(t.slice(0,r)),i=t.slice(r+1).trim();return o.startsWith("webkit")?e[(n=o,n.charAt(0).toUpperCase()+n.slice(1))]=i:e[o]=i,e}),{})}var v=!1;try{v=!0}catch(k){}function y(e){return e&&"object"===u(e)&&e.prefix&&e.iconName&&e.icon?e:r.Qc.icon?r.Qc.icon(e):null===e?null:e&&"object"===u(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 b(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?c({},e,t):{}}var x=["forwardedRef"];function w(e){var t=e.forwardedRef,n=f(e,x),o=n.icon,i=n.mask,a=n.symbol,s=n.className,u=n.title,p=n.titleId,h=n.maskId,m=y(o),g=b("classes",[].concat(d(function(e){var t,n=e.beat,r=e.fade,o=e.beatFade,i=e.bounce,a=e.shake,s=e.flash,l=e.spin,u=e.spinPulse,f=e.spinReverse,d=e.pulse,p=e.fixedWidth,h=e.inverse,m=e.border,g=e.listItem,v=e.flip,y=e.size,b=e.rotation,x=e.pull,w=(c(t={"fa-beat":n,"fa-fade":r,"fa-beat-fade":o,"fa-bounce":i,"fa-shake":a,"fa-flash":s,"fa-spin":l,"fa-spin-reverse":f,"fa-spin-pulse":u,"fa-pulse":d,"fa-fw":p,"fa-inverse":h,"fa-border":m,"fa-li":g,"fa-flip-horizontal":"horizontal"===v||"both"===v,"fa-flip-vertical":"vertical"===v||"both"===v},"fa-".concat(y),"undefined"!==typeof y&&null!==y),c(t,"fa-rotate-".concat(b),"undefined"!==typeof b&&null!==b&&0!==b),c(t,"fa-pull-".concat(x),"undefined"!==typeof x&&null!==x),c(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(w).map((function(e){return w[e]?e:null})).filter((function(e){return e}))}(n)),d(s.split(" ")))),k=b("transform","string"===typeof n.transform?r.Qc.transform(n.transform):n.transform),C=b("mask",y(i)),S=(0,r.qv)(m,l(l(l(l({},g),k),C),{},{symbol:a,title:u,titleId:p,maskId:h}));if(!S)return function(){var e;!v&&console&&"function"===typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",m),null;var E=S.abstract,T={ref:t};return Object.keys(n).forEach((function(e){w.defaultProps.hasOwnProperty(e)||(T[e]=n[e])})),_(E[0],T)}w.displayName="FontAwesomeIcon",w.propTypes={beat:i().bool,border:i().bool,bounce:i().bool,className:i().string,fade:i().bool,flash:i().bool,mask:i().oneOfType([i().object,i().array,i().string]),maskId:i().string,fixedWidth:i().bool,inverse:i().bool,flip:i().oneOf(["horizontal","vertical","both"]),icon:i().oneOfType([i().object,i().array,i().string]),listItem:i().bool,pull:i().oneOf(["right","left"]),pulse:i().bool,rotation:i().oneOf([0,90,180,270]),shake:i().bool,size:i().oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:i().bool,spinPulse:i().bool,spinReverse:i().bool,symbol:i().oneOfType([i().bool,i().string]),title:i().string,titleId:i().string,transform:i().oneOfType([i().string,i().object]),swapOpacity:i().bool},w.defaultProps={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:null,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1};var _=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"===typeof n)return n;var o=(n.children||[]).map((function(n){return e(t,n)})),i=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=g(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,u=f(r,m);return i.attrs.style=l(l({},i.attrs.style),s),t.apply(void 0,[n.tag,l(l({},i.attrs),u)].concat(d(o)))}.bind(null,a.createElement)},95496:function(e,t,n){"use strict";n.d(t,{X:function(){return a}});var r=n(87536),o=function(e,t){for(var n in t.fields){var o=t.fields[n];if(o&&o.ref&&"reportValidity"in o.ref){var i=(0,r.U2)(e,n);o.ref.setCustomValidity(i&&i.message||""),o.ref.reportValidity()}}},i=function(e,t){t.shouldUseNativeValidation&&o(e,t);var n={};for(var i in e){var a=(0,r.U2)(t.fields,i);(0,r.t8)(n,i,Object.assign(e[i],{ref:a&&a.ref}))}return n},a=function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),function(a,s,l){try{return Promise.resolve(function(r,i){try{var u=(t.context,Promise.resolve(e["sync"===n.mode?"validateSync":"validate"](a,Object.assign({abortEarly:!1},t,{context:s}))).then((function(e){return l.shouldUseNativeValidation&&o({},l),{values:e,errors:{}}})))}catch(c){return i(c)}return u&&u.then?u.then(void 0,i):u}(0,(function(e){return{values:{},errors:i((t=e,n=!l.shouldUseNativeValidation&&"all"===l.criteriaMode,(t.inner||[]).reduce((function(e,t){if(e[t.path]||(e[t.path]={message:t.message,type:t.type}),n){var o=e[t.path].types,i=o&&o[t.type];e[t.path]=(0,r.KN)(t.path,n,e,t.type,i?[].concat(i,t.message):t.message)}return e}),{})),l)};var t,n})))}catch(u){return Promise.reject(u)}}}},9034:function(e,t,n){"use strict";n.d(t,{Z:function(){return Ze}});var r=n(87462),o=n(63366),i=n(67294),a=n(22760),s=n(54895),l=n(36425);function u(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function c(e){return e instanceof u(e).Element||e instanceof Element}function f(e){return e instanceof u(e).HTMLElement||e instanceof HTMLElement}function d(e){return"undefined"!==typeof ShadowRoot&&(e instanceof u(e).ShadowRoot||e instanceof ShadowRoot)}var p=Math.max,h=Math.min,m=Math.round;function g(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function v(){return!/^((?!chrome|android).)*safari/i.test(g())}function y(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&f(e)&&(o=e.offsetWidth>0&&m(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&m(r.height)/e.offsetHeight||1);var a=(c(e)?u(e):window).visualViewport,s=!v()&&n,l=(r.left+(s&&a?a.offsetLeft:0))/o,d=(r.top+(s&&a?a.offsetTop:0))/i,p=r.width/o,h=r.height/i;return{width:p,height:h,top:d,right:l+p,bottom:d+h,left:l,x:l,y:d}}function b(e){var t=u(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function x(e){return e?(e.nodeName||"").toLowerCase():null}function w(e){return((c(e)?e.ownerDocument:e.document)||window.document).documentElement}function _(e){return y(w(e)).left+b(e).scrollLeft}function k(e){return u(e).getComputedStyle(e)}function C(e){var t=k(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function S(e,t,n){void 0===n&&(n=!1);var r=f(t),o=f(t)&&function(e){var t=e.getBoundingClientRect(),n=m(t.width)/e.offsetWidth||1,r=m(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),i=w(t),a=y(e,o,n),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&(("body"!==x(t)||C(i))&&(s=function(e){return e!==u(e)&&f(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:b(e);var t}(t)),f(t)?((l=y(t,!0)).x+=t.clientLeft,l.y+=t.clientTop):i&&(l.x=_(i))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function E(e){var t=y(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function T(e){return"html"===x(e)?e:e.assignedSlot||e.parentNode||(d(e)?e.host:null)||w(e)}function O(e){return["html","body","#document"].indexOf(x(e))>=0?e.ownerDocument.body:f(e)&&C(e)?e:O(T(e))}function A(e,t){var n;void 0===t&&(t=[]);var r=O(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=u(r),a=o?[i].concat(i.visualViewport||[],C(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(A(T(a)))}function j(e){return["table","td","th"].indexOf(x(e))>=0}function I(e){return f(e)&&"fixed"!==k(e).position?e.offsetParent:null}function P(e){for(var t=u(e),n=I(e);n&&j(n)&&"static"===k(n).position;)n=I(n);return n&&("html"===x(n)||"body"===x(n)&&"static"===k(n).position)?t:n||function(e){var t=/firefox/i.test(g());if(/Trident/i.test(g())&&f(e)&&"fixed"===k(e).position)return null;var n=T(e);for(d(n)&&(n=n.host);f(n)&&["html","body"].indexOf(x(n))<0;){var r=k(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var N="top",R="bottom",Z="right",L="left",D="auto",F=[N,R,Z,L],M="start",z="end",B="viewport",H="popper",$=F.reduce((function(e,t){return e.concat([t+"-"+M,t+"-"+z])}),[]),U=[].concat(F,[D]).reduce((function(e,t){return e.concat([t,t+"-"+M,t+"-"+z])}),[]),V=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function G(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}function W(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}var q={placement:"bottom",modifiers:[],strategy:"absolute"};function X(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"===typeof e.getBoundingClientRect)}))}function Y(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?q:o;return function(e,t,n){void 0===n&&(n=i);var o={placement:"bottom",orderedModifiers:[],options:Object.assign({},q,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},a=[],s=!1,l={state:o,setOptions:function(n){var s="function"===typeof n?n(o.options):n;u(),o.options=Object.assign({},i,o.options,s),o.scrollParents={reference:c(e)?A(e):e.contextElement?A(e.contextElement):[],popper:A(t)};var f=function(e){var t=G(e);return V.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(r,o.options.modifiers)));return o.orderedModifiers=f.filter((function(e){return e.enabled})),o.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,i=e.effect;if("function"===typeof i){var s=i({state:o,name:t,instance:l,options:r}),u=function(){};a.push(s||u)}})),l.update()},forceUpdate:function(){if(!s){var e=o.elements,t=e.reference,n=e.popper;if(X(t,n)){o.rects={reference:S(t,P(n),"fixed"===o.options.strategy),popper:E(n)},o.reset=!1,o.placement=o.options.placement,o.orderedModifiers.forEach((function(e){return o.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<o.orderedModifiers.length;r++)if(!0!==o.reset){var i=o.orderedModifiers[r],a=i.fn,u=i.options,c=void 0===u?{}:u,f=i.name;"function"===typeof a&&(o=a({state:o,options:c,name:f,instance:l})||o)}else o.reset=!1,r=-1}}},update:W((function(){return new Promise((function(e){l.forceUpdate(),e(o)}))})),destroy:function(){u(),s=!0}};if(!X(e,t))return l;function u(){a.forEach((function(e){return e()})),a=[]}return l.setOptions(n).then((function(e){!s&&n.onFirstUpdate&&n.onFirstUpdate(e)})),l}}var K={passive:!0};function Q(e){return e.split("-")[0]}function J(e){return e.split("-")[1]}function ee(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function te(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?Q(o):null,a=o?J(o):null,s=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(i){case N:t={x:s,y:n.y-r.height};break;case R:t={x:s,y:n.y+n.height};break;case Z:t={x:n.x+n.width,y:l};break;case L:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var u=i?ee(i):null;if(null!=u){var c="y"===u?"height":"width";switch(a){case M:t[u]=t[u]-(n[c]/2-r[c]/2);break;case z:t[u]=t[u]+(n[c]/2-r[c]/2)}}return t}var ne={top:"auto",right:"auto",bottom:"auto",left:"auto"};function re(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,f=e.roundOffsets,d=e.isFixed,p=a.x,h=void 0===p?0:p,g=a.y,v=void 0===g?0:g,y="function"===typeof f?f({x:h,y:v}):{x:h,y:v};h=y.x,v=y.y;var b=a.hasOwnProperty("x"),x=a.hasOwnProperty("y"),_=L,C=N,S=window;if(c){var E=P(n),T="clientHeight",O="clientWidth";if(E===u(n)&&"static"!==k(E=w(n)).position&&"absolute"===s&&(T="scrollHeight",O="scrollWidth"),o===N||(o===L||o===Z)&&i===z)C=R,v-=(d&&E===S&&S.visualViewport?S.visualViewport.height:E[T])-r.height,v*=l?1:-1;if(o===L||(o===N||o===R)&&i===z)_=Z,h-=(d&&E===S&&S.visualViewport?S.visualViewport.width:E[O])-r.width,h*=l?1:-1}var A,j=Object.assign({position:s},c&&ne),I=!0===f?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:m(n*o)/o||0,y:m(r*o)/o||0}}({x:h,y:v},u(n)):{x:h,y:v};return h=I.x,v=I.y,l?Object.assign({},j,((A={})[C]=x?"0":"",A[_]=b?"0":"",A.transform=(S.devicePixelRatio||1)<=1?"translate("+h+"px, "+v+"px)":"translate3d("+h+"px, "+v+"px, 0)",A)):Object.assign({},j,((t={})[C]=x?v+"px":"",t[_]=b?h+"px":"",t.transform="",t))}var oe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=U.reduce((function(e,n){return e[n]=function(e,t,n){var r=Q(e),o=[L,N].indexOf(r)>=0?-1:1,i="function"===typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[L,Z].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,i),e}),{}),s=a[t.placement],l=s.x,u=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}},ie={left:"right",right:"left",bottom:"top",top:"bottom"};function ae(e){return e.replace(/left|right|bottom|top/g,(function(e){return ie[e]}))}var se={start:"end",end:"start"};function le(e){return e.replace(/start|end/g,(function(e){return se[e]}))}function ue(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&d(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ce(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function fe(e,t,n){return t===B?ce(function(e,t){var n=u(e),r=w(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;var c=v();(c||!c&&"fixed"===t)&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s+_(e),y:l}}(e,n)):c(t)?function(e,t){var n=y(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):ce(function(e){var t,n=w(e),r=b(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=p(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=p(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+_(e),l=-r.scrollTop;return"rtl"===k(o||n).direction&&(s+=p(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}(w(e)))}function de(e,t,n,r){var o="clippingParents"===t?function(e){var t=A(T(e)),n=["absolute","fixed"].indexOf(k(e).position)>=0&&f(e)?P(e):e;return c(n)?t.filter((function(e){return c(e)&&ue(e,n)&&"body"!==x(e)})):[]}(e):[].concat(t),i=[].concat(o,[n]),a=i[0],s=i.reduce((function(t,n){var o=fe(e,n,r);return t.top=p(o.top,t.top),t.right=h(o.right,t.right),t.bottom=h(o.bottom,t.bottom),t.left=p(o.left,t.left),t}),fe(e,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function pe(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function he(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function me(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.strategy,a=void 0===i?e.strategy:i,s=n.boundary,l=void 0===s?"clippingParents":s,u=n.rootBoundary,f=void 0===u?B:u,d=n.elementContext,p=void 0===d?H:d,h=n.altBoundary,m=void 0!==h&&h,g=n.padding,v=void 0===g?0:g,b=pe("number"!==typeof v?v:he(v,F)),x=p===H?"reference":H,_=e.rects.popper,k=e.elements[m?x:p],C=de(c(k)?k:k.contextElement||w(e.elements.popper),l,f,a),S=y(e.elements.reference),E=te({reference:S,element:_,strategy:"absolute",placement:o}),T=ce(Object.assign({},_,E)),O=p===H?T:S,A={top:C.top-O.top+b.top,bottom:O.bottom-C.bottom+b.bottom,left:C.left-O.left+b.left,right:O.right-C.right+b.right},j=e.modifiersData.offset;if(p===H&&j){var I=j[o];Object.keys(A).forEach((function(e){var t=[Z,R].indexOf(e)>=0?1:-1,n=[N,R].indexOf(e)>=0?"y":"x";A[e]+=I[n]*t}))}return A}function ge(e,t,n){return p(e,h(t,n))}var ve={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0!==a&&a,l=n.boundary,u=n.rootBoundary,c=n.altBoundary,f=n.padding,d=n.tether,m=void 0===d||d,g=n.tetherOffset,v=void 0===g?0:g,y=me(t,{boundary:l,rootBoundary:u,padding:f,altBoundary:c}),b=Q(t.placement),x=J(t.placement),w=!x,_=ee(b),k="x"===_?"y":"x",C=t.modifiersData.popperOffsets,S=t.rects.reference,T=t.rects.popper,O="function"===typeof v?v(Object.assign({},t.rects,{placement:t.placement})):v,A="number"===typeof O?{mainAxis:O,altAxis:O}:Object.assign({mainAxis:0,altAxis:0},O),j=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,I={x:0,y:0};if(C){if(i){var D,F="y"===_?N:L,z="y"===_?R:Z,B="y"===_?"height":"width",H=C[_],$=H+y[F],U=H-y[z],V=m?-T[B]/2:0,G=x===M?S[B]:T[B],W=x===M?-T[B]:-S[B],q=t.elements.arrow,X=m&&q?E(q):{width:0,height:0},Y=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},K=Y[F],te=Y[z],ne=ge(0,S[B],X[B]),re=w?S[B]/2-V-ne-K-A.mainAxis:G-ne-K-A.mainAxis,oe=w?-S[B]/2+V+ne+te+A.mainAxis:W+ne+te+A.mainAxis,ie=t.elements.arrow&&P(t.elements.arrow),ae=ie?"y"===_?ie.clientTop||0:ie.clientLeft||0:0,se=null!=(D=null==j?void 0:j[_])?D:0,le=H+oe-se,ue=ge(m?h($,H+re-se-ae):$,H,m?p(U,le):U);C[_]=ue,I[_]=ue-H}if(s){var ce,fe="x"===_?N:L,de="x"===_?R:Z,pe=C[k],he="y"===k?"height":"width",ve=pe+y[fe],ye=pe-y[de],be=-1!==[N,L].indexOf(b),xe=null!=(ce=null==j?void 0:j[k])?ce:0,we=be?ve:pe-S[he]-T[he]-xe+A.altAxis,_e=be?pe+S[he]+T[he]-xe-A.altAxis:ye,ke=m&&be?function(e,t,n){var r=ge(e,t,n);return r>n?n:r}(we,pe,_e):ge(m?we:ve,pe,m?_e:ye);C[k]=ke,I[k]=ke-pe}t.modifiersData[r]=I}},requiresIfExists:["offset"]};var ye={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=Q(n.placement),l=ee(s),u=[L,Z].indexOf(s)>=0?"height":"width";if(i&&a){var c=function(e,t){return pe("number"!==typeof(e="function"===typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:he(e,F))}(o.padding,n),f=E(i),d="y"===l?N:L,p="y"===l?R:Z,h=n.rects.reference[u]+n.rects.reference[l]-a[l]-n.rects.popper[u],m=a[l]-n.rects.reference[l],g=P(i),v=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,y=h/2-m/2,b=c[d],x=v-f[u]-c[p],w=v/2-f[u]/2+y,_=ge(b,w,x),k=l;n.modifiersData[r]=((t={})[k]=_,t.centerOffset=_-w,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!==typeof r||(r=t.elements.popper.querySelector(r)))&&ue(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function be(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function xe(e){return[N,Z,R,L].some((function(t){return e[t]>=0}))}var we=Y({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,s=void 0===a||a,l=u(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach((function(e){e.addEventListener("scroll",n.update,K)})),s&&l.addEventListener("resize",n.update,K),function(){i&&c.forEach((function(e){e.removeEventListener("scroll",n.update,K)})),s&&l.removeEventListener("resize",n.update,K)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=te({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,l=void 0===s||s,u={placement:Q(t.placement),variation:J(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,re(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,re(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];f(o)&&x(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});f(r)&&x(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]},oe,{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,l=n.fallbackPlacements,u=n.padding,c=n.boundary,f=n.rootBoundary,d=n.altBoundary,p=n.flipVariations,h=void 0===p||p,m=n.allowedAutoPlacements,g=t.options.placement,v=Q(g),y=l||(v===g||!h?[ae(g)]:function(e){if(Q(e)===D)return[];var t=ae(e);return[le(e),t,le(t)]}(g)),b=[g].concat(y).reduce((function(e,n){return e.concat(Q(n)===D?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,u=void 0===l?U:l,c=J(r),f=c?s?$:$.filter((function(e){return J(e)===c})):F,d=f.filter((function(e){return u.indexOf(e)>=0}));0===d.length&&(d=f);var p=d.reduce((function(t,n){return t[n]=me(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[Q(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}(t,{placement:n,boundary:c,rootBoundary:f,padding:u,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),x=t.rects.reference,w=t.rects.popper,_=new Map,k=!0,C=b[0],S=0;S<b.length;S++){var E=b[S],T=Q(E),O=J(E)===M,A=[N,R].indexOf(T)>=0,j=A?"width":"height",I=me(t,{placement:E,boundary:c,rootBoundary:f,altBoundary:d,padding:u}),P=A?O?Z:L:O?R:N;x[j]>w[j]&&(P=ae(P));var z=ae(P),B=[];if(i&&B.push(I[T]<=0),s&&B.push(I[P]<=0,I[z]<=0),B.every((function(e){return e}))){C=E,k=!1;break}_.set(E,B)}if(k)for(var H=function(e){var t=b.find((function(t){var n=_.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return C=t,"break"},V=h?3:1;V>0;V--){if("break"===H(V))break}t.placement!==C&&(t.modifiersData[r]._skip=!0,t.placement=C,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},ve,ye,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=me(t,{elementContext:"reference"}),s=me(t,{altBoundary:!0}),l=be(a,r),u=be(s,o,i),c=xe(l),f=xe(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":f})}}]}),_e=n(58510),ke=n(78385),Ce=n(8027);function Se(e){return(0,Ce.ZP)("MuiPopper",e)}(0,n(1977).Z)("MuiPopper",["root"]);var Ee=n(24349),Te=n(31873),Oe=n(85893);const Ae=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],je=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function Ie(e){return"function"===typeof e?e():e}function Pe(e){return void 0!==e.nodeType}const Ne={},Re=i.forwardRef((function(e,t){var n;const{anchorEl:l,children:u,direction:c,disablePortal:f,modifiers:d,open:p,placement:h,popperOptions:m,popperRef:g,slotProps:v={},slots:y={},TransitionProps:b}=e,x=(0,o.Z)(e,Ae),w=i.useRef(null),_=(0,a.Z)(w,t),k=i.useRef(null),C=(0,a.Z)(k,g),S=i.useRef(C);(0,s.Z)((()=>{S.current=C}),[C]),i.useImperativeHandle(g,(()=>k.current),[]);const E=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(h,c),[T,O]=i.useState(E),[A,j]=i.useState(Ie(l));i.useEffect((()=>{k.current&&k.current.forceUpdate()})),i.useEffect((()=>{l&&j(Ie(l))}),[l]),(0,s.Z)((()=>{if(!A||!p)return;let e=[{name:"preventOverflow",options:{altBoundary:f}},{name:"flip",options:{altBoundary:f}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:e})=>{O(e.placement)}}];null!=d&&(e=e.concat(d)),m&&null!=m.modifiers&&(e=e.concat(m.modifiers));const t=we(A,w.current,(0,r.Z)({placement:E},m,{modifiers:e}));return S.current(t),()=>{t.destroy(),S.current(null)}}),[A,f,d,p,m,E]);const I={placement:T};null!==b&&(I.TransitionProps=b);const P=(0,_e.Z)({root:["root"]},(0,Te.T)(Se)),N=null!=(n=y.root)?n:"div",R=(0,Ee.Z)({elementType:N,externalSlotProps:v.root,externalForwardedProps:x,additionalProps:{role:"tooltip",ref:_},ownerState:e,className:P.root});return(0,Oe.jsx)(N,(0,r.Z)({},R,{children:"function"===typeof u?u(I):u}))}));var Ze=i.forwardRef((function(e,t){const{anchorEl:n,children:a,container:s,direction:u="ltr",disablePortal:c=!1,keepMounted:f=!1,modifiers:d,open:p,placement:h="bottom",popperOptions:m=Ne,popperRef:g,style:v,transition:y=!1,slotProps:b={},slots:x={}}=e,w=(0,o.Z)(e,je),[_,k]=i.useState(!0);if(!f&&!p&&(!y||_))return null;let C;if(s)C=s;else if(n){const e=Ie(n);C=e&&Pe(e)?(0,l.Z)(e).body:(0,l.Z)(null).body}const S=p||!f||y&&!_?void 0:"none",E=y?{in:p,onEnter:()=>{k(!1)},onExited:()=>{k(!0)}}:void 0;return(0,Oe.jsx)(ke.Z,{disablePortal:c,container:C,children:(0,Oe.jsx)(Re,(0,r.Z)({anchorEl:n,direction:u,disablePortal:c,modifiers:d,ref:t,open:y?!_:p,placement:h,popperOptions:m,popperRef:g,slotProps:b,slots:x},w,{style:(0,r.Z)({position:"fixed",top:0,left:0,display:S},v),TransitionProps:E,children:a}))})}))},78385:function(e,t,n){"use strict";var r=n(67294),o=n(73935),i=n(22760),a=n(54895),s=n(25091),l=n(85893);const u=r.forwardRef((function(e,t){const{children:n,container:u,disablePortal:c=!1}=e,[f,d]=r.useState(null),p=(0,i.Z)(r.isValidElement(n)?n.ref:null,t);if((0,a.Z)((()=>{c||d(function(e){return"function"===typeof e?e():e}(u)||document.body)}),[u,c]),(0,a.Z)((()=>{if(f&&!c)return(0,s.Z)(t,f),()=>{(0,s.Z)(t,null)}}),[t,f,c]),c){if(r.isValidElement(n)){const e={ref:p};return r.cloneElement(n,e)}return(0,l.jsx)(r.Fragment,{children:n})}return(0,l.jsx)(r.Fragment,{children:f?o.createPortal(n,f):f})}));t.Z=u},31873:function(e,t,n){"use strict";n.d(t,{T:function(){return a}});var r=n(67294);n(85893);const o={disableDefaultClasses:!1},i=r.createContext(o);function a(e){const{disableDefaultClasses:t}=r.useContext(i);return n=>t?"":e(n)}},10238:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(87462),o=n(28442);function i(e,t,n){return void 0===e||(0,o.Z)(e)?t:(0,r.Z)({},t,{ownerState:(0,r.Z)({},t.ownerState,n)})}},30437:function(e,t,n){"use strict";function r(e,t=[]){if(void 0===e)return{};const n={};return Object.keys(e).filter((n=>n.match(/^on[A-Z]/)&&"function"===typeof e[n]&&!t.includes(n))).forEach((t=>{n[t]=e[t]})),n}n.d(t,{Z:function(){return r}})},28442:function(e,t,n){"use strict";function r(e){return"string"===typeof e}n.d(t,{Z:function(){return r}})},71276:function(e,t,n){"use strict";function r(e,t){return"function"===typeof e?e(t):e}n.d(t,{Z:function(){return r}})},24349:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(87462),o=n(63366),i=n(22760),a=n(10238),s=n(86010),l=n(30437);function u(e){if(void 0===e)return{};const t={};return Object.keys(e).filter((t=>!(t.match(/^on[A-Z]/)&&"function"===typeof e[t]))).forEach((n=>{t[n]=e[n]})),t}var c=n(71276);const f=["elementType","externalSlotProps","ownerState"];function d(e){var t;const{elementType:n,externalSlotProps:d,ownerState:p}=e,h=(0,o.Z)(e,f),m=(0,c.Z)(d,p),{props:g,internalRef:v}=function(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:o,externalForwardedProps:i,className:a}=e;if(!t){const e=(0,s.Z)(null==i?void 0:i.className,null==o?void 0:o.className,a,null==n?void 0:n.className),t=(0,r.Z)({},null==n?void 0:n.style,null==i?void 0:i.style,null==o?void 0:o.style),l=(0,r.Z)({},n,i,o);return e.length>0&&(l.className=e),Object.keys(t).length>0&&(l.style=t),{props:l,internalRef:void 0}}const c=(0,l.Z)((0,r.Z)({},i,o)),f=u(o),d=u(i),p=t(c),h=(0,s.Z)(null==p?void 0:p.className,null==n?void 0:n.className,a,null==i?void 0:i.className,null==o?void 0:o.className),m=(0,r.Z)({},null==p?void 0:p.style,null==n?void 0:n.style,null==i?void 0:i.style,null==o?void 0:o.style),g=(0,r.Z)({},p,n,d,f);return h.length>0&&(g.className=h),Object.keys(m).length>0&&(g.style=m),{props:g,internalRef:p.ref}}((0,r.Z)({},h,{externalSlotProps:m})),y=(0,i.Z)(v,null==m?void 0:m.ref,null==(t=e.additionalProps)?void 0:t.ref);return(0,a.Z)(n,(0,r.Z)({},g,{ref:y}),p)}},26821:function(e,t,n){"use strict";n.d(t,{d6:function(){return i},sI:function(){return a}});var r=n(8027),o=n(1977);const i=(e,t)=>(0,r.ZP)(e,t,"Mui"),a=(e,t)=>(0,o.Z)(e,t,"Mui")},98802:function(e,t,n){"use strict";function r(e,t=[]){if(void 0===e)return{};const n={};return Object.keys(e).filter((n=>n.match(/^on[A-Z]/)&&"function"===typeof e[n]&&!t.includes(n))).forEach((t=>{n[t]=e[t]})),n}n.d(t,{_:function(){return r}})},33243:function(e,t,n){"use strict";n.d(t,{Z:function(){return A}});var r=n(87462),o=n(63366),i=n(68027),a=n(50159),s=n(88111),l=n(41512),u=n(98373);function c(e){return c="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},c(e)}function f(e){var t=function(e,t){if("object"!=c(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=c(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==c(t)?t:t+""}const d=(e,t,n,r=[])=>{let o=e;t.forEach(((e,i)=>{i===t.length-1?Array.isArray(o)?o[Number(e)]=n:o&&"object"===typeof o&&(o[e]=n):o&&"object"===typeof o&&(o[e]||(o[e]=r.includes(e)?[]:{}),o=o[e])}))},p=(e,t)=>{if("number"===typeof t){if(["lineHeight","fontWeight","opacity","zIndex"].some((t=>e.includes(t))))return t;return e[e.length-1].toLowerCase().indexOf("opacity")>=0?t:`${t}px`}return t};function h(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},o={},i={},a={};var s,l;return s=(e,t,s)=>{if(("string"===typeof t||"number"===typeof t)&&(!r||!r(e,t))){const r=`--${n?`${n}-`:""}${e.join("-")}`;Object.assign(o,{[r]:p(e,t)}),d(i,e,`var(${r})`,s),d(a,e,`var(${r}, ${t})`,s)}},l=e=>"vars"===e[0],function e(t,n=[],r=[]){Object.entries(t).forEach((([t,o])=>{(!l||l&&!l([...n,t]))&&void 0!==o&&null!==o&&("object"===typeof o&&Object.keys(o).length>0?e(o,[...n,t],Array.isArray(o)?[...r,t]:r):s([...n,t],o,r))}))}(e),{css:o,vars:i,varsWithDefaults:a}}const m=["colorSchemes","components","defaultColorScheme"];var g=function(e,t){const{colorSchemes:n={},defaultColorScheme:a="light"}=e,s=(0,o.Z)(e,m),{vars:l,css:u,varsWithDefaults:c}=h(s,t);let d=c;const p={},{[a]:g}=n,v=(0,o.Z)(n,[a].map(f));if(Object.entries(v||{}).forEach((([e,n])=>{const{vars:r,css:o,varsWithDefaults:a}=h(n,t);d=(0,i.Z)(d,a),p[e]={css:o,vars:r}})),g){const{css:e,vars:n,varsWithDefaults:r}=h(g,t);d=(0,i.Z)(d,r),p[a]={css:e,vars:n}}return{vars:d,generateCssVars:e=>{var n;if(!e){var o;const n=(0,r.Z)({},u);return{css:n,vars:l,selector:(null==t||null==(o=t.getSelector)?void 0:o.call(t,e,n))||":root"}}const i=(0,r.Z)({},p[e].css);return{css:i,vars:p[e].vars,selector:(null==t||null==(n=t.getSelector)?void 0:n.call(t,e,i))||":root"}}}},v=n(86523),y=n(57064),b=n(44920);var x=(0,r.Z)({},b.Z,{borderRadius:{themeKey:"radius"},boxShadow:{themeKey:"shadow"},fontFamily:{themeKey:"fontFamily"},fontSize:{themeKey:"fontSize"},fontWeight:{themeKey:"fontWeight"},letterSpacing:{themeKey:"letterSpacing"},lineHeight:{themeKey:"lineHeight"}});var w={grey:{50:"#FBFCFE",100:"#F0F4F8",200:"#DDE7EE",300:"#CDD7E1",400:"#9FA6AD",500:"#636B74",600:"#555E68",700:"#32383E",800:"#171A1C",900:"#0B0D0E"},blue:{50:"#EDF5FD",100:"#E3EFFB",200:"#C7DFF7",300:"#97C3F0",400:"#4393E4",500:"#0B6BCB",600:"#185EA5",700:"#12467B",800:"#0A2744",900:"#051423"},yellow:{50:"#FEFAF6",100:"#FDF0E1",200:"#FCE1C2",300:"#F3C896",400:"#EA9A3E",500:"#9A5B13",600:"#72430D",700:"#492B08",800:"#2E1B05",900:"#1D1002"},red:{50:"#FEF6F6",100:"#FCE4E4",200:"#F7C5C5",300:"#F09898",400:"#E47474",500:"#C41C1C",600:"#A51818",700:"#7D1212",800:"#430A0A",900:"#240505"},green:{50:"#F6FEF6",100:"#E3FBE3",200:"#C7F7C7",300:"#A1E8A1",400:"#51BC51",500:"#1F7A1F",600:"#136C13",700:"#0A470A",800:"#042F04",900:"#021D02"}};function _(e){var t;return!!e[0].match(/^(typography|variants|breakpoints)$/)||!!e[0].match(/sxConfig$/)||"palette"===e[0]&&!(null==(t=e[1])||!t.match(/^(mode)$/))||"focus"===e[0]&&"thickness"!==e[1]}var k=n(26821);const C=(e,t,n)=>{t.includes("Color")&&(e.color=n),t.includes("Bg")&&(e.backgroundColor=n),t.includes("Border")&&(e.borderColor=n)},S=(e,t,n)=>{const r={};return Object.entries(t||{}).forEach((([t,o])=>{if(t.match(new RegExp(`${e}(color|bg|border)`,"i"))&&o){const e=n?n(t):o;t.includes("Disabled")&&(r.pointerEvents="none",r.cursor="default",r["--Icon-color"]="currentColor"),t.match(/(Hover|Active|Disabled)/)||(r["--variant-borderWidth"]||(r["--variant-borderWidth"]="0px"),t.includes("Border")&&(r["--variant-borderWidth"]="1px",r.border="var(--variant-borderWidth) solid")),C(r,t,e)}})),r},E=(e,t)=>{let n={};if(t){const{getCssVar:o,palette:i}=t;Object.entries(i).forEach((t=>{const[a,s]=t;(e=>e&&"object"===typeof e&&Object.keys(e).some((e=>{var t;return null==(t=e.match)?void 0:t.call(e,/^(plain(Hover|Active|Disabled)?(Color|Bg)|outlined(Hover|Active|Disabled)?(Color|Border|Bg)|soft(Hover|Active|Disabled)?(Color|Bg)|solid(Hover|Active|Disabled)?(Color|Bg))$/)})))(s)&&"object"===typeof s&&(n=(0,r.Z)({},n,{[a]:S(e,s,(e=>`var(--variant-${e}, ${o(`palette-${a}-${e}`,i[a][e])})`))}))}))}return n.context=S(e,{plainColor:"var(--variant-plainColor)",plainHoverColor:"var(--variant-plainHoverColor)",plainHoverBg:"var(--variant-plainHoverBg)",plainActiveBg:"var(--variant-plainActiveBg)",plainDisabledColor:"var(--variant-plainDisabledColor)",outlinedColor:"var(--variant-outlinedColor)",outlinedBorder:"var(--variant-outlinedBorder)",outlinedHoverColor:"var(--variant-outlinedHoverColor)",outlinedHoverBorder:"var(--variant-outlinedHoverBorder)",outlinedHoverBg:"var(--variant-outlinedHoverBg)",outlinedActiveBg:"var(--variant-outlinedActiveBg)",outlinedDisabledColor:"var(--variant-outlinedDisabledColor)",outlinedDisabledBorder:"var(--variant-outlinedDisabledBorder)",softColor:"var(--variant-softColor)",softBg:"var(--variant-softBg)",softHoverColor:"var(--variant-softHoverColor)",softHoverBg:"var(--variant-softHoverBg)",softActiveBg:"var(--variant-softActiveBg)",softDisabledColor:"var(--variant-softDisabledColor)",softDisabledBg:"var(--variant-softDisabledBg)",solidColor:"var(--variant-solidColor)",solidBg:"var(--variant-solidBg)",solidHoverBg:"var(--variant-solidHoverBg)",solidActiveBg:"var(--variant-solidActiveBg)",solidDisabledColor:"var(--variant-solidDisabledColor)",solidDisabledBg:"var(--variant-solidDisabledBg)"}),n},T=["cssVarPrefix","breakpoints","spacing","components","variants","shouldSkipGeneratingVar"],O=["colorSchemes"];var A=function(e){var t,n,c,f,d,p,h,m,b,C;const S=e||{},{cssVarPrefix:A="joy",breakpoints:j,spacing:I,components:P,variants:N,shouldSkipGeneratingVar:R=_}=S,Z=(0,o.Z)(S,T),L=((e="joy")=>(0,a.Z)(e))(A),D={primary:w.blue,neutral:w.grey,danger:w.red,success:w.green,warning:w.yellow,common:{white:"#FFF",black:"#000"}},F=e=>{var t;const n=e.split("-"),r=n[1],o=n[2];return L(e,null==(t=D[r])?void 0:t[o])},M=e=>({plainColor:F(`palette-${e}-500`),plainHoverBg:F(`palette-${e}-100`),plainActiveBg:F(`palette-${e}-200`),plainDisabledColor:F("palette-neutral-400"),outlinedColor:F(`palette-${e}-500`),outlinedBorder:F(`palette-${e}-300`),outlinedHoverBg:F(`palette-${e}-100`),outlinedActiveBg:F(`palette-${e}-200`),outlinedDisabledColor:F("palette-neutral-400"),outlinedDisabledBorder:F("palette-neutral-200"),softColor:F(`palette-${e}-700`),softBg:F(`palette-${e}-100`),softHoverBg:F(`palette-${e}-200`),softActiveColor:F(`palette-${e}-800`),softActiveBg:F(`palette-${e}-300`),softDisabledColor:F("palette-neutral-400"),softDisabledBg:F("palette-neutral-50"),solidColor:F("palette-common-white"),solidBg:F(`palette-${e}-500`),solidHoverBg:F(`palette-${e}-600`),solidActiveBg:F(`palette-${e}-700`),solidDisabledColor:F("palette-neutral-400"),solidDisabledBg:F("palette-neutral-100")}),z=e=>({plainColor:F(`palette-${e}-300`),plainHoverBg:F(`palette-${e}-800`),plainActiveBg:F(`palette-${e}-700`),plainDisabledColor:F("palette-neutral-500"),outlinedColor:F(`palette-${e}-200`),outlinedBorder:F(`palette-${e}-700`),outlinedHoverBg:F(`palette-${e}-800`),outlinedActiveBg:F(`palette-${e}-700`),outlinedDisabledColor:F("palette-neutral-500"),outlinedDisabledBorder:F("palette-neutral-800"),softColor:F(`palette-${e}-200`),softBg:F(`palette-${e}-800`),softHoverBg:F(`palette-${e}-700`),softActiveColor:F(`palette-${e}-100`),softActiveBg:F(`palette-${e}-600`),softDisabledColor:F("palette-neutral-500"),softDisabledBg:F("palette-neutral-800"),solidColor:F("palette-common-white"),solidBg:F(`palette-${e}-500`),solidHoverBg:F(`palette-${e}-600`),solidActiveBg:F(`palette-${e}-700`),solidDisabledColor:F("palette-neutral-500"),solidDisabledBg:F("palette-neutral-800")}),B={palette:{mode:"light",primary:(0,r.Z)({},D.primary,M("primary")),neutral:(0,r.Z)({},D.neutral,M("neutral"),{plainColor:F("palette-neutral-700"),plainHoverColor:F("palette-neutral-900"),outlinedColor:F("palette-neutral-700")}),danger:(0,r.Z)({},D.danger,M("danger")),success:(0,r.Z)({},D.success,M("success")),warning:(0,r.Z)({},D.warning,M("warning")),common:{white:"#FFF",black:"#000"},text:{primary:F("palette-neutral-800"),secondary:F("palette-neutral-700"),tertiary:F("palette-neutral-600"),icon:F("palette-neutral-500")},background:{body:F("palette-common-white"),surface:F("palette-neutral-50"),popup:F("palette-common-white"),level1:F("palette-neutral-100"),level2:F("palette-neutral-200"),level3:F("palette-neutral-300"),tooltip:F("palette-neutral-500"),backdrop:`rgba(${L("palette-neutral-darkChannel",(0,s.n8)(D.neutral[900]))} / 0.25)`},divider:`rgba(${L("palette-neutral-mainChannel",(0,s.n8)(D.neutral[500]))} / 0.2)`,focusVisible:F("palette-primary-500")},shadowRing:"0 0 #000",shadowChannel:"21 21 21",shadowOpacity:"0.08"},H={palette:{mode:"dark",primary:(0,r.Z)({},D.primary,z("primary")),neutral:(0,r.Z)({},D.neutral,z("neutral"),{plainColor:F("palette-neutral-300"),plainHoverColor:F("palette-neutral-300")}),danger:(0,r.Z)({},D.danger,z("danger")),success:(0,r.Z)({},D.success,z("success")),warning:(0,r.Z)({},D.warning,z("warning")),common:{white:"#FFF",black:"#000"},text:{primary:F("palette-neutral-100"),secondary:F("palette-neutral-300"),tertiary:F("palette-neutral-400"),icon:F("palette-neutral-400")},background:{body:F("palette-common-black"),surface:F("palette-neutral-900"),popup:F("palette-common-black"),level1:F("palette-neutral-800"),level2:F("palette-neutral-700"),level3:F("palette-neutral-600"),tooltip:F("palette-neutral-600"),backdrop:`rgba(${L("palette-neutral-darkChannel",(0,s.n8)(D.neutral[50]))} / 0.25)`},divider:`rgba(${L("palette-neutral-mainChannel",(0,s.n8)(D.neutral[500]))} / 0.16)`,focusVisible:F("palette-primary-500")},shadowRing:"0 0 #000",shadowChannel:"0 0 0",shadowOpacity:"0.6"},$='-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',U=(0,r.Z)({body:`"Inter", ${L(`fontFamily-fallback, ${$}`)}`,display:`"Inter", ${L(`fontFamily-fallback, ${$}`)}`,code:"Source Code Pro,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace",fallback:$},Z.fontFamily),V=(0,r.Z)({sm:300,md:500,lg:600,xl:700},Z.fontWeight),G=(0,r.Z)({xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem",xl2:"1.5rem",xl3:"1.875rem",xl4:"2.25rem"},Z.fontSize),W=(0,r.Z)({xs:"1.33334",sm:"1.42858",md:"1.5",lg:"1.55556",xl:"1.66667"},Z.lineHeight),q=null!=(t=null==(n=Z.colorSchemes)||null==(n=n.light)?void 0:n.shadowRing)?t:B.shadowRing,X=null!=(c=null==(f=Z.colorSchemes)||null==(f=f.light)?void 0:f.shadowChannel)?c:B.shadowChannel,Y=null!=(d=null==(p=Z.colorSchemes)||null==(p=p.light)?void 0:p.shadowOpacity)?d:B.shadowOpacity,K={colorSchemes:{light:B,dark:H},fontSize:G,fontFamily:U,fontWeight:V,focus:{thickness:"2px",selector:`&.${(0,k.d6)("","focusVisible")}, &:focus-visible`,default:{outlineOffset:`var(--focus-outline-offset, ${L("focus-thickness",null!=(h=null==(m=Z.focus)?void 0:m.thickness)?h:"2px")})`,outline:`${L("focus-thickness",null!=(b=null==(C=Z.focus)?void 0:C.thickness)?b:"2px")} solid ${L("palette-focusVisible",D.primary[500])}`}},lineHeight:W,radius:{xs:"2px",sm:"6px",md:"8px",lg:"12px",xl:"16px"},shadow:{xs:`${L("shadowRing",q)}, 0px 1px 2px 0px rgba(${L("shadowChannel",X)} / ${L("shadowOpacity",Y)})`,sm:`${L("shadowRing",q)}, 0px 1px 2px 0px rgba(${L("shadowChannel",X)} / ${L("shadowOpacity",Y)}), 0px 2px 4px 0px rgba(${L("shadowChannel",X)} / ${L("shadowOpacity",Y)})`,md:`${L("shadowRing",q)}, 0px 2px 8px -2px rgba(${L("shadowChannel",X)} / ${L("shadowOpacity",Y)}), 0px 6px 12px -2px rgba(${L("shadowChannel",X)} / ${L("shadowOpacity",Y)})`,lg:`${L("shadowRing",q)}, 0px 2px 8px -2px rgba(${L("shadowChannel",X)} / ${L("shadowOpacity",Y)}), 0px 12px 16px -4px rgba(${L("shadowChannel",X)} / ${L("shadowOpacity",Y)})`,xl:`${L("shadowRing",q)}, 0px 2px 8px -2px rgba(${L("shadowChannel",X)} / ${L("shadowOpacity",Y)}), 0px 20px 24px -4px rgba(${L("shadowChannel",X)} / ${L("shadowOpacity",Y)})`},zIndex:{badge:1,table:10,popup:1e3,modal:1300,snackbar:1400,tooltip:1500},typography:{h1:{fontFamily:L(`fontFamily-display, ${U.display}`),fontWeight:L(`fontWeight-xl, ${V.xl}`),fontSize:L(`fontSize-xl4, ${G.xl4}`),lineHeight:L(`lineHeight-xs, ${W.xs}`),letterSpacing:"-0.025em",color:L(`palette-text-primary, ${B.palette.text.primary}`)},h2:{fontFamily:L(`fontFamily-display, ${U.display}`),fontWeight:L(`fontWeight-xl, ${V.xl}`),fontSize:L(`fontSize-xl3, ${G.xl3}`),lineHeight:L(`lineHeight-xs, ${W.xs}`),letterSpacing:"-0.025em",color:L(`palette-text-primary, ${B.palette.text.primary}`)},h3:{fontFamily:L(`fontFamily-display, ${U.display}`),fontWeight:L(`fontWeight-lg, ${V.lg}`),fontSize:L(`fontSize-xl2, ${G.xl2}`),lineHeight:L(`lineHeight-xs, ${W.xs}`),letterSpacing:"-0.025em",color:L(`palette-text-primary, ${B.palette.text.primary}`)},h4:{fontFamily:L(`fontFamily-display, ${U.display}`),fontWeight:L(`fontWeight-lg, ${V.lg}`),fontSize:L(`fontSize-xl, ${G.xl}`),lineHeight:L(`lineHeight-md, ${W.md}`),letterSpacing:"-0.025em",color:L(`palette-text-primary, ${B.palette.text.primary}`)},"title-lg":{fontFamily:L(`fontFamily-body, ${U.body}`),fontWeight:L(`fontWeight-lg, ${V.lg}`),fontSize:L(`fontSize-lg, ${G.lg}`),lineHeight:L(`lineHeight-xs, ${W.xs}`),color:L(`palette-text-primary, ${B.palette.text.primary}`)},"title-md":{fontFamily:L(`fontFamily-body, ${U.body}`),fontWeight:L(`fontWeight-md, ${V.md}`),fontSize:L(`fontSize-md, ${G.md}`),lineHeight:L(`lineHeight-md, ${W.md}`),color:L(`palette-text-primary, ${B.palette.text.primary}`)},"title-sm":{fontFamily:L(`fontFamily-body, ${U.body}`),fontWeight:L(`fontWeight-md, ${V.md}`),fontSize:L(`fontSize-sm, ${G.sm}`),lineHeight:L(`lineHeight-sm, ${W.sm}`),color:L(`palette-text-primary, ${B.palette.text.primary}`)},"body-lg":{fontFamily:L(`fontFamily-body, ${U.body}`),fontSize:L(`fontSize-lg, ${G.lg}`),lineHeight:L(`lineHeight-md, ${W.md}`),color:L(`palette-text-secondary, ${B.palette.text.secondary}`)},"body-md":{fontFamily:L(`fontFamily-body, ${U.body}`),fontSize:L(`fontSize-md, ${G.md}`),lineHeight:L(`lineHeight-md, ${W.md}`),color:L(`palette-text-secondary, ${B.palette.text.secondary}`)},"body-sm":{fontFamily:L(`fontFamily-body, ${U.body}`),fontSize:L(`fontSize-sm, ${G.sm}`),lineHeight:L(`lineHeight-md, ${W.md}`),color:L(`palette-text-tertiary, ${B.palette.text.tertiary}`)},"body-xs":{fontFamily:L(`fontFamily-body, ${U.body}`),fontWeight:L(`fontWeight-md, ${V.md}`),fontSize:L(`fontSize-xs, ${G.xs}`),lineHeight:L(`lineHeight-md, ${W.md}`),color:L(`palette-text-tertiary, ${B.palette.text.tertiary}`)}}},Q=Z?(0,i.Z)(K,Z):K,{colorSchemes:J}=Q,ee=(0,o.Z)(Q,O),te=(0,r.Z)({colorSchemes:J},ee,{breakpoints:(0,l.Z)(null!=j?j:{}),components:(0,i.Z)({MuiSvgIcon:{defaultProps:{fontSize:"xl2"},styleOverrides:{root:({ownerState:e,theme:t})=>{var n;const o=e.instanceFontSize;return(0,r.Z)({margin:"var(--Icon-margin)"},e.fontSize&&"inherit"!==e.fontSize&&{fontSize:`var(--Icon-fontSize, ${t.vars.fontSize[e.fontSize]})`},!e.htmlColor&&(0,r.Z)({color:`var(--Icon-color, ${te.vars.palette.text.icon})`},e.color&&"inherit"!==e.color&&t.vars.palette[e.color]&&{color:`rgba(${null==(n=t.vars.palette[e.color])?void 0:n.mainChannel} / 1)`}),o&&"inherit"!==o&&{"--Icon-fontSize":t.vars.fontSize[o]})}}}},P),cssVarPrefix:A,getCssVar:L,spacing:(0,u.Z)(I)});Object.entries(te.colorSchemes).forEach((([e,t])=>{!function(e,t){Object.keys(t).forEach((n=>{const r={main:"500",light:"200",dark:"700"};"dark"===e&&(r.main=400),!t[n].mainChannel&&t[n][r.main]&&(t[n].mainChannel=(0,s.n8)(t[n][r.main])),!t[n].lightChannel&&t[n][r.light]&&(t[n].lightChannel=(0,s.n8)(t[n][r.light])),!t[n].darkChannel&&t[n][r.dark]&&(t[n].darkChannel=(0,s.n8)(t[n][r.dark]))}))}(e,t.palette)}));const ne={prefix:A,shouldSkipGeneratingVar:R},{vars:re,generateCssVars:oe}=g((0,r.Z)({colorSchemes:J},ee),ne);te.vars=re,te.generateCssVars=oe,te.unstable_sxConfig=(0,r.Z)({},x,null==e?void 0:e.unstable_sxConfig),te.unstable_sx=function(e){return(0,v.Z)({sx:e,theme:this})},te.getColorSchemeSelector=e=>"light"===e?"&":`&[data-joy-color-scheme="${e}"], [data-joy-color-scheme="${e}"] &`;const ie={getCssVar:L,palette:te.colorSchemes.light.palette};return te.variants=(0,i.Z)({plain:E("plain",ie),plainHover:E("plainHover",ie),plainActive:E("plainActive",ie),plainDisabled:E("plainDisabled",ie),outlined:E("outlined",ie),outlinedHover:E("outlinedHover",ie),outlinedActive:E("outlinedActive",ie),outlinedDisabled:E("outlinedDisabled",ie),soft:E("soft",ie),softHover:E("softHover",ie),softActive:E("softActive",ie),softDisabled:E("softDisabled",ie),solid:E("solid",ie),solidHover:E("solidHover",ie),solidActive:E("solidActive",ie),solidDisabled:E("solidDisabled",ie)},N),te.palette=(0,r.Z)({},te.colorSchemes.light.palette,{colorScheme:"light"}),te.shouldSkipGeneratingVar=R,te.applyStyles=y.Z,te}()},2548:function(e,t){"use strict";t.Z="$$joy"},74312:function(e,t,n){"use strict";var r=n(86154),o=n(33243),i=n(2548);const a=(0,r.ZP)({defaultTheme:o.Z,themeId:i.Z});t.Z=a},20407:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),o=n(44065),i=n(33243),a=n(2548);function s({props:e,name:t}){return(0,o.Z)({props:e,name:t,defaultTheme:(0,r.Z)({},i.Z,{components:{}}),themeId:a.Z})}},48732:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(87462),o=n(63366),i=n(22760);var a=n(75285),s=n(98802);function l(e){if(void 0===e)return{};const t={};return Object.keys(e).filter((t=>!(t.match(/^on[A-Z]/)&&"function"===typeof e[t]))).forEach((n=>{t[n]=e[n]})),t}const u=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],c=["component","slots","slotProps"],f=["component"];function d(e,t){const{className:n,elementType:d,ownerState:p,externalForwardedProps:h,getSlotOwnerState:m,internalForwardedProps:g}=t,v=(0,o.Z)(t,u),{component:y,slots:b={[e]:void 0},slotProps:x={[e]:void 0}}=h,w=(0,o.Z)(h,c),_=b[e]||d,k=function(e,t,n){return"function"===typeof e?e(t,n):e}(x[e],p),C=function(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:o,externalForwardedProps:i,className:u}=e;if(!t){const e=(0,a.Z)(null==n?void 0:n.className,u,null==i?void 0:i.className,null==o?void 0:o.className),t=(0,r.Z)({},null==n?void 0:n.style,null==i?void 0:i.style,null==o?void 0:o.style),s=(0,r.Z)({},n,i,o);return e.length>0&&(s.className=e),Object.keys(t).length>0&&(s.style=t),{props:s,internalRef:void 0}}const c=(0,s._)((0,r.Z)({},i,o)),f=l(o),d=l(i),p=t(c),h=(0,a.Z)(null==p?void 0:p.className,null==n?void 0:n.className,u,null==i?void 0:i.className,null==o?void 0:o.className),m=(0,r.Z)({},null==p?void 0:p.style,null==n?void 0:n.style,null==i?void 0:i.style,null==o?void 0:o.style),g=(0,r.Z)({},p,n,d,f);return h.length>0&&(g.className=h),Object.keys(m).length>0&&(g.style=m),{props:g,internalRef:p.ref}}((0,r.Z)({className:n},v,{externalForwardedProps:"root"===e?w:void 0,externalSlotProps:k})),{props:{component:S},internalRef:E}=C,T=(0,o.Z)(C.props,f),O=(0,i.Z)(E,null==k?void 0:k.ref,t.ref),A=m?m(T):{},j=(0,r.Z)({},p,A),I="root"===e?S||y:S,P=function(e,t,n){return void 0===e||"string"===typeof e?t:(0,r.Z)({},t,{ownerState:(0,r.Z)({},t.ownerState,n)})}(_,(0,r.Z)({},"root"===e&&!y&&!b[e]&&g,"root"!==e&&!b[e]&&g,T,I&&{as:I},{ref:O}),j);return Object.keys(A).forEach((e=>{delete P[e]})),[_,P]}},99226:function(e,t,n){"use strict";var r=n(43361),o=n(31983),i=n(21265),a=n(10606);const s=(0,i.Z)(),l=(0,r.Z)({themeId:a.Z,defaultTheme:s,defaultClassName:"MuiBox-root",generateClassName:o.Z.generate});t.Z=l},98456:function(e,t,n){"use strict";n.d(t,{Z:function(){return O}});var r=n(63366),o=n(87462),i=n(67294),a=n(86010),s=n(58510),l=n(70917),u=n(98216),c=n(71657),f=n(90948),d=n(1977),p=n(8027);function h(e){return(0,p.ZP)("MuiCircularProgress",e)}(0,d.Z)("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);var m=n(85893);const g=["className","color","disableShrink","size","style","thickness","value","variant"];let v,y,b,x,w=e=>e;const _=44,k=(0,l.F4)(v||(v=w`
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
`)),C=(0,l.F4)(y||(y=w`
  0% {
    stroke-dasharray: 1px, 200px;
    stroke-dashoffset: 0;
  }

  50% {
    stroke-dasharray: 100px, 200px;
    stroke-dashoffset: -15px;
  }

  100% {
    stroke-dasharray: 100px, 200px;
    stroke-dashoffset: -125px;
  }
`)),S=(0,f.ZP)("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${(0,u.Z)(n.color)}`]]}})((({ownerState:e,theme:t})=>(0,o.Z)({display:"inline-block"},"determinate"===e.variant&&{transition:t.transitions.create("transform")},"inherit"!==e.color&&{color:(t.vars||t).palette[e.color].main})),(({ownerState:e})=>"indeterminate"===e.variant&&(0,l.iv)(b||(b=w`
      animation: ${0} 1.4s linear infinite;
    `),k))),E=(0,f.ZP)("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),T=(0,f.ZP)("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${(0,u.Z)(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})((({ownerState:e,theme:t})=>(0,o.Z)({stroke:"currentColor"},"determinate"===e.variant&&{transition:t.transitions.create("stroke-dashoffset")},"indeterminate"===e.variant&&{strokeDasharray:"80px, 200px",strokeDashoffset:0})),(({ownerState:e})=>"indeterminate"===e.variant&&!e.disableShrink&&(0,l.iv)(x||(x=w`
      animation: ${0} 1.4s ease-in-out infinite;
    `),C)));var O=i.forwardRef((function(e,t){const n=(0,c.Z)({props:e,name:"MuiCircularProgress"}),{className:i,color:l="primary",disableShrink:f=!1,size:d=40,style:p,thickness:v=3.6,value:y=0,variant:b="indeterminate"}=n,x=(0,r.Z)(n,g),w=(0,o.Z)({},n,{color:l,disableShrink:f,size:d,thickness:v,value:y,variant:b}),k=(e=>{const{classes:t,variant:n,color:r,disableShrink:o}=e,i={root:["root",n,`color${(0,u.Z)(r)}`],svg:["svg"],circle:["circle",`circle${(0,u.Z)(n)}`,o&&"circleDisableShrink"]};return(0,s.Z)(i,h,t)})(w),C={},O={},A={};if("determinate"===b){const e=2*Math.PI*((_-v)/2);C.strokeDasharray=e.toFixed(3),A["aria-valuenow"]=Math.round(y),C.strokeDashoffset=`${((100-y)/100*e).toFixed(3)}px`,O.transform="rotate(-90deg)"}return(0,m.jsx)(S,(0,o.Z)({className:(0,a.Z)(k.root,i),style:(0,o.Z)({width:d,height:d},O,p),ownerState:w,ref:t,role:"progressbar"},A,x,{children:(0,m.jsx)(E,{className:k.svg,ownerState:w,viewBox:"22 22 44 44",children:(0,m.jsx)(T,{className:k.circle,style:C,ownerState:w,cx:_,cy:_,r:(_-v)/2,fill:"none",strokeWidth:v})})}))}))},16628:function(e,t,n){"use strict";var r=n(87462),o=n(63366),i=n(67294),a=n(8662),s=n(2734),l=n(30577),u=n(51705),c=n(85893);const f=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],d={entering:{opacity:1},entered:{opacity:1}},p=i.forwardRef((function(e,t){const n=(0,s.Z)(),p={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:h,appear:m=!0,children:g,easing:v,in:y,onEnter:b,onEntered:x,onEntering:w,onExit:_,onExited:k,onExiting:C,style:S,timeout:E=p,TransitionComponent:T=a.ZP}=e,O=(0,o.Z)(e,f),A=i.useRef(null),j=(0,u.Z)(A,g.ref,t),I=e=>t=>{if(e){const n=A.current;void 0===t?e(n):e(n,t)}},P=I(w),N=I(((e,t)=>{(0,l.n)(e);const r=(0,l.C)({style:S,timeout:E,easing:v},{mode:"enter"});e.style.webkitTransition=n.transitions.create("opacity",r),e.style.transition=n.transitions.create("opacity",r),b&&b(e,t)})),R=I(x),Z=I(C),L=I((e=>{const t=(0,l.C)({style:S,timeout:E,easing:v},{mode:"exit"});e.style.webkitTransition=n.transitions.create("opacity",t),e.style.transition=n.transitions.create("opacity",t),_&&_(e)})),D=I(k);return(0,c.jsx)(T,(0,r.Z)({appear:m,in:y,nodeRef:A,onEnter:N,onEntered:R,onEntering:P,onExit:L,onExited:D,onExiting:Z,addEndListener:e=>{h&&h(A.current,e)},timeout:E},O,{children:(e,t)=>i.cloneElement(g,(0,r.Z)({style:(0,r.Z)({opacity:0,visibility:"exited"!==e||y?void 0:"hidden"},d[e],S,g.props.style),ref:j},t))}))}));t.Z=p},75211:function(e,t,n){"use strict";n.d(t,{Z:function(){return V}});var r=n(63366),o=n(87462),i=n(67294),a=n(86010),s=n(22760),l=n(36425),u=n(22010),c=n(15725),f=n(58510),d=n(78385),p=n(96613),h=n(98902);function m(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function g(e){return parseInt((0,p.Z)(e).getComputedStyle(e).paddingRight,10)||0}function v(e,t,n,r,o){const i=[t,n,...r];[].forEach.call(e.children,(e=>{const t=-1===i.indexOf(e),n=!function(e){const t=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),n="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||n}(e);t&&n&&m(e,o)}))}function y(e,t){let n=-1;return e.some(((e,r)=>!!t(e)&&(n=r,!0))),n}function b(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(function(e){const t=(0,l.Z)(e);return t.body===e?(0,p.Z)(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){const e=(0,h.Z)((0,l.Z)(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${g(r)+e}px`;const t=(0,l.Z)(r).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{n.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${g(t)+e}px`}))}let e;if(r.parentNode instanceof DocumentFragment)e=(0,l.Z)(r).body;else{const t=r.parentElement,n=(0,p.Z)(r);e="HTML"===(null==t?void 0:t.nodeName)&&"scroll"===n.getComputedStyle(t).overflowY?t:r}n.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{n.forEach((({value:e,el:t,property:n})=>{e?t.style.setProperty(n,e):t.style.removeProperty(n)}))}}var x=n(85893);const w=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function _(e){const t=[],n=[];return Array.from(e.querySelectorAll(w)).forEach(((e,r)=>{const o=function(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==o&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}(e))}(e)&&(0===o?t.push(e):n.push({documentOrder:r,tabIndex:o,node:e}))})),n.sort(((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex)).map((e=>e.node)).concat(t)}function k(){return!0}var C=function(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:a=_,isEnabled:u=k,open:c}=e,f=i.useRef(!1),d=i.useRef(null),p=i.useRef(null),h=i.useRef(null),m=i.useRef(null),g=i.useRef(!1),v=i.useRef(null),y=(0,s.Z)(t.ref,v),b=i.useRef(null);i.useEffect((()=>{c&&v.current&&(g.current=!n)}),[n,c]),i.useEffect((()=>{if(!c||!v.current)return;const e=(0,l.Z)(v.current);return v.current.contains(e.activeElement)||(v.current.hasAttribute("tabIndex")||v.current.setAttribute("tabIndex","-1"),g.current&&v.current.focus()),()=>{o||(h.current&&h.current.focus&&(f.current=!0,h.current.focus()),h.current=null)}}),[c]),i.useEffect((()=>{if(!c||!v.current)return;const e=(0,l.Z)(v.current),t=t=>{const{current:n}=v;if(null!==n)if(e.hasFocus()&&!r&&u()&&!f.current){if(!n.contains(e.activeElement)){if(t&&m.current!==t.target||e.activeElement!==m.current)m.current=null;else if(null!==m.current)return;if(!g.current)return;let r=[];if(e.activeElement!==d.current&&e.activeElement!==p.current||(r=a(v.current)),r.length>0){var o,i;const e=Boolean((null==(o=b.current)?void 0:o.shiftKey)&&"Tab"===(null==(i=b.current)?void 0:i.key)),t=r[0],n=r[r.length-1];"string"!==typeof t&&"string"!==typeof n&&(e?n.focus():t.focus())}else n.focus()}}else f.current=!1},n=t=>{b.current=t,!r&&u()&&"Tab"===t.key&&e.activeElement===v.current&&t.shiftKey&&(f.current=!0,p.current&&p.current.focus())};e.addEventListener("focusin",t),e.addEventListener("keydown",n,!0);const o=setInterval((()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&t(null)}),50);return()=>{clearInterval(o),e.removeEventListener("focusin",t),e.removeEventListener("keydown",n,!0)}}),[n,r,o,u,c,a]);const w=e=>{null===h.current&&(h.current=e.relatedTarget),g.current=!0};return(0,x.jsxs)(i.Fragment,{children:[(0,x.jsx)("div",{tabIndex:c?0:-1,onFocus:w,ref:d,"data-testid":"sentinelStart"}),i.cloneElement(t,{ref:y,onFocus:e=>{null===h.current&&(h.current=e.relatedTarget),g.current=!0,m.current=e.target;const n=t.props.onFocus;n&&n(e)}}),(0,x.jsx)("div",{tabIndex:c?0:-1,onFocus:w,ref:p,"data-testid":"sentinelEnd"})]})},S=n(1977),E=n(8027);function T(e){return(0,E.ZP)("MuiModal",e)}(0,S.Z)("MuiModal",["root","hidden","backdrop"]);var O=n(24349),A=n(31873);const j=["children","closeAfterTransition","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onKeyDown","open","onTransitionEnter","onTransitionExited","slotProps","slots"];const I=new class{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,t){let n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&m(e.modalRef,!1);const r=function(e){const t=[];return[].forEach.call(e.children,(e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);v(t,e.mount,e.modalRef,r,!0);const o=y(this.containers,(e=>e.container===t));return-1!==o?(this.containers[o].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),n)}mount(e,t){const n=y(this.containers,(t=>-1!==t.modals.indexOf(e))),r=this.containers[n];r.restore||(r.restore=b(r,t))}remove(e,t=!0){const n=this.modals.indexOf(e);if(-1===n)return n;const r=y(this.containers,(t=>-1!==t.modals.indexOf(e))),o=this.containers[r];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(n,1),0===o.modals.length)o.restore&&o.restore(),e.modalRef&&m(e.modalRef,t),v(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(r,1);else{const e=o.modals[o.modals.length-1];e.modalRef&&m(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};var P=i.forwardRef((function(e,t){var n,a;const{children:p,closeAfterTransition:h=!1,container:g,disableAutoFocus:v=!1,disableEnforceFocus:y=!1,disableEscapeKeyDown:b=!1,disablePortal:w=!1,disableRestoreFocus:_=!1,disableScrollLock:k=!1,hideBackdrop:S=!1,keepMounted:E=!1,manager:P=I,onBackdropClick:N,onClose:R,onKeyDown:Z,open:L,onTransitionEnter:D,onTransitionExited:F,slotProps:M={},slots:z={}}=e,B=(0,r.Z)(e,j),H=P,[$,U]=i.useState(!L),V=i.useRef({}),G=i.useRef(null),W=i.useRef(null),q=(0,s.Z)(W,t),X=function(e){return!!e&&e.props.hasOwnProperty("in")}(p),Y=null==(n=e["aria-hidden"])||n,K=()=>(V.current.modalRef=W.current,V.current.mountNode=G.current,V.current),Q=()=>{H.mount(K(),{disableScrollLock:k}),W.current&&(W.current.scrollTop=0)},J=(0,u.Z)((()=>{const e=function(e){return"function"===typeof e?e():e}(g)||(0,l.Z)(G.current).body;H.add(K(),e),W.current&&Q()})),ee=i.useCallback((()=>H.isTopModal(K())),[H]),te=(0,u.Z)((e=>{G.current=e,e&&W.current&&(L&&ee()?Q():m(W.current,Y))})),ne=i.useCallback((()=>{H.remove(K(),Y)}),[H,Y]);i.useEffect((()=>()=>{ne()}),[ne]),i.useEffect((()=>{L?J():X&&h||ne()}),[L,ne,X,h,J]);const re=(0,o.Z)({},e,{closeAfterTransition:h,disableAutoFocus:v,disableEnforceFocus:y,disableEscapeKeyDown:b,disablePortal:w,disableRestoreFocus:_,disableScrollLock:k,exited:$,hideBackdrop:S,keepMounted:E}),oe=(e=>{const{open:t,exited:n}=e,r={root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]};return(0,f.Z)(r,(0,A.T)(T))})(re),ie=()=>{U(!1),D&&D()},ae=()=>{U(!0),F&&F(),h&&ne()},se={};void 0===p.props.tabIndex&&(se.tabIndex="-1"),X&&(se.onEnter=(0,c.Z)(ie,p.props.onEnter),se.onExited=(0,c.Z)(ae,p.props.onExited));const le=null!=(a=z.root)?a:"div",ue=(0,O.Z)({elementType:le,externalSlotProps:M.root,externalForwardedProps:B,additionalProps:{ref:q,role:"presentation",onKeyDown:e=>{Z&&Z(e),"Escape"===e.key&&ee()&&(b||(e.stopPropagation(),R&&R(e,"escapeKeyDown")))}},className:oe.root,ownerState:re}),ce=z.backdrop,fe=(0,O.Z)({elementType:ce,externalSlotProps:M.backdrop,additionalProps:{"aria-hidden":!0,onClick:e=>{e.target===e.currentTarget&&(N&&N(e),R&&R(e,"backdropClick"))},open:L},className:oe.backdrop,ownerState:re});return E||L||X&&!$?(0,x.jsx)(d.Z,{ref:te,container:g,disablePortal:w,children:(0,x.jsxs)(le,(0,o.Z)({},ue,{children:[!S&&ce?(0,x.jsx)(ce,(0,o.Z)({},fe)):null,(0,x.jsx)(C,{disableEnforceFocus:y,disableAutoFocus:v,disableRestoreFocus:_,isEnabled:ee,open:L,children:i.cloneElement(p,se)})]}))}):null})),N=n(71276),R=n(28442),Z=n(90948),L=n(71657),D=n(16628);function F(e){return(0,E.ZP)("MuiBackdrop",e)}(0,S.Z)("MuiBackdrop",["root","invisible"]);const M=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],z=(0,Z.ZP)("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})((({ownerState:e})=>(0,o.Z)({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"})));var B=i.forwardRef((function(e,t){var n,i,s;const l=(0,L.Z)({props:e,name:"MuiBackdrop"}),{children:u,className:c,component:d="div",components:p={},componentsProps:h={},invisible:m=!1,open:g,slotProps:v={},slots:y={},TransitionComponent:b=D.Z,transitionDuration:w}=l,_=(0,r.Z)(l,M),k=(0,o.Z)({},l,{component:d,invisible:m}),C=(e=>{const{classes:t,invisible:n}=e,r={root:["root",n&&"invisible"]};return(0,f.Z)(r,F,t)})(k),S=null!=(n=v.root)?n:h.root;return(0,x.jsx)(b,(0,o.Z)({in:g,timeout:w},_,{children:(0,x.jsx)(z,(0,o.Z)({"aria-hidden":!0},S,{as:null!=(i=null!=(s=y.root)?s:p.Root)?i:d,className:(0,a.Z)(C.root,c,null==S?void 0:S.className),ownerState:(0,o.Z)({},k,null==S?void 0:S.ownerState),classes:C,ref:t,children:u}))}))}));const H=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","open","slotProps","slots","theme"],$=(0,Z.ZP)("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})((({theme:e,ownerState:t})=>(0,o.Z)({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"}))),U=(0,Z.ZP)(B,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1});var V=i.forwardRef((function(e,t){var n,s,l,u,c,f;const d=(0,L.Z)({name:"MuiModal",props:e}),{BackdropComponent:p=U,BackdropProps:h,classes:m,className:g,closeAfterTransition:v=!1,children:y,container:b,component:w,components:_={},componentsProps:k={},disableAutoFocus:C=!1,disableEnforceFocus:S=!1,disableEscapeKeyDown:E=!1,disablePortal:T=!1,disableRestoreFocus:O=!1,disableScrollLock:A=!1,hideBackdrop:j=!1,keepMounted:I=!1,onBackdropClick:Z,onClose:D,open:F,slotProps:M,slots:z,theme:B}=d,V=(0,r.Z)(d,H),[G,W]=i.useState(!0),q={container:b,closeAfterTransition:v,disableAutoFocus:C,disableEnforceFocus:S,disableEscapeKeyDown:E,disablePortal:T,disableRestoreFocus:O,disableScrollLock:A,hideBackdrop:j,keepMounted:I,onBackdropClick:Z,onClose:D,open:F},X=(0,o.Z)({},d,q,{exited:G}),Y=null!=(n=null!=(s=null==z?void 0:z.root)?s:_.Root)?n:$,K=null!=(l=null!=(u=null==z?void 0:z.backdrop)?u:_.Backdrop)?l:p,Q=null!=(c=null==M?void 0:M.root)?c:k.root,J=null!=(f=null==M?void 0:M.backdrop)?f:k.backdrop;return(0,x.jsx)(P,(0,o.Z)({slots:{root:Y,backdrop:K},slotProps:{root:()=>(0,o.Z)({},(0,N.Z)(Q,X),!(0,R.Z)(Y)&&{as:w,theme:B},{className:(0,a.Z)(g,null==Q?void 0:Q.className,null==m?void 0:m.root,!X.open&&X.exited&&(null==m?void 0:m.hidden))}),backdrop:()=>(0,o.Z)({},h,(0,N.Z)(J,X),{className:(0,a.Z)(null==J?void 0:J.className,null==h?void 0:h.className,null==m?void 0:m.backdrop)})},onTransitionEnter:()=>W(!1),onTransitionExited:()=>W(!0),ref:t},V,q,{children:y}))}))},38584:function(e,t,n){"use strict";var r=n(87462),o=n(63366),i=n(9034),a=n(34168),s=n(67294),l=n(90948),u=n(71657),c=n(85893);const f=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],d=(0,l.ZP)(i.Z,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),p=s.forwardRef((function(e,t){var n;const i=(0,a.Z)(),s=(0,u.Z)({props:e,name:"MuiPopper"}),{anchorEl:l,component:p,components:h,componentsProps:m,container:g,disablePortal:v,keepMounted:y,modifiers:b,open:x,placement:w,popperOptions:_,popperRef:k,transition:C,slots:S,slotProps:E}=s,T=(0,o.Z)(s,f),O=null!=(n=null==S?void 0:S.root)?n:null==h?void 0:h.Root,A=(0,r.Z)({anchorEl:l,container:g,disablePortal:v,keepMounted:y,modifiers:b,open:x,placement:w,popperOptions:_,popperRef:k,transition:C},T);return(0,c.jsx)(d,(0,r.Z)({as:p,direction:null==i?void 0:i.direction,slots:{root:O},slotProps:null!=E?E:m},A,{ref:t}))}));t.Z=p},46137:function(e,t,n){"use strict";n.d(t,{Z:function(){return B}});var r=n(63366),o=n(87462),i=n(67294),a=n(86010),s=n(58510),l=n(10238),u=n(88111),c=n(90948),f=n(2734),d=n(71657),p=n(98216),h=n(8662),m=n(30577),g=n(51705),v=n(85893);const y=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function b(e){return`scale(${e}, ${e**2})`}const x={entering:{opacity:1,transform:b(1)},entered:{opacity:1,transform:"none"}},w="undefined"!==typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),_=i.forwardRef((function(e,t){const{addEndListener:n,appear:a=!0,children:s,easing:l,in:u,onEnter:c,onEntered:d,onEntering:p,onExit:_,onExited:k,onExiting:C,style:S,timeout:E="auto",TransitionComponent:T=h.ZP}=e,O=(0,r.Z)(e,y),A=i.useRef(),j=i.useRef(),I=(0,f.Z)(),P=i.useRef(null),N=(0,g.Z)(P,s.ref,t),R=e=>t=>{if(e){const n=P.current;void 0===t?e(n):e(n,t)}},Z=R(p),L=R(((e,t)=>{(0,m.n)(e);const{duration:n,delay:r,easing:o}=(0,m.C)({style:S,timeout:E,easing:l},{mode:"enter"});let i;"auto"===E?(i=I.transitions.getAutoHeightDuration(e.clientHeight),j.current=i):i=n,e.style.transition=[I.transitions.create("opacity",{duration:i,delay:r}),I.transitions.create("transform",{duration:w?i:.666*i,delay:r,easing:o})].join(","),c&&c(e,t)})),D=R(d),F=R(C),M=R((e=>{const{duration:t,delay:n,easing:r}=(0,m.C)({style:S,timeout:E,easing:l},{mode:"exit"});let o;"auto"===E?(o=I.transitions.getAutoHeightDuration(e.clientHeight),j.current=o):o=t,e.style.transition=[I.transitions.create("opacity",{duration:o,delay:n}),I.transitions.create("transform",{duration:w?o:.666*o,delay:w?n:n||.333*o,easing:r})].join(","),e.style.opacity=0,e.style.transform=b(.75),_&&_(e)})),z=R(k);return i.useEffect((()=>()=>{clearTimeout(A.current)}),[]),(0,v.jsx)(T,(0,o.Z)({appear:a,in:u,nodeRef:P,onEnter:L,onEntered:D,onEntering:Z,onExit:M,onExited:z,onExiting:F,addEndListener:e=>{"auto"===E&&(A.current=setTimeout(e,j.current||0)),n&&n(P.current,e)},timeout:"auto"===E?null:E},O,{children:(e,t)=>i.cloneElement(s,(0,o.Z)({style:(0,o.Z)({opacity:0,transform:b(.75),visibility:"exited"!==e||u?void 0:"hidden"},x[e],S,s.props.style),ref:N},t))}))}));_.muiSupportAuto=!0;var k=_,C=n(38584),S=n(2068),E=n(89326).Z,T=n(79674),O=n(49299),A=n(1977),j=n(8027);function I(e){return(0,j.ZP)("MuiTooltip",e)}var P=(0,A.Z)("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);const N=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","slotProps","slots","title","TransitionComponent","TransitionProps"];const R=(0,c.ZP)(C.Z,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})((({theme:e,ownerState:t,open:n})=>(0,o.Z)({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!n&&{pointerEvents:"none"},t.arrow&&{[`&[data-popper-placement*="bottom"] .${P.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${P.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${P.arrow}`]:(0,o.Z)({},t.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${P.arrow}`]:(0,o.Z)({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})}))),Z=(0,c.ZP)("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${(0,p.Z)(n.placement.split("-")[0])}`]]}})((({theme:e,ownerState:t})=>{return(0,o.Z)({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:(0,u.Fq)(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},t.arrow&&{position:"relative",margin:0},t.touch&&{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:(n=16/14,Math.round(1e5*n)/1e5)+"em",fontWeight:e.typography.fontWeightRegular},{[`.${P.popper}[data-popper-placement*="left"] &`]:(0,o.Z)({transformOrigin:"right center"},t.isRtl?(0,o.Z)({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):(0,o.Z)({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${P.popper}[data-popper-placement*="right"] &`]:(0,o.Z)({transformOrigin:"left center"},t.isRtl?(0,o.Z)({marginRight:"14px"},t.touch&&{marginRight:"24px"}):(0,o.Z)({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${P.popper}[data-popper-placement*="top"] &`]:(0,o.Z)({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${P.popper}[data-popper-placement*="bottom"] &`]:(0,o.Z)({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})});var n})),L=(0,c.ZP)("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})((({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:(0,u.Fq)(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let D=!1,F=null,M={x:0,y:0};function z(e,t){return n=>{t&&t(n),e(n)}}var B=i.forwardRef((function(e,t){var n,u,c,h,m,y,b,x,w,_,A,j,P,B,H,$,U,V,G;const W=(0,d.Z)({props:e,name:"MuiTooltip"}),{arrow:q=!1,children:X,components:Y={},componentsProps:K={},describeChild:Q=!1,disableFocusListener:J=!1,disableHoverListener:ee=!1,disableInteractive:te=!1,disableTouchListener:ne=!1,enterDelay:re=100,enterNextDelay:oe=0,enterTouchDelay:ie=700,followCursor:ae=!1,id:se,leaveDelay:le=0,leaveTouchDelay:ue=1500,onClose:ce,onOpen:fe,open:de,placement:pe="bottom",PopperComponent:he,PopperProps:me={},slotProps:ge={},slots:ve={},title:ye,TransitionComponent:be=k,TransitionProps:xe}=W,we=(0,r.Z)(W,N),_e=i.isValidElement(X)?X:(0,v.jsx)("span",{children:X}),ke=(0,f.Z)(),Ce="rtl"===ke.direction,[Se,Ee]=i.useState(),[Te,Oe]=i.useState(null),Ae=i.useRef(!1),je=te||ae,Ie=i.useRef(),Pe=i.useRef(),Ne=i.useRef(),Re=i.useRef(),[Ze,Le]=(0,O.Z)({controlled:de,default:!1,name:"Tooltip",state:"open"});let De=Ze;const Fe=E(se),Me=i.useRef(),ze=i.useCallback((()=>{void 0!==Me.current&&(document.body.style.WebkitUserSelect=Me.current,Me.current=void 0),clearTimeout(Re.current)}),[]);i.useEffect((()=>()=>{clearTimeout(Ie.current),clearTimeout(Pe.current),clearTimeout(Ne.current),ze()}),[ze]);const Be=e=>{clearTimeout(F),D=!0,Le(!0),fe&&!De&&fe(e)},He=(0,S.Z)((e=>{clearTimeout(F),F=setTimeout((()=>{D=!1}),800+le),Le(!1),ce&&De&&ce(e),clearTimeout(Ie.current),Ie.current=setTimeout((()=>{Ae.current=!1}),ke.transitions.duration.shortest)})),$e=e=>{Ae.current&&"touchstart"!==e.type||(Se&&Se.removeAttribute("title"),clearTimeout(Pe.current),clearTimeout(Ne.current),re||D&&oe?Pe.current=setTimeout((()=>{Be(e)}),D?oe:re):Be(e))},Ue=e=>{clearTimeout(Pe.current),clearTimeout(Ne.current),Ne.current=setTimeout((()=>{He(e)}),le)},{isFocusVisibleRef:Ve,onBlur:Ge,onFocus:We,ref:qe}=(0,T.Z)(),[,Xe]=i.useState(!1),Ye=e=>{Ge(e),!1===Ve.current&&(Xe(!1),Ue(e))},Ke=e=>{Se||Ee(e.currentTarget),We(e),!0===Ve.current&&(Xe(!0),$e(e))},Qe=e=>{Ae.current=!0;const t=_e.props;t.onTouchStart&&t.onTouchStart(e)},Je=$e,et=Ue,tt=e=>{Qe(e),clearTimeout(Ne.current),clearTimeout(Ie.current),ze(),Me.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",Re.current=setTimeout((()=>{document.body.style.WebkitUserSelect=Me.current,$e(e)}),ie)},nt=e=>{_e.props.onTouchEnd&&_e.props.onTouchEnd(e),ze(),clearTimeout(Ne.current),Ne.current=setTimeout((()=>{He(e)}),ue)};i.useEffect((()=>{if(De)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){"Escape"!==e.key&&"Esc"!==e.key||He(e)}}),[He,De]);const rt=(0,g.Z)(_e.ref,qe,Ee,t);ye||0===ye||(De=!1);const ot=i.useRef(),it={},at="string"===typeof ye;Q?(it.title=De||!at||ee?null:ye,it["aria-describedby"]=De?Fe:null):(it["aria-label"]=at?ye:null,it["aria-labelledby"]=De&&!at?Fe:null);const st=(0,o.Z)({},it,we,_e.props,{className:(0,a.Z)(we.className,_e.props.className),onTouchStart:Qe,ref:rt},ae?{onMouseMove:e=>{const t=_e.props;t.onMouseMove&&t.onMouseMove(e),M={x:e.clientX,y:e.clientY},ot.current&&ot.current.update()}}:{});const lt={};ne||(st.onTouchStart=tt,st.onTouchEnd=nt),ee||(st.onMouseOver=z(Je,st.onMouseOver),st.onMouseLeave=z(et,st.onMouseLeave),je||(lt.onMouseOver=Je,lt.onMouseLeave=et)),J||(st.onFocus=z(Ke,st.onFocus),st.onBlur=z(Ye,st.onBlur),je||(lt.onFocus=Ke,lt.onBlur=Ye));const ut=i.useMemo((()=>{var e;let t=[{name:"arrow",enabled:Boolean(Te),options:{element:Te,padding:4}}];return null!=(e=me.popperOptions)&&e.modifiers&&(t=t.concat(me.popperOptions.modifiers)),(0,o.Z)({},me.popperOptions,{modifiers:t})}),[Te,me]),ct=(0,o.Z)({},W,{isRtl:Ce,arrow:q,disableInteractive:je,placement:pe,PopperComponentProp:he,touch:Ae.current}),ft=(e=>{const{classes:t,disableInteractive:n,arrow:r,touch:o,placement:i}=e,a={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",o&&"touch",`tooltipPlacement${(0,p.Z)(i.split("-")[0])}`],arrow:["arrow"]};return(0,s.Z)(a,I,t)})(ct),dt=null!=(n=null!=(u=ve.popper)?u:Y.Popper)?n:R,pt=null!=(c=null!=(h=null!=(m=ve.transition)?m:Y.Transition)?h:be)?c:k,ht=null!=(y=null!=(b=ve.tooltip)?b:Y.Tooltip)?y:Z,mt=null!=(x=null!=(w=ve.arrow)?w:Y.Arrow)?x:L,gt=(0,l.Z)(dt,(0,o.Z)({},me,null!=(_=ge.popper)?_:K.popper,{className:(0,a.Z)(ft.popper,null==me?void 0:me.className,null==(A=null!=(j=ge.popper)?j:K.popper)?void 0:A.className)}),ct),vt=(0,l.Z)(pt,(0,o.Z)({},xe,null!=(P=ge.transition)?P:K.transition),ct),yt=(0,l.Z)(ht,(0,o.Z)({},null!=(B=ge.tooltip)?B:K.tooltip,{className:(0,a.Z)(ft.tooltip,null==(H=null!=($=ge.tooltip)?$:K.tooltip)?void 0:H.className)}),ct),bt=(0,l.Z)(mt,(0,o.Z)({},null!=(U=ge.arrow)?U:K.arrow,{className:(0,a.Z)(ft.arrow,null==(V=null!=(G=ge.arrow)?G:K.arrow)?void 0:V.className)}),ct);return(0,v.jsxs)(i.Fragment,{children:[i.cloneElement(_e,st),(0,v.jsx)(dt,(0,o.Z)({as:null!=he?he:C.Z,placement:pe,anchorEl:ae?{getBoundingClientRect:()=>({top:M.y,left:M.x,right:M.x,bottom:M.y,width:0,height:0})}:Se,popperRef:ot,open:!!Se&&De,id:Fe,transition:!0},lt,gt,{popperOptions:ut,children:({TransitionProps:e})=>(0,v.jsx)(pt,(0,o.Z)({timeout:ke.transitions.duration.shorter},e,vt,{children:(0,v.jsxs)(ht,(0,o.Z)({},yt,{children:[ye,q?(0,v.jsx)(mt,(0,o.Z)({},bt,{ref:Oe})):null]}))}))}))]})}))},15861:function(e,t,n){"use strict";n.d(t,{Z:function(){return x}});var r=n(63366),o=n(87462),i=n(67294),a=n(86010),s=n(39707),l=n(58510),u=n(90948),c=n(71657),f=n(98216),d=n(1977),p=n(8027);function h(e){return(0,p.ZP)("MuiTypography",e)}(0,d.Z)("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);var m=n(85893);const g=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],v=(0,u.ZP)("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],"inherit"!==n.align&&t[`align${(0,f.Z)(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})((({theme:e,ownerState:t})=>(0,o.Z)({margin:0},t.variant&&e.typography[t.variant],"inherit"!==t.align&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16}))),y={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},b={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"};var x=i.forwardRef((function(e,t){const n=(0,c.Z)({props:e,name:"MuiTypography"}),i=(e=>b[e]||e)(n.color),u=(0,s.Z)((0,o.Z)({},n,{color:i})),{align:d="inherit",className:p,component:x,gutterBottom:w=!1,noWrap:_=!1,paragraph:k=!1,variant:C="body1",variantMapping:S=y}=u,E=(0,r.Z)(u,g),T=(0,o.Z)({},u,{align:d,color:i,className:p,component:x,gutterBottom:w,noWrap:_,paragraph:k,variant:C,variantMapping:S}),O=x||(k?"p":S[C]||y[C])||"span",A=(e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:i,classes:a}=e,s={root:["root",i,"inherit"!==e.align&&`align${(0,f.Z)(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]};return(0,l.Z)(s,h,a)})(T);return(0,m.jsx)(v,(0,o.Z)({as:O,ref:t,ownerState:T,className:(0,a.Z)(A.root,p)},E))}))},21265:function(e,t,n){"use strict";n.d(t,{Z:function(){return M}});var r=n(87462),o=n(63366),i=n(78758),a=n(68027),s=n(88647),l=n(44920),u=n(86523);var c=n(88111);var f={black:"#000",white:"#fff"};var d={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"};var p={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"};var h={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"};var m={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"};var g={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"};var v={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"};var y={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"};const b=["mode","contrastThreshold","tonalOffset"],x={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:f.white,default:f.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},w={text:{primary:f.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:f.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function _(e,t,n,r){const o=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=(0,c.$n)(e.main,o):"dark"===t&&(e.dark=(0,c._j)(e.main,i)))}function k(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:s=.2}=e,l=(0,o.Z)(e,b),u=e.primary||function(e="light"){return"dark"===e?{main:g[200],light:g[50],dark:g[400]}:{main:g[700],light:g[400],dark:g[800]}}(t),k=e.secondary||function(e="light"){return"dark"===e?{main:p[200],light:p[50],dark:p[400]}:{main:p[500],light:p[300],dark:p[700]}}(t),C=e.error||function(e="light"){return"dark"===e?{main:h[500],light:h[300],dark:h[700]}:{main:h[700],light:h[400],dark:h[800]}}(t),S=e.info||function(e="light"){return"dark"===e?{main:v[400],light:v[300],dark:v[700]}:{main:v[700],light:v[500],dark:v[900]}}(t),E=e.success||function(e="light"){return"dark"===e?{main:y[400],light:y[300],dark:y[700]}:{main:y[800],light:y[500],dark:y[900]}}(t),T=e.warning||function(e="light"){return"dark"===e?{main:m[400],light:m[300],dark:m[700]}:{main:"#ed6c02",light:m[500],dark:m[900]}}(t);function O(e){return(0,c.mi)(e,w.text.primary)>=n?w.text.primary:x.text.primary}const A=({color:e,name:t,mainShade:n=500,lightShade:o=300,darkShade:a=700})=>{if(!(e=(0,r.Z)({},e)).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw new Error((0,i.Z)(11,t?` (${t})`:"",n));if("string"!==typeof e.main)throw new Error((0,i.Z)(12,t?` (${t})`:"",JSON.stringify(e.main)));return _(e,"light",o,s),_(e,"dark",a,s),e.contrastText||(e.contrastText=O(e.main)),e},j={dark:w,light:x};return(0,a.Z)((0,r.Z)({common:(0,r.Z)({},f),mode:t,primary:A({color:u,name:"primary"}),secondary:A({color:k,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:A({color:C,name:"error"}),warning:A({color:T,name:"warning"}),info:A({color:S,name:"info"}),success:A({color:E,name:"success"}),grey:d,contrastThreshold:n,getContrastText:O,augmentColor:A,tonalOffset:s},j[t]),l)}const C=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const S={textTransform:"uppercase"},E='"Roboto", "Helvetica", "Arial", sans-serif';function T(e,t){const n="function"===typeof t?t(e):t,{fontFamily:i=E,fontSize:s=14,fontWeightLight:l=300,fontWeightRegular:u=400,fontWeightMedium:c=500,fontWeightBold:f=700,htmlFontSize:d=16,allVariants:p,pxToRem:h}=n,m=(0,o.Z)(n,C);const g=s/14,v=h||(e=>e/d*g+"rem"),y=(e,t,n,o,a)=>{return(0,r.Z)({fontFamily:i,fontWeight:e,fontSize:v(t),lineHeight:n},i===E?{letterSpacing:(s=o/t,Math.round(1e5*s)/1e5)+"em"}:{},a,p);var s},b={h1:y(l,96,1.167,-1.5),h2:y(l,60,1.2,-.5),h3:y(u,48,1.167,0),h4:y(u,34,1.235,.25),h5:y(u,24,1.334,0),h6:y(c,20,1.6,.15),subtitle1:y(u,16,1.75,.15),subtitle2:y(c,14,1.57,.1),body1:y(u,16,1.5,.15),body2:y(u,14,1.43,.15),button:y(c,14,1.75,.4,S),caption:y(u,12,1.66,.4),overline:y(u,12,2.66,1,S),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,a.Z)((0,r.Z)({htmlFontSize:d,pxToRem:v,fontFamily:i,fontSize:s,fontWeightLight:l,fontWeightRegular:u,fontWeightMedium:c,fontWeightBold:f},b),m,{clone:!1})}function O(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}var A=["none",O(0,2,1,-1,0,1,1,0,0,1,3,0),O(0,3,1,-2,0,2,2,0,0,1,5,0),O(0,3,3,-2,0,3,4,0,0,1,8,0),O(0,2,4,-1,0,4,5,0,0,1,10,0),O(0,3,5,-1,0,5,8,0,0,1,14,0),O(0,3,5,-1,0,6,10,0,0,1,18,0),O(0,4,5,-2,0,7,10,1,0,2,16,1),O(0,5,5,-3,0,8,10,1,0,3,14,2),O(0,5,6,-3,0,9,12,1,0,3,16,2),O(0,6,6,-3,0,10,14,1,0,4,18,3),O(0,6,7,-4,0,11,15,1,0,4,20,3),O(0,7,8,-4,0,12,17,2,0,5,22,4),O(0,7,8,-4,0,13,19,2,0,5,24,4),O(0,7,9,-4,0,14,21,2,0,5,26,4),O(0,8,9,-5,0,15,22,2,0,6,28,5),O(0,8,10,-5,0,16,24,2,0,6,30,5),O(0,8,11,-5,0,17,26,2,0,6,32,5),O(0,9,11,-5,0,18,28,2,0,7,34,6),O(0,9,12,-6,0,19,29,2,0,7,36,6),O(0,10,13,-6,0,20,31,3,0,8,38,7),O(0,10,13,-6,0,21,33,3,0,8,40,7),O(0,10,14,-6,0,22,35,3,0,8,42,7),O(0,11,14,-7,0,23,36,3,0,9,44,8),O(0,11,15,-7,0,24,38,3,0,9,46,8)];const j=["duration","easing","delay"],I={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},P={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function N(e){return`${Math.round(e)}ms`}function R(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function Z(e){const t=(0,r.Z)({},I,e.easing),n=(0,r.Z)({},P,e.duration);return(0,r.Z)({getAutoHeightDuration:R,create:(e=["all"],r={})=>{const{duration:i=n.standard,easing:a=t.easeInOut,delay:s=0}=r;(0,o.Z)(r,j);return(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"===typeof i?i:N(i)} ${a} ${"string"===typeof s?s:N(s)}`)).join(",")}},e,{easing:t,duration:n})}var L={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};const D=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function F(e={},...t){const{mixins:n={},palette:c={},transitions:f={},typography:d={}}=e,p=(0,o.Z)(e,D);if(e.vars)throw new Error((0,i.Z)(18));const h=k(c),m=(0,s.Z)(e);let g=(0,a.Z)(m,{mixins:(v=m.breakpoints,y=n,(0,r.Z)({toolbar:{minHeight:56,[v.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[v.up("sm")]:{minHeight:64}}},y)),palette:h,shadows:A.slice(),typography:T(h,d),transitions:Z(f),zIndex:(0,r.Z)({},L)});var v,y;return g=(0,a.Z)(g,p),g=t.reduce(((e,t)=>(0,a.Z)(e,t)),g),g.unstable_sxConfig=(0,r.Z)({},l.Z,null==p?void 0:p.unstable_sxConfig),g.unstable_sx=function(e){return(0,u.Z)({sx:e,theme:this})},g}var M=F},90247:function(e,t,n){"use strict";const r=(0,n(21265).Z)();t.Z=r},10606:function(e,t){"use strict";t.Z="$$material"},90948:function(e,t,n){"use strict";n.d(t,{FO:function(){return a}});var r=n(86154),o=n(90247),i=n(10606);const a=e=>(0,r.x9)(e)&&"classes"!==e,s=(0,r.ZP)({themeId:i.Z,defaultTheme:o.Z,rootShouldForwardProp:a});t.ZP=s},2734:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});n(67294);var r=n(96682),o=n(90247),i=n(10606);function a(){const e=(0,r.Z)(o.Z);return e[i.Z]||e}},71657:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(44065),o=n(90247),i=n(10606);function a({props:e,name:t}){return(0,r.Z)({props:e,name:t,defaultTheme:o.Z,themeId:i.Z})}},30577:function(e,t,n){"use strict";n.d(t,{C:function(){return o},n:function(){return r}});const r=e=>e.scrollTop;function o(e,t){var n,r;const{timeout:o,easing:i,style:a={}}=e;return{duration:null!=(n=a.transitionDuration)?n:"number"===typeof o?o:o[t.mode]||0,easing:null!=(r=a.transitionTimingFunction)?r:"object"===typeof i?i[t.mode]:i,delay:a.transitionDelay}}},98216:function(e,t,n){"use strict";var r=n(62908);t.Z=r.Z},49299:function(e,t,n){"use strict";var r=n(81222);t.Z=r.Z},2068:function(e,t,n){"use strict";var r=n(22010);t.Z=r.Z},51705:function(e,t,n){"use strict";var r=n(22760);t.Z=r.Z},79674:function(e,t,n){"use strict";var r=n(11136);t.Z=r.Z},22057:function(e,t,n){"use strict";n.d(t,{ZP:function(){return y},Co:function(){return b}});var r=n(67294),o=n(87462),i=n(40784),a=n(5638);function s(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var l=function(e,t,n){!function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)}(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+r:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}},u=n(41123),c=i.Z,f=function(e){return"theme"!==e},d=function(e){return"string"===typeof e&&e.charCodeAt(0)>96?c:f},p=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!==typeof r&&n&&(r=e.__emotion_forwardProp),r},h=function(){return null},m=function e(t,n){var i,c,f=t.__emotion_real===t,m=f&&t.__emotion_base||t;void 0!==n&&(i=n.label,c=n.target);var g=p(t,n,f),v=g||d(m),y=!v("as");return function(){var b=arguments,x=f&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==i&&x.push("label:"+i+";"),null==b[0]||void 0===b[0].raw)x.push.apply(x,b);else{0,x.push(b[0][0]);for(var w=b.length,_=1;_<w;_++)x.push(b[_],b[0][_])}var k=(0,a.w)((function(e,t,n){var o=y&&e.as||m,i="",f=[],p=e;if(null==e.theme){for(var b in p={},e)p[b]=e[b];p.theme=(0,r.useContext)(a.T)}"string"===typeof e.className?i=s(t.registered,f,e.className):null!=e.className&&(i=e.className+" ");var w=(0,u.O)(x.concat(f),t.registered,p);l(t,w,"string"===typeof o);i+=t.key+"-"+w.name,void 0!==c&&(i+=" "+c);var _=y&&void 0===g?d(o):v,k={};for(var C in e)y&&"as"===C||_(C)&&(k[C]=e[C]);k.className=i,k.ref=n;var S=(0,r.createElement)(o,k),E=(0,r.createElement)(h,null);return(0,r.createElement)(r.Fragment,null,E,S)}));return k.displayName=void 0!==i?i:"Styled("+("string"===typeof m?m:m.displayName||m.name||"Component")+")",k.defaultProps=t.defaultProps,k.__emotion_real=k,k.__emotion_base=m,k.__emotion_styles=x,k.__emotion_forwardProp=g,Object.defineProperty(k,"toString",{value:function(){return"."+c}}),k.withComponent=function(t,r){return e(t,(0,o.Z)({},n,r,{shouldForwardProp:p(k,r,!0)})).apply(void 0,x)},k}},g=m.bind();["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){g[e]=g(e)}));var v=g;function y(e,t){return v(e,t)}const b=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}},89609:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(31983),o=n(43361);var i=(0,n(1977).Z)("MuiBox",["root"]);var a=(0,o.Z)({defaultClassName:i.root,generateClassName:r.Z.generate})},95408:function(e,t,n){"use strict";n.d(t,{L7:function(){return s},P$:function(){return l},VO:function(){return r},W8:function(){return a},k9:function(){return i}});const r={xs:0,sm:600,md:900,lg:1200,xl:1536},o={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${r[e]}px)`};function i(e,t,n){const i=e.theme||{};if(Array.isArray(t)){const e=i.breakpoints||o;return t.reduce(((r,o,i)=>(r[e.up(e.keys[i])]=n(t[i]),r)),{})}if("object"===typeof t){const e=i.breakpoints||o;return Object.keys(t).reduce(((o,i)=>{if(-1!==Object.keys(e.values||r).indexOf(i)){o[e.up(i)]=n(t[i],i)}else{const e=i;o[e]=t[e]}return o}),{})}return n(t)}function a(e={}){var t;return(null==(t=e.keys)?void 0:t.reduce(((t,n)=>(t[e.up(n)]={},t)),{}))||{}}function s(e,t){return e.reduce(((e,t)=>{const n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e}),t)}function l({values:e,breakpoints:t,base:n}){const r=n||function(e,t){if("object"!==typeof e)return{};const n={},r=Object.keys(t);return Array.isArray(e)?r.forEach(((t,r)=>{r<e.length&&(n[t]=!0)})):r.forEach((t=>{null!=e[t]&&(n[t]=!0)})),n}(e,t),o=Object.keys(r);if(0===o.length)return e;let i;return o.reduce(((t,n,r)=>(Array.isArray(e)?(t[n]=null!=e[r]?e[r]:e[i],i=r):"object"===typeof e?(t[n]=null!=e[n]?e[n]:e[i],i=n):t[n]=e,t)),{})}},88111:function(e,t,n){"use strict";n.d(t,{Fq:function(){return f},n8:function(){return s},_j:function(){return d},mi:function(){return c},$n:function(){return p}});var r=n(78758);var o=function(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))};function i(e,t=0,n=1){return o(e,t,n)}function a(e){if(e.type)return e;if("#"===e.charAt(0))return a(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map((e=>e+e))),n?`rgb${4===n.length?"a":""}(${n.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}(e));const t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error((0,r.Z)(9,e));let o,i=e.substring(t+1,e.length-1);if("color"===n){if(i=i.split(" "),o=i.shift(),4===i.length&&"/"===i[3].charAt(0)&&(i[3]=i[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o))throw new Error((0,r.Z)(10,o))}else i=i.split(",");return i=i.map((e=>parseFloat(e))),{type:n,values:i,colorSpace:o}}const s=e=>{const t=a(e);return t.values.slice(0,3).map(((e,n)=>-1!==t.type.indexOf("hsl")&&0!==n?`${e}%`:e)).join(" ")};function l(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return-1!==t.indexOf("rgb")?r=r.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`,`${t}(${r})`}function u(e){let t="hsl"===(e=a(e)).type||"hsla"===e.type?a(function(e){e=a(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),s=(e,t=(e+n/30)%12)=>o-i*Math.max(Math.min(t-3,9-t,1),-1);let u="rgb";const c=[Math.round(255*s(0)),Math.round(255*s(8)),Math.round(255*s(4))];return"hsla"===e.type&&(u+="a",c.push(t[3])),l({type:u,values:c})}(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function c(e,t){const n=u(e),r=u(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function f(e,t){return e=a(e),t=i(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,l(e)}function d(e,t){if(e=a(e),t=i(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return l(e)}function p(e,t){if(e=a(e),t=i(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return l(e)}},43361:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(87462),o=n(63366),i=n(67294);function a(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=a(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}var s=function(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=a(e))&&(r&&(r+=" "),r+=t);return r},l=n(22057),u=n(86523),c=n(39707),f=n(96682),d=n(85893);const p=["className","component"];function h(e={}){const{themeId:t,defaultTheme:n,defaultClassName:a="MuiBox-root",generateClassName:h}=e,m=(0,l.ZP)("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(u.Z);return i.forwardRef((function(e,i){const l=(0,f.Z)(n),u=(0,c.Z)(e),{className:g,component:v="div"}=u,y=(0,o.Z)(u,p);return(0,d.jsx)(m,(0,r.Z)({as:v,ref:i,className:s(g,h?h(a):a),theme:t&&l[t]||l},y))}))}},86154:function(e,t,n){"use strict";n.d(t,{ZP:function(){return y},x9:function(){return d}});var r=n(87462),o=n(63366),i=n(22057),a=n(68027),s=n(88647),l=n(86523);const u=["ownerState"],c=["variants"],f=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function d(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const p=(0,s.Z)(),h=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function m({defaultTheme:e,theme:t,themeId:n}){return r=t,0===Object.keys(r).length?e:t[n]||t;var r}function g(e){return e?(t,n)=>n[e]:null}function v(e,t){let{ownerState:n}=t,i=(0,o.Z)(t,u);const a="function"===typeof e?e((0,r.Z)({ownerState:n},i)):e;if(Array.isArray(a))return a.flatMap((e=>v(e,(0,r.Z)({ownerState:n},i))));if(a&&"object"===typeof a&&Array.isArray(a.variants)){const{variants:e=[]}=a;let t=(0,o.Z)(a,c);return e.forEach((e=>{let o=!0;"function"===typeof e.props?o=e.props((0,r.Z)({ownerState:n},i,n)):Object.keys(e.props).forEach((t=>{(null==n?void 0:n[t])!==e.props[t]&&i[t]!==e.props[t]&&(o=!1)})),o&&(Array.isArray(t)||(t=[t]),t.push("function"===typeof e.style?e.style((0,r.Z)({ownerState:n},i,n)):e.style))})),t}return a}function y(e={}){const{themeId:t,defaultTheme:n=p,rootShouldForwardProp:s=d,slotShouldForwardProp:u=d}=e,c=e=>(0,l.Z)((0,r.Z)({},e,{theme:m((0,r.Z)({},e,{defaultTheme:n,themeId:t}))}));return c.__mui_systemSx=!0,(e,l={})=>{(0,i.Co)(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:p,slot:y,skipVariantsResolver:b,skipSx:x,overridesResolver:w=g(h(y))}=l,_=(0,o.Z)(l,f),k=void 0!==b?b:y&&"Root"!==y&&"root"!==y||!1,C=x||!1;let S=d;"Root"===y||"root"===y?S=s:y?S=u:function(e){return"string"===typeof e&&e.charCodeAt(0)>96}(e)&&(S=void 0);const E=(0,i.ZP)(e,(0,r.Z)({shouldForwardProp:S,label:undefined},_)),T=e=>"function"===typeof e&&e.__emotion_real!==e||(0,a.P)(e)?o=>v(e,(0,r.Z)({},o,{theme:m({theme:o.theme,defaultTheme:n,themeId:t})})):e,O=(o,...i)=>{let a=T(o);const s=i?i.map(T):[];p&&w&&s.push((e=>{const o=m((0,r.Z)({},e,{defaultTheme:n,themeId:t}));if(!o.components||!o.components[p]||!o.components[p].styleOverrides)return null;const i=o.components[p].styleOverrides,a={};return Object.entries(i).forEach((([t,n])=>{a[t]=v(n,(0,r.Z)({},e,{theme:o}))})),w(e,a)})),p&&!k&&s.push((e=>{var o;const i=m((0,r.Z)({},e,{defaultTheme:n,themeId:t}));return v({variants:null==i||null==(o=i.components)||null==(o=o[p])?void 0:o.variants},(0,r.Z)({},e,{theme:i}))})),C||s.push(c);const l=s.length-i.length;if(Array.isArray(o)&&l>0){const e=new Array(l).fill("");a=[...o,...e],a.raw=[...o.raw,...e]}const u=E(a,...s);return e.muiName&&(u.muiName=e.muiName),u};return E.withConfig&&(O.withConfig=E.withConfig),O}}},57064:function(e,t,n){"use strict";function r(e,t){const n=this;if(n.vars&&"function"===typeof n.getColorSchemeSelector){return{[n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}}return n.palette.mode===e?t:{}}n.d(t,{Z:function(){return r}})},41512:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(63366),o=n(87462);const i=["values","unit","step"];function a(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:a=5}=e,s=(0,r.Z)(e,i),l=(e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>(0,o.Z)({},e,{[t.key]:t.val})),{})})(t),u=Object.keys(l);function c(e){return`@media (min-width:${"number"===typeof t[e]?t[e]:e}${n})`}function f(e){return`@media (max-width:${("number"===typeof t[e]?t[e]:e)-a/100}${n})`}function d(e,r){const o=u.indexOf(r);return`@media (min-width:${"number"===typeof t[e]?t[e]:e}${n}) and (max-width:${(-1!==o&&"number"===typeof t[u[o]]?t[u[o]]:r)-a/100}${n})`}return(0,o.Z)({keys:u,values:l,up:c,down:f,between:d,only:function(e){return u.indexOf(e)+1<u.length?d(e,u[u.indexOf(e)+1]):c(e)},not:function(e){const t=u.indexOf(e);return 0===t?c(u[1]):t===u.length-1?f(u[t]):d(e,u[u.indexOf(e)+1]).replace("@media","@media not all and")},unit:n},s)}},98373:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(98700);function o(e=8){if(e.mui)return e;const t=(0,r.hB)({spacing:e}),n=(...e)=>{return(0===e.length?[1]:e).map((e=>{const n=t(e);return"number"===typeof n?`${n}px`:n})).join(" ")};return n.mui=!0,n}},88647:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(87462),o=n(63366),i=n(68027),a=n(41512);var s={borderRadius:4},l=n(98373),u=n(86523),c=n(44920),f=n(57064);const d=["breakpoints","palette","spacing","shape"];var p=function(e={},...t){const{breakpoints:n={},palette:p={},spacing:h,shape:m={}}=e,g=(0,o.Z)(e,d),v=(0,a.Z)(n),y=(0,l.Z)(h);let b=(0,i.Z)({breakpoints:v,direction:"ltr",components:{},palette:(0,r.Z)({mode:"light"},p),spacing:y,shape:(0,r.Z)({},s,m)},g);return b.applyStyles=f.Z,b=t.reduce(((e,t)=>(0,i.Z)(e,t)),b),b.unstable_sxConfig=(0,r.Z)({},c.Z,null==g?void 0:g.unstable_sxConfig),b.unstable_sx=function(e){return(0,u.Z)({sx:e,theme:this})},b}},50159:function(e,t,n){"use strict";function r(e=""){function t(...n){if(!n.length)return"";const r=n[0];return"string"!==typeof r||r.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, ${r}`:`, var(--${e?`${e}-`:""}${r}${t(...n.slice(1))})`}return(n,...r)=>`var(--${e?`${e}-`:""}${n}${t(...r)})`}n.d(t,{Z:function(){return r}})},47730:function(e,t,n){"use strict";var r=n(68027);t.Z=function(e,t){return t?(0,r.Z)(e,t,{clone:!1}):e}},98700:function(e,t,n){"use strict";n.d(t,{hB:function(){return h},eI:function(){return p},NA:function(){return m},e6:function(){return y},o3:function(){return b}});var r=n(95408),o=n(54844),i=n(47730);const a={m:"margin",p:"padding"},s={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},l={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},u=function(e){const t={};return n=>(void 0===t[n]&&(t[n]=e(n)),t[n])}((e=>{if(e.length>2){if(!l[e])return[e];e=l[e]}const[t,n]=e.split(""),r=a[t],o=s[n]||"";return Array.isArray(o)?o.map((e=>r+e)):[r+o]})),c=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],f=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],d=[...c,...f];function p(e,t,n,r){var i;const a=null!=(i=(0,o.DW)(e,t,!1))?i:n;return"number"===typeof a?e=>"string"===typeof e?e:a*e:Array.isArray(a)?e=>"string"===typeof e?e:a[e]:"function"===typeof a?a:()=>{}}function h(e){return p(e,"spacing",8)}function m(e,t){if("string"===typeof t||null==t)return t;const n=e(Math.abs(t));return t>=0?n:"number"===typeof n?-n:`-${n}`}function g(e,t,n,o){if(-1===t.indexOf(n))return null;const i=function(e,t){return n=>e.reduce(((e,r)=>(e[r]=m(t,n),e)),{})}(u(n),o),a=e[n];return(0,r.k9)(e,a,i)}function v(e,t){const n=h(e.theme);return Object.keys(e).map((r=>g(e,t,r,n))).reduce(i.Z,{})}function y(e){return v(e,c)}function b(e){return v(e,f)}function x(e){return v(e,d)}y.propTypes={},y.filterProps=c,b.propTypes={},b.filterProps=f,x.propTypes={},x.filterProps=d},54844:function(e,t,n){"use strict";n.d(t,{DW:function(){return i},Jq:function(){return a}});var r=n(62908),o=n(95408);function i(e,t,n=!0){if(!t||"string"!==typeof t)return null;if(e&&e.vars&&n){const n=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=n)return n}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function a(e,t,n,r=n){let o;return o="function"===typeof e?e(n):Array.isArray(e)?e[n]||r:i(e,n)||r,t&&(o=t(o,r,e)),o}t.ZP=function(e){const{prop:t,cssProperty:n=e.prop,themeKey:s,transform:l}=e,u=e=>{if(null==e[t])return null;const u=e[t],c=i(e.theme,s)||{};return(0,o.k9)(e,u,(e=>{let o=a(c,l,e);return e===o&&"string"===typeof e&&(o=a(c,l,`${t}${"default"===e?"":(0,r.Z)(e)}`,e)),!1===n?o:{[n]:o}}))};return u.propTypes={},u.filterProps=[t],u}},44920:function(e,t,n){"use strict";n.d(t,{Z:function(){return R}});var r=n(98700),o=n(54844),i=n(47730);var a=function(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((n=>{e[n]=t})),e)),{}),n=e=>Object.keys(e).reduce(((n,r)=>t[r]?(0,i.Z)(n,t[r](e)):n),{});return n.propTypes={},n.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),n},s=n(95408);function l(e){return"number"!==typeof e?e:`${e}px solid`}function u(e,t){return(0,o.ZP)({prop:e,themeKey:"borders",transform:t})}const c=u("border",l),f=u("borderTop",l),d=u("borderRight",l),p=u("borderBottom",l),h=u("borderLeft",l),m=u("borderColor"),g=u("borderTopColor"),v=u("borderRightColor"),y=u("borderBottomColor"),b=u("borderLeftColor"),x=u("outline",l),w=u("outlineColor"),_=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=(0,r.eI)(e.theme,"shape.borderRadius",4,"borderRadius"),n=e=>({borderRadius:(0,r.NA)(t,e)});return(0,s.k9)(e,e.borderRadius,n)}return null};_.propTypes={},_.filterProps=["borderRadius"];a(c,f,d,p,h,m,g,v,y,b,_,x,w);const k=e=>{if(void 0!==e.gap&&null!==e.gap){const t=(0,r.eI)(e.theme,"spacing",8,"gap"),n=e=>({gap:(0,r.NA)(t,e)});return(0,s.k9)(e,e.gap,n)}return null};k.propTypes={},k.filterProps=["gap"];const C=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=(0,r.eI)(e.theme,"spacing",8,"columnGap"),n=e=>({columnGap:(0,r.NA)(t,e)});return(0,s.k9)(e,e.columnGap,n)}return null};C.propTypes={},C.filterProps=["columnGap"];const S=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=(0,r.eI)(e.theme,"spacing",8,"rowGap"),n=e=>({rowGap:(0,r.NA)(t,e)});return(0,s.k9)(e,e.rowGap,n)}return null};S.propTypes={},S.filterProps=["rowGap"];a(k,C,S,(0,o.ZP)({prop:"gridColumn"}),(0,o.ZP)({prop:"gridRow"}),(0,o.ZP)({prop:"gridAutoFlow"}),(0,o.ZP)({prop:"gridAutoColumns"}),(0,o.ZP)({prop:"gridAutoRows"}),(0,o.ZP)({prop:"gridTemplateColumns"}),(0,o.ZP)({prop:"gridTemplateRows"}),(0,o.ZP)({prop:"gridTemplateAreas"}),(0,o.ZP)({prop:"gridArea"}));function E(e,t){return"grey"===t?t:e}a((0,o.ZP)({prop:"color",themeKey:"palette",transform:E}),(0,o.ZP)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:E}),(0,o.ZP)({prop:"backgroundColor",themeKey:"palette",transform:E}));function T(e){return e<=1&&0!==e?100*e+"%":e}const O=(0,o.ZP)({prop:"width",transform:T}),A=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var n,r;const o=(null==(n=e.theme)||null==(n=n.breakpoints)||null==(n=n.values)?void 0:n[t])||s.VO[t];return o?"px"!==(null==(r=e.theme)||null==(r=r.breakpoints)?void 0:r.unit)?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:T(t)}};return(0,s.k9)(e,e.maxWidth,t)}return null};A.filterProps=["maxWidth"];const j=(0,o.ZP)({prop:"minWidth",transform:T}),I=(0,o.ZP)({prop:"height",transform:T}),P=(0,o.ZP)({prop:"maxHeight",transform:T}),N=(0,o.ZP)({prop:"minHeight",transform:T});(0,o.ZP)({prop:"size",cssProperty:"width",transform:T}),(0,o.ZP)({prop:"size",cssProperty:"height",transform:T}),a(O,A,j,I,P,N,(0,o.ZP)({prop:"boxSizing"}));var R={border:{themeKey:"borders",transform:l},borderTop:{themeKey:"borders",transform:l},borderRight:{themeKey:"borders",transform:l},borderBottom:{themeKey:"borders",transform:l},borderLeft:{themeKey:"borders",transform:l},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:l},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:_},color:{themeKey:"palette",transform:E},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:E},backgroundColor:{themeKey:"palette",transform:E},p:{style:r.o3},pt:{style:r.o3},pr:{style:r.o3},pb:{style:r.o3},pl:{style:r.o3},px:{style:r.o3},py:{style:r.o3},padding:{style:r.o3},paddingTop:{style:r.o3},paddingRight:{style:r.o3},paddingBottom:{style:r.o3},paddingLeft:{style:r.o3},paddingX:{style:r.o3},paddingY:{style:r.o3},paddingInline:{style:r.o3},paddingInlineStart:{style:r.o3},paddingInlineEnd:{style:r.o3},paddingBlock:{style:r.o3},paddingBlockStart:{style:r.o3},paddingBlockEnd:{style:r.o3},m:{style:r.e6},mt:{style:r.e6},mr:{style:r.e6},mb:{style:r.e6},ml:{style:r.e6},mx:{style:r.e6},my:{style:r.e6},margin:{style:r.e6},marginTop:{style:r.e6},marginRight:{style:r.e6},marginBottom:{style:r.e6},marginLeft:{style:r.e6},marginX:{style:r.e6},marginY:{style:r.e6},marginInline:{style:r.e6},marginInlineStart:{style:r.e6},marginInlineEnd:{style:r.e6},marginBlock:{style:r.e6},marginBlockStart:{style:r.e6},marginBlockEnd:{style:r.e6},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:k},rowGap:{style:S},columnGap:{style:C},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:T},maxWidth:{style:A},minWidth:{transform:T},height:{transform:T},maxHeight:{transform:T},minHeight:{transform:T},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}}},39707:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(87462),o=n(63366),i=n(68027),a=n(44920);const s=["sx"];function l(e){const{sx:t}=e,n=(0,o.Z)(e,s),{systemProps:l,otherProps:u}=(e=>{var t,n;const r={systemProps:{},otherProps:{}},o=null!=(t=null==e||null==(n=e.theme)?void 0:n.unstable_sxConfig)?t:a.Z;return Object.keys(e).forEach((t=>{o[t]?r.systemProps[t]=e[t]:r.otherProps[t]=e[t]})),r})(n);let c;return c=Array.isArray(t)?[l,...t]:"function"===typeof t?(...e)=>{const n=t(...e);return(0,i.P)(n)?(0,r.Z)({},l,n):l}:(0,r.Z)({},l,t),(0,r.Z)({},u,{sx:c})}},86523:function(e,t,n){"use strict";var r=n(62908),o=n(47730),i=n(54844),a=n(95408),s=n(44920);const l=function(){function e(e,t,n,o){const s={[e]:t,theme:n},l=o[e];if(!l)return{[e]:t};const{cssProperty:u=e,themeKey:c,transform:f,style:d}=l;if(null==t)return null;if("typography"===c&&"inherit"===t)return{[e]:t};const p=(0,i.DW)(n,c)||{};if(d)return d(s);return(0,a.k9)(s,t,(t=>{let n=(0,i.Jq)(p,f,t);return t===n&&"string"===typeof t&&(n=(0,i.Jq)(p,f,`${e}${"default"===t?"":(0,r.Z)(t)}`,t)),!1===u?n:{[u]:n}}))}return function t(n){var r;const{sx:i,theme:l={}}=n||{};if(!i)return null;const u=null!=(r=l.unstable_sxConfig)?r:s.Z;function c(n){let r=n;if("function"===typeof n)r=n(l);else if("object"!==typeof n)return n;if(!r)return null;const i=(0,a.W8)(l.breakpoints),s=Object.keys(i);let c=i;return Object.keys(r).forEach((n=>{const i=(s=r[n],f=l,"function"===typeof s?s(f):s);var s,f;if(null!==i&&void 0!==i)if("object"===typeof i)if(u[n])c=(0,o.Z)(c,e(n,i,l,u));else{const e=(0,a.k9)({theme:l},i,(e=>({[n]:e})));!function(...e){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]),n=new Set(t);return e.every((e=>n.size===Object.keys(e).length))}(e,i)?c=(0,o.Z)(c,e):c[n]=t({sx:i,theme:l})}else c=(0,o.Z)(c,e(n,i,l,u))})),(0,a.L7)(s,c)}return Array.isArray(i)?i.map(c):c(i)}}();l.filterProps=["sx"],t.Z=l},96682:function(e,t,n){"use strict";var r=n(88647),o=n(34168);const i=(0,r.Z)();t.Z=function(e=i){return(0,o.Z)(e)}},44065:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462);function o(e,t){const n=(0,r.Z)({},t);return Object.keys(e).forEach((i=>{if(i.toString().match(/^(components|slots)$/))n[i]=(0,r.Z)({},e[i],n[i]);else if(i.toString().match(/^(componentsProps|slotProps)$/)){const a=e[i]||{},s=t[i];n[i]={},s&&Object.keys(s)?a&&Object.keys(a)?(n[i]=(0,r.Z)({},s),Object.keys(a).forEach((e=>{n[i][e]=o(a[e],s[e])}))):n[i]=s:n[i]=a}else void 0===n[i]&&(n[i]=e[i])})),n}function i(e){const{theme:t,name:n,props:r}=e;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?o(t.components[n].defaultProps,r):r}var a=n(96682);function s({props:e,name:t,defaultTheme:n,themeId:r}){let o=(0,a.Z)(n);r&&(o=o[r]||o);return i({theme:o,name:t,props:e})}},34168:function(e,t,n){"use strict";var r=n(67294),o=n(5638);t.Z=function(e=null){const t=r.useContext(o.T);return t&&(n=t,0!==Object.keys(n).length)?t:e;var n}},31983:function(e,t){"use strict";const n=e=>e,r=(()=>{let e=n;return{configure(t){e=t},generate:t=>e(t),reset(){e=n}}})();t.Z=r},62908:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(78758);function o(e){if("string"!==typeof e)throw new Error((0,r.Z)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},58510:function(e,t,n){"use strict";function r(e,t,n){const r={};return Object.keys(e).forEach((o=>{r[o]=e[o].reduce(((e,r)=>{if(r){const o=t(r);""!==o&&e.push(o),n&&n[r]&&e.push(n[r])}return e}),[]).join(" ")})),r}n.d(t,{Z:function(){return r}})},15725:function(e,t,n){"use strict";function r(...e){return e.reduce(((e,t)=>null==t?e:function(...n){e.apply(this,n),t.apply(this,n)}),(()=>{}))}n.d(t,{Z:function(){return r}})},68027:function(e,t,n){"use strict";n.d(t,{P:function(){return o},Z:function(){return a}});var r=n(87462);function o(e){if("object"!==typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function i(e){if(!o(e))return e;const t={};return Object.keys(e).forEach((n=>{t[n]=i(e[n])})),t}function a(e,t,n={clone:!0}){const s=n.clone?(0,r.Z)({},e):e;return o(e)&&o(t)&&Object.keys(t).forEach((r=>{"__proto__"!==r&&(o(t[r])&&r in e&&o(e[r])?s[r]=a(e[r],t[r],n):n.clone?s[r]=o(t[r])?i(t[r]):t[r]:s[r]=t[r])})),s}},78758:function(e,t,n){"use strict";function r(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}n.d(t,{Z:function(){return r}})},8027:function(e,t,n){"use strict";n.d(t,{ZP:function(){return i}});var r=n(31983);const o={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function i(e,t,n="Mui"){const i=o[t];return i?`${n}-${i}`:`${r.Z.generate(e)}-${t}`}},1977:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(8027);function o(e,t,n="Mui"){const o={};return t.forEach((t=>{o[t]=(0,r.ZP)(e,t,n)})),o}},98902:function(e,t,n){"use strict";function r(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}n.d(t,{Z:function(){return r}})},36425:function(e,t,n){"use strict";function r(e){return e&&e.ownerDocument||document}n.d(t,{Z:function(){return r}})},96613:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(36425);function o(e){return(0,r.Z)(e).defaultView||window}},25091:function(e,t,n){"use strict";function r(e,t){"function"===typeof e?e(t):e&&(e.current=t)}n.d(t,{Z:function(){return r}})},81222:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(67294);function o({controlled:e,default:t,name:n,state:o="value"}){const{current:i}=r.useRef(void 0!==e),[a,s]=r.useState(t);return[i?e:a,r.useCallback((e=>{i||s(e)}),[])]}},54895:function(e,t,n){"use strict";var r=n(67294);const o="undefined"!==typeof window?r.useLayoutEffect:r.useEffect;t.Z=o},22010:function(e,t,n){"use strict";var r=n(67294),o=n(54895);t.Z=function(e){const t=r.useRef(e);return(0,o.Z)((()=>{t.current=e})),r.useRef(((...e)=>(0,t.current)(...e))).current}},22760:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(67294),o=n(25091);function i(...e){return r.useMemo((()=>e.every((e=>null==e))?null:t=>{e.forEach((e=>{(0,o.Z)(e,t)}))}),e)}},89326:function(e,t,n){"use strict";var r;n.d(t,{Z:function(){return s}});var o=n(67294);let i=0;const a=(r||(r=n.t(o,2)))["useId".toString()];function s(e){if(void 0!==a){const t=a();return null!=e?e:t}return function(e){const[t,n]=o.useState(e),r=e||t;return o.useEffect((()=>{null==t&&(i+=1,n(`mui-${i}`))}),[t]),r}(e)}},11136:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(67294);class o{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new o}start(e,t){this.clear(),this.currentId=setTimeout((()=>{this.currentId=null,t()}),e)}}let i=!0,a=!1;const s=new o,l={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function u(e){e.metaKey||e.altKey||e.ctrlKey||(i=!0)}function c(){i=!1}function f(){"hidden"===this.visibilityState&&a&&(i=!0)}function d(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(n){}return i||function(e){const{type:t,tagName:n}=e;return!("INPUT"!==n||!l[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}function p(){const e=r.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",u,!0),t.addEventListener("mousedown",c,!0),t.addEventListener("pointerdown",c,!0),t.addEventListener("touchstart",c,!0),t.addEventListener("visibilitychange",f,!0))}),[]),t=r.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!d(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(a=!0,s.start(100,(()=>{a=!1})),t.current=!1,!0)},ref:e}}},79361:function(e,t){"use strict";t.Z=function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n;return e}},9669:function(e,t,n){e.exports=n(51609)},55448:function(e,t,n){"use strict";var r=n(64867),o=n(36026),i=n(4372),a=n(15327),s=n(94097),l=n(84109),u=n(67985),c=n(85061),f=n(45655),d=n(65263);e.exports=function(e){return new Promise((function(t,n){var p,h=e.data,m=e.headers,g=e.responseType;function v(){e.cancelToken&&e.cancelToken.unsubscribe(p),e.signal&&e.signal.removeEventListener("abort",p)}r.isFormData(h)&&delete m["Content-Type"];var y=new XMLHttpRequest;if(e.auth){var b=e.auth.username||"",x=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";m.Authorization="Basic "+btoa(b+":"+x)}var w=s(e.baseURL,e.url);function _(){if(y){var r="getAllResponseHeaders"in y?l(y.getAllResponseHeaders()):null,i={data:g&&"text"!==g&&"json"!==g?y.response:y.responseText,status:y.status,statusText:y.statusText,headers:r,config:e,request:y};o((function(e){t(e),v()}),(function(e){n(e),v()}),i),y=null}}if(y.open(e.method.toUpperCase(),a(w,e.params,e.paramsSerializer),!0),y.timeout=e.timeout,"onloadend"in y?y.onloadend=_:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(_)},y.onabort=function(){y&&(n(c("Request aborted",e,"ECONNABORTED",y)),y=null)},y.onerror=function(){n(c("Network Error",e,null,y)),y=null},y.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",r=e.transitional||f.transitional;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(c(t,e,r.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",y)),y=null},r.isStandardBrowserEnv()){var k=(e.withCredentials||u(w))&&e.xsrfCookieName?i.read(e.xsrfCookieName):void 0;k&&(m[e.xsrfHeaderName]=k)}"setRequestHeader"in y&&r.forEach(m,(function(e,t){"undefined"===typeof h&&"content-type"===t.toLowerCase()?delete m[t]:y.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(y.withCredentials=!!e.withCredentials),g&&"json"!==g&&(y.responseType=e.responseType),"function"===typeof e.onDownloadProgress&&y.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&y.upload&&y.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(p=function(e){y&&(n(!e||e&&e.type?new d("canceled"):e),y.abort(),y=null)},e.cancelToken&&e.cancelToken.subscribe(p),e.signal&&(e.signal.aborted?p():e.signal.addEventListener("abort",p))),h||(h=null),y.send(h)}))}},51609:function(e,t,n){"use strict";var r=n(64867),o=n(91849),i=n(30321),a=n(47185);var s=function e(t){var n=new i(t),s=o(i.prototype.request,n);return r.extend(s,i.prototype,n),r.extend(s,n),s.create=function(n){return e(a(t,n))},s}(n(45655));s.Axios=i,s.Cancel=n(65263),s.CancelToken=n(14972),s.isCancel=n(26502),s.VERSION=n(97288).version,s.all=function(e){return Promise.all(e)},s.spread=n(8713),s.isAxiosError=n(16268),e.exports=s,e.exports.default=s},65263:function(e){"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,e.exports=t},14972:function(e,t,n){"use strict";var r=n(65263);function o(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;this.promise.then((function(e){if(n._listeners){var t,r=n._listeners.length;for(t=0;t<r;t++)n._listeners[t](e);n._listeners=null}})),this.promise.then=function(e){var t,r=new Promise((function(e){n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},o.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},26502:function(e){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},30321:function(e,t,n){"use strict";var r=n(64867),o=n(15327),i=n(80782),a=n(13572),s=n(47185),l=n(54875),u=l.validators;function c(e){this.defaults=e,this.interceptors={request:new i,response:new i}}c.prototype.request=function(e,t){if("string"===typeof e?(t=t||{}).url=e:t=e||{},!t.url)throw new Error("Provided config url is not valid");(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var n=t.transitional;void 0!==n&&l.assertOptions(n,{silentJSONParsing:u.transitional(u.boolean),forcedJSONParsing:u.transitional(u.boolean),clarifyTimeoutError:u.transitional(u.boolean)},!1);var r=[],o=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(o=o&&e.synchronous,r.unshift(e.fulfilled,e.rejected))}));var i,c=[];if(this.interceptors.response.forEach((function(e){c.push(e.fulfilled,e.rejected)})),!o){var f=[a,void 0];for(Array.prototype.unshift.apply(f,r),f=f.concat(c),i=Promise.resolve(t);f.length;)i=i.then(f.shift(),f.shift());return i}for(var d=t;r.length;){var p=r.shift(),h=r.shift();try{d=p(d)}catch(m){h(m);break}}try{i=a(d)}catch(m){return Promise.reject(m)}for(;c.length;)i=i.then(c.shift(),c.shift());return i},c.prototype.getUri=function(e){if(!e.url)throw new Error("Provided config url is not valid");return e=s(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){c.prototype[e]=function(t,n){return this.request(s(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){c.prototype[e]=function(t,n,r){return this.request(s(r||{},{method:e,url:t,data:n}))}})),e.exports=c},80782:function(e,t,n){"use strict";var r=n(64867);function o(){this.handlers=[]}o.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},94097:function(e,t,n){"use strict";var r=n(91793),o=n(7303);e.exports=function(e,t){return e&&!r(t)?o(e,t):t}},85061:function(e,t,n){"use strict";var r=n(80481);e.exports=function(e,t,n,o,i){var a=new Error(e);return r(a,t,n,o,i)}},13572:function(e,t,n){"use strict";var r=n(64867),o=n(18527),i=n(26502),a=n(45655),s=n(65263);function l(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new s("canceled")}e.exports=function(e){return l(e),e.headers=e.headers||{},e.data=o.call(e,e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return l(e),t.data=o.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(l(e),t&&t.response&&(t.response.data=o.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},80481:function(e){"use strict";e.exports=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,e.response=o,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},e}},47185:function(e,t,n){"use strict";var r=n(64867);e.exports=function(e,t){t=t||{};var n={};function o(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function i(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:o(void 0,e[n]):o(e[n],t[n])}function a(e){if(!r.isUndefined(t[e]))return o(void 0,t[e])}function s(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:o(void 0,e[n]):o(void 0,t[n])}function l(n){return n in t?o(e[n],t[n]):n in e?o(void 0,e[n]):void 0}var u={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l};return r.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=u[e]||i,o=t(e);r.isUndefined(o)&&t!==l||(n[e]=o)})),n}},36026:function(e,t,n){"use strict";var r=n(85061);e.exports=function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},18527:function(e,t,n){"use strict";var r=n(64867),o=n(45655);e.exports=function(e,t,n){var i=this||o;return r.forEach(n,(function(n){e=n.call(i,e,t)})),e}},45655:function(e,t,n){"use strict";var r=n(83454),o=n(64867),i=n(16016),a=n(80481),s={"Content-Type":"application/x-www-form-urlencoded"};function l(e,t){!o.isUndefined(e)&&o.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var u={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:function(){var e;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof r&&"[object process]"===Object.prototype.toString.call(r))&&(e=n(55448)),e}(),transformRequest:[function(e,t){return i(t,"Accept"),i(t,"Content-Type"),o.isFormData(e)||o.isArrayBuffer(e)||o.isBuffer(e)||o.isStream(e)||o.isFile(e)||o.isBlob(e)?e:o.isArrayBufferView(e)?e.buffer:o.isURLSearchParams(e)?(l(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):o.isObject(e)||t&&"application/json"===t["Content-Type"]?(l(t,"application/json"),function(e,t,n){if(o.isString(e))try{return(t||JSON.parse)(e),o.trim(e)}catch(r){if("SyntaxError"!==r.name)throw r}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||u.transitional,n=t&&t.silentJSONParsing,r=t&&t.forcedJSONParsing,i=!n&&"json"===this.responseType;if(i||r&&o.isString(e)&&e.length)try{return JSON.parse(e)}catch(s){if(i){if("SyntaxError"===s.name)throw a(s,this,"E_JSON_PARSE");throw s}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};o.forEach(["delete","get","head"],(function(e){u.headers[e]={}})),o.forEach(["post","put","patch"],(function(e){u.headers[e]=o.merge(s)})),e.exports=u},97288:function(e){e.exports={version:"0.25.0"}},91849:function(e){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},15327:function(e,t,n){"use strict";var r=n(64867);function o(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var i;if(n)i=n(t);else if(r.isURLSearchParams(t))i=t.toString();else{var a=[];r.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),a.push(o(t)+"="+o(e))})))})),i=a.join("&")}if(i){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},7303:function(e){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},4372:function(e,t,n){"use strict";var r=n(64867);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,o,i,a){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(o)&&s.push("path="+o),r.isString(i)&&s.push("domain="+i),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},91793:function(e){"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},16268:function(e,t,n){"use strict";var r=n(64867);e.exports=function(e){return r.isObject(e)&&!0===e.isAxiosError}},67985:function(e,t,n){"use strict";var r=n(64867);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=o(window.location.href),function(t){var n=r.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},16016:function(e,t,n){"use strict";var r=n(64867);e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},84109:function(e,t,n){"use strict";var r=n(64867),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,i,a={};return e?(r.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=r.trim(e.substr(0,i)).toLowerCase(),n=r.trim(e.substr(i+1)),t){if(a[t]&&o.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}})),a):a}},8713:function(e){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},54875:function(e,t,n){"use strict";var r=n(97288).version,o={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){o[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var i={};o.transitional=function(e,t,n){function o(e,t){return"[Axios v"+r+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,r,a){if(!1===e)throw new Error(o(r," has been removed"+(t?" in "+t:"")));return t&&!i[r]&&(i[r]=!0,console.warn(o(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,a)}},e.exports={assertOptions:function(e,t,n){if("object"!==typeof e)throw new TypeError("options must be an object");for(var r=Object.keys(e),o=r.length;o-- >0;){var i=r[o],a=t[i];if(a){var s=e[i],l=void 0===s||a(s,i,e);if(!0!==l)throw new TypeError("option "+i+" must be "+l)}else if(!0!==n)throw Error("Unknown option "+i)}},validators:o}},64867:function(e,t,n){"use strict";var r=n(91849),o=Object.prototype.toString;function i(e){return Array.isArray(e)}function a(e){return"undefined"===typeof e}function s(e){return"[object ArrayBuffer]"===o.call(e)}function l(e){return null!==e&&"object"===typeof e}function u(e){if("[object Object]"!==o.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function c(e){return"[object Function]"===o.call(e)}function f(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),i(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}e.exports={isArray:i,isArrayBuffer:s,isBuffer:function(e){return null!==e&&!a(e)&&null!==e.constructor&&!a(e.constructor)&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"[object FormData]"===o.call(e)},isArrayBufferView:function(e){return"undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&s(e.buffer)},isString:function(e){return"string"===typeof e},isNumber:function(e){return"number"===typeof e},isObject:l,isPlainObject:u,isUndefined:a,isDate:function(e){return"[object Date]"===o.call(e)},isFile:function(e){return"[object File]"===o.call(e)},isBlob:function(e){return"[object Blob]"===o.call(e)},isFunction:c,isStream:function(e){return l(e)&&c(e.pipe)},isURLSearchParams:function(e){return"[object URLSearchParams]"===o.call(e)},isStandardBrowserEnv:function(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)},forEach:f,merge:function e(){var t={};function n(n,r){u(t[r])&&u(n)?t[r]=e(t[r],n):u(n)?t[r]=e({},n):i(n)?t[r]=n.slice():t[r]=n}for(var r=0,o=arguments.length;r<o;r++)f(arguments[r],n);return t},extend:function(e,t,n){return f(t,(function(t,o){e[o]=n&&"function"===typeof t?r(t,n):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}},86010:function(e,t,n){"use strict";function r(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=r(e[t]))&&(o&&(o+=" "),o+=n);else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}t.Z=function(){for(var e,t,n=0,o="";n<arguments.length;)(e=arguments[n++])&&(t=r(e))&&(o&&(o+=" "),o+=t);return o}},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)?l((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function o(e,t,n){return e.concat(t).map((function(e){return r(e,n)}))}function i(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 o={};return n.isMergeableObject(e)&&i(e).forEach((function(t){o[t]=r(e[t],n)})),i(t).forEach((function(i){(function(e,t){return a(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,i)||(a(e,i)&&n.isMergeableObject(t[i])?o[i]=function(e,t){if(!t.customMerge)return l;var n=t.customMerge(e);return"function"===typeof n?n:l}(i,n)(e[i],t[i],n):o[i]=r(t[i],n))})),o}function l(e,n,i){(i=i||{}).arrayMerge=i.arrayMerge||o,i.isMergeableObject=i.isMergeableObject||t,i.cloneUnlessOtherwiseSpecified=r;var a=Array.isArray(n);return a===Array.isArray(e)?a?i.arrayMerge(e,n,i):s(e,n,i):r(n,i)}l.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return l(e,n,t)}),{})};var u=l;e.exports=u},27856:function(e){e.exports=function(){"use strict";function e(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var t=Object.hasOwnProperty,n=Object.setPrototypeOf,r=Object.isFrozen,o=Object.getPrototypeOf,i=Object.getOwnPropertyDescriptor,a=Object.freeze,s=Object.seal,l=Object.create,u="undefined"!==typeof Reflect&&Reflect,c=u.apply,f=u.construct;c||(c=function(e,t,n){return e.apply(t,n)}),a||(a=function(e){return e}),s||(s=function(e){return e}),f||(f=function(t,n){return new(Function.prototype.bind.apply(t,[null].concat(e(n))))});var d=_(Array.prototype.forEach),p=_(Array.prototype.pop),h=_(Array.prototype.push),m=_(String.prototype.toLowerCase),g=_(String.prototype.match),v=_(String.prototype.replace),y=_(String.prototype.indexOf),b=_(String.prototype.trim),x=_(RegExp.prototype.test),w=k(TypeError);function _(e){return function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return c(e,t,r)}}function k(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return f(e,n)}}function C(e,t){n&&n(e,null);for(var o=t.length;o--;){var i=t[o];if("string"===typeof i){var a=m(i);a!==i&&(r(t)||(t[o]=a),i=a)}e[i]=!0}return e}function S(e){var n=l(null),r=void 0;for(r in e)c(t,e,[r])&&(n[r]=e[r]);return n}function E(e,t){for(;null!==e;){var n=i(e,t);if(n){if(n.get)return _(n.get);if("function"===typeof n.value)return _(n.value)}e=o(e)}function r(e){return console.warn("fallback value for",e),null}return r}var T=a(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),O=a(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),A=a(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),j=a(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),I=a(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),P=a(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),N=a(["#text"]),R=a(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),Z=a(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),L=a(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),D=a(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),F=s(/\{\{[\s\S]*|[\s\S]*\}\}/gm),M=s(/<%[\s\S]*|[\s\S]*%>/gm),z=s(/^data-[\-\w.\u00B7-\uFFFF]/),B=s(/^aria-[\-\w]+$/),H=s(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),$=s(/^(?:\w+script|data):/i),U=s(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),V=s(/^html$/i),G="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};function W(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var q=function(){return"undefined"===typeof window?null:window},X=function(e,t){if("object"!==("undefined"===typeof e?"undefined":G(e))||"function"!==typeof e.createPolicy)return null;var n=null,r="data-tt-policy-suffix";t.currentScript&&t.currentScript.hasAttribute(r)&&(n=t.currentScript.getAttribute(r));var o="dompurify"+(n?"#"+n:"");try{return e.createPolicy(o,{createHTML:function(e){return e}})}catch(i){return console.warn("TrustedTypes policy "+o+" could not be created."),null}};function Y(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:q(),t=function(e){return Y(e)};if(t.version="2.3.6",t.removed=[],!e||!e.document||9!==e.document.nodeType)return t.isSupported=!1,t;var n=e.document,r=e.document,o=e.DocumentFragment,i=e.HTMLTemplateElement,s=e.Node,l=e.Element,u=e.NodeFilter,c=e.NamedNodeMap,f=void 0===c?e.NamedNodeMap||e.MozNamedAttrMap:c,_=e.HTMLFormElement,k=e.DOMParser,K=e.trustedTypes,Q=l.prototype,J=E(Q,"cloneNode"),ee=E(Q,"nextSibling"),te=E(Q,"childNodes"),ne=E(Q,"parentNode");if("function"===typeof i){var re=r.createElement("template");re.content&&re.content.ownerDocument&&(r=re.content.ownerDocument)}var oe=X(K,n),ie=oe?oe.createHTML(""):"",ae=r,se=ae.implementation,le=ae.createNodeIterator,ue=ae.createDocumentFragment,ce=ae.getElementsByTagName,fe=n.importNode,de={};try{de=S(r).documentMode?r.documentMode:{}}catch(Ct){}var pe={};t.isSupported="function"===typeof ne&&se&&"undefined"!==typeof se.createHTMLDocument&&9!==de;var he=F,me=M,ge=z,ve=B,ye=$,be=U,xe=H,we=null,_e=C({},[].concat(W(T),W(O),W(A),W(I),W(N))),ke=null,Ce=C({},[].concat(W(R),W(Z),W(L),W(D))),Se=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Ee=null,Te=null,Oe=!0,Ae=!0,je=!1,Ie=!1,Pe=!1,Ne=!1,Re=!1,Ze=!1,Le=!1,De=!1,Fe=!0,Me=!0,ze=!1,Be={},He=null,$e=C({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Ue=null,Ve=C({},["audio","video","img","source","image","track"]),Ge=null,We=C({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),qe="http://www.w3.org/1998/Math/MathML",Xe="http://www.w3.org/2000/svg",Ye="http://www.w3.org/1999/xhtml",Ke=Ye,Qe=!1,Je=void 0,et=["application/xhtml+xml","text/html"],tt="text/html",nt=void 0,rt=null,ot=r.createElement("form"),it=function(e){return e instanceof RegExp||e instanceof Function},at=function(e){rt&&rt===e||(e&&"object"===("undefined"===typeof e?"undefined":G(e))||(e={}),e=S(e),we="ALLOWED_TAGS"in e?C({},e.ALLOWED_TAGS):_e,ke="ALLOWED_ATTR"in e?C({},e.ALLOWED_ATTR):Ce,Ge="ADD_URI_SAFE_ATTR"in e?C(S(We),e.ADD_URI_SAFE_ATTR):We,Ue="ADD_DATA_URI_TAGS"in e?C(S(Ve),e.ADD_DATA_URI_TAGS):Ve,He="FORBID_CONTENTS"in e?C({},e.FORBID_CONTENTS):$e,Ee="FORBID_TAGS"in e?C({},e.FORBID_TAGS):{},Te="FORBID_ATTR"in e?C({},e.FORBID_ATTR):{},Be="USE_PROFILES"in e&&e.USE_PROFILES,Oe=!1!==e.ALLOW_ARIA_ATTR,Ae=!1!==e.ALLOW_DATA_ATTR,je=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ie=e.SAFE_FOR_TEMPLATES||!1,Pe=e.WHOLE_DOCUMENT||!1,Ze=e.RETURN_DOM||!1,Le=e.RETURN_DOM_FRAGMENT||!1,De=e.RETURN_TRUSTED_TYPE||!1,Re=e.FORCE_BODY||!1,Fe=!1!==e.SANITIZE_DOM,Me=!1!==e.KEEP_CONTENT,ze=e.IN_PLACE||!1,xe=e.ALLOWED_URI_REGEXP||xe,Ke=e.NAMESPACE||Ye,e.CUSTOM_ELEMENT_HANDLING&&it(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Se.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&it(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Se.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"===typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Se.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Je=Je=-1===et.indexOf(e.PARSER_MEDIA_TYPE)?tt:e.PARSER_MEDIA_TYPE,nt="application/xhtml+xml"===Je?function(e){return e}:m,Ie&&(Ae=!1),Le&&(Ze=!0),Be&&(we=C({},[].concat(W(N))),ke=[],!0===Be.html&&(C(we,T),C(ke,R)),!0===Be.svg&&(C(we,O),C(ke,Z),C(ke,D)),!0===Be.svgFilters&&(C(we,A),C(ke,Z),C(ke,D)),!0===Be.mathMl&&(C(we,I),C(ke,L),C(ke,D))),e.ADD_TAGS&&(we===_e&&(we=S(we)),C(we,e.ADD_TAGS)),e.ADD_ATTR&&(ke===Ce&&(ke=S(ke)),C(ke,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&C(Ge,e.ADD_URI_SAFE_ATTR),e.FORBID_CONTENTS&&(He===$e&&(He=S(He)),C(He,e.FORBID_CONTENTS)),Me&&(we["#text"]=!0),Pe&&C(we,["html","head","body"]),we.table&&(C(we,["tbody"]),delete Ee.tbody),a&&a(e),rt=e)},st=C({},["mi","mo","mn","ms","mtext"]),lt=C({},["foreignobject","desc","title","annotation-xml"]),ut=C({},O);C(ut,A),C(ut,j);var ct=C({},I);C(ct,P);var ft=function(e){var t=ne(e);t&&t.tagName||(t={namespaceURI:Ye,tagName:"template"});var n=m(e.tagName),r=m(t.tagName);if(e.namespaceURI===Xe)return t.namespaceURI===Ye?"svg"===n:t.namespaceURI===qe?"svg"===n&&("annotation-xml"===r||st[r]):Boolean(ut[n]);if(e.namespaceURI===qe)return t.namespaceURI===Ye?"math"===n:t.namespaceURI===Xe?"math"===n&&lt[r]:Boolean(ct[n]);if(e.namespaceURI===Ye){if(t.namespaceURI===Xe&&!lt[r])return!1;if(t.namespaceURI===qe&&!st[r])return!1;var o=C({},["title","style","font","a","script"]);return!ct[n]&&(o[n]||!ut[n])}return!1},dt=function(e){h(t.removed,{element:e});try{e.parentNode.removeChild(e)}catch(Ct){try{e.outerHTML=ie}catch(Ct){e.remove()}}},pt=function(e,n){try{h(t.removed,{attribute:n.getAttributeNode(e),from:n})}catch(Ct){h(t.removed,{attribute:null,from:n})}if(n.removeAttribute(e),"is"===e&&!ke[e])if(Ze||Le)try{dt(n)}catch(Ct){}else try{n.setAttribute(e,"")}catch(Ct){}},ht=function(e){var t=void 0,n=void 0;if(Re)e="<remove></remove>"+e;else{var o=g(e,/^[\r\n\t ]+/);n=o&&o[0]}"application/xhtml+xml"===Je&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");var i=oe?oe.createHTML(e):e;if(Ke===Ye)try{t=(new k).parseFromString(i,Je)}catch(Ct){}if(!t||!t.documentElement){t=se.createDocument(Ke,"template",null);try{t.documentElement.innerHTML=Qe?"":i}catch(Ct){}}var a=t.body||t.documentElement;return e&&n&&a.insertBefore(r.createTextNode(n),a.childNodes[0]||null),Ke===Ye?ce.call(t,Pe?"html":"body")[0]:Pe?t.documentElement:a},mt=function(e){return le.call(e.ownerDocument||e,e,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT,null,!1)},gt=function(e){return e instanceof _&&("string"!==typeof e.nodeName||"string"!==typeof e.textContent||"function"!==typeof e.removeChild||!(e.attributes instanceof f)||"function"!==typeof e.removeAttribute||"function"!==typeof e.setAttribute||"string"!==typeof e.namespaceURI||"function"!==typeof e.insertBefore)},vt=function(e){return"object"===("undefined"===typeof s?"undefined":G(s))?e instanceof s:e&&"object"===("undefined"===typeof e?"undefined":G(e))&&"number"===typeof e.nodeType&&"string"===typeof e.nodeName},yt=function(e,n,r){pe[e]&&d(pe[e],(function(e){e.call(t,n,r,rt)}))},bt=function(e){var n=void 0;if(yt("beforeSanitizeElements",e,null),gt(e))return dt(e),!0;if(g(e.nodeName,/[\u0080-\uFFFF]/))return dt(e),!0;var r=nt(e.nodeName);if(yt("uponSanitizeElement",e,{tagName:r,allowedTags:we}),!vt(e.firstElementChild)&&(!vt(e.content)||!vt(e.content.firstElementChild))&&x(/<[/\w]/g,e.innerHTML)&&x(/<[/\w]/g,e.textContent))return dt(e),!0;if("select"===r&&x(/<template/i,e.innerHTML))return dt(e),!0;if(!we[r]||Ee[r]){if(!Ee[r]&&wt(r)){if(Se.tagNameCheck instanceof RegExp&&x(Se.tagNameCheck,r))return!1;if(Se.tagNameCheck instanceof Function&&Se.tagNameCheck(r))return!1}if(Me&&!He[r]){var o=ne(e)||e.parentNode,i=te(e)||e.childNodes;if(i&&o)for(var a=i.length-1;a>=0;--a)o.insertBefore(J(i[a],!0),ee(e))}return dt(e),!0}return e instanceof l&&!ft(e)?(dt(e),!0):"noscript"!==r&&"noembed"!==r||!x(/<\/no(script|embed)/i,e.innerHTML)?(Ie&&3===e.nodeType&&(n=e.textContent,n=v(n,he," "),n=v(n,me," "),e.textContent!==n&&(h(t.removed,{element:e.cloneNode()}),e.textContent=n)),yt("afterSanitizeElements",e,null),!1):(dt(e),!0)},xt=function(e,t,n){if(Fe&&("id"===t||"name"===t)&&(n in r||n in ot))return!1;if(Ae&&!Te[t]&&x(ge,t));else if(Oe&&x(ve,t));else if(!ke[t]||Te[t]){if(!(wt(e)&&(Se.tagNameCheck instanceof RegExp&&x(Se.tagNameCheck,e)||Se.tagNameCheck instanceof Function&&Se.tagNameCheck(e))&&(Se.attributeNameCheck instanceof RegExp&&x(Se.attributeNameCheck,t)||Se.attributeNameCheck instanceof Function&&Se.attributeNameCheck(t))||"is"===t&&Se.allowCustomizedBuiltInElements&&(Se.tagNameCheck instanceof RegExp&&x(Se.tagNameCheck,n)||Se.tagNameCheck instanceof Function&&Se.tagNameCheck(n))))return!1}else if(Ge[t]);else if(x(xe,v(n,be,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==y(n,"data:")||!Ue[e])if(je&&!x(ye,v(n,be,"")));else if(n)return!1;return!0},wt=function(e){return e.indexOf("-")>0},_t=function(e){var n=void 0,r=void 0,o=void 0,i=void 0;yt("beforeSanitizeAttributes",e,null);var a=e.attributes;if(a){var s={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:ke};for(i=a.length;i--;){var l=n=a[i],u=l.name,c=l.namespaceURI;if(r=b(n.value),o=nt(u),s.attrName=o,s.attrValue=r,s.keepAttr=!0,s.forceKeepAttr=void 0,yt("uponSanitizeAttribute",e,s),r=s.attrValue,!s.forceKeepAttr&&(pt(u,e),s.keepAttr))if(x(/\/>/i,r))pt(u,e);else{Ie&&(r=v(r,he," "),r=v(r,me," "));var f=nt(e.nodeName);if(xt(f,o,r))try{c?e.setAttributeNS(c,u,r):e.setAttribute(u,r),p(t.removed)}catch(Ct){}}}yt("afterSanitizeAttributes",e,null)}},kt=function e(t){var n=void 0,r=mt(t);for(yt("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)yt("uponSanitizeShadowNode",n,null),bt(n)||(n.content instanceof o&&e(n.content),_t(n));yt("afterSanitizeShadowDOM",t,null)};return t.sanitize=function(r,i){var a=void 0,l=void 0,u=void 0,c=void 0,f=void 0;if((Qe=!r)&&(r="\x3c!--\x3e"),"string"!==typeof r&&!vt(r)){if("function"!==typeof r.toString)throw w("toString is not a function");if("string"!==typeof(r=r.toString()))throw w("dirty is not a string, aborting")}if(!t.isSupported){if("object"===G(e.toStaticHTML)||"function"===typeof e.toStaticHTML){if("string"===typeof r)return e.toStaticHTML(r);if(vt(r))return e.toStaticHTML(r.outerHTML)}return r}if(Ne||at(i),t.removed=[],"string"===typeof r&&(ze=!1),ze){if(r.nodeName){var d=nt(r.nodeName);if(!we[d]||Ee[d])throw w("root node is forbidden and cannot be sanitized in-place")}}else if(r instanceof s)1===(l=(a=ht("\x3c!----\x3e")).ownerDocument.importNode(r,!0)).nodeType&&"BODY"===l.nodeName||"HTML"===l.nodeName?a=l:a.appendChild(l);else{if(!Ze&&!Ie&&!Pe&&-1===r.indexOf("<"))return oe&&De?oe.createHTML(r):r;if(!(a=ht(r)))return Ze?null:De?ie:""}a&&Re&&dt(a.firstChild);for(var p=mt(ze?r:a);u=p.nextNode();)3===u.nodeType&&u===c||bt(u)||(u.content instanceof o&&kt(u.content),_t(u),c=u);if(c=null,ze)return r;if(Ze){if(Le)for(f=ue.call(a.ownerDocument);a.firstChild;)f.appendChild(a.firstChild);else f=a;return ke.shadowroot&&(f=fe.call(n,f,!0)),f}var h=Pe?a.outerHTML:a.innerHTML;return Pe&&we["!doctype"]&&a.ownerDocument&&a.ownerDocument.doctype&&a.ownerDocument.doctype.name&&x(V,a.ownerDocument.doctype.name)&&(h="<!DOCTYPE "+a.ownerDocument.doctype.name+">\n"+h),Ie&&(h=v(h,he," "),h=v(h,me," ")),oe&&De?oe.createHTML(h):h},t.setConfig=function(e){at(e),Ne=!0},t.clearConfig=function(){rt=null,Ne=!1},t.isValidAttribute=function(e,t,n){rt||at({});var r=nt(e),o=nt(t);return xt(r,o,n)},t.addHook=function(e,t){"function"===typeof t&&(pe[e]=pe[e]||[],h(pe[e],t))},t.removeHook=function(e){pe[e]&&p(pe[e])},t.removeHooks=function(e){pe[e]&&(pe[e]=[])},t.removeAllHooks=function(){pe={}},t}return Y()}()},94470:function(e){"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=function(e){return"function"===typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},a=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,o=t.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!o&&!i)return!1;for(r in e);return"undefined"===typeof r||t.call(e,r)},s=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(o)return o(e,n).value}return e[n]};e.exports=function e(){var t,n,r,o,u,c,f=arguments[0],d=1,p=arguments.length,h=!1;for("boolean"===typeof f&&(h=f,f=arguments[1]||{},d=2),(null==f||"object"!==typeof f&&"function"!==typeof f)&&(f={});d<p;++d)if(null!=(t=arguments[d]))for(n in t)r=l(f,n),f!==(o=l(t,n))&&(h&&o&&(a(o)||(u=i(o)))?(u?(u=!1,c=r&&i(r)?r:[]):c=r&&a(r)?r:{},s(f,{name:n,newValue:e(h,c,o)})):"undefined"!==typeof o&&s(f,{name:n,newValue:o}));return f}},93162:function(e,t,n){var r,o,i;o=[],r=function(){"use strict";function t(e,t){return"undefined"==typeof t?t={autoBom:!1}:"object"!=typeof t&&(console.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\ufeff",e],{type:e.type}):e}function r(e,t,n){var r=new XMLHttpRequest;r.open("GET",e),r.responseType="blob",r.onload=function(){l(r.response,t,n)},r.onerror=function(){console.error("could not download file")},r.send()}function o(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return 200<=t.status&&299>=t.status}function i(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(r){var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var a="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof n.g&&n.g.global===n.g?n.g:void 0,s=a.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),l=a.saveAs||("object"!=typeof window||window!==a?function(){}:"download"in HTMLAnchorElement.prototype&&!s?function(e,t,n){var s=a.URL||a.webkitURL,l=document.createElement("a");t=t||e.name||"download",l.download=t,l.rel="noopener","string"==typeof e?(l.href=e,l.origin===location.origin?i(l):o(l.href)?r(e,t,n):i(l,l.target="_blank")):(l.href=s.createObjectURL(e),setTimeout((function(){s.revokeObjectURL(l.href)}),4e4),setTimeout((function(){i(l)}),0))}:"msSaveOrOpenBlob"in navigator?function(e,n,a){if(n=n||e.name||"download","string"!=typeof e)navigator.msSaveOrOpenBlob(t(e,a),n);else if(o(e))r(e,n,a);else{var s=document.createElement("a");s.href=e,s.target="_blank",setTimeout((function(){i(s)}))}}:function(e,t,n,o){if((o=o||open("","_blank"))&&(o.document.title=o.document.body.innerText="downloading..."),"string"==typeof e)return r(e,t,n);var i="application/octet-stream"===e.type,l=/constructor/i.test(a.HTMLElement)||a.safari,u=/CriOS\/[\d]+/.test(navigator.userAgent);if((u||i&&l||s)&&"undefined"!=typeof FileReader){var c=new FileReader;c.onloadend=function(){var e=c.result;e=u?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=e:location=e,o=null},c.readAsDataURL(e)}else{var f=a.URL||a.webkitURL,d=f.createObjectURL(e);o?o.location=d:location.href=d,o=null,setTimeout((function(){f.revokeObjectURL(d)}),4e4)}});a.saveAs=l.saveAs=l,e.exports=l},void 0===(i="function"===typeof r?r.apply(t,o):r)||(e.exports=i)},8679:function(e,t,n){"use strict";var r=n(21296),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={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 l(e){return r.isMemo(e)?a:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var u=Object.defineProperty,c=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(h){var o=p(n);o&&o!==h&&e(t,o,r)}var a=c(n);f&&(a=a.concat(f(n)));for(var s=l(t),m=l(n),g=0;g<a.length;++g){var v=a[g];if(!i[v]&&(!r||!r[v])&&(!m||!m[v])&&(!s||!s[v])){var y=d(n,v);try{u(t,v,y)}catch(b){}}}}return t}},96103:function(e,t){"use strict";var n="function"===typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,f=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,x=n?Symbol.for("react.scope"):60119;function w(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case f:case i:case s:case a:case p:return e;default:switch(e=e&&e.$$typeof){case u:case d:case g:case m:case l:return e;default:return t}}case o:return t}}}function _(e){return w(e)===f}t.AsyncMode=c,t.ConcurrentMode=f,t.ContextConsumer=u,t.ContextProvider=l,t.Element=r,t.ForwardRef=d,t.Fragment=i,t.Lazy=g,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return _(e)||w(e)===c},t.isConcurrentMode=_,t.isContextConsumer=function(e){return w(e)===u},t.isContextProvider=function(e){return w(e)===l},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===d},t.isFragment=function(e){return w(e)===i},t.isLazy=function(e){return w(e)===g},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===p},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===i||e===f||e===s||e===a||e===p||e===h||"object"===typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===u||e.$$typeof===d||e.$$typeof===y||e.$$typeof===b||e.$$typeof===x||e.$$typeof===v)},t.typeOf=w},21296:function(e,t,n){"use strict";e.exports=n(96103)},18139:function(e){var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,l=/^\s+|\s+$/g,u="";function c(e){return e?e.replace(l,u):u}e.exports=function(e,l){if("string"!==typeof e)throw new TypeError("First argument must be a string");if(!e)return[];l=l||{};var f=1,d=1;function p(e){var t=e.match(n);t&&(f+=t.length);var r=e.lastIndexOf("\n");d=~r?e.length-r:d+e.length}function h(){var e={line:f,column:d};return function(t){return t.position=new m(e),b(),t}}function m(e){this.start=e,this.end={line:f,column:d},this.source=l.source}m.prototype.content=e;var g=[];function v(t){var n=new Error(l.source+":"+f+":"+d+": "+t);if(n.reason=t,n.filename=l.source,n.line=f,n.column=d,n.source=e,!l.silent)throw n;g.push(n)}function y(t){var n=t.exec(e);if(n){var r=n[0];return p(r),e=e.slice(r.length),n}}function b(){y(r)}function x(e){var t;for(e=e||[];t=w();)!1!==t&&e.push(t);return e}function w(){var t=h();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;u!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,u===e.charAt(n-1))return v("End of comment missing");var r=e.slice(2,n-2);return d+=2,p(r),e=e.slice(n),d+=2,t({type:"comment",comment:r})}}function _(){var e=h(),n=y(o);if(n){if(w(),!y(i))return v("property missing ':'");var r=y(a),l=e({type:"declaration",property:c(n[0].replace(t,u)),value:r?c(r[0].replace(t,u)):u});return y(s),l}}return b(),function(){var e,t=[];for(x(t);e=_();)!1!==e&&(t.push(e),x(t));return t}()}},29238:function(e,t,n){e.exports=window.DOMPurify||(window.DOMPurify=n(27856).default||n(27856))},55733:function(e,t,n){var r=n(21876).Buffer,o=n(83454);e.exports=function e(t,n,r){function o(a,s){if(!n[a]){if(!t[a]){if(i)return i(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var u=n[a]={exports:{}};t[a][0].call(u.exports,(function(e){return o(t[a][1][e]||e)}),u,u.exports,e,t,n,r)}return n[a].exports}for(var i=void 0,a=0;a<r.length;a++)o(r[a]);return o}({1:[function(e,t,n){"use strict";var r=e("./utils"),o=e("./support"),i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";n.encode=function(e){for(var t,n,o,a,s,l,u,c=[],f=0,d=e.length,p=d,h="string"!==r.getTypeOf(e);f<e.length;)p=d-f,o=h?(t=e[f++],n=f<d?e[f++]:0,f<d?e[f++]:0):(t=e.charCodeAt(f++),n=f<d?e.charCodeAt(f++):0,f<d?e.charCodeAt(f++):0),a=t>>2,s=(3&t)<<4|n>>4,l=1<p?(15&n)<<2|o>>6:64,u=2<p?63&o:64,c.push(i.charAt(a)+i.charAt(s)+i.charAt(l)+i.charAt(u));return c.join("")},n.decode=function(e){var t,n,r,a,s,l,u=0,c=0,f="data:";if(e.substr(0,f.length)===f)throw new Error("Invalid base64 input, it looks like a data url.");var d,p=3*(e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"")).length/4;if(e.charAt(e.length-1)===i.charAt(64)&&p--,e.charAt(e.length-2)===i.charAt(64)&&p--,p%1!=0)throw new Error("Invalid base64 input, bad content length.");for(d=o.uint8array?new Uint8Array(0|p):new Array(0|p);u<e.length;)t=i.indexOf(e.charAt(u++))<<2|(a=i.indexOf(e.charAt(u++)))>>4,n=(15&a)<<4|(s=i.indexOf(e.charAt(u++)))>>2,r=(3&s)<<6|(l=i.indexOf(e.charAt(u++))),d[c++]=t,64!==s&&(d[c++]=n),64!==l&&(d[c++]=r);return d}},{"./support":30,"./utils":32}],2:[function(e,t,n){"use strict";var r=e("./external"),o=e("./stream/DataWorker"),i=e("./stream/Crc32Probe"),a=e("./stream/DataLengthProbe");function s(e,t,n,r,o){this.compressedSize=e,this.uncompressedSize=t,this.crc32=n,this.compression=r,this.compressedContent=o}s.prototype={getContentWorker:function(){var e=new o(r.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new a("data_length")),t=this;return e.on("end",(function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")})),e},getCompressedWorker:function(){return new o(r.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},s.createWorkerFrom=function(e,t,n){return e.pipe(new i).pipe(new a("uncompressedSize")).pipe(t.compressWorker(n)).pipe(new a("compressedSize")).withStreamInfo("compression",t)},t.exports=s},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,t,n){"use strict";var r=e("./stream/GenericWorker");n.STORE={magic:"\0\0",compressWorker:function(e){return new r("STORE compression")},uncompressWorker:function(){return new r("STORE decompression")}},n.DEFLATE=e("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(e,t,n){"use strict";var r=e("./utils"),o=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();t.exports=function(e,t){return void 0!==e&&e.length?"string"!==r.getTypeOf(e)?function(e,t,n,r){var i=o,a=r+n;e^=-1;for(var s=r;s<a;s++)e=e>>>8^i[255&(e^t[s])];return-1^e}(0|t,e,e.length,0):function(e,t,n,r){var i=o,a=r+n;e^=-1;for(var s=r;s<a;s++)e=e>>>8^i[255&(e^t.charCodeAt(s))];return-1^e}(0|t,e,e.length,0):0}},{"./utils":32}],5:[function(e,t,n){"use strict";n.base64=!1,n.binary=!1,n.dir=!1,n.createFolders=!0,n.date=null,n.compression=null,n.compressionOptions=null,n.comment=null,n.unixPermissions=null,n.dosPermissions=null},{}],6:[function(e,t,n){"use strict";var r=null;r="undefined"!=typeof Promise?Promise:e("lie"),t.exports={Promise:r}},{lie:37}],7:[function(e,t,n){"use strict";var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,o=e("pako"),i=e("./utils"),a=e("./stream/GenericWorker"),s=r?"uint8array":"array";function l(e,t){a.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}n.magic="\b\0",i.inherits(l,a),l.prototype.processChunk=function(e){this.meta=e.meta,null===this._pako&&this._createPako(),this._pako.push(i.transformTo(s,e.data),!1)},l.prototype.flush=function(){a.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},l.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this._pako=null},l.prototype._createPako=function(){this._pako=new o[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},n.compressWorker=function(e){return new l("Deflate",e)},n.uncompressWorker=function(){return new l("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(e,t,n){"use strict";function r(e,t){var n,r="";for(n=0;n<t;n++)r+=String.fromCharCode(255&e),e>>>=8;return r}function o(e,t,n,o,a,c){var f,d,p=e.file,h=e.compression,m=c!==s.utf8encode,g=i.transformTo("string",c(p.name)),v=i.transformTo("string",s.utf8encode(p.name)),y=p.comment,b=i.transformTo("string",c(y)),x=i.transformTo("string",s.utf8encode(y)),w=v.length!==p.name.length,_=x.length!==y.length,k="",C="",S="",E=p.dir,T=p.date,O={crc32:0,compressedSize:0,uncompressedSize:0};t&&!n||(O.crc32=e.crc32,O.compressedSize=e.compressedSize,O.uncompressedSize=e.uncompressedSize);var A=0;t&&(A|=8),m||!w&&!_||(A|=2048);var j=0,I=0;E&&(j|=16),"UNIX"===a?(I=798,j|=function(e,t){var n=e;return e||(n=t?16893:33204),(65535&n)<<16}(p.unixPermissions,E)):(I=20,j|=function(e){return 63&(e||0)}(p.dosPermissions)),f=T.getUTCHours(),f<<=6,f|=T.getUTCMinutes(),f<<=5,f|=T.getUTCSeconds()/2,d=T.getUTCFullYear()-1980,d<<=4,d|=T.getUTCMonth()+1,d<<=5,d|=T.getUTCDate(),w&&(C=r(1,1)+r(l(g),4)+v,k+="up"+r(C.length,2)+C),_&&(S=r(1,1)+r(l(b),4)+x,k+="uc"+r(S.length,2)+S);var P="";return P+="\n\0",P+=r(A,2),P+=h.magic,P+=r(f,2),P+=r(d,2),P+=r(O.crc32,4),P+=r(O.compressedSize,4),P+=r(O.uncompressedSize,4),P+=r(g.length,2),P+=r(k.length,2),{fileRecord:u.LOCAL_FILE_HEADER+P+g+k,dirRecord:u.CENTRAL_FILE_HEADER+r(I,2)+P+r(b.length,2)+"\0\0\0\0"+r(j,4)+r(o,4)+g+k+b}}var i=e("../utils"),a=e("../stream/GenericWorker"),s=e("../utf8"),l=e("../crc32"),u=e("../signature");function c(e,t,n,r){a.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=n,this.encodeFileName=r,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}i.inherits(c,a),c.prototype.push=function(e){var t=e.meta.percent||0,n=this.entriesCount,r=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,a.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:n?(t+100*(n-r-1))/n:100}}))},c.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var n=o(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:n.fileRecord,meta:{percent:0}})}else this.accumulate=!0},c.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,n=o(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(n.dirRecord),t)this.push({data:function(e){return u.DATA_DESCRIPTOR+r(e.crc32,4)+r(e.compressedSize,4)+r(e.uncompressedSize,4)}(e),meta:{percent:100}});else for(this.push({data:n.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},c.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t<this.dirRecords.length;t++)this.push({data:this.dirRecords[t],meta:{percent:100}});var n=this.bytesWritten-e,o=function(e,t,n,o,a){var s=i.transformTo("string",a(o));return u.CENTRAL_DIRECTORY_END+"\0\0\0\0"+r(e,2)+r(e,2)+r(t,4)+r(n,4)+r(s.length,2)+s}(this.dirRecords.length,n,e,this.zipComment,this.encodeFileName);this.push({data:o,meta:{percent:100}})},c.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},c.prototype.registerPrevious=function(e){this._sources.push(e);var t=this;return e.on("data",(function(e){t.processChunk(e)})),e.on("end",(function(){t.closedSource(t.previous.streamInfo),t._sources.length?t.prepareNextSource():t.end()})),e.on("error",(function(e){t.error(e)})),this},c.prototype.resume=function(){return!!a.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},c.prototype.error=function(e){var t=this._sources;if(!a.prototype.error.call(this,e))return!1;for(var n=0;n<t.length;n++)try{t[n].error(e)}catch(e){}return!0},c.prototype.lock=function(){a.prototype.lock.call(this);for(var e=this._sources,t=0;t<e.length;t++)e[t].lock()},t.exports=c},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(e,t,n){"use strict";var r=e("../compressions"),o=e("./ZipFileWorker");n.generateWorker=function(e,t,n){var i=new o(t.streamFiles,n,t.platform,t.encodeFileName),a=0;try{e.forEach((function(e,n){a++;var o=function(e,t){var n=e||t,o=r[n];if(!o)throw new Error(n+" is not a valid compression method !");return o}(n.options.compression,t.compression),s=n.options.compressionOptions||t.compressionOptions||{},l=n.dir,u=n.date;n._compressWorker(o,s).withStreamInfo("file",{name:e,dir:l,date:u,comment:n.comment||"",unixPermissions:n.unixPermissions,dosPermissions:n.dosPermissions}).pipe(i)})),i.entriesCount=a}catch(e){i.error(e)}return i}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(e,t,n){"use strict";function r(){if(!(this instanceof r))return new r;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var e=new r;for(var t in this)"function"!=typeof this[t]&&(e[t]=this[t]);return e}}(r.prototype=e("./object")).loadAsync=e("./load"),r.support=e("./support"),r.defaults=e("./defaults"),r.version="3.10.0",r.loadAsync=function(e,t){return(new r).loadAsync(e,t)},r.external=e("./external"),t.exports=r},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(e,t,n){"use strict";var r=e("./utils"),o=e("./external"),i=e("./utf8"),a=e("./zipEntries"),s=e("./stream/Crc32Probe"),l=e("./nodejsUtils");function u(e){return new o.Promise((function(t,n){var r=e.decompressed.getContentWorker().pipe(new s);r.on("error",(function(e){n(e)})).on("end",(function(){r.streamInfo.crc32!==e.decompressed.crc32?n(new Error("Corrupted zip : CRC32 mismatch")):t()})).resume()}))}t.exports=function(e,t){var n=this;return t=r.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:i.utf8decode}),l.isNode&&l.isStream(e)?o.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):r.prepareContent("the loaded zip file",e,!0,t.optimizedBinaryString,t.base64).then((function(e){var n=new a(t);return n.load(e),n})).then((function(e){var n=[o.Promise.resolve(e)],r=e.files;if(t.checkCRC32)for(var i=0;i<r.length;i++)n.push(u(r[i]));return o.Promise.all(n)})).then((function(e){for(var o=e.shift(),i=o.files,a=0;a<i.length;a++){var s=i[a],l=s.fileNameStr,u=r.resolve(s.fileNameStr);n.file(u,s.decompressed,{binary:!0,optimizedBinaryString:!0,date:s.date,dir:s.dir,comment:s.fileCommentStr.length?s.fileCommentStr:null,unixPermissions:s.unixPermissions,dosPermissions:s.dosPermissions,createFolders:t.createFolders}),s.dir||(n.file(u).unsafeOriginalName=l)}return o.zipComment.length&&(n.comment=o.zipComment),n}))}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(e,t,n){"use strict";var r=e("../utils"),o=e("../stream/GenericWorker");function i(e,t){o.call(this,"Nodejs stream input adapter for "+e),this._upstreamEnded=!1,this._bindStream(t)}r.inherits(i,o),i.prototype._bindStream=function(e){var t=this;(this._stream=e).pause(),e.on("data",(function(e){t.push({data:e,meta:{percent:0}})})).on("error",(function(e){t.isPaused?this.generatedError=e:t.error(e)})).on("end",(function(){t.isPaused?t._upstreamEnded=!0:t.end()}))},i.prototype.pause=function(){return!!o.prototype.pause.call(this)&&(this._stream.pause(),!0)},i.prototype.resume=function(){return!!o.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},t.exports=i},{"../stream/GenericWorker":28,"../utils":32}],13:[function(e,t,n){"use strict";var r=e("readable-stream").Readable;function o(e,t,n){r.call(this,t),this._helper=e;var o=this;e.on("data",(function(e,t){o.push(e)||o._helper.pause(),n&&n(t)})).on("error",(function(e){o.emit("error",e)})).on("end",(function(){o.push(null)}))}e("../utils").inherits(o,r),o.prototype._read=function(){this._helper.resume()},t.exports=o},{"../utils":32,"readable-stream":16}],14:[function(e,t,n){"use strict";t.exports={isNode:"undefined"!=typeof r,newBufferFrom:function(e,t){if(r.from&&r.from!==Uint8Array.from)return r.from(e,t);if("number"==typeof e)throw new Error('The "data" argument must not be a number');return new r(e,t)},allocBuffer:function(e){if(r.alloc)return r.alloc(e);var t=new r(e);return t.fill(0),t},isBuffer:function(e){return r.isBuffer(e)},isStream:function(e){return e&&"function"==typeof e.on&&"function"==typeof e.pause&&"function"==typeof e.resume}}},{}],15:[function(e,t,n){"use strict";function r(e,t,n){var r,o=i.getTypeOf(t),s=i.extend(n||{},l);s.date=s.date||new Date,null!==s.compression&&(s.compression=s.compression.toUpperCase()),"string"==typeof s.unixPermissions&&(s.unixPermissions=parseInt(s.unixPermissions,8)),s.unixPermissions&&16384&s.unixPermissions&&(s.dir=!0),s.dosPermissions&&16&s.dosPermissions&&(s.dir=!0),s.dir&&(e=m(e)),s.createFolders&&(r=h(e))&&g.call(this,r,!0);var f="string"===o&&!1===s.binary&&!1===s.base64;n&&void 0!==n.binary||(s.binary=!f),(t instanceof u&&0===t.uncompressedSize||s.dir||!t||0===t.length)&&(s.base64=!1,s.binary=!0,t="",s.compression="STORE",o="string");var v=null;v=t instanceof u||t instanceof a?t:d.isNode&&d.isStream(t)?new p(e,t):i.prepareContent(e,t,s.binary,s.optimizedBinaryString,s.base64);var y=new c(e,v,s);this.files[e]=y}var o=e("./utf8"),i=e("./utils"),a=e("./stream/GenericWorker"),s=e("./stream/StreamHelper"),l=e("./defaults"),u=e("./compressedObject"),c=e("./zipObject"),f=e("./generate"),d=e("./nodejsUtils"),p=e("./nodejs/NodejsStreamInputAdapter"),h=function(e){"/"===e.slice(-1)&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf("/");return 0<t?e.substring(0,t):""},m=function(e){return"/"!==e.slice(-1)&&(e+="/"),e},g=function(e,t){return t=void 0!==t?t:l.createFolders,e=m(e),this.files[e]||r.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]};function v(e){return"[object RegExp]"===Object.prototype.toString.call(e)}var y={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(e){var t,n,r;for(t in this.files)r=this.files[t],(n=t.slice(this.root.length,t.length))&&t.slice(0,this.root.length)===this.root&&e(n,r)},filter:function(e){var t=[];return this.forEach((function(n,r){e(n,r)&&t.push(r)})),t},file:function(e,t,n){if(1!==arguments.length)return e=this.root+e,r.call(this,e,t,n),this;if(v(e)){var o=e;return this.filter((function(e,t){return!t.dir&&o.test(e)}))}var i=this.files[this.root+e];return i&&!i.dir?i:null},folder:function(e){if(!e)return this;if(v(e))return this.filter((function(t,n){return n.dir&&e.test(t)}));var t=this.root+e,n=g.call(this,t),r=this.clone();return r.root=n.name,r},remove:function(e){e=this.root+e;var t=this.files[e];if(t||("/"!==e.slice(-1)&&(e+="/"),t=this.files[e]),t&&!t.dir)delete this.files[e];else for(var n=this.filter((function(t,n){return n.name.slice(0,e.length)===e})),r=0;r<n.length;r++)delete this.files[n[r].name];return this},generate:function(e){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(e){var t,n={};try{if((n=i.extend(e||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:o.utf8encode})).type=n.type.toLowerCase(),n.compression=n.compression.toUpperCase(),"binarystring"===n.type&&(n.type="string"),!n.type)throw new Error("No output type specified.");i.checkSupport(n.type),"darwin"!==n.platform&&"freebsd"!==n.platform&&"linux"!==n.platform&&"sunos"!==n.platform||(n.platform="UNIX"),"win32"===n.platform&&(n.platform="DOS");var r=n.comment||this.comment||"";t=f.generateWorker(this,n,r)}catch(e){(t=new a("error")).error(e)}return new s(t,n.type||"string",n.mimeType)},generateAsync:function(e,t){return this.generateInternalStream(e).accumulate(t)},generateNodeStream:function(e,t){return(e=e||{}).type||(e.type="nodebuffer"),this.generateInternalStream(e).toNodejsStream(t)}};t.exports=y},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(e,t,n){t.exports=e("stream")},{stream:void 0}],17:[function(e,t,n){"use strict";var r=e("./DataReader");function o(e){r.call(this,e);for(var t=0;t<this.data.length;t++)e[t]=255&e[t]}e("../utils").inherits(o,r),o.prototype.byteAt=function(e){return this.data[this.zero+e]},o.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),o=e.charCodeAt(3),i=this.length-4;0<=i;--i)if(this.data[i]===t&&this.data[i+1]===n&&this.data[i+2]===r&&this.data[i+3]===o)return i-this.zero;return-1},o.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),o=e.charCodeAt(3),i=this.readData(4);return t===i[0]&&n===i[1]&&r===i[2]&&o===i[3]},o.prototype.readData=function(e){if(this.checkOffset(e),0===e)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=o},{"../utils":32,"./DataReader":18}],18:[function(e,t,n){"use strict";var r=e("../utils");function o(e){this.data=e,this.length=e.length,this.index=0,this.zero=0}o.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<this.zero+e||e<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+e+"). Corrupted zip ?")},setIndex:function(e){this.checkIndex(e),this.index=e},skip:function(e){this.setIndex(this.index+e)},byteAt:function(e){},readInt:function(e){var t,n=0;for(this.checkOffset(e),t=this.index+e-1;t>=this.index;t--)n=(n<<8)+this.byteAt(t);return this.index+=e,n},readString:function(e){return r.transformTo("string",this.readData(e))},readData:function(e){},lastIndexOfSignature:function(e){},readAndCheckSignature:function(e){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}},t.exports=o},{"../utils":32}],19:[function(e,t,n){"use strict";var r=e("./Uint8ArrayReader");function o(e){r.call(this,e)}e("../utils").inherits(o,r),o.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=o},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(e,t,n){"use strict";var r=e("./DataReader");function o(e){r.call(this,e)}e("../utils").inherits(o,r),o.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},o.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},o.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},o.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=o},{"../utils":32,"./DataReader":18}],21:[function(e,t,n){"use strict";var r=e("./ArrayReader");function o(e){r.call(this,e)}e("../utils").inherits(o,r),o.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=o},{"../utils":32,"./ArrayReader":17}],22:[function(e,t,n){"use strict";var r=e("../utils"),o=e("../support"),i=e("./ArrayReader"),a=e("./StringReader"),s=e("./NodeBufferReader"),l=e("./Uint8ArrayReader");t.exports=function(e){var t=r.getTypeOf(e);return r.checkSupport(t),"string"!==t||o.uint8array?"nodebuffer"===t?new s(e):o.uint8array?new l(r.transformTo("uint8array",e)):new i(r.transformTo("array",e)):new a(e)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(e,t,n){"use strict";n.LOCAL_FILE_HEADER="PK\x03\x04",n.CENTRAL_FILE_HEADER="PK\x01\x02",n.CENTRAL_DIRECTORY_END="PK\x05\x06",n.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x06\x07",n.ZIP64_CENTRAL_DIRECTORY_END="PK\x06\x06",n.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(e,t,n){"use strict";var r=e("./GenericWorker"),o=e("../utils");function i(e){r.call(this,"ConvertWorker to "+e),this.destType=e}o.inherits(i,r),i.prototype.processChunk=function(e){this.push({data:o.transformTo(this.destType,e.data),meta:e.meta})},t.exports=i},{"../utils":32,"./GenericWorker":28}],25:[function(e,t,n){"use strict";var r=e("./GenericWorker"),o=e("../crc32");function i(){r.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}e("../utils").inherits(i,r),i.prototype.processChunk=function(e){this.streamInfo.crc32=o(e.data,this.streamInfo.crc32||0),this.push(e)},t.exports=i},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(e,t,n){"use strict";var r=e("../utils"),o=e("./GenericWorker");function i(e){o.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}r.inherits(i,o),i.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}o.prototype.processChunk.call(this,e)},t.exports=i},{"../utils":32,"./GenericWorker":28}],27:[function(e,t,n){"use strict";var r=e("../utils"),o=e("./GenericWorker");function i(e){o.call(this,"DataWorker");var t=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,e.then((function(e){t.dataIsReady=!0,t.data=e,t.max=e&&e.length||0,t.type=r.getTypeOf(e),t.isPaused||t._tickAndRepeat()}),(function(e){t.error(e)}))}r.inherits(i,o),i.prototype.cleanUp=function(){o.prototype.cleanUp.call(this),this.data=null},i.prototype.resume=function(){return!!o.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,r.delay(this._tickAndRepeat,[],this)),!0)},i.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(r.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},i.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=null,t=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":e=this.data.substring(this.index,t);break;case"uint8array":e=this.data.subarray(this.index,t);break;case"array":case"nodebuffer":e=this.data.slice(this.index,t)}return this.index=t,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})},t.exports=i},{"../utils":32,"./GenericWorker":28}],28:[function(e,t,n){"use strict";function r(e){this.name=e||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}r.prototype={push:function(e){this.emit("data",e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit("error",e)}return!0},error:function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit("error",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,t){return this._listeners[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,t){if(this._listeners[e])for(var n=0;n<this._listeners[e].length;n++)this._listeners[e][n].call(this,t)},pipe:function(e){return e.registerPrevious(this)},registerPrevious:function(e){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=e.streamInfo,this.mergeStreamInfo(),this.previous=e;var t=this;return e.on("data",(function(e){t.processChunk(e)})),e.on("end",(function(){t.end()})),e.on("error",(function(e){t.error(e)})),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var e=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),e=!0),this.previous&&this.previous.resume(),!e},flush:function(){},processChunk:function(e){this.push(e)},withStreamInfo:function(e,t){return this.extraStreamInfo[e]=t,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var e in this.extraStreamInfo)this.extraStreamInfo.hasOwnProperty(e)&&(this.streamInfo[e]=this.extraStreamInfo[e])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var e="Worker "+this.name;return this.previous?this.previous+" -> "+e:e}},t.exports=r},{}],29:[function(e,t,n){"use strict";var o=e("../utils"),i=e("./ConvertWorker"),a=e("./GenericWorker"),s=e("../base64"),l=e("../support"),u=e("../external"),c=null;if(l.nodestream)try{c=e("../nodejs/NodejsStreamOutputAdapter")}catch(e){}function f(e,t){return new u.Promise((function(n,i){var a=[],l=e._internalType,u=e._outputType,c=e._mimeType;e.on("data",(function(e,n){a.push(e),t&&t(n)})).on("error",(function(e){a=[],i(e)})).on("end",(function(){try{var e=function(e,t,n){switch(e){case"blob":return o.newBlob(o.transformTo("arraybuffer",t),n);case"base64":return s.encode(t);default:return o.transformTo(e,t)}}(u,function(e,t){var n,o=0,i=null,a=0;for(n=0;n<t.length;n++)a+=t[n].length;switch(e){case"string":return t.join("");case"array":return Array.prototype.concat.apply([],t);case"uint8array":for(i=new Uint8Array(a),n=0;n<t.length;n++)i.set(t[n],o),o+=t[n].length;return i;case"nodebuffer":return r.concat(t);default:throw new Error("concat : unsupported type '"+e+"'")}}(l,a),c);n(e)}catch(e){i(e)}a=[]})).resume()}))}function d(e,t,n){var r=t;switch(t){case"blob":case"arraybuffer":r="uint8array";break;case"base64":r="string"}try{this._internalType=r,this._outputType=t,this._mimeType=n,o.checkSupport(r),this._worker=e.pipe(new i(r)),e.lock()}catch(e){this._worker=new a("error"),this._worker.error(e)}}d.prototype={accumulate:function(e){return f(this,e)},on:function(e,t){var n=this;return"data"===e?this._worker.on(e,(function(e){t.call(n,e.data,e.meta)})):this._worker.on(e,(function(){o.delay(t,arguments,n)})),this},resume:function(){return o.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(e){if(o.checkSupport("nodestream"),"nodebuffer"!==this._outputType)throw new Error(this._outputType+" is not supported by this method");return new c(this,{objectMode:"nodebuffer"!==this._outputType},e)}},t.exports=d},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(e,t,n){"use strict";if(n.base64=!0,n.array=!0,n.string=!0,n.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,n.nodebuffer="undefined"!=typeof r,n.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)n.blob=!1;else{var o=new ArrayBuffer(0);try{n.blob=0===new Blob([o],{type:"application/zip"}).size}catch(e){try{var i=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);i.append(o),n.blob=0===i.getBlob("application/zip").size}catch(e){n.blob=!1}}}try{n.nodestream=!!e("readable-stream").Readable}catch(e){n.nodestream=!1}},{"readable-stream":16}],31:[function(e,t,n){"use strict";for(var r=e("./utils"),o=e("./support"),i=e("./nodejsUtils"),a=e("./stream/GenericWorker"),s=new Array(256),l=0;l<256;l++)s[l]=252<=l?6:248<=l?5:240<=l?4:224<=l?3:192<=l?2:1;function u(){a.call(this,"utf-8 decode"),this.leftOver=null}function c(){a.call(this,"utf-8 encode")}s[254]=s[254]=1,n.utf8encode=function(e){return o.nodebuffer?i.newBufferFrom(e,"utf-8"):function(e){var t,n,r,i,a,s=e.length,l=0;for(i=0;i<s;i++)55296==(64512&(n=e.charCodeAt(i)))&&i+1<s&&56320==(64512&(r=e.charCodeAt(i+1)))&&(n=65536+(n-55296<<10)+(r-56320),i++),l+=n<128?1:n<2048?2:n<65536?3:4;for(t=o.uint8array?new Uint8Array(l):new Array(l),i=a=0;a<l;i++)55296==(64512&(n=e.charCodeAt(i)))&&i+1<s&&56320==(64512&(r=e.charCodeAt(i+1)))&&(n=65536+(n-55296<<10)+(r-56320),i++),n<128?t[a++]=n:(n<2048?t[a++]=192|n>>>6:(n<65536?t[a++]=224|n>>>12:(t[a++]=240|n>>>18,t[a++]=128|n>>>12&63),t[a++]=128|n>>>6&63),t[a++]=128|63&n);return t}(e)},n.utf8decode=function(e){return o.nodebuffer?r.transformTo("nodebuffer",e).toString("utf-8"):function(e){var t,n,o,i,a=e.length,l=new Array(2*a);for(t=n=0;t<a;)if((o=e[t++])<128)l[n++]=o;else if(4<(i=s[o]))l[n++]=65533,t+=i-1;else{for(o&=2===i?31:3===i?15:7;1<i&&t<a;)o=o<<6|63&e[t++],i--;1<i?l[n++]=65533:o<65536?l[n++]=o:(o-=65536,l[n++]=55296|o>>10&1023,l[n++]=56320|1023&o)}return l.length!==n&&(l.subarray?l=l.subarray(0,n):l.length=n),r.applyFromCharCode(l)}(e=r.transformTo(o.uint8array?"uint8array":"array",e))},r.inherits(u,a),u.prototype.processChunk=function(e){var t=r.transformTo(o.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if(o.uint8array){var i=t;(t=new Uint8Array(i.length+this.leftOver.length)).set(this.leftOver,0),t.set(i,this.leftOver.length)}else t=this.leftOver.concat(t);this.leftOver=null}var a=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;0<=n&&128==(192&e[n]);)n--;return n<0||0===n?t:n+s[e[n]]>t?n:t}(t),l=t;a!==t.length&&(o.uint8array?(l=t.subarray(0,a),this.leftOver=t.subarray(a,t.length)):(l=t.slice(0,a),this.leftOver=t.slice(a,t.length))),this.push({data:n.utf8decode(l),meta:e.meta})},u.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:n.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},n.Utf8DecodeWorker=u,r.inherits(c,a),c.prototype.processChunk=function(e){this.push({data:n.utf8encode(e.data),meta:e.meta})},n.Utf8EncodeWorker=c},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(e,t,n){"use strict";var r=e("./support"),o=e("./base64"),i=e("./nodejsUtils"),a=e("./external");function s(e){return e}function l(e,t){for(var n=0;n<e.length;++n)t[n]=255&e.charCodeAt(n);return t}e("setimmediate"),n.newBlob=function(t,r){n.checkSupport("blob");try{return new Blob([t],{type:r})}catch(e){try{var o=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return o.append(t),o.getBlob(r)}catch(e){throw new Error("Bug : can't construct the Blob.")}}};var u={stringifyByChunk:function(e,t,n){var r=[],o=0,i=e.length;if(i<=n)return String.fromCharCode.apply(null,e);for(;o<i;)"array"===t||"nodebuffer"===t?r.push(String.fromCharCode.apply(null,e.slice(o,Math.min(o+n,i)))):r.push(String.fromCharCode.apply(null,e.subarray(o,Math.min(o+n,i)))),o+=n;return r.join("")},stringifyByChar:function(e){for(var t="",n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return t},applyCanBeUsed:{uint8array:function(){try{return r.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(e){return!1}}(),nodebuffer:function(){try{return r.nodebuffer&&1===String.fromCharCode.apply(null,i.allocBuffer(1)).length}catch(e){return!1}}()}};function c(e){var t=65536,r=n.getTypeOf(e),o=!0;if("uint8array"===r?o=u.applyCanBeUsed.uint8array:"nodebuffer"===r&&(o=u.applyCanBeUsed.nodebuffer),o)for(;1<t;)try{return u.stringifyByChunk(e,r,t)}catch(e){t=Math.floor(t/2)}return u.stringifyByChar(e)}function f(e,t){for(var n=0;n<e.length;n++)t[n]=e[n];return t}n.applyFromCharCode=c;var d={};d.string={string:s,array:function(e){return l(e,new Array(e.length))},arraybuffer:function(e){return d.string.uint8array(e).buffer},uint8array:function(e){return l(e,new Uint8Array(e.length))},nodebuffer:function(e){return l(e,i.allocBuffer(e.length))}},d.array={string:c,array:s,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return i.newBufferFrom(e)}},d.arraybuffer={string:function(e){return c(new Uint8Array(e))},array:function(e){return f(new Uint8Array(e),new Array(e.byteLength))},arraybuffer:s,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return i.newBufferFrom(new Uint8Array(e))}},d.uint8array={string:c,array:function(e){return f(e,new Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:s,nodebuffer:function(e){return i.newBufferFrom(e)}},d.nodebuffer={string:c,array:function(e){return f(e,new Array(e.length))},arraybuffer:function(e){return d.nodebuffer.uint8array(e).buffer},uint8array:function(e){return f(e,new Uint8Array(e.length))},nodebuffer:s},n.transformTo=function(e,t){if(t=t||"",!e)return t;n.checkSupport(e);var r=n.getTypeOf(t);return d[r][e](t)},n.resolve=function(e){for(var t=e.split("/"),n=[],r=0;r<t.length;r++){var o=t[r];"."===o||""===o&&0!==r&&r!==t.length-1||(".."===o?n.pop():n.push(o))}return n.join("/")},n.getTypeOf=function(e){return"string"==typeof e?"string":"[object Array]"===Object.prototype.toString.call(e)?"array":r.nodebuffer&&i.isBuffer(e)?"nodebuffer":r.uint8array&&e instanceof Uint8Array?"uint8array":r.arraybuffer&&e instanceof ArrayBuffer?"arraybuffer":void 0},n.checkSupport=function(e){if(!r[e.toLowerCase()])throw new Error(e+" is not supported by this platform")},n.MAX_VALUE_16BITS=65535,n.MAX_VALUE_32BITS=-1,n.pretty=function(e){var t,n,r="";for(n=0;n<(e||"").length;n++)r+="\\x"+((t=e.charCodeAt(n))<16?"0":"")+t.toString(16).toUpperCase();return r},n.delay=function(e,t,n){setImmediate((function(){e.apply(n||null,t||[])}))},n.inherits=function(e,t){function n(){}n.prototype=t.prototype,e.prototype=new n},n.extend=function(){var e,t,n={};for(e=0;e<arguments.length;e++)for(t in arguments[e])arguments[e].hasOwnProperty(t)&&void 0===n[t]&&(n[t]=arguments[e][t]);return n},n.prepareContent=function(e,t,i,s,u){return a.Promise.resolve(t).then((function(e){return r.blob&&(e instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(e)))&&"undefined"!=typeof FileReader?new a.Promise((function(t,n){var r=new FileReader;r.onload=function(e){t(e.target.result)},r.onerror=function(e){n(e.target.error)},r.readAsArrayBuffer(e)})):e})).then((function(t){var c=n.getTypeOf(t);return c?("arraybuffer"===c?t=n.transformTo("uint8array",t):"string"===c&&(u?t=o.decode(t):i&&!0!==s&&(t=function(e){return l(e,r.uint8array?new Uint8Array(e.length):new Array(e.length))}(t))),t):a.Promise.reject(new Error("Can't read the data of '"+e+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))}))}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(e,t,n){"use strict";var r=e("./reader/readerFor"),o=e("./utils"),i=e("./signature"),a=e("./zipEntry"),s=(e("./utf8"),e("./support"));function l(e){this.files=[],this.loadOptions=e}l.prototype={checkSignature:function(e){if(!this.reader.readAndCheckSignature(e)){this.reader.index-=4;var t=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+o.pretty(t)+", expected "+o.pretty(e)+")")}},isSignature:function(e,t){var n=this.reader.index;this.reader.setIndex(e);var r=this.reader.readString(4)===t;return this.reader.setIndex(n),r},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var e=this.reader.readData(this.zipCommentLength),t=s.uint8array?"uint8array":"array",n=o.transformTo(t,e);this.zipComment=this.loadOptions.decodeFileName(n)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var e,t,n,r=this.zip64EndOfCentralSize-44;0<r;)e=this.reader.readInt(2),t=this.reader.readInt(4),n=this.reader.readData(t),this.zip64ExtensibleData[e]={id:e,length:t,value:n}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var e,t;for(e=0;e<this.files.length;e++)t=this.files[e],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(i.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},readCentralDir:function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(i.CENTRAL_FILE_HEADER);)(e=new a({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(e);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var e=this.reader.lastIndexOfSignature(i.CENTRAL_DIRECTORY_END);if(e<0)throw this.isSignature(0,i.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(e);var t=e;if(this.checkSignature(i.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===o.MAX_VALUE_16BITS||this.diskWithCentralDirStart===o.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===o.MAX_VALUE_16BITS||this.centralDirRecords===o.MAX_VALUE_16BITS||this.centralDirSize===o.MAX_VALUE_32BITS||this.centralDirOffset===o.MAX_VALUE_32BITS){if(this.zip64=!0,(e=this.reader.lastIndexOfSignature(i.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(e),this.checkSignature(i.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,i.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(i.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(i.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var n=this.centralDirOffset+this.centralDirSize;this.zip64&&(n+=20,n+=12+this.zip64EndOfCentralSize);var r=t-n;if(0<r)this.isSignature(t,i.CENTRAL_FILE_HEADER)||(this.reader.zero=r);else if(r<0)throw new Error("Corrupted zip: missing "+Math.abs(r)+" bytes.")},prepareReader:function(e){this.reader=r(e)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},t.exports=l},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utf8":31,"./utils":32,"./zipEntry":34}],34:[function(e,t,n){"use strict";var r=e("./reader/readerFor"),o=e("./utils"),i=e("./compressedObject"),a=e("./crc32"),s=e("./utf8"),l=e("./compressions"),u=e("./support");function c(e,t){this.options=e,this.loadOptions=t}c.prototype={isEncrypted:function(){return 1==(1&this.bitFlag)},useUTF8:function(){return 2048==(2048&this.bitFlag)},readLocalPart:function(e){var t,n;if(e.skip(22),this.fileNameLength=e.readInt(2),n=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(n),-1===this.compressedSize||-1===this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(null===(t=function(e){for(var t in l)if(l.hasOwnProperty(t)&&l[t].magic===e)return l[t];return null}(this.compressionMethod)))throw new Error("Corrupted zip : compression "+o.pretty(this.compressionMethod)+" unknown (inner file : "+o.transformTo("string",this.fileName)+")");this.decompressed=new i(this.compressedSize,this.uncompressedSize,this.crc32,t,e.readData(this.compressedSize))},readCentralPart:function(e){this.versionMadeBy=e.readInt(2),e.skip(2),this.bitFlag=e.readInt(2),this.compressionMethod=e.readString(2),this.date=e.readDate(),this.crc32=e.readInt(4),this.compressedSize=e.readInt(4),this.uncompressedSize=e.readInt(4);var t=e.readInt(2);if(this.extraFieldsLength=e.readInt(2),this.fileCommentLength=e.readInt(2),this.diskNumberStart=e.readInt(2),this.internalFileAttributes=e.readInt(2),this.externalFileAttributes=e.readInt(4),this.localHeaderOffset=e.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");e.skip(t),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var e=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0==e&&(this.dosPermissions=63&this.externalFileAttributes),3==e&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(e){if(this.extraFields[1]){var t=r(this.extraFields[1].value);this.uncompressedSize===o.MAX_VALUE_32BITS&&(this.uncompressedSize=t.readInt(8)),this.compressedSize===o.MAX_VALUE_32BITS&&(this.compressedSize=t.readInt(8)),this.localHeaderOffset===o.MAX_VALUE_32BITS&&(this.localHeaderOffset=t.readInt(8)),this.diskNumberStart===o.MAX_VALUE_32BITS&&(this.diskNumberStart=t.readInt(4))}},readExtraFields:function(e){var t,n,r,o=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index+4<o;)t=e.readInt(2),n=e.readInt(2),r=e.readData(n),this.extraFields[t]={id:t,length:n,value:r};e.setIndex(o)},handleUTF8:function(){var e=u.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=s.utf8decode(this.fileName),this.fileCommentStr=s.utf8decode(this.fileComment);else{var t=this.findExtraFieldUnicodePath();if(null!==t)this.fileNameStr=t;else{var n=o.transformTo(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(n)}var r=this.findExtraFieldUnicodeComment();if(null!==r)this.fileCommentStr=r;else{var i=o.transformTo(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(i)}}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var t=r(e.value);return 1!==t.readInt(1)||a(this.fileName)!==t.readInt(4)?null:s.utf8decode(t.readData(e.length-5))}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var t=r(e.value);return 1!==t.readInt(1)||a(this.fileComment)!==t.readInt(4)?null:s.utf8decode(t.readData(e.length-5))}return null}},t.exports=c},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(e,t,n){"use strict";function r(e,t,n){this.name=e,this.dir=n.dir,this.date=n.date,this.comment=n.comment,this.unixPermissions=n.unixPermissions,this.dosPermissions=n.dosPermissions,this._data=t,this._dataBinary=n.binary,this.options={compression:n.compression,compressionOptions:n.compressionOptions}}var o=e("./stream/StreamHelper"),i=e("./stream/DataWorker"),a=e("./utf8"),s=e("./compressedObject"),l=e("./stream/GenericWorker");r.prototype={internalStream:function(e){var t=null,n="string";try{if(!e)throw new Error("No output type specified.");var r="string"===(n=e.toLowerCase())||"text"===n;"binarystring"!==n&&"text"!==n||(n="string"),t=this._decompressWorker();var i=!this._dataBinary;i&&!r&&(t=t.pipe(new a.Utf8EncodeWorker)),!i&&r&&(t=t.pipe(new a.Utf8DecodeWorker))}catch(e){(t=new l("error")).error(e)}return new o(t,n,"")},async:function(e,t){return this.internalStream(e).accumulate(t)},nodeStream:function(e,t){return this.internalStream(e||"nodebuffer").toNodejsStream(t)},_compressWorker:function(e,t){if(this._data instanceof s&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var n=this._decompressWorker();return this._dataBinary||(n=n.pipe(new a.Utf8EncodeWorker)),s.createWorkerFrom(n,e,t)},_decompressWorker:function(){return this._data instanceof s?this._data.getContentWorker():this._data instanceof l?this._data:new i(this._data)}};for(var u=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],c=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},f=0;f<u.length;f++)r.prototype[u[f]]=c;t.exports=r},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(e,t,r){(function(e){"use strict";var n,r,o=e.MutationObserver||e.WebKitMutationObserver;if(o){var i=0,a=new o(c),s=e.document.createTextNode("");a.observe(s,{characterData:!0}),n=function(){s.data=i=++i%2}}else if(e.setImmediate||void 0===e.MessageChannel)n="document"in e&&"onreadystatechange"in e.document.createElement("script")?function(){var t=e.document.createElement("script");t.onreadystatechange=function(){c(),t.onreadystatechange=null,t.parentNode.removeChild(t),t=null},e.document.documentElement.appendChild(t)}:function(){setTimeout(c,0)};else{var l=new e.MessageChannel;l.port1.onmessage=c,n=function(){l.port2.postMessage(0)}}var u=[];function c(){var e,t;r=!0;for(var n=u.length;n;){for(t=u,u=[],e=-1;++e<n;)t[e]();n=u.length}r=!1}t.exports=function(e){1!==u.push(e)||r||n()}}).call(this,"undefined"!=typeof n.g?n.g:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],37:[function(e,t,n){"use strict";var r=e("immediate");function o(){}var i={},a=["REJECTED"],s=["FULFILLED"],l=["PENDING"];function u(e){if("function"!=typeof e)throw new TypeError("resolver must be a function");this.state=l,this.queue=[],this.outcome=void 0,e!==o&&p(this,e)}function c(e,t,n){this.promise=e,"function"==typeof t&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),"function"==typeof n&&(this.onRejected=n,this.callRejected=this.otherCallRejected)}function f(e,t,n){r((function(){var r;try{r=t(n)}catch(r){return i.reject(e,r)}r===e?i.reject(e,new TypeError("Cannot resolve promise with itself")):i.resolve(e,r)}))}function d(e){var t=e&&e.then;if(e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof t)return function(){t.apply(e,arguments)}}function p(e,t){var n=!1;function r(t){n||(n=!0,i.reject(e,t))}function o(t){n||(n=!0,i.resolve(e,t))}var a=h((function(){t(o,r)}));"error"===a.status&&r(a.value)}function h(e,t){var n={};try{n.value=e(t),n.status="success"}catch(e){n.status="error",n.value=e}return n}(t.exports=u).prototype.finally=function(e){if("function"!=typeof e)return this;var t=this.constructor;return this.then((function(n){return t.resolve(e()).then((function(){return n}))}),(function(n){return t.resolve(e()).then((function(){throw n}))}))},u.prototype.catch=function(e){return this.then(null,e)},u.prototype.then=function(e,t){if("function"!=typeof e&&this.state===s||"function"!=typeof t&&this.state===a)return this;var n=new this.constructor(o);return this.state!==l?f(n,this.state===s?e:t,this.outcome):this.queue.push(new c(n,e,t)),n},c.prototype.callFulfilled=function(e){i.resolve(this.promise,e)},c.prototype.otherCallFulfilled=function(e){f(this.promise,this.onFulfilled,e)},c.prototype.callRejected=function(e){i.reject(this.promise,e)},c.prototype.otherCallRejected=function(e){f(this.promise,this.onRejected,e)},i.resolve=function(e,t){var n=h(d,t);if("error"===n.status)return i.reject(e,n.value);var r=n.value;if(r)p(e,r);else{e.state=s,e.outcome=t;for(var o=-1,a=e.queue.length;++o<a;)e.queue[o].callFulfilled(t)}return e},i.reject=function(e,t){e.state=a,e.outcome=t;for(var n=-1,r=e.queue.length;++n<r;)e.queue[n].callRejected(t);return e},u.resolve=function(e){return e instanceof this?e:i.resolve(new this(o),e)},u.reject=function(e){var t=new this(o);return i.reject(t,e)},u.all=function(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var n=e.length,r=!1;if(!n)return this.resolve([]);for(var a=new Array(n),s=0,l=-1,u=new this(o);++l<n;)c(e[l],l);return u;function c(e,o){t.resolve(e).then((function(e){a[o]=e,++s!==n||r||(r=!0,i.resolve(u,a))}),(function(e){r||(r=!0,i.reject(u,e))}))}},u.race=function(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var n=e.length,r=!1;if(!n)return this.resolve([]);for(var a,s=-1,l=new this(o);++s<n;)a=e[s],t.resolve(a).then((function(e){r||(r=!0,i.resolve(l,e))}),(function(e){r||(r=!0,i.reject(l,e))}));return l}},{immediate:36}],38:[function(e,t,n){"use strict";var r={};(0,e("./lib/utils/common").assign)(r,e("./lib/deflate"),e("./lib/inflate"),e("./lib/zlib/constants")),t.exports=r},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(e,t,n){"use strict";var r=e("./zlib/deflate"),o=e("./utils/common"),i=e("./utils/strings"),a=e("./zlib/messages"),s=e("./zlib/zstream"),l=Object.prototype.toString,u=0,c=-1,f=0,d=8;function p(e){if(!(this instanceof p))return new p(e);this.options=o.assign({level:c,method:d,chunkSize:16384,windowBits:15,memLevel:8,strategy:f,to:""},e||{});var t=this.options;t.raw&&0<t.windowBits?t.windowBits=-t.windowBits:t.gzip&&0<t.windowBits&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new s,this.strm.avail_out=0;var n=r.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==u)throw new Error(a[n]);if(t.header&&r.deflateSetHeader(this.strm,t.header),t.dictionary){var h;if(h="string"==typeof t.dictionary?i.string2buf(t.dictionary):"[object ArrayBuffer]"===l.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,(n=r.deflateSetDictionary(this.strm,h))!==u)throw new Error(a[n]);this._dict_set=!0}}function h(e,t){var n=new p(t);if(n.push(e,!0),n.err)throw n.msg||a[n.err];return n.result}p.prototype.push=function(e,t){var n,a,s=this.strm,c=this.options.chunkSize;if(this.ended)return!1;a=t===~~t?t:!0===t?4:0,"string"==typeof e?s.input=i.string2buf(e):"[object ArrayBuffer]"===l.call(e)?s.input=new Uint8Array(e):s.input=e,s.next_in=0,s.avail_in=s.input.length;do{if(0===s.avail_out&&(s.output=new o.Buf8(c),s.next_out=0,s.avail_out=c),1!==(n=r.deflate(s,a))&&n!==u)return this.onEnd(n),!(this.ended=!0);0!==s.avail_out&&(0!==s.avail_in||4!==a&&2!==a)||("string"===this.options.to?this.onData(i.buf2binstring(o.shrinkBuf(s.output,s.next_out))):this.onData(o.shrinkBuf(s.output,s.next_out)))}while((0<s.avail_in||0===s.avail_out)&&1!==n);return 4===a?(n=r.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===u):2!==a||(this.onEnd(u),!(s.avail_out=0))},p.prototype.onData=function(e){this.chunks.push(e)},p.prototype.onEnd=function(e){e===u&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=o.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},n.Deflate=p,n.deflate=h,n.deflateRaw=function(e,t){return(t=t||{}).raw=!0,h(e,t)},n.gzip=function(e,t){return(t=t||{}).gzip=!0,h(e,t)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(e,t,n){"use strict";var r=e("./zlib/inflate"),o=e("./utils/common"),i=e("./utils/strings"),a=e("./zlib/constants"),s=e("./zlib/messages"),l=e("./zlib/zstream"),u=e("./zlib/gzheader"),c=Object.prototype.toString;function f(e){if(!(this instanceof f))return new f(e);this.options=o.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&0<=t.windowBits&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(0<=t.windowBits&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),15<t.windowBits&&t.windowBits<48&&0==(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new l,this.strm.avail_out=0;var n=r.inflateInit2(this.strm,t.windowBits);if(n!==a.Z_OK)throw new Error(s[n]);this.header=new u,r.inflateGetHeader(this.strm,this.header)}function d(e,t){var n=new f(t);if(n.push(e,!0),n.err)throw n.msg||s[n.err];return n.result}f.prototype.push=function(e,t){var n,s,l,u,f,d,p=this.strm,h=this.options.chunkSize,m=this.options.dictionary,g=!1;if(this.ended)return!1;s=t===~~t?t:!0===t?a.Z_FINISH:a.Z_NO_FLUSH,"string"==typeof e?p.input=i.binstring2buf(e):"[object ArrayBuffer]"===c.call(e)?p.input=new Uint8Array(e):p.input=e,p.next_in=0,p.avail_in=p.input.length;do{if(0===p.avail_out&&(p.output=new o.Buf8(h),p.next_out=0,p.avail_out=h),(n=r.inflate(p,a.Z_NO_FLUSH))===a.Z_NEED_DICT&&m&&(d="string"==typeof m?i.string2buf(m):"[object ArrayBuffer]"===c.call(m)?new Uint8Array(m):m,n=r.inflateSetDictionary(this.strm,d)),n===a.Z_BUF_ERROR&&!0===g&&(n=a.Z_OK,g=!1),n!==a.Z_STREAM_END&&n!==a.Z_OK)return this.onEnd(n),!(this.ended=!0);p.next_out&&(0!==p.avail_out&&n!==a.Z_STREAM_END&&(0!==p.avail_in||s!==a.Z_FINISH&&s!==a.Z_SYNC_FLUSH)||("string"===this.options.to?(l=i.utf8border(p.output,p.next_out),u=p.next_out-l,f=i.buf2string(p.output,l),p.next_out=u,p.avail_out=h-u,u&&o.arraySet(p.output,p.output,l,u,0),this.onData(f)):this.onData(o.shrinkBuf(p.output,p.next_out)))),0===p.avail_in&&0===p.avail_out&&(g=!0)}while((0<p.avail_in||0===p.avail_out)&&n!==a.Z_STREAM_END);return n===a.Z_STREAM_END&&(s=a.Z_FINISH),s===a.Z_FINISH?(n=r.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===a.Z_OK):s!==a.Z_SYNC_FLUSH||(this.onEnd(a.Z_OK),!(p.avail_out=0))},f.prototype.onData=function(e){this.chunks.push(e)},f.prototype.onEnd=function(e){e===a.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=o.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},n.Inflate=f,n.inflate=d,n.inflateRaw=function(e,t){return(t=t||{}).raw=!0,d(e,t)},n.ungzip=d},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(e,t,n){"use strict";var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;n.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var n=t.shift();if(n){if("object"!=typeof n)throw new TypeError(n+"must be non-object");for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}}return e},n.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var o={arraySet:function(e,t,n,r,o){if(t.subarray&&e.subarray)e.set(t.subarray(n,n+r),o);else for(var i=0;i<r;i++)e[o+i]=t[n+i]},flattenChunks:function(e){var t,n,r,o,i,a;for(t=r=0,n=e.length;t<n;t++)r+=e[t].length;for(a=new Uint8Array(r),t=o=0,n=e.length;t<n;t++)i=e[t],a.set(i,o),o+=i.length;return a}},i={arraySet:function(e,t,n,r,o){for(var i=0;i<r;i++)e[o+i]=t[n+i]},flattenChunks:function(e){return[].concat.apply([],e)}};n.setTyped=function(e){e?(n.Buf8=Uint8Array,n.Buf16=Uint16Array,n.Buf32=Int32Array,n.assign(n,o)):(n.Buf8=Array,n.Buf16=Array,n.Buf32=Array,n.assign(n,i))},n.setTyped(r)},{}],42:[function(e,t,n){"use strict";var r=e("./common"),o=!0,i=!0;try{String.fromCharCode.apply(null,[0])}catch(e){o=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){i=!1}for(var a=new r.Buf8(256),s=0;s<256;s++)a[s]=252<=s?6:248<=s?5:240<=s?4:224<=s?3:192<=s?2:1;function l(e,t){if(t<65537&&(e.subarray&&i||!e.subarray&&o))return String.fromCharCode.apply(null,r.shrinkBuf(e,t));for(var n="",a=0;a<t;a++)n+=String.fromCharCode(e[a]);return n}a[254]=a[254]=1,n.string2buf=function(e){var t,n,o,i,a,s=e.length,l=0;for(i=0;i<s;i++)55296==(64512&(n=e.charCodeAt(i)))&&i+1<s&&56320==(64512&(o=e.charCodeAt(i+1)))&&(n=65536+(n-55296<<10)+(o-56320),i++),l+=n<128?1:n<2048?2:n<65536?3:4;for(t=new r.Buf8(l),i=a=0;a<l;i++)55296==(64512&(n=e.charCodeAt(i)))&&i+1<s&&56320==(64512&(o=e.charCodeAt(i+1)))&&(n=65536+(n-55296<<10)+(o-56320),i++),n<128?t[a++]=n:(n<2048?t[a++]=192|n>>>6:(n<65536?t[a++]=224|n>>>12:(t[a++]=240|n>>>18,t[a++]=128|n>>>12&63),t[a++]=128|n>>>6&63),t[a++]=128|63&n);return t},n.buf2binstring=function(e){return l(e,e.length)},n.binstring2buf=function(e){for(var t=new r.Buf8(e.length),n=0,o=t.length;n<o;n++)t[n]=e.charCodeAt(n);return t},n.buf2string=function(e,t){var n,r,o,i,s=t||e.length,u=new Array(2*s);for(n=r=0;n<s;)if((o=e[n++])<128)u[r++]=o;else if(4<(i=a[o]))u[r++]=65533,n+=i-1;else{for(o&=2===i?31:3===i?15:7;1<i&&n<s;)o=o<<6|63&e[n++],i--;1<i?u[r++]=65533:o<65536?u[r++]=o:(o-=65536,u[r++]=55296|o>>10&1023,u[r++]=56320|1023&o)}return l(u,r)},n.utf8border=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;0<=n&&128==(192&e[n]);)n--;return n<0||0===n?t:n+a[e[n]]>t?n:t}},{"./common":41}],43:[function(e,t,n){"use strict";t.exports=function(e,t,n,r){for(var o=65535&e|0,i=e>>>16&65535|0,a=0;0!==n;){for(n-=a=2e3<n?2e3:n;i=i+(o=o+t[r++]|0)|0,--a;);o%=65521,i%=65521}return o|i<<16|0}},{}],44:[function(e,t,n){"use strict";t.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(e,t,n){"use strict";var r=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();t.exports=function(e,t,n,o){var i=r,a=o+n;e^=-1;for(var s=o;s<a;s++)e=e>>>8^i[255&(e^t[s])];return-1^e}},{}],46:[function(e,t,n){"use strict";var r,o=e("../utils/common"),i=e("./trees"),a=e("./adler32"),s=e("./crc32"),l=e("./messages"),u=0,c=4,f=0,d=-2,p=-1,h=4,m=2,g=8,v=9,y=286,b=30,x=19,w=2*y+1,_=15,k=3,C=258,S=C+k+1,E=42,T=113,O=1,A=2,j=3,I=4;function P(e,t){return e.msg=l[t],t}function N(e){return(e<<1)-(4<e?9:0)}function R(e){for(var t=e.length;0<=--t;)e[t]=0}function Z(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),0!==n&&(o.arraySet(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending&&(t.pending_out=0))}function L(e,t){i._tr_flush_block(e,0<=e.block_start?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,Z(e.strm)}function D(e,t){e.pending_buf[e.pending++]=t}function F(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function M(e,t){var n,r,o=e.max_chain_length,i=e.strstart,a=e.prev_length,s=e.nice_match,l=e.strstart>e.w_size-S?e.strstart-(e.w_size-S):0,u=e.window,c=e.w_mask,f=e.prev,d=e.strstart+C,p=u[i+a-1],h=u[i+a];e.prev_length>=e.good_match&&(o>>=2),s>e.lookahead&&(s=e.lookahead);do{if(u[(n=t)+a]===h&&u[n+a-1]===p&&u[n]===u[i]&&u[++n]===u[i+1]){i+=2,n++;do{}while(u[++i]===u[++n]&&u[++i]===u[++n]&&u[++i]===u[++n]&&u[++i]===u[++n]&&u[++i]===u[++n]&&u[++i]===u[++n]&&u[++i]===u[++n]&&u[++i]===u[++n]&&i<d);if(r=C-(d-i),i=d-C,a<r){if(e.match_start=t,s<=(a=r))break;p=u[i+a-1],h=u[i+a]}}}while((t=f[t&c])>l&&0!=--o);return a<=e.lookahead?a:e.lookahead}function z(e){var t,n,r,i,l,u,c,f,d,p,h=e.w_size;do{if(i=e.window_size-e.lookahead-e.strstart,e.strstart>=h+(h-S)){for(o.arraySet(e.window,e.window,h,h,0),e.match_start-=h,e.strstart-=h,e.block_start-=h,t=n=e.hash_size;r=e.head[--t],e.head[t]=h<=r?r-h:0,--n;);for(t=n=h;r=e.prev[--t],e.prev[t]=h<=r?r-h:0,--n;);i+=h}if(0===e.strm.avail_in)break;if(u=e.strm,c=e.window,f=e.strstart+e.lookahead,p=void 0,(d=i)<(p=u.avail_in)&&(p=d),n=0===p?0:(u.avail_in-=p,o.arraySet(c,u.input,u.next_in,p,f),1===u.state.wrap?u.adler=a(u.adler,c,p,f):2===u.state.wrap&&(u.adler=s(u.adler,c,p,f)),u.next_in+=p,u.total_in+=p,p),e.lookahead+=n,e.lookahead+e.insert>=k)for(l=e.strstart-e.insert,e.ins_h=e.window[l],e.ins_h=(e.ins_h<<e.hash_shift^e.window[l+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[l+k-1])&e.hash_mask,e.prev[l&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=l,l++,e.insert--,!(e.lookahead+e.insert<k)););}while(e.lookahead<S&&0!==e.strm.avail_in)}function B(e,t){for(var n,r;;){if(e.lookahead<S){if(z(e),e.lookahead<S&&t===u)return O;if(0===e.lookahead)break}if(n=0,e.lookahead>=k&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+k-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==n&&e.strstart-n<=e.w_size-S&&(e.match_length=M(e,n)),e.match_length>=k)if(r=i._tr_tally(e,e.strstart-e.match_start,e.match_length-k),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=k){for(e.match_length--;e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+k-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart,0!=--e.match_length;);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else r=i._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(L(e,!1),0===e.strm.avail_out))return O}return e.insert=e.strstart<k-1?e.strstart:k-1,t===c?(L(e,!0),0===e.strm.avail_out?j:I):e.last_lit&&(L(e,!1),0===e.strm.avail_out)?O:A}function H(e,t){for(var n,r,o;;){if(e.lookahead<S){if(z(e),e.lookahead<S&&t===u)return O;if(0===e.lookahead)break}if(n=0,e.lookahead>=k&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+k-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=k-1,0!==n&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-S&&(e.match_length=M(e,n),e.match_length<=5&&(1===e.strategy||e.match_length===k&&4096<e.strstart-e.match_start)&&(e.match_length=k-1)),e.prev_length>=k&&e.match_length<=e.prev_length){for(o=e.strstart+e.lookahead-k,r=i._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-k),e.lookahead-=e.prev_length-1,e.prev_length-=2;++e.strstart<=o&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+k-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!=--e.prev_length;);if(e.match_available=0,e.match_length=k-1,e.strstart++,r&&(L(e,!1),0===e.strm.avail_out))return O}else if(e.match_available){if((r=i._tr_tally(e,0,e.window[e.strstart-1]))&&L(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return O}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(r=i._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<k-1?e.strstart:k-1,t===c?(L(e,!0),0===e.strm.avail_out?j:I):e.last_lit&&(L(e,!1),0===e.strm.avail_out)?O:A}function $(e,t,n,r,o){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=o}function U(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=g,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new o.Buf16(2*w),this.dyn_dtree=new o.Buf16(2*(2*b+1)),this.bl_tree=new o.Buf16(2*(2*x+1)),R(this.dyn_ltree),R(this.dyn_dtree),R(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new o.Buf16(_+1),this.heap=new o.Buf16(2*y+1),R(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new o.Buf16(2*y+1),R(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function V(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=m,(t=e.state).pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?E:T,e.adler=2===t.wrap?0:1,t.last_flush=u,i._tr_init(t),f):P(e,d)}function G(e){var t=V(e);return t===f&&function(e){e.window_size=2*e.w_size,R(e.head),e.max_lazy_match=r[e.level].max_lazy,e.good_match=r[e.level].good_length,e.nice_match=r[e.level].nice_length,e.max_chain_length=r[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=k-1,e.match_available=0,e.ins_h=0}(e.state),t}function W(e,t,n,r,i,a){if(!e)return d;var s=1;if(t===p&&(t=6),r<0?(s=0,r=-r):15<r&&(s=2,r-=16),i<1||v<i||n!==g||r<8||15<r||t<0||9<t||a<0||h<a)return P(e,d);8===r&&(r=9);var l=new U;return(e.state=l).strm=e,l.wrap=s,l.gzhead=null,l.w_bits=r,l.w_size=1<<l.w_bits,l.w_mask=l.w_size-1,l.hash_bits=i+7,l.hash_size=1<<l.hash_bits,l.hash_mask=l.hash_size-1,l.hash_shift=~~((l.hash_bits+k-1)/k),l.window=new o.Buf8(2*l.w_size),l.head=new o.Buf16(l.hash_size),l.prev=new o.Buf16(l.w_size),l.lit_bufsize=1<<i+6,l.pending_buf_size=4*l.lit_bufsize,l.pending_buf=new o.Buf8(l.pending_buf_size),l.d_buf=1*l.lit_bufsize,l.l_buf=3*l.lit_bufsize,l.level=t,l.strategy=a,l.method=n,G(e)}r=[new $(0,0,0,0,(function(e,t){var n=65535;for(n>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(z(e),0===e.lookahead&&t===u)return O;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var r=e.block_start+n;if((0===e.strstart||e.strstart>=r)&&(e.lookahead=e.strstart-r,e.strstart=r,L(e,!1),0===e.strm.avail_out))return O;if(e.strstart-e.block_start>=e.w_size-S&&(L(e,!1),0===e.strm.avail_out))return O}return e.insert=0,t===c?(L(e,!0),0===e.strm.avail_out?j:I):(e.strstart>e.block_start&&(L(e,!1),e.strm.avail_out),O)})),new $(4,4,8,4,B),new $(4,5,16,8,B),new $(4,6,32,32,B),new $(4,4,16,16,H),new $(8,16,32,32,H),new $(8,16,128,128,H),new $(8,32,128,256,H),new $(32,128,258,1024,H),new $(32,258,258,4096,H)],n.deflateInit=function(e,t){return W(e,t,g,15,8,0)},n.deflateInit2=W,n.deflateReset=G,n.deflateResetKeep=V,n.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?d:(e.state.gzhead=t,f):d},n.deflate=function(e,t){var n,o,a,l;if(!e||!e.state||5<t||t<0)return e?P(e,d):d;if(o=e.state,!e.output||!e.input&&0!==e.avail_in||666===o.status&&t!==c)return P(e,0===e.avail_out?-5:d);if(o.strm=e,n=o.last_flush,o.last_flush=t,o.status===E)if(2===o.wrap)e.adler=0,D(o,31),D(o,139),D(o,8),o.gzhead?(D(o,(o.gzhead.text?1:0)+(o.gzhead.hcrc?2:0)+(o.gzhead.extra?4:0)+(o.gzhead.name?8:0)+(o.gzhead.comment?16:0)),D(o,255&o.gzhead.time),D(o,o.gzhead.time>>8&255),D(o,o.gzhead.time>>16&255),D(o,o.gzhead.time>>24&255),D(o,9===o.level?2:2<=o.strategy||o.level<2?4:0),D(o,255&o.gzhead.os),o.gzhead.extra&&o.gzhead.extra.length&&(D(o,255&o.gzhead.extra.length),D(o,o.gzhead.extra.length>>8&255)),o.gzhead.hcrc&&(e.adler=s(e.adler,o.pending_buf,o.pending,0)),o.gzindex=0,o.status=69):(D(o,0),D(o,0),D(o,0),D(o,0),D(o,0),D(o,9===o.level?2:2<=o.strategy||o.level<2?4:0),D(o,3),o.status=T);else{var p=g+(o.w_bits-8<<4)<<8;p|=(2<=o.strategy||o.level<2?0:o.level<6?1:6===o.level?2:3)<<6,0!==o.strstart&&(p|=32),p+=31-p%31,o.status=T,F(o,p),0!==o.strstart&&(F(o,e.adler>>>16),F(o,65535&e.adler)),e.adler=1}if(69===o.status)if(o.gzhead.extra){for(a=o.pending;o.gzindex<(65535&o.gzhead.extra.length)&&(o.pending!==o.pending_buf_size||(o.gzhead.hcrc&&o.pending>a&&(e.adler=s(e.adler,o.pending_buf,o.pending-a,a)),Z(e),a=o.pending,o.pending!==o.pending_buf_size));)D(o,255&o.gzhead.extra[o.gzindex]),o.gzindex++;o.gzhead.hcrc&&o.pending>a&&(e.adler=s(e.adler,o.pending_buf,o.pending-a,a)),o.gzindex===o.gzhead.extra.length&&(o.gzindex=0,o.status=73)}else o.status=73;if(73===o.status)if(o.gzhead.name){a=o.pending;do{if(o.pending===o.pending_buf_size&&(o.gzhead.hcrc&&o.pending>a&&(e.adler=s(e.adler,o.pending_buf,o.pending-a,a)),Z(e),a=o.pending,o.pending===o.pending_buf_size)){l=1;break}l=o.gzindex<o.gzhead.name.length?255&o.gzhead.name.charCodeAt(o.gzindex++):0,D(o,l)}while(0!==l);o.gzhead.hcrc&&o.pending>a&&(e.adler=s(e.adler,o.pending_buf,o.pending-a,a)),0===l&&(o.gzindex=0,o.status=91)}else o.status=91;if(91===o.status)if(o.gzhead.comment){a=o.pending;do{if(o.pending===o.pending_buf_size&&(o.gzhead.hcrc&&o.pending>a&&(e.adler=s(e.adler,o.pending_buf,o.pending-a,a)),Z(e),a=o.pending,o.pending===o.pending_buf_size)){l=1;break}l=o.gzindex<o.gzhead.comment.length?255&o.gzhead.comment.charCodeAt(o.gzindex++):0,D(o,l)}while(0!==l);o.gzhead.hcrc&&o.pending>a&&(e.adler=s(e.adler,o.pending_buf,o.pending-a,a)),0===l&&(o.status=103)}else o.status=103;if(103===o.status&&(o.gzhead.hcrc?(o.pending+2>o.pending_buf_size&&Z(e),o.pending+2<=o.pending_buf_size&&(D(o,255&e.adler),D(o,e.adler>>8&255),e.adler=0,o.status=T)):o.status=T),0!==o.pending){if(Z(e),0===e.avail_out)return o.last_flush=-1,f}else if(0===e.avail_in&&N(t)<=N(n)&&t!==c)return P(e,-5);if(666===o.status&&0!==e.avail_in)return P(e,-5);if(0!==e.avail_in||0!==o.lookahead||t!==u&&666!==o.status){var h=2===o.strategy?function(e,t){for(var n;;){if(0===e.lookahead&&(z(e),0===e.lookahead)){if(t===u)return O;break}if(e.match_length=0,n=i._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(L(e,!1),0===e.strm.avail_out))return O}return e.insert=0,t===c?(L(e,!0),0===e.strm.avail_out?j:I):e.last_lit&&(L(e,!1),0===e.strm.avail_out)?O:A}(o,t):3===o.strategy?function(e,t){for(var n,r,o,a,s=e.window;;){if(e.lookahead<=C){if(z(e),e.lookahead<=C&&t===u)return O;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=k&&0<e.strstart&&(r=s[o=e.strstart-1])===s[++o]&&r===s[++o]&&r===s[++o]){a=e.strstart+C;do{}while(r===s[++o]&&r===s[++o]&&r===s[++o]&&r===s[++o]&&r===s[++o]&&r===s[++o]&&r===s[++o]&&r===s[++o]&&o<a);e.match_length=C-(a-o),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=k?(n=i._tr_tally(e,1,e.match_length-k),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=i._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(L(e,!1),0===e.strm.avail_out))return O}return e.insert=0,t===c?(L(e,!0),0===e.strm.avail_out?j:I):e.last_lit&&(L(e,!1),0===e.strm.avail_out)?O:A}(o,t):r[o.level].func(o,t);if(h!==j&&h!==I||(o.status=666),h===O||h===j)return 0===e.avail_out&&(o.last_flush=-1),f;if(h===A&&(1===t?i._tr_align(o):5!==t&&(i._tr_stored_block(o,0,0,!1),3===t&&(R(o.head),0===o.lookahead&&(o.strstart=0,o.block_start=0,o.insert=0))),Z(e),0===e.avail_out))return o.last_flush=-1,f}return t!==c?f:o.wrap<=0?1:(2===o.wrap?(D(o,255&e.adler),D(o,e.adler>>8&255),D(o,e.adler>>16&255),D(o,e.adler>>24&255),D(o,255&e.total_in),D(o,e.total_in>>8&255),D(o,e.total_in>>16&255),D(o,e.total_in>>24&255)):(F(o,e.adler>>>16),F(o,65535&e.adler)),Z(e),0<o.wrap&&(o.wrap=-o.wrap),0!==o.pending?f:1)},n.deflateEnd=function(e){var t;return e&&e.state?(t=e.state.status)!==E&&69!==t&&73!==t&&91!==t&&103!==t&&t!==T&&666!==t?P(e,d):(e.state=null,t===T?P(e,-3):f):d},n.deflateSetDictionary=function(e,t){var n,r,i,s,l,u,c,p,h=t.length;if(!e||!e.state)return d;if(2===(s=(n=e.state).wrap)||1===s&&n.status!==E||n.lookahead)return d;for(1===s&&(e.adler=a(e.adler,t,h,0)),n.wrap=0,h>=n.w_size&&(0===s&&(R(n.head),n.strstart=0,n.block_start=0,n.insert=0),p=new o.Buf8(n.w_size),o.arraySet(p,t,h-n.w_size,n.w_size,0),t=p,h=n.w_size),l=e.avail_in,u=e.next_in,c=e.input,e.avail_in=h,e.next_in=0,e.input=t,z(n);n.lookahead>=k;){for(r=n.strstart,i=n.lookahead-(k-1);n.ins_h=(n.ins_h<<n.hash_shift^n.window[r+k-1])&n.hash_mask,n.prev[r&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=r,r++,--i;);n.strstart=r,n.lookahead=k-1,z(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=k-1,n.match_available=0,e.next_in=u,e.input=c,e.avail_in=l,n.wrap=s,f},n.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(e,t,n){"use strict";t.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(e,t,n){"use strict";t.exports=function(e,t){var n,r,o,i,a,s,l,u,c,f,d,p,h,m,g,v,y,b,x,w,_,k,C,S,E;n=e.state,r=e.next_in,S=e.input,o=r+(e.avail_in-5),i=e.next_out,E=e.output,a=i-(t-e.avail_out),s=i+(e.avail_out-257),l=n.dmax,u=n.wsize,c=n.whave,f=n.wnext,d=n.window,p=n.hold,h=n.bits,m=n.lencode,g=n.distcode,v=(1<<n.lenbits)-1,y=(1<<n.distbits)-1;e:do{h<15&&(p+=S[r++]<<h,h+=8,p+=S[r++]<<h,h+=8),b=m[p&v];t:for(;;){if(p>>>=x=b>>>24,h-=x,0===(x=b>>>16&255))E[i++]=65535&b;else{if(!(16&x)){if(0==(64&x)){b=m[(65535&b)+(p&(1<<x)-1)];continue t}if(32&x){n.mode=12;break e}e.msg="invalid literal/length code",n.mode=30;break e}w=65535&b,(x&=15)&&(h<x&&(p+=S[r++]<<h,h+=8),w+=p&(1<<x)-1,p>>>=x,h-=x),h<15&&(p+=S[r++]<<h,h+=8,p+=S[r++]<<h,h+=8),b=g[p&y];n:for(;;){if(p>>>=x=b>>>24,h-=x,!(16&(x=b>>>16&255))){if(0==(64&x)){b=g[(65535&b)+(p&(1<<x)-1)];continue n}e.msg="invalid distance code",n.mode=30;break e}if(_=65535&b,h<(x&=15)&&(p+=S[r++]<<h,(h+=8)<x&&(p+=S[r++]<<h,h+=8)),l<(_+=p&(1<<x)-1)){e.msg="invalid distance too far back",n.mode=30;break e}if(p>>>=x,h-=x,(x=i-a)<_){if(c<(x=_-x)&&n.sane){e.msg="invalid distance too far back",n.mode=30;break e}if(C=d,(k=0)===f){if(k+=u-x,x<w){for(w-=x;E[i++]=d[k++],--x;);k=i-_,C=E}}else if(f<x){if(k+=u+f-x,(x-=f)<w){for(w-=x;E[i++]=d[k++],--x;);if(k=0,f<w){for(w-=x=f;E[i++]=d[k++],--x;);k=i-_,C=E}}}else if(k+=f-x,x<w){for(w-=x;E[i++]=d[k++],--x;);k=i-_,C=E}for(;2<w;)E[i++]=C[k++],E[i++]=C[k++],E[i++]=C[k++],w-=3;w&&(E[i++]=C[k++],1<w&&(E[i++]=C[k++]))}else{for(k=i-_;E[i++]=E[k++],E[i++]=E[k++],E[i++]=E[k++],2<(w-=3););w&&(E[i++]=E[k++],1<w&&(E[i++]=E[k++]))}break}}break}}while(r<o&&i<s);r-=w=h>>3,p&=(1<<(h-=w<<3))-1,e.next_in=r,e.next_out=i,e.avail_in=r<o?o-r+5:5-(r-o),e.avail_out=i<s?s-i+257:257-(i-s),n.hold=p,n.bits=h}},{}],49:[function(e,t,n){"use strict";var r=e("../utils/common"),o=e("./adler32"),i=e("./crc32"),a=e("./inffast"),s=e("./inftrees"),l=1,u=2,c=0,f=-2,d=1,p=852,h=592;function m(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function g(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new r.Buf16(320),this.work=new r.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function v(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=d,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new r.Buf32(p),t.distcode=t.distdyn=new r.Buf32(h),t.sane=1,t.back=-1,c):f}function y(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,v(e)):f}function b(e,t){var n,r;return e&&e.state?(r=e.state,t<0?(n=0,t=-t):(n=1+(t>>4),t<48&&(t&=15)),t&&(t<8||15<t)?f:(null!==r.window&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,y(e))):f}function x(e,t){var n,r;return e?(r=new g,(e.state=r).window=null,(n=b(e,t))!==c&&(e.state=null),n):f}var w,_,k=!0;function C(e){if(k){var t;for(w=new r.Buf32(512),_=new r.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(s(l,e.lens,0,288,w,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;s(u,e.lens,0,32,_,0,e.work,{bits:5}),k=!1}e.lencode=w,e.lenbits=9,e.distcode=_,e.distbits=5}function S(e,t,n,o){var i,a=e.state;return null===a.window&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new r.Buf8(a.wsize)),o>=a.wsize?(r.arraySet(a.window,t,n-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):(o<(i=a.wsize-a.wnext)&&(i=o),r.arraySet(a.window,t,n-o,i,a.wnext),(o-=i)?(r.arraySet(a.window,t,n-o,o,0),a.wnext=o,a.whave=a.wsize):(a.wnext+=i,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=i))),0}n.inflateReset=y,n.inflateReset2=b,n.inflateResetKeep=v,n.inflateInit=function(e){return x(e,15)},n.inflateInit2=x,n.inflate=function(e,t){var n,p,h,g,v,y,b,x,w,_,k,E,T,O,A,j,I,P,N,R,Z,L,D,F,M=0,z=new r.Buf8(4),B=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return f;12===(n=e.state).mode&&(n.mode=13),v=e.next_out,h=e.output,b=e.avail_out,g=e.next_in,p=e.input,y=e.avail_in,x=n.hold,w=n.bits,_=y,k=b,L=c;e:for(;;)switch(n.mode){case d:if(0===n.wrap){n.mode=13;break}for(;w<16;){if(0===y)break e;y--,x+=p[g++]<<w,w+=8}if(2&n.wrap&&35615===x){z[n.check=0]=255&x,z[1]=x>>>8&255,n.check=i(n.check,z,2,0),w=x=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&x)<<8)+(x>>8))%31){e.msg="incorrect header check",n.mode=30;break}if(8!=(15&x)){e.msg="unknown compression method",n.mode=30;break}if(w-=4,Z=8+(15&(x>>>=4)),0===n.wbits)n.wbits=Z;else if(Z>n.wbits){e.msg="invalid window size",n.mode=30;break}n.dmax=1<<Z,e.adler=n.check=1,n.mode=512&x?10:12,w=x=0;break;case 2:for(;w<16;){if(0===y)break e;y--,x+=p[g++]<<w,w+=8}if(n.flags=x,8!=(255&n.flags)){e.msg="unknown compression method",n.mode=30;break}if(57344&n.flags){e.msg="unknown header flags set",n.mode=30;break}n.head&&(n.head.text=x>>8&1),512&n.flags&&(z[0]=255&x,z[1]=x>>>8&255,n.check=i(n.check,z,2,0)),w=x=0,n.mode=3;case 3:for(;w<32;){if(0===y)break e;y--,x+=p[g++]<<w,w+=8}n.head&&(n.head.time=x),512&n.flags&&(z[0]=255&x,z[1]=x>>>8&255,z[2]=x>>>16&255,z[3]=x>>>24&255,n.check=i(n.check,z,4,0)),w=x=0,n.mode=4;case 4:for(;w<16;){if(0===y)break e;y--,x+=p[g++]<<w,w+=8}n.head&&(n.head.xflags=255&x,n.head.os=x>>8),512&n.flags&&(z[0]=255&x,z[1]=x>>>8&255,n.check=i(n.check,z,2,0)),w=x=0,n.mode=5;case 5:if(1024&n.flags){for(;w<16;){if(0===y)break e;y--,x+=p[g++]<<w,w+=8}n.length=x,n.head&&(n.head.extra_len=x),512&n.flags&&(z[0]=255&x,z[1]=x>>>8&255,n.check=i(n.check,z,2,0)),w=x=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&(y<(E=n.length)&&(E=y),E&&(n.head&&(Z=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),r.arraySet(n.head.extra,p,g,E,Z)),512&n.flags&&(n.check=i(n.check,p,E,g)),y-=E,g+=E,n.length-=E),n.length))break e;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(0===y)break e;for(E=0;Z=p[g+E++],n.head&&Z&&n.length<65536&&(n.head.name+=String.fromCharCode(Z)),Z&&E<y;);if(512&n.flags&&(n.check=i(n.check,p,E,g)),y-=E,g+=E,Z)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=8;case 8:if(4096&n.flags){if(0===y)break e;for(E=0;Z=p[g+E++],n.head&&Z&&n.length<65536&&(n.head.comment+=String.fromCharCode(Z)),Z&&E<y;);if(512&n.flags&&(n.check=i(n.check,p,E,g)),y-=E,g+=E,Z)break e}else n.head&&(n.head.comment=null);n.mode=9;case 9:if(512&n.flags){for(;w<16;){if(0===y)break e;y--,x+=p[g++]<<w,w+=8}if(x!==(65535&n.check)){e.msg="header crc mismatch",n.mode=30;break}w=x=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=12;break;case 10:for(;w<32;){if(0===y)break e;y--,x+=p[g++]<<w,w+=8}e.adler=n.check=m(x),w=x=0,n.mode=11;case 11:if(0===n.havedict)return e.next_out=v,e.avail_out=b,e.next_in=g,e.avail_in=y,n.hold=x,n.bits=w,2;e.adler=n.check=1,n.mode=12;case 12:if(5===t||6===t)break e;case 13:if(n.last){x>>>=7&w,w-=7&w,n.mode=27;break}for(;w<3;){if(0===y)break e;y--,x+=p[g++]<<w,w+=8}switch(n.last=1&x,w-=1,3&(x>>>=1)){case 0:n.mode=14;break;case 1:if(C(n),n.mode=20,6!==t)break;x>>>=2,w-=2;break e;case 2:n.mode=17;break;case 3:e.msg="invalid block type",n.mode=30}x>>>=2,w-=2;break;case 14:for(x>>>=7&w,w-=7&w;w<32;){if(0===y)break e;y--,x+=p[g++]<<w,w+=8}if((65535&x)!=(x>>>16^65535)){e.msg="invalid stored block lengths",n.mode=30;break}if(n.length=65535&x,w=x=0,n.mode=15,6===t)break e;case 15:n.mode=16;case 16:if(E=n.length){if(y<E&&(E=y),b<E&&(E=b),0===E)break e;r.arraySet(h,p,g,E,v),y-=E,g+=E,b-=E,v+=E,n.length-=E;break}n.mode=12;break;case 17:for(;w<14;){if(0===y)break e;y--,x+=p[g++]<<w,w+=8}if(n.nlen=257+(31&x),x>>>=5,w-=5,n.ndist=1+(31&x),x>>>=5,w-=5,n.ncode=4+(15&x),x>>>=4,w-=4,286<n.nlen||30<n.ndist){e.msg="too many length or distance symbols",n.mode=30;break}n.have=0,n.mode=18;case 18:for(;n.have<n.ncode;){for(;w<3;){if(0===y)break e;y--,x+=p[g++]<<w,w+=8}n.lens[B[n.have++]]=7&x,x>>>=3,w-=3}for(;n.have<19;)n.lens[B[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,D={bits:n.lenbits},L=s(0,n.lens,0,19,n.lencode,0,n.work,D),n.lenbits=D.bits,L){e.msg="invalid code lengths set",n.mode=30;break}n.have=0,n.mode=19;case 19:for(;n.have<n.nlen+n.ndist;){for(;j=(M=n.lencode[x&(1<<n.lenbits)-1])>>>16&255,I=65535&M,!((A=M>>>24)<=w);){if(0===y)break e;y--,x+=p[g++]<<w,w+=8}if(I<16)x>>>=A,w-=A,n.lens[n.have++]=I;else{if(16===I){for(F=A+2;w<F;){if(0===y)break e;y--,x+=p[g++]<<w,w+=8}if(x>>>=A,w-=A,0===n.have){e.msg="invalid bit length repeat",n.mode=30;break}Z=n.lens[n.have-1],E=3+(3&x),x>>>=2,w-=2}else if(17===I){for(F=A+3;w<F;){if(0===y)break e;y--,x+=p[g++]<<w,w+=8}w-=A,Z=0,E=3+(7&(x>>>=A)),x>>>=3,w-=3}else{for(F=A+7;w<F;){if(0===y)break e;y--,x+=p[g++]<<w,w+=8}w-=A,Z=0,E=11+(127&(x>>>=A)),x>>>=7,w-=7}if(n.have+E>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=30;break}for(;E--;)n.lens[n.have++]=Z}}if(30===n.mode)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=30;break}if(n.lenbits=9,D={bits:n.lenbits},L=s(l,n.lens,0,n.nlen,n.lencode,0,n.work,D),n.lenbits=D.bits,L){e.msg="invalid literal/lengths set",n.mode=30;break}if(n.distbits=6,n.distcode=n.distdyn,D={bits:n.distbits},L=s(u,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,D),n.distbits=D.bits,L){e.msg="invalid distances set",n.mode=30;break}if(n.mode=20,6===t)break e;case 20:n.mode=21;case 21:if(6<=y&&258<=b){e.next_out=v,e.avail_out=b,e.next_in=g,e.avail_in=y,n.hold=x,n.bits=w,a(e,k),v=e.next_out,h=e.output,b=e.avail_out,g=e.next_in,p=e.input,y=e.avail_in,x=n.hold,w=n.bits,12===n.mode&&(n.back=-1);break}for(n.back=0;j=(M=n.lencode[x&(1<<n.lenbits)-1])>>>16&255,I=65535&M,!((A=M>>>24)<=w);){if(0===y)break e;y--,x+=p[g++]<<w,w+=8}if(j&&0==(240&j)){for(P=A,N=j,R=I;j=(M=n.lencode[R+((x&(1<<P+N)-1)>>P)])>>>16&255,I=65535&M,!(P+(A=M>>>24)<=w);){if(0===y)break e;y--,x+=p[g++]<<w,w+=8}x>>>=P,w-=P,n.back+=P}if(x>>>=A,w-=A,n.back+=A,n.length=I,0===j){n.mode=26;break}if(32&j){n.back=-1,n.mode=12;break}if(64&j){e.msg="invalid literal/length code",n.mode=30;break}n.extra=15&j,n.mode=22;case 22:if(n.extra){for(F=n.extra;w<F;){if(0===y)break e;y--,x+=p[g++]<<w,w+=8}n.length+=x&(1<<n.extra)-1,x>>>=n.extra,w-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;j=(M=n.distcode[x&(1<<n.distbits)-1])>>>16&255,I=65535&M,!((A=M>>>24)<=w);){if(0===y)break e;y--,x+=p[g++]<<w,w+=8}if(0==(240&j)){for(P=A,N=j,R=I;j=(M=n.distcode[R+((x&(1<<P+N)-1)>>P)])>>>16&255,I=65535&M,!(P+(A=M>>>24)<=w);){if(0===y)break e;y--,x+=p[g++]<<w,w+=8}x>>>=P,w-=P,n.back+=P}if(x>>>=A,w-=A,n.back+=A,64&j){e.msg="invalid distance code",n.mode=30;break}n.offset=I,n.extra=15&j,n.mode=24;case 24:if(n.extra){for(F=n.extra;w<F;){if(0===y)break e;y--,x+=p[g++]<<w,w+=8}n.offset+=x&(1<<n.extra)-1,x>>>=n.extra,w-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=30;break}n.mode=25;case 25:if(0===b)break e;if(E=k-b,n.offset>E){if((E=n.offset-E)>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=30;break}T=E>n.wnext?(E-=n.wnext,n.wsize-E):n.wnext-E,E>n.length&&(E=n.length),O=n.window}else O=h,T=v-n.offset,E=n.length;for(b<E&&(E=b),b-=E,n.length-=E;h[v++]=O[T++],--E;);0===n.length&&(n.mode=21);break;case 26:if(0===b)break e;h[v++]=n.length,b--,n.mode=21;break;case 27:if(n.wrap){for(;w<32;){if(0===y)break e;y--,x|=p[g++]<<w,w+=8}if(k-=b,e.total_out+=k,n.total+=k,k&&(e.adler=n.check=n.flags?i(n.check,h,k,v-k):o(n.check,h,k,v-k)),k=b,(n.flags?x:m(x))!==n.check){e.msg="incorrect data check",n.mode=30;break}w=x=0}n.mode=28;case 28:if(n.wrap&&n.flags){for(;w<32;){if(0===y)break e;y--,x+=p[g++]<<w,w+=8}if(x!==(4294967295&n.total)){e.msg="incorrect length check",n.mode=30;break}w=x=0}n.mode=29;case 29:L=1;break e;case 30:L=-3;break e;case 31:return-4;default:return f}return e.next_out=v,e.avail_out=b,e.next_in=g,e.avail_in=y,n.hold=x,n.bits=w,(n.wsize||k!==e.avail_out&&n.mode<30&&(n.mode<27||4!==t))&&S(e,e.output,e.next_out,k-e.avail_out)?(n.mode=31,-4):(_-=e.avail_in,k-=e.avail_out,e.total_in+=_,e.total_out+=k,n.total+=k,n.wrap&&k&&(e.adler=n.check=n.flags?i(n.check,h,k,e.next_out-k):o(n.check,h,k,e.next_out-k)),e.data_type=n.bits+(n.last?64:0)+(12===n.mode?128:0)+(20===n.mode||15===n.mode?256:0),(0==_&&0===k||4===t)&&L===c&&(L=-5),L)},n.inflateEnd=function(e){if(!e||!e.state)return f;var t=e.state;return t.window&&(t.window=null),e.state=null,c},n.inflateGetHeader=function(e,t){var n;return e&&e.state?0==(2&(n=e.state).wrap)?f:((n.head=t).done=!1,c):f},n.inflateSetDictionary=function(e,t){var n,r=t.length;return e&&e.state?0!==(n=e.state).wrap&&11!==n.mode?f:11===n.mode&&o(1,t,r,0)!==n.check?-3:S(e,t,r,r)?(n.mode=31,-4):(n.havedict=1,c):f},n.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(e,t,n){"use strict";var r=e("../utils/common"),o=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],i=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],a=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],s=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];t.exports=function(e,t,n,l,u,c,f,d){var p,h,m,g,v,y,b,x,w,_=d.bits,k=0,C=0,S=0,E=0,T=0,O=0,A=0,j=0,I=0,P=0,N=null,R=0,Z=new r.Buf16(16),L=new r.Buf16(16),D=null,F=0;for(k=0;k<=15;k++)Z[k]=0;for(C=0;C<l;C++)Z[t[n+C]]++;for(T=_,E=15;1<=E&&0===Z[E];E--);if(E<T&&(T=E),0===E)return u[c++]=20971520,u[c++]=20971520,d.bits=1,0;for(S=1;S<E&&0===Z[S];S++);for(T<S&&(T=S),k=j=1;k<=15;k++)if(j<<=1,(j-=Z[k])<0)return-1;if(0<j&&(0===e||1!==E))return-1;for(L[1]=0,k=1;k<15;k++)L[k+1]=L[k]+Z[k];for(C=0;C<l;C++)0!==t[n+C]&&(f[L[t[n+C]]++]=C);if(y=0===e?(N=D=f,19):1===e?(N=o,R-=257,D=i,F-=257,256):(N=a,D=s,-1),k=S,v=c,A=C=P=0,m=-1,g=(I=1<<(O=T))-1,1===e&&852<I||2===e&&592<I)return 1;for(;;){for(b=k-A,w=f[C]<y?(x=0,f[C]):f[C]>y?(x=D[F+f[C]],N[R+f[C]]):(x=96,0),p=1<<k-A,S=h=1<<O;u[v+(P>>A)+(h-=p)]=b<<24|x<<16|w|0,0!==h;);for(p=1<<k-1;P&p;)p>>=1;if(0!==p?(P&=p-1,P+=p):P=0,C++,0==--Z[k]){if(k===E)break;k=t[n+f[C]]}if(T<k&&(P&g)!==m){for(0===A&&(A=T),v+=S,j=1<<(O=k-A);O+A<E&&!((j-=Z[O+A])<=0);)O++,j<<=1;if(I+=1<<O,1===e&&852<I||2===e&&592<I)return 1;u[m=P&g]=T<<24|O<<16|v-c|0}}return 0!==P&&(u[v+P]=k-A<<24|64<<16|0),d.bits=T,0}},{"../utils/common":41}],51:[function(e,t,n){"use strict";t.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(e,t,n){"use strict";var r=e("../utils/common"),o=0,i=1;function a(e){for(var t=e.length;0<=--t;)e[t]=0}var s=0,l=29,u=256,c=u+1+l,f=30,d=19,p=2*c+1,h=15,m=16,g=7,v=256,y=16,b=17,x=18,w=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],_=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],k=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],C=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],S=new Array(2*(c+2));a(S);var E=new Array(2*f);a(E);var T=new Array(512);a(T);var O=new Array(256);a(O);var A=new Array(l);a(A);var j,I,P,N=new Array(f);function R(e,t,n,r,o){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=o,this.has_stree=e&&e.length}function Z(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function L(e){return e<256?T[e]:T[256+(e>>>7)]}function D(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function F(e,t,n){e.bi_valid>m-n?(e.bi_buf|=t<<e.bi_valid&65535,D(e,e.bi_buf),e.bi_buf=t>>m-e.bi_valid,e.bi_valid+=n-m):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)}function M(e,t,n){F(e,n[2*t],n[2*t+1])}function z(e,t){for(var n=0;n|=1&e,e>>>=1,n<<=1,0<--t;);return n>>>1}function B(e,t,n){var r,o,i=new Array(h+1),a=0;for(r=1;r<=h;r++)i[r]=a=a+n[r-1]<<1;for(o=0;o<=t;o++){var s=e[2*o+1];0!==s&&(e[2*o]=z(i[s]++,s))}}function H(e){var t;for(t=0;t<c;t++)e.dyn_ltree[2*t]=0;for(t=0;t<f;t++)e.dyn_dtree[2*t]=0;for(t=0;t<d;t++)e.bl_tree[2*t]=0;e.dyn_ltree[2*v]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function $(e){8<e.bi_valid?D(e,e.bi_buf):0<e.bi_valid&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function U(e,t,n,r){var o=2*t,i=2*n;return e[o]<e[i]||e[o]===e[i]&&r[t]<=r[n]}function V(e,t,n){for(var r=e.heap[n],o=n<<1;o<=e.heap_len&&(o<e.heap_len&&U(t,e.heap[o+1],e.heap[o],e.depth)&&o++,!U(t,r,e.heap[o],e.depth));)e.heap[n]=e.heap[o],n=o,o<<=1;e.heap[n]=r}function G(e,t,n){var r,o,i,a,s=0;if(0!==e.last_lit)for(;r=e.pending_buf[e.d_buf+2*s]<<8|e.pending_buf[e.d_buf+2*s+1],o=e.pending_buf[e.l_buf+s],s++,0===r?M(e,o,t):(M(e,(i=O[o])+u+1,t),0!==(a=w[i])&&F(e,o-=A[i],a),M(e,i=L(--r),n),0!==(a=_[i])&&F(e,r-=N[i],a)),s<e.last_lit;);M(e,v,t)}function W(e,t){var n,r,o,i=t.dyn_tree,a=t.stat_desc.static_tree,s=t.stat_desc.has_stree,l=t.stat_desc.elems,u=-1;for(e.heap_len=0,e.heap_max=p,n=0;n<l;n++)0!==i[2*n]?(e.heap[++e.heap_len]=u=n,e.depth[n]=0):i[2*n+1]=0;for(;e.heap_len<2;)i[2*(o=e.heap[++e.heap_len]=u<2?++u:0)]=1,e.depth[o]=0,e.opt_len--,s&&(e.static_len-=a[2*o+1]);for(t.max_code=u,n=e.heap_len>>1;1<=n;n--)V(e,i,n);for(o=l;n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],V(e,i,1),r=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=r,i[2*o]=i[2*n]+i[2*r],e.depth[o]=(e.depth[n]>=e.depth[r]?e.depth[n]:e.depth[r])+1,i[2*n+1]=i[2*r+1]=o,e.heap[1]=o++,V(e,i,1),2<=e.heap_len;);e.heap[--e.heap_max]=e.heap[1],function(e,t){var n,r,o,i,a,s,l=t.dyn_tree,u=t.max_code,c=t.stat_desc.static_tree,f=t.stat_desc.has_stree,d=t.stat_desc.extra_bits,m=t.stat_desc.extra_base,g=t.stat_desc.max_length,v=0;for(i=0;i<=h;i++)e.bl_count[i]=0;for(l[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;n<p;n++)g<(i=l[2*l[2*(r=e.heap[n])+1]+1]+1)&&(i=g,v++),l[2*r+1]=i,u<r||(e.bl_count[i]++,a=0,m<=r&&(a=d[r-m]),s=l[2*r],e.opt_len+=s*(i+a),f&&(e.static_len+=s*(c[2*r+1]+a)));if(0!==v){do{for(i=g-1;0===e.bl_count[i];)i--;e.bl_count[i]--,e.bl_count[i+1]+=2,e.bl_count[g]--,v-=2}while(0<v);for(i=g;0!==i;i--)for(r=e.bl_count[i];0!==r;)u<(o=e.heap[--n])||(l[2*o+1]!==i&&(e.opt_len+=(i-l[2*o+1])*l[2*o],l[2*o+1]=i),r--)}}(e,t),B(i,u,e.bl_count)}function q(e,t,n){var r,o,i=-1,a=t[1],s=0,l=7,u=4;for(0===a&&(l=138,u=3),t[2*(n+1)+1]=65535,r=0;r<=n;r++)o=a,a=t[2*(r+1)+1],++s<l&&o===a||(s<u?e.bl_tree[2*o]+=s:0!==o?(o!==i&&e.bl_tree[2*o]++,e.bl_tree[2*y]++):s<=10?e.bl_tree[2*b]++:e.bl_tree[2*x]++,i=o,u=(s=0)===a?(l=138,3):o===a?(l=6,3):(l=7,4))}function X(e,t,n){var r,o,i=-1,a=t[1],s=0,l=7,u=4;for(0===a&&(l=138,u=3),r=0;r<=n;r++)if(o=a,a=t[2*(r+1)+1],!(++s<l&&o===a)){if(s<u)for(;M(e,o,e.bl_tree),0!=--s;);else 0!==o?(o!==i&&(M(e,o,e.bl_tree),s--),M(e,y,e.bl_tree),F(e,s-3,2)):s<=10?(M(e,b,e.bl_tree),F(e,s-3,3)):(M(e,x,e.bl_tree),F(e,s-11,7));i=o,u=(s=0)===a?(l=138,3):o===a?(l=6,3):(l=7,4)}}a(N);var Y=!1;function K(e,t,n,o){F(e,(s<<1)+(o?1:0),3),function(e,t,n,o){$(e),o&&(D(e,n),D(e,~n)),r.arraySet(e.pending_buf,e.window,t,n,e.pending),e.pending+=n}(e,t,n,!0)}n._tr_init=function(e){Y||(function(){var e,t,n,r,o,i=new Array(h+1);for(r=n=0;r<l-1;r++)for(A[r]=n,e=0;e<1<<w[r];e++)O[n++]=r;for(O[n-1]=r,r=o=0;r<16;r++)for(N[r]=o,e=0;e<1<<_[r];e++)T[o++]=r;for(o>>=7;r<f;r++)for(N[r]=o<<7,e=0;e<1<<_[r]-7;e++)T[256+o++]=r;for(t=0;t<=h;t++)i[t]=0;for(e=0;e<=143;)S[2*e+1]=8,e++,i[8]++;for(;e<=255;)S[2*e+1]=9,e++,i[9]++;for(;e<=279;)S[2*e+1]=7,e++,i[7]++;for(;e<=287;)S[2*e+1]=8,e++,i[8]++;for(B(S,c+1,i),e=0;e<f;e++)E[2*e+1]=5,E[2*e]=z(e,5);j=new R(S,w,u+1,c,h),I=new R(E,_,0,f,h),P=new R(new Array(0),k,0,d,g)}(),Y=!0),e.l_desc=new Z(e.dyn_ltree,j),e.d_desc=new Z(e.dyn_dtree,I),e.bl_desc=new Z(e.bl_tree,P),e.bi_buf=0,e.bi_valid=0,H(e)},n._tr_stored_block=K,n._tr_flush_block=function(e,t,n,r){var a,s,l=0;0<e.level?(2===e.strm.data_type&&(e.strm.data_type=function(e){var t,n=4093624447;for(t=0;t<=31;t++,n>>>=1)if(1&n&&0!==e.dyn_ltree[2*t])return o;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return i;for(t=32;t<u;t++)if(0!==e.dyn_ltree[2*t])return i;return o}(e)),W(e,e.l_desc),W(e,e.d_desc),l=function(e){var t;for(q(e,e.dyn_ltree,e.l_desc.max_code),q(e,e.dyn_dtree,e.d_desc.max_code),W(e,e.bl_desc),t=d-1;3<=t&&0===e.bl_tree[2*C[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),a=e.opt_len+3+7>>>3,(s=e.static_len+3+7>>>3)<=a&&(a=s)):a=s=n+5,n+4<=a&&-1!==t?K(e,t,n,r):4===e.strategy||s===a?(F(e,2+(r?1:0),3),G(e,S,E)):(F(e,4+(r?1:0),3),function(e,t,n,r){var o;for(F(e,t-257,5),F(e,n-1,5),F(e,r-4,4),o=0;o<r;o++)F(e,e.bl_tree[2*C[o]+1],3);X(e,e.dyn_ltree,t-1),X(e,e.dyn_dtree,n-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,l+1),G(e,e.dyn_ltree,e.dyn_dtree)),H(e),r&&$(e)},n._tr_tally=function(e,t,n){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&n,e.last_lit++,0===t?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(O[n]+u+1)]++,e.dyn_dtree[2*L(t)]++),e.last_lit===e.lit_bufsize-1},n._tr_align=function(e){F(e,2,3),M(e,v,S),function(e){16===e.bi_valid?(D(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):8<=e.bi_valid&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)}},{"../utils/common":41}],53:[function(e,t,n){"use strict";t.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(e,t,r){(function(e){!function(e,t){"use strict";if(!e.setImmediate){var n,r,i,a,s=1,l={},u=!1,c=e.document,f=Object.getPrototypeOf&&Object.getPrototypeOf(e);f=f&&f.setTimeout?f:e,n="[object process]"==={}.toString.call(e.process)?function(e){o.nextTick((function(){p(e)}))}:function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?(a="setImmediate$"+Math.random()+"$",e.addEventListener?e.addEventListener("message",h,!1):e.attachEvent("onmessage",h),function(t){e.postMessage(a+t,"*")}):e.MessageChannel?((i=new MessageChannel).port1.onmessage=function(e){p(e.data)},function(e){i.port2.postMessage(e)}):c&&"onreadystatechange"in c.createElement("script")?(r=c.documentElement,function(e){var t=c.createElement("script");t.onreadystatechange=function(){p(e),t.onreadystatechange=null,r.removeChild(t),t=null},r.appendChild(t)}):function(e){setTimeout(p,0,e)},f.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),r=0;r<t.length;r++)t[r]=arguments[r+1];var o={callback:e,args:t};return l[s]=o,n(s),s++},f.clearImmediate=d}function d(e){delete l[e]}function p(e){if(u)setTimeout(p,0,e);else{var n=l[e];if(n){u=!0;try{!function(e){var n=e.callback,r=e.args;switch(r.length){case 0:n();break;case 1:n(r[0]);break;case 2:n(r[0],r[1]);break;case 3:n(r[0],r[1],r[2]);break;default:n.apply(t,r)}}(n)}finally{d(e),u=!1}}}}function h(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(a)&&p(+t.data.slice(a.length))}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,"undefined"!=typeof n.g?n.g:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[10])(10)},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,o){var i=document.head||document.getElementsByTagName("head")[0],a=document.createElement("script");"function"===typeof r&&(o=r,r={}),r=r||{},o=o||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,o),a.onload||t(a,o),i.appendChild(a)}},18552:function(e,t,n){var r=n(10852)(n(55639),"DataView");e.exports=r},1989:function(e,t,n){var r=n(51789),o=n(80401),i=n(57667),a=n(21327),s=n(81866);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},38407:function(e,t,n){var r=n(27040),o=n(14125),i=n(82117),a=n(67518),s=n(54705);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},57071:function(e,t,n){var r=n(10852)(n(55639),"Map");e.exports=r},83369:function(e,t,n){var r=n(24785),o=n(11285),i=n(96e3),a=n(49916),s=n(95265);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},53818:function(e,t,n){var r=n(10852)(n(55639),"Promise");e.exports=r},58525:function(e,t,n){var r=n(10852)(n(55639),"Set");e.exports=r},88668:function(e,t,n){var r=n(83369),o=n(90619),i=n(72385);function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}a.prototype.add=a.prototype.push=o,a.prototype.has=i,e.exports=a},46384:function(e,t,n){var r=n(38407),o=n(37465),i=n(63779),a=n(67599),s=n(44758),l=n(34309);function u(e){var t=this.__data__=new r(e);this.size=t.size}u.prototype.clear=o,u.prototype.delete=i,u.prototype.get=a,u.prototype.has=s,u.prototype.set=l,e.exports=u},62705:function(e,t,n){var r=n(55639).Symbol;e.exports=r},11149:function(e,t,n){var r=n(55639).Uint8Array;e.exports=r},70577:function(e,t,n){var r=n(10852)(n(55639),"WeakMap");e.exports=r},34963:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}},14636:function(e,t,n){var r=n(22545),o=n(35694),i=n(1469),a=n(44144),s=n(65776),l=n(36719),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),c=!n&&o(e),f=!n&&!c&&a(e),d=!n&&!c&&!f&&l(e),p=n||c||f||d,h=p?r(e.length,String):[],m=h.length;for(var g in e)!t&&!u.call(e,g)||p&&("length"==g||f&&("offset"==g||"parent"==g)||d&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||s(g,m))||h.push(g);return h}},29932:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}},62488:function(e){e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},62663:function(e){e.exports=function(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}},82908:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},44286:function(e){e.exports=function(e){return e.split("")}},49029:function(e){var t=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(t)||[]}},18470:function(e,t,n){var r=n(77813);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},89465:function(e,t,n){var r=n(38777);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},28483:function(e,t,n){var r=n(25063)();e.exports=r},47816:function(e,t,n){var r=n(28483),o=n(3674);e.exports=function(e,t){return e&&r(e,t,o)}},97786:function(e,t,n){var r=n(71811),o=n(40327);e.exports=function(e,t){for(var n=0,i=(t=r(t,e)).length;null!=e&&n<i;)e=e[o(t[n++])];return n&&n==i?e:void 0}},68866:function(e,t,n){var r=n(62488),o=n(1469);e.exports=function(e,t,n){var i=t(e);return o(e)?i:r(i,n(e))}},44239:function(e,t,n){var r=n(62705),o=n(89607),i=n(2333),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},78565:function(e){var t=Object.prototype.hasOwnProperty;e.exports=function(e,n){return null!=e&&t.call(e,n)}},13:function(e){e.exports=function(e,t){return null!=e&&t in Object(e)}},9454:function(e,t,n){var r=n(44239),o=n(37005);e.exports=function(e){return o(e)&&"[object Arguments]"==r(e)}},90939:function(e,t,n){var r=n(2492),o=n(37005);e.exports=function e(t,n,i,a,s){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!==t&&n!==n:r(t,n,i,a,e,s))}},2492:function(e,t,n){var r=n(46384),o=n(67114),i=n(18351),a=n(16096),s=n(64160),l=n(1469),u=n(44144),c=n(36719),f="[object Arguments]",d="[object Array]",p="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,m,g,v){var y=l(e),b=l(t),x=y?d:s(e),w=b?d:s(t),_=(x=x==f?p:x)==p,k=(w=w==f?p:w)==p,C=x==w;if(C&&u(e)){if(!u(t))return!1;y=!0,_=!1}if(C&&!_)return v||(v=new r),y||c(e)?o(e,t,n,m,g,v):i(e,t,x,n,m,g,v);if(!(1&n)){var S=_&&h.call(e,"__wrapped__"),E=k&&h.call(t,"__wrapped__");if(S||E){var T=S?e.value():e,O=E?t.value():t;return v||(v=new r),g(T,O,n,m,v)}}return!!C&&(v||(v=new r),a(e,t,n,m,g,v))}},2958:function(e,t,n){var r=n(46384),o=n(90939);e.exports=function(e,t,n,i){var a=n.length,s=a,l=!i;if(null==e)return!s;for(e=Object(e);a--;){var u=n[a];if(l&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++a<s;){var c=(u=n[a])[0],f=e[c],d=u[1];if(l&&u[2]){if(void 0===f&&!(c in e))return!1}else{var p=new r;if(i)var h=i(f,d,c,e,t,p);if(!(void 0===h?o(d,f,3,i,p):h))return!1}}return!0}},28458:function(e,t,n){var r=n(23560),o=n(15346),i=n(13218),a=n(80346),s=/^\[object .+?Constructor\]$/,l=Function.prototype,u=Object.prototype,c=l.toString,f=u.hasOwnProperty,d=RegExp("^"+c.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(r(e)?d:s).test(a(e))}},38749:function(e,t,n){var r=n(44239),o=n(41780),i=n(37005),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!a[r(e)]}},67206:function(e,t,n){var r=n(91573),o=n(16432),i=n(6557),a=n(1469),s=n(39601);e.exports=function(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?a(e)?o(e[0],e[1]):r(e):s(e)}},280:function(e,t,n){var r=n(25726),o=n(86916),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},91573:function(e,t,n){var r=n(2958),o=n(1499),i=n(42634);e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},16432:function(e,t,n){var r=n(90939),o=n(27361),i=n(79095),a=n(15403),s=n(89162),l=n(42634),u=n(40327);e.exports=function(e,t){return a(e)&&s(t)?l(u(e),t):function(n){var a=o(n,e);return void 0===a&&a===t?i(n,e):r(t,a,3)}}},40371:function(e){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},79152:function(e,t,n){var r=n(97786);e.exports=function(e){return function(t){return r(t,e)}}},18674:function(e){e.exports=function(e){return function(t){return null==e?void 0:e[t]}}},14259:function(e){e.exports=function(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+t];return i}},22545:function(e){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},80531:function(e,t,n){var r=n(62705),o=n(29932),i=n(1469),a=n(33448),s=r?r.prototype:void 0,l=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(a(t))return l?l.call(t):"";var n=t+"";return"0"==n&&1/t==-Infinity?"-0":n}},7518:function(e){e.exports=function(e){return function(t){return e(t)}}},74757:function(e){e.exports=function(e,t){return e.has(t)}},71811:function(e,t,n){var r=n(1469),o=n(15403),i=n(55514),a=n(79833);e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:i(a(e))}},40180:function(e,t,n){var r=n(14259);e.exports=function(e,t,n){var o=e.length;return n=void 0===n?o:n,!t&&n>=o?e:r(e,t,n)}},14429:function(e,t,n){var r=n(55639)["__core-js_shared__"];e.exports=r},25063:function(e){e.exports=function(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),s=a.length;s--;){var l=a[e?s:++o];if(!1===n(i[l],l,i))break}return t}}},98805:function(e,t,n){var r=n(40180),o=n(62689),i=n(83140),a=n(79833);e.exports=function(e){return function(t){t=a(t);var n=o(t)?i(t):void 0,s=n?n[0]:t.charAt(0),l=n?r(n,1).join(""):t.slice(1);return s[e]()+l}}},35393:function(e,t,n){var r=n(62663),o=n(53816),i=n(58748),a=RegExp("['\u2019]","g");e.exports=function(e){return function(t){return r(i(o(t).replace(a,"")),e,"")}}},69389:function(e,t,n){var r=n(18674)({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"});e.exports=r},38777:function(e,t,n){var r=n(10852),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();e.exports=o},67114:function(e,t,n){var r=n(88668),o=n(82908),i=n(74757);e.exports=function(e,t,n,a,s,l){var u=1&n,c=e.length,f=t.length;if(c!=f&&!(u&&f>c))return!1;var d=l.get(e),p=l.get(t);if(d&&p)return d==t&&p==e;var h=-1,m=!0,g=2&n?new r:void 0;for(l.set(e,t),l.set(t,e);++h<c;){var v=e[h],y=t[h];if(a)var b=u?a(y,v,h,t,e,l):a(v,y,h,e,t,l);if(void 0!==b){if(b)continue;m=!1;break}if(g){if(!o(t,(function(e,t){if(!i(g,t)&&(v===e||s(v,e,n,a,l)))return g.push(t)}))){m=!1;break}}else if(v!==y&&!s(v,y,n,a,l)){m=!1;break}}return l.delete(e),l.delete(t),m}},18351:function(e,t,n){var r=n(62705),o=n(11149),i=n(77813),a=n(67114),s=n(68776),l=n(21814),u=r?r.prototype:void 0,c=u?u.valueOf:void 0;e.exports=function(e,t,n,r,u,f,d){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!f(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var p=s;case"[object Set]":var h=1&r;if(p||(p=l),e.size!=t.size&&!h)return!1;var m=d.get(e);if(m)return m==t;r|=2,d.set(e,t);var g=a(p(e),p(t),r,u,f,d);return d.delete(e),g;case"[object Symbol]":if(c)return c.call(e)==c.call(t)}return!1}},16096:function(e,t,n){var r=n(58234),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,a,s){var l=1&n,u=r(e),c=u.length;if(c!=r(t).length&&!l)return!1;for(var f=c;f--;){var d=u[f];if(!(l?d in t:o.call(t,d)))return!1}var p=s.get(e),h=s.get(t);if(p&&h)return p==t&&h==e;var m=!0;s.set(e,t),s.set(t,e);for(var g=l;++f<c;){var v=e[d=u[f]],y=t[d];if(i)var b=l?i(y,v,d,t,e,s):i(v,y,d,e,t,s);if(!(void 0===b?v===y||a(v,y,n,i,s):b)){m=!1;break}g||(g="constructor"==d)}if(m&&!g){var x=e.constructor,w=t.constructor;x==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof x&&x instanceof x&&"function"==typeof w&&w instanceof w||(m=!1)}return s.delete(e),s.delete(t),m}},31957:function(e,t,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},58234:function(e,t,n){var r=n(68866),o=n(99551),i=n(3674);e.exports=function(e){return r(e,i,o)}},45050:function(e,t,n){var r=n(37019);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},1499:function(e,t,n){var r=n(89162),o=n(3674);e.exports=function(e){for(var t=o(e),n=t.length;n--;){var i=t[n],a=e[i];t[n]=[i,a,r(a)]}return t}},10852:function(e,t,n){var r=n(28458),o=n(47801);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},89607:function(e,t,n){var r=n(62705),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(l){}var o=a.call(e);return r&&(t?e[s]=n:delete e[s]),o}},99551:function(e,t,n){var r=n(34963),o=n(70479),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),r(a(e),(function(t){return i.call(e,t)})))}:o;e.exports=s},64160:function(e,t,n){var r=n(18552),o=n(57071),i=n(53818),a=n(58525),s=n(70577),l=n(44239),u=n(80346),c="[object Map]",f="[object Promise]",d="[object Set]",p="[object WeakMap]",h="[object DataView]",m=u(r),g=u(o),v=u(i),y=u(a),b=u(s),x=l;(r&&x(new r(new ArrayBuffer(1)))!=h||o&&x(new o)!=c||i&&x(i.resolve())!=f||a&&x(new a)!=d||s&&x(new s)!=p)&&(x=function(e){var t=l(e),n="[object Object]"==t?e.constructor:void 0,r=n?u(n):"";if(r)switch(r){case m:return h;case g:return c;case v:return f;case y:return d;case b:return p}return t}),e.exports=x},47801:function(e){e.exports=function(e,t){return null==e?void 0:e[t]}},222:function(e,t,n){var r=n(71811),o=n(35694),i=n(1469),a=n(65776),s=n(41780),l=n(40327);e.exports=function(e,t,n){for(var u=-1,c=(t=r(t,e)).length,f=!1;++u<c;){var d=l(t[u]);if(!(f=null!=e&&n(e,d)))break;e=e[d]}return f||++u!=c?f:!!(c=null==e?0:e.length)&&s(c)&&a(d,c)&&(i(e)||o(e))}},62689:function(e){var t=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return t.test(e)}},93157:function(e){var t=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=function(e){return t.test(e)}},51789:function(e,t,n){var r=n(94536);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},80401:function(e){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},57667:function(e,t,n){var r=n(94536),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(t,e)?t[e]:void 0}},21327:function(e,t,n){var r=n(94536),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},81866:function(e,t,n){var r=n(94536);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},65776:function(e){var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},15403:function(e,t,n){var r=n(1469),o=n(33448),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||(a.test(e)||!i.test(e)||null!=t&&e in Object(t))}},37019:function(e){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},15346:function(e,t,n){var r=n(14429),o=function(){var e=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();e.exports=function(e){return!!o&&o in e}},25726:function(e){var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},89162:function(e,t,n){var r=n(13218);e.exports=function(e){return e===e&&!r(e)}},27040:function(e){e.exports=function(){this.__data__=[],this.size=0}},14125:function(e,t,n){var r=n(18470),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():o.call(t,n,1),--this.size,!0)}},82117:function(e,t,n){var r=n(18470);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},67518:function(e,t,n){var r=n(18470);e.exports=function(e){return r(this.__data__,e)>-1}},54705:function(e,t,n){var r=n(18470);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},24785:function(e,t,n){var r=n(1989),o=n(38407),i=n(57071);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},11285:function(e,t,n){var r=n(45050);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},96e3:function(e,t,n){var r=n(45050);e.exports=function(e){return r(this,e).get(e)}},49916:function(e,t,n){var r=n(45050);e.exports=function(e){return r(this,e).has(e)}},95265:function(e,t,n){var r=n(45050);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},68776:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},42634:function(e){e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},24523:function(e,t,n){var r=n(88306);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},94536:function(e,t,n){var r=n(10852)(Object,"create");e.exports=r},86916:function(e,t,n){var r=n(5569)(Object.keys,Object);e.exports=r},31167:function(e,t,n){e=n.nmd(e);var r=n(31957),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,s=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(t){}}();e.exports=s},2333:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},5569:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},55639:function(e,t,n){var r=n(31957),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},90619:function(e){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},72385:function(e){e.exports=function(e){return this.__data__.has(e)}},21814:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},37465:function(e,t,n){var r=n(38407);e.exports=function(){this.__data__=new r,this.size=0}},63779:function(e){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},67599:function(e){e.exports=function(e){return this.__data__.get(e)}},44758:function(e){e.exports=function(e){return this.__data__.has(e)}},34309:function(e,t,n){var r=n(38407),o=n(57071),i=n(83369);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(e,t),this.size=n.size,this}},83140:function(e,t,n){var r=n(44286),o=n(62689),i=n(676);e.exports=function(e){return o(e)?i(e):r(e)}},55514:function(e,t,n){var r=n(24523),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,n,r,o){t.push(r?o.replace(i,"$1"):n||e)})),t}));e.exports=a},40327:function(e,t,n){var r=n(33448);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t}},80346:function(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(n){}try{return e+""}catch(n){}}return""}},676:function(e){var t="[\\ud800-\\udfff]",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",r="\\ud83c[\\udffb-\\udfff]",o="[^\\ud800-\\udfff]",i="(?:\\ud83c[\\udde6-\\uddff]){2}",a="[\\ud800-\\udbff][\\udc00-\\udfff]",s="(?:"+n+"|"+r+")"+"?",l="[\\ufe0e\\ufe0f]?",u=l+s+("(?:\\u200d(?:"+[o,i,a].join("|")+")"+l+s+")*"),c="(?:"+[o+n+"?",n,i,a,t].join("|")+")",f=RegExp(r+"(?="+r+")|"+c+u,"g");e.exports=function(e){return e.match(f)||[]}},2757:function(e){var t="\\u2700-\\u27bf",n="a-z\\xdf-\\xf6\\xf8-\\xff",r="A-Z\\xc0-\\xd6\\xd8-\\xde",o="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",i="["+o+"]",a="\\d+",s="[\\u2700-\\u27bf]",l="["+n+"]",u="[^\\ud800-\\udfff"+o+a+t+n+r+"]",c="(?:\\ud83c[\\udde6-\\uddff]){2}",f="[\\ud800-\\udbff][\\udc00-\\udfff]",d="["+r+"]",p="(?:"+l+"|"+u+")",h="(?:"+d+"|"+u+")",m="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",g="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",v="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",y="[\\ufe0e\\ufe0f]?",b=y+v+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",c,f].join("|")+")"+y+v+")*"),x="(?:"+[s,c,f].join("|")+")"+b,w=RegExp([d+"?"+l+"+"+m+"(?="+[i,d,"$"].join("|")+")",h+"+"+g+"(?="+[i,d+p,"$"].join("|")+")",d+"?"+p+"+"+m,d+"+"+g,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",a,x].join("|"),"g");e.exports=function(e){return e.match(w)||[]}},68929:function(e,t,n){var r=n(48403),o=n(35393)((function(e,t,n){return t=t.toLowerCase(),e+(n?r(t):t)}));e.exports=o},48403:function(e,t,n){var r=n(79833),o=n(11700);e.exports=function(e){return o(r(e).toLowerCase())}},53816:function(e,t,n){var r=n(69389),o=n(79833),i=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,a=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=o(e))&&e.replace(i,r).replace(a,"")}},77813:function(e){e.exports=function(e,t){return e===t||e!==e&&t!==t}},27361:function(e,t,n){var r=n(97786);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},18721:function(e,t,n){var r=n(78565),o=n(222);e.exports=function(e,t){return null!=e&&o(e,t,r)}},79095:function(e,t,n){var r=n(13),o=n(222);e.exports=function(e,t){return null!=e&&o(e,t,r)}},6557:function(e){e.exports=function(e){return e}},35694:function(e,t,n){var r=n(9454),o=n(37005),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},1469:function(e){var t=Array.isArray;e.exports=t},98612:function(e,t,n){var r=n(23560),o=n(41780);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},44144:function(e,t,n){e=n.nmd(e);var r=n(55639),o=n(95062),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,s=a&&a.exports===i?r.Buffer:void 0,l=(s?s.isBuffer:void 0)||o;e.exports=l},23560:function(e,t,n){var r=n(44239),o=n(13218);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},41780:function(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},13218:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},37005:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},33448:function(e,t,n){var r=n(44239),o=n(37005);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},36719:function(e,t,n){var r=n(38749),o=n(7518),i=n(31167),a=i&&i.isTypedArray,s=a?o(a):r;e.exports=s},3674:function(e,t,n){var r=n(14636),o=n(280),i=n(98612);e.exports=function(e){return i(e)?r(e):o(e)}},96486:function(e,t,n){var r;e=n.nmd(e),function(){var o,i="Expected a function",a="__lodash_hash_undefined__",s="__lodash_placeholder__",l=16,u=32,c=64,f=128,d=256,p=1/0,h=9007199254740991,m=NaN,g=4294967295,v=[["ary",f],["bind",1],["bindKey",2],["curry",8],["curryRight",l],["flip",512],["partial",u],["partialRight",c],["rearg",d]],y="[object Arguments]",b="[object Array]",x="[object Boolean]",w="[object Date]",_="[object Error]",k="[object Function]",C="[object GeneratorFunction]",S="[object Map]",E="[object Number]",T="[object Object]",O="[object Promise]",A="[object RegExp]",j="[object Set]",I="[object String]",P="[object Symbol]",N="[object WeakMap]",R="[object ArrayBuffer]",Z="[object DataView]",L="[object Float32Array]",D="[object Float64Array]",F="[object Int8Array]",M="[object Int16Array]",z="[object Int32Array]",B="[object Uint8Array]",H="[object Uint8ClampedArray]",$="[object Uint16Array]",U="[object Uint32Array]",V=/\b__p \+= '';/g,G=/\b(__p \+=) '' \+/g,W=/(__e\(.*?\)|\b__t\)) \+\n'';/g,q=/&(?:amp|lt|gt|quot|#39);/g,X=/[&<>"']/g,Y=RegExp(q.source),K=RegExp(X.source),Q=/<%-([\s\S]+?)%>/g,J=/<%([\s\S]+?)%>/g,ee=/<%=([\s\S]+?)%>/g,te=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ne=/^\w*$/,re=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,oe=/[\\^$.*+?()[\]{}|]/g,ie=RegExp(oe.source),ae=/^\s+/,se=/\s/,le=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ue=/\{\n\/\* \[wrapped with (.+)\] \*/,ce=/,? & /,fe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,de=/[()=,{}\[\]\/\s]/,pe=/\\(\\)?/g,he=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,me=/\w*$/,ge=/^[-+]0x[0-9a-f]+$/i,ve=/^0b[01]+$/i,ye=/^\[object .+?Constructor\]$/,be=/^0o[0-7]+$/i,xe=/^(?:0|[1-9]\d*)$/,we=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,_e=/($^)/,ke=/['\n\r\u2028\u2029\\]/g,Ce="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Se="\\u2700-\\u27bf",Ee="a-z\\xdf-\\xf6\\xf8-\\xff",Te="A-Z\\xc0-\\xd6\\xd8-\\xde",Oe="\\ufe0e\\ufe0f",Ae="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",je="['\u2019]",Ie="[\\ud800-\\udfff]",Pe="["+Ae+"]",Ne="["+Ce+"]",Re="\\d+",Ze="[\\u2700-\\u27bf]",Le="["+Ee+"]",De="[^\\ud800-\\udfff"+Ae+Re+Se+Ee+Te+"]",Fe="\\ud83c[\\udffb-\\udfff]",Me="[^\\ud800-\\udfff]",ze="(?:\\ud83c[\\udde6-\\uddff]){2}",Be="[\\ud800-\\udbff][\\udc00-\\udfff]",He="["+Te+"]",$e="(?:"+Le+"|"+De+")",Ue="(?:"+He+"|"+De+")",Ve="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",Ge="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",We="(?:"+Ne+"|"+Fe+")"+"?",qe="[\\ufe0e\\ufe0f]?",Xe=qe+We+("(?:\\u200d(?:"+[Me,ze,Be].join("|")+")"+qe+We+")*"),Ye="(?:"+[Ze,ze,Be].join("|")+")"+Xe,Ke="(?:"+[Me+Ne+"?",Ne,ze,Be,Ie].join("|")+")",Qe=RegExp(je,"g"),Je=RegExp(Ne,"g"),et=RegExp(Fe+"(?="+Fe+")|"+Ke+Xe,"g"),tt=RegExp([He+"?"+Le+"+"+Ve+"(?="+[Pe,He,"$"].join("|")+")",Ue+"+"+Ge+"(?="+[Pe,He+$e,"$"].join("|")+")",He+"?"+$e+"+"+Ve,He+"+"+Ge,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Re,Ye].join("|"),"g"),nt=RegExp("[\\u200d\\ud800-\\udfff"+Ce+Oe+"]"),rt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ot=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],it=-1,at={};at[L]=at[D]=at[F]=at[M]=at[z]=at[B]=at[H]=at[$]=at[U]=!0,at[y]=at[b]=at[R]=at[x]=at[Z]=at[w]=at[_]=at[k]=at[S]=at[E]=at[T]=at[A]=at[j]=at[I]=at[N]=!1;var st={};st[y]=st[b]=st[R]=st[Z]=st[x]=st[w]=st[L]=st[D]=st[F]=st[M]=st[z]=st[S]=st[E]=st[T]=st[A]=st[j]=st[I]=st[P]=st[B]=st[H]=st[$]=st[U]=!0,st[_]=st[k]=st[N]=!1;var lt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ut=parseFloat,ct=parseInt,ft="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,dt="object"==typeof self&&self&&self.Object===Object&&self,pt=ft||dt||Function("return this")(),ht=t&&!t.nodeType&&t,mt=ht&&e&&!e.nodeType&&e,gt=mt&&mt.exports===ht,vt=gt&&ft.process,yt=function(){try{var e=mt&&mt.require&&mt.require("util").types;return e||vt&&vt.binding&&vt.binding("util")}catch(t){}}(),bt=yt&&yt.isArrayBuffer,xt=yt&&yt.isDate,wt=yt&&yt.isMap,_t=yt&&yt.isRegExp,kt=yt&&yt.isSet,Ct=yt&&yt.isTypedArray;function St(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function Et(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o<i;){var a=e[o];t(r,a,n(a),e)}return r}function Tt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function Ot(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function At(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function jt(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}function It(e,t){return!!(null==e?0:e.length)&&Bt(e,t,0)>-1}function Pt(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}function Nt(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function Rt(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function Zt(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}function Lt(e,t,n,r){var o=null==e?0:e.length;for(r&&o&&(n=e[--o]);o--;)n=t(n,e[o],o,e);return n}function Dt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var Ft=Vt("length");function Mt(e,t,n){var r;return n(e,(function(e,n,o){if(t(e,n,o))return r=n,!1})),r}function zt(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}function Bt(e,t,n){return t===t?function(e,t,n){var r=n-1,o=e.length;for(;++r<o;)if(e[r]===t)return r;return-1}(e,t,n):zt(e,$t,n)}function Ht(e,t,n,r){for(var o=n-1,i=e.length;++o<i;)if(r(e[o],t))return o;return-1}function $t(e){return e!==e}function Ut(e,t){var n=null==e?0:e.length;return n?qt(e,t)/n:m}function Vt(e){return function(t){return null==t?o:t[e]}}function Gt(e){return function(t){return null==e?o:e[t]}}function Wt(e,t,n,r,o){return o(e,(function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)})),n}function qt(e,t){for(var n,r=-1,i=e.length;++r<i;){var a=t(e[r]);a!==o&&(n=n===o?a:n+a)}return n}function Xt(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function Yt(e){return e?e.slice(0,mn(e)+1).replace(ae,""):e}function Kt(e){return function(t){return e(t)}}function Qt(e,t){return Nt(t,(function(t){return e[t]}))}function Jt(e,t){return e.has(t)}function en(e,t){for(var n=-1,r=e.length;++n<r&&Bt(t,e[n],0)>-1;);return n}function tn(e,t){for(var n=e.length;n--&&Bt(t,e[n],0)>-1;);return n}function nn(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}var rn=Gt({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"}),on=Gt({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function an(e){return"\\"+lt[e]}function sn(e){return nt.test(e)}function ln(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function un(e,t){return function(n){return e(t(n))}}function cn(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n];a!==t&&a!==s||(e[n]=s,i[o++]=n)}return i}function fn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function dn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function pn(e){return sn(e)?function(e){var t=et.lastIndex=0;for(;et.test(e);)++t;return t}(e):Ft(e)}function hn(e){return sn(e)?function(e){return e.match(et)||[]}(e):function(e){return e.split("")}(e)}function mn(e){for(var t=e.length;t--&&se.test(e.charAt(t)););return t}var gn=Gt({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});var vn=function e(t){var n=(t=null==t?pt:vn.defaults(pt.Object(),t,vn.pick(pt,ot))).Array,r=t.Date,se=t.Error,Ce=t.Function,Se=t.Math,Ee=t.Object,Te=t.RegExp,Oe=t.String,Ae=t.TypeError,je=n.prototype,Ie=Ce.prototype,Pe=Ee.prototype,Ne=t["__core-js_shared__"],Re=Ie.toString,Ze=Pe.hasOwnProperty,Le=0,De=function(){var e=/[^.]+$/.exec(Ne&&Ne.keys&&Ne.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Fe=Pe.toString,Me=Re.call(Ee),ze=pt._,Be=Te("^"+Re.call(Ze).replace(oe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),He=gt?t.Buffer:o,$e=t.Symbol,Ue=t.Uint8Array,Ve=He?He.allocUnsafe:o,Ge=un(Ee.getPrototypeOf,Ee),We=Ee.create,qe=Pe.propertyIsEnumerable,Xe=je.splice,Ye=$e?$e.isConcatSpreadable:o,Ke=$e?$e.iterator:o,et=$e?$e.toStringTag:o,nt=function(){try{var e=pi(Ee,"defineProperty");return e({},"",{}),e}catch(t){}}(),lt=t.clearTimeout!==pt.clearTimeout&&t.clearTimeout,ft=r&&r.now!==pt.Date.now&&r.now,dt=t.setTimeout!==pt.setTimeout&&t.setTimeout,ht=Se.ceil,mt=Se.floor,vt=Ee.getOwnPropertySymbols,yt=He?He.isBuffer:o,Ft=t.isFinite,Gt=je.join,yn=un(Ee.keys,Ee),bn=Se.max,xn=Se.min,wn=r.now,_n=t.parseInt,kn=Se.random,Cn=je.reverse,Sn=pi(t,"DataView"),En=pi(t,"Map"),Tn=pi(t,"Promise"),On=pi(t,"Set"),An=pi(t,"WeakMap"),jn=pi(Ee,"create"),In=An&&new An,Pn={},Nn=zi(Sn),Rn=zi(En),Zn=zi(Tn),Ln=zi(On),Dn=zi(An),Fn=$e?$e.prototype:o,Mn=Fn?Fn.valueOf:o,zn=Fn?Fn.toString:o;function Bn(e){if(rs(e)&&!Ga(e)&&!(e instanceof Vn)){if(e instanceof Un)return e;if(Ze.call(e,"__wrapped__"))return Bi(e)}return new Un(e)}var Hn=function(){function e(){}return function(t){if(!ns(t))return{};if(We)return We(t);e.prototype=t;var n=new e;return e.prototype=o,n}}();function $n(){}function Un(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=o}function Vn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=g,this.__views__=[]}function Gn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Wn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function qn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Xn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new qn;++t<n;)this.add(e[t])}function Yn(e){var t=this.__data__=new Wn(e);this.size=t.size}function Kn(e,t){var n=Ga(e),r=!n&&Va(e),o=!n&&!r&&Ya(e),i=!n&&!r&&!o&&fs(e),a=n||r||o||i,s=a?Xt(e.length,Oe):[],l=s.length;for(var u in e)!t&&!Ze.call(e,u)||a&&("length"==u||o&&("offset"==u||"parent"==u)||i&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||xi(u,l))||s.push(u);return s}function Qn(e){var t=e.length;return t?e[Xr(0,t-1)]:o}function Jn(e,t){return Di(Io(e),lr(t,0,e.length))}function er(e){return Di(Io(e))}function tr(e,t,n){(n!==o&&!Ha(e[t],n)||n===o&&!(t in e))&&ar(e,t,n)}function nr(e,t,n){var r=e[t];Ze.call(e,t)&&Ha(r,n)&&(n!==o||t in e)||ar(e,t,n)}function rr(e,t){for(var n=e.length;n--;)if(Ha(e[n][0],t))return n;return-1}function or(e,t,n,r){return pr(e,(function(e,o,i){t(r,e,n(e),i)})),r}function ir(e,t){return e&&Po(t,Ns(t),e)}function ar(e,t,n){"__proto__"==t&&nt?nt(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function sr(e,t){for(var r=-1,i=t.length,a=n(i),s=null==e;++r<i;)a[r]=s?o:Os(e,t[r]);return a}function lr(e,t,n){return e===e&&(n!==o&&(e=e<=n?e:n),t!==o&&(e=e>=t?e:t)),e}function ur(e,t,n,r,i,a){var s,l=1&t,u=2&t,c=4&t;if(n&&(s=i?n(e,r,i,a):n(e)),s!==o)return s;if(!ns(e))return e;var f=Ga(e);if(f){if(s=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&Ze.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!l)return Io(e,s)}else{var d=gi(e),p=d==k||d==C;if(Ya(e))return So(e,l);if(d==T||d==y||p&&!i){if(s=u||p?{}:yi(e),!l)return u?function(e,t){return Po(e,mi(e),t)}(e,function(e,t){return e&&Po(t,Rs(t),e)}(s,e)):function(e,t){return Po(e,hi(e),t)}(e,ir(s,e))}else{if(!st[d])return i?e:{};s=function(e,t,n){var r=e.constructor;switch(t){case R:return Eo(e);case x:case w:return new r(+e);case Z:return function(e,t){var n=t?Eo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case L:case D:case F:case M:case z:case B:case H:case $:case U:return To(e,n);case S:return new r;case E:case I:return new r(e);case A:return function(e){var t=new e.constructor(e.source,me.exec(e));return t.lastIndex=e.lastIndex,t}(e);case j:return new r;case P:return o=e,Mn?Ee(Mn.call(o)):{}}var o}(e,d,l)}}a||(a=new Yn);var h=a.get(e);if(h)return h;a.set(e,s),ls(e)?e.forEach((function(r){s.add(ur(r,t,n,r,e,a))})):os(e)&&e.forEach((function(r,o){s.set(o,ur(r,t,n,o,e,a))}));var m=f?o:(c?u?ai:ii:u?Rs:Ns)(e);return Tt(m||e,(function(r,o){m&&(r=e[o=r]),nr(s,o,ur(r,t,n,o,e,a))})),s}function cr(e,t,n){var r=n.length;if(null==e)return!r;for(e=Ee(e);r--;){var i=n[r],a=t[i],s=e[i];if(s===o&&!(i in e)||!a(s))return!1}return!0}function fr(e,t,n){if("function"!=typeof e)throw new Ae(i);return Ni((function(){e.apply(o,n)}),t)}function dr(e,t,n,r){var o=-1,i=It,a=!0,s=e.length,l=[],u=t.length;if(!s)return l;n&&(t=Nt(t,Kt(n))),r?(i=Pt,a=!1):t.length>=200&&(i=Jt,a=!1,t=new Xn(t));e:for(;++o<s;){var c=e[o],f=null==n?c:n(c);if(c=r||0!==c?c:0,a&&f===f){for(var d=u;d--;)if(t[d]===f)continue e;l.push(c)}else i(t,f,r)||l.push(c)}return l}Bn.templateSettings={escape:Q,evaluate:J,interpolate:ee,variable:"",imports:{_:Bn}},Bn.prototype=$n.prototype,Bn.prototype.constructor=Bn,Un.prototype=Hn($n.prototype),Un.prototype.constructor=Un,Vn.prototype=Hn($n.prototype),Vn.prototype.constructor=Vn,Gn.prototype.clear=function(){this.__data__=jn?jn(null):{},this.size=0},Gn.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Gn.prototype.get=function(e){var t=this.__data__;if(jn){var n=t[e];return n===a?o:n}return Ze.call(t,e)?t[e]:o},Gn.prototype.has=function(e){var t=this.__data__;return jn?t[e]!==o:Ze.call(t,e)},Gn.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=jn&&t===o?a:t,this},Wn.prototype.clear=function(){this.__data__=[],this.size=0},Wn.prototype.delete=function(e){var t=this.__data__,n=rr(t,e);return!(n<0)&&(n==t.length-1?t.pop():Xe.call(t,n,1),--this.size,!0)},Wn.prototype.get=function(e){var t=this.__data__,n=rr(t,e);return n<0?o:t[n][1]},Wn.prototype.has=function(e){return rr(this.__data__,e)>-1},Wn.prototype.set=function(e,t){var n=this.__data__,r=rr(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},qn.prototype.clear=function(){this.size=0,this.__data__={hash:new Gn,map:new(En||Wn),string:new Gn}},qn.prototype.delete=function(e){var t=fi(this,e).delete(e);return this.size-=t?1:0,t},qn.prototype.get=function(e){return fi(this,e).get(e)},qn.prototype.has=function(e){return fi(this,e).has(e)},qn.prototype.set=function(e,t){var n=fi(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Xn.prototype.add=Xn.prototype.push=function(e){return this.__data__.set(e,a),this},Xn.prototype.has=function(e){return this.__data__.has(e)},Yn.prototype.clear=function(){this.__data__=new Wn,this.size=0},Yn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Yn.prototype.get=function(e){return this.__data__.get(e)},Yn.prototype.has=function(e){return this.__data__.has(e)},Yn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Wn){var r=n.__data__;if(!En||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new qn(r)}return n.set(e,t),this.size=n.size,this};var pr=Zo(wr),hr=Zo(_r,!0);function mr(e,t){var n=!0;return pr(e,(function(e,r,o){return n=!!t(e,r,o)})),n}function gr(e,t,n){for(var r=-1,i=e.length;++r<i;){var a=e[r],s=t(a);if(null!=s&&(l===o?s===s&&!cs(s):n(s,l)))var l=s,u=a}return u}function vr(e,t){var n=[];return pr(e,(function(e,r,o){t(e,r,o)&&n.push(e)})),n}function yr(e,t,n,r,o){var i=-1,a=e.length;for(n||(n=bi),o||(o=[]);++i<a;){var s=e[i];t>0&&n(s)?t>1?yr(s,t-1,n,r,o):Rt(o,s):r||(o[o.length]=s)}return o}var br=Lo(),xr=Lo(!0);function wr(e,t){return e&&br(e,t,Ns)}function _r(e,t){return e&&xr(e,t,Ns)}function kr(e,t){return jt(t,(function(t){return Ja(e[t])}))}function Cr(e,t){for(var n=0,r=(t=wo(t,e)).length;null!=e&&n<r;)e=e[Mi(t[n++])];return n&&n==r?e:o}function Sr(e,t,n){var r=t(e);return Ga(e)?r:Rt(r,n(e))}function Er(e){return null==e?e===o?"[object Undefined]":"[object Null]":et&&et in Ee(e)?function(e){var t=Ze.call(e,et),n=e[et];try{e[et]=o;var r=!0}catch(a){}var i=Fe.call(e);r&&(t?e[et]=n:delete e[et]);return i}(e):function(e){return Fe.call(e)}(e)}function Tr(e,t){return e>t}function Or(e,t){return null!=e&&Ze.call(e,t)}function Ar(e,t){return null!=e&&t in Ee(e)}function jr(e,t,r){for(var i=r?Pt:It,a=e[0].length,s=e.length,l=s,u=n(s),c=1/0,f=[];l--;){var d=e[l];l&&t&&(d=Nt(d,Kt(t))),c=xn(d.length,c),u[l]=!r&&(t||a>=120&&d.length>=120)?new Xn(l&&d):o}d=e[0];var p=-1,h=u[0];e:for(;++p<a&&f.length<c;){var m=d[p],g=t?t(m):m;if(m=r||0!==m?m:0,!(h?Jt(h,g):i(f,g,r))){for(l=s;--l;){var v=u[l];if(!(v?Jt(v,g):i(e[l],g,r)))continue e}h&&h.push(g),f.push(m)}}return f}function Ir(e,t,n){var r=null==(e=Ai(e,t=wo(t,e)))?e:e[Mi(Qi(t))];return null==r?o:St(r,e,n)}function Pr(e){return rs(e)&&Er(e)==y}function Nr(e,t,n,r,i){return e===t||(null==e||null==t||!rs(e)&&!rs(t)?e!==e&&t!==t:function(e,t,n,r,i,a){var s=Ga(e),l=Ga(t),u=s?b:gi(e),c=l?b:gi(t),f=(u=u==y?T:u)==T,d=(c=c==y?T:c)==T,p=u==c;if(p&&Ya(e)){if(!Ya(t))return!1;s=!0,f=!1}if(p&&!f)return a||(a=new Yn),s||fs(e)?ri(e,t,n,r,i,a):function(e,t,n,r,o,i,a){switch(n){case Z:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case R:return!(e.byteLength!=t.byteLength||!i(new Ue(e),new Ue(t)));case x:case w:case E:return Ha(+e,+t);case _:return e.name==t.name&&e.message==t.message;case A:case I:return e==t+"";case S:var s=ln;case j:var l=1&r;if(s||(s=fn),e.size!=t.size&&!l)return!1;var u=a.get(e);if(u)return u==t;r|=2,a.set(e,t);var c=ri(s(e),s(t),r,o,i,a);return a.delete(e),c;case P:if(Mn)return Mn.call(e)==Mn.call(t)}return!1}(e,t,u,n,r,i,a);if(!(1&n)){var h=f&&Ze.call(e,"__wrapped__"),m=d&&Ze.call(t,"__wrapped__");if(h||m){var g=h?e.value():e,v=m?t.value():t;return a||(a=new Yn),i(g,v,n,r,a)}}if(!p)return!1;return a||(a=new Yn),function(e,t,n,r,i,a){var s=1&n,l=ii(e),u=l.length,c=ii(t).length;if(u!=c&&!s)return!1;var f=u;for(;f--;){var d=l[f];if(!(s?d in t:Ze.call(t,d)))return!1}var p=a.get(e),h=a.get(t);if(p&&h)return p==t&&h==e;var m=!0;a.set(e,t),a.set(t,e);var g=s;for(;++f<u;){var v=e[d=l[f]],y=t[d];if(r)var b=s?r(y,v,d,t,e,a):r(v,y,d,e,t,a);if(!(b===o?v===y||i(v,y,n,r,a):b)){m=!1;break}g||(g="constructor"==d)}if(m&&!g){var x=e.constructor,w=t.constructor;x==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof x&&x instanceof x&&"function"==typeof w&&w instanceof w||(m=!1)}return a.delete(e),a.delete(t),m}(e,t,n,r,i,a)}(e,t,n,r,Nr,i))}function Rr(e,t,n,r){var i=n.length,a=i,s=!r;if(null==e)return!a;for(e=Ee(e);i--;){var l=n[i];if(s&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++i<a;){var u=(l=n[i])[0],c=e[u],f=l[1];if(s&&l[2]){if(c===o&&!(u in e))return!1}else{var d=new Yn;if(r)var p=r(c,f,u,e,t,d);if(!(p===o?Nr(f,c,3,r,d):p))return!1}}return!0}function Zr(e){return!(!ns(e)||(t=e,De&&De in t))&&(Ja(e)?Be:ye).test(zi(e));var t}function Lr(e){return"function"==typeof e?e:null==e?il:"object"==typeof e?Ga(e)?Hr(e[0],e[1]):Br(e):hl(e)}function Dr(e){if(!Si(e))return yn(e);var t=[];for(var n in Ee(e))Ze.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Fr(e){if(!ns(e))return function(e){var t=[];if(null!=e)for(var n in Ee(e))t.push(n);return t}(e);var t=Si(e),n=[];for(var r in e)("constructor"!=r||!t&&Ze.call(e,r))&&n.push(r);return n}function Mr(e,t){return e<t}function zr(e,t){var r=-1,o=qa(e)?n(e.length):[];return pr(e,(function(e,n,i){o[++r]=t(e,n,i)})),o}function Br(e){var t=di(e);return 1==t.length&&t[0][2]?Ti(t[0][0],t[0][1]):function(n){return n===e||Rr(n,e,t)}}function Hr(e,t){return _i(e)&&Ei(t)?Ti(Mi(e),t):function(n){var r=Os(n,e);return r===o&&r===t?As(n,e):Nr(t,r,3)}}function $r(e,t,n,r,i){e!==t&&br(t,(function(a,s){if(i||(i=new Yn),ns(a))!function(e,t,n,r,i,a,s){var l=Ii(e,n),u=Ii(t,n),c=s.get(u);if(c)return void tr(e,n,c);var f=a?a(l,u,n+"",e,t,s):o,d=f===o;if(d){var p=Ga(u),h=!p&&Ya(u),m=!p&&!h&&fs(u);f=u,p||h||m?Ga(l)?f=l:Xa(l)?f=Io(l):h?(d=!1,f=So(u,!0)):m?(d=!1,f=To(u,!0)):f=[]:as(u)||Va(u)?(f=l,Va(l)?f=bs(l):ns(l)&&!Ja(l)||(f=yi(u))):d=!1}d&&(s.set(u,f),i(f,u,r,a,s),s.delete(u));tr(e,n,f)}(e,t,s,n,$r,r,i);else{var l=r?r(Ii(e,s),a,s+"",e,t,i):o;l===o&&(l=a),tr(e,s,l)}}),Rs)}function Ur(e,t){var n=e.length;if(n)return xi(t+=t<0?n:0,n)?e[t]:o}function Vr(e,t,n){t=t.length?Nt(t,(function(e){return Ga(e)?function(t){return Cr(t,1===e.length?e[0]:e)}:e})):[il];var r=-1;t=Nt(t,Kt(ci()));var o=zr(e,(function(e,n,o){var i=Nt(t,(function(t){return t(e)}));return{criteria:i,index:++r,value:e}}));return function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(o,(function(e,t){return function(e,t,n){var r=-1,o=e.criteria,i=t.criteria,a=o.length,s=n.length;for(;++r<a;){var l=Oo(o[r],i[r]);if(l)return r>=s?l:l*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}))}function Gr(e,t,n){for(var r=-1,o=t.length,i={};++r<o;){var a=t[r],s=Cr(e,a);n(s,a)&&eo(i,wo(a,e),s)}return i}function Wr(e,t,n,r){var o=r?Ht:Bt,i=-1,a=t.length,s=e;for(e===t&&(t=Io(t)),n&&(s=Nt(e,Kt(n)));++i<a;)for(var l=0,u=t[i],c=n?n(u):u;(l=o(s,c,l,r))>-1;)s!==e&&Xe.call(s,l,1),Xe.call(e,l,1);return e}function qr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;xi(o)?Xe.call(e,o,1):po(e,o)}}return e}function Xr(e,t){return e+mt(kn()*(t-e+1))}function Yr(e,t){var n="";if(!e||t<1||t>h)return n;do{t%2&&(n+=e),(t=mt(t/2))&&(e+=e)}while(t);return n}function Kr(e,t){return Ri(Oi(e,t,il),e+"")}function Qr(e){return Qn(Hs(e))}function Jr(e,t){var n=Hs(e);return Di(n,lr(t,0,n.length))}function eo(e,t,n,r){if(!ns(e))return e;for(var i=-1,a=(t=wo(t,e)).length,s=a-1,l=e;null!=l&&++i<a;){var u=Mi(t[i]),c=n;if("__proto__"===u||"constructor"===u||"prototype"===u)return e;if(i!=s){var f=l[u];(c=r?r(f,u,l):o)===o&&(c=ns(f)?f:xi(t[i+1])?[]:{})}nr(l,u,c),l=l[u]}return e}var to=In?function(e,t){return In.set(e,t),e}:il,no=nt?function(e,t){return nt(e,"toString",{configurable:!0,enumerable:!1,value:nl(t),writable:!0})}:il;function ro(e){return Di(Hs(e))}function oo(e,t,r){var o=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(r=r>i?i:r)<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;for(var a=n(i);++o<i;)a[o]=e[o+t];return a}function io(e,t){var n;return pr(e,(function(e,r,o){return!(n=t(e,r,o))})),!!n}function ao(e,t,n){var r=0,o=null==e?r:e.length;if("number"==typeof t&&t===t&&o<=2147483647){for(;r<o;){var i=r+o>>>1,a=e[i];null!==a&&!cs(a)&&(n?a<=t:a<t)?r=i+1:o=i}return o}return so(e,t,il,n)}function so(e,t,n,r){var i=0,a=null==e?0:e.length;if(0===a)return 0;for(var s=(t=n(t))!==t,l=null===t,u=cs(t),c=t===o;i<a;){var f=mt((i+a)/2),d=n(e[f]),p=d!==o,h=null===d,m=d===d,g=cs(d);if(s)var v=r||m;else v=c?m&&(r||p):l?m&&p&&(r||!h):u?m&&p&&!h&&(r||!g):!h&&!g&&(r?d<=t:d<t);v?i=f+1:a=f}return xn(a,4294967294)}function lo(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n],s=t?t(a):a;if(!n||!Ha(s,l)){var l=s;i[o++]=0===a?0:a}}return i}function uo(e){return"number"==typeof e?e:cs(e)?m:+e}function co(e){if("string"==typeof e)return e;if(Ga(e))return Nt(e,co)+"";if(cs(e))return zn?zn.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function fo(e,t,n){var r=-1,o=It,i=e.length,a=!0,s=[],l=s;if(n)a=!1,o=Pt;else if(i>=200){var u=t?null:Ko(e);if(u)return fn(u);a=!1,o=Jt,l=new Xn}else l=t?[]:s;e:for(;++r<i;){var c=e[r],f=t?t(c):c;if(c=n||0!==c?c:0,a&&f===f){for(var d=l.length;d--;)if(l[d]===f)continue e;t&&l.push(f),s.push(c)}else o(l,f,n)||(l!==s&&l.push(f),s.push(c))}return s}function po(e,t){return null==(e=Ai(e,t=wo(t,e)))||delete e[Mi(Qi(t))]}function ho(e,t,n,r){return eo(e,t,n(Cr(e,t)),r)}function mo(e,t,n,r){for(var o=e.length,i=r?o:-1;(r?i--:++i<o)&&t(e[i],i,e););return n?oo(e,r?0:i,r?i+1:o):oo(e,r?i+1:0,r?o:i)}function go(e,t){var n=e;return n instanceof Vn&&(n=n.value()),Zt(t,(function(e,t){return t.func.apply(t.thisArg,Rt([e],t.args))}),n)}function vo(e,t,r){var o=e.length;if(o<2)return o?fo(e[0]):[];for(var i=-1,a=n(o);++i<o;)for(var s=e[i],l=-1;++l<o;)l!=i&&(a[i]=dr(a[i]||s,e[l],t,r));return fo(yr(a,1),t,r)}function yo(e,t,n){for(var r=-1,i=e.length,a=t.length,s={};++r<i;){var l=r<a?t[r]:o;n(s,e[r],l)}return s}function bo(e){return Xa(e)?e:[]}function xo(e){return"function"==typeof e?e:il}function wo(e,t){return Ga(e)?e:_i(e,t)?[e]:Fi(xs(e))}var _o=Kr;function ko(e,t,n){var r=e.length;return n=n===o?r:n,!t&&n>=r?e:oo(e,t,n)}var Co=lt||function(e){return pt.clearTimeout(e)};function So(e,t){if(t)return e.slice();var n=e.length,r=Ve?Ve(n):new e.constructor(n);return e.copy(r),r}function Eo(e){var t=new e.constructor(e.byteLength);return new Ue(t).set(new Ue(e)),t}function To(e,t){var n=t?Eo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Oo(e,t){if(e!==t){var n=e!==o,r=null===e,i=e===e,a=cs(e),s=t!==o,l=null===t,u=t===t,c=cs(t);if(!l&&!c&&!a&&e>t||a&&s&&u&&!l&&!c||r&&s&&u||!n&&u||!i)return 1;if(!r&&!a&&!c&&e<t||c&&n&&i&&!r&&!a||l&&n&&i||!s&&i||!u)return-1}return 0}function Ao(e,t,r,o){for(var i=-1,a=e.length,s=r.length,l=-1,u=t.length,c=bn(a-s,0),f=n(u+c),d=!o;++l<u;)f[l]=t[l];for(;++i<s;)(d||i<a)&&(f[r[i]]=e[i]);for(;c--;)f[l++]=e[i++];return f}function jo(e,t,r,o){for(var i=-1,a=e.length,s=-1,l=r.length,u=-1,c=t.length,f=bn(a-l,0),d=n(f+c),p=!o;++i<f;)d[i]=e[i];for(var h=i;++u<c;)d[h+u]=t[u];for(;++s<l;)(p||i<a)&&(d[h+r[s]]=e[i++]);return d}function Io(e,t){var r=-1,o=e.length;for(t||(t=n(o));++r<o;)t[r]=e[r];return t}function Po(e,t,n,r){var i=!n;n||(n={});for(var a=-1,s=t.length;++a<s;){var l=t[a],u=r?r(n[l],e[l],l,n,e):o;u===o&&(u=e[l]),i?ar(n,l,u):nr(n,l,u)}return n}function No(e,t){return function(n,r){var o=Ga(n)?Et:or,i=t?t():{};return o(n,e,ci(r,2),i)}}function Ro(e){return Kr((function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:o,s=i>2?n[2]:o;for(a=e.length>3&&"function"==typeof a?(i--,a):o,s&&wi(n[0],n[1],s)&&(a=i<3?o:a,i=1),t=Ee(t);++r<i;){var l=n[r];l&&e(t,l,r,a)}return t}))}function Zo(e,t){return function(n,r){if(null==n)return n;if(!qa(n))return e(n,r);for(var o=n.length,i=t?o:-1,a=Ee(n);(t?i--:++i<o)&&!1!==r(a[i],i,a););return n}}function Lo(e){return function(t,n,r){for(var o=-1,i=Ee(t),a=r(t),s=a.length;s--;){var l=a[e?s:++o];if(!1===n(i[l],l,i))break}return t}}function Do(e){return function(t){var n=sn(t=xs(t))?hn(t):o,r=n?n[0]:t.charAt(0),i=n?ko(n,1).join(""):t.slice(1);return r[e]()+i}}function Fo(e){return function(t){return Zt(Js(Vs(t).replace(Qe,"")),e,"")}}function Mo(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=Hn(e.prototype),r=e.apply(n,t);return ns(r)?r:n}}function zo(e){return function(t,n,r){var i=Ee(t);if(!qa(t)){var a=ci(n,3);t=Ns(t),n=function(e){return a(i[e],e,i)}}var s=e(t,n,r);return s>-1?i[a?t[s]:s]:o}}function Bo(e){return oi((function(t){var n=t.length,r=n,a=Un.prototype.thru;for(e&&t.reverse();r--;){var s=t[r];if("function"!=typeof s)throw new Ae(i);if(a&&!l&&"wrapper"==li(s))var l=new Un([],!0)}for(r=l?r:n;++r<n;){var u=li(s=t[r]),c="wrapper"==u?si(s):o;l=c&&ki(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?l[li(c[0])].apply(l,c[3]):1==s.length&&ki(s)?l[u]():l.thru(s)}return function(){var e=arguments,r=e[0];if(l&&1==e.length&&Ga(r))return l.plant(r).value();for(var o=0,i=n?t[o].apply(this,e):r;++o<n;)i=t[o].call(this,i);return i}}))}function Ho(e,t,r,i,a,s,l,u,c,d){var p=t&f,h=1&t,m=2&t,g=24&t,v=512&t,y=m?o:Mo(e);return function o(){for(var f=arguments.length,b=n(f),x=f;x--;)b[x]=arguments[x];if(g)var w=ui(o),_=nn(b,w);if(i&&(b=Ao(b,i,a,g)),s&&(b=jo(b,s,l,g)),f-=_,g&&f<d){var k=cn(b,w);return Xo(e,t,Ho,o.placeholder,r,b,k,u,c,d-f)}var C=h?r:this,S=m?C[e]:e;return f=b.length,u?b=ji(b,u):v&&f>1&&b.reverse(),p&&c<f&&(b.length=c),this&&this!==pt&&this instanceof o&&(S=y||Mo(S)),S.apply(C,b)}}function $o(e,t){return function(n,r){return function(e,t,n,r){return wr(e,(function(e,o,i){t(r,n(e),o,i)})),r}(n,e,t(r),{})}}function Uo(e,t){return function(n,r){var i;if(n===o&&r===o)return t;if(n!==o&&(i=n),r!==o){if(i===o)return r;"string"==typeof n||"string"==typeof r?(n=co(n),r=co(r)):(n=uo(n),r=uo(r)),i=e(n,r)}return i}}function Vo(e){return oi((function(t){return t=Nt(t,Kt(ci())),Kr((function(n){var r=this;return e(t,(function(e){return St(e,r,n)}))}))}))}function Go(e,t){var n=(t=t===o?" ":co(t)).length;if(n<2)return n?Yr(t,e):t;var r=Yr(t,ht(e/pn(t)));return sn(t)?ko(hn(r),0,e).join(""):r.slice(0,e)}function Wo(e){return function(t,r,i){return i&&"number"!=typeof i&&wi(t,r,i)&&(r=i=o),t=ms(t),r===o?(r=t,t=0):r=ms(r),function(e,t,r,o){for(var i=-1,a=bn(ht((t-e)/(r||1)),0),s=n(a);a--;)s[o?a:++i]=e,e+=r;return s}(t,r,i=i===o?t<r?1:-1:ms(i),e)}}function qo(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=ys(t),n=ys(n)),e(t,n)}}function Xo(e,t,n,r,i,a,s,l,f,d){var p=8&t;t|=p?u:c,4&(t&=~(p?c:u))||(t&=-4);var h=[e,t,i,p?a:o,p?s:o,p?o:a,p?o:s,l,f,d],m=n.apply(o,h);return ki(e)&&Pi(m,h),m.placeholder=r,Zi(m,e,t)}function Yo(e){var t=Se[e];return function(e,n){if(e=ys(e),(n=null==n?0:xn(gs(n),292))&&Ft(e)){var r=(xs(e)+"e").split("e");return+((r=(xs(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var Ko=On&&1/fn(new On([,-0]))[1]==p?function(e){return new On(e)}:cl;function Qo(e){return function(t){var n=gi(t);return n==S?ln(t):n==j?dn(t):function(e,t){return Nt(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Jo(e,t,r,a,p,h,m,g){var v=2&t;if(!v&&"function"!=typeof e)throw new Ae(i);var y=a?a.length:0;if(y||(t&=-97,a=p=o),m=m===o?m:bn(gs(m),0),g=g===o?g:gs(g),y-=p?p.length:0,t&c){var b=a,x=p;a=p=o}var w=v?o:si(e),_=[e,t,r,a,p,b,x,h,m,g];if(w&&function(e,t){var n=e[1],r=t[1],o=n|r,i=o<131,a=r==f&&8==n||r==f&&n==d&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!i&&!a)return e;1&r&&(e[2]=t[2],o|=1&n?0:4);var l=t[3];if(l){var u=e[3];e[3]=u?Ao(u,l,t[4]):l,e[4]=u?cn(e[3],s):t[4]}(l=t[5])&&(u=e[5],e[5]=u?jo(u,l,t[6]):l,e[6]=u?cn(e[5],s):t[6]);(l=t[7])&&(e[7]=l);r&f&&(e[8]=null==e[8]?t[8]:xn(e[8],t[8]));null==e[9]&&(e[9]=t[9]);e[0]=t[0],e[1]=o}(_,w),e=_[0],t=_[1],r=_[2],a=_[3],p=_[4],!(g=_[9]=_[9]===o?v?0:e.length:bn(_[9]-y,0))&&24&t&&(t&=-25),t&&1!=t)k=8==t||t==l?function(e,t,r){var i=Mo(e);return function a(){for(var s=arguments.length,l=n(s),u=s,c=ui(a);u--;)l[u]=arguments[u];var f=s<3&&l[0]!==c&&l[s-1]!==c?[]:cn(l,c);return(s-=f.length)<r?Xo(e,t,Ho,a.placeholder,o,l,f,o,o,r-s):St(this&&this!==pt&&this instanceof a?i:e,this,l)}}(e,t,g):t!=u&&33!=t||p.length?Ho.apply(o,_):function(e,t,r,o){var i=1&t,a=Mo(e);return function t(){for(var s=-1,l=arguments.length,u=-1,c=o.length,f=n(c+l),d=this&&this!==pt&&this instanceof t?a:e;++u<c;)f[u]=o[u];for(;l--;)f[u++]=arguments[++s];return St(d,i?r:this,f)}}(e,t,r,a);else var k=function(e,t,n){var r=1&t,o=Mo(e);return function t(){return(this&&this!==pt&&this instanceof t?o:e).apply(r?n:this,arguments)}}(e,t,r);return Zi((w?to:Pi)(k,_),e,t)}function ei(e,t,n,r){return e===o||Ha(e,Pe[n])&&!Ze.call(r,n)?t:e}function ti(e,t,n,r,i,a){return ns(e)&&ns(t)&&(a.set(t,e),$r(e,t,o,ti,a),a.delete(t)),e}function ni(e){return as(e)?o:e}function ri(e,t,n,r,i,a){var s=1&n,l=e.length,u=t.length;if(l!=u&&!(s&&u>l))return!1;var c=a.get(e),f=a.get(t);if(c&&f)return c==t&&f==e;var d=-1,p=!0,h=2&n?new Xn:o;for(a.set(e,t),a.set(t,e);++d<l;){var m=e[d],g=t[d];if(r)var v=s?r(g,m,d,t,e,a):r(m,g,d,e,t,a);if(v!==o){if(v)continue;p=!1;break}if(h){if(!Dt(t,(function(e,t){if(!Jt(h,t)&&(m===e||i(m,e,n,r,a)))return h.push(t)}))){p=!1;break}}else if(m!==g&&!i(m,g,n,r,a)){p=!1;break}}return a.delete(e),a.delete(t),p}function oi(e){return Ri(Oi(e,o,Wi),e+"")}function ii(e){return Sr(e,Ns,hi)}function ai(e){return Sr(e,Rs,mi)}var si=In?function(e){return In.get(e)}:cl;function li(e){for(var t=e.name+"",n=Pn[t],r=Ze.call(Pn,t)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==e)return o.name}return t}function ui(e){return(Ze.call(Bn,"placeholder")?Bn:e).placeholder}function ci(){var e=Bn.iteratee||al;return e=e===al?Lr:e,arguments.length?e(arguments[0],arguments[1]):e}function fi(e,t){var n=e.__data__;return function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}(t)?n["string"==typeof t?"string":"hash"]:n.map}function di(e){for(var t=Ns(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,Ei(o)]}return t}function pi(e,t){var n=function(e,t){return null==e?o:e[t]}(e,t);return Zr(n)?n:o}var hi=vt?function(e){return null==e?[]:(e=Ee(e),jt(vt(e),(function(t){return qe.call(e,t)})))}:vl,mi=vt?function(e){for(var t=[];e;)Rt(t,hi(e)),e=Ge(e);return t}:vl,gi=Er;function vi(e,t,n){for(var r=-1,o=(t=wo(t,e)).length,i=!1;++r<o;){var a=Mi(t[r]);if(!(i=null!=e&&n(e,a)))break;e=e[a]}return i||++r!=o?i:!!(o=null==e?0:e.length)&&ts(o)&&xi(a,o)&&(Ga(e)||Va(e))}function yi(e){return"function"!=typeof e.constructor||Si(e)?{}:Hn(Ge(e))}function bi(e){return Ga(e)||Va(e)||!!(Ye&&e&&e[Ye])}function xi(e,t){var n=typeof e;return!!(t=null==t?h:t)&&("number"==n||"symbol"!=n&&xe.test(e))&&e>-1&&e%1==0&&e<t}function wi(e,t,n){if(!ns(n))return!1;var r=typeof t;return!!("number"==r?qa(n)&&xi(t,n.length):"string"==r&&t in n)&&Ha(n[t],e)}function _i(e,t){if(Ga(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!cs(e))||(ne.test(e)||!te.test(e)||null!=t&&e in Ee(t))}function ki(e){var t=li(e),n=Bn[t];if("function"!=typeof n||!(t in Vn.prototype))return!1;if(e===n)return!0;var r=si(n);return!!r&&e===r[0]}(Sn&&gi(new Sn(new ArrayBuffer(1)))!=Z||En&&gi(new En)!=S||Tn&&gi(Tn.resolve())!=O||On&&gi(new On)!=j||An&&gi(new An)!=N)&&(gi=function(e){var t=Er(e),n=t==T?e.constructor:o,r=n?zi(n):"";if(r)switch(r){case Nn:return Z;case Rn:return S;case Zn:return O;case Ln:return j;case Dn:return N}return t});var Ci=Ne?Ja:yl;function Si(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Pe)}function Ei(e){return e===e&&!ns(e)}function Ti(e,t){return function(n){return null!=n&&(n[e]===t&&(t!==o||e in Ee(n)))}}function Oi(e,t,r){return t=bn(t===o?e.length-1:t,0),function(){for(var o=arguments,i=-1,a=bn(o.length-t,0),s=n(a);++i<a;)s[i]=o[t+i];i=-1;for(var l=n(t+1);++i<t;)l[i]=o[i];return l[t]=r(s),St(e,this,l)}}function Ai(e,t){return t.length<2?e:Cr(e,oo(t,0,-1))}function ji(e,t){for(var n=e.length,r=xn(t.length,n),i=Io(e);r--;){var a=t[r];e[r]=xi(a,n)?i[a]:o}return e}function Ii(e,t){if(("constructor"!==t||"function"!==typeof e[t])&&"__proto__"!=t)return e[t]}var Pi=Li(to),Ni=dt||function(e,t){return pt.setTimeout(e,t)},Ri=Li(no);function Zi(e,t,n){var r=t+"";return Ri(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(le,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return Tt(v,(function(n){var r="_."+n[0];t&n[1]&&!It(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(ue);return t?t[1].split(ce):[]}(r),n)))}function Li(e){var t=0,n=0;return function(){var r=wn(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(o,arguments)}}function Di(e,t){var n=-1,r=e.length,i=r-1;for(t=t===o?r:t;++n<t;){var a=Xr(n,i),s=e[a];e[a]=e[n],e[n]=s}return e.length=t,e}var Fi=function(e){var t=La(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(re,(function(e,n,r,o){t.push(r?o.replace(pe,"$1"):n||e)})),t}));function Mi(e){if("string"==typeof e||cs(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function zi(e){if(null!=e){try{return Re.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function Bi(e){if(e instanceof Vn)return e.clone();var t=new Un(e.__wrapped__,e.__chain__);return t.__actions__=Io(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Hi=Kr((function(e,t){return Xa(e)?dr(e,yr(t,1,Xa,!0)):[]})),$i=Kr((function(e,t){var n=Qi(t);return Xa(n)&&(n=o),Xa(e)?dr(e,yr(t,1,Xa,!0),ci(n,2)):[]})),Ui=Kr((function(e,t){var n=Qi(t);return Xa(n)&&(n=o),Xa(e)?dr(e,yr(t,1,Xa,!0),o,n):[]}));function Vi(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:gs(n);return o<0&&(o=bn(r+o,0)),zt(e,ci(t,3),o)}function Gi(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r-1;return n!==o&&(i=gs(n),i=n<0?bn(r+i,0):xn(i,r-1)),zt(e,ci(t,3),i,!0)}function Wi(e){return(null==e?0:e.length)?yr(e,1):[]}function qi(e){return e&&e.length?e[0]:o}var Xi=Kr((function(e){var t=Nt(e,bo);return t.length&&t[0]===e[0]?jr(t):[]})),Yi=Kr((function(e){var t=Qi(e),n=Nt(e,bo);return t===Qi(n)?t=o:n.pop(),n.length&&n[0]===e[0]?jr(n,ci(t,2)):[]})),Ki=Kr((function(e){var t=Qi(e),n=Nt(e,bo);return(t="function"==typeof t?t:o)&&n.pop(),n.length&&n[0]===e[0]?jr(n,o,t):[]}));function Qi(e){var t=null==e?0:e.length;return t?e[t-1]:o}var Ji=Kr(ea);function ea(e,t){return e&&e.length&&t&&t.length?Wr(e,t):e}var ta=oi((function(e,t){var n=null==e?0:e.length,r=sr(e,t);return qr(e,Nt(t,(function(e){return xi(e,n)?+e:e})).sort(Oo)),r}));function na(e){return null==e?e:Cn.call(e)}var ra=Kr((function(e){return fo(yr(e,1,Xa,!0))})),oa=Kr((function(e){var t=Qi(e);return Xa(t)&&(t=o),fo(yr(e,1,Xa,!0),ci(t,2))})),ia=Kr((function(e){var t=Qi(e);return t="function"==typeof t?t:o,fo(yr(e,1,Xa,!0),o,t)}));function aa(e){if(!e||!e.length)return[];var t=0;return e=jt(e,(function(e){if(Xa(e))return t=bn(e.length,t),!0})),Xt(t,(function(t){return Nt(e,Vt(t))}))}function sa(e,t){if(!e||!e.length)return[];var n=aa(e);return null==t?n:Nt(n,(function(e){return St(t,o,e)}))}var la=Kr((function(e,t){return Xa(e)?dr(e,t):[]})),ua=Kr((function(e){return vo(jt(e,Xa))})),ca=Kr((function(e){var t=Qi(e);return Xa(t)&&(t=o),vo(jt(e,Xa),ci(t,2))})),fa=Kr((function(e){var t=Qi(e);return t="function"==typeof t?t:o,vo(jt(e,Xa),o,t)})),da=Kr(aa);var pa=Kr((function(e){var t=e.length,n=t>1?e[t-1]:o;return n="function"==typeof n?(e.pop(),n):o,sa(e,n)}));function ha(e){var t=Bn(e);return t.__chain__=!0,t}function ma(e,t){return t(e)}var ga=oi((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return sr(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Vn&&xi(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:ma,args:[i],thisArg:o}),new Un(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(o),e}))):this.thru(i)}));var va=No((function(e,t,n){Ze.call(e,n)?++e[n]:ar(e,n,1)}));var ya=zo(Vi),ba=zo(Gi);function xa(e,t){return(Ga(e)?Tt:pr)(e,ci(t,3))}function wa(e,t){return(Ga(e)?Ot:hr)(e,ci(t,3))}var _a=No((function(e,t,n){Ze.call(e,n)?e[n].push(t):ar(e,n,[t])}));var ka=Kr((function(e,t,r){var o=-1,i="function"==typeof t,a=qa(e)?n(e.length):[];return pr(e,(function(e){a[++o]=i?St(t,e,r):Ir(e,t,r)})),a})),Ca=No((function(e,t,n){ar(e,n,t)}));function Sa(e,t){return(Ga(e)?Nt:zr)(e,ci(t,3))}var Ea=No((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var Ta=Kr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&wi(e,t[0],t[1])?t=[]:n>2&&wi(t[0],t[1],t[2])&&(t=[t[0]]),Vr(e,yr(t,1),[])})),Oa=ft||function(){return pt.Date.now()};function Aa(e,t,n){return t=n?o:t,t=e&&null==t?e.length:t,Jo(e,f,o,o,o,o,t)}function ja(e,t){var n;if("function"!=typeof t)throw new Ae(i);return e=gs(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=o),n}}var Ia=Kr((function(e,t,n){var r=1;if(n.length){var o=cn(n,ui(Ia));r|=u}return Jo(e,r,t,n,o)})),Pa=Kr((function(e,t,n){var r=3;if(n.length){var o=cn(n,ui(Pa));r|=u}return Jo(t,r,e,n,o)}));function Na(e,t,n){var r,a,s,l,u,c,f=0,d=!1,p=!1,h=!0;if("function"!=typeof e)throw new Ae(i);function m(t){var n=r,i=a;return r=a=o,f=t,l=e.apply(i,n)}function g(e){return f=e,u=Ni(y,t),d?m(e):l}function v(e){var n=e-c;return c===o||n>=t||n<0||p&&e-f>=s}function y(){var e=Oa();if(v(e))return b(e);u=Ni(y,function(e){var n=t-(e-c);return p?xn(n,s-(e-f)):n}(e))}function b(e){return u=o,h&&r?m(e):(r=a=o,l)}function x(){var e=Oa(),n=v(e);if(r=arguments,a=this,c=e,n){if(u===o)return g(c);if(p)return Co(u),u=Ni(y,t),m(c)}return u===o&&(u=Ni(y,t)),l}return t=ys(t)||0,ns(n)&&(d=!!n.leading,s=(p="maxWait"in n)?bn(ys(n.maxWait)||0,t):s,h="trailing"in n?!!n.trailing:h),x.cancel=function(){u!==o&&Co(u),f=0,r=c=a=u=o},x.flush=function(){return u===o?l:b(Oa())},x}var Ra=Kr((function(e,t){return fr(e,1,t)})),Za=Kr((function(e,t,n){return fr(e,ys(t)||0,n)}));function La(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Ae(i);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(La.Cache||qn),n}function Da(e){if("function"!=typeof e)throw new Ae(i);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}La.Cache=qn;var Fa=_o((function(e,t){var n=(t=1==t.length&&Ga(t[0])?Nt(t[0],Kt(ci())):Nt(yr(t,1),Kt(ci()))).length;return Kr((function(r){for(var o=-1,i=xn(r.length,n);++o<i;)r[o]=t[o].call(this,r[o]);return St(e,this,r)}))})),Ma=Kr((function(e,t){var n=cn(t,ui(Ma));return Jo(e,u,o,t,n)})),za=Kr((function(e,t){var n=cn(t,ui(za));return Jo(e,c,o,t,n)})),Ba=oi((function(e,t){return Jo(e,d,o,o,o,t)}));function Ha(e,t){return e===t||e!==e&&t!==t}var $a=qo(Tr),Ua=qo((function(e,t){return e>=t})),Va=Pr(function(){return arguments}())?Pr:function(e){return rs(e)&&Ze.call(e,"callee")&&!qe.call(e,"callee")},Ga=n.isArray,Wa=bt?Kt(bt):function(e){return rs(e)&&Er(e)==R};function qa(e){return null!=e&&ts(e.length)&&!Ja(e)}function Xa(e){return rs(e)&&qa(e)}var Ya=yt||yl,Ka=xt?Kt(xt):function(e){return rs(e)&&Er(e)==w};function Qa(e){if(!rs(e))return!1;var t=Er(e);return t==_||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!as(e)}function Ja(e){if(!ns(e))return!1;var t=Er(e);return t==k||t==C||"[object AsyncFunction]"==t||"[object Proxy]"==t}function es(e){return"number"==typeof e&&e==gs(e)}function ts(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=h}function ns(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function rs(e){return null!=e&&"object"==typeof e}var os=wt?Kt(wt):function(e){return rs(e)&&gi(e)==S};function is(e){return"number"==typeof e||rs(e)&&Er(e)==E}function as(e){if(!rs(e)||Er(e)!=T)return!1;var t=Ge(e);if(null===t)return!0;var n=Ze.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Re.call(n)==Me}var ss=_t?Kt(_t):function(e){return rs(e)&&Er(e)==A};var ls=kt?Kt(kt):function(e){return rs(e)&&gi(e)==j};function us(e){return"string"==typeof e||!Ga(e)&&rs(e)&&Er(e)==I}function cs(e){return"symbol"==typeof e||rs(e)&&Er(e)==P}var fs=Ct?Kt(Ct):function(e){return rs(e)&&ts(e.length)&&!!at[Er(e)]};var ds=qo(Mr),ps=qo((function(e,t){return e<=t}));function hs(e){if(!e)return[];if(qa(e))return us(e)?hn(e):Io(e);if(Ke&&e[Ke])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Ke]());var t=gi(e);return(t==S?ln:t==j?fn:Hs)(e)}function ms(e){return e?(e=ys(e))===p||e===-1/0?17976931348623157e292*(e<0?-1:1):e===e?e:0:0===e?e:0}function gs(e){var t=ms(e),n=t%1;return t===t?n?t-n:t:0}function vs(e){return e?lr(gs(e),0,g):0}function ys(e){if("number"==typeof e)return e;if(cs(e))return m;if(ns(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=ns(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Yt(e);var n=ve.test(e);return n||be.test(e)?ct(e.slice(2),n?2:8):ge.test(e)?m:+e}function bs(e){return Po(e,Rs(e))}function xs(e){return null==e?"":co(e)}var ws=Ro((function(e,t){if(Si(t)||qa(t))Po(t,Ns(t),e);else for(var n in t)Ze.call(t,n)&&nr(e,n,t[n])})),_s=Ro((function(e,t){Po(t,Rs(t),e)})),ks=Ro((function(e,t,n,r){Po(t,Rs(t),e,r)})),Cs=Ro((function(e,t,n,r){Po(t,Ns(t),e,r)})),Ss=oi(sr);var Es=Kr((function(e,t){e=Ee(e);var n=-1,r=t.length,i=r>2?t[2]:o;for(i&&wi(t[0],t[1],i)&&(r=1);++n<r;)for(var a=t[n],s=Rs(a),l=-1,u=s.length;++l<u;){var c=s[l],f=e[c];(f===o||Ha(f,Pe[c])&&!Ze.call(e,c))&&(e[c]=a[c])}return e})),Ts=Kr((function(e){return e.push(o,ti),St(Ls,o,e)}));function Os(e,t,n){var r=null==e?o:Cr(e,t);return r===o?n:r}function As(e,t){return null!=e&&vi(e,t,Ar)}var js=$o((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Fe.call(t)),e[t]=n}),nl(il)),Is=$o((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Fe.call(t)),Ze.call(e,t)?e[t].push(n):e[t]=[n]}),ci),Ps=Kr(Ir);function Ns(e){return qa(e)?Kn(e):Dr(e)}function Rs(e){return qa(e)?Kn(e,!0):Fr(e)}var Zs=Ro((function(e,t,n){$r(e,t,n)})),Ls=Ro((function(e,t,n,r){$r(e,t,n,r)})),Ds=oi((function(e,t){var n={};if(null==e)return n;var r=!1;t=Nt(t,(function(t){return t=wo(t,e),r||(r=t.length>1),t})),Po(e,ai(e),n),r&&(n=ur(n,7,ni));for(var o=t.length;o--;)po(n,t[o]);return n}));var Fs=oi((function(e,t){return null==e?{}:function(e,t){return Gr(e,t,(function(t,n){return As(e,n)}))}(e,t)}));function Ms(e,t){if(null==e)return{};var n=Nt(ai(e),(function(e){return[e]}));return t=ci(t),Gr(e,n,(function(e,n){return t(e,n[0])}))}var zs=Qo(Ns),Bs=Qo(Rs);function Hs(e){return null==e?[]:Qt(e,Ns(e))}var $s=Fo((function(e,t,n){return t=t.toLowerCase(),e+(n?Us(t):t)}));function Us(e){return Qs(xs(e).toLowerCase())}function Vs(e){return(e=xs(e))&&e.replace(we,rn).replace(Je,"")}var Gs=Fo((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Ws=Fo((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),qs=Do("toLowerCase");var Xs=Fo((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Ys=Fo((function(e,t,n){return e+(n?" ":"")+Qs(t)}));var Ks=Fo((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Qs=Do("toUpperCase");function Js(e,t,n){return e=xs(e),(t=n?o:t)===o?function(e){return rt.test(e)}(e)?function(e){return e.match(tt)||[]}(e):function(e){return e.match(fe)||[]}(e):e.match(t)||[]}var el=Kr((function(e,t){try{return St(e,o,t)}catch(n){return Qa(n)?n:new se(n)}})),tl=oi((function(e,t){return Tt(t,(function(t){t=Mi(t),ar(e,t,Ia(e[t],e))})),e}));function nl(e){return function(){return e}}var rl=Bo(),ol=Bo(!0);function il(e){return e}function al(e){return Lr("function"==typeof e?e:ur(e,1))}var sl=Kr((function(e,t){return function(n){return Ir(n,e,t)}})),ll=Kr((function(e,t){return function(n){return Ir(e,n,t)}}));function ul(e,t,n){var r=Ns(t),o=kr(t,r);null!=n||ns(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=kr(t,Ns(t)));var i=!(ns(n)&&"chain"in n)||!!n.chain,a=Ja(e);return Tt(o,(function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__),o=n.__actions__=Io(this.__actions__);return o.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,Rt([this.value()],arguments))})})),e}function cl(){}var fl=Vo(Nt),dl=Vo(At),pl=Vo(Dt);function hl(e){return _i(e)?Vt(Mi(e)):function(e){return function(t){return Cr(t,e)}}(e)}var ml=Wo(),gl=Wo(!0);function vl(){return[]}function yl(){return!1}var bl=Uo((function(e,t){return e+t}),0),xl=Yo("ceil"),wl=Uo((function(e,t){return e/t}),1),_l=Yo("floor");var kl=Uo((function(e,t){return e*t}),1),Cl=Yo("round"),Sl=Uo((function(e,t){return e-t}),0);return Bn.after=function(e,t){if("function"!=typeof t)throw new Ae(i);return e=gs(e),function(){if(--e<1)return t.apply(this,arguments)}},Bn.ary=Aa,Bn.assign=ws,Bn.assignIn=_s,Bn.assignInWith=ks,Bn.assignWith=Cs,Bn.at=Ss,Bn.before=ja,Bn.bind=Ia,Bn.bindAll=tl,Bn.bindKey=Pa,Bn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Ga(e)?e:[e]},Bn.chain=ha,Bn.chunk=function(e,t,r){t=(r?wi(e,t,r):t===o)?1:bn(gs(t),0);var i=null==e?0:e.length;if(!i||t<1)return[];for(var a=0,s=0,l=n(ht(i/t));a<i;)l[s++]=oo(e,a,a+=t);return l},Bn.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t<n;){var i=e[t];i&&(o[r++]=i)}return o},Bn.concat=function(){var e=arguments.length;if(!e)return[];for(var t=n(e-1),r=arguments[0],o=e;o--;)t[o-1]=arguments[o];return Rt(Ga(r)?Io(r):[r],yr(t,1))},Bn.cond=function(e){var t=null==e?0:e.length,n=ci();return e=t?Nt(e,(function(e){if("function"!=typeof e[1])throw new Ae(i);return[n(e[0]),e[1]]})):[],Kr((function(n){for(var r=-1;++r<t;){var o=e[r];if(St(o[0],this,n))return St(o[1],this,n)}}))},Bn.conforms=function(e){return function(e){var t=Ns(e);return function(n){return cr(n,e,t)}}(ur(e,1))},Bn.constant=nl,Bn.countBy=va,Bn.create=function(e,t){var n=Hn(e);return null==t?n:ir(n,t)},Bn.curry=function e(t,n,r){var i=Jo(t,8,o,o,o,o,o,n=r?o:n);return i.placeholder=e.placeholder,i},Bn.curryRight=function e(t,n,r){var i=Jo(t,l,o,o,o,o,o,n=r?o:n);return i.placeholder=e.placeholder,i},Bn.debounce=Na,Bn.defaults=Es,Bn.defaultsDeep=Ts,Bn.defer=Ra,Bn.delay=Za,Bn.difference=Hi,Bn.differenceBy=$i,Bn.differenceWith=Ui,Bn.drop=function(e,t,n){var r=null==e?0:e.length;return r?oo(e,(t=n||t===o?1:gs(t))<0?0:t,r):[]},Bn.dropRight=function(e,t,n){var r=null==e?0:e.length;return r?oo(e,0,(t=r-(t=n||t===o?1:gs(t)))<0?0:t):[]},Bn.dropRightWhile=function(e,t){return e&&e.length?mo(e,ci(t,3),!0,!0):[]},Bn.dropWhile=function(e,t){return e&&e.length?mo(e,ci(t,3),!0):[]},Bn.fill=function(e,t,n,r){var i=null==e?0:e.length;return i?(n&&"number"!=typeof n&&wi(e,t,n)&&(n=0,r=i),function(e,t,n,r){var i=e.length;for((n=gs(n))<0&&(n=-n>i?0:i+n),(r=r===o||r>i?i:gs(r))<0&&(r+=i),r=n>r?0:vs(r);n<r;)e[n++]=t;return e}(e,t,n,r)):[]},Bn.filter=function(e,t){return(Ga(e)?jt:vr)(e,ci(t,3))},Bn.flatMap=function(e,t){return yr(Sa(e,t),1)},Bn.flatMapDeep=function(e,t){return yr(Sa(e,t),p)},Bn.flatMapDepth=function(e,t,n){return n=n===o?1:gs(n),yr(Sa(e,t),n)},Bn.flatten=Wi,Bn.flattenDeep=function(e){return(null==e?0:e.length)?yr(e,p):[]},Bn.flattenDepth=function(e,t){return(null==e?0:e.length)?yr(e,t=t===o?1:gs(t)):[]},Bn.flip=function(e){return Jo(e,512)},Bn.flow=rl,Bn.flowRight=ol,Bn.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var o=e[t];r[o[0]]=o[1]}return r},Bn.functions=function(e){return null==e?[]:kr(e,Ns(e))},Bn.functionsIn=function(e){return null==e?[]:kr(e,Rs(e))},Bn.groupBy=_a,Bn.initial=function(e){return(null==e?0:e.length)?oo(e,0,-1):[]},Bn.intersection=Xi,Bn.intersectionBy=Yi,Bn.intersectionWith=Ki,Bn.invert=js,Bn.invertBy=Is,Bn.invokeMap=ka,Bn.iteratee=al,Bn.keyBy=Ca,Bn.keys=Ns,Bn.keysIn=Rs,Bn.map=Sa,Bn.mapKeys=function(e,t){var n={};return t=ci(t,3),wr(e,(function(e,r,o){ar(n,t(e,r,o),e)})),n},Bn.mapValues=function(e,t){var n={};return t=ci(t,3),wr(e,(function(e,r,o){ar(n,r,t(e,r,o))})),n},Bn.matches=function(e){return Br(ur(e,1))},Bn.matchesProperty=function(e,t){return Hr(e,ur(t,1))},Bn.memoize=La,Bn.merge=Zs,Bn.mergeWith=Ls,Bn.method=sl,Bn.methodOf=ll,Bn.mixin=ul,Bn.negate=Da,Bn.nthArg=function(e){return e=gs(e),Kr((function(t){return Ur(t,e)}))},Bn.omit=Ds,Bn.omitBy=function(e,t){return Ms(e,Da(ci(t)))},Bn.once=function(e){return ja(2,e)},Bn.orderBy=function(e,t,n,r){return null==e?[]:(Ga(t)||(t=null==t?[]:[t]),Ga(n=r?o:n)||(n=null==n?[]:[n]),Vr(e,t,n))},Bn.over=fl,Bn.overArgs=Fa,Bn.overEvery=dl,Bn.overSome=pl,Bn.partial=Ma,Bn.partialRight=za,Bn.partition=Ea,Bn.pick=Fs,Bn.pickBy=Ms,Bn.property=hl,Bn.propertyOf=function(e){return function(t){return null==e?o:Cr(e,t)}},Bn.pull=Ji,Bn.pullAll=ea,Bn.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Wr(e,t,ci(n,2)):e},Bn.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?Wr(e,t,o,n):e},Bn.pullAt=ta,Bn.range=ml,Bn.rangeRight=gl,Bn.rearg=Ba,Bn.reject=function(e,t){return(Ga(e)?jt:vr)(e,Da(ci(t,3)))},Bn.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,o=[],i=e.length;for(t=ci(t,3);++r<i;){var a=e[r];t(a,r,e)&&(n.push(a),o.push(r))}return qr(e,o),n},Bn.rest=function(e,t){if("function"!=typeof e)throw new Ae(i);return Kr(e,t=t===o?t:gs(t))},Bn.reverse=na,Bn.sampleSize=function(e,t,n){return t=(n?wi(e,t,n):t===o)?1:gs(t),(Ga(e)?Jn:Jr)(e,t)},Bn.set=function(e,t,n){return null==e?e:eo(e,t,n)},Bn.setWith=function(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:eo(e,t,n,r)},Bn.shuffle=function(e){return(Ga(e)?er:ro)(e)},Bn.slice=function(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&wi(e,t,n)?(t=0,n=r):(t=null==t?0:gs(t),n=n===o?r:gs(n)),oo(e,t,n)):[]},Bn.sortBy=Ta,Bn.sortedUniq=function(e){return e&&e.length?lo(e):[]},Bn.sortedUniqBy=function(e,t){return e&&e.length?lo(e,ci(t,2)):[]},Bn.split=function(e,t,n){return n&&"number"!=typeof n&&wi(e,t,n)&&(t=n=o),(n=n===o?g:n>>>0)?(e=xs(e))&&("string"==typeof t||null!=t&&!ss(t))&&!(t=co(t))&&sn(e)?ko(hn(e),0,n):e.split(t,n):[]},Bn.spread=function(e,t){if("function"!=typeof e)throw new Ae(i);return t=null==t?0:bn(gs(t),0),Kr((function(n){var r=n[t],o=ko(n,0,t);return r&&Rt(o,r),St(e,this,o)}))},Bn.tail=function(e){var t=null==e?0:e.length;return t?oo(e,1,t):[]},Bn.take=function(e,t,n){return e&&e.length?oo(e,0,(t=n||t===o?1:gs(t))<0?0:t):[]},Bn.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?oo(e,(t=r-(t=n||t===o?1:gs(t)))<0?0:t,r):[]},Bn.takeRightWhile=function(e,t){return e&&e.length?mo(e,ci(t,3),!1,!0):[]},Bn.takeWhile=function(e,t){return e&&e.length?mo(e,ci(t,3)):[]},Bn.tap=function(e,t){return t(e),e},Bn.throttle=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new Ae(i);return ns(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Na(e,t,{leading:r,maxWait:t,trailing:o})},Bn.thru=ma,Bn.toArray=hs,Bn.toPairs=zs,Bn.toPairsIn=Bs,Bn.toPath=function(e){return Ga(e)?Nt(e,Mi):cs(e)?[e]:Io(Fi(xs(e)))},Bn.toPlainObject=bs,Bn.transform=function(e,t,n){var r=Ga(e),o=r||Ya(e)||fs(e);if(t=ci(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:ns(e)&&Ja(i)?Hn(Ge(e)):{}}return(o?Tt:wr)(e,(function(e,r,o){return t(n,e,r,o)})),n},Bn.unary=function(e){return Aa(e,1)},Bn.union=ra,Bn.unionBy=oa,Bn.unionWith=ia,Bn.uniq=function(e){return e&&e.length?fo(e):[]},Bn.uniqBy=function(e,t){return e&&e.length?fo(e,ci(t,2)):[]},Bn.uniqWith=function(e,t){return t="function"==typeof t?t:o,e&&e.length?fo(e,o,t):[]},Bn.unset=function(e,t){return null==e||po(e,t)},Bn.unzip=aa,Bn.unzipWith=sa,Bn.update=function(e,t,n){return null==e?e:ho(e,t,xo(n))},Bn.updateWith=function(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:ho(e,t,xo(n),r)},Bn.values=Hs,Bn.valuesIn=function(e){return null==e?[]:Qt(e,Rs(e))},Bn.without=la,Bn.words=Js,Bn.wrap=function(e,t){return Ma(xo(t),e)},Bn.xor=ua,Bn.xorBy=ca,Bn.xorWith=fa,Bn.zip=da,Bn.zipObject=function(e,t){return yo(e||[],t||[],nr)},Bn.zipObjectDeep=function(e,t){return yo(e||[],t||[],eo)},Bn.zipWith=pa,Bn.entries=zs,Bn.entriesIn=Bs,Bn.extend=_s,Bn.extendWith=ks,ul(Bn,Bn),Bn.add=bl,Bn.attempt=el,Bn.camelCase=$s,Bn.capitalize=Us,Bn.ceil=xl,Bn.clamp=function(e,t,n){return n===o&&(n=t,t=o),n!==o&&(n=(n=ys(n))===n?n:0),t!==o&&(t=(t=ys(t))===t?t:0),lr(ys(e),t,n)},Bn.clone=function(e){return ur(e,4)},Bn.cloneDeep=function(e){return ur(e,5)},Bn.cloneDeepWith=function(e,t){return ur(e,5,t="function"==typeof t?t:o)},Bn.cloneWith=function(e,t){return ur(e,4,t="function"==typeof t?t:o)},Bn.conformsTo=function(e,t){return null==t||cr(e,t,Ns(t))},Bn.deburr=Vs,Bn.defaultTo=function(e,t){return null==e||e!==e?t:e},Bn.divide=wl,Bn.endsWith=function(e,t,n){e=xs(e),t=co(t);var r=e.length,i=n=n===o?r:lr(gs(n),0,r);return(n-=t.length)>=0&&e.slice(n,i)==t},Bn.eq=Ha,Bn.escape=function(e){return(e=xs(e))&&K.test(e)?e.replace(X,on):e},Bn.escapeRegExp=function(e){return(e=xs(e))&&ie.test(e)?e.replace(oe,"\\$&"):e},Bn.every=function(e,t,n){var r=Ga(e)?At:mr;return n&&wi(e,t,n)&&(t=o),r(e,ci(t,3))},Bn.find=ya,Bn.findIndex=Vi,Bn.findKey=function(e,t){return Mt(e,ci(t,3),wr)},Bn.findLast=ba,Bn.findLastIndex=Gi,Bn.findLastKey=function(e,t){return Mt(e,ci(t,3),_r)},Bn.floor=_l,Bn.forEach=xa,Bn.forEachRight=wa,Bn.forIn=function(e,t){return null==e?e:br(e,ci(t,3),Rs)},Bn.forInRight=function(e,t){return null==e?e:xr(e,ci(t,3),Rs)},Bn.forOwn=function(e,t){return e&&wr(e,ci(t,3))},Bn.forOwnRight=function(e,t){return e&&_r(e,ci(t,3))},Bn.get=Os,Bn.gt=$a,Bn.gte=Ua,Bn.has=function(e,t){return null!=e&&vi(e,t,Or)},Bn.hasIn=As,Bn.head=qi,Bn.identity=il,Bn.includes=function(e,t,n,r){e=qa(e)?e:Hs(e),n=n&&!r?gs(n):0;var o=e.length;return n<0&&(n=bn(o+n,0)),us(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&Bt(e,t,n)>-1},Bn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:gs(n);return o<0&&(o=bn(r+o,0)),Bt(e,t,o)},Bn.inRange=function(e,t,n){return t=ms(t),n===o?(n=t,t=0):n=ms(n),function(e,t,n){return e>=xn(t,n)&&e<bn(t,n)}(e=ys(e),t,n)},Bn.invoke=Ps,Bn.isArguments=Va,Bn.isArray=Ga,Bn.isArrayBuffer=Wa,Bn.isArrayLike=qa,Bn.isArrayLikeObject=Xa,Bn.isBoolean=function(e){return!0===e||!1===e||rs(e)&&Er(e)==x},Bn.isBuffer=Ya,Bn.isDate=Ka,Bn.isElement=function(e){return rs(e)&&1===e.nodeType&&!as(e)},Bn.isEmpty=function(e){if(null==e)return!0;if(qa(e)&&(Ga(e)||"string"==typeof e||"function"==typeof e.splice||Ya(e)||fs(e)||Va(e)))return!e.length;var t=gi(e);if(t==S||t==j)return!e.size;if(Si(e))return!Dr(e).length;for(var n in e)if(Ze.call(e,n))return!1;return!0},Bn.isEqual=function(e,t){return Nr(e,t)},Bn.isEqualWith=function(e,t,n){var r=(n="function"==typeof n?n:o)?n(e,t):o;return r===o?Nr(e,t,o,n):!!r},Bn.isError=Qa,Bn.isFinite=function(e){return"number"==typeof e&&Ft(e)},Bn.isFunction=Ja,Bn.isInteger=es,Bn.isLength=ts,Bn.isMap=os,Bn.isMatch=function(e,t){return e===t||Rr(e,t,di(t))},Bn.isMatchWith=function(e,t,n){return n="function"==typeof n?n:o,Rr(e,t,di(t),n)},Bn.isNaN=function(e){return is(e)&&e!=+e},Bn.isNative=function(e){if(Ci(e))throw new se("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Zr(e)},Bn.isNil=function(e){return null==e},Bn.isNull=function(e){return null===e},Bn.isNumber=is,Bn.isObject=ns,Bn.isObjectLike=rs,Bn.isPlainObject=as,Bn.isRegExp=ss,Bn.isSafeInteger=function(e){return es(e)&&e>=-9007199254740991&&e<=h},Bn.isSet=ls,Bn.isString=us,Bn.isSymbol=cs,Bn.isTypedArray=fs,Bn.isUndefined=function(e){return e===o},Bn.isWeakMap=function(e){return rs(e)&&gi(e)==N},Bn.isWeakSet=function(e){return rs(e)&&"[object WeakSet]"==Er(e)},Bn.join=function(e,t){return null==e?"":Gt.call(e,t)},Bn.kebabCase=Gs,Bn.last=Qi,Bn.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r;return n!==o&&(i=(i=gs(n))<0?bn(r+i,0):xn(i,r-1)),t===t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,i):zt(e,$t,i,!0)},Bn.lowerCase=Ws,Bn.lowerFirst=qs,Bn.lt=ds,Bn.lte=ps,Bn.max=function(e){return e&&e.length?gr(e,il,Tr):o},Bn.maxBy=function(e,t){return e&&e.length?gr(e,ci(t,2),Tr):o},Bn.mean=function(e){return Ut(e,il)},Bn.meanBy=function(e,t){return Ut(e,ci(t,2))},Bn.min=function(e){return e&&e.length?gr(e,il,Mr):o},Bn.minBy=function(e,t){return e&&e.length?gr(e,ci(t,2),Mr):o},Bn.stubArray=vl,Bn.stubFalse=yl,Bn.stubObject=function(){return{}},Bn.stubString=function(){return""},Bn.stubTrue=function(){return!0},Bn.multiply=kl,Bn.nth=function(e,t){return e&&e.length?Ur(e,gs(t)):o},Bn.noConflict=function(){return pt._===this&&(pt._=ze),this},Bn.noop=cl,Bn.now=Oa,Bn.pad=function(e,t,n){e=xs(e);var r=(t=gs(t))?pn(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return Go(mt(o),n)+e+Go(ht(o),n)},Bn.padEnd=function(e,t,n){e=xs(e);var r=(t=gs(t))?pn(e):0;return t&&r<t?e+Go(t-r,n):e},Bn.padStart=function(e,t,n){e=xs(e);var r=(t=gs(t))?pn(e):0;return t&&r<t?Go(t-r,n)+e:e},Bn.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),_n(xs(e).replace(ae,""),t||0)},Bn.random=function(e,t,n){if(n&&"boolean"!=typeof n&&wi(e,t,n)&&(t=n=o),n===o&&("boolean"==typeof t?(n=t,t=o):"boolean"==typeof e&&(n=e,e=o)),e===o&&t===o?(e=0,t=1):(e=ms(e),t===o?(t=e,e=0):t=ms(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var i=kn();return xn(e+i*(t-e+ut("1e-"+((i+"").length-1))),t)}return Xr(e,t)},Bn.reduce=function(e,t,n){var r=Ga(e)?Zt:Wt,o=arguments.length<3;return r(e,ci(t,4),n,o,pr)},Bn.reduceRight=function(e,t,n){var r=Ga(e)?Lt:Wt,o=arguments.length<3;return r(e,ci(t,4),n,o,hr)},Bn.repeat=function(e,t,n){return t=(n?wi(e,t,n):t===o)?1:gs(t),Yr(xs(e),t)},Bn.replace=function(){var e=arguments,t=xs(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Bn.result=function(e,t,n){var r=-1,i=(t=wo(t,e)).length;for(i||(i=1,e=o);++r<i;){var a=null==e?o:e[Mi(t[r])];a===o&&(r=i,a=n),e=Ja(a)?a.call(e):a}return e},Bn.round=Cl,Bn.runInContext=e,Bn.sample=function(e){return(Ga(e)?Qn:Qr)(e)},Bn.size=function(e){if(null==e)return 0;if(qa(e))return us(e)?pn(e):e.length;var t=gi(e);return t==S||t==j?e.size:Dr(e).length},Bn.snakeCase=Xs,Bn.some=function(e,t,n){var r=Ga(e)?Dt:io;return n&&wi(e,t,n)&&(t=o),r(e,ci(t,3))},Bn.sortedIndex=function(e,t){return ao(e,t)},Bn.sortedIndexBy=function(e,t,n){return so(e,t,ci(n,2))},Bn.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=ao(e,t);if(r<n&&Ha(e[r],t))return r}return-1},Bn.sortedLastIndex=function(e,t){return ao(e,t,!0)},Bn.sortedLastIndexBy=function(e,t,n){return so(e,t,ci(n,2),!0)},Bn.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var n=ao(e,t,!0)-1;if(Ha(e[n],t))return n}return-1},Bn.startCase=Ys,Bn.startsWith=function(e,t,n){return e=xs(e),n=null==n?0:lr(gs(n),0,e.length),t=co(t),e.slice(n,n+t.length)==t},Bn.subtract=Sl,Bn.sum=function(e){return e&&e.length?qt(e,il):0},Bn.sumBy=function(e,t){return e&&e.length?qt(e,ci(t,2)):0},Bn.template=function(e,t,n){var r=Bn.templateSettings;n&&wi(e,t,n)&&(t=o),e=xs(e),t=ks({},t,r,ei);var i,a,s=ks({},t.imports,r.imports,ei),l=Ns(s),u=Qt(s,l),c=0,f=t.interpolate||_e,d="__p += '",p=Te((t.escape||_e).source+"|"+f.source+"|"+(f===ee?he:_e).source+"|"+(t.evaluate||_e).source+"|$","g"),h="//# sourceURL="+(Ze.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++it+"]")+"\n";e.replace(p,(function(t,n,r,o,s,l){return r||(r=o),d+=e.slice(c,l).replace(ke,an),n&&(i=!0,d+="' +\n__e("+n+") +\n'"),s&&(a=!0,d+="';\n"+s+";\n__p += '"),r&&(d+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),c=l+t.length,t})),d+="';\n";var m=Ze.call(t,"variable")&&t.variable;if(m){if(de.test(m))throw new se("Invalid `variable` option passed into `_.template`")}else d="with (obj) {\n"+d+"\n}\n";d=(a?d.replace(V,""):d).replace(G,"$1").replace(W,"$1;"),d="function("+(m||"obj")+") {\n"+(m?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var g=el((function(){return Ce(l,h+"return "+d).apply(o,u)}));if(g.source=d,Qa(g))throw g;return g},Bn.times=function(e,t){if((e=gs(e))<1||e>h)return[];var n=g,r=xn(e,g);t=ci(t),e-=g;for(var o=Xt(r,t);++n<e;)t(n);return o},Bn.toFinite=ms,Bn.toInteger=gs,Bn.toLength=vs,Bn.toLower=function(e){return xs(e).toLowerCase()},Bn.toNumber=ys,Bn.toSafeInteger=function(e){return e?lr(gs(e),-9007199254740991,h):0===e?e:0},Bn.toString=xs,Bn.toUpper=function(e){return xs(e).toUpperCase()},Bn.trim=function(e,t,n){if((e=xs(e))&&(n||t===o))return Yt(e);if(!e||!(t=co(t)))return e;var r=hn(e),i=hn(t);return ko(r,en(r,i),tn(r,i)+1).join("")},Bn.trimEnd=function(e,t,n){if((e=xs(e))&&(n||t===o))return e.slice(0,mn(e)+1);if(!e||!(t=co(t)))return e;var r=hn(e);return ko(r,0,tn(r,hn(t))+1).join("")},Bn.trimStart=function(e,t,n){if((e=xs(e))&&(n||t===o))return e.replace(ae,"");if(!e||!(t=co(t)))return e;var r=hn(e);return ko(r,en(r,hn(t))).join("")},Bn.truncate=function(e,t){var n=30,r="...";if(ns(t)){var i="separator"in t?t.separator:i;n="length"in t?gs(t.length):n,r="omission"in t?co(t.omission):r}var a=(e=xs(e)).length;if(sn(e)){var s=hn(e);a=s.length}if(n>=a)return e;var l=n-pn(r);if(l<1)return r;var u=s?ko(s,0,l).join(""):e.slice(0,l);if(i===o)return u+r;if(s&&(l+=u.length-l),ss(i)){if(e.slice(l).search(i)){var c,f=u;for(i.global||(i=Te(i.source,xs(me.exec(i))+"g")),i.lastIndex=0;c=i.exec(f);)var d=c.index;u=u.slice(0,d===o?l:d)}}else if(e.indexOf(co(i),l)!=l){var p=u.lastIndexOf(i);p>-1&&(u=u.slice(0,p))}return u+r},Bn.unescape=function(e){return(e=xs(e))&&Y.test(e)?e.replace(q,gn):e},Bn.uniqueId=function(e){var t=++Le;return xs(e)+t},Bn.upperCase=Ks,Bn.upperFirst=Qs,Bn.each=xa,Bn.eachRight=wa,Bn.first=qi,ul(Bn,function(){var e={};return wr(Bn,(function(t,n){Ze.call(Bn.prototype,n)||(e[n]=t)})),e}(),{chain:!1}),Bn.VERSION="4.17.21",Tt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Bn[e].placeholder=Bn})),Tt(["drop","take"],(function(e,t){Vn.prototype[e]=function(n){n=n===o?1:bn(gs(n),0);var r=this.__filtered__&&!t?new Vn(this):this.clone();return r.__filtered__?r.__takeCount__=xn(n,r.__takeCount__):r.__views__.push({size:xn(n,g),type:e+(r.__dir__<0?"Right":"")}),r},Vn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),Tt(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;Vn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:ci(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),Tt(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Vn.prototype[e]=function(){return this[n](1).value()[0]}})),Tt(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Vn.prototype[e]=function(){return this.__filtered__?new Vn(this):this[n](1)}})),Vn.prototype.compact=function(){return this.filter(il)},Vn.prototype.find=function(e){return this.filter(e).head()},Vn.prototype.findLast=function(e){return this.reverse().find(e)},Vn.prototype.invokeMap=Kr((function(e,t){return"function"==typeof e?new Vn(this):this.map((function(n){return Ir(n,e,t)}))})),Vn.prototype.reject=function(e){return this.filter(Da(ci(e)))},Vn.prototype.slice=function(e,t){e=gs(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Vn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==o&&(n=(t=gs(t))<0?n.dropRight(-t):n.take(t-e)),n)},Vn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Vn.prototype.toArray=function(){return this.take(g)},wr(Vn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),i=Bn[r?"take"+("last"==t?"Right":""):t],a=r||/^find/.test(t);i&&(Bn.prototype[t]=function(){var t=this.__wrapped__,s=r?[1]:arguments,l=t instanceof Vn,u=s[0],c=l||Ga(t),f=function(e){var t=i.apply(Bn,Rt([e],s));return r&&d?t[0]:t};c&&n&&"function"==typeof u&&1!=u.length&&(l=c=!1);var d=this.__chain__,p=!!this.__actions__.length,h=a&&!d,m=l&&!p;if(!a&&c){t=m?t:new Vn(this);var g=e.apply(t,s);return g.__actions__.push({func:ma,args:[f],thisArg:o}),new Un(g,d)}return h&&m?e.apply(this,s):(g=this.thru(f),h?r?g.value()[0]:g.value():g)})})),Tt(["pop","push","shift","sort","splice","unshift"],(function(e){var t=je[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Bn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(Ga(o)?o:[],e)}return this[n]((function(n){return t.apply(Ga(n)?n:[],e)}))}})),wr(Vn.prototype,(function(e,t){var n=Bn[t];if(n){var r=n.name+"";Ze.call(Pn,r)||(Pn[r]=[]),Pn[r].push({name:t,func:n})}})),Pn[Ho(o,2).name]=[{name:"wrapper",func:o}],Vn.prototype.clone=function(){var e=new Vn(this.__wrapped__);return e.__actions__=Io(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Io(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Io(this.__views__),e},Vn.prototype.reverse=function(){if(this.__filtered__){var e=new Vn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Vn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Ga(e),r=t<0,o=n?e.length:0,i=function(e,t,n){var r=-1,o=n.length;for(;++r<o;){var i=n[r],a=i.size;switch(i.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=xn(t,e+a);break;case"takeRight":e=bn(e,t-a)}}return{start:e,end:t}}(0,o,this.__views__),a=i.start,s=i.end,l=s-a,u=r?s:a-1,c=this.__iteratees__,f=c.length,d=0,p=xn(l,this.__takeCount__);if(!n||!r&&o==l&&p==l)return go(e,this.__actions__);var h=[];e:for(;l--&&d<p;){for(var m=-1,g=e[u+=t];++m<f;){var v=c[m],y=v.iteratee,b=v.type,x=y(g);if(2==b)g=x;else if(!x){if(1==b)continue e;break e}}h[d++]=g}return h},Bn.prototype.at=ga,Bn.prototype.chain=function(){return ha(this)},Bn.prototype.commit=function(){return new Un(this.value(),this.__chain__)},Bn.prototype.next=function(){this.__values__===o&&(this.__values__=hs(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?o:this.__values__[this.__index__++]}},Bn.prototype.plant=function(e){for(var t,n=this;n instanceof $n;){var r=Bi(n);r.__index__=0,r.__values__=o,t?i.__wrapped__=r:t=r;var i=r;n=n.__wrapped__}return i.__wrapped__=e,t},Bn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Vn){var t=e;return this.__actions__.length&&(t=new Vn(this)),(t=t.reverse()).__actions__.push({func:ma,args:[na],thisArg:o}),new Un(t,this.__chain__)}return this.thru(na)},Bn.prototype.toJSON=Bn.prototype.valueOf=Bn.prototype.value=function(){return go(this.__wrapped__,this.__actions__)},Bn.prototype.first=Bn.prototype.head,Ke&&(Bn.prototype[Ke]=function(){return this}),Bn}();pt._=vn,(r=function(){return vn}.call(t,n,t,e))===o||(e.exports=r)}.call(this)},67523:function(e,t,n){var r=n(89465),o=n(47816),i=n(67206);e.exports=function(e,t){var n={};return t=i(t,3),o(e,(function(e,o,i){r(n,t(e,o,i),e)})),n}},66604:function(e,t,n){var r=n(89465),o=n(47816),i=n(67206);e.exports=function(e,t){var n={};return t=i(t,3),o(e,(function(e,o,i){r(n,o,t(e,o,i))})),n}},88306:function(e,t,n){var r=n(83369);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},39601:function(e,t,n){var r=n(40371),o=n(79152),i=n(15403),a=n(40327);e.exports=function(e){return i(e)?r(a(e)):o(e)}},11865:function(e,t,n){var r=n(35393)((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));e.exports=r},70479:function(e){e.exports=function(){return[]}},95062:function(e){e.exports=function(){return!1}},79833:function(e,t,n){var r=n(80531);e.exports=function(e){return null==e?"":r(e)}},11700:function(e,t,n){var r=n(98805)("toUpperCase");e.exports=r},58748:function(e,t,n){var r=n(49029),o=n(93157),i=n(79833),a=n(2757);e.exports=function(e,t,n){return e=i(e),void 0===(t=n?void 0:t)?o(e)?a(e):r(e):e.match(t)||[]}},70729:function(e){"use strict";var t={};function n(e,r,o){var i,a,s,l,u,c="";for("string"!==typeof r&&(o=r,r=n.defaultChars),"undefined"===typeof o&&(o=!0),u=function(e){var n,r,o=t[e];if(o)return o;for(o=t[e]=[],n=0;n<128;n++)r=String.fromCharCode(n),/^[0-9a-z]$/i.test(r)?o.push(r):o.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2));for(n=0;n<e.length;n++)o[e.charCodeAt(n)]=e[n];return o}(r),i=0,a=e.length;i<a;i++)if(s=e.charCodeAt(i),o&&37===s&&i+2<a&&/^[0-9a-f]{2}$/i.test(e.slice(i+1,i+3)))c+=e.slice(i,i+3),i+=2;else if(s<128)c+=u[s];else if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&i+1<a&&(l=e.charCodeAt(i+1))>=56320&&l<=57343){c+=encodeURIComponent(e[i]+e[i+1]),i++;continue}c+="%EF%BF%BD"}else c+=encodeURIComponent(e[i]);return c}n.defaultChars=";/?:@&=+$,-_.!~*'()#",n.componentChars="-_.!~*'()",e.exports=n},30845:function(e,t,n){"use strict";n.r(t);var r=Number.isNaN||function(e){return"number"===typeof e&&e!==e};function o(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(o=e[n],i=t[n],!(o===i||r(o)&&r(i)))return!1;var o,i;return!0}t.default=function(e,t){var n;void 0===t&&(t=o);var r,i=[],a=!1;return function(){for(var o=[],s=0;s<arguments.length;s++)o[s]=arguments[s];return a&&n===this&&t(o,i)||(r=e.apply(this,o),a=!0,n=this,i=o),r}}},2962:function(e,t,n){"use strict";n.d(t,{PB:function(){return h},lX:function(){return p}});var r=n(67294),o=n(9008),i=n.n(o);function a(){return a=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},a.apply(this,arguments)}function s(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var l=["keyOverride"],u=["crossOrigin"],c={templateTitle:"",noindex:!1,nofollow:!1,norobots:!1,defaultOpenGraphImageWidth:0,defaultOpenGraphImageHeight:0,defaultOpenGraphVideoWidth:0,defaultOpenGraphVideoHeight:0},f=function(e,t,n){void 0===t&&(t=[]);var o=void 0===n?{}:n,i=o.defaultWidth,a=o.defaultHeight;return t.reduce((function(t,n,o){return t.push(r.createElement("meta",{key:"og:"+e+":0"+o,property:"og:"+e,content:n.url})),n.alt&&t.push(r.createElement("meta",{key:"og:"+e+":alt0"+o,property:"og:"+e+":alt",content:n.alt})),n.secureUrl&&t.push(r.createElement("meta",{key:"og:"+e+":secure_url0"+o,property:"og:"+e+":secure_url",content:n.secureUrl.toString()})),n.type&&t.push(r.createElement("meta",{key:"og:"+e+":type0"+o,property:"og:"+e+":type",content:n.type.toString()})),n.width?t.push(r.createElement("meta",{key:"og:"+e+":width0"+o,property:"og:"+e+":width",content:n.width.toString()})):i&&t.push(r.createElement("meta",{key:"og:"+e+":width0"+o,property:"og:"+e+":width",content:i.toString()})),n.height?t.push(r.createElement("meta",{key:"og:"+e+":height"+o,property:"og:"+e+":height",content:n.height.toString()})):a&&t.push(r.createElement("meta",{key:"og:"+e+":height"+o,property:"og:"+e+":height",content:a.toString()})),t}),[])},d=function(e){return r.createElement(i(),null,function(e){var t,n,o,i=[];e.titleTemplate&&(c.templateTitle=e.titleTemplate);var d="";e.title?(d=e.title,c.templateTitle&&(d=c.templateTitle.replace(/%s/g,(function(){return d})))):e.defaultTitle&&(d=e.defaultTitle),d&&i.push(r.createElement("title",{key:"title"},d));var p,h,m=void 0===e.noindex?c.noindex||e.dangerouslySetAllPagesToNoIndex:e.noindex,g=void 0===e.nofollow?c.nofollow||e.dangerouslySetAllPagesToNoFollow:e.nofollow,v=e.norobots||c.norobots,y="";if(e.robotsProps){var b=e.robotsProps,x=b.nosnippet,w=b.maxSnippet,_=b.maxImagePreview,k=b.maxVideoPreview,C=b.noarchive,S=b.noimageindex,E=b.notranslate,T=b.unavailableAfter;y=(x?",nosnippet":"")+(w?",max-snippet:"+w:"")+(_?",max-image-preview:"+_:"")+(C?",noarchive":"")+(T?",unavailable_after:"+T:"")+(S?",noimageindex":"")+(k?",max-video-preview:"+k:"")+(E?",notranslate":"")}if(e.norobots&&(c.norobots=!0),m||g?(e.dangerouslySetAllPagesToNoIndex&&(c.noindex=!0),e.dangerouslySetAllPagesToNoFollow&&(c.nofollow=!0),i.push(r.createElement("meta",{key:"robots",name:"robots",content:(m?"noindex":"index")+","+(g?"nofollow":"follow")+y}))):v&&!y||i.push(r.createElement("meta",{key:"robots",name:"robots",content:"index,follow"+y})),e.description&&i.push(r.createElement("meta",{key:"description",name:"description",content:e.description})),e.themeColor&&i.push(r.createElement("meta",{key:"theme-color",name:"theme-color",content:e.themeColor})),e.mobileAlternate&&i.push(r.createElement("link",{rel:"alternate",key:"mobileAlternate",media:e.mobileAlternate.media,href:e.mobileAlternate.href})),e.languageAlternates&&e.languageAlternates.length>0&&e.languageAlternates.forEach((function(e){i.push(r.createElement("link",{rel:"alternate",key:"languageAlternate-"+e.hrefLang,hrefLang:e.hrefLang,href:e.href}))})),e.twitter&&(e.twitter.cardType&&i.push(r.createElement("meta",{key:"twitter:card",name:"twitter:card",content:e.twitter.cardType})),e.twitter.site&&i.push(r.createElement("meta",{key:"twitter:site",name:"twitter:site",content:e.twitter.site})),e.twitter.handle&&i.push(r.createElement("meta",{key:"twitter:creator",name:"twitter:creator",content:e.twitter.handle}))),e.facebook&&e.facebook.appId&&i.push(r.createElement("meta",{key:"fb:app_id",property:"fb:app_id",content:e.facebook.appId})),(null!=(t=e.openGraph)&&t.title||d)&&i.push(r.createElement("meta",{key:"og:title",property:"og:title",content:(null==(p=e.openGraph)?void 0:p.title)||d})),(null!=(n=e.openGraph)&&n.description||e.description)&&i.push(r.createElement("meta",{key:"og:description",property:"og:description",content:(null==(h=e.openGraph)?void 0:h.description)||e.description})),e.openGraph){if((e.openGraph.url||e.canonical)&&i.push(r.createElement("meta",{key:"og:url",property:"og:url",content:e.openGraph.url||e.canonical})),e.openGraph.type){var O=e.openGraph.type.toLowerCase();i.push(r.createElement("meta",{key:"og:type",property:"og:type",content:O})),"profile"===O&&e.openGraph.profile?(e.openGraph.profile.firstName&&i.push(r.createElement("meta",{key:"profile:first_name",property:"profile:first_name",content:e.openGraph.profile.firstName})),e.openGraph.profile.lastName&&i.push(r.createElement("meta",{key:"profile:last_name",property:"profile:last_name",content:e.openGraph.profile.lastName})),e.openGraph.profile.username&&i.push(r.createElement("meta",{key:"profile:username",property:"profile:username",content:e.openGraph.profile.username})),e.openGraph.profile.gender&&i.push(r.createElement("meta",{key:"profile:gender",property:"profile:gender",content:e.openGraph.profile.gender}))):"book"===O&&e.openGraph.book?(e.openGraph.book.authors&&e.openGraph.book.authors.length&&e.openGraph.book.authors.forEach((function(e,t){i.push(r.createElement("meta",{key:"book:author:0"+t,property:"book:author",content:e}))})),e.openGraph.book.isbn&&i.push(r.createElement("meta",{key:"book:isbn",property:"book:isbn",content:e.openGraph.book.isbn})),e.openGraph.book.releaseDate&&i.push(r.createElement("meta",{key:"book:release_date",property:"book:release_date",content:e.openGraph.book.releaseDate})),e.openGraph.book.tags&&e.openGraph.book.tags.length&&e.openGraph.book.tags.forEach((function(e,t){i.push(r.createElement("meta",{key:"book:tag:0"+t,property:"book:tag",content:e}))}))):"article"===O&&e.openGraph.article?(e.openGraph.article.publishedTime&&i.push(r.createElement("meta",{key:"article:published_time",property:"article:published_time",content:e.openGraph.article.publishedTime})),e.openGraph.article.modifiedTime&&i.push(r.createElement("meta",{key:"article:modified_time",property:"article:modified_time",content:e.openGraph.article.modifiedTime})),e.openGraph.article.expirationTime&&i.push(r.createElement("meta",{key:"article:expiration_time",property:"article:expiration_time",content:e.openGraph.article.expirationTime})),e.openGraph.article.authors&&e.openGraph.article.authors.length&&e.openGraph.article.authors.forEach((function(e,t){i.push(r.createElement("meta",{key:"article:author:0"+t,property:"article:author",content:e}))})),e.openGraph.article.section&&i.push(r.createElement("meta",{key:"article:section",property:"article:section",content:e.openGraph.article.section})),e.openGraph.article.tags&&e.openGraph.article.tags.length&&e.openGraph.article.tags.forEach((function(e,t){i.push(r.createElement("meta",{key:"article:tag:0"+t,property:"article:tag",content:e}))}))):"video.movie"!==O&&"video.episode"!==O&&"video.tv_show"!==O&&"video.other"!==O||!e.openGraph.video||(e.openGraph.video.actors&&e.openGraph.video.actors.length&&e.openGraph.video.actors.forEach((function(e,t){e.profile&&i.push(r.createElement("meta",{key:"video:actor:0"+t,property:"video:actor",content:e.profile})),e.role&&i.push(r.createElement("meta",{key:"video:actor:role:0"+t,property:"video:actor:role",content:e.role}))})),e.openGraph.video.directors&&e.openGraph.video.directors.length&&e.openGraph.video.directors.forEach((function(e,t){i.push(r.createElement("meta",{key:"video:director:0"+t,property:"video:director",content:e}))})),e.openGraph.video.writers&&e.openGraph.video.writers.length&&e.openGraph.video.writers.forEach((function(e,t){i.push(r.createElement("meta",{key:"video:writer:0"+t,property:"video:writer",content:e}))})),e.openGraph.video.duration&&i.push(r.createElement("meta",{key:"video:duration",property:"video:duration",content:e.openGraph.video.duration.toString()})),e.openGraph.video.releaseDate&&i.push(r.createElement("meta",{key:"video:release_date",property:"video:release_date",content:e.openGraph.video.releaseDate})),e.openGraph.video.tags&&e.openGraph.video.tags.length&&e.openGraph.video.tags.forEach((function(e,t){i.push(r.createElement("meta",{key:"video:tag:0"+t,property:"video:tag",content:e}))})),e.openGraph.video.series&&i.push(r.createElement("meta",{key:"video:series",property:"video:series",content:e.openGraph.video.series})))}e.defaultOpenGraphImageWidth&&(c.defaultOpenGraphImageWidth=e.defaultOpenGraphImageWidth),e.defaultOpenGraphImageHeight&&(c.defaultOpenGraphImageHeight=e.defaultOpenGraphImageHeight),e.openGraph.images&&e.openGraph.images.length&&i.push.apply(i,f("image",e.openGraph.images,{defaultWidth:c.defaultOpenGraphImageWidth,defaultHeight:c.defaultOpenGraphImageHeight})),e.defaultOpenGraphVideoWidth&&(c.defaultOpenGraphVideoWidth=e.defaultOpenGraphVideoWidth),e.defaultOpenGraphVideoHeight&&(c.defaultOpenGraphVideoHeight=e.defaultOpenGraphVideoHeight),e.openGraph.videos&&e.openGraph.videos.length&&i.push.apply(i,f("video",e.openGraph.videos,{defaultWidth:c.defaultOpenGraphVideoWidth,defaultHeight:c.defaultOpenGraphVideoHeight})),e.openGraph.audio&&i.push.apply(i,f("audio",e.openGraph.audio)),e.openGraph.locale&&i.push(r.createElement("meta",{key:"og:locale",property:"og:locale",content:e.openGraph.locale})),(e.openGraph.siteName||e.openGraph.site_name)&&i.push(r.createElement("meta",{key:"og:site_name",property:"og:site_name",content:e.openGraph.siteName||e.openGraph.site_name}))}return e.canonical&&i.push(r.createElement("link",{rel:"canonical",href:e.canonical,key:"canonical"})),e.additionalMetaTags&&e.additionalMetaTags.length>0&&e.additionalMetaTags.forEach((function(e){var t,n,o=e.keyOverride,u=s(e,l);i.push(r.createElement("meta",a({key:"meta:"+(null!=(t=null!=(n=null!=o?o:u.name)?n:u.property)?t:u.httpEquiv)},u)))})),null!=(o=e.additionalLinkTags)&&o.length&&e.additionalLinkTags.forEach((function(e){var t,n=e.crossOrigin,o=s(e,u),l="anonymous"===n||"use-credentials"===n||""===n?n:void 0;i.push(r.createElement("link",a({key:"link"+(null!=(t=o.keyOverride)?t:o.href)+o.rel},o,{crossOrigin:l})))})),i}(e))},p=function(e){var t=e.title,n=e.titleTemplate,o=e.defaultTitle,i=e.themeColor,a=e.dangerouslySetAllPagesToNoIndex,s=void 0!==a&&a,l=e.dangerouslySetAllPagesToNoFollow,u=void 0!==l&&l,c=e.description,f=e.canonical,p=e.facebook,h=e.openGraph,m=e.additionalMetaTags,g=e.twitter,v=e.defaultOpenGraphImageWidth,y=e.defaultOpenGraphImageHeight,b=e.defaultOpenGraphVideoWidth,x=e.defaultOpenGraphVideoHeight,w=e.mobileAlternate,_=e.languageAlternates,k=e.additionalLinkTags,C=e.robotsProps,S=e.norobots;return r.createElement(d,{title:t,titleTemplate:n,defaultTitle:o,themeColor:i,dangerouslySetAllPagesToNoIndex:s,dangerouslySetAllPagesToNoFollow:u,description:c,canonical:f,facebook:p,openGraph:h,additionalMetaTags:m,twitter:g,defaultOpenGraphImageWidth:v,defaultOpenGraphImageHeight:y,defaultOpenGraphVideoWidth:b,defaultOpenGraphVideoHeight:x,mobileAlternate:w,languageAlternates:_,additionalLinkTags:k,robotsProps:C,norobots:S})},h=function(e){var t=e.title,n=e.themeColor,o=e.noindex,i=e.nofollow,a=e.robotsProps,s=e.description,l=e.canonical,u=e.openGraph,c=e.facebook,f=e.twitter,p=e.additionalMetaTags,h=e.titleTemplate,m=e.defaultTitle,g=e.mobileAlternate,v=e.languageAlternates,y=e.additionalLinkTags;return r.createElement(r.Fragment,null,r.createElement(d,{title:t,themeColor:n,noindex:o,nofollow:i,robotsProps:a,description:s,canonical:l,facebook:c,openGraph:u,additionalMetaTags:p,twitter:f,titleTemplate:h,defaultTitle:m,mobileAlternate:g,languageAlternates:v,additionalLinkTags:y}))},m=Object.freeze({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&apos;"});new RegExp("["+Object.keys(m).join("")+"]","g")},11752:function(e,t,n){e.exports=n(88027)},83454:function(e,t,n){"use strict";var r,o;e.exports=(null==(r=n.g.process)?void 0:r.env)&&"object"===typeof(null==(o=n.g.process)?void 0:o.env)?n.g.process:n(77663)},91118:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n(13446)}])},33899:function(e,t){"use strict";var n={play:{default:"rgb(0, 145, 250)",light:"rgb(190, 230, 255)",bg:"blue"},"ice-cream":{default:"rgb(0, 145, 250)",light:"rgb(190, 230, 255)",bg:"blue"},skills:{default:"rgb(130, 90, 240)",light:"rgb(230, 220, 255)",light_hover:"rgb(210 190 255)",bg:"lilac"},works:{default:"rgb(255, 190, 0)",light:"rgb(255, 235, 175)",bg:"#45515A",bg_light:"#647582"},teachers:{default:"rgb(55 190 205)",light:"rgb(220 250 250)",bg:"turquoise"},landing:{default:"rgb(0, 145, 250)",light:"rgb(190, 230, 255)",bg:"blue"},text:{primary:"rgb(0,0,0)",secondary:"rgb(185,185,185)",muted:"rgb(135,135,135)"},background:{gray:"rgb(231, 231, 231)"},notifications:{success:"rgb(0 215 175)",error:"rgb(240 105 125)"},elementStates:{inactive:"rgb(205 205 205)"},ootibooBrand:{blue:"rgb(0, 145, 250)",violet:"rgb(145, 85, 199)",orange:"rgb(248, 169, 0)"}};t.Z=n},88098:function(e,t,n){"use strict";n.d(t,{B9:function(){return a},Cf:function(){return d},gy:function(){return i},s3:function(){return f}});var r=n(29815),o=["populate[blocks][populate][0]=imgs","populate[blocks][populate][1]=imgs.file","populate[blocks][populate][2]=image","populate[blocks][populate][3]=image.file","populate[blocks][populate][4]=items","populate[blocks][populate][5]=teamMembers","populate[blocks][populate][6]=teamMembers.profilePicture","populate[blocks][populate][7]=teamMembers.profilePicture.file","populate[blocks][populate][8]=items.gallery","populate[blocks][populate][9]=items.gallery.imgs","populate[blocks][populate][10]=items.gallery.imgs.file","populate[blocks][populate][11]=items.gallery.slideAspectRatio","populate[blocks][populate][12]=items.video","populate[blocks][populate][13]=items.text","populate[blocks][populate][14]=items.image","populate[blocks][populate][15]=items.image.file","populate[blocks][populate][16]=items.quote","populate[blocks][populate][17]=items.cta","populate[blocks][populate][18]=downloads","populate[blocks][populate][19]=downloads.file","populate[blocks][populate][20]=downloads.previews","populate[blocks][populate][21]=cards","populate[blocks][populate][22]=cards.image","populate[blocks][populate][23]=cards.link","populate[blocks][populate][24]=cards.link.linkedPage_play","populate[blocks][populate][25]=cards.link.linkedPage_works","populate[blocks][populate][26]=requiredCollection","populate[blocks][populate][27]=requiredTagsCollection","populate[blocks][populate][28]=slideAspectRatio","populate[blocks][populate][29]=badges.logo","populate[blocks][populate][30]=bubbles.img"],i=["sort[0]=priority:desc","sort[1]=publishedAt:desc","fields[0]=slug","fields[1]=title","fields[2]=description","fields[3]=type","fields[4]=type_manual","fields[5]=status","fields[6]=launch","fields[7]=is_nationalCurriculumProject","fields[8]=is_childrensUniversityProject","fields[9]=has_customURL","populate[tags][populate]=value","populate[thumbnail][populate]=*"],a=["fields[0]=slug","fields[1]=title","fields[2]=cardTitle","fields[3]=description","fields[4]=status","fields[5]=startDate","fields[6]=endDate","fields[7]=is_ecoConn","populate[thumbnail][populate]=*"],s=function(e){return["populate[blocks_dynTab_".concat(e,"][populate][0]=imgs.file"),"populate[blocks_dynTab_".concat(e,"][populate][1]=image.file"),"populate[blocks_dynTab_".concat(e,"][populate][2]=badges.logo"),"populate[blocks_dynTab_".concat(e,"][populate][3]=authorImg"),"populate[blocks_dynTab_".concat(e,"][populate][4]=slideAspectRatio"),"populate[blocks_dynTab_".concat(e,"][populate][5]=downloads.file"),"populate[blocks_dynTab_".concat(e,"][populate][6]=downloads.previews")]},l=["sort[0]=priority:desc","sort[1]=name:asc","populate[thumbnail][populate]=*","populate[profilePicture][populate]=*"].concat((0,r.Z)(o)),u=["sort[0]=priority:desc","populate[tags][populate]=*","populate[logo][populate]=*"].concat((0,r.Z)(o)),c=["sort[0]=priority:desc","populate[tags][populate]=*","populate[image][populate]=*"].concat((0,r.Z)(o)),f=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=["populate[0]=fields","populate[1]=fields.config","populate[2]=fields.content","populate[3]=fields.content","populate[4]=fields.image.file"];return e.length&&e.forEach((function(e,n){return t.push("filters[id_custom][$eq]=".concat(e))})),t},d={blocks:o,page:["populate[headline][populate]=*","populate[seo][populate]=image","populate[subpages][populate]=*","populate[requiredCollection][populate]=*"],projects:["sort[0]=priority:desc","sort[1]=publishedAt:desc","populate[tags][populate]=*","populate[thumbnail][populate]=*","populate[imgs_intro][populate]=*","populate[list_material][populate]=*","populate[download_pdf][populate]=*","populate[downloadResources][populate]=*","populate[submissionLocations][populate]=*","populate[subpageLinks]=*","populate[links_nationalCurriculum][populate]=*","populate[seo][populate]=image","populate[text][populate][0]=imgs.file","populate[text][populate][1]=image.file","populate[text][populate][2]=items","populate[text][populate][3]=items.text","populate[text][populate][4]=items.image.file","populate[text][populate][5]=items.gallery","populate[text][populate][6]=items.gallery.imgs","populate[text][populate][7]=items.gallery.imgs.file","populate[text][populate][8]=items.video","populate[text][populate][9]=steps.image","populate[text][populate][10]=badges.logo","populate[text][populate][11]=steps.image","populate[text][populate][12]=downloads.file","populate[text][populate][13]=downloads.previews","populate[text][populate][14]=slideAspectRatio","populate[text][populate][15]=bubbles.img","populate[blocks_info][populate][0]=imgs.file","populate[blocks_info][populate][1]=image.file","populate[blocks_info][populate][2]=items","populate[blocks_info][populate][3]=items.text","populate[blocks_info][populate][4]=items.image.file","populate[blocks_info][populate][5]=items.gallery","populate[blocks_info][populate][6]=items.gallery.imgs","populate[blocks_info][populate][7]=items.gallery.imgs.file","populate[blocks_info][populate][8]=items.video","populate[blocks_info][populate][9]=steps.image","populate[blocks_info][populate][10]=slideAspectRatio","populate[blocks_info][populate][11]=badges.logo","populate[blocks_info][populate][12]=downloads.file","populate[blocks_info][populate][13]=downloads.previews","populate[blocks_info][populate][14]=bubbles.img","populate[blocks_gallery][populate][0]=imgs.file","populate[blocks_gallery][populate][1]=image.file","populate[blocks_gallery][populate][2]=items","populate[blocks_gallery][populate][3]=items.text","populate[blocks_gallery][populate][4]=items.image.file","populate[blocks_gallery][populate][5]=items.gallery","populate[blocks_gallery][populate][6]=items.gallery.imgs","populate[blocks_gallery][populate][7]=items.gallery.imgs.file","populate[blocks_gallery][populate][8]=items.video","populate[blocks_gallery][populate][9]=steps.image","populate[blocks_gallery][populate][10]=slideAspectRatio","populate[blocks_gallery][populate][11]=badges.logo","populate[blocks_gallery][populate][12]=downloads.file","populate[blocks_gallery][populate][13]=downloads.previews","populate[blocks_gallery][populate][14]=bubbles.img","populate[blocks_competition][populate][0]=imgs.file","populate[blocks_competition][populate][1]=image.file","populate[blocks_competition][populate][2]=items","populate[blocks_competition][populate][3]=items.text","populate[blocks_competition][populate][4]=items.image.file","populate[blocks_competition][populate][5]=items.gallery","populate[blocks_competition][populate][6]=items.gallery.imgs","populate[blocks_competition][populate][7]=items.gallery.imgs.file","populate[blocks_competition][populate][8]=items.video","populate[blocks_competition][populate][9]=steps.image","populate[blocks_competition][populate][10]=slideAspectRatio","populate[blocks_competition][populate][11]=badges.logo","populate[blocks_competition][populate][12]=downloads.file","populate[blocks_competition][populate][13]=downloads.previews","populate[blocks_competition][populate][14]=bubbles.img","populate[blocks_map][populate][0]=imgs.file","populate[blocks_map][populate][1]=image.file","populate[blocks_map][populate][2]=items","populate[blocks_map][populate][3]=items.text","populate[blocks_map][populate][4]=items.image.file","populate[blocks_map][populate][5]=items.gallery","populate[blocks_map][populate][6]=items.gallery.imgs","populate[blocks_map][populate][7]=items.gallery.imgs.file","populate[blocks_map][populate][8]=items.video","populate[blocks_map][populate][9]=steps.image","populate[blocks_map][populate][10]=slideAspectRatio","populate[blocks_map][populate][11]=badges.logo","populate[blocks_map][populate][12]=downloads.file","populate[blocks_map][populate][13]=downloads.previews","populate[blocks_map][populate][14]=bubbles.img","populate[blocks_share][populate][0]=imgs.file","populate[blocks_share][populate][1]=image.file","populate[blocks_share][populate][2]=items","populate[blocks_share][populate][3]=items.text","populate[blocks_share][populate][4]=items.image.file","populate[blocks_share][populate][5]=items.gallery","populate[blocks_share][populate][6]=items.gallery.imgs","populate[blocks_share][populate][7]=items.gallery.imgs.file","populate[blocks_share][populate][8]=items.video","populate[blocks_share][populate][9]=steps.image","populate[blocks_share][populate][10]=slideAspectRatio","populate[blocks_share][populate][11]=badges.logo","populate[blocks_share][populate][12]=downloads.file","populate[blocks_share][populate][13]=downloads.previews","populate[blocks_share][populate][14]=bubbles.img","populate[blocks_dynTab_0][populate][0]=imgs.file","populate[blocks_dynTab_0][populate][1]=image.file","populate[blocks_dynTab_0][populate][2]=items","populate[blocks_dynTab_0][populate][3]=items.text","populate[blocks_dynTab_0][populate][4]=items.image.file","populate[blocks_dynTab_0][populate][5]=items.gallery","populate[blocks_dynTab_0][populate][6]=items.gallery.imgs","populate[blocks_dynTab_0][populate][7]=items.gallery.imgs.file","populate[blocks_dynTab_0][populate][8]=items.video","populate[blocks_dynTab_0][populate][9]=steps.image","populate[blocks_dynTab_0][populate][10]=slideAspectRatio","populate[blocks_dynTab_0][populate][11]=badges.logo","populate[blocks_dynTab_0][populate][12]=downloads.file","populate[blocks_dynTab_0][populate][13]=downloads.previews","populate[blocks_dynTab_0][populate][14]=bubbles.img","populate[blocks_dynTab_1][populate][0]=imgs.file","populate[blocks_dynTab_1][populate][1]=image.file","populate[blocks_dynTab_1][populate][2]=items","populate[blocks_dynTab_1][populate][3]=items.text","populate[blocks_dynTab_1][populate][4]=items.image.file","populate[blocks_dynTab_1][populate][5]=items.gallery","populate[blocks_dynTab_1][populate][6]=items.gallery.imgs","populate[blocks_dynTab_1][populate][7]=items.gallery.imgs.file","populate[blocks_dynTab_1][populate][8]=items.video","populate[blocks_dynTab_1][populate][9]=steps.image","populate[blocks_dynTab_1][populate][10]=slideAspectRatio","populate[blocks_dynTab_1][populate][11]=badges.logo","populate[blocks_dynTab_1][populate][12]=downloads.file","populate[blocks_dynTab_1][populate][13]=downloads.previews","populate[blocks_dynTab_1][populate][14]=bubbles.img","populate[blocks_dynTab_2][populate][0]=imgs.file","populate[blocks_dynTab_2][populate][1]=image.file","populate[blocks_dynTab_2][populate][2]=items","populate[blocks_dynTab_2][populate][3]=items.text","populate[blocks_dynTab_2][populate][4]=items.image.file","populate[blocks_dynTab_2][populate][5]=items.gallery","populate[blocks_dynTab_2][populate][6]=items.gallery.imgs","populate[blocks_dynTab_2][populate][7]=items.gallery.imgs.file","populate[blocks_dynTab_2][populate][8]=items.video","populate[blocks_dynTab_2][populate][9]=steps.image","populate[blocks_dynTab_2][populate][10]=slideAspectRatio","populate[blocks_dynTab_2][populate][11]=badges.logo","populate[blocks_dynTab_2][populate][12]=downloads.file","populate[blocks_dynTab_2][populate][13]=downloads.previews","populate[blocks_dynTab_2][populate][14]=bubbles.img","populate[blocks_dynTab_3][populate][0]=imgs.file","populate[blocks_dynTab_3][populate][1]=image.file","populate[blocks_dynTab_3][populate][2]=items","populate[blocks_dynTab_3][populate][3]=items.text","populate[blocks_dynTab_3][populate][4]=items.image.file","populate[blocks_dynTab_3][populate][5]=items.gallery","populate[blocks_dynTab_3][populate][6]=items.gallery.imgs","populate[blocks_dynTab_3][populate][7]=items.gallery.imgs.file","populate[blocks_dynTab_3][populate][8]=items.video","populate[blocks_dynTab_3][populate][9]=steps.image","populate[blocks_dynTab_3][populate][10]=slideAspectRatio","populate[blocks_dynTab_3][populate][11]=badges.logo","populate[blocks_dynTab_3][populate][12]=downloads.file","populate[blocks_dynTab_3][populate][13]=downloads.previews","populate[blocks_dynTab_3][populate][14]=bubbles.img","populate[blocks_dynTab_4][populate][0]=imgs.file","populate[blocks_dynTab_4][populate][1]=image.file","populate[blocks_dynTab_4][populate][2]=items","populate[blocks_dynTab_4][populate][3]=items.text","populate[blocks_dynTab_4][populate][4]=items.image.file","populate[blocks_dynTab_4][populate][5]=items.gallery","populate[blocks_dynTab_4][populate][6]=items.gallery.imgs","populate[blocks_dynTab_4][populate][7]=items.gallery.imgs.file","populate[blocks_dynTab_4][populate][8]=items.video","populate[blocks_dynTab_4][populate][9]=steps.image","populate[blocks_dynTab_4][populate][10]=slideAspectRatio","populate[blocks_dynTab_4][populate][11]=badges.logo","populate[blocks_dynTab_4][populate][12]=downloads.file","populate[blocks_dynTab_4][populate][13]=downloads.previews","populate[blocks_dynTab_4][populate][14]=bubbles.img","populate[projects_related][populate][0]=projects_related","populate[relatedEvents][populate][0]=interestRegFormConfig","populate[relatedEvents][populate][1]=interestRegFormConfig.recipients_notifEmail","populate[relatedEvents][populate][2]=registrationFormConfig","populate[relatedEvents][populate][3]=registrationFormConfig.possibleDates","populate[relatedEvents][populate][4]=registrationFormConfig.workshopDetailsConfig0","populate[relatedEvents][populate][5]=registrationFormConfig.workshopDetailsConfig1","populate[relatedEvents][populate][6]=registrationFormConfig.workshopDetailsConfig2","populate[relatedEvents][populate][7]=registrationFormConfig.recipients_notifEmail","populate[relatedEvents][populate][8]=registrationFormConfig.factSheetPDF","populate[relatedEvents][populate][9]=factSheetBlocks","populate[relatedEvents][populate][10]=factSheetBlocks.image.file"],projects_overviewPage:i,projects_eCoConn:function(){var e,t,n,o,i,a=["populate[downloadResources][populate]=*","populate[subpageLinks][fields]0]=text","populate[subpageLinks][fields]1]=slug","populate[blocks][populate][0]=imgs.file","populate[blocks][populate][1]=image.file","populate[blocks][populate][2]=badges.logo","populate[blocks][populate][3]=authorImg","populate[blocks][populate][4]=slideAspectRatio","populate[blocks][populate][5]=downloads.file","populate[blocks][populate][6]=downloads.previews","populate[relatedEvents][populate][0]=interestRegFormConfig","populate[relatedEvents][populate][1]=interestRegFormConfig.recipients_notifEmail"];return(e=a).push.apply(e,(0,r.Z)(s(0))),(t=a).push.apply(t,(0,r.Z)(s(1))),(n=a).push.apply(n,(0,r.Z)(s(2))),(o=a).push.apply(o,(0,r.Z)(s(3))),(i=a).push.apply(i,(0,r.Z)(s(4))),a},projects_eCoConn_overviewPage:a,books:["filters[is_bookshelf][$eq]=true}","sort[0]=order:desc","populate[tags][populate]=value","populate[cover][populate]=*","populate[images_preview][populate]=*","populate[blocks_story][populate][0]=imgs.file","populate[blocks_story][populate][1]=items","populate[blocks_story][populate][2]=items.gallery","populate[blocks_story][populate][3]=items.gallery.imgs","populate[blocks_story][populate][4]=items.gallery.imgs.file","populate[blocks_story][populate][5]=items.video","populate[seo][populate]=image"],events:["sort[0]=order:asc","sort[1]=date:desc","fields[0]=order","fields[1]=title","fields[2]=type","fields[3]=description","fields[4]=date","fields[5]=date_end","fields[6]=dateDisplayLevel","fields[7]=link","fields[8]=status","populate[0]=tags","populate[1]=thumbnail","populate[2]=relatedProject"],news:["sort[0]=date:desc","sort[1]=slug:desc","sort[2]=priority:desc","populate[tags][populate]=*","populate[thumbnail][populate]=*","populate[seo][populate]=image","populate[related_news][populate]=*"],"team-members":l,"team-members-international":l,partners:u,contributors:c,"project-submissions":["sort[0]=publishedAt:desc","populate[image][populate][0]=file","populate[imgFile][populate][0]=file","populate[audioFile][populate][0]=file"],"resources-schools":["populate[project]=*","populate[blocks][populate][0]=imgs.file","populate[blocks][populate][1]=items","populate[blocks][populate][2]=downloads","populate[blocks][populate][3]=downloads.file","populate[blocks][populate][4]=downloads.previews","populate[seo][populate]=image"],"profile-settings":["populate[0]=pages","populate[1]=blocks","populate[2]=blocks.items","populate[3]=blocks.items.text"],"form-template":f,"forum-posts-eco-conn":["populate[school][populate][address][populate]=*","populate[school][populate][logo][fields][0]=url","populate[school][populate][logo][fields][1]=hide_onSchoolMap","populate[attachments][fields][0]=name","populate[attachments][fields][1]=url","populate[attachments][fields][2]=ext","populate[attachments][fields][3]=width","populate[attachments][fields][4]=height","populate[relatedPost][populate]=*"]}},92772:function(e,t){"use strict";t.Z={favorit:{xs:{mobile:{size:"12px",spacing:"0px"},desktop:{size:"17px",spacing:"0px"}},base:{mobile:{size:"16px",spacing:"0px"},desktop:{size:"21px",spacing:"0px"}},sm:{mobile:{size:"16px",spacing:"0px"},desktop:{size:"21px",spacing:"0px"}},md:{mobile:{size:"28px",spacing:"0px"},desktop:{size:"28px",spacing:"0px"}},lg:{size:"36px",spacing:"0px"},xl:{size:"52px",spacing:"0px"}},comfortaa:{xs:{mobile:{size:"12px",spacing:"0px"},desktop:{size:"12px",spacing:"0px"}},base:{mobile:{size:"16px",spacing:"0px"},desktop:{size:"21px",spacing:"0px"}},sm:{mobile:{size:"21px",spacing:"-0.4px"},desktop:{size:"36px",spacing:"-0.75px"}},md:{mobile:{size:"28px",spacing:"-1px"},desktop:{size:"42px",spacing:"-0.75px"}},lg:{mobile:{size:"36px",spacing:"-1.5px"},desktop:{size:"54px",spacing:"-2.25px"}},xl:{mobile:{size:"52px",spacing:"-2px"},desktop:{size:"64px",spacing:"-2px"}}}}},85313:function(e,t,n){"use strict";function r(e,t){return Array(t+1).join(e)}n.d(t,{Z:function(){return N}});var o=["ADDRESS","ARTICLE","ASIDE","AUDIO","BLOCKQUOTE","BODY","CANVAS","CENTER","DD","DIR","DIV","DL","DT","FIELDSET","FIGCAPTION","FIGURE","FOOTER","FORM","FRAMESET","H1","H2","H3","H4","H5","H6","HEADER","HGROUP","HR","HTML","ISINDEX","LI","MAIN","MENU","NAV","NOFRAMES","NOSCRIPT","OL","OUTPUT","P","PRE","SECTION","TABLE","TBODY","TD","TFOOT","TH","THEAD","TR","UL"];function i(e){return u(e,o)}var a=["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"];function s(e){return u(e,a)}var l=["A","TABLE","THEAD","TBODY","TFOOT","TH","TD","IFRAME","SCRIPT","AUDIO","VIDEO"];function u(e,t){return t.indexOf(e.nodeName)>=0}function c(e,t){return e.getElementsByTagName&&t.some((function(t){return e.getElementsByTagName(t).length}))}var f={};function d(e){return e?e.replace(/(\n+\s*)+/g,"\n"):""}function p(e){for(var t in this.options=e,this._keep=[],this._remove=[],this.blankRule={replacement:e.blankReplacement},this.keepReplacement=e.keepReplacement,this.defaultRule={replacement:e.defaultReplacement},this.array=[],e.rules)this.array.push(e.rules[t])}function h(e,t,n){for(var r=0;r<e.length;r++){var o=e[r];if(m(o,t,n))return o}}function m(e,t,n){var r=e.filter;if("string"===typeof r){if(r===t.nodeName.toLowerCase())return!0}else if(Array.isArray(r)){if(r.indexOf(t.nodeName.toLowerCase())>-1)return!0}else{if("function"!==typeof r)throw new TypeError("`filter` needs to be a string, array, or function");if(r.call(e,t,n))return!0}}function g(e){var t=e.nextSibling||e.parentNode;return e.parentNode.removeChild(e),t}function v(e,t,n){return e&&e.parentNode===t||n(t)?t.nextSibling||t.parentNode:t.firstChild||t.nextSibling||t.parentNode}f.paragraph={filter:"p",replacement:function(e){return"\n\n"+e+"\n\n"}},f.lineBreak={filter:"br",replacement:function(e,t,n){return n.br+"\n"}},f.heading={filter:["h1","h2","h3","h4","h5","h6"],replacement:function(e,t,n){var o=Number(t.nodeName.charAt(1));return"setext"===n.headingStyle&&o<3?"\n\n"+e+"\n"+r(1===o?"=":"-",e.length)+"\n\n":"\n\n"+r("#",o)+" "+e+"\n\n"}},f.blockquote={filter:"blockquote",replacement:function(e){return"\n\n"+(e=(e=e.replace(/^\n+|\n+$/g,"")).replace(/^/gm,"> "))+"\n\n"}},f.list={filter:["ul","ol"],replacement:function(e,t){var n=t.parentNode;return"LI"===n.nodeName&&n.lastElementChild===t?"\n"+e:"\n\n"+e+"\n\n"}},f.listItem={filter:"li",replacement:function(e,t,n){e=e.replace(/^\n+/,"").replace(/\n+$/,"\n").replace(/\n/gm,"\n    ");var r=n.bulletListMarker+"   ",o=t.parentNode;if("OL"===o.nodeName){var i=o.getAttribute("start"),a=Array.prototype.indexOf.call(o.children,t);r=(i?Number(i)+a:a+1)+".  "}return r+e+(t.nextSibling&&!/\n$/.test(e)?"\n":"")}},f.indentedCodeBlock={filter:function(e,t){return"indented"===t.codeBlockStyle&&"PRE"===e.nodeName&&e.firstChild&&"CODE"===e.firstChild.nodeName},replacement:function(e,t,n){return"\n\n    "+t.firstChild.textContent.replace(/\n/g,"\n    ")+"\n\n"}},f.fencedCodeBlock={filter:function(e,t){return"fenced"===t.codeBlockStyle&&"PRE"===e.nodeName&&e.firstChild&&"CODE"===e.firstChild.nodeName},replacement:function(e,t,n){for(var o,i=((t.firstChild.getAttribute("class")||"").match(/language-(\S+)/)||[null,""])[1],a=t.firstChild.textContent,s=n.fence.charAt(0),l=3,u=new RegExp("^"+s+"{3,}","gm");o=u.exec(a);)o[0].length>=l&&(l=o[0].length+1);var c=r(s,l);return"\n\n"+c+i+"\n"+a.replace(/\n$/,"")+"\n"+c+"\n\n"}},f.horizontalRule={filter:"hr",replacement:function(e,t,n){return"\n\n"+n.hr+"\n\n"}},f.inlineLink={filter:function(e,t){return"inlined"===t.linkStyle&&"A"===e.nodeName&&e.getAttribute("href")},replacement:function(e,t){var n=t.getAttribute("href"),r=d(t.getAttribute("title"));return r&&(r=' "'+r+'"'),"["+e+"]("+n+r+")"}},f.referenceLink={filter:function(e,t){return"referenced"===t.linkStyle&&"A"===e.nodeName&&e.getAttribute("href")},replacement:function(e,t,n){var r,o,i=t.getAttribute("href"),a=d(t.getAttribute("title"));switch(a&&(a=' "'+a+'"'),n.linkReferenceStyle){case"collapsed":r="["+e+"][]",o="["+e+"]: "+i+a;break;case"shortcut":r="["+e+"]",o="["+e+"]: "+i+a;break;default:var s=this.references.length+1;r="["+e+"]["+s+"]",o="["+s+"]: "+i+a}return this.references.push(o),r},references:[],append:function(e){var t="";return this.references.length&&(t="\n\n"+this.references.join("\n")+"\n\n",this.references=[]),t}},f.emphasis={filter:["em","i"],replacement:function(e,t,n){return e.trim()?n.emDelimiter+e+n.emDelimiter:""}},f.strong={filter:["strong","b"],replacement:function(e,t,n){return e.trim()?n.strongDelimiter+e+n.strongDelimiter:""}},f.code={filter:function(e){var t=e.previousSibling||e.nextSibling,n="PRE"===e.parentNode.nodeName&&!t;return"CODE"===e.nodeName&&!n},replacement:function(e){if(!e)return"";e=e.replace(/\r?\n|\r/g," ");for(var t=/^`|^ .*?[^ ].* $|`$/.test(e)?" ":"",n="`",r=e.match(/`+/gm)||[];-1!==r.indexOf(n);)n+="`";return n+t+e+t+n}},f.image={filter:"img",replacement:function(e,t){var n=d(t.getAttribute("alt")),r=t.getAttribute("src")||"",o=d(t.getAttribute("title"));return r?"!["+n+"]("+r+(o?' "'+o+'"':"")+")":""}},p.prototype={add:function(e,t){this.array.unshift(t)},keep:function(e){this._keep.unshift({filter:e,replacement:this.keepReplacement})},remove:function(e){this._remove.unshift({filter:e,replacement:function(){return""}})},forNode:function(e){return e.isBlank?this.blankRule:(t=h(this.array,e,this.options))||(t=h(this._keep,e,this.options))||(t=h(this._remove,e,this.options))?t:this.defaultRule;var t},forEach:function(e){for(var t=0;t<this.array.length;t++)e(this.array[t],t)}};var y="undefined"!==typeof window?window:{};var b,x=function(){var e=y.DOMParser,t=!1;try{(new e).parseFromString("","text/html")&&(t=!0)}catch(n){}return t}()?y.DOMParser:function(){var e=function(){};return!function(){var e=!1;try{document.implementation.createHTMLDocument("").open()}catch(t){y.ActiveXObject&&(e=!0)}return e}()?e.prototype.parseFromString=function(e){var t=document.implementation.createHTMLDocument("");return t.open(),t.write(e),t.close(),t}:e.prototype.parseFromString=function(e){var t=new window.ActiveXObject("htmlfile");return t.designMode="on",t.open(),t.write(e),t.close(),t},e}();function w(e,t){var n;"string"===typeof e?n=(b=b||new x).parseFromString('<x-turndown id="turndown-root">'+e+"</x-turndown>","text/html").getElementById("turndown-root"):n=e.cloneNode(!0);return function(e){var t=e.element,n=e.isBlock,r=e.isVoid,o=e.isPre||function(e){return"PRE"===e.nodeName};if(t.firstChild&&!o(t)){for(var i=null,a=!1,s=null,l=v(s,t,o);l!==t;){if(3===l.nodeType||4===l.nodeType){var u=l.data.replace(/[ \r\n\t]+/g," ");if(i&&!/ $/.test(i.data)||a||" "!==u[0]||(u=u.substr(1)),!u){l=g(l);continue}l.data=u,i=l}else{if(1!==l.nodeType){l=g(l);continue}n(l)||"BR"===l.nodeName?(i&&(i.data=i.data.replace(/ $/,"")),i=null,a=!1):r(l)||o(l)?(i=null,a=!0):i&&(a=!1)}var c=v(s,l,o);s=l,l=c}i&&(i.data=i.data.replace(/ $/,""),i.data||g(i))}}({element:n,isBlock:i,isVoid:s,isPre:t.preformattedCode?_:null}),n}function _(e){return"PRE"===e.nodeName||"CODE"===e.nodeName}function k(e,t){return e.isBlock=i(e),e.isCode="CODE"===e.nodeName||e.parentNode.isCode,e.isBlank=function(e){return!s(e)&&!function(e){return u(e,l)}(e)&&/^\s*$/i.test(e.textContent)&&!function(e){return c(e,a)}(e)&&!function(e){return c(e,l)}(e)}(e),e.flankingWhitespace=function(e,t){if(e.isBlock||t.preformattedCode&&e.isCode)return{leading:"",trailing:""};var n=function(e){var t=e.match(/^(([ \t\r\n]*)(\s*))(?:(?=\S)[\s\S]*\S)?((\s*?)([ \t\r\n]*))$/);return{leading:t[1],leadingAscii:t[2],leadingNonAscii:t[3],trailing:t[4],trailingNonAscii:t[5],trailingAscii:t[6]}}(e.textContent);n.leadingAscii&&C("left",e,t)&&(n.leading=n.leadingNonAscii);n.trailingAscii&&C("right",e,t)&&(n.trailing=n.trailingNonAscii);return{leading:n.leading,trailing:n.trailing}}(e,t),e}function C(e,t,n){var r,o,a;return"left"===e?(r=t.previousSibling,o=/ $/):(r=t.nextSibling,o=/^ /),r&&(3===r.nodeType?a=o.test(r.nodeValue):n.preformattedCode&&"CODE"===r.nodeName?a=!1:1!==r.nodeType||i(r)||(a=o.test(r.textContent))),a}var S=Array.prototype.reduce,E=[[/\\/g,"\\\\"],[/\*/g,"\\*"],[/^-/g,"\\-"],[/^\+ /g,"\\+ "],[/^(=+)/g,"\\$1"],[/^(#{1,6}) /g,"\\$1 "],[/`/g,"\\`"],[/^~~~/g,"\\~~~"],[/\[/g,"\\["],[/\]/g,"\\]"],[/^>/g,"\\>"],[/_/g,"\\_"],[/^(\d+)\. /g,"$1\\. "]];function T(e){if(!(this instanceof T))return new T(e);var t={rules:f,headingStyle:"setext",hr:"* * *",bulletListMarker:"*",codeBlockStyle:"indented",fence:"```",emDelimiter:"_",strongDelimiter:"**",linkStyle:"inlined",linkReferenceStyle:"full",br:"  ",preformattedCode:!1,blankReplacement:function(e,t){return t.isBlock?"\n\n":""},keepReplacement:function(e,t){return t.isBlock?"\n\n"+t.outerHTML+"\n\n":t.outerHTML},defaultReplacement:function(e,t){return t.isBlock?"\n\n"+e+"\n\n":e}};this.options=function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}return e}({},t,e),this.rules=new p(this.options)}function O(e){var t=this;return S.call(e.childNodes,(function(e,n){var r="";return 3===(n=new k(n,t.options)).nodeType?r=n.isCode?n.nodeValue:t.escape(n.nodeValue):1===n.nodeType&&(r=j.call(t,n)),I(e,r)}),"")}function A(e){var t=this;return this.rules.forEach((function(n){"function"===typeof n.append&&(e=I(e,n.append(t.options)))})),e.replace(/^[\t\r\n]+/,"").replace(/[\t\r\n\s]+$/,"")}function j(e){var t=this.rules.forNode(e),n=O.call(this,e),r=e.flankingWhitespace;return(r.leading||r.trailing)&&(n=n.trim()),r.leading+t.replacement(n,e,this.options)+r.trailing}function I(e,t){var n=function(e){for(var t=e.length;t>0&&"\n"===e[t-1];)t--;return e.substring(0,t)}(e),r=t.replace(/^\n*/,""),o=Math.max(e.length-n.length,t.length-r.length);return n+"\n\n".substring(0,o)+r}T.prototype={turndown:function(e){if(!function(e){return null!=e&&("string"===typeof e||e.nodeType&&(1===e.nodeType||9===e.nodeType||11===e.nodeType))}(e))throw new TypeError(e+" is not a string, or an element/document/fragment node.");if(""===e)return"";var t=O.call(this,new w(e,this.options));return A.call(this,t)},use:function(e){if(Array.isArray(e))for(var t=0;t<e.length;t++)this.use(e[t]);else{if("function"!==typeof e)throw new TypeError("plugin must be a Function or an Array of Functions");e(this)}return this},addRule:function(e,t){return this.rules.add(e,t),this},keep:function(e){return this.rules.keep(e),this},remove:function(e){return this.rules.remove(e),this},escape:function(e){return E.reduce((function(e,t){return e.replace(t[0],t[1])}),e)}};var P=T;var N=function(e){var t=new P;return RegExp.prototype.test.bind(/(<([^>]+)>)/i)(e)?t.turndown(e):e}},17734:function(e,t,n){"use strict";n.d(t,{L:function(){return i},q:function(){return a}});var r=n(76461),o=n(67347);function i(e){var t=e?e.data?e.data:e:null,n=t?(0,r.J3)(Array.isArray(t)?t[0]:t):null;return n&&(n.is_formatted=!0),n}function a(e){return!!e&&{title:(0,o.c)(e.title,!0)?e.title:null,description:(0,o.c)(e.description,!0)?e.description:null,file:(0,o.c)(e.file)?i(e.file):null}}},69435:function(e,t,n){"use strict";n.d(t,{AY:function(){return p},Ay:function(){return l},JJ:function(){return h},Pj:function(){return i},Sd:function(){return d},WY:function(){return u},_G:function(){return g},fI:function(){return m},gb:function(){return c},kx:function(){return s},md:function(){return a},p$:function(){return f}});var r=n(67347),o=n(17734);n(76461);function i(e,t){if(!(null===e||void 0===e?void 0:e.attributes))return!1;var n=e.attributes,a=n.is_play,s=n.is_skills,l=n.is_works,u=(0,r.c)(n.is_groupProject)?n.is_groupProject:null,c=(0,r.c)(n.is_research)?n.is_research:null,f=(0,r.c)(n.is_creative)?n.is_creative:null,d=(0,r.c)(n.is_supervised)?n.is_supervised:null,h=(0,r.c)(n.is_special)?n.is_special:null,m=(0,r.c)(n.is_nationalCurriculumProject)?n.is_nationalCurriculumProject:null,g=(0,r.c)(n.is_childrensUniversityProject)?n.is_childrensUniversityProject:null,v=e.id,y=(0,r.c)(n.slug)?n.slug:null,b=(0,r.c)(n.title)?n.title:null,x=(0,r.c)(n.type)?n.type:null,w=(0,r.c)(n.type_manual,!0)?n.type_manual:null,_=(0,r.c)(n.description)?n.description:null,k=(0,r.c)(n.launch,!0)?n.launch:null,C=(0,r.c)(n.status)?n.status:null,S=(0,r.c)(n.driveUploadFolderId)?n.driveUploadFolderId:null,E=!!(0,r.c)(n.has_customURL)&&n.has_customURL,T=(0,r.c)(n.subpageLinks,!0)?n.subpageLinks.filter((function(e){return!e.disabled})).map((function(e){return{title:e.text,slug:"projects/".concat(y,"/").concat("/"!==e.slug?e.slug:""),locale:"en",parent:{slug:"projects/".concat(y)}}})):null,O=(0,r.c)(n.tags)&&(0,r.c)(n.tags.data,!0)?n.tags.data:null,A=(0,r.c)(n.age_min)?n.age_min:null,j=(0,r.c)(n.age_max)?n.age_max:null,I=(0,r.c)(A)?A:null,P=(0,r.c)(j)&&0!=j?j:null,N=(0,r.c)(I)||(0,r.c)(P),R=(0,r.c)(A)&&(0,r.c)(j,!1,!0)?"\u2013":(0,r.c)(j)&&0!==j?"":"+",Z=N?"".concat(I||"").concat(R||"").concat(P||""):null,L=(0,r.c)(n.participants_min)?n.participants_min:null,D=(0,r.c)(n.participants_max)?n.participants_max:null,F=(0,r.c)(n.thumbnail)?n.thumbnail:null,M=(0,r.c)(n.download_pdf)&&(0,r.c)(n.download_pdf.data)&&(0,r.c)(n.download_pdf.data.attributes)?n.download_pdf.data.attributes:null,z=(0,r.c)(n.downloadButtonText,!0)?n.downloadButtonText:null,B=(0,r.c)(n.downloadResources,!0)?n.downloadResources.map((function(e){return(0,o.q)(e)})):null,H=(0,r.c)(t)&&(0,r.c)(t.id)?"/profile/school/resources/".concat(t.id):null,$=(0,r.c)(n.text,!0)?n.text:null,U=(0,r.c)(n.blocks_info,!0)?n.blocks_info:null,V=(0,r.c)(n.blocks_share,!0)?n.blocks_share:null,G=(0,r.c)(n.blocks_gallery,!0)?n.blocks_gallery:null,W=(0,r.c)(n.blocks_competition,!0)?n.blocks_competition:null,q=(0,r.c)(n.blocks_map,!0)?n.blocks_map:null,X=[(0,r.c)(n.blocks_dynTab_0,!0)?n.blocks_dynTab_0:null,(0,r.c)(n.blocks_dynTab_1,!0)?n.blocks_dynTab_1:null,(0,r.c)(n.blocks_dynTab_2,!0)?n.blocks_dynTab_2:null,(0,r.c)(n.blocks_dynTab_3,!0)?n.blocks_dynTab_3:null,(0,r.c)(n.blocks_dynTab_4,!0)?n.blocks_dynTab_4:null].map((function(e){if(!e)return null;var t=e.find((function(e){return"utilities.dyn-section-id"===e.__component}));return t?{id:t.value,blocks:e}:null})),Y=(0,r.c)(n.submissionFormConfig)?n.submissionFormConfig:null,K=(0,r.c)(n.submissionLocations,!0)?n.submissionLocations:null,Q=(0,r.c)(n.color_mapMarker,!0)?"#".concat(n.color_mapMarker):null,J=(0,r.c)(n.filterBarConfig)?n.filterBarConfig:{with_typeFilter:!0,with_participantTypeFilter:!0},ee=(0,r.c)(n.infoText_childrensUniversity,!0)?n.infoText_childrensUniversity:null,te=(0,r.c)(n.infoText_nationalCurriculum,!0)?n.infoText_nationalCurriculum:null,ne=(0,r.c)(n.links_nationalCurriculum,!0)?n.links_nationalCurriculum:null,re=(0,r.c)(n.relatedEvents)&&(0,r.c)(n.relatedEvents.data,!0)?n.relatedEvents.data.map((function(e){return p(e)})):null,oe=re?re.filter((function(e){return e.with_registration})):null,ie=(0,r.c)(n.projects_related)&&(0,r.c)(n.projects_related.projects_related)&&(0,r.c)(n.projects_related.projects_related.data,!0)?n.projects_related.projects_related.data.map((function(e){return i(e)})):null;return{contexts:{play:a,skills:s,works:l},id:v,slug:y,title:b,type:x,type_manual:w,description:_,launch:k,status:C,tags:O,driveUploadFolderId:S,has_customURL:E,is_groupProject:u,is_research:c,is_creative:f,is_supervised:d,is_special:h,is_nationalCurriculumProject:m,is_childrensUniversityProject:g,ageRange:Z,participants_min:L,participants_max:D,subpages:T,thumbnail:F,download_pdf:M,downloadButtonText:z,downloadResources:B,url_resource:H,blocks:$,blocks_info:U,blocks_share:V,blocks_gallery:G,blocks_competition:W,blocks_map:q,blocks_ofDynTabs:X,submissionFormConfig:Y,submissionLocations:K,color_mapMarker:Q,filterBarConfig:J,infoText_childrensUniversity:ee,infoText_nationalCurriculum:te,links_nationalCurriculum:ne,relatedEvents:re,relatedEvents_withRegistration:oe,projects_related:ie,pageHeaderData:{title:b,type:x,type_manual:w}}}function a(e){if(!e.attributes)return!1;var t=e.attributes,n=(0,r.c)(t.projectID,!0)?t.projectID:null,o=(0,r.c)(t.url_project,!0)?t.url_project:null,i=(0,r.c)(t.projectButtonText,!0)?t.projectButtonText:null,a=(0,r.c)(t.title,!0)?t.title:null,s=(0,r.c)(t.type)?t.type:null,l=(0,r.c)(t.ageRange,!0)?t.ageRange:null,u=(0,r.c)(t.description,!0)?t.description:null,c=(0,r.c)(t.publishedAt)?t.publishedAt:null,f=(0,r.c)(t.updatedAt)?t.updatedAt:null,d=(0,r.c)(t.project)&&(0,r.c)(t.project.data)&&(0,r.c)(t.project.data.attributes)?t.project.data.attributes:null,p=(0,r.c)(t.blocks,!0)?t.blocks:null;return{projectID:n,url_project:o,projectButtonText:i,title:a,type:s,ageRange:l,description:u,publishedAt:c,updatedAt:f,date_published:function(){if((0,r.c)(c)){var e=new Date(c),t=("0"+e.getDate()).slice(-2),n=("0"+(e.getMonth()+1)).slice(-2),o=e.getFullYear().toString().slice(-2);return"".concat(t,"/").concat(n,"/").concat(o)}return null},date_updated:function(){if((0,r.c)(f)){var e=new Date(f),t=("0"+e.getDate()).slice(-2),n=("0"+(e.getMonth()+1)).slice(-2),o=e.getFullYear().toString().slice(-2);return"".concat(t,"/").concat(n,"/").concat(o)}return null},project:d,blocks:p}}function s(e){var t=null===e||void 0===e?void 0:e.attributes;if(!t)return!1;var n=(0,r.c)(t.linkGroups,!0)?t.linkGroups:null;n.forEach((function(e){e.links.forEach((function(e){e.icon&&e.icon.data&&(e.icon=(0,o.L)(e.icon.data))}))}));var i=(0,r.c)(t.logos,!0)?t.logos.map((function(e){return{title:e.title,has_border:e.has_border,file:(0,o.L)(e.file),link:e.link}})):null,a=(0,r.c)(t.secondary)&&(0,r.c)(t.secondary.links,!0)?t.secondary.links:null;return a&&a.forEach((function(e){e.is_external||e.target.startsWith("/")||(e.target="/".concat(e.target))})),{linkGroups:n,logos:i,secondaryLinks:a,companyAddress:(0,r.c)(t.companyAddress)?t.companyAddress:null}}function l(e){var t=e.attributes;return!!t&&{name:(0,r.c)(t.name,!0)?t.name:null,slug:(0,r.c)(t.slug,!0)?t.slug:null,title:(0,r.c)(t.title,!0)?t.title:null,group:(0,r.c)(t.group,!0)?t.group:null,email:(0,r.c)(t.email,!0)?t.email:null,country:(0,r.c)(t.country,!0)?t.country:null,headline:(0,r.c)(t.headline,!0)?t.headline:null,bio_short:(0,r.c)(t.bio_short,!0)?t.bio_short:null,intro_paragraph:(0,r.c)(t.intro_paragraph,!0)?t.intro_paragraph:null,intro_text:(0,r.c)(t.intro_text,!0)?t.intro_text:null,thumbnail:(0,r.c)(t.thumbnail)?(0,o.L)(t.thumbnail.file):null,profilePicture:(0,r.c)(t.profilePicture)?{title:t.profilePicture.title,has_border:t.profilePicture.has_border,file:(0,o.L)(t.profilePicture.file)}:null,blocks:(0,r.c)(t.blocks,!0)?t.blocks:null}}function u(e){var t=e.attributes;return!!t&&{slug:(0,r.c)(t.slug,!0)?t.slug:null,headline:(0,r.c)(t.headline,!0)?t.headline:null,title:(0,r.c)(t.title,!0)?t.title:null,country:(0,r.c)(t.country,!0)?t.country:null,email:(0,r.c)(t.email,!0)?t.email:null,profilePicture:(0,r.c)(t.profilePicture)?{title:t.profilePicture.title,has_border:t.profilePicture.has_border,file:(0,o.L)(t.profilePicture.file)}:null}}function c(e){if(!e.attributes)return!1;var t=e.attributes;return{slug:(0,r.c)(t.slug,!0)?t.slug:null,name:(0,r.c)(t.name,!0)?t.name:null,description:(0,r.c)(t.description,!0)?t.description:null,intro:(0,r.c)(t.intro,!0)?t.intro:null,text:(0,r.c)(t.text,!0)?t.text:null,tags:(0,r.c)(t.tags)&&(0,r.c)(t.tags.data,!0)?t.tags.data:null,logo:(0,r.c)(t.logo)?(0,o.L)(t.logo.file):null,blocks:(0,r.c)(t.blocks,!0)?t.blocks:null}}function f(e){var t=e.attributes;return!!t&&{slug:(0,r.c)(t.slug)?t.slug:null,name:(0,r.c)(t.name)?t.name:null,description:(0,r.c)(t.description)?t.description:null,tags:(0,r.c)(t.tags)&&(0,r.c)(t.tags.data,!0)?t.tags.data:null,image:(0,r.c)(t.image)?{has_border:t.image.has_border,file:(0,o.L)(t.image.file)}:null,blocks:(0,r.c)(t.blocks,!0)?t.blocks:null}}function d(e){if(!e.attributes)return!1;var t=e.attributes,n=t.is_play,o=t.is_skills,i=t.is_works,a=(0,r.c)(t.slug)?t.slug:null,s=(0,r.c)(t)&&(0,r.c)(t.headline)?t.headline:null,l=(0,r.c)(t)&&(0,r.c)(t.intro)?t.intro:null,u=(0,r.c)(t.abstract)?t.abstract:null,c=(0,r.c)(t)&&(0,r.c)(t.tags)&&(0,r.c)(t.tags.data)?t.tags.data:null,f=(0,r.c)(t.thumbnail)?t.thumbnail:null,d=(0,r.c)(t)&&(0,r.c)(t.blocks,!0)?t.blocks:null,p=(0,r.c)(t)&&(0,r.c)(t.related_news)&&(0,r.c)(t.related_news.related_news)&&(0,r.c)(t.related_news.related_news.data,!0)?t.related_news.related_news.data:null,h=(0,r.c)(t)&&(0,r.c)(t.date)?t.date:null;return{contexts:{play:n,skills:o,works:i},slug:a,headline:s,intro:l,abstract:u,tags:c,date:function(){if((0,r.c)(h)){var e=new Date(h),t=e.getDate(),n=e.toLocaleString("en-US",{month:"long"}),o=e.getFullYear();return"".concat(t," ").concat(n," ").concat(o)}return null},thumbnail:f,blocks:d,related_news:p}}function p(e){if(!(null===e||void 0===e?void 0:e.attributes))return!1;var t=e.id,n=e.attributes,a=(0,r.c)(n.order)?n.order:9999,s=(0,r.c)(n.status)?n.status:"upcoming",l=(0,r.c)(n.title,!0)?n.title:null,u=(0,r.c)(n.type,!0)?n.type:null,c=(0,r.c)(n.description,!0)?n.description:null,f=(0,r.c)(n.link,!0)?n.link:null,d=(0,r.c)(n.with_registration)?n.with_registration:null,p=(0,r.c)(n.with_googleCalLink)?n.with_googleCalLink:null,h=(0,r.c)(n.registrationButtonText,!0)?n.registrationButtonText:"Register for event",m=(0,r.c)(n.registrationForm)?n.registrationForm:null,g=(0,r.c)(n.registrationFormConfig)?n.registrationFormConfig:null,v=(0,r.c)(n.factSheetBlocks,!0)?n.factSheetBlocks:null,y=(0,r.c)(n.dateDisplayLevel)?n.dateDisplayLevel:"full",b=(0,r.c)(n.date)?n.date:null,x=(0,r.c)(n.date_end)?n.date_end:null,w=(0,r.c)(n.tags)&&(0,r.c)(n.tags.data,!0)?n.tags.data.map((function(e){return e.attributes.value})):null,_=(0,r.c)(n.thumbnail)&&(0,r.c)(n.thumbnail.data)?(0,o.L)(n.thumbnail.data):null,k=(0,r.c)(n.blocks,!0)?n.blocks:null,C=(0,r.c)(n.relatedProject)&&(0,r.c)(n.relatedProject.data)?i(n.relatedProject.data):null;return{id:t,order:a,status:s,title:l,type:u,description:c,link:f,with_registration:d,with_googleCalLink:p,registrationButtonText:h,registrationForm:m,registrationFormConfig:g,factSheetBlocks:v,dateDisplayLevel:y,date_raw:b,date:b,date_end:x,tags:w,thumbnail:_,blocks:k,relatedProject:C,has_link:(0,r.c)(f),has_relatedProject:(0,r.c)(C),has_blocks:(0,r.c)(k,!0)}}function h(e){var t;if(!e.attributes)return!1;var n=e.attributes;return{slug:(0,r.c)(n.slug)?n.slug:null,title:(0,r.c)(n.title)?n.title:null,author:(0,r.c)(n.author)?n.author:null,link_buy:(0,r.c)(n.link_buy)?n.link_buy:null,tags:(0,r.c)(n.tags)&&(0,r.c)(n.tags.data,!0)?n.tags.data:null,cover:(0,r.c)(n.cover)?(0,o.L)(n.cover):null,blocks_story:(0,r.c)(n.blocks_story,!0)?n.blocks_story:null,images_preview:(0,r.c)(null===(t=n.images_preview)||void 0===t?void 0:t.data)?n.images_preview.data.map((function(e){return(0,o.L)(e)})):null}}function m(e){if(!e.attributes)return null;var t=e.attributes;return{schoolID:(0,r.c)(t.schoolID)?t.schoolID:null,name:(0,r.c)(t.name)?t.name:null,website:(0,r.c)(t.website)?t.website:null,is_advisoryBoardSchool:!!(0,r.c)(t.is_advisoryBoardSchool)&&t.is_advisoryBoardSchool,superSchoolLevel:(0,r.c)(t.superSchoolLevel)?t.superSchoolLevel:null,count_pupils:(0,r.c)(t.count_pupils)?t.count_pupils:null,address:(0,r.c)(t.address)?t.address:null,contact_slt:(0,r.c)(t.contact_slt)?t.contact_slt:null,contact_teacher:(0,r.c)(t.contact_teacher)?t.contact_teacher:null,yearGroups:(0,r.c)(t.yearGroups,!0)?t.yearGroups:null,downloadHistory:(0,r.c)(t.downloadHistory,!0)?t.downloadHistory:null,logo:(0,r.c)(t.logo.data)?(0,o.L)(t.logo):null,hide_inSchoolList:!!(0,r.c)(t.hide_inSchoolList)&&t.hide_inSchoolList,hide_onSchoolMap:!!(0,r.c)(t.hide_onSchoolMap)&&t.hide_onSchoolMap}}var g={tags:function(e){if(!e||!e.attributes)return!1;var t=e.id,n=e.attributes,o=t,i=(0,r.c)(n.value,!0)?n.value:null,a=(0,r.c)(n.contributors)&&(0,r.c)(n.contributors.data,!0)?n.contributors.data:null;return{value:o,text:i,has_contributors:!!a&&a.length>=1}},"team-members":l,"team-members-international":l,partners:c,contributors:f,books:h,events:p,schools:m,projectResources:a}},76461:function(e,t,n){"use strict";n.d(t,{Ht:function(){return l},J3:function(){return s},PH:function(){return m},QQ:function(){return f},Qv:function(){return c},Qx:function(){return u},VB:function(){return p},cC:function(){return g},d7:function(){return v},mc:function(){return h},wl:function(){return d}});var r=n(11163),o=n(67347),i=(n(17734),n(16483));function a(){var e=(0,r.useRouter)(),t=(0,i.e5)();return("play"===t?"https://play.ootiboo.com":"teachers"===t?"https://teachers.ootiboo.com":"works"===t?"https://works.ootiboo.com":"ice-cream"===t?"https://international.ootiboo.com":"https://ootiboo.com")+e.asPath}function s(e){return(0,o.c)(e)&&(0,o.c)(e.attributes)?e.attributes:null}function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"full";if(!e)return!1;var n=new Date(e),r=n.getDate(),o=n.toLocaleString("en-US",{month:"long"}),i=n.getFullYear(),a="month+year"===t?"".concat(o," ").concat(i):"year"===t?i:"".concat(r," ").concat(o," ").concat(i);return a}function u(e){if(!e)return!1;var t=new Date(e),n=t.getFullYear(),r=(t.getMonth()+1).toString().padStart(2,"0"),o=t.getDate().toString().padStart(2,"0");return"".concat(n).concat(r).concat(o,"/").concat(n).concat(r).concat(o)}function c(e){if(!e)return!1;var t=e.__component;return["content.block-","content.","blocks.block-","blocks."].forEach((function(e){return t=t.replace(e,"")})),t}function f(e){if(!e)return!1;var t=e.__component;return["fields.field-","utilities.field-"].forEach((function(e){return t=t.replace(e,"")})),t}function d(e){if(!e.attributes)return!1;var t=e.attributes;return{cta_submission:(0,o.c)(t.cta_submission)?t.cta_submission:null}}function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;if(!+e)return"0 Bytes";var n=1024,r=t<0?0:t,o=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],i=Math.floor(Math.log(e)/Math.log(n));return"".concat(parseFloat((e/Math.pow(n,i)).toFixed(r))," ").concat(o[i])}function h(e){var t,n;if(!e||!e.attributes)return null;var r=e.attributes,s=(0,o.c)(r.title,!0)?r.title:null,l=(0,o.c)(r.description,!0)?r.description:null,u=a(),c=null===(t=r[function(){var e=(0,i.e5)();return"play"===e?"image_play":"teachers"===e?"image_teachers":"works"===e?"image_works":"ice-cream"===e?"image_international":"image"}()])||void 0===t||null===(n=t.data)||void 0===n?void 0:n.attributes;return{title:s,description:l,canonical:u,openGraph:c?{type:"website",locale:"en_GB",url:u,title:s,description:l,siteName:"ootiboo",images:[{url:"https://cdn.ootiboo.com"+(null===c||void 0===c?void 0:c.url),width:null===c||void 0===c?void 0:c.width,height:null===c||void 0===c?void 0:c.height,alt:null===c||void 0===c?void 0:c.alternativeText}]}:null}}function m(e){var t,n;if(!e||!e.attributes||!e.attributes.seo)return null;var r=e.attributes.seo,i=(0,o.c)(null===r||void 0===r?void 0:r.title,!0)?r.title:null,s=(0,o.c)(null===r||void 0===r?void 0:r.description,!0)?r.description:null,l=a(),u=null===r||void 0===r||null===(t=r.image)||void 0===t||null===(n=t.data)||void 0===n?void 0:n.attributes;return{title:i,description:s,canonical:l,openGraph:u?{type:"website",locale:"en_GB",url:l,title:i,description:s,siteName:"ootiboo",images:[{url:"https://cdn.ootiboo.com"+(null===u||void 0===u?void 0:u.url),width:null===u||void 0===u?void 0:u.width,height:null===u||void 0===u?void 0:u.height,alt:null===u||void 0===u?void 0:u.alternativeText}]}:null}}function g(e){var t,n;if(!e||"content.seo"!=e.__component)return null;var r=(0,o.c)(e.title,!0)?e.title:null,i=(0,o.c)(e.description,!0)?e.description:null,s=a(),l=null===(t=e.image)||void 0===t||null===(n=t.data)||void 0===n?void 0:n.attributes;return{title:r,description:i,canonical:s,openGraph:l?{type:"website",locale:"en_GB",url:s,title:r,description:i,siteName:"ootiboo",images:[{url:"https://cdn.ootiboo.com"+(null===l||void 0===l?void 0:l.url),width:null===l||void 0===l?void 0:l.width,height:null===l||void 0===l?void 0:l.height,alt:null===l||void 0===l?void 0:l.alternativeText}]}:null}}function v(e,t){if(!e)return null;var n=e.id,r=e.title,o=e.launch,i=e.status,a=e.is_nationalCurriculumProject,s=e.is_childrensUniversityProject,l=e.ageRange,u=e.participants_max,c=e.participants_min,f=e.downloadResources,d=e.infoText_childrensUniversity,p=e.infoText_nationalCurriculum,h=e.links_nationalCurriculum,m=e.relatedEvents_withRegistration;return{projectHistory:{launch:o,status:i},projectDetails:{projectID:n,title:r,ageRange:l,participants_min:c,participants_max:u,infoText_childrensUniversity:d,infoText_nationalCurriculum:p,links_nationalCurriculum:h,is_nationalCurriculumProject:a,is_childrensUniversityProject:s,has_infoText_childrensUniversity:d&&d.length>0},projectResources:{downloadResources:f},registration:{relatedEvents_withRegistration:m},misc:{schools:t}}}},53881:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(47568),o=n(26042),i=n(69396),a=n(20414);function s(e,t){return l.apply(this,arguments)}function l(){return l=(0,r.Z)((function(e,t){var n,r,s=arguments;return(0,a.__generator)(this,(function(a){return n=s.length>2&&void 0!==s[2]?s[2]:null,r=s.length>3&&void 0!==s[3]?s[3]:null,[2,new Promise((function(a,s){if(!e||!t)return s("Missing required parameters");var l={Accept:"application/json, text/plain, */*","Content-Type":"application/json"},u={recipients:t,message:e,subject:r,attachments:n},c={recipient:Array.isArray(t)?t[0]:t,message:e,status:"unsent",subject:r};fetch("/api/email",{method:"POST",headers:l,body:JSON.stringify(u)}).then((function(e){console.log("Response received",e,e.status),200===e.status?(console.log("Response succeeded!",e,e.status),fetch("/api/create/create_log_email",{method:"POST",headers:l,body:JSON.stringify((0,i.Z)((0,o.Z)({},c),{status:"successful"}))}),a()):(console.error("Response failed!",e,e.status),fetch("/api/create/create_log_email",{method:"POST",headers:l,body:JSON.stringify((0,i.Z)((0,o.Z)({},c),{status:"failed"}))}),s())}))}))]}))})),l.apply(this,arguments)}},85340:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(47568),o=n(20414),i=n(53881);function a(){return s.apply(this,arguments)}function s(){return s=(0,r.Z)((function(){var e,t,n=arguments;return(0,o.__generator)(this,(function(r){return e=n.length>0&&void 0!==n[0]?n[0]:{schoolID:null,schoolName:null,projectID:null,projectTitle:null,downloadAssetTitles:null,teacherName:null,yearGroup:null,participants:null,term:null},t=n.length>1&&void 0!==n[1]?n[1]:{recipients:["info@ootiboo.com"]},[2,new Promise((function(n,r){var o=e.schoolID,a=void 0===o?null:o,s=e.schoolName,l=void 0===s?null:s,u=e.projectID,c=void 0===u?null:u,f=e.projectTitle,d=void 0===f?null:f,p=e.downloadAssetTitles,h=void 0===p?null:p,m=e.teacherName,g=void 0===m?null:m,v=e.yearGroup,y=void 0===v?null:v,b=e.participants,x=void 0===b?null:b,w=e.term,_=void 0===w?null:w,k=t.recipients,C=void 0===k?["info@ootiboo.com"]:k,S='\n    <div style="font-size: 18px">\n      <b style="text-decoration: underline">RESOURCE DOWNLOAD</b>\n\n      <br><br>\n\n      '.concat(a&&l?'A user account of school <b style="color: fuchsia">\n            '.concat(a||"n/a"," ").concat(l||"n/a","</b> "):"Someone ",' has downloaded resources for project \n      <b style="color: fuchsia">').concat(c||""," <em>").concat(d||"n/a",'</em></b>.\n\n      <br><br>\n\n      Asset(s) downloaded: <b style="color: fuchsia">').concat(h||"n/a",'</b>\n      <br>\n      Name of the teacher running the project: \n      <b style="color: ').concat(g?"fuchsia":"lightgrey",'">').concat(g||"n/a",'</b>\n      <br>\n      Year group the project will be run in: \n      <b style="color: ').concat(y?"fuchsia":"lightgrey",'">').concat(y||"n/a",'</b>\n      <br>\n      Number of student participants: \n      <b style="color: ').concat(x?"fuchsia":"lightgrey",'">').concat(x||"n/a",'</b>\n      <br>\n      Term in which the project will be run: \n      <b style="color: ').concat(_?"fuchsia":"lightgrey",'">').concat(_||"n/a","</b>\n      <br>\n    </div>");(0,i.Z)(S,C).then((function(){return n()})).catch((function(e){console.log(e),r()}))}))]}))})),s.apply(this,arguments)}},15953:function(e,t,n){"use strict";function r(e){return e?e.replace(/\n/g,"<br>"):console.warn("convert_bodyTextToHTML() \u2192 No body text provided.")}n.d(t,{Z:function(){return r}})},66765:function(e,t,n){"use strict";function r(e){return e?'<b style="color: '.concat(e?"fuchsia":"lightgrey",'">\n            ').concat(e||"n/a","\n          </b>"):console.warn("render_emailSnippet(): No string provided.")}n.d(t,{Z:function(){return r}})},63387:function(e,t,n){"use strict";function r(e){return e?null!==e&&void 0!==e&&null!==(null===e||void 0===e?void 0:e.bodyText)&&void 0!==(null===e||void 0===e?void 0:e.bodyText):console.warn("validate_emailTemplate() \u2192 No template data provided.")}n.d(t,{Z:function(){return r}})},98976:function(e,t,n){"use strict";function r(e){return e?e.map((function(e){return e.emailAddress})):console.warn("format_emailRecipients(): No recipients provided.")}n.d(t,{Z:function(){return r}})},30142:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(26042);function o(e,t){return t.find((function(t){var n,r,o=null===t||void 0===t||null===(n=t.attributes)||void 0===n?void 0:n.users;return o&&o.data&&o.data.length?null===o||void 0===o||null===(r=o.data)||void 0===r?void 0:r.find((function(t){var n;return(null===t||void 0===t||null===(n=t.attributes)||void 0===n?void 0:n.email)===e})):null}))}var i={log:!1};function a(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i,a=(0,r.Z)({},i,n),s=a.log;if(t)if(e){var l=e.email;if(l){var u=o(l,t);return!u&&s&&console.warn("format_user(): No related school data found."),e.school=u,e}s&&console.warn("format_user(): No user email found.")}else s&&console.warn("format_user(): No user data provided.");else s&&console.warn("format_user(): No schools data provided.")}},16483:function(e,t,n){"use strict";n.d(t,{He:function(){return s},cL:function(){return i},e5:function(){return l},gg:function(){return a}});var r=n(67347),o=n(33899);function i(e){return{color:o.Z[e].default,color_light:o.Z[e].light,color_light_hover:o.Z[e].light_hover,color_bg:o.Z[e].bg,color_bg_light:o.Z[e].bg_light}}function a(){return{color_success:o.Z.notifications.success,color_error:o.Z.notifications.error}}function s(e){if(!(0,r.c)(e.subpageLinks,!0))return!1;return e.subpageLinks.filter((function(e){return e.enabled}))}function l(){window.location.hostname.split(".")[0];return"teachers"}},42625:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(67294),o=n(8247);function i(e){return!!e&&(0,r.useContext)(o.Z).globalConfigs.notifications.find((function(t){return t.notificationID===e}))}},35596:function(e,t,n){"use strict";n.d(t,{K:function(){return o}});var r=n(11163);function o(){var e=(0,r.useRouter)(),t=e.pathname,n=e.asPath,o=e.query.slug,i=o?o.split("|"):null,a=t.includes("de/")||n.includes("de/")||i&&"de"===i[1]?"de":"en";return{route:n,slug:o,locale:a}}},29441:function(e,t,n){"use strict";n.d(t,{Cd:function(){return c},Dl:function(){return u},Le:function(){return a},PM:function(){return s},UV:function(){return i},XQ:function(){return f},cS:function(){return l}});var r=n(9669),o=n.n(r);function i(e){var t={method:"post",url:"https://hooks.slack.com/services/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",headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"},data:{attachments:[{text:"Feedback for project _".concat(e,"_ has been uploaded."),color:"green"}]}};o()(t).catch((function(e){return console.log(e)}))}function a(e){var t={method:"post",url:"https://hooks.slack.com/services/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",headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"},data:{attachments:[{text:e?"A new entry has been submitted to ".concat(e,"."):"A new entry has been submitted.",color:"green"}]}};o()(t).catch((function(e){return console.log(e)}))}function s(e){var t={method:"post",url:"https://hooks.slack.com/services/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",headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"},data:{attachments:[{text:"Resources for project _".concat(e,"_ have been downloaded."),color:"green"}]}};o()(t).catch((function(e){return console.log(e)}))}function l(){var e={method:"post",url:"https://hooks.slack.com/services/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",headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"},data:{attachments:[{text:"Someone has subscribed to the newsletter.",color:"green"}]}};o()(e).catch((function(e){return console.log(e)}))}function u(e){var t=e.eventTitle,n=e.eventType,r=e.schoolName,i=void 0===r?null:r,a={method:"post",url:"https://hooks.slack.com/services/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",headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"},data:{attachments:[{text:"\n    Someone has registered for an event!\n    Type: _".concat(n||"n/a","_\n    Title: _").concat(t||"n/a","_\n    School: _").concat(i||"n/a","_\n  "),color:"green"}]}};o()(a).catch((function(e){return console.log(e)}))}function c(e){var t=e.schoolName,n=e.teacherName,r=e.teacherEmail,i=e.teacherAltEmail,a={method:"post",url:"https://hooks.slack.com/services/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",headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"},data:{attachments:[{text:"A new school has signed up! \n School: _".concat(t,"_ \n Teacher: _").concat(n,"_ \n Email: _").concat(r,"_ \n Alt. Email: _").concat(i,"_. "),color:"green"}]}};o()(a).catch((function(e){return console.log(e)}))}function f(e,t){var n={method:"post",url:"https://hooks.slack.com/services/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",headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"},data:{attachments:[{text:"A new post has been made to an eCo: Connect project by ".concat(e," (").concat(t,")."),color:"green"}]}};o()(n).catch((function(e){return console.log(e)}))}},39164:function(e,t,n){"use strict";n.d(t,{Vo:function(){return u}});var r=n(47568),o=n(20414),i=n(11752),a=n.n(i),s=n(67347),l=(a()().publicRuntimeConfig,"https://cdn.ootiboo.com");function u(e,t){return c.apply(this,arguments)}function c(){return c=(0,r.Z)((function(e,t){var n,r,i,a,u,c,f,d,p,h,m,g,v,y=arguments;return(0,o.__generator)(this,(function(o){switch(o.label){case 0:return n=y.length>2&&void 0!==y[2]?y[2]:null,r=y.length>3&&void 0!==y[3]&&y[3],i=y.length>4?y[4]:void 0,a=y.length>5&&void 0!==y[5]&&y[5],u=y.length>6&&void 0!==y[6]?y[6]:{run_withLogs:!1},c=u.run_withLogs,f=n?n.join("&"):"",d=f.length>0,p="".concat(l,"/api/").concat(t).concat(d?"?".concat(f):""),c&&console.log("fetchURL",p),[4,fetch(p)];case 1:return[4,o.sent().json()];case 2:return h=o.sent(),m="users"===t?(0,s.c)(h)?h:null:(0,s.c)(h)&&(0,s.c)(h.data,"collection"===e)?i?"collection"===e?h.data.every((function(e){return(0,s.c)(e.attributes)}))?h.data:null:(0,s.c)(h.data.attributes)?h.data:null:h.data:null,r?(g=(0,s.c)(h)&&(0,s.c)(h.meta)&&(0,s.c)(h.meta.pagination)?h.meta.pagination.total:null,[2,{data:m,count:g}]):a?(v=(0,s.c)(h)&&(0,s.c)(h.meta)&&(0,s.c)(h.meta.pagination)?h.meta.pagination:null,[2,{data:m,pagination:v}]):[2,m]}}))})),c.apply(this,arguments)}},67347:function(e,t,n){"use strict";function r(e,t,n){return t&&n?null!=e&&void 0!=e&&e.length>0&&0!=e:t?null!=e&&void 0!=e&&e.length>0:n?null!=e&&void 0!=e&&0!=e:null!=e&&void 0!=e}function o(e){var t;try{t=new URL(e)}catch(n){return!1}return"http:"===t.protocol||"https:"===t.protocol}n.d(t,{T:function(){return o},c:function(){return r}})},5255:function(e,t,n){"use strict";function r(e){return/^([\w.%+-]+)@([\w-]+\.)+([\w]{2,})$/i.test(e)}n.d(t,{Z:function(){return r}})},13802:function(e,t,n){"use strict";var r=n(85893),o=n(99226),i=n(6342);t.Z=function(e){var t=e.MB,n=e.WIDTH,a=e.STYLES,s=e.POS,l=void 0===s?"left":s,u=(0,i.Z)({field:t}),c=(0,i.Z)({field:n}),f=u?t:4,d=(0,i.Z)({field:a})?a:{};return(0,r.jsx)(o.Z,{"data-type":"block",maxWidth:"100%",minWidth:"0",mb:f,pr:{lg:"".concat(function(e,t){return"right"===t?0:c?"number"===typeof e?"center"===t?(100-e)/2:100-e:"full"===e?0:"center"===t?100/3/2:100/3:"center"===t?100/3/2:100/3}(n,l),"%")},pl:{lg:"".concat(function(e,t){return"left"===t?0:c?"number"===typeof e?"center"===t?(100-e)/2:100-e:"full"===e?0:"center"===t?100/3/2:100/3:"center"===t?100/3/2:100/3}(n,l),"%")},sx:d,children:e.children})}},23740:function(e,t,n){"use strict";var r=n(26042),o=n(85893),i=n(25675),a=n.n(i),s=n(13802),l=n(88262),u=n(17734),c=n(45551),f=n(83354),d={mb:4,addStyles:{}};t.Z=function(e){var t=e.WIDTH,n=e.WIDTH_wrapper,i=void 0===n?"regular":n,p=e.POS,h=void 0===p?"left":p,m=e.IMAGE,g=e.CONFIG,v=void 0===g?d:g;if(!m)return null;var y=(null===m||void 0===m?void 0:m.is_formatted)?m:(0,u.L)(m.file?m.file:m),b="https://cdn.ootiboo.com"+y.url,x=y.caption?y.caption:null,w=m.file,_=m.has_border,k=(0,r.Z)({},d,v),C=k.mb,S=void 0===C?4:C,E=k.addStyles,T=void 0===E?null:E,O=(null!==m&&void 0!==m?m:{with_imgViewer:!0}).with_imgViewer;void 0!==O&&null!==O||(O=!0);var A=w?null===w||void 0===w?void 0:w.data.attributes:null,j=A||{width:0,height:0},I=j.width/j.height,P=i||"regular",N=(0,c.Z)({width:t});return(0,o.jsx)(s.Z,{WIDTH:P,POS:"left",MB:S,STYLES:T,children:(0,o.jsx)("div",{className:"flex ".concat("center"==h?"justify-center":"right"==h?"justify-end":"justify-start"),children:(0,o.jsxs)("div",{className:"w-[--w]",style:{"--w":"".concat(N,"%")},children:[(0,o.jsx)("div",{onClick:O?function(){f.Z.emit("ImgViewer_api_showImg",{imgSrc:b,imgCaption:x,imgAspectRatio:I})}:null,className:"relative w-full \n                        ".concat(_?"border border-black":"","\n                        ").concat(O?"cursor-zoom-in":""),children:(0,o.jsx)(a(),{src:b,width:y.width,height:y.height,layout:"responsive"})}),x&&(0,o.jsx)("div",{className:"mt-4 flex justify-center",children:(0,o.jsx)(l.Z,{TEXT:x,IS_italic:!0})})]})})})}},41830:function(e,t,n){"use strict";var r=n(85893),o=n(13802),i=n(88262);t.Z=function(e){var t=e.TEXT,n=e.MORE,a=e.WIDTH,s=void 0===a?"regular":a,l=e.MB,u=void 0===l?4:l,c=e.CONFIG,f=void 0===c?{mb:null,addStyles:{}}:c,d=f.mb,p=void 0===d?null:d,h=f.addStyles,m=void 0===h?null:h;return(0,r.jsx)(o.Z,{WIDTH:s,MB:p||u,STYLES:m,children:(0,r.jsx)(i.Z,{TEXT:t,MORE:n})})}},58192:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var r=n(26042),o=n(85893),i=(n(8247),n(67294),n(41664)),a=n.n(i),s=n(16483),l=n(91750),u=(n(83454).env.NEXT_PUBLIC_DEV,(0,s.cL)("teachers").color,{url:null}),c={type:"default",target:"_self"},f=function(e){var t=e.DATA,n=e.CONFIG,i=e.HDL,s=(0,r.Z)({},c,n),f=(0,r.Z)({},u,t),d=s.type,p=s.target,h=s.addClasses,m=f.url,g=i.on_click;return"nextLink"==d&&(0,l.Z)(m)?(0,o.jsx)(a(),{href:m,onClick:g,className:h,children:e.children}):"link"==d&&(0,l.Z)(m)?(0,o.jsx)("a",{href:m,target:p,onClick:g,className:h,children:e.children}):(0,o.jsx)("button",{onClick:g,className:h,children:e.children})},d=n(33899),p="teachers",h=(0,s.cL)(p),m=h.color,g=(h.color_bg_light,{addClasses:null}),v=function(e){var t=e.TEXT,n=e.URL,i=e.ICON,a=e.SIZE,s=(e.COLOR,e.MT,e.MR,e.MB,e.ML,e.INACTIVE),l=e.POSITION_icon,u=e.ON_click,c=e.IS_link,p=e.IS_nextLink,h=e.IS_external,v=e.IS_active,y=e.CONFIG,b=void 0===y?g:y,x=t||null,w=p?"nextLink":c?"link":"default",_="link"===w&&h?"_blank":"_self",k=(0,r.Z)({},g,b).addClasses,C=l||"right",S=a||"small",E=v?"#fff":d.Z.text.primary,T=v?m:"#fff";return(0,o.jsx)(f,{DATA:{url:n},CONFIG:{type:w,target:_,addClasses:k},HDL:{on_click:u},children:(0,o.jsxs)("div",{"data-is-active":v,className:"".concat("verySmall"==S?"p-1.5 px-3":"p-2 px-4","\n                    ").concat("border border-black","\n                    ").concat("left"==C?"flex-row-reverse":"","\n                    ").concat(s?"opacity-35 no-pointer":"","\n                    leading-none inline-flex items-center whitespace-nowrap\n                    text-[--color-text] bg-[--color-bg] rounded-full cursor-pointer\n                    hover:bg-[--color-bg-hover] hover:border-[--color-border-hover] hover:text-[--color-hover]\n                    data-[is-active=true]:bg-[--color-bg-active] data-[is-active=true]:border-[--color-border-active]"),style:{"--color-text":E,"--color-hover":"#fff","--color-bg":T,"--color-bg-hover":m,"--color-bg-active":m,"--color-border-hover":m,"--color-border-active":m},children:[x?(0,o.jsx)("span",{children:x}):null,i?(0,o.jsx)("div",{className:"".concat(x?"left"==C?"mr-2":"ml-2":""),children:i}):null]})})}},32555:function(e,t,n){"use strict";var r=n(85893),o=n(89609),i=n(16483);t.Z=function(e){var t=e.COLOR,n=e.ON_CLICK,a=e.CONFIG,s=void 0===a?{top:18,right:18}:a,l="teachers",u=t||(0,i.cL)(l).color,c=(0,i.cL)(l),f=(c.color_light,c.color_bg,c.color_bg_light,s.top),d=void 0===f?18:f,p=s.right,h=void 0===p?18:p,m={"&:hover":{backgroundColor:u,borderColor:u,color:"#fff",cursor:"pointer"}};return(0,r.jsx)(o.Z,{position:"absolute",top:d,right:h,zIndex:2,p:1,display:"inline-flex",justifyContent:"center",alignItems:"center",border:"1px solid ".concat(""),borderRadius:99,backgroundColor:"#fff",sx:m,onClick:n,"data-type":"button",children:(0,r.jsxs)("svg",{style:{width:"0.666rem",stroke:"#000"},xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18.71 18.71",children:[(0,r.jsx)("line",{vectorEffect:"non-scaling-stroke",x1:"18.35",y1:"18.35",x2:".35",y2:".35"}),(0,r.jsx)("line",{vectorEffect:"non-scaling-stroke",x1:"18.35",y1:".35",x2:".35",y2:"18.35"})]})})}},7600:function(e,t,n){"use strict";var r=n(85893),o=n(67814),i=n(51436),a=(0,n(16483).cL)("teachers").color;t.Z=function(e){var t=e.TEXT,n=e.EVENTHANDLERS,s=t||"Download",l=(null!==n&&void 0!==n?n:{}).click;return(0,r.jsxs)("button",{onClick:l,className:"group/btn p-2 px-4 inline-flex items-center leading-none bg-white [border:_1px_solid_#000] rounded-full cursor-pointer hover:bg-[--color-active] hover:border-[--color-active] hover:text-white",style:{"--color-active":a},children:[(0,r.jsx)("span",{children:s}),(0,r.jsx)(o.G,{icon:i.q7m,className:"ml-2.5 [color:_var(--color-active)] group-hover/btn:[color:_#fff]"})]})}},23042:function(e,t,n){"use strict";var r=n(85893),o=n(16483),i="teachers",a=(0,o.cL)(i),s=a.color;a.color_bg_light;t.Z=function(e){var t=e.COLOR,n=e.POSITION,o=e.NO_border,i=t||s,a=!o||!o;return(0,r.jsx)("button",{"data-type":"button",className:"group/btn\n                  inline-flex justify-center items-center\n                  rounded-full bg-[--color-bg]\n                  \n                  ".concat(a?"p-1.5 border border-solid border-[--color-border]":"","\n\n                  hover:bg-[--color-bg-hover] \n                  hover:border-[--color-bg-hover] \n                  hover:text-white\n\n                  group-hover/card:bg-[--color-bg-hover] \n                  group-hover/card:border-[--color-bg-hover] \n                  group-hover/card:text-white"),style:{position:n?n.pos:"static",top:n?n.t:"unset",right:n?n.r:"unset",bottom:n?n.b:"unset",left:n?n.l:"unset","--color-bg":"#fff","--color-bg-hover":i,"--color-border":"#000"},children:(0,r.jsxs)("svg",{viewBox:"0 0 29.61 28.87",className:"w-[0.8rem] overflow-visible fill-none stroke-[--color-stroke] stroke-[length:--stroke-width] group-hover/btn:stroke-white group-hover/card:stroke-white",style:{"--color-stroke":"#000","--stroke-width":"2.5px"},children:[(0,r.jsx)("line",{vectorEffect:"non-scaling-stroke",strokeLinecap:"round",strokeLinejoin:"round",x1:"1.25",y1:"14.43",x2:"28.36",y2:"14.43"}),(0,r.jsx)("polyline",{vectorEffect:"non-scaling-stroke",strokeLinecap:"round",strokeLinejoin:"round",points:"15.17 27.62 28.36 14.43 15.17 1.25"})]})})}},1740:function(e,t,n){"use strict";var r=n(85893),o=n(89609),i=n(98456),a=n(67814),s=n(51436),l=n(16483);t.Z=function(e){var t=e.TEXT,n=e.SIZE,u=e.INACTIVE,c=e.CONFIG,f=void 0===c?{with_icon:!1,with_extraPadding:!1,width:null}:c,d=e.STATE,p=void 0===d?{is_submitting:!1}:d,h=f.with_icon,m=void 0!==h&&h,g=(f.with_extraPadding,f.width),v=void 0===g?null:g,y=p.is_submitting,b=u||y,x=(0,l.cL)("teachers").color,w=n||"small",_=t||"Submit",k={color:b?"rgba(0, 0, 0, 0.333)":"#000",pointerEvents:b?"none":"all","&:hover":{backgroundColor:x,borderColor:x,color:"#fff",cursor:"pointer","&>input":{color:"#fff !important",WebkitTextFillColor:"#fff !important"}}},C={width:"min-content",lineHeight:25/21,padding:"verySmall"===w?4:8,paddingRight:"verySmall"===w?12:16,paddingLeft:"verySmall"===w?12:16,color:b?"rgba(0, 0, 0, 0.333)":"#000",WebkitTextFillColor:b?"rgba(0, 0, 0, 0.333)":"#000",fontWeight:"normal",opacity:1};return(0,r.jsxs)(o.Z,{display:"flex",alignItems:"center",columnGap:2,children:[y&&(0,r.jsx)(o.Z,{height:"1.5rem",width:"1.5rem",sx:{transform:"translateY(-1px)"},border:"0px solid red",children:(0,r.jsx)(i.Z,{size:"1.625rem",thickness:4.25,style:{color:x}})}),(0,r.jsxs)(o.Z,{width:v,fontSize:{small:"1rem",medium:"1.333rem",large:"3rem"}[w],border:"1px solid",borderRadius:99,backgroundColor:"#fff",display:"inline-flex",justifyContent:"center",alignItems:"center",sx:k,children:[m&&(0,r.jsx)(a.G,{icon:s.XCy,color:"currentColor",fontSize:"0.85rem",style:{paddingLeft:12}}),(0,r.jsx)("input",{type:"submit","data-size":w,value:_,style:C})]})]})}},99043:function(e,t,n){"use strict";n.d(t,{Z:function(){return I}});var r=n(26042),o=n(85893),i=n(16483),a=n(88262),s=n(28155),l=n(23042),u=n(18751),c=n(25675),f=n.n(c),d=n(63366),p=n(87462),h=n(67294),m=n(58510),g=n(62908),v=n(20407),y=n(48732),b=n(74312),x=n(26821);function w(e){return(0,x.d6)("MuiAspectRatio",e)}(0,x.sI)("MuiAspectRatio",["root","content","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid"]);const _=["children","ratio","minHeight","maxHeight","objectFit","color","variant","component","flex","slots","slotProps"],k=(0,b.Z)("div",{name:"JoyAspectRatio",slot:"Root",overridesResolver:(e,t)=>t.root})((({ownerState:e,theme:t})=>{const n="number"===typeof e.minHeight?`${e.minHeight}px`:e.minHeight,r="number"===typeof e.maxHeight?`${e.maxHeight}px`:e.maxHeight;return{"--AspectRatio-paddingBottom":`clamp(var(--AspectRatio-minHeight), calc(100% / (${e.ratio})), var(--AspectRatio-maxHeight))`,"--AspectRatio-maxHeight":r||"9999px","--AspectRatio-minHeight":n||"0px","--Icon-color":"neutral"!==e.color||"solid"===e.variant?"currentColor":t.vars.palette.text.icon,borderRadius:"var(--AspectRatio-radius)",display:e.flex?"flex":"block",flex:e.flex?1:"initial",flexDirection:"column",margin:"var(--AspectRatio-margin)"}})),C=(0,b.Z)("div",{name:"JoyAspectRatio",slot:"Content",overridesResolver:(e,t)=>t.content})((({theme:e,ownerState:t})=>{var n;return(0,p.Z)({flex:1,position:"relative",borderRadius:"inherit",height:0,paddingBottom:"calc(var(--AspectRatio-paddingBottom) - 2 * var(--variant-borderWidth, 0px))",overflow:"hidden",transition:"inherit","& [data-first-child]":{display:"flex",justifyContent:"center",alignItems:"center",boxSizing:"border-box",position:"absolute",width:"100%",height:"100%",objectFit:t.objectFit,margin:0,padding:0,"& > img":{width:"100%",height:"100%",objectFit:t.objectFit}}},e.typography["body-md"],null==(n=e.variants[t.variant])?void 0:n[t.color])})),S=h.forwardRef((function(e,t){const n=(0,v.Z)({props:e,name:"JoyAspectRatio"}),{children:r,ratio:i="16 / 9",minHeight:a,maxHeight:s,objectFit:l="cover",color:u="neutral",variant:c="soft",component:f,flex:b=!1,slots:x={},slotProps:S={}}=n,E=(0,d.Z)(n,_),T=(0,p.Z)({},n,{flex:b,minHeight:a,maxHeight:s,objectFit:l,ratio:i,color:u,variant:c}),O=(e=>{const{variant:t,color:n}=e,r={root:["root"],content:["content",t&&`variant${(0,g.Z)(t)}`,n&&`color${(0,g.Z)(n)}`]};return(0,m.Z)(r,w,{})})(T),A=(0,p.Z)({},E,{component:f,slots:x,slotProps:S}),[j,I]=(0,y.Z)("root",{ref:t,className:O.root,elementType:k,externalForwardedProps:A,ownerState:T}),[P,N]=(0,y.Z)("content",{className:O.content,elementType:C,externalForwardedProps:A,ownerState:T});return(0,o.jsx)(j,(0,p.Z)({},I,{children:(0,o.jsx)(P,(0,p.Z)({},N,{children:h.Children.map(r,((e,t)=>0===t&&h.isValidElement(e)?h.cloneElement(e,{"data-first-child":""}):e))}))}))}));var E=S,T=n(83454).env.NEXT_PUBLIC_API_URL,O=(0,i.cL)("teachers"),A=(O.color,O.color_light),j={with_img:!1},I=function(e){var t=e.HEADLINE,n=void 0===t?null:t,i=e.TEXT,c=e.IMG,d=e.TAGS,p=e.WITH_enterBtn,h=e.ROUNDED,m=void 0===h?"bottom":h,g=e.CONFIG,v=void 0===g?j:g;if(!n&&!i)return null;var y=(0,r.Z)({},j,v).with_img,b=d?d.filter((function(e){return e})):null;return(0,o.jsxs)("div",{className:"flex-1 flex flex-col-reverse sm:flex-row",children:[(0,o.jsxs)("div",{className:"flex-[2] p-4 bg-[--color-bg]\n                    ".concat("top"===m?"sm:rounded-tl-2xl sm:rounded-tr-2xl":"","\n                    ").concat("bottom"===m?"sm:rounded-bl-2xl sm:rounded-br-2xl":""),style:{"--color-bg":A},children:[b&&(0,o.jsxs)("div",{className:"h-full flex flex-col justify-between",children:[n&&(0,o.jsx)(u.Z,{TEXT:n,CONFIG:{level:"h3",lineheight:1.17},STYLES:{marginBottom:"0.5rem"}}),(0,o.jsx)(a.Z,{TEXT:i}),(0,o.jsxs)("div",{className:"w-full mt-4 flex justify-between items-end",children:[(0,o.jsx)("div",{className:"flex flex-wrap",children:b.map((function(e,t){return(0,o.jsx)(s.Z,{TEXT:e},t)}))}),p&&(0,o.jsx)(l.Z,{})]})]}),!b&&(0,o.jsxs)("div",{className:"size-full flex justify-between items-start",children:[(0,o.jsxs)("div",{children:[n&&(0,o.jsx)(u.Z,{TEXT:n,CONFIG:{level:"h3",lineheight:1.17},STYLES:{marginBottom:"0.5rem"}}),(0,o.jsx)(a.Z,{TEXT:i})]}),p&&(0,o.jsx)("div",{className:"self-end",children:(0,o.jsx)(l.Z,{})})]})]}),y?(0,o.jsx)("div",{className:"relative flex-1 no-overflow",children:(0,o.jsx)(E,{ratio:c.width/c.height,children:(0,o.jsx)(f(),{src:T+c.url,layout:"fill",objectFit:"cover"})})}):null]})}},33170:function(e,t,n){"use strict";var r=n(85893),o=n(16483),i=n(18751),a=(0,o.cL)("teachers").color;t.Z=function(e){var t=e.TEXT;return t?(0,r.jsx)("header",{className:"p-3 pt-4 flex justify-center items-center bg-[--color-bg] border-b border-black",style:{"--color-bg":a},children:(0,r.jsx)(i.Z,{TEXT:t,CONFIG:{size:"sm",color:"#fff",align:"center"}})}):null}},10665:function(e,t,n){"use strict";var r=n(85893),o=n(25675),i=n.n(o),a=n(17734);t.Z=function(e){var t=e.DATA;e.ROUNDED;if(!t&&!t.data)return null;var n=(null===t||void 0===t?void 0:t.is_formatted)?t:(0,a.L)(t),o=null!==n&&void 0!==n?n:{},s=o.width,l=o.height,u=o.url,c="".concat(l/s*100,"%");return u?(0,r.jsx)("div",{className:"relative w-full overflow-hidden",children:(0,r.jsx)("div",{className:"relative pb-[--pb]",style:{"--pb":c},children:(0,r.jsx)(i(),{src:"https://cdn.ootiboo.com"+u,layout:"fill",objectFit:"contain"})})}):null}},611:function(e,t,n){"use strict";n.d(t,{y:function(){return r}});var r=function(e){return{cursor:"pointer",boxShadow:"0 1px 2px rgba(0, 0, 0, 0.1)",transition:"all 333ms cubic-bezier(0.165, 0.84, 0.44, 1)","&::after":{content:'""',position:"absolute",zIndex:-1,top:0,left:0,width:"100%",height:"100%",boxShadow:"0 5px 15px rgba(0, 0, 0, 0.3)",opacity:0,transition:"all 333ms cubic-bezier(0.165, 0.84, 0.44, 1)"},"&:hover":{transform:"scale(1.005, 1.005)","[data-type='button']":{backgroundColor:"".concat(e," !important"),borderColor:"".concat(e," !important")},"[data-type='button'] svg":{stroke:"#fff !important"}},"&:hover&::after":{opacity:1}}}},93645:function(e,t,n){"use strict";var r=n(85893),o=n(41664),i=n.n(o),a=n(99226);t.Z=function(e){var t=e.CONFIG,n=t.url,o=t.is_externalLink,s=void 0!==o&&o,l=t.is_newTabLink,u=void 0!==l&&l,c=n?n.startsWith("/")?n.substring(1):n:null;return c?s?(0,r.jsx)("a",{href:c,target:u?"_blank":"_self",rel:"noopener noreferrer",className:"h-full",children:e.children}):(0,r.jsx)(i(),{href:"/".concat(c),children:e.children}):(0,r.jsx)(a.Z,{children:e.children})}},53819:function(e,t,n){"use strict";var r=n(85893),o=n(99226);t.Z=function(e){var t=e.COLOR,n=e.IS_active,i={height:"0.5em",overflow:"visible",fill:"none",stroke:n?t:"#000",strokeWidth:"2.5px",transform:"rotate(".concat(n?"180":"0","deg)")};return(0,r.jsx)(o.Z,{display:"flex",sx:{transform:"translateY(0rem)"},children:(0,r.jsx)("svg",{viewBox:"0 0 28.87 15.68",style:i,children:(0,r.jsx)("polyline",{vectorEffect:"non-scaling-stroke",strokeLinecap:"round",strokeLinejoin:"round",points:"1.25 1.25 14.43 14.43 27.62 1.25"})})})}},9459:function(e,t,n){"use strict";n.d(t,{Z:function(){return Ce}});var r=n(26042),o=n(69396),i=n(85893),a=n(67294),s=n(87462),l=n(63366),u=n(22760),c=n(89326),f=n(54895),d=n(11136),p=n(30437);const h="buttonClick",m="list:blur",g="list:itemClick",v="list:itemHover",y="list:itemsChange",b="list:keyDown",x="list:resetHighlight",w="list:textNavigation";function _(e,t,n){var r;const{items:o,isItemDisabled:i,disableListWrap:a,disabledItemsFocusable:s,itemComparer:l,focusManagement:u}=n,c="DOM"===u?0:-1,f=o.length-1,d=null==e?-1:o.findIndex((t=>l(t,e)));let p,h,m=!a;switch(t){case"reset":if(-1===c)return null;p=0,h="next",m=!1;break;case"start":p=0,h="next",m=!1;break;case"end":p=f,h="previous",m=!1;break;default:{const e=d+t;e<0?!m&&-1!==d||Math.abs(t)>1?(p=0,h="next"):(p=f,h="previous"):e>f?!m||Math.abs(t)>1?(p=f,h="previous"):(p=0,h="next"):(p=e,h=t>=0?"next":"previous")}}const g=function(e,t,n,r,o,i){if(0===n.length||!r&&n.every(((e,t)=>o(e,t))))return-1;let a=e;for(;;){if(!i&&"next"===t&&a===n.length||!i&&"previous"===t&&-1===a)return-1;if(r||!o(n[a],a))return a;a+="next"===t?1:-1,i&&(a=(a+n.length)%n.length)}}(p,h,o,s,i,m);return-1!==g||null===e||i(e,d)?null!=(r=o[g])?r:null:e}function k(e,t,n){const{itemComparer:r,isItemDisabled:o,selectionMode:i,items:a}=n,{selectedValues:l}=t,u=a.findIndex((t=>r(e,t)));if(o(e,u))return t;const c=function(e,t,n,r){return"none"===n?[]:"single"===n?r(t[0],e)?t:[e]:t.some((t=>r(t,e)))?t.filter((t=>!r(t,e))):[...t,e]}(e,l,i,r);return(0,s.Z)({},t,{selectedValues:c,highlightedValue:e})}function C(e,t,n){var r;const o=null==(r=n(e))?void 0:r.trim().toLowerCase();return!(!o||0===o.length)&&0===o.indexOf(t)}function S(e,t){const{type:n,context:r}=t;switch(n){case b:return function(e,t,n){const r=t.highlightedValue,{orientation:o,pageSize:i}=n;switch(e){case"Home":return(0,s.Z)({},t,{highlightedValue:_(r,"start",n)});case"End":return(0,s.Z)({},t,{highlightedValue:_(r,"end",n)});case"PageUp":return(0,s.Z)({},t,{highlightedValue:_(r,-i,n)});case"PageDown":return(0,s.Z)({},t,{highlightedValue:_(r,i,n)});case"ArrowUp":if("vertical"!==o)break;return(0,s.Z)({},t,{highlightedValue:_(r,-1,n)});case"ArrowDown":if("vertical"!==o)break;return(0,s.Z)({},t,{highlightedValue:_(r,1,n)});case"ArrowLeft":{if("vertical"===o)break;const e="horizontal-ltr"===o?-1:1;return(0,s.Z)({},t,{highlightedValue:_(r,e,n)})}case"ArrowRight":{if("vertical"===o)break;const e="horizontal-ltr"===o?1:-1;return(0,s.Z)({},t,{highlightedValue:_(r,e,n)})}case"Enter":case" ":return null===t.highlightedValue?t:k(t.highlightedValue,t,n)}return t}(t.key,e,r);case g:return k(t.item,e,r);case m:return function(e,t){return"DOM"===t.focusManagement?e:(0,s.Z)({},e,{highlightedValue:null})}(e,r);case w:return function(e,t,n){const{items:r,isItemDisabled:o,disabledItemsFocusable:i,getItemAsString:a}=n,l=t.length>1;let u=l?e.highlightedValue:_(e.highlightedValue,1,n);for(let c=0;c<r.length;c+=1){if(!u||!l&&e.highlightedValue===u)return e;if(C(u,t,a)&&(!o(u,r.indexOf(u))||i))return(0,s.Z)({},e,{highlightedValue:u});u=_(u,1,n)}return e}(e,t.searchString,r);case y:return function(e,t,n,r){var o;const{itemComparer:i,focusManagement:a}=r;let l=null;var u;null!=n.highlightedValue?l=null!=(u=e.find((e=>i(e,n.highlightedValue))))?u:null:"DOM"===a&&0===t.length&&(l=_(null,"reset",r));const c=(null!=(o=n.selectedValues)?o:[]).filter((t=>e.some((e=>i(e,t)))));return(0,s.Z)({},n,{highlightedValue:l,selectedValues:c})}(t.items,t.previousItems,e,r);case x:return function(e,t){return(0,s.Z)({},e,{highlightedValue:_(null,"reset",t)})}(e,r);default:return e}}function E(){const e=a.useRef();return e.current||(e.current=function(){const e=new Map;return{subscribe:function(t,n){let r=e.get(t);return r?r.add(n):(r=new Set([n]),e.set(t,r)),()=>{r.delete(n),0===r.size&&e.delete(t)}},publish:function(t,...n){const r=e.get(t);r&&r.forEach((e=>e(...n)))}}}()),e.current}const T="select:change-selection",O="select:change-highlight";function A(e,t){return e===t}const j={},I=()=>{};function P(e,t){const n=(0,s.Z)({},e);return Object.keys(t).forEach((e=>{void 0!==t[e]&&(n[e]=t[e])})),n}function N(e){const t=a.useRef(null),{reducer:n,initialState:r,controlledProps:o=j,stateComparers:i=j,onStateChange:l=I,actionContext:u}=e,c=a.useCallback(((e,r)=>{t.current=r;const i=P(e,o);return n(i,r)}),[o,n]),[f,d]=a.useReducer(c,r),p=a.useCallback((e=>{d((0,s.Z)({},e,{context:u}))}),[u]);return function(e){const{nextState:t,initialState:n,stateComparers:r,onStateChange:o,controlledProps:i,lastActionRef:s}=e,l=a.useRef(n);a.useEffect((()=>{if(null===s.current)return;const e=P(l.current,i);Object.keys(t).forEach((n=>{var i;const a=null!=(i=r[n])?i:A,l=t[n],u=e[n];var c,f;(null==u&&null!=l||null!=u&&null==l||null!=u&&null!=l&&!a(l,u))&&(null==o||o(null!=(c=s.current.event)?c:null,n,l,null!=(f=s.current.type)?f:"",t))})),l.current=t,s.current=null}),[l,t,s,o,r,i])}({nextState:f,initialState:r,stateComparers:null!=i?i:j,onStateChange:null!=l?l:I,controlledProps:o,lastActionRef:t}),[P(f,o),p]}function R(e,t,n=((e,t)=>e===t)){return e.length===t.length&&e.every(((e,r)=>n(e,t[r])))}function Z(e,t){const n=a.useRef(e);return a.useEffect((()=>{n.current=e}),null!=t?t:[e]),n}const L={},D=()=>{},F=(e,t)=>e===t,M=()=>!1,z=e=>"string"===typeof e?e:String(e),B=()=>({highlightedValue:null,selectedValues:[]});var H=function(e){const{controlledProps:t=L,disabledItemsFocusable:n=!1,disableListWrap:r=!1,focusManagement:o="activeDescendant",getInitialState:i=B,getItemDomElement:l,getItemId:c,isItemDisabled:f=M,rootRef:d,onStateChange:p=D,items:h,itemComparer:v=F,getItemAsString:x=z,onChange:_,onHighlightChange:k,onItemsChange:C,orientation:A="vertical",pageSize:j=5,reducerActionContext:I=L,selectionMode:P="single",stateReducer:H}=e,$=a.useRef(null),U=(0,u.Z)(d,$),V=a.useCallback(((e,t,n)=>{var r;(null==k||k(e,t,n),"DOM"!==o||null==t||n!==g&&n!==b&&n!==w)||(null==l||null==(r=l(t))||r.focus())}),[l,k,o]),G=a.useMemo((()=>({highlightedValue:v,selectedValues:(e,t)=>R(e,t,v)})),[v]),W=a.useCallback(((e,t,n,r,o)=>{switch(null==p||p(e,t,n,r,o),t){case"highlightedValue":V(e,n,r);break;case"selectedValues":null==_||_(e,n,r)}}),[V,_,p]),q=a.useMemo((()=>({disabledItemsFocusable:n,disableListWrap:r,focusManagement:o,isItemDisabled:f,itemComparer:v,items:h,getItemAsString:x,onHighlightChange:V,orientation:A,pageSize:j,selectionMode:P,stateComparers:G})),[n,r,o,f,v,h,x,V,A,j,P,G]),X=i(),Y=null!=H?H:S,K=a.useMemo((()=>(0,s.Z)({},I,q)),[I,q]),[Q,J]=N({reducer:Y,actionContext:K,initialState:X,controlledProps:t,stateComparers:G,onStateChange:W}),{highlightedValue:ee,selectedValues:te}=Q,ne=function(e){const t=a.useRef({searchString:"",lastTime:null});return a.useCallback((n=>{if(1===n.key.length&&" "!==n.key){const r=t.current,o=n.key.toLowerCase(),i=performance.now();r.searchString.length>0&&r.lastTime&&i-r.lastTime>500?r.searchString=o:1===r.searchString.length&&o===r.searchString||(r.searchString+=o),r.lastTime=i,e(r.searchString,n)}}),[e])}(((e,t)=>J({type:w,event:t,searchString:e}))),re=Z(te),oe=Z(ee),ie=a.useRef([]);a.useEffect((()=>{R(ie.current,h,v)||(J({type:y,event:null,items:h,previousItems:ie.current}),ie.current=h,null==C||C(h))}),[h,v,J,C]);const{notifySelectionChanged:ae,notifyHighlightChanged:se,registerHighlightChangeHandler:le,registerSelectionChangeHandler:ue}=function(){const e=E();return{notifySelectionChanged:a.useCallback((t=>{e.publish(T,t)}),[e]),notifyHighlightChanged:a.useCallback((t=>{e.publish(O,t)}),[e]),registerSelectionChangeHandler:a.useCallback((t=>e.subscribe(T,t)),[e]),registerHighlightChangeHandler:a.useCallback((t=>e.subscribe(O,t)),[e])}}();a.useEffect((()=>{ae(te)}),[te,ae]),a.useEffect((()=>{se(ee)}),[ee,se]);const ce=e=>t=>{var n;if(null==(n=e.onKeyDown)||n.call(e,t),t.defaultMuiPrevented)return;const r=["Home","End","PageUp","PageDown"];"vertical"===A?r.push("ArrowUp","ArrowDown"):r.push("ArrowLeft","ArrowRight"),"activeDescendant"===o&&r.push(" ","Enter"),r.includes(t.key)&&t.preventDefault(),J({type:b,key:t.key,event:t}),ne(t)},fe=a.useCallback((e=>{var t;const n=h.findIndex((t=>v(t,e))),r=(null!=(t=re.current)?t:[]).some((t=>null!=t&&v(e,t))),i=f(e,n),a=null!=oe.current&&v(e,oe.current);return{disabled:i,focusable:"DOM"===o,highlighted:a,index:n,selected:r}}),[h,f,v,re,oe,o]),de=a.useMemo((()=>({dispatch:J,getItemState:fe,registerHighlightChangeHandler:le,registerSelectionChangeHandler:ue})),[J,fe,le,ue]);return a.useDebugValue({state:Q}),{contextValue:de,dispatch:J,getRootProps:(e={})=>{return(0,s.Z)({},e,{"aria-activedescendant":"activeDescendant"===o&&null!=ee?c(ee):void 0,onBlur:(t=e,e=>{var n,r;null==(n=t.onBlur)||n.call(t,e),e.defaultMuiPrevented||null!=(r=$.current)&&r.contains(e.relatedTarget)||J({type:m,event:e})}),onKeyDown:ce(e),tabIndex:"DOM"===o?-1:0,ref:U});var t},rootRef:U,state:Q}};var $=e=>{const{label:t,value:n}=e;return"string"===typeof t?t:"string"===typeof n?n:String(e)};const U=a.createContext(null);function V(){const[e,t]=a.useState(new Map),n=a.useRef(new Set),r=a.useCallback((function(e){n.current.delete(e),t((t=>{const n=new Map(t);return n.delete(e),n}))}),[]),o=a.useCallback((function(e,o){let i;return i="function"===typeof e?e(n.current):e,n.current.add(i),t((e=>{const t=new Map(e);return t.set(i,o),t})),{id:i,deregister:()=>r(i)}}),[r]),i=a.useMemo((()=>function(e){const t=Array.from(e.keys()).map((t=>({key:t,subitem:e.get(t)})));return t.sort(((e,t)=>{const n=e.subitem.ref.current,r=t.subitem.ref.current;return null===n||null===r||n===r?0:n.compareDocumentPosition(r)&Node.DOCUMENT_POSITION_PRECEDING?1:-1})),new Map(t.map((e=>[e.key,e.subitem])))}(e)),[e]);return{contextValue:{getItemIndex:a.useCallback((function(e){return Array.from(i.keys()).indexOf(e)}),[i]),registerItem:o,totalSubitemCount:e.size},subitems:i}}function G(e,t){const{open:n}=e,{context:{selectionMode:r}}=t;if(t.type===h){var o;const r=null!=(o=e.selectedValues[0])?o:_(null,"start",t.context);return(0,s.Z)({},e,{open:!n,highlightedValue:n?null:r})}const i=S(e,t);switch(t.type){case b:if(e.open){if("Escape"===t.event.key)return(0,s.Z)({},i,{open:!1});if("single"===r&&("Enter"===t.event.key||" "===t.event.key))return(0,s.Z)({},i,{open:!1})}else{var a,l;if("Enter"===t.event.key||" "===t.event.key||"ArrowDown"===t.event.key)return(0,s.Z)({},e,{open:!0,highlightedValue:null!=(a=e.selectedValues[0])?a:_(null,"start",t.context)});if("ArrowUp"===t.event.key)return(0,s.Z)({},e,{open:!0,highlightedValue:null!=(l=e.selectedValues[0])?l:_(null,"end",t.context)})}break;case g:if("single"===r)return(0,s.Z)({},i,{open:!1});break;case m:return(0,s.Z)({},i,{open:!1});default:return i}return i}function W(e,t){return n=>{const r=(0,s.Z)({},n,e(n));return(0,s.Z)({},r,t(r))}}function q(e){e.preventDefault()}U.displayName="CompoundComponentContext";var X=function(e){const{areOptionsEqual:t,buttonRef:n,defaultOpen:r=!1,defaultValue:o,disabled:i=!1,listboxId:l,listboxRef:m,multiple:g=!1,onChange:v,onHighlightChange:y,onOpenChange:b,open:x,options:w,getOptionAsString:_=$,value:k}=e,C=a.useRef(null),S=(0,u.Z)(n,C),E=a.useRef(null),T=(0,c.Z)(l);let O;void 0===k&&void 0===o?O=[]:void 0!==o&&(O=g?o:null==o?[]:[o]);const A=a.useMemo((()=>{if(void 0!==k)return g?k:null==k?[]:[k]}),[k,g]),{subitems:j,contextValue:I}=V(),P=a.useMemo((()=>null!=w?new Map(w.map(((e,t)=>[e.value,{value:e.value,label:e.label,disabled:e.disabled,ref:a.createRef(),id:`${T}_${t}`}]))):j),[w,j,T]),N=(0,u.Z)(m,E),{getRootProps:R,active:Z,focusVisible:L,rootRef:D}=function(e={}){const{disabled:t=!1,focusableWhenDisabled:n,href:r,rootRef:o,tabIndex:i,to:l,type:c}=e,f=a.useRef(),[h,m]=a.useState(!1),{isFocusVisibleRef:g,onFocus:v,onBlur:y,ref:b}=(0,d.Z)(),[x,w]=a.useState(!1);t&&!n&&x&&w(!1),a.useEffect((()=>{g.current=x}),[x,g]);const[_,k]=a.useState(""),C=e=>t=>{var n;x&&t.preventDefault(),null==(n=e.onMouseLeave)||n.call(e,t)},S=e=>t=>{var n;y(t),!1===g.current&&w(!1),null==(n=e.onBlur)||n.call(e,t)},E=e=>t=>{var n,r;f.current||(f.current=t.currentTarget),v(t),!0===g.current&&(w(!0),null==(r=e.onFocusVisible)||r.call(e,t)),null==(n=e.onFocus)||n.call(e,t)},T=()=>{const e=f.current;return"BUTTON"===_||"INPUT"===_&&["button","submit","reset"].includes(null==e?void 0:e.type)||"A"===_&&(null==e?void 0:e.href)},O=e=>n=>{var r;t||null==(r=e.onClick)||r.call(e,n)},A=e=>n=>{var r;t||(m(!0),document.addEventListener("mouseup",(()=>{m(!1)}),{once:!0})),null==(r=e.onMouseDown)||r.call(e,n)},j=e=>n=>{var r,o;null==(r=e.onKeyDown)||r.call(e,n),n.defaultMuiPrevented||(n.target!==n.currentTarget||T()||" "!==n.key||n.preventDefault(),n.target!==n.currentTarget||" "!==n.key||t||m(!0),n.target!==n.currentTarget||T()||"Enter"!==n.key||t||(null==(o=e.onClick)||o.call(e,n),n.preventDefault()))},I=e=>n=>{var r,o;n.target===n.currentTarget&&m(!1),null==(r=e.onKeyUp)||r.call(e,n),n.target!==n.currentTarget||T()||t||" "!==n.key||n.defaultMuiPrevented||null==(o=e.onClick)||o.call(e,n)},P=a.useCallback((e=>{var t;k(null!=(t=null==e?void 0:e.tagName)?t:"")}),[]),N=(0,u.Z)(P,o,b,f),R={};return"BUTTON"===_?(R.type=null!=c?c:"button",n?R["aria-disabled"]=t:R.disabled=t):""!==_&&(r||l||(R.role="button",R.tabIndex=null!=i?i:0),t&&(R["aria-disabled"]=t,R.tabIndex=n?null!=i?i:0:-1)),{getRootProps:(t={})=>{const n=(0,p.Z)(e),r=(0,s.Z)({},n,t);return delete r.onFocusVisible,(0,s.Z)({type:c},r,R,{onBlur:S(r),onClick:O(r),onFocus:E(r),onKeyDown:j(r),onKeyUp:I(r),onMouseDown:A(r),onMouseLeave:C(r),ref:N})},focusVisible:x,setFocusVisible:w,active:h,rootRef:N}}({disabled:i,rootRef:S}),F=a.useMemo((()=>Array.from(P.keys())),[P]),M=a.useCallback((e=>{if(void 0!==t){const n=F.find((n=>t(n,e)));return P.get(n)}return P.get(e)}),[P,t,F]),z=a.useCallback((e=>{var t;const n=M(e);return null!=(t=null==n?void 0:n.disabled)&&t}),[M]),B=a.useCallback((e=>{const t=M(e);return t?_(t):""}),[M,_]),U=a.useMemo((()=>({selectedValues:A,open:x})),[A,x]),X=a.useCallback((e=>{var t;return null==(t=P.get(e))?void 0:t.id}),[P]),Y=a.useCallback(((e,t)=>{var n;g?null==v||v(e,t):null==v||v(e,null!=(n=t[0])?n:null)}),[g,v]),K=a.useCallback(((e,t)=>{null==y||y(e,null!=t?t:null)}),[y]),Q=a.useCallback(((e,t,n)=>{var r;"open"===t&&(null==b||b(n),!1===n&&"blur"!==(null==e?void 0:e.type)&&(null==(r=C.current)||r.focus()))}),[b]),J={getInitialState:()=>{var e;return{highlightedValue:null,selectedValues:null!=(e=O)?e:[],open:r}},getItemId:X,controlledProps:U,itemComparer:t,isItemDisabled:z,rootRef:D,onChange:Y,onHighlightChange:K,onStateChange:Q,reducerActionContext:a.useMemo((()=>({multiple:g})),[g]),items:F,getItemAsString:B,selectionMode:g?"multiple":"single",stateReducer:G},{dispatch:ee,getRootProps:te,contextValue:ne,state:{open:re,highlightedValue:oe,selectedValues:ie},rootRef:ae}=H(J),se=e=>t=>{var n;if(null==e||null==(n=e.onClick)||n.call(e,t),!t.defaultMuiPrevented){ee({type:h,event:t})}};(0,f.Z)((()=>{if(null!=oe){var e;const t=null==(e=M(oe))?void 0:e.ref;if(!E.current||null==t||!t.current)return;const n=E.current.getBoundingClientRect(),r=t.current.getBoundingClientRect();r.top<n.top?E.current.scrollTop-=n.top-r.top:r.bottom>n.bottom&&(E.current.scrollTop+=r.bottom-n.bottom)}}),[oe,M]);const le=a.useCallback((e=>M(e)),[M]),ue=(e={})=>(0,s.Z)({},e,{onClick:se(e),ref:ae,role:"combobox","aria-expanded":re,"aria-controls":T});a.useDebugValue({selectedOptions:ie,highlightedOption:oe,open:re});const ce=a.useMemo((()=>(0,s.Z)({},ne,I)),[ne,I]);let fe;return fe=e.multiple?ie:ie.length>0?ie[0]:null,{buttonActive:Z,buttonFocusVisible:L,buttonRef:D,contextValue:ce,disabled:i,dispatch:ee,getButtonProps:(e={})=>{const t=W(R,te);return W(t,ue)(e)},getListboxProps:(e={})=>(0,s.Z)({},e,{id:T,role:"listbox","aria-multiselectable":g?"true":void 0,ref:N,onMouseDown:q}),getOptionMetadata:le,listboxRef:ae,open:re,options:F,value:fe,highlightedOption:oe}},Y=n(24349),K=n(9034),Q=n(58510),J=n(8027),ee=n(1977);function te(e){return(0,J.ZP)("MuiSelect",e)}var ne=(0,ee.Z)("MuiSelect",["root","button","listbox","popper","active","expanded","disabled","focusVisible"]),re=n(31873);const oe=a.createContext(null);function ie(e){const{value:t,children:n}=e,{dispatch:r,getItemIndex:o,getItemState:s,registerHighlightChangeHandler:l,registerSelectionChangeHandler:u,registerItem:c,totalSubitemCount:f}=t,d=a.useMemo((()=>({dispatch:r,getItemState:s,getItemIndex:o,registerHighlightChangeHandler:l,registerSelectionChangeHandler:u})),[r,o,s,l,u]),p=a.useMemo((()=>({getItemIndex:o,registerItem:c,totalSubitemCount:f})),[c,o,f]);return(0,i.jsx)(U.Provider,{value:p,children:(0,i.jsx)(oe.Provider,{value:d,children:n})})}const ae=["areOptionsEqual","autoFocus","children","defaultValue","defaultListboxOpen","disabled","getSerializedValue","listboxId","listboxOpen","multiple","name","onChange","onListboxOpenChange","getOptionAsString","renderValue","slotProps","slots","value"];function se(e){var t;return Array.isArray(e)?(0,i.jsx)(a.Fragment,{children:e.map((e=>e.label)).join(", ")}):null!=(t=null==e?void 0:e.label)?t:""}function le(e){return Array.isArray(e)?0===e.length?"":e.every((e=>"string"===typeof e.value||"number"===typeof e.value||"boolean"===typeof e.value))?e.map((e=>String(e.value))):JSON.stringify(e.map((e=>e.value))):null==(null==e?void 0:e.value)?"":"string"===typeof e.value||"number"===typeof e.value?e.value:JSON.stringify(e.value)}var ue=a.forwardRef((function(e,t){var n,r,o;const{areOptionsEqual:c,autoFocus:f,children:d,defaultValue:p,defaultListboxOpen:h=!1,disabled:m,getSerializedValue:g=le,listboxId:v,listboxOpen:y,multiple:b=!1,name:x,onChange:w,onListboxOpenChange:_,getOptionAsString:k=$,renderValue:C,slotProps:S={},slots:E={},value:T}=e,O=(0,l.Z)(e,ae),A=null!=C?C:se,[j,I]=a.useState(!1),P=a.useRef(null),N=a.useRef(null),R=null!=(n=E.root)?n:"button",Z=null!=(r=E.listbox)?r:"ul",L=null!=(o=E.popper)?o:K.Z,D=a.useCallback((e=>{I(null!=e)}),[]),F=(0,u.Z)(t,P,D);a.useEffect((()=>{f&&P.current.focus()}),[f]);const{buttonActive:M,buttonFocusVisible:z,contextValue:B,disabled:H,getButtonProps:U,getListboxProps:V,getOptionMetadata:G,value:W,open:q}=X({areOptionsEqual:c,buttonRef:F,defaultOpen:h,defaultValue:p,disabled:m,listboxId:v,multiple:b,open:y,onChange:w,onOpenChange:_,getOptionAsString:k,value:T}),J=(0,s.Z)({},e,{active:M,defaultListboxOpen:h,disabled:H,focusVisible:z,open:q,multiple:b,renderValue:A,value:W}),ee=function(e){const{active:t,disabled:n,open:r,focusVisible:o}=e,i={root:["root",n&&"disabled",o&&"focusVisible",t&&"active",r&&"expanded"],listbox:["listbox",n&&"disabled"],popper:["popper"]};return(0,Q.Z)(i,(0,re.T)(te))}(J),ne=(0,Y.Z)({elementType:R,getSlotProps:U,externalSlotProps:S.root,externalForwardedProps:O,ownerState:J,className:ee.root}),oe=(0,Y.Z)({elementType:Z,getSlotProps:V,externalSlotProps:S.listbox,additionalProps:{ref:N},ownerState:J,className:ee.listbox}),ue=(0,Y.Z)({elementType:L,externalSlotProps:S.popper,additionalProps:{anchorEl:P.current,keepMounted:!0,open:q,placement:"bottom-start",role:void 0},ownerState:J,className:ee.popper});let ce;var fe;b?ce=W.map((e=>G(e))).filter((e=>void 0!==e)):ce=null!=(fe=G(W))?fe:null;return(0,i.jsxs)(a.Fragment,{children:[(0,i.jsx)(R,(0,s.Z)({},ne,{children:A(ce)})),j&&(0,i.jsx)(L,(0,s.Z)({},ue,{children:(0,i.jsx)(Z,(0,s.Z)({},oe,{children:(0,i.jsx)(ie,{value:B,children:d})}))})),x&&(0,i.jsx)("input",{type:"hidden",name:x,value:g(ce)})]})}));var ce=(0,n(86154).ZP)(),fe=ce("button")((function(){return"\n    width: 100%;\n    padding: 9.5px 10px;\n    line-height: 1.175;\n    color: #000;\n    text-align: left;\n    border-radius: 6px;\n    background: #e1e1e1;\n\n    display: flex;\n    justify-content: space-between;\n    align-items: center;\n  \n    transition-property: all;\n    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n    transition-duration: 120ms;\n  \n    &:hover {\n      cursor: pointer;\n      background: #d2d2d2;\n    }\n  \n    &.".concat(ne.focusVisible," {\n      background: #d2d2d2;\n    }\n  \n    &.").concat(ne.expanded," {\n      &::after {\n        content: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'%3E%3Cpath d='M414 321.94L274.22 158.82a24 24 0 00-36.44 0L98 321.94c-13.34 15.57-2.28 39.62 18.22 39.62h279.6c20.5 0 31.56-24.05 18.18-39.62z'/%3E%3C/svg%3E\");\n      }\n    }\n  \n    &::after {\n      content: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'%3E%3Cpath d='M98 190.06l139.78 163.12a24 24 0 0036.44 0L414 190.06c13.34-15.57 2.28-39.62-18.22-39.62h-279.6c-20.5 0-31.56 24.05-18.18 39.62z'/%3E%3C/svg%3E\");\n      width: 0.9em;\n      height: 0.9em;\n      line-height: 1;\n    }")})),de=ce("ul")((function(){return"\n  width: 100%;\n  max-height: 400px;\n  padding: 6px;\n  margin: 6px 0;\n  overflow: auto;\n  color: #000;\n  outline: 0px;\n  border-radius: 6px;\n  background: #e1e1e1;\n  "}));function pe(e){return(0,J.ZP)("MuiOption",e)}var he=(0,ee.Z)("MuiOption",["root","disabled","selected","highlighted"]);function me(e){const{handlePointerOverEvents:t=!1,item:n,rootRef:r}=e,o=a.useRef(null),i=(0,u.Z)(o,r),l=a.useContext(oe);if(!l)throw new Error("useListItem must be used within a ListProvider");const{dispatch:c,getItemState:d,registerHighlightChangeHandler:p,registerSelectionChangeHandler:h}=l,{highlighted:m,selected:y,focusable:b}=d(n),x=function(){const[,e]=a.useState({});return a.useCallback((()=>{e({})}),[])}();(0,f.Z)((()=>p((function(e){e!==n||m?e!==n&&m&&x():x()})))),(0,f.Z)((()=>h((function(e){y?e.includes(n)||x():e.includes(n)&&x()}))),[h,x,y,n]);const w=a.useCallback((e=>t=>{var r;null==(r=e.onClick)||r.call(e,t),t.defaultPrevented||c({type:g,item:n,event:t})}),[c,n]),_=a.useCallback((e=>t=>{var r;null==(r=e.onMouseOver)||r.call(e,t),t.defaultPrevented||c({type:v,item:n,event:t})}),[c,n]);let k;b&&(k=m?0:-1);return{getRootProps:(e={})=>(0,s.Z)({},e,{onClick:w(e),onPointerOver:t?_(e):void 0,ref:i,tabIndex:k}),highlighted:m,rootRef:i,selected:y}}function ge(e){const{value:t,label:n,disabled:r,rootRef:o,id:i}=e,{getRootProps:l,rootRef:d,highlighted:p,selected:h}=me({item:t}),m=(0,c.Z)(i),g=a.useRef(null),v=a.useMemo((()=>({disabled:r,label:n,value:t,ref:g,id:m})),[r,n,t,m]),{index:y}=function(e,t){const n=a.useContext(U);if(null===n)throw new Error("useCompoundItem must be used within a useCompoundParent");const{registerItem:r}=n,[o,i]=a.useState("function"===typeof e?void 0:e);return(0,f.Z)((()=>{const{id:n,deregister:o}=r(e,t);return i(n),o}),[r,t,e]),{id:o,index:void 0!==o?n.getItemIndex(o):-1,totalItemCount:n.totalSubitemCount}}(t,v),b=(0,u.Z)(o,g,d);return{getRootProps:(e={})=>(0,s.Z)({},e,l(e),{id:m,ref:b,role:"option","aria-selected":h}),highlighted:p,index:y,selected:h,rootRef:b}}const ve=["children","disabled","label","slotProps","slots","value"];const ye=a.forwardRef((function(e,t){var n,r;const{children:o,disabled:c=!1,label:f,slotProps:d={},slots:p={},value:h}=e,m=(0,l.Z)(e,ve),g=null!=(n=p.root)?n:"li",v=a.useRef(null),y=(0,u.Z)(v,t),b=null!=f?f:"string"===typeof o?o:null==(r=v.current)?void 0:r.innerText,{getRootProps:x,selected:w,highlighted:_,index:k}=ge({disabled:c,label:b,rootRef:y,value:h}),C=(0,s.Z)({},e,{disabled:c,highlighted:_,index:k,selected:w}),S=function(e){const{disabled:t,highlighted:n,selected:r}=e,o={root:["root",t&&"disabled",n&&"highlighted",r&&"selected"]};return(0,Q.Z)(o,(0,re.T)(pe))}(C),E=(0,Y.Z)({getSlotProps:x,elementType:g,externalSlotProps:d.root,externalForwardedProps:m,className:S.root,ownerState:C});return(0,i.jsx)(g,(0,s.Z)({},E,{children:o}))}));var be=a.memo(ye),xe=(0,n(16483).cL)("teachers").color,we=ce(be)((function(e){var t=e.width;return"\n  width: ".concat(t,"px;\n  list-style: none;\n  padding: 8px;\n  border-radius: 6px;\n  cursor: default;\n\n  &:last-of-type {\n    border-bottom: none;\n  }\n\n  &.").concat(he.selected," {\n    background-color: #d2d2d2;\n  }\n\n  &.").concat(he.highlighted," {\n    background-color: #d2d2d2;\n  }\n\n  &.").concat(he.highlighted,".").concat(he.selected," {\n    background-color: $#d2d2d2;\n  }\n\n  &.").concat(he.disabled," {\n    color: lightgray;\n  }\n\n  &:hover:not(.").concat(he.disabled,") {\n    cursor: pointer;\n    background-color: #d2d2d2;\n    color: ").concat(xe,";\n    \n    background-color: ").concat(xe,";\n    color: #fff;\n  }\n  ")}));function _e(){var e,t,n=(e=["\n  z-index: 1301;\n"],t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return _e=function(){return n},n}var ke=ce(K.Z)(_e()),Ce=function(e){var t=e.OPTIONS,n=e.OPTIONS_disabled,s=void 0===n?[]:n,l=e.OPTION_active,u=void 0===l?t[0]:l,c=e.HANDLERS,f=void 0===c?{change:function(){}}:c,d=u?t.indexOf(u):0,p=f.change,h=(0,a.useState)("100%"),m=h[0],g=h[1],v=(0,a.useRef)(null);(0,a.useEffect)((function(){var e=v.current;if(e){var t=e.getBoundingClientRect();g(t.width-12)}}),[]);var y=(0,a.forwardRef)((function(e,t){var n=(0,r.Z)({root:fe,listbox:de,popper:ke},e.slots);return(0,i.jsx)(ue,(0,o.Z)((0,r.Z)({},e),{ref:t,slots:n}))}));return y.displayName="Dropdown",t&&t.length?(0,i.jsx)("div",{ref:v,style:{minHeight:"calc(1.175rem + 19px)"},children:(0,i.jsx)(y,{defaultValue:t[d],onChange:function(e,t){p("..."===t?null:t)},children:t.map((function(e,t){var n=s.includes(e);return(0,i.jsxs)(we,{value:e,width:m,disabled:n,children:[(0,i.jsx)("span",{style:{color:n?"#9e9e9e":"black",textDecoration:n?"line-through":"none"},children:e}),n?(0,i.jsx)("span",{style:{color:"#9e9e9e"},children:n?" (reserved)":null}):null]},t)}))})}):null}},46086:function(e,t,n){"use strict";n.d(t,{Z:function(){return En}});var r=n(26042),o=n(69396),i=n(85893),a=n(99226),s=n(67347),l=n(76461),u=n(67814),c=n(51436),f=n(16483),d=n(88262),p=n(28155),h=function(e){var t=e.LABEL,n=e.TEXT,r=(0,f.cL)("teachers"),o=r.color,s=r.color_light,l=t||"Tip";return(0,i.jsxs)(a.Z,{display:"flex",children:[(0,i.jsx)(a.Z,{width:"3rem",height:"3rem",lineHeight:1,display:"flex",justifyContent:"center",alignItems:"center",borderRadius:99,bgcolor:s,children:(0,i.jsx)(u.G,{icon:c.WV2,color:o,size:"lg"})}),n?(0,i.jsxs)(a.Z,{width:"calc(100% - 3rem)",p:{xs:2,sm:3},borderRadius:2,bgcolor:s,children:[(0,i.jsx)(a.Z,{display:"flex",children:(0,i.jsx)(p.Z,{TEXT:l})}),(0,i.jsx)(a.Z,{mt:2,children:(0,i.jsx)(d.Z,{TEXT:n})})]}):null]})},m=n(18751),g=(0,f.cL)("teachers"),v=g.color,y=g.color_light,b=[c.u_e,c.HTU,c.GTE,c.VjI,c.g7e,c.bUn,c.cXU,c.skt,c.icf],x=function(e){var t=e.HEADLINE,n=e.TEXT,r=e.STEP,o=e.WITH_step;return(0,i.jsxs)(a.Z,{display:"flex",children:[(0,i.jsx)(a.Z,{width:"3rem",height:"3rem",lineHeight:1,display:"flex",justifyContent:"center",alignItems:"center",borderRadius:99,bgcolor:y,children:(0,i.jsx)(u.G,{icon:o?b[r-1]:c.YHc,color:v,size:"lg"})}),n||t?(0,i.jsxs)(a.Z,{width:"calc(100% - 3rem)",p:{xs:2,sm:3},borderRadius:2,bgcolor:y,children:[t?(0,i.jsx)(a.Z,{display:"flex",children:(0,i.jsx)(m.Z,{TEXT:t,CONFIG:{size:"md"}})}):null,(0,i.jsx)(a.Z,{mt:t?2:0,children:(0,i.jsx)(d.Z,{TEXT:n})})]}):null]})},w=n(25675),_=n.n(w),k=n(38155),C=n(17734),S={imgAspectRatio:1.5},E=(0,f.cL)("teachers").color_light,T=function(e){var t=e.STEP,n=e.CONFIG,o=void 0===n?S:n,a=t.title,l=t.text,u=t.items,c=(0,s.c)(t.image)?(0,C.L)(t.image):null,f=(0,s.c)(a),h=(0,s.c)(l),g=(0,r.Z)({},S,o).imgAspectRatio;return(0,i.jsxs)("div",{className:"w-full overflow-hidden grid grid-cols-1 md:grid-cols-2 bg-[--color-bg] border border-black rounded-lg",style:{"--color-bg":E},children:[(0,i.jsxs)("div",{className:"p-3 pt-2 md:p-4 md:pt-3 flex flex-col justify-between",children:[(0,i.jsxs)("div",{children:[f?(0,i.jsx)("div",{className:"flex",children:(0,i.jsx)(m.Z,{TEXT:a,CONFIG:{size:"md"}})}):null,h?(0,i.jsx)("div",{className:f?"mt-2":"",children:(0,i.jsx)(d.Z,{TEXT:l})}):null]}),u?(0,i.jsxs)("footer",{className:"mt-4",children:[(0,i.jsx)(k.Z,{TEXT:"What you need"}),(0,i.jsx)("div",{className:"mt-1 flex",children:u.split(",").map((function(e,t){return(0,i.jsx)(p.Z,{TEXT:e,TYPE:"secondary"},t)}))})]}):null]}),c?(0,i.jsx)("div",{className:"relative pb-[--pb] max-md:border-t md:border-l border-black bg-white",style:{"--pb":"".concat(1/g*100,"%")},children:(0,i.jsx)(_(),{src:"https://cdn.ootiboo.com"+c.url,layout:"fill",objectFit:"contain"})}):null]})},O=n(23740),A=n(13802),j=function(e){var t=e.IMAGES,n=t.map((function(e){return(0,C.L)(e.file)}));return(0,i.jsx)(A.Z,{children:(0,i.jsx)(a.Z,{display:"grid",gridTemplateColumns:{xs:"repeat(1, 1fr)",sm:"repeat(2, 1fr)",lg:"repeat(3, 1fr)"},gap:2,children:n.map((function(e,t){return(0,i.jsx)(a.Z,{position:"relative",width:"100%",children:(0,i.jsx)(_(),{src:"https://cdn.ootiboo.com"+e.url,width:e.width,height:e.height,layout:"responsive"})},t)}))})})},I=n(41664),P=n.n(I),N=n(35596),R=n(69435),Z=n(99614),L=n(23042),D=function(e){var t=e.MEMBERS,n=(0,f.cL)("teachers").color_bg_light,r=t.map((function(e){return(0,R.WY)(e)})),o=(0,N.K)().route,s={":hover":{cursor:"pointer"}};return(0,i.jsx)(A.Z,{WIDTH:"full",children:(0,i.jsx)(a.Z,{display:"grid",gridTemplateColumns:{xs:"repeat(1, 1fr)",sm:"repeat(1, 1fr)",lg:"repeat(2, 1fr)",xl:"repeat(3, 1fr)"},gap:2,children:r.map((function(e,t){var r="".concat(o,"/").concat(e.slug),l=e.headline,u=e.title,c=e.profilePicture;return(0,i.jsx)(P(),{href:r,children:(0,i.jsxs)(a.Z,{position:"relative",width:"100%",sx:s,children:[(0,i.jsx)(_(),{src:"https://cdn.ootiboo.com"+c.file.url,width:c.file.width,height:c.file.height,layout:"responsive"}),(0,i.jsxs)(a.Z,{p:2,display:"flex",flexDirection:"column",justifyContent:"space-between",bgcolor:n,children:[(0,i.jsx)(m.Z,{TEXT:l,CONFIG:{size:"sm",color:"#fff"},STYLES:{marginBottom:"0.25rem"}}),(0,i.jsxs)(a.Z,{display:"flex",justifyContent:"space-between",alignItems:"flex-end",children:[(0,i.jsx)(Z.Z,{TEXT:u,COLOR:"#fff"}),(0,i.jsx)(L.Z,{})]})]})]})},t)}))})})},F=n(41830),M=function(e){var t=e.TEXT;return(0,i.jsx)(A.Z,{MB:2,children:(0,i.jsx)(m.Z,{TEXT:t,CONFIG:{size:"sm"}})})},z={level:"h2",style:"default"},B=function(e){var t=e.TEXT,n=e.CONFIG,o=void 0===n?z:n,a=e.WIDTH,s=void 0===a?"regular":a,l=(0,r.Z)({},z,o),u="p"==l.level?2:3.25;return(0,i.jsx)(A.Z,{WIDTH:s,MB:u,children:(0,i.jsx)(m.Z,{TEXT:t,CONFIG:l})})},H="teachers",$={size:"normal",width:"regular"},U=(0,f.cL)(H),V=U.color,G=U.color_light,W=(U.color_bg_light,function(e){var t=e.DATA,n=void 0===t?{text:null,name:null}:t,o=e.CONFIG,s=void 0===o?$:o,l=n.text,f=n.name,p=(0,r.Z)({},$,s),h=p.size,m=p.width;return n?(0,i.jsxs)(A.Z,{STYLES:{display:"flex"},WIDTH:m,children:[(0,i.jsx)(a.Z,{width:"3rem",height:"3rem",lineHeight:1,display:"flex",justifyContent:"center",alignItems:"center",borderRadius:99,bgcolor:G,children:(0,i.jsx)(u.G,{icon:c.y1i,color:V,size:"lg"})}),(0,i.jsxs)(a.Z,{width:"calc(100% - 3rem)",p:{xs:2,sm:3},borderRadius:2,bgcolor:G,children:[(0,i.jsx)(d.Z,{TEXT:l,IS_italic:!0,SIZE:"large"===h?"md":"sm"}),f?(0,i.jsx)(a.Z,{mt:2,children:(0,i.jsx)(d.Z,{TEXT:f,COLOR:V,LINEHEIGHT:1})}):null]})]}):null}),q=n(58192),X=function(e){var t=e.DATA;if(!t)return null;var n=t.text,r=t.url,o=t.is_external,a=void 0!==o&&o,s=t.destination,l=t.button;return(0,i.jsx)(A.Z,{children:(0,i.jsx)(q.Z,{TEXT:n||(l||"Learn more"),URL:r||(s||"#"),SIZE:"small",IS_link:a,IS_external:a,IS_nextLink:!a})})},Y=n(67294),K=n(42625),Q=n(78078),J=n(33899),ee=function(e){var t=e.OPTIONS,n=e.ACTION_switch,r=function(){return Object.entries(t).find((function(e){return e[1].active}))},o="teachers",s=(0,f.cL)(o),l=s.color,u=(s.color_bg_light,{cursor:"pointer",":hover":{color:"#fff",backgroundColor:l}});return(0,i.jsx)(a.Z,{p:.3,display:"inline-flex",flexDirection:"row",borderRadius:99,backgroundColor:J.Z.background.gray,children:t?Object.entries(t).map((function(e,t){return(0,i.jsx)(a.Z,{p:{xs:1.25,sm:2},pl:{xs:2.5,sm:4},pr:{xs:2.5,sm:4},borderRadius:99,backgroundColor:r()[0]===e[0]?l:"transparent",color:r()[0]===e[0]?"#fff":J.Z.text.primary,sx:u,onClick:function(){n(e[0])},children:e[1].buttonText},t)})):null})},te=n(63084),ne=n(47568),re=n(20414);function oe(){return oe=(0,ne.Z)((function(){var e,t,n,r,o=arguments;return(0,re.__generator)(this,(function(i){return e=o.length>0&&void 0!==o[0]?o[0]:null,t=o.length>1&&void 0!==o[1]?o[1]:{resetForm:function(){return console.log("resetForm")},set_notification:function(){return console.log("set_notification")}},e?(n=t.resetForm,r=t.set_notification,fetch("/api/contact",{method:"POST",headers:{Accept:"application/json, text/plain, */*","Content-Type":"application/json"},body:JSON.stringify(e)}).then((function(e){200===e.status?(n(),r({text:"<p>Your submission was successful!</p>",hidden:!1,successful:!0})):r({text:"<p>Sorry, something went wrong.</p>",hidden:!1,successful:!1})})),[2]):[2]}))})),oe.apply(this,arguments)}var ie=function(){return oe.apply(this,arguments)},ae=function(e){var t=e.INFO,n=e.RECIPIENTS,r=e.WITH_companyField,o=e.WITH_newsletterSignUp,l=function(){_(""),S(""),O(""),I(""),L("")},u=(0,f.gg)(),c=u.color_success,d=u.color_error,p=(0,N.K)().locale,h=(0,K.Z)("contactFormSubmission"),m=(null===h||void 0===h?void 0:h.recipients.join(", "))||"info@ootiboo.com",g=(0,s.c)(n,!0)?n:m;g+=g.includes("johannes@schmoll.studio")?"":", johannes@schmoll.studio";var v=(0,Y.useState)({contact:{title:"Contact",buttonText:"en"===p?"Get in touch":"Kontakt",active:!0},newsletter:o?{title:"Newsletter",buttonText:"en"===p?"Stay up to date":"Newsletter",active:!1}:null}),y=v[0],b=v[1],x=(0,Y.useState)(""),w=x[0],_=x[1],k=(0,Y.useState)(""),C=k[0],S=k[1],E=(0,Y.useState)(""),T=E[0],O=E[1],A=(0,Y.useState)(""),j=A[0],I=A[1],P=(0,Y.useState)(""),R=P[0],L=P[1],D=(0,Y.useState)({text:"",hidden:!0,successful:!1}),F=D[0],M=D[1];return(0,i.jsxs)(a.Z,{mt:2,children:[o?(0,i.jsx)(a.Z,{mb:2,children:(0,i.jsx)(ee,{OPTIONS:y,ACTION_switch:function(e){b({contact:{id:"contact",title:"Contact",buttonText:"en"===p?"Get in touch":"Kontakt",active:"contact"===e},newsletter:{id:"newsletter",title:"Newsletter",buttonText:"en"===p?"Stay up to date":"Newsletter",active:"newsletter"===e}})}})}):null,o?(0,i.jsx)(a.Z,{display:y.newsletter.active?"block":"none",children:(0,i.jsx)(te.Z,{})}):null,(0,i.jsxs)(a.Z,{display:y.contact.active?"block":"none",children:[t?(0,i.jsx)(Z.Z,{TEXT:t}):null,(0,i.jsx)(a.Z,{mt:2,children:(0,i.jsxs)("form",{children:[(0,i.jsxs)("formgroup",{children:[(0,i.jsxs)(a.Z,{display:{xs:"block",md:"flex"},children:[(0,i.jsx)(a.Z,{flex:{xs:"unset",md:1},mr:{xs:0,md:2},mb:{xs:2,md:0},children:(0,i.jsx)(Q.Z,{VALUE:w,LABEL:"de"===p?"Vorname":"First Name",PLACEHOLDER:"Your first name\u2026",ACTION_updtValue:_})}),(0,i.jsx)(a.Z,{flex:{xs:"unset",md:1},children:(0,i.jsx)(Q.Z,{VALUE:C,LABEL:"de"===p?"Nachname":"Last Name",PLACEHOLDER:"Your last name\u2026",ACTION_updtValue:S})})]}),r?(0,i.jsx)(a.Z,{mt:2,display:{xs:"block",md:"flex"},children:(0,i.jsx)(a.Z,{flex:{xs:"unset",md:1},children:(0,i.jsx)(Q.Z,{VALUE:T,LABEL:"de"===p?"Firma":"Company",PLACEHOLDER:"Company\u2026",ACTION_updtValue:O})})}):null,(0,i.jsx)(a.Z,{mt:2,display:{xs:"block",md:"flex"},children:(0,i.jsx)(a.Z,{flex:{xs:"unset",md:1},children:(0,i.jsx)(Q.Z,{VALUE:j,LABEL:"de"===p?"E-Mail":"Email",PLACEHOLDER:"Your email address\u2026",ACTION_updtValue:I})})}),(0,i.jsx)(a.Z,{mt:2,display:{xs:"block",md:"flex"},children:(0,i.jsx)(a.Z,{flex:{xs:"unset",md:1},children:(0,i.jsx)(Q.Z,{VALUE:R,LABEL:"de"===p?"Mitteilung":"Message",PLACEHOLDER:"Your message\u2026",TYPE:"textarea",ACTION_updtValue:L})})})]}),(0,i.jsx)(a.Z,{mt:2,children:(0,i.jsx)(q.Z,{TEXT:"de"===p?"Abschicken":"Send",SIZE:"small",ON_click:function(){ie({firstName:w,lastName:C,company:T,email:j,message:R,recipients:g},{resetForm:l,set_notification:M})}})}),F.hidden?null:(0,i.jsx)(a.Z,{mt:2,children:(0,i.jsxs)(a.Z,{p:2,display:"inline-flex",color:"#fff",borderRadius:2,bgcolor:F.successful?c:d,children:[(0,i.jsx)(a.Z,{dangerouslySetInnerHTML:{__html:F.text}}),(0,i.jsx)("button",{onClick:function(){return M({text:F.text,hidden:!0})}})]})})]})})]})]})},se=function(e){var t=e.DATA,n=t.info,r=t.recipients,o=t.with_companyField,a=t.with_newsletterSignup;return(0,i.jsx)(A.Z,{children:(0,i.jsx)(ae,{INFO:n,RECIPIENTS:r,WITH_companyField:o,WITH_newsletterSignUp:a})})},le=(0,f.cL)("teachers").color,ue={cursor:"pointer","&:hover":{color:le}},ce=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{is_open:!1},t=e.is_open,n=void 0!==t&&t;return{height:"0.5em",overflow:"visible",fill:"none",stroke:n?le:"#000",strokeWidth:"2.5px",transform:"rotate(".concat(n?"180":"0","deg)")}},fe=function(e){var t=e.CONFIG,n=(void 0===t?{is_open:!1}:t).is_open,r=void 0!==n&&n;return(0,i.jsx)(a.Z,{display:"flex",sx:{transform:"translateY(0rem)"},children:(0,i.jsx)("svg",{viewBox:"0 0 28.87 15.68",style:ce({is_open:r}),children:(0,i.jsx)("polyline",{vectorEffect:"non-scaling-stroke",strokeLinecap:"round",strokeLinejoin:"round",points:"1.25 1.25 14.43 14.43 27.62 1.25"})})})},de=n(45551),pe=n(55232);var he={slideAspectRatio:{w:4,h:3},height:"large"},me=function(e){var t=e.IMAGES,n=e.CONFIG,o=void 0===n?he:n,a=e.WIDTH,s=void 0===a?"regular":a,l=e.WIDTH_wrapper,u=void 0===l?"regular":l,c=e.POS,f=void 0===c?"left":c;if(!t||0===t.length)return null;var d=(0,r.Z)({},he,o),p=t.filter((function(e){return function(e){var t,n,r,o,i;return e?!e.hide_inGallery&&(null===e||void 0===e||null===(t=e.file)||void 0===t||null===(n=t.data)||void 0===n?void 0:n.attributes)&&(null===e||void 0===e||null===(r=e.file)||void 0===r||null===(o=r.data)||void 0===o||null===(i=o.attributes)||void 0===i?void 0:i.url):console.warn("validate_img(): No IMG provided.")}(e)})),h=u||"regular",m=(0,de.Z)({width:s});return(0,i.jsx)(A.Z,{WIDTH:h,POS:"left",MB:3.25,children:(0,i.jsx)("div",{className:"flex ".concat("center"==f?"justify-center":"right"==f?"justify-end":"justify-start"),children:(0,i.jsx)("div",{className:"w-[--w]",style:{"--w":"".concat(m,"%")},children:(0,i.jsx)(pe.Z,{IMAGES:p,CONFIG:d})})})})},ge=n(40712),ve=n.n(ge),ye=n(47489),be=n(83454),xe=(be.env.NEXT_PUBLIC_API_URL,be.env.NEXT_PUBLIC_DEV,(0,f.cL)("teachers").color),we=function(e){var t=e.IS_playing,n=e.EVENTHANDLERS;return(0,i.jsx)("button",{className:"group/btn p-1.5 flex text-[length:2rem] cursor-pointer",style:{"--color-icon":"#fff","--color-icon-active":xe},onClick:n.click,children:t?(0,i.jsx)(u.G,{icon:c.XQY,className:"text-[--color-icon] group-hover/btn:text-[--color-icon-active]",style:{transition:"color 300ms"},size:"lg"}):(0,i.jsx)(u.G,{icon:c.zc,className:"text-[--color-icon] group-hover/btn:text-[--color-icon-active]",style:{transition:"color 300ms"},size:"lg"})})},_e=function(e){var t=e.IS_muted,n=(e.IS_active,e.EVENTHANDLERS),r=(0,f.cL)("teachers").color;return(0,i.jsx)(a.Z,{p:.75,fontSize:"1.5rem",color:"#fff",sx:{cursor:"pointer","&:hover":{color:r}},onClick:n.click,children:t?(0,i.jsx)(u.G,{icon:c.OEn,color:"currentColor",style:{transition:"color 300ms"},size:"lg"}):(0,i.jsx)(u.G,{icon:c.AQZ,color:"currentColor",style:{transition:"color 300ms"},size:"lg"})})},ke=function(e){e.IS_playing,e.IS_active;var t=e.EVENTHANDLERS,n=(0,f.cL)("teachers").color;return(0,i.jsx)(a.Z,{p:.75,fontSize:"1.5rem",color:"#fff",sx:{cursor:"pointer","&:hover":{color:n}},onClick:null===t||void 0===t?void 0:t.click,children:(0,i.jsx)(u.G,{icon:c.TL5,color:"currentColor",style:{transition:"color 300ms"},size:"lg"})})},Ce=function(e){var t=e.PROGRESS,n=e.HDL_seekMouseDown,r=e.HDL_seekChange,o=e.HDL_seekMouseUp,s=(0,f.cL)("teachers").color;return(0,i.jsx)(a.Z,{width:"100%",display:"flex",alignItems:"center",sx:{"--color":s},children:(0,i.jsx)("input",{type:"range",min:0,max:.999999,step:"any",value:t,onChange:r,onMouseDown:n,onMouseUp:o})})},Se=function(e){var t=e.VIMEOID,n=e.ASPECTRATIO,r=void 0===n?{w:16,h:9}:n,o=(0,Y.useRef)(),s=(0,Y.useRef)(),l=(0,Y.useState)(!1),u=l[0],c=l[1],f=(0,Y.useState)(!1),d=f[0],p=f[1],h=(0,Y.useState)(!1),m=h[0],g=h[1],v=(0,Y.useState)(0),y=v[0],b=v[1],x=(0,Y.useState)(!1),w=x[0],_=x[1],k=(0,Y.useState)(!1),C=k[0],S=k[1];return(0,i.jsx)(a.Z,{children:(0,i.jsx)(a.Z,{width:"100%",paddingBottom:"".concat(r.h/r.w*100,"%"),position:"relative",overflow:"hidden",borderRadius:2,children:(0,i.jsxs)("div",{ref:s,onMouseMove:function(){g(!0),setTimeout((function(){g(!1)}),1500)},children:[(0,i.jsx)(ve(),{ref:o,url:"https://player.vimeo.com/video/".concat(t),playing:u,muted:d,width:"100%",height:"100%",style:{position:"absolute",top:0,left:0},onProgress:function(e){w||b(e.played)}}),(0,i.jsxs)(a.Z,{position:"absolute",zIndex:"1",width:"100%",height:"100%",bgcolor:"transparent",sx:{opacity:u&&!m?0:1,transition:"opacity 300ms"},children:[(0,i.jsx)(a.Z,{position:"absolute",top:"50%",left:"50%",sx:{transform:"translate(-50%, -50%)"},children:(0,i.jsx)(we,{IS_playing:u,IS_active:m,EVENTHANDLERS:{click:function(){c(!u)}}})}),(0,i.jsxs)(a.Z,{position:"absolute",bottom:"0",width:"100%",p:"0.75rem",pb:"0.65rem",display:"flex",gap:"0.75rem",sx:{background:"linear-gradient(0deg, rgba(0,0,0,0.666) 15%, rgba(0,0,0,0) 100%)"},children:[(0,i.jsx)(Ce,{PROGRESS:y,HDL_seekMouseDown:function(){_(!0)},HDL_seekMouseUp:function(e){_(!1),o.current.seekTo(parseFloat(e.target.value))},HDL_seekChange:function(e){b(e.target.value)}}),(0,i.jsx)(ke,{EVENTHANDLERS:{click:function(){C?(ye.Z.exit(),S(!1)):(ye.Z.request(s.current),S(!0))}}})]}),(0,i.jsx)(a.Z,{position:"absolute",top:"0",right:"0",p:"0.75rem",children:(0,i.jsx)(_e,{IS_muted:d,EVENTHANDLERS:{click:function(){p(!d)}}})})]})]})})})},Ee=function(e){var t=e.DATA,n=e.WIDTH,r=void 0===n?"regular":n,o=e.WIDTH_wrapper,a=void 0===o?"regular":o,s=e.POS,l=void 0===s?"left":s;if(!t||!t)return null;var u=t.id_vimeo,c=t.aspectRatio_w,f=void 0===c?16:c,d=t.aspectRatio_h,p=void 0===d?9:d,h={w:f||16,h:p||9},m=a||"regular",g=(0,de.Z)({width:r});return(0,i.jsx)(A.Z,{WIDTH:m,POS:"left",children:(0,i.jsx)("div",{className:"flex ".concat("center"==l?"justify-center":"right"==l?"justify-end":"justify-start"),children:(0,i.jsx)("div",{className:"w-[--w]",style:{"--w":"".concat(g,"%")},children:(0,i.jsx)(Se,{VIMEOID:u,ASPECTRATIO:h})})})})},Te={index:0,is_open:!1},Oe=function(e){var t=e.DATA,n=e.CONFIG,o=void 0===n?Te:n,s=e.HDL,l=void 0===s?{eh_button_click:function(){return console.log("Tab button clicked")}}:s;if(!t)return null;var u=(0,f.cL)("teachers").color,c=(0,r.Z)({},Te,o),d=c.index,p=c.is_open,h=void 0!==p&&p,m=l.eh_button_click,g=t.title,v=t.text,y=t.text_more,b=t.image,x=t.gallery,w=t.video,_=t.quote,k=t.cta,C=w&&w.length>0;return(0,i.jsxs)(a.Z,{mt:0===d?0:1,children:[(0,i.jsxs)(a.Z,{mb:0,pb:.25,lineHeight:1.5,display:"flex",justifyContent:"space-between",alignItems:"center",borderBottom:"1px solid #000",color:h?u:"currentColor",onClick:m,sx:ue,children:[(0,i.jsx)("span",{children:g}),(0,i.jsx)(fe,{CONFIG:{is_open:h}})]}),(0,i.jsxs)(a.Z,{mb:h?4:0,pt:h?2:0,height:h?"auto":0,sx:{opacity:h?1:0,pointerEvents:h?"all":"none"},children:[v&&(0,i.jsx)(F.Z,{TEXT:v,MORE:y,WIDTH:"full"}),_&&(0,i.jsx)(W,{DATA:_,CONFIG:{size:"normal",width:"full"}}),b&&b.data&&(0,i.jsx)(O.Z,{IMAGE:b,WIDTH:"full"}),x&&(0,i.jsx)(me,{IMAGES:x.imgs,WIDTH:"full"}),C?w.map((function(e,t){var n=e.width,r=void 0===n?"regular":n,o=e.position,a=void 0===o?"left":o;return(0,i.jsx)(Ee,{DATA:e,WIDTH:r,WIDTH_wrapper:"full",POS:a},t)})):null,k&&(0,i.jsx)(X,{DATA:k,WIDTH:"full"})]})]})},Ae=function(e){var t=e.DATA,n=(0,f.cL)("teachers").color,r=t.headline,o=void 0===r?null:r,s=t.text,l=void 0===s?null:s,u=t.items,c=void 0===u?null:u,p=(0,Y.useState)(),h=p[0],g=p[1];return t?(0,i.jsxs)(a.Z,{children:[o?(0,i.jsx)(m.Z,{TEXT:o,CONFIG:{size:"md",color:n}}):null,l?(0,i.jsx)(a.Z,{mt:2,children:(0,i.jsx)(d.Z,{TEXT:l})}):null,c?(0,i.jsx)(a.Z,{mt:2,children:c.map((function(e,t){return(0,i.jsx)(Oe,{DATA:e,CONFIG:{index:t,is_open:t===h},HDL:{eh_button_click:function(){return g(t===h?null:t)}}},t)}))}):null]}):null},je=function(e){var t=e.DATA,n=e.WIDTH,r=void 0===n?"regular":n;return t?(0,i.jsx)(A.Z,{WIDTH:r,children:(0,i.jsx)(Ae,{DATA:t})}):null},Ie=n(8247),Pe=n(14713),Ne=n(75211),Re=n(30142),Ze=n(55733),Le=n.n(Ze),De=n(93162),Fe=n(9669),Me=n.n(Fe),ze=n(29441),Be=n(85340),He="https://cdn.ootiboo.com",$e="UTIL \u2192 download \u2192 download_files",Ue="UTIL \u2192 download \u2192 download_files \u2192 no files provided",Ve={files:[],userData:null,downloadInfo:{yearGroup:"n/a",participants:"n/a",term:"n/a"}},Ge={with_slackNotif:!0,with_emailNotif:!1,notifConfig:null};function We(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ve,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{on_start:function(){return console.warn("download_files(): no on_start() hdl. provided")},on_downloadProgress:function(){return console.warn("download_files(): no on_downloadProgress() hdl. provided")},on_done:function(){return console.warn("download_files(): no on_done() hdl. provided")}},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ge;if(!e||!e.files||0===e.files.length)return console.error(Ue);var o=(0,r.Z)({},Ve,e),i=o.files,a=o.userData,s=o.downloadInfo,l=i[0].projectTitle||"Project",u=t.on_start,c=t.on_downloadProgress,f=t.on_done,d=(0,r.Z)({},Ge,n),p=d.with_slackNotif,h=d.with_emailNotif,m=d.notifConfig;console.log($e),u&&u();var g=null!==a&&void 0!==a?a:{},v=g.name,y=g.school,b=null!==y&&void 0!==y?y:{},x=b.schoolID,w=b.name,_=h?{schoolID:x,schoolName:w,projectTitle:l,downloadAssetTitles:i.map((function(e){return e.title})),teacherName:v,yearGroup:s.yearGroup,participants:s.participants,term:s.term}:null;if(1===i.length){var k=i[0];Me()({url:He+k.attributes.url,method:"GET",responseType:"blob",onDownloadProgress:function(e){var t=e.loaded,n=e.total;return c(t,n,0,100)}}).then((function(e){var t=e.data,n=k.attributes.name;(0,De.saveAs)(t,n),p&&(0,ze.PM)(l),h&&(0,Be.Z)(_,m),f&&f()}))}else{var C=new(Le()),S=i.length,E=100/S,T=i.map(function(){var e=(0,ne.Z)((function(e,t){return(0,re.__generator)(this,(function(n){switch(n.label){case 0:return[4,Me()({url:He+e.attributes.url,method:"GET",responseType:"blob",onDownloadProgress:function(e){var n=e.loaded,r=e.total;return c(n,r,t,E)}}).then((function(t){var n=t.data,r=e.attributes.name;return C.file(r,n,{binary:!0}),n}))];case 1:return n.sent(),[2]}}))}));return function(t,n){return e.apply(this,arguments)}}());Promise.all(T).then((function(){C.generateAsync({type:"blob"}).then((function(e){var t="all"===(i.length>1?"all resources":i[0].title)?"resources":"resource";(0,De.saveAs)(e,t+".zip"),p&&(0,ze.PM)(l),h&&(0,Be.Z)(_,m),f&&f()}))}))}}var qe=n(53819),Xe=n(7600),Ye=n(32555),Ke=n(29815),Qe=n(11752),Je=n.n(Qe),et=n(74231),tt=n(87536),nt=n(95496),rt=(n(39164),n(1740)),ot=n(9459),it=n(80466),at=function(e){var t=e.DATA,n=void 0===t?{uploadProgress:0}:t;if(!n)return null;var r=n.uploadProgress,o=(0,f.gg)().color_success,s={position:"absolute",top:0,left:0,width:"".concat(r,"%"),height:"100%",backgroundColor:o,transition:"width 0.5s ease-in-out"};return(0,i.jsxs)(a.Z,{position:"relative",width:"100%",p:1.75,overflow:"hidden",textAlign:"center",bgcolor:"lightgray",borderRadius:99,children:[(0,i.jsxs)("span",{style:{position:"absolute",zIndex:1,top:"50%",left:"50%",transform:"translate(-50%, -50%)"},children:[r,"%"]}),(0,i.jsx)("span",{style:s})]})},st=n(61550),lt=(0,f.cL)("teachers").color,ut=(Je()().publicRuntimeConfig,{ctaText_userNotLoggedIn:null}),ct=["KS1","KS2","KS3","KS4","KS5"],ft=["Autumn 1","Autumn 2","Spring 1","Spring 2","Summer 1","Summer 2"],dt=function(e){var t=e.DATA,n=void 0===t?ut:t,s=e.TO_DOWNLOAD,l=e.OPTIONS,u=(0,r.Z)({},ut,n).ctaText_userNotLoggedIn,c=(l.projectTitle,l.projectID,(0,Pe.aF)().user),f=null!==c&&void 0!==c?c:{},d=(f.JWT,f.schoolID_API,(0,Y.useContext)(Ie.Z).schoolsData);c=(0,Re.Z)(c,d);var p=(0,K.Z)("projectResourceDownload"),h=p.sendEmailNotification,g=p.sendSlackNotification,v=(0,Y.useState)(ct[0]),y=v[0],b=v[1],x=(0,Y.useState)(c?c.name:""),w=x[0],_=x[1],C=(0,Y.useState)(""),S=C[0],E=C[1],T=(0,Y.useState)(ft[0]),O=T[0],A=T[1],j=(0,Y.useState)({text:null,hidden:!0,successful:!1,alert:!1}),I=j[0],P=j[1],N=(0,Y.useState)(0),R=N[0],Z=N[1],L=et.Ry().shape({teacherName:et.Z_().required("A name is required"),participants:et.Z_().required("A number of participants is required")}),D={resolver:(0,nt.X)(L)},F=(0,tt.cI)(D),M=F.register,z=F.handleSubmit,B=F.reset,H=F.formState.errors,$=""!==w&&""!==S,U={on_done:function(){Z(0),B(),_(""),b(ct[0]),E(""),A(""),P({text:"Thank you! The resources you\u2019ve requested will now be downloaded. You can now close this window.",hidden:!1,successful:!0,alert:!1})},on_downloadProgress:function(e,t,n,r){var o=Math.round(e*r/t+n*r);Z(o)}},V={yearGroup:y,participants:S,term:O};return(0,i.jsxs)(a.Z,{children:[(0,i.jsx)("form",{onSubmit:z((function(){We({files:s,userData:c,downloadInfo:V},U,{with_slackNotif:g,with_emailNotif:h,notifConfig:p})})),children:c?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(a.Z,{mb:2,children:(0,i.jsx)(m.Z,{TEXT:"Download Project Resource",CONFIG:{size:"sm",color:lt}})}),(0,i.jsx)(a.Z,{mb:2,children:(0,i.jsx)("span",{dangerouslySetInnerHTML:{__html:DOMPurify.sanitize("Please provide us with the following information before downloading the resource(s):")}})}),(0,i.jsxs)(a.Z,{children:[(0,i.jsxs)(a.Z,{mb:1.5,display:{xs:"block",md:"flex"},children:[(0,i.jsxs)(a.Z,{flex:1,mb:{xs:1,md:0},mr:{xs:0,sm:1},children:[(0,i.jsx)(a.Z,{mb:1,children:(0,i.jsx)(k.Z,{TEXT:"Teacher\u2019s name",TYPE:"question"})}),(0,i.jsx)(a.Z,{display:"flex",borderRadius:1.5,overflow:"hidden",bgcolor:"#e1e1e1",children:(0,i.jsx)("input",(0,o.Z)((0,r.Z)({type:"text",name:"teacherName"},M("teacherName")),{placeholder:"...",value:w,onChange:function(e){return _(e.target.value)}}))}),H.teacherName?(0,i.jsx)(a.Z,{children:(0,i.jsx)(it.Z,{TEXT:H.teacherName.message,SUCCESS:!1,MT:1})}):null]}),(0,i.jsxs)(a.Z,{flex:1,children:[(0,i.jsx)(a.Z,{mb:1,children:(0,i.jsx)(k.Z,{TEXT:"Which year group?",TYPE:"question"})}),(0,i.jsx)(a.Z,{children:(0,i.jsx)(ot.Z,{OPTIONS:ct,OPTION_active:y,HANDLERS:{change:b}})})]})]}),(0,i.jsxs)(a.Z,{mb:1.5,display:{xs:"block",md:"flex"},children:[(0,i.jsxs)(a.Z,{flex:1,mb:{xs:1,md:0},mr:{xs:0,sm:1},children:[(0,i.jsx)(a.Z,{mb:1,children:(0,i.jsx)(k.Z,{TEXT:"How many participants?",TYPE:"question"})}),(0,i.jsx)(a.Z,{display:"flex",borderRadius:1.5,overflow:"hidden",bgcolor:"#e1e1e1",children:(0,i.jsx)("input",(0,o.Z)((0,r.Z)({type:"text",name:"participants"},M("participants")),{placeholder:"...",value:S,onChange:function(e){return E(e.target.value)}}))}),H.participants?(0,i.jsx)(a.Z,{children:(0,i.jsx)(it.Z,{TEXT:H.participants.message,SUCCESS:!1,MT:1})}):null]}),(0,i.jsxs)(a.Z,{flex:1,children:[(0,i.jsx)(a.Z,{mb:1,children:(0,i.jsx)(k.Z,{TEXT:"Which term?",TYPE:"question"})}),(0,i.jsx)(a.Z,{children:(0,i.jsx)(ot.Z,{OPTIONS:ft,OPTION_active:O,HANDLERS:{change:A}})})]})]})]}),(0,i.jsxs)(a.Z,{mt:3,children:[(0,i.jsx)(rt.Z,{TEXT:"Start download",INACTIVE:!$,COLOR:lt}),(0,i.jsx)(a.Z,{mt:2,children:(0,i.jsx)(at,{DATA:{uploadProgress:R}})})]})]}):(0,i.jsx)(st.Z,{DATA:{text:u}})}),(0,i.jsx)(a.Z,{mt:3,p:1,pl:1.5,pr:1.5,borderRadius:1.5,color:"#fff",bgcolor:I.successful?"#28b95e":"rgb(255, 90, 120)",display:I.hidden?"none":"inline-flex",children:I.text})]})},pt=n(13089),ht=(0,f.cL)("teachers").color,mt={label:"Downloads",customInfoText:null,ctaText_userNotLoggedIn:null},gt={pageTitle:"Page Title",projectID:"projectID",cardListColumnCount:3,with_downloadAllBtn:!0,with_collapsible:!0,userInfoRequired:!0},vt=function(e){var t=e.DOWNLOADS,n=e.CONTENT,r=void 0===n?mt:n,o=e.OPTIONS,a=void 0===o?gt:o,s=function(e){(Z("all"===e?g:[g.find((function(t){return t.title===e}))]),m)?U():We({files:"all"===e?g:[g.find((function(t){return t.title===e}))],userData:y},G,{with_slackNotif:_,with_emailNotif:w,notifConfig:x})},l=r.label,u=r.customInfoText,c=r.ctaText_userNotLoggedIn,f=a.pageTitle,d=a.projectID,p=a.with_downloadAllBtn,h=a.with_collapsible,m=null==a.userInfoRequired||a.userInfoRequired,g=t.map((function(e){return{title:e.title,projectTitle:e.projectTitle||null,attributes:e.file.data.attributes,previews:e.previews&&e.previews.data?e.previews.data:null}})),v={projectTitle:f,projectID:d},y=(0,Pe.aF)().user,b=(0,Y.useContext)(Ie.Z).schoolsData;y=(0,Re.Z)(y,b);var x=(0,K.Z)("projectResourceDownload"),w=x.sendEmailNotification,_=x.sendSlackNotification,k=(0,Y.useState)(!1),C=k[0],S=k[1],E=(0,Y.useState)(!1),T=E[0],O=E[1],j=(0,Y.useState)(!1),I=j[0],P=j[1],N=(0,Y.useState)([]),R=N[0],Z=N[1],L=(0,Y.useState)([]),D=L[0],F=(L[1],(0,Y.useState)(!1)),M=F[0],z=F[1],B=(0,Y.useState)(0),H=B[0],$=B[1],U=function(){return O(!0)},V=function(){return O(!1)},G={on_start:function(){return z(!0)},on_done:function(){z(!1),$(0)},on_downloadProgress:function(e,t,n,r){var o=Math.round(e*r/t+n*r);$(o)}};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(A.Z,{children:[(0,i.jsx)("div",{className:"pb-2 leading-none uppercase text-light-gray border-b border-light-gray",children:(0,i.jsx)("span",{children:l})}),(0,i.jsxs)("div",{className:"mt-4 leading-[1.3]",children:[u?(0,i.jsx)("div",{children:(0,i.jsx)("p",{children:u})}):null,p?(0,i.jsx)("div",{className:"mt-4",children:(0,i.jsx)(Xe.Z,{TEXT:"Download All",EVENTHANDLERS:{click:function(){return s("all")}}})}):null,(0,i.jsxs)("div",{className:"mt-4",children:[h&&1!==t.length?null:(0,i.jsx)("div",{className:"flex flex-wrap gap-2",children:t.map((function(e,t){return(0,i.jsx)(Xe.Z,{TEXT:"Download ".concat(e.title),EVENTHANDLERS:{click:function(){return s(e.title)}}},t)}))}),h&&t.length>1?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("button",{className:"w-full mb-2.5 pb-0.5 leading-normal flex justify-between items-center text-[--color-text] [border-bottom:_1px_solid_#000] hover:text-[--color-text-hover]",style:{"--color-text":C?ht:"currentColor","--color-text-hover":ht},onClick:function(){return S(!C)},children:[(0,i.jsx)("span",{children:"Show individual downloads"}),(0,i.jsx)(qe.Z,{IS_active:C,COLOR:C?ht:"currentColor"})]}),(0,i.jsx)("div",{"data-is-hidden":!C,className:"".concat(C?"h-auto mb-8":"h-0"," hidden-via-attr"),children:(0,i.jsx)("div",{className:"flex flex-wrap gap-2",children:t.map((function(e,t){return(0,i.jsx)(Xe.Z,{TEXT:"Download ".concat(e.title),EVENTHANDLERS:{click:function(){return s(e.title)}}},t)}))})})]}):null]})]}),(0,i.jsx)("footer",{className:"mt-6",children:M?(0,i.jsx)(at,{DATA:{uploadProgress:H}}):null})]}),(0,i.jsx)(pt.Z,{PREVIEWS:null===D||void 0===D?void 0:D.previews,CONFIG:{is_hidden:!I},HANLDERS:{eh_closeButton_click:function(){return P(!1)}}}),(0,i.jsx)(Ne.Z,{open:T,onClose:V,"aria-labelledby":"modal-modal-title","aria-describedby":"modal-modal-description",children:(0,i.jsxs)("div",{className:"absolute top-[45%] left-1/2 -translate-x-1/2 -translate-y-1/2 w-[calc(100%_-_32px)] md:w-1/2 lg:w-[40%] p-6 bg-white rounded-3xl shadow-2xl",children:[(0,i.jsx)(Ye.Z,{COLOR:ht,ON_CLICK:V}),(0,i.jsx)(dt,{DATA:{ctaText_userNotLoggedIn:c},TO_DOWNLOAD:R,OPTIONS:v})]})})]})},yt=(0,f.cL)("teachers").color,bt={cursor:"pointer","&:hover":{color:yt}},xt=function(e){var t=e.INDEX,n=e.INDEX_active,r=e.DATA,o=e.HANDLERS,s=void 0===o?{buttonClick:function(){return console.log("Collapsible button clicked")}}:o,l=t===n,u=r.title,c=void 0===u?"Collapsible":u,f=r.image,d=void 0===f?null:f,p=r.imageWidth,h=r.text||{},m=h.text,g=h.text_more,v=d?parseInt(null===p||void 0===p?void 0:p.replace(/\D/g,"")):50;return(0,i.jsxs)(a.Z,{children:[(0,i.jsxs)(a.Z,{mb:1.25,pb:.25,lineHeight:1.5,display:"flex",justifyContent:"space-between",alignItems:"center",borderBottom:"1px solid #000",color:l?yt:"currentColor",onClick:function(){return s.buttonClick(l?null:t)},sx:bt,children:[(0,i.jsx)("span",{children:c}),(0,i.jsx)(qe.Z,{IS_active:l,COLOR:l?yt:"currentColor"})]}),(0,i.jsxs)(a.Z,{mb:l?4:0,height:l?"auto":0,sx:{opacity:l?1:0,pointerEvents:l?"all":"none"},children:[m&&(0,i.jsx)(F.Z,{TEXT:m,MORE:g,WIDTH:"full",MB:d?2:0}),d&&(0,i.jsx)(O.Z,{IMAGE:d,WIDTH:v})]})]})},wt=function(e){var t=e.HEADLINE,n=e.TEXT,r=e.ITEMS,o={text:(null===t||void 0===t?void 0:t.text)||null,config:{level:(null===t||void 0===t?void 0:t.level)||"h2",style:(null===t||void 0===t?void 0:t.style)||"default"}},a=null!==n&&void 0!==n?n:{},s=a.text,l=a.text_more,u=(0,Y.useState)(),c=u[0],f=u[1];return(0,i.jsxs)(A.Z,{children:[o?(0,i.jsx)(B,{TEXT:o.text,CONFIG:o.config,WIDTH:"full"}):null,s?(0,i.jsx)(F.Z,{TEXT:s,MORE:l,WIDTH:"full"}):null,r?r.map((function(e,t){return(0,i.jsx)(xt,{INDEX:t,INDEX_active:c,DATA:e,HANDLERS:{buttonClick:f}},t)})):null]})},_t=n(93645),kt=n(33170),Ct=n(10665),St=n(99043),Et=n(611),Tt=(0,f.cL)("teachers").color,Ot=function(e){var t,n,r,o,a=e.DATA;if(!a)return null;var l,u=a.title,c=void 0===u?null:u,f=a.text,d=void 0===f?null:f,p=a.image,h=void 0===p?null:p,m=a.link,g=void 0===m?null:m,v=null!==g&&void 0!==g?g:{},y=v.linkedPage_play,b=v.linkedPage_works,x=v.linkedPage_external,w=v.openInNewTab,_={url:(null===y||void 0===y||null===(t=y.data)||void 0===t||null===(n=t.attributes)||void 0===n?void 0:n.slug)||(null===b||void 0===b||null===(r=b.data)||void 0===r||null===(o=r.attributes)||void 0===o?void 0:o.slug)||x,is_externalLink:(0,s.T)(x),is_newTabLink:w},k=!!_.url;return(0,i.jsx)(_t.Z,{CONFIG:_,children:(0,i.jsxs)("div",{className:"relative h-full flex flex-col border border-black rounded-lg overflow-hidden",style:(l=k,l?(0,Et.y)(Tt):{}),children:[c&&(0,i.jsx)(kt.Z,{TEXT:c}),h&&(0,i.jsx)(Ct.Z,{DATA:h}),d&&(0,i.jsx)(St.Z,{TEXT:d,WITH_enterBtn:k})]})})},At=function(e){var t=e.CARDS,n=e.CONFIG,r=void 0===n?{columnCount:3}:n;if(!t||!t.length)return null;var o=t,s=r.columnCount<1?1:r.columnCount;return(0,i.jsx)(a.Z,{display:"grid",gridTemplateColumns:{md:"1fr",lg:"2fr",xl:"repeat(".concat(s,", 1fr)")},gap:2,alignItems:"start",children:o.map((function(e,t){return(0,i.jsx)(Ot,{DATA:e},t)}))})},jt=function(e){var t=e.CARDS,n=e.CONFIG,r=void 0===n?{columnCount:3}:n,o=e.WIDTH,a=void 0===o?"regular":o;return t&&0!==t.length?(0,i.jsx)(A.Z,{WIDTH:a,MB:3.25,children:(0,i.jsx)(At,{CARDS:t,CONFIG:r})}):null},It=function(e){var t=e.children,n=e.CONFIG,r=void 0===n?{columnCount:3}:n;if(!t||!t.length)return null;var o=r.columnCount<1?1:r.columnCount;return(0,i.jsx)(a.Z,{display:"grid",gridTemplateColumns:{md:"1fr",lg:"2fr",xl:"repeat(".concat(o,", 1fr)")},gap:2,alignItems:"start",children:e.children})},Pt=n(35617),Nt=n(11163),Rt=(0,f.cL)("teachers").color,Zt=function(e){var t,n=e.DATA,r=n||{},o=r.slug,a=void 0===o?null:o,s=r.name,l=void 0===s?null:s,u=(r.headline,r.bio_short),c=void 0===u?null:u,f=r.thumbnail,d=void 0===f?null:f,p=r.profilePicture,h=void 0===p?null:p,m=(null===d||void 0===d?void 0:d.is_formatted)?d:null===d||void 0===d?void 0:d.file,g=(null===h||void 0===h?void 0:h.is_formatted)?h:null===h||void 0===h?void 0:h.file,v=(0,Nt.useRouter)().asPath.replace(/^\//,"").replace(/\/team/,"").replace(/\/our-team/,""),y={url:a?"".concat(v,"/our-team/").concat(a):null},b=!!y.url;return n?(0,i.jsx)(_t.Z,{CONFIG:y,children:(0,i.jsxs)("div",{className:"relative h-full flex flex-col border border-black rounded-lg overflow-hidden",style:(t=b,t?(0,Et.y)(Rt):{}),children:[m&&(0,i.jsx)(Ct.Z,{DATA:m,ROUNDED:"top"}),g&&(0,i.jsx)(Ct.Z,{DATA:g,ROUNDED:"top"}),(l||c)&&(0,i.jsx)(St.Z,{HEADLINE:l,TEXT:c,WITH_enterBtn:b,ROUNDED:"bottom"})]})}):null},Lt=(0,f.cL)("teachers").color,Dt=function(e){var t=e.DATA,n=(0,f.cL)("teachers").color,r=t.slug,o=void 0===r?null:r,s=t.name,l=void 0===s?null:s,u=t.description,c=void 0===u?null:u,d=t.image,p=void 0===d?null:d,h=(null===p||void 0===p?void 0:p.is_formatted)?p:null===p||void 0===p?void 0:p.file,m=(0,Nt.useRouter)().asPath.replace(/^\//,""),g=m.includes("contributors"),v={url:o?"".concat(m+(g?"":"/contributors"),"/").concat(o):null},y=!!v.url,b=y?(0,Et.y)(n):{};return t?(0,i.jsx)(_t.Z,{CONFIG:v,children:(0,i.jsxs)(a.Z,{position:"relative",border:"1px solid #000",borderRadius:2,sx:b,children:[h&&(0,i.jsx)(Ct.Z,{DATA:h,ROUNDED:"top"}),(l||c)&&(0,i.jsx)(St.Z,{HEADLINE:l,TEXT:c,WITH_enterBtn:y,ROUNDED:"bottom"})]})}):null},Ft={"team-members":Zt,"team-members-international":Zt,partners:function(e){var t,n=e.DATA,r=n.slug,o=void 0===r?null:r,a=n.name,s=void 0===a?null:a,l=n.description,u=void 0===l?null:l,c=n.logo,f=void 0===c?null:c,d=(null===f||void 0===f?void 0:f.is_formatted)?f:null===f||void 0===f?void 0:f.file,p=(0,Nt.useRouter)().asPath.replace(/^\//,""),h=p.includes("partnerships"),m={url:o?"".concat(p+(h?"":"/partnerships"),"/").concat(o):null},g=!!m.url;return n?(0,i.jsx)(_t.Z,{CONFIG:m,children:(0,i.jsxs)("div",{className:"relative h-full flex flex-col border border-black rounded-lg overflow-hidden",style:(t=g,t?(0,Et.y)(Lt):{}),children:[d&&(0,i.jsx)(Ct.Z,{DATA:d,ROUNDED:"top"}),(s||u)&&(0,i.jsx)(St.Z,{HEADLINE:s,TEXT:u,WITH_enterBtn:g,ROUNDED:"bottom"})]})}):null},contributors:Dt},Mt=n(14707),zt=function(e){var t=e.COLLECTION,n=e.FILTERTAGS,r=e.CONFIG,o=void 0===r?{columnCount:3,pageLimit:null,with_filterBar:!1,filterBarLabel:null}:r,s=e.WIDTH,l=void 0===s?"regular":s,u=o.pageLimit,c=void 0===u?null:u,f=o.with_filterBar,d=void 0!==f&&f,p=o.filterBarLabel,h=void 0===p?null:p,m=d&&n?n.data_withTotalCount.data:null,g=m?m.map((function(e){return R._G.tags(e)})):null,v=(0,Y.useState)(["all"]),y=v[0],b=v[1],x=(0,Y.useState)({filterbar:{closed:!0},view:{mode:"list"}}),w=x[0],_=x[1],k=t.id,C=t.data_withTotalCount,S=R._G[k],E=d&&(null===y||void 0===y?void 0:y.length)>0&&"all"!==y[0]?C.data.filter((function(e){var t,n,r;return(null===e||void 0===e||null===(t=e.attributes)||void 0===t||null===(n=t.tags)||void 0===n||null===(r=n.data)||void 0===r?void 0:r.map((function(e){return e.id}))).some((function(e){return y.includes(e)}))})):C.data,T=null===E||void 0===E?void 0:E.map((function(e){return S(e)})),O=[];if(c&&T.length)for(var j=0;j<T.length;j+=c)O.push(T.slice(j,j+c));var I=(0,Y.useState)(c?1:null),P=I[0],N=I[1],Z=Math.ceil((null===T||void 0===T?void 0:T.length)/c),L=c?O[P-1]:T,D=Ft[k];return L&&0!==(null===L||void 0===L?void 0:L.length)&&D?(0,i.jsxs)(A.Z,{WIDTH:l,MB:3.25,children:[d&&(0,i.jsx)(a.Z,{mb:2,children:(0,i.jsx)(Pt.Z,{LABEL:h,TAGS:g,FILTERS:y,SET_filters:b,UI:w,SET_ui:_})}),(0,i.jsx)(It,{CONFIG:o,children:L.map((function(e,t){return(0,i.jsx)(D,{DATA:e},t)}))}),c&&(0,i.jsx)(a.Z,{mt:2,children:(0,i.jsx)(Mt.Z,{INDEX_curr:P,INDEX_max:Z,CONFIG:{bulletsAsLinks:!1},HANDLERS:{eh_bullet_click:N}})})]}):null},Bt=(n(83454).env.NEXT_PUBLIC_DEV,(0,f.cL)("teachers").color,{width:"regular",columnCount:3,filter_group:null}),Ht=function(e){var t,n=e.DATA,o=void 0===n?{teamMembers:[]}:n,a=e.CONFIG,s=void 0===a?Bt:a;if(!o)return null;var l=o.teamMembers,u=(0,r.Z)({},Bt,s),c=u.width,f=u.columnCount,d=u.filter_group,p=(null===l||void 0===l||null===(t=l.data_withTotalCount)||void 0===t?void 0:t.data).map((function(e){return(0,R.Ay)(e)})),h=p;return d&&(h=p.filter((function(e){return e.group===d}))),(0,i.jsx)(A.Z,{WIDTH:c,MB:3.25,children:(0,i.jsx)(It,{CONFIG:{columnCount:f},children:h.map((function(e,t){return(0,i.jsx)(Zt,{DATA:e},t)}))})})},$t=function(e){var t=e.ITEMS,n=(0,f.cL)("teachers"),r=n.color,o=n.color_light;return(0,i.jsx)(a.Z,{border:"1px solid",backgroundColor:"#fff",borderRadius:3,children:(0,i.jsxs)(a.Z,{position:"relative",height:"100%",p:{xs:2,sm:3},display:"flex",flexDirection:"column",justifyContent:"space-between",backgroundColor:o,borderRadius:3,children:[(0,i.jsx)(m.Z,{TEXT:"You will need",CONFIG:{size:"sm",color:r}}),(0,i.jsx)(a.Z,{mt:2,display:"grid",gridTemplateColumns:{xs:"1fr",sm:"1fr 1fr"},children:t.map((function(e,t){return(0,i.jsxs)(a.Z,{mb:1,lineHeight:1,children:[(0,i.jsx)("span",{children:"\u2022"})," ",e.name]},t)}))})]})})},Ut=function(e){var t=e.CONTENT,n=void 0===t?{items:[]}:t,r=e.CONFIG,o=void 0===r?{width:"regular"}:r,a=n.items,s=o.width;return(0,i.jsx)(A.Z,{WIDTH:s,MB:3.25,children:(0,i.jsx)($t,{ITEMS:a})})};function Vt(e){return"undefined"!=typeof e&&null!=e&&e.length>0}function Gt(e){return"undefined"!=typeof e&&null!=e&&"undefined"!=typeof e.name&&null!=e.name&&"undefined"!=typeof e.width&&null!=e.width&&"undefined"!=typeof e.height&&null!=e.height&&"undefined"!=typeof e.ext&&null!=e.ext&&"undefined"!=typeof e.mime&&null!=e.mime&&"undefined"!=typeof e.url&&null!=e.url&&"undefined"!=typeof e.is_formatted&&null!=e.is_formatted&&!0===e.is_formatted}var Wt=n(38584),qt=n(22760),Xt=n(22010),Yt=n(36425);function Kt(e){return e.substring(2).toLowerCase()}var Qt=function(e){const{children:t,disableReactTree:n=!1,mouseEvent:r="onClick",onClickAway:o,touchEvent:a="onTouchEnd"}=e,s=Y.useRef(!1),l=Y.useRef(null),u=Y.useRef(!1),c=Y.useRef(!1);Y.useEffect((()=>(setTimeout((()=>{u.current=!0}),0),()=>{u.current=!1})),[]);const f=(0,qt.Z)(t.ref,l),d=(0,Xt.Z)((e=>{const t=c.current;c.current=!1;const r=(0,Yt.Z)(l.current);if(!u.current||!l.current||"clientX"in e&&function(e,t){return t.documentElement.clientWidth<e.clientX||t.documentElement.clientHeight<e.clientY}(e,r))return;if(s.current)return void(s.current=!1);let i;i=e.composedPath?e.composedPath().indexOf(l.current)>-1:!r.documentElement.contains(e.target)||l.current.contains(e.target),i||!n&&t||o(e)})),p=e=>n=>{c.current=!0;const r=t.props[e];r&&r(n)},h={ref:f};return!1!==a&&(h[a]=p(a)),Y.useEffect((()=>{if(!1!==a){const e=Kt(a),t=(0,Yt.Z)(l.current),n=()=>{s.current=!0};return t.addEventListener(e,d),t.addEventListener("touchmove",n),()=>{t.removeEventListener(e,d),t.removeEventListener("touchmove",n)}}}),[d,a]),!1!==r&&(h[r]=p(r)),Y.useEffect((()=>{if(!1!==r){const e=Kt(r),t=(0,Yt.Z)(l.current);return t.addEventListener(e,d),()=>{t.removeEventListener(e,d)}}}),[d,r]),(0,i.jsx)(Y.Fragment,{children:Y.cloneElement(t,h)})},Jt=n(16628),en=function(e){var t=e.CONTENT,n=void 0===t?{text:"The content of the Popper."}:t,r=e.CONFIG,o=void 0===r?{anchorEl:null,index:0}:r,s=e.STATE,l=void 0===s?{is_open:!1,anchorEl:null}:s,u=e.HDL,c=void 0===u?{eh_closeTooltip:function(){return console.log("closing tooltip")}}:u;if(!n)return null;var f=n.text,d=o.anchorEl,p=l.is_open,h=c.eh_closeTooltip;return(0,i.jsx)(Qt,{onClickAway:h,children:(0,i.jsx)(Wt.Z,{open:p,anchorEl:d,placement:"bottom",children:(0,i.jsx)(Jt.Z,{in:p,children:(0,i.jsx)(a.Z,{sx:{p:2,bgcolor:"transparent"},maxWidth:{xs:250,lg:500},children:(0,i.jsx)(a.Z,{p:2,border:"1px solid #000",bgcolor:"#fff",borderRadius:2,lineHeight:1.35,boxShadow:p?"0px 0px 20px 1px rgba(0,0,0,0.2)":"none",children:f})})})})})},tn=n(14559),nn=n(92772),rn=n(83454),on="teachers";rn.env.NEXT_PUBLIC_DEV;var an=function(e){var t=e.config,n=t.is_link,r=void 0!==n&&n,o=t.is_mobile;return r&&!(void 0!==o&&o)?(0,i.jsx)(P(),{href:e.data.url,passHref:!0,children:(0,i.jsx)("a",{children:e.children})}):e.children},sn=J.Z.teachers.default,ln={size:"md",level:"h2",style:"default",lineheight:1.5,color:"default"},un=(0,f.cL)(on).color,cn={width:"100%",height:"100%",objectFit:"cover"},fn=function(e){return{position:"relative",cursor:Vt(e)?"pointer":"help","&::after":{content:'""',position:"absolute",top:0,left:0,right:0,bottom:0,zIndex:1,borderRadius:"50%",border:"1px solid #000"},"&:hover::after":{border:Vt(e)?"3px solid ".concat(un):"1px solid #000"}}},dn=function(e){var t,n=e.DATA,s=void 0===n?{text_beforeBadges:"",badges:[]}:n,l=e.CONFIG,u=void 0===l?{width:"regular",size:ln.size}:l,c=function(e){T&&T.contains(e.target)||S((function(e){return e.map((function(e){return(0,o.Z)((0,r.Z)({},e),{is_open:!1})}))}))},f=function(e){P((function(t){return(0,Ke.Z)(t).concat([e])}))},d=(0,r.Z)({},ln,u),p=d.width,h=d.size,m=(d.level,d.lineheight),g="highlight"==d.color?un:sn,v=nn.Z.comfortaa[h],y=s.text_beforeBadges,b=s.badges,x=function(){var e=function(){return{width:t?window.innerWidth:null,height:t?window.innerHeight:null}},t=!0,n=(0,Y.useState)(e()),r=n[0],o=n[1];return(0,Y.useEffect)((function(){if(t){var n=function(){o(e())};return window.addEventListener("resize",n),function(){return window.removeEventListener("resize",n)}}}),[t]),r}().width<600,w=(t=b)?t.map((function(e,t){return{id:t,text:e.infoText,is_open:!1}})):console.warn("make_badgeTooltipStates(BADGESDATA): No data provided."),_=(0,Y.useState)(w),k=_[0],S=_[1],E=(0,Y.useState)(null),T=E[0],O=E[1],j=(0,Y.useState)([]),I=j[0],P=j[1];return s?(0,i.jsx)(A.Z,{WIDTH:p,MB:3.25,children:(0,i.jsxs)(a.Z,{display:"flex",alignItems:"center",flexWrap:"wrap",columnGap:2,rowGap:1,fontFamily:"Comfortaa",fontSize:{xs:v.mobile.size,sm:v.desktop.size},lineHeight:m,color:g,children:[Vt(y)?(0,i.jsx)("div",{className:"text-comfortaa-lg-mobile sm:text-comfortaa-lg-tablet-ls desk-sm:text-comfortaa-lg-desk-sm desk-med:text-comfortaa-lg-desk-md desk-lg:text-comfortaa-lg-desk-lg",children:(0,i.jsx)("span",{children:y})}):null,(0,i.jsx)(a.Z,{display:"flex",flexWrap:"wrap",columnGap:2,rowGap:1,children:b.map((function(e,t){var n=e.title,s=e.logo,l=e.infoText,u=e.url,d=(0,C.L)(s),p=u?[{text:"Learn more",target:u,is_external:!1}]:null;return(0,i.jsxs)(Y.Fragment,{children:[(0,i.jsxs)(an,{data:e,config:{is_link:Vt(u),is_mobile:x},children:[(0,i.jsxs)(a.Z,{display:"flex",alignItems:"center",columnGap:1,children:[Gt(d)?(0,i.jsx)(a.Z,{height:"1.5em",width:"1.5em",display:"flex",justifyContent:"center",alignItems:"center",borderRadius:"50%",overflow:"hidden",sx:fn(u),onClick:function(){return function(e){x&&f(e)}(t)},onMouseEnter:function(e){return function(e,t){if(x)return console.warn("eh_mouseEnter(e, i): Not available on mobile.");S((function(e){return e.map((function(e){return e?(0,o.Z)((0,r.Z)({},e),{is_open:e.id===t}):null}))})),O(e.currentTarget)}(e,t)},onMouseLeave:function(){return S((function(e){return e.map((function(e){return(0,o.Z)((0,r.Z)({},e),{is_open:!1})}))}))},children:(0,i.jsx)("img",{src:"https://cdn.ootiboo.com"+d.url,alt:"logo",style:cn})}):null,Vt(n)?(0,i.jsx)("span",{children:n}):null]},"badgeBox-".concat(t)),Vt(l)?(0,i.jsx)(en,{CONTENT:{text:l},STATE:k[t],CONFIG:{anchorEl:T},HDL:{eh_closeTooltip:c}},"tooltip-"+t):null]},"badgeWrapper-".concat(t)),(0,i.jsx)(tn.Z,{DATA:{headline:"About this partner",text:l,links:p},CONFIG:{type:"text"},STATE:{is_open:I.includes(t)},HANDLERS:{eh_close:function(){return function(e){P((function(t){return t.filter((function(t){return t!==e}))}))}(t)}}},"modal-"+t)]},"badgeFragment-".concat(t))}))})]})}):null},pn=n(83454).env.NEXT_PUBLIC_API_URL,hn=(0,f.cL)("teachers"),mn=hn.color,gn=hn.color_light,vn={size:"normal",width:"regular"},yn={width:"100%",height:"100%",objectFit:"cover"},bn=function(e){var t=e.DATA,n=void 0===t?{text:"",authorImg:null}:t,o=e.CONFIG,s=void 0===o?{}:o;if(!n)return null;var l=n.text,f=n.authorImg?(0,C.L)(n.authorImg):null,p=(0,r.Z)({},vn,s),h=p.size,m=p.width;return(0,i.jsxs)(A.Z,{STYLES:{display:"flex",flexWrap:{xs:"wrap",sm:"noWrap"}},WIDTH:m,children:[(0,i.jsx)(a.Z,{width:"3rem",height:"3rem",minWidth:"3rem",lineHeight:1,display:"flex",justifyContent:"center",alignItems:"center",borderRadius:99,bgcolor:gn,children:(0,i.jsx)(u.G,{icon:c.Psp,color:mn,size:"lg"})}),(0,i.jsx)(a.Z,{p:{xs:2,sm:3},pt:{xs:1.5,sm:2.5},pb:{xs:1.5,sm:2.5},borderRadius:2,bgcolor:gn,children:(0,i.jsx)(d.Z,{TEXT:l,IS_italic:!0,SIZE:"large"===h?"md":"sm"})}),f?(0,i.jsx)(a.Z,{width:{xs:"100%",sm:"12rem"},height:"12rem",minWidth:"12rem",ml:{xs:0,sm:1},mt:{xs:1,sm:0},borderRadius:2,overflow:"hidden",children:(0,i.jsx)("img",{src:pn+f.url,alt:f.alt,style:yn})}):null]})},xn=n(46137),wn=n(83454),_n=(wn.env.NEXT_PUBLIC_DEV,(0,f.cL)("teachers").color),kn={bubbles:[]},Cn={width:"regular"},Sn=function(e){var t=e.DATA,n=void 0===t?kn:t,o=e.CONFIG,a=void 0===o?Cn:o,s=(0,r.Z)({},kn,n),l=(0,r.Z)({},Cn,a),u=s.bubbles,c=l.width,f=(0,Y.useState)(null),d=f[0],p=f[1];return(0,i.jsx)(A.Z,{WIDTH:c,MB:3.25,children:(0,i.jsx)("div",{className:"flex flex-wrap gap-x-2",children:u.map((function(e,t){var n,r=e.id,o=e.title,a=e.color,s=e.text,l=(0,C.L)(e.img),u=Gt(l),c=d===r;return(0,i.jsxs)(Y.Fragment,{children:[(0,i.jsx)(xn.Z,{title:o,componentsProps:(n=a||_n,{tooltip:{sx:{backgroundColor:n,color:"#fff",fontFamily:"Favorit Pro Regular",fontSize:"16px"}}}),children:(0,i.jsxs)("button",{"data-is-active":c,onClick:function(){return p(r)},className:"group/bubble relative rounded-full w-[--w] h-[--h] lg:w-[--w-desk-sm] lg:h-[--h-desk-sm] xl:w-[--w-desk-md] xl:h-[--h-desk-md] 2xl:w-[--w-desk-lg] 2xl:h-[--h-desk-lg] flex-center text-[--color-text] bg-white border border-solid border-black hover:border-transparent",style:{"--w":"3.25rem","--h":"3.25rem","--w-desk-sm":"4rem","--h-desk-sm":"4rem","--w-desk-md":"4rem","--h-desk-md":"4rem","--w-desk-lg":"6rem","--h-desk-lg":"6rem","--color-text":"#fff","--color-border-active":_n,"--color-bg-inner":a&&!u?a:"transparent"},children:[(0,i.jsx)("div",{className:"size-full",children:(0,i.jsx)("div",{className:"size-full flex-center rounded-full bg-[--color-bg-inner]",children:u?(0,i.jsx)("img",{src:"https://cdn.ootiboo.com"+l.url,className:"size-full object-contain"}):(0,i.jsx)("p",{className:"-translate-y-1",children:o})})}),(0,i.jsx)("div",{className:"absolute-t-l z-[2] size-full rounded-full border-[3px] border-[--color-border-active] hidden group-hover/bubble:block group-data-[is-active=true]/block"})]},t)}),(0,i.jsx)(tn.Z,{DATA:{headline:o,text:s},CONFIG:{type:"text"},STATE:{is_open:c},HANDLERS:{eh_close:function(){return p(null)}}},"modal-"+t)]},r)}))})})},En=function(e){e.PAGEID,e.PAGETITLE;var t=e.BLOCKS,n=e.COLLECTIONS,u=e.OPTIONS,c=(e.USERDATA,e.CONFIG),f=(void 0===c?{forcedBlockWidth:null}:c).forcedBlockWidth;return(0,i.jsx)(i.Fragment,{children:t?t.map((function(e,c){var d,p,m,g=(0,l.Qv)(e);if("headline"===g&&e.text)return(0,i.jsx)(M,{TEXT:e.text},c);if("headline-proto"===g&&e.text){var v=e.text,y=e.level,b=e.style;return(0,i.jsx)(B,{TEXT:v,CONFIG:{level:y,style:b},WIDTH:f||"regular"},c)}if("text"===g&&e.text)return(0,i.jsx)(F.Z,{TEXT:e.text,MORE:e.text_more,WIDTH:f||"regular"},c);if("tabbed-content"===g)return(0,i.jsx)(je,{DATA:e,WIDTH:f||"regular"},c);if("collapsible"===g){var w=e.headline,_=e.text,k=e.items;return(0,i.jsx)(wt,{HEADLINE:w,TEXT:_,ITEMS:k,WIDTH:f||"regular"},c)}if("image"===g&&e.image){var C=e.image,S=e.width,E=void 0===S?"regular":S,A=e.position,I=void 0===A?"left":A;return C.has_border=!0,(0,i.jsx)(O.Z,{WIDTH:E,WIDTH_wrapper:f||null,POS:I,IMAGE:C,CONFIG:{mb:4,addStyles:null}},c)}if("image-grid"===g&&e.images)return(0,i.jsx)(j,{IMAGES:e.images},c);if("gallery"===g&&(null===(m=e.imgs)||void 0===m?void 0:m.length)>0){if(e.imgs.length>1){var P=e.imgs,N=e.width,R=void 0===N?"regular":N,Z=e.slideAspectRatio?e.slideAspectRatio:{w:4,h:3};return(0,i.jsx)(me,{IMAGES:P,WIDTH:f||R,CONFIG:{slideAspectRatio:Z}},c)}var L=e.imgs[0];return(0,i.jsx)(O.Z,{WIDTH:f||"regular",IMAGE:L},c)}if("gallery-proto"===g&&(null===e||void 0===e||null===(d=e.imgs)||void 0===d?void 0:d.length)>1){var z=e.imgs,H=e.width,$=void 0===H?"regular":H,U=e.height,V=void 0===U?"large":U,G=e.position,q=void 0===G?"left":G,Y=e.slideAspectRatio?e.slideAspectRatio:{w:4,h:3};return(0,i.jsx)(me,{IMAGES:z,WIDTH:f||$,WIDTH_wrapper:"full"===$&&"full"===f?"full":"regular",CONFIG:{slideAspectRatio:Y,height:V},POS:q},c)}if("contact-form"===g)return(0,i.jsx)(se,{DATA:e,WIDTH:f||"regular"},c);if("call-to-action"===g||"cta-block"===g)return(0,i.jsx)(X,{DATA:e,WIDTH:f||"regular"},c);if("video"===g){var K=e.width,Q=void 0===K?"regular":K,J=e.position,ee=void 0===J?"left":J;return(0,i.jsx)(Ee,{DATA:e,WIDTH:Q,WIDTH_wrapper:f||null,POS:ee},c)}if("quote"===g||"testimonial"===g)return(0,i.jsx)(W,{DATA:e,CONFIG:{size:e.size,width:f||"regular"}},c);if("tip"===g||"teacher-tip"===g)return(0,i.jsx)(a.Z,{mb:c<t.length-1?2:0,pr:{md:0,lg:"20%",xl:"33%"},children:(0,i.jsx)(h,{TEXT:e.text,LABEL:"teacher-tip"===g?"Teacher Tip":e.label})},c);if("tip"===g)return(0,i.jsx)(a.Z,{mb:c<t.length-1?2:0,pr:{md:0,lg:"20%",xl:"33%"},children:(0,i.jsx)(h,{TEXT:e.text,LABEL:e.label})},c);if("instructions"===g)return(0,i.jsx)(a.Z,{mb:c<t.length-1?2:0,pr:{md:0,lg:"20%",xl:"33%"},children:(0,i.jsx)(x,{HEADLINE:e.headline,TEXT:e.text,STEP:e.step,WITH_step:e.with_step})},c);if("project-step-by-step"===g){var te=e.steps;return(0,i.jsx)(a.Z,{mb:c<t.length-1?2:0,pr:{md:0,lg:"20%",xl:"33%"},children:(0,s.c)(te,!0)?te.map((function(e,t){return(0,i.jsx)(a.Z,{mb:t<te.length-1?2:0,children:(0,i.jsx)(T,{STEP:e})},t)})):null},c)}if("team-member-grid"===g&&e.teamMembers.data)return(0,i.jsx)(D,{MEMBERS:e.teamMembers.data},c);if("downloads"===g&&e.downloads.length>0){var ne=e.downloads,re=e.label,oe=e.infoText,ie=e.cardListColumnCount,ae=e.with_downloadAllBtn,le=e.with_collapsible,ue=e.userInfoRequired,ce=e.ctaText_userNotLoggedIn;return(0,i.jsx)(vt,{DOWNLOADS:ne,CONTENT:{label:re,customInfoText:oe,ctaText_userNotLoggedIn:ce},OPTIONS:(0,o.Z)((0,r.Z)({},u),{cardListColumnCount:ie,with_downloadAllBtn:ae,with_collapsible:le,userInfoRequired:ue})},c)}if("card-grid"===g&&e.cards&&e.cards.length>0){var fe=e.cards,de=e.columnCount,pe=e.width;return(0,i.jsx)(jt,{WIDTH:pe,CARDS:fe,CONFIG:{columnCount:de}},c)}if("card-grid-auto"===g&&e.requiredCollection){var he=e.requiredCollection,ge=e.requiredTagsCollection,ve=e.filterBarLabel,ye=e.with_filterBar,be=e.columnCount,xe=e.pageLimit,we=e.width,_e=n.find((function(e){var t,n;return e.id===(null===he||void 0===he||null===(t=he.data)||void 0===t||null===(n=t.attributes)||void 0===n?void 0:n.collectionID)})),ke=ye?n.find((function(e){var t,n;return e.id===(null===ge||void 0===ge||null===(t=ge.data)||void 0===t||null===(n=t.attributes)||void 0===n?void 0:n.collectionID)})):null,Ce={columnCount:be,pageLimit:xe,with_filterBar:ye,filterBarLabel:ve};return(0,i.jsx)(zt,{WIDTH:we,COLLECTION:_e,FILTERTAGS:ke,CONFIG:Ce},c)}if("card-grid-team"===g){var Se=e.columnCount,Te=void 0===Se?3:Se,Oe=e.filter_group,Ae=void 0===Oe?null:Oe,Ie=n.find((function(e){return"team-members"===e.id}));return(0,i.jsx)(Ht,{DATA:{teamMembers:Ie},CONFIG:{width:f||"regular",columnCount:Te,filter_group:Ae}},c)}return"project-material-list"===g&&e.items?(0,i.jsx)(Ut,{CONTENT:{items:e.items},CONFIG:{width:f||e.width}},c):"partner-badges"===g&&e.badges?(0,i.jsx)(dn,{DATA:e,CONFIG:{width:f||"regular",size:e.size,color:e.color}},c):"question"===g&&e.text?(0,i.jsx)(bn,{DATA:e,CONFIG:{width:f||"regular"}},c):"content-bubbles"===g&&(null===(p=e.bubbles)||void 0===p?void 0:p.length)>0?(0,i.jsx)(Sn,{DATA:{bubbles:e.bubbles},CONFIG:{width:f||"regular"}},c):void 0})):null})}},35617:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(29815),o=n(85893),i=n(38155),a=n(89609),s=n(16483),l=function(e){var t=e.MT,n=e.MR,r=e.MB,i=e.ML,l=e.COLOR,u=e.IS_active,c=e.ON_click,f=(0,s.cL)("teachers").color,d={"&:hover":{backgroundColor:f=l||f,borderColor:f,color:"#fff",cursor:"pointer"}};return(0,o.jsx)(a.Z,{mt:t||0,mr:n||0,mb:r||0,ml:i||0,p:1,display:"inline-flex",justifyContent:"center",alignItems:"center",border:"1px solid",borderRadius:99,backgroundColor:"#fff",sx:d,onClick:c,"data-type":"button",children:(0,o.jsxs)("svg",{style:{width:"0.666rem",stroke:"#000",transform:"rotate(".concat(u?0:45,"deg)")},xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18.71 18.71",children:[(0,o.jsx)("line",{vectorEffect:"non-scaling-stroke",x1:"18.35",y1:"18.35",x2:".35",y2:".35"}),(0,o.jsx)("line",{vectorEffect:"non-scaling-stroke",x1:"18.35",y1:".35",x2:".35",y2:"18.35"})]})})},u=n(11163),c=n(58192);var f=function(e,t,n,o,i,a,s){if("all"===e)n(["all"]);else{var l,u=t;if(u.includes(e)){var c=(l=(0,r.Z)(u)).indexOf(e);c>-1&&l.splice(c,1)}else l=(0,r.Z)(u).concat([e]);n([e])}},d=((0,s.cL)("teachers").color,function(e){var t=e.TEXT,n=e.VALUE,r=e.FILTERS,i=e.IS_active,a=e.FN_filterUpdt,s=e.PAGEINDEX,l=e.COUNT_filteredItems,d=e.COUNT_itemsPerPage,p=(0,u.useRouter)().pathname.substring(1);return(0,o.jsx)(c.Z,{TEXT:t,SIZE:"verySmall",MR:.5,MB:.5,IS_active:i,ON_click:function(){return f(n,r,a,s,l,d,p)},CONFIG:{addClasses:"capitalize"}})}),p=function(e){var t=e.LABEL,n=e.TAGS,a=e.FILTERS,s=e.SET_filters,u=e.UI,c=e.SET_ui,f=e.PAGEINDEX,p=e.COUNT_filteredItems,h=e.COUNT_itemsPerPage;if(!n)return null;var m=t||"filter\u2026",g=n?n.slice(0,4):null,v=n?n.slice(4):null,y=v?v.filter((function(e){return a.includes(e.value)})):null,b=u.filterbar.closed?(0,r.Z)(g).concat((0,r.Z)(y)):g,x=u.filterbar.closed?y:v,w=void 0!=v&&v.length>0,_=1===a.length&&"all"===a[0],k=u.filterbar.closed;return(0,o.jsxs)("div",{children:[(0,o.jsx)("div",{className:"mb-3",children:(0,o.jsx)(i.Z,{TEXT:m})}),(0,o.jsxs)("div",{className:"flex justify-start flex-wrap gap-1",children:[(0,o.jsx)(d,{TEXT:"All",VALUE:"all",FILTERS:a,IS_active:_,FN_filterUpdt:s}),b.map((function(e,t){var n=e||{},r=n.text,i=void 0===r?e.text?e.text:e:r,l=n.value,u=void 0===l?e.value?e.value:e:l,c=a.includes(u);return(0,o.jsx)(d,{TEXT:i,VALUE:u,FILTERS:a,PAGEINDEX:f,COUNT_filteredItems:p,COUNT_itemsPerPage:h,IS_active:c,FN_filterUpdt:s},t)})),!k&&w?x.map((function(e,t){var n=e||{},r=n.text,i=void 0===r?e.text?e.text:e:r,l=n.value,u=void 0===l?e.value?e.value:e:l,c=a.includes(e.value);return(0,o.jsx)(d,{TEXT:i,VALUE:u,FILTERS:a,PAGEINDEX:f,COUNT_filteredItems:p,COUNT_itemsPerPage:h,IS_active:c,FN_filterUpdt:s},t)})):null,w?(0,o.jsx)(l,{MB:.5,IS_active:!k,ON_click:function(){return c({filterbar:{closed:!k},view:{mode:u.view.mode}})}}):null]})]})}},63084:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n(85893),o=n(67294),i=n(99226),a=n(78078),s=n(58192),l=n(16483),u=n(35596),c=n(42625),f=n(47568),d=n(20414),p=n(29441),h=n(53881);function m(){return g.apply(this,arguments)}function g(){return g=(0,f.Z)((function(){var e,t,n=arguments;return(0,d.__generator)(this,(function(r){return e=n.length>0&&void 0!==n[0]?n[0]:{subscriberEmail:null},t=n.length>1&&void 0!==n[1]?n[1]:{recipients:["info@ootiboo.com"]},[2,new Promise((function(n,r){var o=e.subscriberEmail,i=void 0===o?null:o,a=t.recipients,s=void 0===a?["info@ootiboo.com"]:a,l='\n    <div style="font-size: 18px">\n      <b style="text-decoration: underline">NEWSLETTER SUBSCRIPTION</b>\n\n      <br><br>\n\n      Someone has subscribed to our newsletter.\n      <br>\n      The subscriber\u2019s e-mail address is:\n      <b style="color: '.concat(i?"fuchsia":"lightgrey",'">').concat(i||"n/a","</b>\n    </div>");(0,h.Z)(l,s).then((function(){return n()})).catch((function(e){console.log(e),r()}))}))]}))})),g.apply(this,arguments)}function v(){return v=(0,f.Z)((function(){var e,t,n,r,o,i,a,s,l,u,c,f,h,g=arguments;return(0,d.__generator)(this,(function(d){switch(d.label){case 0:return e=g.length>0&&void 0!==g[0]?g[0]:{subscriberEmail:null},t=g.length>1&&void 0!==g[1]?g[1]:{notificationConfig:{recipients:["info@ootiboo.com"],sendEmailNotification:!0,sendSlackNotification:!1,slackWebHookURL:null}},n=g.length>2&&void 0!==g[2]?g[2]:{resetForm:function(){return console.log("resetForm")},set_notification:function(){return console.log("set_notification")}},e&&e.subscriberEmail?(r=e.subscriberEmail,o=t.notificationConfig,i=n.resetForm,a=n.set_notification,s=o.sendEmailNotification,l=o.sendSlackNotification,[4,fetch("/api/subscribe",{body:JSON.stringify({email:r}),headers:{"Content-Type":"application/json"},method:"POST"})]):[2];case 1:return[4,d.sent().json()];case 2:return u=d.sent(),c=u.error,(f=void 0===c?null:c)?(h="",h="Member Exists"===f.title?"<p>You\u2019re already subscribed to our mailing list.</p>":"Email is required"===f?"<p>Please enter a valid e-mail address.</p>":"<p>Sorry, something went wrong.</p>",a({text:h,hidden:!1,successful:!1}),[2]):(i(),a({text:"<p>Your subscription was successful!</p>",hidden:!1,successful:!0}),s&&m({subscriberEmail:r},o),l&&(0,p.cS)(),[2])}}))})),v.apply(this,arguments)}var y=function(){return v.apply(this,arguments)},b=function(){var e=function(){g(""),x(""),k("")},t=(0,l.gg)(),n=t.color_success,f=t.color_error,d=(0,u.K)().locale,p=(0,c.Z)("newsletterSubscription"),h=(0,o.useState)(""),m=h[0],g=h[1],v=(0,o.useState)(""),b=v[0],x=v[1],w=(0,o.useState)(""),_=w[0],k=w[1],C=(0,o.useState)({text:"",hidden:!0,successful:!1}),S=C[0],E=C[1];return(0,r.jsx)(i.Z,{children:(0,r.jsxs)("form",{children:[(0,r.jsxs)("formgroup",{children:[(0,r.jsxs)(i.Z,{mb:2,display:{xs:"block",md:"flex"},children:[(0,r.jsx)(i.Z,{flex:{xs:"unset",md:1},mr:{xs:0,md:2},mb:{xs:2,md:0},children:(0,r.jsx)(a.Z,{VALUE:m,LABEL:"de"===d?"Vorname":"First Name",PLACEHOLDER:"Your first name\u2026",ACTION_updtValue:g})}),(0,r.jsx)(i.Z,{flex:{xs:"unset",md:1},children:(0,r.jsx)(a.Z,{VALUE:b,LABEL:"de"===d?"Nachname":"Last Name",PLACEHOLDER:"Your last name\u2026",ACTION_updtValue:x})})]}),(0,r.jsx)(i.Z,{children:(0,r.jsx)(a.Z,{VALUE:_,LABEL:"de"===d?"E-Mail":"Email",PLACEHOLDER:"Your email address\u2026",ACTION_updtValue:k})})]}),(0,r.jsx)(i.Z,{mt:2,children:(0,r.jsx)(s.Z,{TEXT:"de"===d?"Abschicken":"Send",SIZE:"small",ON_click:function(t){t.preventDefault(),y({firstName:m,lastName:b,subscriberEmail:_},{notificationConfig:p},{resetForm:e,set_notification:E})}})}),S.hidden?null:(0,r.jsx)(i.Z,{mt:2,children:(0,r.jsxs)(i.Z,{p:2,display:"inline-flex",color:"#fff",borderRadius:2,bgcolor:S.successful?n:f,children:[(0,r.jsx)(i.Z,{dangerouslySetInnerHTML:{__html:S.text}}),(0,r.jsx)("button",{onClick:function(){return E({text:S.text,hidden:!0})}})]})})]})})}},61550:function(e,t,n){"use strict";var r=n(26042),o=n(85893),i=n(99226),a=n(88262),s={},l='\n  <a href="/api/auth/login">Log in</a> to your ootiboo school account to use this form.\n  <br><br> \n  If you are already an ootiboo school please log in so you can share from this page. \n  If you are not an ootiboo school you can <a href="https://teachers.ootiboo.com/sign-up" target="_blank" rel="noopener noreferrer">sign up totally free</a>.\n';t.Z=function(e){var t=e.DATA,n=void 0===t?{text:l}:t,u=e.CONFIG,c=void 0===u?{}:u,f=n.text?n.text:l;(0,r.Z)({},s,c);return(0,o.jsx)(i.Z,{children:(0,o.jsx)(a.Z,{TEXT:f})})}},117:function(e,t,n){"use strict";var r=n(26042),o=n(85893),i=n(99226),a={is_required:!1,is_locked:!1,width:{xs:2,sm:2,md:1}};t.Z=function(e){var t=e.CONFIG||a,n=(0,r.Z)({},a,t),s=n.width,l=n.respWidth,u=n.is_locked,c=l||s;return(0,o.jsx)(i.Z,{className:"fieldWrapper",gridColumn:{xs:"span ".concat(c.xs?c.xs:a.width.xs),sm:"span ".concat(c.sm?c.sm:a.width.sm),md:"span ".concat(c.md?c.md:a.width.md)},display:"flex",flexDirection:"column",justifyContent:"flex-start",sx:{pointerEvents:u?"none":"auto"},children:e.children})}},1619:function(e,t,n){"use strict";n.d(t,{Z:function(){return je}});var r=n(26042),o=n(69396),i=n(85893),a=n(99226),s=n(63366),l=n(87462),u=n(67294),c=n(86010),f=n(58510);var d=u.createContext(void 0);function p(){return u.useContext(d)}var h=n(15861),m=n(98216),g=n(90948),v=n(71657),y=n(1977),b=n(8027);function x(e){return(0,b.ZP)("MuiFormControlLabel",e)}var w=(0,y.Z)("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]);const _=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","required","slotProps","value"],k=(0,g.ZP)("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${w.label}`]:t.label},t.root,t[`labelPlacement${(0,m.Z)(n.labelPlacement)}`]]}})((({theme:e,ownerState:t})=>(0,l.Z)({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${w.disabled}`]:{cursor:"default"}},"start"===t.labelPlacement&&{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},"top"===t.labelPlacement&&{flexDirection:"column-reverse",marginLeft:16},"bottom"===t.labelPlacement&&{flexDirection:"column",marginLeft:16},{[`& .${w.label}`]:{[`&.${w.disabled}`]:{color:(e.vars||e).palette.text.disabled}}}))),C=(0,g.ZP)("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})((({theme:e})=>({[`&.${w.error}`]:{color:(e.vars||e).palette.error.main}})));var S=u.forwardRef((function(e,t){var n,r;const o=(0,v.Z)({props:e,name:"MuiFormControlLabel"}),{className:a,componentsProps:d={},control:g,disabled:y,disableTypography:b,label:w,labelPlacement:S="end",required:E,slotProps:T={}}=o,O=(0,s.Z)(o,_),A=p(),j=null!=(n=null!=y?y:g.props.disabled)?n:null==A?void 0:A.disabled,I=null!=E?E:g.props.required,P={disabled:j,required:I};["checked","name","onChange","value","inputRef"].forEach((e=>{"undefined"===typeof g.props[e]&&"undefined"!==typeof o[e]&&(P[e]=o[e])}));const N=function({props:e,states:t,muiFormControl:n}){return t.reduce(((t,r)=>(t[r]=e[r],n&&"undefined"===typeof e[r]&&(t[r]=n[r]),t)),{})}({props:o,muiFormControl:A,states:["error"]}),R=(0,l.Z)({},o,{disabled:j,labelPlacement:S,required:I,error:N.error}),Z=(e=>{const{classes:t,disabled:n,labelPlacement:r,error:o,required:i}=e,a={root:["root",n&&"disabled",`labelPlacement${(0,m.Z)(r)}`,o&&"error",i&&"required"],label:["label",n&&"disabled"],asterisk:["asterisk",o&&"error"]};return(0,f.Z)(a,x,t)})(R),L=null!=(r=T.typography)?r:d.typography;let D=w;return null==D||D.type===h.Z||b||(D=(0,i.jsx)(h.Z,(0,l.Z)({component:"span"},L,{className:(0,c.Z)(Z.label,null==L?void 0:L.className),children:D}))),(0,i.jsxs)(k,(0,l.Z)({className:(0,c.Z)(Z.root,a),ownerState:R,ref:t},O,{children:[u.cloneElement(g,P),D,I&&(0,i.jsxs)(C,{ownerState:R,"aria-hidden":!0,className:Z.asterisk,children:["\u2009","*"]})]}))})),E=n(88111),T=n(49299),O=n(51705),A=n(2068),j=n(79674);var I=n(75068),P=n(220);function N(e,t){var n=Object.create(null);return e&&u.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&(0,u.isValidElement)(e)?t(e):e}(e)})),n}function R(e,t,n){return null!=n[t]?n[t]:e.props[t]}function Z(e,t,n){var r=N(e.children),o=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var s={};for(var l in t){if(o[l])for(r=0;r<o[l].length;r++){var u=o[l][r];s[o[l][r]]=n(u)}s[l]=n(l)}for(r=0;r<i.length;r++)s[i[r]]=n(i[r]);return s}(t,r);return Object.keys(o).forEach((function(i){var a=o[i];if((0,u.isValidElement)(a)){var s=i in t,l=i in r,c=t[i],f=(0,u.isValidElement)(c)&&!c.props.in;!l||s&&!f?l||!s||f?l&&s&&(0,u.isValidElement)(c)&&(o[i]=(0,u.cloneElement)(a,{onExited:n.bind(null,a),in:c.props.in,exit:R(a,"exit",e),enter:R(a,"enter",e)})):o[i]=(0,u.cloneElement)(a,{in:!1}):o[i]=(0,u.cloneElement)(a,{onExited:n.bind(null,a),in:!0,exit:R(a,"exit",e),enter:R(a,"enter",e)})}})),o}var L=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},D=function(e){function t(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(r));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}(0,I.Z)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,r,o=t.children,i=t.handleExited;return{children:t.firstRender?(n=e,r=i,N(n.children,(function(e){return(0,u.cloneElement)(e,{onExited:r.bind(null,e),in:!0,appear:R(e,"appear",n),enter:R(e,"enter",n),exit:R(e,"exit",n)})}))):Z(e,o,i),firstRender:!1}},n.handleExited=function(e,t){var n=N(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=(0,l.Z)({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=(0,s.Z)(e,["component","childFactory"]),o=this.state.contextValue,i=L(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?u.createElement(P.Z.Provider,{value:o},i):u.createElement(P.Z.Provider,{value:o},u.createElement(t,r,i))},t}(u.Component);D.propTypes={},D.defaultProps={component:"div",childFactory:function(e){return e}};var F=D,M=n(70917);var z=function(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:a,rippleSize:s,in:l,onExited:f,timeout:d}=e,[p,h]=u.useState(!1),m=(0,c.Z)(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),g={width:s,height:s,top:-s/2+a,left:-s/2+o},v=(0,c.Z)(n.child,p&&n.childLeaving,r&&n.childPulsate);return l||p||h(!0),u.useEffect((()=>{if(!l&&null!=f){const e=setTimeout(f,d);return()=>{clearTimeout(e)}}}),[f,l,d]),(0,i.jsx)("span",{className:m,style:g,children:(0,i.jsx)("span",{className:v})})};var B=(0,y.Z)("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]);const H=["center","classes","className"];let $,U,V,G,W=e=>e;const q=(0,M.F4)($||($=W`
  0% {
    transform: scale(0);
    opacity: 0.1;
  }

  100% {
    transform: scale(1);
    opacity: 0.3;
  }
`)),X=(0,M.F4)(U||(U=W`
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
`)),Y=(0,M.F4)(V||(V=W`
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(0.92);
  }

  100% {
    transform: scale(1);
  }
`)),K=(0,g.ZP)("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),Q=(0,g.ZP)(z,{name:"MuiTouchRipple",slot:"Ripple"})(G||(G=W`
  opacity: 0;
  position: absolute;

  &.${0} {
    opacity: 0.3;
    transform: scale(1);
    animation-name: ${0};
    animation-duration: ${0}ms;
    animation-timing-function: ${0};
  }

  &.${0} {
    animation-duration: ${0}ms;
  }

  & .${0} {
    opacity: 1;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: currentColor;
  }

  & .${0} {
    opacity: 0;
    animation-name: ${0};
    animation-duration: ${0}ms;
    animation-timing-function: ${0};
  }

  & .${0} {
    position: absolute;
    /* @noflip */
    left: 0px;
    top: 0;
    animation-name: ${0};
    animation-duration: 2500ms;
    animation-timing-function: ${0};
    animation-iteration-count: infinite;
    animation-delay: 200ms;
  }
`),B.rippleVisible,q,550,(({theme:e})=>e.transitions.easing.easeInOut),B.ripplePulsate,(({theme:e})=>e.transitions.duration.shorter),B.child,B.childLeaving,X,550,(({theme:e})=>e.transitions.easing.easeInOut),B.childPulsate,Y,(({theme:e})=>e.transitions.easing.easeInOut));var J=u.forwardRef((function(e,t){const n=(0,v.Z)({props:e,name:"MuiTouchRipple"}),{center:r=!1,classes:o={},className:a}=n,f=(0,s.Z)(n,H),[d,p]=u.useState([]),h=u.useRef(0),m=u.useRef(null);u.useEffect((()=>{m.current&&(m.current(),m.current=null)}),[d]);const g=u.useRef(!1),y=u.useRef(0),b=u.useRef(null),x=u.useRef(null);u.useEffect((()=>()=>{y.current&&clearTimeout(y.current)}),[]);const w=u.useCallback((e=>{const{pulsate:t,rippleX:n,rippleY:r,rippleSize:a,cb:s}=e;p((e=>[...e,(0,i.jsx)(Q,{classes:{ripple:(0,c.Z)(o.ripple,B.ripple),rippleVisible:(0,c.Z)(o.rippleVisible,B.rippleVisible),ripplePulsate:(0,c.Z)(o.ripplePulsate,B.ripplePulsate),child:(0,c.Z)(o.child,B.child),childLeaving:(0,c.Z)(o.childLeaving,B.childLeaving),childPulsate:(0,c.Z)(o.childPulsate,B.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:a},h.current)])),h.current+=1,m.current=s}),[o]),_=u.useCallback(((e={},t={},n=(()=>{}))=>{const{pulsate:o=!1,center:i=r||t.pulsate,fakeElement:a=!1}=t;if("mousedown"===(null==e?void 0:e.type)&&g.current)return void(g.current=!1);"touchstart"===(null==e?void 0:e.type)&&(g.current=!0);const s=a?null:x.current,l=s?s.getBoundingClientRect():{width:0,height:0,left:0,top:0};let u,c,f;if(i||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)u=Math.round(l.width/2),c=Math.round(l.height/2);else{const{clientX:t,clientY:n}=e.touches&&e.touches.length>0?e.touches[0]:e;u=Math.round(t-l.left),c=Math.round(n-l.top)}if(i)f=Math.sqrt((2*l.width**2+l.height**2)/3),f%2===0&&(f+=1);else{const e=2*Math.max(Math.abs((s?s.clientWidth:0)-u),u)+2,t=2*Math.max(Math.abs((s?s.clientHeight:0)-c),c)+2;f=Math.sqrt(e**2+t**2)}null!=e&&e.touches?null===b.current&&(b.current=()=>{w({pulsate:o,rippleX:u,rippleY:c,rippleSize:f,cb:n})},y.current=setTimeout((()=>{b.current&&(b.current(),b.current=null)}),80)):w({pulsate:o,rippleX:u,rippleY:c,rippleSize:f,cb:n})}),[r,w]),k=u.useCallback((()=>{_({},{pulsate:!0})}),[_]),C=u.useCallback(((e,t)=>{if(clearTimeout(y.current),"touchend"===(null==e?void 0:e.type)&&b.current)return b.current(),b.current=null,void(y.current=setTimeout((()=>{C(e,t)})));b.current=null,p((e=>e.length>0?e.slice(1):e)),m.current=t}),[]);return u.useImperativeHandle(t,(()=>({pulsate:k,start:_,stop:C})),[k,_,C]),(0,i.jsx)(K,(0,l.Z)({className:(0,c.Z)(B.root,o.root,a),ref:x},f,{children:(0,i.jsx)(F,{component:null,exit:!0,children:d})}))}));function ee(e){return(0,b.ZP)("MuiButtonBase",e)}var te=(0,y.Z)("MuiButtonBase",["root","disabled","focusVisible"]);const ne=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],re=(0,g.ZP)("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${te.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}});var oe=u.forwardRef((function(e,t){const n=(0,v.Z)({props:e,name:"MuiButtonBase"}),{action:r,centerRipple:o=!1,children:a,className:d,component:p="button",disabled:h=!1,disableRipple:m=!1,disableTouchRipple:g=!1,focusRipple:y=!1,LinkComponent:b="a",onBlur:x,onClick:w,onContextMenu:_,onDragLeave:k,onFocus:C,onFocusVisible:S,onKeyDown:E,onKeyUp:T,onMouseDown:I,onMouseLeave:P,onMouseUp:N,onTouchEnd:R,onTouchMove:Z,onTouchStart:L,tabIndex:D=0,TouchRippleProps:F,touchRippleRef:M,type:z}=n,B=(0,s.Z)(n,ne),H=u.useRef(null),$=u.useRef(null),U=(0,O.Z)($,M),{isFocusVisibleRef:V,onFocus:G,onBlur:W,ref:q}=(0,j.Z)(),[X,Y]=u.useState(!1);h&&X&&Y(!1),u.useImperativeHandle(r,(()=>({focusVisible:()=>{Y(!0),H.current.focus()}})),[]);const[K,Q]=u.useState(!1);u.useEffect((()=>{Q(!0)}),[]);const te=K&&!m&&!h;function oe(e,t,n=g){return(0,A.Z)((r=>{t&&t(r);return!n&&$.current&&$.current[e](r),!0}))}u.useEffect((()=>{X&&y&&!m&&K&&$.current.pulsate()}),[m,y,X,K]);const ie=oe("start",I),ae=oe("stop",_),se=oe("stop",k),le=oe("stop",N),ue=oe("stop",(e=>{X&&e.preventDefault(),P&&P(e)})),ce=oe("start",L),fe=oe("stop",R),de=oe("stop",Z),pe=oe("stop",(e=>{W(e),!1===V.current&&Y(!1),x&&x(e)}),!1),he=(0,A.Z)((e=>{H.current||(H.current=e.currentTarget),G(e),!0===V.current&&(Y(!0),S&&S(e)),C&&C(e)})),me=()=>{const e=H.current;return p&&"button"!==p&&!("A"===e.tagName&&e.href)},ge=u.useRef(!1),ve=(0,A.Z)((e=>{y&&!ge.current&&X&&$.current&&" "===e.key&&(ge.current=!0,$.current.stop(e,(()=>{$.current.start(e)}))),e.target===e.currentTarget&&me()&&" "===e.key&&e.preventDefault(),E&&E(e),e.target===e.currentTarget&&me()&&"Enter"===e.key&&!h&&(e.preventDefault(),w&&w(e))})),ye=(0,A.Z)((e=>{y&&" "===e.key&&$.current&&X&&!e.defaultPrevented&&(ge.current=!1,$.current.stop(e,(()=>{$.current.pulsate(e)}))),T&&T(e),w&&e.target===e.currentTarget&&me()&&" "===e.key&&!e.defaultPrevented&&w(e)}));let be=p;"button"===be&&(B.href||B.to)&&(be=b);const xe={};"button"===be?(xe.type=void 0===z?"button":z,xe.disabled=h):(B.href||B.to||(xe.role="button"),h&&(xe["aria-disabled"]=h));const we=(0,O.Z)(t,q,H);const _e=(0,l.Z)({},n,{centerRipple:o,component:p,disabled:h,disableRipple:m,disableTouchRipple:g,focusRipple:y,tabIndex:D,focusVisible:X}),ke=(e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,i={root:["root",t&&"disabled",n&&"focusVisible"]},a=(0,f.Z)(i,ee,o);return n&&r&&(a.root+=` ${r}`),a})(_e);return(0,i.jsxs)(re,(0,l.Z)({as:be,className:(0,c.Z)(ke.root,d),ownerState:_e,onBlur:pe,onClick:w,onContextMenu:ae,onFocus:he,onKeyDown:ve,onKeyUp:ye,onMouseDown:ie,onMouseLeave:ue,onMouseUp:le,onDragLeave:se,onTouchEnd:fe,onTouchMove:de,onTouchStart:ce,ref:we,tabIndex:h?-1:D,type:z},xe,B,{children:[a,te?(0,i.jsx)(J,(0,l.Z)({ref:U,center:o},F)):null]}))}));function ie(e){return(0,b.ZP)("PrivateSwitchBase",e)}(0,y.Z)("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const ae=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],se=(0,g.ZP)(oe)((({ownerState:e})=>(0,l.Z)({padding:9,borderRadius:"50%"},"start"===e.edge&&{marginLeft:"small"===e.size?-3:-12},"end"===e.edge&&{marginRight:"small"===e.size?-3:-12}))),le=(0,g.ZP)("input")({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1});var ue=u.forwardRef((function(e,t){const{autoFocus:n,checked:r,checkedIcon:o,className:a,defaultChecked:u,disabled:d,disableFocusRipple:h=!1,edge:g=!1,icon:v,id:y,inputProps:b,inputRef:x,name:w,onBlur:_,onChange:k,onFocus:C,readOnly:S,required:E=!1,tabIndex:O,type:A,value:j}=e,I=(0,s.Z)(e,ae),[P,N]=(0,T.Z)({controlled:r,default:Boolean(u),name:"SwitchBase",state:"checked"}),R=p();let Z=d;R&&"undefined"===typeof Z&&(Z=R.disabled);const L="checkbox"===A||"radio"===A,D=(0,l.Z)({},e,{checked:P,disabled:Z,disableFocusRipple:h,edge:g}),F=(e=>{const{classes:t,checked:n,disabled:r,edge:o}=e,i={root:["root",n&&"checked",r&&"disabled",o&&`edge${(0,m.Z)(o)}`],input:["input"]};return(0,f.Z)(i,ie,t)})(D);return(0,i.jsxs)(se,(0,l.Z)({component:"span",className:(0,c.Z)(F.root,a),centerRipple:!0,focusRipple:!h,disabled:Z,tabIndex:null,role:void 0,onFocus:e=>{C&&C(e),R&&R.onFocus&&R.onFocus(e)},onBlur:e=>{_&&_(e),R&&R.onBlur&&R.onBlur(e)},ownerState:D,ref:t},I,{children:[(0,i.jsx)(le,(0,l.Z)({autoFocus:n,checked:r,defaultChecked:u,className:F.input,disabled:Z,id:L?y:void 0,name:w,onChange:e=>{if(e.nativeEvent.defaultPrevented)return;const t=e.target.checked;N(t),k&&k(e,t)},readOnly:S,ref:x,required:E,ownerState:D,tabIndex:O,type:A},"checkbox"===A&&void 0===j?{}:{value:j},b)),P?o:v]}))}));function ce(e){return(0,b.ZP)("MuiSvgIcon",e)}(0,y.Z)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const fe=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],de=(0,g.ZP)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${(0,m.Z)(n.color)}`],t[`fontSize${(0,m.Z)(n.fontSize)}`]]}})((({theme:e,ownerState:t})=>{var n,r,o,i,a,s,l,u,c,f,d,p,h,m,g,v,y;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(n=e.transitions)||null==(r=n.create)?void 0:r.call(n,"fill",{duration:null==(o=e.transitions)||null==(i=o.duration)?void 0:i.shorter}),fontSize:{inherit:"inherit",small:(null==(a=e.typography)||null==(s=a.pxToRem)?void 0:s.call(a,20))||"1.25rem",medium:(null==(l=e.typography)||null==(u=l.pxToRem)?void 0:u.call(l,24))||"1.5rem",large:(null==(c=e.typography)||null==(f=c.pxToRem)?void 0:f.call(c,35))||"2.1875rem"}[t.fontSize],color:null!=(d=null==(p=(e.vars||e).palette)||null==(h=p[t.color])?void 0:h.main)?d:{action:null==(m=(e.vars||e).palette)||null==(g=m.action)?void 0:g.active,disabled:null==(v=(e.vars||e).palette)||null==(y=v.action)?void 0:y.disabled,inherit:void 0}[t.color]}})),pe=u.forwardRef((function(e,t){const n=(0,v.Z)({props:e,name:"MuiSvgIcon"}),{children:r,className:o,color:a="inherit",component:d="svg",fontSize:p="medium",htmlColor:h,inheritViewBox:g=!1,titleAccess:y,viewBox:b="0 0 24 24"}=n,x=(0,s.Z)(n,fe),w=u.isValidElement(r)&&"svg"===r.type,_=(0,l.Z)({},n,{color:a,component:d,fontSize:p,instanceFontSize:e.fontSize,inheritViewBox:g,viewBox:b,hasSvgAsChild:w}),k={};g||(k.viewBox=b);const C=(e=>{const{color:t,fontSize:n,classes:r}=e,o={root:["root","inherit"!==t&&`color${(0,m.Z)(t)}`,`fontSize${(0,m.Z)(n)}`]};return(0,f.Z)(o,ce,r)})(_);return(0,i.jsxs)(de,(0,l.Z)({as:d,className:(0,c.Z)(C.root,o),focusable:"false",color:h,"aria-hidden":!y||void 0,role:y?"img":void 0,ref:t},k,x,w&&r.props,{ownerState:_,children:[w?r.props.children:r,y?(0,i.jsx)("title",{children:y}):null]}))}));pe.muiName="SvgIcon";var he=pe;function me(e,t){function n(n,r){return(0,i.jsx)(he,(0,l.Z)({"data-testid":`${t}Icon`,ref:r},n,{children:e}))}return n.muiName=he.muiName,u.memo(u.forwardRef(n))}var ge=me((0,i.jsx)("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),ve=me((0,i.jsx)("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),ye=me((0,i.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function be(e){return(0,b.ZP)("MuiCheckbox",e)}var xe=(0,y.Z)("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary"]);const we=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],_e=(0,g.ZP)(ue,{shouldForwardProp:e=>(0,g.FO)(e)||"classes"===e,name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.indeterminate&&t.indeterminate,"default"!==n.color&&t[`color${(0,m.Z)(n.color)}`]]}})((({theme:e,ownerState:t})=>(0,l.Z)({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${"default"===t.color?e.vars.palette.action.activeChannel:e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,E.Fq)("default"===t.color?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==t.color&&{[`&.${xe.checked}, &.${xe.indeterminate}`]:{color:(e.vars||e).palette[t.color].main},[`&.${xe.disabled}`]:{color:(e.vars||e).palette.action.disabled}}))),ke=(0,i.jsx)(ve,{}),Ce=(0,i.jsx)(ge,{}),Se=(0,i.jsx)(ye,{});var Ee=u.forwardRef((function(e,t){var n,r;const o=(0,v.Z)({props:e,name:"MuiCheckbox"}),{checkedIcon:a=ke,color:d="primary",icon:p=Ce,indeterminate:h=!1,indeterminateIcon:g=Se,inputProps:y,size:b="medium",className:x}=o,w=(0,s.Z)(o,we),_=h?g:p,k=h?g:a,C=(0,l.Z)({},o,{color:d,indeterminate:h,size:b}),S=(e=>{const{classes:t,indeterminate:n,color:r}=e,o={root:["root",n&&"indeterminate",`color${(0,m.Z)(r)}`]},i=(0,f.Z)(o,be,t);return(0,l.Z)({},t,i)})(C);return(0,i.jsx)(_e,(0,l.Z)({type:"checkbox",inputProps:(0,l.Z)({"data-indeterminate":h},y),icon:u.cloneElement(_,{fontSize:null!=(n=_.props.fontSize)?n:b}),checkedIcon:u.cloneElement(k,{fontSize:null!=(r=k.props.fontSize)?r:b}),ownerState:C,ref:t,className:(0,c.Z)(S.root,x)},w,{classes:S}))})),Te=n(16483),Oe=(n(38155),n(80466)),Ae=(n(33899),{is_required:!1,is_locked:!1,width:1}),je=function(e){var t=e.NAME,n=e.VALUE,s=e.CONTENT,l=void 0===s?{labelText:null}:s,u=e.CONFIG,c=void 0===u?Ae:u,f=e.ERROR,d=e.HDL,p=void 0===d?{eh_change:function(){return console.warn("no change handler provided to field_checkbox")},eh_register:function(){return console.warn("no register handler provided to field_checkbox")}}:d;if(!t)throw new Error("Field name is required.");var m=(0,Te.cL)("teachers").color,g=(0,r.Z)({},Ae,c),v=l.labelText,y=g.is_required,b=g.is_locked,x=g.width,w=p.eh_change,_=p.eh_register,k=void 0===_?function(){return console.log("field has been registered.")}:_;return(0,i.jsxs)(a.Z,{gridColumn:"span ".concat(x),sx:{pointerEvents:b?"none":"auto",opacity:b?.5:1},children:[(0,i.jsx)(a.Z,{children:(0,i.jsx)(S,{style:{display:"flex",alignItems:"center"},control:y?(0,i.jsx)(Ee,(0,o.Z)((0,r.Z)({},k(t)),{checked:n,onChange:function(){return w(!n)},sx:{color:"#000","&.Mui-checked":{color:m}}})):(0,i.jsx)(Ee,{checked:n,onChange:function(){return w(!n)},sx:{color:"#000","&.Mui-checked":{color:m}}}),label:(0,i.jsx)(h.Z,{sx:{fontFamily:"inherit"},children:v+(y?" *":"")}),sx:{marginLeft:"-12px"}})}),y&&f?(0,i.jsx)(Oe.Z,{TEXT:f.message,SUCCESS:!1,MT:1}):null]})}},80752:function(e,t,n){"use strict";var r=n(26042),o=n(69396),i=n(85893),a=n(99226),s=n(117),l=n(38155),u=n(80466),c=n(33899),f={is_required:!1,is_locked:!1,width:1};t.Z=function(e){var t=e.NAME,n=e.VALUE,d=e.CONTENT,p=void 0===d?{labelText:null}:d,h=e.CONFIG,m=void 0===h?f:h,g=e.ERROR,v=e.HDL,y=void 0===v?{eh_change:function(){return console.log("field value has changed.")},eh_register:function(){return console.log("field has been registered.")}}:v;if(!t)throw new Error("Field name is required.");var b=(0,r.Z)({},f,m),x=p.labelText,w=b.is_required,_=b.is_locked,k=y.eh_change,C=y.eh_register,S=void 0===C?function(){return console.warn("field_text: no field register. hdl. provided")}:C;return(0,i.jsxs)(s.Z,{CONFIG:b,children:[x?(0,i.jsx)(a.Z,{mb:.75,children:(0,i.jsx)(l.Z,{TEXT:"".concat(x).concat(w?" *":""),COLOR:_?c.Z.text.muted:c.Z.text.primary,IS_lowerCase:!0})}):null,(0,i.jsx)(a.Z,{lineHeight:0,overflow:"hidden",borderRadius:1,backgroundColor:c.Z.background.gray,children:(0,i.jsx)("input",(0,o.Z)((0,r.Z)({},w&&S(t)),{type:"text",name:t,placeholder:"...",value:n,style:{"--placeholderColor":_?c.Z.text.muted:c.Z.text.primary},onChange:function(e){return k(e.target.value)}}))}),w&&g?(0,i.jsx)(u.Z,{TEXT:g.message,SUCCESS:!1,MT:1}):null]})}},19259:function(e,t,n){"use strict";var r=n(26042),o=n(69396),i=n(85893),a=n(99226),s=n(117),l=n(38155),u=n(80466),c=n(33899),f={is_required:!1,is_locked:!1,width:1,rows:4,placeholder:"..."};t.Z=function(e){var t=e.NAME,n=e.VALUE,d=e.CONTENT,p=void 0===d?{labelText:null}:d,h=e.CONFIG,m=void 0===h?f:h,g=e.ERROR,v=e.HDL,y=void 0===v?{eh_change:function(){return console.log("field value has changed.")},eh_register:function(){return console.log("field has been registered.")}}:v;if(!t)throw new Error("Field name is required.");var b,x=(0,r.Z)({},f,m),w=p.labelText,_=x.is_required,k=x.is_locked,C=x.rows,S=x.placeholder,E=y.eh_change,T=y.eh_register;return(0,i.jsxs)(s.Z,{CONFIG:x,children:[w?(0,i.jsx)(a.Z,{mb:.75,children:(0,i.jsx)(l.Z,{TEXT:"".concat(w).concat(_?" *":""),COLOR:k?c.Z.text.muted:c.Z.text.primary,IS_lowerCase:!0})}):null,(0,i.jsx)(a.Z,{overflow:"hidden",borderRadius:1,backgroundColor:c.Z.background.gray,children:(0,i.jsx)("textarea",(0,o.Z)((0,r.Z)({},_&&T(t)),{type:"text",name:t,placeholder:S,value:n,style:(b=k,{width:"100%",overflow:"hidden",border:"none",resize:"none",fontFamily:"inherit",fontSize:"inherit",backgroundColor:"transparent",outline:"none","--placeholderColor":b?c.Z.text.muted:c.Z.text.primary}),onChange:function(e){return E(e.target.value)},rows:C}))}),_&&g?(0,i.jsx)(u.Z,{TEXT:g.message,SUCCESS:!1,MT:1}):null]})}},78078:function(e,t,n){"use strict";var r=n(26042),o=n(69396),i=n(85893),a=n(99226),s=n(16483),l=n(38155),u=n(99614),c=n(33899);t.Z=function(e){var t=e.NAME,n=e.VALUE,f=e.LABEL,d=e.INFO,p=e.IS_required,h=e.ACTION_updtValue,m=e.ACTION_register,g=e.TYPE,v="teachers",y=(0,s.cL)(v),b=(y.color,y.color_light,y.color_bg,y.color_bg_light,{width:"100%",overflow:"hidden",border:"none",resize:"none",fontFamily:"inherit",fontSize:"inherit",backgroundColor:"transparent",outline:"none","--placeholderColor":c.Z.text.primary});return(0,i.jsxs)(a.Z,{children:[f?(0,i.jsx)(a.Z,{mb:.75,children:(0,i.jsx)(l.Z,{TEXT:"".concat(f).concat(p?" *":""),COLOR:c.Z.text.primary,IS_lowerCase:!0})}):null,(0,i.jsx)(a.Z,{p:"file"===g?4:0,overflow:"hidden",borderRadius:1,backgroundColor:c.Z.background.gray,children:"textarea"===g?p?(0,i.jsx)("textarea",(0,o.Z)((0,r.Z)({type:"text",name:"firstName",placeholder:"\u2026"},m(t)),{rows:"8",value:n,onChange:function(e){h(e.target.value)},style:b})):(0,i.jsx)("textarea",{type:"text",name:"firstName",placeholder:"\u2026",rows:"8",value:n,onChange:function(e){h(e.target.value)},style:b}):"file"===g?p?(0,i.jsx)("input",(0,o.Z)((0,r.Z)({type:"file",name:"file"},m(t)),{onChange:function(e){h(e.target.files[0])}})):(0,i.jsx)("input",{type:"file",name:"file",onChange:function(e){h(e.target.files[0])}}):p?(0,i.jsx)("input",(0,o.Z)((0,r.Z)({type:"text",name:t,placeholder:"\u2026"},m(t)),{value:n,style:{"--placeholderColor":c.Z.text.primary},onChange:function(e){h(e.target.value)}})):(0,i.jsx)("input",{type:"text",name:t,placeholder:"...",value:n,style:{"--placeholderColor":c.Z.text.primary},onChange:function(e){h(e.target.value)}})}),d?(0,i.jsx)(a.Z,{mt:2,children:(0,i.jsx)(u.Z,{TEXT:d,COLOR:c.Z.text.secondary})}):null]})}},42484:function(e,t,n){"use strict";var r=n(26042),o=n(85893),i=n(18751),a={color:"#000"};t.Z=function(e){var t=e.CONTENT,n=void 0===t?{headline:null}:t,s=e.CONFIG,l=void 0===s?a:s;if(!n)return null;var u=(0,r.Z)({},a,l),c=n.headline,f=u.color;return(0,o.jsx)("header",{children:c?(0,o.jsx)(i.Z,{TEXT:c,CONFIG:{size:"sm",color:f,lineHeight:1}}):null})}},23594:function(e,t,n){"use strict";function r(e){e.response?console.error(e.response):e.request?console.error(e.request):e.message?console.error(e.message):console.error(e)}n.d(t,{Z:function(){return r}})},53287:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(74231),o=n(76461);function i(e){if(!e)return console.warn("make_validationSchemaShape: no FORMFIELDS provided");var t={};return e.forEach((function(e){if(e.__component.includes("fields.field-")&&!e.__component.includes("date-selection")&&!e.__component.includes("workshop-details")){var n=e.config;if(null===n||void 0===n?void 0:n.is_required){var i=(0,o.QQ)(e);t[e.name]="checkbox"===i?r.O7().oneOf([!0],"This field is required"):r.Z_().required("This field is required")}}})),t}},18751:function(e,t,n){"use strict";var r=n(26042),o=n(85893),i=(n(99226),n(29238),n(80183)),a=n(85313),s=n(33899);var l=s.Z.teachers.default,u={level:"h2",style:"default",size:null,lineheight:1.2,lineHeight_mob:1.1,align:"left",color:l,type:null};t.Z=function(e){var t=e.TEXT,n=e.CONFIG,l=void 0===n?u:n,c=e.STYLES;if(!t)return null;var f,d,p,h=(0,r.Z)({},u,l),m=h.style,g=h.type,v=h.lineheight,y=h.lineHeight_mob,b="block"===g||"block"===m,x=null!==(f=null===h||void 0===h?void 0:h.level)&&void 0!==f?f:u.level,w=b?"#fff":null!==(d=null===h||void 0===h?void 0:h.color)&&void 0!==d?d:u.color,_=b?s.Z.teachers.default:"transparent",k="p"==x?"Favorit Pro Regular":"Comfortaa",C=null!==(p=null===h||void 0===h?void 0:h.align)&&void 0!==p?p:u.align,S=function(e){var t,n,r=null!==(t=null===e||void 0===e?void 0:e.level)&&void 0!==t?t:u.level;return(null!==(n=null===e||void 0===e?void 0:e.size)&&void 0!==n?n:u.size)||("h1"===r?"xl":"h2"===r?"lg":"h3"===r?"md":"h4"===r?"sm":"p"===r?"base":"sm")}(h),E=(0,a.Z)(t);return(0,o.jsxs)("div",{"data-type":"headline",className:"\n        flex\n        ".concat("Comfortaa"==k?"font-comfortaa":"font-favorit","\n        ").concat("Comfortaa"==k?"text-comfortaa-".concat(S,"-mobile\n               sm:text-comfortaa-").concat(S,"-tablet-ls\n               desk-sm:text-comfortaa-").concat(S,"-desk-sm\n               desk-med:text-comfortaa-").concat(S,"-desk-md\n               desk-lg:text-comfortaa-").concat(S,"-desk-lg"):"","\n        ").concat("Comfortaa"==k?"tracking-comfortaa-".concat(S,"-mobile sm:tracking-comfortaa-").concat(S):"","\n        ").concat("left"==C?"text-left":"center"==C?"text-center":"text-right","\n        leading-[--lh-mob] sm:leading-[--lh] text-[--color-text]\n      "),style:(0,r.Z)({"--lh":v,"--lh-mob":y,"--color-text":w},c),children:[(0,o.jsxs)("div",{className:"text-center sm:text-left bg-[--color-bg]\n                      ".concat(b?"px-[0.6em] py-[0.3em] pb-[0.25em]":""," \n                      ").concat(b?"rounded-full":""),style:{"--color-bg":_},children:["h1"===x?(0,o.jsx)("h1",{children:(0,o.jsx)(i.D,{children:E})}):null,"h2"===x?(0,o.jsx)("h2",{children:(0,o.jsx)(i.D,{children:E})}):null,"h3"===x?(0,o.jsx)("h3",{children:(0,o.jsx)(i.D,{children:E})}):null,"h4"===x?(0,o.jsx)("h4",{children:(0,o.jsx)(i.D,{children:E})}):null,"p"===x?(0,o.jsx)(i.D,{children:E}):null]}),null]})}},38155:function(e,t,n){"use strict";var r=n(85893),o=n(99226);t.Z=function(e){var t=e.TEXT,n=e.COLOR,i=e.IS_lowerCase,a=e.STYLES,s=n||"#000",l={};return Object.assign(l,a),(0,r.jsx)(o.Z,{textTransform:i?"none":"uppercase",color:s,sx:l,children:(0,r.jsx)("span",{children:t})})}},63399:function(e,t,n){"use strict";var r=n(26042),o=n(85893),i=n(41664),a=n.n(i),s=n(99226),l=n(16483),u="teachers",c=function(e){var t,n;if(!(null!==(t=e.DATA)&&void 0!==t?t:{url:null}).url)return console.warn("Link Wrapper: No URL provided.");var i,s=null!==(n=e.CONFIG)&&void 0!==n?n:{},l=s.is_Nextlink,u=void 0!==l&&l,c=s.openInNewTab,f=void 0!==c&&c,d=(null!==(i=e.HDL)&&void 0!==i?i:{click:function(){return console.warn("Link Wrapper: No click-handler provided")}}).click;return u?(0,o.jsx)(a(),{href:e.DATA.url,passHref:!0,children:(0,o.jsx)("a",{style:(0,r.Z)({},e.STYLE),onClick:d,children:e.children})}):(0,o.jsx)("a",{href:e.DATA.url,target:f?"_blank":"_self",rel:"noreferrer",style:(0,r.Z)({},e.STYLE),onClick:d,children:e.children})},f={openInNewTab:!1,underline:!1},d=(0,l.cL)(u).color,p=function(e,t){return{display:"inline-block",fontFamily:"secondary"===e?"Favorit Pro Book":"inherit",textTransform:"secondary"===e?"uppercase":"unset",borderBottom:t?"1px solid":null,cursor:"pointer"}},h={width:"0.95em",height:"0.95em",marginRight:6},m=function(e){return{"&:hover":{img:{filter:"invert(52%) sepia(84%) saturate(4082%) hue-rotate(182deg) brightness(98%) contrast(102%)"},span:{color:e||null,borderColor:"transparent"}}}};t.Z=function(e){var t=e.TARGET,n=e.TEXT,i=e.ICON,a=void 0===i?null:i,l=e.TYPE,u=e.COLOR,g=e.COLOR_hover,v=e.LINEHEIGHT,y=e.IS_nextLink,b=void 0!==y&&y,x=e.CONFIG,w=void 0===x?f:x,_=e.HDL,k=void 0===_?{eh_click:function(){return console.warn("No click-handler provided")}}:_,C=u||d,S=(0,r.Z)({},f,w),E=S.openInNewTab,T=S.underline,O=null!==b&&void 0!==b&&b,A=k.eh_click,j=(null===a||void 0===a?void 0:a.url)&&"string"===typeof a.url&&a.url.length>0;return(0,o.jsx)(c,{DATA:{url:t},CONFIG:{is_nextLink:O,openInNewTab:E,has_icon:j},STYLE:{lineHeight:v},HDL:{eh_click:A},children:(0,o.jsxs)(s.Z,{display:j?"flex":"inline-block",sx:m(g),children:[j?(0,o.jsx)("img",{src:"https://cdn.ootiboo.com"+a.url,alt:a.alt,style:h}):null,(0,o.jsx)(s.Z,{color:C,sx:p(l,T),children:(0,o.jsx)("span",{children:n})})]})})}},52761:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(85893),o=n(75211),i=n(99226),a=n(32555),s=function(e){var t=e.CONFIG,n=e.HANDLERS,s=t.is_open,l=n.eh_close;return(0,r.jsx)(o.Z,{open:s,onClose:l,children:(0,r.jsx)(i.Z,{position:"absolute",top:"45%",left:"50%",width:{xs:"calc(100% - 2rem)",md:"50%",lg:"45%"},maxHeight:"80vh",overflow:"hidden",backgroundColor:"#fff",borderRadius:3,boxShadow:24,sx:{transform:"translate(-50%, -50%)","&:has(.open-fact-sheet)":{overflow:"hidden"}},children:(0,r.jsxs)(i.Z,{position:"relative",width:"100%",height:"100%",maxHeight:"80vh",overflow:"scroll",p:2.5,children:[(0,r.jsx)(a.Z,{COLOR:"rgb(0, 145, 250)",ON_CLICK:l}),e.children]})})})},l=n(16872),u=n(87106),c=n(18417),f=n(11593),d=function(e){var t=e.DATA,n=e.CONFIG,o=void 0===n?{type:"text",is_open:!1}:n,i=e.HANDLERS,a=void 0===i?{eh_close:function(){return console.log("Closing modal...")}}:i;if(!t)return null;var d=o.type,p=void 0===d?"text":d,h=a.eh_close;return(0,r.jsxs)(s,{CONFIG:o,HANDLERS:a,children:["eventRegistration"===p?(0,r.jsx)(u.Z,{DATA:t}):null,"workshopRegistration"===p?(0,r.jsx)(c.Z,{DATA:t}):null,"text"===p?(0,r.jsx)(l.Z,{DATA:t}):null,"redirect"===p?(0,r.jsx)(f.Z,{DATA:t,HANDLERS:{eh_close:h}}):null]})}},14559:function(e,t,n){"use strict";n.d(t,{Z:function(){return ye}});var r=n(85893),o=n(16628),i=n(99226),a=n(63366),s=n(87462),l=n(67294),u=n(58510),c=n(73935),f=n(22760),d=n(54895),p=n(25091);const h=l.forwardRef((function(e,t){const{children:n,container:o,disablePortal:i=!1}=e,[a,s]=l.useState(null),u=(0,f.Z)(l.isValidElement(n)?n.ref:null,t);if((0,d.Z)((()=>{i||s(function(e){return"function"===typeof e?e():e}(o)||document.body)}),[o,i]),(0,d.Z)((()=>{if(a&&!i)return(0,p.Z)(t,a),()=>{(0,p.Z)(t,null)}}),[t,a,i]),i){if(l.isValidElement(n)){const e={ref:u};return l.cloneElement(n,e)}return(0,r.jsx)(l.Fragment,{children:n})}return(0,r.jsx)(l.Fragment,{children:a?c.createPortal(n,a):a})}));var m=n(36425);const g=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function v(e){const t=[],n=[];return Array.from(e.querySelectorAll(g)).forEach(((e,r)=>{const o=function(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==o&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}(e))}(e)&&(0===o?t.push(e):n.push({documentOrder:r,tabIndex:o,node:e}))})),n.sort(((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex)).map((e=>e.node)).concat(t)}function y(){return!0}function b(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:o=!1,disableRestoreFocus:i=!1,getTabbable:a=v,isEnabled:s=y,open:u}=e,c=l.useRef(!1),d=l.useRef(null),p=l.useRef(null),h=l.useRef(null),g=l.useRef(null),b=l.useRef(!1),x=l.useRef(null),w=(0,f.Z)(t.ref,x),_=l.useRef(null);l.useEffect((()=>{u&&x.current&&(b.current=!n)}),[n,u]),l.useEffect((()=>{if(!u||!x.current)return;const e=(0,m.Z)(x.current);return x.current.contains(e.activeElement)||(x.current.hasAttribute("tabIndex")||x.current.setAttribute("tabIndex","-1"),b.current&&x.current.focus()),()=>{i||(h.current&&h.current.focus&&(c.current=!0,h.current.focus()),h.current=null)}}),[u]),l.useEffect((()=>{if(!u||!x.current)return;const e=(0,m.Z)(x.current),t=t=>{_.current=t,!o&&s()&&"Tab"===t.key&&e.activeElement===x.current&&t.shiftKey&&(c.current=!0,p.current&&p.current.focus())},n=()=>{const t=x.current;if(null===t)return;if(!e.hasFocus()||!s()||c.current)return void(c.current=!1);if(t.contains(e.activeElement))return;if(o&&e.activeElement!==d.current&&e.activeElement!==p.current)return;if(e.activeElement!==g.current)g.current=null;else if(null!==g.current)return;if(!b.current)return;let n=[];if(e.activeElement!==d.current&&e.activeElement!==p.current||(n=a(x.current)),n.length>0){var r,i;const e=Boolean((null==(r=_.current)?void 0:r.shiftKey)&&"Tab"===(null==(i=_.current)?void 0:i.key)),t=n[0],o=n[n.length-1];"string"!==typeof t&&"string"!==typeof o&&(e?o.focus():t.focus())}else t.focus()};e.addEventListener("focusin",n),e.addEventListener("keydown",t,!0);const r=setInterval((()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&n()}),50);return()=>{clearInterval(r),e.removeEventListener("focusin",n),e.removeEventListener("keydown",t,!0)}}),[n,o,i,s,u,a]);const k=e=>{null===h.current&&(h.current=e.relatedTarget),b.current=!0};return(0,r.jsxs)(l.Fragment,{children:[(0,r.jsx)("div",{tabIndex:u?0:-1,onFocus:k,ref:d,"data-testid":"sentinelStart"}),l.cloneElement(t,{ref:w,onFocus:e=>{null===h.current&&(h.current=e.relatedTarget),b.current=!0,g.current=e.target;const n=t.props.onFocus;n&&n(e)}}),(0,r.jsx)("div",{tabIndex:u?0:-1,onFocus:k,ref:p,"data-testid":"sentinelEnd"})]})}var x=n(22010),w=n(15725),_=n(98802),k=n(96613),C=n(98902);function S(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function E(e){return parseInt((0,k.Z)(e).getComputedStyle(e).paddingRight,10)||0}function T(e,t,n,r,o){const i=[t,n,...r];[].forEach.call(e.children,(e=>{const t=-1===i.indexOf(e),n=!function(e){const t=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),n="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||n}(e);t&&n&&S(e,o)}))}function O(e,t){let n=-1;return e.some(((e,r)=>!!t(e)&&(n=r,!0))),n}function A(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(function(e){const t=(0,m.Z)(e);return t.body===e?(0,k.Z)(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){const e=(0,C.Z)((0,m.Z)(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${E(r)+e}px`;const t=(0,m.Z)(r).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{n.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${E(t)+e}px`}))}let e;if(r.parentNode instanceof DocumentFragment)e=(0,m.Z)(r).body;else{const t=r.parentElement,n=(0,k.Z)(r);e="HTML"===(null==t?void 0:t.nodeName)&&"scroll"===n.getComputedStyle(t).overflowY?t:r}n.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{n.forEach((({value:e,el:t,property:n})=>{e?t.style.setProperty(n,e):t.style.removeProperty(n)}))}}const j=new class{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,t){let n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&S(e.modalRef,!1);const r=function(e){const t=[];return[].forEach.call(e.children,(e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);T(t,e.mount,e.modalRef,r,!0);const o=O(this.containers,(e=>e.container===t));return-1!==o?(this.containers[o].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),n)}mount(e,t){const n=O(this.containers,(t=>-1!==t.modals.indexOf(e))),r=this.containers[n];r.restore||(r.restore=A(r,t))}remove(e,t=!0){const n=this.modals.indexOf(e);if(-1===n)return n;const r=O(this.containers,(t=>-1!==t.modals.indexOf(e))),o=this.containers[r];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(n,1),0===o.modals.length)o.restore&&o.restore(),e.modalRef&&S(e.modalRef,t),T(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(r,1);else{const e=o.modals[o.modals.length-1];e.modalRef&&S(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};function I(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,manager:o=j,closeAfterTransition:i=!1,onTransitionEnter:a,onTransitionExited:u,children:c,onClose:d,open:p,rootRef:h}=e,g=l.useRef({}),v=l.useRef(null),y=l.useRef(null),b=(0,f.Z)(y,h),[k,C]=l.useState(!p),E=function(e){return!!e&&e.props.hasOwnProperty("in")}(c);let T=!0;"false"!==e["aria-hidden"]&&!1!==e["aria-hidden"]||(T=!1);const O=()=>(g.current.modalRef=y.current,g.current.mount=v.current,g.current),A=()=>{o.mount(O(),{disableScrollLock:r}),y.current&&(y.current.scrollTop=0)},I=(0,x.Z)((()=>{const e=function(e){return"function"===typeof e?e():e}(t)||(0,m.Z)(v.current).body;o.add(O(),e),y.current&&A()})),P=l.useCallback((()=>o.isTopModal(O())),[o]),N=(0,x.Z)((e=>{v.current=e,e&&(p&&P()?A():y.current&&S(y.current,T))})),R=l.useCallback((()=>{o.remove(O(),T)}),[T,o]);l.useEffect((()=>()=>{R()}),[R]),l.useEffect((()=>{p?I():E&&i||R()}),[p,R,E,i,I]);const Z=e=>t=>{var r;null==(r=e.onKeyDown)||r.call(e,t),"Escape"===t.key&&229!==t.which&&P()&&(n||(t.stopPropagation(),d&&d(t,"escapeKeyDown")))},L=e=>t=>{var n;null==(n=e.onClick)||n.call(e,t),t.target===t.currentTarget&&d&&d(t,"backdropClick")};return{getRootProps:(t={})=>{const n=(0,_._)(e);delete n.onTransitionEnter,delete n.onTransitionExited;const r=(0,s.Z)({},n,t);return(0,s.Z)({role:"presentation"},r,{onKeyDown:Z(r),ref:b})},getBackdropProps:(e={})=>{const t=e;return(0,s.Z)({"aria-hidden":!0},t,{onClick:L(t),open:p})},getTransitionProps:()=>({onEnter:(0,w.Z)((()=>{C(!1),a&&a()}),null==c?void 0:c.props.onEnter),onExited:(0,w.Z)((()=>{C(!0),u&&u(),i&&R()}),null==c?void 0:c.props.onExited)}),rootRef:b,portalRef:N,isTopModal:P,exited:k,hasTransition:E}}var P=n(74312),N=n(20407),R=n(48732),Z=n(26821);function L(e){return(0,Z.d6)("MuiModal",e)}(0,Z.sI)("MuiModal",["root","hidden","backdrop"]);var D=l.createContext(void 0);const F=["children","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onClose","onKeyDown","open","component","slots","slotProps"],M=(0,P.Z)("div")((({ownerState:e,theme:t})=>(0,s.Z)({"--unstable_popup-zIndex":`calc(${t.vars.zIndex.modal} + 1)`,'& ~ [role="listbox"]':{"--unstable_popup-zIndex":`calc(${t.vars.zIndex.modal} + 1)`},position:"fixed",zIndex:t.vars.zIndex.modal,right:0,bottom:0,top:0,left:0},!e.open&&{visibility:"hidden"}))),z=(0,P.Z)(M,{name:"JoyModal",slot:"Root",overridesResolver:(e,t)=>t.root})({}),B=(0,P.Z)("div")((({theme:e})=>({zIndex:-1,position:"fixed",right:0,bottom:0,top:0,left:0,backgroundColor:e.vars.palette.background.backdrop,WebkitTapHighlightColor:"transparent",backdropFilter:"blur(8px)"}))),H=(0,P.Z)(B,{name:"JoyModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({});var $=l.forwardRef((function(e,t){const n=(0,N.Z)({props:e,name:"JoyModal"}),{children:o,container:i,disableAutoFocus:c=!1,disableEnforceFocus:f=!1,disableEscapeKeyDown:d=!1,disablePortal:p=!1,disableRestoreFocus:m=!1,disableScrollLock:g=!1,hideBackdrop:v=!1,keepMounted:y=!1,onClose:x,open:w,component:_,slots:k={},slotProps:C={}}=n,S=(0,a.Z)(n,F),E=(0,s.Z)({},n,{disableAutoFocus:c,disableEnforceFocus:f,disableEscapeKeyDown:d,disablePortal:p,disableRestoreFocus:m,disableScrollLock:g,hideBackdrop:v,keepMounted:y}),{getRootProps:T,getBackdropProps:O,rootRef:A,portalRef:j,isTopModal:P}=I((0,s.Z)({},E,{rootRef:t})),Z=(e=>{const{open:t}=e,n={root:["root",!t&&"hidden"],backdrop:["backdrop"]};return(0,u.Z)(n,L,{})})(E),M=(0,s.Z)({},S,{component:_,slots:k,slotProps:C}),[B,$]=(0,R.Z)("root",{ref:A,className:Z.root,elementType:z,externalForwardedProps:M,getSlotProps:T,ownerState:E}),[U,V]=(0,R.Z)("backdrop",{className:Z.backdrop,elementType:H,externalForwardedProps:M,getSlotProps:O,ownerState:E});return y||w?(0,r.jsx)(D.Provider,{value:x,children:(0,r.jsx)(h,{ref:j,container:i,disablePortal:p,children:(0,r.jsxs)(B,(0,s.Z)({},$,{children:[v?null:(0,r.jsx)(U,(0,s.Z)({},V)),(0,r.jsx)(b,{disableEnforceFocus:f,disableAutoFocus:c,disableRestoreFocus:m,isEnabled:P,open:w,children:l.Children.only(o)&&l.cloneElement(o,(0,s.Z)({},void 0===o.props.tabIndex&&{tabIndex:-1}))})]}))})}):null}));function U(e){return(0,Z.d6)("MuiModalOverflow",e)}(0,Z.sI)("MuiModalOverflow",["root"]);function V(e){return(0,Z.d6)("MuiModalDialog",e)}var G=(0,Z.sI)("MuiModalDialog",["root","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","sizeSm","sizeMd","sizeLg","layoutCenter","layoutFullscreen"]);const W=["children","onClick"],q=(0,P.Z)("div",{name:"JoyModalOverflow",slot:"Root",overridesResolver:(e,t)=>t.root})({"--ModalOverflow-paddingY":"1.5rem",position:"absolute",top:0,right:0,bottom:0,left:0,height:"100%",overflow:"hidden auto",outline:"none",display:"flex",flexDirection:"column",padding:"var(--ModalOverflow-paddingY) 0",[`& .${G.layoutCenter}`]:{position:"relative",margin:"auto",height:"max-content",maxHeight:"unset",transform:"none",top:"unset",left:"unset"},[`& .${G.layoutFullscreen}`]:{position:"relative",width:"100%",margin:"calc(-1 * var(--ModalOverflow-paddingY)) 0",flex:1}});var X=l.forwardRef((function(e,t){const n=(0,N.Z)({props:e,name:"JoyModalOverflow"}),{children:o,onClick:i}=n,c=(0,a.Z)(n,W),f=l.useContext(D),d=n,p=(0,u.Z)({root:["root"]},U,{}),[h,m]=(0,R.Z)("root",{ref:t,className:p.root,elementType:q,externalForwardedProps:c,ownerState:d,additionalProps:{role:"presentation",tabIndex:-1,onClick:e=>{e.target===e.currentTarget&&(null==f||f(e,"backdropClick")),null==i||i(e)}}});return(0,r.jsx)(h,(0,s.Z)({},m,{children:o}))})),Y=n(75285),K=n(62908),Q=n(89326);var J=l.createContext(void 0);var ee=l.createContext(void 0),te=n(50159);const ne=e=>t=>`--${e?`${e}-`:""}${t.replace(/^--/,"")}`,re="data-skip-inverted-colors",oe=`& :not([${re}], [${re}] *)`,ie=e=>{var t,n,r,o,i,a,s,l,u,c,f,d,p,h,m,g,v,y,b,x,w,_;const k=ne(e.cssVarPrefix);return{"--variant-plainColor":"var(--variant-plainColor) !important","--variant-plainHoverColor":"var(--variant-plainHoverColor) !important","--variant-plainHoverBg":"var(--variant-plainHoverBg) !important","--variant-plainActiveBg":"var(--variant-plainActiveBg) !important","--variant-plainDisabledColor":"var(--variant-plainDisabledColor) !important","--variant-outlinedColor":"var(--variant-outlinedColor) !important","--variant-outlinedBorder":"var(--variant-outlinedBorder) !important","--variant-outlinedHoverColor":"var(--variant-outlinedHoverColor) !important","--variant-outlinedHoverBorder":"var(--variant-outlinedHoverBorder) !important","--variant-outlinedHoverBg":"var(--variant-outlinedHoverBg) !important","--variant-outlinedActiveBg":"var(--variant-outlinedActiveBg) !important","--variant-outlinedDisabledColor":"var(--variant-outlinedDisabledColor) !important","--variant-outlinedDisabledBorder":"var(--variant-outlinedDisabledBorder) !important","--variant-softColor":"var(--variant-softColor) !important","--variant-softHoverColor":"var(--variant-softHoverColor) !important","--variant-softBg":"var(--variant-softBg) !important","--variant-softHoverBg":"var(--variant-softHoverBg) !important","--variant-softActiveBg":"var(--variant-softActiveBg) !important","--variant-softActiveColor":"var(--variant-softActiveColor) !important","--variant-softDisabledColor":"var(--variant-softDisabledColor) !important","--variant-softDisabledBg":"var(--variant-softDisabledBg) !important","--variant-solidColor":"var(--variant-solidColor) !important","--variant-solidBg":"var(--variant-solidBg) !important","--variant-solidHoverBg":"var(--variant-solidHoverBg) !important","--variant-solidActiveBg":"var(--variant-solidActiveBg) !important","--variant-solidDisabledColor":"var(--variant-solidDisabledColor) !important","--variant-solidDisabledBg":"var(--variant-solidDisabledBg) !important","--Badge-ringColor":"var(--Badge-ringColor) !important",colorScheme:"unset",[e.getColorSchemeSelector("light")]:{[k("--palette-focusVisible")]:`${null==(t=e.colorSchemes.light)?void 0:t.palette.focusVisible} !important`,[k("--palette-background-body")]:`${null==(n=e.colorSchemes.light)?void 0:n.palette.background.body} !important`,[k("--palette-background-surface")]:`${null==(r=e.colorSchemes.light)?void 0:r.palette.background.surface} !important`,[k("--palette-background-popup")]:`${null==(o=e.colorSchemes.light)?void 0:o.palette.background.popup} !important`,[k("--palette-background-level1")]:`${null==(i=e.colorSchemes.light)?void 0:i.palette.background.level1} !important`,[k("--palette-background-level2")]:`${null==(a=e.colorSchemes.light)?void 0:a.palette.background.level2} !important`,[k("--palette-background-level3")]:`${null==(s=e.colorSchemes.light)?void 0:s.palette.background.level3} !important`,[k("--palette-text-primary")]:`${null==(l=e.colorSchemes.light)?void 0:l.palette.text.primary} !important`,[k("--palette-text-secondary")]:`${null==(u=e.colorSchemes.light)?void 0:u.palette.text.secondary} !important`,[k("--palette-text-tertiary")]:`${null==(c=e.colorSchemes.light)?void 0:c.palette.text.tertiary} !important`,[k("--palette-divider")]:`${null==(f=e.colorSchemes.light)?void 0:f.palette.divider} !important`},[e.getColorSchemeSelector("dark")]:{[k("--palette-focusVisible")]:`${null==(d=e.colorSchemes.dark)?void 0:d.palette.focusVisible} !important`,[k("--palette-background-body")]:`${null==(p=e.colorSchemes.dark)?void 0:p.palette.background.body} !important`,[k("--palette-background-surface")]:`${null==(h=e.colorSchemes.dark)?void 0:h.palette.background.surface} !important`,[k("--palette-background-popup")]:`${null==(m=e.colorSchemes.dark)?void 0:m.palette.background.popup} !important`,[k("--palette-background-level1")]:`${null==(g=e.colorSchemes.dark)?void 0:g.palette.background.level1} !important`,[k("--palette-background-level2")]:`${null==(v=e.colorSchemes.dark)?void 0:v.palette.background.level2} !important`,[k("--palette-background-level3")]:`${null==(y=e.colorSchemes.dark)?void 0:y.palette.background.level3} !important`,[k("--palette-text-primary")]:`${null==(b=e.colorSchemes.dark)?void 0:b.palette.text.primary} !important`,[k("--palette-text-secondary")]:`${null==(x=e.colorSchemes.dark)?void 0:x.palette.text.secondary} !important`,[k("--palette-text-tertiary")]:`${null==(w=e.colorSchemes.dark)?void 0:w.palette.text.tertiary} !important`,[k("--palette-divider")]:`${null==(_=e.colorSchemes.dark)?void 0:_.palette.divider} !important`}}};const ae=e=>t=>{const{theme:n=t}=t,r=(0,te.Z)(n.cssVarPrefix),o=ne(n.cssVarPrefix),i=e=>{const t=e.split("-");return r(e,n.palette[t[1]][t[2]])};return{[oe]:{"--Badge-ringColor":i(`palette-${e}-softBg`),"--Icon-color":"currentColor",[n.getColorSchemeSelector("dark")]:{[o("--palette-focusVisible")]:i(`palette-${e}-300`),[o("--palette-background-body")]:`rgba(${i(`palette-${e}-mainChannel`)} / 0.1)`,[o("--palette-background-surface")]:`rgba(${i(`palette-${e}-mainChannel`)} / 0.08)`,[o("--palette-background-level1")]:`rgba(${i(`palette-${e}-mainChannel`)} / 0.2)`,[o("--palette-background-level2")]:`rgba(${i(`palette-${e}-mainChannel`)} / 0.4)`,[o("--palette-background-level3")]:`rgba(${i(`palette-${e}-mainChannel`)} / 0.6)`,[o("--palette-text-primary")]:i(`palette-${e}-100`),[o("--palette-text-secondary")]:`rgba(${i(`palette-${e}-lightChannel`)} / 0.72)`,[o("--palette-text-tertiary")]:`rgba(${i(`palette-${e}-lightChannel`)} / 0.6)`,[o("--palette-text-icon")]:`rgba(${i(`palette-${e}-lightChannel`)} / 0.6)`,[o("--palette-divider")]:`rgba(${i(`palette-${e}-lightChannel`)} / 0.2)`,"--variant-plainColor":`rgba(${i(`palette-${e}-lightChannel`)} / 1)`,"--variant-plainHoverColor":i(`palette-${e}-50`),"--variant-plainHoverBg":`rgba(${i(`palette-${e}-mainChannel`)} / 0.16)`,"--variant-plainActiveBg":`rgba(${i(`palette-${e}-mainChannel`)} / 0.32)`,"--variant-plainDisabledColor":`rgba(${i(`palette-${e}-mainChannel`)} / 0.72)`,"--variant-outlinedColor":`rgba(${i(`palette-${e}-lightChannel`)} / 1)`,"--variant-outlinedHoverColor":i(`palette-${e}-50`),"--variant-outlinedBg":"initial","--variant-outlinedBorder":`rgba(${i(`palette-${e}-mainChannel`)} / 0.4)`,"--variant-outlinedHoverBorder":i(`palette-${e}-600`),"--variant-outlinedHoverBg":`rgba(${i(`palette-${e}-mainChannel`)} / 0.16)`,"--variant-outlinedActiveBg":`rgba(${i(`palette-${e}-mainChannel`)} / 0.32)`,"--variant-outlinedDisabledColor":`rgba(${i(`palette-${e}-mainChannel`)} / 0.72)`,"--variant-outlinedDisabledBorder":`rgba(${i(`palette-${e}-mainChannel`)} / 0.2)`,"--variant-softColor":i(`palette-${e}-200`),"--variant-softBg":`rgba(${i(`palette-${e}-mainChannel`)} / 0.24)`,"--variant-softHoverColor":"#fff","--variant-softHoverBg":`rgba(${i(`palette-${e}-mainChannel`)} / 0.32)`,"--variant-softActiveBg":`rgba(${i(`palette-${e}-mainChannel`)} / 0.48)`,"--variant-softDisabledColor":`rgba(${i(`palette-${e}-mainChannel`)} / 0.72)`,"--variant-softDisabledBg":`rgba(${i(`palette-${e}-mainChannel`)} / 0.12)`,"--variant-solidColor":"#fff","--variant-solidBg":i(`palette-${e}-500`),"--variant-solidHoverColor":"#fff","--variant-solidHoverBg":i(`palette-${e}-600`),"--variant-solidActiveBg":i(`palette-${e}-600`),"--variant-solidDisabledColor":`rgba(${i(`palette-${e}-mainChannel`)} / 0.72)`,"--variant-solidDisabledBg":`rgba(${i(`palette-${e}-mainChannel`)} / 0.12)`},[n.getColorSchemeSelector("light")]:{[o("--palette-focusVisible")]:i(`palette-${e}-500`),[o("--palette-background-body")]:`rgba(${i(`palette-${e}-mainChannel`)} / 0.1)`,[o("--palette-background-surface")]:`rgba(${i(`palette-${e}-mainChannel`)} / 0.08)`,[o("--palette-background-level1")]:`rgba(${i(`palette-${e}-mainChannel`)} / 0.2)`,[o("--palette-background-level2")]:`rgba(${i(`palette-${e}-mainChannel`)} / 0.32)`,[o("--palette-background-level3")]:`rgba(${i(`palette-${e}-mainChannel`)} / 0.48)`,[o("--palette-text-primary")]:i(`palette-${e}-700`),[o("--palette-text-secondary")]:`rgba(${i(`palette-${e}-darkChannel`)} / 0.8)`,[o("--palette-text-tertiary")]:`rgba(${i(`palette-${e}-darkChannel`)} / 0.68)`,[o("--palette-text-icon")]:i(`palette-${e}-500`),[o("--palette-divider")]:`rgba(${i(`palette-${e}-mainChannel`)} / 0.32)`,"--variant-plainColor":`rgba(${i(`palette-${e}-darkChannel`)} / 0.8)`,"--variant-plainHoverColor":`rgba(${i(`palette-${e}-darkChannel`)} / 1)`,"--variant-plainHoverBg":`rgba(${i(`palette-${e}-mainChannel`)} / 0.12)`,"--variant-plainActiveBg":`rgba(${i(`palette-${e}-mainChannel`)} / 0.24)`,"--variant-plainDisabledColor":`rgba(${i(`palette-${e}-mainChannel`)} / 0.6)`,"--variant-outlinedColor":`rgba(${i(`palette-${e}-mainChannel`)} / 1)`,"--variant-outlinedBorder":`rgba(${i(`palette-${e}-mainChannel`)} / 0.4)`,"--variant-outlinedHoverColor":i(`palette-${e}-600`),"--variant-outlinedHoverBorder":i(`palette-${e}-300`),"--variant-outlinedHoverBg":`rgba(${i(`palette-${e}-mainChannel`)} / 0.12)`,"--variant-outlinedActiveBg":`rgba(${i(`palette-${e}-mainChannel`)} / 0.24)`,"--variant-outlinedDisabledColor":`rgba(${i(`palette-${e}-mainChannel`)} / 0.6)`,"--variant-outlinedDisabledBorder":`rgba(${i(`palette-${e}-mainChannel`)} / 0.12)`,"--variant-softColor":i(`palette-${e}-600`),"--variant-softBg":`rgba(${i(`palette-${e}-lightChannel`)} / 0.8)`,"--variant-softHoverColor":i(`palette-${e}-700`),"--variant-softHoverBg":i(`palette-${e}-200`),"--variant-softActiveBg":i(`palette-${e}-300`),"--variant-softDisabledColor":`rgba(${i(`palette-${e}-mainChannel`)} / 0.6)`,"--variant-softDisabledBg":`rgba(${i(`palette-${e}-mainChannel`)} / 0.08)`,"--variant-solidColor":i("palette-common-white"),"--variant-solidBg":i(`palette-${e}-${"neutral"===e?"700":"500"}`),"--variant-solidHoverColor":i("palette-common-white"),"--variant-solidHoverBg":i(`palette-${e}-600`),"--variant-solidActiveBg":i(`palette-${e}-600`),"--variant-solidDisabledColor":`rgba(${i(`palette-${e}-mainChannel`)} / 0.6)`,"--variant-solidDisabledBg":`rgba(${i(`palette-${e}-mainChannel`)} / 0.08)`}},[`&, & [${re}]`]:ie(n)}},se=(0,P.Z)("div")((({theme:e,ownerState:t})=>{var n;const{p:r,padding:o,borderRadius:i}=(({theme:e,ownerState:t},n)=>{let r={};return t.sx&&(function t(n){"function"===typeof n?t(n(e)):Array.isArray(n)?n.forEach((e=>{"boolean"!==typeof e&&t(e)})):"object"===typeof n&&(r=(0,s.Z)({},r,n))}(t.sx),n.forEach((t=>{const n=r[t];var o;"string"===typeof n||"number"===typeof n?"borderRadius"===t?r[t]="number"===typeof n?`${n}px`:(null==(o=e.vars)?void 0:o.radius[n])||n:-1!==["p","padding","m","margin"].indexOf(t)&&"number"===typeof n?r[t]=e.spacing(n):r[t]=n:r[t]="function"===typeof n?n(e):void 0}))),r})({theme:e,ownerState:t},["p","padding","borderRadius"]);return[(0,s.Z)({"--Icon-color":"neutral"!==t.color||"solid"===t.variant?"currentColor":e.vars.palette.text.icon,"--Card-childRadius":"max((var(--Card-radius) - var(--variant-borderWidth, 0px)) - var(--Card-padding), min(var(--Card-padding) / 2, (var(--Card-radius) - var(--variant-borderWidth, 0px)) / 2))","--AspectRatio-radius":"var(--Card-childRadius)","--unstable_actionMargin":"calc(-1 * var(--variant-borderWidth, 0px))","--unstable_actionRadius":"var(--Card-radius)","--CardCover-radius":"calc(var(--Card-radius) - var(--variant-borderWidth, 0px))","--CardOverflow-offset":"calc(-1 * var(--Card-padding))","--CardOverflow-radius":"calc(var(--Card-radius) - var(--variant-borderWidth, 0px))","--Divider-inset":"calc(-1 * var(--Card-padding))"},"sm"===t.size&&{"--Card-radius":e.vars.radius.sm,"--Card-padding":"0.625rem",gap:"0.5rem"},"md"===t.size&&{"--Card-radius":e.vars.radius.md,"--Card-padding":"1rem",gap:"0.75rem 1rem"},"lg"===t.size&&{"--Card-radius":e.vars.radius.lg,"--Card-padding":"1.5rem",gap:"1rem 1.5rem"},{padding:"var(--Card-padding)",borderRadius:"var(--Card-radius)",backgroundColor:e.vars.palette.background.surface,position:"relative",display:"flex",flexDirection:"horizontal"===t.orientation?"row":"column"},e.typography[`body-${t.size}`],"solid"===t.variant&&t.color&&t.invertedColors&&(a=t.color,e=>{const t=void 0!==e.theme?e.theme:e,n=(0,te.Z)(t.cssVarPrefix),r=ne(t.cssVarPrefix),o=e=>{const r=e.split("-");return n(e,t.palette[r[1]][r[2]])};return{[oe]:{"--Badge-ringColor":o(`palette-${a}-solidBg`),"--Icon-color":"currentColor",[`${t.getColorSchemeSelector("light")}, ${t.getColorSchemeSelector("dark")}`]:{colorScheme:"dark",[r("--palette-focusVisible")]:o(`palette-${a}-200`),[r("--palette-background-body")]:"rgba(0 0 0 / 0.1)",[r("--palette-background-surface")]:"rgba(0 0 0 / 0.06)",[r("--palette-background-popup")]:o(`palette-${a}-700`),[r("--palette-background-level1")]:`rgba(${o(`palette-${a}-darkChannel`)} / 0.2)`,[r("--palette-background-level2")]:`rgba(${o(`palette-${a}-darkChannel`)} / 0.36)`,[r("--palette-background-level3")]:`rgba(${o(`palette-${a}-darkChannel`)} / 0.6)`,[r("--palette-text-primary")]:o("palette-common-white"),[r("--palette-text-secondary")]:o(`palette-${a}-200`),[r("--palette-text-tertiary")]:o(`palette-${a}-300`),[r("--palette-text-icon")]:o(`palette-${a}-200`),[r("--palette-divider")]:`rgba(${o(`palette-${a}-lightChannel`)} / 0.32)`,"--variant-plainColor":o(`palette-${a}-50`),"--variant-plainHoverColor":"#fff","--variant-plainHoverBg":`rgba(${o(`palette-${a}-lightChannel`)} / 0.12)`,"--variant-plainActiveBg":`rgba(${o(`palette-${a}-lightChannel`)} / 0.32)`,"--variant-plainDisabledColor":`rgba(${o(`palette-${a}-lightChannel`)} / 0.72)`,"--variant-outlinedColor":o(`palette-${a}-50`),"--variant-outlinedBorder":`rgba(${o(`palette-${a}-lightChannel`)} / 0.5)`,"--variant-outlinedHoverColor":"#fff","--variant-outlinedHoverBorder":o(`palette-${a}-300`),"--variant-outlinedHoverBg":`rgba(${o(`palette-${a}-lightChannel`)} / 0.12)`,"--variant-outlinedActiveBg":`rgba(${o(`palette-${a}-lightChannel`)} / 0.32)`,"--variant-outlinedDisabledColor":`rgba(${o(`palette-${a}-lightChannel`)} / 0.72)`,"--variant-outlinedDisabledBorder":"rgba(255 255 255 / 0.2)","--variant-softColor":o("palette-common-white"),"--variant-softHoverColor":o("palette-common-white"),"--variant-softBg":`rgba(${o(`palette-${a}-lightChannel`)} / 0.24)`,"--variant-softHoverBg":`rgba(${o(`palette-${a}-lightChannel`)} / 0.36)`,"--variant-softActiveBg":`rgba(${o(`palette-${a}-lightChannel`)} / 0.16)`,"--variant-softActiveColor":"#fff","--variant-softDisabledColor":`rgba(${o(`palette-${a}-lightChannel`)} / 0.72)`,"--variant-softDisabledBg":`rgba(${o(`palette-${a}-lightChannel`)} / 0.1)`,"--variant-solidColor":o(`palette-${a}-${"neutral"===a?"600":"500"}`),"--variant-solidBg":o("palette-common-white"),"--variant-solidHoverBg":o("palette-common-white"),"--variant-solidActiveBg":o(`palette-${a}-100`),"--variant-solidDisabledColor":`rgba(${o(`palette-${a}-lightChannel`)} / 0.72)`,"--variant-solidDisabledBg":`rgba(${o(`palette-${a}-lightChannel`)} / 0.1)`}},[`&, & [${re}]`]:ie(t)}})(e),"soft"===t.variant&&t.color&&t.invertedColors&&ae(t.color)(e),null==(n=e.variants[t.variant])?void 0:n[t.color]),void 0!==r&&{"--Card-padding":r},void 0!==o&&{"--Card-padding":o},void 0!==i&&{"--Card-radius":i}];var a}));(0,P.Z)(se,{name:"JoyCard",slot:"Root",overridesResolver:(e,t)=>t.root})({});const le=["className","children","invertedColors","orientation","color","component","variant","size","layout","maxWidth","minWidth","slots","slotProps"];function ue(e,t){var n,r;return t&&null!=(n=e.breakpoints)&&n.values[t]?`${null==(r=e.breakpoints)?void 0:r.values[t]}px`:t}const ce=(0,P.Z)(se,{name:"JoyModalDialog",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e,ownerState:t})=>(0,s.Z)({"--ModalDialog-minWidth":"number"===typeof t.minWidth?`${t.minWidth}px`:ue(e,t.minWidth),"--ModalDialog-maxWidth":"number"===typeof t.maxWidth?`${t.maxWidth}px`:ue(e,t.maxWidth),"--ModalClose-radius":"max((var(--Card-radius) - var(--variant-borderWidth, 0px)) - var(--ModalClose-inset), min(var(--ModalClose-inset) / 2, (var(--Card-radius) - var(--variant-borderWidth, 0px)) / 2))"},"solid"===t.variant&&{"--DialogContent-color":"currentColor"},"sm"===t.size&&{"--Card-padding":"1rem","--ModalDialog-titleOffset":e.spacing(.25),"--ModalDialog-descriptionOffset":e.spacing(.25),"--ModalClose-inset":"0.375rem"},"md"===t.size&&{"--Card-padding":"1.25rem","--ModalDialog-titleOffset":e.spacing(.25),"--ModalDialog-descriptionOffset":e.spacing(.75),"--ModalClose-inset":"0.5rem"},"lg"===t.size&&{"--Card-padding":"1.5rem","--ModalDialog-titleOffset":e.spacing(.5),"--ModalDialog-descriptionOffset":e.spacing(1),"--ModalClose-inset":"0.625rem"},{boxSizing:"border-box",boxShadow:e.shadow.md,minWidth:"min(calc(100vw - 2 * var(--Card-padding)), var(--ModalDialog-minWidth, 300px))",outline:0,position:"absolute"},"fullscreen"===t.layout&&{top:0,left:0,right:0,bottom:0,border:0,borderRadius:0},"center"===t.layout&&{top:"50%",left:"50%",transform:"translate(-50%, -50%)",maxWidth:"min(calc(100vw - 2 * var(--Card-padding)), var(--ModalDialog-maxWidth, 100vw))",maxHeight:"calc(100% - 2 * var(--Card-padding))"},{[`& [id="${t["aria-labelledby"]}"]`]:{"--Typography-margin":"calc(-1 * var(--ModalDialog-titleOffset)) 0 var(--ModalDialog-gap) 0","--Typography-fontSize":"1.125em",[`& + [id="${t["aria-describedby"]}"]`]:{"--unstable_ModalDialog-descriptionOffset":"calc(-1 * var(--ModalDialog-descriptionOffset))"}},[`& [id="${t["aria-describedby"]}"]`]:{"--Typography-fontSize":"1em","--Typography-margin":"var(--unstable_ModalDialog-descriptionOffset, var(--ModalDialog-gap)) 0 0 0","&:not(:last-child)":{"--Typography-margin":"var(--unstable_ModalDialog-descriptionOffset, var(--ModalDialog-gap)) 0 var(--ModalDialog-gap) 0"}}}))),fe=l.forwardRef((function(e,t){const n=(0,N.Z)({props:e,name:"JoyModalDialog"}),{className:o,children:i,invertedColors:c=!1,orientation:f="vertical",color:d="neutral",component:p="div",variant:h="outlined",size:m="md",layout:g="center",maxWidth:v,minWidth:y,slots:b={},slotProps:x={}}=n,w=(0,a.Z)(n,le),_=(0,s.Z)({},n,{color:d,component:p,maxWidth:v,minWidth:y,layout:g,size:m,variant:h,invertedColors:c}),k=(e=>{const{variant:t,color:n,size:r,layout:o}=e,i={root:["root",t&&`variant${(0,K.Z)(t)}`,n&&`color${(0,K.Z)(n)}`,r&&`size${(0,K.Z)(r)}`,o&&`layout${(0,K.Z)(o)}`]};return(0,u.Z)(i,V,{})})(_),C=(0,s.Z)({},w,{component:p,slots:b,slotProps:x}),S=(0,Q.Z)(),E=(0,Q.Z)(),T=l.useMemo((()=>({variant:h,color:d,labelledBy:S,describedBy:E})),[d,h,S,E]),[O,A]=(0,R.Z)("root",{ref:t,className:(0,Y.Z)(k.root,o),elementType:ce,externalForwardedProps:C,ownerState:_,additionalProps:{as:p,role:"dialog","aria-modal":"true","aria-labelledby":S,"aria-describedby":E}});return(0,r.jsx)(J.Provider,{value:m,children:(0,r.jsx)(ee.Provider,{value:T,children:(0,r.jsx)(O,(0,s.Z)({},A,{children:l.Children.map(i,((e,t)=>{if(!l.isValidElement(e))return e;const n={};if(function(e,t){var n,r;return l.isValidElement(e)&&-1!==t.indexOf(null!=(n=e.type.muiName)?n:null==(r=e.type)||null==(r=r._payload)||null==(r=r.value)?void 0:r.muiName)}(e,["Divider"])){n.inset="inset"in e.props?e.props.inset:"context";const t="vertical"===f?"horizontal":"vertical";n.orientation="orientation"in e.props?e.props.orientation:t}return 0===t&&(n["data-first-child"]=""),t===l.Children.count(i)-1&&(n["data-last-child"]=""),l.cloneElement(e,n)}))}))})})}));var de=fe,pe=n(16872),he=n(87106),me=n(18417),ge=(n(11593),n(32555)),ve={fontFamily:"Favorit Pro Regular",padding:"1.25rem",borderRadius:"1rem"},ye=function(e){var t=e.DATA,n=e.CONFIG,a=void 0===n?{type:"text"}:n,s=e.STATE,l=void 0===s?{is_open:!1}:s,u=e.HANDLERS,c=void 0===u?{eh_close:function(){return console.warn("No close-handler provided")}}:u;if(!t)return null;var f=a.type,d=void 0===f?"text":f,p=c.eh_close;return(0,r.jsx)($,{open:l.is_open,onClose:p,children:(0,r.jsx)(o.Z,{in:l.is_open,easing:"ease-in-out",timeout:250,children:(0,r.jsx)(X,{children:(0,r.jsxs)(de,{"aria-labelledby":"modal-dialog-overflow",layout:"center",style:ve,children:[(0,r.jsxs)(i.Z,{position:"relative",width:{xs:"auto",sm:"85vw",md:"75vw",lg:"65vw",xl:"50vw"},children:["text"===d?(0,r.jsx)(pe.Z,{DATA:t,HDL:{eh_close:p}}):null,"workshopRegistration"===d?(0,r.jsx)(me.Z,{DATA:t}):null,"interestRegistration"===d?(0,r.jsx)(he.Z,{DATA:t}):null]}),(0,r.jsx)(ge.Z,{COLOR:"rgb(0, 145, 250)",ON_CLICK:p,CONFIG:{top:"1.25rem",right:"1.25rem"}})]})})})})}},87106:function(e,t,n){"use strict";n.d(t,{Z:function(){return re}});var r=n(85893),o=n(8247),i=n(99226),a=n(67294),s=n(14713),l=n(87536),u=n(95496),c=n(74231),f=n(16483),d=n(76461),p=n(30142),h=n(98976),m=n(53287),g=n(42484),v=n(26042),y=n(1740),b={is_readyForSubmit:!1,is_submitting:!1},x=function(e){var t=e.CONFIG,n=void 0===t?b:t,o=(0,v.Z)({},b,n),a=o.is_readyForSubmit,s=o.is_submitting;return(0,r.jsx)("footer",{children:(0,r.jsx)(i.Z,{children:(0,r.jsx)(y.Z,{TEXT:"Submit",INACTIVE:!a,CONFIG:{with_icon:!0},STATE:{is_submitting:s}})})})},w=n(80752),_=n(19259),k=(n(1619),n(41830)),C=n(23740),S=n(61550),E=n(88262),T=n(47568),O=n(69396),A=n(20414),j=n(9669),I=n.n(j),P=n(67814),N=n(51436),R=n(29441),Z=n(53881),L=n(15953),D=n(63387),F=function(e){return"\n  Thank you for registering interest in <em>".concat(e,"</em>.<br>\n  Your registration was successful.\n  <br><br>\n  Kind regards,<br>\n  The ootiboo Team\n")};function M(){return z.apply(this,arguments)}function z(){return z=(0,T.Z)((function(){var e,t,n=arguments;return(0,A.__generator)(this,(function(r){return e=n.length>0&&void 0!==n[0]?n[0]:{eventTitle:null},(t=n.length>1&&void 0!==n[1]?n[1]:{recipient:null,template:null})&&t.recipient?[2,new Promise((function(n,r){var o=t.recipient,i=t.template,a=e.eventTitle,s=void 0===a?null:a,l=(0,D.Z)(i),u=l?i.subject:"Interest Registration Confirmation: ".concat(s),c=l?i.bodyText:null,f='\n      <div style="font-size: 18px">\n        <b style="text-decoration: underline">Interest REGISTRATION</b>\n\n        <br><br>\n\n        '.concat(l?(0,L.Z)(c):F(s),"\n\n        <br><br>\n      </div>\n    ");(0,Z.Z)(f,o,null,u).then((function(){return n()})).catch((function(e){console.log(e),r()}))}))]:[2,console.warn("No recipient provided to sendEmail_confirm_interestReg()")]}))})),z.apply(this,arguments)}var B=n(66765),H={recipients:["info@ootiboo.com","goose@ootiboo.com","amanda@ootiboo.com"]};function $(e){return U.apply(this,arguments)}function U(){return U=(0,T.Z)((function(e){var t,n=arguments;return(0,A.__generator)(this,(function(r){return t=n.length>1&&void 0!==n[1]?n[1]:H,[2,new Promise((function(n,r){var o=e.projectTitle,i=e.schoolName,a=e.teacherName,s=e.teacherEmail,l=t.recipients,u=void 0===l?H.recipients:l,c='\n      <div style="font-size: 18px">\n        <b style="text-decoration: underline">INTEREST REGISTRATION</b>\n\n        <br><br>\n\n        Someone has registered interest in a project.<br>\n        The submitted information is as follows:\n\n        <br><br>\n\n        Project title:\n        '.concat((0,B.Z)(o),"\n        <br>\n        Teacher name:\n        ").concat((0,B.Z)(a),"\n        <br>\n        Teacher email:\n        ").concat((0,B.Z)(s),"\n        <br>\n        School name:\n        ").concat((0,B.Z)(i),'\n\n        <br><br>\n\n        You can view the full registration details in the Strapi CMS: \n        <a href="https://cdn.ootiboo.com/admin/content-manager/collectionType/api::interest-registration.interest-registration">Interest Registrations</a>\n\n      </div>\n    ');(0,Z.Z)(c,u,null,"Interest Registration Notification").then((function(){return n()})).catch((function(e){console.log(e),r()}))}))]}))})),U.apply(this,arguments)}var V=n(23594),G=n(5255),W="https://cdn.ootiboo.com",q={hidden:!1,successful:!0,text:"Your registration was successful",icon:(0,r.jsx)(P.G,{icon:N.LEp,color:"#fff"})},X={hidden:!1,successful:!1,text:"Something went wrong, please try again",icon:(0,r.jsx)(P.G,{icon:N.gPx,color:"#fff"})};P.G,N.gPx;function Y(){return Y=(0,T.Z)((function(){var e,t,n,r,o,i,a,s,l,u,c,f,d,p,h=arguments;return(0,A.__generator)(this,(function(m){if(e=h.length>0&&void 0!==h[0]?h[0]:null,h.length>1&&void 0!==h[1]?h[1]:null,t=h.length>2&&void 0!==h[2]?h[2]:{set_notification:function(){return console.warn("No notification hdl. passed to submission hdl.")},set_isSubmitting:function(){return console.warn("No isSubmitting hdl. passed to submission hdl.")},resetForm:function(){return console.warn("No form reset hdl. passed to submission hdl.")}},n=h.length>3&&void 0!==h[3]?h[3]:{recipients_notifEmail:null,emailTemplates:{confirmReg:null}},!e)return[2,console.error("No submission data passed to submission hdl.")];r=e.projectID,o=e.eventID,i=e.eventTitle,a=e.teacherEmail,s=e.schoolName,l=t.set_notification,u=t.set_isSubmitting,c=t.resetForm,f=n.recipients_notifEmail,d=n.emailTemplates,p={data:(0,O.Z)((0,v.Z)({publishedAt:null},e),{relatedEvent:{id:o},relatedProject:{id:r}})};try{u(!0),I().post("".concat(W,"/api/interest-registrations"),p).then((function(t){200===t.status?(l(q),u(!1),c(),(0,G.Z)(a)&&M({eventTitle:i},{recipient:a,template:null===d||void 0===d?void 0:d.confirmReg}),(0,R.Dl)({eventTitle:i,eventType:"Interest",schoolName:s}),$(e,{recipients:f})):l(X)})).catch((function(e){return(0,V.Z)(e)}))}catch(g){return(0,V.Z)(g),l(X),u(!1),[2]}return[2]}))})),Y.apply(this,arguments)}var K=(0,f.cL)("teachers").color,Q=(0,f.gg)(),J=Q.color_success,ee=Q.color_error,te={display:"flex",flexDirection:"column",rowGap:"1rem"},ne=function(e){var t=e.EVENTDATA,n=e.FORMTEMPLATE,f=t.id,v=void 0===f?null:f,y=t.title,b=n.headline,T=void 0===b?'"Register interest"':b,O=n.fields,A=void 0===O?[]:O,j=n.customConfig,I=void 0===j?{}:j,P=I.projectID,N=void 0===P?null:P,R=I.projectTitle,Z=I.ctaText_userNotLoggedIn,L=(0,h.Z)(I.recipients_notifEmail),D=(0,s.aF)().user,F=(0,a.useContext)(o.Z).schoolsData;D=(0,p.Z)(D,F);var M=(0,a.useContext)(o.Z).emailTemplatesData,z=null===M||void 0===M?void 0:M.confirm_interestReg,B=(0,m.Z)(A),H=c.Ry().shape(B),$={resolver:(0,u.X)(H)},U=(0,l.cI)($),V=U.register,G=U.handleSubmit,W=U.reset,q=U.formState,X=U.setValue,Q=q.errors,ne=(q.submitCount,(0,a.useState)(!1)),re=ne[0],oe=ne[1],ie=(0,a.useState)({text:"",hidden:!0,successful:!1}),ae=ie[0],se=ie[1],le=(0,a.useState)(""),ue=le[0],ce=le[1],fe=(0,a.useState)(""),de=fe[0],pe=fe[1],he=(0,a.useState)(""),me=he[0],ge=he[1],ve={schoolName:ue,teacherName:de,teacherEmail:me},ye={set_schoolName:ce,set_teacherName:pe,set_teacherEmail:ge};(0,a.useEffect)((function(){var e,t;D&&(ce(null===D||void 0===D||null===(e=D.school)||void 0===e?void 0:e.attributes.name),X("schoolName",null===D||void 0===D||null===(t=D.school)||void 0===t?void 0:t.attributes.name),pe(D.name),X("teacherName",D.name),ge(D.email),X("teacherEmail",D.email))}),[D]);var be={recipients_notifEmail:L,emailTemplates:{confirmReg:z}},xe={projectID:N,projectTitle:R,eventID:v,eventTitle:y,schoolName:ue,teacherName:de,teacherEmail:me},we={set_notification:se,set_isSubmitting:oe,resetForm:function(){return e=Object.values(ye),t=W,e?t?(t(),void e.forEach((function(e){return e("")}))):console.warn("resetForm() \u2192 no USEFORMRESET method provided."):console.warn("resetForm() \u2192 no FIELDSETTERS provided.");var e,t}};return(0,r.jsxs)("form",{onSubmit:G((function(){return function(){return Y.apply(this,arguments)}(xe,null,we,be)})),style:te,children:[(0,r.jsx)(g.Z,{CONTENT:{headline:T},CONFIG:{color:K}}),D?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.Z,{display:"grid",gridTemplateColumns:{xs:"1fr",md:"1fr 1fr"},gap:2.5,children:A.map((function(e,t){if(e.__component.includes("content.block-")){var n=e,o=(0,d.Qv)(n),i={addStyles:{mb:0,gridColumn:"span 2"}};if("text"===o&&n.text)return(0,r.jsx)(k.Z,{TEXT:n.text,MORE:n.text_more,WIDTH:"full",CONFIG:i},t);if("image"===o&&n.image)return(0,r.jsx)(C.Z,{WIDTH:"full",IMAGE:n.image,CONFIG:i},t)}else{var a=(0,d.QQ)(e),s=e.name,l=e.config,u=e.content;l.respWidth={xs:2,sm:2,md:l.width||1};var c={eh_register:V,eh_change:ye["set_".concat(s)]},f=ve[s],p=Q[s];if("text"===a)return(0,r.jsx)(w.Z,{NAME:s,VALUE:f,CONTENT:u,CONFIG:l,ERROR:p,HDL:c},t);if("textarea"===a)return(0,r.jsx)(_.Z,{NAME:s,VALUE:f,CONTENT:u,CONFIG:l,ERROR:p,HDL:c},t)}}))}),(0,r.jsx)(x,{CONFIG:{is_readyForSubmit:!0,is_submitting:re}}),ae.hidden?null:(0,r.jsx)(i.Z,{mt:2,children:(0,r.jsxs)(i.Z,{p:2,display:"inline-flex",alignItems:"center",color:"#fff",borderRadius:2,bgcolor:ae.successful?J:ee,children:[(0,r.jsx)(E.Z,{TEXT:ae.text,COLOR:"#fff"}),ae.icon?(0,r.jsx)(i.Z,{ml:1,children:ae.icon}):null,(0,r.jsx)("button",{onClick:function(){return se({text:ae.text,hidden:!0})}})]})})]}):(0,r.jsx)(S.Z,{DATA:{text:Z}})]})},re=function(e){var t=e.DATA,n=void 0===t?{event:null,formTemplate:null}:t,o=n.event,i=void 0===o?null:o,a=n.formTemplate,s=void 0===a?null:a;return(0,r.jsx)(ne,{EVENTDATA:i,FORMTEMPLATE:s})}},11593:function(e,t,n){"use strict";var r=n(85893),o=n(99226),i=n(67814),a=n(51436),s=n(35596),l=n(16483),u=n(18751),c=n(88262),f=(n(63399),n(58192));t.Z=function(e){var t=e.DATA,n=void 0===t?{headline:null,text:null,target:null}:t,d=e.HANDLERS,p=void 0===d?{eh_close:function(){return console.log("Closing modal...")}}:d,h=(0,s.K)().locale,m=(0,l.cL)("teachers").color,g=n.headline,v=void 0===g?null:g,y=n.text,b=void 0===y?null:y,x=n.target,w=void 0===x?null:x,_=p.eh_close,k=(0,r.jsx)(i.G,{icon:a.g82,color:"currentColor"}),C=(0,r.jsx)(i.G,{icon:a.eFW,color:"currentColor"});return(0,r.jsxs)(o.Z,{display:"grid",rowGap:2,children:[v?(0,r.jsx)(u.Z,{TEXT:v,CONFIG:{size:"md",color:m}}):null,b?(0,r.jsx)(c.Z,{TEXT:b}):null,(0,r.jsxs)(o.Z,{mt:2,children:[(0,r.jsx)(f.Z,{TEXT:"de"===h?"Abbrechen":"Cancel",MR:1,ICON:k,POSITION_icon:"left",ON_click:_}),(0,r.jsx)(f.Z,{TEXT:"de"===h?"Weiter":"Continue",ICON:C,POSITION_icon:"left",ON_click:function(){return window.open(w)}})]})]})}},16872:function(e,t,n){"use strict";var r=n(85893),o=n(99226),i=n(16483),a=n(18751),s=n(88262),l=n(63399),u=(0,i.cL)("teachers").color;t.Z=function(e){var t=e.DATA,n=void 0===t?{headline:null,text:null,links:null}:t,i=e.HDL,c=void 0===i?{eh_close:function(){return console.warn("Layout_textModal: No close-hdl. provided")}}:i,f=n.headline,d=void 0===f?null:f,p=n.text,h=void 0===p?null:p,m=n.links,g=void 0===m?null:m,v=c.eh_close;return(0,r.jsxs)(o.Z,{display:"grid",rowGap:2,children:[d?(0,r.jsx)(a.Z,{TEXT:d,CONFIG:{size:"md",color:u}}):null,h?(0,r.jsx)(s.Z,{TEXT:h}):null,g&&g.length>0?(0,r.jsx)(o.Z,{children:g.map((function(e,t){return(0,r.jsx)(l.Z,{TARGET:e.target,TEXT:"".concat(e.text).concat(e.is_external?" \u2197":""),IS_external:e.is_external,IS_nextLink:!e.is_external,CONFIG:{underline:!0},HDL:{eh_click:v}},t)}))}):null]})}},18417:function(e,t,n){"use strict";n.d(t,{Z:function(){return Ge}});var r=n(85893),o=n(26042),i=n(69396),a=n(8247),s=n(99226),l=n(67294),u=n(14713),c=n(87536),f=n(95496),d=n(74231),p=n(16483),h=n(76461),m=n(30142);var g=n(98976),v=n(53287),y=n(42484),b=n(46137),x=n(1740),w=n(88262),_=(0,p.gg)(),k=_.color_success,C=_.color_error,S={notification:{hidden:!0,successful:!1,text:"",icon:null},is_readyForSubmit:!1,is_submitting:!1},E=function(e){var t=e.CONFIG,n=void 0===t?S:t,i=(0,o.Z)({},S,n),a=i.notification,l=i.is_readyForSubmit,u=i.is_submitting;return(0,r.jsxs)("footer",{style:{minHeight:"calc(28.35px + 32px)",display:"flex",justifyContent:"space-between",alignItems:"end"},children:[(0,r.jsx)(s.Z,{children:a.hidden?null:(0,r.jsxs)(s.Z,{p:2,display:"inline-flex",alignItems:"center",color:"#fff",borderRadius:2,bgcolor:a.successful?k:C,children:[(0,r.jsx)(w.Z,{TEXT:"Your registration was successful",COLOR:"#fff"}),a.icon?(0,r.jsx)(s.Z,{ml:1,children:a.icon}):null]})}),(0,r.jsxs)(s.Z,{position:"relative",children:[l?null:(0,r.jsx)(b.Z,{title:"Please provide all necessary information, including a preferred date and workshop details before submitting",componentsProps:{tooltip:{sx:{backgroundColor:"#F8A900",color:"#fff",fontFamily:"Favorit Pro Regular",fontSize:"1em"}}},placement:"top",children:(0,r.jsx)(s.Z,{position:"absolute",width:"100%",height:"100%",sx:{cursor:"pointer"}})}),(0,r.jsx)(x.Z,{TEXT:"Submit",CONFIG:{with_icon:!0},STATE:{is_submitting:u}})]})]})},T=n(18751),O=n(46086),A=n(32555),j=(0,p.cL)("teachers").color,I={},P=function(e){var t=e.CONTENT,n=e.CONFIG,i=void 0===n?{is_hidden:!0}:n,a=e.HDL,l=void 0===a?{eh_close:function(){return console.warn("No close event hdl. provided for fact sheet comp.")}}:a;if(!t||!t.blocks)return console.warn("No content provided for fact sheet comp."),null;(0,o.Z)({},I,i);var u=t.blocks,c=t.headline,f=void 0===c?"Workshop Fact Sheet":c,d=l.eh_close;return(0,r.jsxs)(s.Z,{position:"relative",zIndex:3,bgcolor:"var(--joy-palette-background-surface, var(--joy-palette-neutral-50, #FBFCFE))",children:[(0,r.jsx)(A.Z,{COLOR:"rgb(0, 145, 250)",ON_CLICK:d,CONFIG:{top:0,right:0}}),(0,r.jsx)(s.Z,{mb:2,children:(0,r.jsx)(T.Z,{TEXT:f,CONFIG:{size:"sm",color:j,lineHeight:1}})}),(0,r.jsx)(O.Z,{BLOCKS:u,CONFIG:{forcedBlockWidth:"full"}})]})},N=n(67814),R=n(51436),Z=n(58192),L=n(33899),D={is_required:!1,width:1},F=function(e){var t=e.CONTENT,n=e.CONFIG,i=e.ACTIONS,a=void 0===i?{set_factSheetHidden:function(){return console.warn("No set_factSheetHidden() action provided for fact sheet comp.")}}:i;if(!t)throw new Error("No content provided for fact sheet comp.");(0,o.Z)({},D,n);var u=t.text,c=a.set_factSheetHidden,f=(0,r.jsx)(N.G,{icon:R.nfZ,color:"currentColor"}),d=(0,l.useState)(!1),p=d[0],h=d[1];return(0,r.jsxs)(s.Z,{gridColumn:"span 2",children:[(0,r.jsxs)(s.Z,{position:"relative",p:2,pr:3,mb:2,display:p?"none":"flex",columnGap:2,alignItems:"center",color:"#fff",borderRadius:2,bgcolor:"#F8A900",children:[(0,r.jsx)(s.Z,{border:"1px solid transparent",p:2,children:(0,r.jsx)(N.G,{icon:R.nfZ})}),(0,r.jsx)(w.Z,{TEXT:u,COLOR:"#fff"}),(0,r.jsx)(s.Z,{position:"absolute",top:"0.5rem",right:"0.6rem",display:"flex",justifyContent:"center",alignItems:"center",borderRadius:2,sx:{cursor:"pointer"},onClick:function(){return h(!0)},children:(0,r.jsx)(N.G,{icon:R.NBC})})]}),(0,r.jsx)(Z.Z,{TEXT:"Workshop Fact Sheet",ICON:f,POSITION_icon:"left",SIZE:"small",ON_click:function(){return c(!1)}})]})},M=n(38155),z=n(80466),B={is_required:!1,width:1},H=function(e){var t=e.NAME,n=e.VALUE,a=e.CONTENT,l=void 0===a?{labelText:null}:a,u=e.CONFIG,c=void 0===u?B:u,f=e.ERROR,d=e.HDL,p=void 0===d?{eh_change:function(){return console.log("field value has changed.")},eh_register:function(){return console.log("field has been registered.")}}:d;if(!t)throw new Error("Field name is required.");var h=(0,o.Z)({},B,c),m=l.labelText,g=h.is_required,v=h.width,y=p.eh_change,b=p.eh_register,x=void 0===b?function(){return console.log("field has been registered.")}:b;return(0,r.jsxs)(s.Z,{gridColumn:{xs:"span 2",md:"span ".concat(v)},children:[m?(0,r.jsx)(s.Z,{mb:.75,children:(0,r.jsx)(M.Z,{TEXT:"".concat(m).concat(g?" *":""),COLOR:L.Z.text.primary,IS_lowerCase:!0})}):null,(0,r.jsx)(s.Z,{lineHeight:0,overflow:"hidden",borderRadius:1,backgroundColor:L.Z.background.gray,children:(0,r.jsx)("input",(0,i.Z)((0,o.Z)({},g&&x(t)),{type:"text",name:t,placeholder:"...",value:n,style:{"--placeholderColor":L.Z.text.primary},onChange:function(e){return y(e.target.value)}}))}),g&&f?(0,r.jsx)(z.Z,{TEXT:f.message,SUCCESS:!1,MT:1}):null]})},$={is_required:!1,width:1},U={width:"100%",overflow:"hidden",border:"none",resize:"none",fontFamily:"inherit",fontSize:"inherit",backgroundColor:"transparent",outline:"none","--placeholderColor":L.Z.text.primary},V=function(e){var t=e.NAME,n=e.VALUE,a=e.CONTENT,l=void 0===a?{labelText:null}:a,u=e.CONFIG,c=void 0===u?$:u,f=e.ERROR,d=e.HDL,p=void 0===d?{eh_change:function(){return console.log("field value has changed.")},eh_register:function(){return console.log("field has been registered.")}}:d;if(!t)throw new Error("Field name is required.");var h=(0,o.Z)({},$,c),m=l.labelText,g=h.is_required,v=h.width,y=p.eh_change,b=p.eh_register;return(0,r.jsxs)(s.Z,{gridColumn:"span ".concat(v),children:[m?(0,r.jsx)(s.Z,{mb:.75,children:(0,r.jsx)(M.Z,{TEXT:"".concat(m).concat(g?" *":""),COLOR:L.Z.text.primary,IS_lowerCase:!0})}):null,(0,r.jsx)(s.Z,{lineHeight:0,overflow:"hidden",borderRadius:1,backgroundColor:L.Z.background.gray,children:(0,r.jsx)("textarea",(0,i.Z)((0,o.Z)({},g&&b(t)),{type:"text",name:t,placeholder:"...",value:n,style:U,onChange:function(e){return y(e.target.value)}}))}),g&&f?(0,r.jsx)(z.Z,{TEXT:f.message,SUCCESS:!1,MT:1}):null]})},G=n(89609),W={height:1,height_mobile:1},q=function(e){var t=e.CONFIG,n=void 0===t?W:t,i=(0,o.Z)({},W,n),a=i.height,s=i.height_mobile;return(0,r.jsx)(G.Z,{gridColumn:"span 2",height:{xs:"".concat(s,"rem"),sm:"".concat(a,"rem")}})},X=n(9459),Y=["01.01.2024","02.01.2024","03.01.2024","04.01.2024","05.01.2024","06.01.2024"],K={is_required:!1,width:1,options:Y},Q=function(e){var t=e.NAME,n=e.VALUE,i=e.CONTENT,a=void 0===i?{labelText:null}:i,l=e.CONFIG,u=void 0===l?K:l,c=e.ERROR,f=e.HDL,d=void 0===f?{eh_change:function(){return console.log("field value has changed.")}}:f;if(!t)throw new Error("Field name is required.");var p=(0,o.Z)({},K,u),h=a.labelText,m=(p.name,p.is_required),g=p.width,v=p.options,y=void 0===v?Y:v,b=p.disabledOptions,x=void 0===b?[]:b,w=d.eh_change;return(0,r.jsxs)(s.Z,{gridColumn:{xs:"span 2",md:"span ".concat(g)},children:[h?(0,r.jsx)(s.Z,{mb:.75,children:(0,r.jsx)(M.Z,{TEXT:"".concat(h).concat(m?" *":""),COLOR:L.Z.text.primary,IS_lowerCase:!0})}):null,(0,r.jsx)(s.Z,{lineHeight:0,overflow:"hidden",borderRadius:1,backgroundColor:L.Z.background.gray,children:(0,r.jsx)(X.Z,{OPTIONS:y,OPTIONS_disabled:x,OPTION_active:n,HANDLERS:{change:w}})}),m&&c?(0,r.jsx)(z.Z,{TEXT:c.message,SUCCESS:!1,MT:1}):null]})},J=n(29815),ee=["08:00","08:15","08:30","08:45","09:00","09:15","09:30","09:45","10:00","10:15","10:30","10:45","11:00","11:15","11:30","11:45","12:00","12:15","12:30","12:45","13:00","13:15","13:30","13:45","14:00","14:15","14:30","14:45","15:00","15:15","15:30","15:45","16:00","16:15","16:30","16:45","17:00","17:15","17:30","17:45","18:00"].filter((function(e){return e>="09:00"&&e<="16:00"})),te=(0,p.cL)("teachers").color,ne={width:1,is_required:!1,is_disabled:!1},re={name:"yearGroup",is_required:!1},oe={name:"studentTotal",is_required:!1},ie={name:"startTime",is_required:!1,options:["..."].concat((0,J.Z)(ee))},ae={name:"endTime",is_required:!1,options:["..."].concat((0,J.Z)(ee))},se={name:"location",is_required:!1},le=function(e){var t=e.NAME,n=e.VALUE,a=e.CONTENT,l=void 0===a?{labelText:null}:a,u=e.CONFIG,c=void 0===u?ne:u,f=e.ERROR,d=e.HDL,p=void 0===d?{eh_change:function(){return console.log("field value has changed.")},eh_register:function(){return console.log("field has been registered.")}}:d;if(!t)throw new Error("Field name is required.");var h,m=(0,o.Z)({},ne,c),g=l.labelText,v=l.infoText,y=m.width,b=m.is_required,x=m.is_disabled,w=p.eh_change,_=(p.eh_register,n.yearGroup),k=n.studentTotal,C=n.startTime,S=n.endTime,E=n.location;return(0,r.jsxs)(s.Z,{gridColumn:"span ".concat(y),sx:(h=x,{pointerEvents:h?"none":"auto",opacity:h?.333:1}),children:[v?(0,r.jsx)(s.Z,{mb:2,children:v}):null,g?(0,r.jsx)(s.Z,{mb:.75,children:(0,r.jsx)(M.Z,{TEXT:"".concat(g).concat(b?" (required)":""),COLOR:x?"grey":te,IS_lowerCase:!0})}):null,(0,r.jsxs)(s.Z,{mt:1,display:"grid",gridTemplateColumns:{xs:"1fr",md:"repeat(5, 1fr)"},gap:2.5,children:[(0,r.jsx)(H,{NAME:re.name,VALUE:_,CONTENT:{labelText:"Year group(s)"},CONFIG:re,HDL:{eh_change:function(e){w((0,i.Z)((0,o.Z)({},n),{yearGroup:e}))}}}),(0,r.jsx)(H,{NAME:oe.name,VALUE:k,CONTENT:{labelText:"Student total"},CONFIG:oe,HDL:{eh_change:function(e){w((0,i.Z)((0,o.Z)({},n),{studentTotal:e}))}}}),(0,r.jsx)(Q,{NAME:ie.name,VALUE:C,CONTENT:{labelText:"Start time"},CONFIG:ie,HDL:{eh_change:function(e){w((0,i.Z)((0,o.Z)({},n),{startTime:e}))}}}),(0,r.jsx)(Q,{NAME:ae.name,VALUE:S,CONTENT:{labelText:"End time"},CONFIG:ae,HDL:{eh_change:function(e){w((0,i.Z)((0,o.Z)({},n),{endTime:e}))}}}),(0,r.jsx)(H,{NAME:se.name,VALUE:E,CONTENT:{labelText:"Location"},CONFIG:se,HDL:{eh_change:function(e){w((0,i.Z)((0,o.Z)({},n),{location:e}))}}})]}),b&&f?(0,r.jsx)(z.Z,{TEXT:f.message,SUCCESS:!1,MT:1}):null]})},ue=n(88818),ce={is_required:!1,width:1},fe=function(e){var t=e.NAME,n=e.VALUE,i=e.CONTENT,a=void 0===i?{labelText:null}:i,l=e.CONFIG,u=void 0===l?ce:l,c=e.ERROR,f=e.HDL,d=void 0===f?{eh_change:function(){return console.log("field value has changed.")},eh_register:function(){return console.log("field has been registered.")}}:f;if(!t)throw new Error("Field name is required.");var p=(0,o.Z)({},ce,u),h=a.labelText,m=(p.name,p.is_required),g=p.width,v=d.eh_change;d.eh_register;return(0,r.jsxs)(s.Z,{gridColumn:"span ".concat(g),children:[h?(0,r.jsx)(s.Z,{mb:1.25,children:(0,r.jsx)(M.Z,{TEXT:"".concat(h).concat(m?" *":""),COLOR:L.Z.text.primary,IS_lowerCase:!0})}):null,(0,r.jsx)(s.Z,{children:(0,r.jsx)(ue.Z,{IS_active:n,ON_change:v})}),m&&c?(0,r.jsx)(z.Z,{TEXT:c.message,SUCCESS:!1,MT:1}):null]})},de=n(1619),pe=n(41830),he=n(23740),me=n(61550),ge=n(828);function ve(e){if(!e)return console.warn("format_dateString(): No date provided.");var t=(0,ge.Z)(e.split("-"),3),n=t[0],r=t[1],o=t[2];return"".concat(o,"/").concat(r,"/").concat(n)}function ye(e){if(e&&e.fields&&e.fields.length&&e.customConfig){var t=e.fields,n=e.customConfig,r=e.reservedDates,o=void 0===r?[]:r,i=n.possibleDates,a=n.dateSelectRangeStart,s=n.dateSelectRangeEnd,l=t.find((function(e){return"workshopDate"===e.name}));if(l){if(i)l.config.options=i.map((function(e){return ve(e.date)})),l.config.options.unshift("Please select a date...");else if(l&&a&&s){var u=function(e,t){for(var n=[],r=new Date(e),o=new Date(t);r<=o;)n.push(r.toISOString().split("T")[0]),(r=new Date(r)).setDate(r.getDate()+1);return n}(a,s);u.unshift("Please select a date..."),l.config.options=u}o.length&&(l.config.disabledOptions=[],o.forEach((function(e,t){var n=ve(e);l.config.disabledOptions.push(n)})));var c=n.workshopDetailsConfig0,f=n.workshopDetailsConfig1,d=n.workshopDetailsConfig2,p=t.find((function(e){return"workshopDetails0"===e.name})),h=t.find((function(e){return"workshopDetails1"===e.name})),m=t.find((function(e){return"workshopDetails2"===e.name})),g=[c,f,d];[p,h,m].forEach((function(e,n){if(e)if(g[n]){var r=g[n],o=r.is_enabled,i=r.is_required;o||t.splice(t.indexOf(e),1),e.config.is_required=i}else t.splice(t.indexOf(e),1)}))}}}var be=n(9669),xe=n.n(be),we=n(29441),_e=n(47568),ke=n(20414),Ce=n(53881),Se=n(15953),Ee=n(63387),Te="https://cdn.ootiboo.com",Oe="\n  Thank you for registering for one of our workshops.<br>\n  Your registration was successful.\n  <br><br>\n  Kind regards,<br>\n  The ootiboo Team\n";function Ae(){return je.apply(this,arguments)}function je(){return je=(0,_e.Z)((function(){var e,t,n=arguments;return(0,ke.__generator)(this,(function(r){return e=n.length>0&&void 0!==n[0]?n[0]:{factSheetPDF:null},(t=n.length>1&&void 0!==n[1]?n[1]:{recipient:null})&&t.recipient?[2,new Promise((function(n,r){var o=t.recipient,i=t.template,a=e.factSheetPDF,s=void 0===a?null:a,l=[],u=(0,Ee.Z)(i),c=u?i.subject:"Workshop Registration Confirmation",f=u?i.bodyText:null,d=s&&s.data,p=d?p=Te+s.data.attributes.url:null;d&&l.push({filename:s.data.attributes.name,path:p});var h='\n      <div style="font-size: 18px">\n        <b style="text-decoration: underline">WORKSHOP REGISTRATION</b>\n\n        <br><br>\n\n        '.concat(u?(0,Se.Z)(f):Oe,"\n        \n        <br><br>\n\n        ").concat(d?"Attached to this email you will find the fact sheet for the workshop you have registered for.":"","\n      </div>\n    ");(0,Ce.Z)(h,o,l,c).then((function(){return n()})).catch((function(e){console.log(e),r()}))}))]:[2,console.warn("No recipient provided to sendEmail_confirm_workshopReg()")]}))})),je.apply(this,arguments)}var Ie=n(66765),Pe={recipients:["info@ootiboo.com","goose@ootiboo.com","amanda@ootiboo.com"]};function Ne(e){return Re.apply(this,arguments)}function Re(){return Re=(0,_e.Z)((function(e){var t,n=arguments;return(0,ke.__generator)(this,(function(r){return t=n.length>1&&void 0!==n[1]?n[1]:Pe,[2,new Promise((function(n,r){var o=e.schoolName,i=e.teacherName,a=e.email,s=e.contactNumber,l=e.schoolAddress,u=e.workshopDate,c=t.recipients,f=void 0===c?Pe.recipients:c,d='\n      <div style="font-size: 18px">\n        <b style="text-decoration: underline">WORKSHOP REGISTRATION</b>\n\n        <br><br>\n\n        Someone has registered for a workshop.<br>\n        The submitted information is as follows:\n\n        <br><br>\n\n        Teacher name:\n        '.concat((0,Ie.Z)(i),"\n        <br>\n        Teacher email:\n        ").concat((0,Ie.Z)(a),"\n        <br>\n        Teacher contact number:\n        ").concat((0,Ie.Z)(s),"\n        <br>\n        School name:\n        ").concat((0,Ie.Z)(o),"\n        <br>\n        School address:\n        ").concat((0,Ie.Z)(l),"\n        <br>\n        Workshop date:\n        ").concat((0,Ie.Z)(u),'\n\n        <br><br>\n\n        You can view the full registration details in the Strapi CMS: \n        <a href="https://cdn.ootiboo.com/admin/content-manager/collectionType/api::workshop-registration.workshop-registration">Workshop Registrations</a>\n\n      </div>\n    ');(0,Ce.Z)(d,f,null,"Workshop Registration Notification").then((function(){return n()})).catch((function(e){console.log(e),r()}))}))]}))})),Re.apply(this,arguments)}var Ze=n(23594),Le=n(5255),De="https://cdn.ootiboo.com";function Fe(e){return e&&0!=e.length?e.filter((function(e){return""!==e.yearGroup&&""!==e.studentTotal&&""!==e.startTime&&""!==e.endTime&&""!==e.location})):null}function Me(e){if(!e)return console.warn("format_dateString(): No date provided.");var t=(0,ge.Z)(e.split("/"),3),n=t[0],r=t[1],o=t[2];return"".concat(o,"-").concat(r,"-").concat(n)}var ze={hidden:!1,successful:!0,text:"Your registration was successful",icon:(0,r.jsx)(N.G,{icon:R.LEp,color:"#fff"})},Be={hidden:!1,successful:!1,text:"Something went wrong, please try again",icon:(0,r.jsx)(N.G,{icon:R.gPx,color:"#fff"})};var He=(0,p.cL)("teachers").color,$e={yearGroup:"",studentTotal:"",startTime:"",endTime:"",location:""},Ue={display:"flex",flexDirection:"column",rowGap:"1rem"},Ve=function(e){var t=e.EVENTDATA,n=e.FORMTEMPLATE,p=n.headline,b=void 0===p?'"Register for workshop"':p,x=n.fields,w=void 0===x?[]:x,_=n.customConfig,k=void 0===_?{}:_,C=k.projectID,S=void 0===C?null:C,T=k.ctaText_userNotLoggedIn,O=k.factSheetPDF,A=void 0===O?null:O,j=(0,g.Z)(k.recipients_notifEmail),I=t.factSheetBlocks,N=void 0===I?[]:I,R=(0,u.aF)().user,Z=(0,l.useContext)(a.Z).schoolsData;R=(0,m.Z)(R,Z);var L=(0,l.useContext)(a.Z).emailTemplatesData,D=null===L||void 0===L?void 0:L.confirm_workshopReg;ye(n);var M=(0,v.Z)(w),z=d.Ry().shape(M),B={resolver:(0,f.X)(z)},$=(0,c.cI)(B),U=$.register,G=$.handleSubmit,W=$.reset,X=$.formState,Y=$.setValue,K=X.errors,J=X.submitCount,ee=(0,l.useState)(!1),te=ee[0],ne=ee[1],re=(0,l.useState)({text:"",hidden:!0,successful:!1}),oe=re[0],ie=re[1],ae=(0,l.useState)(!0),se=ae[0],ue=ae[1],ce=(0,l.useState)(""),ge=ce[0],ve=ce[1],be=(0,l.useState)(""),_e=be[0],ke=be[1],Ce=(0,l.useState)(""),Se=Ce[0],Ee=Ce[1],Te=(0,l.useState)(""),Oe=Te[0],je=Te[1],Ie=(0,l.useState)(""),Pe=Ie[0],Re=Ie[1],Ve=(0,l.useState)("Please select a date..."),Ge=Ve[0],We=Ve[1],qe=(0,l.useState)((0,i.Z)((0,o.Z)({},$e),{index:0})),Xe=qe[0],Ye=qe[1],Ke=(0,l.useState)((0,i.Z)((0,o.Z)({},$e),{index:1})),Qe=Ke[0],Je=Ke[1],et=(0,l.useState)((0,i.Z)((0,o.Z)({},$e),{index:2})),tt=et[0],nt=et[1],rt=(0,l.useState)(!1),ot=rt[0],it=rt[1],at=(0,l.useState)(!1),st=at[0],lt=at[1],ut=(0,l.useState)(""),ct=ut[0],ft=ut[1];(0,l.useEffect)((function(){if(R){var e,t,n,r,o=function(e){if(!e)return console.warn("format_schoolAddressString(): No school address provided.");var t=e.street,n=e.number,r=e.city,o=e.state,i=e.country,a=e.zip,s="";return n&&(s+=n),t&&(s+=" ".concat(t)),r&&(s+=", ".concat(r)),a&&(s+=", ".concat(a)),o&&(s+=", ".concat(o)),i&&(s+=", ".concat(i)),""===s&&(s="No address provided."),s}(null===R||void 0===R||null===(e=R.school)||void 0===e||null===(t=e.attributes)||void 0===t?void 0:t.address);je(null===R||void 0===R||null===(n=R.school)||void 0===n?void 0:n.attributes.name),Y("schoolName",null===R||void 0===R||null===(r=R.school)||void 0===r?void 0:r.attributes.name),Re(o),Y("schoolAddress",o),ve(R.name),Y("teacherName",R.name),Ee(R.email),Y("email",R.email)}}),[R]);var dt={teacherName:ge,contactNumber:_e,email:Se,schoolName:Oe,schoolAddress:Pe,workshopDate:Ge,workshopDetails0:Xe,workshopDetails1:Qe,workshopDetails2:tt,clearForLunch:ot,has_readFactSheet:st,additionalInfo:ct},pt={set_teacherName:ve,set_contactNumber:ke,set_email:Ee,set_schoolName:je,set_schoolAddress:Re,set_workshopDate:We,set_workshopDetails0:Ye,set_workshopDetails1:Je,set_workshopDetails2:nt,set_clearForLunch:it,set_has_readFactSheet:lt,set_additionalInfo:ft},ht=null!=Ge&&""!==Ge&&"Please select a date..."!==Ge,mt={message:"Please select a date"},gt=[{id:Ge,is_valid:ht}],vt=function(e,t){return e.every((function(e){if(!e.config.is_required)return!0;var n=t[e.name];return""!==n.yearGroup&&""!==n.studentTotal&&""!==n.location&&""!==n.startTime&&""!==n.endTime}))}(w.filter((function(e){return e.__component.includes("workshop-details")})),dt),yt=w.every((function(e){var t;if(!e.__component.includes("fields.field-"))return!0;if(e.__component.includes("date-selection"))return!0;if(e.__component.includes("workshop-details"))return!0;if(!(null===e||void 0===e||null===(t=e.config)||void 0===t?void 0:t.is_required))return!0;var n=dt[e.name];return""!==n&&null!==n}))&&ht&&vt,bt={recipients_notifEmail:j,emailTemplates:{confirmReg:D}},xt={teacherName:ge,contactNumber:_e,email:Se,schoolName:Oe,schoolAddress:Pe,workshopDate:Ge,workshopDetails:[Xe,Qe,tt],clearForLunch:ot,additionalInfo:ct,projectID:S,factSheetPDF:A},wt={set_notification:ie,set_isSubmitting:ne,resetForm:function(){W(),ve(""),ke(""),Ee(""),je(""),Re(""),We(""),Ye((0,i.Z)((0,o.Z)({},$e),{index:0})),Je((0,i.Z)((0,o.Z)({},$e),{index:1})),nt((0,i.Z)((0,o.Z)({},$e),{index:2})),it(!1),ft("")}};return(0,r.jsxs)(r.Fragment,{children:[se?(0,r.jsxs)("form",{onSubmit:G((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{title:"Workshop"},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{set_notification:function(){return console.warn("No notification hdl. passed to submission hdl.")},set_isSubmitting:function(){return console.warn("No isSubmitting hdl. passed to submission hdl.")},resetForm:function(){return console.warn("No form reset hdl. passed to submission hdl.")}},a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{recipients_notifEmail:null,emailTemplates:{confirmReg:null}};if(!e)throw new Error("No submission data passed to submission handler.");if(!n.some((function(e){return!1===e.is_valid}))){var s=e.projectID,l=e.email,u=e.schoolName,c=e.workshopDate,f=e.workshopDetails,d=e.factSheetPDF,p=t.id,h=t.title,m=r.set_notification,g=r.set_isSubmitting,v=r.resetForm,y=a.recipients_notifEmail,b=a.emailTemplates,x={data:(0,i.Z)((0,o.Z)({publishedAt:null},e),{workshopDate:c&&""!==c?Me(c):null,workshopDetails:Fe(f),relatedEvent:{id:p},relatedProject:{id:s}})};try{g(!0),xe().post("".concat(De,"/api/workshop-registrations"),x).then((function(t){200===t.status?(m(ze),g(!1),v(),(0,Le.Z)(l)&&Ae({factSheetPDF:d},{recipient:l,template:null===b||void 0===b?void 0:b.confirmReg}),(0,we.Dl)({eventTitle:h,eventType:"Workshop",schoolName:u}),Ne(e,{recipients:y})):m(Be)})).catch((function(e){return(0,Ze.Z)(e)}))}catch(w){return(0,Ze.Z)(w),m(Be),void g(!1)}}}(xt,t,gt,wt,bt)})),style:Ue,children:[(0,r.jsx)(y.Z,{CONTENT:{headline:b},CONFIG:{color:He}}),R?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.Z,{display:"grid",gridTemplateColumns:{xs:"auto",md:"1fr 1fr"},gap:2.5,children:w.map((function(e,t){if(e.__component.includes("content.block-")){var n=e,a=(0,h.Qv)(n),s={addStyles:{mb:0,gridColumn:"span 2"}};if("text"===a&&n.text)return(0,r.jsx)(pe.Z,{TEXT:n.text,MORE:n.text_more,WIDTH:"full",CONFIG:s},t);if("image"===a&&n.image)return(0,r.jsx)(he.Z,{WIDTH:"full",IMAGE:n.image,CONFIG:s},t)}else{if(e.__component.includes("utilities-fields.workshop-fact-sheet-cta"))return(0,r.jsx)(F,{CONTENT:{text:e.text},ACTIONS:{set_factSheetHidden:ue}},t);var l=(0,h.QQ)(e),u=e.name,c=e.config,f=e.content,d={eh_register:U,eh_change:pt["set_".concat(u)]},p=dt[u],m="workshopDate"===u&&!ht&&J>0?mt:K[u];if("text"===l)return(0,r.jsx)(H,{NAME:u,VALUE:p,CONTENT:f,CONFIG:c,ERROR:m,HDL:d},t);if("textarea"===l)return(0,r.jsx)(V,{NAME:u,VALUE:p,CONTENT:f,CONFIG:c,ERROR:m,HDL:d},t);if("date-selection"===l)return(0,r.jsx)(Q,{NAME:u,VALUE:p,CONTENT:f,CONFIG:c,ERROR:m,HDL:d},t);if("workshop-details"===l)return(0,r.jsx)(le,{NAME:u,VALUE:p,CONTENT:f,CONFIG:(0,i.Z)((0,o.Z)({},c),{is_disabled:!ht}),ERROR:m,HDL:d},t);if("toggle"===l)return(0,r.jsx)(fe,{NAME:u,VALUE:p,CONTENT:f,CONFIG:c,ERROR:m,HDL:d},t);if("checkbox"===l)return(0,r.jsx)(de.Z,{NAME:u,VALUE:p,CONTENT:f,CONFIG:c,ERROR:m,HDL:d},t);if("group-divider"===l)return(0,r.jsx)(q,{CONFIG:e},t)}}))}),(0,r.jsx)(E,{CONFIG:{notification:oe,is_readyForSubmit:yt,is_submitting:te}})]}):(0,r.jsx)(me.Z,{DATA:{text:T}})]}):null,se?null:(0,r.jsx)(P,{CONTENT:{blocks:N},HDL:{eh_close:function(){return ue(!0)}}})]})},Ge=function(e){var t=e.DATA,n=void 0===t?{event:null,formTemplate:null}:t,o=n.event,i=void 0===o?null:o,a=n.formTemplate,s=void 0===a?null:a;return(0,r.jsx)(Ve,{EVENTDATA:i,FORMTEMPLATE:s})}},80466:function(e,t,n){"use strict";var r=n(85893),o=n(99226),i=n(67814),a=n(51436);t.Z=function(e){var t=e.TEXT,n=e.SUCCESS,s=e.ALERT,l=e.ICON,u=e.IS_box,c=e.MT;return(0,r.jsx)(o.Z,{mt:c,pt:u?.666:0,pr:u?1:0,pl:u?1:0,pb:u?.666:0,borderRadius:1.5,display:"inline-flex",bgcolor:u?n?"#28b95e":s?"#ffbe00":"#ff5a78":"transparent",color:u?"#fff":n?"#28b95e":"#ff5a78",children:(0,r.jsxs)("span",{children:[n||l?l?(0,r.jsx)(i.G,{icon:l,color:"currentColor"}):null:(0,r.jsx)(i.G,{icon:a.e7M,color:"currentColor"}),(0,r.jsx)("span",{style:{marginLeft:"0.333rem"},children:t})]})})}},14707:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,{Z:function(){return S}});var o=n(85893),i=n(90948),a=n(87462),s=n(63366),l=n(81222);const u=["boundaryCount","componentName","count","defaultPage","disabled","hideNextButton","hidePrevButton","onChange","page","showFirstButton","showLastButton","siblingCount"];var c=n(26042),f=n(69396),d=n(41664),p=n.n(d),h=n(11163),m=n(99226),g=n(92772),v=n(33899),y=1.1*parseInt(g.Z.favorit.sm.size),b=v.Z.text.secondary,x="#fff",w=v.Z.background.gray,_=v.Z.teachers.default,k=function(e){var t=e.ITEM,n=e.PAGE,r=e.IS_selected,i=e.IS_last,a=e.IS_link,s=e.CONFIG,l=void 0===s?{is_clickable:!0,is_ellipsis:!1}:s,u=e.HANDLERS,d=void 0===u?{eh_click:function(){return console.log("PaginationBullet: eh_click")}}:u,g=l.is_clickable,v=void 0===g||g,k=l.is_ellipsis,C=void 0!==k&&k,S=d.eh_click,E=void 0===S?function(){return console.log("PaginationBullet: eh_click")}:S,T=(0,h.useRouter)().asPath.split("?")[0],O={cursor:"pointer",pointerEvents:v?"auto":"none",color:r?x:b,backgroundColor:r?_:w,"&:hover":{color:x,backgroundColor:_},transition:"all 100ms ease-in-out"};return a?(0,o.jsx)(p(),{href:"".concat(T,"?page=").concat(n),children:(0,o.jsx)(m.Z,(0,f.Z)((0,c.Z)({width:"1.85rem",height:"1.85rem",mr:i?0:.5,fontSize:y,lineHeight:1,display:"flex",justifyContent:"center",alignItems:"center",borderRadius:99,sx:O},t),{children:n}))}):(0,o.jsx)(m.Z,{width:"1.85rem",height:"1.85rem",mr:.5,fontSize:y,lineHeight:1,display:"flex",justifyContent:"center",alignItems:"center",borderRadius:99,sx:O,onClick:v?function(){E(n),window.scrollTo({top:0,left:0,behavior:"smooth"})}:null,children:C?(0,o.jsx)("span",{style:{transform:"translateY(-0.25em)"},children:"\u2026"}):n})},C=((0,n(16483).cL)("teachers").color,{listStyle:"none",padding:0,margin:0,display:"flex"}),S=function(e){var t=e.INDEX_curr,n=e.INDEX_max,c=e.CONFIG,f=void 0===c?{bulletsAsLinks:!0}:c,d=e.HANDLERS,p=void 0===d?{eh_bullet_click:function(){return console.log("Pagination: eh_bullet_click")}}:d,h=f.bulletsAsLinks,m=void 0===h||h,g=p.eh_bullet_click,v=void 0===g?function(){return console.log("Pagination: eh_bullet_click")}:g,y=(0,i.ZP)("ul")(C),b=function(e={}){const{boundaryCount:t=1,componentName:n="usePagination",count:r=1,defaultPage:o=1,disabled:i=!1,hideNextButton:c=!1,hidePrevButton:f=!1,onChange:d,page:p,showFirstButton:h=!1,showLastButton:m=!1,siblingCount:g=1}=e,v=(0,s.Z)(e,u),[y,b]=(0,l.Z)({controlled:p,default:o,name:n,state:"page"}),x=(e,t)=>{p||b(t),d&&d(e,t)},w=(e,t)=>{const n=t-e+1;return Array.from({length:n},((t,n)=>e+n))},_=w(1,Math.min(t,r)),k=w(Math.max(r-t+1,t+1),r),C=Math.max(Math.min(y-g,r-t-2*g-1),t+2),S=Math.min(Math.max(y+g,t+2*g+2),k.length>0?k[0]-2:r-1),E=[...h?["first"]:[],...f?[]:["previous"],..._,...C>t+2?["start-ellipsis"]:t+1<r-t?[t+1]:[],...w(C,S),...S<r-t-1?["end-ellipsis"]:r-t>t?[r-t]:[],...k,...c?[]:["next"],...m?["last"]:[]],T=e=>{switch(e){case"first":return 1;case"previous":return y-1;case"next":return y+1;case"last":return r;default:return null}},O=E.map((e=>"number"===typeof e?{onClick:t=>{x(t,e)},type:"page",page:e,selected:e===y,disabled:i,"aria-current":e===y?"true":void 0}:{onClick:t=>{x(t,T(e))},type:e,page:T(e),selected:!1,disabled:i||-1===e.indexOf("ellipsis")&&("next"===e||"last"===e?y>=r:y<=1)}));return(0,a.Z)({items:O},v)}({count:n,defaultPage:t}).items;return(0,o.jsx)("div",{className:"flex justify-end",children:(0,o.jsx)(y,{children:b.map((function(e,i){var a=e.page,s=e.type,l=(e.selected,r(e,["page","type","selected"])),u=null;return"start-ellipsis"===s||"end-ellipsis"===s?u=(0,o.jsx)(k,{IS_link:!1,CONFIG:{is_clickable:!1,is_ellipsis:!0}}):"page"===s&&(u=m?(0,o.jsx)(k,{ITEM:l,PAGE:a,IS_selected:a===t,IS_last:a===n,IS_link:!0}):(0,o.jsx)(k,{ITEM:l,PAGE:a,IS_selected:a===t,IS_last:a===n,IS_link:!1,CONFIG:{is_clickable:!0},HANDLERS:{eh_click:v}})),(0,o.jsx)("li",{children:u},i)}))})})}},55232:function(e,t,n){"use strict";n.d(t,{Z:function(){return x}});var r=n(26042),o=n(29815),i=n(85893),a=n(67294),s=n(57973),l=(n(25194),n(94375),n(18700),n(99226)),u=n(25675),c=n.n(u),f=n(397),d=n(17734),p=n(83354),h={large:{xs:"300px",sm:"400px",xl:"600px"},medium:{xs:"200px",sm:"300px",xl:"400px"},small:{xs:"150px",sm:"200px",xl:"300px"}},m={height:"large"},g=function(e){var t=e.IMAGE,n=e.ASPECTRATIO,o=e.CONFIG,s=void 0===o?m:o,u=(0,r.Z)({},m,s),g=u.height?u.height:m.height,v=t.has_border,y=t.file?(0,d.L)(t.file):t.attributes?t.attributes:t,b="https://cdn.ootiboo.com"+y.url,x=y.caption?y.caption:null,w=y||{width:0,height:0},_=w.width/w.height,k=n.w/n.h,C=h[g],S={xs:parseFloat(C.xs)*k,sm:parseFloat(C.sm)*k,xl:parseFloat(C.xl)*k},E=(0,a.useState)(!1),T=E[0],O=E[1];return t?(0,i.jsxs)(l.Z,{onClick:function(){p.Z.emit("ImgViewer_api_showImg",{imgSrc:b,imgCaption:x,imgAspectRatio:_})},position:"relative",height:C,width:S,margin:"auto",overflow:"hidden",borderRadius:2,border:v?"1px solid #000":"none",sx:{cursor:"zoom-in"},children:[(0,i.jsx)(c(),{src:b,layout:"fill",objectFit:"cover",onLoadingComplete:function(){return O(!0)}}),(0,i.jsx)(l.Z,{position:"absolute",top:"0",left:"0",width:"100%",height:"100%",bgcolor:"#fff",borderRadius:2,border:v?"none":"1px solid #000",display:"flex",justifyContent:"center",alignItems:"center",sx:{opacity:T?0:1,transition:"opacity 0.5s ease-in-out",pointerEvents:"none"},children:(0,i.jsx)(l.Z,{width:"1rem",height:"1rem",display:"flex",justifyContent:"center",alignItems:"center",sx:{"& .uploadIndicator":{padding:"0px !important"}},children:(0,i.jsx)(f.iT,{height:"100%",width:"100%",visible:!0,wrapperClass:"uploadIndicator",ariaLabel:"oval-loading",color:"#000",secondaryColor:"transparent",strokeWidth:8,strokeWidthSecondary:8})})})]}):null},v=n(3631),y=n(88262),b={slideAspectRatio:{w:4,h:3},height:"large"},x=function(e){var t=e.IMAGES,n=e.CONFIG,l=void 0===n?b:n,u=(0,r.Z)({},b,l),c=u.slideAspectRatio,f=u.height,d=t&&t.length>0?(0,o.Z)(t).concat((0,o.Z)(t),(0,o.Z)(t)):null;d.forEach((function(e){return e.has_border=!0}));var p=(0,a.useState)(""),h=p[0],m=p[1];return d&&0!==d.length?(0,i.jsx)("div",{children:(0,i.jsxs)(s.tq,{loop:!0,slidesPerView:"auto",spaceBetween:3,centeredSlides:!0,onSlideChange:function(e){var t=e.realIndex,n=d[t],r="Image"!=(null===n||void 0===n?void 0:n.title)?n.title:null;m(r)},children:[d.map((function(e,t){return(0,i.jsx)(s.o5,{style:{borderRadius:"8px",overflow:"hidden"},children:(0,i.jsx)(g,{IMAGE:e,ASPECTRATIO:c,CONFIG:{height:f}})},t)})),(0,i.jsxs)("footer",{className:"mt-4 flex justify-between gap-x-2",children:[(0,i.jsx)(v.Z,{CONFIG:{direction:"prev"}}),(0,i.jsx)(y.Z,{TEXT:h,IS_italic:!0,CONFIG:{textAlign:"center"}}),(0,i.jsx)(v.Z,{CONFIG:{direction:"next"}})]})]})}):null}},13089:function(e,t,n){"use strict";var r=n(29815),o=n(85893),i=n(25675),a=n.n(i),s=n(67294),l=n(99226),u=n(98456),c=n(57973),f=(n(25194),n(94375),n(18700),n(16483)),d=n(3631),p=n(88262),h=n(32555),m=n(83454),g=m.env.NEXT_PUBLIC_API_URL,v=(m.env.NEXT_PUBLIC_DEV,(0,f.cL)("teachers").color),y={width:"100%",height:"100%"};t.Z=function(e){var t,n=e.PREVIEWS,i=e.CONFIG,f=void 0===i?{is_hidden:!1}:i,m=e.HANLDERS,b=void 0===m?{eh_closeButton_click:function(){return console.log("close button clicked")}}:m,x=f.is_hidden,w=b.eh_closeButton_click,_=null===n||void 0===n?void 0:n.map((function(e){return e.attributes?e.attributes:e})),k=_&&_.length>0?(0,r.Z)(_):null,C=(0,s.useState)(""),S=C[0],E=C[1],T=(0,s.useState)([]),O=T[0],A=T[1];return k&&0!==k.length?(0,o.jsxs)(l.Z,{position:"fixed",top:"0",left:"0",zIndex:{xs:9,sm:2},width:"100%",height:"100%",bgcolor:"#fff",sx:(t=x,{opacity:t?0:1,transition:"opacity 300ms ease-in-out",pointerEvents:t?"none":"auto"}),children:[(0,o.jsx)(h.Z,{COLOR:"rgb(0, 145, 250)",ON_CLICK:w}),(0,o.jsxs)(c.tq,{loop:!1,slidesPerView:1,spaceBetween:0,centeredSlides:!0,onSlideChange:function(e){var t=e.realIndex,n=k[t],r="Image"!=(null===n||void 0===n?void 0:n.caption)?null===n||void 0===n?void 0:n.caption:null;E(r)},style:y,children:[k.map((function(e,t){return(0,o.jsx)(c.o5,{className:"preview-slide",children:(0,o.jsx)(l.Z,{height:"100%",p:8,children:(0,o.jsxs)(l.Z,{position:"relative",height:"100%",children:[(0,o.jsx)(a(),{src:g+e.url,layout:"fill",objectFit:"contain",onLoadingComplete:function(){return A((0,r.Z)(O).concat([t]))}}),O.includes(t)?null:(0,o.jsx)(l.Z,{position:"absolute",top:"50%",left:"50%",height:"1.5rem",width:"1.5rem",sx:{transform:"translate(-50%, -50%)"},border:"0px solid red",children:(0,o.jsx)(u.Z,{size:"1.625rem",thickness:4.25,style:{color:v}})})]})})},t)})),(0,o.jsxs)(l.Z,{position:"absolute",bottom:0,left:0,zIndex:2,width:"100%",p:2,display:"flex",justifyContent:"space-between",children:[(0,o.jsx)(d.Z,{CONFIG:{direction:"prev",is_active:k.length>1}}),(0,o.jsx)(p.Z,{TEXT:S,IS_italic:!0}),(0,o.jsx)(d.Z,{CONFIG:{direction:"next",is_active:k.length>1}})]})]})]}):null}},3631:function(e,t,n){"use strict";var r=n(26042),o=n(85893),i=n(99226),a=n(57973),s=n(16483),l="teachers",u=(0,s.cL)(l),c=u.color,f=(u.color_bg_light,{direction:"prev",is_active:!0});t.Z=function(e){var t,n,s,u=e.CONFIG,d=void 0===u?f:u,p=(0,r.Z)({},f,d),h=p.direction,m=p.is_active,g=(0,a.oc)();return(0,o.jsx)(i.Z,{onClick:function(){"prev"===h?g.slidePrev():g.slideNext()},children:(0,o.jsx)(i.Z,{p:.75,display:"inline-flex",justifyContent:"center",alignItems:"center",border:"1px solid #000",borderRadius:99,backgroundColor:"#fff",sx:(s=m,{position:"static",pointerEvents:s?"auto":"none",opacity:s?1:.333,"&:hover":{backgroundColor:c,borderColor:c,color:"#fff",cursor:"pointer"}}),"data-type":"button",children:(0,o.jsxs)("svg",{style:(t=l,n=h,{width:"0.8rem",overflow:"visible",fill:"none",stroke:"works"===t?"#fff":"currentColor",strokeWidth:"works"===t?"1px":"2.5px",transform:"prev"===n?"rotate(180deg)":null}),viewBox:"0 0 29.61 28.87",children:[(0,o.jsx)("line",{vectorEffect:"non-scaling-stroke",strokeLinecap:"round",strokeLinejoin:"round",x1:"1.25",y1:"14.43",x2:"28.36",y2:"14.43"}),(0,o.jsx)("polyline",{vectorEffect:"non-scaling-stroke",strokeLinecap:"round",strokeLinejoin:"round",points:"15.17 27.62 28.36 14.43 15.17 1.25"})]})})})}},88818:function(e,t,n){"use strict";var r=n(85893),o=n(99226),i=n(16483);n(92772),n(33899),n(83454).env.CONTEXT;t.Z=function(e){var t=e.IS_active,n=e.ON_change,a=e.ON_switchOff,s=void 0===a?function(){return console.log("Switch has been switched off.")}:a,l=function(){n(!t),t&&s()},u=(0,i.cL)("teachers"),c=u.color,f=(u.color_light,u.color_bg,function(e){var t=e.TEXT,n=e.IS_active;return(0,r.jsx)(o.Z,{p:1,display:"flex",lineHeight:1,textTransform:"uppercase",color:n?"#fff":"#aaaaaa",borderRadius:.75,bgcolor:n?c:"#e1e1e1",sx:d(n),onClick:l,children:t})}),d=function(e){return{userSelect:"none",cursor:"pointer",pointerEvents:e?"none":"all","&:hover":{backgroundColor:"#d2d2d2"}}};return(0,r.jsxs)(o.Z,{p:.5,display:"inline-flex",borderRadius:1,bgcolor:"#e1e1e1",children:[(0,r.jsx)(f,{TEXT:"no",IS_active:!t}),(0,r.jsx)(f,{TEXT:"yes",IS_active:t})]})}},28155:function(e,t,n){"use strict";var r=n(85893),o=n(99226),i=n(33899);t.Z=function(e){var t=e.TEXT,n=e.TYPE,a=e.MR,s=e.MB,l=i.Z.teachers.default,u=n?"primary"===n?"#fff":l:"#fff",c=n?"primary"===n?l:"#fff":l,f=a||"2px",d=s||"2px";return(0,r.jsx)(o.Z,{mr:f,mb:d,pt:.5,pr:.75,pl:.75,pb:.3,fontSize:"1rem",textTransform:"uppercase",border:"1px solid",borderRadius:.85,color:u,backgroundColor:c,borderColor:l,children:t})}},99614:function(e,t,n){"use strict";var r=n(85893),o=n(67294),i=n(99226),a=n(29238),s=n.n(a),l=n(67347),u=n(92772),c=n(33899);t.Z=function(e){var t=e.TEXT,n=e.MORE,a=e.SIZE,f=e.LINEHEIGHT,d=e.TRANSFORM,p=e.COLOR,h=e.IS_italic,m=e.IS_centered,g="teachers",v=p||c.Z.text.primary,y=a||"sm",b=h?"Favorit Pro Regular Italic":"Favorit Pro Regular",x=u.Z.favorit[y],w=u.Z.favorit[y].spacing,_=f||1.35,k=d||"none",C=m?"center":"left",S=(0,l.c)(n,!0),E=(0,o.useState)(!0),T=E[0],O=E[1];return(0,r.jsxs)(i.Z,{fontFamily:b,fontSize:{xs:x.mobile.size,sm:x.desktop.size},color:v,letterSpacing:w,lineHeight:_,textTransform:k,textAlign:C,"data-text":!0,"data-context":g,children:[(0,r.jsx)(i.Z,{children:(0,r.jsx)("span",{dangerouslySetInnerHTML:{__html:s().sanitize(t)}})}),S?(0,r.jsxs)(i.Z,{mt:2,children:[(0,r.jsxs)("button",{style:{color:v},onClick:function(){O(!T)},children:["Read ",T?"more":"less","\u2026"]}),(0,r.jsx)(i.Z,{mt:2,display:T?"none":"block",children:(0,r.jsx)("span",{dangerouslySetInnerHTML:{__html:s().sanitize(n)}})})]}):null]})}},88262:function(e,t,n){"use strict";var r=n(26042),o=n(85893),i=n(67294),a=n(99226),s=n(80183),l=n(67347),u=n(85313),c=n(92772),f=n(33899),d={"& p":{marginBottom:"1em"},"& p:last-of-type":{marginBottom:"0"}},p={textAlign:"left"};t.Z=function(e){var t=e.TEXT,n=e.MORE,h=e.SIZE,m=e.LINEHEIGHT,g=void 0===m?1.35:m,v=e.COLOR,y=e.IS_italic,b=e.MARGINS,x=void 0===b?{mt:0,mr:0,mb:0,ml:0}:b,w=e.CONFIG,_=void 0===w?p:w,k=(0,r.Z)({},p,_).textAlign,C="teachers",S=v||f.Z.text.primary,E=h||"sm",T=g||1.35,O=y?"Favorit Pro Regular Italic":"Favorit Pro Regular",A=c.Z.favorit[E],j=x.mt,I=void 0===j?0:j,P=x.mr,N=void 0===P?0:P,R=x.mb,Z=void 0===R?0:R,L=x.ml,D=void 0===L?0:L,F=(0,u.Z)(t),M=(0,u.Z)(n),z=(0,l.c)(M,!0),B=(0,i.useState)(!0),H=B[0],$=B[1];return(0,o.jsxs)(a.Z,{fontFamily:O,fontSize:{xs:A.mobile.size,sm:A.desktop.size},lineHeight:T,textAlign:k,color:S,mt:I,mr:N,mb:Z,ml:D,"data-text":!0,"data-context":C,sx:d,children:[(0,o.jsx)(s.D,{children:F}),z?(0,o.jsxs)("div",{className:"mt-4",children:[(0,o.jsxs)("button",{style:{color:S},onClick:function(){$(!H)},children:["Read ",H?"more":"less","\u2026"]}),(0,o.jsx)(a.Z,{mt:2,display:H?"none":"block",children:(0,o.jsx)(s.D,{children:M})})]}):null]})}},8247:function(e,t,n){"use strict";var r=(0,n(67294).createContext)(null);t.Z=r},83354:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r,o={all:r=r||new Map,on:function(e,t){var n=r.get(e);n?n.push(t):r.set(e,[t])},off:function(e,t){var n=r.get(e);n&&(t?n.splice(n.indexOf(t)>>>0,1):r.set(e,[]))},emit:function(e,t){var n=r.get(e);n&&n.slice().map((function(e){e(t)})),(n=r.get("*"))&&n.slice().map((function(n){n(e,t)}))}}},71210: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)},28045:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(79361).Z,o=n(94941).Z,i=n(53929).Z;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.src,n=e.sizes,s=e.unoptimized,l=void 0!==s&&s,m=e.priority,g=void 0!==m&&m,x=e.loading,S=e.lazyRoot,T=void 0===S?null:S,O=e.lazyBoundary,A=e.className,j=e.quality,I=e.width,P=e.height,N=e.style,R=e.objectFit,Z=e.objectPosition,L=e.onLoadingComplete,D=e.placeholder,F=void 0===D?"empty":D,M=e.blurDataURL,z=u(e,["src","sizes","unoptimized","priority","loading","lazyRoot","lazyBoundary","className","quality","width","height","style","objectFit","objectPosition","onLoadingComplete","placeholder","blurDataURL"]),B=c.useContext(h.ImageConfigContext),H=c.useMemo((function(){var e=v||B||d.imageConfigDefault,t=i(e.deviceSizes).concat(i(e.imageSizes)).sort((function(e,t){return e-t})),n=e.deviceSizes.sort((function(e,t){return e-t}));return a({},e,{allSizes:t,deviceSizes:n})}),[B]),$=z,U=n?"responsive":"intrinsic";"layout"in $&&($.layout&&(U=$.layout),delete $.layout);var V=C;if("loader"in $){if($.loader){var G=$.loader;V=function(e){e.config;var t=u(e,["config"]);return G(t)}}delete $.loader}var W="";if(function(e){return"object"===typeof e&&(w(e)||function(e){return void 0!==e.src}(e))}(t)){var q=w(t)?t.default:t;if(!q.src)throw new Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ".concat(JSON.stringify(q)));if(M=M||q.blurDataURL,W=q.src,(!U||"fill"!==U)&&(P=P||q.height,I=I||q.width,!q.height||!q.width))throw new Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ".concat(JSON.stringify(q)))}var X=!g&&("lazy"===x||"undefined"===typeof x);((t="string"===typeof t?t:W).startsWith("data:")||t.startsWith("blob:"))&&(l=!0,X=!1);y.has(t)&&(X=!1);H.unoptimized&&(l=!0);var Y,K=o(c.useState(!1),2),Q=K[0],J=K[1],ee=o(p.useIntersection({rootRef:T,rootMargin:O||"200px",disabled:!X}),3),te=ee[0],ne=ee[1],re=ee[2],oe=!X||ne,ie={boxSizing:"border-box",display:"block",overflow:"hidden",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},ae={boxSizing:"border-box",display:"block",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},se=!1,le={position:"absolute",top:0,left:0,bottom:0,right:0,boxSizing:"border-box",padding:0,border:"none",margin:"auto",display:"block",width:0,height:0,minWidth:"100%",maxWidth:"100%",minHeight:"100%",maxHeight:"100%",objectFit:R,objectPosition:Z},ue=k(I),ce=k(P),fe=k(j);0;var de=Object.assign({},N,le),pe="blur"!==F||Q?{}:{backgroundSize:R||"cover",backgroundPosition:Z||"0% 0%",filter:"blur(20px)",backgroundImage:'url("'.concat(M,'")')};if("fill"===U)ie.display="block",ie.position="absolute",ie.top=0,ie.left=0,ie.bottom=0,ie.right=0;else if("undefined"!==typeof ue&&"undefined"!==typeof ce){var he=ce/ue,me=isNaN(he)?"100%":"".concat(100*he,"%");"responsive"===U?(ie.display="block",ie.position="relative",se=!0,ae.paddingTop=me):"intrinsic"===U?(ie.display="inline-block",ie.position="relative",ie.maxWidth="100%",se=!0,ae.maxWidth="100%",Y="data:image/svg+xml,%3csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20version=%271.1%27%20width=%27".concat(ue,"%27%20height=%27").concat(ce,"%27/%3e")):"fixed"===U&&(ie.display="inline-block",ie.position="relative",ie.width=ue,ie.height=ce)}else 0;var ge={src:b,srcSet:void 0,sizes:void 0};oe&&(ge=_({config:H,src:t,unoptimized:l,layout:U,width:ue,quality:fe,sizes:n,loader:V}));var ve=t;0;var ye;0;var be=(r(ye={},"imagesrcset",ge.srcSet),r(ye,"imagesizes",ge.sizes),r(ye,"crossOrigin",$.crossOrigin),ye),xe=c.default.useLayoutEffect,we=c.useRef(L),_e=c.useRef(t);c.useEffect((function(){we.current=L}),[L]),xe((function(){_e.current!==t&&(re(),_e.current=t)}),[re,t]);var ke=a({isLazy:X,imgAttributes:ge,heightInt:ce,widthInt:ue,qualityInt:fe,layout:U,className:A,imgStyle:de,blurStyle:pe,loading:x,config:H,unoptimized:l,placeholder:F,loader:V,srcString:ve,onLoadingCompleteRef:we,setBlurComplete:J,setIntersection:te,isVisible:oe,noscriptSizes:n},$);return c.default.createElement(c.default.Fragment,null,c.default.createElement("span",{style:ie},se?c.default.createElement("span",{style:ae},Y?c.default.createElement("img",{style:{display:"block",maxWidth:"100%",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},alt:"","aria-hidden":!0,src:Y}):null):null,c.default.createElement(E,Object.assign({},ke))),g?c.default.createElement(f.default,null,c.default.createElement("link",Object.assign({key:"__nimg-"+ge.src+ge.srcSet+ge.sizes,rel:"preload",as:"image",href:ge.srcSet?void 0:ge.src},be))):null)};var a=n(6495).Z,s=n(92648).Z,l=n(91598).Z,u=n(17273).Z,c=l(n(67294)),f=s(n(5443)),d=n(99309),p=n(57190),h=n(59977),m=(n(63794),n(82392));function g(e){return"/"===e[0]?e.slice(1):e}var v={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1},y=new Set,b=(new Map,"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");var x=new Map([["default",function(e){var t=e.config,n=e.src,r=e.width,o=e.quality;return n.endsWith(".svg")&&!t.dangerouslyAllowSVG?n:"".concat(m.normalizePathTrailingSlash(t.path),"?url=").concat(encodeURIComponent(n),"&w=").concat(r,"&q=").concat(o||75)}],["imgix",function(e){var t=e.config,n=e.src,r=e.width,o=e.quality,i=new URL("".concat(t.path).concat(g(n))),a=i.searchParams;return a.set("auto",a.getAll("auto").join(",")||"format"),a.set("fit",a.get("fit")||"max"),a.set("w",a.get("w")||r.toString()),o&&a.set("q",o.toString()),i.href}],["cloudinary",function(e){var t=e.config,n=e.src,r=["f_auto","c_limit","w_"+e.width,"q_"+(e.quality||"auto")].join(",")+"/";return"".concat(t.path).concat(r).concat(g(n))}],["akamai",function(e){var t=e.config,n=e.src,r=e.width;return"".concat(t.path).concat(g(n),"?imwidth=").concat(r)}],["custom",function(e){var t=e.src;throw new Error('Image with src "'.concat(t,'" is missing "loader" prop.')+"\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader")}]]);function w(e){return void 0!==e.default}function _(e){var t=e.config,n=e.src,r=e.unoptimized,o=e.layout,a=e.width,s=e.quality,l=e.sizes,u=e.loader;if(r)return{src:n,srcSet:void 0,sizes:void 0};var c=function(e,t,n,r){var o=e.deviceSizes,a=e.allSizes;if(r&&("fill"===n||"responsive"===n)){for(var s,l=/(^|\s)(1?\d?\d)vw/g,u=[];s=l.exec(r);s)u.push(parseInt(s[2]));if(u.length){var c,f=.01*(c=Math).min.apply(c,i(u));return{widths:a.filter((function(e){return e>=o[0]*f})),kind:"w"}}return{widths:a,kind:"w"}}return"number"!==typeof t||"fill"===n||"responsive"===n?{widths:o,kind:"w"}:{widths:i(new Set([t,2*t].map((function(e){return a.find((function(t){return t>=e}))||a[a.length-1]})))),kind:"x"}}(t,a,o,l),f=c.widths,d=c.kind,p=f.length-1;return{sizes:l||"w"!==d?l:"100vw",srcSet:f.map((function(e,r){return"".concat(u({config:t,src:n,quality:s,width:e})," ").concat("w"===d?e:r+1).concat(d)})).join(", "),src:u({config:t,src:n,quality:s,width:f[p]})}}function k(e){return"number"===typeof e?e:"string"===typeof e?parseInt(e,10):void 0}function C(e){var t,n=(null==(t=e.config)?void 0:t.loader)||"default",r=x.get(n);if(r)return r(e);throw new Error('Unknown "loader" found in "next.config.js". Expected: '.concat(d.VALID_LOADERS.join(", "),". Received: ").concat(n))}function S(e,t,n,r,o,i){e&&e.src!==b&&e["data-loaded-src"]!==t&&(e["data-loaded-src"]=t,("decode"in e?e.decode():Promise.resolve()).catch((function(){})).then((function(){if(e.parentNode&&(y.add(t),"blur"===r&&i(!0),null==o?void 0:o.current)){var n=e.naturalWidth,a=e.naturalHeight;o.current({naturalWidth:n,naturalHeight:a})}})))}var E=function(e){var t=e.imgAttributes,n=(e.heightInt,e.widthInt),r=e.qualityInt,o=e.layout,i=e.className,s=e.imgStyle,l=e.blurStyle,f=e.isLazy,d=e.placeholder,p=e.loading,h=e.srcString,m=e.config,g=e.unoptimized,v=e.loader,y=e.onLoadingCompleteRef,b=e.setBlurComplete,x=e.setIntersection,w=e.onLoad,k=e.onError,C=(e.isVisible,e.noscriptSizes),E=u(e,["imgAttributes","heightInt","widthInt","qualityInt","layout","className","imgStyle","blurStyle","isLazy","placeholder","loading","srcString","config","unoptimized","loader","onLoadingCompleteRef","setBlurComplete","setIntersection","onLoad","onError","isVisible","noscriptSizes"]);return p=f?"lazy":p,c.default.createElement(c.default.Fragment,null,c.default.createElement("img",Object.assign({},E,t,{decoding:"async","data-nimg":o,className:i,style:a({},s,l),ref:c.useCallback((function(e){x(e),(null==e?void 0:e.complete)&&S(e,h,0,d,y,b)}),[x,h,o,d,y,b]),onLoad:function(e){S(e.currentTarget,h,0,d,y,b),w&&w(e)},onError:function(e){"blur"===d&&b(!0),k&&k(e)}})),(f||"blur"===d)&&c.default.createElement("noscript",null,c.default.createElement("img",Object.assign({},E,_({config:m,src:h,unoptimized:g,layout:o,width:n,quality:r,sizes:C,loader:v}),{decoding:"async","data-nimg":o,style:s,className:i,loading: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)},48418:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(94941).Z;n(45753).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(92648).Z,i=n(17273).Z,a=o(n(67294)),s=n(76273),l=n(22725),u=n(63462),c=n(21018),f=n(57190),d=n(71210),p=n(98684),h={};function m(e,t,n,r){if(e&&s.isLocalURL(t)){Promise.resolve(e.prefetch(t,n,r)).catch((function(e){0}));var o=r&&"undefined"!==typeof r.locale?r.locale:e&&e.locale;h[t+"%"+n+(o?"%"+o:"")]=!0}}var g=a.default.forwardRef((function(e,t){var n,o=e.href,g=e.as,v=e.children,y=e.prefetch,b=e.passHref,x=e.replace,w=e.shallow,_=e.scroll,k=e.locale,C=e.onClick,S=e.onMouseEnter,E=e.onTouchStart,T=e.legacyBehavior,O=void 0===T?!0!==Boolean(!1):T,A=i(e,["href","as","children","prefetch","passHref","replace","shallow","scroll","locale","onClick","onMouseEnter","onTouchStart","legacyBehavior"]);n=v,!O||"string"!==typeof n&&"number"!==typeof n||(n=a.default.createElement("a",null,n));var j=!1!==y,I=a.default.useContext(u.RouterContext),P=a.default.useContext(c.AppRouterContext);P&&(I=P);var N,R=a.default.useMemo((function(){var e=r(s.resolveHref(I,o,!0),2),t=e[0],n=e[1];return{href:t,as:g?s.resolveHref(I,g):n||t}}),[I,o,g]),Z=R.href,L=R.as,D=a.default.useRef(Z),F=a.default.useRef(L);O&&(N=a.default.Children.only(n));var M=O?N&&"object"===typeof N&&N.ref:t,z=r(f.useIntersection({rootMargin:"200px"}),3),B=z[0],H=z[1],$=z[2],U=a.default.useCallback((function(e){F.current===L&&D.current===Z||($(),F.current=L,D.current=Z),B(e),M&&("function"===typeof M?M(e):"object"===typeof M&&(M.current=e))}),[L,M,Z,$,B]);a.default.useEffect((function(){var e=H&&j&&s.isLocalURL(Z),t="undefined"!==typeof k?k:I&&I.locale,n=h[Z+"%"+L+(t?"%"+t:"")];e&&!n&&m(I,Z,L,{locale:t})}),[L,Z,H,k,j,I]);var V={ref:U,onClick:function(e){O||"function"!==typeof C||C(e),O&&N.props&&"function"===typeof N.props.onClick&&N.props.onClick(e),e.defaultPrevented||function(e,t,n,r,o,i,l,u,c,f){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 d=function(){"beforePopState"in t?t[o?"replace":"push"](n,r,{shallow:i,locale:u,scroll:l}):t[o?"replace":"push"](n,{forceOptimisticNavigation:!f})};c?a.default.startTransition(d):d()}}(e,I,Z,L,x,w,_,k,Boolean(P),j)},onMouseEnter:function(e){O||"function"!==typeof S||S(e),O&&N.props&&"function"===typeof N.props.onMouseEnter&&N.props.onMouseEnter(e),!j&&P||s.isLocalURL(Z)&&m(I,Z,L,{priority:!0})},onTouchStart:function(e){O||"function"!==typeof E||E(e),O&&N.props&&"function"===typeof N.props.onTouchStart&&N.props.onTouchStart(e),!j&&P||s.isLocalURL(Z)&&m(I,Z,L,{priority:!0})}};if(!O||b||"a"===N.type&&!("href"in N.props)){var G="undefined"!==typeof k?k:I&&I.locale,W=I&&I.isLocaleDomain&&d.getDomainLocale(L,G,I.locales,I.domainLocales);V.href=W||p.addBasePath(l.addLocale(L,G,I&&I.defaultLocale))}return O?a.default.cloneElement(N,V):a.default.createElement("a",Object.assign({},A,V),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)},57190:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(94941).Z;Object.defineProperty(t,"__esModule",{value:!0}),t.useIntersection=function(e){var t=e.rootRef,n=e.rootMargin,u=e.disabled||!a,c=r(o.useState(!1),2),f=c[0],d=c[1],p=r(o.useState(null),2),h=p[0],m=p[1];o.useEffect((function(){if(a){if(u||f)return;if(h&&h.tagName){var e=function(e,t,n){var r=function(e){var t,n={root:e.root||null,margin:e.rootMargin||""},r=l.find((function(e){return e.root===n.root&&e.margin===n.margin}));if(r&&(t=s.get(r)))return t;var o=new Map,i=new IntersectionObserver((function(e){e.forEach((function(e){var t=o.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)}))}),e);return t={id:n,observer:i,elements:o},l.push(n),s.set(n,t),t}(n),o=r.id,i=r.observer,a=r.elements;return a.set(e,t),i.observe(e),function(){if(a.delete(e),i.unobserve(e),0===a.size){i.disconnect(),s.delete(o);var t=l.findIndex((function(e){return e.root===o.root&&e.margin===o.margin}));t>-1&&l.splice(t,1)}}}(h,(function(e){return e&&d(e)}),{root:null==t?void 0:t.current,rootMargin:n});return e}}else if(!f){var r=i.requestIdleCallback((function(){return d(!0)}));return function(){return i.cancelIdleCallback(r)}}}),[h,u,n,t,f]);var g=o.useCallback((function(){d(!1)}),[]);return[m,f,g]};var o=n(67294),i=n(9311),a="function"===typeof IntersectionObserver,s=new Map,l=[];("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)},21018: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)),o=r.default.createContext(null);t.AppRouterContext=o;var i=r.default.createContext(null);t.LayoutRouterContext=i;var a=r.default.createContext(null);t.GlobalLayoutRouterContext=a;var s=r.default.createContext(null);t.TemplateContext=s},13446:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return Rn}});var r=n(47568),o=n(26042),i=n(29815),a=n(20414),s=n(85893),l=n(99226),u=n(98456),c=n(67294),f=n(11163),d=n(32161);const p=console;var h=n(30081),m=n(72379);class g{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),(0,d.PN)(this.cacheTime)&&(this.gcTimeout=setTimeout((()=>{this.optionalRemove()}),this.cacheTime))}updateCacheTime(e){this.cacheTime=Math.max(this.cacheTime||0,null!=e?e:d.sk?1/0:3e5)}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}class v extends g{constructor(e){super(),this.abortSignalConsumed=!1,this.defaultOptions=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.cache=e.cache,this.logger=e.logger||p,this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.initialState=e.state||function(e){const t="function"===typeof e.initialData?e.initialData():e.initialData,n="undefined"!==typeof t,r=n?"function"===typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?null!=r?r:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"loading",fetchStatus:"idle"}}(this.options),this.state=this.initialState,this.scheduleGc()}get meta(){return this.options.meta}setOptions(e){this.options={...this.defaultOptions,...e},this.updateCacheTime(this.options.cacheTime)}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.cache.remove(this)}setData(e,t){const n=(0,d.oE)(this.state.data,e,this.options);return this.dispatch({data:n,type:"success",dataUpdatedAt:null==t?void 0:t.updatedAt,manual:null==t?void 0:t.manual}),n}setState(e,t){this.dispatch({type:"setState",state:e,setStateOptions:t})}cancel(e){var t;const n=this.promise;return null==(t=this.retryer)||t.cancel(e),n?n.then(d.ZT).catch(d.ZT):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.initialState)}isActive(){return this.observers.some((e=>!1!==e.options.enabled))}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some((e=>e.getCurrentResult().isStale))}isStaleByTime(e=0){return this.state.isInvalidated||!this.state.dataUpdatedAt||!(0,d.Kp)(this.state.dataUpdatedAt,e)}onFocus(){var e;const t=this.observers.find((e=>e.shouldFetchOnWindowFocus()));t&&t.refetch({cancelRefetch:!1}),null==(e=this.retryer)||e.continue()}onOnline(){var e;const t=this.observers.find((e=>e.shouldFetchOnReconnect()));t&&t.refetch({cancelRefetch:!1}),null==(e=this.retryer)||e.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter((t=>t!==e)),this.observers.length||(this.retryer&&(this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.scheduleGc()),this.cache.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.dispatch({type:"invalidate"})}fetch(e,t){var n,r;if("idle"!==this.state.fetchStatus)if(this.state.dataUpdatedAt&&null!=t&&t.cancelRefetch)this.cancel({silent:!0});else if(this.promise){var o;return null==(o=this.retryer)||o.continueRetry(),this.promise}if(e&&this.setOptions(e),!this.options.queryFn){const e=this.observers.find((e=>e.options.queryFn));e&&this.setOptions(e.options)}Array.isArray(this.options.queryKey);const i=(0,d.G9)(),a={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},s=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>{if(i)return this.abortSignalConsumed=!0,i.signal}})};s(a);const l={fetchOptions:t,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:()=>this.options.queryFn?(this.abortSignalConsumed=!1,this.options.queryFn(a)):Promise.reject("Missing queryFn for queryKey '"+this.options.queryHash+"'")};var u;(s(l),null==(n=this.options.behavior)||n.onFetch(l),this.revertState=this.state,"idle"===this.state.fetchStatus||this.state.fetchMeta!==(null==(r=l.fetchOptions)?void 0:r.meta))&&this.dispatch({type:"fetch",meta:null==(u=l.fetchOptions)?void 0:u.meta});const c=e=>{var t,n,r,o;((0,m.DV)(e)&&e.silent||this.dispatch({type:"error",error:e}),(0,m.DV)(e))||(null==(t=(n=this.cache.config).onError)||t.call(n,e,this),null==(r=(o=this.cache.config).onSettled)||r.call(o,this.state.data,e,this));this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.retryer=(0,m.Mz)({fn:l.fetchFn,abort:null==i?void 0:i.abort.bind(i),onSuccess:e=>{var t,n,r,o;"undefined"!==typeof e?(this.setData(e),null==(t=(n=this.cache.config).onSuccess)||t.call(n,e,this),null==(r=(o=this.cache.config).onSettled)||r.call(o,e,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1):c(new Error(this.queryHash+" data is undefined"))},onError:c,onFail:(e,t)=>{this.dispatch({type:"failed",failureCount:e,error:t})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode}),this.promise=this.retryer.promise,this.promise}dispatch(e){this.state=(t=>{var n,r;switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null!=(n=e.meta)?n:null,fetchStatus:(0,m.Kw)(this.options.networkMode)?"fetching":"paused",...!t.dataUpdatedAt&&{error:null,status:"loading"}};case"success":return{...t,data:e.data,dataUpdateCount:t.dataUpdateCount+1,dataUpdatedAt:null!=(r=e.dataUpdatedAt)?r:Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const o=e.error;return(0,m.DV)(o)&&o.revert&&this.revertState?{...this.revertState}:{...t,error:o,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error"};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}})(this.state),h.V.batch((()=>{this.observers.forEach((t=>{t.onQueryUpdate(e)})),this.cache.notify({query:this,type:"updated",action:e})}))}}var y=n(33989);class b extends y.l{constructor(e){super(),this.config=e||{},this.queries=[],this.queriesMap={}}build(e,t,n){var r;const o=t.queryKey,i=null!=(r=t.queryHash)?r:(0,d.Rm)(o,t);let a=this.get(i);return a||(a=new v({cache:this,logger:e.getLogger(),queryKey:o,queryHash:i,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(o)}),this.add(a)),a}add(e){this.queriesMap[e.queryHash]||(this.queriesMap[e.queryHash]=e,this.queries.push(e),this.notify({type:"added",query:e}))}remove(e){const t=this.queriesMap[e.queryHash];t&&(e.destroy(),this.queries=this.queries.filter((t=>t!==e)),t===e&&delete this.queriesMap[e.queryHash],this.notify({type:"removed",query:e}))}clear(){h.V.batch((()=>{this.queries.forEach((e=>{this.remove(e)}))}))}get(e){return this.queriesMap[e]}getAll(){return this.queries}find(e,t){const[n]=(0,d.I6)(e,t);return"undefined"===typeof n.exact&&(n.exact=!0),this.queries.find((e=>(0,d._x)(n,e)))}findAll(e,t){const[n]=(0,d.I6)(e,t);return Object.keys(n).length>0?this.queries.filter((e=>(0,d._x)(n,e))):this.queries}notify(e){h.V.batch((()=>{this.listeners.forEach((({listener:t})=>{t(e)}))}))}onFocus(){h.V.batch((()=>{this.queries.forEach((e=>{e.onFocus()}))}))}onOnline(){h.V.batch((()=>{this.queries.forEach((e=>{e.onOnline()}))}))}}class x extends g{constructor(e){super(),this.defaultOptions=e.defaultOptions,this.mutationId=e.mutationId,this.mutationCache=e.mutationCache,this.logger=e.logger||p,this.observers=[],this.state=e.state||{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0},this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options={...this.defaultOptions,...e},this.updateCacheTime(this.options.cacheTime)}get meta(){return this.options.meta}setState(e){this.dispatch({type:"setState",state:e})}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.observers=this.observers.filter((t=>t!==e)),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.observers.length||("loading"===this.state.status?this.scheduleGc():this.mutationCache.remove(this))}continue(){var e,t;return null!=(e=null==(t=this.retryer)?void 0:t.continue())?e:this.execute()}async execute(){const e=()=>{var e;return this.retryer=(0,m.Mz)({fn:()=>this.options.mutationFn?this.options.mutationFn(this.state.variables):Promise.reject("No mutationFn found"),onFail:(e,t)=>{this.dispatch({type:"failed",failureCount:e,error:t})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:null!=(e=this.options.retry)?e:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.retryer.promise},t="loading"===this.state.status;try{var n,r,o,i,a,s,l,u;if(!t){var c,f,d,p;this.dispatch({type:"loading",variables:this.options.variables}),await(null==(c=(f=this.mutationCache.config).onMutate)?void 0:c.call(f,this.state.variables,this));const e=await(null==(d=(p=this.options).onMutate)?void 0:d.call(p,this.state.variables));e!==this.state.context&&this.dispatch({type:"loading",context:e,variables:this.state.variables})}const h=await e();return await(null==(n=(r=this.mutationCache.config).onSuccess)?void 0:n.call(r,h,this.state.variables,this.state.context,this)),await(null==(o=(i=this.options).onSuccess)?void 0:o.call(i,h,this.state.variables,this.state.context)),await(null==(a=(s=this.mutationCache.config).onSettled)?void 0:a.call(s,h,null,this.state.variables,this.state.context,this)),await(null==(l=(u=this.options).onSettled)?void 0:l.call(u,h,null,this.state.variables,this.state.context)),this.dispatch({type:"success",data:h}),h}catch(k){try{var h,g,v,y,b,x,w,_;throw await(null==(h=(g=this.mutationCache.config).onError)?void 0:h.call(g,k,this.state.variables,this.state.context,this)),await(null==(v=(y=this.options).onError)?void 0:v.call(y,k,this.state.variables,this.state.context)),await(null==(b=(x=this.mutationCache.config).onSettled)?void 0:b.call(x,void 0,k,this.state.variables,this.state.context,this)),await(null==(w=(_=this.options).onSettled)?void 0:w.call(_,void 0,k,this.state.variables,this.state.context)),k}finally{this.dispatch({type:"error",error:k})}}}dispatch(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};case"loading":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!(0,m.Kw)(this.options.networkMode),status:"loading",variables:e.variables};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"};case"setState":return{...t,...e.state}}})(this.state),h.V.batch((()=>{this.observers.forEach((t=>{t.onMutationUpdate(e)})),this.mutationCache.notify({mutation:this,type:"updated",action:e})}))}}class w extends y.l{constructor(e){super(),this.config=e||{},this.mutations=[],this.mutationId=0}build(e,t,n){const r=new x({mutationCache:this,logger:e.getLogger(),mutationId:++this.mutationId,options:e.defaultMutationOptions(t),state:n,defaultOptions:t.mutationKey?e.getMutationDefaults(t.mutationKey):void 0});return this.add(r),r}add(e){this.mutations.push(e),this.notify({type:"added",mutation:e})}remove(e){this.mutations=this.mutations.filter((t=>t!==e)),this.notify({type:"removed",mutation:e})}clear(){h.V.batch((()=>{this.mutations.forEach((e=>{this.remove(e)}))}))}getAll(){return this.mutations}find(e){return"undefined"===typeof e.exact&&(e.exact=!0),this.mutations.find((t=>(0,d.X7)(e,t)))}findAll(e){return this.mutations.filter((t=>(0,d.X7)(e,t)))}notify(e){h.V.batch((()=>{this.listeners.forEach((({listener:t})=>{t(e)}))}))}resumePausedMutations(){var e;return this.resuming=(null!=(e=this.resuming)?e:Promise.resolve()).then((()=>{const e=this.mutations.filter((e=>e.state.isPaused));return h.V.batch((()=>e.reduce(((e,t)=>e.then((()=>t.continue().catch(d.ZT)))),Promise.resolve())))})).then((()=>{this.resuming=void 0})),this.resuming}}var _=n(15761),k=n(96474);function C(){return{onFetch:e=>{e.fetchFn=()=>{var t,n,r,o,i,a;const s=null==(t=e.fetchOptions)||null==(n=t.meta)?void 0:n.refetchPage,l=null==(r=e.fetchOptions)||null==(o=r.meta)?void 0:o.fetchMore,u=null==l?void 0:l.pageParam,c="forward"===(null==l?void 0:l.direction),f="backward"===(null==l?void 0:l.direction),d=(null==(i=e.state.data)?void 0:i.pages)||[],p=(null==(a=e.state.data)?void 0:a.pageParams)||[];let h=p,m=!1;const g=e.options.queryFn||(()=>Promise.reject("Missing queryFn for queryKey '"+e.options.queryHash+"'")),v=(e,t,n,r)=>(h=r?[t,...h]:[...h,t],r?[n,...e]:[...e,n]),y=(t,n,r,o)=>{if(m)return Promise.reject("Cancelled");if("undefined"===typeof r&&!n&&t.length)return Promise.resolve(t);const i={queryKey:e.queryKey,pageParam:r,meta:e.options.meta};var a;a=i,Object.defineProperty(a,"signal",{enumerable:!0,get:()=>{var t,n;return null!=(t=e.signal)&&t.aborted?m=!0:null==(n=e.signal)||n.addEventListener("abort",(()=>{m=!0})),e.signal}});const s=g(i);return Promise.resolve(s).then((e=>v(t,r,e,o)))};let b;if(d.length)if(c){const t="undefined"!==typeof u,n=t?u:S(e.options,d);b=y(d,t,n)}else if(f){const t="undefined"!==typeof u,n=t?u:E(e.options,d);b=y(d,t,n,!0)}else{h=[];const t="undefined"===typeof e.options.getNextPageParam;b=!s||!d[0]||s(d[0],0,d)?y([],t,p[0]):Promise.resolve(v([],p[0],d[0]));for(let n=1;n<d.length;n++)b=b.then((r=>{if(!s||!d[n]||s(d[n],n,d)){const o=t?p[n]:S(e.options,r);return y(r,t,o)}return Promise.resolve(v(r,p[n],d[n]))}))}else b=y([]);return b.then((e=>({pages:e,pageParams:h})))}}}}function S(e,t){return null==e.getNextPageParam?void 0:e.getNextPageParam(t[t.length-1],t)}function E(e,t){return null==e.getPreviousPageParam?void 0:e.getPreviousPageParam(t[0],t)}var T=n(85945),O=n(2962),A=n(92491),j=n.n(A),I=n(14713),P=n(78947),N=(n(77720),n(67347)),R=n(76461);function Z(e){return(0,N.c)(e)&&(0,N.c)(e.attributes)?e.attributes:null}var L=n(17734);function D(e){var t=Z(e);return{infoText_login:(0,N.c)(t.infoText_login,!0)?t.infoText_login:null,infoText_logout:(0,N.c)(t.infoText_logout,!0)?t.infoText_logout:null,infoText_dashboard:(0,N.c)(t.infoText_dashboard,!0)?t.infoText_dashboard:null,infoText_signUp:(0,N.c)(t.infoText_signUp,!0)?t.infoText_signUp:null,infoText_pwReset:(0,N.c)(t.infoText_pwReset,!0)?t.infoText_pwReset:null,infoText_welcome:(0,N.c)(t.infoText_welcome,!0)?t.infoText_welcome:null}}function F(e){var t=Z(e),n=(0,N.c)(t.logo,!1)?(0,L.L)(t.logo):null;return{logo:n,logos:{play:(0,N.c)(t.logo_play,!1)?(0,L.L)(t.logo_play):null,skills:(0,N.c)(t.logo_skills,!1)?(0,L.L)(t.logo_skills):null,works:(0,N.c)(t.logo_works,!1)?(0,L.L)(t.logo_works):null,teachers:(0,N.c)(t.logo_teachers,!1)?(0,L.L)(t.logo_teachers):null,landing:n,"ice-cream":(0,N.c)(t.logo_iceCream,!1)?(0,L.L)(t.logo_iceCream):null}}}var M=n(39164),z=n(88098);function B(){return B=(0,r.Z)((function(e){var t,n,r,o,s,l,u,c,f,d,p,h,m,g,v,y,b,x,w,_,k,C,S,E,T,O;return(0,a.__generator)(this,(function(a){switch(a.label){case 0:return t=e.queryKey,n=t[0],r=n.context,o=void 0===r?"play":r,s=n.endpoint,l=n.type,u=n.search,c=n.filters,f=void 0===c?["all"]:c,d=n.filters_years,p=void 0===d?["all"]:d,h=n.params_custom,m=void 0===h?null:h,g=n.params_extra,v=void 0===g?null:g,y=n.queryStart,b=void 0===y?null:y,x=n.queryLimit,w=void 0===x?null:x,_=n.with_contextFilter,k=void 0===_||_,C=m||z.Cf[s],S=f.filter((function(e){return"all"!=e})).map((function(e){return"filters[tags][id][$eq]=".concat(e)})),E=p.filter((function(e){return"all"!=e})).map((function(e){return"filters[date][$gte]=".concat(e,"-01-01&filters[date][$lte]=").concat(e,"-12-31")})),T=[],b&&T.push("pagination[start]=".concat(b)),w&&T.push("pagination[limit]=".concat(w)),O=(0,i.Z)(S).concat((0,i.Z)(E),(0,i.Z)(C),(0,i.Z)(T)),u&&u.length>0&&O.push("filters[title][$containsi]=".concat(u)),k&&("play"===o&&O.push("filters[is_play][$eq]=true"),"skills"===o&&O.push("filters[is_skills][$eq]=true"),"works"===o&&O.push("filters[is_works][$eq]=true"),"ice-cream"===o&&O.push("filters[is_international][$eq]=true")),v&&v.forEach((function(e){return O.push(e)})),[4,(0,M.Vo)(l,s,O,!0,!0)];case 1:return[2,a.sent()]}}))})),B.apply(this,arguments)}var H=function(e){return B.apply(this,arguments)};function $(e,t){var n;return e&&t?null===(n=e.find((function(e){var n;return(null===e||void 0===e||null===(n=e.attributes)||void 0===n?void 0:n.id_custom)===t})))||void 0===n?void 0:n.attributes:null}function U(){return V.apply(this,arguments)}function V(){return(V=(0,r.Z)((function(){var e,t,n,r,o;return(0,a.__generator)(this,(function(i){switch(i.label){case 0:return e=(0,z.s3)(["workshopRegistration","interestRegistration","projectEntrySubmission"]),[4,(0,M.Vo)("collection","forms",e,!1,!1)];case 1:return t=i.sent(),n=$(t,"workshopRegistration"),r=$(t,"interestRegistration"),o=$(t,"projectEntrySubmission"),[2,{workshopReg:n,interestReg:r,projEntrySubmission:o}]}}))}))).apply(this,arguments)}function G(e,t){var n;return e&&t?null===(n=e.find((function(e){var n;return(null===e||void 0===e||null===(n=e.attributes)||void 0===n?void 0:n.templateId)===t})))||void 0===n?void 0:n.attributes:null}function W(){return q.apply(this,arguments)}function q(){return(q=(0,r.Z)((function(){var e,t,n,r,o;return(0,a.__generator)(this,(function(i){switch(i.label){case 0:return[4,(0,M.Vo)("collection","email-templates",[],!1,!1)];case 1:return e=i.sent(),t=G(e,"confirm-ecoConnPost"),n=G(e,"confirm-interestRegistration"),r=G(e,"confirm-workshopRegistration"),o=G(e,"confirm-projectEntrySubm"),[2,{confirm_ecoConnPost:t,confirm_interestReg:n,confirm_workshopReg:r,confirm_projectEntrySubm:o}]}}))}))).apply(this,arguments)}var X=n(16483),Y=n(8247);function K(e){var t=e.children,n=e.configs,r=e.data_schools,o=e.data_formTemplates,i=e.data_emailTemplates,a=(0,c.useState)(n)[0],l=(0,c.useState)(r)[0],u=(0,c.useState)(o)[0],f=(0,c.useState)(i)[0];return(0,s.jsx)(Y.Z.Provider,{value:{globalConfigs:a,schoolsData:l,formTemplatesData:u,emailTemplatesData:f},children:t})}var Q=(0,c.createContext)(null);var J=function(e){var t=e.children,n=e.settings,r=(0,c.useState)(n)[0];return(0,s.jsx)(Q.Provider,{value:{settings_navigation:r.settings_navigation,settings_login_en:r.settings_login_en,settings_login_de:r.settings_login_de},children:t})},ee=n(828);function te(){var e=(0,c.useState)({x:0,y:0,lastX:0,lastY:0,maxYSinceLastShow:0}),t=e[0],n=e[1];return(0,c.useEffect)((function(){var e=function(){n((function(e){return{x:window.scrollX,y:window.scrollY,lastX:e.x,lastY:e.y,maxYSinceLastShow:Math.max(window.scrollY,e.maxYSinceLastShow)}}))};return e(),window.addEventListener("scroll",e),function(){window.removeEventListener("scroll",e)}}),[]),t}var ne=n(35596),re=function(){var e=(0,c.useContext)(Q).settings_navigation.logos.teachers;return(0,s.jsx)("a",{href:"https://ootiboo.com/",children:(0,s.jsx)("div",{className:"h-[38px] leading-none",children:(0,s.jsx)("img",{src:"https://cdn.ootiboo.com"+(null===e||void 0===e?void 0:e.url),style:{height:"100%"},alt:"logo"})})})},oe=n(67814),ie=n(51436),ae=n(58192),se=((0,X.cL)("teachers").color,(0,s.jsx)(oe.G,{icon:ie.xiG,color:"currentColor",style:{height:"1em"}})),le=(0,s.jsx)(oe.G,{icon:ie.g82,color:"currentColor",style:{height:"1em"}}),ue=function(e){var t=e.ACTION_toggleMenu,n=e.IS_active,r="en"===(0,ne.K)().locale?"Menu":"Men\xfc";return(0,s.jsx)(ae.Z,{TEXT:r,ICON:n?le:se,SIZE:"verySmall",ON_click:function(){return t("main")}})},ce=(0,s.jsx)(oe.G,{icon:ie.ILF,color:"currentColor"}),fe=function(e){var t=e.IS_active,n=void 0!==t&&t,r=e.ACTION_toggleMenu,o="en"===(0,ne.K)().locale?"Teachers":"Lehrer";return(0,s.jsx)(ae.Z,{TEXT:o,ICON:ce,SIZE:"verySmall",IS_active:n,ON_click:function(){return r("login")}})},de=n(41664),pe=n.n(de),he=n(46137),me="teachers",ge=((0,X.cL)(me).color,(0,X.cL)("teachers").color),ve={is_mobile:!1},ye={tooltip:{sx:{backgroundColor:ge,color:"#fff",fontFamily:"Favorit Pro Regular",fontSize:"16px"}}},be=function(e){var t=e.CONFIG,n=void 0===t?ve:t,r=(0,o.Z)({},ve,n).is_mobile;return(0,s.jsx)(pe(),{href:"/user",children:(0,s.jsx)(he.Z,{title:"Go to the teacher dashboard",componentsProps:ye,placement:"right",children:(0,s.jsx)(l.Z,{position:r?"flex":"",zIndex:2,top:r?"auto":"",left:r?"auto":"",width:r?"2.2rem":"2.5rem",height:r?"2.2rem":"2.5rem",display:{xs:r?"flex":"none",sm:r?"none":"flex"},justifyContent:"center",alignItems:"center",borderRadius:"99rem",bgcolor:"#fff",border:"1px solid #000",sx:{cursor:"ne-resize","&:hover":{backgroundColor:ge,borderColor:ge,"& svg":{color:"#fff"}}},children:(0,s.jsx)(oe.G,{icon:ie.ILF,size:"lg",transform:"up-1",color:"#000"})})})})},xe=n(33899),we=function(e){var t=e.TARGET,n=e.TEXT,r=e.ICON,o=e.BORDER,i=e.COLOR,a=e.IS_nextLink,u=e.IS_disabled,c=e.IS_active,f=e.CONFIG,d=void 0===f?{openInNewTab:!1}:f,p="teachers",h=((0,X.cL)(p).color_bg,c?xe.Z.teachers.default:i||"#fff"),m=d.openInNewTab,g=o?{borderTop:o.includes("top")?"1px solid":"none",borderRight:o.includes("right")?"1px solid":"none",borderBottom:o.includes("bottom")?"1px solid":"none",borderLeft:o.includes("left")?"1px solid":"none",borderColor:"#000",color:u?"rgb(0 0 0 / 33%)":c?"#fff":"#000",pointerEvents:u?"none":"all"}:u?{color:"rgb(0 0 0 / 33%)",pointerEvents:"none"}:{};return g.cursor=u?"default":"pointer",a?(0,s.jsx)(pe(),{href:"".concat(t),children:(0,s.jsxs)(l.Z,{width:"100%",p:{xs:1.5,sm:2},display:"flex",justifyContent:{xs:"center",sm:"flex-start"},alignItems:"center",sx:g,color:c?"#fff":xe.Z.text.primary,backgroundColor:h,children:[n,r?(0,s.jsx)(l.Z,{ml:1,children:r}):null]})}):(0,s.jsx)("a",{href:t,target:m?"_blank":"_self",style:{width:"100%"},rel:"noreferrer",children:(0,s.jsxs)(l.Z,{width:"100%",p:{xs:1.5,sm:2},display:"flex",justifyContent:{xs:"center",sm:"flex-start"},alignItems:"center",sx:g,color:c?"#fff":xe.Z.text.primary,backgroundColor:h,children:[n,r?(0,s.jsx)(l.Z,{ml:1,children:r}):null]})})},_e=function(e){var t=e.LINKS,n=e.ACTION_toggleMenu,r=e.IS_open,o=(0,I.aF)().user,i=(0,f.useRouter)(),a=i.pathname.replace("ootiboo-play",""),u=a.includes("[slug]")||a.includes("[slug_ootibooWorks]")?i.asPath.substring(0):a.substring(0),d=(0,c.useState)(null),p=d[0],h=d[1];(0,c.useEffect)((function(){t&&t.length>0&&t.forEach((function(e){e.target===u&&h(e)}))}),[u]);var m="1px solid ".concat("");return(0,s.jsxs)(l.Z,{width:"100%",position:"absolute",zIndex:-1,display:"grid",gridTemplateColumns:"1fr",borderBottom:m,sx:{transform:"translateY(".concat(r?"0":"calc((100% + 1px) * -1)",")"),transition:"transform 400ms"},children:[(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(l.Z,{borderBottom:m,children:(0,s.jsx)(we,{TARGET:"/api/auth/".concat(o?"logout":"login"),TEXT:o?"Log out":"Log in",IS_nextLink:!1,IS_active:!1})}),(0,s.jsx)(l.Z,{borderBottom:m,children:(0,s.jsx)(we,{TARGET:"/sign-up",TEXT:"Sign up",IS_nextLink:!0,IS_active:"/sign-up"===u,CONFIG:{openInNewTab:!1}})}),(0,s.jsx)(l.Z,{borderBottom:m,children:(0,s.jsx)(we,{TARGET:"/password-reset",TEXT:"Reset Password",IS_nextLink:!0,IS_active:"/password-reset"===u,CONFIG:{openInNewTab:!1}})})]}),t&&t.length>0?t.map((function(e,r){return(0,s.jsx)(l.Z,{borderBottom:t.length%2!=0&&r<t.length-1||r<t.length-2?m:null,borderRight:r%2===0?m:null,gridColumn:null,onClick:function(){return n("main")},children:(0,s.jsx)(we,{TARGET:e.target,TEXT:e.text,IS_nextLink:!e.is_external,IS_active:e===p,CONFIG:{openInNewTab:e.openInNewTab}})},r)})):null]})},ke="1px solid",Ce=function(e){var t=e.IS_open;return(0,s.jsxs)(l.Z,{width:"100%",height:t?"97px":"0px",overflow:"hidden",display:"grid",gridTemplateColumns:"1fr 1fr",sx:{transition:"height 400ms"},children:[(0,s.jsx)(l.Z,{gridColumn:"span 2",borderRight:ke,children:(0,s.jsx)(we,{TARGET:"http://play.ootiboo.com/",TEXT:"Explore ootiboo"})}),(0,s.jsx)(l.Z,{gridColumn:"span 2",borderTop:ke,children:(0,s.jsx)(we,{TARGET:"http://ootiboo.com/",TEXT:"ootiboo Homepage"})})]})},Se=function(e){var t=e.IS_open,n=(0,ne.K)().locale,r="https://teachers.ootiboo.com",o={login:(0,s.jsx)(oe.G,{icon:ie.DD4,color:"currentColor"}),register:(0,s.jsx)(oe.G,{icon:ie.FKd,color:"currentColor"}),pwReset:(0,s.jsx)(oe.G,{icon:ie._1N,color:"currentColor"}),info:(0,s.jsx)(oe.G,{icon:ie.DBf,color:"currentColor"}),blog:(0,s.jsx)(oe.G,{icon:ie.dzc,color:"currentColor"})},i=[{target:"".concat(r,"/api/auth/login"),text:"Login",icon:o.login,border:"bottom",is_external:!0},{target:"".concat(r,"/sign-up"),text:"en"===n?"Sign Up":"Registrieren",icon:o.register,border:"bottom",is_external:!0},{target:"".concat(r,"/password-reset"),text:"en"===n?"Reset Password":"Passwort zur\xfccksetzen",icon:o.pwReset,border:"bottom",is_external:!0},{target:"".concat(r,"/welcome"),text:"en"===n?"About Teachers":"\xdcber ootiboo Teachers",icon:o.info,border:"bottom",is_external:!0}],a={transform:"translateY(".concat(t?"0":"calc((100% + 1px) * -1)",")"),transition:"transform 400ms"};return(0,s.jsx)(l.Z,{id:"login",position:"absolute",zIndex:-1,width:"100%",display:"grid",gridTemplateColumns:"1fr",borderBottom:"1px solid",sx:a,children:i.map((function(e,t){return(0,s.jsx)(we,{TARGET:e.target,TEXT:e.text,ICON:e.icon,BORDER:e.border,IS_external:e.is_external},t)}))})},Ee=(n(83454).env.NEXT_PUBLIC_DEV,(0,X.cL)("teachers").color),Te={is_mobile:!1},Oe=function(e){var t=e.CONFIG,n=void 0===t?Te:t,r=(0,o.Z)({},Te,n).is_mobile,i=(0,c.useRef)(null);return(0,s.jsx)("button",{onClick:function(){i.current&&i.current.submit()},className:"group/btn\n                  ".concat(r?"relative":"","\n                  p-1.5 px-3 whitespace-nowrap leading-none\n                  bg-white border border-solid border-black rounded-full\n                  ").concat(r?"sm:hidden landscape-mobile:block":"","\n                  hover:bg-[--color-hover] hover:text-white hover:border-[--color-hover]"),style:{"--color-hover":Ee},children:(0,s.jsxs)("form",{ref:i,action:"https://www.paypal.com/donate",method:"post",target:"_blank",className:"flex gap-x-1.5",children:[(0,s.jsx)("input",{type:"hidden",name:"hosted_button_id",value:"GAXFYKGDUGWUN"}),(0,s.jsx)("input",{type:"image",name:"submit",className:"hidden"}),(0,s.jsx)("span",{children:"Donate"}),(0,s.jsx)("div",{className:"flex",children:(0,s.jsx)("svg",{className:"h-[1em] group-hover/btn:fill-white",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",children:(0,s.jsx)("path",{d:"M111.4 295.9c-3.5 19.2-17.4 108.7-21.5 134-.3 1.8-1 2.5-3 2.5H12.3c-7.6 0-13.1-6.6-12.1-13.9L58.8 46.6c1.5-9.6 10.1-16.9 20-16.9 152.3 0 165.1-3.7 204 11.4 60.1 23.3 65.6 79.5 44 140.3-21.5 62.6-72.5 89.5-140.1 90.3-43.4 .7-69.5-7-75.3 24.2zM357.1 152c-1.8-1.3-2.5-1.8-3 1.3-2 11.4-5.1 22.5-8.8 33.6-39.9 113.8-150.5 103.9-204.5 103.9-6.1 0-10.1 3.3-10.9 9.4-22.6 140.4-27.1 169.7-27.1 169.7-1 7.1 3.5 12.9 10.6 12.9h63.5c8.6 0 15.7-6.3 17.4-14.9 .7-5.4-1.1 6.1 14.4-91.3 4.6-22 14.3-19.7 29.3-19.7 71 0 126.4-28.8 142.9-112.3 6.5-34.8 4.6-71.4-23.8-92.6z"})})})]})})},Ae="teachers",je=((0,X.cL)(Ae).color,{}),Ie=function(e){e.DATA;var t=e.CONFIG,n=void 0===t?je:t;(0,o.Z)({},je,n);return(0,s.jsx)(ae.Z,{TEXT:"Update me",SIZE:"verySmall",IS_nextLink:!1,IS_link:!0,URL:"https://play.ootiboo.com/updates"})};function Pe(e,t){return!(!e||!t)&&Object.entries(t).find((function(t){var n=(0,ee.Z)(t,2);n[0];return n[1].id===e}))[1].open}"1px solid ".concat("");var Ne=function(e){var t,n,r=e.MENU,o=e.MENU_DE,a=function(e){T({siteMenu:{id:"site",open:"site"===e&&!E.siteMenu.open},loginMenu:{id:"login",open:"login"===e&&!E.loginMenu.open},mainMenu:{id:"main",open:"main"===e&&!E.mainMenu.open}})},l="teachers",u=(0,I.aF)().user,f=(0,ne.K)(),d=(f.route,f.locale),p=((0,X.cL)(l).color_bg,r?r.attributes.links:null),h=o?o.attributes.links:null,m="en"===d?p:h,g=r?null===(t=r.attributes)||void 0===t?void 0:t.linkGroups:null,v=o?null===(n=o.attributes)||void 0===n?void 0:n.linkGroups:null,y=[],b=[];g&&g.forEach((function(e){return e.links.forEach((function(e){return y.push(e)}))})),v&&v.forEach((function(e){return e.links.forEach((function(e){return b.push(e)}))}));var x="en"===d?y:b,w=function(e,t,n,r){var o=(0,ne.K)().locale,i=e&&e.length>0,a=t&&t.length>0,s=n&&n.length>0,l=r&&r.length>0;return"en"===o&&(i||s)||"de"===o&&(a||l)}(p,h,g,v),_=(0,c.useState)(!1),k=_[0],C=_[1],S=(0,c.useState)({siteMenu:{id:"site",open:!1},loginMenu:{id:"login",open:!1},mainMenu:{id:"main",open:!1}}),E=S[0],T=S[1],O=te();return(0,c.useEffect)((function(){var e=O.y>150,t=O.y-O.lastY>0,n=O.maxYSinceLastShow-O.y>150;!e||n?(C(!1),O.maxYSinceLastShow=0):e&&t&&C(!0),T({siteMenu:{id:"site",open:!1},loginMenu:{id:"login",open:!1},mainMenu:{id:"main",open:!1}})}),[O.y,O.lastY]),(0,s.jsxs)("div",{className:"fixed top-left z-[9] w-full sm:hidden landscape-mobile:block",style:{transform:"translateY(".concat(k?"-100%":"-1px")},children:[(0,s.jsxs)("div",{className:"relative z-[1] p-3 flex justify-between items-start translate-y-[1px] border-b border-black bg-[--color-bg]",style:{"--color-bg":"#fff"},children:[(0,s.jsx)(re,{}),(0,s.jsx)("div",{className:"flex items-center gap-x-2",children:w?(0,s.jsx)(ue,{ACTION_toggleMenu:a,IS_active:Pe("main",E)}):null}),null]}),(0,s.jsx)(Ce,{IS_open:Pe("site",E)}),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"relative z-[2] p-3 \n                        flex items-start ".concat("justify-between","\n                        border-t border-b border-black bg-[--color-bg]"),style:{"--color-bg":"#fff"},children:[u?(0,s.jsx)(be,{CONFIG:{is_mobile:!0}}):(0,s.jsx)(fe,{ACTION_toggleMenu:a,IS_active:Pe("login",E)}),(0,s.jsxs)("div",{className:"flex gap-x-1.5",children:[(0,s.jsx)(Ie,{}),(0,s.jsx)(Oe,{CONFIG:{is_mobile:!0}})]})]}),w?(0,s.jsx)(_e,{LINKS:(0,i.Z)(m).concat((0,i.Z)(x)),ACTION_toggleMenu:a,IS_open:Pe("main",E)}):null,(0,s.jsx)(Se,{IS_open:Pe("login",E)})]})]})},Re="https://cdn.ootiboo.com",Ze=function(e){var t=e.POSITION,n=(0,c.useContext)(Q).settings_navigation.logos.teachers,r=t||"fixed";return(0,s.jsx)("a",{href:"https://ootiboo.com/",children:(0,s.jsx)("div",{className:"z-[2] w-[--w] p-4 leading-none cursor-pointer max-sm:hidden landscape-mobile:hidden",style:{position:r,"--w":"280px"},children:(0,s.jsx)("img",{src:Re+(null===n||void 0===n?void 0:n.url),style:{width:"100%"},alt:"logo"})})})},Le=(0,s.jsx)(oe.G,{icon:ie.xiG,color:"currentColor"}),De=function(e){var t=e.ACTION_toggleMenu,n="en"===(0,ne.K)().locale?"Menu":"Men\xfc";return(0,s.jsx)(ae.Z,{TEXT:n,ICON:Le,SIZE:"small",ON_click:function(){return t("main")}})},Fe=(oe.G,ie.ILF,(0,s.jsx)(oe.G,{icon:ie.mXR,color:"currentColor"})),Me=function(e){var t=e.IS_hidden;return(0,s.jsx)(pe(),{href:"/api/auth/logout",children:(0,s.jsx)("a",{"data-is-hidden":t,className:"data-[is-hidden=true]:-translate-y-[calc(100%_+_24px)]",children:(0,s.jsx)(ae.Z,{TEXT:"Log out",ICON:Fe,SIZE:"small"})})})},ze=n(32555),Be=function(e){var t=e.TARGET,n=e.TEXT,r=e.ICON,o=e.BORDER,i=e.COLOR,a=e.IS_nextLink,u=e.IS_disabled,c=e.IS_active,f=e.CONFIG,d=void 0===f?{openInNewTab:!1}:f,p="teachers",h=i||(0,X.cL)(p).color,m=((0,X.cL)(p).color_bg,d.openInNewTab),g=o?{color:u?"rgb(0 0 0 / 33%)":c?"#fff":"#000",pointerEvents:u?"none":"all","&:hover":{color:"#fff",backgroundColor:h}}:u?{color:"rgb(0 0 0 / 33%)",pointerEvents:"none","&:hover":{color:"#fff",backgroundColor:h}}:{"&:hover":{color:"#fff",backgroundColor:h}};return g.cursor=u?"default":"pointer",a?(0,s.jsx)(pe(),{href:"".concat(t),children:(0,s.jsxs)(l.Z,{"data-target":t,width:"100%",p:2,lineHeight:1,display:"flex",justifyContent:"flex-start",alignItems:"center",sx:g,color:c?"#fff":xe.Z.text.primary,backgroundColor:c?h:"#fff",children:[n,r?(0,s.jsx)(l.Z,{ml:1,children:r}):null]})}):(0,s.jsx)("a",{href:t,target:m?"_blank":"_self",style:{width:"100%"},rel:"noreferrer",children:(0,s.jsxs)(l.Z,{width:"100%",p:2,lineHeight:1,display:"flex",justifyContent:"flex-start",alignItems:"center",sx:g,color:c?"#fff":"#000",backgroundColor:c?h:"#fff",children:[n,r?(0,s.jsx)(l.Z,{ml:1,children:r}):null]})})},He=function(e){var t=e.LINKS,n=e.LINKGROUPS,r=e.ACTION_toggleMenu,o=e.IS_open,i="teachers",a=(0,I.aF)().user,u=((0,X.cL)(i).color_bg,(0,f.useRouter)()),d=u.pathname.replace("ootiboo-play/",""),p=d.includes("[slug]")||d.includes("[slug_ootibooWorks]")?u.asPath.substring(0):d.substring(0),h=(0,c.useState)(null),m=h[0],g=h[1];(0,c.useEffect)((function(){t&&t.length>0&&t.forEach((function(e){e.target===p&&g(e)})),n&&n.length>0&&n.forEach((function(e){var t=e.links;if(!t||0===t.length)return null;t.forEach((function(e){e.target===p&&g(e)}))}))}),[p]);var v={transform:"translateX(".concat(o?"0":"-100%",")"),transition:"transform 400ms"},y="1px solid ".concat("");return(0,s.jsxs)(l.Z,{position:"fixed",zIndex:"99",left:"0",width:{xs:"100vw",sm:"50vw",lg:"25vw"},height:"100vh",display:{xs:"none",sm:"flex"},flexDirection:"column",backgroundColor:"#fff",borderRight:"1px solid",sx:v,className:"max-sm:hidden landscape-mobile:hidden",children:[(0,s.jsx)(ze.Z,{ON_CLICK:function(){return r("main")}}),(0,s.jsx)(l.Z,{borderBottom:y,children:(0,s.jsx)(Ze,{POSITION:"static"})}),(0,s.jsx)(l.Z,{width:"100%",height:"100%",display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"space-between",children:(0,s.jsxs)(l.Z,{width:"100%",children:[(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(l.Z,{width:"100%",borderBottom:y,onClick:function(){return r("main")},children:(0,s.jsx)(Be,{TARGET:"/user",TEXT:"Dashboard",IS_nextLink:!0,IS_active:"/user"===p})}),(0,s.jsx)(l.Z,{width:"100%",borderBottom:y,onClick:function(){return r("main")},children:(0,s.jsx)(Be,{TARGET:"/api/auth/".concat(a?"logout":"login"),TEXT:"Log ".concat(a?"out":"in"),IS_nextLink:!1,IS_external:!0,IS_active:!1})}),(0,s.jsx)(l.Z,{width:"100%",borderBottom:y,onClick:function(){return r("main")},children:(0,s.jsx)(Be,{TARGET:"/password-reset",TEXT:"Reset Password",IS_nextLink:!0,IS_active:"/password-reset"===p})})]}),t&&t.length>0?t.map((function(e,t){return(0,s.jsx)(l.Z,{width:"100%",borderBottom:y,onClick:function(){return r("main")},children:(0,s.jsx)(Be,{TARGET:e.target,TEXT:e.text,IS_nextLink:!e.is_external,IS_external:e.is_external,IS_active:e===m,CONFIG:{openInNewTab:e.openInNewTab}})},t)})):null,n&&n.length>0?n.map((function(e,t){var n=e.links;return n&&0!==n.length?(0,s.jsx)(l.Z,{width:"100%",marginBottom:"calc(1px + 16px + 1em + 16px)",borderTop:0!=t?y:null,bgcolor:"limegreen",children:n.map((function(e,t){return(0,s.jsx)(l.Z,{width:"100%",borderBottom:y,onClick:function(){return r("main")},children:(0,s.jsx)(Be,{TARGET:e.target,TEXT:e.text,IS_nextLink:!e.is_external,IS_external:e.is_external,IS_active:e===m,CONFIG:{openInNewTab:e.openInNewTab}})},t)}))},t):null})):null]})})]})};n(99614);n(52761);var $e=function(e){var t,n,r,o,i,a=e.MENU,u=e.MENU_DE,f=function(e){return Object.entries(k).find((function(t){var n=(0,ee.Z)(t,2);n[0];return n[1].id===e}))[1].open},d=function(e){C({loginMenu:{id:"login",open:"login"===e&&!k.loginMenu.open},mainMenu:{id:"main",open:"main"===e&&!k.mainMenu.open},pwResetMenu:{id:"pwReset",open:"pwReset"===e&&!k.pwResetMenu.open}})},p=(0,I.aF)().user,h=(0,ne.K)().locale,m=a?null===(t=a.attributes)||void 0===t?void 0:t.links:null,g=u?null===(n=u.attributes)||void 0===n?void 0:n.links:null,v="en"===h?m:g,y=a?null===(r=a.attributes)||void 0===r?void 0:r.linkGroups:null,b=u?null===(o=u.attributes)||void 0===o?void 0:o.linkGroups:null,x="en"===h?y:b,w=function(e,t,n,r){var o=(0,ne.K)().locale,i=e&&e.length>0,a=t&&t.length>0,s=n&&n.length>0,l=r&&r.length>0;return"en"===o&&(i||s)||"de"===o&&(a||l)}(m,g,y,b),_=(0,c.useState)({loginMenu:{id:"login",open:!1,buttonHidden:!1},mainMenu:{id:"main",open:!1}}),k=_[0],C=_[1],S=(0,c.useState)({langSwitch:{id:"langSwitch",hidden:!1}}),E=(S[0],S[1]),T=te();return(0,c.useEffect)((function(){var e=T.y>150,t=T.y-T.lastY>0,n=T.maxYSinceLastShow-T.y>150;!e||n?(C({loginMenu:{id:"login",open:k.loginMenu.open,buttonHidden:!1},mainMenu:{id:"main",open:k.mainMenu.open}}),E({langSwitch:{id:"langSwitch",hidden:!1}}),T.maxYSinceLastShow=0):e&&t&&(C({loginMenu:{id:"login",open:k.loginMenu.open,buttonHidden:!0},mainMenu:{id:"main",open:k.mainMenu.open}}),E({langSwitch:{id:"langSwitch",hidden:!0}}))}),[T.y,T.lastY]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(l.Z,{width:"100vw",height:"100vh",sx:(i=k,{position:"fixed",top:0,left:0,backgroundColor:"rgba(255, 255, 255, 0.66)",opacity:Object.entries(i).some((function(e){return e[1].open}))?1:0,transition:"opacity 0.3s ease-in-out",pointerEvents:"none"}),onClick:function(){return d()}}),(0,s.jsx)(Ze,{}),(0,s.jsxs)("div",{className:"fixed top-[100px] left-4 flex flex-col items-start gap-y-2 max-sm:hidden landscape-mobile:hidden",children:[p?(0,s.jsx)(be,{}):null,(0,s.jsx)(De,{ACTION_toggleMenu:d,IS_active:f("main")}),(0,s.jsx)(Ie,{}),(0,s.jsx)(Oe,{})]}),w?(0,s.jsx)(He,{LINKS:v,LINKGROUPS:x,ACTION_toggleMenu:d,IS_open:f("main")}):null,(0,s.jsxs)("div",{className:"fixed top-6 right-6 z-[2] flex gap-x-2 max-sm:hidden landscape-mobile:hidden",children:[null,p?(0,s.jsx)(Me,{IS_hidden:k.loginMenu.buttonHidden}):null,null]}),null]})},Ue=n(69435),Ve=n(63399),Ge=n(38155),We=function(e){var t=e.TITLE,n=e.LINKS,r=(0,X.cL)("teachers").color;return(0,s.jsxs)(l.Z,{children:[t?(0,s.jsx)(Ge.Z,{TEXT:t}):null,n?(0,s.jsx)(l.Z,{mt:{xs:t?1:0,sm:t?3:0},children:n.map((function(e,t){return(0,s.jsx)(l.Z,{mt:t>0?1:0,children:(0,s.jsx)(Ve.Z,{TARGET:e.target,TEXT:e.text,ICON:e.icon,TYPE:"primary",COLOR:xe.Z.text.primary,COLOR_hover:r,LINEHEIGHT:1,IS_nextLink:!e.is_external,CONFIG:{openInNewTab:e.openInNewTab}})},t)}))}):null]})},qe=n(63366),Xe=n(87462),Ye=n(86010),Ke=n(58510),Qe=n(98216),Je=n(90948),et=n(71657),tt=n(79674),nt=n(51705),rt=n(15861),ot=n(1977),it=n(8027);function at(e){return(0,it.ZP)("MuiLink",e)}var st=(0,ot.Z)("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),lt=n(54844),ut=n(88111);const ct={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"};var ft=({theme:e,ownerState:t})=>{const n=(e=>ct[e]||e)(t.color),r=(0,lt.DW)(e,`palette.${n}`,!1)||t.color,o=(0,lt.DW)(e,`palette.${n}Channel`);return"vars"in e&&o?`rgba(${o} / 0.4)`:(0,ut.Fq)(r,.4)};const dt=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],pt=(0,Je.ZP)(rt.Z,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`underline${(0,Qe.Z)(n.underline)}`],"button"===n.component&&t.button]}})((({theme:e,ownerState:t})=>(0,Xe.Z)({},"none"===t.underline&&{textDecoration:"none"},"hover"===t.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===t.underline&&(0,Xe.Z)({textDecoration:"underline"},"inherit"!==t.color&&{textDecorationColor:ft({theme:e,ownerState:t})},{"&:hover":{textDecorationColor:"inherit"}}),"button"===t.component&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${st.focusVisible}`]:{outline:"auto"}}))),ht=c.forwardRef((function(e,t){const n=(0,et.Z)({props:e,name:"MuiLink"}),{className:r,color:o="primary",component:i="a",onBlur:a,onFocus:l,TypographyClasses:u,underline:f="always",variant:d="inherit",sx:p}=n,h=(0,qe.Z)(n,dt),{isFocusVisibleRef:m,onBlur:g,onFocus:v,ref:y}=(0,tt.Z)(),[b,x]=c.useState(!1),w=(0,nt.Z)(t,y),_=(0,Xe.Z)({},n,{color:o,component:i,focusVisible:b,underline:f,variant:d}),k=(e=>{const{classes:t,component:n,focusVisible:r,underline:o}=e,i={root:["root",`underline${(0,Qe.Z)(o)}`,"button"===n&&"button",r&&"focusVisible"]};return(0,Ke.Z)(i,at,t)})(_);return(0,s.jsx)(pt,(0,Xe.Z)({color:o,className:(0,Ye.Z)(k.root,r),classes:u,component:i,onBlur:e=>{g(e),!1===m.current&&x(!1),a&&a(e)},onFocus:e=>{v(e),!0===m.current&&x(!0),l&&l(e)},ref:w,ownerState:_,variant:d,sx:[...Object.keys(ct).includes(o)?[]:[{color:o}],...Array.isArray(p)?p:[p]]},h))}));var mt=ht,gt=function(e){var t=e.LOGOS,n="https://cdn.ootiboo.com";return(0,s.jsxs)(l.Z,{children:[(0,s.jsx)(Ge.Z,{TEXT:"Some of our partners"}),(0,s.jsx)(l.Z,{mt:3,display:"flex",flexDirection:{xs:"column",sm:"row"},children:t.map((function(e,t){return e.link?e.link.is_external?(0,s.jsx)(mt,{height:"6rem",mr:{xs:0,sm:4},mt:{xs:0===t?0:4,sm:0},href:e.link.target,target:"_blank",rel:"noopener noreferrer",children:(0,s.jsx)("img",{style:{height:"100%"},src:"".concat(n+e.file.url)})},t):(0,s.jsx)(pe(),{href:e.link.target,children:(0,s.jsx)(l.Z,{height:"6rem",mr:{xs:0,sm:4},mt:{xs:0===t?0:4,sm:0},children:(0,s.jsx)("img",{style:{height:"100%"},src:"".concat(n+e.file.url)})})},t):(0,s.jsx)(l.Z,{mr:{xs:0,sm:4},mt:{xs:0===t?0:4,sm:0},height:"6rem",children:(0,s.jsx)("img",{style:{height:"100%"},src:"".concat(n+e.file.url)})},t)}))})]})},vt=n(63084),yt=function(e){var t=e.DATA,n=e.DATA_DE,r=(0,ne.K)().locale,o="teachers",i=(0,X.cL)(o),a=i.color,u=(i.color_bg,(0,Ue.kx)(t)),c=u.linkGroups,f=u.logos,d=u.secondaryLinks,p=u.companyAddress,h=(0,Ue.kx)(n),m=h.linkGroups,g=h.logos,v=h.secondaryLinks,y=h.companyAddress,b="en"===r?c:m,x="en"===r?f:g,w="en"===r?d:v,_="en"===r?p:y,k={fontFamily:"Favorit Pro Book",textTransform:"uppercase",color:xe.Z.text.primary};return(0,s.jsxs)(l.Z,{mt:48,pt:2.75,pr:2,pl:2,pb:2.75,bgcolor:"#fff",borderTop:"1px solid #000",children:[(0,s.jsxs)(l.Z,{display:"grid",gridTemplateColumns:{xs:"1fr",sm:"1fr 1fr",md:"1fr 1fr 1fr"},columnGap:{xs:4,sm:2},rowGap:8,children:[b?(0,s.jsx)(l.Z,{gridColumn:{xs:"span 3",lg:"span 2"},display:"grid",gridTemplateColumns:{xs:"1fr 1fr",sm:"1fr 1fr 1fr"},columnGap:{xs:4,sm:2},rowGap:4,children:b.map((function(e,t){return(0,s.jsx)(We,{TITLE:e.title,LINKS:e.links},t)}))}):null,(0,s.jsxs)(l.Z,{gridColumn:{xs:"span 1",sm:"span 2",lg:"span 1"},children:[(0,s.jsx)(Ge.Z,{TEXT:"en"===r?"Sign up to our mailing list":"F\xfcr unseren Newsletter anmelden"}),(0,s.jsx)(l.Z,{mt:3,children:(0,s.jsx)(vt.Z,{})})]}),x?(0,s.jsx)(l.Z,{gridColumn:"span 3",children:(0,s.jsx)(gt,{LOGOS:x})}):null]}),(0,s.jsxs)(l.Z,{mt:12,display:"flex",justifyContent:"space-between",alignItems:"flex-end",children:[w?(0,s.jsx)(l.Z,{display:"flex",flexDirection:{xs:"column",sm:"row"},children:w.map((function(e,t){return(0,s.jsx)(l.Z,{mt:{xs:t>0?1:0,sm:0},mr:{xs:0,sm:2},children:(0,s.jsx)(Ve.Z,{TARGET:e.target,TEXT:e.text,TYPE:"secondary",COLOR:xe.Z.text.primary,COLOR_hover:a,LINEHEIGHT:1,IS_nextLink:!e.is_external,CONFIG:{openInNewTab:e.openInNewTab}})},t)}))}):null,(0,s.jsxs)(l.Z,{display:"flex",flexDirection:"column",alignItems:"flex-end",sx:k,children:[(0,s.jsx)(l.Z,{children:(0,s.jsxs)("span",{children:["\xa9 ootiboo ",/\d{4}/.exec(Date())[0]]})}),_?(0,s.jsxs)(l.Z,{mt:.5,textAlign:"right",children:[(0,s.jsxs)("span",{children:[_.street," ",_.number]}),(0,s.jsx)("br",{}),(0,s.jsxs)("span",{children:[_.zip," ",_.city,", ",_.country]})]}):null]})]})]})},bt={background:"#fff",border:"1px solid #000",borderRadius:"99rem",boxShadow:"none",color:"black",cursor:"pointer",flex:"0 0 auto",padding:"5px 10px",margin:"15px 15px 15px 7.5px",fontSize:"1rem"},xt={alignItems:"baseline",background:"#fff",color:"#000",display:"flex",flexWrap:"wrap",justifyContent:"space-between",left:"15px",position:"fixed",width:"calc(100% - 30px)",zIndex:"999",borderRadius:"14px",boxShadow:"0px 0px 20px 0px rgb(0 0 0 / 33%)"},wt={},_t=function(e){var t=e.CONFIG,n=void 0===t?{}:t;(0,o.Z)({},wt,n);return(0,s.jsx)(l.Z,{children:(0,s.jsx)(j(),{expires:30,extraCookieOptions:{domain:"ootiboo.com"},onAccept:function(){return window.gtag("consent","update",{analytics_storage:"granted"})},enableDeclineButton:!0,declineButtonText:"Decline",buttonText:"Accept",buttonClasses:"CookieConsent__button",declineButtonClasses:"CookieConsent__button",style:xt,buttonStyle:bt,declineButtonStyle:bt,children:"Our platform uses cookies to enhance the user experience."})})},kt=n(4298),Ct=n.n(kt),St={},Et=function(e){var t=e.CONFIG,n=void 0===t?{}:t;(0,o.Z)({},St,n);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(Ct(),{id:"googleAnalytics-gtag-default",dangerouslySetInnerHTML:{__html:"\n            // Define dataLayer and the gtag function\n            window.dataLayer = window.dataLayer || [];\n            function gtag(){dataLayer.push(arguments);}\n            \n            // Default analytics_storage to 'denied'\n            gtag('consent', 'default', {\n              'analytics_storage' : 'denied'\n            })\n          "}}),(0,s.jsx)(Ct(),{async:!0,src:"https://www.googletagmanager.com/gtag/js?id=".concat("G-ZXY97Q7VGD")}),(0,s.jsx)(Ct(),{id:"googleAnalytics-gtag",dangerouslySetInnerHTML:{__html:"\n            window.dataLayer = window.dataLayer || [];\n            function gtag(){dataLayer.push(arguments);}\n            \n            gtag('js', new Date());\n            \n            gtag('config', '".concat("G-ZXY97Q7VGD","', {\n              page_path: window.location.pathname,\n            });\n          ")}})]})};var Tt=n(88262),Ot=n(91750),At=n(83354),jt="ImgViewer \u2192 API \u2192 showImg",It="ImgViewer \u2192 API \u2192 showImg \u2192 no imgSrc provided";var Pt=function(e){e=null!==e?e:function(e){throw e}(new TypeError("Cannot destructure undefined"));var t=(0,c.useState)(!0),n=t[0],r=t[1],o=(0,c.useState)([0,0]),i=(0,ee.Z)(o[0],2),a=i[0],l=i[1],u=o[1],f=(0,c.useState)(null),d=f[0],p=f[1],h=(0,c.useState)([1e3,1e3]),m=(0,ee.Z)(h[0],2),g=m[0],v=m[1],y=h[1],b=(0,c.useState)(null),x=b[0],w=b[1],_=(0,Ot.Z)(x);return(0,c.useEffect)((function(){var e={set_is_hidden:r,set_imgSrc:p,set_imgDims:y,set_caption:w};return At.Z.on("ImgViewer_api_showImg",(function(t){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{set_is_hidden:function(){return console.warn("no set_is_hidden() act. provided")},set_imgSrc:function(){return console.warn("no set_imgSrc() act. provided")},set_imgDims:function(){return console.warn("no set_imgDims() act. provided")},set_caption:function(){return console.warn("no set_caption() act. provided")}},n=e.imgSrc,r=e.imgCaption,o=e.imgAspectRatio,i=t.set_is_hidden,a=t.set_imgSrc,s=t.set_imgDims,l=t.set_caption;if(console.log(jt,e),!(0,Ot.Z)(n))return console.warn(It,e);var u=1e3;s([u,u/o]),a(n),l(r),i(!1)}(t,e)})),function(){return At.Z.off("ImgViewer_api_showImg")}}),[]),(0,c.useEffect)((function(){if(window){var e=window.innerWidth,t=window.innerHeight;u([e,t])}}),[]),(0,s.jsx)("div",{"data-is-hidden":n,className:"fixed top-left z-[100] size-full max-size-screen bg-black/70 transition-opacity duration-300 ease-in-out hidden-via-attr",style:{"--w-vp":"".concat(a,"px"),"--h-vp":"".concat(l,"px"),"--w-img":"auto"===g?"auto":"".concat(g,"px"),"--h-img":"auto"===v?"auto":"".concat(v,"px"),"--w-whitespace-right":"".concat((a-g)/2,"px"),"--h-max-img":"".concat(900,"px")},children:(0,s.jsxs)("div",{className:"relative size-full flex-center flex-col",children:[(0,s.jsx)(ze.Z,{COLOR:"rgb(0, 145, 250)",ON_CLICK:function(){r(!0),p(null)}}),(0,s.jsxs)("div",{className:"h-3/4",children:[d?(0,s.jsx)("img",{src:d,className:"h-full max-w-[75vw] object-contain"}):null,(0,s.jsx)("footer",{className:"absolute bottom-left w-full p-6",children:_?(0,s.jsx)("div",{className:"w-full text-[length:1.5rem] max-[700px]:landscape:hidden",children:(0,s.jsx)(Tt.Z,{TEXT:x,IS_italic:!0,COLOR:"#fff",CONFIG:{textAlign:"center"}})}):null})]})]})})},Nt=n(40712),Rt=n.n(Nt),Zt=n(45697),Lt=n.n(Zt),Dt=n(83454),Ft=(Dt.env.NEXT_PUBLIC_API_URL,Dt.env.NEXT_PUBLIC_DEV,(0,X.cL)("teachers").color),Mt={},zt={is_active:!1},Bt=function(e){var t=e.CONFIG,n=void 0===t?Mt:t,r=e.STATE,i=void 0===r?zt:r,a=e.HDL,l=void 0===a?{eh_click:function(){return console.warn("No eh_click hdl. provided to Btn_play")}}:a,u=((0,o.Z)({},Mt,n),(0,o.Z)({},zt,i).is_active),c=l.eh_click;return(0,s.jsx)("button",{className:"group/btn flex text-[length:2rem] cursor-pointer",style:{"--h-icon":"2.5rem","--color-icon":"#fff","--color-icon-active":Ft},onClick:c,children:u?(0,s.jsx)("svg",{"aria-hidden":"true",focusable:"false","data-icon":"pause",className:"h-[--h-icon] overflow-visible fill-white transition-all duration-200 hover:fill-[--color-icon-active]",role:"img",viewBox:"0 0 320 512",children:(0,s.jsx)("path",{d:"M272 63.1l-32 0c-26.51 0-48 21.49-48 47.1v288c0 26.51 21.49 48 48 48L272 448c26.51 0 48-21.49 48-48v-288C320 85.49 298.5 63.1 272 63.1zM80 63.1l-32 0c-26.51 0-48 21.49-48 48v288C0 426.5 21.49 448 48 448l32 0c26.51 0 48-21.49 48-48v-288C128 85.49 106.5 63.1 80 63.1z",vectorEffect:"non-scaling-stroke"})}):(0,s.jsx)("svg",{"aria-hidden":"true",focusable:"false","data-icon":"play",className:"h-[--h-icon] overflow-visible fill-white transition-all duration-200 hover:fill-[--color-icon-active]",role:"img",viewBox:"0 0 384 512",children:(0,s.jsx)("path",{d:"M361 215C375.3 223.8 384 239.3 384 256C384 272.7 375.3 288.2 361 296.1L73.03 472.1C58.21 482 39.66 482.4 24.52 473.9C9.377 465.4 0 449.4 0 432V80C0 62.64 9.377 46.63 24.52 38.13C39.66 29.64 58.21 29.99 73.03 39.04L361 215z",vectorEffect:"non-scaling-stroke"})})})};Bt.propTypes={CONFIG:Lt().object,STATE:Lt().object,HDL:Lt().object};var Ht=Bt,$t=n(83454),Ut=($t.env.NEXT_PUBLIC_API_URL,$t.env.NEXT_PUBLIC_DEV,(0,X.cL)("teachers").color),Vt={},Gt={is_active:!1},Wt=function(e){var t=e.CONFIG,n=void 0===t?Vt:t,r=e.STATE,i=void 0===r?Gt:r,a=e.HDL,l=void 0===a?{eh_click:function(){return console.warn("No eh_click hdl. provided to Btn_volume")}}:a,u=((0,o.Z)({},Vt,n),(0,o.Z)({},Gt,i).is_active),c=l.eh_click;return(0,s.jsx)("button",{className:"group/btn flex text-[length:2rem] text-[--color-icon] cursor-pointer hover:[--color-icon:_var(--color-icon-active)_!important]",style:{"--h-icon":"2.5rem","--color-icon":"#fff","--color-icon-active":Ut},onClick:c,children:u?(0,s.jsx)(oe.G,{icon:ie.c0k,color:"currentColor",style:{transition:"color 300ms"},fontSize:"inherit"}):(0,s.jsx)(oe.G,{icon:ie.AQZ,color:"currentColor",style:{transition:"color 300ms"},fontSize:"inherit"})})};Wt.propTypes={CONFIG:Lt().object,STATE:Lt().object,HDL:Lt().object};var qt=Wt,Xt=n(83454),Yt=(Xt.env.NEXT_PUBLIC_API_URL,Xt.env.NEXT_PUBLIC_DEV,(0,X.cL)("teachers").color),Kt={},Qt={is_active:!1},Jt=function(e){var t=e.CONFIG,n=void 0===t?Kt:t,r=e.STATE,i=void 0===r?Qt:r,a=e.HDL,l=void 0===a?{eh_click:function(){return console.warn("No eh_click hdl. provided to Btn_fullscreen")}}:a,u=((0,o.Z)({},Kt,n),(0,o.Z)({},Qt,i).is_active,l.eh_click);return(0,s.jsx)("button",{className:"group/btn flex text-[length:--h-icon] text-[--color-icon] cursor-pointer hover:[--color-icon:_var(--color-icon-active)_!important]",style:{"--h-icon":"2.3rem","--color-icon":"#fff","--color-icon-active":Yt},onClick:u,children:(0,s.jsx)(oe.G,{icon:ie.TL5,color:"currentColor",style:{transition:"color 300ms"},fontSize:"inherit"})})};Jt.propTypes={CONFIG:Lt().object,STATE:Lt().object,HDL:Lt().object};var en=Jt;function tn(e){var t=Math.floor(e/60),n=Math.floor(e%60),r=String(t).padStart(2,"0"),o=String(n).padStart(2,"0");return"".concat(r,":").concat(o)}var nn=n(83454),rn=(nn.env.NEXT_PUBLIC_API_URL,nn.env.NEXT_PUBLIC_DEV,(0,X.cL)("teachers").color,{playbackTime:0,duration:null}),on={},an=function(e){var t=e.DATA,n=void 0===t?rn:t,r=e.CONFIG,i=void 0===r?on:r;if(!n)return null;var a=(0,o.Z)({},rn,n),l=((0,o.Z)({},on,i),a.playbackTime),u=a.duration;return(0,s.jsxs)("div",{className:"text-white text-[length:1.4rem]",children:[(0,s.jsx)("span",{children:tn(l)}),u?(0,s.jsxs)("span",{children:["/",u]}):null]})};an.propTypes={DATA:Lt().shape({playbackTime:Lt().number,duration:Lt().any}),CONFIG:Lt().object};var sn=an,ln=n(83454),un=(ln.env.NEXT_PUBLIC_API_URL,ln.env.NEXT_PUBLIC_DEV,(0,X.cL)("teachers").color,{}),cn=function(e){var t=e.IS_hidden,n=void 0!==t&&t,r=e.CONFIG,i=void 0===r?un:r;(0,o.Z)({},un,i);return(0,s.jsx)("div",{"data-is-hidden":n,className:"absolute inset-0 flex-center bg-white transition-opacity duration-500 hidden-via-attr",children:(0,s.jsx)("div",{className:"inline-block h-8 w-8 animate-spin rounded-full border-4 border-solid border-[--color-active] border-e-transparent align-[-0.125em]",role:"status",children:(0,s.jsx)("span",{className:"!absolute !-m-px !h-px !w-px !overflow-hidden !whitespace-nowrap !border-0 !p-0 ![clip:rect(0,0,0,0)]",children:"Loading..."})})})};cn.propTypes={IS_hidden:Lt().bool,CONFIG:Lt().object};var fn=cn,dn=n(83454),pn=(dn.env.NEXT_PUBLIC_API_URL,dn.env.NEXT_PUBLIC_DEV,(0,X.cL)("teachers")),hn=pn.color,mn=pn.color_light,gn={},vn={progress:0,duration_float:0},yn=function(e){var t=e.CONFIG,n=void 0===t?gn:t,r=e.STATE,i=void 0===r?vn:r,a=e.HDL,l=void 0===a?{eh_click:function(){return console.warn("No eh_click hdl. provided to PlaybackProgressBar")}}:a,u=((0,o.Z)({},gn,n),(0,o.Z)({},vn,i)),f=u.progress,d=u.duration_float,p=l.eh_click,h=(0,c.useRef)(null);return(0,s.jsxs)("div",{className:"group/bar relative w-full h-3 bg-white border-t border-b border-black cursor-pointer",style:{"--color-progress":hn,"--color-seek":mn,"--w-seek":"0%"},onClick:p,onMouseMove:function(e){var t=e.target,n=t.getBoundingClientRect(),r=e.clientX-n.left,o=r/n.width;t.style.setProperty("--w-seek","".concat(100*o,"%"));var i=h.current.getBoundingClientRect().width;h.current.style.setProperty("--left","".concat(r-i/2,"px"));var a=o*d;h.current.innerText=tn(a)},children:[(0,s.jsx)("div",{ref:h,className:"absolute bottom-[calc(100%_+_0.5rem)] left-[--left] z-[2] no-pointer p-1 rounded-md text-xs text-center leading-none text-white bg-[--color-progress] transition-opacity duration-200 opacity-0 group-hover/bar:opacity-100",style:{"--left":0}}),(0,s.jsx)("div",{className:"absolute-t-l z-[1] w-[--w] h-full no-pointer bg-[--color-progress]",style:{"--w":"".concat(f,"%")}}),(0,s.jsx)("div",{"data-ref":"seekBar",className:"absolute-t-l w-[--w-seek] h-full z-0 no-pointer bg-[--color-seek] transition-opacity duration-150 opacity-0 group-hover/bar:opacity-100"})]})};yn.propTypes={CONFIG:Lt().object,STATE:Lt().object};var bn=yn;var xn=n(47489);var wn=n(83454),_n=(wn.env.NEXT_PUBLIC_API_URL,wn.env.NEXT_PUBLIC_DEV,(0,X.cL)("teachers").color),kn={aspectRatio:{w:16,h:9}},Cn=function(e){var t=e.CONFIG,n=void 0===t?kn:t,r=(0,o.Z)({},kn,n).aspectRatio,i=r.w/r.h,a=(0,c.useRef)(),l=(0,c.useRef)(),u=(0,c.useState)(!1),f=u[0],d=u[1],p=(0,c.useState)(!0),h=p[0],m=p[1],g=(0,c.useState)(!1),v=g[0],y=g[1],b=(0,c.useState)(!1),x=b[0],w=b[1],_=(0,c.useState)(!1),k=_[0],C=_[1],S=(0,c.useState)(null),E=S[0],T=S[1],O=(0,c.useState)(!1),A=O[0],j=O[1],I=(0,c.useState)(0),P=I[0],N=I[1],R=(0,c.useState)(0),Z=R[0],L=R[1],D=(0,c.useState)(0),F=D[0],M=D[1],z=(0,c.useState)(0),B=z[0],H=z[1],$=(0,c.useRef)(Date.now()),U=function(){x&&($.current=Date.now(),y(!1))};(0,c.useEffect)((function(){return At.Z.on("OverlayVideoPlayer_api_showPlayer",(function(e){m(!1);var t=e.vimeoId,n=e.videoDuration;if(t&&T(t),n){if(!/^(\d{2}:)?[0-5]\d:[0-5]\d$/.test(n))return console.warn("Invalid video duration string format.");8===n.length&&n.startsWith("00:")&&(n=n.slice(3)),N(n);var r=n.length>5,o=n.split(":"),i=r?parseInt(o[0]):0,a=parseInt(o[r?1:0]),s=parseInt(o[r?2:1]);L(3600*i+60*a+s)}})),function(){return At.Z.off("OverlayVideoPlayer_api_showPlayer")}}),[]),(0,c.useEffect)((function(){var e=setInterval((function(){if(x){var e=Date.now()-$.current;y(e>3e3)}}),1e3);return function(){clearInterval(e)}}),[x]);var V=function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0,n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{set_is_fullscreen:function(){return console.warn("No set_is_fullscreen action provided to eh_fullscreenBtn_click")}}).set_is_fullscreen;e?(xn.Z.exit(),n(!1)):(xn.Z.toggle(t.current),n(!0))}(k,l,{set_is_fullscreen:C})};return(0,s.jsx)("div",{"data-is-hidden":h,"data-is-inactive":v,"data-is-fullscreen":k,className:"group/player fixed top-left z-[100] size-full max-size-screen bg-black/70 transition-opacity duration-300 ease-in-out hidden-via-attr",style:{"--color-active":_n},children:(0,s.jsxs)("div",{className:"relative size-full flex-center flex-col",children:[(0,s.jsxs)("div",{ref:l,className:"relative w-[60%] -translate-y-[5%] no-overflow rounded-xl border border-black bg-white group-data-[is-fullscreen=true]/player:rounded-none group-data-[is-fullscreen=true]/player:bg-black",children:[(0,s.jsx)("div",{className:"pb-[--pb]",style:{"--pb":"".concat(100/i,"%")},onMouseMove:U,onKeyDown:U,children:(0,s.jsx)("div",{className:"size-full no-pointer",children:E?(0,s.jsx)(Rt(),{ref:a,url:"https://player.vimeo.com/video/".concat(E),playing:x,muted:A,volume:1,width:"100%",height:"100%",style:{position:"absolute",top:0,left:0},onProgress:function(e){M(e.playedSeconds),H(e.played)},onReady:function(){return setTimeout((function(){return d(!0)}),500)}}):null})}),(0,s.jsxs)("div",{className:"absolute w-full bottom-0 flex flex-col justify-start bg-gradient-to-t from-black to-transparent transition-opacity duration-200 group-data-[is-inactive=true]/player:opacity-0 group-data-[is-inactive=true]/player:no-pointer",children:[(0,s.jsx)(bn,{STATE:{progress:100*B,duration_float:Z},HDL:{eh_click:function(e){return function(e,t){var n=e.target.getBoundingClientRect(),r=(e.clientX-n.left)/n.width;t.current.seekTo(r,"fraction")}(e,a)}}}),(0,s.jsxs)("div",{className:"p-1.5 flex justify-between items-center",children:[(0,s.jsxs)("div",{className:"flex items-center gap-x-4",children:[(0,s.jsx)(Ht,{STATE:{is_active:x},HDL:{eh_click:function(){return w(!x)}}}),(0,s.jsx)(qt,{STATE:{is_active:A},HDL:{eh_click:function(){return j(!A)}}}),(0,s.jsx)(sn,{DATA:{playbackTime:F,duration:P}})]}),(0,s.jsx)("div",{children:(0,s.jsx)(en,{HDL:{eh_click:function(){return V()}}})})]})]}),(0,s.jsx)(fn,{IS_hidden:f})]}),(0,s.jsx)(ze.Z,{COLOR:"rgb(0, 145, 250)",ON_CLICK:function(){m(!0),d(!1),T(null),w(!1),M(0),H(0)}})]})})};var Sn=n(83454),En=(Sn.env.NEXT_PUBLIC_API_URL,Sn.env.NEXT_PUBLIC_DEV,(0,X.cL)("teachers").color),Tn={},On=function(e){var t=e.CONFIG,n=void 0===t?Tn:t,r=((0,o.Z)({},Tn,n),(0,c.useRef)()),i=(0,c.useRef)(),a=(0,c.useState)(null),l=a[0],u=a[1],f=(0,c.useState)("04:20"),d=f[0],p=f[1],h=(0,c.useState)(0),m=h[0],g=h[1],v=(0,c.useState)(0),y=v[0],b=v[1],x=(0,c.useState)(0),w=x[0],_=x[1],k=(0,c.useState)(!1),C=k[0],S=k[1],E=(0,c.useState)(!0),T=E[0],O=E[1],A=(0,c.useState)(!1),j=A[0],I=A[1],P=(0,c.useState)(!1),N=P[0],R=P[1];return(0,c.useEffect)((function(){return At.Z.on("OverlayAudioPlayer_api_showPlayer",(function(e){var t=e.src_audio,n=e.src_cover;r.current=new Audio(t),r.current.onloadedmetadata=function(){g(r.current.duration),p(tn(r.current.duration))},u(n),O(!1),S(!0)})),function(){return At.Z.off("OverlayAudioPlayer_api_showPlayer")}}),[]),(0,c.useEffect)((function(){r.current&&(j?(r.current.play(),b(r.current.currentTime),clearInterval(i.current),i.current=setInterval((function(){var e=r.current.currentTime,t=e/r.current.duration;b(e),_(t)}),[1e3])):(clearInterval(i.current),r.current.pause()))}),[j]),(0,c.useEffect)((function(){r.current&&(r.current.muted=N)}),[N]),(0,s.jsx)("div",{"data-is-hidden":T,className:"group/player fixed top-left z-[100] size-full max-size-screen bg-black/70 transition-opacity duration-300 ease-in-out hidden-via-attr",style:{"--color-active":En},children:(0,s.jsxs)("div",{className:"relative size-full flex-center flex-col",children:[(0,s.jsxs)("div",{className:"relative w-[35%] max-h-[90vh] -translate-y-[5%] no-overflow rounded-xl border border-black bg-white bg-play-blue_ group-data-[is-fullscreen=true]/player:rounded-none group-data-[is-fullscreen=true]/player:bg-black",children:[(0,s.jsxs)("div",{className:"flex flex-col h-full",children:[(0,s.jsx)("div",{className:"p-20_ pb-16_ min-h-0",children:l?(0,s.jsx)("img",{src:l,className:"size-full object-contain",alt:""}):null}),(0,s.jsxs)("div",{className:"flex flex-col justify-center items-center gap-y-4 bg-[--color-bg]_ bg-play-blue_ bg-gradient-to-t from-black to-transparent",style:{"--color-bg":"#e7e7e7"},children:[(0,s.jsx)(bn,{STATE:{progress:100*w,duration_float:m},HDL:{eh_click:function(e){return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{set_is_playing:function(){return console.warn("No set_is_playing action provided to eh_playbackProgressBar_click")},set_playbackProgress:function(){return console.warn("No set_playbackProgress action provided to eh_playbackProgressBar_click")}},r=e.target,o=n.set_is_playing,i=n.set_playbackProgress;o(!1);var a=r.getBoundingClientRect(),s=(e.clientX-a.left)/a.width;t.current.currentTime=t.current.duration*s,i(s),o(!0)}(e,r,{set_is_playing:I,set_playbackProgress:_})}}}),(0,s.jsxs)("div",{className:"p-4 pt-0 w-full flex justify-between items-center",children:[(0,s.jsx)("div",{className:"flex-1",children:(0,s.jsx)(Ht,{STATE:{is_active:j},HDL:{eh_click:function(){return I(!j)}}})}),(0,s.jsx)("div",{className:"flex-1 flex justify-center",children:(0,s.jsx)(sn,{DATA:{playbackTime:y,duration:d}})}),(0,s.jsx)("div",{className:"flex-1 flex justify-end",children:(0,s.jsx)(qt,{STATE:{is_active:N},HDL:{eh_click:function(){return R(!N)}}})})]})]})]}),(0,s.jsx)(fn,{IS_hidden:C})]}),(0,s.jsx)(ze.Z,{COLOR:"rgb(0, 145, 250)",ON_CLICK:function(){r.current.pause(),O(!0),S(!1),I(!1),b(0),_(0)}})]})})};On.propTypes={CONFIG:Lt().object};var An=On;n(74831),n(12877);P.vc.autoAddCss=!1;var jn="teachers",In=(0,X.cL)(jn).color,Pn=new class{constructor(e={}){this.queryCache=e.queryCache||new b,this.mutationCache=e.mutationCache||new w,this.logger=e.logger||p,this.defaultOptions=e.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[],this.mountCount=0}mount(){this.mountCount++,1===this.mountCount&&(this.unsubscribeFocus=_.j.subscribe((()=>{_.j.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())})),this.unsubscribeOnline=k.N.subscribe((()=>{k.N.isOnline()&&(this.resumePausedMutations(),this.queryCache.onOnline())})))}unmount(){var e,t;this.mountCount--,0===this.mountCount&&(null==(e=this.unsubscribeFocus)||e.call(this),this.unsubscribeFocus=void 0,null==(t=this.unsubscribeOnline)||t.call(this),this.unsubscribeOnline=void 0)}isFetching(e,t){const[n]=(0,d.I6)(e,t);return n.fetchStatus="fetching",this.queryCache.findAll(n).length}isMutating(e){return this.mutationCache.findAll({...e,fetching:!0}).length}getQueryData(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state.data}ensureQueryData(e,t,n){const r=(0,d._v)(e,t,n),o=this.getQueryData(r.queryKey);return o?Promise.resolve(o):this.fetchQuery(r)}getQueriesData(e){return this.getQueryCache().findAll(e).map((({queryKey:e,state:t})=>[e,t.data]))}setQueryData(e,t,n){const r=this.queryCache.find(e),o=null==r?void 0:r.state.data,i=(0,d.SE)(t,o);if("undefined"===typeof i)return;const a=(0,d._v)(e),s=this.defaultQueryOptions(a);return this.queryCache.build(this,s).setData(i,{...n,manual:!0})}setQueriesData(e,t,n){return h.V.batch((()=>this.getQueryCache().findAll(e).map((({queryKey:e})=>[e,this.setQueryData(e,t,n)]))))}getQueryState(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state}removeQueries(e,t){const[n]=(0,d.I6)(e,t),r=this.queryCache;h.V.batch((()=>{r.findAll(n).forEach((e=>{r.remove(e)}))}))}resetQueries(e,t,n){const[r,o]=(0,d.I6)(e,t,n),i=this.queryCache,a={type:"active",...r};return h.V.batch((()=>(i.findAll(r).forEach((e=>{e.reset()})),this.refetchQueries(a,o))))}cancelQueries(e,t,n){const[r,o={}]=(0,d.I6)(e,t,n);"undefined"===typeof o.revert&&(o.revert=!0);const i=h.V.batch((()=>this.queryCache.findAll(r).map((e=>e.cancel(o)))));return Promise.all(i).then(d.ZT).catch(d.ZT)}invalidateQueries(e,t,n){const[r,o]=(0,d.I6)(e,t,n);return h.V.batch((()=>{var e,t;if(this.queryCache.findAll(r).forEach((e=>{e.invalidate()})),"none"===r.refetchType)return Promise.resolve();const n={...r,type:null!=(e=null!=(t=r.refetchType)?t:r.type)?e:"active"};return this.refetchQueries(n,o)}))}refetchQueries(e,t,n){const[r,o]=(0,d.I6)(e,t,n),i=h.V.batch((()=>this.queryCache.findAll(r).filter((e=>!e.isDisabled())).map((e=>{var t;return e.fetch(void 0,{...o,cancelRefetch:null==(t=null==o?void 0:o.cancelRefetch)||t,meta:{refetchPage:r.refetchPage}})}))));let a=Promise.all(i).then(d.ZT);return null!=o&&o.throwOnError||(a=a.catch(d.ZT)),a}fetchQuery(e,t,n){const r=(0,d._v)(e,t,n),o=this.defaultQueryOptions(r);"undefined"===typeof o.retry&&(o.retry=!1);const i=this.queryCache.build(this,o);return i.isStaleByTime(o.staleTime)?i.fetch(o):Promise.resolve(i.state.data)}prefetchQuery(e,t,n){return this.fetchQuery(e,t,n).then(d.ZT).catch(d.ZT)}fetchInfiniteQuery(e,t,n){const r=(0,d._v)(e,t,n);return r.behavior=C(),this.fetchQuery(r)}prefetchInfiniteQuery(e,t,n){return this.fetchInfiniteQuery(e,t,n).then(d.ZT).catch(d.ZT)}resumePausedMutations(){return this.mutationCache.resumePausedMutations()}getQueryCache(){return this.queryCache}getMutationCache(){return this.mutationCache}getLogger(){return this.logger}getDefaultOptions(){return this.defaultOptions}setDefaultOptions(e){this.defaultOptions=e}setQueryDefaults(e,t){const n=this.queryDefaults.find((t=>(0,d.yF)(e)===(0,d.yF)(t.queryKey)));n?n.defaultOptions=t:this.queryDefaults.push({queryKey:e,defaultOptions:t})}getQueryDefaults(e){if(!e)return;const t=this.queryDefaults.find((t=>(0,d.to)(e,t.queryKey)));return null==t?void 0:t.defaultOptions}setMutationDefaults(e,t){const n=this.mutationDefaults.find((t=>(0,d.yF)(e)===(0,d.yF)(t.mutationKey)));n?n.defaultOptions=t:this.mutationDefaults.push({mutationKey:e,defaultOptions:t})}getMutationDefaults(e){if(!e)return;const t=this.mutationDefaults.find((t=>(0,d.to)(e,t.mutationKey)));return null==t?void 0:t.defaultOptions}defaultQueryOptions(e){if(null!=e&&e._defaulted)return e;const t={...this.defaultOptions.queries,...this.getQueryDefaults(null==e?void 0:e.queryKey),...e,_defaulted:!0};return!t.queryHash&&t.queryKey&&(t.queryHash=(0,d.Rm)(t.queryKey,t)),"undefined"===typeof t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),"undefined"===typeof t.useErrorBoundary&&(t.useErrorBoundary=!!t.suspense),t}defaultMutationOptions(e){return null!=e&&e._defaulted?e:{...this.defaultOptions.mutations,...this.getMutationDefaults(null==e?void 0:e.mutationKey),...e,_defaulted:!0}}clear(){this.queryCache.clear(),this.mutationCache.clear()}}({defaultOptions:{queries:{queryFn:H}}});function Nn(e){var t,n,r=e.Component,i=e.pageProps,a=e.data_settings,d=e.data_navigationSettings,p=e.data_loginSettings_en,h=e.data_loginSettings_de,m=e.data_notificationConfigs,g=e.data_popUpSettings,v=e.data_schools,y=e.data_formTemplates,b=e.data_emailTemplates,x=e.data_menu,w=e.data_menu_de,_=e.data_footer,k=e.data_footer_de,C=(null===i||void 0===i?void 0:i.data_parentPage)?i.data_parentPage:(null===i||void 0===i?void 0:i.childPage)?i.childPage:(null===i||void 0===i?void 0:i.data_page)?i.data_page:null,S={userLoggedIn:!1,settings_navigation:F(d),settings_login_en:D(p),settings_login_de:D(h)},E={notifications:m.map((function(e){return function(e){if(!e||!e.attributes)return!1;var t=e.attributes,n=t.title,r=t.notificationID,o=t.recipients,i=t.sendEmailNotification,a=void 0===i||i,s=t.sendSlackNotification,l=void 0!==s&&s,u=t.slackWebHookURL,c=void 0===u?null:u;return{title:n,notificationID:r,recipients:o&&o.length>0?o.map((function(e){return function(e){var t,n=e.emailAddress;return!(!n||(t=n,!t.match(/^([\w.%+-]+)@([\w-]+\.)+([\w]{2,})$/i)))&&n}(e)})):null,sendEmailNotification:a,sendSlackNotification:l,slackWebHookURL:c}}(e)})),popUps:g.map((function(e){return function(e){if(!e||!e.attributes)return!1;var t=e.attributes;return{popUpID:t.popUpID,title:t.title,headline:t.headline,text:t.text}}(e)}))},j=(0,R.mc)(a),P=(0,R.PH)(C),N=P||j,Z=(0,c.useState)(!1),L=Z[0],M=Z[1],z=(0,f.useRouter)();return null===z||void 0===z||null===(t=z.events)||void 0===t||t.on("routeChangeStart",(function(){return M(!0)})),null===z||void 0===z||null===(n=z.events)||void 0===n||n.on("routeChangeComplete",(function(){return M(!1)})),(0,c.useEffect)((function(){((0,A.getCookieConsentValue)()||"true"===(0,A.getCookieConsentValue)())&&window.gtag("consent","update",{analytics_storage:"granted"});var e=function(e){return function(e){window.gtag("config","G-ZXY97Q7VGD",{page_path:e})}(e)};return z.events.on("routeChangeComplete",e),function(){return z.events.off("routeChangeComplete",e)}}),[z.events]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(Et,{}),(0,s.jsx)(O.lX,(0,o.Z)({},N)),(0,s.jsx)(_t,{}),(0,s.jsx)(l.Z,{position:"fixed",zIndex:"2",width:"100vw",height:"100vh",display:"flex",justifyContent:"center",alignItems:"center",bgcolor:"#fff",sx:{pointerEvents:"none",opacity:L?1:0,transition:"opacity 0.25s ease-in-out"},children:(0,s.jsx)(u.Z,{size:"2rem",thickness:4.25,style:{color:In}})}),(0,s.jsx)(I.dr,{children:(0,s.jsxs)(K,{configs:E,data_schools:v,data_formTemplates:y,data_emailTemplates:b,children:[(0,s.jsxs)(J,{settings:S,children:[(0,s.jsx)(Ne,{MENU:x,MENU_DE:w}),(0,s.jsx)($e,{MENU:x,MENU_DE:w})]}),(0,s.jsx)(T.aH,{client:Pn,children:(0,s.jsx)(r,(0,o.Z)({},i))}),(0,s.jsx)(Pt,{}),(0,s.jsx)(Cn,{}),(0,s.jsx)(An,{}),(0,s.jsx)(yt,{DATA:_,DATA_DE:k})]})})]})}Nn.getInitialProps=(0,r.Z)((function(){var e,t,n,r,o,s,l,u,c,f,d,p,h,m,g,v,y,b,x,w,_,k,C,S;return(0,a.__generator)(this,(function(a){switch(a.label){case 0:return[4,(0,M.Vo)("single","site-setting",["populate=*"],!1)];case 1:return t=a.sent(),n=[],r=["pagination[limit]=100","sort[0]=name","populate=*"],[4,(0,M.Vo)("collection","schools",r,!0,null,!1)];case 2:o=a.sent(),(e=n).push.apply(e,(0,i.Z)(o.data)),s=o.count,l=Math.ceil(s/100),u=2,a.label=3;case 3:return u<=l?(r=(0,i.Z)(r).concat(["pagination[start]=".concat(100*(u-1))]),[4,(0,M.Vo)("collection","schools",r,!1,null,!1)]):[3,6];case 4:f=a.sent(),(c=n).push.apply(c,(0,i.Z)(f)),a.label=5;case 5:return u++,[3,3];case 6:return[4,U()];case 7:return d=a.sent(),[4,W()];case 8:return p=a.sent(),r=["locale=all","filters[context][$eq]=".concat(jn),"populate[0]=linkGroups","populate[1]=linkGroups.links","populate[2]=linkGroups.links.icon","populate[3]=secondary.links","populate[4]=logos","populate[5]=logos.file","populate[6]=logos.link","populate[7]=companyAddress"],[4,(0,M.Vo)("collection","footers",r,!1)];case 9:return h=a.sent(),m=(0,N.c)(h,!0)?h.find((function(e){var t;return"en"===(null===e||void 0===e||null===(t=e.attributes)||void 0===t?void 0:t.locale)})):null,g=(0,N.c)(h,!0)?h.find((function(e){var t;return"de"===(null===e||void 0===e||null===(t=e.attributes)||void 0===t?void 0:t.locale)})):null,r=["locale=all","filters[context][$eq]=".concat(jn),"populate[links][populate]=links","populate[linkGroups][populate]=links"],[4,(0,M.Vo)("collection","menus",r,!1,!0)];case 10:return v=a.sent(),y=(0,N.c)(v,!0)?v[0]:null,b=(0,N.c)(v,!0)?v[1]:null,r=["populate=*"],[4,(0,M.Vo)("single","settings-navigation",r,!1,!0)];case 11:return x=a.sent(),r=["locale=all"],[4,(0,M.Vo)("collection","settings-login",r,!1,!0)];case 12:return w=a.sent(),_=(0,N.c)(w,!0)?w.find((function(e){var t;return"en"===(null===e||void 0===e||null===(t=e.attributes)||void 0===t?void 0:t.locale)})):null,k=(0,N.c)(w,!0)?w.find((function(e){var t;return"de"===(null===e||void 0===e||null===(t=e.attributes)||void 0===t?void 0:t.locale)})):null,r=["populate=recipients"],[4,(0,M.Vo)("collection","notification-configs",r,!1,!0)];case 13:return C=a.sent(),r=["locale=all"],[4,(0,M.Vo)("collection","pop-up-configs",r,!1,!0)];case 14:return S=a.sent(),[2,{data_settings:t,data_navigationSettings:x,data_loginSettings_en:_,data_loginSettings_de:k,data_notificationConfigs:C,data_popUpSettings:S,data_schools:n,data_formTemplates:d,data_emailTemplates:p,data_menu:y,data_menu_de:b,data_footer:m,data_footer_de:g}]}}))}));var Rn=Nn},45551:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r="UTIL \u2192 convert \u2192 convert_contentBlockWidth \u2192 no width provided";function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{width:null},t=null===e||void 0===e?void 0:e.width;if(!t)return console.warn(r),!1;var n="string"===typeof t;return n&&(t="full"==t?100:"regular"==t?66.666:parseFloat(t.replace(/\D/g,""))),t}},6342:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(26042),o="UTIL \u2192 validate \u2192 validate_field \u2192 no_field",i={check_length:!1,check_is_zero:!1,log:!1};function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{field:null},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i,n=e.field,a=(0,r.Z)({},i,t),s=a.check_length,l=a.check_is_zero,u=a.log;if(!n)return u&&console.warn(o),!1;var c="".concat(s,"_").concat(l);switch(c){case"true_true":return null!=n&&void 0!=n&&n.length>0&&0!=n;case"true_false":return null!=n&&void 0!=n&&n.length>0;case"false_true":return null!=n&&void 0!=n&&0!=n;default:return null!=n&&void 0!=n}}},91750:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(96486);function o(e){return(0,r.isString)(e)&&e.trim().length>0&&""!==e.trim()}},21876:function(e){!function(){var t={675:function(e,t){"use strict";t.byteLength=function(e){var t=l(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,i=l(e),a=i[0],s=i[1],u=new o(function(e,t,n){return 3*(t+n)/4-n}(0,a,s)),c=0,f=s>0?a-4:a;for(n=0;n<f;n+=4)t=r[e.charCodeAt(n)]<<18|r[e.charCodeAt(n+1)]<<12|r[e.charCodeAt(n+2)]<<6|r[e.charCodeAt(n+3)],u[c++]=t>>16&255,u[c++]=t>>8&255,u[c++]=255&t;2===s&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,u[c++]=255&t);1===s&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,u[c++]=t>>8&255,u[c++]=255&t);return u},t.fromByteArray=function(e){for(var t,r=e.length,o=r%3,i=[],a=16383,s=0,l=r-o;s<l;s+=a)i.push(c(e,s,s+a>l?l:s+a));1===o?(t=e[r-1],i.push(n[t>>2]+n[t<<4&63]+"==")):2===o&&(t=(e[r-2]<<8)+e[r-1],i.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"="));return i.join("")};for(var n=[],r=[],o="undefined"!==typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=i.length;a<s;++a)n[a]=i[a],r[i.charCodeAt(a)]=a;function l(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function u(e){return n[e>>18&63]+n[e>>12&63]+n[e>>6&63]+n[63&e]}function c(e,t,n){for(var r,o=[],i=t;i<n;i+=3)r=(e[i]<<16&16711680)+(e[i+1]<<8&65280)+(255&e[i+2]),o.push(u(r));return o.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},72:function(e,t,n){"use strict";var r=n(675),o=n(783),i="function"===typeof Symbol&&"function"===typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=l,t.SlowBuffer=function(e){+e!=e&&(e=0);return l.alloc(+e)},t.INSPECT_MAX_BYTES=50;var a=2147483647;function s(e){if(e>a)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,l.prototype),t}function l(e,t,n){if("number"===typeof e){if("string"===typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return f(e)}return u(e,t,n)}function u(e,t,n){if("string"===typeof e)return function(e,t){"string"===typeof t&&""!==t||(t="utf8");if(!l.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var n=0|m(e,t),r=s(n),o=r.write(e,t);o!==n&&(r=r.slice(0,o));return r}(e,t);if(ArrayBuffer.isView(e))return d(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(H(e,ArrayBuffer)||e&&H(e.buffer,ArrayBuffer))return p(e,t,n);if("undefined"!==typeof SharedArrayBuffer&&(H(e,SharedArrayBuffer)||e&&H(e.buffer,SharedArrayBuffer)))return p(e,t,n);if("number"===typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');var r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return l.from(r,t,n);var o=function(e){if(l.isBuffer(e)){var t=0|h(e.length),n=s(t);return 0===n.length||e.copy(n,0,0,t),n}if(void 0!==e.length)return"number"!==typeof e.length||$(e.length)?s(0):d(e);if("Buffer"===e.type&&Array.isArray(e.data))return d(e.data)}(e);if(o)return o;if("undefined"!==typeof Symbol&&null!=Symbol.toPrimitive&&"function"===typeof e[Symbol.toPrimitive])return l.from(e[Symbol.toPrimitive]("string"),t,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function c(e){if("number"!==typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function f(e){return c(e),s(e<0?0:0|h(e))}function d(e){for(var t=e.length<0?0:0|h(e.length),n=s(t),r=0;r<t;r+=1)n[r]=255&e[r];return n}function p(e,t,n){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(n||0))throw new RangeError('"length" is outside of buffer bounds');var r;return r=void 0===t&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,t):new Uint8Array(e,t,n),Object.setPrototypeOf(r,l.prototype),r}function h(e){if(e>=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return 0|e}function m(e,t){if(l.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||H(e,ArrayBuffer))return e.byteLength;if("string"!==typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;for(var o=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return M(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return z(e).length;default:if(o)return r?-1:M(e).length;t=(""+t).toLowerCase(),o=!0}}function g(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return I(this,t,n);case"utf8":case"utf-8":return T(this,t,n);case"ascii":return A(this,t,n);case"latin1":case"binary":return j(this,t,n);case"base64":return E(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function v(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function y(e,t,n,r,o){if(0===e.length)return-1;if("string"===typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),$(n=+n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if("string"===typeof t&&(t=l.from(t,r)),l.isBuffer(t))return 0===t.length?-1:b(e,t,n,r,o);if("number"===typeof t)return t&=255,"function"===typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):b(e,[t],n,r,o);throw new TypeError("val must be string, number or Buffer")}function b(e,t,n,r,o){var i,a=1,s=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,n/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){var c=-1;for(i=n;i<s;i++)if(u(e,i)===u(t,-1===c?0:i-c)){if(-1===c&&(c=i),i-c+1===l)return c*a}else-1!==c&&(i-=i-c),c=-1}else for(n+l>s&&(n=s-l),i=n;i>=0;i--){for(var f=!0,d=0;d<l;d++)if(u(e,i+d)!==u(t,d)){f=!1;break}if(f)return i}return-1}function x(e,t,n,r){n=Number(n)||0;var o=e.length-n;r?(r=Number(r))>o&&(r=o):r=o;var i=t.length;r>i/2&&(r=i/2);for(var a=0;a<r;++a){var s=parseInt(t.substr(2*a,2),16);if($(s))return a;e[n+a]=s}return a}function w(e,t,n,r){return B(M(t,e.length-n),e,n,r)}function _(e,t,n,r){return B(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function k(e,t,n,r){return _(e,t,n,r)}function C(e,t,n,r){return B(z(t),e,n,r)}function S(e,t,n,r){return B(function(e,t){for(var n,r,o,i=[],a=0;a<e.length&&!((t-=2)<0);++a)r=(n=e.charCodeAt(a))>>8,o=n%256,i.push(o),i.push(r);return i}(t,e.length-n),e,n,r)}function E(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function T(e,t,n){n=Math.min(e.length,n);for(var r=[],o=t;o<n;){var i,a,s,l,u=e[o],c=null,f=u>239?4:u>223?3:u>191?2:1;if(o+f<=n)switch(f){case 1:u<128&&(c=u);break;case 2:128===(192&(i=e[o+1]))&&(l=(31&u)<<6|63&i)>127&&(c=l);break;case 3:i=e[o+1],a=e[o+2],128===(192&i)&&128===(192&a)&&(l=(15&u)<<12|(63&i)<<6|63&a)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:i=e[o+1],a=e[o+2],s=e[o+3],128===(192&i)&&128===(192&a)&&128===(192&s)&&(l=(15&u)<<18|(63&i)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(c=l)}null===c?(c=65533,f=1):c>65535&&(c-=65536,r.push(c>>>10&1023|55296),c=56320|1023&c),r.push(c),o+=f}return O(r)}t.kMaxLength=a,l.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),l.TYPED_ARRAY_SUPPORT||"undefined"===typeof console||"function"!==typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.buffer}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.byteOffset}}),l.poolSize=8192,l.from=function(e,t,n){return u(e,t,n)},Object.setPrototypeOf(l.prototype,Uint8Array.prototype),Object.setPrototypeOf(l,Uint8Array),l.alloc=function(e,t,n){return function(e,t,n){return c(e),e<=0?s(e):void 0!==t?"string"===typeof n?s(e).fill(t,n):s(e).fill(t):s(e)}(e,t,n)},l.allocUnsafe=function(e){return f(e)},l.allocUnsafeSlow=function(e){return f(e)},l.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==l.prototype},l.compare=function(e,t){if(H(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),H(t,Uint8Array)&&(t=l.from(t,t.offset,t.byteLength)),!l.isBuffer(e)||!l.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var n=e.length,r=t.length,o=0,i=Math.min(n,r);o<i;++o)if(e[o]!==t[o]){n=e[o],r=t[o];break}return n<r?-1:r<n?1:0},l.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return l.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=l.allocUnsafe(t),o=0;for(n=0;n<e.length;++n){var i=e[n];if(H(i,Uint8Array)&&(i=l.from(i)),!l.isBuffer(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(r,o),o+=i.length}return r},l.byteLength=m,l.prototype._isBuffer=!0,l.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)v(this,t,t+1);return this},l.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)v(this,t,t+3),v(this,t+1,t+2);return this},l.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)v(this,t,t+7),v(this,t+1,t+6),v(this,t+2,t+5),v(this,t+3,t+4);return this},l.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?T(this,0,e):g.apply(this,arguments)},l.prototype.toLocaleString=l.prototype.toString,l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===l.compare(this,e)},l.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(e+=" ... "),"<Buffer "+e+">"},i&&(l.prototype[i]=l.prototype.inspect),l.prototype.compare=function(e,t,n,r,o){if(H(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),!l.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return-1;if(t>=n)return 1;if(this===e)return 0;for(var i=(o>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),s=Math.min(i,a),u=this.slice(r,o),c=e.slice(t,n),f=0;f<s;++f)if(u[f]!==c[f]){i=u[f],a=c[f];break}return i<a?-1:a<i?1:0},l.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},l.prototype.indexOf=function(e,t,n){return y(this,e,t,n,!0)},l.prototype.lastIndexOf=function(e,t,n){return y(this,e,t,n,!1)},l.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"===typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var o=this.length-t;if((void 0===n||n>o)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return x(this,e,t,n);case"utf8":case"utf-8":return w(this,e,t,n);case"ascii":return _(this,e,t,n);case"latin1":case"binary":return k(this,e,t,n);case"base64":return C(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,e,t,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function O(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var n="",r=0;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=4096));return n}function A(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(127&e[o]);return r}function j(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(e[o]);return r}function I(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var o="",i=t;i<n;++i)o+=U[e[i]];return o}function P(e,t,n){for(var r=e.slice(t,n),o="",i=0;i<r.length;i+=2)o+=String.fromCharCode(r[i]+256*r[i+1]);return o}function N(e,t,n){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function R(e,t,n,r,o,i){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function Z(e,t,n,r,o,i){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function L(e,t,n,r,i){return t=+t,n>>>=0,i||Z(e,0,n,4),o.write(e,t,n,r,23,4),n+4}function D(e,t,n,r,i){return t=+t,n>>>=0,i||Z(e,0,n,8),o.write(e,t,n,r,52,8),n+8}l.prototype.slice=function(e,t){var n=this.length;(e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e);var r=this.subarray(e,t);return Object.setPrototypeOf(r,l.prototype),r},l.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||N(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return r},l.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||N(e,t,this.length);for(var r=this[e+--t],o=1;t>0&&(o*=256);)r+=this[e+--t]*o;return r},l.prototype.readUInt8=function(e,t){return e>>>=0,t||N(e,1,this.length),this[e]},l.prototype.readUInt16LE=function(e,t){return e>>>=0,t||N(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUInt16BE=function(e,t){return e>>>=0,t||N(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUInt32LE=function(e,t){return e>>>=0,t||N(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUInt32BE=function(e,t){return e>>>=0,t||N(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||N(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return r>=(o*=128)&&(r-=Math.pow(2,8*t)),r},l.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||N(e,t,this.length);for(var r=t,o=1,i=this[e+--r];r>0&&(o*=256);)i+=this[e+--r]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},l.prototype.readInt8=function(e,t){return e>>>=0,t||N(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){e>>>=0,t||N(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(e,t){e>>>=0,t||N(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(e,t){return e>>>=0,t||N(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return e>>>=0,t||N(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readFloatLE=function(e,t){return e>>>=0,t||N(e,4,this.length),o.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return e>>>=0,t||N(e,4,this.length),o.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return e>>>=0,t||N(e,8,this.length),o.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return e>>>=0,t||N(e,8,this.length),o.read(this,e,!1,52,8)},l.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t>>>=0,n>>>=0,r)||R(this,e,t,n,Math.pow(2,8*n)-1,0);var o=1,i=0;for(this[t]=255&e;++i<n&&(o*=256);)this[t+i]=e/o&255;return t+n},l.prototype.writeUIntBE=function(e,t,n,r){(e=+e,t>>>=0,n>>>=0,r)||R(this,e,t,n,Math.pow(2,8*n)-1,0);var o=n-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+n},l.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,1,255,0),this[t]=255&e,t+1},l.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},l.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var o=Math.pow(2,8*n-1);R(this,e,t,n,o-1,-o)}var i=0,a=1,s=0;for(this[t]=255&e;++i<n&&(a*=256);)e<0&&0===s&&0!==this[t+i-1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+n},l.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var o=Math.pow(2,8*n-1);R(this,e,t,n,o-1,-o)}var i=n-1,a=1,s=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+n},l.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},l.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeFloatLE=function(e,t,n){return L(this,e,t,!0,n)},l.prototype.writeFloatBE=function(e,t,n){return L(this,e,t,!1,n)},l.prototype.writeDoubleLE=function(e,t,n){return D(this,e,t,!0,n)},l.prototype.writeDoubleBE=function(e,t,n){return D(this,e,t,!1,n)},l.prototype.copy=function(e,t,n,r){if(!l.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var o=r-n;if(this===e&&"function"===typeof Uint8Array.prototype.copyWithin)this.copyWithin(t,n,r);else if(this===e&&n<t&&t<r)for(var i=o-1;i>=0;--i)e[i+t]=this[i+n];else Uint8Array.prototype.set.call(e,this.subarray(n,r),t);return o},l.prototype.fill=function(e,t,n,r){if("string"===typeof e){if("string"===typeof t?(r=t,t=0,n=this.length):"string"===typeof n&&(r=n,n=this.length),void 0!==r&&"string"!==typeof r)throw new TypeError("encoding must be a string");if("string"===typeof r&&!l.isEncoding(r))throw new TypeError("Unknown encoding: "+r);if(1===e.length){var o=e.charCodeAt(0);("utf8"===r&&o<128||"latin1"===r)&&(e=o)}}else"number"===typeof e?e&=255:"boolean"===typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var i;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"===typeof e)for(i=t;i<n;++i)this[i]=e;else{var a=l.isBuffer(e)?e:l.from(e,r),s=a.length;if(0===s)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<n-t;++i)this[i+t]=a[i%s]}return this};var F=/[^+/0-9A-Za-z-_]/g;function M(e,t){var n;t=t||1/0;for(var r=e.length,o=null,i=[],a=0;a<r;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!o){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function z(e){return r.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(F,"")).length<2)return"";for(;e.length%4!==0;)e+="=";return e}(e))}function B(e,t,n,r){for(var o=0;o<r&&!(o+n>=t.length||o>=e.length);++o)t[o+n]=e[o];return o}function H(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function $(e){return e!==e}var U=function(){for(var e="0123456789abcdef",t=new Array(256),n=0;n<16;++n)for(var r=16*n,o=0;o<16;++o)t[r+o]=e[n]+e[o];return t}()},783:function(e,t){t.read=function(e,t,n,r,o){var i,a,s=8*o-r-1,l=(1<<s)-1,u=l>>1,c=-7,f=n?o-1:0,d=n?-1:1,p=e[t+f];for(f+=d,i=p&(1<<-c)-1,p>>=-c,c+=s;c>0;i=256*i+e[t+f],f+=d,c-=8);for(a=i&(1<<-c)-1,i>>=-c,c+=r;c>0;a=256*a+e[t+f],f+=d,c-=8);if(0===i)i=1-u;else{if(i===l)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,r),i-=u}return(p?-1:1)*a*Math.pow(2,i-r)},t.write=function(e,t,n,r,o,i){var a,s,l,u=8*i-o-1,c=(1<<u)-1,f=c>>1,d=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:i-1,h=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+f>=1?d/l:d*Math.pow(2,1-f))*l>=2&&(a++,l/=2),a+f>=c?(s=0,a=c):a+f>=1?(s=(t*l-1)*Math.pow(2,o),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,o),a=0));o>=8;e[n+p]=255&s,p+=h,s/=256,o-=8);for(a=a<<o|s,u+=o;u>0;e[n+p]=255&a,p+=h,a/=256,u-=8);e[n+p-h]|=128*m}}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var i=n[e]={exports:{}},a=!0;try{t[e](i,i.exports,r),a=!1}finally{a&&delete n[e]}return i.exports}r.ab="//";var o=r(72);e.exports=o}()},77720:function(){},94375:function(){},18700:function(){},25194:function(){},74831:function(){},12877:function(){},77663:function(e){!function(){var t={229:function(e){var t,n,r=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!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:o}catch(e){t=o}try{n="function"===typeof clearTimeout?clearTimeout:i}catch(e){n=i}}();var s,l=[],u=!1,c=-1;function f(){u&&s&&(u=!1,s.length?l=s.concat(l):c=-1,l.length&&d())}function d(){if(!u){var e=a(f);u=!0;for(var t=l.length;t;){for(s=l,l=[];++c<t;)s&&s[c].run();c=-1,t=l.length}s=null,u=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===i||!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 p(e,t){this.fun=e,this.array=t}function h(){}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];l.push(new p(e,t)),1!==l.length||u||a(d)},p.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=h,r.addListener=h,r.once=h,r.off=h,r.removeListener=h,r.removeAllListeners=h,r.emit=h,r.prependListener=h,r.prependOnceListener=h,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 o=n[e];if(void 0!==o)return o.exports;var i=n[e]={exports:{}},a=!0;try{t[e](i,i.exports,r),a=!1}finally{a&&delete n[e]}return i.exports}r.ab="//";var o=r(229);e.exports=o}()},9008:function(e,t,n){e.exports=n(5443)},25675:function(e,t,n){e.exports=n(28045)},41664:function(e,t,n){e.exports=n(48418)},11163:function(e,t,n){e.exports=n(90387)},4298:function(e,t,n){e.exports=n(20699)},92703:function(e,t,n){"use strict";var r=n(50414);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,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:i,resetWarningCache:o};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"},55760:function(e){"use strict";function t(e){this._maxSize=e,this.clear()}t.prototype.clear=function(){this._size=0,this._values=Object.create(null)},t.prototype.get=function(e){return this._values[e]},t.prototype.set=function(e,t){return this._size>=this._maxSize&&this.clear(),e in this._values||this._size++,this._values[e]=t};var n=/[^.^\]^[]+|(?=\[\]|\.\.)/g,r=/^\d+$/,o=/^\d/,i=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,a=/^\s*(['"]?)(.*?)(\1)\s*$/,s=new t(512),l=new t(512),u=new t(512);function c(e){return s.get(e)||s.set(e,f(e).map((function(e){return e.replace(a,"$2")})))}function f(e){return e.match(n)}function d(e){return"string"===typeof e&&e&&-1!==["'",'"'].indexOf(e.charAt(0))}function p(e){return!d(e)&&(function(e){return e.match(o)&&!e.match(r)}(e)||function(e){return i.test(e)}(e))}e.exports={Cache:t,split:f,normalizePath:c,setter:function(e){var t=c(e);return l.get(e)||l.set(e,(function(e,n){for(var r=0,o=t.length,i=e;r<o-1;){var a=t[r];if("__proto__"===a||"constructor"===a||"prototype"===a)return e;i=i[t[r++]]}i[t[r]]=n}))},getter:function(e,t){var n=c(e);return u.get(e)||u.set(e,(function(e){for(var r=0,o=n.length;r<o;){if(null==e&&t)return;e=e[n[r++]]}return e}))},join:function(e){return e.reduce((function(e,t){return e+(d(t)||r.test(t)?"["+t+"]":(e?".":"")+t)}),"")},forEach:function(e,t,n){!function(e,t,n){var r,o,i,a,s=e.length;for(o=0;o<s;o++)(r=e[o])&&(p(r)&&(r='"'+r+'"'),i=!(a=d(r))&&/^\d+$/.test(r),t.call(n,r,a,i,o,e))}(Array.isArray(e)?e:f(e),t,n)}}},92491:function(e,t,n){"undefined"!=typeof self&&self,e.exports=function(){var e={808:function(e,t,n){var r,o,i;void 0===(o="function"==typeof(r=i=function(){function e(){for(var e=0,t={};e<arguments.length;e++){var n=arguments[e];for(var r in n)t[r]=n[r]}return t}function t(e){return e.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}return function n(r){function o(){}function i(t,n,i){if("undefined"!=typeof document){"number"==typeof(i=e({path:"/"},o.defaults,i)).expires&&(i.expires=new Date(1*new Date+864e5*i.expires)),i.expires=i.expires?i.expires.toUTCString():"";try{var a=JSON.stringify(n);/^[\{\[]/.test(a)&&(n=a)}catch(e){}n=r.write?r.write(n,t):encodeURIComponent(String(n)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var s="";for(var l in i)i[l]&&(s+="; "+l,!0!==i[l]&&(s+="="+i[l].split(";")[0]));return document.cookie=t+"="+n+s}}function a(e,n){if("undefined"!=typeof document){for(var o={},i=document.cookie?document.cookie.split("; "):[],a=0;a<i.length;a++){var s=i[a].split("="),l=s.slice(1).join("=");n||'"'!==l.charAt(0)||(l=l.slice(1,-1));try{var u=t(s[0]);if(l=(r.read||r)(l,u)||t(l),n)try{l=JSON.parse(l)}catch(e){}if(o[u]=l,e===u)break}catch(e){}}return e?o[e]:o}}return o.set=i,o.get=function(e){return a(e,!1)},o.getJSON=function(e){return a(e,!0)},o.remove=function(t,n){i(t,"",e(n,{expires:-1}))},o.defaults={},o.withConverter=n,o}((function(){}))})?r.call(t,n,t,e):r)||(e.exports=o),e.exports=i()},703:function(e,t,n){"use strict";var r=n(414);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,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:i,resetWarningCache:o};return n.PropTypes=n,n}},697:function(e,t,n){e.exports=n(703)()},414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,r),i.exports}r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};return function(){"use strict";r.r(o),r.d(o,{Cookies:function(){return l()},OPTIONS:function(){return x},SAME_SITE_OPTIONS:function(){return w},VISIBLE_OPTIONS:function(){return _},default:function(){return A},getCookieConsentValue:function(){return k},resetCookieConsentValue:function(){return C}});const e=n(67294);var t=r.n(e),i=r(697),a=r.n(i),s=r(808),l=r.n(s);function u(e){return(u="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})(e)}var c=["children"];function f(){return(f=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}).apply(this,arguments)}function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){b(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}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 m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e,t){if(t&&("object"===u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return v(e)}function v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(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 x={TOP:"top",BOTTOM:"bottom",NONE:"none"},w={STRICT:"strict",LAX:"lax",NONE:"none"},_={HIDDEN:"hidden",SHOW:"show",BY_COOKIE_VALUE:"byCookieValue"},k=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:E,t=l().get(e);return void 0===t&&(t=l().get(S(e))),t},C=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:E;l().remove(e)},S=function(e){return"".concat(e,"-legacy")},E="CookieConsent",T=function(e){var t=e.condition,n=e.wrapper,r=e.children;return t?n(r):r},O=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&&m(e,t)}(a,e);var n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=y(r);if(o){var n=y(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return g(this,e)});function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),b(v(t=i.call(this,e)),"handleScroll",(function(){var e=t.props.acceptOnScrollPercentage,n=document.documentElement,r=document.body,o="scrollTop",i="scrollHeight";(n[o]||r[o])/((n[i]||r[i])-n.clientHeight)*100>e&&t.accept(!0)})),b(v(t),"removeScrollListener",(function(){t.props.acceptOnScroll&&window.removeEventListener("scroll",t.handleScroll)})),t.state={visible:!1,style:{alignItems:"baseline",background:"#353535",color:"white",display:"flex",flexWrap:"wrap",justifyContent:"space-between",left:"0",position:"fixed",width:"100%",zIndex:"999"},buttonStyle:{background:"#ffd42d",border:"0",borderRadius:"0px",boxShadow:"none",color:"black",cursor:"pointer",flex:"0 0 auto",padding:"5px 10px",margin:"15px"},declineButtonStyle:{background:"#c12a2a",border:"0",borderRadius:"0px",boxShadow:"none",color:"#e5e5e5",cursor:"pointer",flex:"0 0 auto",padding:"5px 10px",margin:"15px"},contentStyle:{flex:"1 0 300px",margin:"15px"},overlayStyle:{position:"fixed",left:0,top:0,width:"100%",height:"100%",zIndex:"999",backgroundColor:"rgba(0,0,0,0.3)"}},t}return(n=[{key:"componentDidMount",value:function(){var e=this.props.debug;(void 0===this.getCookieValue()||e)&&(this.setState({visible:!0}),this.props.acceptOnScroll&&window.addEventListener("scroll",this.handleScroll,{passive:!0}))}},{key:"componentWillUnmount",value:function(){this.removeScrollListener()}},{key:"accept",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.props,n=t.cookieName,r=t.cookieValue,o=t.hideOnAccept,i=t.onAccept;this.setCookie(n,r),i(null!=e&&e),o&&(this.setState({visible:!1}),this.removeScrollListener())}},{key:"overlayClick",value:function(){var e=this.props,t=e.acceptOnOverlayClick,n=e.onOverlayClick;t&&this.accept(),n()}},{key:"decline",value:function(){var e=this.props,t=e.cookieName,n=e.declineCookieValue,r=e.hideOnDecline,o=e.onDecline;e.setDeclineCookie&&this.setCookie(t,n),o(),r&&this.setState({visible:!1})}},{key:"setCookie",value:function(e,t){var n=this.props,r=n.extraCookieOptions,o=n.expires,i=n.sameSite,a=this.props.cookieSecurity;void 0===a&&(a=!location||"https:"===location.protocol);var s=p(p({expires:o},r),{},{sameSite:i,secure:a});i===w.NONE&&l().set(S(e),t,s),l().set(e,t,s)}},{key:"getCookieValue",value:function(){var e=this.props.cookieName;return k(e)}},{key:"render",value:function(){var e=this;switch(this.props.visible){case _.HIDDEN:return null;case _.BY_COOKIE_VALUE:if(!this.state.visible)return null}var n=this.props,r=n.location,o=n.style,i=n.buttonStyle,a=n.declineButtonStyle,s=n.contentStyle,l=n.disableStyles,u=n.buttonText,c=n.declineButtonText,d=n.containerClasses,h=n.contentClasses,m=n.buttonClasses,g=n.buttonWrapperClasses,v=n.declineButtonClasses,y=n.buttonId,b=n.declineButtonId,w=n.disableButtonStyles,k=n.enableDeclineButton,C=n.flipButtons,S=n.ButtonComponent,E=n.overlay,O=n.overlayClasses,A=n.overlayStyle,j=n.ariaAcceptLabel,I=n.ariaDeclineLabel,P=n.customContainerAttributes,N=n.customContentAttributes,R=n.customButtonProps,Z={},L={},D={},F={},M={};switch(l?(Z=f({},o),L=f({},i),D=f({},a),F=f({},s),M=f({},A)):(Z=f({},p(p({},this.state.style),o)),F=f({},p(p({},this.state.contentStyle),s)),M=f({},p(p({},this.state.overlayStyle),A)),w?(L=f({},i),D=f({},a)):(L=f({},p(p({},this.state.buttonStyle),i)),D=f({},p(p({},this.state.declineButtonStyle),a)))),r){case x.TOP:Z.top="0";break;case x.BOTTOM:Z.bottom="0"}var z=[];return k&&z.push(t().createElement(S,{key:"declineButton",style:D,className:v,id:b,"aria-label":I,onClick:function(){e.decline()}},c)),z.push(t().createElement(S,f({},R,{key:"acceptButton",style:L,className:m,id:y,"aria-label":j,onClick:function(){e.accept()}}),u)),C&&z.reverse(),t().createElement(T,{condition:E,wrapper:function(n){return t().createElement("div",{style:M,className:O,onClick:function(){e.overlayClick()}},n)}},t().createElement("div",f({className:"".concat(d),style:Z},P),t().createElement("div",f({style:F,className:h},N),this.props.children),t().createElement("div",{className:"".concat(g)},z.map((function(e){return e})))))}}])&&h(a.prototype,n),a}(e.Component);O.propTypes={location:a().oneOf(Object.keys(x).map((function(e){return x[e]}))),visible:a().oneOf(Object.keys(_).map((function(e){return _[e]}))),sameSite:a().oneOf(Object.keys(w).map((function(e){return w[e]}))),style:a().object,buttonStyle:a().object,declineButtonStyle:a().object,contentStyle:a().object,children:a().any,disableStyles:a().bool,hideOnAccept:a().bool,hideOnDecline:a().bool,onAccept:a().func,onDecline:a().func,buttonText:a().oneOfType([a().string,a().func,a().element]),declineButtonText:a().oneOfType([a().string,a().func,a().element]),cookieName:a().string,cookieValue:a().oneOfType([a().string,a().bool,a().number]),declineCookieValue:a().oneOfType([a().string,a().bool,a().number]),setDeclineCookie:a().bool,debug:a().bool,expires:a().number,containerClasses:a().string,contentClasses:a().string,buttonClasses:a().string,buttonWrapperClasses:a().string,declineButtonClasses:a().string,buttonId:a().string,declineButtonId:a().string,extraCookieOptions:a().object,disableButtonStyles:a().bool,enableDeclineButton:a().bool,flipButtons:a().bool,ButtonComponent:a().elementType,cookieSecurity:a().bool,overlay:a().bool,overlayClasses:a().string,overlayStyle:a().object,onOverlayClick:a().func,acceptOnOverlayClick:a().bool,ariaAcceptLabel:a().string,ariaDeclineLabel:a().string,acceptOnScroll:a().bool,acceptOnScrollPercentage:a().number,customContentAttributes:a().object,customContainerAttributes:a().object,customButtonProps:a().object},O.defaultProps={disableStyles:!1,hideOnAccept:!0,hideOnDecline:!0,location:x.BOTTOM,visible:_.BY_COOKIE_VALUE,onAccept:function(){},onDecline:function(){},cookieName:E,cookieValue:!0,declineCookieValue:!1,setDeclineCookie:!0,buttonText:"I understand",declineButtonText:"I decline",debug:!1,expires:365,containerClasses:"CookieConsent",contentClasses:"",buttonClasses:"",buttonWrapperClasses:"",declineButtonClasses:"",buttonId:"rcc-confirm-button",declineButtonId:"rcc-decline-button",extraCookieOptions:{},disableButtonStyles:!1,enableDeclineButton:!1,flipButtons:!1,sameSite:w.LAX,ButtonComponent:function(e){var n=e.children,r=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,c);return t().createElement("button",r,n)},overlay:!1,overlayClasses:"",onOverlayClick:function(){},acceptOnOverlayClick:!1,ariaAcceptLabel:"Accept cookies",ariaDeclineLabel:"Decline cookies",acceptOnScroll:!1,acceptOnScrollPercentage:25,customContentAttributes:{},customContainerAttributes:{},customButtonProps:{}};const A=O}(),o}()},69590:function(e){var t="undefined"!==typeof Element,n="function"===typeof Map,r="function"===typeof Set,o="function"===typeof ArrayBuffer&&!!ArrayBuffer.isView;function i(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,l,u,c;if(Array.isArray(e)){if((s=e.length)!=a.length)return!1;for(l=s;0!==l--;)if(!i(e[l],a[l]))return!1;return!0}if(n&&e instanceof Map&&a instanceof Map){if(e.size!==a.size)return!1;for(c=e.entries();!(l=c.next()).done;)if(!a.has(l.value[0]))return!1;for(c=e.entries();!(l=c.next()).done;)if(!i(l.value[1],a.get(l.value[0])))return!1;return!0}if(r&&e instanceof Set&&a instanceof Set){if(e.size!==a.size)return!1;for(c=e.entries();!(l=c.next()).done;)if(!a.has(l.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(a)){if((s=e.length)!=a.length)return!1;for(l=s;0!==l--;)if(e[l]!==a[l])return!1;return!0}if(e.constructor===RegExp)return e.source===a.source&&e.flags===a.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"===typeof e.valueOf&&"function"===typeof a.valueOf)return e.valueOf()===a.valueOf();if(e.toString!==Object.prototype.toString&&"function"===typeof e.toString&&"function"===typeof a.toString)return e.toString()===a.toString();if((s=(u=Object.keys(e)).length)!==Object.keys(a).length)return!1;for(l=s;0!==l--;)if(!Object.prototype.hasOwnProperty.call(a,u[l]))return!1;if(t&&e instanceof Element)return!1;for(l=s;0!==l--;)if(("_owner"!==u[l]&&"__v"!==u[l]&&"__o"!==u[l]||!e.$$typeof)&&!i(e[u[l]],a[u[l]]))return!1;return!0}return e!==e&&a!==a}e.exports=function(e,t){try{return i(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=60103,r=60106,o=60107,i=60108,a=60114,s=60109,l=60110,u=60112,c=60113,f=60120,d=60115,p=60116,h=60121,m=60122,g=60117,v=60129,y=60131;if("function"===typeof Symbol&&Symbol.for){var b=Symbol.for;n=b("react.element"),r=b("react.portal"),o=b("react.fragment"),i=b("react.strict_mode"),a=b("react.profiler"),s=b("react.provider"),l=b("react.context"),u=b("react.forward_ref"),c=b("react.suspense"),f=b("react.suspense_list"),d=b("react.memo"),p=b("react.lazy"),h=b("react.block"),m=b("react.server.block"),g=b("react.fundamental"),v=b("react.debug_trace_mode"),y=b("react.legacy_hidden")}function x(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case o:case a:case i:case c:case f:return e;default:switch(e=e&&e.$$typeof){case l:case u:case p:case d:case s:return e;default:return t}}case r:return t}}}var w=s,_=n,k=u,C=o,S=p,E=d,T=r,O=a,A=i,j=c;t.ContextConsumer=l,t.ContextProvider=w,t.Element=_,t.ForwardRef=k,t.Fragment=C,t.Lazy=S,t.Memo=E,t.Portal=T,t.Profiler=O,t.StrictMode=A,t.Suspense=j,t.isAsyncMode=function(){return!1},t.isConcurrentMode=function(){return!1},t.isContextConsumer=function(e){return x(e)===l},t.isContextProvider=function(e){return x(e)===s},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return x(e)===u},t.isFragment=function(e){return x(e)===o},t.isLazy=function(e){return x(e)===p},t.isMemo=function(e){return x(e)===d},t.isPortal=function(e){return x(e)===r},t.isProfiler=function(e){return x(e)===a},t.isStrictMode=function(e){return x(e)===i},t.isSuspense=function(e){return x(e)===c},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===o||e===a||e===v||e===i||e===c||e===f||e===y||"object"===typeof e&&null!==e&&(e.$$typeof===p||e.$$typeof===d||e.$$typeof===s||e.$$typeof===l||e.$$typeof===u||e.$$typeof===g||e.$$typeof===h||e[0]===m)},t.typeOf=x},59864:function(e,t,n){"use strict";e.exports=n(69921)},397:function(e,t,n){"use strict";n.d(t,{iT:function(){return Ue}});var r=n(67294),o="#4fa94d",i={"aria-busy":!0,role:"status"},a=n(59864),s=n(96774),l=n.n(s);var u=function(e){function t(e,r,l,u,d){for(var p,h,m,g,x,_=0,k=0,C=0,S=0,E=0,P=0,R=m=p=0,L=0,D=0,F=0,M=0,z=l.length,B=z-1,H="",$="",U="",V="";L<z;){if(h=l.charCodeAt(L),L===B&&0!==k+S+C+_&&(0!==k&&(h=47===k?10:47),S=C=_=0,z++,B++),0===k+S+C+_){if(L===B&&(0<D&&(H=H.replace(f,"")),0<H.trim().length)){switch(h){case 32:case 9:case 59:case 13:case 10:break;default:H+=l.charAt(L)}h=59}switch(h){case 123:for(p=(H=H.trim()).charCodeAt(0),m=1,M=++L;L<z;){switch(h=l.charCodeAt(L)){case 123:m++;break;case 125:m--;break;case 47:switch(h=l.charCodeAt(L+1)){case 42:case 47:e:{for(R=L+1;R<B;++R)switch(l.charCodeAt(R)){case 47:if(42===h&&42===l.charCodeAt(R-1)&&L+2!==R){L=R+1;break e}break;case 10:if(47===h){L=R+1;break e}}L=R}}break;case 91:h++;case 40:h++;case 34:case 39:for(;L++<B&&l.charCodeAt(L)!==h;);}if(0===m)break;L++}if(m=l.substring(M,L),0===p&&(p=(H=H.replace(c,"").trim()).charCodeAt(0)),64===p){switch(0<D&&(H=H.replace(f,"")),h=H.charCodeAt(1)){case 100:case 109:case 115:case 45:D=r;break;default:D=I}if(M=(m=t(r,D,m,h,d+1)).length,0<N&&(x=s(3,m,D=n(I,H,F),r,O,T,M,h,d,u),H=D.join(""),void 0!==x&&0===(M=(m=x.trim()).length)&&(h=0,m="")),0<M)switch(h){case 115:H=H.replace(w,a);case 100:case 109:case 45:m=H+"{"+m+"}";break;case 107:m=(H=H.replace(v,"$1 $2"))+"{"+m+"}",m=1===j||2===j&&i("@"+m,3)?"@-webkit-"+m+"@"+m:"@"+m;break;default:m=H+m,112===u&&($+=m,m="")}else m=""}else m=t(r,n(r,H,F),m,u,d+1);U+=m,m=F=D=R=p=0,H="",h=l.charCodeAt(++L);break;case 125:case 59:if(1<(M=(H=(0<D?H.replace(f,""):H).trim()).length))switch(0===R&&(p=H.charCodeAt(0),45===p||96<p&&123>p)&&(M=(H=H.replace(" ",":")).length),0<N&&void 0!==(x=s(1,H,r,e,O,T,$.length,u,d,u))&&0===(M=(H=x.trim()).length)&&(H="\0\0"),p=H.charCodeAt(0),h=H.charCodeAt(1),p){case 0:break;case 64:if(105===h||99===h){V+=H+l.charAt(L);break}default:58!==H.charCodeAt(M-1)&&($+=o(H,p,h,H.charCodeAt(2)))}F=D=R=p=0,H="",h=l.charCodeAt(++L)}}switch(h){case 13:case 10:47===k?k=0:0===1+p&&107!==u&&0<H.length&&(D=1,H+="\0"),0<N*Z&&s(0,H,r,e,O,T,$.length,u,d,u),T=1,O++;break;case 59:case 125:if(0===k+S+C+_){T++;break}default:switch(T++,g=l.charAt(L),h){case 9:case 32:if(0===S+_+k)switch(E){case 44:case 58:case 9:case 32:g="";break;default:32!==h&&(g=" ")}break;case 0:g="\\0";break;case 12:g="\\f";break;case 11:g="\\v";break;case 38:0===S+k+_&&(D=F=1,g="\f"+g);break;case 108:if(0===S+k+_+A&&0<R)switch(L-R){case 2:112===E&&58===l.charCodeAt(L-3)&&(A=E);case 8:111===P&&(A=P)}break;case 58:0===S+k+_&&(R=L);break;case 44:0===k+C+S+_&&(D=1,g+="\r");break;case 34:case 39:0===k&&(S=S===h?0:0===S?h:S);break;case 91:0===S+k+C&&_++;break;case 93:0===S+k+C&&_--;break;case 41:0===S+k+_&&C--;break;case 40:if(0===S+k+_){if(0===p)if(2*E+3*P===533);else p=1;C++}break;case 64:0===k+C+S+_+R+m&&(m=1);break;case 42:case 47:if(!(0<S+_+C))switch(k){case 0:switch(2*h+3*l.charCodeAt(L+1)){case 235:k=47;break;case 220:M=L,k=42}break;case 42:47===h&&42===E&&M+2!==L&&(33===l.charCodeAt(M+2)&&($+=l.substring(M,L+1)),g="",k=0)}}0===k&&(H+=g)}P=E,E=h,L++}if(0<(M=$.length)){if(D=r,0<N&&(void 0!==(x=s(2,$,D,e,O,T,M,u,d,u))&&0===($=x).length))return V+$+U;if($=D.join(",")+"{"+$+"}",0!==j*A){switch(2!==j||i($,2)||(A=0),A){case 111:$=$.replace(b,":-moz-$1")+$;break;case 112:$=$.replace(y,"::-webkit-input-$1")+$.replace(y,"::-moz-$1")+$.replace(y,":-ms-input-$1")+$}A=0}}return V+$+U}function n(e,t,n){var o=t.trim().split(m);t=o;var i=o.length,a=e.length;switch(a){case 0:case 1:var s=0;for(e=0===a?"":e[0]+" ";s<i;++s)t[s]=r(e,t[s],n).trim();break;default:var l=s=0;for(t=[];s<i;++s)for(var u=0;u<a;++u)t[l++]=r(e[u]+" ",o[s],n).trim()}return t}function r(e,t,n){var r=t.charCodeAt(0);switch(33>r&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(g,"$1"+e.trim());case 58:return e.trim()+t.replace(g,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(g,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function o(e,t,n,r){var a=e+";",s=2*t+3*n+4*r;if(944===s){e=a.indexOf(":",9)+1;var l=a.substring(e,a.length-1).trim();return l=a.substring(0,e).trim()+l+";",1===j||2===j&&i(l,1)?"-webkit-"+l+l:l}if(0===j||2===j&&!i(a,1))return a;switch(s){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(E,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(l=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+l+a;case 1005:return p.test(a)?a.replace(d,":-webkit-")+a.replace(d,":-moz-")+a:a;case 1e3:switch(t=(l=a.substring(13).trim()).indexOf("-")+1,l.charCodeAt(0)+l.charCodeAt(t)){case 226:l=a.replace(x,"tb");break;case 232:l=a.replace(x,"tb-rl");break;case 220:l=a.replace(x,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+l+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(t=(a=e).length-10,s=(l=(33===a.charCodeAt(t)?a.substring(0,t):a).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|l.charCodeAt(7))){case 203:if(111>l.charCodeAt(8))break;case 115:a=a.replace(l,"-webkit-"+l)+";"+a;break;case 207:case 102:a=a.replace(l,"-webkit-"+(102<s?"inline-":"")+"box")+";"+a.replace(l,"-webkit-"+l)+";"+a.replace(l,"-ms-"+l+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return l=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+l+"-ms-flex-"+l+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(k,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(k,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===S.test(e))return 115===(l=e.substring(e.indexOf(":")+1)).charCodeAt(0)?o(e.replace("stretch","fill-available"),t,n,r).replace(":fill-available",":stretch"):a.replace(l,"-webkit-"+l)+a.replace(l,"-moz-"+l.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===n+r&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(h,"$1-webkit-$2")+a}return a}function i(e,t){var n=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?n:10);return n=e.substring(n+1,e.length-1),R(2!==t?r:r.replace(C,"$1"),n,t)}function a(e,t){var n=o(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(_," or ($1)").substring(4):"("+t+")"}function s(e,t,n,r,o,i,a,s,l,c){for(var f,d=0,p=t;d<N;++d)switch(f=P[d].call(u,e,p,n,r,o,i,a,s,l,c)){case void 0:case!1:case!0:case null:break;default:p=f}if(p!==t)return p}function l(e){return void 0!==(e=e.prefix)&&(R=null,e?"function"!==typeof e?j=1:(j=2,R=e):j=0),l}function u(e,n){var r=e;if(33>r.charCodeAt(0)&&(r=r.trim()),r=[r],0<N){var o=s(-1,n,r,r,O,T,0,0,0,0);void 0!==o&&"string"===typeof o&&(n=o)}var i=t(I,r,n,0,0);return 0<N&&(void 0!==(o=s(-2,i,r,r,O,T,i.length,0,0,0))&&(i=o)),"",A=0,T=O=1,i}var c=/^\0+/g,f=/[\0\r\f]/g,d=/: */g,p=/zoo|gra/,h=/([,: ])(transform)/g,m=/,\r+?/g,g=/([\t\r\n ])*\f?&/g,v=/@(k\w+)\s*(\S*)\s*/,y=/::(place)/g,b=/:(read-only)/g,x=/[svh]\w+-[tblr]{2}/,w=/\(\s*(.*)\s*\)/g,_=/([\s\S]*?);/g,k=/-self|flex-/g,C=/[^]*?(:[rp][el]a[\w-]+)[^]*/,S=/stretch|:\s*\w+\-(?:conte|avail)/,E=/([^-])(image-set\()/,T=1,O=1,A=0,j=1,I=[],P=[],N=0,R=null,Z=0;return u.use=function e(t){switch(t){case void 0:case null:N=P.length=0;break;default:if("function"===typeof t)P[N++]=t;else if("object"===typeof t)for(var n=0,r=t.length;n<r;++n)e(t[n]);else Z=0|!!t}return e},u.set=l,void 0!==e&&l(e),u},c=n(40351),f=n(40784),d=n(8679),p=n.n(d),h=n(83454);function m(){return(m=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}).apply(this,arguments)}var g=function(e,t){for(var n=[e[0]],r=0,o=t.length;r<o;r+=1)n.push(t[r],e[r+1]);return n},v=function(e){return null!==e&&"object"==typeof e&&"[object Object]"===(e.toString?e.toString():Object.prototype.toString.call(e))&&!(0,a.typeOf)(e)},y=Object.freeze([]),b=Object.freeze({});function x(e){return"function"==typeof e}function w(e){return e.displayName||e.name||"Component"}function _(e){return e&&"string"==typeof e.styledComponentId}var k="undefined"!=typeof h&&void 0!==h.env&&(h.env.REACT_APP_SC_ATTR||h.env.SC_ATTR)||"data-styled",C="undefined"!=typeof window&&"HTMLElement"in window,S=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof h&&void 0!==h.env&&(void 0!==h.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==h.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==h.env.REACT_APP_SC_DISABLE_SPEEDY&&h.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==h.env.SC_DISABLE_SPEEDY&&""!==h.env.SC_DISABLE_SPEEDY&&("false"!==h.env.SC_DISABLE_SPEEDY&&h.env.SC_DISABLE_SPEEDY)));function E(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw new Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(n.length>0?" Args: "+n.join(", "):""))}var T=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,o=r;e>=o;)(o<<=1)<0&&E(16,""+e);this.groupSizes=new Uint32Array(o),this.groupSizes.set(n),this.length=o;for(var i=r;i<o;i++)this.groupSizes[i]=0}for(var a=this.indexOfGroup(e+1),s=0,l=t.length;s<l;s++)this.tag.insertRule(a,t[s])&&(this.groupSizes[e]++,a++)},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var o=n;o<r;o++)this.tag.deleteRule(n)}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),o=r+n,i=r;i<o;i++)t+=this.tag.getRule(i)+"/*!sc*/\n";return t},e}(),O=new Map,A=new Map,j=1,I=function(e){if(O.has(e))return O.get(e);for(;A.has(j);)j++;var t=j++;return O.set(e,t),A.set(t,e),t},P=function(e){return A.get(e)},N=function(e,t){t>=j&&(j=t+1),O.set(e,t),A.set(t,e)},R="style["+k+'][data-styled-version="5.3.11"]',Z=new RegExp("^"+k+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),L=function(e,t,n){for(var r,o=n.split(","),i=0,a=o.length;i<a;i++)(r=o[i])&&e.registerName(t,r)},D=function(e,t){for(var n=(t.textContent||"").split("/*!sc*/\n"),r=[],o=0,i=n.length;o<i;o++){var a=n[o].trim();if(a){var s=a.match(Z);if(s){var l=0|parseInt(s[1],10),u=s[2];0!==l&&(N(u,l),L(e,u,s[3]),e.getTag().insertRules(l,r)),r.length=0}else r.push(a)}}},F=function(){return n.nc},M=function(e){var t=document.head,n=e||t,r=document.createElement("style"),o=function(e){for(var t=e.childNodes,n=t.length;n>=0;n--){var r=t[n];if(r&&1===r.nodeType&&r.hasAttribute(k))return r}}(n),i=void 0!==o?o.nextSibling:null;r.setAttribute(k,"active"),r.setAttribute("data-styled-version","5.3.11");var a=F();return a&&r.setAttribute("nonce",a),n.insertBefore(r,i),r},z=function(){function e(e){var t=this.element=M(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var o=t[n];if(o.ownerNode===e)return o}E(17)}(t),this.length=0}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.getRule=function(e){var t=this.sheet.cssRules[e];return void 0!==t&&"string"==typeof t.cssText?t.cssText:""},e}(),B=function(){function e(e){var t=this.element=M(e);this.nodes=t.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t),r=this.nodes[e];return this.element.insertBefore(n,r||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),H=function(){function e(e){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),$=C,U={isServer:!C,useCSSOMInjection:!S},V=function(){function e(e,t,n){void 0===e&&(e=b),void 0===t&&(t={}),this.options=m({},U,{},e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&C&&$&&($=!1,function(e){for(var t=document.querySelectorAll(R),n=0,r=t.length;n<r;n++){var o=t[n];o&&"active"!==o.getAttribute(k)&&(D(e,o),o.parentNode&&o.parentNode.removeChild(o))}}(this))}e.registerId=function(e){return I(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(m({},this.options,{},t),this.gs,n&&this.names||void 0)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.getTag=function(){return this.tag||(this.tag=(n=(t=this.options).isServer,r=t.useCSSOMInjection,o=t.target,e=n?new H(o):r?new z(o):new B(o),new T(e)));var e,t,n,r,o},t.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.registerName=function(e,t){if(I(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},t.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(I(e),n)},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.clearRules=function(e){this.getTag().clearGroup(I(e)),this.clearNames(e)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(e){for(var t=e.getTag(),n=t.length,r="",o=0;o<n;o++){var i=P(o);if(void 0!==i){var a=e.names.get(i),s=t.getGroup(o);if(a&&s&&a.size){var l=k+".g"+o+'[id="'+i+'"]',u="";void 0!==a&&a.forEach((function(e){e.length>0&&(u+=e+",")})),r+=""+s+l+'{content:"'+u+'"}/*!sc*/\n'}}}return r}(this)},e}(),G=/(a)(d)/gi,W=function(e){return String.fromCharCode(e+(e>25?39:97))};function q(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=W(t%52)+n;return(W(t%52)+n).replace(G,"$1-$2")}var X=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},Y=function(e){return X(5381,e)};function K(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(x(n)&&!_(n))return!1}return!0}var Q=Y("5.3.11"),J=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&K(e),this.componentId=t,this.baseHash=X(Q,t),this.baseStyle=n,V.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.componentId,o=[];if(this.baseStyle&&o.push(this.baseStyle.generateAndInjectStyles(e,t,n)),this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(r,this.staticRulesId))o.push(this.staticRulesId);else{var i=ve(this.rules,e,t,n).join(""),a=q(X(this.baseHash,i)>>>0);if(!t.hasNameForId(r,a)){var s=n(i,"."+a,void 0,r);t.insertRules(r,a,s)}o.push(a),this.staticRulesId=a}else{for(var l=this.rules.length,u=X(this.baseHash,n.hash),c="",f=0;f<l;f++){var d=this.rules[f];if("string"==typeof d)c+=d;else if(d){var p=ve(d,e,t,n),h=Array.isArray(p)?p.join(""):p;u=X(u,h+f),c+=h}}if(c){var m=q(u>>>0);if(!t.hasNameForId(r,m)){var g=n(c,"."+m,void 0,r);t.insertRules(r,m,g)}o.push(m)}}return o.join(" ")},e}(),ee=/^\s*\/\/.*$/gm,te=[":","[",".","#"];function ne(e){var t,n,r,o,i=void 0===e?b:e,a=i.options,s=void 0===a?b:a,l=i.plugins,c=void 0===l?y:l,f=new u(s),d=[],p=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(n,r,o,i,a,s,l,u,c,f){switch(n){case 1:if(0===c&&64===r.charCodeAt(0))return e(r+";"),"";break;case 2:if(0===u)return r+"/*|*/";break;case 3:switch(u){case 102:case 112:return e(o[0]+r),"";default:return r+(0===f?"/*|*/":"")}case-2:r.split("/*|*/}").forEach(t)}}}((function(e){d.push(e)})),h=function(e,r,i){return 0===r&&-1!==te.indexOf(i[n.length])||i.match(o)?e:"."+t};function m(e,i,a,s){void 0===s&&(s="&");var l=e.replace(ee,""),u=i&&a?a+" "+i+" { "+l+" }":l;return t=s,n=i,r=new RegExp("\\"+n+"\\b","g"),o=new RegExp("(\\"+n+"\\b){2,}"),f(a||!i?"":i,u)}return f.use([].concat(c,[function(e,t,o){2===e&&o.length&&o[0].lastIndexOf(n)>0&&(o[0]=o[0].replace(r,h))},p,function(e){if(-2===e){var t=d;return d=[],t}}])),m.hash=c.length?c.reduce((function(e,t){return t.name||E(15),X(e,t.name)}),5381).toString():"",m}var re=r.createContext(),oe=(re.Consumer,r.createContext()),ie=(oe.Consumer,new V),ae=ne();function se(){return(0,r.useContext)(re)||ie}function le(){return(0,r.useContext)(oe)||ae}function ue(e){var t=(0,r.useState)(e.stylisPlugins),n=t[0],o=t[1],i=se(),a=(0,r.useMemo)((function(){var t=i;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target]),s=(0,r.useMemo)((function(){return ne({options:{prefix:!e.disableVendorPrefixes},plugins:n})}),[e.disableVendorPrefixes,n]);return(0,r.useEffect)((function(){l()(n,e.stylisPlugins)||o(e.stylisPlugins)}),[e.stylisPlugins]),r.createElement(re.Provider,{value:a},r.createElement(oe.Provider,{value:s},e.children))}var ce=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=ae);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.toString=function(){return E(12,String(n.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=ae),this.name+e.hash},e}(),fe=/([A-Z])/,de=/([A-Z])/g,pe=/^ms-/,he=function(e){return"-"+e.toLowerCase()};function me(e){return fe.test(e)?e.replace(de,he).replace(pe,"-ms-"):e}var ge=function(e){return null==e||!1===e||""===e};function ve(e,t,n,r){if(Array.isArray(e)){for(var o,i=[],a=0,s=e.length;a<s;a+=1)""!==(o=ve(e[a],t,n,r))&&(Array.isArray(o)?i.push.apply(i,o):i.push(o));return i}return ge(e)?"":_(e)?"."+e.styledComponentId:x(e)?"function"!=typeof(l=e)||l.prototype&&l.prototype.isReactComponent||!t?e:ve(e(t),t,n,r):e instanceof ce?n?(e.inject(n,r),e.getName(r)):e:v(e)?function e(t,n){var r,o,i=[];for(var a in t)t.hasOwnProperty(a)&&!ge(t[a])&&(Array.isArray(t[a])&&t[a].isCss||x(t[a])?i.push(me(a)+":",t[a],";"):v(t[a])?i.push.apply(i,e(t[a],a)):i.push(me(a)+": "+(r=a,(null==(o=t[a])||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||r in c.Z||r.startsWith("--")?String(o).trim():o+"px")+";")));return n?[n+" {"].concat(i,["}"]):i}(e):e.toString();var l}var ye=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function be(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return x(e)||v(e)?ye(ve(g(y,[e].concat(n)))):0===n.length&&1===e.length&&"string"==typeof e[0]?e:ye(ve(g(e,n)))}new Set;var xe=function(e,t,n){return void 0===n&&(n=b),e.theme!==n.theme&&e.theme||t||n.theme},we=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,_e=/(^-|-$)/g;function ke(e){return e.replace(we,"-").replace(_e,"")}var Ce=function(e){return q(Y(e)>>>0)};function Se(e){return"string"==typeof e&&!0}var Ee=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},Te=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function Oe(e,t,n){var r=e[n];Ee(t)&&Ee(r)?Ae(r,t):e[n]=t}function Ae(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(var o=0,i=n;o<i.length;o++){var a=i[o];if(Ee(a))for(var s in a)Te(s)&&Oe(e,a[s],s)}return e}var je=r.createContext();je.Consumer;var Ie={};function Pe(e,t,n){var o=_(e),i=!Se(e),a=t.attrs,s=void 0===a?y:a,l=t.componentId,u=void 0===l?function(e,t){var n="string"!=typeof e?"sc":ke(e);Ie[n]=(Ie[n]||0)+1;var r=n+"-"+Ce("5.3.11"+n+Ie[n]);return t?t+"-"+r:r}(t.displayName,t.parentComponentId):l,c=t.displayName,d=void 0===c?function(e){return Se(e)?"styled."+e:"Styled("+w(e)+")"}(e):c,h=t.displayName&&t.componentId?ke(t.displayName)+"-"+t.componentId:t.componentId||u,g=o&&e.attrs?Array.prototype.concat(e.attrs,s).filter(Boolean):s,v=t.shouldForwardProp;o&&e.shouldForwardProp&&(v=t.shouldForwardProp?function(n,r,o){return e.shouldForwardProp(n,r,o)&&t.shouldForwardProp(n,r,o)}:e.shouldForwardProp);var k,C=new J(n,h,o?e.componentStyle:void 0),S=C.isStatic&&0===s.length,E=function(e,t){return function(e,t,n,o){var i=e.attrs,a=e.componentStyle,s=e.defaultProps,l=e.foldedComponentIds,u=e.shouldForwardProp,c=e.styledComponentId,d=e.target,p=function(e,t,n){void 0===e&&(e=b);var r=m({},t,{theme:e}),o={};return n.forEach((function(e){var t,n,i,a=e;for(t in x(a)&&(a=a(r)),a)r[t]=o[t]="className"===t?(n=o[t],i=a[t],n&&i?n+" "+i:n||i):a[t]})),[r,o]}(xe(t,(0,r.useContext)(je),s)||b,t,i),h=p[0],g=p[1],v=function(e,t,n,r){var o=se(),i=le();return t?e.generateAndInjectStyles(b,o,i):e.generateAndInjectStyles(n,o,i)}(a,o,h),y=n,w=g.$as||t.$as||g.as||t.as||d,_=Se(w),k=g!==t?m({},t,{},g):t,C={};for(var S in k)"$"!==S[0]&&"as"!==S&&("forwardedAs"===S?C.as=k[S]:(u?u(S,f.Z,w):!_||(0,f.Z)(S))&&(C[S]=k[S]));return t.style&&g.style!==t.style&&(C.style=m({},t.style,{},g.style)),C.className=Array.prototype.concat(l,c,v!==c?v:null,t.className,g.className).filter(Boolean).join(" "),C.ref=y,(0,r.createElement)(w,C)}(k,e,t,S)};return E.displayName=d,(k=r.forwardRef(E)).attrs=g,k.componentStyle=C,k.displayName=d,k.shouldForwardProp=v,k.foldedComponentIds=o?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):y,k.styledComponentId=h,k.target=o?e.target:e,k.withComponent=function(e){var r=t.componentId,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(t,["componentId"]),i=r&&r+"-"+(Se(e)?e:ke(w(e)));return Pe(e,m({},o,{attrs:g,componentId:i}),n)},Object.defineProperty(k,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=o?Ae({},e.defaultProps,t):t}}),Object.defineProperty(k,"toString",{value:function(){return"."+k.styledComponentId}}),i&&p()(k,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),k}var Ne=function(e){return function e(t,n,r){if(void 0===r&&(r=b),!(0,a.isValidElementType)(n))return E(1,String(n));var o=function(){return t(n,r,be.apply(void 0,arguments))};return o.withConfig=function(o){return e(t,n,m({},r,{},o))},o.attrs=function(o){return e(t,n,m({},r,{attrs:Array.prototype.concat(r.attrs,o).filter(Boolean)}))},o}(Pe,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(e){Ne[e]=Ne(e)}));!function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=K(e),V.registerId(this.componentId+1)}var t=e.prototype;t.createStyles=function(e,t,n,r){var o=r(ve(this.rules,t,n,r).join(""),""),i=this.componentId+e;n.insertRules(i,i,o)},t.removeStyles=function(e,t){t.clearRules(this.componentId+e)},t.renderStyles=function(e,t,n,r){e>2&&V.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)}}();function Re(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=be.apply(void 0,[e].concat(n)).join(""),i=Ce(o);return new ce(i,o)}!function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var n=F();return"<style "+[n&&'nonce="'+n+'"',k+'="true"','data-styled-version="5.3.11"'].filter(Boolean).join(" ")+">"+t+"</style>"},this.getStyleTags=function(){return e.sealed?E(2):e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)return E(2);var n=((t={})[k]="",t["data-styled-version"]="5.3.11",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),o=F();return o&&(n.nonce=o),[r.createElement("style",m({},n,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new V({isServer:!0}),this.sealed=!1}var t=e.prototype;t.collectStyles=function(e){return this.sealed?E(2):r.createElement(ue,{sheet:this.instance},e)},t.interleaveWithNodeStream=function(e){return E(3)}}();var Ze,Le,De=Ne,Fe=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},Me=242.776657104492,ze=Re(Ze||(Ze=Fe(["\n  12.5% {\n    stroke-dasharray: ","px, ","px;\n    stroke-dashoffset: -","px;\n  }\n  43.75% {\n    stroke-dasharray: ","px, ","px;\n    stroke-dashoffset: -","px;\n  }\n  100% {\n    stroke-dasharray: ","px, ","px;\n    stroke-dashoffset: -","px;\n  }\n"],["\n  12.5% {\n    stroke-dasharray: ","px, ","px;\n    stroke-dashoffset: -","px;\n  }\n  43.75% {\n    stroke-dasharray: ","px, ","px;\n    stroke-dashoffset: -","px;\n  }\n  100% {\n    stroke-dasharray: ","px, ","px;\n    stroke-dashoffset: -","px;\n  }\n"])),.14*Me,Me,.11*Me,.35*Me,Me,.35*Me,.01*Me,Me,.99*Me),Be=(De.path(Le||(Le=Fe(["\n  stroke-dasharray: ","px, ",";\n  stroke-dashoffset: 0;\n  animation: "," ","s linear infinite;\n"],["\n  stroke-dasharray: ","px, ",";\n  stroke-dashoffset: 0;\n  animation: "," ","s linear infinite;\n"])),.01*Me,Me,ze,1.6),function(e){return{display:e?"flex":"none"}}),He=function(){return He=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},He.apply(this,arguments)},$e=function(e,t,n){var r=Math.max(e,t),o=-n-r/2+1,i=2*n+r;return[o,o,i,i].join(" ")},Ue=function(e){var t,n=e.height,a=void 0===n?80:n,s=e.width,l=void 0===s?80:s,u=e.color,c=void 0===u?o:u,f=e.secondaryColor,d=void 0===f?o:f,p=e.ariaLabel,h=void 0===p?"oval-loading":p,m=e.wrapperStyle,g=e.wrapperClass,v=e.visible,y=void 0===v||v,b=e.strokeWidth,x=void 0===b?2:b,w=e.strokeWidthSecondary;return r.createElement("div",He({style:He(He(He({},Be(y)),m),{padding:3}),className:g,"data-testid":"oval-loading","aria-label":h},i),r.createElement("svg",{width:l,height:a,viewBox:$e(Number(x),Number(w||x),20),xmlns:"http://www.w3.org/2000/svg",stroke:c,"data-testid":"oval-svg"},r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("g",{transform:"translate(1 1)",strokeWidth:Number(w||x),"data-testid":"oval-secondary-group"},r.createElement("circle",{strokeOpacity:".5",cx:"0",cy:"0",r:20,stroke:d,strokeWidth:x}),r.createElement("path",{d:(t=20,["M"+t+" 0c0-9.94-8.06",t,t,t].join("-"))},r.createElement("animateTransform",{attributeName:"transform",type:"rotate",from:"0 0 0",to:"360 0 0",dur:"1s",repeatCount:"indefinite"}))))))},Ve=function(e,t){return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if("undefined"!==typeof n[e])return n[e];if(e&&e.indexOf(".")>0){for(var r=e.split("."),o=r.length,i=n[r[0]],a=1;null!=i&&a<o;)i=i[r[a]],a+=1;if("undefined"!==typeof i)return i}return t}};var Ge,We,qe,Xe=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},Ye=Re(Ge||(Ge=Xe(["\n to {\n    transform: rotate(360deg);\n  }\n"],["\n to {\n    transform: rotate(360deg);\n  }\n"])));De.svg(We||(We=Xe(["\n  animation: "," 0.75s steps(12, end) infinite;\n  animation-duration: ","s;\n"],["\n  animation: "," 0.75s steps(12, end) infinite;\n  animation-duration: ","s;\n"])),Ye,Ve("speed","0.75")),De.polyline(qe||(qe=Xe(["\n  stroke-width: ","px;\n  stroke-linecap: round;\n\n  &:nth-child(12n + 0) {\n    stroke-opacity: 0.08;\n  }\n\n  &:nth-child(12n + 1) {\n    stroke-opacity: 0.17;\n  }\n\n  &:nth-child(12n + 2) {\n    stroke-opacity: 0.25;\n  }\n\n  &:nth-child(12n + 3) {\n    stroke-opacity: 0.33;\n  }\n\n  &:nth-child(12n + 4) {\n    stroke-opacity: 0.42;\n  }\n\n  &:nth-child(12n + 5) {\n    stroke-opacity: 0.5;\n  }\n\n  &:nth-child(12n + 6) {\n    stroke-opacity: 0.58;\n  }\n\n  &:nth-child(12n + 7) {\n    stroke-opacity: 0.66;\n  }\n\n  &:nth-child(12n + 8) {\n    stroke-opacity: 0.75;\n  }\n\n  &:nth-child(12n + 9) {\n    stroke-opacity: 0.83;\n  }\n\n  &:nth-child(12n + 11) {\n    stroke-opacity: 0.92;\n  }\n"],["\n  stroke-width: ","px;\n  stroke-linecap: round;\n\n  &:nth-child(12n + 0) {\n    stroke-opacity: 0.08;\n  }\n\n  &:nth-child(12n + 1) {\n    stroke-opacity: 0.17;\n  }\n\n  &:nth-child(12n + 2) {\n    stroke-opacity: 0.25;\n  }\n\n  &:nth-child(12n + 3) {\n    stroke-opacity: 0.33;\n  }\n\n  &:nth-child(12n + 4) {\n    stroke-opacity: 0.42;\n  }\n\n  &:nth-child(12n + 5) {\n    stroke-opacity: 0.5;\n  }\n\n  &:nth-child(12n + 6) {\n    stroke-opacity: 0.58;\n  }\n\n  &:nth-child(12n + 7) {\n    stroke-opacity: 0.66;\n  }\n\n  &:nth-child(12n + 8) {\n    stroke-opacity: 0.75;\n  }\n\n  &:nth-child(12n + 9) {\n    stroke-opacity: 0.83;\n  }\n\n  &:nth-child(12n + 11) {\n    stroke-opacity: 0.92;\n  }\n"])),(function(e){return e.width}));var Ke,Qe,Je,et=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},tt=Re(Ke||(Ke=et(["\n to {\n    stroke-dashoffset: 136;\n  }\n"],["\n to {\n    stroke-dashoffset: 136;\n  }\n"])));De.polygon(Qe||(Qe=et(["\n  stroke-dasharray: 17;\n  animation: "," 2.5s cubic-bezier(0.35, 0.04, 0.63, 0.95) infinite;\n"],["\n  stroke-dasharray: 17;\n  animation: "," 2.5s cubic-bezier(0.35, 0.04, 0.63, 0.95) infinite;\n"])),tt),De.svg(Je||(Je=et(["\n  transform-origin: 50% 65%;\n"],["\n  transform-origin: 50% 65%;\n"])))},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 o,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!==typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(67294)),a=(o=n(69590))&&o.__esModule?o:{default:o},s=n(85741),l=n(38045);function u(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return u=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 f(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 p(e,t){return p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},p(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=v(e);if(t){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return m(this,n)}}function m(e,t){return!t||"object"!==r(t)&&"function"!==typeof t?g(e):t}function g(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 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 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&&p(e,t)}(s,e);var t,n,r,o=h(s);function s(){var e;f(this,s);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return y(g(e=o.call.apply(o,[this].concat(n))),"mounted",!1),y(g(e),"isReady",!1),y(g(e),"isPlaying",!1),y(g(e),"isLoading",!0),y(g(e),"loadOnReady",null),y(g(e),"startOnPlay",!0),y(g(e),"seekOnPlay",null),y(g(e),"onDurationCalled",!1),y(g(e),"handlePlayerMount",(function(t){e.player||(e.player=t,e.player.load(e.props.url)),e.progress()})),y(g(e),"getInternalPlayer",(function(t){return e.player?e.player[t]:null})),y(g(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 o={playedSeconds:t,played:t/r};null!==n&&(o.loadedSeconds=n,o.loaded=n/r),o.playedSeconds===e.prevPlayed&&o.loadedSeconds===e.prevLoaded||e.props.onProgress(o),e.prevPlayed=o.playedSeconds,e.prevLoaded=o.loadedSeconds}}e.progressTimeout=setTimeout(e.progress,e.props.progressFrequency||e.props.progressInterval)})),y(g(e),"handleReady",(function(){if(e.mounted){e.isReady=!0,e.isLoading=!1;var t=e.props,n=t.onReady,r=t.playing,o=t.volume,i=t.muted;n(),i||null===o||e.player.setVolume(o),e.loadOnReady?(e.player.load(e.loadOnReady,!0),e.loadOnReady=null):r&&e.player.play(),e.handleDurationCheck()}})),y(g(e),"handlePlay",(function(){e.isPlaying=!0,e.isLoading=!1;var t=e.props,n=t.onStart,r=t.onPlay,o=t.playbackRate;e.startOnPlay&&(e.player.setPlaybackRate&&1!==o&&e.player.setPlaybackRate(o),n(),e.startOnPlay=!1),r(),e.seekOnPlay&&(e.seekTo(e.seekOnPlay),e.seekOnPlay=null),e.handleDurationCheck()})),y(g(e),"handlePause",(function(t){e.isPlaying=!1,e.isLoading||e.props.onPause(t)})),y(g(e),"handleEnded",(function(){var t=e.props,n=t.activePlayer,r=t.loop,o=t.onEnded;n.loopOnEnded&&r&&e.seekTo(0),r||(e.isPlaying=!1,o())})),y(g(e),"handleError",(function(){var t;e.isLoading=!1,(t=e.props).onError.apply(t,arguments)})),y(g(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(g(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()),this.mounted=!1}},{key:"componentDidUpdate",value:function(e){var t=this;if(this.player){var n=this.props,r=n.url,o=n.playing,i=n.volume,s=n.muted,u=n.playbackRate,c=n.pip,f=n.loop,d=n.activePlayer,p=n.disableDeferredLoading;if(!(0,a.default)(e.url,r)){if(this.isLoading&&!d.forceLoad&&!p&&!(0,l.isMediaStream)(r))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||!o||this.isPlaying||this.player.play(),e.playing&&!o&&this.isPlaying&&this.player.pause(),!e.pip&&c&&this.player.enablePIP&&this.player.enablePIP(),e.pip&&!c&&this.player.disablePIP&&this.player.disablePIP(),e.volume!==i&&null!==i&&this.player.setVolume(i),e.muted!==s&&(s?this.player.mute():(this.player.unmute(),null!==i&&setTimeout((function(){return t.player.setVolume(i)})))),e.playbackRate!==u&&this.player.setPlaybackRate&&this.player.setPlaybackRate(u),e.loop!==f&&this.player.setLoop&&this.player.setLoop(f)}}},{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){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)}else 0!==e&&(this.seekOnPlay=e,setTimeout((function(){n.seekOnPlay=null}),5e3))}},{key:"render",value:function(){var e=this.props.activePlayer;return e?i.default.createElement(e,c({},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}(i.Component);t.default=b,y(b,"displayName","Player"),y(b,"propTypes",s.propTypes),y(b,"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 o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!==typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var s=o?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 i(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return i=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 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 c(e,t){return c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},c(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=h(e);if(t){var o=h(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return d(this,n)}}function d(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 h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},h(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",v={},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&&c(e,t)}(a,e);var t,n,r,i=f(a);function a(){var e;l(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return m(p(e=i.call.apply(i,[this].concat(n))),"mounted",!1),m(p(e),"state",{image:null}),m(p(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,i=e.oEmbedUrl;if(!o.default.isValidElement(r))if("string"!==typeof r){if(!v[n])return this.setState({image:null}),window.fetch(i.replace("{url}",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").replace("-d_295x166","-d_640");t.setState({image:r}),v[n]=r}}));this.setState({image:v[n]})}else this.setState({image:r})}},{key:"render",value:function(){var e=this.props,t=e.light,n=e.onClick,r=e.playIcon,i=e.previewTabIndex,a=this.state.image,l=o.default.isValidElement(t),u={display:"flex",alignItems:"center",justifyContent:"center"},c={preview:s({width:"100%",height:"100%",backgroundImage:a&&!l?"url(".concat(a,")"):void 0,backgroundSize:"cover",backgroundPosition:"center",cursor:"pointer"},u),shadow:s({background:"radial-gradient(rgb(0, 0, 0, 0.3), rgba(0, 0, 0, 0) 60%)",borderRadius:g,width:g,height:g,position:l?"absolute":void 0},u),playIcon:{borderStyle:"solid",borderWidth:"16px 0 16px 26px",borderColor:"transparent transparent transparent white",marginLeft:"7px"}},f=o.default.createElement("div",{style:c.shadow,className:"react-player__shadow"},o.default.createElement("div",{style:c.playIcon,className:"react-player__play-icon"}));return o.default.createElement("div",{style:c.preview,className:"react-player__preview",onClick:n,tabIndex:i,onKeyPress:this.handleKeyPress},l?t:null,r||f)}}])&&u(t.prototype,n),r&&u(t,r),a}(o.Component);t.default=y},70390:function(e,t,n){"use strict";t.e=void 0;var r=E(n(67294)),o=c(n(9996)),i=c(n(30845)),a=c(n(69590)),s=n(85741),l=n(38045),u=c(n(60722));function c(e){return e&&e.__esModule?e:{default:e}}function f(e){return f="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(e)}function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){C(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}function h(){return h=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},h.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 v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(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 x(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=k(e);if(t){var o=k(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return w(this,n)}}function w(e,t){return!t||"object"!==f(t)&&"function"!==typeof t?_(e):t}function _(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k(e){return k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},k(e)}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 S(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return S=function(){return e},e}function E(e){if(e&&e.__esModule)return e;if(null===e||"object"!==f(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 o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}var T=(0,r.lazy)((function(){return Promise.resolve().then((function(){return E(n(83855))}))})),O="undefined"!==typeof window&&window.document,A="undefined"!==typeof n.g&&n.g.window&&n.g.window.document,j=Object.keys(s.propTypes),I=O||A?r.Suspense:function(){return null},P=[];t.e=function(e,t){var n,c;return c=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)}(w,n);var c,f,d,g=x(w);function w(){var n;v(this,w);for(var a=arguments.length,c=new Array(a),f=0;f<a;f++)c[f]=arguments[f];return C(_(n=g.call.apply(g,[this].concat(c))),"state",{showPreview:!!n.props.light}),C(_(n),"references",{wrapper:function(e){n.wrapper=e},player:function(e){n.player=e}}),C(_(n),"handleClickPreview",(function(e){n.setState({showPreview:!1}),n.props.onClickPreview(e)})),C(_(n),"showPreview",(function(){n.setState({showPreview:!0})})),C(_(n),"getDuration",(function(){return n.player?n.player.getDuration():null})),C(_(n),"getCurrentTime",(function(){return n.player?n.player.getCurrentTime():null})),C(_(n),"getSecondsLoaded",(function(){return n.player?n.player.getSecondsLoaded():null})),C(_(n),"getInternalPlayer",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"player";return n.player?n.player.getInternalPlayer(e):null})),C(_(n),"seekTo",(function(e,t){if(!n.player)return null;n.player.seekTo(e,t)})),C(_(n),"handleReady",(function(){n.props.onReady(_(n))})),C(_(n),"getActivePlayer",(0,i.default)((function(n){for(var r=0,o=[].concat(P,m(e));r<o.length;r++){var i=o[r];if(i.canPlay(n))return i}return t||null}))),C(_(n),"getConfig",(0,i.default)((function(e,t){var r=n.props.config;return o.default.all([s.defaultProps.config,s.defaultProps.config[t]||{},r,r[t]||{}])}))),C(_(n),"getAttributes",(0,i.default)((function(e){return(0,l.omit)(n.props,j)}))),C(_(n),"renderActivePlayer",(function(e){if(!e)return null;var t=n.getActivePlayer(e);if(!t)return null;var o=n.getConfig(e,t.key);return r.default.createElement(u.default,h({},n.props,{key:t.key,ref:n.references.player,config:o,activePlayer:t.lazyPlayer||t,onReady:n.handleReady}))})),n}return c=w,f=[{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,o=t.playIcon,i=t.previewTabIndex,a=t.oEmbedUrl;return r.default.createElement(T,{url:e,light:n,playIcon:o,previewTabIndex:i,oEmbedUrl:a,onClick:this.handleClickPreview})}},{key:"render",value:function(){var e=this.props,t=e.url,n=e.style,o=e.width,i=e.height,a=e.fallback,s=e.wrapper,l=this.state.showPreview,u=this.getAttributes(t),c="string"===typeof s?this.references.wrapper:void 0;return r.default.createElement(s,h({ref:c,style:p(p({},n),{},{width:o,height:i})},u),r.default.createElement(I,{fallback:a},l?this.renderPreview(t):this.renderActivePlayer(t)))}}],f&&y(c.prototype,f),d&&y(c,d),w}(r.Component),C(n,"displayName","ReactPlayer"),C(n,"propTypes",s.propTypes),C(n,"defaultProps",s.defaultProps),C(n,"addCustomPlayer",(function(e){P.push(e)})),C(n,"removeCustomPlayers",(function(){P.length=0})),C(n,"canPlay",(function(t){for(var n=0,r=[].concat(P,m(e));n<r.length;n++){if(r[n].canPlay(t))return!0}return!1})),C(n,"canEnablePIP",(function(t){for(var n=0,r=[].concat(P,m(e));n<r.length;n++){var o=r[n];if(o.canEnablePIP&&o.canEnablePIP(t))return!0}return!1})),c}},71776:function(e,t,n){"use strict";Object.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 o(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 i(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 i(e,t)}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}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,l=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw a}}}}function i(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=|shorts\/|live\/))((\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 l=/vimeo\.com\/(?!progressive_redirect).+/;t.MATCH_URL_VIMEO=l;var u=/^https?:\/\/(www\.)?facebook\.com.*\/(video(s)?|watch|story)(\.php?|\/).+$/;t.MATCH_URL_FACEBOOK=u;var c=/^https?:\/\/fb\.watch\/.+$/;t.MATCH_URL_FACEBOOK_WATCH=c;var f=/streamable\.com\/([a-z0-9]+)$/;t.MATCH_URL_STREAMABLE=f;var d=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?(.*)$/;t.MATCH_URL_WISTIA=d;var p=/(?:www\.|go\.)?twitch\.tv\/videos\/(\d+)($|\?)/;t.MATCH_URL_TWITCH_VIDEO=p;var h=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+)($|\?)/;t.MATCH_URL_TWITCH_CHANNEL=h;var m=/^(?:(?:https?):)?(?:\/\/)?(?:www\.)?(?:(?:dailymotion\.com(?:\/embed)?\/video)|dai\.ly)\/([a-zA-Z0-9]+)(?:_[\w_-]+)?(?:[\w.#_-]+)?/;t.MATCH_URL_DAILYMOTION=m;var g=/mixcloud\.com\/([^/]+\/[^/]+)/;t.MATCH_URL_MIXCLOUD=g;var v=/vidyard.com\/(?:watch\/)?([a-zA-Z0-9-_]+)/;t.MATCH_URL_VIDYARD=v;var y=/^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=y;var b=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i;t.AUDIO_EXTENSIONS=b;var x=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i;t.VIDEO_EXTENSIONS=x;var w=/\.(m3u8)($|\?)/i;t.HLS_EXTENSIONS=w;var _=/\.(mpd)($|\?)/i;t.DASH_EXTENSIONS=_;var k=/\.(flv)($|\?)/i;t.FLV_EXTENSIONS=k;var C={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 l.test(e)&&!x.test(e)&&!w.test(e)},facebook:function(e){return u.test(e)||c.test(e)},streamable:function(e){return f.test(e)},wistia:function(e){return d.test(e)},twitch:function(e){return p.test(e)||h.test(e)},dailymotion:function(e){return m.test(e)},mixcloud:function(e){return g.test(e)},vidyard:function(e){return v.test(e)},kaltura:function(e){return y.test(e)},file:function e(t){if(t instanceof Array){var n,i=o(t);try{for(i.s();!(n=i.n()).done;){var a=n.value;if("string"===typeof a&&e(a))return!0;if(e(a.src))return!0}}catch(s){i.e(s)}finally{i.f()}return!1}return!(!(0,r.isMediaStream)(t)&&!(0,r.isBlobUrl)(t))||(b.test(t)||x.test(t)||w.test(t)||_.test(t)||k.test(t))}};t.canPlay=C},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)}t.Z=void 0;var o=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={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(67294)),i=n(38045),a=n(71776);function s(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},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,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(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 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=m(e);if(t){var o=m(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function p(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 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 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=d(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 g(h(e=a.call.apply(a,[this].concat(n))),"callPlayer",i.callPlayer),g(h(e),"duration",null),g(h(e),"currentTime",null),g(h(e),"secondsLoaded",null),g(h(e),"mute",(function(){e.setMuted(!0)})),g(h(e),"unmute",(function(){e.setMuted(!1)})),g(h(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,i.getSDK)("https://player.vimeo.com/api/player.js","Vimeo").then((function(n){if(t.container){var r=t.props.config,o=r.playerOptions,i=r.title;t.player=new n.Player(t.container,function(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){g(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}({url:e,autoplay:t.props.playing,muted:t.props.muted,loop:t.props.loop,playsinline:t.props.playsinline,controls:t.props.controls},o)),t.player.ready().then((function(){var e=t.container.querySelector("iframe");e.style.width="100%",e.style.height="100%",i&&(e.title=i)})).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),t.player.on("playbackratechange",(function(e){return t.props.onPlaybackRateChange(e.playbackRate)}))}}),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:"setMuted",value:function(e){this.callPlayer("setMuted",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 o.default.createElement("div",{key:this.props.url,ref:this.ref,style:e})}}],n&&c(t.prototype,n),r&&c(t,r),s}(o.Component);t.Z=v,g(v,"displayName","Vimeo"),g(v,"canPlay",a.canPlay.vimeo),g(v,"forceLoad",!0)},85741:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultProps=t.propTypes=void 0;var r,o=(r=n(45697))&&r.__esModule?r:{default:r};var i=o.default.string,a=o.default.bool,s=o.default.number,l=o.default.array,u=o.default.oneOfType,c=o.default.shape,f=o.default.object,d=o.default.func,p=o.default.node,h={url:u([i,l,f]),playing:a,loop:a,controls:a,volume:s,muted:a,playbackRate:s,width:u([i,s]),height:u([i,s]),style:f,progressInterval:s,playsinline:a,pip:a,stopOnUnmount:a,light:u([a,i,f]),playIcon:p,previewTabIndex:s,fallback:p,oEmbedUrl:i,wrapper:u([i,d,c({render:d.isRequired})]),config:c({soundcloud:c({options:f}),youtube:c({playerVars:f,embedOptions:f,onUnstarted:d}),facebook:c({appId:i,version:i,playerId:i,attributes:f}),dailymotion:c({params:f}),vimeo:c({playerOptions:f,title:i}),file:c({attributes:f,tracks:l,forceVideo:a,forceAudio:a,forceHLS:a,forceSafariHLS:a,forceDASH:a,forceFLV:a,hlsOptions:f,hlsVersion:i,dashVersion:i,flvVersion:i}),wistia:c({options:f,playerId:i,customControls:l}),mixcloud:c({options:f}),twitch:c({options:f,playerId:i}),vidyard:c({options:f})}),onReady:d,onStart:d,onPlay:d,onPause:d,onBuffer:d,onBufferEnd:d,onEnded:d,onError:d,onDuration:d,onSeek:d,onPlaybackRateChange:d,onProgress:d,onClickPreview:d,onEnablePIP:d,onDisablePIP:d};t.propTypes=h;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,oEmbedUrl:"https://noembed.com/embed?url={url}",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},title:null},file:{attributes:{},tracks:[],forceVideo:!1,forceAudio:!1,forceHLS:!1,forceDASH:!1,forceFLV:!1,hlsOptions:{},hlsVersion:"1.1.4",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,onPlaybackRateChange: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 d(e,l)},t.parseEndTime=function(e){return d(e,u)},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,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){return!0},i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:r.default,a=p(t);if(a&&o(a))return Promise.resolve(a);return new Promise((function(r,o){if(h[e])h[e].push({resolve:r,reject:o});else{h[e]=[{resolve:r,reject:o}];var a=function(t){h[e].forEach((function(e){return e.resolve(t)}))};if(n){var s=window[n];window[n]=function(){s&&s(),a(p(t))}}i(e,(function(r){r?(h[e].forEach((function(e){return e.reject(r)})),h[e]=null):n||a(p(t))}))}}))},t.getConfig=function(e,t){return(0,o.default)(t.config,e.config)},t.omit=function(e){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];for(var i=(t=[]).concat.apply(t,r),a={},s=Object.keys(e),l=0,u=s;l<u.length;l++){var c=u[l];-1===i.indexOf(c)&&(a[c]=e[c])}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,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return(t=this.player)[e].apply(t,o)},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=i(n(49090)),o=i(n(9996));function i(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,o=!1,i=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(l){o=!0,i=l}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}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)}(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 l=/[?&#](?:start|t)=([0-9hms]+)/,u=/[?&#]end=([0-9hms]+)/,c=/(\d+)(h|m|s)/g,f=/^\d+$/;function d(e,t){if(!(e instanceof Array)){var n=e.match(t);if(n){var r=n[1];if(r.match(c))return function(e){var t=0,n=c.exec(e);for(;null!==n;){var r=a(n,3),o=r[1],i=r[2];"h"===i&&(t+=60*parseInt(o,10)*60),"m"===i&&(t+=60*parseInt(o,10)),"s"===i&&(t+=parseInt(o,10)),n=c.exec(e)}return t}(r);if(f.test(r))return parseInt(r)}}}function p(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 h={}},40712:function(e,t,n){var r=n(70390).e,o=n(80868).Z;e.exports=r([{key:"vimeo",canPlay:o.canPlay,lazyPlayer:o}])},8662:function(e,t,n){"use strict";n.d(t,{ZP:function(){return g}});var r=n(63366),o=n(75068),i=n(67294),a=n(73935),s=!1,l=n(220),u="unmounted",c="exited",f="entering",d="entered",p="exiting",h=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o,i=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?i?(o=c,r.appearStatus=f):o=d:o=t.unmountOnExit||t.mountOnEnter?u:c,r.state={status:o},r.nextCallback=null,r}(0,o.Z)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===u?{status:c}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==f&&n!==d&&(t=f):n!==f&&n!==d||(t=p)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!==typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===f){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:a.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===c&&this.setState({status:u})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[a.findDOMNode(this),r],i=o[0],l=o[1],u=this.getTimeouts(),c=r?u.appear:u.enter;!e&&!n||s?this.safeSetState({status:d},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,l),this.safeSetState({status:f},(function(){t.props.onEntering(i,l),t.onTransitionEnd(c,(function(){t.safeSetState({status:d},(function(){t.props.onEntered(i,l)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:a.findDOMNode(this);t&&!s?(this.props.onExit(r),this.safeSetState({status:p},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:c},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:c},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:a.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=o[0],s=o[1];this.props.addEndListener(i,s)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===u)return null;var t=this.props,n=t.children,o=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,r.Z)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return i.createElement(l.Z.Provider,{value:null},"function"===typeof n?n(e,o):i.cloneElement(i.Children.only(n),o))},t}(i.Component);function m(){}h.contextType=l.Z,h.propTypes={},h.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:m,onEntering:m,onEntered:m,onExit:m,onExiting:m,onExited:m},h.UNMOUNTED=u,h.EXITED=c,h.ENTERING=f,h.ENTERED=d,h.EXITING=p;var g=h},220:function(e,t,n){"use strict";var r=n(67294);t.Z=r.createContext(null)},96774:function(e){e.exports=function(e,t,n,r){var o=n?n.call(r,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!==typeof e||!e||"object"!==typeof t||!t)return!1;var i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;l<i.length;l++){var u=i[l];if(!s(u))return!1;var c=e[u],f=t[u];if(!1===(o=n?n.call(r,c,f,u):void 0)||void 0===o&&c!==f)return!1}return!0}},57848:function(e,t,n){var r=n(18139);e.exports=function(e,t){var n,o=null;if(!e||"string"!==typeof e)return o;for(var i,a,s=r(e),l="function"===typeof t,u=0,c=s.length;u<c;u++)i=(n=s[u]).property,a=n.value,l?t(i,a,n):a&&(o||(o={}),o[i]=a);return o}},94633:function(e){function t(e,t){var n=e.length,r=new Array(n),o={},i=n,a=function(e){for(var t=new Map,n=0,r=e.length;n<r;n++){var o=e[n];t.has(o[0])||t.set(o[0],new Set),t.has(o[1])||t.set(o[1],new Set),t.get(o[0]).add(o[1])}return t}(t),s=function(e){for(var t=new Map,n=0,r=e.length;n<r;n++)t.set(e[n],n);return t}(e);for(t.forEach((function(e){if(!s.has(e[0])||!s.has(e[1]))throw new Error("Unknown node. There is an unknown node in the supplied edges.")}));i--;)o[i]||l(e[i],i,new Set);return r;function l(e,t,i){if(i.has(e)){var u;try{u=", node was:"+JSON.stringify(e)}catch(d){u=""}throw new Error("Cyclic dependency"+u)}if(!s.has(e))throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(e));if(!o[t]){o[t]=!0;var c=a.get(e)||new Set;if(t=(c=Array.from(c)).length){i.add(e);do{var f=c[--t];l(f,s.get(f),i)}while(t);i.delete(e)}r[--n]=e}}}e.exports=function(e){return t(function(e){for(var t=new Set,n=0,r=e.length;n<r;n++){var o=e[n];t.add(o[0]),t.add(o[1])}return Array.from(t)}(e),e)},e.exports.array=t},73469:function(e){e.exports=function(e){return null!=e&&null!=e.constructor&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},70529:function(e){e.exports=function(e){return null!=e&&null!=e.constructor&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},74231:function(e,t,n){"use strict";var r,o;n.d(t,{O7:function(){return U},Rx:function(){return J},Ry:function(){return be},Z_:function(){return K}});try{r=Map}catch(xe){}try{o=Set}catch(xe){}function i(e,t,n){if(!e||"object"!==typeof e||"function"===typeof e)return e;if(e.nodeType&&"cloneNode"in e)return e.cloneNode(!0);if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp)return new RegExp(e);if(Array.isArray(e))return e.map(a);if(r&&e instanceof r)return new Map(Array.from(e.entries()));if(o&&e instanceof o)return new Set(Array.from(e.values()));if(e instanceof Object){t.push(e);var s=Object.create(e);for(var l in n.push(s),e){var u=t.findIndex((function(t){return t===e[l]}));s[l]=u>-1?n[u]:i(e[l],t,n)}return s}return e}function a(e){return i(e,[],[])}const s=Object.prototype.toString,l=Error.prototype.toString,u=RegExp.prototype.toString,c="undefined"!==typeof Symbol?Symbol.prototype.toString:()=>"",f=/^Symbol\((.*)\)(.*)$/;function d(e,t=!1){if(null==e||!0===e||!1===e)return""+e;const n=typeof e;if("number"===n)return function(e){return e!=+e?"NaN":0===e&&1/e<0?"-0":""+e}(e);if("string"===n)return t?`"${e}"`:e;if("function"===n)return"[Function "+(e.name||"anonymous")+"]";if("symbol"===n)return c.call(e).replace(f,"Symbol($1)");const r=s.call(e).slice(8,-1);return"Date"===r?isNaN(e.getTime())?""+e:e.toISOString(e):"Error"===r||e instanceof Error?"["+l.call(e)+"]":"RegExp"===r?u.call(e):null}function p(e,t){let n=d(e,t);return null!==n?n:JSON.stringify(e,(function(e,n){let r=d(this[e],t);return null!==r?r:n}),2)}let h={default:"${path} is invalid",required:"${path} is a required field",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:({path:e,type:t,value:n,originalValue:r})=>{let o=null!=r&&r!==n,i=`${e} must be a \`${t}\` type, but the final value was: \`${p(n,!0)}\``+(o?` (cast from the value \`${p(r,!0)}\`).`:".");return null===n&&(i+='\n If "null" is intended as an empty value be sure to mark the schema as `.nullable()`'),i},defined:"${path} must be defined"},m={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},g={min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},v={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},y={isValue:"${path} field must be ${value}"},b={noUnknown:"${path} field has unspecified keys: ${unknown}"},x={min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items",length:"${path} must have ${length} items"};Object.assign(Object.create(null),{mixed:h,string:m,number:g,date:v,object:b,array:x,boolean:y});var w=n(18721),_=n.n(w);var k=e=>e&&e.__isYupSchema__;var C=class{constructor(e,t){if(this.fn=void 0,this.refs=e,this.refs=e,"function"===typeof t)return void(this.fn=t);if(!_()(t,"is"))throw new TypeError("`is:` is required for `when()` conditions");if(!t.then&&!t.otherwise)throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");let{is:n,then:r,otherwise:o}=t,i="function"===typeof n?n:(...e)=>e.every((e=>e===n));this.fn=function(...e){let t=e.pop(),n=e.pop(),a=i(...e)?r:o;if(a)return"function"===typeof a?a(n):n.concat(a.resolve(t))}}resolve(e,t){let n=this.refs.map((e=>e.getValue(null==t?void 0:t.value,null==t?void 0:t.parent,null==t?void 0:t.context))),r=this.fn.apply(e,n.concat(e,t));if(void 0===r||r===e)return e;if(!k(r))throw new TypeError("conditions must return a schema object");return r.resolve(t)}};function S(e){return null==e?[]:[].concat(e)}function E(){return E=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},E.apply(this,arguments)}let T=/\$\{\s*(\w+)\s*\}/g;class O extends Error{static formatError(e,t){const n=t.label||t.path||"this";return n!==t.path&&(t=E({},t,{path:n})),"string"===typeof e?e.replace(T,((e,n)=>p(t[n]))):"function"===typeof e?e(t):e}static isError(e){return e&&"ValidationError"===e.name}constructor(e,t,n,r){super(),this.value=void 0,this.path=void 0,this.type=void 0,this.errors=void 0,this.params=void 0,this.inner=void 0,this.name="ValidationError",this.value=t,this.path=n,this.type=r,this.errors=[],this.inner=[],S(e).forEach((e=>{O.isError(e)?(this.errors.push(...e.errors),this.inner=this.inner.concat(e.inner.length?e.inner:e)):this.errors.push(e)})),this.message=this.errors.length>1?`${this.errors.length} errors occurred`:this.errors[0],Error.captureStackTrace&&Error.captureStackTrace(this,O)}}function A(e,t){let{endEarly:n,tests:r,args:o,value:i,errors:a,sort:s,path:l}=e,u=(e=>{let t=!1;return(...n)=>{t||(t=!0,e(...n))}})(t),c=r.length;const f=[];if(a=a||[],!c)return a.length?u(new O(a,i,l)):u(null,i);for(let d=0;d<r.length;d++){(0,r[d])(o,(function(e){if(e){if(!O.isError(e))return u(e,i);if(n)return e.value=i,u(e,i);f.push(e)}if(--c<=0){if(f.length&&(s&&f.sort(s),a.length&&f.push(...a),a=f),a.length)return void u(new O(a,i,l),i);u(null,i)}}))}}var j=n(66604),I=n.n(j),P=n(55760);const N="$",R=".";class Z{constructor(e,t={}){if(this.key=void 0,this.isContext=void 0,this.isValue=void 0,this.isSibling=void 0,this.path=void 0,this.getter=void 0,this.map=void 0,"string"!==typeof e)throw new TypeError("ref must be a string, got: "+e);if(this.key=e.trim(),""===e)throw new TypeError("ref must be a non-empty string");this.isContext=this.key[0]===N,this.isValue=this.key[0]===R,this.isSibling=!this.isContext&&!this.isValue;let n=this.isContext?N:this.isValue?R:"";this.path=this.key.slice(n.length),this.getter=this.path&&(0,P.getter)(this.path,!0),this.map=t.map}getValue(e,t,n){let r=this.isContext?n:this.isValue?e:t;return this.getter&&(r=this.getter(r||{})),this.map&&(r=this.map(r)),r}cast(e,t){return this.getValue(e,null==t?void 0:t.parent,null==t?void 0:t.context)}resolve(){return this}describe(){return{type:"ref",key:this.key}}toString(){return`Ref(${this.key})`}static isRef(e){return e&&e.__isYupRef}}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 D(e){function t(t,n){let{value:r,path:o="",label:i,options:a,originalValue:s,sync:l}=t,u=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(t,["value","path","label","options","originalValue","sync"]);const{name:c,test:f,params:d,message:p}=e;let{parent:h,context:m}=a;function g(e){return Z.isRef(e)?e.getValue(r,h,m):e}function v(e={}){const t=I()(L({value:r,originalValue:s,label:i,path:e.path||o},d,e.params),g),n=new O(O.formatError(e.message||p,t),r,t.path,e.type||c);return n.params=t,n}let y,b=L({path:o,parent:h,type:c,createError:v,resolve:g,options:a,originalValue:s},u);if(l){try{var x;if(y=f.call(b,r,b),"function"===typeof(null==(x=y)?void 0:x.then))throw new Error(`Validation test of type: "${b.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`)}catch(w){return void n(w)}O.isError(y)?n(y):y?n(null,y):n(v())}else try{Promise.resolve(f.call(b,r,b)).then((e=>{O.isError(e)?n(e):e?n(null,e):n(v())})).catch(n)}catch(w){n(w)}}return t.OPTIONS=e,t}Z.prototype.__isYupRef=!0;function F(e,t,n,r=n){let o,i,a;return t?((0,P.forEach)(t,((s,l,u)=>{let c=l?(e=>e.substr(0,e.length-1).substr(1))(s):s;if((e=e.resolve({context:r,parent:o,value:n})).innerType){let r=u?parseInt(c,10):0;if(n&&r>=n.length)throw new Error(`Yup.reach cannot resolve an array item at index: ${s}, in the path: ${t}. because there is no value at that index. `);o=n,n=n&&n[r],e=e.innerType}if(!u){if(!e.fields||!e.fields[c])throw new Error(`The schema does not contain the path: ${t}. (failed at: ${a} which is a type: "${e._type}")`);o=n,n=n&&n[c],e=e.fields[c]}i=c,a=l?"["+s+"]":"."+s})),{schema:e,parent:o,parentPath:i}):{parent:o,parentPath:t,schema:e}}class M{constructor(){this.list=void 0,this.refs=void 0,this.list=new Set,this.refs=new Map}get size(){return this.list.size+this.refs.size}describe(){const e=[];for(const t of this.list)e.push(t);for(const[,t]of this.refs)e.push(t.describe());return e}toArray(){return Array.from(this.list).concat(Array.from(this.refs.values()))}resolveAll(e){return this.toArray().reduce(((t,n)=>t.concat(Z.isRef(n)?e(n):n)),[])}add(e){Z.isRef(e)?this.refs.set(e.key,e):this.list.add(e)}delete(e){Z.isRef(e)?this.refs.delete(e.key):this.list.delete(e)}clone(){const e=new M;return e.list=new Set(this.list),e.refs=new Map(this.refs),e}merge(e,t){const n=this.clone();return e.list.forEach((e=>n.add(e))),e.refs.forEach((e=>n.add(e))),t.list.forEach((e=>n.delete(e))),t.refs.forEach((e=>n.delete(e))),n}}function z(){return z=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},z.apply(this,arguments)}class B{constructor(e){this.deps=[],this.tests=void 0,this.transforms=void 0,this.conditions=[],this._mutate=void 0,this._typeError=void 0,this._whitelist=new M,this._blacklist=new M,this.exclusiveTests=Object.create(null),this.spec=void 0,this.tests=[],this.transforms=[],this.withMutation((()=>{this.typeError(h.notType)})),this.type=(null==e?void 0:e.type)||"mixed",this.spec=z({strip:!1,strict:!1,abortEarly:!0,recursive:!0,nullable:!1,presence:"optional"},null==e?void 0:e.spec)}get _type(){return this.type}_typeCheck(e){return!0}clone(e){if(this._mutate)return e&&Object.assign(this.spec,e),this;const t=Object.create(Object.getPrototypeOf(this));return t.type=this.type,t._typeError=this._typeError,t._whitelistError=this._whitelistError,t._blacklistError=this._blacklistError,t._whitelist=this._whitelist.clone(),t._blacklist=this._blacklist.clone(),t.exclusiveTests=z({},this.exclusiveTests),t.deps=[...this.deps],t.conditions=[...this.conditions],t.tests=[...this.tests],t.transforms=[...this.transforms],t.spec=a(z({},this.spec,e)),t}label(e){let t=this.clone();return t.spec.label=e,t}meta(...e){if(0===e.length)return this.spec.meta;let t=this.clone();return t.spec.meta=Object.assign(t.spec.meta||{},e[0]),t}withMutation(e){let t=this._mutate;this._mutate=!0;let n=e(this);return this._mutate=t,n}concat(e){if(!e||e===this)return this;if(e.type!==this.type&&"mixed"!==this.type)throw new TypeError(`You cannot \`concat()\` schema's of different types: ${this.type} and ${e.type}`);let t=this,n=e.clone();const r=z({},t.spec,n.spec);return n.spec=r,n._typeError||(n._typeError=t._typeError),n._whitelistError||(n._whitelistError=t._whitelistError),n._blacklistError||(n._blacklistError=t._blacklistError),n._whitelist=t._whitelist.merge(e._whitelist,e._blacklist),n._blacklist=t._blacklist.merge(e._blacklist,e._whitelist),n.tests=t.tests,n.exclusiveTests=t.exclusiveTests,n.withMutation((t=>{e.tests.forEach((e=>{t.test(e.OPTIONS)}))})),n.transforms=[...t.transforms,...n.transforms],n}isType(e){return!(!this.spec.nullable||null!==e)||this._typeCheck(e)}resolve(e){let t=this;if(t.conditions.length){let n=t.conditions;t=t.clone(),t.conditions=[],t=n.reduce(((t,n)=>n.resolve(t,e)),t),t=t.resolve(e)}return t}cast(e,t={}){let n=this.resolve(z({value:e},t)),r=n._cast(e,t);if(void 0!==e&&!1!==t.assert&&!0!==n.isType(r)){let o=p(e),i=p(r);throw new TypeError(`The value of ${t.path||"field"} could not be cast to a value that satisfies the schema type: "${n._type}". \n\nattempted value: ${o} \n`+(i!==o?`result of cast: ${i}`:""))}return r}_cast(e,t){let n=void 0===e?e:this.transforms.reduce(((t,n)=>n.call(this,t,e,this)),e);return void 0===n&&(n=this.getDefault()),n}_validate(e,t={},n){let{sync:r,path:o,from:i=[],originalValue:a=e,strict:s=this.spec.strict,abortEarly:l=this.spec.abortEarly}=t,u=e;s||(u=this._cast(u,z({assert:!1},t)));let c={value:u,path:o,options:t,originalValue:a,schema:this,label:this.spec.label,sync:r,from:i},f=[];this._typeError&&f.push(this._typeError);let d=[];this._whitelistError&&d.push(this._whitelistError),this._blacklistError&&d.push(this._blacklistError),A({args:c,value:u,path:o,sync:r,tests:f,endEarly:l},(e=>{e?n(e,u):A({tests:this.tests.concat(d),args:c,path:o,sync:r,value:u,endEarly:l},n)}))}validate(e,t,n){let r=this.resolve(z({},t,{value:e}));return"function"===typeof n?r._validate(e,t,n):new Promise(((n,o)=>r._validate(e,t,((e,t)=>{e?o(e):n(t)}))))}validateSync(e,t){let n;return this.resolve(z({},t,{value:e}))._validate(e,z({},t,{sync:!0}),((e,t)=>{if(e)throw e;n=t})),n}isValid(e,t){return this.validate(e,t).then((()=>!0),(e=>{if(O.isError(e))return!1;throw e}))}isValidSync(e,t){try{return this.validateSync(e,t),!0}catch(n){if(O.isError(n))return!1;throw n}}_getDefault(){let e=this.spec.default;return null==e?e:"function"===typeof e?e.call(this):a(e)}getDefault(e){return this.resolve(e||{})._getDefault()}default(e){if(0===arguments.length)return this._getDefault();return this.clone({default:e})}strict(e=!0){let t=this.clone();return t.spec.strict=e,t}_isPresent(e){return null!=e}defined(e=h.defined){return this.test({message:e,name:"defined",exclusive:!0,test:e=>void 0!==e})}required(e=h.required){return this.clone({presence:"required"}).withMutation((t=>t.test({message:e,name:"required",exclusive:!0,test(e){return this.schema._isPresent(e)}})))}notRequired(){let e=this.clone({presence:"optional"});return e.tests=e.tests.filter((e=>"required"!==e.OPTIONS.name)),e}nullable(e=!0){return this.clone({nullable:!1!==e})}transform(e){let t=this.clone();return t.transforms.push(e),t}test(...e){let t;if(t=1===e.length?"function"===typeof e[0]?{test:e[0]}:e[0]:2===e.length?{name:e[0],test:e[1]}:{name:e[0],message:e[1],test:e[2]},void 0===t.message&&(t.message=h.default),"function"!==typeof t.test)throw new TypeError("`test` is a required parameters");let n=this.clone(),r=D(t),o=t.exclusive||t.name&&!0===n.exclusiveTests[t.name];if(t.exclusive&&!t.name)throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");return t.name&&(n.exclusiveTests[t.name]=!!t.exclusive),n.tests=n.tests.filter((e=>{if(e.OPTIONS.name===t.name){if(o)return!1;if(e.OPTIONS.test===r.OPTIONS.test)return!1}return!0})),n.tests.push(r),n}when(e,t){Array.isArray(e)||"string"===typeof e||(t=e,e=".");let n=this.clone(),r=S(e).map((e=>new Z(e)));return r.forEach((e=>{e.isSibling&&n.deps.push(e.key)})),n.conditions.push(new C(r,t)),n}typeError(e){let t=this.clone();return t._typeError=D({message:e,name:"typeError",test(e){return!(void 0!==e&&!this.schema.isType(e))||this.createError({params:{type:this.schema._type}})}}),t}oneOf(e,t=h.oneOf){let n=this.clone();return e.forEach((e=>{n._whitelist.add(e),n._blacklist.delete(e)})),n._whitelistError=D({message:t,name:"oneOf",test(e){if(void 0===e)return!0;let t=this.schema._whitelist,n=t.resolveAll(this.resolve);return!!n.includes(e)||this.createError({params:{values:t.toArray().join(", "),resolved:n}})}}),n}notOneOf(e,t=h.notOneOf){let n=this.clone();return e.forEach((e=>{n._blacklist.add(e),n._whitelist.delete(e)})),n._blacklistError=D({message:t,name:"notOneOf",test(e){let t=this.schema._blacklist,n=t.resolveAll(this.resolve);return!n.includes(e)||this.createError({params:{values:t.toArray().join(", "),resolved:n}})}}),n}strip(e=!0){let t=this.clone();return t.spec.strip=e,t}describe(){const e=this.clone(),{label:t,meta:n}=e.spec;return{meta:n,label:t,type:e.type,oneOf:e._whitelist.describe(),notOneOf:e._blacklist.describe(),tests:e.tests.map((e=>({name:e.OPTIONS.name,params:e.OPTIONS.params}))).filter(((e,t,n)=>n.findIndex((t=>t.name===e.name))===t))}}}B.prototype.__isYupSchema__=!0;for(const we of["validate","validateSync"])B.prototype[`${we}At`]=function(e,t,n={}){const{parent:r,parentPath:o,schema:i}=F(this,e,t,n.context);return i[we](r&&r[o],z({},n,{parent:r,path:e}))};for(const we of["equals","is"])B.prototype[we]=B.prototype.oneOf;for(const we of["not","nope"])B.prototype[we]=B.prototype.notOneOf;B.prototype.optional=B.prototype.notRequired;const H=B;H.prototype;var $=e=>null==e;function U(){return new V}class V extends B{constructor(){super({type:"boolean"}),this.withMutation((()=>{this.transform((function(e){if(!this.isType(e)){if(/^(true|1)$/i.test(String(e)))return!0;if(/^(false|0)$/i.test(String(e)))return!1}return e}))}))}_typeCheck(e){return e instanceof Boolean&&(e=e.valueOf()),"boolean"===typeof e}isTrue(e=y.isValue){return this.test({message:e,name:"is-value",exclusive:!0,params:{value:"true"},test:e=>$(e)||!0===e})}isFalse(e=y.isValue){return this.test({message:e,name:"is-value",exclusive:!0,params:{value:"false"},test:e=>$(e)||!1===e})}}U.prototype=V.prototype;let G=/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i,W=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,q=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,X=e=>$(e)||e===e.trim(),Y={}.toString();function K(){return new Q}class Q extends B{constructor(){super({type:"string"}),this.withMutation((()=>{this.transform((function(e){if(this.isType(e))return e;if(Array.isArray(e))return e;const t=null!=e&&e.toString?e.toString():e;return t===Y?e:t}))}))}_typeCheck(e){return e instanceof String&&(e=e.valueOf()),"string"===typeof e}_isPresent(e){return super._isPresent(e)&&!!e.length}length(e,t=m.length){return this.test({message:t,name:"length",exclusive:!0,params:{length:e},test(t){return $(t)||t.length===this.resolve(e)}})}min(e,t=m.min){return this.test({message:t,name:"min",exclusive:!0,params:{min:e},test(t){return $(t)||t.length>=this.resolve(e)}})}max(e,t=m.max){return this.test({name:"max",exclusive:!0,message:t,params:{max:e},test(t){return $(t)||t.length<=this.resolve(e)}})}matches(e,t){let n,r,o=!1;return t&&("object"===typeof t?({excludeEmptyString:o=!1,message:n,name:r}=t):n=t),this.test({name:r||"matches",message:n||m.matches,params:{regex:e},test:t=>$(t)||""===t&&o||-1!==t.search(e)})}email(e=m.email){return this.matches(G,{name:"email",message:e,excludeEmptyString:!0})}url(e=m.url){return this.matches(W,{name:"url",message:e,excludeEmptyString:!0})}uuid(e=m.uuid){return this.matches(q,{name:"uuid",message:e,excludeEmptyString:!1})}ensure(){return this.default("").transform((e=>null===e?"":e))}trim(e=m.trim){return this.transform((e=>null!=e?e.trim():e)).test({message:e,name:"trim",test:X})}lowercase(e=m.lowercase){return this.transform((e=>$(e)?e:e.toLowerCase())).test({message:e,name:"string_case",exclusive:!0,test:e=>$(e)||e===e.toLowerCase()})}uppercase(e=m.uppercase){return this.transform((e=>$(e)?e:e.toUpperCase())).test({message:e,name:"string_case",exclusive:!0,test:e=>$(e)||e===e.toUpperCase()})}}K.prototype=Q.prototype;function J(){return new ee}class ee extends B{constructor(){super({type:"number"}),this.withMutation((()=>{this.transform((function(e){let t=e;if("string"===typeof t){if(t=t.replace(/\s/g,""),""===t)return NaN;t=+t}return this.isType(t)?t:parseFloat(t)}))}))}_typeCheck(e){return e instanceof Number&&(e=e.valueOf()),"number"===typeof e&&!(e=>e!=+e)(e)}min(e,t=g.min){return this.test({message:t,name:"min",exclusive:!0,params:{min:e},test(t){return $(t)||t>=this.resolve(e)}})}max(e,t=g.max){return this.test({message:t,name:"max",exclusive:!0,params:{max:e},test(t){return $(t)||t<=this.resolve(e)}})}lessThan(e,t=g.lessThan){return this.test({message:t,name:"max",exclusive:!0,params:{less:e},test(t){return $(t)||t<this.resolve(e)}})}moreThan(e,t=g.moreThan){return this.test({message:t,name:"min",exclusive:!0,params:{more:e},test(t){return $(t)||t>this.resolve(e)}})}positive(e=g.positive){return this.moreThan(0,e)}negative(e=g.negative){return this.lessThan(0,e)}integer(e=g.integer){return this.test({name:"integer",message:e,test:e=>$(e)||Number.isInteger(e)})}truncate(){return this.transform((e=>$(e)?e:0|e))}round(e){var t;let n=["ceil","floor","round","trunc"];if("trunc"===(e=(null==(t=e)?void 0:t.toLowerCase())||"round"))return this.truncate();if(-1===n.indexOf(e.toLowerCase()))throw new TypeError("Only valid options for round() are: "+n.join(", "));return this.transform((t=>$(t)?t:Math[e](t)))}}J.prototype=ee.prototype;var te=/^(\d{4}|[+\-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,\.](\d{1,}))?)?(?:(Z)|([+\-])(\d{2})(?::?(\d{2}))?)?)?$/;let ne=new Date("");function re(){return new oe}class oe extends B{constructor(){super({type:"date"}),this.withMutation((()=>{this.transform((function(e){return this.isType(e)?e:(e=function(e){var t,n,r=[1,4,5,6,7,10,11],o=0;if(n=te.exec(e)){for(var i,a=0;i=r[a];++a)n[i]=+n[i]||0;n[2]=(+n[2]||1)-1,n[3]=+n[3]||1,n[7]=n[7]?String(n[7]).substr(0,3):0,void 0!==n[8]&&""!==n[8]||void 0!==n[9]&&""!==n[9]?("Z"!==n[8]&&void 0!==n[9]&&(o=60*n[10]+n[11],"+"===n[9]&&(o=0-o)),t=Date.UTC(n[1],n[2],n[3],n[4],n[5]+o,n[6],n[7])):t=+new Date(n[1],n[2],n[3],n[4],n[5],n[6],n[7])}else t=Date.parse?Date.parse(e):NaN;return t}(e),isNaN(e)?ne:new Date(e))}))}))}_typeCheck(e){return t=e,"[object Date]"===Object.prototype.toString.call(t)&&!isNaN(e.getTime());var t}prepareParam(e,t){let n;if(Z.isRef(e))n=e;else{let r=this.cast(e);if(!this._typeCheck(r))throw new TypeError(`\`${t}\` must be a Date or a value that can be \`cast()\` to a Date`);n=r}return n}min(e,t=v.min){let n=this.prepareParam(e,"min");return this.test({message:t,name:"min",exclusive:!0,params:{min:e},test(e){return $(e)||e>=this.resolve(n)}})}max(e,t=v.max){let n=this.prepareParam(e,"max");return this.test({message:t,name:"max",exclusive:!0,params:{max:e},test(e){return $(e)||e<=this.resolve(n)}})}}oe.INVALID_DATE=ne,re.prototype=oe.prototype,re.INVALID_DATE=ne;var ie=n(11865),ae=n.n(ie),se=n(68929),le=n.n(se),ue=n(67523),ce=n.n(ue),fe=n(94633),de=n.n(fe);function pe(e,t){let n=1/0;return e.some(((e,r)=>{var o;if(-1!==(null==(o=t.path)?void 0:o.indexOf(e)))return n=r,!0})),n}function he(e){return(t,n)=>pe(e,t)-pe(e,n)}function me(){return me=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},me.apply(this,arguments)}let ge=e=>"[object Object]"===Object.prototype.toString.call(e);const ve=he([]);class ye extends B{constructor(e){super({type:"object"}),this.fields=Object.create(null),this._sortErrors=ve,this._nodes=[],this._excludedEdges=[],this.withMutation((()=>{this.transform((function(e){if("string"===typeof e)try{e=JSON.parse(e)}catch(t){e=null}return this.isType(e)?e:null})),e&&this.shape(e)}))}_typeCheck(e){return ge(e)||"function"===typeof e}_cast(e,t={}){var n;let r=super._cast(e,t);if(void 0===r)return this.getDefault();if(!this._typeCheck(r))return r;let o=this.fields,i=null!=(n=t.stripUnknown)?n:this.spec.noUnknown,a=this._nodes.concat(Object.keys(r).filter((e=>-1===this._nodes.indexOf(e)))),s={},l=me({},t,{parent:s,__validating:t.__validating||!1}),u=!1;for(const c of a){let e=o[c],n=_()(r,c);if(e){let n,o=r[c];l.path=(t.path?`${t.path}.`:"")+c,e=e.resolve({value:o,context:t.context,parent:s});let i="spec"in e?e.spec:void 0,a=null==i?void 0:i.strict;if(null==i?void 0:i.strip){u=u||c in r;continue}n=t.__validating&&a?r[c]:e.cast(r[c],l),void 0!==n&&(s[c]=n)}else n&&!i&&(s[c]=r[c]);s[c]!==r[c]&&(u=!0)}return u?s:r}_validate(e,t={},n){let r=[],{sync:o,from:i=[],originalValue:a=e,abortEarly:s=this.spec.abortEarly,recursive:l=this.spec.recursive}=t;i=[{schema:this,value:a},...i],t.__validating=!0,t.originalValue=a,t.from=i,super._validate(e,t,((e,u)=>{if(e){if(!O.isError(e)||s)return void n(e,u);r.push(e)}if(!l||!ge(u))return void n(r[0]||null,u);a=a||u;let c=this._nodes.map((e=>(n,r)=>{let o=-1===e.indexOf(".")?(t.path?`${t.path}.`:"")+e:`${t.path||""}["${e}"]`,s=this.fields[e];s&&"validate"in s?s.validate(u[e],me({},t,{path:o,from:i,strict:!0,parent:u,originalValue:a[e]}),r):r(null)}));A({sync:o,tests:c,value:u,errors:r,endEarly:s,sort:this._sortErrors,path:t.path},n)}))}clone(e){const t=super.clone(e);return t.fields=me({},this.fields),t._nodes=this._nodes,t._excludedEdges=this._excludedEdges,t._sortErrors=this._sortErrors,t}concat(e){let t=super.concat(e),n=t.fields;for(let[r,o]of Object.entries(this.fields)){const e=n[r];void 0===e?n[r]=o:e instanceof B&&o instanceof B&&(n[r]=o.concat(e))}return t.withMutation((()=>t.shape(n,this._excludedEdges)))}getDefaultFromShape(){let e={};return this._nodes.forEach((t=>{const n=this.fields[t];e[t]="default"in n?n.getDefault():void 0})),e}_getDefault(){return"default"in this.spec?super._getDefault():this._nodes.length?this.getDefaultFromShape():void 0}shape(e,t=[]){let n=this.clone(),r=Object.assign(n.fields,e);return n.fields=r,n._sortErrors=he(Object.keys(r)),t.length&&(Array.isArray(t[0])||(t=[t]),n._excludedEdges=[...n._excludedEdges,...t]),n._nodes=function(e,t=[]){let n=[],r=new Set,o=new Set(t.map((([e,t])=>`${e}-${t}`)));function i(e,t){let i=(0,P.split)(e)[0];r.add(i),o.has(`${t}-${i}`)||n.push([t,i])}for(const a in e)if(_()(e,a)){let t=e[a];r.add(a),Z.isRef(t)&&t.isSibling?i(t.path,a):k(t)&&"deps"in t&&t.deps.forEach((e=>i(e,a)))}return de().array(Array.from(r),n).reverse()}(r,n._excludedEdges),n}pick(e){const t={};for(const n of e)this.fields[n]&&(t[n]=this.fields[n]);return this.clone().withMutation((e=>(e.fields={},e.shape(t))))}omit(e){const t=this.clone(),n=t.fields;t.fields={};for(const r of e)delete n[r];return t.withMutation((()=>t.shape(n)))}from(e,t,n){let r=(0,P.getter)(e,!0);return this.transform((o=>{if(null==o)return o;let i=o;return _()(o,e)&&(i=me({},o),n||delete i[e],i[t]=r(o)),i}))}noUnknown(e=!0,t=b.noUnknown){"string"===typeof e&&(t=e,e=!0);let n=this.test({name:"noUnknown",exclusive:!0,message:t,test(t){if(null==t)return!0;const n=function(e,t){let n=Object.keys(e.fields);return Object.keys(t).filter((e=>-1===n.indexOf(e)))}(this.schema,t);return!e||0===n.length||this.createError({params:{unknown:n.join(", ")}})}});return n.spec.noUnknown=e,n}unknown(e=!0,t=b.noUnknown){return this.noUnknown(!e,t)}transformKeys(e){return this.transform((t=>t&&ce()(t,((t,n)=>e(n)))))}camelCase(){return this.transformKeys(le())}snakeCase(){return this.transformKeys(ae())}constantCase(){return this.transformKeys((e=>ae()(e).toUpperCase()))}describe(){let e=super.describe();return e.fields=I()(this.fields,(e=>e.describe())),e}}function be(e){return new ye(e)}be.prototype=ye.prototype},87462: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,{Z:function(){return r}})},75068:function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,{Z:function(){return o}})},63366:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,{Z:function(){return r}})},75285:function(e,t,n){"use strict";function r(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=r(e[t]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}t.Z=function(){for(var e,t,n=0,o="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=r(e))&&(o&&(o+=" "),o+=t);return o}},20943: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}})},47568:function(e,t,n){"use strict";function r(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(u){return void n(u)}s.done?t(l):Promise.resolve(l).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function s(e){r(a,o,i,s,l,"next",e)}function l(e){r(a,o,i,s,l,"throw",e)}s(void 0)}))}}n.d(t,{Z:function(){return o}})},14924: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}})},13375:function(e,t,n){"use strict";function r(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,{Z:function(){return r}})},26042:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(14924);function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),o.forEach((function(t){(0,r.Z)(e,t,n[t])}))}return e}},69396:function(e,t,n){"use strict";function r(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})),e}n.d(t,{Z:function(){return r}})},828:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(13375);var o=n(91566);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||(0,r.Z)(e,t)||(0,o.Z)(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.")}()}},29815:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(20943);var o=n(13375);var i=n(91566);function a(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||(0,o.Z)(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.")}()}},91566:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(20943);function o(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(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}},15761:function(e,t,n){"use strict";n.d(t,{j:function(){return a}});var r=n(33989),o=n(32161);class i extends r.l{constructor(){super(),this.setup=e=>{if(!o.sk&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),window.addEventListener("focus",t,!1),()=>{window.removeEventListener("visibilitychange",t),window.removeEventListener("focus",t)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)}setEventListener(e){var t;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e((e=>{"boolean"===typeof e?this.setFocused(e):this.onFocus()}))}setFocused(e){this.focused=e,e&&this.onFocus()}onFocus(){this.listeners.forEach((({listener:e})=>{e()}))}isFocused(){return"boolean"===typeof this.focused?this.focused:"undefined"===typeof document||[void 0,"visible","prerender"].includes(document.visibilityState)}}const a=new i},30081:function(e,t,n){"use strict";n.d(t,{V:function(){return o}});var r=n(32161);const o=function(){let e=[],t=0,n=e=>{e()},o=e=>{e()};const i=o=>{t?e.push(o):(0,r.A4)((()=>{n(o)}))},a=()=>{const t=e;e=[],t.length&&(0,r.A4)((()=>{o((()=>{t.forEach((e=>{n(e)}))}))}))};return{batch:e=>{let n;t++;try{n=e()}finally{t--,t||a()}return n},batchCalls:e=>(...t)=>{i((()=>{e(...t)}))},schedule:i,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{o=e}}}()},96474:function(e,t,n){"use strict";n.d(t,{N:function(){return s}});var r=n(33989),o=n(32161);const i=["online","offline"];class a extends r.l{constructor(){super(),this.setup=e=>{if(!o.sk&&window.addEventListener){const t=()=>e();return i.forEach((e=>{window.addEventListener(e,t,!1)})),()=>{i.forEach((e=>{window.removeEventListener(e,t)}))}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)}setEventListener(e){var t;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e((e=>{"boolean"===typeof e?this.setOnline(e):this.onOnline()}))}setOnline(e){this.online=e,e&&this.onOnline()}onOnline(){this.listeners.forEach((({listener:e})=>{e()}))}isOnline(){return"boolean"===typeof this.online?this.online:"undefined"===typeof navigator||"undefined"===typeof navigator.onLine||navigator.onLine}}const s=new a},72379:function(e,t,n){"use strict";n.d(t,{DV:function(){return u},Kw:function(){return s},Mz:function(){return c}});var r=n(15761),o=n(96474),i=n(32161);function a(e){return Math.min(1e3*2**e,3e4)}function s(e){return"online"!==(null!=e?e:"online")||o.N.isOnline()}class l{constructor(e){this.revert=null==e?void 0:e.revert,this.silent=null==e?void 0:e.silent}}function u(e){return e instanceof l}function c(e){let t,n,u,c=!1,f=0,d=!1;const p=new Promise(((e,t)=>{n=e,u=t})),h=()=>!r.j.isFocused()||"always"!==e.networkMode&&!o.N.isOnline(),m=r=>{d||(d=!0,null==e.onSuccess||e.onSuccess(r),null==t||t(),n(r))},g=n=>{d||(d=!0,null==e.onError||e.onError(n),null==t||t(),u(n))},v=()=>new Promise((n=>{t=e=>{const t=d||!h();return t&&n(e),t},null==e.onPause||e.onPause()})).then((()=>{t=void 0,d||null==e.onContinue||e.onContinue()})),y=()=>{if(d)return;let t;try{t=e.fn()}catch(n){t=Promise.reject(n)}Promise.resolve(t).then(m).catch((t=>{var n,r;if(d)return;const o=null!=(n=e.retry)?n:3,s=null!=(r=e.retryDelay)?r:a,l="function"===typeof s?s(f,t):s,u=!0===o||"number"===typeof o&&f<o||"function"===typeof o&&o(f,t);!c&&u?(f++,null==e.onFail||e.onFail(f,t),(0,i.Gh)(l).then((()=>{if(h())return v()})).then((()=>{c?g(t):y()}))):g(t)}))};return s(e.networkMode)?y():v().then(y),{promise:p,cancel:t=>{d||(g(new l(t)),null==e.abort||e.abort())},continue:()=>(null==t?void 0:t())?p:Promise.resolve(),cancelRetry:()=>{c=!0},continueRetry:()=>{c=!1}}}},33989:function(e,t,n){"use strict";n.d(t,{l:function(){return r}});class r{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){const t={listener:e};return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}}},32161:function(e,t,n){"use strict";n.d(t,{A4:function(){return k},G9:function(){return C},Gh:function(){return _},I6:function(){return u},Kp:function(){return s},PN:function(){return a},Rm:function(){return d},SE:function(){return i},VS:function(){return v},X7:function(){return f},ZT:function(){return o},_v:function(){return l},_x:function(){return c},oE:function(){return S},sk:function(){return r},to:function(){return h},yF:function(){return p}});const r="undefined"===typeof window||"Deno"in window;function o(){}function i(e,t){return"function"===typeof e?e(t):e}function a(e){return"number"===typeof e&&e>=0&&e!==1/0}function s(e,t){return Math.max(e+(t||0)-Date.now(),0)}function l(e,t,n){return w(e)?"function"===typeof t?{...n,queryKey:e,queryFn:t}:{...t,queryKey:e}:e}function u(e,t,n){return w(e)?[{...t,queryKey:e},n]:[e||{},t]}function c(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:i,queryKey:a,stale:s}=e;if(w(a))if(r){if(t.queryHash!==d(a,t.options))return!1}else if(!h(t.queryKey,a))return!1;if("all"!==n){const e=t.isActive();if("active"===n&&!e)return!1;if("inactive"===n&&e)return!1}return("boolean"!==typeof s||t.isStale()===s)&&(("undefined"===typeof o||o===t.state.fetchStatus)&&!(i&&!i(t)))}function f(e,t){const{exact:n,fetching:r,predicate:o,mutationKey:i}=e;if(w(i)){if(!t.options.mutationKey)return!1;if(n){if(p(t.options.mutationKey)!==p(i))return!1}else if(!h(t.options.mutationKey,i))return!1}return("boolean"!==typeof r||"loading"===t.state.status===r)&&!(o&&!o(t))}function d(e,t){return((null==t?void 0:t.queryKeyHashFn)||p)(e)}function p(e){return JSON.stringify(e,((e,t)=>b(t)?Object.keys(t).sort().reduce(((e,n)=>(e[n]=t[n],e)),{}):t))}function h(e,t){return m(e,t)}function m(e,t){return e===t||typeof e===typeof t&&(!(!e||!t||"object"!==typeof e||"object"!==typeof t)&&!Object.keys(t).some((n=>!m(e[n],t[n]))))}function g(e,t){if(e===t)return e;const n=y(e)&&y(t);if(n||b(e)&&b(t)){const r=n?e.length:Object.keys(e).length,o=n?t:Object.keys(t),i=o.length,a=n?[]:{};let s=0;for(let l=0;l<i;l++){const r=n?l:o[l];a[r]=g(e[r],t[r]),a[r]===e[r]&&s++}return r===i&&s===r?e:a}return t}function v(e,t){if(e&&!t||t&&!e)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function y(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function b(e){if(!x(e))return!1;const t=e.constructor;if("undefined"===typeof t)return!0;const n=t.prototype;return!!x(n)&&!!n.hasOwnProperty("isPrototypeOf")}function x(e){return"[object Object]"===Object.prototype.toString.call(e)}function w(e){return Array.isArray(e)}function _(e){return new Promise((t=>{setTimeout(t,e)}))}function k(e){_(0).then(e)}function C(){if("function"===typeof AbortController)return new AbortController}function S(e,t,n){return null!=n.isDataEqual&&n.isDataEqual(e,t)?e:"function"===typeof n.structuralSharing?n.structuralSharing(e,t):!1!==n.structuralSharing?g(e,t):t}},85945:function(e,t,n){"use strict";n.d(t,{NL:function(){return s},aH:function(){return l}});var r=n(67294);const o=r.createContext(void 0),i=r.createContext(!1);function a(e,t){return e||(t&&"undefined"!==typeof window?(window.ReactQueryClientContext||(window.ReactQueryClientContext=o),window.ReactQueryClientContext):o)}const s=({context:e}={})=>{const t=r.useContext(a(e,r.useContext(i)));if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},l=({client:e,children:t,context:n,contextSharing:o=!1})=>{r.useEffect((()=>(e.mount(),()=>{e.unmount()})),[e]);const s=a(n,o);return r.createElement(i.Provider,{value:!n&&o},r.createElement(s.Provider,{value:e},t))}},87536:function(e,t,n){"use strict";n.d(t,{KN:function(){return D},U2:function(){return p},cI:function(){return _e},t8:function(){return z}});var r=n(67294),o=e=>"checkbox"===e.type,i=e=>e instanceof Date,a=e=>null==e;const s=e=>"object"===typeof e;var l=e=>!a(e)&&!Array.isArray(e)&&s(e)&&!i(e),u=e=>l(e)&&e.target?o(e.target)?e.target.checked:e.target.value:e,c=(e,t)=>[...e].some((e=>(e=>e.substring(0,e.search(/.\d/))||e)(t)===e)),f=e=>(e||[]).filter(Boolean),d=e=>void 0===e,p=(e,t,n)=>{if(l(e)&&t){const r=f(t.split(/[,[\].]+?/)).reduce(((e,t)=>a(e)?e:e[t]),e);return d(r)||r===e?d(e[t])?n:e[t]:r}};const h="blur",m="onBlur",g="onChange",v="onSubmit",y="onTouched",b="all",x="max",w="min",_="maxLength",k="minLength",C="pattern",S="required",E="validate";var T=(e,t)=>{const n=Object.assign({},e);return delete n[t],n};r.createContext(null);var O=(e,t,n,r=!0)=>{function o(o){return()=>{if(o in e)return t[o]!==b&&(t[o]=!r||b),n&&(n[o]=!0),e[o]}}const i={};for(const a in e)Object.defineProperty(i,a,{get:o(a)});return i},A=e=>l(e)&&!Object.keys(e).length,j=(e,t,n)=>{const r=T(e,"name");return A(r)||Object.keys(r).length>=Object.keys(t).length||Object.keys(r).find((e=>t[e]===(!n||b)))},I=e=>Array.isArray(e)?e:[e];function P(e){const t=r.useRef(e);t.current=e,r.useEffect((()=>{const n=!e.disabled&&t.current.subject.subscribe({next:t.current.callback});return()=>(e=>{e&&e.unsubscribe()})(n)}),[e.disabled])}var N=e=>"string"===typeof e,R=(e,t,n,r)=>{const o=Array.isArray(e);return N(e)?(r&&t.watch.add(e),p(n,e)):o?e.map((e=>(r&&t.watch.add(e),p(n,e)))):(r&&(t.watchAll=!0),n)},Z=e=>"function"===typeof e,L=e=>{for(const t in e)if(Z(e[t]))return!0;return!1};var D=(e,t,n,r,o)=>t?Object.assign(Object.assign({},n[e]),{types:Object.assign(Object.assign({},n[e]&&n[e].types?n[e].types:{}),{[r]:o||!0})}):{},F=e=>/^\w*$/.test(e),M=e=>f(e.replace(/["|']|\]/g,"").split(/\.|\[/));function z(e,t,n){let r=-1;const o=F(t)?[t]:M(t),i=o.length,a=i-1;for(;++r<i;){const t=o[r];let i=n;if(r!==a){const n=e[t];i=l(n)||Array.isArray(n)?n:isNaN(+o[r+1])?{}:[]}e[t]=i,e=e[t]}return e}const B=(e,t,n)=>{for(const r of n||Object.keys(e)){const n=p(e,r);if(n){const e=n._f,r=T(n,"_f");if(e&&t(e.name)){if(e.ref.focus&&d(e.ref.focus()))break;if(e.refs){e.refs[0].focus();break}}else l(r)&&B(r,t)}}};var H=(e,t,n)=>!n&&(t.watchAll||t.watch.has(e)||[...t.watch].some((t=>e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length)))));function $(e){let t;const n=Array.isArray(e);if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else{if(!n&&!l(e))return e;t=n?[]:{};for(const n in e){if(Z(e[n])){t=e;break}t[n]=$(e[n])}}return t}function U(){let e=[];return{get observers(){return e},next:t=>{for(const n of e)n.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter((e=>e!==t))}}),unsubscribe:()=>{e=[]}}}var V=e=>a(e)||!s(e);function G(e,t){if(V(e)||V(t))return e===t;if(i(e)&&i(t))return e.getTime()===t.getTime();const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(const o of n){const n=e[o];if(!r.includes(o))return!1;if("ref"!==o){const e=t[o];if(i(n)&&i(e)||l(n)&&l(e)||Array.isArray(n)&&Array.isArray(e)?!G(n,e):n!==e)return!1}}return!0}var W=e=>({isOnSubmit:!e||e===v,isOnBlur:e===m,isOnChange:e===g,isOnAll:e===b,isOnTouch:e===y}),q=e=>"boolean"===typeof e,X=e=>"file"===e.type,Y=e=>e instanceof HTMLElement,K=e=>"select-multiple"===e.type,Q=e=>"radio"===e.type,J="undefined"!==typeof window&&"undefined"!==typeof window.HTMLElement&&"undefined"!==typeof document,ee=e=>Y(e)&&document.contains(e);function te(e,t){const n=F(t)?[t]:M(t),r=1==n.length?e:function(e,t){const n=t.slice(0,-1).length;let r=0;for(;r<n;)e=d(e)?r++:e[t[r++]];return e}(e,n),o=n[n.length-1];let i;r&&delete r[o];for(let a=0;a<n.slice(0,-1).length;a++){let t,r=-1;const o=n.slice(0,-(a+1)),s=o.length-1;for(a>0&&(i=e);++r<o.length;){const n=o[r];t=t?t[n]:e[n],s===r&&(l(t)&&A(t)||Array.isArray(t)&&!t.filter((e=>l(e)&&!A(e)||q(e))).length)&&(i?delete i[n]:delete e[n]),i=t}}return e}function ne(e,t={}){const n=Array.isArray(e);if(l(e)||n)for(const r in e)Array.isArray(e[r])||l(e[r])&&!L(e[r])?(t[r]=Array.isArray(e[r])?[]:{},ne(e[r],t[r])):a(e[r])||(t[r]=!0);return t}function re(e,t,n){const r=Array.isArray(e);if(l(e)||r)for(const o in e)Array.isArray(e[o])||l(e[o])&&!L(e[o])?d(t)||V(n[o])?n[o]=Array.isArray(e[o])?ne(e[o],[]):Object.assign({},ne(e[o])):re(e[o],a(t)?{}:t[o],n[o]):n[o]=!G(e[o],t[o]);return n}var oe=(e,t)=>re(e,t,ne(t));const ie={value:!1,isValid:!1},ae={value:!0,isValid:!0};var se=e=>{if(Array.isArray(e)){if(e.length>1){const t=e.filter((e=>e&&e.checked&&!e.disabled)).map((e=>e.value));return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!d(e[0].attributes.value)?d(e[0].value)||""===e[0].value?ae:{value:e[0].value,isValid:!0}:ae:ie}return ie},le=(e,{valueAsNumber:t,valueAsDate:n,setValueAs:r})=>d(e)?e:t?""===e?NaN:+e:n&&N(e)?new Date(e):r?r(e):e;const ue={isValid:!1,value:null};var ce=e=>Array.isArray(e)?e.reduce(((e,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e),ue):ue;function fe(e){const t=e.ref;if(!(e.refs?e.refs.every((e=>e.disabled)):t.disabled))return X(t)?t.files:Q(t)?ce(e.refs).value:K(t)?[...t.selectedOptions].map((({value:e})=>e)):o(t)?se(e.refs).value:le(d(t.value)?e.ref.value:t.value,e)}var de=e=>e instanceof RegExp,pe=e=>d(e)?void 0:de(e)?e.source:l(e)?de(e.value)?e.value.source:e.value:e;function he(e,t,n){const r=p(e,n);if(r||F(n))return{error:r,name:n};const o=n.split(".");for(;o.length;){const r=o.join("."),i=p(t,r),a=p(e,r);if(i&&!Array.isArray(i)&&n!==r)return{name:n};if(a&&a.type)return{name:r,error:a};o.pop()}return{name:n}}var me=(e,t)=>!f(p(e,t)).length&&te(e,t),ge=e=>N(e)||r.isValidElement(e);function ve(e,t,n="validate"){if(ge(e)||Array.isArray(e)&&e.every(ge)||q(e)&&!e)return{type:n,message:ge(e)?e:"",ref:t}}var ye=e=>l(e)&&!de(e)?e:{value:e,message:""},be=async(e,t,n,r)=>{const{ref:i,refs:s,required:u,maxLength:c,minLength:f,min:d,max:p,pattern:h,validate:m,name:g,valueAsNumber:v,mount:y,disabled:b}=e._f;if(!y||b)return{};const T=s?s[0]:i,O=e=>{r&&T.reportValidity&&(T.setCustomValidity(q(e)?"":e||" "),T.reportValidity())},j={},I=Q(i),P=o(i),R=I||P,L=(v||X(i))&&!i.value||""===t||Array.isArray(t)&&!t.length,F=D.bind(null,g,n,j),M=(e,t,n,r=_,o=k)=>{const a=e?t:n;j[g]=Object.assign({type:e?r:o,message:a,ref:i},F(e?r:o,a))};if(u&&(!R&&(L||a(t))||q(t)&&!t||P&&!se(s).isValid||I&&!ce(s).isValid)){const{value:e,message:t}=ge(u)?{value:!!u,message:u}:ye(u);if(e&&(j[g]=Object.assign({type:S,message:t,ref:T},F(S,t)),!n))return O(t),j}if(!L&&(!a(d)||!a(p))){let e,r;const o=ye(p),s=ye(d);if(isNaN(t)){const n=i.valueAsDate||new Date(t);N(o.value)&&(e=n>new Date(o.value)),N(s.value)&&(r=n<new Date(s.value))}else{const n=i.valueAsNumber||parseFloat(t);a(o.value)||(e=n>o.value),a(s.value)||(r=n<s.value)}if((e||r)&&(M(!!e,o.message,s.message,x,w),!n))return O(j[g].message),j}if((c||f)&&!L&&N(t)){const e=ye(c),r=ye(f),o=!a(e.value)&&t.length>e.value,i=!a(r.value)&&t.length<r.value;if((o||i)&&(M(o,e.message,r.message),!n))return O(j[g].message),j}if(h&&!L&&N(t)){const{value:e,message:r}=ye(h);if(de(e)&&!t.match(e)&&(j[g]=Object.assign({type:C,message:r,ref:i},F(C,r)),!n))return O(r),j}if(m)if(Z(m)){const e=ve(await m(t),T);if(e&&(j[g]=Object.assign(Object.assign({},e),F(E,e.message)),!n))return O(e.message),j}else if(l(m)){let e={};for(const r in m){if(!A(e)&&!n)break;const o=ve(await m[r](t),T,r);o&&(e=Object.assign(Object.assign({},o),F(r,o.message)),O(o.message),n&&(j[g]=e))}if(!A(e)&&(j[g]=Object.assign({ref:T},e),!n))return j}return O(!0),j};const xe={mode:v,reValidateMode:g,shouldFocusError:!0};function we(e={}){let t,n=Object.assign(Object.assign({},xe),e),r={isDirty:!1,isValidating:!1,dirtyFields:{},isSubmitted:!1,submitCount:0,touchedFields:{},isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,errors:{}},s={},l=n.defaultValues||{},m=n.shouldUnregister?{}:$(l),g={action:!1,mount:!1,watch:!1},v={mount:new Set,unMount:new Set,array:new Set,watch:new Set},y=0,x={};const w={isDirty:!1,dirtyFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},_={watch:U(),array:U(),state:U()},k=W(n.mode),C=W(n.reValidateMode),S=n.criteriaMode===b,E=async e=>{let t=!1;return w.isValid&&(t=n.resolver?A((await D()).errors):await F(s,!0),e||t===r.isValid||(r.isValid=t,_.state.next({isValid:t}))),t},O=(e,t)=>(z(r.errors,e,t),_.state.next({errors:r.errors})),j=(e,t,n)=>{const r=p(s,e);if(r){const o=p(m,e,p(l,e));d(o)||n&&n.defaultChecked||t?z(m,e,t?o:fe(r._f)):re(e,o)}g.mount&&E()},P=(e,t,n,o=!0)=>{let i=!1;const a={name:e},s=p(r.touchedFields,e);if(w.isDirty){const e=r.isDirty;r.isDirty=a.isDirty=M(),i=e!==a.isDirty}if(w.dirtyFields&&!n){const n=p(r.dirtyFields,e);G(p(l,e),t)?te(r.dirtyFields,e):z(r.dirtyFields,e,!0),a.dirtyFields=r.dirtyFields,i=i||n!==p(r.dirtyFields,e)}return n&&!s&&(z(r.touchedFields,e,n),a.touchedFields=r.touchedFields,i=i||w.touchedFields&&s!==n),i&&o&&_.state.next(a),i?a:{}},L=async(n,o,i,a,s)=>{const l=p(r.errors,o),u=w.isValid&&r.isValid!==i;var c,f;if(e.delayError&&a?(t=t||(c=O,f=e.delayError,(...e)=>{clearTimeout(y),y=window.setTimeout((()=>c(...e)),f)}),t(o,a)):(clearTimeout(y),a?z(r.errors,o,a):te(r.errors,o)),((a?!G(l,a):l)||!A(s)||u)&&!n){const e=Object.assign(Object.assign(Object.assign({},s),u?{isValid:i}:{}),{errors:r.errors,name:o});r=Object.assign(Object.assign({},r),e),_.state.next(e)}x[o]--,w.isValidating&&!x[o]&&(_.state.next({isValidating:!1}),x={})},D=async e=>n.resolver?await n.resolver(Object.assign({},m),n.context,((e,t,n,r)=>{const o={};for(const i of e){const e=p(t,i);e&&z(o,i,e._f)}return{criteriaMode:n,names:[...e],fields:o,shouldUseNativeValidation:r}})(e||v.mount,s,n.criteriaMode,n.shouldUseNativeValidation)):{},F=async(e,t,o={valid:!0})=>{for(const i in e){const a=e[i];if(a){const e=a._f,i=T(a,"_f");if(e){const i=await be(a,p(m,e.name),S,n.shouldUseNativeValidation);if(i[e.name]&&(o.valid=!1,t))break;t||(i[e.name]?z(r.errors,e.name,i[e.name]):te(r.errors,e.name))}i&&await F(i,t,o)}}return o.valid},M=(e,t)=>(e&&t&&z(m,e,t),!G(ce(),l)),ne=(e,t,n)=>{const r=Object.assign({},g.mount?m:d(t)?l:N(e)?{[e]:t}:t);return R(e,v,r,n)},re=(e,t,n={})=>{const r=p(s,e);let i=t;if(r){const n=r._f;n&&(!n.disabled&&z(m,e,le(t,n)),i=J&&Y(n.ref)&&a(t)?"":t,K(n.ref)?[...n.ref.options].forEach((e=>e.selected=i.includes(e.value))):n.refs?o(n.ref)?n.refs.length>1?n.refs.forEach((e=>e.checked=Array.isArray(i)?!!i.find((t=>t===e.value)):i===e.value)):n.refs[0].checked=!!i:n.refs.forEach((e=>e.checked=e.value===i)):X(n.ref)||(n.ref.value=i,n.ref.type||_.watch.next({name:e})))}(n.shouldDirty||n.shouldTouch)&&P(e,i,n.shouldTouch),n.shouldValidate&&ue(e)},ie=(e,t,n)=>{for(const r in t){const o=t[r],a=`${e}.${r}`,l=p(s,a);!v.array.has(e)&&V(o)&&(!l||l._f)||i(o)?re(a,o,n):ie(a,o,n)}},ae=(e,t,n={})=>{const o=p(s,e),i=v.array.has(e);z(m,e,t),i?(_.array.next({name:e,values:m}),(w.isDirty||w.dirtyFields)&&n.shouldDirty&&(r.dirtyFields=oe(l,m),_.state.next({name:e,dirtyFields:r.dirtyFields,isDirty:M(e,t)}))):!o||o._f||a(t)?re(e,t,n):ie(e,t,n),H(e,v)&&_.state.next({}),_.watch.next({name:e})},se=async e=>{const t=e.target;let o=t.name;const i=p(s,o);if(i){let l,c;const f=t.type?fe(i._f):u(e),d=e.type===h,g=!((a=i._f).mount&&(a.required||a.min||a.max||a.maxLength||a.minLength||a.pattern||a.validate))&&!n.resolver&&!p(r.errors,o)&&!i._f.deps||((e,t,n,r,o)=>!o.isOnAll&&(!n&&o.isOnTouch?!(t||e):(n?r.isOnBlur:o.isOnBlur)?!e:!(n?r.isOnChange:o.isOnChange)||e))(d,p(r.touchedFields,o),r.isSubmitted,C,k),y=H(o,v,d);d?i._f.onBlur&&i._f.onBlur(e):i._f.onChange&&i._f.onChange(e),z(m,o,f);const b=P(o,f,d,!1),T=!A(b)||y;if(!d&&_.watch.next({name:o,type:e.type}),g)return T&&_.state.next(Object.assign({name:o},y?{}:b));if(!d&&y&&_.state.next({}),x[o]=(x[o],1),w.isValidating&&_.state.next({isValidating:!0}),n.resolver){const{errors:e}=await D([o]),t=he(r.errors,s,o),n=he(e,s,t.name||o);l=n.error,o=n.name,c=A(e)}else l=(await be(i,p(m,o),S,n.shouldUseNativeValidation))[o],c=await E(!0);i._f.deps&&ue(i._f.deps),L(!1,o,c,l,b)}var a},ue=async(e,t={})=>{let o,i;const a=I(e);if(_.state.next({isValidating:!0}),n.resolver){const t=await(async e=>{const{errors:t}=await D();if(e)for(const n of e){const e=p(t,n);e?z(r.errors,n,e):te(r.errors,n)}else r.errors=t;return t})(d(e)?e:a);o=A(t),i=e?!a.some((e=>p(t,e))):o}else e?(i=(await Promise.all(a.map((async e=>{const t=p(s,e);return await F(t&&t._f?{[e]:t}:t)})))).every(Boolean),(i||r.isValid)&&E()):i=o=await F(s);return _.state.next(Object.assign(Object.assign(Object.assign({},!N(e)||w.isValid&&o!==r.isValid?{}:{name:e}),n.resolver?{isValid:o}:{}),{errors:r.errors,isValidating:!1})),t.shouldFocus&&!i&&B(s,(e=>p(r.errors,e)),e?a:v.mount),i},ce=e=>{const t=Object.assign(Object.assign({},l),g.mount?m:{});return d(e)?t:N(e)?p(t,e):e.map((e=>p(t,e)))},de=(e,t={})=>{for(const o of e?I(e):v.mount)v.mount.delete(o),v.array.delete(o),p(s,o)&&(t.keepValue||(te(s,o),te(m,o)),!t.keepError&&te(r.errors,o),!t.keepDirty&&te(r.dirtyFields,o),!t.keepTouched&&te(r.touchedFields,o),!n.shouldUnregister&&!t.keepDefaultValue&&te(l,o));_.watch.next({}),_.state.next(Object.assign(Object.assign({},r),t.keepDirty?{isDirty:M()}:{})),!t.keepIsValid&&E()},ge=(e,t={})=>{let r=p(s,e);return z(s,e,{_f:Object.assign(Object.assign(Object.assign({},r&&r._f?r._f:{ref:{name:e}}),{name:e,mount:!0}),t)}),v.mount.add(e),!d(t.value)&&!t.disabled&&z(m,e,p(m,e,t.value)),r?q(t.disabled)&&z(m,e,t.disabled?void 0:p(m,e,fe(r._f))):j(e,!0),Object.assign(Object.assign(Object.assign({},q(t.disabled)?{disabled:t.disabled}:{}),n.shouldUseNativeValidation?{required:!!t.required,min:pe(t.min),max:pe(t.max),minLength:pe(t.minLength),maxLength:pe(t.maxLength),pattern:pe(t.pattern)}:{}),{name:e,onChange:se,onBlur:se,ref:i=>{if(i){ge(e,t),r=p(s,e);const n=d(i.value)&&i.querySelectorAll&&i.querySelectorAll("input,select,textarea")[0]||i,a=(e=>Q(e)||o(e))(n);if(n===r._f.ref||a&&f(r._f.refs).find((e=>e===n)))return;z(s,e,{_f:a?Object.assign(Object.assign({},r._f),{refs:[...f(r._f.refs).filter(ee),n],ref:{type:n.type,name:e}}):Object.assign(Object.assign({},r._f),{ref:n})}),j(e,!1,n)}else r=p(s,e,{}),r._f&&(r._f.mount=!1),(n.shouldUnregister||t.shouldUnregister)&&(!c(v.array,e)||!g.action)&&v.unMount.add(e)}})};return{control:{register:ge,unregister:de,_executeSchema:D,_getWatch:ne,_getDirty:M,_updateValid:E,_removeUnmounted:()=>{for(const e of v.unMount){const t=p(s,e);t&&(t._f.refs?t._f.refs.every((e=>!ee(e))):!ee(t._f.ref))&&de(e)}v.unMount=new Set},_updateFieldArray:(e,t,n,o=[],i=!0,a=!0,u=!0)=>{if(g.action=!0,a&&p(s,e)){const r=t(p(s,e),n.argA,n.argB);i&&z(s,e,r)}if(u&&Array.isArray(p(r.errors,e))){const o=t(p(r.errors,e),n.argA,n.argB);i&&z(r.errors,e,o),me(r.errors,e)}if(w.touchedFields&&p(r.touchedFields,e)){const o=t(p(r.touchedFields,e),n.argA,n.argB);i&&z(r.touchedFields,e,o),me(r.touchedFields,e)}(w.dirtyFields||w.isDirty)&&(r.dirtyFields=oe(l,m)),_.state.next({isDirty:M(e,o),dirtyFields:r.dirtyFields,errors:r.errors,isValid:r.isValid})},_getFieldArray:t=>f(p(g.mount?m:l,t,e.shouldUnregister?p(l,t,[]):[])),_subjects:_,_proxyFormState:w,get _fields(){return s},set _fields(e){s=e},get _formValues(){return m},set _formValues(e){m=e},get _stateFlags(){return g},set _stateFlags(e){g=e},get _defaultValues(){return l},set _defaultValues(e){l=e},get _names(){return v},set _names(e){v=e},get _formState(){return r},set _formState(e){r=e},get _options(){return n},set _options(e){n=Object.assign(Object.assign({},n),e)}},trigger:ue,register:ge,handleSubmit:(e,t)=>async o=>{o&&(o.preventDefault&&o.preventDefault(),o.persist&&o.persist());let i=!0,a=n.shouldUnregister?$(m):Object.assign({},m);_.state.next({isSubmitting:!0});try{if(n.resolver){const{errors:e,values:t}=await D();r.errors=e,a=t}else await F(s);A(r.errors)&&Object.keys(r.errors).every((e=>p(a,e)))?(_.state.next({errors:{},isSubmitting:!0}),await e(a,o)):(t&&await t(r.errors,o),n.shouldFocusError&&B(s,(e=>p(r.errors,e)),v.mount))}catch(l){throw i=!1,l}finally{r.isSubmitted=!0,_.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:A(r.errors)&&i,submitCount:r.submitCount+1,errors:r.errors})}},watch:(e,t)=>Z(e)?_.watch.subscribe({next:n=>e(ne(void 0,t),n)}):ne(e,t,!0),setValue:ae,getValues:ce,reset:(t,n={})=>{const o=t||l,i=$(o),a=t&&!A(t)?i:l;if(n.keepDefaultValues||(l=o),!n.keepValues){if(J&&d(t))for(const e of v.mount){const t=p(s,e);if(t&&t._f){const e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;try{Y(e)&&e.closest("form").reset();break}catch(u){}}}m=e.shouldUnregister?n.keepDefaultValues?$(l):{}:i,s={},_.array.next({values:a}),_.watch.next({values:a})}v={mount:new Set,unMount:new Set,array:new Set,watch:new Set,watchAll:!1,focus:""},g.mount=!w.isValid||!!n.keepIsValid,g.watch=!!e.shouldUnregister,_.state.next({submitCount:n.keepSubmitCount?r.submitCount:0,isDirty:n.keepDirty?r.isDirty:!!n.keepDefaultValues&&!G(t,l),isSubmitted:!!n.keepIsSubmitted&&r.isSubmitted,dirtyFields:n.keepDirty?r.dirtyFields:n.keepDefaultValues&&t?Object.entries(t).reduce(((e,[t,n])=>Object.assign(Object.assign({},e),{[t]:n!==p(l,t)})),{}):{},touchedFields:n.keepTouched?r.touchedFields:{},errors:n.keepErrors?r.errors:{},isSubmitting:!1,isSubmitSuccessful:!1})},resetField:(e,t={})=>{d(t.defaultValue)?ae(e,p(l,e)):(ae(e,t.defaultValue),z(l,e,t.defaultValue)),t.keepTouched||te(r.touchedFields,e),t.keepDirty||(te(r.dirtyFields,e),r.isDirty=t.defaultValue?M(e,p(l,e)):M()),t.keepError||(te(r.errors,e),w.isValid&&E()),_.state.next(Object.assign({},r))},clearErrors:e=>{e?I(e).forEach((e=>te(r.errors,e))):r.errors={},_.state.next({errors:r.errors,isValid:!0})},unregister:de,setError:(e,t,n)=>{const o=(p(s,e,{_f:{}})._f||{}).ref;z(r.errors,e,Object.assign(Object.assign({},t),{ref:o})),_.state.next({name:e,errors:r.errors,isValid:!1}),n&&n.shouldFocus&&o&&o.focus&&o.focus()},setFocus:e=>{const t=p(s,e)._f;(t.ref.focus?t.ref:t.refs[0]).focus()}}}function _e(e={}){const t=r.useRef(),[n,o]=r.useState({isDirty:!1,isValidating:!1,dirtyFields:{},isSubmitted:!1,submitCount:0,touchedFields:{},isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,errors:{}});t.current?t.current.control._options=e:t.current=Object.assign(Object.assign({},we(e)),{formState:n});const i=t.current.control;return P({subject:i._subjects.state,callback:e=>{j(e,i._proxyFormState,!0)&&(i._formState=Object.assign(Object.assign({},i._formState),e),o(Object.assign({},i._formState)))}}),r.useEffect((()=>{i._stateFlags.mount||(i._proxyFormState.isValid&&i._updateValid(),i._stateFlags.mount=!0),i._stateFlags.watch&&(i._stateFlags.watch=!1,i._subjects.state.next({})),i._removeUnmounted()})),t.current.formState=O(n,i._proxyFormState),t.current}},80183:function(e,t,n){"use strict";n.d(t,{D:function(){return Qn}});var r={};n.r(r),n.d(r,{attentionMarkers:function(){return pt},contentInitial:function(){return st},disable:function(){return ht},document:function(){return at},flow:function(){return ut},flowInitial:function(){return lt},insideSpan:function(){return dt},string:function(){return ct},text:function(){return ft}});var o={};n.r(o),n.d(o,{boolean:function(){return un},booleanish:function(){return cn},commaOrSpaceSeparated:function(){return mn},commaSeparated:function(){return hn},number:function(){return dn},overloadedBoolean:function(){return fn},spaceSeparated:function(){return pn}});var i=n(67294),a=n(70529),s={}.hasOwnProperty;function l(e){return e&&"object"===typeof e?s.call(e,"position")||s.call(e,"type")?c(e.position):s.call(e,"start")||s.call(e,"end")?c(e):s.call(e,"line")||s.call(e,"column")?u(e):"":""}function u(e){return f(e&&e.line)+":"+f(e&&e.column)}function c(e){return u(e&&e.start)+"-"+u(e&&e.end)}function f(e){return e&&"number"===typeof e?e:1}class d extends Error{constructor(e,t,n){var r,o=[null,null],i={start:{line:null,column:null},end:{line:null,column:null}};super(),"string"===typeof t&&(n=t,t=null),"string"===typeof n&&(-1===(r=n.indexOf(":"))?o[1]=n:(o[0]=n.slice(0,r),o[1]=n.slice(r+1))),t&&("type"in t||"position"in t?t.position&&(i=t.position):"start"in t||"end"in t?i=t:("line"in t||"column"in t)&&(i.start=t)),this.name=l(t)||"1:1",this.message="object"===typeof e?e.message:e,this.stack="object"===typeof e?e.stack:"",this.reason=this.message,this.line=i.start.line,this.column=i.start.column,this.source=o[0],this.ruleId=o[1],this.position=i,this.file,this.fatal,this.url,this.note}}d.prototype.file="",d.prototype.name="",d.prototype.reason="",d.prototype.message="",d.prototype.stack="",d.prototype.fatal=null,d.prototype.column=null,d.prototype.line=null,d.prototype.source=null,d.prototype.ruleId=null,d.prototype.position=null;const p={basename:function(e,t){if(void 0!==t&&"string"!==typeof t)throw new TypeError('"ext" argument must be a string');h(e);let n,r=0,o=-1,i=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;i--;)if(47===e.charCodeAt(i)){if(n){r=i+1;break}}else o<0&&(n=!0,o=i+1);return o<0?"":e.slice(r,o)}if(t===e)return"";let a=-1,s=t.length-1;for(;i--;)if(47===e.charCodeAt(i)){if(n){r=i+1;break}}else a<0&&(n=!0,a=i+1),s>-1&&(e.charCodeAt(i)===t.charCodeAt(s--)?s<0&&(o=i):(s=-1,o=a));r===o?o=a:o<0&&(o=e.length);return e.slice(r,o)},dirname:function(e){if(h(e),0===e.length)return".";let t,n=-1,r=e.length;for(;--r;)if(47===e.charCodeAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.charCodeAt(0)?"/":".":1===n&&47===e.charCodeAt(0)?"//":e.slice(0,n)},extname:function(e){h(e);let t,n=e.length,r=-1,o=0,i=-1,a=0;for(;n--;){const s=e.charCodeAt(n);if(47!==s)r<0&&(t=!0,r=n+1),46===s?i<0?i=n:1!==a&&(a=1):i>-1&&(a=-1);else if(t){o=n+1;break}}if(i<0||r<0||0===a||1===a&&i===r-1&&i===o+1)return"";return e.slice(i,r)},join:function(...e){let t,n=-1;for(;++n<e.length;)h(e[n]),e[n]&&(t=void 0===t?e[n]:t+"/"+e[n]);return void 0===t?".":function(e){h(e);const t=47===e.charCodeAt(0);let n=function(e,t){let n,r,o="",i=0,a=-1,s=0,l=-1;for(;++l<=e.length;){if(l<e.length)n=e.charCodeAt(l);else{if(47===n)break;n=47}if(47===n){if(a===l-1||1===s);else if(a!==l-1&&2===s){if(o.length<2||2!==i||46!==o.charCodeAt(o.length-1)||46!==o.charCodeAt(o.length-2))if(o.length>2){if(r=o.lastIndexOf("/"),r!==o.length-1){r<0?(o="",i=0):(o=o.slice(0,r),i=o.length-1-o.lastIndexOf("/")),a=l,s=0;continue}}else if(o.length>0){o="",i=0,a=l,s=0;continue}t&&(o=o.length>0?o+"/..":"..",i=2)}else o.length>0?o+="/"+e.slice(a+1,l):o=e.slice(a+1,l),i=l-a-1;a=l,s=0}else 46===n&&s>-1?s++:s=-1}return o}(e,!t);0!==n.length||t||(n=".");n.length>0&&47===e.charCodeAt(e.length-1)&&(n+="/");return t?"/"+n:n}(t)},sep:"/"};function h(e){if("string"!==typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const m={cwd:function(){return"/"}};function g(e){return null!==e&&"object"===typeof e&&e.href&&e.origin}function v(e){if("string"===typeof e)e=new URL(e);else if(!g(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){const e=new TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}const t=e.pathname;let n=-1;for(;++n<t.length;)if(37===t.charCodeAt(n)&&50===t.charCodeAt(n+1)){const e=t.charCodeAt(n+2);if(70===e||102===e){const e=new TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}const y=["history","path","basename","stem","extname","dirname"];class b{constructor(e){let t;t=e?"string"===typeof e||a(e)?{value:e}:g(e)?{path:e}:e:{},this.data={},this.messages=[],this.history=[],this.cwd=m.cwd(),this.value,this.stored,this.result,this.map;let n,r=-1;for(;++r<y.length;){const e=y[r];e in t&&void 0!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)y.includes(n)||(this[n]=t[n])}get path(){return this.history[this.history.length-1]}set path(e){g(e)&&(e=v(e)),w(e,"path"),this.path!==e&&this.history.push(e)}get dirname(){return"string"===typeof this.path?p.dirname(this.path):void 0}set dirname(e){_(this.basename,"dirname"),this.path=p.join(e||"",this.basename)}get basename(){return"string"===typeof this.path?p.basename(this.path):void 0}set basename(e){w(e,"basename"),x(e,"basename"),this.path=p.join(this.dirname||"",e)}get extname(){return"string"===typeof this.path?p.extname(this.path):void 0}set extname(e){if(x(e,"extname"),_(this.dirname,"extname"),e){if(46!==e.charCodeAt(0))throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=p.join(this.dirname,this.stem+(e||""))}get stem(){return"string"===typeof this.path?p.basename(this.path,this.extname):void 0}set stem(e){w(e,"stem"),x(e,"stem"),this.path=p.join(this.dirname||"",e+(this.extname||""))}toString(e){return(this.value||"").toString(e)}message(e,t,n){const r=new d(e,t,n);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}info(e,t,n){const r=this.message(e,t,n);return r.fatal=null,r}fail(e,t,n){const r=this.message(e,t,n);throw r.fatal=!0,r}}function x(e,t){if(e&&e.includes(p.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+p.sep+"`")}function w(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function _(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function k(e){if(e)throw e}var C=n(73469),S=n(94470);function E(e){if("[object Object]"!==Object.prototype.toString.call(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function T(){const e=[],t={run:function(...t){let n=-1;const r=t.pop();if("function"!==typeof r)throw new TypeError("Expected function as last argument, not "+r);!function o(i,...a){const s=e[++n];let l=-1;if(i)r(i);else{for(;++l<t.length;)null!==a[l]&&void 0!==a[l]||(a[l]=t[l]);t=a,s?function(e,t){let n;return r;function r(...t){const r=e.length>t.length;let s;r&&t.push(o);try{s=e(...t)}catch(i){const t=i;if(r&&n)throw t;return o(t)}r||(s instanceof Promise?s.then(a,o):s instanceof Error?o(s):a(s))}function o(e,...r){n||(n=!0,t(e,...r))}function a(e){o(null,e)}}(s,o)(...a):r(null,...a)}}(null,...t)},use:function(n){if("function"!==typeof n)throw new TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}const O=function e(){const t=T(),n=[];let r,o={},i=-1;return a.data=function(e,t){if("string"===typeof e)return 2===arguments.length?(N("data",r),o[e]=t,a):A.call(o,e)&&o[e]||null;if(e)return N("data",r),o=e,a;return o},a.Parser=void 0,a.Compiler=void 0,a.freeze=function(){if(r)return a;for(;++i<n.length;){const[e,...r]=n[i];if(!1===r[0])continue;!0===r[0]&&(r[1]=void 0);const o=e.call(a,...r);"function"===typeof o&&t.use(o)}return r=!0,i=Number.POSITIVE_INFINITY,a},a.attachers=n,a.use=function(e,...t){let i;if(N("use",r),null===e||void 0===e);else if("function"===typeof e)c(e,...t);else{if("object"!==typeof e)throw new TypeError("Expected usable value, not `"+e+"`");Array.isArray(e)?u(e):l(e)}i&&(o.settings=Object.assign(o.settings||{},i));return a;function s(e){if("function"===typeof e)c(e);else{if("object"!==typeof e)throw new TypeError("Expected usable value, not `"+e+"`");if(Array.isArray(e)){const[t,...n]=e;c(t,...n)}else l(e)}}function l(e){u(e.plugins),e.settings&&(i=Object.assign(i||{},e.settings))}function u(e){let t=-1;if(null===e||void 0===e);else{if(!Array.isArray(e))throw new TypeError("Expected a list of plugins, not `"+e+"`");for(;++t<e.length;){s(e[t])}}}function c(e,t){let r,o=-1;for(;++o<n.length;)if(n[o][0]===e){r=n[o];break}r?(E(r[1])&&E(t)&&(t=S(!0,r[1],t)),r[1]=t):n.push([...arguments])}},a.parse=function(e){a.freeze();const t=L(e),n=a.Parser;if(I("parse",n),j(n,"parse"))return new n(String(t),t).parse();return n(String(t),t)},a.stringify=function(e,t){a.freeze();const n=L(t),r=a.Compiler;if(P("stringify",r),R(e),j(r,"compile"))return new r(e,n).compile();return r(e,n)},a.run=function(e,n,r){R(e),a.freeze(),r||"function"!==typeof n||(r=n,n=void 0);if(!r)return new Promise(o);function o(o,i){function a(t,n,a){n=n||e,t?i(t):o?o(n):r(null,n,a)}t.run(e,L(n),a)}o(null,r)},a.runSync=function(e,t){let n,r;return a.run(e,t,o),Z("runSync","run",r),n;function o(e,t){k(e),n=t,r=!0}},a.process=function(e,t){if(a.freeze(),I("process",a.Parser),P("process",a.Compiler),!t)return new Promise(n);function n(n,r){const o=L(e);function i(e,o){e||!o?r(e):n?n(o):t(null,o)}a.run(a.parse(o),o,((e,t,n)=>{if(!e&&t&&n){const o=a.stringify(t,n);void 0===o||null===o||("string"===typeof(r=o)||C(r)?n.value=o:n.result=o),i(e,n)}else i(e);var r}))}n(null,t)},a.processSync=function(e){let t;a.freeze(),I("processSync",a.Parser),P("processSync",a.Compiler);const n=L(e);return a.process(n,r),Z("processSync","process",t),n;function r(e){t=!0,k(e)}},a;function a(){const t=e();let r=-1;for(;++r<n.length;)t.use(...n[r]);return t.data(S(!0,{},o)),t}}().freeze(),A={}.hasOwnProperty;function j(e,t){return"function"===typeof e&&e.prototype&&(function(e){let t;for(t in e)if(A.call(e,t))return!0;return!1}(e.prototype)||t in e.prototype)}function I(e,t){if("function"!==typeof t)throw new TypeError("Cannot `"+e+"` without `Parser`")}function P(e,t){if("function"!==typeof t)throw new TypeError("Cannot `"+e+"` without `Compiler`")}function N(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function R(e){if(!E(e)||"string"!==typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function Z(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function L(e){return function(e){return Boolean(e&&"object"===typeof e&&"message"in e&&"messages"in e)}(e)?e:new b(e)}function D(e,t){return e&&"object"===typeof e&&(e.value||(t?e.alt:"")||"children"in e&&F(e.children,t)||Array.isArray(e)&&F(e,t))||""}function F(e,t){for(var n=[],r=-1;++r<e.length;)n[r]=D(e[r],t);return n.join("")}function M(e,t,n,r){const o=e.length;let i,a=0;if(t=t<0?-t>o?0:o+t:t>o?o:t,n=n>0?n:0,r.length<1e4)i=Array.from(r),i.unshift(t,n),[].splice.apply(e,i);else for(n&&[].splice.apply(e,[t,n]);a<r.length;)i=r.slice(a,a+1e4),i.unshift(t,0),[].splice.apply(e,i),a+=1e4,t+=1e4}function z(e,t){return e.length>0?(M(e,e.length,0,t),e):t}const B={}.hasOwnProperty;function H(e,t){let n;for(n in t){const r=(B.call(e,n)?e[n]:void 0)||(e[n]={}),o=t[n];let i;for(i in o){B.call(r,i)||(r[i]=[]);const e=o[i];$(r[i],Array.isArray(e)?e:e?[e]:[])}}}function $(e,t){let n=-1;const r=[];for(;++n<t.length;)("after"===t[n].add?e:r).push(t[n]);M(e,0,0,r)}const U=ne(/[A-Za-z]/),V=ne(/\d/),G=ne(/[\dA-Fa-f]/),W=ne(/[\dA-Za-z]/),q=ne(/[!-/:-@[-`{-~]/),X=ne(/[#-'*+\--9=?A-Z^-~]/);function Y(e){return null!==e&&(e<32||127===e)}function K(e){return null!==e&&(e<0||32===e)}function Q(e){return null!==e&&e<-2}function J(e){return-2===e||-1===e||32===e}const ee=ne(/\s/),te=ne(/[!-/:-@[-`{-~\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/);function ne(e){return function(t){return null!==t&&e.test(String.fromCharCode(t))}}function re(e,t,n,r){const o=r?r-1:Number.POSITIVE_INFINITY;let i=0;return function(r){if(J(r))return e.enter(n),a(r);return t(r)};function a(r){return J(r)&&i++<o?(e.consume(r),a):(e.exit(n),t(r))}}const oe={tokenize:function(e){const t=e.attempt(this.parser.constructs.contentInitial,(function(n){if(null===n)return void e.consume(n);return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),re(e,t,"linePrefix")}),(function(t){return e.enter("paragraph"),r(t)}));let n;return t;function r(t){const r=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=r),n=r,o(t)}function o(t){return null===t?(e.exit("chunkText"),e.exit("paragraph"),void e.consume(t)):Q(t)?(e.consume(t),e.exit("chunkText"),r):(e.consume(t),o)}}};const ie={tokenize:function(e){const t=this,n=[];let r,o,i,a=0;return s;function s(r){if(a<n.length){const o=n[a];return t.containerState=o[1],e.attempt(o[0].continuation,l,u)(r)}return u(r)}function l(e){if(a++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,r&&y();const n=t.events.length;let o,i=n;for(;i--;)if("exit"===t.events[i][0]&&"chunkFlow"===t.events[i][1].type){o=t.events[i][1].end;break}v(a);let s=n;for(;s<t.events.length;)t.events[s][1].end=Object.assign({},o),s++;return M(t.events,i+1,0,t.events.slice(n)),t.events.length=s,u(e)}return s(e)}function u(o){if(a===n.length){if(!r)return d(o);if(r.currentConstruct&&r.currentConstruct.concrete)return h(o);t.interrupt=Boolean(r.currentConstruct)}return t.containerState={},e.check(ae,c,f)(o)}function c(e){return r&&y(),v(a),d(e)}function f(e){return t.parser.lazy[t.now().line]=a!==n.length,i=t.now().offset,h(e)}function d(n){return t.containerState={},e.attempt(ae,p,h)(n)}function p(e){return a++,n.push([t.currentConstruct,t.containerState]),d(e)}function h(n){return null===n?(r&&y(),v(0),void e.consume(n)):(r=r||t.parser.flow(t.now()),e.enter("chunkFlow",{contentType:"flow",previous:o,_tokenizer:r}),m(n))}function m(n){return null===n?(g(e.exit("chunkFlow"),!0),v(0),void e.consume(n)):Q(n)?(e.consume(n),g(e.exit("chunkFlow")),a=0,t.interrupt=void 0,s):(e.consume(n),m)}function g(e,n){const s=t.sliceStream(e);if(n&&s.push(null),e.previous=o,o&&(o.next=e),o=e,r.defineSkip(e.start),r.write(s),t.parser.lazy[e.start.line]){let e=r.events.length;for(;e--;)if(r.events[e][1].start.offset<i&&(!r.events[e][1].end||r.events[e][1].end.offset>i))return;const n=t.events.length;let o,s,l=n;for(;l--;)if("exit"===t.events[l][0]&&"chunkFlow"===t.events[l][1].type){if(o){s=t.events[l][1].end;break}o=!0}for(v(a),e=n;e<t.events.length;)t.events[e][1].end=Object.assign({},s),e++;M(t.events,l+1,0,t.events.slice(n)),t.events.length=e}}function v(r){let o=n.length;for(;o-- >r;){const r=n[o];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function y(){r.write([null]),o=void 0,r=void 0,t.containerState._closeFlow=void 0}}},ae={tokenize:function(e,t,n){return re(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};const se={tokenize:function(e,t,n){return re(e,(function(e){return null===e||Q(e)?t(e):n(e)}),"linePrefix")},partial:!0};function le(e){const t={};let n,r,o,i,a,s,l,u=-1;for(;++u<e.length;){for(;u in t;)u=t[u];if(n=e[u],u&&"chunkFlow"===n[1].type&&"listItemPrefix"===e[u-1][1].type&&(s=n[1]._tokenizer.events,o=0,o<s.length&&"lineEndingBlank"===s[o][1].type&&(o+=2),o<s.length&&"content"===s[o][1].type))for(;++o<s.length&&"content"!==s[o][1].type;)"chunkText"===s[o][1].type&&(s[o][1]._isInFirstContentOfListItem=!0,o++);if("enter"===n[0])n[1].contentType&&(Object.assign(t,ue(e,u)),u=t[u],l=!0);else if(n[1]._container){for(o=u,r=void 0;o--&&(i=e[o],"lineEnding"===i[1].type||"lineEndingBlank"===i[1].type);)"enter"===i[0]&&(r&&(e[r][1].type="lineEndingBlank"),i[1].type="lineEnding",r=o);r&&(n[1].end=Object.assign({},e[r][1].start),a=e.slice(r,u),a.unshift(n),M(e,r,u-r+1,a))}}return!l}function ue(e,t){const n=e[t][1],r=e[t][2];let o=t-1;const i=[],a=n._tokenizer||r.parser[n.contentType](n.start),s=a.events,l=[],u={};let c,f,d=-1,p=n,h=0,m=0;const g=[m];for(;p;){for(;e[++o][1]!==p;);i.push(o),p._tokenizer||(c=r.sliceStream(p),p.next||c.push(null),f&&a.defineSkip(p.start),p._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=!0),a.write(c),p._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=void 0)),f=p,p=p.next}for(p=n;++d<s.length;)"exit"===s[d][0]&&"enter"===s[d-1][0]&&s[d][1].type===s[d-1][1].type&&s[d][1].start.line!==s[d][1].end.line&&(m=d+1,g.push(m),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(a.events=[],p?(p._tokenizer=void 0,p.previous=void 0):g.pop(),d=g.length;d--;){const t=s.slice(g[d],g[d+1]),n=i.pop();l.unshift([n,n+t.length-1]),M(e,n,2,t)}for(d=-1;++d<l.length;)u[h+l[d][0]]=h+l[d][1],h+=l[d][1]-l[d][0]-1;return u}const ce={tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?o(t):Q(t)?e.check(fe,i,o)(t):(e.consume(t),r)}function o(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function i(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}},resolve:function(e){return le(e),e}},fe={tokenize:function(e,t,n){const r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),re(e,o,"linePrefix")};function o(o){if(null===o||Q(o))return n(o);const i=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}},partial:!0};const de={tokenize:function(e){const t=this,n=e.attempt(se,(function(r){if(null===r)return void e.consume(r);return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}),e.attempt(this.parser.constructs.flowInitial,r,re(e,e.attempt(this.parser.constructs.flow,r,e.attempt(ce,r)),"linePrefix")));return n;function r(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n;e.consume(r)}}};const pe={resolveAll:ve()},he=ge("string"),me=ge("text");function ge(e){return{tokenize:function(t){const n=this,r=this.parser.constructs[e],o=t.attempt(r,i,a);return i;function i(e){return l(e)?o(e):a(e)}function a(e){if(null!==e)return t.enter("data"),t.consume(e),s;t.consume(e)}function s(e){return l(e)?(t.exit("data"),o(e)):(t.consume(e),s)}function l(e){if(null===e)return!0;const t=r[e];let o=-1;if(t)for(;++o<t.length;){const e=t[o];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}},resolveAll:ve("text"===e?ye:void 0)}}function ve(e){return function(t,n){let r,o=-1;for(;++o<=t.length;)void 0===r?t[o]&&"data"===t[o][1].type&&(r=o,o++):t[o]&&"data"===t[o][1].type||(o!==r+2&&(t[r][1].end=t[o-1][1].end,t.splice(r+2,o-r-2),o=r+2),r=void 0);return e?e(t,n):t}}function ye(e,t){let n=-1;for(;++n<=e.length;)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){const r=e[n-1][1],o=t.sliceStream(r);let i,a=o.length,s=-1,l=0;for(;a--;){const e=o[a];if("string"===typeof e){for(s=e.length;32===e.charCodeAt(s-1);)l++,s--;if(s)break;s=-1}else if(-2===e)i=!0,l++;else if(-1!==e){a++;break}}if(l){const o={type:n===e.length||i||l<2?"lineSuffix":"hardBreakTrailing",start:{line:r.end.line,column:r.end.column-l,offset:r.end.offset-l,_index:r.start._index+a,_bufferIndex:a?s:r.start._bufferIndex+s},end:Object.assign({},r.end)};r.end=Object.assign({},o.start),r.start.offset===r.end.offset?Object.assign(r,o):(e.splice(n,0,["enter",o,t],["exit",o,t]),n+=2)}n++}return e}function be(e,t,n){const r=[];let o=-1;for(;++o<e.length;){const i=e[o].resolveAll;i&&!r.includes(i)&&(t=i(t,n),r.push(i))}return t}function xe(e,t,n){let r=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const o={},i=[];let a=[],s=[],l=!0;const u={consume:function(e){Q(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,x()):-1!==e&&(r.column++,r.offset++);r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===a[r._index].length&&(r._bufferIndex=-1,r._index++));c.previous=e,l=!0},enter:function(e,t){const n=t||{};return n.type=e,n.start=h(),c.events.push(["enter",n,c]),s.push(n),n},exit:function(e){const t=s.pop();return t.end=h(),c.events.push(["exit",t,c]),t},attempt:y((function(e,t){b(e,t.from)})),check:y(v),interrupt:y(v,{interrupt:!0})},c={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:p,sliceSerialize:function(e,t){return function(e,t){let n=-1;const r=[];let o;for(;++n<e.length;){const i=e[n];let a;if("string"===typeof i)a=i;else switch(i){case-5:a="\r";break;case-4:a="\n";break;case-3:a="\r\n";break;case-2:a=t?" ":"\t";break;case-1:if(!t&&o)continue;a=" ";break;default:a=String.fromCharCode(i)}o=-2===i,r.push(a)}return r.join("")}(p(e),t)},now:h,defineSkip:function(e){o[e.line]=e.column,x()},write:function(e){if(a=z(a,e),m(),null!==a[a.length-1])return[];return b(t,0),c.events=be(i,c.events,c),c.events}};let f,d=t.tokenize.call(c,u);return t.resolveAll&&i.push(t),c;function p(e){return function(e,t){const n=t.start._index,r=t.start._bufferIndex,o=t.end._index,i=t.end._bufferIndex;let a;n===o?a=[e[n].slice(r,i)]:(a=e.slice(n,o),r>-1&&(a[0]=a[0].slice(r)),i>0&&a.push(e[o].slice(0,i)));return a}(a,e)}function h(){return Object.assign({},r)}function m(){let e;for(;r._index<a.length;){const t=a[r._index];if("string"===typeof t)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<t.length;)g(t.charCodeAt(r._bufferIndex));else g(t)}}function g(e){l=void 0,f=e,d=d(e)}function v(e,t){t.restore()}function y(e,t){return function(n,o,i){let a,f,d,p;return Array.isArray(n)?m(n):"tokenize"in n?m([n]):function(e){return t;function t(t){const n=null!==t&&e[t],r=null!==t&&e.null;return m([...Array.isArray(n)?n:n?[n]:[],...Array.isArray(r)?r:r?[r]:[]])(t)}}(n);function m(e){return a=e,f=0,0===e.length?i:g(e[f])}function g(e){return function(n){p=function(){const e=h(),t=c.previous,n=c.currentConstruct,o=c.events.length,i=Array.from(s);return{restore:a,from:o};function a(){r=e,c.previous=t,c.currentConstruct=n,c.events.length=o,s=i,x()}}(),d=e,e.partial||(c.currentConstruct=e);if(e.name&&c.parser.constructs.disable.null.includes(e.name))return y(n);return e.tokenize.call(t?Object.assign(Object.create(c),t):c,u,v,y)(n)}}function v(t){return l=!0,e(d,p),o}function y(e){return l=!0,p.restore(),++f<a.length?g(a[f]):i}}}function b(e,t){e.resolveAll&&!i.includes(e)&&i.push(e),e.resolve&&M(c.events,t,c.events.length-t,e.resolve(c.events.slice(t),c)),e.resolveTo&&(c.events=e.resolveTo(c.events,c))}function x(){r.line in o&&r.column<2&&(r.column=o[r.line],r.offset+=o[r.line]-1)}}const we={name:"thematicBreak",tokenize:function(e,t,n){let r,o=0;return function(t){return e.enter("thematicBreak"),r=t,i(t)};function i(s){return s===r?(e.enter("thematicBreakSequence"),a(s)):J(s)?re(e,i,"whitespace")(s):o<3||null!==s&&!Q(s)?n(s):(e.exit("thematicBreak"),t(s))}function a(t){return t===r?(e.consume(t),o++,a):(e.exit("thematicBreakSequence"),i(t))}}};const _e={name:"list",tokenize:function(e,t,n){const r=this,o=r.events[r.events.length-1];let i=o&&"linePrefix"===o[1].type?o[2].sliceSerialize(o[1],!0).length:0,a=0;return function(t){const o=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===o?!r.containerState.marker||t===r.containerState.marker:V(t)){if(r.containerState.type||(r.containerState.type=o,e.enter(o,{_container:!0})),"listUnordered"===o)return e.enter("listItemPrefix"),42===t||45===t?e.check(we,n,l)(t):l(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),s(t)}return n(t)};function s(t){return V(t)&&++a<10?(e.consume(t),s):(!r.interrupt||a<2)&&(r.containerState.marker?t===r.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),l(t)):n(t)}function l(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(se,r.interrupt?n:u,e.attempt(ke,f,c))}function u(e){return r.containerState.initialBlankLine=!0,i++,f(e)}function c(t){return J(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),f):n(t)}function f(n){return r.containerState.size=i+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}},continuation:{tokenize:function(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(se,o,i);function o(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,re(e,t,"listItemIndent",r.containerState.size+1)(n)}function i(n){return r.containerState.furtherBlankLines||!J(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,a(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(Ce,t,a)(n))}function a(o){return r.containerState._closeFlow=!0,r.interrupt=void 0,re(e,e.attempt(_e,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}},exit:function(e){e.exit(this.containerState.type)}},ke={tokenize:function(e,t,n){const r=this;return re(e,(function(e){const o=r.events[r.events.length-1];return!J(e)&&o&&"listItemPrefixWhitespace"===o[1].type?t(e):n(e)}),"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},Ce={tokenize:function(e,t,n){const r=this;return re(e,(function(e){const o=r.events[r.events.length-1];return o&&"listItemIndent"===o[1].type&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?t(e):n(e)}),"listItemIndent",r.containerState.size+1)},partial:!0};const Se={name:"blockQuote",tokenize:function(e,t,n){const r=this;return function(t){if(62===t){const n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),o}return n(t)};function o(n){return J(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}},continuation:{tokenize:function(e,t,n){return re(e,e.attempt(Se,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},exit:function(e){e.exit("blockQuote")}};function Ee(e,t,n,r,o,i,a,s,l){const u=l||Number.POSITIVE_INFINITY;let c=0;return function(t){if(60===t)return e.enter(r),e.enter(o),e.enter(i),e.consume(t),e.exit(i),f;if(null===t||41===t||Y(t))return n(t);return e.enter(r),e.enter(a),e.enter(s),e.enter("chunkString",{contentType:"string"}),h(t)};function f(n){return 62===n?(e.enter(i),e.consume(n),e.exit(i),e.exit(o),e.exit(r),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),d(n))}function d(t){return 62===t?(e.exit("chunkString"),e.exit(s),f(t)):null===t||60===t||Q(t)?n(t):(e.consume(t),92===t?p:d)}function p(t){return 60===t||62===t||92===t?(e.consume(t),d):d(t)}function h(o){return 40===o?++c>u?n(o):(e.consume(o),h):41===o?c--?(e.consume(o),h):(e.exit("chunkString"),e.exit(s),e.exit(a),e.exit(r),t(o)):null===o||K(o)?c?n(o):(e.exit("chunkString"),e.exit(s),e.exit(a),e.exit(r),t(o)):Y(o)?n(o):(e.consume(o),92===o?m:h)}function m(t){return 40===t||41===t||92===t?(e.consume(t),h):h(t)}}function Te(e,t,n,r,o,i){const a=this;let s,l=0;return function(t){return e.enter(r),e.enter(o),e.consume(t),e.exit(o),e.enter(i),u};function u(f){return null===f||91===f||93===f&&!s||94===f&&!l&&"_hiddenFootnoteSupport"in a.parser.constructs||l>999?n(f):93===f?(e.exit(i),e.enter(o),e.consume(f),e.exit(o),e.exit(r),t):Q(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),u):(e.enter("chunkString",{contentType:"string"}),c(f))}function c(t){return null===t||91===t||93===t||Q(t)||l++>999?(e.exit("chunkString"),u(t)):(e.consume(t),s=s||!J(t),92===t?f:c)}function f(t){return 91===t||92===t||93===t?(e.consume(t),l++,c):c(t)}}function Oe(e,t,n,r,o,i){let a;return function(t){return e.enter(r),e.enter(o),e.consume(t),e.exit(o),a=40===t?41:t,s};function s(n){return n===a?(e.enter(o),e.consume(n),e.exit(o),e.exit(r),t):(e.enter(i),l(n))}function l(t){return t===a?(e.exit(i),s(a)):null===t?n(t):Q(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),re(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),u(t))}function u(t){return t===a||null===t||Q(t)?(e.exit("chunkString"),l(t)):(e.consume(t),92===t?c:u)}function c(t){return t===a||92===t?(e.consume(t),u):u(t)}}function Ae(e,t){let n;return function r(o){if(Q(o))return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),n=!0,r;if(J(o))return re(e,r,n?"linePrefix":"lineSuffix")(o);return t(o)}}function je(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Ie={name:"definition",tokenize:function(e,t,n){const r=this;let o;return function(t){return e.enter("definition"),Te.call(r,e,i,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)};function i(t){return o=je(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),Ae(e,Ee(e,e.attempt(Pe,re(e,a,"whitespace"),re(e,a,"whitespace")),n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):n(t)}function a(i){return null===i||Q(i)?(e.exit("definition"),r.parser.defined.includes(o)||r.parser.defined.push(o),t(i)):n(i)}}},Pe={tokenize:function(e,t,n){return function(t){return K(t)?Ae(e,r)(t):n(t)};function r(t){return 34===t||39===t||40===t?Oe(e,re(e,o,"whitespace"),n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t):n(t)}function o(e){return null===e||Q(e)?t(e):n(e)}},partial:!0};const Ne={name:"codeIndented",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("codeIndented"),re(e,o,"linePrefix",5)(t)};function o(e){const t=r.events[r.events.length-1];return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?i(e):n(e)}function i(t){return null===t?s(t):Q(t)?e.attempt(Re,i,s)(t):(e.enter("codeFlowValue"),a(t))}function a(t){return null===t||Q(t)?(e.exit("codeFlowValue"),i(t)):(e.consume(t),a)}function s(n){return e.exit("codeIndented"),t(n)}}},Re={tokenize:function(e,t,n){const r=this;return o;function o(t){return r.parser.lazy[r.now().line]?n(t):Q(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o):re(e,i,"linePrefix",5)(t)}function i(e){const i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?t(e):Q(e)?o(e):n(e)}},partial:!0};const Ze={name:"headingAtx",tokenize:function(e,t,n){const r=this;let o=0;return function(t){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),i(t)};function i(s){return 35===s&&o++<6?(e.consume(s),i):null===s||K(s)?(e.exit("atxHeadingSequence"),r.interrupt?t(s):a(s)):n(s)}function a(n){return 35===n?(e.enter("atxHeadingSequence"),s(n)):null===n||Q(n)?(e.exit("atxHeading"),t(n)):J(n)?re(e,a,"whitespace")(n):(e.enter("atxHeadingText"),l(n))}function s(t){return 35===t?(e.consume(t),s):(e.exit("atxHeadingSequence"),a(t))}function l(t){return null===t||35===t||K(t)?(e.exit("atxHeadingText"),a(t)):(e.consume(t),l)}},resolve:function(e,t){let n,r,o=e.length-2,i=3;"whitespace"===e[i][1].type&&(i+=2);o-2>i&&"whitespace"===e[o][1].type&&(o-=2);"atxHeadingSequence"===e[o][1].type&&(i===o-1||o-4>i&&"whitespace"===e[o-2][1].type)&&(o-=i+1===o?2:4);o>i&&(n={type:"atxHeadingText",start:e[i][1].start,end:e[o][1].end},r={type:"chunkText",start:e[i][1].start,end:e[o][1].end,contentType:"text"},M(e,i,o-i+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]]));return e}};const Le={name:"setextUnderline",tokenize:function(e,t,n){const r=this;let o,i,a=r.events.length;for(;a--;)if("lineEnding"!==r.events[a][1].type&&"linePrefix"!==r.events[a][1].type&&"content"!==r.events[a][1].type){i="paragraph"===r.events[a][1].type;break}return function(t){if(!r.parser.lazy[r.now().line]&&(r.interrupt||i))return e.enter("setextHeadingLine"),e.enter("setextHeadingLineSequence"),o=t,s(t);return n(t)};function s(t){return t===o?(e.consume(t),s):(e.exit("setextHeadingLineSequence"),re(e,l,"lineSuffix")(t))}function l(r){return null===r||Q(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}},resolveTo:function(e,t){let n,r,o,i=e.length;for(;i--;)if("enter"===e[i][0]){if("content"===e[i][1].type){n=i;break}"paragraph"===e[i][1].type&&(r=i)}else"content"===e[i][1].type&&e.splice(i,1),o||"definition"!==e[i][1].type||(o=i);const a={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};e[r][1].type="setextHeadingText",o?(e.splice(r,0,["enter",a,t]),e.splice(o+1,0,["exit",e[n][1],t]),e[n][1].end=Object.assign({},e[o][1].end)):e[n][1]=a;return e.push(["exit",a,t]),e}};const De=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Fe=["pre","script","style","textarea"],Me={name:"htmlFlow",tokenize:function(e,t,n){const r=this;let o,i,a,s,l;return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),u};function u(s){return 33===s?(e.consume(s),c):47===s?(e.consume(s),p):63===s?(e.consume(s),o=3,r.interrupt?t:R):U(s)?(e.consume(s),a=String.fromCharCode(s),i=!0,h):n(s)}function c(i){return 45===i?(e.consume(i),o=2,f):91===i?(e.consume(i),o=5,a="CDATA[",s=0,d):U(i)?(e.consume(i),o=4,r.interrupt?t:R):n(i)}function f(o){return 45===o?(e.consume(o),r.interrupt?t:R):n(o)}function d(o){return o===a.charCodeAt(s++)?(e.consume(o),s===a.length?r.interrupt?t:E:d):n(o)}function p(t){return U(t)?(e.consume(t),a=String.fromCharCode(t),h):n(t)}function h(s){return null===s||47===s||62===s||K(s)?47!==s&&i&&Fe.includes(a.toLowerCase())?(o=1,r.interrupt?t(s):E(s)):De.includes(a.toLowerCase())?(o=6,47===s?(e.consume(s),m):r.interrupt?t(s):E(s)):(o=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(s):i?v(s):g(s)):45===s||W(s)?(e.consume(s),a+=String.fromCharCode(s),h):n(s)}function m(o){return 62===o?(e.consume(o),r.interrupt?t:E):n(o)}function g(t){return J(t)?(e.consume(t),g):C(t)}function v(t){return 47===t?(e.consume(t),C):58===t||95===t||U(t)?(e.consume(t),y):J(t)?(e.consume(t),v):C(t)}function y(t){return 45===t||46===t||58===t||95===t||W(t)?(e.consume(t),y):b(t)}function b(t){return 61===t?(e.consume(t),x):J(t)?(e.consume(t),b):v(t)}function x(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),l=t,w):J(t)?(e.consume(t),x):(l=null,_(t))}function w(t){return null===t||Q(t)?n(t):t===l?(e.consume(t),k):(e.consume(t),w)}function _(t){return null===t||34===t||39===t||60===t||61===t||62===t||96===t||K(t)?b(t):(e.consume(t),_)}function k(e){return 47===e||62===e||J(e)?v(e):n(e)}function C(t){return 62===t?(e.consume(t),S):n(t)}function S(t){return J(t)?(e.consume(t),S):null===t||Q(t)?E(t):n(t)}function E(t){return 45===t&&2===o?(e.consume(t),j):60===t&&1===o?(e.consume(t),I):62===t&&4===o?(e.consume(t),Z):63===t&&3===o?(e.consume(t),R):93===t&&5===o?(e.consume(t),N):!Q(t)||6!==o&&7!==o?null===t||Q(t)?T(t):(e.consume(t),E):e.check(ze,Z,T)(t)}function T(t){return e.exit("htmlFlowData"),O(t)}function O(t){return null===t?L(t):Q(t)?e.attempt({tokenize:A,partial:!0},O,L)(t):(e.enter("htmlFlowData"),E(t))}function A(e,t,n){return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o};function o(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}function j(t){return 45===t?(e.consume(t),R):E(t)}function I(t){return 47===t?(e.consume(t),a="",P):E(t)}function P(t){return 62===t&&Fe.includes(a.toLowerCase())?(e.consume(t),Z):U(t)&&a.length<8?(e.consume(t),a+=String.fromCharCode(t),P):E(t)}function N(t){return 93===t?(e.consume(t),R):E(t)}function R(t){return 62===t?(e.consume(t),Z):45===t&&2===o?(e.consume(t),R):E(t)}function Z(t){return null===t||Q(t)?(e.exit("htmlFlowData"),L(t)):(e.consume(t),Z)}function L(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2));return e},concrete:!0},ze={tokenize:function(e,t,n){return function(r){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),e.attempt(se,t,n)}},partial:!0};const Be={name:"codeFenced",tokenize:function(e,t,n){const r=this,o={tokenize:function(e,t,n){let r=0;return re(e,o,"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function o(t){return e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),i(t)}function i(t){return t===l?(e.consume(t),r++,i):r<u?n(t):(e.exit("codeFencedFenceSequence"),re(e,a,"whitespace")(t))}function a(r){return null===r||Q(r)?(e.exit("codeFencedFence"),t(r)):n(r)}},partial:!0},i={tokenize:function(e,t,n){const r=this;return o;function o(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i}function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},a=this.events[this.events.length-1],s=a&&"linePrefix"===a[1].type?a[2].sliceSerialize(a[1],!0).length:0;let l,u=0;return function(t){return e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),l=t,c(t)};function c(t){return t===l?(e.consume(t),u++,c):(e.exit("codeFencedFenceSequence"),u<3?n(t):re(e,f,"whitespace")(t))}function f(t){return null===t||Q(t)?m(t):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),d(t))}function d(t){return null===t||K(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),re(e,p,"whitespace")(t)):96===t&&t===l?n(t):(e.consume(t),d)}function p(t){return null===t||Q(t)?m(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),h(t))}function h(t){return null===t||Q(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),m(t)):96===t&&t===l?n(t):(e.consume(t),h)}function m(n){return e.exit("codeFencedFence"),r.interrupt?t(n):g(n)}function g(t){return null===t?y(t):Q(t)?e.attempt(i,e.attempt(o,y,s?re(e,g,"linePrefix",s+1):g),y)(t):(e.enter("codeFlowValue"),v(t))}function v(t){return null===t||Q(t)?(e.exit("codeFlowValue"),g(t)):(e.consume(t),v)}function y(n){return e.exit("codeFenced"),t(n)}},concrete:!0};const He=document.createElement("i");function $e(e){const t="&"+e+";";He.innerHTML=t;const n=He.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&(n!==t&&n)}const Ue={name:"characterReference",tokenize:function(e,t,n){const r=this;let o,i,a=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),s};function s(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),o=31,i=W,u(t))}function l(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),o=6,i=G,u):(e.enter("characterReferenceValue"),o=7,i=V,u(t))}function u(s){let l;return 59===s&&a?(l=e.exit("characterReferenceValue"),i!==W||$e(r.sliceSerialize(l))?(e.enter("characterReferenceMarker"),e.consume(s),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(s)):i(s)&&a++<o?(e.consume(s),u):n(s)}}};const Ve={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),r};function r(r){return q(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}};const Ge={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),re(e,t,"linePrefix")}}};const We={name:"labelEnd",tokenize:function(e,t,n){const r=this;let o,i,a=r.events.length;for(;a--;)if(("labelImage"===r.events[a][1].type||"labelLink"===r.events[a][1].type)&&!r.events[a][1]._balanced){o=r.events[a][1];break}return function(t){if(!o)return n(t);return o._inactive?l(t):(i=r.parser.defined.includes(je(r.sliceSerialize({start:o.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),s)};function s(n){return 40===n?e.attempt(qe,t,i?t:l)(n):91===n?e.attempt(Xe,t,i?e.attempt(Ye,t,l):l)(n):i?t(n):l(n)}function l(e){return o._balanced=!0,n(e)}},resolveTo:function(e,t){let n,r,o,i,a=e.length,s=0;for(;a--;)if(n=e[a][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[a][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(o){if("enter"===e[a][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=a,"labelLink"!==n.type)){s=2;break}}else"labelEnd"===n.type&&(o=a);const l={type:"labelLink"===e[r][1].type?"link":"image",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)},u={type:"label",start:Object.assign({},e[r][1].start),end:Object.assign({},e[o][1].end)},c={type:"labelText",start:Object.assign({},e[r+s+2][1].end),end:Object.assign({},e[o-2][1].start)};return i=[["enter",l,t],["enter",u,t]],i=z(i,e.slice(r+1,r+s+3)),i=z(i,[["enter",c,t]]),i=z(i,be(t.parser.constructs.insideSpan.null,e.slice(r+s+4,o-3),t)),i=z(i,[["exit",c,t],e[o-2],e[o-1],["exit",u,t]]),i=z(i,e.slice(o+1)),i=z(i,[["exit",l,t]]),M(e,r,e.length,i),e},resolveAll:function(e){let t,n=-1;for(;++n<e.length;)t=e[n][1],"labelImage"!==t.type&&"labelLink"!==t.type&&"labelEnd"!==t.type||(e.splice(n+1,"labelImage"===t.type?4:2),t.type="data",n++);return e}},qe={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),Ae(e,r)};function r(t){return 41===t?a(t):Ee(e,o,n,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",3)(t)}function o(t){return K(t)?Ae(e,i)(t):a(t)}function i(t){return 34===t||39===t||40===t?Oe(e,Ae(e,a),n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):a(t)}function a(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},Xe={tokenize:function(e,t,n){const r=this;return function(t){return Te.call(r,e,o,n,"reference","referenceMarker","referenceString")(t)};function o(e){return r.parser.defined.includes(je(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}}},Ye={tokenize:function(e,t,n){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),r};function r(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),t):n(r)}}};const Ke={name:"labelStartImage",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),o};function o(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),i):n(t)}function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},resolveAll:We.resolveAll};function Qe(e){return null===e||K(e)||ee(e)?1:te(e)?2:void 0}const Je={name:"attention",tokenize:function(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,o=Qe(r);let i;return function(t){return e.enter("attentionSequence"),i=t,a(t)};function a(s){if(s===i)return e.consume(s),a;const l=e.exit("attentionSequence"),u=Qe(s),c=!u||2===u&&o||n.includes(s),f=!o||2===o&&u||n.includes(r);return l._open=Boolean(42===i?c:c&&(o||!f)),l._close=Boolean(42===i?f:f&&(u||!c)),t(s)}},resolveAll:function(e,t){let n,r,o,i,a,s,l,u,c=-1;for(;++c<e.length;)if("enter"===e[c][0]&&"attentionSequence"===e[c][1].type&&e[c][1]._close)for(n=c;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[c][1]).charCodeAt(0)){if((e[n][1]._close||e[c][1]._open)&&(e[c][1].end.offset-e[c][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[c][1].end.offset-e[c][1].start.offset)%3))continue;s=e[n][1].end.offset-e[n][1].start.offset>1&&e[c][1].end.offset-e[c][1].start.offset>1?2:1;const f=Object.assign({},e[n][1].end),d=Object.assign({},e[c][1].start);et(f,-s),et(d,s),i={type:s>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},e[n][1].end)},a={type:s>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[c][1].start),end:d},o={type:s>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[c][1].start)},r={type:s>1?"strong":"emphasis",start:Object.assign({},i.start),end:Object.assign({},a.end)},e[n][1].end=Object.assign({},i.start),e[c][1].start=Object.assign({},a.end),l=[],e[n][1].end.offset-e[n][1].start.offset&&(l=z(l,[["enter",e[n][1],t],["exit",e[n][1],t]])),l=z(l,[["enter",r,t],["enter",i,t],["exit",i,t],["enter",o,t]]),l=z(l,be(t.parser.constructs.insideSpan.null,e.slice(n+1,c),t)),l=z(l,[["exit",o,t],["enter",a,t],["exit",a,t],["exit",r,t]]),e[c][1].end.offset-e[c][1].start.offset?(u=2,l=z(l,[["enter",e[c][1],t],["exit",e[c][1],t]])):u=0,M(e,n-1,c-n+3,l),c=n+l.length-u-2;break}c=-1;for(;++c<e.length;)"attentionSequence"===e[c][1].type&&(e[c][1].type="data");return e}};function et(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const tt={name:"autolink",tokenize:function(e,t,n){let r=1;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),o};function o(t){return U(t)?(e.consume(t),i):X(t)?l(t):n(t)}function i(e){return 43===e||45===e||46===e||W(e)?a(e):l(e)}function a(t){return 58===t?(e.consume(t),s):(43===t||45===t||46===t||W(t))&&r++<32?(e.consume(t),a):l(t)}function s(t){return 62===t?(e.exit("autolinkProtocol"),d(t)):null===t||32===t||60===t||Y(t)?n(t):(e.consume(t),s)}function l(t){return 64===t?(e.consume(t),r=0,u):X(t)?(e.consume(t),l):n(t)}function u(e){return W(e)?c(e):n(e)}function c(t){return 46===t?(e.consume(t),r=0,u):62===t?(e.exit("autolinkProtocol").type="autolinkEmail",d(t)):f(t)}function f(t){return(45===t||W(t))&&r++<63?(e.consume(t),45===t?f:c):n(t)}function d(n){return e.enter("autolinkMarker"),e.consume(n),e.exit("autolinkMarker"),e.exit("autolink"),t}}};const nt={name:"htmlText",tokenize:function(e,t,n){const r=this;let o,i,a,s;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),l};function l(t){return 33===t?(e.consume(t),u):47===t?(e.consume(t),_):63===t?(e.consume(t),x):U(t)?(e.consume(t),S):n(t)}function u(t){return 45===t?(e.consume(t),c):91===t?(e.consume(t),i="CDATA[",a=0,m):U(t)?(e.consume(t),b):n(t)}function c(t){return 45===t?(e.consume(t),f):n(t)}function f(t){return null===t||62===t?n(t):45===t?(e.consume(t),d):p(t)}function d(e){return null===e||62===e?n(e):p(e)}function p(t){return null===t?n(t):45===t?(e.consume(t),h):Q(t)?(s=p,N(t)):(e.consume(t),p)}function h(t){return 45===t?(e.consume(t),Z):p(t)}function m(t){return t===i.charCodeAt(a++)?(e.consume(t),a===i.length?g:m):n(t)}function g(t){return null===t?n(t):93===t?(e.consume(t),v):Q(t)?(s=g,N(t)):(e.consume(t),g)}function v(t){return 93===t?(e.consume(t),y):g(t)}function y(t){return 62===t?Z(t):93===t?(e.consume(t),y):g(t)}function b(t){return null===t||62===t?Z(t):Q(t)?(s=b,N(t)):(e.consume(t),b)}function x(t){return null===t?n(t):63===t?(e.consume(t),w):Q(t)?(s=x,N(t)):(e.consume(t),x)}function w(e){return 62===e?Z(e):x(e)}function _(t){return U(t)?(e.consume(t),k):n(t)}function k(t){return 45===t||W(t)?(e.consume(t),k):C(t)}function C(t){return Q(t)?(s=C,N(t)):J(t)?(e.consume(t),C):Z(t)}function S(t){return 45===t||W(t)?(e.consume(t),S):47===t||62===t||K(t)?E(t):n(t)}function E(t){return 47===t?(e.consume(t),Z):58===t||95===t||U(t)?(e.consume(t),T):Q(t)?(s=E,N(t)):J(t)?(e.consume(t),E):Z(t)}function T(t){return 45===t||46===t||58===t||95===t||W(t)?(e.consume(t),T):O(t)}function O(t){return 61===t?(e.consume(t),A):Q(t)?(s=O,N(t)):J(t)?(e.consume(t),O):E(t)}function A(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),o=t,j):Q(t)?(s=A,N(t)):J(t)?(e.consume(t),A):(e.consume(t),o=void 0,P)}function j(t){return t===o?(e.consume(t),I):null===t?n(t):Q(t)?(s=j,N(t)):(e.consume(t),j)}function I(e){return 62===e||47===e||K(e)?E(e):n(e)}function P(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):62===t||K(t)?E(t):(e.consume(t),P)}function N(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),re(e,R,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function R(t){return e.enter("htmlTextData"),s(t)}function Z(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}}};const rt={name:"labelStartLink",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),o};function o(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},resolveAll:We.resolveAll};const ot={name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.enter("escapeMarker"),e.consume(t),r};function r(r){return Q(r)?(e.exit("escapeMarker"),e.exit("hardBreakEscape"),t(r)):n(r)}}};const it={name:"codeText",tokenize:function(e,t,n){let r,o,i=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),a(t)};function a(t){return 96===t?(e.consume(t),i++,a):(e.exit("codeTextSequence"),s(t))}function s(t){return null===t?n(t):96===t?(o=e.enter("codeTextSequence"),r=0,u(t)):32===t?(e.enter("space"),e.consume(t),e.exit("space"),s):Q(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),s):(e.enter("codeTextData"),l(t))}function l(t){return null===t||32===t||96===t||Q(t)?(e.exit("codeTextData"),s(t)):(e.consume(t),l)}function u(n){return 96===n?(e.consume(n),r++,u):r===i?(e.exit("codeTextSequence"),e.exit("codeText"),t(n)):(o.type="codeTextData",l(n))}},resolve:function(e){let t,n,r=e.length-4,o=3;if(("lineEnding"===e[o][1].type||"space"===e[o][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type))for(t=o;++t<r;)if("codeTextData"===e[t][1].type){e[o][1].type="codeTextPadding",e[r][1].type="codeTextPadding",o+=2,r-=2;break}t=o-1,r++;for(;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):t!==r&&"lineEnding"!==e[t][1].type||(e[n][1].type="codeTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type}};const at={42:_e,43:_e,45:_e,48:_e,49:_e,50:_e,51:_e,52:_e,53:_e,54:_e,55:_e,56:_e,57:_e,62:Se},st={91:Ie},lt={[-2]:Ne,[-1]:Ne,32:Ne},ut={35:Ze,42:we,45:[Le,we],60:Me,61:Le,95:we,96:Be,126:Be},ct={38:Ue,92:Ve},ft={[-5]:Ge,[-4]:Ge,[-3]:Ge,33:Ke,38:Ue,42:Je,60:[tt,nt],91:rt,92:[ot,Ve],93:We,95:Je,96:it},dt={null:[Je,pe]},pt={null:[42,95]},ht={null:[]};function mt(e={}){const t=function(e){const t={};let n=-1;for(;++n<e.length;)H(t,e[n]);return t}([r].concat(e.extensions||[])),n={defined:[],lazy:{},constructs:t,content:o(oe),document:o(ie),flow:o(de),string:o(he),text:o(me)};return n;function o(e){return function(t){return xe(n,e,t)}}}const gt=/[\0\t\n\r]/g;function vt(e,t){const n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||65535===(65535&n)||65534===(65535&n)||n>1114111?"\ufffd":String.fromCharCode(n)}const yt=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function bt(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){const e=n.charCodeAt(1),t=120===e||88===e;return vt(n.slice(t?2:1),t?16:10)}return $e(n)||e}const xt={}.hasOwnProperty,wt=function(e,t,n){return"string"!==typeof t&&(n=t,t=void 0),function(e={}){const t=_t({transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:u(ie),autolinkProtocol:A,autolinkEmail:A,atxHeading:u(te),blockQuote:u(Y),characterEscape:A,characterReference:A,codeFenced:u(K),codeFencedFenceInfo:c,codeFencedFenceMeta:c,codeIndented:u(K,c),codeText:u(Q,c),codeTextData:A,data:A,codeFlowValue:A,definition:u(J),definitionDestinationString:c,definitionLabelString:c,definitionTitleString:c,emphasis:u(ee),hardBreakEscape:u(ne),hardBreakTrailing:u(ne),htmlFlow:u(re,c),htmlFlowData:A,htmlText:u(re,c),htmlTextData:A,image:u(oe),label:c,link:u(ie),listItem:u(se),listItemValue:g,listOrdered:u(ae,m),listUnordered:u(ae),paragraph:u(le),reference:U,referenceString:c,resourceDestinationString:c,resourceTitleString:c,setextHeading:u(te),strong:u(ue),thematicBreak:u(fe)},exit:{atxHeading:d(),atxHeadingSequence:S,autolink:d(),autolinkEmail:X,autolinkProtocol:q,blockQuote:d(),characterEscapeValue:j,characterReferenceMarkerHexadecimal:G,characterReferenceMarkerNumeric:G,characterReferenceValue:W,codeFenced:d(x),codeFencedFence:b,codeFencedFenceInfo:v,codeFencedFenceMeta:y,codeFlowValue:j,codeIndented:d(w),codeText:d(Z),codeTextData:j,data:j,definition:d(),definitionDestinationString:C,definitionLabelString:_,definitionTitleString:k,emphasis:d(),hardBreakEscape:d(P),hardBreakTrailing:d(P),htmlFlow:d(N),htmlFlowData:j,htmlText:d(R),htmlTextData:j,image:d(F),label:z,labelText:M,lineEnding:I,link:d(L),listItem:d(),listOrdered:d(),listUnordered:d(),paragraph:d(),referenceString:V,resourceDestinationString:B,resourceTitleString:H,resource:$,setextHeading:d(O),setextHeadingLineSequence:T,setextHeadingText:E,strong:d(),thematicBreak:d()}},e.mdastExtensions||[]),n={};return r;function r(e){let n={type:"root",children:[]};const r=[],l=[],u={stack:[n],tokenStack:r,config:t,enter:f,exit:p,buffer:c,resume:h,setData:i,getData:a};let d=-1;for(;++d<e.length;)if("listOrdered"===e[d][1].type||"listUnordered"===e[d][1].type)if("enter"===e[d][0])l.push(d);else{d=o(e,l.pop(),d)}for(d=-1;++d<e.length;){const n=t[e[d][0]];xt.call(n,e[d][1].type)&&n[e[d][1].type].call(Object.assign({sliceSerialize:e[d][2].sliceSerialize},u),e[d][1])}if(r.length>0){const e=r[r.length-1];(e[1]||Ct).call(u,void 0,e[0])}for(n.position={start:s(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:s(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},d=-1;++d<t.transforms.length;)n=t.transforms[d](n)||n;return n}function o(e,t,n){let r,o,i,a,s=t-1,l=-1,u=!1;for(;++s<=n;){const t=e[s];if("listUnordered"===t[1].type||"listOrdered"===t[1].type||"blockQuote"===t[1].type?("enter"===t[0]?l++:l--,a=void 0):"lineEndingBlank"===t[1].type?"enter"===t[0]&&(!r||a||l||i||(i=s),a=void 0):"linePrefix"===t[1].type||"listItemValue"===t[1].type||"listItemMarker"===t[1].type||"listItemPrefix"===t[1].type||"listItemPrefixWhitespace"===t[1].type||(a=void 0),!l&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===l&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(r){let a=s;for(o=void 0;a--;){const t=e[a];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;o&&(e[o][1].type="lineEndingBlank",u=!0),t[1].type="lineEnding",o=a}else if("linePrefix"!==t[1].type&&"blockQuotePrefix"!==t[1].type&&"blockQuotePrefixWhitespace"!==t[1].type&&"blockQuoteMarker"!==t[1].type&&"listItemIndent"!==t[1].type)break}i&&(!o||i<o)&&(r._spread=!0),r.end=Object.assign({},o?e[o][1].start:t[1].end),e.splice(o||s,0,["exit",r,t[2]]),s++,n++}"listItemPrefix"===t[1].type&&(r={type:"listItem",_spread:!1,start:Object.assign({},t[1].start)},e.splice(s,0,["enter",r,t[2]]),s++,n++,i=void 0,a=!0)}}return e[t][1]._spread=u,n}function i(e,t){n[e]=t}function a(e){return n[e]}function s(e){return{line:e.line,column:e.column,offset:e.offset}}function u(e,t){return n;function n(n){f.call(this,e(n),n),t&&t.call(this,n)}}function c(){this.stack.push({type:"fragment",children:[]})}function f(e,t,n){return this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n]),e.position={start:s(t.start)},e}function d(e){return t;function t(t){e&&e.call(this,t),p.call(this,t)}}function p(e){const t=this.stack.pop(),n=this.tokenStack.pop();if(!n)throw new Error("Cannot close `"+e.type+"` ("+l({start:e.start,end:e.end})+"): it\u2019s not open");if(n[0].type!==e.type){(n[1]||Ct).call(this,e,n[0])}return t.position.end=s(e.end),t}function h(){return function(e,t){var{includeImageAlt:n=!0}=t||{};return D(e,n)}(this.stack.pop())}function m(){i("expectingFirstListItemValue",!0)}function g(e){if(a("expectingFirstListItemValue")){this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),i("expectingFirstListItemValue")}}function v(){const e=this.resume();this.stack[this.stack.length-1].lang=e}function y(){const e=this.resume();this.stack[this.stack.length-1].meta=e}function b(){a("flowCodeInside")||(this.buffer(),i("flowCodeInside",!0))}function x(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),i("flowCodeInside")}function w(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}function _(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=je(this.sliceSerialize(e)).toLowerCase()}function k(){const e=this.resume();this.stack[this.stack.length-1].title=e}function C(){const e=this.resume();this.stack[this.stack.length-1].url=e}function S(e){const t=this.stack[this.stack.length-1];if(!t.depth){const n=this.sliceSerialize(e).length;t.depth=n}}function E(){i("setextHeadingSlurpLineEnding",!0)}function T(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).charCodeAt(0)?1:2}function O(){i("setextHeadingSlurpLineEnding")}function A(e){const t=this.stack[this.stack.length-1];let n=t.children[t.children.length-1];n&&"text"===n.type||(n=ce(),n.position={start:s(e.start)},t.children.push(n)),this.stack.push(n)}function j(e){const t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=s(e.end)}function I(e){const n=this.stack[this.stack.length-1];if(a("atHardBreak")){return n.children[n.children.length-1].position.end=s(e.end),void i("atHardBreak")}!a("setextHeadingSlurpLineEnding")&&t.canContainEols.includes(n.type)&&(A.call(this,e),j.call(this,e))}function P(){i("atHardBreak",!0)}function N(){const e=this.resume();this.stack[this.stack.length-1].value=e}function R(){const e=this.resume();this.stack[this.stack.length-1].value=e}function Z(){const e=this.resume();this.stack[this.stack.length-1].value=e}function L(){const e=this.stack[this.stack.length-1];a("inReference")?(e.type+="Reference",e.referenceType=a("referenceType")||"shortcut",delete e.url,delete e.title):(delete e.identifier,delete e.label),i("referenceType")}function F(){const e=this.stack[this.stack.length-1];a("inReference")?(e.type+="Reference",e.referenceType=a("referenceType")||"shortcut",delete e.url,delete e.title):(delete e.identifier,delete e.label),i("referenceType")}function M(e){const t=this.stack[this.stack.length-2],n=this.sliceSerialize(e);t.label=function(e){return e.replace(yt,bt)}(n),t.identifier=je(n).toLowerCase()}function z(){const e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];i("inReference",!0),"link"===n.type?n.children=e.children:n.alt=t}function B(){const e=this.resume();this.stack[this.stack.length-1].url=e}function H(){const e=this.resume();this.stack[this.stack.length-1].title=e}function $(){i("inReference")}function U(){i("referenceType","collapsed")}function V(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=je(this.sliceSerialize(e)).toLowerCase(),i("referenceType","full")}function G(e){i("characterReferenceType",e.type)}function W(e){const t=this.sliceSerialize(e),n=a("characterReferenceType");let r;n?(r=vt(t,"characterReferenceMarkerNumeric"===n?10:16),i("characterReferenceType")):r=$e(t);const o=this.stack.pop();o.value+=r,o.position.end=s(e.end)}function q(e){j.call(this,e);this.stack[this.stack.length-1].url=this.sliceSerialize(e)}function X(e){j.call(this,e);this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)}function Y(){return{type:"blockquote",children:[]}}function K(){return{type:"code",lang:null,meta:null,value:""}}function Q(){return{type:"inlineCode",value:""}}function J(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function ee(){return{type:"emphasis",children:[]}}function te(){return{type:"heading",depth:void 0,children:[]}}function ne(){return{type:"break"}}function re(){return{type:"html",value:""}}function oe(){return{type:"image",title:null,url:"",alt:null}}function ie(){return{type:"link",title:null,url:"",children:[]}}function ae(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}function se(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}function le(){return{type:"paragraph",children:[]}}function ue(){return{type:"strong",children:[]}}function ce(){return{type:"text",value:""}}function fe(){return{type:"thematicBreak"}}}(n)(function(e){for(;!le(e););return e}(mt(n).document().write(function(){let e,t=1,n="",r=!0;return function(o,i,a){const s=[];let l,u,c,f,d;for(o=n+o.toString(i),c=0,n="",r&&(65279===o.charCodeAt(0)&&c++,r=void 0);c<o.length;){if(gt.lastIndex=c,l=gt.exec(o),f=l&&void 0!==l.index?l.index:o.length,d=o.charCodeAt(f),!l){n=o.slice(c);break}if(10===d&&c===f&&e)s.push(-3),e=void 0;else switch(e&&(s.push(-5),e=void 0),c<f&&(s.push(o.slice(c,f)),t+=f-c),d){case 0:s.push(65533),t++;break;case 9:for(u=4*Math.ceil(t/4),s.push(-2);t++<u;)s.push(-1);break;case 10:s.push(-4),t=1;break;default:e=!0,t=1}c=f+1}return a&&(e&&s.push(-5),n&&s.push(n),s.push(null)),s}}()(e,t,!0))))};function _t(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?_t(e,r):kt(e,r)}return e}function kt(e,t){let n;for(n in t)if(xt.call(t,n)){const r="canContainEols"===n||"transforms"===n,o=(xt.call(e,n)?e[n]:void 0)||(e[n]=r?[]:{}),i=t[n];i&&(r?e[n]=[...o,...i]:Object.assign(o,i))}}function Ct(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+l({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+l({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+l({start:t.start,end:t.end})+") is still open")}var St=function(e){Object.assign(this,{Parser:t=>{const n=this.data("settings");return wt(t,Object.assign({},n,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})},Et=function(e,t,n){var r={type:String(e)};return void 0!==n&&null!==n||"string"!==typeof t&&!Array.isArray(t)?Object.assign(r,t):n=t,Array.isArray(n)?r.children=n:void 0!==n&&null!==n&&(r.value=String(n)),r};const Tt=function(e){if(void 0===e||null===e)return At;if("string"===typeof e)return function(e){return Ot(t);function t(t){return t&&t.type===e}}(e);if("object"===typeof e)return Array.isArray(e)?function(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Tt(e[n]);return Ot(r);function r(...e){let n=-1;for(;++n<t.length;)if(t[n].call(this,...e))return!0;return!1}}(e):function(e){return Ot(t);function t(t){let n;for(n in e)if(t[n]!==e[n])return!1;return!0}}(e);if("function"===typeof e)return Ot(e);throw new Error("Expected function, string, or object as test")};function Ot(e){return function(...t){return Boolean(e.call(this,...t))}}function At(){return!0}const jt=function(e,t,n,r){"function"===typeof t&&"function"!==typeof n&&(r=n,n=t,t=null);const o=Tt(t),i=r?-1:1;!function e(a,s,l){const u="object"===typeof a&&null!==a?a:{};let c;"string"===typeof u.type&&(c="string"===typeof u.tagName?u.tagName:"string"===typeof u.name?u.name:void 0,Object.defineProperty(f,"name",{value:"node ("+u.type+(c?"<"+c+">":"")+")"}));return f;function f(){let u,c,f,d=[];if((!t||o(a,s,l[l.length-1]||null))&&(d=function(e){if(Array.isArray(e))return e;if("number"===typeof e)return[true,e];return[e]}(n(a,l)),false===d[0]))return d;if(a.children&&"skip"!==d[0])for(c=(r?a.children.length:-1)+i,f=l.concat(a);c>-1&&c<a.children.length;){if(u=e(a.children[c],c,f)(),false===u[0])return u;c="number"===typeof u[1]?u[1]:c+i}return d}}(e,null,[])()};const It=function(e,t,n,r){"function"===typeof t&&"function"!==typeof n&&(r=n,n=t,t=null),jt(e,t,(function(e,t){const r=t[t.length-1];return n(e,r?r.children.indexOf(e):null,r)}),r)};var Pt=Rt("start"),Nt=Rt("end");function Rt(e){return function(t){var n=t&&t.position&&t.position[e]||{};return{line:n.line||null,column:n.column||null,offset:n.offset>-1?n.offset:null}}}const Zt=function(e,t,n,r){"function"===typeof t&&"function"!==typeof n&&(r=n,n=t,t=null);var o=Tt(t),i=r?-1:1;!function e(a,s,l){var u,c="object"===typeof a&&null!==a?a:{};"string"===typeof c.type&&(u="string"===typeof c.tagName?c.tagName:"string"===typeof c.name?c.name:void 0,Object.defineProperty(f,"name",{value:"node ("+c.type+(u?"<"+u+">":"")+")"}));return f;function f(){var u,c,f,d=[];if((!t||o(a,s,l[l.length-1]||null))&&(d=function(e){if(Array.isArray(e))return e;if("number"===typeof e)return[true,e];return[e]}(n(a,l)),false===d[0]))return d;if(a.children&&"skip"!==d[0])for(c=(r?a.children.length:-1)+i,f=l.concat(a);c>-1&&c<a.children.length;){if(u=e(a.children[c],c,f)(),false===u[0])return u;c="number"===typeof u[1]?u[1]:c+i}return d}}(e,null,[])()};const Lt={}.hasOwnProperty;function Dt(e){const t=Object.create(null);if(!e||!e.type)throw new Error("mdast-util-definitions expected node");var n,r,o;return r=function(e){const n=Ft(e.identifier);n&&!Lt.call(t,n)&&(t[n]=e)},"function"===typeof(n="definition")&&"function"!==typeof r&&(o=r,r=n,n=null),Zt(e,n,(function(e,t){var n=t[t.length-1];return r(e,n?n.children.indexOf(e):null,n)}),o),function(e){const n=Ft(e);return n&&Lt.call(t,n)?t[n]:null}}function Ft(e){return String(e||"").toUpperCase()}const Mt={}.hasOwnProperty;function zt(e,t){const n=t.data||{};return"value"in t&&!(Mt.call(n,"hName")||Mt.call(n,"hProperties")||Mt.call(n,"hChildren"))?e.augment(t,Et("text",t.value)):e(t,"div",$t(e,t))}function Bt(e,t,n){const r=t&&t.type;let o;if(!r)throw new Error("Expected node, got `"+t+"`");return o=Mt.call(e.handlers,r)?e.handlers[r]:e.passThrough&&e.passThrough.includes(r)?Ht:e.unknownHandler,("function"===typeof o?o:zt)(e,t,n)}function Ht(e,t){return"children"in t?{...t,children:$t(e,t)}:t}function $t(e,t){const n=[];if("children"in t){const r=t.children;let o=-1;for(;++o<r.length;){const i=Bt(e,r[o],t);if(i){if(o&&"break"===r[o-1].type&&(Array.isArray(i)||"text"!==i.type||(i.value=i.value.replace(/^\s+/,"")),!Array.isArray(i)&&"element"===i.type)){const e=i.children[0];e&&"text"===e.type&&(e.value=e.value.replace(/^\s+/,""))}Array.isArray(i)?n.push(...i):n.push(i)}}}return n}function Ut(e,t){return e(t,"hr")}function Vt(e,t){const n=[];let r=-1;for(t&&n.push(Et("text","\n"));++r<e.length;)r&&n.push(Et("text","\n")),n.push(e[r]);return t&&e.length>0&&n.push(Et("text","\n")),n}function Gt(e,t){const n={},r=t.ordered?"ol":"ul",o=$t(e,t);let i=-1;for("number"===typeof t.start&&1!==t.start&&(n.start=t.start);++i<o.length;){const e=o[i];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}return e(t,r,n,Vt(o,!0))}function Wt(e,t){const n=e.footnoteOrder,r=String(t.identifier),o=n.indexOf(r),i=String(-1===o?n.push(r):o+1);return e(t,"a",{href:"#fn"+i,className:["footnote-ref"],id:"fnref"+i,role:"doc-noteref"},[e(t.position,"sup",[Et("text",i)])])}var qt=n(70729);function Xt(e,t){const n=t.referenceType;let r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return Et("text","!["+t.alt+r);const o=$t(e,t),i=o[0];i&&"text"===i.type?i.value="["+i.value:o.unshift(Et("text","["));const a=o[o.length-1];return a&&"text"===a.type?a.value+=r:o.push(Et("text",r)),o}function Yt(e){const t=e.spread;return void 0===t||null===t?e.children.length>1:t}const Kt={blockquote:function(e,t){return e(t,"blockquote",Vt($t(e,t),!0))},break:function(e,t){return[e(t,"br"),Et("text","\n")]},code:function(e,t){const n=t.value?t.value+"\n":"",r=t.lang&&t.lang.match(/^[^ \t]+(?=[ \t]|$)/),o={};r&&(o.className=["language-"+r]);const i=e(t,"code",o,[Et("text",n)]);return t.meta&&(i.data={meta:t.meta}),e(t.position,"pre",[i])},delete:function(e,t){return e(t,"del",$t(e,t))},emphasis:function(e,t){return e(t,"em",$t(e,t))},footnoteReference:Wt,footnote:function(e,t){const n=e.footnoteById,r=e.footnoteOrder;let o=1;for(;o in n;)o++;const i=String(o);return r.push(i),n[i]={type:"footnoteDefinition",identifier:i,children:[{type:"paragraph",children:t.children}],position:t.position},Wt(e,{type:"footnoteReference",identifier:i,position:t.position})},heading:function(e,t){return e(t,"h"+t.depth,$t(e,t))},html:function(e,t){return e.dangerous?e.augment(t,Et("raw",t.value)):null},imageReference:function(e,t){const n=e.definition(t.identifier);if(!n)return Xt(e,t);const r={src:qt(n.url||""),alt:t.alt};return null!==n.title&&void 0!==n.title&&(r.title=n.title),e(t,"img",r)},image:function(e,t){const n={src:qt(t.url),alt:t.alt};return null!==t.title&&void 0!==t.title&&(n.title=t.title),e(t,"img",n)},inlineCode:function(e,t){return e(t,"code",[Et("text",t.value.replace(/\r?\n|\r/g," "))])},linkReference:function(e,t){const n=e.definition(t.identifier);if(!n)return Xt(e,t);const r={href:qt(n.url||"")};return null!==n.title&&void 0!==n.title&&(r.title=n.title),e(t,"a",r,$t(e,t))},link:function(e,t){const n={href:qt(t.url)};return null!==t.title&&void 0!==t.title&&(n.title=t.title),e(t,"a",n,$t(e,t))},listItem:function(e,t,n){const r=$t(e,t),o=n?function(e){let t=e.spread;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=Yt(n[r]);return Boolean(t)}(n):Yt(t),i={},a=[];if("boolean"===typeof t.checked){let n;r[0]&&"element"===r[0].type&&"p"===r[0].tagName?n=r[0]:(n=e(null,"p",[]),r.unshift(n)),n.children.length>0&&n.children.unshift(Et("text"," ")),n.children.unshift(e(null,"input",{type:"checkbox",checked:t.checked,disabled:!0})),i.className=["task-list-item"]}let s=-1;for(;++s<r.length;){const e=r[s];(o||0!==s||"element"!==e.type||"p"!==e.tagName)&&a.push(Et("text","\n")),"element"!==e.type||"p"!==e.tagName||o?a.push(e):a.push(...e.children)}const l=r[r.length-1];return!l||!o&&"tagName"in l&&"p"===l.tagName||a.push(Et("text","\n")),e(t,"li",i,a)},list:Gt,paragraph:function(e,t){return e(t,"p",$t(e,t))},root:function(e,t){return e.augment(t,Et("root",Vt($t(e,t))))},strong:function(e,t){return e(t,"strong",$t(e,t))},table:function(e,t){const n=t.children;let r=-1;const o=t.align||[],i=[];for(;++r<n.length;){const a=n[r].children,s=0===r?"th":"td";let l=t.align?o.length:a.length;const u=[];for(;l--;){const t=a[l];u[l]=e(t,s,{align:o[l]},t?$t(e,t):[])}i[r]=e(n[r],"tr",Vt(u,!0))}return e(t,"table",Vt([e(i[0].position,"thead",Vt([i[0]],!0))].concat(i[1]?e({start:Pt(i[1]),end:Nt(i[i.length-1])},"tbody",Vt(i.slice(1),!0)):[]),!0))},text:function(e,t){return e.augment(t,Et("text",String(t.value).replace(/[ \t]*(\r?\n|\r)[ \t]*/g,"$1")))},thematicBreak:Ut,toml:Qt,yaml:Qt,definition:Qt,footnoteDefinition:Qt};function Qt(){return null}const Jt={}.hasOwnProperty;function en(e,t){const n=function(e,t){const n=t||{},r=n.allowDangerousHtml||!1,o={};return a.dangerous=r,a.definition=Dt(e),a.footnoteById=o,a.footnoteOrder=[],a.augment=i,a.handlers={...Kt,...n.handlers},a.unknownHandler=n.unknownHandler,a.passThrough=n.passThrough,It(e,"footnoteDefinition",(e=>{const t=String(e.identifier).toUpperCase();Jt.call(o,t)||(o[t]=e)})),a;function i(e,t){if(e&&"data"in e&&e.data){const n=e.data;n.hName&&("element"!==t.type&&(t={type:"element",tagName:"",properties:{},children:[]}),t.tagName=n.hName),"element"===t.type&&n.hProperties&&(t.properties={...t.properties,...n.hProperties}),"children"in t&&t.children&&n.hChildren&&(t.children=n.hChildren)}if(e){const r="type"in e?e:{position:e};(n=r)&&n.position&&n.position.start&&n.position.start.line&&n.position.start.column&&n.position.end&&n.position.end.line&&n.position.end.column&&(t.position={start:Pt(r),end:Nt(r)})}var n;return t}function a(e,t,n,r){return Array.isArray(n)&&(r=n,n={}),i(e,{type:"element",tagName:t,properties:n||{},children:r||[]})}}(e,t),r=Bt(n,e,null),o=function(e){const t=e.footnoteById,n=e.footnoteOrder;let r=-1;const o=[];for(;++r<n.length;){const e=t[n[r].toUpperCase()];if(!e)continue;const i=String(r+1),a=[...e.children],s={type:"link",url:"#fnref"+i,data:{hProperties:{className:["footnote-back"],role:"doc-backlink"}},children:[{type:"text",value:"\u21a9"}]},l=a[a.length-1];l&&"paragraph"===l.type?l.children.push(s):a.push(s),o.push({type:"listItem",data:{hProperties:{id:"fn"+i,role:"doc-endnote"}},children:a,position:e.position})}return 0===o.length?null:e(null,"section",{className:["footnotes"],role:"doc-endnotes"},Vt([Ut(e),Gt(e,{type:"list",ordered:!0,children:o})],!0))}(n);return o&&r.children.push(Et("text","\n"),o),Array.isArray(r)?{type:"root",children:r}:r}var tn=function(e,t){return e&&"run"in e?function(e,t){return(n,r,o)=>{e.run(en(n,t),r,(e=>{o(e)}))}}(e,t):function(e){return t=>en(t,e)}(e)};var nn=n(45697);class rn{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}}function on(e,t){const n={},r={};let o=-1;for(;++o<e.length;)Object.assign(n,e[o].property),Object.assign(r,e[o].normal);return new rn(n,r,t)}function an(e){return e.toLowerCase()}rn.prototype.property={},rn.prototype.normal={},rn.prototype.space=null;class sn{constructor(e,t){this.property=e,this.attribute=t}}sn.prototype.space=null,sn.prototype.boolean=!1,sn.prototype.booleanish=!1,sn.prototype.overloadedBoolean=!1,sn.prototype.number=!1,sn.prototype.commaSeparated=!1,sn.prototype.spaceSeparated=!1,sn.prototype.commaOrSpaceSeparated=!1,sn.prototype.mustUseProperty=!1,sn.prototype.defined=!1;let ln=0;const un=gn(),cn=gn(),fn=gn(),dn=gn(),pn=gn(),hn=gn(),mn=gn();function gn(){return 2**++ln}const vn=Object.keys(o);class yn extends sn{constructor(e,t,n,r){let i=-1;if(super(e,t),bn(this,"space",r),"number"===typeof n)for(;++i<vn.length;){const e=vn[i];bn(this,vn[i],(n&o[e])===o[e])}}}function bn(e,t,n){n&&(e[t]=n)}yn.prototype.defined=!0;const xn={}.hasOwnProperty;function wn(e){const t={},n={};let r;for(r in e.properties)if(xn.call(e.properties,r)){const o=e.properties[r],i=new yn(r,e.transform(e.attributes||{},r),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[an(r)]=r,n[an(i.attribute)]=r}return new rn(t,n,e.space)}const _n=wn({space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),kn=wn({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Cn(e,t){return t in e?e[t]:t}function Sn(e,t){return Cn(e,t.toLowerCase())}const En=wn({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:Sn,properties:{xmlns:null,xmlnsXLink:null}}),Tn=wn({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:cn,ariaAutoComplete:null,ariaBusy:cn,ariaChecked:cn,ariaColCount:dn,ariaColIndex:dn,ariaColSpan:dn,ariaControls:pn,ariaCurrent:null,ariaDescribedBy:pn,ariaDetails:null,ariaDisabled:cn,ariaDropEffect:pn,ariaErrorMessage:null,ariaExpanded:cn,ariaFlowTo:pn,ariaGrabbed:cn,ariaHasPopup:null,ariaHidden:cn,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:pn,ariaLevel:dn,ariaLive:null,ariaModal:cn,ariaMultiLine:cn,ariaMultiSelectable:cn,ariaOrientation:null,ariaOwns:pn,ariaPlaceholder:null,ariaPosInSet:dn,ariaPressed:cn,ariaReadOnly:cn,ariaRelevant:null,ariaRequired:cn,ariaRoleDescription:pn,ariaRowCount:dn,ariaRowIndex:dn,ariaRowSpan:dn,ariaSelected:cn,ariaSetSize:dn,ariaSort:null,ariaValueMax:dn,ariaValueMin:dn,ariaValueNow:dn,ariaValueText:null,role:null}}),On=wn({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:Sn,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:hn,acceptCharset:pn,accessKey:pn,action:null,allow:null,allowFullScreen:un,allowPaymentRequest:un,allowUserMedia:un,alt:null,as:null,async:un,autoCapitalize:null,autoComplete:pn,autoFocus:un,autoPlay:un,capture:un,charSet:null,checked:un,cite:null,className:pn,cols:dn,colSpan:null,content:null,contentEditable:cn,controls:un,controlsList:pn,coords:dn|hn,crossOrigin:null,data:null,dateTime:null,decoding:null,default:un,defer:un,dir:null,dirName:null,disabled:un,download:fn,draggable:cn,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:un,formTarget:null,headers:pn,height:dn,hidden:un,high:dn,href:null,hrefLang:null,htmlFor:pn,httpEquiv:pn,id:null,imageSizes:null,imageSrcSet:null,inputMode:null,integrity:null,is:null,isMap:un,itemId:null,itemProp:pn,itemRef:pn,itemScope:un,itemType:pn,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:un,low:dn,manifest:null,max:null,maxLength:dn,media:null,method:null,min:null,minLength:dn,multiple:un,muted:un,name:null,nonce:null,noModule:un,noValidate:un,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:un,optimum:dn,pattern:null,ping:pn,placeholder:null,playsInline:un,poster:null,preload:null,readOnly:un,referrerPolicy:null,rel:pn,required:un,reversed:un,rows:dn,rowSpan:dn,sandbox:pn,scope:null,scoped:un,seamless:un,selected:un,shape:null,size:dn,sizes:null,slot:null,span:dn,spellCheck:cn,src:null,srcDoc:null,srcLang:null,srcSet:null,start:dn,step:null,style:null,tabIndex:dn,target:null,title:null,translate:null,type:null,typeMustMatch:un,useMap:null,value:cn,width:dn,wrap:null,align:null,aLink:null,archive:pn,axis:null,background:null,bgColor:null,border:dn,borderColor:null,bottomMargin:dn,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:un,declare:un,event:null,face:null,frame:null,frameBorder:null,hSpace:dn,leftMargin:dn,link:null,longDesc:null,lowSrc:null,marginHeight:dn,marginWidth:dn,noResize:un,noHref:un,noShade:un,noWrap:un,object:null,profile:null,prompt:null,rev:null,rightMargin:dn,rules:null,scheme:null,scrolling:cn,standby:null,summary:null,text:null,topMargin:dn,valueType:null,version:null,vAlign:null,vLink:null,vSpace:dn,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:un,disableRemotePlayback:un,prefix:null,property:null,results:dn,security:null,unselectable:null}}),An=wn({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:Cn,properties:{about:mn,accentHeight:dn,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:dn,amplitude:dn,arabicForm:null,ascent:dn,attributeName:null,attributeType:null,azimuth:dn,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:dn,by:null,calcMode:null,capHeight:dn,className:pn,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:dn,diffuseConstant:dn,direction:null,display:null,dur:null,divisor:dn,dominantBaseline:null,download:un,dx:null,dy:null,edgeMode:null,editable:null,elevation:dn,enableBackground:null,end:null,event:null,exponent:dn,externalResourcesRequired:null,fill:null,fillOpacity:dn,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:hn,g2:hn,glyphName:hn,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:dn,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:dn,horizOriginX:dn,horizOriginY:dn,id:null,ideographic:dn,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:dn,k:dn,k1:dn,k2:dn,k3:dn,k4:dn,kernelMatrix:mn,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:dn,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:dn,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:dn,overlineThickness:dn,paintOrder:null,panose1:null,path:null,pathLength:dn,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:pn,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:dn,pointsAtY:dn,pointsAtZ:dn,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:mn,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:mn,rev:mn,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:mn,requiredFeatures:mn,requiredFonts:mn,requiredFormats:mn,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:dn,specularExponent:dn,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:dn,strikethroughThickness:dn,string:null,stroke:null,strokeDashArray:mn,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:dn,strokeOpacity:dn,strokeWidth:null,style:null,surfaceScale:dn,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:mn,tabIndex:dn,tableValues:null,target:null,targetX:dn,targetY:dn,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:mn,to:null,transform:null,u1:null,u2:null,underlinePosition:dn,underlineThickness:dn,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:dn,values:null,vAlphabetic:dn,vMathematical:dn,vectorEffect:null,vHanging:dn,vIdeographic:dn,version:null,vertAdvY:dn,vertOriginX:dn,vertOriginY:dn,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:dn,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),jn=on([kn,_n,En,Tn,On],"html"),In=on([kn,_n,En,Tn,An],"svg");function Pn(e){if(e.allowedElements&&e.disallowedElements)throw new TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return t=>{It(t,"element",((t,n,r)=>{const o=r;let i;if(e.allowedElements?i=!e.allowedElements.includes(t.tagName):e.disallowedElements&&(i=e.disallowedElements.includes(t.tagName)),!i&&e.allowElement&&"number"===typeof n&&(i=!e.allowElement(t,n,o)),i&&"number"===typeof n)return e.unwrapDisallowed&&t.children?o.children.splice(n,1,...t.children):o.children.splice(n,1),n}))}}const Nn=["http","https","mailto","tel"];var Rn=n(59864);function Zn(e){var t=e&&"object"===typeof e&&"text"===e.type?e.value||"":e;return"string"===typeof t&&""===t.replace(/[ \t\n\f\r]/g,"")}const Ln=/^data[-\w.:]+$/i,Dn=/-[a-z]/g,Fn=/[A-Z]/g;function Mn(e){return"-"+e.toLowerCase()}function zn(e){return e.charAt(1).toUpperCase()}const Bn={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var Hn=n(57848);const $n={}.hasOwnProperty,Un=new Set(["table","thead","tbody","tfoot","tr"]);function Vn(e,t){const n=[];let r,o=-1;for(;++o<t.children.length;)r=t.children[o],"element"===r.type?n.push(Gn(e,r,o,t)):"text"===r.type?"element"===t.type&&Un.has(t.tagName)&&Zn(r)||n.push(r.value):"raw"!==r.type||e.options.skipHtml||n.push(r.value);return n}function Gn(e,t,n,r){const o=e.options,a=e.schema,s=t.tagName,l={};let u,c=a;if("html"===a.space&&"svg"===s&&(c=In,e.schema=c),t.properties)for(u in t.properties)$n.call(t.properties,u)&&qn(l,u,t.properties[u],e);"ol"!==s&&"ul"!==s||e.listDepth++;const f=Vn(e,t);"ol"!==s&&"ul"!==s||e.listDepth--,e.schema=a;const d=t.position||{start:{line:null,column:null,offset:null},end:{line:null,column:null,offset:null}},p=o.components&&$n.call(o.components,s)?o.components[s]:s,h="string"===typeof p||p===i.Fragment;if(!Rn.isValidElementType(p))throw new TypeError(`Component for name \`${s}\` not defined or is not renderable`);if(l.key=[s,d.start.line,d.start.column,n].join("-"),"a"===s&&o.linkTarget&&(l.target="function"===typeof o.linkTarget?o.linkTarget(String(l.href||""),t.children,"string"===typeof l.title?l.title:null):o.linkTarget),"a"===s&&o.transformLinkUri&&(l.href=o.transformLinkUri(String(l.href||""),t.children,"string"===typeof l.title?l.title:null)),h||"code"!==s||"element"!==r.type||"pre"===r.tagName||(l.inline=!0),h||"h1"!==s&&"h2"!==s&&"h3"!==s&&"h4"!==s&&"h5"!==s&&"h6"!==s||(l.level=Number.parseInt(s.charAt(1),10)),"img"===s&&o.transformImageUri&&(l.src=o.transformImageUri(String(l.src||""),String(l.alt||""),"string"===typeof l.title?l.title:null)),!h&&"li"===s&&"element"===r.type){const e=function(e){let t=-1;for(;++t<e.children.length;){const n=e.children[t];if("element"===n.type&&"input"===n.tagName)return n}return null}(t);l.checked=e&&e.properties?Boolean(e.properties.checked):null,l.index=Wn(r,t),l.ordered="ol"===r.tagName}var m;return h||"ol"!==s&&"ul"!==s||(l.ordered="ol"===s,l.depth=e.listDepth),"td"!==s&&"th"!==s||(l.align&&(l.style||(l.style={}),l.style.textAlign=l.align,delete l.align),h||(l.isHeader="th"===s)),h||"tr"!==s||"element"!==r.type||(l.isHeader=Boolean("thead"===r.tagName)),o.sourcePos&&(l["data-sourcepos"]=[(m=d).start.line,":",m.start.column,"-",m.end.line,":",m.end.column].map((e=>String(e))).join("")),!h&&o.rawSourcePos&&(l.sourcePosition=t.position),!h&&o.includeElementIndex&&(l.index=Wn(r,t),l.siblingCount=Wn(r)),h||(l.node=t),f.length>0?i.createElement(p,l,f):i.createElement(p,l)}function Wn(e,t){let n=-1,r=0;for(;++n<e.children.length&&e.children[n]!==t;)"element"===e.children[n].type&&r++;return r}function qn(e,t,n,r){const o=function(e,t){const n=an(t);let r=t,o=sn;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&Ln.test(t)){if("-"===t.charAt(4)){const e=t.slice(5).replace(Dn,zn);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!Dn.test(e)){let n=e.replace(Fn,Mn);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}o=yn}return new o(r,t)}(r.schema,t);let i=n;null!==i&&void 0!==i&&i===i&&(Array.isArray(i)&&(i=o.commaSeparated?function(e,t){var n=t||{};return""===e[e.length-1]&&(e=e.concat("")),e.join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}(i):i.join(" ").trim()),"style"===o.property&&"string"===typeof i&&(i=function(e){const t={};try{Hn(e,n)}catch{}return t;function n(e,n){const r="-ms-"===e.slice(0,4)?`ms-${e.slice(4)}`:e;t[r.replace(/-([a-z])/g,Xn)]=n}}(i)),o.space&&o.property?e[$n.call(Bn,o.property)?Bn[o.property]:o.property]=i:o.attribute&&(e[o.attribute]=i))}function Xn(e,t){return t.toUpperCase()}const Yn={}.hasOwnProperty,Kn={renderers:{to:"components",id:"change-renderers-to-components"},astPlugins:{id:"remove-buggy-html-in-markdown-parser"},allowDangerousHtml:{id:"remove-buggy-html-in-markdown-parser"},escapeHtml:{id:"remove-buggy-html-in-markdown-parser"},source:{to:"children",id:"change-source-to-children"},allowNode:{to:"allowElement",id:"replace-allownode-allowedtypes-and-disallowedtypes"},allowedTypes:{to:"allowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},disallowedTypes:{to:"disallowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},includeNodeIndex:{to:"includeElementIndex",id:"change-includenodeindex-to-includeelementindex"}};function Qn(e){for(const i in Kn)if(Yn.call(Kn,i)&&Yn.call(e,i)){const e=Kn[i];console.warn(`[react-markdown] Warning: please ${e.to?`use \`${e.to}\` instead of`:"remove"} \`${i}\` (see <https://github.com/remarkjs/react-markdown/blob/main/changelog.md#${e.id}> for more info)`),delete Kn[i]}const t=O().use(St).use(e.remarkPlugins||e.plugins||[]).use(tn,{allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(Pn,e),n=new b;"string"===typeof e.children?n.value=e.children:void 0!==e.children&&null!==e.children&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`);const r=t.runSync(t.parse(n),n);if("root"!==r.type)throw new TypeError("Expected a `root` node");let o=i.createElement(i.Fragment,{},Vn({options:e,schema:jn,listDepth:0},r));return e.className&&(o=i.createElement("div",{className:e.className},o)),o}Qn.defaultProps={transformLinkUri:function(e){const t=(e||"").trim(),n=t.charAt(0);if("#"===n||"/"===n)return t;const r=t.indexOf(":");if(-1===r)return t;let o=-1;for(;++o<Nn.length;){const e=Nn[o];if(r===e.length&&t.slice(0,e.length).toLowerCase()===e)return t}return o=t.indexOf("?"),-1!==o&&r>o?t:(o=t.indexOf("#"),-1!==o&&r>o?t:"javascript:void(0)")}},Qn.propTypes={children:nn.string,className:nn.string,allowElement:nn.func,allowedElements:nn.arrayOf(nn.string),disallowedElements:nn.arrayOf(nn.string),unwrapDisallowed:nn.bool,remarkPlugins:nn.arrayOf(nn.oneOfType([nn.object,nn.func,nn.arrayOf(nn.oneOfType([nn.object,nn.func]))])),rehypePlugins:nn.arrayOf(nn.oneOfType([nn.object,nn.func,nn.arrayOf(nn.oneOfType([nn.object,nn.func]))])),sourcePos:nn.bool,rawSourcePos:nn.bool,skipHtml:nn.bool,includeElementIndex:nn.bool,transformLinkUri:nn.oneOfType([nn.func,nn.bool]),linkTarget:nn.oneOfType([nn.func,nn.string]),transformImageUri:nn.func,components:nn.object}},47489:function(e,t){"use strict";const n=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],r=(()=>{if("undefined"===typeof document)return!1;const e=n[0],t={};for(const r of n){const n=r?.[1];if(n in document){for(const[n,o]of r.entries())t[e[n]]=o;return t}}return!1})(),o={change:r.fullscreenchange,error:r.fullscreenerror};let i={request:(e=document.documentElement,t)=>new Promise(((n,o)=>{const a=()=>{i.off("change",a),n()};i.on("change",a);const s=e[r.requestFullscreen](t);s instanceof Promise&&s.then(a).catch(o)})),exit:()=>new Promise(((e,t)=>{if(!i.isFullscreen)return void e();const n=()=>{i.off("change",n),e()};i.on("change",n);const o=document[r.exitFullscreen]();o instanceof Promise&&o.then(n).catch(t)})),toggle:(e,t)=>i.isFullscreen?i.exit():i.request(e,t),onchange(e){i.on("change",e)},onerror(e){i.on("error",e)},on(e,t){const n=o[e];n&&document.addEventListener(n,t,!1)},off(e,t){const n=o[e];n&&document.removeEventListener(n,t,!1)},raw:r};Object.defineProperties(i,{isFullscreen:{get:()=>Boolean(document[r.fullscreenElement])},element:{enumerable:!0,get:()=>document[r.fullscreenElement]??void 0},isEnabled:{enumerable:!0,get:()=>Boolean(document[r.fullscreenEnabled])}}),r||(i={isEnabled:!1}),t.Z=i},57973:function(e,t,n){"use strict";n.d(t,{tq:function(){return me},o5:function(){return ge},oc:function(){return he}});var r=n(67294);function o(e){return null!==e&&"object"===typeof e&&"constructor"in e&&e.constructor===Object}function i(e,t){void 0===e&&(e={}),void 0===t&&(t={}),Object.keys(t).forEach((n=>{"undefined"===typeof e[n]?e[n]=t[n]:o(t[n])&&o(e[n])&&Object.keys(t[n]).length>0&&i(e[n],t[n])}))}const a={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function s(){const e="undefined"!==typeof document?document:{};return i(e,a),e}const l={document:a,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"===typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!==typeof setTimeout&&clearTimeout(e)}};function u(){const e="undefined"!==typeof window?window:{};return i(e,l),e}function c(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function f(){return Date.now()}function d(e,t){void 0===t&&(t="x");const n=u();let r,o,i;const a=function(e){const t=u();let n;return t.getComputedStyle&&(n=t.getComputedStyle(e,null)),!n&&e.currentStyle&&(n=e.currentStyle),n||(n=e.style),n}(e);return n.WebKitCSSMatrix?(o=a.transform||a.webkitTransform,o.split(",").length>6&&(o=o.split(", ").map((e=>e.replace(",","."))).join(", ")),i=new n.WebKitCSSMatrix("none"===o?"":o)):(i=a.MozTransform||a.OTransform||a.MsTransform||a.msTransform||a.transform||a.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),r=i.toString().split(",")),"x"===t&&(o=n.WebKitCSSMatrix?i.m41:16===r.length?parseFloat(r[12]):parseFloat(r[4])),"y"===t&&(o=n.WebKitCSSMatrix?i.m42:16===r.length?parseFloat(r[13]):parseFloat(r[5])),o||0}function p(e){return"object"===typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function h(e){return"undefined"!==typeof window&&"undefined"!==typeof window.HTMLElement?e instanceof HTMLElement:e&&(1===e.nodeType||11===e.nodeType)}function m(){const e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"];for(let n=1;n<arguments.length;n+=1){const r=n<0||arguments.length<=n?void 0:arguments[n];if(void 0!==r&&null!==r&&!h(r)){const n=Object.keys(Object(r)).filter((e=>t.indexOf(e)<0));for(let t=0,o=n.length;t<o;t+=1){const o=n[t],i=Object.getOwnPropertyDescriptor(r,o);void 0!==i&&i.enumerable&&(p(e[o])&&p(r[o])?r[o].__swiper__?e[o]=r[o]:m(e[o],r[o]):!p(e[o])&&p(r[o])?(e[o]={},r[o].__swiper__?e[o]=r[o]:m(e[o],r[o])):e[o]=r[o])}}}return e}function g(e,t,n){e.style.setProperty(t,n)}function v(e){let{swiper:t,targetPosition:n,side:r}=e;const o=u(),i=-t.translate;let a,s=null;const l=t.params.speed;t.wrapperEl.style.scrollSnapType="none",o.cancelAnimationFrame(t.cssModeFrameID);const c=n>i?"next":"prev",f=(e,t)=>"next"===c&&e>=t||"prev"===c&&e<=t,d=()=>{a=(new Date).getTime(),null===s&&(s=a);const e=Math.max(Math.min((a-s)/l,1),0),u=.5-Math.cos(e*Math.PI)/2;let c=i+u*(n-i);if(f(c,n)&&(c=n),t.wrapperEl.scrollTo({[r]:c}),f(c,n))return t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout((()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[r]:c})})),void o.cancelAnimationFrame(t.cssModeFrameID);t.cssModeFrameID=o.requestAnimationFrame(d)};d()}function y(e,t){return void 0===t&&(t=""),[...e.children].filter((e=>e.matches(t)))}function b(e,t){return u().getComputedStyle(e,null).getPropertyValue(t)}function x(e){let t,n=e;if(n){for(t=0;null!==(n=n.previousSibling);)1===n.nodeType&&(t+=1);return t}}function w(e,t,n){const r=u();return n?e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(r.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(r.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom")):e.offsetWidth}let _,k,C;function S(){return _||(_=function(){const e=u(),t=s();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}()),_}function E(e){return void 0===e&&(e={}),k||(k=function(e){let{userAgent:t}=void 0===e?{}:e;const n=S(),r=u(),o=r.navigator.platform,i=t||r.navigator.userAgent,a={ios:!1,android:!1},s=r.screen.width,l=r.screen.height,c=i.match(/(Android);?[\s\/]+([\d.]+)?/);let f=i.match(/(iPad).*OS\s([\d_]+)/);const d=i.match(/(iPod)(.*OS\s([\d_]+))?/),p=!f&&i.match(/(iPhone\sOS|iOS)\s([\d_]+)/),h="Win32"===o;let m="MacIntel"===o;return!f&&m&&n.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${s}x${l}`)>=0&&(f=i.match(/(Version)\/([\d.]+)/),f||(f=[0,1,"13_0_0"]),m=!1),c&&!h&&(a.os="android",a.android=!0),(f||p||d)&&(a.os="ios",a.ios=!0),a}(e)),k}function T(){return C||(C=function(){const e=u();let t=!1;function n(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}if(n()){const n=String(e.navigator.userAgent);if(n.includes("Version/")){const[e,r]=n.split("Version/")[1].split(" ")[0].split(".").map((e=>Number(e)));t=e<16||16===e&&r<2}}return{isSafari:t||n(),needPerspectiveFix:t,isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}()),C}var O={on(e,t,n){const r=this;if(!r.eventsListeners||r.destroyed)return r;if("function"!==typeof t)return r;const o=n?"unshift":"push";return e.split(" ").forEach((e=>{r.eventsListeners[e]||(r.eventsListeners[e]=[]),r.eventsListeners[e][o](t)})),r},once(e,t,n){const r=this;if(!r.eventsListeners||r.destroyed)return r;if("function"!==typeof t)return r;function o(){r.off(e,o),o.__emitterProxy&&delete o.__emitterProxy;for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];t.apply(r,i)}return o.__emitterProxy=t,r.on(e,o,n)},onAny(e,t){const n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!==typeof e)return n;const r=t?"unshift":"push";return n.eventsAnyListeners.indexOf(e)<0&&n.eventsAnyListeners[r](e),n},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsAnyListeners)return t;const n=t.eventsAnyListeners.indexOf(e);return n>=0&&t.eventsAnyListeners.splice(n,1),t},off(e,t){const n=this;return!n.eventsListeners||n.destroyed?n:n.eventsListeners?(e.split(" ").forEach((e=>{"undefined"===typeof t?n.eventsListeners[e]=[]:n.eventsListeners[e]&&n.eventsListeners[e].forEach(((r,o)=>{(r===t||r.__emitterProxy&&r.__emitterProxy===t)&&n.eventsListeners[e].splice(o,1)}))})),n):n},emit(){const e=this;if(!e.eventsListeners||e.destroyed)return e;if(!e.eventsListeners)return e;let t,n,r;for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];"string"===typeof i[0]||Array.isArray(i[0])?(t=i[0],n=i.slice(1,i.length),r=e):(t=i[0].events,n=i[0].data,r=i[0].context||e),n.unshift(r);return(Array.isArray(t)?t:t.split(" ")).forEach((t=>{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach((e=>{e.apply(r,[t,...n])})),e.eventsListeners&&e.eventsListeners[t]&&e.eventsListeners[t].forEach((e=>{e.apply(r,n)}))})),e}};const A=(e,t)=>{if(!e||e.destroyed||!e.params)return;const n=t.closest(e.isElement?"swiper-slide":`.${e.params.slideClass}`);if(n){const t=n.querySelector(`.${e.params.lazyPreloaderClass}`);t&&t.remove()}},j=(e,t)=>{if(!e.slides[t])return;const n=e.slides[t].querySelector('[loading="lazy"]');n&&n.removeAttribute("loading")},I=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext;const n=e.slides.length;if(!n||!t||t<0)return;t=Math.min(t,n);const r="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),o=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){const n=o,i=[n-t];return i.push(...Array.from({length:t}).map(((e,t)=>n+r+t))),void e.slides.forEach(((t,n)=>{i.includes(t.column)&&j(e,n)}))}const i=o+r-1;if(e.params.rewind||e.params.loop)for(let a=o-t;a<=i+t;a+=1){const t=(a%n+n)%n;(t<o||t>i)&&j(e,t)}else for(let a=Math.max(o-t,0);a<=Math.min(i+t,n-1);a+=1)a!==o&&(a>i||a<o)&&j(e,a)};var P={updateSize:function(){const e=this;let t,n;const r=e.el;t="undefined"!==typeof e.params.width&&null!==e.params.width?e.params.width:r.clientWidth,n="undefined"!==typeof e.params.height&&null!==e.params.height?e.params.height:r.clientHeight,0===t&&e.isHorizontal()||0===n&&e.isVertical()||(t=t-parseInt(b(r,"padding-left")||0,10)-parseInt(b(r,"padding-right")||0,10),n=n-parseInt(b(r,"padding-top")||0,10)-parseInt(b(r,"padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(n)&&(n=0),Object.assign(e,{width:t,height:n,size:e.isHorizontal()?t:n}))},updateSlides:function(){const e=this;function t(t){return e.isHorizontal()?t:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[t]}function n(e,n){return parseFloat(e.getPropertyValue(t(n))||0)}const r=e.params,{wrapperEl:o,slidesEl:i,size:a,rtlTranslate:s,wrongRTL:l}=e,u=e.virtual&&r.virtual.enabled,c=u?e.virtual.slides.length:e.slides.length,f=y(i,`.${e.params.slideClass}, swiper-slide`),d=u?e.virtual.slides.length:f.length;let p=[];const h=[],m=[];let v=r.slidesOffsetBefore;"function"===typeof v&&(v=r.slidesOffsetBefore.call(e));let x=r.slidesOffsetAfter;"function"===typeof x&&(x=r.slidesOffsetAfter.call(e));const _=e.snapGrid.length,k=e.slidesGrid.length;let C=r.spaceBetween,S=-v,E=0,T=0;if("undefined"===typeof a)return;"string"===typeof C&&C.indexOf("%")>=0?C=parseFloat(C.replace("%",""))/100*a:"string"===typeof C&&(C=parseFloat(C)),e.virtualSize=-C,f.forEach((e=>{s?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""})),r.centeredSlides&&r.cssMode&&(g(o,"--swiper-centered-offset-before",""),g(o,"--swiper-centered-offset-after",""));const O=r.grid&&r.grid.rows>1&&e.grid;let A;O&&e.grid.initSlides(d);const j="auto"===r.slidesPerView&&r.breakpoints&&Object.keys(r.breakpoints).filter((e=>"undefined"!==typeof r.breakpoints[e].slidesPerView)).length>0;for(let g=0;g<d;g+=1){let o;if(A=0,f[g]&&(o=f[g]),O&&e.grid.updateSlide(g,o,d,t),!f[g]||"none"!==b(o,"display")){if("auto"===r.slidesPerView){j&&(f[g].style[t("width")]="");const i=getComputedStyle(o),a=o.style.transform,s=o.style.webkitTransform;if(a&&(o.style.transform="none"),s&&(o.style.webkitTransform="none"),r.roundLengths)A=e.isHorizontal()?w(o,"width",!0):w(o,"height",!0);else{const e=n(i,"width"),t=n(i,"padding-left"),r=n(i,"padding-right"),a=n(i,"margin-left"),s=n(i,"margin-right"),l=i.getPropertyValue("box-sizing");if(l&&"border-box"===l)A=e+a+s;else{const{clientWidth:n,offsetWidth:i}=o;A=e+t+r+a+s+(i-n)}}a&&(o.style.transform=a),s&&(o.style.webkitTransform=s),r.roundLengths&&(A=Math.floor(A))}else A=(a-(r.slidesPerView-1)*C)/r.slidesPerView,r.roundLengths&&(A=Math.floor(A)),f[g]&&(f[g].style[t("width")]=`${A}px`);f[g]&&(f[g].swiperSlideSize=A),m.push(A),r.centeredSlides?(S=S+A/2+E/2+C,0===E&&0!==g&&(S=S-a/2-C),0===g&&(S=S-a/2-C),Math.abs(S)<.001&&(S=0),r.roundLengths&&(S=Math.floor(S)),T%r.slidesPerGroup===0&&p.push(S),h.push(S)):(r.roundLengths&&(S=Math.floor(S)),(T-Math.min(e.params.slidesPerGroupSkip,T))%e.params.slidesPerGroup===0&&p.push(S),h.push(S),S=S+A+C),e.virtualSize+=A+C,E=A,T+=1}}if(e.virtualSize=Math.max(e.virtualSize,a)+x,s&&l&&("slide"===r.effect||"coverflow"===r.effect)&&(o.style.width=`${e.virtualSize+C}px`),r.setWrapperSize&&(o.style[t("width")]=`${e.virtualSize+C}px`),O&&e.grid.updateWrapperSize(A,p,t),!r.centeredSlides){const t=[];for(let n=0;n<p.length;n+=1){let o=p[n];r.roundLengths&&(o=Math.floor(o)),p[n]<=e.virtualSize-a&&t.push(o)}p=t,Math.floor(e.virtualSize-a)-Math.floor(p[p.length-1])>1&&p.push(e.virtualSize-a)}if(u&&r.loop){const t=m[0]+C;if(r.slidesPerGroup>1){const n=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/r.slidesPerGroup),o=t*r.slidesPerGroup;for(let e=0;e<n;e+=1)p.push(p[p.length-1]+o)}for(let n=0;n<e.virtual.slidesBefore+e.virtual.slidesAfter;n+=1)1===r.slidesPerGroup&&p.push(p[p.length-1]+t),h.push(h[h.length-1]+t),e.virtualSize+=t}if(0===p.length&&(p=[0]),0!==C){const n=e.isHorizontal()&&s?"marginLeft":t("marginRight");f.filter(((e,t)=>!(r.cssMode&&!r.loop)||t!==f.length-1)).forEach((e=>{e.style[n]=`${C}px`}))}if(r.centeredSlides&&r.centeredSlidesBounds){let e=0;m.forEach((t=>{e+=t+(C||0)})),e-=C;const t=e-a;p=p.map((e=>e<=0?-v:e>t?t+x:e))}if(r.centerInsufficientSlides){let e=0;if(m.forEach((t=>{e+=t+(C||0)})),e-=C,e<a){const t=(a-e)/2;p.forEach(((e,n)=>{p[n]=e-t})),h.forEach(((e,n)=>{h[n]=e+t}))}}if(Object.assign(e,{slides:f,snapGrid:p,slidesGrid:h,slidesSizesGrid:m}),r.centeredSlides&&r.cssMode&&!r.centeredSlidesBounds){g(o,"--swiper-centered-offset-before",-p[0]+"px"),g(o,"--swiper-centered-offset-after",e.size/2-m[m.length-1]/2+"px");const t=-e.snapGrid[0],n=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map((e=>e+t)),e.slidesGrid=e.slidesGrid.map((e=>e+n))}if(d!==c&&e.emit("slidesLengthChange"),p.length!==_&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),h.length!==k&&e.emit("slidesGridLengthChange"),r.watchSlidesProgress&&e.updateSlidesOffset(),!u&&!r.cssMode&&("slide"===r.effect||"fade"===r.effect)){const t=`${r.containerModifierClass}backface-hidden`,n=e.el.classList.contains(t);d<=r.maxBackfaceHiddenSlides?n||e.el.classList.add(t):n&&e.el.classList.remove(t)}},updateAutoHeight:function(e){const t=this,n=[],r=t.virtual&&t.params.virtual.enabled;let o,i=0;"number"===typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const a=e=>r?t.slides[t.getSlideIndexByData(e)]:t.slides[e];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||[]).forEach((e=>{n.push(e)}));else for(o=0;o<Math.ceil(t.params.slidesPerView);o+=1){const e=t.activeIndex+o;if(e>t.slides.length&&!r)break;n.push(a(e))}else n.push(a(t.activeIndex));for(o=0;o<n.length;o+=1)if("undefined"!==typeof n[o]){const e=n[o].offsetHeight;i=e>i?e:i}(i||0===i)&&(t.wrapperEl.style.height=`${i}px`)},updateSlidesOffset:function(){const e=this,t=e.slides,n=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let r=0;r<t.length;r+=1)t[r].swiperSlideOffset=(e.isHorizontal()?t[r].offsetLeft:t[r].offsetTop)-n-e.cssOverflowAdjustment()},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);const t=this,n=t.params,{slides:r,rtlTranslate:o,snapGrid:i}=t;if(0===r.length)return;"undefined"===typeof r[0].swiperSlideOffset&&t.updateSlidesOffset();let a=-e;o&&(a=e),r.forEach((e=>{e.classList.remove(n.slideVisibleClass)})),t.visibleSlidesIndexes=[],t.visibleSlides=[];let s=n.spaceBetween;"string"===typeof s&&s.indexOf("%")>=0?s=parseFloat(s.replace("%",""))/100*t.size:"string"===typeof s&&(s=parseFloat(s));for(let l=0;l<r.length;l+=1){const e=r[l];let u=e.swiperSlideOffset;n.cssMode&&n.centeredSlides&&(u-=r[0].swiperSlideOffset);const c=(a+(n.centeredSlides?t.minTranslate():0)-u)/(e.swiperSlideSize+s),f=(a-i[0]+(n.centeredSlides?t.minTranslate():0)-u)/(e.swiperSlideSize+s),d=-(a-u),p=d+t.slidesSizesGrid[l];(d>=0&&d<t.size-1||p>1&&p<=t.size||d<=0&&p>=t.size)&&(t.visibleSlides.push(e),t.visibleSlidesIndexes.push(l),r[l].classList.add(n.slideVisibleClass)),e.progress=o?-c:c,e.originalProgress=o?-f:f}},updateProgress:function(e){const t=this;if("undefined"===typeof e){const n=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*n||0}const n=t.params,r=t.maxTranslate()-t.minTranslate();let{progress:o,isBeginning:i,isEnd:a,progressLoop:s}=t;const l=i,u=a;if(0===r)o=0,i=!0,a=!0;else{o=(e-t.minTranslate())/r;const n=Math.abs(e-t.minTranslate())<1,s=Math.abs(e-t.maxTranslate())<1;i=n||o<=0,a=s||o>=1,n&&(o=0),s&&(o=1)}if(n.loop){const n=t.getSlideIndexByData(0),r=t.getSlideIndexByData(t.slides.length-1),o=t.slidesGrid[n],i=t.slidesGrid[r],a=t.slidesGrid[t.slidesGrid.length-1],l=Math.abs(e);s=l>=o?(l-o)/a:(l+a-i)/a,s>1&&(s-=1)}Object.assign(t,{progress:o,progressLoop:s,isBeginning:i,isEnd:a}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&t.updateSlidesProgress(e),i&&!l&&t.emit("reachBeginning toEdge"),a&&!u&&t.emit("reachEnd toEdge"),(l&&!i||u&&!a)&&t.emit("fromEdge"),t.emit("progress",o)},updateSlidesClasses:function(){const e=this,{slides:t,params:n,slidesEl:r,activeIndex:o}=e,i=e.virtual&&n.virtual.enabled,a=e=>y(r,`.${n.slideClass}${e}, swiper-slide${e}`)[0];let s;if(t.forEach((e=>{e.classList.remove(n.slideActiveClass,n.slideNextClass,n.slidePrevClass)})),i)if(n.loop){let t=o-e.virtual.slidesBefore;t<0&&(t=e.virtual.slides.length+t),t>=e.virtual.slides.length&&(t-=e.virtual.slides.length),s=a(`[data-swiper-slide-index="${t}"]`)}else s=a(`[data-swiper-slide-index="${o}"]`);else s=t[o];if(s){s.classList.add(n.slideActiveClass);let e=function(e,t){const n=[];for(;e.nextElementSibling;){const r=e.nextElementSibling;t?r.matches(t)&&n.push(r):n.push(r),e=r}return n}(s,`.${n.slideClass}, swiper-slide`)[0];n.loop&&!e&&(e=t[0]),e&&e.classList.add(n.slideNextClass);let r=function(e,t){const n=[];for(;e.previousElementSibling;){const r=e.previousElementSibling;t?r.matches(t)&&n.push(r):n.push(r),e=r}return n}(s,`.${n.slideClass}, swiper-slide`)[0];n.loop&&0===!r&&(r=t[t.length-1]),r&&r.classList.add(n.slidePrevClass)}e.emitSlidesClasses()},updateActiveIndex:function(e){const t=this,n=t.rtlTranslate?t.translate:-t.translate,{snapGrid:r,params:o,activeIndex:i,realIndex:a,snapIndex:s}=t;let l,u=e;const c=e=>{let n=e-t.virtual.slidesBefore;return n<0&&(n=t.virtual.slides.length+n),n>=t.virtual.slides.length&&(n-=t.virtual.slides.length),n};if("undefined"===typeof u&&(u=function(e){const{slidesGrid:t,params:n}=e,r=e.rtlTranslate?e.translate:-e.translate;let o;for(let i=0;i<t.length;i+=1)"undefined"!==typeof t[i+1]?r>=t[i]&&r<t[i+1]-(t[i+1]-t[i])/2?o=i:r>=t[i]&&r<t[i+1]&&(o=i+1):r>=t[i]&&(o=i);return n.normalizeSlideIndex&&(o<0||"undefined"===typeof o)&&(o=0),o}(t)),r.indexOf(n)>=0)l=r.indexOf(n);else{const e=Math.min(o.slidesPerGroupSkip,u);l=e+Math.floor((u-e)/o.slidesPerGroup)}if(l>=r.length&&(l=r.length-1),u===i)return l!==s&&(t.snapIndex=l,t.emit("snapIndexChange")),void(t.params.loop&&t.virtual&&t.params.virtual.enabled&&(t.realIndex=c(u)));let f;f=t.virtual&&o.virtual.enabled&&o.loop?c(u):t.slides[u]?parseInt(t.slides[u].getAttribute("data-swiper-slide-index")||u,10):u,Object.assign(t,{previousSnapIndex:s,snapIndex:l,previousRealIndex:a,realIndex:f,previousIndex:i,activeIndex:u}),t.initialized&&I(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),a!==f&&t.emit("realIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&t.emit("slideChange")},updateClickedSlide:function(e){const t=this,n=t.params,r=e.closest(`.${n.slideClass}, swiper-slide`);let o,i=!1;if(r)for(let a=0;a<t.slides.length;a+=1)if(t.slides[a]===r){i=!0,o=a;break}if(!r||!i)return t.clickedSlide=void 0,void(t.clickedIndex=void 0);t.clickedSlide=r,t.virtual&&t.params.virtual.enabled?t.clickedIndex=parseInt(r.getAttribute("data-swiper-slide-index"),10):t.clickedIndex=o,n.slideToClickedSlide&&void 0!==t.clickedIndex&&t.clickedIndex!==t.activeIndex&&t.slideToClickedSlide()}};var N={getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");const{params:t,rtlTranslate:n,translate:r,wrapperEl:o}=this;if(t.virtualTranslate)return n?-r:r;if(t.cssMode)return r;let i=d(o,e);return i+=this.cssOverflowAdjustment(),n&&(i=-i),i||0},setTranslate:function(e,t){const n=this,{rtlTranslate:r,params:o,wrapperEl:i,progress:a}=n;let s,l=0,u=0;n.isHorizontal()?l=r?-e:e:u=e,o.roundLengths&&(l=Math.floor(l),u=Math.floor(u)),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?l:u,o.cssMode?i[n.isHorizontal()?"scrollLeft":"scrollTop"]=n.isHorizontal()?-l:-u:o.virtualTranslate||(n.isHorizontal()?l-=n.cssOverflowAdjustment():u-=n.cssOverflowAdjustment(),i.style.transform=`translate3d(${l}px, ${u}px, 0px)`);const c=n.maxTranslate()-n.minTranslate();s=0===c?0:(e-n.minTranslate())/c,s!==a&&n.updateProgress(e),n.emit("setTranslate",n.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e,t,n,r,o){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===n&&(n=!0),void 0===r&&(r=!0);const i=this,{params:a,wrapperEl:s}=i;if(i.animating&&a.preventInteractionOnTransition)return!1;const l=i.minTranslate(),u=i.maxTranslate();let c;if(c=r&&e>l?l:r&&e<u?u:e,i.updateProgress(c),a.cssMode){const e=i.isHorizontal();if(0===t)s[e?"scrollLeft":"scrollTop"]=-c;else{if(!i.support.smoothScroll)return v({swiper:i,targetPosition:-c,side:e?"left":"top"}),!0;s.scrollTo({[e?"left":"top"]:-c,behavior:"smooth"})}return!0}return 0===t?(i.setTransition(0),i.setTranslate(c),n&&(i.emit("beforeTransitionStart",t,o),i.emit("transitionEnd"))):(i.setTransition(t),i.setTranslate(c),n&&(i.emit("beforeTransitionStart",t,o),i.emit("transitionStart")),i.animating||(i.animating=!0,i.onTranslateToWrapperTransitionEnd||(i.onTranslateToWrapperTransitionEnd=function(e){i&&!i.destroyed&&e.target===this&&(i.wrapperEl.removeEventListener("transitionend",i.onTranslateToWrapperTransitionEnd),i.onTranslateToWrapperTransitionEnd=null,delete i.onTranslateToWrapperTransitionEnd,n&&i.emit("transitionEnd"))}),i.wrapperEl.addEventListener("transitionend",i.onTranslateToWrapperTransitionEnd))),!0}};function R(e){let{swiper:t,runCallbacks:n,direction:r,step:o}=e;const{activeIndex:i,previousIndex:a}=t;let s=r;if(s||(s=i>a?"next":i<a?"prev":"reset"),t.emit(`transition${o}`),n&&i!==a){if("reset"===s)return void t.emit(`slideResetTransition${o}`);t.emit(`slideChangeTransition${o}`),"next"===s?t.emit(`slideNextTransition${o}`):t.emit(`slidePrevTransition${o}`)}}var Z={slideTo:function(e,t,n,r,o){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===n&&(n=!0),"string"===typeof e&&(e=parseInt(e,10));const i=this;let a=e;a<0&&(a=0);const{params:s,snapGrid:l,slidesGrid:u,previousIndex:c,activeIndex:f,rtlTranslate:d,wrapperEl:p,enabled:h}=i;if(i.animating&&s.preventInteractionOnTransition||!h&&!r&&!o)return!1;const m=Math.min(i.params.slidesPerGroupSkip,a);let g=m+Math.floor((a-m)/i.params.slidesPerGroup);g>=l.length&&(g=l.length-1);const y=-l[g];if(s.normalizeSlideIndex)for(let v=0;v<u.length;v+=1){const e=-Math.floor(100*y),t=Math.floor(100*u[v]),n=Math.floor(100*u[v+1]);"undefined"!==typeof u[v+1]?e>=t&&e<n-(n-t)/2?a=v:e>=t&&e<n&&(a=v+1):e>=t&&(a=v)}if(i.initialized&&a!==f){if(!i.allowSlideNext&&(d?y>i.translate&&y>i.minTranslate():y<i.translate&&y<i.minTranslate()))return!1;if(!i.allowSlidePrev&&y>i.translate&&y>i.maxTranslate()&&(f||0)!==a)return!1}let b;if(a!==(c||0)&&n&&i.emit("beforeSlideChangeStart"),i.updateProgress(y),b=a>f?"next":a<f?"prev":"reset",d&&-y===i.translate||!d&&y===i.translate)return i.updateActiveIndex(a),s.autoHeight&&i.updateAutoHeight(),i.updateSlidesClasses(),"slide"!==s.effect&&i.setTranslate(y),"reset"!==b&&(i.transitionStart(n,b),i.transitionEnd(n,b)),!1;if(s.cssMode){const e=i.isHorizontal(),n=d?y:-y;if(0===t){const t=i.virtual&&i.params.virtual.enabled;t&&(i.wrapperEl.style.scrollSnapType="none",i._immediateVirtual=!0),t&&!i._cssModeVirtualInitialSet&&i.params.initialSlide>0?(i._cssModeVirtualInitialSet=!0,requestAnimationFrame((()=>{p[e?"scrollLeft":"scrollTop"]=n}))):p[e?"scrollLeft":"scrollTop"]=n,t&&requestAnimationFrame((()=>{i.wrapperEl.style.scrollSnapType="",i._immediateVirtual=!1}))}else{if(!i.support.smoothScroll)return v({swiper:i,targetPosition:n,side:e?"left":"top"}),!0;p.scrollTo({[e?"left":"top"]:n,behavior:"smooth"})}return!0}return i.setTransition(t),i.setTranslate(y),i.updateActiveIndex(a),i.updateSlidesClasses(),i.emit("beforeTransitionStart",t,r),i.transitionStart(n,b),0===t?i.transitionEnd(n,b):i.animating||(i.animating=!0,i.onSlideToWrapperTransitionEnd||(i.onSlideToWrapperTransitionEnd=function(e){i&&!i.destroyed&&e.target===this&&(i.wrapperEl.removeEventListener("transitionend",i.onSlideToWrapperTransitionEnd),i.onSlideToWrapperTransitionEnd=null,delete i.onSlideToWrapperTransitionEnd,i.transitionEnd(n,b))}),i.wrapperEl.addEventListener("transitionend",i.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e,t,n,r){if(void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===n&&(n=!0),"string"===typeof e){e=parseInt(e,10)}const o=this;let i=e;return o.params.loop&&(o.virtual&&o.params.virtual.enabled?i+=o.virtual.slidesBefore:i=o.getSlideIndexByData(i)),o.slideTo(i,t,n,r)},slideNext:function(e,t,n){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);const r=this,{enabled:o,params:i,animating:a}=r;if(!o)return r;let s=i.slidesPerGroup;"auto"===i.slidesPerView&&1===i.slidesPerGroup&&i.slidesPerGroupAuto&&(s=Math.max(r.slidesPerViewDynamic("current",!0),1));const l=r.activeIndex<i.slidesPerGroupSkip?1:s,u=r.virtual&&i.virtual.enabled;if(i.loop){if(a&&!u&&i.loopPreventsSliding)return!1;r.loopFix({direction:"next"}),r._clientLeft=r.wrapperEl.clientLeft}return i.rewind&&r.isEnd?r.slideTo(0,e,t,n):r.slideTo(r.activeIndex+l,e,t,n)},slidePrev:function(e,t,n){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);const r=this,{params:o,snapGrid:i,slidesGrid:a,rtlTranslate:s,enabled:l,animating:u}=r;if(!l)return r;const c=r.virtual&&o.virtual.enabled;if(o.loop){if(u&&!c&&o.loopPreventsSliding)return!1;r.loopFix({direction:"prev"}),r._clientLeft=r.wrapperEl.clientLeft}function f(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const d=f(s?r.translate:-r.translate),p=i.map((e=>f(e)));let h=i[p.indexOf(d)-1];if("undefined"===typeof h&&o.cssMode){let e;i.forEach(((t,n)=>{d>=t&&(e=n)})),"undefined"!==typeof e&&(h=i[e>0?e-1:e])}let m=0;if("undefined"!==typeof h&&(m=a.indexOf(h),m<0&&(m=r.activeIndex-1),"auto"===o.slidesPerView&&1===o.slidesPerGroup&&o.slidesPerGroupAuto&&(m=m-r.slidesPerViewDynamic("previous",!0)+1,m=Math.max(m,0))),o.rewind&&r.isBeginning){const o=r.params.virtual&&r.params.virtual.enabled&&r.virtual?r.virtual.slides.length-1:r.slides.length-1;return r.slideTo(o,e,t,n)}return r.slideTo(m,e,t,n)},slideReset:function(e,t,n){return void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),this.slideTo(this.activeIndex,e,t,n)},slideToClosest:function(e,t,n,r){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),void 0===r&&(r=.5);const o=this;let i=o.activeIndex;const a=Math.min(o.params.slidesPerGroupSkip,i),s=a+Math.floor((i-a)/o.params.slidesPerGroup),l=o.rtlTranslate?o.translate:-o.translate;if(l>=o.snapGrid[s]){const e=o.snapGrid[s];l-e>(o.snapGrid[s+1]-e)*r&&(i+=o.params.slidesPerGroup)}else{const e=o.snapGrid[s-1];l-e<=(o.snapGrid[s]-e)*r&&(i-=o.params.slidesPerGroup)}return i=Math.max(i,0),i=Math.min(i,o.slidesGrid.length-1),o.slideTo(i,e,t,n)},slideToClickedSlide:function(){const e=this,{params:t,slidesEl:n}=e,r="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let o,i=e.clickedIndex;const a=e.isElement?"swiper-slide":`.${t.slideClass}`;if(t.loop){if(e.animating)return;o=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?i<e.loopedSlides-r/2||i>e.slides.length-e.loopedSlides+r/2?(e.loopFix(),i=e.getSlideIndex(y(n,`${a}[data-swiper-slide-index="${o}"]`)[0]),c((()=>{e.slideTo(i)}))):e.slideTo(i):i>e.slides.length-r?(e.loopFix(),i=e.getSlideIndex(y(n,`${a}[data-swiper-slide-index="${o}"]`)[0]),c((()=>{e.slideTo(i)}))):e.slideTo(i)}else e.slideTo(i)}};var L={loopCreate:function(e){const t=this,{params:n,slidesEl:r}=t;if(!n.loop||t.virtual&&t.params.virtual.enabled)return;y(r,`.${n.slideClass}, swiper-slide`).forEach(((e,t)=>{e.setAttribute("data-swiper-slide-index",t)})),t.loopFix({slideRealIndex:e,direction:n.centeredSlides?void 0:"next"})},loopFix:function(e){let{slideRealIndex:t,slideTo:n=!0,direction:r,setTranslate:o,activeSlideIndex:i,byController:a,byMousewheel:s}=void 0===e?{}:e;const l=this;if(!l.params.loop)return;l.emit("beforeLoopFix");const{slides:u,allowSlidePrev:c,allowSlideNext:f,slidesEl:d,params:p}=l;if(l.allowSlidePrev=!0,l.allowSlideNext=!0,l.virtual&&p.virtual.enabled)return n&&(p.centeredSlides||0!==l.snapIndex?p.centeredSlides&&l.snapIndex<p.slidesPerView?l.slideTo(l.virtual.slides.length+l.snapIndex,0,!1,!0):l.snapIndex===l.snapGrid.length-1&&l.slideTo(l.virtual.slidesBefore,0,!1,!0):l.slideTo(l.virtual.slides.length,0,!1,!0)),l.allowSlidePrev=c,l.allowSlideNext=f,void l.emit("loopFix");const h="auto"===p.slidesPerView?l.slidesPerViewDynamic():Math.ceil(parseFloat(p.slidesPerView,10));let m=p.loopedSlides||h;m%p.slidesPerGroup!==0&&(m+=p.slidesPerGroup-m%p.slidesPerGroup),l.loopedSlides=m;const g=[],v=[];let y=l.activeIndex;"undefined"===typeof i?i=l.getSlideIndex(l.slides.filter((e=>e.classList.contains(p.slideActiveClass)))[0]):y=i;const b="next"===r||!r,x="prev"===r||!r;let w=0,_=0;if(i<m){w=Math.max(m-i,p.slidesPerGroup);for(let e=0;e<m-i;e+=1){const t=e-Math.floor(e/u.length)*u.length;g.push(u.length-t-1)}}else if(i>l.slides.length-2*m){_=Math.max(i-(l.slides.length-2*m),p.slidesPerGroup);for(let e=0;e<_;e+=1){const t=e-Math.floor(e/u.length)*u.length;v.push(t)}}if(x&&g.forEach((e=>{l.slides[e].swiperLoopMoveDOM=!0,d.prepend(l.slides[e]),l.slides[e].swiperLoopMoveDOM=!1})),b&&v.forEach((e=>{l.slides[e].swiperLoopMoveDOM=!0,d.append(l.slides[e]),l.slides[e].swiperLoopMoveDOM=!1})),l.recalcSlides(),"auto"===p.slidesPerView&&l.updateSlides(),p.watchSlidesProgress&&l.updateSlidesOffset(),n)if(g.length>0&&x)if("undefined"===typeof t){const e=l.slidesGrid[y],t=l.slidesGrid[y+w]-e;s?l.setTranslate(l.translate-t):(l.slideTo(y+w,0,!1,!0),o&&(l.touches[l.isHorizontal()?"startX":"startY"]+=t))}else o&&l.slideToLoop(t,0,!1,!0);else if(v.length>0&&b)if("undefined"===typeof t){const e=l.slidesGrid[y],t=l.slidesGrid[y-_]-e;s?l.setTranslate(l.translate-t):(l.slideTo(y-_,0,!1,!0),o&&(l.touches[l.isHorizontal()?"startX":"startY"]+=t))}else l.slideToLoop(t,0,!1,!0);if(l.allowSlidePrev=c,l.allowSlideNext=f,l.controller&&l.controller.control&&!a){const e={slideRealIndex:t,slideTo:!1,direction:r,setTranslate:o,activeSlideIndex:i,byController:!0};Array.isArray(l.controller.control)?l.controller.control.forEach((t=>{!t.destroyed&&t.params.loop&&t.loopFix(e)})):l.controller.control instanceof l.constructor&&l.controller.control.params.loop&&l.controller.control.loopFix(e)}l.emit("loopFix")},loopDestroy:function(){const e=this,{params:t,slidesEl:n}=e;if(!t.loop||e.virtual&&e.params.virtual.enabled)return;e.recalcSlides();const r=[];e.slides.forEach((e=>{const t="undefined"===typeof e.swiperSlideIndex?1*e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex;r[t]=e})),e.slides.forEach((e=>{e.removeAttribute("data-swiper-slide-index")})),r.forEach((e=>{n.append(e)})),e.recalcSlides(),e.slideTo(e.realIndex,0)}};function D(e){const t=this,n=s(),r=u(),o=t.touchEventsData;o.evCache.push(e);const{params:i,touches:a,enabled:l}=t;if(!l)return;if(!i.simulateTouch&&"mouse"===e.pointerType)return;if(t.animating&&i.preventInteractionOnTransition)return;!t.animating&&i.cssMode&&i.loop&&t.loopFix();let c=e;c.originalEvent&&(c=c.originalEvent);let d=c.target;if("wrapper"===i.touchEventsTarget&&!t.wrapperEl.contains(d))return;if("which"in c&&3===c.which)return;if("button"in c&&c.button>0)return;if(o.isTouched&&o.isMoved)return;const p=!!i.noSwipingClass&&""!==i.noSwipingClass,h=e.composedPath?e.composedPath():e.path;p&&c.target&&c.target.shadowRoot&&h&&(d=h[0]);const m=i.noSwipingSelector?i.noSwipingSelector:`.${i.noSwipingClass}`,g=!(!c.target||!c.target.shadowRoot);if(i.noSwiping&&(g?function(e,t){return void 0===t&&(t=this),function t(n){if(!n||n===s()||n===u())return null;n.assignedSlot&&(n=n.assignedSlot);const r=n.closest(e);return r||n.getRootNode?r||t(n.getRootNode().host):null}(t)}(m,d):d.closest(m)))return void(t.allowClick=!0);if(i.swipeHandler&&!d.closest(i.swipeHandler))return;a.currentX=c.pageX,a.currentY=c.pageY;const v=a.currentX,y=a.currentY,b=i.edgeSwipeDetection||i.iOSEdgeSwipeDetection,x=i.edgeSwipeThreshold||i.iOSEdgeSwipeThreshold;if(b&&(v<=x||v>=r.innerWidth-x)){if("prevent"!==b)return;e.preventDefault()}Object.assign(o,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),a.startX=v,a.startY=y,o.touchStartTime=f(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,i.threshold>0&&(o.allowThresholdMove=!1);let w=!0;d.matches(o.focusableElements)&&(w=!1,"SELECT"===d.nodeName&&(o.isTouched=!1)),n.activeElement&&n.activeElement.matches(o.focusableElements)&&n.activeElement!==d&&n.activeElement.blur();const _=w&&t.allowTouchMove&&i.touchStartPreventDefault;!i.touchStartForcePreventDefault&&!_||d.isContentEditable||c.preventDefault(),i.freeMode&&i.freeMode.enabled&&t.freeMode&&t.animating&&!i.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",c)}function F(e){const t=s(),n=this,r=n.touchEventsData,{params:o,touches:i,rtlTranslate:a,enabled:l}=n;if(!l)return;if(!o.simulateTouch&&"mouse"===e.pointerType)return;let u=e;if(u.originalEvent&&(u=u.originalEvent),!r.isTouched)return void(r.startMoving&&r.isScrolling&&n.emit("touchMoveOpposite",u));const c=r.evCache.findIndex((e=>e.pointerId===u.pointerId));c>=0&&(r.evCache[c]=u);const d=r.evCache.length>1?r.evCache[0]:u,p=d.pageX,h=d.pageY;if(u.preventedByNestedSwiper)return i.startX=p,void(i.startY=h);if(!n.allowTouchMove)return u.target.matches(r.focusableElements)||(n.allowClick=!1),void(r.isTouched&&(Object.assign(i,{startX:p,startY:h,prevX:n.touches.currentX,prevY:n.touches.currentY,currentX:p,currentY:h}),r.touchStartTime=f()));if(o.touchReleaseOnEdges&&!o.loop)if(n.isVertical()){if(h<i.startY&&n.translate<=n.maxTranslate()||h>i.startY&&n.translate>=n.minTranslate())return r.isTouched=!1,void(r.isMoved=!1)}else if(p<i.startX&&n.translate<=n.maxTranslate()||p>i.startX&&n.translate>=n.minTranslate())return;if(t.activeElement&&u.target===t.activeElement&&u.target.matches(r.focusableElements))return r.isMoved=!0,void(n.allowClick=!1);if(r.allowTouchCallbacks&&n.emit("touchMove",u),u.targetTouches&&u.targetTouches.length>1)return;i.currentX=p,i.currentY=h;const m=i.currentX-i.startX,g=i.currentY-i.startY;if(n.params.threshold&&Math.sqrt(m**2+g**2)<n.params.threshold)return;if("undefined"===typeof r.isScrolling){let e;n.isHorizontal()&&i.currentY===i.startY||n.isVertical()&&i.currentX===i.startX?r.isScrolling=!1:m*m+g*g>=25&&(e=180*Math.atan2(Math.abs(g),Math.abs(m))/Math.PI,r.isScrolling=n.isHorizontal()?e>o.touchAngle:90-e>o.touchAngle)}if(r.isScrolling&&n.emit("touchMoveOpposite",u),"undefined"===typeof r.startMoving&&(i.currentX===i.startX&&i.currentY===i.startY||(r.startMoving=!0)),r.isScrolling||n.zoom&&n.params.zoom&&n.params.zoom.enabled&&r.evCache.length>1)return void(r.isTouched=!1);if(!r.startMoving)return;n.allowClick=!1,!o.cssMode&&u.cancelable&&u.preventDefault(),o.touchMoveStopPropagation&&!o.nested&&u.stopPropagation();let v=n.isHorizontal()?m:g,y=n.isHorizontal()?i.currentX-i.previousX:i.currentY-i.previousY;o.oneWayMovement&&(v=Math.abs(v)*(a?1:-1),y=Math.abs(y)*(a?1:-1)),i.diff=v,v*=o.touchRatio,a&&(v=-v,y=-y);const b=n.touchesDirection;n.swipeDirection=v>0?"prev":"next",n.touchesDirection=y>0?"prev":"next";const x=n.params.loop&&!o.cssMode;if(!r.isMoved){if(x&&n.loopFix({direction:n.swipeDirection}),r.startTranslate=n.getTranslate(),n.setTransition(0),n.animating){const e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});n.wrapperEl.dispatchEvent(e)}r.allowMomentumBounce=!1,!o.grabCursor||!0!==n.allowSlideNext&&!0!==n.allowSlidePrev||n.setGrabCursor(!0),n.emit("sliderFirstMove",u)}let w;r.isMoved&&b!==n.touchesDirection&&x&&Math.abs(v)>=1&&(n.loopFix({direction:n.swipeDirection,setTranslate:!0}),w=!0),n.emit("sliderMove",u),r.isMoved=!0,r.currentTranslate=v+r.startTranslate;let _=!0,k=o.resistanceRatio;if(o.touchReleaseOnEdges&&(k=0),v>0?(x&&!w&&r.currentTranslate>(o.centeredSlides?n.minTranslate()-n.size/2:n.minTranslate())&&n.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),r.currentTranslate>n.minTranslate()&&(_=!1,o.resistance&&(r.currentTranslate=n.minTranslate()-1+(-n.minTranslate()+r.startTranslate+v)**k))):v<0&&(x&&!w&&r.currentTranslate<(o.centeredSlides?n.maxTranslate()+n.size/2:n.maxTranslate())&&n.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:n.slides.length-("auto"===o.slidesPerView?n.slidesPerViewDynamic():Math.ceil(parseFloat(o.slidesPerView,10)))}),r.currentTranslate<n.maxTranslate()&&(_=!1,o.resistance&&(r.currentTranslate=n.maxTranslate()+1-(n.maxTranslate()-r.startTranslate-v)**k))),_&&(u.preventedByNestedSwiper=!0),!n.allowSlideNext&&"next"===n.swipeDirection&&r.currentTranslate<r.startTranslate&&(r.currentTranslate=r.startTranslate),!n.allowSlidePrev&&"prev"===n.swipeDirection&&r.currentTranslate>r.startTranslate&&(r.currentTranslate=r.startTranslate),n.allowSlidePrev||n.allowSlideNext||(r.currentTranslate=r.startTranslate),o.threshold>0){if(!(Math.abs(v)>o.threshold||r.allowThresholdMove))return void(r.currentTranslate=r.startTranslate);if(!r.allowThresholdMove)return r.allowThresholdMove=!0,i.startX=i.currentX,i.startY=i.currentY,r.currentTranslate=r.startTranslate,void(i.diff=n.isHorizontal()?i.currentX-i.startX:i.currentY-i.startY)}o.followFinger&&!o.cssMode&&((o.freeMode&&o.freeMode.enabled&&n.freeMode||o.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses()),o.freeMode&&o.freeMode.enabled&&n.freeMode&&n.freeMode.onTouchMove(),n.updateProgress(r.currentTranslate),n.setTranslate(r.currentTranslate))}function M(e){const t=this,n=t.touchEventsData,r=n.evCache.findIndex((t=>t.pointerId===e.pointerId));if(r>=0&&n.evCache.splice(r,1),["pointercancel","pointerout","pointerleave"].includes(e.type)){if(!("pointercancel"===e.type&&(t.browser.isSafari||t.browser.isWebView)))return}const{params:o,touches:i,rtlTranslate:a,slidesGrid:s,enabled:l}=t;if(!l)return;if(!o.simulateTouch&&"mouse"===e.pointerType)return;let u=e;if(u.originalEvent&&(u=u.originalEvent),n.allowTouchCallbacks&&t.emit("touchEnd",u),n.allowTouchCallbacks=!1,!n.isTouched)return n.isMoved&&o.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,void(n.startMoving=!1);o.grabCursor&&n.isMoved&&n.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const d=f(),p=d-n.touchStartTime;if(t.allowClick){const e=u.path||u.composedPath&&u.composedPath();t.updateClickedSlide(e&&e[0]||u.target),t.emit("tap click",u),p<300&&d-n.lastClickTime<300&&t.emit("doubleTap doubleClick",u)}if(n.lastClickTime=f(),c((()=>{t.destroyed||(t.allowClick=!0)})),!n.isTouched||!n.isMoved||!t.swipeDirection||0===i.diff||n.currentTranslate===n.startTranslate)return n.isTouched=!1,n.isMoved=!1,void(n.startMoving=!1);let h;if(n.isTouched=!1,n.isMoved=!1,n.startMoving=!1,h=o.followFinger?a?t.translate:-t.translate:-n.currentTranslate,o.cssMode)return;if(o.freeMode&&o.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:h});let m=0,g=t.slidesSizesGrid[0];for(let c=0;c<s.length;c+=c<o.slidesPerGroupSkip?1:o.slidesPerGroup){const e=c<o.slidesPerGroupSkip-1?1:o.slidesPerGroup;"undefined"!==typeof s[c+e]?h>=s[c]&&h<s[c+e]&&(m=c,g=s[c+e]-s[c]):h>=s[c]&&(m=c,g=s[s.length-1]-s[s.length-2])}let v=null,y=null;o.rewind&&(t.isBeginning?y=o.virtual&&o.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(v=0));const b=(h-s[m])/g,x=m<o.slidesPerGroupSkip-1?1:o.slidesPerGroup;if(p>o.longSwipesMs){if(!o.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(b>=o.longSwipesRatio?t.slideTo(o.rewind&&t.isEnd?v:m+x):t.slideTo(m)),"prev"===t.swipeDirection&&(b>1-o.longSwipesRatio?t.slideTo(m+x):null!==y&&b<0&&Math.abs(b)>o.longSwipesRatio?t.slideTo(y):t.slideTo(m))}else{if(!o.shortSwipes)return void t.slideTo(t.activeIndex);t.navigation&&(u.target===t.navigation.nextEl||u.target===t.navigation.prevEl)?u.target===t.navigation.nextEl?t.slideTo(m+x):t.slideTo(m):("next"===t.swipeDirection&&t.slideTo(null!==v?v:m+x),"prev"===t.swipeDirection&&t.slideTo(null!==y?y:m))}}function z(){const e=this,{params:t,el:n}=e;if(n&&0===n.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:r,allowSlidePrev:o,snapGrid:i}=e,a=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const s=a&&t.loop;!("auto"===t.slidesPerView||t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||s?e.params.loop&&!a?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0):e.slideTo(e.slides.length-1,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout((()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()}),500)),e.allowSlidePrev=o,e.allowSlideNext=r,e.params.watchOverflow&&i!==e.snapGrid&&e.checkOverflow()}function B(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function H(){const e=this,{wrapperEl:t,rtlTranslate:n,enabled:r}=e;if(!r)return;let o;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const i=e.maxTranslate()-e.minTranslate();o=0===i?0:(e.translate-e.minTranslate())/i,o!==e.progress&&e.updateProgress(n?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function $(e){const t=this;A(t,e.target),t.params.cssMode||"auto"!==t.params.slidesPerView&&!t.params.autoHeight||t.update()}let U=!1;function V(){}const G=(e,t)=>{const n=s(),{params:r,el:o,wrapperEl:i,device:a}=e,l=!!r.nested,u="on"===t?"addEventListener":"removeEventListener",c=t;o[u]("pointerdown",e.onTouchStart,{passive:!1}),n[u]("pointermove",e.onTouchMove,{passive:!1,capture:l}),n[u]("pointerup",e.onTouchEnd,{passive:!0}),n[u]("pointercancel",e.onTouchEnd,{passive:!0}),n[u]("pointerout",e.onTouchEnd,{passive:!0}),n[u]("pointerleave",e.onTouchEnd,{passive:!0}),(r.preventClicks||r.preventClicksPropagation)&&o[u]("click",e.onClick,!0),r.cssMode&&i[u]("scroll",e.onScroll),r.updateOnWindowResize?e[c](a.ios||a.android?"resize orientationchange observerUpdate":"resize observerUpdate",z,!0):e[c]("observerUpdate",z,!0),o[u]("load",e.onLoad,{capture:!0})};const W=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var q={init:!0,direction:"horizontal",oneWayMovement:!1,touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopedSlides:null,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function X(e,t){return function(n){void 0===n&&(n={});const r=Object.keys(n)[0],o=n[r];"object"===typeof o&&null!==o?(["navigation","pagination","scrollbar"].indexOf(r)>=0&&!0===e[r]&&(e[r]={auto:!0}),r in e&&"enabled"in o?(!0===e[r]&&(e[r]={enabled:!0}),"object"!==typeof e[r]||"enabled"in e[r]||(e[r].enabled=!0),e[r]||(e[r]={enabled:!1}),m(t,n)):m(t,n)):m(t,n)}}const Y={eventsEmitter:O,update:P,translate:N,transition:{setTransition:function(e,t){const n=this;n.params.cssMode||(n.wrapperEl.style.transitionDuration=`${e}ms`),n.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);const n=this,{params:r}=n;r.cssMode||(r.autoHeight&&n.updateAutoHeight(),R({swiper:n,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e,t){void 0===e&&(e=!0);const n=this,{params:r}=n;n.animating=!1,r.cssMode||(n.setTransition(0),R({swiper:n,runCallbacks:e,direction:t,step:"End"}))}},slide:Z,loop:L,grabCursor:{setGrabCursor:function(e){const t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const n="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),n.style.cursor="move",n.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame((()=>{t.__preventObserver__=!1}))},unsetGrabCursor:function(){const e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame((()=>{e.__preventObserver__=!1})))}},events:{attachEvents:function(){const e=this,t=s(),{params:n}=e;e.onTouchStart=D.bind(e),e.onTouchMove=F.bind(e),e.onTouchEnd=M.bind(e),n.cssMode&&(e.onScroll=H.bind(e)),e.onClick=B.bind(e),e.onLoad=$.bind(e),U||(t.addEventListener("touchstart",V),U=!0),G(e,"on")},detachEvents:function(){G(this,"off")}},breakpoints:{setBreakpoint:function(){const e=this,{realIndex:t,initialized:n,params:r,el:o}=e,i=r.breakpoints;if(!i||i&&0===Object.keys(i).length)return;const a=e.getBreakpoint(i,e.params.breakpointsBase,e.el);if(!a||e.currentBreakpoint===a)return;const s=(a in i?i[a]:void 0)||e.originalParams,l=W(e,r),u=W(e,s),c=r.enabled;l&&!u?(o.classList.remove(`${r.containerModifierClass}grid`,`${r.containerModifierClass}grid-column`),e.emitContainerClasses()):!l&&u&&(o.classList.add(`${r.containerModifierClass}grid`),(s.grid.fill&&"column"===s.grid.fill||!s.grid.fill&&"column"===r.grid.fill)&&o.classList.add(`${r.containerModifierClass}grid-column`),e.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach((t=>{if("undefined"===typeof s[t])return;const n=r[t]&&r[t].enabled,o=s[t]&&s[t].enabled;n&&!o&&e[t].disable(),!n&&o&&e[t].enable()}));const f=s.direction&&s.direction!==r.direction,d=r.loop&&(s.slidesPerView!==r.slidesPerView||f);f&&n&&e.changeDirection(),m(e.params,s);const p=e.params.enabled;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),c&&!p?e.disable():!c&&p&&e.enable(),e.currentBreakpoint=a,e.emit("_beforeBreakpoint",s),d&&n&&(e.loopDestroy(),e.loopCreate(t),e.updateSlides()),e.emit("breakpoint",s)},getBreakpoint:function(e,t,n){if(void 0===t&&(t="window"),!e||"container"===t&&!n)return;let r=!1;const o=u(),i="window"===t?o.innerHeight:n.clientHeight,a=Object.keys(e).map((e=>{if("string"===typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:i*t,point:e}}return{value:e,point:e}}));a.sort(((e,t)=>parseInt(e.value,10)-parseInt(t.value,10)));for(let s=0;s<a.length;s+=1){const{point:e,value:i}=a[s];"window"===t?o.matchMedia(`(min-width: ${i}px)`).matches&&(r=e):i<=n.clientWidth&&(r=e)}return r||"max"}},checkOverflow:{checkOverflow:function(){const e=this,{isLocked:t,params:n}=e,{slidesOffsetBefore:r}=n;if(r){const t=e.slides.length-1,n=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*r;e.isLocked=e.size>n}else e.isLocked=1===e.snapGrid.length;!0===n.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===n.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},classes:{addClasses:function(){const e=this,{classNames:t,params:n,rtl:r,el:o,device:i}=e,a=function(e,t){const n=[];return e.forEach((e=>{"object"===typeof e?Object.keys(e).forEach((r=>{e[r]&&n.push(t+r)})):"string"===typeof e&&n.push(t+e)})),n}(["initialized",n.direction,{"free-mode":e.params.freeMode&&n.freeMode.enabled},{autoheight:n.autoHeight},{rtl:r},{grid:n.grid&&n.grid.rows>1},{"grid-column":n.grid&&n.grid.rows>1&&"column"===n.grid.fill},{android:i.android},{ios:i.ios},{"css-mode":n.cssMode},{centered:n.cssMode&&n.centeredSlides},{"watch-progress":n.watchSlidesProgress}],n.containerModifierClass);t.push(...a),o.classList.add(...t),e.emitContainerClasses()},removeClasses:function(){const{el:e,classNames:t}=this;e.classList.remove(...t),this.emitContainerClasses()}}},K={};class Q{constructor(){let e,t;for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];1===r.length&&r[0].constructor&&"Object"===Object.prototype.toString.call(r[0]).slice(8,-1)?t=r[0]:[e,t]=r,t||(t={}),t=m({},t),e&&!t.el&&(t.el=e);const i=s();if(t.el&&"string"===typeof t.el&&i.querySelectorAll(t.el).length>1){const e=[];return i.querySelectorAll(t.el).forEach((n=>{const r=m({},t,{el:n});e.push(new Q(r))})),e}const a=this;a.__swiper__=!0,a.support=S(),a.device=E({userAgent:t.userAgent}),a.browser=T(),a.eventsListeners={},a.eventsAnyListeners=[],a.modules=[...a.__modules__],t.modules&&Array.isArray(t.modules)&&a.modules.push(...t.modules);const l={};a.modules.forEach((e=>{e({params:t,swiper:a,extendParams:X(t,l),on:a.on.bind(a),once:a.once.bind(a),off:a.off.bind(a),emit:a.emit.bind(a)})}));const u=m({},q,l);return a.params=m({},u,K,t),a.originalParams=m({},a.params),a.passedParams=m({},t),a.params&&a.params.on&&Object.keys(a.params.on).forEach((e=>{a.on(e,a.params.on[e])})),a.params&&a.params.onAny&&a.onAny(a.params.onAny),Object.assign(a,{enabled:a.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===a.params.direction,isVertical:()=>"vertical"===a.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:a.params.allowSlideNext,allowSlidePrev:a.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:a.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,evCache:[]},allowClick:!0,allowTouchMove:a.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),a.emit("_swiper"),a.params.init&&a.init(),a}getSlideIndex(e){const{slidesEl:t,params:n}=this,r=x(y(t,`.${n.slideClass}, swiper-slide`)[0]);return x(e)-r}getSlideIndexByData(e){return this.getSlideIndex(this.slides.filter((t=>1*t.getAttribute("data-swiper-slide-index")===e))[0])}recalcSlides(){const{slidesEl:e,params:t}=this;this.slides=y(e,`.${t.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const n=this;e=Math.min(Math.max(e,0),1);const r=n.minTranslate(),o=(n.maxTranslate()-r)*e+r;n.translateTo(o,"undefined"===typeof t?0:t),n.updateActiveIndex(),n.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter((t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass)));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter((e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass))).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.forEach((n=>{const r=e.getSlideClasses(n);t.push({slideEl:n,classNames:r}),e.emit("_slideClass",n,r)})),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);const{params:n,slides:r,slidesGrid:o,slidesSizesGrid:i,size:a,activeIndex:s}=this;let l=1;if(n.centeredSlides){let e,t=r[s]?r[s].swiperSlideSize:0;for(let n=s+1;n<r.length;n+=1)r[n]&&!e&&(t+=r[n].swiperSlideSize,l+=1,t>a&&(e=!0));for(let n=s-1;n>=0;n-=1)r[n]&&!e&&(t+=r[n].swiperSlideSize,l+=1,t>a&&(e=!0))}else if("current"===e)for(let u=s+1;u<r.length;u+=1){(t?o[u]+i[u]-o[s]<a:o[u]-o[s]<a)&&(l+=1)}else for(let u=s-1;u>=0;u-=1){o[s]-o[u]<a&&(l+=1)}return l}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:t,params:n}=e;function r(){const t=e.rtlTranslate?-1*e.translate:e.translate,n=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(n),e.updateActiveIndex(),e.updateSlidesClasses()}let o;if(n.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach((t=>{t.complete&&A(e,t)})),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),n.freeMode&&n.freeMode.enabled&&!n.cssMode)r(),n.autoHeight&&e.updateAutoHeight();else{if(("auto"===n.slidesPerView||n.slidesPerView>1)&&e.isEnd&&!n.centeredSlides){const t=e.virtual&&n.virtual.enabled?e.virtual.slides:e.slides;o=e.slideTo(t.length-1,0,!1,!0)}else o=e.slideTo(e.activeIndex,0,!1,!0);o||r()}n.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t){void 0===t&&(t=!0);const n=this,r=n.params.direction;return e||(e="horizontal"===r?"vertical":"horizontal"),e===r||"horizontal"!==e&&"vertical"!==e||(n.el.classList.remove(`${n.params.containerModifierClass}${r}`),n.el.classList.add(`${n.params.containerModifierClass}${e}`),n.emitContainerClasses(),n.params.direction=e,n.slides.forEach((t=>{"vertical"===e?t.style.width="":t.style.height=""})),n.emit("changeDirection"),t&&n.update()),n}changeLanguageDirection(e){const t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.el.classList.add(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.el.classList.remove(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;let n=e||t.params.el;if("string"===typeof n&&(n=document.querySelector(n)),!n)return!1;n.swiper=t,n.parentNode&&n.parentNode.host&&(t.isElement=!0);const r=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let o=(()=>{if(n&&n.shadowRoot&&n.shadowRoot.querySelector){return n.shadowRoot.querySelector(r())}return y(n,r())[0]})();return!o&&t.params.createElements&&(o=function(e,t){void 0===t&&(t=[]);const n=document.createElement(e);return n.classList.add(...Array.isArray(t)?t:[t]),n}("div",t.params.wrapperClass),n.append(o),y(n,`.${t.params.slideClass}`).forEach((e=>{o.append(e)}))),Object.assign(t,{el:n,wrapperEl:o,slidesEl:t.isElement?n.parentNode.host:o,hostEl:t.isElement?n.parentNode.host:n,mounted:!0,rtl:"rtl"===n.dir.toLowerCase()||"rtl"===b(n,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===n.dir.toLowerCase()||"rtl"===b(n,"direction")),wrongRTL:"-webkit-box"===b(o,"display")}),!0}init(e){const t=this;if(t.initialized)return t;return!1===t.mount(e)||(t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(),t.attachEvents(),[...t.el.querySelectorAll('[loading="lazy"]')].forEach((e=>{e.complete?A(t,e):e.addEventListener("load",(e=>{A(t,e.target)}))})),I(t),t.initialized=!0,I(t),t.emit("init"),t.emit("afterInit")),t}destroy(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);const n=this,{params:r,el:o,wrapperEl:i,slides:a}=n;return"undefined"===typeof n.params||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),r.loop&&n.loopDestroy(),t&&(n.removeClasses(),o.removeAttribute("style"),i.removeAttribute("style"),a&&a.length&&a.forEach((e=>{e.classList.remove(r.slideVisibleClass,r.slideActiveClass,r.slideNextClass,r.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")}))),n.emit("destroy"),Object.keys(n.eventsListeners).forEach((e=>{n.off(e)})),!1!==e&&(n.el.swiper=null,function(e){const t=e;Object.keys(t).forEach((e=>{try{t[e]=null}catch(n){}try{delete t[e]}catch(n){}}))}(n)),n.destroyed=!0),null}static extendDefaults(e){m(K,e)}static get extendedDefaults(){return K}static get defaults(){return q}static installModule(e){Q.prototype.__modules__||(Q.prototype.__modules__=[]);const t=Q.prototype.__modules__;"function"===typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach((e=>Q.installModule(e))),Q):(Q.installModule(e),Q)}}Object.keys(Y).forEach((e=>{Object.keys(Y[e]).forEach((t=>{Q.prototype[t]=Y[e][t]}))})),Q.use([function(e){let{swiper:t,on:n,emit:r}=e;const o=u();let i=null,a=null;const s=()=>{t&&!t.destroyed&&t.initialized&&(r("beforeResize"),r("resize"))},l=()=>{t&&!t.destroyed&&t.initialized&&r("orientationchange")};n("init",(()=>{t.params.resizeObserver&&"undefined"!==typeof o.ResizeObserver?t&&!t.destroyed&&t.initialized&&(i=new ResizeObserver((e=>{a=o.requestAnimationFrame((()=>{const{width:n,height:r}=t;let o=n,i=r;e.forEach((e=>{let{contentBoxSize:n,contentRect:r,target:a}=e;a&&a!==t.el||(o=r?r.width:(n[0]||n).inlineSize,i=r?r.height:(n[0]||n).blockSize)})),o===n&&i===r||s()}))})),i.observe(t.el)):(o.addEventListener("resize",s),o.addEventListener("orientationchange",l))})),n("destroy",(()=>{a&&o.cancelAnimationFrame(a),i&&i.unobserve&&t.el&&(i.unobserve(t.el),i=null),o.removeEventListener("resize",s),o.removeEventListener("orientationchange",l)}))},function(e){let{swiper:t,extendParams:n,on:r,emit:o}=e;const i=[],a=u(),s=function(e,n){void 0===n&&(n={});const r=new(a.MutationObserver||a.WebkitMutationObserver)((e=>{if(t.__preventObserver__)return;if(1===e.length)return void o("observerUpdate",e[0]);const n=function(){o("observerUpdate",e[0])};a.requestAnimationFrame?a.requestAnimationFrame(n):a.setTimeout(n,0)}));r.observe(e,{attributes:"undefined"===typeof n.attributes||n.attributes,childList:"undefined"===typeof n.childList||n.childList,characterData:"undefined"===typeof n.characterData||n.characterData}),i.push(r)};n({observer:!1,observeParents:!1,observeSlideChildren:!1}),r("init",(()=>{if(t.params.observer){if(t.params.observeParents){const e=function(e,t){const n=[];let r=e.parentElement;for(;r;)t?r.matches(t)&&n.push(r):n.push(r),r=r.parentElement;return n}(t.el);for(let t=0;t<e.length;t+=1)s(e[t])}s(t.el,{childList:t.params.observeSlideChildren}),s(t.wrapperEl,{attributes:!1})}})),r("destroy",(()=>{i.forEach((e=>{e.disconnect()})),i.splice(0,i.length)}))}]);const J=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopedSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideNextClass","slidePrevClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function ee(e){return"object"===typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function te(e,t){const n=["__proto__","constructor","prototype"];Object.keys(t).filter((e=>n.indexOf(e)<0)).forEach((n=>{"undefined"===typeof e[n]?e[n]=t[n]:ee(t[n])&&ee(e[n])&&Object.keys(t[n]).length>0?t[n].__swiper__?e[n]=t[n]:te(e[n],t[n]):e[n]=t[n]}))}function ne(e){return void 0===e&&(e={}),e.navigation&&"undefined"===typeof e.navigation.nextEl&&"undefined"===typeof e.navigation.prevEl}function re(e){return void 0===e&&(e={}),e.pagination&&"undefined"===typeof e.pagination.el}function oe(e){return void 0===e&&(e={}),e.scrollbar&&"undefined"===typeof e.scrollbar.el}function ie(e){void 0===e&&(e="");const t=e.split(" ").map((e=>e.trim())).filter((e=>!!e)),n=[];return t.forEach((e=>{n.indexOf(e)<0&&n.push(e)})),n.join(" ")}function ae(e){return void 0===e&&(e=""),e?e.includes("swiper-wrapper")?e:`swiper-wrapper ${e}`:"swiper-wrapper"}function se(){return se=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},se.apply(this,arguments)}function le(e){return e.type&&e.type.displayName&&e.type.displayName.includes("SwiperSlide")}function ue(e){const t=[];return r.Children.toArray(e).forEach((e=>{le(e)?t.push(e):e.props&&e.props.children&&ue(e.props.children).forEach((e=>t.push(e)))})),t}function ce(e){const t=[],n={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return r.Children.toArray(e).forEach((e=>{if(le(e))t.push(e);else if(e.props&&e.props.slot&&n[e.props.slot])n[e.props.slot].push(e);else if(e.props&&e.props.children){const r=ue(e.props.children);r.length>0?r.forEach((e=>t.push(e))):n["container-end"].push(e)}else n["container-end"].push(e)})),{slides:t,slots:n}}function fe(e,t){return"undefined"===typeof window?(0,r.useEffect)(e,t):(0,r.useLayoutEffect)(e,t)}const de=(0,r.createContext)(null),pe=(0,r.createContext)(null),he=()=>(0,r.useContext)(pe),me=(0,r.forwardRef)((function(e,t){let{className:n,tag:o="div",wrapperTag:i="div",children:a,onSwiper:s,...l}=void 0===e?{}:e,u=!1;const[c,f]=(0,r.useState)("swiper"),[d,p]=(0,r.useState)(null),[h,m]=(0,r.useState)(!1),g=(0,r.useRef)(!1),v=(0,r.useRef)(null),y=(0,r.useRef)(null),b=(0,r.useRef)(null),x=(0,r.useRef)(null),w=(0,r.useRef)(null),_=(0,r.useRef)(null),k=(0,r.useRef)(null),C=(0,r.useRef)(null),{params:S,passedParams:E,rest:T,events:O}=function(e,t){void 0===e&&(e={}),void 0===t&&(t=!0);const n={on:{}},r={},o={};te(n,Q.defaults),te(n,Q.extendedDefaults),n._emitClasses=!0,n.init=!1;const i={},a=J.map((e=>e.replace(/_/,""))),s=Object.assign({},e);return Object.keys(s).forEach((s=>{"undefined"!==typeof e[s]&&(a.indexOf(s)>=0?ee(e[s])?(n[s]={},o[s]={},te(n[s],e[s]),te(o[s],e[s])):(n[s]=e[s],o[s]=e[s]):0===s.search(/on[A-Z]/)&&"function"===typeof e[s]?t?r[`${s[2].toLowerCase()}${s.substr(3)}`]=e[s]:n.on[`${s[2].toLowerCase()}${s.substr(3)}`]=e[s]:i[s]=e[s])})),["navigation","pagination","scrollbar"].forEach((e=>{!0===n[e]&&(n[e]={}),!1===n[e]&&delete n[e]})),{params:n,passedParams:o,rest:i,events:r}}(l),{slides:A,slots:j}=ce(a),I=()=>{m(!h)};Object.assign(S.on,{_containerClasses(e,t){f(t)}});const P=()=>{Object.assign(S.on,O),u=!0;const e={...S};if(delete e.wrapperClass,y.current=new Q(e),y.current.virtual&&y.current.params.virtual.enabled){y.current.virtual.slides=A;const e={cache:!1,slides:A,renderExternal:p,renderExternalUpdate:!1};te(y.current.params.virtual,e),te(y.current.originalParams.virtual,e)}};v.current||P(),y.current&&y.current.on("_beforeBreakpoint",I);return(0,r.useEffect)((()=>()=>{y.current&&y.current.off("_beforeBreakpoint",I)})),(0,r.useEffect)((()=>{!g.current&&y.current&&(y.current.emitSlidesClasses(),g.current=!0)})),fe((()=>{if(t&&(t.current=v.current),v.current)return y.current.destroyed&&P(),function(e,t){let{el:n,nextEl:r,prevEl:o,paginationEl:i,scrollbarEl:a,swiper:s}=e;ne(t)&&r&&o&&(s.params.navigation.nextEl=r,s.originalParams.navigation.nextEl=r,s.params.navigation.prevEl=o,s.originalParams.navigation.prevEl=o),re(t)&&i&&(s.params.pagination.el=i,s.originalParams.pagination.el=i),oe(t)&&a&&(s.params.scrollbar.el=a,s.originalParams.scrollbar.el=a),s.init(n)}({el:v.current,nextEl:w.current,prevEl:_.current,paginationEl:k.current,scrollbarEl:C.current,swiper:y.current},S),s&&s(y.current),()=>{y.current&&!y.current.destroyed&&y.current.destroy(!0,!1)}}),[]),fe((()=>{!u&&O&&y.current&&Object.keys(O).forEach((e=>{y.current.on(e,O[e])}));const e=function(e,t,n,r,o){const i=[];if(!t)return i;const a=e=>{i.indexOf(e)<0&&i.push(e)};if(n&&r){const e=r.map(o),t=n.map(o);e.join("")!==t.join("")&&a("children"),r.length!==n.length&&a("children")}return J.filter((e=>"_"===e[0])).map((e=>e.replace(/_/,""))).forEach((n=>{if(n in e&&n in t)if(ee(e[n])&&ee(t[n])){const r=Object.keys(e[n]),o=Object.keys(t[n]);r.length!==o.length?a(n):(r.forEach((r=>{e[n][r]!==t[n][r]&&a(n)})),o.forEach((r=>{e[n][r]!==t[n][r]&&a(n)})))}else e[n]!==t[n]&&a(n)})),i}(E,b.current,A,x.current,(e=>e.key));return b.current=E,x.current=A,e.length&&y.current&&!y.current.destroyed&&function(e){let{swiper:t,slides:n,passedParams:r,changedParams:o,nextEl:i,prevEl:a,scrollbarEl:s,paginationEl:l}=e;const u=o.filter((e=>"children"!==e&&"direction"!==e&&"wrapperClass"!==e)),{params:c,pagination:f,navigation:d,scrollbar:p,virtual:h,thumbs:m}=t;let g,v,y,b,x,w,_,k;o.includes("thumbs")&&r.thumbs&&r.thumbs.swiper&&c.thumbs&&!c.thumbs.swiper&&(g=!0),o.includes("controller")&&r.controller&&r.controller.control&&c.controller&&!c.controller.control&&(v=!0),o.includes("pagination")&&r.pagination&&(r.pagination.el||l)&&(c.pagination||!1===c.pagination)&&f&&!f.el&&(y=!0),o.includes("scrollbar")&&r.scrollbar&&(r.scrollbar.el||s)&&(c.scrollbar||!1===c.scrollbar)&&p&&!p.el&&(b=!0),o.includes("navigation")&&r.navigation&&(r.navigation.prevEl||a)&&(r.navigation.nextEl||i)&&(c.navigation||!1===c.navigation)&&d&&!d.prevEl&&!d.nextEl&&(x=!0);const C=e=>{t[e]&&(t[e].destroy(),"navigation"===e?(t.isElement&&(t[e].prevEl.remove(),t[e].nextEl.remove()),c[e].prevEl=void 0,c[e].nextEl=void 0,t[e].prevEl=void 0,t[e].nextEl=void 0):(t.isElement&&t[e].el.remove(),c[e].el=void 0,t[e].el=void 0))};o.includes("loop")&&t.isElement&&(c.loop&&!r.loop?w=!0:!c.loop&&r.loop?_=!0:k=!0),u.forEach((e=>{if(ee(c[e])&&ee(r[e]))te(c[e],r[e]),"navigation"!==e&&"pagination"!==e&&"scrollbar"!==e||!("enabled"in r[e])||r[e].enabled||C(e);else{const t=r[e];!0!==t&&!1!==t||"navigation"!==e&&"pagination"!==e&&"scrollbar"!==e?c[e]=r[e]:!1===t&&C(e)}})),u.includes("controller")&&!v&&t.controller&&t.controller.control&&c.controller&&c.controller.control&&(t.controller.control=c.controller.control),o.includes("children")&&n&&h&&c.virtual.enabled&&(h.slides=n,h.update(!0)),o.includes("children")&&n&&c.loop&&(k=!0),g&&m.init()&&m.update(!0);v&&(t.controller.control=c.controller.control),y&&(!t.isElement||l&&"string"!==typeof l||(l=document.createElement("div"),l.classList.add("swiper-pagination"),t.el.appendChild(l)),l&&(c.pagination.el=l),f.init(),f.render(),f.update()),b&&(!t.isElement||s&&"string"!==typeof s||(s=document.createElement("div"),s.classList.add("swiper-scrollbar"),t.el.appendChild(s)),s&&(c.scrollbar.el=s),p.init(),p.updateSize(),p.setTranslate()),x&&(t.isElement&&(i&&"string"!==typeof i||(i=document.createElement("div"),i.classList.add("swiper-button-next"),i.innerHTML=t.hostEl.nextButtonSvg,t.el.appendChild(i)),a&&"string"!==typeof a||(a=document.createElement("div"),a.classList.add("swiper-button-prev"),i.innerHTML=t.hostEl.prevButtonSvg,t.el.appendChild(a))),i&&(c.navigation.nextEl=i),a&&(c.navigation.prevEl=a),d.init(),d.update()),o.includes("allowSlideNext")&&(t.allowSlideNext=r.allowSlideNext),o.includes("allowSlidePrev")&&(t.allowSlidePrev=r.allowSlidePrev),o.includes("direction")&&t.changeDirection(r.direction,!1),(w||k)&&t.loopDestroy(),(_||k)&&t.loopCreate(),t.update()}({swiper:y.current,slides:A,passedParams:E,changedParams:e,nextEl:w.current,prevEl:_.current,scrollbarEl:C.current,paginationEl:k.current}),()=>{O&&y.current&&Object.keys(O).forEach((e=>{y.current.off(e,O[e])}))}})),fe((()=>{var e;!(e=y.current)||e.destroyed||!e.params.virtual||e.params.virtual&&!e.params.virtual.enabled||(e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.parallax&&e.params.parallax&&e.params.parallax.enabled&&e.parallax.setTranslate())}),[d]),r.createElement(o,se({ref:v,className:ie(`${c}${n?` ${n}`:""}`)},T),r.createElement(pe.Provider,{value:y.current},j["container-start"],r.createElement(i,{className:ae(S.wrapperClass)},j["wrapper-start"],S.virtual?function(e,t,n){if(!n)return null;const o=e=>{let n=e;return e<0?n=t.length+e:n>=t.length&&(n-=t.length),n},i=e.isHorizontal()?{[e.rtlTranslate?"right":"left"]:`${n.offset}px`}:{top:`${n.offset}px`},{from:a,to:s}=n,l=e.params.loop?-t.length:0,u=e.params.loop?2*t.length:t.length,c=[];for(let r=l;r<u;r+=1)r>=a&&r<=s&&c.push(t[o(r)]);return c.map(((t,n)=>r.cloneElement(t,{swiper:e,style:i,key:`slide-${n}`})))}(y.current,A,d):A.map(((e,t)=>r.cloneElement(e,{swiper:y.current,swiperSlideIndex:t}))),j["wrapper-end"]),ne(S)&&r.createElement(r.Fragment,null,r.createElement("div",{ref:_,className:"swiper-button-prev"}),r.createElement("div",{ref:w,className:"swiper-button-next"})),oe(S)&&r.createElement("div",{ref:C,className:"swiper-scrollbar"}),re(S)&&r.createElement("div",{ref:k,className:"swiper-pagination"}),j["container-end"]))}));me.displayName="Swiper";const ge=(0,r.forwardRef)((function(e,t){let{tag:n="div",children:o,className:i="",swiper:a,zoom:s,lazy:l,virtualIndex:u,swiperSlideIndex:c,...f}=void 0===e?{}:e;const d=(0,r.useRef)(null),[p,h]=(0,r.useState)("swiper-slide"),[m,g]=(0,r.useState)(!1);function v(e,t,n){t===d.current&&h(n)}fe((()=>{if("undefined"!==typeof c&&(d.current.swiperSlideIndex=c),t&&(t.current=d.current),d.current&&a){if(!a.destroyed)return a.on("_slideClass",v),()=>{a&&a.off("_slideClass",v)};"swiper-slide"!==p&&h("swiper-slide")}})),fe((()=>{a&&d.current&&!a.destroyed&&h(a.getSlideClasses(d.current))}),[a]);const y={isActive:p.indexOf("swiper-slide-active")>=0,isVisible:p.indexOf("swiper-slide-visible")>=0,isPrev:p.indexOf("swiper-slide-prev")>=0,isNext:p.indexOf("swiper-slide-next")>=0},b=()=>"function"===typeof o?o(y):o;return r.createElement(n,se({ref:d,className:ie(`${p}${i?` ${i}`:""}`),"data-swiper-slide-index":u,onLoad:()=>{g(!0)}},f),s&&r.createElement(de.Provider,{value:y},r.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":"number"===typeof s?s:void 0},b(),l&&!m&&r.createElement("div",{className:"swiper-lazy-preloader"}))),!s&&r.createElement(de.Provider,{value:y},b(),l&&!m&&r.createElement("div",{className:"swiper-lazy-preloader"})))}));ge.displayName="SwiperSlide"}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[9774,179],(function(){return t(91118),t(90387)}));var n=e.O();_N_E=n}]);