text: /*! For license information please see index.bundle.js.LICENSE.txt */
  !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var r in n)("object"==typeof exports?exports:e)[r]=n[r]}}(self,(function(){return(()=>{"use strict";var e,t,n={5563:(e,t,n)=>{n.d(t,{ZP:()=>N});var r=n(8661);function i(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}function o(){return(o=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 a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var s=n(9864),c=n(8679),u=n.n(c);var l=r.ZP.createContext(),f={},p="PENDING",d="REJECTED",h=function(e){return e};function _(e){var t=e.defaultResolveComponent,n=void 0===t?h:t,c=e.render,_=e.onLoad;function m(e,t){void 0===t&&(t={});var h=function(e){return"function"==typeof e?{requireAsync:e,resolve:function(){},chunkName:function(){}}:e}(e),m={};function v(e){return t.cacheKey?t.cacheKey(e):h.resolve?h.resolve(e):"static"}function y(e,r,i){var o=t.resolveComponent?t.resolveComponent(e,r):n(e);if(t.resolveComponent&&!(0,s.isValidElementType)(o))throw new Error("resolveComponent returned something that is not a React component!");return u()(i,o,{preload:!0}),o}var g,b=function(e){var n,r;function s(n){var r;return(r=e.call(this,n)||this).state={result:null,error:null,loading:!0,cacheKey:v(n)},function(e,t){if(!e){var n=new Error("loadable: "+t);throw n.framesToPop=1,n.name="Invariant Violation",n}}(!n.__chunkExtractor||h.requireSync,"SSR requires `@loadable/babel-plugin`, please install it"),n.__chunkExtractor?(!1===t.ssr||(h.requireAsync(n).catch((function(){return null})),r.loadSync(),n.__chunkExtractor.addChunk(h.chunkName(n))),function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(r)):(!1!==t.ssr&&(h.isReady&&h.isReady(n)||h.chunkName&&f[h.chunkName(n)])&&r.loadSync(),r)}r=e,(n=s).prototype=Object.create(r.prototype),n.prototype.constructor=n,a(n,r),s.getDerivedStateFromProps=function(e,t){var n=v(e);return o({},t,{cacheKey:n,loading:t.loading||t.cacheKey!==n})};var u=s.prototype;return u.componentDidMount=function(){this.mounted=!0;var e=this.getCache();e&&e.status===d&&this.setCache(),this.state.loading&&this.loadAsync()},u.componentDidUpdate=function(e,t){t.cacheKey!==this.state.cacheKey&&this.loadAsync()},u.componentWillUnmount=function(){this.mounted=!1},u.safeSetState=function(e,t){this.mounted&&this.setState(e,t)},u.getCacheKey=function(){return v(this.props)},u.getCache=function(){return m[this.getCacheKey()]},u.setCache=function(e){void 0===e&&(e=void 0),m[this.getCacheKey()]=e},u.triggerOnLoad=function(){var e=this;_&&setTimeout((function(){_(e.state.result,e.props)}))},u.loadSync=function(){if(this.state.loading)try{var e=y(h.requireSync(this.props),this.props,T);this.state.result=e,this.state.loading=!1}catch(e){console.error("loadable-components: failed to synchronously load component, which expected to be available",{fileName:h.resolve(this.props),chunkName:h.chunkName(this.props),error:e?e.message:e}),this.state.error=e}},u.loadAsync=function(){var e=this,t=this.resolveAsync();return t.then((function(t){var n=y(t,e.props,{Loadable:T});e.safeSetState({result:n,loading:!1},(function(){return e.triggerOnLoad()}))})).catch((function(t){return e.safeSetState({error:t,loading:!1})})),t},u.resolveAsync=function(){var e=this,t=this.props,n=(t.__chunkExtractor,t.forwardedRef,i(t,["__chunkExtractor","forwardedRef"])),r=this.getCache();return r||((r=h.requireAsync(n)).status=p,this.setCache(r),r.then((function(){r.status="RESOLVED"}),(function(t){console.error("loadable-components: failed to asynchronously load component",{fileName:h.resolve(e.props),chunkName:h.chunkName(e.props),error:t?t.message:t}),r.status=d}))),r},u.render=function(){var e=this.props,n=e.forwardedRef,r=e.fallback,a=(e.__chunkExtractor,i(e,["forwardedRef","fallback","__chunkExtractor"])),s=this.state,u=s.error,l=s.loading,f=s.result;if(t.suspense&&(this.getCache()||this.loadAsync()).status===p)throw this.loadAsync();if(u)throw u;var d=r||t.fallback||null;return l?d:c({fallback:d,result:f,options:t,props:o({},a,{ref:n})})},s}(r.ZP.Component),E=(g=b,function(e){return r.ZP.createElement(l.Consumer,null,(function(t){return r.ZP.createElement(g,Object.assign({__chunkExtractor:t},e))}))}),T=r.ZP.forwardRef((function(e,t){return r.ZP.createElement(E,Object.assign({forwardedRef:t},e))}));return T.preload=function(e){h.requireAsync(e)},T.load=function(e){return h.requireAsync(e)},T}return{loadable:m,lazy:function(e,t){return m(e,o({},t,{suspense:!0}))}}}var m=_({defaultResolveComponent:function(e){return e.__esModule?e.default:e.default||e},render:function(e){var t=e.result,n=e.props;return r.ZP.createElement(t,n)}}),v=m.loadable,y=m.lazy,g=_({onLoad:function(e,t){e&&t.forwardedRef&&("function"==typeof t.forwardedRef?t.forwardedRef(e):t.forwardedRef.current=e)},render:function(e){var t=e.result,n=e.props;return n.children?n.children(t):null}}),b=g.loadable,E=g.lazy,T=v;T.lib=b,y.lib=E;const N=T},2914:(e,t,n)=>{n.d(t,{EW:()=>p,kp:()=>d});var r=n(6400),i=n(396),o=n(8529),a=n(9968),s=n(5756),c=n(7926),u=n(257),l=n(6584);const f=(0,r.createContext)(null),p=({children:e})=>{const{champion:t,role:n,validRole:r}=(0,s.$C)(),{_:p,setLoading:d}=(0,a.r$)(),[h,_]=(0,i.eJ)({data:{},loading:!1,error:!1}),m={daData:h,setDaData:_},v=(0,i.I4)((e=>{if(e){d(!1);const{data:t,error:n}=e;_({data:t,loading:!1,error:n||!1})}}),[]),y=(0,i.I4)((async()=>(_({...h,loading:!0}),d(!0),await c.TX.query(u.g$,{champion:t,role:n}).toPromise())),[]);return r&&(0,o.Z)(y,v),(0,l.tZ)(f.Provider,{value:m,children:e})},d=()=>{const e=(0,i.qp)(f);if(void 0===e)throw new Error("useDataApi must be used within a DataApiProvider");return e}},4408:(e,t,n)=>{n.d(t,{uv:()=>l,oV:()=>p,UW:()=>d});var r=n(6400),i=n(396),o=n(8269),a=n(6584);const s=document.head,c={css:o.iv.bind({target:s}),styled:o.zo.bind({target:s}),glob:o.zA.bind({target:s}),customTarget:!1},u=(0,r.createContext)(c),l=({children:e,target:t})=>{const n=!!t&&t.shadowRoot,r=n?{css:o.iv.bind({target:n}),styled:o.zo.bind({target:n}),glob:o.iv.bind({g:1,target:n}),customTarget:!0}:c;return(0,a.BX)(a.HY,{children:[n&&(0,a.tZ)(u.Provider,{value:r,children:e}),!n&&(0,a.tZ)(a.HY,{children:e})]})},f=()=>{const e=(0,i.qp)(u);if(void 0===e)throw new Error("useGoober must be used within a GooberProvider");return e},p=()=>{const{styled:e}=f();return e},d=()=>{const{glob:e}=f();return e}},9968:(e,t,n)=>{n.d(t,{PK:()=>s,r$:()=>c});var r=n(6400),i=n(396),o=n(6584);const a=(0,r.createContext)(!0),s=({children:e})=>{const[t,n]=(0,i.eJ)(!1),r={loading:t,setLoading:n};return(0,o.tZ)(a.Provider,{value:r,children:e})},c=()=>{const e=(0,i.qp)(a);if(void 0===e)throw new Error("useLoading must be used within a LoadingProvider");return e}},7262:(e,t,n)=>{n.d(t,{p8:()=>p,PO:()=>d});var r=n(6400),i=n(396),o=n(8529),a=n(9968),s=n(5756),c=n(7926),u=n(257),l=n(6584);const f=(0,r.createContext)(null),p=({children:e})=>{const{champion:t,validRole:n}=(0,s.$C)(),{_:r,setLoading:p}=(0,a.r$)(),[d,h]=(0,i.eJ)({data:{},loading:!1,error:!1}),_={sqData:d,setSqData:h},m=(0,i.I4)((e=>{if(e){p(!1);const{data:t,error:n}=e;h({data:t,loading:!1,error:n||!1})}}),[]),v=(0,i.I4)((async()=>(h({...d,loading:!0}),p(!0),await c.eR.query(u.z$,{championFilter:`data/slug/iv eq '${t}' `,roleDataFilter:`data/championSlug/iv eq '${t}' `,matchupsDataFilter:`data/enemyChampion/iv eq '${t}' and data/matchupTips/en ne null `,buildDataFilter:`data/champion/iv eq '${t}'`,comboFilter:`data/championSlug/iv eq '${t}' and data/tags/iv in ('featured')`,combosListFilter:`data/championSlug/iv eq '${t}'`,matchupSpecificDataFilter:`data/enemyChampion/iv eq '${t}'  `,withCommonData:!0,withBuildData:!0,withCountersData:!1,withCombosData:!1,withMatchupSpecificCountersData:!1,withProBuildsData:!0}).toPromise())),[]);return n&&(0,o.Z)(v,m),(0,l.tZ)(f.Provider,{value:_,children:e})},d=()=>{const e=(0,i.qp)(f);if(void 0===e)throw new Error("useSquidexApi must be used within a SquidexApiProvider");return e}},5756:(e,t,n)=>{n.d(t,{u3:()=>c,$C:()=>u});var r=n(6400),i=n(396),o=n(6466),a=n(6584);const s=(0,r.createContext)(!0),c=({layout:e="full",champion:t="amumu",role:n="UNKNOWN",children:r})=>{const i=n.toUpperCase(),c={layout:e,champion:t,role:i,validRole:(0,o.TP)(o.w4,i)};return(0,a.tZ)(s.Provider,{value:c,children:r})},u=()=>{const e=(0,i.qp)(s);if(void 0===e)throw new Error("useStaticGlobalProps must be used within a StaticGlobalPropsProvider");return e}},9212:(e,t,n)=>{n.d(t,{WK:()=>s,N:()=>c});var r=n(6400),i=n(396),o=n(6584);const a=(0,r.createContext)(null),s=({target:e,children:t})=>{const n=!!e&&e.shadowRoot,[r,s]=(0,i.eJ)({tooltips:[],loading:!1,error:!1}),c={ttData:r,setTtData:s,tooltipParent:n};return(0,o.tZ)(a.Provider,{value:c,children:t})},c=()=>{const e=(0,i.qp)(a);if(void 0===e)throw new Error("useTooltips must be used within a TooltipsProvider");return e}},7926:(e,t,n)=>{function r(e,t){return t.tag=e,t}function i(){}function o(e){return function(t){var n=e.length;let i=!1,o=!1,a=!1,s=0;t(r(0,[function(c){if(c)i=!0;else if(o)a=!0;else{for(o=a=!0;a&&!i;)s<n?(c=e[s],s=s+1|0,a=!1,t(r(1,[c]))):(i=!0,t(0));o=!1}}]))}}function a(){}function s(e){e(0)}function c(e){return e(0)}function u(e){return function(t){return function(n){let o=i,a=!1,s=[],u=!1;t((function(t){"number"==typeof t?u||(u=!0,0===s.length&&n(0)):t.tag?u||(a=!1,function(e){function t(e){"number"==typeof e?0!==s.length&&(s=s.filter(c),e=0===s.length,u&&e?n(0):!a&&e&&(a=!0,o(0))):e.tag?0!==s.length&&(n(r(1,[e[0]])),l(0)):(l=e=e[0],s=s.concat(e),e(0))}function c(e){return e!==l}let l=i;1===e.length?e(t):e.bind(null,t)}(e(t[0])),a||(a=!0,o(0))):o=t[0]})),n(r(0,[function(e){e?(u||(u=!0,o(e)),s.forEach((function(t){return t(e)})),s=[]):(a||u?a=!1:(a=!0,o(0)),s.forEach(c))}]))}}}function l(e){return e}function f(e){return function(t){return function(n){let i=!1;return t((function(t){if("number"==typeof t)i||(i=!0,n(t));else if(t.tag)i||(e(t[0]),n(t));else{var o=t[0];n(r(0,[function(e){if(!i)return e&&(i=!0),o(e)}]))}}))}}}function p(e){e(0)}function d(e){return function(t){let n=i,r=!1;return t((function(t){"number"==typeof t?r=!0:t.tag?r||(e(t[0]),n(0)):(n=t=t[0],t(0))})),{unsubscribe:function(){if(!r)return r=!0,n(1)}}}}function h(){}function _(e){return function(t){return function(n){let r=i;return t((function(t){"number"==typeof t?n(t):t.tag?e(t[0])?n(t):r(0):(r=t[0],n(t))}))}}}function m(e){return function(t){let n=!1;t(r(0,[function(i){i?n=!0:n||(n=!0,t(r(1,[e])),t(0))}]))}}function v(e){return function(t){return function(n){return t((function(t){t="number"==typeof t?0:t.tag?r(1,[e(t[0])]):r(0,[t[0]]),n(t)}))}}}function y(e){return u(l)(o(e))}function g(e){return function(t){return function(n){return t((function(t){"number"==typeof t||t.tag?n(t):(n(t),e())}))}}}function b(e){function t(e){"number"==typeof e?(n.forEach(p),n=[]):e.tag?(a=!1,n.forEach((function(t){t(e)}))):o=e[0]}let n=[],o=i,a=!1;return function(i){function s(e){return e!==i}n=n.concat(i),1===n.length&&e(t),i(r(0,[function(e){if(e){if(n=n.filter(s),0===n.length)return o(1)}else a||(a=!0,o(e))}]))}}function E(e){return function(t){return function(n){let o=!1,a=0,s=i;t((function(t){"number"==typeof t?o||(o=!0,n(0)):t.tag?a<e&&!o&&(a=a+1|0,n(t),!o&&a>=e&&(o=!0,n(0),s(1))):(t=t[0],0>=e?(o=!0,n(0),t(1)):s=t)})),n(r(0,[function(t){if(!o){if(t)return o=!0,s(1);if(a<e)return s(0)}}]))}}}function T(e){return function(t){return function(n){function o(e){"number"!=typeof e&&(e.tag?(a=!0,s(1),n(0)):(c=e=e[0],e(0)))}let a=!1,s=i,c=i;t((function(t){"number"==typeof t?a||(a=!0,c(1),n(0)):t.tag?a||n(t):(s=t[0],e(o))})),n(r(0,[function(e){if(!a)return e?(a=!0,s(1),c(1)):s(0)}]))}}}function N(e){return(N="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)}n.d(t,{TX:()=>gt,eR:()=>bt}),"function"==typeof Symbol&&(Symbol.observable||(Symbol.observable=Symbol("observable"))),"function"==typeof Symbol&&null!=Symbol.iterator&&Symbol.iterator,"function"==typeof Symbol&&null!=Symbol.asyncIterator&&Symbol.asyncIterator;var O="function"==typeof Symbol&&null!=Symbol.toStringTag?Symbol.toStringTag:"@@toStringTag";function k(e,t){for(var n,r=/\r\n|[\n\r]/g,i=1,o=t+1;(n=r.exec(e.body))&&n.index<t;)i+=1,o=t+1-(n.index+n[0].length);return{line:i,column:o}}function C(e){return S(e.source,k(e.source,e.start))}function S(e,t){var n=e.locationOffset.column-1,r=D(n)+e.body,i=t.line-1,o=e.locationOffset.line-1,a=t.line+o,s=1===t.line?n:0,c=t.column+s,u="".concat(e.name,":").concat(a,":").concat(c,"\n"),l=r.split(/\r\n|[\n\r]/g),f=l[i];if(f.length>120){for(var p=Math.floor(c/80),d=c%80,h=[],_=0;_<f.length;_+=80)h.push(f.slice(_,_+80));return u+A([["".concat(a),h[0]]].concat(h.slice(1,p+1).map((function(e){return["",e]})),[[" ",D(d-1)+"^"],["",h[p+1]]]))}return u+A([["".concat(a-1),l[i-1]],["".concat(a),f],["",D(c-1)+"^"],["".concat(a+1),l[i+1]]])}function A(e){var t=e.filter((function(e){return e[0],void 0!==e[1]})),n=Math.max.apply(Math,t.map((function(e){return e[0].length})));return t.map((function(e){var t,r=e[0],i=e[1];return D(n-(t=r).length)+t+(i?" | "+i:" |")})).join("\n")}function D(e){return Array(e+1).join(" ")}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})(e)}function x(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 w(e,t){return!t||"object"!==I(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 R(e){var t="function"==typeof Map?new Map:void 0;return(R=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return F(e,arguments,j(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),M(r,e)})(e)}function F(e,t,n){return(F=L()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&M(i,n.prototype),i}).apply(null,arguments)}function L(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function M(e,t){return(M=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function j(e){return(j=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var U=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 t,n,r,i,o=(t=a,n=L(),function(){var e,r=j(t);if(n){var i=j(this).constructor;e=Reflect.construct(r,arguments,i)}else e=r.apply(this,arguments);return w(this,e)});function a(e,t,n,r,i,s,c){var u,l,f,p,d;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),d=o.call(this,e);var h,_=Array.isArray(t)?0!==t.length?t:void 0:t?[t]:void 0,m=n;!m&&_&&(m=null===(h=_[0].loc)||void 0===h?void 0:h.source);var v,y=r;!y&&_&&(y=_.reduce((function(e,t){return t.loc&&e.push(t.loc.start),e}),[])),y&&0===y.length&&(y=void 0),r&&n?v=r.map((function(e){return k(n,e)})):_&&(v=_.reduce((function(e,t){return t.loc&&e.push(k(t.loc.source,t.loc.start)),e}),[]));var g,b=c;if(null==b&&null!=s){var E=s.extensions;"object"==N(g=E)&&null!==g&&(b=E)}return Object.defineProperties(P(d),{name:{value:"GraphQLError"},message:{value:e,enumerable:!0,writable:!0},locations:{value:null!==(u=v)&&void 0!==u?u:void 0,enumerable:null!=v},path:{value:null!=i?i:void 0,enumerable:null!=i},nodes:{value:null!=_?_:void 0},source:{value:null!==(l=m)&&void 0!==l?l:void 0},positions:{value:null!==(f=y)&&void 0!==f?f:void 0},originalError:{value:s},extensions:{value:null!==(p=b)&&void 0!==p?p:void 0,enumerable:null!=b}}),null!=s&&s.stack?(Object.defineProperty(P(d),"stack",{value:s.stack,writable:!0,configurable:!0}),w(d)):(Error.captureStackTrace?Error.captureStackTrace(P(d),a):Object.defineProperty(P(d),"stack",{value:Error().stack,writable:!0,configurable:!0}),d)}return r=a,(i=[{key:"toString",value:function(){return function(e){var t=e.message;if(e.nodes)for(var n=0,r=e.nodes;n<r.length;n++){var i=r[n];i.loc&&(t+="\n\n"+C(i.loc))}else if(e.source&&e.locations)for(var o=0,a=e.locations;o<a.length;o++){var s=a[o];t+="\n\n"+S(e.source,s)}return t}(this)}},{key:O,get:function(){return"Object"}}])&&x(r.prototype,i),a}(R(Error)),B=Object.freeze({NAME:"Name",DOCUMENT:"Document",OPERATION_DEFINITION:"OperationDefinition",VARIABLE_DEFINITION:"VariableDefinition",SELECTION_SET:"SelectionSet",FIELD:"Field",ARGUMENT:"Argument",FRAGMENT_SPREAD:"FragmentSpread",INLINE_FRAGMENT:"InlineFragment",FRAGMENT_DEFINITION:"FragmentDefinition",VARIABLE:"Variable",INT:"IntValue",FLOAT:"FloatValue",STRING:"StringValue",BOOLEAN:"BooleanValue",NULL:"NullValue",ENUM:"EnumValue",LIST:"ListValue",OBJECT:"ObjectValue",OBJECT_FIELD:"ObjectField",DIRECTIVE:"Directive",NAMED_TYPE:"NamedType",LIST_TYPE:"ListType",NON_NULL_TYPE:"NonNullType",SCHEMA_DEFINITION:"SchemaDefinition",OPERATION_TYPE_DEFINITION:"OperationTypeDefinition",SCALAR_TYPE_DEFINITION:"ScalarTypeDefinition",OBJECT_TYPE_DEFINITION:"ObjectTypeDefinition",FIELD_DEFINITION:"FieldDefinition",INPUT_VALUE_DEFINITION:"InputValueDefinition",INTERFACE_TYPE_DEFINITION:"InterfaceTypeDefinition",UNION_TYPE_DEFINITION:"UnionTypeDefinition",ENUM_TYPE_DEFINITION:"EnumTypeDefinition",ENUM_VALUE_DEFINITION:"EnumValueDefinition",INPUT_OBJECT_TYPE_DEFINITION:"InputObjectTypeDefinition",DIRECTIVE_DEFINITION:"DirectiveDefinition",SCHEMA_EXTENSION:"SchemaExtension",SCALAR_TYPE_EXTENSION:"ScalarTypeExtension",OBJECT_TYPE_EXTENSION:"ObjectTypeExtension",INTERFACE_TYPE_EXTENSION:"InterfaceTypeExtension",UNION_TYPE_EXTENSION:"UnionTypeExtension",ENUM_TYPE_EXTENSION:"EnumTypeExtension",INPUT_OBJECT_TYPE_EXTENSION:"InputObjectTypeExtension"});function V(e,t,n){return new U("Syntax Error: ".concat(n),void 0,e,[t])}const $="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):void 0;function q(e){var t=e.prototype.toJSON;"function"==typeof t||function(e,t){if(!Boolean(0))throw new Error("Unexpected invariant triggered.")}(),e.prototype.inspect=t,$&&(e.prototype[$]=t)}var K=function(){function e(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}return e.prototype.toJSON=function(){return{start:this.start,end:this.end}},e}();q(K);var G=function(){function e(e,t,n,r,i,o,a){this.kind=e,this.start=t,this.end=n,this.line=r,this.column=i,this.value=a,this.prev=o,this.next=null}return e.prototype.toJSON=function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}},e}();function H(e){return null!=e&&"string"==typeof e.kind}q(G);var Y=Object.freeze({SOF:"<SOF>",EOF:"<EOF>",BANG:"!",DOLLAR:"$",AMP:"&",PAREN_L:"(",PAREN_R:")",SPREAD:"...",COLON:":",EQUALS:"=",AT:"@",BRACKET_L:"[",BRACKET_R:"]",BRACE_L:"{",PIPE:"|",BRACE_R:"}",NAME:"Name",INT:"Int",FLOAT:"Float",STRING:"String",BLOCK_STRING:"BlockString",COMMENT:"Comment"});function Z(e){return(Z="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)}function W(e){return J(e,[])}function J(e,t){switch(Z(e)){case"string":return JSON.stringify(e);case"function":return e.name?"[function ".concat(e.name,"]"):"[function]";case"object":return null===e?"null":function(e,t){if(-1!==t.indexOf(e))return"[Circular]";var n=[].concat(t,[e]),r=function(e){var t=e[String($)];return"function"==typeof t?t:"function"==typeof e.inspect?e.inspect:void 0}(e);if(void 0!==r){var i=r.call(e);if(i!==e)return"string"==typeof i?i:J(i,n)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return"[]";if(t.length>2)return"[Array]";for(var n=Math.min(10,e.length),r=e.length-n,i=[],o=0;o<n;++o)i.push(J(e[o],t));return 1===r?i.push("... 1 more item"):r>1&&i.push("... ".concat(r," more items")),"["+i.join(", ")+"]"}(e,n);return function(e,t){var n=Object.keys(e);return 0===n.length?"{}":t.length>2?"["+function(e){var t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){var n=e.constructor.name;if("string"==typeof n&&""!==n)return n}return t}(e)+"]":"{ "+n.map((function(n){return n+": "+J(e[n],t)})).join(", ")+" }"}(e,n)}(e,t);default:return String(e)}}function z(e,t){if(!Boolean(e))throw new Error(t)}function Q(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var X=function(){function e(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GraphQL request",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{line:1,column:1};"string"==typeof e||z(0,"Body must be a string. Received: ".concat(W(e),".")),this.body=e,this.name=t,this.locationOffset=n,this.locationOffset.line>0||z(0,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||z(0,"column in locationOffset is 1-indexed and must be positive.")}var t,n;return t=e,(n=[{key:O,get:function(){return"Source"}}])&&Q(t.prototype,n),e}(),ee=Object.freeze({QUERY:"QUERY",MUTATION:"MUTATION",SUBSCRIPTION:"SUBSCRIPTION",FIELD:"FIELD",FRAGMENT_DEFINITION:"FRAGMENT_DEFINITION",FRAGMENT_SPREAD:"FRAGMENT_SPREAD",INLINE_FRAGMENT:"INLINE_FRAGMENT",VARIABLE_DEFINITION:"VARIABLE_DEFINITION",SCHEMA:"SCHEMA",SCALAR:"SCALAR",OBJECT:"OBJECT",FIELD_DEFINITION:"FIELD_DEFINITION",ARGUMENT_DEFINITION:"ARGUMENT_DEFINITION",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",ENUM_VALUE:"ENUM_VALUE",INPUT_OBJECT:"INPUT_OBJECT",INPUT_FIELD_DEFINITION:"INPUT_FIELD_DEFINITION"});function te(e){var t=e.split(/\r\n|[\n\r]/g),n=function(e){for(var t,n=!0,r=!0,i=0,o=null,a=0;a<e.length;++a)switch(e.charCodeAt(a)){case 13:10===e.charCodeAt(a+1)&&++a;case 10:n=!1,r=!0,i=0;break;case 9:case 32:++i;break;default:r&&!n&&(null===o||i<o)&&(o=i),r=!1}return null!==(t=o)&&void 0!==t?t:0}(e);if(0!==n)for(var r=1;r<t.length;r++)t[r]=t[r].slice(n);for(var i=0;i<t.length&&ne(t[i]);)++i;for(var o=t.length;o>i&&ne(t[o-1]);)--o;return t.slice(i,o).join("\n")}function ne(e){for(var t=0;t<e.length;++t)if(" "!==e[t]&&"\t"!==e[t])return!1;return!0}var re=function(){function e(e){var t=new G(Y.SOF,0,0,0,0,null);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}var t=e.prototype;return t.advance=function(){return this.lastToken=this.token,this.token=this.lookahead()},t.lookahead=function(){var e=this.token;if(e.kind!==Y.EOF)do{var t;e=null!==(t=e.next)&&void 0!==t?t:e.next=oe(this,e)}while(e.kind===Y.COMMENT);return e},e}();function ie(e){return isNaN(e)?Y.EOF:e<127?JSON.stringify(String.fromCharCode(e)):'"\\u'.concat(("00"+e.toString(16).toUpperCase()).slice(-4),'"')}function oe(e,t){for(var n=e.source,r=n.body,i=r.length,o=t.end;o<i;){var a=r.charCodeAt(o),s=e.line,c=1+o-e.lineStart;switch(a){case 65279:case 9:case 32:case 44:++o;continue;case 10:++o,++e.line,e.lineStart=o;continue;case 13:10===r.charCodeAt(o+1)?o+=2:++o,++e.line,e.lineStart=o;continue;case 33:return new G(Y.BANG,o,o+1,s,c,t);case 35:return se(n,o,s,c,t);case 36:return new G(Y.DOLLAR,o,o+1,s,c,t);case 38:return new G(Y.AMP,o,o+1,s,c,t);case 40:return new G(Y.PAREN_L,o,o+1,s,c,t);case 41:return new G(Y.PAREN_R,o,o+1,s,c,t);case 46:if(46===r.charCodeAt(o+1)&&46===r.charCodeAt(o+2))return new G(Y.SPREAD,o,o+3,s,c,t);break;case 58:return new G(Y.COLON,o,o+1,s,c,t);case 61:return new G(Y.EQUALS,o,o+1,s,c,t);case 64:return new G(Y.AT,o,o+1,s,c,t);case 91:return new G(Y.BRACKET_L,o,o+1,s,c,t);case 93:return new G(Y.BRACKET_R,o,o+1,s,c,t);case 123:return new G(Y.BRACE_L,o,o+1,s,c,t);case 124:return new G(Y.PIPE,o,o+1,s,c,t);case 125:return new G(Y.BRACE_R,o,o+1,s,c,t);case 34:return 34===r.charCodeAt(o+1)&&34===r.charCodeAt(o+2)?fe(n,o,s,c,t,e):le(n,o,s,c,t);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return ce(n,o,a,s,c,t);case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 95:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:return de(n,o,s,c,t)}throw V(n,o,ae(a))}var u=e.line,l=1+o-e.lineStart;return new G(Y.EOF,i,i,u,l,t)}function ae(e){return e<32&&9!==e&&10!==e&&13!==e?"Cannot contain the invalid character ".concat(ie(e),"."):39===e?"Unexpected single quote character ('), did you mean to use a double quote (\")?":"Cannot parse the unexpected character ".concat(ie(e),".")}function se(e,t,n,r,i){var o,a=e.body,s=t;do{o=a.charCodeAt(++s)}while(!isNaN(o)&&(o>31||9===o));return new G(Y.COMMENT,t,s,n,r,i,a.slice(t+1,s))}function ce(e,t,n,r,i,o){var a=e.body,s=n,c=t,u=!1;if(45===s&&(s=a.charCodeAt(++c)),48===s){if((s=a.charCodeAt(++c))>=48&&s<=57)throw V(e,c,"Invalid number, unexpected digit after 0: ".concat(ie(s),"."))}else c=ue(e,c,s),s=a.charCodeAt(c);if(46===s&&(u=!0,s=a.charCodeAt(++c),c=ue(e,c,s),s=a.charCodeAt(c)),69!==s&&101!==s||(u=!0,43!==(s=a.charCodeAt(++c))&&45!==s||(s=a.charCodeAt(++c)),c=ue(e,c,s),s=a.charCodeAt(c)),46===s||function(e){return 95===e||e>=65&&e<=90||e>=97&&e<=122}(s))throw V(e,c,"Invalid number, expected digit but got: ".concat(ie(s),"."));return new G(u?Y.FLOAT:Y.INT,t,c,r,i,o,a.slice(t,c))}function ue(e,t,n){var r=e.body,i=t,o=n;if(o>=48&&o<=57){do{o=r.charCodeAt(++i)}while(o>=48&&o<=57);return i}throw V(e,i,"Invalid number, expected digit but got: ".concat(ie(o),"."))}function le(e,t,n,r,i){for(var o,a,s,c,u=e.body,l=t+1,f=l,p=0,d="";l<u.length&&!isNaN(p=u.charCodeAt(l))&&10!==p&&13!==p;){if(34===p)return d+=u.slice(f,l),new G(Y.STRING,t,l+1,n,r,i,d);if(p<32&&9!==p)throw V(e,l,"Invalid character within String: ".concat(ie(p),"."));if(++l,92===p){switch(d+=u.slice(f,l-1),p=u.charCodeAt(l)){case 34:d+='"';break;case 47:d+="/";break;case 92:d+="\\";break;case 98:d+="\b";break;case 102:d+="\f";break;case 110:d+="\n";break;case 114:d+="\r";break;case 116:d+="\t";break;case 117:var h=(o=u.charCodeAt(l+1),a=u.charCodeAt(l+2),s=u.charCodeAt(l+3),c=u.charCodeAt(l+4),pe(o)<<12|pe(a)<<8|pe(s)<<4|pe(c));if(h<0){var _=u.slice(l+1,l+5);throw V(e,l,"Invalid character escape sequence: \\u".concat(_,"."))}d+=String.fromCharCode(h),l+=4;break;default:throw V(e,l,"Invalid character escape sequence: \\".concat(String.fromCharCode(p),"."))}f=++l}}throw V(e,l,"Unterminated string.")}function fe(e,t,n,r,i,o){for(var a=e.body,s=t+3,c=s,u=0,l="";s<a.length&&!isNaN(u=a.charCodeAt(s));){if(34===u&&34===a.charCodeAt(s+1)&&34===a.charCodeAt(s+2))return l+=a.slice(c,s),new G(Y.BLOCK_STRING,t,s+3,n,r,i,te(l));if(u<32&&9!==u&&10!==u&&13!==u)throw V(e,s,"Invalid character within String: ".concat(ie(u),"."));10===u?(++s,++o.line,o.lineStart=s):13===u?(10===a.charCodeAt(s+1)?s+=2:++s,++o.line,o.lineStart=s):92===u&&34===a.charCodeAt(s+1)&&34===a.charCodeAt(s+2)&&34===a.charCodeAt(s+3)?(l+=a.slice(c,s)+'"""',c=s+=4):++s}throw V(e,s,"Unterminated string.")}function pe(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function de(e,t,n,r,i){for(var o=e.body,a=o.length,s=t+1,c=0;s!==a&&!isNaN(c=o.charCodeAt(s))&&(95===c||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122);)++s;return new G(Y.NAME,t,s,n,r,i,o.slice(t,s))}var he=function(){function e(e,t){var n=function(e){return e instanceof X}(e)?e:new X(e);this._lexer=new re(n),this._options=t}var t=e.prototype;return t.parseName=function(){var e=this.expectToken(Y.NAME);return{kind:B.NAME,value:e.value,loc:this.loc(e)}},t.parseDocument=function(){var e=this._lexer.token;return{kind:B.DOCUMENT,definitions:this.many(Y.SOF,this.parseDefinition,Y.EOF),loc:this.loc(e)}},t.parseDefinition=function(){if(this.peek(Y.NAME))switch(this._lexer.token.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"schema":case"scalar":case"type":case"interface":case"union":case"enum":case"input":case"directive":return this.parseTypeSystemDefinition();case"extend":return this.parseTypeSystemExtension()}else{if(this.peek(Y.BRACE_L))return this.parseOperationDefinition();if(this.peekDescription())return this.parseTypeSystemDefinition()}throw this.unexpected()},t.parseOperationDefinition=function(){var e=this._lexer.token;if(this.peek(Y.BRACE_L))return{kind:B.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet(),loc:this.loc(e)};var t,n=this.parseOperationType();return this.peek(Y.NAME)&&(t=this.parseName()),{kind:B.OPERATION_DEFINITION,operation:n,name:t,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseOperationType=function(){var e=this.expectToken(Y.NAME);switch(e.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw this.unexpected(e)},t.parseVariableDefinitions=function(){return this.optionalMany(Y.PAREN_L,this.parseVariableDefinition,Y.PAREN_R)},t.parseVariableDefinition=function(){var e=this._lexer.token;return{kind:B.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(Y.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(Y.EQUALS)?this.parseValueLiteral(!0):void 0,directives:this.parseDirectives(!0),loc:this.loc(e)}},t.parseVariable=function(){var e=this._lexer.token;return this.expectToken(Y.DOLLAR),{kind:B.VARIABLE,name:this.parseName(),loc:this.loc(e)}},t.parseSelectionSet=function(){var e=this._lexer.token;return{kind:B.SELECTION_SET,selections:this.many(Y.BRACE_L,this.parseSelection,Y.BRACE_R),loc:this.loc(e)}},t.parseSelection=function(){return this.peek(Y.SPREAD)?this.parseFragment():this.parseField()},t.parseField=function(){var e,t,n=this._lexer.token,r=this.parseName();return this.expectOptionalToken(Y.COLON)?(e=r,t=this.parseName()):t=r,{kind:B.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(Y.BRACE_L)?this.parseSelectionSet():void 0,loc:this.loc(n)}},t.parseArguments=function(e){var t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(Y.PAREN_L,t,Y.PAREN_R)},t.parseArgument=function(){var e=this._lexer.token,t=this.parseName();return this.expectToken(Y.COLON),{kind:B.ARGUMENT,name:t,value:this.parseValueLiteral(!1),loc:this.loc(e)}},t.parseConstArgument=function(){var e=this._lexer.token;return{kind:B.ARGUMENT,name:this.parseName(),value:(this.expectToken(Y.COLON),this.parseValueLiteral(!0)),loc:this.loc(e)}},t.parseFragment=function(){var e=this._lexer.token;this.expectToken(Y.SPREAD);var t=this.expectOptionalKeyword("on");return!t&&this.peek(Y.NAME)?{kind:B.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1),loc:this.loc(e)}:{kind:B.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseFragmentDefinition=function(){var e,t=this._lexer.token;return this.expectKeyword("fragment"),!0===(null===(e=this._options)||void 0===e?void 0:e.experimentalFragmentVariables)?{kind:B.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}:{kind:B.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}},t.parseFragmentName=function(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()},t.parseValueLiteral=function(e){var t=this._lexer.token;switch(t.kind){case Y.BRACKET_L:return this.parseList(e);case Y.BRACE_L:return this.parseObject(e);case Y.INT:return this._lexer.advance(),{kind:B.INT,value:t.value,loc:this.loc(t)};case Y.FLOAT:return this._lexer.advance(),{kind:B.FLOAT,value:t.value,loc:this.loc(t)};case Y.STRING:case Y.BLOCK_STRING:return this.parseStringLiteral();case Y.NAME:switch(this._lexer.advance(),t.value){case"true":return{kind:B.BOOLEAN,value:!0,loc:this.loc(t)};case"false":return{kind:B.BOOLEAN,value:!1,loc:this.loc(t)};case"null":return{kind:B.NULL,loc:this.loc(t)};default:return{kind:B.ENUM,value:t.value,loc:this.loc(t)}}case Y.DOLLAR:if(!e)return this.parseVariable()}throw this.unexpected()},t.parseStringLiteral=function(){var e=this._lexer.token;return this._lexer.advance(),{kind:B.STRING,value:e.value,block:e.kind===Y.BLOCK_STRING,loc:this.loc(e)}},t.parseList=function(e){var t=this,n=this._lexer.token;return{kind:B.LIST,values:this.any(Y.BRACKET_L,(function(){return t.parseValueLiteral(e)}),Y.BRACKET_R),loc:this.loc(n)}},t.parseObject=function(e){var t=this,n=this._lexer.token;return{kind:B.OBJECT,fields:this.any(Y.BRACE_L,(function(){return t.parseObjectField(e)}),Y.BRACE_R),loc:this.loc(n)}},t.parseObjectField=function(e){var t=this._lexer.token,n=this.parseName();return this.expectToken(Y.COLON),{kind:B.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e),loc:this.loc(t)}},t.parseDirectives=function(e){for(var t=[];this.peek(Y.AT);)t.push(this.parseDirective(e));return t},t.parseDirective=function(e){var t=this._lexer.token;return this.expectToken(Y.AT),{kind:B.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e),loc:this.loc(t)}},t.parseTypeReference=function(){var e,t=this._lexer.token;return this.expectOptionalToken(Y.BRACKET_L)?(e=this.parseTypeReference(),this.expectToken(Y.BRACKET_R),e={kind:B.LIST_TYPE,type:e,loc:this.loc(t)}):e=this.parseNamedType(),this.expectOptionalToken(Y.BANG)?{kind:B.NON_NULL_TYPE,type:e,loc:this.loc(t)}:e},t.parseNamedType=function(){var e=this._lexer.token;return{kind:B.NAMED_TYPE,name:this.parseName(),loc:this.loc(e)}},t.parseTypeSystemDefinition=function(){var e=this.peekDescription()?this._lexer.lookahead():this._lexer.token;if(e.kind===Y.NAME)switch(e.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}throw this.unexpected(e)},t.peekDescription=function(){return this.peek(Y.STRING)||this.peek(Y.BLOCK_STRING)},t.parseDescription=function(){if(this.peekDescription())return this.parseStringLiteral()},t.parseSchemaDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");var n=this.parseDirectives(!0),r=this.many(Y.BRACE_L,this.parseOperationTypeDefinition,Y.BRACE_R);return{kind:B.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:r,loc:this.loc(e)}},t.parseOperationTypeDefinition=function(){var e=this._lexer.token,t=this.parseOperationType();this.expectToken(Y.COLON);var n=this.parseNamedType();return{kind:B.OPERATION_TYPE_DEFINITION,operation:t,type:n,loc:this.loc(e)}},t.parseScalarTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");var n=this.parseName(),r=this.parseDirectives(!0);return{kind:B.SCALAR_TYPE_DEFINITION,description:t,name:n,directives:r,loc:this.loc(e)}},t.parseObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");var n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseDirectives(!0),o=this.parseFieldsDefinition();return{kind:B.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:o,loc:this.loc(e)}},t.parseImplementsInterfaces=function(){var e;if(!this.expectOptionalKeyword("implements"))return[];if(!0===(null===(e=this._options)||void 0===e?void 0:e.allowLegacySDLImplementsInterfaces)){var t=[];this.expectOptionalToken(Y.AMP);do{t.push(this.parseNamedType())}while(this.expectOptionalToken(Y.AMP)||this.peek(Y.NAME));return t}return this.delimitedMany(Y.AMP,this.parseNamedType)},t.parseFieldsDefinition=function(){var e;return!0===(null===(e=this._options)||void 0===e?void 0:e.allowLegacySDLEmptyFields)&&this.peek(Y.BRACE_L)&&this._lexer.lookahead().kind===Y.BRACE_R?(this._lexer.advance(),this._lexer.advance(),[]):this.optionalMany(Y.BRACE_L,this.parseFieldDefinition,Y.BRACE_R)},t.parseFieldDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseArgumentDefs();this.expectToken(Y.COLON);var i=this.parseTypeReference(),o=this.parseDirectives(!0);return{kind:B.FIELD_DEFINITION,description:t,name:n,arguments:r,type:i,directives:o,loc:this.loc(e)}},t.parseArgumentDefs=function(){return this.optionalMany(Y.PAREN_L,this.parseInputValueDef,Y.PAREN_R)},t.parseInputValueDef=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName();this.expectToken(Y.COLON);var r,i=this.parseTypeReference();this.expectOptionalToken(Y.EQUALS)&&(r=this.parseValueLiteral(!0));var o=this.parseDirectives(!0);return{kind:B.INPUT_VALUE_DEFINITION,description:t,name:n,type:i,defaultValue:r,directives:o,loc:this.loc(e)}},t.parseInterfaceTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");var n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseDirectives(!0),o=this.parseFieldsDefinition();return{kind:B.INTERFACE_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:o,loc:this.loc(e)}},t.parseUnionTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");var n=this.parseName(),r=this.parseDirectives(!0),i=this.parseUnionMemberTypes();return{kind:B.UNION_TYPE_DEFINITION,description:t,name:n,directives:r,types:i,loc:this.loc(e)}},t.parseUnionMemberTypes=function(){return this.expectOptionalToken(Y.EQUALS)?this.delimitedMany(Y.PIPE,this.parseNamedType):[]},t.parseEnumTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");var n=this.parseName(),r=this.parseDirectives(!0),i=this.parseEnumValuesDefinition();return{kind:B.ENUM_TYPE_DEFINITION,description:t,name:n,directives:r,values:i,loc:this.loc(e)}},t.parseEnumValuesDefinition=function(){return this.optionalMany(Y.BRACE_L,this.parseEnumValueDefinition,Y.BRACE_R)},t.parseEnumValueDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseDirectives(!0);return{kind:B.ENUM_VALUE_DEFINITION,description:t,name:n,directives:r,loc:this.loc(e)}},t.parseInputObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");var n=this.parseName(),r=this.parseDirectives(!0),i=this.parseInputFieldsDefinition();return{kind:B.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:r,fields:i,loc:this.loc(e)}},t.parseInputFieldsDefinition=function(){return this.optionalMany(Y.BRACE_L,this.parseInputValueDef,Y.BRACE_R)},t.parseTypeSystemExtension=function(){var e=this._lexer.lookahead();if(e.kind===Y.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)},t.parseSchemaExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");var t=this.parseDirectives(!0),n=this.optionalMany(Y.BRACE_L,this.parseOperationTypeDefinition,Y.BRACE_R);if(0===t.length&&0===n.length)throw this.unexpected();return{kind:B.SCHEMA_EXTENSION,directives:t,operationTypes:n,loc:this.loc(e)}},t.parseScalarTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");var t=this.parseName(),n=this.parseDirectives(!0);if(0===n.length)throw this.unexpected();return{kind:B.SCALAR_TYPE_EXTENSION,name:t,directives:n,loc:this.loc(e)}},t.parseObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");var t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseDirectives(!0),i=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===i.length)throw this.unexpected();return{kind:B.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i,loc:this.loc(e)}},t.parseInterfaceTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");var t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseDirectives(!0),i=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===i.length)throw this.unexpected();return{kind:B.INTERFACE_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i,loc:this.loc(e)}},t.parseUnionTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");var t=this.parseName(),n=this.parseDirectives(!0),r=this.parseUnionMemberTypes();if(0===n.length&&0===r.length)throw this.unexpected();return{kind:B.UNION_TYPE_EXTENSION,name:t,directives:n,types:r,loc:this.loc(e)}},t.parseEnumTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");var t=this.parseName(),n=this.parseDirectives(!0),r=this.parseEnumValuesDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return{kind:B.ENUM_TYPE_EXTENSION,name:t,directives:n,values:r,loc:this.loc(e)}},t.parseInputObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");var t=this.parseName(),n=this.parseDirectives(!0),r=this.parseInputFieldsDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return{kind:B.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:r,loc:this.loc(e)}},t.parseDirectiveDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(Y.AT);var n=this.parseName(),r=this.parseArgumentDefs(),i=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");var o=this.parseDirectiveLocations();return{kind:B.DIRECTIVE_DEFINITION,description:t,name:n,arguments:r,repeatable:i,locations:o,loc:this.loc(e)}},t.parseDirectiveLocations=function(){return this.delimitedMany(Y.PIPE,this.parseDirectiveLocation)},t.parseDirectiveLocation=function(){var e=this._lexer.token,t=this.parseName();if(void 0!==ee[t.value])return t;throw this.unexpected(e)},t.loc=function(e){var t;if(!0!==(null===(t=this._options)||void 0===t?void 0:t.noLocation))return new K(e,this._lexer.lastToken,this._lexer.source)},t.peek=function(e){return this._lexer.token.kind===e},t.expectToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t;throw V(this._lexer.source,t.start,"Expected ".concat(me(e),", found ").concat(_e(t),"."))},t.expectOptionalToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t},t.expectKeyword=function(e){var t=this._lexer.token;if(t.kind!==Y.NAME||t.value!==e)throw V(this._lexer.source,t.start,'Expected "'.concat(e,'", found ').concat(_e(t),"."));this._lexer.advance()},t.expectOptionalKeyword=function(e){var t=this._lexer.token;return t.kind===Y.NAME&&t.value===e&&(this._lexer.advance(),!0)},t.unexpected=function(e){var t=null!=e?e:this._lexer.token;return V(this._lexer.source,t.start,"Unexpected ".concat(_e(t),"."))},t.any=function(e,t,n){this.expectToken(e);for(var r=[];!this.expectOptionalToken(n);)r.push(t.call(this));return r},t.optionalMany=function(e,t,n){if(this.expectOptionalToken(e)){var r=[];do{r.push(t.call(this))}while(!this.expectOptionalToken(n));return r}return[]},t.many=function(e,t,n){this.expectToken(e);var r=[];do{r.push(t.call(this))}while(!this.expectOptionalToken(n));return r},t.delimitedMany=function(e,t){this.expectOptionalToken(e);var n=[];do{n.push(t.call(this))}while(this.expectOptionalToken(e));return n},e}();function _e(e){var t=e.value;return me(e.kind)+(null!=t?' "'.concat(t,'"'):"")}function me(e){return function(e){return e===Y.BANG||e===Y.DOLLAR||e===Y.AMP||e===Y.PAREN_L||e===Y.PAREN_R||e===Y.SPREAD||e===Y.COLON||e===Y.EQUALS||e===Y.AT||e===Y.BRACKET_L||e===Y.BRACKET_R||e===Y.BRACE_L||e===Y.PIPE||e===Y.BRACE_R}(e)?'"'.concat(e,'"'):e}var ve={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},ye=Object.freeze({});function ge(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ve,r=void 0,i=Array.isArray(e),o=[e],a=-1,s=[],c=void 0,u=void 0,l=void 0,f=[],p=[],d=e;do{var h=++a===o.length,_=h&&0!==s.length;if(h){if(u=0===p.length?void 0:f[f.length-1],c=l,l=p.pop(),_){if(i)c=c.slice();else{for(var m={},v=0,y=Object.keys(c);v<y.length;v++){var g=y[v];m[g]=c[g]}c=m}for(var b=0,E=0;E<s.length;E++){var T=s[E][0],N=s[E][1];i&&(T-=b),i&&null===N?(c.splice(T,1),b++):c[T]=N}}a=r.index,o=r.keys,s=r.edits,i=r.inArray,r=r.prev}else{if(u=l?i?a:o[a]:void 0,null==(c=l?l[u]:d))continue;l&&f.push(u)}var O,k=void 0;if(!Array.isArray(c)){if(!H(c))throw new Error("Invalid AST Node: ".concat(W(c),"."));var C=be(t,c.kind,h);if(C){if((k=C.call(t,c,u,l,f,p))===ye)break;if(!1===k){if(!h){f.pop();continue}}else if(void 0!==k&&(s.push([u,k]),!h)){if(!H(k)){f.pop();continue}c=k}}}void 0===k&&_&&s.push([u,c]),h?f.pop():(r={inArray:i,index:a,keys:o,edits:s,prev:r},o=(i=Array.isArray(c))?c:null!==(O=n[c.kind])&&void 0!==O?O:[],a=-1,s=[],l&&p.push(l),l=c)}while(void 0!==r);return 0!==s.length&&(d=s[s.length-1][1]),d}function be(e,t,n){var r=e[t];if(r){if(!n&&"function"==typeof r)return r;var i=n?r.leave:r.enter;if("function"==typeof i)return i}else{var o=n?e.leave:e.enter;if(o){if("function"==typeof o)return o;var a=o[t];if("function"==typeof a)return a}}}function Ee(e){return ge(e,{leave:Ae})}var Te,Ne,Oe,ke,Ce,Se,Ae={Name:function(e){return e.value},Variable:function(e){return"$"+e.name},Document:function(e){return Ie(e.definitions,"\n\n")+"\n"},OperationDefinition:function(e){var t=e.operation,n=e.name,r=we("(",Ie(e.variableDefinitions,", "),")"),i=Ie(e.directives," "),o=e.selectionSet;return n||i||r||"query"!==t?Ie([t,Ie([n,r]),i,o]," "):o},VariableDefinition:function(e){var t=e.variable,n=e.type,r=e.defaultValue,i=e.directives;return t+": "+n+we(" = ",r)+we(" ",Ie(i," "))},SelectionSet:function(e){return xe(e.selections)},Field:function(e){var t=e.alias,n=e.name,r=e.arguments,i=e.directives,o=e.selectionSet,a=we("",t,": ")+n,s=a+we("(",Ie(r,", "),")");return s.length>80&&(s=a+we("(\n",Pe(Ie(r,"\n")),"\n)")),Ie([s,Ie(i," "),o]," ")},Argument:function(e){return e.name+": "+e.value},FragmentSpread:function(e){return"..."+e.name+we(" ",Ie(e.directives," "))},InlineFragment:function(e){var t=e.typeCondition,n=e.directives,r=e.selectionSet;return Ie(["...",we("on ",t),Ie(n," "),r]," ")},FragmentDefinition:function(e){var t=e.name,n=e.typeCondition,r=e.variableDefinitions,i=e.directives,o=e.selectionSet;return"fragment ".concat(t).concat(we("(",Ie(r,", "),")")," ")+"on ".concat(n," ").concat(we("",Ie(i," ")," "))+o},IntValue:function(e){return e.value},FloatValue:function(e){return e.value},StringValue:function(e,t){var n=e.value;return e.block?function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=-1===e.indexOf("\n"),i=" "===e[0]||"\t"===e[0],o='"'===e[e.length-1],a="\\"===e[e.length-1],s=!r||o||a||n,c="";return!s||r&&i||(c+="\n"+t),c+=t?e.replace(/\n/g,"\n"+t):e,s&&(c+="\n"),'"""'+c.replace(/"""/g,'\\"""')+'"""'}(n,"description"===t?"":"  "):JSON.stringify(n)},BooleanValue:function(e){return e.value?"true":"false"},NullValue:function(){return"null"},EnumValue:function(e){return e.value},ListValue:function(e){return"["+Ie(e.values,", ")+"]"},ObjectValue:function(e){return"{"+Ie(e.fields,", ")+"}"},ObjectField:function(e){return e.name+": "+e.value},Directive:function(e){return"@"+e.name+we("(",Ie(e.arguments,", "),")")},NamedType:function(e){return e.name},ListType:function(e){return"["+e.type+"]"},NonNullType:function(e){return e.type+"!"},SchemaDefinition:De((function(e){var t=e.directives,n=e.operationTypes;return Ie(["schema",Ie(t," "),xe(n)]," ")})),OperationTypeDefinition:function(e){return e.operation+": "+e.type},ScalarTypeDefinition:De((function(e){return Ie(["scalar",e.name,Ie(e.directives," ")]," ")})),ObjectTypeDefinition:De((function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return Ie(["type",t,we("implements ",Ie(n," & ")),Ie(r," "),xe(i)]," ")})),FieldDefinition:De((function(e){var t=e.name,n=e.arguments,r=e.type,i=e.directives;return t+(Fe(n)?we("(\n",Pe(Ie(n,"\n")),"\n)"):we("(",Ie(n,", "),")"))+": "+r+we(" ",Ie(i," "))})),InputValueDefinition:De((function(e){var t=e.name,n=e.type,r=e.defaultValue,i=e.directives;return Ie([t+": "+n,we("= ",r),Ie(i," ")]," ")})),InterfaceTypeDefinition:De((function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return Ie(["interface",t,we("implements ",Ie(n," & ")),Ie(r," "),xe(i)]," ")})),UnionTypeDefinition:De((function(e){var t=e.name,n=e.directives,r=e.types;return Ie(["union",t,Ie(n," "),r&&0!==r.length?"= "+Ie(r," | "):""]," ")})),EnumTypeDefinition:De((function(e){var t=e.name,n=e.directives,r=e.values;return Ie(["enum",t,Ie(n," "),xe(r)]," ")})),EnumValueDefinition:De((function(e){return Ie([e.name,Ie(e.directives," ")]," ")})),InputObjectTypeDefinition:De((function(e){var t=e.name,n=e.directives,r=e.fields;return Ie(["input",t,Ie(n," "),xe(r)]," ")})),DirectiveDefinition:De((function(e){var t=e.name,n=e.arguments,r=e.repeatable,i=e.locations;return"directive @"+t+(Fe(n)?we("(\n",Pe(Ie(n,"\n")),"\n)"):we("(",Ie(n,", "),")"))+(r?" repeatable":"")+" on "+Ie(i," | ")})),SchemaExtension:function(e){var t=e.directives,n=e.operationTypes;return Ie(["extend schema",Ie(t," "),xe(n)]," ")},ScalarTypeExtension:function(e){return Ie(["extend scalar",e.name,Ie(e.directives," ")]," ")},ObjectTypeExtension:function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return Ie(["extend type",t,we("implements ",Ie(n," & ")),Ie(r," "),xe(i)]," ")},InterfaceTypeExtension:function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return Ie(["extend interface",t,we("implements ",Ie(n," & ")),Ie(r," "),xe(i)]," ")},UnionTypeExtension:function(e){var t=e.name,n=e.directives,r=e.types;return Ie(["extend union",t,Ie(n," "),r&&0!==r.length?"= "+Ie(r," | "):""]," ")},EnumTypeExtension:function(e){var t=e.name,n=e.directives,r=e.values;return Ie(["extend enum",t,Ie(n," "),xe(r)]," ")},InputObjectTypeExtension:function(e){var t=e.name,n=e.directives,r=e.fields;return Ie(["extend input",t,Ie(n," "),xe(r)]," ")}};function De(e){return function(t){return Ie([t.description,e(t)],"\n")}}function Ie(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return null!==(t=null==e?void 0:e.filter((function(e){return e})).join(n))&&void 0!==t?t:""}function xe(e){return we("{\n",Pe(Ie(e,"\n")),"\n}")}function we(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return null!=t&&""!==t?e+t+n:""}function Pe(e){return we("  ",e.replace(/\n/g,"\n  "))}function Re(e){return-1!==e.indexOf("\n")}function Fe(e){return null!=e&&e.some(Re)}function Le(e){return"string"==typeof e?new U(e):"object"==typeof e&&e.message?new U(e.message,e.nodes,e.source,e.positions,e.path,e,e.extensions||{}):e}function Me(){return this.message}function je(e,t){e|=0;for(var n=0,r=0|t.length;n<r;n++)e=(e<<5)+e+t.charCodeAt(n);return e}function Ue(e){var t,n,r,i,o,a;if(null===e||Ne.has(e))return"null";if("object"!=typeof e)return JSON.stringify(e)||"";if(e.toJSON)return Ue(e.toJSON());if(Array.isArray(e)){for(t="[",n=0,r=e.length;n<r;n++)0<n&&(t+=","),t+=0<(i=Ue(e[n])).length?i:"null";return t+"]"}if(!(t=Object.keys(e).sort()).length&&e.constructor&&e.constructor!==Object)return t=Oe.get(e)||Math.random().toString(36).slice(2),Oe.set(e,t),'{"__key":"'+t+'"}';for(Ne.add(e),n="{",r=0,i=t.length;r<i;r++)(a=Ue(e[o=t[r]]))&&(1<n.length&&(n+=","),n+=Ue(o)+":"+a);return Ne.delete(e),n+"}"}function Be(e){return Ne.clear(),Ue(e)}function Ve(e){var t=("string"!=typeof e?e.loc&&e.loc.source.body||Ee(e):e).replace(/([\s,]|#[^\n\r]+)+/g," ").trim();return"string"!=typeof e&&(e.loc?(e="definitions"in e&&qe(e))&&(t="# "+e+"\n"+t):e.loc={start:0,end:t.length,source:{body:t,name:"gql",locationOffset:{line:1,column:1}}}),t}function $e(e){if("string"==typeof e){var t=je(5381,Ve(e))>>>0;e=ke.get(t)||new he(e,{noLocation:!0}).parseDocument()}else t=e.__key||je(5381,Ve(e))>>>0,e=ke.get(t)||e;return e.loc||Ve(e),e.__key=t,ke.set(t,e),e}function qe(e){var t,n,r;for(t=0,n=e.definitions.length;t<n;t++)if((r=e.definitions[t]).kind===B.OPERATION_DEFINITION&&r.name)return r.name.value}function Ke(){return(Ke=Object.assign||function(e){var t,n,r;for(t=1;t<arguments.length;t++)for(r in n=arguments[t])Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r]);return e}).apply(this,arguments)}function Ge(e,t,n){return function(e){return function(t){let n=a,i=!1;n=e({next:function(e){i||t(r(1,[e]))},complete:function(){i||(i=!0,t(0))}}),t(r(0,[function(e){if(e&&!i)return i=!0,n()}]))}}((function(r){var i=r.next,o=r.complete,a="undefined"!=typeof AbortController?new AbortController:null,s=!1;return Promise.resolve().then((function(){if(!s)return a&&(n.signal=a.signal),function(e,t,n){var r,i=!1;return(e.context.fetch||fetch)(t,n).then((function(e){return r=e,i=200>e.status||e.status>=("manual"===n.redirect?400:300),e.json()})).then((function(t){if(!("data"in t)&&!("errors"in t))throw Error("No Content");return function(e,t,n){return{operation:e,data:t.data,error:Array.isArray(t.errors)?new Te({graphQLErrors:t.errors,response:n}):void 0,extensions:"object"==typeof t.extensions&&t.extensions||void 0}}(e,t,r)})).catch((function(t){if("AbortError"!==t.name)return function(e,t,n){return{operation:e,data:void 0,error:new Te({networkError:t,response:n}),extensions:void 0}}(e,i?Error(r.statusText):t,r)}))}(e,t,n)})).then((function(e){s||(s=!0,e&&i(e),o())})),function(){s=!0,a&&a.abort()}}))}function He(e,t){return e=$e(e),{key:t?je(e.__key,Be(t))>>>0:e.__key,query:e,variables:t||{}}}function Ye(e,t){if(Array.isArray(e))for(var n=0;n<e.length;n++)Ye(e[n],t);else if("object"==typeof e&&null!==e)for(n in e)"__typename"===n&&"string"==typeof e[n]?t[e[n]]=0:Ye(e[n],t);return t}function Ze(e){return e.kind===B.FIELD&&"__typename"===e.name.value&&!e.alias}function We(e){if(e.selectionSet&&!e.selectionSet.selections.some(Ze))return Ke({},e,{selectionSet:Ke({},e.selectionSet,{selections:e.selectionSet.selections.concat([{kind:B.FIELD,name:{kind:B.NAME,value:"__typename"}}])})})}function Je(e){return e&&"object"==typeof e?Object.keys(e).reduce((function(t,n){var r=e[n];return"__typename"===n?Object.defineProperty(t,"__typename",{enumerable:!1,value:r}):Array.isArray(r)?t[n]=r.map(Je):t[n]=r&&"object"==typeof r&&"__typename"in r?Je(r):r,t}),{}):e}function ze(e){return e.toPromise=function(){return function(e){return new Promise((function(t){!function(e){return function(t){return function(n){let a=[],s=i;return t((function(t){"number"==typeof t?o(a)(n):t.tag?(a.length>=e&&0<e&&a.shift(),a.push(t[0]),s(0)):(t=t[0],0>=e?(t(1),function(e){let t=!1;e(r(0,[function(n){n?t=!0:t||e(0)}]))}(n)):(s=t,t(0)))}))}}}(1)(e)((function(e){"number"!=typeof e&&(e.tag?t(e[0]):e[0](0))}))}))}(E(1)(e))},e}function Qe(e,t,n){return n||(n=t.context),{key:t.key,query:t.query,variables:t.variables,kind:e,context:n}}function Xe(e,t){return Qe(e.kind,e,Ke({},e.context,{meta:Ke({},e.context.meta,t)}))}function et(){}function tt(e){return"mutation"!==(e=e.kind)&&"query"!==e}function nt(e){var t=Qe(e.kind,e);return t.query=function(e){e=$e(e);var t=Ce.get(e.__key);return t||((t=ge(e,{Field:We,InlineFragment:We})).__key=e.__key,Ce.set(e.__key,t)),t}(e.query),t}function rt(e){return"query"!==e.kind||"cache-only"!==e.context.requestPolicy}function it(e){return Xe(e,{cacheOutcome:"miss"})}function ot(e){return tt(e)}function at(e,t){return e.reexecuteOperation(Qe(t.kind,t,Ke({},t.context,{requestPolicy:"network-only"})))}function st(e){return"query"===e.kind||"mutation"===e.kind}function ct(e){return"query"!==e.kind&&"mutation"!==e.kind}function ut(){return!1}function lt(e){function t(e){e.kind}return e.dispatchDebug,function(e){return _(ut)(f(t)(e))}}function ft(e){var t,n,i,o,a=this;this.activeOperations=Object.create(null),this.queue=[],this.createOperationContext=function(e){return e||(e={}),Ke({},{url:a.url,fetchOptions:a.fetchOptions,fetch:a.fetch,preferGetMethod:a.preferGetMethod},e,{suspense:e.suspense||!1!==e.suspense&&a.suspense,requestPolicy:e.requestPolicy||a.requestPolicy})},this.createRequestOperation=function(e,t,n){return Qe(e,t,a.createOperationContext(n))},this.executeQuery=function(e,t){return e=a.createRequestOperation("query",e,t),a.executeRequestOperation(e)},this.executeSubscription=function(e,t){return e=a.createRequestOperation("subscription",e,t),a.executeRequestOperation(e)},this.executeMutation=function(e,t){return e=a.createRequestOperation("mutation",e,t),a.executeRequestOperation(e)},t=et,this.url=e.url,this.fetchOptions=e.fetchOptions,this.fetch=e.fetch,this.suspense=!!e.suspense,this.requestPolicy=e.requestPolicy||"cache-first",this.preferGetMethod=!!e.preferGetMethod,this.maskTypename=!!e.maskTypename,n=function(){let e=[],t=!1;return{source:function(t){function n(e){return e!==t}e=e.concat(t),t(r(0,[function(t){t&&(e=e.filter(n))}]))},next:function(n){t||e.forEach((function(e){e(r(1,[n]))}))},complete:function(){t||(t=!0,e.forEach(s))}}}(),i=n.next,this.operations$=n.source,o=!1,this.dispatchOperation=function(e){for(o=!0,e&&i(e);e=a.queue.shift();)i(e);o=!1},this.reexecuteOperation=function(e){("mutation"===e.kind||0<(a.activeOperations[e.key]||0))&&(a.queue.push(e),o||Promise.resolve().then(a.dispatchOperation))},e=function(e){return function(t){var n=t.client;return t.dispatchDebug,e.reduceRight((function(e,t){return t({client:n,forward:e,dispatchDebug:function(e){}})}),t.forward)}}(void 0!==e.exchanges?e.exchanges:Se),this.results$=b(e({client:this,dispatchDebug:t,forward:lt({dispatchDebug:t})})(this.operations$)),function(e){d(h)(e)}(this.results$)}function pt(e){return e.data=Je(e.data),e}function dt(e){return new ft(e)}Te=function(e){function t(t){var n,r=t.networkError,i=t.response;n=function(e,t){var n="";return void 0!==e?n="[Network] "+e.message:(void 0!==t&&t.forEach((function(e){n+="[GraphQL] "+e.message+"\n"})),n.trim())}(r,t=(t.graphQLErrors||[]).map(Le)),e.call(this,n),this.name="CombinedError",this.message=n,this.graphQLErrors=t,this.networkError=r,this.response=i}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.toString=Me,t}(Error),Ne=new Set,Oe=new WeakMap,ke=new Map,Ce=new Map,lt({dispatchDebug:et}),Se=[function(e){function t(e){i.delete(e.operation.key)}function n(e){var t=e.key,n=e.kind;return"teardown"===n?(i.delete(t),!0):"query"!==n&&"subscription"!==n||(n=i.has(t),i.add(t),!n)}var r=e.forward,i=(e.dispatchDebug,new Set);return function(e){return e=_(n)(e),f(t)(r(e))}},function(e){function t(e){var t=e.context.requestPolicy;return"query"===e.kind&&"network-only"!==t&&("cache-only"===t||c.has(e.key))}function n(e){var t=c.get(e.key);return t=Ke({},t,{operation:Xe(e,{cacheOutcome:t?"hit":"miss"})}),"cache-and-network"===e.context.requestPolicy&&(t.stale=!0,at(s,e)),t}function r(e){return!tt(e)&&t(e)}function i(e){function t(e){r.add(e)}var n,r,i,o=e.operation;if(o)if(n=Object.keys(Ye(e.data,{})).concat(o.context.additionalTypenames||[]),"mutation"===e.operation.kind){for(r=new Set,e=0;e<n.length;e++)(i=u[i=n[e]]||(u[i]=new Set)).forEach(t),i.clear();r.forEach((function(e){c.has(e)&&(o=c.get(e).operation,c.delete(e),at(s,o))}))}else if("query"===o.kind&&e.data)for(c.set(o.key,e),e=0;e<n.length;e++)(u[i=n[e]]||(u[i]=new Set)).add(o.key)}function o(e){return!tt(e)&&!t(e)}var a=e.forward,s=e.client,c=(e.dispatchDebug,new Map),u=Object.create(null);return function(e){var t=b(e);return e=v(n)(_(r)(t)),t=f(i)(a(_(rt)(v(it)(y([v(nt)(_(o)(t)),_(ot)(t)]))))),y([e,t])}},function(e){var t=e.forward;return e.dispatchDebug,function(e){var n=b(e);return y([e=u((function(e){var t=e.key,r=_((function(e){return"teardown"===e.kind&&e.key===t}))(n),i=function(e){return{query:Ee(e.query),operationName:qe(e.query),variables:e.variables||void 0,extensions:void 0}}(e),o=function(e,t){var n=e.context.url;return"query"===e.kind&&e.context.preferGetMethod&&t?(e=[],t.operationName&&e.push("operationName="+encodeURIComponent(t.operationName)),t.query&&e.push("query="+encodeURIComponent(t.query.replace(/([\s,]|#[^\n\r]+)+/g," ").trim())),t.variables&&e.push("variables="+encodeURIComponent(Be(t.variables))),t.extensions&&e.push("extensions="+encodeURIComponent(Be(t.extensions))),n+"?"+e.join("&")):n}(e,i),a=function(e,t){var n="query"===e.kind&&!!e.context.preferGetMethod;return Ke({},e="function"==typeof e.context.fetchOptions?e.context.fetchOptions():e.context.fetchOptions||{},{body:!n&&t?JSON.stringify(t):void 0,method:n?"GET":"POST",headers:n?e.headers:Ke({},{"content-type":"application/json"},e.headers)})}(e,i);return f((function(e){e.data||e.error}))(T(r)(Ge(e,o,a)))}))(_(st)(n)),t(_(ct)(n))])}}],ft.prototype.onOperationStart=function(e){var t=e.key;this.activeOperations[t]=(this.activeOperations[t]||0)+1,this.dispatchOperation(e)},ft.prototype.onOperationEnd=function(e){var t=e.key,n=this.activeOperations[t]||0;if(0>=(this.activeOperations[t]=0>=n?0:n-1)){for(t=this.queue.length-1;0<=t;t--)this.queue[t].key===e.key&&this.queue.splice(t,1);this.dispatchOperation(Qe("teardown",e,e.context))}},ft.prototype.executeRequestOperation=function(e){var t,n,o=this,a=_((function(t){return t.operation.key===e.key}))(this.results$);return this.maskTypename&&(a=v(pt)(a)),"mutation"===e.kind?E(1)(g((function(){return o.dispatchOperation(e)}))(a)):(t=_((function(t){return"teardown"===t.kind&&t.key===e.key}))(this.operations$),n=_((function(t){return t.kind===e.kind&&t.key===e.key&&"cache-only"!==t.context.requestPolicy}))(this.operations$),function(e){return function(t){return function(n){let i=!1;return t((function(t){if("number"==typeof t){if(i)return;return i=!0,n(t),e()}if(t.tag)i||n(t);else{var o=t[0];n(r(0,[function(t){if(!i)return t?(i=!0,o(t),e()):o(t)}]))}}))}}}((function(){o.onOperationEnd(e)}))(g((function(){o.onOperationStart(e)}))(function(e){return function(t){return function(n){function o(e){u&&("number"==typeof e?(u=!1,f?n(e):s||(s=!0,a(0))):e.tag?(n(e),l?l=!1:c(0)):(c=e=e[0],l=!1,e(0)))}let a=i,s=!1,c=i,u=!1,l=!1,f=!1;t((function(t){"number"==typeof t?f||(f=!0,u||n(0)):t.tag?f||(u&&(c(1),c=i),s?s=!1:(s=!0,a(0)),t=e(t[0]),u=!0,t(o)):a=t[0]})),n(r(0,[function(e){if(e){if(f||(f=!0,a(1)),u)return u=!1,c(1)}else f||s||(s=!0,a(0)),u&&!l&&(l=!0,c(0))}]))}}}((function(e){return e.stale?m(e):y([m(e),v((function(){return Ke({},e,{stale:!0})}))(E(1)(n))])}))(T(t)(a)))))},ft.prototype.query=function(e,t,n){return n&&"boolean"==typeof n.suspense||(n=Ke({},n,{suspense:!1})),ze(this.executeQuery(He(e,t),n))},ft.prototype.readQuery=function(e,t,n){var r=null;return d((function(e){r=e}))(this.executeQuery(He(e,t),n)).unsubscribe(),r},ft.prototype.subscription=function(e,t,n){return this.executeSubscription(He(e,t),n)},ft.prototype.mutation=function(e,t,n){return ze(this.executeMutation(He(e,t),n))};var ht=n(6466);const _t=(0,ht.pZ)("DATA_API"),mt=(0,ht.pZ)("DATA_API_TOKEN"),vt=(0,ht.pZ)("SQUIDEX_API"),yt=(0,ht.pZ)("SQUIDEX_API_TOKEN"),gt=dt({url:_t,fetchOptions:()=>({headers:{authorization:mt?`Bearer ${mt}`:""}})}),bt=dt({url:vt,fetchOptions:()=>({headers:{authorization:yt?`Bearer ${yt}`:""}})})},257:(e,t,n)=>{n.d(t,{g$:()=>i,z$:()=>o,U9:()=>a,HZ:()=>s,NP:()=>c,Ux:()=>u});const r="\n    fragment LolChampionAbilityFragment on ChampionsAbilitiesV1DataFlatDto {\n        activationKey\n        riotDesc: ddragonDescription\n        mobaDesc: description\n        name\n        slug\n        stats {\n            ...ChampionAbilityStatFragment\n            __typename\n        }\n        customStats {\n            ...ChampionAbilityCustomStatFragment\n            __typename\n        }\n        __typename\n    }\n    \n    fragment ChampionAbilityStatFragment on ChampionsAbilitiesV1statsChildDto {\n        slug\n        value\n        __typename\n    }\n\n    \n    fragment ChampionAbilityCustomStatFragment on ChampionsAbilitiesV1customStatsChildDto {\n        slug\n        value\n        __typename\n    }\n\n",i='\n    query ChampionQuery($champion: String! = "akali", $role: Rolename! = UNKNOWN) {\n        lol {\n            champion(filters: {slug: $champion, role: $role}) {\n                build {\n                    championSlug\n                    items {\n                        type\n                        items\n                    }\n                    name\n                    patch\n                    perks {\n                        IDs\n                        style\n                        subStyle\n                    }\n                    role\n                    skillOrder\n                    spells\n                    stats {\n                        matchCount\n                    }\n                    type\n                }\n                stats {\n                    tier\n                    winRateHistory {\n                        x\n                        value\n                    }\n                }\n            }\n        }\n    }\n',o=`\n    query LolChampionPageStaticQuery($championFilter: String!, $withCommonData: Boolean!) {\n        ...ChampionsCommonStaticDataFragment @include(if: $withCommonData)\n    }\n\n    fragment ChampionsCommonStaticDataFragment on AppQueries {\n        querySummonersSpellsV1Contents {\n            flatData {\n                riotId\n                slug\n            }\n        }\n        championCommonInfo: queryChampionsV1Contents(filter: $championFilter) {\n            flatData {\n                slug\n                name\n                title\n                abilities {\n                    flatData {\n                        ...LolChampionAbilityFragment\n                    }\n                }\n            }\n        }\n    }\n    ${r}\n`,a="\n    query LolSummonerSpellByFilter($filter: String!) {\n        spells: querySummonersSpellsV1Contents(filter: $filter) {\n            flatData {\n                ...SummonerSpellFragment\n                __typename\n            }\n            __typename\n        }\n    }\n    \n    fragment SummonerSpellFragment on SummonersSpellsV1DataFlatDto {\n        riotId\n        slug\n        name\n        description\n        tooltip\n        stats {\n            slug\n            name\n            value\n            __typename\n        }\n        __typename\n    }\n\n",s="\n    query LolPerkByFilter($filter: String!) {\n        perks: queryRunesV1Contents(filter: $filter) {\n            flatData {\n                ...PerkFragment\n            }\n        }\n    }\n    \n    fragment PerkFragment on RunesV1DataFlatDto {\n        riotId\n        name\n        slug\n        shortDescription\n        longDescription\n        customDescription: customLongDescription\n        childRunes\n    }\n\n",c="\n    query LolGameItemByFilter($filter: String!) {\n        items: queryGameItemsV1Contents(filter: $filter) {\n            flatData {\n                ...LolGameItemFragment\n            }\n        }\n    }\n    \n  fragment LolGameItemFragment on GameItemsV1DataFlatDto {\n    riotId\n    name\n    cost\n    tags {\n      flatData {\n        ...GameItemTagsFragment\n      }\n    }\n    buildsInto\n    buildsFrom\n    mainItemTag\n    effectDescription\n    type {\n      flatData {\n        ...GameItemTypeFragment\n      }\n    }\n    fitForChampionType {\n      flatData {\n        ...ChampionTypeFragment\n      }\n    }\n  }\n  \n  fragment GameItemTagsFragment on GameItemTagV1DataFlatDto {\n    name\n    slug\n  }\n\n  \n  fragment GameItemTypeFragment on GameItemTypeV1DataFlatDto {\n    slug\n    name\n    description\n  }\n\n  \n  fragment ChampionTypeFragment on ChampionTypeV1DataFlatDto {\n    slug\n    name\n  }\n\n\n",u=`\n  query LolChampionAbilityByFilter($filter: String!) {\n    items: queryChampionsAbilitiesV1Contents(filter: $filter) {\n      flatData {\n        ...LolChampionAbilityFragment\n      }\n    }\n  }\n  ${r}\n`},6466:(e,t,n)=>{n.d(t,{w4:()=>u,EW:()=>O,Y6:()=>c,b1:()=>l,j2:()=>s,Pd:()=>f,yg:()=>N,HU:()=>h,nY:()=>T,dj:()=>v,jn:()=>I,uk:()=>k,QX:()=>b,pZ:()=>p,qG:()=>d,_:()=>E,Xq:()=>C,E_:()=>S,Cw:()=>w,IN:()=>y,QM:()=>D,Gn:()=>_,oJ:()=>m,P4:()=>g,TP:()=>x});var r=n(58);const i=new RegExp(/(?<=\s|^|\b)(\d*\.*\d*)(?:rem)(?=\s|$|\b)/,"gmi"),o=(e,t)=>e.replaceAll(i,((e,n)=>n?parseFloat(((e,t)=>e*t)(n,t),10)+"px":e)),a=e=>{const t=[];if(!1===Array.isArray(e))for(const[n,r]of Object.entries(e))if("string"==typeof r&&r.includes("rem")){const e=o(r,16);t.push([n,e])}else"object"==typeof r?t.push([n,a(r)]):t.push([n,r]);else for(let n=0;n<e.length;n++){const r=e[n];t.push(a(r))}return!1===Array.isArray(e)?Object.fromEntries(t):t},s=Object.freeze({0:"PASSIVE",1:"Q",2:"W",3:"E",4:"R"}),c=Object.freeze({E:"E",PASSIVE:"PASSIVE",Q:"Q",R:"R",W:"W"}),u=(Object.freeze({GOOD:"GOOD",OK:"OK",POOR:"POOR"}),Object.freeze({ADC:"ADC",JUNGLE:"JUNGLE",MID:"MID",SUPPORT:"SUPPORT",TOP:"TOP",UNKNOWN:"UNKNOWN"})),l=(Object.freeze({A:"A",B:"B",C:"C",D:"D",E:"E",S:"S"}),Object.freeze({Boots:"Boots",Core:"Core",Early:"Early",FifthItem:"FifthItem",FirstCore:"FirstCore",FourthItem:"FourthItem",FullBuild:"FullBuild",SecondCore:"SecondCore",Situational:"Situational",SixthItem:"SixthItem",Starter:"Starter"}),Object.freeze({HIGHEST_WIN_RATE:"HIGHEST_WIN_RATE",MATCHUP_SPECIFIC:"MATCHUP_SPECIFIC",MOST_POPULAR:"MOST_POPULAR",OPTIONAL:"OPTIONAL",PRO_PLAYERS:"PRO_PLAYERS",RECOMMENDED:"RECOMMENDED"}),Object.freeze({OTP:"OTP",Other:"Other",Pro:"Pro",Streamer:"Streamer"}),Object.freeze({[c.PASSIVE]:r.O.skillLetterColor.P,[c.Q]:r.O.skillLetterColor.Q,[c.W]:r.O.skillLetterColor.W,[c.E]:r.O.skillLetterColor.E,[c.R]:r.O.skillLetterColor.R})),f=Object.freeze({[c.PASSIVE]:"P",[c.Q]:"Q",[c.W]:"W",[c.E]:"E",[c.R]:"R"}),p=(e="DATA_API")=>{const t=`VARIABLE_${e}`,n="undefined"!=={VARIABLE_DATA_API:"https://widget.mobalytics.gg/lol/graphql/v1/query",VARIABLE_SQUIDEX_API:"https://widget.mobalytics.gg/league/gql/static/v1",VARIABLE_CDN_URL:"https://cdn.mobalytics.gg"}?{VARIABLE_DATA_API:"https://widget.mobalytics.gg/lol/graphql/v1/query",VARIABLE_SQUIDEX_API:"https://widget.mobalytics.gg/league/gql/static/v1",VARIABLE_CDN_URL:"https://cdn.mobalytics.gg"}:{};return"undefined"!==n[t]&&n[t]},d=e=>8e3===e?"gold":8100===e?"red":8200===e?"purple":8400===e?"green":"blue",h=e=>{const t=p("CDN_URL");return!!e&&`${t}/assets/lol/images/dd/champions/icons/${e.toLowerCase()}.png`},_=(e,t=!0)=>{const n=p("CDN_URL");return!(!e||t)&&`${n}/assets/lol/images/rolename-icon/${e}.svg`},m=(e,t=1)=>{const n=Math.pow(10,t||0);return Math.round(e*n)/n},v=e=>!!e&&e.toString().replace(/\B(?=(\d{3})+(?!\d))/g,","),y=e=>{const t=p("CDN_URL");return!!e&&`${t}/assets/lol/images/perks/${e}.png`},g=e=>{const t=p("CDN_URL");return!!e&&`${t}/assets/lol/images/dd/summoner-spells/${e}.png`},b=e=>{const t=p("CDN_URL");return!!e&&`${t}/assets/lol/images/dd/game-items/${e}.png`},E=e=>{const t=p("CDN_URL");return!!e&&`${t}/assets/lol/images/dd/champions/abilities/${e}.png`},T=e=>{const t=p("CDN_URL");return!!e&&`${t}/assets/lol/images/dd/champions/backgrounds/${e.toLowerCase().replace(/\s/g,"")}.jpg`},N=(e,t="slug")=>{const n=p("CDN_URL");return!(!e||"slug"!==t)&&{slug:e,mp4:`${n}/assets/lol/video/champion-abilities/${e}.mp4`,webm:`${n}/assets/lol/video/champion-abilities/${e}.webm`,placeholder:`${n}/assets/lol/video/champion-abilities/${e}.png`}},O=[{title:{label:"Precision",icon:8e3},slots:[[8005,8008,8021,8010],[9101,9111,8009],[9104,9105,9103],[8014,8017,8299]]},{title:{label:"Domination",icon:8100},slots:[[8112,8124,8128,9923],[8126,8139,8143],[8136,8120,8138],[8135,8134,8105,8106]]},{title:{label:"Sorcery",icon:8200},slots:[[8214,8229,8230],[8224,8226,8275],[8210,8234,8233],[8237,8232,8236]]},{title:{label:"Inspiration",icon:8300},slots:[[8351,8358,8360],[8306,8304,8313],[8321,8316,8345],[8347,8410,8352]]},{title:{label:"Resolve",icon:8400},slots:[[8437,8439,8465],[8446,8463,8401],[8429,8444,8473],[8451,8453,8242]]},{title:{label:"Shards",icon:null},slots:[[5008,5005,5007],[5008,5002,5003],[5001,5002,5003]]}],k=e=>null!=e&&e.length&&e[0]||null,C=e=>null!=e,S=e=>!(!e||!e.length),A=["li","br","div","span","i","a","font"],D=e=>e.replace(/<(\/?)([a-z-]+)([\s>])/gi,((e,t,n,r)=>A.includes(n)?e:t?`</div${r}`:`<div class="custom ${n}"${r}`)),I=(e,t)=>e&&t&&t.find((t=>t.slug===e))||null,x=(e,t)=>e&&((e,t)=>-1!==(e=>{const t=[];for(const n in e)t.push(e[n]);return t})(e).indexOf(t))(e,t)?t:null,w=e=>(e=>a(e))(e)},8529:(e,t,n)=>{n.d(t,{Z:()=>i});var r=n(396);const i=(e,t)=>{(0,r.d4)((()=>{let n=!0;return e().then((e=>{n&&t(e)})),()=>{n=!1}}),[e,t])}},58:(e,t,n)=>{n.d(t,{O:()=>r});const r={transparent:"transparent",text:{gold:"#CCAE70",white:"#fff",purple:"#8991B6",darkPurple:"#565697",red:"#E54787",trueRed:"#bf090d",blue:"#3cbdc2",green:"#1DC49B",oceanBlue:"#85D0FF",orange:"#fc7c00"},arrow:{skin1:"#8991B6"},borderColor:{skin1:"#372B60",skin2:"#8991B6",skin3:"#565697",skin4:"rgba(86, 86, 151, 0.5)",skin5:"rgb(59, 45, 106)",green:"#1DC49B",red:"#E54787",trueRed:"#bf090d",blue:"#38C6F4",gold:"#CCAE70"},difficulty:{unknown:"transparent",severe:"#bf090d",average:"#169ed3",easy:"#b2b2b0",hard:"#fd7200"},backgroundColor:{skin1:"rgba(25, 20, 54, 0.7)",skin2:"rgba(49, 41, 85, 0.5)",skin3:"rgba(55, 43, 96, 0.3)",skin4:"rgba(25, 19, 61, 0.5)",skin5:"#565697",skin6:"#19133D",skin7:"rgba(86, 86, 151, 0.3)",skin8:"rgba(55, 45, 96, 0.85)",skin9:"#251B4D",skin10:"rgba(86,86,151,0.2)",skin11:"rgba(86,86,151,0.5)",skin12:"rgba(22,13,51,1)",skin13:"#1d1345",skin14:"#201b44",skin15:"#27204C",skin16:"rgba(49, 41, 85, 0.7)",white:"#FFF"},shadow:{skin1:"rgba(23, 12, 40, 0.15)",skin2:"rgba(21, 11, 37, 0.5) 0px 2px 10px 0px"},gamePerformance:{high:"#1DC49B",medium:"#85D0FF",low:"#E54787",unKnow:"rgba(0, 0, 0, 0)",white:"#fff",empty:"#565697",labelEmpty:"#fff",poor:"#E54787",average:"#fff",good:"#1DC49B",op:"#85D0FF"},subMenuBorder:"#CCAE70",button:{search:"#555697"},skillLetterColor:{Q:"#FFC306",W:"#38C6F4",E:"#47CC42",R:"#FF2576",P:"#858cb2"},tierColor:{optimal:"#f5a623",great:"#3cbdc2","not good":"#e54787",bad:"#e54787",good:"#4d81db"},getKdaColor:e=>{if("perfect"===e)return r.gamePerformance.op;const t=parseFloat(e);return t&&t<=2?r.gamePerformance.poor:t&&t>2&&t<=3.5?r.gamePerformance.average:t&&t>3.5&&t<=5?r.gamePerformance.good:t&&t>5?r.gamePerformance.op:r.text.purple},getWinRateColor:e=>void 0===e?r.gamePerformance.unKnow:e<40?r.gamePerformance.poor:e>=40&&e<60?r.gamePerformance.average:e>=60&&e<80?r.gamePerformance.good:e>=80?r.gamePerformance.op:r.gamePerformance.unKnow,getCSAverageColor:e=>void 0===e?r.gamePerformance.unKnow:e<150?r.gamePerformance.poor:e>=150&&e<215?r.gamePerformance.average:e>=215&&e<270?r.gamePerformance.good:e>=270?r.gamePerformance.op:r.gamePerformance.unKnow,CSMColor:e=>void 0===e?r.gamePerformance.unKnow:e<5?r.gamePerformance.poor:e>=5&&e<7?r.gamePerformance.average:7===e?r.gamePerformance.good:e>7?r.gamePerformance.op:r.gamePerformance.unKnow,CSat10Color:e=>void 0===e?r.gamePerformance.unKnow:e<=-15?r.gamePerformance.poor:e>-15&&e<=15?r.gamePerformance.average:e>15&&e<=30?r.gamePerformance.good:e>30?r.gamePerformance.op:r.gamePerformance.unKnow,getKPColor:e=>void 0===e?r.gamePerformance.unKnow:e<=-15?r.gamePerformance.poor:e>-15&&e<=15?r.gamePerformance.average:e>15&&e<=30?r.gamePerformance.good:e>30?r.gamePerformance.op:r.gamePerformance.unKnow,getSkillsProgress:(e,t=!0)=>void 0===e?r.gamePerformance.unKnow:0===e?r.gamePerformance.average:e>0&&t||e<0&&!t?r.gamePerformance.good:r.gamePerformance.poor,getPerformanceColor:(e,t,n,i)=>{if(void 0===e)return r.gamePerformance.empty;if(t&&1===t)return r.gamePerformance.empty;if(t&&2===t&&void 0!==n&&void 0!==i){if(n>i)return r.gamePerformance.poor;if(n===i)return r.gamePerformance.average;if(n<i)return r.gamePerformance.good}if(t&&t>=3){if(e<40)return r.gamePerformance.poor;if(e>=40&&e<60)return r.gamePerformance.average;if(e>=60&&e<80)return r.gamePerformance.good;if(e>=80)return r.gamePerformance.op}return r.gamePerformance.unKnow},getPerksBorderColor:e=>8e3===e?"#c8aa6e":8100===e?"#ca3e3f":8200===e?"#9ea9fb":8300===e?"#49aab9":8400===e?"#a1d586":"#565697"}},8269:(e,t,n)=>{n.d(t,{iv:()=>p,zA:()=>m,cY:()=>v,zo:()=>y});let r={data:""},i=e=>{if("undefined"!=typeof window){let t=e?e.querySelector("#_goober"):window._goober;return t||(t=(e||document.head).appendChild(document.createElement("style")),t.innerHTML=" ",t.id="_goober"),t.firstChild}return e||r},o=/(?:([A-Z0-9-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(})/gi,a=/\/\*[\s\S]*?\*\/|\s{2,}|\n/gm,s=(e,t)=>{let n,r="",i="",o="";for(let a in e){let c=e[a];"object"==typeof c?(n=t?t.replace(/([^,])+/g,(e=>a.replace(/([^,])+/g,(t=>/&/g.test(t)?t.replace(/&/g,e):e?e+" "+t:t)))):a,i+="@"==a[0]?"f"==a[1]?s(c,a):a+"{"+s(c,"k"==a[1]?"":t)+"}":s(c,n)):"@"==a[0]&&"i"==a[1]?r=a+" "+c+";":o+=s.p?s.p(a.replace(/[A-Z]/g,"-$&").toLowerCase(),c):a.replace(/[A-Z]/g,"-$&").toLowerCase()+":"+c+";"}return o[0]?(n=t?t+"{"+o+"}":o,r+n+i):r+i},c={},u=e=>{let t="";for(let n in e)t+=n+("object"==typeof e[n]?u(e[n]):e[n]);return t},l=(e,t,n,r,i)=>{let l="object"==typeof e?u(e):e,f=c[l]||(c[l]=(e=>{let t=0,n=e.length,r=11;for(;t<n;)r=101*r+e.charCodeAt(t++)>>>0;return"go"+r})(l));if(!c[f]){let t="object"==typeof e?e:(e=>{let t,n=[{}];for(;t=o.exec(e.replace(a,""));)t[4]&&n.shift(),t[3]?n.unshift(n[0][t[3]]=n[0][t[3]]||{}):t[4]||(n[0][t[1]]=t[2]);return n[0]})(e);c[f]=s(i?{["@keyframes "+f]:t}:t,n?"":"."+f)}return((e,t,n)=>{-1==t.data.indexOf(e)&&(t.data=n?e+t.data:t.data+e)})(c[f],t,r),f},f=(e,t,n)=>e.reduce(((e,r,i)=>{let o=t[i];if(o&&o.call){let e=o(n),t=e&&e.props&&e.props.className||/^go/.test(e)&&e;o=t?"."+t:e&&"object"==typeof e?e.props?"":s(e,""):e}return e+r+(null==o?"":o)}),"");function p(e){let t=this||{},n=e.call?e(t.p):e;return l(n.unshift?n.raw?f(n,[].slice.call(arguments,1),t.p):n.reduce(((e,n)=>n?Object.assign(e,n.call?n(t.p):n):e),{}):n,i(t.target),t.g,t.o,t.k)}let d,h,_,m=p.bind({g:1});function v(e,t,n,r){s.p=t,d=e,h=n,_=r}function y(e,t){let n=this||{};return function(){let r=arguments;function i(o,a){let s=Object.assign({},o),c=s.className||i.className;n.p=Object.assign({theme:h&&h()},s),n.o=/ *go\d+/g.test(c),s.className=p.apply(n,r)+(c?" "+c:""),t&&(s.ref=a);let u=s.as||e;return _&&u[0]&&_(s),d(u,s)}return t?t(i):i}}p.bind({k:1})},8679:(e,t,n)=>{var r=n(9864),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(e){return r.isMemo(e)?a:s[e.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var u=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var i=d(n);i&&i!==h&&e(t,i,r)}var a=l(n);f&&(a=a.concat(f(n)));for(var s=c(t),_=c(n),m=0;m<a.length;++m){var v=a[m];if(!(o[v]||r&&r[v]||_&&_[v]||s&&s[v])){var y=p(n,v);try{u(t,v,y)}catch(e){}}}}return t}},8661:(e,t,n)=>{n.d(t,{d4:()=>r.d4,bt:()=>r.bt,Ye:()=>r.Ye,sO:()=>r.sO,eJ:()=>r.eJ,ZP:()=>M,jz:()=>T,Tm:()=>L,X$:()=>c,Gp:()=>f});var r=n(396),i=n(6400);function o(e,t){for(var n in t)e[n]=t[n];return e}function a(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function s(e){this.props=e}function c(e,t){function n(e){var n=this.props.ref,r=n==e.ref;return!r&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!r:a(this.props,e)}function r(t){return this.shouldComponentUpdate=n,(0,i.createElement)(e,t)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(s.prototype=new i.Component).isPureReactComponent=!0,s.prototype.shouldComponentUpdate=function(e,t){return a(this.props,e)||a(this.state,t)};var u=i.options.__b;i.options.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),u&&u(e)};var l="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function f(e){function t(t,n){var r=o({},t);return delete r.ref,e(r,(n=t.ref||n)&&("object"!=typeof n||"current"in n)?n:null)}return t.$$typeof=l,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var p=function(e,t){return null==e?null:(0,i.toChildArray)((0,i.toChildArray)(e).map(t))},d={map:p,forEach:p,count:function(e){return e?(0,i.toChildArray)(e).length:0},only:function(e){var t=(0,i.toChildArray)(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:i.toChildArray},h=i.options.__e;i.options.__e=function(e,t,n){if(e.then)for(var r,i=t;i=i.__;)if((r=i.__c)&&r.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),r.__c(e,t);h(e,t,n)};var _=i.options.unmount;function m(){this.__u=0,this.t=null,this.__b=null}function v(e){var t=e.__.__c;return t&&t.__e&&t.__e(e)}function y(){this.u=null,this.o=null}i.options.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),_&&_(e)},(m.prototype=new i.Component).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var i=v(r.__v),o=!1,a=function(){o||(o=!0,n.__R=null,i?i(s):s())};n.__R=a;var s=function(){if(!--r.__u){if(r.state.__e){var e=r.state.__e;r.__v.__k[0]=function e(t,n,r){return t&&(t.__v=null,t.__k=t.__k&&t.__k.map((function(t){return e(t,n,r)})),t.__c&&t.__c.__P===n&&(t.__e&&r.insertBefore(t.__e,t.__d),t.__c.__e=!0,t.__c.__P=r)),t}(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__e:r.__b=null});t=r.t.pop();)t.forceUpdate()}},c=!0===t.__h;r.__u++||c||r.setState({__e:r.__b=r.__v.__k[0]}),e.then(a,a)},m.prototype.componentWillUnmount=function(){this.t=[]},m.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=function e(t,n,r){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),t.__c.__H=null),null!=(t=o({},t)).__c&&(t.__c.__P===r&&(t.__c.__P=n),t.__c=null),t.__k=t.__k&&t.__k.map((function(t){return e(t,n,r)}))),t}(this.__b,n,r.__O=r.__P)}this.__b=null}var a=t.__e&&(0,i.createElement)(i.Fragment,null,e.fallback);return a&&(a.__h=null),[(0,i.createElement)(i.Fragment,null,t.__e?null:e.children),a]};var g=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function b(e){return this.getChildContext=function(){return e.context},e.children}function E(e){var t=this,n=e.i;t.componentWillUnmount=function(){(0,i.render)(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),e.__v?(t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(e){this.childNodes.push(e),t.i.appendChild(e)},insertBefore:function(e,n){this.childNodes.push(e),t.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.i.removeChild(e)}}),(0,i.render)((0,i.createElement)(b,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}function T(e,t){return(0,i.createElement)(E,{__v:e,i:t})}(y.prototype=new i.Component).__e=function(e){var t=this,n=v(t.__v),r=t.o.get(e);return r[0]++,function(i){var o=function(){t.props.revealOrder?(r.push(i),g(t,e,r)):i()};n?n(o):o()}},y.prototype.render=function(e){this.u=null,this.o=new Map;var t=(0,i.toChildArray)(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},y.prototype.componentDidUpdate=y.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){g(e,n,t)}))};var N="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,O=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,k=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(e)};i.Component.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(i.Component.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var C=i.options.event;function S(){}function A(){return this.cancelBubble}function D(){return this.defaultPrevented}i.options.event=function(e){return C&&(e=C(e)),e.persist=S,e.isPropagationStopped=A,e.isDefaultPrevented=D,e.nativeEvent=e};var I,x={configurable:!0,get:function(){return this.class}},w=i.options.vnode;i.options.vnode=function(e){var t=e.type,n=e.props,r=n;if("string"==typeof t){for(var o in r={},n){var a=n[o];"value"===o&&"defaultValue"in n&&null==a||("defaultValue"===o&&"value"in n&&null==n.value?o="value":"download"===o&&!0===a?a="":/ondoubleclick/i.test(o)?o="ondblclick":/^onchange(textarea|input)/i.test(o+t)&&!k(n.type)?o="oninput":/^on(Ani|Tra|Tou|BeforeInp)/.test(o)?o=o.toLowerCase():O.test(o)?o=o.replace(/[A-Z0-9]/,"-$&").toLowerCase():null===a&&(a=void 0),r[o]=a)}"select"==t&&r.multiple&&Array.isArray(r.value)&&(r.value=(0,i.toChildArray)(n.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==t&&null!=r.defaultValue&&(r.value=(0,i.toChildArray)(n.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),e.props=r}t&&n.class!=n.className&&(x.enumerable="className"in n,null!=n.className&&(r.class=n.className),Object.defineProperty(r,"className",x)),e.$$typeof=N,w&&w(e)};var P=i.options.__r;i.options.__r=function(e){P&&P(e),I=e.__c};var R={ReactCurrentDispatcher:{current:{readContext:function(e){return I.__n[e.__c].props.value}}}};function F(e){return!!e&&e.$$typeof===N}function L(e){return F(e)?i.cloneElement.apply(null,arguments):e}"object"==typeof performance&&"function"==typeof performance.now&&performance.now.bind(performance),i.Fragment;const M={useState:r.eJ,useReducer:r._Y,useEffect:r.d4,useLayoutEffect:r.bt,useRef:r.sO,useImperativeHandle:r.aP,useMemo:r.Ye,useCallback:r.I4,useContext:r.qp,useDebugValue:r.Qb,version:"16.8.0",Children:d,render:function(e,t,n){return null==t.__k&&(t.textContent=""),(0,i.render)(e,t),"function"==typeof n&&n(),e?e.__c:null},hydrate:function(e,t,n){return(0,i.hydrate)(e,t),"function"==typeof n&&n(),e?e.__c:null},unmountComponentAtNode:function(e){return!!e.__k&&((0,i.render)(null,e),!0)},createPortal:T,createElement:i.createElement,createContext:i.createContext,createFactory:function(e){return i.createElement.bind(null,e)},cloneElement:L,createRef:i.createRef,Fragment:i.Fragment,isValidElement:F,findDOMNode:function(e){return e&&(e.base||1===e.nodeType&&e)||null},Component:i.Component,PureComponent:s,memo:c,forwardRef:f,unstable_batchedUpdates:function(e,t){return e(t)},StrictMode:i.Fragment,Suspense:m,SuspenseList:y,lazy:function(e){var t,n,r;function o(o){if(t||(t=e()).then((function(e){n=e.default||e}),(function(e){r=e})),r)throw r;if(!n)throw t;return(0,i.createElement)(n,o)}return o.displayName="Lazy",o.__f=!0,o},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:R}},6400:(e,t,n)=>{n.r(t),n.d(t,{render:()=>M,hydrate:()=>j,createElement:()=>h,h:()=>h,Fragment:()=>v,createRef:()=>m,isValidElement:()=>i,Component:()=>y,cloneElement:()=>U,createContext:()=>B,toChildArray:()=>k,options:()=>r});var r,i,o,a,s,c,u={},l=[],f=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function p(e,t){for(var n in t)e[n]=t[n];return e}function d(e){var t=e.parentNode;t&&t.removeChild(e)}function h(e,t,n){var r,i,o,a=arguments,s={};for(o in t)"key"==o?r=t[o]:"ref"==o?i=t[o]:s[o]=t[o];if(arguments.length>3)for(n=[n],o=3;o<arguments.length;o++)n.push(a[o]);if(null!=n&&(s.children=n),"function"==typeof e&&null!=e.defaultProps)for(o in e.defaultProps)void 0===s[o]&&(s[o]=e.defaultProps[o]);return _(e,s,r,i,null)}function _(e,t,n,i,o){var a={type:e,props:t,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==o?++r.__v:o};return null!=r.vnode&&r.vnode(a),a}function m(){return{current:null}}function v(e){return e.children}function y(e,t){this.props=e,this.context=t}function g(e,t){if(null==t)return e.__?g(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?g(e):null}function b(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return b(e)}}function E(e){(!e.__d&&(e.__d=!0)&&o.push(e)&&!T.__r++||s!==r.debounceRendering)&&((s=r.debounceRendering)||a)(T)}function T(){for(var e;T.__r=o.length;)e=o.sort((function(e,t){return e.__v.__b-t.__v.__b})),o=[],e.some((function(e){var t,n,r,i,o,a;e.__d&&(o=(i=(t=e).__v).__e,(a=t.__P)&&(n=[],(r=p({},i)).__v=i.__v+1,x(a,i,r,t.__n,void 0!==a.ownerSVGElement,null!=i.__h?[o]:null,n,null==o?g(i):o,i.__h),w(n,i),i.__e!=o&&b(i)))}))}function N(e,t,n,r,i,o,a,s,c,f){var p,d,h,m,y,b,E,T=r&&r.__k||l,N=T.length;for(n.__k=[],p=0;p<t.length;p++)if(null!=(m=n.__k[p]=null==(m=t[p])||"boolean"==typeof m?null:"string"==typeof m||"number"==typeof m||"bigint"==typeof m?_(null,m,null,null,m):Array.isArray(m)?_(v,{children:m},null,null,null):m.__b>0?_(m.type,m.props,m.key,null,m.__v):m)){if(m.__=n,m.__b=n.__b+1,null===(h=T[p])||h&&m.key==h.key&&m.type===h.type)T[p]=void 0;else for(d=0;d<N;d++){if((h=T[d])&&m.key==h.key&&m.type===h.type){T[d]=void 0;break}h=null}x(e,m,h=h||u,i,o,a,s,c,f),y=m.__e,(d=m.ref)&&h.ref!=d&&(E||(E=[]),h.ref&&E.push(h.ref,null,m),E.push(d,m.__c||y,m)),null!=y?(null==b&&(b=y),"function"==typeof m.type&&null!=m.__k&&m.__k===h.__k?m.__d=c=O(m,c,e):c=C(e,m,h,T,y,c),f||"option"!==n.type?"function"==typeof n.type&&(n.__d=c):e.value=""):c&&h.__e==c&&c.parentNode!=e&&(c=g(h))}for(n.__e=b,p=N;p--;)null!=T[p]&&("function"==typeof n.type&&null!=T[p].__e&&T[p].__e==n.__d&&(n.__d=g(r,p+1)),F(T[p],T[p]));if(E)for(p=0;p<E.length;p++)R(E[p],E[++p],E[++p])}function O(e,t,n){var r,i;for(r=0;r<e.__k.length;r++)(i=e.__k[r])&&(i.__=e,t="function"==typeof i.type?O(i,t,n):C(n,i,i,e.__k,i.__e,t));return t}function k(e,t){return t=t||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some((function(e){k(e,t)})):t.push(e)),t}function C(e,t,n,r,i,o){var a,s,c;if(void 0!==t.__d)a=t.__d,t.__d=void 0;else if(null==n||i!=o||null==i.parentNode)e:if(null==o||o.parentNode!==e)e.appendChild(i),a=null;else{for(s=o,c=0;(s=s.nextSibling)&&c<r.length;c+=2)if(s==i)break e;e.insertBefore(i,o),a=o}return void 0!==a?a:i.nextSibling}function S(e,t,n){"-"===t[0]?e.setProperty(t,n):e[t]=null==n?"":"number"!=typeof n||f.test(t)?n:n+"px"}function A(e,t,n,r,i){var o;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||S(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||S(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])o=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=n,n?r||e.addEventListener(t,o?I:D,o):e.removeEventListener(t,o?I:D,o);else if("dangerouslySetInnerHTML"!==t){if(i)t=t.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if("href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null!=n&&(!1!==n||"a"===t[0]&&"r"===t[1])?e.setAttribute(t,n):e.removeAttribute(t))}}function D(e){this.l[e.type+!1](r.event?r.event(e):e)}function I(e){this.l[e.type+!0](r.event?r.event(e):e)}function x(e,t,n,i,o,a,s,c,u){var l,f,d,h,_,m,g,b,E,T,O,k=t.type;if(void 0!==t.constructor)return null;null!=n.__h&&(u=n.__h,c=t.__e=n.__e,t.__h=null,a=[c]),(l=r.__b)&&l(t);try{e:if("function"==typeof k){if(b=t.props,E=(l=k.contextType)&&i[l.__c],T=l?E?E.props.value:l.__:i,n.__c?g=(f=t.__c=n.__c).__=f.__E:("prototype"in k&&k.prototype.render?t.__c=f=new k(b,T):(t.__c=f=new y(b,T),f.constructor=k,f.render=L),E&&E.sub(f),f.props=b,f.state||(f.state={}),f.context=T,f.__n=i,d=f.__d=!0,f.__h=[]),null==f.__s&&(f.__s=f.state),null!=k.getDerivedStateFromProps&&(f.__s==f.state&&(f.__s=p({},f.__s)),p(f.__s,k.getDerivedStateFromProps(b,f.__s))),h=f.props,_=f.state,d)null==k.getDerivedStateFromProps&&null!=f.componentWillMount&&f.componentWillMount(),null!=f.componentDidMount&&f.__h.push(f.componentDidMount);else{if(null==k.getDerivedStateFromProps&&b!==h&&null!=f.componentWillReceiveProps&&f.componentWillReceiveProps(b,T),!f.__e&&null!=f.shouldComponentUpdate&&!1===f.shouldComponentUpdate(b,f.__s,T)||t.__v===n.__v){f.props=b,f.state=f.__s,t.__v!==n.__v&&(f.__d=!1),f.__v=t,t.__e=n.__e,t.__k=n.__k,t.__k.forEach((function(e){e&&(e.__=t)})),f.__h.length&&s.push(f);break e}null!=f.componentWillUpdate&&f.componentWillUpdate(b,f.__s,T),null!=f.componentDidUpdate&&f.__h.push((function(){f.componentDidUpdate(h,_,m)}))}f.context=T,f.props=b,f.state=f.__s,(l=r.__r)&&l(t),f.__d=!1,f.__v=t,f.__P=e,l=f.render(f.props,f.state,f.context),f.state=f.__s,null!=f.getChildContext&&(i=p(p({},i),f.getChildContext())),d||null==f.getSnapshotBeforeUpdate||(m=f.getSnapshotBeforeUpdate(h,_)),O=null!=l&&l.type===v&&null==l.key?l.props.children:l,N(e,Array.isArray(O)?O:[O],t,n,i,o,a,s,c,u),f.base=t.__e,t.__h=null,f.__h.length&&s.push(f),g&&(f.__E=f.__=null),f.__e=!1}else null==a&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=P(n.__e,t,n,i,o,a,s,u);(l=r.diffed)&&l(t)}catch(e){t.__v=null,(u||null!=a)&&(t.__e=c,t.__h=!!u,a[a.indexOf(c)]=null),r.__e(e,t,n)}}function w(e,t){r.__c&&r.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){r.__e(e,t.__v)}}))}function P(e,t,n,r,i,o,a,s){var c,f,p,h,_=n.props,m=t.props,v=t.type,y=0;if("svg"===v&&(i=!0),null!=o)for(;y<o.length;y++)if((c=o[y])&&(c===e||(v?c.localName==v:3==c.nodeType))){e=c,o[y]=null;break}if(null==e){if(null===v)return document.createTextNode(m);e=i?document.createElementNS("http://www.w3.org/2000/svg",v):document.createElement(v,m.is&&m),o=null,s=!1}if(null===v)_===m||s&&e.data===m||(e.data=m);else{if(o=o&&l.slice.call(e.childNodes),f=(_=n.props||u).dangerouslySetInnerHTML,p=m.dangerouslySetInnerHTML,!s){if(null!=o)for(_={},h=0;h<e.attributes.length;h++)_[e.attributes[h].name]=e.attributes[h].value;(p||f)&&(p&&(f&&p.__html==f.__html||p.__html===e.innerHTML)||(e.innerHTML=p&&p.__html||""))}if(function(e,t,n,r,i){var o;for(o in n)"children"===o||"key"===o||o in t||A(e,o,null,n[o],r);for(o in t)i&&"function"!=typeof t[o]||"children"===o||"key"===o||"value"===o||"checked"===o||n[o]===t[o]||A(e,o,t[o],n[o],r)}(e,m,_,i,s),p)t.__k=[];else if(y=t.props.children,N(e,Array.isArray(y)?y:[y],t,n,r,i&&"foreignObject"!==v,o,a,e.firstChild,s),null!=o)for(y=o.length;y--;)null!=o[y]&&d(o[y]);s||("value"in m&&void 0!==(y=m.value)&&(y!==e.value||"progress"===v&&!y)&&A(e,"value",y,_.value,!1),"checked"in m&&void 0!==(y=m.checked)&&y!==e.checked&&A(e,"checked",y,_.checked,!1))}return e}function R(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){r.__e(e,n)}}function F(e,t,n){var i,o,a;if(r.unmount&&r.unmount(e),(i=e.ref)&&(i.current&&i.current!==e.__e||R(i,null,t)),n||"function"==typeof e.type||(n=null!=(o=e.__e)),e.__e=e.__d=void 0,null!=(i=e.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(e){r.__e(e,t)}i.base=i.__P=null}if(i=e.__k)for(a=0;a<i.length;a++)i[a]&&F(i[a],t,n);null!=o&&d(o)}function L(e,t,n){return this.constructor(e,n)}function M(e,t,n){var i,o,a;r.__&&r.__(e,t),o=(i="function"==typeof n)?null:n&&n.__k||t.__k,a=[],x(t,e=(!i&&n||t).__k=h(v,null,[e]),o||u,u,void 0!==t.ownerSVGElement,!i&&n?[n]:o?null:t.firstChild?l.slice.call(t.childNodes):null,a,!i&&n?n:o?o.__e:t.firstChild,i),w(a,e)}function j(e,t){M(e,t,j)}function U(e,t,n){var r,i,o,a=arguments,s=p({},e.props);for(o in t)"key"==o?r=t[o]:"ref"==o?i=t[o]:s[o]=t[o];if(arguments.length>3)for(n=[n],o=3;o<arguments.length;o++)n.push(a[o]);return null!=n&&(s.children=n),_(e.type,s,r||e.key,i||e.ref,null)}function B(e,t){var n={__c:t="__cC"+c++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some(E)},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}r={__e:function(e,t){for(var n,r,i;t=t.__;)if((n=t.__c)&&!n.__)try{if((r=n.constructor)&&null!=r.getDerivedStateFromError&&(n.setState(r.getDerivedStateFromError(e)),i=n.__d),null!=n.componentDidCatch&&(n.componentDidCatch(e),i=n.__d),i)return n.__E=n}catch(t){e=t}throw e},__v:0},i=function(e){return null!=e&&void 0===e.constructor},y.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=p({},this.state),"function"==typeof e&&(e=e(p({},n),this.props)),e&&p(n,e),null!=e&&this.__v&&(t&&this.__h.push(t),E(this))},y.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),E(this))},y.prototype.render=v,o=[],a="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,T.__r=0,c=0},396:(e,t,n)=>{n.d(t,{eJ:()=>_,_Y:()=>m,d4:()=>v,bt:()=>y,sO:()=>g,aP:()=>b,Ye:()=>E,I4:()=>T,qp:()=>N,Qb:()=>O});var r,i,o,a=n(6400),s=0,c=[],u=a.options.__b,l=a.options.__r,f=a.options.diffed,p=a.options.__c,d=a.options.unmount;function h(e,t){a.options.__h&&a.options.__h(i,e,s||t),s=0;var n=i.__H||(i.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function _(e){return s=1,m(I,e)}function m(e,t,n){var o=h(r++,2);return o.t=e,o.__c||(o.__=[n?n(t):I(void 0,t),function(e){var t=o.t(o.__[0],e);o.__[0]!==t&&(o.__=[t,o.__[1]],o.__c.setState({}))}],o.__c=i),o.__}function v(e,t){var n=h(r++,3);!a.options.__s&&D(n.__H,t)&&(n.__=e,n.__H=t,i.__H.__h.push(n))}function y(e,t){var n=h(r++,4);!a.options.__s&&D(n.__H,t)&&(n.__=e,n.__H=t,i.__h.push(n))}function g(e){return s=5,E((function(){return{current:e}}),[])}function b(e,t,n){s=6,y((function(){"function"==typeof e?e(t()):e&&(e.current=t())}),null==n?n:n.concat(e))}function E(e,t){var n=h(r++,7);return D(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function T(e,t){return s=8,E((function(){return e}),t)}function N(e){var t=i.context[e.__c],n=h(r++,9);return n.__c=e,t?(null==n.__&&(n.__=!0,t.sub(i)),t.props.value):e.__}function O(e,t){a.options.useDebugValue&&a.options.useDebugValue(t?t(e):e)}function k(){c.forEach((function(e){if(e.__P)try{e.__H.__h.forEach(S),e.__H.__h.forEach(A),e.__H.__h=[]}catch(t){e.__H.__h=[],a.options.__e(t,e.__v)}})),c=[]}a.options.__b=function(e){i=null,u&&u(e)},a.options.__r=function(e){l&&l(e),r=0;var t=(i=e.__c).__H;t&&(t.__h.forEach(S),t.__h.forEach(A),t.__h=[])},a.options.diffed=function(e){f&&f(e);var t=e.__c;t&&t.__H&&t.__H.__h.length&&(1!==c.push(t)&&o===a.options.requestAnimationFrame||((o=a.options.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(r),C&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);C&&(t=requestAnimationFrame(n))})(k)),i=void 0},a.options.__c=function(e,t){t.some((function(e){try{e.__h.forEach(S),e.__h=e.__h.filter((function(e){return!e.__||A(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],a.options.__e(n,e.__v)}})),p&&p(e,t)},a.options.unmount=function(e){d&&d(e);var t=e.__c;if(t&&t.__H)try{t.__H.__.forEach(S)}catch(e){a.options.__e(e,t.__v)}};var C="function"==typeof requestAnimationFrame;function S(e){var t=i;"function"==typeof e.__c&&e.__c(),i=t}function A(e){var t=i;e.__c=e.__(),i=t}function D(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function I(e,t){return"function"==typeof t?t(e):t}},6584:(e,t,n)=>{n.d(t,{HY:()=>r.Fragment,tZ:()=>i,BX:()=>i});var r=n(6400);function i(e,t,n,i,o){var a={};for(var s in t)"ref"!=s&&(a[s]=t[s]);var c,u,l={type:e,props:a,key:n,ref:t&&t.ref,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:++r.options.__v,__source:i,__self:o};if("function"==typeof e&&(c=e.defaultProps))for(u in c)void 0===a[u]&&(a[u]=c[u]);return r.options.vnode&&r.options.vnode(l),l}},9921:(e,t)=>{var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,c=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,l=n?Symbol.for("react.async_mode"):60111,f=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,d=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,_=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,g=n?Symbol.for("react.responder"):60118,b=n?Symbol.for("react.scope"):60119;function E(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case l:case f:case o:case s:case a:case d:return e;default:switch(e=e&&e.$$typeof){case u:case p:case m:case _:case c:return e;default:return t}}case i:return t}}}function T(e){return E(e)===f}t.AsyncMode=l,t.ConcurrentMode=f,t.ContextConsumer=u,t.ContextProvider=c,t.Element=r,t.ForwardRef=p,t.Fragment=o,t.Lazy=m,t.Memo=_,t.Portal=i,t.Profiler=s,t.StrictMode=a,t.Suspense=d,t.isAsyncMode=function(e){return T(e)||E(e)===l},t.isConcurrentMode=T,t.isContextConsumer=function(e){return E(e)===u},t.isContextProvider=function(e){return E(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return E(e)===p},t.isFragment=function(e){return E(e)===o},t.isLazy=function(e){return E(e)===m},t.isMemo=function(e){return E(e)===_},t.isPortal=function(e){return E(e)===i},t.isProfiler=function(e){return E(e)===s},t.isStrictMode=function(e){return E(e)===a},t.isSuspense=function(e){return E(e)===d},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===f||e===s||e===a||e===d||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===_||e.$$typeof===c||e.$$typeof===u||e.$$typeof===p||e.$$typeof===y||e.$$typeof===g||e.$$typeof===b||e.$$typeof===v)},t.typeOf=E},9864:(e,t,n)=>{e.exports=n(9921)}},r={};function i(e){var t=r[e];if(void 0!==t)return t.exports;var o=r[e]={id:e,loaded:!1,exports:{}};return n[e](o,o.exports,i),o.loaded=!0,o.exports}i.m=n,i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.f={},i.e=e=>Promise.all(Object.keys(i.f).reduce(((t,n)=>(i.f[n](e,t),t)),[])),i.u=e=>e+".bundle.js",i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="mobalytics-builds-widget:",i.l=(n,r,o,a)=>{if(e[n])e[n].push(r);else{var s,c;if(void 0!==o)for(var u=document.getElementsByTagName("script"),l=0;l<u.length;l++){var f=u[l];if(f.getAttribute("src")==n||f.getAttribute("data-webpack")==t+o){s=f;break}}s||(c=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,i.nc&&s.setAttribute("nonce",i.nc),s.setAttribute("data-webpack",t+o),s.src=n),e[n]=[r];var p=(t,r)=>{s.onerror=s.onload=null,clearTimeout(d);var i=e[n];if(delete e[n],s.parentNode&&s.parentNode.removeChild(s),i&&i.forEach((e=>e(r))),t)return t(r)},d=setTimeout(p.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=p.bind(null,s.onerror),s.onload=p.bind(null,s.onload),c&&document.head.appendChild(s)}},i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;i.g.importScripts&&(e=i.g.location+"");var t=i.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");n.length&&(e=n[n.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),i.p=e})(),(()=>{var e={826:0};i.f.j=(t,n)=>{var r=i.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var o=new Promise(((n,i)=>r=e[t]=[n,i]));n.push(r[2]=o);var a=i.p+i.u(t),s=new Error;i.l(a,(n=>{if(i.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.src;s.message="Loading chunk "+t+" failed.\n("+o+": "+a+")",s.name="ChunkLoadError",s.type=o,s.request=a,r[1](s)}}),"chunk-"+t,t)}};var t=(t,n)=>{var r,o,[a,s,c]=n,u=0;for(r in s)i.o(s,r)&&(i.m[r]=s[r]);for(c&&c(i),t&&t(n);u<a.length;u++)o=a[u],i.o(e,o)&&e[o]&&e[o][0](),e[a[u]]=0},n=self.webpackChunkmobalytics_builds_widget=self.webpackChunkmobalytics_builds_widget||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var o={};return(()=>{i.r(o);var e=i(6400),t=function(e){var t,n=e.selector,r=e.inline,i=e.clientSpecified,o=[],a=document.currentScript||(t=document.getElementsByTagName("script"))[t.length-1];if(!0===r){var s=a.parentNode;o.push(s)}return!0!==i||n||(n=function(e){var t=e.attributes,n=null;return Object.keys(t).forEach((function(e){t.hasOwnProperty(e)&&"data-mount-in"===t[e].name&&(n=t[e].nodeValue)})),n}(a)),n&&[].forEach.call(document.querySelectorAll(n),(function(e){o.push(e)})),o};var n=i(8661),r=i(8269);function a(){return(a=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 s(t){this.getChildContext=function(){return t.context};var n=t.children,r=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(i[n]=e[n]);return i}(t,["context","children"]);return(0,e.cloneElement)(n,r)}function c(){var t=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(t),this._vdom=(0,e.h)(s,a({},this._props,{context:t.detail.context}),function t(n,r){if(3===n.nodeType)return n.data;if(1!==n.nodeType)return null;var i=[],o={},a=0,s=n.attributes,c=n.childNodes;for(a=s.length;a--;)"slot"!==s[a].name&&(o[s[a].name]=s[a].value,o[u(s[a].name)]=s[a].value);for(a=c.length;a--;){var l=t(c[a],null),f=c[a].slot;f?o[f]=(0,e.h)(p,{name:f},l):i[a]=l}var d=r?(0,e.h)(p,null,i):i;return(0,e.h)(r||n.nodeName.toLowerCase(),o,d)}(this,this._vdomComponent)),(this.hasAttribute("hydrate")?e.hydrate:e.render)(this._vdom,this._root)}function u(e){return e.replace(/-(\w)/g,(function(e,t){return t?t.toUpperCase():""}))}function l(t,n,r){if(this._vdom){var i={};i[t]=r=null==r?void 0:r,i[u(t)]=r,this._vdom=(0,e.cloneElement)(this._vdom,i),(0,e.render)(this._vdom,this._root)}}function f(){(0,e.render)(this._vdom=null,this._root)}function p(t,n){var r=this;return(0,e.h)("slot",a({},t,{ref:function(e){e?(r.ref=e,r._listener||(r._listener=function(e){e.stopPropagation(),e.detail.context=n},e.addEventListener("_preact",r._listener))):r.ref.removeEventListener("_preact",r._listener)}}))}var d=i(5563),h=i(4408),_=i(6466),m=i(6584);const v=(0,n.X$)((()=>{const e=(0,d.ZP)((()=>Promise.all([i.e(998),i.e(553)]).then(i.bind(i,553)))),t=(0,d.ZP)((()=>i.e(844).then(i.bind(i,6844)))),n=(0,h.oV)()("div")((()=>(0,_.Cw)([{display:"flex",justifyContent:"center"}])));return(0,m.BX)(n,{children:[(0,m.tZ)(e,{}),(0,m.tZ)(t,{})]})}));var y=i(5756),g=i(9968),b=i(9212),E=i(2914),T=i(7262);const N=(0,n.X$)((({children:e,...t})=>(0,m.tZ)(h.uv,{...t,children:(0,m.tZ)(y.u3,{...t,children:(0,m.tZ)(g.PK,{...t,children:(0,m.tZ)(b.WK,{...t,children:(0,m.tZ)(E.EW,{...t,children:(0,m.tZ)(T.p8,{...t,children:e})})})})})}))),O=(0,n.X$)((0,n.Gp)(((e,t)=>(0,m.tZ)("div",{ref:t,children:(0,m.tZ)(N,{...e,children:(0,m.tZ)(v,{})})}))));!function(e,t,n,r){function i(){var t=Reflect.construct(HTMLElement,[],i);return t._vdomComponent=e,t._root=r&&r.shadow?t.attachShadow({mode:"open"}):t,t}(i.prototype=Object.create(HTMLElement.prototype)).constructor=i,i.prototype.connectedCallback=c,i.prototype.attributeChangedCallback=l,i.prototype.disconnectedCallback=f,n=n||e.observedAttributes||Object.keys(e.propTypes||{}),i.observedAttributes=n,n.forEach((function(e){Object.defineProperty(i.prototype,e,{get:function(){return this._vdom.props[e]},set:function(t){this._vdom?this.attributeChangedCallback(e,null,t):(this._props||(this._props={}),this._props[e]=t,this.connectedCallback());var n=typeof t;null!=t&&"string"!==n&&"boolean"!==n&&"number"!==n||this.setAttribute(e,t)}})})),customElements.define("app-shadow-section",i)}(O,0,["target"],{shadow:!0}),(0,n.X$)(O);var k=i(396);r.cY(e.h);const C=(0,n.X$)((t=>{const n=(0,e.createRef)(),[r,i]=(0,k.eJ)(!1);return(0,k.d4)((()=>{const e=n.current;return e!==r&&i(e),()=>{r&&i(!1)}}),[n]),(0,m.tZ)("app-shadow-section",{ref:n,target:r,...t,style:"font-size: 12px; width: 100%; height: auto; max-width: 100%; max-height: 100%;"})})),{render:S}=function(n){var r=n;return{render:function(n){void 0===n&&(n={});var i=n.selector;void 0===i&&(i=null);var o=n.inline;void 0===o&&(o=!1);var a=n.clean;void 0===a&&(a=!1);var s=n.clientSpecified;void 0===s&&(s=!1);var c=n.defaultProps;void 0===c&&(c={});var u=t({selector:i,inline:o,clientSpecified:s}),l=function(){if(u.length>0){var n=t({selector:i,inline:o,clientSpecified:s});return function(t,n,r,i,o){n.forEach((function(n){var a=n;if(!a._habitat){a._habitat=!0;var s=function(e,t){void 0===t&&(t={});var n=e.attributes,r=Object.assign({},t);return Object.keys(n).forEach((function(e){if(n.hasOwnProperty(e)){var t=n[e].name;if(!t||"string"!=typeof t)return!1;var i=t.split(/(data-props?-)/).pop()||"";if(t!==(i=i.replace(/-([a-z])/gi,(function(e,t){return t.toUpperCase()})))){var o=n[e].nodeValue;r[i]=o}}})),[].forEach.call(e.getElementsByTagName("script"),(function(e){var t={};if(e.hasAttribute("type")){if("text/props"!==e.getAttribute("type")&&"application/json"!==e.getAttribute("type"))return;try{t=JSON.parse(e.innerHTML)}catch(e){throw new Error(e)}Object.assign(r,t)}})),r}(n,o)||o;return i&&(a.innerHTML=""),(0,e.render)((0,e.h)(t,s),a,r)}}))}(r,n,null,a,c)}};l(),document.addEventListener("DOMContentLoaded",l),document.addEventListener("load",l)}}}(C);S({selector:'[data-moba-widget="build"]',clean:!0})})(),o})()}));
  //# sourceMappingURL=index.bundle.js.map