PageSourceSearch

https://owp.klarna.com/static/18391-7577cc42.js

js klarna.com collected 2026-09-24 08:24:31 UTC 41,073 bytes, 1 lines download raw bytes

1(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[18391],{55466(e,t,r){"use strict";var n=new Set(["ja","ko","zh","hi"]),i=new Set(["en-IN"]);function o(e){var t=String(e);if(i.has(t))return!0;var r=t.split("-")[0];return n.has(r)}var s=[{breakpoint:1e3,symbol:"k"},{breakpoint:1e6,symbol:"M"},{breakpoint:1e9,symbol:"B"},{breakpoint:1e12,symbol:"T"}];function u(e){for(var t=Math.abs(e),r=s.length-1;r>=0;r--){var n=s[r];if(t>=n.breakpoint)return{result:e/n.breakpoint,symbol:n.symbol}}return{result:e,symbol:null}}r.d(t,{E:()=>u,v:()=>o})},47548(e,t,r){"use strict";r.d(t,{AL:()=>D,kq:()=>S});var n=r(47830),i=new Set(["BIF","CLP","DJF","GNF","ISK","JPY","KMF","KRW","MGA","PYG","RWF","UGX","VND","VUV","XAF","XOF","XPF"]),o=new Set(["BHD","IQD","JOD","KWD","LYD","OMR","TND"]),s=function(e){var t=e.toUpperCase();return i.has(t)?0:o.has(t)?3:2},u=function(e){return Math.pow(10,s(e))},a=function(e){var t=e.locale;return(0,n.J)(t,{style:"decimal"}).format(1.1).replace(/\d/g,"").trim()},c=r(55466),l=["value","fractionDigits","minimumFractionDigits","maximumFractionDigits","locale","signDisplay"],f=["value","locale","signDisplay"],h=["value","locale","signDisplay"],p=["value","shortValue","hideCurrencySign","withoutCentDenominator","exactDecimals"];function y(e){return(y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach(function(t){var n,i,o;n=e,i=t,o=r[t],(i=function(e){var t=function(e,t){if("object"!=y(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=y(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==y(t)?t:t+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function b(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&({}).propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var g=function(e,t){return"RON"===e&&"string"==typeof t&&t.toLocaleLowerCase().includes("ro")},v=function(e){var t=e.value,r=e.withoutCentDenominator?1:u(t.currency);return{amount:Number(t.amount)/r,currency:t.currency}};function O(e,t){return"flipped"!==e?{signDisplay:e,amount:t}:{signDisplay:"always",amount:0===t?0:-1*t}}function w(e){var t=e.value,r=e.fractionDigits,i=e.minimumFractionDigits,o=e.maximumFractionDigits,s=e.locale,u=void 0===s?"en-US":s,a=e.signDisplay,c=b(e,l),f=O(a,t.amount);try{return(0,n.J)(u,m(m({style:"currency",currency:t.currency,minimumFractionDigits:void 0===i?r:i,maximumFractionDigits:void 0===o?r:o,signDisplay:f.signDisplay},g(t.currency,u)&&{currencyDisplay:"narrowSymbol"}),c)).format(f.amount)}catch(e){return""}}function S(e){var t=e.value,r=e.shortValue,i=e.hideCurrencySign,o=e.withoutCentDenominator,s=e.exactDecimals,a=b(e,p);if(!t||"object"!==y(t))return"";var l=v({value:t,withoutCentDenominator:o}),d=void 0!==a.fractionDigits,S=s||r||d?void 0:function(e,t,r){var n=r?1:u(t);if(Math.abs(Number(e.amount))%n==0)return 0}(t,l.currency,o),D=(r?function(e){var t;return(0,c.v)(null!=(t=e.locale)?t:"en-US")?function(e){var t=e.value,r=e.locale,i=void 0===r?"en-US":r,o=e.signDisplay,s=b(e,f),u=O(o,t.amount);try{return(0,n.J)(i,m(m({style:"currency",currency:t.currency,notation:"compact",compactDisplay:"short",minimumFractionDigits:0,maximumFractionDigits:1,signDisplay:u.signDisplay},g(t.currency,i)&&{currencyDisplay:"narrowSymbol"}),s)).format(u.amount)}catch(e){return""}}(e):function(e){var t,r=e.value,i=e.locale,o=void 0===i?"en-US":i,s=e.signDisplay,u=b(e,h),a=O(s,r.amount),l=(0,c.E)(a.amount),f=l.result,p=l.symbol;if(!p)return w(m(m({value:r,locale:o,signDisplay:s},u),{},{minimumFractionDigits:0,maximumFractionDigits:1}));var y=Math.abs(f),d=g(r.currency,o),v=null!=(t=u.currencyDisplay)?t:d?"narrowSymbol":void 0,S=(0,n.J)(o,m(m({style:"currency",currency:r.currency,minimumFractionDigits:0,maximumFractionDigits:1},d&&{currencyDisplay:"narrowSymbol"}),u)).format(y),D=j({value:r,locale:o,currencyDisplay:v}),P=S.replace(D,"").trim(),_=S.replace(P,P+p);return a.amount<0?"-".concat(_):"always"===a.signDisplay&&a.amount>0?"+".concat(_):_}(e)}:w)(m(m({value:l},a),void 0!==S?{fractionDigits:S}:{}));return i?D.replace(j({value:l,locale:a.locale,currencyDisplay:a.currencyDisplay}),"").trim():D}function j(e){var t=e.value,r=e.locale,i=e.currencyDisplay;
1if(!t)return"";var o=null!=i?i:g(t.currency,r)?"narrowSymbol":void 0;try{return(0,n.J)(null!=r?r:"en-US",m({style:"currency",currency:t.currency,minimumFractionDigits:0,maximumFractionDigits:0},o&&{currencyDisplay:o})).format(0).replace(/0/g,"").replace(/^[\s\u00A0\u202F,]+|[\s\u00A0\u202F,]+$/g,"").trim()||""}catch(e){return""}}function D(e){return{format:function(t){return S(m(m({},t),{},{locale:e.locale}))},getCurrencySign:function(t){return j({value:t,locale:e.locale})},getCurrencySignPosition:function(t){return function(e){var t=e.value,r=e.locale;if(!t)return"left";try{var i=(0,n.J)(null!=r?r:"en-US",m({style:"currency",currency:t.currency,minimumFractionDigits:0,maximumFractionDigits:0},g(t.currency,r)&&{currencyDisplay:"narrowSymbol"})).format(1).trim().search(/[0-9]/);if(-1===i)return"left";return 0===i?"right":"left"}catch(e){return"left"}}({value:t,locale:e.locale})},getCentDenominator:function(e){return u(e)},getDecimalSeparator:function(){return a({locale:e.locale})}}}},31256(e,t,r){"use strict";var n=r(82290),i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"short",r=(0,n.P)(e,{weekday:t}),i=new Date(2021,10,7);return Array.from({length:7},function(e,t){var n=r.format(new Date(i.getFullYear(),i.getMonth(),i.getDate()+t));return n.charAt(0).toUpperCase()+n.slice(1)})},o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"long",r=(0,n.P)(e,{month:t});return Array.from({length:12},function(e,t){var n=r.format(new Date(2021,t,1));return n.charAt(0).toUpperCase()+n.slice(1)})};function s(e){return{getLocalizedWeekdays:function(t){return i(e.locale,t)},getLocalizedMonths:function(t){return o(e.locale,t)},getLocalizedFullDate:function(t){var r;return r=e.locale,(0,n.P)(r,{weekday:"long",day:"numeric",month:"long",year:"numeric"}).format(t)}}}r.d(t,{Lz:()=>s})},82290(e,t,r){"use strict";var n=new Map;function i(e,t){var r,i=(r=String(e),t?"".concat(r,"|").concat(JSON.stringify(t,Object.keys(t).sort())):r),o=n.get(i);if(!o){try{o=new Intl.DateTimeFormat(e,t)}catch(e){o=new Intl.DateTimeFormat("en-US",t)}n.set(i,o)}return o}r.d(t,{P:()=>i})},47830(e,t,r){"use strict";var n=new Map;function i(e,t){var r,i=(r=String(e),t?"".concat(r,"|").concat(JSON.stringify(t,Object.keys(t).sort())):r),o=n.get(i);if(!o){try{o=new Intl.NumberFormat(e,t)}catch(e){o=new Intl.NumberFormat("en-US",t)}n.set(i,o)}return o}r.d(t,{J:()=>i})},50598(e,t,r){"use strict";var n=r(55466),i=r(47830);function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var s=["value","fractionDigits","minimumFractionDigits","maximumFractionDigits","locale","style"],u=["value","fractionDigits","minimumFractionDigits","maximumFractionDigits","locale","style"],a=["value","shortValue"];function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach(function(t){var n,i,s;n=e,i=t,s=r[t],(i=function(e){var t=function(e,t){if("object"!=o(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=o(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==o(t)?t:t+""}(i))in n?Object.defineProperty(n,i,{value:s,enumerable:!0,configurable:!0,writable:!0}):n[i]=s}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function f(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&({}).propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function h(e){return{format:function(t){var r,o,c,h;return o=(r=l(l({},t),{},{locale:e.locale})).value,c=r.shortValue,h=f(r,a),null==o?"":(c?function(e){var t=e.value,r=(e.fractionDigits,e.minimumFractionDigits,e.maximumFractionDigits,e.locale),o=void 0===r?"en-US":r,s=e.style,a=void 0===s?"decimal":s,c=f(e,u);if((0,n.v)(o))try{return(0,i.J)(o,l({style:a,notation:"compact",compactDisplay:"short",minimumFractionDigits:0,maximumFractionDigits:1},c)).format(t)}catch(e){return""}var h=(0,n.E)(t),p=h.result,y=h.symbol;try{return(0,i.J)(o,l({style:a,minimumFractionDigits:0,maximumFractionDigits:y?1:void 0},c)).format(p)+(y||"")}catch(e){return""}}:function(e){var t=e.value,r=e.fractionDigits,n=e.minimumFractionDigits,o=e.maximumFractionDigits,u=e.locale,a=e.style,c=f(e,s);try{return(0,i.J)(void 0===u?"en-US":u,l({style:void 0===a?"decimal":a,minimumFractionDigits:void 0===n?r:n,maximumFractionDigits:void 0===o?r:o},c)).format(t)}catch(e){return""}})(l({value:o},h))}}}
1r.d(t,{O:()=>h})},39064(e,t,r){"use strict";var n=r(47830);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var o=["value","locale","minimumFractionDigits","maximumFractionDigits"],s=["value","locale","minimumFractionDigits","maximumFractionDigits"];function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach(function(t){var n,o,s;n=e,o=t,s=r[t],(o=function(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=i(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==i(t)?t:t+""}(o))in n?Object.defineProperty(n,o,{value:s,enumerable:!0,configurable:!0,writable:!0}):n[o]=s}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function c(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&({}).propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var l=function(e){return e.replace(/\s/g,"")},f={"sv-SE":{format:l},"en-SE":{format:l}},h=function(e){if("number"==typeof e)return e;var t=parseFloat(e.replace(/%/g,"").trim().replace(",","."));return isNaN(t)?null:t};function p(e){return{format:function(t){return function(e){var t=e.value,r=e.locale,i=void 0===r?"en-US":r,u=e.minimumFractionDigits,l=e.maximumFractionDigits,p=c(e,s),y=h(t);if(null===y)return String(t);var d=function(e){var t=e.value,r=e.locale,i=e.minimumFractionDigits,s=e.maximumFractionDigits,u=c(e,o);try{return(0,n.J)(void 0===r?"en-US":r,a({style:"percent",minimumFractionDigits:void 0===i?0:i,maximumFractionDigits:void 0===s?2:s},u)).format(t/100)}catch(e){return""}}(a({value:y,locale:i,minimumFractionDigits:void 0===u?0:u,maximumFractionDigits:void 0===l?2:l},p)),m=String(i);return m in f?f[m].format(d):d}(a(a({},t),{},{locale:e.locale}))}}}r.d(t,{p:()=>p})},33062(e,t,r){"use strict";r.d(t,{i1:()=>f});var n=r(82290),i=new Map;function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach(function(t){var n,i,s;n=e,i=t,s=r[t],(i=function(e){var t=function(e,t){if("object"!=o(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=o(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==o(t)?t:t+""}(i))in n?Object.defineProperty(n,i,{value:s,enumerable:!0,configurable:!0,writable:!0}):n[i]=s}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var c=[{unit:"second",perNext:60},{unit:"minute",perNext:60},{unit:"hour",perNext:24},{unit:"day",perNext:7},{unit:"week",perNext:4.34524},{unit:"month",perNext:12}],l=function(e){return e instanceof Date?e.getTime():"number"==typeof e?e:new Date(e).getTime()};function f(e){return{format:function(t){return function(e){var t=e.value,r=e.now,n=e.locale,o=e.numeric,s=function(e){var t=e.value,r=e.now,n=void 0===r?Date.now():r,i=l(t),o=l(n);if(isNaN(i)||isNaN(o))return null;var s,u=(i-o)/1e3,f=function(e){var t="u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(e){if(e){if("string"==typeof e)return a(e,void 0);var t=({}).toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?a(e,void 0):void 0}}(e))){t&&(e=t);var r=0,n=function(){};return{s:n,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:n}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,s=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return o=e.done,e},e:function(e){s=!0,i=e},f:function(){try{o||null==t.return||t.return()}finally{if(s)throw i}}}}(c);try{for(f.s();!(s=f.n()).done;){var h=s.value,p=h.unit,y=h.perNext,d=Math.round(u),m=0===d?0:d;if(Math.abs(m)<y)return{amount:m,unit:p};u/=y}}catch(e){f.e(e)}finally{f.f()}return{amount:Math.round(u),unit:"year"}}({value:t,now:r});if(!s)return"";try{return(function(e,t){var r,n=(r=String(e),t?"".concat(r,"|").concat(JSON.stringify(t,Object.keys(t).sort())):r),o=i.get(n);if(!o){try{o=new Intl.RelativeTimeFormat(e,t)}catch(e){o=new Intl.RelativeTimeFormat("en-US",t)}i.set(n,o)}return o}
1)(void 0===n?"en-US":n,{numeric:void 0===o?"auto":o}).format(s.amount,s.unit)}catch(e){return""}}(u(u({},t),{},{locale:e.locale}))},formatAbsolute:function(t){return function(e){var t=e.value,r=e.locale,i=l(t);if(isNaN(i))return"";try{return(0,n.P)(void 0===r?"en-US":r,{dateStyle:"long",timeStyle:"short"}).format(i)}catch(e){return""}}(u(u({},t),{},{locale:e.locale}))}}}},74987(e){function t(e,t,r,n){var i=null==n||"number"==typeof n||"boolean"==typeof n?n:r(n),o=t.get(i);return void 0===o&&(o=e.call(this,n),t.set(i,o)),o}function r(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),o=t.get(i);return void 0===o&&(o=e.apply(this,n),t.set(i,o)),o}function n(){return JSON.stringify(arguments)}function i(){this.cache=Object.create(null)}i.prototype.has=function(e){return e in this.cache},i.prototype.get=function(e){return this.cache[e]},i.prototype.set=function(e,t){this.cache[e]=t};var o={create:function(){return new i}};e.exports=function(e,i){var s=i&&i.cache?i.cache:o,u=i&&i.serializer?i.serializer:n;return(i&&i.strategy?i.strategy:function(e,n){var i,o,s=1===e.length?t:r;return i=n.cache.create(),o=n.serializer,s.bind(this,e,i,o)})(e,{cache:s,serializer:u})},e.exports.strategies={variadic:function(e,t){var n,i;return n=t.cache.create(),i=t.serializer,r.bind(this,e,n,i)},monadic:function(e,r){var n,i;return n=r.cache.create(),i=r.serializer,t.bind(this,e,n,i)}}},84606(e,t,r){"use strict";var n=r(16823),i=TypeError;e.exports=function(e,t){if(!delete e[t])throw new i("Cannot delete property "+n(t)+" of "+n(e))}},13609(e,t,r){"use strict";var n=r(46518),i=r(48981),o=r(26198),s=r(34527),u=r(84606),a=r(96837);n({target:"Array",proto:!0,arity:1,forced:1!==[].unshift(0)||!function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(e){return e instanceof TypeError}}()},{unshift:function(e){var t=i(this),r=o(t),n=arguments.length;if(n){a(r+n);for(var c=r;c--;){var l=c+n;c in t?t[l]=t[c]:u(t,l)}for(var f=0;f<n;f++)t[f]=arguments[f]}return s(t,r+n)}})},53921(e,t,r){"use strict";var n=r(46518),i=r(72652),o=r(97040);n({target:"Object",stat:!0},{fromEntries:function(e){var t={};return i(e,function(e,r){o(t,e,r)},{AS_ENTRIES:!0}),t}})},1651(e,t,r){"use strict";var n=r(52775),i=r(24880),o=r(11381),s=r(66500),u=r(29658),a=r(26261),c=r(79757),l=class extends s.Q{#e;#t=void 0;#r=void 0;#n=void 0;#i;#o;#s;#u;#a;#c;#l;#f;#h;#p=new Set;constructor(e,t){super(),this.options=t,this.#e=e,this.#s=null,this.bindMethods(),this.setOptions(t)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#t.addObserver(this),f(this.#t,this.options)?this.#y():this.updateResult(),this.#d())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return h(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return h(this.#t,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#m(),this.#b(),this.#t.removeObserver(this)}setOptions(e){let t=this.options,r=this.#t;if(this.options=this.#e.defaultQueryOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof(0,i.GF)(this.options.enabled,this.#t))throw Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#g(),this.#t.setOptions(this.options),t._defaulted&&!(0,i.f8)(this.options,t)&&this.#e.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#t,observer:this});let n=this.hasListeners();n&&p(this.#t,r,this.options,t)&&this.#y(),this.updateResult(),n&&(this.#t!==r||(0,i.GF)(this.options.enabled,this.#t)!==(0,i.GF)(t.enabled,this.#t)||(0,i.GF)(this.options.staleTime,this.#t)!==(0,i.GF)(t.staleTime,this.#t))&&this.#v();let o=this.#O();n&&(this.#t!==r||(0,i.GF)(this.options.enabled,this.#t)!==(0,i.GF)(t.enabled,this.#t)||o!==this.#h)&&this.#w(o)}getOptimisticResult(e){let t=this.#e.getQueryCache().build(this.#e,e),r=this.createResult(t,e);return(0,i.f8)(this.getCurrentResult(),r)||(this.#n=r,this.#o=this.options,this.#i=this.#t.state),r}getCurrentResult(){return this.#n}trackResult(e,t){return new Proxy(e,{get:(e,r)=>(this.trackProp(r),t?.(r),Reflect.get(e,r))})}trackProp(e){this.#p.add(e)}getCurrentQuery(){return this.#t}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){let t,r=this.#e.defaultQueryOptions(e),n=this.#e.getQueryCache().build(this.#e,r),i=()=>{},o=new Promise(e=>{t=e,i=this.#e.getQueryCache().subscribe(t=>{"updated"===t.type&&t.query.queryHash===n.queryHash&&void 0!==n.state.data&&(i(),e(this.createResult(n,r)))})});return Promise.race([n.fetch().then(()=>{let e=this.createResult(n,r);return t?.(e),e}).finally(()=>{i()}),o])}fetch(e){return this.#y({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#n))}#y(e){this.#g();let t=this.#t.fetch(this.options,e);return e?.throwOnError||(t=t.catch(i.lQ)),t}#S(e){return!(0,o.S)()&&!1!==(0,i.GF)(this.options.enabled,this.#t)&&(0,i.gn)(e)}#v(){this.#m();let e=(0,i.GF)(this.options.staleTime,this.#t);if(this.#n.isStale||!this.#S(e))return;let t=(0,i.j3)(this.#n.dataUpdatedAt,e)+1;this.#l=n.zs.setTimeout(()=>{this.#n.isStale||this.updateResult()},t)}#O(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.#t):this.options.refetchInterval)??!1}#w(e){this.#b(),this.#h=e,0!==this.#h&&this.#S(this.#h)&&(this.#f=n.zs.setInterval(()=>
1{(this.options.refetchIntervalInBackground||u.m.isFocused())&&this.#y()},this.#h))}#d(){this.#v(),this.#w(this.#O())}#m(){void 0!==this.#l&&(n.zs.clearTimeout(this.#l),this.#l=void 0)}#b(){void 0!==this.#f&&(n.zs.clearInterval(this.#f),this.#f=void 0)}createResult(e,t){let r,n=this.#t,o=this.options,s=this.#n,u=this.#i,a=this.#o,l=e!==n?e.state:this.#r,{state:h}=e,d={...h},m=!1;if(t._optimisticResults){let r=this.hasListeners(),i=!r&&f(e,t),s=r&&p(e,n,t,o);(i||s)&&(d={...d,...(0,c.k)(h.data,e.options)}),"isRestoring"===t._optimisticResults&&(d.fetchStatus="idle")}let{error:b,errorUpdatedAt:g,status:v}=d;r=d.data;let O=!1;if(void 0!==t.placeholderData&&void 0===r&&"pending"===v){let e;s?.isPlaceholderData&&t.placeholderData===a?.placeholderData?(e=s.data,O=!0):e="function"==typeof t.placeholderData?t.placeholderData(this.#c?.state.data,this.#c):t.placeholderData,void 0!==e&&(v="success",r=(0,i.pl)(s?.data,e,t),m=!0)}if(t.select&&void 0!==r&&!O)if(s&&r===u?.data&&t.select===this.#u)r=this.#a;else try{this.#u=t.select,r=t.select(r),r=(0,i.pl)(s?.data,r,t),this.#a=r,this.#s=null}catch(e){this.#s=e}else void 0===r&&(this.#s=null);this.#s&&(b=this.#s,r=this.#a,g=Date.now(),v="error",m=!1);let w="fetching"===d.fetchStatus,S="pending"===v,j="error"===v,D=S&&w,P=void 0!==r;return{status:v,fetchStatus:d.fetchStatus,isPending:S,isSuccess:"success"===v,isError:j,isInitialLoading:D,isLoading:D,data:r,dataUpdatedAt:d.dataUpdatedAt,error:b,errorUpdatedAt:g,failureCount:d.fetchFailureCount,failureReason:d.fetchFailureReason,errorUpdateCount:d.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:d.dataUpdateCount>l.dataUpdateCount||d.errorUpdateCount>l.errorUpdateCount,isFetching:w,isRefetching:w&&!S,isLoadingError:j&&!P,isPaused:"paused"===d.fetchStatus,isPlaceholderData:m,isRefetchError:j&&P,isStale:y(e,t),refetch:this.refetch,isEnabled:!1!==(0,i.GF)(t.enabled,e)}}updateResult(){let e=this.#n,t=this.createResult(this.#t,this.options);if(this.#i=this.#t.state,this.#o=this.options,void 0!==this.#i.data&&(this.#c=this.#t),(0,i.f8)(t,e))return;this.#n=t;let r=(()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,r="function"==typeof t?t():t;if("all"===r||!r&&!this.#p.size)return!0;let n=new Set(r??this.#p);return this.options.throwOnError&&n.add("error"),Object.keys(this.#n).some(t=>this.#n[t]!==e[t]&&n.has(t))})();a.jG.batch(()=>{r&&this.listeners.forEach(e=>{e(this.#n)}),this.#e.getQueryCache().notify({query:this.#t,type:"observerResultsUpdated"})})}#g(){let e=this.#e.getQueryCache().build(this.#e,this.options);if(e===this.#t)return;let t=this.#t;this.#t=e,this.#r=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#d()}};function f(e,t){return!1!==(0,i.GF)(t.enabled,e)&&void 0===e.state.data&&("error"!==e.state.status||!1!==(0,i.GF)(t.retryOnMount,e))||void 0!==e.state.data&&h(e,t,t.refetchOnMount)}function h(e,t,r){if(!1!==(0,i.GF)(t.enabled,e)&&"static"!==(0,i.GF)(t.staleTime,e)){let n="function"==typeof r?r(e):r;return"always"===n||!1!==n&&y(e,t)}return!1}function p(e,t,r,n){return(e!==t||!1===(0,i.GF)(n.enabled,e))&&(!r.suspense||"error"!==e.state.status)&&y(e,r)}function y(e,t){return!1!==(0,i.GF)(t.enabled,e)&&e.isStaleByTime((0,i.GF)(t.staleTime,e))}r.d(t,{$:()=>l})},3335(e,t,r){"use strict";var n=r(96540);let i=n.createContext(!1);i.Provider,r.d(t,{},{w:()=>n.useContext(i)})},96672(e,t,r){"use strict";let n;var i=r(96540);r(74848);let o=i.createContext((n=!1,{clearReset:()=>{n=!1},reset:()=>{n=!0},isReset:()=>n}));r.d(t,{},{h:()=>i.useContext(o)})},68590(e,t,r){"use strict";var n=r(96540),i=r(24880);r.d(t,{},{$1:({result:e,errorResetBoundary:t,throwOnError:r,query:n,suspense:o})=>e.isError&&!t.isReset()&&!e.isFetching&&n&&(o&&void 0===e.data||(0,i.GU)(r,[e.error,n])),LJ:(e,t,r)=>{let n=r?.state.error&&"function"==typeof e.throwOnError?(0,i.GU)(e.throwOnError,[r.state.error,r]):e.throwOnError;(e.suspense||n)&&!t.isReset()&&(e.retryOnMount=!1)},wZ:e=>{n.useEffect(()=>{e.clearReset()},[e])}})},31993(e,t,r){"use strict";function n(e){return e}r.d(t,{j:()=>n})}
1,60791(e,t,r){"use strict";r.d(t,{},{EU:(e,t)=>e?.suspense&&t.isPending,iL:(e,t,r)=>t.fetchOptimistic(e).catch(()=>{r.clearReset()}),jv:e=>{if(e.suspense){let t=e=>"static"===e?e:Math.max(e??1e3,1e3),r=e.staleTime;e.staleTime="function"==typeof r?(...e)=>t(r(...e)):t(r),"number"==typeof e.gcTime&&(e.gcTime=Math.max(e.gcTime,1e3))}}})},15985(e,t,r){"use strict";var n=r(97665),i=r(3335),o=r(96672),s=r(68590),u=r(60791),a=r(96540),c=r(26261),l=r(24880);function f(e,t,r){let f=(0,i.w)(),h=(0,o.h)(),p=(0,n.jE)(r),y=p.defaultQueryOptions(e),d=p.getQueryCache().get(y.queryHash),m=!1!==e.subscribed;y._optimisticResults=f?"isRestoring":m?"optimistic":void 0,(0,u.jv)(y),(0,s.LJ)(y,h,d),(0,s.wZ)(h);let[b]=a.useState(()=>new t(p,y)),g=b.getOptimisticResult(y),v=!f&&m;if(a.useSyncExternalStore(a.useCallback(e=>{let t=v?b.subscribe(c.jG.batchCalls(e)):l.lQ;return b.updateResult(),t},[b,v]),()=>b.getCurrentResult(),()=>b.getCurrentResult()),a.useEffect(()=>{b.setOptions(y)},[y,b]),(0,u.EU)(y,g))throw(0,u.iL)(y,b,h);if((0,s.$1)({result:g,errorResetBoundary:h,throwOnError:y.throwOnError,query:d,suspense:y.suspense}))throw g.error;return y.notifyOnChangeProps?g:b.trackResult(g)}r.d(t,{t:()=>f})},97286(e,t,r){"use strict";var n=r(15985),i=r(1651);function o(e,t){return(0,n.t)(e,i.$,t)}r.d(t,{I:()=>o})},47356(e,t,r){"use strict";var n=r(73371),i=r(45435),o=r(57048);let s=new WeakSet([Object.prototype,Error.prototype]);function u(e,t,r){Object.defineProperty(e,t,{configurable:!0,enumerable:!1,get(){let e=r(this);return Object.defineProperty(this,t,{value:e,configurable:!0,writable:!0}),e},set(e){Object.defineProperty(this,t,{value:e,configurable:!0,writable:!0})}})}let a=(e,t)=>{n.a$.init(e,t),e.name="ZodError";let r=Object.getPrototypeOf(e);s.has(r)||(s.add(r),u(r,"format",e=>t=>n.Wk(e,t)),u(r,"flatten",e=>t=>n.JM(e,t)),u(r,"addIssue",e=>t=>{e.issues.push(t),e.message=JSON.stringify(e.issues,o.k8,2)}),u(r,"addIssues",e=>t=>{e.issues.push(...t),e.message=JSON.stringify(e.issues,o.k8,2)}),Object.defineProperty(r,"isEmpty",{configurable:!0,enumerable:!1,get(){return 0===this.issues.length}}))},c=i.xI("ZodError",a),l=i.xI("ZodError",a,void 0,{Parent:Error});r.d(t,{},{G:c,g:l})},45435(e,t,r){"use strict";r.d(t,{$W:()=>f,GT:()=>a,cV:()=>c,cr:()=>l,xI:()=>u});var n,i=r(57048);let o={value:void 0,enumerable:!1},s="captureStackTrace"in Error?Error:null;function u(e,t,r,n){function u(e){this.def=e,this.constr=h,this.traits=new Set}u.prototype={};let a=r&&new WeakSet;function c(n,s){if(!n._zod){o.value=new u(s);try{Object.defineProperty(n,"_zod",o)}finally{o.value=void 0}}if(n._zod.traits.has(e))return;if(n._zod.traits.add(e),t(n,s),a){let e=Object.getPrototypeOf(n),t=n._zod.constr.prototype,o=e;for(;o&&o!==t;)o=Object.getPrototypeOf(o);let s=o??e;a.has(s)||(a.add(s),(0,i.ol)(s,r))}let c=h.prototype;for(let e in c)Object.prototype.hasOwnProperty.call(c,e)&&(e in n||(n[e]=c[e].bind(n)))}let l=n?.Parent??Object;class f extends l{}function h(e){let t=n?.Parent?function(e){let t=s;if(t){let r=t.stackTraceLimit;if("number"==typeof r){try{t.stackTraceLimit=0}catch{return s=null,new e}try{return new e}finally{t.stackTraceLimit=r}}}return new e}(f):this;c(t,e);let r=t._zod.deferred;if(r){for(let e of r)e();t._zod.deferred=void 0}let i=globalThis.__zod_globalConfig?.postProcessor;return i&&i(t),t}return Object.defineProperty(f,"name",{value:e}),Object.defineProperty(h,"init",{value:c}),Object.defineProperty(h,Symbol.hasInstance,{value:t=>!!n?.Parent&&t instanceof n.Parent||t?._zod?.traits?.has(e)}),Object.defineProperty(h,"name",{value:e}),h}class a extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class c extends Error{constructor(e){super(`Encountered unidirectional transform during encode: ${e}`),this.name="ZodEncodeError"}}(n=globalThis).__zod_globalConfig??(n.__zod_globalConfig={});let l=globalThis.__zod_globalConfig;function f(e){return e&&Object.assign(l,e),l}},73371(e,t,r){"use strict";var n=r(45435),i=r(57048);let o={get:function(){let e=this._zod;return e.message??(e.message=JSON.stringify(e.def,i.k8,2)),e.message},set:function(e){this._zod.message=e},enumerable:!0,configurable:!0},s={value:void 0,enumerable:!1},u=new WeakSet([Object.prototype,Error.prototype]),a=(e,t)=>{e.name="$ZodError",s.value=t,Object.defineProperty(e,"issues",s),s.value=void 0,Object.defineProperty(e,"message",o);let r=Object.getPrototypeOf(e);u.has(r)||(u.add(r),Object.defineProperty(r,"toString",{configurable:!0,enumerable:!1,get(){let e=()=>this.message;return Object.defineProperty(this,"toString",{value:e,configurable:!0,writable:!0}),e},set(e){Object.defineProperty(this,"toString",{value:e,configurable:!0,writable:!0})}}))},c=(0,n.xI)("$ZodError",a),l=(0,n.xI)("$ZodError",a,void 0,{Parent:Error});function f(e,t=e=>e.message){let r={},n=[];for(let s of e.issues)if(s.path.length>0){var i,o;(i=s.path[0],o=()=>[],!Object.prototype.hasOwnProperty.call(r,i)&&("__proto__"===i?Object.defineProperty(r,i,{value:o(),writable:!0,enumerable:!0,configurable:!0}):r[i]=o()),r[i]).push(t(s))}else n.push(t(s));return{formErrors:n,fieldErrors:r}}function h(e,t=e=>e.message){let r={_errors:[]},n=(e,i=[])=>{for(let o of e.issues)if("invalid_union"===o.code&&o.errors.length)o.errors.map(e=>n({issues:e},[...i,...o.path]));else if("invalid_key"===o.code)n({issues:o.issues},[...i,...o.path]);else if("invalid_element"===o.code)n({issues:o.issues},[...i,...o.path]);else{let e=[...i,...o.path];if(0===e.length)r._errors.push(t(o));else{let n=r,i=0;for(;i<e.length;){let r=e[i],s=i===e.length-1;if("_errors"===r){s&&n._errors.push(t(o)),i++;continue}Object.prototype.hasOwnProperty.call(n,r)||Object.defineProperty(n,r,{value:{_errors:[]},enumerable:!0,writable:!0,configurable:!0});let u=n[r];s&&u._errors.push(t(o)),n=u,i++}}}};return n(e),r}r.d(t,{JM:()=>f,Wk:()=>h},{Kd:l,a$:c})},57048(e,t,r){"use strict";let n;r.d(t,{A2:()=>I,B7:()=>x,GW:()=>Y,Gv:()=>j,LG:()=>h,MO:()=>y,NM:()=>k,NR:()=>T,O7:()=>H,OH:()=>G,PO:()=>c,QH:()=>$,Qd:()=>P,Rc:()=>X,SS:()=>el,UQ:()=>O,Up:()=>z,Vy:()=>p,W0:()=>M,X:()=>ec,X$:()=>A,Yv:()=>w,cJ:()=>N,cl:()=>l,d3:()=>V,gx:()=>S,h1:()=>L,hI:()=>D,iR:()=>Z,jD:()=>en,jw:()=>s,k8:()=>u,lQ:()=>K,mw:()=>J,o8:()=>F,ol:()=>et,p6:()=>f,qQ:()=>E,qh:()=>er,rL:()=>W,sD:()=>R,sn:()=>ee,un:()=>ei,v5:()=>ea,w5:()=>o,yG:()=>_,zH:()=>Q,zM:()=>v});var i=r(45435);function o(e){let t=Object.values(e).filter(e=>"number"==typeof e);return Object.entries(e).filter(([e,r])=>-1===t.indexOf(+e)).map(([e,t])=>t)}
1function s(e,t="|"){return e.map(e=>x(e)).join(t)}function u(e,t){return"bigint"==typeof t?t.toString():t}class a{constructor(e){this._getter=e,this._value=void 0}get value(){let e=this._getter;return void 0!==e&&(this._value=e(),this._getter=void 0),this._value}}function c(e){return new a(e)}function l(e){return null==e}function f(e){let t=+!!e.startsWith("^"),r=e.endsWith("$")?e.length-1:e.length;return e.slice(t,r)}function h(e,t){let r=e/t,n=Math.round(r),i=4*Number.EPSILON*Math.max(Math.abs(r),1);return Math.abs(r-n)<i?0:r-n}function p(e,t,r){Object.defineProperty(e,t,{value:r,writable:!0,enumerable:!0,configurable:!0})}function y(e){let t=Object.getOwnPropertyDescriptor(e,"shape");return t?.get?t.get.raw:t?.value}function d(e){return y(e._zod.def)??e._zod.def.shape}function m(e,t,r){Object.defineProperty(e,t,{get(){let e=r();return p(this,t,e),e},enumerable:!0,configurable:!0})}function b(e,t,r){t in e?p(e,t,r):e[t]=r}function g(e,t,r,n){let i=d(t);for(let o of r){let r=Object.getOwnPropertyDescriptor(i,o);r.enumerable&&(r.get?m(e,o,()=>{let e=t._zod.def.shape[o];return n?n(e,o):e}):b(e,o,n?n(r.value,o):r.value))}}function v(...e){let t={};for(let r of e)Object.assign(t,Object.getOwnPropertyDescriptors(r));return Object.defineProperties({},t)}function O(e){return JSON.stringify(e)}function w(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}let S="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function j(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}let D=c(()=>{if(i.cr.jitless||"u">typeof navigator&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{return Function(""),!0}catch(e){return!1}});function P(e){if(!1===j(e))return!1;let t=e.constructor;if(void 0===t||"function"!=typeof t)return!0;let r=t.prototype;return!1!==j(r)&&!1!==Object.prototype.hasOwnProperty.call(r,"isPrototypeOf")}function _(e){return P(e)?{...e}:Array.isArray(e)?[...e]:e instanceof Map?new Map(e):e instanceof Set?new Set(e):e}let E=new Set(["string","number","symbol"]);function R(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function F(e,t,r){let n=new e._zod.constr(t??e._zod.def);return(!t||r?.parent)&&(n._zod.parent=e),n}function I(e){if(!e)return{};if("string"==typeof e)return{error:()=>e};if(e?.message!==void 0){if(e?.error!==void 0)throw Error("Cannot specify both `message` and `error` params");e.error=e.message}return(delete e.message,"string"==typeof e.error)?{...e,error:()=>e.error}:e}function x(e){return"bigint"==typeof e?e.toString()+"n":"string"==typeof e?`"${e}"`:`${e}`}function k(e){return Object.keys(e).filter(t=>void 0!==e[t]._zod.optin&&"optional"===e[t]._zod.optout)}let Q={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-0x80000000,0x7fffffff],uint32:[0,0xffffffff],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},T={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function z(e,t){let r=e._zod.def,n=r.checks;if(n&&n.length>0)throw Error(".pick() cannot be used on object schemas containing refinements");let i={};return g(i,e,C(e,t)),F(e,v(r,{shape:i,checks:[]}))}function C(e,t){let r=d(e),n=[];for(let e of Reflect.ownKeys(t)){if(!Object.getOwnPropertyDescriptor(r,e)?.enumerable)throw Error(`Unrecognized key: "${String(e)}"`);t[e]&&n.push(e)}return n}function N(e,t){let r=e._zod.def,n=r.checks;if(n&&n.length>0)throw Error(".omit() cannot be used on object schemas containing refinements");let i=new Set(C(e,t)),o={};return g(o,e,Reflect.ownKeys(d(e)).filter(e=>!i.has(e))),F(e,v(r,{shape:o,checks:[]}))}function A(e,t){if(!P(t))throw Error("Invalid input to extend: expected a plain object");let r=e._zod.def.checks;if(r&&r.length>0){let r=d(e);for(let e of Reflect.ownKeys(t))if(void 0!==Object.getOwnPropertyDescriptor(r,e))throw Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}return F(e,v(e._zod.def,{shape:U(e,t)}))}function U(e,t){let r={};g(r,e,Reflect.ownKeys(d(e)));for(let e of Reflect.ownKeys(t)){let n=Object.getOwnPropertyDescriptor(t,e);n.enumerable&&(n.get?m(r,e,()=>t[e]):b(r,e,n.value))}return r}function M(e,t){if(!P(t))throw Error("Invalid input to safeExtend: expected a plain object");return F(e,v(e._zod.def,{shape:U(e,t)}))}function L(e,t){if(!t?._zod?.def)throw Error("Invalid input to merge: expected an object schema. To merge a plain shape, use `.extend()`.");if(e._zod.def.checks?.length)throw Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");let r={};g(r,e,Reflect.ownKeys(d(e))),g(r,t,Reflect.ownKeys(d(t)));let n=v(e._zod.def,{shape:r,get catchall(){return t._zod.def.catchall},checks:t._zod.def.checks??[]});return F(e,n)}function G(e,t,r,n="partial"){let i=t._zod.def.checks;if(i&&i.length>0)throw Error(`.${n}() cannot be used on object schemas containing refinements`);let o=r?new Set(C(t,r)):void 0,s={};return g(s,t,Reflect.ownKeys(d(t)),e&&((t,r)=>o&&!o.has(r)?t:new e({type:"optional",innerType:t}))),F(t,v(t._zod.def,{shape:s,checks:[]}))}function J(e,t,r){let n=r?new Set(C(t,r)):void 0,i={};return g(i,t,Reflect.ownKeys(d(t)),(t,r)=>n&&!n.has(r)?t:new e({type:"nonoptional",innerType:t})),F(t,v(t._zod.def,{shape:i}))}function $(e,t=0){if(!0===e.aborted)return!0;for(let r=t;r<e.issues.length;r++)if(e.issues[r]?.continue!==!0)return!0;return!1}function W(e,t=0){if(!0===e.aborted)return!0;for(let r=t;r<e.issues.length;r++)if(e.issues[r]?.continue===!1)return!0;return!1}function K(e,t){return t.map(t=>(t.path??(t.path=[]),t.path.unshift(e),t))}function B(e){return"string"==typeof e?e:e?.message}function V(e,t,r){var n;for(let i=t;i<e.length;i++)(n=e[i]).schema??(n.schema=r)}function Z(e,t,r){let n=e.inst?._zod?.traits;n?.has("$ZodType")&&(n.has("$ZodCheck")?e.schema??(e.schema=e.inst):e.schema=e.inst);
1let i=e.schema!==e.inst?e.schema?._zod.def?.error:void 0,o=e.message?e.message:B(e.inst?._zod.def?.error?.(e))??B(i?.(e))??B(t?.error?.(e))??B(r.customError?.(e))??B(r.localeError?.(e))??"Invalid input",s={};for(let t of Object.keys(e))"inst"!==t&&"schema"!==t&&"continue"!==t&&"input"!==t&&"__proto__"!==t&&(s[t]=e[t]);return s.path??(s.path=[]),s.message=o,t?.reportInput&&(s.input=e.input),s}let q=/[\uD800-\uDBFF]/;function H(e){let t=e.length;if(!q.test(e))return t;let r=t;for(let n=0;n<t-1;n++)(64512&e.charCodeAt(n))==55296&&(64512&e.charCodeAt(n+1))==56320&&(r--,n++);return r}function X(e){return Array.isArray(e)?"array":"string"==typeof e?"string":"unknown"}function Y(e){let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"nan":"number";case"object":if(null===e)return"null";if(Array.isArray(e))return"array";if(e&&Object.getPrototypeOf(e)!==Object.prototype&&"constructor"in e&&e.constructor)return e.constructor.name}return t}function ee(...e){let[t,r,n]=e;return"string"==typeof t?{message:t,code:"custom",input:r,inst:n}:{...t}}function et(e,t){for(let r in t){let n=Object.getOwnPropertyDescriptor(t,r);n.get?Object.defineProperty(e,r,{...n,enumerable:!1}):eo(e,r,n.value)}for(let r of Object.getOwnPropertySymbols(t))eo(e,r,t[r])}function er(e,t,r,n=!0){return Object.defineProperty(e,t,{configurable:!0,writable:!0,enumerable:n,value:r}),r}function en(e,t,r){return er(e,t,r,!1)}function ei(e,t){for(let r in e){let n=e[r];Object.defineProperty(t,r,{configurable:!0,enumerable:!0,get(){return er(this,r,n(this))},set(e){er(this,r,e)}})}return t}function eo(e,t,r){Object.defineProperty(e,t,{configurable:!0,get(){return this==null?r:er(this,t,r.bind(this))},set(e){er(this,t,e)}})}let es=!1,eu={configurable:!0,get(){es=!0}};function ea(e,t,r){let i=Object.getPrototypeOf(e._zod);if(t in i&&n!==e._zod){n=void 0;return}n=e._zod,Object.defineProperty(i,t,{configurable:!0,get(){Object.defineProperty(this,t,eu);let e=es;es=!1;try{let n=r(this);return es?delete this[t]:Object.defineProperty(this,t,{configurable:!0,writable:!0,value:n}),es=es||e,n}catch(r){throw delete this[t],es=es||e,r}},set(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:e})}})}function ec(e,t,r,n){let i,o=t in(i=Object.getPrototypeOf(e))?void 0:i;o&&Object.defineProperty(o,t,{configurable:!0,get(){let e={configurable:!0,writable:!0,enumerable:n,value:void 0};return Object.defineProperty(this,t,e),e.value=r(this),Object.defineProperty(this,t,e),e.value},set(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,enumerable:n,value:e})}})}function el(e){let t=()=>e;return t["~constantCatch"]=!0,t}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.