bukazu-portal-react 3.8.0 → 3.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/{de-BHCji0Af.js → de-D8tQxwM0.js} +1 -1
- package/build/{es-BE0ptaEi.js → es-D927eata.js} +1 -1
- package/build/{fr-D4VUHU5_.js → fr-Bg6SLGPI.js} +1 -1
- package/build/{index-D2GIgNwI.js → index-Cyxdk3el.js} +6 -9
- package/build/index.css +1 -1
- package/build/{it-ByZD0_A4.js → it-D2xZLsNx.js} +1 -1
- package/build/{nl-B4CHq3jV.js → nl-kV2lKzrD.js} +1 -1
- package/build/portal.es.js +1 -1
- package/build/portal.umd.js +2 -2
- package/package.json +1 -1
package/build/portal.umd.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).BukazuPortal=t(e.React)}(this,function(e){"use strict";function t(e,t){for(var n=0;n<t.length;n++){const a=t[n];if("string"!=typeof a&&!Array.isArray(a))for(const t in a)if("default"!==t&&!(t in e)){const n=Object.getOwnPropertyDescriptor(a,t);n&&Object.defineProperty(e,t,n.get?n:{enumerable:!0,get:()=>a[t]})}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}function n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var a,r={exports:{}},i={};var o,s,c={};function u(){return o||(o=1,"production"!==process.env.NODE_ENV&&function(){var t=e,n=Symbol.for("react.element"),a=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),u=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),f=Symbol.for("react.offscreen"),v=Symbol.iterator;var _=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function g(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];!function(e,t,n){var a=_.ReactDebugCurrentFrame.getStackAddendum();""!==a&&(t+="%s",n=n.concat([a]));var r=n.map(function(e){return String(e)});r.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,r)}("error",e,n)}var y;function b(e){return e.displayName||"Context"}function k(e){if(null==e)return null;if("number"==typeof e.tag&&g("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case r:return"Fragment";case a:return"Portal";case o:return"Profiler";case i:return"StrictMode";case d:return"Suspense";case p:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case u:return b(e)+".Consumer";case s:return b(e._context)+".Provider";case l:return function(e,t,n){var a=e.displayName;if(a)return a;var r=t.displayName||t.name||"";return""!==r?n+"("+r+")":n}(e,e.render,"ForwardRef");case h:var t=e.displayName||null;return null!==t?t:k(e.type)||"Memo";case m:var n=e,c=n._payload,f=n._init;try{return k(f(c))}catch(v){return null}}return null}y=Symbol.for("react.module.reference");var w,x,S,E,j,T,O,C=Object.assign,N=0;function M(){}M.__reactDisabledLog=!0;var D,A=_.ReactCurrentDispatcher;function I(e,t,n){if(void 0===D)try{throw Error()}catch(r){var a=r.stack.trim().match(/\n( *(at )?)/);D=a&&a[1]||""}return"\n"+D+e}var P,R=!1,F="function"==typeof WeakMap?WeakMap:Map;function z(e,t){if(!e||R)return"";var n,a=P.get(e);if(void 0!==a)return a;R=!0;var r,i=Error.prepareStackTrace;Error.prepareStackTrace=void 0,r=A.current,A.current=null,function(){if(0===N){w=console.log,x=console.info,S=console.warn,E=console.error,j=console.group,T=console.groupCollapsed,O=console.groupEnd;var e={configurable:!0,enumerable:!0,value:M,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}N++}();try{if(t){var o=function(){throw Error()};if(Object.defineProperty(o.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(o,[])}catch(m){n=m}Reflect.construct(e,[],o)}else{try{o.call()}catch(m){n=m}e.call(o.prototype)}}else{try{throw Error()}catch(m){n=m}e()}}catch(f){if(f&&n&&"string"==typeof f.stack){for(var s=f.stack.split("\n"),c=n.stack.split("\n"),u=s.length-1,l=c.length-1;u>=1&&l>=0&&s[u]!==c[l];)l--;for(;u>=1&&l>=0;u--,l--)if(s[u]!==c[l]){if(1!==u||1!==l)do{if(u--,--l<0||s[u]!==c[l]){var d="\n"+s[u].replace(" at new "," at ");return e.displayName&&d.includes("<anonymous>")&&(d=d.replace("<anonymous>",e.displayName)),"function"==typeof e&&P.set(e,d),d}}while(u>=1&&l>=0);break}}}finally{R=!1,A.current=r,function(){if(0===--N){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:C({},e,{value:w}),info:C({},e,{value:x}),warn:C({},e,{value:S}),error:C({},e,{value:E}),group:C({},e,{value:j}),groupCollapsed:C({},e,{value:T}),groupEnd:C({},e,{value:O})})}N<0&&g("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=i}var p=e?e.displayName||e.name:"",h=p?I(p):"";return"function"==typeof e&&P.set(e,h),h}function L(e,t,n){if(null==e)return"";if("function"==typeof e)return z(e,!(!(a=e.prototype)||!a.isReactComponent));var a;if("string"==typeof e)return I(e);switch(e){case d:return I("Suspense");case p:return I("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case l:return z(e.render,!1);case h:return L(e.type,t,n);case m:var r=e,i=r._payload,o=r._init;try{return L(o(i),t,n)}catch(s){}}return""}P=new F;var q=Object.prototype.hasOwnProperty,$={},B=_.ReactDebugCurrentFrame;function V(e){if(e){var t=e._owner,n=L(e.type,e._source,t?t.type:null);B.setExtraStackFrame(n)}else B.setExtraStackFrame(null)}var U=Array.isArray;function W(e){return U(e)}function Q(e){return""+e}function G(e){if(function(e){try{return Q(e),!1}catch(t){return!0}}(e))return g("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",function(e){return"function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}(e)),Q(e)}var H,K,Y=_.ReactCurrentOwner,J={key:!0,ref:!0,__self:!0,__source:!0};function X(e,t,a,r,i){var o,s={},c=null,u=null;for(o in void 0!==a&&(G(a),c=""+a),function(e){if(q.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}(t)&&(G(t.key),c=""+t.key),function(e){if(q.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return void 0!==e.ref}(t)&&(u=t.ref,function(e){"string"==typeof e.ref&&Y.current}(t)),t)q.call(t,o)&&!J.hasOwnProperty(o)&&(s[o]=t[o]);if(e&&e.defaultProps){var l=e.defaultProps;for(o in l)void 0===s[o]&&(s[o]=l[o])}if(c||u){var d="function"==typeof e?e.displayName||e.name||"Unknown":e;c&&function(e,t){var n=function(){H||(H=!0,g("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};n.isReactWarning=!0,Object.defineProperty(e,"key",{get:n,configurable:!0})}(s,d),u&&function(e,t){var n=function(){K||(K=!0,g("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};n.isReactWarning=!0,Object.defineProperty(e,"ref",{get:n,configurable:!0})}(s,d)}return function(e,t,a,r,i,o,s){var c={$$typeof:n,type:e,key:t,ref:a,props:s,_owner:o,_store:{}};return Object.defineProperty(c._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(c,"_self",{configurable:!1,enumerable:!1,writable:!1,value:r}),Object.defineProperty(c,"_source",{configurable:!1,enumerable:!1,writable:!1,value:i}),Object.freeze&&(Object.freeze(c.props),Object.freeze(c)),c}(e,c,u,i,r,Y.current,s)}var Z,ee=_.ReactCurrentOwner,te=_.ReactDebugCurrentFrame;function ne(e){if(e){var t=e._owner,n=L(e.type,e._source,t?t.type:null);te.setExtraStackFrame(n)}else te.setExtraStackFrame(null)}function ae(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}function re(){if(ee.current){var e=k(ee.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}Z=!1;var ie={};function oe(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var n=function(e){var t=re();if(!t){var n="string"==typeof e?e:e.displayName||e.name;n&&(t="\n\nCheck the top-level render call using <"+n+">.")}return t}(t);if(!ie[n]){ie[n]=!0;var a="";e&&e._owner&&e._owner!==ee.current&&(a=" It was passed a child from "+k(e._owner.type)+"."),ne(e),g('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',n,a),ne(null)}}}function se(e,t){if("object"==typeof e)if(W(e))for(var n=0;n<e.length;n++){var a=e[n];ae(a)&&oe(a,t)}else if(ae(e))e._store&&(e._store.validated=!0);else if(e){var r=function(e){if(null===e||"object"!=typeof e)return null;var t=v&&e[v]||e["@@iterator"];return"function"==typeof t?t:null}(e);if("function"==typeof r&&r!==e.entries)for(var i,o=r.call(e);!(i=o.next()).done;)ae(i.value)&&oe(i.value,t)}}function ce(e){var t,n=e.type;if(null!=n&&"string"!=typeof n){if("function"==typeof n)t=n.propTypes;else{if("object"!=typeof n||n.$$typeof!==l&&n.$$typeof!==h)return;t=n.propTypes}if(t){var a=k(n);!function(e,t,n,a,r){var i=Function.call.bind(q);for(var o in e)if(i(e,o)){var s=void 0;try{if("function"!=typeof e[o]){var c=Error((a||"React class")+": "+n+" type `"+o+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[o]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw c.name="Invariant Violation",c}s=e[o](t,o,a,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(u){s=u}!s||s instanceof Error||(V(r),g("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",a||"React class",n,o,typeof s),V(null)),s instanceof Error&&!(s.message in $)&&($[s.message]=!0,V(r),g("Failed %s type: %s",n,s.message),V(null))}}(t,e.props,"prop",a,e)}else if(void 0!==n.PropTypes&&!Z){Z=!0,g("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",k(n)||"Unknown")}"function"!=typeof n.getDefaultProps||n.getDefaultProps.isReactClassApproved||g("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}var ue={};function le(e,t,a,c,v,_){var b=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===o||e===i||e===d||e===p||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===s||e.$$typeof===u||e.$$typeof===l||e.$$typeof===y||void 0!==e.getModuleId)}(e);if(!b){var w="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(w+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var x;w+=re(),null===e?x="null":W(e)?x="array":void 0!==e&&e.$$typeof===n?(x="<"+(k(e.type)||"Unknown")+" />",w=" Did you accidentally export a JSX literal instead of a component?"):x=typeof e,g("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",x,w)}var S=X(e,t,a,v,_);if(null==S)return S;if(b){var E=t.children;if(void 0!==E)if(c)if(W(E)){for(var j=0;j<E.length;j++)se(E[j],e);Object.freeze&&Object.freeze(E)}else g("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else se(E,e)}if(q.call(t,"key")){var T=k(e),O=Object.keys(t).filter(function(e){return"key"!==e}),C=O.length>0?"{key: someKey, "+O.join(": ..., ")+": ...}":"{key: someKey}";if(!ue[T+C])g('A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',C,T,O.length>0?"{"+O.join(": ..., ")+": ...}":"{}",T),ue[T+C]=!0}return e===r?function(e){for(var t=Object.keys(e.props),n=0;n<t.length;n++){var a=t[n];if("children"!==a&&"key"!==a){ne(e),g("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",a),ne(null);break}}null!==e.ref&&(ne(e),g("Invalid attribute `ref` supplied to `React.Fragment`."),ne(null))}(S):ce(S),S}var de=function(e,t,n){return le(e,t,n,!1)},pe=function(e,t,n){return le(e,t,n,!0)};c.Fragment=r,c.jsx=de,c.jsxs=pe}()),c}var l=(s||(s=1,"production"===process.env.NODE_ENV?r.exports=function(){if(a)return i;a=1;var t=e,n=Symbol.for("react.element"),r=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,s=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,a){var r,i={},u=null,l=null;for(r in void 0!==a&&(u=""+a),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(l=t.ref),t)o.call(t,r)&&!c.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:n,type:e,key:u,ref:l,props:i,_owner:s.current}}return i.Fragment=r,i.jsx=u,i.jsxs=u,i}():r.exports=u()),r.exports);const d=()=>l.jsxs("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"24px",height:"30px",viewBox:"0 0 24 30",enableBackground:"new 0 0 50 50",xmlSpace:"preserve",children:[l.jsxs("rect",{x:"0",y:"10",width:"4",height:"10",fill:"#333",opacity:"0.2",children:[l.jsx("animate",{attributeName:"opacity",attributeType:"XML",values:"0.2; 1; .2",begin:"0s",dur:"0.6s",repeatCount:"indefinite"}),l.jsx("animate",{attributeName:"height",attributeType:"XML",values:"10; 20; 10",begin:"0s",dur:"0.6s",repeatCount:"indefinite"}),l.jsx("animate",{attributeName:"y",attributeType:"XML",values:"10; 5; 10",begin:"0s",dur:"0.6s",repeatCount:"indefinite"})]}),l.jsxs("rect",{x:"8",y:"10",width:"4",height:"10",fill:"#333",opacity:"0.2",children:[l.jsx("animate",{attributeName:"opacity",attributeType:"XML",values:"0.2; 1; .2",begin:"0.15s",dur:"0.6s",repeatCount:"indefinite"}),l.jsx("animate",{attributeName:"height",attributeType:"XML",values:"10; 20; 10",begin:"0.15s",dur:"0.6s",repeatCount:"indefinite"}),l.jsx("animate",{attributeName:"y",attributeType:"XML",values:"10; 5; 10",begin:"0.15s",dur:"0.6s",repeatCount:"indefinite"})]}),l.jsxs("rect",{x:"16",y:"10",width:"4",height:"10",fill:"#333",opacity:"0.2",children:[l.jsx("animate",{attributeName:"opacity",attributeType:"XML",values:"0.2; 1; .2",begin:"0.3s",dur:"0.6s",repeatCount:"indefinite"}),l.jsx("animate",{attributeName:"height",attributeType:"XML",values:"10; 20; 10",begin:"0.3s",dur:"0.6s",repeatCount:"indefinite"}),l.jsx("animate",{attributeName:"y",attributeType:"XML",values:"10; 5; 10",begin:"0.3s",dur:"0.6s",repeatCount:"indefinite"})]})]});var p=function(e,t){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function h(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}p(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var m=function(){return m=Object.assign||function(e){for(var t,n=1,a=arguments.length;n<a;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},m.apply(this,arguments)};function f(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n}function v(e,t,n,a){return new(n||(n=Promise))(function(r,i){function o(e){try{c(a.next(e))}catch(t){i(t)}}function s(e){try{c(a.throw(e))}catch(t){i(t)}}function c(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(o,s)}c((a=a.apply(e,t||[])).next())})}function _(e,t){var n,a,r,i,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(c){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(o=0)),o;)try{if(n=1,a&&(r=2&s[0]?a.return:s[0]?a.throw||((r=a.return)&&r.call(a),0):a.next)&&!(r=r.call(a,s[1])).done)return r;switch(a=0,r&&(s=[2&s[0],r.value]),s[0]){case 0:case 1:r=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,a=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(r=o.trys,(r=r.length>0&&r[r.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]<r[3])){o.label=s[1];break}if(6===s[0]&&o.label<r[1]){o.label=r[1],r=s;break}if(r&&o.label<r[2]){o.label=r[2],o.ops.push(s);break}r[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(c){s=[6,c],a=0}finally{n=r=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}}function g(e,t,n){if(n||2===arguments.length)for(var a,r=0,i=t.length;r<i;r++)!a&&r in t||(a||(a=Array.prototype.slice.call(t,0,r)),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}var y="Invariant Violation",b=Object.setPrototypeOf,k=void 0===b?function(e,t){return e.__proto__=t,e}:b,w=function(e){function t(n){void 0===n&&(n=y);var a=e.call(this,"number"==typeof n?y+": "+n+" (see https://github.com/apollographql/invariant-packages)":n)||this;return a.framesToPop=1,a.name=y,k(a,t.prototype),a}return h(t,e),t}(Error);function x(e,t){if(!e)throw new w(t)}var S,E=["debug","log","warn","error","silent"],j=E.indexOf("log");function T(e){return function(){if(E.indexOf(e)>=j)return(console[e]||console.log).apply(console,arguments)}}(S=x||(x={})).debug=T("debug"),S.log=T("log"),S.warn=T("warn"),S.error=T("error");var O="3.11.8";function C(e){try{return e()}catch(t){}}const N=C(function(){return globalThis})||C(function(){return window})||C(function(){return self})||C(function(){return global})||C(function(){return C.constructor("return this")()});var M=new Map;function D(e){var t=M.get(e)||1;return M.set(e,t+1),"".concat(e,":").concat(t,":").concat(Math.random().toString(36).slice(2))}function A(e,t){void 0===t&&(t=0);var n=D("stringifyForDisplay");return JSON.stringify(e,function(e,t){return void 0===t?n:t},t).split(JSON.stringify(n)).join("<undefined>")}function I(e){return function(t){for(var n=[],a=1;a<arguments.length;a++)n[a-1]=arguments[a];if("number"==typeof t){var r=t;(t=L(r))||(t=q(r,n),n=[])}e.apply(void 0,[t].concat(n))}}var P=Object.assign(function(e,t){for(var n=[],a=2;a<arguments.length;a++)n[a-2]=arguments[a];e||x(e,L(t,n)||q(t,n))},{debug:I(x.debug),log:I(x.log),warn:I(x.warn),error:I(x.error)});function R(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return new w(L(e,t)||q(e,t))}var F=Symbol.for("ApolloErrorMessageHandler_"+O);function z(e){if("string"==typeof e)return e;try{return A(e,2).slice(0,1e3)}catch(t){return"<non-serializable>"}}function L(e,t){if(void 0===t&&(t=[]),e)return N[F]&&N[F](e,t.map(z))}function q(e,t){if(void 0===t&&(t=[]),e)return"An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#".concat(encodeURIComponent(JSON.stringify({version:O,message:e,args:t.map(z)})))}function $(e,t){if(!Boolean(e))throw new Error(t)}function B(e,t){if(!Boolean(e))throw new Error("Unexpected invariant triggered.")}const V=/\r\n|[\n\r]/g;function U(e,t){let n=0,a=1;for(const r of e.body.matchAll(V)){if("number"==typeof r.index||B(!1),r.index>=t)break;n=r.index+r[0].length,a+=1}return{line:a,column:t+1-n}}function W(e){return Q(e.source,U(e.source,e.start))}function Q(e,t){const n=e.locationOffset.column-1,a="".padStart(n)+e.body,r=t.line-1,i=e.locationOffset.line-1,o=t.line+i,s=1===t.line?n:0,c=t.column+s,u=`${e.name}:${o}:${c}\n`,l=a.split(/\r\n|[\n\r]/g),d=l[r];if(d.length>120){const e=Math.floor(c/80),t=c%80,n=[];for(let a=0;a<d.length;a+=80)n.push(d.slice(a,a+80));return u+G([[`${o} |`,n[0]],...n.slice(1,e+1).map(e=>["|",e]),["|","^".padStart(t)],["|",n[e+1]]])}return u+G([[o-1+" |",l[r-1]],[`${o} |`,d],["|","^".padStart(c)],[`${o+1} |`,l[r+1]]])}function G(e){const t=e.filter(([e,t])=>void 0!==t),n=Math.max(...t.map(([e])=>e.length));return t.map(([e,t])=>e.padStart(n)+(t?" "+t:"")).join("\n")}class H extends Error{constructor(e,...t){var n,a,r;const{nodes:i,source:o,positions:s,path:c,originalError:u,extensions:l}=function(e){const t=e[0];return null==t||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}(t);super(e),this.name="GraphQLError",this.path=null!=c?c:void 0,this.originalError=null!=u?u:void 0,this.nodes=K(Array.isArray(i)?i:i?[i]:void 0);const d=K(null===(n=this.nodes)||void 0===n?void 0:n.map(e=>e.loc).filter(e=>null!=e));this.source=null!=o?o:null==d||null===(a=d[0])||void 0===a?void 0:a.source,this.positions=null!=s?s:null==d?void 0:d.map(e=>e.start),this.locations=s&&o?s.map(e=>U(o,e)):null==d?void 0:d.map(e=>U(e.source,e.start));const p="object"==typeof(h=null==u?void 0:u.extensions)&&null!==h?null==u?void 0:u.extensions:void 0;var h;this.extensions=null!==(r=null!=l?l:p)&&void 0!==r?r:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=u&&u.stack?Object.defineProperty(this,"stack",{value:u.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,H):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let e=this.message;if(this.nodes)for(const t of this.nodes)t.loc&&(e+="\n\n"+W(t.loc));else if(this.source&&this.locations)for(const t of this.locations)e+="\n\n"+Q(this.source,t);return e}toJSON(){const e={message:this.message};return null!=this.locations&&(e.locations=this.locations),null!=this.path&&(e.path=this.path),null!=this.extensions&&Object.keys(this.extensions).length>0&&(e.extensions=this.extensions),e}}function K(e){return void 0===e||0===e.length?void 0:e}function Y(e,t,n){return new H(`Syntax Error: ${n}`,{source:e,positions:[t]})}class J{constructor(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class X{constructor(e,t,n,a,r,i){this.kind=e,this.start=t,this.end=n,this.line=a,this.column=r,this.value=i,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}const Z={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"]},ee=new Set(Object.keys(Z));function te(e){const t=null==e?void 0:e.kind;return"string"==typeof t&&ee.has(t)}var ne,ae,re,ie,oe,se,ce,ue;function le(e){return 9===e||32===e}function de(e){return e>=48&&e<=57}function pe(e){return e>=97&&e<=122||e>=65&&e<=90}function he(e){return pe(e)||95===e}function me(e){return pe(e)||de(e)||95===e}function fe(e){var t;let n=Number.MAX_SAFE_INTEGER,a=null,r=-1;for(let o=0;o<e.length;++o){var i;const t=e[o],s=ve(t);s!==t.length&&(a=null!==(i=a)&&void 0!==i?i:o,r=o,0!==o&&s<n&&(n=s))}return e.map((e,t)=>0===t?e:e.slice(n)).slice(null!==(t=a)&&void 0!==t?t:0,r+1)}function ve(e){let t=0;for(;t<e.length&&le(e.charCodeAt(t));)++t;return t}(ae=ne||(ne={})).QUERY="query",ae.MUTATION="mutation",ae.SUBSCRIPTION="subscription",(ie=re||(re={})).QUERY="QUERY",ie.MUTATION="MUTATION",ie.SUBSCRIPTION="SUBSCRIPTION",ie.FIELD="FIELD",ie.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",ie.FRAGMENT_SPREAD="FRAGMENT_SPREAD",ie.INLINE_FRAGMENT="INLINE_FRAGMENT",ie.VARIABLE_DEFINITION="VARIABLE_DEFINITION",ie.SCHEMA="SCHEMA",ie.SCALAR="SCALAR",ie.OBJECT="OBJECT",ie.FIELD_DEFINITION="FIELD_DEFINITION",ie.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",ie.INTERFACE="INTERFACE",ie.UNION="UNION",ie.ENUM="ENUM",ie.ENUM_VALUE="ENUM_VALUE",ie.INPUT_OBJECT="INPUT_OBJECT",ie.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION",(se=oe||(oe={})).NAME="Name",se.DOCUMENT="Document",se.OPERATION_DEFINITION="OperationDefinition",se.VARIABLE_DEFINITION="VariableDefinition",se.SELECTION_SET="SelectionSet",se.FIELD="Field",se.ARGUMENT="Argument",se.FRAGMENT_SPREAD="FragmentSpread",se.INLINE_FRAGMENT="InlineFragment",se.FRAGMENT_DEFINITION="FragmentDefinition",se.VARIABLE="Variable",se.INT="IntValue",se.FLOAT="FloatValue",se.STRING="StringValue",se.BOOLEAN="BooleanValue",se.NULL="NullValue",se.ENUM="EnumValue",se.LIST="ListValue",se.OBJECT="ObjectValue",se.OBJECT_FIELD="ObjectField",se.DIRECTIVE="Directive",se.NAMED_TYPE="NamedType",se.LIST_TYPE="ListType",se.NON_NULL_TYPE="NonNullType",se.SCHEMA_DEFINITION="SchemaDefinition",se.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",se.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",se.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",se.FIELD_DEFINITION="FieldDefinition",se.INPUT_VALUE_DEFINITION="InputValueDefinition",se.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",se.UNION_TYPE_DEFINITION="UnionTypeDefinition",se.ENUM_TYPE_DEFINITION="EnumTypeDefinition",se.ENUM_VALUE_DEFINITION="EnumValueDefinition",se.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",se.DIRECTIVE_DEFINITION="DirectiveDefinition",se.SCHEMA_EXTENSION="SchemaExtension",se.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",se.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",se.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",se.UNION_TYPE_EXTENSION="UnionTypeExtension",se.ENUM_TYPE_EXTENSION="EnumTypeExtension",se.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension",(ue=ce||(ce={})).SOF="<SOF>",ue.EOF="<EOF>",ue.BANG="!",ue.DOLLAR="$",ue.AMP="&",ue.PAREN_L="(",ue.PAREN_R=")",ue.SPREAD="...",ue.COLON=":",ue.EQUALS="=",ue.AT="@",ue.BRACKET_L="[",ue.BRACKET_R="]",ue.BRACE_L="{",ue.PIPE="|",ue.BRACE_R="}",ue.NAME="Name",ue.INT="Int",ue.FLOAT="Float",ue.STRING="String",ue.BLOCK_STRING="BlockString",ue.COMMENT="Comment";class _e{constructor(e){const t=new X(ce.SOF,0,0,0,0);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){this.lastToken=this.token;return this.token=this.lookahead()}lookahead(){let e=this.token;if(e.kind!==ce.EOF)do{if(e.next)e=e.next;else{const t=Se(this,e.end);e.next=t,t.prev=e,e=t}}while(e.kind===ce.COMMENT);return e}}function ge(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function ye(e,t){return be(e.charCodeAt(t))&&ke(e.charCodeAt(t+1))}function be(e){return e>=55296&&e<=56319}function ke(e){return e>=56320&&e<=57343}function we(e,t){const n=e.source.body.codePointAt(t);if(void 0===n)return ce.EOF;if(n>=32&&n<=126){const e=String.fromCodePoint(n);return'"'===e?"'\"'":`"${e}"`}return"U+"+n.toString(16).toUpperCase().padStart(4,"0")}function xe(e,t,n,a,r){const i=e.line,o=1+n-e.lineStart;return new X(t,n,a,i,o,r)}function Se(e,t){const n=e.source.body,a=n.length;let r=t;for(;r<a;){const t=n.charCodeAt(r);switch(t){case 65279:case 9:case 32:case 44:++r;continue;case 10:++r,++e.line,e.lineStart=r;continue;case 13:10===n.charCodeAt(r+1)?r+=2:++r,++e.line,e.lineStart=r;continue;case 35:return Ee(e,r);case 33:return xe(e,ce.BANG,r,r+1);case 36:return xe(e,ce.DOLLAR,r,r+1);case 38:return xe(e,ce.AMP,r,r+1);case 40:return xe(e,ce.PAREN_L,r,r+1);case 41:return xe(e,ce.PAREN_R,r,r+1);case 46:if(46===n.charCodeAt(r+1)&&46===n.charCodeAt(r+2))return xe(e,ce.SPREAD,r,r+3);break;case 58:return xe(e,ce.COLON,r,r+1);case 61:return xe(e,ce.EQUALS,r,r+1);case 64:return xe(e,ce.AT,r,r+1);case 91:return xe(e,ce.BRACKET_L,r,r+1);case 93:return xe(e,ce.BRACKET_R,r,r+1);case 123:return xe(e,ce.BRACE_L,r,r+1);case 124:return xe(e,ce.PIPE,r,r+1);case 125:return xe(e,ce.BRACE_R,r,r+1);case 34:return 34===n.charCodeAt(r+1)&&34===n.charCodeAt(r+2)?Ie(e,r):Oe(e,r)}if(de(t)||45===t)return je(e,r,t);if(he(t))return Pe(e,r);throw Y(e.source,r,39===t?"Unexpected single quote character ('), did you mean to use a double quote (\")?":ge(t)||ye(n,r)?`Unexpected character: ${we(e,r)}.`:`Invalid character: ${we(e,r)}.`)}return xe(e,ce.EOF,a,a)}function Ee(e,t){const n=e.source.body,a=n.length;let r=t+1;for(;r<a;){const e=n.charCodeAt(r);if(10===e||13===e)break;if(ge(e))++r;else{if(!ye(n,r))break;r+=2}}return xe(e,ce.COMMENT,t,r,n.slice(t+1,r))}function je(e,t,n){const a=e.source.body;let r=t,i=n,o=!1;if(45===i&&(i=a.charCodeAt(++r)),48===i){if(i=a.charCodeAt(++r),de(i))throw Y(e.source,r,`Invalid number, unexpected digit after 0: ${we(e,r)}.`)}else r=Te(e,r,i),i=a.charCodeAt(r);if(46===i&&(o=!0,i=a.charCodeAt(++r),r=Te(e,r,i),i=a.charCodeAt(r)),69!==i&&101!==i||(o=!0,i=a.charCodeAt(++r),43!==i&&45!==i||(i=a.charCodeAt(++r)),r=Te(e,r,i),i=a.charCodeAt(r)),46===i||he(i))throw Y(e.source,r,`Invalid number, expected digit but got: ${we(e,r)}.`);return xe(e,o?ce.FLOAT:ce.INT,t,r,a.slice(t,r))}function Te(e,t,n){if(!de(n))throw Y(e.source,t,`Invalid number, expected digit but got: ${we(e,t)}.`);const a=e.source.body;let r=t+1;for(;de(a.charCodeAt(r));)++r;return r}function Oe(e,t){const n=e.source.body,a=n.length;let r=t+1,i=r,o="";for(;r<a;){const a=n.charCodeAt(r);if(34===a)return o+=n.slice(i,r),xe(e,ce.STRING,t,r+1,o);if(92===a){o+=n.slice(i,r);const t=117===n.charCodeAt(r+1)?123===n.charCodeAt(r+2)?Ce(e,r):Ne(e,r):Ae(e,r);o+=t.value,r+=t.size,i=r;continue}if(10===a||13===a)break;if(ge(a))++r;else{if(!ye(n,r))throw Y(e.source,r,`Invalid character within String: ${we(e,r)}.`);r+=2}}throw Y(e.source,r,"Unterminated string.")}function Ce(e,t){const n=e.source.body;let a=0,r=3;for(;r<12;){const e=n.charCodeAt(t+r++);if(125===e){if(r<5||!ge(a))break;return{value:String.fromCodePoint(a),size:r}}if(a=a<<4|De(e),a<0)break}throw Y(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+r)}".`)}function Ne(e,t){const n=e.source.body,a=Me(n,t+2);if(ge(a))return{value:String.fromCodePoint(a),size:6};if(be(a)&&92===n.charCodeAt(t+6)&&117===n.charCodeAt(t+7)){const e=Me(n,t+8);if(ke(e))return{value:String.fromCodePoint(a,e),size:12}}throw Y(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+6)}".`)}function Me(e,t){return De(e.charCodeAt(t))<<12|De(e.charCodeAt(t+1))<<8|De(e.charCodeAt(t+2))<<4|De(e.charCodeAt(t+3))}function De(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function Ae(e,t){const n=e.source.body;switch(n.charCodeAt(t+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:"\n",size:2};case 114:return{value:"\r",size:2};case 116:return{value:"\t",size:2}}throw Y(e.source,t,`Invalid character escape sequence: "${n.slice(t,t+2)}".`)}function Ie(e,t){const n=e.source.body,a=n.length;let r=e.lineStart,i=t+3,o=i,s="";const c=[];for(;i<a;){const a=n.charCodeAt(i);if(34===a&&34===n.charCodeAt(i+1)&&34===n.charCodeAt(i+2)){s+=n.slice(o,i),c.push(s);const a=xe(e,ce.BLOCK_STRING,t,i+3,fe(c).join("\n"));return e.line+=c.length-1,e.lineStart=r,a}if(92!==a||34!==n.charCodeAt(i+1)||34!==n.charCodeAt(i+2)||34!==n.charCodeAt(i+3))if(10!==a&&13!==a)if(ge(a))++i;else{if(!ye(n,i))throw Y(e.source,i,`Invalid character within String: ${we(e,i)}.`);i+=2}else s+=n.slice(o,i),c.push(s),13===a&&10===n.charCodeAt(i+1)?i+=2:++i,s="",o=i,r=i;else s+=n.slice(o,i),o=i+1,i+=4}throw Y(e.source,i,"Unterminated string.")}function Pe(e,t){const n=e.source.body,a=n.length;let r=t+1;for(;r<a;){if(!me(n.charCodeAt(r)))break;++r}return xe(e,ce.NAME,t,r,n.slice(t,r))}function Re(e){return Fe(e,[])}function Fe(e,t){switch(typeof e){case"string":return JSON.stringify(e);case"function":return e.name?`[function ${e.name}]`:"[function]";case"object":return function(e,t){if(null===e)return"null";if(t.includes(e))return"[Circular]";const n=[...t,e];if(function(e){return"function"==typeof e.toJSON}(e)){const t=e.toJSON();if(t!==e)return"string"==typeof t?t:Fe(t,n)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return"[]";if(t.length>2)return"[Array]";const n=Math.min(10,e.length),a=e.length-n,r=[];for(let i=0;i<n;++i)r.push(Fe(e[i],t));1===a?r.push("... 1 more item"):a>1&&r.push(`... ${a} more items`);return"["+r.join(", ")+"]"}(e,n);return function(e,t){const n=Object.entries(e);if(0===n.length)return"{}";if(t.length>2)return"["+function(e){const t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){const t=e.constructor.name;if("string"==typeof t&&""!==t)return t}return t}(e)+"]";const a=n.map(([e,n])=>e+": "+Fe(n,t));return"{ "+a.join(", ")+" }"}(e,n)}(e,t);default:return String(e)}}const ze=globalThis.process&&"production"===process.env.NODE_ENV?function(e,t){return e instanceof t}:function(e,t){if(e instanceof t)return!0;if("object"==typeof e&&null!==e){var n;const a=t.prototype[Symbol.toStringTag];if(a===(Symbol.toStringTag in e?e[Symbol.toStringTag]:null===(n=e.constructor)||void 0===n?void 0:n.name)){const t=Re(e);throw new Error(`Cannot use ${a} "${t}" from another module or realm.\n\nEnsure that there is only one instance of "graphql" in the node_modules\ndirectory. If different versions of "graphql" are the dependencies of other\nrelied on modules, use "resolutions" to ensure only one version is installed.\n\nhttps://yarnpkg.com/en/docs/selective-version-resolutions\n\nDuplicate "graphql" modules cannot be used at the same time since different\nversions may have different capabilities and behavior. The data from one\nversion used in the function from another could produce confusing and\nspurious results.`)}}return!1};class Le{constructor(e,t="GraphQL request",n={line:1,column:1}){"string"==typeof e||$(!1,`Body must be a string. Received: ${Re(e)}.`),this.body=e,this.name=t,this.locationOffset=n,this.locationOffset.line>0||$(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||$(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}let qe=class{constructor(e,t={}){const n=function(e){return ze(e,Le)}(e)?e:new Le(e);this._lexer=new _e(n),this._options=t,this._tokenCounter=0}get tokenCount(){return this._tokenCounter}parseName(){const e=this.expectToken(ce.NAME);return this.node(e,{kind:oe.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:oe.DOCUMENT,definitions:this.many(ce.SOF,this.parseDefinition,ce.EOF)})}parseDefinition(){if(this.peek(ce.BRACE_L))return this.parseOperationDefinition();const e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(t.kind===ce.NAME){switch(t.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()}if(e)throw Y(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(t.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(t)}parseOperationDefinition(){const e=this._lexer.token;if(this.peek(ce.BRACE_L))return this.node(e,{kind:oe.OPERATION_DEFINITION,operation:ne.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});const t=this.parseOperationType();let n;return this.peek(ce.NAME)&&(n=this.parseName()),this.node(e,{kind:oe.OPERATION_DEFINITION,operation:t,name:n,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){const e=this.expectToken(ce.NAME);switch(e.value){case"query":return ne.QUERY;case"mutation":return ne.MUTATION;case"subscription":return ne.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(ce.PAREN_L,this.parseVariableDefinition,ce.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:oe.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(ce.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(ce.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){const e=this._lexer.token;return this.expectToken(ce.DOLLAR),this.node(e,{kind:oe.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:oe.SELECTION_SET,selections:this.many(ce.BRACE_L,this.parseSelection,ce.BRACE_R)})}parseSelection(){return this.peek(ce.SPREAD)?this.parseFragment():this.parseField()}parseField(){const e=this._lexer.token,t=this.parseName();let n,a;return this.expectOptionalToken(ce.COLON)?(n=t,a=this.parseName()):a=t,this.node(e,{kind:oe.FIELD,alias:n,name:a,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(ce.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){const t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(ce.PAREN_L,t,ce.PAREN_R)}parseArgument(e=!1){const t=this._lexer.token,n=this.parseName();return this.expectToken(ce.COLON),this.node(t,{kind:oe.ARGUMENT,name:n,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){const e=this._lexer.token;this.expectToken(ce.SPREAD);const t=this.expectOptionalKeyword("on");return!t&&this.peek(ce.NAME)?this.node(e,{kind:oe.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:oe.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){const e=this._lexer.token;return this.expectKeyword("fragment"),!0===this._options.allowLegacyFragmentVariables?this.node(e,{kind:oe.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(e,{kind:oe.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()}parseValueLiteral(e){const t=this._lexer.token;switch(t.kind){case ce.BRACKET_L:return this.parseList(e);case ce.BRACE_L:return this.parseObject(e);case ce.INT:return this.advanceLexer(),this.node(t,{kind:oe.INT,value:t.value});case ce.FLOAT:return this.advanceLexer(),this.node(t,{kind:oe.FLOAT,value:t.value});case ce.STRING:case ce.BLOCK_STRING:return this.parseStringLiteral();case ce.NAME:switch(this.advanceLexer(),t.value){case"true":return this.node(t,{kind:oe.BOOLEAN,value:!0});case"false":return this.node(t,{kind:oe.BOOLEAN,value:!1});case"null":return this.node(t,{kind:oe.NULL});default:return this.node(t,{kind:oe.ENUM,value:t.value})}case ce.DOLLAR:if(e){if(this.expectToken(ce.DOLLAR),this._lexer.token.kind===ce.NAME){const e=this._lexer.token.value;throw Y(this._lexer.source,t.start,`Unexpected variable "$${e}" in constant value.`)}throw this.unexpected(t)}return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){const e=this._lexer.token;return this.advanceLexer(),this.node(e,{kind:oe.STRING,value:e.value,block:e.kind===ce.BLOCK_STRING})}parseList(e){return this.node(this._lexer.token,{kind:oe.LIST,values:this.any(ce.BRACKET_L,()=>this.parseValueLiteral(e),ce.BRACKET_R)})}parseObject(e){return this.node(this._lexer.token,{kind:oe.OBJECT,fields:this.any(ce.BRACE_L,()=>this.parseObjectField(e),ce.BRACE_R)})}parseObjectField(e){const t=this._lexer.token,n=this.parseName();return this.expectToken(ce.COLON),this.node(t,{kind:oe.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e)})}parseDirectives(e){const t=[];for(;this.peek(ce.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){const t=this._lexer.token;return this.expectToken(ce.AT),this.node(t,{kind:oe.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){const e=this._lexer.token;let t;if(this.expectOptionalToken(ce.BRACKET_L)){const n=this.parseTypeReference();this.expectToken(ce.BRACKET_R),t=this.node(e,{kind:oe.LIST_TYPE,type:n})}else t=this.parseNamedType();return this.expectOptionalToken(ce.BANG)?this.node(e,{kind:oe.NON_NULL_TYPE,type:t}):t}parseNamedType(){return this.node(this._lexer.token,{kind:oe.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(ce.STRING)||this.peek(ce.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");const n=this.parseConstDirectives(),a=this.many(ce.BRACE_L,this.parseOperationTypeDefinition,ce.BRACE_R);return this.node(e,{kind:oe.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:a})}parseOperationTypeDefinition(){const e=this._lexer.token,t=this.parseOperationType();this.expectToken(ce.COLON);const n=this.parseNamedType();return this.node(e,{kind:oe.OPERATION_TYPE_DEFINITION,operation:t,type:n})}parseScalarTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");const n=this.parseName(),a=this.parseConstDirectives();return this.node(e,{kind:oe.SCALAR_TYPE_DEFINITION,description:t,name:n,directives:a})}parseObjectTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");const n=this.parseName(),a=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),i=this.parseFieldsDefinition();return this.node(e,{kind:oe.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:a,directives:r,fields:i})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(ce.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(ce.BRACE_L,this.parseFieldDefinition,ce.BRACE_R)}parseFieldDefinition(){const e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),a=this.parseArgumentDefs();this.expectToken(ce.COLON);const r=this.parseTypeReference(),i=this.parseConstDirectives();return this.node(e,{kind:oe.FIELD_DEFINITION,description:t,name:n,arguments:a,type:r,directives:i})}parseArgumentDefs(){return this.optionalMany(ce.PAREN_L,this.parseInputValueDef,ce.PAREN_R)}parseInputValueDef(){const e=this._lexer.token,t=this.parseDescription(),n=this.parseName();this.expectToken(ce.COLON);const a=this.parseTypeReference();let r;this.expectOptionalToken(ce.EQUALS)&&(r=this.parseConstValueLiteral());const i=this.parseConstDirectives();return this.node(e,{kind:oe.INPUT_VALUE_DEFINITION,description:t,name:n,type:a,defaultValue:r,directives:i})}parseInterfaceTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");const n=this.parseName(),a=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),i=this.parseFieldsDefinition();return this.node(e,{kind:oe.INTERFACE_TYPE_DEFINITION,description:t,name:n,interfaces:a,directives:r,fields:i})}parseUnionTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");const n=this.parseName(),a=this.parseConstDirectives(),r=this.parseUnionMemberTypes();return this.node(e,{kind:oe.UNION_TYPE_DEFINITION,description:t,name:n,directives:a,types:r})}parseUnionMemberTypes(){return this.expectOptionalToken(ce.EQUALS)?this.delimitedMany(ce.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");const n=this.parseName(),a=this.parseConstDirectives(),r=this.parseEnumValuesDefinition();return this.node(e,{kind:oe.ENUM_TYPE_DEFINITION,description:t,name:n,directives:a,values:r})}parseEnumValuesDefinition(){return this.optionalMany(ce.BRACE_L,this.parseEnumValueDefinition,ce.BRACE_R)}parseEnumValueDefinition(){const e=this._lexer.token,t=this.parseDescription(),n=this.parseEnumValueName(),a=this.parseConstDirectives();return this.node(e,{kind:oe.ENUM_VALUE_DEFINITION,description:t,name:n,directives:a})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw Y(this._lexer.source,this._lexer.token.start,`${$e(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");const n=this.parseName(),a=this.parseConstDirectives(),r=this.parseInputFieldsDefinition();return this.node(e,{kind:oe.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:a,fields:r})}parseInputFieldsDefinition(){return this.optionalMany(ce.BRACE_L,this.parseInputValueDef,ce.BRACE_R)}parseTypeSystemExtension(){const e=this._lexer.lookahead();if(e.kind===ce.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)}parseSchemaExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");const t=this.parseConstDirectives(),n=this.optionalMany(ce.BRACE_L,this.parseOperationTypeDefinition,ce.BRACE_R);if(0===t.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:oe.SCHEMA_EXTENSION,directives:t,operationTypes:n})}parseScalarTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");const t=this.parseName(),n=this.parseConstDirectives();if(0===n.length)throw this.unexpected();return this.node(e,{kind:oe.SCALAR_TYPE_EXTENSION,name:t,directives:n})}parseObjectTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");const t=this.parseName(),n=this.parseImplementsInterfaces(),a=this.parseConstDirectives(),r=this.parseFieldsDefinition();if(0===n.length&&0===a.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:oe.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:a,fields:r})}parseInterfaceTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");const t=this.parseName(),n=this.parseImplementsInterfaces(),a=this.parseConstDirectives(),r=this.parseFieldsDefinition();if(0===n.length&&0===a.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:oe.INTERFACE_TYPE_EXTENSION,name:t,interfaces:n,directives:a,fields:r})}parseUnionTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");const t=this.parseName(),n=this.parseConstDirectives(),a=this.parseUnionMemberTypes();if(0===n.length&&0===a.length)throw this.unexpected();return this.node(e,{kind:oe.UNION_TYPE_EXTENSION,name:t,directives:n,types:a})}parseEnumTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");const t=this.parseName(),n=this.parseConstDirectives(),a=this.parseEnumValuesDefinition();if(0===n.length&&0===a.length)throw this.unexpected();return this.node(e,{kind:oe.ENUM_TYPE_EXTENSION,name:t,directives:n,values:a})}parseInputObjectTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");const t=this.parseName(),n=this.parseConstDirectives(),a=this.parseInputFieldsDefinition();if(0===n.length&&0===a.length)throw this.unexpected();return this.node(e,{kind:oe.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:a})}parseDirectiveDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(ce.AT);const n=this.parseName(),a=this.parseArgumentDefs(),r=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");const i=this.parseDirectiveLocations();return this.node(e,{kind:oe.DIRECTIVE_DEFINITION,description:t,name:n,arguments:a,repeatable:r,locations:i})}parseDirectiveLocations(){return this.delimitedMany(ce.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){const e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(re,t.value))return t;throw this.unexpected(e)}node(e,t){return!0!==this._options.noLocation&&(t.loc=new J(e,this._lexer.lastToken,this._lexer.source)),t}peek(e){return this._lexer.token.kind===e}expectToken(e){const t=this._lexer.token;if(t.kind===e)return this.advanceLexer(),t;throw Y(this._lexer.source,t.start,`Expected ${Be(e)}, found ${$e(t)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e&&(this.advanceLexer(),!0)}expectKeyword(e){const t=this._lexer.token;if(t.kind!==ce.NAME||t.value!==e)throw Y(this._lexer.source,t.start,`Expected "${e}", found ${$e(t)}.`);this.advanceLexer()}expectOptionalKeyword(e){const t=this._lexer.token;return t.kind===ce.NAME&&t.value===e&&(this.advanceLexer(),!0)}unexpected(e){const t=null!=e?e:this._lexer.token;return Y(this._lexer.source,t.start,`Unexpected ${$e(t)}.`)}any(e,t,n){this.expectToken(e);const a=[];for(;!this.expectOptionalToken(n);)a.push(t.call(this));return a}optionalMany(e,t,n){if(this.expectOptionalToken(e)){const e=[];do{e.push(t.call(this))}while(!this.expectOptionalToken(n));return e}return[]}many(e,t,n){this.expectToken(e);const a=[];do{a.push(t.call(this))}while(!this.expectOptionalToken(n));return a}delimitedMany(e,t){this.expectOptionalToken(e);const n=[];do{n.push(t.call(this))}while(this.expectOptionalToken(e));return n}advanceLexer(){const{maxTokens:e}=this._options,t=this._lexer.advance();if(t.kind!==ce.EOF&&(++this._tokenCounter,void 0!==e&&this._tokenCounter>e))throw Y(this._lexer.source,t.start,`Document contains more that ${e} tokens. Parsing aborted.`)}};function $e(e){const t=e.value;return Be(e.kind)+(null!=t?` "${t}"`:"")}function Be(e){return function(e){return e===ce.BANG||e===ce.DOLLAR||e===ce.AMP||e===ce.PAREN_L||e===ce.PAREN_R||e===ce.SPREAD||e===ce.COLON||e===ce.EQUALS||e===ce.AT||e===ce.BRACKET_L||e===ce.BRACKET_R||e===ce.BRACE_L||e===ce.PIPE||e===ce.BRACE_R}(e)?`"${e}"`:e}const Ve=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function Ue(e){return We[e.charCodeAt(0)]}const We=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"],Qe=Object.freeze({});function Ge(e,t,n=Z){const a=new Map;for(const _ of Object.values(oe))a.set(_,He(t,_));let r,i,o,s=Array.isArray(e),c=[e],u=-1,l=[],d=e;const p=[],h=[];do{u++;const e=u===c.length,_=e&&0!==l.length;if(e){if(i=0===h.length?void 0:p[p.length-1],d=o,o=h.pop(),_)if(s){d=d.slice();let e=0;for(const[t,n]of l){const a=t-e;null===n?(d.splice(a,1),e++):d[a]=n}}else{d={...d};for(const[e,t]of l)d[e]=t}u=r.index,c=r.keys,l=r.edits,s=r.inArray,r=r.prev}else if(o){if(i=s?u:c[u],d=o[i],null==d)continue;p.push(i)}let g;if(!Array.isArray(d)){var m,f;te(d)||$(!1,`Invalid AST Node: ${Re(d)}.`);const n=e?null===(m=a.get(d.kind))||void 0===m?void 0:m.leave:null===(f=a.get(d.kind))||void 0===f?void 0:f.enter;if(g=null==n?void 0:n.call(t,d,i,o,p,h),g===Qe)break;if(!1===g){if(!e){p.pop();continue}}else if(void 0!==g&&(l.push([i,g]),!e)){if(!te(g)){p.pop();continue}d=g}}var v;if(void 0===g&&_&&l.push([i,d]),e)p.pop();else r={inArray:s,index:u,keys:c,edits:l,prev:r},s=Array.isArray(d),c=s?d:null!==(v=n[d.kind])&&void 0!==v?v:[],u=-1,l=[],o&&h.push(o),o=d}while(void 0!==r);return 0!==l.length?l[l.length-1][1]:e}function He(e,t){const n=e[t];return"object"==typeof n?n:"function"==typeof n?{enter:n,leave:void 0}:{enter:e.enter,leave:e.leave}}const Ke={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>Ye(e.definitions,"\n\n")},OperationDefinition:{leave(e){const t=Xe("(",Ye(e.variableDefinitions,", "),")"),n=Ye([e.operation,Ye([e.name,t]),Ye(e.directives," ")]," ");return("query"===n?"":n+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:n,directives:a})=>e+": "+t+Xe(" = ",n)+Xe(" ",Ye(a," "))},SelectionSet:{leave:({selections:e})=>Je(e)},Field:{leave({alias:e,name:t,arguments:n,directives:a,selectionSet:r}){const i=Xe("",e,": ")+t;let o=i+Xe("(",Ye(n,", "),")");return o.length>80&&(o=i+Xe("(\n",Ze(Ye(n,"\n")),"\n)")),Ye([o,Ye(a," "),r]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+Xe(" ",Ye(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:n})=>Ye(["...",Xe("on ",e),Ye(t," "),n]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:n,directives:a,selectionSet:r})=>`fragment ${e}${Xe("(",Ye(n,", "),")")} on ${t} ${Xe("",Ye(a," ")," ")}`+r},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:t})=>t?function(e){const t=e.replace(/"""/g,'\\"""'),n=t.split(/\r\n|[\n\r]/g),a=1===n.length,r=n.length>1&&n.slice(1).every(e=>0===e.length||le(e.charCodeAt(0))),i=t.endsWith('\\"""'),o=e.endsWith('"')&&!i,s=e.endsWith("\\"),c=o||s,u=!a||e.length>70||c||r||i;let l="";const d=a&&le(e.charCodeAt(0));return(u&&!d||r)&&(l+="\n"),l+=t,(u||c)&&(l+="\n"),'"""'+l+'"""'}(e):`"${e.replace(Ve,Ue)}"`},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+Ye(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+Ye(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+Xe("(",Ye(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:n})=>Xe("",e,"\n")+Ye(["schema",Ye(t," "),Je(n)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:n})=>Xe("",e,"\n")+Ye(["scalar",t,Ye(n," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:a,fields:r})=>Xe("",e,"\n")+Ye(["type",t,Xe("implements ",Ye(n," & ")),Ye(a," "),Je(r)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:n,type:a,directives:r})=>Xe("",e,"\n")+t+(et(n)?Xe("(\n",Ze(Ye(n,"\n")),"\n)"):Xe("(",Ye(n,", "),")"))+": "+a+Xe(" ",Ye(r," "))},InputValueDefinition:{leave:({description:e,name:t,type:n,defaultValue:a,directives:r})=>Xe("",e,"\n")+Ye([t+": "+n,Xe("= ",a),Ye(r," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:a,fields:r})=>Xe("",e,"\n")+Ye(["interface",t,Xe("implements ",Ye(n," & ")),Ye(a," "),Je(r)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:n,types:a})=>Xe("",e,"\n")+Ye(["union",t,Ye(n," "),Xe("= ",Ye(a," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:n,values:a})=>Xe("",e,"\n")+Ye(["enum",t,Ye(n," "),Je(a)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:n})=>Xe("",e,"\n")+Ye([t,Ye(n," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:n,fields:a})=>Xe("",e,"\n")+Ye(["input",t,Ye(n," "),Je(a)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:n,repeatable:a,locations:r})=>Xe("",e,"\n")+"directive @"+t+(et(n)?Xe("(\n",Ze(Ye(n,"\n")),"\n)"):Xe("(",Ye(n,", "),")"))+(a?" repeatable":"")+" on "+Ye(r," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>Ye(["extend schema",Ye(e," "),Je(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>Ye(["extend scalar",e,Ye(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:a})=>Ye(["extend type",e,Xe("implements ",Ye(t," & ")),Ye(n," "),Je(a)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:a})=>Ye(["extend interface",e,Xe("implements ",Ye(t," & ")),Ye(n," "),Je(a)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:n})=>Ye(["extend union",e,Ye(t," "),Xe("= ",Ye(n," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:n})=>Ye(["extend enum",e,Ye(t," "),Je(n)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:n})=>Ye(["extend input",e,Ye(t," "),Je(n)]," ")}};function Ye(e,t=""){var n;return null!==(n=null==e?void 0:e.filter(e=>e).join(t))&&void 0!==n?n:""}function Je(e){return Xe("{\n",Ze(Ye(e,"\n")),"\n}")}function Xe(e,t,n=""){return null!=t&&""!==t?e+t+n:""}function Ze(e){return Xe(" ",e.replace(/\n/g,"\n "))}function et(e){var t;return null!==(t=null==e?void 0:e.some(e=>e.includes("\n")))&&void 0!==t&&t}function tt(e){return e.kind===oe.FIELD||e.kind===oe.FRAGMENT_SPREAD||e.kind===oe.INLINE_FRAGMENT}function nt(e,t){var n=e.directives;return!n||!n.length||function(e){var t=[];e&&e.length&&e.forEach(function(e){if(function(e){var t=e.name.value;return"skip"===t||"include"===t}(e)){var n=e.arguments,a=e.name.value;P(n&&1===n.length,71,a);var r=n[0];P(r.name&&"if"===r.name.value,72,a);var i=r.value;P(i&&("Variable"===i.kind||"BooleanValue"===i.kind),73,a),t.push({directive:e,ifArgument:r})}});return t}(n).every(function(e){var n=e.directive,a=e.ifArgument,r=!1;return"Variable"===a.value.kind?(r=t&&t[a.value.name.value],P(void 0!==r,70,n.name.value)):r=a.value.value,"skip"===n.name.value?!r:r})}function at(e,t,n){var a=new Set(e),r=a.size;return Ge(t,{Directive:function(e){if(a.delete(e.name.value)&&(!n||!a.size))return Qe}}),n?!a.size:a.size<r}function rt(e){return e&&at(["client","export"],e,!0)}const it=()=>Object.create(null),{forEach:ot,slice:st}=Array.prototype,{hasOwnProperty:ct}=Object.prototype;let ut=class e{constructor(e=!0,t=it){this.weakness=e,this.makeData=t}lookup(){return this.lookupArray(arguments)}lookupArray(e){let t=this;return ot.call(e,e=>t=t.getChildTrie(e)),ct.call(t,"data")?t.data:t.data=this.makeData(st.call(e))}peek(){return this.peekArray(arguments)}peekArray(e){let t=this;for(let n=0,a=e.length;t&&n<a;++n){const a=t.mapFor(e[n],!1);t=a&&a.get(e[n])}return t&&t.data}remove(){return this.removeArray(arguments)}removeArray(e){let t;if(e.length){const n=e[0],a=this.mapFor(n,!1),r=a&&a.get(n);r&&(t=r.removeArray(st.call(e,1)),r.data||r.weak||r.strong&&r.strong.size||a.delete(n))}else t=this.data,delete this.data;return t}getChildTrie(t){const n=this.mapFor(t,!0);let a=n.get(t);return a||n.set(t,a=new e(this.weakness,this.makeData)),a}mapFor(e,t){return this.weakness&&function(e){switch(typeof e){case"object":if(null===e)break;case"function":return!0}return!1}(e)?this.weak||(t?this.weak=new WeakMap:void 0):this.strong||(t?this.strong=new Map:void 0)}};var lt="ReactNative"==C(function(){return navigator.product}),dt="function"==typeof WeakMap&&!(lt&&!global.HermesInternal),pt="function"==typeof WeakSet,ht="function"==typeof Symbol&&"function"==typeof Symbol.for,mt=ht&&Symbol.asyncIterator,ft="function"==typeof C(function(){return window.document.createElement}),vt=C(function(){return navigator.userAgent.indexOf("jsdom")>=0})||!1,_t=(ft||lt)&&!vt;function gt(e){return null!==e&&"object"==typeof e}function yt(e,t){var n=t,a=[];return e.definitions.forEach(function(e){if("OperationDefinition"===e.kind)throw R(74,e.operation,e.name?" named '".concat(e.name.value,"'"):"");"FragmentDefinition"===e.kind&&a.push(e)}),void 0===n&&(P(1===a.length,75,a.length),n=a[0].name.value),m(m({},e),{definitions:g([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:n}}]}}],e.definitions,!0)})}function bt(e){void 0===e&&(e=[]);var t={};return e.forEach(function(e){t[e.name.value]=e}),t}function kt(e,t){switch(e.kind){case"InlineFragment":return e;case"FragmentSpread":var n=e.name.value;if("function"==typeof t)return t(n);var a=t&&t[n];return P(a,76,n),a||null;default:return null}}function wt(){}class xt{constructor(e=1/0,t=wt){this.max=e,this.dispose=t,this.map=new Map,this.newest=null,this.oldest=null}has(e){return this.map.has(e)}get(e){const t=this.getNode(e);return t&&t.value}get size(){return this.map.size}getNode(e){const t=this.map.get(e);if(t&&t!==this.newest){const{older:e,newer:n}=t;n&&(n.older=e),e&&(e.newer=n),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=n)}return t}set(e,t){let n=this.getNode(e);return n?n.value=t:(n={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=n),this.newest=n,this.oldest=this.oldest||n,this.map.set(e,n),n.value)}clean(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)}delete(e){const t=this.map.get(e);return!!t&&(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),this.dispose(t.value,e),!0)}}function St(){}const Et=St,jt="undefined"!=typeof WeakRef?WeakRef:function(e){return{deref:()=>e}},Tt="undefined"!=typeof WeakMap?WeakMap:Map,Ot="undefined"!=typeof FinalizationRegistry?FinalizationRegistry:function(){return{register:St,unregister:St}};class Ct{constructor(e=1/0,t=Et){this.max=e,this.dispose=t,this.map=new Tt,this.newest=null,this.oldest=null,this.unfinalizedNodes=new Set,this.finalizationScheduled=!1,this.size=0,this.finalize=()=>{const e=this.unfinalizedNodes.values();for(let t=0;t<10024;t++){const t=e.next().value;if(!t)break;this.unfinalizedNodes.delete(t);const n=t.key;delete t.key,t.keyRef=new jt(n),this.registry.register(n,t,t)}this.unfinalizedNodes.size>0?queueMicrotask(this.finalize):this.finalizationScheduled=!1},this.registry=new Ot(this.deleteNode.bind(this))}has(e){return this.map.has(e)}get(e){const t=this.getNode(e);return t&&t.value}getNode(e){const t=this.map.get(e);if(t&&t!==this.newest){const{older:e,newer:n}=t;n&&(n.older=e),e&&(e.newer=n),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=n)}return t}set(e,t){let n=this.getNode(e);return n?n.value=t:(n={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=n),this.newest=n,this.oldest=this.oldest||n,this.scheduleFinalization(n),this.map.set(e,n),this.size++,n.value)}clean(){for(;this.oldest&&this.size>this.max;)this.deleteNode(this.oldest)}deleteNode(e){e===this.newest&&(this.newest=e.older),e===this.oldest&&(this.oldest=e.newer),e.newer&&(e.newer.older=e.older),e.older&&(e.older.newer=e.newer),this.size--;const t=e.key||e.keyRef&&e.keyRef.deref();this.dispose(e.value,t),e.keyRef?this.registry.unregister(e):this.unfinalizedNodes.delete(e),t&&this.map.delete(t)}delete(e){const t=this.map.get(e);return!!t&&(this.deleteNode(t),!0)}scheduleFinalization(e){this.unfinalizedNodes.add(e),this.finalizationScheduled||(this.finalizationScheduled=!0,queueMicrotask(this.finalize))}}var Nt=new WeakSet;function Mt(e){e.size<=(e.max||-1)||Nt.has(e)||(Nt.add(e),setTimeout(function(){e.clean(),Nt.delete(e)},100))}var Dt=function(e,t){var n=new Ct(e,t);return n.set=function(e,t){var n=Ct.prototype.set.call(this,e,t);return Mt(this),n},n},At=function(e,t){var n=new xt(e,t);return n.set=function(e,t){var n=xt.prototype.set.call(this,e,t);return Mt(this),n},n},It=m({},N[Symbol.for("apollo.cacheSize")]),Pt={};function Rt(e,t){Pt[e]=t}var Ft=!1!==globalThis.__DEV__?function(){var e,t,n,a,r;if(!1===globalThis.__DEV__)throw new Error("only supported in development mode");return{limits:Object.fromEntries(Object.entries({parser:1e3,canonicalStringify:1e3,print:2e3,"documentTransform.cache":2e3,"queryManager.getDocumentInfo":2e3,"PersistedQueryLink.persistedQueryHashes":2e3,"fragmentRegistry.transform":2e3,"fragmentRegistry.lookup":1e3,"fragmentRegistry.findFragmentSpreads":4e3,"cache.fragmentQueryDocuments":1e3,"removeTypenameFromVariables.getVariableDefinitions":2e3,"inMemoryCache.maybeBroadcastWatch":5e3,"inMemoryCache.executeSelectionSet":5e4,"inMemoryCache.executeSubSelectedArray":1e4}).map(function(e){var t=e[0],n=e[1];return[t,It[t]||n]})),sizes:m({print:null===(e=Pt.print)||void 0===e?void 0:e.call(Pt),parser:null===(t=Pt.parser)||void 0===t?void 0:t.call(Pt),canonicalStringify:null===(n=Pt.canonicalStringify)||void 0===n?void 0:n.call(Pt),links:Wt(this.link),queryManager:{getDocumentInfo:this.queryManager.transformCache.size,documentTransforms:Vt(this.queryManager.documentTransform)}},null===(r=(a=this.cache).getMemoryInternals)||void 0===r?void 0:r.call(a))}}:void 0,zt=!1!==globalThis.__DEV__?function(){var e=this.config.fragments;return m(m({},qt.apply(this)),{addTypenameDocumentTransform:Vt(this.addTypenameTransform),inMemoryCache:{executeSelectionSet:$t(this.storeReader.executeSelectionSet),executeSubSelectedArray:$t(this.storeReader.executeSubSelectedArray),maybeBroadcastWatch:$t(this.maybeBroadcastWatch)},fragmentRegistry:{findFragmentSpreads:$t(null==e?void 0:e.findFragmentSpreads),lookup:$t(null==e?void 0:e.lookup),transform:$t(null==e?void 0:e.transform)}})}:void 0,Lt=!1!==globalThis.__DEV__?qt:void 0;function qt(){return{cache:{fragmentQueryDocuments:$t(this.getFragmentDoc)}}}function $t(e){return function(e){return!!e&&"dirtyKey"in e}(e)?e.size:void 0}function Bt(e){return null!=e}function Vt(e){return Ut(e).map(function(e){return{cache:e}})}function Ut(e){return e?g(g([$t(null==e?void 0:e.performWork)],Ut(null==e?void 0:e.left),!0),Ut(null==e?void 0:e.right),!0).filter(Bt):[]}function Wt(e){var t;return e?g(g([null===(t=null==e?void 0:e.getMemoryInternals)||void 0===t?void 0:t.call(e)],Wt(null==e?void 0:e.left),!0),Wt(null==e?void 0:e.right),!0).filter(Bt):[]}var Qt,Gt=Object.assign(function(e){return JSON.stringify(e,Ht)},{reset:function(){Qt=new At(It.canonicalStringify||1e3)}});function Ht(e,t){if(t&&"object"==typeof t){var n=Object.getPrototypeOf(t);if(n===Object.prototype||null===n){var a=Object.keys(t);if(a.every(Kt))return t;var r=JSON.stringify(a),i=Qt.get(r);if(!i){a.sort();var o=JSON.stringify(a);i=Qt.get(o)||a,Qt.set(r,i),Qt.set(o,i)}var s=Object.create(n);return i.forEach(function(e){s[e]=t[e]}),s}}return t}function Kt(e,t,n){return 0===t||n[t-1]<=e}function Yt(e){return{__ref:String(e)}}function Jt(e){return Boolean(e&&"object"==typeof e&&"string"==typeof e.__ref)}function Xt(e,t,n,a){if(function(e){return"IntValue"===e.kind}(n)||function(e){return"FloatValue"===e.kind}(n))e[t.value]=Number(n.value);else if(function(e){return"BooleanValue"===e.kind}(n)||function(e){return"StringValue"===e.kind}(n))e[t.value]=n.value;else if(function(e){return"ObjectValue"===e.kind}(n)){var r={};n.fields.map(function(e){return Xt(r,e.name,e.value,a)}),e[t.value]=r}else if(function(e){return"Variable"===e.kind}(n)){var i=(a||{})[n.name.value];e[t.value]=i}else if(function(e){return"ListValue"===e.kind}(n))e[t.value]=n.values.map(function(e){var n={};return Xt(n,t,e,a),n[t.value]});else if(function(e){return"EnumValue"===e.kind}(n))e[t.value]=n.value;else{if(!function(e){return"NullValue"===e.kind}(n))throw R(85,t.value,n.kind);e[t.value]=null}}!1!==globalThis.__DEV__&&Rt("canonicalStringify",function(){return Qt.size}),Gt.reset();var Zt=["connection","include","skip","client","rest","export","nonreactive"],en=Gt,tn=Object.assign(function(e,t,n){if(t&&n&&n.connection&&n.connection.key){if(n.connection.filter&&n.connection.filter.length>0){var a=n.connection.filter?n.connection.filter:[];a.sort();var r={};return a.forEach(function(e){r[e]=t[e]}),"".concat(n.connection.key,"(").concat(en(r),")")}return n.connection.key}var i=e;if(t){var o=en(t);i+="(".concat(o,")")}return n&&Object.keys(n).forEach(function(e){-1===Zt.indexOf(e)&&(n[e]&&Object.keys(n[e]).length?i+="@".concat(e,"(").concat(en(n[e]),")"):i+="@".concat(e))}),i},{setStringify:function(e){var t=en;return en=e,t}});function nn(e,t){if(e.arguments&&e.arguments.length){var n={};return e.arguments.forEach(function(e){var a=e.name,r=e.value;return Xt(n,a,r,t)}),n}return null}function an(e){return e.alias?e.alias.value:e.name.value}function rn(e,t,n){for(var a,r=0,i=t.selections;r<i.length;r++){if(on(c=i[r])){if("__typename"===c.name.value)return e[an(c)]}else a?a.push(c):a=[c]}if("string"==typeof e.__typename)return e.__typename;if(a)for(var o=0,s=a;o<s.length;o++){var c,u=rn(e,kt(c=s[o],n).selectionSet,n);if("string"==typeof u)return u}}function on(e){return"Field"===e.kind}function sn(e){P(e&&"Document"===e.kind,77);var t=e.definitions.filter(function(e){return"FragmentDefinition"!==e.kind}).map(function(e){if("OperationDefinition"!==e.kind)throw R(78,e.kind);return e});return P(t.length<=1,79,t.length),e}function cn(e){return sn(e),e.definitions.filter(function(e){return"OperationDefinition"===e.kind})[0]}function un(e){return e.definitions.filter(function(e){return"OperationDefinition"===e.kind&&!!e.name}).map(function(e){return e.name.value})[0]||null}function ln(e){return e.definitions.filter(function(e){return"FragmentDefinition"===e.kind})}function dn(e){var t=cn(e);return P(t&&"query"===t.operation,80),t}function pn(e){var t;sn(e);for(var n=0,a=e.definitions;n<a.length;n++){var r=a[n];if("OperationDefinition"===r.kind){var i=r.operation;if("query"===i||"mutation"===i||"subscription"===i)return r}"FragmentDefinition"!==r.kind||t||(t=r)}if(t)return t;throw R(84)}function hn(e){var t=Object.create(null),n=e&&e.variableDefinitions;return n&&n.length&&n.forEach(function(e){e.defaultValue&&Xt(t,e.variable.name,e.defaultValue)}),t}const mn=()=>Object.create(null),{forEach:fn,slice:vn}=Array.prototype,{hasOwnProperty:_n}=Object.prototype;class gn{constructor(e=!0,t=mn){this.weakness=e,this.makeData=t}lookup(...e){return this.lookupArray(e)}lookupArray(e){let t=this;return fn.call(e,e=>t=t.getChildTrie(e)),_n.call(t,"data")?t.data:t.data=this.makeData(vn.call(e))}peek(...e){return this.peekArray(e)}peekArray(e){let t=this;for(let n=0,a=e.length;t&&n<a;++n){const a=this.weakness&&yn(e[n])?t.weak:t.strong;t=a&&a.get(e[n])}return t&&t.data}getChildTrie(e){const t=this.weakness&&yn(e)?this.weak||(this.weak=new WeakMap):this.strong||(this.strong=new Map);let n=t.get(e);return n||t.set(e,n=new gn(this.weakness,this.makeData)),n}}function yn(e){switch(typeof e){case"object":if(null===e)break;case"function":return!0}return!1}let bn=null;const kn={};let wn=1;function xn(e){try{return e()}catch(t){}}const Sn="@wry/context:Slot",En=xn(()=>globalThis)||xn(()=>global)||Object.create(null),jn=En[Sn]||Array[Sn]||function(e){try{Object.defineProperty(En,Sn,{value:e,enumerable:!1,writable:!1,configurable:!0})}finally{return e}}(class{constructor(){this.id=["slot",wn++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let e=bn;e;e=e.parent)if(this.id in e.slots){const t=e.slots[this.id];if(t===kn)break;return e!==bn&&(bn.slots[this.id]=t),!0}return bn&&(bn.slots[this.id]=kn),!1}getValue(){if(this.hasValue())return bn.slots[this.id]}withValue(e,t,n,a){const r={__proto__:null,[this.id]:e},i=bn;bn={parent:i,slots:r};try{return t.apply(a,n)}finally{bn=i}}static bind(e){const t=bn;return function(){const n=bn;try{return bn=t,e.apply(this,arguments)}finally{bn=n}}}static noContext(e,t,n){if(!bn)return e.apply(n,t);{const a=bn;try{return bn=null,e.apply(n,t)}finally{bn=a}}}}),{bind:Tn,noContext:On}=jn,Cn=new jn,{hasOwnProperty:Nn}=Object.prototype,Mn=Array.from||function(e){const t=[];return e.forEach(e=>t.push(e)),t};function Dn(e){const{unsubscribe:t}=e;"function"==typeof t&&(e.unsubscribe=void 0,t())}const An=[];function In(e,t){if(!e)throw new Error(t||"assertion failure")}function Pn(e,t){const n=e.length;return n>0&&n===t.length&&e[n-1]===t[n-1]}function Rn(e){switch(e.length){case 0:throw new Error("unknown value");case 1:return e[0];case 2:throw e[1]}}function Fn(e){return e.slice(0)}class zn{constructor(e){this.fn=e,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++zn.count}peek(){if(1===this.value.length&&!$n(this))return Ln(this),this.value[0]}recompute(e){return In(!this.recomputing,"already recomputing"),Ln(this),$n(this)?function(e,t){Hn(e),Cn.withValue(e,qn,[e,t]),function(e,t){if("function"==typeof e.subscribe)try{Dn(e),e.unsubscribe=e.subscribe.apply(null,t)}catch(n){return e.setDirty(),!1}return!0}(e,t)&&function(e){if(e.dirty=!1,$n(e))return;Vn(e)}(e);return Rn(e.value)}(this,e):Rn(this.value)}setDirty(){this.dirty||(this.dirty=!0,Bn(this),Dn(this))}dispose(){this.setDirty(),Hn(this),Un(this,(e,t)=>{e.setDirty(),Kn(e,this)})}forget(){this.dispose()}dependOn(e){e.add(this),this.deps||(this.deps=An.pop()||new Set),this.deps.add(e)}forgetDeps(){this.deps&&(Mn(this.deps).forEach(e=>e.delete(this)),this.deps.clear(),An.push(this.deps),this.deps=null)}}function Ln(e){const t=Cn.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),$n(e)?Wn(t,e):Qn(t,e),t}function qn(e,t){e.recomputing=!0;const{normalizeResult:n}=e;let a;n&&1===e.value.length&&(a=Fn(e.value)),e.value.length=0;try{if(e.value[0]=e.fn.apply(null,t),n&&a&&!Pn(a,e.value))try{e.value[0]=n(e.value[0],a[0])}catch(r){}}catch(i){e.value[1]=i}e.recomputing=!1}function $n(e){return e.dirty||!(!e.dirtyChildren||!e.dirtyChildren.size)}function Bn(e){Un(e,Wn)}function Vn(e){Un(e,Qn)}function Un(e,t){const n=e.parents.size;if(n){const a=Mn(e.parents);for(let r=0;r<n;++r)t(a[r],e)}}function Wn(e,t){In(e.childValues.has(t)),In($n(t));const n=!$n(e);if(e.dirtyChildren){if(e.dirtyChildren.has(t))return}else e.dirtyChildren=An.pop()||new Set;e.dirtyChildren.add(t),n&&Bn(e)}function Qn(e,t){In(e.childValues.has(t)),In(!$n(t));const n=e.childValues.get(t);0===n.length?e.childValues.set(t,Fn(t.value)):Pn(n,t.value)||e.setDirty(),Gn(e,t),$n(e)||Vn(e)}function Gn(e,t){const n=e.dirtyChildren;n&&(n.delete(t),0===n.size&&(An.length<100&&An.push(n),e.dirtyChildren=null))}function Hn(e){e.childValues.size>0&&e.childValues.forEach((t,n)=>{Kn(e,n)}),e.forgetDeps(),In(null===e.dirtyChildren)}function Kn(e,t){t.parents.delete(e),e.childValues.delete(t),Gn(e,t)}zn.count=0;const Yn={setDirty:!0,dispose:!0,forget:!0};function Jn(e){const t=new Map;function n(e){const n=Cn.getValue();if(n){let a=t.get(e);a||t.set(e,a=new Set),n.dependOn(a)}}return n.dirty=function(e,n){const a=t.get(e);if(a){const r=n&&Nn.call(Yn,n)?n:"setDirty";Mn(a).forEach(e=>e[r]()),t.delete(e),Dn(a)}},n}let Xn;function Zn(...e){return(Xn||(Xn=new gn("function"==typeof WeakMap))).lookupArray(e)}const ea=new Set;function ta(e,{max:t=Math.pow(2,16),keyArgs:n,makeCacheKey:a=Zn,normalizeResult:r,subscribe:i,cache:o=xt}=Object.create(null)){const s="function"==typeof o?new o(t,e=>e.dispose()):o,c=function(){const t=a.apply(null,n?n.apply(null,arguments):arguments);if(void 0===t)return e.apply(null,arguments);let o=s.get(t);o||(s.set(t,o=new zn(e)),o.normalizeResult=r,o.subscribe=i,o.forget=()=>s.delete(t));const c=o.recompute(Array.prototype.slice.call(arguments));return s.set(t,o),ea.add(s),Cn.hasValue()||(ea.forEach(e=>e.clean()),ea.clear()),c};function u(e){const t=e&&s.get(e);t&&t.setDirty()}function l(e){const t=e&&s.get(e);if(t)return t.peek()}function d(e){return!!e&&s.delete(e)}return Object.defineProperty(c,"size",{get:()=>s.size,configurable:!1,enumerable:!1}),Object.freeze(c.options={max:t,keyArgs:n,makeCacheKey:a,normalizeResult:r,subscribe:i,cache:s}),c.dirtyKey=u,c.dirty=function(){u(a.apply(null,arguments))},c.peekKey=l,c.peek=function(){return l(a.apply(null,arguments))},c.forgetKey=d,c.forget=function(){return d(a.apply(null,arguments))},c.makeCacheKey=a,c.getKey=n?function(){return a.apply(null,n.apply(null,arguments))}:a,Object.freeze(c)}function na(e){return e}var aa,ra=function(){function e(e,t){void 0===t&&(t=Object.create(null)),this.resultCache=pt?new WeakSet:new Set,this.transform=e,t.getCacheKey&&(this.getCacheKey=t.getCacheKey),this.cached=!1!==t.cache,this.resetCache()}return e.prototype.getCacheKey=function(e){return[e]},e.identity=function(){return new e(na,{cache:!1})},e.split=function(t,n,a){return void 0===a&&(a=e.identity()),Object.assign(new e(function(e){return(t(e)?n:a).transformDocument(e)},{cache:!1}),{left:n,right:a})},e.prototype.resetCache=function(){var t=this;if(this.cached){var n=new ut(dt);this.performWork=ta(e.prototype.performWork.bind(this),{makeCacheKey:function(e){var a=t.getCacheKey(e);if(a)return P(Array.isArray(a),69),n.lookupArray(a)},max:It["documentTransform.cache"],cache:Ct})}},e.prototype.performWork=function(e){return sn(e),this.transform(e)},e.prototype.transformDocument=function(e){if(this.resultCache.has(e))return e;var t=this.performWork(e);return this.resultCache.add(t),t},e.prototype.concat=function(t){var n=this;return Object.assign(new e(function(e){return t.transformDocument(n.transformDocument(e))},{cache:!1}),{left:this,right:t})},e}(),ia=Object.assign(function(e){var t=aa.get(e);return t||(t=function(e){return Ge(e,Ke)}(e),aa.set(e,t)),t},{reset:function(){aa=new Dt(It.print||2e3)}});ia.reset(),!1!==globalThis.__DEV__&&Rt("print",function(){return aa?aa.size:0});var oa=Array.isArray;function sa(e){return Array.isArray(e)&&e.length>0}var ca={kind:oe.FIELD,name:{kind:oe.NAME,value:"__typename"}};function ua(e,t){return!e||e.selectionSet.selections.every(function(e){return e.kind===oe.FRAGMENT_SPREAD&&ua(t[e.name.value],t)})}function la(e){return ua(cn(e)||function(e){P("Document"===e.kind,81),P(e.definitions.length<=1,82);var t=e.definitions[0];return P("FragmentDefinition"===t.kind,83),t}(e),bt(ln(e)))?null:e}function da(e){var t=new Map;return function(n){void 0===n&&(n=e);var a=t.get(n);return a||t.set(n,a={variables:new Set,fragmentSpreads:new Set}),a}}function pa(e,t){sn(t);for(var n=da(""),a=da(""),r=function(e){for(var t=0,r=void 0;t<e.length&&(r=e[t]);++t)if(!oa(r)){if(r.kind===oe.OPERATION_DEFINITION)return n(r.name&&r.name.value);if(r.kind===oe.FRAGMENT_DEFINITION)return a(r.name.value)}return!1!==globalThis.__DEV__&&P.error(86),null},i=0,o=t.definitions.length-1;o>=0;--o)t.definitions[o].kind===oe.OPERATION_DEFINITION&&++i;var s,c,u,l=(s=e,c=new Map,u=new Map,s.forEach(function(e){e&&(e.name?c.set(e.name,e):e.test&&u.set(e.test,e))}),function(e){var t=c.get(e.name.value);return!t&&u.size&&u.forEach(function(n,a){a(e)&&(t=n)}),t}),d=function(e){return sa(e)&&e.map(l).some(function(e){return e&&e.remove})},p=new Map,h=!1,f={enter:function(e){if(d(e.directives))return h=!0,null}},v=Ge(t,{Field:f,InlineFragment:f,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(e,t,n,a,i){var o=r(i);o&&o.variables.add(e.name.value)}},FragmentSpread:{enter:function(e,t,n,a,i){if(d(e.directives))return h=!0,null;var o=r(i);o&&o.fragmentSpreads.add(e.name.value)}},FragmentDefinition:{enter:function(e,t,n,a){p.set(JSON.stringify(a),e)},leave:function(e,t,n,r){return e===p.get(JSON.stringify(r))?e:i>0&&e.selectionSet.selections.every(function(e){return e.kind===oe.FIELD&&"__typename"===e.name.value})?(a(e.name.value).removed=!0,h=!0,null):void 0}},Directive:{leave:function(e){if(l(e))return h=!0,null}}});if(!h)return t;var _=function(e){return e.transitiveVars||(e.transitiveVars=new Set(e.variables),e.removed||e.fragmentSpreads.forEach(function(t){_(a(t)).transitiveVars.forEach(function(t){e.transitiveVars.add(t)})})),e},g=new Set;v.definitions.forEach(function(e){e.kind===oe.OPERATION_DEFINITION?_(n(e.name&&e.name.value)).fragmentSpreads.forEach(function(e){g.add(e)}):e.kind!==oe.FRAGMENT_DEFINITION||0!==i||a(e.name.value).removed||g.add(e.name.value)}),g.forEach(function(e){_(a(e)).fragmentSpreads.forEach(function(e){g.add(e)})});var y={enter:function(e){if(t=e.name.value,!g.has(t)||a(t).removed)return null;var t}};return la(Ge(v,{FragmentSpread:y,FragmentDefinition:y,OperationDefinition:{leave:function(e){if(e.variableDefinitions){var t=_(n(e.name&&e.name.value)).transitiveVars;if(t.size<e.variableDefinitions.length)return m(m({},e),{variableDefinitions:e.variableDefinitions.filter(function(e){return t.has(e.variable.name.value)})})}}}}))}var ha=Object.assign(function(e){return Ge(e,{SelectionSet:{enter:function(e,t,n){if(!n||n.kind!==oe.OPERATION_DEFINITION){var a=e.selections;if(a)if(!a.some(function(e){return on(e)&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))})){var r=n;if(!(on(r)&&r.directives&&r.directives.some(function(e){return"export"===e.name.value})))return m(m({},e),{selections:g(g([],a,!0),[ca],!1)})}}}}})},{added:function(e){return e===ca}});function ma(e){return"query"===pn(e).operation?e:Ge(e,{OperationDefinition:{enter:function(e){return m(m({},e),{operation:"query"})}}})}function fa(e){return sn(e),pa([{test:function(e){return"client"===e.name.value},remove:!0}],e)}var va=Object.prototype.hasOwnProperty;function _a(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return ga(e)}function ga(e){var t=e[0]||{},n=e.length;if(n>1)for(var a=new ba,r=1;r<n;++r)t=a.merge(t,e[r]);return t}var ya=function(e,t,n){return this.merge(e[n],t[n])},ba=function(){function e(e){void 0===e&&(e=ya),this.reconciler=e,this.isObject=gt,this.pastCopies=new Set}return e.prototype.merge=function(e,t){for(var n=this,a=[],r=2;r<arguments.length;r++)a[r-2]=arguments[r];return gt(t)&>(e)?(Object.keys(t).forEach(function(r){if(va.call(e,r)){var i=e[r];if(t[r]!==i){var o=n.reconciler.apply(n,g([e,t,r],a,!1));o!==i&&((e=n.shallowCopyForMerge(e))[r]=o)}}else(e=n.shallowCopyForMerge(e))[r]=t[r]}),e):t},e.prototype.shallowCopyForMerge=function(e){return gt(e)&&(this.pastCopies.has(e)||(e=Array.isArray(e)?e.slice(0):m({__proto__:Object.getPrototypeOf(e)},e),this.pastCopies.add(e))),e},e}();function ka(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return wa(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return wa(e,t)}(e))||t){n&&(e=n);var a=0;return function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function wa(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function xa(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Sa(e,t,n){return t&&xa(e.prototype,t),n&&xa(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var Ea=function(){return"function"==typeof Symbol},ja=function(e){return Ea()&&Boolean(Symbol[e])},Ta=function(e){return ja(e)?Symbol[e]:"@@"+e};Ea()&&!ja("observable")&&(Symbol.observable=Symbol("observable"));var Oa=Ta("iterator"),Ca=Ta("observable"),Na=Ta("species");function Ma(e,t){var n=e[t];if(null!=n){if("function"!=typeof n)throw new TypeError(n+" is not a function");return n}}function Da(e){var t=e.constructor;return void 0!==t&&null===(t=t[Na])&&(t=void 0),void 0!==t?t:$a}function Aa(e){Aa.log?Aa.log(e):setTimeout(function(){throw e})}function Ia(e){Promise.resolve().then(function(){try{e()}catch(t){Aa(t)}})}function Pa(e){var t=e._cleanup;if(void 0!==t&&(e._cleanup=void 0,t))try{if("function"==typeof t)t();else{var n=Ma(t,"unsubscribe");n&&n.call(t)}}catch(a){Aa(a)}}function Ra(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function Fa(e,t,n){e._state="running";var a=e._observer;try{var r=Ma(a,t);switch(t){case"next":r&&r.call(a,n);break;case"error":if(Ra(e),!r)throw n;r.call(a,n);break;case"complete":Ra(e),r&&r.call(a)}}catch(i){Aa(i)}"closed"===e._state?Pa(e):"running"===e._state&&(e._state="ready")}function za(e,t,n){if("closed"!==e._state){if("buffering"!==e._state)return"ready"!==e._state?(e._state="buffering",e._queue=[{type:t,value:n}],void Ia(function(){return function(e){var t=e._queue;if(t){e._queue=void 0,e._state="ready";for(var n=0;n<t.length&&(Fa(e,t[n].type,t[n].value),"closed"!==e._state);++n);}}(e)})):void Fa(e,t,n);e._queue.push({type:t,value:n})}}var La=function(){function e(e,t){this._cleanup=void 0,this._observer=e,this._queue=void 0,this._state="initializing";var n=new qa(this);try{this._cleanup=t.call(void 0,n)}catch(a){n.error(a)}"initializing"===this._state&&(this._state="ready")}return e.prototype.unsubscribe=function(){"closed"!==this._state&&(Ra(this),Pa(this))},Sa(e,[{key:"closed",get:function(){return"closed"===this._state}}]),e}(),qa=function(){function e(e){this._subscription=e}var t=e.prototype;return t.next=function(e){za(this._subscription,"next",e)},t.error=function(e){za(this._subscription,"error",e)},t.complete=function(){za(this._subscription,"complete")},Sa(e,[{key:"closed",get:function(){return"closed"===this._subscription._state}}]),e}(),$a=function(){function e(t){if(!(this instanceof e))throw new TypeError("Observable cannot be called as a function");if("function"!=typeof t)throw new TypeError("Observable initializer must be a function");this._subscriber=t}var t=e.prototype;return t.subscribe=function(e){return"object"==typeof e&&null!==e||(e={next:e,error:arguments[1],complete:arguments[2]}),new La(e,this._subscriber)},t.forEach=function(e){var t=this;return new Promise(function(n,a){if("function"==typeof e)var r=t.subscribe({next:function(t){try{e(t,i)}catch(n){a(n),r.unsubscribe()}},error:a,complete:n});else a(new TypeError(e+" is not a function"));function i(){r.unsubscribe(),n()}})},t.map=function(e){var t=this;if("function"!=typeof e)throw new TypeError(e+" is not a function");return new(Da(this))(function(n){return t.subscribe({next:function(t){try{t=e(t)}catch(a){return n.error(a)}n.next(t)},error:function(e){n.error(e)},complete:function(){n.complete()}})})},t.filter=function(e){var t=this;if("function"!=typeof e)throw new TypeError(e+" is not a function");return new(Da(this))(function(n){return t.subscribe({next:function(t){try{if(!e(t))return}catch(a){return n.error(a)}n.next(t)},error:function(e){n.error(e)},complete:function(){n.complete()}})})},t.reduce=function(e){var t=this;if("function"!=typeof e)throw new TypeError(e+" is not a function");var n=Da(this),a=arguments.length>1,r=!1,i=arguments[1];return new n(function(n){return t.subscribe({next:function(t){var o=!r;if(r=!0,!o||a)try{i=e(i,t)}catch(s){return n.error(s)}else i=t},error:function(e){n.error(e)},complete:function(){if(!r&&!a)return n.error(new TypeError("Cannot reduce an empty sequence"));n.next(i),n.complete()}})})},t.concat=function(){for(var e=this,t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];var r=Da(this);return new r(function(t){var a,i=0;return function e(o){a=o.subscribe({next:function(e){t.next(e)},error:function(e){t.error(e)},complete:function(){i===n.length?(a=void 0,t.complete()):e(r.from(n[i++]))}})}(e),function(){a&&(a.unsubscribe(),a=void 0)}})},t.flatMap=function(e){var t=this;if("function"!=typeof e)throw new TypeError(e+" is not a function");var n=Da(this);return new n(function(a){var r=[],i=t.subscribe({next:function(t){if(e)try{t=e(t)}catch(s){return a.error(s)}var i=n.from(t).subscribe({next:function(e){a.next(e)},error:function(e){a.error(e)},complete:function(){var e=r.indexOf(i);e>=0&&r.splice(e,1),o()}});r.push(i)},error:function(e){a.error(e)},complete:function(){o()}});function o(){i.closed&&0===r.length&&a.complete()}return function(){r.forEach(function(e){return e.unsubscribe()}),i.unsubscribe()}})},t[Ca]=function(){return this},e.from=function(t){var n="function"==typeof this?this:e;if(null==t)throw new TypeError(t+" is not an object");var a=Ma(t,Ca);if(a){var r=a.call(t);if(Object(r)!==r)throw new TypeError(r+" is not an object");return function(e){return e instanceof $a}(r)&&r.constructor===n?r:new n(function(e){return r.subscribe(e)})}if(ja("iterator")&&(a=Ma(t,Oa)))return new n(function(e){Ia(function(){if(!e.closed){for(var n,r=ka(a.call(t));!(n=r()).done;){var i=n.value;if(e.next(i),e.closed)return}e.complete()}})});if(Array.isArray(t))return new n(function(e){Ia(function(){if(!e.closed){for(var n=0;n<t.length;++n)if(e.next(t[n]),e.closed)return;e.complete()}})});throw new TypeError(t+" is not observable")},e.of=function(){for(var t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];return new("function"==typeof this?this:e)(function(e){Ia(function(){if(!e.closed){for(var t=0;t<n.length;++t)if(e.next(n[t]),e.closed)return;e.complete()}})})},Sa(e,null,[{key:Na,get:function(){return this}}]),e}();Ea()&&Object.defineProperty($a,Symbol("extensions"),{value:{symbol:Ca,hostReportError:Aa},configurable:!0}),function(e){var t,n=e.Symbol;if("function"==typeof n)if(n.observable)t=n.observable;else{t="function"==typeof n.for?n.for("https://github.com/benlesh/symbol-observable"):n("https://github.com/benlesh/symbol-observable");try{n.observable=t}catch(a){}}else t="@@observable"}("undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof module?module:Function("return this")());var Ba=$a.prototype,Va="@@observable";Ba[Va]||(Ba[Va]=function(){return this});var Ua=Object.prototype.toString;function Wa(e){return Qa(e)}function Qa(e,t){switch(Ua.call(e)){case"[object Array]":if((t=t||new Map).has(e))return t.get(e);var n=e.slice(0);return t.set(e,n),n.forEach(function(e,a){n[a]=Qa(e,t)}),n;case"[object Object]":if((t=t||new Map).has(e))return t.get(e);var a=Object.create(Object.getPrototypeOf(e));return t.set(e,a),Object.keys(e).forEach(function(n){a[n]=Qa(e[n],t)}),a;default:return e}}function Ga(e){var t=new Set([e]);return t.forEach(function(e){gt(e)&&function(e){if(!1!==globalThis.__DEV__&&!Object.isFrozen(e))try{Object.freeze(e)}catch(t){if(t instanceof TypeError)return null;throw t}return e}(e)===e&&Object.getOwnPropertyNames(e).forEach(function(n){gt(e[n])&&t.add(e[n])})}),e}function Ha(e){return!1!==globalThis.__DEV__&&Ga(e),e}function Ka(e,t,n){var a=[];e.forEach(function(e){return e[t]&&a.push(e)}),a.forEach(function(e){return e[t](n)})}function Ya(e,t,n){return new $a(function(a){var r={then:function(e){return new Promise(function(t){return t(e())})}};function i(e,t){return function(n){if(e){var i=function(){return a.closed?0:e(n)};r=r.then(i,i).then(function(e){return a.next(e)},function(e){return a.error(e)})}else a[t](n)}}var o={next:i(t,"next"),error:i(n,"error"),complete:function(){r.then(function(){return a.complete()})}},s=e.subscribe(o);return function(){return s.unsubscribe()}})}function Ja(e){function t(t){Object.defineProperty(e,t,{value:$a})}return ht&&Symbol.species&&t(Symbol.species),t("@@species"),e}function Xa(e){return e&&"function"==typeof e.then}var Za=function(e){function t(t){var n=e.call(this,function(e){return n.addObserver(e),function(){return n.removeObserver(e)}})||this;return n.observers=new Set,n.promise=new Promise(function(e,t){n.resolve=e,n.reject=t}),n.handlers={next:function(e){null!==n.sub&&(n.latest=["next",e],n.notify("next",e),Ka(n.observers,"next",e))},error:function(e){var t=n.sub;null!==t&&(t&&setTimeout(function(){return t.unsubscribe()}),n.sub=null,n.latest=["error",e],n.reject(e),n.notify("error",e),Ka(n.observers,"error",e))},complete:function(){var e=n,t=e.sub,a=e.sources;if(null!==t){var r=(void 0===a?[]:a).shift();r?Xa(r)?r.then(function(e){return n.sub=e.subscribe(n.handlers)},n.handlers.error):n.sub=r.subscribe(n.handlers):(t&&setTimeout(function(){return t.unsubscribe()}),n.sub=null,n.latest&&"next"===n.latest[0]?n.resolve(n.latest[1]):n.resolve(),n.notify("complete"),Ka(n.observers,"complete"))}}},n.nextResultListeners=new Set,n.cancel=function(e){n.reject(e),n.sources=[],n.handlers.error(e)},n.promise.catch(function(e){}),"function"==typeof t&&(t=[new $a(t)]),Xa(t)?t.then(function(e){return n.start(e)},n.handlers.error):n.start(t),n}return h(t,e),t.prototype.start=function(e){void 0===this.sub&&(this.sources=Array.from(e),this.handlers.complete())},t.prototype.deliverLastMessage=function(e){if(this.latest){var t=this.latest[0],n=e[t];n&&n.call(e,this.latest[1]),null===this.sub&&"next"===t&&e.complete&&e.complete()}},t.prototype.addObserver=function(e){this.observers.has(e)||(this.deliverLastMessage(e),this.observers.add(e))},t.prototype.removeObserver=function(e){this.observers.delete(e)&&this.observers.size<1&&this.handlers.complete()},t.prototype.notify=function(e,t){var n=this.nextResultListeners;n.size&&(this.nextResultListeners=new Set,n.forEach(function(n){return n(e,t)}))},t.prototype.beforeNext=function(e){var t=!1;this.nextResultListeners.add(function(n,a){t||(t=!0,e(n,a))})},t}($a);function er(e){return"incremental"in e}function tr(e){return gt(e)&&"payload"in e}function nr(e,t){var n=e,a=new ba;return er(t)&&sa(t.incremental)&&t.incremental.forEach(function(e){for(var t=e.data,r=e.path,i=r.length-1;i>=0;--i){var o=r[i],s=!isNaN(+o)?[]:{};s[o]=t,t=s}n=a.merge(n,t)}),n}function ar(e){return sa(rr(e))}function rr(e){var t=sa(e.errors)?e.errors.slice(0):[];return er(e)&&sa(e.incremental)&&e.incremental.forEach(function(e){e.errors&&t.push.apply(t,e.errors)}),t}function ir(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Object.create(null);return e.forEach(function(e){e&&Object.keys(e).forEach(function(t){var a=e[t];void 0!==a&&(n[t]=a)})}),n}function or(e,t){return ir(e,t,t.variables&&{variables:ir(m(m({},e&&e.variables),t.variables))})}function sr(e){return new $a(function(t){t.error(e)})}Ja(Za);var cr=function(e,t,n){var a=new Error(n);throw a.name="ServerError",a.response=e,a.statusCode=e.status,a.result=t,a};function ur(e,t){return t?t(e):$a.of()}function lr(e){return"function"==typeof e?new pr(e):e}function dr(e){return e.request.length<=1}var pr=function(){function e(e){e&&(this.request=e)}return e.empty=function(){return new e(function(){return $a.of()})},e.from=function(t){return 0===t.length?e.empty():t.map(lr).reduce(function(e,t){return e.concat(t)})},e.split=function(t,n,a){var r,i=lr(n),o=lr(a||new e(ur));return r=dr(i)&&dr(o)?new e(function(e){return t(e)?i.request(e)||$a.of():o.request(e)||$a.of()}):new e(function(e,n){return t(e)?i.request(e,n)||$a.of():o.request(e,n)||$a.of()}),Object.assign(r,{left:i,right:o})},e.execute=function(e,t){return e.request(function(e,t){var n=m({},e);return Object.defineProperty(t,"setContext",{enumerable:!1,value:function(e){n=m(m({},n),"function"==typeof e?e(n):e)}}),Object.defineProperty(t,"getContext",{enumerable:!1,value:function(){return m({},n)}}),t}(t.context,function(e){var t={variables:e.variables||{},extensions:e.extensions||{},operationName:e.operationName,query:e.query};return t.operationName||(t.operationName="string"!=typeof t.query?un(t.query)||void 0:""),t}(function(e){for(var t=["query","operationName","variables","extensions","context"],n=0,a=Object.keys(e);n<a.length;n++){var r=a[n];if(t.indexOf(r)<0)throw R(44,r)}return e}(t))))||$a.of()},e.concat=function(t,n){var a=lr(t);if(dr(a))return!1!==globalThis.__DEV__&&P.warn(36,a),a;var r,i=lr(n);return r=dr(i)?new e(function(e){return a.request(e,function(e){return i.request(e)||$a.of()})||$a.of()}):new e(function(e,t){return a.request(e,function(e){return i.request(e,t)||$a.of()})||$a.of()}),Object.assign(r,{left:a,right:i})},e.prototype.split=function(t,n,a){return this.concat(e.split(t,n,a||new e(ur)))},e.prototype.concat=function(t){return e.concat(this,t)},e.prototype.request=function(e,t){throw R(37)},e.prototype.onError=function(e,t){if(t&&t.error)return t.error(e),!1;throw e},e.prototype.setOnError=function(e){return this.onError=e,this},e}(),hr=pr.execute;function mr(e){var t=null,n=null,a=!1,r=[],i=[];function o(e){if(!n){if(i.length){var t=i.shift();if(Array.isArray(t)&&t[0])return t[0]({value:e,done:!1})}r.push(e)}}function s(e){n=e,i.slice().forEach(function(t){t[1](e)}),!t||t()}function c(){a=!0,i.slice().forEach(function(e){e[0]({value:void 0,done:!0})}),!t||t()}t=function(){t=null,e.removeListener("data",o),e.removeListener("error",s),e.removeListener("end",c),e.removeListener("finish",c),e.removeListener("close",c)},e.on("data",o),e.on("error",s),e.on("end",c),e.on("finish",c),e.on("close",c);var u={next:function(){return new Promise(function(e,t){return n?t(n):r.length?e({value:r.shift(),done:!1}):a?e({value:void 0,done:!0}):void i.push([e,t])})}};return mt&&(u[Symbol.asyncIterator]=function(){return this}),u}function fr(e){var t={next:function(){return e.read()}};return mt&&(t[Symbol.asyncIterator]=function(){return this}),t}function vr(e){var t,n,a=e;if(e.body&&(a=e.body),function(e){return!(!mt||!e[Symbol.asyncIterator])}(a))return n=a[Symbol.asyncIterator](),(t={next:function(){return n.next()}})[Symbol.asyncIterator]=function(){return this},t;if(function(e){return!!e.getReader}(a))return fr(a.getReader());if(function(e){return!!e.stream}(a))return fr(a.stream().getReader());if(function(e){return!!e.arrayBuffer}(a))return function(e){var t=!1,n={next:function(){return t?Promise.resolve({value:void 0,done:!0}):(t=!0,new Promise(function(t,n){e.then(function(e){t({value:e,done:!1})}).catch(n)}))}};return mt&&(n[Symbol.asyncIterator]=function(){return this}),n}(a.arrayBuffer());if(function(e){return!!e.pipe}(a))return mr(a);throw new Error("Unknown body type for responseIterator. Please pass a streamable response.")}var _r=Symbol();function gr(e){return e.hasOwnProperty("graphQLErrors")}var yr=function(e){function t(n){var a,r,i=n.graphQLErrors,o=n.protocolErrors,s=n.clientErrors,c=n.networkError,u=n.errorMessage,l=n.extraInfo,d=e.call(this,u)||this;return d.name="ApolloError",d.graphQLErrors=i||[],d.protocolErrors=o||[],d.clientErrors=s||[],d.networkError=c||null,d.message=u||(r=g(g(g([],(a=d).graphQLErrors,!0),a.clientErrors,!0),a.protocolErrors,!0),a.networkError&&r.push(a.networkError),r.map(function(e){return gt(e)&&e.message||"Error message not found."}).join("\n")),d.extraInfo=l,d.cause=g(g(g([c],i||[],!0),o||[],!0),s||[],!0).find(function(e){return!!e})||null,d.__proto__=t.prototype,d}return h(t,e),t}(Error),br=Object.prototype.hasOwnProperty;function kr(e){var t={};return e.split("\n").forEach(function(e){var n=e.indexOf(":");if(n>-1){var a=e.slice(0,n).trim().toLowerCase(),r=e.slice(n+1).trim();t[a]=r}}),t}function wr(e,t){if(e.status>=300){cr(e,function(){try{return JSON.parse(t)}catch(e){return t}}(),"Response not successful: Received status code ".concat(e.status))}try{return JSON.parse(t)}catch(a){var n=a;throw n.name="ServerParseError",n.response=e,n.statusCode=e.status,n.bodyText=t,n}}var xr=function(e,t){var n;try{n=JSON.stringify(e)}catch(r){var a=R(40,t,r.message);throw a.parseError=r,a}return n},Sr={http:{includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},Er=function(e,t){return t(e)};function jr(e,t){for(var n=[],a=2;a<arguments.length;a++)n[a-2]=arguments[a];var r={},i={};n.forEach(function(e){r=m(m(m({},r),e.options),{headers:m(m({},r.headers),e.headers)}),e.credentials&&(r.credentials=e.credentials),i=m(m({},i),e.http)}),r.headers&&(r.headers=function(e,t){if(!t){var n={};return Object.keys(Object(e)).forEach(function(t){n[t.toLowerCase()]=e[t]}),n}var a={};Object.keys(Object(e)).forEach(function(t){a[t.toLowerCase()]={originalName:t,value:e[t]}});var r={};return Object.keys(a).forEach(function(e){r[a[e].originalName]=a[e].value}),r}(r.headers,i.preserveHeaderCase));var o=e.operationName,s=e.extensions,c=e.variables,u=e.query,l={operationName:o,variables:c};return i.includeExtensions&&(l.extensions=s),i.includeQuery&&(l.query=t(u,ia)),{options:r,body:l}}var Tr=C(function(){return fetch}),Or=function(e){void 0===e&&(e={});var t=e.uri,n=void 0===t?"/graphql":t,a=e.fetch,r=e.print,i=void 0===r?Er:r,o=e.includeExtensions,s=e.preserveHeaderCase,c=e.useGETForQueries,u=e.includeUnusedVariables,l=void 0!==u&&u,d=f(e,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);!1!==globalThis.__DEV__&&function(e){if(!e&&"undefined"==typeof fetch)throw R(38)}(a||Tr);var p={http:{includeExtensions:o,preserveHeaderCase:s},options:d.fetchOptions,credentials:d.credentials,headers:d.headers};return new pr(function(e){var t=function(e,t){var n=e.getContext().uri;return n||("function"==typeof t?t(e):t||"/graphql")}(e,n),r=e.getContext(),o={};if(r.clientAwareness){var s=r.clientAwareness,u=s.name,d=s.version;u&&(o["apollographql-client-name"]=u),d&&(o["apollographql-client-version"]=d)}var h=m(m({},o),r.headers),f={http:r.http,options:r.fetchOptions,credentials:r.credentials,headers:h};if(at(["client"],e.query)){var g=fa(e.query);if(!g)return sr(new Error("HttpLink: Trying to send a client-only query to the server. To send to the server, ensure a non-client field is added to the query or set the `transformOptions.removeClientFields` option to `true`."));e.query=g}var y,b,k,w,x,S=jr(e,i,Sr,p,f),E=S.options,j=S.body;j.variables&&!l&&(j.variables=(y=j.variables,b=e.query,k=m({},y),w=new Set(Object.keys(y)),Ge(b,{Variable:function(e,t,n){n&&"VariableDefinition"!==n.kind&&w.delete(e.name.value)}}),w.forEach(function(e){delete k[e]}),k)),E.signal||"undefined"==typeof AbortController||(x=new AbortController,E.signal=x.signal);var T,O="OperationDefinition"===(T=pn(e.query)).kind&&"subscription"===T.operation,N=at(["defer"],e.query);if(c&&!e.query.definitions.some(function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation})&&(E.method="GET"),N||O){E.headers=E.headers||{};var M="multipart/mixed;";O&&N&&!1!==globalThis.__DEV__&&P.warn(39),O?M+="boundary=graphql;subscriptionSpec=1.0,application/json":N&&(M+="deferSpec=20220824,application/json"),E.headers.accept=M}if("GET"===E.method){var D=function(e,t){var n=[],a=function(e,t){n.push("".concat(e,"=").concat(encodeURIComponent(t)))};if("query"in t&&a("query",t.query),t.operationName&&a("operationName",t.operationName),t.variables){var r=void 0;try{r=xr(t.variables,"Variables map")}catch(I){return{parseError:I}}a("variables",r)}if(t.extensions){var i=void 0;try{i=xr(t.extensions,"Extensions map")}catch(I){return{parseError:I}}a("extensions",i)}var o="",s=e,c=e.indexOf("#");-1!==c&&(o=e.substr(c),s=e.substr(0,c));var u=-1===s.indexOf("?")?"?":"&";return{newURI:s+u+n.join("&")+o}}(t,j),A=D.newURI,I=D.parseError;if(I)return sr(I);t=A}else try{E.body=xr(j,"Payload")}catch(R){return sr(R)}return new $a(function(n){var r=a||C(function(){return fetch})||Tr,i=n.next.bind(n);return r(t,E).then(function(t){var n;e.setContext({response:t});var a,r=null===(n=t.headers)||void 0===n?void 0:n.get("content-type");return null!==r&&/^multipart\/mixed/i.test(r)?function(e,t){return v(this,void 0,void 0,function(){var n,a,r,i,o,s,c,u,l,d,p,h,f,v,g,y,b,k,w,x,S,E,j,T;return _(this,function(_){switch(_.label){case 0:if(void 0===TextDecoder)throw new Error("TextDecoder must be defined in the environment: please import a polyfill.");n=new TextDecoder("utf-8"),a=null===(T=e.headers)||void 0===T?void 0:T.get("content-type"),r="boundary=",i=(null==a?void 0:a.includes(r))?null==a?void 0:a.substring((null==a?void 0:a.indexOf(r))+9).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",o="\r\n--".concat(i),s="",c=vr(e),u=!0,_.label=1;case 1:return u?[4,c.next()]:[3,3];case 2:for(l=_.sent(),d=l.value,p=l.done,h="string"==typeof d?d:n.decode(d),f=s.length-o.length+1,u=!p,v=(s+=h).indexOf(o,f);v>-1;){if(g=void 0,E=[s.slice(0,v),s.slice(v+o.length)],s=E[1],y=(g=E[0]).indexOf("\r\n\r\n"),b=kr(g.slice(0,y)),(k=b["content-type"])&&-1===k.toLowerCase().indexOf("application/json"))throw new Error("Unsupported patch content type: application/json is required.");if(w=g.slice(y))if(x=wr(e,w),Object.keys(x).length>1||"data"in x||"incremental"in x||"errors"in x||"payload"in x)if(tr(x)){if(S={},"payload"in x){if(1===Object.keys(x).length&&null===x.payload)return[2];S=m({},x.payload)}"errors"in x&&(S=m(m({},S),{extensions:m(m({},"extensions"in S?S.extensions:null),(j={},j[_r]=x.errors,j))})),t(S)}else t(x);else if(1===Object.keys(x).length&&"hasNext"in x&&!x.hasNext)return[2];v=s.indexOf(o)}return[3,1];case 3:return[2]}})})}(t,i):(a=e,function(e){return e.text().then(function(t){return wr(e,t)}).then(function(t){return Array.isArray(t)||br.call(t,"data")||br.call(t,"errors")||cr(e,t,"Server response was missing for query '".concat(Array.isArray(a)?a.map(function(e){return e.operationName}):a.operationName,"'.")),t})})(t).then(i)}).then(function(){x=void 0,n.complete()}).catch(function(e){x=void 0,function(e,t){e.result&&e.result.errors&&e.result.data&&t.next(e.result),t.error(e)}(e,n)}),function(){x&&x.abort()}})})},Cr=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,Or(t).request)||this;return n.options=t,n}return h(t,e),t}(pr);const{toString:Nr,hasOwnProperty:Mr}=Object.prototype,Dr=Function.prototype.toString,Ar=new Map;function Ir(e,t){try{return Pr(e,t)}finally{Ar.clear()}}function Pr(e,t){if(e===t)return!0;const n=Nr.call(e);if(n!==Nr.call(t))return!1;switch(n){case"[object Array]":if(e.length!==t.length)return!1;case"[object Object]":{if(Lr(e,t))return!0;const n=Rr(e),a=Rr(t),r=n.length;if(r!==a.length)return!1;for(let e=0;e<r;++e)if(!Mr.call(t,n[e]))return!1;for(let i=0;i<r;++i){const a=n[i];if(!Pr(e[a],t[a]))return!1}return!0}case"[object Error]":return e.name===t.name&&e.message===t.message;case"[object Number]":if(e!=e)return t!=t;case"[object Boolean]":case"[object Date]":return+e===+t;case"[object RegExp]":case"[object String]":return e==`${t}`;case"[object Map]":case"[object Set]":{if(e.size!==t.size)return!1;if(Lr(e,t))return!0;const a=e.entries(),r="[object Map]"===n;for(;;){const e=a.next();if(e.done)break;const[n,i]=e.value;if(!t.has(n))return!1;if(r&&!Pr(i,t.get(n)))return!1}return!0}case"[object Uint16Array]":case"[object Uint8Array]":case"[object Uint32Array]":case"[object Int32Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object ArrayBuffer]":e=new Uint8Array(e),t=new Uint8Array(t);case"[object DataView]":{let n=e.byteLength;if(n===t.byteLength)for(;n--&&e[n]===t[n];);return-1===n}case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":{const n=Dr.call(e);return n===Dr.call(t)&&!function(e,t){const n=e.length-t.length;return n>=0&&e.indexOf(t,n)===n}(n,zr)}}return!1}function Rr(e){return Object.keys(e).filter(Fr,e)}function Fr(e){return void 0!==this[e]}const zr="{ [native code] }";function Lr(e,t){let n=Ar.get(e);if(n){if(n.has(t))return!0}else Ar.set(e,n=new Set);return n.add(t),!1}function qr(e,t,n,a){var r=t.data,i=f(t,["data"]),o=n.data;return Ir(i,f(n,["data"]))&&$r(pn(e).selectionSet,r,o,{fragmentMap:bt(ln(e)),variables:a})}function $r(e,t,n,a){if(t===n)return!0;var r=new Set;return e.selections.every(function(e){if(r.has(e))return!0;if(r.add(e),!nt(e,a.variables))return!0;if(Br(e))return!0;if(on(e)){var i=an(e),o=t&&t[i],s=n&&n[i],c=e.selectionSet;if(!c)return Ir(o,s);var u=Array.isArray(o),l=Array.isArray(s);if(u!==l)return!1;if(u&&l){var d=o.length;if(s.length!==d)return!1;for(var p=0;p<d;++p)if(!$r(c,o[p],s[p],a))return!1;return!0}return $r(c,o,s,a)}var h=kt(e,a.fragmentMap);return h?!!Br(h)||$r(h.selectionSet,t,n,a):void 0})}function Br(e){return!!e.directives&&e.directives.some(Vr)}function Vr(e){return"nonreactive"===e.name.value}var Ur=function(){function e(){this.assumeImmutableResults=!1,this.getFragmentDoc=ta(yt,{max:It["cache.fragmentQueryDocuments"]||1e3,cache:Ct})}return e.prototype.batch=function(e){var t,n=this,a="string"==typeof e.optimistic?e.optimistic:!1===e.optimistic?null:void 0;return this.performTransaction(function(){return t=e.update(n)},a),t},e.prototype.recordOptimisticTransaction=function(e,t){this.performTransaction(e,t)},e.prototype.transformDocument=function(e){return e},e.prototype.transformForLink=function(e){return e},e.prototype.identify=function(e){},e.prototype.gc=function(){return[]},e.prototype.modify=function(e){return!1},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read(m(m({},e),{rootId:e.id||"ROOT_QUERY",optimistic:t}))},e.prototype.watchFragment=function(e){var t,n=this,a=e.fragment,r=e.fragmentName,i=e.from,o=e.optimistic,s=void 0===o||o,c=f(e,["fragment","fragmentName","from","optimistic"]),u=this.getFragmentDoc(a,r),l=m(m({},c),{returnPartialData:!0,id:void 0===i||"string"==typeof i?i:this.identify(i),query:u,optimistic:s});return new $a(function(e){return n.watch(m(m({},l),{immediate:!0,callback:function(n){if(!t||!qr(u,{data:null==t?void 0:t.result},{data:n.result})){var a={data:n.result,complete:!!n.complete};n.missing&&(a.missing=ga(n.missing.map(function(e){return e.missing}))),t=n,e.next(a)}}}))})},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read(m(m({},e),{query:this.getFragmentDoc(e.fragment,e.fragmentName),rootId:e.id,optimistic:t}))},e.prototype.writeQuery=function(e){var t=e.id,n=e.data,a=f(e,["id","data"]);return this.write(Object.assign(a,{dataId:t||"ROOT_QUERY",result:n}))},e.prototype.writeFragment=function(e){var t=e.id,n=e.data,a=e.fragment,r=e.fragmentName,i=f(e,["id","data","fragment","fragmentName"]);return this.write(Object.assign(i,{query:this.getFragmentDoc(a,r),dataId:t,result:n}))},e.prototype.updateQuery=function(e,t){return this.batch({update:function(n){var a=n.readQuery(e),r=t(a);return null==r?a:(n.writeQuery(m(m({},e),{data:r})),r)}})},e.prototype.updateFragment=function(e,t){return this.batch({update:function(n){var a=n.readFragment(e),r=t(a);return null==r?a:(n.writeFragment(m(m({},e),{data:r})),r)}})},e}();!1!==globalThis.__DEV__&&(Ur.prototype.getMemoryInternals=Lt);var Wr=function(e){function t(n,a,r,i){var o,s=e.call(this,n)||this;if(s.message=n,s.path=a,s.query=r,s.variables=i,Array.isArray(s.path)){s.missing=s.message;for(var c=s.path.length-1;c>=0;--c)s.missing=((o={})[s.path[c]]=s.missing,o)}else s.missing=s.path;return s.__proto__=t.prototype,s}return h(t,e),t}(Error),Qr=Object.prototype.hasOwnProperty;function Gr(e){return null==e}function Hr(e,t){var n=e.__typename,a=e.id,r=e._id;if("string"==typeof n&&(t&&(t.keyObject=Gr(a)?Gr(r)?void 0:{_id:r}:{id:a}),Gr(a)&&!Gr(r)&&(a=r),!Gr(a)))return"".concat(n,":").concat("number"==typeof a||"string"==typeof a?a:JSON.stringify(a))}var Kr={dataIdFromObject:Hr,addTypename:!0,resultCaching:!0,canonizeResults:!1};function Yr(e){var t=e.canonizeResults;return void 0===t?Kr.canonizeResults:t}var Jr=/^[_a-z][_0-9a-z]*/i;function Xr(e){var t=e.match(Jr);return t?t[0]:e}function Zr(e,t,n){return!!gt(t)&&(oa(t)?t.every(function(t){return Zr(e,t,n)}):e.selections.every(function(e){if(on(e)&&nt(e,n)){var a=an(e);return Qr.call(t,a)&&(!e.selectionSet||Zr(e.selectionSet,t[a],n))}return!0}))}function ei(e){return gt(e)&&!Jt(e)&&!oa(e)}function ti(e,t){var n=bt(ln(e));return{fragmentMap:n,lookupFragment:function(e){var a=n[e];return!a&&t&&(a=t.lookup(e)),a||null}}}var ni,ai,ri=Object.create(null),ii=function(){return ri},oi=Object.create(null),si=function(){function e(e,t){var n=this;this.policies=e,this.group=t,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(e,t){return Ha(Jt(e)?n.get(e.__ref,t):e&&e[t])},this.canRead=function(e){return Jt(e)?n.has(e.__ref):"object"==typeof e},this.toReference=function(e,t){if("string"==typeof e)return Yt(e);if(Jt(e))return e;var a=n.policies.identify(e)[0];if(a){var r=Yt(a);return t&&n.merge(a,e),r}}}return e.prototype.toObject=function(){return m({},this.data)},e.prototype.has=function(e){return void 0!==this.lookup(e,!0)},e.prototype.get=function(e,t){if(this.group.depend(e,t),Qr.call(this.data,e)){var n=this.data[e];if(n&&Qr.call(n,t))return n[t]}return"__typename"===t&&Qr.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof di?this.parent.get(e,t):void 0},e.prototype.lookup=function(e,t){return t&&this.group.depend(e,"__exists"),Qr.call(this.data,e)?this.data[e]:this instanceof di?this.parent.lookup(e,t):this.policies.rootTypenamesById[e]?Object.create(null):void 0},e.prototype.merge=function(e,t){var n,a=this;Jt(e)&&(e=e.__ref),Jt(t)&&(t=t.__ref);var r="string"==typeof e?this.lookup(n=e):e,i="string"==typeof t?this.lookup(n=t):t;if(i){P("string"==typeof n,1);var o=new ba(hi).merge(r,i);if(this.data[n]=o,o!==r&&(delete this.refs[n],this.group.caching)){var s=Object.create(null);r||(s.__exists=1),Object.keys(i).forEach(function(e){if(!r||r[e]!==o[e]){s[e]=1;var t=Xr(e);t===e||a.policies.hasKeyArgs(o.__typename,t)||(s[t]=1),void 0!==o[e]||a instanceof di||delete o[e]}}),!s.__typename||r&&r.__typename||this.policies.rootTypenamesById[n]!==o.__typename||delete s.__typename,Object.keys(s).forEach(function(e){return a.group.dirty(n,e)})}}},e.prototype.modify=function(e,t){var n=this,a=this.lookup(e);if(a){var r=Object.create(null),i=!1,o=!0,s={DELETE:ri,INVALIDATE:oi,isReference:Jt,toReference:this.toReference,canRead:this.canRead,readField:function(t,a){return n.policies.readField("string"==typeof t?{fieldName:t,from:a||Yt(e)}:t,{store:n})}};if(Object.keys(a).forEach(function(c){var u=Xr(c),l=a[c];if(void 0!==l){var d="function"==typeof t?t:t[c]||t[u];if(d){var p=d===ii?ri:d(Ha(l),m(m({},s),{fieldName:u,storeFieldName:c,storage:n.getStorage(e,c)}));if(p===oi)n.group.dirty(e,c);else if(p===ri&&(p=void 0),p!==l&&(r[c]=p,i=!0,l=p,!1!==globalThis.__DEV__)){var h=function(e){if(void 0===n.lookup(e.__ref))return!1!==globalThis.__DEV__&&P.warn(2,e),!0};if(Jt(p))h(p);else if(Array.isArray(p))for(var f=!1,v=void 0,_=0,g=p;_<g.length;_++){var y=g[_];if(Jt(y)){if(f=!0,h(y))break}else if("object"==typeof y&&y)n.policies.identify(y)[0]&&(v=y);if(f&&void 0!==v){!1!==globalThis.__DEV__&&P.warn(3,v);break}}}}void 0!==l&&(o=!1)}}),i)return this.merge(e,r),o&&(this instanceof di?this.data[e]=void 0:delete this.data[e],this.group.dirty(e,"__exists")),!0}return!1},e.prototype.delete=function(e,t,n){var a,r=this.lookup(e);if(r){var i=this.getFieldValue(r,"__typename"),o=t&&n?this.policies.getStoreFieldName({typename:i,fieldName:t,args:n}):t;return this.modify(e,o?((a={})[o]=ii,a):ii)}return!1},e.prototype.evict=function(e,t){var n=!1;return e.id&&(Qr.call(this.data,e.id)&&(n=this.delete(e.id,e.fieldName,e.args)),this instanceof di&&this!==t&&(n=this.parent.evict(e,t)||n),(e.fieldName||n)&&this.group.dirty(e.id,e.fieldName||"__exists")),n},e.prototype.clear=function(){this.replace(null)},e.prototype.extract=function(){var e=this,t=this.toObject(),n=[];return this.getRootIdSet().forEach(function(t){Qr.call(e.policies.rootTypenamesById,t)||n.push(t)}),n.length&&(t.__META={extraRootIds:n.sort()}),t},e.prototype.replace=function(e){var t=this;if(Object.keys(this.data).forEach(function(n){e&&Qr.call(e,n)||t.delete(n)}),e){var n=e.__META,a=f(e,["__META"]);Object.keys(a).forEach(function(e){t.merge(e,a[e])}),n&&n.extraRootIds.forEach(this.retain,this)}},e.prototype.retain=function(e){return this.rootIds[e]=(this.rootIds[e]||0)+1},e.prototype.release=function(e){if(this.rootIds[e]>0){var t=--this.rootIds[e];return t||delete this.rootIds[e],t}return 0},e.prototype.getRootIdSet=function(e){return void 0===e&&(e=new Set),Object.keys(this.rootIds).forEach(e.add,e),this instanceof di?this.parent.getRootIdSet(e):Object.keys(this.policies.rootTypenamesById).forEach(e.add,e),e},e.prototype.gc=function(){var e=this,t=this.getRootIdSet(),n=this.toObject();t.forEach(function(a){Qr.call(n,a)&&(Object.keys(e.findChildRefIds(a)).forEach(t.add,t),delete n[a])});var a=Object.keys(n);if(a.length){for(var r=this;r instanceof di;)r=r.parent;a.forEach(function(e){return r.delete(e)})}return a},e.prototype.findChildRefIds=function(e){if(!Qr.call(this.refs,e)){var t=this.refs[e]=Object.create(null),n=this.data[e];if(!n)return t;var a=new Set([n]);a.forEach(function(e){Jt(e)&&(t[e.__ref]=!0),gt(e)&&Object.keys(e).forEach(function(t){var n=e[t];gt(n)&&a.add(n)})})}return this.refs[e]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),ci=function(){function e(e,t){void 0===t&&(t=null),this.caching=e,this.parent=t,this.d=null,this.resetCaching()}return e.prototype.resetCaching=function(){this.d=this.caching?Jn():null,this.keyMaker=new ut(dt)},e.prototype.depend=function(e,t){if(this.d){this.d(ui(e,t));var n=Xr(t);n!==t&&this.d(ui(e,n)),this.parent&&this.parent.depend(e,t)}},e.prototype.dirty=function(e,t){this.d&&this.d.dirty(ui(e,t),"__exists"===t?"forget":"setDirty")},e}();function ui(e,t){return t+"#"+e}function li(e,t){mi(e)&&e.group.depend(t,"__exists")}ni=si||(si={}),ai=function(e){function t(t){var n=t.policies,a=t.resultCaching,r=void 0===a||a,i=t.seed,o=e.call(this,n,new ci(r))||this;return o.stump=new pi(o),o.storageTrie=new ut(dt),i&&o.replace(i),o}return h(t,e),t.prototype.addLayer=function(e,t){return this.stump.addLayer(e,t)},t.prototype.removeLayer=function(){return this},t.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},t}(ni),ni.Root=ai;var di=function(e){function t(t,n,a,r){var i=e.call(this,n.policies,r)||this;return i.id=t,i.parent=n,i.replay=a,i.group=r,a(i),i}return h(t,e),t.prototype.addLayer=function(e,n){return new t(e,this,n,this.group)},t.prototype.removeLayer=function(e){var t=this,n=this.parent.removeLayer(e);return e===this.id?(this.group.caching&&Object.keys(this.data).forEach(function(e){var a=t.data[e],r=n.lookup(e);r?a?a!==r&&Object.keys(a).forEach(function(n){Ir(a[n],r[n])||t.group.dirty(e,n)}):(t.group.dirty(e,"__exists"),Object.keys(r).forEach(function(n){t.group.dirty(e,n)})):t.delete(e)}),n):n===this.parent?this:n.addLayer(this.id,this.replay)},t.prototype.toObject=function(){return m(m({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(t){var n=this.parent.findChildRefIds(t);return Qr.call(this.data,t)?m(m({},n),e.prototype.findChildRefIds.call(this,t)):n},t.prototype.getStorage=function(){for(var e=this.parent;e.parent;)e=e.parent;return e.getStorage.apply(e,arguments)},t}(si),pi=function(e){function t(t){return e.call(this,"EntityStore.Stump",t,function(){},new ci(t.group.caching,t.group))||this}return h(t,e),t.prototype.removeLayer=function(){return this},t.prototype.merge=function(e,t){return this.parent.merge(e,t)},t}(di);function hi(e,t,n){var a=e[n],r=t[n];return Ir(a,r)?a:r}function mi(e){return!!(e instanceof si&&e.group.caching)}var fi=function(){function e(){this.known=new(pt?WeakSet:Set),this.pool=new ut(dt),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return gt(e)&&this.known.has(e)},e.prototype.pass=function(e){if(gt(e)){var t=function(e){return gt(e)?oa(e)?e.slice(0):m({__proto__:Object.getPrototypeOf(e)},e):e}(e);return this.passes.set(t,e),t}return e},e.prototype.admit=function(e){var t=this;if(gt(e)){var n=this.passes.get(e);if(n)return n;switch(Object.getPrototypeOf(e)){case Array.prototype:if(this.known.has(e))return e;var a=e.map(this.admit,this);return(s=this.pool.lookupArray(a)).array||(this.known.add(s.array=a),!1!==globalThis.__DEV__&&Object.freeze(a)),s.array;case null:case Object.prototype:if(this.known.has(e))return e;var r=Object.getPrototypeOf(e),i=[r],o=this.sortedKeys(e);i.push(o.json);var s,c=i.length;if(o.sorted.forEach(function(n){i.push(t.admit(e[n]))}),!(s=this.pool.lookupArray(i)).object){var u=s.object=Object.create(r);this.known.add(u),o.sorted.forEach(function(e,t){u[e]=i[c+t]}),!1!==globalThis.__DEV__&&Object.freeze(u)}return s.object}}return e},e.prototype.sortedKeys=function(e){var t=Object.keys(e),n=this.pool.lookupArray(t);if(!n.keys){t.sort();var a=JSON.stringify(t);(n.keys=this.keysByJSON.get(a))||this.keysByJSON.set(a,n.keys={sorted:t,json:a})}return n.keys},e}();function vi(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var _i=function(){function e(e){var t=this;this.knownResults=new(dt?WeakMap:Map),this.config=ir(e,{addTypename:!1!==e.addTypename,canonizeResults:Yr(e)}),this.canon=e.canon||new fi,this.executeSelectionSet=ta(function(e){var n,a=e.context.canonizeResults,r=vi(e);r[3]=!a;var i=(n=t.executeSelectionSet).peek.apply(n,r);return i?a?m(m({},i),{result:t.canon.admit(i.result)}):i:(li(e.context.store,e.enclosingRef.__ref),t.execSelectionSetImpl(e))},{max:this.config.resultCacheMaxSize||It["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:vi,makeCacheKey:function(e,t,n,a){if(mi(n.store))return n.store.makeCacheKey(e,Jt(t)?t.__ref:t,n.varString,a)}}),this.executeSubSelectedArray=ta(function(e){return li(e.context.store,e.enclosingRef.__ref),t.execSubSelectedArrayImpl(e)},{max:this.config.resultCacheMaxSize||It["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey:function(e){var t=e.field,n=e.array,a=e.context;if(mi(a.store))return a.store.makeCacheKey(t,n,a.varString)}})}return e.prototype.resetCanon=function(){this.canon=new fi},e.prototype.diffQueryAgainstStore=function(e){var t=e.store,n=e.query,a=e.rootId,r=void 0===a?"ROOT_QUERY":a,i=e.variables,o=e.returnPartialData,s=void 0===o||o,c=e.canonizeResults,u=void 0===c?this.config.canonizeResults:c,l=this.config.cache.policies;i=m(m({},hn(dn(n))),i);var d,p=Yt(r),h=this.executeSelectionSet({selectionSet:pn(n).selectionSet,objectOrReference:p,enclosingRef:p,context:m({store:t,query:n,policies:l,variables:i,varString:Gt(i),canonizeResults:u},ti(n,this.config.fragments))});if(h.missing&&(d=[new Wr(gi(h.missing),h.missing,n,i)],!s))throw d[0];return{result:h.result,complete:!d,missing:d}},e.prototype.isFresh=function(e,t,n,a){if(mi(a.store)&&this.knownResults.get(e)===n){var r=this.executeSelectionSet.peek(n,t,a,this.canon.isKnown(e));if(r&&e===r.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(e){var t=this,n=e.selectionSet,a=e.objectOrReference,r=e.enclosingRef,i=e.context;if(Jt(a)&&!i.policies.rootTypenamesById[a.__ref]&&!i.store.has(a.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(a.__ref," object")};var o,s=i.variables,c=i.policies,u=i.store.getFieldValue(a,"__typename"),l=[],d=new ba;function p(e,t){var n;return e.missing&&(o=d.merge(o,((n={})[t]=e.missing,n))),e.result}this.config.addTypename&&"string"==typeof u&&!c.rootIdsByTypename[u]&&l.push({__typename:u});var h=new Set(n.selections);h.forEach(function(e){var n,m;if(nt(e,s))if(on(e)){var f=c.readField({fieldName:e.name.value,field:e,variables:i.variables,from:a},i),v=an(e);void 0===f?ha.added(e)||(o=d.merge(o,((n={})[v]="Can't find field '".concat(e.name.value,"' on ").concat(Jt(a)?a.__ref+" object":"object "+JSON.stringify(a,null,2)),n))):oa(f)?f.length>0&&(f=p(t.executeSubSelectedArray({field:e,array:f,enclosingRef:r,context:i}),v)):e.selectionSet?null!=f&&(f=p(t.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:f,enclosingRef:Jt(f)?f:r,context:i}),v)):i.canonizeResults&&(f=t.canon.pass(f)),void 0!==f&&l.push(((m={})[v]=f,m))}else{var _=kt(e,i.lookupFragment);if(!_&&e.kind===oe.FRAGMENT_SPREAD)throw R(9,e.name.value);_&&c.fragmentMatches(_,u)&&_.selectionSet.selections.forEach(h.add,h)}});var m={result:ga(l),missing:o},f=i.canonizeResults?this.canon.admit(m):Ha(m);return f.result&&this.knownResults.set(f.result,n),f},e.prototype.execSubSelectedArrayImpl=function(e){var t,n=this,a=e.field,r=e.array,i=e.enclosingRef,o=e.context,s=new ba;function c(e,n){var a;return e.missing&&(t=s.merge(t,((a={})[n]=e.missing,a))),e.result}return a.selectionSet&&(r=r.filter(o.store.canRead)),r=r.map(function(e,t){return null===e?null:oa(e)?c(n.executeSubSelectedArray({field:a,array:e,enclosingRef:i,context:o}),t):a.selectionSet?c(n.executeSelectionSet({selectionSet:a.selectionSet,objectOrReference:e,enclosingRef:Jt(e)?e:i,context:o}),t):(!1!==globalThis.__DEV__&&function(e,t,n){if(!t.selectionSet){var a=new Set([n]);a.forEach(function(n){gt(n)&&(P(!Jt(n),10,function(e,t){return Jt(t)?e.get(t.__ref,"__typename"):t&&t.__typename}(e,n),t.name.value),Object.values(n).forEach(a.add,a))})}}(o.store,a,e),e)}),{result:o.canonizeResults?this.canon.admit(r):r,missing:t}},e}();function gi(e){try{JSON.stringify(e,function(e,t){if("string"==typeof t)throw t;return t})}catch(_g){return _g}}var yi=new jn,bi=new WeakMap;function ki(e){var t=bi.get(e);return t||bi.set(e,t={vars:new Set,dep:Jn()}),t}function wi(e){ki(e).vars.forEach(function(t){return t.forgetCache(e)})}function xi(e){var t=new Set,n=new Set,a=function(i){if(arguments.length>0){if(e!==i){e=i,t.forEach(function(e){ki(e).dep.dirty(a),function(e){e.broadcastWatches&&e.broadcastWatches()}(e)});var o=Array.from(n);n.clear(),o.forEach(function(t){return t(e)})}}else{var s=yi.getValue();s&&(r(s),ki(s).dep(a))}return e};a.onNextChange=function(e){return n.add(e),function(){n.delete(e)}};var r=a.attachCache=function(e){return t.add(e),ki(e).vars.add(a),a};return a.forgetCache=function(e){return t.delete(e)},a}var Si=Object.create(null);function Ei(e){var t=JSON.stringify(e);return Si[t]||(Si[t]=Object.create(null))}function ji(e){var t=Ei(e);return t.keyFieldsFn||(t.keyFieldsFn=function(t,n){var a=function(e,t){return n.readField(t,e)},r=n.keyObject=Oi(e,function(e){var r=Mi(n.storeObject,e,a);return void 0===r&&t!==n.storeObject&&Qr.call(t,e[0])&&(r=Mi(t,e,Ni)),P(void 0!==r,4,e.join("."),t),r});return"".concat(n.typename,":").concat(JSON.stringify(r))})}function Ti(e){var t=Ei(e);return t.keyArgsFn||(t.keyArgsFn=function(t,n){var a=n.field,r=n.variables,i=n.fieldName,o=Oi(e,function(e){var n=e[0],i=n.charAt(0);if("@"!==i)if("$"!==i){if(t)return Mi(t,e)}else{var o=n.slice(1);if(r&&Qr.call(r,o)){var s=e.slice(0);return s[0]=o,Mi(r,s)}}else if(a&&sa(a.directives)){var c=n.slice(1),u=a.directives.find(function(e){return e.name.value===c}),l=u&&nn(u,r);return l&&Mi(l,e.slice(1))}}),s=JSON.stringify(o);return(t||"{}"!==s)&&(i+=":"+s),i})}function Oi(e,t){var n=new ba;return Ci(e).reduce(function(e,a){var r,i=t(a);if(void 0!==i){for(var o=a.length-1;o>=0;--o)(r={})[a[o]]=i,i=r;e=n.merge(e,i)}return e},Object.create(null))}function Ci(e){var t=Ei(e);if(!t.paths){var n=t.paths=[],a=[];e.forEach(function(t,r){oa(t)?(Ci(t).forEach(function(e){return n.push(a.concat(e))}),a.length=0):(a.push(t),oa(e[r+1])||(n.push(a.slice(0)),a.length=0))})}return t.paths}function Ni(e,t){return e[t]}function Mi(e,t,n){return n=n||Ni,Di(t.reduce(function e(t,a){return oa(t)?t.map(function(t){return e(t,a)}):t&&n(t,a)},e))}function Di(e){return gt(e)?oa(e)?e.map(Di):Oi(Object.keys(e).sort(),function(t){return Mi(e,t)}):e}function Ai(e){return void 0!==e.args?e.args:e.field?nn(e.field,e.variables):null}var Ii=function(){},Pi=function(e,t){return t.fieldName},Ri=function(e,t,n){return(0,n.mergeObjects)(e,t)},Fi=function(e,t){return t},zi=function(){function e(e){this.config=e,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=m({dataIdFromObject:Hr},e),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),e.possibleTypes&&this.addPossibleTypes(e.possibleTypes),e.typePolicies&&this.addTypePolicies(e.typePolicies)}return e.prototype.identify=function(e,t){var n,a=this,r=t&&(t.typename||(null===(n=t.storeObject)||void 0===n?void 0:n.__typename))||e.__typename;if(r===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var i,o=t&&t.storeObject||e,s=m(m({},t),{typename:r,storeObject:o,readField:t&&t.readField||function(){var e=qi(arguments,o);return a.readField(e,{store:a.cache.data,variables:e.variables})}}),c=r&&this.getTypePolicy(r),u=c&&c.keyFn||this.config.dataIdFromObject;u;){var l=u(m(m({},e),o),s);if(!oa(l)){i=l;break}u=ji(l)}return i=i?String(i):void 0,s.keyObject?[i,s.keyObject]:[i]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach(function(n){var a=e[n],r=a.queryType,i=a.mutationType,o=a.subscriptionType,s=f(a,["queryType","mutationType","subscriptionType"]);r&&t.setRootTypename("Query",n),i&&t.setRootTypename("Mutation",n),o&&t.setRootTypename("Subscription",n),Qr.call(t.toBeAdded,n)?t.toBeAdded[n].push(s):t.toBeAdded[n]=[s]})},e.prototype.updateTypePolicy=function(e,t){var n=this,a=this.getTypePolicy(e),r=t.keyFields,i=t.fields;function o(e,t){e.merge="function"==typeof t?t:!0===t?Ri:!1===t?Fi:e.merge}o(a,t.merge),a.keyFn=!1===r?Ii:oa(r)?ji(r):"function"==typeof r?r:a.keyFn,i&&Object.keys(i).forEach(function(t){var a=n.getFieldPolicy(e,t,!0),r=i[t];if("function"==typeof r)a.read=r;else{var s=r.keyArgs,c=r.read,u=r.merge;a.keyFn=!1===s?Pi:oa(s)?Ti(s):"function"==typeof s?s:a.keyFn,"function"==typeof c&&(a.read=c),o(a,u)}a.read&&a.merge&&(a.keyFn=a.keyFn||Pi)})},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var n="ROOT_"+e.toUpperCase(),a=this.rootTypenamesById[n];t!==a&&(P(!a||a===e,5,e),a&&delete this.rootIdsByTypename[a],this.rootIdsByTypename[t]=n,this.rootTypenamesById[n]=t)},e.prototype.addPossibleTypes=function(e){var t=this;this.usingPossibleTypes=!0,Object.keys(e).forEach(function(n){t.getSupertypeSet(n,!0),e[n].forEach(function(e){t.getSupertypeSet(e,!0).add(n);var a=e.match(Jr);a&&a[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))})})},e.prototype.getTypePolicy=function(e){var t=this;if(!Qr.call(this.typePolicies,e)){var n=this.typePolicies[e]=Object.create(null);n.fields=Object.create(null);var a=this.supertypeMap.get(e);!a&&this.fuzzySubtypes.size&&(a=this.getSupertypeSet(e,!0),this.fuzzySubtypes.forEach(function(n,r){if(n.test(e)){var i=t.supertypeMap.get(r);i&&i.forEach(function(e){return a.add(e)})}})),a&&a.size&&a.forEach(function(e){var a=t.getTypePolicy(e),r=a.fields,i=f(a,["fields"]);Object.assign(n,i),Object.assign(n.fields,r)})}var r=this.toBeAdded[e];return r&&r.length&&r.splice(0).forEach(function(n){t.updateTypePolicy(e,n)}),this.typePolicies[e]},e.prototype.getFieldPolicy=function(e,t,n){if(e){var a=this.getTypePolicy(e).fields;return a[t]||n&&(a[t]=Object.create(null))}},e.prototype.getSupertypeSet=function(e,t){var n=this.supertypeMap.get(e);return!n&&t&&this.supertypeMap.set(e,n=new Set),n},e.prototype.fragmentMatches=function(e,t,n,a){var r=this;if(!e.typeCondition)return!0;if(!t)return!1;var i=e.typeCondition.name.value;if(t===i)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(i))for(var o=this.getSupertypeSet(t,!0),s=[o],c=function(e){var t=r.getSupertypeSet(e,!1);t&&t.size&&s.indexOf(t)<0&&s.push(t)},u=!(!n||!this.fuzzySubtypes.size),l=!1,d=0;d<s.length;++d){var p=s[d];if(p.has(i))return o.has(i)||(l&&!1!==globalThis.__DEV__&&P.warn(6,t,i),o.add(i)),!0;p.forEach(c),u&&d===s.length-1&&Zr(e.selectionSet,n,a)&&(u=!1,l=!0,this.fuzzySubtypes.forEach(function(e,n){var a=t.match(e);a&&a[0]===t&&c(n)}))}return!1},e.prototype.hasKeyArgs=function(e,t){var n=this.getFieldPolicy(e,t,!1);return!(!n||!n.keyFn)},e.prototype.getStoreFieldName=function(e){var t,n=e.typename,a=e.fieldName,r=this.getFieldPolicy(n,a,!1),i=r&&r.keyFn;if(i&&n)for(var o={typename:n,fieldName:a,field:e.field||null,variables:e.variables},s=Ai(e);i;){var c=i(s,o);if(!oa(c)){t=c||a;break}i=Ti(c)}return void 0===t&&(t=e.field?function(e,t){var n=null;e.directives&&(n={},e.directives.forEach(function(e){n[e.name.value]={},e.arguments&&e.arguments.forEach(function(a){var r=a.name,i=a.value;return Xt(n[e.name.value],r,i,t)})}));var a=null;return e.arguments&&e.arguments.length&&(a={},e.arguments.forEach(function(e){var n=e.name,r=e.value;return Xt(a,n,r,t)})),tn(e.name.value,a,n)}(e.field,e.variables):tn(a,Ai(e))),!1===t?a:a===Xr(t)?t:a+":"+t},e.prototype.readField=function(e,t){var n=e.from;if(n&&(e.field||e.fieldName)){if(void 0===e.typename){var a=t.store.getFieldValue(n,"__typename");a&&(e.typename=a)}var r=this.getStoreFieldName(e),i=Xr(r),o=t.store.getFieldValue(n,r),s=this.getFieldPolicy(e.typename,i,!1),c=s&&s.read;if(c){var u=Li(this,n,e,t,t.store.getStorage(Jt(n)?n.__ref:n,r));return yi.withValue(this.cache,c,[o,u])}return o}},e.prototype.getReadFunction=function(e,t){var n=this.getFieldPolicy(e,t,!1);return n&&n.read},e.prototype.getMergeFunction=function(e,t,n){var a=this.getFieldPolicy(e,t,!1),r=a&&a.merge;return!r&&n&&(r=(a=this.getTypePolicy(n))&&a.merge),r},e.prototype.runMergeFunction=function(e,t,n,a,r){var i=n.field,o=n.typename,s=n.merge;return s===Ri?$i(a.store)(e,t):s===Fi?t:(a.overwrite&&(e=void 0),s(e,t,Li(this,void 0,{typename:o,fieldName:i.name.value,field:i,variables:a.variables},a,r||Object.create(null))))},e}();function Li(e,t,n,a,r){var i=e.getStoreFieldName(n),o=Xr(i),s=n.variables||a.variables,c=a.store,u=c.toReference,l=c.canRead;return{args:Ai(n),field:n.field||null,fieldName:o,storeFieldName:i,variables:s,isReference:Jt,toReference:u,storage:r,cache:e.cache,canRead:l,readField:function(){return e.readField(qi(arguments,t,s),a)},mergeObjects:$i(a.store)}}function qi(e,t,n){var a,r=e[0],i=e[1],o=e.length;return"string"==typeof r?a={fieldName:r,from:o>1?i:t}:(a=m({},r),Qr.call(a,"from")||(a.from=t)),!1!==globalThis.__DEV__&&void 0===a.from&&!1!==globalThis.__DEV__&&P.warn(7,A(Array.from(e))),void 0===a.variables&&(a.variables=n),a}function $i(e){return function(t,n){if(oa(t)||oa(n))throw R(8);if(gt(t)&>(n)){var a=e.getFieldValue(t,"__typename"),r=e.getFieldValue(n,"__typename");if(a&&r&&a!==r)return n;if(Jt(t)&&ei(n))return e.merge(t.__ref,n),t;if(ei(t)&&Jt(n))return e.merge(t,n.__ref),n;if(ei(t)&&ei(n))return m(m({},t),n)}return n}}function Bi(e,t,n){var a="".concat(t).concat(n),r=e.flavors.get(a);return r||e.flavors.set(a,r=e.clientOnly===t&&e.deferred===n?e:m(m({},e),{clientOnly:t,deferred:n})),r}var Vi=function(){function e(e,t,n){this.cache=e,this.reader=t,this.fragments=n}return e.prototype.writeToStore=function(e,t){var n=this,a=t.query,r=t.result,i=t.dataId,o=t.variables,s=t.overwrite,c=cn(a),u=new ba;o=m(m({},hn(c)),o);var l=m(m({store:e,written:Object.create(null),merge:function(e,t){return u.merge(e,t)},variables:o,varString:Gt(o)},ti(a,this.fragments)),{overwrite:!!s,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),d=this.processSelectionSet({result:r||Object.create(null),dataId:i,selectionSet:c.selectionSet,mergeTree:{map:new Map},context:l});if(!Jt(d))throw R(11,r);return l.incomingById.forEach(function(t,a){var r=t.storeObject,i=t.mergeTree,o=t.fieldNodeSet,s=Yt(a);if(i&&i.map.size){var c=n.applyMerges(i,s,r,l);if(Jt(c))return;r=c}if(!1!==globalThis.__DEV__&&!l.overwrite){var u=Object.create(null);o.forEach(function(e){e.selectionSet&&(u[e.name.value]=!0)});Object.keys(r).forEach(function(e){(function(e){return!0===u[Xr(e)]})(e)&&!function(e){var t=i&&i.map.get(e);return Boolean(t&&t.info&&t.info.merge)}(e)&&function(e,t,n,a){var r=function(e){var t=a.getFieldValue(e,n);return"object"==typeof t&&t},i=r(e);if(!i)return;var o=r(t);if(!o)return;if(Jt(i))return;if(Ir(i,o))return;if(Object.keys(i).every(function(e){return void 0!==a.getFieldValue(o,e)}))return;var s=a.getFieldValue(e,"__typename")||a.getFieldValue(t,"__typename"),c=Xr(n),u="".concat(s,".").concat(c);if(Ki.has(u))return;Ki.add(u);var l=[];oa(i)||oa(o)||[i,o].forEach(function(e){var t=a.getFieldValue(e,"__typename");"string"!=typeof t||l.includes(t)||l.push(t)});!1!==globalThis.__DEV__&&P.warn(14,c,s,l.length?"either ensure all objects of type "+l.join(" and ")+" have an ID or a custom merge function, or ":"",u,m({},i),m({},o))}(s,r,e,l.store)})}e.merge(a,r)}),e.retain(d.__ref),d},e.prototype.processSelectionSet=function(e){var t=this,n=e.dataId,a=e.result,r=e.selectionSet,i=e.context,o=e.mergeTree,s=this.cache.policies,c=Object.create(null),u=n&&s.rootTypenamesById[n]||rn(a,r,i.fragmentMap)||n&&i.store.get(n,"__typename");"string"==typeof u&&(c.__typename=u);var l=function(){var e=qi(arguments,c,i.variables);if(Jt(e.from)){var t=i.incomingById.get(e.from.__ref);if(t){var n=s.readField(m(m({},e),{from:t.storeObject}),i);if(void 0!==n)return n}}return s.readField(e,i)},d=new Set;this.flattenFields(r,a,i,u).forEach(function(e,n){var r,i=an(n),p=a[i];if(d.add(n),void 0!==p){var h=s.getStoreFieldName({typename:u,fieldName:n.name.value,field:n,variables:e.variables}),m=Wi(o,h),f=t.processFieldValue(p,n,n.selectionSet?Bi(e,!1,!1):e,m),v=void 0;n.selectionSet&&(Jt(f)||ei(f))&&(v=l("__typename",f));var _=s.getMergeFunction(u,n.name.value,v);_?m.info={field:n,typename:u,merge:_}:Hi(o,h),c=e.merge(c,((r={})[h]=f,r))}else!1===globalThis.__DEV__||e.clientOnly||e.deferred||ha.added(n)||s.getReadFunction(u,n.name.value)||!1!==globalThis.__DEV__&&P.error(12,an(n),a)});try{var p=s.identify(a,{typename:u,selectionSet:r,fragmentMap:i.fragmentMap,storeObject:c,readField:l}),h=p[0],f=p[1];n=n||h,f&&(c=i.merge(c,f))}catch(y){if(!n)throw y}if("string"==typeof n){var v=Yt(n),_=i.written[n]||(i.written[n]=[]);if(_.indexOf(r)>=0)return v;if(_.push(r),this.reader&&this.reader.isFresh(a,v,r,i))return v;var g=i.incomingById.get(n);return g?(g.storeObject=i.merge(g.storeObject,c),g.mergeTree=Qi(g.mergeTree,o),d.forEach(function(e){return g.fieldNodeSet.add(e)})):i.incomingById.set(n,{storeObject:c,mergeTree:Gi(o)?void 0:o,fieldNodeSet:d}),v}return c},e.prototype.processFieldValue=function(e,t,n,a){var r=this;return t.selectionSet&&null!==e?oa(e)?e.map(function(e,i){var o=r.processFieldValue(e,t,n,Wi(a,i));return Hi(a,i),o}):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:n,mergeTree:a}):!1!==globalThis.__DEV__?Wa(e):e},e.prototype.flattenFields=function(e,t,n,a){void 0===a&&(a=rn(t,e,n.fragmentMap));var r=new Map,i=this.cache.policies,o=new ut(!1);return function e(s,c){var u=o.lookup(s,c.clientOnly,c.deferred);u.visited||(u.visited=!0,s.selections.forEach(function(o){if(nt(o,n.variables)){var s=c.clientOnly,u=c.deferred;if(s&&u||!sa(o.directives)||o.directives.forEach(function(e){var t=e.name.value;if("client"===t&&(s=!0),"defer"===t){var a=nn(e,n.variables);a&&!1===a.if||(u=!0)}}),on(o)){var l=r.get(o);l&&(s=s&&l.clientOnly,u=u&&l.deferred),r.set(o,Bi(n,s,u))}else{var d=kt(o,n.lookupFragment);if(!d&&o.kind===oe.FRAGMENT_SPREAD)throw R(13,o.name.value);d&&i.fragmentMatches(d,a,t,n.variables)&&e(d.selectionSet,Bi(n,s,u))}}}))}(e,n),r},e.prototype.applyMerges=function(e,t,n,a,r){var i,o=this;if(e.map.size&&!Jt(n)){var s,c=oa(n)||!Jt(t)&&!ei(t)?void 0:t,u=n;c&&!r&&(r=[Jt(c)?c.__ref:c]);var l=function(e,t){return oa(e)?"number"==typeof t?e[t]:void 0:a.store.getFieldValue(e,String(t))};e.map.forEach(function(e,t){var n=l(c,t),i=l(u,t);if(void 0!==i){r&&r.push(t);var d=o.applyMerges(e,n,i,a,r);d!==i&&(s=s||new Map).set(t,d),r&&P(r.pop()===t)}}),s&&(n=oa(u)?u.slice(0):m({},u),s.forEach(function(e,t){n[t]=e}))}return e.info?this.cache.policies.runMergeFunction(t,n,e.info,a,r&&(i=a.store).getStorage.apply(i,r)):n},e}(),Ui=[];function Wi(e,t){var n=e.map;return n.has(t)||n.set(t,Ui.pop()||{map:new Map}),n.get(t)}function Qi(e,t){if(e===t||!t||Gi(t))return e;if(!e||Gi(e))return t;var n=e.info&&t.info?m(m({},e.info),t.info):e.info||t.info,a=e.map.size&&t.map.size,r={info:n,map:a?new Map:e.map.size?e.map:t.map};if(a){var i=new Set(t.map.keys());e.map.forEach(function(e,n){r.map.set(n,Qi(e,t.map.get(n))),i.delete(n)}),i.forEach(function(n){r.map.set(n,Qi(t.map.get(n),e.map.get(n)))})}return r}function Gi(e){return!e||!(e.info||e.map.size)}function Hi(e,t){var n=e.map,a=n.get(t);a&&Gi(a)&&(Ui.push(a),n.delete(t))}var Ki=new Set;var Yi,Ji,Xi=function(e){function t(t){void 0===t&&(t={});var n=e.call(this)||this;return n.watches=new Set,n.addTypenameTransform=new ra(ha),n.assumeImmutableResults=!0,n.makeVar=xi,n.txCount=0,n.config=function(e){return ir(Kr,e)}(t),n.addTypename=!!n.config.addTypename,n.policies=new zi({cache:n,dataIdFromObject:n.config.dataIdFromObject,possibleTypes:n.config.possibleTypes,typePolicies:n.config.typePolicies}),n.init(),n}return h(t,e),t.prototype.init=function(){var e=this.data=new si.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=e.stump,this.resetResultCache()},t.prototype.resetResultCache=function(e){var t=this,n=this.storeReader,a=this.config.fragments;this.storeWriter=new Vi(this,this.storeReader=new _i({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:Yr(this.config),canon:e?void 0:n&&n.canon,fragments:a}),a),this.maybeBroadcastWatch=ta(function(e,n){return t.broadcastWatch(e,n)},{max:this.config.resultCacheMaxSize||It["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:function(e){var n=e.optimistic?t.optimisticData:t.data;if(mi(n)){var a=e.optimistic,r=e.id,i=e.variables;return n.makeCacheKey(e.query,e.callback,Gt({optimistic:a,id:r,variables:i}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach(function(e){return e.resetCaching()})},t.prototype.restore=function(e){return this.init(),e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).extract()},t.prototype.read=function(e){var t=e.returnPartialData,n=void 0!==t&&t;try{return this.storeReader.diffQueryAgainstStore(m(m({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:n})).result||null}catch(a){if(a instanceof Wr)return null;throw a}},t.prototype.write=function(e){try{return++this.txCount,this.storeWriter.writeToStore(this.data,e)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.modify=function(e){if(Qr.call(e,"id")&&!e.id)return!1;var t=e.optimistic?this.optimisticData:this.data;try{return++this.txCount,t.modify(e.id||"ROOT_QUERY",e.fields)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.diff=function(e){return this.storeReader.diffQueryAgainstStore(m(m({},e),{store:e.optimistic?this.optimisticData:this.data,rootId:e.id||"ROOT_QUERY",config:this.config}))},t.prototype.watch=function(e){var t,n=this;return this.watches.size||ki(t=this).vars.forEach(function(e){return e.attachCache(t)}),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){n.watches.delete(e)&&!n.watches.size&&wi(n),n.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(e){var t;Gt.reset(),ia.reset(),this.addTypenameTransform.resetCache(),null===(t=this.config.fragments)||void 0===t||t.resetCaches();var n=this.optimisticData.gc();return e&&!this.txCount&&(e.resetResultCache?this.resetResultCache(e.resetResultIdentities):e.resetResultIdentities&&this.storeReader.resetCanon()),n},t.prototype.retain=function(e,t){return(t?this.optimisticData:this.data).retain(e)},t.prototype.release=function(e,t){return(t?this.optimisticData:this.data).release(e)},t.prototype.identify=function(e){if(Jt(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(t){!1!==globalThis.__DEV__&&P.warn(t)}},t.prototype.evict=function(e){if(!e.id){if(Qr.call(e,"id"))return!1;e=m(m({},e),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(e,this.data)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.reset=function(e){var t=this;return this.init(),Gt.reset(),e&&e.discardWatches?(this.watches.forEach(function(e){return t.maybeBroadcastWatch.forget(e)}),this.watches.clear(),wi(this)):this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){var t=this.optimisticData.removeLayer(e);t!==this.optimisticData&&(this.optimisticData=t,this.broadcastWatches())},t.prototype.batch=function(e){var t,n=this,a=e.update,r=e.optimistic,i=void 0===r||r,o=e.removeOptimistic,s=e.onWatchUpdated,c=function(e){var r=n,i=r.data,o=r.optimisticData;++n.txCount,e&&(n.data=n.optimisticData=e);try{return t=a(n)}finally{--n.txCount,n.data=i,n.optimisticData=o}},u=new Set;return s&&!this.txCount&&this.broadcastWatches(m(m({},e),{onWatchUpdated:function(e){return u.add(e),!1}})),"string"==typeof i?this.optimisticData=this.optimisticData.addLayer(i,c):!1===i?c(this.data):c(),"string"==typeof o&&(this.optimisticData=this.optimisticData.removeLayer(o)),s&&u.size?(this.broadcastWatches(m(m({},e),{onWatchUpdated:function(e,t){var n=s.call(this,e,t);return!1!==n&&u.delete(e),n}})),u.size&&u.forEach(function(e){return n.maybeBroadcastWatch.dirty(e)})):this.broadcastWatches(e),t},t.prototype.performTransaction=function(e,t){return this.batch({update:e,optimistic:t||null!==t})},t.prototype.transformDocument=function(e){return this.addTypenameToDocument(this.addFragmentsToDocument(e))},t.prototype.broadcastWatches=function(e){var t=this;this.txCount||this.watches.forEach(function(n){return t.maybeBroadcastWatch(n,e)})},t.prototype.addFragmentsToDocument=function(e){var t=this.config.fragments;return t?t.transform(e):e},t.prototype.addTypenameToDocument=function(e){return this.addTypename?this.addTypenameTransform.transformDocument(e):e},t.prototype.broadcastWatch=function(e,t){var n=e.lastDiff,a=this.diff(e);t&&(e.optimistic&&"string"==typeof t.optimistic&&(a.fromOptimisticTransaction=!0),t.onWatchUpdated&&!1===t.onWatchUpdated.call(this,e,a,n))||n&&Ir(n.result,a.result)||e.callback(e.lastDiff=a,n)},t}(Ur);function Zi(e){return!!e&&e<7}!1!==globalThis.__DEV__&&(Xi.prototype.getMemoryInternals=zt),(Ji=Yi||(Yi={}))[Ji.loading=1]="loading",Ji[Ji.setVariables=2]="setVariables",Ji[Ji.fetchMore=3]="fetchMore",Ji[Ji.refetch=4]="refetch",Ji[Ji.poll=6]="poll",Ji[Ji.ready=7]="ready",Ji[Ji.error=8]="error";var eo=Object.assign,to=Object.hasOwnProperty,no=function(e){function t(t){var n=t.queryManager,a=t.queryInfo,r=t.options,i=e.call(this,function(e){try{var t=e._subscription._observer;t&&!t.error&&(t.error=ro)}catch(r){}var n=!i.observers.size;i.observers.add(e);var a=i.last;return a&&a.error?e.error&&e.error(a.error):a&&a.result&&e.next&&e.next(a.result),n&&i.reobserve().catch(function(){}),function(){i.observers.delete(e)&&!i.observers.size&&i.tearDownQuery()}})||this;i.observers=new Set,i.subscriptions=new Set,i.queryInfo=a,i.queryManager=n,i.waitForOwnResult=oo(r.fetchPolicy),i.isTornDown=!1,i.subscribeToMore=i.subscribeToMore.bind(i);var o=n.defaultOptions.watchQuery,s=(void 0===o?{}:o).fetchPolicy,c=void 0===s?"cache-first":s,u=r.fetchPolicy,l=void 0===u?c:u,d=r.initialFetchPolicy,p=void 0===d?"standby"===l?c:l:d;i.options=m(m({},r),{initialFetchPolicy:p,fetchPolicy:l}),i.queryId=a.queryId||n.generateQueryId();var h=cn(i.query);return i.queryName=h&&h.name&&h.name.value,i}return h(t,e),Object.defineProperty(t.prototype,"query",{get:function(){return this.lastQuery||this.options.query},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),t.prototype.result=function(){var e=this;return new Promise(function(t,n){var a={next:function(n){t(n),e.observers.delete(a),e.observers.size||e.queryManager.removeQuery(e.queryId),setTimeout(function(){r.unsubscribe()},0)},error:n},r=e.subscribe(a)})},t.prototype.resetDiff=function(){this.queryInfo.resetDiff()},t.prototype.getCurrentResult=function(e){void 0===e&&(e=!0);var t=this.getLastResult(!0),n=this.queryInfo.networkStatus||t&&t.networkStatus||Yi.ready,a=m(m({},t),{loading:Zi(n),networkStatus:n}),r=this.options.fetchPolicy,i=void 0===r?"cache-first":r;if(oo(i)||this.queryManager.getDocumentInfo(this.query).hasForcedResolvers);else if(this.waitForOwnResult)this.queryInfo.updateWatch();else{var o=this.queryInfo.getDiff();(o.complete||this.options.returnPartialData)&&(a.data=o.result),Ir(a.data,{})&&(a.data=void 0),o.complete?(delete a.partial,!o.complete||a.networkStatus!==Yi.loading||"cache-first"!==i&&"cache-only"!==i||(a.networkStatus=Yi.ready,a.loading=!1)):a.partial=!0,!1===globalThis.__DEV__||o.complete||this.options.partialRefetch||a.loading||a.data||a.error||io(o.missing)}return e&&this.updateLastResult(a),a},t.prototype.isDifferentFromLastResult=function(e,t){return!this.last||((this.queryManager.getDocumentInfo(this.query).hasNonreactiveDirective?!qr(this.query,this.last.result,e,this.variables):!Ir(this.last.result,e))||t&&!Ir(this.last.variables,t))},t.prototype.getLast=function(e,t){var n=this.last;if(n&&n[e]&&(!t||Ir(n.variables,this.variables)))return n[e]},t.prototype.getLastResult=function(e){return this.getLast("result",e)},t.prototype.getLastError=function(e){return this.getLast("error",e)},t.prototype.resetLastResults=function(){delete this.last,this.isTornDown=!1},t.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},t.prototype.refetch=function(e){var t,n={pollInterval:0},a=this.options.fetchPolicy;if(n.fetchPolicy="cache-and-network"===a?a:"no-cache"===a?"no-cache":"network-only",!1!==globalThis.__DEV__&&e&&to.call(e,"variables")){var r=dn(this.query),i=r.variableDefinitions;i&&i.some(function(e){return"variables"===e.variable.name.value})||!1!==globalThis.__DEV__&&P.warn(20,e,(null===(t=r.name)||void 0===t?void 0:t.value)||r)}return e&&!Ir(this.options.variables,e)&&(n.variables=this.options.variables=m(m({},this.options.variables),e)),this.queryInfo.resetLastWrite(),this.reobserve(n,Yi.refetch)},t.prototype.fetchMore=function(e){var t=this,n=m(m({},e.query?e:m(m(m(m({},this.options),{query:this.options.query}),e),{variables:m(m({},this.options.variables),e.variables)})),{fetchPolicy:"no-cache"});n.query=this.transformDocument(n.query);var a=this.queryManager.generateQueryId();this.lastQuery=e.query?this.transformDocument(this.options.query):n.query;var r=this.queryInfo,i=r.networkStatus;r.networkStatus=Yi.fetchMore,n.notifyOnNetworkStatusChange&&this.observe();var o=new Set,s=null==e?void 0:e.updateQuery,c="no-cache"!==this.options.fetchPolicy;return c||P(s,21),this.queryManager.fetchQuery(a,n,Yi.fetchMore).then(function(u){if(t.queryManager.removeQuery(a),r.networkStatus===Yi.fetchMore&&(r.networkStatus=i),c)t.queryManager.cache.batch({update:function(a){var r=e.updateQuery;r?a.updateQuery({query:t.query,variables:t.variables,returnPartialData:!0,optimistic:!1},function(e){return r(e,{fetchMoreResult:u.data,variables:n.variables})}):a.writeQuery({query:n.query,variables:n.variables,data:u.data})},onWatchUpdated:function(e){o.add(e.query)}});else{var l=t.getLast("result"),d=s(l.data,{fetchMoreResult:u.data,variables:n.variables});t.reportResult(m(m({},l),{data:d}),t.variables)}return u}).finally(function(){c&&!o.has(t.query)&&ao(t)})},t.prototype.subscribeToMore=function(e){var t=this,n=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables,context:e.context}).subscribe({next:function(n){var a=e.updateQuery;a&&t.updateQuery(function(e,t){var r=t.variables;return a(e,{subscriptionData:n,variables:r})})},error:function(t){e.onError?e.onError(t):!1!==globalThis.__DEV__&&P.error(22,t)}});return this.subscriptions.add(n),function(){t.subscriptions.delete(n)&&n.unsubscribe()}},t.prototype.setOptions=function(e){return this.reobserve(e)},t.prototype.silentSetOptions=function(e){var t=ir(this.options,e||{});eo(this.options,t)},t.prototype.setVariables=function(e){return Ir(this.variables,e)?this.observers.size?this.result():Promise.resolve():(this.options.variables=e,this.observers.size?this.reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:e},Yi.setVariables):Promise.resolve())},t.prototype.updateQuery=function(e){var t=this.queryManager,n=e(t.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}).result,{variables:this.variables});n&&(t.cache.writeQuery({query:this.options.query,data:n,variables:this.variables}),t.broadcastQueries())},t.prototype.startPolling=function(e){this.options.pollInterval=e,this.updatePolling()},t.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},t.prototype.applyNextFetchPolicy=function(e,t){if(t.nextFetchPolicy){var n=t.fetchPolicy,a=void 0===n?"cache-first":n,r=t.initialFetchPolicy,i=void 0===r?a:r;"standby"===a||("function"==typeof t.nextFetchPolicy?t.fetchPolicy=t.nextFetchPolicy(a,{reason:e,options:t,observable:this,initialFetchPolicy:i}):t.fetchPolicy="variables-changed"===e?i:t.nextFetchPolicy)}return t.fetchPolicy},t.prototype.fetch=function(e,t,n){return this.queryManager.setObservableQuery(this),this.queryManager.fetchConcastWithInfo(this.queryId,e,t,n)},t.prototype.updatePolling=function(){var e=this;if(!this.queryManager.ssrMode){var t=this.pollingInfo,n=this.options.pollInterval;if(n&&this.hasObservers()){if(!t||t.interval!==n){P(n,23),(t||(this.pollingInfo={})).interval=n;var a=function(){var t,n;e.pollingInfo&&(Zi(e.queryInfo.networkStatus)||(null===(n=(t=e.options).skipPollAttempt)||void 0===n?void 0:n.call(t))?r():e.reobserve({fetchPolicy:"no-cache"===e.options.initialFetchPolicy?"no-cache":"network-only"},Yi.poll).then(r,r))},r=function(){var t=e.pollingInfo;t&&(clearTimeout(t.timeout),t.timeout=setTimeout(a,t.interval))};r()}}else t&&(clearTimeout(t.timeout),delete this.pollingInfo)}},t.prototype.updateLastResult=function(e,t){void 0===t&&(t=this.variables);var n=this.getLastError();return n&&this.last&&!Ir(t,this.last.variables)&&(n=void 0),this.last=m({result:this.queryManager.assumeImmutableResults?e:Wa(e),variables:t},n?{error:n}:null)},t.prototype.reobserveAsConcast=function(e,t){var n=this;this.isTornDown=!1;var a=t===Yi.refetch||t===Yi.fetchMore||t===Yi.poll,r=this.options.variables,i=this.options.fetchPolicy,o=ir(this.options,e||{}),s=a?o:eo(this.options,o),c=this.transformDocument(s.query);this.lastQuery=c,a||(this.updatePolling(),!e||!e.variables||Ir(e.variables,r)||"standby"===s.fetchPolicy||s.fetchPolicy!==i&&"function"!=typeof s.nextFetchPolicy||(this.applyNextFetchPolicy("variables-changed",s),void 0===t&&(t=Yi.setVariables))),this.waitForOwnResult&&(this.waitForOwnResult=oo(s.fetchPolicy));var u=function(){n.concast===p&&(n.waitForOwnResult=!1)},l=s.variables&&m({},s.variables),d=this.fetch(s,t,c),p=d.concast,h=d.fromLink,f={next:function(e){Ir(n.variables,l)&&(u(),n.reportResult(e,l))},error:function(e){Ir(n.variables,l)&&(gr(e)||(e=new yr({networkError:e})),u(),n.reportError(e,l))}};return a||!h&&this.concast||(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=p,this.observer=f),p.addObserver(f),p},t.prototype.reobserve=function(e,t){return this.reobserveAsConcast(e,t).promise},t.prototype.resubscribeAfterError=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=this.last;this.resetLastResults();var a=this.subscribe.apply(this,e);return this.last=n,a},t.prototype.observe=function(){this.reportResult(this.getCurrentResult(!1),this.variables)},t.prototype.reportResult=function(e,t){var n=this.getLastError(),a=this.isDifferentFromLastResult(e,t);(n||!e.partial||this.options.returnPartialData)&&this.updateLastResult(e,t),(n||a)&&Ka(this.observers,"next",e)},t.prototype.reportError=function(e,t){var n=m(m({},this.getLastResult()),{error:e,errors:e.graphQLErrors,networkStatus:Yi.error,loading:!1});this.updateLastResult(n,t),Ka(this.observers,"error",this.last.error=e)},t.prototype.hasObservers=function(){return this.observers.size>0},t.prototype.tearDownQuery=function(){this.isTornDown||(this.concast&&this.observer&&(this.concast.removeObserver(this.observer),delete this.concast,delete this.observer),this.stopPolling(),this.subscriptions.forEach(function(e){return e.unsubscribe()}),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},t.prototype.transformDocument=function(e){return this.queryManager.transform(e)},t}($a);function ao(e){var t=e.options,n=t.fetchPolicy,a=t.nextFetchPolicy;return"cache-and-network"===n||"network-only"===n?e.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(e,t){return this.nextFetchPolicy=a,"function"==typeof this.nextFetchPolicy?this.nextFetchPolicy(e,t):n}}):e.reobserve()}function ro(e){!1!==globalThis.__DEV__&&P.error(24,e.message,e.stack)}function io(e){!1!==globalThis.__DEV__&&e&&!1!==globalThis.__DEV__&&P.debug(25,e)}function oo(e){return"network-only"===e||"no-cache"===e||"standby"===e}Ja(no);var so=new(dt?WeakMap:Map);function co(e,t){var n=e[t];"function"==typeof n&&(e[t]=function(){return so.set(e,(so.get(e)+1)%1e15),n.apply(this,arguments)})}function uo(e){e.notifyTimeout&&(clearTimeout(e.notifyTimeout),e.notifyTimeout=void 0)}var lo=function(){function e(e,t){void 0===t&&(t=e.generateQueryId()),this.queryId=t,this.listeners=new Set,this.document=null,this.lastRequestId=1,this.stopped=!1,this.dirty=!1,this.observableQuery=null;var n=this.cache=e.cache;so.has(n)||(so.set(n,0),co(n,"evict"),co(n,"modify"),co(n,"reset"))}return e.prototype.init=function(e){var t=e.networkStatus||Yi.loading;return this.variables&&this.networkStatus!==Yi.loading&&!Ir(this.variables,e.variables)&&(t=Yi.setVariables),Ir(e.variables,this.variables)||(this.lastDiff=void 0),Object.assign(this,{document:e.document,variables:e.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:t}),e.observableQuery&&this.setObservableQuery(e.observableQuery),e.lastRequestId&&(this.lastRequestId=e.lastRequestId),this},e.prototype.reset=function(){uo(this),this.dirty=!1},e.prototype.resetDiff=function(){this.lastDiff=void 0},e.prototype.getDiff=function(){var e=this.getDiffOptions();if(this.lastDiff&&Ir(e,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables);var t=this.observableQuery;if(t&&"no-cache"===t.options.fetchPolicy)return{complete:!1};var n=this.cache.diff(e);return this.updateLastDiff(n,e),n},e.prototype.updateLastDiff=function(e,t){this.lastDiff=e?{diff:e,options:t||this.getDiffOptions()}:void 0},e.prototype.getDiffOptions=function(e){var t;return void 0===e&&(e=this.variables),{query:this.document,variables:e,returnPartialData:!0,optimistic:!0,canonizeResults:null===(t=this.observableQuery)||void 0===t?void 0:t.options.canonizeResults}},e.prototype.setDiff=function(e){var t,n=this,a=this.lastDiff&&this.lastDiff.diff;e&&!e.complete&&(null===(t=this.observableQuery)||void 0===t?void 0:t.getLastError())||(this.updateLastDiff(e),this.dirty||Ir(a&&a.result,e&&e.result)||(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(function(){return n.notify()},0))))},e.prototype.setObservableQuery=function(e){var t=this;e!==this.observableQuery&&(this.oqListener&&this.listeners.delete(this.oqListener),this.observableQuery=e,e?(e.queryInfo=this,this.listeners.add(this.oqListener=function(){t.getDiff().fromOptimisticTransaction?e.observe():ao(e)})):delete this.oqListener)},e.prototype.notify=function(){var e=this;uo(this),this.shouldNotify()&&this.listeners.forEach(function(t){return t(e)}),this.dirty=!1},e.prototype.shouldNotify=function(){if(!this.dirty||!this.listeners.size)return!1;if(Zi(this.networkStatus)&&this.observableQuery){var e=this.observableQuery.options.fetchPolicy;if("cache-only"!==e&&"cache-and-network"!==e)return!1}return!0},e.prototype.stop=function(){if(!this.stopped){this.stopped=!0,this.reset(),this.cancel(),this.cancel=e.prototype.cancel;var t=this.observableQuery;t&&t.stopPolling()}},e.prototype.cancel=function(){},e.prototype.updateWatch=function(e){var t=this;void 0===e&&(e=this.variables);var n=this.observableQuery;if(!n||"no-cache"!==n.options.fetchPolicy){var a=m(m({},this.getDiffOptions(e)),{watcher:this,callback:function(e){return t.setDiff(e)}});this.lastWatch&&Ir(a,this.lastWatch)||(this.cancel(),this.cancel=this.cache.watch(this.lastWatch=a))}},e.prototype.resetLastWrite=function(){this.lastWrite=void 0},e.prototype.shouldWrite=function(e,t){var n=this.lastWrite;return!(n&&n.dmCount===so.get(this.cache)&&Ir(t,n.variables)&&Ir(e.data,n.result.data))},e.prototype.markResult=function(e,t,n,a){var r=this,i=new ba,o=sa(e.errors)?e.errors.slice(0):[];if(this.reset(),"incremental"in e&&sa(e.incremental)){var s=nr(this.getDiff().result,e);e.data=s}else if("hasNext"in e&&e.hasNext){var c=this.getDiff();e.data=i.merge(c.result,e.data)}this.graphQLErrors=o,"no-cache"===n.fetchPolicy?this.updateLastDiff({result:e.data,complete:!0},this.getDiffOptions(n.variables)):0!==a&&(po(e,n.errorPolicy)?this.cache.performTransaction(function(i){if(r.shouldWrite(e,n.variables))i.writeQuery({query:t,data:e.data,variables:n.variables,overwrite:1===a}),r.lastWrite={result:e,variables:n.variables,dmCount:so.get(r.cache)};else if(r.lastDiff&&r.lastDiff.diff.complete)return void(e.data=r.lastDiff.diff.result);var o=r.getDiffOptions(n.variables),s=i.diff(o);!r.stopped&&Ir(r.variables,n.variables)&&r.updateWatch(n.variables),r.updateLastDiff(s,o),s.complete&&(e.data=s.result)}):this.lastWrite=void 0)},e.prototype.markReady=function(){return this.networkError=null,this.networkStatus=Yi.ready},e.prototype.markError=function(e){return this.networkStatus=Yi.error,this.lastWrite=void 0,this.reset(),e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},e}();function po(e,t){void 0===t&&(t="none");var n="ignore"===t||"all"===t,a=!ar(e);return!a&&n&&e.data&&(a=!0),a}var ho=Object.prototype.hasOwnProperty,mo=Object.create(null),fo=function(){function e(e){var t=this;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new Dt(It["queryManager.getDocumentInfo"]||2e3),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new ut(!1);var n=new ra(function(e){return t.cache.transformDocument(e)},{cache:!1});this.cache=e.cache,this.link=e.link,this.defaultOptions=e.defaultOptions,this.queryDeduplication=e.queryDeduplication,this.clientAwareness=e.clientAwareness,this.localState=e.localState,this.ssrMode=e.ssrMode,this.assumeImmutableResults=e.assumeImmutableResults;var a=e.documentTransform;this.documentTransform=a?n.concat(a).concat(n):n,this.defaultContext=e.defaultContext||Object.create(null),(this.onBroadcast=e.onBroadcast)&&(this.mutationStore=Object.create(null))}return e.prototype.stop=function(){var e=this;this.queries.forEach(function(t,n){e.stopQueryNoBroadcast(n)}),this.cancelPendingFetches(R(26))},e.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach(function(t){return t(e)}),this.fetchCancelFns.clear()},e.prototype.mutate=function(e){return v(this,arguments,void 0,function(e){var t,n,a,r,i,o,s,c=e.mutation,u=e.variables,l=e.optimisticResponse,d=e.updateQueries,p=e.refetchQueries,h=void 0===p?[]:p,f=e.awaitRefetchQueries,v=void 0!==f&&f,g=e.update,y=e.onQueryUpdated,b=e.fetchPolicy,k=void 0===b?(null===(o=this.defaultOptions.mutate)||void 0===o?void 0:o.fetchPolicy)||"network-only":b,w=e.errorPolicy,x=void 0===w?(null===(s=this.defaultOptions.mutate)||void 0===s?void 0:s.errorPolicy)||"none":w,S=e.keepRootFields,E=e.context;return _(this,function(e){switch(e.label){case 0:return P(c,27),P("network-only"===k||"no-cache"===k,28),t=this.generateMutationId(),c=this.cache.transformForLink(this.transform(c)),n=this.getDocumentInfo(c).hasClientExports,u=this.getVariables(c,u),n?[4,this.localState.addExportedVariables(c,u,E)]:[3,2];case 1:u=e.sent(),e.label=2;case 2:return a=this.mutationStore&&(this.mutationStore[t]={mutation:c,variables:u,loading:!0,error:null}),r=l&&this.markMutationOptimistic(l,{mutationId:t,document:c,variables:u,fetchPolicy:k,errorPolicy:x,context:E,updateQueries:d,update:g,keepRootFields:S}),this.broadcastQueries(),i=this,[2,new Promise(function(e,n){return Ya(i.getObservableFromLink(c,m(m({},E),{optimisticResponse:r?l:void 0}),u,{},!1),function(e){if(ar(e)&&"none"===x)throw new yr({graphQLErrors:rr(e)});a&&(a.loading=!1,a.error=null);var n=m({},e);return"function"==typeof h&&(h=h(n)),"ignore"===x&&ar(n)&&delete n.errors,i.markMutationResult({mutationId:t,result:n,document:c,variables:u,fetchPolicy:k,errorPolicy:x,context:E,update:g,updateQueries:d,awaitRefetchQueries:v,refetchQueries:h,removeOptimistic:r?t:void 0,onQueryUpdated:y,keepRootFields:S})}).subscribe({next:function(t){i.broadcastQueries(),"hasNext"in t&&!1!==t.hasNext||e(t)},error:function(e){a&&(a.loading=!1,a.error=e),r&&i.cache.removeOptimistic(t),i.broadcastQueries(),n(e instanceof yr?e:new yr({networkError:e}))}})})]}})})},e.prototype.markMutationResult=function(e,t){var n=this;void 0===t&&(t=this.cache);var a=e.result,r=[],i="no-cache"===e.fetchPolicy;if(!i&&po(a,e.errorPolicy)){if(er(a)||r.push({result:a.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),er(a)&&sa(a.incremental)){var o=t.diff({id:"ROOT_MUTATION",query:this.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0}),s=void 0;o.result&&(s=nr(o.result,a)),void 0!==s&&(a.data=s,r.push({result:s,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}))}var c=e.updateQueries;c&&this.queries.forEach(function(e,i){var o=e.observableQuery,s=o&&o.queryName;if(s&&ho.call(c,s)){var u=c[s],l=n.queries.get(i),d=l.document,p=l.variables,h=t.diff({query:d,variables:p,returnPartialData:!0,optimistic:!1}),m=h.result;if(h.complete&&m){var f=u(m,{mutationResult:a,queryName:d&&un(d)||void 0,queryVariables:p});f&&r.push({result:f,dataId:"ROOT_QUERY",query:d,variables:p})}}})}if(r.length>0||(e.refetchQueries||"").length>0||e.update||e.onQueryUpdated||e.removeOptimistic){var u=[];if(this.refetchQueries({updateCache:function(t){i||r.forEach(function(e){return t.write(e)});var o,s=e.update,c=!(er(o=a)||function(e){return"hasNext"in e&&"data"in e}(o))||er(a)&&!a.hasNext;if(s){if(!i){var u=t.diff({id:"ROOT_MUTATION",query:n.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0});u.complete&&("incremental"in(a=m(m({},a),{data:u.result}))&&delete a.incremental,"hasNext"in a&&delete a.hasNext)}c&&s(t,a,{context:e.context,variables:e.variables})}i||e.keepRootFields||!c||t.modify({id:"ROOT_MUTATION",fields:function(e,t){var n=t.fieldName,a=t.DELETE;return"__typename"===n?e:a}})},include:e.refetchQueries,optimistic:!1,removeOptimistic:e.removeOptimistic,onQueryUpdated:e.onQueryUpdated||null}).forEach(function(e){return u.push(e)}),e.awaitRefetchQueries||e.onQueryUpdated)return Promise.all(u).then(function(){return a})}return Promise.resolve(a)},e.prototype.markMutationOptimistic=function(e,t){var n=this,a="function"==typeof e?e(t.variables,{IGNORE:mo}):e;return a!==mo&&(this.cache.recordOptimisticTransaction(function(e){try{n.markMutationResult(m(m({},t),{result:{data:a}}),e)}catch(r){!1!==globalThis.__DEV__&&P.error(r)}},t.mutationId),!0)},e.prototype.fetchQuery=function(e,t,n){return this.fetchConcastWithInfo(e,t,n).concast.promise},e.prototype.getQueryStore=function(){var e=Object.create(null);return this.queries.forEach(function(t,n){e[n]={variables:t.variables,networkStatus:t.networkStatus,networkError:t.networkError,graphQLErrors:t.graphQLErrors}}),e},e.prototype.resetErrors=function(e){var t=this.queries.get(e);t&&(t.networkError=void 0,t.graphQLErrors=[])},e.prototype.transform=function(e){return this.documentTransform.transformDocument(e)},e.prototype.getDocumentInfo=function(e){var t=this.transformCache;if(!t.has(e)){var n={hasClientExports:rt(e),hasForcedResolvers:this.localState.shouldForceResolvers(e),hasNonreactiveDirective:at(["nonreactive"],e),clientQuery:this.localState.clientQuery(e),serverQuery:pa([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"}],e),defaultVars:hn(cn(e)),asQuery:m(m({},e),{definitions:e.definitions.map(function(e){return"OperationDefinition"===e.kind&&"query"!==e.operation?m(m({},e),{operation:"query"}):e})})};t.set(e,n)}return t.get(e)},e.prototype.getVariables=function(e,t){return m(m({},this.getDocumentInfo(e).defaultVars),t)},e.prototype.watchQuery=function(e){var t=this.transform(e.query);void 0===(e=m(m({},e),{variables:this.getVariables(t,e.variables)})).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var n=new lo(this),a=new no({queryManager:this,queryInfo:n,options:e});return a.lastQuery=t,this.queries.set(a.queryId,n),n.init({document:t,observableQuery:a,variables:a.variables}),a},e.prototype.query=function(e,t){var n=this;return void 0===t&&(t=this.generateQueryId()),P(e.query,29),P("Document"===e.query.kind,30),P(!e.returnPartialData,31),P(!e.pollInterval,32),this.fetchQuery(t,m(m({},e),{query:this.transform(e.query)})).finally(function(){return n.stopQuery(t)})},e.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},e.prototype.generateRequestId=function(){return this.requestIdCounter++},e.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},e.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(e){var t=this.queries.get(e);t&&t.stop()},e.prototype.clearStore=function(e){return void 0===e&&(e={discardWatches:!0}),this.cancelPendingFetches(R(33)),this.queries.forEach(function(e){e.observableQuery?e.networkStatus=Yi.loading:e.stop()}),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(e)},e.prototype.getObservableQueries=function(e){var t=this;void 0===e&&(e="active");var n=new Map,a=new Map,r=new Set;return Array.isArray(e)&&e.forEach(function(e){var n;"string"==typeof e?a.set(e,!1):gt(n=e)&&"Document"===n.kind&&Array.isArray(n.definitions)?a.set(t.transform(e),!1):gt(e)&&e.query&&r.add(e)}),this.queries.forEach(function(t,r){var i=t.observableQuery,o=t.document;if(i){if("all"===e)return void n.set(r,i);var s=i.queryName;if("standby"===i.options.fetchPolicy||"active"===e&&!i.hasObservers())return;("active"===e||s&&a.has(s)||o&&a.has(o))&&(n.set(r,i),s&&a.set(s,!0),o&&a.set(o,!0))}}),r.size&&r.forEach(function(e){var a=D("legacyOneTimeQuery"),r=t.getQuery(a).init({document:e.query,variables:e.variables}),i=new no({queryManager:t,queryInfo:r,options:m(m({},e),{fetchPolicy:"network-only"})});P(i.queryId===a),r.setObservableQuery(i),n.set(a,i)}),!1!==globalThis.__DEV__&&a.size&&a.forEach(function(e,t){e||!1!==globalThis.__DEV__&&P.warn("string"==typeof t?34:35,t)}),n},e.prototype.reFetchObservableQueries=function(e){var t=this;void 0===e&&(e=!1);var n=[];return this.getObservableQueries(e?"all":"active").forEach(function(a,r){var i=a.options.fetchPolicy;a.resetLastResults(),(e||"standby"!==i&&"cache-only"!==i)&&n.push(a.refetch()),t.getQuery(r).setDiff(null)}),this.broadcastQueries(),Promise.all(n)},e.prototype.setObservableQuery=function(e){this.getQuery(e.queryId).setObservableQuery(e)},e.prototype.startGraphQLSubscription=function(e){var t=this,n=e.query,a=e.fetchPolicy,r=e.errorPolicy,i=void 0===r?"none":r,o=e.variables,s=e.context,c=void 0===s?{}:s,u=e.extensions,l=void 0===u?{}:u;n=this.transform(n),o=this.getVariables(n,o);var d=function(e){return t.getObservableFromLink(n,c,e,l).map(function(r){"no-cache"!==a&&(po(r,i)&&t.cache.write({query:n,result:r.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),t.broadcastQueries());var o=ar(r),s=function(e){return!!e.extensions&&Array.isArray(e.extensions[_r])}(r);if(o||s){var c={};if(o&&(c.graphQLErrors=r.errors),s&&(c.protocolErrors=r.extensions[_r]),"none"===i||s)throw new yr(c)}return"ignore"===i&&delete r.errors,r})};if(this.getDocumentInfo(n).hasClientExports){var p=this.localState.addExportedVariables(n,o,c).then(d);return new $a(function(e){var t=null;return p.then(function(n){return t=n.subscribe(e)},e.error),function(){return t&&t.unsubscribe()}})}return d(o)},e.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},e.prototype.removeQuery=function(e){this.fetchCancelFns.delete(e),this.queries.has(e)&&(this.getQuery(e).stop(),this.queries.delete(e))},e.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach(function(e){return e.notify()})},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableFromLink=function(e,t,n,a,r){var i,o,s=this;void 0===r&&(r=null!==(i=null==t?void 0:t.queryDeduplication)&&void 0!==i?i:this.queryDeduplication);var c=this.getDocumentInfo(e),u=c.serverQuery,l=c.clientQuery;if(u){var d=this.inFlightLinkObservables,p=this.link,h={query:u,variables:n,operationName:un(u)||void 0,context:this.prepareContext(m(m({},t),{forceFetch:!r})),extensions:a};if(t=h.context,r){var f=ia(u),v=Gt(n),_=d.lookup(f,v);if(!(o=_.observable)){var g=new Za([hr(p,h)]);o=_.observable=g,g.beforeNext(function(){d.remove(f,v)})}}else o=new Za([hr(p,h)])}else o=new Za([$a.of({data:{}})]),t=this.prepareContext(t);return l&&(o=Ya(o,function(e){return s.localState.runResolvers({document:l,remoteResult:e,context:t,variables:n})})),o},e.prototype.getResultsFromLink=function(e,t,n){var a=e.lastRequestId=this.generateRequestId(),r=this.cache.transformForLink(n.query);return Ya(this.getObservableFromLink(r,n.context,n.variables),function(i){var o=rr(i),s=o.length>0,c=n.errorPolicy;if(a>=e.lastRequestId){if(s&&"none"===c)throw e.markError(new yr({graphQLErrors:o}));e.markResult(i,r,n,t),e.markReady()}var u={data:i.data,loading:!1,networkStatus:Yi.ready};return s&&"none"===c&&(u.data=void 0),s&&"ignore"!==c&&(u.errors=o,u.networkStatus=Yi.error),u},function(t){var n=gr(t)?t:new yr({networkError:t});throw a>=e.lastRequestId&&e.markError(n),n})},e.prototype.fetchConcastWithInfo=function(e,t,n,a){var r=this;void 0===n&&(n=Yi.loading),void 0===a&&(a=t.query);var i,o,s=this.getVariables(a,t.variables),c=this.getQuery(e),u=this.defaultOptions.watchQuery,l=t.fetchPolicy,d=void 0===l?u&&u.fetchPolicy||"cache-first":l,p=t.errorPolicy,h=void 0===p?u&&u.errorPolicy||"none":p,m=t.returnPartialData,f=void 0!==m&&m,v=t.notifyOnNetworkStatusChange,_=void 0!==v&&v,g=t.context,y=void 0===g?{}:g,b=Object.assign({},t,{query:a,variables:s,fetchPolicy:d,errorPolicy:h,returnPartialData:f,notifyOnNetworkStatusChange:_,context:y}),k=function(e){b.variables=e;var a=r.fetchQueryByPolicy(c,b,n);return"standby"!==b.fetchPolicy&&a.sources.length>0&&c.observableQuery&&c.observableQuery.applyNextFetchPolicy("after-fetch",t),a},w=function(){return r.fetchCancelFns.delete(e)};if(this.fetchCancelFns.set(e,function(e){w(),setTimeout(function(){return i.cancel(e)})}),this.getDocumentInfo(b.query).hasClientExports)i=new Za(this.localState.addExportedVariables(b.query,b.variables,b.context).then(k).then(function(e){return e.sources})),o=!0;else{var x=k(b.variables);o=x.fromLink,i=new Za(x.sources)}return i.promise.then(w,w),{concast:i,fromLink:o}},e.prototype.refetchQueries=function(e){var t=this,n=e.updateCache,a=e.include,r=e.optimistic,i=void 0!==r&&r,o=e.removeOptimistic,s=void 0===o?i?D("refetchQueries"):void 0:o,c=e.onQueryUpdated,u=new Map;a&&this.getObservableQueries(a).forEach(function(e,n){u.set(n,{oq:e,lastDiff:t.getQuery(n).getDiff()})});var l=new Map;return n&&this.cache.batch({update:n,optimistic:i&&s||!1,removeOptimistic:s,onWatchUpdated:function(e,t,n){var a=e.watcher instanceof lo&&e.watcher.observableQuery;if(a){if(c){u.delete(a.queryId);var r=c(a,t,n);return!0===r&&(r=a.refetch()),!1!==r&&l.set(a,r),r}null!==c&&u.set(a.queryId,{oq:a,lastDiff:n,diff:t})}}}),u.size&&u.forEach(function(e,n){var a,r=e.oq,i=e.lastDiff,o=e.diff;if(c){if(!o){var s=r.queryInfo;s.reset(),o=s.getDiff()}a=c(r,o,i)}c&&!0!==a||(a=r.refetch()),!1!==a&&l.set(r,a),n.indexOf("legacyOneTimeQuery")>=0&&t.stopQueryNoBroadcast(n)}),s&&this.cache.removeOptimistic(s),l},e.prototype.fetchQueryByPolicy=function(e,t,n){var a=this,r=t.query,i=t.variables,o=t.fetchPolicy,s=t.refetchWritePolicy,c=t.errorPolicy,u=t.returnPartialData,l=t.context,d=t.notifyOnNetworkStatusChange,p=e.networkStatus;e.init({document:r,variables:i,networkStatus:n});var h=function(){return e.getDiff()},f=function(t,n){void 0===n&&(n=e.networkStatus||Yi.loading);var o=t.result;!1===globalThis.__DEV__||u||Ir(o,{})||io(t.missing);var s=function(e){return $a.of(m({data:e,loading:Zi(n),networkStatus:n},t.complete?null:{partial:!0}))};return o&&a.getDocumentInfo(r).hasForcedResolvers?a.localState.runResolvers({document:r,remoteResult:{data:o},context:l,variables:i,onlyRunForcedResolvers:!0}).then(function(e){return s(e.data||void 0)}):"none"===c&&n===Yi.refetch&&Array.isArray(t.missing)?s(void 0):s(o)},v="no-cache"===o?0:n===Yi.refetch&&"merge"!==s?1:2,_=function(){return a.getResultsFromLink(e,v,{query:r,variables:i,context:l,fetchPolicy:o,errorPolicy:c})},g=d&&"number"==typeof p&&p!==n&&Zi(n);switch(o){default:case"cache-first":return(y=h()).complete?{fromLink:!1,sources:[f(y,e.markReady())]}:u||g?{fromLink:!0,sources:[f(y),_()]}:{fromLink:!0,sources:[_()]};case"cache-and-network":var y;return(y=h()).complete||u||g?{fromLink:!0,sources:[f(y),_()]}:{fromLink:!0,sources:[_()]};case"cache-only":return{fromLink:!1,sources:[f(h(),e.markReady())]};case"network-only":return g?{fromLink:!0,sources:[f(h()),_()]}:{fromLink:!0,sources:[_()]};case"no-cache":return g?{fromLink:!0,sources:[f(e.getDiff()),_()]}:{fromLink:!0,sources:[_()]};case"standby":return{fromLink:!1,sources:[]}}},e.prototype.getQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new lo(this,e)),this.queries.get(e)},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return m(m(m({},this.defaultContext),t),{clientAwareness:this.clientAwareness})},e}(),vo=function(){function e(e){var t=e.cache,n=e.client,a=e.resolvers,r=e.fragmentMatcher;this.selectionsToResolveCache=new WeakMap,this.cache=t,n&&(this.client=n),a&&this.addResolvers(a),r&&this.setFragmentMatcher(r)}return e.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach(function(e){t.resolvers=_a(t.resolvers,e)}):this.resolvers=_a(this.resolvers,e)},e.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(e){return v(this,arguments,void 0,function(e){var t=e.document,n=e.remoteResult,a=e.context,r=e.variables,i=e.onlyRunForcedResolvers,o=void 0!==i&&i;return _(this,function(e){return t?[2,this.resolveDocument(t,n.data,a,r,this.fragmentMatcher,o).then(function(e){return m(m({},n),{data:e.result})})]:[2,n]})})},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return at(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return fa(e)},e.prototype.prepareContext=function(e){var t=this.cache;return m(m({},e),{cache:t,getCacheKey:function(e){return t.identify(e)}})},e.prototype.addExportedVariables=function(e){return v(this,arguments,void 0,function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),_(this,function(a){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(n),t).then(function(e){return m(m({},t),e.exportedVariables)})]:[2,m({},t)]})})},e.prototype.shouldForceResolvers=function(e){var t=!1;return Ge(e,{Directive:{enter:function(e){if("client"===e.name.value&&e.arguments&&(t=e.arguments.some(function(e){return"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value})))return Qe}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:ma(e),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t){return v(this,arguments,void 0,function(e,t,n,a,r,i){var o,s,c,u,l,d,p,h,f,v;return void 0===n&&(n={}),void 0===a&&(a={}),void 0===r&&(r=function(){return!0}),void 0===i&&(i=!1),_(this,function(_){return o=pn(e),s=ln(e),c=bt(s),u=this.collectSelectionsToResolve(o,c),l=o.operation,d=l?l.charAt(0).toUpperCase()+l.slice(1):"Query",h=(p=this).cache,f=p.client,v={fragmentMap:c,context:m(m({},n),{cache:h,client:f}),variables:a,fragmentMatcher:r,defaultOperationType:d,exportedVariables:{},selectionsToResolve:u,onlyRunForcedResolvers:i},[2,this.resolveSelectionSet(o.selectionSet,false,t,v).then(function(e){return{result:e,exportedVariables:v.exportedVariables}})]})})},e.prototype.resolveSelectionSet=function(e,t,n,a){return v(this,void 0,void 0,function(){var r,i,o,s,c,u=this;return _(this,function(l){return r=a.fragmentMap,i=a.context,o=a.variables,s=[n],c=function(e){return v(u,void 0,void 0,function(){var c,u;return _(this,function(l){return(t||a.selectionsToResolve.has(e))&&nt(e,o)?on(e)?[2,this.resolveField(e,t,n,a).then(function(t){var n;void 0!==t&&s.push(((n={})[an(e)]=t,n))})]:(!function(e){return"InlineFragment"===e.kind}(e)?(c=r[e.name.value],P(c,18,e.name.value)):c=e,c&&c.typeCondition&&(u=c.typeCondition.name.value,a.fragmentMatcher(n,u,i))?[2,this.resolveSelectionSet(c.selectionSet,t,n,a).then(function(e){s.push(e)})]:[2]):[2]})})},[2,Promise.all(e.selections.map(c)).then(function(){return ga(s)})]})})},e.prototype.resolveField=function(e,t,n,a){return v(this,void 0,void 0,function(){var r,i,o,s,c,u,l,d,p,h=this;return _(this,function(m){return n?(r=a.variables,i=e.name.value,o=an(e),s=i!==o,c=n[o]||n[i],u=Promise.resolve(c),a.onlyRunForcedResolvers&&!this.shouldForceResolvers(e)||(l=n.__typename||a.defaultOperationType,(d=this.resolvers&&this.resolvers[l])&&(p=d[s?i:o])&&(u=Promise.resolve(yi.withValue(this.cache,p,[n,nn(e,r),a.context,{field:e,fragmentMap:a.fragmentMap}])))),[2,u.then(function(n){var r,i;if(void 0===n&&(n=c),e.directives&&e.directives.forEach(function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach(function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(a.exportedVariables[e.value.value]=n)})}),!e.selectionSet)return n;if(null==n)return n;var o=null!==(i=null===(r=e.directives)||void 0===r?void 0:r.some(function(e){return"client"===e.name.value}))&&void 0!==i&&i;return Array.isArray(n)?h.resolveSubSelectedArray(e,t||o,n,a):e.selectionSet?h.resolveSelectionSet(e.selectionSet,t||o,n,a):void 0})]):[2,null]})})},e.prototype.resolveSubSelectedArray=function(e,t,n,a){var r=this;return Promise.all(n.map(function(n){return null===n?null:Array.isArray(n)?r.resolveSubSelectedArray(e,t,n,a):e.selectionSet?r.resolveSelectionSet(e.selectionSet,t,n,a):void 0}))},e.prototype.collectSelectionsToResolve=function(e,t){var n=function(e){return!Array.isArray(e)},a=this.selectionsToResolveCache;return function e(r){if(!a.has(r)){var i=new Set;a.set(r,i),Ge(r,{Directive:function(e,t,a,r,o){"client"===e.name.value&&o.forEach(function(e){n(e)&&tt(e)&&i.add(e)})},FragmentSpread:function(a,r,o,s,c){var u=t[a.name.value];P(u,19,a.name.value);var l=e(u);l.size>0&&(c.forEach(function(e){n(e)&&tt(e)&&i.add(e)}),i.add(a),l.forEach(function(e){i.add(e)}))}})}return a.get(r)}(e)},e}(),_o=!1,go=function(){function e(e){var t=this;if(this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],!e.cache)throw R(15);var n=e.uri,a=e.credentials,r=e.headers,i=e.cache,o=e.documentTransform,s=e.ssrMode,c=void 0!==s&&s,u=e.ssrForceFetchDelay,l=void 0===u?0:u,d=e.connectToDevTools,p=e.queryDeduplication,h=void 0===p||p,f=e.defaultOptions,v=e.defaultContext,_=e.assumeImmutableResults,g=void 0===_?i.assumeImmutableResults:_,y=e.resolvers,b=e.typeDefs,k=e.fragmentMatcher,w=e.name,x=e.version,S=e.devtools,E=e.link;E||(E=n?new Cr({uri:n,credentials:a,headers:r}):pr.empty()),this.link=E,this.cache=i,this.disableNetworkFetches=c||l>0,this.queryDeduplication=h,this.defaultOptions=f||Object.create(null),this.typeDefs=b,this.devtoolsConfig=m(m({},S),{enabled:(null==S?void 0:S.enabled)||d}),void 0===this.devtoolsConfig.enabled&&(this.devtoolsConfig.enabled=!1!==globalThis.__DEV__),l&&setTimeout(function(){return t.disableNetworkFetches=!1},l),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.watchFragment=this.watchFragment.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),this.version=O,this.localState=new vo({cache:i,client:this,resolvers:y,fragmentMatcher:k}),this.queryManager=new fo({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,defaultContext:v,documentTransform:o,queryDeduplication:h,ssrMode:c,clientAwareness:{name:w,version:x},localState:this.localState,assumeImmutableResults:g,onBroadcast:this.devtoolsConfig.enabled?function(){t.devToolsHookCb&&t.devToolsHookCb({action:{},state:{queries:t.queryManager.getQueryStore(),mutations:t.queryManager.mutationStore||{}},dataWithOptimisticResults:t.cache.extract(!0)})}:void 0}),this.devtoolsConfig.enabled&&this.connectToDevTools()}return e.prototype.connectToDevTools=function(){if("undefined"!=typeof window){var e=window,t=Symbol.for("apollo.devtools");(e[t]=e[t]||[]).push(this),e.__APOLLO_CLIENT__=this,_o||!1===globalThis.__DEV__||(_o=!0,window.document&&window.top===window.self&&/^(https?|file):$/.test(window.location.protocol)&&setTimeout(function(){if(!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__){var e=window.navigator,t=e&&e.userAgent,n=void 0;"string"==typeof t&&(t.indexOf("Chrome/")>-1?n="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":t.indexOf("Firefox/")>-1&&(n="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),n&&!1!==globalThis.__DEV__&&P.log("Download the Apollo DevTools for a better development experience: %s",n)}},1e4))}},Object.defineProperty(e.prototype,"documentTransform",{get:function(){return this.queryManager.documentTransform},enumerable:!1,configurable:!0}),e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=or(this.defaultOptions.watchQuery,e)),!this.disableNetworkFetches||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e=m(m({},e),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=or(this.defaultOptions.query,e)),P("cache-and-network"!==e.fetchPolicy,16),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=m(m({},e),{fetchPolicy:"cache-first"})),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=or(this.defaultOptions.mutate,e)),this.queryManager.mutate(e)},e.prototype.subscribe=function(e){return this.queryManager.startGraphQLSubscription(e)},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.cache.readQuery(e,t)},e.prototype.watchFragment=function(e){return this.cache.watchFragment(e)},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.cache.readFragment(e,t)},e.prototype.writeQuery=function(e){var t=this.cache.writeQuery(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t},e.prototype.writeFragment=function(e){var t=this.cache.writeFragment(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return hr(this.link,e)},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then(function(){return e.queryManager.clearStore({discardWatches:!1})}).then(function(){return Promise.all(e.resetStoreCallbacks.map(function(e){return e()}))}).then(function(){return e.reFetchObservableQueries()})},e.prototype.clearStore=function(){var e=this;return Promise.resolve().then(function(){return e.queryManager.clearStore({discardWatches:!0})}).then(function(){return Promise.all(e.clearStoreCallbacks.map(function(e){return e()}))})},e.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager.reFetchObservableQueries(e)},e.prototype.refetchQueries=function(e){var t=this.queryManager.refetchQueries(e),n=[],a=[];t.forEach(function(e,t){n.push(t),a.push(e)});var r=Promise.all(a);return r.queries=n,r.results=a,r.catch(function(e){!1!==globalThis.__DEV__&&P.debug(17,e)}),r},e.prototype.getObservableQueries=function(e){return void 0===e&&(e="active"),this.queryManager.getObservableQueries(e)},e.prototype.extract=function(e){return this.cache.extract(e)},e.prototype.restore=function(e){return this.cache.restore(e)},e.prototype.addResolvers=function(e){this.localState.addResolvers(e)},e.prototype.setResolvers=function(e){this.localState.setResolvers(e)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},e.prototype.setLink=function(e){this.link=this.queryManager.link=e},Object.defineProperty(e.prototype,"defaultContext",{get:function(){return this.queryManager.defaultContext},enumerable:!1,configurable:!0}),e}();!1!==globalThis.__DEV__&&(go.prototype.getMemoryInternals=Ft);var yo=new Map,bo=new Map,ko=!1;function wo(e){return e.replace(/[\s,]+/g," ").trim()}function xo(e){var t=new Set,n=[];return e.definitions.forEach(function(e){if("FragmentDefinition"===e.kind){var a=e.name.value,r=wo((o=e.loc).source.body.substring(o.start,o.end)),i=bo.get(a);i&&!i.has(r)||i||bo.set(a,i=new Set),i.add(r),t.has(r)||(t.add(r),n.push(e))}else n.push(e);var o}),m(m({},e),{definitions:n})}function So(e){var t=wo(e);if(!yo.has(t)){var n=function(e,t){const n=new qe(e,t),a=n.parseDocument();return Object.defineProperty(a,"tokenCount",{enumerable:!1,value:n.tokenCount}),a}(e,{experimentalFragmentVariables:ko,allowLegacyFragmentVariables:ko});if(!n||"Document"!==n.kind)throw new Error("Not a valid GraphQL document.");yo.set(t,function(e){var t=new Set(e.definitions);t.forEach(function(e){e.loc&&delete e.loc,Object.keys(e).forEach(function(n){var a=e[n];a&&"object"==typeof a&&t.add(a)})});var n=e.loc;return n&&(delete n.startToken,delete n.endToken),e}(xo(n)))}return yo.get(t)}function Eo(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];"string"==typeof e&&(e=[e]);var a=e[0];return t.forEach(function(t,n){t&&"Document"===t.kind?a+=t.loc.source.body:a+=t,a+=e[n+1]}),So(a)}var jo,To=Eo,Oo=function(){yo.clear(),bo.clear()},Co=function(){0},No=function(){ko=!0},Mo=function(){ko=!1};(jo=Eo||(Eo={})).gql=To,jo.resetCaches=Oo,jo.disableFragmentWarnings=Co,jo.enableExperimentalFragmentVariables=No,jo.disableExperimentalFragmentVariables=Mo,Eo.default=Eo;var Do,Ao={exports:{}};var Io,Po=(Do||(Do=1,(Io=Ao).exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=void 0,Io.exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=void 0,Io.exports.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=void 0,Object.assign(Io.exports,e)),Ao.exports);const Ro=t({__proto__:null,default:n(Po)},[Po]);var Fo=ht?Symbol.for("__APOLLO_CONTEXT__"):"__APOLLO_CONTEXT__";function zo(){P("createContext"in Ro,46);var e=Po.createContext[Fo];return e||(Object.defineProperty(Po.createContext,Fo,{value:e=Po.createContext({}),enumerable:!1,writable:!1,configurable:!0}),e.displayName="ApolloContext"),e}var Lo=function(e){var t=e.client,n=e.children,a=zo(),r=Po.useContext(a),i=Po.useMemo(function(){return m(m({},r),{client:t||r.client})},[r,t]);return P(i.client,47),Po.createElement(a.Provider,{value:i},n)};function qo(e){var t=Po.useContext(zo()),n=e||t.client;return P(!!n,50),n}var $o,Bo,Vo,Uo=!1,Wo=Ro.useSyncExternalStore||function(e,t,n){var a=t();!1===globalThis.__DEV__||Uo||a===t()||(Uo=!0,!1!==globalThis.__DEV__&&P.error(60));var r=Po.useState({inst:{value:a,getSnapshot:t}}),i=r[0].inst,o=r[1];return _t?Po.useLayoutEffect(function(){Object.assign(i,{value:a,getSnapshot:t}),Qo(i)&&o({inst:i})},[e,a,t]):Object.assign(i,{value:a,getSnapshot:t}),Po.useEffect(function(){return Qo(i)&&o({inst:i}),e(function(){Qo(i)&&o({inst:i})})},[e]),a};function Qo(e){var t=e.value,n=e.getSnapshot;try{return t!==n()}catch(a){return!0}}function Go(e){var t;switch(e){case $o.Query:t="Query";break;case $o.Mutation:t="Mutation";break;case $o.Subscription:t="Subscription"}return t}function Ho(e){Vo||(Vo=new Dt(It.parser||1e3));var t,n,a=Vo.get(e);if(a)return a;P(!!e&&!!e.kind,62,e);for(var r=[],i=[],o=[],s=[],c=0,u=e.definitions;c<u.length;c++){var l=u[c];if("FragmentDefinition"!==l.kind){if("OperationDefinition"===l.kind)switch(l.operation){case"query":i.push(l);break;case"mutation":o.push(l);break;case"subscription":s.push(l)}}else r.push(l)}P(!r.length||i.length||o.length||s.length,63),P(i.length+o.length+s.length<=1,64,e,i.length,s.length,o.length),n=i.length?$o.Query:$o.Mutation,i.length||o.length||(n=$o.Subscription);var d=i.length?i:o.length?o:s;P(1===d.length,65,e,d.length);var p=d[0];t=p.variableDefinitions||[];var h={name:p.name&&"Name"===p.name.kind?p.name.value:"data",type:n,variables:t};return Vo.set(e,h),h}function Ko(e,t){var n=Ho(e),a=Go(t),r=Go(n.type);P(n.type===t,66,a,a,r)}(Bo=$o||($o={}))[Bo.Query=0]="Query",Bo[Bo.Mutation=1]="Mutation",Bo[Bo.Subscription=2]="Subscription",Ho.resetCache=function(){Vo=void 0},!1!==globalThis.__DEV__&&Rt("parser",function(){return Vo?Vo.size:0});var Yo=ft?Po.useLayoutEffect:Po.useEffect,Jo=Symbol.for("apollo.hook.wrappers");var Xo=Object.prototype.hasOwnProperty;function Zo(){}var es=Symbol();function ts(e,t){return void 0===t&&(t=Object.create(null)),(n="useQuery",a=ns,r=qo(t&&t.client),i=r.queryManager,o=i&&i[Jo],(s=o&&o[n])?s(a):a)(e,t);var n,a,r,i,o,s}function ns(e,t){var n=function(e,t){var n=qo(t.client),a=Po.useContext(zo()).renderPromises,r=!!a,i=n.disableNetworkFetches,o=!1!==t.ssr&&!t.skip,s=t.partialRefetch,c=function(e,t,n,a){void 0===n&&(n={});var r=n.skip;n.ssr,n.onCompleted,n.onError;var i=n.defaultOptions,o=f(n,["skip","ssr","onCompleted","onError","defaultOptions"]);return function(n){var s=Object.assign(o,{query:t});return!a||"network-only"!==s.fetchPolicy&&"cache-and-network"!==s.fetchPolicy||(s.fetchPolicy="cache-first"),s.variables||(s.variables={}),r?(s.initialFetchPolicy=s.initialFetchPolicy||s.fetchPolicy||os(i,e.defaultOptions),s.fetchPolicy="standby"):s.fetchPolicy||(s.fetchPolicy=(null==n?void 0:n.options.initialFetchPolicy)||os(i,e.defaultOptions)),s}}(n,e,t,r),u=function(e,t,n,a,r){function i(i){var o;return Ko(t,$o.Query),{client:e,query:t,observable:a&&a.getSSRObservable(r())||e.watchQuery(as(void 0,e,n,r())),resultData:{previousData:null===(o=null==i?void 0:i.resultData.current)||void 0===o?void 0:o.data}}}var o=Po.useState(i),s=o[0],c=o[1];function u(e){var t,n;Object.assign(s.observable,((t={})[es]=e,t));var a=s.resultData;c(m(m({},s),{query:e.query,resultData:Object.assign(a,{previousData:(null===(n=a.current)||void 0===n?void 0:n.data)||a.previousData,current:void 0})}))}if(e!==s.client||t!==s.query){var l=i(s);return c(l),[l,u]}return[s,u]}(n,e,t,a,c),l=u[0],d=l.observable,p=l.resultData,h=u[1],v=c(d);!function(e,t,n,a,r){var i;t[es]&&!Ir(t[es],r)&&(t.reobserve(as(t,n,a,r)),e.previousData=(null===(i=e.current)||void 0===i?void 0:i.data)||e.previousData,e.current=void 0);t[es]=r}(p,d,n,t,v);var _=Po.useMemo(function(){return function(e){return{refetch:e.refetch.bind(e),reobserve:e.reobserve.bind(e),fetchMore:e.fetchMore.bind(e),updateQuery:e.updateQuery.bind(e),startPolling:e.startPolling.bind(e),stopPolling:e.stopPolling.bind(e),subscribeToMore:e.subscribeToMore.bind(e)}}(d)},[d]);!function(e,t,n){t&&n&&(t.registerSSRObservable(e),e.getCurrentResult().loading&&t.addObservableQueryPromise(e))}(d,a,o);var g=function(e,t,n,a,r,i,o,s,c){var u=Po.useRef(c);Po.useEffect(function(){u.current=c});var l=!s&&!i||!1!==a.ssr||a.skip?a.skip||"standby"===r.fetchPolicy?us:void 0:cs,d=e.previousData,p=Po.useMemo(function(){return l&&ss(l,d,t,n)},[n,t,l,d]);return Wo(Po.useCallback(function(a){if(s)return function(){};var r=function(){var r=e.current,i=t.getCurrentResult();r&&r.loading===i.loading&&r.networkStatus===i.networkStatus&&Ir(r.data,i.data)||rs(i,e,t,n,o,a,u.current)},i=function(s){if(c.current.unsubscribe(),c.current=t.resubscribeAfterError(r,i),!Xo.call(s,"graphQLErrors"))throw s;var l=e.current;(!l||l&&l.loading||!Ir(s,l.error))&&rs({data:l&&l.data,error:s,loading:!1,networkStatus:Yi.error},e,t,n,o,a,u.current)},c={current:t.subscribe(r,i)};return function(){setTimeout(function(){return c.current.unsubscribe()})}},[i,s,t,e,o,n]),function(){return p||is(e,t,u.current,o,n)},function(){return p||is(e,t,u.current,o,n)})}(p,d,n,t,v,i,s,r,{onCompleted:t.onCompleted||Zo,onError:t.onError||Zo});return{result:g,obsQueryFields:_,observable:d,resultData:p,client:n,onQueryExecuted:h}}(e,t),a=n.result,r=n.obsQueryFields;return Po.useMemo(function(){return m(m({},a),r)},[a,r])}function as(e,t,n,a){var r=[],i=t.defaultOptions.watchQuery;return i&&r.push(i),n.defaultOptions&&r.push(n.defaultOptions),r.push(ir(e&&e.options,a)),r.reduce(or)}function rs(e,t,n,a,r,i,o){var s=t.current;s&&s.data&&(t.previousData=s.data),!e.error&&sa(e.errors)&&(e.error=new yr({graphQLErrors:e.errors})),t.current=ss(function(e,t,n){if(e.partial&&n&&!e.loading&&(!e.data||0===Object.keys(e.data).length)&&"cache-only"!==t.options.fetchPolicy)return t.refetch(),m(m({},e),{loading:!0,networkStatus:Yi.refetch});return e}(e,n,r),t.previousData,n,a),i(),function(e,t,n){if(!e.loading){var a=function(e){return sa(e.errors)?new yr({graphQLErrors:e.errors}):e.error}(e);Promise.resolve().then(function(){a?n.onError(a):e.data&&t!==e.networkStatus&&e.networkStatus===Yi.ready&&n.onCompleted(e.data)}).catch(function(e){!1!==globalThis.__DEV__&&P.warn(e)})}}(e,null==s?void 0:s.networkStatus,o)}function is(e,t,n,a,r){return e.current||rs(t.getCurrentResult(),e,t,r,a,function(){},n),e.current}function os(e,t){var n;return(null==e?void 0:e.fetchPolicy)||(null===(n=null==t?void 0:t.watchQuery)||void 0===n?void 0:n.fetchPolicy)||"cache-first"}function ss(e,t,n,a){var r=e.data;e.partial;var i=f(e,["data","partial"]);return m(m({data:r},i),{client:a,observable:n,variables:n.variables,called:e!==cs&&e!==us,previousData:t})}var cs=Ha({loading:!0,data:void 0,error:void 0,networkStatus:Yi.loading}),us=Ha({loading:!1,data:void 0,error:void 0,networkStatus:Yi.ready});function ls(e,t){var n=qo(void 0);Ko(e,$o.Mutation);var a=Po.useState({called:!1,loading:!1,client:n}),r=a[0],i=a[1],o=Po.useRef({result:r,mutationId:0,isMounted:!0,client:n,mutation:e,options:t});Yo(function(){Object.assign(o.current,{client:n,options:t,mutation:e})});var s=Po.useCallback(function(e){void 0===e&&(e={});var t=o.current,n=t.options,a=t.mutation,r=m(m({},n),{mutation:a}),s=e.client||o.current.client;o.current.result.loading||r.ignoreResults||!o.current.isMounted||i(o.current.result={loading:!0,error:void 0,data:void 0,called:!0,client:s});var c=++o.current.mutationId,u=or(r,e);return s.mutate(u).then(function(t){var n,a,r=t.data,l=t.errors,d=l&&l.length>0?new yr({graphQLErrors:l}):void 0,p=e.onError||(null===(n=o.current.options)||void 0===n?void 0:n.onError);if(d&&p&&p(d,u),c===o.current.mutationId&&!u.ignoreResults){var h={called:!0,loading:!1,data:r,error:d,client:s};o.current.isMounted&&!Ir(o.current.result,h)&&i(o.current.result=h)}var m=e.onCompleted||(null===(a=o.current.options)||void 0===a?void 0:a.onCompleted);return d||null==m||m(t.data,u),t}).catch(function(t){var n;if(c===o.current.mutationId&&o.current.isMounted){var a={loading:!1,error:t,data:void 0,called:!0,client:s};Ir(o.current.result,a)||i(o.current.result=a)}var r=e.onError||(null===(n=o.current.options)||void 0===n?void 0:n.onError);if(r)return r(t,u),{data:void 0,errors:t};throw t})},[]),c=Po.useCallback(function(){if(o.current.isMounted){var e={called:!1,loading:!1,client:o.current.client};Object.assign(o.current,{mutationId:0,result:e}),i(e)}},[]);return Po.useEffect(function(){var e=o.current;return e.isMounted=!0,function(){e.isMounted=!1}},[]),[s,m({reset:c},r)]}const ds=Eo`
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).BukazuPortal=t(e.React)}(this,function(e){"use strict";function t(e,t){for(var n=0;n<t.length;n++){const a=t[n];if("string"!=typeof a&&!Array.isArray(a))for(const t in a)if("default"!==t&&!(t in e)){const n=Object.getOwnPropertyDescriptor(a,t);n&&Object.defineProperty(e,t,n.get?n:{enumerable:!0,get:()=>a[t]})}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}function n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var a,r={exports:{}},i={};var o,s,c={};function u(){return o||(o=1,"production"!==process.env.NODE_ENV&&function(){var t=e,n=Symbol.for("react.element"),a=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),u=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),f=Symbol.for("react.offscreen"),v=Symbol.iterator;var _=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function g(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];!function(e,t,n){var a=_.ReactDebugCurrentFrame.getStackAddendum();""!==a&&(t+="%s",n=n.concat([a]));var r=n.map(function(e){return String(e)});r.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,r)}("error",e,n)}var y;function b(e){return e.displayName||"Context"}function k(e){if(null==e)return null;if("number"==typeof e.tag&&g("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case r:return"Fragment";case a:return"Portal";case o:return"Profiler";case i:return"StrictMode";case d:return"Suspense";case p:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case u:return b(e)+".Consumer";case s:return b(e._context)+".Provider";case l:return function(e,t,n){var a=e.displayName;if(a)return a;var r=t.displayName||t.name||"";return""!==r?n+"("+r+")":n}(e,e.render,"ForwardRef");case h:var t=e.displayName||null;return null!==t?t:k(e.type)||"Memo";case m:var n=e,c=n._payload,f=n._init;try{return k(f(c))}catch(v){return null}}return null}y=Symbol.for("react.module.reference");var w,x,S,E,j,T,O,C=Object.assign,N=0;function M(){}M.__reactDisabledLog=!0;var D,A=_.ReactCurrentDispatcher;function I(e,t,n){if(void 0===D)try{throw Error()}catch(r){var a=r.stack.trim().match(/\n( *(at )?)/);D=a&&a[1]||""}return"\n"+D+e}var P,F=!1,R="function"==typeof WeakMap?WeakMap:Map;function z(e,t){if(!e||F)return"";var n,a=P.get(e);if(void 0!==a)return a;F=!0;var r,i=Error.prepareStackTrace;Error.prepareStackTrace=void 0,r=A.current,A.current=null,function(){if(0===N){w=console.log,x=console.info,S=console.warn,E=console.error,j=console.group,T=console.groupCollapsed,O=console.groupEnd;var e={configurable:!0,enumerable:!0,value:M,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}N++}();try{if(t){var o=function(){throw Error()};if(Object.defineProperty(o.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(o,[])}catch(m){n=m}Reflect.construct(e,[],o)}else{try{o.call()}catch(m){n=m}e.call(o.prototype)}}else{try{throw Error()}catch(m){n=m}e()}}catch(f){if(f&&n&&"string"==typeof f.stack){for(var s=f.stack.split("\n"),c=n.stack.split("\n"),u=s.length-1,l=c.length-1;u>=1&&l>=0&&s[u]!==c[l];)l--;for(;u>=1&&l>=0;u--,l--)if(s[u]!==c[l]){if(1!==u||1!==l)do{if(u--,--l<0||s[u]!==c[l]){var d="\n"+s[u].replace(" at new "," at ");return e.displayName&&d.includes("<anonymous>")&&(d=d.replace("<anonymous>",e.displayName)),"function"==typeof e&&P.set(e,d),d}}while(u>=1&&l>=0);break}}}finally{F=!1,A.current=r,function(){if(0===--N){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:C({},e,{value:w}),info:C({},e,{value:x}),warn:C({},e,{value:S}),error:C({},e,{value:E}),group:C({},e,{value:j}),groupCollapsed:C({},e,{value:T}),groupEnd:C({},e,{value:O})})}N<0&&g("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=i}var p=e?e.displayName||e.name:"",h=p?I(p):"";return"function"==typeof e&&P.set(e,h),h}function L(e,t,n){if(null==e)return"";if("function"==typeof e)return z(e,!(!(a=e.prototype)||!a.isReactComponent));var a;if("string"==typeof e)return I(e);switch(e){case d:return I("Suspense");case p:return I("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case l:return z(e.render,!1);case h:return L(e.type,t,n);case m:var r=e,i=r._payload,o=r._init;try{return L(o(i),t,n)}catch(s){}}return""}P=new R;var q=Object.prototype.hasOwnProperty,$={},B=_.ReactDebugCurrentFrame;function V(e){if(e){var t=e._owner,n=L(e.type,e._source,t?t.type:null);B.setExtraStackFrame(n)}else B.setExtraStackFrame(null)}var U=Array.isArray;function W(e){return U(e)}function Q(e){return""+e}function G(e){if(function(e){try{return Q(e),!1}catch(t){return!0}}(e))return g("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",function(e){return"function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}(e)),Q(e)}var H,K,Y=_.ReactCurrentOwner,J={key:!0,ref:!0,__self:!0,__source:!0};function X(e,t,a,r,i){var o,s={},c=null,u=null;for(o in void 0!==a&&(G(a),c=""+a),function(e){if(q.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}(t)&&(G(t.key),c=""+t.key),function(e){if(q.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return void 0!==e.ref}(t)&&(u=t.ref,function(e){"string"==typeof e.ref&&Y.current}(t)),t)q.call(t,o)&&!J.hasOwnProperty(o)&&(s[o]=t[o]);if(e&&e.defaultProps){var l=e.defaultProps;for(o in l)void 0===s[o]&&(s[o]=l[o])}if(c||u){var d="function"==typeof e?e.displayName||e.name||"Unknown":e;c&&function(e,t){var n=function(){H||(H=!0,g("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};n.isReactWarning=!0,Object.defineProperty(e,"key",{get:n,configurable:!0})}(s,d),u&&function(e,t){var n=function(){K||(K=!0,g("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};n.isReactWarning=!0,Object.defineProperty(e,"ref",{get:n,configurable:!0})}(s,d)}return function(e,t,a,r,i,o,s){var c={$$typeof:n,type:e,key:t,ref:a,props:s,_owner:o,_store:{}};return Object.defineProperty(c._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(c,"_self",{configurable:!1,enumerable:!1,writable:!1,value:r}),Object.defineProperty(c,"_source",{configurable:!1,enumerable:!1,writable:!1,value:i}),Object.freeze&&(Object.freeze(c.props),Object.freeze(c)),c}(e,c,u,i,r,Y.current,s)}var Z,ee=_.ReactCurrentOwner,te=_.ReactDebugCurrentFrame;function ne(e){if(e){var t=e._owner,n=L(e.type,e._source,t?t.type:null);te.setExtraStackFrame(n)}else te.setExtraStackFrame(null)}function ae(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}function re(){if(ee.current){var e=k(ee.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}Z=!1;var ie={};function oe(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var n=function(e){var t=re();if(!t){var n="string"==typeof e?e:e.displayName||e.name;n&&(t="\n\nCheck the top-level render call using <"+n+">.")}return t}(t);if(!ie[n]){ie[n]=!0;var a="";e&&e._owner&&e._owner!==ee.current&&(a=" It was passed a child from "+k(e._owner.type)+"."),ne(e),g('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',n,a),ne(null)}}}function se(e,t){if("object"==typeof e)if(W(e))for(var n=0;n<e.length;n++){var a=e[n];ae(a)&&oe(a,t)}else if(ae(e))e._store&&(e._store.validated=!0);else if(e){var r=function(e){if(null===e||"object"!=typeof e)return null;var t=v&&e[v]||e["@@iterator"];return"function"==typeof t?t:null}(e);if("function"==typeof r&&r!==e.entries)for(var i,o=r.call(e);!(i=o.next()).done;)ae(i.value)&&oe(i.value,t)}}function ce(e){var t,n=e.type;if(null!=n&&"string"!=typeof n){if("function"==typeof n)t=n.propTypes;else{if("object"!=typeof n||n.$$typeof!==l&&n.$$typeof!==h)return;t=n.propTypes}if(t){var a=k(n);!function(e,t,n,a,r){var i=Function.call.bind(q);for(var o in e)if(i(e,o)){var s=void 0;try{if("function"!=typeof e[o]){var c=Error((a||"React class")+": "+n+" type `"+o+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[o]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw c.name="Invariant Violation",c}s=e[o](t,o,a,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(u){s=u}!s||s instanceof Error||(V(r),g("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",a||"React class",n,o,typeof s),V(null)),s instanceof Error&&!(s.message in $)&&($[s.message]=!0,V(r),g("Failed %s type: %s",n,s.message),V(null))}}(t,e.props,"prop",a,e)}else if(void 0!==n.PropTypes&&!Z){Z=!0,g("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",k(n)||"Unknown")}"function"!=typeof n.getDefaultProps||n.getDefaultProps.isReactClassApproved||g("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}var ue={};function le(e,t,a,c,v,_){var b=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===o||e===i||e===d||e===p||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===s||e.$$typeof===u||e.$$typeof===l||e.$$typeof===y||void 0!==e.getModuleId)}(e);if(!b){var w="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(w+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var x;w+=re(),null===e?x="null":W(e)?x="array":void 0!==e&&e.$$typeof===n?(x="<"+(k(e.type)||"Unknown")+" />",w=" Did you accidentally export a JSX literal instead of a component?"):x=typeof e,g("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",x,w)}var S=X(e,t,a,v,_);if(null==S)return S;if(b){var E=t.children;if(void 0!==E)if(c)if(W(E)){for(var j=0;j<E.length;j++)se(E[j],e);Object.freeze&&Object.freeze(E)}else g("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else se(E,e)}if(q.call(t,"key")){var T=k(e),O=Object.keys(t).filter(function(e){return"key"!==e}),C=O.length>0?"{key: someKey, "+O.join(": ..., ")+": ...}":"{key: someKey}";if(!ue[T+C])g('A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',C,T,O.length>0?"{"+O.join(": ..., ")+": ...}":"{}",T),ue[T+C]=!0}return e===r?function(e){for(var t=Object.keys(e.props),n=0;n<t.length;n++){var a=t[n];if("children"!==a&&"key"!==a){ne(e),g("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",a),ne(null);break}}null!==e.ref&&(ne(e),g("Invalid attribute `ref` supplied to `React.Fragment`."),ne(null))}(S):ce(S),S}var de=function(e,t,n){return le(e,t,n,!1)},pe=function(e,t,n){return le(e,t,n,!0)};c.Fragment=r,c.jsx=de,c.jsxs=pe}()),c}var l=(s||(s=1,"production"===process.env.NODE_ENV?r.exports=function(){if(a)return i;a=1;var t=e,n=Symbol.for("react.element"),r=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,s=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,a){var r,i={},u=null,l=null;for(r in void 0!==a&&(u=""+a),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(l=t.ref),t)o.call(t,r)&&!c.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:n,type:e,key:u,ref:l,props:i,_owner:s.current}}return i.Fragment=r,i.jsx=u,i.jsxs=u,i}():r.exports=u()),r.exports);const d=()=>l.jsxs("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"24px",height:"30px",viewBox:"0 0 24 30",enableBackground:"new 0 0 50 50",xmlSpace:"preserve",children:[l.jsxs("rect",{x:"0",y:"10",width:"4",height:"10",fill:"#333",opacity:"0.2",children:[l.jsx("animate",{attributeName:"opacity",attributeType:"XML",values:"0.2; 1; .2",begin:"0s",dur:"0.6s",repeatCount:"indefinite"}),l.jsx("animate",{attributeName:"height",attributeType:"XML",values:"10; 20; 10",begin:"0s",dur:"0.6s",repeatCount:"indefinite"}),l.jsx("animate",{attributeName:"y",attributeType:"XML",values:"10; 5; 10",begin:"0s",dur:"0.6s",repeatCount:"indefinite"})]}),l.jsxs("rect",{x:"8",y:"10",width:"4",height:"10",fill:"#333",opacity:"0.2",children:[l.jsx("animate",{attributeName:"opacity",attributeType:"XML",values:"0.2; 1; .2",begin:"0.15s",dur:"0.6s",repeatCount:"indefinite"}),l.jsx("animate",{attributeName:"height",attributeType:"XML",values:"10; 20; 10",begin:"0.15s",dur:"0.6s",repeatCount:"indefinite"}),l.jsx("animate",{attributeName:"y",attributeType:"XML",values:"10; 5; 10",begin:"0.15s",dur:"0.6s",repeatCount:"indefinite"})]}),l.jsxs("rect",{x:"16",y:"10",width:"4",height:"10",fill:"#333",opacity:"0.2",children:[l.jsx("animate",{attributeName:"opacity",attributeType:"XML",values:"0.2; 1; .2",begin:"0.3s",dur:"0.6s",repeatCount:"indefinite"}),l.jsx("animate",{attributeName:"height",attributeType:"XML",values:"10; 20; 10",begin:"0.3s",dur:"0.6s",repeatCount:"indefinite"}),l.jsx("animate",{attributeName:"y",attributeType:"XML",values:"10; 5; 10",begin:"0.3s",dur:"0.6s",repeatCount:"indefinite"})]})]});var p=function(e,t){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function h(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}p(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var m=function(){return m=Object.assign||function(e){for(var t,n=1,a=arguments.length;n<a;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},m.apply(this,arguments)};function f(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n}function v(e,t,n,a){return new(n||(n=Promise))(function(r,i){function o(e){try{c(a.next(e))}catch(t){i(t)}}function s(e){try{c(a.throw(e))}catch(t){i(t)}}function c(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(o,s)}c((a=a.apply(e,t||[])).next())})}function _(e,t){var n,a,r,i,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(c){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(o=0)),o;)try{if(n=1,a&&(r=2&s[0]?a.return:s[0]?a.throw||((r=a.return)&&r.call(a),0):a.next)&&!(r=r.call(a,s[1])).done)return r;switch(a=0,r&&(s=[2&s[0],r.value]),s[0]){case 0:case 1:r=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,a=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(r=o.trys,(r=r.length>0&&r[r.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]<r[3])){o.label=s[1];break}if(6===s[0]&&o.label<r[1]){o.label=r[1],r=s;break}if(r&&o.label<r[2]){o.label=r[2],o.ops.push(s);break}r[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(c){s=[6,c],a=0}finally{n=r=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}}function g(e,t,n){if(n||2===arguments.length)for(var a,r=0,i=t.length;r<i;r++)!a&&r in t||(a||(a=Array.prototype.slice.call(t,0,r)),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}var y="Invariant Violation",b=Object.setPrototypeOf,k=void 0===b?function(e,t){return e.__proto__=t,e}:b,w=function(e){function t(n){void 0===n&&(n=y);var a=e.call(this,"number"==typeof n?y+": "+n+" (see https://github.com/apollographql/invariant-packages)":n)||this;return a.framesToPop=1,a.name=y,k(a,t.prototype),a}return h(t,e),t}(Error);function x(e,t){if(!e)throw new w(t)}var S,E=["debug","log","warn","error","silent"],j=E.indexOf("log");function T(e){return function(){if(E.indexOf(e)>=j)return(console[e]||console.log).apply(console,arguments)}}(S=x||(x={})).debug=T("debug"),S.log=T("log"),S.warn=T("warn"),S.error=T("error");var O="3.11.8";function C(e){try{return e()}catch(t){}}const N=C(function(){return globalThis})||C(function(){return window})||C(function(){return self})||C(function(){return global})||C(function(){return C.constructor("return this")()});var M=new Map;function D(e){var t=M.get(e)||1;return M.set(e,t+1),"".concat(e,":").concat(t,":").concat(Math.random().toString(36).slice(2))}function A(e,t){void 0===t&&(t=0);var n=D("stringifyForDisplay");return JSON.stringify(e,function(e,t){return void 0===t?n:t},t).split(JSON.stringify(n)).join("<undefined>")}function I(e){return function(t){for(var n=[],a=1;a<arguments.length;a++)n[a-1]=arguments[a];if("number"==typeof t){var r=t;(t=L(r))||(t=q(r,n),n=[])}e.apply(void 0,[t].concat(n))}}var P=Object.assign(function(e,t){for(var n=[],a=2;a<arguments.length;a++)n[a-2]=arguments[a];e||x(e,L(t,n)||q(t,n))},{debug:I(x.debug),log:I(x.log),warn:I(x.warn),error:I(x.error)});function F(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return new w(L(e,t)||q(e,t))}var R=Symbol.for("ApolloErrorMessageHandler_"+O);function z(e){if("string"==typeof e)return e;try{return A(e,2).slice(0,1e3)}catch(t){return"<non-serializable>"}}function L(e,t){if(void 0===t&&(t=[]),e)return N[R]&&N[R](e,t.map(z))}function q(e,t){if(void 0===t&&(t=[]),e)return"An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#".concat(encodeURIComponent(JSON.stringify({version:O,message:e,args:t.map(z)})))}function $(e,t){if(!Boolean(e))throw new Error(t)}function B(e,t){if(!Boolean(e))throw new Error("Unexpected invariant triggered.")}const V=/\r\n|[\n\r]/g;function U(e,t){let n=0,a=1;for(const r of e.body.matchAll(V)){if("number"==typeof r.index||B(!1),r.index>=t)break;n=r.index+r[0].length,a+=1}return{line:a,column:t+1-n}}function W(e){return Q(e.source,U(e.source,e.start))}function Q(e,t){const n=e.locationOffset.column-1,a="".padStart(n)+e.body,r=t.line-1,i=e.locationOffset.line-1,o=t.line+i,s=1===t.line?n:0,c=t.column+s,u=`${e.name}:${o}:${c}\n`,l=a.split(/\r\n|[\n\r]/g),d=l[r];if(d.length>120){const e=Math.floor(c/80),t=c%80,n=[];for(let a=0;a<d.length;a+=80)n.push(d.slice(a,a+80));return u+G([[`${o} |`,n[0]],...n.slice(1,e+1).map(e=>["|",e]),["|","^".padStart(t)],["|",n[e+1]]])}return u+G([[o-1+" |",l[r-1]],[`${o} |`,d],["|","^".padStart(c)],[`${o+1} |`,l[r+1]]])}function G(e){const t=e.filter(([e,t])=>void 0!==t),n=Math.max(...t.map(([e])=>e.length));return t.map(([e,t])=>e.padStart(n)+(t?" "+t:"")).join("\n")}class H extends Error{constructor(e,...t){var n,a,r;const{nodes:i,source:o,positions:s,path:c,originalError:u,extensions:l}=function(e){const t=e[0];return null==t||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}(t);super(e),this.name="GraphQLError",this.path=null!=c?c:void 0,this.originalError=null!=u?u:void 0,this.nodes=K(Array.isArray(i)?i:i?[i]:void 0);const d=K(null===(n=this.nodes)||void 0===n?void 0:n.map(e=>e.loc).filter(e=>null!=e));this.source=null!=o?o:null==d||null===(a=d[0])||void 0===a?void 0:a.source,this.positions=null!=s?s:null==d?void 0:d.map(e=>e.start),this.locations=s&&o?s.map(e=>U(o,e)):null==d?void 0:d.map(e=>U(e.source,e.start));const p="object"==typeof(h=null==u?void 0:u.extensions)&&null!==h?null==u?void 0:u.extensions:void 0;var h;this.extensions=null!==(r=null!=l?l:p)&&void 0!==r?r:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=u&&u.stack?Object.defineProperty(this,"stack",{value:u.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,H):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let e=this.message;if(this.nodes)for(const t of this.nodes)t.loc&&(e+="\n\n"+W(t.loc));else if(this.source&&this.locations)for(const t of this.locations)e+="\n\n"+Q(this.source,t);return e}toJSON(){const e={message:this.message};return null!=this.locations&&(e.locations=this.locations),null!=this.path&&(e.path=this.path),null!=this.extensions&&Object.keys(this.extensions).length>0&&(e.extensions=this.extensions),e}}function K(e){return void 0===e||0===e.length?void 0:e}function Y(e,t,n){return new H(`Syntax Error: ${n}`,{source:e,positions:[t]})}class J{constructor(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class X{constructor(e,t,n,a,r,i){this.kind=e,this.start=t,this.end=n,this.line=a,this.column=r,this.value=i,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}const Z={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"]},ee=new Set(Object.keys(Z));function te(e){const t=null==e?void 0:e.kind;return"string"==typeof t&&ee.has(t)}var ne,ae,re,ie,oe,se,ce,ue;function le(e){return 9===e||32===e}function de(e){return e>=48&&e<=57}function pe(e){return e>=97&&e<=122||e>=65&&e<=90}function he(e){return pe(e)||95===e}function me(e){return pe(e)||de(e)||95===e}function fe(e){var t;let n=Number.MAX_SAFE_INTEGER,a=null,r=-1;for(let o=0;o<e.length;++o){var i;const t=e[o],s=ve(t);s!==t.length&&(a=null!==(i=a)&&void 0!==i?i:o,r=o,0!==o&&s<n&&(n=s))}return e.map((e,t)=>0===t?e:e.slice(n)).slice(null!==(t=a)&&void 0!==t?t:0,r+1)}function ve(e){let t=0;for(;t<e.length&&le(e.charCodeAt(t));)++t;return t}(ae=ne||(ne={})).QUERY="query",ae.MUTATION="mutation",ae.SUBSCRIPTION="subscription",(ie=re||(re={})).QUERY="QUERY",ie.MUTATION="MUTATION",ie.SUBSCRIPTION="SUBSCRIPTION",ie.FIELD="FIELD",ie.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",ie.FRAGMENT_SPREAD="FRAGMENT_SPREAD",ie.INLINE_FRAGMENT="INLINE_FRAGMENT",ie.VARIABLE_DEFINITION="VARIABLE_DEFINITION",ie.SCHEMA="SCHEMA",ie.SCALAR="SCALAR",ie.OBJECT="OBJECT",ie.FIELD_DEFINITION="FIELD_DEFINITION",ie.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",ie.INTERFACE="INTERFACE",ie.UNION="UNION",ie.ENUM="ENUM",ie.ENUM_VALUE="ENUM_VALUE",ie.INPUT_OBJECT="INPUT_OBJECT",ie.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION",(se=oe||(oe={})).NAME="Name",se.DOCUMENT="Document",se.OPERATION_DEFINITION="OperationDefinition",se.VARIABLE_DEFINITION="VariableDefinition",se.SELECTION_SET="SelectionSet",se.FIELD="Field",se.ARGUMENT="Argument",se.FRAGMENT_SPREAD="FragmentSpread",se.INLINE_FRAGMENT="InlineFragment",se.FRAGMENT_DEFINITION="FragmentDefinition",se.VARIABLE="Variable",se.INT="IntValue",se.FLOAT="FloatValue",se.STRING="StringValue",se.BOOLEAN="BooleanValue",se.NULL="NullValue",se.ENUM="EnumValue",se.LIST="ListValue",se.OBJECT="ObjectValue",se.OBJECT_FIELD="ObjectField",se.DIRECTIVE="Directive",se.NAMED_TYPE="NamedType",se.LIST_TYPE="ListType",se.NON_NULL_TYPE="NonNullType",se.SCHEMA_DEFINITION="SchemaDefinition",se.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",se.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",se.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",se.FIELD_DEFINITION="FieldDefinition",se.INPUT_VALUE_DEFINITION="InputValueDefinition",se.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",se.UNION_TYPE_DEFINITION="UnionTypeDefinition",se.ENUM_TYPE_DEFINITION="EnumTypeDefinition",se.ENUM_VALUE_DEFINITION="EnumValueDefinition",se.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",se.DIRECTIVE_DEFINITION="DirectiveDefinition",se.SCHEMA_EXTENSION="SchemaExtension",se.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",se.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",se.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",se.UNION_TYPE_EXTENSION="UnionTypeExtension",se.ENUM_TYPE_EXTENSION="EnumTypeExtension",se.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension",(ue=ce||(ce={})).SOF="<SOF>",ue.EOF="<EOF>",ue.BANG="!",ue.DOLLAR="$",ue.AMP="&",ue.PAREN_L="(",ue.PAREN_R=")",ue.SPREAD="...",ue.COLON=":",ue.EQUALS="=",ue.AT="@",ue.BRACKET_L="[",ue.BRACKET_R="]",ue.BRACE_L="{",ue.PIPE="|",ue.BRACE_R="}",ue.NAME="Name",ue.INT="Int",ue.FLOAT="Float",ue.STRING="String",ue.BLOCK_STRING="BlockString",ue.COMMENT="Comment";class _e{constructor(e){const t=new X(ce.SOF,0,0,0,0);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){this.lastToken=this.token;return this.token=this.lookahead()}lookahead(){let e=this.token;if(e.kind!==ce.EOF)do{if(e.next)e=e.next;else{const t=Se(this,e.end);e.next=t,t.prev=e,e=t}}while(e.kind===ce.COMMENT);return e}}function ge(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function ye(e,t){return be(e.charCodeAt(t))&&ke(e.charCodeAt(t+1))}function be(e){return e>=55296&&e<=56319}function ke(e){return e>=56320&&e<=57343}function we(e,t){const n=e.source.body.codePointAt(t);if(void 0===n)return ce.EOF;if(n>=32&&n<=126){const e=String.fromCodePoint(n);return'"'===e?"'\"'":`"${e}"`}return"U+"+n.toString(16).toUpperCase().padStart(4,"0")}function xe(e,t,n,a,r){const i=e.line,o=1+n-e.lineStart;return new X(t,n,a,i,o,r)}function Se(e,t){const n=e.source.body,a=n.length;let r=t;for(;r<a;){const t=n.charCodeAt(r);switch(t){case 65279:case 9:case 32:case 44:++r;continue;case 10:++r,++e.line,e.lineStart=r;continue;case 13:10===n.charCodeAt(r+1)?r+=2:++r,++e.line,e.lineStart=r;continue;case 35:return Ee(e,r);case 33:return xe(e,ce.BANG,r,r+1);case 36:return xe(e,ce.DOLLAR,r,r+1);case 38:return xe(e,ce.AMP,r,r+1);case 40:return xe(e,ce.PAREN_L,r,r+1);case 41:return xe(e,ce.PAREN_R,r,r+1);case 46:if(46===n.charCodeAt(r+1)&&46===n.charCodeAt(r+2))return xe(e,ce.SPREAD,r,r+3);break;case 58:return xe(e,ce.COLON,r,r+1);case 61:return xe(e,ce.EQUALS,r,r+1);case 64:return xe(e,ce.AT,r,r+1);case 91:return xe(e,ce.BRACKET_L,r,r+1);case 93:return xe(e,ce.BRACKET_R,r,r+1);case 123:return xe(e,ce.BRACE_L,r,r+1);case 124:return xe(e,ce.PIPE,r,r+1);case 125:return xe(e,ce.BRACE_R,r,r+1);case 34:return 34===n.charCodeAt(r+1)&&34===n.charCodeAt(r+2)?Ie(e,r):Oe(e,r)}if(de(t)||45===t)return je(e,r,t);if(he(t))return Pe(e,r);throw Y(e.source,r,39===t?"Unexpected single quote character ('), did you mean to use a double quote (\")?":ge(t)||ye(n,r)?`Unexpected character: ${we(e,r)}.`:`Invalid character: ${we(e,r)}.`)}return xe(e,ce.EOF,a,a)}function Ee(e,t){const n=e.source.body,a=n.length;let r=t+1;for(;r<a;){const e=n.charCodeAt(r);if(10===e||13===e)break;if(ge(e))++r;else{if(!ye(n,r))break;r+=2}}return xe(e,ce.COMMENT,t,r,n.slice(t+1,r))}function je(e,t,n){const a=e.source.body;let r=t,i=n,o=!1;if(45===i&&(i=a.charCodeAt(++r)),48===i){if(i=a.charCodeAt(++r),de(i))throw Y(e.source,r,`Invalid number, unexpected digit after 0: ${we(e,r)}.`)}else r=Te(e,r,i),i=a.charCodeAt(r);if(46===i&&(o=!0,i=a.charCodeAt(++r),r=Te(e,r,i),i=a.charCodeAt(r)),69!==i&&101!==i||(o=!0,i=a.charCodeAt(++r),43!==i&&45!==i||(i=a.charCodeAt(++r)),r=Te(e,r,i),i=a.charCodeAt(r)),46===i||he(i))throw Y(e.source,r,`Invalid number, expected digit but got: ${we(e,r)}.`);return xe(e,o?ce.FLOAT:ce.INT,t,r,a.slice(t,r))}function Te(e,t,n){if(!de(n))throw Y(e.source,t,`Invalid number, expected digit but got: ${we(e,t)}.`);const a=e.source.body;let r=t+1;for(;de(a.charCodeAt(r));)++r;return r}function Oe(e,t){const n=e.source.body,a=n.length;let r=t+1,i=r,o="";for(;r<a;){const a=n.charCodeAt(r);if(34===a)return o+=n.slice(i,r),xe(e,ce.STRING,t,r+1,o);if(92===a){o+=n.slice(i,r);const t=117===n.charCodeAt(r+1)?123===n.charCodeAt(r+2)?Ce(e,r):Ne(e,r):Ae(e,r);o+=t.value,r+=t.size,i=r;continue}if(10===a||13===a)break;if(ge(a))++r;else{if(!ye(n,r))throw Y(e.source,r,`Invalid character within String: ${we(e,r)}.`);r+=2}}throw Y(e.source,r,"Unterminated string.")}function Ce(e,t){const n=e.source.body;let a=0,r=3;for(;r<12;){const e=n.charCodeAt(t+r++);if(125===e){if(r<5||!ge(a))break;return{value:String.fromCodePoint(a),size:r}}if(a=a<<4|De(e),a<0)break}throw Y(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+r)}".`)}function Ne(e,t){const n=e.source.body,a=Me(n,t+2);if(ge(a))return{value:String.fromCodePoint(a),size:6};if(be(a)&&92===n.charCodeAt(t+6)&&117===n.charCodeAt(t+7)){const e=Me(n,t+8);if(ke(e))return{value:String.fromCodePoint(a,e),size:12}}throw Y(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+6)}".`)}function Me(e,t){return De(e.charCodeAt(t))<<12|De(e.charCodeAt(t+1))<<8|De(e.charCodeAt(t+2))<<4|De(e.charCodeAt(t+3))}function De(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function Ae(e,t){const n=e.source.body;switch(n.charCodeAt(t+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:"\n",size:2};case 114:return{value:"\r",size:2};case 116:return{value:"\t",size:2}}throw Y(e.source,t,`Invalid character escape sequence: "${n.slice(t,t+2)}".`)}function Ie(e,t){const n=e.source.body,a=n.length;let r=e.lineStart,i=t+3,o=i,s="";const c=[];for(;i<a;){const a=n.charCodeAt(i);if(34===a&&34===n.charCodeAt(i+1)&&34===n.charCodeAt(i+2)){s+=n.slice(o,i),c.push(s);const a=xe(e,ce.BLOCK_STRING,t,i+3,fe(c).join("\n"));return e.line+=c.length-1,e.lineStart=r,a}if(92!==a||34!==n.charCodeAt(i+1)||34!==n.charCodeAt(i+2)||34!==n.charCodeAt(i+3))if(10!==a&&13!==a)if(ge(a))++i;else{if(!ye(n,i))throw Y(e.source,i,`Invalid character within String: ${we(e,i)}.`);i+=2}else s+=n.slice(o,i),c.push(s),13===a&&10===n.charCodeAt(i+1)?i+=2:++i,s="",o=i,r=i;else s+=n.slice(o,i),o=i+1,i+=4}throw Y(e.source,i,"Unterminated string.")}function Pe(e,t){const n=e.source.body,a=n.length;let r=t+1;for(;r<a;){if(!me(n.charCodeAt(r)))break;++r}return xe(e,ce.NAME,t,r,n.slice(t,r))}function Fe(e){return Re(e,[])}function Re(e,t){switch(typeof e){case"string":return JSON.stringify(e);case"function":return e.name?`[function ${e.name}]`:"[function]";case"object":return function(e,t){if(null===e)return"null";if(t.includes(e))return"[Circular]";const n=[...t,e];if(function(e){return"function"==typeof e.toJSON}(e)){const t=e.toJSON();if(t!==e)return"string"==typeof t?t:Re(t,n)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return"[]";if(t.length>2)return"[Array]";const n=Math.min(10,e.length),a=e.length-n,r=[];for(let i=0;i<n;++i)r.push(Re(e[i],t));1===a?r.push("... 1 more item"):a>1&&r.push(`... ${a} more items`);return"["+r.join(", ")+"]"}(e,n);return function(e,t){const n=Object.entries(e);if(0===n.length)return"{}";if(t.length>2)return"["+function(e){const t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){const t=e.constructor.name;if("string"==typeof t&&""!==t)return t}return t}(e)+"]";const a=n.map(([e,n])=>e+": "+Re(n,t));return"{ "+a.join(", ")+" }"}(e,n)}(e,t);default:return String(e)}}const ze=globalThis.process&&"production"===process.env.NODE_ENV?function(e,t){return e instanceof t}:function(e,t){if(e instanceof t)return!0;if("object"==typeof e&&null!==e){var n;const a=t.prototype[Symbol.toStringTag];if(a===(Symbol.toStringTag in e?e[Symbol.toStringTag]:null===(n=e.constructor)||void 0===n?void 0:n.name)){const t=Fe(e);throw new Error(`Cannot use ${a} "${t}" from another module or realm.\n\nEnsure that there is only one instance of "graphql" in the node_modules\ndirectory. If different versions of "graphql" are the dependencies of other\nrelied on modules, use "resolutions" to ensure only one version is installed.\n\nhttps://yarnpkg.com/en/docs/selective-version-resolutions\n\nDuplicate "graphql" modules cannot be used at the same time since different\nversions may have different capabilities and behavior. The data from one\nversion used in the function from another could produce confusing and\nspurious results.`)}}return!1};class Le{constructor(e,t="GraphQL request",n={line:1,column:1}){"string"==typeof e||$(!1,`Body must be a string. Received: ${Fe(e)}.`),this.body=e,this.name=t,this.locationOffset=n,this.locationOffset.line>0||$(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||$(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}let qe=class{constructor(e,t={}){const n=function(e){return ze(e,Le)}(e)?e:new Le(e);this._lexer=new _e(n),this._options=t,this._tokenCounter=0}get tokenCount(){return this._tokenCounter}parseName(){const e=this.expectToken(ce.NAME);return this.node(e,{kind:oe.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:oe.DOCUMENT,definitions:this.many(ce.SOF,this.parseDefinition,ce.EOF)})}parseDefinition(){if(this.peek(ce.BRACE_L))return this.parseOperationDefinition();const e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(t.kind===ce.NAME){switch(t.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()}if(e)throw Y(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(t.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(t)}parseOperationDefinition(){const e=this._lexer.token;if(this.peek(ce.BRACE_L))return this.node(e,{kind:oe.OPERATION_DEFINITION,operation:ne.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});const t=this.parseOperationType();let n;return this.peek(ce.NAME)&&(n=this.parseName()),this.node(e,{kind:oe.OPERATION_DEFINITION,operation:t,name:n,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){const e=this.expectToken(ce.NAME);switch(e.value){case"query":return ne.QUERY;case"mutation":return ne.MUTATION;case"subscription":return ne.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(ce.PAREN_L,this.parseVariableDefinition,ce.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:oe.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(ce.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(ce.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){const e=this._lexer.token;return this.expectToken(ce.DOLLAR),this.node(e,{kind:oe.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:oe.SELECTION_SET,selections:this.many(ce.BRACE_L,this.parseSelection,ce.BRACE_R)})}parseSelection(){return this.peek(ce.SPREAD)?this.parseFragment():this.parseField()}parseField(){const e=this._lexer.token,t=this.parseName();let n,a;return this.expectOptionalToken(ce.COLON)?(n=t,a=this.parseName()):a=t,this.node(e,{kind:oe.FIELD,alias:n,name:a,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(ce.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){const t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(ce.PAREN_L,t,ce.PAREN_R)}parseArgument(e=!1){const t=this._lexer.token,n=this.parseName();return this.expectToken(ce.COLON),this.node(t,{kind:oe.ARGUMENT,name:n,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){const e=this._lexer.token;this.expectToken(ce.SPREAD);const t=this.expectOptionalKeyword("on");return!t&&this.peek(ce.NAME)?this.node(e,{kind:oe.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:oe.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){const e=this._lexer.token;return this.expectKeyword("fragment"),!0===this._options.allowLegacyFragmentVariables?this.node(e,{kind:oe.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(e,{kind:oe.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()}parseValueLiteral(e){const t=this._lexer.token;switch(t.kind){case ce.BRACKET_L:return this.parseList(e);case ce.BRACE_L:return this.parseObject(e);case ce.INT:return this.advanceLexer(),this.node(t,{kind:oe.INT,value:t.value});case ce.FLOAT:return this.advanceLexer(),this.node(t,{kind:oe.FLOAT,value:t.value});case ce.STRING:case ce.BLOCK_STRING:return this.parseStringLiteral();case ce.NAME:switch(this.advanceLexer(),t.value){case"true":return this.node(t,{kind:oe.BOOLEAN,value:!0});case"false":return this.node(t,{kind:oe.BOOLEAN,value:!1});case"null":return this.node(t,{kind:oe.NULL});default:return this.node(t,{kind:oe.ENUM,value:t.value})}case ce.DOLLAR:if(e){if(this.expectToken(ce.DOLLAR),this._lexer.token.kind===ce.NAME){const e=this._lexer.token.value;throw Y(this._lexer.source,t.start,`Unexpected variable "$${e}" in constant value.`)}throw this.unexpected(t)}return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){const e=this._lexer.token;return this.advanceLexer(),this.node(e,{kind:oe.STRING,value:e.value,block:e.kind===ce.BLOCK_STRING})}parseList(e){return this.node(this._lexer.token,{kind:oe.LIST,values:this.any(ce.BRACKET_L,()=>this.parseValueLiteral(e),ce.BRACKET_R)})}parseObject(e){return this.node(this._lexer.token,{kind:oe.OBJECT,fields:this.any(ce.BRACE_L,()=>this.parseObjectField(e),ce.BRACE_R)})}parseObjectField(e){const t=this._lexer.token,n=this.parseName();return this.expectToken(ce.COLON),this.node(t,{kind:oe.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e)})}parseDirectives(e){const t=[];for(;this.peek(ce.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){const t=this._lexer.token;return this.expectToken(ce.AT),this.node(t,{kind:oe.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){const e=this._lexer.token;let t;if(this.expectOptionalToken(ce.BRACKET_L)){const n=this.parseTypeReference();this.expectToken(ce.BRACKET_R),t=this.node(e,{kind:oe.LIST_TYPE,type:n})}else t=this.parseNamedType();return this.expectOptionalToken(ce.BANG)?this.node(e,{kind:oe.NON_NULL_TYPE,type:t}):t}parseNamedType(){return this.node(this._lexer.token,{kind:oe.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(ce.STRING)||this.peek(ce.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");const n=this.parseConstDirectives(),a=this.many(ce.BRACE_L,this.parseOperationTypeDefinition,ce.BRACE_R);return this.node(e,{kind:oe.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:a})}parseOperationTypeDefinition(){const e=this._lexer.token,t=this.parseOperationType();this.expectToken(ce.COLON);const n=this.parseNamedType();return this.node(e,{kind:oe.OPERATION_TYPE_DEFINITION,operation:t,type:n})}parseScalarTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");const n=this.parseName(),a=this.parseConstDirectives();return this.node(e,{kind:oe.SCALAR_TYPE_DEFINITION,description:t,name:n,directives:a})}parseObjectTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");const n=this.parseName(),a=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),i=this.parseFieldsDefinition();return this.node(e,{kind:oe.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:a,directives:r,fields:i})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(ce.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(ce.BRACE_L,this.parseFieldDefinition,ce.BRACE_R)}parseFieldDefinition(){const e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),a=this.parseArgumentDefs();this.expectToken(ce.COLON);const r=this.parseTypeReference(),i=this.parseConstDirectives();return this.node(e,{kind:oe.FIELD_DEFINITION,description:t,name:n,arguments:a,type:r,directives:i})}parseArgumentDefs(){return this.optionalMany(ce.PAREN_L,this.parseInputValueDef,ce.PAREN_R)}parseInputValueDef(){const e=this._lexer.token,t=this.parseDescription(),n=this.parseName();this.expectToken(ce.COLON);const a=this.parseTypeReference();let r;this.expectOptionalToken(ce.EQUALS)&&(r=this.parseConstValueLiteral());const i=this.parseConstDirectives();return this.node(e,{kind:oe.INPUT_VALUE_DEFINITION,description:t,name:n,type:a,defaultValue:r,directives:i})}parseInterfaceTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");const n=this.parseName(),a=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),i=this.parseFieldsDefinition();return this.node(e,{kind:oe.INTERFACE_TYPE_DEFINITION,description:t,name:n,interfaces:a,directives:r,fields:i})}parseUnionTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");const n=this.parseName(),a=this.parseConstDirectives(),r=this.parseUnionMemberTypes();return this.node(e,{kind:oe.UNION_TYPE_DEFINITION,description:t,name:n,directives:a,types:r})}parseUnionMemberTypes(){return this.expectOptionalToken(ce.EQUALS)?this.delimitedMany(ce.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");const n=this.parseName(),a=this.parseConstDirectives(),r=this.parseEnumValuesDefinition();return this.node(e,{kind:oe.ENUM_TYPE_DEFINITION,description:t,name:n,directives:a,values:r})}parseEnumValuesDefinition(){return this.optionalMany(ce.BRACE_L,this.parseEnumValueDefinition,ce.BRACE_R)}parseEnumValueDefinition(){const e=this._lexer.token,t=this.parseDescription(),n=this.parseEnumValueName(),a=this.parseConstDirectives();return this.node(e,{kind:oe.ENUM_VALUE_DEFINITION,description:t,name:n,directives:a})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw Y(this._lexer.source,this._lexer.token.start,`${$e(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");const n=this.parseName(),a=this.parseConstDirectives(),r=this.parseInputFieldsDefinition();return this.node(e,{kind:oe.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:a,fields:r})}parseInputFieldsDefinition(){return this.optionalMany(ce.BRACE_L,this.parseInputValueDef,ce.BRACE_R)}parseTypeSystemExtension(){const e=this._lexer.lookahead();if(e.kind===ce.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)}parseSchemaExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");const t=this.parseConstDirectives(),n=this.optionalMany(ce.BRACE_L,this.parseOperationTypeDefinition,ce.BRACE_R);if(0===t.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:oe.SCHEMA_EXTENSION,directives:t,operationTypes:n})}parseScalarTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");const t=this.parseName(),n=this.parseConstDirectives();if(0===n.length)throw this.unexpected();return this.node(e,{kind:oe.SCALAR_TYPE_EXTENSION,name:t,directives:n})}parseObjectTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");const t=this.parseName(),n=this.parseImplementsInterfaces(),a=this.parseConstDirectives(),r=this.parseFieldsDefinition();if(0===n.length&&0===a.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:oe.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:a,fields:r})}parseInterfaceTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");const t=this.parseName(),n=this.parseImplementsInterfaces(),a=this.parseConstDirectives(),r=this.parseFieldsDefinition();if(0===n.length&&0===a.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:oe.INTERFACE_TYPE_EXTENSION,name:t,interfaces:n,directives:a,fields:r})}parseUnionTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");const t=this.parseName(),n=this.parseConstDirectives(),a=this.parseUnionMemberTypes();if(0===n.length&&0===a.length)throw this.unexpected();return this.node(e,{kind:oe.UNION_TYPE_EXTENSION,name:t,directives:n,types:a})}parseEnumTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");const t=this.parseName(),n=this.parseConstDirectives(),a=this.parseEnumValuesDefinition();if(0===n.length&&0===a.length)throw this.unexpected();return this.node(e,{kind:oe.ENUM_TYPE_EXTENSION,name:t,directives:n,values:a})}parseInputObjectTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");const t=this.parseName(),n=this.parseConstDirectives(),a=this.parseInputFieldsDefinition();if(0===n.length&&0===a.length)throw this.unexpected();return this.node(e,{kind:oe.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:a})}parseDirectiveDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(ce.AT);const n=this.parseName(),a=this.parseArgumentDefs(),r=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");const i=this.parseDirectiveLocations();return this.node(e,{kind:oe.DIRECTIVE_DEFINITION,description:t,name:n,arguments:a,repeatable:r,locations:i})}parseDirectiveLocations(){return this.delimitedMany(ce.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){const e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(re,t.value))return t;throw this.unexpected(e)}node(e,t){return!0!==this._options.noLocation&&(t.loc=new J(e,this._lexer.lastToken,this._lexer.source)),t}peek(e){return this._lexer.token.kind===e}expectToken(e){const t=this._lexer.token;if(t.kind===e)return this.advanceLexer(),t;throw Y(this._lexer.source,t.start,`Expected ${Be(e)}, found ${$e(t)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e&&(this.advanceLexer(),!0)}expectKeyword(e){const t=this._lexer.token;if(t.kind!==ce.NAME||t.value!==e)throw Y(this._lexer.source,t.start,`Expected "${e}", found ${$e(t)}.`);this.advanceLexer()}expectOptionalKeyword(e){const t=this._lexer.token;return t.kind===ce.NAME&&t.value===e&&(this.advanceLexer(),!0)}unexpected(e){const t=null!=e?e:this._lexer.token;return Y(this._lexer.source,t.start,`Unexpected ${$e(t)}.`)}any(e,t,n){this.expectToken(e);const a=[];for(;!this.expectOptionalToken(n);)a.push(t.call(this));return a}optionalMany(e,t,n){if(this.expectOptionalToken(e)){const e=[];do{e.push(t.call(this))}while(!this.expectOptionalToken(n));return e}return[]}many(e,t,n){this.expectToken(e);const a=[];do{a.push(t.call(this))}while(!this.expectOptionalToken(n));return a}delimitedMany(e,t){this.expectOptionalToken(e);const n=[];do{n.push(t.call(this))}while(this.expectOptionalToken(e));return n}advanceLexer(){const{maxTokens:e}=this._options,t=this._lexer.advance();if(t.kind!==ce.EOF&&(++this._tokenCounter,void 0!==e&&this._tokenCounter>e))throw Y(this._lexer.source,t.start,`Document contains more that ${e} tokens. Parsing aborted.`)}};function $e(e){const t=e.value;return Be(e.kind)+(null!=t?` "${t}"`:"")}function Be(e){return function(e){return e===ce.BANG||e===ce.DOLLAR||e===ce.AMP||e===ce.PAREN_L||e===ce.PAREN_R||e===ce.SPREAD||e===ce.COLON||e===ce.EQUALS||e===ce.AT||e===ce.BRACKET_L||e===ce.BRACKET_R||e===ce.BRACE_L||e===ce.PIPE||e===ce.BRACE_R}(e)?`"${e}"`:e}const Ve=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function Ue(e){return We[e.charCodeAt(0)]}const We=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"],Qe=Object.freeze({});function Ge(e,t,n=Z){const a=new Map;for(const _ of Object.values(oe))a.set(_,He(t,_));let r,i,o,s=Array.isArray(e),c=[e],u=-1,l=[],d=e;const p=[],h=[];do{u++;const e=u===c.length,_=e&&0!==l.length;if(e){if(i=0===h.length?void 0:p[p.length-1],d=o,o=h.pop(),_)if(s){d=d.slice();let e=0;for(const[t,n]of l){const a=t-e;null===n?(d.splice(a,1),e++):d[a]=n}}else{d={...d};for(const[e,t]of l)d[e]=t}u=r.index,c=r.keys,l=r.edits,s=r.inArray,r=r.prev}else if(o){if(i=s?u:c[u],d=o[i],null==d)continue;p.push(i)}let g;if(!Array.isArray(d)){var m,f;te(d)||$(!1,`Invalid AST Node: ${Fe(d)}.`);const n=e?null===(m=a.get(d.kind))||void 0===m?void 0:m.leave:null===(f=a.get(d.kind))||void 0===f?void 0:f.enter;if(g=null==n?void 0:n.call(t,d,i,o,p,h),g===Qe)break;if(!1===g){if(!e){p.pop();continue}}else if(void 0!==g&&(l.push([i,g]),!e)){if(!te(g)){p.pop();continue}d=g}}var v;if(void 0===g&&_&&l.push([i,d]),e)p.pop();else r={inArray:s,index:u,keys:c,edits:l,prev:r},s=Array.isArray(d),c=s?d:null!==(v=n[d.kind])&&void 0!==v?v:[],u=-1,l=[],o&&h.push(o),o=d}while(void 0!==r);return 0!==l.length?l[l.length-1][1]:e}function He(e,t){const n=e[t];return"object"==typeof n?n:"function"==typeof n?{enter:n,leave:void 0}:{enter:e.enter,leave:e.leave}}const Ke={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>Ye(e.definitions,"\n\n")},OperationDefinition:{leave(e){const t=Xe("(",Ye(e.variableDefinitions,", "),")"),n=Ye([e.operation,Ye([e.name,t]),Ye(e.directives," ")]," ");return("query"===n?"":n+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:n,directives:a})=>e+": "+t+Xe(" = ",n)+Xe(" ",Ye(a," "))},SelectionSet:{leave:({selections:e})=>Je(e)},Field:{leave({alias:e,name:t,arguments:n,directives:a,selectionSet:r}){const i=Xe("",e,": ")+t;let o=i+Xe("(",Ye(n,", "),")");return o.length>80&&(o=i+Xe("(\n",Ze(Ye(n,"\n")),"\n)")),Ye([o,Ye(a," "),r]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+Xe(" ",Ye(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:n})=>Ye(["...",Xe("on ",e),Ye(t," "),n]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:n,directives:a,selectionSet:r})=>`fragment ${e}${Xe("(",Ye(n,", "),")")} on ${t} ${Xe("",Ye(a," ")," ")}`+r},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:t})=>t?function(e){const t=e.replace(/"""/g,'\\"""'),n=t.split(/\r\n|[\n\r]/g),a=1===n.length,r=n.length>1&&n.slice(1).every(e=>0===e.length||le(e.charCodeAt(0))),i=t.endsWith('\\"""'),o=e.endsWith('"')&&!i,s=e.endsWith("\\"),c=o||s,u=!a||e.length>70||c||r||i;let l="";const d=a&&le(e.charCodeAt(0));return(u&&!d||r)&&(l+="\n"),l+=t,(u||c)&&(l+="\n"),'"""'+l+'"""'}(e):`"${e.replace(Ve,Ue)}"`},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+Ye(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+Ye(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+Xe("(",Ye(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:n})=>Xe("",e,"\n")+Ye(["schema",Ye(t," "),Je(n)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:n})=>Xe("",e,"\n")+Ye(["scalar",t,Ye(n," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:a,fields:r})=>Xe("",e,"\n")+Ye(["type",t,Xe("implements ",Ye(n," & ")),Ye(a," "),Je(r)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:n,type:a,directives:r})=>Xe("",e,"\n")+t+(et(n)?Xe("(\n",Ze(Ye(n,"\n")),"\n)"):Xe("(",Ye(n,", "),")"))+": "+a+Xe(" ",Ye(r," "))},InputValueDefinition:{leave:({description:e,name:t,type:n,defaultValue:a,directives:r})=>Xe("",e,"\n")+Ye([t+": "+n,Xe("= ",a),Ye(r," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:a,fields:r})=>Xe("",e,"\n")+Ye(["interface",t,Xe("implements ",Ye(n," & ")),Ye(a," "),Je(r)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:n,types:a})=>Xe("",e,"\n")+Ye(["union",t,Ye(n," "),Xe("= ",Ye(a," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:n,values:a})=>Xe("",e,"\n")+Ye(["enum",t,Ye(n," "),Je(a)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:n})=>Xe("",e,"\n")+Ye([t,Ye(n," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:n,fields:a})=>Xe("",e,"\n")+Ye(["input",t,Ye(n," "),Je(a)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:n,repeatable:a,locations:r})=>Xe("",e,"\n")+"directive @"+t+(et(n)?Xe("(\n",Ze(Ye(n,"\n")),"\n)"):Xe("(",Ye(n,", "),")"))+(a?" repeatable":"")+" on "+Ye(r," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>Ye(["extend schema",Ye(e," "),Je(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>Ye(["extend scalar",e,Ye(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:a})=>Ye(["extend type",e,Xe("implements ",Ye(t," & ")),Ye(n," "),Je(a)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:a})=>Ye(["extend interface",e,Xe("implements ",Ye(t," & ")),Ye(n," "),Je(a)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:n})=>Ye(["extend union",e,Ye(t," "),Xe("= ",Ye(n," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:n})=>Ye(["extend enum",e,Ye(t," "),Je(n)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:n})=>Ye(["extend input",e,Ye(t," "),Je(n)]," ")}};function Ye(e,t=""){var n;return null!==(n=null==e?void 0:e.filter(e=>e).join(t))&&void 0!==n?n:""}function Je(e){return Xe("{\n",Ze(Ye(e,"\n")),"\n}")}function Xe(e,t,n=""){return null!=t&&""!==t?e+t+n:""}function Ze(e){return Xe(" ",e.replace(/\n/g,"\n "))}function et(e){var t;return null!==(t=null==e?void 0:e.some(e=>e.includes("\n")))&&void 0!==t&&t}function tt(e){return e.kind===oe.FIELD||e.kind===oe.FRAGMENT_SPREAD||e.kind===oe.INLINE_FRAGMENT}function nt(e,t){var n=e.directives;return!n||!n.length||function(e){var t=[];e&&e.length&&e.forEach(function(e){if(function(e){var t=e.name.value;return"skip"===t||"include"===t}(e)){var n=e.arguments,a=e.name.value;P(n&&1===n.length,71,a);var r=n[0];P(r.name&&"if"===r.name.value,72,a);var i=r.value;P(i&&("Variable"===i.kind||"BooleanValue"===i.kind),73,a),t.push({directive:e,ifArgument:r})}});return t}(n).every(function(e){var n=e.directive,a=e.ifArgument,r=!1;return"Variable"===a.value.kind?(r=t&&t[a.value.name.value],P(void 0!==r,70,n.name.value)):r=a.value.value,"skip"===n.name.value?!r:r})}function at(e,t,n){var a=new Set(e),r=a.size;return Ge(t,{Directive:function(e){if(a.delete(e.name.value)&&(!n||!a.size))return Qe}}),n?!a.size:a.size<r}function rt(e){return e&&at(["client","export"],e,!0)}const it=()=>Object.create(null),{forEach:ot,slice:st}=Array.prototype,{hasOwnProperty:ct}=Object.prototype;let ut=class e{constructor(e=!0,t=it){this.weakness=e,this.makeData=t}lookup(){return this.lookupArray(arguments)}lookupArray(e){let t=this;return ot.call(e,e=>t=t.getChildTrie(e)),ct.call(t,"data")?t.data:t.data=this.makeData(st.call(e))}peek(){return this.peekArray(arguments)}peekArray(e){let t=this;for(let n=0,a=e.length;t&&n<a;++n){const a=t.mapFor(e[n],!1);t=a&&a.get(e[n])}return t&&t.data}remove(){return this.removeArray(arguments)}removeArray(e){let t;if(e.length){const n=e[0],a=this.mapFor(n,!1),r=a&&a.get(n);r&&(t=r.removeArray(st.call(e,1)),r.data||r.weak||r.strong&&r.strong.size||a.delete(n))}else t=this.data,delete this.data;return t}getChildTrie(t){const n=this.mapFor(t,!0);let a=n.get(t);return a||n.set(t,a=new e(this.weakness,this.makeData)),a}mapFor(e,t){return this.weakness&&function(e){switch(typeof e){case"object":if(null===e)break;case"function":return!0}return!1}(e)?this.weak||(t?this.weak=new WeakMap:void 0):this.strong||(t?this.strong=new Map:void 0)}};var lt="ReactNative"==C(function(){return navigator.product}),dt="function"==typeof WeakMap&&!(lt&&!global.HermesInternal),pt="function"==typeof WeakSet,ht="function"==typeof Symbol&&"function"==typeof Symbol.for,mt=ht&&Symbol.asyncIterator,ft="function"==typeof C(function(){return window.document.createElement}),vt=C(function(){return navigator.userAgent.indexOf("jsdom")>=0})||!1,_t=(ft||lt)&&!vt;function gt(e){return null!==e&&"object"==typeof e}function yt(e,t){var n=t,a=[];return e.definitions.forEach(function(e){if("OperationDefinition"===e.kind)throw F(74,e.operation,e.name?" named '".concat(e.name.value,"'"):"");"FragmentDefinition"===e.kind&&a.push(e)}),void 0===n&&(P(1===a.length,75,a.length),n=a[0].name.value),m(m({},e),{definitions:g([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:n}}]}}],e.definitions,!0)})}function bt(e){void 0===e&&(e=[]);var t={};return e.forEach(function(e){t[e.name.value]=e}),t}function kt(e,t){switch(e.kind){case"InlineFragment":return e;case"FragmentSpread":var n=e.name.value;if("function"==typeof t)return t(n);var a=t&&t[n];return P(a,76,n),a||null;default:return null}}function wt(){}class xt{constructor(e=1/0,t=wt){this.max=e,this.dispose=t,this.map=new Map,this.newest=null,this.oldest=null}has(e){return this.map.has(e)}get(e){const t=this.getNode(e);return t&&t.value}get size(){return this.map.size}getNode(e){const t=this.map.get(e);if(t&&t!==this.newest){const{older:e,newer:n}=t;n&&(n.older=e),e&&(e.newer=n),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=n)}return t}set(e,t){let n=this.getNode(e);return n?n.value=t:(n={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=n),this.newest=n,this.oldest=this.oldest||n,this.map.set(e,n),n.value)}clean(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)}delete(e){const t=this.map.get(e);return!!t&&(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),this.dispose(t.value,e),!0)}}function St(){}const Et=St,jt="undefined"!=typeof WeakRef?WeakRef:function(e){return{deref:()=>e}},Tt="undefined"!=typeof WeakMap?WeakMap:Map,Ot="undefined"!=typeof FinalizationRegistry?FinalizationRegistry:function(){return{register:St,unregister:St}};class Ct{constructor(e=1/0,t=Et){this.max=e,this.dispose=t,this.map=new Tt,this.newest=null,this.oldest=null,this.unfinalizedNodes=new Set,this.finalizationScheduled=!1,this.size=0,this.finalize=()=>{const e=this.unfinalizedNodes.values();for(let t=0;t<10024;t++){const t=e.next().value;if(!t)break;this.unfinalizedNodes.delete(t);const n=t.key;delete t.key,t.keyRef=new jt(n),this.registry.register(n,t,t)}this.unfinalizedNodes.size>0?queueMicrotask(this.finalize):this.finalizationScheduled=!1},this.registry=new Ot(this.deleteNode.bind(this))}has(e){return this.map.has(e)}get(e){const t=this.getNode(e);return t&&t.value}getNode(e){const t=this.map.get(e);if(t&&t!==this.newest){const{older:e,newer:n}=t;n&&(n.older=e),e&&(e.newer=n),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=n)}return t}set(e,t){let n=this.getNode(e);return n?n.value=t:(n={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=n),this.newest=n,this.oldest=this.oldest||n,this.scheduleFinalization(n),this.map.set(e,n),this.size++,n.value)}clean(){for(;this.oldest&&this.size>this.max;)this.deleteNode(this.oldest)}deleteNode(e){e===this.newest&&(this.newest=e.older),e===this.oldest&&(this.oldest=e.newer),e.newer&&(e.newer.older=e.older),e.older&&(e.older.newer=e.newer),this.size--;const t=e.key||e.keyRef&&e.keyRef.deref();this.dispose(e.value,t),e.keyRef?this.registry.unregister(e):this.unfinalizedNodes.delete(e),t&&this.map.delete(t)}delete(e){const t=this.map.get(e);return!!t&&(this.deleteNode(t),!0)}scheduleFinalization(e){this.unfinalizedNodes.add(e),this.finalizationScheduled||(this.finalizationScheduled=!0,queueMicrotask(this.finalize))}}var Nt=new WeakSet;function Mt(e){e.size<=(e.max||-1)||Nt.has(e)||(Nt.add(e),setTimeout(function(){e.clean(),Nt.delete(e)},100))}var Dt=function(e,t){var n=new Ct(e,t);return n.set=function(e,t){var n=Ct.prototype.set.call(this,e,t);return Mt(this),n},n},At=function(e,t){var n=new xt(e,t);return n.set=function(e,t){var n=xt.prototype.set.call(this,e,t);return Mt(this),n},n},It=m({},N[Symbol.for("apollo.cacheSize")]),Pt={};function Ft(e,t){Pt[e]=t}var Rt=!1!==globalThis.__DEV__?function(){var e,t,n,a,r;if(!1===globalThis.__DEV__)throw new Error("only supported in development mode");return{limits:Object.fromEntries(Object.entries({parser:1e3,canonicalStringify:1e3,print:2e3,"documentTransform.cache":2e3,"queryManager.getDocumentInfo":2e3,"PersistedQueryLink.persistedQueryHashes":2e3,"fragmentRegistry.transform":2e3,"fragmentRegistry.lookup":1e3,"fragmentRegistry.findFragmentSpreads":4e3,"cache.fragmentQueryDocuments":1e3,"removeTypenameFromVariables.getVariableDefinitions":2e3,"inMemoryCache.maybeBroadcastWatch":5e3,"inMemoryCache.executeSelectionSet":5e4,"inMemoryCache.executeSubSelectedArray":1e4}).map(function(e){var t=e[0],n=e[1];return[t,It[t]||n]})),sizes:m({print:null===(e=Pt.print)||void 0===e?void 0:e.call(Pt),parser:null===(t=Pt.parser)||void 0===t?void 0:t.call(Pt),canonicalStringify:null===(n=Pt.canonicalStringify)||void 0===n?void 0:n.call(Pt),links:Wt(this.link),queryManager:{getDocumentInfo:this.queryManager.transformCache.size,documentTransforms:Vt(this.queryManager.documentTransform)}},null===(r=(a=this.cache).getMemoryInternals)||void 0===r?void 0:r.call(a))}}:void 0,zt=!1!==globalThis.__DEV__?function(){var e=this.config.fragments;return m(m({},qt.apply(this)),{addTypenameDocumentTransform:Vt(this.addTypenameTransform),inMemoryCache:{executeSelectionSet:$t(this.storeReader.executeSelectionSet),executeSubSelectedArray:$t(this.storeReader.executeSubSelectedArray),maybeBroadcastWatch:$t(this.maybeBroadcastWatch)},fragmentRegistry:{findFragmentSpreads:$t(null==e?void 0:e.findFragmentSpreads),lookup:$t(null==e?void 0:e.lookup),transform:$t(null==e?void 0:e.transform)}})}:void 0,Lt=!1!==globalThis.__DEV__?qt:void 0;function qt(){return{cache:{fragmentQueryDocuments:$t(this.getFragmentDoc)}}}function $t(e){return function(e){return!!e&&"dirtyKey"in e}(e)?e.size:void 0}function Bt(e){return null!=e}function Vt(e){return Ut(e).map(function(e){return{cache:e}})}function Ut(e){return e?g(g([$t(null==e?void 0:e.performWork)],Ut(null==e?void 0:e.left),!0),Ut(null==e?void 0:e.right),!0).filter(Bt):[]}function Wt(e){var t;return e?g(g([null===(t=null==e?void 0:e.getMemoryInternals)||void 0===t?void 0:t.call(e)],Wt(null==e?void 0:e.left),!0),Wt(null==e?void 0:e.right),!0).filter(Bt):[]}var Qt,Gt=Object.assign(function(e){return JSON.stringify(e,Ht)},{reset:function(){Qt=new At(It.canonicalStringify||1e3)}});function Ht(e,t){if(t&&"object"==typeof t){var n=Object.getPrototypeOf(t);if(n===Object.prototype||null===n){var a=Object.keys(t);if(a.every(Kt))return t;var r=JSON.stringify(a),i=Qt.get(r);if(!i){a.sort();var o=JSON.stringify(a);i=Qt.get(o)||a,Qt.set(r,i),Qt.set(o,i)}var s=Object.create(n);return i.forEach(function(e){s[e]=t[e]}),s}}return t}function Kt(e,t,n){return 0===t||n[t-1]<=e}function Yt(e){return{__ref:String(e)}}function Jt(e){return Boolean(e&&"object"==typeof e&&"string"==typeof e.__ref)}function Xt(e,t,n,a){if(function(e){return"IntValue"===e.kind}(n)||function(e){return"FloatValue"===e.kind}(n))e[t.value]=Number(n.value);else if(function(e){return"BooleanValue"===e.kind}(n)||function(e){return"StringValue"===e.kind}(n))e[t.value]=n.value;else if(function(e){return"ObjectValue"===e.kind}(n)){var r={};n.fields.map(function(e){return Xt(r,e.name,e.value,a)}),e[t.value]=r}else if(function(e){return"Variable"===e.kind}(n)){var i=(a||{})[n.name.value];e[t.value]=i}else if(function(e){return"ListValue"===e.kind}(n))e[t.value]=n.values.map(function(e){var n={};return Xt(n,t,e,a),n[t.value]});else if(function(e){return"EnumValue"===e.kind}(n))e[t.value]=n.value;else{if(!function(e){return"NullValue"===e.kind}(n))throw F(85,t.value,n.kind);e[t.value]=null}}!1!==globalThis.__DEV__&&Ft("canonicalStringify",function(){return Qt.size}),Gt.reset();var Zt=["connection","include","skip","client","rest","export","nonreactive"],en=Gt,tn=Object.assign(function(e,t,n){if(t&&n&&n.connection&&n.connection.key){if(n.connection.filter&&n.connection.filter.length>0){var a=n.connection.filter?n.connection.filter:[];a.sort();var r={};return a.forEach(function(e){r[e]=t[e]}),"".concat(n.connection.key,"(").concat(en(r),")")}return n.connection.key}var i=e;if(t){var o=en(t);i+="(".concat(o,")")}return n&&Object.keys(n).forEach(function(e){-1===Zt.indexOf(e)&&(n[e]&&Object.keys(n[e]).length?i+="@".concat(e,"(").concat(en(n[e]),")"):i+="@".concat(e))}),i},{setStringify:function(e){var t=en;return en=e,t}});function nn(e,t){if(e.arguments&&e.arguments.length){var n={};return e.arguments.forEach(function(e){var a=e.name,r=e.value;return Xt(n,a,r,t)}),n}return null}function an(e){return e.alias?e.alias.value:e.name.value}function rn(e,t,n){for(var a,r=0,i=t.selections;r<i.length;r++){if(on(c=i[r])){if("__typename"===c.name.value)return e[an(c)]}else a?a.push(c):a=[c]}if("string"==typeof e.__typename)return e.__typename;if(a)for(var o=0,s=a;o<s.length;o++){var c,u=rn(e,kt(c=s[o],n).selectionSet,n);if("string"==typeof u)return u}}function on(e){return"Field"===e.kind}function sn(e){P(e&&"Document"===e.kind,77);var t=e.definitions.filter(function(e){return"FragmentDefinition"!==e.kind}).map(function(e){if("OperationDefinition"!==e.kind)throw F(78,e.kind);return e});return P(t.length<=1,79,t.length),e}function cn(e){return sn(e),e.definitions.filter(function(e){return"OperationDefinition"===e.kind})[0]}function un(e){return e.definitions.filter(function(e){return"OperationDefinition"===e.kind&&!!e.name}).map(function(e){return e.name.value})[0]||null}function ln(e){return e.definitions.filter(function(e){return"FragmentDefinition"===e.kind})}function dn(e){var t=cn(e);return P(t&&"query"===t.operation,80),t}function pn(e){var t;sn(e);for(var n=0,a=e.definitions;n<a.length;n++){var r=a[n];if("OperationDefinition"===r.kind){var i=r.operation;if("query"===i||"mutation"===i||"subscription"===i)return r}"FragmentDefinition"!==r.kind||t||(t=r)}if(t)return t;throw F(84)}function hn(e){var t=Object.create(null),n=e&&e.variableDefinitions;return n&&n.length&&n.forEach(function(e){e.defaultValue&&Xt(t,e.variable.name,e.defaultValue)}),t}const mn=()=>Object.create(null),{forEach:fn,slice:vn}=Array.prototype,{hasOwnProperty:_n}=Object.prototype;class gn{constructor(e=!0,t=mn){this.weakness=e,this.makeData=t}lookup(...e){return this.lookupArray(e)}lookupArray(e){let t=this;return fn.call(e,e=>t=t.getChildTrie(e)),_n.call(t,"data")?t.data:t.data=this.makeData(vn.call(e))}peek(...e){return this.peekArray(e)}peekArray(e){let t=this;for(let n=0,a=e.length;t&&n<a;++n){const a=this.weakness&&yn(e[n])?t.weak:t.strong;t=a&&a.get(e[n])}return t&&t.data}getChildTrie(e){const t=this.weakness&&yn(e)?this.weak||(this.weak=new WeakMap):this.strong||(this.strong=new Map);let n=t.get(e);return n||t.set(e,n=new gn(this.weakness,this.makeData)),n}}function yn(e){switch(typeof e){case"object":if(null===e)break;case"function":return!0}return!1}let bn=null;const kn={};let wn=1;function xn(e){try{return e()}catch(t){}}const Sn="@wry/context:Slot",En=xn(()=>globalThis)||xn(()=>global)||Object.create(null),jn=En[Sn]||Array[Sn]||function(e){try{Object.defineProperty(En,Sn,{value:e,enumerable:!1,writable:!1,configurable:!0})}finally{return e}}(class{constructor(){this.id=["slot",wn++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let e=bn;e;e=e.parent)if(this.id in e.slots){const t=e.slots[this.id];if(t===kn)break;return e!==bn&&(bn.slots[this.id]=t),!0}return bn&&(bn.slots[this.id]=kn),!1}getValue(){if(this.hasValue())return bn.slots[this.id]}withValue(e,t,n,a){const r={__proto__:null,[this.id]:e},i=bn;bn={parent:i,slots:r};try{return t.apply(a,n)}finally{bn=i}}static bind(e){const t=bn;return function(){const n=bn;try{return bn=t,e.apply(this,arguments)}finally{bn=n}}}static noContext(e,t,n){if(!bn)return e.apply(n,t);{const a=bn;try{return bn=null,e.apply(n,t)}finally{bn=a}}}}),{bind:Tn,noContext:On}=jn,Cn=new jn,{hasOwnProperty:Nn}=Object.prototype,Mn=Array.from||function(e){const t=[];return e.forEach(e=>t.push(e)),t};function Dn(e){const{unsubscribe:t}=e;"function"==typeof t&&(e.unsubscribe=void 0,t())}const An=[];function In(e,t){if(!e)throw new Error(t||"assertion failure")}function Pn(e,t){const n=e.length;return n>0&&n===t.length&&e[n-1]===t[n-1]}function Fn(e){switch(e.length){case 0:throw new Error("unknown value");case 1:return e[0];case 2:throw e[1]}}function Rn(e){return e.slice(0)}class zn{constructor(e){this.fn=e,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++zn.count}peek(){if(1===this.value.length&&!$n(this))return Ln(this),this.value[0]}recompute(e){return In(!this.recomputing,"already recomputing"),Ln(this),$n(this)?function(e,t){Hn(e),Cn.withValue(e,qn,[e,t]),function(e,t){if("function"==typeof e.subscribe)try{Dn(e),e.unsubscribe=e.subscribe.apply(null,t)}catch(n){return e.setDirty(),!1}return!0}(e,t)&&function(e){if(e.dirty=!1,$n(e))return;Vn(e)}(e);return Fn(e.value)}(this,e):Fn(this.value)}setDirty(){this.dirty||(this.dirty=!0,Bn(this),Dn(this))}dispose(){this.setDirty(),Hn(this),Un(this,(e,t)=>{e.setDirty(),Kn(e,this)})}forget(){this.dispose()}dependOn(e){e.add(this),this.deps||(this.deps=An.pop()||new Set),this.deps.add(e)}forgetDeps(){this.deps&&(Mn(this.deps).forEach(e=>e.delete(this)),this.deps.clear(),An.push(this.deps),this.deps=null)}}function Ln(e){const t=Cn.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),$n(e)?Wn(t,e):Qn(t,e),t}function qn(e,t){e.recomputing=!0;const{normalizeResult:n}=e;let a;n&&1===e.value.length&&(a=Rn(e.value)),e.value.length=0;try{if(e.value[0]=e.fn.apply(null,t),n&&a&&!Pn(a,e.value))try{e.value[0]=n(e.value[0],a[0])}catch(r){}}catch(i){e.value[1]=i}e.recomputing=!1}function $n(e){return e.dirty||!(!e.dirtyChildren||!e.dirtyChildren.size)}function Bn(e){Un(e,Wn)}function Vn(e){Un(e,Qn)}function Un(e,t){const n=e.parents.size;if(n){const a=Mn(e.parents);for(let r=0;r<n;++r)t(a[r],e)}}function Wn(e,t){In(e.childValues.has(t)),In($n(t));const n=!$n(e);if(e.dirtyChildren){if(e.dirtyChildren.has(t))return}else e.dirtyChildren=An.pop()||new Set;e.dirtyChildren.add(t),n&&Bn(e)}function Qn(e,t){In(e.childValues.has(t)),In(!$n(t));const n=e.childValues.get(t);0===n.length?e.childValues.set(t,Rn(t.value)):Pn(n,t.value)||e.setDirty(),Gn(e,t),$n(e)||Vn(e)}function Gn(e,t){const n=e.dirtyChildren;n&&(n.delete(t),0===n.size&&(An.length<100&&An.push(n),e.dirtyChildren=null))}function Hn(e){e.childValues.size>0&&e.childValues.forEach((t,n)=>{Kn(e,n)}),e.forgetDeps(),In(null===e.dirtyChildren)}function Kn(e,t){t.parents.delete(e),e.childValues.delete(t),Gn(e,t)}zn.count=0;const Yn={setDirty:!0,dispose:!0,forget:!0};function Jn(e){const t=new Map;function n(e){const n=Cn.getValue();if(n){let a=t.get(e);a||t.set(e,a=new Set),n.dependOn(a)}}return n.dirty=function(e,n){const a=t.get(e);if(a){const r=n&&Nn.call(Yn,n)?n:"setDirty";Mn(a).forEach(e=>e[r]()),t.delete(e),Dn(a)}},n}let Xn;function Zn(...e){return(Xn||(Xn=new gn("function"==typeof WeakMap))).lookupArray(e)}const ea=new Set;function ta(e,{max:t=Math.pow(2,16),keyArgs:n,makeCacheKey:a=Zn,normalizeResult:r,subscribe:i,cache:o=xt}=Object.create(null)){const s="function"==typeof o?new o(t,e=>e.dispose()):o,c=function(){const t=a.apply(null,n?n.apply(null,arguments):arguments);if(void 0===t)return e.apply(null,arguments);let o=s.get(t);o||(s.set(t,o=new zn(e)),o.normalizeResult=r,o.subscribe=i,o.forget=()=>s.delete(t));const c=o.recompute(Array.prototype.slice.call(arguments));return s.set(t,o),ea.add(s),Cn.hasValue()||(ea.forEach(e=>e.clean()),ea.clear()),c};function u(e){const t=e&&s.get(e);t&&t.setDirty()}function l(e){const t=e&&s.get(e);if(t)return t.peek()}function d(e){return!!e&&s.delete(e)}return Object.defineProperty(c,"size",{get:()=>s.size,configurable:!1,enumerable:!1}),Object.freeze(c.options={max:t,keyArgs:n,makeCacheKey:a,normalizeResult:r,subscribe:i,cache:s}),c.dirtyKey=u,c.dirty=function(){u(a.apply(null,arguments))},c.peekKey=l,c.peek=function(){return l(a.apply(null,arguments))},c.forgetKey=d,c.forget=function(){return d(a.apply(null,arguments))},c.makeCacheKey=a,c.getKey=n?function(){return a.apply(null,n.apply(null,arguments))}:a,Object.freeze(c)}function na(e){return e}var aa,ra=function(){function e(e,t){void 0===t&&(t=Object.create(null)),this.resultCache=pt?new WeakSet:new Set,this.transform=e,t.getCacheKey&&(this.getCacheKey=t.getCacheKey),this.cached=!1!==t.cache,this.resetCache()}return e.prototype.getCacheKey=function(e){return[e]},e.identity=function(){return new e(na,{cache:!1})},e.split=function(t,n,a){return void 0===a&&(a=e.identity()),Object.assign(new e(function(e){return(t(e)?n:a).transformDocument(e)},{cache:!1}),{left:n,right:a})},e.prototype.resetCache=function(){var t=this;if(this.cached){var n=new ut(dt);this.performWork=ta(e.prototype.performWork.bind(this),{makeCacheKey:function(e){var a=t.getCacheKey(e);if(a)return P(Array.isArray(a),69),n.lookupArray(a)},max:It["documentTransform.cache"],cache:Ct})}},e.prototype.performWork=function(e){return sn(e),this.transform(e)},e.prototype.transformDocument=function(e){if(this.resultCache.has(e))return e;var t=this.performWork(e);return this.resultCache.add(t),t},e.prototype.concat=function(t){var n=this;return Object.assign(new e(function(e){return t.transformDocument(n.transformDocument(e))},{cache:!1}),{left:this,right:t})},e}(),ia=Object.assign(function(e){var t=aa.get(e);return t||(t=function(e){return Ge(e,Ke)}(e),aa.set(e,t)),t},{reset:function(){aa=new Dt(It.print||2e3)}});ia.reset(),!1!==globalThis.__DEV__&&Ft("print",function(){return aa?aa.size:0});var oa=Array.isArray;function sa(e){return Array.isArray(e)&&e.length>0}var ca={kind:oe.FIELD,name:{kind:oe.NAME,value:"__typename"}};function ua(e,t){return!e||e.selectionSet.selections.every(function(e){return e.kind===oe.FRAGMENT_SPREAD&&ua(t[e.name.value],t)})}function la(e){return ua(cn(e)||function(e){P("Document"===e.kind,81),P(e.definitions.length<=1,82);var t=e.definitions[0];return P("FragmentDefinition"===t.kind,83),t}(e),bt(ln(e)))?null:e}function da(e){var t=new Map;return function(n){void 0===n&&(n=e);var a=t.get(n);return a||t.set(n,a={variables:new Set,fragmentSpreads:new Set}),a}}function pa(e,t){sn(t);for(var n=da(""),a=da(""),r=function(e){for(var t=0,r=void 0;t<e.length&&(r=e[t]);++t)if(!oa(r)){if(r.kind===oe.OPERATION_DEFINITION)return n(r.name&&r.name.value);if(r.kind===oe.FRAGMENT_DEFINITION)return a(r.name.value)}return!1!==globalThis.__DEV__&&P.error(86),null},i=0,o=t.definitions.length-1;o>=0;--o)t.definitions[o].kind===oe.OPERATION_DEFINITION&&++i;var s,c,u,l=(s=e,c=new Map,u=new Map,s.forEach(function(e){e&&(e.name?c.set(e.name,e):e.test&&u.set(e.test,e))}),function(e){var t=c.get(e.name.value);return!t&&u.size&&u.forEach(function(n,a){a(e)&&(t=n)}),t}),d=function(e){return sa(e)&&e.map(l).some(function(e){return e&&e.remove})},p=new Map,h=!1,f={enter:function(e){if(d(e.directives))return h=!0,null}},v=Ge(t,{Field:f,InlineFragment:f,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(e,t,n,a,i){var o=r(i);o&&o.variables.add(e.name.value)}},FragmentSpread:{enter:function(e,t,n,a,i){if(d(e.directives))return h=!0,null;var o=r(i);o&&o.fragmentSpreads.add(e.name.value)}},FragmentDefinition:{enter:function(e,t,n,a){p.set(JSON.stringify(a),e)},leave:function(e,t,n,r){return e===p.get(JSON.stringify(r))?e:i>0&&e.selectionSet.selections.every(function(e){return e.kind===oe.FIELD&&"__typename"===e.name.value})?(a(e.name.value).removed=!0,h=!0,null):void 0}},Directive:{leave:function(e){if(l(e))return h=!0,null}}});if(!h)return t;var _=function(e){return e.transitiveVars||(e.transitiveVars=new Set(e.variables),e.removed||e.fragmentSpreads.forEach(function(t){_(a(t)).transitiveVars.forEach(function(t){e.transitiveVars.add(t)})})),e},g=new Set;v.definitions.forEach(function(e){e.kind===oe.OPERATION_DEFINITION?_(n(e.name&&e.name.value)).fragmentSpreads.forEach(function(e){g.add(e)}):e.kind!==oe.FRAGMENT_DEFINITION||0!==i||a(e.name.value).removed||g.add(e.name.value)}),g.forEach(function(e){_(a(e)).fragmentSpreads.forEach(function(e){g.add(e)})});var y={enter:function(e){if(t=e.name.value,!g.has(t)||a(t).removed)return null;var t}};return la(Ge(v,{FragmentSpread:y,FragmentDefinition:y,OperationDefinition:{leave:function(e){if(e.variableDefinitions){var t=_(n(e.name&&e.name.value)).transitiveVars;if(t.size<e.variableDefinitions.length)return m(m({},e),{variableDefinitions:e.variableDefinitions.filter(function(e){return t.has(e.variable.name.value)})})}}}}))}var ha=Object.assign(function(e){return Ge(e,{SelectionSet:{enter:function(e,t,n){if(!n||n.kind!==oe.OPERATION_DEFINITION){var a=e.selections;if(a)if(!a.some(function(e){return on(e)&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))})){var r=n;if(!(on(r)&&r.directives&&r.directives.some(function(e){return"export"===e.name.value})))return m(m({},e),{selections:g(g([],a,!0),[ca],!1)})}}}}})},{added:function(e){return e===ca}});function ma(e){return"query"===pn(e).operation?e:Ge(e,{OperationDefinition:{enter:function(e){return m(m({},e),{operation:"query"})}}})}function fa(e){return sn(e),pa([{test:function(e){return"client"===e.name.value},remove:!0}],e)}var va=Object.prototype.hasOwnProperty;function _a(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return ga(e)}function ga(e){var t=e[0]||{},n=e.length;if(n>1)for(var a=new ba,r=1;r<n;++r)t=a.merge(t,e[r]);return t}var ya=function(e,t,n){return this.merge(e[n],t[n])},ba=function(){function e(e){void 0===e&&(e=ya),this.reconciler=e,this.isObject=gt,this.pastCopies=new Set}return e.prototype.merge=function(e,t){for(var n=this,a=[],r=2;r<arguments.length;r++)a[r-2]=arguments[r];return gt(t)&>(e)?(Object.keys(t).forEach(function(r){if(va.call(e,r)){var i=e[r];if(t[r]!==i){var o=n.reconciler.apply(n,g([e,t,r],a,!1));o!==i&&((e=n.shallowCopyForMerge(e))[r]=o)}}else(e=n.shallowCopyForMerge(e))[r]=t[r]}),e):t},e.prototype.shallowCopyForMerge=function(e){return gt(e)&&(this.pastCopies.has(e)||(e=Array.isArray(e)?e.slice(0):m({__proto__:Object.getPrototypeOf(e)},e),this.pastCopies.add(e))),e},e}();function ka(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return wa(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return wa(e,t)}(e))||t){n&&(e=n);var a=0;return function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function wa(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function xa(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Sa(e,t,n){return t&&xa(e.prototype,t),n&&xa(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var Ea=function(){return"function"==typeof Symbol},ja=function(e){return Ea()&&Boolean(Symbol[e])},Ta=function(e){return ja(e)?Symbol[e]:"@@"+e};Ea()&&!ja("observable")&&(Symbol.observable=Symbol("observable"));var Oa=Ta("iterator"),Ca=Ta("observable"),Na=Ta("species");function Ma(e,t){var n=e[t];if(null!=n){if("function"!=typeof n)throw new TypeError(n+" is not a function");return n}}function Da(e){var t=e.constructor;return void 0!==t&&null===(t=t[Na])&&(t=void 0),void 0!==t?t:$a}function Aa(e){Aa.log?Aa.log(e):setTimeout(function(){throw e})}function Ia(e){Promise.resolve().then(function(){try{e()}catch(t){Aa(t)}})}function Pa(e){var t=e._cleanup;if(void 0!==t&&(e._cleanup=void 0,t))try{if("function"==typeof t)t();else{var n=Ma(t,"unsubscribe");n&&n.call(t)}}catch(a){Aa(a)}}function Fa(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function Ra(e,t,n){e._state="running";var a=e._observer;try{var r=Ma(a,t);switch(t){case"next":r&&r.call(a,n);break;case"error":if(Fa(e),!r)throw n;r.call(a,n);break;case"complete":Fa(e),r&&r.call(a)}}catch(i){Aa(i)}"closed"===e._state?Pa(e):"running"===e._state&&(e._state="ready")}function za(e,t,n){if("closed"!==e._state){if("buffering"!==e._state)return"ready"!==e._state?(e._state="buffering",e._queue=[{type:t,value:n}],void Ia(function(){return function(e){var t=e._queue;if(t){e._queue=void 0,e._state="ready";for(var n=0;n<t.length&&(Ra(e,t[n].type,t[n].value),"closed"!==e._state);++n);}}(e)})):void Ra(e,t,n);e._queue.push({type:t,value:n})}}var La=function(){function e(e,t){this._cleanup=void 0,this._observer=e,this._queue=void 0,this._state="initializing";var n=new qa(this);try{this._cleanup=t.call(void 0,n)}catch(a){n.error(a)}"initializing"===this._state&&(this._state="ready")}return e.prototype.unsubscribe=function(){"closed"!==this._state&&(Fa(this),Pa(this))},Sa(e,[{key:"closed",get:function(){return"closed"===this._state}}]),e}(),qa=function(){function e(e){this._subscription=e}var t=e.prototype;return t.next=function(e){za(this._subscription,"next",e)},t.error=function(e){za(this._subscription,"error",e)},t.complete=function(){za(this._subscription,"complete")},Sa(e,[{key:"closed",get:function(){return"closed"===this._subscription._state}}]),e}(),$a=function(){function e(t){if(!(this instanceof e))throw new TypeError("Observable cannot be called as a function");if("function"!=typeof t)throw new TypeError("Observable initializer must be a function");this._subscriber=t}var t=e.prototype;return t.subscribe=function(e){return"object"==typeof e&&null!==e||(e={next:e,error:arguments[1],complete:arguments[2]}),new La(e,this._subscriber)},t.forEach=function(e){var t=this;return new Promise(function(n,a){if("function"==typeof e)var r=t.subscribe({next:function(t){try{e(t,i)}catch(n){a(n),r.unsubscribe()}},error:a,complete:n});else a(new TypeError(e+" is not a function"));function i(){r.unsubscribe(),n()}})},t.map=function(e){var t=this;if("function"!=typeof e)throw new TypeError(e+" is not a function");return new(Da(this))(function(n){return t.subscribe({next:function(t){try{t=e(t)}catch(a){return n.error(a)}n.next(t)},error:function(e){n.error(e)},complete:function(){n.complete()}})})},t.filter=function(e){var t=this;if("function"!=typeof e)throw new TypeError(e+" is not a function");return new(Da(this))(function(n){return t.subscribe({next:function(t){try{if(!e(t))return}catch(a){return n.error(a)}n.next(t)},error:function(e){n.error(e)},complete:function(){n.complete()}})})},t.reduce=function(e){var t=this;if("function"!=typeof e)throw new TypeError(e+" is not a function");var n=Da(this),a=arguments.length>1,r=!1,i=arguments[1];return new n(function(n){return t.subscribe({next:function(t){var o=!r;if(r=!0,!o||a)try{i=e(i,t)}catch(s){return n.error(s)}else i=t},error:function(e){n.error(e)},complete:function(){if(!r&&!a)return n.error(new TypeError("Cannot reduce an empty sequence"));n.next(i),n.complete()}})})},t.concat=function(){for(var e=this,t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];var r=Da(this);return new r(function(t){var a,i=0;return function e(o){a=o.subscribe({next:function(e){t.next(e)},error:function(e){t.error(e)},complete:function(){i===n.length?(a=void 0,t.complete()):e(r.from(n[i++]))}})}(e),function(){a&&(a.unsubscribe(),a=void 0)}})},t.flatMap=function(e){var t=this;if("function"!=typeof e)throw new TypeError(e+" is not a function");var n=Da(this);return new n(function(a){var r=[],i=t.subscribe({next:function(t){if(e)try{t=e(t)}catch(s){return a.error(s)}var i=n.from(t).subscribe({next:function(e){a.next(e)},error:function(e){a.error(e)},complete:function(){var e=r.indexOf(i);e>=0&&r.splice(e,1),o()}});r.push(i)},error:function(e){a.error(e)},complete:function(){o()}});function o(){i.closed&&0===r.length&&a.complete()}return function(){r.forEach(function(e){return e.unsubscribe()}),i.unsubscribe()}})},t[Ca]=function(){return this},e.from=function(t){var n="function"==typeof this?this:e;if(null==t)throw new TypeError(t+" is not an object");var a=Ma(t,Ca);if(a){var r=a.call(t);if(Object(r)!==r)throw new TypeError(r+" is not an object");return function(e){return e instanceof $a}(r)&&r.constructor===n?r:new n(function(e){return r.subscribe(e)})}if(ja("iterator")&&(a=Ma(t,Oa)))return new n(function(e){Ia(function(){if(!e.closed){for(var n,r=ka(a.call(t));!(n=r()).done;){var i=n.value;if(e.next(i),e.closed)return}e.complete()}})});if(Array.isArray(t))return new n(function(e){Ia(function(){if(!e.closed){for(var n=0;n<t.length;++n)if(e.next(t[n]),e.closed)return;e.complete()}})});throw new TypeError(t+" is not observable")},e.of=function(){for(var t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];return new("function"==typeof this?this:e)(function(e){Ia(function(){if(!e.closed){for(var t=0;t<n.length;++t)if(e.next(n[t]),e.closed)return;e.complete()}})})},Sa(e,null,[{key:Na,get:function(){return this}}]),e}();Ea()&&Object.defineProperty($a,Symbol("extensions"),{value:{symbol:Ca,hostReportError:Aa},configurable:!0}),function(e){var t,n=e.Symbol;if("function"==typeof n)if(n.observable)t=n.observable;else{t="function"==typeof n.for?n.for("https://github.com/benlesh/symbol-observable"):n("https://github.com/benlesh/symbol-observable");try{n.observable=t}catch(a){}}else t="@@observable"}("undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof module?module:Function("return this")());var Ba=$a.prototype,Va="@@observable";Ba[Va]||(Ba[Va]=function(){return this});var Ua=Object.prototype.toString;function Wa(e){return Qa(e)}function Qa(e,t){switch(Ua.call(e)){case"[object Array]":if((t=t||new Map).has(e))return t.get(e);var n=e.slice(0);return t.set(e,n),n.forEach(function(e,a){n[a]=Qa(e,t)}),n;case"[object Object]":if((t=t||new Map).has(e))return t.get(e);var a=Object.create(Object.getPrototypeOf(e));return t.set(e,a),Object.keys(e).forEach(function(n){a[n]=Qa(e[n],t)}),a;default:return e}}function Ga(e){var t=new Set([e]);return t.forEach(function(e){gt(e)&&function(e){if(!1!==globalThis.__DEV__&&!Object.isFrozen(e))try{Object.freeze(e)}catch(t){if(t instanceof TypeError)return null;throw t}return e}(e)===e&&Object.getOwnPropertyNames(e).forEach(function(n){gt(e[n])&&t.add(e[n])})}),e}function Ha(e){return!1!==globalThis.__DEV__&&Ga(e),e}function Ka(e,t,n){var a=[];e.forEach(function(e){return e[t]&&a.push(e)}),a.forEach(function(e){return e[t](n)})}function Ya(e,t,n){return new $a(function(a){var r={then:function(e){return new Promise(function(t){return t(e())})}};function i(e,t){return function(n){if(e){var i=function(){return a.closed?0:e(n)};r=r.then(i,i).then(function(e){return a.next(e)},function(e){return a.error(e)})}else a[t](n)}}var o={next:i(t,"next"),error:i(n,"error"),complete:function(){r.then(function(){return a.complete()})}},s=e.subscribe(o);return function(){return s.unsubscribe()}})}function Ja(e){function t(t){Object.defineProperty(e,t,{value:$a})}return ht&&Symbol.species&&t(Symbol.species),t("@@species"),e}function Xa(e){return e&&"function"==typeof e.then}var Za=function(e){function t(t){var n=e.call(this,function(e){return n.addObserver(e),function(){return n.removeObserver(e)}})||this;return n.observers=new Set,n.promise=new Promise(function(e,t){n.resolve=e,n.reject=t}),n.handlers={next:function(e){null!==n.sub&&(n.latest=["next",e],n.notify("next",e),Ka(n.observers,"next",e))},error:function(e){var t=n.sub;null!==t&&(t&&setTimeout(function(){return t.unsubscribe()}),n.sub=null,n.latest=["error",e],n.reject(e),n.notify("error",e),Ka(n.observers,"error",e))},complete:function(){var e=n,t=e.sub,a=e.sources;if(null!==t){var r=(void 0===a?[]:a).shift();r?Xa(r)?r.then(function(e){return n.sub=e.subscribe(n.handlers)},n.handlers.error):n.sub=r.subscribe(n.handlers):(t&&setTimeout(function(){return t.unsubscribe()}),n.sub=null,n.latest&&"next"===n.latest[0]?n.resolve(n.latest[1]):n.resolve(),n.notify("complete"),Ka(n.observers,"complete"))}}},n.nextResultListeners=new Set,n.cancel=function(e){n.reject(e),n.sources=[],n.handlers.error(e)},n.promise.catch(function(e){}),"function"==typeof t&&(t=[new $a(t)]),Xa(t)?t.then(function(e){return n.start(e)},n.handlers.error):n.start(t),n}return h(t,e),t.prototype.start=function(e){void 0===this.sub&&(this.sources=Array.from(e),this.handlers.complete())},t.prototype.deliverLastMessage=function(e){if(this.latest){var t=this.latest[0],n=e[t];n&&n.call(e,this.latest[1]),null===this.sub&&"next"===t&&e.complete&&e.complete()}},t.prototype.addObserver=function(e){this.observers.has(e)||(this.deliverLastMessage(e),this.observers.add(e))},t.prototype.removeObserver=function(e){this.observers.delete(e)&&this.observers.size<1&&this.handlers.complete()},t.prototype.notify=function(e,t){var n=this.nextResultListeners;n.size&&(this.nextResultListeners=new Set,n.forEach(function(n){return n(e,t)}))},t.prototype.beforeNext=function(e){var t=!1;this.nextResultListeners.add(function(n,a){t||(t=!0,e(n,a))})},t}($a);function er(e){return"incremental"in e}function tr(e){return gt(e)&&"payload"in e}function nr(e,t){var n=e,a=new ba;return er(t)&&sa(t.incremental)&&t.incremental.forEach(function(e){for(var t=e.data,r=e.path,i=r.length-1;i>=0;--i){var o=r[i],s=!isNaN(+o)?[]:{};s[o]=t,t=s}n=a.merge(n,t)}),n}function ar(e){return sa(rr(e))}function rr(e){var t=sa(e.errors)?e.errors.slice(0):[];return er(e)&&sa(e.incremental)&&e.incremental.forEach(function(e){e.errors&&t.push.apply(t,e.errors)}),t}function ir(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Object.create(null);return e.forEach(function(e){e&&Object.keys(e).forEach(function(t){var a=e[t];void 0!==a&&(n[t]=a)})}),n}function or(e,t){return ir(e,t,t.variables&&{variables:ir(m(m({},e&&e.variables),t.variables))})}function sr(e){return new $a(function(t){t.error(e)})}Ja(Za);var cr=function(e,t,n){var a=new Error(n);throw a.name="ServerError",a.response=e,a.statusCode=e.status,a.result=t,a};function ur(e,t){return t?t(e):$a.of()}function lr(e){return"function"==typeof e?new pr(e):e}function dr(e){return e.request.length<=1}var pr=function(){function e(e){e&&(this.request=e)}return e.empty=function(){return new e(function(){return $a.of()})},e.from=function(t){return 0===t.length?e.empty():t.map(lr).reduce(function(e,t){return e.concat(t)})},e.split=function(t,n,a){var r,i=lr(n),o=lr(a||new e(ur));return r=dr(i)&&dr(o)?new e(function(e){return t(e)?i.request(e)||$a.of():o.request(e)||$a.of()}):new e(function(e,n){return t(e)?i.request(e,n)||$a.of():o.request(e,n)||$a.of()}),Object.assign(r,{left:i,right:o})},e.execute=function(e,t){return e.request(function(e,t){var n=m({},e);return Object.defineProperty(t,"setContext",{enumerable:!1,value:function(e){n=m(m({},n),"function"==typeof e?e(n):e)}}),Object.defineProperty(t,"getContext",{enumerable:!1,value:function(){return m({},n)}}),t}(t.context,function(e){var t={variables:e.variables||{},extensions:e.extensions||{},operationName:e.operationName,query:e.query};return t.operationName||(t.operationName="string"!=typeof t.query?un(t.query)||void 0:""),t}(function(e){for(var t=["query","operationName","variables","extensions","context"],n=0,a=Object.keys(e);n<a.length;n++){var r=a[n];if(t.indexOf(r)<0)throw F(44,r)}return e}(t))))||$a.of()},e.concat=function(t,n){var a=lr(t);if(dr(a))return!1!==globalThis.__DEV__&&P.warn(36,a),a;var r,i=lr(n);return r=dr(i)?new e(function(e){return a.request(e,function(e){return i.request(e)||$a.of()})||$a.of()}):new e(function(e,t){return a.request(e,function(e){return i.request(e,t)||$a.of()})||$a.of()}),Object.assign(r,{left:a,right:i})},e.prototype.split=function(t,n,a){return this.concat(e.split(t,n,a||new e(ur)))},e.prototype.concat=function(t){return e.concat(this,t)},e.prototype.request=function(e,t){throw F(37)},e.prototype.onError=function(e,t){if(t&&t.error)return t.error(e),!1;throw e},e.prototype.setOnError=function(e){return this.onError=e,this},e}(),hr=pr.execute;function mr(e){var t=null,n=null,a=!1,r=[],i=[];function o(e){if(!n){if(i.length){var t=i.shift();if(Array.isArray(t)&&t[0])return t[0]({value:e,done:!1})}r.push(e)}}function s(e){n=e,i.slice().forEach(function(t){t[1](e)}),!t||t()}function c(){a=!0,i.slice().forEach(function(e){e[0]({value:void 0,done:!0})}),!t||t()}t=function(){t=null,e.removeListener("data",o),e.removeListener("error",s),e.removeListener("end",c),e.removeListener("finish",c),e.removeListener("close",c)},e.on("data",o),e.on("error",s),e.on("end",c),e.on("finish",c),e.on("close",c);var u={next:function(){return new Promise(function(e,t){return n?t(n):r.length?e({value:r.shift(),done:!1}):a?e({value:void 0,done:!0}):void i.push([e,t])})}};return mt&&(u[Symbol.asyncIterator]=function(){return this}),u}function fr(e){var t={next:function(){return e.read()}};return mt&&(t[Symbol.asyncIterator]=function(){return this}),t}function vr(e){var t,n,a=e;if(e.body&&(a=e.body),function(e){return!(!mt||!e[Symbol.asyncIterator])}(a))return n=a[Symbol.asyncIterator](),(t={next:function(){return n.next()}})[Symbol.asyncIterator]=function(){return this},t;if(function(e){return!!e.getReader}(a))return fr(a.getReader());if(function(e){return!!e.stream}(a))return fr(a.stream().getReader());if(function(e){return!!e.arrayBuffer}(a))return function(e){var t=!1,n={next:function(){return t?Promise.resolve({value:void 0,done:!0}):(t=!0,new Promise(function(t,n){e.then(function(e){t({value:e,done:!1})}).catch(n)}))}};return mt&&(n[Symbol.asyncIterator]=function(){return this}),n}(a.arrayBuffer());if(function(e){return!!e.pipe}(a))return mr(a);throw new Error("Unknown body type for responseIterator. Please pass a streamable response.")}var _r=Symbol();function gr(e){return e.hasOwnProperty("graphQLErrors")}var yr=function(e){function t(n){var a,r,i=n.graphQLErrors,o=n.protocolErrors,s=n.clientErrors,c=n.networkError,u=n.errorMessage,l=n.extraInfo,d=e.call(this,u)||this;return d.name="ApolloError",d.graphQLErrors=i||[],d.protocolErrors=o||[],d.clientErrors=s||[],d.networkError=c||null,d.message=u||(r=g(g(g([],(a=d).graphQLErrors,!0),a.clientErrors,!0),a.protocolErrors,!0),a.networkError&&r.push(a.networkError),r.map(function(e){return gt(e)&&e.message||"Error message not found."}).join("\n")),d.extraInfo=l,d.cause=g(g(g([c],i||[],!0),o||[],!0),s||[],!0).find(function(e){return!!e})||null,d.__proto__=t.prototype,d}return h(t,e),t}(Error),br=Object.prototype.hasOwnProperty;function kr(e){var t={};return e.split("\n").forEach(function(e){var n=e.indexOf(":");if(n>-1){var a=e.slice(0,n).trim().toLowerCase(),r=e.slice(n+1).trim();t[a]=r}}),t}function wr(e,t){if(e.status>=300){cr(e,function(){try{return JSON.parse(t)}catch(e){return t}}(),"Response not successful: Received status code ".concat(e.status))}try{return JSON.parse(t)}catch(a){var n=a;throw n.name="ServerParseError",n.response=e,n.statusCode=e.status,n.bodyText=t,n}}var xr=function(e,t){var n;try{n=JSON.stringify(e)}catch(r){var a=F(40,t,r.message);throw a.parseError=r,a}return n},Sr={http:{includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},Er=function(e,t){return t(e)};function jr(e,t){for(var n=[],a=2;a<arguments.length;a++)n[a-2]=arguments[a];var r={},i={};n.forEach(function(e){r=m(m(m({},r),e.options),{headers:m(m({},r.headers),e.headers)}),e.credentials&&(r.credentials=e.credentials),i=m(m({},i),e.http)}),r.headers&&(r.headers=function(e,t){if(!t){var n={};return Object.keys(Object(e)).forEach(function(t){n[t.toLowerCase()]=e[t]}),n}var a={};Object.keys(Object(e)).forEach(function(t){a[t.toLowerCase()]={originalName:t,value:e[t]}});var r={};return Object.keys(a).forEach(function(e){r[a[e].originalName]=a[e].value}),r}(r.headers,i.preserveHeaderCase));var o=e.operationName,s=e.extensions,c=e.variables,u=e.query,l={operationName:o,variables:c};return i.includeExtensions&&(l.extensions=s),i.includeQuery&&(l.query=t(u,ia)),{options:r,body:l}}var Tr=C(function(){return fetch}),Or=function(e){void 0===e&&(e={});var t=e.uri,n=void 0===t?"/graphql":t,a=e.fetch,r=e.print,i=void 0===r?Er:r,o=e.includeExtensions,s=e.preserveHeaderCase,c=e.useGETForQueries,u=e.includeUnusedVariables,l=void 0!==u&&u,d=f(e,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);!1!==globalThis.__DEV__&&function(e){if(!e&&"undefined"==typeof fetch)throw F(38)}(a||Tr);var p={http:{includeExtensions:o,preserveHeaderCase:s},options:d.fetchOptions,credentials:d.credentials,headers:d.headers};return new pr(function(e){var t=function(e,t){var n=e.getContext().uri;return n||("function"==typeof t?t(e):t||"/graphql")}(e,n),r=e.getContext(),o={};if(r.clientAwareness){var s=r.clientAwareness,u=s.name,d=s.version;u&&(o["apollographql-client-name"]=u),d&&(o["apollographql-client-version"]=d)}var h=m(m({},o),r.headers),f={http:r.http,options:r.fetchOptions,credentials:r.credentials,headers:h};if(at(["client"],e.query)){var g=fa(e.query);if(!g)return sr(new Error("HttpLink: Trying to send a client-only query to the server. To send to the server, ensure a non-client field is added to the query or set the `transformOptions.removeClientFields` option to `true`."));e.query=g}var y,b,k,w,x,S=jr(e,i,Sr,p,f),E=S.options,j=S.body;j.variables&&!l&&(j.variables=(y=j.variables,b=e.query,k=m({},y),w=new Set(Object.keys(y)),Ge(b,{Variable:function(e,t,n){n&&"VariableDefinition"!==n.kind&&w.delete(e.name.value)}}),w.forEach(function(e){delete k[e]}),k)),E.signal||"undefined"==typeof AbortController||(x=new AbortController,E.signal=x.signal);var T,O="OperationDefinition"===(T=pn(e.query)).kind&&"subscription"===T.operation,N=at(["defer"],e.query);if(c&&!e.query.definitions.some(function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation})&&(E.method="GET"),N||O){E.headers=E.headers||{};var M="multipart/mixed;";O&&N&&!1!==globalThis.__DEV__&&P.warn(39),O?M+="boundary=graphql;subscriptionSpec=1.0,application/json":N&&(M+="deferSpec=20220824,application/json"),E.headers.accept=M}if("GET"===E.method){var D=function(e,t){var n=[],a=function(e,t){n.push("".concat(e,"=").concat(encodeURIComponent(t)))};if("query"in t&&a("query",t.query),t.operationName&&a("operationName",t.operationName),t.variables){var r=void 0;try{r=xr(t.variables,"Variables map")}catch(I){return{parseError:I}}a("variables",r)}if(t.extensions){var i=void 0;try{i=xr(t.extensions,"Extensions map")}catch(I){return{parseError:I}}a("extensions",i)}var o="",s=e,c=e.indexOf("#");-1!==c&&(o=e.substr(c),s=e.substr(0,c));var u=-1===s.indexOf("?")?"?":"&";return{newURI:s+u+n.join("&")+o}}(t,j),A=D.newURI,I=D.parseError;if(I)return sr(I);t=A}else try{E.body=xr(j,"Payload")}catch(F){return sr(F)}return new $a(function(n){var r=a||C(function(){return fetch})||Tr,i=n.next.bind(n);return r(t,E).then(function(t){var n;e.setContext({response:t});var a,r=null===(n=t.headers)||void 0===n?void 0:n.get("content-type");return null!==r&&/^multipart\/mixed/i.test(r)?function(e,t){return v(this,void 0,void 0,function(){var n,a,r,i,o,s,c,u,l,d,p,h,f,v,g,y,b,k,w,x,S,E,j,T;return _(this,function(_){switch(_.label){case 0:if(void 0===TextDecoder)throw new Error("TextDecoder must be defined in the environment: please import a polyfill.");n=new TextDecoder("utf-8"),a=null===(T=e.headers)||void 0===T?void 0:T.get("content-type"),r="boundary=",i=(null==a?void 0:a.includes(r))?null==a?void 0:a.substring((null==a?void 0:a.indexOf(r))+9).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",o="\r\n--".concat(i),s="",c=vr(e),u=!0,_.label=1;case 1:return u?[4,c.next()]:[3,3];case 2:for(l=_.sent(),d=l.value,p=l.done,h="string"==typeof d?d:n.decode(d),f=s.length-o.length+1,u=!p,v=(s+=h).indexOf(o,f);v>-1;){if(g=void 0,E=[s.slice(0,v),s.slice(v+o.length)],s=E[1],y=(g=E[0]).indexOf("\r\n\r\n"),b=kr(g.slice(0,y)),(k=b["content-type"])&&-1===k.toLowerCase().indexOf("application/json"))throw new Error("Unsupported patch content type: application/json is required.");if(w=g.slice(y))if(x=wr(e,w),Object.keys(x).length>1||"data"in x||"incremental"in x||"errors"in x||"payload"in x)if(tr(x)){if(S={},"payload"in x){if(1===Object.keys(x).length&&null===x.payload)return[2];S=m({},x.payload)}"errors"in x&&(S=m(m({},S),{extensions:m(m({},"extensions"in S?S.extensions:null),(j={},j[_r]=x.errors,j))})),t(S)}else t(x);else if(1===Object.keys(x).length&&"hasNext"in x&&!x.hasNext)return[2];v=s.indexOf(o)}return[3,1];case 3:return[2]}})})}(t,i):(a=e,function(e){return e.text().then(function(t){return wr(e,t)}).then(function(t){return Array.isArray(t)||br.call(t,"data")||br.call(t,"errors")||cr(e,t,"Server response was missing for query '".concat(Array.isArray(a)?a.map(function(e){return e.operationName}):a.operationName,"'.")),t})})(t).then(i)}).then(function(){x=void 0,n.complete()}).catch(function(e){x=void 0,function(e,t){e.result&&e.result.errors&&e.result.data&&t.next(e.result),t.error(e)}(e,n)}),function(){x&&x.abort()}})})},Cr=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,Or(t).request)||this;return n.options=t,n}return h(t,e),t}(pr);const{toString:Nr,hasOwnProperty:Mr}=Object.prototype,Dr=Function.prototype.toString,Ar=new Map;function Ir(e,t){try{return Pr(e,t)}finally{Ar.clear()}}function Pr(e,t){if(e===t)return!0;const n=Nr.call(e);if(n!==Nr.call(t))return!1;switch(n){case"[object Array]":if(e.length!==t.length)return!1;case"[object Object]":{if(Lr(e,t))return!0;const n=Fr(e),a=Fr(t),r=n.length;if(r!==a.length)return!1;for(let e=0;e<r;++e)if(!Mr.call(t,n[e]))return!1;for(let i=0;i<r;++i){const a=n[i];if(!Pr(e[a],t[a]))return!1}return!0}case"[object Error]":return e.name===t.name&&e.message===t.message;case"[object Number]":if(e!=e)return t!=t;case"[object Boolean]":case"[object Date]":return+e===+t;case"[object RegExp]":case"[object String]":return e==`${t}`;case"[object Map]":case"[object Set]":{if(e.size!==t.size)return!1;if(Lr(e,t))return!0;const a=e.entries(),r="[object Map]"===n;for(;;){const e=a.next();if(e.done)break;const[n,i]=e.value;if(!t.has(n))return!1;if(r&&!Pr(i,t.get(n)))return!1}return!0}case"[object Uint16Array]":case"[object Uint8Array]":case"[object Uint32Array]":case"[object Int32Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object ArrayBuffer]":e=new Uint8Array(e),t=new Uint8Array(t);case"[object DataView]":{let n=e.byteLength;if(n===t.byteLength)for(;n--&&e[n]===t[n];);return-1===n}case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":{const n=Dr.call(e);return n===Dr.call(t)&&!function(e,t){const n=e.length-t.length;return n>=0&&e.indexOf(t,n)===n}(n,zr)}}return!1}function Fr(e){return Object.keys(e).filter(Rr,e)}function Rr(e){return void 0!==this[e]}const zr="{ [native code] }";function Lr(e,t){let n=Ar.get(e);if(n){if(n.has(t))return!0}else Ar.set(e,n=new Set);return n.add(t),!1}function qr(e,t,n,a){var r=t.data,i=f(t,["data"]),o=n.data;return Ir(i,f(n,["data"]))&&$r(pn(e).selectionSet,r,o,{fragmentMap:bt(ln(e)),variables:a})}function $r(e,t,n,a){if(t===n)return!0;var r=new Set;return e.selections.every(function(e){if(r.has(e))return!0;if(r.add(e),!nt(e,a.variables))return!0;if(Br(e))return!0;if(on(e)){var i=an(e),o=t&&t[i],s=n&&n[i],c=e.selectionSet;if(!c)return Ir(o,s);var u=Array.isArray(o),l=Array.isArray(s);if(u!==l)return!1;if(u&&l){var d=o.length;if(s.length!==d)return!1;for(var p=0;p<d;++p)if(!$r(c,o[p],s[p],a))return!1;return!0}return $r(c,o,s,a)}var h=kt(e,a.fragmentMap);return h?!!Br(h)||$r(h.selectionSet,t,n,a):void 0})}function Br(e){return!!e.directives&&e.directives.some(Vr)}function Vr(e){return"nonreactive"===e.name.value}var Ur=function(){function e(){this.assumeImmutableResults=!1,this.getFragmentDoc=ta(yt,{max:It["cache.fragmentQueryDocuments"]||1e3,cache:Ct})}return e.prototype.batch=function(e){var t,n=this,a="string"==typeof e.optimistic?e.optimistic:!1===e.optimistic?null:void 0;return this.performTransaction(function(){return t=e.update(n)},a),t},e.prototype.recordOptimisticTransaction=function(e,t){this.performTransaction(e,t)},e.prototype.transformDocument=function(e){return e},e.prototype.transformForLink=function(e){return e},e.prototype.identify=function(e){},e.prototype.gc=function(){return[]},e.prototype.modify=function(e){return!1},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read(m(m({},e),{rootId:e.id||"ROOT_QUERY",optimistic:t}))},e.prototype.watchFragment=function(e){var t,n=this,a=e.fragment,r=e.fragmentName,i=e.from,o=e.optimistic,s=void 0===o||o,c=f(e,["fragment","fragmentName","from","optimistic"]),u=this.getFragmentDoc(a,r),l=m(m({},c),{returnPartialData:!0,id:void 0===i||"string"==typeof i?i:this.identify(i),query:u,optimistic:s});return new $a(function(e){return n.watch(m(m({},l),{immediate:!0,callback:function(n){if(!t||!qr(u,{data:null==t?void 0:t.result},{data:n.result})){var a={data:n.result,complete:!!n.complete};n.missing&&(a.missing=ga(n.missing.map(function(e){return e.missing}))),t=n,e.next(a)}}}))})},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read(m(m({},e),{query:this.getFragmentDoc(e.fragment,e.fragmentName),rootId:e.id,optimistic:t}))},e.prototype.writeQuery=function(e){var t=e.id,n=e.data,a=f(e,["id","data"]);return this.write(Object.assign(a,{dataId:t||"ROOT_QUERY",result:n}))},e.prototype.writeFragment=function(e){var t=e.id,n=e.data,a=e.fragment,r=e.fragmentName,i=f(e,["id","data","fragment","fragmentName"]);return this.write(Object.assign(i,{query:this.getFragmentDoc(a,r),dataId:t,result:n}))},e.prototype.updateQuery=function(e,t){return this.batch({update:function(n){var a=n.readQuery(e),r=t(a);return null==r?a:(n.writeQuery(m(m({},e),{data:r})),r)}})},e.prototype.updateFragment=function(e,t){return this.batch({update:function(n){var a=n.readFragment(e),r=t(a);return null==r?a:(n.writeFragment(m(m({},e),{data:r})),r)}})},e}();!1!==globalThis.__DEV__&&(Ur.prototype.getMemoryInternals=Lt);var Wr=function(e){function t(n,a,r,i){var o,s=e.call(this,n)||this;if(s.message=n,s.path=a,s.query=r,s.variables=i,Array.isArray(s.path)){s.missing=s.message;for(var c=s.path.length-1;c>=0;--c)s.missing=((o={})[s.path[c]]=s.missing,o)}else s.missing=s.path;return s.__proto__=t.prototype,s}return h(t,e),t}(Error),Qr=Object.prototype.hasOwnProperty;function Gr(e){return null==e}function Hr(e,t){var n=e.__typename,a=e.id,r=e._id;if("string"==typeof n&&(t&&(t.keyObject=Gr(a)?Gr(r)?void 0:{_id:r}:{id:a}),Gr(a)&&!Gr(r)&&(a=r),!Gr(a)))return"".concat(n,":").concat("number"==typeof a||"string"==typeof a?a:JSON.stringify(a))}var Kr={dataIdFromObject:Hr,addTypename:!0,resultCaching:!0,canonizeResults:!1};function Yr(e){var t=e.canonizeResults;return void 0===t?Kr.canonizeResults:t}var Jr=/^[_a-z][_0-9a-z]*/i;function Xr(e){var t=e.match(Jr);return t?t[0]:e}function Zr(e,t,n){return!!gt(t)&&(oa(t)?t.every(function(t){return Zr(e,t,n)}):e.selections.every(function(e){if(on(e)&&nt(e,n)){var a=an(e);return Qr.call(t,a)&&(!e.selectionSet||Zr(e.selectionSet,t[a],n))}return!0}))}function ei(e){return gt(e)&&!Jt(e)&&!oa(e)}function ti(e,t){var n=bt(ln(e));return{fragmentMap:n,lookupFragment:function(e){var a=n[e];return!a&&t&&(a=t.lookup(e)),a||null}}}var ni,ai,ri=Object.create(null),ii=function(){return ri},oi=Object.create(null),si=function(){function e(e,t){var n=this;this.policies=e,this.group=t,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(e,t){return Ha(Jt(e)?n.get(e.__ref,t):e&&e[t])},this.canRead=function(e){return Jt(e)?n.has(e.__ref):"object"==typeof e},this.toReference=function(e,t){if("string"==typeof e)return Yt(e);if(Jt(e))return e;var a=n.policies.identify(e)[0];if(a){var r=Yt(a);return t&&n.merge(a,e),r}}}return e.prototype.toObject=function(){return m({},this.data)},e.prototype.has=function(e){return void 0!==this.lookup(e,!0)},e.prototype.get=function(e,t){if(this.group.depend(e,t),Qr.call(this.data,e)){var n=this.data[e];if(n&&Qr.call(n,t))return n[t]}return"__typename"===t&&Qr.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof di?this.parent.get(e,t):void 0},e.prototype.lookup=function(e,t){return t&&this.group.depend(e,"__exists"),Qr.call(this.data,e)?this.data[e]:this instanceof di?this.parent.lookup(e,t):this.policies.rootTypenamesById[e]?Object.create(null):void 0},e.prototype.merge=function(e,t){var n,a=this;Jt(e)&&(e=e.__ref),Jt(t)&&(t=t.__ref);var r="string"==typeof e?this.lookup(n=e):e,i="string"==typeof t?this.lookup(n=t):t;if(i){P("string"==typeof n,1);var o=new ba(hi).merge(r,i);if(this.data[n]=o,o!==r&&(delete this.refs[n],this.group.caching)){var s=Object.create(null);r||(s.__exists=1),Object.keys(i).forEach(function(e){if(!r||r[e]!==o[e]){s[e]=1;var t=Xr(e);t===e||a.policies.hasKeyArgs(o.__typename,t)||(s[t]=1),void 0!==o[e]||a instanceof di||delete o[e]}}),!s.__typename||r&&r.__typename||this.policies.rootTypenamesById[n]!==o.__typename||delete s.__typename,Object.keys(s).forEach(function(e){return a.group.dirty(n,e)})}}},e.prototype.modify=function(e,t){var n=this,a=this.lookup(e);if(a){var r=Object.create(null),i=!1,o=!0,s={DELETE:ri,INVALIDATE:oi,isReference:Jt,toReference:this.toReference,canRead:this.canRead,readField:function(t,a){return n.policies.readField("string"==typeof t?{fieldName:t,from:a||Yt(e)}:t,{store:n})}};if(Object.keys(a).forEach(function(c){var u=Xr(c),l=a[c];if(void 0!==l){var d="function"==typeof t?t:t[c]||t[u];if(d){var p=d===ii?ri:d(Ha(l),m(m({},s),{fieldName:u,storeFieldName:c,storage:n.getStorage(e,c)}));if(p===oi)n.group.dirty(e,c);else if(p===ri&&(p=void 0),p!==l&&(r[c]=p,i=!0,l=p,!1!==globalThis.__DEV__)){var h=function(e){if(void 0===n.lookup(e.__ref))return!1!==globalThis.__DEV__&&P.warn(2,e),!0};if(Jt(p))h(p);else if(Array.isArray(p))for(var f=!1,v=void 0,_=0,g=p;_<g.length;_++){var y=g[_];if(Jt(y)){if(f=!0,h(y))break}else if("object"==typeof y&&y)n.policies.identify(y)[0]&&(v=y);if(f&&void 0!==v){!1!==globalThis.__DEV__&&P.warn(3,v);break}}}}void 0!==l&&(o=!1)}}),i)return this.merge(e,r),o&&(this instanceof di?this.data[e]=void 0:delete this.data[e],this.group.dirty(e,"__exists")),!0}return!1},e.prototype.delete=function(e,t,n){var a,r=this.lookup(e);if(r){var i=this.getFieldValue(r,"__typename"),o=t&&n?this.policies.getStoreFieldName({typename:i,fieldName:t,args:n}):t;return this.modify(e,o?((a={})[o]=ii,a):ii)}return!1},e.prototype.evict=function(e,t){var n=!1;return e.id&&(Qr.call(this.data,e.id)&&(n=this.delete(e.id,e.fieldName,e.args)),this instanceof di&&this!==t&&(n=this.parent.evict(e,t)||n),(e.fieldName||n)&&this.group.dirty(e.id,e.fieldName||"__exists")),n},e.prototype.clear=function(){this.replace(null)},e.prototype.extract=function(){var e=this,t=this.toObject(),n=[];return this.getRootIdSet().forEach(function(t){Qr.call(e.policies.rootTypenamesById,t)||n.push(t)}),n.length&&(t.__META={extraRootIds:n.sort()}),t},e.prototype.replace=function(e){var t=this;if(Object.keys(this.data).forEach(function(n){e&&Qr.call(e,n)||t.delete(n)}),e){var n=e.__META,a=f(e,["__META"]);Object.keys(a).forEach(function(e){t.merge(e,a[e])}),n&&n.extraRootIds.forEach(this.retain,this)}},e.prototype.retain=function(e){return this.rootIds[e]=(this.rootIds[e]||0)+1},e.prototype.release=function(e){if(this.rootIds[e]>0){var t=--this.rootIds[e];return t||delete this.rootIds[e],t}return 0},e.prototype.getRootIdSet=function(e){return void 0===e&&(e=new Set),Object.keys(this.rootIds).forEach(e.add,e),this instanceof di?this.parent.getRootIdSet(e):Object.keys(this.policies.rootTypenamesById).forEach(e.add,e),e},e.prototype.gc=function(){var e=this,t=this.getRootIdSet(),n=this.toObject();t.forEach(function(a){Qr.call(n,a)&&(Object.keys(e.findChildRefIds(a)).forEach(t.add,t),delete n[a])});var a=Object.keys(n);if(a.length){for(var r=this;r instanceof di;)r=r.parent;a.forEach(function(e){return r.delete(e)})}return a},e.prototype.findChildRefIds=function(e){if(!Qr.call(this.refs,e)){var t=this.refs[e]=Object.create(null),n=this.data[e];if(!n)return t;var a=new Set([n]);a.forEach(function(e){Jt(e)&&(t[e.__ref]=!0),gt(e)&&Object.keys(e).forEach(function(t){var n=e[t];gt(n)&&a.add(n)})})}return this.refs[e]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),ci=function(){function e(e,t){void 0===t&&(t=null),this.caching=e,this.parent=t,this.d=null,this.resetCaching()}return e.prototype.resetCaching=function(){this.d=this.caching?Jn():null,this.keyMaker=new ut(dt)},e.prototype.depend=function(e,t){if(this.d){this.d(ui(e,t));var n=Xr(t);n!==t&&this.d(ui(e,n)),this.parent&&this.parent.depend(e,t)}},e.prototype.dirty=function(e,t){this.d&&this.d.dirty(ui(e,t),"__exists"===t?"forget":"setDirty")},e}();function ui(e,t){return t+"#"+e}function li(e,t){mi(e)&&e.group.depend(t,"__exists")}ni=si||(si={}),ai=function(e){function t(t){var n=t.policies,a=t.resultCaching,r=void 0===a||a,i=t.seed,o=e.call(this,n,new ci(r))||this;return o.stump=new pi(o),o.storageTrie=new ut(dt),i&&o.replace(i),o}return h(t,e),t.prototype.addLayer=function(e,t){return this.stump.addLayer(e,t)},t.prototype.removeLayer=function(){return this},t.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},t}(ni),ni.Root=ai;var di=function(e){function t(t,n,a,r){var i=e.call(this,n.policies,r)||this;return i.id=t,i.parent=n,i.replay=a,i.group=r,a(i),i}return h(t,e),t.prototype.addLayer=function(e,n){return new t(e,this,n,this.group)},t.prototype.removeLayer=function(e){var t=this,n=this.parent.removeLayer(e);return e===this.id?(this.group.caching&&Object.keys(this.data).forEach(function(e){var a=t.data[e],r=n.lookup(e);r?a?a!==r&&Object.keys(a).forEach(function(n){Ir(a[n],r[n])||t.group.dirty(e,n)}):(t.group.dirty(e,"__exists"),Object.keys(r).forEach(function(n){t.group.dirty(e,n)})):t.delete(e)}),n):n===this.parent?this:n.addLayer(this.id,this.replay)},t.prototype.toObject=function(){return m(m({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(t){var n=this.parent.findChildRefIds(t);return Qr.call(this.data,t)?m(m({},n),e.prototype.findChildRefIds.call(this,t)):n},t.prototype.getStorage=function(){for(var e=this.parent;e.parent;)e=e.parent;return e.getStorage.apply(e,arguments)},t}(si),pi=function(e){function t(t){return e.call(this,"EntityStore.Stump",t,function(){},new ci(t.group.caching,t.group))||this}return h(t,e),t.prototype.removeLayer=function(){return this},t.prototype.merge=function(e,t){return this.parent.merge(e,t)},t}(di);function hi(e,t,n){var a=e[n],r=t[n];return Ir(a,r)?a:r}function mi(e){return!!(e instanceof si&&e.group.caching)}var fi=function(){function e(){this.known=new(pt?WeakSet:Set),this.pool=new ut(dt),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return gt(e)&&this.known.has(e)},e.prototype.pass=function(e){if(gt(e)){var t=function(e){return gt(e)?oa(e)?e.slice(0):m({__proto__:Object.getPrototypeOf(e)},e):e}(e);return this.passes.set(t,e),t}return e},e.prototype.admit=function(e){var t=this;if(gt(e)){var n=this.passes.get(e);if(n)return n;switch(Object.getPrototypeOf(e)){case Array.prototype:if(this.known.has(e))return e;var a=e.map(this.admit,this);return(s=this.pool.lookupArray(a)).array||(this.known.add(s.array=a),!1!==globalThis.__DEV__&&Object.freeze(a)),s.array;case null:case Object.prototype:if(this.known.has(e))return e;var r=Object.getPrototypeOf(e),i=[r],o=this.sortedKeys(e);i.push(o.json);var s,c=i.length;if(o.sorted.forEach(function(n){i.push(t.admit(e[n]))}),!(s=this.pool.lookupArray(i)).object){var u=s.object=Object.create(r);this.known.add(u),o.sorted.forEach(function(e,t){u[e]=i[c+t]}),!1!==globalThis.__DEV__&&Object.freeze(u)}return s.object}}return e},e.prototype.sortedKeys=function(e){var t=Object.keys(e),n=this.pool.lookupArray(t);if(!n.keys){t.sort();var a=JSON.stringify(t);(n.keys=this.keysByJSON.get(a))||this.keysByJSON.set(a,n.keys={sorted:t,json:a})}return n.keys},e}();function vi(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var _i=function(){function e(e){var t=this;this.knownResults=new(dt?WeakMap:Map),this.config=ir(e,{addTypename:!1!==e.addTypename,canonizeResults:Yr(e)}),this.canon=e.canon||new fi,this.executeSelectionSet=ta(function(e){var n,a=e.context.canonizeResults,r=vi(e);r[3]=!a;var i=(n=t.executeSelectionSet).peek.apply(n,r);return i?a?m(m({},i),{result:t.canon.admit(i.result)}):i:(li(e.context.store,e.enclosingRef.__ref),t.execSelectionSetImpl(e))},{max:this.config.resultCacheMaxSize||It["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:vi,makeCacheKey:function(e,t,n,a){if(mi(n.store))return n.store.makeCacheKey(e,Jt(t)?t.__ref:t,n.varString,a)}}),this.executeSubSelectedArray=ta(function(e){return li(e.context.store,e.enclosingRef.__ref),t.execSubSelectedArrayImpl(e)},{max:this.config.resultCacheMaxSize||It["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey:function(e){var t=e.field,n=e.array,a=e.context;if(mi(a.store))return a.store.makeCacheKey(t,n,a.varString)}})}return e.prototype.resetCanon=function(){this.canon=new fi},e.prototype.diffQueryAgainstStore=function(e){var t=e.store,n=e.query,a=e.rootId,r=void 0===a?"ROOT_QUERY":a,i=e.variables,o=e.returnPartialData,s=void 0===o||o,c=e.canonizeResults,u=void 0===c?this.config.canonizeResults:c,l=this.config.cache.policies;i=m(m({},hn(dn(n))),i);var d,p=Yt(r),h=this.executeSelectionSet({selectionSet:pn(n).selectionSet,objectOrReference:p,enclosingRef:p,context:m({store:t,query:n,policies:l,variables:i,varString:Gt(i),canonizeResults:u},ti(n,this.config.fragments))});if(h.missing&&(d=[new Wr(gi(h.missing),h.missing,n,i)],!s))throw d[0];return{result:h.result,complete:!d,missing:d}},e.prototype.isFresh=function(e,t,n,a){if(mi(a.store)&&this.knownResults.get(e)===n){var r=this.executeSelectionSet.peek(n,t,a,this.canon.isKnown(e));if(r&&e===r.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(e){var t=this,n=e.selectionSet,a=e.objectOrReference,r=e.enclosingRef,i=e.context;if(Jt(a)&&!i.policies.rootTypenamesById[a.__ref]&&!i.store.has(a.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(a.__ref," object")};var o,s=i.variables,c=i.policies,u=i.store.getFieldValue(a,"__typename"),l=[],d=new ba;function p(e,t){var n;return e.missing&&(o=d.merge(o,((n={})[t]=e.missing,n))),e.result}this.config.addTypename&&"string"==typeof u&&!c.rootIdsByTypename[u]&&l.push({__typename:u});var h=new Set(n.selections);h.forEach(function(e){var n,m;if(nt(e,s))if(on(e)){var f=c.readField({fieldName:e.name.value,field:e,variables:i.variables,from:a},i),v=an(e);void 0===f?ha.added(e)||(o=d.merge(o,((n={})[v]="Can't find field '".concat(e.name.value,"' on ").concat(Jt(a)?a.__ref+" object":"object "+JSON.stringify(a,null,2)),n))):oa(f)?f.length>0&&(f=p(t.executeSubSelectedArray({field:e,array:f,enclosingRef:r,context:i}),v)):e.selectionSet?null!=f&&(f=p(t.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:f,enclosingRef:Jt(f)?f:r,context:i}),v)):i.canonizeResults&&(f=t.canon.pass(f)),void 0!==f&&l.push(((m={})[v]=f,m))}else{var _=kt(e,i.lookupFragment);if(!_&&e.kind===oe.FRAGMENT_SPREAD)throw F(9,e.name.value);_&&c.fragmentMatches(_,u)&&_.selectionSet.selections.forEach(h.add,h)}});var m={result:ga(l),missing:o},f=i.canonizeResults?this.canon.admit(m):Ha(m);return f.result&&this.knownResults.set(f.result,n),f},e.prototype.execSubSelectedArrayImpl=function(e){var t,n=this,a=e.field,r=e.array,i=e.enclosingRef,o=e.context,s=new ba;function c(e,n){var a;return e.missing&&(t=s.merge(t,((a={})[n]=e.missing,a))),e.result}return a.selectionSet&&(r=r.filter(o.store.canRead)),r=r.map(function(e,t){return null===e?null:oa(e)?c(n.executeSubSelectedArray({field:a,array:e,enclosingRef:i,context:o}),t):a.selectionSet?c(n.executeSelectionSet({selectionSet:a.selectionSet,objectOrReference:e,enclosingRef:Jt(e)?e:i,context:o}),t):(!1!==globalThis.__DEV__&&function(e,t,n){if(!t.selectionSet){var a=new Set([n]);a.forEach(function(n){gt(n)&&(P(!Jt(n),10,function(e,t){return Jt(t)?e.get(t.__ref,"__typename"):t&&t.__typename}(e,n),t.name.value),Object.values(n).forEach(a.add,a))})}}(o.store,a,e),e)}),{result:o.canonizeResults?this.canon.admit(r):r,missing:t}},e}();function gi(e){try{JSON.stringify(e,function(e,t){if("string"==typeof t)throw t;return t})}catch(_g){return _g}}var yi=new jn,bi=new WeakMap;function ki(e){var t=bi.get(e);return t||bi.set(e,t={vars:new Set,dep:Jn()}),t}function wi(e){ki(e).vars.forEach(function(t){return t.forgetCache(e)})}function xi(e){var t=new Set,n=new Set,a=function(i){if(arguments.length>0){if(e!==i){e=i,t.forEach(function(e){ki(e).dep.dirty(a),function(e){e.broadcastWatches&&e.broadcastWatches()}(e)});var o=Array.from(n);n.clear(),o.forEach(function(t){return t(e)})}}else{var s=yi.getValue();s&&(r(s),ki(s).dep(a))}return e};a.onNextChange=function(e){return n.add(e),function(){n.delete(e)}};var r=a.attachCache=function(e){return t.add(e),ki(e).vars.add(a),a};return a.forgetCache=function(e){return t.delete(e)},a}var Si=Object.create(null);function Ei(e){var t=JSON.stringify(e);return Si[t]||(Si[t]=Object.create(null))}function ji(e){var t=Ei(e);return t.keyFieldsFn||(t.keyFieldsFn=function(t,n){var a=function(e,t){return n.readField(t,e)},r=n.keyObject=Oi(e,function(e){var r=Mi(n.storeObject,e,a);return void 0===r&&t!==n.storeObject&&Qr.call(t,e[0])&&(r=Mi(t,e,Ni)),P(void 0!==r,4,e.join("."),t),r});return"".concat(n.typename,":").concat(JSON.stringify(r))})}function Ti(e){var t=Ei(e);return t.keyArgsFn||(t.keyArgsFn=function(t,n){var a=n.field,r=n.variables,i=n.fieldName,o=Oi(e,function(e){var n=e[0],i=n.charAt(0);if("@"!==i)if("$"!==i){if(t)return Mi(t,e)}else{var o=n.slice(1);if(r&&Qr.call(r,o)){var s=e.slice(0);return s[0]=o,Mi(r,s)}}else if(a&&sa(a.directives)){var c=n.slice(1),u=a.directives.find(function(e){return e.name.value===c}),l=u&&nn(u,r);return l&&Mi(l,e.slice(1))}}),s=JSON.stringify(o);return(t||"{}"!==s)&&(i+=":"+s),i})}function Oi(e,t){var n=new ba;return Ci(e).reduce(function(e,a){var r,i=t(a);if(void 0!==i){for(var o=a.length-1;o>=0;--o)(r={})[a[o]]=i,i=r;e=n.merge(e,i)}return e},Object.create(null))}function Ci(e){var t=Ei(e);if(!t.paths){var n=t.paths=[],a=[];e.forEach(function(t,r){oa(t)?(Ci(t).forEach(function(e){return n.push(a.concat(e))}),a.length=0):(a.push(t),oa(e[r+1])||(n.push(a.slice(0)),a.length=0))})}return t.paths}function Ni(e,t){return e[t]}function Mi(e,t,n){return n=n||Ni,Di(t.reduce(function e(t,a){return oa(t)?t.map(function(t){return e(t,a)}):t&&n(t,a)},e))}function Di(e){return gt(e)?oa(e)?e.map(Di):Oi(Object.keys(e).sort(),function(t){return Mi(e,t)}):e}function Ai(e){return void 0!==e.args?e.args:e.field?nn(e.field,e.variables):null}var Ii=function(){},Pi=function(e,t){return t.fieldName},Fi=function(e,t,n){return(0,n.mergeObjects)(e,t)},Ri=function(e,t){return t},zi=function(){function e(e){this.config=e,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=m({dataIdFromObject:Hr},e),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),e.possibleTypes&&this.addPossibleTypes(e.possibleTypes),e.typePolicies&&this.addTypePolicies(e.typePolicies)}return e.prototype.identify=function(e,t){var n,a=this,r=t&&(t.typename||(null===(n=t.storeObject)||void 0===n?void 0:n.__typename))||e.__typename;if(r===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var i,o=t&&t.storeObject||e,s=m(m({},t),{typename:r,storeObject:o,readField:t&&t.readField||function(){var e=qi(arguments,o);return a.readField(e,{store:a.cache.data,variables:e.variables})}}),c=r&&this.getTypePolicy(r),u=c&&c.keyFn||this.config.dataIdFromObject;u;){var l=u(m(m({},e),o),s);if(!oa(l)){i=l;break}u=ji(l)}return i=i?String(i):void 0,s.keyObject?[i,s.keyObject]:[i]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach(function(n){var a=e[n],r=a.queryType,i=a.mutationType,o=a.subscriptionType,s=f(a,["queryType","mutationType","subscriptionType"]);r&&t.setRootTypename("Query",n),i&&t.setRootTypename("Mutation",n),o&&t.setRootTypename("Subscription",n),Qr.call(t.toBeAdded,n)?t.toBeAdded[n].push(s):t.toBeAdded[n]=[s]})},e.prototype.updateTypePolicy=function(e,t){var n=this,a=this.getTypePolicy(e),r=t.keyFields,i=t.fields;function o(e,t){e.merge="function"==typeof t?t:!0===t?Fi:!1===t?Ri:e.merge}o(a,t.merge),a.keyFn=!1===r?Ii:oa(r)?ji(r):"function"==typeof r?r:a.keyFn,i&&Object.keys(i).forEach(function(t){var a=n.getFieldPolicy(e,t,!0),r=i[t];if("function"==typeof r)a.read=r;else{var s=r.keyArgs,c=r.read,u=r.merge;a.keyFn=!1===s?Pi:oa(s)?Ti(s):"function"==typeof s?s:a.keyFn,"function"==typeof c&&(a.read=c),o(a,u)}a.read&&a.merge&&(a.keyFn=a.keyFn||Pi)})},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var n="ROOT_"+e.toUpperCase(),a=this.rootTypenamesById[n];t!==a&&(P(!a||a===e,5,e),a&&delete this.rootIdsByTypename[a],this.rootIdsByTypename[t]=n,this.rootTypenamesById[n]=t)},e.prototype.addPossibleTypes=function(e){var t=this;this.usingPossibleTypes=!0,Object.keys(e).forEach(function(n){t.getSupertypeSet(n,!0),e[n].forEach(function(e){t.getSupertypeSet(e,!0).add(n);var a=e.match(Jr);a&&a[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))})})},e.prototype.getTypePolicy=function(e){var t=this;if(!Qr.call(this.typePolicies,e)){var n=this.typePolicies[e]=Object.create(null);n.fields=Object.create(null);var a=this.supertypeMap.get(e);!a&&this.fuzzySubtypes.size&&(a=this.getSupertypeSet(e,!0),this.fuzzySubtypes.forEach(function(n,r){if(n.test(e)){var i=t.supertypeMap.get(r);i&&i.forEach(function(e){return a.add(e)})}})),a&&a.size&&a.forEach(function(e){var a=t.getTypePolicy(e),r=a.fields,i=f(a,["fields"]);Object.assign(n,i),Object.assign(n.fields,r)})}var r=this.toBeAdded[e];return r&&r.length&&r.splice(0).forEach(function(n){t.updateTypePolicy(e,n)}),this.typePolicies[e]},e.prototype.getFieldPolicy=function(e,t,n){if(e){var a=this.getTypePolicy(e).fields;return a[t]||n&&(a[t]=Object.create(null))}},e.prototype.getSupertypeSet=function(e,t){var n=this.supertypeMap.get(e);return!n&&t&&this.supertypeMap.set(e,n=new Set),n},e.prototype.fragmentMatches=function(e,t,n,a){var r=this;if(!e.typeCondition)return!0;if(!t)return!1;var i=e.typeCondition.name.value;if(t===i)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(i))for(var o=this.getSupertypeSet(t,!0),s=[o],c=function(e){var t=r.getSupertypeSet(e,!1);t&&t.size&&s.indexOf(t)<0&&s.push(t)},u=!(!n||!this.fuzzySubtypes.size),l=!1,d=0;d<s.length;++d){var p=s[d];if(p.has(i))return o.has(i)||(l&&!1!==globalThis.__DEV__&&P.warn(6,t,i),o.add(i)),!0;p.forEach(c),u&&d===s.length-1&&Zr(e.selectionSet,n,a)&&(u=!1,l=!0,this.fuzzySubtypes.forEach(function(e,n){var a=t.match(e);a&&a[0]===t&&c(n)}))}return!1},e.prototype.hasKeyArgs=function(e,t){var n=this.getFieldPolicy(e,t,!1);return!(!n||!n.keyFn)},e.prototype.getStoreFieldName=function(e){var t,n=e.typename,a=e.fieldName,r=this.getFieldPolicy(n,a,!1),i=r&&r.keyFn;if(i&&n)for(var o={typename:n,fieldName:a,field:e.field||null,variables:e.variables},s=Ai(e);i;){var c=i(s,o);if(!oa(c)){t=c||a;break}i=Ti(c)}return void 0===t&&(t=e.field?function(e,t){var n=null;e.directives&&(n={},e.directives.forEach(function(e){n[e.name.value]={},e.arguments&&e.arguments.forEach(function(a){var r=a.name,i=a.value;return Xt(n[e.name.value],r,i,t)})}));var a=null;return e.arguments&&e.arguments.length&&(a={},e.arguments.forEach(function(e){var n=e.name,r=e.value;return Xt(a,n,r,t)})),tn(e.name.value,a,n)}(e.field,e.variables):tn(a,Ai(e))),!1===t?a:a===Xr(t)?t:a+":"+t},e.prototype.readField=function(e,t){var n=e.from;if(n&&(e.field||e.fieldName)){if(void 0===e.typename){var a=t.store.getFieldValue(n,"__typename");a&&(e.typename=a)}var r=this.getStoreFieldName(e),i=Xr(r),o=t.store.getFieldValue(n,r),s=this.getFieldPolicy(e.typename,i,!1),c=s&&s.read;if(c){var u=Li(this,n,e,t,t.store.getStorage(Jt(n)?n.__ref:n,r));return yi.withValue(this.cache,c,[o,u])}return o}},e.prototype.getReadFunction=function(e,t){var n=this.getFieldPolicy(e,t,!1);return n&&n.read},e.prototype.getMergeFunction=function(e,t,n){var a=this.getFieldPolicy(e,t,!1),r=a&&a.merge;return!r&&n&&(r=(a=this.getTypePolicy(n))&&a.merge),r},e.prototype.runMergeFunction=function(e,t,n,a,r){var i=n.field,o=n.typename,s=n.merge;return s===Fi?$i(a.store)(e,t):s===Ri?t:(a.overwrite&&(e=void 0),s(e,t,Li(this,void 0,{typename:o,fieldName:i.name.value,field:i,variables:a.variables},a,r||Object.create(null))))},e}();function Li(e,t,n,a,r){var i=e.getStoreFieldName(n),o=Xr(i),s=n.variables||a.variables,c=a.store,u=c.toReference,l=c.canRead;return{args:Ai(n),field:n.field||null,fieldName:o,storeFieldName:i,variables:s,isReference:Jt,toReference:u,storage:r,cache:e.cache,canRead:l,readField:function(){return e.readField(qi(arguments,t,s),a)},mergeObjects:$i(a.store)}}function qi(e,t,n){var a,r=e[0],i=e[1],o=e.length;return"string"==typeof r?a={fieldName:r,from:o>1?i:t}:(a=m({},r),Qr.call(a,"from")||(a.from=t)),!1!==globalThis.__DEV__&&void 0===a.from&&!1!==globalThis.__DEV__&&P.warn(7,A(Array.from(e))),void 0===a.variables&&(a.variables=n),a}function $i(e){return function(t,n){if(oa(t)||oa(n))throw F(8);if(gt(t)&>(n)){var a=e.getFieldValue(t,"__typename"),r=e.getFieldValue(n,"__typename");if(a&&r&&a!==r)return n;if(Jt(t)&&ei(n))return e.merge(t.__ref,n),t;if(ei(t)&&Jt(n))return e.merge(t,n.__ref),n;if(ei(t)&&ei(n))return m(m({},t),n)}return n}}function Bi(e,t,n){var a="".concat(t).concat(n),r=e.flavors.get(a);return r||e.flavors.set(a,r=e.clientOnly===t&&e.deferred===n?e:m(m({},e),{clientOnly:t,deferred:n})),r}var Vi=function(){function e(e,t,n){this.cache=e,this.reader=t,this.fragments=n}return e.prototype.writeToStore=function(e,t){var n=this,a=t.query,r=t.result,i=t.dataId,o=t.variables,s=t.overwrite,c=cn(a),u=new ba;o=m(m({},hn(c)),o);var l=m(m({store:e,written:Object.create(null),merge:function(e,t){return u.merge(e,t)},variables:o,varString:Gt(o)},ti(a,this.fragments)),{overwrite:!!s,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),d=this.processSelectionSet({result:r||Object.create(null),dataId:i,selectionSet:c.selectionSet,mergeTree:{map:new Map},context:l});if(!Jt(d))throw F(11,r);return l.incomingById.forEach(function(t,a){var r=t.storeObject,i=t.mergeTree,o=t.fieldNodeSet,s=Yt(a);if(i&&i.map.size){var c=n.applyMerges(i,s,r,l);if(Jt(c))return;r=c}if(!1!==globalThis.__DEV__&&!l.overwrite){var u=Object.create(null);o.forEach(function(e){e.selectionSet&&(u[e.name.value]=!0)});Object.keys(r).forEach(function(e){(function(e){return!0===u[Xr(e)]})(e)&&!function(e){var t=i&&i.map.get(e);return Boolean(t&&t.info&&t.info.merge)}(e)&&function(e,t,n,a){var r=function(e){var t=a.getFieldValue(e,n);return"object"==typeof t&&t},i=r(e);if(!i)return;var o=r(t);if(!o)return;if(Jt(i))return;if(Ir(i,o))return;if(Object.keys(i).every(function(e){return void 0!==a.getFieldValue(o,e)}))return;var s=a.getFieldValue(e,"__typename")||a.getFieldValue(t,"__typename"),c=Xr(n),u="".concat(s,".").concat(c);if(Ki.has(u))return;Ki.add(u);var l=[];oa(i)||oa(o)||[i,o].forEach(function(e){var t=a.getFieldValue(e,"__typename");"string"!=typeof t||l.includes(t)||l.push(t)});!1!==globalThis.__DEV__&&P.warn(14,c,s,l.length?"either ensure all objects of type "+l.join(" and ")+" have an ID or a custom merge function, or ":"",u,m({},i),m({},o))}(s,r,e,l.store)})}e.merge(a,r)}),e.retain(d.__ref),d},e.prototype.processSelectionSet=function(e){var t=this,n=e.dataId,a=e.result,r=e.selectionSet,i=e.context,o=e.mergeTree,s=this.cache.policies,c=Object.create(null),u=n&&s.rootTypenamesById[n]||rn(a,r,i.fragmentMap)||n&&i.store.get(n,"__typename");"string"==typeof u&&(c.__typename=u);var l=function(){var e=qi(arguments,c,i.variables);if(Jt(e.from)){var t=i.incomingById.get(e.from.__ref);if(t){var n=s.readField(m(m({},e),{from:t.storeObject}),i);if(void 0!==n)return n}}return s.readField(e,i)},d=new Set;this.flattenFields(r,a,i,u).forEach(function(e,n){var r,i=an(n),p=a[i];if(d.add(n),void 0!==p){var h=s.getStoreFieldName({typename:u,fieldName:n.name.value,field:n,variables:e.variables}),m=Wi(o,h),f=t.processFieldValue(p,n,n.selectionSet?Bi(e,!1,!1):e,m),v=void 0;n.selectionSet&&(Jt(f)||ei(f))&&(v=l("__typename",f));var _=s.getMergeFunction(u,n.name.value,v);_?m.info={field:n,typename:u,merge:_}:Hi(o,h),c=e.merge(c,((r={})[h]=f,r))}else!1===globalThis.__DEV__||e.clientOnly||e.deferred||ha.added(n)||s.getReadFunction(u,n.name.value)||!1!==globalThis.__DEV__&&P.error(12,an(n),a)});try{var p=s.identify(a,{typename:u,selectionSet:r,fragmentMap:i.fragmentMap,storeObject:c,readField:l}),h=p[0],f=p[1];n=n||h,f&&(c=i.merge(c,f))}catch(y){if(!n)throw y}if("string"==typeof n){var v=Yt(n),_=i.written[n]||(i.written[n]=[]);if(_.indexOf(r)>=0)return v;if(_.push(r),this.reader&&this.reader.isFresh(a,v,r,i))return v;var g=i.incomingById.get(n);return g?(g.storeObject=i.merge(g.storeObject,c),g.mergeTree=Qi(g.mergeTree,o),d.forEach(function(e){return g.fieldNodeSet.add(e)})):i.incomingById.set(n,{storeObject:c,mergeTree:Gi(o)?void 0:o,fieldNodeSet:d}),v}return c},e.prototype.processFieldValue=function(e,t,n,a){var r=this;return t.selectionSet&&null!==e?oa(e)?e.map(function(e,i){var o=r.processFieldValue(e,t,n,Wi(a,i));return Hi(a,i),o}):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:n,mergeTree:a}):!1!==globalThis.__DEV__?Wa(e):e},e.prototype.flattenFields=function(e,t,n,a){void 0===a&&(a=rn(t,e,n.fragmentMap));var r=new Map,i=this.cache.policies,o=new ut(!1);return function e(s,c){var u=o.lookup(s,c.clientOnly,c.deferred);u.visited||(u.visited=!0,s.selections.forEach(function(o){if(nt(o,n.variables)){var s=c.clientOnly,u=c.deferred;if(s&&u||!sa(o.directives)||o.directives.forEach(function(e){var t=e.name.value;if("client"===t&&(s=!0),"defer"===t){var a=nn(e,n.variables);a&&!1===a.if||(u=!0)}}),on(o)){var l=r.get(o);l&&(s=s&&l.clientOnly,u=u&&l.deferred),r.set(o,Bi(n,s,u))}else{var d=kt(o,n.lookupFragment);if(!d&&o.kind===oe.FRAGMENT_SPREAD)throw F(13,o.name.value);d&&i.fragmentMatches(d,a,t,n.variables)&&e(d.selectionSet,Bi(n,s,u))}}}))}(e,n),r},e.prototype.applyMerges=function(e,t,n,a,r){var i,o=this;if(e.map.size&&!Jt(n)){var s,c=oa(n)||!Jt(t)&&!ei(t)?void 0:t,u=n;c&&!r&&(r=[Jt(c)?c.__ref:c]);var l=function(e,t){return oa(e)?"number"==typeof t?e[t]:void 0:a.store.getFieldValue(e,String(t))};e.map.forEach(function(e,t){var n=l(c,t),i=l(u,t);if(void 0!==i){r&&r.push(t);var d=o.applyMerges(e,n,i,a,r);d!==i&&(s=s||new Map).set(t,d),r&&P(r.pop()===t)}}),s&&(n=oa(u)?u.slice(0):m({},u),s.forEach(function(e,t){n[t]=e}))}return e.info?this.cache.policies.runMergeFunction(t,n,e.info,a,r&&(i=a.store).getStorage.apply(i,r)):n},e}(),Ui=[];function Wi(e,t){var n=e.map;return n.has(t)||n.set(t,Ui.pop()||{map:new Map}),n.get(t)}function Qi(e,t){if(e===t||!t||Gi(t))return e;if(!e||Gi(e))return t;var n=e.info&&t.info?m(m({},e.info),t.info):e.info||t.info,a=e.map.size&&t.map.size,r={info:n,map:a?new Map:e.map.size?e.map:t.map};if(a){var i=new Set(t.map.keys());e.map.forEach(function(e,n){r.map.set(n,Qi(e,t.map.get(n))),i.delete(n)}),i.forEach(function(n){r.map.set(n,Qi(t.map.get(n),e.map.get(n)))})}return r}function Gi(e){return!e||!(e.info||e.map.size)}function Hi(e,t){var n=e.map,a=n.get(t);a&&Gi(a)&&(Ui.push(a),n.delete(t))}var Ki=new Set;var Yi,Ji,Xi=function(e){function t(t){void 0===t&&(t={});var n=e.call(this)||this;return n.watches=new Set,n.addTypenameTransform=new ra(ha),n.assumeImmutableResults=!0,n.makeVar=xi,n.txCount=0,n.config=function(e){return ir(Kr,e)}(t),n.addTypename=!!n.config.addTypename,n.policies=new zi({cache:n,dataIdFromObject:n.config.dataIdFromObject,possibleTypes:n.config.possibleTypes,typePolicies:n.config.typePolicies}),n.init(),n}return h(t,e),t.prototype.init=function(){var e=this.data=new si.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=e.stump,this.resetResultCache()},t.prototype.resetResultCache=function(e){var t=this,n=this.storeReader,a=this.config.fragments;this.storeWriter=new Vi(this,this.storeReader=new _i({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:Yr(this.config),canon:e?void 0:n&&n.canon,fragments:a}),a),this.maybeBroadcastWatch=ta(function(e,n){return t.broadcastWatch(e,n)},{max:this.config.resultCacheMaxSize||It["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:function(e){var n=e.optimistic?t.optimisticData:t.data;if(mi(n)){var a=e.optimistic,r=e.id,i=e.variables;return n.makeCacheKey(e.query,e.callback,Gt({optimistic:a,id:r,variables:i}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach(function(e){return e.resetCaching()})},t.prototype.restore=function(e){return this.init(),e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).extract()},t.prototype.read=function(e){var t=e.returnPartialData,n=void 0!==t&&t;try{return this.storeReader.diffQueryAgainstStore(m(m({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:n})).result||null}catch(a){if(a instanceof Wr)return null;throw a}},t.prototype.write=function(e){try{return++this.txCount,this.storeWriter.writeToStore(this.data,e)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.modify=function(e){if(Qr.call(e,"id")&&!e.id)return!1;var t=e.optimistic?this.optimisticData:this.data;try{return++this.txCount,t.modify(e.id||"ROOT_QUERY",e.fields)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.diff=function(e){return this.storeReader.diffQueryAgainstStore(m(m({},e),{store:e.optimistic?this.optimisticData:this.data,rootId:e.id||"ROOT_QUERY",config:this.config}))},t.prototype.watch=function(e){var t,n=this;return this.watches.size||ki(t=this).vars.forEach(function(e){return e.attachCache(t)}),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){n.watches.delete(e)&&!n.watches.size&&wi(n),n.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(e){var t;Gt.reset(),ia.reset(),this.addTypenameTransform.resetCache(),null===(t=this.config.fragments)||void 0===t||t.resetCaches();var n=this.optimisticData.gc();return e&&!this.txCount&&(e.resetResultCache?this.resetResultCache(e.resetResultIdentities):e.resetResultIdentities&&this.storeReader.resetCanon()),n},t.prototype.retain=function(e,t){return(t?this.optimisticData:this.data).retain(e)},t.prototype.release=function(e,t){return(t?this.optimisticData:this.data).release(e)},t.prototype.identify=function(e){if(Jt(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(t){!1!==globalThis.__DEV__&&P.warn(t)}},t.prototype.evict=function(e){if(!e.id){if(Qr.call(e,"id"))return!1;e=m(m({},e),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(e,this.data)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.reset=function(e){var t=this;return this.init(),Gt.reset(),e&&e.discardWatches?(this.watches.forEach(function(e){return t.maybeBroadcastWatch.forget(e)}),this.watches.clear(),wi(this)):this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){var t=this.optimisticData.removeLayer(e);t!==this.optimisticData&&(this.optimisticData=t,this.broadcastWatches())},t.prototype.batch=function(e){var t,n=this,a=e.update,r=e.optimistic,i=void 0===r||r,o=e.removeOptimistic,s=e.onWatchUpdated,c=function(e){var r=n,i=r.data,o=r.optimisticData;++n.txCount,e&&(n.data=n.optimisticData=e);try{return t=a(n)}finally{--n.txCount,n.data=i,n.optimisticData=o}},u=new Set;return s&&!this.txCount&&this.broadcastWatches(m(m({},e),{onWatchUpdated:function(e){return u.add(e),!1}})),"string"==typeof i?this.optimisticData=this.optimisticData.addLayer(i,c):!1===i?c(this.data):c(),"string"==typeof o&&(this.optimisticData=this.optimisticData.removeLayer(o)),s&&u.size?(this.broadcastWatches(m(m({},e),{onWatchUpdated:function(e,t){var n=s.call(this,e,t);return!1!==n&&u.delete(e),n}})),u.size&&u.forEach(function(e){return n.maybeBroadcastWatch.dirty(e)})):this.broadcastWatches(e),t},t.prototype.performTransaction=function(e,t){return this.batch({update:e,optimistic:t||null!==t})},t.prototype.transformDocument=function(e){return this.addTypenameToDocument(this.addFragmentsToDocument(e))},t.prototype.broadcastWatches=function(e){var t=this;this.txCount||this.watches.forEach(function(n){return t.maybeBroadcastWatch(n,e)})},t.prototype.addFragmentsToDocument=function(e){var t=this.config.fragments;return t?t.transform(e):e},t.prototype.addTypenameToDocument=function(e){return this.addTypename?this.addTypenameTransform.transformDocument(e):e},t.prototype.broadcastWatch=function(e,t){var n=e.lastDiff,a=this.diff(e);t&&(e.optimistic&&"string"==typeof t.optimistic&&(a.fromOptimisticTransaction=!0),t.onWatchUpdated&&!1===t.onWatchUpdated.call(this,e,a,n))||n&&Ir(n.result,a.result)||e.callback(e.lastDiff=a,n)},t}(Ur);function Zi(e){return!!e&&e<7}!1!==globalThis.__DEV__&&(Xi.prototype.getMemoryInternals=zt),(Ji=Yi||(Yi={}))[Ji.loading=1]="loading",Ji[Ji.setVariables=2]="setVariables",Ji[Ji.fetchMore=3]="fetchMore",Ji[Ji.refetch=4]="refetch",Ji[Ji.poll=6]="poll",Ji[Ji.ready=7]="ready",Ji[Ji.error=8]="error";var eo=Object.assign,to=Object.hasOwnProperty,no=function(e){function t(t){var n=t.queryManager,a=t.queryInfo,r=t.options,i=e.call(this,function(e){try{var t=e._subscription._observer;t&&!t.error&&(t.error=ro)}catch(r){}var n=!i.observers.size;i.observers.add(e);var a=i.last;return a&&a.error?e.error&&e.error(a.error):a&&a.result&&e.next&&e.next(a.result),n&&i.reobserve().catch(function(){}),function(){i.observers.delete(e)&&!i.observers.size&&i.tearDownQuery()}})||this;i.observers=new Set,i.subscriptions=new Set,i.queryInfo=a,i.queryManager=n,i.waitForOwnResult=oo(r.fetchPolicy),i.isTornDown=!1,i.subscribeToMore=i.subscribeToMore.bind(i);var o=n.defaultOptions.watchQuery,s=(void 0===o?{}:o).fetchPolicy,c=void 0===s?"cache-first":s,u=r.fetchPolicy,l=void 0===u?c:u,d=r.initialFetchPolicy,p=void 0===d?"standby"===l?c:l:d;i.options=m(m({},r),{initialFetchPolicy:p,fetchPolicy:l}),i.queryId=a.queryId||n.generateQueryId();var h=cn(i.query);return i.queryName=h&&h.name&&h.name.value,i}return h(t,e),Object.defineProperty(t.prototype,"query",{get:function(){return this.lastQuery||this.options.query},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),t.prototype.result=function(){var e=this;return new Promise(function(t,n){var a={next:function(n){t(n),e.observers.delete(a),e.observers.size||e.queryManager.removeQuery(e.queryId),setTimeout(function(){r.unsubscribe()},0)},error:n},r=e.subscribe(a)})},t.prototype.resetDiff=function(){this.queryInfo.resetDiff()},t.prototype.getCurrentResult=function(e){void 0===e&&(e=!0);var t=this.getLastResult(!0),n=this.queryInfo.networkStatus||t&&t.networkStatus||Yi.ready,a=m(m({},t),{loading:Zi(n),networkStatus:n}),r=this.options.fetchPolicy,i=void 0===r?"cache-first":r;if(oo(i)||this.queryManager.getDocumentInfo(this.query).hasForcedResolvers);else if(this.waitForOwnResult)this.queryInfo.updateWatch();else{var o=this.queryInfo.getDiff();(o.complete||this.options.returnPartialData)&&(a.data=o.result),Ir(a.data,{})&&(a.data=void 0),o.complete?(delete a.partial,!o.complete||a.networkStatus!==Yi.loading||"cache-first"!==i&&"cache-only"!==i||(a.networkStatus=Yi.ready,a.loading=!1)):a.partial=!0,!1===globalThis.__DEV__||o.complete||this.options.partialRefetch||a.loading||a.data||a.error||io(o.missing)}return e&&this.updateLastResult(a),a},t.prototype.isDifferentFromLastResult=function(e,t){return!this.last||((this.queryManager.getDocumentInfo(this.query).hasNonreactiveDirective?!qr(this.query,this.last.result,e,this.variables):!Ir(this.last.result,e))||t&&!Ir(this.last.variables,t))},t.prototype.getLast=function(e,t){var n=this.last;if(n&&n[e]&&(!t||Ir(n.variables,this.variables)))return n[e]},t.prototype.getLastResult=function(e){return this.getLast("result",e)},t.prototype.getLastError=function(e){return this.getLast("error",e)},t.prototype.resetLastResults=function(){delete this.last,this.isTornDown=!1},t.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},t.prototype.refetch=function(e){var t,n={pollInterval:0},a=this.options.fetchPolicy;if(n.fetchPolicy="cache-and-network"===a?a:"no-cache"===a?"no-cache":"network-only",!1!==globalThis.__DEV__&&e&&to.call(e,"variables")){var r=dn(this.query),i=r.variableDefinitions;i&&i.some(function(e){return"variables"===e.variable.name.value})||!1!==globalThis.__DEV__&&P.warn(20,e,(null===(t=r.name)||void 0===t?void 0:t.value)||r)}return e&&!Ir(this.options.variables,e)&&(n.variables=this.options.variables=m(m({},this.options.variables),e)),this.queryInfo.resetLastWrite(),this.reobserve(n,Yi.refetch)},t.prototype.fetchMore=function(e){var t=this,n=m(m({},e.query?e:m(m(m(m({},this.options),{query:this.options.query}),e),{variables:m(m({},this.options.variables),e.variables)})),{fetchPolicy:"no-cache"});n.query=this.transformDocument(n.query);var a=this.queryManager.generateQueryId();this.lastQuery=e.query?this.transformDocument(this.options.query):n.query;var r=this.queryInfo,i=r.networkStatus;r.networkStatus=Yi.fetchMore,n.notifyOnNetworkStatusChange&&this.observe();var o=new Set,s=null==e?void 0:e.updateQuery,c="no-cache"!==this.options.fetchPolicy;return c||P(s,21),this.queryManager.fetchQuery(a,n,Yi.fetchMore).then(function(u){if(t.queryManager.removeQuery(a),r.networkStatus===Yi.fetchMore&&(r.networkStatus=i),c)t.queryManager.cache.batch({update:function(a){var r=e.updateQuery;r?a.updateQuery({query:t.query,variables:t.variables,returnPartialData:!0,optimistic:!1},function(e){return r(e,{fetchMoreResult:u.data,variables:n.variables})}):a.writeQuery({query:n.query,variables:n.variables,data:u.data})},onWatchUpdated:function(e){o.add(e.query)}});else{var l=t.getLast("result"),d=s(l.data,{fetchMoreResult:u.data,variables:n.variables});t.reportResult(m(m({},l),{data:d}),t.variables)}return u}).finally(function(){c&&!o.has(t.query)&&ao(t)})},t.prototype.subscribeToMore=function(e){var t=this,n=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables,context:e.context}).subscribe({next:function(n){var a=e.updateQuery;a&&t.updateQuery(function(e,t){var r=t.variables;return a(e,{subscriptionData:n,variables:r})})},error:function(t){e.onError?e.onError(t):!1!==globalThis.__DEV__&&P.error(22,t)}});return this.subscriptions.add(n),function(){t.subscriptions.delete(n)&&n.unsubscribe()}},t.prototype.setOptions=function(e){return this.reobserve(e)},t.prototype.silentSetOptions=function(e){var t=ir(this.options,e||{});eo(this.options,t)},t.prototype.setVariables=function(e){return Ir(this.variables,e)?this.observers.size?this.result():Promise.resolve():(this.options.variables=e,this.observers.size?this.reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:e},Yi.setVariables):Promise.resolve())},t.prototype.updateQuery=function(e){var t=this.queryManager,n=e(t.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}).result,{variables:this.variables});n&&(t.cache.writeQuery({query:this.options.query,data:n,variables:this.variables}),t.broadcastQueries())},t.prototype.startPolling=function(e){this.options.pollInterval=e,this.updatePolling()},t.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},t.prototype.applyNextFetchPolicy=function(e,t){if(t.nextFetchPolicy){var n=t.fetchPolicy,a=void 0===n?"cache-first":n,r=t.initialFetchPolicy,i=void 0===r?a:r;"standby"===a||("function"==typeof t.nextFetchPolicy?t.fetchPolicy=t.nextFetchPolicy(a,{reason:e,options:t,observable:this,initialFetchPolicy:i}):t.fetchPolicy="variables-changed"===e?i:t.nextFetchPolicy)}return t.fetchPolicy},t.prototype.fetch=function(e,t,n){return this.queryManager.setObservableQuery(this),this.queryManager.fetchConcastWithInfo(this.queryId,e,t,n)},t.prototype.updatePolling=function(){var e=this;if(!this.queryManager.ssrMode){var t=this.pollingInfo,n=this.options.pollInterval;if(n&&this.hasObservers()){if(!t||t.interval!==n){P(n,23),(t||(this.pollingInfo={})).interval=n;var a=function(){var t,n;e.pollingInfo&&(Zi(e.queryInfo.networkStatus)||(null===(n=(t=e.options).skipPollAttempt)||void 0===n?void 0:n.call(t))?r():e.reobserve({fetchPolicy:"no-cache"===e.options.initialFetchPolicy?"no-cache":"network-only"},Yi.poll).then(r,r))},r=function(){var t=e.pollingInfo;t&&(clearTimeout(t.timeout),t.timeout=setTimeout(a,t.interval))};r()}}else t&&(clearTimeout(t.timeout),delete this.pollingInfo)}},t.prototype.updateLastResult=function(e,t){void 0===t&&(t=this.variables);var n=this.getLastError();return n&&this.last&&!Ir(t,this.last.variables)&&(n=void 0),this.last=m({result:this.queryManager.assumeImmutableResults?e:Wa(e),variables:t},n?{error:n}:null)},t.prototype.reobserveAsConcast=function(e,t){var n=this;this.isTornDown=!1;var a=t===Yi.refetch||t===Yi.fetchMore||t===Yi.poll,r=this.options.variables,i=this.options.fetchPolicy,o=ir(this.options,e||{}),s=a?o:eo(this.options,o),c=this.transformDocument(s.query);this.lastQuery=c,a||(this.updatePolling(),!e||!e.variables||Ir(e.variables,r)||"standby"===s.fetchPolicy||s.fetchPolicy!==i&&"function"!=typeof s.nextFetchPolicy||(this.applyNextFetchPolicy("variables-changed",s),void 0===t&&(t=Yi.setVariables))),this.waitForOwnResult&&(this.waitForOwnResult=oo(s.fetchPolicy));var u=function(){n.concast===p&&(n.waitForOwnResult=!1)},l=s.variables&&m({},s.variables),d=this.fetch(s,t,c),p=d.concast,h=d.fromLink,f={next:function(e){Ir(n.variables,l)&&(u(),n.reportResult(e,l))},error:function(e){Ir(n.variables,l)&&(gr(e)||(e=new yr({networkError:e})),u(),n.reportError(e,l))}};return a||!h&&this.concast||(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=p,this.observer=f),p.addObserver(f),p},t.prototype.reobserve=function(e,t){return this.reobserveAsConcast(e,t).promise},t.prototype.resubscribeAfterError=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=this.last;this.resetLastResults();var a=this.subscribe.apply(this,e);return this.last=n,a},t.prototype.observe=function(){this.reportResult(this.getCurrentResult(!1),this.variables)},t.prototype.reportResult=function(e,t){var n=this.getLastError(),a=this.isDifferentFromLastResult(e,t);(n||!e.partial||this.options.returnPartialData)&&this.updateLastResult(e,t),(n||a)&&Ka(this.observers,"next",e)},t.prototype.reportError=function(e,t){var n=m(m({},this.getLastResult()),{error:e,errors:e.graphQLErrors,networkStatus:Yi.error,loading:!1});this.updateLastResult(n,t),Ka(this.observers,"error",this.last.error=e)},t.prototype.hasObservers=function(){return this.observers.size>0},t.prototype.tearDownQuery=function(){this.isTornDown||(this.concast&&this.observer&&(this.concast.removeObserver(this.observer),delete this.concast,delete this.observer),this.stopPolling(),this.subscriptions.forEach(function(e){return e.unsubscribe()}),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},t.prototype.transformDocument=function(e){return this.queryManager.transform(e)},t}($a);function ao(e){var t=e.options,n=t.fetchPolicy,a=t.nextFetchPolicy;return"cache-and-network"===n||"network-only"===n?e.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(e,t){return this.nextFetchPolicy=a,"function"==typeof this.nextFetchPolicy?this.nextFetchPolicy(e,t):n}}):e.reobserve()}function ro(e){!1!==globalThis.__DEV__&&P.error(24,e.message,e.stack)}function io(e){!1!==globalThis.__DEV__&&e&&!1!==globalThis.__DEV__&&P.debug(25,e)}function oo(e){return"network-only"===e||"no-cache"===e||"standby"===e}Ja(no);var so=new(dt?WeakMap:Map);function co(e,t){var n=e[t];"function"==typeof n&&(e[t]=function(){return so.set(e,(so.get(e)+1)%1e15),n.apply(this,arguments)})}function uo(e){e.notifyTimeout&&(clearTimeout(e.notifyTimeout),e.notifyTimeout=void 0)}var lo=function(){function e(e,t){void 0===t&&(t=e.generateQueryId()),this.queryId=t,this.listeners=new Set,this.document=null,this.lastRequestId=1,this.stopped=!1,this.dirty=!1,this.observableQuery=null;var n=this.cache=e.cache;so.has(n)||(so.set(n,0),co(n,"evict"),co(n,"modify"),co(n,"reset"))}return e.prototype.init=function(e){var t=e.networkStatus||Yi.loading;return this.variables&&this.networkStatus!==Yi.loading&&!Ir(this.variables,e.variables)&&(t=Yi.setVariables),Ir(e.variables,this.variables)||(this.lastDiff=void 0),Object.assign(this,{document:e.document,variables:e.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:t}),e.observableQuery&&this.setObservableQuery(e.observableQuery),e.lastRequestId&&(this.lastRequestId=e.lastRequestId),this},e.prototype.reset=function(){uo(this),this.dirty=!1},e.prototype.resetDiff=function(){this.lastDiff=void 0},e.prototype.getDiff=function(){var e=this.getDiffOptions();if(this.lastDiff&&Ir(e,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables);var t=this.observableQuery;if(t&&"no-cache"===t.options.fetchPolicy)return{complete:!1};var n=this.cache.diff(e);return this.updateLastDiff(n,e),n},e.prototype.updateLastDiff=function(e,t){this.lastDiff=e?{diff:e,options:t||this.getDiffOptions()}:void 0},e.prototype.getDiffOptions=function(e){var t;return void 0===e&&(e=this.variables),{query:this.document,variables:e,returnPartialData:!0,optimistic:!0,canonizeResults:null===(t=this.observableQuery)||void 0===t?void 0:t.options.canonizeResults}},e.prototype.setDiff=function(e){var t,n=this,a=this.lastDiff&&this.lastDiff.diff;e&&!e.complete&&(null===(t=this.observableQuery)||void 0===t?void 0:t.getLastError())||(this.updateLastDiff(e),this.dirty||Ir(a&&a.result,e&&e.result)||(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(function(){return n.notify()},0))))},e.prototype.setObservableQuery=function(e){var t=this;e!==this.observableQuery&&(this.oqListener&&this.listeners.delete(this.oqListener),this.observableQuery=e,e?(e.queryInfo=this,this.listeners.add(this.oqListener=function(){t.getDiff().fromOptimisticTransaction?e.observe():ao(e)})):delete this.oqListener)},e.prototype.notify=function(){var e=this;uo(this),this.shouldNotify()&&this.listeners.forEach(function(t){return t(e)}),this.dirty=!1},e.prototype.shouldNotify=function(){if(!this.dirty||!this.listeners.size)return!1;if(Zi(this.networkStatus)&&this.observableQuery){var e=this.observableQuery.options.fetchPolicy;if("cache-only"!==e&&"cache-and-network"!==e)return!1}return!0},e.prototype.stop=function(){if(!this.stopped){this.stopped=!0,this.reset(),this.cancel(),this.cancel=e.prototype.cancel;var t=this.observableQuery;t&&t.stopPolling()}},e.prototype.cancel=function(){},e.prototype.updateWatch=function(e){var t=this;void 0===e&&(e=this.variables);var n=this.observableQuery;if(!n||"no-cache"!==n.options.fetchPolicy){var a=m(m({},this.getDiffOptions(e)),{watcher:this,callback:function(e){return t.setDiff(e)}});this.lastWatch&&Ir(a,this.lastWatch)||(this.cancel(),this.cancel=this.cache.watch(this.lastWatch=a))}},e.prototype.resetLastWrite=function(){this.lastWrite=void 0},e.prototype.shouldWrite=function(e,t){var n=this.lastWrite;return!(n&&n.dmCount===so.get(this.cache)&&Ir(t,n.variables)&&Ir(e.data,n.result.data))},e.prototype.markResult=function(e,t,n,a){var r=this,i=new ba,o=sa(e.errors)?e.errors.slice(0):[];if(this.reset(),"incremental"in e&&sa(e.incremental)){var s=nr(this.getDiff().result,e);e.data=s}else if("hasNext"in e&&e.hasNext){var c=this.getDiff();e.data=i.merge(c.result,e.data)}this.graphQLErrors=o,"no-cache"===n.fetchPolicy?this.updateLastDiff({result:e.data,complete:!0},this.getDiffOptions(n.variables)):0!==a&&(po(e,n.errorPolicy)?this.cache.performTransaction(function(i){if(r.shouldWrite(e,n.variables))i.writeQuery({query:t,data:e.data,variables:n.variables,overwrite:1===a}),r.lastWrite={result:e,variables:n.variables,dmCount:so.get(r.cache)};else if(r.lastDiff&&r.lastDiff.diff.complete)return void(e.data=r.lastDiff.diff.result);var o=r.getDiffOptions(n.variables),s=i.diff(o);!r.stopped&&Ir(r.variables,n.variables)&&r.updateWatch(n.variables),r.updateLastDiff(s,o),s.complete&&(e.data=s.result)}):this.lastWrite=void 0)},e.prototype.markReady=function(){return this.networkError=null,this.networkStatus=Yi.ready},e.prototype.markError=function(e){return this.networkStatus=Yi.error,this.lastWrite=void 0,this.reset(),e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},e}();function po(e,t){void 0===t&&(t="none");var n="ignore"===t||"all"===t,a=!ar(e);return!a&&n&&e.data&&(a=!0),a}var ho=Object.prototype.hasOwnProperty,mo=Object.create(null),fo=function(){function e(e){var t=this;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new Dt(It["queryManager.getDocumentInfo"]||2e3),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new ut(!1);var n=new ra(function(e){return t.cache.transformDocument(e)},{cache:!1});this.cache=e.cache,this.link=e.link,this.defaultOptions=e.defaultOptions,this.queryDeduplication=e.queryDeduplication,this.clientAwareness=e.clientAwareness,this.localState=e.localState,this.ssrMode=e.ssrMode,this.assumeImmutableResults=e.assumeImmutableResults;var a=e.documentTransform;this.documentTransform=a?n.concat(a).concat(n):n,this.defaultContext=e.defaultContext||Object.create(null),(this.onBroadcast=e.onBroadcast)&&(this.mutationStore=Object.create(null))}return e.prototype.stop=function(){var e=this;this.queries.forEach(function(t,n){e.stopQueryNoBroadcast(n)}),this.cancelPendingFetches(F(26))},e.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach(function(t){return t(e)}),this.fetchCancelFns.clear()},e.prototype.mutate=function(e){return v(this,arguments,void 0,function(e){var t,n,a,r,i,o,s,c=e.mutation,u=e.variables,l=e.optimisticResponse,d=e.updateQueries,p=e.refetchQueries,h=void 0===p?[]:p,f=e.awaitRefetchQueries,v=void 0!==f&&f,g=e.update,y=e.onQueryUpdated,b=e.fetchPolicy,k=void 0===b?(null===(o=this.defaultOptions.mutate)||void 0===o?void 0:o.fetchPolicy)||"network-only":b,w=e.errorPolicy,x=void 0===w?(null===(s=this.defaultOptions.mutate)||void 0===s?void 0:s.errorPolicy)||"none":w,S=e.keepRootFields,E=e.context;return _(this,function(e){switch(e.label){case 0:return P(c,27),P("network-only"===k||"no-cache"===k,28),t=this.generateMutationId(),c=this.cache.transformForLink(this.transform(c)),n=this.getDocumentInfo(c).hasClientExports,u=this.getVariables(c,u),n?[4,this.localState.addExportedVariables(c,u,E)]:[3,2];case 1:u=e.sent(),e.label=2;case 2:return a=this.mutationStore&&(this.mutationStore[t]={mutation:c,variables:u,loading:!0,error:null}),r=l&&this.markMutationOptimistic(l,{mutationId:t,document:c,variables:u,fetchPolicy:k,errorPolicy:x,context:E,updateQueries:d,update:g,keepRootFields:S}),this.broadcastQueries(),i=this,[2,new Promise(function(e,n){return Ya(i.getObservableFromLink(c,m(m({},E),{optimisticResponse:r?l:void 0}),u,{},!1),function(e){if(ar(e)&&"none"===x)throw new yr({graphQLErrors:rr(e)});a&&(a.loading=!1,a.error=null);var n=m({},e);return"function"==typeof h&&(h=h(n)),"ignore"===x&&ar(n)&&delete n.errors,i.markMutationResult({mutationId:t,result:n,document:c,variables:u,fetchPolicy:k,errorPolicy:x,context:E,update:g,updateQueries:d,awaitRefetchQueries:v,refetchQueries:h,removeOptimistic:r?t:void 0,onQueryUpdated:y,keepRootFields:S})}).subscribe({next:function(t){i.broadcastQueries(),"hasNext"in t&&!1!==t.hasNext||e(t)},error:function(e){a&&(a.loading=!1,a.error=e),r&&i.cache.removeOptimistic(t),i.broadcastQueries(),n(e instanceof yr?e:new yr({networkError:e}))}})})]}})})},e.prototype.markMutationResult=function(e,t){var n=this;void 0===t&&(t=this.cache);var a=e.result,r=[],i="no-cache"===e.fetchPolicy;if(!i&&po(a,e.errorPolicy)){if(er(a)||r.push({result:a.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),er(a)&&sa(a.incremental)){var o=t.diff({id:"ROOT_MUTATION",query:this.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0}),s=void 0;o.result&&(s=nr(o.result,a)),void 0!==s&&(a.data=s,r.push({result:s,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}))}var c=e.updateQueries;c&&this.queries.forEach(function(e,i){var o=e.observableQuery,s=o&&o.queryName;if(s&&ho.call(c,s)){var u=c[s],l=n.queries.get(i),d=l.document,p=l.variables,h=t.diff({query:d,variables:p,returnPartialData:!0,optimistic:!1}),m=h.result;if(h.complete&&m){var f=u(m,{mutationResult:a,queryName:d&&un(d)||void 0,queryVariables:p});f&&r.push({result:f,dataId:"ROOT_QUERY",query:d,variables:p})}}})}if(r.length>0||(e.refetchQueries||"").length>0||e.update||e.onQueryUpdated||e.removeOptimistic){var u=[];if(this.refetchQueries({updateCache:function(t){i||r.forEach(function(e){return t.write(e)});var o,s=e.update,c=!(er(o=a)||function(e){return"hasNext"in e&&"data"in e}(o))||er(a)&&!a.hasNext;if(s){if(!i){var u=t.diff({id:"ROOT_MUTATION",query:n.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0});u.complete&&("incremental"in(a=m(m({},a),{data:u.result}))&&delete a.incremental,"hasNext"in a&&delete a.hasNext)}c&&s(t,a,{context:e.context,variables:e.variables})}i||e.keepRootFields||!c||t.modify({id:"ROOT_MUTATION",fields:function(e,t){var n=t.fieldName,a=t.DELETE;return"__typename"===n?e:a}})},include:e.refetchQueries,optimistic:!1,removeOptimistic:e.removeOptimistic,onQueryUpdated:e.onQueryUpdated||null}).forEach(function(e){return u.push(e)}),e.awaitRefetchQueries||e.onQueryUpdated)return Promise.all(u).then(function(){return a})}return Promise.resolve(a)},e.prototype.markMutationOptimistic=function(e,t){var n=this,a="function"==typeof e?e(t.variables,{IGNORE:mo}):e;return a!==mo&&(this.cache.recordOptimisticTransaction(function(e){try{n.markMutationResult(m(m({},t),{result:{data:a}}),e)}catch(r){!1!==globalThis.__DEV__&&P.error(r)}},t.mutationId),!0)},e.prototype.fetchQuery=function(e,t,n){return this.fetchConcastWithInfo(e,t,n).concast.promise},e.prototype.getQueryStore=function(){var e=Object.create(null);return this.queries.forEach(function(t,n){e[n]={variables:t.variables,networkStatus:t.networkStatus,networkError:t.networkError,graphQLErrors:t.graphQLErrors}}),e},e.prototype.resetErrors=function(e){var t=this.queries.get(e);t&&(t.networkError=void 0,t.graphQLErrors=[])},e.prototype.transform=function(e){return this.documentTransform.transformDocument(e)},e.prototype.getDocumentInfo=function(e){var t=this.transformCache;if(!t.has(e)){var n={hasClientExports:rt(e),hasForcedResolvers:this.localState.shouldForceResolvers(e),hasNonreactiveDirective:at(["nonreactive"],e),clientQuery:this.localState.clientQuery(e),serverQuery:pa([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"}],e),defaultVars:hn(cn(e)),asQuery:m(m({},e),{definitions:e.definitions.map(function(e){return"OperationDefinition"===e.kind&&"query"!==e.operation?m(m({},e),{operation:"query"}):e})})};t.set(e,n)}return t.get(e)},e.prototype.getVariables=function(e,t){return m(m({},this.getDocumentInfo(e).defaultVars),t)},e.prototype.watchQuery=function(e){var t=this.transform(e.query);void 0===(e=m(m({},e),{variables:this.getVariables(t,e.variables)})).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var n=new lo(this),a=new no({queryManager:this,queryInfo:n,options:e});return a.lastQuery=t,this.queries.set(a.queryId,n),n.init({document:t,observableQuery:a,variables:a.variables}),a},e.prototype.query=function(e,t){var n=this;return void 0===t&&(t=this.generateQueryId()),P(e.query,29),P("Document"===e.query.kind,30),P(!e.returnPartialData,31),P(!e.pollInterval,32),this.fetchQuery(t,m(m({},e),{query:this.transform(e.query)})).finally(function(){return n.stopQuery(t)})},e.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},e.prototype.generateRequestId=function(){return this.requestIdCounter++},e.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},e.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(e){var t=this.queries.get(e);t&&t.stop()},e.prototype.clearStore=function(e){return void 0===e&&(e={discardWatches:!0}),this.cancelPendingFetches(F(33)),this.queries.forEach(function(e){e.observableQuery?e.networkStatus=Yi.loading:e.stop()}),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(e)},e.prototype.getObservableQueries=function(e){var t=this;void 0===e&&(e="active");var n=new Map,a=new Map,r=new Set;return Array.isArray(e)&&e.forEach(function(e){var n;"string"==typeof e?a.set(e,!1):gt(n=e)&&"Document"===n.kind&&Array.isArray(n.definitions)?a.set(t.transform(e),!1):gt(e)&&e.query&&r.add(e)}),this.queries.forEach(function(t,r){var i=t.observableQuery,o=t.document;if(i){if("all"===e)return void n.set(r,i);var s=i.queryName;if("standby"===i.options.fetchPolicy||"active"===e&&!i.hasObservers())return;("active"===e||s&&a.has(s)||o&&a.has(o))&&(n.set(r,i),s&&a.set(s,!0),o&&a.set(o,!0))}}),r.size&&r.forEach(function(e){var a=D("legacyOneTimeQuery"),r=t.getQuery(a).init({document:e.query,variables:e.variables}),i=new no({queryManager:t,queryInfo:r,options:m(m({},e),{fetchPolicy:"network-only"})});P(i.queryId===a),r.setObservableQuery(i),n.set(a,i)}),!1!==globalThis.__DEV__&&a.size&&a.forEach(function(e,t){e||!1!==globalThis.__DEV__&&P.warn("string"==typeof t?34:35,t)}),n},e.prototype.reFetchObservableQueries=function(e){var t=this;void 0===e&&(e=!1);var n=[];return this.getObservableQueries(e?"all":"active").forEach(function(a,r){var i=a.options.fetchPolicy;a.resetLastResults(),(e||"standby"!==i&&"cache-only"!==i)&&n.push(a.refetch()),t.getQuery(r).setDiff(null)}),this.broadcastQueries(),Promise.all(n)},e.prototype.setObservableQuery=function(e){this.getQuery(e.queryId).setObservableQuery(e)},e.prototype.startGraphQLSubscription=function(e){var t=this,n=e.query,a=e.fetchPolicy,r=e.errorPolicy,i=void 0===r?"none":r,o=e.variables,s=e.context,c=void 0===s?{}:s,u=e.extensions,l=void 0===u?{}:u;n=this.transform(n),o=this.getVariables(n,o);var d=function(e){return t.getObservableFromLink(n,c,e,l).map(function(r){"no-cache"!==a&&(po(r,i)&&t.cache.write({query:n,result:r.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),t.broadcastQueries());var o=ar(r),s=function(e){return!!e.extensions&&Array.isArray(e.extensions[_r])}(r);if(o||s){var c={};if(o&&(c.graphQLErrors=r.errors),s&&(c.protocolErrors=r.extensions[_r]),"none"===i||s)throw new yr(c)}return"ignore"===i&&delete r.errors,r})};if(this.getDocumentInfo(n).hasClientExports){var p=this.localState.addExportedVariables(n,o,c).then(d);return new $a(function(e){var t=null;return p.then(function(n){return t=n.subscribe(e)},e.error),function(){return t&&t.unsubscribe()}})}return d(o)},e.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},e.prototype.removeQuery=function(e){this.fetchCancelFns.delete(e),this.queries.has(e)&&(this.getQuery(e).stop(),this.queries.delete(e))},e.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach(function(e){return e.notify()})},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableFromLink=function(e,t,n,a,r){var i,o,s=this;void 0===r&&(r=null!==(i=null==t?void 0:t.queryDeduplication)&&void 0!==i?i:this.queryDeduplication);var c=this.getDocumentInfo(e),u=c.serverQuery,l=c.clientQuery;if(u){var d=this.inFlightLinkObservables,p=this.link,h={query:u,variables:n,operationName:un(u)||void 0,context:this.prepareContext(m(m({},t),{forceFetch:!r})),extensions:a};if(t=h.context,r){var f=ia(u),v=Gt(n),_=d.lookup(f,v);if(!(o=_.observable)){var g=new Za([hr(p,h)]);o=_.observable=g,g.beforeNext(function(){d.remove(f,v)})}}else o=new Za([hr(p,h)])}else o=new Za([$a.of({data:{}})]),t=this.prepareContext(t);return l&&(o=Ya(o,function(e){return s.localState.runResolvers({document:l,remoteResult:e,context:t,variables:n})})),o},e.prototype.getResultsFromLink=function(e,t,n){var a=e.lastRequestId=this.generateRequestId(),r=this.cache.transformForLink(n.query);return Ya(this.getObservableFromLink(r,n.context,n.variables),function(i){var o=rr(i),s=o.length>0,c=n.errorPolicy;if(a>=e.lastRequestId){if(s&&"none"===c)throw e.markError(new yr({graphQLErrors:o}));e.markResult(i,r,n,t),e.markReady()}var u={data:i.data,loading:!1,networkStatus:Yi.ready};return s&&"none"===c&&(u.data=void 0),s&&"ignore"!==c&&(u.errors=o,u.networkStatus=Yi.error),u},function(t){var n=gr(t)?t:new yr({networkError:t});throw a>=e.lastRequestId&&e.markError(n),n})},e.prototype.fetchConcastWithInfo=function(e,t,n,a){var r=this;void 0===n&&(n=Yi.loading),void 0===a&&(a=t.query);var i,o,s=this.getVariables(a,t.variables),c=this.getQuery(e),u=this.defaultOptions.watchQuery,l=t.fetchPolicy,d=void 0===l?u&&u.fetchPolicy||"cache-first":l,p=t.errorPolicy,h=void 0===p?u&&u.errorPolicy||"none":p,m=t.returnPartialData,f=void 0!==m&&m,v=t.notifyOnNetworkStatusChange,_=void 0!==v&&v,g=t.context,y=void 0===g?{}:g,b=Object.assign({},t,{query:a,variables:s,fetchPolicy:d,errorPolicy:h,returnPartialData:f,notifyOnNetworkStatusChange:_,context:y}),k=function(e){b.variables=e;var a=r.fetchQueryByPolicy(c,b,n);return"standby"!==b.fetchPolicy&&a.sources.length>0&&c.observableQuery&&c.observableQuery.applyNextFetchPolicy("after-fetch",t),a},w=function(){return r.fetchCancelFns.delete(e)};if(this.fetchCancelFns.set(e,function(e){w(),setTimeout(function(){return i.cancel(e)})}),this.getDocumentInfo(b.query).hasClientExports)i=new Za(this.localState.addExportedVariables(b.query,b.variables,b.context).then(k).then(function(e){return e.sources})),o=!0;else{var x=k(b.variables);o=x.fromLink,i=new Za(x.sources)}return i.promise.then(w,w),{concast:i,fromLink:o}},e.prototype.refetchQueries=function(e){var t=this,n=e.updateCache,a=e.include,r=e.optimistic,i=void 0!==r&&r,o=e.removeOptimistic,s=void 0===o?i?D("refetchQueries"):void 0:o,c=e.onQueryUpdated,u=new Map;a&&this.getObservableQueries(a).forEach(function(e,n){u.set(n,{oq:e,lastDiff:t.getQuery(n).getDiff()})});var l=new Map;return n&&this.cache.batch({update:n,optimistic:i&&s||!1,removeOptimistic:s,onWatchUpdated:function(e,t,n){var a=e.watcher instanceof lo&&e.watcher.observableQuery;if(a){if(c){u.delete(a.queryId);var r=c(a,t,n);return!0===r&&(r=a.refetch()),!1!==r&&l.set(a,r),r}null!==c&&u.set(a.queryId,{oq:a,lastDiff:n,diff:t})}}}),u.size&&u.forEach(function(e,n){var a,r=e.oq,i=e.lastDiff,o=e.diff;if(c){if(!o){var s=r.queryInfo;s.reset(),o=s.getDiff()}a=c(r,o,i)}c&&!0!==a||(a=r.refetch()),!1!==a&&l.set(r,a),n.indexOf("legacyOneTimeQuery")>=0&&t.stopQueryNoBroadcast(n)}),s&&this.cache.removeOptimistic(s),l},e.prototype.fetchQueryByPolicy=function(e,t,n){var a=this,r=t.query,i=t.variables,o=t.fetchPolicy,s=t.refetchWritePolicy,c=t.errorPolicy,u=t.returnPartialData,l=t.context,d=t.notifyOnNetworkStatusChange,p=e.networkStatus;e.init({document:r,variables:i,networkStatus:n});var h=function(){return e.getDiff()},f=function(t,n){void 0===n&&(n=e.networkStatus||Yi.loading);var o=t.result;!1===globalThis.__DEV__||u||Ir(o,{})||io(t.missing);var s=function(e){return $a.of(m({data:e,loading:Zi(n),networkStatus:n},t.complete?null:{partial:!0}))};return o&&a.getDocumentInfo(r).hasForcedResolvers?a.localState.runResolvers({document:r,remoteResult:{data:o},context:l,variables:i,onlyRunForcedResolvers:!0}).then(function(e){return s(e.data||void 0)}):"none"===c&&n===Yi.refetch&&Array.isArray(t.missing)?s(void 0):s(o)},v="no-cache"===o?0:n===Yi.refetch&&"merge"!==s?1:2,_=function(){return a.getResultsFromLink(e,v,{query:r,variables:i,context:l,fetchPolicy:o,errorPolicy:c})},g=d&&"number"==typeof p&&p!==n&&Zi(n);switch(o){default:case"cache-first":return(y=h()).complete?{fromLink:!1,sources:[f(y,e.markReady())]}:u||g?{fromLink:!0,sources:[f(y),_()]}:{fromLink:!0,sources:[_()]};case"cache-and-network":var y;return(y=h()).complete||u||g?{fromLink:!0,sources:[f(y),_()]}:{fromLink:!0,sources:[_()]};case"cache-only":return{fromLink:!1,sources:[f(h(),e.markReady())]};case"network-only":return g?{fromLink:!0,sources:[f(h()),_()]}:{fromLink:!0,sources:[_()]};case"no-cache":return g?{fromLink:!0,sources:[f(e.getDiff()),_()]}:{fromLink:!0,sources:[_()]};case"standby":return{fromLink:!1,sources:[]}}},e.prototype.getQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new lo(this,e)),this.queries.get(e)},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return m(m(m({},this.defaultContext),t),{clientAwareness:this.clientAwareness})},e}(),vo=function(){function e(e){var t=e.cache,n=e.client,a=e.resolvers,r=e.fragmentMatcher;this.selectionsToResolveCache=new WeakMap,this.cache=t,n&&(this.client=n),a&&this.addResolvers(a),r&&this.setFragmentMatcher(r)}return e.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach(function(e){t.resolvers=_a(t.resolvers,e)}):this.resolvers=_a(this.resolvers,e)},e.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(e){return v(this,arguments,void 0,function(e){var t=e.document,n=e.remoteResult,a=e.context,r=e.variables,i=e.onlyRunForcedResolvers,o=void 0!==i&&i;return _(this,function(e){return t?[2,this.resolveDocument(t,n.data,a,r,this.fragmentMatcher,o).then(function(e){return m(m({},n),{data:e.result})})]:[2,n]})})},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return at(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return fa(e)},e.prototype.prepareContext=function(e){var t=this.cache;return m(m({},e),{cache:t,getCacheKey:function(e){return t.identify(e)}})},e.prototype.addExportedVariables=function(e){return v(this,arguments,void 0,function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),_(this,function(a){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(n),t).then(function(e){return m(m({},t),e.exportedVariables)})]:[2,m({},t)]})})},e.prototype.shouldForceResolvers=function(e){var t=!1;return Ge(e,{Directive:{enter:function(e){if("client"===e.name.value&&e.arguments&&(t=e.arguments.some(function(e){return"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value})))return Qe}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:ma(e),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t){return v(this,arguments,void 0,function(e,t,n,a,r,i){var o,s,c,u,l,d,p,h,f,v;return void 0===n&&(n={}),void 0===a&&(a={}),void 0===r&&(r=function(){return!0}),void 0===i&&(i=!1),_(this,function(_){return o=pn(e),s=ln(e),c=bt(s),u=this.collectSelectionsToResolve(o,c),l=o.operation,d=l?l.charAt(0).toUpperCase()+l.slice(1):"Query",h=(p=this).cache,f=p.client,v={fragmentMap:c,context:m(m({},n),{cache:h,client:f}),variables:a,fragmentMatcher:r,defaultOperationType:d,exportedVariables:{},selectionsToResolve:u,onlyRunForcedResolvers:i},[2,this.resolveSelectionSet(o.selectionSet,false,t,v).then(function(e){return{result:e,exportedVariables:v.exportedVariables}})]})})},e.prototype.resolveSelectionSet=function(e,t,n,a){return v(this,void 0,void 0,function(){var r,i,o,s,c,u=this;return _(this,function(l){return r=a.fragmentMap,i=a.context,o=a.variables,s=[n],c=function(e){return v(u,void 0,void 0,function(){var c,u;return _(this,function(l){return(t||a.selectionsToResolve.has(e))&&nt(e,o)?on(e)?[2,this.resolveField(e,t,n,a).then(function(t){var n;void 0!==t&&s.push(((n={})[an(e)]=t,n))})]:(!function(e){return"InlineFragment"===e.kind}(e)?(c=r[e.name.value],P(c,18,e.name.value)):c=e,c&&c.typeCondition&&(u=c.typeCondition.name.value,a.fragmentMatcher(n,u,i))?[2,this.resolveSelectionSet(c.selectionSet,t,n,a).then(function(e){s.push(e)})]:[2]):[2]})})},[2,Promise.all(e.selections.map(c)).then(function(){return ga(s)})]})})},e.prototype.resolveField=function(e,t,n,a){return v(this,void 0,void 0,function(){var r,i,o,s,c,u,l,d,p,h=this;return _(this,function(m){return n?(r=a.variables,i=e.name.value,o=an(e),s=i!==o,c=n[o]||n[i],u=Promise.resolve(c),a.onlyRunForcedResolvers&&!this.shouldForceResolvers(e)||(l=n.__typename||a.defaultOperationType,(d=this.resolvers&&this.resolvers[l])&&(p=d[s?i:o])&&(u=Promise.resolve(yi.withValue(this.cache,p,[n,nn(e,r),a.context,{field:e,fragmentMap:a.fragmentMap}])))),[2,u.then(function(n){var r,i;if(void 0===n&&(n=c),e.directives&&e.directives.forEach(function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach(function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(a.exportedVariables[e.value.value]=n)})}),!e.selectionSet)return n;if(null==n)return n;var o=null!==(i=null===(r=e.directives)||void 0===r?void 0:r.some(function(e){return"client"===e.name.value}))&&void 0!==i&&i;return Array.isArray(n)?h.resolveSubSelectedArray(e,t||o,n,a):e.selectionSet?h.resolveSelectionSet(e.selectionSet,t||o,n,a):void 0})]):[2,null]})})},e.prototype.resolveSubSelectedArray=function(e,t,n,a){var r=this;return Promise.all(n.map(function(n){return null===n?null:Array.isArray(n)?r.resolveSubSelectedArray(e,t,n,a):e.selectionSet?r.resolveSelectionSet(e.selectionSet,t,n,a):void 0}))},e.prototype.collectSelectionsToResolve=function(e,t){var n=function(e){return!Array.isArray(e)},a=this.selectionsToResolveCache;return function e(r){if(!a.has(r)){var i=new Set;a.set(r,i),Ge(r,{Directive:function(e,t,a,r,o){"client"===e.name.value&&o.forEach(function(e){n(e)&&tt(e)&&i.add(e)})},FragmentSpread:function(a,r,o,s,c){var u=t[a.name.value];P(u,19,a.name.value);var l=e(u);l.size>0&&(c.forEach(function(e){n(e)&&tt(e)&&i.add(e)}),i.add(a),l.forEach(function(e){i.add(e)}))}})}return a.get(r)}(e)},e}(),_o=!1,go=function(){function e(e){var t=this;if(this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],!e.cache)throw F(15);var n=e.uri,a=e.credentials,r=e.headers,i=e.cache,o=e.documentTransform,s=e.ssrMode,c=void 0!==s&&s,u=e.ssrForceFetchDelay,l=void 0===u?0:u,d=e.connectToDevTools,p=e.queryDeduplication,h=void 0===p||p,f=e.defaultOptions,v=e.defaultContext,_=e.assumeImmutableResults,g=void 0===_?i.assumeImmutableResults:_,y=e.resolvers,b=e.typeDefs,k=e.fragmentMatcher,w=e.name,x=e.version,S=e.devtools,E=e.link;E||(E=n?new Cr({uri:n,credentials:a,headers:r}):pr.empty()),this.link=E,this.cache=i,this.disableNetworkFetches=c||l>0,this.queryDeduplication=h,this.defaultOptions=f||Object.create(null),this.typeDefs=b,this.devtoolsConfig=m(m({},S),{enabled:(null==S?void 0:S.enabled)||d}),void 0===this.devtoolsConfig.enabled&&(this.devtoolsConfig.enabled=!1!==globalThis.__DEV__),l&&setTimeout(function(){return t.disableNetworkFetches=!1},l),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.watchFragment=this.watchFragment.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),this.version=O,this.localState=new vo({cache:i,client:this,resolvers:y,fragmentMatcher:k}),this.queryManager=new fo({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,defaultContext:v,documentTransform:o,queryDeduplication:h,ssrMode:c,clientAwareness:{name:w,version:x},localState:this.localState,assumeImmutableResults:g,onBroadcast:this.devtoolsConfig.enabled?function(){t.devToolsHookCb&&t.devToolsHookCb({action:{},state:{queries:t.queryManager.getQueryStore(),mutations:t.queryManager.mutationStore||{}},dataWithOptimisticResults:t.cache.extract(!0)})}:void 0}),this.devtoolsConfig.enabled&&this.connectToDevTools()}return e.prototype.connectToDevTools=function(){if("undefined"!=typeof window){var e=window,t=Symbol.for("apollo.devtools");(e[t]=e[t]||[]).push(this),e.__APOLLO_CLIENT__=this,_o||!1===globalThis.__DEV__||(_o=!0,window.document&&window.top===window.self&&/^(https?|file):$/.test(window.location.protocol)&&setTimeout(function(){if(!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__){var e=window.navigator,t=e&&e.userAgent,n=void 0;"string"==typeof t&&(t.indexOf("Chrome/")>-1?n="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":t.indexOf("Firefox/")>-1&&(n="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),n&&!1!==globalThis.__DEV__&&P.log("Download the Apollo DevTools for a better development experience: %s",n)}},1e4))}},Object.defineProperty(e.prototype,"documentTransform",{get:function(){return this.queryManager.documentTransform},enumerable:!1,configurable:!0}),e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=or(this.defaultOptions.watchQuery,e)),!this.disableNetworkFetches||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e=m(m({},e),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=or(this.defaultOptions.query,e)),P("cache-and-network"!==e.fetchPolicy,16),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=m(m({},e),{fetchPolicy:"cache-first"})),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=or(this.defaultOptions.mutate,e)),this.queryManager.mutate(e)},e.prototype.subscribe=function(e){return this.queryManager.startGraphQLSubscription(e)},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.cache.readQuery(e,t)},e.prototype.watchFragment=function(e){return this.cache.watchFragment(e)},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.cache.readFragment(e,t)},e.prototype.writeQuery=function(e){var t=this.cache.writeQuery(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t},e.prototype.writeFragment=function(e){var t=this.cache.writeFragment(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return hr(this.link,e)},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then(function(){return e.queryManager.clearStore({discardWatches:!1})}).then(function(){return Promise.all(e.resetStoreCallbacks.map(function(e){return e()}))}).then(function(){return e.reFetchObservableQueries()})},e.prototype.clearStore=function(){var e=this;return Promise.resolve().then(function(){return e.queryManager.clearStore({discardWatches:!0})}).then(function(){return Promise.all(e.clearStoreCallbacks.map(function(e){return e()}))})},e.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager.reFetchObservableQueries(e)},e.prototype.refetchQueries=function(e){var t=this.queryManager.refetchQueries(e),n=[],a=[];t.forEach(function(e,t){n.push(t),a.push(e)});var r=Promise.all(a);return r.queries=n,r.results=a,r.catch(function(e){!1!==globalThis.__DEV__&&P.debug(17,e)}),r},e.prototype.getObservableQueries=function(e){return void 0===e&&(e="active"),this.queryManager.getObservableQueries(e)},e.prototype.extract=function(e){return this.cache.extract(e)},e.prototype.restore=function(e){return this.cache.restore(e)},e.prototype.addResolvers=function(e){this.localState.addResolvers(e)},e.prototype.setResolvers=function(e){this.localState.setResolvers(e)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},e.prototype.setLink=function(e){this.link=this.queryManager.link=e},Object.defineProperty(e.prototype,"defaultContext",{get:function(){return this.queryManager.defaultContext},enumerable:!1,configurable:!0}),e}();!1!==globalThis.__DEV__&&(go.prototype.getMemoryInternals=Rt);var yo=new Map,bo=new Map,ko=!1;function wo(e){return e.replace(/[\s,]+/g," ").trim()}function xo(e){var t=new Set,n=[];return e.definitions.forEach(function(e){if("FragmentDefinition"===e.kind){var a=e.name.value,r=wo((o=e.loc).source.body.substring(o.start,o.end)),i=bo.get(a);i&&!i.has(r)||i||bo.set(a,i=new Set),i.add(r),t.has(r)||(t.add(r),n.push(e))}else n.push(e);var o}),m(m({},e),{definitions:n})}function So(e){var t=wo(e);if(!yo.has(t)){var n=function(e,t){const n=new qe(e,t),a=n.parseDocument();return Object.defineProperty(a,"tokenCount",{enumerable:!1,value:n.tokenCount}),a}(e,{experimentalFragmentVariables:ko,allowLegacyFragmentVariables:ko});if(!n||"Document"!==n.kind)throw new Error("Not a valid GraphQL document.");yo.set(t,function(e){var t=new Set(e.definitions);t.forEach(function(e){e.loc&&delete e.loc,Object.keys(e).forEach(function(n){var a=e[n];a&&"object"==typeof a&&t.add(a)})});var n=e.loc;return n&&(delete n.startToken,delete n.endToken),e}(xo(n)))}return yo.get(t)}function Eo(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];"string"==typeof e&&(e=[e]);var a=e[0];return t.forEach(function(t,n){t&&"Document"===t.kind?a+=t.loc.source.body:a+=t,a+=e[n+1]}),So(a)}var jo,To=Eo,Oo=function(){yo.clear(),bo.clear()},Co=function(){0},No=function(){ko=!0},Mo=function(){ko=!1};(jo=Eo||(Eo={})).gql=To,jo.resetCaches=Oo,jo.disableFragmentWarnings=Co,jo.enableExperimentalFragmentVariables=No,jo.disableExperimentalFragmentVariables=Mo,Eo.default=Eo;var Do,Ao={exports:{}};var Io,Po=(Do||(Do=1,(Io=Ao).exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=void 0,Io.exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=void 0,Io.exports.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=void 0,Object.assign(Io.exports,e)),Ao.exports);const Fo=t({__proto__:null,default:n(Po)},[Po]);var Ro=ht?Symbol.for("__APOLLO_CONTEXT__"):"__APOLLO_CONTEXT__";function zo(){P("createContext"in Fo,46);var e=Po.createContext[Ro];return e||(Object.defineProperty(Po.createContext,Ro,{value:e=Po.createContext({}),enumerable:!1,writable:!1,configurable:!0}),e.displayName="ApolloContext"),e}var Lo=function(e){var t=e.client,n=e.children,a=zo(),r=Po.useContext(a),i=Po.useMemo(function(){return m(m({},r),{client:t||r.client})},[r,t]);return P(i.client,47),Po.createElement(a.Provider,{value:i},n)};function qo(e){var t=Po.useContext(zo()),n=e||t.client;return P(!!n,50),n}var $o,Bo,Vo,Uo=!1,Wo=Fo.useSyncExternalStore||function(e,t,n){var a=t();!1===globalThis.__DEV__||Uo||a===t()||(Uo=!0,!1!==globalThis.__DEV__&&P.error(60));var r=Po.useState({inst:{value:a,getSnapshot:t}}),i=r[0].inst,o=r[1];return _t?Po.useLayoutEffect(function(){Object.assign(i,{value:a,getSnapshot:t}),Qo(i)&&o({inst:i})},[e,a,t]):Object.assign(i,{value:a,getSnapshot:t}),Po.useEffect(function(){return Qo(i)&&o({inst:i}),e(function(){Qo(i)&&o({inst:i})})},[e]),a};function Qo(e){var t=e.value,n=e.getSnapshot;try{return t!==n()}catch(a){return!0}}function Go(e){var t;switch(e){case $o.Query:t="Query";break;case $o.Mutation:t="Mutation";break;case $o.Subscription:t="Subscription"}return t}function Ho(e){Vo||(Vo=new Dt(It.parser||1e3));var t,n,a=Vo.get(e);if(a)return a;P(!!e&&!!e.kind,62,e);for(var r=[],i=[],o=[],s=[],c=0,u=e.definitions;c<u.length;c++){var l=u[c];if("FragmentDefinition"!==l.kind){if("OperationDefinition"===l.kind)switch(l.operation){case"query":i.push(l);break;case"mutation":o.push(l);break;case"subscription":s.push(l)}}else r.push(l)}P(!r.length||i.length||o.length||s.length,63),P(i.length+o.length+s.length<=1,64,e,i.length,s.length,o.length),n=i.length?$o.Query:$o.Mutation,i.length||o.length||(n=$o.Subscription);var d=i.length?i:o.length?o:s;P(1===d.length,65,e,d.length);var p=d[0];t=p.variableDefinitions||[];var h={name:p.name&&"Name"===p.name.kind?p.name.value:"data",type:n,variables:t};return Vo.set(e,h),h}function Ko(e,t){var n=Ho(e),a=Go(t),r=Go(n.type);P(n.type===t,66,a,a,r)}(Bo=$o||($o={}))[Bo.Query=0]="Query",Bo[Bo.Mutation=1]="Mutation",Bo[Bo.Subscription=2]="Subscription",Ho.resetCache=function(){Vo=void 0},!1!==globalThis.__DEV__&&Ft("parser",function(){return Vo?Vo.size:0});var Yo=ft?Po.useLayoutEffect:Po.useEffect,Jo=Symbol.for("apollo.hook.wrappers");var Xo=Object.prototype.hasOwnProperty;function Zo(){}var es=Symbol();function ts(e,t){return void 0===t&&(t=Object.create(null)),(n="useQuery",a=ns,r=qo(t&&t.client),i=r.queryManager,o=i&&i[Jo],(s=o&&o[n])?s(a):a)(e,t);var n,a,r,i,o,s}function ns(e,t){var n=function(e,t){var n=qo(t.client),a=Po.useContext(zo()).renderPromises,r=!!a,i=n.disableNetworkFetches,o=!1!==t.ssr&&!t.skip,s=t.partialRefetch,c=function(e,t,n,a){void 0===n&&(n={});var r=n.skip;n.ssr,n.onCompleted,n.onError;var i=n.defaultOptions,o=f(n,["skip","ssr","onCompleted","onError","defaultOptions"]);return function(n){var s=Object.assign(o,{query:t});return!a||"network-only"!==s.fetchPolicy&&"cache-and-network"!==s.fetchPolicy||(s.fetchPolicy="cache-first"),s.variables||(s.variables={}),r?(s.initialFetchPolicy=s.initialFetchPolicy||s.fetchPolicy||os(i,e.defaultOptions),s.fetchPolicy="standby"):s.fetchPolicy||(s.fetchPolicy=(null==n?void 0:n.options.initialFetchPolicy)||os(i,e.defaultOptions)),s}}(n,e,t,r),u=function(e,t,n,a,r){function i(i){var o;return Ko(t,$o.Query),{client:e,query:t,observable:a&&a.getSSRObservable(r())||e.watchQuery(as(void 0,e,n,r())),resultData:{previousData:null===(o=null==i?void 0:i.resultData.current)||void 0===o?void 0:o.data}}}var o=Po.useState(i),s=o[0],c=o[1];function u(e){var t,n;Object.assign(s.observable,((t={})[es]=e,t));var a=s.resultData;c(m(m({},s),{query:e.query,resultData:Object.assign(a,{previousData:(null===(n=a.current)||void 0===n?void 0:n.data)||a.previousData,current:void 0})}))}if(e!==s.client||t!==s.query){var l=i(s);return c(l),[l,u]}return[s,u]}(n,e,t,a,c),l=u[0],d=l.observable,p=l.resultData,h=u[1],v=c(d);!function(e,t,n,a,r){var i;t[es]&&!Ir(t[es],r)&&(t.reobserve(as(t,n,a,r)),e.previousData=(null===(i=e.current)||void 0===i?void 0:i.data)||e.previousData,e.current=void 0);t[es]=r}(p,d,n,t,v);var _=Po.useMemo(function(){return function(e){return{refetch:e.refetch.bind(e),reobserve:e.reobserve.bind(e),fetchMore:e.fetchMore.bind(e),updateQuery:e.updateQuery.bind(e),startPolling:e.startPolling.bind(e),stopPolling:e.stopPolling.bind(e),subscribeToMore:e.subscribeToMore.bind(e)}}(d)},[d]);!function(e,t,n){t&&n&&(t.registerSSRObservable(e),e.getCurrentResult().loading&&t.addObservableQueryPromise(e))}(d,a,o);var g=function(e,t,n,a,r,i,o,s,c){var u=Po.useRef(c);Po.useEffect(function(){u.current=c});var l=!s&&!i||!1!==a.ssr||a.skip?a.skip||"standby"===r.fetchPolicy?us:void 0:cs,d=e.previousData,p=Po.useMemo(function(){return l&&ss(l,d,t,n)},[n,t,l,d]);return Wo(Po.useCallback(function(a){if(s)return function(){};var r=function(){var r=e.current,i=t.getCurrentResult();r&&r.loading===i.loading&&r.networkStatus===i.networkStatus&&Ir(r.data,i.data)||rs(i,e,t,n,o,a,u.current)},i=function(s){if(c.current.unsubscribe(),c.current=t.resubscribeAfterError(r,i),!Xo.call(s,"graphQLErrors"))throw s;var l=e.current;(!l||l&&l.loading||!Ir(s,l.error))&&rs({data:l&&l.data,error:s,loading:!1,networkStatus:Yi.error},e,t,n,o,a,u.current)},c={current:t.subscribe(r,i)};return function(){setTimeout(function(){return c.current.unsubscribe()})}},[i,s,t,e,o,n]),function(){return p||is(e,t,u.current,o,n)},function(){return p||is(e,t,u.current,o,n)})}(p,d,n,t,v,i,s,r,{onCompleted:t.onCompleted||Zo,onError:t.onError||Zo});return{result:g,obsQueryFields:_,observable:d,resultData:p,client:n,onQueryExecuted:h}}(e,t),a=n.result,r=n.obsQueryFields;return Po.useMemo(function(){return m(m({},a),r)},[a,r])}function as(e,t,n,a){var r=[],i=t.defaultOptions.watchQuery;return i&&r.push(i),n.defaultOptions&&r.push(n.defaultOptions),r.push(ir(e&&e.options,a)),r.reduce(or)}function rs(e,t,n,a,r,i,o){var s=t.current;s&&s.data&&(t.previousData=s.data),!e.error&&sa(e.errors)&&(e.error=new yr({graphQLErrors:e.errors})),t.current=ss(function(e,t,n){if(e.partial&&n&&!e.loading&&(!e.data||0===Object.keys(e.data).length)&&"cache-only"!==t.options.fetchPolicy)return t.refetch(),m(m({},e),{loading:!0,networkStatus:Yi.refetch});return e}(e,n,r),t.previousData,n,a),i(),function(e,t,n){if(!e.loading){var a=function(e){return sa(e.errors)?new yr({graphQLErrors:e.errors}):e.error}(e);Promise.resolve().then(function(){a?n.onError(a):e.data&&t!==e.networkStatus&&e.networkStatus===Yi.ready&&n.onCompleted(e.data)}).catch(function(e){!1!==globalThis.__DEV__&&P.warn(e)})}}(e,null==s?void 0:s.networkStatus,o)}function is(e,t,n,a,r){return e.current||rs(t.getCurrentResult(),e,t,r,a,function(){},n),e.current}function os(e,t){var n;return(null==e?void 0:e.fetchPolicy)||(null===(n=null==t?void 0:t.watchQuery)||void 0===n?void 0:n.fetchPolicy)||"cache-first"}function ss(e,t,n,a){var r=e.data;e.partial;var i=f(e,["data","partial"]);return m(m({data:r},i),{client:a,observable:n,variables:n.variables,called:e!==cs&&e!==us,previousData:t})}var cs=Ha({loading:!0,data:void 0,error:void 0,networkStatus:Yi.loading}),us=Ha({loading:!1,data:void 0,error:void 0,networkStatus:Yi.ready});function ls(e,t){var n=qo(void 0);Ko(e,$o.Mutation);var a=Po.useState({called:!1,loading:!1,client:n}),r=a[0],i=a[1],o=Po.useRef({result:r,mutationId:0,isMounted:!0,client:n,mutation:e,options:t});Yo(function(){Object.assign(o.current,{client:n,options:t,mutation:e})});var s=Po.useCallback(function(e){void 0===e&&(e={});var t=o.current,n=t.options,a=t.mutation,r=m(m({},n),{mutation:a}),s=e.client||o.current.client;o.current.result.loading||r.ignoreResults||!o.current.isMounted||i(o.current.result={loading:!0,error:void 0,data:void 0,called:!0,client:s});var c=++o.current.mutationId,u=or(r,e);return s.mutate(u).then(function(t){var n,a,r=t.data,l=t.errors,d=l&&l.length>0?new yr({graphQLErrors:l}):void 0,p=e.onError||(null===(n=o.current.options)||void 0===n?void 0:n.onError);if(d&&p&&p(d,u),c===o.current.mutationId&&!u.ignoreResults){var h={called:!0,loading:!1,data:r,error:d,client:s};o.current.isMounted&&!Ir(o.current.result,h)&&i(o.current.result=h)}var m=e.onCompleted||(null===(a=o.current.options)||void 0===a?void 0:a.onCompleted);return d||null==m||m(t.data,u),t}).catch(function(t){var n;if(c===o.current.mutationId&&o.current.isMounted){var a={loading:!1,error:t,data:void 0,called:!0,client:s};Ir(o.current.result,a)||i(o.current.result=a)}var r=e.onError||(null===(n=o.current.options)||void 0===n?void 0:n.onError);if(r)return r(t,u),{data:void 0,errors:t};throw t})},[]),c=Po.useCallback(function(){if(o.current.isMounted){var e={called:!1,loading:!1,client:o.current.client};Object.assign(o.current,{mutationId:0,result:e}),i(e)}},[]);return Po.useEffect(function(){var e=o.current;return e.isMounted=!0,function(){e.isMounted=!1}},[]),[s,m({reset:c},r)]}const ds=Eo`
|
|
2
2
|
fragment HouseSearchResultFields on PortalSiteHouse {
|
|
3
3
|
id
|
|
4
4
|
name
|
|
@@ -502,4 +502,4 @@
|
|
|
502
502
|
price
|
|
503
503
|
}
|
|
504
504
|
}
|
|
505
|
-
`;function Ts({filters:e,field:t,options:n,onChange:a,value:r}){const i=e.countries,o=e=>{r===e.target.value?s(null):s(e.target.value)},s=e=>{a(t.id,e)};return["cities","regions"].includes(t.id)?l.jsx("ul",{className:"radioList",children:n.map(e=>l.jsxs("li",{className:"bu-list-item "+(i&&!i.includes(e.country_id)?"bu-disabled":"bu-open"),children:[l.jsx("input",{name:t.id,type:"checkbox",id:e.id,value:e.id,disabled:!!i&&!i.includes(e.country_id),checked:r===e.id,onBlur:s,onChange:s}),l.jsx("label",{htmlFor:e.id,children:e.name})]},e.id))}):l.jsx("ul",{className:"radioList",children:n.map(e=>l.jsxs("li",{className:"bu-list-item bu-open",children:[l.jsx("input",{name:t.id,type:"checkbox",id:e.id,value:e.id,checked:r===e.id,onBlur:s,onChange:o}),l.jsx("label",{htmlFor:e.id,children:e.name})]},e.id))})}function Os(e){return Array.from({length:e+1},(e,t)=>t)}const Cs=[{label:"Land",id:"countries",type:"select",required:!1,mandatory:!0,options:["select","list","radio","text"]}];function Ns({options:e,field:t,filters:n,value:a,onChange:r}){const i=e=>{r(t.id,e.currentTarget.value)},o=n.countries,s=Array.isArray(n.regions)?n.regions:[n.regions].filter(e=>String(e).trim());return e&&["countries","cities","regions"].includes(t.id)?l.jsxs("select",{name:t.id,onBlur:i,onChange:i,value:a,children:[l.jsx("option",{value:""}),e.map(e=>{let n=!1;return["cities","regions"].includes(t.id)&&(o&&!o.includes(e.country_id)&&(n=!0),"cities"===t.id&&(!1!=!s.length||s.includes(e.region)||(n=!0))),l.jsx("option",{value:e.id,id:e.region,disabled:n,hidden:n,children:e.name},e.id)})]}):l.jsxs("select",{name:t.id,onBlur:i,onChange:i,value:a,children:[l.jsx("option",{value:""}),e.map(e=>{let t=!1;return l.jsx("option",{value:e,disabled:t,hidden:t,children:e},e)})]})}function Ms({PortalSite:e,filters:t,onChange:n}){const a=t.properties||[];let r=e.options.filtersForm.categories,i=[];const o=e=>{const t=Number(e.currentTarget.value);if(a.includes(t)){let e=a.indexOf(t);a.splice(e,1)}else a.push(t);n("properties",a)};return e.categories.map(e=>{r.includes(e.id)&&i.push(l.jsxs("div",{className:"bu-properties",children:[l.jsx("strong",{children:e.name}),l.jsx("ul",{children:e.properties.map(e=>l.jsx("li",{children:l.jsxs("label",{htmlFor:e.id.toString(),children:[l.jsx("input",{type:"checkbox",id:e.id.toString(),value:e.id,checked:a.includes(e.id),onChange:o}),e.name]})},e.id))})]},e.id))}),i}function Ds({options:e,filters:t,onChange:n,field:a}){const r=t.countries,i=e=>{n(a.id,e.currentTarget.value)};return l.jsx("ul",{className:"radioList",children:e.map(e=>l.jsxs("li",{className:"bu-list-item "+(r&&!r.includes(e.country_id)?"bu-disabled":""),children:[l.jsx("input",{name:a.id,type:"radio",id:e.id||e,value:e.id||e,disabled:!!r&&!r.includes(e.country_id),onBlur:i,onChange:i}),l.jsx("label",{htmlFor:e.id||e,children:e.name||e})]},e.id||e))})}function As({value:e,onChange:t,field:n}){const a=e&&""!==e?e:"";return l.jsx("input",{type:"date",id:n.id,name:n.id,value:a,onChange:e=>{t(n.id,e.target.value)}})}function Is({PortalSite:e,field:t,value:n,onChange:a}){return l.jsx("input",{value:n,type:"number",min:"0",max:"persons_min"===t.id?e.max_persons:e[t.id],onBlur:e=>{a(t.id,e.currentTarget.value)}})}function Ps({PortalSite:e,field:t,filters:n,value:a,onFilterChange:r}){let i=[];i=["countries","cities","regions"].includes(t.id)?e[t.id]:"persons_min"===t.id||"persons_max"===t.id?Os(e.max_persons):"bedrooms_min"===t.id?Os(e.max_bedrooms):"bathrooms_min"===t.id?Os(e.max_bathrooms):"weekprice_max"===t.id?function(e){let t=Math.ceil(e/100);return Array.from({length:t+1},(e,t)=>100*t)}(e.max_weekprice):Os(e[t.id]);let o={options:i,field:t,filters:n,value:a};return"properties"===t.id?l.jsx(Ms,{PortalSite:e,filters:n,onChange:r}):"select"===t.type?l.jsx(Ns,{...o,onChange:r}):"list"===t.type?l.jsx(Ts,{...o,onChange:r}):"radio"===t.type?l.jsx(Ds,{...o,onChange:r}):"number"===t.type?l.jsx(Is,{PortalSite:e,field:t,value:a,onChange:r}):"date"===t.type?l.jsx(As,{field:t,value:a,onChange:r}):l.jsx("input",{value:a,onBlur:e=>{r(t.id,e.target.value)}})}const Rs=()=>l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",version:"1.1",x:"0px",y:"0px",viewBox:"0 0 100 100",enableBackground:"new 0 0 100 100",xmlSpace:"preserve",height:"16px",children:l.jsx("path",{fill:"#000000",stroke:"2",d:"M77,53.752c0,0.012,0,0.022,0,0.034c0,14.92-12.019,27.058-26.938,27.058 c-14.92,0-26.948-12.138-26.948-27.058C23.114,38.961,35,26.889,50,26.738v4.942c0,2.84,2.54,2.913,3.947,1.647l10.354-7.714 c0,0,1.128-0.942,1.128-1.979c0-1.089-1.147-1.979-1.147-1.979L53.95,13.941C52.543,12.675,50,12.749,50,15.588v5.149 c-18,0.151-32.826,14.915-32.826,33.048c0,18.229,14.686,33.058,32.914,33.058C68.314,86.844,83,72.015,83,53.786 c0-0.012,0-0.022,0-0.034c0,0,0-3.375-3.037-3.375C77.109,50.376,77,53.752,77,53.752z"})}),Fs={next:"Next",previous:"Previous",view_details:"View details",price:"Price",calculate:"Next",book:"Book",booked:"Booked",booking:"Booking",last_minute_discount:"Last minute discount",discount:"Discount",option:"Option",choose_for_option:"Make a short reservation for this period ",included_in_price:"including",rent_price:"Rental price",extra_costs_included:"Extra costs included",optional_costs:"Extra options",price_after_discount:"Rental price incl. discount",booking_from_til:"Booking dates",total:"Total",stay_details:"Travel group",babies:"Babies",babies_from:"(up to the age of {babies})",adults:"Adults",adults_from:"(from the age of {age})","camper_spot.arrival_date":"Arrival date","camper_spot.departure_date":"Departure date","camper_spot.arrival":"Arrival","camper_spot.departure":"Departure","camping_place.arrival_date":"Arrival date","camping_place.departure_date":"Departure date","camping_place.arrival":"Arrival","camping_place.departure":"Departure","bnb.arrival_date":"Arrival date","bnb.departure_date":"Departure date","bnb.arrival":"Arrival","bnb.departure":"Departure","hotelroom.arrival_date":"Arrival date","hotelroom.departure_date":"Departure date","hotelroom.arrival":"Arrival","hotelroom.departure":"Departure",children:"Children",children_from:"(from {from} to {til} years inclusive)","house.arrival_date":"Arrival date","house.departure_date":"Departure date","house.arrival":"Arrival","house.departure":"Departure","group_accommodation.arrival_date":"Arrival date","group_accommodation.departure_date":"Departure date","group_accommodation.arrival":"Arrival","group_accommodation.departure":"Departure","tent.arrival_date":"Arrival date","tent.departure_date":"Departure date","tent.arrival":"Arrival","tent.departure":"Departure",extra_costs_bookable:"Extra options",costs_on_site:"Additional costs on the spot:",insurances:"Insurances",at_least_1_adult:"Choose at least 1 adult.",max_persons_reached:"Too many people have been selected.",personal_details:"Your information",required:"This field is required.",cancel_insurance_all_risk:"All Risk",cancel_insurance_normal:"Standard",none:"None",cancel_insurance:"Cancellation insurance",insurance_costs:"Insurance Costs",choose:"Choose",yes:"Yes",booking_details:"Booking details",based_on_one_person:"Based on {persons} persons",return_to_calendar:"Back to calendar",close:"Close",cancel_insurance_normal_long:"Short-term Cancellation Insurance ",cancel_insurance_normal_desc:"If you booked a wonderful holiday, cancellation insurance should not be missing! Your booked holiday cannot continue, or you have to go home unexpectedly halfway through the holiday due to, for example, a severe illness. The cancellation insurance of RecreatieVerzekeringen is ideal because it applies before departure and during your holiday.",cancel_insurance_more_insured:"More are insured than you think.",cancel_insurance_more_insured_desc:"Did you know that you can rely on cancellation insurance during pregnancy, a new job, or divorce? Many people expect cancellation insurance to be valid only in the event of illness or death.",cancel_insurance_important:"Important",cancel_insurance_important_message:"For optimal cancellation insurance coverage, you must take it out within seven days after booking the holiday.",cancel_insurance_for_whom:"For whom?",cancel_insurance_for_whom_explain:"This insurance is for a maximum of 4 families or 9 travel companions (no family members).",cancel_insurance_questions:"Frequently Asked Questions",cancel_insurance_questions_explain_1:"Click ",cancel_insurance_questions_explain_link:"here",cancel_insurance_questions_explain_2:" to find the Frequently Asked Questions.",show_terms:"Show conditions",terms:"Terms",remark:"Remark","9persons_9addresses":"The Insurance will pay for up to 9 persons, who live at 9 different addresses,",or:"or","9persons_4addresses":"The insurance pays out for an unlimited number of people who live at a maximum of 4 different addresses.",poliscosts:"Policy fee",poliscosts_are:"The cost for an insurance policy is a one-time charge of € 6,95. No matter if you have one or two insuran",youwillrecieve:"You will receive the insurance terms separate from you booking confirmation per email. The insurance starts as soon as the (first) payment has been made.",thank_you_for_your_request:"Thank you very much for your request.",we_sent_confirmation_check_email:"A copy of your request has been sent to your e-mail address. If you have not received any mail from us, it may be that it is in your spam box.",something_went_wrong_please_try_again:"Oops, something went wrong, please try again later.",persons:"persons",bedrooms:"bedrooms",minimum_week_price:"min. weekly price",no_results:"No results",agree_with:"Clicking 'Book' creates a payment obligation when my booking is accepted. I agree to the ",option_is_free:"An option is free of charge and without obligation.",discount_reason:"Reason discount.",results:"results",bathrooms:"bathrooms",you_need_to_give_reason:"You must indicate a valid discount reason","camper.arrival_date":"Start date","camper.departure_date":"End date","camper.arrival":"Start date","camper.departure":"End date","boat.arrival_date":"Start date","boat.departure_date":"End date","boat.arrival":"Start date","boat.departure":"End date","caravan.arrival_date":"Arrival date","caravan.departure_date":"Departure date","caravan.arrival":"Arrival","caravan.departure":"Departure",filters:"Filters",comply_insurance_card:"I agree that the cancellation insurance insurance card will be digitally issued to me. I receive this card with my booking confirmation.","house.you_picked_arrival_date":"Your arrival date is","house.pick_your_departure_in_the_calendar":"Select a departure date","house.you_picked_departure_date":"Your departure date is","house.pick_your_arrivaldate_in_the_calendar":"Choose an arrival date","group_accommodation.you_picked_arrival_date":"Your arrival date is","group_accommodation.pick_your_departure_in_the_calendar":"Select a departure date","group_accommodation.you_picked_departure_date":"Your departure date is","group_accommodation.pick_your_arrivaldate_in_the_calendar":"Choose an arrival date","tent.you_picked_arrival_date":"Your arrival date is","tent.pick_your_departure_in_the_calendar":"Select a departure date","tent.you_picked_departure_date":"Your departure date is","tent.pick_your_arrivaldate_in_the_calendar":"Choose an arrival date","camper.you_picked_arrival_date":"Your pickup date is","camper.pick_your_departure_in_the_calendar":"Select a return date","camper.you_picked_departure_date":"Your return date is","camper.pick_your_arrivaldate_in_the_calendar":"Choose a pickup date","boat.you_picked_arrival_date":"Your pickup date is","boat.pick_your_departure_in_the_calendar":"Select a return date","boat.you_picked_departure_date":"Your return date is","boat.pick_your_arrivaldate_in_the_calendar":"Choose a pickup date","bnb.you_picked_arrival_date":"Your arrival date is","bnb.pick_your_departure_in_the_calendar":"Select a departure date","bnb.you_picked_departure_date":"Your departure date is","bnb.pick_your_arrivaldate_in_the_calendar":"Choose an arrival date","caravan.you_picked_arrival_date":"Your pickup date is","caravan.pick_your_departure_in_the_calendar":"Select a return date","caravan.you_picked_departure_date":"Your return date is","caravan.pick_your_arrivaldate_in_the_calendar":"Choose a pickup date","camper_spot.you_picked_arrival_date":"Your arrival date is","camper_spot.pick_your_departure_in_the_calendar":"Select a departure date","camper_spot.you_picked_departure_date":"Your departure date is","camper_spot.pick_your_arrivaldate_in_the_calendar":"Choose an arrival date","camping_place.you_picked_arrival_date":"Your arrival date is","camping_place.pick_your_departure_in_the_calendar":"Select a departure date","camping_place.you_picked_departure_date":"Your departure date is","camping_place.pick_your_arrivaldate_in_the_calendar":"Choose an arrival date","hotelroom.you_picked_arrival_date":"Your arrival date is","hotelroom.pick_your_departure_in_the_calendar":"Select a departure date","hotelroom.you_picked_departure_date":"Your departure date is","hotelroom.pick_your_arrivaldate_in_the_calendar":"Choose an arrival date","house_boat.you_picked_arrival_date":"Your pickup date is","house_boat.pick_your_departure_in_the_calendar":"Select a return date","house_boat.you_picked_departure_date":"Your return date is","house_boat.pick_your_arrivaldate_in_the_calendar":"Choose a pickup date",no:"No",no_house_found:"No object found for this combination of PortalCode and ObjectCode",insurance_company_needs_date_of_birth:"A date of birth is required for taking out insurance","extra_fields.date_of_birth":"Date of birth",no_discount_code_found:"No discount found with entered code",discount_code:"Discount code",minimum_nights:"At least {minimum} nights",can_only_take_insurance_in_de_be_nl:"You can only take out insurance if you live in the Netherlands, Germany or Belgium.",price_from:"Price from",reviews:"Reviews",reviews_note_link:"BUKAZU Booking System maintains independent reviews. These reviews are collected after guests stay in the accommodation. There is verification of the combination of booking number and email address."},zs={next:"Volgende",previous:"Vorige",view_details:"Bekijk details",price:"Prijs",calculate:"Volgende",book:"Boeken",booked:"Geboekt",booking:"Boeking",last_minute_discount:"Last minute korting",discount:"Korting",option:"Optie",choose_for_option:"Neem een optie op deze periode",included_in_price:"inclusief",rent_price:"Huurprijs",extra_costs_included:"Extra kosten inbegrepen",optional_costs:"Extra opties",price_after_discount:"Huurprijs incl. korting",booking_from_til:"Boekingsdata:",total:"Totaal",stay_details:"Reisgezelschap",babies:"Baby's",babies_from:"(t/m {babies} jaar)",adults:"Volwassenen",adults_from:"(vanaf {age} jaar)","camper_spot.arrival_date":"Aankomstdatum","camper_spot.departure_date":"Vertrekdatum","camper_spot.arrival":"Aankomst","camper_spot.departure":"Vertrek","camping_place.arrival_date":"Aankomstdatum","camping_place.departure_date":"Vertrekdatum","camping_place.arrival":"Aankomst","camping_place.departure":"Vertrek","bnb.arrival_date":"Aankomstdatum","bnb.departure_date":"Vertrekdatum","bnb.arrival":"Aankomst","bnb.departure":"Vertrek","hotelroom.arrival_date":"Aankomstdatum","hotelroom.departure_date":"Vertrekdatum","hotelroom.arrival":"Aankomst","hotelroom.departure":"Vertrek",children:"Kinderen",children_from:"({from} t/m {til} jaar)","house.arrival_date":"Aankomstdatum","house.departure_date":"Vertrekdatum","house.arrival":"Aankomst","house.departure":"Vertrek ","group_accommodation.arrival_date":"Aankomstdatum","group_accommodation.departure_date":"Vertrekdatum","group_accommodation.arrival":"Aankomst","group_accommodation.departure":"Vertrek ",extra_costs_bookable:"Extra opties",costs_on_site:"Bijkomende kosten ter plaatse:",insurances:"Verzekeringen",at_least_1_adult:"Kies minstens 1 volwassene.",max_persons_reached:"Er zijn te veel personen geselecteerd.",personal_details:"Uw gegevens",required:"Dit veld is verplicht.",cancel_insurance_all_risk:"All Risk",cancel_insurance_normal:"Normaal",none:"Geen",cancel_insurance:"Annuleringsverzekering",insurance_costs:"Poliskosten",choose:"Kies",yes:"Ja",booking_details:"Boekingsgegevens",based_on_one_person:"Gebaseerd op {persons} personen",return_to_calendar:"Terug naar de kalender",close:"Sluiten",cancel_insurance_normal_long:"Kortlopende Annuleringsverzekering",cancel_insurance_normal_desc:"Je hebt een prachtige vakantie geboekt, dan mag een annuleringsverzekering niet ontbreken! Het kan gebeuren dat je geboekte vakantie niet door kan gaan, of dat je halverwege de vakantie onverwachts naar huis moet door bijvoorbeeld een ernstige ziekte. De annuleringsverzekering van RecreatieVerzekeringen is ideaal, deze geldt namelijk niet alleen voor je vertrek, maar ook tijdens de vakantie.",cancel_insurance_more_insured:"Er is meer verzekerd dan je denkt",cancel_insurance_more_insured_desc:"Wist je dat bij zwangerschap, een nieuwe baan of scheiding je een beroep kunt doen op een annuleringsverzekering? Veel mensen verwachten dat een annuleringsverzekering alleen geldig is bij ziekte of overlijden.",cancel_insurance_important:"Belangrijk",cancel_insurance_important_message:"Voor een optimale dekking van je annuleringsverzekering is het belangrijk dat je deze afsluit binnen 7 dagen na het boeken van de vakantie.",cancel_insurance_for_whom:"Voor wie?",cancel_insurance_for_whom_explain:"Deze verzekering is voor maximaal 4 gezinnen of 9 reisgenoten (geen gezinsleden)",cancel_insurance_questions:"Veelgestelde vragen",cancel_insurance_questions_explain_link:"hier",cancel_insurance_questions_explain_1:"Klik ",cancel_insurance_questions_explain_2:" om de veelgestelde vragen te vinden.",show_terms:"Bekijk de voorwaarden",terms:"Voorwaarden",reviews_note_link:"BUKAZU Boekingssysteem houdt onafhankelijk reviews bij. Deze reviews zijn verzameld na het verblijf van de gasten in de accommodatie. Er is controle op de combinatie boekingsnummer en e-mailadres.",reviews_note:"De getoonde reviews zijn gecontroleerd op echtheid en voldoen aan de richtlijnen van de ACM. De reviews zijn verzameld na het verblijf van de gasten in de accommodatie. Er is controle op de combinatie boekingsnummer en e-mailadres.",remark:"Opmerking","9persons_9addresses":"De verzekering keert uit voor maximaal 9 personen die op 9 verschillende adressen wonen,",or:"of","9persons_4addresses":"De verzekering keert uit voor een onbeperkt aantal personen die op maximaal 4 verschillende adressen wonen.",poliscosts:"Poliskosten",poliscosts_are:"De kosten voor het opmaken van een verzekeringspolis zijn eenmalig € 6,95. Ongeacht of u 1 of meerdere verzekeringen heeft afgesloten.",youwillrecieve:"U ontvangt aansluitend op uw boekingsbevestiging de verzekeringspapieren per email toegestuurd. De verzekering treedt in werking zodra u de (aan)betaling gedaan heeft.",thank_you_for_your_request:"Hartelijk dank voor uw boekings/optie-aanvraag.",we_sent_confirmation_check_email:"Een kopie van uw aanvraag is naar uw e-mailadres verstuurd. Als u geen mail van ons ontvangen hebt, kan het zijn dat deze in uw spambox zit. ",something_went_wrong_please_try_again:"Oeps, er is iets mis gegaan, probeert u het later nogmaals.",persons:"personen",bedrooms:"slaapkamers",minimum_week_price:"min. weekprijs",no_results:"Geen resultaten",agree_with:"Door op 'Boeken' te klikken, ontstaat een betaalverplichting wanneer mijn boeking wordt geaccepteerd. Ik ga akkoord met de",option_is_free:"Een optie is kosteloos en vrijblijvend.",discount_reason:"Reden korting.",results:"resultaten",bathrooms:"badkamers",you_need_to_give_reason:"U dient een geldige kortingsreden aan te geven","camper.arrival_date":"Ophaaldatum","camper.departure_date":"Inleverdatum","camper.arrival":"Ophalen","camper.departure":"Inleveren","boat.arrival_date":"Ophaaldatum","boat.departure_date":"Inleverdatum","boat.arrival":"Ophalen","boat.departure":"Inleveren","caravan.arrival_date":"Aankomstdatum","caravan.departure_date":"Vertrekdatum","caravan.arrival":"Aankomst","caravan.departure":"Vertrek ","tent.arrival_date":"Aankomstdatum","tent.departure_date":"Vertrekdatum","tent.arrival":"Aankomst","tent.departure":"Vertrek ",filters:"Filters",comply_insurance_card:"Ik ga ermee akkoord dat de verzekeringskaart van de annuleringsverzekering digitaal aan mij verstrekt wordt. Ik ontvang deze bij mijn boekingsbevestiging.","house.you_picked_arrival_date":"Uw aankomstdatum is","house.pick_your_departure_in_the_calendar":"Kies een vertrekdatum","house.you_picked_departure_date":"Uw vertrekdatum is","house.pick_your_arrivaldate_in_the_calendar":"Kies een aankomstdatum","group_accommodation.you_picked_arrival_date":"Uw aankomstdatum is","group_accommodation.pick_your_departure_in_the_calendar":"Kies een vertrekdatum","group_accommodation.you_picked_departure_date":"Uw vertrekdatum is","group_accommodation.pick_your_arrivaldate_in_the_calendar":"Kies een aankomstdatum","tent.you_picked_arrival_date":"Uw aankomstdatum is","tent.pick_your_departure_in_the_calendar":"Kies een vertrekdatum","tent.you_picked_departure_date":"Uw vertrekdatum is","tent.pick_your_arrivaldate_in_the_calendar":"Kies een aankomstdatum","camper.you_picked_arrival_date":"Uw ophaaldatum is","camper.pick_your_departure_in_the_calendar":"Kies een inleverdatum","camper.you_picked_departure_date":"Uw inleverdatum is","camper.pick_your_arrivaldate_in_the_calendar":"Kies een ophaaldatum","boat.you_picked_arrival_date":"Uw ophaaldatum is","boat.pick_your_departure_in_the_calendar":"Kies een inleverdatum","boat.you_picked_departure_date":"Uw inleverdatum is","boat.pick_your_arrivaldate_in_the_calendar":"Kies een ophaaldatum","bnb.you_picked_arrival_date":"Uw aankomstdatum is","bnb.pick_your_departure_in_the_calendar":"Kies een vertrekdatum","bnb.you_picked_departure_date":"Uw vertrekdatum is","bnb.pick_your_arrivaldate_in_the_calendar":"Kies een aankomstdatum","caravan.you_picked_arrival_date":"Uw ophaaldatum is","caravan.pick_your_departure_in_the_calendar":"Kies een inleverdatum","caravan.you_picked_departure_date":"Uw inleverdatum is","caravan.pick_your_arrivaldate_in_the_calendar":"Kies een ophaaldatum","camper_spot.you_picked_arrival_date":"Uw aankomstdatum is","camper_spot.pick_your_departure_in_the_calendar":"Kies een vertrekdatum","camper_spot.you_picked_departure_date":"Uw vertrekdatum is","camper_spot.pick_your_arrivaldate_in_the_calendar":"Kies een aankomstdatum","camping_place.you_picked_arrival_date":"Uw aankomstdatum is","camping_place.pick_your_departure_in_the_calendar":"Kies een vertrekdatum","camping_place.you_picked_departure_date":"Uw vertrekdatum is","camping_place.pick_your_arrivaldate_in_the_calendar":"Kies een aankomstdatum","hotelroom.you_picked_arrival_date":"Uw aankomstdatum is","hotelroom.pick_your_departure_in_the_calendar":"Kies een vertrekdatum","hotelroom.you_picked_departure_date":"Uw vertrekdatum is","hotelroom.pick_your_arrivaldate_in_the_calendar":"Kies een aankomstdatum","house_boat.you_picked_arrival_date":"Uw ophaaldatum is","house_boat.pick_your_departure_in_the_calendar":"Kies een inleverdatum","house_boat.you_picked_departure_date":"Uw inleverdatum is","house_boat.pick_your_arrivaldate_in_the_calendar":"Kies een ophaaldatum",no:"Nee",no_house_found:"Geen object gevonden voor deze combinatie van Portal-code en Object-code",insurance_company_needs_date_of_birth:"Voor het afsluiten van een verzekering is een geboortedatum verplicht","extra_fields.date_of_birth":"Geboortedatum",no_discount_code_found:"Geen korting gevonden met ingegeven code",discount_code:"Kortingscode",minimum_nights:"Minstens {minimum} nachten",can_only_take_insurance_in_de_be_nl:"U kunt alleen een verzekering afsluiten, wanneer u woont in Nederland, Duitsland of België.",price_from:"Prijs vanaf",reviews:"Reviews"},Ls={next:"Nächste",previous:"Vorherige",view_details:"Details anzeigen",reviews_note:"",price:"Preis",calculate:"Nächst",book:"Buchen",booked:"Gebucht",booking:"Buchung",last_minute_discount:"Last Minute Rabatt",option:"Option",choose_for_option:"Machen Sie eine kostenlose Option",included_in_price:"inklusive",rent_price:"Mietpreis",discount:"Rabatt",extra_costs_included:"Nebenkosten enthalten",optional_costs:"Zusätzliche Optionen",price_after_discount:"Mietpreis inkl. Rabatt",booking_from_til:"Buchungsdaten",total:"Gesamt",stay_details:"Reisegruppe",babies:"Babys",babies_from:"(bis einschl. {babies} Jahre)",adults:"Erwachsene",adults_from:"(ab {age} Jahre)","camper_spot.arrival_date":"Anreisedatum","camper_spot.departure_date":"Abreisedatum","camper_spot.arrival":"Ankunft","camper_spot.departure":"Abreise","camping_place.arrival_date":"Anreisedatum","camping_place.departure_date":"Abreisedatum","camping_place.arrival":"Ankunft","camping_place.departure":"Abreise","bnb.arrival_date":"Anreisedatum","bnb.departure_date":"Abreisedatum","bnb.arrival":"Ankunft","bnb.departure":"Abreise","hotelroom.arrival_date":"Anreisedatum","hotelroom.departure_date":"Abreisedatum","hotelroom.arrival":"Ankunft","hotelroom.departure":"Abreise",children:"Kinder",children_from:"(von {from} bis einschl. {til} Jahre)","house.arrival_date":"Anreisedatum","house.departure_date":"Abreisedatum","house.arrival":"Ankunft","house.departure":"Abreise","group_accommodation.arrival_date":"Anreisedatum","group_accommodation.departure_date":"Abreisedatum","group_accommodation.arrival":"Ankunft","group_accommodation.departure":"Abreise","tent.arrival_date":"Anreisedatum","tent.departure_date":"Abreisedatum","tent.arrival":"Ankunft","tent.departure":"Abreise",extra_costs_bookable:"Zusätzliche Optionen",costs_on_site:"Zusätzliche Kosten vor Ort:",insurances:"Versicherungen",at_least_1_adult:"Wählen Sie mindestens einen Erwachsenen aus.",max_persons_reached:"Es wurden zu viele Personen ausgewählt.",personal_details:"Ihre Daten",required:"Dieses Feld wird benötigt.",cancel_insurance_all_risk:"Allrisk",cancel_insurance_normal:"Standard",none:"Keine",cancel_insurance:"Reiserücktrittsversicherung",insurance_costs:"Policekosten",choose:"Wählen",yes:"Ja",booking_details:"Buchungsdetails",based_on_one_person:"Basierend auf {persons} Personen",return_to_calendar:"Zurück zum Kalender",close:"Schließen",cancel_insurance_normal_long:"Kurzfristige Reiserücktrittsversicherung",cancel_insurance_normal_desc:"Sie haben einen tollen Urlaub gebucht, dann darf eine Reiserücktrittsversicherung nicht fehlen! Es kann sein, dass Ihr gebuchter Urlaub nicht stattfinden kann oder dass Sie z. B. wegen einer schweren Krankheit mitten im Urlaub nach Hause fahren müssen. Die Reiserücktrittsversicherung von RecreatieVerzekeringen ist ideal, denn sie gilt nicht nur vor der Abreise, sondern auch während Ihres Urlaubs.",cancel_insurance_more_insured:"Es ist mehr versichert als Sie denken",cancel_insurance_more_insured_desc:"Wussten Sie, dass eine Reiserücktrittsversicherung auch im Falle einer Schwangerschaft, eines neuen Jobs oder einer Scheidung greift? Viele Leute erwarten, dass eine Reiserücktrittsversicherung nur bei Krankheit oder Tod gilt.",cancel_insurance_important:"Wichtig!",cancel_insurance_important_message:"Für eine optimale Deckung durch ihre Reiserücktrittsversicherung ist es wichtig, dass Sie diese innerhalb von 7 Tagen nach Ihrer Reisebuchung abschließen.",cancel_insurance_for_whom:"Für wen?",cancel_insurance_for_whom_explain:"Diese Versicherung gilt für bis zu 4 Familien oder 9 Mitreisende (keine Familienmitglieder).",cancel_insurance_questions:"Häufig gestellte Fragen ",cancel_insurance_questions_explain_1:"Klicken Sie ",cancel_insurance_questions_explain_link:"hier",cancel_insurance_questions_explain_2:" für die häufig gestellte Fragen.",show_terms:"Siehe Bedingungen",terms:"Bedingungen",remark:"Anmerkung","9persons_9addresses":"Die Versicherung ist gültig für maximal 9 Personen, die am 9 verschiedene Adressen wohnen,",or:"oder","9persons_4addresses":"Die Versicherung ist gültig für eine unbegrenzte Anzahl von Personen, die an maximal 4 verschiedenen Adressen wohnen.",poliscosts:"Police Kosten",poliscosts_are:"Es gibt einmalig € 6,95 Police-Kosten für die Bearbeitung der Versicherungen. Egal ob Sie 1 oder mehrere Versicherungen abschließen.",youwillrecieve:"Sie erhalten nach der Buchungsbestätigung im Anschluss an Ihre Buchung die Versicherungsbedingungen per E-Mail. Die Versicherung tritt mit der Ihrer Anzahlung in Kraft.",thank_you_for_your_request:"Vielen Dank für Ihre Buchungs/Options-Anfrage.",we_sent_confirmation_check_email:"Eine Kopie Ihrer Anfrage wurde an Ihre E-Mail-Adresse gesendet. Wenn Sie keine E-Mail von uns erhalten haben, befindet sich diese möglicherweise in Ihrer Spam-Box.",something_went_wrong_please_try_again:"Ups, es ist ein Fehler aufgetreten. Bitte versuchen Sie es später erneut.",persons:"Personen",bedrooms:"Schlafzimmer",minimum_week_price:"min. Wochenpreis",no_results:"Keine Ergebnisse",agree_with:'Wenn ich auf "Buchen" klicke, entsteht eine Zahlungsverpflichtung, wenn meine Buchung akzeptiert wird. Ich akzeptiere die',option_is_free:"Eine Option ist kostenlos und unverbindlich.",discount_reason:"Grund für Rabatt",results:"Ergebnisse",bathrooms:"Badezimmer",you_need_to_give_reason:"Sie müssen einen gültigen Rabattgrund angeben","camper.arrival_date":"Abholdatum","camper.departure_date":"Rückgabedatum","camper.arrival":"Abholen","camper.departure":"Rückgabe","boat.arrival_date":"Abholdatum","boat.departure_date":"Rückgabedatum","boat.arrival":"Abholen","boat.departure":"Rückgabe","caravan.arrival_date":"Anreisedatum","caravan.departure_date":"Abreisedatum","caravan.arrival":"Ankunft","caravan.departure":"Abreise",filters:"Filter",comply_insurance_card:"Ich bin damit einverstanden, dass die Versicherungskarte der Reiserücktrittsversicherung digital ausgestellt wird. Ich erhalte diese mit meiner Buchungsbestätigung.","house.you_picked_arrival_date":"Ihre Ankunft ist","house.pick_your_departure_in_the_calendar":"Wählen Sie ein Abreisedatum","house.you_picked_departure_date":"Ihr Abreisedatum ist","house.pick_your_arrivaldate_in_the_calendar":"Wählen Sie das Ankunftsdatum","group_accommodation.you_picked_arrival_date":"Ihre Ankunft ist","group_accommodation.pick_your_departure_in_the_calendar":"Wählen Sie ein Abreisedatum","group_accommodation.you_picked_departure_date":"Ihr Abreisedatum ist","group_accommodation.pick_your_arrivaldate_in_the_calendar":"Wählen Sie das Ankunftsdatum","tent.you_picked_arrival_date":"Ihre Ankunft ist","tent.pick_your_departure_in_the_calendar":"Wählen Sie ein Abreisedatum","tent.you_picked_departure_date":"Ihr Abreisedatum ist","tent.pick_your_arrivaldate_in_the_calendar":"Wählen Sie das Ankunftsdatum","camper.you_picked_arrival_date":"Ihr Abholdatum ist","camper.pick_your_departure_in_the_calendar":"Wählen Sie ein Rückgabedatum","camper.you_picked_departure_date":"Ihr Rückgabedatum ist","camper.pick_your_arrivaldate_in_the_calendar":"Wählen Sie einen Abholtermin","boat.you_picked_arrival_date":"Ihr Abholdatum ist","boat.pick_your_departure_in_the_calendar":"Wählen Sie ein Rückgabedatum","boat.you_picked_departure_date":"Ihr Rückgabedatum ist","boat.pick_your_arrivaldate_in_the_calendar":"Wählen Sie einen Abholtermin","bnb.you_picked_arrival_date":"Ihre Ankunft ist","bnb.pick_your_departure_in_the_calendar":"Wählen Sie ein Abreisedatum","bnb.you_picked_departure_date":"Ihr Abreisedatum ist","bnb.pick_your_arrivaldate_in_the_calendar":"Wählen Sie das Ankunftsdatum","caravan.you_picked_arrival_date":"Ihr Abholdatum ist","caravan.pick_your_departure_in_the_calendar":"Wählen Sie ein Rückgabedatum","caravan.you_picked_departure_date":"Ihr Rückgabedatum ist","caravan.pick_your_arrivaldate_in_the_calendar":"Wählen Sie einen Abholtermin","camper_spot.you_picked_arrival_date":"Ihre Ankunft ist","camper_spot.pick_your_departure_in_the_calendar":"Wählen Sie ein Abreisedatum","camper_spot.you_picked_departure_date":"Ihr Abreisedatum ist","camper_spot.pick_your_arrivaldate_in_the_calendar":"Wählen Sie das Ankunftsdatum","camping_place.you_picked_arrival_date":"Ihre Ankunft ist","camping_place.pick_your_departure_in_the_calendar":"Wählen Sie ein Abreisedatum","camping_place.you_picked_departure_date":"Ihr Abreisedatum ist","camping_place.pick_your_arrivaldate_in_the_calendar":"Wählen Sie das Ankunftsdatum","hotelroom.you_picked_arrival_date":"Ihre Ankunft ist","hotelroom.pick_your_departure_in_the_calendar":"Wählen Sie ein Abreisedatum","hotelroom.you_picked_departure_date":"Ihr Abreisedatum ist","hotelroom.pick_your_arrivaldate_in_the_calendar":"Wählen Sie das Ankunftsdatum","house_boat.you_picked_arrival_date":"Ihr Abholdatum ist","house_boat.pick_your_departure_in_the_calendar":"Wählen Sie ein Rückgabedatum","house_boat.you_picked_departure_date":"Ihr Rückgabedatum ist","house_boat.pick_your_arrivaldate_in_the_calendar":"Wählen Sie einen Abholtermin",no:"Nein",insurance_company_needs_date_of_birth:"Für den Abschluss einer Versicherung wird ein Geburtsdatum benötigt","extra_fields.date_of_birth":"Geburtsdatum",no_discount_code_found:"Kein Rabatt mit eingegebenem Code gefunden",discount_code:"Rabatt-Code",minimum_nights:"Mindestens {minimum} Nächte",can_only_take_insurance_in_de_be_nl:"Sie können sich nur versichern, wenn Sie in den Niederlanden, Deutschland oder Belgien wohnen.",price_from:"Preis von",reviews:"Bewertungen",reviews_note_link:"Das BUKAZU Buchungssystem unterhält unabhängige Bewertungen. Diese Bewertungen werden nach dem Aufenthalt der Gäste in der Unterkunft gesammelt. Es gibt eine Überprüfung der Kombination von Buchungsnummer und E-Mail-Adresse."},qs={en:Fs,nl:zs,de:Ls,fr:{next:"Suivant",previous:"Précédent",view_details:"Voir les détails",price:"Prix",calculate:"Suivante",book:"Réserver",booked:"Réservé",booking:"Réservation",last_minute_discount:"Réduction de dernière minute",option:"Option",choose_for_option:"Prendre une option pour cette période",included_in_price:"frais",rent_price:"Prix de location",discount:"Réduction",extra_costs_included:"Frais supplémentaires inclus",optional_costs:"Options supplémentaires",price_after_discount:"Prix de location incl.",booking_from_til:"Dates de réservation",total:"Total",stay_details:"Composition du groupe",babies:"Nombre de bébés",babies_from:"(jusqu'a {babies} ans)",adults:"Nombre d'adults",adults_from:"(à partir de {age} ans)","camper_spot.arrival_date":"Date d'arrivée","camper_spot.departure_date":"Date de départ","camper_spot.arrival":"Arrivée","camper_spot.departure":"Départ","camping_place.arrival_date":"Date d'arrivée","camping_place.departure_date":"Date de départ","camping_place.arrival":"Arrivée","camping_place.departure":"Départ","bnb.arrival_date":"Date d'arrivée","bnb.departure_date":"Date de départ","bnb.arrival":"Arrivée","bnb.departure":"Départ","hotelroom.arrival_date":"Date d'arrivée","hotelroom.departure_date":"Date de départ","hotelroom.arrival":"Arrivée","hotelroom.departure":"Départ",children:"Nombre d'enfants",children_from:"(de {from} à {til} ans)","house.arrival_date":"Date d'arrivée","house.departure_date":"Date de départ","house.arrival":"Arrivée","house.departure":"Départ","group_accommodation.arrival_date":"Date d'arrivée","group_accommodation.departure_date":"Date de départ","group_accommodation.arrival":"Arrivée","group_accommodation.departure":"Départ","tent.arrival_date":"Date d'arrivée","tent.departure_date":"Date de départ","tent.arrival":"Arrivée","tent.departure":"Départ",extra_costs_bookable:"Options supplémentaires",costs_on_site:"Frais supplémentaires sur place:",insurances:"Insurances",at_least_1_adult:"Choisissez au moins 1 adulte.",max_persons_reached:"Trop de personnes ont été sélectionnées.",personal_details:"Vos données",required:"Ce champ est requis.",cancel_insurance_all_risk:"All Risk",cancel_insurance_normal:"Standard",none:"None",cancel_insurance:"Cancellation insurance",insurance_costs:"Insurance Costs",choose:"Choose",yes:"Yes",booking_details:"Détails de la réservation",based_on_one_person:"Base {persons} personnes",return_to_calendar:"Retour au calendrier",close:"Fermer",cancel_insurance_normal_long:"Short-term Cancellation Insurance ",cancel_insurance_normal_desc:"If you booked a wonderful holiday, cancellation insurance should not be missing! Your booked holiday cannot continue, or you have to go home unexpectedly halfway through the holiday due to, for example, a severe illness. The cancellation insurance of RecreatieVerzekeringen is ideal because it applies before departure and during your holiday.",cancel_insurance_more_insured:"More are insured than you think.",cancel_insurance_more_insured_desc:"Did you know that you can rely on cancellation insurance during pregnancy, a new job, or divorce? Many people expect cancellation insurance to be valid only in the event of illness or death.",cancel_insurance_important:"Important",cancel_insurance_important_message:"For optimal cancellation insurance coverage, you must take it out within seven days after booking the holiday.",cancel_insurance_for_whom:"For whom?",cancel_insurance_for_whom_explain:"This insurance is for a maximum of 4 families or 9 travel companions (no family members).",cancel_insurance_questions:"Frequently Asked Questions",cancel_insurance_questions_explain_1:"Click ",cancel_insurance_questions_explain_link:"here",cancel_insurance_questions_explain_2:" to find the Frequently Asked Questions.",show_terms:"Show conditions",terms:"Terms",remark:"Remarque","9persons_9addresses":"The Insurance will pay for up to 9 persons, who live at 9 different addresses,",or:"or","9persons_4addresses":"The insurance pays out for an unlimited number of people who live at a maximum of 4 different addresses.",poliscosts:"Policy fee",poliscosts_are:"The cost for an insurance policy is a one-time charge of € 6,95. No matter if you have one or two insuran",youwillrecieve:"You will receive the insurance terms separate from you booking confirmation per email. The insurance starts as soon as the (first) payment has been made.",thank_you_for_your_request:"Merci beaucoup pour votre demande.",we_sent_confirmation_check_email:"Une copie de votre demande a été envoyée à votre adresse e-mail. Si vous n'avez pas reçu de courrier de notre part, il se peut qu'il soit dans votre boîte de courrier indésirable.",something_went_wrong_please_try_again:"Oups, quelque chose s'est mal passé, veuillez réessayer plus tard.",persons:"Personnes",bedrooms:"chambres a coucher",minimum_week_price:"min. prix hebdomadaire",no_results:"Aucun résultat",agree_with:'ELe fait de cliquer sur "Réserver" crée une obligation de paiement lorsque ma réservation est acceptée. J\'accepte',option_is_free:"Une option est gratuite et sans engagement.",discount_reason:"Raison réduction.",results:"résultats",bathrooms:"salle de bain",you_need_to_give_reason:"Debe indicar un motivo de descuento válido.","camper.arrival_date":"Date de collecte","camper.departure_date":"Date de retour","camper.arrival":"Ramasser","camper.departure":"Remettre","boat.arrival_date":"Date de collecte","boat.departure_date":"Date de retour","boat.arrival":"Ramasser","boat.departure":"Remettre","caravan.arrival_date":"Date d'arrivée","caravan.departure_date":"Date de départ","caravan.arrival":"Arrivée","caravan.departure":"Départ",filters:"Les filtres",comply_insurance_card:"Je conviens que la carte d’assurance annulation me sera délivrée numériquement. Je reçois ceci avec ma confirmation de réservation.","house.you_picked_arrival_date":"Votre date d'arrivée est","house.pick_your_departure_in_the_calendar":"Sélectionnez une date de départ","house.you_picked_departure_date":"Votre date de départ est","house.pick_your_arrivaldate_in_the_calendar":"Choisissez une date d'arrivée","group_accommodation.you_picked_arrival_date":"Votre date d'arrivée est","group_accommodation.pick_your_departure_in_the_calendar":"Sélectionnez une date de départ","group_accommodation.you_picked_departure_date":"Votre date de départ est","group_accommodation.pick_your_arrivaldate_in_the_calendar":"Choisissez une date d'arrivée","tent.you_picked_arrival_date":"Votre date d'arrivée est","tent.pick_your_departure_in_the_calendar":"Sélectionnez une date de départ","tent.you_picked_departure_date":"Votre date de départ est","tent.pick_your_arrivaldate_in_the_calendar":"Choisissez une date d'arrivée","camper.you_picked_arrival_date":"Votre date pick-up est","camper.pick_your_departure_in_the_calendar":"Sélectionnez une date de retour","camper.you_picked_departure_date":"Votre date de retour est","camper.pick_your_arrivaldate_in_the_calendar":"Choisissez une date de pick-up","boat.you_picked_arrival_date":"Your pickup date is","boat.pick_your_departure_in_the_calendar":"Select a return date","boat.you_picked_departure_date":"Your return date is","boat.pick_your_arrivaldate_in_the_calendar":"Choose a pickup date","bnb.you_picked_arrival_date":"Votre date d'arrivée est","bnb.pick_your_departure_in_the_calendar":"Sélectionnez une date de départ","bnb.you_picked_departure_date":"Votre date de départ est","bnb.pick_your_arrivaldate_in_the_calendar":"Choisissez une date d'arrivée","caravan.you_picked_arrival_date":"Votre date pick-up est","caravan.pick_your_departure_in_the_calendar":"Sélectionnez une date de retour","caravan.you_picked_departure_date":"Votre date de retour est","caravan.pick_your_arrivaldate_in_the_calendar":"Choisissez une date de pick-up","camper_spot.you_picked_arrival_date":"Votre date d'arrivée est","camper_spot.pick_your_departure_in_the_calendar":"Sélectionnez une date de départ","camper_spot.you_picked_departure_date":"Votre date de départ est","camper_spot.pick_your_arrivaldate_in_the_calendar":"Choisissez une date d'arrivée","camping_place.you_picked_arrival_date":"Votre date d'arrivée est","camping_place.pick_your_departure_in_the_calendar":"Sélectionnez une date de départ","camping_place.you_picked_departure_date":"Votre date de départ est","camping_place.pick_your_arrivaldate_in_the_calendar":"Choisissez une date d'arrivée","hotelroom.you_picked_arrival_date":"Votre date d'arrivée est","hotelroom.pick_your_departure_in_the_calendar":"Sélectionnez une date de départ","hotelroom.you_picked_departure_date":"Votre date de départ est","hotelroom.pick_your_arrivaldate_in_the_calendar":"Choisissez une date d'arrivée","house_boat.you_picked_arrival_date":"Votre date pick-up est","house_boat.pick_your_departure_in_the_calendar":"Sélectionnez une date de retour","house_boat.you_picked_departure_date":"Votre date de retour est","house_boat.pick_your_arrivaldate_in_the_calendar":"Choisissez une date de pick-up",no:"Non",minimum_nights:"Au moins {minimum} nuits",can_only_take_insurance_in_de_be_nl:"Vous ne pouvez souscrire une assurance que si vous résidez aux Pays-Bas, en Allemagne ou en Belgique.",price_from:"Le prix de",reviews:"Critiques",reviews_note_link:"Le système de réservation BUKAZU conserve des avis indépendants. Ces avis sont recueillis après que les clients ont séjourné dans le logement. La combinaison du numéro de réservation et de l'adresse électronique est vérifiée."},es:{next:"Siguiente",previous:"Anterior",view_details:"Ver detalles",price:"Precio",calculate:"Próximo",book:"Reservar",booked:"Reservado",booking:"Reserva",last_minute_discount:"Descuento de ultimo minuto",option:"Opción",choose_for_option:"Tome una opción para este período",included_in_price:"Incluido",rent_price:"Precio de alquiler",discount:"Reducción",extra_costs_included:"Costes extras incluidos",optional_costs:"Opciones extra",price_after_discount:"Precio de alquiler con descuento.",booking_from_til:"Fechas de reserva",total:"Total",stay_details:"Grupo de viaje",babies:"Numero de bebes",babies_from:"(hasta {babies} años)",adults:"Numero de adultos",adults_from:"(a partir de {age} años)","camper_spot.arrival_date":"Fecha de llegada","camper_spot.departure_date":"Fecha de salida","camper_spot.arrival":"Llegada","camper_spot.departure":"Salida","camping_place.arrival_date":"Fecha de llegada","camping_place.departure_date":"Fecha de salida","camping_place.arrival":"Llegada","camping_place.departure":"Salida","bnb.arrival_date":"Fecha de llegada","bnb.departure_date":"Fecha de salida","bnb.arrival":"Llegada","bnb.departure":"Salida","hotelroom.arrival_date":"Fecha de llegada","hotelroom.departure_date":"Fecha de salida","hotelroom.arrival":"Llegada","hotelroom.departure":"Salida",children:"Numero de niños",children_from:"(de {from} a {til} años)","house.arrival_date":"Fecha de llegada","house.departure_date":"Fecha de salida","house.arrival":"llegada","house.departure":"Salida","group_accommodation.arrival_date":"Fecha de llegada","group_accommodation.departure_date":"Fecha de salida","group_accommodation.arrival":"llegada","group_accommodation.departure":"Salida","tent.arrival_date":"Fecha de llegada","tent.departure_date":"Fecha de salida","tent.arrival":"llegada","tent.departure":"Salida",extra_costs_bookable:"Opciones extra",costs_on_site:"Costos adicionales en el lugar:",insurances:"Insurances",at_least_1_adult:"Elige al menos 1 adulto.",max_persons_reached:"Demasiadas personas han sido seleccionadas.",personal_details:"Tus datos",required:"Este campo es requerido.",cancel_insurance_all_risk:"All Risk",cancel_insurance_normal:"Standard",none:"None",cancel_insurance:"Cancellation insurance",insurance_costs:"Insurance Costs",choose:"Choose",yes:"Yes",booking_details:"Detalles de la reserva",based_on_one_person:"Basado en {persons} personas",return_to_calendar:"Volver al calendario",close:"Cerrar",cancel_insurance_normal_long:"Short-term Cancellation Insurance ",cancel_insurance_normal_desc:"If you booked a wonderful holiday, cancellation insurance should not be missing! Your booked holiday cannot continue, or you have to go home unexpectedly halfway through the holiday due to, for example, a severe illness. The cancellation insurance of RecreatieVerzekeringen is ideal because it applies before departure and during your holiday.",cancel_insurance_more_insured:"More are insured than you think.",cancel_insurance_more_insured_desc:"Did you know that you can rely on cancellation insurance during pregnancy, a new job, or divorce? Many people expect cancellation insurance to be valid only in the event of illness or death.",cancel_insurance_important:"Important",cancel_insurance_important_message:"For optimal cancellation insurance coverage, you must take it out within seven days after booking the holiday.",cancel_insurance_for_whom:"For whom?",cancel_insurance_for_whom_explain:"This insurance is for a maximum of 4 families or 9 travel companions (no family members).",cancel_insurance_questions:"Frequently Asked Questions",cancel_insurance_questions_explain_1:"Click ",cancel_insurance_questions_explain_link:"here",cancel_insurance_questions_explain_2:" to find the Frequently Asked Questions.",show_terms:"Show conditions",terms:"Terms",remark:"Observación","9persons_9addresses":"The Insurance will pay for up to 9 persons, who live at 9 different addresses,",or:"or","9persons_4addresses":"The insurance pays out for an unlimited number of people who live at a maximum of 4 different addresses.",poliscosts:"Policy fee",poliscosts_are:"The cost for an insurance policy is a one-time charge of € 6,95. No matter if you have one or two insuran",youwillrecieve:"You will receive the insurance terms separate from you booking confirmation per email. The insurance starts as soon as the (first) payment has been made.",thank_you_for_your_request:"Muchas gracias por su solicitud.",we_sent_confirmation_check_email:"Se ha enviado una copia de su solicitud a su dirección de correo electrónico. Si no ha recibido ningún correo de nuestra parte, es posible que esté en su buzón de correo no deseado.",something_went_wrong_please_try_again:"Vaya, algo salió mal, inténtalo de nuevo más tarde.",persons:"personas",bedrooms:"dormitorios",minimum_week_price:"min. precio semanal",no_results:"Sin resultados",agree_with:'Al hacer clic en "Reservar" se crea una obligación de pago cuando se acepta mi reserva. Acepto ',option_is_free:"Esta opción es gratuita",discount_reason:"Razón de descuento.",results:"resultados",bathrooms:"baños",you_need_to_give_reason:"Vous devez indiquer un motif de réduction valide","camper.arrival_date":"Fecha de recogida","camper.departure_date":"Fecha de regreso","camper.arrival":"Recoger","camper.departure":"Entregar","boat.arrival_date":"Fecha de recogida","boat.departure_date":"Fecha de regreso","boat.arrival":"Recoger","boat.departure":"Entregar","caravan.arrival_date":"Fecha de llegada","caravan.departure_date":"Fecha de salida","caravan.arrival":"llegada","caravan.departure":"Salida",filters:"Filtros",comply_insurance_card:"Estoy de acuerdo en que la tarjeta de seguro de cancelación será emitida digitalmente para mí. Recibo esto con mi confirmación de reserva.","house.you_picked_arrival_date":"Su fecha de llegada es","house.pick_your_departure_in_the_calendar":"Seleccione una fecha de salida","house.you_picked_departure_date":"Su fecha de salida es","house.pick_your_arrivaldate_in_the_calendar":"Elija una fecha de llegada","group_accommodation.you_picked_arrival_date":"Su fecha de llegada es","group_accommodation.pick_your_departure_in_the_calendar":"Seleccione una fecha de salida","group_accommodation.you_picked_departure_date":"Su fecha de salida es","group_accommodation.pick_your_arrivaldate_in_the_calendar":"Elija una fecha de llegada","tent.you_picked_arrival_date":"Su fecha de llegada es","tent.pick_your_departure_in_the_calendar":"Seleccione una fecha de salida","tent.you_picked_departure_date":"Su fecha de salida es","tent.pick_your_arrivaldate_in_the_calendar":"Elija una fecha de llegada","camper.you_picked_arrival_date":"Su fecha de recogida es","camper.pick_your_departure_in_the_calendar":"Seleccione una fecha de regreso","camper.you_picked_departure_date":"Su fecha de retorno es","camper.pick_your_arrivaldate_in_the_calendar":"Elija una fecha de recogida","boat.you_picked_arrival_date":"Your pickup date is","boat.pick_your_departure_in_the_calendar":"Select a return date","boat.you_picked_departure_date":"Your return date is","boat.pick_your_arrivaldate_in_the_calendar":"Choose a pickup date","bnb.you_picked_arrival_date":"Su fecha de llegada es","bnb.pick_your_departure_in_the_calendar":"Seleccione una fecha de salida","bnb.you_picked_departure_date":"Su fecha de salida es","bnb.pick_your_arrivaldate_in_the_calendar":"Elija una fecha de llegada","caravan.you_picked_arrival_date":"Su fecha de recogida es","caravan.pick_your_departure_in_the_calendar":"Seleccione una fecha de regreso","caravan.you_picked_departure_date":"Su fecha de retorno es","caravan.pick_your_arrivaldate_in_the_calendar":"Elija una fecha de recogida","camper_spot.you_picked_arrival_date":"Su fecha de llegada es","camper_spot.pick_your_departure_in_the_calendar":"Seleccione una fecha de salida","camper_spot.you_picked_departure_date":"Su fecha de salida es","camper_spot.pick_your_arrivaldate_in_the_calendar":"Elija una fecha de llegada","camping_place.you_picked_arrival_date":"Su fecha de llegada es","camping_place.pick_your_departure_in_the_calendar":"Seleccione una fecha de salida","camping_place.you_picked_departure_date":"Su fecha de salida es","camping_place.pick_your_arrivaldate_in_the_calendar":"Elija una fecha de llegada","hotelroom.you_picked_arrival_date":"Su fecha de llegada es","hotelroom.pick_your_departure_in_the_calendar":"Seleccione una fecha de salida","hotelroom.you_picked_departure_date":"Su fecha de salida es","hotelroom.pick_your_arrivaldate_in_the_calendar":"Elija una fecha de llegada","house_boat.you_picked_arrival_date":"Su fecha de recogida es","house_boat.pick_your_departure_in_the_calendar":"Seleccione una fecha de regreso","house_boat.you_picked_departure_date":"Su fecha de retorno es","house_boat.pick_your_arrivaldate_in_the_calendar":"Elija una fecha de recogida",no:"No",minimum_nights:"Al menos {minimum} noches",can_only_take_insurance_in_de_be_nl:"Solo puede contratar un seguro si vive en los Países Bajos, Alemania o Bélgica.",price_from:"Precio de",reviews:"Comentarios",reviews_note_link:"BUKAZU Booking System mantiene opiniones independientes. Estas opiniones se recogen después de la estancia de los huéspedes en el alojamiento. Se verifica la combinación del número de reserva y la dirección de correo electrónico."},it:{next:"Prossimo",previous:"Precedente",view_details:"Visualizza dettagli",price:"Prezzo",calculate:"Prossimo",book:"Prenotare",booked:"Prenotato",booking:"Prenotazione",last_minute_discount:"Sconto last minute",option:"Opzione",choose_for_option:"Prendi un'opzione per questo periodo",included_in_price:"compreso",rent_price:"Prezzo di affitto",discount:"Riduzione",extra_costs_included:"Costi aggiuntivi inclusi",optional_costs:"Opzioni extra",price_after_discount:"Prezzo di affitto incluso sconto",booking_from_til:"Date di prenotazione",total:"Total",stay_details:"Gruppo di viaggio",babies:"Numero di bambini",babies_from:"(fino a {babies} anni)",adults:"Numero di adulti",adults_from:"(dai {age} anni)","camper_spot.arrival_date":"Data di arrivo","camper_spot.departure_date":"Data di partenza","camper_spot.arrival":"Arrivo","camper_spot.departure":"Partenza","camping_place.arrival_date":"Data di arrivo","camping_place.departure_date":"Data di partenza","camping_place.arrival":"Arrivo","camping_place.departure":"Partenza","bnb.arrival_date":"Data di arrivo","bnb.departure_date":"Data di partenza","bnb.arrival":"Arrivo","bnb.departure":"Partenza","hotelroom.arrival_date":"Data di arrivo","hotelroom.departure_date":"Data di partenza","hotelroom.arrival":"Arrivo","hotelroom.departure":"Partenza",children:"Numero di bambini",children_from:"(da {from} a {til} anni)","house.arrival_date":"Data di arrivo","house.departure_date":"Data di partenza","house.arrival":"Arrivo","house.departure":"Partenza","tent.arrival_date":"Data di arrivo","tent.departure_date":"Data di partenza","tent.arrival":"Arrivo","tent.departure":"Partenza",extra_costs_bookable:"Opzioni extra",costs_on_site:"Possibili costi aggiuntivi sul posto:",insurances:"Insurances",at_least_1_adult:"Scegli almeno 1 adulto.",max_persons_reached:"Sono state selezionate troppe persone.",personal_details:"I tuoi dati",required:"Questo campo è obbligatorio.",cancel_insurance_all_risk:"All Risk",cancel_insurance_normal:"Standard",none:"None",cancel_insurance:"Cancellation insurance",insurance_costs:"Insurance Costs",choose:"Choose",yes:"Yes",booking_details:"Dettagli della prenotazione",based_on_one_person:"Basato su {persons} persone",return_to_calendar:"Ritorna al calendario",close:"Vicino",cancel_insurance_normal_long:"Short-term Cancellation Insurance ",cancel_insurance_normal_desc:"If you booked a wonderful holiday, cancellation insurance should not be missing! Your booked holiday cannot continue, or you have to go home unexpectedly halfway through the holiday due to, for example, a severe illness. The cancellation insurance of RecreatieVerzekeringen is ideal because it applies before departure and during your holiday.",cancel_insurance_more_insured:"More are insured than you think.",cancel_insurance_more_insured_desc:"Did you know that you can rely on cancellation insurance during pregnancy, a new job, or divorce? Many people expect cancellation insurance to be valid only in the event of illness or death.",cancel_insurance_important:"Important",cancel_insurance_important_message:"For optimal cancellation insurance coverage, you must take it out within seven days after booking the holiday.",cancel_insurance_for_whom:"For whom?",cancel_insurance_for_whom_explain:"This insurance is for a maximum of 4 families or 9 travel companions (no family members).",cancel_insurance_questions:"Frequently Asked Questions",cancel_insurance_questions_explain_1:"Click ",cancel_insurance_questions_explain_link:"here",cancel_insurance_questions_explain_2:" to find the Frequently Asked Questions.",show_terms:"Show conditions",terms:"Terms",remark:"Osservazione","9persons_9addresses":"The Insurance will pay for up to 9 persons, who live at 9 different addresses,",or:"or","9persons_4addresses":"The insurance pays out for an unlimited number of people who live at a maximum of 4 different addresses.",poliscosts:"Policy fee",poliscosts_are:"The cost for an insurance policy is a one-time charge of € 6,95. No matter if you have one or two insuran",youwillrecieve:"You will receive the insurance terms separate from you booking confirmation per email. The insurance starts as soon as the (first) payment has been made.",thank_you_for_your_request:"Grazie mille per la tua richiesta.",we_sent_confirmation_check_email:"Una copia della tua richiesta è stata inviata al tuo indirizzo e-mail. Se non hai ricevuto alcuna posta da noi, potrebbe essere che sia nella tua casella di spam.",something_went_wrong_please_try_again:"Oops, qualcosa è andato storto, ti preghiamo di riprovare più tardi.",persons:"persone",bedrooms:"camere da letto",minimum_week_price:"prezzo settimanale minimo",no_results:"Nessun risultato",agree_with:'Facendo clic su "Prenota" si crea un obbligo di pagamento quando la mia prenotazione viene accettata. Accetto i termini e le ',option_is_free:" L'opzione è gratuita e senza impegno",discount_reason:"Sconto di ragione.",results:"risultati",bathrooms:"bagni",you_need_to_give_reason:"Devi indicare un motivo di sconto valido","camper.arrival_date":"Data di ritiro","camper.departure_date":"Data di ritorno","camper.arrival":"Pick up","camper.departure":"Mano dentro","boat.arrival_date":"Data di ritiro","boat.departure_date":"Data di ritorno","boat.arrival":"Pick up","boat.departure":"Mano dentro","caravan.arrival_date":"Data di arrivo","caravan.departure_date":"Data di partenza","caravan.arrival":"Arrivo","caravan.departure":"Partenza",filters:"Filtri",comply_insurance_card:"Sono d'accordo che la carta di assicurazione di annullamento verrà emessa in digitale. Lo ricevo con la mia conferma di prenotazione.","house.you_picked_arrival_date":"La vostra data di arrivo è","house.pick_your_departure_in_the_calendar":"Selezionare una data di partenza","house.you_picked_departure_date":"La data di partenza è","house.pick_your_arrivaldate_in_the_calendar":"Scegliere una data di arrivo","group_accommodation.you_picked_arrival_date":"La vostra data di arrivo è","group_accommodation.pick_your_departure_in_the_calendar":"Selezionare una data di partenza","group_accommodation.you_picked_departure_date":"La data di partenza è","group_accommodation.pick_your_arrivaldate_in_the_calendar":"Scegliere una data di arrivo","tent.you_picked_arrival_date":"La vostra data di arrivo è","tent.pick_your_departure_in_the_calendar":"Selezionare una data di partenza","tent.you_picked_departure_date":"La data di partenza è","tent.pick_your_arrivaldate_in_the_calendar":"Scegliere una data di arrivo","camper.you_picked_arrival_date":"La vostra data di ritiro è","camper.pick_your_departure_in_the_calendar":"Seleziona una data di ritorno","camper.you_picked_departure_date":"La data di ritorno è","camper.pick_your_arrivaldate_in_the_calendar":"Scegli una data di ritiro","boat.you_picked_arrival_date":"Your pickup date is","boat.pick_your_departure_in_the_calendar":"Select a return date","boat.you_picked_departure_date":"Your return date is","boat.pick_your_arrivaldate_in_the_calendar":"Choose a pickup date","bnb.you_picked_arrival_date":"La vostra data di arrivo è","bnb.pick_your_departure_in_the_calendar":"Selezionare una data di partenza","bnb.you_picked_departure_date":"La data di partenza è","bnb.pick_your_arrivaldate_in_the_calendar":"Scegliere una data di arrivo","caravan.you_picked_arrival_date":"La vostra data di ritiro è","caravan.pick_your_departure_in_the_calendar":"Seleziona una data di ritorno","caravan.you_picked_departure_date":"La data di ritorno è","caravan.pick_your_arrivaldate_in_the_calendar":"Scegli una data di ritiro","camper_spot.you_picked_arrival_date":"La vostra data di arrivo è","camper_spot.pick_your_departure_in_the_calendar":"Selezionare una data di partenza","camper_spot.you_picked_departure_date":"La data di partenza è","camper_spot.pick_your_arrivaldate_in_the_calendar":"Scegliere una data di arrivo","camping_place.you_picked_arrival_date":"La vostra data di arrivo è","camping_place.pick_your_departure_in_the_calendar":"Selezionare una data di partenza","camping_place.you_picked_departure_date":"La data di partenza è","camping_place.pick_your_arrivaldate_in_the_calendar":"Scegliere una data di arrivo","hotelroom.you_picked_arrival_date":"La vostra data di arrivo è","hotelroom.pick_your_departure_in_the_calendar":"Selezionare una data di partenza","hotelroom.you_picked_departure_date":"La data di partenza è","hotelroom.pick_your_arrivaldate_in_the_calendar":"Scegliere una data di arrivo","house_boat.you_picked_arrival_date":"La vostra data di ritiro è","house_boat.pick_your_departure_in_the_calendar":"Seleziona una data di ritorno","house_boat.you_picked_departure_date":"La data di ritorno è","house_boat.pick_your_arrivaldate_in_the_calendar":"Scegli una data di ritiro",no:"No",minimum_nights:"Almeno {minimum} notti",can_only_take_insurance_in_de_be_nl:"Puoi stipulare un'assicurazione solo se vivi nei Paesi Bassi, in Germania o in Belgio.",price_from:"Prezzo da",reviews:"Recensioni",reviews_note_link:"Il sistema di prenotazione BUKAZU mantiene recensioni indipendenti. Queste recensioni vengono raccolte dopo il soggiorno degli ospiti nella struttura. Viene verificata la combinazione di numero di prenotazione e indirizzo e-mail."}};function $s(e,t){const n="undefined"!=typeof window&&window.__localeId__||"en";let a=(qs[n]||qs.en)[e]||e;return t&&Object.entries(t).forEach(([e,t])=>{a=a.replace(new RegExp(`\\{${e}\\}`,"g"),String(t))}),a}function Bs(e,t){const n="undefined"!=typeof window&&window.__localeId__||"en";return new Intl.NumberFormat(n,t).format(e)}function Vs({filters:t,onFilterChange:n,PortalSite:a,options:r}){function i(e,a){let r=t;r[e]=a,n(r)}const[o,s]=e.useState(!1),c=r.searchFields||Cs;let u=r.filtersForm&&r.filtersForm.fixedMobile?"fixed-mobile":null,d=r.filtersForm?r.filtersForm.show?`filters filters-${r.filtersForm.location}`:"filters-hidden":"filters",p=o&&"showOnMobile";return l.jsxs(l.Fragment,{children:[l.jsx("button",{className:`filters-button ${u}`,onClick:()=>s(!o),children:$s("filters")}),l.jsxs("div",{className:`${d} ${u} ${p}`,children:[l.jsx("button",{onClick:()=>{let e={};for(var t in e)e[t]="";n(e)},className:"filters-reload",children:l.jsx(Rs,{})}),c.map(e=>l.jsxs("div",{className:"bu-field",id:e.id,children:[l.jsx("label",{style:{width:"100%",display:"block"},htmlFor:e.id,children:a[`${e.id}_label`]}),l.jsx(Ps,{field:e,PortalSite:a,filters:t,value:t[e.id],onFilterChange:i})]},e.id))]})]})}const Us=6048e5,Ws=Symbol.for("constructDateFrom");function Qs(e,t){return"function"==typeof e?e(t):e&&"object"==typeof e&&Ws in e?e[Ws](t):e instanceof Date?new e.constructor(t):new Date(t)}function Gs(e,t){return Qs(t||e,e)}function Hs(e,t,n){const a=Gs(e,n?.in);return isNaN(t)?Qs(n?.in||e,NaN):t?(a.setDate(a.getDate()+t),a):a}function Ks(e,t,n){const a=Gs(e,n?.in);if(isNaN(t))return Qs(e,NaN);if(!t)return a;const r=a.getDate(),i=Qs(e,a.getTime());i.setMonth(a.getMonth()+t+1,0);return r>=i.getDate()?i:(a.setFullYear(i.getFullYear(),i.getMonth(),r),a)}let Ys={};function Js(){return Ys}function Xs(e,t){const n=Js(),a=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,r=Gs(e,t?.in),i=r.getDay(),o=(i<a?7:0)+i-a;return r.setDate(r.getDate()-o),r.setHours(0,0,0,0),r}function Zs(e,t){return Xs(e,{...t,weekStartsOn:1})}function ec(e,t){const n=Gs(e,t?.in),a=n.getFullYear(),r=Qs(n,0);r.setFullYear(a+1,0,4),r.setHours(0,0,0,0);const i=Zs(r),o=Qs(n,0);o.setFullYear(a,0,4),o.setHours(0,0,0,0);const s=Zs(o);return n.getTime()>=i.getTime()?a+1:n.getTime()>=s.getTime()?a:a-1}function tc(e){const t=Gs(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function nc(e,...t){const n=Qs.bind(null,e||t.find(e=>"object"==typeof e));return t.map(n)}function ac(e,t){const n=Gs(e,t?.in);return n.setHours(0,0,0,0),n}function rc(e,t,n){const[a,r]=nc(n?.in,e,t),i=ac(a),o=ac(r),s=+i-tc(i),c=+o-tc(o);return Math.round((s-c)/864e5)}function ic(e,t,n){const[a,r]=nc(n?.in,e,t);return+ac(a)===+ac(r)}function oc(e){return!(!((t=e)instanceof Date||"object"==typeof t&&"[object Date]"===Object.prototype.toString.call(t))&&"number"!=typeof e||isNaN(+Gs(e)));var t}function sc(e,t){const n=Gs(e,t?.in),a=n.getMonth();return n.setFullYear(n.getFullYear(),a+1,0),n.setHours(23,59,59,999),n}function cc(e,t){const n=Gs(e,t?.in);return n.setDate(1),n.setHours(0,0,0,0),n}function uc(e,t){const n=Js(),a=n.weekStartsOn??n.locale?.options?.weekStartsOn??0,r=Gs(e,t?.in),i=r.getDay(),o=6+(i<a?-7:0)-(i-a);return r.setDate(r.getDate()+o),r.setHours(23,59,59,999),r}const lc={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},dc=(e,t,n)=>{let a;const r=lc[e];return a="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"in "+a:a+" ago":a};function pc(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const hc={date:pc({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:pc({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:pc({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},mc={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},fc=(e,t,n,a)=>mc[e];function vc(e){return(t,n)=>{let a;if("formatting"===(n?.context?String(n.context):"standalone")&&e.formattingValues){const t=e.defaultFormattingWidth||e.defaultWidth,r=n?.width?String(n.width):t;a=e.formattingValues[r]||e.formattingValues[t]}else{const t=e.defaultWidth,r=n?.width?String(n.width):e.defaultWidth;a=e.values[r]||e.values[t]}return a[e.argumentCallback?e.argumentCallback(t):t]}}const _c={ordinalNumber:(e,t)=>{const n=Number(e),a=n%100;if(a>20||a<10)switch(a%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:vc({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:vc({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:vc({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:vc({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:vc({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})};function gc(e){return(t,n={})=>{const a=n.width,r=a&&e.matchPatterns[a]||e.matchPatterns[e.defaultMatchWidth],i=t.match(r);if(!i)return null;const o=i[0],s=a&&e.parsePatterns[a]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(s)?function(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n;return}(s,e=>e.test(o)):function(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n;return}(s,e=>e.test(o));let u;u=e.valueCallback?e.valueCallback(c):c,u=n.valueCallback?n.valueCallback(u):u;return{value:u,rest:t.slice(o.length)}}}function yc(e){return(t,n={})=>{const a=t.match(e.matchPattern);if(!a)return null;const r=a[0],i=t.match(e.parsePattern);if(!i)return null;let o=e.valueCallback?e.valueCallback(i[0]):i[0];o=n.valueCallback?n.valueCallback(o):o;return{value:o,rest:t.slice(r.length)}}}const bc={ordinalNumber:yc({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:gc({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:gc({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:gc({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:gc({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:gc({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},kc={code:"en-US",formatDistance:dc,formatLong:hc,formatRelative:fc,localize:_c,match:bc,options:{weekStartsOn:0,firstWeekContainsDate:1}};function wc(e,t){const n=Gs(e,t?.in),a=rc(n,function(e,t){const n=Gs(e,t?.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}(n));return a+1}function xc(e,t){const n=Gs(e,t?.in),a=+Zs(n)-+function(e,t){const n=ec(e,t),a=Qs(e,0);return a.setFullYear(n,0,4),a.setHours(0,0,0,0),Zs(a)}(n);return Math.round(a/Us)+1}function Sc(e,t){const n=Gs(e,t?.in),a=n.getFullYear(),r=Js(),i=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,o=Qs(t?.in||e,0);o.setFullYear(a+1,0,i),o.setHours(0,0,0,0);const s=Xs(o,t),c=Qs(t?.in||e,0);c.setFullYear(a,0,i),c.setHours(0,0,0,0);const u=Xs(c,t);return+n>=+s?a+1:+n>=+u?a:a-1}function Ec(e,t){const n=Gs(e,t?.in),a=+Xs(n,t)-+function(e,t){const n=Js(),a=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,r=Sc(e,t),i=Qs(t?.in||e,0);return i.setFullYear(r,0,a),i.setHours(0,0,0,0),Xs(i,t)}(n,t);return Math.round(a/Us)+1}function jc(e,t){return(e<0?"-":"")+Math.abs(e).toString().padStart(t,"0")}const Tc={y(e,t){const n=e.getFullYear(),a=n>0?n:1-n;return jc("yy"===t?a%100:a,t.length)},M(e,t){const n=e.getMonth();return"M"===t?String(n+1):jc(n+1,2)},d:(e,t)=>jc(e.getDate(),t.length),a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:(e,t)=>jc(e.getHours()%12||12,t.length),H:(e,t)=>jc(e.getHours(),t.length),m:(e,t)=>jc(e.getMinutes(),t.length),s:(e,t)=>jc(e.getSeconds(),t.length),S(e,t){const n=t.length,a=e.getMilliseconds();return jc(Math.trunc(a*Math.pow(10,n-3)),t.length)}},Oc="midnight",Cc="noon",Nc="morning",Mc="afternoon",Dc="evening",Ac="night",Ic={G:function(e,t,n){const a=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(a,{width:"abbreviated"});case"GGGGG":return n.era(a,{width:"narrow"});default:return n.era(a,{width:"wide"})}},y:function(e,t,n){if("yo"===t){const t=e.getFullYear(),a=t>0?t:1-t;return n.ordinalNumber(a,{unit:"year"})}return Tc.y(e,t)},Y:function(e,t,n,a){const r=Sc(e,a),i=r>0?r:1-r;if("YY"===t){return jc(i%100,2)}return"Yo"===t?n.ordinalNumber(i,{unit:"year"}):jc(i,t.length)},R:function(e,t){return jc(ec(e),t.length)},u:function(e,t){return jc(e.getFullYear(),t.length)},Q:function(e,t,n){const a=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(a);case"QQ":return jc(a,2);case"Qo":return n.ordinalNumber(a,{unit:"quarter"});case"QQQ":return n.quarter(a,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(a,{width:"narrow",context:"formatting"});default:return n.quarter(a,{width:"wide",context:"formatting"})}},q:function(e,t,n){const a=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(a);case"qq":return jc(a,2);case"qo":return n.ordinalNumber(a,{unit:"quarter"});case"qqq":return n.quarter(a,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(a,{width:"narrow",context:"standalone"});default:return n.quarter(a,{width:"wide",context:"standalone"})}},M:function(e,t,n){const a=e.getMonth();switch(t){case"M":case"MM":return Tc.M(e,t);case"Mo":return n.ordinalNumber(a+1,{unit:"month"});case"MMM":return n.month(a,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(a,{width:"narrow",context:"formatting"});default:return n.month(a,{width:"wide",context:"formatting"})}},L:function(e,t,n){const a=e.getMonth();switch(t){case"L":return String(a+1);case"LL":return jc(a+1,2);case"Lo":return n.ordinalNumber(a+1,{unit:"month"});case"LLL":return n.month(a,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(a,{width:"narrow",context:"standalone"});default:return n.month(a,{width:"wide",context:"standalone"})}},w:function(e,t,n,a){const r=Ec(e,a);return"wo"===t?n.ordinalNumber(r,{unit:"week"}):jc(r,t.length)},I:function(e,t,n){const a=xc(e);return"Io"===t?n.ordinalNumber(a,{unit:"week"}):jc(a,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getDate(),{unit:"date"}):Tc.d(e,t)},D:function(e,t,n){const a=wc(e);return"Do"===t?n.ordinalNumber(a,{unit:"dayOfYear"}):jc(a,t.length)},E:function(e,t,n){const a=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(a,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(a,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(a,{width:"short",context:"formatting"});default:return n.day(a,{width:"wide",context:"formatting"})}},e:function(e,t,n,a){const r=e.getDay(),i=(r-a.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return jc(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},c:function(e,t,n,a){const r=e.getDay(),i=(r-a.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return jc(i,t.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(r,{width:"narrow",context:"standalone"});case"cccccc":return n.day(r,{width:"short",context:"standalone"});default:return n.day(r,{width:"wide",context:"standalone"})}},i:function(e,t,n){const a=e.getDay(),r=0===a?7:a;switch(t){case"i":return String(r);case"ii":return jc(r,t.length);case"io":return n.ordinalNumber(r,{unit:"day"});case"iii":return n.day(a,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(a,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(a,{width:"short",context:"formatting"});default:return n.day(a,{width:"wide",context:"formatting"})}},a:function(e,t,n){const a=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(a,{width:"narrow",context:"formatting"});default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},b:function(e,t,n){const a=e.getHours();let r;switch(r=12===a?Cc:0===a?Oc:a/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){const a=e.getHours();let r;switch(r=a>=17?Dc:a>=12?Mc:a>=4?Nc:Ac,t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),n.ordinalNumber(t,{unit:"hour"})}return Tc.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getHours(),{unit:"hour"}):Tc.H(e,t)},K:function(e,t,n){const a=e.getHours()%12;return"Ko"===t?n.ordinalNumber(a,{unit:"hour"}):jc(a,t.length)},k:function(e,t,n){let a=e.getHours();return 0===a&&(a=24),"ko"===t?n.ordinalNumber(a,{unit:"hour"}):jc(a,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):Tc.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getSeconds(),{unit:"second"}):Tc.s(e,t)},S:function(e,t){return Tc.S(e,t)},X:function(e,t,n){const a=e.getTimezoneOffset();if(0===a)return"Z";switch(t){case"X":return Rc(a);case"XXXX":case"XX":return Fc(a);default:return Fc(a,":")}},x:function(e,t,n){const a=e.getTimezoneOffset();switch(t){case"x":return Rc(a);case"xxxx":case"xx":return Fc(a);default:return Fc(a,":")}},O:function(e,t,n){const a=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Pc(a,":");default:return"GMT"+Fc(a,":")}},z:function(e,t,n){const a=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Pc(a,":");default:return"GMT"+Fc(a,":")}},t:function(e,t,n){return jc(Math.trunc(+e/1e3),t.length)},T:function(e,t,n){return jc(+e,t.length)}};function Pc(e,t=""){const n=e>0?"-":"+",a=Math.abs(e),r=Math.trunc(a/60),i=a%60;return 0===i?n+String(r):n+String(r)+t+jc(i,2)}function Rc(e,t){if(e%60==0){return(e>0?"-":"+")+jc(Math.abs(e)/60,2)}return Fc(e,t)}function Fc(e,t=""){const n=e>0?"-":"+",a=Math.abs(e);return n+jc(Math.trunc(a/60),2)+t+jc(a%60,2)}const zc=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},Lc=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},qc={p:Lc,P:(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],a=n[1],r=n[2];if(!r)return zc(e,t);let i;switch(a){case"P":i=t.dateTime({width:"short"});break;case"PP":i=t.dateTime({width:"medium"});break;case"PPP":i=t.dateTime({width:"long"});break;default:i=t.dateTime({width:"full"})}return i.replace("{{date}}",zc(a,t)).replace("{{time}}",Lc(r,t))}},$c=/^D+$/,Bc=/^Y+$/,Vc=["D","DD","YY","YYYY"];function Uc(e){return $c.test(e)}function Wc(e){return Bc.test(e)}function Qc(e,t,n){const a=function(e,t,n){const a="Y"===e[0]?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${a} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}(e,t,n);if(Vc.includes(e))throw new RangeError(a)}const Gc=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Hc=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Kc=/^'([^]*?)'?$/,Yc=/''/g,Jc=/[a-zA-Z]/;function Xc(e,t,n){const a=Js(),r=n?.locale??a.locale??kc,i=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??a.firstWeekContainsDate??a.locale?.options?.firstWeekContainsDate??1,o=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??a.weekStartsOn??a.locale?.options?.weekStartsOn??0,s=Gs(e,n?.in);if(!oc(s))throw new RangeError("Invalid time value");let c=t.match(Hc).map(e=>{const t=e[0];if("p"===t||"P"===t){return(0,qc[t])(e,r.formatLong)}return e}).join("").match(Gc).map(e=>{if("''"===e)return{isToken:!1,value:"'"};const t=e[0];if("'"===t)return{isToken:!1,value:Zc(e)};if(Ic[t])return{isToken:!0,value:e};if(t.match(Jc))throw new RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}});r.localize.preprocessor&&(c=r.localize.preprocessor(s,c));const u={firstWeekContainsDate:i,weekStartsOn:o,locale:r};return c.map(a=>{if(!a.isToken)return a.value;const i=a.value;(!n?.useAdditionalWeekYearTokens&&Wc(i)||!n?.useAdditionalDayOfYearTokens&&Uc(i))&&Qc(i,t,String(e));return(0,Ic[i[0]])(s,i,r.localize,u)}).join("")}function Zc(e){const t=e.match(Kc);return t?t[1].replace(Yc,"'"):e}function eu(e,t){return+Gs(e)>+Gs(t)}function tu(e,t){return+Gs(e)<+Gs(t)}class nu{subPriority=0;validate(e,t){return!0}}class au extends nu{constructor(e,t,n,a,r){super(),this.value=e,this.validateValue=t,this.setValue=n,this.priority=a,r&&(this.subPriority=r)}validate(e,t){return this.validateValue(e,this.value,t)}set(e,t,n){return this.setValue(e,t,this.value,n)}}class ru extends nu{priority=10;subPriority=-1;constructor(e,t){super(),this.context=e||(e=>Qs(t,e))}set(e,t){return t.timestampIsSet?e:Qs(e,function(e,t){const n=function(e){return"function"==typeof e&&e.prototype?.constructor===e}(t)?new t(0):Qs(t,0);return n.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),n.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),n}(e,this.context))}}class iu{run(e,t,n,a){const r=this.parse(e,t,n,a);return r?{setter:new au(r.value,this.validate,this.set,this.priority,this.subPriority),rest:r.rest}:null}validate(e,t,n){return!0}}const ou=/^(1[0-2]|0?\d)/,su=/^(3[0-1]|[0-2]?\d)/,cu=/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,uu=/^(5[0-3]|[0-4]?\d)/,lu=/^(2[0-3]|[0-1]?\d)/,du=/^(2[0-4]|[0-1]?\d)/,pu=/^(1[0-1]|0?\d)/,hu=/^(1[0-2]|0?\d)/,mu=/^[0-5]?\d/,fu=/^[0-5]?\d/,vu=/^\d/,_u=/^\d{1,2}/,gu=/^\d{1,3}/,yu=/^\d{1,4}/,bu=/^-?\d+/,ku=/^-?\d/,wu=/^-?\d{1,2}/,xu=/^-?\d{1,3}/,Su=/^-?\d{1,4}/,Eu=/^([+-])(\d{2})(\d{2})?|Z/,ju=/^([+-])(\d{2})(\d{2})|Z/,Tu=/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,Ou=/^([+-])(\d{2}):(\d{2})|Z/,Cu=/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/;function Nu(e,t){return e?{value:t(e.value),rest:e.rest}:e}function Mu(e,t){const n=t.match(e);return n?{value:parseInt(n[0],10),rest:t.slice(n[0].length)}:null}function Du(e,t){const n=t.match(e);if(!n)return null;if("Z"===n[0])return{value:0,rest:t.slice(1)};return{value:("+"===n[1]?1:-1)*(36e5*(n[2]?parseInt(n[2],10):0)+6e4*(n[3]?parseInt(n[3],10):0)+1e3*(n[5]?parseInt(n[5],10):0)),rest:t.slice(n[0].length)}}function Au(e){return Mu(bu,e)}function Iu(e,t){switch(e){case 1:return Mu(vu,t);case 2:return Mu(_u,t);case 3:return Mu(gu,t);case 4:return Mu(yu,t);default:return Mu(new RegExp("^\\d{1,"+e+"}"),t)}}function Pu(e,t){switch(e){case 1:return Mu(ku,t);case 2:return Mu(wu,t);case 3:return Mu(xu,t);case 4:return Mu(Su,t);default:return Mu(new RegExp("^-?\\d{1,"+e+"}"),t)}}function Ru(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function Fu(e,t){const n=t>0,a=n?t:1-t;let r;if(a<=50)r=e||100;else{const t=a+50;r=e+100*Math.trunc(t/100)-(e>=t%100?100:0)}return n?r:1-r}function zu(e){return e%400==0||e%4==0&&e%100!=0}const Lu=[31,28,31,30,31,30,31,31,30,31,30,31],qu=[31,29,31,30,31,30,31,31,30,31,30,31];function $u(e,t,n){const a=Js(),r=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??a.weekStartsOn??a.locale?.options?.weekStartsOn??0,i=Gs(e,n?.in),o=i.getDay(),s=7-r;return Hs(i,t<0||t>6?t-(o+s)%7:((t%7+7)%7+s)%7-(o+s)%7,n)}function Bu(e,t,n){const a=Gs(e,n?.in),r=function(e,t){const n=Gs(e,t?.in).getDay();return 0===n?7:n}(a,n);return Hs(a,t-r,n)}const Vu={G:new class extends iu{priority=140;parse(e,t,n){switch(t){case"G":case"GG":case"GGG":return n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"});case"GGGGG":return n.era(e,{width:"narrow"});default:return n.era(e,{width:"wide"})||n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"})}}set(e,t,n){return t.era=n,e.setFullYear(n,0,1),e.setHours(0,0,0,0),e}incompatibleTokens=["R","u","t","T"]},y:new class extends iu{priority=130;incompatibleTokens=["Y","R","u","w","I","i","e","c","t","T"];parse(e,t,n){const a=e=>({year:e,isTwoDigitYear:"yy"===t});switch(t){case"y":return Nu(Iu(4,e),a);case"yo":return Nu(n.ordinalNumber(e,{unit:"year"}),a);default:return Nu(Iu(t.length,e),a)}}validate(e,t){return t.isTwoDigitYear||t.year>0}set(e,t,n){const a=e.getFullYear();if(n.isTwoDigitYear){const t=Fu(n.year,a);return e.setFullYear(t,0,1),e.setHours(0,0,0,0),e}const r="era"in t&&1!==t.era?1-n.year:n.year;return e.setFullYear(r,0,1),e.setHours(0,0,0,0),e}},Y:new class extends iu{priority=130;parse(e,t,n){const a=e=>({year:e,isTwoDigitYear:"YY"===t});switch(t){case"Y":return Nu(Iu(4,e),a);case"Yo":return Nu(n.ordinalNumber(e,{unit:"year"}),a);default:return Nu(Iu(t.length,e),a)}}validate(e,t){return t.isTwoDigitYear||t.year>0}set(e,t,n,a){const r=Sc(e,a);if(n.isTwoDigitYear){const t=Fu(n.year,r);return e.setFullYear(t,0,a.firstWeekContainsDate),e.setHours(0,0,0,0),Xs(e,a)}const i="era"in t&&1!==t.era?1-n.year:n.year;return e.setFullYear(i,0,a.firstWeekContainsDate),e.setHours(0,0,0,0),Xs(e,a)}incompatibleTokens=["y","R","u","Q","q","M","L","I","d","D","i","t","T"]},R:new class extends iu{priority=130;parse(e,t){return Pu("R"===t?4:t.length,e)}set(e,t,n){const a=Qs(e,0);return a.setFullYear(n,0,4),a.setHours(0,0,0,0),Zs(a)}incompatibleTokens=["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]},u:new class extends iu{priority=130;parse(e,t){return Pu("u"===t?4:t.length,e)}set(e,t,n){return e.setFullYear(n,0,1),e.setHours(0,0,0,0),e}incompatibleTokens=["G","y","Y","R","w","I","i","e","c","t","T"]},Q:new class extends iu{priority=120;parse(e,t,n){switch(t){case"Q":case"QQ":return Iu(t.length,e);case"Qo":return n.ordinalNumber(e,{unit:"quarter"});case"QQQ":return n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(e,{width:"narrow",context:"formatting"});default:return n.quarter(e,{width:"wide",context:"formatting"})||n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=1&&t<=4}set(e,t,n){return e.setMonth(3*(n-1),1),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]},q:new class extends iu{priority=120;parse(e,t,n){switch(t){case"q":case"qq":return Iu(t.length,e);case"qo":return n.ordinalNumber(e,{unit:"quarter"});case"qqq":return n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(e,{width:"narrow",context:"standalone"});default:return n.quarter(e,{width:"wide",context:"standalone"})||n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=1&&t<=4}set(e,t,n){return e.setMonth(3*(n-1),1),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]},M:new class extends iu{incompatibleTokens=["Y","R","q","Q","L","w","I","D","i","e","c","t","T"];priority=110;parse(e,t,n){const a=e=>e-1;switch(t){case"M":return Nu(Mu(ou,e),a);case"MM":return Nu(Iu(2,e),a);case"Mo":return Nu(n.ordinalNumber(e,{unit:"month"}),a);case"MMM":return n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(e,{width:"narrow",context:"formatting"});default:return n.month(e,{width:"wide",context:"formatting"})||n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.setMonth(n,1),e.setHours(0,0,0,0),e}},L:new class extends iu{priority=110;parse(e,t,n){const a=e=>e-1;switch(t){case"L":return Nu(Mu(ou,e),a);case"LL":return Nu(Iu(2,e),a);case"Lo":return Nu(n.ordinalNumber(e,{unit:"month"}),a);case"LLL":return n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(e,{width:"narrow",context:"standalone"});default:return n.month(e,{width:"wide",context:"standalone"})||n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.setMonth(n,1),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]},w:new class extends iu{priority=100;parse(e,t,n){switch(t){case"w":return Mu(uu,e);case"wo":return n.ordinalNumber(e,{unit:"week"});default:return Iu(t.length,e)}}validate(e,t){return t>=1&&t<=53}set(e,t,n,a){return Xs(function(e,t,n){const a=Gs(e,n?.in),r=Ec(a,n)-t;return a.setDate(a.getDate()-7*r),Gs(a,n?.in)}(e,n,a),a)}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","i","t","T"]},I:new class extends iu{priority=100;parse(e,t,n){switch(t){case"I":return Mu(uu,e);case"Io":return n.ordinalNumber(e,{unit:"week"});default:return Iu(t.length,e)}}validate(e,t){return t>=1&&t<=53}set(e,t,n){return Zs(function(e,t,n){const a=Gs(e,n?.in),r=xc(a,n)-t;return a.setDate(a.getDate()-7*r),a}(e,n))}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]},d:new class extends iu{priority=90;subPriority=1;parse(e,t,n){switch(t){case"d":return Mu(su,e);case"do":return n.ordinalNumber(e,{unit:"date"});default:return Iu(t.length,e)}}validate(e,t){const n=zu(e.getFullYear()),a=e.getMonth();return n?t>=1&&t<=qu[a]:t>=1&&t<=Lu[a]}set(e,t,n){return e.setDate(n),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","Q","w","I","D","i","e","c","t","T"]},D:new class extends iu{priority=90;subpriority=1;parse(e,t,n){switch(t){case"D":case"DD":return Mu(cu,e);case"Do":return n.ordinalNumber(e,{unit:"date"});default:return Iu(t.length,e)}}validate(e,t){return zu(e.getFullYear())?t>=1&&t<=366:t>=1&&t<=365}set(e,t,n){return e.setMonth(0,n),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]},E:new class extends iu{priority=90;parse(e,t,n){switch(t){case"E":case"EE":case"EEE":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,a){return(e=$u(e,n,a)).setHours(0,0,0,0),e}incompatibleTokens=["D","i","e","c","t","T"]},e:new class extends iu{priority=90;parse(e,t,n,a){const r=e=>{const t=7*Math.floor((e-1)/7);return(e+a.weekStartsOn+6)%7+t};switch(t){case"e":case"ee":return Nu(Iu(t.length,e),r);case"eo":return Nu(n.ordinalNumber(e,{unit:"day"}),r);case"eee":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"eeeee":return n.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,a){return(e=$u(e,n,a)).setHours(0,0,0,0),e}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]},c:new class extends iu{priority=90;parse(e,t,n,a){const r=e=>{const t=7*Math.floor((e-1)/7);return(e+a.weekStartsOn+6)%7+t};switch(t){case"c":case"cc":return Nu(Iu(t.length,e),r);case"co":return Nu(n.ordinalNumber(e,{unit:"day"}),r);case"ccc":return n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});case"ccccc":return n.day(e,{width:"narrow",context:"standalone"});case"cccccc":return n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});default:return n.day(e,{width:"wide",context:"standalone"})||n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,a){return(e=$u(e,n,a)).setHours(0,0,0,0),e}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]},i:new class extends iu{priority=90;parse(e,t,n){const a=e=>0===e?7:e;switch(t){case"i":case"ii":return Iu(t.length,e);case"io":return n.ordinalNumber(e,{unit:"day"});case"iii":return Nu(n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),a);case"iiiii":return Nu(n.day(e,{width:"narrow",context:"formatting"}),a);case"iiiiii":return Nu(n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),a);default:return Nu(n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),a)}}validate(e,t){return t>=1&&t<=7}set(e,t,n){return(e=Bu(e,n)).setHours(0,0,0,0),e}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]},a:new class extends iu{priority=80;parse(e,t,n){switch(t){case"a":case"aa":case"aaa":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours(Ru(n),0,0,0),e}incompatibleTokens=["b","B","H","k","t","T"]},b:new class extends iu{priority=80;parse(e,t,n){switch(t){case"b":case"bb":case"bbb":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours(Ru(n),0,0,0),e}incompatibleTokens=["a","B","H","k","t","T"]},B:new class extends iu{priority=80;parse(e,t,n){switch(t){case"B":case"BB":case"BBB":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours(Ru(n),0,0,0),e}incompatibleTokens=["a","b","t","T"]},h:new class extends iu{priority=70;parse(e,t,n){switch(t){case"h":return Mu(hu,e);case"ho":return n.ordinalNumber(e,{unit:"hour"});default:return Iu(t.length,e)}}validate(e,t){return t>=1&&t<=12}set(e,t,n){const a=e.getHours()>=12;return a&&n<12?e.setHours(n+12,0,0,0):a||12!==n?e.setHours(n,0,0,0):e.setHours(0,0,0,0),e}incompatibleTokens=["H","K","k","t","T"]},H:new class extends iu{priority=70;parse(e,t,n){switch(t){case"H":return Mu(lu,e);case"Ho":return n.ordinalNumber(e,{unit:"hour"});default:return Iu(t.length,e)}}validate(e,t){return t>=0&&t<=23}set(e,t,n){return e.setHours(n,0,0,0),e}incompatibleTokens=["a","b","h","K","k","t","T"]},K:new class extends iu{priority=70;parse(e,t,n){switch(t){case"K":return Mu(pu,e);case"Ko":return n.ordinalNumber(e,{unit:"hour"});default:return Iu(t.length,e)}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.getHours()>=12&&n<12?e.setHours(n+12,0,0,0):e.setHours(n,0,0,0),e}incompatibleTokens=["h","H","k","t","T"]},k:new class extends iu{priority=70;parse(e,t,n){switch(t){case"k":return Mu(du,e);case"ko":return n.ordinalNumber(e,{unit:"hour"});default:return Iu(t.length,e)}}validate(e,t){return t>=1&&t<=24}set(e,t,n){const a=n<=24?n%24:n;return e.setHours(a,0,0,0),e}incompatibleTokens=["a","b","h","H","K","t","T"]},m:new class extends iu{priority=60;parse(e,t,n){switch(t){case"m":return Mu(mu,e);case"mo":return n.ordinalNumber(e,{unit:"minute"});default:return Iu(t.length,e)}}validate(e,t){return t>=0&&t<=59}set(e,t,n){return e.setMinutes(n,0,0),e}incompatibleTokens=["t","T"]},s:new class extends iu{priority=50;parse(e,t,n){switch(t){case"s":return Mu(fu,e);case"so":return n.ordinalNumber(e,{unit:"second"});default:return Iu(t.length,e)}}validate(e,t){return t>=0&&t<=59}set(e,t,n){return e.setSeconds(n,0),e}incompatibleTokens=["t","T"]},S:new class extends iu{priority=30;parse(e,t){return Nu(Iu(t.length,e),e=>Math.trunc(e*Math.pow(10,3-t.length)))}set(e,t,n){return e.setMilliseconds(n),e}incompatibleTokens=["t","T"]},X:new class extends iu{priority=10;parse(e,t){switch(t){case"X":return Du(Eu,e);case"XX":return Du(ju,e);case"XXXX":return Du(Tu,e);case"XXXXX":return Du(Cu,e);default:return Du(Ou,e)}}set(e,t,n){return t.timestampIsSet?e:Qs(e,e.getTime()-tc(e)-n)}incompatibleTokens=["t","T","x"]},x:new class extends iu{priority=10;parse(e,t){switch(t){case"x":return Du(Eu,e);case"xx":return Du(ju,e);case"xxxx":return Du(Tu,e);case"xxxxx":return Du(Cu,e);default:return Du(Ou,e)}}set(e,t,n){return t.timestampIsSet?e:Qs(e,e.getTime()-tc(e)-n)}incompatibleTokens=["t","T","X"]},t:new class extends iu{priority=40;parse(e){return Au(e)}set(e,t,n){return[Qs(e,1e3*n),{timestampIsSet:!0}]}incompatibleTokens="*"},T:new class extends iu{priority=20;parse(e){return Au(e)}set(e,t,n){return[Qs(e,n),{timestampIsSet:!0}]}incompatibleTokens="*"}},Uu=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Wu=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Qu=/^'([^]*?)'?$/,Gu=/''/g,Hu=/\S/,Ku=/[a-zA-Z]/;function Yu(e,t,n,a){const r=()=>Qs(n,NaN),i=Object.assign({},Js()),o=i.locale??kc,s={firstWeekContainsDate:i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,weekStartsOn:i.weekStartsOn??i.locale?.options?.weekStartsOn??0,locale:o},c=[new ru(a?.in,n)],u=t.match(Wu).map(e=>{const t=e[0];if(t in qc){return(0,qc[t])(e,o.formatLong)}return e}).join("").match(Uu),l=[];for(let m of u){Wc(m)&&Qc(m,t,e),Uc(m)&&Qc(m,t,e);const n=m[0],a=Vu[n];if(a){const{incompatibleTokens:t}=a;if(Array.isArray(t)){const e=l.find(e=>t.includes(e.token)||e.token===n);if(e)throw new RangeError(`The format string mustn't contain \`${e.fullToken}\` and \`${m}\` at the same time`)}else if("*"===a.incompatibleTokens&&l.length>0)throw new RangeError(`The format string mustn't contain \`${m}\` and any other token at the same time`);l.push({token:n,fullToken:m});const i=a.run(e,m,o.match,s);if(!i)return r();c.push(i.setter),e=i.rest}else{if(n.match(Ku))throw new RangeError("Format string contains an unescaped latin alphabet character `"+n+"`");if("''"===m?m="'":"'"===n&&(m=Ju(m)),0!==e.indexOf(m))return r();e=e.slice(m.length)}}if(e.length>0&&Hu.test(e))return r();const d=c.map(e=>e.priority).sort((e,t)=>t-e).filter((e,t,n)=>n.indexOf(e)===t).map(e=>c.filter(t=>t.priority===e).sort((e,t)=>t.subPriority-e.subPriority)).map(e=>e[0]);let p=Gs(n,a?.in);if(isNaN(+p))return r();const h={};for(const m of d){if(!m.validate(p,s))return r();const e=m.set(p,h,s);Array.isArray(e)?(p=e[0],Object.assign(h,e[1])):p=e}return p}function Ju(e){return e.match(Qu)[1].replace(Gu,"'")}function Xu(e,t,n){const[a,r]=nc(n?.in,e,t);return+Xs(a,n)===+Xs(r,n)}function Zu(e,t,n){return Hs(e,-1,n)}function el(e,t,n){return function(e,t,n){return Ks(e,12*t,n)}(e,-18,n)}function tl({result:e,options:t}){let n=t||{};return l.jsx("a",{className:"bukazu-result bu_card",href:e.house_url,children:l.jsxs("div",{className:"bukazu-result-inner",children:[l.jsx("div",{className:"image-holder",children:l.jsx("img",{src:e.image_url,alt:e.name})}),l.jsxs("div",{className:"result",children:[l.jsx("div",{className:"result-title",children:e.name}),l.jsxs("div",{className:"result-place",children:[n.showCity&&l.jsxs("span",{children:[e.city,", "]}),n.showRegion&&l.jsxs("span",{children:[e.province,", "]}),n.showCountry&&l.jsx("span",{children:e.country_name})]}),l.jsx("div",{className:"result-description",dangerouslySetInnerHTML:{__html:e.description}}),l.jsxs("div",{className:"result-details",children:[n.showPersons&&l.jsxs("div",{children:[e.persons," ",$s("persons")]}),n.showBedrooms&&l.jsxs("div",{children:[e.bedrooms," ",$s("bedrooms")]}),n.showBathrooms&&l.jsxs("div",{children:[e.bathrooms," ",$s("bathrooms")]})]}),n.showRating&&e.rating&&l.jsx("div",{className:"result-rating bu_card",children:l.jsx("div",{className:"result-rating-inner",children:e.rating.toFixed(1)})}),n.showPrice&&l.jsx("div",{className:"result-price",children:e.booking_price?l.jsxs(l.Fragment,{children:[$s("price_from"),l.jsxs("span",{className:"price",children:["€"," ",Bs(e.booking_price.total_price,{minimumFractionDigits:0,maximumFractionDigits:0})]})]}):l.jsxs(l.Fragment,{children:[$s("minimum_week_price"),l.jsxs("span",{className:"price",children:["€"," ",Bs(e.minimum_week_price,{minimumFractionDigits:0,maximumFractionDigits:0})]})]})}),l.jsx("div",{className:"result-button",children:$s("view_details")})]})]})})}function nl({onPageChange:e,variables:t,activePage:n,limit:a}){const{loading:r,error:i,data:o}=ts(ws,{variables:t});if(r)return l.jsx("div",{style:{width:"100%",display:"flex",justifyContent:"center"},children:l.jsx(d,{})});if(i)return l.jsx("div",{children:"Error"});const s=o.PortalSite.houses,c=a>0?Math.ceil(s.length/a):0,u=function(e,t){if(t<=7)return Array.from({length:t},(e,t)=>t);const n=Math.floor(2.5);let a=Math.max(1,e-n),r=a+5-1;r>=t-1&&(r=t-2,a=r-5+1);const i=[0];a>1&&i.push("...");for(let o=a;o<=r;o++)i.push(o);return r<t-2&&i.push("..."),i.push(t-1),i}(n,c);return l.jsxs("div",{className:"bu-paginator",children:[l.jsxs("div",{children:[s.length," ",$s("results")]}),c>1&&l.jsxs("ul",{className:"bu-pagination",children:[l.jsx("li",{className:0===n?"disabled":"",children:l.jsx("button",{disabled:0===n,onClick:()=>e(n-1),"aria-label":$s("previous"),children:"<"})}),u.map((t,a)=>"..."===t?l.jsx("li",{children:l.jsx("span",{"aria-label":"More pages",children:"..."})},`break-${a}`):l.jsx("li",{className:t===n?"selected":"",children:l.jsx("button",{"data-page-button":!0,onClick:()=>e(t),"aria-current":t===n?"page":void 0,children:t+1})},t)),l.jsx("li",{className:n===c-1?"disabled":"",children:l.jsx("button",{disabled:n===c-1,onClick:()=>e(n+1),"aria-label":$s("next"),children:">"})})]})]})}function al({children:t,buttonText:n,show:a=!1}){const[r,i]=e.useState(a);return r?l.jsx("div",{className:"bukazu-modal-container",children:l.jsxs("div",{className:"bukazu-modal-container-inner",children:[l.jsx("div",{className:"bukazu-modal-escape",onClick:()=>i(!1)}),l.jsxs("div",{className:"bukazu-modal",children:[l.jsx("div",{className:"bukazu-modal-content",children:t}),l.jsx("div",{className:"bukazu-modal-footer",children:l.jsx("a",{onClick:()=>i(!1),children:$s("close")})})]})]})}):l.jsx("a",{className:"info-button",onClick:()=>i(!0),children:n})}const rl="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,il=globalThis,ol="10.45.0";function sl(){return cl(il),il}function cl(e){const t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||ol,t[ol]=t[ol]||{}}function ul(e,t,n=il){const a=n.__SENTRY__=n.__SENTRY__||{},r=a[ol]=a[ol]||{};return r[e]||(r[e]=t())}const ll=["debug","info","warn","error","log","assert","trace"],dl={};function pl(e){if(!("console"in il))return e();const t=il.console,n={},a=Object.keys(dl);a.forEach(e=>{const a=dl[e];n[e]=t[e],t[e]=a});try{return e()}finally{a.forEach(e=>{t[e]=n[e]})}}function hl(){return fl().enabled}function ml(e,...t){rl&&hl()&&pl(()=>{il.console[e](`Sentry Logger [${e}]:`,...t)})}function fl(){return rl?ul("loggerSettings",()=>({enabled:!1})):{enabled:!1}}const vl={enable:function(){fl().enabled=!0},disable:function(){fl().enabled=!1},isEnabled:hl,log:function(...e){ml("log",...e)},warn:function(...e){ml("warn",...e)},error:function(...e){ml("error",...e)}},_l="?",gl=/\(error: (.*)\)/,yl=/captureMessage|captureException/;function bl(...e){const t=e.sort((e,t)=>e[0]-t[0]).map(e=>e[1]);return(e,n=0,a=0)=>{const r=[],i=e.split("\n");for(let o=n;o<i.length;o++){let e=i[o];e.length>1024&&(e=e.slice(0,1024));const n=gl.test(e)?e.replace(gl,"$1"):e;if(!n.match(/\S*Error: /)){for(const e of t){const t=e(n);if(t){r.push(t);break}}if(r.length>=50+a)break}}return function(e){if(!e.length)return[];const t=Array.from(e);/sentryWrapped/.test(kl(t).function||"")&&t.pop();t.reverse(),yl.test(kl(t).function||"")&&(t.pop(),yl.test(kl(t).function||"")&&t.pop());return t.slice(0,50).map(e=>({...e,filename:e.filename||kl(t).filename,function:e.function||_l}))}(r.slice(a))}}function kl(e){return e[e.length-1]||{}}const wl="<anonymous>";function xl(e){try{return e&&"function"==typeof e&&e.name||wl}catch{return wl}}function Sl(e){const t=e.exception;if(t){const e=[];try{return t.values.forEach(t=>{t.stacktrace.frames&&e.push(...t.stacktrace.frames)}),e}catch{return}}}function El(e){return"__v_isVNode"in e&&e.__v_isVNode?"[VueVNode]":"[VueViewModel]"}const jl={},Tl={};function Ol(e,t){jl[e]=jl[e]||[],jl[e].push(t)}function Cl(e,t){if(!Tl[e]){Tl[e]=!0;try{t()}catch(n){rl&&vl.error(`Error while instrumenting ${e}`,n)}}}function Nl(e,t){const n=e&&jl[e];if(n)for(const r of n)try{r(t)}catch(a){rl&&vl.error(`Error while triggering instrumentation handler.\nType: ${e}\nName: ${xl(r)}\nError:`,a)}}let Ml=null;function Dl(){Ml=il.onerror,il.onerror=function(e,t,n,a,r){return Nl("error",{column:a,error:r,line:n,msg:e,url:t}),!!Ml&&Ml.apply(this,arguments)},il.onerror.__SENTRY_INSTRUMENTED__=!0}let Al=null;function Il(){Al=il.onunhandledrejection,il.onunhandledrejection=function(e){return Nl("unhandledrejection",e),!Al||Al.apply(this,arguments)},il.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}const Pl=Object.prototype.toString;function Rl(e){switch(Pl.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return Ql(e,Error)}}function Fl(e,t){return Pl.call(e)===`[object ${t}]`}function zl(e){return Fl(e,"ErrorEvent")}function Ll(e){return Fl(e,"DOMError")}function ql(e){return Fl(e,"String")}function $l(e){return"object"==typeof e&&null!==e&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function Bl(e){return null===e||$l(e)||"object"!=typeof e&&"function"!=typeof e}function Vl(e){return Fl(e,"Object")}function Ul(e){return"undefined"!=typeof Event&&Ql(e,Event)}function Wl(e){return Boolean(e?.then&&"function"==typeof e.then)}function Ql(e,t){try{return e instanceof t}catch{return!1}}function Gl(e){return!("object"!=typeof e||null===e||!(e.__isVue||e._isVue||e.__v_isVNode))}function Hl(e){return"undefined"!=typeof Request&&Ql(e,Request)}const Kl=il;function Yl(e,t={}){if(!e)return"<unknown>";try{let n=e;const a=5,r=[];let i=0,o=0;const s=" > ",c=s.length;let u;const l=Array.isArray(t)?t:t.keyAttrs,d=!Array.isArray(t)&&t.maxStringLength||80;for(;n&&i++<a&&(u=Jl(n,l),!("html"===u||i>1&&o+r.length*c+u.length>=d));)r.push(u),o+=u.length,n=n.parentNode;return r.reverse().join(s)}catch{return"<unknown>"}}function Jl(e,t){const n=e,a=[];if(!n?.tagName)return"";if(Kl.HTMLElement&&n instanceof HTMLElement&&n.dataset){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}a.push(n.tagName.toLowerCase());const r=t?.length?t.filter(e=>n.getAttribute(e)).map(e=>[e,n.getAttribute(e)]):null;if(r?.length)r.forEach(e=>{a.push(`[${e[0]}="${e[1]}"]`)});else{n.id&&a.push(`#${n.id}`);const e=n.className;if(e&&ql(e)){const t=e.split(/\s+/);for(const e of t)a.push(`.${e}`)}}for(const i of["aria-label","type","name","title","alt"]){const e=n.getAttribute(i);e&&a.push(`[${i}="${e}"]`)}return a.join("")}function Xl(){try{return Kl.document.location.href}catch{return""}}function Zl(e,t,n){if(!(t in e))return;const a=e[t];if("function"!=typeof a)return;const r=n(a);"function"==typeof r&&td(r,a);try{e[t]=r}catch{rl&&vl.log(`Failed to replace method "${t}" in object`,e)}}function ed(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch{rl&&vl.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function td(e,t){try{const n=t.prototype||{};e.prototype=t.prototype=n,ed(e,"__sentry_original__",t)}catch{}}function nd(e){return e.__sentry_original__}function ad(e){if(Rl(e))return{message:e.message,name:e.name,stack:e.stack,...id(e)};if(Ul(e)){const t={type:e.type,target:rd(e.target),currentTarget:rd(e.currentTarget),...id(e)};return"undefined"!=typeof CustomEvent&&Ql(e,CustomEvent)&&(t.detail=e.detail),t}return e}function rd(e){try{return t=e,"undefined"!=typeof Element&&Ql(t,Element)?Yl(e):Object.prototype.toString.call(e)}catch{return"<unknown>"}var t}function id(e){return"object"==typeof e&&null!==e?Object.fromEntries(Object.entries(e)):{}}let od,sd;function cd(e){if(void 0!==od)return od?od(e):e();const t=Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__"),n=il;return t in n&&"function"==typeof n[t]?(od=n[t],od(e)):(od=null,e())}function ud(){return cd(()=>Math.random())}function ld(){return cd(()=>Date.now())}function dd(e,t=0){return"string"!=typeof e||0===t||e.length<=t?e:`${e.slice(0,t)}...`}function pd(e,t){if(!Array.isArray(e))return"";const n=[];for(let a=0;a<e.length;a++){const t=e[a];try{Gl(t)?n.push(El(t)):n.push(String(t))}catch{n.push("[value cannot be serialized]")}}return n.join(t)}function hd(e,t,n=!1){return!!ql(e)&&(Fl(t,"RegExp")?t.test(e):!!ql(t)&&(n?e===t:e.includes(t)))}function md(e,t=[],n=!1){return t.some(t=>hd(e,t,n))}function fd(e=function(){const e=il;return e.crypto||e.msCrypto}()){try{if(e?.randomUUID)return cd(()=>e.randomUUID()).replace(/-/g,"")}catch{}return sd||(sd="10000000100040008000100000000000"),sd.replace(/[018]/g,e=>(e^(16*ud()&15)>>e/4).toString(16))}function vd(e){return e.exception?.values?.[0]}function _d(e){const{message:t,event_id:n}=e;if(t)return t;const a=vd(e);return a?a.type&&a.value?`${a.type}: ${a.value}`:a.type||a.value||n||"<unknown>":n||"<unknown>"}function gd(e,t,n){const a=e.exception=e.exception||{},r=a.values=a.values||[],i=r[0]=r[0]||{};i.value||(i.value=t||""),i.type||(i.type="Error")}function yd(e,t){const n=vd(e);if(!n)return;const a=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...a,...t},t&&"data"in t){const e={...a?.data,...t.data};n.mechanism.data=e}}function bd(e){if(function(e){try{return e.__sentry_captured__}catch{}}(e))return!0;try{ed(e,"__sentry_captured__",!0)}catch{}return!1}function kd(){return ld()/1e3}let wd;function xd(){return(wd??(wd=function(){const{performance:e}=il;if(!e?.now||!e.timeOrigin)return kd;const t=e.timeOrigin;return()=>(t+cd(()=>e.now()))/1e3}()))()}function Sd(e){const t=xd(),n={sid:fd(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function(e){return{sid:`${e.sid}`,init:e.init,started:new Date(1e3*e.started).toISOString(),timestamp:new Date(1e3*e.timestamp).toISOString(),status:e.status,errors:e.errors,did:"number"==typeof e.did||"string"==typeof e.did?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}}}(n)};return e&&Ed(n,e),n}function Ed(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),e.did||t.did||(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||xd(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:fd()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),"number"==typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"==typeof t.duration)e.duration=t.duration;else{const t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"==typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}function jd(e,t,n=2){if(!t||"object"!=typeof t||n<=0)return t;if(e&&0===Object.keys(t).length)return e;const a={...e};for(const r in t)Object.prototype.hasOwnProperty.call(t,r)&&(a[r]=jd(a[r],t[r],n-1));return a}function Td(){return fd()}function Od(){return fd().substring(16)}const Cd="_sentrySpan";function Nd(e,t){t?ed(e,Cd,t):delete e[Cd]}function Md(e){return e[Cd]}class Dd{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._attributes={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:Td(),sampleRand:ud()}}clone(){const e=new Dd;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._attributes={...this._attributes},e._extra={...this._extra},e._contexts={...this._contexts},this._contexts.flags&&(e._contexts.flags={values:[...this._contexts.flags.values]}),e._user=this._user,e._level=this._level,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e._lastEventId=this._lastEventId,e._conversationId=this._conversationId,Nd(e,Md(this)),e}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&Ed(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}setConversationId(e){return this._conversationId=e||void 0,this._notifyScopeListeners(),this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this.setTags({[e]:t})}setAttributes(e){return this._attributes={...this._attributes,...e},this._notifyScopeListeners(),this}setAttribute(e,t){return this.setAttributes({[e]:t})}removeAttribute(e){return e in this._attributes&&(delete this._attributes[e],this._notifyScopeListeners()),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return null===t?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;const t="function"==typeof e?e(this):e,n=t instanceof Dd?t.getScopeData():Vl(t)?e:void 0,{tags:a,attributes:r,extra:i,user:o,contexts:s,level:c,fingerprint:u=[],propagationContext:l,conversationId:d}=n||{};return this._tags={...this._tags,...a},this._attributes={...this._attributes,...r},this._extra={...this._extra,...i},this._contexts={...this._contexts,...s},o&&Object.keys(o).length&&(this._user=o),c&&(this._level=c),u.length&&(this._fingerprint=u),l&&(this._propagationContext=l),d&&(this._conversationId=d),this}clear(){return this._breadcrumbs=[],this._tags={},this._attributes={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,this._conversationId=void 0,Nd(this,void 0),this._attachments=[],this.setPropagationContext({traceId:Td(),sampleRand:ud()}),this._notifyScopeListeners(),this}addBreadcrumb(e,t){const n="number"==typeof t?t:100;if(n<=0)return this;const a={timestamp:kd(),...e,message:e.message?dd(e.message,2048):e.message};return this._breadcrumbs.push(a),this._breadcrumbs.length>n&&(this._breadcrumbs=this._breadcrumbs.slice(-n),this._client?.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,attributes:this._attributes,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:Md(this),conversationId:this._conversationId}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata=jd(this._sdkProcessingMetadata,e,2),this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,t){const n=t?.event_id||fd();if(!this._client)return rl&&vl.warn("No client configured on scope - will not capture exception!"),n;const a=new Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:a,...t,event_id:n},this),n}captureMessage(e,t,n){const a=n?.event_id||fd();if(!this._client)return rl&&vl.warn("No client configured on scope - will not capture message!"),a;const r=n?.syntheticException??new Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:r,...n,event_id:a},this),a}captureEvent(e,t){const n=e.event_id||t?.event_id||fd();return this._client?(this._client.captureEvent(e,{...t,event_id:n},this),n):(rl&&vl.warn("No client configured on scope - will not capture event!"),n)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(e=>{e(this)}),this._notifyingListeners=!1)}}class Ad{constructor(e,t){let n,a;n=e||new Dd,a=t||new Dd,this._stack=[{scope:n}],this._isolationScope=a}withScope(e){const t=this._pushScope();let n;try{n=e(t)}catch(a){throw this._popScope(),a}return Wl(n)?n.then(e=>(this._popScope(),e),e=>{throw this._popScope(),e}):(this._popScope(),n)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const e=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:e}),e}_popScope(){return!(this._stack.length<=1)&&!!this._stack.pop()}}function Id(){const e=cl(sl());return e.stack=e.stack||new Ad(ul("defaultCurrentScope",()=>new Dd),ul("defaultIsolationScope",()=>new Dd))}function Pd(e){return Id().withScope(e)}function Rd(e,t){const n=Id();return n.withScope(()=>(n.getStackTop().scope=e,t(e)))}function Fd(e){return Id().withScope(()=>e(Id().getIsolationScope()))}function zd(e){const t=cl(e);return t.acs?t.acs:{withIsolationScope:Fd,withScope:Pd,withSetScope:Rd,withSetIsolationScope:(e,t)=>Fd(t),getCurrentScope:()=>Id().getScope(),getIsolationScope:()=>Id().getIsolationScope()}}function Ld(){return zd(sl()).getCurrentScope()}function qd(){return zd(sl()).getIsolationScope()}function $d(){return Ld().getClient()}function Bd(e){const t=e.getPropagationContext(),{traceId:n,parentSpanId:a,propagationSpanId:r}=t,i={trace_id:n,span_id:r||Od()};return a&&(i.parent_span_id=a),i}const Vd="sentry.profile_id",Ud="sentry.exclusive_time";function Wd(e){if(e){if("object"==typeof e&&"deref"in e&&"function"==typeof e.deref)try{return e.deref()}catch{return}return e}}function Qd(e){const t=e;return{scope:t._sentryScope,isolationScope:Wd(t._sentryIsolationScope)}}const Gd="sentry-";function Hd(e){const t=function(e){if(!e||!ql(e)&&!Array.isArray(e))return;if(Array.isArray(e))return e.reduce((e,t)=>{const n=Kd(t);return Object.entries(n).forEach(([t,n])=>{e[t]=n}),e},{});return Kd(e)}(e);if(!t)return;const n=Object.entries(t).reduce((e,[t,n])=>{if(t.startsWith(Gd)){e[t.slice(7)]=n}return e},{});return Object.keys(n).length>0?n:void 0}function Kd(e){return e.split(",").map(e=>{const t=e.indexOf("=");if(-1===t)return[];return[e.slice(0,t),e.slice(t+1)].map(e=>{try{return decodeURIComponent(e.trim())}catch{return}})}).reduce((e,[t,n])=>(t&&n&&(e[t]=n),e),{})}const Yd=/^o(\d+)\./,Jd=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function Xd(e,t=!1){const{host:n,path:a,pass:r,port:i,projectId:o,protocol:s,publicKey:c}=e;return`${s}://${c}${t&&r?`:${r}`:""}@${n}${i?`:${i}`:""}/${a?`${a}/`:a}${o}`}function Zd(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function ep(e){const t=e.getOptions(),{host:n}=e.getDsn()||{};let a;return t.orgId?a=String(t.orgId):n&&(a=function(e){const t=e.match(Yd);return t?.[1]}(n)),a}function tp(e){const t="string"==typeof e?function(e){const t=Jd.exec(e);if(!t)return void pl(()=>{});const[n,a,r="",i="",o="",s=""]=t.slice(1);let c="",u=s;const l=u.split("/");if(l.length>1&&(c=l.slice(0,-1).join("/"),u=l.pop()),u){const e=u.match(/^\d+/);e&&(u=e[0])}return Zd({host:i,pass:r,path:c,projectId:u,port:o,protocol:n,publicKey:a})}(e):Zd(e);if(t&&function(e){if(!rl)return!0;const{port:t,projectId:n,protocol:a}=e;return!(["protocol","publicKey","host","projectId"].find(t=>!e[t]&&(vl.error(`Invalid Sentry Dsn: ${t} missing`),!0))||(n.match(/^\d+$/)?function(e){return"http"===e||"https"===e}(a)?t&&isNaN(parseInt(t,10))&&(vl.error(`Invalid Sentry Dsn: Invalid port ${t}`),1):(vl.error(`Invalid Sentry Dsn: Invalid protocol ${a}`),1):(vl.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),1)))}(t))return t}let np=!1;function ap(e){const{spanId:t,traceId:n,isRemote:a}=e.spanContext(),r=a?t:sp(e).parent_span_id,i=Qd(e).scope;return{parent_span_id:r,span_id:a?i?.getPropagationContext().propagationSpanId||Od():t,trace_id:n}}function rp(e){return e&&e.length>0?e.map(({context:{spanId:e,traceId:t,traceFlags:n,...a},attributes:r})=>({span_id:e,trace_id:t,sampled:1===n,attributes:r,...a})):void 0}function ip(e){return"number"==typeof e?op(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?op(e.getTime()):xd()}function op(e){return e>9999999999?e/1e3:e}function sp(e){if(function(e){return"function"==typeof e.getSpanJSON}(e))return e.getSpanJSON();const{spanId:t,traceId:n}=e.spanContext();if(function(e){const t=e;return!!(t.attributes&&t.startTime&&t.name&&t.endTime&&t.status)}(e)){const{attributes:a,startTime:r,name:i,endTime:o,status:s,links:c}=e;return{span_id:t,trace_id:n,data:a,description:i,parent_span_id:"parentSpanId"in e?e.parentSpanId:"parentSpanContext"in e?e.parentSpanContext?.spanId:void 0,start_timestamp:ip(r),timestamp:ip(o)||void 0,status:cp(s),op:a["sentry.op"],origin:a["sentry.origin"],links:rp(c)}}return{span_id:t,trace_id:n,start_timestamp:0,data:{}}}function cp(e){if(e&&0!==e.code)return 1===e.code?"ok":e.message||"internal_error"}function up(e){return e._sentryRootSpan||e}function lp(){np||(pl(()=>{}),np=!0)}function dp(e){vl.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`)}function pp(e,t){if(!t?.length||!e.description)return!1;for(const n of t){if(mp(n)){if(hd(e.description,n))return rl&&dp(e),!0;continue}if(!n.name&&!n.op)continue;const t=!n.name||hd(e.description,n.name),a=!n.op||e.op&&hd(e.op,n.op);if(t&&a)return rl&&dp(e),!0}return!1}function hp(e,t){const n=t.parent_span_id,a=t.span_id;if(n)for(const r of e)r.parent_span_id===a&&(r.parent_span_id=n)}function mp(e){return"string"==typeof e||e instanceof RegExp}const fp="production";function vp(e,t){const n=t.getOptions(),{publicKey:a}=t.getDsn()||{},r={environment:n.environment||fp,release:n.release,public_key:a,trace_id:e,org_id:ep(t)};return t.emit("createDsc",r),r}function _p(e){const t=$d();if(!t)return{};const n=up(e),a=sp(n),r=a.data,i=n.spanContext().traceState,o=i?.get("sentry.sample_rate")??r["sentry.sample_rate"]??r["sentry.previous_trace_sample_rate"];function s(e){return"number"!=typeof o&&"string"!=typeof o||(e.sample_rate=`${o}`),e}const c=n._frozenDsc;if(c)return s(c);const u=i?.get("sentry.dsc"),l=u&&Hd(u);if(l)return s(l);const d=vp(e.spanContext().traceId,t),p=r["sentry.source"],h=a.description;return"url"!==p&&h&&(d.transaction=h),function(){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;const e=$d()?.getOptions();return!(!e||null==e.tracesSampleRate&&!e.tracesSampler)}()&&(d.sampled=String(function(e){const{traceFlags:t}=e.spanContext();return 1===t}(n)),d.sample_rand=i?.get("sentry.sample_rand")??Qd(n).scope?.getPropagationContext().sampleRand.toString()),s(d),t.emit("createDsc",d,n),d}function gp(e,t=100,n=1/0){try{return bp("",e,t,n)}catch(a){return{ERROR:`**non-serializable** (${a})`}}}function yp(e,t=3,n=102400){const a=gp(e,t);return r=a,function(e){return~-encodeURI(e).split(/%..|./).length}(JSON.stringify(r))>n?yp(e,t-1,n):a;var r}function bp(e,t,n=1/0,a=1/0,r=function(){const e=new WeakSet;function t(t){return!!e.has(t)||(e.add(t),!1)}function n(t){e.delete(t)}return[t,n]}()){const[i,o]=r;if(null==t||["boolean","string"].includes(typeof t)||"number"==typeof t&&Number.isFinite(t))return t;const s=function(e,t){try{if("domain"===e&&t&&"object"==typeof t&&t._events)return"[Domain]";if("domainEmitter"===e)return"[DomainEmitter]";if("undefined"!=typeof global&&t===global)return"[Global]";if("undefined"!=typeof window&&t===window)return"[Window]";if("undefined"!=typeof document&&t===document)return"[Document]";if(Gl(t))return El(t);if(Vl(n=t)&&"nativeEvent"in n&&"preventDefault"in n&&"stopPropagation"in n)return"[SyntheticEvent]";if("number"==typeof t&&!Number.isFinite(t))return`[${t}]`;if("function"==typeof t)return`[Function: ${xl(t)}]`;if("symbol"==typeof t)return`[${String(t)}]`;if("bigint"==typeof t)return`[BigInt: ${String(t)}]`;const a=function(e){const t=Object.getPrototypeOf(e);return t?.constructor?t.constructor.name:"null prototype"}(t);return/^HTML(\w*)Element$/.test(a)?`[HTMLElement: ${a}]`:`[object ${a}]`}catch(a){return`**non-serializable** (${a})`}var n}(e,t);if(!s.startsWith("[object "))return s;if(t.__sentry_skip_normalization__)return t;const c="number"==typeof t.__sentry_override_normalization_depth__?t.__sentry_override_normalization_depth__:n;if(0===c)return s.replace("object ","");if(i(t))return"[Circular ~]";const u=t;if(u&&"function"==typeof u.toJSON)try{return bp("",u.toJSON(),c-1,a,r)}catch{}const l=Array.isArray(t)?[]:{};let d=0;const p=ad(t);for(const h in p){if(!Object.prototype.hasOwnProperty.call(p,h))continue;if(d>=a){l[h]="[MaxProperties ~]";break}const e=p[h];l[h]=bp(h,e,c-1,a,r),d++}return o(t),l}function kp(e,t=[]){return[e,t]}function wp(e,t){const[n,a]=e;return[n,[...a,t]]}function xp(e,t){const n=e[1];for(const a of n){if(t(a,a[0].type))return!0}return!1}function Sp(e){const t=cl(il);return t.encodePolyfill?t.encodePolyfill(e):(new TextEncoder).encode(e)}function Ep(e){const[t,n]=e;let a=JSON.stringify(t);function r(e){"string"==typeof a?a="string"==typeof e?a+e:[Sp(a),e]:a.push("string"==typeof e?Sp(e):e)}for(const i of n){const[e,t]=i;if(r(`\n${JSON.stringify(e)}\n`),"string"==typeof t||t instanceof Uint8Array)r(t);else{let e;try{e=JSON.stringify(t)}catch{e=JSON.stringify(gp(t))}r(e)}}return"string"==typeof a?a:function(e){const t=e.reduce((e,t)=>e+t.length,0),n=new Uint8Array(t);let a=0;for(const r of e)n.set(r,a),a+=r.length;return n}(a)}function jp(e){const t="string"==typeof e.data?Sp(e.data):e.data;return[{type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType},t]}const Tp={sessions:"session",event:"error",client_report:"internal",user_report:"default",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",raw_security:"security",log:"log_item",trace_metric:"metric"};function Op(e){return function(e){return e in Tp}(e)?Tp[e]:e}function Cp(e){if(!e?.sdk)return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}function Np(e,t,n,a){const r=Cp(n),i=e.type&&"replay_event"!==e.type?e.type:"event";!function(e,t){if(!t)return e;const n=e.sdk||{};e.sdk={...n,name:n.name||t.name,version:n.version||t.version,integrations:[...e.sdk?.integrations||[],...t.integrations||[]],packages:[...e.sdk?.packages||[],...t.packages||[]],settings:e.sdk?.settings||t.settings?{...e.sdk?.settings,...t.settings}:void 0}}(e,n?.sdk);const o=function(e,t,n,a){const r=e.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:e.event_id,sent_at:(new Date).toISOString(),...t&&{sdk:t},...!!n&&a&&{dsn:Xd(a)},...r&&{trace:r}}}(e,r,a,t);delete e.sdkProcessingMetadata;return kp(o,[[{type:i},e]])}function Mp(e){return new Ap(t=>{t(e)})}function Dp(e){return new Ap((t,n)=>{n(e)})}class Ap{constructor(e){this._state=0,this._handlers=[],this._runExecutor(e)}then(e,t){return new Ap((n,a)=>{this._handlers.push([!1,t=>{if(e)try{n(e(t))}catch(r){a(r)}else n(t)},e=>{if(t)try{n(t(e))}catch(r){a(r)}else a(e)}]),this._executeHandlers()})}catch(e){return this.then(e=>e,e)}finally(e){return new Ap((t,n)=>{let a,r;return this.then(t=>{r=!1,a=t,e&&e()},t=>{r=!0,a=t,e&&e()}).then(()=>{r?n(a):t(a)})})}_executeHandlers(){if(0===this._state)return;const e=this._handlers.slice();this._handlers=[],e.forEach(e=>{e[0]||(1===this._state&&e[1](this._value),2===this._state&&e[2](this._value),e[0]=!0)})}_runExecutor(e){const t=(e,t)=>{0===this._state&&(Wl(t)?t.then(n,a):(this._state=e,this._value=t,this._executeHandlers()))},n=e=>{t(1,e)},a=e=>{t(2,e)};try{e(n,a)}catch(r){a(r)}}}function Ip(e,t,n,a=0){try{const r=Pp(t,n,e,a);return Wl(r)?r:Mp(r)}catch(r){return Dp(r)}}function Pp(e,t,n,a){const r=n[a];if(!e||!r)return e;const i=r({...e},t);return rl&&null===i&&vl.log(`Event processor "${r.id||"?"}" dropped event`),Wl(i)?i.then(e=>Pp(e,t,n,a+1)):Pp(i,t,n,a+1)}let Rp,Fp,zp,Lp;function qp(e,t){const{fingerprint:n,span:a,breadcrumbs:r,sdkProcessingMetadata:i}=t;!function(e,t){const{extra:n,tags:a,user:r,contexts:i,level:o,transactionName:s}=t;Object.keys(n).length&&(e.extra={...n,...e.extra});Object.keys(a).length&&(e.tags={...a,...e.tags});Object.keys(r).length&&(e.user={...r,...e.user});Object.keys(i).length&&(e.contexts={...i,...e.contexts});o&&(e.level=o);s&&"transaction"!==e.type&&(e.transaction=s)}(e,t),a&&function(e,t){e.contexts={trace:ap(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:_p(t),...e.sdkProcessingMetadata};const n=up(t),a=sp(n).description;a&&!e.transaction&&"transaction"===e.type&&(e.transaction=a)}(e,a),function(e,t){e.fingerprint=e.fingerprint?Array.isArray(e.fingerprint)?e.fingerprint:[e.fingerprint]:[],t&&(e.fingerprint=e.fingerprint.concat(t));e.fingerprint.length||delete e.fingerprint}(e,n),function(e,t){const n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}(e,r),function(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}(e,i)}function $p(e,t){const{extra:n,tags:a,attributes:r,user:i,contexts:o,level:s,sdkProcessingMetadata:c,breadcrumbs:u,fingerprint:l,eventProcessors:d,attachments:p,propagationContext:h,transactionName:m,span:f}=t;Bp(e,"extra",n),Bp(e,"tags",a),Bp(e,"attributes",r),Bp(e,"user",i),Bp(e,"contexts",o),e.sdkProcessingMetadata=jd(e.sdkProcessingMetadata,c,2),s&&(e.level=s),m&&(e.transactionName=m),f&&(e.span=f),u.length&&(e.breadcrumbs=[...e.breadcrumbs,...u]),l.length&&(e.fingerprint=[...e.fingerprint,...l]),d.length&&(e.eventProcessors=[...e.eventProcessors,...d]),p.length&&(e.attachments=[...e.attachments,...p]),e.propagationContext={...e.propagationContext,...h}}function Bp(e,t,n){e[t]=jd(e[t],n,1)}function Vp(e,t){const n=ul("globalScope",()=>new Dd).getScopeData();return e&&$p(n,e.getScopeData()),t&&$p(n,t.getScopeData()),n}function Up(e,t,n,a,r,i){const{normalizeDepth:o=3,normalizeMaxBreadth:s=1e3}=e,c={...t,event_id:t.event_id||n.event_id||fd(),timestamp:t.timestamp||kd()},u=n.integrations||e.integrations.map(e=>e.name);!function(e,t){const{environment:n,release:a,dist:r,maxValueLength:i}=t;e.environment=e.environment||n||fp,!e.release&&a&&(e.release=a);!e.dist&&r&&(e.dist=r);const o=e.request;o?.url&&i&&(o.url=dd(o.url,i));i&&e.exception?.values?.forEach(e=>{e.value&&(e.value=dd(e.value,i))})}(c,e),function(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}(c,u),r&&r.emit("applyFrameMetadata",t),void 0===t.type&&function(e,t){const n=function(e){const t=il._sentryDebugIds,n=il._debugIds;if(!t&&!n)return{};const a=t?Object.keys(t):[],r=n?Object.keys(n):[];if(Lp&&a.length===Fp&&r.length===zp)return Lp;Fp=a.length,zp=r.length,Lp={},Rp||(Rp={});const i=(t,n)=>{for(const a of t){const t=n[a],r=Rp?.[a];if(r&&Lp&&t)Lp[r[0]]=t,Rp&&(Rp[a]=[r[0],t]);else if(t){const n=e(a);for(let e=n.length-1;e>=0;e--){const r=n[e],i=r?.filename;if(i&&Lp&&Rp){Lp[i]=t,Rp[a]=[i,t];break}}}}};return t&&i(a,t),n&&i(r,n),Lp}(t);e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.filename&&(e.debug_id=n[e.filename])})})}(c,e.stackParser);const l=function(e,t){if(!t)return e;const n=e?e.clone():new Dd;return n.update(t),n}(a,n.captureContext);n.mechanism&&yd(c,n.mechanism);const d=r?r.getEventProcessors():[],p=Vp(i,l),h=[...n.attachments||[],...p.attachments];h.length&&(n.attachments=h),qp(c,p);const m=[...d,...p.eventProcessors];return(n.data&&!0===n.data.__sentry__?Mp(c):Ip(m,c,n)).then(e=>(e&&function(e){const t={};if(e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)})}),0===Object.keys(t).length)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];const n=e.debug_meta.images;Object.entries(t).forEach(([e,t])=>{n.push({type:"sourcemap",code_file:e,debug_id:t})})}(e),"number"==typeof o&&o>0?function(e,t,n){if(!e)return null;const a={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(e=>({...e,...e.data&&{data:gp(e.data,t,n)}}))},...e.user&&{user:gp(e.user,t,n)},...e.contexts&&{contexts:gp(e.contexts,t,n)},...e.extra&&{extra:gp(e.extra,t,n)}};e.contexts?.trace&&a.contexts&&(a.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(a.contexts.trace.data=gp(e.contexts.trace.data,t,n)));e.spans&&(a.spans=e.spans.map(e=>({...e,...e.data&&{data:gp(e.data,t,n)}})));e.contexts?.flags&&a.contexts&&(a.contexts.flags=gp(e.contexts.flags,3,n));return a}(e,o,s):e))}function Wp(e,t){return Ld().captureException(e,void 0)}function Qp(e,t){return Ld().captureEvent(e,t)}function Gp(e,t){qd().setTag(e,t)}function Hp(e){const t=qd(),{user:n}=Vp(t,Ld()),{userAgent:a}=il.navigator||{},r=Sd({user:n,...a&&{userAgent:a},...e}),i=t.getSession();return"ok"===i?.status&&Ed(i,{status:"exited"}),Kp(),t.setSession(r),r}function Kp(){const e=qd(),t=Ld().getSession()||e.getSession();t&&function(e){let t={};"ok"===e.status&&(t={status:"exited"}),Ed(e,t)}(t),Yp(),e.setSession()}function Yp(){const e=qd(),t=$d(),n=e.getSession();n&&t&&t.captureSession(n)}function Jp(e=!1){e?Kp():Yp()}function Xp(e,t,n){return t||`${function(e){return`${function(e){const t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}(e)}${e.projectId}/envelope/`}(e)}?${function(e,t){const n={sentry_version:"7"};return e.publicKey&&(n.sentry_key=e.publicKey),t&&(n.sentry_client=`${t.name}/${t.version}`),new URLSearchParams(n).toString()}(e,n)}`}const Zp=[];function eh(e){const t=e.defaultIntegrations||[],n=e.integrations;let a;if(t.forEach(e=>{e.isDefaultInstance=!0}),Array.isArray(n))a=[...t,...n];else if("function"==typeof n){const e=n(t);a=Array.isArray(e)?e:[e]}else a=t;return function(e){const t={};return e.forEach(e=>{const{name:n}=e,a=t[n];a&&!a.isDefaultInstance&&e.isDefaultInstance||(t[n]=e)}),Object.values(t)}(a)}function th(e,t){for(const n of t)n?.afterAllSetup&&n.afterAllSetup(e)}function nh(e,t,n){if(n[t.name])rl&&vl.log(`Integration skipped because it was already installed: ${t.name}`);else{if(n[t.name]=t,Zp.includes(t.name)||"function"!=typeof t.setupOnce||(t.setupOnce(),Zp.push(t.name)),t.setup&&"function"==typeof t.setup&&t.setup(e),"function"==typeof t.preprocessEvent){const n=t.preprocessEvent.bind(t);e.on("preprocessEvent",(t,a)=>n(t,a,e))}if("function"==typeof t.processEvent){const n=t.processEvent.bind(t),a=Object.assign((t,a)=>n(t,a,e),{id:t.name});e.addEventProcessor(a)}rl&&vl.log(`Integration installed: ${t.name}`)}}function ah(e,t){const n=t??function(e){return rh().get(e)}(e)??[];if(0===n.length)return;const a=e.getOptions(),r=function(e,t,n,a){const r={};return t?.sdk&&(r.sdk={name:t.sdk.name,version:t.sdk.version}),n&&a&&(r.dsn=Xd(a)),kp(r,[(i=e,[{type:"log",item_count:i.length,content_type:"application/vnd.sentry.items.log+json"},{items:i}])]);var i}(n,a._metadata,a.tunnel,e.getDsn());rh().set(e,[]),e.emit("flushLogs"),e.sendEnvelope(r)}function rh(){return ul("clientToLogBufferMap",()=>new WeakMap)}function ih(e,t){const n=t??function(e){return oh().get(e)}(e)??[];if(0===n.length)return;const a=e.getOptions(),r=function(e,t,n,a){const r={};return t?.sdk&&(r.sdk={name:t.sdk.name,version:t.sdk.version}),n&&a&&(r.dsn=Xd(a)),kp(r,[(i=e,[{type:"trace_metric",item_count:i.length,content_type:"application/vnd.sentry.items.trace-metric+json"},{items:i}])]);var i}(n,a._metadata,a.tunnel,e.getDsn());oh().set(e,[]),e.emit("flushMetrics"),e.sendEnvelope(r)}function oh(){return ul("clientToMetricBufferMap",()=>new WeakMap)}function sh(e){return"object"==typeof e&&"function"==typeof e.unref&&e.unref(),e}const ch=Symbol.for("SentryBufferFullError");function uh(e=100){const t=new Set;function n(e){t.delete(e)}return{get $(){return Array.from(t)},add:function(a){if(!(t.size<e))return Dp(ch);const r=a();return t.add(r),r.then(()=>n(r),()=>n(r)),r},drain:function(e){if(!t.size)return Mp(!0);const n=Promise.allSettled(Array.from(t)).then(()=>!0);if(!e)return n;const a=[n,new Promise(t=>sh(setTimeout(()=>t(!1),e)))];return Promise.race(a)}}}function lh(e,{statusCode:t,headers:n},a=ld()){const r={...e},i=n?.["x-sentry-rate-limits"],o=n?.["retry-after"];if(i)for(const s of i.trim().split(",")){const[e,t,,,n]=s.split(":",5),i=parseInt(e,10),o=1e3*(isNaN(i)?60:i);if(t)for(const s of t.split(";"))"metric_bucket"===s&&n&&!n.split(";").includes("custom")||(r[s]=a+o);else r.all=a+o}else o?r.all=a+function(e,t=ld()){const n=parseInt(`${e}`,10);if(!isNaN(n))return 1e3*n;const a=Date.parse(`${e}`);return isNaN(a)?6e4:a-t}(o,a):429===t&&(r.all=a+6e4);return r}function dh(e,t,n=uh(e.bufferSize||64)){let a={};return{send:function(r){const i=[];if(xp(r,(t,n)=>{const r=Op(n);!function(e,t,n=ld()){return function(e,t){return e[t]||e.all||0}(e,t)>n}(a,r)?i.push(t):e.recordDroppedEvent("ratelimit_backoff",r)}),0===i.length)return Promise.resolve({});const o=kp(r[0],i),s=t=>{!function(e,t){return xp(e,(e,n)=>t.includes(n))}(o,["client_report"])?xp(o,(n,a)=>{e.recordDroppedEvent(t,Op(a))}):rl&&vl.warn(`Dropping client report. Will not send outcomes (reason: ${t}).`)};return n.add(()=>t({body:Ep(o)}).then(e=>413===e.statusCode?(rl&&vl.error("Sentry responded with status code 413. Envelope was discarded due to exceeding size limits."),s("send_error"),e):(rl&&void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&vl.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),a=lh(a,e),e),e=>{throw s("network_error"),rl&&vl.error("Encountered error running transport request:",e),e})).then(e=>e,e=>{if(e===ch)return rl&&vl.error("Skipped sending event because buffer is full."),s("queue_overflow"),Promise.resolve({});throw e})},flush:e=>n.drain(e)}}function ph(e){const t=[];e.message&&t.push(e.message);try{const n=e.exception.values[e.exception.values.length-1];n?.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`))}catch{}return t}const hh="Not capturing exception because it's already been captured.",mh="Discarded session because of missing or non-string release",fh=Symbol.for("SentryInternalError"),vh=Symbol.for("SentryDoNotSendEventError");function _h(e){return{message:e,[fh]:!0}}function gh(e){return{message:e,[vh]:!0}}function yh(e){return!!e&&"object"==typeof e&&fh in e}function bh(e){return!!e&&"object"==typeof e&&vh in e}function kh(e,t,n,a,r){let i,o=0,s=!1;e.on(n,()=>{o=0,clearTimeout(i),s=!1}),e.on(t,t=>{o+=a(t),o>=8e5?r(e):s||(s=!0,i=sh(setTimeout(()=>{r(e)},5e3)))}),e.on("flush",()=>{r(e)})}class wh{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],this._promiseBuffer=uh(e.transportOptions?.bufferSize??64),e.dsn?this._dsn=tp(e.dsn):rl&&vl.warn("No DSN provided, client will not send events."),this._dsn){const t=Xp(this._dsn,e.tunnel,e._metadata?e._metadata.sdk:void 0);this._transport=e.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:t})}this._options.enableLogs=this._options.enableLogs??this._options._experiments?.enableLogs,this._options.enableLogs&&kh(this,"afterCaptureLog","flushLogs",Th,ah);(this._options.enableMetrics??this._options._experiments?.enableMetrics??!0)&&kh(this,"afterCaptureMetric","flushMetrics",jh,ih)}captureException(e,t,n){const a=fd();if(bd(e))return rl&&vl.log(hh),a;const r={event_id:a,...t};return this._process(()=>this.eventFromException(e,r).then(e=>this._captureEvent(e,r,n)).then(e=>e),"error"),r.event_id}captureMessage(e,t,n,a){const r={event_id:fd(),...n},i=$l(e)?e:String(e),o=Bl(e),s=o?this.eventFromMessage(i,t,r):this.eventFromException(e,r);return this._process(()=>s.then(e=>this._captureEvent(e,r,a)),o?"unknown":"error"),r.event_id}captureEvent(e,t,n){const a=fd();if(t?.originalException&&bd(t.originalException))return rl&&vl.log(hh),a;const r={event_id:a,...t},i=e.sdkProcessingMetadata||{},o=i.capturedSpanScope,s=i.capturedSpanIsolationScope,c=xh(e.type);return this._process(()=>this._captureEvent(e,r,o||n,s),c),r.event_id}captureSession(e){this.sendSession(e),Ed(e,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}async flush(e){const t=this._transport;if(!t)return!0;this.emit("flush");const n=await this._isClientDoneProcessing(e),a=await t.flush(e);return n&&a}async close(e){ah(this);const t=await this.flush(e);return this.getOptions().enabled=!1,this.emit("close"),t}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}init(){(this._isEnabled()||this._options.integrations.some(({name:e})=>e.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(e){return this._integrations[e]}addIntegration(e){const t=this._integrations[e.name];nh(this,e,this._integrations),t||th(this,[e])}sendEvent(e,t={}){this.emit("beforeSendEvent",e,t);let n=Np(e,this._dsn,this._options._metadata,this._options.tunnel);for(const a of t.attachments||[])n=wp(n,jp(a));this.sendEnvelope(n).then(t=>this.emit("afterSendEvent",e,t))}sendSession(e){const{release:t,environment:n=fp}=this._options;if("aggregates"in e){const a=e.attrs||{};if(!a.release&&!t)return void(rl&&vl.warn(mh));a.release=a.release||t,a.environment=a.environment||n,e.attrs=a}else{if(!e.release&&!t)return void(rl&&vl.warn(mh));e.release=e.release||t,e.environment=e.environment||n}this.emit("beforeSendSession",e);const a=function(e,t,n,a){const r=Cp(n);return kp({sent_at:(new Date).toISOString(),...r&&{sdk:r},...!!a&&t&&{dsn:Xd(t)}},["aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()]])}(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(a)}recordDroppedEvent(e,t,n=1){if(this._options.sendClientReports){const a=`${e}:${t}`;rl&&vl.log(`Recording outcome: "${a}"${n>1?` (${n} times)`:""}`),this._outcomes[a]=(this._outcomes[a]||0)+n}}on(e,t){const n=this._hooks[e]=this._hooks[e]||new Set,a=(...e)=>t(...e);return n.add(a),()=>{n.delete(a)}}emit(e,...t){const n=this._hooks[e];n&&n.forEach(e=>e(...t))}async sendEnvelope(e){if(this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport)try{return await this._transport.send(e)}catch(t){return rl&&vl.error("Error while sending envelope:",t),{}}return rl&&vl.error("Transport disabled"),{}}dispose(){}_setupIntegrations(){const{integrations:e}=this._options;this._integrations=function(e,t){const n={};return t.forEach(t=>{t&&nh(e,t,n)}),n}(this,e),th(this,e)}_updateSessionFromEvent(e,t){let n="fatal"===t.level,a=!1;const r=t.exception?.values;if(r){a=!0,n=!1;for(const e of r)if(!1===e.mechanism?.handled){n=!0;break}}const i="ok"===e.status;(i&&0===e.errors||i&&n)&&(Ed(e,{...n&&{status:"crashed"},errors:e.errors||Number(a||n)}),this.captureSession(e))}async _isClientDoneProcessing(e){let t=0;for(;!e||t<e;){if(await new Promise(e=>setTimeout(e,1)),!this._numProcessing)return!0;t++}return!1}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(e,t,n,a){const r=this.getOptions(),i=Object.keys(this._integrations);return!t.integrations&&i?.length&&(t.integrations=i),this.emit("preprocessEvent",e,t),e.type||a.setLastEventId(e.event_id||t.event_id),Up(r,e,t,n,this,a).then(e=>{if(null===e)return e;this.emit("postprocessEvent",e,t),e.contexts={trace:{...e.contexts?.trace,...Bd(n)},...e.contexts};const a=function(e,t){const n=t.getPropagationContext();return n.dsc||vp(n.traceId,e)}(this,n);return e.sdkProcessingMetadata={dynamicSamplingContext:a,...e.sdkProcessingMetadata},e})}_captureEvent(e,t={},n=Ld(),a=qd()){return rl&&Sh(e)&&vl.log(`Captured error event \`${ph(e)[0]||"<unknown>"}\``),this._processEvent(e,t,n,a).then(e=>e.event_id,e=>{rl&&(bh(e)?vl.log(e.message):yh(e)?vl.warn(e.message):vl.warn(e))})}_processEvent(e,t,n,a){const r=this.getOptions(),{sampleRate:i}=r,o=Eh(e),s=Sh(e),c=`before send for type \`${e.type||"error"}\``,u=void 0===i?void 0:function(e){if("boolean"==typeof e)return Number(e);const t="string"==typeof e?parseFloat(e):e;return"number"!=typeof t||isNaN(t)||t<0||t>1?void 0:t}(i);if(s&&"number"==typeof u&&ud()>u)return this.recordDroppedEvent("sample_rate","error"),Dp(gh(`Discarding event because it's not included in the random sample (sampling rate = ${i})`));const l=xh(e.type);return this._prepareEvent(e,t,n,a).then(e=>{if(null===e)throw this.recordDroppedEvent("event_processor",l),gh("An event processor returned `null`, will not send event.");if(!0===t.data?.__sentry__)return e;const n=function(e,t,n,a){const{beforeSend:r,beforeSendTransaction:i,beforeSendSpan:o,ignoreSpans:s}=t;let c=n;if(Sh(c)&&r)return r(c,a);if(Eh(c)){if(o||s){const t=function(e){const{trace_id:t,parent_span_id:n,span_id:a,status:r,origin:i,data:o,op:s}=e.contexts?.trace??{};return{data:o??{},description:e.transaction,op:s,parent_span_id:n,span_id:a??"",start_timestamp:e.start_timestamp??0,status:r,timestamp:e.timestamp,trace_id:t??"",origin:i,profile_id:o?.[Vd],exclusive_time:o?.[Ud],measurements:e.measurements,is_segment:!0}}(c);if(s?.length&&pp(t,s))return null;if(o){const e=o(t);e?c=jd(n,{type:"transaction",timestamp:(u=e).timestamp,start_timestamp:u.start_timestamp,transaction:u.description,contexts:{trace:{trace_id:u.trace_id,span_id:u.span_id,parent_span_id:u.parent_span_id,op:u.op,status:u.status,origin:u.origin,data:{...u.data,...u.profile_id&&{[Vd]:u.profile_id},...u.exclusive_time&&{[Ud]:u.exclusive_time}}}},measurements:u.measurements}):lp()}if(c.spans){const t=[],n=c.spans;for(const e of n)if(s?.length&&pp(e,s))hp(n,e);else if(o){const n=o(e);n?t.push(n):(lp(),t.push(e))}else t.push(e);const a=c.spans.length-t.length;a&&e.recordDroppedEvent("before_send","span",a),c.spans=t}}if(i){if(c.spans){const e=c.spans.length;c.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:e}}return i(c,a)}}var u;return c}(this,r,e,t);return function(e,t){const n=`${t} must return \`null\` or a valid event.`;if(Wl(e))return e.then(e=>{if(!Vl(e)&&null!==e)throw _h(n);return e},e=>{throw _h(`${t} rejected with ${e}`)});if(!Vl(e)&&null!==e)throw _h(n);return e}(n,c)}).then(r=>{if(null===r){if(this.recordDroppedEvent("before_send",l),o){const t=1+(e.spans||[]).length;this.recordDroppedEvent("before_send","span",t)}throw gh(`${c} returned \`null\`, will not send event.`)}const i=n.getSession()||a.getSession();if(s&&i&&this._updateSessionFromEvent(i,r),o){const e=(r.sdkProcessingMetadata?.spanCountBeforeProcessing||0)-(r.spans?r.spans.length:0);e>0&&this.recordDroppedEvent("before_send","span",e)}const u=r.transaction_info;if(o&&u&&r.transaction!==e.transaction){const e="custom";r.transaction_info={...u,source:e}}return this.sendEvent(r,t),r}).then(null,e=>{if(bh(e)||yh(e))throw e;throw this.captureException(e,{mechanism:{handled:!1,type:"internal"},data:{__sentry__:!0},originalException:e}),_h(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ${e}`)})}_process(e,t){this._numProcessing++,this._promiseBuffer.add(e).then(e=>(this._numProcessing--,e),e=>(this._numProcessing--,e===ch&&this.recordDroppedEvent("queue_overflow",t),e))}_clearOutcomes(){const e=this._outcomes;return this._outcomes={},Object.entries(e).map(([e,t])=>{const[n,a]=e.split(":");return{reason:n,category:a,quantity:t}})}_flushOutcomes(){rl&&vl.log("Flushing outcomes...");const e=this._clearOutcomes();if(0===e.length)return void(rl&&vl.log("No outcomes to send"));if(!this._dsn)return void(rl&&vl.log("No dsn provided, will not send outcomes"));rl&&vl.log("Sending outcomes:",e);const t=(n=e,kp((a=this._options.tunnel&&Xd(this._dsn))?{dsn:a}:{},[[{type:"client_report"},{timestamp:kd(),discarded_events:n}]]));var n,a;this.sendEnvelope(t)}}function xh(e){return"replay_event"===e?"replay":e||"error"}function Sh(e){return void 0===e.type}function Eh(e){return"transaction"===e.type}function jh(e){let t=0;return e.name&&(t+=2*e.name.length),t+=8,t+Oh(e.attributes)}function Th(e){let t=0;return e.message&&(t+=2*e.message.length),t+Oh(e.attributes)}function Oh(e){if(!e)return 0;let t=0;return Object.values(e).forEach(e=>{Array.isArray(e)?t+=e.length*Ch(e[0]):Bl(e)?t+=Ch(e):t+=100}),t}function Ch(e){return"string"==typeof e?2*e.length:"number"==typeof e?8:"boolean"==typeof e?4:0}function Nh(e){return function(e){return Rl(e)&&"__sentry_fetch_url_host__"in e&&"string"==typeof e.__sentry_fetch_url_host__}(e)?`${e.message} (${e.__sentry_fetch_url_host__})`:e.message}function Mh(e,t){!0===t.debug&&(rl?vl.enable():pl(()=>{}));Ld().update(t.initialScope);const n=new e(t);return function(e){Ld().setClient(e)}(n),n.init(),n}function Dh(e){if(!e)return{};const t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};const n=t[6]||"",a=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:a,relative:t[5]+n+a}}function Ah(e){"aggregates"in e?void 0===e.attrs?.ip_address&&(e.attrs={...e.attrs,ip_address:"{{auto}}"}):void 0===e.ipAddress&&(e.ipAddress="{{auto}}")}const Ih=100;function Ph(e,t){const n=$d(),a=qd();if(!n)return;const{beforeBreadcrumb:r=null,maxBreadcrumbs:i=Ih}=n.getOptions();if(i<=0)return;const o={timestamp:kd(),...e},s=r?pl(()=>r(o,t)):o;null!==s&&(n.emit&&n.emit("beforeAddBreadcrumb",s,t),a.addBreadcrumb(s,i))}let Rh;const Fh=new WeakMap,zh=()=>({name:"FunctionToString",setupOnce(){Rh=Function.prototype.toString;try{Function.prototype.toString=function(...e){const t=nd(this),n=Fh.has($d())&&void 0!==t?t:this;return Rh.apply(n,e)}}catch{}},setup(e){Fh.set(e,!0)}}),Lh=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,/^undefined is not an object \(evaluating 'a\.[A-Z]'\)$/,/can't redefine non-configurable property "solana"/,/vv\(\)\.getRestrictions is not a function/,/Can't find variable: _AutofillCallbackHandler/,/Object Not Found Matching Id:\d+, MethodName:simulateEvent/,/^Java exception was raised during method invocation$/],qh=(e={})=>{let t;return{name:"EventFilters",setup(n){const a=n.getOptions();t=Bh(e,a)},processEvent(n,a,r){if(!t){const n=r.getOptions();t=Bh(e,n)}return function(e,t){if(e.type){if("transaction"===e.type&&function(e,t){if(!t?.length)return!1;const n=e.transaction;return!!n&&md(n,t)}(e,t.ignoreTransactions))return rl&&vl.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.\nEvent: ${_d(e)}`),!0}else{if(function(e,t){if(!t?.length)return!1;return ph(e).some(e=>md(e,t))}(e,t.ignoreErrors))return rl&&vl.warn(`Event dropped due to being matched by \`ignoreErrors\` option.\nEvent: ${_d(e)}`),!0;if(function(e){if(!e.exception?.values?.length)return!1;return!e.message&&!e.exception.values.some(e=>e.stacktrace||e.type&&"Error"!==e.type||e.value)}(e))return rl&&vl.warn(`Event dropped due to not having an error message, error type or stacktrace.\nEvent: ${_d(e)}`),!0;if(function(e,t){if(!t?.length)return!1;const n=Vh(e);return!!n&&md(n,t)}(e,t.denyUrls))return rl&&vl.warn(`Event dropped due to being matched by \`denyUrls\` option.\nEvent: ${_d(e)}.\nUrl: ${Vh(e)}`),!0;if(!function(e,t){if(!t?.length)return!0;const n=Vh(e);return!n||md(n,t)}(e,t.allowUrls))return rl&&vl.warn(`Event dropped due to not being matched by \`allowUrls\` option.\nEvent: ${_d(e)}.\nUrl: ${Vh(e)}`),!0}return!1}(n,t)?null:n}}},$h=(e={})=>({...qh(e),name:"InboundFilters"});function Bh(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:Lh],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]]}}function Vh(e){try{const t=[...e.exception?.values??[]].reverse().find(e=>void 0===e.mechanism?.parent_id&&e.stacktrace?.frames?.length),n=t?.stacktrace?.frames;return n?function(e=[]){for(let t=e.length-1;t>=0;t--){const n=e[t];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(n):null}catch{return rl&&vl.error(`Cannot extract url for event ${_d(e)}`),null}}function Uh(e,t,n,a,r,i){if(!r.exception?.values||!i||!Ql(i.originalException,Error))return;const o=r.exception.values.length>0?r.exception.values[r.exception.values.length-1]:void 0;o&&(r.exception.values=Wh(e,t,a,i.originalException,n,r.exception.values,o,0))}function Wh(e,t,n,a,r,i,o,s){if(i.length>=n+1)return i;let c=[...i];if(Ql(a[r],Error)){Gh(o,s,a);const i=e(t,a[r]),u=c.length;Hh(i,r,u,s),c=Wh(e,t,n,a[r],r,[i,...c],i,u)}return Qh(a)&&a.errors.forEach((i,u)=>{if(Ql(i,Error)){Gh(o,s,a);const l=e(t,i),d=c.length;Hh(l,`errors[${u}]`,d,s),c=Wh(e,t,n,i,r,[l,...c],l,d)}}),c}function Qh(e){return Array.isArray(e.errors)}function Gh(e,t,n){e.mechanism={handled:!0,type:"auto.core.linked_errors",...Qh(n)&&{is_exception_group:!0},...e.mechanism,exception_id:t}}function Hh(e,t,n,a){e.mechanism={handled:!0,...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:a}}function Kh(){"console"in il&&ll.forEach(function(e){e in il.console&&Zl(il.console,e,function(t){return dl[e]=t,function(...t){Nl("console",{args:t,level:e});const n=dl[e];n?.apply(il.console,t)}})})}function Yh(e){return"warn"===e?"warning":["fatal","error","warning","log","info","debug"].includes(e)?e:"log"}const Jh=()=>{let e;return{name:"Dedupe",processEvent(t){if(t.type)return t;try{if(function(e,t){if(!t)return!1;if(function(e,t){const n=e.message,a=t.message;if(!n&&!a)return!1;if(n&&!a||!n&&a)return!1;if(n!==a)return!1;if(!Zh(e,t))return!1;if(!Xh(e,t))return!1;return!0}(e,t))return!0;if(function(e,t){const n=em(t),a=em(e);if(!n||!a)return!1;if(n.type!==a.type||n.value!==a.value)return!1;if(!Zh(e,t))return!1;if(!Xh(e,t))return!1;return!0}(e,t))return!0;return!1}(t,e))return rl&&vl.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return e=t}}};function Xh(e,t){let n=Sl(e),a=Sl(t);if(!n&&!a)return!0;if(n&&!a||!n&&a)return!1;if(a.length!==n.length)return!1;for(let r=0;r<a.length;r++){const e=a[r],t=n[r];if(e.filename!==t.filename||e.lineno!==t.lineno||e.colno!==t.colno||e.function!==t.function)return!1}return!0}function Zh(e,t){let n=e.fingerprint,a=t.fingerprint;if(!n&&!a)return!0;if(n&&!a||!n&&a)return!1;try{return!(n.join("")!==a.join(""))}catch{return!1}}function em(e){return e.exception?.values?.[0]}const tm=()=>({name:"ConversationId",setup(e){e.on("spanStart",e=>{const t=Ld().getScopeData(),n=qd().getScopeData(),a=t.conversationId||n.conversationId;a&&e.setAttribute("gen_ai.conversation.id",a)})}});function nm(e){return void 0===e?void 0:e>=400&&e<500?"warning":e>=500?"error":void 0}const am=il;function rm(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function im(){if("string"==typeof EdgeRuntime)return!0;if(!function(){if(!("fetch"in am))return!1;try{return new Headers,new Request("data:,"),new Response,!0}catch{return!1}}())return!1;if(rm(am.fetch))return!0;let e=!1;const t=am.document;if(t&&"function"==typeof t.createElement)try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow?.fetch&&(e=rm(n.contentWindow.fetch)),t.head.removeChild(n)}catch(n){rl&&vl.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}return e}function om(e,t){const n="fetch";Ol(n,e),Cl(n,()=>function(e,t=!1){if(t&&!im())return;Zl(il,"fetch",function(e){return function(...t){const n=new Error,{method:a,url:r}=function(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){const[t,n]=e;return{url:cm(t),method:sm(n,"method")?String(n.method).toUpperCase():Hl(t)&&sm(t,"method")?String(t.method).toUpperCase():"GET"}}const t=e[0];return{url:cm(t),method:sm(t,"method")?String(t.method).toUpperCase():"GET"}}(t),i={args:t,fetchData:{method:a,url:r},startTimestamp:1e3*xd(),virtualError:n,headers:um(t)};return Nl("fetch",{...i}),e.apply(il,t).then(async e=>(Nl("fetch",{...i,endTimestamp:1e3*xd(),response:e}),e),e=>{Nl("fetch",{...i,endTimestamp:1e3*xd(),error:e}),Rl(e)&&void 0===e.stack&&(e.stack=n.stack,ed(e,"framesToPop",1));const t=$d(),a=t?.getOptions().enhanceFetchErrorMessages??"always";if(!1!==a&&e instanceof TypeError&&("Failed to fetch"===e.message||"Load failed"===e.message||"NetworkError when attempting to fetch resource."===e.message))try{const t=new URL(i.fetchData.url).host;"always"===a?e.message=`${e.message} (${t})`:ed(e,"__sentry_fetch_url_host__",t)}catch{}throw e})}})}(0,t))}function sm(e,t){return!!e&&"object"==typeof e&&!!e[t]}function cm(e){return"string"==typeof e?e:e?sm(e,"url")?e.url:e.toString?e.toString():"":""}function um(e){const[t,n]=e;try{if("object"==typeof n&&null!==n&&"headers"in n&&n.headers)return new Headers(n.headers);if(Hl(t))return new Headers(t.headers)}catch{}}const lm=il;let dm=0;function pm(){return dm>0}function hm(e,t={}){if("function"!=typeof e)return e;try{const t=e.__sentry_wrapped__;if(t)return"function"==typeof t?t:e;if(nd(e))return e}catch{return e}const n=function(...n){try{const a=n.map(e=>hm(e,t));return e.apply(this,a)}catch(a){throw dm++,setTimeout(()=>{dm--}),function(...e){const t=zd(sl());if(2===e.length){const[n,a]=e;return n?t.withSetScope(n,a):t.withScope(a)}t.withScope(e[0])}(e=>{e.addEventProcessor(e=>(t.mechanism&&(gd(e,void 0),yd(e,t.mechanism)),e.extra={...e.extra,arguments:n},e)),Wp(a)}),a}};try{for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=e[t])}catch{}td(n,e),ed(e,"__sentry_wrapped__",n);try{Object.getOwnPropertyDescriptor(n,"name").configurable&&Object.defineProperty(n,"name",{get:()=>e.name})}catch{}return n}function mm(e,t){const n=_m(e,t),a={type:bm(t),value:km(t)};return n.length&&(a.stacktrace={frames:n}),void 0===a.type&&""===a.value&&(a.value="Unrecoverable error caught"),a}function fm(e,t,n,a){const r=$d(),i=r?.getOptions().normalizeDepth,o=function(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)){const n=e[t];if(n instanceof Error)return n}return}(t),s={__serialized__:yp(t,i)};if(o)return{exception:{values:[mm(e,o)]},extra:s};const c={exception:{values:[{type:Ul(t)?t.constructor.name:a?"UnhandledRejection":"Error",value:Sm(t,{isUnhandledRejection:a})}]},extra:s};if(n){const t=_m(e,n);t.length&&(c.exception.values[0].stacktrace={frames:t})}return c}function vm(e,t){return{exception:{values:[mm(e,t)]}}}function _m(e,t){const n=t.stacktrace||t.stack||"",a=function(e){if(e&&gm.test(e.message))return 1;return 0}(t),r=function(e){if("number"==typeof e.framesToPop)return e.framesToPop;return 0}(t);try{return e(n,a,r)}catch{}return[]}const gm=/Minified React error #\d+;/i;function ym(e){return"undefined"!=typeof WebAssembly&&void 0!==WebAssembly.Exception&&e instanceof WebAssembly.Exception}function bm(e){const t=e?.name;if(!t&&ym(e)){return e.message&&Array.isArray(e.message)&&2==e.message.length?e.message[0]:"WebAssembly.Exception"}return t}function km(e){const t=e?.message;return ym(e)?Array.isArray(e.message)&&2==e.message.length?e.message[1]:"wasm exception":t?t.error&&"string"==typeof t.error.message?Nh(t.error):Nh(e):"No error message"}function wm(e,t,n,a,r){let i;if(zl(t)&&t.error){return vm(e,t.error)}if(Ll(t)||Fl(t,"DOMException")){const r=t;if("stack"in t)i=vm(e,t);else{const t=r.name||(Ll(r)?"DOMError":"DOMException"),o=r.message?`${t}: ${r.message}`:t;i=xm(e,o,n,a),gd(i,o)}return"code"in r&&(i.tags={...i.tags,"DOMException.code":`${r.code}`}),i}if(Rl(t))return vm(e,t);if(Vl(t)||Ul(t)){return i=fm(e,t,n,r),yd(i,{synthetic:!0}),i}return i=xm(e,t,n,a),gd(i,`${t}`),yd(i,{synthetic:!0}),i}function xm(e,t,n,a){const r={};if(a&&n){const a=_m(e,n);a.length&&(r.exception={values:[{value:t,stacktrace:{frames:a}}]}),yd(r,{synthetic:!0})}if($l(t)){const{__sentry_template_string__:e,__sentry_template_values__:n}=t;return r.logentry={message:e,params:n},r}return r.message=t,r}function Sm(e,{isUnhandledRejection:t}){const n=function(e){const t=Object.keys(ad(e));return t.sort(),t[0]?t.join(", "):"[object has no keys]"}(e),a=t?"promise rejection":"exception";if(zl(e))return`Event \`ErrorEvent\` captured as ${a} with message \`${e.message}\``;if(Ul(e)){return`Event \`${function(e){try{const t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}(e)}\` (type=${e.type}) captured as ${a}`}return`Object captured as ${a} with keys: ${n}`}class Em extends wh{constructor(e){const t=(n=e,{release:"string"==typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:lm.SENTRY_RELEASE?.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...n});var n;!function(e,t,n=[t],a="npm"){const r=(e._metadata=e._metadata||{}).sdk=e._metadata.sdk||{};r.name||(r.name=`sentry.javascript.${t}`,r.packages=n.map(e=>({name:`${a}:@sentry/${e}`,version:ol})),r.version=ol)}(t,"browser",["browser"],lm.SENTRY_SDK_SOURCE||"npm"),t._metadata?.sdk&&(t._metadata.sdk.settings={infer_ip:t.sendDefaultPii?"auto":"never",...t._metadata.sdk.settings}),super(t);const{sendDefaultPii:a,sendClientReports:r,enableLogs:i,_experiments:o,enableMetrics:s}=this._options,c=s??o?.enableMetrics??!0;lm.document&&(r||i||c)&&lm.document.addEventListener("visibilitychange",()=>{"hidden"===lm.document.visibilityState&&(r&&this._flushOutcomes(),i&&ah(this),c&&ih(this))}),a&&this.on("beforeSendSession",Ah)}eventFromException(e,t){return function(e,t,n,a){const r=wm(e,t,n?.syntheticException||void 0,a);return yd(r),r.level="error",n?.event_id&&(r.event_id=n.event_id),Mp(r)}(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t="info",n){return function(e,t,n="info",a,r){const i=xm(e,t,a?.syntheticException||void 0,r);return i.level=n,a?.event_id&&(i.event_id=a.event_id),Mp(i)}(this._options.stackParser,e,t,n,this._options.attachStacktrace)}_prepareEvent(e,t,n,a){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,n,a)}}const jm="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,Tm=il;let Om,Cm,Nm,Mm;function Dm(){if(!Tm.document)return;const e=Nl.bind(null,"dom"),t=Am(e,!0);Tm.document.addEventListener("click",t,!1),Tm.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(t=>{const n=Tm,a=n[t]?.prototype;a?.hasOwnProperty?.("addEventListener")&&(Zl(a,"addEventListener",function(t){return function(n,a,r){if("click"===n||"keypress"==n)try{const a=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},i=a[n]=a[n]||{refCount:0};if(!i.handler){const a=Am(e);i.handler=a,t.call(this,n,a,r)}i.refCount++}catch{}return t.call(this,n,a,r)}}),Zl(a,"removeEventListener",function(e){return function(t,n,a){if("click"===t||"keypress"==t)try{const n=this.__sentry_instrumentation_handlers__||{},r=n[t];r&&(r.refCount--,r.refCount<=0&&(e.call(this,t,r.handler,a),r.handler=void 0,delete n[t]),0===Object.keys(n).length&&delete this.__sentry_instrumentation_handlers__)}catch{}return e.call(this,t,n,a)}}))})}function Am(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;const a=function(e){try{return e.target}catch{return null}}(n);if(function(e,t){return"keypress"===e&&(!t?.tagName||"INPUT"!==t.tagName&&"TEXTAREA"!==t.tagName&&!t.isContentEditable)}(n.type,a))return;ed(n,"_sentryCaptured",!0),a&&!a._sentryId&&ed(a,"_sentryId",fd());const r="keypress"===n.type?"input":n.type;if(!function(e){if(e.type!==Cm)return!1;try{if(!e.target||e.target._sentryId!==Nm)return!1}catch{}return!0}(n)){e({event:n,name:r,global:t}),Cm=n.type,Nm=a?a._sentryId:void 0}clearTimeout(Om),Om=Tm.setTimeout(()=>{Nm=void 0,Cm=void 0},1e3)}}function Im(e){const t="history";Ol(t,e),Cl(t,Pm)}function Pm(){function e(e){return function(...t){const n=t.length>2?t[2]:void 0;if(n){const a=Mm,r=function(e){try{return new URL(e,Tm.location.origin).toString()}catch{return e}}(String(n));if(Mm=r,a===r)return e.apply(this,t);Nl("history",{from:a,to:r})}return e.apply(this,t)}}Tm.addEventListener("popstate",()=>{const e=Tm.location.href,t=Mm;if(Mm=e,t===e)return;Nl("history",{from:t,to:e})}),"history"in am&&am.history&&(Zl(Tm.history,"pushState",e),Zl(Tm.history,"replaceState",e))}const Rm={};const Fm="__sentry_xhr_v3__";function zm(){if(!Tm.XMLHttpRequest)return;const e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(e,t,n){const a=new Error,r=1e3*xd(),i=ql(n[0])?n[0].toUpperCase():void 0,o=function(e){if(ql(e))return e;try{return e.toString()}catch{}return}(n[1]);if(!i||!o)return e.apply(t,n);t[Fm]={method:i,url:o,request_headers:{}},"POST"===i&&o.match(/sentry_key/)&&(t.__sentry_own_request__=!0);const s=()=>{const e=t[Fm];if(e&&4===t.readyState){try{e.status_code=t.status}catch{}Nl("xhr",{endTimestamp:1e3*xd(),startTimestamp:r,xhr:t,virtualError:a})}};return"onreadystatechange"in t&&"function"==typeof t.onreadystatechange?t.onreadystatechange=new Proxy(t.onreadystatechange,{apply:(e,t,n)=>(s(),e.apply(t,n))}):t.addEventListener("readystatechange",s),t.setRequestHeader=new Proxy(t.setRequestHeader,{apply(e,t,n){const[a,r]=n,i=t[Fm];return i&&ql(a)&&ql(r)&&(i.request_headers[a.toLowerCase()]=r),e.apply(t,n)}}),e.apply(t,n)}}),e.send=new Proxy(e.send,{apply(e,t,n){const a=t[Fm];if(!a)return e.apply(t,n);void 0!==n[0]&&(a.body=n[0]);return Nl("xhr",{startTimestamp:1e3*xd(),xhr:t}),e.apply(t,n)}})}function Lm(e,t=function(e){const t=Rm[e];if(t)return t;let n=Tm[e];if(rm(n))return Rm[e]=n.bind(Tm);const a=Tm.document;if(a&&"function"==typeof a.createElement)try{const t=a.createElement("iframe");t.hidden=!0,a.head.appendChild(t);const r=t.contentWindow;r?.[e]&&(n=r[e]),a.head.removeChild(t)}catch(r){jm&&vl.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,r)}return n?Rm[e]=n.bind(Tm):n}("fetch")){let n=0,a=0;return dh(e,async function(r){const i=r.body.length;n+=i,a++;const o={body:r.body,method:"POST",referrerPolicy:"strict-origin",headers:e.headers,keepalive:n<=6e4&&a<15,...e.fetchOptions};try{const n=await t(e.url,o);return{statusCode:n.status,headers:{"x-sentry-rate-limits":n.headers.get("X-Sentry-Rate-Limits"),"retry-after":n.headers.get("Retry-After")}}}catch(s){throw Rm["fetch"]=void 0,s}finally{n-=i,a--}},uh(e.bufferSize||40))}const qm="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;function $m(e,t,n,a){const r={filename:e,function:"<anonymous>"===t?_l:t,in_app:!0};return void 0!==n&&(r.lineno=n),void 0!==a&&(r.colno=a),r}const Bm=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,Vm=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Um=/\((\S*)(?::(\d+))(?::(\d+))\)/,Wm=/at (.+?) ?\(data:(.+?),/,Qm=[30,e=>{const t=e.match(Wm);if(t)return{filename:`<data:${t[2]}>`,function:t[1]};const n=Bm.exec(e);if(n){const[,e,t,a]=n;return $m(e,_l,+t,+a)}const a=Vm.exec(e);if(a){if(0===a[2]?.indexOf("eval")){const e=Um.exec(a[2]);e&&(a[2]=e[1],a[3]=e[2],a[4]=e[3])}const[e,t]=Jm(a[1]||_l,a[2]);return $m(t,e,a[3]?+a[3]:void 0,a[4]?+a[4]:void 0)}}],Gm=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Hm=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,Km=[50,e=>{const t=Gm.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const e=Hm.exec(t[3]);e&&(t[1]=t[1]||"eval",t[3]=e[1],t[4]=e[2],t[5]="")}let e=t[3],n=t[1]||_l;return[n,e]=Jm(n,e),$m(e,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}],Ym=bl(...[Qm,Km]),Jm=(e,t)=>{const n=-1!==e.indexOf("safari-extension"),a=-1!==e.indexOf("safari-web-extension");return n||a?[-1!==e.indexOf("@")?e.split("@")[0]:_l,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},Xm=1024,Zm=(e={})=>{const t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:"Breadcrumbs",setup(e){var n;t.console&&function(e){const t="console";Ol(t,e),Cl(t,Kh)}(function(e){return function(t){if($d()!==e)return;const n={category:"console",data:{arguments:t.args,logger:"console"},level:Yh(t.level),message:pd(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;n.message=`Assertion failed: ${pd(t.args.slice(1)," ")||"console.assert"}`,n.data.arguments=t.args.slice(1)}Ph(n,{input:t.args,level:t.level})}}(e)),t.dom&&(n=function(e,t){return function(n){if($d()!==e)return;let a,r,i="object"==typeof t?t.serializeAttribute:void 0,o="object"==typeof t&&"number"==typeof t.maxStringLength?t.maxStringLength:void 0;o&&o>Xm&&(qm&&vl.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${o} was configured. Sentry will use 1024 instead.`),o=Xm),"string"==typeof i&&(i=[i]);try{const e=n.event,t=function(e){return!!e&&!!e.target}(e)?e.target:e;a=Yl(t,{keyAttrs:i,maxStringLength:o}),r=function(e){if(!Kl.HTMLElement)return null;let t=e;for(let n=0;n<5;n++){if(!t)return null;if(t instanceof HTMLElement){if(t.dataset.sentryComponent)return t.dataset.sentryComponent;if(t.dataset.sentryElement)return t.dataset.sentryElement}t=t.parentNode}return null}(t)}catch{a="<unknown>"}if(0===a.length)return;const s={category:`ui.${n.name}`,message:a};r&&(s.data={"ui.component_name":r}),Ph(s,{event:n.event,name:n.name,global:n.global})}}(e,t.dom),Ol("dom",n),Cl("dom",Dm)),t.xhr&&function(e){Ol("xhr",e),Cl("xhr",zm)}(function(e){return function(t){if($d()!==e)return;const{startTimestamp:n,endTimestamp:a}=t,r=t.xhr[Fm];if(!n||!a||!r)return;const{method:i,url:o,status_code:s,body:c}=r,u={method:i,url:o,status_code:s},l={xhr:t.xhr,input:c,startTimestamp:n,endTimestamp:a},d={category:"xhr",data:u,type:"http",level:nm(s)};e.emit("beforeOutgoingRequestBreadcrumb",d,l),Ph(d,l)}}(e)),t.fetch&&om(function(e){return function(t){if($d()!==e)return;const{startTimestamp:n,endTimestamp:a}=t;if(a&&(!t.fetchData.url.match(/sentry_key/)||"POST"!==t.fetchData.method))if(t.fetchData.method,t.fetchData.url,t.error){const r=t.fetchData,i={data:t.error,input:t.args,startTimestamp:n,endTimestamp:a},o={category:"fetch",data:r,level:"error",type:"http"};e.emit("beforeOutgoingRequestBreadcrumb",o,i),Ph(o,i)}else{const r=t.response,i={...t.fetchData,status_code:r?.status};t.fetchData.request_body_size,t.fetchData.response_body_size;const o={input:t.args,response:r,startTimestamp:n,endTimestamp:a},s={category:"fetch",data:i,type:"http",level:nm(i.status_code)};e.emit("beforeOutgoingRequestBreadcrumb",s,o),Ph(s,o)}}}(e)),t.history&&Im(function(e){return function(t){if($d()!==e)return;let n=t.from,a=t.to;const r=Dh(lm.location.href);let i=n?Dh(n):void 0;const o=Dh(a);i?.path||(i=r),r.protocol===o.protocol&&r.host===o.host&&(a=o.relative),r.protocol===i.protocol&&r.host===i.host&&(n=i.relative),Ph({category:"navigation",data:{from:n,to:a}})}}(e)),t.sentry&&e.on("beforeSendEvent",function(e){return function(t){$d()===e&&Ph({category:"sentry."+("transaction"===t.type?"transaction":"event"),event_id:t.event_id,level:t.level,message:_d(t)},{event:t})}}(e))}}};const ef=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],tf=(e={})=>{const t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...e};return{name:"BrowserApiErrors",setupOnce(){t.setTimeout&&Zl(lm,"setTimeout",nf),t.setInterval&&Zl(lm,"setInterval",nf),t.requestAnimationFrame&&Zl(lm,"requestAnimationFrame",af),t.XMLHttpRequest&&"XMLHttpRequest"in lm&&Zl(XMLHttpRequest.prototype,"send",rf);const e=t.eventTarget;if(e){(Array.isArray(e)?e:ef).forEach(e=>function(e,t){const n=lm,a=n[e]?.prototype;if(!a?.hasOwnProperty?.("addEventListener"))return;Zl(a,"addEventListener",function(n){return function(a,r,i){try{"function"==typeof r.handleEvent&&(r.handleEvent=hm(r.handleEvent,{mechanism:{data:{handler:xl(r),target:e},handled:!1,type:"auto.browser.browserapierrors.handleEvent"}}))}catch{}return t.unregisterOriginalCallbacks&&function(e,t,n){e&&"object"==typeof e&&"removeEventListener"in e&&"function"==typeof e.removeEventListener&&e.removeEventListener(t,n)}(this,a,r),n.apply(this,[a,hm(r,{mechanism:{data:{handler:xl(r),target:e},handled:!1,type:"auto.browser.browserapierrors.addEventListener"}}),i])}}),Zl(a,"removeEventListener",function(e){return function(t,n,a){try{const r=n.__sentry_wrapped__;r&&e.call(this,t,r,a)}catch{}return e.call(this,t,n,a)}})}(e,t))}}}};function nf(e){return function(...t){const n=t[0];return t[0]=hm(n,{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${xl(e)}`}}),e.apply(this,t)}}function af(e){return function(t){return e.apply(this,[hm(t,{mechanism:{data:{handler:xl(e)},handled:!1,type:"auto.browser.browserapierrors.requestAnimationFrame"}})])}}function rf(e){return function(...t){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(e=>{e in n&&"function"==typeof n[e]&&Zl(n,e,function(t){const n={mechanism:{data:{handler:xl(t)},handled:!1,type:`auto.browser.browserapierrors.xhr.${e}`}},a=nd(t);return a&&(n.mechanism.data.handler=xl(a)),hm(t,n)})}),e.apply(this,t)}}const of=(e={})=>{const t=e.lifecycle??"route";return{name:"BrowserSession",setupOnce(){if(void 0===lm.document)return void(qm&&vl.warn("Using the `browserSessionIntegration` in non-browser environments is not supported."));Hp({ignoreDuration:!0}),Jp();const e=qd();let n=e.getUser();e.addScopeListener(e=>{const t=e.getUser();n?.id===t?.id&&n?.ip_address===t?.ip_address||(Jp(),n=t)}),"route"===t&&Im(({from:e,to:t})=>{e!==t&&(Hp({ignoreDuration:!0}),Jp())})}}},sf=()=>({name:"CultureContext",preprocessEvent(e){const t=function(){try{const e=lm.Intl;if(!e)return;const t=e.DateTimeFormat().resolvedOptions();return{locale:t.locale,timezone:t.timeZone,calendar:t.calendar}}catch{return}}();t&&(e.contexts={...e.contexts,culture:{...t,...e.contexts?.culture}})}});const cf=(e={})=>{const t={onerror:!0,onunhandledrejection:!0,...e};return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(e){t.onerror&&(!function(e){!function(e){const t="error";Ol(t,e),Cl(t,Dl)}(t=>{const{stackParser:n,attachStacktrace:a}=lf();if($d()!==e||pm())return;const{msg:r,url:i,line:o,column:s,error:c}=t,u=function(e,t,n,a){const r=e.exception=e.exception||{},i=r.values=r.values||[],o=i[0]=i[0]||{},s=o.stacktrace=o.stacktrace||{},c=s.frames=s.frames||[],u=a,l=n,d=function(e){if(!ql(e)||0===e.length)return;if(e.startsWith("data:"))return`<${function(e,t=!0){if(e.startsWith("data:")){const n=e.match(/^data:([^;,]+)/),a=n?n[1]:"text/plain",r=e.includes(";base64,"),i=e.indexOf(",");let o="";if(t&&-1!==i){const t=e.slice(i+1);o=t.length>10?`${t.slice(0,10)}... [truncated]`:t}return`data:${a}${r?",base64":""}${o?`,${o}`:""}`}return e}(e,!1)}>`;return e}(t)??Xl();0===c.length&&c.push({colno:u,filename:d,function:_l,in_app:!0,lineno:l});return e}(wm(n,c||r,void 0,a,!1),i,o,s);u.level="error",Qp(u,{originalException:c,mechanism:{handled:!1,type:"auto.browser.global_handlers.onerror"}})})}(e),uf("onerror")),t.onunhandledrejection&&(!function(e){!function(e){const t="unhandledrejection";Ol(t,e),Cl(t,Il)}(t=>{const{stackParser:n,attachStacktrace:a}=lf();if($d()!==e||pm())return;const r=function(e){if(Bl(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch{}return e}(t),i=Bl(r)?{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(r)}`}]}}:wm(n,r,void 0,a,!0);i.level="error",Qp(i,{originalException:r,mechanism:{handled:!1,type:"auto.browser.global_handlers.onunhandledrejection"}})})}(e),uf("onunhandledrejection"))}}};function uf(e){qm&&vl.log(`Global Handler attached: ${e}`)}function lf(){const e=$d();return e?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}const df=()=>({name:"HttpContext",preprocessEvent(e){if(!lm.navigator&&!lm.location&&!lm.document)return;const t=function(){const e=Xl(),{referrer:t}=lm.document||{},{userAgent:n}=lm.navigator||{};return{url:e,headers:{...t&&{Referer:t},...n&&{"User-Agent":n}}}}(),n={...t.headers,...e.request?.headers};e.request={...t,...e.request,headers:n}}}),pf=(e={})=>{const t=e.limit||5,n=e.key||"cause";return{name:"LinkedErrors",preprocessEvent(e,a,r){Uh(mm,r.getOptions().stackParser,n,t,e,a)}}};function hf(){return!!function(){if(void 0===lm.window)return!1;const e=lm;if(e.nw)return!1;const t=e.chrome||e.browser;if(!t?.runtime?.id)return!1;const n=Xl(),a=["chrome-extension","moz-extension","ms-browser-extension","safari-web-extension"];return!(lm===lm.top&&a.some(e=>n.startsWith(`${e}://`)))}()&&(qm&&pl(()=>{}),!0)}function mf(e={}){const t=!e.skipBrowserExtensionCheck&&hf();let n=null==e.defaultIntegrations?[$h(),zh(),tm(),tf(),Zm(),cf(),pf(),Jh(),df(),sf(),of()]:e.defaultIntegrations;const a={...e,enabled:!t&&e.enabled,stackParser:(r=e.stackParser||Ym,Array.isArray(r)?bl(...r):r),integrations:eh({integrations:e.integrations,defaultIntegrations:n}),transport:e.transport||Lm};var r;return Mh(Em,a)}function ff(e){const t="undefined"!=typeof window?window.location.href:void 0;Gp("portal_code",e.portalCode),Gp("object_code",e.objectCode??""),Gp("locale",e.locale??""),function(e,t){qd().setContext(e,t)}("bukazu",{portal_code:e.portalCode,object_code:e.objectCode??null,locale:e.locale??null,url:t??null})}function vf(e){Wp(e)}function _f(e){!function(e,t){const n=t;Ld().captureMessage(e,n,void 0)}(e,"error")}const gf=new WeakSet;function yf(e,t=!1){gf.has(e.errors)||(gf.add(e.errors),vf(e.errors));const n=l.jsxs("div",{className:"bukazu-error-message",children:[l.jsx("h2",{children:$s("something_went_wrong_please_try_again")}),l.jsx("ul",{children:e.errors.graphQLErrors.map(e=>l.jsx("li",{children:e.message},e.message))})]});return 1==t?l.jsx(al,{show:!0,children:n}):n}const bf=e=>"[object Object]"===Object.prototype.toString.call(e),kf={code:"en-GB",formatDistance:dc,formatLong:{date:pc({formats:{full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"dd/MM/yyyy"},defaultWidth:"full"}),time:pc({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:pc({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},formatRelative:fc,localize:_c,match:bc,options:{weekStartsOn:1,firstWeekContainsDate:4}},wf={en:kf};function xf(e,t){const n="undefined"!=typeof window?window.__localeId__:void 0;return Xc(e,t,{locale:n&&wf[n]||wf.en||kf})}function Sf(e){return Yu(e,"yyyy-MM-dd",new Date)}const Ef="EEEE dd MMMM yyyy",jf=e.createContext({locale:"nl",portalCode:"",objectCode:""});function Tf({filters:t,PortalSite:n,limit:a,skip:r,onPageChange:i,activePage:o}){const{portalCode:s}=e.useContext(jf);let c=null,u=!1;t.departure_date&&t.arrival_date?(c=rc(Sf(t.departure_date),Sf(t.arrival_date)),u=!0):t.arrival_date&&(c=1);let p=t.properties||[];p=p.map(e=>JSON.stringify(e));let h=p.join(","),m={id:s,country_id:t.countries||null,region_id:t.regions||null,city_id:t.cities,persons_min:Number(t.persons_min)||null,persons_max:Number(t.persons_max)||null,bedrooms_min:Number(t.bedrooms_min),bathrooms_min:Number(t.bathrooms_min),arrival_date:t.arrival_date,starts_at:t.arrival_date,ends_at:t.departure_date,no_nights:Number(c)||null,extra_search:t.extra_search,properties:h,weekprice_max:Number(t.weekprice_max)||null,limit:a,skip:r};const{loading:f,error:v,data:_}=ts(u?ks:bs,{variables:m});if(f)return l.jsx("div",{children:l.jsx(d,{})});if(v)return l.jsx("div",{children:l.jsx(yf,{errors:v})});const g=l.jsx(nl,{variables:m,activePage:o,limit:a,onPageChange:i}),y=_.PortalSite.houses;return l.jsxs("div",{id:"results",className:n.options.filtersForm?n.options.filtersForm.mode:"",children:[g,0===y.length?l.jsx("div",{className:"bu-noresults",children:$s("no_results")}):null,y.map(e=>l.jsx(tl,{result:e,options:n.options.filtersForm},e.id)),g]})}async function Of(e){const t=Cf("bu_portal_session"),n={...e,url:window.location.href,session_identifier:t};fetch("https://api.bukazu.com/tracking",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(n)}).then(e=>e.text()).then(e=>{!function(e,t,n){const a=new Date;a.setTime(a.getTime()+24*n*60*60*1e3);let r="expires="+a.toUTCString();document.cookie=e+"="+t+";"+r+";path=/"}("bu_portal_session",e,14)})}function Cf(e){let t=e+"=",n=decodeURIComponent(document.cookie).split(";");for(let a=0;a<n.length;a++){let e=n[a];for(;" "==e.charAt(0);)e=e.substring(1);if(0==e.indexOf(t))return e.substring(t.length,e.length)}return""}class Nf extends e.Component{constructor(e){super(e);let t=this.props.options.filtersForm?Number(this.props.options.filtersForm.no_results):20;this.state={filters:this.props.filters||{},activePage:1,limit:t,skip:0},this.onFilterChange=this.onFilterChange.bind(this),this.pageChange=this.pageChange.bind(this)}componentDidMount(){let e=localStorage.getItem("bukazuFilters"),t=localStorage.getItem("bukazuActivePage");e&&this.setState({filters:JSON.parse(e)}),t&&this.pageChange(parseInt(t)||0)}onFilterChange(e){let t=e;this.setState({filters:t}),localStorage.setItem("bukazuFilters",JSON.stringify(t)),this.pageChange(0)}pageChange(e){const{limit:t}=this.state;let n=e*t;localStorage.setItem("bukazuActivePage",e.toString()),this.setState({activePage:e,skip:n})}render(){const{filters:e,activePage:t,limit:n,skip:a}=this.state,{options:r,PortalSite:i,locale:o}=this.props;return Of({portal_code:i.portal_code,interaction_type:"search_view",locale:o}),l.jsxs("div",{id:"search-page",className:r.filtersForm?"right"===r.filtersForm.location?"bu-reverse":"top"===r.filtersForm.location?"bu-column":"":"",children:[l.jsx(Vs,{PortalSite:i,filters:e,onFilterChange:this.onFilterChange,options:r}),l.jsx(Tf,{PortalSite:i,filters:e,activePage:t,onPageChange:this.pageChange,skip:a,limit:n})]})}}var Mf=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===Df}(e)}(e)};var Df="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Af(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Pf((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function If(e,t,n){return e.concat(t).map(function(e){return Af(e,n)})}function Pf(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||If,n.isMergeableObject=n.isMergeableObject||Mf;var a=Array.isArray(t);return a===Array.isArray(e)?a?n.arrayMerge(e,t,n):function(e,t,n){var a={};return n.isMergeableObject(e)&&Object.keys(e).forEach(function(t){a[t]=Af(e[t],n)}),Object.keys(t).forEach(function(r){n.isMergeableObject(t[r])&&e[r]?a[r]=Pf(e[r],t[r],n):a[r]=Af(t[r],n)}),a}(e,t,n):Af(t,n)}Pf.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,n){return Pf(e,n,t)},{})};var Rf=Pf,Ff="object"==typeof global&&global&&global.Object===Object&&global,zf="object"==typeof self&&self&&self.Object===Object&&self,Lf=Ff||zf||Function("return this")(),qf=Lf.Symbol,$f=Object.prototype,Bf=$f.hasOwnProperty,Vf=$f.toString,Uf=qf?qf.toStringTag:void 0;var Wf=Object.prototype.toString;var Qf=qf?qf.toStringTag:void 0;function Gf(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Qf&&Qf in Object(e)?function(e){var t=Bf.call(e,Uf),n=e[Uf];try{e[Uf]=void 0;var a=!0}catch(i){}var r=Vf.call(e);return a&&(t?e[Uf]=n:delete e[Uf]),r}(e):function(e){return Wf.call(e)}(e)}function Hf(e,t){return function(n){return e(t(n))}}var Kf=Hf(Object.getPrototypeOf,Object);function Yf(e){return null!=e&&"object"==typeof e}var Jf=Function.prototype,Xf=Object.prototype,Zf=Jf.toString,ev=Xf.hasOwnProperty,tv=Zf.call(Object);function nv(e){if(!Yf(e)||"[object Object]"!=Gf(e))return!1;var t=Kf(e);if(null===t)return!0;var n=ev.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Zf.call(n)==tv}function av(e,t){return e===t||e!=e&&t!=t}function rv(e,t){for(var n=e.length;n--;)if(av(e[n][0],t))return n;return-1}var iv=Array.prototype.splice;function ov(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var a=e[t];this.set(a[0],a[1])}}function sv(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}ov.prototype.clear=function(){this.__data__=[],this.size=0},ov.prototype.delete=function(e){var t=this.__data__,n=rv(t,e);return!(n<0)&&(n==t.length-1?t.pop():iv.call(t,n,1),--this.size,!0)},ov.prototype.get=function(e){var t=this.__data__,n=rv(t,e);return n<0?void 0:t[n][1]},ov.prototype.has=function(e){return rv(this.__data__,e)>-1},ov.prototype.set=function(e,t){var n=this.__data__,a=rv(n,e);return a<0?(++this.size,n.push([e,t])):n[a][1]=t,this};function cv(e){if(!sv(e))return!1;var t=Gf(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}var uv,lv=Lf["__core-js_shared__"],dv=(uv=/[^.]+$/.exec(lv&&lv.keys&&lv.keys.IE_PROTO||""))?"Symbol(src)_1."+uv:"";var pv=Function.prototype.toString;function hv(e){if(null!=e){try{return pv.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var mv=/^\[object .+?Constructor\]$/,fv=Function.prototype,vv=Object.prototype,_v=fv.toString,gv=vv.hasOwnProperty,yv=RegExp("^"+_v.call(gv).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function bv(e){return!(!sv(e)||(t=e,dv&&dv in t))&&(cv(e)?yv:mv).test(hv(e));var t}function kv(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return bv(n)?n:void 0}var wv=kv(Lf,"Map"),xv=kv(Object,"create");var Sv=Object.prototype.hasOwnProperty;var Ev=Object.prototype.hasOwnProperty;function jv(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var a=e[t];this.set(a[0],a[1])}}function Tv(e,t){var n,a,r=e.__data__;return("string"==(a=typeof(n=t))||"number"==a||"symbol"==a||"boolean"==a?"__proto__"!==n:null===n)?r["string"==typeof t?"string":"hash"]:r.map}function Ov(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var a=e[t];this.set(a[0],a[1])}}jv.prototype.clear=function(){this.__data__=xv?xv(null):{},this.size=0},jv.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},jv.prototype.get=function(e){var t=this.__data__;if(xv){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return Sv.call(t,e)?t[e]:void 0},jv.prototype.has=function(e){var t=this.__data__;return xv?void 0!==t[e]:Ev.call(t,e)},jv.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=xv&&void 0===t?"__lodash_hash_undefined__":t,this},Ov.prototype.clear=function(){this.size=0,this.__data__={hash:new jv,map:new(wv||ov),string:new jv}},Ov.prototype.delete=function(e){var t=Tv(this,e).delete(e);return this.size-=t?1:0,t},Ov.prototype.get=function(e){return Tv(this,e).get(e)},Ov.prototype.has=function(e){return Tv(this,e).has(e)},Ov.prototype.set=function(e,t){var n=Tv(this,e),a=n.size;return n.set(e,t),this.size+=n.size==a?0:1,this};function Cv(e){var t=this.__data__=new ov(e);this.size=t.size}Cv.prototype.clear=function(){this.__data__=new ov,this.size=0},Cv.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Cv.prototype.get=function(e){return this.__data__.get(e)},Cv.prototype.has=function(e){return this.__data__.has(e)},Cv.prototype.set=function(e,t){var n=this.__data__;if(n instanceof ov){var a=n.__data__;if(!wv||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new Ov(a)}return n.set(e,t),this.size=n.size,this};var Nv=function(){try{var e=kv(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();function Mv(e,t,n){"__proto__"==t&&Nv?Nv(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var Dv=Object.prototype.hasOwnProperty;function Av(e,t,n){var a=e[t];Dv.call(e,t)&&av(a,n)&&(void 0!==n||t in e)||Mv(e,t,n)}function Iv(e,t,n,a){var r=!n;n||(n={});for(var i=-1,o=t.length;++i<o;){var s=t[i],c=void 0;void 0===c&&(c=e[s]),r?Mv(n,s,c):Av(n,s,c)}return n}function Pv(e){return Yf(e)&&"[object Arguments]"==Gf(e)}var Rv=Object.prototype,Fv=Rv.hasOwnProperty,zv=Rv.propertyIsEnumerable,Lv=Pv(function(){return arguments}())?Pv:function(e){return Yf(e)&&Fv.call(e,"callee")&&!zv.call(e,"callee")},qv=Array.isArray;var $v="object"==typeof exports&&exports&&!exports.nodeType&&exports,Bv=$v&&"object"==typeof module&&module&&!module.nodeType&&module,Vv=Bv&&Bv.exports===$v?Lf.Buffer:void 0,Uv=(Vv?Vv.isBuffer:void 0)||function(){return!1},Wv=/^(?:0|[1-9]\d*)$/;function Qv(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&Wv.test(e))&&e>-1&&e%1==0&&e<t}function Gv(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}var Hv={};function Kv(e){return function(t){return e(t)}}Hv["[object Float32Array]"]=Hv["[object Float64Array]"]=Hv["[object Int8Array]"]=Hv["[object Int16Array]"]=Hv["[object Int32Array]"]=Hv["[object Uint8Array]"]=Hv["[object Uint8ClampedArray]"]=Hv["[object Uint16Array]"]=Hv["[object Uint32Array]"]=!0,Hv["[object Arguments]"]=Hv["[object Array]"]=Hv["[object ArrayBuffer]"]=Hv["[object Boolean]"]=Hv["[object DataView]"]=Hv["[object Date]"]=Hv["[object Error]"]=Hv["[object Function]"]=Hv["[object Map]"]=Hv["[object Number]"]=Hv["[object Object]"]=Hv["[object RegExp]"]=Hv["[object Set]"]=Hv["[object String]"]=Hv["[object WeakMap]"]=!1;var Yv="object"==typeof exports&&exports&&!exports.nodeType&&exports,Jv=Yv&&"object"==typeof module&&module&&!module.nodeType&&module,Xv=Jv&&Jv.exports===Yv&&Ff.process,Zv=function(){try{var e=Jv&&Jv.require&&Jv.require("util").types;return e||Xv&&Xv.binding&&Xv.binding("util")}catch(t){}}(),e_=Zv&&Zv.isTypedArray,t_=e_?Kv(e_):function(e){return Yf(e)&&Gv(e.length)&&!!Hv[Gf(e)]},n_=Object.prototype.hasOwnProperty;function a_(e,t){var n=qv(e),a=!n&&Lv(e),r=!n&&!a&&Uv(e),i=!n&&!a&&!r&&t_(e),o=n||a||r||i,s=o?function(e,t){for(var n=-1,a=Array(e);++n<e;)a[n]=t(n);return a}(e.length,String):[],c=s.length;for(var u in e)!t&&!n_.call(e,u)||o&&("length"==u||r&&("offset"==u||"parent"==u)||i&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||Qv(u,c))||s.push(u);return s}var r_=Object.prototype;function i_(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||r_)}var o_=Hf(Object.keys,Object),s_=Object.prototype.hasOwnProperty;function c_(e){return null!=e&&Gv(e.length)&&!cv(e)}function u_(e){return c_(e)?a_(e):function(e){if(!i_(e))return o_(e);var t=[];for(var n in Object(e))s_.call(e,n)&&"constructor"!=n&&t.push(n);return t}(e)}var l_=Object.prototype.hasOwnProperty;function d_(e){if(!sv(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=i_(e),n=[];for(var a in e)("constructor"!=a||!t&&l_.call(e,a))&&n.push(a);return n}function p_(e){return c_(e)?a_(e,!0):d_(e)}var h_="object"==typeof exports&&exports&&!exports.nodeType&&exports,m_=h_&&"object"==typeof module&&module&&!module.nodeType&&module,f_=m_&&m_.exports===h_?Lf.Buffer:void 0,v_=f_?f_.allocUnsafe:void 0;function __(e,t){var n=-1,a=e.length;for(t||(t=Array(a));++n<a;)t[n]=e[n];return t}function g_(){return[]}var y_=Object.prototype.propertyIsEnumerable,b_=Object.getOwnPropertySymbols,k_=b_?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var n=-1,a=null==e?0:e.length,r=0,i=[];++n<a;){var o=e[n];t(o,n,e)&&(i[r++]=o)}return i}(b_(e),function(t){return y_.call(e,t)}))}:g_;function w_(e,t){for(var n=-1,a=t.length,r=e.length;++n<a;)e[r+n]=t[n];return e}var x_=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)w_(t,k_(e)),e=Kf(e);return t}:g_;function S_(e,t,n){var a=t(e);return qv(e)?a:w_(a,n(e))}function E_(e){return S_(e,u_,k_)}function j_(e){return S_(e,p_,x_)}var T_=kv(Lf,"DataView"),O_=kv(Lf,"Promise"),C_=kv(Lf,"Set"),N_=kv(Lf,"WeakMap"),M_="[object Map]",D_="[object Promise]",A_="[object Set]",I_="[object WeakMap]",P_="[object DataView]",R_=hv(T_),F_=hv(wv),z_=hv(O_),L_=hv(C_),q_=hv(N_),$_=Gf;(T_&&$_(new T_(new ArrayBuffer(1)))!=P_||wv&&$_(new wv)!=M_||O_&&$_(O_.resolve())!=D_||C_&&$_(new C_)!=A_||N_&&$_(new N_)!=I_)&&($_=function(e){var t=Gf(e),n="[object Object]"==t?e.constructor:void 0,a=n?hv(n):"";if(a)switch(a){case R_:return P_;case F_:return M_;case z_:return D_;case L_:return A_;case q_:return I_}return t});var B_=Object.prototype.hasOwnProperty;var V_=Lf.Uint8Array;function U_(e){var t=new e.constructor(e.byteLength);return new V_(t).set(new V_(e)),t}var W_=/\w*$/;var Q_=qf?qf.prototype:void 0,G_=Q_?Q_.valueOf:void 0;function H_(e,t,n){var a,r,i,o=e.constructor;switch(t){case"[object ArrayBuffer]":return U_(e);case"[object Boolean]":case"[object Date]":return new o(+e);case"[object DataView]":return function(e,t){var n=t?U_(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return function(e,t){var n=t?U_(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}(e,n);case"[object Map]":case"[object Set]":return new o;case"[object Number]":case"[object String]":return new o(e);case"[object RegExp]":return(i=new(r=e).constructor(r.source,W_.exec(r))).lastIndex=r.lastIndex,i;case"[object Symbol]":return a=e,G_?Object(G_.call(a)):{}}}var K_=Object.create,Y_=function(){function e(){}return function(t){if(!sv(t))return{};if(K_)return K_(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();var J_=Zv&&Zv.isMap,X_=J_?Kv(J_):function(e){return Yf(e)&&"[object Map]"==$_(e)};var Z_=Zv&&Zv.isSet,eg=Z_?Kv(Z_):function(e){return Yf(e)&&"[object Set]"==$_(e)},tg="[object Arguments]",ng="[object Function]",ag="[object Object]",rg={};function ig(e,t,n,a,r,i){var o,s=1&t,c=2&t,u=4&t;if(void 0!==o)return o;if(!sv(e))return e;var l=qv(e);if(l){if(o=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&B_.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(e),!s)return __(e,o)}else{var d=$_(e),p=d==ng||"[object GeneratorFunction]"==d;if(Uv(e))return function(e,t){if(t)return e.slice();var n=e.length,a=v_?v_(n):new e.constructor(n);return e.copy(a),a}(e,s);if(d==ag||d==tg||p&&!r){if(o=c||p?{}:function(e){return"function"!=typeof e.constructor||i_(e)?{}:Y_(Kf(e))}(e),!s)return c?function(e,t){return Iv(e,x_(e),t)}(e,function(e,t){return e&&Iv(t,p_(t),e)}(o,e)):function(e,t){return Iv(e,k_(e),t)}(e,function(e,t){return e&&Iv(t,u_(t),e)}(o,e))}else{if(!rg[d])return r?e:{};o=H_(e,d,s)}}i||(i=new Cv);var h=i.get(e);if(h)return h;i.set(e,o),eg(e)?e.forEach(function(a){o.add(ig(a,t,n,a,e,i))}):X_(e)&&e.forEach(function(a,r){o.set(r,ig(a,t,n,r,e,i))});var m=l?void 0:(u?c?j_:E_:c?p_:u_)(e);return function(e,t){for(var n=-1,a=null==e?0:e.length;++n<a&&!1!==t(e[n],n,e););}(m||e,function(a,r){m&&(a=e[r=a]),Av(o,r,ig(a,t,n,r,e,i))}),o}rg[tg]=rg["[object Array]"]=rg["[object ArrayBuffer]"]=rg["[object DataView]"]=rg["[object Boolean]"]=rg["[object Date]"]=rg["[object Float32Array]"]=rg["[object Float64Array]"]=rg["[object Int8Array]"]=rg["[object Int16Array]"]=rg["[object Int32Array]"]=rg["[object Map]"]=rg["[object Number]"]=rg[ag]=rg["[object RegExp]"]=rg["[object Set]"]=rg["[object String]"]=rg["[object Symbol]"]=rg["[object Uint8Array]"]=rg["[object Uint8ClampedArray]"]=rg["[object Uint16Array]"]=rg["[object Uint32Array]"]=!0,rg["[object Error]"]=rg[ng]=rg["[object WeakMap]"]=!1;var og,sg;function cg(e){return ig(e,5)}const ug=n(function(){if(sg)return og;sg=1;var e=Array.isArray,t=Object.keys,n=Object.prototype.hasOwnProperty,a="undefined"!=typeof Element;function r(i,o){if(i===o)return!0;if(i&&o&&"object"==typeof i&&"object"==typeof o){var s,c,u,l=e(i),d=e(o);if(l&&d){if((c=i.length)!=o.length)return!1;for(s=c;0!==s--;)if(!r(i[s],o[s]))return!1;return!0}if(l!=d)return!1;var p=i instanceof Date,h=o instanceof Date;if(p!=h)return!1;if(p&&h)return i.getTime()==o.getTime();var m=i instanceof RegExp,f=o instanceof RegExp;if(m!=f)return!1;if(m&&f)return i.toString()==o.toString();var v=t(i);if((c=v.length)!==t(o).length)return!1;for(s=c;0!==s--;)if(!n.call(o,v[s]))return!1;if(a&&i instanceof Element&&o instanceof Element)return i===o;for(s=c;0!==s--;)if(!("_owner"===(u=v[s])&&i.$$typeof||r(i[u],o[u])))return!1;return!0}return i!=i&&o!=o}return og=function(e,t){try{return r(e,t)}catch(n){if(n.message&&n.message.match(/stack|recursion/i)||-2146828260===n.number)return!1;throw n}}}());var lg="production"===process.env.NODE_ENV;function dg(e,t){if(!lg){var n="Warning: "+t;try{throw Error(n)}catch(a){}}}function pg(e){return ig(e,4)}function hg(e,t){for(var n=-1,a=null==e?0:e.length,r=Array(a);++n<a;)r[n]=t(e[n],n,e);return r}function mg(e){return"symbol"==typeof e||Yf(e)&&"[object Symbol]"==Gf(e)}function fg(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var a=arguments,r=t?t.apply(this,a):a[0],i=n.cache;if(i.has(r))return i.get(r);var o=e.apply(this,a);return n.cache=i.set(r,o)||i,o};return n.cache=new(fg.Cache||Ov),n}fg.Cache=Ov;var vg,_g,gg,yg=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,bg=/\\(\\)?/g,kg=(vg=function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(yg,function(e,n,a,r){t.push(a?r.replace(bg,"$1"):n||e)}),t},_g=fg(vg,function(e){return 500===gg.size&&gg.clear(),e}),gg=_g.cache,_g);function wg(e){if("string"==typeof e||mg(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}var xg=qf?qf.prototype:void 0,Sg=xg?xg.toString:void 0;function Eg(e){if("string"==typeof e)return e;if(qv(e))return hg(e,Eg)+"";if(mg(e))return Sg?Sg.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function jg(e){return qv(e)?hg(e,wg):mg(e)?[e]:__(kg(function(e){return null==e?"":Eg(e)}(e)))}var Tg,Og={exports:{}},Cg={};var Ng,Mg,Dg,Ag,Ig={};function Pg(){return Mg||(Mg=1,"production"===process.env.NODE_ENV?Og.exports=function(){if(Tg)return Cg;Tg=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,a=e?Symbol.for("react.fragment"):60107,r=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,o=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,l=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,f=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,_=e?Symbol.for("react.responder"):60118,g=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:switch(e=e.type){case c:case u:case a:case i:case r:case d:return e;default:switch(e=e&&e.$$typeof){case s:case l:case m:case h:case o:return e;default:return p}}case n:return p}}}function b(e){return y(e)===u}return Cg.AsyncMode=c,Cg.ConcurrentMode=u,Cg.ContextConsumer=s,Cg.ContextProvider=o,Cg.Element=t,Cg.ForwardRef=l,Cg.Fragment=a,Cg.Lazy=m,Cg.Memo=h,Cg.Portal=n,Cg.Profiler=i,Cg.StrictMode=r,Cg.Suspense=d,Cg.isAsyncMode=function(e){return b(e)||y(e)===c},Cg.isConcurrentMode=b,Cg.isContextConsumer=function(e){return y(e)===s},Cg.isContextProvider=function(e){return y(e)===o},Cg.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Cg.isForwardRef=function(e){return y(e)===l},Cg.isFragment=function(e){return y(e)===a},Cg.isLazy=function(e){return y(e)===m},Cg.isMemo=function(e){return y(e)===h},Cg.isPortal=function(e){return y(e)===n},Cg.isProfiler=function(e){return y(e)===i},Cg.isStrictMode=function(e){return y(e)===r},Cg.isSuspense=function(e){return y(e)===d},Cg.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===u||e===i||e===r||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===o||e.$$typeof===s||e.$$typeof===l||e.$$typeof===v||e.$$typeof===_||e.$$typeof===g||e.$$typeof===f)},Cg.typeOf=y,Cg}():Og.exports=(Ng||(Ng=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,a=e?Symbol.for("react.fragment"):60107,r=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,o=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,l=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,f=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,_=e?Symbol.for("react.responder"):60118,g=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:var f=e.type;switch(f){case c:case u:case a:case i:case r:case d:return f;default:var v=f&&f.$$typeof;switch(v){case s:case l:case m:case h:case o:return v;default:return p}}case n:return p}}}var b=c,k=u,w=s,x=o,S=t,E=l,j=a,T=m,O=h,C=n,N=i,M=r,D=d,A=!1;function I(e){return y(e)===u}Ig.AsyncMode=b,Ig.ConcurrentMode=k,Ig.ContextConsumer=w,Ig.ContextProvider=x,Ig.Element=S,Ig.ForwardRef=E,Ig.Fragment=j,Ig.Lazy=T,Ig.Memo=O,Ig.Portal=C,Ig.Profiler=N,Ig.StrictMode=M,Ig.Suspense=D,Ig.isAsyncMode=function(e){return A||(A=!0),I(e)||y(e)===c},Ig.isConcurrentMode=I,Ig.isContextConsumer=function(e){return y(e)===s},Ig.isContextProvider=function(e){return y(e)===o},Ig.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Ig.isForwardRef=function(e){return y(e)===l},Ig.isFragment=function(e){return y(e)===a},Ig.isLazy=function(e){return y(e)===m},Ig.isMemo=function(e){return y(e)===h},Ig.isPortal=function(e){return y(e)===n},Ig.isProfiler=function(e){return y(e)===i},Ig.isStrictMode=function(e){return y(e)===r},Ig.isSuspense=function(e){return y(e)===d},Ig.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===u||e===i||e===r||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===o||e.$$typeof===s||e.$$typeof===l||e.$$typeof===v||e.$$typeof===_||e.$$typeof===g||e.$$typeof===f)},Ig.typeOf=y}()),Ig)),Og.exports}function Rg(){return Rg=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Rg.apply(this,arguments)}function Fg(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}!function(){if(Ag)return Dg;Ag=1;var e=Pg(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={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},r={};function i(n){return e.isMemo(n)?a:r[n.$$typeof]||t}r[e.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},r[e.Memo]=a;var o=Object.defineProperty,s=Object.getOwnPropertyNames,c=Object.getOwnPropertySymbols,u=Object.getOwnPropertyDescriptor,l=Object.getPrototypeOf,d=Object.prototype;Dg=function e(t,a,r){if("string"!=typeof a){if(d){var p=l(a);p&&p!==d&&e(t,p,r)}var h=s(a);c&&(h=h.concat(c(a)));for(var m=i(t),f=i(a),v=0;v<h.length;++v){var _=h[v];if(!(n[_]||r&&r[_]||f&&f[_]||m&&m[_])){var g=u(a,_);try{o(t,_,g)}catch(y){}}}}return t}}();var zg=e.createContext(void 0);zg.displayName="FormikContext";var Lg=zg.Provider;function qg(){var t=e.useContext(zg);return t||("production"!==process.env.NODE_ENV?dg(0,"Formik context is undefined, please verify you are calling useFormikContext() as child of a <Formik> component."):dg()),t}zg.Consumer;var $g=function(e){return"function"==typeof e},Bg=function(e){return null!==e&&"object"==typeof e},Vg=function(e){return String(Math.floor(Number(e)))===e},Ug=function(e){return"[object String]"===Object.prototype.toString.call(e)},Wg=function(t){return 0===e.Children.count(t)},Qg=function(e){return Bg(e)&&$g(e.then)};function Gg(e,t,n,a){void 0===a&&(a=0);for(var r=jg(t);e&&a<r.length;)e=e[r[a++]];return a===r.length||e?void 0===e?n:e:n}function Hg(e,t,n){for(var a=pg(e),r=a,i=0,o=jg(t);i<o.length-1;i++){var s=o[i],c=Gg(e,o.slice(0,i+1));if(c&&(Bg(c)||Array.isArray(c)))r=r[s]=pg(c);else{var u=o[i+1];r=r[s]=Vg(u)&&Number(u)>=0?[]:{}}}return(0===i?e:r)[o[i]]===n?e:(void 0===n?delete r[o[i]]:r[o[i]]=n,0===i&&void 0===n&&delete a[o[i]],a)}function Kg(e,t,n,a){void 0===n&&(n=new WeakMap),void 0===a&&(a={});for(var r=0,i=Object.keys(e);r<i.length;r++){var o=i[r],s=e[o];Bg(s)?n.get(s)||(n.set(s,!0),a[o]=Array.isArray(s)?[]:{},Kg(s,t,n,a[o])):a[o]=t}return a}var Yg={},Jg={};function Xg(t){var n=t.validateOnChange,a=void 0===n||n,r=t.validateOnBlur,i=void 0===r||r,o=t.validateOnMount,s=void 0!==o&&o,c=t.isInitialValid,u=t.enableReinitialize,l=void 0!==u&&u,d=t.onSubmit,p=Fg(t,["validateOnChange","validateOnBlur","validateOnMount","isInitialValid","enableReinitialize","onSubmit"]),h=Rg({validateOnChange:a,validateOnBlur:i,validateOnMount:s,onSubmit:d},p),m=e.useRef(h.initialValues),f=e.useRef(h.initialErrors||Yg),v=e.useRef(h.initialTouched||Jg),_=e.useRef(h.initialStatus),g=e.useRef(!1),y=e.useRef({});"production"!==process.env.NODE_ENV&&e.useEffect(function(){void 0!==c&&("production"!==process.env.NODE_ENV?dg(0,"isInitialValid has been deprecated and will be removed in future versions of Formik. Please use initialErrors or validateOnMount instead."):dg())},[]),e.useEffect(function(){return g.current=!0,function(){g.current=!1}},[]);var b=e.useState(0)[1],k=e.useRef({values:cg(h.initialValues),errors:cg(h.initialErrors)||Yg,touched:cg(h.initialTouched)||Jg,status:cg(h.initialStatus),isSubmitting:!1,isValidating:!1,submitCount:0}),w=k.current,x=e.useCallback(function(e){var t=k.current;k.current=function(e,t){switch(t.type){case"SET_VALUES":return Rg({},e,{values:t.payload});case"SET_TOUCHED":return Rg({},e,{touched:t.payload});case"SET_ERRORS":return ug(e.errors,t.payload)?e:Rg({},e,{errors:t.payload});case"SET_STATUS":return Rg({},e,{status:t.payload});case"SET_ISSUBMITTING":return Rg({},e,{isSubmitting:t.payload});case"SET_ISVALIDATING":return Rg({},e,{isValidating:t.payload});case"SET_FIELD_VALUE":return Rg({},e,{values:Hg(e.values,t.payload.field,t.payload.value)});case"SET_FIELD_TOUCHED":return Rg({},e,{touched:Hg(e.touched,t.payload.field,t.payload.value)});case"SET_FIELD_ERROR":return Rg({},e,{errors:Hg(e.errors,t.payload.field,t.payload.value)});case"RESET_FORM":return Rg({},e,t.payload);case"SET_FORMIK_STATE":return t.payload(e);case"SUBMIT_ATTEMPT":return Rg({},e,{touched:Kg(e.values,!0),isSubmitting:!0,submitCount:e.submitCount+1});case"SUBMIT_FAILURE":case"SUBMIT_SUCCESS":return Rg({},e,{isSubmitting:!1});default:return e}}(t,e),t!==k.current&&b(function(e){return e+1})},[]),S=e.useCallback(function(e,t){return new Promise(function(n,a){var r=h.validate(e,t);null==r?n(Yg):Qg(r)?r.then(function(e){n(e||Yg)},function(e){process.env.NODE_ENV,a(e)}):n(r)})},[h.validate]),E=e.useCallback(function(e,t){var n=h.validationSchema,a=$g(n)?n(t):n,r=t&&a.validateAt?a.validateAt(t,e):function(e,t,n){void 0===n&&(n=!1);var a=ty(e);return t[n?"validateSync":"validate"](a,{abortEarly:!1,context:a})}(e,a);return new Promise(function(e,t){r.then(function(){e(Yg)},function(n){"ValidationError"===n.name?e(function(e){var t={};if(e.inner){if(0===e.inner.length)return Hg(t,e.path,e.message);var n=e.inner,a=Array.isArray(n),r=0;for(n=a?n:n[Symbol.iterator]();;){var i;if(a){if(r>=n.length)break;i=n[r++]}else{if((r=n.next()).done)break;i=r.value}var o=i;Gg(t,o.path)||(t=Hg(t,o.path,o.message))}}return t}(n)):(process.env.NODE_ENV,t(n))})})},[h.validationSchema]),j=e.useCallback(function(e,t){return new Promise(function(n){return n(y.current[e].validate(t))})},[]),T=e.useCallback(function(e){var t=Object.keys(y.current).filter(function(e){return $g(y.current[e].validate)}),n=t.length>0?t.map(function(t){return j(t,Gg(e,t))}):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(n).then(function(e){return e.reduce(function(e,n,a){return"DO_NOT_DELETE_YOU_WILL_BE_FIRED"===n||n&&(e=Hg(e,t[a],n)),e},{})})},[j]),O=e.useCallback(function(e){return Promise.all([T(e),h.validationSchema?E(e):{},h.validate?S(e):{}]).then(function(e){var t=e[0],n=e[1],a=e[2];return Rf.all([t,n,a],{arrayMerge:ny})})},[h.validate,h.validationSchema,T,S,E]),C=ry(function(e){return void 0===e&&(e=w.values),x({type:"SET_ISVALIDATING",payload:!0}),O(e).then(function(e){return g.current&&(x({type:"SET_ISVALIDATING",payload:!1}),x({type:"SET_ERRORS",payload:e})),e})});e.useEffect(function(){s&&!0===g.current&&ug(m.current,h.initialValues)&&C(m.current)},[s,C]);var N=e.useCallback(function(e){var t=e&&e.values?e.values:m.current,n=e&&e.errors?e.errors:f.current?f.current:h.initialErrors||{},a=e&&e.touched?e.touched:v.current?v.current:h.initialTouched||{},r=e&&e.status?e.status:_.current?_.current:h.initialStatus;m.current=t,f.current=n,v.current=a,_.current=r;var i=function(){x({type:"RESET_FORM",payload:{isSubmitting:!!e&&!!e.isSubmitting,errors:n,touched:a,status:r,values:t,isValidating:!!e&&!!e.isValidating,submitCount:e&&e.submitCount&&"number"==typeof e.submitCount?e.submitCount:0}})};if(h.onReset){var o=h.onReset(w.values,K);Qg(o)?o.then(i):i()}else i()},[h.initialErrors,h.initialStatus,h.initialTouched,h.onReset]);e.useEffect(function(){!0!==g.current||ug(m.current,h.initialValues)||l&&(m.current=h.initialValues,N(),s&&C(m.current))},[l,h.initialValues,N,s,C]),e.useEffect(function(){l&&!0===g.current&&!ug(f.current,h.initialErrors)&&(f.current=h.initialErrors||Yg,x({type:"SET_ERRORS",payload:h.initialErrors||Yg}))},[l,h.initialErrors]),e.useEffect(function(){l&&!0===g.current&&!ug(v.current,h.initialTouched)&&(v.current=h.initialTouched||Jg,x({type:"SET_TOUCHED",payload:h.initialTouched||Jg}))},[l,h.initialTouched]),e.useEffect(function(){l&&!0===g.current&&!ug(_.current,h.initialStatus)&&(_.current=h.initialStatus,x({type:"SET_STATUS",payload:h.initialStatus}))},[l,h.initialStatus,h.initialTouched]);var M=ry(function(e){if(y.current[e]&&$g(y.current[e].validate)){var t=Gg(w.values,e),n=y.current[e].validate(t);return Qg(n)?(x({type:"SET_ISVALIDATING",payload:!0}),n.then(function(e){return e}).then(function(t){x({type:"SET_FIELD_ERROR",payload:{field:e,value:t}}),x({type:"SET_ISVALIDATING",payload:!1})})):(x({type:"SET_FIELD_ERROR",payload:{field:e,value:n}}),Promise.resolve(n))}return h.validationSchema?(x({type:"SET_ISVALIDATING",payload:!0}),E(w.values,e).then(function(e){return e}).then(function(t){x({type:"SET_FIELD_ERROR",payload:{field:e,value:Gg(t,e)}}),x({type:"SET_ISVALIDATING",payload:!1})})):Promise.resolve()}),D=e.useCallback(function(e,t){var n=t.validate;y.current[e]={validate:n}},[]),A=e.useCallback(function(e){delete y.current[e]},[]),I=ry(function(e,t){return x({type:"SET_TOUCHED",payload:e}),(void 0===t?i:t)?C(w.values):Promise.resolve()}),P=e.useCallback(function(e){x({type:"SET_ERRORS",payload:e})},[]),R=ry(function(e,t){var n=$g(e)?e(w.values):e;return x({type:"SET_VALUES",payload:n}),(void 0===t?a:t)?C(n):Promise.resolve()}),F=e.useCallback(function(e,t){x({type:"SET_FIELD_ERROR",payload:{field:e,value:t}})},[]),z=ry(function(e,t,n){var r=$g(t)?t(Gg(w.values,e)):t;return x({type:"SET_FIELD_VALUE",payload:{field:e,value:r}}),(void 0===n?a:n)?C(Hg(w.values,e,r)):Promise.resolve()}),L=e.useCallback(function(e,t){var n,a=t,r=e;if(!Ug(e)){e.persist&&e.persist();var i=e.target?e.target:e.currentTarget,o=i.type,s=i.name,c=i.id,u=i.value,l=i.checked,d=i.outerHTML,p=i.options,h=i.multiple;(a=t||(s||c))||"production"===process.env.NODE_ENV||ey({htmlContent:d,documentationAnchorLink:"handlechange-e-reactchangeeventany--void",handlerName:"handleChange"}),r=/number|range/.test(o)?(n=parseFloat(u),isNaN(n)?"":n):/checkbox/.test(o)?function(e,t,n){if("boolean"==typeof e)return Boolean(t);var a=[],r=!1,i=-1;if(Array.isArray(e))a=e,r=(i=e.indexOf(n))>=0;else if(!n||"true"==n||"false"==n)return Boolean(t);if(t&&n&&!r)return a.concat(n);if(!r)return a;return a.slice(0,i).concat(a.slice(i+1))}(Gg(w.values,a),l,u):p&&h?function(e){return Array.from(e).filter(function(e){return e.selected}).map(function(e){return e.value})}(p):u}a&&z(a,r)},[z,w.values]),q=ry(function(e){if(Ug(e))return function(t){return L(t,e)};L(e)}),$=ry(function(e,t,n){return void 0===t&&(t=!0),x({type:"SET_FIELD_TOUCHED",payload:{field:e,value:t}}),(void 0===n?i:n)?C(w.values):Promise.resolve()}),B=e.useCallback(function(e,t){e.persist&&e.persist();var n=e.target,a=n.name,r=n.id,i=n.outerHTML,o=t||(a||r);o||"production"===process.env.NODE_ENV||ey({htmlContent:i,documentationAnchorLink:"handleblur-e-any--void",handlerName:"handleBlur"}),$(o,!0)},[$]),V=ry(function(e){if(Ug(e))return function(t){return B(t,e)};B(e)}),U=e.useCallback(function(e){$g(e)?x({type:"SET_FORMIK_STATE",payload:e}):x({type:"SET_FORMIK_STATE",payload:function(){return e}})},[]),W=e.useCallback(function(e){x({type:"SET_STATUS",payload:e})},[]),Q=e.useCallback(function(e){x({type:"SET_ISSUBMITTING",payload:e})},[]),G=ry(function(){return x({type:"SUBMIT_ATTEMPT"}),C().then(function(e){var t=e instanceof Error;if(!t&&0===Object.keys(e).length){var n;try{if(void 0===(n=Y()))return}catch(a){throw a}return Promise.resolve(n).then(function(e){return g.current&&x({type:"SUBMIT_SUCCESS"}),e}).catch(function(e){if(g.current)throw x({type:"SUBMIT_FAILURE"}),e})}if(g.current&&(x({type:"SUBMIT_FAILURE"}),t))throw e})}),H=ry(function(e){if(e&&e.preventDefault&&$g(e.preventDefault)&&e.preventDefault(),e&&e.stopPropagation&&$g(e.stopPropagation)&&e.stopPropagation(),"production"!==process.env.NODE_ENV&&"undefined"!=typeof document){var t=function(t){if(void 0===(t=t||("undefined"!=typeof document?document:void 0)))return null;try{return t.activeElement||t.body}catch(e){return t.body}}();null!==t&&t instanceof HTMLButtonElement&&(t.attributes&&t.attributes.getNamedItem("type")||("production"!==process.env.NODE_ENV?dg(0,'You submitted a Formik form using a button with an unspecified `type` attribute. Most browsers default button elements to `type="submit"`. If this is not a submit button, please add `type="button"`.'):dg()))}G().catch(function(e){})}),K={resetForm:N,validateForm:C,validateField:M,setErrors:P,setFieldError:F,setFieldTouched:$,setFieldValue:z,setStatus:W,setSubmitting:Q,setTouched:I,setValues:R,setFormikState:U,submitForm:G},Y=ry(function(){return d(w.values,K)}),J=ry(function(e){e&&e.preventDefault&&$g(e.preventDefault)&&e.preventDefault(),e&&e.stopPropagation&&$g(e.stopPropagation)&&e.stopPropagation(),N()}),X=e.useCallback(function(e){return{value:Gg(w.values,e),error:Gg(w.errors,e),touched:!!Gg(w.touched,e),initialValue:Gg(m.current,e),initialTouched:!!Gg(v.current,e),initialError:Gg(f.current,e)}},[w.errors,w.touched,w.values]),Z=e.useCallback(function(e){return{setValue:function(t,n){return z(e,t,n)},setTouched:function(t,n){return $(e,t,n)},setError:function(t){return F(e,t)}}},[z,$,F]),ee=e.useCallback(function(e){var t=Bg(e),n=t?e.name:e,a=Gg(w.values,n),r={name:n,value:a,onChange:q,onBlur:V};if(t){var i=e.type,o=e.value,s=e.as,c=e.multiple;"checkbox"===i?void 0===o?r.checked=!!a:(r.checked=!(!Array.isArray(a)||!~a.indexOf(o)),r.value=o):"radio"===i?(r.checked=a===o,r.value=o):"select"===s&&c&&(r.value=r.value||[],r.multiple=!0)}return r},[V,q,w.values]),te=e.useMemo(function(){return!ug(m.current,w.values)},[m.current,w.values]),ne=e.useMemo(function(){return void 0!==c?te?w.errors&&0===Object.keys(w.errors).length:!1!==c&&$g(c)?c(h):c:w.errors&&0===Object.keys(w.errors).length},[c,te,w.errors,h]);return Rg({},w,{initialValues:m.current,initialErrors:f.current,initialTouched:v.current,initialStatus:_.current,handleBlur:V,handleChange:q,handleReset:J,handleSubmit:H,resetForm:N,setErrors:P,setFormikState:U,setFieldTouched:$,setFieldValue:z,setFieldError:F,setStatus:W,setSubmitting:Q,setTouched:I,setValues:R,submitForm:G,validateForm:C,validateField:M,isValid:ne,dirty:te,unregisterField:A,registerField:D,getFieldProps:ee,getFieldMeta:X,getFieldHelpers:Z,validateOnBlur:i,validateOnChange:a,validateOnMount:s})}function Zg(t){var n=Xg(t),a=t.component,r=t.children,i=t.render,o=t.innerRef;return e.useImperativeHandle(o,function(){return n}),"production"!==process.env.NODE_ENV&&e.useEffect(function(){t.render&&("production"!==process.env.NODE_ENV?dg(0,"<Formik render> has been deprecated and will be removed in future versions of Formik. Please use a child callback function instead. To get rid of this warning, replace <Formik render={(props) => ...} /> with <Formik>{(props) => ...}</Formik>"):dg())},[]),e.createElement(Lg,{value:n},a?e.createElement(a,n):i?i(n):r?$g(r)?r(n):Wg(r)?null:e.Children.only(r):null)}function ey(e){e.htmlContent,e.documentationAnchorLink,e.handlerName}function ty(e){var t=Array.isArray(e)?[]:{};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var a=String(n);!0===Array.isArray(e[a])?t[a]=e[a].map(function(e){return!0===Array.isArray(e)||nv(e)?ty(e):""!==e?e:void 0}):nv(e[a])?t[a]=ty(e[a]):t[a]=""!==e[a]?e[a]:void 0}return t}function ny(e,t,n){var a=e.slice();return t.forEach(function(t,r){if(void 0===a[r]){var i=!1!==n.clone&&n.isMergeableObject(t);a[r]=i?Rf(Array.isArray(t)?[]:{},t,n):t}else n.isMergeableObject(t)?a[r]=Rf(e[r],t,n):-1===e.indexOf(t)&&a.push(t)}),a}var ay="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?e.useLayoutEffect:e.useEffect;function ry(t){var n=e.useRef(t);return ay(function(){n.current=t}),e.useCallback(function(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];return n.current.apply(void 0,t)},[])}function iy(t){var n=t.validate,a=t.name,r=t.render,i=t.children,o=t.as,s=t.component,c=t.className,u=Fg(t,["validate","name","render","children","as","component","className"]),l=Fg(qg(),["validate","validationSchema"]);"production"!==process.env.NODE_ENV&&e.useEffect(function(){r&&("production"!==process.env.NODE_ENV?dg(0,'<Field render> has been deprecated and will be removed in future versions of Formik. Please use a child callback function instead. To get rid of this warning, replace <Field name="'+a+'" render={({field, form}) => ...} /> with <Field name="'+a+'">{({field, form, meta}) => ...}</Field>'):dg()),o&&i&&$g(i)&&("production"!==process.env.NODE_ENV?dg(0,"You should not use <Field as> and <Field children> as a function in the same <Field> component; <Field as> will be ignored."):dg()),s&&i&&$g(i)&&("production"!==process.env.NODE_ENV?dg(0,"You should not use <Field component> and <Field children> as a function in the same <Field> component; <Field component> will be ignored."):dg()),r&&i&&!Wg(i)&&("production"!==process.env.NODE_ENV?dg(0,"You should not use <Field render> and <Field children> in the same <Field> component; <Field children> will be ignored"):dg())},[]);var d=l.registerField,p=l.unregisterField;e.useEffect(function(){return d(a,{validate:n}),function(){p(a)}},[d,p,a,n]);var h=l.getFieldProps(Rg({name:a},u)),m=l.getFieldMeta(a),f={field:h,form:l};if(r)return r(Rg({},f,{meta:m}));if($g(i))return i(Rg({},f,{meta:m}));if(s){if("string"==typeof s){var v=u.innerRef,_=Fg(u,["innerRef"]);return e.createElement(s,Rg({ref:v},h,_,{className:c}),i)}return e.createElement(s,Rg({field:h,form:l},u,{className:c}),i)}var g=o||"input";if("string"==typeof g){var y=u.innerRef,b=Fg(u,["innerRef"]);return e.createElement(g,Rg({ref:y},h,b,{className:c}),i)}return e.createElement(g,Rg({},h,u,{className:c}),i)}var oy=e.forwardRef(function(t,n){var a=t.action,r=Fg(t,["action"]),i=null!=a?a:"#",o=qg(),s=o.handleReset,c=o.handleSubmit;return e.createElement("form",Rg({onSubmit:c,ref:n,onReset:s,action:i},r))});oy.displayName="Form";const sy=({height:e="16px",width:t="16px"})=>l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",version:"1.1",x:"0px",y:"0px",viewBox:"0 0 100 100",enableBackground:"new 0 0 100 100",xmlSpace:"preserve",style:{height:e,width:t},children:[l.jsx("path",{d:"M50,5c24.813,0,45,20.187,45,45c0,24.813-20.187,45-45,45C25.187,95,5,74.813,5,50C5,25.187,25.187,5,50,5 M50,0C22.386,0,0,22.386,0,50c0,27.614,22.386,50,50,50c27.614,0,50-22.386,50-50C100,22.386,77.614,0,50,0L50,0z"}),l.jsx("circle",{cx:"50",cy:"29.546",r:"4.934"}),l.jsx("rect",{x:"46.5",y:"41.21",width:"7",height:"34.179"})]}),cy=()=>{const{locale:t}=e.useContext(jf);return l.jsxs(l.Fragment,{children:[l.jsx("h2",{children:$s("cancel_insurance_normal_long")}),l.jsx("p",{children:$s("cancel_insurance_normal_desc")}),l.jsx("h3",{children:$s("cancel_insurance_more_insured")}),l.jsx("p",{children:$s("cancel_insurance_more_insured_desc")}),l.jsx("h3",{children:$s("cancel_insurance_important")}),l.jsx("p",{children:$s("cancel_insurance_important_message")}),l.jsx("h3",{children:$s("cancel_insurance_for_whom")}),l.jsx("p",{children:$s("cancel_insurance_for_whom_explain")}),l.jsx("h3",{children:$s("cancel_insurance_questions")}),l.jsxs("p",{children:[$s("cancel_insurance_questions_explain_1"),l.jsx("a",{href:{nl:"https://recreatieverzekeringen.nl/veelgestelde-vragen",de:"https://recreatieverzekeringen.nl/de/haufig-gestellte-fragen",en:"https://recreatieverzekeringen.nl/en/frequently-asked-questions",fr:"https://recreatieverzekeringen.nl/en/frequently-asked-questions",es:"https://recreatieverzekeringen.nl/en/frequently-asked-questions",it:"https://recreatieverzekeringen.nl/en/frequently-asked-questions"}[t],target:"_blank",children:$s("cancel_insurance_questions_explain_link")}),$s("cancel_insurance_questions_explain_2")]}),l.jsx("h3",{children:$s("terms")}),l.jsx("a",{href:`https://api.bukazu.com/files/${t}/insurance.pdf`,target:"_blank",rel:"noopener noreferrer",children:$s("show_terms")})]})};function uy(e){return Array.apply(null,{length:e+1}).map(Number.call,Number)}function ly(e,t){for(var n=(t=(t=t.replace(/\[(\w+)\]/g,".$1")).replace(/^\./,"")).split("."),a=0,r=n.length;a<r;++a){var i=n[a];if(!(i in e))return;e=e[i]}return e}function dy(e,t){return l.jsx("option",{value:t,children:$s(e)})}function py({label:e,description:t,count:n=0,...a}){const r=uy(n);return l.jsx(iy,{name:a.name,children:({field:n,meta:i})=>l.jsxs("div",{className:"form-row inline",id:`bukazu_form_${a.name}`,children:[l.jsx("label",{htmlFor:a.name,children:$s(e)}),l.jsx("select",{...n,...a,children:r.map(e=>l.jsx("option",{value:e,children:e},e))}),t,i.touched&&i.error&&l.jsx("div",{className:"error-message bu-error-message",children:i.error})]})})}function hy({label:e,description:t,name:n,inline:a}){return l.jsx(iy,{name:n,children:({field:n,meta:r})=>{const{value:i,name:o}=n,s=i&&""!==i?i:"";return l.jsxs("div",{className:`form-row ${a&&"inline"}`,id:`bukazu_form_${o}`,children:[l.jsx("label",{htmlFor:o,children:$s(e)}),l.jsx("input",{type:"date",className:"bukazu-date-picker",id:o,name:o,value:s,onChange:n.onChange}),l.jsx("span",{className:"bu-input-description",children:t}),r.touched&&r.error&&l.jsx("div",{className:"error-message bu-error-message",children:r.error})]})}})}function my(e){if(e.cancel_insurance)return l.jsxs("div",{className:"form-row inline",children:[l.jsx("label",{htmlFor:"cancel_insurance",children:$s("cancel_insurance")}),l.jsxs(iy,{component:"select",name:"cancel_insurance",required:!0,children:[dy("choose",""),dy("cancel_insurance_normal","1"),dy("none","0")]}),l.jsx(al,{buttonText:l.jsx(sy,{}),children:l.jsx(cy,{})})]})}hy.defaultValues={inline:!0};const fy=({house:e,values:t})=>e.cancel_insurance?l.jsxs("div",{className:"form-section bup-16",id:"insurances",children:[l.jsx("h2",{children:$s("insurances")}),my(e),t.cancel_insurance&&"0"!==t.cancel_insurance&&l.jsx(hy,{label:"extra_fields.date_of_birth",name:"extra_fields.date_of_birth",required:!0,inline:!1,description:$s("insurance_company_needs_date_of_birth")})]}):l.jsx("div",{});function vy({house:e}){const[t,{loading:n,error:a,data:r}]=ls(js);return l.jsxs("div",{className:"form-row inline",children:[l.jsx("label",{htmlFor:"discount_code",children:$s("discount_code")}),l.jsx(iy,{name:"discount_code",children:({field:n,form:a})=>l.jsx("input",{...n,onChange:r=>{t({variables:{code:r.target.value,house_code:e.code}}),a.setFieldValue(n.name,r.target.value)}})}),n&&l.jsx("div",{className:"bu_discount_code",children:"Loading..."}),a&&l.jsx("div",{className:"bu_discount_code",children:$s("no_discount_code_found")}),r&&l.jsxs("div",{className:"bu_discount_code",children:[l.jsx("div",{children:r.checkDiscountCode.name}),r.checkDiscountCode.use_price?l.jsxs("div",{children:["€ ",r.checkDiscountCode.price]}):l.jsxs("div",{children:[r.checkDiscountCode.percentage,"%"]})]})]})}const _y=({errors:e,house:t,bookingFormConfiguration:n,values:a})=>{if(t.discounts&&"0"!==t.discounts||n.showDiscountCode){const r=t.discounts?t.discounts.split(","):[];return l.jsxs("div",{className:"form-section bup-16",children:[t.discounts&&"0"!==t.discounts&&l.jsxs(l.Fragment,{children:[l.jsxs("div",{className:"form-row inline",children:[l.jsx("label",{htmlFor:"discount",children:$s("discount")}),l.jsx(iy,{component:"select",name:"discount",children:r.map(e=>l.jsxs("option",{value:e,children:[e,"%"]},e))})]}),l.jsxs("div",{className:"form-row inline",children:[l.jsx("label",{htmlFor:"discount_reason",children:$s("discount_reason")}),l.jsx(iy,{name:"discount_reason"}),e.discount_reason&&l.jsx("div",{className:"error-message bu-error-message",children:e.discount_reason})]}),l.jsx("div",{children:l.jsx("i",{style:{fontSize:14},children:t.discounts_info})})]}),n.showDiscountCode&&l.jsx(vy,{errors:e,house:t,values:a})]})}return null},gy=({error:e})=>e?l.jsx("div",{className:"input-feedback",children:e}):null,yy=({field:{name:e,value:t,onChange:n,onBlur:a},id:r,label:i,...o})=>l.jsxs("div",{children:[l.jsx("input",{name:e,id:r,type:"radio",value:r,checked:r===t,onChange:n,onBlur:a,className:"radio-button",...o}),l.jsx("label",{htmlFor:r,children:i})]}),by=({error:e,touched:t,label:n,className:a,children:r})=>l.jsxs("div",{className:a,children:[l.jsx("div",{className:"legend",children:n}),r,t&&l.jsx(gy,{error:e})]});function ky({house:e}){return l.jsx(l.Fragment,{children:e.allow_option&&l.jsx("div",{children:l.jsxs(by,{id:"is_option",className:"booking_option",children:[l.jsx(iy,{component:yy,name:"is_option",id:"true",disabled:!e.allow_option,label:$s("option")}),l.jsx(iy,{component:yy,name:"is_option",id:"false",label:$s("booking")})]})})})}function wy({description:e}){let t=l.jsx("span",{});return e&&(t=l.jsx("span",{style:{padding:"0 0 0 8px"},children:l.jsx(al,{buttonText:l.jsx(sy,{}),children:l.jsx("p",{children:e})})})),t}function xy({name:e,amount:t,description:n,method_name:a,formatName:r,forceMethod:i}){return l.jsxs("tr",{children:[l.jsxs("td",{children:[r?$s(e):e,n&&l.jsxs(l.Fragment,{children:[" ",l.jsx(wy,{description:n})]})]}),l.jsx("td",{className:"price",children:t&&t>0?l.jsxs(l.Fragment,{children:["€"," ",Bs(t,{minimumFractionDigits:2,maximumFractionDigits:2}),i&&l.jsxs(l.Fragment,{children:[" ",a]})]}):l.jsx(l.Fragment,{children:a})})]})}function Sy({prices:e}){const{insurances:t,required_costs:n}=e.total_costs,{not_on_site:a}=n;return l.jsx("div",{className:"costs-section",children:l.jsx("table",{children:l.jsxs("tbody",{children:[t&&l.jsx(l.Fragment,{children:Object.keys(t).map(e=>{if(t[e]>0)return l.jsx(xy,{name:e,formatName:!0,amount:t[e]},e)})}),e.required_house_costs.map(e=>{if(!e.on_site&&"0120"!==e.gl)return"none"===e.method?l.jsx(xy,{...e},e.id):0===e.amount?null:l.jsx(xy,{...e,amount:a?.find(t=>t.id==e.id).amount},e.id)})]})})})}function Ey({prices:e}){const{rent_price:t,discount:n,discounted_price:a}=e;return l.jsx("div",{className:"costs-section",children:l.jsx("table",{children:l.jsxs("tbody",{children:[l.jsx(xy,{name:"rent_price",formatName:!0,amount:t}),n>0?l.jsxs(l.Fragment,{children:[l.jsx(xy,{name:"discount",formatName:!0,amount:n}),l.jsx(xy,{name:"price_after_discount",formatName:!0,amount:a})]}):null]})})})}function jy({prices:e}){const{optional_costs:t}=e.total_costs,{not_on_site:n}=t;return l.jsx("div",{className:"costs-section",children:l.jsx("table",{children:l.jsx("tbody",{children:e.optional_house_costs.map(e=>{if(!e.on_site&&"0120"!==e.gl){if("none"===e.method)return l.jsx(xy,{...e},e.id);if("on_site"===e.method){if(n.find(t=>t.id==e.id).nr_of_items>0)return l.jsx(xy,{...e,amount:e.amount,forceMethod:!0},e.id)}else{let t=n.find(t=>t.id==e.id).amount;if(t>0)return l.jsx(xy,{...e,amount:t},e.id)}}})})})})}function Ty({prices:e}){const{optional_costs:t}=e.total_costs,{on_site:n}=t;return l.jsx(l.Fragment,{children:e.optional_house_costs.map(e=>{if(e.on_site&&"0120"!==e.gl){if("none"===e.method)return l.jsx(xy,{...e},e.id);if("on_site"===e.method){if(n?.find(t=>t.id==e.id).nr_of_items>0)return l.jsx(xy,{...e,amount:e.amount,forceMethod:!0},e.id)}else{let t=n?.find(t=>t.id==e.id).amount;if(t>0)return l.jsx(xy,{...e,amount:t},e.id)}}})})}function Oy({prices:e}){const{required_costs:t}=e.total_costs,{on_site:n}=t;return l.jsxs("div",{className:"costs-section",children:[l.jsx("strong",{children:$s("costs_on_site")}),l.jsx("table",{children:l.jsxs("tbody",{children:[e.required_house_costs.map(e=>{if(e.on_site&&"0120"!==e.gl){if("none"===e.method)return l.jsx(xy,{...e},e.id);{let t=n.find(t=>t.id==e.id)?.amount;return l.jsx(xy,{...e,amount:t},e.id)}}}),l.jsx(Ty,{prices:e})]})})]})}function Cy({children:e}){return l.jsx("div",{className:"costs-section",children:l.jsx("table",{children:l.jsx("tbody",{children:e})})})}function Ny({prices:e}){return l.jsxs(l.Fragment,{children:[l.jsx(Cy,{children:l.jsxs("tr",{children:[l.jsx("th",{style:{textAlign:"left",testTransform:"capitalize"},children:$s("total")}),l.jsxs("th",{className:"price",style:{fontSize:18},children:["€"," ",Bs(e.total_costs.sub_total,{minimumFractionDigits:2,maximumFractionDigits:2})]})]})}),l.jsxs(Cy,{children:[l.jsx(My,{cost_array:e.required_house_costs,price_array:e.total_costs.required_costs.on_site}),l.jsx(My,{cost_array:e.required_house_costs,price_array:e.total_costs.required_costs.not_on_site}),l.jsx(My,{cost_array:e.optional_house_costs,price_array:e.total_costs.optional_costs.on_site}),l.jsx(My,{cost_array:e.optional_house_costs,price_array:e.total_costs.optional_costs.not_on_site})]}),l.jsx(Cy,{children:l.jsxs("tr",{children:[l.jsx("th",{style:{textAlign:"left",testTransform:"capitalize"},children:$s("total")}),l.jsxs("td",{className:"price",children:["€"," ",Bs(e.total_costs.total_price,{minimumFractionDigits:2,maximumFractionDigits:2})]})]})})]})}function My({cost_array:e,price_array:t}){return l.jsx(l.Fragment,{children:e.map(e=>{let n=t.find(t=>t.id==e.id);if("0120"===e.gl&&n?.amount>0)return l.jsx(xy,{...e,amount:n.amount},e.id)})})}function Dy({values:t,house:n}){let a=Number(t.babies)-Number(n.babies_extra);a<0&&(a=0);const r=Number(t.children)+Number(t.adults)+a,{portalCode:i,objectCode:o}=e.useContext(jf),{loading:s,error:c,data:u}=ts(xs,{variables:{id:i,persons:r,house_id:o,starts_at:JSON.stringify(t.arrivalDate.date),ends_at:JSON.stringify(t.departureDate.date),costs:JSON.stringify(t.costs),discount:Number(t.discount),discount_code:t.discount_code,cancel_insurance:Number(t.cancel_insurance)},fetchPolicy:"network-only"});if(s)return"Loading...";if(c)return l.jsx("div",{children:JSON.stringify(c)});const d=u.PortalSite.houses[0].booking_price;return l.jsxs(l.Fragment,{children:[l.jsx(Ey,{prices:d}),l.jsx(Sy,{prices:d}),l.jsx(jy,{prices:d}),l.jsx(Oy,{prices:d}),l.jsx(Ny,{prices:d})]})}xy.defaultValues={formatName:!1,forceMethod:!1};class Ay{constructor(e,t){this.house=e,this.values=t,this.t={formatMessage:(e,t)=>$s(e.id,t)}}updateValues(e){this.values=e}render(){const{arrivalDate:e,departureDate:t}=this.values,n=document.createDocumentFragment(),a=document.createElement("h2");a.textContent=this.t.formatMessage({id:"booking_details"}),n.appendChild(a);const r=document.createElement("div");r.className="house-details";const i=document.createElement("div");if(i.textContent=this.house.name,r.appendChild(i),this.house.image_url){const e=document.createElement("img");e.src=this.house.image_url,e.alt="",r.appendChild(e)}const o=document.createElement("table"),s=document.createElement("tbody"),c=document.createElement("tr"),u=document.createElement("th");u.textContent=this.t.formatMessage({id:`${this.house.house_type}.arrival`});const l=document.createElement("td");l.className="price",l.textContent=xf(Sf(e.date),Ef);const d=document.createElement("td");d.textContent=`${e.arrival_time_from} - ${e.arrival_time_to}`,c.append(u,l,d);const p=document.createElement("tr"),h=document.createElement("th");h.textContent=this.t.formatMessage({id:`${this.house.house_type}.departure`});const m=document.createElement("td");m.className="price",m.textContent=xf(Sf(t.date),Ef);const f=document.createElement("td");f.textContent=t.departure_time,p.append(h,m,f),s.append(c,p),o.appendChild(s),r.appendChild(o),n.appendChild(r);const v=document.createElement("div");return v.appendChild(n),v}}function Iy({values:t,house:n}){const a=e.useRef(null),r=e.useRef(null);return a.current||(a.current=new Ay(n,t)),e.useEffect(()=>{if(a.current&&(a.current.updateValues(t),r.current)){for(;r.current.firstChild;)r.current.removeChild(r.current.firstChild);r.current.appendChild(a.current.render())}},[t,n]),l.jsxs("div",{children:[l.jsx("div",{ref:r}),l.jsx(ky,{house:n}),l.jsx(Dy,{values:t,house:n})]})}const Py=[{id:"first_name",label:"Voornaam",type:"text",options:["text"],required:!0,placeholder:""},{id:"preposition",label:"Tussenvoegsel",type:"text",options:["text"],required:!1,placeholder:""},{id:"last_name",label:"Achternaam",type:"text",options:["text"],required:!0,mandatory:!0,placeholder:""},{id:"address",label:"Adres",type:"text",options:["text"],required:!0,placeholder:""},{id:"house_number",label:"Huisnummer",type:"text",options:["text"],required:!0,placeholder:""},{id:"zipcode",label:"Postcode",type:"text",options:["text"],required:!0,placeholder:""},{id:"city",label:"Plaats",type:"text",options:["text"],required:!0,placeholder:""},{id:"country",label:"Land",type:"select",options:["select"],required:!0,mandatory:!0,placeholder:""},{id:"email",label:"E-mail",type:"email",options:["email"],required:!0,mandatory:!0,placeholder:""},{id:"phone_mobile",label:"Mobiel telefoonnummer",type:"text",options:["text"],required:!1,placeholder:""},{id:"phone",label:"Telefoonnummer",type:"text",options:["text"],required:!0,placeholder:""},{id:"comment",label:"Opmerking",type:"textarea",options:["textarea"],required:!1,rows:10}],Ry=()=>l.jsxs("div",{className:"success-message",children:[l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",version:"1.1",x:"0px",y:"0px",viewBox:"0 0 100 125",style:{enableBackground:"new 0 0 100 100;",fill:"green",height:"150px"},xmlSpace:"preserve",children:l.jsx("path",{d:"M50,5C25.2,5,5,25.1,5,50c0,24.8,20.2,45,45,45s45-20.2,45-45C95,25.1,74.8,5,50,5z M72.7,38.2L44.2,66.7 c-0.4,0.4-0.9,0.6-1.4,0.6s-1-0.2-1.4-0.6l-14-14c-0.8-0.8-0.8-2,0-2.8c0.8-0.8,2-0.8,2.8,0l12.6,12.6l27.1-27.1 c0.8-0.8,2-0.8,2.8,0C73.5,36.1,73.5,37.4,72.7,38.2z"})}),l.jsx("h3",{children:$s("thank_you_for_your_request")}),l.jsx("p",{children:$s("we_sent_confirmation_check_email")})]}),Fy=["en","nl","de","fr","es","it"];const zy=new Map;async function Ly(e){const t=function(e){return Fy.includes(e)}(e)?e:"en";if(zy.has(t))return zy.get(t);let n;switch(t){case"nl":n=(await Promise.resolve().then(()=>rk)).default;break;case"de":n=(await Promise.resolve().then(()=>ok)).default;break;case"fr":n=(await Promise.resolve().then(()=>ck)).default;break;case"es":n=(await Promise.resolve().then(()=>lk)).default;break;case"it":n=(await Promise.resolve().then(()=>pk)).default;break;default:n=(await Promise.resolve().then(()=>mk)).default}return zy.set(t,n),n}function qy(e){return("string"==typeof e||"number"==typeof e)&&(!isNaN(e)&&(0|(t=parseFloat(e)))===t);var t}function $y({bookingFields:t,errors:n,touched:a,PortalSite:r,values:i}){const[o,s]=e.useState([]),[c,u]=e.useState(!0);e.useEffect(()=>{let e=!0;const t="undefined"!=typeof window&&window.__localeId__||"en";return(async()=>{try{const n=await Ly(t);e&&s(n)}catch{}finally{e&&u(!1)}})(),()=>{e=!1}},[]);let d=[...t];const p=["address","house_number","zipcode","city"];return"1"!==i.cancel_insurance&&"2"!==i.cancel_insurance||p.forEach(e=>{const n=Py.find(t=>t.id===e);if(!n)return;let a=t.findIndex(t=>t.id===e);-1!==a?d[a]=n:d.push(n)}),l.jsxs("div",{className:"form-section bup-16",children:[l.jsx("h2",{children:$s("personal_details")}),d.map(e=>{if("telephone"===e.id&&(e.id="phonenumber"),"booking_field"===e.type||qy(e.id)){const t=r.booking_fields?.find(t=>t.id===e.id);return t?l.jsxs("div",{className:"form-row",children:[l.jsxs("label",{htmlFor:`extra_fields.booking_field_${t.id}`,children:[t.label," ",e.required&&l.jsx("span",{children:"*"})]}),l.jsx(iy,{onKeyPress:e=>{13===e.which&&e.preventDefault()},id:`extra_fields.booking_field_${t.id}`,type:"text"===t.field_type?"input":t.field_type,component:"text"===t.field_type?"input":t.field_type,name:`extra_fields.booking_field_${t.id}`}),n[e.id]&&(a.extra_fields&&a.extra_fields[`booking_field_${t.id}`]||a[e.id])&&l.jsx("div",{className:"error-message bu-error-message",children:n[e.id]})]},t.id):null}return"country"===e.id?l.jsxs("div",{className:"form-row",children:[l.jsxs("label",{htmlFor:e.id,children:[r[`${e.id}_label`]," ",e.required&&l.jsx("span",{children:"*"})]}),l.jsx(iy,{component:"select",name:e.id,disabled:c,children:o.map(e=>l.jsx("option",{value:e.alpha2,children:e.name},e.alpha2))}),n[e.id]&&l.jsx("div",{className:"error-message bu-error-message",children:n[e.id]})]},e.id):"date"===e.type?l.jsx("div",{className:"form-row",children:l.jsx(hy,{name:e.id,label:e.id,inline:!1})},e.id):l.jsxs("div",{className:"form-row",children:[l.jsxs("label",{htmlFor:e.id,children:[r[`${e.id.replace(/\./g,"_")}_label`]," ",e.required&&l.jsx("span",{children:"*"})]}),l.jsx(iy,{type:e.type,name:e.id,onKeyPress:e=>{13===e.which&&e.preventDefault()}}),n[e.id]&&a[e.id]&&l.jsx("div",{className:"error-message bu-error-message",children:n[e.id]})]},e.id)})]})}function By({costs:e}){return 0===e.length?null:l.jsxs("div",{className:"form-section bup-16 optional_house_costs",children:[l.jsx("h2",{children:$s("extra_costs_bookable")}),l.jsx("div",{children:e.map(e=>!["none","total"].includes(e.method)&&e.max_available>0?1===e.max_available?l.jsxs("div",{className:"form-row inline",children:[l.jsx("label",{htmlFor:e.id,children:e.name}),l.jsxs(iy,{component:"select",name:`costs[${e.id}]`,children:[l.jsx("option",{value:0,children:$s("no")}),l.jsx("option",{value:1,children:$s("yes")})]}),l.jsxs("div",{className:"price_per",children:["€"," ",Bs(e.amount,{minimumFractionDigits:2,maximumFractionDigits:2})," ",e.method_name]}),l.jsx("div",{children:e.description?l.jsx("div",{children:l.jsx(al,{buttonText:l.jsx(sy,{}),children:l.jsx("p",{children:e.description})})}):null})]},e.id):l.jsxs("div",{className:"form-row inline",children:[l.jsx("label",{htmlFor:e.id,children:e.name}),l.jsx(iy,{component:"select",name:`costs[${e.id}]`,children:uy(e.max_available).map(e=>l.jsx("option",{value:e,children:e},e))}),l.jsxs("div",{className:"price_per",children:["€"," ",Bs(e.amount,{minimumFractionDigits:2,maximumFractionDigits:2})," ",e.method_name]}),l.jsx("div",{children:e.description?l.jsx("div",{children:l.jsx(al,{buttonText:l.jsx(sy,{}),children:l.jsx("p",{children:e.description})})}):null})]},e.id):"")})]})}function Vy({bookingFormConfiguration:e,house:t}){return l.jsxs(l.Fragment,{children:[l.jsx(py,{name:"adults",label:"adults",count:t.persons,description:l.jsx("div",{className:"age-description",children:$s("adults_from",{age:e.adultsFromAge})})}),e.childrenAllowed?l.jsx(py,{name:"children",label:"children",count:t.persons-1,description:l.jsx("div",{className:"age-description",children:$s("children_from",{from:e.childrenFromAge,til:e.childrenTillAge})})}):null,e.babiesAllowed?l.jsx(py,{name:"babies",label:"babies",count:t.persons-1,description:l.jsx("div",{className:"age-description",children:$s("babies_from",{babies:e.babiesTillAge})})}):null]})}function Uy(e,t,n){const{babies_extra:a,persons:r}=t;let i={},o=Number(e.babies)-Number(a);o<0&&(o=0),e.persons=Number(e.children)+Number(e.adults)+o;for(let c of n)if(c.required)if(qy(c.id)){const t=ly(e,`extra_fields.booking_field_${c.id}`);t&&""!==t||(i[c.id]=$s("required"))}else{const t=ly(e,c.id);t&&""!==t||(i[c.id]=$s("required"))}var s;return e.adults<1&&r>0&&(i.adults=$s("at_least_1_adult")),Number(e.discount)>0&&!e.discount_reason&&(i.discount_reason=$s("you_need_to_give_reason")),e.persons>r&&(i.max_persons=$s("max_persons_reached")),0!==e.cancel_insurance&&(s=e.extra_fields?.date_of_birth,eu(new Date(s),el(new Date)))&&(i["extra_fields.date_of_birth"]=$s("at_least_18y_old"),i.insurances=$s("at_least_18y_old")),i}const Wy={selectedDate:null,arrivalDate:null,departureDate:null,bookingStarted:!1,persons:0},Qy=e.createContext(Wy),Gy=e.createContext(Ky);function Hy({children:t}){const[n,a]=e.useReducer(Ky,Wy);return l.jsx(Qy.Provider,{value:n,children:l.jsx(Gy.Provider,{value:a,children:t})})}function Ky(e,t){switch(t.type){case"clicked":{const{day:n,house:a}=t,{selectedDate:r,arrivalDate:i}=e,o=Sf(n.date),s=a.persons>2?2:a.persons;return n.departure&&r&&i&&eu(o,r)&&rc(o,r)<=a.max_nights&&rc(o,r)>=i.min_nights&&rc(o,r)<=i.max_nights?{...e,departureDate:n}:n.arrival?{bookingStarted:!1,selectedDate:o,arrivalDate:n,departureDate:null,persons:s}:e}case"reset":return Wy;case"start":return{...e,bookingStarted:!0,persons:t.persons};case"return":return{...e,bookingStarted:!1};default:throw Error("Unknown action: "+t.type)}}function Yy({house:t,PortalSite:n}){const{persons:a,arrivalDate:r,departureDate:i}=e.useContext(Qy),{locale:o,portalCode:s,objectCode:c}=e.useContext(jf),u=e.useContext(Gy),{options:d}=n,p=n.bookingFormConfiguration,h=d.bookingFields||Py,m=t.booking_price;let f={};for(const e of m.optional_house_costs)f[e.id]="0";const[v,{loading:_,error:g,data:y,reset:b}]=ls(gs),k=function(e){let t={};return e.map(e=>{t[e.id]=""}),t}(h),w=function(){const e=Cf("bu_portal_session");return""===e?null:e}();return l.jsx(Zg,{validate:e=>Uy(e,t,h),initialValues:{...k,arrivalDate:r,departureDate:i,is_option:"false",costs:f,adults:a,children:0,babies:0,persons:a,discount:0,country:"nl"},onSubmit:(e,{setSubmitting:t})=>{let n={...e,is_option:JSON.parse(e.is_option),house_code:c,portal_code:s,comment:e.comment||"",language:o,country:e.country.toUpperCase(),adults:Number(e.adults),children:Number(e.children)||0,babies:Number(e.babies)||0,discount:Number(e.discount)||0,cancel_insurance:Number(e.cancel_insurance)||0,arrival_date:e.arrivalDate.date,departure_date:e.departureDate.date,costs:JSON.stringify(e.costs),extra_fields:JSON.stringify(e.extra_fields),sessionIdentifier:w};v({variables:n}).then(()=>{const e={nl:"redirectUrlNl",en:"redirectUrlEn",de:"redirectUrlDe",fr:"redirectUrlFr",es:"redirectUrlEs",it:"redirectUrlIt"}[o],t=e?p[e]:void 0;t&&""!==t?window.location=t:p.redirectUrl&&""!==p.redirectUrl?window.location=p.redirectUrl:setTimeout(()=>{u({type:"return"})},15e3)})},children:({errors:e,touched:a,values:r,status:i,isSubmitting:o})=>l.jsxs(oy,{className:"form",children:[_&&l.jsx("div",{className:"return-message",children:"Creating booking..."}),g&&l.jsx(al,{show:!0,onClose:b,children:l.jsx(yf,{errors:g,modal:!0})}),y&&l.jsx(al,{show:!0,children:l.jsx(Ry,{})}),l.jsxs("div",{className:"form-content",children:[l.jsxs("div",{className:"form-section bup-16",children:[l.jsx("a",{className:"return-link",role:"link",tabIndex:0,onClick:()=>{u({type:"return"})},children:$s("return_to_calendar")}),l.jsx("h2",{children:$s("stay_details")}),l.jsx(Vy,{bookingFormConfiguration:p,house:t}),e.max_persons&&l.jsx("div",{className:"error-message bu-error-message persons",children:e.max_persons})]}),l.jsx(_y,{errors:e,house:t,bookingFormConfiguration:p,values:r}),l.jsx(fy,{house:t,values:r}),l.jsx(By,{costs:m.optional_house_costs}),l.jsx($y,{bookingFields:h,errors:e,touched:a,PortalSite:n,values:r})]}),l.jsxs("div",{className:"form-sum bup-16",children:[l.jsx(Iy,{house:t,values:r}),i&&i.msg&&l.jsx("div",{children:i.msg}),l.jsxs("div",{className:"terms",children:[n.form_submit_text," ",l.jsx(al,{buttonText:$s("terms"),children:l.jsx("div",{style:{width:"90vh",height:"90vh"},children:l.jsx("iframe",{src:t.rental_terms,width:"100%",height:"100%",title:"Terms"})})}),t.allow_option&&l.jsxs("span",{children:[", ",$s("option_is_free")]})]}),[1,2].includes(Number(r.cancel_insurance))?l.jsx("div",{className:"terms",children:$s("comply_insurance_card")}):null,l.jsx("button",{className:"bu-calendar-button",type:"submit",disabled:o,children:n.form_submit_button_text})]})]})})}function Jy(){const{portalCode:t,objectCode:n,locale:a}=e.useContext(jf),{arrivalDate:r,departureDate:i}=e.useContext(Qy),{data:o,loading:s,error:c}=ts(_s,{variables:{portalCode:t,objectCode:n,starts_at:r.date,ends_at:i.date}});if(s)return l.jsx("div",{children:l.jsx(d,{})});if(c)return l.jsx("div",{children:"Error"});const u=o.PortalSite.houses[0];return Of({house_code:n,portal_code:t,locale:a,interaction_type:"booking_started",interaction_data:{arrival_date:r.date,departure_date:i.date}}),l.jsx(Yy,{house:u,PortalSite:o.PortalSite})}const Xy=()=>l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg","data-name":"Layer 1",viewBox:"0 0 100 100",x:"0px",y:"0px",children:[l.jsx("title",{children:"Forward"}),l.jsx("path",{d:"M97.64,44.1,64.72,11.18a8.06,8.06,0,1,0-11.4,11.39L72.78,42H8.06a8.06,8.06,0,0,0,0,16.12H72.6L53.32,77.43a8.06,8.06,0,0,0,11.4,11.39L97.64,55.9A8,8,0,0,0,100,50.2a1.27,1.27,0,0,0,0-.2,1.41,1.41,0,0,0,0-.2A8.07,8.07,0,0,0,97.64,44.1Z"})]});function Zy({changeMonth:t,currentMonth:n,numberOfMonths:a}){const r=e.useContext(Gy);return l.jsxs("div",{className:"calendars-header bu-grid bu-grid-cols-3",children:[l.jsx("div",{className:"bu-calendar-col bup-8",style:{textAlign:"center"},onClick:function(){var e;t(Ks(n,-a,e))},tabIndex:0,role:"button",children:l.jsx("div",{className:"icon bu-rounded bu-hover-bright",children:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",version:"1.1",x:"0px",y:"0px",enableBackground:"new 0 0 100 100",viewBox:"0 0 100 125",xmlSpace:"preserve",children:l.jsx("path",{d:"M2.4,44.1l32.9-32.9c3.1-3.1,8.2-3.1,11.4,0c1.6,1.6,2.4,3.6,2.4,5.7c0,2.1-0.8,4.1-2.4,5.7L27.2,42h64.7 c2.2,0,4.2,0.9,5.7,2.4c1.5,1.5,2.4,3.5,2.4,5.7c0,4.4-3.6,8.1-8.1,8.1H27.4l19.3,19.3c1.6,1.6,2.4,3.6,2.4,5.7s-0.8,4.1-2.4,5.7 c-3.1,3.1-8.3,3.1-11.4,0L2.4,55.9C0.8,54.3,0,52.3,0,50.2c0-0.1,0-0.1,0-0.2c0-0.1,0-0.1,0-0.2C0,47.7,0.8,45.7,2.4,44.1z"})})})}),l.jsx("div",{className:"bu-calendar-col bup-8",onClick:()=>{r({type:"reset"})},style:{textAlign:"center"},tabIndex:0,role:"button",children:l.jsx("div",{className:"icon bu-rounded bu-hover-bright",children:l.jsx(Rs,{})})}),l.jsx("div",{className:"bu-calendar-col bup-8 bup-x16",onClick:function(){t(Ks(n,a))},style:{textAlign:"center"},tabIndex:0,role:"button",children:l.jsx("div",{className:"icon bu-rounded bu-hover-bright",children:l.jsx(Xy,{})})})]})}function eb({house:t}){const{departureDate:n,arrivalDate:a}=e.useContext(Qy);return n?.date?l.jsxs("div",{className:"bup-16 bu-bold",children:[$s(`${t.house_type}.you_picked_arrival_date`),":"," ",xf(Sf(a.date),Ef),l.jsx("br",{}),$s(`${t.house_type}.you_picked_departure_date`),": ",xf(Sf(n.date),Ef)]}):a?.date?l.jsxs("div",{className:"bup-16 bu-bold",children:[$s(`${t.house_type}.you_picked_arrival_date`),":"," ",xf(Sf(a.date),Ef),l.jsx("br",{}),$s(`${t.house_type}.pick_your_departure_in_the_calendar`),l.jsx("br",{}),$s("minimum_nights",{minimum:a.min_nights})]}):l.jsx("div",{className:"bup-16 bu-bold",children:$s(`${t.house_type}.pick_your_arrivaldate_in_the_calendar`)})}function tb({house:e}){return l.jsxs("div",{className:"legend",children:[l.jsxs("div",{children:[l.jsx("span",{className:"legend-field arrival"}),$s(`${e.house_type}.arrival_date`)]}),l.jsxs("div",{children:[l.jsx("span",{className:"legend-field booked"}),$s("booked")]}),l.jsxs("div",{children:[l.jsx("span",{className:"legend-field departure"}),$s(`${e.house_type}.departure_date`)]}),l.jsxs("div",{children:[l.jsx("span",{className:"legend-field last_minute_discount"}),$s("discount")]})]})}const nb=({month:e})=>l.jsx("div",{className:"bu-bold bup-4",children:l.jsx("div",{className:"bu-calendar-col bu-text-center",children:l.jsx("span",{children:xf(e,"MMMM yyyy")})})});function ab({day:e,monthStart:t,buDate:n,prevBooked:a,dates:r,house:i,discounts:o}){const{selectedDate:s,departureDate:c,arrivalDate:u}=r;let l=["bu-grid","bu-center","bu-rounded-half","bu-h-42","bu-w-42"];if(!function(e,t,n){const[a,r]=nc(n?.in,e,t);return a.getFullYear()===r.getFullYear()&&a.getMonth()===r.getMonth()}(e,t))return l.push("disabled"),l.join(" ");if(n&&(n.arrival&&eu(e,Zu(new Date))&&0!==n.max_nights?0===a.max_nights?l.push("departure-arrival","bu-hover-bright"):l.push("arrival","bu-hover-bright"):0===n.max_nights?0!==a.max_nights?l.push("booked-departure","bu-hover-bright"):l.push("booked"):n.max_nights>0&&0===a.max_nights&&!n.arrival&&l.push("booked")),s){ic(e,s)&&l.push("selected");const t=rc(e,s)>=u.min_nights,r=rc(e,s)<=i.max_nights&&rc(e,s)<=u.max_nights;n.departure&&eu(e,s)&&t&&r&&0!==a.max_nights&&l.push("departure")}c&&(eu(e,s)&&tu(e,Sf(c.date))&&l.push("selected"),ic(e,Sf(c.date))&&l.push("selected"));const d=rc(e,new Date),p=d<=i.last_minute_days&&d>0,h=o.find(t=>tu(Zu(Sf(t.discount_starts_at)),e)&&eu(Hs(Sf(t.discount_ends_at),1),e));return(p||h||n.special_offer>0)&&l.push("discount"),l.join(" ")}function rb({availabilities:t,month:n,discounts:a,house:r}){const i=e.useContext(Gy),o=e.useContext(Qy),s=cc(n),c=sc(s),u=Xs(s),d=uc(c),p=[];let h=[],m=u;for(;m<=d;){for(let e=0;e<7;e++){let e=xf(m,"yyyy-MM-dd"),n=xf(Zu(m),"yyyy-MM-dd"),c=t.find(t=>t.date===e);const u=t.find(e=>e.date===n),d=c;h.push(l.jsx("div",{className:ab({day:m,monthStart:s,discounts:a,buDate:c,prevBooked:u,house:r,dates:o}),role:"button",tabIndex:0,onClick:()=>{tu(Yu(d.date,"yyyy-MM-dd",new Date),new Date)||i({type:"clicked",day:d,house:r})},children:l.jsx("span",{children:xf(m,"d")})},c.date)),m=Hs(m,1)}p.push(h),h=[]}return l.jsx("div",{className:"bu-grid bu-grid-cols-7",children:p})}function ib({month:e}){let t=[],n=Xs(e);for(let a=0;a<7;a++)t.push(l.jsx("div",{className:"bu-calendar-col bu-text-center",children:xf(Hs(n,a),"E")},a));return l.jsx("div",{className:"bu-grid bu-grid-cols-7",children:t})}function ob({count:t,currentMonth:n,house:a}){const{portalCode:r,objectCode:i}=e.useContext(jf);let o=Ks(n,t),s=cc(o),c=sc(o);const u={id:r,house_id:i,starts_at:Xs(s),ends_at:uc(c)},{loading:p,error:h,data:m}=ts(vs,{variables:u});if(p)return l.jsx("div",{children:l.jsx(d,{})});if(h)return l.jsx("div",{children:"Error"});const f=m.PortalSite.houses[0].availabilities,v=m.Discounts;return l.jsxs("div",{className:"bu-calendar calendar bup-16",children:[l.jsx(nb,{month:o}),l.jsx(ib,{month:o}),l.jsx(rb,{availabilities:f,discounts:v,month:o,house:a})]},o)}function sb({numberOfMonthsInARow:e,currentMonth:t,numberOfMonths:n,house:a}){let r=[];for(let i=0;i<n;i++)r.push(l.jsx(ob,{house:a,currentMonth:t,count:i},Xc(Ks(t,i),"MM-yyyy")));return l.jsx("div",{className:`bu-grid bu-grid-cols-${e||2} bu-gap-16`,children:r})}function cb({persons:t,variables:n}){const{portalCode:a,objectCode:r}=e.useContext(jf),{loading:i,error:o,data:s}=ts(Ss,{variables:{...n,persons:t,portalCode:a,objectCode:r}});if(i)return l.jsx("div",{className:"price-overview--build bup-16",children:l.jsx(d,{})});if(o)return l.jsx("div",{className:"price-overview--build bup-16",children:l.jsx(yf,{errors:o})});const c=s.PortalSite.houses[0].booking_price;return l.jsx(l.Fragment,{children:l.jsxs("div",{className:"price-overview--book",children:[l.jsxs("div",{className:"price",children:["€"," ",Bs(Math.round(c.total_price),{minimumFractionDigits:2,maximumFractionDigits:2})]}),l.jsx("div",{children:l.jsx("i",{children:$s("based_on_one_person",{persons:t})})})]})})}const ub=Ef;function lb({house:t}){const n=t.persons>2?2:t.persons,[a,r]=e.useState(n),{arrivalDate:i,departureDate:o}=e.useContext(Qy),s=e.useContext(Gy);let c=uy(t.persons);return l.jsxs("div",{className:"calendar--picker",children:[l.jsxs("div",{className:"calendar--picker--date",children:[l.jsx("span",{className:"name",children:$s(`${t.house_type}.arrival`)}),l.jsx("span",{className:"detail",children:i?.date?l.jsx("span",{children:xf(Sf(i?.date),ub)}):$s(`${t.house_type}.pick_your_arrivaldate_in_the_calendar`)})]}),l.jsxs("div",{className:"calendar--picker--date",children:[l.jsx("span",{className:"name",children:$s(`${t.house_type}.departure`)}),l.jsx("span",{className:"detail",children:o?.date?l.jsx("span",{children:xf(Sf(o?.date),ub)}):l.jsxs("div",{children:[l.jsx("div",{children:$s(`${t.house_type}.pick_your_departure_in_the_calendar`)}),i&&$s("minimum_nights",{minimum:i?.min_nights})]})})]}),l.jsx("div",{className:"calendar--picker--date",children:l.jsx("span",{className:"detail",children:l.jsx("select",{className:"calendar--picker--persons",value:a,onChange:e=>{r(e.target.value)},children:c.map(e=>l.jsxs("option",{value:e,children:[e," ",$s("persons")]},e))})})}),l.jsx("div",{className:"calendar--picker--date",children:i&&o&&l.jsx(cb,{persons:parseInt(a),variables:{starts_at:i?.date,ends_at:o?.date}})}),l.jsx("button",{className:"button",disabled:!i||!o,onClick:()=>{i&&o&&s({type:"start",persons:a})},children:$s("calculate")})]})}function db({house:e}){return l.jsx("div",{className:"price-overview bup-16",children:l.jsx(lb,{house:e})})}function pb({numberOfMonths:t,house:n,numberOfMonthsInARow:a}){const[r,i]=e.useState(new Date);return l.jsxs("div",{className:"calendar-container ",children:[l.jsx(db,{house:n}),l.jsxs("div",{className:"calendar-section",children:[l.jsx(Zy,{changeMonth:i,currentMonth:r,numberOfMonths:t}),l.jsx(sb,{house:n,numberOfMonths:t,numberOfMonthsInARow:a,currentMonth:r}),l.jsx(tb,{house:n}),l.jsx(eb,{house:n})]})]})}function hb(){const{portalCode:t,objectCode:n,locale:a}=e.useContext(jf),{loading:r,error:i,data:o}=ts(ys,{variables:{portalCode:t,objectCode:n}});if(Of({house_code:n,portal_code:t,interaction_type:"calendar_view",locale:a}),r)return l.jsx("div",{children:l.jsx(d,{})});if(i)return l.jsx("div",{children:l.jsx(yf,{errors:i})});const s=o.PortalSite,c=s.houses,u=s.bookingFormConfiguration.showMonthsAmount,p=s.bookingFormConfiguration.showMonthsInARow;return l.jsxs("div",{id:"calendar-container",children:[0===c.length&&l.jsx("div",{children:$s("no_house_found")}),c.map(e=>l.jsxs("div",{children:[l.jsx("div",{className:"bup-16",children:e.name}),l.jsx(pb,{numberOfMonths:u,numberOfMonthsInARow:p,house:e})]},e.id))]})}function mb(){const{bookingStarted:t}=e.useContext(Qy);return t?l.jsx(Jy,{}):l.jsx(hb,{})}function fb(){return l.jsx(Hy,{children:l.jsx(mb,{})})}function vb({rating:e,name:t}){let n="low";return e>7?n="best":e>6?n="good":e>4&&(n="medium"),l.jsxs("div",{className:"bu_score",children:[e&&l.jsx("div",{className:`bu_score__rating bu_card ${n}`,children:e.toFixed(1)}),l.jsx("div",{children:t})]})}const _b=e.memo(function({review:e}){return l.jsxs("div",{className:"bu_single_review bup-16 bu_card",children:[l.jsxs("div",{className:"bu_review_summary",children:[l.jsx(vb,{rating:e.score}),l.jsxs("div",{className:"bu_review_summary__date_name",children:[l.jsxs("div",{children:[e.createdAt,", "]}),l.jsx("div",{className:"bu_review_summary__name",children:e.name})]})]}),l.jsx("blockquote",{className:"bu_review",children:e.review}),l.jsx("div",{className:"bu_criteria",children:e.reviewCriteria.map(e=>l.jsx(vb,{rating:e.score,name:e.name},e.id))})]})});function gb(){return l.jsx("div",{className:"bu_reviews__note",children:l.jsx("a",{href:"https://www.bukazu.com",target:"_blank",rel:"noopener noreferrer",children:$s("reviews_note_link")})})}function yb(){const{objectCode:t,portalCode:n}=e.useContext(jf),{data:a,error:r,loading:i}=ts(Es,{variables:{id:n,house_id:t}});if(i)return l.jsx("div",{children:l.jsx(d,{})});if(r)return l.jsx(yf,{errors:r});const o=a.PortalSite.houses[0],s=o.reviews;return l.jsxs("div",{className:"bu_reviews bup-16",children:[l.jsxs("div",{className:"bu_reviews__overview bup-16 bu_card",children:[l.jsx(vb,{rating:o.rating}),l.jsxs("div",{className:"bu_reviews__overview__number",children:[o.scoreAmount," ",$s("reviews")]})]}),s.map(e=>l.jsx(_b,{review:e},e.id)),l.jsx(gb,{})]})}const bb={width:"100%",padding:"16px",display:"flex",justifyContent:"center",position:"relative"},kb={color:"#808080",fontSize:14,textDecoration:"none"},wb={nl:{url:"http://bukazu.com/veiligheid",label:"Beveiligd en mogelijk gemaakt door BUKAZU"},en:{url:"http://bukazu.com/en/security",label:"Secured and made possible by BUKAZU"},de:{url:"http://bukazu.com/de/sicherheit",label:"Gesichert und ermöglicht durch BUKAZU"},fr:{url:"http://bukazu.com/fr/securite",label:"Sécurisé et rendu possible par BUKAZU"},es:{url:"http://bukazu.com/es/seguridad",label:"Asegurado y hecho posible por BUKAZU"},it:{url:"http://bukazu.com/it/sicurezza",label:"Protetto e reso possibile da BUKAZU"}};function xb(){const{locale:t}=e.useContext(jf);return l.jsx("div",{style:bb,children:l.jsxs("a",{href:wb[t].url,style:kb,children:[l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",version:"1.1",x:"0px",y:"0px",viewBox:"0 0 100 100",enableBackground:"new 0 0 100 100",xmlSpace:"preserve",width:"16px",height:"16px",style:{marginRight:"4px",fill:"#808080"},children:l.jsx("path",{d:"M75.98,41.62h-2.47L73.5,29.31C73.49,15.9,62.58,4.99,49.17,5C35.76,5.01,24.85,15.92,24.86,29.33l0.02,12.31H24 c-4.61,0.01-8.35,3.75-8.34,8.36v36.65c0,4.61,3.75,8.35,8.36,8.35L76,94.97c4.61,0,8.35-3.74,8.34-8.35V49.96 C84.34,45.35,80.59,41.62,75.98,41.62z M33.84,41.64l-0.02-12.31c0-8.47,6.88-15.36,15.35-15.37c8.47,0,15.36,6.89,15.36,15.35 l0.02,12.31L33.84,41.64z"})}),wb[t].label," ",l.jsx("span",{style:{opacity:.5,fontSize:9,position:"absolute",right:10,bottom:0}})]})})}class Sb extends e.Component{constructor(e){super(e),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e,t){vf(e)}render(){return this.state.hasError?l.jsx("h1",{children:"Something went wrong."}):this.props.children}}function Eb({pageType:t,locale:n,filters:a={}}){const{portalCode:r,objectCode:i}=e.useContext(jf),o=!i,{loading:s,error:c,data:u}=ts(ms,{variables:{id:r},skip:o}),{loading:p,error:h,data:m}=ts(fs,{variables:{id:r},skip:!o}),f=o?h:c;if(o?p:s)return l.jsx(d,{});if(f)return l.jsx(yf,{errors:{...f}});const v=o?m?.PortalSite??null:u?.PortalSite??null;if(!v)return l.jsx(d,{});let _=v.options;const g=v.colorsConfiguration,y=document.documentElement;let b;return y.style.setProperty("--bukazu-discount",g.discount),y.style.setProperty("--bukazu-cell",g.cell),y.style.setProperty("--bukazu-arrival",g.arrival),y.style.setProperty("--bukazu-booked",g.booked),y.style.setProperty("--bukazu-departure",g.departure),y.style.setProperty("--bukazu-button",g.button),y.style.setProperty("--bukazu-button_cta",g.buttonCta),b=i&&null!==i&&"reviews"!==t?l.jsxs(Sb,{children:[l.jsx(fb,{}),l.jsx(xb,{})]}):i&&null!==i&&"reviews"===t?l.jsx(yb,{}):l.jsx(Nf,{PortalSite:v,locale:n,options:_,filters:a}),l.jsx(l.Fragment,{children:b})}const jb={lessThanXSeconds:{one:"minder dan een seconde",other:"minder dan {{count}} seconden"},xSeconds:{one:"1 seconde",other:"{{count}} seconden"},halfAMinute:"een halve minuut",lessThanXMinutes:{one:"minder dan een minuut",other:"minder dan {{count}} minuten"},xMinutes:{one:"een minuut",other:"{{count}} minuten"},aboutXHours:{one:"ongeveer 1 uur",other:"ongeveer {{count}} uur"},xHours:{one:"1 uur",other:"{{count}} uur"},xDays:{one:"1 dag",other:"{{count}} dagen"},aboutXWeeks:{one:"ongeveer 1 week",other:"ongeveer {{count}} weken"},xWeeks:{one:"1 week",other:"{{count}} weken"},aboutXMonths:{one:"ongeveer 1 maand",other:"ongeveer {{count}} maanden"},xMonths:{one:"1 maand",other:"{{count}} maanden"},aboutXYears:{one:"ongeveer 1 jaar",other:"ongeveer {{count}} jaar"},xYears:{one:"1 jaar",other:"{{count}} jaar"},overXYears:{one:"meer dan 1 jaar",other:"meer dan {{count}} jaar"},almostXYears:{one:"bijna 1 jaar",other:"bijna {{count}} jaar"}},Tb={date:pc({formats:{full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd-MM-y"},defaultWidth:"full"}),time:pc({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:pc({formats:{full:"{{date}} 'om' {{time}}",long:"{{date}} 'om' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},Ob={lastWeek:"'afgelopen' eeee 'om' p",yesterday:"'gisteren om' p",today:"'vandaag om' p",tomorrow:"'morgen om' p",nextWeek:"eeee 'om' p",other:"P"},Cb={code:"nl",formatDistance:(e,t,n)=>{let a;const r=jb[e];return a="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",String(t)),n?.addSuffix?n.comparison&&n.comparison>0?"over "+a:a+" geleden":a},formatLong:Tb,formatRelative:(e,t,n,a)=>Ob[e],localize:{ordinalNumber:(e,t)=>Number(e)+"e",era:vc({values:{narrow:["v.C.","n.C."],abbreviated:["v.Chr.","n.Chr."],wide:["voor Christus","na Christus"]},defaultWidth:"wide"}),quarter:vc({values:{narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1e kwartaal","2e kwartaal","3e kwartaal","4e kwartaal"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:vc({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan.","feb.","mrt.","apr.","mei","jun.","jul.","aug.","sep.","okt.","nov.","dec."],wide:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"]},defaultWidth:"wide"}),day:vc({values:{narrow:["Z","M","D","W","D","V","Z"],short:["zo","ma","di","wo","do","vr","za"],abbreviated:["zon","maa","din","woe","don","vri","zat"],wide:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"]},defaultWidth:"wide"}),dayPeriod:vc({values:{narrow:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"},abbreviated:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"},wide:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"}},defaultWidth:"wide"})},match:{ordinalNumber:yc({matchPattern:/^(\d+)e?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:gc({matchPatterns:{narrow:/^([vn]\.? ?C\.?)/,abbreviated:/^([vn]\. ?Chr\.?)/,wide:/^((voor|na) Christus)/},defaultMatchWidth:"wide",parsePatterns:{any:[/^v/,/^n/]},defaultParseWidth:"any"}),quarter:gc({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^K[1234]/i,wide:/^[1234]e kwartaal/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:gc({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan.|feb.|mrt.|apr.|mei|jun.|jul.|aug.|sep.|okt.|nov.|dec.)/i,wide:/^(januari|februari|maart|april|mei|juni|juli|augustus|september|oktober|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^jan/i,/^feb/i,/^m(r|a)/i,/^apr/i,/^mei/i,/^jun/i,/^jul/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i]},defaultParseWidth:"any"}),day:gc({matchPatterns:{narrow:/^[zmdwv]/i,short:/^(zo|ma|di|wo|do|vr|za)/i,abbreviated:/^(zon|maa|din|woe|don|vri|zat)/i,wide:/^(zondag|maandag|dinsdag|woensdag|donderdag|vrijdag|zaterdag)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^z/i,/^m/i,/^d/i,/^w/i,/^d/i,/^v/i,/^z/i],any:[/^zo/i,/^ma/i,/^di/i,/^wo/i,/^do/i,/^vr/i,/^za/i]},defaultParseWidth:"any"}),dayPeriod:gc({matchPatterns:{any:/^(am|pm|middernacht|het middaguur|'s (ochtends|middags|avonds|nachts))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^am/i,pm:/^pm/i,midnight:/^middernacht/i,noon:/^het middaguur/i,morning:/ochtend/i,afternoon:/middag/i,evening:/avond/i,night:/nacht/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}},Nb=Object.freeze(Object.defineProperty({__proto__:null,default:Cb,nl:Cb},Symbol.toStringTag,{value:"Module"})),Mb={lessThanXSeconds:{standalone:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"},withPreposition:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"}},xSeconds:{standalone:{one:"1 Sekunde",other:"{{count}} Sekunden"},withPreposition:{one:"1 Sekunde",other:"{{count}} Sekunden"}},halfAMinute:{standalone:"eine halbe Minute",withPreposition:"einer halben Minute"},lessThanXMinutes:{standalone:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"},withPreposition:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"}},xMinutes:{standalone:{one:"1 Minute",other:"{{count}} Minuten"},withPreposition:{one:"1 Minute",other:"{{count}} Minuten"}},aboutXHours:{standalone:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"},withPreposition:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"}},xHours:{standalone:{one:"1 Stunde",other:"{{count}} Stunden"},withPreposition:{one:"1 Stunde",other:"{{count}} Stunden"}},xDays:{standalone:{one:"1 Tag",other:"{{count}} Tage"},withPreposition:{one:"1 Tag",other:"{{count}} Tagen"}},aboutXWeeks:{standalone:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"},withPreposition:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"}},xWeeks:{standalone:{one:"1 Woche",other:"{{count}} Wochen"},withPreposition:{one:"1 Woche",other:"{{count}} Wochen"}},aboutXMonths:{standalone:{one:"etwa 1 Monat",other:"etwa {{count}} Monate"},withPreposition:{one:"etwa 1 Monat",other:"etwa {{count}} Monaten"}},xMonths:{standalone:{one:"1 Monat",other:"{{count}} Monate"},withPreposition:{one:"1 Monat",other:"{{count}} Monaten"}},aboutXYears:{standalone:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahre"},withPreposition:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahren"}},xYears:{standalone:{one:"1 Jahr",other:"{{count}} Jahre"},withPreposition:{one:"1 Jahr",other:"{{count}} Jahren"}},overXYears:{standalone:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahre"},withPreposition:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahren"}},almostXYears:{standalone:{one:"fast 1 Jahr",other:"fast {{count}} Jahre"},withPreposition:{one:"fast 1 Jahr",other:"fast {{count}} Jahren"}}},Db={date:pc({formats:{full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.y"},defaultWidth:"full"}),time:pc({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:pc({formats:{full:"{{date}} 'um' {{time}}",long:"{{date}} 'um' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},Ab={lastWeek:"'letzten' eeee 'um' p",yesterday:"'gestern um' p",today:"'heute um' p",tomorrow:"'morgen um' p",nextWeek:"eeee 'um' p",other:"P"},Ib={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],wide:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]},Pb={narrow:Ib.narrow,abbreviated:["Jan.","Feb.","März","Apr.","Mai","Juni","Juli","Aug.","Sep.","Okt.","Nov.","Dez."],wide:Ib.wide},Rb={code:"de",formatDistance:(e,t,n)=>{let a;const r=n?.addSuffix?Mb[e].withPreposition:Mb[e].standalone;return a="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",String(t)),n?.addSuffix?n.comparison&&n.comparison>0?"in "+a:"vor "+a:a},formatLong:Db,formatRelative:(e,t,n,a)=>Ab[e],localize:{ordinalNumber:e=>Number(e)+".",era:vc({values:{narrow:["v.Chr.","n.Chr."],abbreviated:["v.Chr.","n.Chr."],wide:["vor Christus","nach Christus"]},defaultWidth:"wide"}),quarter:vc({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. Quartal","2. Quartal","3. Quartal","4. Quartal"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:vc({values:Ib,formattingValues:Pb,defaultWidth:"wide"}),day:vc({values:{narrow:["S","M","D","M","D","F","S"],short:["So","Mo","Di","Mi","Do","Fr","Sa"],abbreviated:["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],wide:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"]},defaultWidth:"wide"}),dayPeriod:vc({values:{narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachm.",evening:"Abend",night:"Nacht"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"}},defaultWidth:"wide",formattingValues:{narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachm.",evening:"abends",night:"nachts"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:yc({matchPattern:/^(\d+)(\.)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e)}),era:gc({matchPatterns:{narrow:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,abbreviated:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,wide:/^(vor Christus|vor unserer Zeitrechnung|nach Christus|unserer Zeitrechnung)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^v/i,/^n/i]},defaultParseWidth:"any"}),quarter:gc({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](\.)? Quartal/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:gc({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(j[aä]n|feb|mär[z]?|apr|mai|jun[i]?|jul[i]?|aug|sep|okt|nov|dez)\.?/i,wide:/^(januar|februar|märz|april|mai|juni|juli|august|september|oktober|november|dezember)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^j[aä]/i,/^f/i,/^mär/i,/^ap/i,/^mai/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:gc({matchPatterns:{narrow:/^[smdmf]/i,short:/^(so|mo|di|mi|do|fr|sa)/i,abbreviated:/^(son?|mon?|die?|mit?|don?|fre?|sam?)\.?/i,wide:/^(sonntag|montag|dienstag|mittwoch|donnerstag|freitag|samstag)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^so/i,/^mo/i,/^di/i,/^mi/i,/^do/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:gc({matchPatterns:{narrow:/^(vm\.?|nm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,abbreviated:/^(vorm\.?|nachm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,wide:/^(vormittags|nachmittags|Mitternacht|Mittag|morgens|nachmittags|abends|nachts)/i},defaultMatchWidth:"wide",parsePatterns:{any:{am:/^v/i,pm:/^n/i,midnight:/^Mitte/i,noon:/^Mitta/i,morning:/morgens/i,afternoon:/nachmittags/i,evening:/abends/i,night:/nachts/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}},Fb=Object.freeze(Object.defineProperty({__proto__:null,de:Rb,default:Rb},Symbol.toStringTag,{value:"Module"})),zb={lessThanXSeconds:{one:"moins d’une seconde",other:"moins de {{count}} secondes"},xSeconds:{one:"1 seconde",other:"{{count}} secondes"},halfAMinute:"30 secondes",lessThanXMinutes:{one:"moins d’une minute",other:"moins de {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"environ 1 heure",other:"environ {{count}} heures"},xHours:{one:"1 heure",other:"{{count}} heures"},xDays:{one:"1 jour",other:"{{count}} jours"},aboutXWeeks:{one:"environ 1 semaine",other:"environ {{count}} semaines"},xWeeks:{one:"1 semaine",other:"{{count}} semaines"},aboutXMonths:{one:"environ 1 mois",other:"environ {{count}} mois"},xMonths:{one:"1 mois",other:"{{count}} mois"},aboutXYears:{one:"environ 1 an",other:"environ {{count}} ans"},xYears:{one:"1 an",other:"{{count}} ans"},overXYears:{one:"plus d’un an",other:"plus de {{count}} ans"},almostXYears:{one:"presqu’un an",other:"presque {{count}} ans"}},Lb={date:pc({formats:{full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},defaultWidth:"full"}),time:pc({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:pc({formats:{full:"{{date}} 'à' {{time}}",long:"{{date}} 'à' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},qb={lastWeek:"eeee 'dernier à' p",yesterday:"'hier à' p",today:"'aujourd’hui à' p",tomorrow:"'demain à' p'",nextWeek:"eeee 'prochain à' p",other:"P"},$b=["MMM","MMMM"],Bb={code:"fr",formatDistance:(e,t,n)=>{let a;const r=zb[e];return a="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",String(t)),n?.addSuffix?n.comparison&&n.comparison>0?"dans "+a:"il y a "+a:a},formatLong:Lb,formatRelative:(e,t,n,a)=>qb[e],localize:{preprocessor:(e,t)=>{if(1===e.getDate())return t;return t.some(e=>e.isToken&&$b.includes(e.value))?t.map(e=>e.isToken&&"do"===e.value?{isToken:!0,value:"d"}:e):t},ordinalNumber:(e,t)=>{const n=Number(e),a=t?.unit;if(0===n)return"0";let r;return r=1===n?a&&["year","week","hour","minute","second"].includes(a)?"ère":"er":"ème",n+r},era:vc({values:{narrow:["av. J.-C","ap. J.-C"],abbreviated:["av. J.-C","ap. J.-C"],wide:["avant Jésus-Christ","après Jésus-Christ"]},defaultWidth:"wide"}),quarter:vc({values:{narrow:["T1","T2","T3","T4"],abbreviated:["1er trim.","2ème trim.","3ème trim.","4ème trim."],wide:["1er trimestre","2ème trimestre","3ème trimestre","4ème trimestre"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:vc({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."],wide:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"]},defaultWidth:"wide"}),day:vc({values:{narrow:["D","L","M","M","J","V","S"],short:["di","lu","ma","me","je","ve","sa"],abbreviated:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],wide:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},defaultWidth:"wide"}),dayPeriod:vc({values:{narrow:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"mat.",afternoon:"ap.m.",evening:"soir",night:"mat."},abbreviated:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"matin",afternoon:"après-midi",evening:"soir",night:"matin"},wide:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"du matin",afternoon:"de l’après-midi",evening:"du soir",night:"du matin"}},defaultWidth:"wide"})},match:{ordinalNumber:yc({matchPattern:/^(\d+)(ième|ère|ème|er|e)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e)}),era:gc({matchPatterns:{narrow:/^(av\.J\.C|ap\.J\.C|ap\.J\.-C)/i,abbreviated:/^(av\.J\.-C|av\.J-C|apr\.J\.-C|apr\.J-C|ap\.J-C)/i,wide:/^(avant Jésus-Christ|après Jésus-Christ)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^av/i,/^ap/i]},defaultParseWidth:"any"}),quarter:gc({matchPatterns:{narrow:/^T?[1234]/i,abbreviated:/^[1234](er|ème|e)? trim\.?/i,wide:/^[1234](er|ème|e)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:gc({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(janv|févr|mars|avr|mai|juin|juill|juil|août|sept|oct|nov|déc)\.?/i,wide:/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^av/i,/^ma/i,/^juin/i,/^juil/i,/^ao/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:gc({matchPatterns:{narrow:/^[lmjvsd]/i,short:/^(di|lu|ma|me|je|ve|sa)/i,abbreviated:/^(dim|lun|mar|mer|jeu|ven|sam)\.?/i,wide:/^(dimanche|lundi|mardi|mercredi|jeudi|vendredi|samedi)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^di/i,/^lu/i,/^ma/i,/^me/i,/^je/i,/^ve/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:gc({matchPatterns:{narrow:/^(a|p|minuit|midi|mat\.?|ap\.?m\.?|soir|nuit)/i,any:/^([ap]\.?\s?m\.?|du matin|de l'après[-\s]midi|du soir|de la nuit)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^min/i,noon:/^mid/i,morning:/mat/i,afternoon:/ap/i,evening:/soir/i,night:/nuit/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}},Vb=Object.freeze(Object.defineProperty({__proto__:null,default:Bb,fr:Bb},Symbol.toStringTag,{value:"Module"})),Ub={lessThanXSeconds:{one:"meno di un secondo",other:"meno di {{count}} secondi"},xSeconds:{one:"un secondo",other:"{{count}} secondi"},halfAMinute:"alcuni secondi",lessThanXMinutes:{one:"meno di un minuto",other:"meno di {{count}} minuti"},xMinutes:{one:"un minuto",other:"{{count}} minuti"},aboutXHours:{one:"circa un'ora",other:"circa {{count}} ore"},xHours:{one:"un'ora",other:"{{count}} ore"},xDays:{one:"un giorno",other:"{{count}} giorni"},aboutXWeeks:{one:"circa una settimana",other:"circa {{count}} settimane"},xWeeks:{one:"una settimana",other:"{{count}} settimane"},aboutXMonths:{one:"circa un mese",other:"circa {{count}} mesi"},xMonths:{one:"un mese",other:"{{count}} mesi"},aboutXYears:{one:"circa un anno",other:"circa {{count}} anni"},xYears:{one:"un anno",other:"{{count}} anni"},overXYears:{one:"più di un anno",other:"più di {{count}} anni"},almostXYears:{one:"quasi un anno",other:"quasi {{count}} anni"}},Wb={date:pc({formats:{full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},defaultWidth:"full"}),time:pc({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:pc({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},Qb=["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"];function Gb(e){return"'"+Qb[e]+" alle' p"}const Hb={lastWeek:(e,t,n)=>{const a=e.getDay();return Xu(e,t,n)?Gb(a):function(e){return 0===e?"'domenica scorsa alle' p":"'"+Qb[e]+" scorso alle' p"}(a)},yesterday:"'ieri alle' p",today:"'oggi alle' p",tomorrow:"'domani alle' p",nextWeek:(e,t,n)=>{const a=e.getDay();return Xu(e,t,n)?Gb(a):function(e){return 0===e?"'domenica prossima alle' p":"'"+Qb[e]+" prossimo alle' p"}(a)},other:"P"},Kb={code:"it",formatDistance:(e,t,n)=>{let a;const r=Ub[e];return a="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"tra "+a:a+" fa":a},formatLong:Wb,formatRelative:(e,t,n,a)=>{const r=Hb[e];return"function"==typeof r?r(t,n,a):r},localize:{ordinalNumber:(e,t)=>{const n=Number(e);return String(n)},era:vc({values:{narrow:["aC","dC"],abbreviated:["a.C.","d.C."],wide:["avanti Cristo","dopo Cristo"]},defaultWidth:"wide"}),quarter:vc({values:{narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:vc({values:{narrow:["G","F","M","A","M","G","L","A","S","O","N","D"],abbreviated:["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic"],wide:["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"]},defaultWidth:"wide"}),day:vc({values:{narrow:["D","L","M","M","G","V","S"],short:["dom","lun","mar","mer","gio","ven","sab"],abbreviated:["dom","lun","mar","mer","gio","ven","sab"],wide:["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"]},defaultWidth:"wide"}),dayPeriod:vc({values:{narrow:{am:"m.",pm:"p.",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"},abbreviated:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"},wide:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"}},defaultWidth:"wide",formattingValues:{narrow:{am:"m.",pm:"p.",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"},abbreviated:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"},wide:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:yc({matchPattern:/^(\d+)(º)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:gc({matchPatterns:{narrow:/^(aC|dC)/i,abbreviated:/^(a\.?\s?C\.?|a\.?\s?e\.?\s?v\.?|d\.?\s?C\.?|e\.?\s?v\.?)/i,wide:/^(avanti Cristo|avanti Era Volgare|dopo Cristo|Era Volgare)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^a/i,/^(d|e)/i]},defaultParseWidth:"any"}),quarter:gc({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^t[1234]/i,wide:/^[1234](º)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:gc({matchPatterns:{narrow:/^[gfmalsond]/i,abbreviated:/^(gen|feb|mar|apr|mag|giu|lug|ago|set|ott|nov|dic)/i,wide:/^(gennaio|febbraio|marzo|aprile|maggio|giugno|luglio|agosto|settembre|ottobre|novembre|dicembre)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^g/i,/^f/i,/^m/i,/^a/i,/^m/i,/^g/i,/^l/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ge/i,/^f/i,/^mar/i,/^ap/i,/^mag/i,/^gi/i,/^l/i,/^ag/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:gc({matchPatterns:{narrow:/^[dlmgvs]/i,short:/^(do|lu|ma|me|gi|ve|sa)/i,abbreviated:/^(dom|lun|mar|mer|gio|ven|sab)/i,wide:/^(domenica|luned[i|ì]|marted[i|ì]|mercoled[i|ì]|gioved[i|ì]|venerd[i|ì]|sabato)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^g/i,/^v/i,/^s/i],any:[/^d/i,/^l/i,/^ma/i,/^me/i,/^g/i,/^v/i,/^s/i]},defaultParseWidth:"any"}),dayPeriod:gc({matchPatterns:{narrow:/^(a|m\.|p|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i,any:/^([ap]\.?\s?m\.?|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mezza/i,noon:/^mezzo/i,morning:/mattina/i,afternoon:/pomeriggio/i,evening:/sera/i,night:/notte/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}},Yb=Object.freeze(Object.defineProperty({__proto__:null,default:Kb,it:Kb},Symbol.toStringTag,{value:"Module"})),Jb={lessThanXSeconds:{one:"menos de un segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"medio minuto",lessThanXMinutes:{one:"menos de un minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"alrededor de 1 hora",other:"alrededor de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 día",other:"{{count}} días"},aboutXWeeks:{one:"alrededor de 1 semana",other:"alrededor de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"alrededor de 1 mes",other:"alrededor de {{count}} meses"},xMonths:{one:"1 mes",other:"{{count}} meses"},aboutXYears:{one:"alrededor de 1 año",other:"alrededor de {{count}} años"},xYears:{one:"1 año",other:"{{count}} años"},overXYears:{one:"más de 1 año",other:"más de {{count}} años"},almostXYears:{one:"casi 1 año",other:"casi {{count}} años"}},Xb={date:pc({formats:{full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/y"},defaultWidth:"full"}),time:pc({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:pc({formats:{full:"{{date}} 'a las' {{time}}",long:"{{date}} 'a las' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},Zb={lastWeek:"'el' eeee 'pasado a la' p",yesterday:"'ayer a la' p",today:"'hoy a la' p",tomorrow:"'mañana a la' p",nextWeek:"eeee 'a la' p",other:"P"},ek={lastWeek:"'el' eeee 'pasado a las' p",yesterday:"'ayer a las' p",today:"'hoy a las' p",tomorrow:"'mañana a las' p",nextWeek:"eeee 'a las' p",other:"P"},tk={code:"es",formatDistance:(e,t,n)=>{let a;const r=Jb[e];return a="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"en "+a:"hace "+a:a},formatLong:Xb,formatRelative:(e,t,n,a)=>1!==t.getHours()?ek[e]:Zb[e],localize:{ordinalNumber:(e,t)=>Number(e)+"º",era:vc({values:{narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","después de cristo"]},defaultWidth:"wide"}),quarter:vc({values:{narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:vc({values:{narrow:["e","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"],wide:["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"]},defaultWidth:"wide"}),day:vc({values:{narrow:["d","l","m","m","j","v","s"],short:["do","lu","ma","mi","ju","vi","sá"],abbreviated:["dom","lun","mar","mié","jue","vie","sáb"],wide:["domingo","lunes","martes","miércoles","jueves","viernes","sábado"]},defaultWidth:"wide"}),dayPeriod:vc({values:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:yc({matchPattern:/^(\d+)(º)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:gc({matchPatterns:{narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,wide:/^(antes de cristo|antes de la era com[uú]n|despu[eé]s de cristo|era com[uú]n)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes de la era com[uú]n)/i,/^(despu[eé]s de cristo|era com[uú]n)/i]},defaultParseWidth:"any"}),quarter:gc({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:gc({matchPatterns:{narrow:/^[efmajsond]/i,abbreviated:/^(ene|feb|mar|abr|may|jun|jul|ago|sep|oct|nov|dic)/i,wide:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^e/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^en/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i]},defaultParseWidth:"any"}),day:gc({matchPatterns:{narrow:/^[dlmjvs]/i,short:/^(do|lu|ma|mi|ju|vi|s[áa])/i,abbreviated:/^(dom|lun|mar|mi[ée]|jue|vie|s[áa]b)/i,wide:/^(domingo|lunes|martes|mi[ée]rcoles|jueves|viernes|s[áa]bado)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^do/i,/^lu/i,/^ma/i,/^mi/i,/^ju/i,/^vi/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:gc({matchPatterns:{narrow:/^(a|p|mn|md|(de la|a las) (mañana|tarde|noche))/i,any:/^([ap]\.?\s?m\.?|medianoche|mediodia|(de la|a las) (mañana|tarde|noche))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mn/i,noon:/^md/i,morning:/mañana/i,afternoon:/tarde/i,evening:/tarde/i,night:/noche/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:1}},nk=Object.freeze(Object.defineProperty({__proto__:null,default:tk,es:tk},Symbol.toStringTag,{value:"Module"})),ak=JSON.parse('[{"name":"Afghanistan","alpha2":"af"},{"name":"Åland","alpha2":"ax"},{"name":"Albanië","alpha2":"al"},{"name":"Algerije","alpha2":"dz"},{"name":"Amerikaanse Maagdeneilanden","alpha2":"vi"},{"name":"Amerikaans-Samoa","alpha2":"as"},{"name":"Andorra","alpha2":"ad"},{"name":"Angola","alpha2":"ao"},{"name":"Anguilla","alpha2":"ai"},{"name":"Antarctica","alpha2":"aq"},{"name":"Antigua en Barbuda","alpha2":"ag"},{"name":"Argentinië","alpha2":"ar"},{"name":"Armenië","alpha2":"am"},{"name":"Aruba","alpha2":"aw"},{"name":"Australië","alpha2":"au"},{"name":"Azerbeidzjan","alpha2":"az"},{"name":"Bahama\'s","alpha2":"bs"},{"name":"Bahrein","alpha2":"bh"},{"name":"Bangladesh","alpha2":"bd"},{"name":"Barbados","alpha2":"bb"},{"name":"België","alpha2":"be"},{"name":"Belize","alpha2":"bz"},{"name":"Benin","alpha2":"bj"},{"name":"Bermuda","alpha2":"bm"},{"name":"Bhutan","alpha2":"bt"},{"name":"Bolivia","alpha2":"bo"},{"name":"Caribisch Nederland","alpha2":"bq"},{"name":"Bosnië en Herzegovina","alpha2":"ba"},{"name":"Botswana","alpha2":"bw"},{"name":"Bouveteiland","alpha2":"bv"},{"name":"Brazilië","alpha2":"br"},{"name":"Britse Maagdeneilanden","alpha2":"vg"},{"name":"Brits Indische Oceaanterritorium","alpha2":"io"},{"name":"Brunei","alpha2":"bn"},{"name":"Bulgarije","alpha2":"bg"},{"name":"Burkina Faso","alpha2":"bf"},{"name":"Burundi","alpha2":"bi"},{"name":"Cambodja","alpha2":"kh"},{"name":"Canada","alpha2":"ca"},{"name":"Centraal-Afrikaanse Republiek","alpha2":"cf"},{"name":"Chili","alpha2":"cl"},{"name":"China","alpha2":"cn"},{"name":"Christmaseiland","alpha2":"cx"},{"name":"Cocoseilanden","alpha2":"cc"},{"name":"Colombia","alpha2":"co"},{"name":"Comoren","alpha2":"km"},{"name":"Congo-Brazzaville","alpha2":"cg"},{"name":"Congo-Kinshasa","alpha2":"cd"},{"name":"Cookeilanden","alpha2":"ck"},{"name":"Costa Rica","alpha2":"cr"},{"name":"Cuba","alpha2":"cu"},{"name":"Curaçao","alpha2":"cw"},{"name":"Cyprus","alpha2":"cy"},{"name":"Denemarken","alpha2":"dk"},{"name":"Djibouti","alpha2":"dj"},{"name":"Dominica","alpha2":"dm"},{"name":"Dominicaanse Republiek","alpha2":"do"},{"name":"Duitsland","alpha2":"de"},{"name":"Ecuador","alpha2":"ec"},{"name":"Egypte","alpha2":"eg"},{"name":"El Salvador","alpha2":"sv"},{"name":"Equatoriaal-Guinea","alpha2":"gq"},{"name":"Eritrea","alpha2":"er"},{"name":"Estland","alpha2":"ee"},{"name":"Ethiopië","alpha2":"et"},{"name":"Faeröer","alpha2":"fo"},{"name":"Falklandeilanden","alpha2":"fk"},{"name":"Fiji","alpha2":"fj"},{"name":"Filipijnen","alpha2":"ph"},{"name":"Finland","alpha2":"fi"},{"name":"Frankrijk","alpha2":"fr"},{"name":"Franse Zuidelijke en Antarctische Gebieden","alpha2":"tf"},{"name":"Frans-Guyana","alpha2":"gf"},{"name":"Frans-Polynesië","alpha2":"pf"},{"name":"Gabon","alpha2":"ga"},{"name":"Gambia","alpha2":"gm"},{"name":"Georgië","alpha2":"ge"},{"name":"Ghana","alpha2":"gh"},{"name":"Gibraltar","alpha2":"gi"},{"name":"Grenada","alpha2":"gd"},{"name":"Griekenland","alpha2":"gr"},{"name":"Groenland","alpha2":"gl"},{"name":"Guadeloupe","alpha2":"gp"},{"name":"Guam","alpha2":"gu"},{"name":"Guatemala","alpha2":"gt"},{"name":"Guernsey","alpha2":"gg"},{"name":"Guinee","alpha2":"gn"},{"name":"Guinee-Bissau","alpha2":"gw"},{"name":"Guyana","alpha2":"gy"},{"name":"Haïti","alpha2":"ht"},{"name":"Heard en McDonaldeilanden","alpha2":"hm"},{"name":"Honduras","alpha2":"hn"},{"name":"Hongarije","alpha2":"hu"},{"name":"Hongkong","alpha2":"hk"},{"name":"Ierland","alpha2":"ie"},{"name":"IJsland","alpha2":"is"},{"name":"India","alpha2":"in"},{"name":"Indonesië","alpha2":"id"},{"name":"Irak","alpha2":"iq"},{"name":"Iran","alpha2":"ir"},{"name":"Israël","alpha2":"il"},{"name":"Italië","alpha2":"it"},{"name":"Ivoorkust","alpha2":"ci"},{"name":"Jamaica","alpha2":"jm"},{"name":"Japan","alpha2":"jp"},{"name":"Jemen","alpha2":"ye"},{"name":"Jersey","alpha2":"je"},{"name":"Jordanië","alpha2":"jo"},{"name":"Kaaimaneilanden","alpha2":"ky"},{"name":"Kaapverdië","alpha2":"cv"},{"name":"Kameroen","alpha2":"cm"},{"name":"Kazachstan","alpha2":"kz"},{"name":"Kenia","alpha2":"ke"},{"name":"Kirgizië","alpha2":"kg"},{"name":"Kiribati","alpha2":"ki"},{"name":"Kleine afgelegen eilanden van de Verenigde Staten","alpha2":"um"},{"name":"Koeweit","alpha2":"kw"},{"name":"Kroatië","alpha2":"hr"},{"name":"Laos","alpha2":"la"},{"name":"Lesotho","alpha2":"ls"},{"name":"Letland","alpha2":"lv"},{"name":"Libanon","alpha2":"lb"},{"name":"Liberia","alpha2":"lr"},{"name":"Libië","alpha2":"ly"},{"name":"Liechtenstein","alpha2":"li"},{"name":"Litouwen","alpha2":"lt"},{"name":"Luxemburg","alpha2":"lu"},{"name":"Macau","alpha2":"mo"},{"name":"Macedonië","alpha2":"mk"},{"name":"Madagaskar","alpha2":"mg"},{"name":"Malawi","alpha2":"mw"},{"name":"Maldiven","alpha2":"mv"},{"name":"Maleisië","alpha2":"my"},{"name":"Mali","alpha2":"ml"},{"name":"Malta","alpha2":"mt"},{"name":"Man","alpha2":"im"},{"name":"Marokko","alpha2":"ma"},{"name":"Marshalleilanden","alpha2":"mh"},{"name":"Martinique","alpha2":"mq"},{"name":"Mauritanië","alpha2":"mr"},{"name":"Mauritius","alpha2":"mu"},{"name":"Mayotte","alpha2":"yt"},{"name":"Mexico","alpha2":"mx"},{"name":"Micronesia","alpha2":"fm"},{"name":"Moldavië","alpha2":"md"},{"name":"Monaco","alpha2":"mc"},{"name":"Mongolië","alpha2":"mn"},{"name":"Montenegro","alpha2":"me"},{"name":"Montserrat","alpha2":"ms"},{"name":"Mozambique","alpha2":"mz"},{"name":"Myanmar","alpha2":"mm"},{"name":"Namibië","alpha2":"na"},{"name":"Nauru","alpha2":"nr"},{"name":"Nederland","alpha2":"nl"},{"name":"Nepal","alpha2":"np"},{"name":"Nicaragua","alpha2":"ni"},{"name":"Nieuw-Caledonië","alpha2":"nc"},{"name":"Nieuw-Zeeland","alpha2":"nz"},{"name":"Niger","alpha2":"ne"},{"name":"Nigeria","alpha2":"ng"},{"name":"Niue","alpha2":"nu"},{"name":"Noordelijke Marianen","alpha2":"mp"},{"name":"Noord-Korea","alpha2":"kp"},{"name":"Noorwegen","alpha2":"no"},{"name":"Norfolk","alpha2":"nf"},{"name":"Oeganda","alpha2":"ug"},{"name":"Oekraïne","alpha2":"ua"},{"name":"Oezbekistan","alpha2":"uz"},{"name":"Oman","alpha2":"om"},{"name":"Oostenrijk","alpha2":"at"},{"name":"Oost-Timor","alpha2":"tl"},{"name":"Pakistan","alpha2":"pk"},{"name":"Palau","alpha2":"pw"},{"name":"Palestina","alpha2":"ps"},{"name":"Panama","alpha2":"pa"},{"name":"Papoea-Nieuw-Guinea","alpha2":"pg"},{"name":"Paraguay","alpha2":"py"},{"name":"Peru","alpha2":"pe"},{"name":"Pitcairneilanden","alpha2":"pn"},{"name":"Polen","alpha2":"pl"},{"name":"Portugal","alpha2":"pt"},{"name":"Puerto Rico","alpha2":"pr"},{"name":"Qatar","alpha2":"qa"},{"name":"Réunion","alpha2":"re"},{"name":"Roemenië","alpha2":"ro"},{"name":"Rusland","alpha2":"ru"},{"name":"Rwanda","alpha2":"rw"},{"name":"Saint-Barthélemy","alpha2":"bl"},{"name":"Saint Kitts en Nevis","alpha2":"kn"},{"name":"Saint Lucia","alpha2":"lc"},{"name":"Saint-Pierre en Miquelon","alpha2":"pm"},{"name":"Saint Vincent en de Grenadines","alpha2":"vc"},{"name":"Salomonseilanden","alpha2":"sb"},{"name":"Samoa","alpha2":"ws"},{"name":"San Marino","alpha2":"sm"},{"name":"Saoedi-Arabië","alpha2":"sa"},{"name":"Sao Tomé en Principe","alpha2":"st"},{"name":"Senegal","alpha2":"sn"},{"name":"Servië","alpha2":"rs"},{"name":"Seychellen","alpha2":"sc"},{"name":"Sierra Leone","alpha2":"sl"},{"name":"Singapore","alpha2":"sg"},{"name":"Sint-Helena, Ascension en Tristan da Cunha","alpha2":"sh"},{"name":"Sint-Maarten","alpha2":"mf"},{"name":"Sint Maarten","alpha2":"sx"},{"name":"Slovenië","alpha2":"si"},{"name":"Slowakije","alpha2":"sk"},{"name":"Soedan","alpha2":"sd"},{"name":"Somalië","alpha2":"so"},{"name":"Spanje","alpha2":"es"},{"name":"Spitsbergen en Jan Mayen","alpha2":"sj"},{"name":"Sri Lanka","alpha2":"lk"},{"name":"Suriname","alpha2":"sr"},{"name":"Swaziland","alpha2":"sz"},{"name":"Syrië","alpha2":"sy"},{"name":"Tadzjikistan","alpha2":"tj"},{"name":"Taiwan","alpha2":"tw"},{"name":"Tanzania","alpha2":"tz"},{"name":"Thailand","alpha2":"th"},{"name":"Togo","alpha2":"tg"},{"name":"Tokelau","alpha2":"tk"},{"name":"Tonga","alpha2":"to"},{"name":"Trinidad en Tobago","alpha2":"tt"},{"name":"Tsjaad","alpha2":"td"},{"name":"Tsjechië","alpha2":"cz"},{"name":"Tunesië","alpha2":"tn"},{"name":"Turkije","alpha2":"tr"},{"name":"Turkmenistan","alpha2":"tm"},{"name":"Turks- en Caicoseilanden","alpha2":"tc"},{"name":"Tuvalu","alpha2":"tv"},{"name":"Uruguay","alpha2":"uy"},{"name":"Vanuatu","alpha2":"vu"},{"name":"Vaticaanstad","alpha2":"va"},{"name":"Venezuela","alpha2":"ve"},{"name":"Verenigde Arabische Emiraten","alpha2":"ae"},{"name":"Verenigde Staten","alpha2":"us"},{"name":"Verenigd Koninkrijk","alpha2":"gb"},{"name":"Vietnam","alpha2":"vn"},{"name":"Wallis en Futuna","alpha2":"wf"},{"name":"Westelijke Sahara","alpha2":"eh"},{"name":"Wit-Rusland","alpha2":"by"},{"name":"Zambia","alpha2":"zm"},{"name":"Zimbabwe","alpha2":"zw"},{"name":"Zuid-Afrika","alpha2":"za"},{"name":"Zuid-Georgia en de Zuidelijke Sandwicheilanden","alpha2":"gs"},{"name":"Zuid-Korea","alpha2":"kr"},{"name":"Zuid-Soedan","alpha2":"ss"},{"name":"Zweden","alpha2":"se"},{"name":"Zwitserland","alpha2":"ch"}]'),rk=Object.freeze(Object.defineProperty({__proto__:null,default:ak},Symbol.toStringTag,{value:"Module"})),ik=JSON.parse('[{"name":"Afghanistan","alpha2":"af"},{"name":"Ägypten","alpha2":"eg"},{"name":"Åland","alpha2":"ax"},{"name":"Albanien","alpha2":"al"},{"name":"Algerien","alpha2":"dz"},{"name":"Amerikanisch-Samoa","alpha2":"as"},{"name":"Amerikanische Jungferninseln","alpha2":"vi"},{"name":"Andorra","alpha2":"ad"},{"name":"Angola","alpha2":"ao"},{"name":"Anguilla","alpha2":"ai"},{"name":"Antarktika (Sonderstatus durch Antarktis-Vertrag)","alpha2":"aq"},{"name":"Antigua und Barbuda","alpha2":"ag"},{"name":"Äquatorialguinea","alpha2":"gq"},{"name":"Argentinien","alpha2":"ar"},{"name":"Armenien","alpha2":"am"},{"name":"Aruba","alpha2":"aw"},{"name":"Aserbaidschan","alpha2":"az"},{"name":"Äthiopien","alpha2":"et"},{"name":"Australien","alpha2":"au"},{"name":"Bahamas","alpha2":"bs"},{"name":"Bahrain","alpha2":"bh"},{"name":"Bangladesch","alpha2":"bd"},{"name":"Barbados","alpha2":"bb"},{"name":"Belarus (Weißrussland)","alpha2":"by"},{"name":"Belgien","alpha2":"be"},{"name":"Belize","alpha2":"bz"},{"name":"Benin","alpha2":"bj"},{"name":"Bermuda","alpha2":"bm"},{"name":"Bhutan","alpha2":"bt"},{"name":"Bolivien","alpha2":"bo"},{"name":"Bonaire, Sint Eustatius und Saba (Niederlande)","alpha2":"bq"},{"name":"Bosnien und Herzegowina","alpha2":"ba"},{"name":"Botswana","alpha2":"bw"},{"name":"Bouvetinsel","alpha2":"bv"},{"name":"Brasilien","alpha2":"br"},{"name":"Britische Jungferninseln","alpha2":"vg"},{"name":"Britisches Territorium im Indischen Ozean","alpha2":"io"},{"name":"Brunei Darussalam","alpha2":"bn"},{"name":"Bulgarien","alpha2":"bg"},{"name":"Burkina Faso","alpha2":"bf"},{"name":"Burundi","alpha2":"bi"},{"name":"Chile","alpha2":"cl"},{"name":"China, Volksrepublik","alpha2":"cn"},{"name":"Cookinseln","alpha2":"ck"},{"name":"Costa Rica","alpha2":"cr"},{"name":"Côte d’Ivoire (Elfenbeinküste)","alpha2":"ci"},{"name":"Curaçao","alpha2":"cw"},{"name":"Dänemark","alpha2":"dk"},{"name":"Deutschland","alpha2":"de"},{"name":"Dominica","alpha2":"dm"},{"name":"Dominikanische Republik","alpha2":"do"},{"name":"Dschibuti","alpha2":"dj"},{"name":"Ecuador","alpha2":"ec"},{"name":"El Salvador","alpha2":"sv"},{"name":"Eritrea","alpha2":"er"},{"name":"Estland","alpha2":"ee"},{"name":"Falklandinseln","alpha2":"fk"},{"name":"Färöer","alpha2":"fo"},{"name":"Fidschi","alpha2":"fj"},{"name":"Finnland","alpha2":"fi"},{"name":"Frankreich","alpha2":"fr"},{"name":"Französisch-Guayana","alpha2":"gf"},{"name":"Französisch-Polynesien","alpha2":"pf"},{"name":"Französische Süd- und Antarktisgebiete","alpha2":"tf"},{"name":"Gabun","alpha2":"ga"},{"name":"Gambia","alpha2":"gm"},{"name":"Georgien","alpha2":"ge"},{"name":"Ghana","alpha2":"gh"},{"name":"Gibraltar","alpha2":"gi"},{"name":"Grenada","alpha2":"gd"},{"name":"Griechenland","alpha2":"gr"},{"name":"Grönland","alpha2":"gl"},{"name":"Guadeloupe","alpha2":"gp"},{"name":"Guam","alpha2":"gu"},{"name":"Guatemala","alpha2":"gt"},{"name":"Guernsey (Kanalinsel)","alpha2":"gg"},{"name":"Guinea","alpha2":"gn"},{"name":"Guinea-Bissau","alpha2":"gw"},{"name":"Guyana","alpha2":"gy"},{"name":"Haiti","alpha2":"ht"},{"name":"Heard und McDonaldinseln","alpha2":"hm"},{"name":"Honduras","alpha2":"hn"},{"name":"Hongkong","alpha2":"hk"},{"name":"Indien","alpha2":"in"},{"name":"Indonesien","alpha2":"id"},{"name":"Insel Man","alpha2":"im"},{"name":"Irak","alpha2":"iq"},{"name":"Iran, Islamische Republik","alpha2":"ir"},{"name":"Irland","alpha2":"ie"},{"name":"Island","alpha2":"is"},{"name":"Israel","alpha2":"il"},{"name":"Italien","alpha2":"it"},{"name":"Jamaika","alpha2":"jm"},{"name":"Japan","alpha2":"jp"},{"name":"Jemen","alpha2":"ye"},{"name":"Jersey (Kanalinsel)","alpha2":"je"},{"name":"Jordanien","alpha2":"jo"},{"name":"Kaimaninseln","alpha2":"ky"},{"name":"Kambodscha","alpha2":"kh"},{"name":"Kamerun","alpha2":"cm"},{"name":"Kanada","alpha2":"ca"},{"name":"Kap Verde","alpha2":"cv"},{"name":"Kasachstan","alpha2":"kz"},{"name":"Katar","alpha2":"qa"},{"name":"Kenia","alpha2":"ke"},{"name":"Kirgisistan","alpha2":"kg"},{"name":"Kiribati","alpha2":"ki"},{"name":"Kokosinseln","alpha2":"cc"},{"name":"Kolumbien","alpha2":"co"},{"name":"Komoren","alpha2":"km"},{"name":"Kongo, Demokratische Republik (ehem. Zaire)","alpha2":"cd"},{"name":"Kongo, Republik (ehem. K.-Brazzaville)","alpha2":"cg"},{"name":"Korea, Demokratische Volksrepublik (Nordkorea)","alpha2":"kp"},{"name":"Korea, Republik (Südkorea)","alpha2":"kr"},{"name":"Kroatien","alpha2":"hr"},{"name":"Kuba","alpha2":"cu"},{"name":"Kuwait","alpha2":"kw"},{"name":"Laos, Demokratische Volksrepublik","alpha2":"la"},{"name":"Lesotho","alpha2":"ls"},{"name":"Lettland","alpha2":"lv"},{"name":"Libanon","alpha2":"lb"},{"name":"Liberia","alpha2":"lr"},{"name":"Libyen","alpha2":"ly"},{"name":"Liechtenstein","alpha2":"li"},{"name":"Litauen","alpha2":"lt"},{"name":"Luxemburg","alpha2":"lu"},{"name":"Macau","alpha2":"mo"},{"name":"Madagaskar","alpha2":"mg"},{"name":"Malawi","alpha2":"mw"},{"name":"Malaysia","alpha2":"my"},{"name":"Malediven","alpha2":"mv"},{"name":"Mali","alpha2":"ml"},{"name":"Malta","alpha2":"mt"},{"name":"Marokko","alpha2":"ma"},{"name":"Marshallinseln","alpha2":"mh"},{"name":"Martinique","alpha2":"mq"},{"name":"Mauretanien","alpha2":"mr"},{"name":"Mauritius","alpha2":"mu"},{"name":"Mayotte","alpha2":"yt"},{"name":"Mazedonien","alpha2":"mk"},{"name":"Mexiko","alpha2":"mx"},{"name":"Mikronesien","alpha2":"fm"},{"name":"Moldawien (Republik Moldau)","alpha2":"md"},{"name":"Monaco","alpha2":"mc"},{"name":"Mongolei","alpha2":"mn"},{"name":"Montenegro","alpha2":"me"},{"name":"Montserrat","alpha2":"ms"},{"name":"Mosambik","alpha2":"mz"},{"name":"Myanmar (Burma)","alpha2":"mm"},{"name":"Namibia","alpha2":"na"},{"name":"Nauru","alpha2":"nr"},{"name":"Nepal","alpha2":"np"},{"name":"Neukaledonien","alpha2":"nc"},{"name":"Neuseeland","alpha2":"nz"},{"name":"Nicaragua","alpha2":"ni"},{"name":"Niederlande","alpha2":"nl"},{"name":"Niger","alpha2":"ne"},{"name":"Nigeria","alpha2":"ng"},{"name":"Niue","alpha2":"nu"},{"name":"Nördliche Marianen","alpha2":"mp"},{"name":"Norfolkinsel","alpha2":"nf"},{"name":"Norwegen","alpha2":"no"},{"name":"Oman","alpha2":"om"},{"name":"Österreich","alpha2":"at"},{"name":"Osttimor (Timor-Leste)","alpha2":"tl"},{"name":"Pakistan","alpha2":"pk"},{"name":"Staat Palästina","alpha2":"ps"},{"name":"Palau","alpha2":"pw"},{"name":"Panama","alpha2":"pa"},{"name":"Papua-Neuguinea","alpha2":"pg"},{"name":"Paraguay","alpha2":"py"},{"name":"Peru","alpha2":"pe"},{"name":"Philippinen","alpha2":"ph"},{"name":"Pitcairninseln","alpha2":"pn"},{"name":"Polen","alpha2":"pl"},{"name":"Portugal","alpha2":"pt"},{"name":"Puerto Rico","alpha2":"pr"},{"name":"Réunion","alpha2":"re"},{"name":"Ruanda","alpha2":"rw"},{"name":"Rumänien","alpha2":"ro"},{"name":"Russische Föderation","alpha2":"ru"},{"name":"Salomonen","alpha2":"sb"},{"name":"Saint-Barthélemy","alpha2":"bl"},{"name":"Saint-Martin (franz. Teil)","alpha2":"mf"},{"name":"Sambia","alpha2":"zm"},{"name":"Samoa","alpha2":"ws"},{"name":"San Marino","alpha2":"sm"},{"name":"São Tomé und Príncipe","alpha2":"st"},{"name":"Saudi-Arabien","alpha2":"sa"},{"name":"Schweden","alpha2":"se"},{"name":"Schweiz (Confoederatio Helvetica)","alpha2":"ch"},{"name":"Senegal","alpha2":"sn"},{"name":"Serbien","alpha2":"rs"},{"name":"Seychellen","alpha2":"sc"},{"name":"Sierra Leone","alpha2":"sl"},{"name":"Simbabwe","alpha2":"zw"},{"name":"Singapur","alpha2":"sg"},{"name":"Sint Maarten (niederl. Teil)","alpha2":"sx"},{"name":"Slowakei","alpha2":"sk"},{"name":"Slowenien","alpha2":"si"},{"name":"Somalia","alpha2":"so"},{"name":"Spanien","alpha2":"es"},{"name":"Sri Lanka","alpha2":"lk"},{"name":"St. Helena","alpha2":"sh"},{"name":"St. Kitts und Nevis","alpha2":"kn"},{"name":"St. Lucia","alpha2":"lc"},{"name":"Saint-Pierre und Miquelon","alpha2":"pm"},{"name":"St. Vincent und die Grenadinen","alpha2":"vc"},{"name":"Südafrika","alpha2":"za"},{"name":"Sudan","alpha2":"sd"},{"name":"Südgeorgien und die Südlichen Sandwichinseln","alpha2":"gs"},{"name":"Südsudan","alpha2":"ss"},{"name":"Suriname","alpha2":"sr"},{"name":"Svalbard und Jan Mayen","alpha2":"sj"},{"name":"Swasiland","alpha2":"sz"},{"name":"Syrien, Arabische Republik","alpha2":"sy"},{"name":"Tadschikistan","alpha2":"tj"},{"name":"Republik China (Taiwan)","alpha2":"tw"},{"name":"Tansania, Vereinigte Republik","alpha2":"tz"},{"name":"Thailand","alpha2":"th"},{"name":"Togo","alpha2":"tg"},{"name":"Tokelau","alpha2":"tk"},{"name":"Tonga","alpha2":"to"},{"name":"Trinidad und Tobago","alpha2":"tt"},{"name":"Tschad","alpha2":"td"},{"name":"Tschechien","alpha2":"cz"},{"name":"Tunesien","alpha2":"tn"},{"name":"Türkei","alpha2":"tr"},{"name":"Turkmenistan","alpha2":"tm"},{"name":"Turks- und Caicosinseln","alpha2":"tc"},{"name":"Tuvalu","alpha2":"tv"},{"name":"Uganda","alpha2":"ug"},{"name":"Ukraine","alpha2":"ua"},{"name":"Ungarn","alpha2":"hu"},{"name":"United States Minor Outlying Islands","alpha2":"um"},{"name":"Uruguay","alpha2":"uy"},{"name":"Usbekistan","alpha2":"uz"},{"name":"Vanuatu","alpha2":"vu"},{"name":"Vatikanstadt","alpha2":"va"},{"name":"Venezuela","alpha2":"ve"},{"name":"Vereinigte Arabische Emirate","alpha2":"ae"},{"name":"Vereinigte Staaten von Amerika","alpha2":"us"},{"name":"Vereinigtes Königreich Großbritannien und Nordirland","alpha2":"gb"},{"name":"Vietnam","alpha2":"vn"},{"name":"Wallis und Futuna","alpha2":"wf"},{"name":"Weihnachtsinsel","alpha2":"cx"},{"name":"Westsahara","alpha2":"eh"},{"name":"Zentralafrikanische Republik","alpha2":"cf"},{"name":"Zypern","alpha2":"cy"}]'),ok=Object.freeze(Object.defineProperty({__proto__:null,default:ik},Symbol.toStringTag,{value:"Module"})),sk=JSON.parse('[{"name":"Afghanistan","alpha2":"af"},{"name":"Afrique du Sud","alpha2":"za"},{"name":"Îles Åland","alpha2":"ax"},{"name":"Albanie","alpha2":"al"},{"name":"Algérie","alpha2":"dz"},{"name":"Allemagne","alpha2":"de"},{"name":"Andorre","alpha2":"ad"},{"name":"Angola","alpha2":"ao"},{"name":"Anguilla","alpha2":"ai"},{"name":"Antarctique","alpha2":"aq"},{"name":"Antigua-et-Barbuda","alpha2":"ag"},{"name":"Arabie saoudite","alpha2":"sa"},{"name":"Argentine","alpha2":"ar"},{"name":"Arménie","alpha2":"am"},{"name":"Aruba","alpha2":"aw"},{"name":"Australie","alpha2":"au"},{"name":"Autriche","alpha2":"at"},{"name":"Azerbaïdjan","alpha2":"az"},{"name":"Bahamas","alpha2":"bs"},{"name":"Bahreïn","alpha2":"bh"},{"name":"Bangladesh","alpha2":"bd"},{"name":"Barbade","alpha2":"bb"},{"name":"Biélorussie","alpha2":"by"},{"name":"Belgique","alpha2":"be"},{"name":"Belize","alpha2":"bz"},{"name":"Bénin","alpha2":"bj"},{"name":"Bermudes","alpha2":"bm"},{"name":"Bhoutan","alpha2":"bt"},{"name":"Bolivie","alpha2":"bo"},{"name":"Pays-Bas caribéens","alpha2":"bq"},{"name":"Bosnie-Herzégovine","alpha2":"ba"},{"name":"Botswana","alpha2":"bw"},{"name":"Île Bouvet","alpha2":"bv"},{"name":"Brésil","alpha2":"br"},{"name":"Brunei","alpha2":"bn"},{"name":"Bulgarie","alpha2":"bg"},{"name":"Burkina Faso","alpha2":"bf"},{"name":"Burundi","alpha2":"bi"},{"name":"Îles Caïmans","alpha2":"ky"},{"name":"Cambodge","alpha2":"kh"},{"name":"Cameroun","alpha2":"cm"},{"name":"Canada","alpha2":"ca"},{"name":"Cap-Vert","alpha2":"cv"},{"name":"République centrafricaine","alpha2":"cf"},{"name":"Chili","alpha2":"cl"},{"name":"Chine","alpha2":"cn"},{"name":"Île Christmas","alpha2":"cx"},{"name":"Chypre (pays)","alpha2":"cy"},{"name":"Îles Cocos","alpha2":"cc"},{"name":"Colombie","alpha2":"co"},{"name":"Comores (pays)","alpha2":"km"},{"name":"République du Congo","alpha2":"cg"},{"name":"République démocratique du Congo","alpha2":"cd"},{"name":"Îles Cook","alpha2":"ck"},{"name":"Corée du Sud","alpha2":"kr"},{"name":"Corée du Nord","alpha2":"kp"},{"name":"Costa Rica","alpha2":"cr"},{"name":"Côte d\'Ivoire","alpha2":"ci"},{"name":"Croatie","alpha2":"hr"},{"name":"Cuba","alpha2":"cu"},{"name":"Curaçao","alpha2":"cw"},{"name":"Danemark","alpha2":"dk"},{"name":"Djibouti","alpha2":"dj"},{"name":"République dominicaine","alpha2":"do"},{"name":"Dominique","alpha2":"dm"},{"name":"Égypte","alpha2":"eg"},{"name":"Salvador","alpha2":"sv"},{"name":"Émirats arabes unis","alpha2":"ae"},{"name":"Équateur (pays)","alpha2":"ec"},{"name":"Érythrée","alpha2":"er"},{"name":"Espagne","alpha2":"es"},{"name":"Estonie","alpha2":"ee"},{"name":"États-Unis","alpha2":"us"},{"name":"Éthiopie","alpha2":"et"},{"name":"Malouines","alpha2":"fk"},{"name":"Îles Féroé","alpha2":"fo"},{"name":"Fidji","alpha2":"fj"},{"name":"Finlande","alpha2":"fi"},{"name":"France","alpha2":"fr"},{"name":"Gabon","alpha2":"ga"},{"name":"Gambie","alpha2":"gm"},{"name":"Géorgie (pays)","alpha2":"ge"},{"name":"Géorgie du Sud-et-les îles Sandwich du Sud","alpha2":"gs"},{"name":"Ghana","alpha2":"gh"},{"name":"Gibraltar","alpha2":"gi"},{"name":"Grèce","alpha2":"gr"},{"name":"Grenade (pays)","alpha2":"gd"},{"name":"Groenland","alpha2":"gl"},{"name":"Guadeloupe","alpha2":"gp"},{"name":"Guam","alpha2":"gu"},{"name":"Guatemala","alpha2":"gt"},{"name":"Guernesey","alpha2":"gg"},{"name":"Guinée","alpha2":"gn"},{"name":"Guinée-Bissau","alpha2":"gw"},{"name":"Guinée équatoriale","alpha2":"gq"},{"name":"Guyana","alpha2":"gy"},{"name":"Guyane","alpha2":"gf"},{"name":"Haïti","alpha2":"ht"},{"name":"Îles Heard-et-MacDonald","alpha2":"hm"},{"name":"Honduras","alpha2":"hn"},{"name":"Hong Kong","alpha2":"hk"},{"name":"Hongrie","alpha2":"hu"},{"name":"Île de Man","alpha2":"im"},{"name":"Îles mineures éloignées des États-Unis","alpha2":"um"},{"name":"Îles Vierges britanniques","alpha2":"vg"},{"name":"Îles Vierges des États-Unis","alpha2":"vi"},{"name":"Inde","alpha2":"in"},{"name":"Indonésie","alpha2":"id"},{"name":"Iran","alpha2":"ir"},{"name":"Irak","alpha2":"iq"},{"name":"Irlande (pays)","alpha2":"ie"},{"name":"Islande","alpha2":"is"},{"name":"Israël","alpha2":"il"},{"name":"Italie","alpha2":"it"},{"name":"Jamaïque","alpha2":"jm"},{"name":"Japon","alpha2":"jp"},{"name":"Jersey","alpha2":"je"},{"name":"Jordanie","alpha2":"jo"},{"name":"Kazakhstan","alpha2":"kz"},{"name":"Kenya","alpha2":"ke"},{"name":"Kirghizistan","alpha2":"kg"},{"name":"Kiribati","alpha2":"ki"},{"name":"Koweït","alpha2":"kw"},{"name":"Laos","alpha2":"la"},{"name":"Lesotho","alpha2":"ls"},{"name":"Lettonie","alpha2":"lv"},{"name":"Liban","alpha2":"lb"},{"name":"Liberia","alpha2":"lr"},{"name":"Libye","alpha2":"ly"},{"name":"Liechtenstein","alpha2":"li"},{"name":"Lituanie","alpha2":"lt"},{"name":"Luxembourg (pays)","alpha2":"lu"},{"name":"Macao","alpha2":"mo"},{"name":"République de Macédoine (pays)","alpha2":"mk"},{"name":"Madagascar","alpha2":"mg"},{"name":"Malaisie","alpha2":"my"},{"name":"Malawi","alpha2":"mw"},{"name":"Maldives","alpha2":"mv"},{"name":"Mali","alpha2":"ml"},{"name":"Malte","alpha2":"mt"},{"name":"Îles Mariannes du Nord","alpha2":"mp"},{"name":"Maroc","alpha2":"ma"},{"name":"Îles Marshall (pays)","alpha2":"mh"},{"name":"Martinique","alpha2":"mq"},{"name":"Maurice (pays)","alpha2":"mu"},{"name":"Mauritanie","alpha2":"mr"},{"name":"Mayotte","alpha2":"yt"},{"name":"Mexique","alpha2":"mx"},{"name":"Micronésie (pays)","alpha2":"fm"},{"name":"Moldavie","alpha2":"md"},{"name":"Monaco","alpha2":"mc"},{"name":"Mongolie","alpha2":"mn"},{"name":"Monténégro","alpha2":"me"},{"name":"Montserrat","alpha2":"ms"},{"name":"Mozambique","alpha2":"mz"},{"name":"Birmanie","alpha2":"mm"},{"name":"Namibie","alpha2":"na"},{"name":"Nauru","alpha2":"nr"},{"name":"Népal","alpha2":"np"},{"name":"Nicaragua","alpha2":"ni"},{"name":"Niger","alpha2":"ne"},{"name":"Nigeria","alpha2":"ng"},{"name":"Niue","alpha2":"nu"},{"name":"Île Norfolk","alpha2":"nf"},{"name":"Norvège","alpha2":"no"},{"name":"Nouvelle-Calédonie","alpha2":"nc"},{"name":"Nouvelle-Zélande","alpha2":"nz"},{"name":"Territoire britannique de l\'océan Indien","alpha2":"io"},{"name":"Oman","alpha2":"om"},{"name":"Ouganda","alpha2":"ug"},{"name":"Ouzbékistan","alpha2":"uz"},{"name":"Pakistan","alpha2":"pk"},{"name":"Palaos","alpha2":"pw"},{"name":"Palestine","alpha2":"ps"},{"name":"Panama","alpha2":"pa"},{"name":"Papouasie-Nouvelle-Guinée","alpha2":"pg"},{"name":"Paraguay","alpha2":"py"},{"name":"Pays-Bas","alpha2":"nl"},{"name":"Pérou","alpha2":"pe"},{"name":"Philippines","alpha2":"ph"},{"name":"Îles Pitcairn","alpha2":"pn"},{"name":"Pologne","alpha2":"pl"},{"name":"Polynésie française","alpha2":"pf"},{"name":"Porto Rico","alpha2":"pr"},{"name":"Portugal","alpha2":"pt"},{"name":"Qatar","alpha2":"qa"},{"name":"La Réunion","alpha2":"re"},{"name":"Roumanie","alpha2":"ro"},{"name":"Royaume-Uni","alpha2":"gb"},{"name":"Russie","alpha2":"ru"},{"name":"Rwanda","alpha2":"rw"},{"name":"République arabe sahraouie démocratique","alpha2":"eh"},{"name":"Saint-Barthélemy","alpha2":"bl"},{"name":"Saint-Christophe-et-Niévès","alpha2":"kn"},{"name":"Saint-Marin","alpha2":"sm"},{"name":"Saint-Martin","alpha2":"mf"},{"name":"Saint-Martin","alpha2":"sx"},{"name":"Saint-Pierre-et-Miquelon","alpha2":"pm"},{"name":"Saint-Siège (État de la Cité du Vatican)","alpha2":"va"},{"name":"Saint-Vincent-et-les-Grenadines","alpha2":"vc"},{"name":"Sainte-Hélène, Ascension et Tristan da Cunha","alpha2":"sh"},{"name":"Sainte-Lucie","alpha2":"lc"},{"name":"Salomon","alpha2":"sb"},{"name":"Samoa","alpha2":"ws"},{"name":"Samoa américaines","alpha2":"as"},{"name":"Sao Tomé-et-Principe","alpha2":"st"},{"name":"Sénégal","alpha2":"sn"},{"name":"Serbie","alpha2":"rs"},{"name":"Seychelles","alpha2":"sc"},{"name":"Sierra Leone","alpha2":"sl"},{"name":"Singapour","alpha2":"sg"},{"name":"Slovaquie","alpha2":"sk"},{"name":"Slovénie","alpha2":"si"},{"name":"Somalie","alpha2":"so"},{"name":"Soudan","alpha2":"sd"},{"name":"Soudan du Sud","alpha2":"ss"},{"name":"Sri Lanka","alpha2":"lk"},{"name":"Suède","alpha2":"se"},{"name":"Suisse","alpha2":"ch"},{"name":"Suriname","alpha2":"sr"},{"name":"Svalbard et ile Jan Mayen","alpha2":"sj"},{"name":"Swaziland","alpha2":"sz"},{"name":"Syrie","alpha2":"sy"},{"name":"Tadjikistan","alpha2":"tj"},{"name":"Taïwan / (République de Chine (Taïwan))","alpha2":"tw"},{"name":"Tanzanie","alpha2":"tz"},{"name":"Tchad","alpha2":"td"},{"name":"Tchéquie","alpha2":"cz"},{"name":"Terres australes et antarctiques françaises","alpha2":"tf"},{"name":"Thaïlande","alpha2":"th"},{"name":"Timor oriental","alpha2":"tl"},{"name":"Togo","alpha2":"tg"},{"name":"Tokelau","alpha2":"tk"},{"name":"Tonga","alpha2":"to"},{"name":"Trinité-et-Tobago","alpha2":"tt"},{"name":"Tunisie","alpha2":"tn"},{"name":"Turkménistan","alpha2":"tm"},{"name":"Îles Turques-et-Caïques","alpha2":"tc"},{"name":"Turquie","alpha2":"tr"},{"name":"Tuvalu","alpha2":"tv"},{"name":"Ukraine","alpha2":"ua"},{"name":"Uruguay","alpha2":"uy"},{"name":"Vanuatu","alpha2":"vu"},{"name":"Venezuela","alpha2":"ve"},{"name":"Viêt Nam","alpha2":"vn"},{"name":"Wallis-et-Futuna","alpha2":"wf"},{"name":"Yémen","alpha2":"ye"},{"name":"Zambie","alpha2":"zm"},{"name":"Zimbabwe","alpha2":"zw"}]'),ck=Object.freeze(Object.defineProperty({__proto__:null,default:sk},Symbol.toStringTag,{value:"Module"})),uk=JSON.parse('[{"name":"Afganistán","alpha2":"af"},{"name":"Åland","alpha2":"ax"},{"name":"Albania","alpha2":"al"},{"name":"Alemania","alpha2":"de"},{"name":"Andorra","alpha2":"ad"},{"name":"Angola","alpha2":"ao"},{"name":"Anguila","alpha2":"ai"},{"name":"Antártida","alpha2":"aq"},{"name":"Antigua y Barbuda","alpha2":"ag"},{"name":"Arabia Saudita","alpha2":"sa"},{"name":"Argelia","alpha2":"dz"},{"name":"Argentina","alpha2":"ar"},{"name":"Armenia","alpha2":"am"},{"name":"Aruba","alpha2":"aw"},{"name":"Australia","alpha2":"au"},{"name":"Austria","alpha2":"at"},{"name":"Azerbaiyán","alpha2":"az"},{"name":"Bahamas","alpha2":"bs"},{"name":"Bangladés","alpha2":"bd"},{"name":"Barbados","alpha2":"bb"},{"name":"Baréin","alpha2":"bh"},{"name":"Bélgica","alpha2":"be"},{"name":"Belice","alpha2":"bz"},{"name":"Benín","alpha2":"bj"},{"name":"Bermudas","alpha2":"bm"},{"name":"Bielorrusia","alpha2":"by"},{"name":"Bolivia","alpha2":"bo"},{"name":"Bonaire, San Eustaquio y Saba","alpha2":"bq"},{"name":"Bosnia y Herzegovina","alpha2":"ba"},{"name":"Botsuana","alpha2":"bw"},{"name":"Brasil","alpha2":"br"},{"name":"Brunéi","alpha2":"bn"},{"name":"Bulgaria","alpha2":"bg"},{"name":"Burkina Faso","alpha2":"bf"},{"name":"Burundi","alpha2":"bi"},{"name":"Bután","alpha2":"bt"},{"name":"Cabo Verde","alpha2":"cv"},{"name":"Camboya","alpha2":"kh"},{"name":"Camerún","alpha2":"cm"},{"name":"Canadá","alpha2":"ca"},{"name":"Catar","alpha2":"qa"},{"name":"Chad","alpha2":"td"},{"name":"Chile","alpha2":"cl"},{"name":"China","alpha2":"cn"},{"name":"Chipre","alpha2":"cy"},{"name":"Colombia","alpha2":"co"},{"name":"Comoras","alpha2":"km"},{"name":"Corea del Norte","alpha2":"kp"},{"name":"Corea del Sur","alpha2":"kr"},{"name":"Costa de Marfil","alpha2":"ci"},{"name":"Costa Rica","alpha2":"cr"},{"name":"Croacia","alpha2":"hr"},{"name":"Cuba","alpha2":"cu"},{"name":"Curazao","alpha2":"cw"},{"name":"Dinamarca","alpha2":"dk"},{"name":"Dominica","alpha2":"dm"},{"name":"Ecuador","alpha2":"ec"},{"name":"Egipto","alpha2":"eg"},{"name":"El Salvador","alpha2":"sv"},{"name":"Emiratos Árabes Unidos","alpha2":"ae"},{"name":"Eritrea","alpha2":"er"},{"name":"Eslovaquia","alpha2":"sk"},{"name":"Eslovenia","alpha2":"si"},{"name":"España","alpha2":"es"},{"name":"Estados Unidos","alpha2":"us"},{"name":"Estonia","alpha2":"ee"},{"name":"Etiopía","alpha2":"et"},{"name":"Filipinas","alpha2":"ph"},{"name":"Finlandia","alpha2":"fi"},{"name":"Fiyi","alpha2":"fj"},{"name":"Francia","alpha2":"fr"},{"name":"Gabón","alpha2":"ga"},{"name":"Gambia","alpha2":"gm"},{"name":"Georgia","alpha2":"ge"},{"name":"Ghana","alpha2":"gh"},{"name":"Gibraltar","alpha2":"gi"},{"name":"Granada","alpha2":"gd"},{"name":"Grecia","alpha2":"gr"},{"name":"Groenlandia","alpha2":"gl"},{"name":"Guadalupe","alpha2":"gp"},{"name":"Guam","alpha2":"gu"},{"name":"Guatemala","alpha2":"gt"},{"name":"Guayana Francesa","alpha2":"gf"},{"name":"Guernsey","alpha2":"gg"},{"name":"Guinea","alpha2":"gn"},{"name":"Guinea-Bisáu","alpha2":"gw"},{"name":"Guinea Ecuatorial","alpha2":"gq"},{"name":"Guyana","alpha2":"gy"},{"name":"Haití","alpha2":"ht"},{"name":"Honduras","alpha2":"hn"},{"name":"Hong Kong","alpha2":"hk"},{"name":"Hungría","alpha2":"hu"},{"name":"India","alpha2":"in"},{"name":"Indonesia","alpha2":"id"},{"name":"Irak","alpha2":"iq"},{"name":"Irán","alpha2":"ir"},{"name":"Irlanda","alpha2":"ie"},{"name":"Isla Bouvet","alpha2":"bv"},{"name":"Isla de Man","alpha2":"im"},{"name":"Isla de Navidad","alpha2":"cx"},{"name":"Islandia","alpha2":"is"},{"name":"Islas Caimán","alpha2":"ky"},{"name":"Islas Cocos","alpha2":"cc"},{"name":"Islas Cook","alpha2":"ck"},{"name":"Islas Feroe","alpha2":"fo"},{"name":"Islas Georgias del Sur y Sandwich del Sur","alpha2":"gs"},{"name":"Islas Heard y McDonald","alpha2":"hm"},{"name":"Islas Malvinas","alpha2":"fk"},{"name":"Islas Marianas del Norte","alpha2":"mp"},{"name":"Islas Marshall","alpha2":"mh"},{"name":"Islas Pitcairn","alpha2":"pn"},{"name":"Islas Salomón","alpha2":"sb"},{"name":"Islas Turcas y Caicos","alpha2":"tc"},{"name":"Islas ultramarinas de Estados Unidos","alpha2":"um"},{"name":"Islas Vírgenes Británicas","alpha2":"vg"},{"name":"Islas Vírgenes de los Estados Unidos","alpha2":"vi"},{"name":"Israel","alpha2":"il"},{"name":"Italia","alpha2":"it"},{"name":"Jamaica","alpha2":"jm"},{"name":"Japón","alpha2":"jp"},{"name":"Jersey","alpha2":"je"},{"name":"Jordania","alpha2":"jo"},{"name":"Kazajistán","alpha2":"kz"},{"name":"Kenia","alpha2":"ke"},{"name":"Kirguistán","alpha2":"kg"},{"name":"Kiribati","alpha2":"ki"},{"name":"Kuwait","alpha2":"kw"},{"name":"Laos","alpha2":"la"},{"name":"Lesoto","alpha2":"ls"},{"name":"Letonia","alpha2":"lv"},{"name":"Líbano","alpha2":"lb"},{"name":"Liberia","alpha2":"lr"},{"name":"Libia","alpha2":"ly"},{"name":"Liechtenstein","alpha2":"li"},{"name":"Lituania","alpha2":"lt"},{"name":"Luxemburgo","alpha2":"lu"},{"name":"Macao","alpha2":"mo"},{"name":"Macedonia","alpha2":"mk"},{"name":"Madagascar","alpha2":"mg"},{"name":"Malasia","alpha2":"my"},{"name":"Malaui","alpha2":"mw"},{"name":"Maldivas","alpha2":"mv"},{"name":"Malí","alpha2":"ml"},{"name":"Malta","alpha2":"mt"},{"name":"Marruecos","alpha2":"ma"},{"name":"Martinica","alpha2":"mq"},{"name":"Mauricio","alpha2":"mu"},{"name":"Mauritania","alpha2":"mr"},{"name":"Mayotte","alpha2":"yt"},{"name":"México","alpha2":"mx"},{"name":"Micronesia","alpha2":"fm"},{"name":"Moldavia","alpha2":"md"},{"name":"Mónaco","alpha2":"mc"},{"name":"Mongolia","alpha2":"mn"},{"name":"Montenegro","alpha2":"me"},{"name":"Montserrat","alpha2":"ms"},{"name":"Mozambique","alpha2":"mz"},{"name":"Myanmar","alpha2":"mm"},{"name":"Namibia","alpha2":"na"},{"name":"Nauru","alpha2":"nr"},{"name":"Nepal","alpha2":"np"},{"name":"Nicaragua","alpha2":"ni"},{"name":"Níger","alpha2":"ne"},{"name":"Nigeria","alpha2":"ng"},{"name":"Niue","alpha2":"nu"},{"name":"Norfolk","alpha2":"nf"},{"name":"Noruega","alpha2":"no"},{"name":"Nueva Caledonia","alpha2":"nc"},{"name":"Nueva Zelanda","alpha2":"nz"},{"name":"Omán","alpha2":"om"},{"name":"Países Bajos","alpha2":"nl"},{"name":"Pakistán","alpha2":"pk"},{"name":"Palaos","alpha2":"pw"},{"name":"Palestina","alpha2":"ps"},{"name":"Panamá","alpha2":"pa"},{"name":"Papúa Nueva Guinea","alpha2":"pg"},{"name":"Paraguay","alpha2":"py"},{"name":"Perú","alpha2":"pe"},{"name":"Polinesia Francesa","alpha2":"pf"},{"name":"Polonia","alpha2":"pl"},{"name":"Portugal","alpha2":"pt"},{"name":"Puerto Rico","alpha2":"pr"},{"name":"Reino Unido","alpha2":"gb"},{"name":"República Árabe Saharaui Democrática","alpha2":"eh"},{"name":"República Centroafricana","alpha2":"cf"},{"name":"República Checa","alpha2":"cz"},{"name":"República del Congo","alpha2":"cg"},{"name":"República Democrática del Congo","alpha2":"cd"},{"name":"República Dominicana","alpha2":"do"},{"name":"Reunión","alpha2":"re"},{"name":"Ruanda","alpha2":"rw"},{"name":"Rumania","alpha2":"ro"},{"name":"Rusia","alpha2":"ru"},{"name":"Samoa","alpha2":"ws"},{"name":"Samoa Americana","alpha2":"as"},{"name":"San Bartolomé","alpha2":"bl"},{"name":"San Cristóbal y Nieves","alpha2":"kn"},{"name":"San Marino","alpha2":"sm"},{"name":"San Martín","alpha2":"mf"},{"name":"San Pedro y Miquelón","alpha2":"pm"},{"name":"San Vicente y las Granadinas","alpha2":"vc"},{"name":"Santa Elena, Ascensión y Tristán de Acuña","alpha2":"sh"},{"name":"Santa Lucía","alpha2":"lc"},{"name":"Santo Tomé y Príncipe","alpha2":"st"},{"name":"Senegal","alpha2":"sn"},{"name":"Serbia","alpha2":"rs"},{"name":"Seychelles","alpha2":"sc"},{"name":"Sierra Leona","alpha2":"sl"},{"name":"Singapur","alpha2":"sg"},{"name":"Sint Maarten","alpha2":"sx"},{"name":"Siria","alpha2":"sy"},{"name":"Somalia","alpha2":"so"},{"name":"Sri Lanka","alpha2":"lk"},{"name":"Suazilandia","alpha2":"sz"},{"name":"Sudáfrica","alpha2":"za"},{"name":"Sudán","alpha2":"sd"},{"name":"Sudán del Sur","alpha2":"ss"},{"name":"Suecia","alpha2":"se"},{"name":"Suiza","alpha2":"ch"},{"name":"Surinam","alpha2":"sr"},{"name":"Svalbard y Jan Mayen","alpha2":"sj"},{"name":"Tailandia","alpha2":"th"},{"name":"Taiwán (República de China)","alpha2":"tw"},{"name":"Tanzania","alpha2":"tz"},{"name":"Tayikistán","alpha2":"tj"},{"name":"Territorio Británico del Océano Índico","alpha2":"io"},{"name":"Tierras Australes y Antárticas Francesas","alpha2":"tf"},{"name":"Timor Oriental","alpha2":"tl"},{"name":"Togo","alpha2":"tg"},{"name":"Tokelau","alpha2":"tk"},{"name":"Tonga","alpha2":"to"},{"name":"Trinidad y Tobago","alpha2":"tt"},{"name":"Túnez","alpha2":"tn"},{"name":"Turkmenistán","alpha2":"tm"},{"name":"Turquía","alpha2":"tr"},{"name":"Tuvalu","alpha2":"tv"},{"name":"Ucrania","alpha2":"ua"},{"name":"Uganda","alpha2":"ug"},{"name":"Uruguay","alpha2":"uy"},{"name":"Uzbekistán","alpha2":"uz"},{"name":"Vanuatu","alpha2":"vu"},{"name":"Vaticano, Ciudad del","alpha2":"va"},{"name":"Venezuela","alpha2":"ve"},{"name":"Vietnam","alpha2":"vn"},{"name":"Wallis y Futuna","alpha2":"wf"},{"name":"Yemen","alpha2":"ye"},{"name":"Yibuti","alpha2":"dj"},{"name":"Zambia","alpha2":"zm"},{"name":"Zimbabue","alpha2":"zw"}]'),lk=Object.freeze(Object.defineProperty({__proto__:null,default:uk},Symbol.toStringTag,{value:"Module"})),dk=JSON.parse('[{"name":"Afghanistan","alpha2":"af"},{"name":"Albania","alpha2":"al"},{"name":"Algeria","alpha2":"dz"},{"name":"Andorra","alpha2":"ad"},{"name":"Angola","alpha2":"ao"},{"name":"Anguilla","alpha2":"ai"},{"name":"Antartide","alpha2":"aq"},{"name":"Antigua e Barbuda","alpha2":"ag"},{"name":"Arabia Saudita","alpha2":"sa"},{"name":"Argentina","alpha2":"ar"},{"name":"Armenia","alpha2":"am"},{"name":"Aruba","alpha2":"aw"},{"name":"Australia","alpha2":"au"},{"name":"Austria","alpha2":"at"},{"name":"Azerbaigian","alpha2":"az"},{"name":"Bahamas","alpha2":"bs"},{"name":"Bahrein","alpha2":"bh"},{"name":"Bangladesh","alpha2":"bd"},{"name":"Barbados","alpha2":"bb"},{"name":"Belgio","alpha2":"be"},{"name":"Belize","alpha2":"bz"},{"name":"Benin","alpha2":"bj"},{"name":"Bermuda","alpha2":"bm"},{"name":"Bhutan","alpha2":"bt"},{"name":"Bielorussia","alpha2":"by"},{"name":"Birmania","alpha2":"mm"},{"name":"Bolivia","alpha2":"bo"},{"name":"Bosnia ed Erzegovina","alpha2":"ba"},{"name":"Botswana","alpha2":"bw"},{"name":"Brasile","alpha2":"br"},{"name":"Brunei","alpha2":"bn"},{"name":"Bulgaria","alpha2":"bg"},{"name":"Burkina Faso","alpha2":"bf"},{"name":"Burundi","alpha2":"bi"},{"name":"Cambogia","alpha2":"kh"},{"name":"Camerun","alpha2":"cm"},{"name":"Canada","alpha2":"ca"},{"name":"Capo Verde","alpha2":"cv"},{"name":"Ciad","alpha2":"td"},{"name":"Cile","alpha2":"cl"},{"name":"Cina","alpha2":"cn"},{"name":"Cipro","alpha2":"cy"},{"name":"Città del Vaticano","alpha2":"va"},{"name":"Colombia","alpha2":"co"},{"name":"Comore","alpha2":"km"},{"name":"Corea del Nord","alpha2":"kp"},{"name":"Corea del Sud","alpha2":"kr"},{"name":"Costa d\'Avorio","alpha2":"ci"},{"name":"Costa Rica","alpha2":"cr"},{"name":"Croazia","alpha2":"hr"},{"name":"Cuba","alpha2":"cu"},{"name":"Curaçao","alpha2":"cw"},{"name":"Danimarca","alpha2":"dk"},{"name":"Dominica","alpha2":"dm"},{"name":"Ecuador","alpha2":"ec"},{"name":"Egitto","alpha2":"eg"},{"name":"El Salvador","alpha2":"sv"},{"name":"Emirati Arabi Uniti","alpha2":"ae"},{"name":"Eritrea","alpha2":"er"},{"name":"Estonia","alpha2":"ee"},{"name":"Etiopia","alpha2":"et"},{"name":"Figi","alpha2":"fj"},{"name":"Filippine","alpha2":"ph"},{"name":"Finlandia","alpha2":"fi"},{"name":"Francia","alpha2":"fr"},{"name":"Gabon","alpha2":"ga"},{"name":"Gambia","alpha2":"gm"},{"name":"Georgia","alpha2":"ge"},{"name":"Georgia del Sud e Isole Sandwich Australi","alpha2":"gs"},{"name":"Germania","alpha2":"de"},{"name":"Ghana","alpha2":"gh"},{"name":"Giamaica","alpha2":"jm"},{"name":"Giappone","alpha2":"jp"},{"name":"Gibilterra","alpha2":"gi"},{"name":"Gibuti","alpha2":"dj"},{"name":"Giordania","alpha2":"jo"},{"name":"Grecia","alpha2":"gr"},{"name":"Grenada","alpha2":"gd"},{"name":"Groenlandia","alpha2":"gl"},{"name":"Guadalupa","alpha2":"gp"},{"name":"Guam","alpha2":"gu"},{"name":"Guatemala","alpha2":"gt"},{"name":"Guernsey","alpha2":"gg"},{"name":"Guinea","alpha2":"gn"},{"name":"Guinea-Bissau","alpha2":"gw"},{"name":"Guinea Equatoriale","alpha2":"gq"},{"name":"Guyana","alpha2":"gy"},{"name":"Guyana francese","alpha2":"gf"},{"name":"Haiti","alpha2":"ht"},{"name":"Honduras","alpha2":"hn"},{"name":"Hong Kong","alpha2":"hk"},{"name":"India","alpha2":"in"},{"name":"Indonesia","alpha2":"id"},{"name":"Iran","alpha2":"ir"},{"name":"Iraq","alpha2":"iq"},{"name":"Irlanda","alpha2":"ie"},{"name":"Islanda","alpha2":"is"},{"name":"Isola Bouvet","alpha2":"bv"},{"name":"Isola di Man","alpha2":"im"},{"name":"Isola di Natale","alpha2":"cx"},{"name":"Isola Norfolk","alpha2":"nf"},{"name":"Isole Åland","alpha2":"ax"},{"name":"Isole BES","alpha2":"bq"},{"name":"Isole Cayman","alpha2":"ky"},{"name":"Isole Cocos (Keeling)","alpha2":"cc"},{"name":"Isole Cook","alpha2":"ck"},{"name":"Fær Øer","alpha2":"fo"},{"name":"Isole Falkland","alpha2":"fk"},{"name":"Isole Heard e McDonald","alpha2":"hm"},{"name":"Isole Marianne Settentrionali","alpha2":"mp"},{"name":"Isole Marshall","alpha2":"mh"},{"name":"Isole minori esterne degli Stati Uniti","alpha2":"um"},{"name":"Isole Pitcairn","alpha2":"pn"},{"name":"Isole Salomone","alpha2":"sb"},{"name":"Isole Vergini britanniche","alpha2":"vg"},{"name":"Isole Vergini americane","alpha2":"vi"},{"name":"Israele","alpha2":"il"},{"name":"Italia","alpha2":"it"},{"name":"Jersey","alpha2":"je"},{"name":"Kazakistan","alpha2":"kz"},{"name":"Kenya","alpha2":"ke"},{"name":"Kirghizistan","alpha2":"kg"},{"name":"Kiribati","alpha2":"ki"},{"name":"Kuwait","alpha2":"kw"},{"name":"Laos","alpha2":"la"},{"name":"Lesotho","alpha2":"ls"},{"name":"Lettonia","alpha2":"lv"},{"name":"Libano","alpha2":"lb"},{"name":"Liberia","alpha2":"lr"},{"name":"Libia","alpha2":"ly"},{"name":"Liechtenstein","alpha2":"li"},{"name":"Lituania","alpha2":"lt"},{"name":"Lussemburgo","alpha2":"lu"},{"name":"Macao","alpha2":"mo"},{"name":"Macedonia","alpha2":"mk"},{"name":"Madagascar","alpha2":"mg"},{"name":"Malawi","alpha2":"mw"},{"name":"Malaysia","alpha2":"my"},{"name":"Maldive","alpha2":"mv"},{"name":"Mali","alpha2":"ml"},{"name":"Malta","alpha2":"mt"},{"name":"Marocco","alpha2":"ma"},{"name":"Martinica","alpha2":"mq"},{"name":"Mauritania","alpha2":"mr"},{"name":"Mauritius","alpha2":"mu"},{"name":"Mayotte","alpha2":"yt"},{"name":"Messico","alpha2":"mx"},{"name":"Micronesia","alpha2":"fm"},{"name":"Moldavia","alpha2":"md"},{"name":"Mongolia","alpha2":"mn"},{"name":"Montenegro","alpha2":"me"},{"name":"Montserrat","alpha2":"ms"},{"name":"Mozambico","alpha2":"mz"},{"name":"Namibia","alpha2":"na"},{"name":"Nauru","alpha2":"nr"},{"name":"Nepal","alpha2":"np"},{"name":"Nicaragua","alpha2":"ni"},{"name":"Niger","alpha2":"ne"},{"name":"Nigeria","alpha2":"ng"},{"name":"Niue","alpha2":"nu"},{"name":"Norvegia","alpha2":"no"},{"name":"Nuova Caledonia","alpha2":"nc"},{"name":"Nuova Zelanda","alpha2":"nz"},{"name":"Oman","alpha2":"om"},{"name":"Paesi Bassi","alpha2":"nl"},{"name":"Pakistan","alpha2":"pk"},{"name":"Palau","alpha2":"pw"},{"name":"Palestina","alpha2":"ps"},{"name":"Panama","alpha2":"pa"},{"name":"Papua Nuova Guinea","alpha2":"pg"},{"name":"Paraguay","alpha2":"py"},{"name":"Perù","alpha2":"pe"},{"name":"Polinesia Francese","alpha2":"pf"},{"name":"Polonia","alpha2":"pl"},{"name":"Porto Rico","alpha2":"pr"},{"name":"Portogallo","alpha2":"pt"},{"name":"Monaco","alpha2":"mc"},{"name":"Qatar","alpha2":"qa"},{"name":"Regno Unito","alpha2":"gb"},{"name":"RD del Congo","alpha2":"cd"},{"name":"Rep. Ceca","alpha2":"cz"},{"name":"Rep. Centrafricana","alpha2":"cf"},{"name":"Rep. del Congo","alpha2":"cg"},{"name":"Rep. Dominicana","alpha2":"do"},{"name":"Riunione","alpha2":"re"},{"name":"Romania","alpha2":"ro"},{"name":"Ruanda","alpha2":"rw"},{"name":"Russia","alpha2":"ru"},{"name":"Sahara Occidentale","alpha2":"eh"},{"name":"Saint Kitts e Nevis","alpha2":"kn"},{"name":"Saint Lucia","alpha2":"lc"},{"name":"Sant\'Elena, Ascensione e Tristan da Cunha","alpha2":"sh"},{"name":"Saint Vincent e Grenadine","alpha2":"vc"},{"name":"Saint-Barthélemy","alpha2":"bl"},{"name":"Saint-Martin","alpha2":"mf"},{"name":"Saint-Pierre e Miquelon","alpha2":"pm"},{"name":"Samoa","alpha2":"ws"},{"name":"Samoa Americane","alpha2":"as"},{"name":"San Marino","alpha2":"sm"},{"name":"São Tomé e Príncipe","alpha2":"st"},{"name":"Senegal","alpha2":"sn"},{"name":"Serbia","alpha2":"rs"},{"name":"Seychelles","alpha2":"sc"},{"name":"Sierra Leone","alpha2":"sl"},{"name":"Singapore","alpha2":"sg"},{"name":"Sint Maarten","alpha2":"sx"},{"name":"Siria","alpha2":"sy"},{"name":"Slovacchia","alpha2":"sk"},{"name":"Slovenia","alpha2":"si"},{"name":"Somalia","alpha2":"so"},{"name":"Spagna","alpha2":"es"},{"name":"Sri Lanka","alpha2":"lk"},{"name":"Stati Uniti","alpha2":"us"},{"name":"Sudafrica","alpha2":"za"},{"name":"Sudan","alpha2":"sd"},{"name":"Sudan del Sud","alpha2":"ss"},{"name":"Suriname","alpha2":"sr"},{"name":"Svalbard e Jan Mayen","alpha2":"sj"},{"name":"Svezia","alpha2":"se"},{"name":"Svizzera","alpha2":"ch"},{"name":"Swaziland","alpha2":"sz"},{"name":"Taiwan","alpha2":"tw"},{"name":"Tagikistan","alpha2":"tj"},{"name":"Tanzania","alpha2":"tz"},{"name":"Terre australi e antartiche francesi","alpha2":"tf"},{"name":"Territorio britannico dell\'Oceano Indiano","alpha2":"io"},{"name":"Thailandia","alpha2":"th"},{"name":"Timor Est","alpha2":"tl"},{"name":"Togo","alpha2":"tg"},{"name":"Tokelau","alpha2":"tk"},{"name":"Tonga","alpha2":"to"},{"name":"Trinidad e Tobago","alpha2":"tt"},{"name":"Tunisia","alpha2":"tn"},{"name":"Turchia","alpha2":"tr"},{"name":"Turkmenistan","alpha2":"tm"},{"name":"Turks e Caicos","alpha2":"tc"},{"name":"Tuvalu","alpha2":"tv"},{"name":"Ucraina","alpha2":"ua"},{"name":"Uganda","alpha2":"ug"},{"name":"Ungheria","alpha2":"hu"},{"name":"Uruguay","alpha2":"uy"},{"name":"Uzbekistan","alpha2":"uz"},{"name":"Vanuatu","alpha2":"vu"},{"name":"Venezuela","alpha2":"ve"},{"name":"Vietnam","alpha2":"vn"},{"name":"Wallis e Futuna","alpha2":"wf"},{"name":"Yemen","alpha2":"ye"},{"name":"Zambia","alpha2":"zm"},{"name":"Zimbabwe","alpha2":"zw"}]'),pk=Object.freeze(Object.defineProperty({__proto__:null,default:dk},Symbol.toStringTag,{value:"Module"})),hk=JSON.parse('[{"name":"Afghanistan","alpha2":"af"},{"name":"Åland Islands","alpha2":"ax"},{"name":"Albania","alpha2":"al"},{"name":"Algeria","alpha2":"dz"},{"name":"American Samoa","alpha2":"as"},{"name":"Andorra","alpha2":"ad"},{"name":"Angola","alpha2":"ao"},{"name":"Anguilla","alpha2":"ai"},{"name":"Antarctica","alpha2":"aq"},{"name":"Antigua and Barbuda","alpha2":"ag"},{"name":"Argentina","alpha2":"ar"},{"name":"Armenia","alpha2":"am"},{"name":"Aruba","alpha2":"aw"},{"name":"Australia","alpha2":"au"},{"name":"Austria","alpha2":"at"},{"name":"Azerbaijan","alpha2":"az"},{"name":"Bahamas","alpha2":"bs"},{"name":"Bahrain","alpha2":"bh"},{"name":"Bangladesh","alpha2":"bd"},{"name":"Barbados","alpha2":"bb"},{"name":"Belarus","alpha2":"by"},{"name":"Belgium","alpha2":"be"},{"name":"Belize","alpha2":"bz"},{"name":"Benin","alpha2":"bj"},{"name":"Bermuda","alpha2":"bm"},{"name":"Bhutan","alpha2":"bt"},{"name":"Bolivia (Plurinational State of)","alpha2":"bo"},{"name":"Bonaire, Sint Eustatius and Saba","alpha2":"bq"},{"name":"Bosnia and Herzegovina","alpha2":"ba"},{"name":"Botswana","alpha2":"bw"},{"name":"Bouvet Island","alpha2":"bv"},{"name":"Brazil","alpha2":"br"},{"name":"British Indian Ocean Territory","alpha2":"io"},{"name":"Brunei Darussalam","alpha2":"bn"},{"name":"Bulgaria","alpha2":"bg"},{"name":"Burkina Faso","alpha2":"bf"},{"name":"Burundi","alpha2":"bi"},{"name":"Cabo Verde","alpha2":"cv"},{"name":"Cambodia","alpha2":"kh"},{"name":"Cameroon","alpha2":"cm"},{"name":"Canada","alpha2":"ca"},{"name":"Cayman Islands","alpha2":"ky"},{"name":"Central African Republic","alpha2":"cf"},{"name":"Chad","alpha2":"td"},{"name":"Chile","alpha2":"cl"},{"name":"China","alpha2":"cn"},{"name":"Christmas Island","alpha2":"cx"},{"name":"Cocos (Keeling) Islands","alpha2":"cc"},{"name":"Colombia","alpha2":"co"},{"name":"Comoros","alpha2":"km"},{"name":"Congo","alpha2":"cg"},{"name":"Congo (Democratic Republic of the)","alpha2":"cd"},{"name":"Cook Islands","alpha2":"ck"},{"name":"Costa Rica","alpha2":"cr"},{"name":"Côte d\'Ivoire","alpha2":"ci"},{"name":"Croatia","alpha2":"hr"},{"name":"Cuba","alpha2":"cu"},{"name":"Curaçao","alpha2":"cw"},{"name":"Cyprus","alpha2":"cy"},{"name":"Czechia","alpha2":"cz"},{"name":"Denmark","alpha2":"dk"},{"name":"Djibouti","alpha2":"dj"},{"name":"Dominica","alpha2":"dm"},{"name":"Dominican Republic","alpha2":"do"},{"name":"Ecuador","alpha2":"ec"},{"name":"Egypt","alpha2":"eg"},{"name":"El Salvador","alpha2":"sv"},{"name":"Equatorial Guinea","alpha2":"gq"},{"name":"Eritrea","alpha2":"er"},{"name":"Estonia","alpha2":"ee"},{"name":"Eswatini","alpha2":"sz"},{"name":"Ethiopia","alpha2":"et"},{"name":"Falkland Islands (Malvinas)","alpha2":"fk"},{"name":"Faroe Islands","alpha2":"fo"},{"name":"Fiji","alpha2":"fj"},{"name":"Finland","alpha2":"fi"},{"name":"France","alpha2":"fr"},{"name":"French Guiana","alpha2":"gf"},{"name":"French Polynesia","alpha2":"pf"},{"name":"French Southern Territories","alpha2":"tf"},{"name":"Gabon","alpha2":"ga"},{"name":"Gambia","alpha2":"gm"},{"name":"Georgia","alpha2":"ge"},{"name":"Germany","alpha2":"de"},{"name":"Ghana","alpha2":"gh"},{"name":"Gibraltar","alpha2":"gi"},{"name":"Greece","alpha2":"gr"},{"name":"Greenland","alpha2":"gl"},{"name":"Grenada","alpha2":"gd"},{"name":"Guadeloupe","alpha2":"gp"},{"name":"Guam","alpha2":"gu"},{"name":"Guatemala","alpha2":"gt"},{"name":"Guernsey","alpha2":"gg"},{"name":"Guinea","alpha2":"gn"},{"name":"Guinea-Bissau","alpha2":"gw"},{"name":"Guyana","alpha2":"gy"},{"name":"Haiti","alpha2":"ht"},{"name":"Heard Island and McDonald Islands","alpha2":"hm"},{"name":"Holy See","alpha2":"va"},{"name":"Honduras","alpha2":"hn"},{"name":"Hong Kong","alpha2":"hk"},{"name":"Hungary","alpha2":"hu"},{"name":"Iceland","alpha2":"is"},{"name":"India","alpha2":"in"},{"name":"Indonesia","alpha2":"id"},{"name":"Iran (Islamic Republic of)","alpha2":"ir"},{"name":"Iraq","alpha2":"iq"},{"name":"Ireland","alpha2":"ie"},{"name":"Isle of Man","alpha2":"im"},{"name":"Israel","alpha2":"il"},{"name":"Italy","alpha2":"it"},{"name":"Jamaica","alpha2":"jm"},{"name":"Japan","alpha2":"jp"},{"name":"Jersey","alpha2":"je"},{"name":"Jordan","alpha2":"jo"},{"name":"Kazakhstan","alpha2":"kz"},{"name":"Kenya","alpha2":"ke"},{"name":"Kiribati","alpha2":"ki"},{"name":"Korea (Democratic People\'s Republic of)","alpha2":"kp"},{"name":"Korea (Republic of)","alpha2":"kr"},{"name":"Kuwait","alpha2":"kw"},{"name":"Kyrgyzstan","alpha2":"kg"},{"name":"Lao People\'s Democratic Republic","alpha2":"la"},{"name":"Latvia","alpha2":"lv"},{"name":"Lebanon","alpha2":"lb"},{"name":"Lesotho","alpha2":"ls"},{"name":"Liberia","alpha2":"lr"},{"name":"Libya","alpha2":"ly"},{"name":"Liechtenstein","alpha2":"li"},{"name":"Lithuania","alpha2":"lt"},{"name":"Luxembourg","alpha2":"lu"},{"name":"Macao","alpha2":"mo"},{"name":"Macedonia (the former Yugoslav Republic of)","alpha2":"mk"},{"name":"Madagascar","alpha2":"mg"},{"name":"Malawi","alpha2":"mw"},{"name":"Malaysia","alpha2":"my"},{"name":"Maldives","alpha2":"mv"},{"name":"Mali","alpha2":"ml"},{"name":"Malta","alpha2":"mt"},{"name":"Marshall Islands","alpha2":"mh"},{"name":"Martinique","alpha2":"mq"},{"name":"Mauritania","alpha2":"mr"},{"name":"Mauritius","alpha2":"mu"},{"name":"Mayotte","alpha2":"yt"},{"name":"Mexico","alpha2":"mx"},{"name":"Micronesia (Federated States of)","alpha2":"fm"},{"name":"Moldova (Republic of)","alpha2":"md"},{"name":"Monaco","alpha2":"mc"},{"name":"Mongolia","alpha2":"mn"},{"name":"Montenegro","alpha2":"me"},{"name":"Montserrat","alpha2":"ms"},{"name":"Morocco","alpha2":"ma"},{"name":"Mozambique","alpha2":"mz"},{"name":"Myanmar","alpha2":"mm"},{"name":"Namibia","alpha2":"na"},{"name":"Nauru","alpha2":"nr"},{"name":"Nepal","alpha2":"np"},{"name":"Netherlands","alpha2":"nl"},{"name":"New Caledonia","alpha2":"nc"},{"name":"New Zealand","alpha2":"nz"},{"name":"Nicaragua","alpha2":"ni"},{"name":"Niger","alpha2":"ne"},{"name":"Nigeria","alpha2":"ng"},{"name":"Niue","alpha2":"nu"},{"name":"Norfolk Island","alpha2":"nf"},{"name":"Northern Mariana Islands","alpha2":"mp"},{"name":"Norway","alpha2":"no"},{"name":"Oman","alpha2":"om"},{"name":"Pakistan","alpha2":"pk"},{"name":"Palau","alpha2":"pw"},{"name":"Palestine, State of","alpha2":"ps"},{"name":"Panama","alpha2":"pa"},{"name":"Papua New Guinea","alpha2":"pg"},{"name":"Paraguay","alpha2":"py"},{"name":"Peru","alpha2":"pe"},{"name":"Philippines","alpha2":"ph"},{"name":"Pitcairn","alpha2":"pn"},{"name":"Poland","alpha2":"pl"},{"name":"Portugal","alpha2":"pt"},{"name":"Puerto Rico","alpha2":"pr"},{"name":"Qatar","alpha2":"qa"},{"name":"Réunion","alpha2":"re"},{"name":"Romania","alpha2":"ro"},{"name":"Russian Federation","alpha2":"ru"},{"name":"Rwanda","alpha2":"rw"},{"name":"Saint Barthélemy","alpha2":"bl"},{"name":"Saint Helena, Ascension and Tristan da Cunha","alpha2":"sh"},{"name":"Saint Kitts and Nevis","alpha2":"kn"},{"name":"Saint Lucia","alpha2":"lc"},{"name":"Saint Martin (French part)","alpha2":"mf"},{"name":"Saint Pierre and Miquelon","alpha2":"pm"},{"name":"Saint Vincent and the Grenadines","alpha2":"vc"},{"name":"Samoa","alpha2":"ws"},{"name":"San Marino","alpha2":"sm"},{"name":"Sao Tome and Principe","alpha2":"st"},{"name":"Saudi Arabia","alpha2":"sa"},{"name":"Senegal","alpha2":"sn"},{"name":"Serbia","alpha2":"rs"},{"name":"Seychelles","alpha2":"sc"},{"name":"Sierra Leone","alpha2":"sl"},{"name":"Singapore","alpha2":"sg"},{"name":"Sint Maarten (Dutch part)","alpha2":"sx"},{"name":"Slovakia","alpha2":"sk"},{"name":"Slovenia","alpha2":"si"},{"name":"Solomon Islands","alpha2":"sb"},{"name":"Somalia","alpha2":"so"},{"name":"South Africa","alpha2":"za"},{"name":"South Georgia and the South Sandwich Islands","alpha2":"gs"},{"name":"South Sudan","alpha2":"ss"},{"name":"Spain","alpha2":"es"},{"name":"Sri Lanka","alpha2":"lk"},{"name":"Sudan","alpha2":"sd"},{"name":"Suriname","alpha2":"sr"},{"name":"Svalbard and Jan Mayen","alpha2":"sj"},{"name":"Sweden","alpha2":"se"},{"name":"Switzerland","alpha2":"ch"},{"name":"Syrian Arab Republic","alpha2":"sy"},{"name":"Taiwan, Province of China","alpha2":"tw"},{"name":"Tajikistan","alpha2":"tj"},{"name":"Tanzania, United Republic of","alpha2":"tz"},{"name":"Thailand","alpha2":"th"},{"name":"Timor-Leste","alpha2":"tl"},{"name":"Togo","alpha2":"tg"},{"name":"Tokelau","alpha2":"tk"},{"name":"Tonga","alpha2":"to"},{"name":"Trinidad and Tobago","alpha2":"tt"},{"name":"Tunisia","alpha2":"tn"},{"name":"Turkey","alpha2":"tr"},{"name":"Turkmenistan","alpha2":"tm"},{"name":"Turks and Caicos Islands","alpha2":"tc"},{"name":"Tuvalu","alpha2":"tv"},{"name":"Uganda","alpha2":"ug"},{"name":"Ukraine","alpha2":"ua"},{"name":"United Arab Emirates","alpha2":"ae"},{"name":"United Kingdom of Great Britain and Northern Ireland","alpha2":"gb"},{"name":"United States of America","alpha2":"us"},{"name":"United States Minor Outlying Islands","alpha2":"um"},{"name":"Uruguay","alpha2":"uy"},{"name":"Uzbekistan","alpha2":"uz"},{"name":"Vanuatu","alpha2":"vu"},{"name":"Venezuela (Bolivarian Republic of)","alpha2":"ve"},{"name":"Viet Nam","alpha2":"vn"},{"name":"Virgin Islands (British)","alpha2":"vg"},{"name":"Virgin Islands (U.S.)","alpha2":"vi"},{"name":"Wallis and Futuna","alpha2":"wf"},{"name":"Western Sahara","alpha2":"eh"},{"name":"Yemen","alpha2":"ye"},{"name":"Zambia","alpha2":"zm"},{"name":"Zimbabwe","alpha2":"zw"}]'),mk=Object.freeze(Object.defineProperty({__proto__:null,default:hk},Symbol.toStringTag,{value:"Module"}));return function({portalCode:t,objectCode:n,pageType:a,locale:r,filters:i,api_url:o="https://api.bukazu.com/graphql",sentryDsn:s}){const c=r??"en",[u,d]=useState(0),p=useRef(null);e.useEffect(()=>{var e;s&&(e=s,void 0===$d()&&mf({dsn:e})),ff({portalCode:t,objectCode:n,locale:c})},[s,t,n,c]),e.useEffect(()=>{const e=p.current;e&&d(e.getBoundingClientRect().width)},[p]),e.useEffect(()=>{window.__localeId__=c,async function(e){if(!wf[e])try{switch(e){case"nl":{const{nl:e}=await Promise.resolve().then(()=>Nb);wf.nl=e;break}case"de":{const{de:e}=await Promise.resolve().then(()=>Fb);wf.de=e;break}case"fr":{const{fr:e}=await Promise.resolve().then(()=>Vb);wf.fr=e;break}case"it":{const{it:e}=await Promise.resolve().then(()=>Yb);wf.it=e;break}case"es":{const{es:e}=await Promise.resolve().then(()=>nk);wf.es=e;break}default:return}}catch(t){}}(c)},[c]);const h=function({portalCode:t,pageType:n,locale:a,filters:r}){let i=[];if(!t){let e="No portal code is specified, so portal is not working";i.push(e)}if(n&&"reviews"!==n){let e=`'${n}' is not a valid page`;i.push(e)}a&&(["nl","de","en","fr","it","es"].includes(a)||i.push("Invalid locale")),r&&bf(r);const o=JSON.stringify(i);return e.useEffect(()=>{i.forEach(e=>_f(e))},[o]),0!==i.length&&l.jsxs("div",{children:[l.jsx("h2",{children:"Something went wrong please try again "}),l.jsx("ul",{children:i.map(e=>l.jsx("li",{children:e},e))})]})}({portalCode:t,pageType:a,locale:c,filters:i});if(h)return h;const m=new go({uri:o,cache:new Xi,headers:{locale:c},defaultOptions:{watchQuery:{fetchPolicy:"cache-and-network"}}});return l.jsx(Lo,{client:m,children:l.jsx(jf.Provider,{value:{portalCode:t,objectCode:n,locale:c},children:l.jsx("div",{className:"bu-portal",children:l.jsx(Eb,{pageType:a,locale:c,filters:i})})})})}});
|
|
505
|
+
`;function Ts({filters:e,field:t,options:n,onChange:a,value:r}){const i=e.countries,o=e=>{r===e.target.value?s(null):s(e.target.value)},s=e=>{a(t.id,e)};return["cities","regions"].includes(t.id)?l.jsx("ul",{className:"radioList",children:n.map(e=>l.jsxs("li",{className:"bu-list-item "+(i&&!i.includes(e.country_id)?"bu-disabled":"bu-open"),children:[l.jsx("input",{name:t.id,type:"checkbox",id:e.id,value:e.id,disabled:!!i&&!i.includes(e.country_id),checked:r===e.id,onBlur:s,onChange:s}),l.jsx("label",{htmlFor:e.id,children:e.name})]},e.id))}):l.jsx("ul",{className:"radioList",children:n.map(e=>l.jsxs("li",{className:"bu-list-item bu-open",children:[l.jsx("input",{name:t.id,type:"checkbox",id:e.id,value:e.id,checked:r===e.id,onBlur:s,onChange:o}),l.jsx("label",{htmlFor:e.id,children:e.name})]},e.id))})}function Os(e){return Array.from({length:e+1},(e,t)=>t)}const Cs=[{label:"Land",id:"countries",type:"select",required:!1,mandatory:!0,options:["select","list","radio","text"]}];function Ns({options:e,field:t,filters:n,value:a,onChange:r}){const i=e=>{r(t.id,e.currentTarget.value)},o=n.countries,s=Array.isArray(n.regions)?n.regions:[n.regions].filter(e=>String(e).trim());return e&&["countries","cities","regions"].includes(t.id)?l.jsxs("select",{name:t.id,onBlur:i,onChange:i,value:a,children:[l.jsx("option",{value:""}),e.map(e=>{let n=!1;return["cities","regions"].includes(t.id)&&(o&&!o.includes(e.country_id)&&(n=!0),"cities"===t.id&&(!1!=!s.length||s.includes(e.region)||(n=!0))),l.jsx("option",{value:e.id,id:e.region,disabled:n,hidden:n,children:e.name},e.id)})]}):l.jsxs("select",{name:t.id,onBlur:i,onChange:i,value:a,children:[l.jsx("option",{value:""}),e.map(e=>{let t=!1;return l.jsx("option",{value:e,disabled:t,hidden:t,children:e},e)})]})}function Ms({PortalSite:e,filters:t,onChange:n}){const a=t.properties||[];let r=e.options.filtersForm.categories,i=[];const o=e=>{const t=Number(e.currentTarget.value);if(a.includes(t)){let e=a.indexOf(t);a.splice(e,1)}else a.push(t);n("properties",a)};return e.categories.map(e=>{r.includes(e.id)&&i.push(l.jsxs("div",{className:"bu-properties",children:[l.jsx("strong",{children:e.name}),l.jsx("ul",{children:e.properties.map(e=>l.jsx("li",{children:l.jsxs("label",{htmlFor:e.id.toString(),children:[l.jsx("input",{type:"checkbox",id:e.id.toString(),value:e.id,checked:a.includes(e.id),onChange:o}),e.name]})},e.id))})]},e.id))}),i}function Ds({options:e,filters:t,onChange:n,field:a}){const r=t.countries,i=e=>{n(a.id,e.currentTarget.value)};return l.jsx("ul",{className:"radioList",children:e.map(e=>l.jsxs("li",{className:"bu-list-item "+(r&&!r.includes(e.country_id)?"bu-disabled":""),children:[l.jsx("input",{name:a.id,type:"radio",id:e.id||e,value:e.id||e,disabled:!!r&&!r.includes(e.country_id),onBlur:i,onChange:i}),l.jsx("label",{htmlFor:e.id||e,children:e.name||e})]},e.id||e))})}function As({value:e,onChange:t,field:n}){const a=e&&""!==e?e:"";return l.jsx("input",{type:"date",id:n.id,name:n.id,value:a,onChange:e=>{t(n.id,e.target.value)}})}function Is({PortalSite:e,field:t,value:n,onChange:a}){return l.jsx("input",{value:n,type:"number",min:"0",max:"persons_min"===t.id?e.max_persons:e[t.id],onBlur:e=>{a(t.id,e.currentTarget.value)}})}function Ps({PortalSite:e,field:t,filters:n,value:a,onFilterChange:r}){let i=[];i=["countries","cities","regions"].includes(t.id)?e[t.id]:"persons_min"===t.id||"persons_max"===t.id?Os(e.max_persons):"bedrooms_min"===t.id?Os(e.max_bedrooms):"bathrooms_min"===t.id?Os(e.max_bathrooms):"weekprice_max"===t.id?function(e){let t=Math.ceil(e/100);return Array.from({length:t+1},(e,t)=>100*t)}(e.max_weekprice):Os(e[t.id]);let o={options:i,field:t,filters:n,value:a};return"properties"===t.id?l.jsx(Ms,{PortalSite:e,filters:n,onChange:r}):"select"===t.type?l.jsx(Ns,{...o,onChange:r}):"list"===t.type?l.jsx(Ts,{...o,onChange:r}):"radio"===t.type?l.jsx(Ds,{...o,onChange:r}):"number"===t.type?l.jsx(Is,{PortalSite:e,field:t,value:a,onChange:r}):"date"===t.type?l.jsx(As,{field:t,value:a,onChange:r}):l.jsx("input",{value:a,onBlur:e=>{r(t.id,e.target.value)}})}const Fs=()=>l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",version:"1.1",x:"0px",y:"0px",viewBox:"0 0 100 100",enableBackground:"new 0 0 100 100",xmlSpace:"preserve",height:"16px",children:l.jsx("path",{fill:"#000000",stroke:"2",d:"M77,53.752c0,0.012,0,0.022,0,0.034c0,14.92-12.019,27.058-26.938,27.058 c-14.92,0-26.948-12.138-26.948-27.058C23.114,38.961,35,26.889,50,26.738v4.942c0,2.84,2.54,2.913,3.947,1.647l10.354-7.714 c0,0,1.128-0.942,1.128-1.979c0-1.089-1.147-1.979-1.147-1.979L53.95,13.941C52.543,12.675,50,12.749,50,15.588v5.149 c-18,0.151-32.826,14.915-32.826,33.048c0,18.229,14.686,33.058,32.914,33.058C68.314,86.844,83,72.015,83,53.786 c0-0.012,0-0.022,0-0.034c0,0,0-3.375-3.037-3.375C77.109,50.376,77,53.752,77,53.752z"})}),Rs={next:"Next",previous:"Previous",view_details:"View details",price:"Price",calculate:"Next",book:"Book",booked:"Booked",booking:"Booking",last_minute_discount:"Last minute discount",discount:"Discount",option:"Option",choose_for_option:"Make a short reservation for this period ",included_in_price:"including",rent_price:"Rental price",extra_costs_included:"Extra costs included",optional_costs:"Extra options",price_after_discount:"Rental price incl. discount",booking_from_til:"Booking dates",total:"Total",stay_details:"Travel group",babies:"Babies",babies_from:"(up to the age of {babies})",adults:"Adults",adults_from:"(from the age of {age})","camper_spot.arrival_date":"Arrival date","camper_spot.departure_date":"Departure date","camper_spot.arrival":"Arrival","camper_spot.departure":"Departure","camping_place.arrival_date":"Arrival date","camping_place.departure_date":"Departure date","camping_place.arrival":"Arrival","camping_place.departure":"Departure","bnb.arrival_date":"Arrival date","bnb.departure_date":"Departure date","bnb.arrival":"Arrival","bnb.departure":"Departure","hotelroom.arrival_date":"Arrival date","hotelroom.departure_date":"Departure date","hotelroom.arrival":"Arrival","hotelroom.departure":"Departure",children:"Children",children_from:"(from {from} to {til} years inclusive)","house.arrival_date":"Arrival date","house.departure_date":"Departure date","house.arrival":"Arrival","house.departure":"Departure","group_accommodation.arrival_date":"Arrival date","group_accommodation.departure_date":"Departure date","group_accommodation.arrival":"Arrival","group_accommodation.departure":"Departure","tent.arrival_date":"Arrival date","tent.departure_date":"Departure date","tent.arrival":"Arrival","tent.departure":"Departure",extra_costs_bookable:"Extra options",costs_on_site:"Additional costs on the spot:",insurances:"Insurances",at_least_1_adult:"Choose at least 1 adult.",max_persons_reached:"Too many people have been selected.",personal_details:"Your information",required:"This field is required.",cancel_insurance_all_risk:"All Risk",cancel_insurance_normal:"Standard",none:"None",cancel_insurance:"Cancellation insurance",insurance_costs:"Insurance Costs",choose:"Choose",yes:"Yes",booking_details:"Booking details",based_on_one_person:"Based on {persons} persons",return_to_calendar:"Back to calendar",close:"Close",cancel_insurance_normal_long:"Short-term Cancellation Insurance ",cancel_insurance_normal_desc:"If you booked a wonderful holiday, cancellation insurance should not be missing! Your booked holiday cannot continue, or you have to go home unexpectedly halfway through the holiday due to, for example, a severe illness. The cancellation insurance of RecreatieVerzekeringen is ideal because it applies before departure and during your holiday.",cancel_insurance_more_insured:"More are insured than you think.",cancel_insurance_more_insured_desc:"Did you know that you can rely on cancellation insurance during pregnancy, a new job, or divorce? Many people expect cancellation insurance to be valid only in the event of illness or death.",cancel_insurance_important:"Important",cancel_insurance_important_message:"For optimal cancellation insurance coverage, you must take it out within seven days after booking the holiday.",cancel_insurance_for_whom:"For whom?",cancel_insurance_for_whom_explain:"This insurance is for a maximum of 4 families or 9 travel companions (no family members).",cancel_insurance_questions:"Frequently Asked Questions",cancel_insurance_questions_explain_1:"Click ",cancel_insurance_questions_explain_link:"here",cancel_insurance_questions_explain_2:" to find the Frequently Asked Questions.",show_terms:"Show conditions",terms:"Terms",remark:"Remark","9persons_9addresses":"The Insurance will pay for up to 9 persons, who live at 9 different addresses,",or:"or","9persons_4addresses":"The insurance pays out for an unlimited number of people who live at a maximum of 4 different addresses.",poliscosts:"Policy fee",poliscosts_are:"The cost for an insurance policy is a one-time charge of € 6,95. No matter if you have one or two insuran",youwillrecieve:"You will receive the insurance terms separate from you booking confirmation per email. The insurance starts as soon as the (first) payment has been made.",thank_you_for_your_request:"Thank you very much for your request.",we_sent_confirmation_check_email:"A copy of your request has been sent to your e-mail address. If you have not received any mail from us, it may be that it is in your spam box.",something_went_wrong_please_try_again:"Oops, something went wrong, please try again later.",persons:"persons",bedrooms:"bedrooms",minimum_week_price:"min. weekly price",no_results:"No results",agree_with:"Clicking 'Book' creates a payment obligation when my booking is accepted. I agree to the ",option_is_free:"An option is free of charge and without obligation.",discount_reason:"Reason discount.",results:"results",bathrooms:"bathrooms",you_need_to_give_reason:"You must indicate a valid discount reason","camper.arrival_date":"Start date","camper.departure_date":"End date","camper.arrival":"Start date","camper.departure":"End date","boat.arrival_date":"Start date","boat.departure_date":"End date","boat.arrival":"Start date","boat.departure":"End date","caravan.arrival_date":"Arrival date","caravan.departure_date":"Departure date","caravan.arrival":"Arrival","caravan.departure":"Departure",filters:"Filters",comply_insurance_card:"I agree that the cancellation insurance insurance card will be digitally issued to me. I receive this card with my booking confirmation.","house.you_picked_arrival_date":"Your arrival date is","house.pick_your_departure_in_the_calendar":"Select a departure date","house.you_picked_departure_date":"Your departure date is","house.pick_your_arrivaldate_in_the_calendar":"Choose an arrival date","group_accommodation.you_picked_arrival_date":"Your arrival date is","group_accommodation.pick_your_departure_in_the_calendar":"Select a departure date","group_accommodation.you_picked_departure_date":"Your departure date is","group_accommodation.pick_your_arrivaldate_in_the_calendar":"Choose an arrival date","tent.you_picked_arrival_date":"Your arrival date is","tent.pick_your_departure_in_the_calendar":"Select a departure date","tent.you_picked_departure_date":"Your departure date is","tent.pick_your_arrivaldate_in_the_calendar":"Choose an arrival date","camper.you_picked_arrival_date":"Your pickup date is","camper.pick_your_departure_in_the_calendar":"Select a return date","camper.you_picked_departure_date":"Your return date is","camper.pick_your_arrivaldate_in_the_calendar":"Choose a pickup date","boat.you_picked_arrival_date":"Your pickup date is","boat.pick_your_departure_in_the_calendar":"Select a return date","boat.you_picked_departure_date":"Your return date is","boat.pick_your_arrivaldate_in_the_calendar":"Choose a pickup date","bnb.you_picked_arrival_date":"Your arrival date is","bnb.pick_your_departure_in_the_calendar":"Select a departure date","bnb.you_picked_departure_date":"Your departure date is","bnb.pick_your_arrivaldate_in_the_calendar":"Choose an arrival date","caravan.you_picked_arrival_date":"Your pickup date is","caravan.pick_your_departure_in_the_calendar":"Select a return date","caravan.you_picked_departure_date":"Your return date is","caravan.pick_your_arrivaldate_in_the_calendar":"Choose a pickup date","camper_spot.you_picked_arrival_date":"Your arrival date is","camper_spot.pick_your_departure_in_the_calendar":"Select a departure date","camper_spot.you_picked_departure_date":"Your departure date is","camper_spot.pick_your_arrivaldate_in_the_calendar":"Choose an arrival date","camping_place.you_picked_arrival_date":"Your arrival date is","camping_place.pick_your_departure_in_the_calendar":"Select a departure date","camping_place.you_picked_departure_date":"Your departure date is","camping_place.pick_your_arrivaldate_in_the_calendar":"Choose an arrival date","hotelroom.you_picked_arrival_date":"Your arrival date is","hotelroom.pick_your_departure_in_the_calendar":"Select a departure date","hotelroom.you_picked_departure_date":"Your departure date is","hotelroom.pick_your_arrivaldate_in_the_calendar":"Choose an arrival date","house_boat.you_picked_arrival_date":"Your pickup date is","house_boat.pick_your_departure_in_the_calendar":"Select a return date","house_boat.you_picked_departure_date":"Your return date is","house_boat.pick_your_arrivaldate_in_the_calendar":"Choose a pickup date",no:"No",no_house_found:"No object found for this combination of PortalCode and ObjectCode",insurance_company_needs_date_of_birth:"A date of birth is required for taking out insurance","extra_fields.date_of_birth":"Date of birth",no_discount_code_found:"No discount found with entered code",discount_code:"Discount code",minimum_nights:"At least {minimum} nights",can_only_take_insurance_in_de_be_nl:"You can only take out insurance if you live in the Netherlands, Germany or Belgium.",price_from:"Price from",reviews:"Reviews",reviews_note_link:"BUKAZU Booking System maintains independent reviews. These reviews are collected after guests stay in the accommodation. There is verification of the combination of booking number and email address."},zs={next:"Volgende",previous:"Vorige",view_details:"Bekijk details",price:"Prijs",calculate:"Volgende",book:"Boeken",booked:"Geboekt",booking:"Boeking",last_minute_discount:"Last minute korting",discount:"Korting",option:"Optie",choose_for_option:"Neem een optie op deze periode",included_in_price:"inclusief",rent_price:"Huurprijs",extra_costs_included:"Extra kosten inbegrepen",optional_costs:"Extra opties",price_after_discount:"Huurprijs incl. korting",booking_from_til:"Boekingsdata:",total:"Totaal",stay_details:"Reisgezelschap",babies:"Baby's",babies_from:"(t/m {babies} jaar)",adults:"Volwassenen",adults_from:"(vanaf {age} jaar)","camper_spot.arrival_date":"Aankomstdatum","camper_spot.departure_date":"Vertrekdatum","camper_spot.arrival":"Aankomst","camper_spot.departure":"Vertrek","camping_place.arrival_date":"Aankomstdatum","camping_place.departure_date":"Vertrekdatum","camping_place.arrival":"Aankomst","camping_place.departure":"Vertrek","bnb.arrival_date":"Aankomstdatum","bnb.departure_date":"Vertrekdatum","bnb.arrival":"Aankomst","bnb.departure":"Vertrek","hotelroom.arrival_date":"Aankomstdatum","hotelroom.departure_date":"Vertrekdatum","hotelroom.arrival":"Aankomst","hotelroom.departure":"Vertrek",children:"Kinderen",children_from:"({from} t/m {til} jaar)","house.arrival_date":"Aankomstdatum","house.departure_date":"Vertrekdatum","house.arrival":"Aankomst","house.departure":"Vertrek ","group_accommodation.arrival_date":"Aankomstdatum","group_accommodation.departure_date":"Vertrekdatum","group_accommodation.arrival":"Aankomst","group_accommodation.departure":"Vertrek ",extra_costs_bookable:"Extra opties",costs_on_site:"Bijkomende kosten ter plaatse:",insurances:"Verzekeringen",at_least_1_adult:"Kies minstens 1 volwassene.",max_persons_reached:"Er zijn te veel personen geselecteerd.",personal_details:"Uw gegevens",required:"Dit veld is verplicht.",cancel_insurance_all_risk:"All Risk",cancel_insurance_normal:"Normaal",none:"Geen",cancel_insurance:"Annuleringsverzekering",insurance_costs:"Poliskosten",choose:"Kies",yes:"Ja",booking_details:"Boekingsgegevens",based_on_one_person:"Gebaseerd op {persons} personen",return_to_calendar:"Terug naar de kalender",close:"Sluiten",cancel_insurance_normal_long:"Kortlopende Annuleringsverzekering",cancel_insurance_normal_desc:"Je hebt een prachtige vakantie geboekt, dan mag een annuleringsverzekering niet ontbreken! Het kan gebeuren dat je geboekte vakantie niet door kan gaan, of dat je halverwege de vakantie onverwachts naar huis moet door bijvoorbeeld een ernstige ziekte. De annuleringsverzekering van RecreatieVerzekeringen is ideaal, deze geldt namelijk niet alleen voor je vertrek, maar ook tijdens de vakantie.",cancel_insurance_more_insured:"Er is meer verzekerd dan je denkt",cancel_insurance_more_insured_desc:"Wist je dat bij zwangerschap, een nieuwe baan of scheiding je een beroep kunt doen op een annuleringsverzekering? Veel mensen verwachten dat een annuleringsverzekering alleen geldig is bij ziekte of overlijden.",cancel_insurance_important:"Belangrijk",cancel_insurance_important_message:"Voor een optimale dekking van je annuleringsverzekering is het belangrijk dat je deze afsluit binnen 7 dagen na het boeken van de vakantie.",cancel_insurance_for_whom:"Voor wie?",cancel_insurance_for_whom_explain:"Deze verzekering is voor maximaal 4 gezinnen of 9 reisgenoten (geen gezinsleden)",cancel_insurance_questions:"Veelgestelde vragen",cancel_insurance_questions_explain_link:"hier",cancel_insurance_questions_explain_1:"Klik ",cancel_insurance_questions_explain_2:" om de veelgestelde vragen te vinden.",show_terms:"Bekijk de voorwaarden",terms:"Voorwaarden",reviews_note_link:"BUKAZU Boekingssysteem houdt onafhankelijk reviews bij. Deze reviews zijn verzameld na het verblijf van de gasten in de accommodatie. Er is controle op de combinatie boekingsnummer en e-mailadres.",reviews_note:"De getoonde reviews zijn gecontroleerd op echtheid en voldoen aan de richtlijnen van de ACM. De reviews zijn verzameld na het verblijf van de gasten in de accommodatie. Er is controle op de combinatie boekingsnummer en e-mailadres.",remark:"Opmerking","9persons_9addresses":"De verzekering keert uit voor maximaal 9 personen die op 9 verschillende adressen wonen,",or:"of","9persons_4addresses":"De verzekering keert uit voor een onbeperkt aantal personen die op maximaal 4 verschillende adressen wonen.",poliscosts:"Poliskosten",poliscosts_are:"De kosten voor het opmaken van een verzekeringspolis zijn eenmalig € 6,95. Ongeacht of u 1 of meerdere verzekeringen heeft afgesloten.",youwillrecieve:"U ontvangt aansluitend op uw boekingsbevestiging de verzekeringspapieren per email toegestuurd. De verzekering treedt in werking zodra u de (aan)betaling gedaan heeft.",thank_you_for_your_request:"Hartelijk dank voor uw boekings/optie-aanvraag.",we_sent_confirmation_check_email:"Een kopie van uw aanvraag is naar uw e-mailadres verstuurd. Als u geen mail van ons ontvangen hebt, kan het zijn dat deze in uw spambox zit. ",something_went_wrong_please_try_again:"Oeps, er is iets mis gegaan, probeert u het later nogmaals.",persons:"personen",bedrooms:"slaapkamers",minimum_week_price:"min. weekprijs",no_results:"Geen resultaten",agree_with:"Door op 'Boeken' te klikken, ontstaat een betaalverplichting wanneer mijn boeking wordt geaccepteerd. Ik ga akkoord met de",option_is_free:"Een optie is kosteloos en vrijblijvend.",discount_reason:"Reden korting.",results:"resultaten",bathrooms:"badkamers",you_need_to_give_reason:"U dient een geldige kortingsreden aan te geven","camper.arrival_date":"Ophaaldatum","camper.departure_date":"Inleverdatum","camper.arrival":"Ophalen","camper.departure":"Inleveren","boat.arrival_date":"Ophaaldatum","boat.departure_date":"Inleverdatum","boat.arrival":"Ophalen","boat.departure":"Inleveren","caravan.arrival_date":"Aankomstdatum","caravan.departure_date":"Vertrekdatum","caravan.arrival":"Aankomst","caravan.departure":"Vertrek ","tent.arrival_date":"Aankomstdatum","tent.departure_date":"Vertrekdatum","tent.arrival":"Aankomst","tent.departure":"Vertrek ",filters:"Filters",comply_insurance_card:"Ik ga ermee akkoord dat de verzekeringskaart van de annuleringsverzekering digitaal aan mij verstrekt wordt. Ik ontvang deze bij mijn boekingsbevestiging.","house.you_picked_arrival_date":"Uw aankomstdatum is","house.pick_your_departure_in_the_calendar":"Kies een vertrekdatum","house.you_picked_departure_date":"Uw vertrekdatum is","house.pick_your_arrivaldate_in_the_calendar":"Kies een aankomstdatum","group_accommodation.you_picked_arrival_date":"Uw aankomstdatum is","group_accommodation.pick_your_departure_in_the_calendar":"Kies een vertrekdatum","group_accommodation.you_picked_departure_date":"Uw vertrekdatum is","group_accommodation.pick_your_arrivaldate_in_the_calendar":"Kies een aankomstdatum","tent.you_picked_arrival_date":"Uw aankomstdatum is","tent.pick_your_departure_in_the_calendar":"Kies een vertrekdatum","tent.you_picked_departure_date":"Uw vertrekdatum is","tent.pick_your_arrivaldate_in_the_calendar":"Kies een aankomstdatum","camper.you_picked_arrival_date":"Uw ophaaldatum is","camper.pick_your_departure_in_the_calendar":"Kies een inleverdatum","camper.you_picked_departure_date":"Uw inleverdatum is","camper.pick_your_arrivaldate_in_the_calendar":"Kies een ophaaldatum","boat.you_picked_arrival_date":"Uw ophaaldatum is","boat.pick_your_departure_in_the_calendar":"Kies een inleverdatum","boat.you_picked_departure_date":"Uw inleverdatum is","boat.pick_your_arrivaldate_in_the_calendar":"Kies een ophaaldatum","bnb.you_picked_arrival_date":"Uw aankomstdatum is","bnb.pick_your_departure_in_the_calendar":"Kies een vertrekdatum","bnb.you_picked_departure_date":"Uw vertrekdatum is","bnb.pick_your_arrivaldate_in_the_calendar":"Kies een aankomstdatum","caravan.you_picked_arrival_date":"Uw ophaaldatum is","caravan.pick_your_departure_in_the_calendar":"Kies een inleverdatum","caravan.you_picked_departure_date":"Uw inleverdatum is","caravan.pick_your_arrivaldate_in_the_calendar":"Kies een ophaaldatum","camper_spot.you_picked_arrival_date":"Uw aankomstdatum is","camper_spot.pick_your_departure_in_the_calendar":"Kies een vertrekdatum","camper_spot.you_picked_departure_date":"Uw vertrekdatum is","camper_spot.pick_your_arrivaldate_in_the_calendar":"Kies een aankomstdatum","camping_place.you_picked_arrival_date":"Uw aankomstdatum is","camping_place.pick_your_departure_in_the_calendar":"Kies een vertrekdatum","camping_place.you_picked_departure_date":"Uw vertrekdatum is","camping_place.pick_your_arrivaldate_in_the_calendar":"Kies een aankomstdatum","hotelroom.you_picked_arrival_date":"Uw aankomstdatum is","hotelroom.pick_your_departure_in_the_calendar":"Kies een vertrekdatum","hotelroom.you_picked_departure_date":"Uw vertrekdatum is","hotelroom.pick_your_arrivaldate_in_the_calendar":"Kies een aankomstdatum","house_boat.you_picked_arrival_date":"Uw ophaaldatum is","house_boat.pick_your_departure_in_the_calendar":"Kies een inleverdatum","house_boat.you_picked_departure_date":"Uw inleverdatum is","house_boat.pick_your_arrivaldate_in_the_calendar":"Kies een ophaaldatum",no:"Nee",no_house_found:"Geen object gevonden voor deze combinatie van Portal-code en Object-code",insurance_company_needs_date_of_birth:"Voor het afsluiten van een verzekering is een geboortedatum verplicht","extra_fields.date_of_birth":"Geboortedatum",no_discount_code_found:"Geen korting gevonden met ingegeven code",discount_code:"Kortingscode",minimum_nights:"Minstens {minimum} nachten",can_only_take_insurance_in_de_be_nl:"U kunt alleen een verzekering afsluiten, wanneer u woont in Nederland, Duitsland of België.",price_from:"Prijs vanaf",reviews:"Reviews"},Ls={next:"Nächste",previous:"Vorherige",view_details:"Details anzeigen",reviews_note:"",price:"Preis",calculate:"Nächst",book:"Buchen",booked:"Gebucht",booking:"Buchung",last_minute_discount:"Last Minute Rabatt",option:"Option",choose_for_option:"Machen Sie eine kostenlose Option",included_in_price:"inklusive",rent_price:"Mietpreis",discount:"Rabatt",extra_costs_included:"Nebenkosten enthalten",optional_costs:"Zusätzliche Optionen",price_after_discount:"Mietpreis inkl. Rabatt",booking_from_til:"Buchungsdaten",total:"Gesamt",stay_details:"Reisegruppe",babies:"Babys",babies_from:"(bis einschl. {babies} Jahre)",adults:"Erwachsene",adults_from:"(ab {age} Jahre)","camper_spot.arrival_date":"Anreisedatum","camper_spot.departure_date":"Abreisedatum","camper_spot.arrival":"Ankunft","camper_spot.departure":"Abreise","camping_place.arrival_date":"Anreisedatum","camping_place.departure_date":"Abreisedatum","camping_place.arrival":"Ankunft","camping_place.departure":"Abreise","bnb.arrival_date":"Anreisedatum","bnb.departure_date":"Abreisedatum","bnb.arrival":"Ankunft","bnb.departure":"Abreise","hotelroom.arrival_date":"Anreisedatum","hotelroom.departure_date":"Abreisedatum","hotelroom.arrival":"Ankunft","hotelroom.departure":"Abreise",children:"Kinder",children_from:"(von {from} bis einschl. {til} Jahre)","house.arrival_date":"Anreisedatum","house.departure_date":"Abreisedatum","house.arrival":"Ankunft","house.departure":"Abreise","group_accommodation.arrival_date":"Anreisedatum","group_accommodation.departure_date":"Abreisedatum","group_accommodation.arrival":"Ankunft","group_accommodation.departure":"Abreise","tent.arrival_date":"Anreisedatum","tent.departure_date":"Abreisedatum","tent.arrival":"Ankunft","tent.departure":"Abreise",extra_costs_bookable:"Zusätzliche Optionen",costs_on_site:"Zusätzliche Kosten vor Ort:",insurances:"Versicherungen",at_least_1_adult:"Wählen Sie mindestens einen Erwachsenen aus.",max_persons_reached:"Es wurden zu viele Personen ausgewählt.",personal_details:"Ihre Daten",required:"Dieses Feld wird benötigt.",cancel_insurance_all_risk:"Allrisk",cancel_insurance_normal:"Standard",none:"Keine",cancel_insurance:"Reiserücktrittsversicherung",insurance_costs:"Policekosten",choose:"Wählen",yes:"Ja",booking_details:"Buchungsdetails",based_on_one_person:"Basierend auf {persons} Personen",return_to_calendar:"Zurück zum Kalender",close:"Schließen",cancel_insurance_normal_long:"Kurzfristige Reiserücktrittsversicherung",cancel_insurance_normal_desc:"Sie haben einen tollen Urlaub gebucht, dann darf eine Reiserücktrittsversicherung nicht fehlen! Es kann sein, dass Ihr gebuchter Urlaub nicht stattfinden kann oder dass Sie z. B. wegen einer schweren Krankheit mitten im Urlaub nach Hause fahren müssen. Die Reiserücktrittsversicherung von RecreatieVerzekeringen ist ideal, denn sie gilt nicht nur vor der Abreise, sondern auch während Ihres Urlaubs.",cancel_insurance_more_insured:"Es ist mehr versichert als Sie denken",cancel_insurance_more_insured_desc:"Wussten Sie, dass eine Reiserücktrittsversicherung auch im Falle einer Schwangerschaft, eines neuen Jobs oder einer Scheidung greift? Viele Leute erwarten, dass eine Reiserücktrittsversicherung nur bei Krankheit oder Tod gilt.",cancel_insurance_important:"Wichtig!",cancel_insurance_important_message:"Für eine optimale Deckung durch ihre Reiserücktrittsversicherung ist es wichtig, dass Sie diese innerhalb von 7 Tagen nach Ihrer Reisebuchung abschließen.",cancel_insurance_for_whom:"Für wen?",cancel_insurance_for_whom_explain:"Diese Versicherung gilt für bis zu 4 Familien oder 9 Mitreisende (keine Familienmitglieder).",cancel_insurance_questions:"Häufig gestellte Fragen ",cancel_insurance_questions_explain_1:"Klicken Sie ",cancel_insurance_questions_explain_link:"hier",cancel_insurance_questions_explain_2:" für die häufig gestellte Fragen.",show_terms:"Siehe Bedingungen",terms:"Bedingungen",remark:"Anmerkung","9persons_9addresses":"Die Versicherung ist gültig für maximal 9 Personen, die am 9 verschiedene Adressen wohnen,",or:"oder","9persons_4addresses":"Die Versicherung ist gültig für eine unbegrenzte Anzahl von Personen, die an maximal 4 verschiedenen Adressen wohnen.",poliscosts:"Police Kosten",poliscosts_are:"Es gibt einmalig € 6,95 Police-Kosten für die Bearbeitung der Versicherungen. Egal ob Sie 1 oder mehrere Versicherungen abschließen.",youwillrecieve:"Sie erhalten nach der Buchungsbestätigung im Anschluss an Ihre Buchung die Versicherungsbedingungen per E-Mail. Die Versicherung tritt mit der Ihrer Anzahlung in Kraft.",thank_you_for_your_request:"Vielen Dank für Ihre Buchungs/Options-Anfrage.",we_sent_confirmation_check_email:"Eine Kopie Ihrer Anfrage wurde an Ihre E-Mail-Adresse gesendet. Wenn Sie keine E-Mail von uns erhalten haben, befindet sich diese möglicherweise in Ihrer Spam-Box.",something_went_wrong_please_try_again:"Ups, es ist ein Fehler aufgetreten. Bitte versuchen Sie es später erneut.",persons:"Personen",bedrooms:"Schlafzimmer",minimum_week_price:"min. Wochenpreis",no_results:"Keine Ergebnisse",agree_with:'Wenn ich auf "Buchen" klicke, entsteht eine Zahlungsverpflichtung, wenn meine Buchung akzeptiert wird. Ich akzeptiere die',option_is_free:"Eine Option ist kostenlos und unverbindlich.",discount_reason:"Grund für Rabatt",results:"Ergebnisse",bathrooms:"Badezimmer",you_need_to_give_reason:"Sie müssen einen gültigen Rabattgrund angeben","camper.arrival_date":"Abholdatum","camper.departure_date":"Rückgabedatum","camper.arrival":"Abholen","camper.departure":"Rückgabe","boat.arrival_date":"Abholdatum","boat.departure_date":"Rückgabedatum","boat.arrival":"Abholen","boat.departure":"Rückgabe","caravan.arrival_date":"Anreisedatum","caravan.departure_date":"Abreisedatum","caravan.arrival":"Ankunft","caravan.departure":"Abreise",filters:"Filter",comply_insurance_card:"Ich bin damit einverstanden, dass die Versicherungskarte der Reiserücktrittsversicherung digital ausgestellt wird. Ich erhalte diese mit meiner Buchungsbestätigung.","house.you_picked_arrival_date":"Ihre Ankunft ist","house.pick_your_departure_in_the_calendar":"Wählen Sie ein Abreisedatum","house.you_picked_departure_date":"Ihr Abreisedatum ist","house.pick_your_arrivaldate_in_the_calendar":"Wählen Sie das Ankunftsdatum","group_accommodation.you_picked_arrival_date":"Ihre Ankunft ist","group_accommodation.pick_your_departure_in_the_calendar":"Wählen Sie ein Abreisedatum","group_accommodation.you_picked_departure_date":"Ihr Abreisedatum ist","group_accommodation.pick_your_arrivaldate_in_the_calendar":"Wählen Sie das Ankunftsdatum","tent.you_picked_arrival_date":"Ihre Ankunft ist","tent.pick_your_departure_in_the_calendar":"Wählen Sie ein Abreisedatum","tent.you_picked_departure_date":"Ihr Abreisedatum ist","tent.pick_your_arrivaldate_in_the_calendar":"Wählen Sie das Ankunftsdatum","camper.you_picked_arrival_date":"Ihr Abholdatum ist","camper.pick_your_departure_in_the_calendar":"Wählen Sie ein Rückgabedatum","camper.you_picked_departure_date":"Ihr Rückgabedatum ist","camper.pick_your_arrivaldate_in_the_calendar":"Wählen Sie einen Abholtermin","boat.you_picked_arrival_date":"Ihr Abholdatum ist","boat.pick_your_departure_in_the_calendar":"Wählen Sie ein Rückgabedatum","boat.you_picked_departure_date":"Ihr Rückgabedatum ist","boat.pick_your_arrivaldate_in_the_calendar":"Wählen Sie einen Abholtermin","bnb.you_picked_arrival_date":"Ihre Ankunft ist","bnb.pick_your_departure_in_the_calendar":"Wählen Sie ein Abreisedatum","bnb.you_picked_departure_date":"Ihr Abreisedatum ist","bnb.pick_your_arrivaldate_in_the_calendar":"Wählen Sie das Ankunftsdatum","caravan.you_picked_arrival_date":"Ihr Abholdatum ist","caravan.pick_your_departure_in_the_calendar":"Wählen Sie ein Rückgabedatum","caravan.you_picked_departure_date":"Ihr Rückgabedatum ist","caravan.pick_your_arrivaldate_in_the_calendar":"Wählen Sie einen Abholtermin","camper_spot.you_picked_arrival_date":"Ihre Ankunft ist","camper_spot.pick_your_departure_in_the_calendar":"Wählen Sie ein Abreisedatum","camper_spot.you_picked_departure_date":"Ihr Abreisedatum ist","camper_spot.pick_your_arrivaldate_in_the_calendar":"Wählen Sie das Ankunftsdatum","camping_place.you_picked_arrival_date":"Ihre Ankunft ist","camping_place.pick_your_departure_in_the_calendar":"Wählen Sie ein Abreisedatum","camping_place.you_picked_departure_date":"Ihr Abreisedatum ist","camping_place.pick_your_arrivaldate_in_the_calendar":"Wählen Sie das Ankunftsdatum","hotelroom.you_picked_arrival_date":"Ihre Ankunft ist","hotelroom.pick_your_departure_in_the_calendar":"Wählen Sie ein Abreisedatum","hotelroom.you_picked_departure_date":"Ihr Abreisedatum ist","hotelroom.pick_your_arrivaldate_in_the_calendar":"Wählen Sie das Ankunftsdatum","house_boat.you_picked_arrival_date":"Ihr Abholdatum ist","house_boat.pick_your_departure_in_the_calendar":"Wählen Sie ein Rückgabedatum","house_boat.you_picked_departure_date":"Ihr Rückgabedatum ist","house_boat.pick_your_arrivaldate_in_the_calendar":"Wählen Sie einen Abholtermin",no:"Nein",insurance_company_needs_date_of_birth:"Für den Abschluss einer Versicherung wird ein Geburtsdatum benötigt","extra_fields.date_of_birth":"Geburtsdatum",no_discount_code_found:"Kein Rabatt mit eingegebenem Code gefunden",discount_code:"Rabatt-Code",minimum_nights:"Mindestens {minimum} Nächte",can_only_take_insurance_in_de_be_nl:"Sie können sich nur versichern, wenn Sie in den Niederlanden, Deutschland oder Belgien wohnen.",price_from:"Preis von",reviews:"Bewertungen",reviews_note_link:"Das BUKAZU Buchungssystem unterhält unabhängige Bewertungen. Diese Bewertungen werden nach dem Aufenthalt der Gäste in der Unterkunft gesammelt. Es gibt eine Überprüfung der Kombination von Buchungsnummer und E-Mail-Adresse."},qs={en:Rs,nl:zs,de:Ls,fr:{next:"Suivant",previous:"Précédent",view_details:"Voir les détails",price:"Prix",calculate:"Suivante",book:"Réserver",booked:"Réservé",booking:"Réservation",last_minute_discount:"Réduction de dernière minute",option:"Option",choose_for_option:"Prendre une option pour cette période",included_in_price:"frais",rent_price:"Prix de location",discount:"Réduction",extra_costs_included:"Frais supplémentaires inclus",optional_costs:"Options supplémentaires",price_after_discount:"Prix de location incl.",booking_from_til:"Dates de réservation",total:"Total",stay_details:"Composition du groupe",babies:"Nombre de bébés",babies_from:"(jusqu'a {babies} ans)",adults:"Nombre d'adults",adults_from:"(à partir de {age} ans)","camper_spot.arrival_date":"Date d'arrivée","camper_spot.departure_date":"Date de départ","camper_spot.arrival":"Arrivée","camper_spot.departure":"Départ","camping_place.arrival_date":"Date d'arrivée","camping_place.departure_date":"Date de départ","camping_place.arrival":"Arrivée","camping_place.departure":"Départ","bnb.arrival_date":"Date d'arrivée","bnb.departure_date":"Date de départ","bnb.arrival":"Arrivée","bnb.departure":"Départ","hotelroom.arrival_date":"Date d'arrivée","hotelroom.departure_date":"Date de départ","hotelroom.arrival":"Arrivée","hotelroom.departure":"Départ",children:"Nombre d'enfants",children_from:"(de {from} à {til} ans)","house.arrival_date":"Date d'arrivée","house.departure_date":"Date de départ","house.arrival":"Arrivée","house.departure":"Départ","group_accommodation.arrival_date":"Date d'arrivée","group_accommodation.departure_date":"Date de départ","group_accommodation.arrival":"Arrivée","group_accommodation.departure":"Départ","tent.arrival_date":"Date d'arrivée","tent.departure_date":"Date de départ","tent.arrival":"Arrivée","tent.departure":"Départ",extra_costs_bookable:"Options supplémentaires",costs_on_site:"Frais supplémentaires sur place:",insurances:"Insurances",at_least_1_adult:"Choisissez au moins 1 adulte.",max_persons_reached:"Trop de personnes ont été sélectionnées.",personal_details:"Vos données",required:"Ce champ est requis.",cancel_insurance_all_risk:"All Risk",cancel_insurance_normal:"Standard",none:"None",cancel_insurance:"Cancellation insurance",insurance_costs:"Insurance Costs",choose:"Choose",yes:"Yes",booking_details:"Détails de la réservation",based_on_one_person:"Base {persons} personnes",return_to_calendar:"Retour au calendrier",close:"Fermer",cancel_insurance_normal_long:"Short-term Cancellation Insurance ",cancel_insurance_normal_desc:"If you booked a wonderful holiday, cancellation insurance should not be missing! Your booked holiday cannot continue, or you have to go home unexpectedly halfway through the holiday due to, for example, a severe illness. The cancellation insurance of RecreatieVerzekeringen is ideal because it applies before departure and during your holiday.",cancel_insurance_more_insured:"More are insured than you think.",cancel_insurance_more_insured_desc:"Did you know that you can rely on cancellation insurance during pregnancy, a new job, or divorce? Many people expect cancellation insurance to be valid only in the event of illness or death.",cancel_insurance_important:"Important",cancel_insurance_important_message:"For optimal cancellation insurance coverage, you must take it out within seven days after booking the holiday.",cancel_insurance_for_whom:"For whom?",cancel_insurance_for_whom_explain:"This insurance is for a maximum of 4 families or 9 travel companions (no family members).",cancel_insurance_questions:"Frequently Asked Questions",cancel_insurance_questions_explain_1:"Click ",cancel_insurance_questions_explain_link:"here",cancel_insurance_questions_explain_2:" to find the Frequently Asked Questions.",show_terms:"Show conditions",terms:"Terms",remark:"Remarque","9persons_9addresses":"The Insurance will pay for up to 9 persons, who live at 9 different addresses,",or:"or","9persons_4addresses":"The insurance pays out for an unlimited number of people who live at a maximum of 4 different addresses.",poliscosts:"Policy fee",poliscosts_are:"The cost for an insurance policy is a one-time charge of € 6,95. No matter if you have one or two insuran",youwillrecieve:"You will receive the insurance terms separate from you booking confirmation per email. The insurance starts as soon as the (first) payment has been made.",thank_you_for_your_request:"Merci beaucoup pour votre demande.",we_sent_confirmation_check_email:"Une copie de votre demande a été envoyée à votre adresse e-mail. Si vous n'avez pas reçu de courrier de notre part, il se peut qu'il soit dans votre boîte de courrier indésirable.",something_went_wrong_please_try_again:"Oups, quelque chose s'est mal passé, veuillez réessayer plus tard.",persons:"Personnes",bedrooms:"chambres a coucher",minimum_week_price:"min. prix hebdomadaire",no_results:"Aucun résultat",agree_with:'ELe fait de cliquer sur "Réserver" crée une obligation de paiement lorsque ma réservation est acceptée. J\'accepte',option_is_free:"Une option est gratuite et sans engagement.",discount_reason:"Raison réduction.",results:"résultats",bathrooms:"salle de bain",you_need_to_give_reason:"Debe indicar un motivo de descuento válido.","camper.arrival_date":"Date de collecte","camper.departure_date":"Date de retour","camper.arrival":"Ramasser","camper.departure":"Remettre","boat.arrival_date":"Date de collecte","boat.departure_date":"Date de retour","boat.arrival":"Ramasser","boat.departure":"Remettre","caravan.arrival_date":"Date d'arrivée","caravan.departure_date":"Date de départ","caravan.arrival":"Arrivée","caravan.departure":"Départ",filters:"Les filtres",comply_insurance_card:"Je conviens que la carte d’assurance annulation me sera délivrée numériquement. Je reçois ceci avec ma confirmation de réservation.","house.you_picked_arrival_date":"Votre date d'arrivée est","house.pick_your_departure_in_the_calendar":"Sélectionnez une date de départ","house.you_picked_departure_date":"Votre date de départ est","house.pick_your_arrivaldate_in_the_calendar":"Choisissez une date d'arrivée","group_accommodation.you_picked_arrival_date":"Votre date d'arrivée est","group_accommodation.pick_your_departure_in_the_calendar":"Sélectionnez une date de départ","group_accommodation.you_picked_departure_date":"Votre date de départ est","group_accommodation.pick_your_arrivaldate_in_the_calendar":"Choisissez une date d'arrivée","tent.you_picked_arrival_date":"Votre date d'arrivée est","tent.pick_your_departure_in_the_calendar":"Sélectionnez une date de départ","tent.you_picked_departure_date":"Votre date de départ est","tent.pick_your_arrivaldate_in_the_calendar":"Choisissez une date d'arrivée","camper.you_picked_arrival_date":"Votre date pick-up est","camper.pick_your_departure_in_the_calendar":"Sélectionnez une date de retour","camper.you_picked_departure_date":"Votre date de retour est","camper.pick_your_arrivaldate_in_the_calendar":"Choisissez une date de pick-up","boat.you_picked_arrival_date":"Your pickup date is","boat.pick_your_departure_in_the_calendar":"Select a return date","boat.you_picked_departure_date":"Your return date is","boat.pick_your_arrivaldate_in_the_calendar":"Choose a pickup date","bnb.you_picked_arrival_date":"Votre date d'arrivée est","bnb.pick_your_departure_in_the_calendar":"Sélectionnez une date de départ","bnb.you_picked_departure_date":"Votre date de départ est","bnb.pick_your_arrivaldate_in_the_calendar":"Choisissez une date d'arrivée","caravan.you_picked_arrival_date":"Votre date pick-up est","caravan.pick_your_departure_in_the_calendar":"Sélectionnez une date de retour","caravan.you_picked_departure_date":"Votre date de retour est","caravan.pick_your_arrivaldate_in_the_calendar":"Choisissez une date de pick-up","camper_spot.you_picked_arrival_date":"Votre date d'arrivée est","camper_spot.pick_your_departure_in_the_calendar":"Sélectionnez une date de départ","camper_spot.you_picked_departure_date":"Votre date de départ est","camper_spot.pick_your_arrivaldate_in_the_calendar":"Choisissez une date d'arrivée","camping_place.you_picked_arrival_date":"Votre date d'arrivée est","camping_place.pick_your_departure_in_the_calendar":"Sélectionnez une date de départ","camping_place.you_picked_departure_date":"Votre date de départ est","camping_place.pick_your_arrivaldate_in_the_calendar":"Choisissez une date d'arrivée","hotelroom.you_picked_arrival_date":"Votre date d'arrivée est","hotelroom.pick_your_departure_in_the_calendar":"Sélectionnez une date de départ","hotelroom.you_picked_departure_date":"Votre date de départ est","hotelroom.pick_your_arrivaldate_in_the_calendar":"Choisissez une date d'arrivée","house_boat.you_picked_arrival_date":"Votre date pick-up est","house_boat.pick_your_departure_in_the_calendar":"Sélectionnez une date de retour","house_boat.you_picked_departure_date":"Votre date de retour est","house_boat.pick_your_arrivaldate_in_the_calendar":"Choisissez une date de pick-up",no:"Non",minimum_nights:"Au moins {minimum} nuits",can_only_take_insurance_in_de_be_nl:"Vous ne pouvez souscrire une assurance que si vous résidez aux Pays-Bas, en Allemagne ou en Belgique.",price_from:"Le prix de",reviews:"Critiques",reviews_note_link:"Le système de réservation BUKAZU conserve des avis indépendants. Ces avis sont recueillis après que les clients ont séjourné dans le logement. La combinaison du numéro de réservation et de l'adresse électronique est vérifiée."},es:{next:"Siguiente",previous:"Anterior",view_details:"Ver detalles",price:"Precio",calculate:"Próximo",book:"Reservar",booked:"Reservado",booking:"Reserva",last_minute_discount:"Descuento de ultimo minuto",option:"Opción",choose_for_option:"Tome una opción para este período",included_in_price:"Incluido",rent_price:"Precio de alquiler",discount:"Reducción",extra_costs_included:"Costes extras incluidos",optional_costs:"Opciones extra",price_after_discount:"Precio de alquiler con descuento.",booking_from_til:"Fechas de reserva",total:"Total",stay_details:"Grupo de viaje",babies:"Numero de bebes",babies_from:"(hasta {babies} años)",adults:"Numero de adultos",adults_from:"(a partir de {age} años)","camper_spot.arrival_date":"Fecha de llegada","camper_spot.departure_date":"Fecha de salida","camper_spot.arrival":"Llegada","camper_spot.departure":"Salida","camping_place.arrival_date":"Fecha de llegada","camping_place.departure_date":"Fecha de salida","camping_place.arrival":"Llegada","camping_place.departure":"Salida","bnb.arrival_date":"Fecha de llegada","bnb.departure_date":"Fecha de salida","bnb.arrival":"Llegada","bnb.departure":"Salida","hotelroom.arrival_date":"Fecha de llegada","hotelroom.departure_date":"Fecha de salida","hotelroom.arrival":"Llegada","hotelroom.departure":"Salida",children:"Numero de niños",children_from:"(de {from} a {til} años)","house.arrival_date":"Fecha de llegada","house.departure_date":"Fecha de salida","house.arrival":"llegada","house.departure":"Salida","group_accommodation.arrival_date":"Fecha de llegada","group_accommodation.departure_date":"Fecha de salida","group_accommodation.arrival":"llegada","group_accommodation.departure":"Salida","tent.arrival_date":"Fecha de llegada","tent.departure_date":"Fecha de salida","tent.arrival":"llegada","tent.departure":"Salida",extra_costs_bookable:"Opciones extra",costs_on_site:"Costos adicionales en el lugar:",insurances:"Insurances",at_least_1_adult:"Elige al menos 1 adulto.",max_persons_reached:"Demasiadas personas han sido seleccionadas.",personal_details:"Tus datos",required:"Este campo es requerido.",cancel_insurance_all_risk:"All Risk",cancel_insurance_normal:"Standard",none:"None",cancel_insurance:"Cancellation insurance",insurance_costs:"Insurance Costs",choose:"Choose",yes:"Yes",booking_details:"Detalles de la reserva",based_on_one_person:"Basado en {persons} personas",return_to_calendar:"Volver al calendario",close:"Cerrar",cancel_insurance_normal_long:"Short-term Cancellation Insurance ",cancel_insurance_normal_desc:"If you booked a wonderful holiday, cancellation insurance should not be missing! Your booked holiday cannot continue, or you have to go home unexpectedly halfway through the holiday due to, for example, a severe illness. The cancellation insurance of RecreatieVerzekeringen is ideal because it applies before departure and during your holiday.",cancel_insurance_more_insured:"More are insured than you think.",cancel_insurance_more_insured_desc:"Did you know that you can rely on cancellation insurance during pregnancy, a new job, or divorce? Many people expect cancellation insurance to be valid only in the event of illness or death.",cancel_insurance_important:"Important",cancel_insurance_important_message:"For optimal cancellation insurance coverage, you must take it out within seven days after booking the holiday.",cancel_insurance_for_whom:"For whom?",cancel_insurance_for_whom_explain:"This insurance is for a maximum of 4 families or 9 travel companions (no family members).",cancel_insurance_questions:"Frequently Asked Questions",cancel_insurance_questions_explain_1:"Click ",cancel_insurance_questions_explain_link:"here",cancel_insurance_questions_explain_2:" to find the Frequently Asked Questions.",show_terms:"Show conditions",terms:"Terms",remark:"Observación","9persons_9addresses":"The Insurance will pay for up to 9 persons, who live at 9 different addresses,",or:"or","9persons_4addresses":"The insurance pays out for an unlimited number of people who live at a maximum of 4 different addresses.",poliscosts:"Policy fee",poliscosts_are:"The cost for an insurance policy is a one-time charge of € 6,95. No matter if you have one or two insuran",youwillrecieve:"You will receive the insurance terms separate from you booking confirmation per email. The insurance starts as soon as the (first) payment has been made.",thank_you_for_your_request:"Muchas gracias por su solicitud.",we_sent_confirmation_check_email:"Se ha enviado una copia de su solicitud a su dirección de correo electrónico. Si no ha recibido ningún correo de nuestra parte, es posible que esté en su buzón de correo no deseado.",something_went_wrong_please_try_again:"Vaya, algo salió mal, inténtalo de nuevo más tarde.",persons:"personas",bedrooms:"dormitorios",minimum_week_price:"min. precio semanal",no_results:"Sin resultados",agree_with:'Al hacer clic en "Reservar" se crea una obligación de pago cuando se acepta mi reserva. Acepto ',option_is_free:"Esta opción es gratuita",discount_reason:"Razón de descuento.",results:"resultados",bathrooms:"baños",you_need_to_give_reason:"Vous devez indiquer un motif de réduction valide","camper.arrival_date":"Fecha de recogida","camper.departure_date":"Fecha de regreso","camper.arrival":"Recoger","camper.departure":"Entregar","boat.arrival_date":"Fecha de recogida","boat.departure_date":"Fecha de regreso","boat.arrival":"Recoger","boat.departure":"Entregar","caravan.arrival_date":"Fecha de llegada","caravan.departure_date":"Fecha de salida","caravan.arrival":"llegada","caravan.departure":"Salida",filters:"Filtros",comply_insurance_card:"Estoy de acuerdo en que la tarjeta de seguro de cancelación será emitida digitalmente para mí. Recibo esto con mi confirmación de reserva.","house.you_picked_arrival_date":"Su fecha de llegada es","house.pick_your_departure_in_the_calendar":"Seleccione una fecha de salida","house.you_picked_departure_date":"Su fecha de salida es","house.pick_your_arrivaldate_in_the_calendar":"Elija una fecha de llegada","group_accommodation.you_picked_arrival_date":"Su fecha de llegada es","group_accommodation.pick_your_departure_in_the_calendar":"Seleccione una fecha de salida","group_accommodation.you_picked_departure_date":"Su fecha de salida es","group_accommodation.pick_your_arrivaldate_in_the_calendar":"Elija una fecha de llegada","tent.you_picked_arrival_date":"Su fecha de llegada es","tent.pick_your_departure_in_the_calendar":"Seleccione una fecha de salida","tent.you_picked_departure_date":"Su fecha de salida es","tent.pick_your_arrivaldate_in_the_calendar":"Elija una fecha de llegada","camper.you_picked_arrival_date":"Su fecha de recogida es","camper.pick_your_departure_in_the_calendar":"Seleccione una fecha de regreso","camper.you_picked_departure_date":"Su fecha de retorno es","camper.pick_your_arrivaldate_in_the_calendar":"Elija una fecha de recogida","boat.you_picked_arrival_date":"Your pickup date is","boat.pick_your_departure_in_the_calendar":"Select a return date","boat.you_picked_departure_date":"Your return date is","boat.pick_your_arrivaldate_in_the_calendar":"Choose a pickup date","bnb.you_picked_arrival_date":"Su fecha de llegada es","bnb.pick_your_departure_in_the_calendar":"Seleccione una fecha de salida","bnb.you_picked_departure_date":"Su fecha de salida es","bnb.pick_your_arrivaldate_in_the_calendar":"Elija una fecha de llegada","caravan.you_picked_arrival_date":"Su fecha de recogida es","caravan.pick_your_departure_in_the_calendar":"Seleccione una fecha de regreso","caravan.you_picked_departure_date":"Su fecha de retorno es","caravan.pick_your_arrivaldate_in_the_calendar":"Elija una fecha de recogida","camper_spot.you_picked_arrival_date":"Su fecha de llegada es","camper_spot.pick_your_departure_in_the_calendar":"Seleccione una fecha de salida","camper_spot.you_picked_departure_date":"Su fecha de salida es","camper_spot.pick_your_arrivaldate_in_the_calendar":"Elija una fecha de llegada","camping_place.you_picked_arrival_date":"Su fecha de llegada es","camping_place.pick_your_departure_in_the_calendar":"Seleccione una fecha de salida","camping_place.you_picked_departure_date":"Su fecha de salida es","camping_place.pick_your_arrivaldate_in_the_calendar":"Elija una fecha de llegada","hotelroom.you_picked_arrival_date":"Su fecha de llegada es","hotelroom.pick_your_departure_in_the_calendar":"Seleccione una fecha de salida","hotelroom.you_picked_departure_date":"Su fecha de salida es","hotelroom.pick_your_arrivaldate_in_the_calendar":"Elija una fecha de llegada","house_boat.you_picked_arrival_date":"Su fecha de recogida es","house_boat.pick_your_departure_in_the_calendar":"Seleccione una fecha de regreso","house_boat.you_picked_departure_date":"Su fecha de retorno es","house_boat.pick_your_arrivaldate_in_the_calendar":"Elija una fecha de recogida",no:"No",minimum_nights:"Al menos {minimum} noches",can_only_take_insurance_in_de_be_nl:"Solo puede contratar un seguro si vive en los Países Bajos, Alemania o Bélgica.",price_from:"Precio de",reviews:"Comentarios",reviews_note_link:"BUKAZU Booking System mantiene opiniones independientes. Estas opiniones se recogen después de la estancia de los huéspedes en el alojamiento. Se verifica la combinación del número de reserva y la dirección de correo electrónico."},it:{next:"Prossimo",previous:"Precedente",view_details:"Visualizza dettagli",price:"Prezzo",calculate:"Prossimo",book:"Prenotare",booked:"Prenotato",booking:"Prenotazione",last_minute_discount:"Sconto last minute",option:"Opzione",choose_for_option:"Prendi un'opzione per questo periodo",included_in_price:"compreso",rent_price:"Prezzo di affitto",discount:"Riduzione",extra_costs_included:"Costi aggiuntivi inclusi",optional_costs:"Opzioni extra",price_after_discount:"Prezzo di affitto incluso sconto",booking_from_til:"Date di prenotazione",total:"Total",stay_details:"Gruppo di viaggio",babies:"Numero di bambini",babies_from:"(fino a {babies} anni)",adults:"Numero di adulti",adults_from:"(dai {age} anni)","camper_spot.arrival_date":"Data di arrivo","camper_spot.departure_date":"Data di partenza","camper_spot.arrival":"Arrivo","camper_spot.departure":"Partenza","camping_place.arrival_date":"Data di arrivo","camping_place.departure_date":"Data di partenza","camping_place.arrival":"Arrivo","camping_place.departure":"Partenza","bnb.arrival_date":"Data di arrivo","bnb.departure_date":"Data di partenza","bnb.arrival":"Arrivo","bnb.departure":"Partenza","hotelroom.arrival_date":"Data di arrivo","hotelroom.departure_date":"Data di partenza","hotelroom.arrival":"Arrivo","hotelroom.departure":"Partenza",children:"Numero di bambini",children_from:"(da {from} a {til} anni)","house.arrival_date":"Data di arrivo","house.departure_date":"Data di partenza","house.arrival":"Arrivo","house.departure":"Partenza","tent.arrival_date":"Data di arrivo","tent.departure_date":"Data di partenza","tent.arrival":"Arrivo","tent.departure":"Partenza",extra_costs_bookable:"Opzioni extra",costs_on_site:"Possibili costi aggiuntivi sul posto:",insurances:"Insurances",at_least_1_adult:"Scegli almeno 1 adulto.",max_persons_reached:"Sono state selezionate troppe persone.",personal_details:"I tuoi dati",required:"Questo campo è obbligatorio.",cancel_insurance_all_risk:"All Risk",cancel_insurance_normal:"Standard",none:"None",cancel_insurance:"Cancellation insurance",insurance_costs:"Insurance Costs",choose:"Choose",yes:"Yes",booking_details:"Dettagli della prenotazione",based_on_one_person:"Basato su {persons} persone",return_to_calendar:"Ritorna al calendario",close:"Vicino",cancel_insurance_normal_long:"Short-term Cancellation Insurance ",cancel_insurance_normal_desc:"If you booked a wonderful holiday, cancellation insurance should not be missing! Your booked holiday cannot continue, or you have to go home unexpectedly halfway through the holiday due to, for example, a severe illness. The cancellation insurance of RecreatieVerzekeringen is ideal because it applies before departure and during your holiday.",cancel_insurance_more_insured:"More are insured than you think.",cancel_insurance_more_insured_desc:"Did you know that you can rely on cancellation insurance during pregnancy, a new job, or divorce? Many people expect cancellation insurance to be valid only in the event of illness or death.",cancel_insurance_important:"Important",cancel_insurance_important_message:"For optimal cancellation insurance coverage, you must take it out within seven days after booking the holiday.",cancel_insurance_for_whom:"For whom?",cancel_insurance_for_whom_explain:"This insurance is for a maximum of 4 families or 9 travel companions (no family members).",cancel_insurance_questions:"Frequently Asked Questions",cancel_insurance_questions_explain_1:"Click ",cancel_insurance_questions_explain_link:"here",cancel_insurance_questions_explain_2:" to find the Frequently Asked Questions.",show_terms:"Show conditions",terms:"Terms",remark:"Osservazione","9persons_9addresses":"The Insurance will pay for up to 9 persons, who live at 9 different addresses,",or:"or","9persons_4addresses":"The insurance pays out for an unlimited number of people who live at a maximum of 4 different addresses.",poliscosts:"Policy fee",poliscosts_are:"The cost for an insurance policy is a one-time charge of € 6,95. No matter if you have one or two insuran",youwillrecieve:"You will receive the insurance terms separate from you booking confirmation per email. The insurance starts as soon as the (first) payment has been made.",thank_you_for_your_request:"Grazie mille per la tua richiesta.",we_sent_confirmation_check_email:"Una copia della tua richiesta è stata inviata al tuo indirizzo e-mail. Se non hai ricevuto alcuna posta da noi, potrebbe essere che sia nella tua casella di spam.",something_went_wrong_please_try_again:"Oops, qualcosa è andato storto, ti preghiamo di riprovare più tardi.",persons:"persone",bedrooms:"camere da letto",minimum_week_price:"prezzo settimanale minimo",no_results:"Nessun risultato",agree_with:'Facendo clic su "Prenota" si crea un obbligo di pagamento quando la mia prenotazione viene accettata. Accetto i termini e le ',option_is_free:" L'opzione è gratuita e senza impegno",discount_reason:"Sconto di ragione.",results:"risultati",bathrooms:"bagni",you_need_to_give_reason:"Devi indicare un motivo di sconto valido","camper.arrival_date":"Data di ritiro","camper.departure_date":"Data di ritorno","camper.arrival":"Pick up","camper.departure":"Mano dentro","boat.arrival_date":"Data di ritiro","boat.departure_date":"Data di ritorno","boat.arrival":"Pick up","boat.departure":"Mano dentro","caravan.arrival_date":"Data di arrivo","caravan.departure_date":"Data di partenza","caravan.arrival":"Arrivo","caravan.departure":"Partenza",filters:"Filtri",comply_insurance_card:"Sono d'accordo che la carta di assicurazione di annullamento verrà emessa in digitale. Lo ricevo con la mia conferma di prenotazione.","house.you_picked_arrival_date":"La vostra data di arrivo è","house.pick_your_departure_in_the_calendar":"Selezionare una data di partenza","house.you_picked_departure_date":"La data di partenza è","house.pick_your_arrivaldate_in_the_calendar":"Scegliere una data di arrivo","group_accommodation.you_picked_arrival_date":"La vostra data di arrivo è","group_accommodation.pick_your_departure_in_the_calendar":"Selezionare una data di partenza","group_accommodation.you_picked_departure_date":"La data di partenza è","group_accommodation.pick_your_arrivaldate_in_the_calendar":"Scegliere una data di arrivo","tent.you_picked_arrival_date":"La vostra data di arrivo è","tent.pick_your_departure_in_the_calendar":"Selezionare una data di partenza","tent.you_picked_departure_date":"La data di partenza è","tent.pick_your_arrivaldate_in_the_calendar":"Scegliere una data di arrivo","camper.you_picked_arrival_date":"La vostra data di ritiro è","camper.pick_your_departure_in_the_calendar":"Seleziona una data di ritorno","camper.you_picked_departure_date":"La data di ritorno è","camper.pick_your_arrivaldate_in_the_calendar":"Scegli una data di ritiro","boat.you_picked_arrival_date":"Your pickup date is","boat.pick_your_departure_in_the_calendar":"Select a return date","boat.you_picked_departure_date":"Your return date is","boat.pick_your_arrivaldate_in_the_calendar":"Choose a pickup date","bnb.you_picked_arrival_date":"La vostra data di arrivo è","bnb.pick_your_departure_in_the_calendar":"Selezionare una data di partenza","bnb.you_picked_departure_date":"La data di partenza è","bnb.pick_your_arrivaldate_in_the_calendar":"Scegliere una data di arrivo","caravan.you_picked_arrival_date":"La vostra data di ritiro è","caravan.pick_your_departure_in_the_calendar":"Seleziona una data di ritorno","caravan.you_picked_departure_date":"La data di ritorno è","caravan.pick_your_arrivaldate_in_the_calendar":"Scegli una data di ritiro","camper_spot.you_picked_arrival_date":"La vostra data di arrivo è","camper_spot.pick_your_departure_in_the_calendar":"Selezionare una data di partenza","camper_spot.you_picked_departure_date":"La data di partenza è","camper_spot.pick_your_arrivaldate_in_the_calendar":"Scegliere una data di arrivo","camping_place.you_picked_arrival_date":"La vostra data di arrivo è","camping_place.pick_your_departure_in_the_calendar":"Selezionare una data di partenza","camping_place.you_picked_departure_date":"La data di partenza è","camping_place.pick_your_arrivaldate_in_the_calendar":"Scegliere una data di arrivo","hotelroom.you_picked_arrival_date":"La vostra data di arrivo è","hotelroom.pick_your_departure_in_the_calendar":"Selezionare una data di partenza","hotelroom.you_picked_departure_date":"La data di partenza è","hotelroom.pick_your_arrivaldate_in_the_calendar":"Scegliere una data di arrivo","house_boat.you_picked_arrival_date":"La vostra data di ritiro è","house_boat.pick_your_departure_in_the_calendar":"Seleziona una data di ritorno","house_boat.you_picked_departure_date":"La data di ritorno è","house_boat.pick_your_arrivaldate_in_the_calendar":"Scegli una data di ritiro",no:"No",minimum_nights:"Almeno {minimum} notti",can_only_take_insurance_in_de_be_nl:"Puoi stipulare un'assicurazione solo se vivi nei Paesi Bassi, in Germania o in Belgio.",price_from:"Prezzo da",reviews:"Recensioni",reviews_note_link:"Il sistema di prenotazione BUKAZU mantiene recensioni indipendenti. Queste recensioni vengono raccolte dopo il soggiorno degli ospiti nella struttura. Viene verificata la combinazione di numero di prenotazione e indirizzo e-mail."}};function $s(e,t){const n="undefined"!=typeof window&&window.__localeId__||"en";let a=(qs[n]||qs.en)[e]||e;return t&&Object.entries(t).forEach(([e,t])=>{a=a.replace(new RegExp(`\\{${e}\\}`,"g"),String(t))}),a}function Bs(e,t){const n="undefined"!=typeof window&&window.__localeId__||"en";return new Intl.NumberFormat(n,t).format(e)}function Vs({filters:t,onFilterChange:n,PortalSite:a,options:r}){function i(e,a){let r=t;r[e]=a,n(r)}const[o,s]=e.useState(!1),c=r.searchFields||Cs;let u=r.filtersForm&&r.filtersForm.fixedMobile?"fixed-mobile":null,d=r.filtersForm?r.filtersForm.show?`filters filters-${r.filtersForm.location}`:"filters-hidden":"filters",p=o&&"showOnMobile";return l.jsxs(l.Fragment,{children:[l.jsx("button",{className:`filters-button ${u}`,onClick:()=>s(!o),children:$s("filters")}),l.jsxs("div",{className:`${d} ${u} ${p}`,children:[l.jsx("button",{onClick:()=>{let e={};for(var t in e)e[t]="";n(e)},className:"filters-reload",children:l.jsx(Fs,{})}),c.map(e=>l.jsxs("div",{className:"bu-field",id:e.id,children:[l.jsx("label",{style:{width:"100%",display:"block"},htmlFor:e.id,children:a[`${e.id}_label`]}),l.jsx(Ps,{field:e,PortalSite:a,filters:t,value:t[e.id],onFilterChange:i})]},e.id))]})]})}const Us=6048e5,Ws=Symbol.for("constructDateFrom");function Qs(e,t){return"function"==typeof e?e(t):e&&"object"==typeof e&&Ws in e?e[Ws](t):e instanceof Date?new e.constructor(t):new Date(t)}function Gs(e,t){return Qs(t||e,e)}function Hs(e,t,n){const a=Gs(e,n?.in);return isNaN(t)?Qs(n?.in||e,NaN):t?(a.setDate(a.getDate()+t),a):a}function Ks(e,t,n){const a=Gs(e,n?.in);if(isNaN(t))return Qs(e,NaN);if(!t)return a;const r=a.getDate(),i=Qs(e,a.getTime());i.setMonth(a.getMonth()+t+1,0);return r>=i.getDate()?i:(a.setFullYear(i.getFullYear(),i.getMonth(),r),a)}let Ys={};function Js(){return Ys}function Xs(e,t){const n=Js(),a=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,r=Gs(e,t?.in),i=r.getDay(),o=(i<a?7:0)+i-a;return r.setDate(r.getDate()-o),r.setHours(0,0,0,0),r}function Zs(e,t){return Xs(e,{...t,weekStartsOn:1})}function ec(e,t){const n=Gs(e,t?.in),a=n.getFullYear(),r=Qs(n,0);r.setFullYear(a+1,0,4),r.setHours(0,0,0,0);const i=Zs(r),o=Qs(n,0);o.setFullYear(a,0,4),o.setHours(0,0,0,0);const s=Zs(o);return n.getTime()>=i.getTime()?a+1:n.getTime()>=s.getTime()?a:a-1}function tc(e){const t=Gs(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function nc(e,...t){const n=Qs.bind(null,e||t.find(e=>"object"==typeof e));return t.map(n)}function ac(e,t){const n=Gs(e,t?.in);return n.setHours(0,0,0,0),n}function rc(e,t,n){const[a,r]=nc(n?.in,e,t),i=ac(a),o=ac(r),s=+i-tc(i),c=+o-tc(o);return Math.round((s-c)/864e5)}function ic(e,t,n){const[a,r]=nc(n?.in,e,t);return+ac(a)===+ac(r)}function oc(e){return!(!((t=e)instanceof Date||"object"==typeof t&&"[object Date]"===Object.prototype.toString.call(t))&&"number"!=typeof e||isNaN(+Gs(e)));var t}function sc(e,t){const n=Gs(e,t?.in),a=n.getMonth();return n.setFullYear(n.getFullYear(),a+1,0),n.setHours(23,59,59,999),n}function cc(e,t){const n=Gs(e,t?.in);return n.setDate(1),n.setHours(0,0,0,0),n}function uc(e,t){const n=Js(),a=n.weekStartsOn??n.locale?.options?.weekStartsOn??0,r=Gs(e,t?.in),i=r.getDay(),o=6+(i<a?-7:0)-(i-a);return r.setDate(r.getDate()+o),r.setHours(23,59,59,999),r}const lc={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},dc=(e,t,n)=>{let a;const r=lc[e];return a="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"in "+a:a+" ago":a};function pc(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const hc={date:pc({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:pc({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:pc({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},mc={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},fc=(e,t,n,a)=>mc[e];function vc(e){return(t,n)=>{let a;if("formatting"===(n?.context?String(n.context):"standalone")&&e.formattingValues){const t=e.defaultFormattingWidth||e.defaultWidth,r=n?.width?String(n.width):t;a=e.formattingValues[r]||e.formattingValues[t]}else{const t=e.defaultWidth,r=n?.width?String(n.width):e.defaultWidth;a=e.values[r]||e.values[t]}return a[e.argumentCallback?e.argumentCallback(t):t]}}const _c={ordinalNumber:(e,t)=>{const n=Number(e),a=n%100;if(a>20||a<10)switch(a%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:vc({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:vc({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:vc({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:vc({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:vc({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})};function gc(e){return(t,n={})=>{const a=n.width,r=a&&e.matchPatterns[a]||e.matchPatterns[e.defaultMatchWidth],i=t.match(r);if(!i)return null;const o=i[0],s=a&&e.parsePatterns[a]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(s)?function(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n;return}(s,e=>e.test(o)):function(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n;return}(s,e=>e.test(o));let u;u=e.valueCallback?e.valueCallback(c):c,u=n.valueCallback?n.valueCallback(u):u;return{value:u,rest:t.slice(o.length)}}}function yc(e){return(t,n={})=>{const a=t.match(e.matchPattern);if(!a)return null;const r=a[0],i=t.match(e.parsePattern);if(!i)return null;let o=e.valueCallback?e.valueCallback(i[0]):i[0];o=n.valueCallback?n.valueCallback(o):o;return{value:o,rest:t.slice(r.length)}}}const bc={ordinalNumber:yc({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:gc({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:gc({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:gc({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:gc({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:gc({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},kc={code:"en-US",formatDistance:dc,formatLong:hc,formatRelative:fc,localize:_c,match:bc,options:{weekStartsOn:0,firstWeekContainsDate:1}};function wc(e,t){const n=Gs(e,t?.in),a=rc(n,function(e,t){const n=Gs(e,t?.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}(n));return a+1}function xc(e,t){const n=Gs(e,t?.in),a=+Zs(n)-+function(e,t){const n=ec(e,t),a=Qs(e,0);return a.setFullYear(n,0,4),a.setHours(0,0,0,0),Zs(a)}(n);return Math.round(a/Us)+1}function Sc(e,t){const n=Gs(e,t?.in),a=n.getFullYear(),r=Js(),i=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,o=Qs(t?.in||e,0);o.setFullYear(a+1,0,i),o.setHours(0,0,0,0);const s=Xs(o,t),c=Qs(t?.in||e,0);c.setFullYear(a,0,i),c.setHours(0,0,0,0);const u=Xs(c,t);return+n>=+s?a+1:+n>=+u?a:a-1}function Ec(e,t){const n=Gs(e,t?.in),a=+Xs(n,t)-+function(e,t){const n=Js(),a=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,r=Sc(e,t),i=Qs(t?.in||e,0);return i.setFullYear(r,0,a),i.setHours(0,0,0,0),Xs(i,t)}(n,t);return Math.round(a/Us)+1}function jc(e,t){return(e<0?"-":"")+Math.abs(e).toString().padStart(t,"0")}const Tc={y(e,t){const n=e.getFullYear(),a=n>0?n:1-n;return jc("yy"===t?a%100:a,t.length)},M(e,t){const n=e.getMonth();return"M"===t?String(n+1):jc(n+1,2)},d:(e,t)=>jc(e.getDate(),t.length),a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:(e,t)=>jc(e.getHours()%12||12,t.length),H:(e,t)=>jc(e.getHours(),t.length),m:(e,t)=>jc(e.getMinutes(),t.length),s:(e,t)=>jc(e.getSeconds(),t.length),S(e,t){const n=t.length,a=e.getMilliseconds();return jc(Math.trunc(a*Math.pow(10,n-3)),t.length)}},Oc="midnight",Cc="noon",Nc="morning",Mc="afternoon",Dc="evening",Ac="night",Ic={G:function(e,t,n){const a=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(a,{width:"abbreviated"});case"GGGGG":return n.era(a,{width:"narrow"});default:return n.era(a,{width:"wide"})}},y:function(e,t,n){if("yo"===t){const t=e.getFullYear(),a=t>0?t:1-t;return n.ordinalNumber(a,{unit:"year"})}return Tc.y(e,t)},Y:function(e,t,n,a){const r=Sc(e,a),i=r>0?r:1-r;if("YY"===t){return jc(i%100,2)}return"Yo"===t?n.ordinalNumber(i,{unit:"year"}):jc(i,t.length)},R:function(e,t){return jc(ec(e),t.length)},u:function(e,t){return jc(e.getFullYear(),t.length)},Q:function(e,t,n){const a=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(a);case"QQ":return jc(a,2);case"Qo":return n.ordinalNumber(a,{unit:"quarter"});case"QQQ":return n.quarter(a,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(a,{width:"narrow",context:"formatting"});default:return n.quarter(a,{width:"wide",context:"formatting"})}},q:function(e,t,n){const a=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(a);case"qq":return jc(a,2);case"qo":return n.ordinalNumber(a,{unit:"quarter"});case"qqq":return n.quarter(a,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(a,{width:"narrow",context:"standalone"});default:return n.quarter(a,{width:"wide",context:"standalone"})}},M:function(e,t,n){const a=e.getMonth();switch(t){case"M":case"MM":return Tc.M(e,t);case"Mo":return n.ordinalNumber(a+1,{unit:"month"});case"MMM":return n.month(a,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(a,{width:"narrow",context:"formatting"});default:return n.month(a,{width:"wide",context:"formatting"})}},L:function(e,t,n){const a=e.getMonth();switch(t){case"L":return String(a+1);case"LL":return jc(a+1,2);case"Lo":return n.ordinalNumber(a+1,{unit:"month"});case"LLL":return n.month(a,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(a,{width:"narrow",context:"standalone"});default:return n.month(a,{width:"wide",context:"standalone"})}},w:function(e,t,n,a){const r=Ec(e,a);return"wo"===t?n.ordinalNumber(r,{unit:"week"}):jc(r,t.length)},I:function(e,t,n){const a=xc(e);return"Io"===t?n.ordinalNumber(a,{unit:"week"}):jc(a,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getDate(),{unit:"date"}):Tc.d(e,t)},D:function(e,t,n){const a=wc(e);return"Do"===t?n.ordinalNumber(a,{unit:"dayOfYear"}):jc(a,t.length)},E:function(e,t,n){const a=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(a,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(a,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(a,{width:"short",context:"formatting"});default:return n.day(a,{width:"wide",context:"formatting"})}},e:function(e,t,n,a){const r=e.getDay(),i=(r-a.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return jc(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},c:function(e,t,n,a){const r=e.getDay(),i=(r-a.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return jc(i,t.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(r,{width:"narrow",context:"standalone"});case"cccccc":return n.day(r,{width:"short",context:"standalone"});default:return n.day(r,{width:"wide",context:"standalone"})}},i:function(e,t,n){const a=e.getDay(),r=0===a?7:a;switch(t){case"i":return String(r);case"ii":return jc(r,t.length);case"io":return n.ordinalNumber(r,{unit:"day"});case"iii":return n.day(a,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(a,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(a,{width:"short",context:"formatting"});default:return n.day(a,{width:"wide",context:"formatting"})}},a:function(e,t,n){const a=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(a,{width:"narrow",context:"formatting"});default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},b:function(e,t,n){const a=e.getHours();let r;switch(r=12===a?Cc:0===a?Oc:a/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){const a=e.getHours();let r;switch(r=a>=17?Dc:a>=12?Mc:a>=4?Nc:Ac,t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),n.ordinalNumber(t,{unit:"hour"})}return Tc.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getHours(),{unit:"hour"}):Tc.H(e,t)},K:function(e,t,n){const a=e.getHours()%12;return"Ko"===t?n.ordinalNumber(a,{unit:"hour"}):jc(a,t.length)},k:function(e,t,n){let a=e.getHours();return 0===a&&(a=24),"ko"===t?n.ordinalNumber(a,{unit:"hour"}):jc(a,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):Tc.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getSeconds(),{unit:"second"}):Tc.s(e,t)},S:function(e,t){return Tc.S(e,t)},X:function(e,t,n){const a=e.getTimezoneOffset();if(0===a)return"Z";switch(t){case"X":return Fc(a);case"XXXX":case"XX":return Rc(a);default:return Rc(a,":")}},x:function(e,t,n){const a=e.getTimezoneOffset();switch(t){case"x":return Fc(a);case"xxxx":case"xx":return Rc(a);default:return Rc(a,":")}},O:function(e,t,n){const a=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Pc(a,":");default:return"GMT"+Rc(a,":")}},z:function(e,t,n){const a=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Pc(a,":");default:return"GMT"+Rc(a,":")}},t:function(e,t,n){return jc(Math.trunc(+e/1e3),t.length)},T:function(e,t,n){return jc(+e,t.length)}};function Pc(e,t=""){const n=e>0?"-":"+",a=Math.abs(e),r=Math.trunc(a/60),i=a%60;return 0===i?n+String(r):n+String(r)+t+jc(i,2)}function Fc(e,t){if(e%60==0){return(e>0?"-":"+")+jc(Math.abs(e)/60,2)}return Rc(e,t)}function Rc(e,t=""){const n=e>0?"-":"+",a=Math.abs(e);return n+jc(Math.trunc(a/60),2)+t+jc(a%60,2)}const zc=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},Lc=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},qc={p:Lc,P:(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],a=n[1],r=n[2];if(!r)return zc(e,t);let i;switch(a){case"P":i=t.dateTime({width:"short"});break;case"PP":i=t.dateTime({width:"medium"});break;case"PPP":i=t.dateTime({width:"long"});break;default:i=t.dateTime({width:"full"})}return i.replace("{{date}}",zc(a,t)).replace("{{time}}",Lc(r,t))}},$c=/^D+$/,Bc=/^Y+$/,Vc=["D","DD","YY","YYYY"];function Uc(e){return $c.test(e)}function Wc(e){return Bc.test(e)}function Qc(e,t,n){const a=function(e,t,n){const a="Y"===e[0]?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${a} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}(e,t,n);if(Vc.includes(e))throw new RangeError(a)}const Gc=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Hc=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Kc=/^'([^]*?)'?$/,Yc=/''/g,Jc=/[a-zA-Z]/;function Xc(e,t,n){const a=Js(),r=n?.locale??a.locale??kc,i=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??a.firstWeekContainsDate??a.locale?.options?.firstWeekContainsDate??1,o=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??a.weekStartsOn??a.locale?.options?.weekStartsOn??0,s=Gs(e,n?.in);if(!oc(s))throw new RangeError("Invalid time value");let c=t.match(Hc).map(e=>{const t=e[0];if("p"===t||"P"===t){return(0,qc[t])(e,r.formatLong)}return e}).join("").match(Gc).map(e=>{if("''"===e)return{isToken:!1,value:"'"};const t=e[0];if("'"===t)return{isToken:!1,value:Zc(e)};if(Ic[t])return{isToken:!0,value:e};if(t.match(Jc))throw new RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}});r.localize.preprocessor&&(c=r.localize.preprocessor(s,c));const u={firstWeekContainsDate:i,weekStartsOn:o,locale:r};return c.map(a=>{if(!a.isToken)return a.value;const i=a.value;(!n?.useAdditionalWeekYearTokens&&Wc(i)||!n?.useAdditionalDayOfYearTokens&&Uc(i))&&Qc(i,t,String(e));return(0,Ic[i[0]])(s,i,r.localize,u)}).join("")}function Zc(e){const t=e.match(Kc);return t?t[1].replace(Yc,"'"):e}function eu(e,t){return+Gs(e)>+Gs(t)}function tu(e,t){return+Gs(e)<+Gs(t)}class nu{subPriority=0;validate(e,t){return!0}}class au extends nu{constructor(e,t,n,a,r){super(),this.value=e,this.validateValue=t,this.setValue=n,this.priority=a,r&&(this.subPriority=r)}validate(e,t){return this.validateValue(e,this.value,t)}set(e,t,n){return this.setValue(e,t,this.value,n)}}class ru extends nu{priority=10;subPriority=-1;constructor(e,t){super(),this.context=e||(e=>Qs(t,e))}set(e,t){return t.timestampIsSet?e:Qs(e,function(e,t){const n=function(e){return"function"==typeof e&&e.prototype?.constructor===e}(t)?new t(0):Qs(t,0);return n.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),n.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),n}(e,this.context))}}class iu{run(e,t,n,a){const r=this.parse(e,t,n,a);return r?{setter:new au(r.value,this.validate,this.set,this.priority,this.subPriority),rest:r.rest}:null}validate(e,t,n){return!0}}const ou=/^(1[0-2]|0?\d)/,su=/^(3[0-1]|[0-2]?\d)/,cu=/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,uu=/^(5[0-3]|[0-4]?\d)/,lu=/^(2[0-3]|[0-1]?\d)/,du=/^(2[0-4]|[0-1]?\d)/,pu=/^(1[0-1]|0?\d)/,hu=/^(1[0-2]|0?\d)/,mu=/^[0-5]?\d/,fu=/^[0-5]?\d/,vu=/^\d/,_u=/^\d{1,2}/,gu=/^\d{1,3}/,yu=/^\d{1,4}/,bu=/^-?\d+/,ku=/^-?\d/,wu=/^-?\d{1,2}/,xu=/^-?\d{1,3}/,Su=/^-?\d{1,4}/,Eu=/^([+-])(\d{2})(\d{2})?|Z/,ju=/^([+-])(\d{2})(\d{2})|Z/,Tu=/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,Ou=/^([+-])(\d{2}):(\d{2})|Z/,Cu=/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/;function Nu(e,t){return e?{value:t(e.value),rest:e.rest}:e}function Mu(e,t){const n=t.match(e);return n?{value:parseInt(n[0],10),rest:t.slice(n[0].length)}:null}function Du(e,t){const n=t.match(e);if(!n)return null;if("Z"===n[0])return{value:0,rest:t.slice(1)};return{value:("+"===n[1]?1:-1)*(36e5*(n[2]?parseInt(n[2],10):0)+6e4*(n[3]?parseInt(n[3],10):0)+1e3*(n[5]?parseInt(n[5],10):0)),rest:t.slice(n[0].length)}}function Au(e){return Mu(bu,e)}function Iu(e,t){switch(e){case 1:return Mu(vu,t);case 2:return Mu(_u,t);case 3:return Mu(gu,t);case 4:return Mu(yu,t);default:return Mu(new RegExp("^\\d{1,"+e+"}"),t)}}function Pu(e,t){switch(e){case 1:return Mu(ku,t);case 2:return Mu(wu,t);case 3:return Mu(xu,t);case 4:return Mu(Su,t);default:return Mu(new RegExp("^-?\\d{1,"+e+"}"),t)}}function Fu(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function Ru(e,t){const n=t>0,a=n?t:1-t;let r;if(a<=50)r=e||100;else{const t=a+50;r=e+100*Math.trunc(t/100)-(e>=t%100?100:0)}return n?r:1-r}function zu(e){return e%400==0||e%4==0&&e%100!=0}const Lu=[31,28,31,30,31,30,31,31,30,31,30,31],qu=[31,29,31,30,31,30,31,31,30,31,30,31];function $u(e,t,n){const a=Js(),r=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??a.weekStartsOn??a.locale?.options?.weekStartsOn??0,i=Gs(e,n?.in),o=i.getDay(),s=7-r;return Hs(i,t<0||t>6?t-(o+s)%7:((t%7+7)%7+s)%7-(o+s)%7,n)}function Bu(e,t,n){const a=Gs(e,n?.in),r=function(e,t){const n=Gs(e,t?.in).getDay();return 0===n?7:n}(a,n);return Hs(a,t-r,n)}const Vu={G:new class extends iu{priority=140;parse(e,t,n){switch(t){case"G":case"GG":case"GGG":return n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"});case"GGGGG":return n.era(e,{width:"narrow"});default:return n.era(e,{width:"wide"})||n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"})}}set(e,t,n){return t.era=n,e.setFullYear(n,0,1),e.setHours(0,0,0,0),e}incompatibleTokens=["R","u","t","T"]},y:new class extends iu{priority=130;incompatibleTokens=["Y","R","u","w","I","i","e","c","t","T"];parse(e,t,n){const a=e=>({year:e,isTwoDigitYear:"yy"===t});switch(t){case"y":return Nu(Iu(4,e),a);case"yo":return Nu(n.ordinalNumber(e,{unit:"year"}),a);default:return Nu(Iu(t.length,e),a)}}validate(e,t){return t.isTwoDigitYear||t.year>0}set(e,t,n){const a=e.getFullYear();if(n.isTwoDigitYear){const t=Ru(n.year,a);return e.setFullYear(t,0,1),e.setHours(0,0,0,0),e}const r="era"in t&&1!==t.era?1-n.year:n.year;return e.setFullYear(r,0,1),e.setHours(0,0,0,0),e}},Y:new class extends iu{priority=130;parse(e,t,n){const a=e=>({year:e,isTwoDigitYear:"YY"===t});switch(t){case"Y":return Nu(Iu(4,e),a);case"Yo":return Nu(n.ordinalNumber(e,{unit:"year"}),a);default:return Nu(Iu(t.length,e),a)}}validate(e,t){return t.isTwoDigitYear||t.year>0}set(e,t,n,a){const r=Sc(e,a);if(n.isTwoDigitYear){const t=Ru(n.year,r);return e.setFullYear(t,0,a.firstWeekContainsDate),e.setHours(0,0,0,0),Xs(e,a)}const i="era"in t&&1!==t.era?1-n.year:n.year;return e.setFullYear(i,0,a.firstWeekContainsDate),e.setHours(0,0,0,0),Xs(e,a)}incompatibleTokens=["y","R","u","Q","q","M","L","I","d","D","i","t","T"]},R:new class extends iu{priority=130;parse(e,t){return Pu("R"===t?4:t.length,e)}set(e,t,n){const a=Qs(e,0);return a.setFullYear(n,0,4),a.setHours(0,0,0,0),Zs(a)}incompatibleTokens=["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]},u:new class extends iu{priority=130;parse(e,t){return Pu("u"===t?4:t.length,e)}set(e,t,n){return e.setFullYear(n,0,1),e.setHours(0,0,0,0),e}incompatibleTokens=["G","y","Y","R","w","I","i","e","c","t","T"]},Q:new class extends iu{priority=120;parse(e,t,n){switch(t){case"Q":case"QQ":return Iu(t.length,e);case"Qo":return n.ordinalNumber(e,{unit:"quarter"});case"QQQ":return n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(e,{width:"narrow",context:"formatting"});default:return n.quarter(e,{width:"wide",context:"formatting"})||n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=1&&t<=4}set(e,t,n){return e.setMonth(3*(n-1),1),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]},q:new class extends iu{priority=120;parse(e,t,n){switch(t){case"q":case"qq":return Iu(t.length,e);case"qo":return n.ordinalNumber(e,{unit:"quarter"});case"qqq":return n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(e,{width:"narrow",context:"standalone"});default:return n.quarter(e,{width:"wide",context:"standalone"})||n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=1&&t<=4}set(e,t,n){return e.setMonth(3*(n-1),1),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]},M:new class extends iu{incompatibleTokens=["Y","R","q","Q","L","w","I","D","i","e","c","t","T"];priority=110;parse(e,t,n){const a=e=>e-1;switch(t){case"M":return Nu(Mu(ou,e),a);case"MM":return Nu(Iu(2,e),a);case"Mo":return Nu(n.ordinalNumber(e,{unit:"month"}),a);case"MMM":return n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(e,{width:"narrow",context:"formatting"});default:return n.month(e,{width:"wide",context:"formatting"})||n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.setMonth(n,1),e.setHours(0,0,0,0),e}},L:new class extends iu{priority=110;parse(e,t,n){const a=e=>e-1;switch(t){case"L":return Nu(Mu(ou,e),a);case"LL":return Nu(Iu(2,e),a);case"Lo":return Nu(n.ordinalNumber(e,{unit:"month"}),a);case"LLL":return n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(e,{width:"narrow",context:"standalone"});default:return n.month(e,{width:"wide",context:"standalone"})||n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.setMonth(n,1),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]},w:new class extends iu{priority=100;parse(e,t,n){switch(t){case"w":return Mu(uu,e);case"wo":return n.ordinalNumber(e,{unit:"week"});default:return Iu(t.length,e)}}validate(e,t){return t>=1&&t<=53}set(e,t,n,a){return Xs(function(e,t,n){const a=Gs(e,n?.in),r=Ec(a,n)-t;return a.setDate(a.getDate()-7*r),Gs(a,n?.in)}(e,n,a),a)}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","i","t","T"]},I:new class extends iu{priority=100;parse(e,t,n){switch(t){case"I":return Mu(uu,e);case"Io":return n.ordinalNumber(e,{unit:"week"});default:return Iu(t.length,e)}}validate(e,t){return t>=1&&t<=53}set(e,t,n){return Zs(function(e,t,n){const a=Gs(e,n?.in),r=xc(a,n)-t;return a.setDate(a.getDate()-7*r),a}(e,n))}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]},d:new class extends iu{priority=90;subPriority=1;parse(e,t,n){switch(t){case"d":return Mu(su,e);case"do":return n.ordinalNumber(e,{unit:"date"});default:return Iu(t.length,e)}}validate(e,t){const n=zu(e.getFullYear()),a=e.getMonth();return n?t>=1&&t<=qu[a]:t>=1&&t<=Lu[a]}set(e,t,n){return e.setDate(n),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","Q","w","I","D","i","e","c","t","T"]},D:new class extends iu{priority=90;subpriority=1;parse(e,t,n){switch(t){case"D":case"DD":return Mu(cu,e);case"Do":return n.ordinalNumber(e,{unit:"date"});default:return Iu(t.length,e)}}validate(e,t){return zu(e.getFullYear())?t>=1&&t<=366:t>=1&&t<=365}set(e,t,n){return e.setMonth(0,n),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]},E:new class extends iu{priority=90;parse(e,t,n){switch(t){case"E":case"EE":case"EEE":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,a){return(e=$u(e,n,a)).setHours(0,0,0,0),e}incompatibleTokens=["D","i","e","c","t","T"]},e:new class extends iu{priority=90;parse(e,t,n,a){const r=e=>{const t=7*Math.floor((e-1)/7);return(e+a.weekStartsOn+6)%7+t};switch(t){case"e":case"ee":return Nu(Iu(t.length,e),r);case"eo":return Nu(n.ordinalNumber(e,{unit:"day"}),r);case"eee":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"eeeee":return n.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,a){return(e=$u(e,n,a)).setHours(0,0,0,0),e}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]},c:new class extends iu{priority=90;parse(e,t,n,a){const r=e=>{const t=7*Math.floor((e-1)/7);return(e+a.weekStartsOn+6)%7+t};switch(t){case"c":case"cc":return Nu(Iu(t.length,e),r);case"co":return Nu(n.ordinalNumber(e,{unit:"day"}),r);case"ccc":return n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});case"ccccc":return n.day(e,{width:"narrow",context:"standalone"});case"cccccc":return n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});default:return n.day(e,{width:"wide",context:"standalone"})||n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,a){return(e=$u(e,n,a)).setHours(0,0,0,0),e}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]},i:new class extends iu{priority=90;parse(e,t,n){const a=e=>0===e?7:e;switch(t){case"i":case"ii":return Iu(t.length,e);case"io":return n.ordinalNumber(e,{unit:"day"});case"iii":return Nu(n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),a);case"iiiii":return Nu(n.day(e,{width:"narrow",context:"formatting"}),a);case"iiiiii":return Nu(n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),a);default:return Nu(n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),a)}}validate(e,t){return t>=1&&t<=7}set(e,t,n){return(e=Bu(e,n)).setHours(0,0,0,0),e}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]},a:new class extends iu{priority=80;parse(e,t,n){switch(t){case"a":case"aa":case"aaa":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours(Fu(n),0,0,0),e}incompatibleTokens=["b","B","H","k","t","T"]},b:new class extends iu{priority=80;parse(e,t,n){switch(t){case"b":case"bb":case"bbb":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours(Fu(n),0,0,0),e}incompatibleTokens=["a","B","H","k","t","T"]},B:new class extends iu{priority=80;parse(e,t,n){switch(t){case"B":case"BB":case"BBB":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours(Fu(n),0,0,0),e}incompatibleTokens=["a","b","t","T"]},h:new class extends iu{priority=70;parse(e,t,n){switch(t){case"h":return Mu(hu,e);case"ho":return n.ordinalNumber(e,{unit:"hour"});default:return Iu(t.length,e)}}validate(e,t){return t>=1&&t<=12}set(e,t,n){const a=e.getHours()>=12;return a&&n<12?e.setHours(n+12,0,0,0):a||12!==n?e.setHours(n,0,0,0):e.setHours(0,0,0,0),e}incompatibleTokens=["H","K","k","t","T"]},H:new class extends iu{priority=70;parse(e,t,n){switch(t){case"H":return Mu(lu,e);case"Ho":return n.ordinalNumber(e,{unit:"hour"});default:return Iu(t.length,e)}}validate(e,t){return t>=0&&t<=23}set(e,t,n){return e.setHours(n,0,0,0),e}incompatibleTokens=["a","b","h","K","k","t","T"]},K:new class extends iu{priority=70;parse(e,t,n){switch(t){case"K":return Mu(pu,e);case"Ko":return n.ordinalNumber(e,{unit:"hour"});default:return Iu(t.length,e)}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.getHours()>=12&&n<12?e.setHours(n+12,0,0,0):e.setHours(n,0,0,0),e}incompatibleTokens=["h","H","k","t","T"]},k:new class extends iu{priority=70;parse(e,t,n){switch(t){case"k":return Mu(du,e);case"ko":return n.ordinalNumber(e,{unit:"hour"});default:return Iu(t.length,e)}}validate(e,t){return t>=1&&t<=24}set(e,t,n){const a=n<=24?n%24:n;return e.setHours(a,0,0,0),e}incompatibleTokens=["a","b","h","H","K","t","T"]},m:new class extends iu{priority=60;parse(e,t,n){switch(t){case"m":return Mu(mu,e);case"mo":return n.ordinalNumber(e,{unit:"minute"});default:return Iu(t.length,e)}}validate(e,t){return t>=0&&t<=59}set(e,t,n){return e.setMinutes(n,0,0),e}incompatibleTokens=["t","T"]},s:new class extends iu{priority=50;parse(e,t,n){switch(t){case"s":return Mu(fu,e);case"so":return n.ordinalNumber(e,{unit:"second"});default:return Iu(t.length,e)}}validate(e,t){return t>=0&&t<=59}set(e,t,n){return e.setSeconds(n,0),e}incompatibleTokens=["t","T"]},S:new class extends iu{priority=30;parse(e,t){return Nu(Iu(t.length,e),e=>Math.trunc(e*Math.pow(10,3-t.length)))}set(e,t,n){return e.setMilliseconds(n),e}incompatibleTokens=["t","T"]},X:new class extends iu{priority=10;parse(e,t){switch(t){case"X":return Du(Eu,e);case"XX":return Du(ju,e);case"XXXX":return Du(Tu,e);case"XXXXX":return Du(Cu,e);default:return Du(Ou,e)}}set(e,t,n){return t.timestampIsSet?e:Qs(e,e.getTime()-tc(e)-n)}incompatibleTokens=["t","T","x"]},x:new class extends iu{priority=10;parse(e,t){switch(t){case"x":return Du(Eu,e);case"xx":return Du(ju,e);case"xxxx":return Du(Tu,e);case"xxxxx":return Du(Cu,e);default:return Du(Ou,e)}}set(e,t,n){return t.timestampIsSet?e:Qs(e,e.getTime()-tc(e)-n)}incompatibleTokens=["t","T","X"]},t:new class extends iu{priority=40;parse(e){return Au(e)}set(e,t,n){return[Qs(e,1e3*n),{timestampIsSet:!0}]}incompatibleTokens="*"},T:new class extends iu{priority=20;parse(e){return Au(e)}set(e,t,n){return[Qs(e,n),{timestampIsSet:!0}]}incompatibleTokens="*"}},Uu=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Wu=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Qu=/^'([^]*?)'?$/,Gu=/''/g,Hu=/\S/,Ku=/[a-zA-Z]/;function Yu(e,t,n,a){const r=()=>Qs(n,NaN),i=Object.assign({},Js()),o=i.locale??kc,s={firstWeekContainsDate:i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,weekStartsOn:i.weekStartsOn??i.locale?.options?.weekStartsOn??0,locale:o},c=[new ru(a?.in,n)],u=t.match(Wu).map(e=>{const t=e[0];if(t in qc){return(0,qc[t])(e,o.formatLong)}return e}).join("").match(Uu),l=[];for(let m of u){Wc(m)&&Qc(m,t,e),Uc(m)&&Qc(m,t,e);const n=m[0],a=Vu[n];if(a){const{incompatibleTokens:t}=a;if(Array.isArray(t)){const e=l.find(e=>t.includes(e.token)||e.token===n);if(e)throw new RangeError(`The format string mustn't contain \`${e.fullToken}\` and \`${m}\` at the same time`)}else if("*"===a.incompatibleTokens&&l.length>0)throw new RangeError(`The format string mustn't contain \`${m}\` and any other token at the same time`);l.push({token:n,fullToken:m});const i=a.run(e,m,o.match,s);if(!i)return r();c.push(i.setter),e=i.rest}else{if(n.match(Ku))throw new RangeError("Format string contains an unescaped latin alphabet character `"+n+"`");if("''"===m?m="'":"'"===n&&(m=Ju(m)),0!==e.indexOf(m))return r();e=e.slice(m.length)}}if(e.length>0&&Hu.test(e))return r();const d=c.map(e=>e.priority).sort((e,t)=>t-e).filter((e,t,n)=>n.indexOf(e)===t).map(e=>c.filter(t=>t.priority===e).sort((e,t)=>t.subPriority-e.subPriority)).map(e=>e[0]);let p=Gs(n,a?.in);if(isNaN(+p))return r();const h={};for(const m of d){if(!m.validate(p,s))return r();const e=m.set(p,h,s);Array.isArray(e)?(p=e[0],Object.assign(h,e[1])):p=e}return p}function Ju(e){return e.match(Qu)[1].replace(Gu,"'")}function Xu(e,t,n){const[a,r]=nc(n?.in,e,t);return+Xs(a,n)===+Xs(r,n)}function Zu(e,t,n){return Hs(e,-1,n)}function el(e,t,n){return function(e,t,n){return Ks(e,12*t,n)}(e,-18,n)}function tl({result:e,options:t}){let n=t||{};return l.jsx("a",{className:"bukazu-result bu_card",href:e.house_url,children:l.jsxs("div",{className:"bukazu-result-inner",children:[l.jsx("div",{className:"image-holder",children:l.jsx("img",{src:e.image_url,alt:e.name})}),l.jsxs("div",{className:"result",children:[l.jsx("div",{className:"result-title",children:e.name}),l.jsxs("div",{className:"result-place",children:[n.showCity&&l.jsxs("span",{children:[e.city,", "]}),n.showRegion&&l.jsxs("span",{children:[e.province,", "]}),n.showCountry&&l.jsx("span",{children:e.country_name})]}),l.jsx("div",{className:"result-description",dangerouslySetInnerHTML:{__html:e.description}}),l.jsxs("div",{className:"result-details",children:[n.showPersons&&l.jsxs("div",{children:[e.persons," ",$s("persons")]}),n.showBedrooms&&l.jsxs("div",{children:[e.bedrooms," ",$s("bedrooms")]}),n.showBathrooms&&l.jsxs("div",{children:[e.bathrooms," ",$s("bathrooms")]})]}),n.showRating&&e.rating&&l.jsx("div",{className:"result-rating bu_card",children:l.jsx("div",{className:"result-rating-inner",children:e.rating.toFixed(1)})}),n.showPrice&&l.jsx("div",{className:"result-price",children:e.booking_price?l.jsxs(l.Fragment,{children:[$s("price_from"),l.jsxs("span",{className:"price",children:["€"," ",Bs(e.booking_price.total_price,{minimumFractionDigits:0,maximumFractionDigits:0})]})]}):l.jsxs(l.Fragment,{children:[$s("minimum_week_price"),l.jsxs("span",{className:"price",children:["€"," ",Bs(e.minimum_week_price,{minimumFractionDigits:0,maximumFractionDigits:0})]})]})}),l.jsx("div",{className:"result-button",children:$s("view_details")})]})]})})}function nl({onPageChange:e,variables:t,activePage:n,limit:a}){const{loading:r,error:i,data:o}=ts(ws,{variables:t});if(r)return l.jsx("div",{style:{width:"100%",display:"flex",justifyContent:"center"},children:l.jsx(d,{})});if(i)return l.jsx("div",{children:"Error"});const s=o.PortalSite.houses,c=a>0?Math.ceil(s.length/a):0,u=function(e,t){if(t<=7)return Array.from({length:t},(e,t)=>t);const n=Math.floor(2.5);let a=Math.max(1,e-n),r=a+5-1;r>=t-1&&(r=t-2,a=r-5+1);const i=[0];a>1&&i.push("...");for(let o=a;o<=r;o++)i.push(o);return r<t-2&&i.push("..."),i.push(t-1),i}(n,c);return l.jsxs("div",{className:"bu-paginator",children:[l.jsxs("div",{children:[s.length," ",$s("results")]}),c>1&&l.jsxs("ul",{className:"bu-pagination",children:[l.jsx("li",{className:0===n?"disabled":"",children:l.jsx("button",{disabled:0===n,onClick:()=>e(n-1),"aria-label":$s("previous"),children:"<"})}),u.map((t,a)=>"..."===t?l.jsx("li",{children:l.jsx("span",{"aria-label":"More pages",children:"..."})},`break-${a}`):l.jsx("li",{className:t===n?"selected":"",children:l.jsx("button",{"data-page-button":!0,onClick:()=>e(t),"aria-current":t===n?"page":void 0,children:t+1})},t)),l.jsx("li",{className:n===c-1?"disabled":"",children:l.jsx("button",{disabled:n===c-1,onClick:()=>e(n+1),"aria-label":$s("next"),children:">"})})]})]})}function al({children:t,buttonText:n,show:a=!1}){const[r,i]=e.useState(a);return r?l.jsx("div",{className:"bukazu-modal-container",children:l.jsxs("div",{className:"bukazu-modal-container-inner",children:[l.jsx("div",{className:"bukazu-modal-escape",onClick:()=>i(!1)}),l.jsxs("div",{className:"bukazu-modal",children:[l.jsx("div",{className:"bukazu-modal-content",children:t}),l.jsx("div",{className:"bukazu-modal-footer",children:l.jsx("a",{onClick:()=>i(!1),children:$s("close")})})]})]})}):l.jsx("a",{className:"info-button",onClick:()=>i(!0),children:n})}const rl="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,il=globalThis,ol="10.45.0";function sl(){return cl(il),il}function cl(e){const t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||ol,t[ol]=t[ol]||{}}function ul(e,t,n=il){const a=n.__SENTRY__=n.__SENTRY__||{},r=a[ol]=a[ol]||{};return r[e]||(r[e]=t())}const ll=["debug","info","warn","error","log","assert","trace"],dl={};function pl(e){if(!("console"in il))return e();const t=il.console,n={},a=Object.keys(dl);a.forEach(e=>{const a=dl[e];n[e]=t[e],t[e]=a});try{return e()}finally{a.forEach(e=>{t[e]=n[e]})}}function hl(){return fl().enabled}function ml(e,...t){rl&&hl()&&pl(()=>{il.console[e](`Sentry Logger [${e}]:`,...t)})}function fl(){return rl?ul("loggerSettings",()=>({enabled:!1})):{enabled:!1}}const vl={enable:function(){fl().enabled=!0},disable:function(){fl().enabled=!1},isEnabled:hl,log:function(...e){ml("log",...e)},warn:function(...e){ml("warn",...e)},error:function(...e){ml("error",...e)}},_l="?",gl=/\(error: (.*)\)/,yl=/captureMessage|captureException/;function bl(...e){const t=e.sort((e,t)=>e[0]-t[0]).map(e=>e[1]);return(e,n=0,a=0)=>{const r=[],i=e.split("\n");for(let o=n;o<i.length;o++){let e=i[o];e.length>1024&&(e=e.slice(0,1024));const n=gl.test(e)?e.replace(gl,"$1"):e;if(!n.match(/\S*Error: /)){for(const e of t){const t=e(n);if(t){r.push(t);break}}if(r.length>=50+a)break}}return function(e){if(!e.length)return[];const t=Array.from(e);/sentryWrapped/.test(kl(t).function||"")&&t.pop();t.reverse(),yl.test(kl(t).function||"")&&(t.pop(),yl.test(kl(t).function||"")&&t.pop());return t.slice(0,50).map(e=>({...e,filename:e.filename||kl(t).filename,function:e.function||_l}))}(r.slice(a))}}function kl(e){return e[e.length-1]||{}}const wl="<anonymous>";function xl(e){try{return e&&"function"==typeof e&&e.name||wl}catch{return wl}}function Sl(e){const t=e.exception;if(t){const e=[];try{return t.values.forEach(t=>{t.stacktrace.frames&&e.push(...t.stacktrace.frames)}),e}catch{return}}}function El(e){return"__v_isVNode"in e&&e.__v_isVNode?"[VueVNode]":"[VueViewModel]"}const jl={},Tl={};function Ol(e,t){jl[e]=jl[e]||[],jl[e].push(t)}function Cl(e,t){if(!Tl[e]){Tl[e]=!0;try{t()}catch(n){rl&&vl.error(`Error while instrumenting ${e}`,n)}}}function Nl(e,t){const n=e&&jl[e];if(n)for(const r of n)try{r(t)}catch(a){rl&&vl.error(`Error while triggering instrumentation handler.\nType: ${e}\nName: ${xl(r)}\nError:`,a)}}let Ml=null;function Dl(){Ml=il.onerror,il.onerror=function(e,t,n,a,r){return Nl("error",{column:a,error:r,line:n,msg:e,url:t}),!!Ml&&Ml.apply(this,arguments)},il.onerror.__SENTRY_INSTRUMENTED__=!0}let Al=null;function Il(){Al=il.onunhandledrejection,il.onunhandledrejection=function(e){return Nl("unhandledrejection",e),!Al||Al.apply(this,arguments)},il.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}const Pl=Object.prototype.toString;function Fl(e){switch(Pl.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return Ql(e,Error)}}function Rl(e,t){return Pl.call(e)===`[object ${t}]`}function zl(e){return Rl(e,"ErrorEvent")}function Ll(e){return Rl(e,"DOMError")}function ql(e){return Rl(e,"String")}function $l(e){return"object"==typeof e&&null!==e&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function Bl(e){return null===e||$l(e)||"object"!=typeof e&&"function"!=typeof e}function Vl(e){return Rl(e,"Object")}function Ul(e){return"undefined"!=typeof Event&&Ql(e,Event)}function Wl(e){return Boolean(e?.then&&"function"==typeof e.then)}function Ql(e,t){try{return e instanceof t}catch{return!1}}function Gl(e){return!("object"!=typeof e||null===e||!(e.__isVue||e._isVue||e.__v_isVNode))}function Hl(e){return"undefined"!=typeof Request&&Ql(e,Request)}const Kl=il;function Yl(e,t={}){if(!e)return"<unknown>";try{let n=e;const a=5,r=[];let i=0,o=0;const s=" > ",c=s.length;let u;const l=Array.isArray(t)?t:t.keyAttrs,d=!Array.isArray(t)&&t.maxStringLength||80;for(;n&&i++<a&&(u=Jl(n,l),!("html"===u||i>1&&o+r.length*c+u.length>=d));)r.push(u),o+=u.length,n=n.parentNode;return r.reverse().join(s)}catch{return"<unknown>"}}function Jl(e,t){const n=e,a=[];if(!n?.tagName)return"";if(Kl.HTMLElement&&n instanceof HTMLElement&&n.dataset){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}a.push(n.tagName.toLowerCase());const r=t?.length?t.filter(e=>n.getAttribute(e)).map(e=>[e,n.getAttribute(e)]):null;if(r?.length)r.forEach(e=>{a.push(`[${e[0]}="${e[1]}"]`)});else{n.id&&a.push(`#${n.id}`);const e=n.className;if(e&&ql(e)){const t=e.split(/\s+/);for(const e of t)a.push(`.${e}`)}}for(const i of["aria-label","type","name","title","alt"]){const e=n.getAttribute(i);e&&a.push(`[${i}="${e}"]`)}return a.join("")}function Xl(){try{return Kl.document.location.href}catch{return""}}function Zl(e,t,n){if(!(t in e))return;const a=e[t];if("function"!=typeof a)return;const r=n(a);"function"==typeof r&&td(r,a);try{e[t]=r}catch{rl&&vl.log(`Failed to replace method "${t}" in object`,e)}}function ed(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch{rl&&vl.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function td(e,t){try{const n=t.prototype||{};e.prototype=t.prototype=n,ed(e,"__sentry_original__",t)}catch{}}function nd(e){return e.__sentry_original__}function ad(e){if(Fl(e))return{message:e.message,name:e.name,stack:e.stack,...id(e)};if(Ul(e)){const t={type:e.type,target:rd(e.target),currentTarget:rd(e.currentTarget),...id(e)};return"undefined"!=typeof CustomEvent&&Ql(e,CustomEvent)&&(t.detail=e.detail),t}return e}function rd(e){try{return t=e,"undefined"!=typeof Element&&Ql(t,Element)?Yl(e):Object.prototype.toString.call(e)}catch{return"<unknown>"}var t}function id(e){return"object"==typeof e&&null!==e?Object.fromEntries(Object.entries(e)):{}}let od,sd;function cd(e){if(void 0!==od)return od?od(e):e();const t=Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__"),n=il;return t in n&&"function"==typeof n[t]?(od=n[t],od(e)):(od=null,e())}function ud(){return cd(()=>Math.random())}function ld(){return cd(()=>Date.now())}function dd(e,t=0){return"string"!=typeof e||0===t||e.length<=t?e:`${e.slice(0,t)}...`}function pd(e,t){if(!Array.isArray(e))return"";const n=[];for(let a=0;a<e.length;a++){const t=e[a];try{Gl(t)?n.push(El(t)):n.push(String(t))}catch{n.push("[value cannot be serialized]")}}return n.join(t)}function hd(e,t,n=!1){return!!ql(e)&&(Rl(t,"RegExp")?t.test(e):!!ql(t)&&(n?e===t:e.includes(t)))}function md(e,t=[],n=!1){return t.some(t=>hd(e,t,n))}function fd(e=function(){const e=il;return e.crypto||e.msCrypto}()){try{if(e?.randomUUID)return cd(()=>e.randomUUID()).replace(/-/g,"")}catch{}return sd||(sd="10000000100040008000100000000000"),sd.replace(/[018]/g,e=>(e^(16*ud()&15)>>e/4).toString(16))}function vd(e){return e.exception?.values?.[0]}function _d(e){const{message:t,event_id:n}=e;if(t)return t;const a=vd(e);return a?a.type&&a.value?`${a.type}: ${a.value}`:a.type||a.value||n||"<unknown>":n||"<unknown>"}function gd(e,t,n){const a=e.exception=e.exception||{},r=a.values=a.values||[],i=r[0]=r[0]||{};i.value||(i.value=t||""),i.type||(i.type="Error")}function yd(e,t){const n=vd(e);if(!n)return;const a=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...a,...t},t&&"data"in t){const e={...a?.data,...t.data};n.mechanism.data=e}}function bd(e){if(function(e){try{return e.__sentry_captured__}catch{}}(e))return!0;try{ed(e,"__sentry_captured__",!0)}catch{}return!1}function kd(){return ld()/1e3}let wd;function xd(){return(wd??(wd=function(){const{performance:e}=il;if(!e?.now||!e.timeOrigin)return kd;const t=e.timeOrigin;return()=>(t+cd(()=>e.now()))/1e3}()))()}function Sd(e){const t=xd(),n={sid:fd(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function(e){return{sid:`${e.sid}`,init:e.init,started:new Date(1e3*e.started).toISOString(),timestamp:new Date(1e3*e.timestamp).toISOString(),status:e.status,errors:e.errors,did:"number"==typeof e.did||"string"==typeof e.did?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}}}(n)};return e&&Ed(n,e),n}function Ed(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),e.did||t.did||(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||xd(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:fd()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),"number"==typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"==typeof t.duration)e.duration=t.duration;else{const t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"==typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}function jd(e,t,n=2){if(!t||"object"!=typeof t||n<=0)return t;if(e&&0===Object.keys(t).length)return e;const a={...e};for(const r in t)Object.prototype.hasOwnProperty.call(t,r)&&(a[r]=jd(a[r],t[r],n-1));return a}function Td(){return fd()}function Od(){return fd().substring(16)}const Cd="_sentrySpan";function Nd(e,t){t?ed(e,Cd,t):delete e[Cd]}function Md(e){return e[Cd]}class Dd{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._attributes={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:Td(),sampleRand:ud()}}clone(){const e=new Dd;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._attributes={...this._attributes},e._extra={...this._extra},e._contexts={...this._contexts},this._contexts.flags&&(e._contexts.flags={values:[...this._contexts.flags.values]}),e._user=this._user,e._level=this._level,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e._lastEventId=this._lastEventId,e._conversationId=this._conversationId,Nd(e,Md(this)),e}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&Ed(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}setConversationId(e){return this._conversationId=e||void 0,this._notifyScopeListeners(),this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this.setTags({[e]:t})}setAttributes(e){return this._attributes={...this._attributes,...e},this._notifyScopeListeners(),this}setAttribute(e,t){return this.setAttributes({[e]:t})}removeAttribute(e){return e in this._attributes&&(delete this._attributes[e],this._notifyScopeListeners()),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return null===t?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;const t="function"==typeof e?e(this):e,n=t instanceof Dd?t.getScopeData():Vl(t)?e:void 0,{tags:a,attributes:r,extra:i,user:o,contexts:s,level:c,fingerprint:u=[],propagationContext:l,conversationId:d}=n||{};return this._tags={...this._tags,...a},this._attributes={...this._attributes,...r},this._extra={...this._extra,...i},this._contexts={...this._contexts,...s},o&&Object.keys(o).length&&(this._user=o),c&&(this._level=c),u.length&&(this._fingerprint=u),l&&(this._propagationContext=l),d&&(this._conversationId=d),this}clear(){return this._breadcrumbs=[],this._tags={},this._attributes={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,this._conversationId=void 0,Nd(this,void 0),this._attachments=[],this.setPropagationContext({traceId:Td(),sampleRand:ud()}),this._notifyScopeListeners(),this}addBreadcrumb(e,t){const n="number"==typeof t?t:100;if(n<=0)return this;const a={timestamp:kd(),...e,message:e.message?dd(e.message,2048):e.message};return this._breadcrumbs.push(a),this._breadcrumbs.length>n&&(this._breadcrumbs=this._breadcrumbs.slice(-n),this._client?.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,attributes:this._attributes,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:Md(this),conversationId:this._conversationId}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata=jd(this._sdkProcessingMetadata,e,2),this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,t){const n=t?.event_id||fd();if(!this._client)return rl&&vl.warn("No client configured on scope - will not capture exception!"),n;const a=new Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:a,...t,event_id:n},this),n}captureMessage(e,t,n){const a=n?.event_id||fd();if(!this._client)return rl&&vl.warn("No client configured on scope - will not capture message!"),a;const r=n?.syntheticException??new Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:r,...n,event_id:a},this),a}captureEvent(e,t){const n=e.event_id||t?.event_id||fd();return this._client?(this._client.captureEvent(e,{...t,event_id:n},this),n):(rl&&vl.warn("No client configured on scope - will not capture event!"),n)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(e=>{e(this)}),this._notifyingListeners=!1)}}class Ad{constructor(e,t){let n,a;n=e||new Dd,a=t||new Dd,this._stack=[{scope:n}],this._isolationScope=a}withScope(e){const t=this._pushScope();let n;try{n=e(t)}catch(a){throw this._popScope(),a}return Wl(n)?n.then(e=>(this._popScope(),e),e=>{throw this._popScope(),e}):(this._popScope(),n)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const e=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:e}),e}_popScope(){return!(this._stack.length<=1)&&!!this._stack.pop()}}function Id(){const e=cl(sl());return e.stack=e.stack||new Ad(ul("defaultCurrentScope",()=>new Dd),ul("defaultIsolationScope",()=>new Dd))}function Pd(e){return Id().withScope(e)}function Fd(e,t){const n=Id();return n.withScope(()=>(n.getStackTop().scope=e,t(e)))}function Rd(e){return Id().withScope(()=>e(Id().getIsolationScope()))}function zd(e){const t=cl(e);return t.acs?t.acs:{withIsolationScope:Rd,withScope:Pd,withSetScope:Fd,withSetIsolationScope:(e,t)=>Rd(t),getCurrentScope:()=>Id().getScope(),getIsolationScope:()=>Id().getIsolationScope()}}function Ld(){return zd(sl()).getCurrentScope()}function qd(){return zd(sl()).getIsolationScope()}function $d(){return Ld().getClient()}function Bd(e){const t=e.getPropagationContext(),{traceId:n,parentSpanId:a,propagationSpanId:r}=t,i={trace_id:n,span_id:r||Od()};return a&&(i.parent_span_id=a),i}const Vd="sentry.profile_id",Ud="sentry.exclusive_time";function Wd(e){if(e){if("object"==typeof e&&"deref"in e&&"function"==typeof e.deref)try{return e.deref()}catch{return}return e}}function Qd(e){const t=e;return{scope:t._sentryScope,isolationScope:Wd(t._sentryIsolationScope)}}const Gd="sentry-";function Hd(e){const t=function(e){if(!e||!ql(e)&&!Array.isArray(e))return;if(Array.isArray(e))return e.reduce((e,t)=>{const n=Kd(t);return Object.entries(n).forEach(([t,n])=>{e[t]=n}),e},{});return Kd(e)}(e);if(!t)return;const n=Object.entries(t).reduce((e,[t,n])=>{if(t.startsWith(Gd)){e[t.slice(7)]=n}return e},{});return Object.keys(n).length>0?n:void 0}function Kd(e){return e.split(",").map(e=>{const t=e.indexOf("=");if(-1===t)return[];return[e.slice(0,t),e.slice(t+1)].map(e=>{try{return decodeURIComponent(e.trim())}catch{return}})}).reduce((e,[t,n])=>(t&&n&&(e[t]=n),e),{})}const Yd=/^o(\d+)\./,Jd=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function Xd(e,t=!1){const{host:n,path:a,pass:r,port:i,projectId:o,protocol:s,publicKey:c}=e;return`${s}://${c}${t&&r?`:${r}`:""}@${n}${i?`:${i}`:""}/${a?`${a}/`:a}${o}`}function Zd(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function ep(e){const t=e.getOptions(),{host:n}=e.getDsn()||{};let a;return t.orgId?a=String(t.orgId):n&&(a=function(e){const t=e.match(Yd);return t?.[1]}(n)),a}function tp(e){const t="string"==typeof e?function(e){const t=Jd.exec(e);if(!t)return void pl(()=>{});const[n,a,r="",i="",o="",s=""]=t.slice(1);let c="",u=s;const l=u.split("/");if(l.length>1&&(c=l.slice(0,-1).join("/"),u=l.pop()),u){const e=u.match(/^\d+/);e&&(u=e[0])}return Zd({host:i,pass:r,path:c,projectId:u,port:o,protocol:n,publicKey:a})}(e):Zd(e);if(t&&function(e){if(!rl)return!0;const{port:t,projectId:n,protocol:a}=e;return!(["protocol","publicKey","host","projectId"].find(t=>!e[t]&&(vl.error(`Invalid Sentry Dsn: ${t} missing`),!0))||(n.match(/^\d+$/)?function(e){return"http"===e||"https"===e}(a)?t&&isNaN(parseInt(t,10))&&(vl.error(`Invalid Sentry Dsn: Invalid port ${t}`),1):(vl.error(`Invalid Sentry Dsn: Invalid protocol ${a}`),1):(vl.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),1)))}(t))return t}let np=!1;function ap(e){const{spanId:t,traceId:n,isRemote:a}=e.spanContext(),r=a?t:sp(e).parent_span_id,i=Qd(e).scope;return{parent_span_id:r,span_id:a?i?.getPropagationContext().propagationSpanId||Od():t,trace_id:n}}function rp(e){return e&&e.length>0?e.map(({context:{spanId:e,traceId:t,traceFlags:n,...a},attributes:r})=>({span_id:e,trace_id:t,sampled:1===n,attributes:r,...a})):void 0}function ip(e){return"number"==typeof e?op(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?op(e.getTime()):xd()}function op(e){return e>9999999999?e/1e3:e}function sp(e){if(function(e){return"function"==typeof e.getSpanJSON}(e))return e.getSpanJSON();const{spanId:t,traceId:n}=e.spanContext();if(function(e){const t=e;return!!(t.attributes&&t.startTime&&t.name&&t.endTime&&t.status)}(e)){const{attributes:a,startTime:r,name:i,endTime:o,status:s,links:c}=e;return{span_id:t,trace_id:n,data:a,description:i,parent_span_id:"parentSpanId"in e?e.parentSpanId:"parentSpanContext"in e?e.parentSpanContext?.spanId:void 0,start_timestamp:ip(r),timestamp:ip(o)||void 0,status:cp(s),op:a["sentry.op"],origin:a["sentry.origin"],links:rp(c)}}return{span_id:t,trace_id:n,start_timestamp:0,data:{}}}function cp(e){if(e&&0!==e.code)return 1===e.code?"ok":e.message||"internal_error"}function up(e){return e._sentryRootSpan||e}function lp(){np||(pl(()=>{}),np=!0)}function dp(e){vl.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`)}function pp(e,t){if(!t?.length||!e.description)return!1;for(const n of t){if(mp(n)){if(hd(e.description,n))return rl&&dp(e),!0;continue}if(!n.name&&!n.op)continue;const t=!n.name||hd(e.description,n.name),a=!n.op||e.op&&hd(e.op,n.op);if(t&&a)return rl&&dp(e),!0}return!1}function hp(e,t){const n=t.parent_span_id,a=t.span_id;if(n)for(const r of e)r.parent_span_id===a&&(r.parent_span_id=n)}function mp(e){return"string"==typeof e||e instanceof RegExp}const fp="production";function vp(e,t){const n=t.getOptions(),{publicKey:a}=t.getDsn()||{},r={environment:n.environment||fp,release:n.release,public_key:a,trace_id:e,org_id:ep(t)};return t.emit("createDsc",r),r}function _p(e){const t=$d();if(!t)return{};const n=up(e),a=sp(n),r=a.data,i=n.spanContext().traceState,o=i?.get("sentry.sample_rate")??r["sentry.sample_rate"]??r["sentry.previous_trace_sample_rate"];function s(e){return"number"!=typeof o&&"string"!=typeof o||(e.sample_rate=`${o}`),e}const c=n._frozenDsc;if(c)return s(c);const u=i?.get("sentry.dsc"),l=u&&Hd(u);if(l)return s(l);const d=vp(e.spanContext().traceId,t),p=r["sentry.source"],h=a.description;return"url"!==p&&h&&(d.transaction=h),function(){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;const e=$d()?.getOptions();return!(!e||null==e.tracesSampleRate&&!e.tracesSampler)}()&&(d.sampled=String(function(e){const{traceFlags:t}=e.spanContext();return 1===t}(n)),d.sample_rand=i?.get("sentry.sample_rand")??Qd(n).scope?.getPropagationContext().sampleRand.toString()),s(d),t.emit("createDsc",d,n),d}function gp(e,t=100,n=1/0){try{return bp("",e,t,n)}catch(a){return{ERROR:`**non-serializable** (${a})`}}}function yp(e,t=3,n=102400){const a=gp(e,t);return r=a,function(e){return~-encodeURI(e).split(/%..|./).length}(JSON.stringify(r))>n?yp(e,t-1,n):a;var r}function bp(e,t,n=1/0,a=1/0,r=function(){const e=new WeakSet;function t(t){return!!e.has(t)||(e.add(t),!1)}function n(t){e.delete(t)}return[t,n]}()){const[i,o]=r;if(null==t||["boolean","string"].includes(typeof t)||"number"==typeof t&&Number.isFinite(t))return t;const s=function(e,t){try{if("domain"===e&&t&&"object"==typeof t&&t._events)return"[Domain]";if("domainEmitter"===e)return"[DomainEmitter]";if("undefined"!=typeof global&&t===global)return"[Global]";if("undefined"!=typeof window&&t===window)return"[Window]";if("undefined"!=typeof document&&t===document)return"[Document]";if(Gl(t))return El(t);if(Vl(n=t)&&"nativeEvent"in n&&"preventDefault"in n&&"stopPropagation"in n)return"[SyntheticEvent]";if("number"==typeof t&&!Number.isFinite(t))return`[${t}]`;if("function"==typeof t)return`[Function: ${xl(t)}]`;if("symbol"==typeof t)return`[${String(t)}]`;if("bigint"==typeof t)return`[BigInt: ${String(t)}]`;const a=function(e){const t=Object.getPrototypeOf(e);return t?.constructor?t.constructor.name:"null prototype"}(t);return/^HTML(\w*)Element$/.test(a)?`[HTMLElement: ${a}]`:`[object ${a}]`}catch(a){return`**non-serializable** (${a})`}var n}(e,t);if(!s.startsWith("[object "))return s;if(t.__sentry_skip_normalization__)return t;const c="number"==typeof t.__sentry_override_normalization_depth__?t.__sentry_override_normalization_depth__:n;if(0===c)return s.replace("object ","");if(i(t))return"[Circular ~]";const u=t;if(u&&"function"==typeof u.toJSON)try{return bp("",u.toJSON(),c-1,a,r)}catch{}const l=Array.isArray(t)?[]:{};let d=0;const p=ad(t);for(const h in p){if(!Object.prototype.hasOwnProperty.call(p,h))continue;if(d>=a){l[h]="[MaxProperties ~]";break}const e=p[h];l[h]=bp(h,e,c-1,a,r),d++}return o(t),l}function kp(e,t=[]){return[e,t]}function wp(e,t){const[n,a]=e;return[n,[...a,t]]}function xp(e,t){const n=e[1];for(const a of n){if(t(a,a[0].type))return!0}return!1}function Sp(e){const t=cl(il);return t.encodePolyfill?t.encodePolyfill(e):(new TextEncoder).encode(e)}function Ep(e){const[t,n]=e;let a=JSON.stringify(t);function r(e){"string"==typeof a?a="string"==typeof e?a+e:[Sp(a),e]:a.push("string"==typeof e?Sp(e):e)}for(const i of n){const[e,t]=i;if(r(`\n${JSON.stringify(e)}\n`),"string"==typeof t||t instanceof Uint8Array)r(t);else{let e;try{e=JSON.stringify(t)}catch{e=JSON.stringify(gp(t))}r(e)}}return"string"==typeof a?a:function(e){const t=e.reduce((e,t)=>e+t.length,0),n=new Uint8Array(t);let a=0;for(const r of e)n.set(r,a),a+=r.length;return n}(a)}function jp(e){const t="string"==typeof e.data?Sp(e.data):e.data;return[{type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType},t]}const Tp={sessions:"session",event:"error",client_report:"internal",user_report:"default",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",raw_security:"security",log:"log_item",trace_metric:"metric"};function Op(e){return function(e){return e in Tp}(e)?Tp[e]:e}function Cp(e){if(!e?.sdk)return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}function Np(e,t,n,a){const r=Cp(n),i=e.type&&"replay_event"!==e.type?e.type:"event";!function(e,t){if(!t)return e;const n=e.sdk||{};e.sdk={...n,name:n.name||t.name,version:n.version||t.version,integrations:[...e.sdk?.integrations||[],...t.integrations||[]],packages:[...e.sdk?.packages||[],...t.packages||[]],settings:e.sdk?.settings||t.settings?{...e.sdk?.settings,...t.settings}:void 0}}(e,n?.sdk);const o=function(e,t,n,a){const r=e.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:e.event_id,sent_at:(new Date).toISOString(),...t&&{sdk:t},...!!n&&a&&{dsn:Xd(a)},...r&&{trace:r}}}(e,r,a,t);delete e.sdkProcessingMetadata;return kp(o,[[{type:i},e]])}function Mp(e){return new Ap(t=>{t(e)})}function Dp(e){return new Ap((t,n)=>{n(e)})}class Ap{constructor(e){this._state=0,this._handlers=[],this._runExecutor(e)}then(e,t){return new Ap((n,a)=>{this._handlers.push([!1,t=>{if(e)try{n(e(t))}catch(r){a(r)}else n(t)},e=>{if(t)try{n(t(e))}catch(r){a(r)}else a(e)}]),this._executeHandlers()})}catch(e){return this.then(e=>e,e)}finally(e){return new Ap((t,n)=>{let a,r;return this.then(t=>{r=!1,a=t,e&&e()},t=>{r=!0,a=t,e&&e()}).then(()=>{r?n(a):t(a)})})}_executeHandlers(){if(0===this._state)return;const e=this._handlers.slice();this._handlers=[],e.forEach(e=>{e[0]||(1===this._state&&e[1](this._value),2===this._state&&e[2](this._value),e[0]=!0)})}_runExecutor(e){const t=(e,t)=>{0===this._state&&(Wl(t)?t.then(n,a):(this._state=e,this._value=t,this._executeHandlers()))},n=e=>{t(1,e)},a=e=>{t(2,e)};try{e(n,a)}catch(r){a(r)}}}function Ip(e,t,n,a=0){try{const r=Pp(t,n,e,a);return Wl(r)?r:Mp(r)}catch(r){return Dp(r)}}function Pp(e,t,n,a){const r=n[a];if(!e||!r)return e;const i=r({...e},t);return rl&&null===i&&vl.log(`Event processor "${r.id||"?"}" dropped event`),Wl(i)?i.then(e=>Pp(e,t,n,a+1)):Pp(i,t,n,a+1)}let Fp,Rp,zp,Lp;function qp(e,t){const{fingerprint:n,span:a,breadcrumbs:r,sdkProcessingMetadata:i}=t;!function(e,t){const{extra:n,tags:a,user:r,contexts:i,level:o,transactionName:s}=t;Object.keys(n).length&&(e.extra={...n,...e.extra});Object.keys(a).length&&(e.tags={...a,...e.tags});Object.keys(r).length&&(e.user={...r,...e.user});Object.keys(i).length&&(e.contexts={...i,...e.contexts});o&&(e.level=o);s&&"transaction"!==e.type&&(e.transaction=s)}(e,t),a&&function(e,t){e.contexts={trace:ap(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:_p(t),...e.sdkProcessingMetadata};const n=up(t),a=sp(n).description;a&&!e.transaction&&"transaction"===e.type&&(e.transaction=a)}(e,a),function(e,t){e.fingerprint=e.fingerprint?Array.isArray(e.fingerprint)?e.fingerprint:[e.fingerprint]:[],t&&(e.fingerprint=e.fingerprint.concat(t));e.fingerprint.length||delete e.fingerprint}(e,n),function(e,t){const n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}(e,r),function(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}(e,i)}function $p(e,t){const{extra:n,tags:a,attributes:r,user:i,contexts:o,level:s,sdkProcessingMetadata:c,breadcrumbs:u,fingerprint:l,eventProcessors:d,attachments:p,propagationContext:h,transactionName:m,span:f}=t;Bp(e,"extra",n),Bp(e,"tags",a),Bp(e,"attributes",r),Bp(e,"user",i),Bp(e,"contexts",o),e.sdkProcessingMetadata=jd(e.sdkProcessingMetadata,c,2),s&&(e.level=s),m&&(e.transactionName=m),f&&(e.span=f),u.length&&(e.breadcrumbs=[...e.breadcrumbs,...u]),l.length&&(e.fingerprint=[...e.fingerprint,...l]),d.length&&(e.eventProcessors=[...e.eventProcessors,...d]),p.length&&(e.attachments=[...e.attachments,...p]),e.propagationContext={...e.propagationContext,...h}}function Bp(e,t,n){e[t]=jd(e[t],n,1)}function Vp(e,t){const n=ul("globalScope",()=>new Dd).getScopeData();return e&&$p(n,e.getScopeData()),t&&$p(n,t.getScopeData()),n}function Up(e,t,n,a,r,i){const{normalizeDepth:o=3,normalizeMaxBreadth:s=1e3}=e,c={...t,event_id:t.event_id||n.event_id||fd(),timestamp:t.timestamp||kd()},u=n.integrations||e.integrations.map(e=>e.name);!function(e,t){const{environment:n,release:a,dist:r,maxValueLength:i}=t;e.environment=e.environment||n||fp,!e.release&&a&&(e.release=a);!e.dist&&r&&(e.dist=r);const o=e.request;o?.url&&i&&(o.url=dd(o.url,i));i&&e.exception?.values?.forEach(e=>{e.value&&(e.value=dd(e.value,i))})}(c,e),function(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}(c,u),r&&r.emit("applyFrameMetadata",t),void 0===t.type&&function(e,t){const n=function(e){const t=il._sentryDebugIds,n=il._debugIds;if(!t&&!n)return{};const a=t?Object.keys(t):[],r=n?Object.keys(n):[];if(Lp&&a.length===Rp&&r.length===zp)return Lp;Rp=a.length,zp=r.length,Lp={},Fp||(Fp={});const i=(t,n)=>{for(const a of t){const t=n[a],r=Fp?.[a];if(r&&Lp&&t)Lp[r[0]]=t,Fp&&(Fp[a]=[r[0],t]);else if(t){const n=e(a);for(let e=n.length-1;e>=0;e--){const r=n[e],i=r?.filename;if(i&&Lp&&Fp){Lp[i]=t,Fp[a]=[i,t];break}}}}};return t&&i(a,t),n&&i(r,n),Lp}(t);e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.filename&&(e.debug_id=n[e.filename])})})}(c,e.stackParser);const l=function(e,t){if(!t)return e;const n=e?e.clone():new Dd;return n.update(t),n}(a,n.captureContext);n.mechanism&&yd(c,n.mechanism);const d=r?r.getEventProcessors():[],p=Vp(i,l),h=[...n.attachments||[],...p.attachments];h.length&&(n.attachments=h),qp(c,p);const m=[...d,...p.eventProcessors];return(n.data&&!0===n.data.__sentry__?Mp(c):Ip(m,c,n)).then(e=>(e&&function(e){const t={};if(e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)})}),0===Object.keys(t).length)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];const n=e.debug_meta.images;Object.entries(t).forEach(([e,t])=>{n.push({type:"sourcemap",code_file:e,debug_id:t})})}(e),"number"==typeof o&&o>0?function(e,t,n){if(!e)return null;const a={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(e=>({...e,...e.data&&{data:gp(e.data,t,n)}}))},...e.user&&{user:gp(e.user,t,n)},...e.contexts&&{contexts:gp(e.contexts,t,n)},...e.extra&&{extra:gp(e.extra,t,n)}};e.contexts?.trace&&a.contexts&&(a.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(a.contexts.trace.data=gp(e.contexts.trace.data,t,n)));e.spans&&(a.spans=e.spans.map(e=>({...e,...e.data&&{data:gp(e.data,t,n)}})));e.contexts?.flags&&a.contexts&&(a.contexts.flags=gp(e.contexts.flags,3,n));return a}(e,o,s):e))}function Wp(e,t){return Ld().captureException(e,void 0)}function Qp(e,t){return Ld().captureEvent(e,t)}function Gp(e,t){qd().setTag(e,t)}function Hp(e){const t=qd(),{user:n}=Vp(t,Ld()),{userAgent:a}=il.navigator||{},r=Sd({user:n,...a&&{userAgent:a},...e}),i=t.getSession();return"ok"===i?.status&&Ed(i,{status:"exited"}),Kp(),t.setSession(r),r}function Kp(){const e=qd(),t=Ld().getSession()||e.getSession();t&&function(e){let t={};"ok"===e.status&&(t={status:"exited"}),Ed(e,t)}(t),Yp(),e.setSession()}function Yp(){const e=qd(),t=$d(),n=e.getSession();n&&t&&t.captureSession(n)}function Jp(e=!1){e?Kp():Yp()}function Xp(e,t,n){return t||`${function(e){return`${function(e){const t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}(e)}${e.projectId}/envelope/`}(e)}?${function(e,t){const n={sentry_version:"7"};return e.publicKey&&(n.sentry_key=e.publicKey),t&&(n.sentry_client=`${t.name}/${t.version}`),new URLSearchParams(n).toString()}(e,n)}`}const Zp=[];function eh(e){const t=e.defaultIntegrations||[],n=e.integrations;let a;if(t.forEach(e=>{e.isDefaultInstance=!0}),Array.isArray(n))a=[...t,...n];else if("function"==typeof n){const e=n(t);a=Array.isArray(e)?e:[e]}else a=t;return function(e){const t={};return e.forEach(e=>{const{name:n}=e,a=t[n];a&&!a.isDefaultInstance&&e.isDefaultInstance||(t[n]=e)}),Object.values(t)}(a)}function th(e,t){for(const n of t)n?.afterAllSetup&&n.afterAllSetup(e)}function nh(e,t,n){if(n[t.name])rl&&vl.log(`Integration skipped because it was already installed: ${t.name}`);else{if(n[t.name]=t,Zp.includes(t.name)||"function"!=typeof t.setupOnce||(t.setupOnce(),Zp.push(t.name)),t.setup&&"function"==typeof t.setup&&t.setup(e),"function"==typeof t.preprocessEvent){const n=t.preprocessEvent.bind(t);e.on("preprocessEvent",(t,a)=>n(t,a,e))}if("function"==typeof t.processEvent){const n=t.processEvent.bind(t),a=Object.assign((t,a)=>n(t,a,e),{id:t.name});e.addEventProcessor(a)}rl&&vl.log(`Integration installed: ${t.name}`)}}function ah(e,t){const n=t??function(e){return rh().get(e)}(e)??[];if(0===n.length)return;const a=e.getOptions(),r=function(e,t,n,a){const r={};return t?.sdk&&(r.sdk={name:t.sdk.name,version:t.sdk.version}),n&&a&&(r.dsn=Xd(a)),kp(r,[(i=e,[{type:"log",item_count:i.length,content_type:"application/vnd.sentry.items.log+json"},{items:i}])]);var i}(n,a._metadata,a.tunnel,e.getDsn());rh().set(e,[]),e.emit("flushLogs"),e.sendEnvelope(r)}function rh(){return ul("clientToLogBufferMap",()=>new WeakMap)}function ih(e,t){const n=t??function(e){return oh().get(e)}(e)??[];if(0===n.length)return;const a=e.getOptions(),r=function(e,t,n,a){const r={};return t?.sdk&&(r.sdk={name:t.sdk.name,version:t.sdk.version}),n&&a&&(r.dsn=Xd(a)),kp(r,[(i=e,[{type:"trace_metric",item_count:i.length,content_type:"application/vnd.sentry.items.trace-metric+json"},{items:i}])]);var i}(n,a._metadata,a.tunnel,e.getDsn());oh().set(e,[]),e.emit("flushMetrics"),e.sendEnvelope(r)}function oh(){return ul("clientToMetricBufferMap",()=>new WeakMap)}function sh(e){return"object"==typeof e&&"function"==typeof e.unref&&e.unref(),e}const ch=Symbol.for("SentryBufferFullError");function uh(e=100){const t=new Set;function n(e){t.delete(e)}return{get $(){return Array.from(t)},add:function(a){if(!(t.size<e))return Dp(ch);const r=a();return t.add(r),r.then(()=>n(r),()=>n(r)),r},drain:function(e){if(!t.size)return Mp(!0);const n=Promise.allSettled(Array.from(t)).then(()=>!0);if(!e)return n;const a=[n,new Promise(t=>sh(setTimeout(()=>t(!1),e)))];return Promise.race(a)}}}function lh(e,{statusCode:t,headers:n},a=ld()){const r={...e},i=n?.["x-sentry-rate-limits"],o=n?.["retry-after"];if(i)for(const s of i.trim().split(",")){const[e,t,,,n]=s.split(":",5),i=parseInt(e,10),o=1e3*(isNaN(i)?60:i);if(t)for(const s of t.split(";"))"metric_bucket"===s&&n&&!n.split(";").includes("custom")||(r[s]=a+o);else r.all=a+o}else o?r.all=a+function(e,t=ld()){const n=parseInt(`${e}`,10);if(!isNaN(n))return 1e3*n;const a=Date.parse(`${e}`);return isNaN(a)?6e4:a-t}(o,a):429===t&&(r.all=a+6e4);return r}function dh(e,t,n=uh(e.bufferSize||64)){let a={};return{send:function(r){const i=[];if(xp(r,(t,n)=>{const r=Op(n);!function(e,t,n=ld()){return function(e,t){return e[t]||e.all||0}(e,t)>n}(a,r)?i.push(t):e.recordDroppedEvent("ratelimit_backoff",r)}),0===i.length)return Promise.resolve({});const o=kp(r[0],i),s=t=>{!function(e,t){return xp(e,(e,n)=>t.includes(n))}(o,["client_report"])?xp(o,(n,a)=>{e.recordDroppedEvent(t,Op(a))}):rl&&vl.warn(`Dropping client report. Will not send outcomes (reason: ${t}).`)};return n.add(()=>t({body:Ep(o)}).then(e=>413===e.statusCode?(rl&&vl.error("Sentry responded with status code 413. Envelope was discarded due to exceeding size limits."),s("send_error"),e):(rl&&void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&vl.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),a=lh(a,e),e),e=>{throw s("network_error"),rl&&vl.error("Encountered error running transport request:",e),e})).then(e=>e,e=>{if(e===ch)return rl&&vl.error("Skipped sending event because buffer is full."),s("queue_overflow"),Promise.resolve({});throw e})},flush:e=>n.drain(e)}}function ph(e){const t=[];e.message&&t.push(e.message);try{const n=e.exception.values[e.exception.values.length-1];n?.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`))}catch{}return t}const hh="Not capturing exception because it's already been captured.",mh="Discarded session because of missing or non-string release",fh=Symbol.for("SentryInternalError"),vh=Symbol.for("SentryDoNotSendEventError");function _h(e){return{message:e,[fh]:!0}}function gh(e){return{message:e,[vh]:!0}}function yh(e){return!!e&&"object"==typeof e&&fh in e}function bh(e){return!!e&&"object"==typeof e&&vh in e}function kh(e,t,n,a,r){let i,o=0,s=!1;e.on(n,()=>{o=0,clearTimeout(i),s=!1}),e.on(t,t=>{o+=a(t),o>=8e5?r(e):s||(s=!0,i=sh(setTimeout(()=>{r(e)},5e3)))}),e.on("flush",()=>{r(e)})}class wh{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],this._promiseBuffer=uh(e.transportOptions?.bufferSize??64),e.dsn?this._dsn=tp(e.dsn):rl&&vl.warn("No DSN provided, client will not send events."),this._dsn){const t=Xp(this._dsn,e.tunnel,e._metadata?e._metadata.sdk:void 0);this._transport=e.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:t})}this._options.enableLogs=this._options.enableLogs??this._options._experiments?.enableLogs,this._options.enableLogs&&kh(this,"afterCaptureLog","flushLogs",Th,ah);(this._options.enableMetrics??this._options._experiments?.enableMetrics??!0)&&kh(this,"afterCaptureMetric","flushMetrics",jh,ih)}captureException(e,t,n){const a=fd();if(bd(e))return rl&&vl.log(hh),a;const r={event_id:a,...t};return this._process(()=>this.eventFromException(e,r).then(e=>this._captureEvent(e,r,n)).then(e=>e),"error"),r.event_id}captureMessage(e,t,n,a){const r={event_id:fd(),...n},i=$l(e)?e:String(e),o=Bl(e),s=o?this.eventFromMessage(i,t,r):this.eventFromException(e,r);return this._process(()=>s.then(e=>this._captureEvent(e,r,a)),o?"unknown":"error"),r.event_id}captureEvent(e,t,n){const a=fd();if(t?.originalException&&bd(t.originalException))return rl&&vl.log(hh),a;const r={event_id:a,...t},i=e.sdkProcessingMetadata||{},o=i.capturedSpanScope,s=i.capturedSpanIsolationScope,c=xh(e.type);return this._process(()=>this._captureEvent(e,r,o||n,s),c),r.event_id}captureSession(e){this.sendSession(e),Ed(e,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}async flush(e){const t=this._transport;if(!t)return!0;this.emit("flush");const n=await this._isClientDoneProcessing(e),a=await t.flush(e);return n&&a}async close(e){ah(this);const t=await this.flush(e);return this.getOptions().enabled=!1,this.emit("close"),t}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}init(){(this._isEnabled()||this._options.integrations.some(({name:e})=>e.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(e){return this._integrations[e]}addIntegration(e){const t=this._integrations[e.name];nh(this,e,this._integrations),t||th(this,[e])}sendEvent(e,t={}){this.emit("beforeSendEvent",e,t);let n=Np(e,this._dsn,this._options._metadata,this._options.tunnel);for(const a of t.attachments||[])n=wp(n,jp(a));this.sendEnvelope(n).then(t=>this.emit("afterSendEvent",e,t))}sendSession(e){const{release:t,environment:n=fp}=this._options;if("aggregates"in e){const a=e.attrs||{};if(!a.release&&!t)return void(rl&&vl.warn(mh));a.release=a.release||t,a.environment=a.environment||n,e.attrs=a}else{if(!e.release&&!t)return void(rl&&vl.warn(mh));e.release=e.release||t,e.environment=e.environment||n}this.emit("beforeSendSession",e);const a=function(e,t,n,a){const r=Cp(n);return kp({sent_at:(new Date).toISOString(),...r&&{sdk:r},...!!a&&t&&{dsn:Xd(t)}},["aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()]])}(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(a)}recordDroppedEvent(e,t,n=1){if(this._options.sendClientReports){const a=`${e}:${t}`;rl&&vl.log(`Recording outcome: "${a}"${n>1?` (${n} times)`:""}`),this._outcomes[a]=(this._outcomes[a]||0)+n}}on(e,t){const n=this._hooks[e]=this._hooks[e]||new Set,a=(...e)=>t(...e);return n.add(a),()=>{n.delete(a)}}emit(e,...t){const n=this._hooks[e];n&&n.forEach(e=>e(...t))}async sendEnvelope(e){if(this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport)try{return await this._transport.send(e)}catch(t){return rl&&vl.error("Error while sending envelope:",t),{}}return rl&&vl.error("Transport disabled"),{}}dispose(){}_setupIntegrations(){const{integrations:e}=this._options;this._integrations=function(e,t){const n={};return t.forEach(t=>{t&&nh(e,t,n)}),n}(this,e),th(this,e)}_updateSessionFromEvent(e,t){let n="fatal"===t.level,a=!1;const r=t.exception?.values;if(r){a=!0,n=!1;for(const e of r)if(!1===e.mechanism?.handled){n=!0;break}}const i="ok"===e.status;(i&&0===e.errors||i&&n)&&(Ed(e,{...n&&{status:"crashed"},errors:e.errors||Number(a||n)}),this.captureSession(e))}async _isClientDoneProcessing(e){let t=0;for(;!e||t<e;){if(await new Promise(e=>setTimeout(e,1)),!this._numProcessing)return!0;t++}return!1}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(e,t,n,a){const r=this.getOptions(),i=Object.keys(this._integrations);return!t.integrations&&i?.length&&(t.integrations=i),this.emit("preprocessEvent",e,t),e.type||a.setLastEventId(e.event_id||t.event_id),Up(r,e,t,n,this,a).then(e=>{if(null===e)return e;this.emit("postprocessEvent",e,t),e.contexts={trace:{...e.contexts?.trace,...Bd(n)},...e.contexts};const a=function(e,t){const n=t.getPropagationContext();return n.dsc||vp(n.traceId,e)}(this,n);return e.sdkProcessingMetadata={dynamicSamplingContext:a,...e.sdkProcessingMetadata},e})}_captureEvent(e,t={},n=Ld(),a=qd()){return rl&&Sh(e)&&vl.log(`Captured error event \`${ph(e)[0]||"<unknown>"}\``),this._processEvent(e,t,n,a).then(e=>e.event_id,e=>{rl&&(bh(e)?vl.log(e.message):yh(e)?vl.warn(e.message):vl.warn(e))})}_processEvent(e,t,n,a){const r=this.getOptions(),{sampleRate:i}=r,o=Eh(e),s=Sh(e),c=`before send for type \`${e.type||"error"}\``,u=void 0===i?void 0:function(e){if("boolean"==typeof e)return Number(e);const t="string"==typeof e?parseFloat(e):e;return"number"!=typeof t||isNaN(t)||t<0||t>1?void 0:t}(i);if(s&&"number"==typeof u&&ud()>u)return this.recordDroppedEvent("sample_rate","error"),Dp(gh(`Discarding event because it's not included in the random sample (sampling rate = ${i})`));const l=xh(e.type);return this._prepareEvent(e,t,n,a).then(e=>{if(null===e)throw this.recordDroppedEvent("event_processor",l),gh("An event processor returned `null`, will not send event.");if(!0===t.data?.__sentry__)return e;const n=function(e,t,n,a){const{beforeSend:r,beforeSendTransaction:i,beforeSendSpan:o,ignoreSpans:s}=t;let c=n;if(Sh(c)&&r)return r(c,a);if(Eh(c)){if(o||s){const t=function(e){const{trace_id:t,parent_span_id:n,span_id:a,status:r,origin:i,data:o,op:s}=e.contexts?.trace??{};return{data:o??{},description:e.transaction,op:s,parent_span_id:n,span_id:a??"",start_timestamp:e.start_timestamp??0,status:r,timestamp:e.timestamp,trace_id:t??"",origin:i,profile_id:o?.[Vd],exclusive_time:o?.[Ud],measurements:e.measurements,is_segment:!0}}(c);if(s?.length&&pp(t,s))return null;if(o){const e=o(t);e?c=jd(n,{type:"transaction",timestamp:(u=e).timestamp,start_timestamp:u.start_timestamp,transaction:u.description,contexts:{trace:{trace_id:u.trace_id,span_id:u.span_id,parent_span_id:u.parent_span_id,op:u.op,status:u.status,origin:u.origin,data:{...u.data,...u.profile_id&&{[Vd]:u.profile_id},...u.exclusive_time&&{[Ud]:u.exclusive_time}}}},measurements:u.measurements}):lp()}if(c.spans){const t=[],n=c.spans;for(const e of n)if(s?.length&&pp(e,s))hp(n,e);else if(o){const n=o(e);n?t.push(n):(lp(),t.push(e))}else t.push(e);const a=c.spans.length-t.length;a&&e.recordDroppedEvent("before_send","span",a),c.spans=t}}if(i){if(c.spans){const e=c.spans.length;c.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:e}}return i(c,a)}}var u;return c}(this,r,e,t);return function(e,t){const n=`${t} must return \`null\` or a valid event.`;if(Wl(e))return e.then(e=>{if(!Vl(e)&&null!==e)throw _h(n);return e},e=>{throw _h(`${t} rejected with ${e}`)});if(!Vl(e)&&null!==e)throw _h(n);return e}(n,c)}).then(r=>{if(null===r){if(this.recordDroppedEvent("before_send",l),o){const t=1+(e.spans||[]).length;this.recordDroppedEvent("before_send","span",t)}throw gh(`${c} returned \`null\`, will not send event.`)}const i=n.getSession()||a.getSession();if(s&&i&&this._updateSessionFromEvent(i,r),o){const e=(r.sdkProcessingMetadata?.spanCountBeforeProcessing||0)-(r.spans?r.spans.length:0);e>0&&this.recordDroppedEvent("before_send","span",e)}const u=r.transaction_info;if(o&&u&&r.transaction!==e.transaction){const e="custom";r.transaction_info={...u,source:e}}return this.sendEvent(r,t),r}).then(null,e=>{if(bh(e)||yh(e))throw e;throw this.captureException(e,{mechanism:{handled:!1,type:"internal"},data:{__sentry__:!0},originalException:e}),_h(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ${e}`)})}_process(e,t){this._numProcessing++,this._promiseBuffer.add(e).then(e=>(this._numProcessing--,e),e=>(this._numProcessing--,e===ch&&this.recordDroppedEvent("queue_overflow",t),e))}_clearOutcomes(){const e=this._outcomes;return this._outcomes={},Object.entries(e).map(([e,t])=>{const[n,a]=e.split(":");return{reason:n,category:a,quantity:t}})}_flushOutcomes(){rl&&vl.log("Flushing outcomes...");const e=this._clearOutcomes();if(0===e.length)return void(rl&&vl.log("No outcomes to send"));if(!this._dsn)return void(rl&&vl.log("No dsn provided, will not send outcomes"));rl&&vl.log("Sending outcomes:",e);const t=(n=e,kp((a=this._options.tunnel&&Xd(this._dsn))?{dsn:a}:{},[[{type:"client_report"},{timestamp:kd(),discarded_events:n}]]));var n,a;this.sendEnvelope(t)}}function xh(e){return"replay_event"===e?"replay":e||"error"}function Sh(e){return void 0===e.type}function Eh(e){return"transaction"===e.type}function jh(e){let t=0;return e.name&&(t+=2*e.name.length),t+=8,t+Oh(e.attributes)}function Th(e){let t=0;return e.message&&(t+=2*e.message.length),t+Oh(e.attributes)}function Oh(e){if(!e)return 0;let t=0;return Object.values(e).forEach(e=>{Array.isArray(e)?t+=e.length*Ch(e[0]):Bl(e)?t+=Ch(e):t+=100}),t}function Ch(e){return"string"==typeof e?2*e.length:"number"==typeof e?8:"boolean"==typeof e?4:0}function Nh(e){return function(e){return Fl(e)&&"__sentry_fetch_url_host__"in e&&"string"==typeof e.__sentry_fetch_url_host__}(e)?`${e.message} (${e.__sentry_fetch_url_host__})`:e.message}function Mh(e,t){!0===t.debug&&(rl?vl.enable():pl(()=>{}));Ld().update(t.initialScope);const n=new e(t);return function(e){Ld().setClient(e)}(n),n.init(),n}function Dh(e){if(!e)return{};const t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};const n=t[6]||"",a=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:a,relative:t[5]+n+a}}function Ah(e){"aggregates"in e?void 0===e.attrs?.ip_address&&(e.attrs={...e.attrs,ip_address:"{{auto}}"}):void 0===e.ipAddress&&(e.ipAddress="{{auto}}")}const Ih=100;function Ph(e,t){const n=$d(),a=qd();if(!n)return;const{beforeBreadcrumb:r=null,maxBreadcrumbs:i=Ih}=n.getOptions();if(i<=0)return;const o={timestamp:kd(),...e},s=r?pl(()=>r(o,t)):o;null!==s&&(n.emit&&n.emit("beforeAddBreadcrumb",s,t),a.addBreadcrumb(s,i))}let Fh;const Rh=new WeakMap,zh=()=>({name:"FunctionToString",setupOnce(){Fh=Function.prototype.toString;try{Function.prototype.toString=function(...e){const t=nd(this),n=Rh.has($d())&&void 0!==t?t:this;return Fh.apply(n,e)}}catch{}},setup(e){Rh.set(e,!0)}}),Lh=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,/^undefined is not an object \(evaluating 'a\.[A-Z]'\)$/,/can't redefine non-configurable property "solana"/,/vv\(\)\.getRestrictions is not a function/,/Can't find variable: _AutofillCallbackHandler/,/Object Not Found Matching Id:\d+, MethodName:simulateEvent/,/^Java exception was raised during method invocation$/],qh=(e={})=>{let t;return{name:"EventFilters",setup(n){const a=n.getOptions();t=Bh(e,a)},processEvent(n,a,r){if(!t){const n=r.getOptions();t=Bh(e,n)}return function(e,t){if(e.type){if("transaction"===e.type&&function(e,t){if(!t?.length)return!1;const n=e.transaction;return!!n&&md(n,t)}(e,t.ignoreTransactions))return rl&&vl.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.\nEvent: ${_d(e)}`),!0}else{if(function(e,t){if(!t?.length)return!1;return ph(e).some(e=>md(e,t))}(e,t.ignoreErrors))return rl&&vl.warn(`Event dropped due to being matched by \`ignoreErrors\` option.\nEvent: ${_d(e)}`),!0;if(function(e){if(!e.exception?.values?.length)return!1;return!e.message&&!e.exception.values.some(e=>e.stacktrace||e.type&&"Error"!==e.type||e.value)}(e))return rl&&vl.warn(`Event dropped due to not having an error message, error type or stacktrace.\nEvent: ${_d(e)}`),!0;if(function(e,t){if(!t?.length)return!1;const n=Vh(e);return!!n&&md(n,t)}(e,t.denyUrls))return rl&&vl.warn(`Event dropped due to being matched by \`denyUrls\` option.\nEvent: ${_d(e)}.\nUrl: ${Vh(e)}`),!0;if(!function(e,t){if(!t?.length)return!0;const n=Vh(e);return!n||md(n,t)}(e,t.allowUrls))return rl&&vl.warn(`Event dropped due to not being matched by \`allowUrls\` option.\nEvent: ${_d(e)}.\nUrl: ${Vh(e)}`),!0}return!1}(n,t)?null:n}}},$h=(e={})=>({...qh(e),name:"InboundFilters"});function Bh(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:Lh],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]]}}function Vh(e){try{const t=[...e.exception?.values??[]].reverse().find(e=>void 0===e.mechanism?.parent_id&&e.stacktrace?.frames?.length),n=t?.stacktrace?.frames;return n?function(e=[]){for(let t=e.length-1;t>=0;t--){const n=e[t];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(n):null}catch{return rl&&vl.error(`Cannot extract url for event ${_d(e)}`),null}}function Uh(e,t,n,a,r,i){if(!r.exception?.values||!i||!Ql(i.originalException,Error))return;const o=r.exception.values.length>0?r.exception.values[r.exception.values.length-1]:void 0;o&&(r.exception.values=Wh(e,t,a,i.originalException,n,r.exception.values,o,0))}function Wh(e,t,n,a,r,i,o,s){if(i.length>=n+1)return i;let c=[...i];if(Ql(a[r],Error)){Gh(o,s,a);const i=e(t,a[r]),u=c.length;Hh(i,r,u,s),c=Wh(e,t,n,a[r],r,[i,...c],i,u)}return Qh(a)&&a.errors.forEach((i,u)=>{if(Ql(i,Error)){Gh(o,s,a);const l=e(t,i),d=c.length;Hh(l,`errors[${u}]`,d,s),c=Wh(e,t,n,i,r,[l,...c],l,d)}}),c}function Qh(e){return Array.isArray(e.errors)}function Gh(e,t,n){e.mechanism={handled:!0,type:"auto.core.linked_errors",...Qh(n)&&{is_exception_group:!0},...e.mechanism,exception_id:t}}function Hh(e,t,n,a){e.mechanism={handled:!0,...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:a}}function Kh(){"console"in il&&ll.forEach(function(e){e in il.console&&Zl(il.console,e,function(t){return dl[e]=t,function(...t){Nl("console",{args:t,level:e});const n=dl[e];n?.apply(il.console,t)}})})}function Yh(e){return"warn"===e?"warning":["fatal","error","warning","log","info","debug"].includes(e)?e:"log"}const Jh=()=>{let e;return{name:"Dedupe",processEvent(t){if(t.type)return t;try{if(function(e,t){if(!t)return!1;if(function(e,t){const n=e.message,a=t.message;if(!n&&!a)return!1;if(n&&!a||!n&&a)return!1;if(n!==a)return!1;if(!Zh(e,t))return!1;if(!Xh(e,t))return!1;return!0}(e,t))return!0;if(function(e,t){const n=em(t),a=em(e);if(!n||!a)return!1;if(n.type!==a.type||n.value!==a.value)return!1;if(!Zh(e,t))return!1;if(!Xh(e,t))return!1;return!0}(e,t))return!0;return!1}(t,e))return rl&&vl.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return e=t}}};function Xh(e,t){let n=Sl(e),a=Sl(t);if(!n&&!a)return!0;if(n&&!a||!n&&a)return!1;if(a.length!==n.length)return!1;for(let r=0;r<a.length;r++){const e=a[r],t=n[r];if(e.filename!==t.filename||e.lineno!==t.lineno||e.colno!==t.colno||e.function!==t.function)return!1}return!0}function Zh(e,t){let n=e.fingerprint,a=t.fingerprint;if(!n&&!a)return!0;if(n&&!a||!n&&a)return!1;try{return!(n.join("")!==a.join(""))}catch{return!1}}function em(e){return e.exception?.values?.[0]}const tm=()=>({name:"ConversationId",setup(e){e.on("spanStart",e=>{const t=Ld().getScopeData(),n=qd().getScopeData(),a=t.conversationId||n.conversationId;a&&e.setAttribute("gen_ai.conversation.id",a)})}});function nm(e){return void 0===e?void 0:e>=400&&e<500?"warning":e>=500?"error":void 0}const am=il;function rm(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function im(){if("string"==typeof EdgeRuntime)return!0;if(!function(){if(!("fetch"in am))return!1;try{return new Headers,new Request("data:,"),new Response,!0}catch{return!1}}())return!1;if(rm(am.fetch))return!0;let e=!1;const t=am.document;if(t&&"function"==typeof t.createElement)try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow?.fetch&&(e=rm(n.contentWindow.fetch)),t.head.removeChild(n)}catch(n){rl&&vl.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}return e}function om(e,t){const n="fetch";Ol(n,e),Cl(n,()=>function(e,t=!1){if(t&&!im())return;Zl(il,"fetch",function(e){return function(...t){const n=new Error,{method:a,url:r}=function(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){const[t,n]=e;return{url:cm(t),method:sm(n,"method")?String(n.method).toUpperCase():Hl(t)&&sm(t,"method")?String(t.method).toUpperCase():"GET"}}const t=e[0];return{url:cm(t),method:sm(t,"method")?String(t.method).toUpperCase():"GET"}}(t),i={args:t,fetchData:{method:a,url:r},startTimestamp:1e3*xd(),virtualError:n,headers:um(t)};return Nl("fetch",{...i}),e.apply(il,t).then(async e=>(Nl("fetch",{...i,endTimestamp:1e3*xd(),response:e}),e),e=>{Nl("fetch",{...i,endTimestamp:1e3*xd(),error:e}),Fl(e)&&void 0===e.stack&&(e.stack=n.stack,ed(e,"framesToPop",1));const t=$d(),a=t?.getOptions().enhanceFetchErrorMessages??"always";if(!1!==a&&e instanceof TypeError&&("Failed to fetch"===e.message||"Load failed"===e.message||"NetworkError when attempting to fetch resource."===e.message))try{const t=new URL(i.fetchData.url).host;"always"===a?e.message=`${e.message} (${t})`:ed(e,"__sentry_fetch_url_host__",t)}catch{}throw e})}})}(0,t))}function sm(e,t){return!!e&&"object"==typeof e&&!!e[t]}function cm(e){return"string"==typeof e?e:e?sm(e,"url")?e.url:e.toString?e.toString():"":""}function um(e){const[t,n]=e;try{if("object"==typeof n&&null!==n&&"headers"in n&&n.headers)return new Headers(n.headers);if(Hl(t))return new Headers(t.headers)}catch{}}const lm=il;let dm=0;function pm(){return dm>0}function hm(e,t={}){if("function"!=typeof e)return e;try{const t=e.__sentry_wrapped__;if(t)return"function"==typeof t?t:e;if(nd(e))return e}catch{return e}const n=function(...n){try{const a=n.map(e=>hm(e,t));return e.apply(this,a)}catch(a){throw dm++,setTimeout(()=>{dm--}),function(...e){const t=zd(sl());if(2===e.length){const[n,a]=e;return n?t.withSetScope(n,a):t.withScope(a)}t.withScope(e[0])}(e=>{e.addEventProcessor(e=>(t.mechanism&&(gd(e,void 0),yd(e,t.mechanism)),e.extra={...e.extra,arguments:n},e)),Wp(a)}),a}};try{for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=e[t])}catch{}td(n,e),ed(e,"__sentry_wrapped__",n);try{Object.getOwnPropertyDescriptor(n,"name").configurable&&Object.defineProperty(n,"name",{get:()=>e.name})}catch{}return n}function mm(e,t){const n=_m(e,t),a={type:bm(t),value:km(t)};return n.length&&(a.stacktrace={frames:n}),void 0===a.type&&""===a.value&&(a.value="Unrecoverable error caught"),a}function fm(e,t,n,a){const r=$d(),i=r?.getOptions().normalizeDepth,o=function(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)){const n=e[t];if(n instanceof Error)return n}return}(t),s={__serialized__:yp(t,i)};if(o)return{exception:{values:[mm(e,o)]},extra:s};const c={exception:{values:[{type:Ul(t)?t.constructor.name:a?"UnhandledRejection":"Error",value:Sm(t,{isUnhandledRejection:a})}]},extra:s};if(n){const t=_m(e,n);t.length&&(c.exception.values[0].stacktrace={frames:t})}return c}function vm(e,t){return{exception:{values:[mm(e,t)]}}}function _m(e,t){const n=t.stacktrace||t.stack||"",a=function(e){if(e&&gm.test(e.message))return 1;return 0}(t),r=function(e){if("number"==typeof e.framesToPop)return e.framesToPop;return 0}(t);try{return e(n,a,r)}catch{}return[]}const gm=/Minified React error #\d+;/i;function ym(e){return"undefined"!=typeof WebAssembly&&void 0!==WebAssembly.Exception&&e instanceof WebAssembly.Exception}function bm(e){const t=e?.name;if(!t&&ym(e)){return e.message&&Array.isArray(e.message)&&2==e.message.length?e.message[0]:"WebAssembly.Exception"}return t}function km(e){const t=e?.message;return ym(e)?Array.isArray(e.message)&&2==e.message.length?e.message[1]:"wasm exception":t?t.error&&"string"==typeof t.error.message?Nh(t.error):Nh(e):"No error message"}function wm(e,t,n,a,r){let i;if(zl(t)&&t.error){return vm(e,t.error)}if(Ll(t)||Rl(t,"DOMException")){const r=t;if("stack"in t)i=vm(e,t);else{const t=r.name||(Ll(r)?"DOMError":"DOMException"),o=r.message?`${t}: ${r.message}`:t;i=xm(e,o,n,a),gd(i,o)}return"code"in r&&(i.tags={...i.tags,"DOMException.code":`${r.code}`}),i}if(Fl(t))return vm(e,t);if(Vl(t)||Ul(t)){return i=fm(e,t,n,r),yd(i,{synthetic:!0}),i}return i=xm(e,t,n,a),gd(i,`${t}`),yd(i,{synthetic:!0}),i}function xm(e,t,n,a){const r={};if(a&&n){const a=_m(e,n);a.length&&(r.exception={values:[{value:t,stacktrace:{frames:a}}]}),yd(r,{synthetic:!0})}if($l(t)){const{__sentry_template_string__:e,__sentry_template_values__:n}=t;return r.logentry={message:e,params:n},r}return r.message=t,r}function Sm(e,{isUnhandledRejection:t}){const n=function(e){const t=Object.keys(ad(e));return t.sort(),t[0]?t.join(", "):"[object has no keys]"}(e),a=t?"promise rejection":"exception";if(zl(e))return`Event \`ErrorEvent\` captured as ${a} with message \`${e.message}\``;if(Ul(e)){return`Event \`${function(e){try{const t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}(e)}\` (type=${e.type}) captured as ${a}`}return`Object captured as ${a} with keys: ${n}`}class Em extends wh{constructor(e){const t=(n=e,{release:"string"==typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:lm.SENTRY_RELEASE?.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...n});var n;!function(e,t,n=[t],a="npm"){const r=(e._metadata=e._metadata||{}).sdk=e._metadata.sdk||{};r.name||(r.name=`sentry.javascript.${t}`,r.packages=n.map(e=>({name:`${a}:@sentry/${e}`,version:ol})),r.version=ol)}(t,"browser",["browser"],lm.SENTRY_SDK_SOURCE||"npm"),t._metadata?.sdk&&(t._metadata.sdk.settings={infer_ip:t.sendDefaultPii?"auto":"never",...t._metadata.sdk.settings}),super(t);const{sendDefaultPii:a,sendClientReports:r,enableLogs:i,_experiments:o,enableMetrics:s}=this._options,c=s??o?.enableMetrics??!0;lm.document&&(r||i||c)&&lm.document.addEventListener("visibilitychange",()=>{"hidden"===lm.document.visibilityState&&(r&&this._flushOutcomes(),i&&ah(this),c&&ih(this))}),a&&this.on("beforeSendSession",Ah)}eventFromException(e,t){return function(e,t,n,a){const r=wm(e,t,n?.syntheticException||void 0,a);return yd(r),r.level="error",n?.event_id&&(r.event_id=n.event_id),Mp(r)}(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t="info",n){return function(e,t,n="info",a,r){const i=xm(e,t,a?.syntheticException||void 0,r);return i.level=n,a?.event_id&&(i.event_id=a.event_id),Mp(i)}(this._options.stackParser,e,t,n,this._options.attachStacktrace)}_prepareEvent(e,t,n,a){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,n,a)}}const jm="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,Tm=il;let Om,Cm,Nm,Mm;function Dm(){if(!Tm.document)return;const e=Nl.bind(null,"dom"),t=Am(e,!0);Tm.document.addEventListener("click",t,!1),Tm.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(t=>{const n=Tm,a=n[t]?.prototype;a?.hasOwnProperty?.("addEventListener")&&(Zl(a,"addEventListener",function(t){return function(n,a,r){if("click"===n||"keypress"==n)try{const a=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},i=a[n]=a[n]||{refCount:0};if(!i.handler){const a=Am(e);i.handler=a,t.call(this,n,a,r)}i.refCount++}catch{}return t.call(this,n,a,r)}}),Zl(a,"removeEventListener",function(e){return function(t,n,a){if("click"===t||"keypress"==t)try{const n=this.__sentry_instrumentation_handlers__||{},r=n[t];r&&(r.refCount--,r.refCount<=0&&(e.call(this,t,r.handler,a),r.handler=void 0,delete n[t]),0===Object.keys(n).length&&delete this.__sentry_instrumentation_handlers__)}catch{}return e.call(this,t,n,a)}}))})}function Am(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;const a=function(e){try{return e.target}catch{return null}}(n);if(function(e,t){return"keypress"===e&&(!t?.tagName||"INPUT"!==t.tagName&&"TEXTAREA"!==t.tagName&&!t.isContentEditable)}(n.type,a))return;ed(n,"_sentryCaptured",!0),a&&!a._sentryId&&ed(a,"_sentryId",fd());const r="keypress"===n.type?"input":n.type;if(!function(e){if(e.type!==Cm)return!1;try{if(!e.target||e.target._sentryId!==Nm)return!1}catch{}return!0}(n)){e({event:n,name:r,global:t}),Cm=n.type,Nm=a?a._sentryId:void 0}clearTimeout(Om),Om=Tm.setTimeout(()=>{Nm=void 0,Cm=void 0},1e3)}}function Im(e){const t="history";Ol(t,e),Cl(t,Pm)}function Pm(){function e(e){return function(...t){const n=t.length>2?t[2]:void 0;if(n){const a=Mm,r=function(e){try{return new URL(e,Tm.location.origin).toString()}catch{return e}}(String(n));if(Mm=r,a===r)return e.apply(this,t);Nl("history",{from:a,to:r})}return e.apply(this,t)}}Tm.addEventListener("popstate",()=>{const e=Tm.location.href,t=Mm;if(Mm=e,t===e)return;Nl("history",{from:t,to:e})}),"history"in am&&am.history&&(Zl(Tm.history,"pushState",e),Zl(Tm.history,"replaceState",e))}const Fm={};const Rm="__sentry_xhr_v3__";function zm(){if(!Tm.XMLHttpRequest)return;const e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(e,t,n){const a=new Error,r=1e3*xd(),i=ql(n[0])?n[0].toUpperCase():void 0,o=function(e){if(ql(e))return e;try{return e.toString()}catch{}return}(n[1]);if(!i||!o)return e.apply(t,n);t[Rm]={method:i,url:o,request_headers:{}},"POST"===i&&o.match(/sentry_key/)&&(t.__sentry_own_request__=!0);const s=()=>{const e=t[Rm];if(e&&4===t.readyState){try{e.status_code=t.status}catch{}Nl("xhr",{endTimestamp:1e3*xd(),startTimestamp:r,xhr:t,virtualError:a})}};return"onreadystatechange"in t&&"function"==typeof t.onreadystatechange?t.onreadystatechange=new Proxy(t.onreadystatechange,{apply:(e,t,n)=>(s(),e.apply(t,n))}):t.addEventListener("readystatechange",s),t.setRequestHeader=new Proxy(t.setRequestHeader,{apply(e,t,n){const[a,r]=n,i=t[Rm];return i&&ql(a)&&ql(r)&&(i.request_headers[a.toLowerCase()]=r),e.apply(t,n)}}),e.apply(t,n)}}),e.send=new Proxy(e.send,{apply(e,t,n){const a=t[Rm];if(!a)return e.apply(t,n);void 0!==n[0]&&(a.body=n[0]);return Nl("xhr",{startTimestamp:1e3*xd(),xhr:t}),e.apply(t,n)}})}function Lm(e,t=function(e){const t=Fm[e];if(t)return t;let n=Tm[e];if(rm(n))return Fm[e]=n.bind(Tm);const a=Tm.document;if(a&&"function"==typeof a.createElement)try{const t=a.createElement("iframe");t.hidden=!0,a.head.appendChild(t);const r=t.contentWindow;r?.[e]&&(n=r[e]),a.head.removeChild(t)}catch(r){jm&&vl.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,r)}return n?Fm[e]=n.bind(Tm):n}("fetch")){let n=0,a=0;return dh(e,async function(r){const i=r.body.length;n+=i,a++;const o={body:r.body,method:"POST",referrerPolicy:"strict-origin",headers:e.headers,keepalive:n<=6e4&&a<15,...e.fetchOptions};try{const n=await t(e.url,o);return{statusCode:n.status,headers:{"x-sentry-rate-limits":n.headers.get("X-Sentry-Rate-Limits"),"retry-after":n.headers.get("Retry-After")}}}catch(s){throw Fm["fetch"]=void 0,s}finally{n-=i,a--}},uh(e.bufferSize||40))}const qm="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;function $m(e,t,n,a){const r={filename:e,function:"<anonymous>"===t?_l:t,in_app:!0};return void 0!==n&&(r.lineno=n),void 0!==a&&(r.colno=a),r}const Bm=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,Vm=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Um=/\((\S*)(?::(\d+))(?::(\d+))\)/,Wm=/at (.+?) ?\(data:(.+?),/,Qm=[30,e=>{const t=e.match(Wm);if(t)return{filename:`<data:${t[2]}>`,function:t[1]};const n=Bm.exec(e);if(n){const[,e,t,a]=n;return $m(e,_l,+t,+a)}const a=Vm.exec(e);if(a){if(0===a[2]?.indexOf("eval")){const e=Um.exec(a[2]);e&&(a[2]=e[1],a[3]=e[2],a[4]=e[3])}const[e,t]=Jm(a[1]||_l,a[2]);return $m(t,e,a[3]?+a[3]:void 0,a[4]?+a[4]:void 0)}}],Gm=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Hm=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,Km=[50,e=>{const t=Gm.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const e=Hm.exec(t[3]);e&&(t[1]=t[1]||"eval",t[3]=e[1],t[4]=e[2],t[5]="")}let e=t[3],n=t[1]||_l;return[n,e]=Jm(n,e),$m(e,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}],Ym=bl(...[Qm,Km]),Jm=(e,t)=>{const n=-1!==e.indexOf("safari-extension"),a=-1!==e.indexOf("safari-web-extension");return n||a?[-1!==e.indexOf("@")?e.split("@")[0]:_l,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},Xm=1024,Zm=(e={})=>{const t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:"Breadcrumbs",setup(e){var n;t.console&&function(e){const t="console";Ol(t,e),Cl(t,Kh)}(function(e){return function(t){if($d()!==e)return;const n={category:"console",data:{arguments:t.args,logger:"console"},level:Yh(t.level),message:pd(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;n.message=`Assertion failed: ${pd(t.args.slice(1)," ")||"console.assert"}`,n.data.arguments=t.args.slice(1)}Ph(n,{input:t.args,level:t.level})}}(e)),t.dom&&(n=function(e,t){return function(n){if($d()!==e)return;let a,r,i="object"==typeof t?t.serializeAttribute:void 0,o="object"==typeof t&&"number"==typeof t.maxStringLength?t.maxStringLength:void 0;o&&o>Xm&&(qm&&vl.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${o} was configured. Sentry will use 1024 instead.`),o=Xm),"string"==typeof i&&(i=[i]);try{const e=n.event,t=function(e){return!!e&&!!e.target}(e)?e.target:e;a=Yl(t,{keyAttrs:i,maxStringLength:o}),r=function(e){if(!Kl.HTMLElement)return null;let t=e;for(let n=0;n<5;n++){if(!t)return null;if(t instanceof HTMLElement){if(t.dataset.sentryComponent)return t.dataset.sentryComponent;if(t.dataset.sentryElement)return t.dataset.sentryElement}t=t.parentNode}return null}(t)}catch{a="<unknown>"}if(0===a.length)return;const s={category:`ui.${n.name}`,message:a};r&&(s.data={"ui.component_name":r}),Ph(s,{event:n.event,name:n.name,global:n.global})}}(e,t.dom),Ol("dom",n),Cl("dom",Dm)),t.xhr&&function(e){Ol("xhr",e),Cl("xhr",zm)}(function(e){return function(t){if($d()!==e)return;const{startTimestamp:n,endTimestamp:a}=t,r=t.xhr[Rm];if(!n||!a||!r)return;const{method:i,url:o,status_code:s,body:c}=r,u={method:i,url:o,status_code:s},l={xhr:t.xhr,input:c,startTimestamp:n,endTimestamp:a},d={category:"xhr",data:u,type:"http",level:nm(s)};e.emit("beforeOutgoingRequestBreadcrumb",d,l),Ph(d,l)}}(e)),t.fetch&&om(function(e){return function(t){if($d()!==e)return;const{startTimestamp:n,endTimestamp:a}=t;if(a&&(!t.fetchData.url.match(/sentry_key/)||"POST"!==t.fetchData.method))if(t.fetchData.method,t.fetchData.url,t.error){const r=t.fetchData,i={data:t.error,input:t.args,startTimestamp:n,endTimestamp:a},o={category:"fetch",data:r,level:"error",type:"http"};e.emit("beforeOutgoingRequestBreadcrumb",o,i),Ph(o,i)}else{const r=t.response,i={...t.fetchData,status_code:r?.status};t.fetchData.request_body_size,t.fetchData.response_body_size;const o={input:t.args,response:r,startTimestamp:n,endTimestamp:a},s={category:"fetch",data:i,type:"http",level:nm(i.status_code)};e.emit("beforeOutgoingRequestBreadcrumb",s,o),Ph(s,o)}}}(e)),t.history&&Im(function(e){return function(t){if($d()!==e)return;let n=t.from,a=t.to;const r=Dh(lm.location.href);let i=n?Dh(n):void 0;const o=Dh(a);i?.path||(i=r),r.protocol===o.protocol&&r.host===o.host&&(a=o.relative),r.protocol===i.protocol&&r.host===i.host&&(n=i.relative),Ph({category:"navigation",data:{from:n,to:a}})}}(e)),t.sentry&&e.on("beforeSendEvent",function(e){return function(t){$d()===e&&Ph({category:"sentry."+("transaction"===t.type?"transaction":"event"),event_id:t.event_id,level:t.level,message:_d(t)},{event:t})}}(e))}}};const ef=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],tf=(e={})=>{const t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...e};return{name:"BrowserApiErrors",setupOnce(){t.setTimeout&&Zl(lm,"setTimeout",nf),t.setInterval&&Zl(lm,"setInterval",nf),t.requestAnimationFrame&&Zl(lm,"requestAnimationFrame",af),t.XMLHttpRequest&&"XMLHttpRequest"in lm&&Zl(XMLHttpRequest.prototype,"send",rf);const e=t.eventTarget;if(e){(Array.isArray(e)?e:ef).forEach(e=>function(e,t){const n=lm,a=n[e]?.prototype;if(!a?.hasOwnProperty?.("addEventListener"))return;Zl(a,"addEventListener",function(n){return function(a,r,i){try{"function"==typeof r.handleEvent&&(r.handleEvent=hm(r.handleEvent,{mechanism:{data:{handler:xl(r),target:e},handled:!1,type:"auto.browser.browserapierrors.handleEvent"}}))}catch{}return t.unregisterOriginalCallbacks&&function(e,t,n){e&&"object"==typeof e&&"removeEventListener"in e&&"function"==typeof e.removeEventListener&&e.removeEventListener(t,n)}(this,a,r),n.apply(this,[a,hm(r,{mechanism:{data:{handler:xl(r),target:e},handled:!1,type:"auto.browser.browserapierrors.addEventListener"}}),i])}}),Zl(a,"removeEventListener",function(e){return function(t,n,a){try{const r=n.__sentry_wrapped__;r&&e.call(this,t,r,a)}catch{}return e.call(this,t,n,a)}})}(e,t))}}}};function nf(e){return function(...t){const n=t[0];return t[0]=hm(n,{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${xl(e)}`}}),e.apply(this,t)}}function af(e){return function(t){return e.apply(this,[hm(t,{mechanism:{data:{handler:xl(e)},handled:!1,type:"auto.browser.browserapierrors.requestAnimationFrame"}})])}}function rf(e){return function(...t){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(e=>{e in n&&"function"==typeof n[e]&&Zl(n,e,function(t){const n={mechanism:{data:{handler:xl(t)},handled:!1,type:`auto.browser.browserapierrors.xhr.${e}`}},a=nd(t);return a&&(n.mechanism.data.handler=xl(a)),hm(t,n)})}),e.apply(this,t)}}const of=(e={})=>{const t=e.lifecycle??"route";return{name:"BrowserSession",setupOnce(){if(void 0===lm.document)return void(qm&&vl.warn("Using the `browserSessionIntegration` in non-browser environments is not supported."));Hp({ignoreDuration:!0}),Jp();const e=qd();let n=e.getUser();e.addScopeListener(e=>{const t=e.getUser();n?.id===t?.id&&n?.ip_address===t?.ip_address||(Jp(),n=t)}),"route"===t&&Im(({from:e,to:t})=>{e!==t&&(Hp({ignoreDuration:!0}),Jp())})}}},sf=()=>({name:"CultureContext",preprocessEvent(e){const t=function(){try{const e=lm.Intl;if(!e)return;const t=e.DateTimeFormat().resolvedOptions();return{locale:t.locale,timezone:t.timeZone,calendar:t.calendar}}catch{return}}();t&&(e.contexts={...e.contexts,culture:{...t,...e.contexts?.culture}})}});const cf=(e={})=>{const t={onerror:!0,onunhandledrejection:!0,...e};return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(e){t.onerror&&(!function(e){!function(e){const t="error";Ol(t,e),Cl(t,Dl)}(t=>{const{stackParser:n,attachStacktrace:a}=lf();if($d()!==e||pm())return;const{msg:r,url:i,line:o,column:s,error:c}=t,u=function(e,t,n,a){const r=e.exception=e.exception||{},i=r.values=r.values||[],o=i[0]=i[0]||{},s=o.stacktrace=o.stacktrace||{},c=s.frames=s.frames||[],u=a,l=n,d=function(e){if(!ql(e)||0===e.length)return;if(e.startsWith("data:"))return`<${function(e,t=!0){if(e.startsWith("data:")){const n=e.match(/^data:([^;,]+)/),a=n?n[1]:"text/plain",r=e.includes(";base64,"),i=e.indexOf(",");let o="";if(t&&-1!==i){const t=e.slice(i+1);o=t.length>10?`${t.slice(0,10)}... [truncated]`:t}return`data:${a}${r?",base64":""}${o?`,${o}`:""}`}return e}(e,!1)}>`;return e}(t)??Xl();0===c.length&&c.push({colno:u,filename:d,function:_l,in_app:!0,lineno:l});return e}(wm(n,c||r,void 0,a,!1),i,o,s);u.level="error",Qp(u,{originalException:c,mechanism:{handled:!1,type:"auto.browser.global_handlers.onerror"}})})}(e),uf("onerror")),t.onunhandledrejection&&(!function(e){!function(e){const t="unhandledrejection";Ol(t,e),Cl(t,Il)}(t=>{const{stackParser:n,attachStacktrace:a}=lf();if($d()!==e||pm())return;const r=function(e){if(Bl(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch{}return e}(t),i=Bl(r)?{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(r)}`}]}}:wm(n,r,void 0,a,!0);i.level="error",Qp(i,{originalException:r,mechanism:{handled:!1,type:"auto.browser.global_handlers.onunhandledrejection"}})})}(e),uf("onunhandledrejection"))}}};function uf(e){qm&&vl.log(`Global Handler attached: ${e}`)}function lf(){const e=$d();return e?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}const df=()=>({name:"HttpContext",preprocessEvent(e){if(!lm.navigator&&!lm.location&&!lm.document)return;const t=function(){const e=Xl(),{referrer:t}=lm.document||{},{userAgent:n}=lm.navigator||{};return{url:e,headers:{...t&&{Referer:t},...n&&{"User-Agent":n}}}}(),n={...t.headers,...e.request?.headers};e.request={...t,...e.request,headers:n}}}),pf=(e={})=>{const t=e.limit||5,n=e.key||"cause";return{name:"LinkedErrors",preprocessEvent(e,a,r){Uh(mm,r.getOptions().stackParser,n,t,e,a)}}};function hf(){return!!function(){if(void 0===lm.window)return!1;const e=lm;if(e.nw)return!1;const t=e.chrome||e.browser;if(!t?.runtime?.id)return!1;const n=Xl(),a=["chrome-extension","moz-extension","ms-browser-extension","safari-web-extension"];return!(lm===lm.top&&a.some(e=>n.startsWith(`${e}://`)))}()&&(qm&&pl(()=>{}),!0)}function mf(e={}){const t=!e.skipBrowserExtensionCheck&&hf();let n=null==e.defaultIntegrations?[$h(),zh(),tm(),tf(),Zm(),cf(),pf(),Jh(),df(),sf(),of()]:e.defaultIntegrations;const a={...e,enabled:!t&&e.enabled,stackParser:(r=e.stackParser||Ym,Array.isArray(r)?bl(...r):r),integrations:eh({integrations:e.integrations,defaultIntegrations:n}),transport:e.transport||Lm};var r;return Mh(Em,a)}function ff(e){const t="undefined"!=typeof window?window.location.href:void 0;Gp("portal_code",e.portalCode),Gp("object_code",e.objectCode??""),Gp("locale",e.locale??""),function(e,t){qd().setContext(e,t)}("bukazu",{portal_code:e.portalCode,object_code:e.objectCode??null,locale:e.locale??null,url:t??null})}function vf(e){Wp(e)}function _f(e){!function(e,t){const n=t;Ld().captureMessage(e,n,void 0)}(e,"error")}const gf=new WeakSet;function yf(e,t=!1){gf.has(e.errors)||(gf.add(e.errors),vf(e.errors));const n=l.jsxs("div",{className:"bukazu-error-message",children:[l.jsx("h2",{children:$s("something_went_wrong_please_try_again")}),l.jsx("ul",{children:e.errors.graphQLErrors.map(e=>l.jsx("li",{children:e.message},e.message))})]});return 1==t?l.jsx(al,{show:!0,children:n}):n}const bf=e=>"[object Object]"===Object.prototype.toString.call(e),kf={code:"en-GB",formatDistance:dc,formatLong:{date:pc({formats:{full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"dd/MM/yyyy"},defaultWidth:"full"}),time:pc({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:pc({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},formatRelative:fc,localize:_c,match:bc,options:{weekStartsOn:1,firstWeekContainsDate:4}},wf={en:kf};function xf(e,t){const n="undefined"!=typeof window?window.__localeId__:void 0;return Xc(e,t,{locale:n&&wf[n]||wf.en||kf})}function Sf(e){return Yu(e,"yyyy-MM-dd",new Date)}const Ef="EEEE dd MMMM yyyy",jf=e.createContext({locale:"nl",portalCode:"",objectCode:""});function Tf({filters:t,PortalSite:n,limit:a,skip:r,onPageChange:i,activePage:o}){const{portalCode:s}=e.useContext(jf);let c=null,u=!1;t.departure_date&&t.arrival_date?(c=rc(Sf(t.departure_date),Sf(t.arrival_date)),u=!0):t.arrival_date&&(c=1);let p=t.properties||[];p=p.map(e=>JSON.stringify(e));let h=p.join(","),m={id:s,country_id:t.countries||null,region_id:t.regions||null,city_id:t.cities,persons_min:Number(t.persons_min)||null,persons_max:Number(t.persons_max)||null,bedrooms_min:Number(t.bedrooms_min),bathrooms_min:Number(t.bathrooms_min),arrival_date:t.arrival_date,starts_at:t.arrival_date,ends_at:t.departure_date,no_nights:Number(c)||null,extra_search:t.extra_search,properties:h,weekprice_max:Number(t.weekprice_max)||null,limit:a,skip:r};const{loading:f,error:v,data:_}=ts(u?ks:bs,{variables:m});if(f)return l.jsx("div",{children:l.jsx(d,{})});if(v)return l.jsx("div",{children:l.jsx(yf,{errors:v})});const g=l.jsx(nl,{variables:m,activePage:o,limit:a,onPageChange:i}),y=_.PortalSite.houses;return l.jsxs("div",{id:"results",className:n.options.filtersForm?n.options.filtersForm.mode:"",children:[g,0===y.length?l.jsx("div",{className:"bu-noresults",children:$s("no_results")}):null,y.map(e=>l.jsx(tl,{result:e,options:n.options.filtersForm},e.id)),g]})}async function Of(e){const t=Cf("bu_portal_session"),n={...e,url:window.location.href,session_identifier:t};fetch("https://api.bukazu.com/tracking",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(n)}).then(e=>e.text()).then(e=>{!function(e,t,n){const a=new Date;a.setTime(a.getTime()+24*n*60*60*1e3);let r="expires="+a.toUTCString();document.cookie=e+"="+t+";"+r+";path=/"}("bu_portal_session",e,14)})}function Cf(e){let t=e+"=",n=decodeURIComponent(document.cookie).split(";");for(let a=0;a<n.length;a++){let e=n[a];for(;" "==e.charAt(0);)e=e.substring(1);if(0==e.indexOf(t))return e.substring(t.length,e.length)}return""}class Nf extends e.Component{constructor(e){super(e);let t=this.props.options.filtersForm?Number(this.props.options.filtersForm.no_results):20;this.state={filters:this.props.filters||{},activePage:1,limit:t,skip:0},this.onFilterChange=this.onFilterChange.bind(this),this.pageChange=this.pageChange.bind(this)}componentDidMount(){let e=localStorage.getItem("bukazuFilters"),t=localStorage.getItem("bukazuActivePage");e&&this.setState({filters:JSON.parse(e)}),t&&this.pageChange(parseInt(t)||0)}onFilterChange(e){let t=e;this.setState({filters:t}),localStorage.setItem("bukazuFilters",JSON.stringify(t)),this.pageChange(0)}pageChange(e){const{limit:t}=this.state;let n=e*t;localStorage.setItem("bukazuActivePage",e.toString()),this.setState({activePage:e,skip:n})}render(){const{filters:e,activePage:t,limit:n,skip:a}=this.state,{options:r,PortalSite:i,locale:o}=this.props;return Of({portal_code:i.portal_code,interaction_type:"search_view",locale:o}),l.jsxs("div",{id:"search-page",className:r.filtersForm?"right"===r.filtersForm.location?"bu-reverse":"top"===r.filtersForm.location?"bu-column":"":"",children:[l.jsx(Vs,{PortalSite:i,filters:e,onFilterChange:this.onFilterChange,options:r}),l.jsx(Tf,{PortalSite:i,filters:e,activePage:t,onPageChange:this.pageChange,skip:a,limit:n})]})}}var Mf=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===Df}(e)}(e)};var Df="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Af(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Pf((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function If(e,t,n){return e.concat(t).map(function(e){return Af(e,n)})}function Pf(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||If,n.isMergeableObject=n.isMergeableObject||Mf;var a=Array.isArray(t);return a===Array.isArray(e)?a?n.arrayMerge(e,t,n):function(e,t,n){var a={};return n.isMergeableObject(e)&&Object.keys(e).forEach(function(t){a[t]=Af(e[t],n)}),Object.keys(t).forEach(function(r){n.isMergeableObject(t[r])&&e[r]?a[r]=Pf(e[r],t[r],n):a[r]=Af(t[r],n)}),a}(e,t,n):Af(t,n)}Pf.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,n){return Pf(e,n,t)},{})};var Ff=Pf,Rf="object"==typeof global&&global&&global.Object===Object&&global,zf="object"==typeof self&&self&&self.Object===Object&&self,Lf=Rf||zf||Function("return this")(),qf=Lf.Symbol,$f=Object.prototype,Bf=$f.hasOwnProperty,Vf=$f.toString,Uf=qf?qf.toStringTag:void 0;var Wf=Object.prototype.toString;var Qf=qf?qf.toStringTag:void 0;function Gf(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Qf&&Qf in Object(e)?function(e){var t=Bf.call(e,Uf),n=e[Uf];try{e[Uf]=void 0;var a=!0}catch(i){}var r=Vf.call(e);return a&&(t?e[Uf]=n:delete e[Uf]),r}(e):function(e){return Wf.call(e)}(e)}function Hf(e,t){return function(n){return e(t(n))}}var Kf=Hf(Object.getPrototypeOf,Object);function Yf(e){return null!=e&&"object"==typeof e}var Jf=Function.prototype,Xf=Object.prototype,Zf=Jf.toString,ev=Xf.hasOwnProperty,tv=Zf.call(Object);function nv(e){if(!Yf(e)||"[object Object]"!=Gf(e))return!1;var t=Kf(e);if(null===t)return!0;var n=ev.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Zf.call(n)==tv}function av(e,t){return e===t||e!=e&&t!=t}function rv(e,t){for(var n=e.length;n--;)if(av(e[n][0],t))return n;return-1}var iv=Array.prototype.splice;function ov(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var a=e[t];this.set(a[0],a[1])}}function sv(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}ov.prototype.clear=function(){this.__data__=[],this.size=0},ov.prototype.delete=function(e){var t=this.__data__,n=rv(t,e);return!(n<0)&&(n==t.length-1?t.pop():iv.call(t,n,1),--this.size,!0)},ov.prototype.get=function(e){var t=this.__data__,n=rv(t,e);return n<0?void 0:t[n][1]},ov.prototype.has=function(e){return rv(this.__data__,e)>-1},ov.prototype.set=function(e,t){var n=this.__data__,a=rv(n,e);return a<0?(++this.size,n.push([e,t])):n[a][1]=t,this};function cv(e){if(!sv(e))return!1;var t=Gf(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}var uv,lv=Lf["__core-js_shared__"],dv=(uv=/[^.]+$/.exec(lv&&lv.keys&&lv.keys.IE_PROTO||""))?"Symbol(src)_1."+uv:"";var pv=Function.prototype.toString;function hv(e){if(null!=e){try{return pv.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var mv=/^\[object .+?Constructor\]$/,fv=Function.prototype,vv=Object.prototype,_v=fv.toString,gv=vv.hasOwnProperty,yv=RegExp("^"+_v.call(gv).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function bv(e){return!(!sv(e)||(t=e,dv&&dv in t))&&(cv(e)?yv:mv).test(hv(e));var t}function kv(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return bv(n)?n:void 0}var wv=kv(Lf,"Map"),xv=kv(Object,"create");var Sv=Object.prototype.hasOwnProperty;var Ev=Object.prototype.hasOwnProperty;function jv(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var a=e[t];this.set(a[0],a[1])}}function Tv(e,t){var n,a,r=e.__data__;return("string"==(a=typeof(n=t))||"number"==a||"symbol"==a||"boolean"==a?"__proto__"!==n:null===n)?r["string"==typeof t?"string":"hash"]:r.map}function Ov(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var a=e[t];this.set(a[0],a[1])}}jv.prototype.clear=function(){this.__data__=xv?xv(null):{},this.size=0},jv.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},jv.prototype.get=function(e){var t=this.__data__;if(xv){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return Sv.call(t,e)?t[e]:void 0},jv.prototype.has=function(e){var t=this.__data__;return xv?void 0!==t[e]:Ev.call(t,e)},jv.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=xv&&void 0===t?"__lodash_hash_undefined__":t,this},Ov.prototype.clear=function(){this.size=0,this.__data__={hash:new jv,map:new(wv||ov),string:new jv}},Ov.prototype.delete=function(e){var t=Tv(this,e).delete(e);return this.size-=t?1:0,t},Ov.prototype.get=function(e){return Tv(this,e).get(e)},Ov.prototype.has=function(e){return Tv(this,e).has(e)},Ov.prototype.set=function(e,t){var n=Tv(this,e),a=n.size;return n.set(e,t),this.size+=n.size==a?0:1,this};function Cv(e){var t=this.__data__=new ov(e);this.size=t.size}Cv.prototype.clear=function(){this.__data__=new ov,this.size=0},Cv.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Cv.prototype.get=function(e){return this.__data__.get(e)},Cv.prototype.has=function(e){return this.__data__.has(e)},Cv.prototype.set=function(e,t){var n=this.__data__;if(n instanceof ov){var a=n.__data__;if(!wv||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new Ov(a)}return n.set(e,t),this.size=n.size,this};var Nv=function(){try{var e=kv(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();function Mv(e,t,n){"__proto__"==t&&Nv?Nv(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var Dv=Object.prototype.hasOwnProperty;function Av(e,t,n){var a=e[t];Dv.call(e,t)&&av(a,n)&&(void 0!==n||t in e)||Mv(e,t,n)}function Iv(e,t,n,a){var r=!n;n||(n={});for(var i=-1,o=t.length;++i<o;){var s=t[i],c=void 0;void 0===c&&(c=e[s]),r?Mv(n,s,c):Av(n,s,c)}return n}function Pv(e){return Yf(e)&&"[object Arguments]"==Gf(e)}var Fv=Object.prototype,Rv=Fv.hasOwnProperty,zv=Fv.propertyIsEnumerable,Lv=Pv(function(){return arguments}())?Pv:function(e){return Yf(e)&&Rv.call(e,"callee")&&!zv.call(e,"callee")},qv=Array.isArray;var $v="object"==typeof exports&&exports&&!exports.nodeType&&exports,Bv=$v&&"object"==typeof module&&module&&!module.nodeType&&module,Vv=Bv&&Bv.exports===$v?Lf.Buffer:void 0,Uv=(Vv?Vv.isBuffer:void 0)||function(){return!1},Wv=/^(?:0|[1-9]\d*)$/;function Qv(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&Wv.test(e))&&e>-1&&e%1==0&&e<t}function Gv(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}var Hv={};function Kv(e){return function(t){return e(t)}}Hv["[object Float32Array]"]=Hv["[object Float64Array]"]=Hv["[object Int8Array]"]=Hv["[object Int16Array]"]=Hv["[object Int32Array]"]=Hv["[object Uint8Array]"]=Hv["[object Uint8ClampedArray]"]=Hv["[object Uint16Array]"]=Hv["[object Uint32Array]"]=!0,Hv["[object Arguments]"]=Hv["[object Array]"]=Hv["[object ArrayBuffer]"]=Hv["[object Boolean]"]=Hv["[object DataView]"]=Hv["[object Date]"]=Hv["[object Error]"]=Hv["[object Function]"]=Hv["[object Map]"]=Hv["[object Number]"]=Hv["[object Object]"]=Hv["[object RegExp]"]=Hv["[object Set]"]=Hv["[object String]"]=Hv["[object WeakMap]"]=!1;var Yv="object"==typeof exports&&exports&&!exports.nodeType&&exports,Jv=Yv&&"object"==typeof module&&module&&!module.nodeType&&module,Xv=Jv&&Jv.exports===Yv&&Rf.process,Zv=function(){try{var e=Jv&&Jv.require&&Jv.require("util").types;return e||Xv&&Xv.binding&&Xv.binding("util")}catch(t){}}(),e_=Zv&&Zv.isTypedArray,t_=e_?Kv(e_):function(e){return Yf(e)&&Gv(e.length)&&!!Hv[Gf(e)]},n_=Object.prototype.hasOwnProperty;function a_(e,t){var n=qv(e),a=!n&&Lv(e),r=!n&&!a&&Uv(e),i=!n&&!a&&!r&&t_(e),o=n||a||r||i,s=o?function(e,t){for(var n=-1,a=Array(e);++n<e;)a[n]=t(n);return a}(e.length,String):[],c=s.length;for(var u in e)!t&&!n_.call(e,u)||o&&("length"==u||r&&("offset"==u||"parent"==u)||i&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||Qv(u,c))||s.push(u);return s}var r_=Object.prototype;function i_(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||r_)}var o_=Hf(Object.keys,Object),s_=Object.prototype.hasOwnProperty;function c_(e){return null!=e&&Gv(e.length)&&!cv(e)}function u_(e){return c_(e)?a_(e):function(e){if(!i_(e))return o_(e);var t=[];for(var n in Object(e))s_.call(e,n)&&"constructor"!=n&&t.push(n);return t}(e)}var l_=Object.prototype.hasOwnProperty;function d_(e){if(!sv(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=i_(e),n=[];for(var a in e)("constructor"!=a||!t&&l_.call(e,a))&&n.push(a);return n}function p_(e){return c_(e)?a_(e,!0):d_(e)}var h_="object"==typeof exports&&exports&&!exports.nodeType&&exports,m_=h_&&"object"==typeof module&&module&&!module.nodeType&&module,f_=m_&&m_.exports===h_?Lf.Buffer:void 0,v_=f_?f_.allocUnsafe:void 0;function __(e,t){var n=-1,a=e.length;for(t||(t=Array(a));++n<a;)t[n]=e[n];return t}function g_(){return[]}var y_=Object.prototype.propertyIsEnumerable,b_=Object.getOwnPropertySymbols,k_=b_?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var n=-1,a=null==e?0:e.length,r=0,i=[];++n<a;){var o=e[n];t(o,n,e)&&(i[r++]=o)}return i}(b_(e),function(t){return y_.call(e,t)}))}:g_;function w_(e,t){for(var n=-1,a=t.length,r=e.length;++n<a;)e[r+n]=t[n];return e}var x_=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)w_(t,k_(e)),e=Kf(e);return t}:g_;function S_(e,t,n){var a=t(e);return qv(e)?a:w_(a,n(e))}function E_(e){return S_(e,u_,k_)}function j_(e){return S_(e,p_,x_)}var T_=kv(Lf,"DataView"),O_=kv(Lf,"Promise"),C_=kv(Lf,"Set"),N_=kv(Lf,"WeakMap"),M_="[object Map]",D_="[object Promise]",A_="[object Set]",I_="[object WeakMap]",P_="[object DataView]",F_=hv(T_),R_=hv(wv),z_=hv(O_),L_=hv(C_),q_=hv(N_),$_=Gf;(T_&&$_(new T_(new ArrayBuffer(1)))!=P_||wv&&$_(new wv)!=M_||O_&&$_(O_.resolve())!=D_||C_&&$_(new C_)!=A_||N_&&$_(new N_)!=I_)&&($_=function(e){var t=Gf(e),n="[object Object]"==t?e.constructor:void 0,a=n?hv(n):"";if(a)switch(a){case F_:return P_;case R_:return M_;case z_:return D_;case L_:return A_;case q_:return I_}return t});var B_=Object.prototype.hasOwnProperty;var V_=Lf.Uint8Array;function U_(e){var t=new e.constructor(e.byteLength);return new V_(t).set(new V_(e)),t}var W_=/\w*$/;var Q_=qf?qf.prototype:void 0,G_=Q_?Q_.valueOf:void 0;function H_(e,t,n){var a,r,i,o=e.constructor;switch(t){case"[object ArrayBuffer]":return U_(e);case"[object Boolean]":case"[object Date]":return new o(+e);case"[object DataView]":return function(e,t){var n=t?U_(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return function(e,t){var n=t?U_(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}(e,n);case"[object Map]":case"[object Set]":return new o;case"[object Number]":case"[object String]":return new o(e);case"[object RegExp]":return(i=new(r=e).constructor(r.source,W_.exec(r))).lastIndex=r.lastIndex,i;case"[object Symbol]":return a=e,G_?Object(G_.call(a)):{}}}var K_=Object.create,Y_=function(){function e(){}return function(t){if(!sv(t))return{};if(K_)return K_(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();var J_=Zv&&Zv.isMap,X_=J_?Kv(J_):function(e){return Yf(e)&&"[object Map]"==$_(e)};var Z_=Zv&&Zv.isSet,eg=Z_?Kv(Z_):function(e){return Yf(e)&&"[object Set]"==$_(e)},tg="[object Arguments]",ng="[object Function]",ag="[object Object]",rg={};function ig(e,t,n,a,r,i){var o,s=1&t,c=2&t,u=4&t;if(void 0!==o)return o;if(!sv(e))return e;var l=qv(e);if(l){if(o=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&B_.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(e),!s)return __(e,o)}else{var d=$_(e),p=d==ng||"[object GeneratorFunction]"==d;if(Uv(e))return function(e,t){if(t)return e.slice();var n=e.length,a=v_?v_(n):new e.constructor(n);return e.copy(a),a}(e,s);if(d==ag||d==tg||p&&!r){if(o=c||p?{}:function(e){return"function"!=typeof e.constructor||i_(e)?{}:Y_(Kf(e))}(e),!s)return c?function(e,t){return Iv(e,x_(e),t)}(e,function(e,t){return e&&Iv(t,p_(t),e)}(o,e)):function(e,t){return Iv(e,k_(e),t)}(e,function(e,t){return e&&Iv(t,u_(t),e)}(o,e))}else{if(!rg[d])return r?e:{};o=H_(e,d,s)}}i||(i=new Cv);var h=i.get(e);if(h)return h;i.set(e,o),eg(e)?e.forEach(function(a){o.add(ig(a,t,n,a,e,i))}):X_(e)&&e.forEach(function(a,r){o.set(r,ig(a,t,n,r,e,i))});var m=l?void 0:(u?c?j_:E_:c?p_:u_)(e);return function(e,t){for(var n=-1,a=null==e?0:e.length;++n<a&&!1!==t(e[n],n,e););}(m||e,function(a,r){m&&(a=e[r=a]),Av(o,r,ig(a,t,n,r,e,i))}),o}rg[tg]=rg["[object Array]"]=rg["[object ArrayBuffer]"]=rg["[object DataView]"]=rg["[object Boolean]"]=rg["[object Date]"]=rg["[object Float32Array]"]=rg["[object Float64Array]"]=rg["[object Int8Array]"]=rg["[object Int16Array]"]=rg["[object Int32Array]"]=rg["[object Map]"]=rg["[object Number]"]=rg[ag]=rg["[object RegExp]"]=rg["[object Set]"]=rg["[object String]"]=rg["[object Symbol]"]=rg["[object Uint8Array]"]=rg["[object Uint8ClampedArray]"]=rg["[object Uint16Array]"]=rg["[object Uint32Array]"]=!0,rg["[object Error]"]=rg[ng]=rg["[object WeakMap]"]=!1;var og,sg;function cg(e){return ig(e,5)}const ug=n(function(){if(sg)return og;sg=1;var e=Array.isArray,t=Object.keys,n=Object.prototype.hasOwnProperty,a="undefined"!=typeof Element;function r(i,o){if(i===o)return!0;if(i&&o&&"object"==typeof i&&"object"==typeof o){var s,c,u,l=e(i),d=e(o);if(l&&d){if((c=i.length)!=o.length)return!1;for(s=c;0!==s--;)if(!r(i[s],o[s]))return!1;return!0}if(l!=d)return!1;var p=i instanceof Date,h=o instanceof Date;if(p!=h)return!1;if(p&&h)return i.getTime()==o.getTime();var m=i instanceof RegExp,f=o instanceof RegExp;if(m!=f)return!1;if(m&&f)return i.toString()==o.toString();var v=t(i);if((c=v.length)!==t(o).length)return!1;for(s=c;0!==s--;)if(!n.call(o,v[s]))return!1;if(a&&i instanceof Element&&o instanceof Element)return i===o;for(s=c;0!==s--;)if(!("_owner"===(u=v[s])&&i.$$typeof||r(i[u],o[u])))return!1;return!0}return i!=i&&o!=o}return og=function(e,t){try{return r(e,t)}catch(n){if(n.message&&n.message.match(/stack|recursion/i)||-2146828260===n.number)return!1;throw n}}}());var lg="production"===process.env.NODE_ENV;function dg(e,t){if(!lg){var n="Warning: "+t;try{throw Error(n)}catch(a){}}}function pg(e){return ig(e,4)}function hg(e,t){for(var n=-1,a=null==e?0:e.length,r=Array(a);++n<a;)r[n]=t(e[n],n,e);return r}function mg(e){return"symbol"==typeof e||Yf(e)&&"[object Symbol]"==Gf(e)}function fg(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var a=arguments,r=t?t.apply(this,a):a[0],i=n.cache;if(i.has(r))return i.get(r);var o=e.apply(this,a);return n.cache=i.set(r,o)||i,o};return n.cache=new(fg.Cache||Ov),n}fg.Cache=Ov;var vg,_g,gg,yg=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,bg=/\\(\\)?/g,kg=(vg=function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(yg,function(e,n,a,r){t.push(a?r.replace(bg,"$1"):n||e)}),t},_g=fg(vg,function(e){return 500===gg.size&&gg.clear(),e}),gg=_g.cache,_g);function wg(e){if("string"==typeof e||mg(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}var xg=qf?qf.prototype:void 0,Sg=xg?xg.toString:void 0;function Eg(e){if("string"==typeof e)return e;if(qv(e))return hg(e,Eg)+"";if(mg(e))return Sg?Sg.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function jg(e){return qv(e)?hg(e,wg):mg(e)?[e]:__(kg(function(e){return null==e?"":Eg(e)}(e)))}var Tg,Og={exports:{}},Cg={};var Ng,Mg,Dg,Ag,Ig={};function Pg(){return Mg||(Mg=1,"production"===process.env.NODE_ENV?Og.exports=function(){if(Tg)return Cg;Tg=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,a=e?Symbol.for("react.fragment"):60107,r=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,o=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,l=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,f=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,_=e?Symbol.for("react.responder"):60118,g=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:switch(e=e.type){case c:case u:case a:case i:case r:case d:return e;default:switch(e=e&&e.$$typeof){case s:case l:case m:case h:case o:return e;default:return p}}case n:return p}}}function b(e){return y(e)===u}return Cg.AsyncMode=c,Cg.ConcurrentMode=u,Cg.ContextConsumer=s,Cg.ContextProvider=o,Cg.Element=t,Cg.ForwardRef=l,Cg.Fragment=a,Cg.Lazy=m,Cg.Memo=h,Cg.Portal=n,Cg.Profiler=i,Cg.StrictMode=r,Cg.Suspense=d,Cg.isAsyncMode=function(e){return b(e)||y(e)===c},Cg.isConcurrentMode=b,Cg.isContextConsumer=function(e){return y(e)===s},Cg.isContextProvider=function(e){return y(e)===o},Cg.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Cg.isForwardRef=function(e){return y(e)===l},Cg.isFragment=function(e){return y(e)===a},Cg.isLazy=function(e){return y(e)===m},Cg.isMemo=function(e){return y(e)===h},Cg.isPortal=function(e){return y(e)===n},Cg.isProfiler=function(e){return y(e)===i},Cg.isStrictMode=function(e){return y(e)===r},Cg.isSuspense=function(e){return y(e)===d},Cg.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===u||e===i||e===r||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===o||e.$$typeof===s||e.$$typeof===l||e.$$typeof===v||e.$$typeof===_||e.$$typeof===g||e.$$typeof===f)},Cg.typeOf=y,Cg}():Og.exports=(Ng||(Ng=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,a=e?Symbol.for("react.fragment"):60107,r=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,o=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,l=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,f=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,_=e?Symbol.for("react.responder"):60118,g=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:var f=e.type;switch(f){case c:case u:case a:case i:case r:case d:return f;default:var v=f&&f.$$typeof;switch(v){case s:case l:case m:case h:case o:return v;default:return p}}case n:return p}}}var b=c,k=u,w=s,x=o,S=t,E=l,j=a,T=m,O=h,C=n,N=i,M=r,D=d,A=!1;function I(e){return y(e)===u}Ig.AsyncMode=b,Ig.ConcurrentMode=k,Ig.ContextConsumer=w,Ig.ContextProvider=x,Ig.Element=S,Ig.ForwardRef=E,Ig.Fragment=j,Ig.Lazy=T,Ig.Memo=O,Ig.Portal=C,Ig.Profiler=N,Ig.StrictMode=M,Ig.Suspense=D,Ig.isAsyncMode=function(e){return A||(A=!0),I(e)||y(e)===c},Ig.isConcurrentMode=I,Ig.isContextConsumer=function(e){return y(e)===s},Ig.isContextProvider=function(e){return y(e)===o},Ig.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Ig.isForwardRef=function(e){return y(e)===l},Ig.isFragment=function(e){return y(e)===a},Ig.isLazy=function(e){return y(e)===m},Ig.isMemo=function(e){return y(e)===h},Ig.isPortal=function(e){return y(e)===n},Ig.isProfiler=function(e){return y(e)===i},Ig.isStrictMode=function(e){return y(e)===r},Ig.isSuspense=function(e){return y(e)===d},Ig.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===u||e===i||e===r||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===o||e.$$typeof===s||e.$$typeof===l||e.$$typeof===v||e.$$typeof===_||e.$$typeof===g||e.$$typeof===f)},Ig.typeOf=y}()),Ig)),Og.exports}function Fg(){return Fg=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Fg.apply(this,arguments)}function Rg(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}!function(){if(Ag)return Dg;Ag=1;var e=Pg(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={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},r={};function i(n){return e.isMemo(n)?a:r[n.$$typeof]||t}r[e.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},r[e.Memo]=a;var o=Object.defineProperty,s=Object.getOwnPropertyNames,c=Object.getOwnPropertySymbols,u=Object.getOwnPropertyDescriptor,l=Object.getPrototypeOf,d=Object.prototype;Dg=function e(t,a,r){if("string"!=typeof a){if(d){var p=l(a);p&&p!==d&&e(t,p,r)}var h=s(a);c&&(h=h.concat(c(a)));for(var m=i(t),f=i(a),v=0;v<h.length;++v){var _=h[v];if(!(n[_]||r&&r[_]||f&&f[_]||m&&m[_])){var g=u(a,_);try{o(t,_,g)}catch(y){}}}}return t}}();var zg=e.createContext(void 0);zg.displayName="FormikContext";var Lg=zg.Provider;function qg(){var t=e.useContext(zg);return t||("production"!==process.env.NODE_ENV?dg(0,"Formik context is undefined, please verify you are calling useFormikContext() as child of a <Formik> component."):dg()),t}zg.Consumer;var $g=function(e){return"function"==typeof e},Bg=function(e){return null!==e&&"object"==typeof e},Vg=function(e){return String(Math.floor(Number(e)))===e},Ug=function(e){return"[object String]"===Object.prototype.toString.call(e)},Wg=function(t){return 0===e.Children.count(t)},Qg=function(e){return Bg(e)&&$g(e.then)};function Gg(e,t,n,a){void 0===a&&(a=0);for(var r=jg(t);e&&a<r.length;)e=e[r[a++]];return a===r.length||e?void 0===e?n:e:n}function Hg(e,t,n){for(var a=pg(e),r=a,i=0,o=jg(t);i<o.length-1;i++){var s=o[i],c=Gg(e,o.slice(0,i+1));if(c&&(Bg(c)||Array.isArray(c)))r=r[s]=pg(c);else{var u=o[i+1];r=r[s]=Vg(u)&&Number(u)>=0?[]:{}}}return(0===i?e:r)[o[i]]===n?e:(void 0===n?delete r[o[i]]:r[o[i]]=n,0===i&&void 0===n&&delete a[o[i]],a)}function Kg(e,t,n,a){void 0===n&&(n=new WeakMap),void 0===a&&(a={});for(var r=0,i=Object.keys(e);r<i.length;r++){var o=i[r],s=e[o];Bg(s)?n.get(s)||(n.set(s,!0),a[o]=Array.isArray(s)?[]:{},Kg(s,t,n,a[o])):a[o]=t}return a}var Yg={},Jg={};function Xg(t){var n=t.validateOnChange,a=void 0===n||n,r=t.validateOnBlur,i=void 0===r||r,o=t.validateOnMount,s=void 0!==o&&o,c=t.isInitialValid,u=t.enableReinitialize,l=void 0!==u&&u,d=t.onSubmit,p=Rg(t,["validateOnChange","validateOnBlur","validateOnMount","isInitialValid","enableReinitialize","onSubmit"]),h=Fg({validateOnChange:a,validateOnBlur:i,validateOnMount:s,onSubmit:d},p),m=e.useRef(h.initialValues),f=e.useRef(h.initialErrors||Yg),v=e.useRef(h.initialTouched||Jg),_=e.useRef(h.initialStatus),g=e.useRef(!1),y=e.useRef({});"production"!==process.env.NODE_ENV&&e.useEffect(function(){void 0!==c&&("production"!==process.env.NODE_ENV?dg(0,"isInitialValid has been deprecated and will be removed in future versions of Formik. Please use initialErrors or validateOnMount instead."):dg())},[]),e.useEffect(function(){return g.current=!0,function(){g.current=!1}},[]);var b=e.useState(0)[1],k=e.useRef({values:cg(h.initialValues),errors:cg(h.initialErrors)||Yg,touched:cg(h.initialTouched)||Jg,status:cg(h.initialStatus),isSubmitting:!1,isValidating:!1,submitCount:0}),w=k.current,x=e.useCallback(function(e){var t=k.current;k.current=function(e,t){switch(t.type){case"SET_VALUES":return Fg({},e,{values:t.payload});case"SET_TOUCHED":return Fg({},e,{touched:t.payload});case"SET_ERRORS":return ug(e.errors,t.payload)?e:Fg({},e,{errors:t.payload});case"SET_STATUS":return Fg({},e,{status:t.payload});case"SET_ISSUBMITTING":return Fg({},e,{isSubmitting:t.payload});case"SET_ISVALIDATING":return Fg({},e,{isValidating:t.payload});case"SET_FIELD_VALUE":return Fg({},e,{values:Hg(e.values,t.payload.field,t.payload.value)});case"SET_FIELD_TOUCHED":return Fg({},e,{touched:Hg(e.touched,t.payload.field,t.payload.value)});case"SET_FIELD_ERROR":return Fg({},e,{errors:Hg(e.errors,t.payload.field,t.payload.value)});case"RESET_FORM":return Fg({},e,t.payload);case"SET_FORMIK_STATE":return t.payload(e);case"SUBMIT_ATTEMPT":return Fg({},e,{touched:Kg(e.values,!0),isSubmitting:!0,submitCount:e.submitCount+1});case"SUBMIT_FAILURE":case"SUBMIT_SUCCESS":return Fg({},e,{isSubmitting:!1});default:return e}}(t,e),t!==k.current&&b(function(e){return e+1})},[]),S=e.useCallback(function(e,t){return new Promise(function(n,a){var r=h.validate(e,t);null==r?n(Yg):Qg(r)?r.then(function(e){n(e||Yg)},function(e){process.env.NODE_ENV,a(e)}):n(r)})},[h.validate]),E=e.useCallback(function(e,t){var n=h.validationSchema,a=$g(n)?n(t):n,r=t&&a.validateAt?a.validateAt(t,e):function(e,t,n){void 0===n&&(n=!1);var a=ty(e);return t[n?"validateSync":"validate"](a,{abortEarly:!1,context:a})}(e,a);return new Promise(function(e,t){r.then(function(){e(Yg)},function(n){"ValidationError"===n.name?e(function(e){var t={};if(e.inner){if(0===e.inner.length)return Hg(t,e.path,e.message);var n=e.inner,a=Array.isArray(n),r=0;for(n=a?n:n[Symbol.iterator]();;){var i;if(a){if(r>=n.length)break;i=n[r++]}else{if((r=n.next()).done)break;i=r.value}var o=i;Gg(t,o.path)||(t=Hg(t,o.path,o.message))}}return t}(n)):(process.env.NODE_ENV,t(n))})})},[h.validationSchema]),j=e.useCallback(function(e,t){return new Promise(function(n){return n(y.current[e].validate(t))})},[]),T=e.useCallback(function(e){var t=Object.keys(y.current).filter(function(e){return $g(y.current[e].validate)}),n=t.length>0?t.map(function(t){return j(t,Gg(e,t))}):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(n).then(function(e){return e.reduce(function(e,n,a){return"DO_NOT_DELETE_YOU_WILL_BE_FIRED"===n||n&&(e=Hg(e,t[a],n)),e},{})})},[j]),O=e.useCallback(function(e){return Promise.all([T(e),h.validationSchema?E(e):{},h.validate?S(e):{}]).then(function(e){var t=e[0],n=e[1],a=e[2];return Ff.all([t,n,a],{arrayMerge:ny})})},[h.validate,h.validationSchema,T,S,E]),C=ry(function(e){return void 0===e&&(e=w.values),x({type:"SET_ISVALIDATING",payload:!0}),O(e).then(function(e){return g.current&&(x({type:"SET_ISVALIDATING",payload:!1}),x({type:"SET_ERRORS",payload:e})),e})});e.useEffect(function(){s&&!0===g.current&&ug(m.current,h.initialValues)&&C(m.current)},[s,C]);var N=e.useCallback(function(e){var t=e&&e.values?e.values:m.current,n=e&&e.errors?e.errors:f.current?f.current:h.initialErrors||{},a=e&&e.touched?e.touched:v.current?v.current:h.initialTouched||{},r=e&&e.status?e.status:_.current?_.current:h.initialStatus;m.current=t,f.current=n,v.current=a,_.current=r;var i=function(){x({type:"RESET_FORM",payload:{isSubmitting:!!e&&!!e.isSubmitting,errors:n,touched:a,status:r,values:t,isValidating:!!e&&!!e.isValidating,submitCount:e&&e.submitCount&&"number"==typeof e.submitCount?e.submitCount:0}})};if(h.onReset){var o=h.onReset(w.values,K);Qg(o)?o.then(i):i()}else i()},[h.initialErrors,h.initialStatus,h.initialTouched,h.onReset]);e.useEffect(function(){!0!==g.current||ug(m.current,h.initialValues)||l&&(m.current=h.initialValues,N(),s&&C(m.current))},[l,h.initialValues,N,s,C]),e.useEffect(function(){l&&!0===g.current&&!ug(f.current,h.initialErrors)&&(f.current=h.initialErrors||Yg,x({type:"SET_ERRORS",payload:h.initialErrors||Yg}))},[l,h.initialErrors]),e.useEffect(function(){l&&!0===g.current&&!ug(v.current,h.initialTouched)&&(v.current=h.initialTouched||Jg,x({type:"SET_TOUCHED",payload:h.initialTouched||Jg}))},[l,h.initialTouched]),e.useEffect(function(){l&&!0===g.current&&!ug(_.current,h.initialStatus)&&(_.current=h.initialStatus,x({type:"SET_STATUS",payload:h.initialStatus}))},[l,h.initialStatus,h.initialTouched]);var M=ry(function(e){if(y.current[e]&&$g(y.current[e].validate)){var t=Gg(w.values,e),n=y.current[e].validate(t);return Qg(n)?(x({type:"SET_ISVALIDATING",payload:!0}),n.then(function(e){return e}).then(function(t){x({type:"SET_FIELD_ERROR",payload:{field:e,value:t}}),x({type:"SET_ISVALIDATING",payload:!1})})):(x({type:"SET_FIELD_ERROR",payload:{field:e,value:n}}),Promise.resolve(n))}return h.validationSchema?(x({type:"SET_ISVALIDATING",payload:!0}),E(w.values,e).then(function(e){return e}).then(function(t){x({type:"SET_FIELD_ERROR",payload:{field:e,value:Gg(t,e)}}),x({type:"SET_ISVALIDATING",payload:!1})})):Promise.resolve()}),D=e.useCallback(function(e,t){var n=t.validate;y.current[e]={validate:n}},[]),A=e.useCallback(function(e){delete y.current[e]},[]),I=ry(function(e,t){return x({type:"SET_TOUCHED",payload:e}),(void 0===t?i:t)?C(w.values):Promise.resolve()}),P=e.useCallback(function(e){x({type:"SET_ERRORS",payload:e})},[]),F=ry(function(e,t){var n=$g(e)?e(w.values):e;return x({type:"SET_VALUES",payload:n}),(void 0===t?a:t)?C(n):Promise.resolve()}),R=e.useCallback(function(e,t){x({type:"SET_FIELD_ERROR",payload:{field:e,value:t}})},[]),z=ry(function(e,t,n){var r=$g(t)?t(Gg(w.values,e)):t;return x({type:"SET_FIELD_VALUE",payload:{field:e,value:r}}),(void 0===n?a:n)?C(Hg(w.values,e,r)):Promise.resolve()}),L=e.useCallback(function(e,t){var n,a=t,r=e;if(!Ug(e)){e.persist&&e.persist();var i=e.target?e.target:e.currentTarget,o=i.type,s=i.name,c=i.id,u=i.value,l=i.checked,d=i.outerHTML,p=i.options,h=i.multiple;(a=t||(s||c))||"production"===process.env.NODE_ENV||ey({htmlContent:d,documentationAnchorLink:"handlechange-e-reactchangeeventany--void",handlerName:"handleChange"}),r=/number|range/.test(o)?(n=parseFloat(u),isNaN(n)?"":n):/checkbox/.test(o)?function(e,t,n){if("boolean"==typeof e)return Boolean(t);var a=[],r=!1,i=-1;if(Array.isArray(e))a=e,r=(i=e.indexOf(n))>=0;else if(!n||"true"==n||"false"==n)return Boolean(t);if(t&&n&&!r)return a.concat(n);if(!r)return a;return a.slice(0,i).concat(a.slice(i+1))}(Gg(w.values,a),l,u):p&&h?function(e){return Array.from(e).filter(function(e){return e.selected}).map(function(e){return e.value})}(p):u}a&&z(a,r)},[z,w.values]),q=ry(function(e){if(Ug(e))return function(t){return L(t,e)};L(e)}),$=ry(function(e,t,n){return void 0===t&&(t=!0),x({type:"SET_FIELD_TOUCHED",payload:{field:e,value:t}}),(void 0===n?i:n)?C(w.values):Promise.resolve()}),B=e.useCallback(function(e,t){e.persist&&e.persist();var n=e.target,a=n.name,r=n.id,i=n.outerHTML,o=t||(a||r);o||"production"===process.env.NODE_ENV||ey({htmlContent:i,documentationAnchorLink:"handleblur-e-any--void",handlerName:"handleBlur"}),$(o,!0)},[$]),V=ry(function(e){if(Ug(e))return function(t){return B(t,e)};B(e)}),U=e.useCallback(function(e){$g(e)?x({type:"SET_FORMIK_STATE",payload:e}):x({type:"SET_FORMIK_STATE",payload:function(){return e}})},[]),W=e.useCallback(function(e){x({type:"SET_STATUS",payload:e})},[]),Q=e.useCallback(function(e){x({type:"SET_ISSUBMITTING",payload:e})},[]),G=ry(function(){return x({type:"SUBMIT_ATTEMPT"}),C().then(function(e){var t=e instanceof Error;if(!t&&0===Object.keys(e).length){var n;try{if(void 0===(n=Y()))return}catch(a){throw a}return Promise.resolve(n).then(function(e){return g.current&&x({type:"SUBMIT_SUCCESS"}),e}).catch(function(e){if(g.current)throw x({type:"SUBMIT_FAILURE"}),e})}if(g.current&&(x({type:"SUBMIT_FAILURE"}),t))throw e})}),H=ry(function(e){if(e&&e.preventDefault&&$g(e.preventDefault)&&e.preventDefault(),e&&e.stopPropagation&&$g(e.stopPropagation)&&e.stopPropagation(),"production"!==process.env.NODE_ENV&&"undefined"!=typeof document){var t=function(t){if(void 0===(t=t||("undefined"!=typeof document?document:void 0)))return null;try{return t.activeElement||t.body}catch(e){return t.body}}();null!==t&&t instanceof HTMLButtonElement&&(t.attributes&&t.attributes.getNamedItem("type")||("production"!==process.env.NODE_ENV?dg(0,'You submitted a Formik form using a button with an unspecified `type` attribute. Most browsers default button elements to `type="submit"`. If this is not a submit button, please add `type="button"`.'):dg()))}G().catch(function(e){})}),K={resetForm:N,validateForm:C,validateField:M,setErrors:P,setFieldError:R,setFieldTouched:$,setFieldValue:z,setStatus:W,setSubmitting:Q,setTouched:I,setValues:F,setFormikState:U,submitForm:G},Y=ry(function(){return d(w.values,K)}),J=ry(function(e){e&&e.preventDefault&&$g(e.preventDefault)&&e.preventDefault(),e&&e.stopPropagation&&$g(e.stopPropagation)&&e.stopPropagation(),N()}),X=e.useCallback(function(e){return{value:Gg(w.values,e),error:Gg(w.errors,e),touched:!!Gg(w.touched,e),initialValue:Gg(m.current,e),initialTouched:!!Gg(v.current,e),initialError:Gg(f.current,e)}},[w.errors,w.touched,w.values]),Z=e.useCallback(function(e){return{setValue:function(t,n){return z(e,t,n)},setTouched:function(t,n){return $(e,t,n)},setError:function(t){return R(e,t)}}},[z,$,R]),ee=e.useCallback(function(e){var t=Bg(e),n=t?e.name:e,a=Gg(w.values,n),r={name:n,value:a,onChange:q,onBlur:V};if(t){var i=e.type,o=e.value,s=e.as,c=e.multiple;"checkbox"===i?void 0===o?r.checked=!!a:(r.checked=!(!Array.isArray(a)||!~a.indexOf(o)),r.value=o):"radio"===i?(r.checked=a===o,r.value=o):"select"===s&&c&&(r.value=r.value||[],r.multiple=!0)}return r},[V,q,w.values]),te=e.useMemo(function(){return!ug(m.current,w.values)},[m.current,w.values]),ne=e.useMemo(function(){return void 0!==c?te?w.errors&&0===Object.keys(w.errors).length:!1!==c&&$g(c)?c(h):c:w.errors&&0===Object.keys(w.errors).length},[c,te,w.errors,h]);return Fg({},w,{initialValues:m.current,initialErrors:f.current,initialTouched:v.current,initialStatus:_.current,handleBlur:V,handleChange:q,handleReset:J,handleSubmit:H,resetForm:N,setErrors:P,setFormikState:U,setFieldTouched:$,setFieldValue:z,setFieldError:R,setStatus:W,setSubmitting:Q,setTouched:I,setValues:F,submitForm:G,validateForm:C,validateField:M,isValid:ne,dirty:te,unregisterField:A,registerField:D,getFieldProps:ee,getFieldMeta:X,getFieldHelpers:Z,validateOnBlur:i,validateOnChange:a,validateOnMount:s})}function Zg(t){var n=Xg(t),a=t.component,r=t.children,i=t.render,o=t.innerRef;return e.useImperativeHandle(o,function(){return n}),"production"!==process.env.NODE_ENV&&e.useEffect(function(){t.render&&("production"!==process.env.NODE_ENV?dg(0,"<Formik render> has been deprecated and will be removed in future versions of Formik. Please use a child callback function instead. To get rid of this warning, replace <Formik render={(props) => ...} /> with <Formik>{(props) => ...}</Formik>"):dg())},[]),e.createElement(Lg,{value:n},a?e.createElement(a,n):i?i(n):r?$g(r)?r(n):Wg(r)?null:e.Children.only(r):null)}function ey(e){e.htmlContent,e.documentationAnchorLink,e.handlerName}function ty(e){var t=Array.isArray(e)?[]:{};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var a=String(n);!0===Array.isArray(e[a])?t[a]=e[a].map(function(e){return!0===Array.isArray(e)||nv(e)?ty(e):""!==e?e:void 0}):nv(e[a])?t[a]=ty(e[a]):t[a]=""!==e[a]?e[a]:void 0}return t}function ny(e,t,n){var a=e.slice();return t.forEach(function(t,r){if(void 0===a[r]){var i=!1!==n.clone&&n.isMergeableObject(t);a[r]=i?Ff(Array.isArray(t)?[]:{},t,n):t}else n.isMergeableObject(t)?a[r]=Ff(e[r],t,n):-1===e.indexOf(t)&&a.push(t)}),a}var ay="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?e.useLayoutEffect:e.useEffect;function ry(t){var n=e.useRef(t);return ay(function(){n.current=t}),e.useCallback(function(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];return n.current.apply(void 0,t)},[])}function iy(t){var n=t.validate,a=t.name,r=t.render,i=t.children,o=t.as,s=t.component,c=t.className,u=Rg(t,["validate","name","render","children","as","component","className"]),l=Rg(qg(),["validate","validationSchema"]);"production"!==process.env.NODE_ENV&&e.useEffect(function(){r&&("production"!==process.env.NODE_ENV?dg(0,'<Field render> has been deprecated and will be removed in future versions of Formik. Please use a child callback function instead. To get rid of this warning, replace <Field name="'+a+'" render={({field, form}) => ...} /> with <Field name="'+a+'">{({field, form, meta}) => ...}</Field>'):dg()),o&&i&&$g(i)&&("production"!==process.env.NODE_ENV?dg(0,"You should not use <Field as> and <Field children> as a function in the same <Field> component; <Field as> will be ignored."):dg()),s&&i&&$g(i)&&("production"!==process.env.NODE_ENV?dg(0,"You should not use <Field component> and <Field children> as a function in the same <Field> component; <Field component> will be ignored."):dg()),r&&i&&!Wg(i)&&("production"!==process.env.NODE_ENV?dg(0,"You should not use <Field render> and <Field children> in the same <Field> component; <Field children> will be ignored"):dg())},[]);var d=l.registerField,p=l.unregisterField;e.useEffect(function(){return d(a,{validate:n}),function(){p(a)}},[d,p,a,n]);var h=l.getFieldProps(Fg({name:a},u)),m=l.getFieldMeta(a),f={field:h,form:l};if(r)return r(Fg({},f,{meta:m}));if($g(i))return i(Fg({},f,{meta:m}));if(s){if("string"==typeof s){var v=u.innerRef,_=Rg(u,["innerRef"]);return e.createElement(s,Fg({ref:v},h,_,{className:c}),i)}return e.createElement(s,Fg({field:h,form:l},u,{className:c}),i)}var g=o||"input";if("string"==typeof g){var y=u.innerRef,b=Rg(u,["innerRef"]);return e.createElement(g,Fg({ref:y},h,b,{className:c}),i)}return e.createElement(g,Fg({},h,u,{className:c}),i)}var oy=e.forwardRef(function(t,n){var a=t.action,r=Rg(t,["action"]),i=null!=a?a:"#",o=qg(),s=o.handleReset,c=o.handleSubmit;return e.createElement("form",Fg({onSubmit:c,ref:n,onReset:s,action:i},r))});oy.displayName="Form";const sy=({height:e="16px",width:t="16px"})=>l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",version:"1.1",x:"0px",y:"0px",viewBox:"0 0 100 100",enableBackground:"new 0 0 100 100",xmlSpace:"preserve",style:{height:e,width:t},children:[l.jsx("path",{d:"M50,5c24.813,0,45,20.187,45,45c0,24.813-20.187,45-45,45C25.187,95,5,74.813,5,50C5,25.187,25.187,5,50,5 M50,0C22.386,0,0,22.386,0,50c0,27.614,22.386,50,50,50c27.614,0,50-22.386,50-50C100,22.386,77.614,0,50,0L50,0z"}),l.jsx("circle",{cx:"50",cy:"29.546",r:"4.934"}),l.jsx("rect",{x:"46.5",y:"41.21",width:"7",height:"34.179"})]}),cy=()=>{const{locale:t}=e.useContext(jf);return l.jsxs(l.Fragment,{children:[l.jsx("h2",{children:$s("cancel_insurance_normal_long")}),l.jsx("p",{children:$s("cancel_insurance_normal_desc")}),l.jsx("h3",{children:$s("cancel_insurance_more_insured")}),l.jsx("p",{children:$s("cancel_insurance_more_insured_desc")}),l.jsx("h3",{children:$s("cancel_insurance_important")}),l.jsx("p",{children:$s("cancel_insurance_important_message")}),l.jsx("h3",{children:$s("cancel_insurance_for_whom")}),l.jsx("p",{children:$s("cancel_insurance_for_whom_explain")}),l.jsx("h3",{children:$s("cancel_insurance_questions")}),l.jsxs("p",{children:[$s("cancel_insurance_questions_explain_1"),l.jsx("a",{href:{nl:"https://recreatieverzekeringen.nl/veelgestelde-vragen",de:"https://recreatieverzekeringen.nl/de/haufig-gestellte-fragen",en:"https://recreatieverzekeringen.nl/en/frequently-asked-questions",fr:"https://recreatieverzekeringen.nl/en/frequently-asked-questions",es:"https://recreatieverzekeringen.nl/en/frequently-asked-questions",it:"https://recreatieverzekeringen.nl/en/frequently-asked-questions"}[t],target:"_blank",children:$s("cancel_insurance_questions_explain_link")}),$s("cancel_insurance_questions_explain_2")]}),l.jsx("h3",{children:$s("terms")}),l.jsx("a",{href:`https://api.bukazu.com/files/${t}/insurance.pdf`,target:"_blank",rel:"noopener noreferrer",children:$s("show_terms")})]})};function uy(e){return Array.apply(null,{length:e+1}).map(Number.call,Number)}function ly(e,t){for(var n=(t=(t=t.replace(/\[(\w+)\]/g,".$1")).replace(/^\./,"")).split("."),a=0,r=n.length;a<r;++a){var i=n[a];if(!(i in e))return;e=e[i]}return e}function dy(e,t){return l.jsx("option",{value:t,children:$s(e)})}function py({label:e,description:t,count:n=0,...a}){const r=uy(n);return l.jsx(iy,{name:a.name,children:({field:n,meta:i})=>l.jsxs("div",{className:"form-row inline",id:`bukazu_form_${a.name}`,children:[l.jsx("label",{htmlFor:a.name,children:$s(e)}),l.jsx("select",{...n,...a,children:r.map(e=>l.jsx("option",{value:e,children:e},e))}),t,i.touched&&i.error&&l.jsx("div",{className:"error-message bu-error-message",children:i.error})]})})}function hy({label:e,description:t,name:n,inline:a}){return l.jsx(iy,{name:n,children:({field:n,meta:r})=>{const{value:i,name:o}=n,s=i&&""!==i?i:"";return l.jsxs("div",{className:`form-row ${a&&"inline"}`,id:`bukazu_form_${o}`,children:[l.jsx("label",{htmlFor:o,children:$s(e)}),l.jsx("input",{type:"date",className:"bukazu-date-picker",id:o,name:o,value:s,onChange:n.onChange}),l.jsx("span",{className:"bu-input-description",children:t}),r.touched&&r.error&&l.jsx("div",{className:"error-message bu-error-message",children:r.error})]})}})}function my(e){if(e.cancel_insurance)return l.jsxs("div",{className:"form-row inline",children:[l.jsx("label",{htmlFor:"cancel_insurance",children:$s("cancel_insurance")}),l.jsxs(iy,{component:"select",name:"cancel_insurance",required:!0,children:[dy("choose",""),dy("cancel_insurance_normal","1"),dy("none","0")]}),l.jsx(al,{buttonText:l.jsx(sy,{}),children:l.jsx(cy,{})})]})}hy.defaultValues={inline:!0};const fy=({house:e,values:t})=>e.cancel_insurance?l.jsxs("div",{className:"form-section bup-16",id:"insurances",children:[l.jsx("h2",{children:$s("insurances")}),my(e),t.cancel_insurance&&"0"!==t.cancel_insurance&&l.jsx(hy,{label:"extra_fields.date_of_birth",name:"extra_fields.date_of_birth",required:!0,inline:!1,description:$s("insurance_company_needs_date_of_birth")})]}):l.jsx("div",{});function vy({house:e}){const[t,{loading:n,error:a,data:r}]=ls(js);return l.jsxs("div",{className:"form-row inline",children:[l.jsx("label",{htmlFor:"discount_code",children:$s("discount_code")}),l.jsx(iy,{name:"discount_code",children:({field:n,form:a})=>l.jsx("input",{...n,onChange:r=>{t({variables:{code:r.target.value,house_code:e.code}}),a.setFieldValue(n.name,r.target.value)}})}),n&&l.jsx("div",{className:"bu_discount_code",children:"Loading..."}),a&&l.jsx("div",{className:"bu_discount_code",children:$s("no_discount_code_found")}),r&&l.jsxs("div",{className:"bu_discount_code",children:[l.jsx("div",{children:r.checkDiscountCode.name}),r.checkDiscountCode.use_price?l.jsxs("div",{children:["€ ",r.checkDiscountCode.price]}):l.jsxs("div",{children:[r.checkDiscountCode.percentage,"%"]})]})]})}const _y=({errors:e,house:t,bookingFormConfiguration:n,values:a})=>{if(t.discounts&&"0"!==t.discounts||n.showDiscountCode){const r=t.discounts?t.discounts.split(","):[];return l.jsxs("div",{className:"form-section bup-16",children:[t.discounts&&"0"!==t.discounts&&l.jsxs(l.Fragment,{children:[l.jsxs("div",{className:"form-row inline",children:[l.jsx("label",{htmlFor:"discount",children:$s("discount")}),l.jsx(iy,{component:"select",name:"discount",children:r.map(e=>l.jsxs("option",{value:e,children:[e,"%"]},e))})]}),l.jsxs("div",{className:"form-row inline",children:[l.jsx("label",{htmlFor:"discount_reason",children:$s("discount_reason")}),l.jsx(iy,{name:"discount_reason"}),e.discount_reason&&l.jsx("div",{className:"error-message bu-error-message",children:e.discount_reason})]}),l.jsx("div",{children:l.jsx("i",{style:{fontSize:14},children:t.discounts_info})})]}),n.showDiscountCode&&l.jsx(vy,{errors:e,house:t,values:a})]})}return null},gy=({error:e})=>e?l.jsx("div",{className:"input-feedback",children:e}):null,yy=({field:{name:e,value:t,onChange:n,onBlur:a},id:r,label:i,...o})=>l.jsxs("div",{children:[l.jsx("input",{name:e,id:r,type:"radio",value:r,checked:r===t,onChange:n,onBlur:a,className:"radio-button",...o}),l.jsx("label",{htmlFor:r,children:i})]}),by=({error:e,touched:t,label:n,className:a,children:r})=>l.jsxs("div",{className:a,children:[l.jsx("div",{className:"legend",children:n}),r,t&&l.jsx(gy,{error:e})]});function ky({house:e}){return l.jsx(l.Fragment,{children:e.allow_option&&l.jsx("div",{children:l.jsxs(by,{id:"is_option",className:"booking_option",children:[l.jsx(iy,{component:yy,name:"is_option",id:"true",disabled:!e.allow_option,label:$s("option")}),l.jsx(iy,{component:yy,name:"is_option",id:"false",label:$s("booking")})]})})})}function wy({description:e}){let t=l.jsx("span",{});return e&&(t=l.jsx("span",{style:{padding:"0 0 0 8px"},children:l.jsx(al,{buttonText:l.jsx(sy,{}),children:l.jsx("p",{children:e})})})),t}function xy({name:e,amount:t,description:n,method_name:a,formatName:r,forceMethod:i}){return l.jsxs("tr",{children:[l.jsxs("td",{children:[r?$s(e):e,n&&l.jsxs(l.Fragment,{children:[" ",l.jsx(wy,{description:n})]})]}),l.jsx("td",{className:"price",children:t&&t>0?l.jsxs(l.Fragment,{children:["€"," ",Bs(t,{minimumFractionDigits:2,maximumFractionDigits:2}),i&&l.jsxs(l.Fragment,{children:[" ",a]})]}):l.jsx(l.Fragment,{children:a})})]})}function Sy({prices:e}){const{insurances:t,required_costs:n}=e.total_costs,{not_on_site:a}=n;return l.jsx("div",{className:"costs-section",children:l.jsx("table",{children:l.jsxs("tbody",{children:[t&&l.jsx(l.Fragment,{children:Object.keys(t).map(e=>{if(t[e]>0)return l.jsx(xy,{name:e,formatName:!0,amount:t[e]},e)})}),e.required_house_costs.map(e=>{if(!e.on_site&&"0120"!==e.gl)return"none"===e.method?l.jsx(xy,{...e},e.id):0===e.amount?null:l.jsx(xy,{...e,amount:a?.find(t=>t.id==e.id).amount},e.id)})]})})})}function Ey({prices:e}){const{rent_price:t,discount:n,discounted_price:a}=e;return l.jsx("div",{className:"costs-section",children:l.jsx("table",{children:l.jsxs("tbody",{children:[l.jsx(xy,{name:"rent_price",formatName:!0,amount:t}),n>0?l.jsxs(l.Fragment,{children:[l.jsx(xy,{name:"discount",formatName:!0,amount:n}),l.jsx(xy,{name:"price_after_discount",formatName:!0,amount:a})]}):null]})})})}function jy({prices:e}){const{optional_costs:t}=e.total_costs,{not_on_site:n}=t;return l.jsx("div",{className:"costs-section",children:l.jsx("table",{children:l.jsx("tbody",{children:e.optional_house_costs.map(e=>{if(!e.on_site&&"0120"!==e.gl){if("none"===e.method)return l.jsx(xy,{...e},e.id);if("on_site"===e.method){if(n.find(t=>t.id==e.id).nr_of_items>0)return l.jsx(xy,{...e,amount:e.amount,forceMethod:!0},e.id)}else{let t=n.find(t=>t.id==e.id).amount;if(t>0)return l.jsx(xy,{...e,amount:t},e.id)}}})})})})}function Ty({prices:e}){const{optional_costs:t}=e.total_costs,{on_site:n}=t;return l.jsx(l.Fragment,{children:e.optional_house_costs.map(e=>{if(e.on_site&&"0120"!==e.gl){if("none"===e.method)return l.jsx(xy,{...e},e.id);if("on_site"===e.method){if(n?.find(t=>t.id==e.id).nr_of_items>0)return l.jsx(xy,{...e,amount:e.amount,forceMethod:!0},e.id)}else{let t=n?.find(t=>t.id==e.id).amount;if(t>0)return l.jsx(xy,{...e,amount:t},e.id)}}})})}function Oy({prices:e}){const{required_costs:t}=e.total_costs,{on_site:n}=t;return l.jsxs("div",{className:"costs-section",children:[l.jsx("strong",{children:$s("costs_on_site")}),l.jsx("table",{children:l.jsxs("tbody",{children:[e.required_house_costs.map(e=>{if(e.on_site&&"0120"!==e.gl){if("none"===e.method)return l.jsx(xy,{...e},e.id);{let t=n.find(t=>t.id==e.id)?.amount;return l.jsx(xy,{...e,amount:t},e.id)}}}),l.jsx(Ty,{prices:e})]})})]})}function Cy({children:e}){return l.jsx("div",{className:"costs-section",children:l.jsx("table",{children:l.jsx("tbody",{children:e})})})}function Ny({prices:e}){return l.jsxs(l.Fragment,{children:[l.jsx(Cy,{children:l.jsxs("tr",{children:[l.jsx("th",{style:{textAlign:"left",testTransform:"capitalize"},children:$s("total")}),l.jsxs("th",{className:"price",style:{fontSize:18},children:["€"," ",Bs(e.total_costs.sub_total,{minimumFractionDigits:2,maximumFractionDigits:2})]})]})}),l.jsxs(Cy,{children:[l.jsx(My,{cost_array:e.required_house_costs,price_array:e.total_costs.required_costs.on_site}),l.jsx(My,{cost_array:e.required_house_costs,price_array:e.total_costs.required_costs.not_on_site}),l.jsx(My,{cost_array:e.optional_house_costs,price_array:e.total_costs.optional_costs.on_site}),l.jsx(My,{cost_array:e.optional_house_costs,price_array:e.total_costs.optional_costs.not_on_site})]}),l.jsx(Cy,{children:l.jsxs("tr",{children:[l.jsx("th",{style:{textAlign:"left",testTransform:"capitalize"},children:$s("total")}),l.jsxs("td",{className:"price",children:["€"," ",Bs(e.total_costs.total_price,{minimumFractionDigits:2,maximumFractionDigits:2})]})]})})]})}function My({cost_array:e,price_array:t}){return l.jsx(l.Fragment,{children:e.map(e=>{let n=t.find(t=>t.id==e.id);if("0120"===e.gl&&n?.amount>0)return l.jsx(xy,{...e,amount:n.amount},e.id)})})}function Dy({values:t,house:n}){let a=Number(t.babies)-Number(n.babies_extra);a<0&&(a=0);const r=Number(t.children)+Number(t.adults)+a,{portalCode:i,objectCode:o}=e.useContext(jf),{loading:s,error:c,data:u}=ts(xs,{variables:{id:i,persons:r,house_id:o,starts_at:JSON.stringify(t.arrivalDate.date),ends_at:JSON.stringify(t.departureDate.date),costs:JSON.stringify(t.costs),discount:Number(t.discount),discount_code:t.discount_code,cancel_insurance:Number(t.cancel_insurance)},fetchPolicy:"network-only"});if(s)return"Loading...";if(c)return l.jsx("div",{children:JSON.stringify(c)});const d=u.PortalSite.houses[0].booking_price;return l.jsxs(l.Fragment,{children:[l.jsx(Ey,{prices:d}),l.jsx(Sy,{prices:d}),l.jsx(jy,{prices:d}),l.jsx(Oy,{prices:d}),l.jsx(Ny,{prices:d})]})}xy.defaultValues={formatName:!1,forceMethod:!1};class Ay{constructor(e,t){this.house=e,this.values=t,this.t={formatMessage:(e,t)=>$s(e.id,t)}}updateValues(e){this.values=e}render(){const{arrivalDate:e,departureDate:t}=this.values,n=document.createDocumentFragment(),a=document.createElement("h2");a.textContent=this.t.formatMessage({id:"booking_details"}),n.appendChild(a);const r=document.createElement("div");r.className="house-details";const i=document.createElement("div");if(i.textContent=this.house.name,r.appendChild(i),this.house.image_url){const e=document.createElement("img");e.src=this.house.image_url,e.alt="",r.appendChild(e)}const o=document.createElement("table"),s=document.createElement("tbody"),c=document.createElement("tr"),u=document.createElement("th");u.textContent=this.t.formatMessage({id:`${this.house.house_type}.arrival`});const l=document.createElement("td");l.className="price",l.textContent=xf(Sf(e.date),Ef);const d=document.createElement("td");d.textContent=`${e.arrival_time_from} - ${e.arrival_time_to}`,c.append(u,l,d);const p=document.createElement("tr"),h=document.createElement("th");h.textContent=this.t.formatMessage({id:`${this.house.house_type}.departure`});const m=document.createElement("td");m.className="price",m.textContent=xf(Sf(t.date),Ef);const f=document.createElement("td");f.textContent=t.departure_time,p.append(h,m,f),s.append(c,p),o.appendChild(s),r.appendChild(o),n.appendChild(r);const v=document.createElement("div");return v.appendChild(n),v}}function Iy({values:t,house:n}){const a=e.useRef(null),r=e.useRef(null);return a.current||(a.current=new Ay(n,t)),e.useEffect(()=>{if(a.current&&(a.current.updateValues(t),r.current)){for(;r.current.firstChild;)r.current.removeChild(r.current.firstChild);r.current.appendChild(a.current.render())}},[t,n]),l.jsxs("div",{children:[l.jsx("div",{ref:r}),l.jsx(ky,{house:n}),l.jsx(Dy,{values:t,house:n})]})}const Py=[{id:"first_name",label:"Voornaam",type:"text",options:["text"],required:!0,placeholder:""},{id:"preposition",label:"Tussenvoegsel",type:"text",options:["text"],required:!1,placeholder:""},{id:"last_name",label:"Achternaam",type:"text",options:["text"],required:!0,mandatory:!0,placeholder:""},{id:"address",label:"Adres",type:"text",options:["text"],required:!0,placeholder:""},{id:"house_number",label:"Huisnummer",type:"text",options:["text"],required:!0,placeholder:""},{id:"zipcode",label:"Postcode",type:"text",options:["text"],required:!0,placeholder:""},{id:"city",label:"Plaats",type:"text",options:["text"],required:!0,placeholder:""},{id:"country",label:"Land",type:"select",options:["select"],required:!0,mandatory:!0,placeholder:""},{id:"email",label:"E-mail",type:"email",options:["email"],required:!0,mandatory:!0,placeholder:""},{id:"phone_mobile",label:"Mobiel telefoonnummer",type:"text",options:["text"],required:!1,placeholder:""},{id:"phone",label:"Telefoonnummer",type:"text",options:["text"],required:!0,placeholder:""},{id:"comment",label:"Opmerking",type:"textarea",options:["textarea"],required:!1,rows:10}],Fy=()=>l.jsxs("div",{className:"success-message",children:[l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",version:"1.1",x:"0px",y:"0px",viewBox:"0 0 100 125",style:{enableBackground:"new 0 0 100 100;",fill:"green",height:"150px"},xmlSpace:"preserve",children:l.jsx("path",{d:"M50,5C25.2,5,5,25.1,5,50c0,24.8,20.2,45,45,45s45-20.2,45-45C95,25.1,74.8,5,50,5z M72.7,38.2L44.2,66.7 c-0.4,0.4-0.9,0.6-1.4,0.6s-1-0.2-1.4-0.6l-14-14c-0.8-0.8-0.8-2,0-2.8c0.8-0.8,2-0.8,2.8,0l12.6,12.6l27.1-27.1 c0.8-0.8,2-0.8,2.8,0C73.5,36.1,73.5,37.4,72.7,38.2z"})}),l.jsx("h3",{children:$s("thank_you_for_your_request")}),l.jsx("p",{children:$s("we_sent_confirmation_check_email")})]}),Ry=["en","nl","de","fr","es","it"];const zy=new Map;async function Ly(e){const t=function(e){return Ry.includes(e)}(e)?e:"en";if(zy.has(t))return zy.get(t);let n;switch(t){case"nl":n=(await Promise.resolve().then(()=>nk)).default;break;case"de":n=(await Promise.resolve().then(()=>rk)).default;break;case"fr":n=(await Promise.resolve().then(()=>ok)).default;break;case"es":n=(await Promise.resolve().then(()=>ck)).default;break;case"it":n=(await Promise.resolve().then(()=>lk)).default;break;default:n=(await Promise.resolve().then(()=>pk)).default}return zy.set(t,n),n}function qy(e){return("string"==typeof e||"number"==typeof e)&&(!isNaN(e)&&(0|(t=parseFloat(e)))===t);var t}function $y({bookingFields:t,errors:n,touched:a,PortalSite:r,values:i}){const[o,s]=e.useState([]),[c,u]=e.useState(!0);e.useEffect(()=>{let e=!0;const t="undefined"!=typeof window&&window.__localeId__||"en";return(async()=>{try{const n=await Ly(t);e&&s(n)}catch{}finally{e&&u(!1)}})(),()=>{e=!1}},[]);let d=[...t];const p=["address","house_number","zipcode","city"];return"1"!==i.cancel_insurance&&"2"!==i.cancel_insurance||p.forEach(e=>{const n=Py.find(t=>t.id===e);if(!n)return;let a=t.findIndex(t=>t.id===e);-1!==a?d[a]=n:d.push(n)}),l.jsxs("div",{className:"form-section bup-16",children:[l.jsx("h2",{children:$s("personal_details")}),d.map(e=>{if("telephone"===e.id&&(e.id="phonenumber"),"booking_field"===e.type||qy(e.id)){const t=r.booking_fields?.find(t=>t.id===e.id);return t?l.jsxs("div",{className:"form-row",children:[l.jsxs("label",{htmlFor:`extra_fields.booking_field_${t.id}`,children:[t.label," ",e.required&&l.jsx("span",{children:"*"})]}),l.jsx(iy,{onKeyPress:e=>{13===e.which&&e.preventDefault()},id:`extra_fields.booking_field_${t.id}`,type:"text"===t.field_type?"input":t.field_type,component:"text"===t.field_type?"input":t.field_type,name:`extra_fields.booking_field_${t.id}`}),n[e.id]&&(a.extra_fields&&a.extra_fields[`booking_field_${t.id}`]||a[e.id])&&l.jsx("div",{className:"error-message bu-error-message",children:n[e.id]})]},t.id):null}return"country"===e.id?l.jsxs("div",{className:"form-row",children:[l.jsxs("label",{htmlFor:e.id,children:[r[`${e.id}_label`]," ",e.required&&l.jsx("span",{children:"*"})]}),l.jsx(iy,{component:"select",name:e.id,disabled:c,children:o.map(e=>l.jsx("option",{value:e.alpha2,children:e.name},e.alpha2))}),n[e.id]&&l.jsx("div",{className:"error-message bu-error-message",children:n[e.id]})]},e.id):"date"===e.type?l.jsx("div",{className:"form-row",children:l.jsx(hy,{name:e.id,label:e.id,inline:!1})},e.id):l.jsxs("div",{className:"form-row",children:[l.jsxs("label",{htmlFor:e.id,children:[r[`${e.id.replace(/\./g,"_")}_label`]," ",e.required&&l.jsx("span",{children:"*"})]}),l.jsx(iy,{type:e.type,name:e.id,onKeyPress:e=>{13===e.which&&e.preventDefault()}}),n[e.id]&&a[e.id]&&l.jsx("div",{className:"error-message bu-error-message",children:n[e.id]})]},e.id)})]})}function By({costs:e}){return 0===e.length?null:l.jsxs("div",{className:"form-section bup-16 optional_house_costs",children:[l.jsx("h2",{children:$s("extra_costs_bookable")}),l.jsx("div",{children:e.map(e=>!["none","total"].includes(e.method)&&e.max_available>0?1===e.max_available?l.jsxs("div",{className:"form-row inline",children:[l.jsx("label",{htmlFor:e.id,children:e.name}),l.jsxs(iy,{component:"select",name:`costs[${e.id}]`,children:[l.jsx("option",{value:0,children:$s("no")}),l.jsx("option",{value:1,children:$s("yes")})]}),l.jsxs("div",{className:"price_per",children:["€"," ",Bs(e.amount,{minimumFractionDigits:2,maximumFractionDigits:2})," ",e.method_name]}),l.jsx("div",{children:e.description?l.jsx("div",{children:l.jsx(al,{buttonText:l.jsx(sy,{}),children:l.jsx("p",{children:e.description})})}):null})]},e.id):l.jsxs("div",{className:"form-row inline",children:[l.jsx("label",{htmlFor:e.id,children:e.name}),l.jsx(iy,{component:"select",name:`costs[${e.id}]`,children:uy(e.max_available).map(e=>l.jsx("option",{value:e,children:e},e))}),l.jsxs("div",{className:"price_per",children:["€"," ",Bs(e.amount,{minimumFractionDigits:2,maximumFractionDigits:2})," ",e.method_name]}),l.jsx("div",{children:e.description?l.jsx("div",{children:l.jsx(al,{buttonText:l.jsx(sy,{}),children:l.jsx("p",{children:e.description})})}):null})]},e.id):"")})]})}function Vy({bookingFormConfiguration:e,house:t}){return l.jsxs(l.Fragment,{children:[l.jsx(py,{name:"adults",label:"adults",count:t.persons,description:l.jsx("div",{className:"age-description",children:$s("adults_from",{age:e.adultsFromAge})})}),e.childrenAllowed?l.jsx(py,{name:"children",label:"children",count:t.persons-1,description:l.jsx("div",{className:"age-description",children:$s("children_from",{from:e.childrenFromAge,til:e.childrenTillAge})})}):null,e.babiesAllowed?l.jsx(py,{name:"babies",label:"babies",count:t.persons-1,description:l.jsx("div",{className:"age-description",children:$s("babies_from",{babies:e.babiesTillAge})})}):null]})}function Uy(e,t,n){const{babies_extra:a,persons:r}=t;let i={},o=Number(e.babies)-Number(a);o<0&&(o=0),e.persons=Number(e.children)+Number(e.adults)+o;for(let c of n)if(c.required)if(qy(c.id)){const t=ly(e,`extra_fields.booking_field_${c.id}`);t&&""!==t||(i[c.id]=$s("required"))}else{const t=ly(e,c.id);t&&""!==t||(i[c.id]=$s("required"))}var s;return e.adults<1&&r>0&&(i.adults=$s("at_least_1_adult")),Number(e.discount)>0&&!e.discount_reason&&(i.discount_reason=$s("you_need_to_give_reason")),e.persons>r&&(i.max_persons=$s("max_persons_reached")),0!==e.cancel_insurance&&(s=e.extra_fields?.date_of_birth,eu(new Date(s),el(new Date)))&&(i["extra_fields.date_of_birth"]=$s("at_least_18y_old"),i.insurances=$s("at_least_18y_old")),i}const Wy={selectedDate:null,arrivalDate:null,departureDate:null,bookingStarted:!1,persons:0},Qy=e.createContext(Wy),Gy=e.createContext(Ky);function Hy({children:t}){const[n,a]=e.useReducer(Ky,Wy);return l.jsx(Qy.Provider,{value:n,children:l.jsx(Gy.Provider,{value:a,children:t})})}function Ky(e,t){switch(t.type){case"clicked":{const{day:n,house:a}=t,{selectedDate:r,arrivalDate:i}=e,o=Sf(n.date),s=a.persons>2?2:a.persons;return n.departure&&r&&i&&eu(o,r)&&rc(o,r)<=a.max_nights&&rc(o,r)>=i.min_nights&&rc(o,r)<=i.max_nights?{...e,departureDate:n}:n.arrival?{bookingStarted:!1,selectedDate:o,arrivalDate:n,departureDate:null,persons:s}:e}case"reset":return Wy;case"start":return{...e,bookingStarted:!0,persons:t.persons};case"return":return{...e,bookingStarted:!1};default:throw Error("Unknown action: "+t.type)}}function Yy({house:t,PortalSite:n}){const{persons:a,arrivalDate:r,departureDate:i}=e.useContext(Qy),{locale:o,portalCode:s,objectCode:c}=e.useContext(jf),u=e.useContext(Gy),{options:d}=n,p=n.bookingFormConfiguration,h=d.bookingFields||Py,m=t.booking_price;let f={};for(const e of m.optional_house_costs)f[e.id]="0";const[v,{loading:_,error:g,data:y,reset:b}]=ls(gs),k=function(e){let t={};return e.map(e=>{t[e.id]=""}),t}(h),w=function(){const e=Cf("bu_portal_session");return""===e?null:e}();return l.jsx(Zg,{validate:e=>Uy(e,t,h),initialValues:{...k,arrivalDate:r,departureDate:i,is_option:"false",costs:f,adults:a,children:0,babies:0,persons:a,discount:0,country:"nl"},onSubmit:(e,{setSubmitting:t})=>{let n={...e,is_option:JSON.parse(e.is_option),house_code:c,portal_code:s,comment:e.comment||"",language:o,country:e.country.toUpperCase(),adults:Number(e.adults),children:Number(e.children)||0,babies:Number(e.babies)||0,discount:Number(e.discount)||0,cancel_insurance:Number(e.cancel_insurance)||0,arrival_date:e.arrivalDate.date,departure_date:e.departureDate.date,costs:JSON.stringify(e.costs),extra_fields:JSON.stringify(e.extra_fields),sessionIdentifier:w};v({variables:n}).then(()=>{const e={nl:"redirectUrlNl",en:"redirectUrlEn",de:"redirectUrlDe",fr:"redirectUrlFr",es:"redirectUrlEs",it:"redirectUrlIt"}[o],t=e?p[e]:void 0;t&&""!==t?window.location=t:p.redirectUrl&&""!==p.redirectUrl?window.location=p.redirectUrl:setTimeout(()=>{u({type:"return"})},15e3)})},children:({errors:e,touched:a,values:r,status:i,isSubmitting:o})=>l.jsxs(oy,{className:"form",children:[_&&l.jsx("div",{className:"return-message",children:"Creating booking..."}),g&&l.jsx(al,{show:!0,onClose:b,children:l.jsx(yf,{errors:g,modal:!0})}),y&&l.jsx(al,{show:!0,children:l.jsx(Fy,{})}),l.jsxs("div",{className:"form-content",children:[l.jsxs("div",{className:"form-section bup-16",children:[l.jsx("a",{className:"return-link",role:"link",tabIndex:0,onClick:()=>{u({type:"return"})},children:$s("return_to_calendar")}),l.jsx("h2",{children:$s("stay_details")}),l.jsx(Vy,{bookingFormConfiguration:p,house:t}),e.max_persons&&l.jsx("div",{className:"error-message bu-error-message persons",children:e.max_persons})]}),l.jsx(_y,{errors:e,house:t,bookingFormConfiguration:p,values:r}),l.jsx(fy,{house:t,values:r}),l.jsx(By,{costs:m.optional_house_costs}),l.jsx($y,{bookingFields:h,errors:e,touched:a,PortalSite:n,values:r})]}),l.jsxs("div",{className:"form-sum bup-16",children:[l.jsx(Iy,{house:t,values:r}),i&&i.msg&&l.jsx("div",{children:i.msg}),l.jsxs("div",{className:"terms",children:[n.form_submit_text," ",l.jsx(al,{buttonText:$s("terms"),children:l.jsx("div",{style:{width:"90vh",height:"90vh"},children:l.jsx("iframe",{src:t.rental_terms,width:"100%",height:"100%",title:"Terms"})})}),t.allow_option&&l.jsxs("span",{children:[", ",$s("option_is_free")]})]}),[1,2].includes(Number(r.cancel_insurance))?l.jsx("div",{className:"terms",children:$s("comply_insurance_card")}):null,l.jsx("button",{className:"bu-calendar-button",type:"submit",disabled:o,children:n.form_submit_button_text})]})]})})}function Jy(){const{portalCode:t,objectCode:n,locale:a}=e.useContext(jf),{arrivalDate:r,departureDate:i}=e.useContext(Qy),{data:o,loading:s,error:c}=ts(_s,{variables:{portalCode:t,objectCode:n,starts_at:r.date,ends_at:i.date}});if(s)return l.jsx("div",{children:l.jsx(d,{})});if(c)return l.jsx("div",{children:"Error"});const u=o.PortalSite.houses[0];return Of({house_code:n,portal_code:t,locale:a,interaction_type:"booking_started",interaction_data:{arrival_date:r.date,departure_date:i.date}}),l.jsx(Yy,{house:u,PortalSite:o.PortalSite})}const Xy=()=>l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg","data-name":"Layer 1",viewBox:"0 0 100 100",x:"0px",y:"0px",children:[l.jsx("title",{children:"Forward"}),l.jsx("path",{d:"M97.64,44.1,64.72,11.18a8.06,8.06,0,1,0-11.4,11.39L72.78,42H8.06a8.06,8.06,0,0,0,0,16.12H72.6L53.32,77.43a8.06,8.06,0,0,0,11.4,11.39L97.64,55.9A8,8,0,0,0,100,50.2a1.27,1.27,0,0,0,0-.2,1.41,1.41,0,0,0,0-.2A8.07,8.07,0,0,0,97.64,44.1Z"})]});function Zy({changeMonth:t,currentMonth:n,numberOfMonths:a}){const r=e.useContext(Gy);return l.jsxs("div",{className:"calendars-header bu-grid bu-grid-cols-3",children:[l.jsx("div",{className:"bu-calendar-col bup-8",style:{textAlign:"center"},onClick:function(){var e;t(Ks(n,-a,e))},tabIndex:0,role:"button",children:l.jsx("div",{className:"icon bu-rounded bu-hover-bright",children:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",version:"1.1",x:"0px",y:"0px",enableBackground:"new 0 0 100 100",viewBox:"0 0 100 125",xmlSpace:"preserve",children:l.jsx("path",{d:"M2.4,44.1l32.9-32.9c3.1-3.1,8.2-3.1,11.4,0c1.6,1.6,2.4,3.6,2.4,5.7c0,2.1-0.8,4.1-2.4,5.7L27.2,42h64.7 c2.2,0,4.2,0.9,5.7,2.4c1.5,1.5,2.4,3.5,2.4,5.7c0,4.4-3.6,8.1-8.1,8.1H27.4l19.3,19.3c1.6,1.6,2.4,3.6,2.4,5.7s-0.8,4.1-2.4,5.7 c-3.1,3.1-8.3,3.1-11.4,0L2.4,55.9C0.8,54.3,0,52.3,0,50.2c0-0.1,0-0.1,0-0.2c0-0.1,0-0.1,0-0.2C0,47.7,0.8,45.7,2.4,44.1z"})})})}),l.jsx("div",{className:"bu-calendar-col bup-8",onClick:()=>{r({type:"reset"})},style:{textAlign:"center"},tabIndex:0,role:"button",children:l.jsx("div",{className:"icon bu-rounded bu-hover-bright",children:l.jsx(Fs,{})})}),l.jsx("div",{className:"bu-calendar-col bup-8 bup-x16",onClick:function(){t(Ks(n,a))},style:{textAlign:"center"},tabIndex:0,role:"button",children:l.jsx("div",{className:"icon bu-rounded bu-hover-bright",children:l.jsx(Xy,{})})})]})}function eb({house:t}){const{departureDate:n,arrivalDate:a}=e.useContext(Qy);return n?.date?l.jsxs("div",{className:"bup-16 bu-bold",children:[$s(`${t.house_type}.you_picked_arrival_date`),":"," ",xf(Sf(a.date),Ef),l.jsx("br",{}),$s(`${t.house_type}.you_picked_departure_date`),": ",xf(Sf(n.date),Ef)]}):a?.date?l.jsxs("div",{className:"bup-16 bu-bold",children:[$s(`${t.house_type}.you_picked_arrival_date`),":"," ",xf(Sf(a.date),Ef),l.jsx("br",{}),$s(`${t.house_type}.pick_your_departure_in_the_calendar`),l.jsx("br",{}),$s("minimum_nights",{minimum:a.min_nights})]}):l.jsx("div",{className:"bup-16 bu-bold",children:$s(`${t.house_type}.pick_your_arrivaldate_in_the_calendar`)})}function tb({house:e}){return l.jsxs("div",{className:"legend",children:[l.jsxs("div",{children:[l.jsx("span",{className:"legend-field arrival"}),$s(`${e.house_type}.arrival_date`)]}),l.jsxs("div",{children:[l.jsx("span",{className:"legend-field booked"}),$s("booked")]}),l.jsxs("div",{children:[l.jsx("span",{className:"legend-field departure"}),$s(`${e.house_type}.departure_date`)]}),l.jsxs("div",{children:[l.jsx("span",{className:"legend-field last_minute_discount"}),$s("discount")]})]})}const nb=({month:e})=>l.jsx("div",{className:"bu-bold bup-4",children:l.jsx("div",{className:"bu-calendar-col bu-text-center",children:l.jsx("span",{children:xf(e,"MMMM yyyy")})})});function ab({day:e,monthStart:t,buDate:n,prevBooked:a,dates:r,house:i,discounts:o}){const{selectedDate:s,departureDate:c,arrivalDate:u}=r,l=new Date,d=["bu-grid","bu-center","bu-rounded-half","bu-h-42","bu-w-42"];if(!function(e,t,n){const[a,r]=nc(n?.in,e,t);return a.getFullYear()===r.getFullYear()&&a.getMonth()===r.getMonth()}(e,t))return d.push("disabled"),d.join(" ");if(n&&(n.arrival&&eu(e,Zu(l))&&0!==n.max_nights?0===a?.max_nights?d.push("departure-arrival","bu-hover-bright"):d.push("arrival","bu-hover-bright"):0===n.max_nights?void 0!==a&&0!==a.max_nights?d.push("booked-departure","bu-hover-bright"):d.push("booked"):n.max_nights>0&&(void 0===a||0===a.max_nights)&&!n.arrival&&d.push("booked")),s){ic(e,s)&&d.push("selected");const t=rc(e,s),r=t>=(u?.min_nights??0),o=t<=i.max_nights&&t<=(u?.max_nights??0);n.departure&&eu(e,s)&&r&&o&&void 0!==a&&0!==a.max_nights&&d.push("departure")}if(c&&s){const t=Sf(c.date);eu(e,s)&&tu(e,t)&&d.push("selected"),ic(e,t)&&d.push("selected")}const p=rc(e,l),h=p<=i.last_minute_days&&p>0,m=o.find(t=>tu(Zu(Sf(t.discount_starts_at)),e)&&eu(Hs(Sf(t.discount_ends_at),1),e));return(h||m||n.special_offer>0)&&d.push("discount"),d.join(" ")}function rb({availabilities:t,month:n,discounts:a,house:r}){const i=e.useContext(Gy),o=e.useContext(Qy),s=cc(n),c=sc(s),u=Xs(s),d=uc(c),p=[];let h=[],m=u;for(;m<=d;){for(let e=0;e<7;e++){let e=xf(m,"yyyy-MM-dd"),n=xf(Zu(m),"yyyy-MM-dd"),c=t.find(t=>t.date===e);const u=t.find(e=>e.date===n),d=c;h.push(l.jsx("div",{className:ab({day:m,monthStart:s,discounts:a,buDate:c,prevBooked:u,house:r,dates:o}),role:"button",tabIndex:0,onClick:()=>{tu(Yu(d.date,"yyyy-MM-dd",new Date),new Date)||i({type:"clicked",day:d,house:r})},children:l.jsx("span",{children:xf(m,"d")})},c.date)),m=Hs(m,1)}p.push(h),h=[]}return l.jsx("div",{className:"bu-grid bu-grid-cols-7",children:p})}function ib({month:e}){let t=[],n=Xs(e);for(let a=0;a<7;a++)t.push(l.jsx("div",{className:"bu-calendar-col bu-text-center",children:xf(Hs(n,a),"E")},a));return l.jsx("div",{className:"bu-grid bu-grid-cols-7",children:t})}function ob({count:t,currentMonth:n,house:a}){const{portalCode:r,objectCode:i}=e.useContext(jf);let o=Ks(n,t),s=cc(o),c=sc(o);const u={id:r,house_id:i,starts_at:Xs(s),ends_at:uc(c)},{loading:p,error:h,data:m}=ts(vs,{variables:u});if(p)return l.jsx("div",{children:l.jsx(d,{})});if(h)return l.jsx("div",{children:"Error"});const f=m.PortalSite.houses[0].availabilities,v=m.Discounts;return l.jsxs("div",{className:"bu-calendar calendar bup-16",children:[l.jsx(nb,{month:o}),l.jsx(ib,{month:o}),l.jsx(rb,{availabilities:f,discounts:v,month:o,house:a})]},o)}function sb({numberOfMonthsInARow:e,currentMonth:t,numberOfMonths:n,house:a}){let r=[];for(let i=0;i<n;i++)r.push(l.jsx(ob,{house:a,currentMonth:t,count:i},Xc(Ks(t,i),"MM-yyyy")));return l.jsx("div",{className:`bu-grid bu-grid-cols-${e||2} bu-gap-16`,children:r})}function cb({persons:t,variables:n}){const{portalCode:a,objectCode:r}=e.useContext(jf),{loading:i,error:o,data:s}=ts(Ss,{variables:{...n,persons:t,portalCode:a,objectCode:r}});if(i)return l.jsx("div",{className:"price-overview--build bup-16",children:l.jsx(d,{})});if(o)return l.jsx("div",{className:"price-overview--build bup-16",children:l.jsx(yf,{errors:o})});const c=s.PortalSite.houses[0].booking_price;return l.jsx(l.Fragment,{children:l.jsxs("div",{className:"price-overview--book",children:[l.jsxs("div",{className:"price",children:["€"," ",Bs(Math.round(c.total_price),{minimumFractionDigits:2,maximumFractionDigits:2})]}),l.jsx("div",{children:l.jsx("i",{children:$s("based_on_one_person",{persons:t})})})]})})}const ub=Ef;function lb({house:t}){const n=t.persons>2?2:t.persons,[a,r]=e.useState(n),{arrivalDate:i,departureDate:o}=e.useContext(Qy),s=e.useContext(Gy);let c=uy(t.persons);return l.jsxs("div",{className:"calendar--picker",children:[l.jsxs("div",{className:"calendar--picker--date",children:[l.jsx("span",{className:"name",children:$s(`${t.house_type}.arrival`)}),l.jsx("span",{className:"detail",children:i?.date?l.jsx("span",{children:xf(Sf(i?.date),ub)}):$s(`${t.house_type}.pick_your_arrivaldate_in_the_calendar`)})]}),l.jsxs("div",{className:"calendar--picker--date",children:[l.jsx("span",{className:"name",children:$s(`${t.house_type}.departure`)}),l.jsx("span",{className:"detail",children:o?.date?l.jsx("span",{children:xf(Sf(o?.date),ub)}):l.jsxs("div",{children:[l.jsx("div",{children:$s(`${t.house_type}.pick_your_departure_in_the_calendar`)}),i&&$s("minimum_nights",{minimum:i?.min_nights})]})})]}),l.jsx("div",{className:"calendar--picker--date",children:l.jsx("span",{className:"detail",children:l.jsx("select",{className:"calendar--picker--persons",value:a,onChange:e=>{r(e.target.value)},children:c.map(e=>l.jsxs("option",{value:e,children:[e," ",$s("persons")]},e))})})}),l.jsx("div",{className:"calendar--picker--date",children:i&&o&&l.jsx(cb,{persons:parseInt(a),variables:{starts_at:i?.date,ends_at:o?.date}})}),l.jsx("button",{className:"button",disabled:!i||!o,onClick:()=>{i&&o&&s({type:"start",persons:a})},children:$s("calculate")})]})}function db({house:e}){return l.jsx("div",{className:"price-overview bup-16",children:l.jsx(lb,{house:e})})}function pb({numberOfMonths:t,house:n,numberOfMonthsInARow:a}){const[r,i]=e.useState(new Date);return l.jsxs("div",{className:"calendar-container ",children:[l.jsx(db,{house:n}),l.jsxs("div",{className:"calendar-section",children:[l.jsx(Zy,{changeMonth:i,currentMonth:r,numberOfMonths:t}),l.jsx(sb,{house:n,numberOfMonths:t,numberOfMonthsInARow:a,currentMonth:r}),l.jsx(tb,{house:n}),l.jsx(eb,{house:n})]})]})}function hb(){const{portalCode:t,objectCode:n,locale:a}=e.useContext(jf),{loading:r,error:i,data:o}=ts(ys,{variables:{portalCode:t,objectCode:n}});if(Of({house_code:n,portal_code:t,interaction_type:"calendar_view",locale:a}),r)return l.jsx("div",{children:l.jsx(d,{})});if(i)return l.jsx("div",{children:l.jsx(yf,{errors:i})});const s=o.PortalSite,c=s.houses,u=s.bookingFormConfiguration.showMonthsAmount,p=s.bookingFormConfiguration.showMonthsInARow;return l.jsxs("div",{id:"calendar-container",children:[0===c.length&&l.jsx("div",{children:$s("no_house_found")}),c.map(e=>l.jsxs("div",{children:[l.jsx("div",{className:"bup-16",children:e.name}),l.jsx(pb,{numberOfMonths:u,numberOfMonthsInARow:p,house:e})]},e.id))]})}function mb(){const{bookingStarted:t}=e.useContext(Qy);return t?l.jsx(Jy,{}):l.jsx(hb,{})}function fb(){return l.jsx(Hy,{children:l.jsx(mb,{})})}function vb({rating:e,name:t}){let n="low";return e>7?n="best":e>6?n="good":e>4&&(n="medium"),l.jsxs("div",{className:"bu_score",children:[e&&l.jsx("div",{className:`bu_score__rating bu_card ${n}`,children:e.toFixed(1)}),l.jsx("div",{children:t})]})}const _b=e.memo(function({review:e}){return l.jsxs("div",{className:"bu_single_review bup-16 bu_card",children:[l.jsxs("div",{className:"bu_review_summary",children:[l.jsx(vb,{rating:e.score}),l.jsxs("div",{className:"bu_review_summary__date_name",children:[l.jsxs("div",{children:[e.createdAt,", "]}),l.jsx("div",{className:"bu_review_summary__name",children:e.name})]})]}),l.jsx("blockquote",{className:"bu_review",children:e.review}),l.jsx("div",{className:"bu_criteria",children:e.reviewCriteria.map(e=>l.jsx(vb,{rating:e.score,name:e.name},e.id))})]})});function gb(){return l.jsx("div",{className:"bu_reviews__note",children:l.jsx("a",{href:"https://www.bukazu.com",target:"_blank",rel:"noopener noreferrer",children:$s("reviews_note_link")})})}function yb(){const{objectCode:t,portalCode:n}=e.useContext(jf),{data:a,error:r,loading:i}=ts(Es,{variables:{id:n,house_id:t}});if(i)return l.jsx("div",{children:l.jsx(d,{})});if(r)return l.jsx(yf,{errors:r});const o=a.PortalSite.houses[0],s=o.reviews;return l.jsxs("div",{className:"bu_reviews bup-16",children:[l.jsxs("div",{className:"bu_reviews__overview bup-16 bu_card",children:[l.jsx(vb,{rating:o.rating}),l.jsxs("div",{className:"bu_reviews__overview__number",children:[o.scoreAmount," ",$s("reviews")]})]}),s.map(e=>l.jsx(_b,{review:e},e.id)),l.jsx(gb,{})]})}const bb={nl:{url:"http://bukazu.com/veiligheid",label:"Beveiligd en mogelijk gemaakt door BUKAZU"},en:{url:"http://bukazu.com/en/security",label:"Secured and made possible by BUKAZU"},de:{url:"http://bukazu.com/de/sicherheit",label:"Gesichert und ermöglicht durch BUKAZU"},fr:{url:"http://bukazu.com/fr/securite",label:"Sécurisé et rendu possible par BUKAZU"},es:{url:"http://bukazu.com/es/seguridad",label:"Asegurado y hecho posible por BUKAZU"},it:{url:"http://bukazu.com/it/sicurezza",label:"Protetto e reso possibile da BUKAZU"}};function kb(e){const{url:t,label:n}=Object.prototype.hasOwnProperty.call(bb,e)?bb[e]:bb.en;return`<div class="bu-safe-booking"><a href="${t}" class="bu-safe-booking-link"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 100 100" enable-background="new 0 0 100 100" xml:space="preserve" width="16px" height="16px" class="bu-safe-booking-icon"><path d="M75.98,41.62h-2.47L73.5,29.31C73.49,15.9,62.58,4.99,49.17,5C35.76,5.01,24.85,15.92,24.86,29.33l0.02,12.31H24 c-4.61,0.01-8.35,3.75-8.34,8.36v36.65c0,4.61,3.75,8.35,8.36,8.35L76,94.97c4.61,0,8.35-3.74,8.34-8.35V49.96 C84.34,45.35,80.59,41.62,75.98,41.62z M33.84,41.64l-0.02-12.31c0-8.47,6.88-15.36,15.35-15.37c8.47,0,15.36,6.89,15.36,15.35 l0.02,12.31L33.84,41.64z" /></svg>${n}</a></div>`}class wb extends e.Component{constructor(e){super(e),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e,t){vf(e)}render(){return this.state.hasError?l.jsx("h1",{children:"Something went wrong."}):this.props.children}}function xb({pageType:t,locale:n,filters:a={}}){const{portalCode:r,objectCode:i}=e.useContext(jf),o=!i,{loading:s,error:c,data:u}=ts(ms,{variables:{id:r},skip:o}),{loading:p,error:h,data:m}=ts(fs,{variables:{id:r},skip:!o}),f=o?h:c;if(o?p:s)return l.jsx(d,{});if(f)return l.jsx(yf,{errors:{...f}});const v=o?m?.PortalSite??null:u?.PortalSite??null;if(!v)return l.jsx(d,{});let _=v.options;const g=v.colorsConfiguration,y=document.documentElement;let b;return y.style.setProperty("--bukazu-discount",g.discount),y.style.setProperty("--bukazu-cell",g.cell),y.style.setProperty("--bukazu-arrival",g.arrival),y.style.setProperty("--bukazu-booked",g.booked),y.style.setProperty("--bukazu-departure",g.departure),y.style.setProperty("--bukazu-button",g.button),y.style.setProperty("--bukazu-button_cta",g.buttonCta),b=i&&null!==i&&"reviews"!==t?l.jsxs(wb,{children:[l.jsx(fb,{}),l.jsx("div",{dangerouslySetInnerHTML:{__html:kb(n)}})]}):i&&null!==i&&"reviews"===t?l.jsx(yb,{}):l.jsx(Nf,{PortalSite:v,locale:n,options:_,filters:a}),l.jsx(l.Fragment,{children:b})}const Sb={lessThanXSeconds:{one:"minder dan een seconde",other:"minder dan {{count}} seconden"},xSeconds:{one:"1 seconde",other:"{{count}} seconden"},halfAMinute:"een halve minuut",lessThanXMinutes:{one:"minder dan een minuut",other:"minder dan {{count}} minuten"},xMinutes:{one:"een minuut",other:"{{count}} minuten"},aboutXHours:{one:"ongeveer 1 uur",other:"ongeveer {{count}} uur"},xHours:{one:"1 uur",other:"{{count}} uur"},xDays:{one:"1 dag",other:"{{count}} dagen"},aboutXWeeks:{one:"ongeveer 1 week",other:"ongeveer {{count}} weken"},xWeeks:{one:"1 week",other:"{{count}} weken"},aboutXMonths:{one:"ongeveer 1 maand",other:"ongeveer {{count}} maanden"},xMonths:{one:"1 maand",other:"{{count}} maanden"},aboutXYears:{one:"ongeveer 1 jaar",other:"ongeveer {{count}} jaar"},xYears:{one:"1 jaar",other:"{{count}} jaar"},overXYears:{one:"meer dan 1 jaar",other:"meer dan {{count}} jaar"},almostXYears:{one:"bijna 1 jaar",other:"bijna {{count}} jaar"}},Eb={date:pc({formats:{full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd-MM-y"},defaultWidth:"full"}),time:pc({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:pc({formats:{full:"{{date}} 'om' {{time}}",long:"{{date}} 'om' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},jb={lastWeek:"'afgelopen' eeee 'om' p",yesterday:"'gisteren om' p",today:"'vandaag om' p",tomorrow:"'morgen om' p",nextWeek:"eeee 'om' p",other:"P"},Tb={code:"nl",formatDistance:(e,t,n)=>{let a;const r=Sb[e];return a="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",String(t)),n?.addSuffix?n.comparison&&n.comparison>0?"over "+a:a+" geleden":a},formatLong:Eb,formatRelative:(e,t,n,a)=>jb[e],localize:{ordinalNumber:(e,t)=>Number(e)+"e",era:vc({values:{narrow:["v.C.","n.C."],abbreviated:["v.Chr.","n.Chr."],wide:["voor Christus","na Christus"]},defaultWidth:"wide"}),quarter:vc({values:{narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1e kwartaal","2e kwartaal","3e kwartaal","4e kwartaal"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:vc({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan.","feb.","mrt.","apr.","mei","jun.","jul.","aug.","sep.","okt.","nov.","dec."],wide:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"]},defaultWidth:"wide"}),day:vc({values:{narrow:["Z","M","D","W","D","V","Z"],short:["zo","ma","di","wo","do","vr","za"],abbreviated:["zon","maa","din","woe","don","vri","zat"],wide:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"]},defaultWidth:"wide"}),dayPeriod:vc({values:{narrow:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"},abbreviated:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"},wide:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"}},defaultWidth:"wide"})},match:{ordinalNumber:yc({matchPattern:/^(\d+)e?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:gc({matchPatterns:{narrow:/^([vn]\.? ?C\.?)/,abbreviated:/^([vn]\. ?Chr\.?)/,wide:/^((voor|na) Christus)/},defaultMatchWidth:"wide",parsePatterns:{any:[/^v/,/^n/]},defaultParseWidth:"any"}),quarter:gc({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^K[1234]/i,wide:/^[1234]e kwartaal/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:gc({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan.|feb.|mrt.|apr.|mei|jun.|jul.|aug.|sep.|okt.|nov.|dec.)/i,wide:/^(januari|februari|maart|april|mei|juni|juli|augustus|september|oktober|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^jan/i,/^feb/i,/^m(r|a)/i,/^apr/i,/^mei/i,/^jun/i,/^jul/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i]},defaultParseWidth:"any"}),day:gc({matchPatterns:{narrow:/^[zmdwv]/i,short:/^(zo|ma|di|wo|do|vr|za)/i,abbreviated:/^(zon|maa|din|woe|don|vri|zat)/i,wide:/^(zondag|maandag|dinsdag|woensdag|donderdag|vrijdag|zaterdag)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^z/i,/^m/i,/^d/i,/^w/i,/^d/i,/^v/i,/^z/i],any:[/^zo/i,/^ma/i,/^di/i,/^wo/i,/^do/i,/^vr/i,/^za/i]},defaultParseWidth:"any"}),dayPeriod:gc({matchPatterns:{any:/^(am|pm|middernacht|het middaguur|'s (ochtends|middags|avonds|nachts))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^am/i,pm:/^pm/i,midnight:/^middernacht/i,noon:/^het middaguur/i,morning:/ochtend/i,afternoon:/middag/i,evening:/avond/i,night:/nacht/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}},Ob=Object.freeze(Object.defineProperty({__proto__:null,default:Tb,nl:Tb},Symbol.toStringTag,{value:"Module"})),Cb={lessThanXSeconds:{standalone:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"},withPreposition:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"}},xSeconds:{standalone:{one:"1 Sekunde",other:"{{count}} Sekunden"},withPreposition:{one:"1 Sekunde",other:"{{count}} Sekunden"}},halfAMinute:{standalone:"eine halbe Minute",withPreposition:"einer halben Minute"},lessThanXMinutes:{standalone:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"},withPreposition:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"}},xMinutes:{standalone:{one:"1 Minute",other:"{{count}} Minuten"},withPreposition:{one:"1 Minute",other:"{{count}} Minuten"}},aboutXHours:{standalone:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"},withPreposition:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"}},xHours:{standalone:{one:"1 Stunde",other:"{{count}} Stunden"},withPreposition:{one:"1 Stunde",other:"{{count}} Stunden"}},xDays:{standalone:{one:"1 Tag",other:"{{count}} Tage"},withPreposition:{one:"1 Tag",other:"{{count}} Tagen"}},aboutXWeeks:{standalone:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"},withPreposition:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"}},xWeeks:{standalone:{one:"1 Woche",other:"{{count}} Wochen"},withPreposition:{one:"1 Woche",other:"{{count}} Wochen"}},aboutXMonths:{standalone:{one:"etwa 1 Monat",other:"etwa {{count}} Monate"},withPreposition:{one:"etwa 1 Monat",other:"etwa {{count}} Monaten"}},xMonths:{standalone:{one:"1 Monat",other:"{{count}} Monate"},withPreposition:{one:"1 Monat",other:"{{count}} Monaten"}},aboutXYears:{standalone:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahre"},withPreposition:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahren"}},xYears:{standalone:{one:"1 Jahr",other:"{{count}} Jahre"},withPreposition:{one:"1 Jahr",other:"{{count}} Jahren"}},overXYears:{standalone:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahre"},withPreposition:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahren"}},almostXYears:{standalone:{one:"fast 1 Jahr",other:"fast {{count}} Jahre"},withPreposition:{one:"fast 1 Jahr",other:"fast {{count}} Jahren"}}},Nb={date:pc({formats:{full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.y"},defaultWidth:"full"}),time:pc({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:pc({formats:{full:"{{date}} 'um' {{time}}",long:"{{date}} 'um' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},Mb={lastWeek:"'letzten' eeee 'um' p",yesterday:"'gestern um' p",today:"'heute um' p",tomorrow:"'morgen um' p",nextWeek:"eeee 'um' p",other:"P"},Db={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],wide:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]},Ab={narrow:Db.narrow,abbreviated:["Jan.","Feb.","März","Apr.","Mai","Juni","Juli","Aug.","Sep.","Okt.","Nov.","Dez."],wide:Db.wide},Ib={code:"de",formatDistance:(e,t,n)=>{let a;const r=n?.addSuffix?Cb[e].withPreposition:Cb[e].standalone;return a="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",String(t)),n?.addSuffix?n.comparison&&n.comparison>0?"in "+a:"vor "+a:a},formatLong:Nb,formatRelative:(e,t,n,a)=>Mb[e],localize:{ordinalNumber:e=>Number(e)+".",era:vc({values:{narrow:["v.Chr.","n.Chr."],abbreviated:["v.Chr.","n.Chr."],wide:["vor Christus","nach Christus"]},defaultWidth:"wide"}),quarter:vc({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. Quartal","2. Quartal","3. Quartal","4. Quartal"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:vc({values:Db,formattingValues:Ab,defaultWidth:"wide"}),day:vc({values:{narrow:["S","M","D","M","D","F","S"],short:["So","Mo","Di","Mi","Do","Fr","Sa"],abbreviated:["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],wide:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"]},defaultWidth:"wide"}),dayPeriod:vc({values:{narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachm.",evening:"Abend",night:"Nacht"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"}},defaultWidth:"wide",formattingValues:{narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachm.",evening:"abends",night:"nachts"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:yc({matchPattern:/^(\d+)(\.)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e)}),era:gc({matchPatterns:{narrow:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,abbreviated:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,wide:/^(vor Christus|vor unserer Zeitrechnung|nach Christus|unserer Zeitrechnung)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^v/i,/^n/i]},defaultParseWidth:"any"}),quarter:gc({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](\.)? Quartal/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:gc({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(j[aä]n|feb|mär[z]?|apr|mai|jun[i]?|jul[i]?|aug|sep|okt|nov|dez)\.?/i,wide:/^(januar|februar|märz|april|mai|juni|juli|august|september|oktober|november|dezember)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^j[aä]/i,/^f/i,/^mär/i,/^ap/i,/^mai/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:gc({matchPatterns:{narrow:/^[smdmf]/i,short:/^(so|mo|di|mi|do|fr|sa)/i,abbreviated:/^(son?|mon?|die?|mit?|don?|fre?|sam?)\.?/i,wide:/^(sonntag|montag|dienstag|mittwoch|donnerstag|freitag|samstag)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^so/i,/^mo/i,/^di/i,/^mi/i,/^do/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:gc({matchPatterns:{narrow:/^(vm\.?|nm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,abbreviated:/^(vorm\.?|nachm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,wide:/^(vormittags|nachmittags|Mitternacht|Mittag|morgens|nachmittags|abends|nachts)/i},defaultMatchWidth:"wide",parsePatterns:{any:{am:/^v/i,pm:/^n/i,midnight:/^Mitte/i,noon:/^Mitta/i,morning:/morgens/i,afternoon:/nachmittags/i,evening:/abends/i,night:/nachts/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}},Pb=Object.freeze(Object.defineProperty({__proto__:null,de:Ib,default:Ib},Symbol.toStringTag,{value:"Module"})),Fb={lessThanXSeconds:{one:"moins d’une seconde",other:"moins de {{count}} secondes"},xSeconds:{one:"1 seconde",other:"{{count}} secondes"},halfAMinute:"30 secondes",lessThanXMinutes:{one:"moins d’une minute",other:"moins de {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"environ 1 heure",other:"environ {{count}} heures"},xHours:{one:"1 heure",other:"{{count}} heures"},xDays:{one:"1 jour",other:"{{count}} jours"},aboutXWeeks:{one:"environ 1 semaine",other:"environ {{count}} semaines"},xWeeks:{one:"1 semaine",other:"{{count}} semaines"},aboutXMonths:{one:"environ 1 mois",other:"environ {{count}} mois"},xMonths:{one:"1 mois",other:"{{count}} mois"},aboutXYears:{one:"environ 1 an",other:"environ {{count}} ans"},xYears:{one:"1 an",other:"{{count}} ans"},overXYears:{one:"plus d’un an",other:"plus de {{count}} ans"},almostXYears:{one:"presqu’un an",other:"presque {{count}} ans"}},Rb={date:pc({formats:{full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},defaultWidth:"full"}),time:pc({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:pc({formats:{full:"{{date}} 'à' {{time}}",long:"{{date}} 'à' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},zb={lastWeek:"eeee 'dernier à' p",yesterday:"'hier à' p",today:"'aujourd’hui à' p",tomorrow:"'demain à' p'",nextWeek:"eeee 'prochain à' p",other:"P"},Lb=["MMM","MMMM"],qb={code:"fr",formatDistance:(e,t,n)=>{let a;const r=Fb[e];return a="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",String(t)),n?.addSuffix?n.comparison&&n.comparison>0?"dans "+a:"il y a "+a:a},formatLong:Rb,formatRelative:(e,t,n,a)=>zb[e],localize:{preprocessor:(e,t)=>{if(1===e.getDate())return t;return t.some(e=>e.isToken&&Lb.includes(e.value))?t.map(e=>e.isToken&&"do"===e.value?{isToken:!0,value:"d"}:e):t},ordinalNumber:(e,t)=>{const n=Number(e),a=t?.unit;if(0===n)return"0";let r;return r=1===n?a&&["year","week","hour","minute","second"].includes(a)?"ère":"er":"ème",n+r},era:vc({values:{narrow:["av. J.-C","ap. J.-C"],abbreviated:["av. J.-C","ap. J.-C"],wide:["avant Jésus-Christ","après Jésus-Christ"]},defaultWidth:"wide"}),quarter:vc({values:{narrow:["T1","T2","T3","T4"],abbreviated:["1er trim.","2ème trim.","3ème trim.","4ème trim."],wide:["1er trimestre","2ème trimestre","3ème trimestre","4ème trimestre"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:vc({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."],wide:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"]},defaultWidth:"wide"}),day:vc({values:{narrow:["D","L","M","M","J","V","S"],short:["di","lu","ma","me","je","ve","sa"],abbreviated:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],wide:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},defaultWidth:"wide"}),dayPeriod:vc({values:{narrow:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"mat.",afternoon:"ap.m.",evening:"soir",night:"mat."},abbreviated:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"matin",afternoon:"après-midi",evening:"soir",night:"matin"},wide:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"du matin",afternoon:"de l’après-midi",evening:"du soir",night:"du matin"}},defaultWidth:"wide"})},match:{ordinalNumber:yc({matchPattern:/^(\d+)(ième|ère|ème|er|e)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e)}),era:gc({matchPatterns:{narrow:/^(av\.J\.C|ap\.J\.C|ap\.J\.-C)/i,abbreviated:/^(av\.J\.-C|av\.J-C|apr\.J\.-C|apr\.J-C|ap\.J-C)/i,wide:/^(avant Jésus-Christ|après Jésus-Christ)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^av/i,/^ap/i]},defaultParseWidth:"any"}),quarter:gc({matchPatterns:{narrow:/^T?[1234]/i,abbreviated:/^[1234](er|ème|e)? trim\.?/i,wide:/^[1234](er|ème|e)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:gc({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(janv|févr|mars|avr|mai|juin|juill|juil|août|sept|oct|nov|déc)\.?/i,wide:/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^av/i,/^ma/i,/^juin/i,/^juil/i,/^ao/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:gc({matchPatterns:{narrow:/^[lmjvsd]/i,short:/^(di|lu|ma|me|je|ve|sa)/i,abbreviated:/^(dim|lun|mar|mer|jeu|ven|sam)\.?/i,wide:/^(dimanche|lundi|mardi|mercredi|jeudi|vendredi|samedi)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^di/i,/^lu/i,/^ma/i,/^me/i,/^je/i,/^ve/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:gc({matchPatterns:{narrow:/^(a|p|minuit|midi|mat\.?|ap\.?m\.?|soir|nuit)/i,any:/^([ap]\.?\s?m\.?|du matin|de l'après[-\s]midi|du soir|de la nuit)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^min/i,noon:/^mid/i,morning:/mat/i,afternoon:/ap/i,evening:/soir/i,night:/nuit/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}},$b=Object.freeze(Object.defineProperty({__proto__:null,default:qb,fr:qb},Symbol.toStringTag,{value:"Module"})),Bb={lessThanXSeconds:{one:"meno di un secondo",other:"meno di {{count}} secondi"},xSeconds:{one:"un secondo",other:"{{count}} secondi"},halfAMinute:"alcuni secondi",lessThanXMinutes:{one:"meno di un minuto",other:"meno di {{count}} minuti"},xMinutes:{one:"un minuto",other:"{{count}} minuti"},aboutXHours:{one:"circa un'ora",other:"circa {{count}} ore"},xHours:{one:"un'ora",other:"{{count}} ore"},xDays:{one:"un giorno",other:"{{count}} giorni"},aboutXWeeks:{one:"circa una settimana",other:"circa {{count}} settimane"},xWeeks:{one:"una settimana",other:"{{count}} settimane"},aboutXMonths:{one:"circa un mese",other:"circa {{count}} mesi"},xMonths:{one:"un mese",other:"{{count}} mesi"},aboutXYears:{one:"circa un anno",other:"circa {{count}} anni"},xYears:{one:"un anno",other:"{{count}} anni"},overXYears:{one:"più di un anno",other:"più di {{count}} anni"},almostXYears:{one:"quasi un anno",other:"quasi {{count}} anni"}},Vb={date:pc({formats:{full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},defaultWidth:"full"}),time:pc({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:pc({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},Ub=["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"];function Wb(e){return"'"+Ub[e]+" alle' p"}const Qb={lastWeek:(e,t,n)=>{const a=e.getDay();return Xu(e,t,n)?Wb(a):function(e){return 0===e?"'domenica scorsa alle' p":"'"+Ub[e]+" scorso alle' p"}(a)},yesterday:"'ieri alle' p",today:"'oggi alle' p",tomorrow:"'domani alle' p",nextWeek:(e,t,n)=>{const a=e.getDay();return Xu(e,t,n)?Wb(a):function(e){return 0===e?"'domenica prossima alle' p":"'"+Ub[e]+" prossimo alle' p"}(a)},other:"P"},Gb={code:"it",formatDistance:(e,t,n)=>{let a;const r=Bb[e];return a="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"tra "+a:a+" fa":a},formatLong:Vb,formatRelative:(e,t,n,a)=>{const r=Qb[e];return"function"==typeof r?r(t,n,a):r},localize:{ordinalNumber:(e,t)=>{const n=Number(e);return String(n)},era:vc({values:{narrow:["aC","dC"],abbreviated:["a.C.","d.C."],wide:["avanti Cristo","dopo Cristo"]},defaultWidth:"wide"}),quarter:vc({values:{narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:vc({values:{narrow:["G","F","M","A","M","G","L","A","S","O","N","D"],abbreviated:["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic"],wide:["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"]},defaultWidth:"wide"}),day:vc({values:{narrow:["D","L","M","M","G","V","S"],short:["dom","lun","mar","mer","gio","ven","sab"],abbreviated:["dom","lun","mar","mer","gio","ven","sab"],wide:["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"]},defaultWidth:"wide"}),dayPeriod:vc({values:{narrow:{am:"m.",pm:"p.",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"},abbreviated:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"},wide:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"}},defaultWidth:"wide",formattingValues:{narrow:{am:"m.",pm:"p.",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"},abbreviated:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"},wide:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:yc({matchPattern:/^(\d+)(º)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:gc({matchPatterns:{narrow:/^(aC|dC)/i,abbreviated:/^(a\.?\s?C\.?|a\.?\s?e\.?\s?v\.?|d\.?\s?C\.?|e\.?\s?v\.?)/i,wide:/^(avanti Cristo|avanti Era Volgare|dopo Cristo|Era Volgare)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^a/i,/^(d|e)/i]},defaultParseWidth:"any"}),quarter:gc({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^t[1234]/i,wide:/^[1234](º)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:gc({matchPatterns:{narrow:/^[gfmalsond]/i,abbreviated:/^(gen|feb|mar|apr|mag|giu|lug|ago|set|ott|nov|dic)/i,wide:/^(gennaio|febbraio|marzo|aprile|maggio|giugno|luglio|agosto|settembre|ottobre|novembre|dicembre)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^g/i,/^f/i,/^m/i,/^a/i,/^m/i,/^g/i,/^l/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ge/i,/^f/i,/^mar/i,/^ap/i,/^mag/i,/^gi/i,/^l/i,/^ag/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:gc({matchPatterns:{narrow:/^[dlmgvs]/i,short:/^(do|lu|ma|me|gi|ve|sa)/i,abbreviated:/^(dom|lun|mar|mer|gio|ven|sab)/i,wide:/^(domenica|luned[i|ì]|marted[i|ì]|mercoled[i|ì]|gioved[i|ì]|venerd[i|ì]|sabato)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^g/i,/^v/i,/^s/i],any:[/^d/i,/^l/i,/^ma/i,/^me/i,/^g/i,/^v/i,/^s/i]},defaultParseWidth:"any"}),dayPeriod:gc({matchPatterns:{narrow:/^(a|m\.|p|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i,any:/^([ap]\.?\s?m\.?|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mezza/i,noon:/^mezzo/i,morning:/mattina/i,afternoon:/pomeriggio/i,evening:/sera/i,night:/notte/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}},Hb=Object.freeze(Object.defineProperty({__proto__:null,default:Gb,it:Gb},Symbol.toStringTag,{value:"Module"})),Kb={lessThanXSeconds:{one:"menos de un segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"medio minuto",lessThanXMinutes:{one:"menos de un minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"alrededor de 1 hora",other:"alrededor de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 día",other:"{{count}} días"},aboutXWeeks:{one:"alrededor de 1 semana",other:"alrededor de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"alrededor de 1 mes",other:"alrededor de {{count}} meses"},xMonths:{one:"1 mes",other:"{{count}} meses"},aboutXYears:{one:"alrededor de 1 año",other:"alrededor de {{count}} años"},xYears:{one:"1 año",other:"{{count}} años"},overXYears:{one:"más de 1 año",other:"más de {{count}} años"},almostXYears:{one:"casi 1 año",other:"casi {{count}} años"}},Yb={date:pc({formats:{full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/y"},defaultWidth:"full"}),time:pc({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:pc({formats:{full:"{{date}} 'a las' {{time}}",long:"{{date}} 'a las' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},Jb={lastWeek:"'el' eeee 'pasado a la' p",yesterday:"'ayer a la' p",today:"'hoy a la' p",tomorrow:"'mañana a la' p",nextWeek:"eeee 'a la' p",other:"P"},Xb={lastWeek:"'el' eeee 'pasado a las' p",yesterday:"'ayer a las' p",today:"'hoy a las' p",tomorrow:"'mañana a las' p",nextWeek:"eeee 'a las' p",other:"P"},Zb={code:"es",formatDistance:(e,t,n)=>{let a;const r=Kb[e];return a="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"en "+a:"hace "+a:a},formatLong:Yb,formatRelative:(e,t,n,a)=>1!==t.getHours()?Xb[e]:Jb[e],localize:{ordinalNumber:(e,t)=>Number(e)+"º",era:vc({values:{narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","después de cristo"]},defaultWidth:"wide"}),quarter:vc({values:{narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:vc({values:{narrow:["e","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"],wide:["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"]},defaultWidth:"wide"}),day:vc({values:{narrow:["d","l","m","m","j","v","s"],short:["do","lu","ma","mi","ju","vi","sá"],abbreviated:["dom","lun","mar","mié","jue","vie","sáb"],wide:["domingo","lunes","martes","miércoles","jueves","viernes","sábado"]},defaultWidth:"wide"}),dayPeriod:vc({values:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:yc({matchPattern:/^(\d+)(º)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:gc({matchPatterns:{narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,wide:/^(antes de cristo|antes de la era com[uú]n|despu[eé]s de cristo|era com[uú]n)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes de la era com[uú]n)/i,/^(despu[eé]s de cristo|era com[uú]n)/i]},defaultParseWidth:"any"}),quarter:gc({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:gc({matchPatterns:{narrow:/^[efmajsond]/i,abbreviated:/^(ene|feb|mar|abr|may|jun|jul|ago|sep|oct|nov|dic)/i,wide:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^e/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^en/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i]},defaultParseWidth:"any"}),day:gc({matchPatterns:{narrow:/^[dlmjvs]/i,short:/^(do|lu|ma|mi|ju|vi|s[áa])/i,abbreviated:/^(dom|lun|mar|mi[ée]|jue|vie|s[áa]b)/i,wide:/^(domingo|lunes|martes|mi[ée]rcoles|jueves|viernes|s[áa]bado)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^do/i,/^lu/i,/^ma/i,/^mi/i,/^ju/i,/^vi/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:gc({matchPatterns:{narrow:/^(a|p|mn|md|(de la|a las) (mañana|tarde|noche))/i,any:/^([ap]\.?\s?m\.?|medianoche|mediodia|(de la|a las) (mañana|tarde|noche))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mn/i,noon:/^md/i,morning:/mañana/i,afternoon:/tarde/i,evening:/tarde/i,night:/noche/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:1}},ek=Object.freeze(Object.defineProperty({__proto__:null,default:Zb,es:Zb},Symbol.toStringTag,{value:"Module"})),tk=JSON.parse('[{"name":"Afghanistan","alpha2":"af"},{"name":"Åland","alpha2":"ax"},{"name":"Albanië","alpha2":"al"},{"name":"Algerije","alpha2":"dz"},{"name":"Amerikaanse Maagdeneilanden","alpha2":"vi"},{"name":"Amerikaans-Samoa","alpha2":"as"},{"name":"Andorra","alpha2":"ad"},{"name":"Angola","alpha2":"ao"},{"name":"Anguilla","alpha2":"ai"},{"name":"Antarctica","alpha2":"aq"},{"name":"Antigua en Barbuda","alpha2":"ag"},{"name":"Argentinië","alpha2":"ar"},{"name":"Armenië","alpha2":"am"},{"name":"Aruba","alpha2":"aw"},{"name":"Australië","alpha2":"au"},{"name":"Azerbeidzjan","alpha2":"az"},{"name":"Bahama\'s","alpha2":"bs"},{"name":"Bahrein","alpha2":"bh"},{"name":"Bangladesh","alpha2":"bd"},{"name":"Barbados","alpha2":"bb"},{"name":"België","alpha2":"be"},{"name":"Belize","alpha2":"bz"},{"name":"Benin","alpha2":"bj"},{"name":"Bermuda","alpha2":"bm"},{"name":"Bhutan","alpha2":"bt"},{"name":"Bolivia","alpha2":"bo"},{"name":"Caribisch Nederland","alpha2":"bq"},{"name":"Bosnië en Herzegovina","alpha2":"ba"},{"name":"Botswana","alpha2":"bw"},{"name":"Bouveteiland","alpha2":"bv"},{"name":"Brazilië","alpha2":"br"},{"name":"Britse Maagdeneilanden","alpha2":"vg"},{"name":"Brits Indische Oceaanterritorium","alpha2":"io"},{"name":"Brunei","alpha2":"bn"},{"name":"Bulgarije","alpha2":"bg"},{"name":"Burkina Faso","alpha2":"bf"},{"name":"Burundi","alpha2":"bi"},{"name":"Cambodja","alpha2":"kh"},{"name":"Canada","alpha2":"ca"},{"name":"Centraal-Afrikaanse Republiek","alpha2":"cf"},{"name":"Chili","alpha2":"cl"},{"name":"China","alpha2":"cn"},{"name":"Christmaseiland","alpha2":"cx"},{"name":"Cocoseilanden","alpha2":"cc"},{"name":"Colombia","alpha2":"co"},{"name":"Comoren","alpha2":"km"},{"name":"Congo-Brazzaville","alpha2":"cg"},{"name":"Congo-Kinshasa","alpha2":"cd"},{"name":"Cookeilanden","alpha2":"ck"},{"name":"Costa Rica","alpha2":"cr"},{"name":"Cuba","alpha2":"cu"},{"name":"Curaçao","alpha2":"cw"},{"name":"Cyprus","alpha2":"cy"},{"name":"Denemarken","alpha2":"dk"},{"name":"Djibouti","alpha2":"dj"},{"name":"Dominica","alpha2":"dm"},{"name":"Dominicaanse Republiek","alpha2":"do"},{"name":"Duitsland","alpha2":"de"},{"name":"Ecuador","alpha2":"ec"},{"name":"Egypte","alpha2":"eg"},{"name":"El Salvador","alpha2":"sv"},{"name":"Equatoriaal-Guinea","alpha2":"gq"},{"name":"Eritrea","alpha2":"er"},{"name":"Estland","alpha2":"ee"},{"name":"Ethiopië","alpha2":"et"},{"name":"Faeröer","alpha2":"fo"},{"name":"Falklandeilanden","alpha2":"fk"},{"name":"Fiji","alpha2":"fj"},{"name":"Filipijnen","alpha2":"ph"},{"name":"Finland","alpha2":"fi"},{"name":"Frankrijk","alpha2":"fr"},{"name":"Franse Zuidelijke en Antarctische Gebieden","alpha2":"tf"},{"name":"Frans-Guyana","alpha2":"gf"},{"name":"Frans-Polynesië","alpha2":"pf"},{"name":"Gabon","alpha2":"ga"},{"name":"Gambia","alpha2":"gm"},{"name":"Georgië","alpha2":"ge"},{"name":"Ghana","alpha2":"gh"},{"name":"Gibraltar","alpha2":"gi"},{"name":"Grenada","alpha2":"gd"},{"name":"Griekenland","alpha2":"gr"},{"name":"Groenland","alpha2":"gl"},{"name":"Guadeloupe","alpha2":"gp"},{"name":"Guam","alpha2":"gu"},{"name":"Guatemala","alpha2":"gt"},{"name":"Guernsey","alpha2":"gg"},{"name":"Guinee","alpha2":"gn"},{"name":"Guinee-Bissau","alpha2":"gw"},{"name":"Guyana","alpha2":"gy"},{"name":"Haïti","alpha2":"ht"},{"name":"Heard en McDonaldeilanden","alpha2":"hm"},{"name":"Honduras","alpha2":"hn"},{"name":"Hongarije","alpha2":"hu"},{"name":"Hongkong","alpha2":"hk"},{"name":"Ierland","alpha2":"ie"},{"name":"IJsland","alpha2":"is"},{"name":"India","alpha2":"in"},{"name":"Indonesië","alpha2":"id"},{"name":"Irak","alpha2":"iq"},{"name":"Iran","alpha2":"ir"},{"name":"Israël","alpha2":"il"},{"name":"Italië","alpha2":"it"},{"name":"Ivoorkust","alpha2":"ci"},{"name":"Jamaica","alpha2":"jm"},{"name":"Japan","alpha2":"jp"},{"name":"Jemen","alpha2":"ye"},{"name":"Jersey","alpha2":"je"},{"name":"Jordanië","alpha2":"jo"},{"name":"Kaaimaneilanden","alpha2":"ky"},{"name":"Kaapverdië","alpha2":"cv"},{"name":"Kameroen","alpha2":"cm"},{"name":"Kazachstan","alpha2":"kz"},{"name":"Kenia","alpha2":"ke"},{"name":"Kirgizië","alpha2":"kg"},{"name":"Kiribati","alpha2":"ki"},{"name":"Kleine afgelegen eilanden van de Verenigde Staten","alpha2":"um"},{"name":"Koeweit","alpha2":"kw"},{"name":"Kroatië","alpha2":"hr"},{"name":"Laos","alpha2":"la"},{"name":"Lesotho","alpha2":"ls"},{"name":"Letland","alpha2":"lv"},{"name":"Libanon","alpha2":"lb"},{"name":"Liberia","alpha2":"lr"},{"name":"Libië","alpha2":"ly"},{"name":"Liechtenstein","alpha2":"li"},{"name":"Litouwen","alpha2":"lt"},{"name":"Luxemburg","alpha2":"lu"},{"name":"Macau","alpha2":"mo"},{"name":"Macedonië","alpha2":"mk"},{"name":"Madagaskar","alpha2":"mg"},{"name":"Malawi","alpha2":"mw"},{"name":"Maldiven","alpha2":"mv"},{"name":"Maleisië","alpha2":"my"},{"name":"Mali","alpha2":"ml"},{"name":"Malta","alpha2":"mt"},{"name":"Man","alpha2":"im"},{"name":"Marokko","alpha2":"ma"},{"name":"Marshalleilanden","alpha2":"mh"},{"name":"Martinique","alpha2":"mq"},{"name":"Mauritanië","alpha2":"mr"},{"name":"Mauritius","alpha2":"mu"},{"name":"Mayotte","alpha2":"yt"},{"name":"Mexico","alpha2":"mx"},{"name":"Micronesia","alpha2":"fm"},{"name":"Moldavië","alpha2":"md"},{"name":"Monaco","alpha2":"mc"},{"name":"Mongolië","alpha2":"mn"},{"name":"Montenegro","alpha2":"me"},{"name":"Montserrat","alpha2":"ms"},{"name":"Mozambique","alpha2":"mz"},{"name":"Myanmar","alpha2":"mm"},{"name":"Namibië","alpha2":"na"},{"name":"Nauru","alpha2":"nr"},{"name":"Nederland","alpha2":"nl"},{"name":"Nepal","alpha2":"np"},{"name":"Nicaragua","alpha2":"ni"},{"name":"Nieuw-Caledonië","alpha2":"nc"},{"name":"Nieuw-Zeeland","alpha2":"nz"},{"name":"Niger","alpha2":"ne"},{"name":"Nigeria","alpha2":"ng"},{"name":"Niue","alpha2":"nu"},{"name":"Noordelijke Marianen","alpha2":"mp"},{"name":"Noord-Korea","alpha2":"kp"},{"name":"Noorwegen","alpha2":"no"},{"name":"Norfolk","alpha2":"nf"},{"name":"Oeganda","alpha2":"ug"},{"name":"Oekraïne","alpha2":"ua"},{"name":"Oezbekistan","alpha2":"uz"},{"name":"Oman","alpha2":"om"},{"name":"Oostenrijk","alpha2":"at"},{"name":"Oost-Timor","alpha2":"tl"},{"name":"Pakistan","alpha2":"pk"},{"name":"Palau","alpha2":"pw"},{"name":"Palestina","alpha2":"ps"},{"name":"Panama","alpha2":"pa"},{"name":"Papoea-Nieuw-Guinea","alpha2":"pg"},{"name":"Paraguay","alpha2":"py"},{"name":"Peru","alpha2":"pe"},{"name":"Pitcairneilanden","alpha2":"pn"},{"name":"Polen","alpha2":"pl"},{"name":"Portugal","alpha2":"pt"},{"name":"Puerto Rico","alpha2":"pr"},{"name":"Qatar","alpha2":"qa"},{"name":"Réunion","alpha2":"re"},{"name":"Roemenië","alpha2":"ro"},{"name":"Rusland","alpha2":"ru"},{"name":"Rwanda","alpha2":"rw"},{"name":"Saint-Barthélemy","alpha2":"bl"},{"name":"Saint Kitts en Nevis","alpha2":"kn"},{"name":"Saint Lucia","alpha2":"lc"},{"name":"Saint-Pierre en Miquelon","alpha2":"pm"},{"name":"Saint Vincent en de Grenadines","alpha2":"vc"},{"name":"Salomonseilanden","alpha2":"sb"},{"name":"Samoa","alpha2":"ws"},{"name":"San Marino","alpha2":"sm"},{"name":"Saoedi-Arabië","alpha2":"sa"},{"name":"Sao Tomé en Principe","alpha2":"st"},{"name":"Senegal","alpha2":"sn"},{"name":"Servië","alpha2":"rs"},{"name":"Seychellen","alpha2":"sc"},{"name":"Sierra Leone","alpha2":"sl"},{"name":"Singapore","alpha2":"sg"},{"name":"Sint-Helena, Ascension en Tristan da Cunha","alpha2":"sh"},{"name":"Sint-Maarten","alpha2":"mf"},{"name":"Sint Maarten","alpha2":"sx"},{"name":"Slovenië","alpha2":"si"},{"name":"Slowakije","alpha2":"sk"},{"name":"Soedan","alpha2":"sd"},{"name":"Somalië","alpha2":"so"},{"name":"Spanje","alpha2":"es"},{"name":"Spitsbergen en Jan Mayen","alpha2":"sj"},{"name":"Sri Lanka","alpha2":"lk"},{"name":"Suriname","alpha2":"sr"},{"name":"Swaziland","alpha2":"sz"},{"name":"Syrië","alpha2":"sy"},{"name":"Tadzjikistan","alpha2":"tj"},{"name":"Taiwan","alpha2":"tw"},{"name":"Tanzania","alpha2":"tz"},{"name":"Thailand","alpha2":"th"},{"name":"Togo","alpha2":"tg"},{"name":"Tokelau","alpha2":"tk"},{"name":"Tonga","alpha2":"to"},{"name":"Trinidad en Tobago","alpha2":"tt"},{"name":"Tsjaad","alpha2":"td"},{"name":"Tsjechië","alpha2":"cz"},{"name":"Tunesië","alpha2":"tn"},{"name":"Turkije","alpha2":"tr"},{"name":"Turkmenistan","alpha2":"tm"},{"name":"Turks- en Caicoseilanden","alpha2":"tc"},{"name":"Tuvalu","alpha2":"tv"},{"name":"Uruguay","alpha2":"uy"},{"name":"Vanuatu","alpha2":"vu"},{"name":"Vaticaanstad","alpha2":"va"},{"name":"Venezuela","alpha2":"ve"},{"name":"Verenigde Arabische Emiraten","alpha2":"ae"},{"name":"Verenigde Staten","alpha2":"us"},{"name":"Verenigd Koninkrijk","alpha2":"gb"},{"name":"Vietnam","alpha2":"vn"},{"name":"Wallis en Futuna","alpha2":"wf"},{"name":"Westelijke Sahara","alpha2":"eh"},{"name":"Wit-Rusland","alpha2":"by"},{"name":"Zambia","alpha2":"zm"},{"name":"Zimbabwe","alpha2":"zw"},{"name":"Zuid-Afrika","alpha2":"za"},{"name":"Zuid-Georgia en de Zuidelijke Sandwicheilanden","alpha2":"gs"},{"name":"Zuid-Korea","alpha2":"kr"},{"name":"Zuid-Soedan","alpha2":"ss"},{"name":"Zweden","alpha2":"se"},{"name":"Zwitserland","alpha2":"ch"}]'),nk=Object.freeze(Object.defineProperty({__proto__:null,default:tk},Symbol.toStringTag,{value:"Module"})),ak=JSON.parse('[{"name":"Afghanistan","alpha2":"af"},{"name":"Ägypten","alpha2":"eg"},{"name":"Åland","alpha2":"ax"},{"name":"Albanien","alpha2":"al"},{"name":"Algerien","alpha2":"dz"},{"name":"Amerikanisch-Samoa","alpha2":"as"},{"name":"Amerikanische Jungferninseln","alpha2":"vi"},{"name":"Andorra","alpha2":"ad"},{"name":"Angola","alpha2":"ao"},{"name":"Anguilla","alpha2":"ai"},{"name":"Antarktika (Sonderstatus durch Antarktis-Vertrag)","alpha2":"aq"},{"name":"Antigua und Barbuda","alpha2":"ag"},{"name":"Äquatorialguinea","alpha2":"gq"},{"name":"Argentinien","alpha2":"ar"},{"name":"Armenien","alpha2":"am"},{"name":"Aruba","alpha2":"aw"},{"name":"Aserbaidschan","alpha2":"az"},{"name":"Äthiopien","alpha2":"et"},{"name":"Australien","alpha2":"au"},{"name":"Bahamas","alpha2":"bs"},{"name":"Bahrain","alpha2":"bh"},{"name":"Bangladesch","alpha2":"bd"},{"name":"Barbados","alpha2":"bb"},{"name":"Belarus (Weißrussland)","alpha2":"by"},{"name":"Belgien","alpha2":"be"},{"name":"Belize","alpha2":"bz"},{"name":"Benin","alpha2":"bj"},{"name":"Bermuda","alpha2":"bm"},{"name":"Bhutan","alpha2":"bt"},{"name":"Bolivien","alpha2":"bo"},{"name":"Bonaire, Sint Eustatius und Saba (Niederlande)","alpha2":"bq"},{"name":"Bosnien und Herzegowina","alpha2":"ba"},{"name":"Botswana","alpha2":"bw"},{"name":"Bouvetinsel","alpha2":"bv"},{"name":"Brasilien","alpha2":"br"},{"name":"Britische Jungferninseln","alpha2":"vg"},{"name":"Britisches Territorium im Indischen Ozean","alpha2":"io"},{"name":"Brunei Darussalam","alpha2":"bn"},{"name":"Bulgarien","alpha2":"bg"},{"name":"Burkina Faso","alpha2":"bf"},{"name":"Burundi","alpha2":"bi"},{"name":"Chile","alpha2":"cl"},{"name":"China, Volksrepublik","alpha2":"cn"},{"name":"Cookinseln","alpha2":"ck"},{"name":"Costa Rica","alpha2":"cr"},{"name":"Côte d’Ivoire (Elfenbeinküste)","alpha2":"ci"},{"name":"Curaçao","alpha2":"cw"},{"name":"Dänemark","alpha2":"dk"},{"name":"Deutschland","alpha2":"de"},{"name":"Dominica","alpha2":"dm"},{"name":"Dominikanische Republik","alpha2":"do"},{"name":"Dschibuti","alpha2":"dj"},{"name":"Ecuador","alpha2":"ec"},{"name":"El Salvador","alpha2":"sv"},{"name":"Eritrea","alpha2":"er"},{"name":"Estland","alpha2":"ee"},{"name":"Falklandinseln","alpha2":"fk"},{"name":"Färöer","alpha2":"fo"},{"name":"Fidschi","alpha2":"fj"},{"name":"Finnland","alpha2":"fi"},{"name":"Frankreich","alpha2":"fr"},{"name":"Französisch-Guayana","alpha2":"gf"},{"name":"Französisch-Polynesien","alpha2":"pf"},{"name":"Französische Süd- und Antarktisgebiete","alpha2":"tf"},{"name":"Gabun","alpha2":"ga"},{"name":"Gambia","alpha2":"gm"},{"name":"Georgien","alpha2":"ge"},{"name":"Ghana","alpha2":"gh"},{"name":"Gibraltar","alpha2":"gi"},{"name":"Grenada","alpha2":"gd"},{"name":"Griechenland","alpha2":"gr"},{"name":"Grönland","alpha2":"gl"},{"name":"Guadeloupe","alpha2":"gp"},{"name":"Guam","alpha2":"gu"},{"name":"Guatemala","alpha2":"gt"},{"name":"Guernsey (Kanalinsel)","alpha2":"gg"},{"name":"Guinea","alpha2":"gn"},{"name":"Guinea-Bissau","alpha2":"gw"},{"name":"Guyana","alpha2":"gy"},{"name":"Haiti","alpha2":"ht"},{"name":"Heard und McDonaldinseln","alpha2":"hm"},{"name":"Honduras","alpha2":"hn"},{"name":"Hongkong","alpha2":"hk"},{"name":"Indien","alpha2":"in"},{"name":"Indonesien","alpha2":"id"},{"name":"Insel Man","alpha2":"im"},{"name":"Irak","alpha2":"iq"},{"name":"Iran, Islamische Republik","alpha2":"ir"},{"name":"Irland","alpha2":"ie"},{"name":"Island","alpha2":"is"},{"name":"Israel","alpha2":"il"},{"name":"Italien","alpha2":"it"},{"name":"Jamaika","alpha2":"jm"},{"name":"Japan","alpha2":"jp"},{"name":"Jemen","alpha2":"ye"},{"name":"Jersey (Kanalinsel)","alpha2":"je"},{"name":"Jordanien","alpha2":"jo"},{"name":"Kaimaninseln","alpha2":"ky"},{"name":"Kambodscha","alpha2":"kh"},{"name":"Kamerun","alpha2":"cm"},{"name":"Kanada","alpha2":"ca"},{"name":"Kap Verde","alpha2":"cv"},{"name":"Kasachstan","alpha2":"kz"},{"name":"Katar","alpha2":"qa"},{"name":"Kenia","alpha2":"ke"},{"name":"Kirgisistan","alpha2":"kg"},{"name":"Kiribati","alpha2":"ki"},{"name":"Kokosinseln","alpha2":"cc"},{"name":"Kolumbien","alpha2":"co"},{"name":"Komoren","alpha2":"km"},{"name":"Kongo, Demokratische Republik (ehem. Zaire)","alpha2":"cd"},{"name":"Kongo, Republik (ehem. K.-Brazzaville)","alpha2":"cg"},{"name":"Korea, Demokratische Volksrepublik (Nordkorea)","alpha2":"kp"},{"name":"Korea, Republik (Südkorea)","alpha2":"kr"},{"name":"Kroatien","alpha2":"hr"},{"name":"Kuba","alpha2":"cu"},{"name":"Kuwait","alpha2":"kw"},{"name":"Laos, Demokratische Volksrepublik","alpha2":"la"},{"name":"Lesotho","alpha2":"ls"},{"name":"Lettland","alpha2":"lv"},{"name":"Libanon","alpha2":"lb"},{"name":"Liberia","alpha2":"lr"},{"name":"Libyen","alpha2":"ly"},{"name":"Liechtenstein","alpha2":"li"},{"name":"Litauen","alpha2":"lt"},{"name":"Luxemburg","alpha2":"lu"},{"name":"Macau","alpha2":"mo"},{"name":"Madagaskar","alpha2":"mg"},{"name":"Malawi","alpha2":"mw"},{"name":"Malaysia","alpha2":"my"},{"name":"Malediven","alpha2":"mv"},{"name":"Mali","alpha2":"ml"},{"name":"Malta","alpha2":"mt"},{"name":"Marokko","alpha2":"ma"},{"name":"Marshallinseln","alpha2":"mh"},{"name":"Martinique","alpha2":"mq"},{"name":"Mauretanien","alpha2":"mr"},{"name":"Mauritius","alpha2":"mu"},{"name":"Mayotte","alpha2":"yt"},{"name":"Mazedonien","alpha2":"mk"},{"name":"Mexiko","alpha2":"mx"},{"name":"Mikronesien","alpha2":"fm"},{"name":"Moldawien (Republik Moldau)","alpha2":"md"},{"name":"Monaco","alpha2":"mc"},{"name":"Mongolei","alpha2":"mn"},{"name":"Montenegro","alpha2":"me"},{"name":"Montserrat","alpha2":"ms"},{"name":"Mosambik","alpha2":"mz"},{"name":"Myanmar (Burma)","alpha2":"mm"},{"name":"Namibia","alpha2":"na"},{"name":"Nauru","alpha2":"nr"},{"name":"Nepal","alpha2":"np"},{"name":"Neukaledonien","alpha2":"nc"},{"name":"Neuseeland","alpha2":"nz"},{"name":"Nicaragua","alpha2":"ni"},{"name":"Niederlande","alpha2":"nl"},{"name":"Niger","alpha2":"ne"},{"name":"Nigeria","alpha2":"ng"},{"name":"Niue","alpha2":"nu"},{"name":"Nördliche Marianen","alpha2":"mp"},{"name":"Norfolkinsel","alpha2":"nf"},{"name":"Norwegen","alpha2":"no"},{"name":"Oman","alpha2":"om"},{"name":"Österreich","alpha2":"at"},{"name":"Osttimor (Timor-Leste)","alpha2":"tl"},{"name":"Pakistan","alpha2":"pk"},{"name":"Staat Palästina","alpha2":"ps"},{"name":"Palau","alpha2":"pw"},{"name":"Panama","alpha2":"pa"},{"name":"Papua-Neuguinea","alpha2":"pg"},{"name":"Paraguay","alpha2":"py"},{"name":"Peru","alpha2":"pe"},{"name":"Philippinen","alpha2":"ph"},{"name":"Pitcairninseln","alpha2":"pn"},{"name":"Polen","alpha2":"pl"},{"name":"Portugal","alpha2":"pt"},{"name":"Puerto Rico","alpha2":"pr"},{"name":"Réunion","alpha2":"re"},{"name":"Ruanda","alpha2":"rw"},{"name":"Rumänien","alpha2":"ro"},{"name":"Russische Föderation","alpha2":"ru"},{"name":"Salomonen","alpha2":"sb"},{"name":"Saint-Barthélemy","alpha2":"bl"},{"name":"Saint-Martin (franz. Teil)","alpha2":"mf"},{"name":"Sambia","alpha2":"zm"},{"name":"Samoa","alpha2":"ws"},{"name":"San Marino","alpha2":"sm"},{"name":"São Tomé und Príncipe","alpha2":"st"},{"name":"Saudi-Arabien","alpha2":"sa"},{"name":"Schweden","alpha2":"se"},{"name":"Schweiz (Confoederatio Helvetica)","alpha2":"ch"},{"name":"Senegal","alpha2":"sn"},{"name":"Serbien","alpha2":"rs"},{"name":"Seychellen","alpha2":"sc"},{"name":"Sierra Leone","alpha2":"sl"},{"name":"Simbabwe","alpha2":"zw"},{"name":"Singapur","alpha2":"sg"},{"name":"Sint Maarten (niederl. Teil)","alpha2":"sx"},{"name":"Slowakei","alpha2":"sk"},{"name":"Slowenien","alpha2":"si"},{"name":"Somalia","alpha2":"so"},{"name":"Spanien","alpha2":"es"},{"name":"Sri Lanka","alpha2":"lk"},{"name":"St. Helena","alpha2":"sh"},{"name":"St. Kitts und Nevis","alpha2":"kn"},{"name":"St. Lucia","alpha2":"lc"},{"name":"Saint-Pierre und Miquelon","alpha2":"pm"},{"name":"St. Vincent und die Grenadinen","alpha2":"vc"},{"name":"Südafrika","alpha2":"za"},{"name":"Sudan","alpha2":"sd"},{"name":"Südgeorgien und die Südlichen Sandwichinseln","alpha2":"gs"},{"name":"Südsudan","alpha2":"ss"},{"name":"Suriname","alpha2":"sr"},{"name":"Svalbard und Jan Mayen","alpha2":"sj"},{"name":"Swasiland","alpha2":"sz"},{"name":"Syrien, Arabische Republik","alpha2":"sy"},{"name":"Tadschikistan","alpha2":"tj"},{"name":"Republik China (Taiwan)","alpha2":"tw"},{"name":"Tansania, Vereinigte Republik","alpha2":"tz"},{"name":"Thailand","alpha2":"th"},{"name":"Togo","alpha2":"tg"},{"name":"Tokelau","alpha2":"tk"},{"name":"Tonga","alpha2":"to"},{"name":"Trinidad und Tobago","alpha2":"tt"},{"name":"Tschad","alpha2":"td"},{"name":"Tschechien","alpha2":"cz"},{"name":"Tunesien","alpha2":"tn"},{"name":"Türkei","alpha2":"tr"},{"name":"Turkmenistan","alpha2":"tm"},{"name":"Turks- und Caicosinseln","alpha2":"tc"},{"name":"Tuvalu","alpha2":"tv"},{"name":"Uganda","alpha2":"ug"},{"name":"Ukraine","alpha2":"ua"},{"name":"Ungarn","alpha2":"hu"},{"name":"United States Minor Outlying Islands","alpha2":"um"},{"name":"Uruguay","alpha2":"uy"},{"name":"Usbekistan","alpha2":"uz"},{"name":"Vanuatu","alpha2":"vu"},{"name":"Vatikanstadt","alpha2":"va"},{"name":"Venezuela","alpha2":"ve"},{"name":"Vereinigte Arabische Emirate","alpha2":"ae"},{"name":"Vereinigte Staaten von Amerika","alpha2":"us"},{"name":"Vereinigtes Königreich Großbritannien und Nordirland","alpha2":"gb"},{"name":"Vietnam","alpha2":"vn"},{"name":"Wallis und Futuna","alpha2":"wf"},{"name":"Weihnachtsinsel","alpha2":"cx"},{"name":"Westsahara","alpha2":"eh"},{"name":"Zentralafrikanische Republik","alpha2":"cf"},{"name":"Zypern","alpha2":"cy"}]'),rk=Object.freeze(Object.defineProperty({__proto__:null,default:ak},Symbol.toStringTag,{value:"Module"})),ik=JSON.parse('[{"name":"Afghanistan","alpha2":"af"},{"name":"Afrique du Sud","alpha2":"za"},{"name":"Îles Åland","alpha2":"ax"},{"name":"Albanie","alpha2":"al"},{"name":"Algérie","alpha2":"dz"},{"name":"Allemagne","alpha2":"de"},{"name":"Andorre","alpha2":"ad"},{"name":"Angola","alpha2":"ao"},{"name":"Anguilla","alpha2":"ai"},{"name":"Antarctique","alpha2":"aq"},{"name":"Antigua-et-Barbuda","alpha2":"ag"},{"name":"Arabie saoudite","alpha2":"sa"},{"name":"Argentine","alpha2":"ar"},{"name":"Arménie","alpha2":"am"},{"name":"Aruba","alpha2":"aw"},{"name":"Australie","alpha2":"au"},{"name":"Autriche","alpha2":"at"},{"name":"Azerbaïdjan","alpha2":"az"},{"name":"Bahamas","alpha2":"bs"},{"name":"Bahreïn","alpha2":"bh"},{"name":"Bangladesh","alpha2":"bd"},{"name":"Barbade","alpha2":"bb"},{"name":"Biélorussie","alpha2":"by"},{"name":"Belgique","alpha2":"be"},{"name":"Belize","alpha2":"bz"},{"name":"Bénin","alpha2":"bj"},{"name":"Bermudes","alpha2":"bm"},{"name":"Bhoutan","alpha2":"bt"},{"name":"Bolivie","alpha2":"bo"},{"name":"Pays-Bas caribéens","alpha2":"bq"},{"name":"Bosnie-Herzégovine","alpha2":"ba"},{"name":"Botswana","alpha2":"bw"},{"name":"Île Bouvet","alpha2":"bv"},{"name":"Brésil","alpha2":"br"},{"name":"Brunei","alpha2":"bn"},{"name":"Bulgarie","alpha2":"bg"},{"name":"Burkina Faso","alpha2":"bf"},{"name":"Burundi","alpha2":"bi"},{"name":"Îles Caïmans","alpha2":"ky"},{"name":"Cambodge","alpha2":"kh"},{"name":"Cameroun","alpha2":"cm"},{"name":"Canada","alpha2":"ca"},{"name":"Cap-Vert","alpha2":"cv"},{"name":"République centrafricaine","alpha2":"cf"},{"name":"Chili","alpha2":"cl"},{"name":"Chine","alpha2":"cn"},{"name":"Île Christmas","alpha2":"cx"},{"name":"Chypre (pays)","alpha2":"cy"},{"name":"Îles Cocos","alpha2":"cc"},{"name":"Colombie","alpha2":"co"},{"name":"Comores (pays)","alpha2":"km"},{"name":"République du Congo","alpha2":"cg"},{"name":"République démocratique du Congo","alpha2":"cd"},{"name":"Îles Cook","alpha2":"ck"},{"name":"Corée du Sud","alpha2":"kr"},{"name":"Corée du Nord","alpha2":"kp"},{"name":"Costa Rica","alpha2":"cr"},{"name":"Côte d\'Ivoire","alpha2":"ci"},{"name":"Croatie","alpha2":"hr"},{"name":"Cuba","alpha2":"cu"},{"name":"Curaçao","alpha2":"cw"},{"name":"Danemark","alpha2":"dk"},{"name":"Djibouti","alpha2":"dj"},{"name":"République dominicaine","alpha2":"do"},{"name":"Dominique","alpha2":"dm"},{"name":"Égypte","alpha2":"eg"},{"name":"Salvador","alpha2":"sv"},{"name":"Émirats arabes unis","alpha2":"ae"},{"name":"Équateur (pays)","alpha2":"ec"},{"name":"Érythrée","alpha2":"er"},{"name":"Espagne","alpha2":"es"},{"name":"Estonie","alpha2":"ee"},{"name":"États-Unis","alpha2":"us"},{"name":"Éthiopie","alpha2":"et"},{"name":"Malouines","alpha2":"fk"},{"name":"Îles Féroé","alpha2":"fo"},{"name":"Fidji","alpha2":"fj"},{"name":"Finlande","alpha2":"fi"},{"name":"France","alpha2":"fr"},{"name":"Gabon","alpha2":"ga"},{"name":"Gambie","alpha2":"gm"},{"name":"Géorgie (pays)","alpha2":"ge"},{"name":"Géorgie du Sud-et-les îles Sandwich du Sud","alpha2":"gs"},{"name":"Ghana","alpha2":"gh"},{"name":"Gibraltar","alpha2":"gi"},{"name":"Grèce","alpha2":"gr"},{"name":"Grenade (pays)","alpha2":"gd"},{"name":"Groenland","alpha2":"gl"},{"name":"Guadeloupe","alpha2":"gp"},{"name":"Guam","alpha2":"gu"},{"name":"Guatemala","alpha2":"gt"},{"name":"Guernesey","alpha2":"gg"},{"name":"Guinée","alpha2":"gn"},{"name":"Guinée-Bissau","alpha2":"gw"},{"name":"Guinée équatoriale","alpha2":"gq"},{"name":"Guyana","alpha2":"gy"},{"name":"Guyane","alpha2":"gf"},{"name":"Haïti","alpha2":"ht"},{"name":"Îles Heard-et-MacDonald","alpha2":"hm"},{"name":"Honduras","alpha2":"hn"},{"name":"Hong Kong","alpha2":"hk"},{"name":"Hongrie","alpha2":"hu"},{"name":"Île de Man","alpha2":"im"},{"name":"Îles mineures éloignées des États-Unis","alpha2":"um"},{"name":"Îles Vierges britanniques","alpha2":"vg"},{"name":"Îles Vierges des États-Unis","alpha2":"vi"},{"name":"Inde","alpha2":"in"},{"name":"Indonésie","alpha2":"id"},{"name":"Iran","alpha2":"ir"},{"name":"Irak","alpha2":"iq"},{"name":"Irlande (pays)","alpha2":"ie"},{"name":"Islande","alpha2":"is"},{"name":"Israël","alpha2":"il"},{"name":"Italie","alpha2":"it"},{"name":"Jamaïque","alpha2":"jm"},{"name":"Japon","alpha2":"jp"},{"name":"Jersey","alpha2":"je"},{"name":"Jordanie","alpha2":"jo"},{"name":"Kazakhstan","alpha2":"kz"},{"name":"Kenya","alpha2":"ke"},{"name":"Kirghizistan","alpha2":"kg"},{"name":"Kiribati","alpha2":"ki"},{"name":"Koweït","alpha2":"kw"},{"name":"Laos","alpha2":"la"},{"name":"Lesotho","alpha2":"ls"},{"name":"Lettonie","alpha2":"lv"},{"name":"Liban","alpha2":"lb"},{"name":"Liberia","alpha2":"lr"},{"name":"Libye","alpha2":"ly"},{"name":"Liechtenstein","alpha2":"li"},{"name":"Lituanie","alpha2":"lt"},{"name":"Luxembourg (pays)","alpha2":"lu"},{"name":"Macao","alpha2":"mo"},{"name":"République de Macédoine (pays)","alpha2":"mk"},{"name":"Madagascar","alpha2":"mg"},{"name":"Malaisie","alpha2":"my"},{"name":"Malawi","alpha2":"mw"},{"name":"Maldives","alpha2":"mv"},{"name":"Mali","alpha2":"ml"},{"name":"Malte","alpha2":"mt"},{"name":"Îles Mariannes du Nord","alpha2":"mp"},{"name":"Maroc","alpha2":"ma"},{"name":"Îles Marshall (pays)","alpha2":"mh"},{"name":"Martinique","alpha2":"mq"},{"name":"Maurice (pays)","alpha2":"mu"},{"name":"Mauritanie","alpha2":"mr"},{"name":"Mayotte","alpha2":"yt"},{"name":"Mexique","alpha2":"mx"},{"name":"Micronésie (pays)","alpha2":"fm"},{"name":"Moldavie","alpha2":"md"},{"name":"Monaco","alpha2":"mc"},{"name":"Mongolie","alpha2":"mn"},{"name":"Monténégro","alpha2":"me"},{"name":"Montserrat","alpha2":"ms"},{"name":"Mozambique","alpha2":"mz"},{"name":"Birmanie","alpha2":"mm"},{"name":"Namibie","alpha2":"na"},{"name":"Nauru","alpha2":"nr"},{"name":"Népal","alpha2":"np"},{"name":"Nicaragua","alpha2":"ni"},{"name":"Niger","alpha2":"ne"},{"name":"Nigeria","alpha2":"ng"},{"name":"Niue","alpha2":"nu"},{"name":"Île Norfolk","alpha2":"nf"},{"name":"Norvège","alpha2":"no"},{"name":"Nouvelle-Calédonie","alpha2":"nc"},{"name":"Nouvelle-Zélande","alpha2":"nz"},{"name":"Territoire britannique de l\'océan Indien","alpha2":"io"},{"name":"Oman","alpha2":"om"},{"name":"Ouganda","alpha2":"ug"},{"name":"Ouzbékistan","alpha2":"uz"},{"name":"Pakistan","alpha2":"pk"},{"name":"Palaos","alpha2":"pw"},{"name":"Palestine","alpha2":"ps"},{"name":"Panama","alpha2":"pa"},{"name":"Papouasie-Nouvelle-Guinée","alpha2":"pg"},{"name":"Paraguay","alpha2":"py"},{"name":"Pays-Bas","alpha2":"nl"},{"name":"Pérou","alpha2":"pe"},{"name":"Philippines","alpha2":"ph"},{"name":"Îles Pitcairn","alpha2":"pn"},{"name":"Pologne","alpha2":"pl"},{"name":"Polynésie française","alpha2":"pf"},{"name":"Porto Rico","alpha2":"pr"},{"name":"Portugal","alpha2":"pt"},{"name":"Qatar","alpha2":"qa"},{"name":"La Réunion","alpha2":"re"},{"name":"Roumanie","alpha2":"ro"},{"name":"Royaume-Uni","alpha2":"gb"},{"name":"Russie","alpha2":"ru"},{"name":"Rwanda","alpha2":"rw"},{"name":"République arabe sahraouie démocratique","alpha2":"eh"},{"name":"Saint-Barthélemy","alpha2":"bl"},{"name":"Saint-Christophe-et-Niévès","alpha2":"kn"},{"name":"Saint-Marin","alpha2":"sm"},{"name":"Saint-Martin","alpha2":"mf"},{"name":"Saint-Martin","alpha2":"sx"},{"name":"Saint-Pierre-et-Miquelon","alpha2":"pm"},{"name":"Saint-Siège (État de la Cité du Vatican)","alpha2":"va"},{"name":"Saint-Vincent-et-les-Grenadines","alpha2":"vc"},{"name":"Sainte-Hélène, Ascension et Tristan da Cunha","alpha2":"sh"},{"name":"Sainte-Lucie","alpha2":"lc"},{"name":"Salomon","alpha2":"sb"},{"name":"Samoa","alpha2":"ws"},{"name":"Samoa américaines","alpha2":"as"},{"name":"Sao Tomé-et-Principe","alpha2":"st"},{"name":"Sénégal","alpha2":"sn"},{"name":"Serbie","alpha2":"rs"},{"name":"Seychelles","alpha2":"sc"},{"name":"Sierra Leone","alpha2":"sl"},{"name":"Singapour","alpha2":"sg"},{"name":"Slovaquie","alpha2":"sk"},{"name":"Slovénie","alpha2":"si"},{"name":"Somalie","alpha2":"so"},{"name":"Soudan","alpha2":"sd"},{"name":"Soudan du Sud","alpha2":"ss"},{"name":"Sri Lanka","alpha2":"lk"},{"name":"Suède","alpha2":"se"},{"name":"Suisse","alpha2":"ch"},{"name":"Suriname","alpha2":"sr"},{"name":"Svalbard et ile Jan Mayen","alpha2":"sj"},{"name":"Swaziland","alpha2":"sz"},{"name":"Syrie","alpha2":"sy"},{"name":"Tadjikistan","alpha2":"tj"},{"name":"Taïwan / (République de Chine (Taïwan))","alpha2":"tw"},{"name":"Tanzanie","alpha2":"tz"},{"name":"Tchad","alpha2":"td"},{"name":"Tchéquie","alpha2":"cz"},{"name":"Terres australes et antarctiques françaises","alpha2":"tf"},{"name":"Thaïlande","alpha2":"th"},{"name":"Timor oriental","alpha2":"tl"},{"name":"Togo","alpha2":"tg"},{"name":"Tokelau","alpha2":"tk"},{"name":"Tonga","alpha2":"to"},{"name":"Trinité-et-Tobago","alpha2":"tt"},{"name":"Tunisie","alpha2":"tn"},{"name":"Turkménistan","alpha2":"tm"},{"name":"Îles Turques-et-Caïques","alpha2":"tc"},{"name":"Turquie","alpha2":"tr"},{"name":"Tuvalu","alpha2":"tv"},{"name":"Ukraine","alpha2":"ua"},{"name":"Uruguay","alpha2":"uy"},{"name":"Vanuatu","alpha2":"vu"},{"name":"Venezuela","alpha2":"ve"},{"name":"Viêt Nam","alpha2":"vn"},{"name":"Wallis-et-Futuna","alpha2":"wf"},{"name":"Yémen","alpha2":"ye"},{"name":"Zambie","alpha2":"zm"},{"name":"Zimbabwe","alpha2":"zw"}]'),ok=Object.freeze(Object.defineProperty({__proto__:null,default:ik},Symbol.toStringTag,{value:"Module"})),sk=JSON.parse('[{"name":"Afganistán","alpha2":"af"},{"name":"Åland","alpha2":"ax"},{"name":"Albania","alpha2":"al"},{"name":"Alemania","alpha2":"de"},{"name":"Andorra","alpha2":"ad"},{"name":"Angola","alpha2":"ao"},{"name":"Anguila","alpha2":"ai"},{"name":"Antártida","alpha2":"aq"},{"name":"Antigua y Barbuda","alpha2":"ag"},{"name":"Arabia Saudita","alpha2":"sa"},{"name":"Argelia","alpha2":"dz"},{"name":"Argentina","alpha2":"ar"},{"name":"Armenia","alpha2":"am"},{"name":"Aruba","alpha2":"aw"},{"name":"Australia","alpha2":"au"},{"name":"Austria","alpha2":"at"},{"name":"Azerbaiyán","alpha2":"az"},{"name":"Bahamas","alpha2":"bs"},{"name":"Bangladés","alpha2":"bd"},{"name":"Barbados","alpha2":"bb"},{"name":"Baréin","alpha2":"bh"},{"name":"Bélgica","alpha2":"be"},{"name":"Belice","alpha2":"bz"},{"name":"Benín","alpha2":"bj"},{"name":"Bermudas","alpha2":"bm"},{"name":"Bielorrusia","alpha2":"by"},{"name":"Bolivia","alpha2":"bo"},{"name":"Bonaire, San Eustaquio y Saba","alpha2":"bq"},{"name":"Bosnia y Herzegovina","alpha2":"ba"},{"name":"Botsuana","alpha2":"bw"},{"name":"Brasil","alpha2":"br"},{"name":"Brunéi","alpha2":"bn"},{"name":"Bulgaria","alpha2":"bg"},{"name":"Burkina Faso","alpha2":"bf"},{"name":"Burundi","alpha2":"bi"},{"name":"Bután","alpha2":"bt"},{"name":"Cabo Verde","alpha2":"cv"},{"name":"Camboya","alpha2":"kh"},{"name":"Camerún","alpha2":"cm"},{"name":"Canadá","alpha2":"ca"},{"name":"Catar","alpha2":"qa"},{"name":"Chad","alpha2":"td"},{"name":"Chile","alpha2":"cl"},{"name":"China","alpha2":"cn"},{"name":"Chipre","alpha2":"cy"},{"name":"Colombia","alpha2":"co"},{"name":"Comoras","alpha2":"km"},{"name":"Corea del Norte","alpha2":"kp"},{"name":"Corea del Sur","alpha2":"kr"},{"name":"Costa de Marfil","alpha2":"ci"},{"name":"Costa Rica","alpha2":"cr"},{"name":"Croacia","alpha2":"hr"},{"name":"Cuba","alpha2":"cu"},{"name":"Curazao","alpha2":"cw"},{"name":"Dinamarca","alpha2":"dk"},{"name":"Dominica","alpha2":"dm"},{"name":"Ecuador","alpha2":"ec"},{"name":"Egipto","alpha2":"eg"},{"name":"El Salvador","alpha2":"sv"},{"name":"Emiratos Árabes Unidos","alpha2":"ae"},{"name":"Eritrea","alpha2":"er"},{"name":"Eslovaquia","alpha2":"sk"},{"name":"Eslovenia","alpha2":"si"},{"name":"España","alpha2":"es"},{"name":"Estados Unidos","alpha2":"us"},{"name":"Estonia","alpha2":"ee"},{"name":"Etiopía","alpha2":"et"},{"name":"Filipinas","alpha2":"ph"},{"name":"Finlandia","alpha2":"fi"},{"name":"Fiyi","alpha2":"fj"},{"name":"Francia","alpha2":"fr"},{"name":"Gabón","alpha2":"ga"},{"name":"Gambia","alpha2":"gm"},{"name":"Georgia","alpha2":"ge"},{"name":"Ghana","alpha2":"gh"},{"name":"Gibraltar","alpha2":"gi"},{"name":"Granada","alpha2":"gd"},{"name":"Grecia","alpha2":"gr"},{"name":"Groenlandia","alpha2":"gl"},{"name":"Guadalupe","alpha2":"gp"},{"name":"Guam","alpha2":"gu"},{"name":"Guatemala","alpha2":"gt"},{"name":"Guayana Francesa","alpha2":"gf"},{"name":"Guernsey","alpha2":"gg"},{"name":"Guinea","alpha2":"gn"},{"name":"Guinea-Bisáu","alpha2":"gw"},{"name":"Guinea Ecuatorial","alpha2":"gq"},{"name":"Guyana","alpha2":"gy"},{"name":"Haití","alpha2":"ht"},{"name":"Honduras","alpha2":"hn"},{"name":"Hong Kong","alpha2":"hk"},{"name":"Hungría","alpha2":"hu"},{"name":"India","alpha2":"in"},{"name":"Indonesia","alpha2":"id"},{"name":"Irak","alpha2":"iq"},{"name":"Irán","alpha2":"ir"},{"name":"Irlanda","alpha2":"ie"},{"name":"Isla Bouvet","alpha2":"bv"},{"name":"Isla de Man","alpha2":"im"},{"name":"Isla de Navidad","alpha2":"cx"},{"name":"Islandia","alpha2":"is"},{"name":"Islas Caimán","alpha2":"ky"},{"name":"Islas Cocos","alpha2":"cc"},{"name":"Islas Cook","alpha2":"ck"},{"name":"Islas Feroe","alpha2":"fo"},{"name":"Islas Georgias del Sur y Sandwich del Sur","alpha2":"gs"},{"name":"Islas Heard y McDonald","alpha2":"hm"},{"name":"Islas Malvinas","alpha2":"fk"},{"name":"Islas Marianas del Norte","alpha2":"mp"},{"name":"Islas Marshall","alpha2":"mh"},{"name":"Islas Pitcairn","alpha2":"pn"},{"name":"Islas Salomón","alpha2":"sb"},{"name":"Islas Turcas y Caicos","alpha2":"tc"},{"name":"Islas ultramarinas de Estados Unidos","alpha2":"um"},{"name":"Islas Vírgenes Británicas","alpha2":"vg"},{"name":"Islas Vírgenes de los Estados Unidos","alpha2":"vi"},{"name":"Israel","alpha2":"il"},{"name":"Italia","alpha2":"it"},{"name":"Jamaica","alpha2":"jm"},{"name":"Japón","alpha2":"jp"},{"name":"Jersey","alpha2":"je"},{"name":"Jordania","alpha2":"jo"},{"name":"Kazajistán","alpha2":"kz"},{"name":"Kenia","alpha2":"ke"},{"name":"Kirguistán","alpha2":"kg"},{"name":"Kiribati","alpha2":"ki"},{"name":"Kuwait","alpha2":"kw"},{"name":"Laos","alpha2":"la"},{"name":"Lesoto","alpha2":"ls"},{"name":"Letonia","alpha2":"lv"},{"name":"Líbano","alpha2":"lb"},{"name":"Liberia","alpha2":"lr"},{"name":"Libia","alpha2":"ly"},{"name":"Liechtenstein","alpha2":"li"},{"name":"Lituania","alpha2":"lt"},{"name":"Luxemburgo","alpha2":"lu"},{"name":"Macao","alpha2":"mo"},{"name":"Macedonia","alpha2":"mk"},{"name":"Madagascar","alpha2":"mg"},{"name":"Malasia","alpha2":"my"},{"name":"Malaui","alpha2":"mw"},{"name":"Maldivas","alpha2":"mv"},{"name":"Malí","alpha2":"ml"},{"name":"Malta","alpha2":"mt"},{"name":"Marruecos","alpha2":"ma"},{"name":"Martinica","alpha2":"mq"},{"name":"Mauricio","alpha2":"mu"},{"name":"Mauritania","alpha2":"mr"},{"name":"Mayotte","alpha2":"yt"},{"name":"México","alpha2":"mx"},{"name":"Micronesia","alpha2":"fm"},{"name":"Moldavia","alpha2":"md"},{"name":"Mónaco","alpha2":"mc"},{"name":"Mongolia","alpha2":"mn"},{"name":"Montenegro","alpha2":"me"},{"name":"Montserrat","alpha2":"ms"},{"name":"Mozambique","alpha2":"mz"},{"name":"Myanmar","alpha2":"mm"},{"name":"Namibia","alpha2":"na"},{"name":"Nauru","alpha2":"nr"},{"name":"Nepal","alpha2":"np"},{"name":"Nicaragua","alpha2":"ni"},{"name":"Níger","alpha2":"ne"},{"name":"Nigeria","alpha2":"ng"},{"name":"Niue","alpha2":"nu"},{"name":"Norfolk","alpha2":"nf"},{"name":"Noruega","alpha2":"no"},{"name":"Nueva Caledonia","alpha2":"nc"},{"name":"Nueva Zelanda","alpha2":"nz"},{"name":"Omán","alpha2":"om"},{"name":"Países Bajos","alpha2":"nl"},{"name":"Pakistán","alpha2":"pk"},{"name":"Palaos","alpha2":"pw"},{"name":"Palestina","alpha2":"ps"},{"name":"Panamá","alpha2":"pa"},{"name":"Papúa Nueva Guinea","alpha2":"pg"},{"name":"Paraguay","alpha2":"py"},{"name":"Perú","alpha2":"pe"},{"name":"Polinesia Francesa","alpha2":"pf"},{"name":"Polonia","alpha2":"pl"},{"name":"Portugal","alpha2":"pt"},{"name":"Puerto Rico","alpha2":"pr"},{"name":"Reino Unido","alpha2":"gb"},{"name":"República Árabe Saharaui Democrática","alpha2":"eh"},{"name":"República Centroafricana","alpha2":"cf"},{"name":"República Checa","alpha2":"cz"},{"name":"República del Congo","alpha2":"cg"},{"name":"República Democrática del Congo","alpha2":"cd"},{"name":"República Dominicana","alpha2":"do"},{"name":"Reunión","alpha2":"re"},{"name":"Ruanda","alpha2":"rw"},{"name":"Rumania","alpha2":"ro"},{"name":"Rusia","alpha2":"ru"},{"name":"Samoa","alpha2":"ws"},{"name":"Samoa Americana","alpha2":"as"},{"name":"San Bartolomé","alpha2":"bl"},{"name":"San Cristóbal y Nieves","alpha2":"kn"},{"name":"San Marino","alpha2":"sm"},{"name":"San Martín","alpha2":"mf"},{"name":"San Pedro y Miquelón","alpha2":"pm"},{"name":"San Vicente y las Granadinas","alpha2":"vc"},{"name":"Santa Elena, Ascensión y Tristán de Acuña","alpha2":"sh"},{"name":"Santa Lucía","alpha2":"lc"},{"name":"Santo Tomé y Príncipe","alpha2":"st"},{"name":"Senegal","alpha2":"sn"},{"name":"Serbia","alpha2":"rs"},{"name":"Seychelles","alpha2":"sc"},{"name":"Sierra Leona","alpha2":"sl"},{"name":"Singapur","alpha2":"sg"},{"name":"Sint Maarten","alpha2":"sx"},{"name":"Siria","alpha2":"sy"},{"name":"Somalia","alpha2":"so"},{"name":"Sri Lanka","alpha2":"lk"},{"name":"Suazilandia","alpha2":"sz"},{"name":"Sudáfrica","alpha2":"za"},{"name":"Sudán","alpha2":"sd"},{"name":"Sudán del Sur","alpha2":"ss"},{"name":"Suecia","alpha2":"se"},{"name":"Suiza","alpha2":"ch"},{"name":"Surinam","alpha2":"sr"},{"name":"Svalbard y Jan Mayen","alpha2":"sj"},{"name":"Tailandia","alpha2":"th"},{"name":"Taiwán (República de China)","alpha2":"tw"},{"name":"Tanzania","alpha2":"tz"},{"name":"Tayikistán","alpha2":"tj"},{"name":"Territorio Británico del Océano Índico","alpha2":"io"},{"name":"Tierras Australes y Antárticas Francesas","alpha2":"tf"},{"name":"Timor Oriental","alpha2":"tl"},{"name":"Togo","alpha2":"tg"},{"name":"Tokelau","alpha2":"tk"},{"name":"Tonga","alpha2":"to"},{"name":"Trinidad y Tobago","alpha2":"tt"},{"name":"Túnez","alpha2":"tn"},{"name":"Turkmenistán","alpha2":"tm"},{"name":"Turquía","alpha2":"tr"},{"name":"Tuvalu","alpha2":"tv"},{"name":"Ucrania","alpha2":"ua"},{"name":"Uganda","alpha2":"ug"},{"name":"Uruguay","alpha2":"uy"},{"name":"Uzbekistán","alpha2":"uz"},{"name":"Vanuatu","alpha2":"vu"},{"name":"Vaticano, Ciudad del","alpha2":"va"},{"name":"Venezuela","alpha2":"ve"},{"name":"Vietnam","alpha2":"vn"},{"name":"Wallis y Futuna","alpha2":"wf"},{"name":"Yemen","alpha2":"ye"},{"name":"Yibuti","alpha2":"dj"},{"name":"Zambia","alpha2":"zm"},{"name":"Zimbabue","alpha2":"zw"}]'),ck=Object.freeze(Object.defineProperty({__proto__:null,default:sk},Symbol.toStringTag,{value:"Module"})),uk=JSON.parse('[{"name":"Afghanistan","alpha2":"af"},{"name":"Albania","alpha2":"al"},{"name":"Algeria","alpha2":"dz"},{"name":"Andorra","alpha2":"ad"},{"name":"Angola","alpha2":"ao"},{"name":"Anguilla","alpha2":"ai"},{"name":"Antartide","alpha2":"aq"},{"name":"Antigua e Barbuda","alpha2":"ag"},{"name":"Arabia Saudita","alpha2":"sa"},{"name":"Argentina","alpha2":"ar"},{"name":"Armenia","alpha2":"am"},{"name":"Aruba","alpha2":"aw"},{"name":"Australia","alpha2":"au"},{"name":"Austria","alpha2":"at"},{"name":"Azerbaigian","alpha2":"az"},{"name":"Bahamas","alpha2":"bs"},{"name":"Bahrein","alpha2":"bh"},{"name":"Bangladesh","alpha2":"bd"},{"name":"Barbados","alpha2":"bb"},{"name":"Belgio","alpha2":"be"},{"name":"Belize","alpha2":"bz"},{"name":"Benin","alpha2":"bj"},{"name":"Bermuda","alpha2":"bm"},{"name":"Bhutan","alpha2":"bt"},{"name":"Bielorussia","alpha2":"by"},{"name":"Birmania","alpha2":"mm"},{"name":"Bolivia","alpha2":"bo"},{"name":"Bosnia ed Erzegovina","alpha2":"ba"},{"name":"Botswana","alpha2":"bw"},{"name":"Brasile","alpha2":"br"},{"name":"Brunei","alpha2":"bn"},{"name":"Bulgaria","alpha2":"bg"},{"name":"Burkina Faso","alpha2":"bf"},{"name":"Burundi","alpha2":"bi"},{"name":"Cambogia","alpha2":"kh"},{"name":"Camerun","alpha2":"cm"},{"name":"Canada","alpha2":"ca"},{"name":"Capo Verde","alpha2":"cv"},{"name":"Ciad","alpha2":"td"},{"name":"Cile","alpha2":"cl"},{"name":"Cina","alpha2":"cn"},{"name":"Cipro","alpha2":"cy"},{"name":"Città del Vaticano","alpha2":"va"},{"name":"Colombia","alpha2":"co"},{"name":"Comore","alpha2":"km"},{"name":"Corea del Nord","alpha2":"kp"},{"name":"Corea del Sud","alpha2":"kr"},{"name":"Costa d\'Avorio","alpha2":"ci"},{"name":"Costa Rica","alpha2":"cr"},{"name":"Croazia","alpha2":"hr"},{"name":"Cuba","alpha2":"cu"},{"name":"Curaçao","alpha2":"cw"},{"name":"Danimarca","alpha2":"dk"},{"name":"Dominica","alpha2":"dm"},{"name":"Ecuador","alpha2":"ec"},{"name":"Egitto","alpha2":"eg"},{"name":"El Salvador","alpha2":"sv"},{"name":"Emirati Arabi Uniti","alpha2":"ae"},{"name":"Eritrea","alpha2":"er"},{"name":"Estonia","alpha2":"ee"},{"name":"Etiopia","alpha2":"et"},{"name":"Figi","alpha2":"fj"},{"name":"Filippine","alpha2":"ph"},{"name":"Finlandia","alpha2":"fi"},{"name":"Francia","alpha2":"fr"},{"name":"Gabon","alpha2":"ga"},{"name":"Gambia","alpha2":"gm"},{"name":"Georgia","alpha2":"ge"},{"name":"Georgia del Sud e Isole Sandwich Australi","alpha2":"gs"},{"name":"Germania","alpha2":"de"},{"name":"Ghana","alpha2":"gh"},{"name":"Giamaica","alpha2":"jm"},{"name":"Giappone","alpha2":"jp"},{"name":"Gibilterra","alpha2":"gi"},{"name":"Gibuti","alpha2":"dj"},{"name":"Giordania","alpha2":"jo"},{"name":"Grecia","alpha2":"gr"},{"name":"Grenada","alpha2":"gd"},{"name":"Groenlandia","alpha2":"gl"},{"name":"Guadalupa","alpha2":"gp"},{"name":"Guam","alpha2":"gu"},{"name":"Guatemala","alpha2":"gt"},{"name":"Guernsey","alpha2":"gg"},{"name":"Guinea","alpha2":"gn"},{"name":"Guinea-Bissau","alpha2":"gw"},{"name":"Guinea Equatoriale","alpha2":"gq"},{"name":"Guyana","alpha2":"gy"},{"name":"Guyana francese","alpha2":"gf"},{"name":"Haiti","alpha2":"ht"},{"name":"Honduras","alpha2":"hn"},{"name":"Hong Kong","alpha2":"hk"},{"name":"India","alpha2":"in"},{"name":"Indonesia","alpha2":"id"},{"name":"Iran","alpha2":"ir"},{"name":"Iraq","alpha2":"iq"},{"name":"Irlanda","alpha2":"ie"},{"name":"Islanda","alpha2":"is"},{"name":"Isola Bouvet","alpha2":"bv"},{"name":"Isola di Man","alpha2":"im"},{"name":"Isola di Natale","alpha2":"cx"},{"name":"Isola Norfolk","alpha2":"nf"},{"name":"Isole Åland","alpha2":"ax"},{"name":"Isole BES","alpha2":"bq"},{"name":"Isole Cayman","alpha2":"ky"},{"name":"Isole Cocos (Keeling)","alpha2":"cc"},{"name":"Isole Cook","alpha2":"ck"},{"name":"Fær Øer","alpha2":"fo"},{"name":"Isole Falkland","alpha2":"fk"},{"name":"Isole Heard e McDonald","alpha2":"hm"},{"name":"Isole Marianne Settentrionali","alpha2":"mp"},{"name":"Isole Marshall","alpha2":"mh"},{"name":"Isole minori esterne degli Stati Uniti","alpha2":"um"},{"name":"Isole Pitcairn","alpha2":"pn"},{"name":"Isole Salomone","alpha2":"sb"},{"name":"Isole Vergini britanniche","alpha2":"vg"},{"name":"Isole Vergini americane","alpha2":"vi"},{"name":"Israele","alpha2":"il"},{"name":"Italia","alpha2":"it"},{"name":"Jersey","alpha2":"je"},{"name":"Kazakistan","alpha2":"kz"},{"name":"Kenya","alpha2":"ke"},{"name":"Kirghizistan","alpha2":"kg"},{"name":"Kiribati","alpha2":"ki"},{"name":"Kuwait","alpha2":"kw"},{"name":"Laos","alpha2":"la"},{"name":"Lesotho","alpha2":"ls"},{"name":"Lettonia","alpha2":"lv"},{"name":"Libano","alpha2":"lb"},{"name":"Liberia","alpha2":"lr"},{"name":"Libia","alpha2":"ly"},{"name":"Liechtenstein","alpha2":"li"},{"name":"Lituania","alpha2":"lt"},{"name":"Lussemburgo","alpha2":"lu"},{"name":"Macao","alpha2":"mo"},{"name":"Macedonia","alpha2":"mk"},{"name":"Madagascar","alpha2":"mg"},{"name":"Malawi","alpha2":"mw"},{"name":"Malaysia","alpha2":"my"},{"name":"Maldive","alpha2":"mv"},{"name":"Mali","alpha2":"ml"},{"name":"Malta","alpha2":"mt"},{"name":"Marocco","alpha2":"ma"},{"name":"Martinica","alpha2":"mq"},{"name":"Mauritania","alpha2":"mr"},{"name":"Mauritius","alpha2":"mu"},{"name":"Mayotte","alpha2":"yt"},{"name":"Messico","alpha2":"mx"},{"name":"Micronesia","alpha2":"fm"},{"name":"Moldavia","alpha2":"md"},{"name":"Mongolia","alpha2":"mn"},{"name":"Montenegro","alpha2":"me"},{"name":"Montserrat","alpha2":"ms"},{"name":"Mozambico","alpha2":"mz"},{"name":"Namibia","alpha2":"na"},{"name":"Nauru","alpha2":"nr"},{"name":"Nepal","alpha2":"np"},{"name":"Nicaragua","alpha2":"ni"},{"name":"Niger","alpha2":"ne"},{"name":"Nigeria","alpha2":"ng"},{"name":"Niue","alpha2":"nu"},{"name":"Norvegia","alpha2":"no"},{"name":"Nuova Caledonia","alpha2":"nc"},{"name":"Nuova Zelanda","alpha2":"nz"},{"name":"Oman","alpha2":"om"},{"name":"Paesi Bassi","alpha2":"nl"},{"name":"Pakistan","alpha2":"pk"},{"name":"Palau","alpha2":"pw"},{"name":"Palestina","alpha2":"ps"},{"name":"Panama","alpha2":"pa"},{"name":"Papua Nuova Guinea","alpha2":"pg"},{"name":"Paraguay","alpha2":"py"},{"name":"Perù","alpha2":"pe"},{"name":"Polinesia Francese","alpha2":"pf"},{"name":"Polonia","alpha2":"pl"},{"name":"Porto Rico","alpha2":"pr"},{"name":"Portogallo","alpha2":"pt"},{"name":"Monaco","alpha2":"mc"},{"name":"Qatar","alpha2":"qa"},{"name":"Regno Unito","alpha2":"gb"},{"name":"RD del Congo","alpha2":"cd"},{"name":"Rep. Ceca","alpha2":"cz"},{"name":"Rep. Centrafricana","alpha2":"cf"},{"name":"Rep. del Congo","alpha2":"cg"},{"name":"Rep. Dominicana","alpha2":"do"},{"name":"Riunione","alpha2":"re"},{"name":"Romania","alpha2":"ro"},{"name":"Ruanda","alpha2":"rw"},{"name":"Russia","alpha2":"ru"},{"name":"Sahara Occidentale","alpha2":"eh"},{"name":"Saint Kitts e Nevis","alpha2":"kn"},{"name":"Saint Lucia","alpha2":"lc"},{"name":"Sant\'Elena, Ascensione e Tristan da Cunha","alpha2":"sh"},{"name":"Saint Vincent e Grenadine","alpha2":"vc"},{"name":"Saint-Barthélemy","alpha2":"bl"},{"name":"Saint-Martin","alpha2":"mf"},{"name":"Saint-Pierre e Miquelon","alpha2":"pm"},{"name":"Samoa","alpha2":"ws"},{"name":"Samoa Americane","alpha2":"as"},{"name":"San Marino","alpha2":"sm"},{"name":"São Tomé e Príncipe","alpha2":"st"},{"name":"Senegal","alpha2":"sn"},{"name":"Serbia","alpha2":"rs"},{"name":"Seychelles","alpha2":"sc"},{"name":"Sierra Leone","alpha2":"sl"},{"name":"Singapore","alpha2":"sg"},{"name":"Sint Maarten","alpha2":"sx"},{"name":"Siria","alpha2":"sy"},{"name":"Slovacchia","alpha2":"sk"},{"name":"Slovenia","alpha2":"si"},{"name":"Somalia","alpha2":"so"},{"name":"Spagna","alpha2":"es"},{"name":"Sri Lanka","alpha2":"lk"},{"name":"Stati Uniti","alpha2":"us"},{"name":"Sudafrica","alpha2":"za"},{"name":"Sudan","alpha2":"sd"},{"name":"Sudan del Sud","alpha2":"ss"},{"name":"Suriname","alpha2":"sr"},{"name":"Svalbard e Jan Mayen","alpha2":"sj"},{"name":"Svezia","alpha2":"se"},{"name":"Svizzera","alpha2":"ch"},{"name":"Swaziland","alpha2":"sz"},{"name":"Taiwan","alpha2":"tw"},{"name":"Tagikistan","alpha2":"tj"},{"name":"Tanzania","alpha2":"tz"},{"name":"Terre australi e antartiche francesi","alpha2":"tf"},{"name":"Territorio britannico dell\'Oceano Indiano","alpha2":"io"},{"name":"Thailandia","alpha2":"th"},{"name":"Timor Est","alpha2":"tl"},{"name":"Togo","alpha2":"tg"},{"name":"Tokelau","alpha2":"tk"},{"name":"Tonga","alpha2":"to"},{"name":"Trinidad e Tobago","alpha2":"tt"},{"name":"Tunisia","alpha2":"tn"},{"name":"Turchia","alpha2":"tr"},{"name":"Turkmenistan","alpha2":"tm"},{"name":"Turks e Caicos","alpha2":"tc"},{"name":"Tuvalu","alpha2":"tv"},{"name":"Ucraina","alpha2":"ua"},{"name":"Uganda","alpha2":"ug"},{"name":"Ungheria","alpha2":"hu"},{"name":"Uruguay","alpha2":"uy"},{"name":"Uzbekistan","alpha2":"uz"},{"name":"Vanuatu","alpha2":"vu"},{"name":"Venezuela","alpha2":"ve"},{"name":"Vietnam","alpha2":"vn"},{"name":"Wallis e Futuna","alpha2":"wf"},{"name":"Yemen","alpha2":"ye"},{"name":"Zambia","alpha2":"zm"},{"name":"Zimbabwe","alpha2":"zw"}]'),lk=Object.freeze(Object.defineProperty({__proto__:null,default:uk},Symbol.toStringTag,{value:"Module"})),dk=JSON.parse('[{"name":"Afghanistan","alpha2":"af"},{"name":"Åland Islands","alpha2":"ax"},{"name":"Albania","alpha2":"al"},{"name":"Algeria","alpha2":"dz"},{"name":"American Samoa","alpha2":"as"},{"name":"Andorra","alpha2":"ad"},{"name":"Angola","alpha2":"ao"},{"name":"Anguilla","alpha2":"ai"},{"name":"Antarctica","alpha2":"aq"},{"name":"Antigua and Barbuda","alpha2":"ag"},{"name":"Argentina","alpha2":"ar"},{"name":"Armenia","alpha2":"am"},{"name":"Aruba","alpha2":"aw"},{"name":"Australia","alpha2":"au"},{"name":"Austria","alpha2":"at"},{"name":"Azerbaijan","alpha2":"az"},{"name":"Bahamas","alpha2":"bs"},{"name":"Bahrain","alpha2":"bh"},{"name":"Bangladesh","alpha2":"bd"},{"name":"Barbados","alpha2":"bb"},{"name":"Belarus","alpha2":"by"},{"name":"Belgium","alpha2":"be"},{"name":"Belize","alpha2":"bz"},{"name":"Benin","alpha2":"bj"},{"name":"Bermuda","alpha2":"bm"},{"name":"Bhutan","alpha2":"bt"},{"name":"Bolivia (Plurinational State of)","alpha2":"bo"},{"name":"Bonaire, Sint Eustatius and Saba","alpha2":"bq"},{"name":"Bosnia and Herzegovina","alpha2":"ba"},{"name":"Botswana","alpha2":"bw"},{"name":"Bouvet Island","alpha2":"bv"},{"name":"Brazil","alpha2":"br"},{"name":"British Indian Ocean Territory","alpha2":"io"},{"name":"Brunei Darussalam","alpha2":"bn"},{"name":"Bulgaria","alpha2":"bg"},{"name":"Burkina Faso","alpha2":"bf"},{"name":"Burundi","alpha2":"bi"},{"name":"Cabo Verde","alpha2":"cv"},{"name":"Cambodia","alpha2":"kh"},{"name":"Cameroon","alpha2":"cm"},{"name":"Canada","alpha2":"ca"},{"name":"Cayman Islands","alpha2":"ky"},{"name":"Central African Republic","alpha2":"cf"},{"name":"Chad","alpha2":"td"},{"name":"Chile","alpha2":"cl"},{"name":"China","alpha2":"cn"},{"name":"Christmas Island","alpha2":"cx"},{"name":"Cocos (Keeling) Islands","alpha2":"cc"},{"name":"Colombia","alpha2":"co"},{"name":"Comoros","alpha2":"km"},{"name":"Congo","alpha2":"cg"},{"name":"Congo (Democratic Republic of the)","alpha2":"cd"},{"name":"Cook Islands","alpha2":"ck"},{"name":"Costa Rica","alpha2":"cr"},{"name":"Côte d\'Ivoire","alpha2":"ci"},{"name":"Croatia","alpha2":"hr"},{"name":"Cuba","alpha2":"cu"},{"name":"Curaçao","alpha2":"cw"},{"name":"Cyprus","alpha2":"cy"},{"name":"Czechia","alpha2":"cz"},{"name":"Denmark","alpha2":"dk"},{"name":"Djibouti","alpha2":"dj"},{"name":"Dominica","alpha2":"dm"},{"name":"Dominican Republic","alpha2":"do"},{"name":"Ecuador","alpha2":"ec"},{"name":"Egypt","alpha2":"eg"},{"name":"El Salvador","alpha2":"sv"},{"name":"Equatorial Guinea","alpha2":"gq"},{"name":"Eritrea","alpha2":"er"},{"name":"Estonia","alpha2":"ee"},{"name":"Eswatini","alpha2":"sz"},{"name":"Ethiopia","alpha2":"et"},{"name":"Falkland Islands (Malvinas)","alpha2":"fk"},{"name":"Faroe Islands","alpha2":"fo"},{"name":"Fiji","alpha2":"fj"},{"name":"Finland","alpha2":"fi"},{"name":"France","alpha2":"fr"},{"name":"French Guiana","alpha2":"gf"},{"name":"French Polynesia","alpha2":"pf"},{"name":"French Southern Territories","alpha2":"tf"},{"name":"Gabon","alpha2":"ga"},{"name":"Gambia","alpha2":"gm"},{"name":"Georgia","alpha2":"ge"},{"name":"Germany","alpha2":"de"},{"name":"Ghana","alpha2":"gh"},{"name":"Gibraltar","alpha2":"gi"},{"name":"Greece","alpha2":"gr"},{"name":"Greenland","alpha2":"gl"},{"name":"Grenada","alpha2":"gd"},{"name":"Guadeloupe","alpha2":"gp"},{"name":"Guam","alpha2":"gu"},{"name":"Guatemala","alpha2":"gt"},{"name":"Guernsey","alpha2":"gg"},{"name":"Guinea","alpha2":"gn"},{"name":"Guinea-Bissau","alpha2":"gw"},{"name":"Guyana","alpha2":"gy"},{"name":"Haiti","alpha2":"ht"},{"name":"Heard Island and McDonald Islands","alpha2":"hm"},{"name":"Holy See","alpha2":"va"},{"name":"Honduras","alpha2":"hn"},{"name":"Hong Kong","alpha2":"hk"},{"name":"Hungary","alpha2":"hu"},{"name":"Iceland","alpha2":"is"},{"name":"India","alpha2":"in"},{"name":"Indonesia","alpha2":"id"},{"name":"Iran (Islamic Republic of)","alpha2":"ir"},{"name":"Iraq","alpha2":"iq"},{"name":"Ireland","alpha2":"ie"},{"name":"Isle of Man","alpha2":"im"},{"name":"Israel","alpha2":"il"},{"name":"Italy","alpha2":"it"},{"name":"Jamaica","alpha2":"jm"},{"name":"Japan","alpha2":"jp"},{"name":"Jersey","alpha2":"je"},{"name":"Jordan","alpha2":"jo"},{"name":"Kazakhstan","alpha2":"kz"},{"name":"Kenya","alpha2":"ke"},{"name":"Kiribati","alpha2":"ki"},{"name":"Korea (Democratic People\'s Republic of)","alpha2":"kp"},{"name":"Korea (Republic of)","alpha2":"kr"},{"name":"Kuwait","alpha2":"kw"},{"name":"Kyrgyzstan","alpha2":"kg"},{"name":"Lao People\'s Democratic Republic","alpha2":"la"},{"name":"Latvia","alpha2":"lv"},{"name":"Lebanon","alpha2":"lb"},{"name":"Lesotho","alpha2":"ls"},{"name":"Liberia","alpha2":"lr"},{"name":"Libya","alpha2":"ly"},{"name":"Liechtenstein","alpha2":"li"},{"name":"Lithuania","alpha2":"lt"},{"name":"Luxembourg","alpha2":"lu"},{"name":"Macao","alpha2":"mo"},{"name":"Macedonia (the former Yugoslav Republic of)","alpha2":"mk"},{"name":"Madagascar","alpha2":"mg"},{"name":"Malawi","alpha2":"mw"},{"name":"Malaysia","alpha2":"my"},{"name":"Maldives","alpha2":"mv"},{"name":"Mali","alpha2":"ml"},{"name":"Malta","alpha2":"mt"},{"name":"Marshall Islands","alpha2":"mh"},{"name":"Martinique","alpha2":"mq"},{"name":"Mauritania","alpha2":"mr"},{"name":"Mauritius","alpha2":"mu"},{"name":"Mayotte","alpha2":"yt"},{"name":"Mexico","alpha2":"mx"},{"name":"Micronesia (Federated States of)","alpha2":"fm"},{"name":"Moldova (Republic of)","alpha2":"md"},{"name":"Monaco","alpha2":"mc"},{"name":"Mongolia","alpha2":"mn"},{"name":"Montenegro","alpha2":"me"},{"name":"Montserrat","alpha2":"ms"},{"name":"Morocco","alpha2":"ma"},{"name":"Mozambique","alpha2":"mz"},{"name":"Myanmar","alpha2":"mm"},{"name":"Namibia","alpha2":"na"},{"name":"Nauru","alpha2":"nr"},{"name":"Nepal","alpha2":"np"},{"name":"Netherlands","alpha2":"nl"},{"name":"New Caledonia","alpha2":"nc"},{"name":"New Zealand","alpha2":"nz"},{"name":"Nicaragua","alpha2":"ni"},{"name":"Niger","alpha2":"ne"},{"name":"Nigeria","alpha2":"ng"},{"name":"Niue","alpha2":"nu"},{"name":"Norfolk Island","alpha2":"nf"},{"name":"Northern Mariana Islands","alpha2":"mp"},{"name":"Norway","alpha2":"no"},{"name":"Oman","alpha2":"om"},{"name":"Pakistan","alpha2":"pk"},{"name":"Palau","alpha2":"pw"},{"name":"Palestine, State of","alpha2":"ps"},{"name":"Panama","alpha2":"pa"},{"name":"Papua New Guinea","alpha2":"pg"},{"name":"Paraguay","alpha2":"py"},{"name":"Peru","alpha2":"pe"},{"name":"Philippines","alpha2":"ph"},{"name":"Pitcairn","alpha2":"pn"},{"name":"Poland","alpha2":"pl"},{"name":"Portugal","alpha2":"pt"},{"name":"Puerto Rico","alpha2":"pr"},{"name":"Qatar","alpha2":"qa"},{"name":"Réunion","alpha2":"re"},{"name":"Romania","alpha2":"ro"},{"name":"Russian Federation","alpha2":"ru"},{"name":"Rwanda","alpha2":"rw"},{"name":"Saint Barthélemy","alpha2":"bl"},{"name":"Saint Helena, Ascension and Tristan da Cunha","alpha2":"sh"},{"name":"Saint Kitts and Nevis","alpha2":"kn"},{"name":"Saint Lucia","alpha2":"lc"},{"name":"Saint Martin (French part)","alpha2":"mf"},{"name":"Saint Pierre and Miquelon","alpha2":"pm"},{"name":"Saint Vincent and the Grenadines","alpha2":"vc"},{"name":"Samoa","alpha2":"ws"},{"name":"San Marino","alpha2":"sm"},{"name":"Sao Tome and Principe","alpha2":"st"},{"name":"Saudi Arabia","alpha2":"sa"},{"name":"Senegal","alpha2":"sn"},{"name":"Serbia","alpha2":"rs"},{"name":"Seychelles","alpha2":"sc"},{"name":"Sierra Leone","alpha2":"sl"},{"name":"Singapore","alpha2":"sg"},{"name":"Sint Maarten (Dutch part)","alpha2":"sx"},{"name":"Slovakia","alpha2":"sk"},{"name":"Slovenia","alpha2":"si"},{"name":"Solomon Islands","alpha2":"sb"},{"name":"Somalia","alpha2":"so"},{"name":"South Africa","alpha2":"za"},{"name":"South Georgia and the South Sandwich Islands","alpha2":"gs"},{"name":"South Sudan","alpha2":"ss"},{"name":"Spain","alpha2":"es"},{"name":"Sri Lanka","alpha2":"lk"},{"name":"Sudan","alpha2":"sd"},{"name":"Suriname","alpha2":"sr"},{"name":"Svalbard and Jan Mayen","alpha2":"sj"},{"name":"Sweden","alpha2":"se"},{"name":"Switzerland","alpha2":"ch"},{"name":"Syrian Arab Republic","alpha2":"sy"},{"name":"Taiwan, Province of China","alpha2":"tw"},{"name":"Tajikistan","alpha2":"tj"},{"name":"Tanzania, United Republic of","alpha2":"tz"},{"name":"Thailand","alpha2":"th"},{"name":"Timor-Leste","alpha2":"tl"},{"name":"Togo","alpha2":"tg"},{"name":"Tokelau","alpha2":"tk"},{"name":"Tonga","alpha2":"to"},{"name":"Trinidad and Tobago","alpha2":"tt"},{"name":"Tunisia","alpha2":"tn"},{"name":"Turkey","alpha2":"tr"},{"name":"Turkmenistan","alpha2":"tm"},{"name":"Turks and Caicos Islands","alpha2":"tc"},{"name":"Tuvalu","alpha2":"tv"},{"name":"Uganda","alpha2":"ug"},{"name":"Ukraine","alpha2":"ua"},{"name":"United Arab Emirates","alpha2":"ae"},{"name":"United Kingdom of Great Britain and Northern Ireland","alpha2":"gb"},{"name":"United States of America","alpha2":"us"},{"name":"United States Minor Outlying Islands","alpha2":"um"},{"name":"Uruguay","alpha2":"uy"},{"name":"Uzbekistan","alpha2":"uz"},{"name":"Vanuatu","alpha2":"vu"},{"name":"Venezuela (Bolivarian Republic of)","alpha2":"ve"},{"name":"Viet Nam","alpha2":"vn"},{"name":"Virgin Islands (British)","alpha2":"vg"},{"name":"Virgin Islands (U.S.)","alpha2":"vi"},{"name":"Wallis and Futuna","alpha2":"wf"},{"name":"Western Sahara","alpha2":"eh"},{"name":"Yemen","alpha2":"ye"},{"name":"Zambia","alpha2":"zm"},{"name":"Zimbabwe","alpha2":"zw"}]'),pk=Object.freeze(Object.defineProperty({__proto__:null,default:dk},Symbol.toStringTag,{value:"Module"}));return function({portalCode:t,objectCode:n,pageType:a,locale:r,filters:i,api_url:o="https://api.bukazu.com/graphql",sentryDsn:s}){const c=r??"en";e.useEffect(()=>{var e;s&&(e=s,void 0===$d()&&mf({dsn:e})),ff({portalCode:t,objectCode:n,locale:c})},[s,t,n,c]),e.useEffect(()=>{window.__localeId__=c,async function(e){if(!wf[e])try{switch(e){case"nl":{const{nl:e}=await Promise.resolve().then(()=>Ob);wf.nl=e;break}case"de":{const{de:e}=await Promise.resolve().then(()=>Pb);wf.de=e;break}case"fr":{const{fr:e}=await Promise.resolve().then(()=>$b);wf.fr=e;break}case"it":{const{it:e}=await Promise.resolve().then(()=>Hb);wf.it=e;break}case"es":{const{es:e}=await Promise.resolve().then(()=>ek);wf.es=e;break}default:return}}catch(t){}}(c)},[c]);const u=function({portalCode:t,pageType:n,locale:a,filters:r}){let i=[];if(!t){let e="No portal code is specified, so portal is not working";i.push(e)}if(n&&"reviews"!==n){let e=`'${n}' is not a valid page`;i.push(e)}a&&(["nl","de","en","fr","it","es"].includes(a)||i.push("Invalid locale")),r&&bf(r);const o=JSON.stringify(i);return e.useEffect(()=>{i.forEach(e=>_f(e))},[o]),0!==i.length&&l.jsxs("div",{children:[l.jsx("h2",{children:"Something went wrong please try again "}),l.jsx("ul",{children:i.map(e=>l.jsx("li",{children:e},e))})]})}({portalCode:t,pageType:a,locale:c,filters:i});if(u)return u;const d=new go({uri:o,cache:new Xi,headers:{locale:c},defaultOptions:{watchQuery:{fetchPolicy:"cache-and-network"}}});return l.jsx(Lo,{client:d,children:l.jsx(jf.Provider,{value:{portalCode:t,objectCode:n,locale:c},children:l.jsx("div",{className:"bu-portal",children:l.jsx(xb,{pageType:a,locale:c,filters:i})})})})}});
|