PageSourceSearch

https://kebabiya.com.au/assets/index-CqOb4aXC.js

js kebabiya.com.au collected 2026-10-04 02:54:35 UTC 1,026,461 bytes, 116 lines download raw bytes

vendor: 8,798 bytes, lines 1-2
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-B-9O791a.js","assets/star-DEjt5dDP.js","assets/10-years-BazL8A8x.js","assets/NewsletterDownload-BYBiXLsN.js","assets/types-Qudynivi.js","assets/biryani-BzSqeBtH.js","assets/DishEnhancements-CK7bE_xQ.js","assets/butter-chicken-sydney-BXUDvILE.js","assets/chicken-tikka-sydney-DQ3DXYgD.js","assets/decade-club-DpJhJOvE.js","assets/gallery-tMo-p9EY.js","assets/location-cocktails-sunset-DjXVyGJA.js","assets/garlic-naan-sydney-xvFch8EC.js","assets/gift-cards-P8KAbnIi.js","assets/gift-DwJHkUTs.js","assets/mail-XyZv5Pdj.js","assets/sparkles-BJgRfaso.js","assets/clock-DV-jkMfP.js","assets/indian-catering-home-parties-wlJmfpuZ.js","assets/CateringInquiryForm-CRlIshLL.js","assets/indian-curries-sydney-BwTRXvOq.js","assets/CategoryEnhancements-BMM10lMS.js","assets/indian-kebabs-sydney-CyaRKK2A.js","assets/kiosk-BKFdWKq0.js","assets/useQuery-CMAYCk31.js","assets/circle-check-C2_ZgJ96.js","assets/circle-alert-Dj6SvYX0.js","assets/arrow-left-CrPJFkLm.js","assets/camera-CklsZ7Io.js","assets/log-out-DWt9GS7q.js","assets/lamb-biryani-sydney-RHLxljoV.js","assets/lamb-rogan-josh-sydney-Blm6Tp-u.js","assets/locations-2G4PDLrs.js","assets/loyalty-CPaoZ22D.js","assets/flame-DkpYjBqR.js","assets/paneer-tikka-ClDqpuKk.js","assets/party-packages-DBaJ-PtX.js","assets/arrow-right-wce9hD0_.js","assets/check-7QUyYECZ.js","assets/press-Dad-hNlQ.js","assets/seekh-kebab-D6wmVT4I.js","assets/story-B8SMmOTm.js","assets/tandoor-restaurant-sydney-Cs-cnJ9Y.js","assets/tandoori-chicken-CP8CR5Ts.js","assets/unsubscribe-Dki3mkVa.js","assets/useMutation-BX54Xoq0.js","assets/vegetarian-indian-sydney-kkW9n1v7.js","assets/catering.index-BmP-MMcW.js","assets/utensils-crossed-S6pXK1eV.js","assets/coo.admin-BWycqGlg.js","assets/PlaceholderPage-BRJrzJE-.js","assets/CooLayout-xGkUYMj2.js","assets/users-BpsO18Dc.js","assets/coo.bookings-qzVhK838.js","assets/button-WHx9Jp3Q.js","assets/auth-middleware-DUAD_8Ir.js","assets/calendar-0whn5zRw.js","assets/coo.business-health-DcdVROjc.js","assets/coo.catering-NU4ZdQs2.js","assets/coo.chat-D9eUJWMb.js","assets/trash-2-DyshuPkl.js","assets/coo.dashboard-DTQA1mtx.js","assets/dollar-sign-BvW9CgLD.js","assets/BarChart-DQbSQK-W.js","assets/coo.franchise-BGx9ivHI.js","assets/coo.inventory-DqHeK6u2.js","assets/coo.labor-BWGlnhEp.js","assets/coo.login-DzzapSYJ.js","assets/coo.manufacturing-B98EmT2E.js","assets/coo.menu-intelligence-EIFPkxuu.js","assets/SquareSyncCard-lbaqoeSW.js","assets/refresh-cw-CpkBg2Oi.js","assets/input-CkcionoB.js","assets/triangle-alert-BpMCDB9B.js","assets/coo.multi-location-DMlUhwjY.js","assets/coo.payroll-export-eVos1_5r.js","assets/timesheets.functions-CAUwkSBN.js","assets/download-DxYAnagh.js","assets/coo.purchasing-BnTpJvz1.js","assets/coo.reviews-C1cn7w65.js","assets/textarea-BiteV9qw.js","assets/coo.sales-BAbULdvh.js","assets/coo.staff-DjtE5Ns3.js","assets/coo.supplier-intelligence-BGTpcNsc.js","assets/coo.timesheets-KPy5CF5a.js","assets/dish._slug-DUeDMrih.js","assets/shield-alert-CJZOueO6.js","assets/recipes.index-BLJaPcol.js","assets/recipe-garam-masala-CWOyhsqa.js","assets/clock-3-DH7ba9XT.js","assets/recipes.garam-masala-D_NZl0Vn.js","assets/coo.marketing.index-JyCqGIJ8.js","assets/marketing.functions-PggZchCv.js","assets/coo.marketing._campaignId-CcL5MFcp.js","assets/coo.marketing.new-PPvhAyly.js","assets/recipes.hyderabadi-dum-biryani.index-DQwOIE38.js","assets/recipes.hyderabadi-dum-biryani._variant-lIybZN9h.js"])))=>i.map(i=>d[i]);
2function sO(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const s in r)if(s!=="default"&&!(s in e)){const o=Object.getOwnPropertyDescriptor(r,s);o&&Object.defineProperty(e,s,o.get?o:{enumerable:!0,get:()=>r[s]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var _W=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function rh(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Vp={exports:{}},dl={};var H0;function oO(){if(H0)return dl;H0=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(r,s,o){var c=null;if(o!==void 0&&(c=""+o),s.key!==void 0&&(c=""+s.key),"key"in s){o={};for(var u in s)u!=="key"&&(o[u]=s[u])}else o=s;return s=o.ref,{$$typeof:e,type:r,key:c,ref:s!==void 0?s:null,props:o}}return dl.Fragment=t,dl.jsx=n,dl.jsxs=n,dl}var U0;function lO(){return U0||(U0=1,Vp.exports=oO()),Vp.exports}var x=lO(),Fp={exports:{}},Oe={};var K0;function cO(){if(K0)return Oe;K0=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),o=Symbol.for("react.consumer"),c=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),y=Symbol.for("react.activity"),b=Symbol.iterator;function v(L){return L===null||typeof L!="object"?null:(L=b&&L[b]||L["@@iterator"],typeof L=="function"?L:null)}var k={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},w=Object.assign,E={};function _(L,J,O){this.props=L,this.context=J,this.refs=E,this.updater=O||k}_.prototype.isReactComponent={},_.prototype.setState=function(L,J){if(typeof L!="object"&&typeof L!="function"&&L!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,L,J,"setState")},_.prototype.forceUpdate=function(L){this.updater.enqueueForceUpdate(this,L,"forceUpdate")};function A(){}A.prototype=_.prototype;function C(L,J,O){this.props=L,this.context=J,this.refs=E,this.updater=O||k}var P=C.prototype=new A;P.constructor=C,w(P,_.prototype),P.isPureReactComponent=!0;var K=Array.isArray;function D(){}var I={H:null,A:null,T:null,S:null},$=Object.prototype.hasOwnProperty;function Y(L,J,O){var de=O.ref;return{$$typeof:e,type:L,key:J,ref:de!==void 0?de:null,props:O}}function re(L,J){return Y(L.type,J,L.props)}function z(L){return typeof L=="object"&&L!==null&&L.$$typeof===e}function H(L){var J={"=":"=0",":":"=2"};return"$"+L.replace(/[=:]/g,function(O){return J[O]})}var te=/\/+/g;function Z(L,J){return typeof L=="object"&&L!==null&&L.key!=null?H(""+L.key):J.toString(36)}function G(L){switch(L.status){case"fulfilled":return L.value;case"rejected":throw L.reason;default:switch(typeof L.status=="string"?L.then(D,D):(L.status="pending",L.then(function(J){L.status==="pending"&&(L.status="fulfilled",L.value=J)},function(J){L.status==="pending"&&(L.status="rejected",L.reason=J)})),L.status){case"fulfilled":return L.value;case"rejected":throw L.reason}}throw L}function M(L,J,O,de,me){var fe=typeof L;(fe==="undefined"||fe==="boolean")&&(L=null);var ye=!1;if(L===null)ye=!0;else switch(fe){case"bigint":case"string":case"number":ye=!0;break;case"object":switch(L.$$typeof){case e:case t:ye=!0;break;case p:return ye=L._init,M(ye(L._payload),J,O,de,me)}}if(ye)return me=me(L),ye=de===""?"."+Z(L,0):de,K(me)?(O="",ye!=null&&(O=ye.replace(te,"$&/")+"/"),M(me,J,O,"",function(ht){return ht})):me!=null&&(z(me)&&(me=re(me,O+(me.key==null||L&&L.key===me.key?"":(""+me.key).replace(te,"$&/")+"/")+ye)),J.push(me)),1;ye=0;var Te=de===""?".":de+":";if(K(L))for(var xe=0;xe<L.length;xe++)de=L[xe],fe=Te+Z(de,xe),ye+=M(de,J,O,fe,me);else if(xe=v(L),typeof xe=="function")for(L=xe.call(L),xe=0;!(de=L.next()).done;)de=de.value,fe=Te+Z(de,xe++),ye+=M(de,J,O,fe,me);else if(fe==="object"){if(typeof L.then=="function")return M(G(L),J,O,de,me);throw J=String(L),Error("Objects are not valid as a React child (found: "+(J==="[object Object]"?"object with keys {"+Object.keys(L).join(", ")+"}":J)+"). If you meant to render a collection of children, use an array instead.")}return ye}function Q(L,J,O){if(L==null)return L;var de=[],me=0;return M(L,de,"","",function(fe){return J.call(O,fe,me++)}),de}function ie(L){if(L._status===-1){var J=L._result;J=J(),J.then(function(O){(L._status===0||L._status===-1)&&(L._status=1,L._result=O)},function(O){(L._status===0||L._status===-1)&&(L._status=2,L._result=O)}),L._status===-1&&(L._status=0,L._result=J)}if(L._status===1)return L._result.default;throw L._result}var Se=typeof reportError=="function"?reportError:function(L){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var J=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof L=="object"&&L!==null&&typeof L.message=="string"?String(L.message):String(L),error:L});if(!window.dispatchEvent(J))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",L);return}console.error(L)}
vendor: 6,935 bytes, line 2
2,T={map:Q,forEach:function(L,J,O){Q(L,function(){J.apply(this,arguments)},O)},count:function(L){var J=0;return Q(L,function(){J++}),J},toArray:function(L){return Q(L,function(J){return J})||[]},only:function(L){if(!z(L))throw Error("React.Children.only expected to receive a single React element child.");return L}};return Oe.Activity=y,Oe.Children=T,Oe.Component=_,Oe.Fragment=n,Oe.Profiler=s,Oe.PureComponent=C,Oe.StrictMode=r,Oe.Suspense=h,Oe.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=I,Oe.__COMPILER_RUNTIME={__proto__:null,c:function(L){return I.H.useMemoCache(L)}},Oe.cache=function(L){return function(){return L.apply(null,arguments)}},Oe.cacheSignal=function(){return null},Oe.cloneElement=function(L,J,O){if(L==null)throw Error("The argument must be a React element, but you passed "+L+".");var de=w({},L.props),me=L.key;if(J!=null)for(fe in J.key!==void 0&&(me=""+J.key),J)!$.call(J,fe)||fe==="key"||fe==="__self"||fe==="__source"||fe==="ref"&&J.ref===void 0||(de[fe]=J[fe]);var fe=arguments.length-2;if(fe===1)de.children=O;else if(1<fe){for(var ye=Array(fe),Te=0;Te<fe;Te++)ye[Te]=arguments[Te+2];de.children=ye}return Y(L.type,me,de)},Oe.createContext=function(L){return L={$$typeof:c,_currentValue:L,_currentValue2:L,_threadCount:0,Provider:null,Consumer:null},L.Provider=L,L.Consumer={$$typeof:o,_context:L},L},Oe.createElement=function(L,J,O){var de,me={},fe=null;if(J!=null)for(de in J.key!==void 0&&(fe=""+J.key),J)$.call(J,de)&&de!=="key"&&de!=="__self"&&de!=="__source"&&(me[de]=J[de]);var ye=arguments.length-2;if(ye===1)me.children=O;else if(1<ye){for(var Te=Array(ye),xe=0;xe<ye;xe++)Te[xe]=arguments[xe+2];me.children=Te}if(L&&L.defaultProps)for(de in ye=L.defaultProps,ye)me[de]===void 0&&(me[de]=ye[de]);return Y(L,fe,me)},Oe.createRef=function(){return{current:null}},Oe.forwardRef=function(L){return{$$typeof:u,render:L}},Oe.isValidElement=z,Oe.lazy=function(L){return{$$typeof:p,_payload:{_status:-1,_result:L},_init:ie}},Oe.memo=function(L,J){return{$$typeof:f,type:L,compare:J===void 0?null:J}},Oe.startTransition=function(L){var J=I.T,O={};I.T=O;try{var de=L(),me=I.S;me!==null&&me(O,de),typeof de=="object"&&de!==null&&typeof de.then=="function"&&de.then(D,Se)}catch(fe){Se(fe)}finally{J!==null&&O.types!==null&&(J.types=O.types),I.T=J}},Oe.unstable_useCacheRefresh=function(){return I.H.useCacheRefresh()},Oe.use=function(L){return I.H.use(L)},Oe.useActionState=function(L,J,O){return I.H.useActionState(L,J,O)},Oe.useCallback=function(L,J){return I.H.useCallback(L,J)},Oe.useContext=function(L){return I.H.useContext(L)},Oe.useDebugValue=function(){},Oe.useDeferredValue=function(L,J){return I.H.useDeferredValue(L,J)},Oe.useEffect=function(L,J){return I.H.useEffect(L,J)},Oe.useEffectEvent=function(L){return I.H.useEffectEvent(L)},Oe.useId=function(){return I.H.useId()},Oe.useImperativeHandle=function(L,J,O){return I.H.useImperativeHandle(L,J,O)},Oe.useInsertionEffect=function(L,J){return I.H.useInsertionEffect(L,J)},Oe.useLayoutEffect=function(L,J){return I.H.useLayoutEffect(L,J)},Oe.useMemo=function(L,J){return I.H.useMemo(L,J)},Oe.useOptimistic=function(L,J){return I.H.useOptimistic(L,J)},Oe.useReducer=function(L,J,O){return I.H.useReducer(L,J,O)},Oe.useRef=function(L){return I.H.useRef(L)},Oe.useState=function(L){return I.H.useState(L)},Oe.useSyncExternalStore=function(L,J,O){return I.H.useSyncExternalStore(L,J,O)},Oe.useTransition=function(){return I.H.useTransition()},Oe.version="19.2.5",Oe}var V0;function uc(){return V0||(V0=1,Fp.exports=cO()),Fp.exports}var N=uc();const dc=rh(N),nx=sO({__proto__:null,default:dc},[N]);var qp={exports:{}},hl={},Gp={exports:{}},Wp={};var F0;function uO(){return F0||(F0=1,(function(e){function t(M,Q){var ie=M.length;M.push(Q);e:for(;0<ie;){var Se=ie-1>>>1,T=M[Se];if(0<s(T,Q))M[Se]=Q,M[ie]=T,ie=Se;else break e}}function n(M){return M.length===0?null:M[0]}function r(M){if(M.length===0)return null;var Q=M[0],ie=M.pop();if(ie!==Q){M[0]=ie;e:for(var Se=0,T=M.length,L=T>>>1;Se<L;){var J=2*(Se+1)-1,O=M[J],de=J+1,me=M[de];if(0>s(O,ie))de<T&&0>s(me,O)?(M[Se]=me,M[de]=ie,Se=de):(M[Se]=O,M[J]=ie,Se=J);else if(de<T&&0>s(me,ie))M[Se]=me,M[de]=ie,Se=de;else break e}}return Q}function s(M,Q){var ie=M.sortIndex-Q.sortIndex;return ie!==0?ie:M.id-Q.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var c=Date,u=c.now();e.unstable_now=function(){return c.now()-u}}var h=[],f=[],p=1,y=null,b=3,v=!1,k=!1,w=!1,E=!1,_=typeof setTimeout=="function"?setTimeout:null,A=typeof clearTimeout=="function"?clearTimeout:null,C=typeof setImmediate<"u"?setImmediate:null;function P(M){for(var Q=n(f);Q!==null;){if(Q.callback===null)r(f);else if(Q.startTime<=M)r(f),Q.sortIndex=Q.expirationTime,t(h,Q);else break;Q=n(f)}}function K(M){if(w=!1,P(M),!k)if(n(h)!==null)k=!0,D||(D=!0,H());else{var Q=n(f);Q!==null&&G(K,Q.startTime-M)}}var D=!1,I=-1,$=5,Y=-1;function re(){return E?!0:!(e.unstable_now()-Y<$)}function z(){if(E=!1,D){var M=e.unstable_now();Y=M;var Q=!0;try{e:{k=!1,w&&(w=!1,A(I),I=-1),v=!0;var ie=b;try{t:{for(P(M),y=n(h);y!==null&&!(y.expirationTime>M&&re());){var Se=y.callback;if(typeof Se=="function"){y.callback=null,b=y.priorityLevel;var T=Se(y.expirationTime<=M);if(M=e.unstable_now(),typeof T=="function"){y.callback=T,P(M),Q=!0;break t}y===n(h)&&r(h),P(M)}else r(h);y=n(h)}if(y!==null)Q=!0;else{var L=n(f);L!==null&&G(K,L.startTime-M),Q=!1}}break e}finally{y=null,b=ie,v=!1}Q=void 0}}finally{Q?H():D=!1}}}var H;if(typeof C=="function")H=function(){C(z)};else if(typeof MessageChannel<"u"){var te=new MessageChannel,Z=te.port2;te.port1.onmessage=z,H=function(){Z.postMessage(null)}}else H=function(){_(z,0)};function G(M,Q){I=_(function(){M(e.unstable_now())},Q)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(M){M.callback=null},e.unstable_forceFrameRate=function(M){0>M||125<M?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):$=0<M?Math.floor(1e3/M):5},e.unstable_getCurrentPriorityLevel=function(){return b},e.unstable_next=function(M){switch(b){case 1:case 2:case 3:var Q=3;break;default:Q=b}var ie=b;b=Q;try{return M()}finally{b=ie}},e.unstable_requestPaint=function(){E=!0},e.unstable_runWithPriority=function(M,Q){switch(M){case 1:case 2:case 3:case 4:case 5:break;default:M=3}var ie=b;b=M;try{return Q()}finally{b=ie}},e.unstable_scheduleCallback=function(M,Q,ie){var Se=e.unstable_now();switch(typeof ie=="object"&&ie!==null?(ie=ie.delay,ie=typeof ie=="number"&&0<ie?Se+ie:Se):ie=Se,M){case 1:var T=-1;break;case 2:T=250;break;case 5:T=1073741823;break;case 4:T=1e4;break;default:T=5e3}return T=ie+T,M={id:p++,callback:Q,priorityLevel:M,startTime:ie,expirationTime:T,s
vendor: 4,973 bytes, line 2
2ortIndex:-1},ie>Se?(M.sortIndex=ie,t(f,M),n(h)===null&&M===n(f)&&(w?(A(I),I=-1):w=!0,G(K,ie-Se))):(M.sortIndex=T,t(h,M),k||v||(k=!0,D||(D=!0,H()))),M},e.unstable_shouldYield=re,e.unstable_wrapCallback=function(M){var Q=b;return function(){var ie=b;b=Q;try{return M.apply(this,arguments)}finally{b=ie}}}})(Wp)),Wp}var q0;function dO(){return q0||(q0=1,Gp.exports=uO()),Gp.exports}var Yp={exports:{}},Kt={};var G0;function hO(){if(G0)return Kt;G0=1;var e=uc();function t(h){var f="https://react.dev/errors/"+h;if(1<arguments.length){f+="?args[]="+encodeURIComponent(arguments[1]);for(var p=2;p<arguments.length;p++)f+="&args[]="+encodeURIComponent(arguments[p])}return"Minified React error #"+h+"; visit "+f+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function n(){}var r={d:{f:n,r:function(){throw Error(t(522))},D:n,C:n,L:n,m:n,X:n,S:n,M:n},p:0,findDOMNode:null},s=Symbol.for("react.portal");function o(h,f,p){var y=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:s,key:y==null?null:""+y,children:h,containerInfo:f,implementation:p}}var c=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function u(h,f){if(h==="font")return"";if(typeof f=="string")return f==="use-credentials"?f:""}return Kt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,Kt.createPortal=function(h,f){var p=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!f||f.nodeType!==1&&f.nodeType!==9&&f.nodeType!==11)throw Error(t(299));return o(h,f,null,p)},Kt.flushSync=function(h){var f=c.T,p=r.p;try{if(c.T=null,r.p=2,h)return h()}finally{c.T=f,r.p=p,r.d.f()}},Kt.preconnect=function(h,f){typeof h=="string"&&(f?(f=f.crossOrigin,f=typeof f=="string"?f==="use-credentials"?f:"":void 0):f=null,r.d.C(h,f))},Kt.prefetchDNS=function(h){typeof h=="string"&&r.d.D(h)},Kt.preinit=function(h,f){if(typeof h=="string"&&f&&typeof f.as=="string"){var p=f.as,y=u(p,f.crossOrigin),b=typeof f.integrity=="string"?f.integrity:void 0,v=typeof f.fetchPriority=="string"?f.fetchPriority:void 0;p==="style"?r.d.S(h,typeof f.precedence=="string"?f.precedence:void 0,{crossOrigin:y,integrity:b,fetchPriority:v}):p==="script"&&r.d.X(h,{crossOrigin:y,integrity:b,fetchPriority:v,nonce:typeof f.nonce=="string"?f.nonce:void 0})}},Kt.preinitModule=function(h,f){if(typeof h=="string")if(typeof f=="object"&&f!==null){if(f.as==null||f.as==="script"){var p=u(f.as,f.crossOrigin);r.d.M(h,{crossOrigin:p,integrity:typeof f.integrity=="string"?f.integrity:void 0,nonce:typeof f.nonce=="string"?f.nonce:void 0})}}else f==null&&r.d.M(h)},Kt.preload=function(h,f){if(typeof h=="string"&&typeof f=="object"&&f!==null&&typeof f.as=="string"){var p=f.as,y=u(p,f.crossOrigin);r.d.L(h,p,{crossOrigin:y,integrity:typeof f.integrity=="string"?f.integrity:void 0,nonce:typeof f.nonce=="string"?f.nonce:void 0,type:typeof f.type=="string"?f.type:void 0,fetchPriority:typeof f.fetchPriority=="string"?f.fetchPriority:void 0,referrerPolicy:typeof f.referrerPolicy=="string"?f.referrerPolicy:void 0,imageSrcSet:typeof f.imageSrcSet=="string"?f.imageSrcSet:void 0,imageSizes:typeof f.imageSizes=="string"?f.imageSizes:void 0,media:typeof f.media=="string"?f.media:void 0})}},Kt.preloadModule=function(h,f){if(typeof h=="string")if(f){var p=u(f.as,f.crossOrigin);r.d.m(h,{as:typeof f.as=="string"&&f.as!=="script"?f.as:void 0,crossOrigin:p,integrity:typeof f.integrity=="string"?f.integrity:void 0})}else r.d.m(h)},Kt.requestFormReset=function(h){r.d.r(h)},Kt.unstable_batchedUpdates=function(h,f){return h(f)},Kt.useFormState=function(h,f,p){return c.H.useFormState(h,f,p)},Kt.useFormStatus=function(){return c.H.useHostTransitionStatus()},Kt.version="19.2.5",Kt}var W0;function ax(){if(W0)return Yp.exports;W0=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Yp.exports=hO(),Yp.exports}var Y0;function fO(){if(Y0)return hl;Y0=1;var e=dO(),t=uc(),n=ax();function r(a){var i="https://react.dev/errors/"+a;if(1<arguments.length){i+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)i+="&args[]="+encodeURIComponent(arguments[l])}return"Minified React error #"+a+"; visit "+i+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(a){return!(!a||a.nodeType!==1&&a.nodeType!==9&&a.nodeType!==11)}function o(a){var i=a,l=a;if(a.alternate)for(;i.return;)i=i.return;else{a=i;do i=a,(i.flags&4098)!==0&&(l=i.return),a=i.return;while(a)}return i.tag===3?l:null}function c(a){if(a.tag===13){var i=a.memoizedState;if(i===null&&(a=a.alternate,a!==null&&(i=a.memoizedState)),i!==null)return i.dehydrated}return null}function u(a){if(a.tag===31){var i=a.memoizedState;if(i===null&&(a=a.alternate,a!==null&&(i=a.memoizedState)),i!==null)return i.dehydrated}return null}
vendor: 14,399 bytes, lines 2-9
2function h(a){if(o(a)!==a)throw Error(r(188))}function f(a){var i=a.alternate;if(!i){if(i=o(a),i===null)throw Error(r(188));return i!==a?null:a}for(var l=a,d=i;;){var m=l.return;if(m===null)break;var g=m.alternate;if(g===null){if(d=m.return,d!==null){l=d;continue}break}if(m.child===g.child){for(g=m.child;g;){if(g===l)return h(m),a;if(g===d)return h(m),i;g=g.sibling}throw Error(r(188))}if(l.return!==d.return)l=m,d=g;else{for(var S=!1,R=m.child;R;){if(R===l){S=!0,l=m,d=g;break}if(R===d){S=!0,d=m,l=g;break}R=R.sibling}if(!S){for(R=g.child;R;){if(R===l){S=!0,l=g,d=m;break}if(R===d){S=!0,d=g,l=m;break}R=R.sibling}if(!S)throw Error(r(189))}}if(l.alternate!==d)throw Error(r(190))}if(l.tag!==3)throw Error(r(188));return l.stateNode.current===l?a:i}function p(a){var i=a.tag;if(i===5||i===26||i===27||i===6)return a;for(a=a.child;a!==null;){if(i=p(a),i!==null)return i;a=a.sibling}return null}var y=Object.assign,b=Symbol.for("react.element"),v=Symbol.for("react.transitional.element"),k=Symbol.for("react.portal"),w=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),_=Symbol.for("react.profiler"),A=Symbol.for("react.consumer"),C=Symbol.for("react.context"),P=Symbol.for("react.forward_ref"),K=Symbol.for("react.suspense"),D=Symbol.for("react.suspense_list"),I=Symbol.for("react.memo"),$=Symbol.for("react.lazy"),Y=Symbol.for("react.activity"),re=Symbol.for("react.memo_cache_sentinel"),z=Symbol.iterator;function H(a){return a===null||typeof a!="object"?null:(a=z&&a[z]||a["@@iterator"],typeof a=="function"?a:null)}var te=Symbol.for("react.client.reference");function Z(a){if(a==null)return null;if(typeof a=="function")return a.$$typeof===te?null:a.displayName||a.name||null;if(typeof a=="string")return a;switch(a){case w:return"Fragment";case _:return"Profiler";case E:return"StrictMode";case K:return"Suspense";case D:return"SuspenseList";case Y:return"Activity"}if(typeof a=="object")switch(a.$$typeof){case k:return"Portal";case C:return a.displayName||"Context";case A:return(a._context.displayName||"Context")+".Consumer";case P:var i=a.render;return a=a.displayName,a||(a=i.displayName||i.name||"",a=a!==""?"ForwardRef("+a+")":"ForwardRef"),a;case I:return i=a.displayName||null,i!==null?i:Z(a.type)||"Memo";case $:i=a._payload,a=a._init;try{return Z(a(i))}catch{}}return null}var G=Array.isArray,M=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Q=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ie={pending:!1,data:null,method:null,action:null},Se=[],T=-1;function L(a){return{current:a}}function J(a){0>T||(a.current=Se[T],Se[T]=null,T--)}function O(a,i){T++,Se[T]=a.current,a.current=i}var de=L(null),me=L(null),fe=L(null),ye=L(null);function Te(a,i){switch(O(fe,i),O(me,a),O(de,null),i.nodeType){case 9:case 11:a=(a=i.documentElement)&&(a=a.namespaceURI)?u0(a):0;break;default:if(a=i.tagName,i=i.namespaceURI)i=u0(i),a=d0(i,a);else switch(a){case"svg":a=1;break;case"math":a=2;break;default:a=0}}J(de),O(de,a)}function xe(){J(de),J(me),J(fe)}function ht(a){a.memoizedState!==null&&O(ye,a);var i=de.current,l=d0(i,a.type);i!==l&&(O(me,a),O(de,l))}function Ct(a){me.current===a&&(J(de),J(me)),ye.current===a&&(J(ye),ol._currentValue=ie)}var Dt,mn;function Zt(a){if(Dt===void 0)try{throw Error()}catch(l){var i=l.stack.trim().match(/\n( *(at )?)/);Dt=i&&i[1]||"",mn=-1<l.stack.indexOf(`
3    at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
4`+Dt+a+mn}var Hi=!1;function Ui(a,i){if(!a||Hi)return"";Hi=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var d={DetermineComponentFrameRoot:function(){try{if(i){var ae=function(){throw Error()};if(Object.defineProperty(ae.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ae,[])}catch(W){var q=W}Reflect.construct(a,[],ae)}else{try{ae.call()}catch(W){q=W}a.call(ae.prototype)}}else{try{throw Error()}catch(W){q=W}(ae=a())&&typeof ae.catch=="function"&&ae.catch(function(){})}}catch(W){if(W&&q&&typeof W.stack=="string")return[W.stack,q.stack]}return[null,null]}};d.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var m=Object.getOwnPropertyDescriptor(d.DetermineComponentFrameRoot,"name");m&&m.configurable&&Object.defineProperty(d.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var g=d.DetermineComponentFrameRoot(),S=g[0],R=g[1];if(S&&R){var j=S.split(`
5`),F=R.split(`
6`);for(m=d=0;d<j.length&&!j[d].includes("DetermineComponentFrameRoot");)d++;for(;m<F.length&&!F[m].includes("DetermineComponentFrameRoot");)m++;if(d===j.length||m===F.length)for(d=j.length-1,m=F.length-1;1<=d&&0<=m&&j[d]!==F[m];)m--;for(;1<=d&&0<=m;d--,m--)if(j[d]!==F[m]){if(d!==1||m!==1)do if(d--,m--,0>m||j[d]!==F[m]){var X=`
7`+j[d].replace(" at new "," at ");return a.displayName&&X.includes("<anonymous>")&&(X=X.replace("<anonymous>",a.displayName)),X}while(1<=d&&0<=m);break}}}finally{Hi=!1,Error.prepareStackTrace=l}return(l=a?a.displayName||a.name:"")?Zt(l):""}function bc(a,i){switch(a.tag){case 26:case 27:case 5:return Zt(a.type);case 16:return Zt("Lazy");case 13:return a.child!==i&&i!==null?Zt("Suspense Fallback"):Zt("Suspense");case 19:return Zt("SuspenseList");case 0:case 15:return Ui(a.type,!1);case 11:return Ui(a.type.render,!1);case 1:return Ui(a.type,!0);case 31:return Zt("Activity");default:return""}}function vc(a){try{var i="",l=null;do i+=bc(a,l),l=a,a=a.return;while(a);return i}catch(d){return`
8Error generating stack: `+d.message+`
9`+d.stack}}var Ki=Object.prototype.hasOwnProperty,Vi=e.unstable_scheduleCallback,vo=e.unstable_cancelCallback,Ah=e.unstable_shouldYield,Th=e.unstable_requestPaint,Wt=e.unstable_now,Oh=e.unstable_getCurrentPriorityLevel,ee=e.unstable_ImmediatePriority,he=e.unstable_UserBlockingPriority,Ce=e.unstable_NormalPriority,Le=e.unstable_LowPriority,Ge=e.unstable_IdlePriority,yn=e.log,Ca=e.unstable_setDisableYieldValue,Yt=null,At=null;function en(a){if(typeof yn=="function"&&Ca(a),At&&typeof At.setStrictMode=="function")try{At.setStrictMode(Yt,a)}catch{}}var tt=Math.clz32?Math.clz32:qC,dr=Math.log,Vn=Math.LN2;function qC(a){return a>>>=0,a===0?32:31-(dr(a)/Vn|0)|0}var wc=256,Sc=262144,kc=4194304;function ii(a){var i=a&42;if(i!==0)return i;switch(a&-a){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return a&261888;case 262144:case 524288:case 1048576:case 2097152:return a&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return a&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return a}}function _c(a,i,l){var d=a.pendingLanes;if(d===0)return 0;var m=0,g=a.suspendedLanes,S=a.pingedLanes;a=a.warmLanes;var R=d&134217727;return R!==0?(d=R&~g,d!==0?m=ii(d):(S&=R,S!==0?m=ii(S):l||(l=R&~a,l!==0&&(m=ii(l))))):(R=d&~g,R!==0?m=ii(R):S!==0?m=ii(S):l||(l=d&~a,l!==0&&(m=ii(l)))),m===0?0:i!==0&&i!==m&&(i&g)===0&&(g=m&-m,l=i&-i,g>=l||g===32&&(l&4194048)!==0)?i:m}function wo(a,i){return(a.pendingLanes&~(a.suspendedLanes&~a.pingedLanes)&i)===0}function GC(a,i){switch(a){case 1:case 2:case 4:case 8:case 64:return i+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return i+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Fg(){var a=kc;return kc<<=1,(kc&62914560)===0&&(kc=4194304),a}function Nh(a){for(var i=[],l=0;31>l;l++)i.push(a);return i}function So(a,i){a.pendingLanes|=i,i!==268435456&&(a.suspendedLanes=0,a.pingedLanes=0,a.warmLanes=0)}function WC(a,i,l,d,m,g){var S=a.pendingLanes;a.pendingLanes=l,a.suspendedLanes=0,a.pingedLanes=0,a.warmLanes=0,a.expiredLanes&=l,a.entangledLanes&=l,a.errorRecoveryDisabledLanes&=l,a.shellSuspendCounter=0;var R=a.entanglements,j=a.expirationTimes,F=a.hiddenUpdates;for(l=S&~l;0<l;){var X=31-tt(l),ae=1<<X;R[X]=0,j[X]=-1;var q=F[X];if(q!==null)for(F[X]=null,X=0;X<q.length;X++){var W=q[X];W!==null&&(W.lane&=-536870913)}l&=~ae}d!==0&&qg(a,d,0),g!==0&&m===0&&a.tag!==0&&(a.suspendedLanes|=g&~(S&~i))}function qg(a,i,l){a.pendingLanes|=i,a.suspendedLanes&=~i;var d=31-tt(i);a.entangledLanes|=i,a.entanglements[d]=a.entanglements[d]|1073741824|l&261930}function Gg(a,i){var l=a.entangledLanes|=i;for(a=a.entanglements;l;){var d=31-tt(l),m=1<<d;m&i|a[d]&i&&(a[d]|=i),l&=~m}}function Wg(a,i){var l=i&-i;return l=(l&42)!==0?1:Dh(l),(l&(a.suspendedLanes|i))!==0?0:l}function Dh(a){switch(a){case 2:a=1;break;case 8:a=4;break;case 32:a=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:a=128;break;case 268435456:a=134217728;break;default:a=0}return a}function Ih(a){return a&=-a,2<a?8<a?(a&134217727)!==0?32:268435456:8:2}function Yg(){var a=Q.p;return a!==0?a:(a=window.event,a===void 0?32:P0(a.type))}function Jg(a,i){var l=Q.p;try{return Q.p=a,i()}finally{Q.p=l}}var hr=Math.random().toString(36).slice(2),Mt="__reactFiber$"+hr,tn="__reactProps$"+hr,Fi="__reactContainer$"+hr,Ph="__reactEvents$"+hr,YC="__reactListeners$"+hr,JC="__reactHandles$"+hr,Qg="__reactResources$"+hr,ko="__reactMarker$"+hr;function jh(a){delete a[Mt],delete a[tn],delete a[Ph],delete a[YC],delete a[JC]}function qi(a){var i=a[Mt];if(i)return i;for(var l=a.parentNode;l;){if(i=l[Fi]||l[Mt]){if(l=i.alternate,i.child!==null||l!==null&&l.child!==null)for(a=b0(a);a!==null;){if(l=a[Mt])return l;a=b0(a)}return i}a=l,l=a.parentNode}return null}function Gi(a){if(a=a[Mt]||a[Fi]){var i=a.tag;if(i===5||i===6||i===13||i===31||i===26||i===27||i===3)return a}return null}function _o(a){var i=a.tag;if(i===5||i===26||i===27||i===6)return a.stateNode;throw Error(r(33))}function Wi(a){var i=a[Qg];return i||(i=a[Qg]={hoistableStyles:new Map,hoistableScripts:new Map}),i}function It(a){a[ko]=!0}var Xg=new Set,Zg={};function si(a,i){Yi(a,i),Yi(a+"Capture",i)}function Yi(a,i){for(Zg[a]=i,a=0;a<i.length;a++)Xg.add(i[a])}var QC=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),eb={},tb={};function XC(a){return Ki.call(tb,a)?!0:Ki.call(eb,a)?!1:QC.test(a)?tb[a]=!0:(eb[a]=!0,!1)}function xc(a,i,l){if(XC(i))if(l===null)a.removeAttribute(i);else{switch(typeof l){case"undefined":case"function":case"symbol":a.removeAttribute(i);return;case"boolean":var d=i.toLowerCase().slice(0,5);if(d!=="data-"&&d!=="aria-"){a.removeAttribute(i);return}}a.setAttribute(i,""+l)}}function Ec(a,i,l){if(l===null)a.removeAttribute(i);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":a.removeAttribute(i);return}a.setAttribute(i,""+l)}}function Aa(a,i,l,d){if(d===null)a.removeAttribute(l);else{switch(typeof d){case"undefined":case"function":case"symbol":case"boolean":a.removeAttribute(l);return}a.setAttributeNS(i,l,""+d)}}function Nn(a){switch(typeof a){case"bigint":case"boolean":case"number":case"string":case"undefined":return a;case"object":return a;default:return""}}function nb(a){var i=a.type;return(a=a.nodeName)&&a.toLowerCase()==="input"&&(i==="checkbox"||i==="radio")}function ZC(a,i,l){var d=Object.getOwnPropertyDescriptor(a.constructor.prototype,i);if(!a.hasOwnProperty(i)&&typeof d<"u"&&typeof d.get=="function"&&typeof d.set=="function"){var m=d.get,g=d.set;return Object.defineProperty(a,i,{configurable:!0,get:function(){return m.call(this)},set:function(S){l=""+S,g.call(this,S)}}),Object.defineProperty(a,i,{enumerable:d.enumerable}),{getValue:function(){return l},setValue:function(S){l=""+S},stopTracking:function(){a._valueTracker=null,delete a[i]}}}}function Lh(a){if(!a._valueTracker){var i=nb(a)?"checked":"value";a._valueTracker=ZC(a,i,""+a[i])}}function ab(a){if(!a)return!1;var i=a._valueTracker;if(!i)return!0;var l=i.getValue(),d="";return a&&(d=nb(a)?a.checked?"true":"false":a.value),a=d,a!==l?(i.setValue(a),!0):!1}function Rc(a){if(a=a||(typeof document<"u"?document:void 0),typeof a>"u")return null;try{return a.activeElement||a.body}catch{return a.body}}var eA=/[\n"\\]/g;function Dn(a){return a.replace(eA,function(i){return"\\"+i.charCodeAt(0).toString(16)+" "})}function Mh(a,i,l,d,m,g,S,R){a.name="",S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"?a.type=S:a.removeAttribute("type"),i!=null?S==="number"?(i===0&&a.value===""||a.value!=i)&&(a.value=""+Nn(i)):a.value!==""+Nn(i)&&(a.value=""+Nn(i)):S!=="submit"&&S!=="reset"||a.removeAttribute("value"),i!=null?Bh(a,S,Nn(i)):l!=null?Bh(a,S,Nn(l)):d!=null&&a.removeAttribute("value"),m==null&&g!=null&&(a.defaultChecked=!!g),m!=null&&(a.checked=m&&typeof m!="function"&&typeof m!="symbol"),R!=null&&typeof R!="function"&&typeof R!="symbol"&&typeof R!="boolean"?a.name=""+Nn(R):a.removeAttribute("name")}function rb(a,i,l,d,m,g,S,R){if(g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"&&(a.type=g),i!=null||l!=null){if(!(g!=="submit"&&g!=="reset"||i!=null)){Lh(a);return}l=l!=null?""+Nn(l):"",i=i!=null?""+Nn(i):l,R||i===a.value||(a.value=i),a.defaultValue=i}d=d??m,d=typeof d!="function"&&typeof d!="symbol"&&!!d,a.checked=R?a.checked:!!d,a.defaultChecked=!!d,S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"&&(a.name=S),Lh(a)}function Bh(a,i,l){i==="number"&&Rc(a.ownerDocument)===a||a.defaultValue===""+l||(a.defaultValue=""+l)}function Ji(a,i,l,d){if(a=a.options,i){i={};for(var m=0;m<l.length;m++)i["$"+l[m]]=!0;for(l=0;l<a.length;l++)m=i.hasOwnProperty("$"+a[l].value),a[l].selected!==m&&(a[l].selected=m),m&&d&&(a[l].defaultSelected=!0)}else{for(l=""+Nn(l),i=null,m=0;m<a.length;m++){if(a[m].value===l){a[m].selected=!0,d&&(a[m].defaultSelected=!0);return}i!==null||a[m].disabled||(i=a[m])}i!==null&&(i.selected=!0)}}
vendor: 4,573 bytes, line 9
9function ib(a,i,l){if(i!=null&&(i=""+Nn(i),i!==a.value&&(a.value=i),l==null)){a.defaultValue!==i&&(a.defaultValue=i);return}a.defaultValue=l!=null?""+Nn(l):""}function sb(a,i,l,d){if(i==null){if(d!=null){if(l!=null)throw Error(r(92));if(G(d)){if(1<d.length)throw Error(r(93));d=d[0]}l=d}l==null&&(l=""),i=l}l=Nn(i),a.defaultValue=l,d=a.textContent,d===l&&d!==""&&d!==null&&(a.value=d),Lh(a)}function Qi(a,i){if(i){var l=a.firstChild;if(l&&l===a.lastChild&&l.nodeType===3){l.nodeValue=i;return}}a.textContent=i}var tA=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function ob(a,i,l){var d=i.indexOf("--")===0;l==null||typeof l=="boolean"||l===""?d?a.setProperty(i,""):i==="float"?a.cssFloat="":a[i]="":d?a.setProperty(i,l):typeof l!="number"||l===0||tA.has(i)?i==="float"?a.cssFloat=l:a[i]=(""+l).trim():a[i]=l+"px"}function lb(a,i,l){if(i!=null&&typeof i!="object")throw Error(r(62));if(a=a.style,l!=null){for(var d in l)!l.hasOwnProperty(d)||i!=null&&i.hasOwnProperty(d)||(d.indexOf("--")===0?a.setProperty(d,""):d==="float"?a.cssFloat="":a[d]="");for(var m in i)d=i[m],i.hasOwnProperty(m)&&l[m]!==d&&ob(a,m,d)}else for(var g in i)i.hasOwnProperty(g)&&ob(a,g,i[g])}function $h(a){if(a.indexOf("-")===-1)return!1;switch(a){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var nA=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode
9-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),aA=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Cc(a){return aA.test(""+a)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":a}function Ta(){}var zh=null;function Hh(a){return a=a.target||a.srcElement||window,a.correspondingUseElement&&(a=a.correspondingUseElement),a.nodeType===3?a.parentNode:a}var Xi=null,Zi=null;function cb(a){var i=Gi(a);if(i&&(a=i.stateNode)){var l=a[tn]||null;e:switch(a=i.stateNode,i.type){case"input":if(Mh(a,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),i=l.name,l.type==="radio"&&i!=null){for(l=a;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll('input[name="'+Dn(""+i)+'"][type="radio"]'),i=0;i<l.length;i++){var d=l[i];if(d!==a&&d.form===a.form){var m=d[tn]||null;if(!m)throw Error(r(90));Mh(d,m.value,m.defaultValue,m.defaultValue,m.checked,m.defaultChecked,m.type,m.name)}}for(i=0;i<l.length;i++)d=l[i],d.form===a.form&&ab(d)}break e;case"textarea":ib(a,l.value,l.defaultValue);break e;case"select":i=l.value,i!=null&&Ji(a,!!l.multiple,i,!1)}}}var Uh=!1;function ub(a,i,l){if(Uh)return a(i,l);Uh=!0;try{var d=a(i);return d}finally{if(Uh=!1,(Xi!==null||Zi!==null)&&(pu(),Xi&&(i=Xi,a=Zi,Zi=Xi=null,cb(i),a)))for(i=0;i<a.length;i++)cb(a[i])}}function xo(a,i){var l=a.stateNode;if(l===null)return null;var d=l[tn]||null;if(d===null)return null;l=d[i];e:switch(i){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(d=!d.disabled)||(a=a.type,d=!(a==="button"||a==="input"||a==="select"||a==="textarea")),a=!d;break e;default:a=!1}if(a)return null;if(l&&typeof l!="function")throw Error(r(231,i,typeof l));return l}var Oa=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Kh=!1;if(Oa)try{var Eo={};Object.defineProperty(Eo,"passive",{get:function(){Kh=!0}}),window.addEventListener("test",Eo,Eo),window.removeEventListener("test",Eo,Eo)}catch{Kh=!1}var fr=null,Vh=null,Ac=null;function db(){if(Ac)return Ac;var a,i=Vh,l=i.length,d,m="value"in fr?fr.value:fr.textContent,g=m.length;for(a=0;a<l&&i[a]===m[a];a++);var S=l-a;for(d=1;d<=S&&i[l-d]===m[g-d];d++);return Ac=m.slice(a,1<d?1-d:void 0)}function Tc(a){var i=a.keyCode;return"charCode"in a?(a=a.charCode,a===0&&i===13&&(a=13)):a=i,a===10&&(a=13),32<=a||a===13?a:0}function Oc(){return!0}function hb(){return!1}function nn(a){function i(l,d,m,g,S){this._reactName=l,this._targetInst=m,this.type=d,this.nativeEvent=g,this.target=S,this.currentTarget=null;for(var R in a)a.hasOwnProperty(R)&&(l=a[R],this[R]=l?l(g):g[R]);return this.isDefaultPrevented=(g.defaultPrevented!=null?g.defaultPrevented:g.returnValue===!1)?Oc:hb,this.isPropagationStopped=hb,this}return y(i.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=Oc)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=Oc)},persist:function(){},isPersistent:Oc}),i}var oi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Nc=nn(oi),Ro=y({},oi,{view:0,detail:0}),rA=nn(Ro),Fh,qh,Co,Dc=y({},Ro,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Wh,button:0,buttons:0,relatedTarget:function(a){return a.relatedTarget===void 0?a.fromElement===a.srcElement?a.toElement:a.fromElement:a.relatedTarget},movementX:function(a){return"movementX"in a?a.movementX:(a!==Co&&(Co&&a.type==="mousemove"?(Fh=a.screenX-Co.screenX,qh=a.screenY-Co.screenY):qh=Fh=0,Co=a),Fh)},movementY:function(a){return"movementY"in a?a.movementY:qh}}),fb=nn(Dc),iA=y({},Dc,{dataTransfer:0}),sA=nn(iA),oA=y({},Ro,{relatedTarget:0}),Gh=nn(oA),lA=y({},oi,{animationName:0,elapsedTime:0,pseudoElement:0}),cA=nn(lA),uA=y({},oi,{clipboardData:function(a){return"clipboardData"in a?a.clipboardData:window.clipboardData}}),dA=nn(uA),hA=y({},oi,{data:0}),pb=nn(hA),fA={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},pA={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},mA={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function yA(a){var i=this.nativeEvent;return i.getModifierState?i.getModifierState(a):(a=mA[a])?!!i[a]:!1}function Wh(){return yA}var gA=y({}
vendor: 4,577 bytes, line 9
9,Ro,{key:function(a){if(a.key){var i=fA[a.key]||a.key;if(i!=="Unidentified")return i}return a.type==="keypress"?(a=Tc(a),a===13?"Enter":String.fromCharCode(a)):a.type==="keydown"||a.type==="keyup"?pA[a.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Wh,charCode:function(a){return a.type==="keypress"?Tc(a):0},keyCode:function(a){return a.type==="keydown"||a.type==="keyup"?a.keyCode:0},which:function(a){return a.type==="keypress"?Tc(a):a.type==="keydown"||a.type==="keyup"?a.keyCode:0}}),bA=nn(gA),vA=y({},Dc,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),mb=nn(vA),wA=y({},Ro,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Wh}),SA=nn(wA),kA=y({},oi,{propertyName:0,elapsedTime:0,pseudoElement:0}),_A=nn(kA),xA=y({},Dc,{deltaX:function(a){return"deltaX"in a?a.deltaX:"wheelDeltaX"in a?-a.wheelDeltaX:0},deltaY:function(a){return"deltaY"in a?a.deltaY:"wheelDeltaY"in a?-a.wheelDeltaY:"wheelDelta"in a?-a.wheelDelta:0},deltaZ:0,deltaMode:0}),EA=nn(xA),RA=y({},oi,{newState:0,oldState:0}),CA=nn(RA),AA=[9,13,27,32],Yh=Oa&&"CompositionEvent"in window,Ao=null;Oa&&"documentMode"in document&&(Ao=document.documentMode);var TA=Oa&&"TextEvent"in window&&!Ao,yb=Oa&&(!Yh||Ao&&8<Ao&&11>=Ao),gb=" ",bb=!1;function vb(a,i){switch(a){case"keyup":return AA.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function wb(a){return a=a.detail,typeof a=="object"&&"data"in a?a.data:null}var es=!1;function OA(a,i){switch(a){case"compositionend":return wb(i);case"keypress":return i.which!==32?null:(bb=!0,gb);case"textInput":return a=i.data,a===gb&&bb?null:a;default:return null}}function NA(a,i){if(es)return a==="compositionend"||!Yh&&vb(a,i)?(a=db(),Ac=Vh=fr=null,es=!1,a):null;switch(a){case"paste":return null;case"keypress":if(!(i.ctrlKey||i.altKey||i.metaKey)||i.ctrlKey&&i.altKey){if(i.char&&1<i.char.length)return i.char;if(i.which)return String.fromCharCode(i.which)}return null;case"compositionend":return yb&&i.locale!=="ko"?null:i.data;default:return null}}var DA={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Sb(a){var i=a&&a.nodeName&&a.nodeName.toLowerCase();return i==="input"?!!DA[a.type]:i==="textarea"}function kb(a,i,l,d){Xi?Zi?Zi.push(d):Zi=[d]:Xi=d,i=Su(i,"onChange"),0<i.length&&(l=new Nc("onChange","change",null,l,d),a.push({event:l,listeners:i}))}var To=null,Oo=null;function IA(a){r0(a,0)}function Ic(a){var i=_o(a);if(ab(i))return a}function _b(a,i){if(a==="change")return i}var xb=!1;if(Oa){var Jh;if(Oa){var Qh="oninput"in document;if(!Qh){var Eb=document.createElement("div");Eb.setAttribute("oninput","return;"),Qh=typeof Eb.oninput=="function"}Jh=Qh}else Jh=!1;xb=Jh&&(!document.documentMode||9<document.documentMode)}function Rb(){To&&(To.detachEvent("onpropertychange",Cb),Oo=To=null)}function Cb(a){if(a.propertyName==="value"&&Ic(Oo)){var i=[];kb(i,Oo,a,Hh(a)),ub(IA,i)}}function PA(a,i,l){a==="focusin"?(Rb(),To=i,Oo=l,To.attachEvent("onpropertychange",Cb)):a==="focusout"&&Rb()}function jA(a){if(a==="selectionchange"||a==="keyup"||a==="keydown")return Ic(Oo)}function LA(a,i){if(a==="click")return Ic(i)}function MA(a,i){if(a==="input"||a==="change")return Ic(i)}function BA(a,i){return a===i&&(a!==0||1/a===1/i)||a!==a&&i!==i}var gn=typeof Object.is=="function"?Object.is:BA;function No(a,i){if(gn(a,i))return!0;if(typeof a!="object"||a===null||typeof i!="object"||i===null)return!1;var l=Object.keys(a),d=Object.keys(i);if(l.length!==d.length)return!1;for(d=0;d<l.length;d++){var m=l[d];if(!Ki.call(i,m)||!gn(a[m],i[m]))return!1}return!0}function Ab(a){for(;a&&a.firstChild;)a=a.firstChild;return a}function Tb(a,i){var l=Ab(a);a=0;for(var d;l;){if(l.nodeType===3){if(d=a+l.textContent.length,a<=i&&d>=i)return{node:l,offset:i-a};a=d}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=Ab(l)}}function Ob(a,i){return a&&i?a===i?!0:a&&a.nodeType===3?!1:i&&i.nodeType===3?Ob(a,i.parentNode):"contains"in a?a.contains(i):a.compareDocumentPosition?!!(a.compareDocumentPosition(i)&16):!1:!1}function Nb(a){a=a!=null&&a.ownerDocument!=null&&a.ownerDocument.defaultView!=null?a.ownerDocument.defaultView:window;for(var i=Rc(a.document);i instanceof a.HTMLIFrameElement;){try{var l=typeof i.contentWindow.location.href=="string"}catch{l=!1}
vendor: 15,499 bytes, line 9
9if(l)a=i.contentWindow;else break;i=Rc(a.document)}return i}function Xh(a){var i=a&&a.nodeName&&a.nodeName.toLowerCase();return i&&(i==="input"&&(a.type==="text"||a.type==="search"||a.type==="tel"||a.type==="url"||a.type==="password")||i==="textarea"||a.contentEditable==="true")}var $A=Oa&&"documentMode"in document&&11>=document.documentMode,ts=null,Zh=null,Do=null,ef=!1;function Db(a,i,l){var d=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;ef||ts==null||ts!==Rc(d)||(d=ts,"selectionStart"in d&&Xh(d)?d={start:d.selectionStart,end:d.selectionEnd}:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection(),d={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset}),Do&&No(Do,d)||(Do=d,d=Su(Zh,"onSelect"),0<d.length&&(i=new Nc("onSelect","select",null,i,l),a.push({event:i,listeners:d}),i.target=ts)))}function li(a,i){var l={};return l[a.toLowerCase()]=i.toLowerCase(),l["Webkit"+a]="webkit"+i,l["Moz"+a]="moz"+i,l}var ns={animationend:li("Animation","AnimationEnd"),animationiteration:li("Animation","AnimationIteration"),animationstart:li("Animation","AnimationStart"),transitionrun:li("Transition","TransitionRun"),transitionstart:li("Transition","TransitionStart"),transitioncancel:li("Transition","TransitionCancel"),transitionend:li("Transition","TransitionEnd")},tf={},Ib={};Oa&&(Ib=document.createElement("div").style,"AnimationEvent"in window||(delete ns.animationend.animation,delete ns.animationiteration.animation,delete ns.animationstart.animation),"TransitionEvent"in window||delete ns.transitionend.transition);function ci(a){if(tf[a])return tf[a];if(!ns[a])return a;var i=ns[a],l;for(l in i)if(i.hasOwnProperty(l)&&l in Ib)return tf[a]=i[l];return a}var Pb=ci("animationend"),jb=ci("animationiteration"),Lb=ci("animationstart"),zA=ci("transitionrun"),HA=ci("transitionstart"),UA=ci("transitioncancel"),Mb=ci("transitionend"),Bb=new Map,nf="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");nf.push("scrollEnd");function Fn(a,i){Bb.set(a,i),si(i,[a])}var Pc=typeof reportError=="function"?reportError:function(a){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var i=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof a=="object"&&a!==null&&typeof a.message=="string"?String(a.message):String(a),error:a});if(!window.dispatchEvent(i))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",a);return}console.error(a)},In=[],as=0,af=0;function jc(){for(var a=as,i=af=as=0;i<a;){var l=In[i];In[i++]=null;var d=In[i];In[i++]=null;var m=In[i];In[i++]=null;var g=In[i];if(In[i++]=null,d!==null&&m!==null){var S=d.pending;S===null?m.next=m:(m.next=S.next,S.next=m),d.pending=m}g!==0&&$b(l,m,g)}}function Lc(a,i,l,d){In[as++]=a,In[as++]=i,In[as++]=l,In[as++]=d,af|=d,a.lanes|=d,a=a.alternate,a!==null&&(a.lanes|=d)}function rf(a,i,l,d){return Lc(a,i,l,d),Mc(a)}function ui(a,i){return Lc(a,null,null,i),Mc(a)}function $b(a,i,l){a.lanes|=l;var d=a.alternate;d!==null&&(d.lanes|=l);for(var m=!1,g=a.return;g!==null;)g.childLanes|=l,d=g.alternate,d!==null&&(d.childLanes|=l),g.tag===22&&(a=g.stateNode,a===null||a._visibility&1||(m=!0)),a=g,g=g.return;return a.tag===3?(g=a.stateNode,m&&i!==null&&(m=31-tt(l),a=g.hiddenUpdates,d=a[m],d===null?a[m]=[i]:d.push(i),i.lane=l|536870912),g):null}function Mc(a){if(50<el)throw el=0,pp=null,Error(r(185));for(var i=a.return;i!==null;)a=i,i=a.return;return a.tag===3?a.stateNode:null}var rs={};function KA(a,i,l,d){this.tag=a,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=i,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=d,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function bn(a,i,l,d){return new KA(a,i,l,d)}function sf(a){return a=a.prototype,!(!a||!a.isReactComponent)}function Na(a,i){var l=a.alternate;return l===null?(l=bn(a.tag,i,a.key,a.mode),l.elementType=a.elementType,l.type=a.type,l.stateNode=a.stateNode,l.alternate=a,a.alternate=l):(l.pendingProps=i,l.type=a.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=a.flags&65011712,l.childLanes=a.childLanes,l.lanes=a.lanes,l.child=a.child,l.memoizedProps=a.memoizedProps,l.memoizedState=a.memoizedState,l.updateQueue=a.updateQueue,i=a.dependencies,l.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},l.sibling=a.sibling,l.index=a.index,l.ref=a.ref,l.refCleanup=a.refCleanup,l}function zb(a,i){a.flags&=65011714;var l=a.alternate;return l===null?(a.childLanes=0,a.lanes=i,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=l.childLanes,a.lanes=l.lanes,a.child=l.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=l.memoizedProps,a.memoizedState=l.memoizedState,a.updateQueue=l.updateQueue,a.type=l.type,i=l.dependencies,a.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext}),a}function Bc(a,i,l,d,m,g){var S=0;if(d=a,typeof a=="function")sf(a)&&(S=1);else if(typeof a=="string")S=WT(a,l,de.current)?26:a==="html"||a==="head"||a==="body"?27:5;else e:switch(a){case Y:return a=bn(31,l,i,m),a.elementType=Y,a.lanes=g,a;case w:return di(l.children,m,g,i);case E:S=8,m|=24;break;case _:return a=bn(12,l,i,m|2),a.elementType=_,a.lanes=g,a;case K:return a=bn(13,l,i,m),a.elementType=K,a.lanes=g,a;case D:return a=bn(19,l,i,m),a.elementType=D,a.lanes=g,a;default:if(typeof a=="object"&&a!==null)switch(a.$$typeof){case C:S=10;break e;case A:S=9;break e;case P:S=11;break e;case I:S=14;break e;case $:S=16,d=null;break e}S=29,l=Error(r(130,a===null?"null":typeof a,"")),d=null}return i=bn(S,l,i,m),i.elementType=a,i.type=d,i.lanes=g,i}function di(a,i,l,d){return a=bn(7,a,d,i),a.lanes=l,a}function of(a,i,l){return a=bn(6,a,null,i),a.lanes=l,a}function Hb(a){var i=bn(18,null,null,0);return i.stateNode=a,i}function lf(a,i,l){return i=bn(4,a.children!==null?a.children:[],a.key,i),i.lanes=l,i.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation},i}var Ub=new WeakMap;function Pn(a,i){if(typeof a=="object"&&a!==null){var l=Ub.get(a);return l!==void 0?l:(i={value:a,source:i,stack:vc(i)},Ub.set(a,i),i)}return{value:a,source:i,stack:vc(i)}}var is=[],ss=0,$c=null,Io=0,jn=[],Ln=0,pr=null,la=1,ca="";function Da(a,i){is[ss++]=Io,is[ss++]=$c,$c=a,Io=i}function Kb(a,i,l){jn[Ln++]=la,jn[Ln++]=ca,jn[Ln++]=pr,pr=a;var d=la;a=ca;var m=32-tt(d)-1;d&=~(1<<m),l+=1;var g=32-tt(i)+m;if(30<g){var S=m-m%5;g=(d&(1<<S)-1).toString(32),d>>=S,m-=S,la=1<<32-tt(i)+m|l<<m|d,ca=g+a}else la=1<<g|l<<m|d,ca=a}function cf(a){a.return!==null&&(Da(a,1),Kb(a,1,0))}function uf(a){for(;a===$c;)$c=is[--ss],is[ss]=null,Io=is[--ss],is[ss]=null;for(;a===pr;)pr=jn[--Ln],jn[Ln]=null,ca=jn[--Ln],jn[Ln]=null,la=jn[--Ln],jn[Ln]=null}function Vb(a,i){jn[Ln++]=la,jn[Ln++]=ca,jn[Ln++]=pr,la=i.id,ca=i.overflow,pr=a}var Bt=null,lt=null,He=!1,mr=null,Mn=!1,df=Error(r(519));function yr(a){var i=Error(r(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Po(Pn(i,a)),df}function Fb(a){var i=a.stateNode,l=a.type,d=a.memoizedProps;switch(i[Mt]=a,i[tn]=d,l){case"dialog":Be("cancel",i),Be("close",i);break;case"iframe":case"object":case"embed":Be("load",i);break;case"video":case"audio":for(l=0;l<nl.length;l++)Be(nl[l],i);break;case"source":Be("error",i);break;case"img":case"image":case"link":Be("error",i),Be("load",i);break;case"details":Be("toggle",i);break;case"input":Be("invalid",i),rb(i,d.value,d.defaultValue,d.checked,d.defaultChecked,d.type,d.name,!0);break;case"select":Be("invalid",i);break;case"textarea":Be("invalid",i),sb(i,d.value,d.defaultValue,d.children)}l=d.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||i.textContent===""+l||d.suppressHydrationWarning===!0||l0(i.textContent,l)?(d.popover!=null&&(Be("beforetoggle",i),Be("toggle",i)),d.onScroll!=null&&Be("scroll",i),d.onScrollEnd!=null&&Be("scrollend",i),d.onClick!=null&&(i.onclick=Ta),i=!0):i=!1,i||yr(a,!0)}function qb(a){for(Bt=a.return;Bt;)switch(Bt.tag){case 5:case 31:case 13:Mn=!1;return;case 27:case 3:Mn=!0;return;default:Bt=Bt.return}}function os(a){if(a!==Bt)return!1;if(!He)return qb(a),He=!0,!1;var i=a.tag,l;if((l=i!==3&&i!==27)&&((l=i===5)&&(l=a.type,l=!(l!=="form"&&l!=="button")||Tp(a.type,a.memoizedProps)),l=!l),l&&lt&&yr(a),qb(a),i===13){if(a=a.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(r(317));lt=g0(a)}else if(i===31){if(a=a.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(r(317));lt=g0(a)}else i===27?(i=lt,Or(a.type)?(a=Pp,Pp=null,lt=a):lt=i):lt=Bt?$n(a.stateNode.nextSibling):null;return!0}function hi(){lt=Bt=null,He=!1}function hf(){var a=mr;return a!==null&&(on===null?on=a:on.push.apply(on,a),mr=null),a}function Po(a){mr===null?mr=[a]:mr.push(a)}var ff=L(null),fi=null,Ia=null;function gr(a,i,l){O(ff,i._currentValue),i._currentValue=l}function Pa(a){a._currentValue=ff.current,J(ff)}function pf(a,i,l){for(;a!==null;){var d=a.alternate;if((a.childLanes&i)!==i?(a.childLanes|=i,d!==null&&(d.childLanes|=i)):d!==null&&(d.childLanes&i)!==i&&(d.childLanes|=i),a===l)break;a=a.return}}function mf(a,i,l,d){var m=a.child;for(m!==null&&(m.return=a);m!==null;){var g=m.dependencies;if(g!==null){var S=m.child;g=g.firstContext;e:for(;g!==null;){var R=g;g=m;for(var j=0;j<i.length;j++)if(R.context===i[j]){g.lanes|=l,R=g.alternate,R!==null&&(R.lanes|=l),pf(g.return,l,a),d||(S=null);break e}g=R.next}}else if(m.tag===18){if(S=m.return,S===null)throw Error(r(341));S.lanes|=l,g=S.alternate,g!==null&&(g.lanes|=l),pf(S,l,a),S=null}else S=m.child;if(S!==null)S.return=m;else for(S=m;S!==null;){if(S===a){S=null;break}if(m=S.sibling,m!==null){m.return=S.return,S=m;break}S=S.return}m=S}}function ls(a,i,l,d){a=null;for(var m=i,g=!1;m!==null;){if(!g){if((m.flags&524288)!==0)g=!0;else if((m.flags&262144)!==0)break}if(m.tag===10){var S=m.alternate;if(S===null)throw Error(r(387));if(S=S.memoizedProps,S!==null){var R=m.type;gn(m.pendingProps.value,S.value)||(a!==null?a.push(R):a=[R])}}else if(m===ye.current){if(S=m.alternate,S===null)throw Error(r(387));S.memoizedState.memoizedState!==m.memoizedState.memoizedState&&(a!==null?a.push(ol):a=[ol])}m=m.return}a!==null&&mf(i,a,l,d),i.flags|=262144}function zc(a){for(a=a.firstContext;a!==null;){if(!gn(a.context._currentValue,a.memoizedValue))return!0;a=a.next}return!1}function pi(a){fi=a,Ia=null,a=a.dependencies,a!==null&&(a.firstContext=null)}function $t(a){return Gb(fi,a)}function Hc(a,i){return fi===null&&pi(a),Gb(a,i)}function Gb(a,i){var l=i._currentValue;if(i={context:i,memoizedValue:l,next:null},Ia===null){if(a===null)throw Error(r(308));Ia=i,a.dependencies={lanes:0,firstContext:i},a.flags|=524288}else Ia=Ia.next=i;return l}var VA=typeof AbortController<"u"?AbortController:function(){var a=[],i=this.signal={aborted:!1,addEventListener:function(l,d){a.push(d)}};this.abort=function(){i.aborted=!0,a.forEach(function(l){return l()})}},FA=e.unstable_scheduleCallback,qA=e.unstable_NormalPriority,wt={$$typeof:C,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function yf(){return{controller:new VA,data:new Map,refCount:0}}function jo(a){a.refCount--,a.refCount===0&&FA(qA,function(){a.controller.abort()})}var Lo=null,gf=0,cs=0,us=null;function GA(a,i){if(Lo===null){var l=Lo=[];gf=0,cs=wp(),us={status:"pending",value:void 0,then:function(d){l.push(d)}}}return gf++,i.then(Wb,Wb),i}function Wb(){if(--gf===0&&Lo!==null){us!==null&&(us.status="fulfilled");var a=Lo;Lo=null,cs=0,us=null;for(var i=0;i<a.length;i++)(0,a[i])()}}function WA(a,i){var l=[],d={status:"pending",value:null,reason:null,then:function(m){l.push(m)}};return a.then(function(){d.status="fulfilled",d.value=i;for(var m=0;m<l.length;m++)(0,l[m])(i)},function(m){for(d.status="rejected",d.reason=m,m=0;m<l.length;m++)(0,l[m])(void 0)}),d}var Yb=M.S;M.S=function(a,i){Dw=Wt(),typeof i=="object"&&i!==null&&typeof i.then=="function"&&GA(a,i),Yb!==null&&Yb(a,i)};var mi=L(null);function bf(){var a=mi.current;return a!==null?a:nt.pooledCache}function Uc(a,i){i===null?O(mi,mi.current):O(mi,i.pool)}function Jb(){var a=bf();return a===null?null:{parent:wt._currentValue,pool:a}}var ds=Error(r(460)),vf=Error(r(474)),Kc=Error(r(542)),Vc={then:function(){}};function Qb(a){return a=a.status,a==="fulfilled"||a==="rejected"}function Xb(a,i,l){switch(l=a[l],l===void 0?a.push(i):l!==i&&(i.then(Ta,Ta),i=l),i.status){case"fulfilled":return i.value;case"rejected":throw a=i.reason,ev(a),a;default:if(typeof i.status=="string")i.then(Ta,Ta);else{if(a=nt,a!==null&&100<a.shellSuspendCounter)throw Error(r(482));a=i,a.status="pending",a.then(function(d){if(i.status==="pending"){var m=i;m.status="fulfilled",m.value=d}},function(d){if(i.status==="pending"){var m=i;m.status="rejected",m.reason=d}})}switch(i.status){case"fulfilled":return i.value;case"rejected":throw a=i.reason,ev(a),a}throw gi=i,ds}}function yi(a){try{var i=a._init;return i(a._payload)}catch(l){throw l!==null&&typeof l=="object"&&typeof l.then=="function"?(gi=l,ds):l}}var gi=null;function Zb(){if(gi===null)throw Error(r(459));var a=gi;return gi=null,a}function ev(a){if(a===ds||a===Kc)throw Error(r(483))}var hs=null,Mo=0;function Fc(a){var i=Mo;return Mo+=1,hs===null&&(hs=[]),Xb(hs,a,i)}function Bo(a,i){i=i.props.ref,a.ref=i!==void 0?i:null}function qc(a,i){throw i.$$typeof===b?Error(r(525)):(a=Object.prototype.toString.call(i),Error(r(31,a==="[object Object]"?"object with keys {"+Object.keys(i).join(", ")+"}":a)))}function tv(a){function i(U,B){if(a){var V=U.deletions;V===null?(U.deletions=[B],U.flags|=16):V.push(B)}}function l(U,B){if(!a)return null;for(;B!==null;)i(U,B),B=B.sibling;return null}function d(U){for(var B=new Map;U!==null;)U.key!==null?B.set(U.key,U):B.set(U.index,U),U=U.sibling;return B}function m(U,B){return U=Na(U,B),U.index=0,U.sibling=null,U}function g(U,B,V){return U.index=V,a?(V=U.alternate,V!==null?(V=V.index,V<B?(U.flags|=67108866,B):V):(U.flags|=67108866,B)):(U.flags|=1048576,B)}function S(U){return a&&U.alternate===null&&(U.flags|=67108866),U}function R(U,B,V,ne){return B===null||B.tag!==6?(B=of(V,U.mode,ne),B.return=U,B):(B=m(B,V),B.return=U,B)}function j(U,B,V,ne){var _e=V.type;return _e===w?X(U,B,V.props.children,ne,V.key):B!==null&&(B.elementType===_e||typeof _e=="object"&&_e!==null&&_e.$$typeof===$&&yi(_e)===B.type)?(B=m(B,V.props),Bo(B,V),B.return=U,B):(B=Bc(V.type,V.key,V.props,null,U.mode,ne),Bo(B,V),B.return=U,B)}function F(U,B,V,ne){return B===null||B.tag!==4||B.stateNode.containerInfo!==V.containerInfo||B.stateNode.implementation!==V.implementation?(B=lf(V,U.mode,ne),B.return=U,B):(B=m(B,V.children||[]),B.return=U,B)}function X(U,B,V,ne,_e){return B===null||B.tag!==7?(B=di(V,U.mode,ne,_e),B.return=U,B):(B=m(B,V),B.return=U,B)}
vendor: 7,465 bytes, line 9
9function ae(U,B,V){if(typeof B=="string"&&B!==""||typeof B=="number"||typeof B=="bigint")return B=of(""+B,U.mode,V),B.return=U,B;if(typeof B=="object"&&B!==null){switch(B.$$typeof){case v:return V=Bc(B.type,B.key,B.props,null,U.mode,V),Bo(V,B),V.return=U,V;case k:return B=lf(B,U.mode,V),B.return=U,B;case $:return B=yi(B),ae(U,B,V)}if(G(B)||H(B))return B=di(B,U.mode,V,null),B.return=U,B;if(typeof B.then=="function")return ae(U,Fc(B),V);if(B.$$typeof===C)return ae(U,Hc(U,B),V);qc(U,B)}return null}function q(U,B,V,ne){var _e=B!==null?B.key:null;if(typeof V=="string"&&V!==""||typeof V=="number"||typeof V=="bigint")return _e!==null?null:R(U,B,""+V,ne);if(typeof V=="object"&&V!==null){switch(V.$$typeof){case v:return V.key===_e?j(U,B,V,ne):null;case k:return V.key===_e?F(U,B,V,ne):null;case $:return V=yi(V),q(U,B,V,ne)}if(G(V)||H(V))return _e!==null?null:X(U,B,V,ne,null);if(typeof V.then=="function")return q(U,B,Fc(V),ne);if(V.$$typeof===C)return q(U,B,Hc(U,V),ne);qc(U,V)}return null}function W(U,B,V,ne,_e){if(typeof ne=="string"&&ne!==""||typeof ne=="number"||typeof ne=="bigint")return U=U.get(V)||null,R(B,U,""+ne,_e);if(typeof ne=="object"&&ne!==null){switch(ne.$$typeof){case v:return U=U.get(ne.key===null?V:ne.key)||null,j(B,U,ne,_e);case k:return U=U.get(ne.key===null?V:ne.key)||null,F(B,U,ne,_e);case $:return ne=yi(ne),W(U,B,V,ne,_e)}if(G(ne)||H(ne))return U=U.get(V)||null,X(B,U,ne,_e,null);if(typeof ne.then=="function")return W(U,B,V,Fc(ne),_e);if(ne.$$typeof===C)return W(U,B,V,Hc(B,ne),_e);qc(B,ne)}return null}function ge(U,B,V,ne){for(var _e=null,Ke=null,ke=B,De=B=0,ze=null;ke!==null&&De<V.length;De++){ke.index>De?(ze=ke,ke=null):ze=ke.sibling;var Ve=q(U,ke,V[De],ne);if(Ve===null){ke===null&&(ke=ze);break}a&&ke&&Ve.alternate===null&&i(U,ke),B=g(Ve,B,De),Ke===null?_e=Ve:Ke.sibling=Ve,Ke=Ve,ke=ze}if(De===V.length)return l(U,ke),He&&Da(U,De),_e;if(ke===null){for(;De<V.length;De++)ke=ae(U,V[De],ne),ke!==null&&(B=g(ke,B,De),Ke===null?_e=ke:Ke.sibling=ke,Ke=ke);return He&&Da(U,De),_e}for(ke=d(ke);De<V.length;De++)ze=W(ke,U,De,V[De],ne),ze!==null&&(a&&ze.alternate!==null&&ke.delete(ze.key===null?De:ze.key),B=g(ze,B,De),Ke===null?_e=ze:Ke.sibling=ze,Ke=ze);return a&&ke.forEach(function(jr){return i(U,jr)}),He&&Da(U,De),_e}function Ee(U,B,V,ne){if(V==null)throw Error(r(151));for(var _e=null,Ke=null,ke=B,De=B=0,ze=null,Ve=V.next();ke!==null&&!Ve.done;De++,Ve=V.next()){ke.index>De?(ze=ke,ke=null):ze=ke.sibling;var jr=q(U,ke,Ve.value,ne);if(jr===null){ke===null&&(ke=ze);break}a&&ke&&jr.alternate===null&&i(U,ke),B=g(jr,B,De),Ke===null?_e=jr:Ke.sibling=jr,Ke=jr,ke=ze}if(Ve.done)return l(U,ke),He&&Da(U,De),_e;if(ke===null){for(;!Ve.done;De++,Ve=V.next())Ve=ae(U,Ve.value,ne),Ve!==null&&(B=g(Ve,B,De),Ke===null?_e=Ve:Ke.sibling=Ve,Ke=Ve);return He&&Da(U,De),_e}for(ke=d(ke);!Ve.done;De++,Ve=V.next())Ve=W(ke,U,De,Ve.value,ne),Ve!==null&&(a&&Ve.alternate!==null&&ke.delete(Ve.key===null?De:Ve.key),B=g(Ve,B,De),Ke===null?_e=Ve:Ke.sibling=Ve,Ke=Ve);return a&&ke.forEach(function(iO){return i(U,iO)}),He&&Da(U,De),_e}function Xe(U,B,V,ne){if(typeof V=="object"&&V!==null&&V.type===w&&V.key===null&&(V=V.props.children),typeof V=="object"&&V!==null){switch(V.$$typeof){case v:e:{for(var _e=V.key;B!==null;){if(B.key===_e){if(_e=V.type,_e===w){if(B.tag===7){l(U,B.sibling),ne=m(B,V.props.children),ne.return=U,U=ne;break e}}else if(B.elementType===_e||typeof _e=="object"&&_e!==null&&_e.$$typeof===$&&yi(_e)===B.type){l(U,B.sibling),ne=m(B,V.props),Bo(ne,V),ne.return=U,U=ne;break e}l(U,B);break}else i(U,B);B=B.sibling}V.type===w?(ne=di(V.props.children,U.mode,ne,V.key),ne.return=U,U=ne):(ne=Bc(V.type,V.key,V.props,null,U.mode,ne),Bo(ne,V),ne.return=U,U=ne)}return S(U);case k:e:{for(_e=V.key;B!==null;){if(B.key===_e)if(B.tag===4&&B.stateNode.containerInfo===V.containerInfo&&B.stateNode.implementation===V.implementation){l(U,B.sibling),ne=m(B,V.children||[]),ne.return=U,U=ne;break e}else{l(U,B);break}else i(U,B);B=B.sibling}ne=lf(V,U.mode,ne),ne.return=U,U=ne}return S(U);case $:return V=yi(V),Xe(U,B,V,ne)}if(G(V))return ge(U,B,V,ne);if(H(V)){if(_e=H(V),typeof _e!="function")throw Error(r(150));return V=_e.call(V),Ee(U,B,V,ne)}if(typeof V.then=="function")return Xe(U,B,Fc(V),ne);if(V.$$typeof===C)return Xe(U,B,Hc(U,V),ne);qc(U,V)}return typeof V=="string"&&V!==""||typeof V=="number"||typeof V=="bigint"?(V=""+V,B!==null&&B.tag===6?(l(U,B.sibling),ne=m(B,V),ne.return=U,U=ne):(l(U,B),ne=of(V,U.mode,ne),ne.return=U,U=ne),S(U)):l(U,B)}return function(U,B,V,ne){try{Mo=0;var _e=Xe(U,B,V,ne);return hs=null,_e}catch(ke){if(ke===ds||ke===Kc)throw ke;var Ke=bn(29,ke,null,U.mode);return Ke.lanes=ne,Ke.return=U,Ke}}}var bi=tv(!0),nv=tv(!1),br=!1;function wf(a){a.updateQueue={baseState:a.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Sf(a,i){a=a.updateQueue,i.updateQueue===a&&(i.updateQueue={baseState:a.baseState,firstBaseUpdate:a.firstBaseUpdate,lastBaseUpdate:a.lastBaseUpdate,shared:a.shared,callbacks:null})}function vr(a){return{lane:a,tag:0,payload:null,callback:null,next:null}}function wr(a,i,l){var d=a.updateQueue;if(d===null)return null;if(d=d.shared,(Fe&2)!==0){var m=d.pending;return m===null?i.next=i:(i.next=m.next,m.next=i),d.pending=i,i=Mc(a),$b(a,null,l),i}return Lc(a,d,i,l),Mc(a)}function $o(a,i,l){if(i=i.updateQueue,i!==null&&(i=i.shared,(l&4194048)!==0)){var d=i.lanes;d&=a.pendingLanes,l|=d,i.lanes=l,Gg(a,l)}}function kf(a,i){var l=a.updateQueue,d=a.alternate;if(d!==null&&(d=d.updateQueue,l===d)){var m=null,g=null;if(l=l.firstBaseUpdate,l!==null){do{var S={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};g===null?m=g=S:g=g.next=S,l=l.next}while(l!==null);g===null?m=g=i:g=g.next=i}else m=g=i;l={baseState:d.baseState,firstBaseUpdate:m,lastBaseUpdate:g,shared:d.shared,callbacks:d.callbacks},a.updateQueue=l;return}a=l.lastBaseUpdate,a===null?l.firstBaseUpdate=i:a.next=i,l.lastBaseUpdate=i}var _f=!1;function zo(){if(_f){var a=us;if(a!==null)throw a}}function Ho(a,i,l,d){_f=!1;var m=a.updateQueue;br=!1;var g=m.firstBaseUpdate,S=m.lastBaseUpdate,R=m.shared.pending;if(R!==null){m.shared.pending=null;var j=R,F=j.next;j.next=null,S===null?g=F:S.next=F,S=j;var X=a.alternate;X!==null&&(X=X.updateQueue,R=X.lastBaseUpdate,R!==S&&(R===null?X.firstBaseUpdate=F:R.next=F,X.lastBaseUpdate=j))}if(g!==null){var ae=m.baseState;S=0,X=F=j=null,R=g;do{var q=R.lane&-536870913,W=q!==R.lane;if(W?($e&q)===q:(d&q)===q){q!==0&&q===cs&&(_f=!0),X!==null&&(X=X.next={lane:0,tag:R.tag,payload:R.payload,callback:null,next:null});e:{var ge=a,Ee=R;q=i;var Xe=l;switch(Ee.tag){case 1:if(ge=Ee.payload,typeof ge=="function"){ae=ge.call(Xe,ae,q);break e}ae=ge;break e;case 3:ge.flags=ge.flags&-65537|128;case 0:if(ge=Ee.payload,q=typeof ge=="function"?ge.call(Xe,ae,q):ge,q==null)break e;ae=y({},ae,q);break e;case 2:br=!0}}q=R.callback,q!==null&&(a.flags|=64,W&&(a.flags|=8192),W=m.callbacks,W===null?m.callbacks=[q]:W.push(q))}else W={lane:q,tag:R.tag,payload:R.payload,callback:R.callback,next:null},X===null?(F=X=W,j=ae):X=X.next=W,S|=q;if(R=R.next,R===null){if(R=m.shared.pending,R===null)break;W=R,R=W.next,W.next=null,m.lastBaseUpdate=W,m.shared.pending=null}}while(!0);X===null&&(j=ae),m.baseState=j,m.firstBaseUpdate=F,m.lastBaseUpdate=X,g===null&&(m.shared.lanes=0),Er|=S,a.lanes=S,a.memoizedState=ae}}function av(a,i){if(typeof a!="function")throw Error(r(191,a));a.call(i)}function rv(a,i){var l=a.callbacks;
vendor: 7,245 bytes, line 9
9if(l!==null)for(a.callbacks=null,a=0;a<l.length;a++)av(l[a],i)}var fs=L(null),Gc=L(0);function iv(a,i){a=Ka,O(Gc,a),O(fs,i),Ka=a|i.baseLanes}function xf(){O(Gc,Ka),O(fs,fs.current)}function Ef(){Ka=Gc.current,J(fs),J(Gc)}var vn=L(null),Bn=null;function Sr(a){var i=a.alternate;O(yt,yt.current&1),O(vn,a),Bn===null&&(i===null||fs.current!==null||i.memoizedState!==null)&&(Bn=a)}function Rf(a){O(yt,yt.current),O(vn,a),Bn===null&&(Bn=a)}function sv(a){a.tag===22?(O(yt,yt.current),O(vn,a),Bn===null&&(Bn=a)):kr()}function kr(){O(yt,yt.current),O(vn,vn.current)}function wn(a){J(vn),Bn===a&&(Bn=null),J(yt)}var yt=L(0);function Wc(a){for(var i=a;i!==null;){if(i.tag===13){var l=i.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||Dp(l)||Ip(l)))return i}else if(i.tag===19&&(i.memoizedProps.revealOrder==="forwards"||i.memoizedProps.revealOrder==="backwards"||i.memoizedProps.revealOrder==="unstable_legacy-backwards"||i.memoizedProps.revealOrder==="together")){if((i.flags&128)!==0)return i}else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===a)break;for(;i.sibling===null;){if(i.return===null||i.return===a)return null;i=i.return}i.sibling.return=i.return,i=i.sibling}return null}var ja=0,Ne=null,Je=null,St=null,Yc=!1,ps=!1,vi=!1,Jc=0,Uo=0,ms=null,YA=0;function ft(){throw Error(r(321))}function Cf(a,i){if(i===null)return!1;for(var l=0;l<i.length&&l<a.length;l++)if(!gn(a[l],i[l]))return!1;return!0}function Af(a,i,l,d,m,g){return ja=g,Ne=i,i.memoizedState=null,i.updateQueue=null,i.lanes=0,M.H=a===null||a.memoizedState===null?Kv:Kf,vi=!1,g=l(d,m),vi=!1,ps&&(g=lv(i,l,d,m)),ov(a),g}function ov(a){M.H=Fo;var i=Je!==null&&Je.next!==null;if(ja=0,St=Je=Ne=null,Yc=!1,Uo=0,ms=null,i)throw Error(r(300));a===null||kt||(a=a.dependencies,a!==null&&zc(a)&&(kt=!0))}function lv(a,i,l,d){Ne=a;var m=0;do{if(ps&&(ms=null),Uo=0,ps=!1,25<=m)throw Error(r(301));if(m+=1,St=Je=null,a.updateQueue!=null){var g=a.updateQueue;g.lastEffect=null,g.events=null,g.stores=null,g.memoCache!=null&&(g.memoCache.index=0)}M.H=Vv,g=i(l,d)}while(ps);return g}function JA(){var a=M.H,i=a.useState()[0];return i=typeof i.then=="function"?Ko(i):i,a=a.useState()[0],(Je!==null?Je.memoizedState:null)!==a&&(Ne.flags|=1024),i}function Tf(){var a=Jc!==0;return Jc=0,a}function Of(a,i,l){i.updateQueue=a.updateQueue,i.flags&=-2053,a.lanes&=~l}function Nf(a){if(Yc){for(a=a.memoizedState;a!==null;){var i=a.queue;i!==null&&(i.pending=null),a=a.next}Yc=!1}ja=0,St=Je=Ne=null,ps=!1,Uo=Jc=0,ms=null}function Jt(){var a={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return St===null?Ne.memoizedState=St=a:St=St.next=a,St}function gt(){if(Je===null){var a=Ne.alternate;a=a!==null?a.memoizedState:null}else a=Je.next;var i=St===null?Ne.memoizedState:St.next;if(i!==null)St=i,Je=a;else{if(a===null)throw Ne.alternate===null?Error(r(467)):Error(r(310));Je=a,a={memoizedState:Je.memoizedState,baseState:Je.baseState,baseQueue:Je.baseQueue,queue:Je.queue,next:null},St===null?Ne.memoizedState=St=a:St=St.next=a}return St}function Qc(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Ko(a){var i=Uo;return Uo+=1,ms===null&&(ms=[]),a=Xb(ms,a,i),i=Ne,(St===null?i.memoizedState:St.next)===null&&(i=i.alternate,M.H=i===null||i.memoizedState===null?Kv:Kf),a}function Xc(a){if(a!==null&&typeof a=="object"){if(typeof a.then=="function")return Ko(a);if(a.$$typeof===C)return $t(a)}throw Error(r(438,String(a)))}function Df(a){var i=null,l=Ne.updateQueue;if(l!==null&&(i=l.memoCache),i==null){var d=Ne.alternate;d!==null&&(d=d.updateQueue,d!==null&&(d=d.memoCache,d!=null&&(i={data:d.data.map(function(m){return m.slice()}),index:0})))}if(i==null&&(i={data:[],index:0}),l===null&&(l=Qc(),Ne.updateQueue=l),l.memoCache=i,l=i.data[i.index],l===void 0)for(l=i.data[i.index]=Array(a),d=0;d<a;d++)l[d]=re;return i.index++,l}function La(a,i){return typeof i=="function"?i(a):i}function Zc(a){var i=gt();return If(i,Je,a)}function If(a,i,l){var d=a.queue;if(d===null)throw Error(r(311));d.lastRenderedReducer=l;var m=a.baseQueue,g=d.pending;if(g!==null){if(m!==null){var S=m.next;m.next=g.next,g.next=S}i.baseQueue=m=g,d.pending=null}if(g=a.baseState,m===null)a.memoizedState=g;else{i=m.next;var R=S=null,j=null,F=i,X=!1;do{var ae=F.lane&-536870913;if(ae!==F.lane?($e&ae)===ae:(ja&ae)===ae){var q=F.revertLane;if(q===0)j!==null&&(j=j.next={lane:0,revertLane:0,gesture:null,action:F.action,hasEagerState:F.hasEagerState,eagerState:F.eagerState,next:null}),ae===cs&&(X=!0);else if((ja&q)===q){F=F.next,q===cs&&(X=!0);continue}else ae={lane:0,revertLane:F.revertLane,gesture:null,action:F.action,hasEagerState:F.hasEagerState,eagerState:F.eagerState,next:null},j===null?(R=j=ae,S=g):j=j.next=ae,Ne.lanes|=q,Er|=q;ae=F.action,vi&&l(g,ae),g=F.hasEagerState?F.eagerState:l(g,ae)}else q={lane:ae,revertLane:F.revertLane,gesture:F.gesture,action:F.action,hasEagerState:F.hasEagerState,eagerState:F.eagerState,next:null},j===null?(R=j=q,S=g):j=j.next=q,Ne.lanes|=ae,Er|=ae;F=F.next}while(F!==null&&F!==i);if(j===null?S=g:j.next=R,!gn(g,a.memoizedState)&&(kt=!0,X&&(l=us,l!==null)))throw l;a.memoizedState=g,a.baseState=S,a.baseQueue=j,d.lastRenderedState=g}return m===null&&(d.lanes=0),[a.memoizedState,d.dispatch]}function Pf(a){var i=gt(),l=i.queue;if(l===null)throw Error(r(311));l.lastRenderedReducer=a;var d=l.dispatch,m=l.pending,g=i.memoizedState;if(m!==null){l.pending=null;var S=m=m.next;do g=a(g,S.action),S=S.next;while(S!==m);gn(g,i.memoizedState)||(kt=!0),i.memoizedState=g,i.baseQueue===null&&(i.baseState=g),l.lastRenderedState=g}return[g,d]}function cv(a,i,l){var d=Ne,m=gt(),g=He;if(g){if(l===void 0)throw Error(r(407));l=l()}else l=i();var S=!gn((Je||m).memoizedState,l);if(S&&(m.memoizedState=l,kt=!0),m=m.queue,Mf(hv.bind(null,d,m,a),[a]),m.getSnapshot!==i||S||St!==null&&St.memoizedState.tag&1){if(d.flags|=2048,ys(9,{destroy:void 0},dv.bind(null,d,m,l,i),null),nt===null)throw Error(r(349));g||(ja&127)!==0||uv(d,i,l)}return l}function uv(a,i,l){a.flags|=16384,a={getSnapshot:i,value:l},i=Ne.updateQueue,i===null?(i=Qc(),Ne.updateQueue=i,i.stores=[a]):(l=i.stores,l===null?i.stores=[a]:l.push(a))}function dv(a,i,l,d){i.value=l,i.getSnapshot=d,fv(i)&&pv(a)}function hv(a,i,l){return l(function(){fv(i)&&pv(a)})}function fv(a){var i=a.getSnapshot;a=a.value;try{var l=i();return!gn(a,l)}catch{return!0}}function pv(a){var i=ui(a,2);i!==null&&ln(i,a,2)}function jf(a){var i=Jt();if(typeof a=="function"){var l=a;if(a=l(),vi){en(!0);try{l()}finally{en(!1)}}}return i.memoizedState=i.baseState=a,i.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:La,lastRenderedState:a},i}function mv(a,i,l,d){return a.baseState=l,If(a,Je,typeof d=="function"?d:La)}function QA(a,i,l,d,m){if(nu(a))throw Error(r(485));if(a=i.action,a!==null){var g={payload:m,action:a,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(S){g.listeners.push(S)}};M.T!==null?l(!0):g.isTransition=!1,d(g),l=i.pending,l===null?(g.next=i.pending=g,yv(i,g)):(g.next=l.next,i.pending=l.next=g)}}function yv(a,i){var l=i.action,d=i.payload,m=a.state;if(i.isTransition){var g=M.T,S={};M.T=S;try{var R=l(m,d),j=M.S;j!==null&&j(S,R),gv(a,i,R)}catch(F){Lf(a,i,F)}finally{g!==null&&S.types!==null&&(g.types=S.types),M.T=g}}
vendor: 7,244 bytes, line 9
9else try{g=l(m,d),gv(a,i,g)}catch(F){Lf(a,i,F)}}function gv(a,i,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(d){bv(a,i,d)},function(d){return Lf(a,i,d)}):bv(a,i,l)}function bv(a,i,l){i.status="fulfilled",i.value=l,vv(i),a.state=l,i=a.pending,i!==null&&(l=i.next,l===i?a.pending=null:(l=l.next,i.next=l,yv(a,l)))}function Lf(a,i,l){var d=a.pending;if(a.pending=null,d!==null){d=d.next;do i.status="rejected",i.reason=l,vv(i),i=i.next;while(i!==d)}a.action=null}function vv(a){a=a.listeners;for(var i=0;i<a.length;i++)(0,a[i])()}function wv(a,i){return i}function Sv(a,i){if(He){var l=nt.formState;if(l!==null){e:{var d=Ne;if(He){if(lt){t:{for(var m=lt,g=Mn;m.nodeType!==8;){if(!g){m=null;break t}if(m=$n(m.nextSibling),m===null){m=null;break t}}g=m.data,m=g==="F!"||g==="F"?m:null}if(m){lt=$n(m.nextSibling),d=m.data==="F!";break e}}yr(d)}d=!1}d&&(i=l[0])}}return l=Jt(),l.memoizedState=l.baseState=i,d={pending:null,lanes:0,dispatch:null,lastRenderedReducer:wv,lastRenderedState:i},l.queue=d,l=zv.bind(null,Ne,d),d.dispatch=l,d=jf(!1),g=Uf.bind(null,Ne,!1,d.queue),d=Jt(),m={state:i,dispatch:null,action:a,pending:null},d.queue=m,l=QA.bind(null,Ne,m,g,l),m.dispatch=l,d.memoizedState=a,[i,l,!1]}function kv(a){var i=gt();return _v(i,Je,a)}function _v(a,i,l){if(i=If(a,i,wv)[0],a=Zc(La)[0],typeof i=="object"&&i!==null&&typeof i.then=="function")try{var d=Ko(i)}catch(S){throw S===ds?Kc:S}else d=i;i=gt();var m=i.queue,g=m.dispatch;return l!==i.memoizedState&&(Ne.flags|=2048,ys(9,{destroy:void 0},XA.bind(null,m,l),null)),[d,g,a]}function XA(a,i){a.action=i}function xv(a){var i=gt(),l=Je;if(l!==null)return _v(i,l,a);gt(),i=i.memoizedState,l=gt();var d=l.queue.dispatch;return l.memoizedState=a,[i,d,!1]}function ys(a,i,l,d){return a={tag:a,create:l,deps:d,inst:i,next:null},i=Ne.updateQueue,i===null&&(i=Qc(),Ne.updateQueue=i),l=i.lastEffect,l===null?i.lastEffect=a.next=a:(d=l.next,l.next=a,a.next=d,i.lastEffect=a),a}function Ev(){return gt().memoizedState}function eu(a,i,l,d){var m=Jt();Ne.flags|=a,m.memoizedState=ys(1|i,{destroy:void 0},l,d===void 0?null:d)}function tu(a,i,l,d){var m=gt();d=d===void 0?null:d;var g=m.memoizedState.inst;Je!==null&&d!==null&&Cf(d,Je.memoizedState.deps)?m.memoizedState=ys(i,g,l,d):(Ne.flags|=a,m.memoizedState=ys(1|i,g,l,d))}function Rv(a,i){eu(8390656,8,a,i)}function Mf(a,i){tu(2048,8,a,i)}function ZA(a){Ne.flags|=4;var i=Ne.updateQueue;if(i===null)i=Qc(),Ne.updateQueue=i,i.events=[a];else{var l=i.events;l===null?i.events=[a]:l.push(a)}}function Cv(a){var i=gt().memoizedState;return ZA({ref:i,nextImpl:a}),function(){if((Fe&2)!==0)throw Error(r(440));return i.impl.apply(void 0,arguments)}}function Av(a,i){return tu(4,2,a,i)}function Tv(a,i){return tu(4,4,a,i)}function Ov(a,i){if(typeof i=="function"){a=a();var l=i(a);return function(){typeof l=="function"?l():i(null)}}if(i!=null)return a=a(),i.current=a,function(){i.current=null}}function Nv(a,i,l){l=l!=null?l.concat([a]):null,tu(4,4,Ov.bind(null,i,a),l)}function Bf(){}function Dv(a,i){var l=gt();i=i===void 0?null:i;var d=l.memoizedState;return i!==null&&Cf(i,d[1])?d[0]:(l.memoizedState=[a,i],a)}function Iv(a,i){var l=gt();i=i===void 0?null:i;var d=l.memoizedState;if(i!==null&&Cf(i,d[1]))return d[0];if(d=a(),vi){en(!0);try{a()}finally{en(!1)}}return l.memoizedState=[d,i],d}function $f(a,i,l){return l===void 0||(ja&1073741824)!==0&&($e&261930)===0?a.memoizedState=i:(a.memoizedState=l,a=Pw(),Ne.lanes|=a,Er|=a,l)}function Pv(a,i,l,d){return gn(l,i)?l:fs.current!==null?(a=$f(a,l,d),gn(a,i)||(kt=!0),a):(ja&42)===0||(ja&1073741824)!==0&&($e&261930)===0?(kt=!0,a.memoizedState=l):(a=Pw(),Ne.lanes|=a,Er|=a,i)}function jv(a,i,l,d,m){var g=Q.p;Q.p=g!==0&&8>g?g:8;var S=M.T,R={};M.T=R,Uf(a,!1,i,l);try{var j=m(),F=M.S;if(F!==null&&F(R,j),j!==null&&typeof j=="object"&&typeof j.then=="function"){var X=WA(j,d);Vo(a,i,X,_n(a))}else Vo(a,i,d,_n(a))}catch(ae){Vo(a,i,{then:function(){},status:"rejected",reason:ae},_n())}finally{Q.p=g,S!==null&&R.types!==null&&(S.types=R.types),M.T=S}}function eT(){}function zf(a,i,l,d){if(a.tag!==5)throw Error(r(476));var m=Lv(a).queue;jv(a,m,i,ie,l===null?eT:function(){return Mv(a),l(d)})}function Lv(a){var i=a.memoizedState;if(i!==null)return i;i={memoizedState:ie,baseState:ie,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:La,lastRenderedState:ie},next:null};var l={};return i.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:La,lastRenderedState:l},next:null},a.memoizedState=i,a=a.alternate,a!==null&&(a.memoizedState=i),i}function Mv(a){var i=Lv(a);i.next===null&&(i=a.alternate.memoizedState),Vo(a,i.next.queue,{},_n())}function Hf(){return $t(ol)}function Bv(){return gt().memoizedState}function $v(){return gt().memoizedState}function tT(a){for(var i=a.return;i!==null;){switch(i.tag){case 24:case 3:var l=_n();a=vr(l);var d=wr(i,a,l);d!==null&&(ln(d,i,l),$o(d,i,l)),i={cache:yf()},a.payload=i;return}i=i.return}}function nT(a,i,l){var d=_n();l={lane:d,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},nu(a)?Hv(i,l):(l=rf(a,i,l,d),l!==null&&(ln(l,a,d),Uv(l,i,d)))}function zv(a,i,l){var d=_n();Vo(a,i,l,d)}function Vo(a,i,l,d){var m={lane:d,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(nu(a))Hv(i,m);else{var g=a.alternate;if(a.lanes===0&&(g===null||g.lanes===0)&&(g=i.lastRenderedReducer,g!==null))try{var S=i.lastRenderedState,R=g(S,l);if(m.hasEagerState=!0,m.eagerState=R,gn(R,S))return Lc(a,i,m,0),nt===null&&jc(),!1}catch{}if(l=rf(a,i,m,d),l!==null)return ln(l,a,d),Uv(l,i,d),!0}return!1}function Uf(a,i,l,d){if(d={lane:2,revertLane:wp(),gesture:null,action:d,hasEagerState:!1,eagerState:null,next:null},nu(a)){if(i)throw Error(r(479))}else i=rf(a,l,d,2),i!==null&&ln(i,a,2)}function nu(a){var i=a.alternate;return a===Ne||i!==null&&i===Ne}function Hv(a,i){ps=Yc=!0;var l=a.pending;l===null?i.next=i:(i.next=l.next,l.next=i),a.pending=i}function Uv(a,i,l){if((l&4194048)!==0){var d=i.lanes;d&=a.pendingLanes,l|=d,i.lanes=l,Gg(a,l)}}var Fo={readContext:$t,use:Xc,useCallback:ft,useContext:ft,useEffect:ft,useImperativeHandle:ft,useLayoutEffect:ft,useInsertionEffect:ft,useMemo:ft,useReducer:ft,useRef:ft,useState:ft,useDebugValue:ft,useDeferredValue:ft,useTransition:ft,useSyncExternalStore:ft,useId:ft,useHostTransitionStatus:ft,useFormState:ft,useActionState:ft,useOptimistic:ft,useMemoCache:ft,useCacheRefresh:ft};Fo.useEffectEvent=ft;var Kv={readContext:$t,use:Xc,useCallback:function(a,i){return Jt().memoizedState=[a,i===void 0?null:i],a},useContext:$t,useEffect:Rv,useImperativeHandle:function(a,i,l){l=l!=null?l.concat([a]):null,eu(4194308,4,Ov.bind(null,i,a),l)},useLayoutEffect:function(a,i){return eu(4194308,4,a,i)},useInsertionEffect:function(a,i){eu(4,2,a,i)},useMemo:function(a,i){var l=Jt();i=i===void 0?null:i;var d=a();if(vi){en(!0);try{a()}finally{en(!1)}}return l.memoizedState=[d,i],d},useReducer:function(a,i,l){var d=Jt();if(l!==void 0){var m=l(i);if(vi){en(!0);try{l(i)}finally{en(!1)}}}else m=i;return d.memoizedState=d.baseState=m,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:m},d.queue=a,a=a.dispatch=nT.bind(null,Ne,a),[d.memoizedState,a]}
vendor: 7,898 bytes, line 9
9,useRef:function(a){var i=Jt();return a={current:a},i.memoizedState=a},useState:function(a){a=jf(a);var i=a.queue,l=zv.bind(null,Ne,i);return i.dispatch=l,[a.memoizedState,l]},useDebugValue:Bf,useDeferredValue:function(a,i){var l=Jt();return $f(l,a,i)},useTransition:function(){var a=jf(!1);return a=jv.bind(null,Ne,a.queue,!0,!1),Jt().memoizedState=a,[!1,a]},useSyncExternalStore:function(a,i,l){var d=Ne,m=Jt();if(He){if(l===void 0)throw Error(r(407));l=l()}else{if(l=i(),nt===null)throw Error(r(349));($e&127)!==0||uv(d,i,l)}m.memoizedState=l;var g={value:l,getSnapshot:i};return m.queue=g,Rv(hv.bind(null,d,g,a),[a]),d.flags|=2048,ys(9,{destroy:void 0},dv.bind(null,d,g,l,i),null),l},useId:function(){var a=Jt(),i=nt.identifierPrefix;if(He){var l=ca,d=la;l=(d&~(1<<32-tt(d)-1)).toString(32)+l,i="_"+i+"R_"+l,l=Jc++,0<l&&(i+="H"+l.toString(32)),i+="_"}else l=YA++,i="_"+i+"r_"+l.toString(32)+"_";return a.memoizedState=i},useHostTransitionStatus:Hf,useFormState:Sv,useActionState:Sv,useOptimistic:function(a){var i=Jt();i.memoizedState=i.baseState=a;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return i.queue=l,i=Uf.bind(null,Ne,!0,l),l.dispatch=i,[a,i]},useMemoCache:Df,useCacheRefresh:function(){return Jt().memoizedState=tT.bind(null,Ne)},useEffectEvent:function(a){var i=Jt(),l={impl:a};return i.memoizedState=l,function(){if((Fe&2)!==0)throw Error(r(440));return l.impl.apply(void 0,arguments)}}},Kf={readContext:$t,use:Xc,useCallback:Dv,useContext:$t,useEffect:Mf,useImperativeHandle:Nv,useInsertionEffect:Av,useLayoutEffect:Tv,useMemo:Iv,useReducer:Zc,useRef:Ev,useState:function(){return Zc(La)},useDebugValue:Bf,useDeferredValue:function(a,i){var l=gt();return Pv(l,Je.memoizedState,a,i)},useTransition:function(){var a=Zc(La)[0],i=gt().memoizedState;return[typeof a=="boolean"?a:Ko(a),i]},useSyncExternalStore:cv,useId:Bv,useHostTransitionStatus:Hf,useFormState:kv,useActionState:kv,useOptimistic:function(a,i){var l=gt();return mv(l,Je,a,i)},useMemoCache:Df,useCacheRefresh:$v};Kf.useEffectEvent=Cv;var Vv={readContext:$t,use:Xc,useCallback:Dv,useContext:$t,useEffect:Mf,useImperativeHandle:Nv,useInsertionEffect:Av,useLayoutEffect:Tv,useMemo:Iv,useReducer:Pf,useRef:Ev,useState:function(){return Pf(La)},useDebugValue:Bf,useDeferredValue:function(a,i){var l=gt();return Je===null?$f(l,a,i):Pv(l,Je.memoizedState,a,i)},useTransition:function(){var a=Pf(La)[0],i=gt().memoizedState;return[typeof a=="boolean"?a:Ko(a),i]},useSyncExternalStore:cv,useId:Bv,useHostTransitionStatus:Hf,useFormState:xv,useActionState:xv,useOptimistic:function(a,i){var l=gt();return Je!==null?mv(l,Je,a,i):(l.baseState=a,[a,l.queue.dispatch])},useMemoCache:Df,useCacheRefresh:$v};Vv.useEffectEvent=Cv;function Vf(a,i,l,d){i=a.memoizedState,l=l(d,i),l=l==null?i:y({},i,l),a.memoizedState=l,a.lanes===0&&(a.updateQueue.baseState=l)}var Ff={enqueueSetState:function(a,i,l){a=a._reactInternals;var d=_n(),m=vr(d);m.payload=i,l!=null&&(m.callback=l),i=wr(a,m,d),i!==null&&(ln(i,a,d),$o(i,a,d))},enqueueReplaceState:function(a,i,l){a=a._reactInternals;var d=_n(),m=vr(d);m.tag=1,m.payload=i,l!=null&&(m.callback=l),i=wr(a,m,d),i!==null&&(ln(i,a,d),$o(i,a,d))},enqueueForceUpdate:function(a,i){a=a._reactInternals;var l=_n(),d=vr(l);d.tag=2,i!=null&&(d.callback=i),i=wr(a,d,l),i!==null&&(ln(i,a,l),$o(i,a,l))}};function Fv(a,i,l,d,m,g,S){return a=a.stateNode,typeof a.shouldComponentUpdate=="function"?a.shouldComponentUpdate(d,g,S):i.prototype&&i.prototype.isPureReactComponent?!No(l,d)||!No(m,g):!0}function qv(a,i,l,d){a=i.state,typeof i.componentWillReceiveProps=="function"&&i.componentWillReceiveProps(l,d),typeof i.UNSAFE_componentWillReceiveProps=="function"&&i.UNSAFE_componentWillReceiveProps(l,d),i.state!==a&&Ff.enqueueReplaceState(i,i.state,null)}function wi(a,i){var l=i;if("ref"in i){l={};for(var d in i)d!=="ref"&&(l[d]=i[d])}if(a=a.defaultProps){l===i&&(l=y({},l));for(var m in a)l[m]===void 0&&(l[m]=a[m])}return l}function Gv(a){Pc(a)}function Wv(a){console.error(a)}function Yv(a){Pc(a)}function au(a,i){try{var l=a.onUncaughtError;l(i.value,{componentStack:i.stack})}catch(d){setTimeout(function(){throw d})}}function Jv(a,i,l){try{var d=a.onCaughtError;d(l.value,{componentStack:l.stack,errorBoundary:i.tag===1?i.stateNode:null})}catch(m){setTimeout(function(){throw m})}}function qf(a,i,l){return l=vr(l),l.tag=3,l.payload={element:null},l.callback=function(){au(a,i)},l}function Qv(a){return a=vr(a),a.tag=3,a}function Xv(a,i,l,d){var m=l.type.getDerivedStateFromError;if(typeof m=="function"){var g=d.value;a.payload=function(){return m(g)},a.callback=function(){Jv(i,l,d)}}var S=l.stateNode;S!==null&&typeof S.componentDidCatch=="function"&&(a.callback=function(){Jv(i,l,d),typeof m!="function"&&(Rr===null?Rr=new Set([this]):Rr.add(this));var R=d.stack;this.componentDidCatch(d.value,{componentStack:R!==null?R:""})})}function aT(a,i,l,d,m){if(l.flags|=32768,d!==null&&typeof d=="object"&&typeof d.then=="function"){if(i=l.alternate,i!==null&&ls(i,l,m,!0),l=vn.current,l!==null){switch(l.tag){case 31:case 13:return Bn===null?mu():l.alternate===null&&pt===0&&(pt=3),l.flags&=-257,l.flags|=65536,l.lanes=m,d===Vc?l.flags|=16384:(i=l.updateQueue,i===null?l.updateQueue=new Set([d]):i.add(d),gp(a,d,m)),!1;case 22:return l.flags|=65536,d===Vc?l.flags|=16384:(i=l.updateQueue,i===null?(i={transitions:null,markerInstances:null,retryQueue:new Set([d])},l.updateQueue=i):(l=i.retryQueue,l===null?i.retryQueue=new Set([d]):l.add(d)),gp(a,d,m)),!1}throw Error(r(435,l.tag))}return gp(a,d,m),mu(),!1}if(He)return i=vn.current,i!==null?((i.flags&65536)===0&&(i.flags|=256),i.flags|=65536,i.lanes=m,d!==df&&(a=Error(r(422),{cause:d}),Po(Pn(a,l)))):(d!==df&&(i=Error(r(423),{cause:d}),Po(Pn(i,l))),a=a.current.alternate,a.flags|=65536,m&=-m,a.lanes|=m,d=Pn(d,l),m=qf(a.stateNode,d,m),kf(a,m),pt!==4&&(pt=2)),!1;var g=Error(r(520),{cause:d});if(g=Pn(g,l),Zo===null?Zo=[g]:Zo.push(g),pt!==4&&(pt=2),i===null)return!0;d=Pn(d,l),l=i;do{switch(l.tag){case 3:return l.flags|=65536,a=m&-m,l.lanes|=a,a=qf(l.stateNode,d,a),kf(l,a),!1;case 1:if(i=l.type,g=l.stateNode,(l.flags&128)===0&&(typeof i.getDerivedStateFromError=="function"||g!==null&&typeof g.componentDidCatch=="function"&&(Rr===null||!Rr.has(g))))return l.flags|=65536,m&=-m,l.lanes|=m,m=Qv(m),Xv(m,a,l,d),kf(l,m),!1}l=l.return}while(l!==null);return!1}var Gf=Error(r(461)),kt=!1;function zt(a,i,l,d){i.child=a===null?nv(i,null,l,d):bi(i,a.child,l,d)}function Zv(a,i,l,d,m){l=l.render;var g=i.ref;if("ref"in d){var S={};for(var R in d)R!=="ref"&&(S[R]=d[R])}else S=d;return pi(i),d=Af(a,i,l,S,g,m),R=Tf(),a!==null&&!kt?(Of(a,i,m),Ma(a,i,m)):(He&&R&&cf(i),i.flags|=1,zt(a,i,d,m),i.child)}function ew(a,i,l,d,m){if(a===null){var g=l.type;return typeof g=="function"&&!sf(g)&&g.defaultProps===void 0&&l.compare===null?(i.tag=15,i.type=g,tw(a,i,g,d,m)):(a=Bc(l.type,null,d,i,i.mode,m),a.ref=i.ref,a.return=i,i.child=a)}if(g=a.child,!tp(a,m)){var S=g.memoizedProps;if(l=l.compare,l=l!==null?l:No,l(S,d)&&a.ref===i.ref)return Ma(a,i,m)}return i.flags|=1,a=Na(g,d),a.ref=i.ref,a.return=i,i.child=a}function tw(a,i,l,d,m){if(a!==null){var g=a.memoizedProps;if(No(g,d)&&a.ref===i.ref)if(kt=!1,i.pendingProps=d=g,tp(a,m))(a.flags&131072)!==0&&(kt=!0);else return i.lanes=a.lanes,Ma(a,i,m)}return Wf(a,i,l,d,m)}function nw(a,i,l,d){var m=d.children,g=a!==null?a.memoizedState:null;if(a===null&&i.stateNode===null&&(i.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),d.mode==="hidden"){if((i.flags&128)!==0){if(g=g!==null?g.baseLanes|l:l,a!==null){for(d=i.child=a.child,m=0;d!==null;)m=m|d.lanes|d.childLanes,d=d.sibling;d=m&~g}else d=0,i.child=null;return aw(a,i,g,l,d)}if((l&536870912)!==0)i.memoizedState={baseLanes:0,cachePool:null},a!==null&&Uc(i,g!==null?g.cachePool:null),g!==null?iv(i,g):xf(),sv(i);else return d=i.lanes=536870912,aw(a,i,g!==null?g.baseLanes|l:l,l,d)}
vendor: 7,729 bytes, line 9
9else g!==null?(Uc(i,g.cachePool),iv(i,g),kr(),i.memoizedState=null):(a!==null&&Uc(i,null),xf(),kr());return zt(a,i,m,l),i.child}function qo(a,i){return a!==null&&a.tag===22||i.stateNode!==null||(i.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),i.sibling}function aw(a,i,l,d,m){var g=bf();return g=g===null?null:{parent:wt._currentValue,pool:g},i.memoizedState={baseLanes:l,cachePool:g},a!==null&&Uc(i,null),xf(),sv(i),a!==null&&ls(a,i,d,!0),i.childLanes=m,null}function ru(a,i){return i=su({mode:i.mode,children:i.children},a.mode),i.ref=a.ref,a.child=i,i.return=a,i}function rw(a,i,l){return bi(i,a.child,null,l),a=ru(i,i.pendingProps),a.flags|=2,wn(i),i.memoizedState=null,a}function rT(a,i,l){var d=i.pendingProps,m=(i.flags&128)!==0;if(i.flags&=-129,a===null){if(He){if(d.mode==="hidden")return a=ru(i,d),i.lanes=536870912,qo(null,a);if(Rf(i),(a=lt)?(a=y0(a,Mn),a=a!==null&&a.data==="&"?a:null,a!==null&&(i.memoizedState={dehydrated:a,treeContext:pr!==null?{id:la,overflow:ca}:null,retryLane:536870912,hydrationErrors:null},l=Hb(a),l.return=i,i.child=l,Bt=i,lt=null)):a=null,a===null)throw yr(i);return i.lanes=536870912,null}return ru(i,d)}var g=a.memoizedState;if(g!==null){var S=g.dehydrated;if(Rf(i),m)if(i.flags&256)i.flags&=-257,i=rw(a,i,l);else if(i.memoizedState!==null)i.child=a.child,i.flags|=128,i=null;else throw Error(r(558));else if(kt||ls(a,i,l,!1),m=(l&a.childLanes)!==0,kt||m){if(d=nt,d!==null&&(S=Wg(d,l),S!==0&&S!==g.retryLane))throw g.retryLane=S,ui(a,S),ln(d,a,S),Gf;mu(),i=rw(a,i,l)}else a=g.treeContext,lt=$n(S.nextSibling),Bt=i,He=!0,mr=null,Mn=!1,a!==null&&Vb(i,a),i=ru(i,d),i.flags|=4096;return i}return a=Na(a.child,{mode:d.mode,children:d.children}),a.ref=i.ref,i.child=a,a.return=i,a}function iu(a,i){var l=i.ref;if(l===null)a!==null&&a.ref!==null&&(i.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error(r(284));(a===null||a.ref!==l)&&(i.flags|=4194816)}}function Wf(a,i,l,d,m){return pi(i),l=Af(a,i,l,d,void 0,m),d=Tf(),a!==null&&!kt?(Of(a,i,m),Ma(a,i,m)):(He&&d&&cf(i),i.flags|=1,zt(a,i,l,m),i.child)}function iw(a,i,l,d,m,g){return pi(i),i.updateQueue=null,l=lv(i,d,l,m),ov(a),d=Tf(),a!==null&&!kt?(Of(a,i,g),Ma(a,i,g)):(He&&d&&cf(i),i.flags|=1,zt(a,i,l,g),i.child)}function sw(a,i,l,d,m){if(pi(i),i.stateNode===null){var g=rs,S=l.contextType;typeof S=="object"&&S!==null&&(g=$t(S)),g=new l(d,g),i.memoizedState=g.state!==null&&g.state!==void 0?g.state:null,g.updater=Ff,i.stateNode=g,g._reactInternals=i,g=i.stateNode,g.props=d,g.state=i.memoizedState,g.refs={},wf(i),S=l.contextType,g.context=typeof S=="object"&&S!==null?$t(S):rs,g.state=i.memoizedState,S=l.getDerivedStateFromProps,typeof S=="function"&&(Vf(i,l,S,d),g.state=i.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof g.getSnapshotBeforeUpdate=="function"||typeof g.UNSAFE_componentWillMount!="function"&&typeof g.componentWillMount!="function"||(S=g.state,typeof g.componentWillMount=="function"&&g.componentWillMount(),typeof g.UNSAFE_componentWillMount=="function"&&g.UNSAFE_componentWillMount(),S!==g.state&&Ff.enqueueReplaceState(g,g.state,null),Ho(i,d,g,m),zo(),g.state=i.memoizedState),typeof g.componentDidMount=="function"&&(i.flags|=4194308),d=!0}else if(a===null){g=i.stateNode;var R=i.memoizedProps,j=wi(l,R);g.props=j;var F=g.context,X=l.contextType;S=rs,typeof X=="object"&&X!==null&&(S=$t(X));var ae=l.getDerivedStateFromProps;X=typeof ae=="function"||typeof g.getSnapshotBeforeUpdate=="function",R=i.pendingProps!==R,X||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(R||F!==S)&&qv(i,g,d,S),br=!1;var q=i.memoizedState;g.state=q,Ho(i,d,g,m),zo(),F=i.memoizedState,R||q!==F||br?(typeof ae=="function"&&(Vf(i,l,ae,d),F=i.memoizedState),(j=br||Fv(i,l,j,d,q,F,S))?(X||typeof g.UNSAFE_componentWillMount!="function"&&typeof g.componentWillMount!="function"||(typeof g.componentWillMount=="function"&&g.componentWillMount(),typeof g.UNSAFE_componentWillMount=="function"&&g.UNSAFE_componentWillMount()),typeof g.componentDidMount=="function"&&(i.flags|=4194308)):(typeof g.componentDidMount=="function"&&(i.flags|=4194308),i.memoizedProps=d,i.memoizedState=F),g.props=d,g.state=F,g.context=S,d=j):(typeof g.componentDidMount=="function"&&(i.flags|=4194308),d=!1)}else{g=i.stateNode,Sf(a,i),S=i.memoizedProps,X=wi(l,S),g.props=X,ae=i.pendingProps,q=g.context,F=l.contextType,j=rs,typeof F=="object"&&F!==null&&(j=$t(F)),R=l.getDerivedStateFromProps,(F=typeof R=="function"||typeof g.getSnapshotBeforeUpdate=="function")||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(S!==ae||q!==j)&&qv(i,g,d,j),br=!1,q=i.memoizedState,g.state=q,Ho(i,d,g,m),zo();var W=i.memoizedState;S!==ae||q!==W||br||a!==null&&a.dependencies!==null&&zc(a.dependencies)?(typeof R=="function"&&(Vf(i,l,R,d),W=i.memoizedState),(X=br||Fv(i,l,X,d,q,W,j)||a!==null&&a.dependencies!==null&&zc(a.dependencies))?(F||typeof g.UNSAFE_componentWillUpdate!="function"&&typeof g.componentWillUpdate!="function"||(typeof g.componentWillUpdate=="function"&&g.componentWillUpdate(d,W,j),typeof g.UNSAFE_componentWillUpdate=="function"&&g.UNSAFE_componentWillUpdate(d,W,j)),typeof g.componentDidUpdate=="function"&&(i.flags|=4),typeof g.getSnapshotBeforeUpdate=="function"&&(i.flags|=1024)):(typeof g.componentDidUpdate!="function"||S===a.memoizedProps&&q===a.memoizedState||(i.flags|=4),typeof g.getSnapshotBeforeUpdate!="function"||S===a.memoizedProps&&q===a.memoizedState||(i.flags|=1024),i.memoizedProps=d,i.memoizedState=W),g.props=d,g.state=W,g.context=j,d=X):(typeof g.componentDidUpdate!="function"||S===a.memoizedProps&&q===a.memoizedState||(i.flags|=4),typeof g.getSnapshotBeforeUpdate!="function"||S===a.memoizedProps&&q===a.memoizedState||(i.flags|=1024),d=!1)}return g=d,iu(a,i),d=(i.flags&128)!==0,g||d?(g=i.stateNode,l=d&&typeof l.getDerivedStateFromError!="function"?null:g.render(),i.flags|=1,a!==null&&d?(i.child=bi(i,a.child,null,m),i.child=bi(i,null,l,m)):zt(a,i,l,m),i.memoizedState=g.state,a=i.child):a=Ma(a,i,m),a}function ow(a,i,l,d){return hi(),i.flags|=256,zt(a,i,l,d),i.child}var Yf={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Jf(a){return{baseLanes:a,cachePool:Jb()}}function Qf(a,i,l){return a=a!==null?a.childLanes&~l:0,i&&(a|=kn),a}function lw(a,i,l){var d=i.pendingProps,m=!1,g=(i.flags&128)!==0,S;if((S=g)||(S=a!==null&&a.memoizedState===null?!1:(yt.current&2)!==0),S&&(m=!0,i.flags&=-129),S=(i.flags&32)!==0,i.flags&=-33,a===null){if(He){if(m?Sr(i):kr(),(a=lt)?(a=y0(a,Mn),a=a!==null&&a.data!=="&"?a:null,a!==null&&(i.memoizedState={dehydrated:a,treeContext:pr!==null?{id:la,overflow:ca}:null,retryLane:536870912,hydrationErrors:null},l=Hb(a),l.return=i,i.child=l,Bt=i,lt=null)):a=null,a===null)throw yr(i);return Ip(a)?i.lanes=32:i.lanes=536870912,null}var R=d.children;return d=d.fallback,m?(kr(),m=i.mode,R=su({mode:"hidden",children:R},m),d=di(d,m,l,null),R.return=i,d.return=i,R.sibling=d,i.child=R,d=i.child,d.memoizedState=Jf(l),d.childLanes=Qf(a,S,l),i.memoizedState=Yf,qo(null,d)):(Sr(i),Xf(i,R))}var j=a.memoizedState;if(j!==null&&(R=j.dehydrated,R!==null)){if(g)i.flags&256?(Sr(i),i.flags&=-257,i=Zf(a,i,l)):i.memoizedState!==null?(kr(),i.child=a.child,i.flags|=128,i=null):(kr(),R=d.fallback,m=i.mode,d=su({mode:"visible",children:d.children},m),R=di(R,m,l,null),R.flags|=2,d.return=i,R.return=i,d.sibling=R,i.child=d,bi(i,a.child,null,l),d=i.child,d.memoizedState=Jf(l),d.childLanes=Qf(a,S,l),i.memoizedState=Yf,i=qo(null,d));else if(Sr(i),Ip(R)){if(S=R.nextSibling&&R.nextSibling.dataset,S)var F=S.dgst;S=F,d=Error(r(419)),d.stack="",d.digest=S,Po({value:d,source:null,stack:null}),i=Zf(a,i,l)}
vendor: 5,861 bytes, line 9
9else if(kt||ls(a,i,l,!1),S=(l&a.childLanes)!==0,kt||S){if(S=nt,S!==null&&(d=Wg(S,l),d!==0&&d!==j.retryLane))throw j.retryLane=d,ui(a,d),ln(S,a,d),Gf;Dp(R)||mu(),i=Zf(a,i,l)}else Dp(R)?(i.flags|=192,i.child=a.child,i=null):(a=j.treeContext,lt=$n(R.nextSibling),Bt=i,He=!0,mr=null,Mn=!1,a!==null&&Vb(i,a),i=Xf(i,d.children),i.flags|=4096);return i}return m?(kr(),R=d.fallback,m=i.mode,j=a.child,F=j.sibling,d=Na(j,{mode:"hidden",children:d.children}),d.subtreeFlags=j.subtreeFlags&65011712,F!==null?R=Na(F,R):(R=di(R,m,l,null),R.flags|=2),R.return=i,d.return=i,d.sibling=R,i.child=d,qo(null,d),d=i.child,R=a.child.memoizedState,R===null?R=Jf(l):(m=R.cachePool,m!==null?(j=wt._currentValue,m=m.parent!==j?{parent:j,pool:j}:m):m=Jb(),R={baseLanes:R.baseLanes|l,cachePool:m}),d.memoizedState=R,d.childLanes=Qf(a,S,l),i.memoizedState=Yf,qo(a.child,d)):(Sr(i),l=a.child,a=l.sibling,l=Na(l,{mode:"visible",children:d.children}),l.return=i,l.sibling=null,a!==null&&(S=i.deletions,S===null?(i.deletions=[a],i.flags|=16):S.push(a)),i.child=l,i.memoizedState=null,l)}function Xf(a,i){return i=su({mode:"visible",children:i},a.mode),i.return=a,a.child=i}function su(a,i){return a=bn(22,a,null,i),a.lanes=0,a}function Zf(a,i,l){return bi(i,a.child,null,l),a=Xf(i,i.pendingProps.children),a.flags|=2,i.memoizedState=null,a}function cw(a,i,l){a.lanes|=i;var d=a.alternate;d!==null&&(d.lanes|=i),pf(a.return,i,l)}function ep(a,i,l,d,m,g){var S=a.memoizedState;S===null?a.memoizedState={isBackwards:i,rendering:null,renderingStartTime:0,last:d,tail:l,tailMode:m,treeForkCount:g}:(S.isBackwards=i,S.rendering=null,S.renderingStartTime=0,S.last=d,S.tail=l,S.tailMode=m,S.treeForkCount=g)}function uw(a,i,l){var d=i.pendingProps,m=d.revealOrder,g=d.tail;d=d.children;var S=yt.current,R=(S&2)!==0;if(R?(S=S&1|2,i.flags|=128):S&=1,O(yt,S),zt(a,i,d,l),d=He?Io:0,!R&&a!==null&&(a.flags&128)!==0)e:for(a=i.child;a!==null;){if(a.tag===13)a.memoizedState!==null&&cw(a,l,i);else if(a.tag===19)cw(a,l,i);else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===i)break e;for(;a.sibling===null;){if(a.return===null||a.return===i)break e;a=a.return}a.sibling.return=a.return,a=a.sibling}switch(m){case"forwards":for(l=i.child,m=null;l!==null;)a=l.alternate,a!==null&&Wc(a)===null&&(m=l),l=l.sibling;l=m,l===null?(m=i.child,i.child=null):(m=l.sibling,l.sibling=null),ep(i,!1,m,l,g,d);break;case"backwards":case"unstable_legacy-backwards":for(l=null,m=i.child,i.child=null;m!==null;){if(a=m.alternate,a!==null&&Wc(a)===null){i.child=m;break}a=m.sibling,m.sibling=l,l=m,m=a}ep(i,!0,l,null,g,d);break;case"together":ep(i,!1,null,null,void 0,d);break;default:i.memoizedState=null}return i.child}function Ma(a,i,l){if(a!==null&&(i.dependencies=a.dependencies),Er|=i.lanes,(l&i.childLanes)===0)if(a!==null){if(ls(a,i,l,!1),(l&i.childLanes)===0)return null}else return null;if(a!==null&&i.child!==a.child)throw Error(r(153));if(i.child!==null){for(a=i.child,l=Na(a,a.pendingProps),i.child=l,l.return=i;a.sibling!==null;)a=a.sibling,l=l.sibling=Na(a,a.pendingProps),l.return=i;l.sibling=null}return i.child}function tp(a,i){return(a.lanes&i)!==0?!0:(a=a.dependencies,!!(a!==null&&zc(a)))}function iT(a,i,l){switch(i.tag){case 3:Te(i,i.stateNode.containerInfo),gr(i,wt,a.memoizedState.cache),hi();break;case 27:case 5:ht(i);break;case 4:Te(i,i.stateNode.containerInfo);break;case 10:gr(i,i.type,i.memoizedProps.value);break;case 31:if(i.memoizedState!==null)return i.flags|=128,Rf(i),null;break;case 13:var d=i.memoizedState;if(d!==null)return d.dehydrated!==null?(Sr(i),i.flags|=128,null):(l&i.child.childLanes)!==0?lw(a,i,l):(Sr(i),a=Ma(a,i,l),a!==null?a.sibling:null);Sr(i);break;case 19:var m=(a.flags&128)!==0;if(d=(l&i.childLanes)!==0,d||(ls(a,i,l,!1),d=(l&i.childLanes)!==0),m){if(d)return uw(a,i,l);i.flags|=128}if(m=i.memoizedState,m!==null&&(m.rendering=null,m.tail=null,m.lastEffect=null),O(yt,yt.current),d)break;return null;case 22:return i.lanes=0,nw(a,i,l,i.pendingProps);case 24:gr(i,wt,a.memoizedState.cache)}return Ma(a,i,l)}function dw(a,i,l){if(a!==null)if(a.memoizedProps!==i.pendingProps)kt=!0;else{if(!tp(a,l)&&(i.flags&128)===0)return kt=!1,iT(a,i,l);kt=(a.flags&131072)!==0}else kt=!1,He&&(i.flags&1048576)!==0&&Kb(i,Io,i.index);switch(i.lanes=0,i.tag){case 16:e:{var d=i.pendingProps;if(a=yi(i.elementType),i.type=a,typeof a=="function")sf(a)?(d=wi(a,d),i.tag=1,i=sw(null,i,a,d,l)):(i.tag=0,i=Wf(null,i,a,d,l));else{if(a!=null){var m=a.$$typeof;if(m===P){i.tag=11,i=Zv(null,i,a,d,l);break e}else if(m===I){i.tag=14,i=ew(null,i,a,d,l);break e}}throw i=Z(a)||a,Error(r(306,i,""))}}return i;case 0:return Wf(a,i,i.type,i.pendingProps,l);case 1:return d=i.type,m=wi(d,i.pendingProps),sw(a,i,d,m,l);case 3:e:{if(Te(i,i.stateNode.containerInfo),a===null)throw Error(r(387));d=i.pendingProps;var g=i.memoizedState;m=g.element,Sf(a,i),Ho(i,d,null,l);var S=i.memoizedState;if(d=S.cache,gr(i,wt,d),d!==g.cache&&mf(i,[wt],l,!0),zo(),d=S.element,g.isDehydrated)if(g={element:d,isDehydrated:!1,cache:S.cache},i.updateQueue.baseState=g,i.memoizedState=g,i.flags&256){i=ow(a,i,d,l);break e}else if(d!==m){m=Pn(Error(r(424)),i),Po(m),i=ow(a,i,d,l);break e}else for(a=i.stateNode.containerInfo,a.nodeType===9?a=a.body:a=a.nodeName==="HTML"?a.ownerDocument.body:a,lt=$n(a.firstChild),Bt=i,He=!0,mr=null,Mn=!0,l=nv(i,null,d,l),i.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling;else{if(hi(),d===m){i=Ma(a,i,l);break e}zt(a,i,d,l)}i=i.child}return i;case 26:return iu(a,i),a===null?(l=k0(i.type,null,i.pendingProps,null))?i.memoizedState=l:He||(l=i.type,a=i.pendingProps,d=ku(fe.current).createElement(l),d[Mt]=i,d[tn]=a,Ht(d,l,a),It(d),i.stateNode=d):i.memoizedState=k0(i.type,a.memoizedProps,i.pendingProps,a.memoizedState),null;case 27:return ht(i),a===null&&He&&(d=i.stateNode=v0(i.type,i.pendingProps,fe.current),Bt=i,Mn=!0,m=lt,Or(i.type)?(Pp=m,lt=$n(d.firstChild)):lt=m),zt(a,i,i.pe
vendor: 4,629 bytes, line 9
9ndingProps.children,l),iu(a,i),a===null&&(i.flags|=4194304),i.child;case 5:return a===null&&He&&((m=d=lt)&&(d=jT(d,i.type,i.pendingProps,Mn),d!==null?(i.stateNode=d,Bt=i,lt=$n(d.firstChild),Mn=!1,m=!0):m=!1),m||yr(i)),ht(i),m=i.type,g=i.pendingProps,S=a!==null?a.memoizedProps:null,d=g.children,Tp(m,g)?d=null:S!==null&&Tp(m,S)&&(i.flags|=32),i.memoizedState!==null&&(m=Af(a,i,JA,null,null,l),ol._currentValue=m),iu(a,i),zt(a,i,d,l),i.child;case 6:return a===null&&He&&((a=l=lt)&&(l=LT(l,i.pendingProps,Mn),l!==null?(i.stateNode=l,Bt=i,lt=null,a=!0):a=!1),a||yr(i)),null;case 13:return lw(a,i,l);case 4:return Te(i,i.stateNode.containerInfo),d=i.pendingProps,a===null?i.child=bi(i,null,d,l):zt(a,i,d,l),i.child;case 11:return Zv(a,i,i.type,i.pendingProps,l);case 7:return zt(a,i,i.pendingProps,l),i.child;case 8:return zt(a,i,i.pendingProps.children,l),i.child;case 12:return zt(a,i,i.pendingProps.children,l),i.child;case 10:return d=i.pendingProps,gr(i,i.type,d.value),zt(a,i,d.children,l),i.child;case 9:return m=i.type._context,d=i.pendingProps.children,pi(i),m=$t(m),d=d(m),i.flags|=1,zt(a,i,d,l),i.child;case 14:return ew(a,i,i.type,i.pendingProps,l);case 15:return tw(a,i,i.type,i.pendingProps,l);case 19:return uw(a,i,l);case 31:return rT(a,i,l);case 22:return nw(a,i,l,i.pendingProps);case 24:return pi(i),d=$t(wt),a===null?(m=bf(),m===null&&(m=nt,g=yf(),m.pooledCache=g,g.refCount++,g!==null&&(m.pooledCacheLanes|=l),m=g),i.memoizedState={parent:d,cache:m},wf(i),gr(i,wt,m)):((a.lanes&l)!==0&&(Sf(a,i),Ho(i,null,null,l),zo()),m=a.memoizedState,g=i.memoizedState,m.parent!==d?(m={parent:d,cache:d},i.memoizedState=m,i.lanes===0&&(i.memoizedState=i.updateQueue.baseState=m),gr(i,wt,d)):(d=g.cache,gr(i,wt,d),d!==m.cache&&mf(i,[wt],l,!0))),zt(a,i,i.pendingProps.children,l),i.child;case 29:throw i.pendingProps}throw Error(r(156,i.tag))}function Ba(a){a.flags|=4}function np(a,i,l,d,m){if((i=(a.mode&32)!==0)&&(i=!1),i){if(a.flags|=16777216,(m&335544128)===m)if(a.stateNode.complete)a.flags|=8192;else if(Bw())a.flags|=8192;else throw gi=Vc,vf}else a.flags&=-16777217}function hw(a,i){if(i.type!=="stylesheet"||(i.state.loading&4)!==0)a.flags&=-16777217;else if(a.flags|=16777216,!C0(i))if(Bw())a.flags|=8192;else throw gi=Vc,vf}function ou(a,i){i!==null&&(a.flags|=4),a.flags&16384&&(i=a.tag!==22?Fg():536870912,a.lanes|=i,ws|=i)}function Go(a,i){if(!He)switch(a.tailMode){case"hidden":i=a.tail;for(var l=null;i!==null;)i.alternate!==null&&(l=i),i=i.sibling;l===null?a.tail=null:l.sibling=null;break;case"collapsed":l=a.tail;for(var d=null;l!==null;)l.alternate!==null&&(d=l),l=l.sibling;d===null?i||a.tail===null?a.tail=null:a.tail.sibling=null:d.sibling=null}}function ct(a){var i=a.alternate!==null&&a.alternate.child===a.child,l=0,d=0;if(i)for(var m=a.child;m!==null;)l|=m.lanes|m.childLanes,d|=m.subtreeFlags&65011712,d|=m.flags&65011712,m.return=a,m=m.sibling;else for(m=a.child;m!==null;)l|=m.lanes|m.childLanes,d|=m.subtreeFlags,d|=m.flags,m.return=a,m=m.sibling;return a.subtreeFlags|=d,a.childLanes=l,i}function sT(a,i,l){var d=i.pendingProps;switch(uf(i),i.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ct(i),null;case 1:return ct(i),null;case 3:return l=i.stateNode,d=null,a!==null&&(d=a.memoizedState.cache),i.memoizedState.cache!==d&&(i.flags|=2048),Pa(wt),xe(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(a===null||a.child===null)&&(os(i)?Ba(i):a===null||a.memoizedState.isDehydrated&&(i.flags&256)===0||(i.flags|=1024,hf())),ct(i),null;case 26:var m=i.type,g=i.memoizedState;return a===null?(Ba(i),g!==null?(ct(i),hw(i,g)):(ct(i),np(i,m,null,d,l))):g?g!==a.memoizedState?(Ba(i),ct(i),hw(i,g)):(ct(i),i.flags&=-16777217):(a=a.memoizedProps,a!==d&&Ba(i),ct(i),np(i,m,a,d,l)),null;case 27:if(Ct(i),l=fe.current,m=i.type,a!==null&&i.stateNode!=null)a.memoizedProps!==d&&Ba(i);else{if(!d){if(i.stateNode===null)throw Error(r(166));return ct(i),null}a=de.current,os(i)?Fb(i):(a=v0(m,d,l),i.stateNode=a,Ba(i))}return ct(i),null;case 5:if(Ct(i),m=i.type,a!==null&&i.stateNode!=null)a.memoizedProps!==d&&Ba(i);else{if(!d){if(i.stateNode===null)throw Error(r(166));return ct(i),null}if(g=de.current,os(i))Fb(i);else{var S=ku(fe.current);switch(g){case 1:g=S.createElementNS("http://www.w3.org/2000/svg",m);break;case 2:g=S.createElementNS("http://www.w3.org/1998/Math/MathML",m);break;default:switch(m){case"svg":g=S.createElementNS("http://www.w3.org/2000/svg",m);break;case"math":g=S.createElementNS("http://www.w3.org/1998/Math/MathML",m);break;case"script":g=S.createElement("div"),g.innerHTML="<script><\/script>",g=g.removeChild(g.firstChild);break;
vendor: 24,648 bytes, line 9
9case"select":g=typeof d.is=="string"?S.createElement("select",{is:d.is}):S.createElement("select"),d.multiple?g.multiple=!0:d.size&&(g.size=d.size);break;default:g=typeof d.is=="string"?S.createElement(m,{is:d.is}):S.createElement(m)}}g[Mt]=i,g[tn]=d;e:for(S=i.child;S!==null;){if(S.tag===5||S.tag===6)g.appendChild(S.stateNode);else if(S.tag!==4&&S.tag!==27&&S.child!==null){S.child.return=S,S=S.child;continue}if(S===i)break e;for(;S.sibling===null;){if(S.return===null||S.return===i)break e;S=S.return}S.sibling.return=S.return,S=S.sibling}i.stateNode=g;e:switch(Ht(g,m,d),m){case"button":case"input":case"select":case"textarea":d=!!d.autoFocus;break e;case"img":d=!0;break e;default:d=!1}d&&Ba(i)}}return ct(i),np(i,i.type,a===null?null:a.memoizedProps,i.pendingProps,l),null;case 6:if(a&&i.stateNode!=null)a.memoizedProps!==d&&Ba(i);else{if(typeof d!="string"&&i.stateNode===null)throw Error(r(166));if(a=fe.current,os(i)){if(a=i.stateNode,l=i.memoizedProps,d=null,m=Bt,m!==null)switch(m.tag){case 27:case 5:d=m.memoizedProps}a[Mt]=i,a=!!(a.nodeValue===l||d!==null&&d.suppressHydrationWarning===!0||l0(a.nodeValue,l)),a||yr(i,!0)}else a=ku(a).createTextNode(d),a[Mt]=i,i.stateNode=a}return ct(i),null;case 31:if(l=i.memoizedState,a===null||a.memoizedState!==null){if(d=os(i),l!==null){if(a===null){if(!d)throw Error(r(318));if(a=i.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(r(557));a[Mt]=i}else hi(),(i.flags&128)===0&&(i.memoizedState=null),i.flags|=4;ct(i),a=!1}else l=hf(),a!==null&&a.memoizedState!==null&&(a.memoizedState.hydrationErrors=l),a=!0;if(!a)return i.flags&256?(wn(i),i):(wn(i),null);if((i.flags&128)!==0)throw Error(r(558))}return ct(i),null;case 13:if(d=i.memoizedState,a===null||a.memoizedState!==null&&a.memoizedState.dehydrated!==null){if(m=os(i),d!==null&&d.dehydrated!==null){if(a===null){if(!m)throw Error(r(318));if(m=i.memoizedState,m=m!==null?m.dehydrated:null,!m)throw Error(r(317));m[Mt]=i}else hi(),(i.flags&128)===0&&(i.memoizedState=null),i.flags|=4;ct(i),m=!1}else m=hf(),a!==null&&a.memoizedState!==null&&(a.memoizedState.hydrationErrors=m),m=!0;if(!m)return i.flags&256?(wn(i),i):(wn(i),null)}return wn(i),(i.flags&128)!==0?(i.lanes=l,i):(l=d!==null,a=a!==null&&a.memoizedState!==null,l&&(d=i.child,m=null,d.alternate!==null&&d.alternate.memoizedState!==null&&d.alternate.memoizedState.cachePool!==null&&(m=d.alternate.memoizedState.cachePool.pool),g=null,d.memoizedState!==null&&d.memoizedState.cachePool!==null&&(g=d.memoizedState.cachePool.pool),g!==m&&(d.flags|=2048)),l!==a&&l&&(i.child.flags|=8192),ou(i,i.updateQueue),ct(i),null);case 4:return xe(),a===null&&xp(i.stateNode.containerInfo),ct(i),null;case 10:return Pa(i.type),ct(i),null;case 19:if(J(yt),d=i.memoizedState,d===null)return ct(i),null;if(m=(i.flags&128)!==0,g=d.rendering,g===null)if(m)Go(d,!1);else{if(pt!==0||a!==null&&(a.flags&128)!==0)for(a=i.child;a!==null;){if(g=Wc(a),g!==null){for(i.flags|=128,Go(d,!1),a=g.updateQueue,i.updateQueue=a,ou(i,a),i.subtreeFlags=0,a=l,l=i.child;l!==null;)zb(l,a),l=l.sibling;return O(yt,yt.current&1|2),He&&Da(i,d.treeForkCount),i.child}a=a.sibling}d.tail!==null&&Wt()>hu&&(i.flags|=128,m=!0,Go(d,!1),i.lanes=4194304)}else{if(!m)if(a=Wc(g),a!==null){if(i.flags|=128,m=!0,a=a.updateQueue,i.updateQueue=a,ou(i,a),Go(d,!0),d.tail===null&&d.tailMode==="hidden"&&!g.alternate&&!He)return ct(i),null}else 2*Wt()-d.renderingStartTime>hu&&l!==536870912&&(i.flags|=128,m=!0,Go(d,!1),i.lanes=4194304);d.isBackwards?(g.sibling=i.child,i.child=g):(a=d.last,a!==null?a.sibling=g:i.child=g,d.last=g)}return d.tail!==null?(a=d.tail,d.rendering=a,d.tail=a.sibling,d.renderingStartTime=Wt(),a.sibling=null,l=yt.current,O(yt,m?l&1|2:l&1),He&&Da(i,d.treeForkCount),a):(ct(i),null);case 22:case 23:return wn(i),Ef(),d=i.memoizedState!==null,a!==null?a.memoizedState!==null!==d&&(i.flags|=8192):d&&(i.flags|=8192),d?(l&536870912)!==0&&(i.flags&128)===0&&(ct(i),i.subtreeFlags&6&&(i.flags|=8192)):ct(i),l=i.updateQueue,l!==null&&ou(i,l.retryQueue),l=null,a!==null&&a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(l=a.memoizedState.cachePool.pool),d=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(d=i.memoizedState.cachePool.pool),d!==l&&(i.flags|=2048),a!==null&&J(mi),null;case 24:return l=null,a!==null&&(l=a.memoizedState.cache),i.memoizedState.cache!==l&&(i.flags|=2048),Pa(wt),ct(i),null;case 25:return null;case 30:return null}throw Error(r(156,i.tag))}function oT(a,i){switch(uf(i),i.tag){case 1:return a=i.flags,a&65536?(i.flags=a&-65537|128,i):null;case 3:return Pa(wt),xe(),a=i.flags,(a&65536)!==0&&(a&128)===0?(i.flags=a&-65537|128,i):null;case 26:case 27:case 5:return Ct(i),null;case 31:if(i.memoizedState!==null){if(wn(i),i.alternate===null)throw Error(r(340));hi()}return a=i.flags,a&65536?(i.flags=a&-65537|128,i):null;case 13:if(wn(i),a=i.memoizedState,a!==null&&a.dehydrated!==null){if(i.alternate===null)throw Error(r(340));hi()}return a=i.flags,a&65536?(i.flags=a&-65537|128,i):null;case 19:return J(yt),null;case 4:return xe(),null;case 10:return Pa(i.type),null;case 22:case 23:return wn(i),Ef(),a!==null&&J(mi),a=i.flags,a&65536?(i.flags=a&-65537|128,i):null;case 24:return Pa(wt),null;case 25:return null;default:return null}}function fw(a,i){switch(uf(i),i.tag){case 3:Pa(wt),xe();break;case 26:case 27:case 5:Ct(i);break;case 4:xe();break;case 31:i.memoizedState!==null&&wn(i);break;case 13:wn(i);break;case 19:J(yt);break;case 10:Pa(i.type);break;case 22:case 23:wn(i),Ef(),a!==null&&J(mi);break;case 24:Pa(wt)}}function Wo(a,i){try{var l=i.updateQueue,d=l!==null?l.lastEffect:null;if(d!==null){var m=d.next;l=m;do{if((l.tag&a)===a){d=void 0;var g=l.create,S=l.inst;d=g(),S.destroy=d}l=l.next}while(l!==m)}}catch(R){Ye(i,i.return,R)}}function _r(a,i,l){try{var d=i.updateQueue,m=d!==null?d.lastEffect:null;if(m!==null){var g=m.next;d=g;do{if((d.tag&a)===a){var S=d.inst,R=S.destroy;if(R!==void 0){S.destroy=void 0,m=i;var j=l,F=R;try{F()}catch(X){Ye(m,j,X)}}}d=d.next}while(d!==g)}}catch(X){Ye(i,i.return,X)}}function pw(a){var i=a.updateQueue;if(i!==null){var l=a.stateNode;try{rv(i,l)}catch(d){Ye(a,a.return,d)}}}function mw(a,i,l){l.props=wi(a.type,a.memoizedProps),l.state=a.memoizedState;try{l.componentWillUnmount()}catch(d){Ye(a,i,d)}}function Yo(a,i){try{var l=a.ref;if(l!==null){switch(a.tag){case 26:case 27:case 5:var d=a.stateNode;break;case 30:d=a.stateNode;break;default:d=a.stateNode}typeof l=="function"?a.refCleanup=l(d):l.current=d}}catch(m){Ye(a,i,m)}}function ua(a,i){var l=a.ref,d=a.refCleanup;if(l!==null)if(typeof d=="function")try{d()}catch(m){Ye(a,i,m)}finally{a.refCleanup=null,a=a.alternate,a!=null&&(a.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(m){Ye(a,i,m)}else l.current=null}function yw(a){var i=a.type,l=a.memoizedProps,d=a.stateNode;try{e:switch(i){case"button":case"input":case"select":case"textarea":l.autoFocus&&d.focus();break e;case"img":l.src?d.src=l.src:l.srcSet&&(d.srcset=l.srcSet)}}catch(m){Ye(a,a.return,m)}}function ap(a,i,l){try{var d=a.stateNode;TT(d,a.type,l,i),d[tn]=i}catch(m){Ye(a,a.return,m)}}function gw(a){return a.tag===5||a.tag===3||a.tag===26||a.tag===27&&Or(a.type)||a.tag===4}function rp(a){e:for(;;){for(;a.sibling===null;){if(a.return===null||gw(a.return))return null;a=a.return}for(a.sibling.return=a.return,a=a.sibling;a.tag!==5&&a.tag!==6&&a.tag!==18;){if(a.tag===27&&Or(a.type)||a.flags&2||a.child===null||a.tag===4)continue e;a.child.return=a,a=a.child}if(!(a.flags&2))return a.stateNode}}function ip(a,i,l){var d=a.tag;if(d===5||d===6)a=a.stateNode,i?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(a,i):(i=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,i.appendChild(a),l=l._reactRootContainer,l!=null||i.onclick!==null||(i.onclick=Ta));else if(d!==4&&(d===27&&Or(a.type)&&(l=a.stateNode,i=null),a=a.child,a!==null))for(ip(a,i,l),a=a.sibling;a!==null;)ip(a,i,l),a=a.sibling}function lu(a,i,l){var d=a.tag;if(d===5||d===6)a=a.stateNode,i?l.insertBefore(a,i):l.appendChild(a);else if(d!==4&&(d===27&&Or(a.type)&&(l=a.stateNode),a=a.child,a!==null))for(lu(a,i,l),a=a.sibling;a!==null;)lu(a,i,l),a=a.sibling}function bw(a){var i=a.stateNode,l=a.memoizedProps;try{for(var d=a.type,m=i.attributes;m.length;)i.removeAttributeNode(m[0]);Ht(i,d,l),i[Mt]=a,i[tn]=l}catch(g){Ye(a,a.return,g)}}var $a=!1,_t=!1,sp=!1,vw=typeof WeakSet=="function"?WeakSet:Set,Pt=null;function lT(a,i){if(a=a.containerInfo,Cp=Tu,a=Nb(a),Xh(a)){if("selectionStart"in a)var l={start:a.selectionStart,end:a.selectionEnd};else e:{l=(l=a.ownerDocument)&&l.defaultView||window;var d=l.getSelection&&l.getSelection();if(d&&d.rangeCount!==0){l=d.anchorNode;var m=d.anchorOffset,g=d.focusNode;d=d.focusOffset;try{l.nodeType,g.nodeType}catch{l=null;break e}var S=0,R=-1,j=-1,F=0,X=0,ae=a,q=null;t:for(;;){for(var W;ae!==l||m!==0&&ae.nodeType!==3||(R=S+m),ae!==g||d!==0&&ae.nodeType!==3||(j=S+d),ae.nodeType===3&&(S+=ae.nodeValue.length),(W=ae.firstChild)!==null;)q=ae,ae=W;for(;;){if(ae===a)break t;if(q===l&&++F===m&&(R=S),q===g&&++X===d&&(j=S),(W=ae.nextSibling)!==null)break;ae=q,q=ae.parentNode}ae=W}l=R===-1||j===-1?null:{start:R,end:j}}else l=null}l=l||{start:0,end:0}}else l=null;for(Ap={focusedElem:a,selectionRange:l},Tu=!1,Pt=i;Pt!==null;)if(i=Pt,a=i.child,(i.subtreeFlags&1028)!==0&&a!==null)a.return=i,Pt=a;else for(;Pt!==null;){switch(i=Pt,g=i.alternate,a=i.flags,i.tag){case 0:if((a&4)!==0&&(a=i.updateQueue,a=a!==null?a.events:null,a!==null))for(l=0;l<a.length;l++)m=a[l],m.ref.impl=m.nextImpl;break;case 11:case 15:break;case 1:if((a&1024)!==0&&g!==null){a=void 0,l=i,m=g.memoizedProps,g=g.memoizedState,d=l.stateNode;try{var ge=wi(l.type,m);a=d.getSnapshotBeforeUpdate(ge,g),d.__reactInternalSnapshotBeforeUpdate=a}catch(Ee){Ye(l,l.return,Ee)}}break;case 3:if((a&1024)!==0){if(a=i.stateNode.containerInfo,l=a.nodeType,l===9)Np(a);else if(l===1)switch(a.nodeName){case"HEAD":case"HTML":case"BODY":Np(a);break;default:a.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((a&1024)!==0)throw Error(r(163))}if(a=i.sibling,a!==null){a.return=i.return,Pt=a;break}Pt=i.return}}function ww(a,i,l){var d=l.flags;switch(l.tag){case 0:case 11:case 15:Ha(a,l),d&4&&Wo(5,l);break;case 1:if(Ha(a,l),d&4)if(a=l.stateNode,i===null)try{a.componentDidMount()}catch(S){Ye(l,l.return,S)}else{var m=wi(l.type,i.memoizedProps);i=i.memoizedState;try{a.componentDidUpdate(m,i,a.__reactInternalSnapshotBeforeUpdate)}catch(S){Ye(l,l.return,S)}}d&64&&pw(l),d&512&&Yo(l,l.return);break;case 3:if(Ha(a,l),d&64&&(a=l.updateQueue,a!==null)){if(i=null,l.child!==null)switch(l.child.tag){case 27:case 5:i=l.child.stateNode;break;case 1:i=l.child.stateNode}try{rv(a,i)}catch(S){Ye(l,l.return,S)}}break;case 27:i===null&&d&4&&bw(l);case 26:case 5:Ha(a,l),i===null&&d&4&&yw(l),d&512&&Yo(l,l.return);break;case 12:Ha(a,l);break;case 31:Ha(a,l),d&4&&_w(a,l);break;case 13:Ha(a,l),d&4&&xw(a,l),d&64&&(a=l.memoizedState,a!==null&&(a=a.dehydrated,a!==null&&(l=gT.bind(null,l),MT(a,l))));break;case 22:if(d=l.memoizedState!==null||$a,!d){i=i!==null&&i.memoizedState!==null||_t,m=$a;var g=_t;$a=d,(_t=i)&&!g?Ua(a,l,(l.subtreeFlags&8772)!==0):Ha(a,l),$a=m,_t=g}break;case 30:break;default:Ha(a,l)}}function Sw(a){var i=a.alternate;i!==null&&(a.alternate=null,Sw(i)),a.child=null,a.deletions=null,a.sibling=null,a.tag===5&&(i=a.stateNode,i!==null&&jh(i)),a.stateNode=null,a.return=null,a.dependencies=null,a.memoizedProps=null,a.memoizedState=null,a.pendingProps=null,a.stateNode=null,a.updateQueue=null}var ut=null,an=!1;function za(a,i,l){for(l=l.child;l!==null;)kw(a,i,l),l=l.sibling}function kw(a,i,l){if(At&&typeof At.onCommitFiberUnmount=="function")try{At.onCommitFiberUnmount(Yt,l)}catch{}switch(l.tag){case 26:_t||ua(l,i),za(a,i,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:_t||ua(l,i);var d=ut,m=an;Or(l.type)&&(ut=l.stateNode,an=!1),za(a,i,l),rl(l.stateNode),ut=d,an=m;break;case 5:_t||ua(l,i);case 6:if(d=ut,m=an,ut=null,za(a,i,l),ut=d,an=m,ut!==null)if(an)try{(ut.nodeType===9?ut.body:ut.nodeName==="HTML"?ut.ownerDocument.body:ut).removeChild(l.stateNode)}catch(g){Ye(l,i,g)}else try{ut.removeChild(l.stateNode)}catch(g){Ye(l,i,g)}break;case 18:ut!==null&&(an?(a=ut,p0(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,l.stateNode),As(a)):p0(ut,l.stateNode));break;case 4:d=ut,m=an,ut=l.stateNode.containerInfo,an=!0,za(a,i,l),ut=d,an=m;break;case 0:case 11:case 14:case 15:_r(2,l,i),_t||_r(4,l,i),za(a,i,l);break;case 1:_t||(ua(l,i),d=l.stateNode,typeof d.componentWillUnmount=="function"&&mw(l,i,d)),za(a,i,l);break;case 21:za(a,i,l);break;case 22:_t=(d=_t)||l.memoizedState!==null,za(a,i,l),_t=d;break;default:za(a,i,l)}}function _w(a,i){if(i.memoizedState===null&&(a=i.alternate,a!==null&&(a=a.memoizedState,a!==null))){a=a.dehydrated;try{As(a)}catch(l){Ye(i,i.return,l)}}}function xw(a,i){if(i.memoizedState===null&&(a=i.alternate,a!==null&&(a=a.memoizedState,a!==null&&(a=a.dehydrated,a!==null))))try{As(a)}catch(l){Ye(i,i.return,l)}}function cT(a){switch(a.tag){case 31:case 13:case 19:var i=a.stateNode;return i===null&&(i=a.stateNode=new vw),i;case 22:return a=a.stateNode,i=a._retryCache,i===null&&(i=a._retryCache=new vw),i;default:throw Error(r(435,a.tag))}}function cu(a,i){var l=cT(a);i.forEach(function(d){if(!l.has(d)){l.add(d);var m=bT.bind(null,a,d);d.then(m,m)}})}function rn(a,i){var l=i.deletions;if(l!==null)for(var d=0;d<l.length;d++){var m=l[d],g=a,S=i,R=S;e:for(;R!==null;){switch(R.tag){case 27:if(Or(R.type)){ut=R.stateNode,an=!1;break e}break;case 5:ut=R.stateNode,an=!1;break e;case 3:case 4:ut=R.stateNode.containerInfo,an=!0;break e}R=R.return}if(ut===null)throw Error(r(160));kw(g,S,m),ut=null,an=!1,g=m.alternate,g!==null&&(g.return=null),m.return=null}if(i.subtreeFlags&13886)for(i=i.child;i!==null;)Ew(i,a),i=i.sibling}var qn=null;function Ew(a,i){var l=a.alternate,d=a.flags;switch(a.tag){case 0:case 11:case 14:case 15:rn(i,a),sn(a),d&4&&(_r(3,a,a.return),Wo(3,a),_r(5,a,a.return));break;case 1:rn(i,a),sn(a),d&512&&(_t||l===null||ua(l,l.return)),d&64&&$a&&(a=a.updateQueue,a!==null&&(d=a.callbacks,d!==null&&(l=a.shared.hiddenCallbacks,a.shared.hiddenCallbacks=l===null?d:l.concat(d))));break;case 26:var m=qn;if(rn(i,a),sn(a),d&512&&(_t||l===null||ua(l,l.return)),d&4){var g=l!==null?l.memoizedState:null;if(d=a.memoizedState,l===null)if(d===null)if(a.stateNode===null){e:{d=a.type,l=a.memoizedProps,m=m.ownerDocument||m;t:switch(d){case"title":g=m.getElementsByTagName("title")[0],(!g||g[ko]||g[Mt]||g.namespaceURI==="http://www.w3.org/2000/svg"||g.hasAttribute("itemprop"))&&(g=m.createElement(d),m.head.insertBefore(g,m.querySelector("head > title"))),Ht(g,d,l),g[Mt]=a,It(g),d=g;break e;case"link":var S=E0("link","href",m).get(d+(l.href||""));if(S){for(var R=0;R<S.length;R++)if(g=S[R],g.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&g.getAttribute("rel")===(l.rel==null?null:l.rel)&&g.getAttribute("title")===(l.title==null?null:l.title)&&g.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){S.splice(R,1);break t}}g=m.createElement(d),Ht(g,d,l),m.head.appendChild(g);break;case"meta":if(S=E0("meta","content",m).get(d+(l.content||""))){for(R=0;R<S.length;R++)if(g=S[R],g.getAttribute("content")===(l.content==null?null:""+l.content)&&g.getAttribute("name")===(l.name==null?null:l.name)&&g.getAttribute("property")===(l.property==null?null:l.property)&&g.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&g.getAttribute("charset")===(l.charSet==null?null:l.charSet)){S.splice(R,1);break t}}g=m.createElement(d),Ht(g,d,l),m.head.appendChild(g);break;default:throw Error(r(468,d))}g[Mt]=a,It(g),d=g}a.stateNode=d}else R0(m,a.type,a.stateNode);else a.stateNode=x0(m,d,a.memoizedProps);else g!==d?(g===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):g.count--,d===null?R0(m,a.type,a.stateNode):x0(m,d,a.memoizedProps)):d===null&&a.stateNode!==null&&ap(a,a.memoizedProps,l.memoizedProps)}break;case 27:rn(i,a),sn(a),d&512&&(_t||l===null||ua(l,l.return)),l!==null&&d&4&&ap(a,a.memoizedProps,l.memoizedProps);break;case 5:if(rn(i,a),sn(a),d&512&&(_t||l===null||ua(l,l.return)),a.flags&32){m=a.stateNode;try{Qi(m,"")}catch(ge){Ye(a,a.return,ge)}}d&4&&a.stateNode!=null&&(m=a.memoizedProps,ap(a,m,l!==null?l.memoizedProps:m)),d&1024&&(sp=!0);break;case 6:if(rn(i,a),sn(a),d&4){if(a.stateNode===null)throw Error(r(162));d=a.memoizedProps,l=a.stateNode;try{l.nodeValue=d}catch(ge){Ye(a,a.return,ge)}}break;case 3:if(Eu=null,m=qn,qn=_u(i.containerInfo),rn(i,a),qn=m,sn(a),d&4&&l!==null&&l.memoizedState.isDehydrated)try{As(i.containerInfo)}catch(ge){Ye(a,a.return,ge)}sp&&(sp=!1,Rw(a));break;case 4:d=qn,qn=_u(a.stateNode.containerInfo),rn(i,a),sn(a),qn=d;break;case 12:rn(i,a),sn(a);break;case 31:rn(i,a),sn(a),d&4&&(d=a.updateQueue,d!==null&&(a.updateQueue=null,cu(a,d)));break;case 13:rn(i,a),sn(a),a.child.flags&8192&&a.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(du=Wt()),d&4&&(d=a.updateQueue,d!==null&&(a.updateQueue=null,cu(a,d)));break;case 22:m=a.memoizedState!==null;var j=l!==null&&l.memoizedState!==null,F=$a,X=_t;if($a=F||m,_t=X||j,rn(i,a),_t=X,$a=F,sn(a),d&8192)e:for(i=a.stateNode,i._visibility=m?i._visibility&-2:i._visibility|1,m&&(l===null||j||$a||_t||Si(a)),l=null,i=a;;){if(i.tag===5||i.tag===26){if(l===null){j=l=i;try{if(g=j.stateNode,m)S=g.style,typeof S.setProperty=="function"?S.setProperty("display","none","important"):S.display="none";else{R=j.stateNode;var ae=j.memoizedProps.style,q=ae!=null&&ae.hasOwnProperty("display")?ae.display:null;R.style.display=q==null||typeof q=="boolean"?"":(""+q).trim()}}catch(ge){Ye(j,j.return,ge)}}}else if(i.tag===6){if(l===null){j=i;try{j.stateNode.nodeValue=m?"":j.memoizedProps}catch(ge){Ye(j,j.return,ge)}}}else if(i.tag===18){if(l===null){j=i;try{var W=j.stateNode;m?m0(W,!0):m0(j.stateNode,!1)}catch(ge){Ye(j,j.return,ge)}}}else if((i.tag!==22&&i.tag!==23||i.memoizedState===null||i===a)&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===a)break e;for(;i.sibling===null;){if(i.return===null||i.return===a)break e;l===i&&(l=null),i=i.return}l===i&&(l=null),i.sibling.return=i.return,i=i.sibling}d&4&&(d=a.updateQueue,d!==null&&(l=d.retryQueue,l!==null&&(d.retryQueue=null,cu(a,l))));break;case 19:rn(i,a),sn(a),d&4&&(d=a.updateQueue,d!==null&&(a.updateQueue=null,cu(a,d)));break;case 30:break;case 21:break;default:rn(i,a),sn(a)}}function sn(a){var i=a.flags;if(i&2){try{for(var l,d=a.return;d!==null;){if(gw(d)){l=d;break}d=d.return}if(l==null)throw Error(r(160));switch(l.tag){case 27:var m=l.stateNode,g=rp(a);lu(a,g,m);break;case 5:var S=l.stateNode;l.flags&32&&(Qi(S,""),l.flags&=-33);var R=rp(a);lu(a,R,S);break;case 3:case 4:var j=l.stateNode.containerInfo,F=rp(a);ip(a,F,j);break;default:throw Error(r(161))}}catch(X){Ye(a,a.return,X)}a.flags&=-3}i&4096&&(a.flags&=-4097)}function Rw(a){if(a.subtreeFlags&1024)for(a=a.child;a!==null;){var i=a;Rw(i),i.tag===5&&i.flags&1024&&i.stateNode.reset(),a=a.sibling}}function Ha(a,i){if(i.subtreeFlags&8772)for(i=i.child;i!==null;)ww(a,i.alternate,i),i=i.sibling}function Si(a){for(a=a.child;a!==null;){var i=a;switch(i.tag){case 0:case 11:case 14:case 15:_r(4,i,i.return),Si(i);break;case 1:ua(i,i.return);var l=i.stateNode;typeof l.componentWillUnmount=="function"&&mw(i,i.return,l),Si(i);break;case 27:rl(i.stateNode);case 26:case 5:ua(i,i.return),Si(i);break;case 22:i.memoizedState===null&&Si(i);break;case 30:Si(i);break;default:Si(i)}a=a.sibling}}function Ua(a,i,l){for(l=l&&(i.subtreeFlags&8772)!==0,i=i.child;i!==null;){var d=i.alternate,m=a,g=i,S=g.flags;switch(g.tag){case 0:case 11:case 15:Ua(m,g,l),Wo(4,g);break;case 1:if(Ua(m,g,l),d=g,m=d.stateNode,typeof m.componentDidMount=="function")try{m.componentDidMount()}catch(F){Ye(d,d.return,F)}if(d=g,m=d.updateQueue,m!==null){var R=d.stateNode;try{var j=m.shared.hiddenCallbacks;if(j!==null)for(m.shared.hiddenCallbacks=null,m=0;m<j.length;m++)av(j[m],R)}catch(F){Ye(d,d.return,F)}}l&&S&64&&pw(g),Yo(g,g.return);break;case 27:bw(g);case 26:case 5:Ua(m,g,l),l&&d===null&&S&4&&yw(g),Yo(g,g.return);break;case 12:Ua(m,g,l);break;case 31:Ua(m,g,l),l&&S&4&&_w(m,g);break;case 13:Ua(m,g,l),l&&S&4&&xw(m,g);break;case 22:g.memoizedState===null&&Ua(m,g,l),Yo(g,g.return);break;case 30:break;default:Ua(m,g,l)}i=i.sibling}}function op(a,i){var l=null;a!==null&&a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(l=a.memoizedState.cachePool.pool),a=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(a=i.memoizedState.cachePool.pool),a!==l&&(a!=null&&a.refCount++,l!=null&&jo(l))}function lp(a,i){a=null,i.alternate!==null&&(a=i.alternate.memoizedState.cache),i=i.memoizedState.cache,i!==a&&(i.refCount++,a!=null&&jo(a))}function Gn(a,i,l,d){if(i.subtreeFlags&10256)for(i=i.child;i!==null;)Cw(a,i,l,d),i=i.sibling}function Cw(a,i,l,d){var m=i.flags;switch(i.tag){case 0:case 11:case 15:Gn(a,i,l,d),m&2048&&Wo(9,i);break;case 1:Gn(a,i,l,d);break;case 3:Gn(a,i,l,d),m&2048&&(a=null,i.alternate!==null&&(a=i.alternate.memoizedState.cache),i=i.memoizedState.cache,i!==a&&(i.refCount++,a!=null&&jo(a)));break;case 12:if(m&2048){Gn(a,i,l,d),a=i.stateNode;try{var g=i.memoizedProps,S=g.id,R=g.onPostCommit;typeof R=="function"&&R(S,i.alternate===null?"mount":"update",a.passiveEffectDuration,-0)}catch(j){Ye(i,i.return,j)}}else Gn(a,i,l,d);break;case 31:Gn(a,i,l,d);break;case 13:Gn(a,i,l,d);break;case 23:break;case 22:g=i.stateNode,S=i.alternate,i.memoizedState!==null?g._visibility&2?Gn(a,i,l,d):Jo(a,i):g._visibility&2?Gn(a,i,l,d):(g._visibility|=2,gs(a,i,l,d,(i.subtreeFlags&10256)!==0||!1)),m&2048&&op(S,i);break;case 24:Gn(a,i,l,d),m&2048&&lp(i.alternate,i);break;default:Gn(a,i,l,d)}}function gs(a,i,l,d,m){for(m=m&&((i.subtreeFlags&10256)!==0||!1),i=i.child;i!==null;){var g=a,S=i,R=l,j=d,F=S.flags;switch(S.tag){case 0:case 11:case 15:gs(g,S,R,j,m),Wo(8,S);break;case 23:break;case 22:var X=S.stateNode;S.memoizedState!==null?X._visibility&2?gs(g,S,R,j,m):Jo(g,S):(X._visibility|=2,gs(g,S,R,j,m)),m&&F&2048&&op(S.alternate,S);break;case 24:gs(g,S,R,j,m),m&&F&2048&&lp(S.alternate,S);break;default:gs(g,S,R,j,m)}i=i.sibling}}function Jo(a,i){if(i.subtreeFlags&10256)for(i=i.child;i!==null;){var l=a,d=i,m=d.flags;switch(d.tag){case 22:Jo(l,d),m&2048&&op(d.alternate,d);break;case 24:Jo(l,d),m&2048&&lp(d.alternate,d);break;default:Jo(l,d)}i=i.sibling}}var Qo=8192;function bs(a,i,l){if(a.subtreeFlags&Qo)for(a=a.child;a!==null;)Aw(a,i,l),a=a.sibling}function Aw(a,i,l){switch(a.tag){case 26:bs(a,i,l),a.flags&Qo&&a.memoizedState!==null&&YT(l,qn,a.memoizedState,a.memoizedProps);break;case 5:bs(a,i,l);break;case 3:case 4:var d=qn;qn=_u(a.stateNode.containerInfo),bs(a,i,l),qn=d;break;case 22:a.memoizedState===null&&(d=a.alternate,d!==null&&d.memoizedState!==null?(d=Qo,Qo=16777216,bs(a,i,l),Qo=d):bs(a,i,l));break;default:bs(a,i,l)}}function Tw(a){var i=a.alternate;if(i!==null&&(a=i.child,a!==null)){i.child=null;do i=a.sibling,a.sibling=null,a=i;while(a!==null)}}function Xo(a){var i=a.deletions;if((a.flags&16)!==0){if(i!==null)for(var l=0;l<i.length;l++){var d=i[l];Pt=d,Nw(d,a)}Tw(a)}if(a.subtreeFlags&10256)for(a=a.child;a!==null;)Ow(a),a=a.sibling}function Ow(a){switch(a.tag){case 0:case 11:case 15:Xo(a),a.flags&2048&&_r(9,a,a.return);break;case 3:Xo(a);break;case 12:Xo(a);break;case 22:var i=a.stateNode;a.memoizedState!==null&&i._visibility&2&&(a.return===null||a.return.tag!==13)?(i._visibility&=-3,uu(a)):Xo(a);break;default:Xo(a)}}function uu(a){var i=a.deletions;if((a.flags&16)!==0){if(i!==null)for(var l=0;l<i.length;l++){var d=i[l];Pt=d,Nw(d,a)}Tw(a)}for(a=a.child;a!==null;){switch(i=a,i.tag){case 0:case 11:case 15:_r(8,i,i.return),uu(i);break;case 22:l=i.stateNode,l._visibility&2&&(l._visibility&=-3,uu(i));break;default:uu(i)}a=a.sibling}}function Nw(a,i){for(;Pt!==null;){var l=Pt;switch(l.tag){case 0:case 11:case 15:_r(8,l,i);break;case 23:case 22:if(l.memoizedState!==null&&l.memoizedState.cachePool!==null){var d=l.memoizedState.cachePool.pool;d!=null&&d.refCount++}break;case 24:jo(l.memoizedState.cache)}if(d=l.child,d!==null)d.return=l,Pt=d;else e:for(l=a;Pt!==null;){d=Pt;var m=d.sibling,g=d.return;if(Sw(d),d===l){Pt=null;break e}if(m!==null){m.return=g,Pt=m;break e}Pt=g}}}var uT={getCacheForType:function(a){var i=$t(wt),l=i.data.get(a);return l===void 0&&(l=a(),i.data.set(a,l)),l},cacheSignal:function(){return $t(wt).controller.signal}},dT=typeof WeakMap=="function"?WeakMap:Map,Fe=0,nt=null,Me=null,$e=0,We=0,Sn=null,xr=!1,vs=!1,cp=!1,Ka=0,pt=0,Er=0,ki=0,up=0,kn=0,ws=0,Zo=null,on=null,dp=!1,du=0,Dw=0,hu=1/0,fu=null,Rr=null,Tt=0,Cr=null,Ss=null,Va=0,hp=0,fp=null,Iw=null,el=0,pp=null;
vendor: 24,683 bytes, lines 9-10
9function _n(){return(Fe&2)!==0&&$e!==0?$e&-$e:M.T!==null?wp():Yg()}function Pw(){if(kn===0)if(($e&536870912)===0||He){var a=Sc;Sc<<=1,(Sc&3932160)===0&&(Sc=262144),kn=a}else kn=536870912;return a=vn.current,a!==null&&(a.flags|=32),kn}function ln(a,i,l){(a===nt&&(We===2||We===9)||a.cancelPendingCommit!==null)&&(ks(a,0),Ar(a,$e,kn,!1)),So(a,l),((Fe&2)===0||a!==nt)&&(a===nt&&((Fe&2)===0&&(ki|=l),pt===4&&Ar(a,$e,kn,!1)),da(a))}function jw(a,i,l){if((Fe&6)!==0)throw Error(r(327));var d=!l&&(i&127)===0&&(i&a.expiredLanes)===0||wo(a,i),m=d?pT(a,i):yp(a,i,!0),g=d;do{if(m===0){vs&&!d&&Ar(a,i,0,!1);break}else{if(l=a.current.alternate,g&&!hT(l)){m=yp(a,i,!1),g=!1;continue}if(m===2){if(g=i,a.errorRecoveryDisabledLanes&g)var S=0;else S=a.pendingLanes&-536870913,S=S!==0?S:S&536870912?536870912:0;if(S!==0){i=S;e:{var R=a;m=Zo;var j=R.current.memoizedState.isDehydrated;if(j&&(ks(R,S).flags|=256),S=yp(R,S,!1),S!==2){if(cp&&!j){R.errorRecoveryDisabledLanes|=g,ki|=g,m=4;break e}g=on,on=m,g!==null&&(on===null?on=g:on.push.apply(on,g))}m=S}if(g=!1,m!==2)continue}}if(m===1){ks(a,0),Ar(a,i,0,!0);break}e:{switch(d=a,g=m,g){case 0:case 1:throw Error(r(345));case 4:if((i&4194048)!==i)break;case 6:Ar(d,i,kn,!xr);break e;case 2:on=null;break;case 3:case 5:break;default:throw Error(r(329))}if((i&62914560)===i&&(m=du+300-Wt(),10<m)){if(Ar(d,i,kn,!xr),_c(d,0,!0)!==0)break e;Va=i,d.timeoutHandle=h0(Lw.bind(null,d,l,on,fu,dp,i,kn,ki,ws,xr,g,"Throttled",-0,0),m);break e}Lw(d,l,on,fu,dp,i,kn,ki,ws,xr,g,null,-0,0)}}break}while(!0);da(a)}function Lw(a,i,l,d,m,g,S,R,j,F,X,ae,q,W){if(a.timeoutHandle=-1,ae=i.subtreeFlags,ae&8192||(ae&16785408)===16785408){ae={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Ta},Aw(i,g,ae);var ge=(g&62914560)===g?du-Wt():(g&4194048)===g?Dw-Wt():0;if(ge=JT(ae,ge),ge!==null){Va=g,a.cancelPendingCommit=ge(Vw.bind(null,a,i,g,l,d,m,S,R,j,X,ae,null,q,W)),Ar(a,g,S,!F);return}}Vw(a,i,g,l,d,m,S,R,j)}function hT(a){for(var i=a;;){var l=i.tag;if((l===0||l===11||l===15)&&i.flags&16384&&(l=i.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var d=0;d<l.length;d++){var m=l[d],g=m.getSnapshot;m=m.value;try{if(!gn(g(),m))return!1}catch{return!1}}if(l=i.child,i.subtreeFlags&16384&&l!==null)l.return=i,i=l;else{if(i===a)break;for(;i.sibling===null;){if(i.return===null||i.return===a)return!0;i=i.return}i.sibling.return=i.return,i=i.sibling}}return!0}function Ar(a,i,l,d){i&=~up,i&=~ki,a.suspendedLanes|=i,a.pingedLanes&=~i,d&&(a.warmLanes|=i),d=a.expirationTimes;for(var m=i;0<m;){var g=31-tt(m),S=1<<g;d[g]=-1,m&=~S}l!==0&&qg(a,l,i)}function pu(){return(Fe&6)===0?(tl(0),!1):!0}function mp(){if(Me!==null){if(We===0)var a=Me.return;else a=Me,Ia=fi=null,Nf(a),hs=null,Mo=0,a=Me;for(;a!==null;)fw(a.alternate,a),a=a.return;Me=null}}function ks(a,i){var l=a.timeoutHandle;l!==-1&&(a.timeoutHandle=-1,DT(l)),l=a.cancelPendingCommit,l!==null&&(a.cancelPendingCommit=null,l()),Va=0,mp(),nt=a,Me=l=Na(a.current,null),$e=i,We=0,Sn=null,xr=!1,vs=wo(a,i),cp=!1,ws=kn=up=ki=Er=pt=0,on=Zo=null,dp=!1,(i&8)!==0&&(i|=i&32);var d=a.entangledLanes;if(d!==0)for(a=a.entanglements,d&=i;0<d;){var m=31-tt(d),g=1<<m;i|=a[m],d&=~g}return Ka=i,jc(),l}function Mw(a,i){Ne=null,M.H=Fo,i===ds||i===Kc?(i=Zb(),We=3):i===vf?(i=Zb(),We=4):We=i===Gf?8:i!==null&&typeof i=="object"&&typeof i.then=="function"?6:1,Sn=i,Me===null&&(pt=1,au(a,Pn(i,a.current)))}function Bw(){var a=vn.current;return a===null?!0:($e&4194048)===$e?Bn===null:($e&62914560)===$e||($e&536870912)!==0?a===Bn:!1}function $w(){var a=M.H;return M.H=Fo,a===null?Fo:a}function zw(){var a=M.A;return M.A=uT,a}function mu(){pt=4,xr||($e&4194048)!==$e&&vn.current!==null||(vs=!0),(Er&134217727)===0&&(ki&134217727)===0||nt===null||Ar(nt,$e,kn,!1)}function yp(a,i,l){var d=Fe;Fe|=2;var m=$w(),g=zw();(nt!==a||$e!==i)&&(fu=null,ks(a,i)),i=!1;var S=pt;e:do try{if(We!==0&&Me!==null){var R=Me,j=Sn;switch(We){case 8:mp(),S=6;break e;case 3:case 2:case 9:case 6:vn.current===null&&(i=!0);var F=We;if(We=0,Sn=null,_s(a,R,j,F),l&&vs){S=0;break e}break;default:F=We,We=0,Sn=null,_s(a,R,j,F)}}fT(),S=pt;break}catch(X){Mw(a,X)}while(!0);return i&&a.shellSuspendCounter++,Ia=fi=null,Fe=d,M.H=m,M.A=g,Me===null&&(nt=null,$e=0,jc()),S}function fT(){for(;Me!==null;)Hw(Me)}function pT(a,i){var l=Fe;Fe|=2;var d=$w(),m=zw();nt!==a||$e!==i?(fu=null,hu=Wt()+500,ks(a,i)):vs=wo(a,i);e:do try{if(We!==0&&Me!==null){i=Me;var g=Sn;t:switch(We){case 1:We=0,Sn=null,_s(a,i,g,1);break;case 2:case 9:if(Qb(g)){We=0,Sn=null,Uw(i);break}i=function(){We!==2&&We!==9||nt!==a||(We=7),da(a)},g.then(i,i);break e;case 3:We=7;break e;case 4:We=5;break e;case 7:Qb(g)?(We=0,Sn=null,Uw(i)):(We=0,Sn=null,_s(a,i,g,7));break;case 5:var S=null;switch(Me.tag){case 26:S=Me.memoizedState;case 5:case 27:var R=Me;if(S?C0(S):R.stateNode.complete){We=0,Sn=null;var j=R.sibling;if(j!==null)Me=j;else{var F=R.return;F!==null?(Me=F,yu(F)):Me=null}break t}}We=0,Sn=null,_s(a,i,g,5);break;case 6:We=0,Sn=null,_s(a,i,g,6);break;case 8:mp(),pt=6;break e;default:throw Error(r(462))}}mT();break}catch(X){Mw(a,X)}while(!0);return Ia=fi=null,M.H=d,M.A=m,Fe=l,Me!==null?0:(nt=null,$e=0,jc(),pt)}function mT(){for(;Me!==null&&!Ah();)Hw(Me)}function Hw(a){var i=dw(a.alternate,a,Ka);a.memoizedProps=a.pendingProps,i===null?yu(a):Me=i}function Uw(a){var i=a,l=i.alternate;switch(i.tag){case 15:case 0:i=iw(l,i,i.pendingProps,i.type,void 0,$e);break;case 11:i=iw(l,i,i.pendingProps,i.type.render,i.ref,$e);break;case 5:Nf(i);default:fw(l,i),i=Me=zb(i,Ka),i=dw(l,i,Ka)}a.memoizedProps=a.pendingProps,i===null?yu(a):Me=i}function _s(a,i,l,d){Ia=fi=null,Nf(i),hs=null,Mo=0;var m=i.return;try{if(aT(a,m,i,l,$e)){pt=1,au(a,Pn(l,a.current)),Me=null;return}}catch(g){if(m!==null)throw Me=m,g;pt=1,au(a,Pn(l,a.current)),Me=null;return}i.flags&32768?(He||d===1?a=!0:vs||($e&536870912)!==0?a=!1:(xr=a=!0,(d===2||d===9||d===3||d===6)&&(d=vn.current,d!==null&&d.tag===13&&(d.flags|=16384))),Kw(i,a)):yu(i)}function yu(a){var i=a;do{if((i.flags&32768)!==0){Kw(i,xr);return}a=i.return;var l=sT(i.alternate,i,Ka);if(l!==null){Me=l;return}if(i=i.sibling,i!==null){Me=i;return}Me=i=a}while(i!==null);pt===0&&(pt=5)}function Kw(a,i){do{var l=oT(a.alternate,a);if(l!==null){l.flags&=32767,Me=l;return}if(l=a.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!i&&(a=a.sibling,a!==null)){Me=a;return}Me=a=l}while(a!==null);pt=6,Me=null}function Vw(a,i,l,d,m,g,S,R,j){a.cancelPendingCommit=null;do gu();while(Tt!==0);if((Fe&6)!==0)throw Error(r(327));if(i!==null){if(i===a.current)throw Error(r(177));if(g=i.lanes|i.childLanes,g|=af,WC(a,l,g,S,R,j),a===nt&&(Me=nt=null,$e=0),Ss=i,Cr=a,Va=l,hp=g,fp=m,Iw=d,(i.subtreeFlags&10256)!==0||(i.flags&10256)!==0?(a.callbackNode=null,a.callbackPriority=0,vT(Ce,function(){return Yw(),null})):(a.callbackNode=null,a.callbackPriority=0),d=(i.flags&13878)!==0,(i.subtreeFlags&13878)!==0||d){d=M.T,M.T=null,m=Q.p,Q.p=2,S=Fe,Fe|=4;try{lT(a,i,l)}finally{Fe=S,Q.p=m,M.T=d}}Tt=1,Fw(),qw(),Gw()}}function Fw(){if(Tt===1){Tt=0;var a=Cr,i=Ss,l=(i.flags&13878)!==0;if((i.subtreeFlags&13878)!==0||l){l=M.T,M.T=null;var d=Q.p;Q.p=2;var m=Fe;Fe|=4;try{Ew(i,a);var g=Ap,S=Nb(a.containerInfo),R=g.focusedElem,j=g.selectionRange;if(S!==R&&R&&R.ownerDocument&&Ob(R.ownerDocument.documentElement,R)){if(j!==null&&Xh(R)){var F=j.start,X=j.end;if(X===void 0&&(X=F),"selectionStart"in R)R.selectionStart=F,R.selectionEnd=Math.min(X,R.value.length);else{var ae=R.ownerDocument||document,q=ae&&ae.defaultView||window;if(q.getSelection){var W=q.getSelection(),ge=R.textContent.length,Ee=Math.min(j.start,ge),Xe=j.end===void 0?Ee:Math.min(j.end,ge);!W.extend&&Ee>Xe&&(S=Xe,Xe=Ee,Ee=S);var U=Tb(R,Ee),B=Tb(R,Xe);if(U&&B&&(W.rangeCount!==1||W.anchorNode!==U.node||W.anchorOffset!==U.offset||W.focusNode!==B.node||W.focusOffset!==B.offset)){var V=ae.createRange();V.setStart(U.node,U.offset),W.removeAllRanges(),Ee>Xe?(W.addRange(V),W.extend(B.node,B.offset)):(V.setEnd(B.node,B.offset),W.addRange(V))}}}}for(ae=[],W=R;W=W.parentNode;)W.nodeType===1&&ae.push({element:W,left:W.scrollLeft,top:W.scrollTop});for(typeof R.focus=="function"&&R.focus(),R=0;R<ae.length;R++){var ne=ae[R];ne.element.scrollLeft=ne.left,ne.element.scrollTop=ne.top}}Tu=!!Cp,Ap=Cp=null}finally{Fe=m,Q.p=d,M.T=l}}a.current=i,Tt=2}}function qw(){if(Tt===2){Tt=0;var a=Cr,i=Ss,l=(i.flags&8772)!==0;if((i.subtreeFlags&8772)!==0||l){l=M.T,M.T=null;var d=Q.p;Q.p=2;var m=Fe;Fe|=4;try{ww(a,i.alternate,i)}finally{Fe=m,Q.p=d,M.T=l}}Tt=3}}function Gw(){if(Tt===4||Tt===3){Tt=0,Th();var a=Cr,i=Ss,l=Va,d=Iw;(i.subtreeFlags&10256)!==0||(i.flags&10256)!==0?Tt=5:(Tt=0,Ss=Cr=null,Ww(a,a.pendingLanes));var m=a.pendingLanes;if(m===0&&(Rr=null),Ih(l),i=i.stateNode,At&&typeof At.onCommitFiberRoot=="function")try{At.onCommitFiberRoot(Yt,i,void 0,(i.current.flags&128)===128)}catch{}if(d!==null){i=M.T,m=Q.p,Q.p=2,M.T=null;try{for(var g=a.onRecoverableError,S=0;S<d.length;S++){var R=d[S];g(R.value,{componentStack:R.stack})}}finally{M.T=i,Q.p=m}}(Va&3)!==0&&gu(),da(a),m=a.pendingLanes,(l&261930)!==0&&(m&42)!==0?a===pp?el++:(el=0,pp=a):el=0,tl(0)}}function Ww(a,i){(a.pooledCacheLanes&=i)===0&&(i=a.pooledCache,i!=null&&(a.pooledCache=null,jo(i)))}function gu(){return Fw(),qw(),Gw(),Yw()}function Yw(){if(Tt!==5)return!1;var a=Cr,i=hp;hp=0;var l=Ih(Va),d=M.T,m=Q.p;try{Q.p=32>l?32:l,M.T=null,l=fp,fp=null;var g=Cr,S=Va;if(Tt=0,Ss=Cr=null,Va=0,(Fe&6)!==0)throw Error(r(331));var R=Fe;if(Fe|=4,Ow(g.current),Cw(g,g.current,S,l),Fe=R,tl(0,!1),At&&typeof At.onPostCommitFiberRoot=="function")try{At.onPostCommitFiberRoot(Yt,g)}catch{}return!0}finally{Q.p=m,M.T=d,Ww(a,i)}}function Jw(a,i,l){i=Pn(l,i),i=qf(a.stateNode,i,2),a=wr(a,i,2),a!==null&&(So(a,2),da(a))}function Ye(a,i,l){if(a.tag===3)Jw(a,a,l);else for(;i!==null;){if(i.tag===3){Jw(i,a,l);break}else if(i.tag===1){var d=i.stateNode;if(typeof i.type.getDerivedStateFromError=="function"||typeof d.componentDidCatch=="function"&&(Rr===null||!Rr.has(d))){a=Pn(l,a),l=Qv(2),d=wr(i,l,2),d!==null&&(Xv(l,d,i,a),So(d,2),da(d));break}}i=i.return}}function gp(a,i,l){var d=a.pingCache;if(d===null){d=a.pingCache=new dT;var m=new Set;d.set(i,m)}else m=d.get(i),m===void 0&&(m=new Set,d.set(i,m));m.has(l)||(cp=!0,m.add(l),a=yT.bind(null,a,i,l),i.then(a,a))}function yT(a,i,l){var d=a.pingCache;d!==null&&d.delete(i),a.pingedLanes|=a.suspendedLanes&l,a.warmLanes&=~l,nt===a&&($e&l)===l&&(pt===4||pt===3&&($e&62914560)===$e&&300>Wt()-du?(Fe&2)===0&&ks(a,0):up|=l,ws===$e&&(ws=0)),da(a)}function Qw(a,i){i===0&&(i=Fg()),a=ui(a,i),a!==null&&(So(a,i),da(a))}function gT(a){var i=a.memoizedState,l=0;i!==null&&(l=i.retryLane),Qw(a,l)}function bT(a,i){var l=0;switch(a.tag){case 31:case 13:var d=a.stateNode,m=a.memoizedState;m!==null&&(l=m.retryLane);break;case 19:d=a.stateNode;break;case 22:d=a.stateNode._retryCache;break;default:throw Error(r(314))}d!==null&&d.delete(i),Qw(a,l)}function vT(a,i){return Vi(a,i)}var bu=null,xs=null,bp=!1,vu=!1,vp=!1,Tr=0;function da(a){a!==xs&&a.next===null&&(xs===null?bu=xs=a:xs=xs.next=a),vu=!0,bp||(bp=!0,ST())}function tl(a,i){if(!vp&&vu){vp=!0;do for(var l=!1,d=bu;d!==null;){if(a!==0){var m=d.pendingLanes;if(m===0)var g=0;else{var S=d.suspendedLanes,R=d.pingedLanes;g=(1<<31-tt(42|a)+1)-1,g&=m&~(S&~R),g=g&201326741?g&201326741|1:g?g|2:0}g!==0&&(l=!0,t0(d,g))}else g=$e,g=_c(d,d===nt?g:0,d.cancelPendingCommit!==null||d.timeoutHandle!==-1),(g&3)===0||wo(d,g)||(l=!0,t0(d,g));d=d.next}while(l);vp=!1}}function wT(){Xw()}function Xw(){vu=bp=!1;var a=0;Tr!==0&&NT()&&(a=Tr);for(var i=Wt(),l=null,d=bu;d!==null;){var m=d.next,g=Zw(d,i);g===0?(d.next=null,l===null?bu=m:l.next=m,m===null&&(xs=l)):(l=d,(a!==0||(g&3)!==0)&&(vu=!0)),d=m}Tt!==0&&Tt!==5||tl(a),Tr!==0&&(Tr=0)}function Zw(a,i){for(var l=a.suspendedLanes,d=a.pingedLanes,m=a.expirationTimes,g=a.pendingLanes&-62914561;0<g;){var S=31-tt(g),R=1<<S,j=m[S];j===-1?((R&l)===0||(R&d)!==0)&&(m[S]=GC(R,i)):j<=i&&(a.expiredLanes|=R),g&=~R}if(i=nt,l=$e,l=_c(a,a===i?l:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),d=a.callbackNode,l===0||a===i&&(We===2||We===9)||a.cancelPendingCommit!==null)return d!==null&&d!==null&&vo(d),a.callbackNode=null,a.callbackPriority=0;if((l&3)===0||wo(a,l)){if(i=l&-l,i===a.callbackPriority)return i;switch(d!==null&&vo(d),Ih(l)){case 2:case 8:l=he;break;case 32:l=Ce;break;case 268435456:l=Ge;break;default:l=Ce}return d=e0.bind(null,a),l=Vi(l,d),a.callbackPriority=i,a.callbackNode=l,i}return d!==null&&d!==null&&vo(d),a.callbackPriority=2,a.callbackNode=null,2}function e0(a,i){if(Tt!==0&&Tt!==5)return a.callbackNode=null,a.callbackPriority=0,null;var l=a.callbackNode;if(gu()&&a.callbackNode!==l)return null;var d=$e;return d=_c(a,a===nt?d:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),d===0?null:(jw(a,d,i),Zw(a,Wt()),a.callbackNode!=null&&a.callbackNode===l?e0.bind(null,a):null)}function t0(a,i){if(gu())return null;jw(a,i,!0)}function ST(){IT(function(){(Fe&6)!==0?Vi(ee,wT):Xw()})}function wp(){if(Tr===0){var a=cs;a===0&&(a=wc,wc<<=1,(wc&261888)===0&&(wc=256)),Tr=a}return Tr}function n0(a){return a==null||typeof a=="symbol"||typeof a=="boolean"?null:typeof a=="function"?a:Cc(""+a)}function a0(a,i){var l=i.ownerDocument.createElement("input");return l.name=i.name,l.value=i.value,a.id&&l.setAttribute("form",a.id),i.parentNode.insertBefore(l,i),a=new FormData(a),l.parentNode.removeChild(l),a}function kT(a,i,l,d,m){if(i==="submit"&&l&&l.stateNode===m){var g=n0((m[tn]||null).action),S=d.submitter;S&&(i=(i=S[tn]||null)?n0(i.formAction):S.getAttribute("formAction"),i!==null&&(g=i,S=null));var R=new Nc("action","action",null,d,m);a.push({event:R,listeners:[{instance:null,listener:function(){if(d.defaultPrevented){if(Tr!==0){var j=S?a0(m,S):new FormData(m);zf(l,{pending:!0,data:j,method:m.method,action:g},null,j)}}else typeof g=="function"&&(R.preventDefault(),j=S?a0(m,S):new FormData(m),zf(l,{pending:!0,data:j,method:m.method,action:g},g,j))},currentTarget:m}]})}}for(var Sp=0;Sp<nf.length;Sp++){var kp=nf[Sp],_T=kp.toLowerCase(),xT=kp[0].toUpperCase()+kp.slice(1);Fn(_T,"on"+xT)}Fn(Pb,"onAnimationEnd"),Fn(jb,"onAnimationIteration"),Fn(Lb,"onAnimationStart"),Fn("dblclick","onDoubleClick"),Fn("focusin","onFocus"),Fn("focusout","onBlur"),Fn(zA,"onTransitionRun"),Fn(HA,"onTransitionStart"),Fn(UA,"onTransitionCancel"),Fn(Mb,"onTransitionEnd"),Yi("onMouseEnter",["mouseout","mouseover"]),Yi("onMouseLeave",["mouseout","mouseover"]),Yi("onPointerEnter",["pointerout","pointerover"]),Yi("onPointerLeave",["pointerout","pointerover"]),si("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),si("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),si("onBeforeInput",["compositionend","keypress","textInput","paste"]),si("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),si("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),si("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var nl="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),ET=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(nl));function r0(a,i){i=(i&4)!==0;for(var l=0;l<a.length;l++){var d=a[l],m=d.event;d=d.listeners;e:{var g=void 0;if(i)for(var S=d.length-1;0<=S;S--){var R=d[S],j=R.instance,F=R.currentTarget;if(R=R.listener,j!==g&&m.isPropagationStopped())break e;g=R,m.currentTarget=F;try{g(m)}catch(X){Pc(X)}m.currentTarget=null,g=j}else for(S=0;S<d.length;S++){if(R=d[S],j=R.instance,F=R.currentTarget,R=R.listener,j!==g&&m.isPropagationStopped())break e;g=R,m.currentTarget=F;try{g(m)}catch(X){Pc(X)}m.currentTarget=null,g=j}}}}function Be(a,i){var l=i[Ph];l===void 0&&(l=i[Ph]=new Set);var d=a+"__bubble";l.has(d)||(i0(i,a,2,!1),l.add(d))}function _p(a,i,l){var d=0;i&&(d|=4),i0(l,a,d,i)}var wu="_reactListening"+Math.random().toString(36).slice(2);function xp(a){if(!a[wu]){a[wu]=!0,Xg.forEach(function(l){l!=="selectionchange"&&(ET.has(l)||_p(l,!1,a),_p(l,!0,a))});var i=a.nodeType===9?a:a.ownerDocument;i===null||i[wu]||(i[wu]=!0,_p("selectionchange",!1,i))}}function i0(a,i,l,d){switch(P0(i)){case 2:var m=ZT;break;case 8:m=eO;break;default:m=$p}l=m.bind(null,i,l,a),m=void 0,!Kh||i!=="touchstart"&&i!=="touchmove"&&i!=="wheel"||(m=!0),d?m!==void 0?a.addEventListener(i,l,{capture:!0,passive:m}):a.addEventListener(i,l,!0):m!==void 0?a.addEventListener(i,l,{passive:m}):a.addEventListener(i,l,!1)}function Ep(a,i,l,d,m){var g=d;if((i&1)===0&&(i&2)===0&&d!==null)e:for(;;){if(d===null)return;var S=d.tag;if(S===3||S===4){var R=d.stateNode.containerInfo;if(R===m)break;if(S===4)for(S=d.return;S!==null;){var j=S.tag;if((j===3||j===4)&&S.stateNode.containerInfo===m)return;S=S.return}for(;R!==null;){if(S=qi(R),S===null)return;if(j=S.tag,j===5||j===6||j===26||j===27){d=g=S;continue e}R=R.parentNode}}d=d.return}ub(function(){var F=g,X=Hh(l),ae=[];e:{var q=Bb.get(a);if(q!==void 0){var W=Nc,ge=a;switch(a){case"keypress":if(Tc(l)===0)break e;case"keydown":case"keyup":W=bA;break;case"focusin":ge="focus",W=Gh;break;case"focusout":ge="blur",W=Gh;break;case"beforeblur":case"afterblur":W=Gh;break;case"click":if(l.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":W=fb;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":W=sA;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":W=SA;break;case Pb:case jb:case Lb:W=cA;break;case Mb:W=_A;break;case"scroll":case"scrollend":W=rA;break;case"wheel":W=EA;break;case"copy":case"cut":case"paste":W=dA;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":W=mb;break;case"toggle":case"beforetoggle":W=CA}var Ee=(i&4)!==0,Xe=!Ee&&(a==="scroll"||a==="scrollend"),U=Ee?q!==null?q+"Capture":null:q;Ee=[];for(var B=F,V;B!==null;){var ne=B;if(V=ne.stateNode,ne=ne.tag,ne!==5&&ne!==26&&ne!==27||V===null||U===null||(ne=xo(B,U),ne!=null&&Ee.push(al(B,ne,V))),Xe)break;B=B.return}0<Ee.length&&(q=new W(q,ge,null,l,X),ae.push({event:q,listeners:Ee}))}}if((i&7)===0){e:{if(q=a==="mouseover"||a==="pointerover",W=a==="mouseout"||a==="pointerout",q&&l!==zh&&(ge=l.relatedTarget||l.fromElement)&&(qi(ge)||ge[Fi]))break e;if((W||q)&&(q=X.window===X?X:(q=X.ownerDocument)?q.defaultView||q.parentWindow:window,W?(ge=l.relatedTarget||l.toElement,W=F,ge=ge?qi(ge):null,ge!==null&&(Xe=o(ge),Ee=ge.tag,ge!==Xe||Ee!==5&&Ee!==27&&Ee!==6)&&(ge=null)):(W=null,ge=F),W!==ge)){if(Ee=fb,ne="onMouseLeave",U="onMouseEnter",B="mouse",(a==="pointerout"||a==="pointerover")&&(Ee=mb,ne="onPointerLeave",U="onPointerEnter",B="pointer"),Xe=W==null?q:_o(W),V=ge==null?q:_o(ge),q=new Ee(ne,B+"leave",W,l,X),q.target=Xe,q.relatedTarget=V,ne=null,qi(X)===F&&(Ee=new Ee(U,B+"enter",ge,l,X),Ee.target=V,Ee.relatedTarget=Xe,ne=Ee),Xe=ne,W&&ge)t:{for(Ee=RT,U=W,B=ge,V=0,ne=U;ne;ne=Ee(ne))V++;ne=0;for(var _e=B;_e;_e=Ee(_e))ne++;for(;0<V-ne;)U=Ee(U),V--;for(;0<ne-V;)B=Ee(B),ne--;for(;V--;){if(U===B||B!==null&&U===B.alternate){Ee=U;break t}U=Ee(U),B=Ee(B)}Ee=null}else Ee=null;W!==null&&s0(ae,q,W,Ee,!1),ge!==null&&Xe!==null&&s0(ae,Xe,ge,Ee,!0)}}e:{if(q=F?_o(F):window,W=q.nodeName&&q.nodeName.toLowerCase(),W==="select"||W==="input"&&q.type==="file")var Ke=_b;else if(Sb(q))if(xb)Ke=MA;else{Ke=jA;var ke=PA}else W=q.nodeName,!W||W.toLowerCase()!=="input"||q.type!=="checkbox"&&q.type!=="radio"?F&&$h(F.elementType)&&(Ke=_b):Ke=LA;if(Ke&&(Ke=Ke(a,F))){kb(ae,Ke,l,X);break e}ke&&ke(a,q,F),a==="focusout"&&F&&q.type==="number"&&F.memoizedProps.value!=null&&Bh(q,"number",q.value)}switch(ke=F?_o(F):window,a){case"focusin":(Sb(ke)||ke.contentEditable==="true")&&(ts=ke,Zh=F,Do=null);break;case"focusout":Do=Zh=ts=null;break;case"mousedown":ef=!0;break;case"contextmenu":case"mouseup":case"dragend":ef=!1,Db(ae,l,X);break;case"selectionchange":if($A)break;case"keydown":case"keyup":Db(ae,l,X)}var De;if(Yh)e:{switch(a){case"compositionstart":var ze="onCompositionStart";break e;case"compositionend":ze="onCompositionEnd";break e;case"compositionupdate":ze="onCompositionUpdate";break e}ze=void 0}else es?vb(a,l)&&(ze="onCompositionEnd"):a==="keydown"&&l.keyCode===229&&(ze="onCompositionStart");ze&&(yb&&l.locale!=="ko"&&(es||ze!=="onCompositionStart"?ze==="onCompositionEnd"&&es&&(De=db()):(fr=X,Vh="value"in fr?fr.value:fr.textContent,es=!0)),ke=Su(F,ze),0<ke.length&&(ze=new pb(ze,a,null,l,X),ae.push({event:ze,listeners:ke}),De?ze.data=De:(De=wb(l),De!==null&&(ze.data=De)))),(De=TA?OA(a,l):NA(a,l))&&(ze=Su(F,"onBeforeInput"),0<ze.length&&(ke=new pb("onBeforeInput","beforeinput",null,l,X),ae.push({event:ke,listeners:ze}),ke.data=De)),kT(ae,a,F,l,X)}r0(ae,i)})}function al(a,i,l){return{instance:a,listener:i,currentTarget:l}}function Su(a,i){for(var l=i+"Capture",d=[];a!==null;){var m=a,g=m.stateNode;if(m=m.tag,m!==5&&m!==26&&m!==27||g===null||(m=xo(a,l),m!=null&&d.unshift(al(a,m,g)),m=xo(a,i),m!=null&&d.push(al(a,m,g))),a.tag===3)return d;a=a.return}return[]}function RT(a){if(a===null)return null;do a=a.return;while(a&&a.tag!==5&&a.tag!==27);return a||null}function s0(a,i,l,d,m){for(var g=i._reactName,S=[];l!==null&&l!==d;){var R=l,j=R.alternate,F=R.stateNode;if(R=R.tag,j!==null&&j===d)break;R!==5&&R!==26&&R!==27||F===null||(j=F,m?(F=xo(l,g),F!=null&&S.unshift(al(l,F,j))):m||(F=xo(l,g),F!=null&&S.push(al(l,F,j)))),l=l.return}S.length!==0&&a.push({event:i,listeners:S})}var CT=/\r\n?/g,AT=/\u0000|\uFFFD/g;function o0(a){return(typeof a=="string"?a:""+a).replace(CT,`
10`).replace(AT,"")}function l0(a,i){return i=o0(i),o0(a)===i}function Qe(a,i,l,d,m,g){switch(l){case"children":typeof d=="string"?i==="body"||i==="textarea"&&d===""||Qi(a,d):(typeof d=="number"||typeof d=="bigint")&&i!=="body"&&Qi(a,""+d);break;case"className":Ec(a,"class",d);break;case"tabIndex":Ec(a,"tabindex",d);break;case"dir":case"role":case"viewBox":case"width":case"height":Ec(a,l,d);break;case"style":lb(a,d,g);break;case"data":if(i!=="object"){Ec(a,"data",d);break}case"src":case"href":if(d===""&&(i!=="a"||l!=="href")){a.removeAttribute(l);break}if(d==null||typeof d=="function"||typeof d=="symbol"||typeof d=="boolean"){a.removeAttribute(l);break}d=Cc(""+d),a.setAttribute(l,d);break;case"action":case"formAction":if(typeof d=="function"){a.setAttribute(l,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof g=="function"&&(l==="formAction"?(i!=="input"&&Qe(a,i,"name",m.name,m,null),Qe(a,i,"formEncType",m.formEncType,m,null),Qe(a,i,"formMethod",m.formMethod,m,null),Qe(a,i,"formTarget",m.formTarget,m,null)):(Qe(a,i,"encType",m.encType,m,null),Qe(a,i,"method",m.method,m,null),Qe(a,i,"target",m.target,m,null)));if(d==null||typeof d=="symbol"||typeof d=="boolean"){a.removeAttribute(l);break}d=Cc(""+d),a.setAttribute(l,d);break;case"onClick":d!=null&&(a.onclick=Ta);break;case"onScroll":d!=null&&Be("scroll",a);break;case"onScrollEnd":d!=null&&Be("scrollend",a);break;case"dangerouslySetInnerHTML":if(d!=null){if(typeof d!="object"||!("__html"in d))throw Error(r(61));if(l=d.__html,l!=null){if(m.children!=null)throw Error(r(60));a.innerHTML=l}}break;case"multiple":a.multiple=d&&typeof d!="function"&&typeof d!="symbol";break;case"muted":a.muted=d&&typeof d!="function"&&typeof d!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(d==null||typeof d=="function"||typeof d=="boolean"||typeof d=="symbol"){a.removeAttribute("xlink:href");break}l=Cc(""+d),a.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":d!=null&&typeof d!="function"&&typeof d!="symbol"?a.setAttribute(l,""+d):a.removeAttribute(l);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInl
10ine":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":d&&typeof d!="function"&&typeof d!="symbol"?a.setAttribute(l,""):a.removeAttribute(l);break;case"capture":case"download":d===!0?a.setAttribute(l,""):d!==!1&&d!=null&&typeof d!="function"&&typeof d!="symbol"?a.setAttribute(l,d):a.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":d!=null&&typeof d!="function"&&typeof d!="symbol"&&!isNaN(d)&&1<=d?a.setAttribute(l,d):a.removeAttribute(l);break;case"rowSpan":case"start":d==null||typeof d=="function"||typeof d=="symbol"||isNaN(d)?a.removeAttribute(l):a.setAttribute(l,d);break;case"popover":Be("beforetoggle",a),Be("toggle",a),xc(a,"popover",d);break;case"xlinkActuate":Aa(a,"http://www.w3.org/1999/xlink","xlink:actuate",d);break;case"xlinkArcrole":Aa(a,"http://www.w3.org/1999/xlink","xlink:arcrole",d);break;case"xlinkRole":Aa(a,"http://www.w3.org/1999/xlink","xlink:role",d);break;case"xlinkShow":Aa(a,"http://www.w3.org/1999/xlink","xlink:show",d);break;case"xlinkTitle":Aa(a,"http://www.w3.org/1999/xlink","xlink:title",d);break;case"xlinkType":Aa(a,"http://www.w3.org/1999/xlink","xlink:type",d);break;case"xmlBase":Aa(a,"http://www.w3.org/XML/1998/namespace","xml:base",d);break;case"xmlLang":Aa(a,"http://www.w3.org/XML/1998/namespace","xml:lang",d);break;case"xmlSpace":Aa(a,"http://www.w3.org/XML/1998/namespace","xml:space",d);break;case"is":xc(a,"is",d);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=nA.get(l)||l,xc(a,l,d))}}function Rp(a,i,l,d,m,g){switch(l){case"style":lb(a,d,g);break;case"dangerouslySetInnerHTML":if(d!=null){if(typeof d!="object"||!("__html"in d))throw Error(r(61));if(l=d.__html,l!=null){if(m.children!=null)throw Error(r(60));a.innerHTML=l}}break;case"children":typeof d=="string"?Qi(a,d):(typeof d=="number"||typeof d=="bigint")&&Qi(a,""+d);break;case"onScroll":d!=null&&Be("scroll",a);break;case"onScrollEnd":d!=null&&Be("scrollend",a);break;case"onClick":d!=null&&(a.onclick=Ta);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Zg.hasOwnProperty(l))e:{if(l[0]==="o"&&l[1]==="n"&&(m=l.endsWith("Capture"),i=l.slice(2,m?l.length-7:void 0),g=a[tn]||null,g=g!=null?g[l]:null,typeof g=="function"&&a.removeEventListener(i,g,m),typeof d=="function")){typeof g!="function"&&g!==null&&(l in a?a[l]=null:a.hasAttribute(l)&&a.removeAttribute(l)),a.addEventListener(i,d,m);break e}l in a?a[l]=d:d===!0?a.setAttribute(l,""):xc(a,l,d)}}}function Ht(a,i,l){switch(i){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Be("error",a),Be("load",a);var d=!1,m=!1,g;for(g in l)if(l.hasOwnProperty(g)){var S=l[g];if(S!=null)switch(g){case"src":d=!0;break;case"srcSet":m=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,i));default:Qe(a,i,g,S,l,null)}}m&&Qe(a,i,"srcSet",l.srcSet,l,null),d&&Qe(a,i,"src",l.src,l,null);return;case"input":Be("invalid",a);var R=g=S=m=null,j=null,F=null;for(d in l)if(l.hasOwnProperty(d)){var X=l[d];if(X!=null)switch(d){case"name":m=X;break;case"type":S=X;break;case"checked":j=X;break;case"defaultChecked":F=X;break;case"value":g=X;break;case"defaultValue":R=X;break;case"children":case"dangerouslySetInnerHTML":if(X!=null)throw Error(r(137,i));break;default:Qe(a,i,d,X,l,null)}}rb(a,g,R,j,F,S,m,!1);return;case"select":Be("invalid",a),d=S=g=null;for(m in l)if(l.hasOwnProperty(m)&&(R=l[m],R!=null))switch(m){case"value":g=R;break;case"defaultValue":S=R;break;case"multiple":d=R;default:Qe(a,i,m,R,l,null)}i=g,l=S,a.multiple=!!d,i!=null?Ji(a,!!d,i,!1):l!=null&&Ji(a,!!d,l,!0);return;case"textarea":Be("invalid",a),g=m=d=null;for(S in l)if(l.hasOwnProperty(S)&&(R=l[S],R!=null))switch(S){case"value":d=R;break;case"defaultValue":m=R;break;case"children":g=R;break;case"dangerouslySetInnerHTML":if(R!=null)throw Error(r(91));break;default:Qe(a,i,S,R,l,null)}sb(a,d,m,g);return;case"option":for(j in l)l.hasOwnProperty(j)&&(d=l[j],d!=null)&&(j==="selected"?a.selected=d&&typeof d!="function"&&typeof d!="symbol":Qe(a,i,j,d,l,null));return;case"dialog":Be("beforetoggle",a),Be("toggle",a),Be("cancel",a),Be("close",a);break;case"iframe":case"object":Be("load",a);break;case"video":case"audio":for(d=0;d<nl.length;d++)Be(nl[d],a);break;case"image":Be("error",a),Be("load",a);break;case"details":Be("toggle",a);break;
vendor: 5,001 bytes, line 10
10case"embed":case"source":case"link":Be("error",a),Be("load",a);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(F in l)if(l.hasOwnProperty(F)&&(d=l[F],d!=null))switch(F){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,i));default:Qe(a,i,F,d,l,null)}return;default:if($h(i)){for(X in l)l.hasOwnProperty(X)&&(d=l[X],d!==void 0&&Rp(a,i,X,d,l,void 0));return}}for(R in l)l.hasOwnProperty(R)&&(d=l[R],d!=null&&Qe(a,i,R,d,l,null))}function TT(a,i,l,d){switch(i){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var m=null,g=null,S=null,R=null,j=null,F=null,X=null;for(W in l){var ae=l[W];if(l.hasOwnProperty(W)&&ae!=null)switch(W){case"checked":break;case"value":break;case"defaultValue":j=ae;default:d.hasOwnProperty(W)||Qe(a,i,W,null,d,ae)}}for(var q in d){var W=d[q];if(ae=l[q],d.hasOwnProperty(q)&&(W!=null||ae!=null))switch(q){case"type":g=W;break;case"name":m=W;break;case"checked":F=W;break;case"defaultChecked":X=W;break;case"value":S=W;break;case"defaultValue":R=W;break;case"children":case"dangerouslySetInnerHTML":if(W!=null)throw Error(r(137,i));break;default:W!==ae&&Qe(a,i,q,W,d,ae)}}Mh(a,S,R,j,F,X,g,m);return;case"select":W=S=R=q=null;for(g in l)if(j=l[g],l.hasOwnProperty(g)&&j!=null)switch(g){case"value":break;case"multiple":W=j;default:d.hasOwnProperty(g)||Qe(a,i,g,null,d,j)}for(m in d)if(g=d[m],j=l[m],d.hasOwnProperty(m)&&(g!=null||j!=null))switch(m){case"value":q=g;break;case"defaultValue":R=g;break;case"multiple":S=g;default:g!==j&&Qe(a,i,m,g,d,j)}i=R,l=S,d=W,q!=null?Ji(a,!!l,q,!1):!!d!=!!l&&(i!=null?Ji(a,!!l,i,!0):Ji(a,!!l,l?[]:"",!1));return;case"textarea":W=q=null;for(R in l)if(m=l[R],l.hasOwnProperty(R)&&m!=null&&!d.hasOwnProperty(R))switch(R){case"value":break;case"children":break;default:Qe(a,i,R,null,d,m)}for(S in d)if(m=d[S],g=l[S],d.hasOwnProperty(S)&&(m!=null||g!=null))switch(S){case"value":q=m;break;case"defaultValue":W=m;break;case"children":break;case"dangerouslySetInnerHTML":if(m!=null)throw Error(r(91));break;default:m!==g&&Qe(a,i,S,m,d,g)}ib(a,q,W);return;case"option":for(var ge in l)q=l[ge],l.hasOwnProperty(ge)&&q!=null&&!d.hasOwnProperty(ge)&&(ge==="selected"?a.selected=!1:Qe(a,i,ge,null,d,q));for(j in d)q=d[j],W=l[j],d.hasOwnProperty(j)&&q!==W&&(q!=null||W!=null)&&(j==="selected"?a.selected=q&&typeof q!="function"&&typeof q!="symbol":Qe(a,i,j,q,d,W));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var Ee in l)q=l[Ee],l.hasOwnProperty(Ee)&&q!=null&&!d.hasOwnProperty(Ee)&&Qe(a,i,Ee,null,d,q);for(F in d)if(q=d[F],W=l[F],d.hasOwnProperty(F)&&q!==W&&(q!=null||W!=null))switch(F){case"children":case"dangerouslySetInnerHTML":if(q!=null)throw Error(r(137,i));break;default:Qe(a,i,F,q,d,W)}return;default:if($h(i)){for(var Xe in l)q=l[Xe],l.hasOwnProperty(Xe)&&q!==void 0&&!d.hasOwnProperty(Xe)&&Rp(a,i,Xe,void 0,d,q);for(X in d)q=d[X],W=l[X],!d.hasOwnProperty(X)||q===W||q===void 0&&W===void 0||Rp(a,i,X,q,d,W);return}}for(var U in l)q=l[U],l.hasOwnProperty(U)&&q!=null&&!d.hasOwnProperty(U)&&Qe(a,i,U,null,d,q);for(ae in d)q=d[ae],W=l[ae],!d.hasOwnProperty(ae)||q===W||q==null&&W==null||Qe(a,i,ae,q,d,W)}function c0(a){switch(a){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function OT(){if(typeof performance.getEntriesByType=="function"){for(var a=0,i=0,l=performance.getEntriesByType("resource"),d=0;d<l.length;d++){var m=l[d],g=m.transferSize,S=m.initiatorType,R=m.duration;if(g&&R&&c0(S)){for(S=0,R=m.responseEnd,d+=1;d<l.length;d++){var j=l[d],F=j.startTime;if(F>R)break;var X=j.transferSize,ae=j.initiatorType;X&&c0(ae)&&(j=j.responseEnd,S+=X*(j<R?1:(R-F)/(j-F)))}if(--d,i+=8*(g+S)/(m.duration/1e3),a++,10<a)break}}if(0<a)return i/a/1e6}return navigator.connection&&(a=navigator.connection.downlink,typeof a=="number")?a:5}var Cp=null,Ap=null;function ku(a){return a.nodeType===9?a:a.ownerDocument}function u0(a){switch(a){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function d0(a,i){if(a===0)switch(i){case"svg":return 1;case"math":return 2;default:return 0}return a===1&&i==="foreignObject"?0:a}function Tp(a,i){return a==="textarea"||a==="noscript"||typeof i.children=="string"||typeof i.children=="number"||typeof i.children=="bigint"||typeof i.dangerouslySetInnerHTML=="object"&&i.dangerouslySetInnerHTML!==null&&i.dangerouslySetInnerHTML.__html!=null}var Op=null;function NT(){var a=window.event;return a&&a.type==="popstate"?a===Op?!1:(Op=a,!0):(Op=null,!1)}var h0=typeof setTimeout=="function"?setTimeout:void 0,DT=typeof clearTimeout=="function"?clearTimeout:void 0,f0=typeof Promise=="function"?Promise:void 0,IT=typeof queueMicrotask=="function"?queueMicrotask:typeof f0<"u"?function(a){return f0.resolve(null).then(a).catch(PT)}:h0;
vendor: 10,171 bytes, line 10
10function PT(a){setTimeout(function(){throw a})}function Or(a){return a==="head"}function p0(a,i){var l=i,d=0;do{var m=l.nextSibling;if(a.removeChild(l),m&&m.nodeType===8)if(l=m.data,l==="/$"||l==="/&"){if(d===0){a.removeChild(m),As(i);return}d--}else if(l==="$"||l==="$?"||l==="$~"||l==="$!"||l==="&")d++;else if(l==="html")rl(a.ownerDocument.documentElement);else if(l==="head"){l=a.ownerDocument.head,rl(l);for(var g=l.firstChild;g;){var S=g.nextSibling,R=g.nodeName;g[ko]||R==="SCRIPT"||R==="STYLE"||R==="LINK"&&g.rel.toLowerCase()==="stylesheet"||l.removeChild(g),g=S}}else l==="body"&&rl(a.ownerDocument.body);l=m}while(l);As(i)}function m0(a,i){var l=a;a=0;do{var d=l.nextSibling;if(l.nodeType===1?i?(l._stashedDisplay=l.style.display,l.style.display="none"):(l.style.display=l._stashedDisplay||"",l.getAttribute("style")===""&&l.removeAttribute("style")):l.nodeType===3&&(i?(l._stashedText=l.nodeValue,l.nodeValue=""):l.nodeValue=l._stashedText||""),d&&d.nodeType===8)if(l=d.data,l==="/$"){if(a===0)break;a--}else l!=="$"&&l!=="$?"&&l!=="$~"&&l!=="$!"||a++;l=d}while(l)}function Np(a){var i=a.firstChild;for(i&&i.nodeType===10&&(i=i.nextSibling);i;){var l=i;switch(i=i.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":Np(l),jh(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}a.removeChild(l)}}function jT(a,i,l,d){for(;a.nodeType===1;){var m=l;if(a.nodeName.toLowerCase()!==i.toLowerCase()){if(!d&&(a.nodeName!=="INPUT"||a.type!=="hidden"))break}else if(d){if(!a[ko])switch(i){case"meta":if(!a.hasAttribute("itemprop"))break;return a;case"link":if(g=a.getAttribute("rel"),g==="stylesheet"&&a.hasAttribute("data-precedence"))break;if(g!==m.rel||a.getAttribute("href")!==(m.href==null||m.href===""?null:m.href)||a.getAttribute("crossorigin")!==(m.crossOrigin==null?null:m.crossOrigin)||a.getAttribute("title")!==(m.title==null?null:m.title))break;return a;case"style":if(a.hasAttribute("data-precedence"))break;return a;case"script":if(g=a.getAttribute("src"),(g!==(m.src==null?null:m.src)||a.getAttribute("type")!==(m.type==null?null:m.type)||a.getAttribute("crossorigin")!==(m.crossOrigin==null?null:m.crossOrigin))&&g&&a.hasAttribute("async")&&!a.hasAttribute("itemprop"))break;return a;default:return a}}else if(i==="input"&&a.type==="hidden"){var g=m.name==null?null:""+m.name;if(m.type==="hidden"&&a.getAttribute("name")===g)return a}else return a;if(a=$n(a.nextSibling),a===null)break}return null}function LT(a,i,l){if(i==="")return null;for(;a.nodeType!==3;)if((a.nodeType!==1||a.nodeName!=="INPUT"||a.type!=="hidden")&&!l||(a=$n(a.nextSibling),a===null))return null;return a}function y0(a,i){for(;a.nodeType!==8;)if((a.nodeType!==1||a.nodeName!=="INPUT"||a.type!=="hidden")&&!i||(a=$n(a.nextSibling),a===null))return null;return a}function Dp(a){return a.data==="$?"||a.data==="$~"}function Ip(a){return a.data==="$!"||a.data==="$?"&&a.ownerDocument.readyState!=="loading"}function MT(a,i){var l=a.ownerDocument;if(a.data==="$~")a._reactRetry=i;else if(a.data!=="$?"||l.readyState!=="loading")i();else{var d=function(){i(),l.removeEventListener("DOMContentLoaded",d)};l.addEventListener("DOMContentLoaded",d),a._reactRetry=d}}function $n(a){for(;a!=null;a=a.nextSibling){var i=a.nodeType;if(i===1||i===3)break;if(i===8){if(i=a.data,i==="$"||i==="$!"||i==="$?"||i==="$~"||i==="&"||i==="F!"||i==="F")break;if(i==="/$"||i==="/&")return null}}return a}var Pp=null;function g0(a){a=a.nextSibling;for(var i=0;a;){if(a.nodeType===8){var l=a.data;if(l==="/$"||l==="/&"){if(i===0)return $n(a.nextSibling);i--}else l!=="$"&&l!=="$!"&&l!=="$?"&&l!=="$~"&&l!=="&"||i++}a=a.nextSibling}return null}function b0(a){a=a.previousSibling;for(var i=0;a;){if(a.nodeType===8){var l=a.data;if(l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"){if(i===0)return a;i--}else l!=="/$"&&l!=="/&"||i++}a=a.previousSibling}return null}function v0(a,i,l){switch(i=ku(l),a){case"html":if(a=i.documentElement,!a)throw Error(r(452));return a;case"head":if(a=i.head,!a)throw Error(r(453));return a;case"body":if(a=i.body,!a)throw Error(r(454));return a;default:throw Error(r(451))}}function rl(a){for(var i=a.attributes;i.length;)a.removeAttributeNode(i[0]);jh(a)}var zn=new Map,w0=new Set;function _u(a){return typeof a.getRootNode=="function"?a.getRootNode():a.nodeType===9?a:a.ownerDocument}var Fa=Q.d;Q.d={f:BT,r:$T,D:zT,C:HT,L:UT,m:KT,X:FT,S:VT,M:qT};function BT(){var a=Fa.f(),i=pu();return a||i}function $T(a){var i=Gi(a);i!==null&&i.tag===5&&i.type==="form"?Mv(i):Fa.r(a)}var Es=typeof document>"u"?null:document;function S0(a,i,l){var d=Es;if(d&&typeof i=="string"&&i){var m=Dn(i);m='link[rel="'+a+'"][href="'+m+'"]',typeof l=="string"&&(m+='[crossorigin="'+l+'"]'),w0.has(m)||(w0.add(m),a={rel:a,crossOrigin:l,href:i},d.querySelector(m)===null&&(i=d.createElement("link"),Ht(i,"link",a),It(i),d.head.appendChild(i)))}}function zT(a){Fa.D(a),S0("dns-prefetch",a,null)}function HT(a,i){Fa.C(a,i),S0("preconnect",a,i)}function UT(a,i,l){Fa.L(a,i,l);var d=Es;if(d&&a&&i){var m='link[rel="preload"][as="'+Dn(i)+'"]';i==="image"&&l&&l.imageSrcSet?(m+='[imagesrcset="'+Dn(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(m+='[imagesizes="'+Dn(l.imageSizes)+'"]')):m+='[href="'+Dn(a)+'"]';var g=m;switch(i){case"style":g=Rs(a);break;case"script":g=Cs(a)}zn.has(g)||(a=y({rel:"preload",href:i==="image"&&l&&l.imageSrcSet?void 0:a,as:i},l),zn.set(g,a),d.querySelector(m)!==null||i==="style"&&d.querySelector(il(g))||i==="script"&&d.querySelector(sl(g))||(i=d.createElement("link"),Ht(i,"link",a),It(i),d.head.appendChild(i)))}}function KT(a,i){Fa.m(a,i);var l=Es;if(l&&a){var d=i&&typeof i.as=="string"?i.as:"script",m='link[rel="modulepreload"][as="'+Dn(d)+'"][href="'+Dn(a)+'"]',g=m;switch(d){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":g=Cs(a)}if(!zn.has(g)&&(a=y({rel:"modulepreload",href:a},i),zn.set(g,a),l.querySelector(m)===null)){switch(d){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(sl(g)))return}d=l.createElement("link"),Ht(d,"link",a),It(d),l.head.appendChild(d)}}}function VT(a,i,l){Fa.S(a,i,l);var d=Es;if(d&&a){var m=Wi(d).hoistableStyles,g=Rs(a);i=i||"default";var S=m.get(g);if(!S){var R={loading:0,preload:null};if(S=d.querySelector(il(g)))R.loading=5;else{a=y({rel:"stylesheet",href:a,"data-precedence":i},l),(l=zn.get(g))&&jp(a,l);var j=S=d.createElement("link");It(j),Ht(j,"link",a),j._p=new Promise(function(F,X){j.onload=F,j.onerror=X}),j.addEventListener("load",function(){R.loading|=1}),j.addEventListener("error",function(){R.loading|=2}),R.loading|=4,xu(S,i,d)}S={type:"stylesheet",instance:S,count:1,state:R},m.set(g,S)}}}function FT(a,i){Fa.X(a,i);var l=Es;if(l&&a){var d=Wi(l).hoistableScripts,m=Cs(a),g=d.get(m);g||(g=l.querySelector(sl(m)),g||(a=y({src:a,async:!0},i),(i=zn.get(m))&&Lp(a,i),g=l.createElement("script"),It(g),Ht(g,"link",a),l.head.appendChild(g)),g={type:"script",instance:g,count:1,state:null},d.set(m,g))}}function qT(a,i){Fa.M(a,i);var l=Es;if(l&&a){var d=Wi(l).hoistableScripts,m=Cs(a),g=d.get(m);g||(g=l.querySelector(sl(m)),g||(a=y({src:a,async:!0,type:"module"},i),(i=zn.get(m))&&Lp(a,i),g=l.createElement("script"),It(g),Ht(g,"link",a),l.head.appendChild(g)),g={type:"script",instance:g,count:1,state:null},d.set(m,g))}}function k0(a,i,l,d){var m=(m=fe.current)?_u(m):null;if(!m)throw Error(r(446));switch(a){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(i=Rs(l.href),l=Wi(m).hoistableStyles,d=l.get(i),d||(d={type:"style",instance:null,count:0,state:null},l.set(i,d)),d):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){a=Rs(l.href);var g=Wi(m).hoistableStyles,S=g.get(a);if(S||(m=m.ownerDocument||m,S={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},g.set(a,S),(g=m.querySelector(il(a)))&&!g._p&&(S.instance=g,S.state.loading=5),zn.has(a)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},zn.set(a,l),g||GT(m,a,l,S.state))),i&&d===null)throw Error(r(528,""));return S}if(i&&d!==null)throw Error(r(529,""));return null;case"script":return i=l.async,l=l.src,typeof l=="string"&&i&&typeof i!="function"&&typeof i!="symbol"?(i=Cs(l),l=Wi(m).hoistableScripts,d=l.get(i),d||(d={type:"script",instance:null,count:0,state:null},l.set(i,d)),d):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,a))}}function Rs(a){return'href="'+Dn(a)+'"'}function il(a){return'link[rel="stylesheet"]['+a+"]"}function _0(a){return y({},a,{"data-precedence":a.precedence,precedence:null})}function GT(a,i,l,d){a.querySelector('link[rel="preload"][as="style"]['+i+"]")?d.loading=1:(i=a.createElement("link"),d.preload=i,i.addEventListener("load",function(){return d.loading|=1}),i.addEventListener("error",function(){return d.loading|=2}),Ht(i,"link",l),It(i),a.head.appendChild(i))}function Cs(a){return'[src="'+Dn(a)+'"]'}function sl(a){return"script[async]"+a}function x0(a,i,l){if(i.count++,i.instance===null)switch(i.type){case"style":var d=a.querySelector('style[data-href~="'+Dn(l.href)+'"]');if(d)return i.instance=d,It(d),d;var m=y({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return d=(a.ownerDocument||a).createElement("style"),It(d),Ht(d,"style",m),xu(d,l.precedence,a),i.instance=d;case"stylesheet":m=Rs(l.href);var g=a.querySelector(il(m));if(g)return i.state.loading|=4,i.instance=g,It(g),g;d=_0(l),(m=zn.get(m))&&jp(d,m),g=(a.ownerDocument||a).createElement("link"),It(g);var S=g;return S._p=new Promise(function(R,j){S.onload=R,S.onerror=j}),Ht(g,"link",d),i.state.loading|=4,xu(g,l.precedence,a),i.instance=g;case"script":return g=Cs(l.src),(m=a.querySelector(sl(g)))?(i.instance=m,It(m),m):(d=l,(m=zn.get(g))&&(d=y({},l),Lp(d,m)),a=a.ownerDocument||a,m=a.createElement("script"),It(m),Ht(m,"link",d),a.head.appendChild(m),i.instance=m);case"void":return null;default:throw Error(r(443,i.type))}
vendor: 5,629 bytes, line 10
10else i.type==="stylesheet"&&(i.state.loading&4)===0&&(d=i.instance,i.state.loading|=4,xu(d,l.precedence,a));return i.instance}function xu(a,i,l){for(var d=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),m=d.length?d[d.length-1]:null,g=m,S=0;S<d.length;S++){var R=d[S];if(R.dataset.precedence===i)g=R;else if(g!==m)break}g?g.parentNode.insertBefore(a,g.nextSibling):(i=l.nodeType===9?l.head:l,i.insertBefore(a,i.firstChild))}function jp(a,i){a.crossOrigin==null&&(a.crossOrigin=i.crossOrigin),a.referrerPolicy==null&&(a.referrerPolicy=i.referrerPolicy),a.title==null&&(a.title=i.title)}function Lp(a,i){a.crossOrigin==null&&(a.crossOrigin=i.crossOrigin),a.referrerPolicy==null&&(a.referrerPolicy=i.referrerPolicy),a.integrity==null&&(a.integrity=i.integrity)}var Eu=null;function E0(a,i,l){if(Eu===null){var d=new Map,m=Eu=new Map;m.set(l,d)}else m=Eu,d=m.get(l),d||(d=new Map,m.set(l,d));if(d.has(a))return d;for(d.set(a,null),l=l.getElementsByTagName(a),m=0;m<l.length;m++){var g=l[m];if(!(g[ko]||g[Mt]||a==="link"&&g.getAttribute("rel")==="stylesheet")&&g.namespaceURI!=="http://www.w3.org/2000/svg"){var S=g.getAttribute(i)||"";S=a+S;var R=d.get(S);R?R.push(g):d.set(S,[g])}}return d}function R0(a,i,l){a=a.ownerDocument||a,a.head.insertBefore(l,i==="title"?a.querySelector("head > title"):null)}function WT(a,i,l){if(l===1||i.itemProp!=null)return!1;switch(a){case"meta":case"title":return!0;case"style":if(typeof i.precedence!="string"||typeof i.href!="string"||i.href==="")break;return!0;case"link":if(typeof i.rel!="string"||typeof i.href!="string"||i.href===""||i.onLoad||i.onError)break;return i.rel==="stylesheet"?(a=i.disabled,typeof i.precedence=="string"&&a==null):!0;case"script":if(i.async&&typeof i.async!="function"&&typeof i.async!="symbol"&&!i.onLoad&&!i.onError&&i.src&&typeof i.src=="string")return!0}return!1}function C0(a){return!(a.type==="stylesheet"&&(a.state.loading&3)===0)}function YT(a,i,l,d){if(l.type==="stylesheet"&&(typeof d.media!="string"||matchMedia(d.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var m=Rs(d.href),g=i.querySelector(il(m));if(g){i=g._p,i!==null&&typeof i=="object"&&typeof i.then=="function"&&(a.count++,a=Ru.bind(a),i.then(a,a)),l.state.loading|=4,l.instance=g,It(g);return}g=i.ownerDocument||i,d=_0(d),(m=zn.get(m))&&jp(d,m),g=g.createElement("link"),It(g);var S=g;S._p=new Promise(function(R,j){S.onload=R,S.onerror=j}),Ht(g,"link",d),l.instance=g}a.stylesheets===null&&(a.stylesheets=new Map),a.stylesheets.set(l,i),(i=l.state.preload)&&(l.state.loading&3)===0&&(a.count++,l=Ru.bind(a),i.addEventListener("load",l),i.addEventListener("error",l))}}var Mp=0;function JT(a,i){return a.stylesheets&&a.count===0&&Au(a,a.stylesheets),0<a.count||0<a.imgCount?function(l){var d=setTimeout(function(){if(a.stylesheets&&Au(a,a.stylesheets),a.unsuspend){var g=a.unsuspend;a.unsuspend=null,g()}},6e4+i);0<a.imgBytes&&Mp===0&&(Mp=62500*OT());var m=setTimeout(function(){if(a.waitingForImages=!1,a.count===0&&(a.stylesheets&&Au(a,a.stylesheets),a.unsuspend)){var g=a.unsuspend;a.unsuspend=null,g()}},(a.imgBytes>Mp?50:800)+i);return a.unsuspend=l,function(){a.unsuspend=null,clearTimeout(d),clearTimeout(m)}}:null}function Ru(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Au(this,this.stylesheets);else if(this.unsuspend){var a=this.unsuspend;this.unsuspend=null,a()}}}var Cu=null;function Au(a,i){a.stylesheets=null,a.unsuspend!==null&&(a.count++,Cu=new Map,i.forEach(QT,a),Cu=null,Ru.call(a))}function QT(a,i){if(!(i.state.loading&4)){var l=Cu.get(a);if(l)var d=l.get(null);else{l=new Map,Cu.set(a,l);for(var m=a.querySelectorAll("link[data-precedence],style[data-precedence]"),g=0;g<m.length;g++){var S=m[g];(S.nodeName==="LINK"||S.getAttribute("media")!=="not all")&&(l.set(S.dataset.precedence,S),d=S)}d&&l.set(null,d)}m=i.instance,S=m.getAttribute("data-precedence"),g=l.get(S)||d,g===d&&l.set(null,m),l.set(S,m),this.count++,d=Ru.bind(this),m.addEventListener("load",d),m.addEventListener("error",d),g?g.parentNode.insertBefore(m,g.nextSibling):(a=a.nodeType===9?a.head:a,a.insertBefore(m,a.firstChild)),i.state.loading|=4}}var ol={$$typeof:C,Provider:null,Consumer:null,_currentValue:ie,_currentValue2:ie,_threadCount:0};function XT(a,i,l,d,m,g,S,R,j){this.tag=1,this.containerInfo=a,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Nh(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Nh(0),this.hiddenUpdates=Nh(null),this.identifierPrefix=d,this.onUncaughtError=m,this.onCaughtError=g,this.onRecoverableError=S,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=j,this.incompleteTransitions=new Map}function A0(a,i,l,d,m,g,S,R,j,F,X,ae){return a=new XT(a,i,l,S,j,F,X,ae,R),i=1,g===!0&&(i|=24),g=bn(3,null,null,i),a.current=g,g.stateNode=a,i=yf(),i.refCount++,a.pooledCache=i,i.refCount++,g.memoizedState={element:d,isDehydrated:l,cache:i},wf(g),a}function T0(a){return a?(a=rs,a):rs}function O0(a,i,l,d,m,g){m=T0(m),d.context===null?d.context=m:d.pendingContext=m,d=vr(i),d.payload={element:l},g=g===void 0?null:g,g!==null&&(d.callback=g),l=wr(a,d,i),l!==null&&(ln(l,a,i),$o(l,a,i))}function N0(a,i){if(a=a.memoizedState,a!==null&&a.dehydrated!==null){var l=a.retryLane;a.retryLane=l!==0&&l<i?l:i}}function Bp(a,i){N0(a,i),(a=a.alternate)&&N0(a,i)}
vendor: 7,149 bytes, line 10
10function D0(a){if(a.tag===13||a.tag===31){var i=ui(a,67108864);i!==null&&ln(i,a,67108864),Bp(a,67108864)}}function I0(a){if(a.tag===13||a.tag===31){var i=_n();i=Dh(i);var l=ui(a,i);l!==null&&ln(l,a,i),Bp(a,i)}}var Tu=!0;function ZT(a,i,l,d){var m=M.T;M.T=null;var g=Q.p;try{Q.p=2,$p(a,i,l,d)}finally{Q.p=g,M.T=m}}function eO(a,i,l,d){var m=M.T;M.T=null;var g=Q.p;try{Q.p=8,$p(a,i,l,d)}finally{Q.p=g,M.T=m}}function $p(a,i,l,d){if(Tu){var m=zp(d);if(m===null)Ep(a,i,d,Ou,l),j0(a,d);else if(nO(m,a,i,l,d))d.stopPropagation();else if(j0(a,d),i&4&&-1<tO.indexOf(a)){for(;m!==null;){var g=Gi(m);if(g!==null)switch(g.tag){case 3:if(g=g.stateNode,g.current.memoizedState.isDehydrated){var S=ii(g.pendingLanes);if(S!==0){var R=g;for(R.pendingLanes|=2,R.entangledLanes|=2;S;){var j=1<<31-tt(S);R.entanglements[1]|=j,S&=~j}da(g),(Fe&6)===0&&(hu=Wt()+500,tl(0))}}break;case 31:case 13:R=ui(g,2),R!==null&&ln(R,g,2),pu(),Bp(g,2)}if(g=zp(d),g===null&&Ep(a,i,d,Ou,l),g===m)break;m=g}m!==null&&d.stopPropagation()}else Ep(a,i,d,null,l)}}function zp(a){return a=Hh(a),Hp(a)}var Ou=null;function Hp(a){if(Ou=null,a=qi(a),a!==null){var i=o(a);if(i===null)a=null;else{var l=i.tag;if(l===13){if(a=c(i),a!==null)return a;a=null}else if(l===31){if(a=u(i),a!==null)return a;a=null}else if(l===3){if(i.stateNode.current.memoizedState.isDehydrated)return i.tag===3?i.stateNode.containerInfo:null;a=null}else i!==a&&(a=null)}}return Ou=a,null}function P0(a){switch(a){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Oh()){case ee:return 2;case he:return 8;case Ce:case Le:return 32;case Ge:return 268435456;default:return 32}default:return 32}}var Up=!1,Nr=null,Dr=null,Ir=null,ll=new Map,cl=new Map,Pr=[],tO="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function j0(a,i){switch(a){case"focusin":case"focusout":Nr=null;break;case"dragenter":case"dragleave":Dr=null;break;case"mouseover":case"mouseout":Ir=null;break;case"pointerover":case"pointerout":ll.delete(i.pointerId);break;case"gotpointercapture":case"lostpointercapture":cl.delete(i.pointerId)}}function ul(a,i,l,d,m,g){return a===null||a.nativeEvent!==g?(a={blockedOn:i,domEventName:l,eventSystemFlags:d,nativeEvent:g,targetContainers:[m]},i!==null&&(i=Gi(i),i!==null&&D0(i)),a):(a.eventSystemFlags|=d,i=a.targetContainers,m!==null&&i.indexOf(m)===-1&&i.push(m),a)}function nO(a,i,l,d,m){switch(i){case"focusin":return Nr=ul(Nr,a,i,l,d,m),!0;case"dragenter":return Dr=ul(Dr,a,i,l,d,m),!0;case"mouseover":return Ir=ul(Ir,a,i,l,d,m),!0;case"pointerover":var g=m.pointerId;return ll.set(g,ul(ll.get(g)||null,a,i,l,d,m)),!0;case"gotpointercapture":return g=m.pointerId,cl.set(g,ul(cl.get(g)||null,a,i,l,d,m)),!0}return!1}function L0(a){var i=qi(a.target);if(i!==null){var l=o(i);if(l!==null){if(i=l.tag,i===13){if(i=c(l),i!==null){a.blockedOn=i,Jg(a.priority,function(){I0(l)});return}}else if(i===31){if(i=u(l),i!==null){a.blockedOn=i,Jg(a.priority,function(){I0(l)});return}}else if(i===3&&l.stateNode.current.memoizedState.isDehydrated){a.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}a.blockedOn=null}function Nu(a){if(a.blockedOn!==null)return!1;for(var i=a.targetContainers;0<i.length;){var l=zp(a.nativeEvent);if(l===null){l=a.nativeEvent;var d=new l.constructor(l.type,l);zh=d,l.target.dispatchEvent(d),zh=null}else return i=Gi(l),i!==null&&D0(i),a.blockedOn=l,!1;i.shift()}return!0}function M0(a,i,l){Nu(a)&&l.delete(i)}function aO(){Up=!1,Nr!==null&&Nu(Nr)&&(Nr=null),Dr!==null&&Nu(Dr)&&(Dr=null),Ir!==null&&Nu(Ir)&&(Ir=null),ll.forEach(M0),cl.forEach(M0)}function Du(a,i){a.blockedOn===i&&(a.blockedOn=null,Up||(Up=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,aO)))}var Iu=null;function B0(a){Iu!==a&&(Iu=a,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){Iu===a&&(Iu=null);for(var i=0;i<a.length;i+=3){var l=a[i],d=a[i+1],m=a[i+2];if(typeof d!="function"){if(Hp(d||l)===null)continue;break}var g=Gi(l);g!==null&&(a.splice(i,3),i-=3,zf(g,{pending:!0,data:m,method:l.method,action:d},d,m))}}))}function As(a){function i(j){return Du(j,a)}Nr!==null&&Du(Nr,a),Dr!==null&&Du(Dr,a),Ir!==null&&Du(Ir,a),ll.forEach(i),cl.forEach(i);for(var l=0;l<Pr.length;l++){var d=Pr[l];d.blockedOn===a&&(d.blockedOn=null)}for(;0<Pr.length&&(l=Pr[0],l.blockedOn===null);)L0(l),l.blockedOn===null&&Pr.shift();if(l=(a.ownerDocument||a).$$reactFormReplay,l!=null)for(d=0;d<l.length;d+=3){var m=l[d],g=l[d+1],S=m[tn]||null;if(typeof g=="function")S||B0(l);else if(S){var R=null;if(g&&g.hasAttribute("formAction")){if(m=g,S=g[tn]||null)R=S.formAction;else if(Hp(m)!==null)continue}else R=S.action;typeof R=="function"?l[d+1]=R:(l.splice(d,3),d-=3),B0(l)}}}function $0(){function a(g){g.canIntercept&&g.info==="react-transition"&&g.intercept({handler:function(){return new Promise(function(S){return m=S})},focusReset:"manual",scroll:"manual"})}function i(){m!==null&&(m(),m=null),d||setTimeout(l,20)}function l(){if(!d&&!navigation.transition){var g=navigation.currentEntry;g&&g.url!=null&&navigation.navigate(g.url,{state:g.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var d=!1,m=null;return navigation.addEventListener("navigate",a),navigation.addEventListener("navigatesuccess",i),navigation.addEventListener("navigateerror",i),setTimeout(l,100),function(){d=!0,navigation.removeEventListener("navigate",a),navigation.removeEventListener("navigatesuccess",i),navigation.removeEventListener("navigateerror",i),m!==null&&(m(),m=null)}}}function Kp(a){this._internalRoot=a}Pu.prototype.render=Kp.prototype.render=function(a){var i=this._internalRoot;if(i===null)throw Error(r(409));var l=i.current,d=_n();O0(l,d,a,i,null,null)},Pu.prototype.unmount=Kp.prototype.unmount=function(){var a=this._internalRoot;if(a!==null){this._internalRoot=null;var i=a.containerInfo;O0(a.current,2,null,a,null,null),pu(),i[Fi]=null}};function Pu(a){this._internalRoot=a}
10Pu.prototype.unstable_scheduleHydration=function(a){if(a){var i=Yg();a={blockedOn:null,target:a,priority:i};for(var l=0;l<Pr.length&&i!==0&&i<Pr[l].priority;l++);Pr.splice(l,0,a),l===0&&L0(a)}};var z0=t.version;if(z0!=="19.2.5")throw Error(r(527,z0,"19.2.5"));Q.findDOMNode=function(a){var i=a._reactInternals;if(i===void 0)throw typeof a.render=="function"?Error(r(188)):(a=Object.keys(a).join(","),Error(r(268,a)));return a=f(i),a=a!==null?p(a):null,a=a===null?null:a.stateNode,a};var rO={bundleType:0,version:"19.2.5",rendererPackageName:"react-dom",currentDispatcherRef:M,reconcilerVersion:"19.2.5"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var ju=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ju.isDisabled&&ju.supportsFiber)try{Yt=ju.inject(rO),At=ju}catch{}}return hl.createRoot=function(a,i){if(!s(a))throw Error(r(299));var l=!1,d="",m=Gv,g=Wv,S=Yv;return i!=null&&(i.unstable_strictMode===!0&&(l=!0),i.identifierPrefix!==void 0&&(d=i.identifierPrefix),i.onUncaughtError!==void 0&&(m=i.onUncaughtError),i.onCaughtError!==void 0&&(g=i.onCaughtError),i.onRecoverableError!==void 0&&(S=i.onRecoverableError)),i=A0(a,1,!1,null,null,l,d,null,m,g,S,$0),a[Fi]=i.current,xp(a),new Kp(i)},hl.hydrateRoot=function(a,i,l){if(!s(a))throw Error(r(299));var d=!1,m="",g=Gv,S=Wv,R=Yv,j=null;return l!=null&&(l.unstable_strictMode===!0&&(d=!0),l.identifierPrefix!==void 0&&(m=l.identifierPrefix),l.onUncaughtError!==void 0&&(g=l.onUncaughtError),l.onCaughtError!==void 0&&(S=l.onCaughtError),l.onRecoverableError!==void 0&&(R=l.onRecoverableError),l.formState!==void 0&&(j=l.formState)),i=A0(a,1,!0,i,l??null,d,m,j,g,S,R,$0),i.context=T0(null),l=i.current,d=_n(),d=Dh(d),m=vr(d),m.callback=null,wr(l,m,d),l=d,i.current.lanes=l,So(i,l),da(i),a[Fi]=i.current,xp(a),new Pu(i)},hl.version="19.2.5",hl}var J0;function pO(){if(J0)return qp.exports;J0=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),qp.exports=fO(),qp.exports}var mO=pO(),yO="__TSS_CONTEXT",qm=Symbol.for("TSS_SERVER_FUNCTION"),Q0=Symbol.for("TSS_SERVER_FUNCTION_FACTORY"),gO="application/x-tss-framed",By=()=>window.__TSS_START_OPTIONS__;function rx(e={}){if(e.isNotFound=!0,e.throw)throw e;return e}function Ii(e){return e?.isNotFound===!0}function On(e){e.statusCode=e.statusCode||e.code||307;const t=new Headers(e.headers);e.href&&t.get("Location")===null&&t.set("Location",e.href);const n=new Response(null,{status:e.statusCode,headers:t});if(n.options=e,e.throw)throw n;return n}function Fl(e){return e instanceof Response&&!!e.options}function ix(e){if(e!==null&&typeof e=="object"&&e.isSerializedRedirect)return On(e)}function bO(e){return e.replaceAll("\0","/").replaceAll("�","/").replace(/~([~0r])/g,(t,n)=>n==="0"?"\0":n==="r"?"�":n)}const X0=!1;function Gr(e){return e[e.length-1]}function sx(e,t){return typeof e=="function"?e(t):e}const $y=Object.prototype.hasOwnProperty;function ox(e){for(const t in e)if($y.call(e,t))return!0;return!1}const wd=()=>Object.create(null),Ts=(e,t)=>Fr(e,t,!0);function Fr(e,t,n,r=0){if(e===t)return e;if(r++>500)return t;const s=Array.isArray(e)&&Array.isArray(t);if(!s&&!(jd(e)&&jd(t)))return t;const o=Object.keys(e),c=o.length,u=Object.keys(t),h=u.length;if(s?c!==e.length||h!==t.length||c&&Gr(o)!==`${c-1}`||h&&Gr(u)!==`${h-1}`:c!==Object.getOwnPropertyNames(e).length||h!==Object.getOwnPropertyNames(t).length||Object.getOwnPropertySymbols(t).length)return t;let f=0,p,y,b;if(s){for(;f<h&&(b=f,y=e[b],p=t[b],p=y===p?y:typeof y=="object"?Fr(y,p,n,r):p,p===y);f++);if(f===h&&c===h)return e}else{let k=c===h,w=!0;for(;f<h;f++){b=u[f],y=e[b];const E=t[b];p=y===E?y:typeof y=="object"?Fr(y,E,n,r):E,k&&=p===y&&(o[f]===b||$y.call(e,b)),w&&=Object.is(p,E),o[f]=p}if(k)return Object.getOwnPropertySymbols(e).length?t:e;if(w)return t}const v=s?u.fill(0):n?wd():{};for(let k=0;k<h;k++)b=s?k:u[k],s?(y=e[b],k>f&&(p=t[b],p=y===p?y:typeof y=="object"?Fr(y,p,n,r):p),v[b]=k<f?y:p):v[b]=o[k];return v}function jd(e){return!e||typeof e!="object"?!1:(Object.getPrototypeOf(e)?.constructor??Object)===Object}function aa(e,t,n,r){if(e===t)return!0;
10if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;for(let s=0,o=e.length;s<o;s++){const c=e[s],u=t[s];if(c!==u&&!aa(c,u,n,r))return!1}return!0}if(jd(e)&&jd(t)){if(n){for(const o in t)if((r||t[o]!==void 0)&&!aa(e[o],t[o],n,r))return!1;return!0}let s=0;if(r)s=Object.keys(e).length;else for(const o in e)e[o]!==void 0&&s++;for(const o in t)if((r||t[o]!==void 0)&&(s--===0||!aa(e[o],t[o],n,r)))return!1;return s===0}return!1}function vO(e){return typeof e?.message!="string"?!1:e.message.startsWith("Failed to fetch dynamically imported module")||e.message.startsWith("error loading dynamically imported module")||e.message.startsWith("Importing a module script failed")}const wO=/[\x00-\x1f\x7f"<>`{}]/g;function SO(e){return e.replace(wO,t=>"%"+t.charCodeAt(0).toString(16).toUpperCase().padStart(2,"0"))}function Z0(e){let t;try{t=decodeURI(e)}catch{t=e.replaceAll(/%[0-9A-F]{2}/gi,n=>{try{return decodeURI(n)}catch{return n}})}return SO(t)}const kO=["http:","https:","mailto:","tel:"];function ql(e){if(e[0]!=="/"&&e.includes(":"))return/^[\x00-\x20]*([a-z][a-z\d+.\t\n\r-]*:)/i.exec(e)?.[1]?.replace(/[\t\n\r]/g,"").toLowerCase()}const lx=/^[\x00-\x20]*[\\/][\t\n\r]*[\\/]/;function cx(e,t){if(!e)return!1;if(lx.test(e))return!0;const n=ql(e);return n?!t.has(n):!1}const _O={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},xO=/[&><\u2028\u2029]/g;function EO(e){return e.replace(xO,t=>_O[t])}function fl(e){if(!e)return e;let t=e;if(/[%\\\x00-\x1f\x7f]/.test(e)){const n=/%25|%5C/gi;let r=0,s;for(t="";(s=n.exec(e))!==null;)t+=Z0(e.slice(r,s.index))+s[0],r=n.lastIndex;t+=Z0(r?e.slice(r):e)}return t}function RO(e){return/[\s\u0080-\uFFFF]/.test(e)?e.replace(/\s|[^\u0000-\u007F]/gu,encodeURIComponent):e}function CO(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}function Xs(e){return e.replace(/\/{2,}/g,"/")}function ux(e){return e==="/"?e:e.replace(/^\/+/,"")}function ga(e){const t=e.length;return t>1&&e[t-1]==="/"?e.replace(/\/+$/,""):e}function dx(e){return ga(ux(e))}function eS(e,t){return e?.endsWith("/")&&e!=="/"&&e!==`${t}/`?e.slice(0,-1):e}function tS(e,t,n="never",r){if(t.includes("//")&&(t=Xs(t)),t.startsWith("/"))return t.length===1||n==="preserve"?t:n==="always"?t.endsWith("/")?t:`${t}/`:t.endsWith("/")?t.slice(0,-1):t;const s=t===".";let o;if(r){o=s?e:e+"\0"+t;const f=r.get(o);if(f)return f}let c;if(s)c=e.split("/");else{for(e.includes("//")&&(e=Xs(e)),c=e.split("/");c.length>1&&Gr(c)==="";)c.pop();const f=t.split("/");for(let p=0,y=f.length;p<y;p++){const b=f[p];b===""?p?p===y-1&&c.push(b):c=[b]:b===".."?c.length>1?c.pop():c=[""]:b==="."||c.push(b)}}c.length>1&&(Gr(c)===""?n==="never"&&c.pop():n==="always"&&c.push(""));const u=c.join("/"),h=(s?Xs(u):u)||"/";return o&&r&&r.set(o,h),h}function AO(e){const t=new Map(e.map(r=>[encodeURIComponent(r),r])),n=new RegExp([...t.keys()].join("|").replace(/[.*()]/g,"\\$&"),"g");return r=>r.replace(n,s=>t.get(s)??s)}function TO(e){return e==null||e===""}function OO(e,t,n){if(typeof t!="string")return""+(t??void 0);const r=e==="_splat";if(r&&(!t||/^[a-zA-Z0-9\-._~!/]*$/.test(t)))return t;let s=encodeURIComponent(t);return r&&(s=s.replaceAll("%2F","/")),n?n(s):s}function nS(e,t,n,r,s){const o=e.endsWith("/")?"/":"";let c="";for(const u of t){if(typeof u=="string"){c+=u;continue}const[h,f,p,y]=u,b=h===2,v=b&&y!==void 0?y+o:y;let k=n[f];if(!(h===3&&k==null)){if(s&&(s[f]=k,b&&(s["*"]=k)),b&&TO(k)){if(p==="/"&&!v)continue;k=""}c+=p+OO(f,k,r)+(v||"")}}return c+o||"/"}function Ld(e){const t=new Map;let n,r;return{get(s){const o=t.get(s);if(o)return o.visited=!0,o.value},set(s,o){const c=t.get(s);if(c){c.value=o;return}if(t.size>=e){let h=n?.next().value;for(;!h||h.visited;)h?h.visited=!1:n=t.values(),h=n.next().value;h===r&&(n=void 0),t.delete(h.key)}const u={key:s,value:o,visited:!1};r=u,t.set(s,u)},clear(){t.clear(),n=void 0,r=void 0}}}function Gl(){throw new Error("Invariant failed")}const Vr=4,hx=5;function NO(e){const t=e.names;if(t)return t;const n=[];for(const r of e)typeof r!="string"&&n.push(r[1]);return e.names=n}function DO(e,t,n){const r=e.substring(t,n);if(r.charCodeAt(0)===36)return r.length===1?[2,"_splat","",void 0]:[1,r.substring(1),"",""];const s=r.indexOf("{");
10if(s>=0){const o=r.indexOf("}",s),c=r.charCodeAt(s+1)===45,u=s+(c?3:2);if(o>=0&&r.charCodeAt(u-1)===36&&(!c||u<o)){const h=r.substring(u,o);return[c?3:h?1:2,h||"_splat",r.substring(0,s),e.substring(t+o+1,h?n:e.length)]}}return r}function Wl(e,t,n,r,s,o){let c=n;const u=t.fullPath??t.from,h=t.options,f=u.length,p=u.endsWith("/")?f-1:f,y=h?.caseSensitive??e,b=h?.params?.parse??h?.parseParams;let v,k=o?n-1:0;if(!r||u.includes("$")){v=o?.slice()??[];const _=Gr(v);_&&typeof _!="string"&&_[0]===2&&(v[v.length-1]=[_[0],_[1],_[2],_[3]===void 0?void 0:_[3]+u.substring(n-(u[n-2]==="/"?2:1),p)],k=f)}for(;c<f;){const _=c,A=u.indexOf("/",_);let C=A===-1?f:A;const P=DO(u,_,C);c=C+1;let K;if(typeof P=="string"){if(!r)continue;let D=P,I;y?I=r.static??=new Map:(D=P.toLowerCase(),I=r.staticInsensitive??=new Map);const $=I.get(D);if($)K=$;else{const Y=Ai(r);K=Y,I.set(D,Y)}}else{const D=P[0];let I=P[2],$=P[3]??"";if(D===2&&(C=f,c=C+1),v&&k<C&&(k<_-1&&v.push(u.substring(k,_-1)),P[2]="/"+I,D===2&&P[3]!==void 0&&p<f&&(P[3]=$.slice(0,-1)),v.push(P),k=C),!r)continue;const Y=y&&!!(I||$);y||(I=I.toLowerCase(),$=$.toLowerCase());const re=D===1?r.dynamic??=[]:D===3?r.optional??=[]:r.wildcard??=[],z=D!==2&&!b&&re.find(H=>!H.parse&&H.caseSensitive===Y&&H.prefix===I&&H.suffix===$);if(z)K=z;else{const H=Ai(r,D,Y,I,$);K=H,re.push(H),re.length===2&&s?.push(re)}}r=K}v&&k<p&&v.push(u.substring(k,p));const w=v?.slice();if(!r)return w;
10if(b&&t.children&&!t.isRoot&&t.id&&t.id.charCodeAt(t.id.lastIndexOf("/")+1)===95){const _=Ai(r,hx);(r.pathless??=[]).push(_),r=_}const E=(t.path||!t.children)&&!t.isRoot;if(E&&p<f){const _=Ai(r,Vr);r.index=_,r=_}return r.parse=b??null,r.priority=h?.params?.priority??0,r.route||(r.data=w,E&&(r.route=t)),[r,c,w]}function fx(e,t){if(e.parse&&!t.parse)return-1;if(!e.parse&&t.parse)return 1;if(e.parse&&t.parse&&(e.priority||t.priority))return t.priority-e.priority;if(e.prefix&&t.prefix&&e.prefix!==t.prefix){if(e.prefix.startsWith(t.prefix))return-1;if(t.prefix.startsWith(e.prefix))return 1}if(e.suffix&&t.suffix&&e.suffix!==t.suffix){if(e.suffix.endsWith(t.suffix))return-1;if(t.suffix.endsWith(e.suffix))return 1}return e.prefix&&!t.prefix?-1:!e.prefix&&t.prefix?1:e.suffix&&!t.suffix?-1:!e.suffix&&t.suffix?1:e.caseSensitive&&!t.caseSensitive?-1:!e.caseSensitive&&t.caseSensitive?1:0}function Ai(e,t=0,n,r,s){return{kind:t,depth:e?e.depth+1:0,pathless:null,index:null,static:null,staticInsensitive:null,dynamic:null,optional:null,wildcard:null,route:null,data:void 0,parent:e,parse:null,priority:0,caseSensitive:n,prefix:r,suffix:s}}function IO(e,t){const n=Ai(),r=[];function s(o,c,u,h){const[f,p,y]=Wl(!1,o,c,u,r,h);if(o.children)for(const b of o.children)s(b,p,f,y)}for(const o of e)s(o,1,n);for(const o of r)o.sort(fx);t.masksTree=n,t.flatCache=Ld(1e3)}function PO(e,t){e||="/";const n=t.flatCache.get(e);if(n!==void 0)return n;const r=zy(e,t.masksTree);return t.flatCache.set(e,r),r}function jO(e,t,n,r,s){e||="/",r||="/";const o=t?`case\0${e}`:e;let c=s.singleCache.get(o);return c||(c=Ai(),Wl(t,{from:e},1,c),s.singleCache.set(o,c)),zy(r,c,n)}function LO(e,t,n=!1){const r=n?e:`nofuzz\0${e}`,s=t.matchCache.get(r);if(s!==void 0)return s;e||="/";let o;try{o=zy(e,t.segmentTree,n)}catch(c){if(c instanceof URIError)o=null;else throw c}return o&&(o.branch=mx(o.route)),t.matchCache.set(r,o),o}function MO(e,t=!1){const n=Ai(),r=[],s={},o={};let c=0;function u(h,f,p,y){if(h.init(c),h.id in s&&Gl(),s[h.id]=h,c!==0&&h.path){const w=ga(h.fullPath);(!o[w]||h.fullPath.endsWith("/"))&&(o[w]=h)}c++;const[b,v,k]=Wl(t,h,f,p,r,y);if(h._interpolation=k,h.children)for(const w of h.children)u(w,v,b,k)}u(e,1,n);for(const h of r)h.sort(fx);return{processedTree:{segmentTree:n,singleCache:Ld(1e3),matchCache:Ld(1e3),flatCache:null,masksTree:null},routesById:s,routesByPath:o}}function zy(e,t,n=!1){const r=e.split("/"),s=$O(e,r,t,n);if(!s)return null;const[o]=px(e,r,s);return{route:s.node.route,rawParams:o}}function px(e,t,n){const r=BO(n.node),s=n.node.data&&NO(n.node.data),o=Object.create(null);let c=n.extract?.part??0,u=n.extract?.node??0,h=n.extract?.path??0,f=n.extract?.param??0;for(;u<r.length;c++,u++,h++){const p=r[u];if(p.kind===Vr)break;if(p.kind===hx){c--,h--;continue}const y=t[c],b=h;if(y&&(h+=y.length),p.kind===1||p.kind===3){const v=s[f++];if(p.kind===3&&n.skipped&1<<u){c--,h=b-1;continue}const k=p.suffix||p.prefix?y.substring(p.prefix.length,y.length-p.suffix.length):y;(k||p.kind===1)&&(o[v]=decodeURIComponent(k))}else if(p.kind===2){const v=p,k=e.substring(b+v.prefix.length,e.length-v.suffix.length),w=decodeURIComponent(k);o["*"]=w,o._splat=w;break}}return n.rawParams&&Object.assign(o,n.rawParams),[o,{part:c,node:u,path:h,param:f}]}function mx(e){const t=[e];for(;e.parentRoute;)e=e.parentRoute,t.push(e);return t.reverse(),t}function BO(e){const t=Array(e.depth+1);do t[e.depth]=e,e=e.parent;while(e);return t}function $O(e,t,n,r){if(e==="/"&&n.index)return{node:n.index,skipped:0};const s=!Gr(t),o=s&&e!=="/",c=t.length-(s?1:0),u=[{node:n,index:1,skipped:0,statics:0,dynamics:0,optionals:0}];let h=null,f=null;for(;u.length;){const p=u.pop(),{node:y,index:b,skipped:v,statics:k,dynamics:w,optionals:E}=p;let{extract:_,rawParams:A}=p;if(y.kind===2&&y.route&&!Mu(f,p))continue;if(y.parse){if(!aS(e,t,p))continue;A=p.rawParams,_=p.extract}r&&y.route&&y.kind!==Vr&&Mu(h,p)&&(h=p);const C=b===c;if(C&&(y.route&&(!o||y.kind===Vr||y.kind===2)&&Mu(f,p)&&(f=p),!y.optional&&!y.wildcard&&!y.index&&!y.pathless))continue;const P=C?void 0:t[b];let K;if(C&&y.index){const D={node:y.index,index:b,skipped:v,statics:k,dynamics:w,optionals:E,extract:_,rawParams:A};let I=!0;if(y.index.parse&&(aS(e,t,D)||(I=!1)),I){if(!w&&!E&&!v&&zO(k,c))return D;Mu(f,D)&&(f=D)}}if(y.wildcard)for(let D=y.wildcard.length-1;D>=0;D--){const I=y.wildcard[D],{prefix:$,suffix:Y}=I;if(!($&&(C||!(I.caseSensitive?P:K??=P.toLowerCase()).startsWith($)))){if(Y){if(C)continue;const re=t.slice(b).join("/"),z=re.slice(-Y.length);if((I.caseSensitive?z:z.toLowerCase())!==Y||re.length-Y.length<$.length)continue}u.push({node:I,index:c,skipped:v,statics:k,dynamics:w,optionals:E,extract:_,rawParams:A})}}if(y.optional){const D=v|1<<y.depth+1;for(let I=y.optional.length-1;I>=0;I--){const $=y.optional[I];u.push({node:$,index:b,skipped:D,statics:k,dynamics:w,optionals:E,extract:_,rawParams:A})}if(!C)for(let I=y.optional.length-1;I>=0;I--){const $=y.optional[I],{prefix:Y,suffix:re}=$;if(Y||re){const z=$.caseSensitive?P:K??=P.toLowerCase();if(Y&&!z.startsWith(Y)||re&&z.indexOf(re,z.length-re.length)<Y.length)continue}u.push({node:$,index:b+1,skipped:v,statics:k,dynamics:w,optionals:E+Lu(c,b),extract:_,rawParams:A})}}if(!C&&y.dynamic&&P)for(let D=y.dynamic.length-1;D>=0;D--){const I=y.dynamic[D],{prefix:$,suffix:Y}=I;if($||Y){const re=I.caseSensitive?P:K??=P.toLowerCase();if($&&!re.startsWith($)||Y&&re.indexOf(Y,re.length-Y.length)<$.length)continue}u.push({node:I,index:b+1,skipped:v,statics:k,dynamics:w+Lu(c,b),optionals:E,extract:_,rawParams:A})}if(!C&&y.staticInsensitive){const D=y.staticInsensitive.get(K??=P.toLowerCase());D&&u.push({node:D,index:b+1,skipped:v,statics:k+Lu(c,b),dynamics:w,optionals:E,extract:_,rawParams:A})}if(!C&&y.static){const D=y.static.get(P);D&&u.push({node:D,index:b+1,skipped:v,statics:k+Lu(c,b),dynamics:w,optionals:E,extract:_,rawParams:A})}if(y.pathless)for(let D=y.pathless.length-1;D>=0;D--){const I=y.pathless[D];u.push({node:I,index:b,skipped:v,statics:k,dynamics:w,optionals:E,extract:_,rawParams:A})}}if(f)return f;if(r&&h){let p=h.index;for(let b=0;b<h.index;b++)p+=t[b].length;const y=p===e.length?"/":e.slice(p);return h.rawParams??=Object.create(null),h.rawParams["**"]=decodeURIComponent(y),h}return null}function Lu(e,t){return 2**(e-t-1)}function zO(e,t){return e===2**(t-1)-1}function aS(e,t,n){let r,s;try{[r,s]=px(e,t,n)}catch{return null}if(n.rawParams=r,n.extract=s,!n.node.parse)return!0;try{if(n.node.parse(r)===!1)return null}catch{}return!0}function Mu(e,t){return e?t.statics>e.statics||t.statics===e.statics&&(t.dynamics>e.dynamics||t.dynamics===e.dynamics&&(t.optionals>e.optionals||t.optionals===e.optionals&&((t.node.kind===Vr)>(e.node.kind===Vr)||t.node.kind===Vr==(e.node.kind===Vr)&&t.node.depth>e.node.depth))):!0}function HO(){try{return sessionStorage}catch{return}}const UO="tsr-scroll-restoration-v1_3",yx=HO();function KO(){try{return JSON.parse(yx?.getItem("tsr-scroll-restoration-v1_3")||"{}")}catch{return{}}}const Os=KO(),rS="data-scroll-restoration-id",VO=e=>e.state.__TSR_key||e.href;function FO(e){const t=e.getAttribute(rS);if(t)return`[${rS}="${t}"]`;let n="",r=e,s;for(;s=r.parentNode;){let o=1,c=r;for(;c=c.previousElementSibling;)o++;const u=`${r.localName}:nth-child(${o})`;n=n?`${u} > ${n}`:u,r=s}return n}let Bu=!1;const Sd="window";function Gm(e){try{return typeof e=="function"?e():document.querySelector(e)}catch{}}function iS(e){const t=new Set;for(const n of e){if(n===Sd)continue;const r=Gm(n);r&&t.add(r)}return t}function qO(e,t){const n=e.options.scrollRestoration,r=e._scroll;n&&(r.e=!0);const s=e.options.getScrollRestorationKey||VO,o=new Set,c=u=>{const h=Os[u]||={};for(const f of o)f===document?h[Sd]={scrollX,scrollY}
10:f.isConnected&&(h[FO(f)]={scrollX:f.scrollLeft,scrollY:f.scrollTop})};n&&!r.s&&(r.s=!0,Bu=!1,history.scrollRestoration="manual",document.addEventListener("scroll",u=>{Bu||o.add(u.target)},!0),e.subscribe("onBeforeLoad",u=>{u.fromLocation&&c(s(u.fromLocation)),o.clear()}),addEventListener("pagehide",()=>{history.scrollRestoration="auto",c(s(e.stores.resolvedLocation.get()??e.stores.location.get()));try{yx?.setItem(UO,JSON.stringify(Os))}catch{}}),addEventListener("pageshow",u=>{u.persisted&&(history.scrollRestoration="manual")})),!r.r&&(r.r=!0,e.subscribe("onRendered",u=>{const h=e.options.scrollRestorationBehavior,f=e.options.scrollToTopSelectors,p=r.n,y=r.h;let b;if(o.clear(),r.n=!0,r.h=!1,typeof e.options.scrollRestoration=="function"&&!e.options.scrollRestoration({location:e.latestLocation}))return;const v=s(u.toLocation),k=u.fromLocation&&s(u.fromLocation);if(r.e&&k&&k!==v){const w=Os[k];if(w){let E=Os[v];for(const _ in w){if(_===Sd){if(p)continue}else{const A=Gm(_);if(!A||p&&f&&(b??=iS(f),b.has(A)))continue}E||(E=Os[v]={}),E[_]??=w[_]}}}Bu=!0;try{const w=u.toLocation.hash,E=u.toLocation.state.__hashScrollIntoViewOptions??!0;let _=!1;if(p){!w&&f&&(b??=iS(f));const A=w&&E&&y,C=r.e?Os[v]:void 0;if(C)for(const P in C){const{scrollX:K,scrollY:D}=C[P];if(P===Sd){if(A)continue;scrollTo({top:D,left:K,behavior:h}),_=!0}else{const I=Gm(P);I&&(I.scrollLeft=K,I.scrollTop=D,b?.delete(I))}}if(!w){const P={top:0,left:0,behavior:h};if(_||scrollTo(P),b)for(const K of b)K.scrollTo(P)}}!_&&w&&E&&document.getElementById(w)?.scrollIntoView(E)}finally{Bu=!1}}))}function gx(e,t=String){let n;for(const r in e){const s=e[r];s!==void 0&&(n||=new URLSearchParams).set(r,t(s))}return n?n.toString():""}function Jp(e){return e?e==="false"?!1:e==="true"?!0:+e*0===0&&+e+""===e?+e:e:""}function GO(e){const t=new URLSearchParams(e),n=Object.create(null);for(const[r,s]of t.entries()){const o=n[r];o==null?n[r]=Jp(s):Array.isArray(o)?o.push(Jp(s)):n[r]=[o,Jp(s)]}return n}const bx=/^(?:\s|["[{\d-]|fa|nu|tr)/,WO=JO(JSON.parse),YO=QO(JSON.stringify,JSON.parse);function JO(e){const t=e===JSON.parse;return n=>{n[0]==="?"&&(n=n.substring(1));const r=GO(n);for(const s in r){const o=r[s];if(typeof o=="string"){if(t&&!bx.test(o))continue;try{r[s]=e(o)}catch{}}}return r}}function QO(e,t){const n=t===JSON.parse;function r(s){if(s&&typeof s=="object")try{return e(s)}catch{}else if(t&&typeof s=="string"){if(n&&!bx.test(s))return s;try{return t(s),e(s)}catch{}}return s}return s=>{const o=gx(s,r);return o?`?${o}`:""}}const Zs="__root__";function XO(e,t,n){const r=dx(e),s=`/${r}`,o=t?s:s.toLowerCase(),c=`${o}/`,u={input:({url:h})=>{const f=t?h.pathname:h.pathname.toLowerCase();return f===o?h.pathname="/":f.startsWith(c)&&(h.pathname=h.pathname.slice(s.length)),h},output:({url:h})=>(h.pathname=Xs(`/${r}${h.pathname}`),h)};return n?{input:({url:h})=>Wm(n,u.input({url:h})),output:({url:h})=>u.output({url:vx(n,h)})}:u}function Wm(e,t){const n=e?.input?.({url:t});if(n){if(typeof n=="string")return new URL(n);if(n instanceof URL)return n}return t}function vx(e,t){const n=e?.output?.({url:t});if(n){if(typeof n=="string")return new URL(n);if(n instanceof URL)return n}return t}function ZO(e,t){const{createMutableStore:n,createReadonlyStore:r,batch:s}=t,o=new Map,c=n("idle"),u=n(e),h=n(void 0),f=n([]),p=r(()=>f.get().map(w=>o.get(w).get())),y=r(()=>({status:c.get(),isLoading:c.get()==="pending",matches:p.get(),location:u.get(),resolvedLocation:h.get()}));function b(w){let E=o.get(w);return E||(E=n(void 0),o.set(w,E)),E}const v={status:c,location:u,resolvedLocation:h,ids:f,matches:p,byRoute:o,__store:y,getMatchStore:b,setMatches:k};function k(w){const E=f.get(),_=w.map(A=>A.routeId);s(()=>{CO(E,_)||f.set(_);for(const A of E)_.includes(A)||o.get(A).set(()=>{});for(const A of w){const C=b(A.routeId);C.get()!==A&&C.set(A)}})}return v}var qr="__TSR_index",sS="popstate",oS="beforeunload",e2=/^[\x00-\x20]*(?:[\\/][\t\n\r]*){2,}/;function kd(e){const t=e2.exec(e);return t?"/"+e.slice(t[0].length):e}function wx(e){return/[\x00-\x1f\x7f]/.test(e)&&(e=e.replace(/[\x00-\x1f\x7f]/g,t=>`	
11\r`.includes(t)?"":encodeURIComponent(t))),kd(e)}function t2(e){let t=e.getLocation();const n=new Set,r=c=>
11{t=e.getLocation(),n.forEach(u=>u({location:t,action:c}))},s=c=>{e.notifyOnIndexChange??!0?r(c):t=e.getLocation()},o=async({task:c,navigateOpts:u,...h})=>{if(u?.ignoreBlocker??!1){c();return}const f=e.getBlockers?.()??[],p=h.type==="PUSH"||h.type==="REPLACE";if(typeof document<"u"&&f.length&&p)for(const y of f){const b=Md(h.path,h.state);if(await y.blockerFn({currentLocation:t,nextLocation:b,action:h.type})){e.onBlocked?.();return}}c()};return{get location(){return t},get length(){return e.getLength()},subscribers:n,subscribe:c=>(n.add(c),()=>{n.delete(c)}),push:(c,u,h)=>{const f=t.state[qr];u=lS(f+1,u),o({task:()=>{e.pushState(c,u),r({type:"PUSH"})},navigateOpts:h,type:"PUSH",path:c,state:u})},replace:(c,u,h)=>{const f=t.state[qr];u=lS(f,u),o({task:()=>{e.replaceState(c,u),r({type:"REPLACE"})},navigateOpts:h,type:"REPLACE",path:c,state:u})},go:(c,u)=>{o({task:()=>{e.go(c,u?.ignoreBlocker??!1),s({type:"GO",index:c})},navigateOpts:u,type:"GO"})},back:c=>{o({task:()=>{e.back(c?.ignoreBlocker??!1),s({type:"BACK"})},navigateOpts:c,type:"BACK"})},forward:c=>{o({task:()=>{e.forward(c?.ignoreBlocker??!1),s({type:"FORWARD"})},navigateOpts:c,type:"FORWARD"})},canGoBack:()=>t.state[qr]!==0,createHref:c=>e.createHref(c),block:c=>{if(!e.setBlockers)return()=>{};const u=e.getBlockers?.()??[];return e.setBlockers([...u,c]),()=>{const h=e.getBlockers?.()??[];e.setBlockers?.(h.filter(f=>f!==c))}},flush:()=>e.flush?.(),destroy:()=>e.destroy?.(),notify:r,_getBlockers:()=>e.getBlockers?.()??[]}}function lS(e,t){const n=Hy();return{...t,key:n,__TSR_key:n,[qr]:e}}function n2(e){const t=typeof document<"u"?window:void 0,n=t.history.pushState,r=t.history.replaceState;let s=[];const o=()=>s,c=I=>s=I,u=I=>wx(I),h=(()=>Md(`${t.location.pathname}${t.location.search}${t.location.hash}`,t.history.state));if(!t.history.state?.__TSR_key&&!t.history.state?.key){const I=Hy();t.history.replaceState({[qr]:0,key:I,__TSR_key:I},"")}let f=h(),p,y=!1,b=!1,v=!1,k=!1;const w=()=>f;let E;const _=()=>{E&&(D._ignoreSubscribers=!0,(E[2]?t.history.pushState:t.history.replaceState)(E[1],"",E[0]),D._ignoreSubscribers=!1,E=void 0,p=void 0)},A=(I,$,Y)=>{const re=!!E;re||(p=f),f=Md($,Y),E=[f.href,Y,E?.[2]||I],re||queueMicrotask(()=>_())},C=I=>{f=h(),D.notify({type:I})},P=async()=>{if(k=!1,b){b=!1;return}const I=h(),$=I.state[qr]-f.state[qr],Y=$===1,re=$===-1,z=!Y&&!re||y;y=!1;const H=z?"GO":re?"BACK":"FORWARD",te=z?{type:"GO",index:$}:{type:re?"BACK":"FORWARD"};if(v)v=!1;else{const Z=o();if(typeof document<"u"&&Z.length){for(const G of Z)if(await G.blockerFn({currentLocation:f,nextLocation:I,action:H})){b=!0,t.history.go(-$),D.notify(te);return}}}f=h(),D.notify(te)},K=I=>{if(k){k=!1;return}let $=!1;const Y=o();if(typeof document<"u"&&Y.length)for(const re of Y){const z=re.enableBeforeUnload??!0;if(z===!0){$=!0;break}if(typeof z=="function"&&z()===!0){$=!0;break}}if($)return I.preventDefault(),I.returnValue=""},D=t2({getLocation:w,getLength:()=>t.history.length,pushState:(I,$)=>A(!0,I,$),replaceState:(I,$)=>A(!1,I,$),back:I=>(I&&(v=!0,k=!0),t.history.back()),forward:I=>{I&&(v=!0,k=!0),t.history.forward()},go:(I,$)=>{y=!0,$&&(v=!0,k=!0),t.history.go(I)},createHref:I=>u(I),flush:_,destroy:()=>{t.history.pushState=n,t.history.replaceState=r,t.removeEventListener(oS,K,{capture:!0}),t.removeEventListener(sS,P)},onBlocked:()=>{p&&f!==p&&(f=p)},getBlockers:o,setBlockers:c,notifyOnIndexChange:!1});return D._ignoreNextBeforeUnload=I=>{k=!1;
11try{I=new URL(I,t.document.baseURI).href,k=/^https?:/.test(I)&&(!I.includes("#")||I.split("#")[0]!==t.location.href.split("#")[0])}catch{}},t.addEventListener(oS,K,{capture:!0}),t.addEventListener(sS,P),t.history.pushState=function(...I){const $=n.apply(t.history,I);return D._ignoreSubscribers||C("PUSH"),$},t.history.replaceState=function(...I){const $=r.apply(t.history,I);return D._ignoreSubscribers||C("REPLACE"),$},D}function Md(e,t){const n=wx(e),r=n.indexOf("#"),s=n.indexOf("?");if(!t){const o=Hy();t={[qr]:0,key:o,__TSR_key:o}}return{href:n,pathname:n.substring(0,r>0?s>0?Math.min(r,s):r:s>0?s:n.length),hash:r>-1?n.substring(r):"",search:s>-1?n.slice(s,r===-1?void 0:r):"",state:t}}function Hy(){return(Math.random()+1).toString(36).substring(7)}function Qp(e,t){return e.protocol!=="http:"&&e.protocol!=="https:"||e.origin!==t||!!e.username||!!e.password}function Xp(e){return e.pathname+e.search+e.hash}function cS(e){return e.options.loader||e.options.beforeLoad||e.lazyFn||e.options.component?.preload||e.options.pendingComponent?.preload}function a2(e){return e instanceof Error?{name:e.name,message:e.message}:{data:e}}function ih(e,t){return{fromLocation:t,toLocation:e,pathChanged:t?.pathname!==e.pathname,hrefChanged:t?.href!==e.href,hashChanged:t?.hash!==e.hash}}function uS({key:e,__TSR_key:t,__TSR_index:n,__hashScrollIntoViewOptions:r,...s}){return s}function Sx(e){return e.findIndex(t=>t.status==="error"||t.status==="notFound"||t._notFound)+1}function r2(e,t,n,r,s,o){r&&(t=t.slice(0,r)),s&&(n=n.slice(0,s));for(const c of t){if(o&&e._tx!==o)return;n.some(u=>u.routeId===c.routeId)||e.routesById[c.routeId].options.onLeave?.(c)}for(const c of n){if(o&&e._tx!==o)return;e.routesById[c.routeId].options[t.some(u=>u.routeId===c.routeId)?"onStay":"onEnter"]?.(c)}}var i2=class{constructor(e,t){this.tempLocationKey=`${Math.round(Math.random()*1e7)}`,this._scroll={n:!0},this.subscribers=new Set,this._cache=new Map,this._committed=[],this.startTransition=async n=>(n(),!1),this.update=n=>{const r=this.options;this.options={...r,...n},this.isServer=this.options.isServer??X0??typeof document>"u",this.staticLocations=new WeakMap,this.protocolAllowlist=new Set(this.options.protocolAllowlist),(!this.history||this.options.history&&this.options.history!==this.history)&&(this.options.history?this.history=this.options.history:this.history=n2()),this.origin=this.options.origin,this.origin||(window?.origin&&window.origin!=="null"?this.origin=window.origin:this.origin="http://localhost");const s=this.options.basepath??"/",o=this.options.rewrite,c=this.basepath!==s||r?.rewrite!==o||r?.caseSensitive!==this.options.caseSensitive;if(c&&(this.basepath=s,this.rewrite=s!=="/"&&dx(s)?XO(s,this.options.caseSensitive,o):o),this.history&&this.updateLatestLocation(),this.options.routeTree!==this.routeTree||X0){this.routeTree=this.options.routeTree;let u;u=this.buildRouteTree(),this.setRoutes(u)}if(this.stores)c&&this.stores.location.set(this.latestLocation);else if(this.latestLocation){const u=this.getStoreConfig(this);this.batch=u.batch,this.stores=ZO(this.latestLocation,u),qO(this)}},this.updateLatestLocation=()=>{this.latestLocation=this.parseLocation(this.history.location,this.latestLocation)},this.buildRouteTree=()=>{const n=MO(this.routeTree,this.options.caseSensitive);return this.options.routeMasks&&IO(this.options.routeMasks,n.processedTree),{...n,resolvePathCache:Ld(1e3)}},this.subscribe=(n,r)=>{const s={eventType:n,fn:r};return this.subscribers.add(s),()=>{this.subscribers.delete(s)}},this.emit=n=>{for(const r of this.subscribers)if(r.eventType===n.type)try{r.fn(n)}catch(s){console.error(s)}},this.parseLocation=(n,r)=>{const s=({pathname:h,search:f,hash:p,href:y},b)=>{if(!this.rewrite&&!/[ \x00-\x1f\x7f\u0080-\uffff]/.test(h)){const E=this.options.parseSearch(f),_=this.options.stringifySearch(E);return{href:h+_+p,publicHref:h+_+p,pathname:fl(h),external:!1,searchStr:_,search:Ts(r?.search,E),hash:fl(p.slice(1)),state:Fr(r?.state,b)}}const v=Wm(this.rewrite,new URL(y,this.origin)),k=this.options.parseSearch(v.search),w=this.options.stringifySearch(k);return v.search=w,{href:v.href.replace(v.origin,""),publicHref:y,pathname:fl(kd(v.pathname)),external:!!this.rewrite&&Qp(v,this.origin),searchStr:w,search:Ts(r?.search,k),hash:fl(v.hash.slice(1)),state:Fr(r?.state,b)}},o=s(n,n.state),{__tempLocation:c,__tempKey:u}=o.state;if(c&&(!u||u===this.tempLocationKey)){const h=s(c,{...c.state,__tempLocation:void 0,key:o.state.key,__TSR_key:o.state.__TSR_key});return h.maskedLocation=o,h}return o},this.matchRoutes=(n,r,s)=>typeof n=="string"?this.matchRoutesInternal({pathname:n,search:r},s):this.matchRoutesInternal(n,r),this.getMatchedRoutes=n=>{const r=Object.create(null),s=LO(ga(n),this.processedTree,!0);return s&&Object.assign(r,s.rawParams),[s?.branch||[this.routesById.__root__],r,s?.route]},this.buildLocation=n=>{{const c=this.staticLocations.get(n);if(c)return c}let r=!1;const s=(c={})=>
11{if(c.href){const Z=Md(c.href,{});c={...c,to:Wm(this.rewrite,new URL(Z.pathname,this.origin)).pathname,search:this.options.parseSearch(Z.search),hash:Z.hash.slice(1)}}const u=c._fromLocation||this._pendingLocation||this.latestLocation;let h;const f=()=>(r=!0,u),p=()=>(r=!0,h??=this.matchRoutesLightweight(u)),y=c.to?`${c.to}`:".",b=tS(y[0]==="/"?"":c.unsafeRelative==="path"?f().pathname:c.from??p()[1],y,this.options.trailingSlash,this.resolvePathCache),v=this.routesByPath[ga(b)],k=b.includes("$");let w;if(v)w=v._branch??=mx(v);else if(k)w=[];else{const[Z,G,M]=this.getMatchedRoutes(b);w=Z,this.options.notFoundRoute&&(!M||M.path!=="/"&&G["**"])&&(w=[...w,this.options.notFoundRoute])}const E=k?v?._interpolation??Wl(!1,{fullPath:b},0):void 0;let _;for(const Z of w){const G=Z.options.params?.stringify??Z.options.stringifyParams;if(G){const M=p()[3];if(_??=Zp(c.params,M),!ox(_))break;_===M&&(_=Object.assign(wd(),_));try{Object.assign(_,G(_))}catch{}}}_??=Zp(c.params,o2(c.params,E)?p()[3]:em);const A=n.leaveParams?b:kd(fl(E?nS(b,E,_,this.pathParamsDecoder):b)),C=l2(w,n._includeValidateSearch),P=()=>{let Z=p()[2];if(n._includeValidateSearch&&this.options.search?.strict){const G={};w.forEach(M=>{if(M.options.validateSearch)try{Object.assign(G,_d(M.options.validateSearch,{...G,...Z}))}catch{}}),Z=G}return Z},K=C.length?c2(C,P(),c):c.search===!0?P():typeof c.search=="function"?c.search(P()):c.search||em,D=this.options.stringifySearch(K),I=c.hash===!0?f().hash:typeof c.hash=="function"?c.hash(f().hash):c.hash||void 0,$=I?`#${I}`:"",Y=c.state?c.state===!0?f().state:typeof c.state=="function"?c.state(f().state):c.state:em,re=`${A}${D}${$}`;let z,H,te=!1;if(this.rewrite){const Z=new URL(re,this.origin),G=Z.origin,M=vx(this.rewrite,Z);z=Xp(Z),Qp(M,G)?(H=M.href,te=!0):H=kd(Xp(M))}else z=RO(re),H=z;return{publicHref:H,href:z,pathname:A,search:K,searchStr:D,state:Y,hash:I??"",external:te,unmaskOnReload:c.unmaskOnReload}},o=s(n);if(n.mask)o.maskedLocation=s({from:n.from,...n.mask});else if(this.options.routeMasks){const c=PO(o.pathname,this.processedTree);if(c){const u=Object.assign(wd(),c.rawParams),{from:h,params:f,...p}=c.route,y=Zp(f,u);o.maskedLocation=s({from:n.from,...p,params:y})}}return!r&&n._fromLocation&&!o.maskedLocation&&this.staticLocations.set(n,o),o},this.commitLocation=async({viewTransition:n,ignoreBlocker:r,...s})=>{const o=s.maskedLocation??s;if(o.external)return dS(this,o.publicHref,{replace:s.replace,ignoreBlocker:r});let c;const u=ga(this.latestLocation.href)===ga(s.href)&&aa(uS(s.state),uS(this.latestLocation.state)),h=this._commitPromise;let f;const p=new Promise(y=>{f=y});if(p.resolve=()=>{f(),h?.resolve()},this._commitPromise=p,u)this.load();else{let{maskedLocation:y,hashScrollIntoView:b,...v}=s;y&&(v={...y,state:{...y.state,__tempKey:void 0,__tempLocation:{...v,search:v.searchStr,state:{...v.state,__tempKey:void 0,__tempLocation:void 0,__TSR_key:void 0,key:void 0}}}},(v.unmaskOnReload??this.options.unmaskOnReload??!1)&&(v.state.__tempKey=this.tempLocationKey)),v.state={...v.state,__hashScrollIntoViewOptions:b??this.options.defaultHashScrollIntoView??!0},this.shouldViewTransition=n,c=s.replace?"REPLACE":"PUSH",this.history[c==="REPLACE"?"replace":"push"](v.publicHref,v.state,{ignoreBlocker:r}),this.history.subscribers.size||this.load({action:{type:c}})}return this._scroll.n=s.resetScroll??!0,this._commitPromise},this.buildAndCommitLocation=({replace:n,resetScroll:r,hashScrollIntoView:s,viewTransition:o,ignoreBlocker:c,...u}={})=>{const h=this.buildLocation({...u,_includeValidateSearch:!0});this._pendingLocation=h;const f=this.commitLocation({...h,viewTransition:o,replace:n,resetScroll:r,hashScrollIntoView:s,ignoreBlocker:c});return queueMicrotask(()=>{this._pendingLocation===h&&(this._pendingLocation=void 0)}),f},this.navigate=async({to:n,reloadDocument:r,href:s,publicHref:o,...c})=>{const u=s?ql(s):void 0;if(u||r){if(n!==void 0||!s){const f=this.buildLocation({to:n,...c}),p=f.maskedLocation??f;s??=p.publicHref,o??=p.publicHref}return dS(this,!u&&o?o:s,c)}return this.buildAndCommitLocation({...c,href:s,to:n,_isNavigate:!0})},this.load=async n=>{this.updateLatestLocation(),n?.action&&(this._scroll.h=n.action.type==="PUSH"||n.action.type==="REPLACE"),await g2(this,n)},this.startViewTransition=n=>
11{const r=this.shouldViewTransition??this.options.defaultViewTransition;if(this.shouldViewTransition=void 0,r&&typeof document.startViewTransition=="function"){let s;if(typeof r=="object"&&window.CSS?.supports?.("selector(:active-view-transition-type(a))")){const o=this.latestLocation,c=this.stores.resolvedLocation.get(),u=typeof r.types=="function"?r.types(ih(o,c)):r.types;if(u===!1)return n();s={update:n,types:u}}else s=n;return document.startViewTransition(s).updateCallbackDone}return n()},this.invalidate=n=>{const r=this._committed,s=n?.filter,o=this._preloads,c=new Set,u=p=>{(!s||s(p))&&c.add(p.id)};r.forEach(u),this._cache.forEach(u),o?.forEach(p=>p.forEach(u)),this._tx?.[3].forEach(u);const h=[];for(const[p,y]of o??[])y.some(b=>c.has(b.id))&&(o.delete(p),h.push(p));const f=p=>{if(c.has(p.id)){const y=this.routesById[p.routeId],b={...p,invalid:!0,...(n?.forcePending||p.status==="error"||p.status==="notFound")&&cS(y)?{status:"pending",error:void 0}:void 0};return p._flight=void 0,b}return p};this._committed=r.map(f);for(const[p,y]of this._cache)c.has(p)&&(y.invalid=!0,n?.forcePending&&(y.status="pending"));for(const p of c){const y=this._flights?.get(p);this._flights?.delete(p),y&&!y[2]&&h.push(y[1])}for(const p of h)p.abort();return this.shouldViewTransition=!1,this.load({sync:n?.sync})},this.resolveRedirect=n=>{const r=n.options;let s=n.headers.get("Location")||r.href;if(!s){const c=this.buildLocation(r);s=(c.maskedLocation??c).publicHref||"/"}let o;if(lx.test(s)||(o=ql(s))&&!this.protocolAllowlist.has(o))throw new Error("Redirect blocked: unsafe protocol");if(o==="http:"||o==="https:"){const c=new URL(s);c.pathname.startsWith("//")?s=c.href:Qp(c,this.origin)||(s=Xp(c),o=void 0)}return o&&(r.reloadDocument=!0),r.href=s,n.headers.set("Location",s),n},this.clearCache=n=>{const r=this._cache,s=this._preloads,o=n?.filter,c=[],u=[];for(const[f,p]of r)(!o||o(p))&&(u.push(f),c.push(p));const h=[];for(const[f,p]of s??[])(!o||p.some(o))&&(h.push(f),c.push(...p));for(const f of u)r.delete(f);for(const f of h)s.delete(f);for(const f of c){const p=f._flight;f._flight=void 0,p&&!--p[2]&&(this._flights?.get(f.id)===p&&this._flights.delete(f.id),h.push(p[1]))}for(const f of h)f.abort()},this.loadRouteChunk=nr,this.preloadRoute=n=>b2(this,n),this.matchRoute=(n,r)=>{const s={...n,to:n.to?tS(n.from||"",n.to,this.options.trailingSlash,this.resolvePathCache):void 0,params:n.params||{},leaveParams:!0},o=this.buildLocation(s),c=this.stores.status.get()==="pending";if(r?.pending&&!c)return!1;const u=r?.pending??!c?this.latestLocation:this.stores.resolvedLocation.get()||this.stores.location.get(),h=jO(o.pathname,r?.caseSensitive??!1,r?.fuzzy??!1,u.pathname,this.processedTree);return!h||n.params&&!aa(h.rawParams,n.params,!0)?!1:r?.includeSearch??!0?aa(u.search,o.search,!0)?h.rawParams:!1:h.rawParams},this.getStoreConfig=t,e.pathParamsAllowedCharacters?.length&&(this.pathParamsDecoder=AO(e.pathParamsAllowedCharacters)),this.update({defaultPreloadDelay:50,defaultPendingMs:1e3,defaultPendingMinMs:500,context:void 0,...e,caseSensitive:e.caseSensitive??!1,notFoundMode:e.notFoundMode??"fuzzy",stringifySearch:e.stringifySearch??YO,parseSearch:e.parseSearch??WO,protocolAllowlist:e.protocolAllowlist??kO}),self.__TSR_ROUTER__=this}isShell(){return!!this.options.isShell}get state(){return this.stores.__store.get()}setRoutes(e){Object.assign(this,e),this.lightweightCache=new WeakMap,this.staticLocations=new WeakMap;const t=this.options.notFoundRoute;t&&(t.init(99999999999),this.routesById[t.id]!==t&&(t._interpolation=Wl(!1,t,0)),this.routesById[t.id]=t)}matchRoutesInternal(e,t){const[n,r,s]=this.getMatchedRoutes(e.pathname);let o=n,c=!1;(s?s.path!=="/"&&r["**"]:ga(e.pathname))&&(this.options.notFoundRoute?o=[...o,this.options.notFoundRoute]:c=!0);const u=c?u2(this.options.notFoundMode,o):void 0,h=new Array(o.length),f=this._committed,p=(b,v)=>{const k=f[v];return k?.routeId===b.id?k:b===this.options.notFoundRoute?f.find(w=>w.routeId===b.id):void 0};let y;for(let b=0;b<o.length;b++){const v=o[b],k=h[b-1];let w,E,_;{const te=k?.search??e.search,Z=k?._strictSearch??void 0;try{const G=_d(v.options.validateSearch,{...te})??void 0;w={...te,...G},E={...Z,...G}}catch(G){let M=G;if(G instanceof Bd||(M=new Bd(G.message,{cause:G})),t?.throwOnError)throw M;w=te,E={},_=M}}let A="",C="";try{A=v.options.loaderDeps?.({search:w})??"",C=A&&JSON.stringify(A)||""}catch(te){if(t?.throwOnError)throw te;_??=te}const P=wd(),K=v._interpolation?nS(v.fullPath,v._interpolation,r,this.pathParamsDecoder,P):v.fullPath,D=v.id+K+C,I=p(v,b),$=this._cache.get(
11D)??(I?.id===D?I:void 0);y=$?._strictParams??Object.assign(P,y);let Y;if(!$)try{hS(v,y)}catch(te){if(Ii(te)||Fl(te)?Y=te:Y=new s2(te.message,{cause:te}),t?.throwOnError)throw Y}const re=I?"stay":"enter";let z;if($)z={...$,cause:re,search:Ts(I?I.search:$.search,w),_strictSearch:E,searchError:_};else{const te=cS(v)?"pending":"success";z={id:D,ssr:v.options.ssr,index:b,routeId:v.id,params:I?.params??y,_strictParams:y,pathname:K,updatedAt:Date.now(),search:I?Ts(I.search,w):w,_strictSearch:E,searchError:_,status:te,isFetching:!1,error:void 0,paramsError:Y,context:{},abortController:t?._controller??new AbortController,cause:re,loaderDeps:I?Fr(I.loaderDeps,A):A,invalid:!1,preload:!1,staticData:v.options.staticData||{},fullPath:v.fullPath}}const H=u===v.id;z._notFound&&!H&&(z.error=void 0),z._notFound=H,h[b]=z}for(let b=0;b<h.length;b++){const v=h[b];v.params=v.cause==="stay"?Ts(v.params,y):y,t?._controller&&(v.context={})}return h}matchRoutesLightweight(e){const t=Gr(this.stores.ids.get()),n=t?this.stores.byRoute.get(t).get():void 0,r=n?.id,s=this.lightweightCache.get(e);if(s&&s[0]===r)return s[1];const[o,c]=this.getMatchedRoutes(e.pathname),u=Gr(o),h={...e.search};for(const b of o)try{Object.assign(h,_d(b.options.validateSearch,h))}catch{}const f=n&&n.routeId===u.id&&n.pathname===e.pathname;let p;if(f)p=n.params;else{const b=c;for(const v of o)try{hS(v,b)}catch{}p=b}const y=[o,u.fullPath,h,p];return this.lightweightCache.set(e,[r,y]),y}};async function dS(e,t,{replace:n,ignoreBlocker:r}){if(!cx(t,e.protocolAllowlist)){if(!r){const s=e.history._getBlockers();for(const o of s)if(o?.blockerFn&&await o.blockerFn({currentLocation:e.history.location,nextLocation:e.history.location,action:n?"REPLACE":"PUSH"}))return}e.history._ignoreNextBeforeUnload?.(t),n?window.location.replace(t):window.location.href=t}}var Bd=class extends Error{},s2=class extends Error{};function _d(e,t){if(e==null)return{};if("~standard"in e){const n=e["~standard"].validate(t);if(n instanceof Promise)throw new Bd("Async validation not supported");if(n.issues)throw new Bd(JSON.stringify(n.issues,void 0,2),{cause:n});return n.value}return"parse"in e?e.parse(t):typeof e=="function"?e(t):{}}function Zp(e,t){if(e===void 0||e===!0)return t;const n=Object.create(null);return e===!1||e===null?n:typeof e=="function"?(Object.assign(n,t),Object.assign(n,e(n))):Object.assign(n,t,e)}function o2(e,t){return typeof e=="function"?!0:!t||e===!1||e===null?!1:e===void 0||e===!0||t.some(n=>typeof n!="string"&&!$y.call(e,n[1]))}const em=Object.freeze({});function l2(e,t){const n=[];for(let r=0;r<e.length;r++){const s=e[r].options;if("search"in s)s.search?.middlewares&&n.push(...s.search.middlewares);else if(s.preSearchFilters||s.postSearchFilters){const c=({search:u,next:h})=>{const f=h(s.preSearchFilters?s.preSearchFilters.reduce((p,y)=>y(p),u):u);return s.postSearchFilters?s.postSearchFilters.reduce((p,y)=>y(p),f):f};n.push(c)}const o=s.validateSearch;if(t&&o){const c=({search:u,next:h,meta:f})=>{const p=h(u);try{const y=_d(o,p);if(f&&y)for(const b in y)b in p||(f.defaulted||=new Map).set(b,y[b]);return{...p,...y}}catch{}return p};n.push(c)}}return n}function c2(e,t,n){const r=(s,o,c)=>{if(s>=e.length){if(!n.search)return{};if(n.search===!0)return o;const h=sx(n.search,o);return c&&(c.explicit=h),h}const u=(h,f)=>{if(f){const p=c||{};return{search:r(s+1,h,p),meta:p}}return r(s+1,h,c)};return e[s]({search:o,next:u,meta:c})};return r(0,t)}function u2(e,t){if(e!=="root"){let n;for(let r=t.length-1;r>=0;r--){const s=t[r];if(s.options.notFoundComponent)return s.id;n||=s.children&&s.id}if(n)return n}return Zs}function hS(e,t){const n=e.options.params?.parse??e.options.parseParams;n&&Object.assign(t,n(t))}function Ym(e,t){return e.options[t]?.preload?.()}function d2(e,t){const n=Ym(e,"component");let r=Ym(e,"pendingComponent");return t&&(r?r=r.then(t):t()),n&&r?Promise.all([n,r]).then(()=>{}):n??r}function nr(e,t,n){const r=()=>t===!1?void 0:t?Ym(e,t):d2(e,n),s=e._lazy;if(s)return s===!0?r():s.then(r);if(!e.lazyFn)return r();const o=e.lazyFn().then(c=>{{const{id:u,...h}=c.options;Object.assign(e.options,h),e._lazy=!0}},c=>{throw e._lazy=void 0,c});return e._lazy=o,o.then(r)}function Uy(e){const t=e.findIndex(n=>n.status!=="success"||n._notFound)+1;return t&&t<e.length?e.slice(0,t):e}function kx(e){let t=e.length;for(let n=0;n<t;n++){const r=e[n];if(r._assetEnd!==void 0){t=Math.min(t,Math.max(n+1,r._assetEnd));continue}if(r.status!=="success"||r._notFound){t=n+1;break}}return t<e.length?e.slice(0,t):e}const Sa=0,ar=1,sh=2,Xt=3,Wr=[4];function Yl(e){return typeof e[0]=="number"}function rr(e,t){return t.aborted?Promise.race([Promise.reject(t),e]):new Promise((n,r)=>{const s=()=>r(t);t.addEventListener("abort",s,{once:!0}),Promise.resolve(e).then(n,r).then(()=>t.removeEventListener("abort",s))})}function na(e,t){return e.routesById[t.routeId]}function Jl(e,t,n){return Fl(e)?[Xt,e]:Ii(e)?(e.routeId||=n,[sh,e]):t?(typeof e?.then=="function"&&(e=new Error("A Promise was thrown",{c
11ause:e})),[ar,e]):[Sa,e]}function Ky(e,t){let n=Jl(t,!0,e.id);if(n[0]!==ar)return n;try{e.options.onError?.(n[1])}catch(r){n=Jl(r,!0,e.id)}return n}function Ll(e,t,n,r,s){return s[0].signal.aborted?Wr:qy(e,t,n,Ky(n,r),s)}async function h2(e,t,n,r,s,o){const[c,u]=t,h=n[0].signal,f=!!n[3];for(let p=n[6]??0;p<r;p++){const y=u[p],b=na(e,y);y.abortController=n[0];const v=u[p-1]?.context??e.options.context??{},k={params:y.params,location:c,navigate:A=>e.navigate({...A,_fromLocation:c}),buildLocation:e.buildLocation,cause:f?"preload":y.cause,abortController:n[0],preload:f,matches:u,routeId:b.id};try{const A=y._ctx||=b.options.context?b.options.context({...k,deps:y.loaderDeps,context:v})||{}:void 0;y.context={...v,...A}}catch(A){return tr(e,y),[p,Ll(e,t,b,A,n)]}if(h.aborted)return[p,Wr];const w=y.paramsError??y.searchError;if(w!==void 0)return tr(e,y),[p,Ll(e,t,b,w,n)];const E=b.options.beforeLoad;if(!E)continue;const _=y.status;p>=o&&(y.status="pending",n[7]?.());try{Ql(e,y,"beforeLoad",n[0]);const A=E({...k,search:y.search,context:y.context,...e.options.additionalContext}),C=await(typeof A?.then=="function"?rr(A,h):A);if(h.aborted)return[p,Wr];const P=qy(e,t,b,Jl(C,!1,b.id),n);if(P[0]!==Sa)return tr(e,y),[p,P];y.context={...y.context,...C}}catch(A){return tr(e,y),[p,Ll(e,t,b,A,n)]}finally{y.status=_,Ql(e,y,!1,n[0])}}s()}function Vy(e,t,n){if(!(!n||--n[2])){if(e._flights?.get(t.id)===n){const r=e._tx;if(r&&!r[0].signal.aborted&&!r[3].includes(t)&&r[3].some(s=>s.id===t.id)&&r[3].some(s=>s.isFetching==="beforeLoad"))return;e._flights.delete(t.id)}return n[1]}}function tr(e,t){const n=t._flight;t._flight=void 0,Vy(e,t,n)?.abort()}function Ft(e,t,n,r){const s=[];for(const o of t)if(!n?.includes(o)){const c=o._flight;if(o._flight=void 0,r&&c?.[2]===1&&e._flights?.get(o.id)===c&&n?.some(u=>u.id===o.id))c[2]=0;else{const u=Vy(e,o,c);u&&s.push(u)}}for(const o of s)o.abort()}function Fy(e){for(const t of e){const n=t._flight;n&&n[2]++}}function Ql(e,t,n,r){if(t.isFetching=n,r&&e._tx?.[0]!==r)return;const s=e.stores.byRoute.get(t.routeId),o=s?.get();o?.id===t.id&&s.set({...o,isFetching:n})}function _x(e,t,n,r,s,o,c){const u=t[0];return{params:n.params,location:u,navigate:h=>e.navigate({...h,_fromLocation:u}),cause:c?"preload":n.cause,abortController:s,preload:c,deps:n.loaderDeps,parentMatchPromise:o,context:n.context,route:r,...e.options.additionalContext}}async function fS(e,t,n,r,s,o,c){const u=c[0],h=u.signal;if(h.aborted)return Wr;if(!s)return[Sa,void 0];let f=n._flight;Ql(e,n,"loader",u);try{if(!f){const p=new AbortController;f=[Promise.resolve().then(()=>s(_x(e,t,n,r,p,o,!!c[3]))).then(y=>Jl(y,!1,r.id),y=>Jl(y,!0,r.id)).then(y=>(y[0]!==Sa&&e._flights?.get(n.id)===f&&(e._flights.delete(n.id),f[2]||p.abort()),y[0]===ar&&f[2]?Ky(r,y[1]):y)),p,1],(e._flights??=new Map).set(n.id,f)}return n._flight=f,n.abortController=f[1],qy(e,t,r,await rr(f[0],h),c)}catch(p){if(p!==h||!h.aborted)throw p;return tr(e,n),Wr}finally{Ql(e,n,!1,u)}}function pS(e,t,n){t[0]!==Xt&&(e.status="success",e.error=void 0,t[0]===Sa?(e.loaderData=t[1],e.invalid=!1,e.updatedAt=Date.now(),e.preload=n):e.invalid=!0)}function xx(e,t,n){const r=e._cache.get(t.id);if(r!==n||e._committed.some(o=>o.id===t.id&&o._flight===t._flight))return;const s={...t,_notFound:void 0,context:{}};s._flight&&s._flight[2]++,e._cache.set(t.id,s),r&&tr(e,r)}function mS(e,t){return t[0]===ar||t[0]===sh?{...e,status:t[0]===ar?"error":"notFound",error:t[1],_flight:void 0}:e}function f2(e,t,n,r,s,o,c){const u=t[1][n],h=na(e,u),f=!!o[3],p=e._cache.get(u.id);let y,b=!1,v;try{if(u.status==="success"&&(y=h.options.shouldReload,typeof y=="function"&&(y=y(_x(e,t,u,h,o[0],s,f))),o[0].signal.aborted&&(v=Wr)),!v)if(u.status!=="success")b=!0;else{const H=f||u.preload?h.options.preloadStaleTime??e.options.defaultPreloadStaleTime??3e4:h.options.staleTime??e.options.defaultStaleTime??0;b=!!(u.invalid||y||y===void 0&&Date.now()-u.updatedAt>=H&&(o[5]||u.cause==="enter"||o[2].some(te=>te.routeId===u.routeId&&te.id!==u.id)))}}catch(H){u.invalid=!0,tr(e,u),v=Ll(e,t,h,H,o)}const k=h.options.loader,w=typeof k=="function",E=w?k:k?.handler,_=!f||h.options.preload!==!1;let A=_&&k?e._flights?.get(u.id):void 0;A===u._flight||v?A=void 0:A&&!b&&!f&&y===void 0?b=!0:b||(A=void 0);const C=!!(k&&b&&u.status==="success"&&!f&&!o[4]&&((w?void 0:k.staleReloadMode)??e.options.defaultStaleReloadMode)!=="blocking"),P=b&&_,K=P&&!C&&(u.status!=="success"||!!k),D=n>=c?o[7]:void 0,I=h.lazyFn&&h._lazy!==!0?D:void 0;if(P&&!k&&(u.invalid=!1,u.updatedAt=Date.now()),A&&A[2]++,K){const H=u._flight;u._flight=A,Vy(e,u,H)?.abort(),n>=c&&(u.status="pending"),D?.()}P||(u.isFetching=!1);const $=!v&&K?fS(e,t,u,h,E,s,o).then(H=>(pS(u,H,f),H[0]===Sa&&(k&&!o[0].signal.aborted&&xx(e,u,p),n>=c&&(u.status="pending")),H)):Promise.resolve(v??[Sa,u.loaderData]),Y=(async()=>{try{const te=nr(h,void 0,I);te&&await rr(te,o[0].signal)}catch(te){if(!t[1].some((Z,G)=>G<=n&&(Z.status==="error"||Z.status==="notFound"||Z._notFound)))return[n,Ll(e,t,h,te,o)]}const H=await $;
11K&&H[0]===Sa&&u.status==="pending"&&!o[0].signal.aborted&&(u.status="success",D?.())})();if(r.push([n,$,Y]),!C)return $.then(H=>mS(u,H));const re={...u,status:"pending",preload:!1,_flight:A};u.invalid=!1,u.isFetching="loader";const z=fS(e,t,re,h,E,s,o).then(H=>(u.isFetching=!1,pS(re,H,!1),H));return(t[2]??=[]).push([n,z,Y,re]),z.then(H=>mS(re,H))}async function Jm(e,t,n,r,s=0){const o=n?.[1][1];let c=o?.routeId?t.findIndex(u=>u.routeId===o.routeId):n?.[0]??t.length-1;c<0&&(c=0);for(let u=c;u>=0;u--){const h=na(e,t[u]);try{const f=nr(h,!1);f&&await rr(f,r)}catch(f){if(f===r&&r.aborted)throw f}if(h.options.notFoundComponent)return u}return o?.routeId?c:s}function Di(e,t){t[2]&&(Ft(e,t[2].map(n=>n[3])),t[2]=void 0)}async function yS(e,t,n,r){let s;try{await Promise.all(e.map(o=>o[1].then(async c=>{const u=o[0];if(!(r&&u>=await r)){if(c[0]>=Xt)throw[u,c];!s&&c[0]!==Sa&&(s=[u,c],await Promise.all((n??[]).map(h=>{if(!(h[0]<=u))return h[1].then(f=>{if(f[0]===Xt)throw[h[0],f]})})))}})))}catch(o){return o}return t??s}function qy(e,t,n,r,s,o){for(;r[0]===Xt;){const c=r[1],u=c.options;try{if((u.href||c.headers.has("Location"))&&(e.resolveRedirect(c),u.reloadDocument)||(u.reloadDocument?s[3]:s[1]>=20))return r;const h=e.buildLocation({...u,_fromLocation:t[0],_includeValidateSearch:!0}),f=h.maskedLocation??h;if(f.external){const p=c.clone();return p.options={...u},p.headers.set("Location",f.publicHref),e.resolveRedirect(p),s[3]?[Xt,p]:[Xt,p,f]}return[Xt,c,h]}catch(h){r=o?[ar,h]:Ky(n,h),o=!0}}return r}async function Ex(e,t,n,r,s,o){const c=t[1];let u=await s,h=!1;const f=c.findIndex(v=>v._notFound),p=v=>v[1][0]===sh?Jm(e,c,v,r.signal):v[0];let y=f<0?c.length:f;if((u?.[1][0]??0)>=Xt)y=0;else if(u){y=u[2]??=await p(u);for(const v of n){if(v[0]>=y)break;const k=await v[1];if(k[0]!==Sa&&k[0]<Xt&&!("loaderData"in c[v[0]])){u=[v[0],k],y=u[2]=await p(u);break}}}for(const v of n){if(v[0]>=y)break;const k=await v[2];if(k){u=k;break}}if((u?.[1][0]??0)>=Xt){const v=u[1];if(v[0]!==Xt||v[1].options.reloadDocument||v[2])return Di(e,t),v;h=!0,u=[0,[ar,new Error("Too many redirects")]]}const b=u?u[2]??await p(u):f;if(b>=0){const v=u?.[1],k=v?.[0],w=c[b],E=v?.[1],_=()=>{v&&(w._notFound=void 0,k===ar?w.status="error":(E.routeId=w.routeId,w.routeId===e.routeTree.id?(w.status="success",w._notFound=!0):w.status="notFound"),w.error=E,w.isFetching=!1)};_(),v||o?.();const A=na(e,w);try{await rr(v?Promise.resolve().then(()=>nr(A,k===ar?"errorComponent":"notFoundComponent")):Promise.all([nr(A),nr(A,"notFoundComponent")]),r.signal)}catch(C){if(C===r.signal&&r.signal.aborted)return Di(e,t),Wr}v?h&&(r.abort(),await Promise.all([...n.map(C=>C[1]),...n.map(C=>C[2]),...(t[2]??[]).map(C=>C[1])]),Di(e,t),Ft(e,c),_()):w.status="success"}return t}async function Gy(e,t,n,r=0,s=t[1].length){const o=t[1];for(let c=r;c<s;c++){const u=o[c],h=na(e,u).options;if(h.head||h.scripts)try{const f={ssr:e.options.ssr,matches:o,match:u,params:u.params,loaderData:u.loaderData},[p,y]=await rr(Promise.all([h.head?.(f),h.scripts?.(f)]),n);u.meta=p?.meta,u.links=p?.links,u.headScripts=p?.scripts,u.styles=p?.styles,u.scripts=y}catch(f){if(f===n&&n.aborted)break;console.error(f)}if(u.status!=="success"||u._notFound)break}return t}async function Rx(e,t,n,r){const s=[t,n],o=r[0].signal;let c;try{const u=e.stores.matches.get();let h=n.findIndex(_=>_._notFound);if(e.options.notFoundMode!=="root"&&h>=0){const _=await Jm(e,n,void 0,o,h);n[h]._notFound=void 0,n[_]._notFound=!0,h=_}let f=h<0?n.length:h+1,p=0;for(;p<f&&p!==h;){const _=n[p],A=r[2][p],C=u[p];if(A?.id!==_.id||A.status!=="success"||_.preload||C?.id!==_.id||C.status!=="success"||(p++,A._notFound||C._notFound))break}const y=[],b=r[6]??0;let v=b?Promise.resolve(n[b-1]):void 0;const k=()=>{for(let _=b;_<f&&!o.aborted;_++)v=f2(e,s,_,y,v,r,p)},w=await h2(e,s,r,f,k,p);if(w){if(r[4]=!0,f=w[0],w[1][0]===sh){const _=await Jm(e,n,w,o);w[2]=_,f=Math.min(f,_+1)}else w[1][0]>=Xt&&(f=0);k()}if(!o.aborted&&!r[3]){const _=[];for(const[A,C]of e._flights??[])C[2]||(e._flights.delete(A),_.push(C[1]));for(const A of _)A.abort()}const E=Ex(e,s,y,r[0],yS(y,w,s[2]),r[7]);s[2]?.length&&(s[3]=yS(s[2],void 0,void 0,E.then(_=>Yl(_)?0:Uy(n).length,()=>0))),c=await E}catch(u){if(Di(e,s),u===o&&o.aborted)return Wr;throw u}return Yl(c)?c:Gy(e,c,o,r[6]===n.length?r[6]:0)}function Qm(e,t){if(e._tx!==t)return;const n=t[3],r=e.stores.matches.get();let s=e._pending;
11for(let o=0;o<n.length;o++){const c=n[o],u=c.status==="success"&&!c._notFound,h=r[o]?.id===c.id&&r[o]?.status==="pending";if(u&&!h)continue;const f=na(e,c),p=u||c.invalid?0:f.options.pendingMs??e.options.defaultPendingMs,y=f.options.pendingComponent??e.options.defaultPendingComponent;if(!y||typeof p!="number"||p===1/0){s&&(s[0]=t,s[2]=0,s[4]=!0);return}const b=f.options.pendingMinMs??e.options.defaultPendingMinMs??0;let v=!1;if(s?.[1]===c.id?(v=s[0]!==t,s[0]=t):(clearTimeout(s?.[3]),e._pending=s=void 0),s||(e._pending=s=[t,c.id,h?Date.now()+b:t[4]+p,void 0,h||void 0,y]),s[4]&&!v&&s[5]===y)return;if(s[5]=y,!s[4]){clearTimeout(s[3]);const E=s[2]-Date.now();if(E>0){s[3]=setTimeout(()=>Qm(e,t),E);return}s[2]=0}const k=n.map(E=>({...E,_flight:void 0}));k[o].status="pending";const w=s[4]=e.startTransition(()=>e.stores.setMatches(k),k).then(E=>(E&&e._pending===s&&s[4]===w&&!s[2]&&(s[2]=Date.now()+b),E));return}}function pl(e,t){const n=e._pending;(e._tx===t||!e._tx?.[3].some(r=>r.id===n?.[1]))&&(clearTimeout(n?.[3]),e._pending=void 0)}async function gS(e,t){const n=e._pending;if(!n)return;clearTimeout(n[3]);const r=n[2]-Date.now();if(!n[4]||r<=0||!Uy(t[3]).some(o=>o.id===n[1]))return;let s;try{await rr(new Promise(o=>{s=setTimeout(o,r)}),t[0].signal)}catch{}clearTimeout(s)}function Cx(e,t){e._committed=t,e.stores.setMatches(t)}function p2(e,t,n,r){const s=e._committed,o=e._lifecycleEnd,c=e._cache;for(const p of n)p.preload=!1,r&&(p._assetEnd=void 0);const u=Uy(n).length,h=new Map;{const p=Date.now(),y=new Set;for(let b=0;b<n.length;b++){const v=n[b];(b<u||v.status==="success")&&y.add(v.id)}for(const b of[...s,...c.values()]){if(b.status!=="success"||y.has(b.id))continue;const v=na(e,b);!v.options.loader||p-b.updatedAt>=(b.preload?v.options.preloadGcTime??e.options.defaultPreloadGcTime??3e5:v.options.gcTime??e.options.defaultGcTime??3e5)||h.set(b.id,c.get(b.id)===b?b:{...b,_flight:void 0,isFetching:!1,context:{}})}}t[3]=[],e._cache=h;const f=e._lifecycleEnd=Sx(n);Cx(e,n),Ft(e,[...c.values(),...s].filter(p=>p._flight&&h.get(p.id)!==p),n),r2(e,s,n,o,f,t)}async function $u(e,t){let n=e._tx;for(;n&&n!==t;)t=n,await n[5],n=e._tx}function Ax(e,t,n){const r=n[1].options,s=n[2];if(!s)return e.navigate({...r,replace:!0,ignoreBlocker:!0});if(r.reloadDocument)return e.navigate({href:(s.maskedLocation??s).publicHref,reloadDocument:!0,replace:!0,ignoreBlocker:!0});s._redirects=t[1]+1,e._pendingLocation=s;const o=e.commitLocation({...s,viewTransition:r.viewTransition,replace:!0,resetScroll:r.resetScroll,hashScrollIntoView:r.hashScrollIntoView,ignoreBlocker:!0});return queueMicrotask(()=>{e._pendingLocation===s&&(e._pendingLocation=void 0)}),o}async function m2(e,t,n,r,s){const o=n.map(h=>({...h}));Fy(o);for(const h of r)tr(e,o[h[0]]),o[h[0]]=h[3];const c=[t[2],o];let u;try{u=await Ex(e,c,r,t[0],s)}catch(h){throw Ft(e,o),h}if(Yl(u)){Ft(e,o),u[0]===Xt&&e._tx===t&&e._committed===n&&await Ax(e,t,u);return}if(await Gy(e,u,t[0].signal),e._tx!==t||e._committed!==n){Ft(e,o);return}for(const h of o){const f=e._cache.get(h.id);f?._flight&&f._flight===h._flight&&(e._cache.delete(h.id),tr(e,f))}Cx(e,o),Ft(e,n,o)}async function y2(e,t,n,r,s,o){const c=await Rx(e,t[2],t[3],[t[0],t[1],e._committed,void 0,s,n,o,r]);if(Yl(c)){const y=c[0]===Xt&&e._tx===t;if((!y||c[1].options.reloadDocument)&&pl(e,t),Ft(e,t[3]),t[3]=[],!y)return;if(e._tx!==t){pl(e,t);return}await Ax(e,t,c);return}const u=c[1];if(e._tx===t&&await gS(e,t),e._tx!==t){pl(e,t),Ft(e,u),Di(e,c);return}const h=t[2],f=ih(h,e.stores.resolvedLocation.get()),p=c[2];await e.startViewTransition(async()=>{if(e._tx===t&&await gS(e,t),e._tx!==t){pl(e,t),Ft(e,u),Di(e,c);return}const y=()=>{pl(e,t),p2(e,t,u,o),e._tx===t&&(e.emit({type:"onLoad",...f}),e._tx===t&&e.emit({type:"onBeforeRouteMount",...f}))},b=await e.startTransition(y,u);if(e._tx!==t){Di(e,c);return}p?.length&&m2(e,t,u,p,c[3]).catch(console.error),e.batch(()=>{e.stores.resolvedLocation.set(h),e.stores.status.set("idle"),e._tx===t&&e.emit({type:"onResolved",...f}),b&&e._tx===t&&e.emit({type:"onRendered",...f})}),e._tx===t&&(e._commitPromise?.resolve(),e._commitPromise=void 0)})}async function g2(e,t){const n=e._tx,r=e.stores.resolvedLocation.get(),s=r??e.stores.location.get(),o=e.latestLocation,c=e._pendingLocation,u=c?.href===o.href?c._redirects??0:0,h=e._handoff,f=h?.[0](),p=new AbortController,y=e._preflight;if(e._preflight=p,f||h?.[1](),y?.abort(),!p.signal.aborted){const P=ih(o,r);e.emit({type:"onBeforeNavigate",...P}),p.signal.aborted||e.emit({type:"onBeforeLoad",...P})}if(p.signal.aborted){await $u(e,n);return}const b=s.href===o.href;let v=p;const k=e.matchRoutes(o,{_controller:p});Fy(k);const w=f?h[1](k):void 0;if(w?v=f:f?.abort(),p.signal.aborted){Ft(e,k),await $u(e,n);return}e._preflight=void 0;let E;const _=()=>y2(e,C,b,()=>Qm(e,C),t?.sync,w),A=t?.sync?new Promise(P=>E=P):Promise.resolve().then(_),C=[v,u,o,k,Date.now(),A.then(()=>$u(e,C))];if(e._tx=C,n){for(const P of e.stores.matches.get()){if(e._tx!==C)break;P.isFetching&&Ql(e,P,!1)}n[0].abort(),Ft(e,n[3],C[3],!0)}if(e._tx!==C){Ft(e,C[3]),C[3]=[],E?.(),await $u(e,C);return}e.batch(()=>{e.stores.status.set("pending"),e.stores.location.set(o)}),(w||!e._committed.length&&k[0]?.status!=="success"&&!k.some(P=>P._notFound))&&Qm(e,C),E?.(_()),await C[5]}async function b2(e,t){let n=e.buildLocation(t);for(let r=0;;r++){const s=e._committed,o=new AbortController;let c,u,h;try{try{c=e.matchRoutes(n,{_controller:o}),Fy(c),u=(e._preloads??=new Map).set(o,c),h=await Rx(e,n,c,[o,r,s,!0])}finally{u&&(u=u.delete(o),Ft(e,c)),o.abort()}if(!Yl(h))return h[1];if(!u||h.length<3)return;n=h[2]}catch(f){Ii(f)||console.error(f);return}}}async function v2(e){const t=window.$_TSR,n=e.options.serializationAdapters;n?.length&&(t.t=new Map(n.map(z=>[z.key,z.fromSerializable])),t.buffer.forEach(z=>z())),t.initialized=!0;const r=t.router;e.ssr={manifest:r.manifest},e.options.ssr={nonce:document.querySelector('meta[property="csp-nonce"]')?.content};const s=r.matches,o=new AbortController,c=e._preflight;e._preflight=o,c?.abort();const u=()=>e._preflight===o;let h,f,p,y;try{if(await rr(e.options.hydrate?.(r.dehydratedData),o.signal),!u())return;const z=e.history.location;p=z.href,y=z.state,e.updateLatestLocation(),h=e.latestLocation,e.stores.location.set(h),f=e.matchRoutes(h,{_controller:o})}catch(z){if(u()&&(e._preflight=void 0),o.abort(z),z!==o.signal)throw z}if(!u())return;const b=[];let v,k=0;const w=z=>{k=Math.min(k,z+1);const H=b.splice(z);for(const te of H)na(e,te).options.loader&&(te.status==="success"||!te.invali
11d&&"loaderData"in te)&&xx(e,{...te,status:"success",error:void 0,preload:!0},e._cache.get(te.id));Ft(e,H)},E=s.length>f.length?f.findIndex(z=>z._notFound)+1:s.length;let _=!1;for(let z=0;z<E;z++){const H=f[z],te=s[z];if(typeof te.i!="string"||bO(te.i)!==H.id){v??=z;break}k=z+1;const Z=na(e,H);if(("l"in te||te.s==="success"&&te.e===void 0&&Z.options.loader)&&(H.loaderData=te.l),H.status=te.s,H.ssr=te.ssr,Z.options.ssr=H.ssr,H.updatedAt=te.u,H.error=te.e,H._notFound||=te.g,H.status==="error"||H.status==="notFound"||H._notFound){_=!0,b.push(H),(H.ssr===!1||H.ssr==="data-only")&&(v??=z);break}if(H.status==="pending"){v??=z;break}b.push(H),H.ssr==="data-only"&&(v??=z)}!_&&b.length===E&&E<f.length&&(v=E);const A=b.map(async z=>{try{const H=na(e,z);return await(z._notFound?Promise.all([nr(H),nr(H,"notFoundComponent")]):nr(H,z.status==="error"?"errorComponent":z.status==="notFound"?"notFoundComponent":void 0)),!0}catch{return!1}});let C=0;try{for(;C<A.length&&await rr(A[C],o.signal);)C++}catch{return}if(!u())return;C<b.length&&w(C);const P=Math.max(v===b.length?b.length+1:b.length,C<A.length?C:k);for(let z=0;z<P;z++){const H=f[z],te=na(e,H),Z=f[z-1]?.context??e.options.context??{};let G;if(te.options.context){try{G=H._ctx=te.options.context({deps:H.loaderDeps,params:H.params,context:Z,location:h,navigate:M=>e.navigate({...M,_fromLocation:h}),buildLocation:e.buildLocation,cause:H.cause,abortController:o,preload:!1,matches:f,routeId:te.id})||{}}catch{if(!u())return;if(H.status!=="error"&&H.status!=="notFound"&&!H._notFound){v=Math.min(v??z,z),w(z);break}}if(!u())return}H.context={...Z,...G,...b[z]&&s[z].b}}if(await Gy(e,[h,f],o.signal,0,k),!u())return;const K=v!==void 0||b.length<E,D=_&&b.length===E?f:b;let I=K?f:D,$;if(K&&v!==void 0){const z=I[v];$=z.ssr==="data-only"&&k>v+1?k:void 0,I=I.slice(),I[v]={...z,status:"pending",ssr:z.ssr==="data-only"?"data-only":!1,_assetEnd:$}}const Y=()=>{const z=e.history.location;return K&&!e._tx&&z.href===p&&z.state===y&&e._committed===D&&D.length&&!o.signal.aborted?o:void 0},re=[Y,z=>{if(e._handoff!==re)return;e._handoff=void 0;const H=D.length;if(!z||!Y()||D.some((G,M)=>G.id!==z[M]?.id)){o.abort();return}let te=$;if(te!==void 0){for(let G=H;G<te;G++)if(f[G]?.id!==z[G]?.id){te=G>v+1?G:void 0;break}}const Z=D.map(G=>({...G}));te!==void 0&&(Z[v]._assetEnd=te),Ft(e,z.splice(0,H,...Z));for(let G=H;G<z.length;G++){const M=z[G],Q=f[G];Q?.id===M.id&&Q._ctx&&(M._ctx=Q._ctx),M.abortController=o}return H}];e._committed=D,e._lifecycleEnd=Sx(D),e._handoff=re,e._preflight=void 0,e.batch(()=>{e.stores.setMatches(I),e.stores.status.set("idle"),K||e.stores.resolvedLocation.set(e.stores.location.get())})}const zu="__SEROVAL_REFS__",Hu=new Map;typeof globalThis<"u"?Object.defineProperty(globalThis,zu,{value:Hu,configurable:!0,writable:!1,enumerable:!1}):typeof window<"u"?Object.defineProperty(window,zu,{value:Hu,configurable:!0,writable:!1,enumerable:!1}):typeof self<"u"?Object.defineProperty(self,zu,{value:Hu,configurable:!0,writable:!1,enumerable:!1}):typeof global<"u"&&Object.defineProperty(global,zu,{value:Hu,configurable:!0,writable:!1,enumerable:!1});function Tx(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function w2(e,t){Tx(e,t),t.add(e)}function ml(e,t,n){Tx(e,t),t.set(e,n)}function qs(e,t,n){if(typeof e=="function"?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}function Ze(e,t){return e.get(qs(e,t))}function Ns(e,t,n){return e.set(qs(e,t),n),n}var Gs=new WeakMap,Wa=new WeakMap,Ya=new WeakMap,xd=new WeakMap,Yn=new WeakMap,yl=new WeakSet,Ox=class{constructor(){w2(this,yl),ml(this,Gs,[]),ml(this,Wa,[]),ml(this,Ya,!0),ml(this,xd,!1),ml(this,Yn,0)}on(t){let n=Ze(Ya,this),r=0;if(n){for(;r<Ze(Yn,this)&&Ze(Wa,this)[r];r++);if(r===Ze(Yn,this)){var s;Ns(Yn,this,(s=Ze(Yn,this),s++,s))}Ze(Wa,this)[r]=t}return qs(yl,this,S2).call(this,t),()=>{if(Ze(Ya,this)&&n){for(n=!1,Ze(Wa,this)[r]=void 0;Ze(Yn,this)>0&&!Ze(Wa,this)[Ze(Yn,this)-1];){var o;Ns(Yn,this,(o=Ze(Yn,this),o--,o))}Ze(Wa,this).length=Ze(Yn,this)}}}next(t){Ze(Ya,this)&&(Ze(Gs,this).push(t),qs(yl,this,tm).call(this,t,"next"))}throw(t){Ze(Ya,this)&&(Ze(Gs,this).push(t),qs(yl,this,tm).call(this,t,"throw"),Ns(Ya,this,!1),Ns(xd,this,!1),Ze(Wa,this).length=0)}return(t){Ze(Ya,this)&&(Ze(Gs,this).push(t),qs(yl,this,tm).call(this,t,"return"),Ns(Ya,this,!1),Ns(xd,this,!0),Ze(Wa,this).length=0)}};function tm(e,t){for(let r=0;r<Ze(Yn,this);r++){var n;(n=Ze(Wa,this)[r])===null||n===void 0||n[t](e)}}function S2(e){for(let t=0,n=Ze(Gs,this).length;t<n;t++){const r=Ze(Gs,this)[t];!Ze(Ya,this)&&t===n-1?e[Ze(xd,this)?"return":"throw"](r):e.next(r)}}function k2(e){return e instanceof Ox}function Wy(){return new Ox}function _2(e){return{tag:"$TSR/t/"+e.key,test:e.test,parse:{sync(t,n){return{v:n.parse(e.toSerializable(t))}},async async(t,n){return{v:await n.parse(e.toSerializable(t))}},stream(t,n){return{v:n.parse(e.toSerializable(t))}}},serialize:void 0,deserialize(t,n){return e.fromSerializable(n.deserialize(t.v))}}}function Nx(e){if(Array.isArray(e))return e.flatMap(p=>Nx(p));if(typeof e!="string")return[];const t=[];
11let n=0,r,s,o,c,u;const h=()=>{for(;n<e.length&&/\s/.test(e.charAt(n));)n+=1;return n<e.length},f=()=>(s=e.charAt(n),s!=="="&&s!==";"&&s!==",");for(;n<e.length;){for(r=n,u=!1;h();)if(s=e.charAt(n),s===","){for(o=n,n+=1,h(),c=n;n<e.length&&f();)n+=1;n<e.length&&e.charAt(n)==="="?(u=!0,n=c,t.push(e.slice(r,o)),r=n):n=o+1}else n+=1;(!u||n>=e.length)&&t.push(e.slice(r))}return t}function x2(e){return e instanceof Headers?e:Array.isArray(e)?new Headers(e):typeof e=="object"?new Headers(e):null}function E2(...e){return e.reduce((t,n)=>{const r=x2(n);if(!r)return t;for(const[s,o]of r.entries())s==="set-cookie"?Nx(o).forEach(c=>t.append("set-cookie",c)):t.set(s,o);return t},new Headers)}const R2={tag:"$TSR/Error",test(e){return e instanceof Error},parse:{sync(e,t){return{message:t.parse(e.message)}},async async(e,t){return{message:await t.parse(e.message)}},stream(e,t){return{message:t.parse(e.message)}}},serialize(e,t){return"new Error("+t.serialize(e.message)+")"},deserialize(e,t){return new Error(t.deserialize(e.message))}};var C2=class{constructor(e,t){this.stream=e,this.hint=t?.hint??"binary"}};function Dx(e){const t=[];for(let n=0;n<e.length;n+=32768)t.push(String.fromCharCode.apply(null,e.subarray(n,n+32768)));return btoa(t.join(""))}function Ix(e){const t=atob(e),n=new Uint8Array(t.length);for(let r=0;r<t.length;r++)n[r]=t.charCodeAt(r);return n}const A2=new TextDecoder("utf-8",{fatal:!0,ignoreBOM:!0});function T2(e){try{return"t"+A2.decode(e)}catch{return"b"+Dx(e)}}const O2=new TextEncoder;function N2(e){const t=e.slice(1);return e[0]==="t"?O2.encode(t):Ix(t)}function D2(e,t,n){n?.throwIfAborted();const r=Wy(),s=e.getReader();let o=!0;const c=()=>{o=!1,n?.removeEventListener("abort",h),s.releaseLock()},u=f=>o?(s.cancel(f).catch(()=>{}),c(),!0):!1,h=()=>{u(n.reason)&&r.throw(n.reason)};return n?.addEventListener("abort",h),(async()=>{try{for(;o;){const{done:f,value:p}=await s.read();if(!o)return;if(f){c(),r.return(void 0);return}r.next(t(p))}}catch(f){u(f)&&r.throw(f)}})(),[r,u]}function I2(e,t){let n,r=!1;return new ReadableStream({start(s){const o=e.on({next(c){if(!r)try{s.enqueue(t(c))}catch(u){r=!0;const h=n;n=void 0,h?.(),s.error(u)}},throw(c){r||(r=!0,n=void 0,s.error(c))},return(){r||(r=!0,n=void 0,s.close())}});r?o():n=o},cancel(){const s=n;n=void 0,s?.()}})}function Px(e){return{tag:"tss/RawStream",test:t=>t instanceof C2,parse:{async:async(t,n)=>{const r=await n.parse(t.hint==="text"),[s]=D2(t.stream,t.hint==="text"?T2:Dx,e);return{text:r,stream:await n.parse(s)}}},serialize:void 0,deserialize:void 0}}const P2=Px(),j2={tag:"tss/RawStream",test:()=>!1,parse:{},serialize:void 0,deserialize(e,t){return I2(t.deserialize(e.stream),t.deserialize(e.text)?N2:Ix)}},Hr={},jx=e=>new ReadableStream({start(t){e.on({next(n){try{t.enqueue(n)}catch{}},throw(n){t.error(n)},return(){try{t.close()}catch{}}})}}),L2={tag:"seroval-plugins/web/ReadableStreamFactory",test(e){return e===Hr},parse:{sync(){return Hr},async async(){return await Promise.resolve(Hr)},stream(){return Hr}},serialize(){return jx.toString()},deserialize(){return Hr}};async function M2(e,t){try{for(;;){const n=await t.read();if(n.done){e.return(n.value),t.releaseLock();break}e.next(n.value)}}catch(n){t.releaseLock(),e.throw(n)}}function B2(e){e.cancel().catch(()=>{}),e.releaseLock()}function bS(e){const t=Wy(),n=e.getReader(),r=B2.bind(null,n);return M2(t,n).catch(r),[t,r]}const $2={tag:"seroval/plugins/web/ReadableStream",extends:[L2],test(e){return typeof ReadableStream>"u"?!1:e instanceof ReadableStream},parse:{sync(e,t){return{factory:t.parse(Hr),stream:t.parse(Wy())}},async async(e,t){return{factory:await t.parse(Hr),stream:await t.parse(bS(e)[0])}},stream(e,t){const[n,r]=bS(e);return t.addCleanup(r),{factory:t.parse(Hr),stream:t.parse(n)}}},serialize(e,t){return"("+t.serialize(e.factory)+")("+t.serialize(e.stream)+")"},deserialize(e,t){const n=t.deserialize(e.stream);if(!n||typeof n!="object"||!k2(n))throw new Error("Expected a stream source.");return jx(n)}};function Lx(e){return[R2,e?Px(e):P2,$2]}const z2=Lx();[...z2];function H2(e){return{tag:"tss/RawStream",test:()=>!1,parse:{},serialize:void 0,deserialize(t,n){return e(n.deserialize(t.streamId))}}}function U2(e){return[...By()?.serializationAdapters?.map(_2)??[],...e]}function Mx(e){return U2(Lx(e))}var vS=new TextDecoder,ha=new Uint8Array,K2=new ByteLengthQueuingStrategy({highWaterMark:0});function V2(e){const t=e.getReader(),n=new Map;let r=0,s,o;const c=()=>{s?.(),s=void 0},u=(y,b)=>{const v=y[1];y[1]=!1,v&&(b===1?v.close():v.error(b[0]))},h=new ReadableStream({start(y){o=y},pull:c,cancel(y){const b=[y===void 0?new Error("Framed response cancelled"):y];r=b,c(),t.cancel(y).catch(()=>{});for(const v of n.values())u(v,b)}});function f(y){const b=n.get(y);if(b)return b;if(n.size>=1024)throw new Error("Too many raw streams");let v;
11const k=[new ReadableStream({start(w){v=w},cancel(){k[1]!==!1&&(k[1]=null)}},K2),v];return n.set(y,k),r!==0&&u(k,r),k}function p(y){if(y===0||y>>>0!==y)throw new RangeError("Invalid raw stream ID");return f(y)[0]}return(async()=>{let y=ha,b=0;async function v(){for(;b===y.byteLength;){y=ha,b=0;const w=await t.read();if(r!==0||w.done)return!1;y=w.value}return!0}async function k(w,E){if(w===0)return ha;if(!await v()){if(E)return;throw new Error("Incomplete frame")}if(y.byteLength-b>=w){const C=y.subarray(b,b+w);return b+=w,b===y.byteLength&&(y=ha,b=0),C}const _=new Uint8Array(w);let A=0;for(;A<w;){if(!await v())throw new Error("Incomplete frame");const C=Math.min(w-A,y.byteLength-b);_.set(y.subarray(b,b+C),A),b+=C,A+=C}return b===y.byteLength&&(y=ha,b=0),_}try{for(;r===0;){let w=await k(9,!0);if(r!==0)return;if(!w){for(const K of n.values())if(K[1])throw new Error("Incomplete raw stream");r=1,o.close();return}const E=w[0],_=(w[1]<<24|w[2]<<16|w[3]<<8|w[4])>>>0,A=(w[5]<<24|w[6]<<16|w[7]<<8|w[8])>>>0;if(w=ha,E>3||E===0!=(_===0)||A>16777216||E===2&&A!==0)throw new Error("Invalid frame");const C=E===0?void 0:f(_);if(C?.[1]===!1)throw new Error("Raw stream already ended");let P=await k(A);if(r!==0)return;if(!C){const K=vS.decode(P);for(P=ha,o.enqueue(K);r===0&&o.desiredSize<=0;)await new Promise(D=>{s=D});continue}if(E===1){const K=C[1];if(K){if(-K.desiredSize>134217728){K.error(new Error(`Raw stream ${_} has too many unread bytes`)),C[1]=null,P=ha;continue}const D=P.byteLength*4<P.buffer.byteLength?P.slice():P;P=ha,K.enqueue(D)}}else u(C,E===2?1:[new Error(vS.decode(P))])}}catch(w){if(r===0){const E=[w];r=E,t.cancel(w).catch(()=>{}),o.error(w);for(const _ of n.values())u(_,E)}}finally{y=ha,t.releaseLock()}})(),[h,p]}const ma=Symbol.for("TSR_DEFERRED_PROMISE");function F2(e,t){const n=e;return n[ma]||(n[ma]={status:"pending"},n.then(r=>{n[ma].status="success",n[ma].data=r}).catch(r=>{n[ma].status="error",n[ma].error={data:a2(r),__isServerError:!0}})),n}const q2="Error preloading route! ☝️";function Bx(e,t){if(e)return typeof e=="string"?e:e[t]}function G2(e){return e?.scriptFormat??"module"}function W2(e,t,n){const r=Y2(t),s=Bx(n,"script")??r.crossOrigin;return{...G2(e)==="iife"?{rel:"preload",as:"script"}:{rel:"modulepreload"},href:r.href,...s?{crossOrigin:s}:{}}}function Y2(e){return typeof e=="string"?{href:e,crossOrigin:void 0}:e}function Uu(e,t){if(t.length===0)return;if(t.length===1){e.push(t[0]);return}const n=new Set;for(const r of t){const s=JSON.stringify(r);n.has(s)||(n.add(s),e.push(r))}}function J2(e){return typeof e=="string"?{href:e,crossOrigin:void 0}:e}function Q2(e,t,n,r){const s=kx(e),o=[],c=[];for(const u of s)for(const h of Array.isArray(u.scripts)?u.scripts:[]){if(!h)continue;const{children:f,...p}=h;o.push({tag:"script",attrs:{...p,...r,nonce:n},children:f})}if(t)for(const u of s)for(const h of t.routes[u.routeId]?.scripts??[])c.push({tag:"script",attrs:{...h.attrs,nonce:n},children:h.children});return[o,c]}function X2([e,t],n){return[...e,...t]}var $x=class{get to(){return this._to}get id(){return this._id}get path(){return this._path}get fullPath(){return this._fullPath}constructor(e){if(this.init=t=>{this.originalIndex=t,this._branch=void 0;const n=this.options,r=!n?.path&&!n?.id;this.parentRoute=this.options.getParentRoute?.(),r?this._path=Zs:this.parentRoute||Gl();let s=r?Zs:n?.path;s&&s!=="/"&&(s=ux(s));const o=n?.id||s,c=r?Zs:Xs((this.parentRoute.id==="__root__"?"":this.parentRoute.id)+"/"+(o??""));s==="__root__"&&(s="/");const u=c==="__root__"?"/":s===void 0?this.parentRoute.fullPath:Xs(this.parentRoute.fullPath+"/"+s);this._path=s,this._id=c,this._fullPath=u,this._to=ga(u)},this.addChildren=t=>this._addFileChildren(t),this._addFileChildren=t=>(Array.isArray(t)&&(this.children=t),typeof t=="object"&&t!==null&&(this.children=Object.values(t)),this),this._addFileTypes=()=>this,this.updateLoader=t=>(Object.assign(this.options,t),this),this.update=t=>(Object.assign(this.options,t),this),this.lazy=t=>(this.lazyFn=t,this),this.redirect=t=>On({from:this.fullPath,...t}),this.options=e||{},this.isRoot=!e?.getParentRoute,e?.id&&e?.path)throw new Error("Route cannot have both an 'id' and a 'path' option.")}},Z2=class extends $x{constructor(e){super(e)}};const ir=Symbol.asyncIterator,zx=Symbol.hasInstance,eo=Symbol.isConcatSpreadable,sr=Symbol.iterator,Hx=Symbol.match,Ux=Symbol.matchAll,Kx=Symbol.replace,Vx=Symbol.search,Fx=Symbol.species,qx=Symbol.split,Gx=Symbol.toPrimitive,to=Symbol.toStringTag,Wx=Symbol.unscopables,Yx={[ir]:0,[zx]:1,[eo]:2,[sr]:3,[Hx]:4,[Ux]:5,[Kx]:6,[Vx]:7,[Fx]:8,[qx]:9,[Gx]:10,[to]:11,[Wx]:12},eN={0:ir,1:zx,2:eo,3:sr,4:Hx,5:Ux,6:Kx,7:Vx,8:Fx,9:qx,10:Gx,11:to,12:Wx},tN={2:!0,3:!1,1:void 0,0:null,4:-0,5:Number.POSITIVE_INFINITY,6:Number.NEGATIVE_INFINITY,7:NaN},nN={0:"Error",1:"EvalError",2:"RangeError",3:"ReferenceError",4:"SyntaxError",5:"TypeError",6:"URIError"},aN={0:Error,1:EvalError,2:RangeError,3:ReferenceError,4:SyntaxError,5:TypeError,6:URIError};function Ue(e,t,n,r,s,o,c,u,h,f,p,y){return{t:e,i:t,s:n,c:r,m:s,p:o,e:c,a:u,f:h,b:f,o:p,l:y}}function Zr(e){return Ue(2,void 0,e,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0)}const Jx=Zr(2),Qx=Zr(3),rN=Zr(1),iN=Zr(0),sN=Zr(4),oN=Zr(5),lN=Zr(6),cN=Zr(7),uN=64,dN=/[\x00-\x07\x0b\x0e-\x1f<\u2028\u2029\ud800-\udfff]/;function hN(e){switch(e){case'"':return'\\"';case"\\":return"\\\\";case`
12`:return"\\n";case"\r":return"\\r";case"\b":return"\\b";case"	":return"\\t";case"\f":return"\\f";case"<":return"\\x3C";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:return}}function Li(e){if(e.length>=uN&&!dN.test(e))return JSON.stringify(e).slice(1,-1);let t="",n=0,r;for(let s=0,o=e.length;s<o;s++)r=hN(e[s]),r&&(t+=e.slice(n,s)+r,n=s+1);return n===0?t=e:t+=e.slice(n),t}function fN(e){switch(e){case"\\\\":return"\\";case'\\"':return'"';case"\\n":return`
13`;case"\\r":return"\r";case"\\b":return"\b";case"\\t":return"	";case"\\f":return"\f";case"\\x3C":return"<";case"\\u2028":return"\u2028";case"\\u2029":return"\u2029";default:return e}}function ei(e){return typeof e=="string"&&!e.includes("\\")?e:e.replace(/(\\\\|\\"|\\n|\\r|\\b|\\t|\\f|\\u2028|\\u2029|\\x3C)/g,fN)}
13const pN={parsing:1,serialization:2,deserialization:3};function mN(e){return`Seroval Error (step: ${pN[e]})`}const yN=(e,t)=>mN(e);var Xx=class extends Error{constructor(e,t){super(yN(e)),this.cause=t}},wS=class extends Xx{constructor(e){super("parsing",e)}},gN=class extends Xx{constructor(e){super("deserialization",e)}};function cr(e){return`Seroval Error (specific: ${e})`}var Mi=class extends Error{constructor(e){super(cr(1)),this.value=e}},Yy=class extends Error{constructor(e){super(cr(2))}},bN=class extends Error{constructor(e){super(cr(3))}},oh=class extends Error{constructor(e){super(cr(4))}},vN=class extends Error{constructor(e){super(cr(5)),this.value=e}},wN=class extends Error{constructor(e){super(cr(6))}},SN=class extends Error{constructor(e){super(cr(7))}},Lt=class extends Error{constructor(e){super(cr(8))}},Zx=class extends Error{constructor(e){super(cr(9))}};const Ku="__SEROVAL_REFS__",e1=new Map,Ws=new Map;function t1(e){return e1.has(e)}function kN(e){return Ws.has(e)}function _N(e){if(t1(e))return e1.get(e);throw new vN(e)}function xN(e){if(kN(e))return Ws.get(e);throw new wN(e)}typeof globalThis<"u"?Object.defineProperty(globalThis,Ku,{value:Ws,configurable:!0,writable:!1,enumerable:!1}):typeof window<"u"?Object.defineProperty(window,Ku,{value:Ws,configurable:!0,writable:!1,enumerable:!1}):typeof self<"u"?Object.defineProperty(self,Ku,{value:Ws,configurable:!0,writable:!1,enumerable:!1}):typeof global<"u"&&Object.defineProperty(global,Ku,{value:Ws,configurable:!0,writable:!1,enumerable:!1});function Jy(e){return e instanceof EvalError?1:e instanceof RangeError?2:e instanceof ReferenceError?3:e instanceof SyntaxError?4:e instanceof TypeError?5:e instanceof URIError?6:0}function EN(e){const t=nN[Jy(e)];return e.name!==t?{name:e.name}:e.constructor.name!==t?{name:e.constructor.name}:{}}function n1(e,t){let n=EN(e);const r=Object.getOwnPropertyNames(e);for(let s=0,o=r.length,c;s<o;s++)c=r[s],c!=="name"&&c!=="message"&&(c==="stack"?t&4&&(n=n||{},n[c]=e[c]):(n=n||{},n[c]=e[c]));return n}function a1(e){return Object.isFrozen(e)?3:Object.isSealed(e)?2:Object.isExtensible(e)?0:1}function RN(e){switch(e){case Number.POSITIVE_INFINITY:return oN;case Number.NEGATIVE_INFINITY:return lN}return e!==e?cN:Object.is(e,-0)?sN:Ue(0,void 0,e,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0)}function r1(e){return Ue(1,void 0,Li(e),void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0)}function CN(e){return Ue(3,void 0,""+e,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0)}function AN(e){return Ue(4,e,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0)}function TN(e,t){const n=t.valueOf();return Ue(5,e,n!==n?"":t.toISOString(),void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0)}function Lr(e,t,n){return Ue(36,e,n.toString(),t,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0)}function ON(e,t){return Ue(6,e,void 0,Li(t.source),t.flags,void 0,void 0,void 0,void 0,void 0,void 0,void 0)}function NN(e,t){return Ue(17,e,Yx[t],void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0)}function DN(e,t){return Ue(18,e,Li(_N(t)),void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0)}function IN(e,t,n){return Ue(25,e,n,Li(t),void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0)}function PN(e,t,n){return Ue(9,e,void 0,void 0,void 0,void 0,void 0,n,void 0,void 0,a1(t),void 0)}function jN(e,t){return Ue(21,e,void 0,void 0,void 0,void 0,void 0,void 0,t,void 0,void 0,void 0)}const Qy=1e6;function LN(e,t,n){if(t.length>Qy)throw new Mi(t);return Ue(15,e,void 0,t.constructor.name,void 0,void 0,void 0,void 0,n,t.byteOffset,void 0,t.length)}function MN(e,t,n){if(t.length>Qy)throw new Mi(t);return Ue(16,e,void 0,t.constructor.name,void 0,void 0,void 0,void 0,n,t.byteOffset,void 0,t.length)}function BN(e,t,n){if(t.byteLength>Qy)throw new Mi(t);return Ue(20,e,void 0,void 0,void 0,void 0,void 0,void 0,n,t.byteOffset,void 0,t.byteLength)}function $N(e,t,n){return Ue(13,e,Jy(t),void 0,Li(t.message),n,void 0,void 0,void 0,void 0,void 0,void 0)}function zN(e,t,n){return Ue(14,e,Jy(t),void 0,Li(t.message),n,void 0,void 0,void 0,void 0,void 0,void 0)}function HN(e,t){return Ue(7,e,void 0,void 0,void 0,void 0,void 0,t,void 0,void 0,void 0,void 0)}function UN(e,t){return Ue(28,void 0,void 0,void 0,void 0,void 0,void 0,[e,t],void 0,void 0,void 0,void 0)}function KN(e,t){return Ue(30,void 0,void 0,void 0,void 0,void 0,void 0,[e,t],void 0,void 0,void 0,void 0)}function VN(e,t,n){return Ue(31,e,void 0,void 0,void 0,void 0,void 0,n,t,void 0,void 0,void 0)}function FN(e,t){return Ue(32,e,void 0,void 0,void 0,void 0,void 0,void 0,t,void 0,void 0,void 0)}function qN(e,t){return Ue(33,e,void 0,void 0,void 0,void 0,void 0,void 0,t,void 0,void 0,void 0)}function GN(e,t){return Ue(34,e,void 0,void 0,void 0,void 0,void 0,void 0,t,void 0,void 0,void 0)}function WN(e,t,n,r){return Ue(35,e,n,void 0,void 0,void 0,void 0,t,void 0,void 0,void 0,r)}var YN=class{constructor(e,t){this.value=e,this.replacement=t}};const Xy=()=>{const e={p:0,s:0,f:0};return e.p=new Promise((t,n)=>{e.s=t,e.f=n}),e},JN=e=>t=>()=>{let n=0;const r={[e](){return r},next(){if(n>t.d)return{done:!0,value:void 0};const s=n++,o=t.v[s];if(s===t.t)throw o;return{done:s===t.d,value:o}}};return r},QN=(e,t)=>n=>()=>{let r=0,s=-1,o=!1;const c=[],u=[],h={finalize(p=0,y=u.length){for(;p<y;p++)u[p].s({done:!0,value:void 0})}};n.on({next(p){const y=u.shift();y&&y.s({done:!1,value:p}),c.push(p)},throw(p){const y=u.shift();y&&y.f(p),h.finalize(),s=c.length,o=!0,c.push(p)},return(p){const y=u.shift();y&&y.s({done:!0,value:p}),h.finalize(),s=c.length,c.push(p)}});const f={[e](){return f},next(){if(s===-1){const b=r++;if(b>=c.length){const v=t();return u.push(v),v.p}return{done:!1,value:c[b]}}if(r>s)return{done:!0,value:void 0};const p=r++,y=c[p];if(p!==s)return{done:!1,value:y};if(o)throw y;return{done:!0,value:y}}};return f},XN=e=>{const t=atob(e),n=t.length,r=new Uint8Array(n);for(let s=0;s<n;s++)r[s]=t.charCodeAt(s);return r.buffer};var i1=class{constructor(e,t,n){this.v=e,this.t=t,this.d=n}};function s1(e){return e instanceof i1}function o1(e,t,n){return new i1(e,t,n)}function ZN(e){const t=[];let n=-1,r=-1;const s=e[sr]();for(;;)try{const o=s.next();if(t.push(o.value),o.done){r=t.length-1;break}}catch(o){n=t.length,r=n,t.push(o);break}return o1(t,n,r)}const eD=JN(sr);function tD(e){return eD(e)}const nD={},aD={},rD={0:{},1:{},2:{},3:{}
13,4:{},5:{}};function l1(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function iD(e,t){l1(e,t),t.add(e)}function gl(e,t,n){l1(e,t),t.set(e,n)}function Ys(e,t,n){if(typeof e=="function"?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}function et(e,t){return e.get(Ys(e,t))}function Ds(e,t,n){return e.set(Ys(e,t),n),n}var Js=new WeakMap,Ja=new WeakMap,Qa=new WeakMap,Ed=new WeakMap,Jn=new WeakMap,bl=new WeakSet,c1=class{constructor(){iD(this,bl),gl(this,Js,[]),gl(this,Ja,[]),gl(this,Qa,!0),gl(this,Ed,!1),gl(this,Jn,0)}on(e){let t=et(Qa,this),n=0;if(t){for(;n<et(Jn,this)&&et(Ja,this)[n];n++);if(n===et(Jn,this)){var r;Ds(Jn,this,(r=et(Jn,this),r++,r))}et(Ja,this)[n]=e}return Ys(bl,this,sD).call(this,e),()=>{if(et(Qa,this)&&t){for(t=!1,et(Ja,this)[n]=void 0;et(Jn,this)>0&&!et(Ja,this)[et(Jn,this)-1];){var s;Ds(Jn,this,(s=et(Jn,this),s--,s))}et(Ja,this).length=et(Jn,this)}}}next(e){et(Qa,this)&&(et(Js,this).push(e),Ys(bl,this,nm).call(this,e,"next"))}throw(e){et(Qa,this)&&(et(Js,this).push(e),Ys(bl,this,nm).call(this,e,"throw"),Ds(Qa,this,!1),Ds(Ed,this,!1),et(Ja,this).length=0)}return(e){et(Qa,this)&&(et(Js,this).push(e),Ys(bl,this,nm).call(this,e,"return"),Ds(Qa,this,!1),Ds(Ed,this,!0),et(Ja,this).length=0)}};function nm(e,t){for(let r=0;r<et(Jn,this);r++){var n;(n=et(Ja,this)[r])===null||n===void 0||n[t](e)}}function sD(e){for(let t=0,n=et(Js,this).length;t<n;t++){const r=et(Js,this)[t];!et(Qa,this)&&t===n-1?e[et(Ed,this)?"return":"throw"](r):e.next(r)}}function u1(e){return e instanceof c1}function d1(){return new c1}function oD(e,t){const n=d1(),r=e[ir]();let s=!1,o=!1;async function c(){try{for(;!s;){const u=await r.next();if(u.done){o=!0,n.return(u.value);break}n.next(u.value)}}catch(u){o=!0,n.throw(u)}}return c().catch(()=>{}),n}const lD=QN(ir,Xy);function cD(e){return lD(e)}async function uD(e){try{return[1,await e]}catch(t){return[0,t]}}function dD(e,t){var n;return{plugins:t.plugins,mode:e,marked:new Set,features:127^(t.disabledFeatures||0),refs:t.refs||new Map,depthLimit:t.depthLimit||1e3,compactArrayBufferViews:(n=t.compactArrayBufferViews)!==null&&n!==void 0?n:!1}}function Rd(e,t){e.marked.add(t)}function hD(e,t){const n=e.refs.size;return e.refs.set(t,n),n}function lh(e,t){const n=e.refs.get(t);return n!=null?(Rd(e,n),{type:1,value:AN(n)}):{type:0,value:hD(e,t)}}function Zy(e,t){const n=lh(e,t);return n.type===1?n:t1(t)?{type:2,value:DN(n.value,t)}:n}function Ti(e,t){const n=Zy(e,t);if(n.type!==0)return n.value;if(t in Yx)return NN(n.value,t);throw new Mi(t)}function ch(e,t){const n=lh(e,rD[t]);return n.type===1?n.value:Ue(26,n.value,t,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0)}function fD(e){const t=lh(e,nD);return t.type===1?t.value:Ue(27,t.value,void 0,void 0,void 0,void 0,void 0,void 0,Ti(e,sr),void 0,void 0,void 0)}function pD(e){const t=lh(e,aD);return t.type===1?t.value:Ue(29,t.value,void 0,void 0,void 0,void 0,void 0,[ch(e,1),Ti(e,ir)],void 0,void 0,void 0,void 0)}function mD(e,t,n,r){return Ue(n?11:10,e,void 0,void 0,void 0,r,void 0,void 0,void 0,void 0,a1(t),void 0)}function yD(e,t,n,r){return Ue(8,t,void 0,void 0,void 0,void 0,{k:n,v:r},void 0,ch(e,0),void 0,void 0,void 0)}function eg(e,t){if(!e.compactArrayBufferViews)return t;const n=new Uint8Array(t.buffer,t.byteOffset,t.byteLength).slice().buffer,r=t.constructor;return new r(n)}function gD(e){if(typeof Buffer<"u")return Buffer.from(e).toString("base64");const t=new Uint8Array(e);if(typeof t.toBase64=="function")return t.toBase64();let n="";for(let r=0,s=t.length;r<s;r++)n+=String.fromCharCode(t[r]);return btoa(n)}function bD(e,t,n){return Ue(19,t,gD(n),void 0,void 0,void 0,void 0,void 0,ch(e,5),void 0,void 0,void 0)}function vD(e,t){return{base:dD(e,t),child:void 0}}var wD=class{constructor(e,t){this._p=e,this.depth=t}parse(e){return Nt(this._p,this.depth,e)}};async function SD(e,t,n){const r=[];for(let s=0,o=n.length;s<o;s++)s in n?r[s]=await Nt(e,t,n[s]):r[s]=0;return r}async function kD(e,t,n,r){return PN(n,r,await SD(e,t,r))}async function tg(e,t,n){const r=Object.entries(n),s=[],o=[];for(let c=0,u=r.length;c<u;c++)s.push(Li(r[c][0])),o.push(await Nt(e,t,r[c][1]));return sr in n&&(s.push(Ti(e.base,sr)),o.push(UN(fD(e.base),await Nt(e,t,ZN(n))))),ir in n&&(s.push(Ti(e.base,ir)),o.push(KN(pD(e.base),await Nt(e,t,oD(n))))),to in n&&(s.push(Ti(e.base,to)),o.push(r1(n[to]))),eo in n&&(s.push(Ti(e.base,eo)),o.push(n[eo]?Jx:Qx)),{k:s,v:o}}
13async function am(e,t,n,r,s){return mD(n,r,s,await tg(e,t,r))}async function _D(e,t,n,r){return jN(n,await Nt(e,t,r.valueOf()))}async function xD(e,t,n,r){return r=eg(e.base,r),LN(n,r,await Nt(e,t,r.buffer))}async function ED(e,t,n,r){return r=eg(e.base,r),MN(n,r,await Nt(e,t,r.buffer))}async function RD(e,t,n,r){return r=eg(e.base,r),BN(n,r,await Nt(e,t,r.buffer))}async function SS(e,t,n,r){const s=n1(r,e.base.features);return $N(n,r,s?await tg(e,t,s):void 0)}async function CD(e,t,n,r){const s=n1(r,e.base.features);return zN(n,r,s?await tg(e,t,s):void 0)}async function AD(e,t,n,r){const s=[],o=[];for(const[c,u]of r.entries())s.push(await Nt(e,t,c)),o.push(await Nt(e,t,u));return yD(e.base,n,s,o)}async function TD(e,t,n,r){const s=[];for(const o of r.keys())s.push(await Nt(e,t,o));return HN(n,s)}async function h1(e,t,n,r){const s=e.base.plugins;if(s)for(let o=0,c=s.length;o<c;o++){const u=s[o];if(u.parse.async&&u.test(r))return IN(n,u.tag,await u.parse.async(r,new wD(e,t),{id:n}))}}async function OD(e,t,n,r){const[s,o]=await uD(r);return Ue(12,n,s,void 0,void 0,void 0,void 0,void 0,await Nt(e,t,o),void 0,void 0,void 0)}function ND(e,t,n,r,s){const o=[],c=n.on({next:u=>{Rd(this.base,t),Nt(this,e,u).then(h=>{o.push(FN(t,h))},h=>{s(h),c()})},throw:u=>{Rd(this.base,t),Nt(this,e,u).then(h=>{o.push(qN(t,h)),r(o),c()},h=>{s(h),c()})},return:u=>{Rd(this.base,t),Nt(this,e,u).then(h=>{o.push(GN(t,h)),r(o),c()},h=>{s(h),c()})}})}async function DD(e,t,n,r){return VN(n,ch(e.base,4),await new Promise(ND.bind(e,t,n,r)))}async function ID(e,t,n,r){const s=[];for(let o=0,c=r.v.length;o<c;o++)s[o]=await Nt(e,t,r.v[o]);return WN(n,s,r.t,r.d)}async function PD(e,t,n,r){if(Array.isArray(r))return kD(e,t,n,r);if(u1(r))return DD(e,t,n,r);if(s1(r))return ID(e,t,n,r);let s=r.constructor;if(s!==void 0&&typeof s!="function"){const u=Object.getPrototypeOf(r);s=u===null?void 0:u.constructor}if(s===YN)return Nt(e,t,r.replacement);const o=await h1(e,t,n,r);if(o)return o;switch(s){case Object:return am(e,t,n,r,!1);case void 0:return am(e,t,n,r,!0);case Date:return TN(n,r);case Error:case EvalError:case RangeError:case ReferenceError:case SyntaxError:case TypeError:case URIError:return SS(e,t,n,r);case Number:case Boolean:case String:case BigInt:return _D(e,t,n,r);case ArrayBuffer:return bD(e.base,n,r);case Int8Array:case Int16Array:case Int32Array:case Uint8Array:case Uint16Array:case Uint32Array:case Uint8ClampedArray:case Float32Array:case Float64Array:return xD(e,t,n,r);case DataView:return RD(e,t,n,r);case Map:return AD(e,t,n,r);case Set:return TD(e,t,n,r)}if(s===Promise||r instanceof Promise)return OD(e,t,n,r);const c=e.base.features;if(c&32&&s===RegExp)return ON(n,r);if(c&16)switch(s){case BigInt64Array:case BigUint64Array:return ED(e,t,n,r)}if(c&1&&typeof AggregateError<"u"&&(s===AggregateError||r instanceof AggregateError))return CD(e,t,n,r);if(c&64&&typeof Temporal<"u")switch(s){case Temporal.Instant:return Lr(n,0,r);case Temporal.Duration:return Lr(n,1,r);case Temporal.PlainDate:return Lr(n,2,r);case Temporal.PlainDateTime:return Lr(n,3,r);case Temporal.PlainMonthDay:return Lr(n,4,r);case Temporal.PlainTime:return Lr(n,5,r);case Temporal.PlainYearMonth:return Lr(n,6,r);case Temporal.ZonedDateTime:return Lr(n,7,r)}if(r instanceof Error)return SS(e,t,n,r);if(sr in r||ir in r)return am(e,t,n,r,!!s);throw new Mi(r)}async function jD(e,t,n){const r=Zy(e.base,n);if(r.type!==0)return r.value;const s=await h1(e,t,r.value,n);if(s)return s;throw new Mi(n)}async function Nt(e,t,n){if(t>=e.base.depthLimit)throw new Zx(e.base.depthLimit);switch(typeof n){case"boolean":return n?Jx:Qx;case"undefined":return rN;case"string":return r1(n);case"number":return RN(n);case"bigint":return CN(n);case"object":if(n){const r=Zy(e.base,n);return r.type===0?await PD(e,t+1,r.value,n):r.value}return iN;case"symbol":return Ti(e.base,n);case"function":return jD(e,t,n);default:throw new Mi(n)}}async function LD(e,t){try{return await Nt(e,0,t)}catch(n){throw n instanceof wS?n:new wS(n)}}function f1(e,t){for(let n=0,r=t.length;n<r;n++){const s=t[n];e.has(s)||(e.add(s),s.extends&&f1(e,s.extends))}}function p1(e){if(e){const t=new Set;return f1(t,e),[...t]}}function MD(e){switch(e){case"Int8Array":return Int8Array;case"Int16Array":return Int16Array;case"Int32Array":return Int32Array;case"Uint8Array":return Uint8Array;case"Uint16Array":return Uint16Array;case"Uint32Array":return Uint32Array;case"Uint8ClampedArray":return Uint8ClampedArray;case"Float32Array":return Float32Array;case"Float64Array":return Float64Array;case"BigInt64Array":return BigInt64Array;case"BigUint64Array":return BigUint64Array;default:throw new SN(e)}}function BD(e){switch(e){case"constructor":case"__proto__":case"prototype":case"__defineGetter__":case"__defineSetter__":case"__lookupGetter__":case"__lookupSetter__":return!1;default:return!0}}function $D(e){switch(e){case ir:case eo:case to:case sr:return!0;default:return!1}}const zD=1e6,HD=512,UD=1e4,KD=2e4;function m1(e,t){switch(t){case 3:return Object.freeze(e);case 1:return Object.preventExtensions(e);case 2:return Object.seal(e);default:return e}}const VD=1e3;function FD(e,t){var n,r;const s=(n=t.maxBase64Length)!==null&&n!==void 0?n:zD;if(!Number.isSafeInteger(s)||s<0)throw new RangeError("maxBase64Length must be a non-negative safe integer");const o=t.refs||new Map;return"types"in o||Object.assign(o,{types:new Map}),{mode:e,plugins:t.plugins,refs:o,features:(r=t.features)!==null&&r!==void 0?r:127^(t.disabledFeatures||0),depthLimit:t.depthLimit||VD,maxBase64Length:s}}
13function qD(e){return{mode:2,base:FD(2,e),child:void 0}}var GD=class{constructor(e,t){this._p=e,this.depth=t}deserialize(e){return st(this._p,this.depth,e)}};function y1(e,t){if(t<0||!Number.isFinite(t)||!Number.isInteger(t))throw new Lt({t:4,i:t});if(e.refs.has(t))throw new Error("Conflicted ref id: "+t)}function g1(e){return!!e&&(typeof e=="object"||typeof e=="function")&&"then"in e&&typeof e.then=="function"}function WD(e,t,n){return y1(e.base,t),e.state.marked.has(t)&&e.base.refs.set(t,n),n}function YD(e,t,n){return y1(e.base,t),e.base.refs.set(t,n),n}function Rt(e,t,n){return e.mode===1?WD(e,t,n):YD(e,t,n)}function Xm(e,t,n){if(Object.hasOwn(t,n))return t[n];throw new Lt(e)}function JD(e,t){return Rt(e,t.i,xN(ei(t.s)))}function Yr(e,t){if(!Array.isArray(t))throw new Lt(e)}function QD(e,t,n){const r=n.a;Yr(n,r);const s=r.length,o=Rt(e,n.i,new Array(s));for(let c=0,u;c<s;c++)u=r[c],u&&(o[c]=st(e,t,u));return m1(o,n.o),o}function kS(e,t,n){BD(t)?e[t]=n:Object.defineProperty(e,t,{value:n,configurable:!0,enumerable:!0,writable:!0})}function XD(e,t,n,r,s){if(typeof r=="string")kS(n,ei(r),st(e,t,s));else{const o=st(e,t,r);switch(typeof o){case"string":kS(n,o,st(e,t,s));break;case"symbol":$D(o)&&(n[o]=st(e,t,s));break;default:throw new Lt(r)}}}function b1(e,t,n){e.base.refs.types.set(t,n)}function uh(e,t,n,r){if(e.base.refs.types.get(n)!==r)throw new Lt(t)}function v1(e,t,n,r){const s=n.k;if(Yr(n,s),Yr(n,n.v),s.length>0)for(let o=0,c=n.v,u=s.length;o<u;o++)XD(e,t,r,s[o],c[o]);return r}function ZD(e,t,n){const r=Rt(e,n.i,n.t===10?{}:Object.create(null));return v1(e,t,n.p,r),m1(r,n.o),r}function eI(e,t){return Rt(e,t.i,new Date(t.s))}function tI(e,t){if(!(e.base.features&64))throw new Yy(t);let n;switch(t.c){case 0:n=Temporal.Instant.from(t.s);break;case 1:n=Temporal.Duration.from(t.s);break;case 2:n=Temporal.PlainDate.from(t.s);break;case 3:n=Temporal.PlainDateTime.from(t.s);break;case 4:n=Temporal.PlainMonthDay.from(t.s);break;case 5:n=Temporal.PlainTime.from(t.s);break;case 6:n=Temporal.PlainYearMonth.from(t.s);break;case 7:n=Temporal.ZonedDateTime.from(t.s);break;default:throw new Lt(t)}return Rt(e,t.i,n)}function nI(e,t){if(e.base.features&32){const n=ei(t.c);if(n.length>KD)throw new Lt(t);return Rt(e,t.i,new RegExp(n,t.m))}throw new Yy(t)}
13function aI(e,t,n){const r=Rt(e,n.i,new Set);Yr(n,n.a);for(let s=0,o=n.a,c=o.length;s<c;s++)r.add(st(e,t,o[s]));return r}function rI(e,t,n){const r=Rt(e,n.i,new Map);Yr(n,n.e.k),Yr(n,n.e.v);for(let s=0,o=n.e.k,c=n.e.v,u=o.length;s<u;s++)r.set(st(e,t,o[s]),st(e,t,c[s]));return r}function iI(e,t){if(typeof t.s!="string")throw new Lt(t);if(t.s.length>e.base.maxBase64Length)throw new RangeError("ArrayBuffer exceeds maxBase64Length ("+e.base.maxBase64Length+")");const n=ei(t.s);let r;if(n.length<HD||typeof Buffer>"u")r=XN(n);else{const s=atob(n);r=new ArrayBuffer(s.length),Buffer.from(r).write(s,"latin1")}return Rt(e,t.i,r)}function sI(e,t,n){var r;const s=MD(n.c),o=st(e,t,n.f);if(!(o instanceof ArrayBuffer))throw new Lt(n);const c=(r=n.b)!==null&&r!==void 0?r:0;if(c<0||c>o.byteLength)throw new Lt(n);return Rt(e,n.i,new s(o,c,n.l))}function oI(e,t,n){var r;const s=st(e,t,n.f);if(!(s instanceof ArrayBuffer))throw new Lt(n);const o=(r=n.b)!==null&&r!==void 0?r:0;if(o<0||o>s.byteLength)throw new Lt(n);return Rt(e,n.i,new DataView(s,o,n.l))}function w1(e,t,n,r){if(n.p){const s=v1(e,t,n.p,{});Object.defineProperties(r,Object.getOwnPropertyDescriptors(s))}return r}function lI(e,t,n){return w1(e,t,n,Rt(e,n.i,new AggregateError([],ei(n.m))))}function cI(e,t,n){const r=Xm(n,aN,n.s);return w1(e,t,n,Rt(e,n.i,new r(ei(n.m))))}function uI(e,t,n){const r=Xy(),s=Rt(e,n.i,r.p),o=st(e,t,n.f);if(g1(o))throw new Lt(n.f);return n.s?r.s(o):r.f(o),s}function dI(e,t,n){return Rt(e,n.i,Object(st(e,t,n.f)))}function hI(e,t,n){const r=e.base.plugins;if(r){const s=ei(n.c);for(let o=0,c=r.length;o<c;o++){const u=r[o];if(u.tag===s)return Rt(e,n.i,u.deserialize(n.s,new GD(e,t),{id:n.i}))}}throw new bN(n.c)}function fI(e,t){const n=Rt(e,t.i,Rt(e,t.s,Xy()).p);return b1(e,t.s,22),n}function pI(e,t,n){const r=e.base.refs.get(n.i);if(r){uh(e,n,n.i,22);const s=st(e,t,n.a[1]);if(g1(s))throw new Lt(n.a[1]);n.t===23?r.s(s):r.f(s);return}throw new oh("Promise")}function mI(e,t,n){st(e,t,n.a[0]);const r=st(e,t,n.a[1]);if(!s1(r))throw new Lt(n.a[1]);return tD(r)}function yI(e,t,n){st(e,t,n.a[0]);const r=st(e,t,n.a[1]);if(!u1(r))throw new Lt(n.a[1]);return cD(r)}function gI(e,t,n){const r=Rt(e,n.i,d1());b1(e,n.i,31);const s=n.a;Yr(n,s);const o=s.length;if(o)for(let c=0;c<o;c++)st(e,t,s[c]);return r}function bI(e,t,n){const r=e.base.refs.get(n.i);if(r){uh(e,n,n.i,31),r.next(st(e,t,n.f));return}throw new oh("Stream")}function vI(e,t,n){const r=e.base.refs.get(n.i);if(r){uh(e,n,n.i,31),r.throw(st(e,t,n.f));return}throw new oh("Stream")}function wI(e,t,n){const r=e.base.refs.get(n.i);if(r){uh(e,n,n.i,31),r.return(st(e,t,n.f));return}throw new oh("Stream")}function SI(e,t,n){st(e,t,n.f)}function kI(e,t,n){st(e,t,n.a[1])}function _S(e,t){return Number.isInteger(e)&&e>=-1&&e<t}function _I(e,t,n){Yr(n,n.a);const r=n.a.length;if(!(_S(n.s,r)&&_S(n.l,r)))throw new Lt(n);const s=Rt(e,n.i,o1([],n.s,n.l));for(let o=0;o<r;o++)s.v[o]=st(e,t,n.a[o]);return s}function st(e,t,n){if(t>e.base.depthLimit)throw new Zx(e.base.depthLimit);switch(t+=1,n.t){case 2:return Xm(n,tN,n.s);case 0:return Number(n.s);case 1:return ei(String(n.s));case 3:if(String(n.s).length>UD)throw new Lt(n);return BigInt(n.s);case 4:return e.base.refs.get(n.i);case 18:return JD(e,n);case 9:return QD(e,t,n);case 10:case 11:return ZD(e,t,n);case 5:return eI(e,n);case 6:return nI(e,n);case 7:return aI(e,t,n);case 8:return rI(e,t,n);case 19:return iI(e,n);case 16:case 15:return sI(e,t,n);case 20:return oI(e,t,n);case 14:return lI(e,t,n);case 13:return cI(e,t,n);case 12:return uI(e,t,n);case 17:return Xm(n,eN,n.s);case 21:return dI(e,t,n);case 25:return hI(e,t,n);case 22:return fI(e,n);case 23:case 24:return pI(e,t,n);case 28:return mI(e,t,n);case 30:return yI(e,t,n);case 31:return gI(e,t,n);case 32:return bI(e,t,n);case 33:return vI(e,t,n);case 34:return wI(e,t,n);case 27:return SI(e,t,n);case 29:return kI(e,t,n);case 35:return _I(e,t,n);case 36:return tI(e,n);default:throw new Yy(n)}}function xI(e,t){try{return st(e,0,t)}catch(n){throw new gN(n)}}function EI(e,t){const n=p1(t.plugins);return xI(qD({maxBase64Length:t.maxBase64Length,plugins:n,refs:t.refs,features:t.features,disabledFeatures:t.disabledFeatures,depthLimit:t.depthLimit}),e)}async function RI(e,t={}){const n=p1(t.plugins),r=vD(1,{compactArrayBufferViews:t.compactArrayBufferViews,plugins:n,disabledFeatures:t.disabledFeatures});return{t:await LD(r,e),f:r.base.features,m:Array.from(r.base.marked)}}var Xl;function Zm(e,t,n){try{return EI(e,t)}catch(r){throw k1(n),r}}async function S1(e){e.length>0&&(await Promise.allSettled(e),e.length=0)}function k1(e){for(const t of e)t.catch(()=>{});e.length=0}var CI=Object.prototype.hasOwnProperty;function _1(e){for(const t in e)if(CI.call(e,t))return!0;return!1}async function AI(e,t,n){Xl||(Xl=Mx());const r=t[0],s=r.fetch??n,o=r.data instanceof FormData,c=new Headers(r.headers);if(c.set("x-tsr-serverFn","true"),o||c.set("accept",`${gO}, application/x-ndjson, application/json`),r.method==="GET"){if(o)throw new Error("FormData is not supported with GET requests");const h=await x1(r);if(h!==void 0){const f=gx({payload:h});e.includes("?")?e+=`&${f}`:e+=`?${f}`}}let u;return r.method==="POST"&&(u=await TI(r),typeof u=="string"&&c.set("content-type","application/json")),OI(()=>s(e,{method:r.method,headers:c,signal:r.signal,body:u}))}async function x1(e){let t;return e.data!==void 0&&(t={data:e.data}),e.context&&_1(e.context)&&((t??={}).context=e.context),t?E1(t,e.signal):void 0}async function E1(e,t){t?.throwIfAborted();let n;try{n=await RI(e,{plugins:t?Mx(t):Xl})}finally{t?.throwIfAborted()}return JSON.stringify(n)}async function TI(e){if(e.data instanceof FormData){let t;return e.context&&_1(e.context)&&(t=await E1(e.context,e.signal)),t!==void 0&&e.data.set(yO,t),e.data}return x1(e)}async function OI(e){let t;try{t=await e()}catch(r){if(r instanceof Response)t=r;else throw r}if(t.headers.get("x-tss-raw")==="true")return t;const n=t.headers.get("content-type");if(n||Gl(),t.headers.get("x-tss-serialized")){let r;if(n.includes("application/x-tss-framed")){const s=/;\s*v=(\d+)/.exec(n)?.[1];if(s&&+s!=1)throw new Error(`Unsupported framed protocol version ${s}`);if(!t.body)throw new Error("No response body for framed response");const[o,c]=V2(t.body);r=await NI(o,[H2(c),...Xl])}else if(n.includes("application/json")){const s=await t.json(),o=[];r=Zm(s,{plugins:Xl},o),await S1(o)}if(r||Gl(),r instanceof Error)throw r;return r}if(n.includes("application/json")){const r=await t.json(),s=ix(r);if(s)throw s;if(Ii(r))throw r;return r}if(!t.ok)throw new Error(await t.text());return t}
13async function NI(e,t){const n=e.getReader(),r={refs:new Map,plugins:t},s=u=>{n.cancel(u).catch(()=>{})};let o;const c=[];try{const u=await n.read();if(u.done)throw new Error("Stream ended before first object");o=Zm(JSON.parse(u.value),r,c)}catch(u){throw s(u),n.releaseLock(),u}return(async()=>{const u=[];try{for(;;){const h=await n.read();if(h.done)return;Zm(JSON.parse(h.value),r,u),k1(u)}}catch(h){s(h),console.error("Stream processing error:",h)}finally{n.releaseLock()}})(),await S1(c),o}function R1(e){const t="/_serverFn/"+e;return Object.assign((...s)=>{const o=By()?.serverFns?.fetch;return AI(t,s,o??fetch)},{url:t,serverFnMeta:{id:e},[qm]:!0})}var DI={key:"$TSS/serverfn",test:e=>typeof e!="function"||!(qm in e)?!1:!!e[qm],toSerializable:({serverFnMeta:e})=>({functionId:e.id}),fromSerializable:({functionId:e})=>R1(e)},$d=N.use,C1=N.useLayoutEffect;function II({promise:e}){if($d)return $d(e);const t=F2(e);if(t[ma].status==="pending")throw t;if(t[ma].status==="error")throw t[ma].error;return t[ma].data}function PI(e){const t=x.jsx(jI,{...e});return e.fallback?x.jsx(N.Suspense,{fallback:e.fallback,children:t}):t}function jI(e){const t=II(e);return e.children(t)}var ng=class extends N.Component{constructor(...e){super(...e),this.state={error:0},this.reset=()=>{this.setState({error:0})}}static getDerivedStateFromProps(e,t){const n=e.getResetKey();return t.error&&t.resetKey!==n?{resetKey:n,error:0}:{resetKey:n}}static getDerivedStateFromError(e){return{error:[e]}}componentDidCatch(e,t){this.props.onCatch?.(e,t)}render(){const e=this.state.error;return e?N.createElement(this.props.errorComponent??LI,{error:e[0],reset:this.reset}):this.props.children}};function LI({error:e}){const[t,n]=N.useState(!1);return x.jsxs("div",{style:{padding:".5rem",maxWidth:"100%"},children:[x.jsxs("div",{style:{display:"flex",alignItems:"center",gap:".5rem"},children:[x.jsx("strong",{style:{fontSize:"1rem"},children:"Something went wrong!"}),x.jsx("button",{style:{appearance:"none",fontSize:".6em",border:"1px solid currentColor",padding:".1rem .2rem",fontWeight:"bold",borderRadius:".25rem"},onClick:()=>n(r=>!r),children:t?"Hide Error":"Show Error"})]}),x.jsx("div",{style:{height:".25rem"}}),t?x.jsx("div",{children:x.jsx("pre",{style:{fontSize:".7em",border:"1px solid red",borderRadius:".25rem",padding:".3rem",color:"red",overflow:"auto"},children:e?.message?x.jsx("code",{children:e.message}):null})}):null]})}var xS=()=>!0,MI=()=>!1;function BI({children:e,fallback:t=null}){return x.jsx(dc.Fragment,{children:ag()?e:t})}function ag(e=!0){return dc.useSyncExternalStore($I,xS,e?MI:xS)}function $I(){return()=>{}}var A1=N.createContext(null);function Ut(e){return N.useContext(A1)}var rg=N.createContext(void 0),zI=N.createContext(void 0);function HI({update:e,notify:t,unwatched:n}){return{link:r,unlink:s,propagate:o,checkDirty:c,shallowPropagate:u};function r(f,p,y){const b=p.depsTail;if(b!==void 0&&b.dep===f)return;const v=b!==void 0?b.nextDep:p.deps;if(v!==void 0&&v.dep===f){v.version=y,p.depsTail=v;return}const k=f.subsTail;if(k!==void 0&&k.version===y&&k.sub===p)return;const w=p.depsTail=f.subsTail={version:y,dep:f,sub:p,prevDep:b,nextDep:v,prevSub:k,nextSub:void 0};v!==void 0&&(v.prevDep=w),b!==void 0?b.nextDep=w:p.deps=w,k!==void 0?k.nextSub=w:f.subs=w}function s(f,p=f.sub){const y=f.dep,b=f.prevDep,v=f.nextDep,k=f.nextSub,w=f.prevSub;return v!==void 0?v.prevDep=b:p.depsTail=b,b!==void 0?b.nextDep=v:p.deps=v,k!==void 0?k.prevSub=w:y.subsTail=w,w!==void 0?w.nextSub=k:(y.subs=k)===void 0&&n(y),v}function o(f){let p=f.nextSub,y;e:do{const b=f.sub;let v=b.flags;if(v&60?v&12?v&4?!(v&48)&&h(f,b)?(b.flags=v|40,v&=1):v=0:b.flags=v&-9|32:v=0:b.flags=v|32,v&2&&t(b),v&1){const k=b.subs;if(k!==void 0){const w=(f=k).nextSub;w!==void 0&&(y={value:p,prev:y},p=w);continue}}if((f=p)!==void 0){p=f.nextSub;continue}for(;y!==void 0;)if(f=y.value,y=y.prev,f!==void 0){p=f.nextSub;continue e}break}while(!0)}function c(f,p){let y,b=0,v=!1;e:do{const k=f.dep,w=k.flags;if(p.flags&16)v=!0;else if((w&17)===17){if(e(k)){const E=k.subs;E.nextSub!==void 0&&u(E),v=!0}}else if((w&33)===33){(f.nextSub!==void 0||f.prevSub!==void 0)&&(y={value:f,prev:y}),f=k.deps,p=k,++b;continue}if(!v){const E=f.nextDep;if(E!==void 0){f=E;continue}}for(;b--;){const E=p.subs,_=E.nextSub!==void 0;if(_?(f=y.value,y=y.prev):f=E,v){if(e(p)){_&&u(E),p=f.sub;continue}v=!1}else p.flags&=-33;p=f.sub;const A=f.nextDep;if(A!==void 0){f=A;continue e}}return v}while(!0)}function u(f){do{const p=f.sub,y=p.flags;(y&48)===32&&(p.flags=y|16,(y&6)===2&&t(p))}while((f=f.nextSub)!==void 0)}function h(f,p){let y=p.depsTail;for(;y!==void 0;){if(y===f)return!0;y=y.prevDep}return!1}}function UI(e,t,n){const r=typeof e=="object",s=r?e:void 0;return{next:(r?e.next:e)?.bind(s),error:(r?e.error:t)?.bind(s),complete:(r?e.complete:n)?.bind(s)}}const ey=[];let Cd=0;const{link:ES,unlink:KI,propagate:VI,checkDirty:T1,shallowPropagate:RS}=HI({update(e){return e._update()},notify(e){ey[ty++]=e,e.flags&=-3},unwatched(e){e.depsTail!==void 0&&(e.depsTail=void 0,e.flags=17,zd(e))}});let Vu=0,ty=0,Xn,ny=0;function FI(e){try{++ny,e()}finally{--ny||O1()}}function zd(e){const t=e.depsTail;let n=t!==void 0?t.nextDep:e.deps;for(;n!==void 0;)n=KI(n,e)}function O1(){if(!(ny>0)){for(;Vu<ty;){const e=ey[Vu];ey[Vu++]=void 0,e.notify()}Vu=0,ty=0}}function CS(e,t){const n=typeof e=="function",r=e,s={_snapshot:n?void 0:e,subs:void 0,subsTail:void 0,deps:void 0,depsTail:void 0,flags:n?0:1,get(){return Xn!==void 0&&ES(s,Xn,Cd),s._snapshot},subscribe(o){const c=UI(o),u={current:!1},h=qI(()=>{s.get(),u.current?(Xn=void 0,c.next?.(s._snapshot)):u.current=!0});return{unsubscribe:()=>{h.stop()}}},_update(o){const c=Xn,u=t?.compare??Object.is;if(n)Xn=s,++Cd,s.depsTail=void 0;else if(o===void 0)return!1;
13n&&(s.flags=5);try{const h=s._snapshot,f=typeof o=="function"?o(h):o===void 0&&n?r(h):o;return h===void 0||!u(h,f)?(s._snapshot=f,!0):!1}finally{Xn=c,n&&(s.flags&=-5),zd(s)}}};return n?(s.flags=17,s.get=function(){const o=s.flags;if(o&16||o&32&&T1(s.deps,s)){if(s._update()){const c=s.subs;c!==void 0&&RS(c)}}else o&32&&(s.flags=o&-33);return Xn!==void 0&&ES(s,Xn,Cd),s._snapshot}):s.set=function(o){if(s._update(o)){const c=s.subs;c!==void 0&&(VI(c),RS(c),O1())}},s}function qI(e){const t=()=>{const r=Xn;Xn=n,++Cd,n.depsTail=void 0,n.flags=6;try{return e()}finally{Xn=r,n.flags&=-5,zd(n)}},n={deps:void 0,depsTail:void 0,subs:void 0,subsTail:void 0,flags:6,notify(){const r=this.flags;r&16||r&32&&T1(this.deps,this)?t():this.flags=2},stop(){this.flags=0,this.depsTail=void 0,zd(this)}};return t(),n}var rm={exports:{}},im={},sm={exports:{}},om={};var AS;function GI(){if(AS)return om;AS=1;var e=uc();function t(y,b){return y===b&&(y!==0||1/y===1/b)||y!==y&&b!==b}var n=typeof Object.is=="function"?Object.is:t,r=e.useState,s=e.useEffect,o=e.useLayoutEffect,c=e.useDebugValue;function u(y,b){var v=b(),k=r({inst:{value:v,getSnapshot:b}}),w=k[0].inst,E=k[1];return o(function(){w.value=v,w.getSnapshot=b,h(w)&&E({inst:w})},[y,v,b]),s(function(){return h(w)&&E({inst:w}),y(function(){h(w)&&E({inst:w})})},[y]),c(v),v}function h(y){var b=y.getSnapshot;y=y.value;try{var v=b();return!n(y,v)}catch{return!0}}function f(y,b){return b()}var p=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?f:u;return om.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:p,om}var TS;function WI(){return TS||(TS=1,sm.exports=GI()),sm.exports}var OS;function YI(){if(OS)return im;OS=1;var e=uc(),t=WI();function n(f,p){return f===p&&(f!==0||1/f===1/p)||f!==f&&p!==p}var r=typeof Object.is=="function"?Object.is:n,s=t.useSyncExternalStore,o=e.useRef,c=e.useEffect,u=e.useMemo,h=e.useDebugValue;return im.useSyncExternalStoreWithSelector=function(f,p,y,b,v){var k=o(null);if(k.current===null){var w={hasValue:!1,value:null};k.current=w}else w=k.current;k=u(function(){function _(D){if(!A){if(A=!0,C=D,D=b(D),v!==void 0&&w.hasValue){var I=w.value;if(v(I,D))return P=I}return P=D}if(I=P,r(C,D))return I;var $=b(D);return v!==void 0&&v(I,$)?(C=D,I):(C=D,P=$)}var A=!1,C,P,K=y===void 0?null:y;return[function(){return _(p())},K===null?void 0:function(){return _(K())}]},[p,y,b,v]);var E=s(f,k[0],k[1]);return c(function(){w.hasValue=!0,w.value=E},[E]),h(E),E},im}var NS;function JI(){return NS||(NS=1,rm.exports=YI()),rm.exports}var QI=JI();function XI(e,t){return e===t}function _a(e,t=r=>r,n){const r=n?.compare??XI,s=N.useCallback(c=>{const{unsubscribe:u}=e.subscribe(c);return u},[e]),o=N.useCallback(()=>e.get(),[e]);return QI.useSyncExternalStoreWithSelector(s,o,o,t,r)}var DS={};function ZI(e,t){const n=N.useRef();return r=>{const s=e?.select?e.select(r):r;return e?.structuralSharing??t.options.defaultStructuralSharing?n.current=Fr(n.current,s):s}}function Bi(e){const t=Ut(),n=N.useContext(e.from?zI:rg),r=e.from??n,s=t.stores.getMatchStore(r),o=ZI(e,t),c=_a(s,u=>u?o(u):DS);if(c!==DS)return c;(e.shouldThrow??!0)&&Gl()}function N1(e){return Bi({from:e.from,strict:e.strict,structuralSharing:e.structuralSharing,select:t=>e.select?e.select(t.loaderData):t.loaderData})}function D1(e){const{select:t,...n}=e;return Bi({...n,select:r=>t?t(r.loaderDeps):r.loaderDeps})}function I1(e){return Bi({from:e.from,shouldThrow:e.shouldThrow,structuralSharing:e.structuralSharing,strict:e.strict,select:t=>{const n=e.strict===!1?t.params:t._strictParams;return e.select?e.select(n):n}})}function P1(e){return Bi({from:e.from,strict:e.strict,shouldThrow:e.shouldThrow,structuralSharing:e.structuralSharing,select:t=>e.select?e.select(t.search):t.search})}function j1(e){const t=Ut();return N.useCallback(n=>t.navigate({...n,from:n.from??e?.from}),[e?.from,t])}function L1(e){return Bi({...e,select:t=>e.select?e.select(t.context):t.context})}function eP(...e){const t=N.useRef(e),n=t.current;return e.forEach((r,s)=>{aa(n[s],r,!1,!0)||(n[s]=r)}),t.current}function Fu(e,t){e.preloadRoute(t).catch(n=>{console.warn(n),console.warn(q2)})}var tP={compare:(e,t)=>
13e[0]===t[0]&&e[1]===t[1]};function nP(e,t){const n=typeof e=="string"&&ql(e);if(n)return t.has(n)?e:null}function aP(e,t,n,r,s){const o=eS(e.pathname,r),c=eS(t.pathname,r);return(n?.exact?o!==c:!(o.startsWith(c)&&(o.length===c.length||o[c.length]==="/")))||(n?.includeSearch??!0)&&!aa(e.search,t.search,!n?.exact,n?.explicitUndefined)?!1:n?.includeHash?s&&e.hash===t.hash:!0}function rP(e,t,n){const r=Ut(),s=N.useRef(null),o=N.useCallback(ye=>{if(s.current=ye,typeof t=="function")return t(ye);t&&(t.current=ye)},[t]),{activeOptions:c,to:u,preload:h,preloadDelay:f,hashScrollIntoView:p,replace:y,startTransition:b,resetScroll:v,viewTransition:k,ignoreBlocker:w,disabled:E,target:_,onClick:A,onBlur:C,onFocus:P,onMouseEnter:K,onMouseLeave:D,onTouchStart:I}=e,$=ag(!!c?.includeHash),[Y,re,z]=eP(e.search,e.params,c),[H,te]=N.useMemo(()=>[e,{...e}],[r,e.from,e._fromLocation,e.hash,e.to,Y,re,e.state,e.mask,e.unsafeRelative]),Z=N.useMemo(()=>{const ye=nP(u,r.protocolAllowlist);if(ye!==void 0){const ht=[ye??void 0];return()=>ht}let Te,xe;return ht=>{H._fromLocation||(te._fromLocation=ht);const Ct=r.buildLocation(te),Dt=cP(Ct,r,E);return(!Te||Te[0]!==Dt)&&(Te=[Dt,!(E||Dt&&!ql(Dt))&&void 0],xe=[Dt,!0]),Te[1]!==void 0&&aP(ht,Ct,z,r.basepath,$)?xe:Te}},[z,E,$,H,te,r,u]),[G,M]=_a(r.stores.location,Z,tP),Q=M===void 0&&G,ie=E||G===void 0,Se=N.useRef(!1),T=e.reloadDocument||Q||ie?!1:h??r.options.defaultPreload,L=f??r.options.defaultPreloadDelay??0,J=N.useCallback(ye=>{const Te=ye?.isIntersecting;if(!(Te??T==="intent")){Te===!1&&lm(s);return}if(!L){Fu(r,H);return}Ml.has(s)||Ml.set(s,setTimeout(()=>{Ml.delete(s),Fu(r,H)},L))},[r,H,s,T,L]);N.useEffect(()=>{if(!T)return;T==="render"&&!Se.current&&(Se.current=!0,Fu(r,H));let ye=!0,Te;return T==="viewport"&&s.current&&typeof IntersectionObserver=="function"&&(Te=new IntersectionObserver(xe=>{ye&&J(xe.pop())},{rootMargin:"100px"}),Te.observe(s.current)),()=>{ye=!1,Te?.disconnect(),lm(s)}},[r,H,T,J,s]);const O=oP(e,n);if(O.ref=t?o:s,Q)return O.href=Q,O;const de=ye=>{const Te=_??ye.currentTarget.getAttribute("target");!ie&&!(ye.metaKey||ye.altKey||ye.ctrlKey||ye.shiftKey)&&!ye.defaultPrevented&&(!Te||Te==="_self")&&ye.button===0&&(ye.preventDefault(),r.navigate({...H,replace:y,resetScroll:v,hashScrollIntoView:p,startTransition:b,viewTransition:k,ignoreBlocker:w}))},me=()=>{T==="intent"&&Fu(r,H)},fe=()=>{T==="intent"&&lm(s)};return O.onClick=Is(A,de),O.onBlur=Is(C,fe),O.onFocus=Is(P,J),O.onMouseEnter=Is(K,J),O.onMouseLeave=Is(D,fe),O.onTouchStart=Is(I,me),lP(O,e,M,G,ie,n)}var iP={},sP={className:"active"},M1=new Set(["to","params","search","hash","state","mask","from","unsafeRelative","_fromLocation","reloadDocument","preload","preloadDelay","preloadIntentProximity","hashScrollIntoView","replace","startTransition","resetScroll","viewTransition","ignoreBlocker","activeProps","inactiveProps","activeOptions","_asChild"]);function oP(e,t){const n={};for(const r in e)M1.has(r)||r==="type"&&t!==void 0||r==="disabled"&&t==="a"||(n[r]=e[r]);return n}function lP(e,t,n,r,s,o){const{activeProps:c,inactiveProps:u,className:h,style:f,target:p}=t,y=sx(n?c:u,{})??(n?sP:iP);Object.assign(e,y),e.href=r,o!=="a"&&(e.disabled=s),e.target=p;const b=y.style;(f||b)&&(e.style=f&&b?{...f,...b}:f||b);const v=y.className;return(h||v)&&(e.className=h?v?`${h} ${v}`:h:v),s&&(e.role="link",e["aria-disabled"]=!0),n&&(e["data-status"]="active",e["aria-current"]="page"),e}var Ml=new WeakMap,lm=e=>{clearTimeout(Ml.get(e)),Ml.delete(e)},Is=(e,t)=>e?n=>n.defaultPrevented||(e(n),n.defaultPrevented||t(n)):t;function cP(e,t,n){if(n)return;const r=e.maskedLocation??e,s=r.external?r.publicHref:t.history.createHref(r.publicHref)||"/";if(!((r.external||s!==r.publicHref)&&cx(s,t.protocolAllowlist)))return s}var Pe=N.memo(N.forwardRef((e,t)=>{const n=e._asChild||"a",r=rP(e,t,n),s=typeof e.children=="function"?e.children({isActive:r["data-status"]==="active"}):e.children;return N.createElement(n,r,s)}),uP);function uP(e,t){let n=0;for(const r in t)if(n++,e[r]!==t[r]&&(!M1.has(r)||!aa(e[r],t[r],!1,!0)))return!1;for(const r in e)n--;return n===0}var dP=class extends $x{constructor(t){super(t),this.useMatch=n=>Bi({...n,from:this.id}),this.useRouteContext=n=>L1({...n,from:this.id}),this.useSearch=n=>P1({...n,from:this.id}),this.useParams=n=>I1({...n,from:this.id}),this.useLoaderDeps=n=>D1({...n,from:this.id}),this.useLoaderData=n=>N1({...n,from:this.id}),this.useNavigate=()=>j1({from:this.fullPath}),this.Link=dc.forwardRef((n,r)=>x.jsx(Pe,{ref:r,from:this.fullPath,...n}))}};function hP(e){return new dP(e)}function fP(){return e=>mP(e)}var pP=class extends Z2{constructor(e){super(e),this.useMatch=t=>Bi({...t,from:this.id}),this.useRouteContext=t=>L1({...t,from:this.id}),this.useSearch=t=>P1({...t,from:this.id}),this.useParams=t=>I1({...t,from:this.id}),this.useLoaderDeps=t=>D1({...t,from:this.id}),this.useLoaderData=t=>N1({...t,from:this.id}),this.useNavigate=()=>j1({from:this.fullPath}
13),this.Link=dc.forwardRef((t,n)=>x.jsx(Pe,{ref:n,from:this.fullPath,...t}))}};function mP(e){return new pP(e)}function se(e){return t=>{const n=hP(t);return n.isRoot=!1,n}}function le(e,t){let n,r,s;const o=()=>(n||(s=void 0,n=e().then(u=>{n=void 0,c.preload=void 0,r=u[t??"default"]}).catch(u=>{n=void 0,s=u})),n),c=function(h){if(s){if(vO(s)&&typeof sessionStorage<"u"){const f=`tanstack_router_reload:${s.message}`;if(!sessionStorage.getItem(f))throw sessionStorage.setItem(f,"1"),window.location.reload(),new Promise(()=>{})}throw s}if(!r)if($d)$d(o());else throw o();return N.createElement(r,h)};return c.preload=o,c}function yP(e){const t=Ut(),n=`not-found-${_a(t.stores.location,r=>r.pathname)}-${_a(t.stores.status)}`;return x.jsx(ng,{getResetKey:()=>n,onCatch:(r,s)=>{if(Ii(r))e.onCatch?.(r,s);else throw r},errorComponent:({error:r})=>{if(Ii(r))return e.fallback?.(r);throw r},children:e.children})}function gP(){return x.jsx("p",{children:"Not Found"})}function B1(e,t,n){return t.options.notFoundComponent?x.jsx(t.options.notFoundComponent,{...n}):e.options.defaultNotFoundComponent?x.jsx(e.options.defaultNotFoundComponent,{...n}):x.jsx(gP,{})}function dh(e,t){const n=t?.options.pendingComponent??e.options.defaultPendingComponent;return n?x.jsx(n,{}):null}var bP=(e,t)=>e[0]===t[0]&&e[1]===t[1],$1=(e,t,n)=>!t.isRoot||t.options.shellComponent||t.options.wrapInSuspense||n===!1||n==="data-only"||!e.ssr,z1=N.memo(function({routeId:t}){const n=Ut();return x.jsx(vP,{router:n,match:_a(n.stores.getMatchStore(t))})});function vP({router:e,match:t}){const n=e.routesById[t.routeId],r=dh(e,n),s=n.options.errorComponent??e.options.defaultErrorComponent,o=n.options.onCatch??e.options.defaultOnCatch,c=n.isRoot?n.options.notFoundComponent??e.options.notFoundRoute?.options.component:n.options.notFoundComponent,u=t.ssr===!1||t.ssr==="data-only",h=$1(e,n,t.ssr)&&(n.options.wrapInSuspense??r??(n.options.errorComponent?.preload||u));let f=x.jsx(wP,{match:t});u&&(f=x.jsx(BI,{fallback:r,children:f})),c&&(f=x.jsx(yP,{fallback:b=>{if(b.routeId??=t.routeId,b.routeId!==t.routeId)throw b;return N.createElement(c,b)},children:f})),s&&(f=x.jsx(ng,{getResetKey:()=>t,errorComponent:s,onCatch:(b,v)=>{if(Ii(b))throw b.routeId??=t.routeId,b;o?.(b,v)},children:f})),h&&(f=x.jsx(N.Suspense,{fallback:r,children:f}));const p=null,y=n.isRoot?n.options.shellComponent:void 0;return x.jsx(rg.Provider,{value:t.routeId,children:y?x.jsxs(y,{children:[f,p]}):x.jsxs(x.Fragment,{children:[f,p]})})}var wP=N.memo(function({match:t}){const n=Ut(),r=t.routeId,s=n.routesById[r],o=N.useMemo(()=>{const u=(s.options.remountDeps??n.options.defaultRemountDeps)?.({routeId:r,loaderDeps:t.loaderDeps,params:t._strictParams,search:t._strictSearch});return u?JSON.stringify(u):void 0},[r,t.loaderDeps,t._strictParams,t._strictSearch,s.options.remountDeps,n.options.defaultRemountDeps]),c=N.useMemo(()=>{const u=s.options.component??n.options.defaultComponent;return u?x.jsx(u,{},o):x.jsx(H1,{})},[o,s.options.component,n.options.defaultComponent]);if(t.status==="pending"){if(n.ssr&&!$1(n,s,t.ssr))return c;if(n._tx)throw n._tx[5];return dh(n,s)}if(t.status==="notFound")return B1(n,s,t.error);if(t.status==="error")throw t.error;return c}),H1=N.memo(function(){const t=Ut(),n=N.useContext(rg);let r,s,o;{const u=t.stores.getMatchStore(n);[r,s]=_a(u,h=>[!!h._notFound,h.error],{compare:bP}),o=_a(t.stores.ids,h=>h[h.indexOf(n)+1])}if(r)return B1(t,t.routesById[n],s);if(!o)return null;const c=x.jsx(z1,{routeId:o});return n===Zs?x.jsx(N.Suspense,{fallback:dh(t),children:c}):c});function U1(e,t){const n=e[1];e.length=0,n?.(t)}function SP({t:e}){const t=Ut(),n=t._rendered??=[];return t.startTransition=(r,s)=>new Promise(o=>{U1(n,!1),n.push(s,o),e(t),N.startTransition(r)}),C1(()=>{const r=t.history.subscribe(t.load);t.updateLatestLocation();const s=t.latestLocation,o=t.buildLocation({to:s.pathname,search:!0,params:!0,hash:!0,state:!0,_includeValidateSearch:!0});if(ga(s.publicHref)!==ga(o.publicHref))return t.commitLocation({...o,replace:!0,ignoreBlocker:!0}),r;const c=t.stores.resolvedLocation.get();return c?.href===s.href&&c.state.__TSR_key===s.state.__TSR_key?n.push(t.stores.matches.get(),u=>{u&&t.emit({type:"onRendered",...ih(c,c)})}):t._tx||t.load({sync:!0}).catch(console.error),r},[t,t.history]),null}function kP(){const e=Ut(),t=e.routesById[Zs],n=dh(e,t),r=x.jsxs(x.Fragment,{children:[x.jsx(SP,{t:N.useState()[1]}),e.ssr?x.jsx(IS,{}):x.jsx(N.Suspense,{fallback:n,children:x.jsx(IS,{})})]});return e.options.InnerWrap?x.jsx(e.options.InnerWrap,{children:r}):r}function IS(){const e=Ut(),t=e._rendered,n=_a(e.stores.matches,c=>t[0]??c),r=n[0],s=r?.routeId;C1(()=>{t[0]===n&&U1(t,!0)},[t,n]);const o=s?x.jsx(z1,{routeId:s}):null;return e.options.disableGlobalCatchBoundary?o:x.jsx(ng,{getResetKey:()=>r,onCatch:void 0,children:o})}var _P=e=>({createMutableStore:CS,createReadonlyStore:CS,batch:FI}),xP=e=>new EP(e),EP=class extends i2{constructor(e){super(e,_P)}};function RP({router:e,children:t,...n}
13){ox(n)&&e.update({...e.options,...n,context:{...e.options.context,...n.context}});const r=x.jsx(A1.Provider,{value:e,children:t});return e.options.Wrap?x.jsx(e.options.Wrap,{children:r}):r}function CP({router:e,...t}){return x.jsx(RP,{router:e,...t,children:x.jsx(kP,{})})}function PS(e,t){if(t)for(const[n,r]of Object.entries(t))n!=="suppressHydrationWarning"&&r!==void 0&&r!==!1&&e.setAttribute(n,typeof r=="boolean"?"":String(r))}function K1(e){const{attrs:t,children:n,nonce:r,preventScriptHoist:s}=e,o=N.useMemo(()=>n===void 0?void 0:{__html:n},[n]);switch(e.tag){case"title":return x.jsx("title",{...t,suppressHydrationWarning:!0,children:n});case"meta":return x.jsx("meta",{...t,suppressHydrationWarning:!0});case"link":return x.jsx("link",{...t,precedence:t?.precedence??(t?.rel==="stylesheet"?"default":void 0),nonce:r,suppressHydrationWarning:!0});case"style":return e.inlineCss,x.jsx("style",{...t,dangerouslySetInnerHTML:o,nonce:r});case"script":return x.jsx(AP,{attrs:t,preventScriptHoist:s,children:n});default:return null}}function AP({attrs:e,children:t,preventScriptHoist:n}){Ut();const r=ag(),s=N.useMemo(()=>t===void 0?void 0:{__html:t},[t]),o=typeof e?.type=="string"&&e.type!==""&&e.type!=="text/javascript"&&e.type!=="module";if(N.useEffect(()=>{if(!o){if(e?.src){const c=document.createElement("a");c.href=e.src;const u=c.href;for(const f of document.scripts)if(f.src===u)return;const h=document.createElement("script");return PS(h,e),document.head.appendChild(h),()=>h.remove()}if(typeof t=="string"){const c=typeof e?.type=="string"?e.type:"text/javascript",u=typeof e?.nonce=="string"?e.nonce:void 0;for(const f of document.scripts){if(f.hasAttribute("src"))continue;const p=f.getAttribute("type")??"text/javascript",y=f.getAttribute("nonce")??void 0;if(f.textContent===t&&p===c&&y===u)return}const h=document.createElement("script");return h.textContent=t,PS(h,e),document.head.appendChild(h),()=>h.remove()}}},[e,t,o]),o&&typeof t=="string")return x.jsx("script",{...e,suppressHydrationWarning:!0,dangerouslySetInnerHTML:s});if(!r){if(e?.src)return x.jsx("script",{...e,suppressHydrationWarning:!0});if(typeof t=="string")return x.jsx("script",{...e,dangerouslySetInnerHTML:s,suppressHydrationWarning:!0})}return null}function TP(e,t,n,r){n=kx(n);const s=n.map(w=>w.meta).filter(w=>w!==void 0),o=[],c={};let u;for(let w=s.length-1;w>=0;w--){const E=s[w];for(let _=E.length-1;_>=0;_--){const A=E[_];if(A)if(A.title)u||(u={tag:"title",children:A.title});else if("script:ld+json"in A)try{const C=JSON.stringify(A["script:ld+json"]);o.push({tag:"script",attrs:{type:"application/ld+json"},children:EO(C)})}catch{}else{const C=A.name??A.property;if(C){if(c[C])continue;c[C]=!0}o.push({tag:"meta",attrs:{...A,nonce:t}})}}}u&&o.push(u),t&&o.push({tag:"meta",attrs:{property:"csp-nonce",content:t}}),o.reverse();const h=n.flatMap(w=>w.links??[]).filter(w=>w!==void 0).map(w=>({tag:"link",attrs:{...w,nonce:t}})),f=e.ssr?.manifest,p=[];f&&(n.forEach(w=>{f.routes[w.routeId]?.css?.forEach(E=>{const _=J2(E);p.push({tag:"link",attrs:{rel:"stylesheet",..._,crossOrigin:Bx(r,"stylesheet")??_.crossOrigin,suppressHydrationWarning:!0,nonce:t}})})}),f.inlineStyle&&p.push({tag:"style",attrs:{...f.inlineStyle.attrs,nonce:t},children:f.inlineStyle.children,inlineCss:!0}));const y=[];f&&n.forEach(w=>{f.routes[w.routeId]?.preloads?.forEach(E=>{y.push({tag:"link",attrs:{...W2(f,E,r),nonce:t}})})});const b=n.flatMap(w=>w.styles??[]).filter(w=>w!==void 0).map(({children:w,...E})=>({tag:"style",attrs:{...E,nonce:t},children:w})),v=n.flatMap(w=>w.headScripts??[]).filter(w=>w!==void 0).map(({children:w,...E})=>({tag:"script",attrs:{...E,nonce:t},children:w})),k=[];return Uu(k,o),k.push(...y),Uu(k,h),k.push(...p),Uu(k,b),Uu(k,v),k}var OP=e=>{const t=Ut(),n=t.options.ssr?.nonce,r=N.useCallback(s=>TP(t,n,s,e),[e,n,t]);return _a(t.stores.matches,r,{compare:aa})};function NP(e){const t=OP(e.assetCrossOrigin),n=Ut().options.ssr?.nonce;return x.jsx(x.Fragment,{children:t.map(r=>N.createElement(K1,{...r,key:`tsr-meta-${JSON.stringify(r)}`,nonce:n}))})}var DP={suppressHydrationWarning:!0},IP=()=>{const e=Ut(),t=e.options.ssr?.nonce,n=s=>{const o=Q2(s,e.ssr?.manifest,t,DP);for(const c of o[1])if(typeof c.attrs?.src=="string"){const u=c;u.preventScriptHoist=!0}return o},r=s=>X2(n(s));
13return PP(_a(e.stores.matches,r,{compare:aa}))};function PP(e){return x.jsx(x.Fragment,{children:e.map((t,n)=>N.createElement(K1,{...t,key:`tsr-scripts-${t.tag}-${n}`}))})}function jP(e){const t=Ut();return N.useCallback(async(...n)=>{try{const r=await e(...n);if(Fl(r))throw r;return r}catch(r){if(Fl(r))return r.options._fromLocation=t.stores.location.get(),t.navigate(t.resolveRedirect(r).options);throw r}},[t,e])}function jS(e){return e!=="__proto__"&&e!=="constructor"&&e!=="prototype"}function ay(e,t){const n=Object.create(null);if(e)for(const r of Object.keys(e))jS(r)&&(n[r]=e[r]);if(t&&typeof t=="object")for(const r of Object.keys(t))jS(r)&&(n[r]=t[r]);return n}function V1(e){return Object.create(null)}var F1=()=>{throw new Error("createServerOnlyFn() functions can only be called on the server!")},Ad=(e,t)=>{const n=t||e||{};typeof n.method>"u"&&(n.method="GET");const r=c=>Ad(void 0,{...n,validator:c,inputValidator:c});return Object.assign(c=>Ad(void 0,{...n,...c}),{options:n,middleware:c=>{const u=[...n.middleware||[]];c.forEach(f=>{Q0 in f?f.options.middleware&&u.push(...f.options.middleware):u.push(f)});const h=Ad(void 0,{...n,middleware:u});return h[Q0]=!0,h},validator:r,inputValidator:r,handler:(...c)=>{const[u,h]=c,f={...n,extractedFn:u,serverFn:h},p=[...f.middleware||[],BP(f)];return u.method=n.method,Object.assign(async y=>{const b=await LS(p,"client",{...u,...f,data:y?.data,headers:y?.headers,signal:y?.signal,fetch:y?.fetch,context:V1()}),v=ix(b.error);if(v)throw v;if(b.error)throw b.error;return b.result},{...u,method:n.method,__executeServer:async y=>{const b=F1(),v=b.contextAfterGlobalMiddlewares;return await LS(p,"server",{...u,data:y.data,method:y.method??n.method,serverFnMeta:u.serverFnMeta,context:ay(y.context,v),request:b.request}).then(k=>({result:k.result,error:k.error,context:k.sendContext}))}})}})};async function LS(e,t,n){let r=LP([...By()?.functionMiddleware||[],...e]);if(t==="server"){const o=F1();o?.executedRequestMiddlewares&&(r=r.filter(c=>!o.executedRequestMiddlewares.has(c)))}const s=async o=>{const c=r.shift();if(!c)return o;try{let u="validator"in c.options?c.options.validator:void 0;!u&&"inputValidator"in c.options&&(u=c.options.inputValidator),u&&t==="server"&&(o.data=await MP(u,o.data));let h;if(t==="client"?"client"in c.options&&(h=c.options.client):"server"in c.options&&(h=c.options.server),h){const p=await h({...o,next:async(y={})=>{const b=await s({...o,...y,context:ay(o.context,y.context),sendContext:ay(o.sendContext,y.sendContext),headers:E2(o.headers,y.headers),_callSiteFetch:o._callSiteFetch,fetch:o._callSiteFetch??y.fetch??o.fetch,result:y.result!==void 0?y.result:y instanceof Response?y:o.result,error:y.error??o.error});if(b.error)throw b.error;return b}});if(Fl(p))return{...o,error:p};if(p instanceof Response)return{...o,result:p};if(!p)throw new Error("User middleware returned undefined. You must call next() or return a result in your middlewares.");return p}return s(o)}catch(u){return{...o,error:u}}};return s({...n,headers:n.headers||{},sendContext:n.sendContext||{},context:n.context||V1(),_callSiteFetch:n.fetch})}function LP(e,t=100){const n=new Set,r=[],s=(o,c)=>{if(c>t)throw new Error(`Middleware nesting depth exceeded maximum of ${t}. Check for circular references.`);o.forEach(u=>{u.options.middleware&&s(u.options.middleware,c+1),n.has(u)||(n.add(u),r.push(u))})};return s(e,0),r}async function MP(e,t){if(e==null)return{};if("~standard"in e){const n=await e["~standard"].validate(t);if(n.issues)throw new Error(JSON.stringify(n.issues,void 0,2));return n.value}if("parse"in e)return e.parse(t);if(typeof e=="function")return e(t);throw new Error("Invalid validator type!")}function BP(e){return{"~types":void 0,options:{inputValidator:e.validator??e.inputValidator,client:async({next:t,sendContext:n,fetch:r,...s})=>{const o={...s,context:n,fetch:r};return t(await e.extractedFn?.(o))},server:async({next:t,...n})=>{const r=await e.serverFn?.(n);return t({...n,result:r})}}}}var Oi=(e,t)=>{const n={type:"request",...t||e},r=s=>Oi({},Object.assign(n,{validator:s,inputValidator:s}));return{options:n,middleware:s=>Oi({},Object.assign(n,{middleware:s})),validator:r,inputValidator:r,client:s=>Oi({},Object.assign(n,{client:s})),server:s=>Oi({},Object.assign(n,{server:s}))}};function q1(e,t){for(let n=0,r=t.length;n<r;n++){const s=t[n];e.has(s)||(e.add(s),s.extends&&q1(e,s.extends))}}var $P=e=>({getOptions:async()=>{const t=await e();if(t.serializationAdapters){const n=new Set;q1(n,t.serializationAdapters),t.serializationAdapters=Array.from(n)}return t},createMiddleware:Oi}),ba=function(){return ba=Object.assign||function(t){for(var n,r=1,s=arguments.length;r<s;r++){n=arguments[r];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},ba.apply(this,arguments)};function uo(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,r=Object.getOwnPropertySymbols(e);s<r.length;s++)t.indexOf(r[s])<0&&Object.prototype.propertyIsEnumerable.call(e,r[s])&&(n[r[s]]=e[r[s]]);return n}function zP(e,t,n,r){function s(o){return o instanceof n?o:new n(function(c){c(o)})}
13return new(n||(n=Promise))(function(o,c){function u(p){try{f(r.next(p))}catch(y){c(y)}}function h(p){try{f(r.throw(p))}catch(y){c(y)}}function f(p){p.done?o(p.value):s(p.value).then(u,h)}f((r=r.apply(e,t||[])).next())})}function HP(e,t,n){if(n||arguments.length===2)for(var r=0,s=t.length,o;r<s;r++)(o||!(r in t))&&(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))}const UP=e=>e?(...t)=>e(...t):(...t)=>fetch(...t);class ig extends Error{constructor(t,n="FunctionsError",r){super(t),this.name=n,this.context=r}toJSON(){return{name:this.name,message:this.message,context:this.context}}}class KP extends ig{constructor(t){super("Failed to send a request to the Edge Function","FunctionsFetchError",t)}}class MS extends ig{constructor(t){super("Relay Error invoking the Edge Function","FunctionsRelayError",t)}}class BS extends ig{constructor(t){super("Edge Function returned a non-2xx status code","FunctionsHttpError",t)}}var ry;(function(e){e.Any="any",e.ApNortheast1="ap-northeast-1",e.ApNortheast2="ap-northeast-2",e.ApSouth1="ap-south-1",e.ApSoutheast1="ap-southeast-1",e.ApSoutheast2="ap-southeast-2",e.CaCentral1="ca-central-1",e.EuCentral1="eu-central-1",e.EuWest1="eu-west-1",e.EuWest2="eu-west-2",e.EuWest3="eu-west-3",e.SaEast1="sa-east-1",e.UsEast1="us-east-1",e.UsWest1="us-west-1",e.UsWest2="us-west-2"})(ry||(ry={}));class VP{constructor(t,{headers:n={},customFetch:r,region:s=ry.Any}={}){this.url=t,this.headers=n,this.region=s,this.fetch=UP(r)}setAuth(t){this.headers.Authorization=`Bearer ${t}`}invoke(t){return zP(this,arguments,void 0,function*(n,r={}){var s;let o,c;try{const{headers:u,method:h,body:f,signal:p,timeout:y}=r;let b={},{region:v}=r;v||(v=this.region);const k=new URL(`${this.url}/${n}`);v&&v!=="any"&&(b["x-region"]=v,k.searchParams.set("forceFunctionRegion",v));let w;f&&(u&&!Object.prototype.hasOwnProperty.call(u,"Content-Type")||!u)?typeof Blob<"u"&&f instanceof Blob||f instanceof ArrayBuffer?(b["Content-Type"]="application/octet-stream",w=f):typeof f=="string"?(b["Content-Type"]="text/plain",w=f):typeof FormData<"u"&&f instanceof FormData?w=f:(b["Content-Type"]="application/json",w=JSON.stringify(f)):f&&typeof f!="string"&&!(typeof Blob<"u"&&f instanceof Blob)&&!(f instanceof ArrayBuffer)&&!(typeof FormData<"u"&&f instanceof FormData)?w=JSON.stringify(f):w=f;let E=p;y&&(c=new AbortController,o=setTimeout(()=>c.abort(),y),p?(E=c.signal,p.addEventListener("abort",()=>c.abort())):E=c.signal);const _=yield this.fetch(k.toString(),{method:h||"POST",headers:Object.assign(Object.assign(Object.assign({},b),this.headers),u),body:w,signal:E}).catch(K=>{throw new KP(K)}),A=_.headers.get("x-relay-error");if(A&&A==="true")throw new MS(_);if(!_.ok)throw new BS(_);let C=((s=_.headers.get("Content-Type"))!==null&&s!==void 0?s:"text/plain").split(";")[0].trim(),P;return C==="application/json"?P=yield _.json():C==="application/octet-stream"||C==="application/pdf"?P=yield _.blob():C==="text/event-stream"?P=_:C==="multipart/form-data"?P=yield _.formData():P=yield _.text(),{data:P,error:null,response:_}}catch(u){return{data:null,error:u,response:u instanceof BS||u instanceof MS?u.context:void 0}}finally{o&&clearTimeout(o)}})}}const G1=3,$S=e=>Math.min(1e3*2**e,3e4),FP=[520,503],W1=["GET","HEAD","OPTIONS"];var zS=class extends Error{constructor(e){super(e.message),this.name="PostgrestError",this.details=e.details,this.hint=e.hint,this.co
13de=e.code}toJSON(){return{name:this.name,message:this.message,details:this.details,hint:this.hint,code:this.code}}};function HS(e,t){return new Promise(n=>{if(t?.aborted){n();return}const r=setTimeout(()=>{t?.removeEventListener("abort",s),n()},e);function s(){clearTimeout(r),n()}t?.addEventListener("abort",s)})}function qP(e,t,n,r){return!(!r||n>=G1||!W1.includes(e)||!FP.includes(t))}var GP=class{constructor(e){var t,n,r,s,o;this.shouldThrowOnError=!1,this.retryEnabled=!0,this.method=e.method,this.url=e.url,this.headers=new Headers(e.headers),this.schema=e.schema,this.body=e.body,this.shouldThrowOnError=(t=e.shouldThrowOnError)!==null&&t!==void 0?t:!1,this.signal=e.signal,this.isMaybeSingle=(n=e.isMaybeSingle)!==null&&n!==void 0?n:!1,this.shouldStripNulls=(r=e.shouldStripNulls)!==null&&r!==void 0?r:!1,this.urlLengthLimit=(s=e.urlLengthLimit)!==null&&s!==void 0?s:8e3,this.retryEnabled=(o=e.retry)!==null&&o!==void 0?o:!0,e.fetch?this.fetch=e.fetch:this.fetch=fetch}throwOnError(){return this.shouldThrowOnError=!0,this}stripNulls(){if(this.headers.get("Accept")==="text/csv")throw new Error("stripNulls() cannot be used with csv()");return this.shouldStripNulls=!0,this}setHeader(e,t){return this.headers=new Headers(this.headers),this.headers.set(e,t),this}retry(e){return this.retryEnabled=e,this}then(e,t){var n=this;if(this.schema===void 0||(["GET","HEAD"].includes(this.method)?this.headers.set("Accept-Profile",this.schema):this.headers.set("Content-Profile",this.schema)),this.method!=="GET"&&this.method!=="HEAD"&&this.headers.set("Content-Type","application/json"),this.shouldStripNulls){const c=this.headers.get("Accept");c==="application/vnd.pgrst.object+json"?this.headers.set("Accept","application/vnd.pgrst.object+json;nulls=stripped"):(!c||c==="application/json")&&this.headers.set("Accept","application/vnd.pgrst.array+json;nulls=stripped")}const r=this.fetch;let o=(async()=>{let c=0;for(;;){const f={};n.headers.forEach((y,b)=>{f[b]=y}),c>0&&(f["X-Retry-Count"]=String(c));let p;try{p=await r(n.url.toString(),{method:n.method,headers:f,body:JSON.stringify(n.body,(y,b)=>typeof b=="bigint"?b.toString():b),signal:n.signal})}catch(y){if(y?.name==="AbortError"||y?.code==="ABORT_ERR"||!W1.includes(n.method))throw y;if(n.retryEnabled&&c<G1){const b=$S(c);c++,await HS(b,n.signal);continue}throw y}if(qP(n.method,p.status,c,n.retryEnabled)){var u,h;const y=(u=(h=p.headers)===null||h===void 0?void 0:h.get("Retry-After"))!==null&&u!==void 0?u:null,b=y!==null?Math.max(0,parseInt(y,10)||0)*1e3:$S(c);await p.text(),c++,await HS(b,n.signal);continue}return await n.processResponse(p)}})();return this.shouldThrowOnError||(o=o.catch(c=>{var u;let h="",f="",p="";const y=c?.cause;if(y){var b,v,k,w;const A=(b=y?.message)!==null&&b!==void 0?b:"",C=(v=y?.code)!==null&&v!==void 0?v:"";h=`${(k=c?.name)!==null&&k!==void 0?k:"FetchError"}: ${c?.message}`,h+=`
14
15Caused by: ${(w=y?.name)!==null&&w!==void 0?w:"Error"}: ${A}`,C&&(h+=` (${C})`),y?.stack&&(h+=`
16${y.stack}`)}else{var E;h=(E=c?.stack)!==null&&E!==void 0?E:""}const _=this.url.toString().length;return c?.name==="AbortError"||c?.code==="ABORT_ERR"?(p="",f="Request was aborted (timeout or manual cancellation)",_>this.urlLengthLimit&&(f+=`. Note: Your request URL is ${_} characters, which may exceed server limits. If selecting many fields, consider using views. If filtering with large arrays (e.g., .in('id', [many IDs])), consider using an RPC function to pass values server-side.`)):(y?.name==="HeadersOverflowError"||y?.code==="UND_ERR_HEADERS_OVERFLOW")&&(p="",f="HTTP headers exceeded server limits (typically 16KB)",_>this.urlLengthLimit&&(f+=`. Your request URL is ${_} characters. If selecting many fields, consider using views. If filtering with large arrays (e.g., .in('id', [200+ IDs])), consider using an RPC function instead.`)),{success:!1,error:{message:`${(u=c?.name)!==null&&u!==void 0?u:"FetchError"}: ${c?.message}`,details:h,hint:f,code:p},data:null,count:null,status:0,statusText:""}})),o.then(e,t)}async processResponse(e){var t=this;let n=null,r=null,s=null,o=e.status,c=e.statusText;if(e.ok){var u,h;if(t.method!=="HEAD"){var f;const b=await e.text();if(b!=="")if(t.headers.get("Accept")==="text/csv")r=b;else if(t.headers.get("Accept")&&(!((f=t.headers.get("Accept"))===null||f===void 0)&&f.includes("application/vnd.pgrst.plan+text")))r=b;else try{r=JSON.parse(b)}catch{if(n={message:b},r=null,t.shouldThrowOnError)throw new zS({message:b,details:"",hint:"",code:""})}}const p=(u=t.headers.get("Prefer"))===null||u===void 0?void 0:u.match(/count=(exact|planned|estimated)/),y=(h=e.headers.get("content-range"))===null||h===void 0?void 0:h.split("/");p&&y&&y.length>1&&(s=parseInt(y[1])),t.isMaybeSingle&&Array.isArray(r)&&(r.length>1?(n={code:"PGRST116",details:`Results contain ${r.length} rows, application/vnd.pgrst.object+json requires 1 row`,hint:null,message:"JSON object requested, multiple (or no) rows returned"},r=null,s=null,o=406,c="Not Acceptable"):r.length===1?r=r[0]:r=null)}else{const p=await e.text();try{n=JSON.parse(p),Array.isArray(n)&&e.status===404&&(r=[],n=null,o=200,c="OK")}catch{e.status===404&&p===""?(o=204,c="No Content"):n={message:p}}if(n&&t.shouldThrowOnError)throw new zS(n)}return{success:n===null,error:n,data:r,count:s,status:o,statusText:c}}returns(){return this}overrideTypes(){return this}},WP=class extends GP{throwOnError(){return super.throwOnError()}select(e){let t=!1;const n=(e??"*").split("").map(r=>/\s/.test(r)&&!t?"":(r==='"'&&(t=!t),r)).join("");return this.url.searchParams.set("select",n),this.headers.append("Prefer","return=representation"),this}order(e,{ascending:t=!0,nullsFirst:n,foreignTable:r,referencedTable:s=r}={}){const o=s?`${s}.order`:"order",c=this.url.searchParams.get(o);return this.url.searchParams.set(o,`${c?`${c},`:""}${e}.${t?"asc":"desc"}${n===void 0?"":n?".nullsfirst":".nullslast"}`),this}limit(e,{foreignTable:t,referencedTable:n=t}={}){const r=typeof n>"u"?"limit":`${n}.limit`;return this.url.searchParams.set(r,`${e}`),this}range(e,t,{foreignTable:n,referencedTable:r=n}={}){const s=typeof r>"u"?"offset":`${r}.offset`,o=typeof r>"u"?"limit":`${r}.limit`;return this.url.searchParams.set(s,`${e}`),this.url.searchParams.set(o,`${t-e+1}`),this}abortSignal(e){return this.signal=e,this}single(){return this.headers.set("Accept","application/vnd.pgrst.object+json"),this}maybeSingle(){return this.isMaybeSingle=!0,this}csv(){return this.headers.set("Accept","text/csv"),this}geojson(){return this.headers.set("Accept","application/geo+json"),this}
16explain({analyze:e=!1,verbose:t=!1,settings:n=!1,buffers:r=!1,wal:s=!1,format:o="text"}={}){var c;const u=[e?"analyze":null,t?"verbose":null,n?"settings":null,r?"buffers":null,s?"wal":null].filter(Boolean).join("|"),h=(c=this.headers.get("Accept"))!==null&&c!==void 0?c:"application/json";return this.headers.set("Accept",`application/vnd.pgrst.plan+${o}; for="${h}"; options=${u};`),o==="json"?this:this}rollback(){return this.headers.append("Prefer","tx=rollback"),this}returns(){return this}maxAffected(e){return this.headers.append("Prefer","handling=strict"),this.headers.append("Prefer",`max-affected=${e}`),this}};const US=new RegExp("[,()]");var Ks=class extends WP{throwOnError(){return super.throwOnError()}eq(e,t){return this.url.searchParams.append(e,`eq.${t}`),this}neq(e,t){return this.url.searchParams.append(e,`neq.${t}`),this}gt(e,t){return this.url.searchParams.append(e,`gt.${t}`),this}gte(e,t){return this.url.searchParams.append(e,`gte.${t}`),this}lt(e,t){return this.url.searchParams.append(e,`lt.${t}`),this}lte(e,t){return this.url.searchParams.append(e,`lte.${t}`),this}like(e,t){return this.url.searchParams.append(e,`like.${t}`),this}likeAllOf(e,t){return this.url.searchParams.append(e,`like(all).{${t.join(",")}}`),this}likeAnyOf(e,t){return this.url.searchParams.append(e,`like(any).{${t.join(",")}}`),this}ilike(e,t){return this.url.searchParams.append(e,`ilike.${t}`),this}ilikeAllOf(e,t){return this.url.searchParams.append(e,`ilike(all).{${t.join(",")}}`),this}ilikeAnyOf(e,t){return this.url.searchParams.append(e,`ilike(any).{${t.join(",")}}`),this}regexMatch(e,t){return this.url.searchParams.append(e,`match.${t}`),this}regexIMatch(e,t){return this.url.searchParams.append(e,`imatch.${t}`),this}is(e,t){return this.url.searchParams.append(e,`is.${t}`),this}isDistinct(e,t){return this.url.searchParams.append(e,`isdistinct.${t}`),this}in(e,t){const n=Array.from(new Set(t)).map(r=>typeof r=="string"&&US.test(r)?`"${r}"`:`${r}`).join(",");return this.url.searchParams.append(e,`in.(${n})`),this}notIn(e,t){const n=Array.from(new Set(t)).map(r=>typeof r=="string"&&US.test(r)?`"${r}"`:`${r}`).join(",");return this.url.searchParams.append(e,`not.in.(${n})`),this}contains(e,t){return typeof t=="string"?this.url.searchParams.append(e,`cs.${t}`):Array.isArray(t)?this.url.searchParams.append(e,`cs.{${t.join(",")}}`):this.url.searchParams.append(e,`cs.${JSON.stringify(t)}`),this}containedBy(e,t){return typeof t=="string"?this.url.searchParams.append(e,`cd.${t}`):Array.isArray(t)?this.url.searchParams.append(e,`cd.{${t.join(",")}}`):this.url.searchParams.append(e,`cd.${JSON.stringify(t)}`),this}rangeGt(e,t){return this.url.searchParams.append(e,`sr.${t}`),this}rangeGte(e,t){return this.url.searchParams.append(e,`nxl.${t}`),this}rangeLt(e,t){return this.url.searchParams.append(e,`sl.${t}`),this}rangeLte(e,t){return this.url.searchParams.append(e,`nxr.${t}`),this}rangeAdjacent(e,t){return this.url.searchParams.append(e,`adj.${t}`),this}overlaps(e,t){return typeof t=="string"?this.url.searchParams.append(e,`ov.${t}`):this.url.searchParams.append(e,`ov.{${t.join(",")}}`),this}textSearch(e,t,{config:n,type:r}={}){let s="";r==="plain"?s="pl":r==="phrase"?s="ph":r==="websearch"&&(s="w");const o=n===void 0?"":`(${n})`;return this.url.searchParams.append(e,`${s}fts${o}.${t}`),this}match(e){return Object.entries(e).filter(([t,n])=>n!==void 0).forEach(([t,n])=>{this.url.searchParams.append(t,`eq.${n}`)}),this}not(e,t,n){return this.url.searchParams.append(e,`not.${t}.${n}`),this}or(e,{foreignTable:t,referencedTable:n=t}={}){const r=n?`${n}.or`:"or";return this.url.searchParams.append(r,`(${e})`),this}filter(e,t,n){return this.url.searchParams.append(e,`${t}.${n}`),this}},YP=class{constructor(e,{headers:t={},schema:n,fetch:r,urlLengthLimit:s=8e3,retry:o}){this.url=e,this.headers=new Headers(t),this.schema=n,this.fetch=r,this.urlLengthLimit=s,this.retry=o}cloneRequestState(){return{url:new URL(this.url.toString()),headers:new Headers(this.headers)}}select(e,t){const{head:n=!1,count:r}=t??{},s=n?"HEAD":"GET";let o=!1;const c=(e??"*").split("").map(f=>/\s/.test(f)&&!o?"":(f==='"'&&(o=!o),f)).join(""),{url:u,headers:h}=this.cloneRequestState();return u.searchParams.set("select",c),r&&h.append("Prefer",`count=${r}`),new Ks({method:s,url:u,headers:h,schema:this.schema,fetch:this.fetch,urlLengthLimit:this.urlLengthLimit,retry:this.retry})}insert(e,{count:t,defaultToNull:n=!0}={}){var r;const s="POST",{url:o,headers:c}=this.cloneRequestState();if(t&&c.append("Prefer",`count=${t}`),n||c.append("Prefer","missing=default"),Array.isArray(e)){const u=e.reduce((h,f)=>h.concat(Object.keys(f)),[]);if(u.length>0){const h=[...new Set(u)].map(f=>`"${f}"`);o.searchParams.set("columns",h.join(","))}}return new Ks({method:s,url:o,headers:c,schema:this.schema,body:e,fetch:(r=this.fetch)!==null&&r!==void 0?r:fetch,urlLengthLimit:this.urlLengthLimit,retry:this.retry})}upsert(e,{onConflict:t,ignoreDuplicates:n=!1,count:r,defaultToNull:s=!0}={}){var o;const c="POST",{url:u,headers:h}=this.cloneRequestState();if(h.append("Prefer",`resolution=${n?"ignore":"merge"}-duplicates`),t!==void 0&&u.searchParams.set("on_conflict",t),r&&h.append("Prefer",`count=${r}`),s||h.append("Prefer","missing=default"),Array.isArray(e)){const f=e.reduce((p,y)=>
16p.concat(Object.keys(y)),[]);if(f.length>0){const p=[...new Set(f)].map(y=>`"${y}"`);u.searchParams.set("columns",p.join(","))}}return new Ks({method:c,url:u,headers:h,schema:this.schema,body:e,fetch:(o=this.fetch)!==null&&o!==void 0?o:fetch,urlLengthLimit:this.urlLengthLimit,retry:this.retry})}update(e,{count:t}={}){var n;const r="PATCH",{url:s,headers:o}=this.cloneRequestState();return t&&o.append("Prefer",`count=${t}`),new Ks({method:r,url:s,headers:o,schema:this.schema,body:e,fetch:(n=this.fetch)!==null&&n!==void 0?n:fetch,urlLengthLimit:this.urlLengthLimit,retry:this.retry})}delete({count:e}={}){var t;const n="DELETE",{url:r,headers:s}=this.cloneRequestState();return e&&s.append("Prefer",`count=${e}`),new Ks({method:n,url:r,headers:s,schema:this.schema,fetch:(t=this.fetch)!==null&&t!==void 0?t:fetch,urlLengthLimit:this.urlLengthLimit,retry:this.retry})}};function Zl(e){"@babel/helpers - typeof";return Zl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Zl(e)}function JP(e,t){if(Zl(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Zl(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function QP(e){var t=JP(e,"string");return Zl(t)=="symbol"?t:t+""}function XP(e,t,n){return(t=QP(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function KS(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,r)}return n}function qu(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?KS(Object(n),!0).forEach(function(r){XP(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):KS(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var ZP=class Y1{constructor(t,{headers:n={},schema:r,fetch:s,timeout:o,urlLengthLimit:c=8e3,retry:u}={}){this.url=t,this.headers=new Headers(n),this.schemaName=r,this.urlLengthLimit=c;const h=s??globalThis.fetch;o!==void 0&&o>0?this.fetch=(f,p)=>{const y=new AbortController,b=setTimeout(()=>y.abort(),o),v=p?.signal;if(v){if(v.aborted)return clearTimeout(b),h(f,p);const k=()=>{clearTimeout(b),y.abort()};return v.addEventListener("abort",k,{once:!0}),h(f,qu(qu({},p),{},{signal:y.signal})).finally(()=>{clearTimeout(b),v.removeEventListener("abort",k)})}return h(f,qu(qu({},p),{},{signal:y.signal})).finally(()=>clearTimeout(b))}:this.fetch=h,this.retry=u}from(t){if(!t||typeof t!="string"||t.trim()==="")throw new Error("Invalid relation name: relation must be a non-empty string.");return new YP(new URL(`${this.url}/${t}`),{headers:new Headers(this.headers),schema:this.schemaName,fetch:this.fetch,urlLengthLimit:this.urlLengthLimit,retry:this.retry})}schema(t){return new Y1(this.url,{headers:this.headers,schema:t,fetch:this.fetch,urlLengthLimit:this.urlLengthLimit,retry:this.retry})}rpc(t,n={},{head:r=!1,get:s=!1,count:o}={}){var c;let u;const h=new URL(`${this.url}/rpc/${t}`);let f;const p=v=>v!==null&&typeof v=="object"&&(!Array.isArray(v)||v.some(p)),y=r&&Object.values(n).some(p);y?(u="POST",f=n):r||s?(u=r?"HEAD":"GET",Object.entries(n).filter(([v,k])=>k!==void 0).map(([v,k])=>[v,Array.isArray(k)?`{${k.join(",")}}`:`${k}`]).forEach(([v,k])=>{h.searchParams.append(v,k)})):(u="POST",f=n);const b=new Headers(this.headers);return y?b.set("Prefer",o?`count=${o},return=minimal`:"return=minimal"):o&&b.set("Prefer",`count=${o}`),new Ks({method:u,url:h,headers:b,schema:this.schemaName,body:f,fetch:(c=this.fetch)!==null&&c!==void 0?c:fetch,urlLengthLimit:this.urlLengthLimit,retry:this.retry})}};class ej{constructor(){}static detectEnvironment(){var t;if(typeof WebSocket<"u")return{type:"native",wsConstructor:WebSocket};const n=globalThis;if(typeof globalThis<"u"&&typeof n.WebSocket<"u")return{type:"native",wsConstructor:n.WebSocket};const r=typeof global<"u"?global:void 0;if(r&&typeof r.WebSocket<"u")return{type:"native",wsConstructor:r.WebSocket};if(typeof globalThis<"u"&&typeof n.WebSocketPair<"u"&&typeof globalThis.WebSocket>"u")return{type:"cloudflare",error:"Cloudflare Workers detected. WebSocket clients are not supported in Cloudflare Workers.",workaround:"Use Cloudflare Workers WebSocket API for server-side WebSocket handling, or deploy to a different runtime."};if(typeof globalThis<"u"&&n.EdgeRuntime||typeof navigator<"u"&&(!((t=navigator.userAgent)===null||t===void 0)&&t.includes("Vercel-Edge")))return{type:"unsupported",error:"Edge runtime detected (Vercel Edge/Netlify Edge). WebSockets are not supported in edge functions.",workaround:"Use serverless functions or a different deployment target for WebSocket functionality."};const s=globalThis.process;if(s){const o=s.versions;if(o&&o.node){const c=o.node,u=parseInt(c.replace(/^v/,"").split(".")[0]);return u>=22?typeof globalThis.WebSocket<"u"?{type:"native",wsConstructor:globalThis.WebSocket}:{type:"unsupported",error:`Node.js ${u} detected but native WebSocket not found.`,workaround:"Provide a WebSocket implementation via the transport option."}:{type:"unsupported",error:`Node.js ${u} detected without native WebSocket support.`,workaround:`For Node.js < 22, install "ws" package and provide it via the transport option:
17import ws from "ws"
18new RealtimeClient(url, { transport: ws })`}}}return{type:"unsupported",error:"Unknown JavaScript runtime without WebSocket support.",workaround:"Ensure you're running in a supported environment (browser, Node.js, Deno) or provide a custom WebSocket implementation."}}static getWebSocketConstructor(){const t=this.detectEnvironment();if(t.wsConstructor)return t.wsConstructor;let n=t.error||"WebSocket not supported in this environment.";throw t.workaround&&(n+=`
19
20Suggested solution: ${t.workaround}`),new Error(n)}static isWebSocketSupported(){try{const t=this.detectEnvironment();return t.type==="native"||t.type==="ws"}catch{return!1}}}const tj="2.108.2",nj=`realtime-js/${tj}`,aj="1.0.0",J1="2.0.0",rj=J1,ij=1e4,sj=100,Ur={closed:"closed",errored:"errored",joined:"joined",joining:"joining",leaving:"leaving"},Q1={close:"phx_close",error:"phx_error",join:"phx_join",leave:"phx_leave",access_token:"access_token"},iy={connecting:"connecting",closing:"closing",closed:"closed"};class oj{constructor(t){this.HEADER_LENGTH=1,this.USER_BROADCAST_PUSH_META_LENGTH=6,this.KINDS={userBroadcastPush:3,userBroadcast:4},this.BINARY_ENCODING=0,this.JSON_ENCODING=1,this.BROADCAST_EVENT="broadcast",this.allowedMetadataKeys=[],this.allowedMetadataKeys=t??[]}encode(t,n){if(t.event===this.BROADCAST_EVENT&&!(t.payload instanceof ArrayBuffer)&&typeof t.payload.event=="string")return n(this._binaryEncodeUserBroadcastPush(t));let r=[t.join_ref,t.ref,t.topic,t.event,t.payload];return n(JSON.stringify(r))}_binaryEncodeUserBroadcastPush(t){var n;return this._isArrayBuffer((n=t.payload)===null||n===void 0?void 0:n.payload)?this._encodeBinaryUserBroadcastPush(t):this._encodeJsonUserBroadcastPush(t)}_encodeBinaryUserBroadcastPush(t){var n,r;const s=(r=(n=t.payload)===null||n===void 0?void 0:n.payload)!==null&&r!==void 0?r:new ArrayBuffer(0);return this._encodeUserBroadcastPush(t,this.BINARY_ENCODING,s)}_encodeJsonUserBroadcastPush(t){var n,r;const s=(r=(n=t.payload)===null||n===void 0?void 0:n.payload)!==null&&r!==void 0?r:{},c=new TextEncoder().encode(JSON.stringify(s)).buffer;return this._encodeUserBroadcastPush(t,this.JSON_ENCODING,c)}_encodeUserBroadcastPush(t,n,r){var s,o;const c=t.topic,u=(s=t.ref)!==null&&s!==void 0?s:"",h=(o=t.join_ref)!==null&&o!==void 0?o:"",f=t.payload.event,p=this.allowedMetadataKeys?this._pick(t.payload,this.allowedMetadataKeys):{},y=Object.keys(p).length===0?"":JSON.stringify(p);if(h.length>255)throw new Error(`joinRef length ${h.length} exceeds maximum of 255`);if(u.length>255)throw new Error(`ref length ${u.length} exceeds maximum of 255`);if(c.length>255)throw new Error(`topic length ${c.length} exceeds maximum of 255`);if(f.length>255)throw new Error(`userEvent length ${f.length} exceeds maximum of 255`);if(y.length>255)throw new Error(`metadata length ${y.length} exceeds maximum of 255`);const b=this.USER_BROADCAST_PUSH_META_LENGTH+h.length+u.length+c.length+f.length+y.length,v=new ArrayBuffer(this.HEADER_LENGTH+b);let k=new DataView(v),w=0;k.setUint8(w++,this.KINDS.userBroadcastPush),k.setUint8(w++,h.length),k.setUint8(w++,u.length),k.setUint8(w++,c.length),k.setUint8(w++,f.length),k.setUint8(w++,y.length),k.setUint8(w++,n),Array.from(h,_=>k.setUint8(w++,_.charCodeAt(0))),Array.from(u,_=>k.setUint8(w++,_.charCodeAt(0))),Array.from(c,_=>k.setUint8(w++,_.charCodeAt(0))),Array.from(f,_=>k.setUint8(w++,_.charCodeAt(0))),Array.from(y,_=>k.setUint8(w++,_.charCodeAt(0)));var E=new Uint8Array(v.byteLength+r.byteLength);return E.set(new Uint8Array(v),0),E.set(new Uint8Array(r),v.byteLength),E.buffer}decode(t,n){if(this._isArrayBuffer(t)){let r=this._binaryDecode(t);return n(r)}if(typeof t=="string"){const r=JSON.parse(t),[s,o,c,u,h]=r;
20return n({join_ref:s,ref:o,topic:c,event:u,payload:h})}return n({})}_binaryDecode(t){const n=new DataView(t),r=n.getUint8(0),s=new TextDecoder;if(r===this.KINDS.userBroadcast)return this._decodeUserBroadcast(t,n,s)}_decodeUserBroadcast(t,n,r){const s=n.getUint8(1),o=n.getUint8(2),c=n.getUint8(3),u=n.getUint8(4);let h=this.HEADER_LENGTH+4;const f=r.decode(t.slice(h,h+s));h=h+s;const p=r.decode(t.slice(h,h+o));h=h+o;const y=r.decode(t.slice(h,h+c));h=h+c;const b=t.slice(h,t.byteLength),v=u===this.JSON_ENCODING?JSON.parse(r.decode(b)):b,k={type:this.BROADCAST_EVENT,event:p,payload:v};return c>0&&(k.meta=JSON.parse(y)),{join_ref:null,ref:null,topic:f,event:this.BROADCAST_EVENT,payload:k}}_isArrayBuffer(t){var n;return t instanceof ArrayBuffer||((n=t?.constructor)===null||n===void 0?void 0:n.name)==="ArrayBuffer"}_pick(t,n){return!t||typeof t!="object"?{}:Object.fromEntries(Object.entries(t).filter(([r])=>n.includes(r)))}}var at;(function(e){e.abstime="abstime",e.bool="bool",e.date="date",e.daterange="daterange",e.float4="float4",e.float8="float8",e.int2="int2",e.int4="int4",e.int4range="int4range",e.int8="int8",e.int8range="int8range",e.json="json",e.jsonb="jsonb",e.money="money",e.numeric="numeric",e.oid="oid",e.reltime="reltime",e.text="text",e.time="time",e.timestamp="timestamp",e.timestamptz="timestamptz",e.timetz="timetz",e.tsrange="tsrange",e.tstzrange="tstzrange"})(at||(at={}));const VS=(e,t,n={})=>{var r;const s=(r=n.skipTypes)!==null&&r!==void 0?r:[];return t?Object.keys(t).reduce((o,c)=>(o[c]=lj(c,e,t,s),o),{}):{}},lj=(e,t,n,r)=>{const s=t.find(u=>u.name===e),o=s?.type,c=n[e];return o&&!r.includes(o)?X1(o,c):sy(c)},X1=(e,t)=>{if(e.charAt(0)==="_"){const n=e.slice(1,e.length);return hj(t,n)}switch(e){case at.bool:return cj(t);case at.float4:case at.float8:case at.int2:case at.int4:case at.int8:case at.numeric:case at.oid:return uj(t);case at.json:case at.jsonb:return dj(t);case at.timestamp:return fj(t);case at.abstime:case at.date:case at.daterange:case at.int4range:case at.int8range:case at.money:case at.reltime:case at.text:case at.time:case at.timestamptz:case at.timetz:case at.tsrange:case at.tstzrange:return sy(t);default:return sy(t)}},sy=e=>e,cj=e=>{switch(e){case"t":return!0;case"f":return!1;default:return e}},uj=e=>{if(typeof e=="string"){const t=parseFloat(e);if(!Number.isNaN(t))return t}return e},dj=e=>{if(typeof e=="string")try{return JSON.parse(e)}catch{return e}return e},hj=(e,t)=>{if(typeof e!="string")return e;const n=e.length-1,r=e[n];if(e[0]==="{"&&r==="}"){let o;const c=e.slice(1,n);try{o=JSON.parse("["+c+"]")}catch{o=c?c.split(","):[]}return o.map(u=>X1(t,u))}return e},fj=e=>typeof e=="string"?e.replace(" ","T"):e,Z1=e=>{const t=new URL(e);return t.protocol=t.protocol.replace(/^ws/i,"http"),t.pathname=t.pathname.replace(/\/+$/,"").replace(/\/socket\/websocket$/i,"").replace(/\/socket$/i,"").replace(/\/websocket$/i,""),t.pathname===""||t.pathname==="/"?t.pathname="/api/broadcast":t.pathname=t.pathname+"/api/broadcast",t.href};var Bl=e=>typeof e=="function"?e:function(){return e},pj=typeof self<"u"?self:null,Vs=typeof window<"u"?window:null,pa=pj||Vs||globalThis,mj="2.0.0",yj=1e4,gj=1e3,ya={connecting:0,open:1,closing:2,closed:3},cn={closed:"closed",errored:"errored",joined:"joined",joining:"joining",leaving:"leaving"},Xa={close:"phx_close",error:"phx_error",join:"phx_join",reply:"phx_reply",leave:"phx_leave"},oy={longpoll:"longpoll",websocket:"websocket"},bj={complete:4},ly="base64url.bearer.phx.",Gu=class{constructor(e,t,n,r){this.channel=e,this.event=t,this.payload=n||function(){return{}},this.receivedResp=null,this.timeout=r,this.timeoutTimer=null,this.recHooks=[],this.sent=!1,this.ref=void 0}resend(e){this.timeout=e,this.reset(),this.send()}send(){this.hasReceived("timeout")||(this.startTimeout(),this.sent=!0,this.channel.socket.push({topic:this.channel.topic,event:this.event,payload:this.payload(),ref:this.ref,join_ref:this.channel.joinRef()}))}receive(e,t){return this.hasReceived(e)&&t(this.receivedResp.response),this.recHooks.push({status:e,callback:t}),this}reset(){this.cancelRefEvent(),this.ref=null,this.refEvent=null,this.receivedResp=null,this.sent=!1}destroy(){this.cancelRefEvent(),this.cancelTimeout()}
vendor: 4,891 bytes, line 20
20matchReceive({status:e,response:t,_ref:n}){this.recHooks.filter(r=>r.status===e).forEach(r=>r.callback(t))}cancelRefEvent(){this.refEvent&&this.channel.off(this.refEvent)}cancelTimeout(){clearTimeout(this.timeoutTimer),this.timeoutTimer=null}startTimeout(){this.timeoutTimer&&this.cancelTimeout(),this.ref=this.channel.socket.makeRef(),this.refEvent=this.channel.replyEventName(this.ref),this.channel.on(this.refEvent,e=>{this.cancelRefEvent(),this.cancelTimeout(),this.receivedResp=e,this.matchReceive(e)}),this.timeoutTimer=setTimeout(()=>{this.trigger("timeout",{})},this.timeout)}hasReceived(e){return this.receivedResp&&this.receivedResp.status===e}trigger(e,t){this.channel.trigger(this.refEvent,{status:e,response:t})}},eE=class{constructor(e,t){this.callback=e,this.timerCalc=t,this.timer=void 0,this.tries=0}reset(){this.tries=0,clearTimeout(this.timer)}scheduleTimeout(){clearTimeout(this.timer),this.timer=setTimeout(()=>{this.tries=this.tries+1,this.callback()},this.timerCalc(this.tries+1))}},vj=class{constructor(e,t,n){this.state=cn.closed,this.topic=e,this.params=Bl(t||{}),this.socket=n,this.bindings=[],this.bindingRef=0,this.timeout=this.socket.timeout,this.joinedOnce=!1,this.joinPush=new Gu(this,Xa.join,this.params,this.timeout),this.pushBuffer=[],this.stateChangeRefs=[],this.rejoinTimer=new eE(()=>{this.socket.isConnected()&&this.rejoin()},this.socket.rejoinAfterMs),this.stateChangeRefs.push(this.socket.onError(()=>this.rejoinTimer.reset())),this.stateChangeRefs.push(this.socket.onOpen(()=>{this.rejoinTimer.reset(),this.isErrored()&&this.rejoin()})),this.joinPush.receive("ok",()=>{this.state=cn.joined,this.rejoinTimer.reset(),this.pushBuffer.forEach(r=>r.send()),this.pushBuffer=[]}),this.joinPush.receive("error",r=>{this.state=cn.errored,this.socket.hasLogger()&&this.socket.log("channel",`error ${this.topic}`,r),this.socket.isConnected()&&this.rejoinTimer.scheduleTimeout()}),this.onClose(()=>{this.rejoinTimer.reset(),this.socket.hasLogger()&&this.socket.log("channel",`close ${this.topic}`),this.state=cn.closed,this.socket.remove(this)}),this.onError(r=>{this.socket.hasLogger()&&this.socket.log("channel",`error ${this.topic}`,r),this.isJoining()&&this.joinPush.reset(),this.state=cn.errored,this.socket.isConnected()&&this.rejoinTimer.scheduleTimeout()}),this.joinPush.receive("timeout",()=>{this.socket.hasLogger()&&this.socket.log("channel",`timeout ${this.topic}`,this.joinPush.timeout),new Gu(this,Xa.leave,Bl({}),this.timeout).send(),this.state=cn.errored,this.joinPush.reset(),this.socket.isConnected()&&this.rejoinTimer.scheduleTimeout()}),this.on(Xa.reply,(r,s)=>{this.trigger(this.replyEventName(s),r)})}join(e=this.timeout){if(this.joinedOnce)throw new Error("tried to join multiple times. 'join' can only be called a single time per channel instance");return this.timeout=e,this.joinedOnce=!0,this.rejoin(),this.joinPush}teardown(){this.pushBuffer.forEach(e=>e.destroy()),this.pushBuffer=[],this.rejoinTimer.reset(),this.joinPush.destroy(),this.state=cn.closed,this.bindings=[]}onClose(e){this.on(Xa.close,e)}onError(e){return this.on(Xa.error,t=>e(t))}on(e,t){let n=this.bindingRef++;return this.bindings.push({event:e,ref:n,callback:t}),n}off(e,t){this.bindings=this.bindings.filter(n=>!(n.event===e&&(typeof t>"u"||t===n.ref)))}canPush(){return this.socket.isConnected()&&this.isJoined()}push(e,t,n=this.timeout){if(t=t||{},!this.joinedOnce)throw new Error(`tried to push '${e}' to '${this.topic}' before joining. Use channel.join() before pushing events`);let r=new Gu(this,e,function(){return t},n);return this.canPush()?r.send():(r.startTimeout(),this.pushBuffer.push(r)),r}leave(e=this.timeout){this.rejoinTimer.reset(),this.joinPush.cancelTimeout(),this.state=cn.leaving;let t=()=>{this.socket.hasLogger()&&this.socket.log("channel",`leave ${this.topic}`),this.trigger(Xa.close,"leave")},n=new Gu(this,Xa.leave,Bl({}),e);return n.receive("ok",()=>t()).receive("timeout",()=>t()),n.send(),this.canPush()||n.trigger("ok",{}),n}onMessage(e,t,n){return t}filterBindings(e,t,n){return!0}isMember(e,t,n,r){return this.topic!==e?!1:r&&r!==this.joinRef()?(this.socket.hasLogger()&&this.socket.log("channel","dropping outdated message",{topic:e,event:t,payload:n,joinRef:r}),!1):!0}joinRef(){return this.joinPush.ref}rejoin(e=this.timeout){this.isLeaving()||(this.socket.leaveOpenTopic(this.topic),this.state=cn.joining,this.joinPush.resend(e))}trigger(e,t,n,r){let s=this.onMessage(e,t,n,r);if(t&&!s)throw new Error("channel onMessage callbacks must return the payload, modified or unmodified");let o=this.bindings.filter(c=>c.event===e&&this.filterBindings(c,t,n));for(let c=0;c<o.length;c++)o[c].callback(s,n,r||this.joinRef())}replyEventName(e){return`chan_reply_${e}`}isClosed(){return this.state===cn.closed}isErrored(){return this.state===cn.errored}isJoined(){return this.state===cn.joined}isJoining(){return this.state===cn.joining}
20isLeaving(){return this.state===cn.leaving}},Hd=class{static request(e,t,n,r,s,o,c){if(pa.XDomainRequest){let u=new pa.XDomainRequest;return this.xdomainRequest(u,e,t,r,s,o,c)}else if(pa.XMLHttpRequest){let u=new pa.XMLHttpRequest;return this.xhrRequest(u,e,t,n,r,s,o,c)}else{if(pa.fetch&&pa.AbortController)return this.fetchRequest(e,t,n,r,s,o,c);throw new Error("No suitable XMLHttpRequest implementation found")}}static fetchRequest(e,t,n,r,s,o,c){let u={method:e,headers:n,body:r},h=null;return s&&(h=new AbortController,setTimeout(()=>h.abort(),s),u.signal=h.signal),pa.fetch(t,u).then(f=>f.text()).then(f=>this.parseJSON(f)).then(f=>c&&c(f)).catch(f=>{f.name==="AbortError"&&o?o():c&&c(null)}),h}static xdomainRequest(e,t,n,r,s,o,c){return e.timeout=s,e.open(t,n),e.onload=()=>{let u=this.parseJSON(e.responseText);c&&c(u)},o&&(e.ontimeout=o),e.onprogress=()=>{},e.send(r),e}static xhrRequest(e,t,n,r,s,o,c,u){e.open(t,n,!0),e.timeout=o;for(let[h,f]of Object.entries(r))e.setRequestHeader(h,f);return e.onerror=()=>u&&u(null),e.onreadystatechange=()=>{if(e.readyState===bj.complete&&u){let h=this.parseJSON(e.responseText);u(h)}},c&&(e.ontimeout=c),e.send(s),e}static parseJSON(e){if(!e||e==="")return null;try{return JSON.parse(e)}catch{return console&&console.log("failed to parse JSON response",e),null}}static serialize(e,t){let n=[];for(var r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;let s=t?`${t}[${r}]`:r,o=e[r];typeof o=="object"?n.push(this.serialize(o,s)):n.push(encodeURIComponent(s)+"="+encodeURIComponent(o))}return n.join("&")}static appendParams(e,t){if(Object.keys(t).length===0)return e;let n=e.match(/\?/)?"&":"?";return`${e}${n}${this.serialize(t)}`}},wj=e=>{let t="",n=new Uint8Array(e),r=n.byteLength;for(let s=0;s<r;s++)t+=String.fromCharCode(n[s]);return btoa(t)},Ps=class{constructor(e,t){t&&t.length===2&&t[1].startsWith(ly)&&(this.authToken=atob(t[1].slice(ly.length))),this.endPoint=null,this.token=null,this.skipHeartbeat=!0,this.reqs=new Set,this.awaitingBatchAck=!1,this.currentBatch=null,this.currentBatchTimer=null,this.batchBuffer=[],this.onopen=function(){},this.onerror=function(){},this.onmessage=function(){},this.onclose=function(){},this.pollEndpoint=this.normalizeEndpoint(e),this.readyState=ya.connecting,setTimeout(()=>this.poll(),0)}normalizeEndpoint(e){return e.replace("ws://","http://").replace("wss://","https://").replace(new RegExp("(.*)/"+oy.websocket),"$1/"+oy.longpoll)}endpointURL(){return Hd.appendParams(this.pollEndpoint,{token:this.token})}closeAndRetry(e,t,n){this.close(e,t,n),this.readyState=ya.connecting}ontimeout(){this.onerror("timeout"),this.closeAndRetry(1005,"timeout",!1)}isActive(){return this.readyState===ya.open||this.readyState===ya.connecting}poll(){const e={Accept:"application/json"};this.authToken&&(e["X-Phoenix-AuthToken"]=this.authToken),this.ajax("GET",e,null,()=>this.ontimeout(),t=>{if(t){var{status:n,token:r,messages:s}=t;if(n===410&&this.token!==null){this.onerror(410),this.closeAndRetry(3410,"session_gone",!1);return}this.token=r}else n=0;switch(n){case 200:s.forEach(o=>{setTimeout(()=>this.onmessage({data:o}),0)}),this.poll();break;case 204:this.poll();break;case 410:this.readyState=ya.open,this.onopen({}),this.poll();break;
20case 403:this.onerror(403),this.close(1008,"forbidden",!1);break;case 0:case 500:this.onerror(500),this.closeAndRetry(1011,"internal server error",500);break;default:throw new Error(`unhandled poll status ${n}`)}})}send(e){typeof e!="string"&&(e=wj(e)),this.currentBatch?this.currentBatch.push(e):this.awaitingBatchAck?this.batchBuffer.push(e):(this.currentBatch=[e],this.currentBatchTimer=setTimeout(()=>{this.batchSend(this.currentBatch),this.currentBatch=null},0))}batchSend(e){this.awaitingBatchAck=!0,this.ajax("POST",{"Content-Type":"application/x-ndjson"},e.join(`
21`),()=>this.onerror("timeout"),t=>{this.awaitingBatchAck=!1,!t||t.status!==200?(this.onerror(t&&t.status),this.closeAndRetry(1011,"internal server error",!1)):this.batchBuffer.length>0&&(this.batchSend(this.batchBuffer),this.batchBuffer=[])})}close(e,t,n){for(let s of this.reqs)s.abort();this.readyState=ya.closed;let r=Object.assign({code:1e3,reason:void 0,wasClean:!0},{code:e,reason:t,wasClean:n});this.batchBuffer=[],clearTimeout(this.currentBatchTimer),this.currentBatchTimer=null,typeof CloseEvent<"u"?this.onclose(new CloseEvent("close",r)):this.onclose(r)}ajax(e,t,n,r,s){let o,c=()=>{this.reqs.delete(o),r()};o=Hd.request(e,this.endpointURL(),t,n,this.timeout,c,u=>{this.reqs.delete(o),this.isActive()&&s(u)}),this.reqs.add(o)}},Sj=class Il{constructor(t,n={}){let r=n.events||{state:"presence_state",diff:"presence_diff"};this.state={},this.pendingDiffs=[],this.channel=t,this.joinRef=null,this.caller={onJoin:function(){},onLeave:function(){},onSync:function(){}},this.channel.on(r.state,s=>{let{onJoin:o,onLeave:c,onSync:u}=this.caller;this.joinRef=this.channel.joinRef(),this.state=Il.syncState(this.state,s,o,c),this.pendingDiffs.forEach(h=>{this.state=Il.syncDiff(this.state,h,o,c)}),this.pendingDiffs=[],u()}),this.channel.on(r.diff,s=>{let{onJoin:o,onLeave:c,onSync:u}=this.caller;this.inPendingSyncState()?this.pendingDiffs.push(s):(this.state=Il.syncDiff(this.state,s,o,c),u())})}onJoin(t){this.caller.onJoin=t}onLeave(t){this.caller.onLeave=t}onSync(t){this.caller.onSync=t}list(t){return Il.list(this.state,t)}inPendingSyncState(){return!this.joinRef||this.joinRef!==this.channel.joinRef()}static syncState(t,n,r,s){let o=this.clone(t),c={},u={};return this.map(o,(h,f)=>{n[h]||(u[h]=f)}),this.map(n,(h,f)=>{let p=o[h];if(p){let y=f.metas.map(w=>w.phx_ref),b=p.metas.map(w=>w.phx_ref),v=f.metas.filter(w=>b.indexOf(w.phx_ref)<0),k=p.metas.filter(w=>y.indexOf(w.phx_ref)<0);v.length>0&&(c[h]=f,c[h].metas=v),k.length>0&&(u[h]=this.clone(p),u[h].metas=k)}else c[h]=f}),this.syncDiff(o,{joins:c,leaves:u},r,s)}static syncDiff(t,n,r,s){let{joins:o,leaves:c}=this.clone(n);return r||(r=function(){}),s||(s=function(){}),this.map(o,(u,h)=>{let f=t[u];if(t[u]=this.clone(h),f){let p=t[u].metas.map(b=>b.phx_ref),y=f.metas.filter(b=>p.indexOf(b.phx_ref)<0);t[u].metas.unshift(...y)}r(u,f,h)}),this.map(c,(u,h)=>{let f=t[u];if(!f)return;let p=h.metas.map(y=>y.phx_ref);f.metas=f.metas.filter(y=>p.indexOf(y.phx_ref)<0),s(u,f,h),f.metas.length===0&&delete t[u]}),t}static list(t,n){return n||(n=function(r,s){return s}),this.map(t,(r,s)=>n(r,s))}static map(t,n){return Object.getOwnPropertyNames(t).map(r=>n(r,t[r]))}static clone(t){return JSON.parse(JSON.stringify(t))}},Wu={HEADER_LENGTH:1,META_LENGTH:4,KINDS:{push:0,reply:1,broadcast:2},encode(e,t){if(e.payload.constructor===ArrayBuffer)return t(this.binaryEncode(e));{let n=[e.join_ref,e.ref,e.topic,e.event,e.payload];return t(JSON.stringify(n))}},decode(e,t){if(e.constructor===ArrayBuffer)return t(this.binaryDecode(e));{let[n,r,s,o,c]=JSON.parse(e);return t({join_ref:n,ref:r,topic:s,event:o,payload:c})}},binaryEncode(e){let{join_ref:t,ref:n,event:r,topic:s,payload:o}=e,c=this.META_LENGTH+t.length+n.length+s.length+r.length,u=new ArrayBuffer(this.HEADER_LENGTH+c),h=new DataView(u),f=0;h.setUint8(f++,this.KINDS.push),h.setUint8(f++,t.length),h.setUint8(f++,n.length),h.setUint8(f++,s.length),h.setUint8(f++,r.length),Array.from(t,y=>h.setUint8(f++,y.charCodeAt(0))),Array.from(n,y=>h.setUint8(f++,y.charCodeAt(0))),Array.from(s,y=>
21h.setUint8(f++,y.charCodeAt(0))),Array.from(r,y=>h.setUint8(f++,y.charCodeAt(0)));var p=new Uint8Array(u.byteLength+o.byteLength);return p.set(new Uint8Array(u),0),p.set(new Uint8Array(o),u.byteLength),p.buffer},binaryDecode(e){let t=new DataView(e),n=t.getUint8(0),r=new TextDecoder;switch(n){case this.KINDS.push:return this.decodePush(e,t,r);case this.KINDS.reply:return this.decodeReply(e,t,r);case this.KINDS.broadcast:return this.decodeBroadcast(e,t,r)}},decodePush(e,t,n){let r=t.getUint8(1),s=t.getUint8(2),o=t.getUint8(3),c=this.HEADER_LENGTH+this.META_LENGTH-1,u=n.decode(e.slice(c,c+r));c=c+r;let h=n.decode(e.slice(c,c+s));c=c+s;let f=n.decode(e.slice(c,c+o));c=c+o;let p=e.slice(c,e.byteLength);return{join_ref:u,ref:null,topic:h,event:f,payload:p}},decodeReply(e,t,n){let r=t.getUint8(1),s=t.getUint8(2),o=t.getUint8(3),c=t.getUint8(4),u=this.HEADER_LENGTH+this.META_LENGTH,h=n.decode(e.slice(u,u+r));u=u+r;let f=n.decode(e.slice(u,u+s));u=u+s;let p=n.decode(e.slice(u,u+o));u=u+o;let y=n.decode(e.slice(u,u+c));u=u+c;let b=e.slice(u,e.byteLength),v={status:y,response:b};return{join_ref:h,ref:f,topic:p,event:Xa.reply,payload:v}},decodeBroadcast(e,t,n){let r=t.getUint8(1),s=t.getUint8(2),o=this.HEADER_LENGTH+2,c=n.decode(e.slice(o,o+r));o=o+r;let u=n.decode(e.slice(o,o+s));o=o+s;let h=e.slice(o,e.byteLength);return{join_ref:null,ref:null,topic:c,event:u,payload:h}}},kj=class{constructor(e,t={}){this.stateChangeCallbacks={open:[],close:[],error:[],message:[]},this.channels=[],this.sendBuffer=[],this.ref=0,this.fallbackRef=null,this.timeout=t.timeout||yj,this.transport=t.transport||pa.WebSocket||Ps,this.conn=void 0,this.primaryPassedHealthCheck=!1,this.longPollFallbackMs=t.longPollFallbackMs,this.fallbackTimer=null;let n=null;try{n=pa&&pa.sessionStorage}catch{}this.sessionStore=t.sessionStorage||n,this.establishedConnections=0,this.defaultEncoder=Wu.encode.bind(Wu),this.defaultDecoder=Wu.decode.bind(Wu),this.closeWasClean=!0,this.disconnecting=!1,this.binaryType=t.binaryType||"arraybuffer",this.connectClock=1,this.pageHidden=!1,this.encode=void 0,this.decode=void 0,this.transport!==Ps?(this.encode=t.encode||this.defaultEncoder,this.decode=t.decode||this.defaultDecoder):(this.encode=this.defaultEncoder,this.decode=this.defaultDecoder);let r=null;Vs&&Vs.addEventListener&&(Vs.addEventListener("pagehide",s=>{this.conn&&(this.disconnect(),r=this.connectClock)}),Vs.addEventListener("pageshow",s=>{r===this.connectClock&&(r=null,this.connect())}),Vs.addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"?this.pageHidden=!0:(this.pageHidden=!1,!this.isConnected()&&!this.closeWasClean&&this.teardown(()=>this.connect()))})),this.heartbeatIntervalMs=t.heartbeatIntervalMs||3e4,this.autoSendHeartbeat=t.autoSendHeartbeat??!0,this.heartbeatCallback=t.heartbeatCallback??(()=>{}),this.rejoinAfterMs=s=>t.rejoinAfterMs?t.rejoinAfterMs(s):[1e3,2e3,5e3][s-1]||1e4,this.reconnectAfterMs=s=>t.reconnectAfterMs?t.reconnectAfterMs(s):[10,50,100,150,200,250,500,1e3,2e3][s-1]||5e3,this.logger=t.logger||null,!this.logger&&t.debug&&(this.logger=(s,o,c)=>{console.log(`${s}: ${o}`,c)}),this.longpollerTimeout=t.longpollerTimeout||2e4,this.params=Bl(t.params||{}),this.endPoint=`${e}/${oy.websocket}`,this.vsn=t.vsn||mj,this.heartbeatTimeoutTimer=null,this.heartbeatTimer=null,this.heartbeatSentAt=null,this.pendingHeartbeatRef=null,this.reconnectTimer=new eE(()=>{if(this.pageHidden){this.log("Not reconnecting as page is hidden!"),this.teardown();return}this.teardown(async()=>{t.beforeReconnect&&await t.beforeReconnect(),this.connect()})},this.reconnectAfterMs),this.authToken=t.authToken}getLongPollTransport(){return Ps}replaceTransport(e){this.connectClock++,this.closeWasClean=!0,clearTimeout(this.fallbackTimer),this.reconnectTimer.reset(),this.conn&&(this.conn.close(),this.conn=null),this.transport=e}protocol(){return location.protocol.match(/^https/)?"wss":"ws"}endPointURL(){let e=Hd.appendParams(Hd.appendParams(this.endPoint,this.params()),{vsn:this.vsn});return e.charAt(0)!=="/"?e:e.charAt(1)==="/"?`${this.protocol()}:${e}`:`${this.protocol()}://${location.host}${e}`}disconnect(e,t,n){this.connectClock++,this.disconnecting=!0,this.closeWasClean=!0,clearTimeout(this.fallbackTimer),this.reconnectTimer.reset(),this.teardown(()=>{this.disconnecting=!1,e&&e()},t,n)}connect(e){e&&(console&&console.log("passing params to connect is deprecated. Instead pass :params to the Socket constructor"),this.params=Bl(e)),!(this.conn&&!this.disconnecting)&&(this.longPollFallbackMs&&this.transport!==Ps?this.connectWithF
vendor: 4,353 bytes, line 21
21allback(Ps,this.longPollFallbackMs):this.transportConnect())}log(e,t,n){this.logger&&this.logger(e,t,n)}hasLogger(){return this.logger!==null}onOpen(e){let t=this.makeRef();return this.stateChangeCallbacks.open.push([t,e]),t}onClose(e){let t=this.makeRef();return this.stateChangeCallbacks.close.push([t,e]),t}onError(e){let t=this.makeRef();return this.stateChangeCallbacks.error.push([t,e]),t}onMessage(e){let t=this.makeRef();return this.stateChangeCallbacks.message.push([t,e]),t}onHeartbeat(e){this.heartbeatCallback=e}ping(e){if(!this.isConnected())return!1;let t=this.makeRef(),n=Date.now();this.push({topic:"phoenix",event:"heartbeat",payload:{},ref:t});let r=this.onMessage(s=>{s.ref===t&&(this.off([r]),e(Date.now()-n))});return!0}transportName(e){return e===Ps?"LongPoll":e.name}transportConnect(){this.connectClock++,this.closeWasClean=!1;let e;this.authToken&&(e=["phoenix",`${ly}${btoa(this.authToken).replace(/=/g,"")}`]),this.conn=new this.transport(this.endPointURL(),e),this.conn.binaryType=this.binaryType,this.conn.timeout=this.longpollerTimeout,this.conn.onopen=()=>this.onConnOpen(),this.conn.onerror=t=>this.onConnError(t),this.conn.onmessage=t=>this.onConnMessage(t),this.conn.onclose=t=>this.onConnClose(t)}getSession(e){return this.sessionStore&&this.sessionStore.getItem(e)}storeSession(e,t){this.sessionStore&&this.sessionStore.setItem(e,t)}connectWithFallback(e,t=2500){clearTimeout(this.fallbackTimer);let n=!1,r=!0,s,o,c=this.transportName(e),u=h=>{this.log("transport",`falling back to ${c}...`,h),this.off([s,o]),r=!1,this.replaceTransport(e),this.transportConnect()};if(this.getSession(`phx:fallback:${c}`))return u("memorized");this.fallbackTimer=setTimeout(u,t),o=this.onError(h=>{this.log("transport","error",h),r&&!n&&(clearTimeout(this.fallbackTimer),u(h))}),this.fallbackRef&&this.off([this.fallbackRef]),this.fallbackRef=this.onOpen(()=>{if(n=!0,!r){let h=this.transportName(e);return this.primaryPassedHealthCheck||this.storeSession(`phx:fallback:${h}`,"true"),this.log("transport",`established ${h} fallback`)}clearTimeout(this.fallbackTimer),this.fallbackTimer=setTimeout(u,t),this.ping(h=>{this.log("transport","connected to primary after",h),this.primaryPassedHealthCheck=!0,clearTimeout(this.fallbackTimer)})}),this.transportConnect()}clearHeartbeats(){clearTimeout(this.heartbeatTimer),clearTimeout(this.heartbeatTimeoutTimer)}onConnOpen(){this.hasLogger()&&this.log("transport",`connected to ${this.endPointURL()}`),this.closeWasClean=!1,this.disconnecting=!1,this.establishedConnections++,this.flushSendBuffer(),this.reconnectTimer.reset(),this.autoSendHeartbeat&&this.resetHeartbeat(),this.triggerStateCallbacks("open")}heartbeatTimeout(){if(this.pendingHeartbeatRef){this.pendingHeartbeatRef=null,this.heartbeatSentAt=null,this.hasLogger()&&this.log("transport","heartbeat timeout. Attempting to re-establish connection");try{this.heartbeatCallback("timeout")}catch(e){this.log("error","error in heartbeat callback",e)}this.triggerChanError(new Error("heartbeat timeout")),this.closeWasClean=!1,this.teardown(()=>this.reconnectTimer.scheduleTimeout(),gj,"heartbeat timeout")}}resetHeartbeat(){this.conn&&this.conn.skipHeartbeat||(this.pendingHeartbeatRef=null,this.clearHeartbeats(),this.heartbeatTimer=setTimeout(()=>this.sendHeartbeat(),this.heartbeatIntervalMs))}teardown(e,t,n){if(!this.conn)return e&&e();const r=this.conn;this.waitForBufferDone(r,()=>{t?r.close(t,n||""):r.close(),this.waitForSocketClosed(r,()=>{this.conn===r&&(this.conn.onopen=function(){},this.conn.onerror=function(){},this.conn.onmessage=function(){},this.conn.onclose=function(){},this.conn=null),e&&e()})})}waitForBufferDone(e,t,n=1){if(n===5||!e.bufferedAmount){t();return}setTimeout(()=>{this.waitForBufferDone(e,t,n+1)},150*n)}waitForSocketClosed(e,t,n=1){if(n===5||e.readyState===ya.closed){t();return}setTimeout(()=>{this.waitForSocketClosed(e,t,n+1)},150*n)}onConnClose(e){this.conn&&(this.conn.onclose=()=>{}),this.hasLogger()&&this.log("transport","close",e),this.triggerChanError(e),this.clearHeartbeats(),this.closeWasClean||this.reconnectTimer.scheduleTimeout(),this.triggerStateCallbacks("close",e)}onConnError(e){this.hasLogger()&&this.log("transport","error",e);let t=this.transport,n=this.establishedConnections;this.triggerStateCallbacks("error",e,t,n),(t===this.transport||n>0)&&this.triggerChanError(e)}
21triggerChanError(e){this.channels.forEach(t=>{t.isErrored()||t.isLeaving()||t.isClosed()||t.trigger(Xa.error,e)})}connectionState(){switch(this.conn&&this.conn.readyState){case ya.connecting:return"connecting";case ya.open:return"open";case ya.closing:return"closing";default:return"closed"}}isConnected(){return this.connectionState()==="open"}remove(e){this.off(e.stateChangeRefs),this.channels=this.channels.filter(t=>t!==e)}off(e){for(let t in this.stateChangeCallbacks)this.stateChangeCallbacks[t]=this.stateChangeCallbacks[t].filter(([n])=>e.indexOf(n)===-1)}channel(e,t={}){let n=new vj(e,t,this);return this.channels.push(n),n}push(e){if(this.hasLogger()){let{topic:t,event:n,payload:r,ref:s,join_ref:o}=e;this.log("push",`${t} ${n} (${o}, ${s})`,r)}this.isConnected()?this.encode(e,t=>this.conn.send(t)):this.sendBuffer.push(()=>this.encode(e,t=>this.conn.send(t)))}makeRef(){let e=this.ref+1;return e===this.ref?this.ref=0:this.ref=e,this.ref.toString()}sendHeartbeat(){if(!this.isConnected()){try{this.heartbeatCallback("disconnected")}catch(e){this.log("error","error in heartbeat callback",e)}return}if(this.pendingHeartbeatRef){this.heartbeatTimeout();return}this.pendingHeartbeatRef=this.makeRef(),this.heartbeatSentAt=Date.now(),this.push({topic:"phoenix",event:"heartbeat",payload:{},ref:this.pendingHeartbeatRef});try{this.heartbeatCallback("sent")}catch(e){this.log("error","error in heartbeat callback",e)}this.heartbeatTimeoutTimer=setTimeout(()=>this.heartbeatTimeout(),this.heartbeatIntervalMs)}flushSendBuffer(){this.isConnected()&&this.sendBuffer.length>0&&(this.sendBuffer.forEach(e=>e()),this.sendBuffer=[])}onConnMessage(e){this.decode(e.data,t=>{let{topic:n,event:r,payload:s,ref:o,join_ref:c}=t;if(o&&o===this.pendingHeartbeatRef){const u=this.heartbeatSentAt?Date.now()-this.heartbeatSentAt:void 0;this.clearHeartbeats();try{this.heartbeatCallback(s.status==="ok"?"ok":"error",u)}catch(h){this.log("error","error in heartbeat callback",h)}this.pendingHeartbeatRef=null,this.heartbeatSentAt=null,this.autoSendHeartbeat&&(this.heartbeatTimer=setTimeout(()=>this.sendHeartbeat(),this.heartbeatIntervalMs))}this.hasLogger()&&this.log("receive",`${s.status||""} ${n} ${r} ${o&&"("+o+")"||""}`.trim(),s);for(let u=0;u<this.channels.length;u++){const h=this.channels[u];h.isMember(n,r,s,c)&&h.trigger(r,s,o,c)}this.triggerStateCallbacks("message",t)})}triggerStateCallbacks(e,...t){try{this.stateChangeCallbacks[e].forEach(([n,r])=>{try{r(...t)}catch(s){this.log("error",`error in ${e} callback`,s)}})}catch(n){this.log("error",`error triggering ${e} callbacks`,n)}}leaveOpenTopic(e){let t=this.channels.find(n=>n.topic===e&&(n.isJoined()||n.isJoining()));t&&(this.hasLogger()&&this.log("transport",`leaving duplicate topic "${e}"`),t.leave())}};class $l{constructor(t,n){const r=xj(n);this.presence=new Sj(t.getChannel(),r),this.presence.onJoin((s,o,c)=>{const u=$l.onJoinPayload(s,o,c);t.getChannel().trigger("presence",u)}),this.presence.onLeave((s,o,c)=>{const u=$l.onLeavePayload(s,o,c);t.getChannel().trigger("presence",u)}),this.presence.onSync(()=>{t.getChannel().trigger("presence",{event:"sync"})})}get state(){return $l.transformState(this.presence.state)}static transformState(t){return t=_j(t),Object.getOwnPropertyNames(t).reduce((n,r)=>{const s=t[r];return n[r]=Td(s),n},{})}static onJoinPayload(t,n,r){const s=FS(n),o=Td(r);return{event:"join",key:t,currentPresences:s,newPresences:o}}static onLeavePayload(t,n,r){const s=FS(n),o=Td(r);return{event:"leave",key:t,currentPresences:s,leftPresences:o}}}function Td(e){return e.metas.map(t=>(t.presence_ref=t.phx_ref,delete t.phx_ref,delete t.phx_ref_prev,t))}function _j(e){return JSON.parse(JSON.stringify(e))}function xj(e){return e?.events&&{events:e.events}}function FS(e){return e?.metas?Td(e):[]}var qS;(function(e){e.SYNC="sync",e.JOIN="join",e.LEAVE="leave"})(qS||(qS={}));class Ej{get state(){return this.presenceAdapter.state}constructor(t,n){this.channel=t,this.presenceAdapter=new $l(this.channel.channelAdapter,n)}}function Rj(e){if(e instanceof Error)return e;if(typeof e=="string")return new Error(e);
21if(e&&typeof e=="object"){const t=e;if(typeof t.code=="number"){const n=typeof t.reason=="string"&&t.reason?` (${t.reason})`:"";return new Error(`socket closed: ${t.code}${n}`,{cause:e})}return new Error("channel error: transport failure",{cause:e})}return new Error("channel error: connection lost")}class Cj{constructor(t,n,r){const s=Aj(r);this.channel=t.getSocket().channel(n,s),this.socket=t}get state(){return this.channel.state}set state(t){this.channel.state=t}get joinedOnce(){return this.channel.joinedOnce}get joinPush(){return this.channel.joinPush}get rejoinTimer(){return this.channel.rejoinTimer}on(t,n){return this.channel.on(t,n)}off(t,n){this.channel.off(t,n)}subscribe(t){return this.channel.join(t)}unsubscribe(t){return this.channel.leave(t)}teardown(){this.channel.teardown()}onClose(t){this.channel.onClose(t)}onError(t){return this.channel.onError(t)}push(t,n,r){let s;try{s=this.channel.push(t,n,r)}catch{throw new Error(`tried to push '${t}' to '${this.channel.topic}' before joining. Use channel.subscribe() before pushing events`)}if(this.channel.pushBuffer.length>sj){const o=this.channel.pushBuffer.shift();o.cancelTimeout(),this.socket.log("channel",`discarded push due to buffer overflow: ${o.event}`,o.payload())}return s}updateJoinPayload(t){const n=this.channel.joinPush.payload();this.channel.joinPush.payload=()=>Object.assign(Object.assign({},n),t)}canPush(){return this.socket.isConnected()&&this.state===Ur.joined}isJoined(){return this.state===Ur.joined}isJoining(){return this.state===Ur.joining}isClosed(){return this.state===Ur.closed}isLeaving(){return this.state===Ur.leaving}updateFilterBindings(t){this.channel.filterBindings=t}updatePayloadTransform(t){this.channel.onMessage=t}getChannel(){return this.channel}}function Aj(e){return{config:Object.assign({broadcast:{ack:!1,self:!1},presence:{key:"",enabled:!1},private:!1},e.config)}}var GS;(function(e){e.ALL="*",e.INSERT="INSERT",e.UPDATE="UPDATE",e.DELETE="DELETE"})(GS||(GS={}));var Qs;(function(e){e.BROADCAST="broadcast",e.PRESENCE="presence",e.POSTGRES_CHANGES="postgres_changes",e.SYSTEM="system"})(Qs||(Qs={}));var Za;(function(e){e.SUBSCRIBED="SUBSCRIBED",e.TIMED_OUT="TIMED_OUT",e.CLOSED="CLOSED",e.CHANNEL_ERROR="CHANNEL_ERROR"})(Za||(Za={}));class zl{get state(){return this.channelAdapter.state}set state(t){this.channelAdapter.state=t}get joinedOnce(){return this.channelAdapter.joinedOnce}get timeout(){return this.socket.timeout}get joinPush(){return this.channelAdapter.joinPush}get rejoinTimer(){return this.channelAdapter.rejoinTimer}constructor(t,n={config:{}},r){var s,o;if(this.topic=t,this.params=n,this.socket=r,this.bindings={},this.subTopic=t.replace(/^realtime:/i,""),this.params.config=Object.assign({broadcast:{ack:!1,self:!1},presence:{key:"",enabled:!1},private:!1},n.config),this.channelAdapter=new Cj(this.socket.socketAdapter,t,this.params),this.presence=new Ej(this),this._onClose(()=>{this.socket._remove(this)}),this._updateFilterTransform(),this.broadcastEndpointURL=Z1(this.socket.socketAdapter.endPointURL()),this.private=this.params.config.private||!1,!this.private&&(!((o=(s=this.params.config)===null||s===void 0?void 0:s.broadcast)===null||o===void 0)&&o.replay))throw new Error(`tried to use replay on public channel '${this.topic}'. It must be a private channel.`)}subscribe(t,n=this.timeout){var r,s,o;if(this.socket.isConnected()||this.socket.connect(),this.channelAdapter.isClosed()){const{config:{broadcast:c,presence:u,private:h}}=this.params,f=(s=(r=this.bindings.postgres_changes)===null||r===void 0?void 0:r.map(v=>v.filter))!==null&&s!==void 0?s:[],p=!!this.bindings[Qs.PRESENCE]&&this.bindings[Qs.PRESENCE].length>0||((o=this.params.config.presence)===null||o===void 0?void 0:o.enabled)===!0,y={},b={broadcast:c,presence:Object.assign(Object.assign({},u),{enabled:p}),postgres_changes:f,private:h};this.socket.accessTokenValue&&(y.access_token=this.socket.accessTokenValue),this._onError(v=>{t?.(Za.CHANNEL_ERROR,Rj(v))}),this._onClose(()=>t?.(Za.CLOSED)),this.updateJoinPayload(Object.assign({config:b},y)),this._updateFilterMessage(),this.channelAdapter.subscribe(n).receive("ok",async({postgres_changes:v})=>
21{if(this.socket._isManualToken()||this.socket.setAuth(),v===void 0){t?.(Za.SUBSCRIBED);return}this._updatePostgresBindings(v,t)}).receive("error",v=>{this.state=Ur.errored;const k=Object.values(v).join(", ")||"error";t?.(Za.CHANNEL_ERROR,new Error(k,{cause:v}))}).receive("timeout",()=>{t?.(Za.TIMED_OUT)})}return this}_updatePostgresBindings(t,n){var r;const s=this.bindings.postgres_changes,o=(r=s?.length)!==null&&r!==void 0?r:0,c=[];for(let u=0;u<o;u++){const h=s[u],{filter:{event:f,schema:p,table:y,filter:b}}=h,v=t&&t[u];if(v&&v.event===f&&zl.isFilterValueEqual(v.schema,p)&&zl.isFilterValueEqual(v.table,y)&&zl.isFilterValueEqual(v.filter,b))c.push(Object.assign(Object.assign({},h),{id:v.id}));else{this.unsubscribe(),this.state=Ur.errored,n?.(Za.CHANNEL_ERROR,new Error("mismatch between server and client bindings for postgres changes"));return}}this.bindings.postgres_changes=c,this.state!=Ur.errored&&n&&n(Za.SUBSCRIBED)}presenceState(){return this.presence.state}async track(t,n={}){return await this.send({type:"presence",event:"track",payload:t},n.timeout||this.timeout)}async untrack(t={}){return await this.send({type:"presence",event:"untrack"},t)}on(t,n,r){const s=this.channelAdapter.isJoined()||this.channelAdapter.isJoining(),o=t===Qs.PRESENCE||t===Qs.POSTGRES_CHANGES;if(s&&o)throw this.socket.log("channel",`cannot add \`${t}\` callbacks for ${this.topic} after \`subscribe()\`.`),new Error(`cannot add \`${t}\` callbacks for ${this.topic} after \`subscribe()\`.`);return this._on(t,n,r)}async httpSend(t,n,r={}){var s;if(n==null)return Promise.reject(new Error("Payload is required for httpSend()"));const o=n instanceof ArrayBuffer||ArrayBuffer.isView(n),c={apikey:this.socket.apiKey?this.socket.apiKey:"","Content-Type":o?"application/octet-stream":"application/json"};this.socket.accessTokenValue&&(c.Authorization=`Bearer ${this.socket.accessTokenValue}`);const u=new URL(this.broadcastEndpointURL);u.pathname+=`/${encodeURIComponent(this.subTopic)}/events/${encodeURIComponent(t)}`,this.private&&u.searchParams.set("private","true");const h={method:"POST",headers:c,body:o?n:JSON.stringify(n)},f=await this._fetchWithTimeout(u.toString(),h,(s=r.timeout)!==null&&s!==void 0?s:this.timeout);if(f.status===202)return{success:!0};if(f.status===404)return Promise.reject(new Error("httpSend() requires Realtime server v2.97.0 or newer; the endpoint returned 404. Update your Supabase CLI to a recent version, or upgrade the Realtime server in your self-hosted setup. See https://github.com/supabase/supabase-js/blob/master/packages/core/realtime-js/migrations/httpsend-server-version.md"));let p=f.statusText;try{const y=await f.json();p=y.error||y.message||p}catch{}return Promise.reject(new Error(p))}async send(t,n={}){var r,s;if(!this.channelAdapter.canPush()&&t.type==="broadcast"){console.warn("Realtime send() is automatically falling back to REST API. This behavior will be deprecated 
21in the future. Please use httpSend() explicitly for REST delivery.");const{event:o,payload:c}=t,u={apikey:this.socket.apiKey?this.socket.apiKey:"","Content-Type":"application/json"};this.socket.accessTokenValue&&(u.Authorization=`Bearer ${this.socket.accessTokenValue}`);const h={method:"POST",headers:u,body:JSON.stringify({messages:[{topic:this.subTopic,event:o,payload:c,private:this.private}]})};try{const f=await this._fetchWithTimeout(this.broadcastEndpointURL,h,(r=n.timeout)!==null&&r!==void 0?r:this.timeout);return await((s=f.body)===null||s===void 0?void 0:s.cancel()),f.ok?"ok":"error"}catch(f){return f instanceof Error&&f.name==="AbortError"?"timed out":"error"}}else return new Promise(o=>{var c,u,h;const f=this.channelAdapter.push(t.type,t,n.timeout||this.timeout);t.type==="broadcast"&&!(!((h=(u=(c=this.params)===null||c===void 0?void 0:c.config)===null||u===void 0?void 0:u.broadcast)===null||h===void 0)&&h.ack)&&o("ok"),f.receive("ok",()=>o("ok")),f.receive("error",()=>o("error")),f.receive("timeout",()=>o("timed out"))})}updateJoinPayload(t){this.channelAdapter.updateJoinPayload(t)}async unsubscribe(t=this.timeout){return new Promise(n=>{this.channelAdapter.unsubscribe(t).receive("ok",()=>n("ok")).receive("timeout",()=>n("timed out")).receive("error",()=>n("error"))})}teardown(){this.channelAdapter.teardown()}async _fetchWithTimeout(t,n,r){const s=new AbortController,o=setTimeout(()=>s.abort(),r),c=await this.socket.fetch(t,Object.assign(Object.assign({},n),{signal:s.signal}));return clearTimeout(o),c}_on(t,n,r){const s=t.toLocaleLowerCase(),o=this.channelAdapter.on(t,r),c={type:s,filter:n,callback:r,ref:o};return this.bindings[s]?this.bindings[s].push(c):this.bindings[s]=[c],this._updateFilterMessage(),this}_onClose(t){this.channelAdapter.onClose(t)}_onError(t){this.channelAdapter.onError(t)}_updateFilterMessage(){this.channelAdapter.updateFilterBindings((t,n,r)=>{var s,o,c,u,h,f,p;const y=t.event.toLocaleLowerCase();if(this._notThisChannelEvent(y,r))return!1;const b=(s=this.bindings[y])===null||s===void 0?void 0:s.find(v=>v.ref===t.ref);if(!b)return!0;if(["broadcast","presence","postgres_changes"].includes(y))if("id"in b){const v=b.id,k=(o=b.filter)===null||o===void 0?void 0:o.event;return v&&((c=n.ids)===null||c===void 0?void 0:c.includes(v))&&(k==="*"||k?.toLocaleLowerCase()===((u=n.data)===null||u===void 0?void 0:u.type.toLocaleLowerCase()))}else{const v=(f=(h=b?.filter)===null||h===void 0?void 0:h.event)===null||f===void 0?void 0:f.toLocaleLowerCase();return v==="*"||v===((p=n?.event)===null||p===void 0?void 0:p.toLocaleLowerCase())}else return b.type.toLocaleLowerCase()===y})}_notThisChannelEvent(t,n){const{close:r,error:s,leave:o,join:c}=Q1;return n&&[r,s,o,c].includes(t)&&n!==this.joinPush.ref}_updateFilterTransform(){this.channelAdapter.updatePayloadTransform((t,n,r)=>{if(typeof n=="object"&&"ids"in n){const s=n.data,{schema:o,table:c,commit_timestamp:u,type:h,errors:f}=s;return Object.assign(Object.assign({},{schema:o,table:c,commit_timestamp:u,eventType:h,new:{},old:{},errors:f}),this._getPayloadRecords(s))}return n})}copyBindings(t){if(this.joinedOnce)throw new Error("cannot copy bindings into joined channel");for(const n in t.bindings)for(const r of t.bindings[n])this._on(r.type,r.filter,r.callback)}static isFilterValueEqual(t,n){return(t??void 0)===(n??void 0)}_getPayloadRecords(t){const n={new:{},old:{}};return(t.type==="INSERT"||t.type==="UPDATE")&&(n.new=VS(t.columns,t.record)),(t.type==="UPDATE"||t.type==="DELETE")&&(n.old=VS(t.columns,t.old_record)),n}}class Tj{constructor(t,n){this.socket=new kj(t,n)}get timeout(){return this.socket.timeout}get endPoint(){return this.socket.endPoint}get transport(){return this.socket.transport}get heartbeatIntervalMs(){return this.socket.heartbeatIntervalMs}get heartbeatCallback(){return this.socket.heartbeatCallback}set heartbeatCallback(t){this.socket.heartbeatCallback=t}get heartbeatTimer(){return this.socket.heartbeatTimer}get pendingHeartbeatRef(){return this.socket.pendingHeartbeatRef}get reconnectTimer(){return this.socket.reconnectTimer}get vsn(){return this.socket.vsn}get encode(){return this.socket.encode}get decode(){return this.socket.decode}get reconnectAfterMs(){return this.socket.reconnectAfterMs}get sendBuffer(){return this.socket.sendBuffer}get stateChangeCallbacks(){return this.socket.stateChangeCallbacks}connect(){this.socket.connect()}disconnect(t,n,r,s=1e4){return new Promise(o=>{setTimeout(()=>
21o("timeout"),s),this.socket.disconnect(()=>{t(),o("ok")},n,r)})}push(t){this.socket.push(t)}log(t,n,r){this.socket.log(t,n,r)}makeRef(){return this.socket.makeRef()}onOpen(t){this.socket.onOpen(t)}onClose(t){this.socket.onClose(t)}onError(t){this.socket.onError(t)}onMessage(t){this.socket.onMessage(t)}isConnected(){return this.socket.isConnected()}isConnecting(){return this.socket.connectionState()==iy.connecting}isDisconnecting(){return this.socket.connectionState()==iy.closing}connectionState(){return this.socket.connectionState()}endPointURL(){return this.socket.endPointURL()}sendHeartbeat(){this.socket.sendHeartbeat()}getSocket(){return this.socket}}const WS={HEARTBEAT_INTERVAL:25e3},Oj=[1e3,2e3,5e3,1e4],Nj=1e4;function Dj(){const e=new Map;return{get length(){return e.size},clear(){e.clear()},getItem(t){return e.has(t)?e.get(t):null},key(t){var n;return(n=Array.from(e.keys())[t])!==null&&n!==void 0?n:null},removeItem(t){e.delete(t)},setItem(t,n){e.set(t,String(n))}}}function Ij(){try{if(typeof globalThis<"u"&&globalThis.sessionStorage)return globalThis.sessionStorage}catch{}return Dj()}const Pj=`
22  addEventListener("message", (e) => {
23    if (e.data.event === "start") {
24      setInterval(() => postMessage({ event: "keepAlive" }), e.data.interval);
25    }
26  });`;class jj{get endPoint(){return this.socketAdapter.endPoint}get timeout(){return this.socketAdapter.timeout}get transport(){return this.socketAdapter.transport}get heartbeatCallback(){return this.socketAdapter.heartbeatCallback}get heartbeatIntervalMs(){return this.socketAdapter.heartbeatIntervalMs}get heartbeatTimer(){return this.worker?this._workerHeartbeatTimer:this.socketAdapter.heartbeatTimer}get pendingHeartbeatRef(){return this.worker?this._pendingWorkerHeartbeatRef:this.socketAdapter.pendingHeartbeatRef}get reconnectTimer(){return this.socketAdapter.reconnectTimer}get vsn(){return this.socketAdapter.vsn}get encode(){return this.socketAdapter.encode}get decode(){return this.socketAdapter.decode}get reconnectAfterMs(){return this.socketAdapter.reconnectAfterMs}get sendBuffer(){return this.socketAdapter.sendBuffer}get stateChangeCallbacks(){return this.socketAdapter.stateChangeCallbacks}constructor(t,n){var r;if(this.channels=new Array,this.accessTokenValue=null,this.accessToken=null,this.apiKey=null,this.httpEndpoint="",this.headers={},this.params={},this.ref=0,this.serializer=new oj,this._manuallySetToken=!1,this._authPromise=null,this._workerHeartbeatTimer=void 0,this._pendingWorkerHeartbeatRef=null,this._pendingDisconnectTimer=null,this._disconnectOnEmptyChannelsAfterMs=0,this._resolveFetch=o=>o?(...c)=>o(...c):(...c)=>fetch(...c),!(!((r=n?.params)===null||r===void 0)&&r.apikey))throw new Error("API key is required to connect to Realtime");this.apiKey=n.params.apikey;const s=this._initializeOptions(n);this.socketAdapter=new Tj(t,s),this.httpEndpoint=Z1(t),this.fetch=this._resolveFetch(n?.fetch)}connect(){if(!(this.isConnecting()||this.isDisconnecting()||this.isConnected())){this.accessToken&&!this._authPromise&&this._setAuthSafely("connect"),this._setupConnectionHandlers();try{this.socketAdapter.connect()}catch(t){const n=t.message;throw n.includes("Node.js")?new Error(`${n}
27
28To use Realtime in Node.js, you need to provide a WebSocket implementation:
29
30Option 1: Use Node.js 22+ which has native WebSocket support
31Option 2: Install and provide the "ws" package:
32
33  npm install ws
34
35  import ws from "ws"
36  const client = new RealtimeClient(url, {
37    ...options,
38    transport: ws
39  })`):new Error(`WebSocket not available: ${n}`)}this._handleNodeJsRaceCondition()}}endpointURL(){return this.socketAdapter.endPointURL()}async disconnect(t,n){return this._cancelPendingDisconnect(),this.isDisconnecting()?"ok":await this.socketAdapter.disconnect(()=>{clearInterval(this._workerHeartbeatTimer),this._terminateWorker()},t,n)}getChannels(){return this.channels}async removeChannel(t){const n=await t.unsubscribe();return n==="ok"&&t.teardown(),n}async removeAllChannels(){const t=this.channels.map(async r=>{const s=await r.unsubscribe();return r.teardown(),s}),n=await Promise.all(t);return await this.disconnect(),n}log(t,n,r){this.socketAdapter.log(t,n,r)}connectionState(){return this.socketAdapter.connectionState()||iy.closed}isConnected(){return this.socketAdapter.isConnected()}isConnecting(){return this.socketAdapter.isConnecting()}isDisconnecting(){return this.socketAdapter.isDisconnecting()}channel(t,n={config:{}}){const r=`realtime:${t}`,s=this.getChannels().find(o=>o.topic===r);if(s)return s;{const o=new zl(`realtime:${t}`,n,this);return this._cancelPendingDisconnect(),this.channels.push(o),o}}push(t){this.socketAdapter.push(t)}async setAuth(t=null){this._authPromise=this._performAuth(t);try{await this._authPromise}finally{this._authPromise=null}}_isManualToken(){return this._manuallySetToken}async sendHeartbeat(){this.socketAdapter.sendHeartbeat()}onHeartbeat(t){this.socketAdapter.heartbeatCallback=this._wrapHeartbeatCallback(t)}_makeRef(){return this.socketAdapter.makeRef()}_remove(t){this.channels=this.channels.filter(n=>n.topic!==t.topic),this.channels.length===0&&(this.log("transport","no channels remaining, scheduling disconnect"),this._schedulePendingDisconnect())}_schedulePendingDisconnect(){if(this._cancelPendingDisconnect(),this._disconnectOnEmptyChannelsAfterMs===0){this.log("transport","disconnecting immediately - no channels"),this.disconnect();return}
39this._pendingDisconnectTimer=setTimeout(()=>{this._pendingDisconnectTimer=null,this.channels.length===0&&(this.log("transport","deferred disconnect fired - no channels, disconnecting"),this.disconnect())},this._disconnectOnEmptyChannelsAfterMs),this.log("transport",`deferred disconnect scheduled in ${this._disconnectOnEmptyChannelsAfterMs}ms`)}_cancelPendingDisconnect(){this._pendingDisconnectTimer!==null&&(this.log("transport","pending disconnect cancelled - channel activity detected"),clearTimeout(this._pendingDisconnectTimer),this._pendingDisconnectTimer=null)}async _performAuth(t=null){let n,r=!1;if(t)n=t,r=!0;else if(this.accessToken)try{n=await this.accessToken()}catch(s){this.log("error","Error fetching access token from callback",s),n=this.accessTokenValue}else n=this.accessTokenValue;r?this._manuallySetToken=!0:this.accessToken&&(this._manuallySetToken=!1),this.accessTokenValue!=n&&(this.accessTokenValue=n,this.channels.forEach(s=>{const o={access_token:n,version:nj};n&&s.updateJoinPayload(o),s.joinedOnce&&s.channelAdapter.isJoined()&&s.channelAdapter.push(Q1.access_token,{access_token:n})}))}async _waitForAuthIfNeeded(){this._authPromise&&await this._authPromise}_setAuthSafely(t="general"){this._isManualToken()||this.setAuth().catch(n=>{this.log("error",`Error setting auth in ${t}`,n)})}_setupConnectionHandlers(){this.socketAdapter.onOpen(()=>{(this._authPromise||(this.accessToken&&!this.accessTokenValue?this.setAuth():Promise.resolve())).catch(n=>{this.log("error","error waiting for auth on connect",n)}),this.worker&&!this.workerRef&&this._startWorkerHeartbeat()}),this.socketAdapter.onClose(()=>{this.worker&&this.workerRef&&this._terminateWorker()}),this.socketAdapter.onMessage(t=>{t.ref&&t.ref===this._pendingWorkerHeartbeatRef&&(this._pendingWorkerHeartbeatRef=null)})}_handleNodeJsRaceCondition(){this.socketAdapter.isConnected()&&this.socketAdapter.getSocket().onConnOpen()}_wrapHeartbeatCallback(t){return(n,r)=>{n=="sent"&&this._setAuthSafely(),t&&t(n,r)}}_startWorkerHeartbeat(){this.workerUrl?this.log("worker",`starting worker for from ${this.workerUrl}`):this.log("worker","starting default worker");const t=this._workerObjectUrl(this.workerUrl);this.workerRef=new Worker(t),this.workerRef.onerror=n=>{this.log("worker","worker error",n.message),this._terminateWorker(),this.disconnect()},this.workerRef.onmessage=n=>{n.data.event==="keepAlive"&&this.sendHeartbeat()},this.workerRef.postMessage({event:"start",interval:this.heartbeatIntervalMs})}_terminateWorker(){this.workerRef&&(this.log("worker","terminating worker"),this.workerRef.terminate(),this.workerRef=void 0)}_workerObjectUrl(t){let n;if(t)n=t;else{const r=new Blob([Pj],{type:"application/javascript"});n=URL.createObjectURL(r)}return n}_initializeOptions(t){var n,r,s,o,c,u,h,f,p,y,b,v;this.worker=(n=t?.worker)!==null&&n!==void 0?n:!1,this.accessToken=(r=t?.accessToken)!==null&&r!==void 0?r:null;const k={};k.timeout=(s=t?.timeout)!==null&&s!==void 0?s:ij,k.heartbeatIntervalMs=(o=t?.heartbeatIntervalMs)!==null&&o!==void 0?o:WS.HEARTBEAT_INTERVAL,this._disconnectOnEmptyChannelsAfterMs=(c=t?.disconnectOnEmptyChannelsAfterMs)!==null&&c!==void 0?c:2*((u=t?.heartbeatIntervalMs)!==null&&u!==void 0?u:WS.HEARTBEAT_INTERVAL),k.transport=(h=t?.transport)!==null&&h!==void 0?h:ej.getWebSocketConstructor(),k.params=t?.params,k.logger=t?.logger,k.heartbeatCallback=this._wrapHeartbeatCallback(t?.heartbeatCallback),k.sessionStorage=(f=t?.sessionStorage)!==null&&f!==void 0?f:Ij(),k.reconnectAfterMs=(p=t?.reconnectAfterMs)!==null&&p!==void 0?p:(A=>Oj[A-1]||Nj);let w,E;const _=(y=t?.vsn)!==null&&y!==void 0?y:rj;switch(_){case aj:w=(A,C)=>C(JSON.stringify(A)),E=(A,C)=>C(JSON.parse(A));break;case J1:w=this.serializer.encode.bind(this.serializer),E=this.serializer.decode.bind(this.serializer);break;default:throw new Error(`Unsupported serializer version: ${k.vsn}`)}if(k.vsn=_,k.encode=(b=t?.encode)!==null&&b!==void 0?b:w,k.decode=(v=t?.decode)!==null&&v!==void 0?v:E,k.beforeReconnect=this._reconnectAuth.bind(this),(t?.logLevel||t?.log_level)&&(this.logLevel=t.logLevel||t.log_level,k.params=Object.assign(Object.assign({},k.params),{log_level:this.logLevel})),this.worker){if(typeof window<"u"&&!window.Worker)throw new Error("Web Worker is not supported");this.workerUrl=t?.workerUrl,k.autoSendHeartbeat=!this.worker}return k}async _reconnectAuth(){await this._waitForAuthIfNeeded(),this.isConnected()||this.connect()}}
39var ec=class extends Error{constructor(e,t){super(e),this.name="IcebergError",this.status=t.status,this.icebergType=t.icebergType,this.icebergCode=t.icebergCode,this.details=t.details,this.isCommitStateUnknown=t.icebergType==="CommitStateUnknownException"||[500,502,504].includes(t.status)&&t.icebergType?.includes("CommitState")===!0}isNotFound(){return this.status===404}isConflict(){return this.status===409}isAuthenticationTimeout(){return this.status===419}};function Lj(e,t,n){const r=new URL(t,e);if(n)for(const[s,o]of Object.entries(n))o!==void 0&&r.searchParams.set(s,o);return r.toString()}async function Mj(e){return!e||e.type==="none"?{}:e.type==="bearer"?{Authorization:`Bearer ${e.token}`}:e.type==="header"?{[e.name]:e.value}:e.type==="custom"?await e.getHeaders():{}}function Bj(e){const t=e.fetchImpl??globalThis.fetch;return{async request({method:n,path:r,query:s,body:o,headers:c}){const u=Lj(e.baseUrl,r,s),h=await Mj(e.auth),f=await t(u,{method:n,headers:{...o?{"Content-Type":"application/json"}:{},...h,...c},body:o?JSON.stringify(o):void 0}),p=await f.text(),y=(f.headers.get("content-type")||"").includes("application/json"),b=y&&p?JSON.parse(p):p;if(!f.ok){const v=y?b:void 0,k=v?.error;throw new ec(k?.message??`Request failed with status ${f.status}`,{status:f.status,icebergType:k?.type,icebergCode:k?.code,details:v})}return{status:f.status,headers:f.headers,data:b}}}}function Yu(e){return e.join("�")}var $j=class{constructor(e,t=""){this.client=e,this.prefix=t}async listNamespaces(e){const t=e?{parent:Yu(e.namespace)}:void 0;return(await this.client.request({method:"GET",path:`${this.prefix}/namespaces`,query:t})).data.namespaces.map(r=>({namespace:r}))}async createNamespace(e,t){const n={namespace:e.namespace,properties:t?.properties};return(await this.client.request({method:"POST",path:`${this.prefix}/namespaces`,body:n})).data}async dropNamespace(e){await this.client.request({method:"DELETE",path:`${this.prefix}/namespaces/${Yu(e.namespace)}`})}async loadNamespaceMetadata(e){return{properties:(await this.client.request({method:"GET",path:`${this.prefix}/namespaces/${Yu(e.namespace)}`})).data.properties}}async namespaceExists(e){try{return await this.client.request({method:"HEAD",path:`${this.prefix}/namespaces/${Yu(e.namespace)}`}),!0}catch(t){if(t instanceof ec&&t.status===404)return!1;throw t}}async createNamespaceIfNotExists(e,t){try{return await this.createNamespace(e,t)}catch(n){if(n instanceof ec&&n.status===409)return;throw n}}};function js(e){return e.join("�")}var zj=class{constructor(e,t="",n){this.client=e,this.prefix=t,this.accessDelegation=n}async listTables(e){return(await this.client.request({method:"GET",path:`${this.prefix}/namespaces/${js(e.namespace)}/tables`})).data.identifiers}async createTable(e,t){const n={};return this.accessDelegation&&(n["X-Iceberg-Access-Delegation"]=this.accessDelegation),(await this.client.request({method:"POST",path:`${this.prefix}/namespaces/${js(e.namespace)}/tables`,body:t,headers:n})).data.metadata}async updateTable(e,t){const n=await this.client.request({method:"POST",path:`${this.prefix}/namespaces/${js(e.namespace)}/tables/${e.name}`,body:t});return{"metadata-location":n.data["metadata-location"],metadata:n.data.metadata}}async dropTable(e,t){await this.client.request({method:"DELETE",path:`${this.prefix}/namespaces/${js(e.namespace)}/tables/${e.name}`,query:{purgeRequested:String(t?.purge??!1)}})}async loadTable(e){const t={};return this.accessDelegation&&(t["X-Iceberg-Access-Delegation"]=this.accessDelegation),(await this.client.request({method:"GET",path:`${this.prefix}/namespaces/${js(e.namespace)}/tables/${e.name}`,headers:t})).data.metadata}async tableExists(e){const t={};this.accessDelegation&&(t["X-Iceberg-Access-Delegation"]=this.accessDelegation);try{return await this.client.request({method:"HEAD",path:`${this.prefix}/namespaces/${js(e.namespace)}/tables/${e.name}`,headers:t}),!0}catch(n){if(n instanceof ec&&n.status===404)return!1;throw n}}async createTableIfNotExists(e,t){try{return await this.createTable(e,t)}catch(n){if(n instanceof ec&&n.status===409)return await this.loadTable({namespace:e.namespace,name:t.name});throw n}}},Hj=class{constructor(e){let t="v1";e.catalogName&&(t+=`/${e.catalogName}`);const n=e.baseUrl.endsWith("/")?e.baseUrl:`${e.baseUrl}/`;this.client=Bj({baseUrl:n,auth:e.auth,fetchImpl:e.fetch}),this.accessDelegation=e.accessDelegation?.join(","),this.namespaceOps=new $j(this.client,t),this.tableOps=new zj(this.client,t,this.accessDelegation)}async listNamespaces(e){return this.namespaceOps.listNamespaces(e)}async createNamespace(e,t){return this.namespaceOps.createNamespace(e,t)}async dropNamespace(e){await this.namespaceOps.dropNamespace(e)}async loadNamespaceMetadata(e){return this.namespaceOps.loadNamespaceMetadata(e)}async listTables(e){return this.tableOps.listTables(e)}
39async createTable(e,t){return this.tableOps.createTable(e,t)}async updateTable(e,t){return this.tableOps.updateTable(e,t)}async dropTable(e,t){await this.tableOps.dropTable(e,t)}async loadTable(e){return this.tableOps.loadTable(e)}async namespaceExists(e){return this.namespaceOps.namespaceExists(e)}async tableExists(e){return this.tableOps.tableExists(e)}async createNamespaceIfNotExists(e,t){return this.namespaceOps.createNamespaceIfNotExists(e,t)}async createTableIfNotExists(e,t){return this.tableOps.createTableIfNotExists(e,t)}};function tc(e){"@babel/helpers - typeof";return tc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},tc(e)}function Uj(e,t){if(tc(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(tc(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Kj(e){var t=Uj(e,"string");return tc(t)=="symbol"?t:t+""}function Vj(e,t,n){return(t=Kj(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function YS(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,r)}return n}function Re(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?YS(Object(n),!0).forEach(function(r){Vj(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):YS(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var hh=class extends Error{constructor(e,t="storage",n,r){super(e),this.__isStorageError=!0,this.namespace=t,this.name=t==="vectors"?"StorageVectorsError":"StorageError",this.status=n,this.statusCode=r}toJSON(){return{name:this.name,message:this.message,status:this.status,statusCode:this.statusCode}}};function fh(e){return typeof e=="object"&&e!==null&&"__isStorageError"in e}var cy=class extends hh{constructor(e,t,n,r="storage"){super(e,r,t,n),this.name=r==="vectors"?"StorageVectorsApiError":"StorageApiError",this.status=t,this.statusCode=n}toJSON(){return Re({},super.toJSON())}},tE=class extends hh{constructor(e,t,n="storage"){super(e,n),this.name=n==="vectors"?"StorageVectorsUnknownError":"StorageUnknownError",this.originalError=t}};function Ud(e,t,n){const r=Re({},e),s=t.toLowerCase();for(const o of Object.keys(r))o.toLowerCase()===s&&delete r[o];return r[s]=n,r}function Fj(e){const t={};for(const[n,r]of Object.entries(e))t[n.toLowerCase()]=r;return t}const qj=e=>e?(...t)=>e(...t):(...t)=>fetch(...t),Gj=e=>{if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},uy=e=>{if(Array.isArray(e))return e.map(n=>uy(n));if(typeof e=="function"||e!==Object(e))return e;const t={};return Object.entries(e).forEach(([n,r])=>{const s=n.replace(/([-_][a-z])/gi,o=>o.toUpperCase().replace(/[-_]/g,""));t[s]=uy(r)}),t},Wj=e=>!e||typeof e!="string"||e.length===0||e.length>100||e.trim()!==e||e.includes("/")||e.includes("\\")?!1:/^[\w!.\*'() &$@=;:+,?-]+$/.test(e),JS=e=>{if(typeof e=="object"&&e!==null){const t=e;if(typeof t.msg=="string")return t.msg;if(typeof t.message=="string")return t.message;if(typeof t.error_description=="string")return t.error_description;if(typeof t.error=="string")return t.error;if(typeof t.error=="object"&&t.error!==null){const n=t.error;if(typeof n.message=="string")return n.message}}return JSON.stringify(e)},Yj=async(e,t,n,r)=>{if(e!==null&&typeof e=="object"&&"json"in e&&typeof e.json=="function"){const s=e;let o=parseInt(String(s.status),10);Number.isFinite(o)||(o=500),s.json().then(c=>{const u=c?.statusCode||c?.code||o+"";t(new cy(JS(c),o,u,r))}).catch(()=>{const c=o+"";t(new cy(s.statusText||`HTTP ${o} error`,o,c,r))})}else t(new tE(JS(e),e,r))},Jj=(e,t,n,r)=>{const s={method:e,headers:t?.headers||{}};if(e==="GET"||e==="HEAD"||!r)return Re(Re({},s),n);if(Gj(r)){var o;const c=t?.headers||{};let u;for(const[h,f]of Object.entries(c))h.toLowerCase()==="content-type"&&(u=f);s.headers=Ud(c,"Content-Type",(o=u)!==null&&o!==void 0?o:"application/json"),s.body=JSON.stringify(r)}else s.body=r;return t?.duplex&&(s.duplex=t.duplex),Re(Re({},s),n)};async function vl(e,t,n,r,s,o,c){return new Promise((u,h)=>{e(n,Jj(t,r,s,o)).then(f=>{if(!f.ok)throw f;if(r?.noResolveJson)return f;if(c==="vectors"){const p=f.headers.get("content-type");if(f.headers.get("content-length")==="0"||f.status===204)return{};if(!p||!p.includes("application/json"))return{}}return f.json()}).then(f=>u(f)).catch(f=>Yj(f,h,r,c))})}function nE(e="storage"){return{get:async(t,n,r,s)=>vl(t,"GET",n,r,s,void 0,e),post:async(t,n,r,s,o)=>vl(t,"POST",n,s,o,r,e),put:async(t,n,r,s,o)=>vl(t,"PUT",n,s,o,r,e),head:async(t,n,r,s)=>vl(t,"HEAD",n,Re(Re({},r),{},{noResolveJson:!0}),s,void 0,e),remove:async(t,n,r,s,o)=>vl(t,"DELETE",n,s,o,r,e)}}const Qj=nE("storage"),{get:nc,post:Zn,put:dy,head:Xj,remove:sg}=Qj,Rn=nE("vectors");var ho=class{constructor(e,t={},n,r="storage"){this.shouldThrowOnError=!1,this.url=e,this.headers=Fj(t),this.fetch=qj(n),this.namespace=r}throwOnError(){return this.shouldThrowOnError=!0,this}setHeader(e,t){return this.headers=Ud(this.headers,e,t),this}async handleOperation(e){var t=this;try{return{data:await e(),error:null}}catch(n){if(t.shouldThrowOnError)throw n;if(fh(n))return{data:null,error:n};throw n}}};let aE;aE=Symbol.toStringTag;var Zj=class{constructor(e,t){this.downloadFn=e,this.shouldThrowOnError=t,this[aE]="StreamDownloadBuilder",this.promise=null}
39then(e,t){return this.getPromise().then(e,t)}catch(e){return this.getPromise().catch(e)}finally(e){return this.getPromise().finally(e)}getPromise(){return this.promise||(this.promise=this.execute()),this.promise}async execute(){var e=this;try{return{data:(await e.downloadFn()).body,error:null}}catch(t){if(e.shouldThrowOnError)throw t;if(fh(t))return{data:null,error:t};throw t}}};let rE;rE=Symbol.toStringTag;var eL=class{constructor(e,t){this.downloadFn=e,this.shouldThrowOnError=t,this[rE]="BlobDownloadBuilder",this.promise=null}asStream(){return new Zj(this.downloadFn,this.shouldThrowOnError)}then(e,t){return this.getPromise().then(e,t)}catch(e){return this.getPromise().catch(e)}finally(e){return this.getPromise().finally(e)}getPromise(){return this.promise||(this.promise=this.execute()),this.promise}async execute(){var e=this;try{return{data:await(await e.downloadFn()).blob(),error:null}}catch(t){if(e.shouldThrowOnError)throw t;if(fh(t))return{data:null,error:t};throw t}}};const tL={limit:100,offset:0,sortBy:{column:"name",order:"asc"}},QS={cacheControl:"3600",contentType:"text/plain;charset=UTF-8",upsert:!1};var nL=class extends ho{constructor(e,t={},n,r){super(e,t,r,"storage"),this.bucketId=n}async uploadOrUpdate(e,t,n,r){var s=this;return s.handleOperation(async()=>{let o;const c=Re(Re({},QS),r);let u=Re(Re({},s.headers),e==="POST"&&{"x-upsert":String(c.upsert)});const h=c.metadata;if(typeof Blob<"u"&&n instanceof Blob?(o=new FormData,o.append("cacheControl",c.cacheControl),h&&o.append("metadata",s.encodeMetadata(h)),o.append("",n)):typeof FormData<"u"&&n instanceof FormData?(o=n,o.has("cacheControl")||o.append("cacheControl",c.cacheControl),h&&!o.has("metadata")&&o.append("metadata",s.encodeMetadata(h))):(o=n,u["cache-control"]=`max-age=${c.cacheControl}`,u["content-type"]=c.contentType,h&&(u["x-metadata"]=s.toBase64(s.encodeMetadata(h))),(typeof ReadableStream<"u"&&o instanceof ReadableStream||o&&typeof o=="object"&&"pipe"in o&&typeof o.pipe=="function")&&!c.duplex&&(c.duplex="half")),r?.headers)for(const[b,v]of Object.entries(r.headers))u=Ud(u,b,v);const f=s._removeEmptyFolders(t),p=s._getFinalPath(f),y=await(e=="PUT"?dy:Zn)(s.fetch,`${s.url}/object/${p}`,o,Re({headers:u},c?.duplex?{duplex:c.duplex}:{}));return{path:f,id:y.Id,fullPath:y.Key}})}async upload(e,t,n){return this.uploadOrUpdate("POST",e,t,n)}async uploadToSignedUrl(e,t,n,r){var s=this;const o=s._removeEmptyFolders(e),c=s._getFinalPath(o),u=new URL(s.url+`/object/upload/sign/${c}`);return u.searchParams.set("token",t),s.handleOperation(async()=>{let h;const f=Re(Re({},QS),r);let p=Re(Re({},s.headers),{"x-upsert":String(f.upsert)});const y=f.metadata;if(typeof Blob<"u"&&n instanceof Blob?(h=new FormData,h.append("cacheControl",f.cacheControl),y&&h.append("metadata",s.encodeMetadata(y)),h.append("",n)):typeof FormData<"u"&&n instanceof FormData?(h=n,h.has("cacheControl")||h.append("cacheControl",f.cacheControl),y&&!h.has("metadata")&&h.append("metadata",s.encodeMetadata(y))):(h=n,p["cache-control"]=`max-age=${f.cacheControl}`,p["content-type"]=f.contentType,y&&(p["x-metadata"]=s.toBase64(s.encodeMetadata(y))),(typeof ReadableStream<"u"&&h instanceof ReadableStream||h&&typeof h=="object"&&"pipe"in h&&typeof h.pipe=="function")&&!f.duplex&&(f.duplex="half")),r?.headers)for(const[b,v]of Object.entries(r.headers))p=Ud(p,b,v);return{path:o,fullPath:(await dy(s.fetch,u.toString(),h,Re({headers:p},f?.duplex?{duplex:f.duplex}:{}))).Key}})}async createSignedUploadUrl(e,t){var n=this;return n.handleOperation(async()=>{let r=n._getFinalPath(e);const s=Re({},n.headers);t?.upsert&&(s["x-upsert"]="true");const o=await Zn(n.fetch,`${n.url}/object/upload/sign/${r}`,{},{headers:s}),c=new URL(n.url+o.url),u=c.searchParams.get("token");if(!u)throw new hh("No token returned by API");return{signedUrl:c.toString(),path:e,token:u}})}async update(e,t,n){return this.uploadOrUpdate("PUT",e,t,n)}async move(e,t,n){var r=this;return r.handleOperation(async()=>await Zn(r.fetch,`${r.url}/object/move`,{bucketId:r.bucketId,sourceKey:e,destinationKey:t,de
39stinationBucket:n?.destinationBucket},{headers:r.headers}))}async copy(e,t,n){var r=this;return r.handleOperation(async()=>({path:(await Zn(r.fetch,`${r.url}/object/copy`,{bucketId:r.bucketId,sourceKey:e,destinationKey:t,destinationBucket:n?.destinationBucket},{headers:r.headers})).Key}))}async createSignedUrl(e,t,n){var r=this;return r.handleOperation(async()=>{let s=r._getFinalPath(e);const o=typeof n?.transform=="object"&&n.transform!==null&&Object.keys(n.transform).length>0;let c=await Zn(r.fetch,`${r.url}/object/sign/${s}`,Re({expiresIn:t},o?{transform:n.transform}:{}),{headers:r.headers});const u=new URLSearchParams;n?.download&&u.set("download",n.download===!0?"":n.download),n?.cacheNonce!=null&&u.set("cacheNonce",String(n.cacheNonce));const h=u.toString();return{signedUrl:encodeURI(`${r.url}${c.signedURL}${h?`&${h}`:""}`)}})}async createSignedUrls(e,t,n){var r=this;return r.handleOperation(async()=>{const s=await Zn(r.fetch,`${r.url}/object/sign/${r.bucketId}`,{expiresIn:t,paths:e},{headers:r.headers}),o=new URLSearchParams;n?.download&&o.set("download",n.download===!0?"":n.download),n?.cacheNonce!=null&&o.set("cacheNonce",String(n.cacheNonce));const c=o.toString();return s.map(u=>Re(Re({},u),{},{signedUrl:u.signedURL?encodeURI(`${r.url}${u.signedURL}${c?`&${c}`:""}`):null}))})}download(e,t,n){const r=typeof t?.transform=="object"&&t.transform!==null&&Object.keys(t.transform).length>0?"render/image/authenticated":"object",s=new URLSearchParams;t?.transform&&this.applyTransformOptsToQuery(s,t.transform),t?.cacheNonce!=null&&s.set("cacheNonce",String(t.cacheNonce));const o=s.toString(),c=this._getFinalPath(e),u=()=>nc(this.fetch,`${this.url}/${r}/${c}${o?`?${o}`:""}`,{headers:this.headers,noResolveJson:!0},n);return new eL(u,this.shouldThrowOnError)}async info(e){var t=this;const n=t._getFinalPath(e);return t.handleOperation(async()=>uy(await nc(t.fetch,`${t.url}/object/info/${n}`,{headers:t.headers})))}async exists(e){var t=this;const n=t._getFinalPath(e);try{return await Xj(t.fetch,`${t.url}/object/${n}`,{headers:t.headers}),{data:!0,error:null}}catch(s){if(t.shouldThrowOnError)throw s;if(fh(s)){var r;const o=s instanceof cy?s.status:s instanceof tE?(r=s.originalError)===null||r===void 0?void 0:r.status:void 0;if(o!==void 0&&[400,404].includes(o))return{data:!1,error:s}}throw s}}getPublicUrl(e,t){const n=this._getFinalPath(e),r=new URLSearchParams;t?.download&&r.set("download",t.download===!0?"":t.download),t?.transform&&this.applyTransformOptsToQuery(r,t.transform),t?.cacheNonce!=null&&r.set("cacheNonce",String(t.cacheNonce));const s=r.toString(),o=typeof t?.transform=="object"&&t.transform!==null&&Object.keys(t.transform).length>0?"render/image":"object";return{data:{publicUrl:encodeURI(`${this.url}/${o}/public/${n}`)+(s?`?${s}`:"")}}}async remove(e){var t=this;return t.handleOperation(async()=>await sg(t.fetch,`${t.url}/object/${t.bucketId}`,{prefixes:e},{headers:t.headers}))}async list(e,t,n){var r=this;return r.handleOperation(async()=>{const s=Re(Re(Re({},tL),t),{},{prefix:e||""});return await Zn(r.fetch,`${r.url}/object/list/${r.bucketId}`,s,{headers:r.headers},n)})}async listV2(e,t){var n=this;return n.handleOperation(async()=>{const r=Re({},e);return await Zn(n.fetch,`${n.url}/object/list-v2/${n.bucketId}`,r,{headers:n.headers},t)})}encodeMetadata(e){return JSON.stringify(e)}toBase64(e){return typeof Buffer<"u"?Buffer.from(e).toString("base64"):btoa(e)}_getFinalPath(e){return`${this.bucketId}/${e.replace(/^\/+/,"")}`}_removeEmptyFolders(e){return e.replace(/^\/|\/$/g,"").replace(/\/+/g,"/")}applyTransformOptsToQuery(e,t){return t.width&&e.set("width",t.width.toString()),t.height&&e.set("height",t.height.toString()),t.resize&&e.set("resize",t.resize),t.format&&e.set("format",t.format),t.quality&&e.set("quality",t.quality.toString()),e}};const aL="2.108.2",hc={"X-Client-Info":`storage-js/${aL}`};var rL=class extends ho{constructor(e,t={},n,r){const s=new URL(e);r?.useNewHostname&&/supabase\.(co|in|red)$/.test(s.hostname)&&!s.hostname.includes("storage.supabase.")&&(s.hostname=s.hostname.replace("supabase.","storage.supabase."));const o=s.href.replace(/\/$/,""),c=Re(Re({},hc),t);super(o,c,n,"storage")}async listBuckets(e){var t=this;return t.handleOperation(async()=>{const n=t.listBucketOptionsToQueryString(e);return await nc(t.fetch,`${t.url}/bucket${n}`,{headers:t.headers})})}async getBucket(e){var t=this;return t.handleOperation(async()=>await nc(t.fetch,`${t.url}/bucket/${e}`,{headers:t.headers}))}async createBucket(e,t={public:!1}){var n=this;return n.handleOperation(async()=>await Zn(n.fetch,`${n.url}/bucket`,{id:e,name:e,type:t.type,public:t.public,file_size_limit:t.fileSizeLimit,allowed_mime_types:t.allowedMimeTypes},{headers:n.headers}))}async updateBucket(e,t){var n=this;return n.handleOperation(async()=>await dy(n.fetch,`${n.url}/bucket/${e}`,{id:e,name:e,public:t.public,file_size_limit:t.fileSizeLimit,allowed_mime_types:t.allowedMimeTypes},{headers:n.headers}))}async emptyBucket(e){var t=this;return t.handleOperation(async()=>await Zn(t.fetch,`${t.url}/bucket/${e}/empty`,{},{headers:t.headers}))}async deleteBucket(e){var t=this;return t.handleOperation(async()=>await sg(t.fetch,`${t.url}/bucket/${e}`,{},{headers:t.headers}))}listBucketOptionsToQueryString(e){const t={};return e&&("limit"in e&&(t.limit=String(e.limit)),"offset"in e&&(t.offset=String(e.offset)),e.search&&(t.search=e.search),e.sortColumn&&(t.sortColumn=e.sortColumn),e.sortOrder&&(t.sortOrder=e.sortOrder)),Object.keys(t).length>0?"?"+new URLSearchParams(t).toString():""}},iL=class extends ho{constructor(e,t={},n){const r=e.replace(/\/$/,""),s=Re(Re({},hc),t);super(r,s,n,"storage")}async createBucket(e){var t=this;return t.handleOperation(async()=>await Zn(t.fetch,`${t.url}/bucket`,{name:e},{headers:t.headers}))}async listBuckets(e){var t=this;return t.handleOperation(async()=>{const n=new URLSearchParams;e?.limit!==void 0&&n.set("limit",e.limit.toString()),e?.offset!==void 0&&n.set("offset",e.offset.toString()),e?.sortColumn&&n.set("sortColumn",e.sortColumn),e?.sortOrder&&n.set("sortOrder",e.sortOrder),e?.search&&n.set("search",e.search);const r=n.toString(),s=r?`${t.url}/bucket?${r}`:`${t.url}/bucket`;return await nc(t.fetch,s,{headers:t.headers})})}async deleteBucket(e){var t=this;return t.handleOperation(async()=>await sg(t.fetch,`${t.url}/bucket/${e}`,{},{headers:t.headers}))}from(e){var t=this;if(!Wj(e))throw new hh("Invalid bucket name: File, folder, and bucket names must follow AWS object key naming guidelines and should avoid the use of any other characters.");const n=new Hj({baseUrl:this.url,catalogName:e,auth:{type:"custom",getHeaders:async()=>t.headers},fetch:this.fetch}
39),r=this.shouldThrowOnError;return new Proxy(n,{get(s,o){const c=s[o];return typeof c!="function"?c:async(...u)=>{try{return{data:await c.apply(s,u),error:null}}catch(h){if(r)throw h;return{data:null,error:h}}}}})}},sL=class extends ho{constructor(e,t={},n){const r=e.replace(/\/$/,""),s=Re(Re({},hc),{},{"Content-Type":"application/json"},t);super(r,s,n,"vectors")}async createIndex(e){var t=this;return t.handleOperation(async()=>await Rn.post(t.fetch,`${t.url}/CreateIndex`,e,{headers:t.headers})||{})}async getIndex(e,t){var n=this;return n.handleOperation(async()=>await Rn.post(n.fetch,`${n.url}/GetIndex`,{vectorBucketName:e,indexName:t},{headers:n.headers}))}async listIndexes(e){var t=this;return t.handleOperation(async()=>await Rn.post(t.fetch,`${t.url}/ListIndexes`,e,{headers:t.headers}))}async deleteIndex(e,t){var n=this;return n.handleOperation(async()=>await Rn.post(n.fetch,`${n.url}/DeleteIndex`,{vectorBucketName:e,indexName:t},{headers:n.headers})||{})}},oL=class extends ho{constructor(e,t={},n){const r=e.replace(/\/$/,""),s=Re(Re({},hc),{},{"Content-Type":"application/json"},t);super(r,s,n,"vectors")}async putVectors(e){var t=this;if(e.vectors.length<1||e.vectors.length>500)throw new Error("Vector batch size must be between 1 and 500 items");return t.handleOperation(async()=>await Rn.post(t.fetch,`${t.url}/PutVectors`,e,{headers:t.headers})||{})}async getVectors(e){var t=this;return t.handleOperation(async()=>await Rn.post(t.fetch,`${t.url}/GetVectors`,e,{headers:t.headers}))}async listVectors(e){var t=this;if(e.segmentCount!==void 0){if(e.segmentCount<1||e.segmentCount>16)throw new Error("segmentCount must be between 1 and 16");if(e.segmentIndex!==void 0&&(e.segmentIndex<0||e.segmentIndex>=e.segmentCount))throw new Error(`segmentIndex must be between 0 and ${e.segmentCount-1}`)}return t.handleOperation(async()=>await Rn.post(t.fetch,`${t.url}/ListVectors`,e,{headers:t.headers}))}async queryVectors(e){var t=this;return t.handleOperation(async()=>await Rn.post(t.fetch,`${t.url}/QueryVectors`,e,{headers:t.headers}))}async deleteVectors(e){var t=this;if(e.keys.length<1||e.keys.length>500)throw new Error("Keys batch size must be between 1 and 500 items");return t.handleOperation(async()=>await Rn.post(t.fetch,`${t.url}/DeleteVectors`,e,{headers:t.headers})||{})}},lL=class extends ho{constructor(e,t={},n){const r=e.replace(/\/$/,""),s=Re(Re({},hc),{},{"Content-Type":"application/json"},t);super(r,s,n,"vectors")}async createBucket(e){var t=this;return t.handleOperation(async()=>await Rn.post(t.fetch,`${t.url}/CreateVectorBucket`,{vectorBucketName:e},{headers:t.headers})||{})}async getBucket(e){var t=this;return t.handleOperation(async()=>await Rn.post(t.fetch,`${t.url}/GetVectorBucket`,{vectorBucketName:e},{headers:t.headers}))}async listBuckets(e={}){var t=this;return t.handleOperation(async()=>await Rn.post(t.fetch,`${t.url}/ListVectorBuckets`,e,{headers:t.headers}))}async deleteBucket(e){var t=this;return t.handleOperation(async()=>await Rn.post(t.fetch,`${t.url}/DeleteVectorBucket`,{vectorBucketName:e},{headers:t.headers})||{})}},cL=class extends lL{constructor(e,t={}){super(e,t.headers||{},t.fetch)}from(e){return new uL(this.url,this.headers,e,this.fetch)}async createBucket(e){var t=()=>super.createBucket,n=this;return t().call(n,e)}async getBucket(e){var t=()=>super.getBucket,n=this;return t().call(n,e)}async listBuckets(e={}){var t=()=>super.listBuckets,n=this;return t().call(n,e)}async deleteBucket(e){var t=()=>super.deleteBucket,n=this;return t().call(n,e)}},uL=class extends sL{constructor(e,t,n,r){super(e,t,r),this.vectorBucketName=n}async createIndex(e){var t=()=>super.createIndex,n=this;return t().call(n,Re(Re({},e),{},{vectorBucketName:n.vectorBucketName}))}async listIndexes(e={}){var t=()=>super.listIndexes,n=this;return t().call(n,Re(Re({},e),{},{vectorBucketName:n.vectorBucketName}))}async getIndex(e){var t=()=>super.getIndex,n=this;return t().call(n,n.vectorBucketName,e)}async deleteIndex(e){var t=()=>super.deleteIndex,n=this;return t().call(n,n.vectorBucketName,e)}index(e){return new dL(this.url,this.headers,this.vectorBucketName,e,this.fetch)}}
39,dL=class extends oL{constructor(e,t,n,r,s){super(e,t,s),this.vectorBucketName=n,this.indexName=r}async putVectors(e){var t=()=>super.putVectors,n=this;return t().call(n,Re(Re({},e),{},{vectorBucketName:n.vectorBucketName,indexName:n.indexName}))}async getVectors(e){var t=()=>super.getVectors,n=this;return t().call(n,Re(Re({},e),{},{vectorBucketName:n.vectorBucketName,indexName:n.indexName}))}async listVectors(e={}){var t=()=>super.listVectors,n=this;return t().call(n,Re(Re({},e),{},{vectorBucketName:n.vectorBucketName,indexName:n.indexName}))}async queryVectors(e){var t=()=>super.queryVectors,n=this;return t().call(n,Re(Re({},e),{},{vectorBucketName:n.vectorBucketName,indexName:n.indexName}))}async deleteVectors(e){var t=()=>super.deleteVectors,n=this;return t().call(n,Re(Re({},e),{},{vectorBucketName:n.vectorBucketName,indexName:n.indexName}))}},hL=class extends rL{constructor(e,t={},n,r){super(e,t,n,r)}from(e){return new nL(this.url,this.headers,e,this.fetch)}get vectors(){return new cL(this.url+"/vector",{headers:this.headers,fetch:this.fetch})}get analytics(){return new iL(this.url+"/iceberg",this.headers,this.fetch)}};const iE="2.108.2",er=30*1e3,Pl=3,cm=Pl*er,fL=2*er,pL="http://localhost:9999",mL="supabase.auth.token",yL={"X-Client-Info":`gotrue-js/${iE}`},hy="X-Supabase-Api-Version",sE={"2024-01-01":{timestamp:Date.parse("2024-01-01T00:00:00.0Z"),name:"2024-01-01"}},gL=/^([a-z0-9_-]{4})*($|[a-z0-9_-]{3}$|[a-z0-9_-]{2}$)$/i,bL=600*1e3;class ac extends Error{constructor(t,n,r){super(t),this.__isAuthError=!0,this.name="AuthError",this.status=n,this.code=r}toJSON(){return{name:this.name,message:this.message,status:this.status,code:this.code}}}function pe(e){return typeof e=="object"&&e!==null&&"__isAuthError"in e}class vL extends ac{constructor(t,n,r){super(t,n,r),this.name="AuthApiError",this.status=n,this.code=r}}function wL(e){return pe(e)&&e.name==="AuthApiError"}class ta extends ac{constructor(t,n){super(t),this.name="AuthUnknownError",this.originalError=n}}class Ea extends ac{constructor(t,n,r,s){super(t,r,s),this.name=n,this.status=r}}class jt extends Ea{constructor(){super("Auth session missing!","AuthSessionMissingError",400,void 0)}}function Ju(e){return pe(e)&&e.name==="AuthSessionMissingError"}
39class Ls extends Ea{constructor(){super("Auth session or user missing","AuthInvalidTokenResponseError",500,void 0)}}class Qu extends Ea{constructor(t){super(t,"AuthInvalidCredentialsError",400,void 0)}}class Xu extends Ea{constructor(t,n=null){super(t,"AuthImplicitGrantRedirectError",500,void 0),this.details=null,this.details=n}toJSON(){return Object.assign(Object.assign({},super.toJSON()),{details:this.details})}}function SL(e){return pe(e)&&e.name==="AuthImplicitGrantRedirectError"}class XS extends Ea{constructor(t,n=null){super(t,"AuthPKCEGrantCodeExchangeError",500,void 0),this.details=null,this.details=n}toJSON(){return Object.assign(Object.assign({},super.toJSON()),{details:this.details})}}class kL extends Ea{constructor(){super("PKCE code verifier not found in storage. This can happen if the auth flow was initiated in a different browser or device, or if the storage was cleared. For SSR frameworks (Next.js, SvelteKit, etc.), use @supabase/ssr on both the server and client to store the code verifier in cookies.","AuthPKCECodeVerifierMissingError",400,"pkce_code_verifier_not_found")}}class fy extends Ea{constructor(t,n){super(t,"AuthRetryableFetchError",n,void 0)}}function ZS(e){return pe(e)&&e.name==="AuthRetryableFetchError"}class ek extends Ea{constructor(t="Refresh result discarded: session state changed mid-flight (e.g., concurrent signOut)"){super(t,"AuthRefreshDiscardedError",409,void 0)}}function _L(e){return pe(e)&&e.name==="AuthRefreshDiscardedError"}class tk extends Ea{constructor(t,n,r){super(t,"AuthWeakPasswordError",n,"weak_password"),this.reasons=r}toJSON(){return Object.assign(Object.assign({},super.toJSON()),{reasons:this.reasons})}}class Kd extends Ea{constructor(t){super(t,"AuthInvalidJwtError",400,"invalid_jwt")}}const Vd="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".split(""),nk=` 	
40\r=`.split(""),xL=(()=>{const e=new Array(128);for(let t=0;t<e.length;t+=1)e[t]=-1;for(let t=0;t<nk.length;t+=1)e[nk[t].charCodeAt(0)]=-2;for(let t=0;t<Vd.length;t+=1)e[Vd[t].charCodeAt(0)]=t;return e})();function ak(e,t,n){if(e!==null)for(t.queue=t.queue<<8|e,t.queuedBits+=8;t.queuedBits>=6;){const r=t.queue>>t.queuedBits-6&63;n(Vd[r]),t.queuedBits-=6}else if(t.queuedBits>0)for(t.queue=t.queue<<6-t.queuedBits,t.queuedBits=6;t.queuedBits>=6;){const r=t.queue>>t.queuedBits-6&63;n(Vd[r]),t.queuedBits-=6}}function oE(e,t,n){const r=xL[e];if(r>-1)for(t.queue=t.queue<<6|r,t.queuedBits+=6;t.queuedBits>=8;)n(t.queue>>t.queuedBits-8&255),t.queuedBits-=8;else{if(r===-2)return;throw new Error(`Invalid Base64-URL character "${String.fromCharCode(e)}"`)}}function rk(e){const t=[],n=c=>{t.push(String.fromCodePoint(c))},r={utf8seq:0,codepoint:0},s={queue:0,queuedBits:0},o=c=>{CL(c,r,n)};for(let c=0;c<e.length;c+=1)oE(e.charCodeAt(c),s,o);return t.join("")}function EL(e,t){if(e<=127){t(e);return}else if(e<=2047){t(192|e>>6),t(128|e&63);return}else if(e<=65535){t(224|e>>12),t(128|e>>6&63),t(128|e&63);return}else if(e<=1114111){t(240|e>>18),t(128|e>>12&63),t(128|e>>6&63),t(128|e&63);return}throw new Error(`Unrecognized Unicode codepoint: ${e.toString(16)}`)}function RL(e,t){for(let n=0;n<e.length;n+=1){let r=e.charCodeAt(n);if(r>55295&&r<=56319){const s=(r-55296)*1024&65535;r=(e.charCodeAt(n+1)-56320&65535|s)+65536,n+=1}EL(r,t)}}function CL(e,t,n){if(t.utf8seq===0){if(e<=127){n(e);return}for(let r=1;r<6;r+=1)if((e>>7-r&1)===0){t.utf8seq=r;break}if(t.utf8seq===2)t.codepoint=e&31;else if(t.utf8seq===3)t.codepoint=e&15;else if(t.utf8seq===4)t.codepoint=e&7;else throw new Error("Invalid UTF-8 sequence");t.utf8seq-=1}else if(t.utf8seq>0){if(e<=127)throw new Error("Invalid UTF-8 sequence");t.codepoint=t.codepoint<<6|e&63,t.utf8seq-=1,t.utf8seq===0&&n(t.codepoint)}}function no(e){const t=[],n={queue:0,queuedBits:0},r=s=>{t.push(s)};for(let s=0;s<e.length;s+=1)oE(e.charCodeAt(s),n,r);return new Uint8Array(t)}function AL(e){const t=[];return RL(e,n=>t.push(n)),new Uint8Array(t)}function Ni(e){const t=[],n={queue:0,queuedBits:0},r=s=>{t.push(s)};return e.forEach(s=>ak(s,n,r)),ak(null,n,r),t.join("")}function TL(e){return Math.round(Date.now()/1e3)+e}function OL(){return Symbol("auth-callback")}const Vt=()=>typeof window<"u"&&typeof document<"u",_i={tested:!1,writable:!1},lE=()=>
40{if(!Vt())return!1;try{if(typeof globalThis.localStorage!="object")return!1}catch{return!1}if(_i.tested)return _i.writable;const e=`lswt-${Math.random()}${Math.random()}`;try{globalThis.localStorage.setItem(e,e),globalThis.localStorage.removeItem(e),_i.tested=!0,_i.writable=!0}catch{_i.tested=!0,_i.writable=!1}return _i.writable};function NL(e){const t={},n=new URL(e);if(n.hash&&n.hash[0]==="#")try{new URLSearchParams(n.hash.substring(1)).forEach((s,o)=>{t[o]=s})}catch{}return n.searchParams.forEach((r,s)=>{t[s]=r}),t}const cE=e=>e?(...t)=>e(...t):(...t)=>fetch(...t),DL=e=>typeof e=="object"&&e!==null&&"status"in e&&"ok"in e&&"json"in e&&typeof e.json=="function",Fs=async(e,t,n)=>{await e.setItem(t,JSON.stringify(n))},Wn=async(e,t)=>{const n=await e.getItem(t);if(!n)return null;try{return JSON.parse(n)}catch{return null}},bt=async(e,t)=>{await e.removeItem(t)};class ph{constructor(){this.promise=new ph.promiseConstructor((t,n)=>{this.resolve=t,this.reject=n})}}ph.promiseConstructor=Promise;function Zu(e){const t=e.split(".");if(t.length!==3)throw new Kd("Invalid JWT structure");for(let r=0;r<t.length;r++)if(!gL.test(t[r]))throw new Kd("JWT not in base64url format");return{header:JSON.parse(rk(t[0])),payload:JSON.parse(rk(t[1])),signature:no(t[2]),raw:{header:t[0],payload:t[1]}}}async function IL(e){return await new Promise(t=>{setTimeout(()=>t(null),e)})}function PL(e,t){return new Promise((r,s)=>{(async()=>{for(let o=0;o<1/0;o++)try{const c=await e(o);if(!t(o,null,c)){r(c);return}}catch(c){if(!t(o,c)){s(c);return}}})()})}function jL(e){return("0"+e.toString(16)).substr(-2)}function LL(){const t=new Uint32Array(56);if(typeof crypto>"u"){const n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~",r=n.length;let s="";for(let o=0;o<56;o++)s+=n.charAt(Math.floor(Math.random()*r));return s}return crypto.getRandomValues(t),Array.from(t,jL).join("")}async function ML(e){const n=new TextEncoder().encode(e),r=await crypto.subtle.digest("SHA-256",n),s=new Uint8Array(r);return Array.from(s).map(o=>String.fromCharCode(o)).join("")}async function BL(e){if(!(typeof crypto<"u"&&typeof crypto.subtle<"u"&&typeof TextEncoder<"u"))return console.warn("WebCrypto API is not supported. Code challenge method will default to use plain instead of sha256."),e;const n=await ML(e);return btoa(n).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}async function xi(e,t,n=!1){const r=LL();let s=r;n&&(s+="/recovery"),await Fs(e,`${t}-code-verifier`,s);const o=await BL(r);return[o,r===o?"plain":"s256"]}const $L=/^2[0-9]{3}-(0[1-9]|1[0-2])-(0[1-9]|1[0-9]|2[0-9]|3[0-1])$/i;function zL(e){const t=e.headers.get(hy);if(!t||!t.match($L))return null;try{return new Date(`${t}T00:00:00.0Z`)}catch{return null}}function HL(e){if(!e)throw new Error("Missing exp claim");const t=Math.floor(Date.now()/1e3);if(e<=t)throw new Error("JWT has expired")}function UL(e){switch(e){case"RS256":return{name:"RSASSA-PKCS1-v1_5",hash:{name:"SHA-256"}};case"ES256":return{name:"ECDSA",namedCurve:"P-256",hash:{name:"SHA-256"}};default:throw new Error("Invalid alg claim")}}const KL=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/;function qa(e){if(!KL.test(e))throw new Error("@supabase/auth-js: Expected parameter to be UUID but is not")}function Qn(e){if(!e.passkey)throw new Error("@supabase/auth-js: the passkey API is experimental and disabled by default. Enable it by passing `auth: { experimental: { passkey: true } }` to createClient (or to the GoTrueClient constructor).")}function um(){const e={};return new Proxy(e,{get:(t,n)=>{if(n==="__isUserNotAvailableProxy")return!0;if(typeof n=="symbol"){const r=n.toString();if(r==="Symbol(Symbol.toPrimitive)"||r==="Symbol(Symbol.toStringTag)"||r==="Symbol(util.inspect.custom)")return}throw new Error(`@supabase/auth-js: client was created with userStorage option and there was no user stored in the user storage. Accessing the "${n}" property of the session object is not supported. Please use getUser() instead.`)},set:(t,n)=>{throw new Error(`@supabase/auth-js: client was created with userStorage option and there was no user stored in the user storage. Setting the "${n}" property of the session object is not supported. Please use getUser() to fetch a user object you can manipulate.`)},deleteProperty:(t,n)=>{throw new Error(`@supabase/auth-js: client was created with userStorage option and there was no user stored in the user storage. Deleting the "${n}" property of the session object is not supported. Please use getUser() to fetch a user object you can manipulate.`)}})}function VL(e,t){return new Proxy(e,{get:(n,r,s)=>{if(r==="__isInsecureUserWarningProxy")return!0;
40if(typeof r=="symbol"){const o=r.toString();if(o==="Symbol(Symbol.toPrimitive)"||o==="Symbol(Symbol.toStringTag)"||o==="Symbol(util.inspect.custom)"||o==="Symbol(nodejs.util.inspect.custom)")return Reflect.get(n,r,s)}return!t.value&&typeof r=="string"&&(console.warn("Using the user object as returned from supabase.auth.getSession() or from some supabase.auth.onAuthStateChange() events could be insecure! This value comes directly from the storage medium (usually cookies on the server) and may not be authentic. Use supabase.auth.getUser() instead which authenticates the data by contacting the Supabase Auth server."),t.value=!0),Reflect.get(n,r,s)}})}function ik(e){return JSON.parse(JSON.stringify(e))}const Ci=e=>{if(typeof e=="object"&&e!==null){const t=e;if(typeof t.msg=="string")return t.msg;if(typeof t.message=="string")return t.message;if(typeof t.error_description=="string")return t.error_description;if(typeof t.error=="string")return t.error}return JSON.stringify(e)},FL=[500,501,502,503,504,520,521,522,523,524,525,526,527,528,529,530];async function sk(e){var t;if(!DL(e))throw new fy(Ci(e),0);if(FL.includes(e.status))throw new fy(Ci(e),e.status);let n;try{n=await e.json()}catch(o){throw new ta(Ci(o),o)}let r;const s=zL(e);if(s&&s.getTime()>=sE["2024-01-01"].timestamp&&typeof n=="object"&&n&&typeof n.code=="string"?r=n.code:typeof n=="object"&&n&&typeof n.error_code=="string"&&(r=n.error_code),r){if(r==="weak_password")throw new tk(Ci(n),e.status,((t=n.weak_password)===null||t===void 0?void 0:t.reasons)||[]);if(r==="session_not_found")throw new jt}else if(typeof n=="object"&&n&&typeof n.weak_password=="object"&&n.weak_password&&Array.isArray(n.weak_password.reasons)&&n.weak_password.reasons.length&&n.weak_password.reasons.reduce((o,c)=>o&&typeof c=="string",!0))throw new tk(Ci(n),e.status,n.weak_password.reasons);throw new vL(Ci(n),e.status||500,r)}const qL=(e,t,n,r)=>{const s={method:e,headers:t?.headers||{}};return e==="GET"?s:(s.headers=Object.assign({"Content-Type":"application/json;charset=UTF-8"},t?.headers),s.body=JSON.stringify(r),Object.assign(Object.assign({},s),n))};async function ve(e,t,n,r){var s;const o=Object.assign({},r?.headers);o[hy]||(o[hy]=sE["2024-01-01"].name),r?.jwt&&(o.Authorization=`Bearer ${r.jwt}`);const c=(s=r?.query)!==null&&s!==void 0?s:{};r?.redirectTo&&(c.redirect_to=r.redirectTo);const u=Object.keys(c).length?"?"+new URLSearchParams(c).toString():"",h=await GL(e,t,n+u,{headers:o,noResolveJson:r?.noResolveJson},{},r?.body);return r?.xform?r?.xform(h):{data:Object.assign({},h),error:null}}async function GL(e,t,n,r,s,o){const c=qL(t,r,s,o);let u;try{u=await e(n,Object.assign({},c))}catch(h){throw console.error(h),new fy(Ci(h),0)}if(u.ok||await sk(u),r?.noResolveJson)return u;try{return await u.json()}catch(h){await sk(h)}}function Hn(e){var t;let n=null;JL(e)&&(n=Object.assign({},e),e.expires_at||(n.expires_at=TL(e.expires_in)));const r=(t=e.user)!==null&&t!==void 0?t:typeof e?.id=="string"?e:null;return{data:{session:n,user:r},error:null}}function ok(e){const t=Hn(e);return!t.error&&e.weak_password&&typeof e.weak_password=="object"&&Array.isArray(e.weak_password.reasons)&&e.weak_password.reasons.length&&e.weak_password.message&&typeof e.weak_password.message=="string"&&e.weak_password.reasons.reduce((n,r)=>n&&typeof r=="string",!0)&&(t.data.weak_password=e.weak_password),t}function Kr(e){var t;return{data:{user:(t=e.user)!==null&&t!==void 0?t:e},error:null}}function WL(e){return{data:e,error:null}}function YL(e){const{action_link:t,email_otp:n,hashed_token:r,redirect_to:s,verification_type:o}=e,c=uo(e,["action_link","email_otp","hashed_token","redirect_to","verification_type"]),u={action_link:t,email_otp:n,hashed_token:r,redirect_to:s,verification_type:o},h=Object.assign({},c);return{data:{properties:u,user:h},error:null}}function lk(e){return e}function JL(e){return!!e.access_token&&!!e.refresh_token&&!!e.expires_in}const dm=["global","local","others"];class QL{constructor({url:t="",headers:n={},fetch:r,experimental:s}){this.url=t,this.headers=n,this.fetch=cE(r),this.experimental=s??{},this.mfa={listFactors:this._listFactors.bind(this),deleteFactor:this._deleteFactor.bind(this)},this.oauth={listClients:this._listOAuthClients.bind(this),createClient:this._createOAuthClient.bind(this),getClient:this._getOAuthClient.bind(this),updateClient:this._updateOAuthClient.bind(this),deleteClient:this._deleteOAuthClient.bind(this),regenerateClientSecret:this._regenerateOAuthClientSecret.bind(this)},this.customProviders={listProviders:this._listCustomProviders.bind(this),createProvider:this._createCustomProvider.bind(this),getProvider:this._getCustomProvider.bind(this),updateProvider:this._updateCustomProvider.bind(this),deleteProvider:this._deleteCustomProvider.bind(this)},this.passkey={listPasskeys:this._adminListPasskeys.bind(this),deletePasskey:this._adminDeletePasskey.bind(this)}}async signOut(t,n=dm[0]){if(dm.indexOf(n)<0)throw new Error(`@supabase/auth-js: Parameter scope must be one of ${dm.j
40oin(", ")}`);try{return await ve(this.fetch,"POST",`${this.url}/logout?scope=${n}`,{headers:this.headers,jwt:t,noResolveJson:!0}),{data:null,error:null}}catch(r){if(pe(r))return{data:null,error:r};throw r}}async inviteUserByEmail(t,n={}){try{return await ve(this.fetch,"POST",`${this.url}/invite`,{body:{email:t,data:n.data},headers:this.headers,redirectTo:n.redirectTo,xform:Kr})}catch(r){if(pe(r))return{data:{user:null},error:r};throw r}}async generateLink(t){try{const{options:n}=t,r=uo(t,["options"]),s=Object.assign(Object.assign({},r),n);return"newEmail"in r&&(s.new_email=r?.newEmail,delete s.newEmail),await ve(this.fetch,"POST",`${this.url}/admin/generate_link`,{body:s,headers:this.headers,xform:YL,redirectTo:n?.redirectTo})}catch(n){if(pe(n))return{data:{properties:null,user:null},error:n};throw n}}async createUser(t){try{return await ve(this.fetch,"POST",`${this.url}/admin/users`,{body:t,headers:this.headers,xform:Kr})}catch(n){if(pe(n))return{data:{user:null},error:n};throw n}}async listUsers(t){var n,r,s,o,c,u,h;try{const f={nextPage:null,lastPage:0,total:0},p=await ve(this.fetch,"GET",`${this.url}/admin/users`,{headers:this.headers,noResolveJson:!0,query:{page:(r=(n=t?.page)===null||n===void 0?void 0:n.toString())!==null&&r!==void 0?r:"",per_page:(o=(s=t?.perPage)===null||s===void 0?void 0:s.toString())!==null&&o!==void 0?o:""},xform:lk});if(p.error)throw p.error;const y=await p.json(),b=(c=p.headers.get("x-total-count"))!==null&&c!==void 0?c:0,v=(h=(u=p.headers.get("link"))===null||u===void 0?void 0:u.split(","))!==null&&h!==void 0?h:[];return v.length>0&&(v.forEach(k=>{const w=parseInt(k.split(";")[0].split("=")[1].substring(0,1)),E=JSON.parse(k.split(";")[1].split("=")[1]);f[`${E}Page`]=w}),f.total=parseInt(b)),{data:Object.assign(Object.assign({},y),f),error:null}}catch(f){if(pe(f))return{data:{users:[]},error:f};throw f}}async getUserById(t){qa(t);try{return await ve(this.fetch,"GET",`${this.url}/admin/users/${t}`,{headers:this.headers,xform:Kr})}catch(n){if(pe(n))return{data:{user:null},error:n};throw n}}async updateUserById(t,n){qa(t);try{return await ve(this.fetch,"PUT",`${this.url}/admin/users/${t}`,{body:n,headers:this.headers,xform:Kr})}catch(r){if(pe(r))return{data:{user:null},error:r};throw r}}async deleteUser(t,n=!1){qa(t);try{return await ve(this.fetch,"DELETE",`${this.url}/admin/users/${t}`,{headers:this.headers,body:{should_soft_delete:n},xform:Kr})}catch(r){if(pe(r))return{data:{user:null},error:r};throw r}}async _listFactors(t){qa(t.userId);try{const{data:n,error:r}=await ve(this.fetch,"GET",`${this.url}/admin/users/${t.userId}/factors`,{headers:this.headers,xform:s=>({data:{factors:s},error:null})});return{data:n,error:r}}catch(n){if(pe(n))return{data:null,error:n};throw n}}async _deleteFactor(t){qa(t.userId),qa(t.id);try{return{data:await ve(this.fetch,"DELETE",`${this.url}/admin/users/${t.userId}/factors/${t.id}`,{headers:this.headers}),error:null}}catch(n){if(pe(n))return{data:null,error:n};throw n}}async _listOAuthClients(t){var n,r,s,o,c,u,h;try{const f={nextPage:null,lastPage:0,total:0},p=await ve(this.fetch,"GET",`${this.url}/admin/oauth/clients`,{headers:this.headers,noResolveJson:!0,query:{page:(r=(n=t?.page)===null||n===void 0?void 0:n.toString())!==null&&r!==void 0?r:"",per_page:(o=(s=t?.perPage)===null||s===void 0?void 0:s.toString())!==null&&o!==void 0?o:""},xform:lk});if(p.error)throw p.error;const y=await p.json(),b=(c=p.headers.get("x-total-count"))!==null&&c!==void 0?c:0,v=(h=(u=p.headers.get("link"))===null||u===void 0?void 0:u.split(","))!==null&&h!==void 0?h:[];return v.length>0&&(v.forEach(k=>{const w=parseInt(k.split(";")[0].split("=")[1].substring(0,1)),E=JSON.parse(k.split(";")[1].split("=")[1]);f[`${E}Page`]=w}),f.total=parseInt(b)),{data:Object.assign(Object.assign({},y),f),error:null}}catch(f){if(pe(f))return{data:{clients:[]},error:f};throw f}}async _createOAuthClient(t){try{return await ve(this.fetch,"POST",`${this.url}/admin/oauth/clients`,{body:t,headers:this.headers,xform:n=>({data:n,error:null})})}catch(n){if(pe(n))return{data:null,error:n};throw n}}async _getOAuthClient(t){try{return await ve(this.fetch,"GET",`${this.url}/admin/oauth/clients/${t}`,{headers:this.headers,xform:n=>({data:n,error:null})})}catch(n){if(pe(n))return{data:null,error:n};throw n}}async _updateOAuthClient(t,n){try{return await ve(this.fetch,"PUT",`${this.url}/admin/oauth/clients/${t}`,{body:n,headers:this.headers,xform:r=>({data:r,error:null})})}catch(r){if(pe(r))return{data:null,error:r};throw r}}async _deleteOAuthClient(t){try{return await ve(this.fetch,"DELET
40E",`${this.url}/admin/oauth/clients/${t}`,{headers:this.headers,noResolveJson:!0}),{data:null,error:null}}catch(n){if(pe(n))return{data:null,error:n};throw n}}async _regenerateOAuthClientSecret(t){try{return await ve(this.fetch,"POST",`${this.url}/admin/oauth/clients/${t}/regenerate_secret`,{headers:this.headers,xform:n=>({data:n,error:null})})}catch(n){if(pe(n))return{data:null,error:n};throw n}}async _listCustomProviders(t){try{const n={};return t?.type&&(n.type=t.type),await ve(this.fetch,"GET",`${this.url}/admin/custom-providers`,{headers:this.headers,query:n,xform:r=>{var s;return{data:{providers:(s=r?.providers)!==null&&s!==void 0?s:[]},error:null}}})}catch(n){if(pe(n))return{data:{providers:[]},error:n};throw n}}async _createCustomProvider(t){try{return await ve(this.fetch,"POST",`${this.url}/admin/custom-providers`,{body:t,headers:this.headers,xform:n=>({data:n,error:null})})}catch(n){if(pe(n))return{data:null,error:n};throw n}}async _getCustomProvider(t){try{return await ve(this.fetch,"GET",`${this.url}/admin/custom-providers/${t}`,{headers:this.headers,xform:n=>({data:n,error:null})})}catch(n){if(pe(n))return{data:null,error:n};throw n}}async _updateCustomProvider(t,n){try{return await ve(this.fetch,"PUT",`${this.url}/admin/custom-providers/${t}`,{body:n,headers:this.headers,xform:r=>({data:r,error:null})})}catch(r){if(pe(r))return{data:null,error:r};throw r}}async _deleteCustomProvider(t){try{return await ve(this.fetch,"DELETE",`${this.url}/admin/custom-providers/${t}`,{headers:this.headers,noResolveJson:!0}),{data:null,error:null}}catch(n){if(pe(n))return{data:null,error:n};throw n}}async _adminListPasskeys(t){Qn(this.experimental),qa(t.userId);try{return await ve(this.fetch,"GET",`${this.url}/admin/users/${t.userId}/passkeys`,{headers:this.headers,xform:n=>({data:n,error:null})})}catch(n){if(pe(n))return{data:null,error:n};throw n}}async _adminDeletePasskey(t){Qn(this.experimental),qa(t.userId),qa(t.passkeyId);try{return await ve(this.fetch,"DELETE",`${this.url}/admin/users/${t.userId}/passkeys/${t.passkeyId}`,{headers:this.headers,noResolveJson:!0}),{data:null,error:null}}catch(n){if(pe(n))return{data:null,error:n};throw n}}}function ck(e={}){return{getItem:t=>e[t]||null,setItem:(t,n)=>{e[t]=n},removeItem:t=>{delete e[t]}}}globalThis&&lE()&&globalThis.localStorage&&globalThis.localStorage.getItem("supabase.gotrue-js.locks.debug");class XL extends Error{constructor(t){super(t),this.isAcquireTimeout=!0}}function ZL(){if(typeof globalThis!="object")try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__}catch{typeof self<"u"&&(self.globalThis=self)}}function uE(e){if(!/^0x[a-fA-F0-9]{40}$/.test(e))throw new Error(`@supabase/auth-js: Address "${e}" is invalid.`);return e.toLowerCase()}function eM(e){return parseInt(e,16)}function tM(e){const t=new TextEncoder().encode(e);return"0x"+Array.from(t,r=>r.toString(16).padStart(2,"0")).join("")}function nM(e){var t;const{chainId:n,domain:r,expirationTime:s,issuedAt:o=new Date,nonce:c,notBefore:u,requestId:h,resources:f,scheme:p,uri:y,version:b}=e;{if(!Number.isInteger(n))throw new Error(`@supabase/auth-js: Invalid SIWE message field "chainId". Chain ID must be a EIP-155 chain ID. Provided value: ${n}`);if(!r)throw new Error('@supabase/auth-js: Invalid SIWE message field "domain". Domain must be provided.');if(c&&c.length<8)throw new Error(`@supabase/auth-js: Invalid SIWE message field "nonce". Nonce must be at least 8 characters. Provided value: ${c}`);if(!y)throw new Error('@supabase/auth-js: Invalid SIWE message field "uri". URI must be provided.');if(b!=="1")throw new Error(`@supabase/auth-js: Invalid SIWE message field "version". Version must be '1'. Provided value: ${b}`);if(!((t=e.statement)===null||t===void 0)&&t.includes(`
41`))throw new Error(`@supabase/auth-js: Invalid SIWE message field "statement". Statement must not include '\\n'. Provided value: ${e.statement}`)}const v=uE(e.address),k=p?`${p}://${r}`:r,w=e.statement?`${e.statement}
42`:"",E=`${k} wants you to sign in with your Ethereum account:
43${v}
44
45${w}`;let _=`URI: ${y}
46Version: ${b}
47Chain ID: ${n}${c?`
48Nonce: ${c}`:""}
49Issued At: ${o.toISOString()}`;if(s&&(_+=`
50Expiration Time: ${s.toISOString()}`),u&&(_+=`
51Not Before: ${u.toISOString()}`),h&&(_+=`
52Request ID: ${h}`),f){let A=`
53Resources:`;for(const C of f){if(!C||typeof C!="string")throw new Error(`@supabase/auth-js: Invalid SIWE message field "resources". Every resource must be a valid string. Provided value: ${C}`);A+=`
54- ${C}`}_+=A}return`${E}
55${_}`}
55class Et extends Error{constructor({message:t,code:n,cause:r,name:s}){var o;super(t,{cause:r}),this.__isWebAuthnError=!0,this.name=(o=s??(r instanceof Error?r.name:void 0))!==null&&o!==void 0?o:"Unknown Error",this.code=n}toJSON(){return{name:this.name,message:this.message,code:this.code}}}class Fd extends Et{constructor(t,n){super({code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:n,message:t}),this.name="WebAuthnUnknownError",this.originalError=n}}function aM({error:e,options:t}){var n,r,s;const{publicKey:o}=t;if(!o)throw Error("options was missing required publicKey property");if(e.name==="AbortError"){if(t.signal instanceof AbortSignal)return new Et({message:"Registration ceremony was sent an abort signal",code:"ERROR_CEREMONY_ABORTED",cause:e})}else if(e.name==="ConstraintError"){if(((n=o.authenticatorSelection)===null||n===void 0?void 0:n.requireResidentKey)===!0)return new Et({message:"Discoverable credentials were required but no available authenticator supported it",code:"ERROR_AUTHENTICATOR_MISSING_DISCOVERABLE_CREDENTIAL_SUPPORT",cause:e});if(t.mediation==="conditional"&&((r=o.authenticatorSelection)===null||r===void 0?void 0:r.userVerification)==="required")return new Et({message:"User verification was required during automatic registration but it could not be performed",code:"ERROR_AUTO_REGISTER_USER_VERIFICATION_FAILURE",cause:e});if(((s=o.authenticatorSelection)===null||s===void 0?void 0:s.userVerification)==="required")return new Et({message:"User verification was required but no available authenticator supported it",code:"ERROR_AUTHENTICATOR_MISSING_USER_VERIFICATION_SUPPORT",cause:e})}else{if(e.name==="InvalidStateError")return new Et({message:"The authenticator was previously registered",code:"ERROR_AUTHENTICATOR_PREVIOUSLY_REGISTERED",cause:e});if(e.name==="NotAllowedError")return new Et({message:e.message,code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:e});if(e.name==="NotSupportedError")return o.pubKeyCredParams.filter(u=>u.type==="public-key").length===0?new Et({message:'No entry in pubKeyCredParams was of type "public-key"',code:"ERROR_MALFORMED_PUBKEYCREDPARAMS",cause:e}):new Et({message:"No available authenticator supported any of the specified pubKeyCredParams algorithms",code:"ERROR_AUTHENTICATOR_NO_SUPPORTED_PUBKEYCREDPARAMS_ALG",cause:e});if(e.name==="SecurityError"){const c=window.location.hostname;if(dE(c)){if(o.rp.id!==c)return new Et({message:`The RP ID "${o.rp.id}" is invalid for this domain`,code:"ERROR_INVALID_RP_ID",cause:e})}else return new Et({message:`${window.location.hostname} is an invalid domain`,code:"ERROR_INVALID_DOMAIN",cause:e})}else if(e.name==="TypeError"){if(o.user.id.byteLength<1||o.user.id.byteLength>64)return new Et({message:"User ID was not between 1 and 64 characters",code:"ERROR_INVALID_USER_ID_LENGTH",cause:e})}else if(e.name==="UnknownError")return new Et({message:"The authenticator was unable to process the specified options, or could not create a new credential",code:"ERROR_AUTHENTICATOR_GENERAL_ERROR",cause:e})}return new Et({message:"a Non-Webauthn related error has occurred",code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:e})}function rM({error:e,options:t}){const{publicKey:n}=t;if(!n)throw Error("options was missing required publicKey property");if(e.name==="AbortError"){if(t.signal instanceof AbortSignal)return new Et({message:"Authentication ceremony was sent an abort signal",code:"ERROR_CEREMONY_ABORTED",cause:e})}else{if(e.name==="NotAllowedError")return new Et({message:e.message,code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:e});if(e.name==="SecurityError"){const r=window.location.hostname;if(dE(r)){if(n.rpId!==r)return new Et({message:`The RP ID "${n.rpId}" is invalid for this domain`,code:"ERROR_INVALID_RP_ID",cause:e})}else return new Et({message:`${window.location.hostname} is an invalid domain`,code:"ERROR_INVALID_DOMAIN",cause:e})}else if(e.name==="UnknownError")return new Et({message:"The authenticator was unable to process the specified options, or could not create a new assertion signature",code:"ERROR_AUTHENTICATOR_GENERAL_ERROR",cause:e})}return new Et({message:"a Non-Webauthn related error has occurred",code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:e})}class iM{createNewAbortSignal(){if(this.controller){const n=new Error("Cancelling existing WebAuthn API call for new one");n.name="AbortError",this.controller.abort(n)}const t=new AbortController;return this.controller=t,t.signal}cancelCeremony(){if(this.controller){const t=new Error("Manually cancelling existing WebAuthn API call");t.name="AbortError",this.controller.abort(t),this.controller=void 0}}}const py=new iM;function uk(e){if(!e)throw new Error("Credential creation options are required");if(typeof PublicKeyCredential<"u"&&"parseCreationOptionsFromJSON"in PublicKeyCredential&&typeof PublicKeyCredential.parseCreationOptionsFromJSON=="function")return PublicKeyCredential.parseCreationOptionsFromJSON(e);const{challenge:t,user:n,excludeCredentials:r}=e,s=uo(e,["challenge","user","excludeCredentials"]),o=no(t).buffer,c=Object.assign(Object.assign({},n),{id:no(n.id).buffer}),u=Object.assign(Object.assign({}
55,s),{challenge:o,user:c});if(r&&r.length>0){u.excludeCredentials=new Array(r.length);for(let h=0;h<r.length;h++){const f=r[h];u.excludeCredentials[h]=Object.assign(Object.assign({},f),{id:no(f.id).buffer,type:f.type||"public-key",transports:f.transports})}}return u}function dk(e){if(!e)throw new Error("Credential request options are required");if(typeof PublicKeyCredential<"u"&&"parseRequestOptionsFromJSON"in PublicKeyCredential&&typeof PublicKeyCredential.parseRequestOptionsFromJSON=="function")return PublicKeyCredential.parseRequestOptionsFromJSON(e);const{challenge:t,allowCredentials:n}=e,r=uo(e,["challenge","allowCredentials"]),s=no(t).buffer,o=Object.assign(Object.assign({},r),{challenge:s});if(n&&n.length>0){o.allowCredentials=new Array(n.length);for(let c=0;c<n.length;c++){const u=n[c];o.allowCredentials[c]=Object.assign(Object.assign({},u),{id:no(u.id).buffer,type:u.type||"public-key",transports:u.transports})}}return o}function hk(e){var t;if("toJSON"in e&&typeof e.toJSON=="function")return e.toJSON();const n=e;return{id:e.id,rawId:e.id,response:{attestationObject:Ni(new Uint8Array(e.response.attestationObject)),clientDataJSON:Ni(new Uint8Array(e.response.clientDataJSON))},type:"public-key",clientExtensionResults:e.getClientExtensionResults(),authenticatorAttachment:(t=n.authenticatorAttachment)!==null&&t!==void 0?t:void 0}}function fk(e){var t;if("toJSON"in e&&typeof e.toJSON=="function")return e.toJSON();const n=e,r=e.getClientExtensionResults(),s=e.response;return{id:e.id,rawId:e.id,response:{authenticatorData:Ni(new Uint8Array(s.authenticatorData)),clientDataJSON:Ni(new Uint8Array(s.clientDataJSON)),signature:Ni(new Uint8Array(s.signature)),userHandle:s.userHandle?Ni(new Uint8Array(s.userHandle)):void 0},type:"public-key",clientExtensionResults:r,authenticatorAttachment:(t=n.authenticatorAttachment)!==null&&t!==void 0?t:void 0}}function dE(e){return e==="localhost"||/^([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,}$/i.test(e)}function qd(){var e,t;return!!(Vt()&&"PublicKeyCredential"in window&&window.PublicKeyCredential&&"credentials"in navigator&&typeof((e=navigator?.credentials)===null||e===void 0?void 0:e.create)=="function"&&typeof((t=navigator?.credentials)===null||t===void 0?void 0:t.get)=="function")}async function hE(e){try{const t=await navigator.credentials.create(e);return t?t instanceof PublicKeyCredential?{data:t,error:null}:{data:null,error:new Fd("Browser returned unexpected credential type",t)}:{data:null,error:new Fd("Empty credential response",t)}}catch(t){return{data:null,error:aM({error:t,options:e})}}}async function fE(e){try{const t=await navigator.credentials.get(e);return t?t instanceof PublicKeyCredential?{data:t,error:null}:{data:null,error:new Fd("Browser returned unexpected credential type",t)}:{data:null,error:new Fd("Empty credential response",t)}}catch(t){return{data:null,error:rM({error:t,options:e})}}}const sM={hints:["security-key"],authenticatorSelection:{authenticatorAttachment:"cross-platform",requireResidentKey:!1,userVerification:"preferred",residentKey:"discouraged"},attestation:"direct"},oM={userVerification:"preferred",hints:["security-key"],attestation:"direct"};function Gd(...e){const t=s=>s!==null&&typeof s=="object"&&!Array.isArray(s),n=s=>s instanceof ArrayBuffer||ArrayBuffer.isView(s),r={};for(const s of e)if(s)for(const o in s){const c=s[o];if(c!==void 0)if(Array.isArray(c))r[o]=c;else if(n(c))r[o]=c;else if(t(c)){const u=r[o];t(u)?r[o]=Gd(u,c):r[o]=Gd(c)}else r[o]=c}return r}function lM(e,t){return Gd(sM,e,t||{})}function cM(e,t){return Gd(oM,e,t||{})}class uM{constructor(t){this.client=t,this.enroll=this._enroll.bind(this),this.challenge=this._challenge.bind(this),this.verify=this._verify.bind(this),this.authenticate=this._authenticate.bind(this),this.register=this._register.bind(this)}async _enroll(t){return this.client.mfa.enroll(Object.assign(Object.assign({},t),{factorType:"webauthn"}))}async _challenge({factorId:t,webauthn:n,friendlyName:r,signal:s},o){var c;try{const{data:u,error:h}=await this.client.mfa.challenge({factorId:t,webauthn:n});if(!u)return{data:null,error:h};const f=s??py.createNewAbortSignal();if(u.webauthn.type==="create"){const{user:p}=u.webauthn.credential_options.publicKey;if(!p.name){const y=r;if(y)p.name=`${p.id}:${y}`;else{const v=(await this.client.getUser()).data.user,k=((c=v?.user_metadata)===null||c===void 0?void 0:c.name)||v?.email||v?.id||"User";p.name=`${p.id}:${k}`}}p.displayName||(p.displayName=p.name)}switch(u.webauthn.type){case"create":{const p=lM(u.webauthn.credential_options.publicKey,o?.create),{data:y,error:b}=await hE({publicKey:p,signal:f});return y?{data:{factorId:t,challengeId:u.id,webauthn:{type:u.webauthn.type,credential_response:y}},error:null}:{data:null,error:b}}case"request":{const p=cM(u.webauthn.credential_options.publicKey,o?.request),{data:y,error:b}=await fE(Object.assign(Object.assign({},u.webauthn.credential_options),{publicKey:p,signal:f}));return y?{data:{factorId:t,challengeId:u.id,webauthn:{type:u.webauthn.type,credential_response:y}},error:null}:{data:null,error:b}}}}catch(u){return pe(u)?{data:null,error:u}:{data:null,error:new ta("Unexpected error in challenge",u)}}}async _verify({challengeId:t,factorId:n,webauthn:r}){return this.client.mfa.verify({factorId:n,challengeId:t,webauthn:r})}async _authenticate({factorId:t,webauthn:{rpId:n=typeof window<"u"?window.location.hostname:void 0,rpOrigins:r=typeof window<"u"?[window.location.origin]:void 0,signal:s}={}},o){if(!n)return{data:null,error:new ac("rpId is required for WebAuthn authentication")};try{if(!qd())return{data:null,error:new ta("Browser does not support WebAuthn",null)};const{data:c,error:u}=await this.challenge({factorId:t,webauthn:{rpId:n,rpOrigins:r},signal:s},{request:o});if(!c)return{data:null,error:u};const{webauthn:h}=c;return this._verify({factorId:t,challengeId:c.challengeId,webauthn:{type:h.type,rpId:n,rpOrigins:r,credential_response:h.credential_response}})}catch(c){return pe(c)?{data:null,error:c}:{data:null,error:new ta("Unexpected error in authenticate",c)}}}async _register({friendlyName:t,webauthn:{rpId:n=typeof window<"u"?window.location.hostname:void 0,rpOrigins:r=typeof window<"u"?[window.location.origin]:void 0,signal:s}={}},o){if(!n)return{data:null,error:new ac("rpId is required for WebAuthn registration")};try{if(!qd())return{data:null,error:new ta("Browser does not support WebAuthn",null)};const{data:c,error:u}=await this._enroll({friendlyName:t});if(!c)return await this.client.mfa.listFactors().then(p=>{var y;return(y=p.data)===null||y===void 0?void 0:y.all.find(b=>b.factor_type==="webauthn"&&b.friendly_name===t&&b.status!=="unverified")}).then(p=>p?this.client.mfa.unenroll({factorId:p?.id}):void 0),{data:null,error:u};const{data:h,error:f}=await this._challenge({factorId:c.id,friendlyName:c.friendly_name,webauthn:{rpId:n,rpOrigins:r},signal:s},{create:o});return h?this._verify({factorId:c.id,challengeId:h.challengeId,webauthn:{rpId:n,rpOrigins:r,type:h.webauthn.type,credential_response:h.webauthn.credential_response}}):{data:null,error:f}}catch(c){return pe(c)?{data:null,error:c}:{data:null,error:new ta("Unexpected error in register",c)}}}}ZL();const dM={url:pL,storageKey:mL,autoRefreshToken:!0,persistSession:!0,detectSessionInUrl:!0,headers:yL,flowType:"implicit",debug:!1,hasCustomAuthorizationHeader:!1,throwOnError:!1,lockAcquireTimeout:5e3,skipAutoInitialize:!1,experimental:{}},Ms={};class rc{get jwks(){var t,n;return(n=(t=Ms[this.storageKey])===null||t===void 0?void 0:t.jwks)!==null&&n!==void 0?n:{keys:[]}}set jwks(t){Ms[this.storageKey]=Object.assign(Object.assign({},Ms[this.storageKey]),{jwks:t})}get jwks_cached_at(){var t,n;return(n=(t=Ms[this.storageKey])===null||t===void 0?void 0:t.cachedAt)!==null&&n!==void 0?n:Number.MIN_SAFE_INTEGER}set jwks_cached_at(t){Ms[this.storageKey]=Object.assign(Object.assign({},Ms[this.storageKey]),{cachedAt:t})}constructor(t){var n,r,s;this.userStorage=null,this.memoryStorage=null,this.stateChangeEmitters=new Map,this.autoRefreshTicker=null,this.autoRefreshTickTimeout=null,this.visibilityChangedCallback=null,this.refreshingDeferred=null,this.lastRefreshFailure=null,this._sessionRemovalEpoch=0,this.initializePromise=null,this.detectSessionInUrl=!0,this.hasCustomAuthorizationHeader=!1,this.suppressGetSessionWarning=!1,this.lock=null,this.lockAcquired=!1,this.pendingInLock=[],this.broadcastChannel=null,this.logger=console.log;const o=Object.assign(Object.assign({},dM),t);if(this.storageKey=o.storageKey,this.instanceID=(n=rc.nextInstanceID[this.storageKey])!==null&&n!==void 0?n:0,rc.nextInstanceID[this.storageKey]=this.instanceID+1,this.logDebugMessages=!!o.debug,typeof o.debug=="function"&&(this.logger=o.debug),this.instanceID>0&&Vt()){const c=`${this._logPrefix()} Multiple GoTrueClient instances detected in the same browser context. It is not an error, but this should be avoided as it may produce undefined behavior when used concurrently under the same storage key.`;console.warn(c),this.logDebugMessages&&console.trace(c)}if(this.persistSession=o.persistSession,this.autoRefreshToken=o.autoRefreshToken,this.experimental=(r=o.experimental)!==null&&r!==void 0?r:{},this.admin=new QL({url:o.url,headers:o.headers,fetch:o.fetch,experimental:this.experimental}),this.url=o.url,this.headers=o.headers,this.fetch=cE(o.fetch),this.detectSessionInUrl=o.detectSessionInUrl,this.flowType=o.flowType,this.hasCustomAuthorizationHeader=o.hasCustomAuthorizationHeader,this.throwOnError=o.throwOnError,this.lockAcquireTimeout=o.lockAcquireTimeout,o.lock!=null&&(this.lock=o.lock),this.jwks||(this.jwks={keys:[]},this.jwks_cached_at=Number.MIN_SAFE_INTEGER),this.mfa={verify:this._verify.bind(this),enroll:this._enroll.bind(this),unenroll:this._unenroll.bind(this),challenge:this._challenge.bind(this),listFactors:this._listFactors.bind(this),challengeAndVerify:this._challengeAndVerify.bind(this),getAuthenticatorAssuranceLevel:this._getAuthenticatorAssuranceLevel.bind(this),webauthn:new uM(this)}
55,this.oauth={getAuthorizationDetails:this._getAuthorizationDetails.bind(this),approveAuthorization:this._approveAuthorization.bind(this),denyAuthorization:this._denyAuthorization.bind(this),listGrants:this._listOAuthGrants.bind(this),revokeGrant:this._revokeOAuthGrant.bind(this)},this.passkey={startRegistration:this._startPasskeyRegistration.bind(this),verifyRegistration:this._verifyPasskeyRegistration.bind(this),startAuthentication:this._startPasskeyAuthentication.bind(this),verifyAuthentication:this._verifyPasskeyAuthentication.bind(this),list:this._listPasskeys.bind(this),update:this._updatePasskey.bind(this),delete:this._deletePasskey.bind(this)},this.persistSession?(o.storage?this.storage=o.storage:lE()?this.storage=globalThis.localStorage:(this.memoryStorage={},this.storage=ck(this.memoryStorage)),o.userStorage&&(this.userStorage=o.userStorage)):(this.memoryStorage={},this.storage=ck(this.memoryStorage)),Vt()&&globalThis.BroadcastChannel&&this.persistSession&&this.storageKey){try{this.broadcastChannel=new globalThis.BroadcastChannel(this.storageKey)}catch(c){console.error("Failed to create a new BroadcastChannel, multi-tab state changes will not be available",c)}(s=this.broadcastChannel)===null||s===void 0||s.addEventListener("message",async c=>{this._debug("received broadcast notification from other tab or client",c),(c.data.event==="TOKEN_REFRESHED"||c.data.event==="SIGNED_IN")&&(this.lastRefreshFailure=null);try{await this._notifyAllSubscribers(c.data.event,c.data.session,!1)}catch(u){this._debug("#broadcastChannel","error",u)}})}o.skipAutoInitialize||this.initialize().catch(c=>{this._debug("#initialize()","error",c)})}isThrowOnErrorEnabled(){return this.throwOnError}_returnResult(t){if(this.throwOnError&&t&&t.error)throw t.error;return t}_logPrefix(){return`GoTrueClient@${this.storageKey}:${this.instanceID} (${iE}) ${new Date().toISOString()}`}_debug(...t){return this.logDebugMessages&&this.logger(this._logPrefix(),...t),this}async initialize(){return this.initializePromise?await this.initializePromise:(this.initializePromise=(async()=>this.lock!=null?await this._acquireLock(this.lockAcquireTimeout,async()=>await this._initialize()):await this._initialize())(),await this.initializePromise)}async _initialize(){var t;try{let n={},r="none";if(Vt()&&(n=NL(window.location.href),this._isImplicitGrantCallback(n)?r="implicit":await this._isPKCECallback(n)&&(r="pkce")),Vt()&&this.detectSessionInUrl&&r!=="none"){const{data:s,error:o}=await this._getSessionFromURL(n,r);if(o){if(this._debug("#_initialize()","error detecting session from URL",o),SL(o)){const h=(t=o.details)===null||t===void 0?void 0:t.code;if(h==="identity_already_exists"||h==="identity_not_found"||h==="single_identity_not_deletable")return{error:o}}return{error:o}}const{session:c,redirectType:u}=s;return this._debug("#_initialize()","detected session in URL",c,"redirect type",u),await this._saveSession(c),setTimeout(async()=>{u==="recovery"?await this._notifyAllSubscribers("PASSWORD_RECOVERY",c):await this._notifyAllSubscribers("SIGNED_IN",c)},0),{error:null}}return await this._recoverAndRefresh(),{error:null}}catch(n){return pe(n)?this._returnResult({error:n}):this._returnResult({error:new ta("Unexpected error during initialization",n)})}finally{await this._handleVisibilityChange(),this._debug("#_initialize()","end")}}async signInAnonymously(t){var n,r,s;try{const o=await ve(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,body:{data:(r=(n=t?.options)===null||n===void 0?void 0:n.data)!==null&&r!==void 0?r:{},gotrue_meta_security:{captcha_token:(s=t?.options)===null||s===void 0?void 0:s.captchaToken}},xform:Hn}),{data:c,error:u}=o;if(u||!c)return this._returnResult({data:{user:null,session:null},error:u});const h=c.session,f=c.user;return c.session&&(await this._saveSession(c.session),await this._notifyAllSubscribers("SIGNED_IN",h)),this._returnResult({data:{user:f,session:h},error:null})}catch(o){if(pe(o))return this._returnResult({data:{user:null,session:null},error:o});throw o}}async signUp(t){var n,r,s;try{let o;if("email"in t){const{email:p,password:y,options:b}=t;let v=null,k=null;this.flowType==="pkce"&&([v,k]=await xi(this.storage,this.storageKey)),o=await ve(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,redirectTo:b?.emailRedirectTo,body:{email:p,password:y,data:(n=b?.data)!==null&&n!==void 0?n:{},gotrue_meta_security:{captcha_token:b?.captchaToken},code_challenge:v,code_challenge_method:k},xform:Hn})}else if("phone"in t){const{phone:p,password:y,options:b}=t;o=await ve(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,body:{phone:p,password:y,data:(r=b?.data)!==null&&r!==void 0?r:{},channel:(s=b?.channel)!==null&&s!==void 0?s:"sms",gotrue_meta_security:{captcha_token:b?.captchaToken}},xform:Hn})}else throw new Qu("You must provide either an email or phone number and a password");const{data:c,error:u}=o;if(u||!c)return await bt(this.storage,`${this.storageKey}-code-verifier`),this._returnResult({data:{user:null,session:null},error:u});const h=c.session,f=c.user;return c.session&&(await this._saveSession(c.session),await this._notifyAllSubscribers("SIGNED_IN",h)),this._returnResult({data:{user:f,session:h},error:null})}catch(o){if(await bt(this.storage,`${this.storageKey}-code-verifier`),pe(o))return this._returnResult({data:{user:null,session:null},error:o});throw o}}async signInWithPassword(t){try{let n;if("email"in t){const{email:o,password:c,options:u}=t;n=await ve(this.fetch,"POST",`${this.url}/token?grant_type=password`,{headers:this.headers,body:{email:o,password:c,gotrue_meta_security:{captcha_token:u?.captchaToken}},xform:ok})}else if("phone"in t){const{phone:o,password:c,options:u}=t;n=await ve(this.fetch,"POST",`${this.url}/token?grant_type=password`,{headers:this.headers,body:{phone:o,password:c,gotrue_meta_security:{captcha_token:u?.captchaToken}},xform:ok})}else throw new Qu("You must provide either an email or phone number and a password");const{data:r,error:s}=n;if(s)return this._returnResult({data:{user:null,session:null},error:s});if(!r||!r.session||!r.user){const o=new Ls;return this._returnResult({data:{user:null,session:null},error:o})}return r.session&&(await this._saveSession(r.session),await this._notifyAllSubscribers("SIGNED_IN",r.session)),this._returnResult({data:Object.assign({user:r.user,session:r.session},r.weak_password?{weakPassword:r.weak_password}:null),error:s})}catch(n){if(pe(n))return this._returnResult({data:{user:null,session:null},error:n});throw n}}async signInWithOAuth(t){var n,r,s,o;return await this._handleProviderSignIn(t.provider,{redirectTo:(n=t.options)===null||n===void 0?void 0:n.redirectTo,scopes:(r=t.options)===null||r===void 0?void 0:r.scopes,queryParams:(s=t.options)===null||s===void 0?void 0:s.queryParams,skipBrowserRedirect:(o=t.o
55ptions)===null||o===void 0?void 0:o.skipBrowserRedirect})}async exchangeCodeForSession(t){return await this.initializePromise,this.lock!=null?this._acquireLock(this.lockAcquireTimeout,async()=>this._exchangeCodeForSession(t)):this._exchangeCodeForSession(t)}async signInWithWeb3(t){const{chain:n}=t;switch(n){case"ethereum":return await this.signInWithEthereum(t);case"solana":return await this.signInWithSolana(t);default:throw new Error(`@supabase/auth-js: Unsupported chain "${n}"`)}}async signInWithEthereum(t){var n,r,s,o,c,u,h,f,p,y,b;let v,k;if("message"in t)v=t.message,k=t.signature;else{const{chain:w,wallet:E,statement:_,options:A}=t;let C;if(Vt())if(typeof E=="object")C=E;else{const Y=window;if("ethereum"in Y&&typeof Y.ethereum=="object"&&"request"in Y.ethereum&&typeof Y.ethereum.request=="function")C=Y.ethereum;else throw new Error("@supabase/auth-js: No compatible Ethereum wallet interface on the window object (window.ethereum) detected. Make sure the user already has a wallet installed and connected for this app. Prefer passing the wallet interface object directly to signInWithWeb3({ chain: 'ethereum', wallet: resolvedUserWallet }) instead.")}else{if(typeof E!="object"||!A?.url)throw new Error("@supabase/auth-js: Both wallet and url must be specified in non-browser environments.");C=E}const P=new URL((n=A?.url)!==null&&n!==void 0?n:window.location.href),K=await C.request({method:"eth_requestAccounts"}).then(Y=>Y).catch(()=>{throw new Error("@supabase/auth-js: Wallet method eth_requestAccounts is missing or invalid")});if(!K||K.length===0)throw new Error("@supabase/auth-js: No accounts available. Please ensure the wallet is connected.");const D=uE(K[0]);let I=(r=A?.signInWithEthereum)===null||r===void 0?void 0:r.chainId;if(!I){const Y=await C.request({method:"eth_chainId"});I=eM(Y)}const $={domain:P.host,address:D,statement:_,uri:P.href,version:"1",chainId:I,nonce:(s=A?.signInWithEthereum)===null||s===void 0?void 0:s.nonce,issuedAt:(c=(o=A?.signInWithEthereum)===null||o===void 0?void 0:o.issuedAt)!==null&&c!==void 0?c:new Date,expirationTime:(u=A?.signInWithEthereum)===null||u===void 0?void 0:u.expirationTime,notBefore:(h=A?.signInWithEthereum)===null||h===void 0?void 0:h.notBefore,requestId:(f=A?.signInWithEthereum)===null||f===void 0?void 0:f.requestId,resources:(p=A?.signInWithEthereum)===null||p===void 0?void 0:p.resources};v=nM($),k=await C.request({method:"personal_sign",params:[tM(v),D]})}try{const{data:w,error:E}=await ve(this.fetch,"POST",`${this.url}/token?grant_type=web3`,{headers:this.headers,body:Object.assign({chain:"ethereum",message:v,signature:k},!((y=t.options)===null||y===void 0)&&y.captchaToken?{gotrue_meta_security:{captcha_token:(b=t.options)===null||b===void 0?void 0:b.captchaToken}}:null),xform:Hn});if(E)throw E;if(!w||!w.session||!w.user){const _=new Ls;return this._returnResult({data:{user:null,session:null},error:_})}return w.session&&(await this._saveSession(w.session),await this._notifyAllSubscribers("SIGNED_IN",w.session)),this._returnResult({data:Object.assign({},w),error:E})}catch(w){if(pe(w))return this._returnResult({data:{user:null,session:null},error:w});throw w}}async signInWithSolana(t){var n,r,s,o,c,u,h,f,p,y,b,v;let k,w;if("message"in t)k=t.message,w=t.signature;else{const{chain:E,wallet:_,statement:A,options:C}=t;let P;if(Vt())if(typeof _=="object")P=_;else{const D=window;if("solana"in D&&typeof D.solana=="object"&&("signIn"in D.solana&&typeof D.solana.signIn=="function"||"signMessage"in D.solana&&typeof D.solana.signMessage=="function"))P=D.solana;else throw new Error("@supabase/auth-js: No compatible Solana wallet interface on the window object (window.solana) detected. Make sure the user already has a wallet installed and connected for this app. Prefer passing the wallet interface object directly to signInWithWeb3({ chain: 'solana', wallet: resolvedUserWallet }) instead.")}else{if(typeof _!="object"||!C?.url)throw new Error("@supabase/auth-js: Both wallet and url must be specified in non-browser environments.");P=_}const K=new URL((n=C?.url)!==null&&n!==void 0?n:window.location.href);if("signIn"in P&&P.signIn){const D=await P.signIn(Object.assign(Object.assign(Object.assign({issuedAt:new Date().toISOString()},C?.signInWithSolana),{version:"1",domain:K.host,uri:K.href}),A?{statement:A}:null));let I;if(Array.isArray(D)&&D[0]&&typeof D[0]=="object")I=D[0];else if(D&&typeof D=="object"&&"signedMessage"in D&&"signature"in D)I=D;else throw new Error("@supabase/auth-js: Wallet method signIn() returned unrecognized value");if("signedMessage"in I&&"signature"in I&&(typeof I.signedMessage=="string"||I.signedMessage instanceof Uint8Array)&&I.signature instanceof Uint8Array)k=typeof I.signedMessage=="string"?I.signedMessage:new TextDecoder().decode(I.signedMessage),w=I.signature;else throw new Error("@supabase/auth-js: Wallet method signIn() API returned object without signedMessage and signature fields")}else{if(!("signMessage"in P)||typeof P.signMessage!="function"||!("publicKey"in P)||typeof P!="object"||!P.publicKey||!("toBase58"in P.publicKey)||typeof P.publicKey.toBase58!="function")throw new Error("@supabase/auth-js: Wallet does not have a compatible signMessage() and publicKey.toBase58() API");k=[`${K.host} wants you to sign in with your Solana account:`,P.publicKey.toBase58(),...A?["",A,""]:[""],"Version: 1",`URI: ${K.href}`,`Issued At: ${(s=(r=C?.signInWithSolana)===null||r===void 0?void 0:r.issuedAt)!==null&&s!==void 0?s:new Date().toISOString()}`,...!((o=C?.signInWithSolana)===null||o===void 0)&&o.notBefore?[`Not Before: ${C.signInWithSolana.notBefore}`]:[],...!((c=C?.signInWithSolana)===null||c===void 0)&&c.expirationTime?[`Expiration Time: ${C.signInWithSolana.expirationTime}`]:[],...!((u=C?.signInWithSolana)===null||u===void 0)&&u.chainId?[`Chain ID: ${C.signInWithSolana.chainId}`]:[],...!((h=C?.signInWithSolana)===null||h===void 0)&&h.nonce?[`Nonce: ${C.signInWithSolana.nonce}`]:[],...!((f=C?.signInWithSolana)===null||f===void 0)&&f.requestId?[`Request ID: ${C.signInWithSolana.requestId}`]:[],...!((y=(p=C?.signInWithSolana)===null||p===void 0?void 0:p.resources)===null||y===void 0)&&y.length?["Resources",...C.signInWithSolana.resources.map(I=>`- ${I}`)]:[]].join(`
56`);const D=await P.signMessage(new TextEncoder().encode(k),"utf8");if(!D||!(D instanceof Uint8Array))throw new Error("@supabase/auth-js: Wallet signMessage() API returned an recognized value");w=D}}try{const{data:E,error:_}=await ve(this.fetch,"POST",`${this.url}/token?grant_type=web3`,{headers:this.headers,body:Object.assign({chain:"solana",message:k,signature:Ni(w)},!((b=t.options)===null||b===void 0)&&b.captchaToken?{gotrue_meta_security:{captcha_token:(v=t.options)===null||v===void 0?void 0:v.captchaToken}}:null),xform:Hn});if(_)throw _;if(!E||!E.session||!E.user){const A=new Ls;return this._returnResult({data:{user:null,session:null},error:A})}return E.session&&(await this._saveSession(E.session),await this._notifyAllSubscribers("SIGNED_IN",E.session)),this._returnResult({data:Object.assign({},E),error:_})}
56catch(E){if(pe(E))return this._returnResult({data:{user:null,session:null},error:E});throw E}}async _exchangeCodeForSession(t){const n=await Wn(this.storage,`${this.storageKey}-code-verifier`),[r,s]=(n??"").split("/");try{if(!r&&this.flowType==="pkce")throw new kL;const{data:o,error:c}=await ve(this.fetch,"POST",`${this.url}/token?grant_type=pkce`,{headers:this.headers,body:{auth_code:t,code_verifier:r},xform:Hn});if(await bt(this.storage,`${this.storageKey}-code-verifier`),c)throw c;if(!o||!o.session||!o.user){const u=new Ls;return this._returnResult({data:{user:null,session:null,redirectType:null},error:u})}return o.session&&(await this._saveSession(o.session),await this._notifyAllSubscribers(s==="recovery"?"PASSWORD_RECOVERY":"SIGNED_IN",o.session)),this._returnResult({data:Object.assign(Object.assign({},o),{redirectType:s??null}),error:c})}catch(o){if(await bt(this.storage,`${this.storageKey}-code-verifier`),pe(o))return this._returnResult({data:{user:null,session:null,redirectType:null},error:o});throw o}}async signInWithIdToken(t){try{const{options:n,provider:r,token:s,access_token:o,nonce:c}=t,u=await ve(this.fetch,"POST",`${this.url}/token?grant_type=id_token`,{headers:this.headers,body:{provider:r,id_token:s,access_token:o,nonce:c,gotrue_meta_security:{captcha_token:n?.captchaToken}},xform:Hn}),{data:h,error:f}=u;if(f)return this._returnResult({data:{user:null,session:null},error:f});if(!h||!h.session||!h.user){const p=new Ls;return this._returnResult({data:{user:null,session:null},error:p})}return h.session&&(await this._saveSession(h.session),await this._notifyAllSubscribers("SIGNED_IN",h.session)),this._returnResult({data:h,error:f})}catch(n){if(pe(n))return this._returnResult({data:{user:null,session:null},error:n});throw n}}async signInWithOtp(t){var n,r,s,o,c;try{if("email"in t){const{email:u,options:h}=t;let f=null,p=null;this.flowType==="pkce"&&([f,p]=await xi(this.storage,this.storageKey));const{error:y}=await ve(this.fetch,"POST",`${this.url}/otp`,{headers:this.headers,body:{email:u,data:(n=h?.data)!==null&&n!==void 0?n:{},create_user:(r=h?.shouldCreateUser)!==null&&r!==void 0?r:!0,gotrue_meta_security:{captcha_token:h?.captchaToken},code_challenge:f,code_challenge_method:p},redirectTo:h?.emailRedirectTo});return this._returnResult({data:{user:null,session:null},error:y})}if("phone"in t){const{phone:u,options:h}=t,{data:f,error:p}=await ve(this.fetch,"POST",`${this.url}/otp`,{headers:this.headers,body:{phone:u,data:(s=h?.data)!==null&&s!==void 0?s:{},create_user:(o=h?.shouldCreateUser)!==null&&o!==void 0?o:!0,gotrue_meta_security:{captcha_token:h?.captchaToken},channel:(c=h?.channel)!==null&&c!==void 0?c:"sms"}});return this._returnResult({data:{user:null,session:null,messageId:f?.message_id},error:p})}throw new Qu("You must provide either an email or phone number.")}catch(u){if(await bt(this.storage,`${this.storageKey}-code-verifier`),pe(u))return this._returnResult({data:{user:null,session:null},error:u});throw u}}async verifyOtp(t){var n,r;try{let s,o;"options"in t&&(s=(n=t.options)===null||n===void 0?void 0:n.redirectTo,o=(r=t.options)===null||r===void 0?void 0:r.captchaToken);const{data:c,error:u}=await ve(this.fetch,"POST",`${this.url}/verify`,{headers:this.headers,body:Object.assign(Object.assign({},t),{gotrue_meta_security:{captcha_token:o}}),redirectTo:s,xform:Hn});if(u)throw u;if(!c)throw new Error("An error occurred on token verification.");const h=c.session,f=c.user;return h?.access_token&&(await this._saveSession(h),await this._notifyAllSubscribers(t.type=="recovery"?"PASSWORD_RECOVERY":"SIGNED_IN",h)),this._returnResult({data:{user:f,session:h},error:null})}catch(s){if(pe(s))return this._returnResult({data:{user:null,session:null},error:s});throw s}}async signInWithSSO(t){var n,r,s,o,c;try{let u=null,h=null;this.flowType==="pkce"&&([u,h]=await xi(this.storage,this.storageKey));const f=await ve(this.fetch,"POST",`${this.url}/sso`,{body:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},"providerId"in t?{provider_id:t.providerId}:null),"domain"in t?{domain:t.domain}:null),{redirect_to:(r=(n=t.options)===null||n===void 0?void 0:n.redirectTo)!==null&&r!==void 0?r:void 0}),!((s=t?.options)===null||s===void 0)&&s.captchaToken?{gotrue_meta_security:{captcha_token:t.options.captchaToken}}:null),{skip_http_redirect:!0,code_challenge:u,code_challenge_method:h}),headers:this.headers,xform:WL});return!((o=f.data)===null||o===void 0)&&o.url&&Vt()&&!(!((c=t.options)===null||c===void 0)&&c.skipBrowserRedirect)&&window.location.assign(f.data.url),this._returnResult(f)}catch(u){if(await bt(this.storage,`${this.storageKey}-code-verifier`),pe(u))return this._returnResult({data:null,error:u});throw u}}async reauthenticate(){return await this.initializePromise,this.lock!=null?await this._acquireLock(this.lockAcquireTimeout,async()=>await this._reauthenticate()):await this._reauthenticate()}async _reauthenticate(){try{return await this._useSession(async t=>{const{data:{session:n},error:r}=t;if(r)throw r;if(!n)throw new jt;const{error:s}=await ve(this.fetch,"GET",`${this.url}/reauthenticate`,{headers:this.headers,jwt:n.access_token});return this._returnResult({data:{user:null,session:null},error:s})})}catch(t){if(pe(t))return this._returnResult({data:{user:null,session:null},error:t});throw t}}async resend(t){try{const n=`${this.url}/resend`;if("email"in t){const{email:r,type:s,options:o}=t;let c=null,u=null;this.flowType==="pkce"&&([c,u]=await xi(this.storage,this.storageKey));const{error:h}=await ve(this.fetch,"POST",n,{headers:this.headers,body:{email:r,type:s,gotrue_meta_security:{captcha_token:o?.captchaToken},code_challenge:c,code_challenge_method:u},redirectTo:o?.emailRedirectTo});return h&&await bt(this.storage,`${this.storageKey}-code-verifier`),this._returnResult({data:{user:null,session:null},error:h})}else if("phone"in t){const{phone:r,type:s,options:o}=t,{data:c,error:u}=await ve(this.fetch,"POST",n,{headers:this.headers,body:{phone:r,type:s,gotrue_meta_security:{captcha_token:o?.captchaToken}}});return this._returnResult({data:{user:null,session:null,messageId:c?.message_id},error:u})}throw new Qu("You must provide either an email or phone number and a type")}catch(n){if(await bt(this.storage,`${this.storageKey}-code-verifier`),pe(n))return this._returnResult({data:{user:null,session:null},error:n});throw n}}async getSession(){return await this.initializePromise,this.lock!=null?await this._acquireLock(this.lockAcquireTimeout,async()=>this._useSession(async t=>t)):await this._useSession(async t=>t)}async _acquireLock(t,n){this._debug("#_acquireLock","begin",t);try{if(this.lockAcquired){const r=this.pendingInLock.length?this.pendingInLock[this.pendingInLock.length-1]:Promise.resolve(),s=(async()=>(await r,await n()))();return this.pendingInLock.push((async()=>{try{await s}catch{}})()),s}return await this.lock(`lock:${this.storageKey}`,t,async()=>{this._debug("#_acquireLock","lock acquired for storage key",this.storageKey);try{this.lockAcquired=!0;const r=n();for(this.pendingInLock.push((async()=>{try{await r}catch{}})()),await r;this.pendingInLock.length;){const s=[...this.pendingInLock];await Promise.all(s),this.pendingInLock.splice(0,s.length)}return await r}finally{this._debug("#_acquireLock","lock released for storage key",this.storageKey),this.lockAcquired=!1}})}finally{this._debug("#_acquireLock","end")}}async _useSession(t){this._debug("#_useSession","begin");try{const n=await this.__loadSession();return await t(n)}finally{this._debug("#_useSession","end")}}async __loadSession(){this._debug("#__loadSession()","begin"),this.lock!=null&&!this.lockAcquired&&this._debug("#__loadSession()","used outside of an acquired lock!",new Error().stack);try{let t=null;const n=await Wn(this.storage,this.storageKey);if(this._debug("#getSession()","session from storage",n),n!==null&&(this._isValidSession(n)?t=n:(this._debug("#getSession()","session from storage is not val
56id"),await this._removeSession())),!t)return{data:{session:null},error:null};const r=t.expires_at?t.expires_at*1e3-Date.now()<cm:!1;if(this._debug("#__loadSession()",`session has${r?"":" not"} expired`,"expires_at",t.expires_at),!r){if(this.userStorage){const c=await Wn(this.userStorage,this.storageKey+"-user");c?.user?t.user=c.user:t.user=um()}if(this.storage.isServer&&t.user&&!t.user.__isUserNotAvailableProxy){const c={value:this.suppressGetSessionWarning};t.user=VL(t.user,c),c.value&&(this.suppressGetSessionWarning=!0)}return{data:{session:t},error:null}}const{data:s,error:o}=await this._callRefreshToken(t.refresh_token);if(o){if(!!(t.expires_at&&t.expires_at*1e3>Date.now())){const u=await Wn(this.storage,this.storageKey);if(u&&u.refresh_token===t.refresh_token)return this._returnResult({data:{session:t},error:null})}return this._returnResult({data:{session:null},error:o})}return this._returnResult({data:{session:s},error:null})}finally{this._debug("#__loadSession()","end")}}async getUser(t){if(t)return await this._getUser(t);await this.initializePromise;let n;return this.lock!=null?n=await this._acquireLock(this.lockAcquireTimeout,async()=>await this._getUser()):n=await this._getUser(),n.data.user&&(this.suppressGetSessionWarning=!0),n}async _getUser(t){try{return t?await ve(this.fetch,"GET",`${this.url}/user`,{headers:this.headers,jwt:t,xform:Kr}):await this._useSession(async n=>{var r,s,o;const{data:c,error:u}=n;if(u)throw u;return!(!((r=c.session)===null||r===void 0)&&r.access_token)&&!this.hasCustomAuthorizationHeader?{data:{user:null},error:new jt}:await ve(this.fetch,"GET",`${this.url}/user`,{headers:this.headers,jwt:(o=(s=c.session)===null||s===void 0?void 0:s.access_token)!==null&&o!==void 0?o:void 0,xform:Kr})})}catch(n){if(pe(n))return Ju(n)&&(await this._removeSession(),await bt(this.storage,`${this.storageKey}-code-verifier`)),this._returnResult({data:{user:null},error:n});throw n}}async updateUser(t,n={}){return await this.initializePromise,this.lock!=null?await this._acquireLock(this.lockAcquireTimeout,async()=>await this._updateUser(t,n)):await this._updateUser(t,n)}async _updateUser(t,n={}){try{return await this._useSession(async r=>{const{data:s,error:o}=r;if(o)throw o;if(!s.session)throw new jt;const c=s.session;let u=null,h=null;this.flowType==="pkce"&&t.email!=null&&([u,h]=await xi(this.storage,this.storageKey));const{data:f,error:p}=await ve(this.fetch,"PUT",`${this.url}/user`,{headers:this.headers,redirectTo:n?.emailRedirectTo,body:Object.assign(Object.assign({},t),{code_challenge:u,code_challenge_method:h}),jwt:c.access_token,xform:Kr});if(p)throw p;return c.user=f.user,await this._saveSession(c),await this._notifyAllSubscribers("USER_UPDATED",c),this._returnResult({data:{user:c.user},error:null})})}catch(r){if(await bt(this.storage,`${this.storageKey}-code-verifier`),pe(r))return this._returnResult({data:{user:null},error:r});throw r}}async setSession(t){return await this.initializePromise,this.lock!=null?await this._acquireLock(this.lockAcquireTimeout,async()=>await this._setSession(t)):await this._setSession(t)}async _setSession(t){try{if(!t.access_token||!t.refresh_token)throw new jt;const n=Date.now()/1e3;let r=n,s=!0,o=null;const{payload:c}=Zu(t.access_token);if(c.exp&&(r=c.exp,s=r<=n),s){const{data:u,error:h}=await this._callRefreshToken(t.refresh_token);if(h)return this._returnResult({data:{user:null,session:null},error:h});if(!u)return{data:{user:null,session:null},error:null};o=u}else{const{data:u,error:h}=await this._getUser(t.access_token);if(h)return this._returnResult({data:{user:null,session:null},error:h});o={access_token:t.access_token,refresh_token:t.refresh_token,user:u.user,token_type:"bearer",expires_in:r-n,expires_at:r},await this._saveSession(o),await this._notifyAllSubscribers("SIGNED_IN",o)}return this._returnResult({data:{user:o.user,session:o},error:null})}catch(n){if(pe(n))return this._returnResult({data:{session:null,user:null},error:n});throw n}}async refreshSession(t){return await this.initializePromise,this.lock!=null?await this._acquireLock(this.lockAcquireTimeout,async()=>await this._refreshSession(t)):await this._refreshSession(t)}async _refreshSession(t){try{return await this._useSession(async n=>{var r;if(!t){const{data:c,error:u}=n;if(u)throw u;t=(r=c.session)!==null&&r!==void 0?r:void 0}if(!t?.refresh_token)throw new jt;const{data:s,error:o}=await this._callRefreshToken(t.refresh_token);return o?this._returnResult({data:{user:null,session:null},error:o}):s?this._returnResult({data:{user:s.user,session:s},error:null}):this._returnResult({data:{user:null,session:null},error:null})})}catch(n){if(pe(n))return this._returnResult({data:{user:null,session:null},error:n});throw n}}async _getSessionFromURL(t,n){var r;try{if(!Vt())throw new Xu("No browser detected.");
56if(t.error||t.error_description||t.error_code)throw new Xu(t.error_description||"Error in URL with unspecified error_description",{error:t.error||"unspecified_error",code:t.error_code||"unspecified_code"});switch(n){case"implicit":if(this.flowType==="pkce")throw new XS("Not a valid PKCE flow url.");break;case"pkce":if(this.flowType==="implicit")throw new Xu("Not a valid implicit grant flow url.");break;default:}if(n==="pkce"){if(this._debug("#_initialize()","begin","is PKCE flow",!0),!t.code)throw new XS("No code detected.");const{data:C,error:P}=await this._exchangeCodeForSession(t.code);if(P)throw P;const K=new URL(window.location.href);return K.searchParams.delete("code"),window.history.replaceState(window.history.state,"",K.toString()),{data:{session:C.session,redirectType:(r=C.redirectType)!==null&&r!==void 0?r:null},error:null}}const{provider_token:s,provider_refresh_token:o,access_token:c,refresh_token:u,expires_in:h,expires_at:f,token_type:p}=t;if(!c||!h||!u||!p)throw new Xu("No session defined in URL");const y=Math.round(Date.now()/1e3),b=parseInt(h);let v=y+b;f&&(v=parseInt(f));const k=v-y;k*1e3<=er&&console.warn(`@supabase/gotrue-js: Session as retrieved from URL expires in ${k}s, should have been closer to ${b}s`);const w=v-b;y-w>=120?console.warn("@supabase/gotrue-js: Session as retrieved from URL was issued over 120s ago, URL could be stale",w,v,y):y-w<0&&console.warn("@supabase/gotrue-js: Session as retrieved from URL was issued in the future? Check the device clock for skew",w,v,y);const{data:E,error:_}=await this._getUser(c);if(_)throw _;const A={provider_token:s,provider_refresh_token:o,access_token:c,expires_in:b,expires_at:v,refresh_token:u,token_type:p,user:E.user};return window.location.hash="",this._debug("#_getSessionFromURL()","clearing window.location.hash"),this._returnResult({data:{session:A,redirectType:t.type},error:null})}catch(s){if(pe(s))return this._returnResult({data:{session:null,redirectType:null},error:s});throw s}}_isImplicitGrantCallback(t){return typeof this.detectSessionInUrl=="function"?this.detectSessionInUrl(new URL(window.location.href),t):!!(t.access_token||t.error||t.error_description||t.error_code)}async _isPKCECallback(t){const n=await Wn(this.storage,`${this.storageKey}-code-verifier`);return!!(t.code&&n)}async signOut(t={scope:"global"}){return await this.initializePromise,this.lock!=null?await this._acquireLock(this.lockAcquireTimeout,async()=>await this._signOut(t)):await this._signOut(t)}async _signOut({scope:t}={scope:"global"}){return await this._useSession(async n=>{var r;const{data:s,error:o}=n;if(o&&!Ju(o))return this._returnResult({error:o});const c=(r=s.session)===null||r===void 0?void 0:r.access_token;if(c){const{error:u}=await this.admin.signOut(c,t);if(u&&!(wL(u)&&(u.status===404||u.status===401||u.status===403)||Ju(u)))return this._returnResult({error:u})}return t!=="others"&&(await this._removeSession(),await bt(this.storage,`${this.storageKey}-code-verifier`)),this._returnResult({error:null})})}onAuthStateChange(t){const n=OL(),r={id:n,callback:t,unsubscribe:()=>{this._debug("#unsubscribe()","state change callback with id removed",n),this.stateChangeEmitters.delete(n)}};return this._debug("#onAuthStateChange()","registered callback with id",n),this.stateChangeEmitters.set(n,r),(async()=>(await this.initializePromise,this.lock!=null?await this._acquireLock(this.lockAcquireTimeout,async()=>{this._emitInitialSession(n)}):await this._emitInitialSession(n)))(),{data:{subscription:r}}}async _emitInitialSession(t){return await this._useSession(async n=>{var r,s;try{const{data:{session:o},error:c}=n;if(c)throw c;await((r=this.stateChangeEmitters.get(t))===null||r===void 0?void 0:r.callback("INITIAL_SESSION",o)),this._debug("INITIAL_SESSION","callback id",t,"session",o)}catch(o){await((s=this.stateChangeEmitters.get(t))===null||s===void 0?void 0:s.callback("INITIAL_SESSION",null)),this._debug("INITIAL_SESSION","callback id",t,"error",o),Ju(o)?console.warn(o):console.error(o)}})}async resetPasswordForEmail(t,n={}){let r=null,s=null;this.flowType==="pkce"&&([r,s]=await xi(this.storage,this.storageKey,!0));try{return await ve(this.fetch,"POST",`${this.url}/recover`,{body:{email:t,code_challenge:r,code_challenge_method:s,gotrue_meta_security:{captcha_token:n.captchaToken}},headers:this.headers,redirectTo:n.redirectTo})}catch(o){if(await bt(this.storage,`${this.storageKey}-code-verifier`),pe(o))return this._returnResult({data:null,error:o});throw o}}async getUserIdentities(){var t;try{const{data:n,error:r}=await this.getUser();if(r)throw r;return this._returnResult({data:{identities:(t=n.user.identities)!==null&&t!==void 0?t:[]},error:null})}catch(n){if(pe(n))return this._returnResult({data:null,error:n});throw n}}async linkIdentity(t){return"token"in t?this.linkIdentityIdToken(t):this.linkIdentityOAuth(t)}async linkIdentityOAuth(t){var n;try{const{data:r,error:s}=await this._useSession(async o=>{var c,u,h,f,p;const{data:y,error:b}=o;if(b)throw b;const v=await this._getUrlForProvider(`${this.url}/user/identities/authorize`,t.provider,{redirectTo:(c=t.options)===null||c===void 0?void 0:c.redirectTo,scopes:(u=t.options)===null||u===void 0?void 0:u.scopes,queryParams:(h=t.options)===null||h===void 0?void 0:h.queryParams,skipBrowserRedirect:!0});return await ve(this.fetch,"GET",v,{headers:this.headers,jwt:(p=(f=y.session)===null||f===void 0?void 0:f.access_token)!==null&&p!==void 0?p:void 0})});if(s)throw s;return Vt()&&!(!((n=t.options)===null||n===void 0)&&n.skipBrowserRedirect)&&window.location.assign(r?.url),this._returnResult({data:{provider:t.provider,url:r?.url},error:null})}catch(r){if(pe(r))return this._returnResult({data:{provider:t.provider,url:null},error:r});throw r}}async linkIdentityIdToken(t){return await this._useSession(async n=>{var r;try{const{error:s,data:{session:o}}=n;if(s)throw s;const{options:c,provider:u,token:h,access_token:f,nonce:p}=t,y=await ve(this.fetch,"POST",`${this.url}/token?grant_type=id_token`,{headers:this.headers,jwt:(r=o?.access_token)!==null&&r!==void 0?r:void 0,body:{provider:u,id_token:h,access_token:f,nonce:p,link_identity:!0,gotrue_meta_security:{captcha_token:c?.captchaToken}},xform:Hn}),{data:b,error:v}=y;return v?this._returnResult({data:{user:null,session:null},error:v}
56):!b||!b.session||!b.user?this._returnResult({data:{user:null,session:null},error:new Ls}):(b.session&&(await this._saveSession(b.session),await this._notifyAllSubscribers("USER_UPDATED",b.session)),this._returnResult({data:b,error:v}))}catch(s){if(await bt(this.storage,`${this.storageKey}-code-verifier`),pe(s))return this._returnResult({data:{user:null,session:null},error:s});throw s}})}async unlinkIdentity(t){try{return await this._useSession(async n=>{var r,s;const{data:o,error:c}=n;if(c)throw c;return await ve(this.fetch,"DELETE",`${this.url}/user/identities/${t.identity_id}`,{headers:this.headers,jwt:(s=(r=o.session)===null||r===void 0?void 0:r.access_token)!==null&&s!==void 0?s:void 0})})}catch(n){if(pe(n))return this._returnResult({data:null,error:n});throw n}}async _refreshAccessToken(t){const n="#_refreshAccessToken()";this._debug(n,"begin");try{const r=Date.now();return await PL(async s=>(s>0&&await IL(200*Math.pow(2,s-1)),this._debug(n,"refreshing attempt",s),await ve(this.fetch,"POST",`${this.url}/token?grant_type=refresh_token`,{body:{refresh_token:t},headers:this.headers,xform:Hn})),(s,o)=>{const c=200*Math.pow(2,s);return o&&ZS(o)&&Date.now()+c-r<er})}catch(r){if(this._debug(n,"error",r),pe(r))return this._returnResult({data:{session:null,user:null},error:r});throw r}finally{this._debug(n,"end")}}_isValidSession(t){return typeof t=="object"&&t!==null&&"access_token"in t&&"refresh_token"in t&&"expires_at"in t}async _handleProviderSignIn(t,n){const r=await this._getUrlForProvider(`${this.url}/authorize`,t,{redirectTo:n.redirectTo,scopes:n.scopes,queryParams:n.queryParams});return this._debug("#_handleProviderSignIn()","provider",t,"options",n,"url",r),Vt()&&!n.skipBrowserRedirect&&window.location.assign(r),{data:{provider:t,url:r},error:null}}async _recoverAndRefresh(){var t,n;const r="#_recoverAndRefresh()";this._debug(r,"begin");try{const s=await Wn(this.storage,this.storageKey);if(s&&this.userStorage){let c=await Wn(this.userStorage,this.storageKey+"-user");!this.storage.isServer&&Object.is(this.storage,this.userStorage)&&!c&&(c={user:s.user},await Fs(this.userStorage,this.storageKey+"-user",c)),s.user=(t=c?.user)!==null&&t!==void 0?t:um()}else if(s&&!s.user&&!s.user){const c=await Wn(this.storage,this.storageKey+"-user");c&&c?.user?(s.user=c.user,await bt(this.storage,this.storageKey+"-user"),await Fs(this.storage,this.storageKey,s)):s.user=um()}if(this._debug(r,"session from storage",s),!this._isValidSession(s)){this._debug(r,"session is not valid"),s!==null&&await this._removeSession();return}const o=((n=s.expires_at)!==null&&n!==void 0?n:1/0)*1e3-Date.now()<cm;if(this._debug(r,`session has${o?"":" not"} expired with margin of ${cm}s`),o){if(this.autoRefreshToken&&s.refresh_token){const{error:c}=await this._callRefreshToken(s.refresh_token);c&&(_L(c)?this._debug(r,"refresh discarded by commit guard",c):this._debug(r,"refresh failed",c))}}else if(s.user&&s.user.__isUserNotAvailableProxy===!0)try{const{data:c,error:u}=await this._getUser(s.access_token);!u&&c?.user?(s.user=c.user,await this._saveSession(s),await this._notifyAllSubscribers("SIGNED_IN",s)):this._debug(r,"could not get user data, skipping SIGNED_IN notification")}catch(c){console.error("Error getting user data:",c),this._debug(r,"error getting user data, skipping SIGNED_IN notification",c)}else await this._notifyAllSubscribers("SIGNED_IN",s)}catch(s){this._debug(r,"error",s),console.error(s);return}finally{this._debug(r,"end")}}async _callRefreshToken(t){var n,r;if(!t)throw new jt;if(this.refreshingDeferred)return this.refreshingDeferred.promise;if(this.lastRefreshFailure&&this.lastRefreshFailure.refreshToken===t&&Date.now()<this.lastRefreshFailure.expiresAt)return this._debug("#_callRefreshToken()","returning cached failure (cooldown active)"),this.lastRefreshFailure.result;const s="#_callRefreshToken()";this._debug(s,"begin");try{this.refreshingDeferred=new ph;const o=await Wn(this.storage,this.storageKey),{data:c,error:u}=await this._refreshAccessToken(t);if(u)throw u;if(!c.session)throw new jt;const h=await Wn(this.storage,this.storageKey);if(o!==null&&(h===null||h.refresh_token!==o.refresh_token)){this._debug(s,"commit guard: storage changed since refresh started, discarding rotated tokens",{startedWith:"present",nowHolds:h?"replaced":"cleared"});const b={data:null,error:new ek};return this.refreshingDeferred.resolve(b),b}const p=this._sessionRemovalEpoch;if(await this._saveSession(c.session),this._sessionRemovalEpoch!==p){this._debug(s,"commit guard (post-save): _removeSession ran during _saveSession, und
56oing write"),await bt(this.storage,this.storageKey),this.userStorage&&await bt(this.userStorage,this.storageKey+"-user");const b={data:null,error:new ek};return this.refreshingDeferred.resolve(b),b}await this._notifyAllSubscribers("TOKEN_REFRESHED",c.session);const y={data:c.session,error:null};return this.lastRefreshFailure=null,this.refreshingDeferred.resolve(y),y}catch(o){if(this._debug(s,"error",o),pe(o)){const c={data:null,error:o};if(!ZS(o)){const u=await Wn(this.storage,this.storageKey);!!(u?.expires_at&&u.expires_at*1e3>Date.now())?this._debug(s,"proactive refresh failed, access token still valid — preserving session"):await this._removeSession()}return this.lastRefreshFailure={refreshToken:t,result:c,expiresAt:Date.now()+fL},(n=this.refreshingDeferred)===null||n===void 0||n.resolve(c),c}throw(r=this.refreshingDeferred)===null||r===void 0||r.reject(o),o}finally{this.refreshingDeferred=null,this._debug(s,"end")}}async _notifyAllSubscribers(t,n,r=!0){const s=`#_notifyAllSubscribers(${t})`;this._debug(s,"begin",n,`broadcast = ${r}`);try{this.broadcastChannel&&r&&this.broadcastChannel.postMessage({event:t,session:n});const o=[],c=Array.from(this.stateChangeEmitters.values()).map(async u=>{try{await u.callback(t,n)}catch(h){o.push(h)}});if(await Promise.all(c),o.length>0){for(let u=0;u<o.length;u+=1)console.error(o[u]);throw o[0]}}finally{this._debug(s,"end")}}async _saveSession(t){this._debug("#_saveSession()",t),this.suppressGetSessionWarning=!0,await bt(this.storage,`${this.storageKey}-code-verifier`);const n=Object.assign({},t),r=n.user&&n.user.__isUserNotAvailableProxy===!0;if(this.userStorage){!r&&n.user&&await Fs(this.userStorage,this.storageKey+"-user",{user:n.user});const s=Object.assign({},n);delete s.user;const o=ik(s);await Fs(this.storage,this.storageKey,o)}else{const s=ik(n);await Fs(this.storage,this.storageKey,s)}}async _removeSession(){this._sessionRemovalEpoch+=1,this._debug("#_removeSession()"),this.lastRefreshFailure=null,this.suppressGetSessionWarning=!1,await bt(this.storage,this.storageKey),await bt(this.storage,this.storageKey+"-code-verifier"),await bt(this.storage,this.storageKey+"-user"),this.userStorage&&await bt(this.userStorage,this.storageKey+"-user"),await this._notifyAllSubscribers("SIGNED_OUT",null)}_removeVisibilityChangedCallback(){this._debug("#_removeVisibilityChangedCallback()");const t=this.visibilityChangedCallback;this.visibilityChangedCallback=null;try{t&&Vt()&&window?.removeEventListener&&window.removeEventListener("visibilitychange",t)}catch(n){console.error("removing visibilitychange callback failed",n)}}async _startAutoRefresh(){await this._stopAutoRefresh(),this._debug("#_startAutoRefresh()");const t=setInterval(()=>this._autoRefreshTokenTick(),er);this.autoRefreshTicker=t,t&&typeof t=="object"&&typeof t.unref=="function"?t.unref():typeof Deno<"u"&&typeof Deno.unrefTimer=="function"&&Deno.unrefTimer(t);const n=setTimeout(async()=>{await this.initializePromise,await this._autoRefreshTokenTick()},0);this.autoRefreshTickTimeout=n,n&&typeof n=="object"&&typeof n.unref=="function"?n.unref():typeof Deno<"u"&&typeof Deno.unrefTimer=="function"&&Deno.unrefTimer(n)}async _stopAutoRefresh(){this._debug("#_stopAutoRefresh()");const t=this.autoRefreshTicker;this.autoRefreshTicker=null,t&&clearInterval(t);const n=this.autoRefreshTickTimeout;this.autoRefreshTickTimeout=null,n&&clearTimeout(n)}async startAutoRefresh(){this._removeVisibilityChangedCallback(),await this._startAutoRefresh()}async stopAutoRefresh(){this._removeVisibilityChangedCallback(),await this._stopAutoRefresh()}async dispose(){var t;this._removeVisibilityChangedCallback(),await this._stopAutoRefresh(),(t=this.broadcastChannel)===null||t===void 0||t.close(),this.broadcastChannel=null,this.stateChangeEmitters.clear()}async _autoRefreshTokenTick(){if(this._debug("#_autoRefreshTokenTick()","begin"),this.lock!=null){try{await this._acquireLock(0,async()=>{try{const t=Date.now();try{return await this._useSession(async n=>{const{data:{session:r}}=n;if(!r||!r.refresh_token||!r.expires_at){this._debug("#_autoRefreshTokenTick()","no session");return}const s=Math.floor((r.expires_at*1e3-t)/er);this._debug("#_autoRefreshTokenTick()",`access token expires in ${s} ticks, a tick lasts ${er}ms, refresh threshold is ${Pl} ticks`),s<=Pl&&await this._callRefreshToken(r.refresh_token)})}catch(n){console.error("Auto refresh tick failed with error. This is likely a transient error.",n)}}finally{this._debug("#_autoRefreshTokenTick()","end")}})}catch(t){if(t instanceof XL)this._debug("auto refresh token tick lock not available");else throw t}return}if(this.refreshingDeferred!==null){this._debug("#_autoRefreshTokenTick()","refresh already in flight, skipping");return}try{const t=Date.now();try{await this._useSession(async n=>{const{data:{session:r}}=n;if(!r||!r.refresh_token||!r.expires_at){this._debug("#_autoRefreshTokenTick()","no session");return}const s=Math.floor((r.expires_at*1e3-t)/er);this._debug("#_autoRefreshTokenTick()",`access token expires in ${s} ticks, a tick lasts ${er}ms, refresh threshold is ${Pl} ticks`),s<=Pl&&await this._callRefreshToken(r.refresh_token)})}catch(n){console.error("Auto refresh tick failed with error. This is likely a transient error.",n)}}finally{this._debug("#_autoRefreshTokenTick()","end")}}async _handleVisibilityChange(){if(this._debug("#_handleVisibilityChange()"),!Vt()||!window?.addEventListener)return this.autoRefreshToken&&this.startAutoRefresh(),!1;try{this.visibilityChangedCallback=async()=>{try{await this._onVisibilityChanged(!1)}catch(t){this._debug("#visibilityChangedCallback","error",t)}},window?.addEventListener("visibilitychange",this.visibilityChangedCallback),await this._onVisibilityChanged(!0)}catch(t){console.error("_handleVisibilityChange",t)}}async _onVisibilityChanged(t){const n=`#_onVisibilityChanged(${t})`;if(this._debug(n,"visibilityState",document.visibilityState),document.visibilityState==="visible"){if(this.autoRefreshToken&&this._startAutoRefresh(),!t)if(await this.initializePromise,this.lock!=null)await this._acquireLock(this.lockAcquireTimeout,async()=>
56{if(document.visibilityState!=="visible"){this._debug(n,"acquired the lock to recover the session, but the browser visibilityState is no longer visible, aborting");return}await this._recoverAndRefresh()});else{if(document.visibilityState!=="visible"){this._debug(n,"visibilityState is no longer visible, skipping recovery");return}await this._recoverAndRefresh()}}else document.visibilityState==="hidden"&&this.autoRefreshToken&&this._stopAutoRefresh()}async _getUrlForProvider(t,n,r){const s=[`provider=${encodeURIComponent(n)}`];if(r?.redirectTo&&s.push(`redirect_to=${encodeURIComponent(r.redirectTo)}`),r?.scopes&&s.push(`scopes=${encodeURIComponent(r.scopes)}`),this.flowType==="pkce"){const[o,c]=await xi(this.storage,this.storageKey),u=new URLSearchParams({code_challenge:`${encodeURIComponent(o)}`,code_challenge_method:`${encodeURIComponent(c)}`});s.push(u.toString())}if(r?.queryParams){const o=new URLSearchParams(r.queryParams);s.push(o.toString())}return r?.skipBrowserRedirect&&s.push(`skip_http_redirect=${r.skipBrowserRedirect}`),`${t}?${s.join("&")}`}async _unenroll(t){try{return await this._useSession(async n=>{var r;const{data:s,error:o}=n;return o?this._returnResult({data:null,error:o}):await ve(this.fetch,"DELETE",`${this.url}/factors/${t.factorId}`,{headers:this.headers,jwt:(r=s?.session)===null||r===void 0?void 0:r.access_token})})}catch(n){if(pe(n))return this._returnResult({data:null,error:n});throw n}}async _enroll(t){try{return await this._useSession(async n=>{var r,s;const{data:o,error:c}=n;if(c)return this._returnResult({data:null,error:c});const u=Object.assign({friendly_name:t.friendlyName,factor_type:t.factorType},t.factorType==="phone"?{phone:t.phone}:t.factorType==="totp"?{issuer:t.issuer}:{}),{data:h,error:f}=await ve(this.fetch,"POST",`${this.url}/factors`,{body:u,headers:this.headers,jwt:(r=o?.session)===null||r===void 0?void 0:r.access_token});return f?this._returnResult({data:null,error:f}):(t.factorType==="totp"&&h.type==="totp"&&(!((s=h?.totp)===null||s===void 0)&&s.qr_code)&&(h.totp.qr_code=`data:image/svg+xml;utf-8,${h.totp.qr_code}`),this._returnResult({data:h,error:null}))})}catch(n){if(pe(n))return this._returnResult({data:null,error:n});throw n}}async _verify(t){const n=async()=>{try{return await this._useSession(async r=>{var s;const{data:o,error:c}=r;if(c)return this._returnResult({data:null,error:c});const u=Object.assign({challenge_id:t.challengeId},"webauthn"in t?{webauthn:Object.assign(Object.assign({},t.webauthn),{credential_response:t.webauthn.type==="create"?hk(t.webauthn.credential_response):fk(t.webauthn.credential_response)})}:{code:t.code}),{data:h,error:f}=await ve(this.fetch,"POST",`${this.url}/factors/${t.factorId}/verify`,{body:u,headers:this.headers,jwt:(s=o?.session)===null||s===void 0?void 0:s.access_token});return f?this._returnResult({data:null,error:f}):(await this._saveSession(Object.assign({expires_at:Math.round(Date.now()/1e3)+h.expires_in},h)),await this._notifyAllSubscribers("MFA_CHALLENGE_VERIFIED",h),this._returnResult({data:h,error:f}))})}catch(r){if(pe(r))return this._returnResult({data:null,error:r});throw r}};return this.lock!=null?this._acquireLock(this.lockAcquireTimeout,n):n()}async _challenge(t){const n=async()=>{try{return await this._useSession(async r=>{var s;const{data:o,error:c}=r;if(c)return this._returnResult({data:null,error:c});const u=await ve(this.fetch,"POST",`${this.url}/factors/${t.factorId}/challenge`,{body:t,headers:this.headers,jwt:(s=o?.session)===null||s===void 0?void 0:s.access_token});if(u.error)return u;const{data:h}=u;if(h.type!=="webauthn")return{data:h,error:null};switch(h.webauthn.type){case"create":return{data:Object.assign(Object.assign({},h),{webauthn:Object.assign(Object.assign({},h.webauthn),{credential_options:Object.assign(Object.assign({},h.webauthn.credential_options),{publicKey:uk(h.webauthn.credential_options.publicKey)})})}),error:null};case"request":return{data:Object.assign(Object.assign({},h),{webauthn:Object.assign(Object.assign({},h.webauthn),{credential_options:Object.assign(Object.assign({},h.webauthn.credential_options),{publicKey:dk(h.webauthn.credential_options.publicKey)})})}),error:null}}})}catch(r){if(pe(r))return this._returnResult({data:null,error:r});throw r}};return this.lock!=null?this._acquireLock(this.lockAcquireTimeout,n):n()}async _challengeAndVerify(t){const{data:n,error:r}=await this._challenge({factorId:t.factorId});return r?this._returnResult({data:null,error:r}):await this._verify({factorId:t.factorId,challengeId:n.id,code:t.code})}async _listFactors(){var t;const{data:{user:n},error:r}=await this.getUser();if(r)return{data:null,error:r};const s={all:[],phone:[],totp:[],webauthn:[]};for(const o of(t=n?.factors)!==null&&t!==void 0?t:[])s.all.push(o),o.status==="verified"&&s[o.factor_type].push(o);return{data:s,error:null}}async _getAuthenticatorAssuranceLevel(t){var n,r,s,o;if(t)try{const{payload:v}=Zu(t);let k=null;v.aal&&(k=v.aal);let w=k;const{data:{user:E},error:_}=await this.getUser(t);if(_)return this._returnResult({data:null,error:_});((r=(n=E?.factors)===null||n===void 0?void 0:n.filter(P=>P.status==="verified"))!==null&&r!==void 0?r:[]).length>0&&(w="aal2");const C=v.amr||[];return{data:{currentLevel:k,nextLevel:w,currentAuthenticationMethods:C},error:null}}catch(v){if(pe(v))return this._returnResult({data:null,error:v});throw v}const{data:{session:c},error:u}
56=await this.getSession();if(u)return this._returnResult({data:null,error:u});if(!c)return{data:{currentLevel:null,nextLevel:null,currentAuthenticationMethods:[]},error:null};const{payload:h}=Zu(c.access_token);let f=null;h.aal&&(f=h.aal);let p=f;((o=(s=c.user.factors)===null||s===void 0?void 0:s.filter(v=>v.status==="verified"))!==null&&o!==void 0?o:[]).length>0&&(p="aal2");const b=h.amr||[];return{data:{currentLevel:f,nextLevel:p,currentAuthenticationMethods:b},error:null}}async _getAuthorizationDetails(t){try{return await this._useSession(async n=>{const{data:{session:r},error:s}=n;return s?this._returnResult({data:null,error:s}):r?await ve(this.fetch,"GET",`${this.url}/oauth/authorizations/${t}`,{headers:this.headers,jwt:r.access_token,xform:o=>({data:o,error:null})}):this._returnResult({data:null,error:new jt})})}catch(n){if(pe(n))return this._returnResult({data:null,error:n});throw n}}async _approveAuthorization(t,n){try{return await this._useSession(async r=>{const{data:{session:s},error:o}=r;if(o)return this._returnResult({data:null,error:o});if(!s)return this._returnResult({data:null,error:new jt});const c=await ve(this.fetch,"POST",`${this.url}/oauth/authorizations/${t}/consent`,{headers:this.headers,jwt:s.access_token,body:{action:"approve"},xform:u=>({data:u,error:null})});return c.data&&c.data.redirect_url&&Vt()&&!n?.skipBrowserRedirect&&window.location.assign(c.data.redirect_url),c})}catch(r){if(pe(r))return this._returnResult({data:null,error:r});throw r}}async _denyAuthorization(t,n){try{return await this._useSession(async r=>{const{data:{session:s},error:o}=r;if(o)return this._returnResult({data:null,error:o});if(!s)return this._returnResult({data:null,error:new jt});const c=await ve(this.fetch,"POST",`${this.url}/oauth/authorizations/${t}/consent`,{headers:this.headers,jwt:s.access_token,body:{action:"deny"},xform:u=>({data:u,error:null})});return c.data&&c.data.redirect_url&&Vt()&&!n?.skipBrowserRedirect&&window.location.assign(c.data.redirect_url),c})}catch(r){if(pe(r))return this._returnResult({data:null,error:r});throw r}}async _listOAuthGrants(){try{return await this._useSession(async t=>{const{data:{session:n},error:r}=t;return r?this._returnResult({data:null,error:r}):n?await ve(this.fetch,"GET",`${this.url}/user/oauth/grants`,{headers:this.headers,jwt:n.access_token,xform:s=>({data:s,error:null})}):this._returnResult({data:null,error:new jt})})}catch(t){if(pe(t))return this._returnResult({data:null,error:t});throw t}}async _revokeOAuthGrant(t){try{return await this._useSession(async n=>{const{data:{session:r},error:s}=n;return s?this._returnResult({data:null,error:s}):r?(await ve(this.fetch,"DELETE",`${this.url}/user/oauth/grants`,{headers:this.headers,jwt:r.access_token,query:{client_id:t.clientId},noResolveJson:!0}),{data:{},error:null}):this._returnResult({data:null,error:new jt})})}catch(n){if(pe(n))return this._returnResult({data:null,error:n});throw n}}async fetchJwk(t,n={keys:[]}){let r=n.keys.find(u=>u.kid===t);if(r)return r;const s=Date.now();if(r=this.jwks.keys.find(u=>u.kid===t),r&&this.jwks_cached_at+bL>s)return r;const{data:o,error:c}=await ve(this.fetch,"GET",`${this.url}/.well-known/jwks.json`,{headers:this.headers});if(c)throw c;return!o.keys||o.keys.length===0||(this.jwks=o,this.jwks_cached_at=s,r=o.keys.find(u=>u.kid===t),!r)?null:r}async getClaims(t,n={}){try{let r=t;if(!r){const{data:v,error:k}
56=await this.getSession();if(k||!v.session)return this._returnResult({data:null,error:k});r=v.session.access_token}const{header:s,payload:o,signature:c,raw:{header:u,payload:h}}=Zu(r);if(!n?.allowExpired)try{HL(o.exp)}catch(v){throw new Kd(v instanceof Error?v.message:"JWT validation failed")}const f=!s.alg||s.alg.startsWith("HS")||!s.kid||!("crypto"in globalThis&&"subtle"in globalThis.crypto)?null:await this.fetchJwk(s.kid,n?.keys?{keys:n.keys}:n?.jwks);if(!f){const{error:v}=await this.getUser(r);if(v)throw v;return{data:{claims:o,header:s,signature:c},error:null}}const p=UL(s.alg),y=await crypto.subtle.importKey("jwk",f,p,!0,["verify"]);if(!await crypto.subtle.verify(p,y,c,AL(`${u}.${h}`)))throw new Kd("Invalid JWT signature");return{data:{claims:o,header:s,signature:c},error:null}}catch(r){if(pe(r))return this._returnResult({data:null,error:r});throw r}}async signInWithPasskey(t){var n,r,s;Qn(this.experimental);try{if(!qd())return this._returnResult({data:null,error:new ta("Browser does not support WebAuthn",null)});const{data:o,error:c}=await this._startPasskeyAuthentication({options:{captchaToken:(n=t?.options)===null||n===void 0?void 0:n.captchaToken}});if(c||!o)return this._returnResult({data:null,error:c});const u=dk(o.options),h=(s=(r=t?.options)===null||r===void 0?void 0:r.signal)!==null&&s!==void 0?s:py.createNewAbortSignal(),{data:f,error:p}=await fE({publicKey:u,signal:h});if(p||!f)return this._returnResult({data:null,error:p??new ta("WebAuthn ceremony failed",null)});const y=fk(f);return this._verifyPasskeyAuthentication({challengeId:o.challenge_id,credential:y})}catch(o){if(pe(o))return this._returnResult({data:null,error:o});throw o}}async registerPasskey(t){var n,r;Qn(this.experimental);try{if(!qd())return this._returnResult({data:null,error:new ta("Browser does not support WebAuthn",null)});const{data:s,error:o}=await this._startPasskeyRegistration();if(o||!s)return this._returnResult({data:null,error:o});const c=uk(s.options),u=(r=(n=t?.options)===null||n===void 0?void 0:n.signal)!==null&&r!==void 0?r:py.createNewAbortSignal(),{data:h,error:f}=await hE({publicKey:c,signal:u});if(f||!h)return this._returnResult({data:null,error:f??new ta("WebAuthn ceremony failed",null)});const p=hk(h);return this._verifyPasskeyRegistration({challengeId:s.challenge_id,credential:p})}catch(s){if(pe(s))return this._returnResult({data:null,error:s});throw s}}async _startPasskeyRegistration(){Qn(this.experimental);try{return await this._useSession(async t=>{const{data:{session:n},error:r}=t;if(r)return this._returnResult({data:null,error:r});if(!n)return this._returnResult({data:null,error:new jt});const{data:s,error:o}=await ve(this.fetch,"POST",`${this.url}/passkeys/registration/options`,{headers:this.headers,jwt:n.access_token,body:{}});return o?this._returnResult({data:null,error:o}):this._returnResult({data:s,error:null})})}catch(t){if(pe(t))return this._returnResult({data:null,error:t});throw t}}async _verifyPasskeyRegistration(t){Qn(this.experimental);try{return await this._useSession(async n=>{const{data:{session:r},error:s}=n;if(s)return this._returnResult({data:null,error:s});if(!r)return this._returnResult({data:null,error:new jt});const{data:o,error:c}=await ve(this.fetch,"POST",`${this.url}/passkeys/registration/verify`,{headers:this.headers,jwt:r.access_token,body:{challenge_id:t.challengeId,credential:t.credential}});return c?this._returnResult({data:null,error:c}):this._returnResult({data:o,error:null})})}catch(n){if(pe(n))return this._returnResult({data:null,error:n});throw n}}async _startPasskeyAuthentication(t){var n;Qn(this.experimental);try{const{data:r,error:s}=await ve(this.fetch,"POST",`${this.url}/passkeys/authentication/options`,{headers:this.headers,body:{gotrue_meta_security:{captcha_token:(n=t?.options)===null||n===void 0?void 0:n.captchaToken}}});return s?this._returnResult({data:null,error:s}):this._returnResult({data:r,error:null})}catch(r){if(pe(r))return this._returnResult({data:null,error:r});throw r}}async _verifyPasskeyAuthentication(t){Qn(this.experimental);try{const{data:n,error:r}=await ve(this.fetch,"POST",`${this.url}/passkeys/authentication/verify`,{headers:this.headers,body:{challenge_id:t.challengeId,credential:t.credential},xform:Hn});return r?this._returnResult({data:null,error:r}):(n.session&&(await this._saveSession(n.session),await this._notifyAllSubscribers("SIGNED_IN",n.session)),this._returnResult({data:n,error:null}))}catch(n){if(pe(n))return this._returnResult({data:null,error:n});throw n}}async _listPasskeys(){Qn(this.experimental);try{return await this._useSession(async t=>{const{data:{session:n},error:r}=t;if(r)return this._returnResult({data:null,error:r});if(!n)return this._returnResult({data:null,error:new jt});const{data:s,error:o}=await ve(this.fetch,"GET",`${this.url}/passkeys`,{headers:this.headers,jwt:n.access_token,xform:c=>({data:c,error:null})});return o?this._returnResult({data:null,error:o}):this._returnResult({data:s,error:null})})}catch(t){if(pe(t))return this._returnResult({data:null,error:t});throw t}}async _updatePasskey(t){Qn(this.experimental);try{return await this._useSession(async n=>{const{data:{session:r},error:s}=n;if(s)return this._returnResult({data:null,error:s});if(!r)return this._returnResult({data:null,error:new jt});const{data:o,error:c}=await ve(this.fetch,"PATCH",`${this.url}/passkeys/${t.passkeyId}`,{headers:this.headers,jwt:r.access_token,body:{friendly_name:t.friendlyName}});return c?this._returnResult({data:null,error:c}):this._returnResult({data:o,error:null})})}catch(n){if(pe(n))return this._returnResult({data:null,error:n});throw n}}async _deletePasskey(t){Qn(this.experimental);try{return await this._useSession(async n=>{const{data:{session:r},error:s}=n;if(s)return this._returnResult({data:null,error:s});if(!r)return this._returnResult({data:null,error:new jt});const{error:o}
56=await ve(this.fetch,"DELETE",`${this.url}/passkeys/${t.passkeyId}`,{headers:this.headers,jwt:r.access_token,noResolveJson:!0});return o?this._returnResult({data:null,error:o}):this._returnResult({data:null,error:null})})}catch(n){if(pe(n))return this._returnResult({data:null,error:n});throw n}}}rc.nextInstanceID={};const hM=rc,fM="2.108.2";let jl="",Wd;if(typeof Deno<"u"){var hm;jl="deno",Wd=(hm=Deno.version)===null||hm===void 0?void 0:hm.deno}else if(typeof document<"u")jl="web";else if(typeof navigator<"u"&&navigator.product==="ReactNative")jl="react-native";else{var fm;jl="node",Wd=typeof process<"u"?(fm=process.version)===null||fm===void 0?void 0:fm.replace(/^v/,""):void 0}const pE=[`runtime=${jl}`];Wd&&pE.push(`runtime-version=${Wd}`);const pM={"X-Client-Info":`supabase-js/${fM}; ${pE.join("; ")}`},mM={headers:pM},yM={schema:"public"},gM={autoRefreshToken:!0,persistSession:!0,detectSessionInUrl:!0,flowType:"implicit"},bM={},vM={enabled:!1,respectSamplingDecision:!0};function wM(e,t,n,r){function s(o){return o instanceof n?o:new n(function(c){c(o)})}return new(n||(n=Promise))(function(o,c){function u(p){try{f(r.next(p))}catch(y){c(y)}}function h(p){try{f(r.throw(p))}catch(y){c(y)}}function f(p){p.done?o(p.value):s(p.value).then(u,h)}f((r=r.apply(e,[])).next())})}let pm=null;const SM="@opentelemetry/api";function kM(){return pm===null&&(pm=import(SM).catch(()=>null)),pm}function _M(){return wM(this,void 0,void 0,function*(){try{const e=yield kM();if(!e||!e.propagation||!e.context)return null;const t={};e.propagation.inject(e.context.active(),t);const n=t.traceparent;return n?{traceparent:n,tracestate:t.tracestate,baggage:t.baggage}:null}catch{return null}})}function xM(e){if(!e||typeof e!="string")return null;const t=e.split("-");if(t.length!==4)return null;const[n,r,s,o]=t;if(n.length!==2||r.length!==32||s.length!==16||o.length!==2)return null;const c=/^[0-9a-f]+$/i;return!c.test(n)||!c.test(r)||!c.test(s)||!c.test(o)||r==="00000000000000000000000000000000"||s==="0000000000000000"?null:{version:n,traceId:r,parentId:s,traceFlags:o,isSampled:(parseInt(o,16)&1)===1}}function EM(e,t){if(!e||!t||t.length===0)return!1;let n;if(e instanceof URL)n=e;else try{n=new URL(e)}catch{return!1}for(const r of t)try{if(typeof r=="string"){if(RM(n.hostname,r))return!0}else if(r instanceof RegExp){if(r.test(n.hostname))return!0}else if(typeof r=="function"&&r(n))return!0}catch{continue}return!1}function RM(e,t){if(t===e)return!0;if(t.startsWith("*.")){const n=t.slice(2);if(e.endsWith(n)&&(e===n||e.endsWith("."+n)))return!0}return!1}function CM(e){const t=[];try{const n=new URL(e);t.push(n.hostname)}catch{}return t.push("*.supabase.co","*.supabase.in"),t.push("localhost","127.0.0.1","[::1]"),t}function ic(e){"@babel/helpers - typeof";return ic=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ic(e)}function AM(e,t){if(ic(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(ic(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function TM(e){var t=AM(e,"string");return ic(t)=="symbol"?t:t+""}function OM(e,t,n){return(t=TM(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,r)}return n}function mt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?pk(Object(n),!0).forEach(function(r){OM(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pk(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}const NM=e=>e?(...t)=>e(...t):(...t)=>fetch(...t),DM=()=>Headers,IM=(e,t,n,r,s)=>{const o=NM(r),c=DM(),u=s?.enabled===!0,h=s?.respectSamplingDecision!==!1,f=u?CM(t):null;return async(p,y)=>{var b;const v=(b=await n())!==null&&b!==void 0?b:e;let k=new c(y?.headers);if(k.has("apikey")||k.set("apikey",e),k.has("Authorization")||k.set("Authorization",`Bearer ${v}`),f){const w=await PM(p,f,h);w&&(w.traceparent&&!k.has("traceparent")&&k.set("traceparent",w.traceparent),w.tracestate&&!k.has("tracestate")&&k.set("tracestate",w.tracestate),w.baggage&&!k.has("baggage")&&k.set("baggage",w.baggage))}return o(p,mt(mt({},y),{},{headers:k}))}};async function PM(e,t,n){if(!EM(typeof e=="string"||e instanceof URL?e:e.url,t))return null;const r=await _M();if(!r||!r.traceparent)return null;if(n){const s=xM(r.traceparent);if(s&&!s.isSampled)return null}return r}function mk(e){return typeof e=="boolean"?{enabled:e}:e}function jM(e){return e.endsWith("/")?e:e+"/"}function LM(e,t){var n,r,s,o,c,u;const{db:h,auth:f,realtime:p,global:y}=e,{db:b,auth:v,realtime:k,global:w}=t,E=mk(e.tracePropagation),_=mk(t.tracePropagation),A={db:mt(mt({},b),h),auth:mt(mt({},v),f),realtime:mt(mt({},k),p),storage:{},global:mt(mt(mt({},w),y),{},{headers:mt(mt({},(n=w?.headers)!==null&&n!==void 0?n:{}),(r=y?.headers)!==null&&r!==void 0?r:{})}),tracePropagation:{enabled:(s=(o=E?.enabled)!==null&&o!==void 0?o:_?.enabled)!==null&&s!==void 0?s:!1,respectSamplingDecision:(c=(u=E?.respectSamplingDecision)!==null&&u!==void 0?u:_?.respectSamplingDecision)!==null&&c!==void 0?c:!0},accessToken:async()=>""};return e.accessToken?A.accessToken=e.accessToken:delete A.accessToken,A}function MM(e){const t=e?.trim();if(!t)throw new Error("supabaseUrl is required.");
56if(!t.match(/^https?:\/\//i))throw new Error("Invalid supabaseUrl: Must be a valid HTTP or HTTPS URL.");try{return new URL(jM(t))}catch{throw Error("Invalid supabaseUrl: Provided URL is malformed.")}}var BM=class extends hM{constructor(e){super(e)}},$M=class{constructor(e,t,n){var r,s;this.supabaseUrl=e,this.supabaseKey=t;const o=MM(e);if(!t)throw new Error("supabaseKey is required.");this.realtimeUrl=new URL("realtime/v1",o),this.realtimeUrl.protocol=this.realtimeUrl.protocol.replace("http","ws"),this.authUrl=new URL("auth/v1",o),this.storageUrl=new URL("storage/v1",o),this.functionsUrl=new URL("functions/v1",o);const c=`sb-${o.hostname.split(".")[0]}-auth-token`,u={db:yM,realtime:bM,auth:mt(mt({},gM),{},{storageKey:c}),global:mM,tracePropagation:vM},h=LM(n??{},u);if(this.settings=h,this.storageKey=(r=h.auth.storageKey)!==null&&r!==void 0?r:"",this.headers=(s=h.global.headers)!==null&&s!==void 0?s:{},h.accessToken)this.accessToken=h.accessToken,this.auth=new Proxy({},{get:(p,y)=>{throw new Error(`@supabase/supabase-js: Supabase Client is configured with the accessToken option, accessing supabase.auth.${String(y)} is not possible`)}});else{var f;this.auth=this._initSupabaseAuthClient((f=h.auth)!==null&&f!==void 0?f:{},this.headers,h.global.fetch)}this.fetch=IM(t,e,this._getAccessToken.bind(this),h.global.fetch,h.tracePropagation),this.realtime=this._initRealtimeClient(mt({headers:this.headers,accessToken:this._getAccessToken.bind(this),fetch:this.fetch},h.realtime)),this.accessToken&&Promise.resolve(this.accessToken()).then(p=>this.realtime.setAuth(p)).catch(p=>console.warn("Failed to set initial Realtime auth token:",p)),this.rest=new ZP(new URL("rest/v1",o).href,{headers:this.headers,schema:h.db.schema,fetch:this.fetch,timeout:h.db.timeout,urlLengthLimit:h.db.urlLengthLimit}),this.storage=new hL(this.storageUrl.href,this.headers,this.fetch,n?.storage),h.accessToken||this._listenForAuthEvents()}get functions(){return new VP(this.functionsUrl.href,{headers:this.headers,customFetch:this.fetch})}from(e){return this.rest.from(e)}schema(e){return this.rest.schema(e)}rpc(e,t={},n={head:!1,get:!1,count:void 0}){return this.rest.rpc(e,t,n)}channel(e,t={config:{}}){return this.realtime.channel(e,t)}getChannels(){return this.realtime.getChannels()}removeChannel(e){return this.realtime.removeChannel(e)}removeAllChannels(){return this.realtime.removeAllChannels()}async _getAccessToken(){var e=this,t,n;if(e.accessToken)return await e.accessToken();const{data:r}=await e.auth.getSession();return(t=(n=r.session)===null||n===void 0?void 0:n.access_token)!==null&&t!==void 0?t:e.supabaseKey}_initSupabaseAuthClient({autoRefreshToken:e,persistSession:t,detectSessionInUrl:n,storage:r,userStorage:s,storageKey:o,flowType:c,lock:u,debug:h,throwOnError:f,experimental:p,lockAcquireTimeout:y,skipAutoInitialize:b},v,k){const w={Authorization:`Bearer ${this.supabaseKey}`,apikey:`${this.supabaseKey}`};return new BM({url:this.authUrl.href,headers:mt(mt({},w),v),storageKey:o,autoRefreshToken:e,persistSession:t,detectSessionInUrl:n,storage:r,userStorage:s,flowType:c,lock:u,debug:h,throwOnError:f,experimental:p,fetch:k,lockAcquireTimeout:y,skipAutoInitialize:b,hasCustomAuthorizationHeader:Object.keys(this.headers).some(E=>E.toLowerCase()==="authorization")})}_initRealtimeClient(e){return new jj(this.realtimeUrl.href,mt(mt({},e),{},{params:mt(mt({},{apikey:this.supabaseKey}),e?.params)}))}_listenForAuthEvents(){return this.auth.onAuthStateChange((e,t)=>{this._handleTokenChanged(e,"CLIENT",t?.access_token)})}_handleTokenChanged(e,t,n){(e==="TOKEN_REFRESHED"||e==="SIGNED_IN")&&this.changedAccessToken!==n?(this.changedAccessToken=n,this.realtime.setAuth(n)):e==="SIGNED_OUT"&&(this.realtime.setAuth(),t=="STORAGE"&&this.auth.signOut(),this.changedAccessToken=void 0)}};const zM=(e,t,n)=>new $M(e,t,n);function HM(){if(typeof window<"u")return!1;const e=globalThis.process;if(!e)return!1;const t=e.version;if(t==null)return!1;const n=t.match(/^v(\d+)\./);return n?parseInt(n[1],10)<=18:!1}HM()&&console.warn("⚠️  Node.js 18 and below are deprecated and will no longer be supported in future versions of @supabase/supabase-js. Please upgrade to N
56ode.js 20 or later. For more information, visit: https://github.com/orgs/supabase/discussions/37217");function UM(){if(typeof window>"u")return;const e=location.hostname,n=["lovableproject.com","lovableproject-dev.com","lovable.app","gpt-eng.com","gptengineer.run"].some(E=>e===E||e.endsWith("."+E)),r="[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}",s=n?e.match(new RegExp("^(?:id-preview(?:-[a-z0-9]+)?|project)--("+r+")(?:-dev)?(?=\\.|$)","i"))?.[1]??e.match(new RegExp("^("+r+")(?=[.-])","i"))?.[1]:void 0,o=window.parent&&window.parent!==window;if(!s||!o)return localStorage;const c=e.endsWith(".lovableproject-dev.com")||e.endsWith(".gpt-eng.com"),u=c?/^https:\/\/([a-z0-9-]+\.)*(lovable\.dev|gptengineer\.app)$|^http:\/\/localhost:3000$/:/^https:\/\/([a-z0-9-]+\.)*(lovable\.dev|gptengineer\.app)$/,h=location.ancestorOrigins&&location.ancestorOrigins[0]||(document.referrer?new URL(document.referrer).origin:""),f=h&&u.test(h)?[h]:c?["https://lovable.dev","http://localhost:3000"]:["https://lovable.dev"],p="lovable-preview-auth:result",y=2e3,b=()=>Math.random().toString(36).slice(2)+Date.now().toString(36),v=(E,_,A)=>new Promise(C=>{const P=b();let K=!1,D;const I=re=>{K||(K=!0,clearTimeout(D),window.removeEventListener("message",$),C(re))},$=re=>{if(f.indexOf(re.origin)<0)return;const z=re.data;z&&z.type===p&&z.requestId===P&&I(z)};window.addEventListener("message",$);const Y={type:E,requestId:P,projectId:s,key:_};A!==void 0&&(Y.value=A);for(const re of f)window.parent.postMessage(Y,re);D=setTimeout(()=>I(null),y)});let k=!0;const w=250;return{getItem:async E=>{let _=await v("lovable-preview-auth:get",E);return!_&&k&&(await new Promise(A=>setTimeout(A,w)),_=await v("lovable-preview-auth:get",E)),k=!1,_&&_.ok&&typeof _.value=="string"?_.value===""?(localStorage.removeItem(E),null):_.value:localStorage.getItem(E)},setItem:(E,_)=>(localStorage.setItem(E,_),v("lovable-preview-auth:set",E,_).then(A=>{A&&A.ok&&typeof A.value=="string"&&localStorage.getItem(E)===_&&(A.value===""?localStorage.removeItem(E):localStorage.setItem(E,A.value))})),removeItem:E=>(localStorage.removeItem(E),v("lovable-preview-auth:remove",E).then(()=>{}))}}function KM(){return zM("https://baxfnzaqyqihemtinwis.supabase.co","eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImJheGZuemFxeXFpaGVtdGlud2lzIiwicm9sZSI6ImFub24iLCJpYXQiOjE3Nzg4MTI2NTgsImV4cCI6MjA5NDM4ODY1OH0.HZs2M_-eykcuvzWhnacTt9-FappIEDDvKwtUvmpsBE4",{auth:{storage:UM(),persistSession:!0,autoRefreshToken:!0}})}let mm;const VM=new Proxy({},{get(e,t,n){return mm||(mm=KM()),Reflect.get(mm,t,n)}}),FM=Oi({type:"function"}).client(async({next:e})=>{const{data:t}=await VM.auth.getSession(),n=t.session?.access_token;return e({headers:n?{Authorization:`Bearer ${n}`}:{}})}),qM=Oi(),yk=$P(()=>({requestMiddleware:[qM],functionMiddleware:[FM]}));var mh=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},GM=class extends mh{#e;#n;#t;constructor(){super(),this.#t=e=>{if(typeof window<"u"&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#n||this.setEventListener(this.#t)}onUnsubscribe(){this.hasListeners()||(this.#n?.(),this.#n=void 0)}setEventListener(e){this.#t=e,this.#n?.(),this.#n=e(t=>{typeof t=="boolean"?this.setFocused(t):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return typeof this.#e=="boolean"?this.#e:globalThis.document?.visibilityState!=="hidden"}},mE=new GM,WM={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},YM=class{#e=WM;#n=!1;setTimeoutProvider(e){this.#e=e}setTimeout(e,t){return this.#e.setTimeout(e,t)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,t){return this.#e.setInterval(e,t)}clearInterval(e){this.#e.clearInterval(e)}},my=new YM;function JM(e){setTimeout(e,0)}var QM=typeof window>"u"||"Deno"in globalThis;function ea(){}function XM(e,t){return typeof e=="function"?e(t):e}function ZM(e){return typeof e=="number"&&e>=0&&e!==1/0}function eB(e,t){return Math.max(e+(t||0)-Date.now(),0)}function yy(e,t){return typeof e=="function"?e(t):e}function tB(e,t){return typeof e=="function"?e(t):e}function gk(e,t){const{type:n="all",exact:r,fetchStatus:s,predicate:o,queryKey:c,stale:u}=e;if(c){if(r){if(t.queryHash!==og(c,t.options))return!1}else if(!oc(t.queryKey,c))return!1}if(n!=="all"){const h=t.isActive();if(n==="active"&&!h||n==="inactive"&&h)return!1}return!(typeof u=="boolean"&&t.isStale()!==u||s&&s!==t.state.fetchStatus||o&&!o(t))}function bk(e,t){const{exact:n,status:r,predicate:s,mutationKey:o}=e;if(o){if(!t.options.mutationKey)return!1;if(n){if(sc(t.options.mutationKey)!==sc(o))return!1}else if(!oc(t.options.mutationKey,o))return!1}return!(r&&t.state.status!==r||s&&!s(t))}function og(e,t){return(t?.queryKeyHashFn||sc)(e)}function sc(e){return JSON.stringify(e,(t,n)=>gy(n)?Object.keys(n).sort().reduce((r,s)=>(r[s]=n[s],r),{}):n)}function oc(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>oc(e[n],t[n])):!1}var nB=Object.prototype.hasOwnProperty;function yE(e,t,n=0){if(e===t)return e;if(n>500)return t;const r=vk(e)&&vk(t);if(!r&&!(gy(e)&&gy(t)))return t;const o=(r?e:Object.keys(e)).length,c=r?t:Object.keys(t),u=c.length,h=r?new Array(u):{};let f=0;for(let p=0;p<u;p++){const y=r?p:c[p],b=e[y],v=t[y];if(b===v){h[y]=b,(r?p<o:nB.call(e,y))&&f++;continue}if(b===null||v===null||typeof b!="object"||typeof v!="object"){h[y]=v;continue}const k=yE(b,v,n+1);h[y]=k,k===b&&f++}return o===u&&f===o?e:h}function RW(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function vk(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function gy(e){if(!wk(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!wk(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function wk(e){return Object.prototype.toString.call(e)==="[object Object]"}function aB(e){return new Promise(t=>{my.setTimeout(t,e)})}function rB(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?yE(e,t):t}function iB(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function sB(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var lg=Symbol();function gE(e,t){return!e.queryFn&&t?.initialPromise?()=>
vendor: 20,881 bytes, line 56
56t.initialPromise:!e.queryFn||e.queryFn===lg?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function CW(e,t){return typeof e=="function"?e(...t):!!e}function oB(e,t,n){let r=!1,s;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(s??=t(),r||(r=!0,s.aborted?n():s.addEventListener("abort",n,{once:!0})),s)}),e}var bE=(()=>{let e=()=>QM;return{isServer(){return e()},setIsServer(t){e=t}}})();function lB(){let e,t;const n=new Promise((s,o)=>{e=s,t=o});n.status="pending",n.catch(()=>{});function r(s){Object.assign(n,s),delete n.resolve,delete n.reject}return n.resolve=s=>{r({status:"fulfilled",value:s}),e(s)},n.reject=s=>{r({status:"rejected",reason:s}),t(s)},n}var cB=JM;function uB(){let e=[],t=0,n=u=>{u()},r=u=>{u()},s=cB;const o=u=>{t?e.push(u):s(()=>{n(u)})},c=()=>{const u=e;e=[],u.length&&s(()=>{r(()=>{u.forEach(h=>{n(h)})})})};return{batch:u=>{let h;t++;try{h=u()}finally{t--,t||c()}return h},batchCalls:u=>(...h)=>{o(()=>{u(...h)})},schedule:o,setNotifyFunction:u=>{n=u},setBatchNotifyFunction:u=>{r=u},setScheduler:u=>{s=u}}}var Qt=uB(),dB=class extends mh{#e=!0;#n;#t;constructor(){super(),this.#t=e=>{if(typeof window<"u"&&window.addEventListener){const t=()=>e(!0),n=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",n)}}}}onSubscribe(){this.#n||this.setEventListener(this.#t)}onUnsubscribe(){this.hasListeners()||(this.#n?.(),this.#n=void 0)}setEventListener(e){this.#t=e,this.#n?.(),this.#n=e(this.setOnline.bind(this))}setOnline(e){this.#e!==e&&(this.#e=e,this.listeners.forEach(n=>{n(e)}))}isOnline(){return this.#e}},Yd=new dB;function hB(e){return Math.min(1e3*2**e,3e4)}function vE(e){return(e??"online")==="online"?Yd.isOnline():!0}var by=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function wE(e){let t=!1,n=0,r;const s=lB(),o=()=>s.status!=="pending",c=w=>{if(!o()){const E=new by(w);b(E),e.onCancel?.(E)}},u=()=>{t=!0},h=()=>{t=!1},f=()=>mE.isFocused()&&(e.networkMode==="always"||Yd.isOnline())&&e.canRun(),p=()=>vE(e.networkMode)&&e.canRun(),y=w=>{o()||(r?.(),s.resolve(w))},b=w=>{o()||(r?.(),s.reject(w))},v=()=>new Promise(w=>{r=E=>{(o()||f())&&w(E)},e.onPause?.()}).then(()=>{r=void 0,o()||e.onContinue?.()}),k=()=>{if(o())return;let w;const E=n===0?e.initialPromise:void 0;try{w=E??e.fn()}catch(_){w=Promise.reject(_)}Promise.resolve(w).then(y).catch(_=>{if(o())return;const A=e.retry??(bE.isServer()?0:3),C=e.retryDelay??hB,P=typeof C=="function"?C(n,_):C,K=A===!0||typeof A=="number"&&n<A||typeof A=="function"&&A(n,_);if(t||!K){b(_);return}n++,e.onFail?.(n,_),aB(P).then(()=>f()?void 0:v()).then(()=>{t?b(_):k()})})};return{promise:s,status:()=>s.status,cancel:c,continue:()=>(r?.(),s),cancelRetry:u,continueRetry:h,canStart:p,start:()=>(p()?k():v().then(k),s)}}var SE=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),ZM(this.gcTime)&&(this.#e=my.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(bE.isServer()?1/0:300*1e3))}clearGcTimeout(){this.#e!==void 0&&(my.clearTimeout(this.#e),this.#e=void 0)}},fB=class extends SE{#e;#n;#t;#r;#a;#i;#s;constructor(e){super(),this.#s=!1,this.#i=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#r=e.client,this.#t=this.#r.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#e=kk(this.options),this.state=e.state??this.#e,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#a?.promise}setOptions(e){if(this.options={...this.#i,...e},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const t=kk(this.options);t.data!==void 0&&(this.setState(Sk(t.data,t.dataUpdatedAt)),this.#e=t)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#t.remove(this)}setData(e,t){const n=rB(this.state.data,e,this.options);return this.#o({data:n,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e,t){this.#o({type:"setState",state:e,setStateOptions:t})}cancel(e){const t=this.#a?.promise;return this.#a?.cancel(e),t?t.then(ea).catch(ea):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#e}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>tB(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===lg||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>yy(e.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e==="static"?!1:this.state.isInvalidated?!0:!eB(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(t=>t.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#a?.continue()}onOnline(){this.observers.find(t=>t.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#a?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#t.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#a&&(this.#s||this.#l()?this.#a.cancel({revert:!0}):this.#a.cancelRetry()),this.scheduleGc()),this.#t.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}#l(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"}invalidate(){this.state.isInvalidated||this.#o({type:"invalidate"})}async fetch(e,t){if(this.state.fetchStatus!=="idle"&&this.#a?.status()!=="rejected"){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#a)return this.#a.continueRetry(),this.#a.promise}if(e&&this.setOptions(e),!this.options.queryFn){const u=this.observers.find(h=>h.options.queryFn);u&&this.setOptions(u.options)}const n=new AbortController,r=u=>{Object.defineProperty(u,"signal",{enumerable:!0,get:()=>(this.#s=!0,n.signal)})},s=()=>{const u=gE(this.options,t),f=(()=>{const p={client:this.#r,queryKey:this.queryKey,meta:this.meta};return r(p),p})();return this.#s=!1,this.options.persister?this.options.persister(u,f,this):u(f)},c=(()=>{const u={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#r,state:this.state,fetchFn:s};return r(u),u})();this.options.behavior?.onFetch(c,this),this.#n=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==c.fetchOptions?.meta)&&this.#o({type:"fetch",meta:c.fetchOptions?.meta}),this.#a=wE({initialPromise:t?.initialPromise,fn:c.fetchFn,onCancel:u=>{u instanceof by&&u.revert&&this.setState({...this.#n,fetchStatus:"idle"}),n.abort()},onFail:(u,h)=>{this.#o({type:"failed",failureCount:u,error:h})},onPause:()=>{this.#o({type:"pause"})},onContinue:()=>{this.#o({type:"continue"})},retry:c.options.retry,retryDelay:c.options.retryDelay,networkMode:c.options.networkMode,canRun:()=>!0});try{const u=await this.#a.start();if(u===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(u),this.#t.config.onSuccess?.(u,this),this.#t.config.onSettled?.(u,this.state.error,this),u}catch(u){if(u instanceof by){if(u.silent)return this.#a.promise;if(u.revert){if(this.state.data===void 0)throw u;return this.state.data}}throw this.#o({type:"error",error:u}),this.#t.config.onError?.(u,this),this.#t.config.onSettled?.(this.state.data,u,this),u}finally{this.scheduleGc()}}#o(e){const t=n=>{switch(e.type){case"failed":return{...n,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...n,fetchStatus:"paused"};case"continue":return{...n,fetchStatus:"fetching"};case"fetch":return{...n,...pB(n.data,this.options),fetchMeta:e.meta??null};case"success":const r={...n,...Sk(e.data,e.dataUpdatedAt),dataUpdateCount:n.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#n=e.manual?r:void 0,r;case"error":const s=e.error;return{...n,error:s,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchFailureReason:s,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...n,isInvalidated:!0};case"setState":return{...n,...e.state}}};this.state=t(this.state),Qt.batch(()=>{this.observers.forEach(n=>{n.onQueryUpdate()}),this.#t.notify({query:this,type:"updated",action:e})})}};function pB(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:vE(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function Sk(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function kk(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}function _k(e){return{onFetch:(t,n)=>{const r=t.options,s=t.fetchOptions?.meta?.fetchMore?.direction,o=t.state.data?.pages||[],c=t.state.data?.pageParams||[];let u={pages:[],pageParams:[]},h=0;const f=async()=>{let p=!1;const y=k=>{oB(k,()=>t.signal,()=>p=!0)},b=gE(t.options,t.fetchOptions),v=async(k,w,E)=>{if(p)return Promise.reject();if(w==null&&k.pages.length)return Promise.resolve(k);const A=(()=>{const D={client:t.client,queryKey:t.queryKey,pageParam:w,direction:E?"backward":"forward",meta:t.options.meta};return y(D),D})(),C=await b(A),{maxPages:P}=t.options,K=E?sB:iB;return{pages:K(k.pages,C,P),pageParams:K(k.pageParams,w,P)}};if(s&&o.length){const k=s==="backward",w=k?mB:xk,E={pages:o,pageParams:c},_=w(r,E);u=await v(E,_,k)}else{const k=e??o.length;do{const w=h===0?c[0]??r.initialPageParam:xk(r,u);if(h>0&&w==null)break;u=await v(u,w),h++}while(h<k)}return u};t.options.persister?t.fetchFn=()=>t.options.persister?.(f,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=f}}}function xk(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function mB(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}var yB=class extends SE{#e;#n;#t;#r;constructor(e){super(),this.#e=e.client,this.mutationId=e.mutationId,this.#t=e.mutationCache,this.#n=[],this.state=e.state||gB(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#n.includes(e)||(this.#n.push(e),this.clearGcTimeout(),this.#t.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#n=this.#n.filter(t=>t!==e),this.scheduleGc(),this.#t.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#n.length||(this.state.status==="pending"?this.scheduleGc():this.#t.remove(this))}continue(){return this.#r?.continue()??this.execute(this.state.variables)}async execute(e){const t=()=>{this.#a({type:"continue"})},n={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#r=wE({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(new Error("No mutationFn found")),onFail:(o,c)=>{this.#a({type:"failed",failureCount:o,error:c})},onPause:()=>{this.#a({type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#t.canRun(this)});const r=this.state.status==="pending",s=!this.#r.canStart();try{if(r)t();else{this.#a({type:"pending",variables:e,isPaused:s}),this.#t.config.onMutate&&await this.#t.config.onMutate(e,this,n);const c=await this.options.onMutate?.(e,n);c!==this.state.context&&this.#a({type:"pending",context:c,variables:e,isPaused:s})}const o=await this.#r.start();return await this.#t.config.onSuccess?.(o,e,this.state.context,this,n),await this.options.onSuccess?.(o,e,this.state.context,n),await this.#t.config.onSettled?.(o,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(o,null,e,this.state.context,n),this.#a({type:"success",data:o}),o}catch(o){try{await this.#t.config.onError?.(o,e,this.state.context,this,n)}catch(c){Promise.reject(c)}try{await this.options.onError?.(o,e,this.state.context,n)}catch(c){Promise.reject(c)}try{await this.#t.config.onSettled?.(void 0,o,this.state.variables,this.state.context,this,n)}catch(c){Promise.reject(c)}try{await this.options.onSettled?.(void 0,o,e,this.state.context,n)}catch(c){Promise.reject(c)}throw this.#a({type:"error",error:o}),o}finally{this.#t.runNext(this)}}#a(e){const t=n=>{switch(e.type){case"failed":return{...n,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...n,isPaused:!0};case"continue":return{...n,isPaused:!1};case"pending":return{...n,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...n,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...n,data:void 0,error:e.error,failureCount:n.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=t(this.state),Qt.batch(()=>{this.#n.forEach(n=>{n.onMutationUpdate(e)}),this.#t.notify({mutation:this,type:"updated",action:e})})}};function gB(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var bB=class extends mh{constructor(e={}){super(),this.config=e,this.#e=new Set,this.#n=new Map,this.#t=0}#e;#n;#t;build(e,t,n){const r=new yB({client:e,mutationCache:this,mutationId:++this.#t,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){this.#e.add(e);const t=ed(e);if(typeof t=="string"){const n=this.#n.get(t);n?n.push(e):this.#n.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#e.delete(e)){const t=ed(e);if(typeof t=="string"){const n=this.#n.get(t);if(n)if(n.length>1){const r=n.indexOf(e);r!==-1&&n.splice(r,1)}else n[0]===e&&this.#n.delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){const t=ed(e);if(typeof t=="string"){const r=this.#n.get(t)?.find(s=>s.state.status==="pending");return!r||r===e}else return!0}runNext(e){const t=ed(e);return typeof t=="string"?this.#n.get(t)?.find(r=>r!==e&&r.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){Qt.batch(()=>{this.#e.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#e.clear(),this.#n.clear()})}getAll(){return Array.from(this.#e)}find(e){const t={exact:!0,...e};return this.getAll().find(n=>bk(t,n))}findAll(e={}){return this.getAll().filter(t=>bk(e,t))}notify(e){Qt.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){const e=this.getAll().filter(t=>t.state.isPaused);return Qt.batch(()=>Promise.all(e.map(t=>t.continue().catch(ea))))}};function ed(e){return e.options.scope?.id}var vB=class extends mh{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,t,n){const r=t.queryKey,s=t.queryHash??og(r,t);let o=this.get(s);return o||(o=new fB({client:e,queryKey:r,queryHash:s,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(r)}),this.add(o)),o}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const t=this.#e.get(e.queryHash);t&&(e.destroy(),t===e&&this.#e.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){Qt.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){const t={exact:!0,...e};return this.getAll().find(n=>gk(t,n))}findAll(e={}){const t=this.getAll();return Object.keys(e).length>0?t.filter(n=>gk(e,n)):t}notify(e){Qt.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){Qt.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){Qt.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},wB=class{#e;#n;#t;#r;#a;#i;#s;#l;constructor(e={}){this.#e=e.queryCache||new vB,this.#n=e.mutationCache||new bB,this.#t=e.defaultOptions||{},this.#r=new Map,this.#a=new Map,this.#i=0}mount(){this.#i++,this.#i===1&&(this.#s=mE.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#l=Yd.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#i--,this.#i===0&&(this.#s?.(),this.#s=void 0,this.#l?.(),this.#l=void 0)}isFetching(e){return this.#e.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#n.findAll({...e,status:"pending"}).length}getQueryData(e){const t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=this.#e.build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(yy(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return this.#e.findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),o=this.#e.get(r.queryHash)?.state.data,c=XM(t,o);if(c!==void 0)return this.#e.build(this,r).setData(c,{...n,manual:!0})}setQueriesData(e,t,n){return Qt.batch(()=>this.#e.findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){const t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state}removeQueries(e){const t=this.#e;Qt.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=this.#e;return Qt.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=Qt.batch(()=>this.#e.findAll(e).map(s=>s.cancel(n)));return Promise.all(r).then(ea).catch(ea)}invalidateQueries(e,t={}){return Qt.batch(()=>(this.#e.findAll(e).forEach(n=>{n.invalidate()}),e?.refetchType==="none"?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=Qt.batch(()=>this.#e.findAll(e).filter(s=>!s.isDisabled()&&!s.isStatic()).map(s=>{let o=s.fetch(void 0,n);return n.throwOnError||(o=o.catch(ea)),s.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(r).then(ea)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=this.#e.build(this,t);return n.isStaleByTime(yy(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(ea).catch(ea)}fetchInfiniteQuery(e){return e.behavior=_k(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(ea).catch(ea)}ensureInfiniteQueryData(e){return e.behavior=_k(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Yd.isOnline()?this.#n.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#n}getDefaultOptions(){return this.#t}setDefaultOptions(e){this.#t=e}setQueryDefaults(e,t){this.#r.set(sc(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...this.#r.values()],n={};return t.forEach(r=>{oc(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){this.#a.set(sc(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...this.#a.values()],n={};return t.forEach(r=>{oc(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...this.#t.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=og(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===lg&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#t.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#e.clear(),this.#n.clear()}},kE=N.createContext(void 0),AW=e=>{const t=N.useContext(kE);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},SB=({client:e,children:t})=>(N.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),x.jsx(kE.Provider,{value:e,children:t}));const _E=(...e)=>
vendor: 5,212 bytes, line 56
56e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();const kB=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();const _B=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,n,r)=>r?r.toUpperCase():n.toLowerCase());const Ek=e=>{const t=_B(e);return t.charAt(0).toUpperCase()+t.slice(1)};var xB={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const EB=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0;return!1};const RB=N.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:s="",children:o,iconNode:c,...u},h)=>N.createElement("svg",{ref:h,...xB,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:_E("lucide",s),...!o&&!EB(u)&&{"aria-hidden":"true"},...u},[...c.map(([f,p])=>N.createElement(f,p)),...Array.isArray(o)?o:[o]]));const Kn=(e,t)=>{const n=N.forwardRef(({className:r,...s},o)=>N.createElement(RB,{ref:o,iconNode:t,className:_E(`lucide-${kB(Ek(e))}`,`lucide-${e}`,r),...s}));return n.displayName=Ek(e),n};const CB=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],AB=Kn("external-link",CB);const TB=[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]],OB=Kn("facebook",TB);const NB=[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]],DB=Kn("instagram",NB);const IB=[["path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z",key:"c2jq9f"}],["rect",{width:"4",height:"12",x:"2",y:"9",key:"mk3on5"}],["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}]],PB=Kn("linkedin",IB);const jB=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],Rk=Kn("loader-circle",jB);const LB=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]],MB=Kn("map-pin",LB);const BB=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],$B=Kn("menu",BB);const zB=[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}]],xE=Kn("message-circle",zB);const HB=[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]],UB=Kn("phone",HB);const KB=[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]],VB=Kn("send",KB);const FB=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],yh=Kn("x",FB);const qB=[["path",{d:"M2.5 17a24.12 24.12 0 0 1 0-10 2 2 0 0 1 1.4-1.4 49.56 49.56 0 0 1 16.2 0A2 2 0 0 1 21.5 7a24.12 24.12 0 0 1 0 10 2 2 0 0 1-1.4 1.4 49.55 49.55 0 0 1-16.2 0A2 2 0 0 1 2.5 17",key:"1q2vi4"}],["path",{d:"m10 15 5-3-5-3z",key:"1jp15x"}]],GB=Kn("youtube",qB);function EE(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(n=EE(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function WB(){for(var e,t,n=0,r="",s=arguments.length;n<s;n++)(e=arguments[n])&&(t=EE(e))&&(r&&(r+=" "),r+=t);return r}const YB=(e,t)=>{const n=new Array(e.length+t.length);for(let r=0;r<e.length;r++)n[r]=e[r];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n},JB=(e,t)=>({classGroupId:e,validator:t}),RE=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),Jd="-",Ck=[],QB="arbitrary..",XB=e=>{const t=e4(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:c=>{if(c.startsWith("[")&&c.endsWith("]"))return ZB(c);const u=c.split(Jd),h=u[0]===""&&u.length>1?1:0;return CE(u,h,t)},getConflictingClassGroupIds:(c,u)=>{if(u){const h=r[c],f=n[c];return h?f?YB(f,h):h:f||Ck}return n[c]||Ck}}},CE=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;const s=e[t],o=n.nextPart.get(s);if(o){const f=CE(e,t+1,o);if(f)return f}const c=n.validators;if(c===null)return;const u=t===0?e.join(Jd):e.slice(t).join(Jd),h=c.length;for(let f=0;f<h;f++){const p=c[f];if(p.validator(u))return p.classGroupId}},ZB=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),n=t.indexOf(":"),r=t.slice(0,n);return r?QB+r:void 0})(),e4=e=>{const{theme:t,classGroups:n}=e;return t4(n,t)},t4=(e,t)=>{const n=RE();for(const r in e){const s=e[r];cg(s,n,r,t)}return n},cg=(e,t,n,r)=>{const s=e.length;for(let o=0;o<s;o++){const c=e[o];n4(c,t,n,r)}},n4=(e,t,n,r)=>{if(typeof e=="string"){a4(e,t,n);return}if(typeof e=="function"){r4(e,t,n,r);return}i4(e,t,n,r)}
vendor: 6,799 bytes, line 56
56,a4=(e,t,n)=>{const r=e===""?t:AE(t,e);r.classGroupId=n},r4=(e,t,n,r)=>{if(s4(e)){cg(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(JB(n,e))},i4=(e,t,n,r)=>{const s=Object.entries(e),o=s.length;for(let c=0;c<o;c++){const[u,h]=s[c];cg(h,AE(t,u),n,r)}},AE=(e,t)=>{let n=e;const r=t.split(Jd),s=r.length;for(let o=0;o<s;o++){const c=r[o];let u=n.nextPart.get(c);u||(u=RE(),n.nextPart.set(c,u)),n=u}return n},s4=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,o4=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null);const s=(o,c)=>{n[o]=c,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(o){let c=n[o];if(c!==void 0)return c;if((c=r[o])!==void 0)return s(o,c),c},set(o,c){o in n?n[o]=c:s(o,c)}}},vy="!",Ak=":",l4=[],Tk=(e,t,n,r,s)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:s}),c4=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=s=>{const o=[];let c=0,u=0,h=0,f;const p=s.length;for(let w=0;w<p;w++){const E=s[w];if(c===0&&u===0){if(E===Ak){o.push(s.slice(h,w)),h=w+1;continue}if(E==="/"){f=w;continue}}E==="["?c++:E==="]"?c--:E==="("?u++:E===")"&&u--}const y=o.length===0?s:s.slice(h);let b=y,v=!1;y.endsWith(vy)?(b=y.slice(0,-1),v=!0):y.startsWith(vy)&&(b=y.slice(1),v=!0);const k=f&&f>h?f-h:void 0;return Tk(o,v,b,k)};if(t){const s=t+Ak,o=r;r=c=>c.startsWith(s)?o(c.slice(s.length)):Tk(l4,!1,c,void 0,!0)}if(n){const s=r;r=o=>n({className:o,parseClassName:s})}return r},u4=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((n,r)=>{t.set(n,1e6+r)}),n=>{const r=[];let s=[];for(let o=0;o<n.length;o++){const c=n[o],u=c[0]==="[",h=t.has(c);u||h?(s.length>0&&(s.sort(),r.push(...s),s=[]),r.push(c)):s.push(c)}return s.length>0&&(s.sort(),r.push(...s)),r}},d4=e=>({cache:o4(e.cacheSize),parseClassName:c4(e),sortModifiers:u4(e),...XB(e)}),h4=/\s+/,f4=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:s,sortModifiers:o}=t,c=[],u=e.trim().split(h4);let h="";for(let f=u.length-1;f>=0;f-=1){const p=u[f],{isExternal:y,modifiers:b,hasImportantModifier:v,baseClassName:k,maybePostfixModifierPosition:w}=n(p);if(y){h=p+(h.length>0?" "+h:h);continue}let E=!!w,_=r(E?k.substring(0,w):k);if(!_){if(!E){h=p+(h.length>0?" "+h:h);continue}if(_=r(k),!_){h=p+(h.length>0?" "+h:h);continue}E=!1}const A=b.length===0?"":b.length===1?b[0]:o(b).join(":"),C=v?A+vy:A,P=C+_;if(c.indexOf(P)>-1)continue;c.push(P);const K=s(_,E);for(let D=0;D<K.length;++D){const I=K[D];c.push(C+I)}h=p+(h.length>0?" "+h:h)}return h},p4=(...e)=>{let t=0,n,r,s="";for(;t<e.length;)(n=e[t++])&&(r=TE(n))&&(s&&(s+=" "),s+=r);return s},TE=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=TE(e[r]))&&(n&&(n+=" "),n+=t);return n},m4=(e,...t)=>{let n,r,s,o;const c=h=>{const f=t.reduce((p,y)=>y(p),e());return n=d4(f),r=n.cache.get,s=n.cache.set,o=u,u(h)},u=h=>{const f=r(h);if(f)return f;const p=f4(h,n);return s(h,p),p};return o=c,(...h)=>o(p4(...h))},y4=[],Ot=e=>{const t=n=>n[e]||y4;return t.isThemeGetter=!0,t},OE=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,NE=/^\((?:(\w[\w-]*):)?(.+)\)$/i,g4=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,b4=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,v4=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,w4=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,S4=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,k4=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Mr=e=>g4.test(e),je=e=>!!e&&!Number.isNaN(Number(e)),Br=e=>!!e&&Number.isInteger(Number(e)),ym=e=>e.endsWith("%")&&je(e.slice(0,-1)),Ga=e=>b4.test(e),DE=()=>!0,_4=e=>v4.test(e)&&!w4.test(e),ug=()=>!1,x4=e=>S4.test(e),E4=e=>k4.test(e),R4=e=>!be(e)&&!we(e),C4=e=>ti(e,jE,ug),be=e=>OE.test(e),Ei=e=>ti(e,LE,_4),Ok=e=>ti(e,j4,je),A4=e=>ti(e,BE,DE),T4=e=>ti(e,ME,ug),Nk=e=>ti(e,IE,ug),O4=e=>ti(e,PE,E4),td=e=>ti(e,$E,x4),we=e=>NE.test(e),wl=e=>$i(e,LE),N4=e=>$i(e,ME),Dk=e=>$i(e,IE),D4=e=>$i(e,jE),I4=e=>$i(e,PE),nd=e=>$i(e,$E,!0),P4=e=>$i(e,BE,!0),ti=(e,t,n)=>{const r=OE.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},$i=(e,t,n=!1)=>{const r=NE.exec(e);return r?r[1]?t(r[1]):n:!1},IE=e=>e==="position"||e==="percentage",PE=e=>e==="image"||e==="url",jE=e=>e==="length"||e==="size"||e==="bg-size",LE=e=>e==="length",j4=e=>e==="number",ME=e=>e==="family-name",BE=e=>e==="number"||e==="weight",$E=e=>e==="shadow",L4=()=>{const e=Ot("color"),t=Ot("font"),n=Ot("text"),r=Ot("font-weight"),s=Ot("tracking"),o=Ot("leading"),c=Ot("breakpoint"),u=Ot("container"),h=Ot("spacing"),f=Ot("radius"),p=Ot("shadow"),y=Ot("inset-shadow"),b=Ot("text-shadow"),v=Ot("drop-shadow"),k=Ot("blur"),w=Ot("perspective"),E=Ot("aspect"),_=Ot("ease"),A=Ot("animate"),C=()=>["auto","avoid","all","avoid-page","page","left","right","column"],P=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],K=()=>[...P(),we,be],D=()=>["auto","hidden","clip","visible","scroll"],I=()=>["auto","contain","none"],$=()=>[we,be,h],Y=()=>[Mr,"full","auto",...$()],re=()=>[Br,"none","subgrid",we,be],z=()=>["auto",{span:["full",Br,we,be]},Br,we,be],H=()=>[Br,"auto",we,be],te=()=>["auto","min","max","fr",we,be],Z=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],G=()=>["start","end","center","stretch","center-safe","end-safe"],M=()=>["auto",...$()],Q=()=>[Mr,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...$()],ie=()=>[Mr,"screen","full","dvw","lvw","svw","min","max","fit",...$()],Se=()=>[Mr,"screen","full","lh","dvh","lvh","svh","min","max","fit",...$()],T=()=>[e,we,be],L=()=>[...P(),Dk,Nk,{position:[we,be]}],J=()=>["no-repeat",{repeat:["","x","y","space","round"]}],O=()=>["auto","cover","contain",D4,C4,{size:[we,be]}],de=()=>[ym,wl,Ei],me=()=>["","none","full",f,we,be],fe=()=>["",je,wl,Ei],ye=()=>["solid","dashed","dotted","double"],Te=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],xe=()=>[je,ym,Dk,Nk],ht=()=>["","none",k,we,be],Ct=()=>["none",je,we,be],Dt=()=>["none",je,we,be],mn=()=>[je,we,be],Zt=()=>[Mr,"full",...$()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Ga],breakpoint:[Ga],color:[DE],container:[Ga],"drop-shadow":[Ga],ease:["in","out","in-out"],font:[R4],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Ga],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Ga
vendor: 6,250 bytes, line 56
56],shadow:[Ga],spacing:["px",je],text:[Ga],"text-shadow":[Ga],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Mr,be,we,E]}],container:["container"],columns:[{columns:[je,be,we,u]}],"break-after":[{"break-after":C()}],"break-before":[{"break-before":C()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:K()}],overflow:[{overflow:D()}],"overflow-x":[{"overflow-x":D()}],"overflow-y":[{"overflow-y":D()}],overscroll:[{overscroll:I()}],"overscroll-x":[{"overscroll-x":I()}],"overscroll-y":[{"overscroll-y":I()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:Y()}],"inset-x":[{"inset-x":Y()}],"inset-y":[{"inset-y":Y()}],start:[{"inset-s":Y(),start:Y()}],end:[{"inset-e":Y(),end:Y()}],"inset-bs":[{"inset-bs":Y()}],"inset-be":[{"inset-be":Y()}],top:[{top:Y()}],right:[{right:Y()}],bottom:[{bottom:Y()}],left:[{left:Y()}],visibility:["visible","invisible","collapse"],z:[{z:[Br,"auto",we,be]}],basis:[{basis:[Mr,"full","auto",u,...$()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[je,Mr,"auto","initial","none",be]}],grow:[{grow:["",je,we,be]}],shrink:[{shrink:["",je,we,be]}],order:[{order:[Br,"first","last","none",we,be]}],"grid-cols":[{"grid-cols":re()}],"col-start-end":[{col:z()}],"col-start":[{"col-start":H()}],"col-end":[{"col-end":H()}],"grid-rows":[{"grid-rows":re()}],"row-start-end":[{row:z()}],"row-start":[{"row-start":H()}],"row-end":[{"row-end":H()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":te()}],"auto-rows":[{"auto-rows":te()}],gap:[{gap:$()}],"gap-x":[{"gap-x":$()}],"gap-y":[{"gap-y":$()}],"justify-content":[{justify:[...Z(),"normal"]}],"justify-items":[{"justify-items":[...G(),"normal"]}],"justify-self":[{"justify-self":["auto",...G()]}],"align-content":[{content:["normal",...Z()]}],"align-items":[{items:[...G(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...G(),{baseline:["","last"]}]}],"place-content":[{"place-content":Z()}],"place-items":[{"place-items":[...G(),"baseline"]}],"place-self":[{"place-self":["auto",...G()]}],p:[{p:$()}],px:[{px:$()}],py:[{py:$()}],ps:[{ps:$()}],pe:[{pe:$()}],pbs:[{pbs:$()}],pbe:[{pbe:$()}],pt:[{pt:$()}],pr:[{pr:$()}],pb:[{pb:$()}],pl:[{pl:$()}],m:[{m:M()}],mx:[{mx:M()}],my:[{my:M()}],ms:[{ms:M()}],me:[{me:M()}],mbs:[{mbs:M()}],mbe:[{mbe:M()}],mt:[{mt:M()}],mr:[{mr:M()}],mb:[{mb:M()}],ml:[{ml:M()}],"space-x":[{"space-x":$()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":$()}],"space-y-reverse":["space-y-reverse"],size:[{size:Q()}],"inline-size":[{inline:["auto",...ie()]}],"min-inline-size":[{"min-inline":["auto",...ie()]}],"max-inline-size":[{"max-inline":["none",...ie()]}],"block-size":[{block:["auto",...Se()]}],"min-block-size":[{"min-block":["auto",...Se()]}],"max-block-size":[{"max-block":["none",...Se()]}],w:[{w:[u,"screen",...Q()]}],"min-w":[{"min-w":[u,"screen","none",...Q()]}],"max-w":[{"max-w":[u,"screen","none","prose",{screen:[c]},...Q()]}],h:[{h:["screen","lh",...Q()]}],"min-h":[{"min-h":["screen","lh","none",...Q()]}],"max-h":[{"max-h":["screen","lh",...Q()]}],"font-size":[{text:["base",n,wl,Ei]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,P4,A4]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",ym,be]}],"font-family":[{font:[N4,T4,t]}],"font-features":[{"font-features":[be]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[s,we,be]}],"line-clamp":[{"line-clamp":[je,"none",we,Ok]}],leading:[{leading:[o,...$()]}],"list-image":[{"list-image":["none",we,be]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",we,be]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:T()}],"text-color":[{text:T()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ye(),"wavy"]}],"text-decoration-thickness":[{decoration:[je,"from-font","auto",we,Ei]}],"text-decoration-color":[{decoration:T()}],"underline-offset":[{"underline-offset":[je,"auto",we,be]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:$()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",we,be]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",we,be]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:L()}],"bg-repeat":[{bg:J()}],"bg-size":[{bg:O()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Br,we,be],radial:["",we,be],conic:[Br,we,be]},I4,O4]}],"bg-color":[{bg:T()}
vendor: 7,436 bytes, line 56
56],"gradient-from-pos":[{from:de()}],"gradient-via-pos":[{via:de()}],"gradient-to-pos":[{to:de()}],"gradient-from":[{from:T()}],"gradient-via":[{via:T()}],"gradient-to":[{to:T()}],rounded:[{rounded:me()}],"rounded-s":[{"rounded-s":me()}],"rounded-e":[{"rounded-e":me()}],"rounded-t":[{"rounded-t":me()}],"rounded-r":[{"rounded-r":me()}],"rounded-b":[{"rounded-b":me()}],"rounded-l":[{"rounded-l":me()}],"rounded-ss":[{"rounded-ss":me()}],"rounded-se":[{"rounded-se":me()}],"rounded-ee":[{"rounded-ee":me()}],"rounded-es":[{"rounded-es":me()}],"rounded-tl":[{"rounded-tl":me()}],"rounded-tr":[{"rounded-tr":me()}],"rounded-br":[{"rounded-br":me()}],"rounded-bl":[{"rounded-bl":me()}],"border-w":[{border:fe()}],"border-w-x":[{"border-x":fe()}],"border-w-y":[{"border-y":fe()}],"border-w-s":[{"border-s":fe()}],"border-w-e":[{"border-e":fe()}],"border-w-bs":[{"border-bs":fe()}],"border-w-be":[{"border-be":fe()}],"border-w-t":[{"border-t":fe()}],"border-w-r":[{"border-r":fe()}],"border-w-b":[{"border-b":fe()}],"border-w-l":[{"border-l":fe()}],"divide-x":[{"divide-x":fe()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":fe()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ye(),"hidden","none"]}],"divide-style":[{divide:[...ye(),"hidden","none"]}],"border-color":[{border:T()}],"border-color-x":[{"border-x":T()}],"border-color-y":[{"border-y":T()}],"border-color-s":[{"border-s":T()}],"border-color-e":[{"border-e":T()}],"border-color-bs":[{"border-bs":T()}],"border-color-be":[{"border-be":T()}],"border-color-t":[{"border-t":T()}],"border-color-r":[{"border-r":T()}],"border-color-b":[{"border-b":T()}],"border-color-l":[{"border-l":T()}],"divide-color":[{divide:T()}],"outline-style":[{outline:[...ye(),"none","hidden"]}],"outline-offset":[{"outline-offset":[je,we,be]}],"outline-w":[{outline:["",je,wl,Ei]}],"outline-color":[{outline:T()}],shadow:[{shadow:["","none",p,nd,td]}],"shadow-color":[{shadow:T()}],"inset-shadow":[{"inset-shadow":["none",y,nd,td]}],"inset-shadow-color":[{"inset-shadow":T()}],"ring-w":[{ring:fe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:T()}],"ring-offset-w":[{"ring-offset":[je,Ei]}],"ring-offset-color":[{"ring-offset":T()}],"inset-ring-w":[{"inset-ring":fe()}],"inset-ring-color":[{"inset-ring":T()}],"text-shadow":[{"text-shadow":["none",b,nd,td]}],"text-shadow-color":[{"text-shadow":T()}],opacity:[{opacity:[je,we,be]}],"mix-blend":[{"mix-blend":[...Te(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Te()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[je]}],"mask-image-linear-from-pos":[{"mask-linear-from":xe()}],"mask-image-linear-to-pos":[{"mask-linear-to":xe()}],"mask-image-linear-from-color":[{"mask-linear-from":T()}],"mask-image-linear-to-color":[{"mask-linear-to":T()}],"mask-image-t-from-pos":[{"mask-t-from":xe()}],"mask-image-t-to-pos":[{"mask-t-to":xe()}],"mask-image-t-from-color":[{"mask-t-from":T()}],"mask-image-t-to-color":[{"mask-t-to":T()}],"mask-image-r-from-pos":[{"mask-r-from":xe()}],"mask-image-r-to-pos":[{"mask-r-to":xe()}],"mask-image-r-from-color":[{"mask-r-from":T()}],"mask-image-r-to-color":[{"mask-r-to":T()}],"mask-image-b-from-pos":[{"mask-b-from":xe()}],"mask-image-b-to-pos":[{"mask-b-to":xe()}],"mask-image-b-from-color":[{"mask-b-from":T()}],"mask-image-b-to-color":[{"mask-b-to":T()}],"mask-image-l-from-pos":[{"mask-l-from":xe()}],"mask-image-l-to-pos":[{"mask-l-to":xe()}],"mask-image-l-from-color":[{"mask-l-from":T()}],"mask-image-l-to-color":[{"mask-l-to":T()}],"mask-image-x-from-pos":[{"mask-x-from":xe()}],"mask-image-x-to-pos":[{"mask-x-to":xe()}],"mask-image-x-from-color":[{"mask-x-from":T()}],"mask-image-x-to-color":[{"mask-x-to":T()}],"mask-image-y-from-pos":[{"mask-y-from":xe()}],"mask-image-y-to-pos":[{"mask-y-to":xe()}],"mask-image-y-from-color":[{"mask-y-from":T()}],"mask-image-y-to-color":[{"mask-y-to":T()}],"mask-image-radial":[{"mask-radial":[we,be]}],"mask-image-radial-from-pos":[{"mask-radial-from":xe()}],"mask-image-radial-to-pos":[{"mask-radial-to":xe()}],"mask-image-radial-from-color":[{"mask-radial-from":T()}],"mask-image-radial-to-color":[{"mask-radial-to":T()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":P()}],"mask-image-conic-pos":[{"mask-conic":[je]}],"mask-image-conic-from-pos":[{"mask-conic-from":xe()}],"mask-image-conic-to-pos":[{"mask-conic-to":xe()}],"mask-image-conic-from-color":[{"mask-conic-from":T()}],"mask-image-conic-to-color":[{"mask-conic-to":T()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:L()}],"mask-repeat":[{mask:J()}],"mask-size":[{mask:O()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",we,be]}],filter:[{filter:["","none",we,be]}],blur:[{blur:ht()}],brightness:[{brightness:[je,we,be]}],contrast:[{contrast:[je,we,be]}],"drop-shadow":[{"drop-shadow":["","none",v,nd,td]}],"drop-shadow-color":[{"drop-shadow":T()}],grayscale:[{grayscale:["",je,we,be]}],"hue-rotate":[{"hue-rotate":[je,we,be]}],invert:[{invert:["",je,we,be]}],saturate:[{saturate:[je,we,be]}],sepia:[{sepia:["",je,we,be]}],"backdrop-filter":[{"backdrop-filter":["","none",we,be]}],"backdrop-blur":[{"backdrop-blur":ht()}],"backdrop-brightness":[{"backdrop-brightness":[je,we,be]}],"backdrop-contrast":[{"backdrop-contrast":[je,we,be]}],"backdrop-grayscale":[{"backdrop-grayscale":["",je,we,be]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[je,we,be]}],"backdrop-invert":[{"backdrop-invert":["",je,we,be]}],"backdrop-opacity":[{"backdrop-opacity":[je,we,be]}],"backdrop-saturate":[{"backdrop-saturate":[je,we,be]}],"backdrop-sepia":[{"backdrop-sepia":["",je,we,be]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":$()}],"border-spacing-x":[{"border-spacing-x":$()}],"border-spacing-y":[{"border-spacing-y":$()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",we,be]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[je,"initial",we,be]}],ease:[{ease:["linear","initial",_,we,be]}],delay:[{delay:[je,we,be]}],animate:[{animate:["none",A,we,be]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[w,we,be]}],"perspective-origin":[{"perspective-origin":K()}],rotate:[{rotate:Ct()}],"rotate-x":[{"rotate-x":Ct()}],"rotate-y":[{"rotate-y":Ct()}],"rotate-z":[{"rotate-z":Ct()}],scale:[{scale:Dt()}],"scale-x":[{"scale-x":Dt()}],"scale-y":[{"scale-y":Dt()}],"scale-z":[{"scale-z":Dt()}],"scale-3d":["scale-3d"],skew:[{skew:mn()}],"skew-x":[{"skew-x":mn()}],"skew-y":[{"skew-y":mn()}],transform:[{transform:[we,be,"","none","gpu","cpu"]}],"transform-origin":[{origin:K()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Zt()}],"translate-x":[{"translate-x":Zt()}],"translate-y":[{"translate-y":Zt()}],"translate-z":[{"translate-z":Zt()}],"translate-none":["translate-none"],accent:[{accent:T()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:T()}
vendor: 18,084 bytes, line 56
56],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",we,be]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":$()}],"scroll-mx":[{"scroll-mx":$()}],"scroll-my":[{"scroll-my":$()}],"scroll-ms":[{"scroll-ms":$()}],"scroll-me":[{"scroll-me":$()}],"scroll-mbs":[{"scroll-mbs":$()}],"scroll-mbe":[{"scroll-mbe":$()}],"scroll-mt":[{"scroll-mt":$()}],"scroll-mr":[{"scroll-mr":$()}],"scroll-mb":[{"scroll-mb":$()}],"scroll-ml":[{"scroll-ml":$()}],"scroll-p":[{"scroll-p":$()}],"scroll-px":[{"scroll-px":$()}],"scroll-py":[{"scroll-py":$()}],"scroll-ps":[{"scroll-ps":$()}],"scroll-pe":[{"scroll-pe":$()}],"scroll-pbs":[{"scroll-pbs":$()}],"scroll-pbe":[{"scroll-pbe":$()}],"scroll-pt":[{"scroll-pt":$()}],"scroll-pr":[{"scroll-pr":$()}],"scroll-pb":[{"scroll-pb":$()}],"scroll-pl":[{"scroll-pl":$()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",we,be]}],fill:[{fill:["none",...T()]}],"stroke-w":[{stroke:[je,wl,Ei,Ok]}],stroke:[{stroke:["none",...T()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},M4=m4(L4);function ni(...e){return M4(WB(e))}const vt={established:2014,address:{line1:"Sky City, Level 1, A115",line2:"20 Lexington Drive",suburb:"Bella Vista NSW 2153"},phone:"(02) 8824 7944",phoneHref:"tel:+61288247944",mobile:"0410 819 400",mobileHref:"tel:+61410819400",email:"[email protected]",emailHref:"mailto:[email protected]",pressEmail:"[email protected]",pressEmailHref:"mailto:[email protected]",eventsEmailHref:"mailto:[email protected]?subject=Catering%20Enquiry",reservationHref:"https://bookings.wowapps.com/make-booking/kebabiya",uberEats:"https://orders.wowapps.com/order/kebabiya",giftCardHref:"https://app.squareup.com/gift/MLBCAZRG5J9W1/order",loyaltyHref:"https://app.squareup.com/loyalty/MLBCAZRG5J9W1",delivery:[{name:"Order Direct",href:"https://orders.wowapps.com/order/kebabiya",note:"Best price — no platform fees"},{name:"Uber Eats",href:"https://www.ubereats.com/au/store/kebabiya-bella-vista",note:"Fastest in most suburbs"},{name:"DoorDash",href:"https://www.doordash.com/store/kebabiya-bella-vista",note:"Free delivery for DashPass"}],socials:{instagram:"https://instagram.com/kebabiya",facebook:"https://www.facebook.com/kkebabiya",tiktok:"https://www.tiktok.com/@kebabiya_australiaa",youtube:"https://www.youtube.com/@kebabiya",linkedin:"https://www.linkedin.com/company/kebabiya",whatsapp:"https://wa.me/61433054219?text=Hi%20Kebabiya"},hours:[{d:"Tues – Friday",t:"Lunch 12 noon – 3 pm"},{d:"Mon – Thu",t:"Dinner 5:30 pm – 9 pm"},{d:"Fri",t:"Dinner 5:30 pm – 10 pm"},{d:"Sat",t:"12 noon – 10 pm"},{d:"Sun",t:"12 noon – 9 pm"}]},Ik=[{to:"/menu",label:"Menu"},{to:"/platters",label:"Platters"},{to:"/drinks",label:"Drinks"},{to:"/catering",label:"Catering"},{to:"/locations",label:"Locations"},{to:"/gift-cards",label:"Gift Cards"}];function An(e,t,{checkForDefaultPrevented:n=!0}={}){return function(s){if(e?.(s),n===!1||!s.defaultPrevented)return t?.(s)}}function Pk(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function gh(...e){return t=>{let n=!1;const r=e.map(s=>{const o=Pk(s,t);return!n&&typeof o=="function"&&(n=!0),o});if(n)return()=>{for(let s=0;s<r.length;s++){const o=r[s];typeof o=="function"?o():Pk(e[s],null)}}}}function sa(...e){return N.useCallback(gh(...e),e)}function B4(e,t){const n=N.createContext(t),r=o=>{const{children:c,...u}=o,h=N.useMemo(()=>u,Object.values(u));return x.jsx(n.Provider,{value:h,children:c})};r.displayName=e+"Provider";function s(o){const c=N.useContext(n);if(c)return c;if(t!==void 0)return t;throw new Error(`\`${o}\` must be used within \`${e}\``)}return[r,s]}function dg(e,t=[]){let n=[];function r(o,c){const u=N.createContext(c),h=n.length;n=[...n,c];const f=y=>{const{scope:b,children:v,...k}=y,w=b?.[e]?.[h]||u,E=N.useMemo(()=>k,Object.values(k));return x.jsx(w.Provider,{value:E,children:v})};f.displayName=o+"Provider";function p(y,b){const v=b?.[e]?.[h]||u,k=N.useContext(v);if(k)return k;if(c!==void 0)return c;throw new Error(`\`${y}\` must be used within \`${o}\``)}return[f,p]}const s=()=>{const o=n.map(c=>N.createContext(c));return function(u){const h=u?.[e]||o;return N.useMemo(()=>({[`__scope${e}`]:{...u,[e]:h}}),[u,h])}};return s.scopeName=e,[r,$4(s,...t)]}function $4(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(o){const c=r.reduce((u,{useScope:h,scopeName:f})=>{const y=h(o)[`__scope${f}`];return{...u,...y}},{});return N.useMemo(()=>({[`__scope${t.scopeName}`]:c}),[c])}};return n.scopeName=t.scopeName,n}var Jr=globalThis?.document?N.useLayoutEffect:()=>{},z4=nx[" useId ".trim().toString()]||(()=>{}),H4=0;function Od(e){const[t,n]=N.useState(z4());return Jr(()=>{n(r=>r??String(H4++))},[e]),e||(t?`radix-${t}`:"")}var U4=nx[" useInsertionEffect ".trim().toString()]||Jr;function zE({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[s,o,c]=K4({defaultProp:t,onChange:n}),u=e!==void 0,h=u?e:s;{const p=N.useRef(e!==void 0);N.useEffect(()=>{const y=p.current;y!==u&&console.warn(`${r} is changing from ${y?"controlled":"uncontrolled"} to ${u?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),p.current=u},[u,r])}const f=N.useCallback(p=>{if(u){const y=V4(p)?p(e):p;y!==e&&c.current?.(y)}else o(p)},[u,e,o,c]);return[h,f]}function K4({defaultProp:e,onChange:t}){const[n,r]=N.useState(e),s=N.useRef(n),o=N.useRef(t);return U4(()=>{o.current=t},[t]),N.useEffect(()=>{s.current!==n&&(o.current?.(n),s.current=n)},[n,s]),[n,r,o]}function V4(e){return typeof e=="function"}var hg=ax();const F4=rh(hg);function q4(e){const t=G4(e),n=N.forwardRef((r,s)=>{const{children:o,...c}=r,u=N.Children.toArray(o),h=u.find(Y4);if(h){const f=h.props.children,p=u.map(y=>y===h?N.Children.count(f)>1?N.Children.only(null):N.isValidElement(f)?f.props.children:null:y);return x.jsx(t,{...c,ref:s,children:N.isValidElement(f)?N.cloneElement(f,void 0,p):null})}return x.jsx(t,{...c,ref:s,children:o})});return n.displayName=`${e}.Slot`,n}function G4(e){const t=N.forwardRef((n,r)=>{const{children:s,...o}=n;if(N.isValidElement(s)){const c=Q4(s),u=J4(o,s.props);return s.type!==N.Fragment&&(u.ref=r?gh(r,c):c),N.cloneElement(s,u)}return N.Children.count(s)>1?N.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var W4=Symbol("radix.slottable");function Y4(e){return N.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===W4}function J4(e,t){const n={...t};for(const r in t){const s=e[r],o=t[r];/^on[A-Z]/.test(r)?s&&o?n[r]=(...u)=>{const h=o(...u);return s(...u),h}:s&&(n[r]=s):r==="style"?n[r]={...s,...o}:r==="className"&&(n[r]=[s,o].filter(Boolean).join(" "))}return{...e,...n}}function Q4(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var X4=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],hn=X4.reduce((e,t)=>{const n=q4(`Primitive.${t}`),r=N.forwardRef((s,o)=>{const{asChild:c,...u}=s,h=c?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),x.jsx(h,{...u,ref:o})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function Z4(e,t){e&&hg.flushSync(()=>e.dispatchEvent(t))}function oo(e){const t=N.useRef(e);return N.useEffect(()=>{t.current=e}),N.useMemo(()=>(...n)=>t.current?.(...n),[])}function e$(e,t=globalThis?.document){const n=oo(e);N.useEffect(()=>{const r=s=>{s.key==="Escape"&&n(s)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var t$="DismissableLayer",wy="dismissableLayer.update",n$="dismissableLayer.pointerDownOutside",a$="dismissableLayer.focusOutside",jk,HE=N.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),fg=N.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:s,onFocusOutside:o,onInteractOutside:c,onDismiss:u,...h}=e,f=N.useContext(HE),[p,y]=N.useState(null),b=p?.ownerDocument??globalThis?.document,[,v]=N.useState({}),k=sa(t,I=>y(I)),w=Array.from(f.layers),[E]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),_=w.indexOf(E),A=p?w.indexOf(p):-1,C=f.layersWithOutsidePointerEventsDisabled.size>0,P=A>=_,K=s$(I=>{const $=I.target,Y=[...f.branches].some(re=>re.contains($));!P||Y||(s?.(I),c?.(I),I.defaultPrevented||u?.())},b),D=o$(I=>{const $=I.target;[...f.branches].some(re=>re.contains($))||(o?.(I),c?.(I),I.defaultPrevented||u?.())},b);return e$(I=>{A===f.layers.size-1&&(r?.(I),!I.defaultPrevented&&u&&(I.preventDefault(),u()))},b),N.useEffect(()=>{if(p)return n&&(f.layersWithOutsidePointerEventsDisabled.size===0&&(jk=b.body.style.pointerEvents,b.body.style.pointerEvents="none"),f.layersWithOutsidePointerEventsDisabled.add(p)),f.layers.add(p),Lk(),()=>{n&&f.layersWithOutsidePointerEventsDisabled.size===1&&(b.body.style.pointerEvents=jk)}},[p,b,n,f]),N.useEffect(()=>()=>{p&&(f.layers.delete(p),f.layersWithOutsidePointerEventsDisabled.delete(p),Lk())},[p,f]),N.useEffect(()=>{const I=()=>v({});return document.addEventListener(wy,I),()=>document.removeEventListener(wy,I)},[]),x.jsx(hn.div,{...h,ref:k,style:{pointerEvents:C?P?"auto":"none":void 0,...e.style},onFocusCapture:An(e.onFocusCapture,D.onFocusCapture),onBlurCapture:An(e.onBlurCapture,D.onBlurCapture),onPointerDownCapture:An(e.onPointerDownCapture,K.onPointerDownCapture)})});fg.displayName=t$;var r$="DismissableLayerBranch",i$=N.forwardRef((e,t)=>{const n=N.useContext(HE),r=N.useRef(null),s=sa(t,r);return N.useEffect(()=>{const o=r.current;if(o)return n.branches.add(o),()=>{n.branches.delete(o)}},[n.branches]),x.jsx(hn.div,{...e,ref:s})});i$.displayName=r$;function s$(e,t=globalThis?.document){const n=oo(e),r=N.useRef(!1),s=N.useRef(()=>{});return N.useEffect(()=>{const o=u=>{if(u.target&&!r.current){let h=function(){UE(n$,n,f,{discrete:!0})};const f={originalEvent:u};u.pointerType==="touch"?(t.removeEventListener("click",s.current),s.current=h,t.addEventListener("click",s.current,{once:!0})):h()}else t.removeEventListener("click",s.current);r.current=!1},c=window.setTimeout(()=>{t.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(c),t.removeEventListener("pointerdown",o),t.removeEventListener("click",s.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function o$(e,t=globalThis?.document){const n=oo(e),r=N.useRef(!1);return N.useEffect(()=>{const s=o=>{o.target&&!r.current&&UE(a$,n,{originalEvent:o},{discrete:!1})};return t.addEventListener("focusin",s),()=>t.removeEventListener("focusin",s)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Lk(){const e=new CustomEvent(wy);document.dispatchEvent(e)}function UE(e,t,n,{discrete:r}){const s=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&s.addEventListener(e,t,{once:!0}),r?Z4(s,o):s.dispatchEvent(o)}var gm="focusScope.autoFocusOnMount",bm="focusScope.autoFocusOnUnmount",Mk={bubbles:!1,cancelable:!0},l$="FocusScope",pg=N.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:s,onUnmountAutoFocus:o,...c}=e,[u,h]=N.useState(null),f=oo(s),p=oo(o),y=N.useRef(null),b=sa(t,w=>h(w)),v=N.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;N.useEffect(()=>{if(r){let w=function(C){if(v.paused||!u)return;const P=C.target;u.contains(P)?y.current=P:zr(y.current,{select:!0})},E=function(C){if(v.paused||!u)return;const P=C.relatedTarget;P!==null&&(u.contains(P)||zr(y.current,{select:!0}))},_=function(C){if(document.activeElement===document.body)for(const K of C)K.removedNodes.length>0&&zr(u)};document.addEventListener("focusin",w),document.addEventListener("focusout",E);const A=new MutationObserver(_);return u&&A.observe(u,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",w),document.removeEventListener("focusout",E),A.disconnect()}}},[r,u,v.paused]),N.useEffect(()=>{if(u){$k.add(v);const w=document.activeElement;if(!u.contains(w)){const _=new CustomEvent(gm,Mk);u.addEventListener(gm,f),u.dispatchEvent(_),_.defaultPrevented||(c$(p$(KE(u)),{select:!0}),document.activeElement===w&&zr(u))}return()=>{u.removeEventListener(gm,f),setTimeout(()=>{const _=new CustomEvent(bm,Mk);u.addEventListener(bm,p),u.dispatchEvent(_),_.defaultPrevented||zr(w??document.body,{select:!0}),u.removeEventListener(bm,p),$k.remove(v)},0)}}},[u,f,p,v]);const k=N.useCallback(w=>{if(!n&&!r||v.paused)return;const E=w.key==="Tab"&&!w.altKey&&!w.ctrlKey&&!w.metaKey,_=document.activeElement;if(E&&_){const A=w.currentTarget,[C,P]=u$(A);C&&P?!w.shiftKey&&_===P?(w.preventDefault(),n&&zr(C,{select:!0})):w.shiftKey&&_===C&&(w.preventDefault(),n&&zr(P,{select:!0})):_===A&&w.preventDefault()}},[n,r,v.paused]);return x.jsx(hn.div,{tabIndex:-1,...c,ref:b,onKeyDown:k})});pg.displayName=l$;function c$(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(zr(r,{select:t}),document.activeElement!==n)return}function u$(e){const t=KE(e),n=Bk(t,e),r=Bk(t.reverse(),e);return[n,r]}function KE(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const s=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||s?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Bk(e,t){for(const n of e)if(!d$(n,{upTo:t}))return n}function d$(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function h$(e){return e instanceof HTMLInputElement&&"select"in e}function zr(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&h$(e)&&t&&e.select()}}var $k=f$();function f$(){let e=[];return{add(t){const n=e[0];t!==n&&n?.pause(),e=zk(e,t),e.unshift(t)},remove(t){e=zk(e,t),e[0]?.resume()}}}function zk(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function p$(e){return e.filter(t=>t.tagName!=="A")}var m$="Portal",mg=N.forwardRef((e,t)=>
vendor: 4,571 bytes, line 56
56{const{container:n,...r}=e,[s,o]=N.useState(!1);Jr(()=>o(!0),[]);const c=n||s&&globalThis?.document?.body;return c?F4.createPortal(x.jsx(hn.div,{...r,ref:t}),c):null});mg.displayName=m$;function y$(e,t){return N.useReducer((n,r)=>t[n][r]??n,e)}var fo=e=>{const{present:t,children:n}=e,r=g$(t),s=typeof n=="function"?n({present:r.isPresent}):N.Children.only(n),o=sa(r.ref,b$(s));return typeof n=="function"||r.isPresent?N.cloneElement(s,{ref:o}):null};fo.displayName="Presence";function g$(e){const[t,n]=N.useState(),r=N.useRef(null),s=N.useRef(e),o=N.useRef("none"),c=e?"mounted":"unmounted",[u,h]=y$(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return N.useEffect(()=>{const f=ad(r.current);o.current=u==="mounted"?f:"none"},[u]),Jr(()=>{const f=r.current,p=s.current;if(p!==e){const b=o.current,v=ad(f);e?h("MOUNT"):v==="none"||f?.display==="none"?h("UNMOUNT"):h(p&&b!==v?"ANIMATION_OUT":"UNMOUNT"),s.current=e}},[e,h]),Jr(()=>{if(t){let f;const p=t.ownerDocument.defaultView??window,y=v=>{const w=ad(r.current).includes(CSS.escape(v.animationName));if(v.target===t&&w&&(h("ANIMATION_END"),!s.current)){const E=t.style.animationFillMode;t.style.animationFillMode="forwards",f=p.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=E)})}},b=v=>{v.target===t&&(o.current=ad(r.current))};return t.addEventListener("animationstart",b),t.addEventListener("animationcancel",y),t.addEventListener("animationend",y),()=>{p.clearTimeout(f),t.removeEventListener("animationstart",b),t.removeEventListener("animationcancel",y),t.removeEventListener("animationend",y)}}else h("ANIMATION_END")},[t,h]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:N.useCallback(f=>{r.current=f?getComputedStyle(f):null,n(f)},[])}}function ad(e){return e?.animationName||"none"}function b$(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var vm=0;function VE(){N.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??Hk()),document.body.insertAdjacentElement("beforeend",e[1]??Hk()),vm++,()=>{vm===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),vm--}},[])}function Hk(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var Nd="right-scroll-bar-position",Dd="width-before-scroll-bar",v$="with-scroll-bars-hidden",w$="--removed-body-scroll-bar-size";function wm(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function S$(e,t){var n=N.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var s=n.value;s!==r&&(n.value=r,n.callback(r,s))}}}})[0];return n.callback=t,n.facade}var k$=typeof window<"u"?N.useLayoutEffect:N.useEffect,Uk=new WeakMap;function _$(e,t){var n=S$(null,function(r){return e.forEach(function(s){return wm(s,r)})});return k$(function(){var r=Uk.get(n);if(r){var s=new Set(r),o=new Set(e),c=n.current;s.forEach(function(u){o.has(u)||wm(u,null)}),o.forEach(function(u){s.has(u)||wm(u,c)})}Uk.set(n,e)},[e]),n}function x$(e){return e}function E$(e,t){t===void 0&&(t=x$);var n=[],r=!1,s={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(o){var c=t(o,r);return n.push(c),function(){n=n.filter(function(u){return u!==c})}},assignSyncMedium:function(o){for(r=!0;n.length;){var c=n;n=[],c.forEach(o)}n={push:function(u){return o(u)},filter:function(){return n}}},assignMedium:function(o){r=!0;var c=[];if(n.length){var u=n;n=[],u.forEach(o),c=n}var h=function(){var p=c;c=[],p.forEach(o)},f=function(){return Promise.resolve().then(h)};f(),n={push:function(p){c.push(p),f()},filter:function(p){return c=c.filter(p),n}}}};return s}function R$(e){e===void 0&&(e={});var t=E$(null);return t.options=ba({async:!0,ssr:!1},e),t}var FE=function(e){var t=e.sideCar,n=uo(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return N.createElement(r,ba({},n))};
vendor: 4,936 bytes, lines 56-93
56FE.isSideCarExport=!0;function C$(e,t){return e.useMedium(t),FE}var qE=R$(),Sm=function(){},bh=N.forwardRef(function(e,t){var n=N.useRef(null),r=N.useState({onScrollCapture:Sm,onWheelCapture:Sm,onTouchMoveCapture:Sm}),s=r[0],o=r[1],c=e.forwardProps,u=e.children,h=e.className,f=e.removeScrollBar,p=e.enabled,y=e.shards,b=e.sideCar,v=e.noRelative,k=e.noIsolation,w=e.inert,E=e.allowPinchZoom,_=e.as,A=_===void 0?"div":_,C=e.gapMode,P=uo(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),K=b,D=_$([n,t]),I=ba(ba({},P),s);return N.createElement(N.Fragment,null,p&&N.createElement(K,{sideCar:qE,removeScrollBar:f,shards:y,noRelative:v,noIsolation:k,inert:w,setCallbacks:o,allowPinchZoom:!!E,lockRef:n,gapMode:C}),c?N.cloneElement(N.Children.only(u),ba(ba({},I),{ref:D})):N.createElement(A,ba({},I,{className:h,ref:D}),u))});bh.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};bh.classNames={fullWidth:Dd,zeroRight:Nd};var A$=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function T$(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=A$();return t&&e.setAttribute("nonce",t),e}function O$(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function N$(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var D$=function(){var e=0,t=null;return{add:function(n){e==0&&(t=T$())&&(O$(t,n),N$(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},I$=function(){var e=D$();return function(t,n){N.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},GE=function(){var e=I$(),t=function(n){var r=n.styles,s=n.dynamic;return e(r,s),null};return t},P$={left:0,top:0,right:0,gap:0},km=function(e){return parseInt(e||"",10)||0},j$=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],s=t[e==="padding"?"paddingRight":"marginRight"];return[km(n),km(r),km(s)]},L$=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return P$;var t=j$(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},M$=GE(),ao="data-scroll-locked",B$=function(e,t,n,r){var s=e.left,o=e.top,c=e.right,u=e.gap;return n===void 0&&(n="margin"),`
57  .`.concat(v$,` {
58   overflow: hidden `).concat(r,`;
59   padding-right: `).concat(u,"px ").concat(r,`;
60  }
61  body[`).concat(ao,`] {
62    overflow: hidden `).concat(r,`;
63    overscroll-behavior: contain;
64    `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
65    padding-left: `.concat(s,`px;
66    padding-top: `).concat(o,`px;
67    padding-right: `).concat(c,`px;
68    margin-left:0;
69    margin-top:0;
70    margin-right: `).concat(u,"px ").concat(r,`;
71    `),n==="padding"&&"padding-right: ".concat(u,"px ").concat(r,";")].filter(Boolean).join(""),`
72  }
73  
74  .`).concat(Nd,` {
75    right: `).concat(u,"px ").concat(r,`;
76  }
77  
78  .`).concat(Dd,` {
79    margin-right: `).concat(u,"px ").concat(r,`;
80  }
81  
82  .`).concat(Nd," .").concat(Nd,` {
83    right: 0 `).concat(r,`;
84  }
85  
86  .`).concat(Dd," .").concat(Dd,` {
87    margin-right: 0 `).concat(r,`;
88  }
89  
90  body[`).concat(ao,`] {
91    `).concat(w$,": ").concat(u,`px;
92  }
93`)},Kk=function(){var e=parseInt(document.body.getAttribute(ao)||"0",10);return isFinite(e)?e:0},$$=function(){N.useEffect(function(){return document.body.setAttribute(ao,(Kk()+1).toString()),function(){var e=Kk()-1;e<=0?document.body.removeAttribute(ao):document.body.setAttribute(ao,e.toString())}},[])},z$=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,s=r===void 0?"margin":r;$$();var o=N.useMemo(function(){return L$(s)},[s]);return N.createElement(M$,{styles:B$(o,!t,s,n?"":"!important")})},Sy=!1;if(typeof window<"u")try{var rd=Object.defineProperty({},"passive",{get:function(){return Sy=!0,!0}});window.addEventListener("test",rd,rd),window.removeEventListener("test",rd,rd)}catch{Sy=!1}var Bs=Sy?{passive:!1}:!1,H$=function(e){return e.tagName==="TEXTAREA"},WE=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!H$(e)&&n[t]==="visible")},U$=function(e){return WE(e,"overflowY")},K$=function(e){return WE(e,"overflowX")},Vk=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var s=YE(e,r);if(s){var o=JE(e,r),c=o[1],u=o[2];if(c>u)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},V$=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},F$=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},YE=function(e,t){return e==="v"?U$(t):K$(t)},JE=function(e,t){return e==="v"?V$(t):F$(t)},q$=function(e,t){return e==="h"&&t==="rtl"?-1:1}
vendor: 1,311 bytes, lines 93-96
93,G$=function(e,t,n,r,s){var o=q$(e,window.getComputedStyle(t).direction),c=o*r,u=n.target,h=t.contains(u),f=!1,p=c>0,y=0,b=0;do{if(!u)break;var v=JE(e,u),k=v[0],w=v[1],E=v[2],_=w-E-o*k;(k||_)&&YE(e,u)&&(y+=_,b+=k);var A=u.parentNode;u=A&&A.nodeType===Node.DOCUMENT_FRAGMENT_NODE?A.host:A}while(!h&&u!==document.body||h&&(t.contains(u)||t===u));return(p&&Math.abs(y)<1||!p&&Math.abs(b)<1)&&(f=!0),f},id=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Fk=function(e){return[e.deltaX,e.deltaY]},qk=function(e){return e&&"current"in e?e.current:e},W$=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Y$=function(e){return`
94  .block-interactivity-`.concat(e,` {pointer-events: none;}
95  .allow-interactivity-`).concat(e,` {pointer-events: all;}
96`)},J$=0,$s=[];function Q$(e){var t=N.useRef([]),n=N.useRef([0,0]),r=N.useRef(),s=N.useState(J$++)[0],o=N.useState(GE)[0],c=N.useRef(e);N.useEffect(function(){c.current=e},[e]),N.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(s));var w=HP([e.lockRef.current],(e.shards||[]).map(qk),!0).filter(Boolean);return w.forEach(function(E){return E.classList.add("allow-interactivity-".concat(s))}),function(){document.body.classList.remove("block-interactivity-".concat(s)),w.forEac
vendor: 6,885 bytes, line 96
96h(function(E){return E.classList.remove("allow-interactivity-".concat(s))})}}},[e.inert,e.lockRef.current,e.shards]);var u=N.useCallback(function(w,E){if("touches"in w&&w.touches.length===2||w.type==="wheel"&&w.ctrlKey)return!c.current.allowPinchZoom;var _=id(w),A=n.current,C="deltaX"in w?w.deltaX:A[0]-_[0],P="deltaY"in w?w.deltaY:A[1]-_[1],K,D=w.target,I=Math.abs(C)>Math.abs(P)?"h":"v";if("touches"in w&&I==="h"&&D.type==="range")return!1;var $=window.getSelection(),Y=$&&$.anchorNode,re=Y?Y===D||Y.contains(D):!1;if(re)return!1;var z=Vk(I,D);if(!z)return!0;if(z?K=I:(K=I==="v"?"h":"v",z=Vk(I,D)),!z)return!1;if(!r.current&&"changedTouches"in w&&(C||P)&&(r.current=K),!K)return!0;var H=r.current||K;return G$(H,E,w,H==="h"?C:P)},[]),h=N.useCallback(function(w){var E=w;if(!(!$s.length||$s[$s.length-1]!==o)){var _="deltaY"in E?Fk(E):id(E),A=t.current.filter(function(K){return K.name===E.type&&(K.target===E.target||E.target===K.shadowParent)&&W$(K.delta,_)})[0];if(A&&A.should){E.cancelable&&E.preventDefault();return}if(!A){var C=(c.current.shards||[]).map(qk).filter(Boolean).filter(function(K){return K.contains(E.target)}),P=C.length>0?u(E,C[0]):!c.current.noIsolation;P&&E.cancelable&&E.preventDefault()}}},[]),f=N.useCallback(function(w,E,_,A){var C={name:w,delta:E,target:_,should:A,shadowParent:X$(_)};t.current.push(C),setTimeout(function(){t.current=t.current.filter(function(P){return P!==C})},1)},[]),p=N.useCallback(function(w){n.current=id(w),r.current=void 0},[]),y=N.useCallback(function(w){f(w.type,Fk(w),w.target,u(w,e.lockRef.current))},[]),b=N.useCallback(function(w){f(w.type,id(w),w.target,u(w,e.lockRef.current))},[]);N.useEffect(function(){return $s.push(o),e.setCallbacks({onScrollCapture:y,onWheelCapture:y,onTouchMoveCapture:b}),document.addEventListener("wheel",h,Bs),document.addEventListener("touchmove",h,Bs),document.addEventListener("touchstart",p,Bs),function(){$s=$s.filter(function(w){return w!==o}),document.removeEventListener("wheel",h,Bs),document.removeEventListener("touchmove",h,Bs),document.removeEventListener("touchstart",p,Bs)}},[]);var v=e.removeScrollBar,k=e.inert;return N.createElement(N.Fragment,null,k?N.createElement(o,{styles:Y$(s)}):null,v?N.createElement(z$,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function X$(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const Z$=C$(qE,Q$);var yg=N.forwardRef(function(e,t){return N.createElement(bh,ba({},e,{ref:t,sideCar:Z$}))});yg.classNames=bh.classNames;var ez=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},zs=new WeakMap,sd=new WeakMap,od={},_m=0,QE=function(e){return e&&(e.host||QE(e.parentNode))},tz=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=QE(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},nz=function(e,t,n,r){var s=tz(t,Array.isArray(e)?e:[e]);od[n]||(od[n]=new WeakMap);var o=od[n],c=[],u=new Set,h=new Set(s),f=function(y){!y||u.has(y)||(u.add(y),f(y.parentNode))};s.forEach(f);var p=function(y){!y||h.has(y)||Array.prototype.forEach.call(y.children,function(b){if(u.has(b))p(b);else try{var v=b.getAttribute(r),k=v!==null&&v!=="false",w=(zs.get(b)||0)+1,E=(o.get(b)||0)+1;zs.set(b,w),o.set(b,E),c.push(b),w===1&&k&&sd.set(b,!0),E===1&&b.setAttribute(n,"true"),k||b.setAttribute(r,"true")}catch(_){console.error("aria-hidden: cannot operate on ",b,_)}})};return p(t),u.clear(),_m++,function(){c.forEach(function(y){var b=zs.get(y)-1,v=o.get(y)-1;zs.set(y,b),o.set(y,v),b||(sd.has(y)||y.removeAttribute(r),sd.delete(y)),v||y.removeAttribute(n)}),_m--,_m||(zs=new WeakMap,zs=new WeakMap,sd=new WeakMap,od={})}},XE=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),s=ez(e);return s?(r.push.apply(r,Array.from(s.querySelectorAll("[aria-live], script"))),nz(r,s,n,"aria-hidden")):function(){return null}};function az(e){const t=rz(e),n=N.forwardRef((r,s)=>{const{children:o,...c}=r,u=N.Children.toArray(o),h=u.find(sz);if(h){const f=h.props.children,p=u.map(y=>y===h?N.Children.count(f)>1?N.Children.only(null):N.isValidElement(f)?f.props.children:null:y);return x.jsx(t,{...c,ref:s,children:N.isValidElement(f)?N.cloneElement(f,void 0,p):null})}return x.jsx(t,{...c,ref:s,children:o})});return n.displayName=`${e}.Slot`,n}function rz(e){const t=N.forwardRef((n,r)=>{const{children:s,...o}=n;if(N.isValidElement(s)){const c=lz(s),u=oz(o,s.props);return s.type!==N.Fragment&&(u.ref=r?gh(r,c):c),N.cloneElement(s,u)}return N.Children.count(s)>1?N.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var iz=Symbol("radix.slottable");function sz(e){return N.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===iz}function oz(e,t){const n={...t};for(const r in t){const s=e[r],o=t[r];/^on[A-Z]/.test(r)?s&&o?n[r]=(...u)=>{const h=o(...u);return s(...u),h}:s&&(n[r]=s):r==="style"?n[r]={...s,...o}:r==="className"&&(n[r]=[s,o].filter(Boolean).join(" "))}return{...e,...n}}function lz(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var vh="Dialog",[ZE]=dg(vh),[cz,oa]=ZE(vh),eR=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:s,onOpenChange:o,modal:c=!0}=e,u=N.useRef(null),h=N.useRef(null),[f,p]=zE({prop:r,defaultProp:s??!1,onChange:o,caller:vh});return x.jsx(cz,{scope:t,triggerRef:u,contentRef:h,contentId:Od(),titleId:Od(),descriptionId:Od(),open:f,onOpenChange:p,onOpenToggle:N.useCallback(()=>p(y=>!y),[p]),modal:c,children:n})};eR.displayName=vh;var tR="DialogTrigger",uz=N.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=oa(tR,n),o=sa(t,s.triggerRef);return x.jsx(hn.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.contentId,"data-state":vg(s.open),...r,ref:o,onClick:An(e.onClick,s.onOpenToggle)})});uz.displayName=tR;var gg="DialogPortal",[dz,nR]=ZE(gg,{forceMount:void 0}),aR=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:s}=e,o=oa(gg,t);return x.jsx(dz,{scope:t,forceMount:n,children:N.Children.map(r,c=>x.jsx(fo,{present:n||o.open,children:x.jsx(mg,{asChild:!0,container:s,children:c})}))})};aR.displayName=gg;var Qd="DialogOverlay",rR=N.forwardRef((e,t)=>{const n=nR(Qd,e.__scopeDialog),{forceMount:r=n.forceMount,...s}=e,o=oa(Qd,e.__scopeDialog);return o.modal?x.jsx(fo,{present:r||o.open,children:x.jsx(fz,{...s,ref:t})}):null});rR.displayName=Qd;var hz=az("DialogOverlay.RemoveScroll"),fz=N.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=oa(Qd,n);return x.jsx(yg,{as:hz,allowPinchZoom:!0,shards:[s.contentRef],children:x.jsx(hn.div,{"data-state":vg(s.open
vendor: 4,353 bytes, lines 96-100
96),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),Pi="DialogContent",iR=N.forwardRef((e,t)=>{const n=nR(Pi,e.__scopeDialog),{forceMount:r=n.forceMount,...s}=e,o=oa(Pi,e.__scopeDialog);return x.jsx(fo,{present:r||o.open,children:o.modal?x.jsx(pz,{...s,ref:t}):x.jsx(mz,{...s,ref:t})})});iR.displayName=Pi;var pz=N.forwardRef((e,t)=>{const n=oa(Pi,e.__scopeDialog),r=N.useRef(null),s=sa(t,n.contentRef,r);return N.useEffect(()=>{const o=r.current;if(o)return XE(o)},[]),x.jsx(sR,{...e,ref:s,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:An(e.onCloseAutoFocus,o=>{o.preventDefault(),n.triggerRef.current?.focus()}),onPointerDownOutside:An(e.onPointerDownOutside,o=>{const c=o.detail.originalEvent,u=c.button===0&&c.ctrlKey===!0;(c.button===2||u)&&o.preventDefault()}),onFocusOutside:An(e.onFocusOutside,o=>o.preventDefault())})}),mz=N.forwardRef((e,t)=>{const n=oa(Pi,e.__scopeDialog),r=N.useRef(!1),s=N.useRef(!1);return x.jsx(sR,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{e.onCloseAutoFocus?.(o),o.defaultPrevented||(r.current||n.triggerRef.current?.focus(),o.preventDefault()),r.current=!1,s.current=!1},onInteractOutside:o=>{e.onInteractOutside?.(o),o.defaultPrevented||(r.current=!0,o.detail.originalEvent.type==="pointerdown"&&(s.current=!0));const c=o.target;n.triggerRef.current?.contains(c)&&o.preventDefault(),o.detail.originalEvent.type==="focusin"&&s.current&&o.preventDefault()}})}),sR=N.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:s,onCloseAutoFocus:o,...c}=e,u=oa(Pi,n),h=N.useRef(null),f=sa(t,h);return VE(),x.jsxs(x.Fragment,{children:[x.jsx(pg,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:s,onUnmountAutoFocus:o,children:x.jsx(fg,{role:"dialog",id:u.contentId,"aria-describedby":u.descriptionId,"aria-labelledby":u.titleId,"data-state":vg(u.open),...c,ref:f,onDismiss:()=>u.onOpenChange(!1)})}),x.jsxs(x.Fragment,{children:[x.jsx(yz,{titleId:u.titleId}),x.jsx(bz,{contentRef:h,descriptionId:u.descriptionId})]})]})}),bg="DialogTitle",oR=N.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=oa(bg,n);return x.jsx(hn.h2,{id:s.titleId,...r,ref:t})});oR.displayName=bg;var lR="DialogDescription",cR=N.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=oa(lR,n);return x.jsx(hn.p,{id:s.descriptionId,...r,ref:t})});cR.displayName=lR;var uR="DialogClose",dR=N.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=oa(uR,n);return x.jsx(hn.button,{type:"button",...r,ref:t,onClick:An(e.onClick,()=>s.onOpenChange(!1))})});dR.displayName=uR;function vg(e){return e?"open":"closed"}var hR="DialogTitleWarning",[TW,fR]=B4(hR,{contentName:Pi,titleName:bg,docsSlug:"dialog"}),yz=({titleId:e})=>{const t=fR(hR),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
97
98If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
99
100For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return N.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},gz="DialogDescriptionWarning",bz=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${fR(gz).contentName}}.`;return N.useEffect(()=>{const s=e.current?.getAttribute("aria-describedby");t&&s&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},vz=eR,wz=aR,pR=rR,mR=iR,yR=oR,gR=cR,Sz=dR;const kz=vz,_z=wz,bR=N.forwardRef(({className:e,...t},n)=>x.jsx(pR,{ref:n,className:ni("fixed inset-0 z-50 bg-black/80  data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));bR.displayName=pR.displayName;const vR=N.forwardRef(({className:e,children:t,...n},r)=>x.jsxs(_z,{children:[x.jsx(bR,{}),x.jsxs(mR,{ref:r,className:ni("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rou
100nded-lg",e),...n,children:[t,x.jsxs(Sz,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[x.jsx(yh,{className:"h-4 w-4"}),x.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));vR.displayName=mR.displayName;const wR=({className:e,...t})=>x.jsx("div",{className:ni("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});wR.displayName="DialogHeader";const xz=({className:e,...t})=>x.jsx("div",{className:ni("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});xz.displayName="DialogFooter";const SR=N.forwardRef(({className:e,...t},n)=>x.jsx(yR,{ref:n,className:ni("text-lg font-semibold leading-none tracking-tight",e),...t}));SR.displayName=yR.displayName;const Ez=N.forwardRef(({className:e,...t},n)=>x.jsx(gR,{ref:n,className:ni("text-sm text-muted-foreground",e),...t}));Ez.displayName=gR.displayName;function Hl({label:e="Book a Table",className:t}){const[n,r]=N.useState(!1);return x.jsxs(x.Fragment,{children:[x.jsx("button",{type:"button",onClick:()=>r(!0),className:ni(t),children:e}),x.jsx(kz,{open:n,onOpenChange:r,children:x.jsxs(vR,{className:"max-w-3xl w-[95vw] p-0 overflow-hidden h-[85vh]",children:[x.jsx(wR,{className:"px-5 py-3 border-b",children:x.jsx(SR,{children:"Book a Table"})}),n&&x.jsx("iframe",{src:vt.reservationHref,title:"Book a Table",className:"w-full h-full border-0",allow:"payment"})]})})]})}const Rz=`https://maps.google.com/?q=${encodeURIComponent(`Kebabiya, ${vt.address.line1}, ${vt.address.line2}, ${vt.address.suburb}`)}`;function Cz(){return x.jsx("div",{className:"md:hidden fixed bottom-0 inset-x-0 z-50 bg-background/95 backdrop-blur border-t border-foreground
100/10 supports-[backdrop-filter]:bg-background/80",style:{paddingBottom:"env(safe-area-inset-bottom)"},role:"navigation","aria-label":"Quick actions",children:x.jsxs("div",{className:"grid grid-cols-4 divide-x divide-foreground/10",children:[x.jsx(Hl,{label:"Reserve",className:"flex items-center justify-center gap-1 py-3.5 text-[10px] font-semibold tracking-widest uppercase bg-primary text-primary-foreground"}),x.jsxs("a",{href:vt.phoneHref,className:"flex items-center justify-center gap-1 py-3.5 text-[10px] font-semibold tracking-widest uppercase text-foreground",children:[x.jsx(UB,{className:"size-3.5"}),"Call"]}),x.jsxs("a",{href:vt.socials.whatsapp,target:"_blank",rel:"noreferrer",className:"flex items-center justify-center gap-1 py-3.5 text-[10px] font-semibold tracking-widest uppercase text-foreground",children:[x.jsx(xE,{className:"size-3.5"}),"WhatsApp"]}),x.jsxs("a",{href:Rz,target:"_blank",rel:"noreferrer",className:"flex items-center justify-center gap-1 py-3.5 text-[10px] font-semibold tracking-widest uppercase text-foreground",children:[x.jsx(MB,{className:"size-3.5"}),"Directions"]})]})})}function Az(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const Tz=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Oz=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Nz={};function Gk(e,t){return(Nz.jsx?Oz:Tz).test(e)}const Dz=/[ \t\n\f\r]/g;function Iz(e){return typeof e=="object"?e.type==="text"?Wk(e.value):!1:Wk(e)}function Wk(e){return e.replace(Dz,"")===""}class fc{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}}fc.prototype.normal={};fc.prototype.property={};fc.prototype.space=void 0;function kR(e,t){const n={},r={};for(const s of e)Object.assign(n,s.property),Object.assign(r,s.normal);return new fc(n,r,t)}function ky(e){return e.toLowerCase()}class fn{constructor(t,n){this.attribute=n,this.property=t}}fn.prototype.attribute="";fn.prototype.booleanish=!1;fn.prototype.boolean=!1;fn.prototype.commaOrSpaceSeparated=!1;fn.prototype.commaSeparated=!1;fn.prototype.defined=!1;fn.prototype.mustUseProperty=!1;fn.prototype.number=!1;fn.prototype.overloadedBoolean=!1;fn.prototype.property="";fn.prototype.spaceSeparated=!1;fn.prototype.space=void 0;let Pz=0;const Ie=zi(),xt=zi(),_y=zi(),ue=zi(),rt=zi(),ro=zi(),xn=zi();function zi(){return 2**++Pz}const xy=Object.freeze(Object.defineProperty({__proto__:null,boolean:Ie,booleanish:xt,commaOrSpaceSeparated:xn,commaSeparated:ro,number:ue,overloadedBoolean:_y,spaceSeparated:rt},Symbol.toStringTag,{value:"Module"})),xm=Object.keys(xy);class wg extends fn{constructor(t,n,r,s){let o=-1;if(super(t,n),Yk(this,"space",s),typeof r=="number")for(;++o<xm.length;){const c=xm[o];Yk(this,xm[o],(r&xy[c])===xy[c])}}}wg.prototype.defined=!0;function Yk(e,t,n){n&&(e[t]=n)}function po(e){const t={},n={};for(const[r,s]of Object.entries(e.properties)){const o=new wg(r,e.transform(e.attributes||{},r),s,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),t[r]=o,n[ky(r)]=r,n[ky(o.attribute)]=r}return new fc(t,n,e.space)}const _R=po({properties:{ariaActiveDescendant:null,ariaAtomic:xt,ariaAutoComplete:null,ariaBusy:xt,ariaChecked:xt,ariaColCount:ue,ariaColIndex:ue,ariaColSpan:ue,ariaControls:rt,ariaCurrent:null,ariaDescribedBy:rt,ariaDetails:null,ariaDisabled:xt,ariaDropEffect:rt,ariaErrorMessage:null,ariaExpanded:xt,ariaFlowTo:rt,ariaGrabbed:xt,ariaHasPopup:null,ariaHidden:xt,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:rt,ariaLevel:ue,ariaLive:null,ariaModal:xt,ariaMultiLine:xt,ariaMultiSelectable:xt,ariaOrientation:null,ariaOwns:rt,ariaPlaceholder:null,ariaPosInSet:ue,ariaPressed:xt,ariaReadOnly:xt,ariaRelevant:null,ariaRequired:xt,ariaRoleDescription:rt,ariaRowCount:ue,ariaRowIndex:ue,ariaRowSpan:ue,ariaSelected:xt,ariaSetSize:ue,ariaSort:null,ariaValueMax:ue,ariaValueMin:ue,ariaValueNow:ue,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function xR(e,t){return t in e?e[t]:t}function ER(e,t){return xR(e,t.toLowerCase())}const jz=po({attributes:{acceptcharset:"accept-charset",classname:"
100class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:ro,acceptCharset:rt,accessKey:rt,action:null,allow:null,allowFullScreen:Ie,allowPaymentRequest:Ie,allowUserMedia:Ie,alt:null,as:null,async:Ie,autoCapitalize:null,autoComplete:rt,autoFocus:Ie,autoPlay:Ie,blocking:rt,capture:null,charSet:null,checked:Ie,cite:null,className:rt,cols:ue,colSpan:null,content:null,contentEditable:xt,controls:Ie,controlsList:rt,coords:ue|ro,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Ie,defer:Ie,dir:null,dirName:null,disabled:Ie,download:_y,draggable:xt,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Ie,formTarget:null,headers:rt,height:ue,hidden:_y,high:ue,href:null,hrefLang:null,htmlFor:rt,httpEquiv:rt,id:null,imageSizes:null,imageSrcSet:null,inert:Ie,inputMode:null,integrity:null,is:null,isMap:Ie,itemId:null,itemProp:rt,itemRef:rt,itemScope:Ie,itemType:rt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Ie,low:ue,manifest:null,max:null,maxLength:ue,media:null,method:null,min:null,minLength:ue,multiple:Ie,muted:Ie,name:null,nonce:null,noModule:Ie,noValidate:Ie,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Ie,optimum:ue,pattern:null,ping:rt,placeholder:null,playsInline:Ie,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Ie,referrerPolicy:null,rel:rt,required:Ie,reversed:Ie,rows:ue,rowSpan:ue,sandbox:rt,scope:null,scoped:Ie,seamless:Ie,selected:Ie,shadowRootClonable:Ie,shadowRootDelegatesFocus:Ie,shadowRootMode:null,shape:null,size:ue,sizes:null,slot:null,span:ue,spellCheck:xt,src:null,srcDoc:null,srcLang:null,srcSet:null,start:ue,step:null,style:null,tabIndex:ue,target:null,title:null,translate:null,type:null,typeMustMatch:Ie,useMap:null,value:xt,width:ue,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:rt,axis:null,background:null,bgColor:null,border:ue,borderColor:null,bottomMargin:ue,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Ie,declare:Ie,event:null,face:null,frame:null,frameBorder:null,hSpace:ue,leftMargin:ue,link:null,longDesc:null,lowSrc:null,marginHeight:ue,marginWidth:ue,noResize:Ie,noHref:Ie,noShade:Ie,noWrap:Ie,object:null,profile:null,prompt:null,rev:null,rightMargin:ue,rules:null,scheme:null,scrolling:xt,standby:null,summary:null,text:null,topMargin:ue,valueType:null,version:null,vAlign:null,vLink:null,vSpace:ue,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Ie,disableRemotePlayback:Ie,prefix:null,property:null,results:ue,security:null,unselectable:null},space:"html",transform:ER}),Lz=po({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRen
100dering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:xn,accentHeight:ue,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:ue,amplitude:ue,arabicForm:null,ascent:ue,attributeName:null,attributeType:null,azimuth:ue,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:ue,by:null,calcMode:null,capHeight:ue,className:rt,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRen
100dering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:ue,diffuseConstant:ue,direction:null,display:null,dur:null,divisor:ue,dominantBaseline:null,download:Ie,dx:null,dy:null,edgeMode:null,editable:null,elevation:ue,enableBackground:null,end:null,event:null,exponent:ue,externalResourcesRequired:null,fill:null,fillOpacity:ue,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:ro,g2:ro,glyphName:ro,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:ue,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:ue,horizOriginX:ue,horizOriginY:ue,id:null,ideographic:ue,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:ue,k:ue,k1:ue,k2:ue,k3:ue,k4:ue,kernelMatrix:xn,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:ue,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:ue,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:ue,overlineThickness:ue,paintOrder:null,panose1:null,path:null,pathLength:ue,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:rt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:ue,pointsAtY:ue,pointsAtZ:ue,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:xn,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:xn,rev:xn,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:xn,requiredFeatures:xn,requiredFonts:xn,requiredFormats:xn,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:ue,specularExponent:ue,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:ue,strikethroughThickness:ue,string:null,stroke:null,strokeDashArray:xn,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:ue,strokeOpacity:ue,strokeWidth:null,style:null,surfaceScale:ue,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:xn,tabIndex:ue,tableValues:null,target:null,targetX:ue,targetY:ue,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:xn,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:ue,underlineThickness:ue,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:ue,values:null,vAlphabetic:ue,vMathematical:ue,vectorEffect:null,vHanging:ue,vIdeographic:ue,ver
vendor: 4,526 bytes, lines 100-101
100sion:null,vertAdvY:ue,vertOriginX:ue,vertOriginY:ue,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:ue,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:xR}),RR=po({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),CR=po({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:ER}),AR=po({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),Mz={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},Bz=/[A-Z]/g,Jk=/-[a-z]/g,$z=/^data[-\w.:]+$/i;function zz(e,t){const n=ky(t);let r=t,s=fn;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&$z.test(t)){if(t.charAt(4)==="-"){const o=t.slice(5).replace(Jk,Uz);r="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=t.slice(4);if(!Jk.test(o)){let c=o.replace(Bz,Hz);c.charAt(0)!=="-"&&(c="-"+c),t="data"+c}}s=wg}return new s(r,t)}function Hz(e){return"-"+e.toLowerCase()}function Uz(e){return e.charAt(1).toUpperCase()}const Kz=kR([_R,jz,RR,CR,AR],"html"),Sg=kR([_R,Lz,RR,CR,AR],"svg");function Vz(e){return e.join(" ").trim()}var Hs={},Em,Qk;function Fz(){if(Qk)return Em;Qk=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,n=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,s=/^:\s*/,o=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,c=/^[;\s]*/,u=/^\s+|\s+$/g,h=`
101`,f="/",p="*",y="",b="comment",v="declaration";function k(E,_){if(typeof E!="string")throw new TypeError("First argument must be a string");if(!E)return[];_=_||{};var A=1,C=1;function P(Z){var G=Z.match(t);G&&(A+=G.length);var M=Z.lastIndexOf(h);C=~M?Z.length-M:C+Z.length}function K(){var Z={line:A,column:C};return function(G){return G.position=new D(Z),Y(),G}}function D(Z){this.start=Z,this.end={line:A,column:C},this.source=_.source}D.prototype.content=E;function I(Z){var G=new Error(_.source+":"+A+":"+C+": "+Z);if(G.reason=Z,G.filename=_.source,G.line=A,G.column=C,G.source=E,!_.silent)throw G}function $(Z){var G=Z.exec(E);if(G){var M=G[0];return P(M),E=E.slice(M.length),G}}function Y(){$(n)}function re(Z){var G;for(Z=Z||[];G=z();)G!==!1&&Z.push(G);return Z}function z(){var Z=K();if(!(f!=E.charAt(0)||p!=E.charAt(1))){for(var G=2;y!=E.charAt(G)&&(p!=E.charAt(G)||f!=E.charAt(G+1));)++G;if(G+=2,y===E.charAt(G-1))return I("End of comment missing");var M=E.slice(2,G-2);return C+=2,P(M),E=E.slice(G),C+=2,Z({type:b,comment:M})}}function H(){var Z=K(),G=$(r);if(G){if(z(),!$(s))return I("property missing ':'");var M=$(o),Q=Z({type:v,property:w(G[0].replace(e,y)),value:M?w(M[0].replace(e,y)):y});return $(c),Q}}function te(){var Z=[];re(Z);for(var G;G=H();)G!==!1&&(Z.push(G),re(Z));return Z}return Y(),te()}function w(E){return E?E.replace(u,y):y}return Em=k,Em}var Xk;function qz(){if(Xk)return Hs;Xk=1;var e=Hs&&Hs.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Hs,"__esModule",{value:!0}),Hs.default=n;const t=e(Fz());function n(r,s){let o=null;if(!r||typeof r!="string")return o;const c=(0,t.default)(r),u=typeof s=="function";return c.forEach(h=>{if(h.type!=="declaration")return;const{property:f,value:p}=h;u?s(f,p,h):p&&(o=o||{},o[f]=p)}),o}return Hs}var Sl={},Zk;function Gz(){if(Zk)return Sl;Zk=1,Object.defineProperty(Sl,"__esModule",{value:!0}),Sl.camelCase=void 0;var e=/^--[a-zA-Z0-9_-]+$/,t=/-([a-z])/g,n=/^[^-]+$/,r=/^-(webkit|moz|ms|o|khtml)-/,s=/^-(ms)-/,o=function(f){return!f||n.test(f)||e.test(f)},c=function(f,p){return p.toUpperCase()},u=function(f,p){return"".concat(p,"-")},h=function(f,p){return p===void 0&&(p={}),o(f)?f:(f=f.toLowerCase(),p.reactCompat?f=f.replace(s,u):f=f.replace(r,u),f.replace(t,c))};return Sl.camelCase=h,Sl}var kl,e_;function Wz(){if(e_)return kl;e_=1;var e=kl&&kl.__importDefault||function(s){return s&&s.__esModule?s:{default:s}},t=e(qz()),n=Gz();function r(s,o){var c={};
vendor: 2,733 bytes, line 101
101return!s||typeof s!="string"||(0,t.default)(s,function(u,h){u&&h&&(c[(0,n.camelCase)(u,o)]=h)}),c}return r.default=r,kl=r,kl}var Yz=Wz();const Jz=rh(Yz),TR=OR("end"),kg=OR("start");function OR(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function Qz(e){const t=kg(e),n=TR(e);if(t&&n)return{start:t,end:n}}function Ul(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?t_(e.position):"start"in e||"end"in e?t_(e):"line"in e||"column"in e?Ey(e):""}function Ey(e){return n_(e&&e.line)+":"+n_(e&&e.column)}function t_(e){return Ey(e&&e.start)+"-"+Ey(e&&e.end)}function n_(e){return e&&typeof e=="number"?e:1}class qt extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let s="",o={},c=!1;if(n&&("line"in n&&"column"in n?o={place:n}:"start"in n&&"end"in n?o={place:n}:"type"in n?o={ancestors:[n],place:n.position}:o={...n}),typeof t=="string"?s=t:!o.cause&&t&&(c=!0,s=t.message,o.cause=t),!o.ruleId&&!o.source&&typeof r=="string"){const h=r.indexOf(":");h===-1?o.ruleId=r:(o.source=r.slice(0,h),o.ruleId=r.slice(h+1))}if(!o.place&&o.ancestors&&o.ancestors){const h=o.ancestors[o.ancestors.length-1];h&&(o.place=h.position)}const u=o.place&&"start"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=u?u.column:void 0,this.fatal=void 0,this.file="",this.message=s,this.line=u?u.line:void 0,this.name=Ul(o.place)||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=c&&o.cause&&typeof o.cause.stack=="string"?o.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}qt.prototype.file="";qt.prototype.name="";qt.prototype.reason="";qt.prototype.message="";qt.prototype.stack="";qt.prototype.column=void 0;qt.prototype.line=void 0;qt.prototype.ancestors=void 0;qt.prototype.cause=void 0;qt.prototype.fatal=void 0;qt.prototype.place=void 0;qt.prototype.ruleId=void 0;qt.prototype.source=void 0;const _g={}.hasOwnProperty,Xz=new Map,Zz=/[A-Z]/g,e3=new Set(["table","tbody","thead","tfoot","tr"]),t3=new Set(["td","th"]),NR="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function n3(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=u3(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");
vendor: 6,302 bytes, line 101
101if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=c3(n,t.jsx,t.jsxs)}const s={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?Sg:Kz,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},o=DR(s,e,void 0);return o&&typeof o!="string"?o:s.create(e,s.Fragment,{children:o||void 0},void 0)}function DR(e,t,n){if(t.type==="element")return a3(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return r3(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return s3(e,t,n);if(t.type==="mdxjsEsm")return i3(e,t);if(t.type==="root")return o3(e,t,n);if(t.type==="text")return l3(e,t)}function a3(e,t,n){const r=e.schema;let s=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(s=Sg,e.schema=s),e.ancestors.push(t);const o=PR(e,t.tagName,!1),c=d3(e,t);let u=Eg(e,t);return e3.has(t.tagName)&&(u=u.filter(function(h){return typeof h=="string"?!Iz(h):!0})),IR(e,c,o,t),xg(c,u),e.ancestors.pop(),e.schema=r,e.create(t,o,c,n)}function r3(e,t){if(t.data&&t.data.estree&&e.evaluater){const r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}lc(e,t.position)}function i3(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);lc(e,t.position)}function s3(e,t,n){const r=e.schema;let s=r;t.name==="svg"&&r.space==="html"&&(s=Sg,e.schema=s),e.ancestors.push(t);const o=t.name===null?e.Fragment:PR(e,t.name,!0),c=h3(e,t),u=Eg(e,t);return IR(e,c,o,t),xg(c,u),e.ancestors.pop(),e.schema=r,e.create(t,o,c,n)}function o3(e,t,n){const r={};return xg(r,Eg(e,t)),e.create(t,e.Fragment,r,n)}function l3(e,t){return t.value}function IR(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function xg(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function c3(e,t,n){return r;function r(s,o,c,u){const f=Array.isArray(c.children)?n:t;return u?f(o,c,u):f(o,c)}}function u3(e,t){return n;function n(r,s,o,c){const u=Array.isArray(o.children),h=kg(r);return t(s,o,c,u,{columnNumber:h?h.column-1:void 0,fileName:e,lineNumber:h?h.line:void 0},void 0)}}function d3(e,t){const n={};let r,s;for(s in t.properties)if(s!=="children"&&_g.call(t.properties,s)){const o=f3(e,s,t.properties[s]);if(o){const[c,u]=o;e.tableCellAlignToStyle&&c==="align"&&typeof u=="string"&&t3.has(t.tagName)?r=u:n[c]=u}}if(r){const o=n.style||(n.style={});o[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function h3(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const o=r.data.estree.body[0];o.type;const c=o.expression;c.type;const u=c.properties[0];u.type,Object.assign(n,e.evaluater.evaluateExpression(u.argument))}else lc(e,t.position);else{const s=r.name;let o;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const u=r.value.data.estree.body[0];u.type,o=e.evaluater.evaluateExpression(u.expression)}else lc(e,t.position);else o=r.value===null?!0:r.value;n[s]=o}return n}function Eg(e,t){const n=[];let r=-1;const s=e.passKeys?new Map:Xz;for(;++r<t.children.length;){const o=t.children[r];let c;if(e.passKeys){const h=o.type==="element"?o.tagName:o.type==="mdxJsxFlowElement"||o.type==="mdxJsxTextElement"?o.name:void 0;if(h){const f=s.get(h)||0;c=h+"-"+f,s.set(h,f+1)}}const u=DR(e,o,c);u!==void 0&&n.push(u)}return n}function f3(e,t,n){const r=zz(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?Az(n):Vz(n)),r.property==="style"){let s=typeof n=="object"?n:p3(e,String(n));return e.stylePropertyNameCase==="css"&&(s=m3(s)),["style",s]}return[e.elementAttributeNameCase==="react"&&r.space?Mz[r.property]||r.property:r.attribute,n]}}function p3(e,t){try{return Jz(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};const r=n,s=new qt("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:r,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw s.file=e.filePath||void 0,s.url=NR+"#cannot-parse-style-attribute",s}}function PR(e,t,n){let r;if(!n)r={type:"Literal",value:t};else if(t.includes(".")){const s=t.split(".");let o=-1,c;for(;++o<s.length;){const u=Gk(s[o])?{type:"Identifier",name:s[o]}:{type:"Literal",value:s[o]};c=c?{type:"MemberExpression",object:c,property:u,computed:!!(o&&u.type==="Literal"),optional:!1}:u}r=c}else r=Gk(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const s=r.value;return _g.call(e.components,s)?e.components[s]:s}if(e.evaluater)return e.evaluater.evaluateExpression(r);lc(e)}function lc(e,t){const n=new qt("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=NR+"#cannot-handle-mdx-estrees-without-createevaluater",n}function m3(e){const t={};let n;for(n in e)_g.call(e,n)&&(t[y3(n)]=e[n]);return t}function y3(e){let t=e.replace(Zz,g3);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function g3(e){return"-"+e.toLowerCase()}const Rm={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},b3={};function v3(e,t){const n=b3,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,s=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return jR(e,r,s)}function jR(e,t,n){if(w3(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return a_(e.children,t,n)}return Array.isArray(e)?a_(e,t,n):""}function a_(e,t,n){const r=[];let s=-1;for(;++s<e.length;)r[s]=jR(e[s],t,n);return r.join("")}function w3(e){return!!(e&&typeof e=="object")}const r_=document.createElement("i");function Rg(e){const t="&"+e+";";r_.innerHTML=t;const n=r_.textContent;
vendor: 14,487 bytes, line 101
101return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function xa(e,t,n,r){const s=e.length;let o=0,c;if(t<0?t=-t>s?0:s+t:t=t>s?s:t,n=n>0?n:0,r.length<1e4)c=Array.from(r),c.unshift(t,n),e.splice(...c);else for(n&&e.splice(t,n);o<r.length;)c=r.slice(o,o+1e4),c.unshift(t,0),e.splice(...c),o+=1e4,t+=1e4}function Un(e,t){return e.length>0?(xa(e,e.length,0,t),e):t}const i_={}.hasOwnProperty;function S3(e){const t={};let n=-1;for(;++n<e.length;)k3(t,e[n]);return t}function k3(e,t){let n;for(n in t){const s=(i_.call(e,n)?e[n]:void 0)||(e[n]={}),o=t[n];let c;if(o)for(c in o){i_.call(s,c)||(s[c]=[]);const u=o[c];_3(s[c],Array.isArray(u)?u:u?[u]:[])}}}function _3(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);xa(e,0,0,r)}function LR(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function io(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const va=ai(/[A-Za-z]/),Cn=ai(/[\dA-Za-z]/),x3=ai(/[#-'*+\--9=?A-Z^-~]/);function Ry(e){return e!==null&&(e<32||e===127)}const Cy=ai(/\d/),E3=ai(/[\dA-Fa-f]/),R3=ai(/[!-/:-@[-`{-~]/);function Ae(e){return e!==null&&e<-2}function dn(e){return e!==null&&(e<0||e===32)}function qe(e){return e===-2||e===-1||e===32}const C3=ai(new RegExp("\\p{P}|\\p{S}","u")),A3=ai(/\s/);function ai(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function mo(e){const t=[];let n=-1,r=0,s=0;for(;++n<e.length;){const o=e.charCodeAt(n);let c="";if(o===37&&Cn(e.charCodeAt(n+1))&&Cn(e.charCodeAt(n+2)))s=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(c=String.fromCharCode(o));else if(o>55295&&o<57344){const u=e.charCodeAt(n+1);o<56320&&u>56319&&u<57344?(c=String.fromCharCode(o,u),s=1):c="�"}else c=String.fromCharCode(o);c&&(t.push(e.slice(r,n),encodeURIComponent(c)),r=n+s+1,c=""),s&&(n+=s,s=0)}return t.join("")+e.slice(r)}function it(e,t,n,r){const s=r?r-1:Number.POSITIVE_INFINITY;let o=0;return c;function c(h){return qe(h)?(e.enter(n),u(h)):t(h)}function u(h){return qe(h)&&o++<s?(e.consume(h),u):(e.exit(n),t(h))}}const T3={tokenize:O3};function O3(e){const t=e.attempt(this.parser.constructs.contentInitial,r,s);let n;return t;function r(u){if(u===null){e.consume(u);return}return e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),it(e,t,"linePrefix")}function s(u){return e.enter("paragraph"),o(u)}function o(u){const h=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=h),n=h,c(u)}function c(u){if(u===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(u);return}return Ae(u)?(e.consume(u),e.exit("chunkText"),o):(e.consume(u),c)}}const N3={tokenize:D3},s_={tokenize:I3};function D3(e){const t=this,n=[];let r=0,s,o,c;return u;function u(C){if(r<n.length){const P=n[r];return t.containerState=P[1],e.attempt(P[0].continuation,h,f)(C)}return f(C)}function h(C){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,s&&A();const P=t.events.length;let K=P,D;for(;K--;)if(t.events[K][0]==="exit"&&t.events[K][1].type==="chunkFlow"){D=t.events[K][1].end;break}_(r);let I=P;for(;I<t.events.length;)t.events[I][1].end={...D},I++;return xa(t.events,K+1,0,t.events.slice(P)),t.events.length=I,f(C)}return u(C)}function f(C){if(r===n.length){if(!s)return b(C);if(s.currentConstruct&&s.currentConstruct.concrete)return k(C);t.interrupt=!!(s.currentConstruct&&!s._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(s_,p,y)(C)}function p(C){return s&&A(),_(r),b(C)}function y(C){return t.parser.lazy[t.now().line]=r!==n.length,c=t.now().offset,k(C)}function b(C){return t.containerState={},e.attempt(s_,v,k)(C)}function v(C){return r++,n.push([t.currentConstruct,t.containerState]),b(C)}function k(C){if(C===null){s&&A(),_(0),e.consume(C);return}return s=s||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:s,contentType:"flow",previous:o}),w(C)}function w(C){if(C===null){E(e.exit("chunkFlow"),!0),_(0),e.consume(C);return}return Ae(C)?(e.consume(C),E(e.exit("chunkFlow")),r=0,t.interrupt=void 0,u):(e.consume(C),w)}function E(C,P){const K=t.sliceStream(C);if(P&&K.push(null),C.previous=o,o&&(o.next=C),o=C,s.defineSkip(C.start),s.write(K),t.parser.lazy[C.start.line]){let D=s.events.length;for(;D--;)if(s.events[D][1].start.offset<c&&(!s.events[D][1].end||s.events[D][1].end.offset>c))return;const I=t.events.length;let $=I,Y,re;for(;$--;)if(t.events[$][0]==="exit"&&t.events[$][1].type==="chunkFlow"){if(Y){re=t.events[$][1].end;break}Y=!0}for(_(r),D=I;D<t.events.length;)t.events[D][1].end={...re},D++;xa(t.events,$+1,0,t.events.slice(I)),t.events.length=D}}function _(C){let P=n.length;for(;P-- >C;){const K=n[P];t.containerState=K[1],K[0].exit.call(t,e)}n.length=C}function A(){s.write([null]),o=void 0,s=void 0,t.containerState._closeFlow=void 0}}function I3(e,t,n){return it(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function o_(e){if(e===null||dn(e)||A3(e))return 1;if(C3(e))return 2}function Cg(e,t,n){const r=[];let s=-1;for(;++s<e.length;){const o=e[s].resolveAll;o&&!r.includes(o)&&(t=o(t,n),r.push(o))}return t}const Ay={name:"attention",resolveAll:P3,tokenize:j3};function P3(e,t){let n=-1,r,s,o,c,u,h,f,p;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;h=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const y={...e[r][1].end},b={...e[n][1].start};l_(y,-h),l_(b,h),c={type:h>1?"strongSequence":"emphasisSequence",start:y,end:{...e[r][1].end}},u={type:h>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:b},o={type:h>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},s={type:h>1?"strong":"emphasis",start:{...c.start},end:{...u.end}},e[r][1].end={...c.start},e[n][1].start={...u.end},f=[],e[r][1].end.offset-e[r][1].start.offset&&(f=Un(f,[["enter",e[r][1],t],["exit",e[r][1],t]])),f=Un(f,[["enter",s,t],["enter",c,t],["exit",c,t],["enter",o,t]]),f=Un(f,Cg(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),f=Un(f,[["exit",o,t],["enter",u,t],["exit",u,t],["exit",s,t]]),e[n][1].end.offset-e[n][1].start.offset?(p=2,f=Un(f,[["enter",e[n][1],t],["exit",e[n][1],t]])):p=0,xa(e,r-1,n-r+3,f),n=r+f.length-p-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function j3(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,s=o_(r);let o;return c;function c(h){return o=h,e.enter("attentionSequence"),u(h)}function u(h){if(h===o)return e.consume(h),u;const f=e.exit("attentionSequence"),p=o_(h),y=!p||p===2&&s||n.includes(h),b=!s||s===2&&p||n.includes(r);return f._open=!!(o===42?y:y&&(s||!b)),f._close=!!(o===42?b:b&&(p||!y)),t(h)}}function l_(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const L3={name:"autolink",tokenize:M3};function M3(e,t,n){let r=0;return s;function s(v){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(v),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),o}function o(v){return va(v)?(e.consume(v),c):v===64?n(v):f(v)}function c(v){return v===43||v===45||v===46||Cn(v)?(r=1,u(v)):f(v)}function u(v){return v===58?(e.consume(v),r=0,h):(v===43||v===45||v===46||Cn(v))&&r++<32?(e.consume(v),u):(r=0,f(v))}function h(v){return v===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(v),e.exit("autolinkMarker"),e.exit("autolink"),t):v===null||v===32||v===60||Ry(v)?n(v):(e.consume(v),h)}function f(v){return v===64?(e.consume(v),p):x3(v)?(e.consume(v),f):n(v)}function p(v){return Cn(v)?y(v):n(v)}function y(v){return v===46?(e.consume(v),r=0,p):v===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(v),e.exit("autolinkMarker"),e.exit("autolink"),t):b(v)}function b(v){if((v===45||Cn(v))&&r++<63){const k=v===45?b:y;return e.consume(v),k}return n(v)}}const wh={partial:!0,tokenize:B3};function B3(e,t,n){return r;function r(o){return qe(o)?it(e,s,"linePrefix")(o):s(o)}function s(o){return o===null||Ae(o)?t(o):n(o)}}const MR={continuation:{tokenize:z3},exit:H3,name:"blockQuote",tokenize:$3};function $3(e,t,n){const r=this;return s;function s(c){if(c===62){const u=r.containerState;return u.open||(e.enter("blockQuote",{_container:!0}),u.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(c),e.exit("blockQuoteMarker"),o}return n(c)}function o(c){return qe(c)?(e.enter("blockQuotePrefixWhitespace"),e.consume(c),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(c))}}function z3(e,t,n){const r=this;return s;function s(c){return qe(c)?it(e,o,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(c):o(c)}function o(c){return e.attempt(MR,t,n)(c)}}function H3(e){e.exit("blockQuote")}const BR={name:"characterEscape",tokenize:U3};function U3(e,t,n){return r;function r(o){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(o),e.exit("escapeMarker"),s}function s(o){return R3(o)?(e.enter("characterEscapeValue"),e.consume(o),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(o)}}const $R={name:"characterReference",tokenize:K3};function K3(e,t,n){const r=this;let s=0,o,c;return u;function u(y){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(y),e.exit("characterReferenceMarker"),h}function h(y){return y===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(y),e.exit("characterReferenceMarkerNumeric"),f):(e.enter("characterReferenceValue"),o=31,c=Cn,p(y))}function f(y){return y===88||y===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(y),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),o=6,c=E3,p):(e.enter("characterReferenceValue"),o=7,c=Cy,p(y))}function p(y){if(y===59&&s){const b=e.exit("characterReferenceValue");return c===Cn&&!Rg(r.sliceSerialize(b))?n(y):(e.enter("characterReferenceMarker"),e.consume(y),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return c(y)&&s++<o?(e.consume(y),p):n(y)}}const c_={partial:!0,tokenize:F3},u_={concrete:!0,name:"codeFenced",tokenize:V3};function V3(e,t,n){const r=this,s={partial:!0,tokenize:K};let o=0,c=0,u;return h;function h(D){return f(D)}function f(D){const I=r.events[r.events.length-1];return o=I&&I[1].type==="linePrefix"?I[2].sliceSerialize(I[1],!0).length:0,u=D,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),p(D)}function p(D){return D===u?(c++,e.consume(D),p):c<3?n(D):(e.exit("codeFencedFenceSequence"),qe(D)?it(e,y,"whitespace")(D):y(D))}function y(D){return D===null||Ae(D)?(e.exit("codeFencedFence"),r.interrupt?t(D):e.check(c_,w,P)(D)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),b(D))}function b(D){return D===null||Ae(D)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),y(D)):qe(D)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),it(e,v,"whitespace")(D)):D===96&&D===u?n(D):(e.consume(D),b)}function v(D){return D===null||Ae(D)?y(D):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),k(D))}function k(D){return D===null||Ae(D)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),y(D)):D===96&&D===u?n(D):(e.consume(D),k)}function w(D){return e.attempt(s,P,E)(D)}function E(D){return e.enter("lineEnding"),e.consume(D),e.exit("lineEnding"),_}function _(D){return o>0&&qe(D)?it(e,A,"linePrefix",o+1)(D):A(D)}function A(D){return D===null||Ae(D)?e.check(c_,w,P)(D):(e.enter("codeFlowValue"),C(D))}function C(D){return D===null||Ae(D)?(e.exit("codeFlowValue"),A(D)):(e.consume(D),C)}function P(D){return e.exit("codeFenced"),t(D)}function K(D,I,$){let Y=0;return re;function re(G){return D.enter("lineEnding"),D.consume(G),D.exit("lineEnding"),z}function z(G){return D.enter("codeFencedFence"),qe(G)?it(D,H,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(G):H(G)}function H(G){return G===u?(D.enter("codeFencedFenceSequence"),te(G)):$(G)}function te(G){return G===u?(Y++,D.consume(G),te):Y>=c?(D.exit("codeFencedFenceSequence"),qe(G)?it(D,Z,"whitespace")(G):Z(G)):$(G)}function Z(G){return G===null||Ae(G)?(D.exit("codeFencedFence"),I(G)):$(G)}}}function F3(e,t,n){const r=this;return s;function s(c){return c===null?n(c):(e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),o)}function o(c){return r.parser.lazy[r.now().line]?n(c):t(c)}}const Cm={name:"codeIndented",tokenize:G3},q3={partial:!0,tokenize:W3};function G3(e,t,n){const r=this;return s;function s(f){return e.enter("codeIndented"),it(e,o,"linePrefix",5)(f)}function o(f){const p=r.events[r.events.length-1];return p&&p[1].type==="linePrefix"&&p[2].sliceSerialize(p[1],!0).length>=4?c(f):n(f)}function c(f){return f===null?h(f):Ae(f)?e.attempt(q3,c,h)(f):(e.enter("codeFlowValue"),u(f))}function u(f){return f===null||Ae(f)?(e.exit("codeFlowValue"),c(f)):(e.consume(f),u)}function h(f){return e.exit("codeIndented"),t(f)}}function W3(e,t,n){const r=this;return s;function s(c){return r.parser.lazy[r.now().line]?n(c):Ae(c)?(e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),s):it(e,o,"linePrefix",5)(c)}function o(c){const u=r.events[r.events.length-1];return u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?t(c):Ae(c)?s(c):n(c)}}const Y3={name:"codeText",previous:Q3,resolve:J3,tokenize:X3};function J3(e){let t=e.length-4,n=3,r,s;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)s===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(s=r):(r===t||e[r][1].type==="lineEnding")&&(e[s][1].type="codeTextData",r!==s+2&&(e[s][1].end=e[r-1][1].end,e.splice(s+2,r-s-2),t-=r-s-2,r=s+2),s=void 0);return e}function Q3(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function X3(e,t,n){let r=0,s,o;return c;
vendor: 4,711 bytes, line 101
101function c(y){return e.enter("codeText"),e.enter("codeTextSequence"),u(y)}function u(y){return y===96?(e.consume(y),r++,u):(e.exit("codeTextSequence"),h(y))}function h(y){return y===null?n(y):y===32?(e.enter("space"),e.consume(y),e.exit("space"),h):y===96?(o=e.enter("codeTextSequence"),s=0,p(y)):Ae(y)?(e.enter("lineEnding"),e.consume(y),e.exit("lineEnding"),h):(e.enter("codeTextData"),f(y))}function f(y){return y===null||y===32||y===96||Ae(y)?(e.exit("codeTextData"),h(y)):(e.consume(y),f)}function p(y){return y===96?(e.consume(y),s++,p):s===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(y)):(o.type="codeTextData",f(y))}}class Z3{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const s=n||0;this.setCursor(Math.trunc(t));const o=this.right.splice(this.right.length-s,Number.POSITIVE_INFINITY);return r&&_l(this.left,r),o.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),_l(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),_l(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);_l(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);_l(this.left,n.reverse())}}}function _l(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function zR(e){const t={};let n=-1,r,s,o,c,u,h,f;const p=new Z3(e);for(;++n<p.length;){for(;n in t;)n=t[n];if(r=p.get(n),n&&r[1].type==="chunkFlow"&&p.get(n-1)[1].type==="listItemPrefix"&&(h=r[1]._tokenizer.events,o=0,o<h.length&&h[o][1].type==="lineEndingBlank"&&(o+=2),o<h.length&&h[o][1].type==="content"))for(;++o<h.length&&h[o][1].type!=="content";)h[o][1].type==="chunkText"&&(h[o][1]._isInFirstContentOfListItem=!0,o++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,eH(p,n)),n=t[n],f=!0);else if(r[1]._container){for(o=n,s=void 0;o--;)if(c=p.get(o),c[1].type==="lineEnding"||c[1].type==="lineEndingBlank")c[0]==="enter"&&(s&&(p.get(s)[1].type="lineEndingBlank"),c[1].type="lineEnding",s=o);else if(!(c[1].type==="linePrefix"||c[1].type==="listItemIndent"))break;s&&(r[1].end={...p.get(s)[1].start},u=p.slice(s,n),u.unshift(r),p.splice(s,n-s+1,u))}}return xa(e,0,Number.POSITIVE_INFINITY,p.slice(0)),!f}function eH(e,t){const n=e.get(t)[1],r=e.get(t)[2];let s=t-1;const o=[];let c=n._tokenizer;c||(c=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(c._contentTypeTextTrailing=!0));const u=c.events,h=[],f={};let p,y,b=-1,v=n,k=0,w=0;const E=[w];for(;v;){for(;e.get(++s)[1]!==v;);o.push(s),v._tokenizer||(p=r.sliceStream(v),v.next||p.push(null),y&&c.defineSkip(v.start),v._isInFirstContentOfListItem&&(c._gfmTasklistFirstContentOfListItem=!0),c.write(p),v._isInFirstContentOfListItem&&(c._gfmTasklistFirstContentOfListItem=void 0)),y=v,v=v.next}for(v=n;++b<u.length;)u[b][0]==="exit"&&u[b-1][0]==="enter"&&u[b][1].type===u[b-1][1].type&&u[b][1].start.line!==u[b][1].end.line&&(w=b+1,E.push(w),v._tokenizer=void 0,v.previous=void 0,v=v.next);for(c.events=[],v?(v._tokenizer=void 0,v.previous=void 0):E.pop(),b=E.length;b--;){const _=u.slice(E[b],E[b+1]),A=o.pop();h.push([A,A+_.length-1]),e.splice(A,2,_)}for(h.reverse(),b=-1;++b<h.length;)f[k+h[b][0]]=k+h[b][1],k+=h[b][1]-h[b][0]-1;return f}const tH={resolve:aH,tokenize:rH},nH={partial:!0,tokenize:iH};function aH(e){return zR(e),e}function rH(e,t){let n;return r;function r(u){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),s(u)}function s(u){return u===null?o(u):Ae(u)?e.check(nH,c,o)(u):(e.consume(u),s)}function o(u){return e.exit("chunkContent"),e.exit("content"),t(u)}function c(u){return e.consume(u),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,s}}
vendor: 17,454 bytes, line 101
101function iH(e,t,n){const r=this;return s;function s(c){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),it(e,o,"linePrefix")}function o(c){if(c===null||Ae(c))return n(c);const u=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?t(c):e.interrupt(r.parser.constructs.flow,n,t)(c)}}function HR(e,t,n,r,s,o,c,u,h){const f=h||Number.POSITIVE_INFINITY;let p=0;return y;function y(_){return _===60?(e.enter(r),e.enter(s),e.enter(o),e.consume(_),e.exit(o),b):_===null||_===32||_===41||Ry(_)?n(_):(e.enter(r),e.enter(c),e.enter(u),e.enter("chunkString",{contentType:"string"}),w(_))}function b(_){return _===62?(e.enter(o),e.consume(_),e.exit(o),e.exit(s),e.exit(r),t):(e.enter(u),e.enter("chunkString",{contentType:"string"}),v(_))}function v(_){return _===62?(e.exit("chunkString"),e.exit(u),b(_)):_===null||_===60||Ae(_)?n(_):(e.consume(_),_===92?k:v)}function k(_){return _===60||_===62||_===92?(e.consume(_),v):v(_)}function w(_){return!p&&(_===null||_===41||dn(_))?(e.exit("chunkString"),e.exit(u),e.exit(c),e.exit(r),t(_)):p<f&&_===40?(e.consume(_),p++,w):_===41?(e.consume(_),p--,w):_===null||_===32||_===40||Ry(_)?n(_):(e.consume(_),_===92?E:w)}function E(_){return _===40||_===41||_===92?(e.consume(_),w):w(_)}}function UR(e,t,n,r,s,o){const c=this;let u=0,h;return f;function f(v){return e.enter(r),e.enter(s),e.consume(v),e.exit(s),e.enter(o),p}function p(v){return u>999||v===null||v===91||v===93&&!h||v===94&&!u&&"_hiddenFootnoteSupport"in c.parser.constructs?n(v):v===93?(e.exit(o),e.enter(s),e.consume(v),e.exit(s),e.exit(r),t):Ae(v)?(e.enter("lineEnding"),e.consume(v),e.exit("lineEnding"),p):(e.enter("chunkString",{contentType:"string"}),y(v))}function y(v){return v===null||v===91||v===93||Ae(v)||u++>999?(e.exit("chunkString"),p(v)):(e.consume(v),h||(h=!qe(v)),v===92?b:y)}function b(v){return v===91||v===92||v===93?(e.consume(v),u++,y):y(v)}}function KR(e,t,n,r,s,o){let c;return u;function u(b){return b===34||b===39||b===40?(e.enter(r),e.enter(s),e.consume(b),e.exit(s),c=b===40?41:b,h):n(b)}function h(b){return b===c?(e.enter(s),e.consume(b),e.exit(s),e.exit(r),t):(e.enter(o),f(b))}function f(b){return b===c?(e.exit(o),h(c)):b===null?n(b):Ae(b)?(e.enter("lineEnding"),e.consume(b),e.exit("lineEnding"),it(e,f,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),p(b))}function p(b){return b===c||b===null||Ae(b)?(e.exit("chunkString"),f(b)):(e.consume(b),b===92?y:p)}function y(b){return b===c||b===92?(e.consume(b),p):p(b)}}function Kl(e,t){let n;return r;function r(s){return Ae(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),n=!0,r):qe(s)?it(e,r,n?"linePrefix":"lineSuffix")(s):t(s)}}const sH={name:"definition",tokenize:lH},oH={partial:!0,tokenize:cH};function lH(e,t,n){const r=this;let s;return o;function o(v){return e.enter("definition"),c(v)}function c(v){return UR.call(r,e,u,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(v)}function u(v){return s=io(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),v===58?(e.enter("definitionMarker"),e.consume(v),e.exit("definitionMarker"),h):n(v)}function h(v){return dn(v)?Kl(e,f)(v):f(v)}function f(v){return HR(e,p,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(v)}function p(v){return e.attempt(oH,y,y)(v)}function y(v){return qe(v)?it(e,b,"whitespace")(v):b(v)}function b(v){return v===null||Ae(v)?(e.exit("definition"),r.parser.defined.push(s),t(v)):n(v)}}function cH(e,t,n){return r;function r(u){return dn(u)?Kl(e,s)(u):n(u)}function s(u){return KR(e,o,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(u)}function o(u){return qe(u)?it(e,c,"whitespace")(u):c(u)}function c(u){return u===null||Ae(u)?t(u):n(u)}}const uH={name:"hardBreakEscape",tokenize:dH};function dH(e,t,n){return r;function r(o){return e.enter("hardBreakEscape"),e.consume(o),s}function s(o){return Ae(o)?(e.exit("hardBreakEscape"),t(o)):n(o)}}const hH={name:"headingAtx",resolve:fH,tokenize:pH};function fH(e,t){let n=e.length-2,r=3,s,o;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(s={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},o={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},xa(e,r,n-r+1,[["enter",s,t],["enter",o,t],["exit",o,t],["exit",s,t]])),e}function pH(e,t,n){let r=0;return s;function s(p){return e.enter("atxHeading"),o(p)}function o(p){return e.enter("atxHeadingSequence"),c(p)}function c(p){return p===35&&r++<6?(e.consume(p),c):p===null||dn(p)?(e.exit("atxHeadingSequence"),u(p)):n(p)}function u(p){return p===35?(e.enter("atxHeadingSequence"),h(p)):p===null||Ae(p)?(e.exit("atxHeading"),t(p)):qe(p)?it(e,u,"whitespace")(p):(e.enter("atxHeadingText"),f(p))}function h(p){return p===35?(e.consume(p),h):(e.exit("atxHeadingSequence"),u(p))}function f(p){return p===null||p===35||dn(p)?(e.exit("atxHeadingText"),u(p)):(e.consume(p),f)}}const mH=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],d_=["pre","script","style","textarea"],yH={concrete:!0,name:"htmlFlow",resolveTo:vH,tokenize:wH},gH={partial:!0,tokenize:kH},bH={partial:!0,tokenize:SH};function vH(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function wH(e,t,n){const r=this;let s,o,c,u,h;return f;function f(O){return p(O)}function p(O){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(O),y}function y(O){return O===33?(e.consume(O),b):O===47?(e.consume(O),o=!0,w):O===63?(e.consume(O),s=3,r.interrupt?t:T):va(O)?(e.consume(O),c=String.fromCharCode(O),E):n(O)}function b(O){return O===45?(e.consume(O),s=2,v):O===91?(e.consume(O),s=5,u=0,k):va(O)?(e.consume(O),s=4,r.interrupt?t:T):n(O)}function v(O){return O===45?(e.consume(O),r.interrupt?t:T):n(O)}function k(O){const de="CDATA[";return O===de.charCodeAt(u++)?(e.consume(O),u===de.length?r.interrupt?t:H:k):n(O)}function w(O){return va(O)?(e.consume(O),c=String.fromCharCode(O),E):n(O)}function E(O){if(O===null||O===47||O===62||dn(O)){const de=O===47,me=c.toLowerCase();return!de&&!o&&d_.includes(me)?(s=1,r.interrupt?t(O):H(O)):mH.includes(c.toLowerCase())?(s=6,de?(e.consume(O),_):r.interrupt?t(O):H(O)):(s=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(O):o?A(O):C(O))}return O===45||Cn(O)?(e.consume(O),c+=String.fromCharCode(O),E):n(O)}function _(O){return O===62?(e.consume(O),r.interrupt?t:H):n(O)}function A(O){return qe(O)?(e.consume(O),A):re(O)}function C(O){return O===47?(e.consume(O),re):O===58||O===95||va(O)?(e.consume(O),P):qe(O)?(e.consume(O),C):re(O)}function P(O){return O===45||O===46||O===58||O===95||Cn(O)?(e.consume(O),P):K(O)}function K(O){return O===61?(e.consume(O),D):qe(O)?(e.consume(O),K):C(O)}function D(O){return O===null||O===60||O===61||O===62||O===96?n(O):O===34||O===39?(e.consume(O),h=O,I):qe(O)?(e.consume(O),D):$(O)}function I(O){return O===h?(e.consume(O),h=null,Y):O===null||Ae(O)?n(O):(e.consume(O),I)}function $(O){return O===null||O===34||O===39||O===47||O===60||O===61||O===62||O===96||dn(O)?K(O):(e.consume(O),$)}function Y(O){return O===47||O===62||qe(O)?C(O):n(O)}function re(O){return O===62?(e.consume(O),z):n(O)}function z(O){return O===null||Ae(O)?H(O):qe(O)?(e.consume(O),z):n(O)}function H(O){return O===45&&s===2?(e.consume(O),M):O===60&&s===1?(e.consume(O),Q):O===62&&s===4?(e.consume(O),L):O===63&&s===3?(e.consume(O),T):O===93&&s===5?(e.consume(O),Se):Ae(O)&&(s===6||s===7)?(e.exit("htmlFlowData"),e.check(gH,J,te)(O)):O===null||Ae(O)?(e.exit("htmlFlowData"),te(O)):(e.consume(O),H)}function te(O){return e.check(bH,Z,J)(O)}function Z(O){return e.enter("lineEnding"),e.consume(O),e.exit("lineEnding"),G}function G(O){return O===null||Ae(O)?te(O):(e.enter("htmlFlowData"),H(O))}function M(O){return O===45?(e.consume(O),T):H(O)}function Q(O){return O===47?(e.consume(O),c="",ie):H(O)}function ie(O){if(O===62){const de=c.toLowerCase();return d_.includes(de)?(e.consume(O),L):H(O)}return va(O)&&c.length<8?(e.consume(O),c+=String.fromCharCode(O),ie):H(O)}function Se(O){return O===93?(e.consume(O),T):H(O)}function T(O){return O===62?(e.consume(O),L):O===45&&s===2?(e.consume(O),T):H(O)}function L(O){return O===null||Ae(O)?(e.exit("htmlFlowData"),J(O)):(e.consume(O),L)}function J(O){return e.exit("htmlFlow"),t(O)}}function SH(e,t,n){const r=this;return s;function s(c){return Ae(c)?(e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),o):n(c)}function o(c){return r.parser.lazy[r.now().line]?n(c):t(c)}}function kH(e,t,n){return r;function r(s){return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),e.attempt(wh,t,n)}}const _H={name:"htmlText",tokenize:xH};function xH(e,t,n){const r=this;let s,o,c;return u;function u(T){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(T),h}function h(T){return T===33?(e.consume(T),f):T===47?(e.consume(T),K):T===63?(e.consume(T),C):va(T)?(e.consume(T),$):n(T)}function f(T){return T===45?(e.consume(T),p):T===91?(e.consume(T),o=0,k):va(T)?(e.consume(T),A):n(T)}function p(T){return T===45?(e.consume(T),v):n(T)}function y(T){return T===null?n(T):T===45?(e.consume(T),b):Ae(T)?(c=y,Q(T)):(e.consume(T),y)}function b(T){return T===45?(e.consume(T),v):y(T)}function v(T){return T===62?M(T):T===45?b(T):y(T)}function k(T){const L="CDATA[";return T===L.charCodeAt(o++)?(e.consume(T),o===L.length?w:k):n(T)}function w(T){return T===null?n(T):T===93?(e.consume(T),E):Ae(T)?(c=w,Q(T)):(e.consume(T),w)}function E(T){return T===93?(e.consume(T),_):w(T)}function _(T){return T===62?M(T):T===93?(e.consume(T),_):w(T)}function A(T){return T===null||T===62?M(T):Ae(T)?(c=A,Q(T)):(e.consume(T),A)}function C(T){return T===null?n(T):T===63?(e.consume(T),P):Ae(T)?(c=C,Q(T)):(e.consume(T),C)}function P(T){return T===62?M(T):C(T)}function K(T){return va(T)?(e.consume(T),D):n(T)}function D(T){return T===45||Cn(T)?(e.consume(T),D):I(T)}function I(T){return Ae(T)?(c=I,Q(T)):qe(T)?(e.consume(T),I):M(T)}function $(T){return T===45||Cn(T)?(e.consume(T),$):T===47||T===62||dn(T)?Y(T):n(T)}function Y(T){return T===47?(e.consume(T),M):T===58||T===95||va(T)?(e.consume(T),re):Ae(T)?(c=Y,Q(T)):qe(T)?(e.consume(T),Y):M(T)}function re(T){return T===45||T===46||T===58||T===95||Cn(T)?(e.consume(T),re):z(T)}function z(T){return T===61?(e.consume(T),H):Ae(T)?(c=z,Q(T)):qe(T)?(e.consume(T),z):Y(T)}function H(T){return T===null||T===60||T===61||T===62||T===96?n(T):T===34||T===39?(e.consume(T),s=T,te):Ae(T)?(c=H,Q(T)):qe(T)?(e.consume(T),H):(e.consume(T),Z)}function te(T){return T===s?(e.consume(T),s=void 0,G):T===null?n(T):Ae(T)?(c=te,Q(T)):(e.consume(T),te)}function Z(T){return T===null||T===34||T===39||T===60||T===61||T===96?n(T):T===47||T===62||dn(T)?Y(T):(e.consume(T),Z)}function G(T){return T===47||T===62||dn(T)?Y(T):n(T)}function M(T){return T===62?(e.consume(T),e.exit("htmlTextData"),e.exit("htmlText"),t):n(T)}function Q(T){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(T),e.exit("lineEnding"),ie}function ie(T){return qe(T)?it(e,Se,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(T):Se(T)}function Se(T){return e.enter("htmlTextData"),c(T)}}const Ag={name:"labelEnd",resolveAll:AH,resolveTo:TH,tokenize:OH},EH={tokenize:NH},RH={tokenize:DH},CH={tokenize:IH};function AH(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const s=r.type==="labelImage"?4:2;r.type="data",t+=s}}return e.length!==n.length&&xa(e,0,e.length,n),e}function TH(e,t){let n=e.length,r=0,s,o,c,u;for(;n--;)if(s=e[n][1],o){if(s.type==="link"||s.type==="labelLink"&&s._inactive)break;e[n][0]==="enter"&&s.type==="labelLink"&&(s._inactive=!0)}else if(c){if(e[n][0]==="enter"&&(s.type==="labelImage"||s.type==="labelLink")&&!s._balanced&&(o=n,s.type!=="labelLink")){r=2;break}}else s.type==="labelEnd"&&(c=n);const h={type:e[o][1].type==="labelLink"?"link":"image",start:{...e[o][1].start},end:{...e[e.length-1][1].end}},f={type:"label",start:{...e[o][1].start},end:{...e[c][1].end}},p={type:"labelText",start:{...e[o+r+2][1].end},end:{...e[c-2][1].start}};return u=[["enter",h,t],["enter",f,t]],u=Un(u,e.slice(o+1,o+r+3)),u=Un(u,[["enter",p,t]]),u=Un(u,Cg(t.parser.constructs.insideSpan.null,e.slice(o+r+4,c-3),t)),u=Un(u,[["exit",p,t],e[c-2],e[c-1],["exit",f,t]]),u=Un(u,e.slice(c+1)),u=Un(u,[["exit",h,t]]),xa(e,o,e.length,u),e}function OH(e,t,n){const r=this;let s=r.events.length,o,c;for(;s--;)if((r.events[s][1].type==="labelImage"||r.events[s][1].type==="labelLink")&&!r.events[s][1]._balanced){o=r.events[s][1];break}return u;function u(b){return o?o._inactive?y(b):(c=r.parser.defined.includes(io(r.sliceSerialize({start:o.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(b),e.exit("labelMarker"),e.exit("labelEnd"),h):n(b)}function h(b){return b===40?e.attempt(EH,p,c?p:y)(b):b===91?e.attempt(RH,p,c?f:y)(b):c?p(b):y(b)}function f(b){return e.attempt(CH,p,y)(b)}function p(b){return t(b)}function y(b){return o._balanced=!0,n(b)}}function NH(e,t,n){return r;function r(y){return e.enter("resource"),e.enter("resourceMarker"),e.consume(y),e.exit("resourceMarker"),s}function s(y){return dn(y)?Kl(e,o)(y):o(y)}function o(y){return y===41?p(y):HR(e,c,u,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(y)}function c(y){return dn(y)?Kl(e,h)(y):p(y)}function u(y){return n(y)}function h(y){return y===34||y===39||y===40?KR(e,f,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(y):p(y)}function f(y){return dn(y)?Kl(e,p)(y):p(y)}function p(y){return y===41?(e.enter("resourceMarker"),e.consume(y),e.exit("resourceMarker"),e.exit("resource"),t):n(y)}}function DH(e,t,n){const r=this;return s;function s(u){return UR.call(r,e,o,c,"reference","referenceMarker","referenceString")(u)}function o(u){return r.parser.defined.includes(io(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(u):n(u)}function c(u){return n(u)}}function IH(e,t,n){return r;function r(o){return e.enter("reference"),e.enter("referenceMarker"),e.consume(o),e.exit("referenceMarker"),s}function s(o){return o===93?(e.enter("referenceMarker"),e.consume(o),e.exit("referenceMarker"),e.exit("reference"),t):n(o)}}const PH={name:"labelStartImage",resolveAll:Ag.resolveAll,tokenize:jH};function jH(e,t,n){const r=this;return s;function s(u){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(u),e.exit("labelImageMarker"),o}function o(u){return u===91?(e.enter("labelMarker"),e.consume(u),e.exit("labelMarker"),e.exit("labelImage"),c):n(u)}function c(u){return u===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(u):t(u)}}const LH={name:"labelStartLink",resolveAll:Ag.resolveAll,tokenize:MH};function MH(e,t,n){const r=this;return s;function s(c){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(c),e.exit("labelMarker"),e.exit("labelLink"),o}function o(c){return c===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(c):t(c)}}const Am={name:"lineEnding",tokenize:BH};function BH(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),it(e,t,"linePrefix")}}const Id={name:"thematicBreak",tokenize:$H};function $H(e,t,n){let r=0,s;return o;function o(f){return e.enter("thematicBreak"),c(f)}function c(f){return s=f,u(f)}function u(f){return f===s?(e.enter("thematicBreakSequence"),h(f)):r>=3&&(f===null||Ae(f))?(e.exit("thematicBreak"),t(f)):n(f)}function h(f){return f===s?(e.consume(f),r++,h):(e.exit("thematicBreakSequence"),qe(f)?it(e,u,"whitespace")(f):u(f))}}const un={continuation:{tokenize:KH},exit:FH,name:"list",tokenize:UH},zH={partial:!0,tokenize:qH},HH={partial:!0,tokenize:VH};function UH(e,t,n){const r=this,s=r.events[r.events.length-1];let o=s&&s[1].type==="linePrefix"?s[2].sliceSerialize(s[1],!0).length:0,c=0;return u;function u(v){const k=r.containerState.type||(v===42||v===43||v===45?"listUnordered":"listOrdered");if(k==="listUnordered"?!r.containerState.marker||v===r.containerState.marker:Cy(v)){if(r.containerState.type||(r.containerState.type=k,e.enter(k,{_container:!0})),k==="listUnordered")return e.enter("listItemPrefix"),v===42||v===45?e.check(Id,n,f)(v):f(v);if(!r.interrupt||v===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),h(v)}return n(v)}function h(v){return Cy(v)&&++c<10?(e.consume(v),h):(!r.interrupt||c<2)&&(r.containerState.marker?v===r.containerState.marker:v===41||v===46)?(e.exit("listItemValue"),f(v)):n(v)}function f(v){return e.enter("listItemMarker"),e.consume(v),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||v,e.check(wh,r.interrupt?n:p,e.attempt(zH,b,y))}
vendor: 5,359 bytes, line 101
101function p(v){return r.containerState.initialBlankLine=!0,o++,b(v)}function y(v){return qe(v)?(e.enter("listItemPrefixWhitespace"),e.consume(v),e.exit("listItemPrefixWhitespace"),b):n(v)}function b(v){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(v)}}function KH(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(wh,s,o);function s(u){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,it(e,t,"listItemIndent",r.containerState.size+1)(u)}function o(u){return r.containerState.furtherBlankLines||!qe(u)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,c(u)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(HH,t,c)(u))}function c(u){return r.containerState._closeFlow=!0,r.interrupt=void 0,it(e,e.attempt(un,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(u)}}function VH(e,t,n){const r=this;return it(e,s,"listItemIndent",r.containerState.size+1);function s(o){const c=r.events[r.events.length-1];return c&&c[1].type==="listItemIndent"&&c[2].sliceSerialize(c[1],!0).length===r.containerState.size?t(o):n(o)}}function FH(e){e.exit(this.containerState.type)}function qH(e,t,n){const r=this;return it(e,s,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function s(o){const c=r.events[r.events.length-1];return!qe(o)&&c&&c[1].type==="listItemPrefixWhitespace"?t(o):n(o)}}const h_={name:"setextUnderline",resolveTo:GH,tokenize:WH};function GH(e,t){let n=e.length,r,s,o;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(s=n)}else e[n][1].type==="content"&&e.splice(n,1),!o&&e[n][1].type==="definition"&&(o=n);const c={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[s][1].type="setextHeadingText",o?(e.splice(s,0,["enter",c,t]),e.splice(o+1,0,["exit",e[r][1],t]),e[r][1].end={...e[o][1].end}):e[r][1]=c,e.push(["exit",c,t]),e}function WH(e,t,n){const r=this;let s;return o;function o(f){let p=r.events.length,y;for(;p--;)if(r.events[p][1].type!=="lineEnding"&&r.events[p][1].type!=="linePrefix"&&r.events[p][1].type!=="content"){y=r.events[p][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||y)?(e.enter("setextHeadingLine"),s=f,c(f)):n(f)}function c(f){return e.enter("setextHeadingLineSequence"),u(f)}function u(f){return f===s?(e.consume(f),u):(e.exit("setextHeadingLineSequence"),qe(f)?it(e,h,"lineSuffix")(f):h(f))}function h(f){return f===null||Ae(f)?(e.exit("setextHeadingLine"),t(f)):n(f)}}const YH={tokenize:JH};function JH(e){const t=this,n=e.attempt(wh,r,e.attempt(this.parser.constructs.flowInitial,s,it(e,e.attempt(this.parser.constructs.flow,s,e.attempt(tH,s)),"linePrefix")));return n;function r(o){if(o===null){e.consume(o);return}return e.enter("lineEndingBlank"),e.consume(o),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function s(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const QH={resolveAll:FR()},XH=VR("string"),ZH=VR("text");function VR(e){return{resolveAll:FR(e==="text"?eU:void 0),tokenize:t};function t(n){const r=this,s=this.parser.constructs[e],o=n.attempt(s,c,u);return c;function c(p){return f(p)?o(p):u(p)}function u(p){if(p===null){n.consume(p);return}return n.enter("data"),n.consume(p),h}function h(p){return f(p)?(n.exit("data"),o(p)):(n.consume(p),h)}function f(p){if(p===null)return!0;const y=s[p];let b=-1;if(y)for(;++b<y.length;){const v=y[b];if(!v.previous||v.previous.call(r,r.previous))return!0}return!1}}}function FR(e){return t;function t(n,r){let s=-1,o;for(;++s<=n.length;)o===void 0?n[s]&&n[s][1].type==="data"&&(o=s,s++):(!n[s]||n[s][1].type!=="data")&&(s!==o+2&&(n[o][1].end=n[s-1][1].end,n.splice(o+2,s-o-2),s=o+2),o=void 0);return e?e(n,r):n}}function eU(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],s=t.sliceStream(r);let o=s.length,c=-1,u=0,h;for(;o--;){const f=s[o];if(typeof f=="string"){for(c=f.length;f.charCodeAt(c-1)===32;)u++,c--;if(c)break;c=-1}else if(f===-2)h=!0,u++;else if(f!==-1){o++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(u=0),u){const f={type:n===e.length||h||u<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:o?c:r.start._bufferIndex+c,_index:r.start._index+o,line:r.end.line,column:r.end.column-u,offset:r.end.offset-u},end:{...r.end}};r.end={...f.start},r.start.offset===r.end.offset?Object.assign(r,f):(e.splice(n,0,["enter",f,t],["exit",f,t]),n+=2)}n++}return e}const tU={42:un,43:un,45:un,48:un,49:un,50:un,51:un,52:un,53:un,54:un,55:un,56:un,57:un,62:MR},nU={91:sH},aU={[-2]:Cm,[-1]:Cm,32:Cm},rU={35:hH,42:Id,45:[h_,Id],60:yH,61:h_,95:Id,96:u_,126:u_},iU={38:$R,92:BR},sU={[-5]:Am,[-4]:Am,[-3]:Am,33:PH,38:$R,42:Ay,60:[L3,_H],91:LH,92:[uH,BR],93:Ag,95:Ay,96:Y3},oU={null:[Ay,QH]},lU={null:[42,95]},cU={null:[]},uU=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:lU,contentInitial:nU,disable:cU,document:tU,flow:rU,flowInitial:aU,insideSpan:oU,string:iU,text:sU},Symbol.toStringTag,{value:"Module"}));function dU(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,c
vendor: 14,852 bytes, lines 101-103
101olumn:n&&n.column||1,offset:n&&n.offset||0};const s={},o=[];let c=[],u=[];const h={attempt:I(K),check:I(D),consume:A,enter:C,exit:P,interrupt:I(D,{interrupt:!0})},f={code:null,containerState:{},defineSkip:w,events:[],now:k,parser:e,previous:null,sliceSerialize:b,sliceStream:v,write:y};let p=t.tokenize.call(f,h);return t.resolveAll&&o.push(t),f;function y(z){return c=Un(c,z),E(),c[c.length-1]!==null?[]:($(t,0),f.events=Cg(o,f.events,f),f.events)}function b(z,H){return fU(v(z),H)}function v(z){return hU(c,z)}function k(){const{_bufferIndex:z,_index:H,line:te,column:Z,offset:G}=r;return{_bufferIndex:z,_index:H,line:te,column:Z,offset:G}}function w(z){s[z.line]=z.column,re()}function E(){let z;for(;r._index<c.length;){const H=c[r._index];if(typeof H=="string")for(z=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===z&&r._bufferIndex<H.length;)_(H.charCodeAt(r._bufferIndex));else _(H)}}function _(z){p=p(z)}function A(z){Ae(z)?(r.line++,r.column=1,r.offset+=z===-3?2:1,re()):z!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===c[r._index].length&&(r._bufferIndex=-1,r._index++)),f.previous=z}function C(z,H){const te=H||{};return te.type=z,te.start=k(),f.events.push(["enter",te,f]),u.push(te),te}function P(z){const H=u.pop();return H.end=k(),f.events.push(["exit",H,f]),H}function K(z,H){$(z,H.from)}function D(z,H){H.restore()}function I(z,H){return te;function te(Z,G,M){let Q,ie,Se,T;return Array.isArray(Z)?J(Z):"tokenize"in Z?J([Z]):L(Z);function L(fe){return ye;function ye(Te){const xe=Te!==null&&fe[Te],ht=Te!==null&&fe.null,Ct=[...Array.isArray(xe)?xe:xe?[xe]:[],...Array.isArray(ht)?ht:ht?[ht]:[]];return J(Ct)(Te)}}function J(fe){return Q=fe,ie=0,fe.length===0?M:O(fe[ie])}function O(fe){return ye;function ye(Te){return T=Y(),Se=fe,fe.partial||(f.currentConstruct=fe),fe.name&&f.parser.constructs.disable.null.includes(fe.name)?me():fe.tokenize.call(H?Object.assign(Object.create(f),H):f,h,de,me)(Te)}}function de(fe){return z(Se,T),G}function me(fe){return T.restore(),++ie<Q.length?O(Q[ie]):M}}}function $(z,H){z.resolveAll&&!o.includes(z)&&o.push(z),z.resolve&&xa(f.events,H,f.events.length-H,z.resolve(f.events.slice(H),f)),z.resolveTo&&(f.events=z.resolveTo(f.events,f))}function Y(){const z=k(),H=f.previous,te=f.currentConstruct,Z=f.events.length,G=Array.from(u);return{from:Z,restore:M};function M(){r=z,f.previous=H,f.currentConstruct=te,f.events.length=Z,u=G,re()}}function re(){r.line in s&&r.column<2&&(r.column=s[r.line],r.offset+=s[r.line]-1)}}function hU(e,t){const n=t.start._index,r=t.start._bufferIndex,s=t.end._index,o=t.end._bufferIndex;let c;if(n===s)c=[e[n].slice(r,o)];else{if(c=e.slice(n,s),r>-1){const u=c[0];typeof u=="string"?c[0]=u.slice(r):c.shift()}o>0&&c.push(e[s].slice(0,o))}return c}function fU(e,t){let n=-1;const r=[];let s;for(;++n<e.length;){const o=e[n];let c;if(typeof o=="string")c=o;else switch(o){case-5:{c="\r";break}case-4:{c=`
102`;break}case-3:{c=`\r
103`;break}case-2:{c=t?" ":"	";break}case-1:{if(!t&&s)continue;c=" ";break}default:c=String.fromCharCode(o)}s=o===-2,r.push(c)}return r.join("")}function pU(e){const r={constructs:S3([uU,...(e||{}).extensions||[]]),content:s(T3),defined:[],document:s(N3),flow:s(YH),lazy:{},string:s(XH),text:s(ZH)};return r;function s(o){return c;function c(u){return dU(r,o,u)}}}function mU(e){for(;!zR(e););return e}const f_=/[\0\t\n\r]/g;function yU(){let e=1,t="",n=!0,r;return s;function s(o,c,u){const h=[];let f,p,y,b,v;for(o=t+(typeof o=="string"?o.toString():new TextDecoder(c||void 0).decode(o)),y=0,t="",n&&(o.charCodeAt(0)===65279&&y++,n=void 0);y<o.length;){if(f_.lastIndex=y,f=f_.exec(o),b=f&&f.index!==void 0?f.index:o.length,v=o.charCodeAt(b),!f){t=o.slice(y);break}if(v===10&&y===b&&r)h.push(-3),r=void 0;else switch(r&&(h.push(-5),r=void 0),y<b&&(h.push(o.slice(y,b)),e+=b-y),v){case 0:{h.push(65533),e++;break}case 9:{for(p=Math.ceil(e/4)*4,h.push(-2);e++<p;)h.push(-1);break}case 10:{h.push(-4),e=1;break}default:r=!0,e=1}y=b+1}return u&&(r&&h.push(-5),t&&h.push(t),h.push(null)),h}}const gU=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function bU(e){return e.replace(gU,vU)}function vU(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const s=n.charCodeAt(1),o=s===120||s===88;return LR(n.slice(o?2:1),o?16:10)}return Rg(n)||e}const qR={}.hasOwnProperty;function wU(e,t,n){return t&&typeof t=="object"&&(n=t,t=void 0),SU(n)(mU(pU(n).document().write(yU()(e,t,!0))))}function SU(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:o(Ki),autolinkProtocol:Y,autolinkEmail:Y,atxHeading:o(Hi),blockQuote:o(ht),characterEscape:Y,characterReference:Y,codeFenced:o(Ct),codeFencedFenceInfo:c,codeFencedFenceMeta:c,codeIndented:o(Ct,c),codeText:o(Dt,c),codeTextData:Y,data:Y,codeFlowValue:Y,definition:o(mn),definitionDestinationString:c,definitionLabelString:c,definitionTitleString:c,emphasis:o(Zt),hardBreakEscape:o(Ui),hardBreakTrailing:o(Ui),htmlFlow:o(bc,c),htmlFlowData:Y,htmlText:o(bc,c),htmlTextData:Y,image:o(vc),label:c,link:o(Ki),listItem:o(vo),listItemValue:b,listOrdered:o(Vi,y),listUnordered:o(Vi),paragraph:o(Ah),reference:O,referenceString:c,resourceDestinationString:c,resourceTitleString:c,setextHeading:o(Hi),strong:o(Th),thematicBreak:o(Oh)},exit:{atxHeading:h(),atxHeadingSequence:K,autolink:h(),autolinkEmail:xe,autolinkProtocol:Te,blockQuote:h(),characterEscapeValue:re,characterReferenceMarkerHexadecimal:me,characterReferenceMarkerNumeric:me,characterReferenceValue:fe,characterReference:ye,codeFenced:h(E),codeFencedFence:w,codeFencedFenceInfo:v,codeFencedFenceMeta:k,codeFlowValue:re,codeIndented:h(_),codeText:h(G),codeTextData:re,data:re,definition:h(),definitionDestinationString:P,definitionLabelString:A,definitionTitleString:C,emphasis:h(),hardBreakEscape:h(H),hardBreakTrailing:h(H),htmlFlow:h(te),htmlFlowData:re,htmlText:h(Z),htmlTextData:re,image:h(Q),label:Se,labelText:ie,lineEnding:z,link:h(M),listItem:h(),listOrdered:h(),listUnordered:h(),paragraph:h(),referenceString:de,resourceDestinationString:T,resourceTitleString:L,resource:J,setextHeading:h($),setextHeadingLineSequence:I,setextHeadingText:D,strong:h(),thematicBreak:h()}};GR(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(ee){let he={type:"root",children:[]};const Ce={stack:[he],tokenStack:[],config:t,enter:u,exit:f,buffer:c,resume:p,data:n},Le=[];let Ge=-1;for(;++Ge<ee.length;)if(ee[Ge][1].type==="listOrdered"||ee[Ge][1].type==="listUnordered")if(ee[Ge][0]==="enter")Le.push(Ge);else{const yn=Le.pop();Ge=s(ee,yn,Ge)}for(Ge=-1;++Ge<ee.length;){const yn=t[ee[Ge][0]];qR.call(yn,ee[Ge][1].type)&&yn[ee[Ge][1].type].call(Object.assign({sliceSerialize:ee[Ge][2].sliceSerialize},Ce),ee[Ge][1])}if(Ce.tokenStack.length>0){const yn=Ce.tokenStack[Ce.tokenStack.length-1];(yn[1]||p_).call(Ce,void 0,yn[0])}for(he.position={start:$r(ee.length>0?ee[0][1].start:{line:1,column:1,offset:0}),end:$r(ee.length>0?ee[ee.length-2][1].end:{line:1,column:1,offset:0})},Ge=-1;++Ge<t.transforms.length;)he=t.transforms[Ge](he)||he;return he}function s(ee,he,Ce){let Le=he-1,Ge=-1,yn=!1,Ca,Yt,At,en;for(;++Le<=Ce;){const tt=ee[Le];switch(tt[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{tt[0]==="enter"?Ge++:Ge--,en=void 0;break}case"lineEndingBlank":{tt[0]==="enter"&&(Ca&&!en&&!Ge&&!At&&(At=Le),en=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:en=void 0}if(!Ge&&tt[0]==="enter"&&tt[1].type==="listItemPrefix"||Ge===-1&&tt[0]==="exit"&&(tt[1].type==="listUnordered"||tt[1].type==="listOrdered")){if(Ca){let dr=Le;for(Yt=void 0;dr--;){const Vn=ee[dr];if(Vn[1].type==="lineEnding"||Vn[1].type==="lineEndingBlank"){if(Vn[0]==="exit")continue;Yt&&(ee[Yt][1].type="lineEndingBlank",yn=!0),Vn[1].type="lineEnding",Yt=dr}else if(!(Vn[1].type==="linePrefix"||Vn[1].type==="blockQuotePrefix"||Vn[1].type==="blockQuotePrefixWhitespace"||Vn[1].type==="blockQuoteMarker"||Vn[1].type==="listItemIndent"))break}At&&(!Yt||At<Yt)&&(Ca._spread=!0),Ca.end=Object.assign({},Yt?ee[Yt][1].start:tt[1].end),ee.splice(Yt||Le,0,["exit",Ca,tt[2]]),Le++,Ce++}if(tt[1].type==="listItemPrefix"){const dr={type:"listItem",_spread:!1,start:Object.assign({},tt[1].start),end:void 0};Ca=dr,ee.splice(Le,0,["enter",dr,tt[2]]),Le++,Ce++,At=void 0,en=!0}}}return ee[he][1]._spread=yn,Ce}function o(ee,he){return Ce;function Ce(Le){u.call(this,ee(Le),Le),he&&he.call(this,Le)}}function c(){this.stack.push({type:"fragment",children:[]})}function u(ee,he,Ce){this.stack[this.stack.length-1].children.push(ee),this.stack.push(ee),this.tokenStack.push([he,Ce||void 0]),ee.position={start:$r(he.start),end:void 0}}function h(ee){return he;function he(Ce){ee&&ee.call(this,Ce),f.call(this,Ce)}}function f(ee,he){const Ce=this.stack.pop(),Le=this.tokenStack.pop();if(Le)Le[0].type!==ee.type&&(he?he.call(this,ee,Le[0]):(Le[1]||p_).call(this,ee,Le[0]));else throw new Error("Cannot close `"+ee.type+"` ("+Ul({start:ee.start,end:ee.end})+"): it’s not open");Ce.position.end=$r(ee.end)}function p(){return v3(this.stack.pop())}function y(){this.data.expectingFirstListItemValue=!0}function b(ee){if(this.data.expectingFirstListItemValue){const he=this.stack[this.stack.length-2];he.start=Number.parseInt(this.sliceSerialize(ee),10),this.data.expectingFirstListItemValue=void 0}}function v(){const ee=this.resume(),he=this.stack[this.stack.length-1];he.lang=ee}function k(){const ee=this.resume(),he=this.stack[this.stack.length-1];he.meta=ee}function w(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function E(){const ee=this.resume(),he=this.stack[this.stack.length-1];he.value=ee.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function _(){const ee=this.resume(),he=this.stack[this.stack.length-1];he.value=ee.replace(/(\r?\n|\r)$/g,"")}function A(ee){const he=this.resume(),Ce=this.stack[this.stack.length-1];Ce.label=he,Ce.identifier=io(this.sliceSerialize(ee)).toLowerCase()}function C(){const ee=this.resume(),he=this.stack[this.stack.length-1];he.title=ee}function P(){const ee=this.resume(),he=this.stack[this.stack.length-1];he.url=ee}function K(ee){const he=this.stack[this.stack.length-1];if(!he.depth){const Ce=this.sliceSerialize(ee).length;he.depth=Ce}}function D(){this.data.setextHeadingSlurpLineEnding=!0}function I(ee){const he=this.stack[this.stack.length-1];he.depth=this.sliceSerialize(ee).codePointAt(0)===61?1:2}function $(){this.data.setextHeadingSlurpLineEnding=void 0}function Y(ee){const Ce=this.stack[this.stack.length-1].children;let Le=Ce[Ce.length-1];(!Le||Le.type!=="text")&&(Le=Wt(),Le.position={start:$r(ee.start),end:void 0},Ce.push(Le)),this.stack.push(Le)}function re(ee){const he=this.stack.pop();he.value+=this.sliceSerialize(ee),he.position.end=$r(ee.end)}function z(ee){const he=this.stack[this.stack.length-1];if(this.data.atHardBreak){const Ce=he.children[he.children.length-1];Ce.position.end=$r(ee.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(he.type)&&(Y.call(this,ee),re.call(this,ee))}function H(){this.data.atHardBreak=!0}function te(){const ee=this.resume(),he=this.stack[this.stack.length-1];he.value=ee}function Z(){const ee=this.resume(),he=this.stack[this.stack.length-1];he.value=ee}function G(){const ee=this.resume(),he=this.stack[this.stack.length-1];he.value=ee}function M(){const ee=this.stack[this.stack.length-1];if(this.data.inReference){const he=this.data.referenceType||"shortcut";ee.type+="Reference",ee.referenceType=he,delete ee.url,delete ee.title}else delete ee.identifier,delete ee.label;this.data.referenceType=void 0}function Q(){const ee=this.stack[this.stack.length-1];if(this.data.inReference){const he=this.data.referenceType||"shortcut";ee.type+="Reference",ee.referenceType=he,delete ee.url,delete ee.title}else delete ee.identifier,delete ee.label;this.data.referenceType=void 0}function ie(ee){const he=this.sliceSerialize(ee),Ce=this.stack[this.stack.length-2];Ce.label=bU(he),Ce.identifier=io(he).toLowerCase()}function Se(){const ee=this.stack[this.stack.length-1],he=this.resume(),Ce=this.stack[this.stack.length-1];if(this.data.inReference=!0,Ce.type==="link"){const Le=ee.children;Ce.children=Le}else Ce.alt=he}function T(){const ee=this.resume(),he=this.stack[this.stack.length-1];he.url=ee}function L(){const ee=this.resume(),he=this.stack[this.stack.length-1];he.title=ee}function J(){this.data.inReference=void 0}function O(){this.data.referenceType="collapsed"}function de(ee){const he=this.resume(),Ce=this.stack[this.stack.length-1];Ce.label=he,Ce.identifier=io(this.sliceSerialize(ee)).toLowerCase(),this.data.referenceType="full"}function me(ee){this.data.characterReferenceType=ee.type}function fe(ee){const he=this.sliceSerialize(ee),Ce=this.data.characterReferenceType;let Le;Ce?(Le=LR(he,Ce==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Le=Rg(he);const Ge=this.stack[this.stack.length-1];Ge.value+=Le}function ye(ee){const he=this.stack.pop();he.position.end=$r(ee.end)}function Te(ee){re.call(this,ee);const he=this.stack[this.stack.length-1];he.url=this.sliceSerialize(ee)}function xe(ee){re.call(this,ee);const he=this.stack[this.stack.length-1];he.url="mailto:"+this.sliceSerialize(ee)}function ht(){return{type:"blockquote",children:[]}}function Ct(){return{type:"code",lang:null,meta:null,value:""}}function Dt(){return{type:"inlineCode",value:""}}function mn(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Zt(){return{type:"emphasis",children:[]}}function Hi(){return{type:"heading",depth:0,children:[]}}function Ui(){return{type:"break"}}function bc(){return{type:"html",value:""}}function vc(){return{type:"image",title:null,url:"",alt:null}}function Ki(){return{type:"link",title:null,url:"",children:[]}}function Vi(ee){return{type:"list",ordered:ee.type==="listOrdered",start:null,spread:ee._spread,children:[]}}function vo(ee){return{type:"listItem",spread:ee._spread,checked:null,children:[]}}function Ah(){return{type:"paragraph",children:[]}}function Th(){return{type:"strong",children:[]}}function Wt(){return{type:"text",value:""}}function Oh(){return{type:"thematicBreak"}}}function $r(e){return{line:e.line,column:e.column,offset:e.offset}}function GR(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?GR(e,r):kU(e,r)}}function kU(e,t){let n;for(n in t)if(qR.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function p_(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Ul({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Ul({start:t.start,end:t.end}
vendor: 6,326 bytes, lines 103-107
103)+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Ul({start:t.start,end:t.end})+") is still open")}function _U(e){const t=this;t.parser=n;function n(r){return wU(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function xU(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function EU(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
104`}]}function RU(e,t){const n=t.value?t.value+`
105`:"",r={},s=t.lang?t.lang.split(/\s+/):[];s.length>0&&(r.className=["language-"+s[0]]);let o={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(o.data={meta:t.meta}),e.patch(t,o),o=e.applyData(t,o),o={type:"element",tagName:"pre",properties:{},children:[o]},e.patch(t,o),o}function CU(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function AU(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function TU(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),s=mo(r.toLowerCase()),o=e.footnoteOrder.indexOf(r);let c,u=e.footnoteCounts.get(r);u===void 0?(u=0,e.footnoteOrder.push(r),c=e.footnoteOrder.length):c=o+1,u+=1,e.footnoteCounts.set(r,u);const h={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+s,id:n+"fnref-"+s+(u>1?"-"+u:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(c)}]};e.patch(t,h);const f={type:"element",tagName:"sup",properties:{},children:[h]};return e.patch(t,f),e.applyData(t,f)}function OU(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function NU(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function WR(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+r}];const s=e.all(t),o=s[0];o&&o.type==="text"?o.value="["+o.value:s.unshift({type:"text",value:"["});const c=s[s.length-1];return c&&c.type==="text"?c.value+=r:s.push({type:"text",value:r}),s}function DU(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return WR(e,t);const s={src:mo(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(s.title=r.title);const o={type:"element",tagName:"img",properties:s,children:[]};return e.patch(t,o),e.applyData(t,o)}function IU(e,t){const n={src:mo(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function PU(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function jU(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return WR(e,t);const s={href:mo(r.url||"")};r.title!==null&&r.title!==void 0&&(s.title=r.title);const o={type:"element",tagName:"a",properties:s,children:e.all(t)};return e.patch(t,o),e.applyData(t,o)}function LU(e,t){const n={href:mo(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function MU(e,t,n){const r=e.all(t),s=n?BU(n):YR(t),o={},c=[];if(typeof t.checked=="boolean"){const p=r[0];let y;p&&p.type==="element"&&p.tagName==="p"?y=p:(y={type:"element",tagName:"p",properties:{},children:[]},r.unshift(y)),y.children.length>0&&y.children.unshift({type:"text",value:" "}),y.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let u=-1;for(;++u<r.length;){const p=r[u];(s||u!==0||p.type!=="element"||p.tagName!=="p")&&c.push({type:"text",value:`
106`}),p.type==="element"&&p.tagName==="p"&&!s?c.push(...p.children):c.push(p)}const h=r[r.length-1];h&&(s||h.type!=="element"||h.tagName!=="p")&&c.push({type:"text",value:`
107`});const f={type:"element",tagName:"li",properties:o,children:c};return e.patch(t,f),e.applyData(t,f)}function BU(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=YR(n[r])}return t}function YR(e){const t=e.spread;return t??e.children.length>1}function $U(e,t){const n={},r=e.all(t);let s=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++s<r.length;){const c=r[s];if(c.type==="element"&&c.tagName==="li"&&c.properties&&Array.isArray(c.properties.className)&&c.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const o={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,o),e.applyData(t,o)}function zU(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function HU(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function UU(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function KU(e,t){const n=e.all(t),r=n.shift(),s=[];if(r){const c={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],c),s.push(c)}if(n.length>0){const c={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},u=kg(t.children[1]),h=TR(t.children[t.children.length-1]);u&&h&&(c.position={start:u,end:h}),s.push(c)}const o={type:"element",tagName:"table",properties:{},children:e.wrap(s,!0)};return e.patch(t,o),e.applyData(t,o)}function VU(e,t,n){const r=n?n.children:void 0,o=(r?r.indexOf(t):1)===0?"th":"td",c=n&&n.type==="table"?n.align:void 0,u=c?c.length:t.children.length;let h=-1;const f=[];for(;++h<u;){const y=t.children[h],b={},v=c?c[h]:void 0;v&&(b.align=v);let k={type:"element",tagName:o,properties:b,children:[]};
vendor: 1,420 bytes, line 107
107y&&(k.children=e.all(y),e.patch(y,k),k=e.applyData(y,k)),f.push(k)}const p={type:"element",tagName:"tr",properties:{},children:e.wrap(f,!0)};return e.patch(t,p),e.applyData(t,p)}function FU(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const m_=9,y_=32;function qU(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),s=0;const o=[];for(;r;)o.push(g_(t.slice(s,r.index),s>0,!0),r[0]),s=r.index+r[0].length,r=n.exec(t);return o.push(g_(t.slice(s),s>0,!1)),o.join("")}function g_(e,t,n){let r=0,s=e.length;if(t){let o=e.codePointAt(r);for(;o===m_||o===y_;)r++,o=e.codePointAt(r)}if(n){let o=e.codePointAt(s-1);for(;o===m_||o===y_;)s--,o=e.codePointAt(s-1)}return s>r?e.slice(r,s):""}function GU(e,t){const n={type:"text",value:qU(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function WU(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const YU={blockquote:xU,break:EU,code:RU,delete:CU,emphasis:AU,footnoteReference:TU,heading:OU,html:NU,imageReference:DU,image:IU,inlineCode:PU,linkReference:jU,link:LU,listItem:MU,list:$U,paragraph:zU,root:HU,strong:UU,table:KU,tableCell:FU,tableRow:VU,text:GU,thematicBreak:WU,toml:ld,yaml:ld,definition:ld,footnoteDefinition:ld};function ld(){}const JR=-1,Sh=0,Vl=1,Xd=2,Tg=3,Og=4,Ng=5,Dg=6,QR=7,XR=8,JU=typeof self=="object"?self:globalThis,b_=(e,t)=>
vendor: 2,230 bytes, line 107
107{switch(e){case"Function":case"SharedWorker":case"Worker":case"eval":case"setInterval":case"setTimeout":throw new TypeError("unable to deserialize "+e)}return new JU[e](t)},QU=(e,t)=>{const n=(s,o)=>(e.set(o,s),s),r=s=>{if(e.has(s))return e.get(s);const[o,c]=t[s];switch(o){case Sh:case JR:return n(c,s);case Vl:{const u=n([],s);for(const h of c)u.push(r(h));return u}case Xd:{const u=n({},s);for(const[h,f]of c)u[r(h)]=r(f);return u}case Tg:return n(new Date(c),s);case Og:{const{source:u,flags:h}=c;return n(new RegExp(u,h),s)}case Ng:{const u=n(new Map,s);for(const[h,f]of c)u.set(r(h),r(f));return u}case Dg:{const u=n(new Set,s);for(const h of c)u.add(r(h));return u}case QR:{const{name:u,message:h}=c;return n(b_(u,h),s)}case XR:return n(BigInt(c),s);case"BigInt":return n(Object(BigInt(c)),s);case"ArrayBuffer":return n(new Uint8Array(c).buffer,c);case"DataView":{const{buffer:u}=new Uint8Array(c);return n(new DataView(u),c)}}return n(b_(o,c),s)};return r},v_=e=>QU(new Map,e)(0),Us="",{toString:XU}={},{keys:ZU}=Object,xl=e=>{const t=typeof e;if(t!=="object"||!e)return[Sh,t];const n=XU.call(e).slice(8,-1);switch(n){case"Array":return[Vl,Us];case"Object":return[Xd,Us];case"Date":return[Tg,Us];case"RegExp":return[Og,Us];case"Map":return[Ng,Us];case"Set":return[Dg,Us];case"DataView":return[Vl,n]}return n.includes("Array")?[Vl,n]:n.includes("Error")?[QR,n]:[Xd,n]},cd=([e,t])=>e===Sh&&(t==="function"||t==="symbol"),e5=(e,t,n,r)=>{const s=(c,u)=>{const h=r.push(c)-1;return n.set(u,h),h},o=c=>{if(n.has(c))return n.get(c);let[u,h]=xl(c);switch(u){case Sh:{let p=c;switch(h){case"bigint":u=XR,p=c.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+h);p=null;break;case"undefined":return s([JR],c)}return s([u,p],c)}case Vl:{if(h){let b=c;return h==="DataView"?b=new Uint8Array(c.buffer):h==="ArrayBuffer"&&(b=new Uint8Array(c)),s([h,[...b]],c)}const p=[],y=s([u,p],c);for(const b of c)p.push(o(b));return y}case Xd:{if(h)switch(h){case"BigInt":return s([h,c.toString()],c);case"Boolean":case"Number":case"String":return s([h,c.valueOf()],c)}if(t&&"toJSON"in c)return o(c.toJSON());const p=[],y=s([u,p],c);for(const b of ZU(c))(e||!cd(xl(c[b])))&&p.push([o(b),o(c[b])]);return y}
vendor: 7,279 bytes, lines 107-113
107case Tg:return s([u,c.toISOString()],c);case Og:{const{source:p,flags:y}=c;return s([u,{source:p,flags:y}],c)}case Ng:{const p=[],y=s([u,p],c);for(const[b,v]of c)(e||!(cd(xl(b))||cd(xl(v))))&&p.push([o(b),o(v)]);return y}case Dg:{const p=[],y=s([u,p],c);for(const b of c)(e||!cd(xl(b)))&&p.push(o(b));return y}}const{message:f}=c;return s([u,{name:h,message:f}],c)};return o},w_=(e,{json:t,lossy:n}={})=>{const r=[];return e5(!(t||n),!!t,new Map,r)(e),r},Zd=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?v_(w_(e,t)):structuredClone(e):(e,t)=>v_(w_(e,t));function t5(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function n5(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function a5(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||t5,r=e.options.footnoteBackLabel||n5,s=e.options.footnoteLabel||"Footnotes",o=e.options.footnoteLabelTagName||"h2",c=e.options.footnoteLabelProperties||{className:["sr-only"]},u=[];let h=-1;for(;++h<e.footnoteOrder.length;){const f=e.footnoteById.get(e.footnoteOrder[h]);if(!f)continue;const p=e.all(f),y=String(f.identifier).toUpperCase(),b=mo(y.toLowerCase());let v=0;const k=[],w=e.footnoteCounts.get(y);for(;w!==void 0&&++v<=w;){k.length>0&&k.push({type:"text",value:" "});let A=typeof n=="string"?n:n(h,v);typeof A=="string"&&(A={type:"text",value:A}),k.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+b+(v>1?"-"+v:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(h,v),className:["data-footnote-backref"]},children:Array.isArray(A)?A:[A]})}const E=p[p.length-1];if(E&&E.type==="element"&&E.tagName==="p"){const A=E.children[E.children.length-1];A&&A.type==="text"?A.value+=" ":E.children.push({type:"text",value:" "}),E.children.push(...k)}else p.push(...k);const _={type:"element",tagName:"li",properties:{id:t+"fn-"+b},children:e.wrap(p,!0)};e.patch(f,_),u.push(_)}if(u.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:o,properties:{...Zd(c),id:"footnote-label"},children:[{type:"text",value:s}]},{type:"text",value:`
108`},{type:"element",tagName:"ol",properties:{},children:e.wrap(u,!0)},{type:"text",value:`
109`}]}}const ZR=(function(e){if(e==null)return o5;if(typeof e=="function")return kh(e);if(typeof e=="object")return Array.isArray(e)?r5(e):i5(e);if(typeof e=="string")return s5(e);throw new Error("Expected function, string, or object as test")});function r5(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=ZR(e[n]);return kh(r);function r(...s){let o=-1;for(;++o<t.length;)if(t[o].apply(this,s))return!0;return!1}}function i5(e){const t=e;return kh(n);function n(r){const s=r;let o;for(o in e)if(s[o]!==t[o])return!1;return!0}}function s5(e){return kh(t);function t(n){return n&&n.type===e}}function kh(e){return t;function t(n,r,s){return!!(l5(n)&&e.call(this,n,typeof r=="number"?r:void 0,s||void 0))}}function o5(){return!0}function l5(e){return e!==null&&typeof e=="object"&&"type"in e}const eC=[],c5=!0,S_=!1,u5="skip";function d5(e,t,n,r){let s;typeof t=="function"&&typeof n!="function"?(r=n,n=t):s=t;const o=ZR(s),c=r?-1:1;u(e,void 0,[])();function u(h,f,p){const y=h&&typeof h=="object"?h:{};if(typeof y.type=="string"){const v=typeof y.tagName=="string"?y.tagName:typeof y.name=="string"?y.name:void 0;Object.defineProperty(b,"name",{value:"node ("+(h.type+(v?"<"+v+">":""))+")"})}return b;function b(){let v=eC,k,w,E;if((!t||o(h,f,p[p.length-1]||void 0))&&(v=h5(n(h,p)),v[0]===S_))return v;if("children"in h&&h.children){const _=h;if(_.children&&v[0]!==u5)for(w=(r?_.children.length:-1)+c,E=p.concat(_);w>-1&&w<_.children.length;){const A=_.children[w];if(k=u(A,w,E)(),k[0]===S_)return k;w=typeof k[1]=="number"?k[1]:w+c}}return v}}}function h5(e){return Array.isArray(e)?e:typeof e=="number"?[c5,e]:e==null?eC:[e]}function tC(e,t,n,r){let s,o,c;typeof t=="function"&&typeof n!="function"?(o=void 0,c=t,s=n):(o=t,c=n,s=r),d5(e,o,u,s);function u(h,f){const p=f[f.length-1],y=p?p.children.indexOf(h):void 0;return c(h,y,p)}}const Ty={}.hasOwnProperty,f5={};function p5(e,t){const n=t||f5,r=new Map,s=new Map,o=new Map,c={...YU,...n.handlers},u={all:f,applyData:y5,definitionById:r,footnoteById:s,footnoteCounts:o,footnoteOrder:[],handlers:c,one:h,options:n,patch:m5,wrap:b5};return tC(e,function(p){if(p.type==="definition"||p.type==="footnoteDefinition"){const y=p.type==="definition"?r:s,b=String(p.identifier).toUpperCase();y.has(b)||y.set(b,p)}}),u;function h(p,y){const b=p.type,v=u.handlers[b];if(Ty.call(u.handlers,b)&&v)return v(u,p,y);if(u.options.passThrough&&u.options.passThrough.includes(b)){if("children"in p){const{children:w,...E}=p,_=Zd(E);return _.children=u.all(p),_}return Zd(p)}return(u.options.unknownHandler||g5)(u,p,y)}function f(p){const y=[];if("children"in p){const b=p.children;let v=-1;for(;++v<b.length;){const k=u.one(b[v],p);if(k){if(v&&b[v-1].type==="break"&&(!Array.isArray(k)&&k.type==="text"&&(k.value=k_(k.value)),!Array.isArray(k)&&k.type==="element")){const w=k.children[0];w&&w.type==="text"&&(w.value=k_(w.value))}Array.isArray(k)?y.push(...k):y.push(k)}}}return y}}function m5(e,t){e.position&&(t.position=Qz(e))}function y5(e,t){let n=t;if(e&&e.data){const r=e.data.hName,s=e.data.hChildren,o=e.data.hProperties;if(typeof r=="string")if(n.type==="element")n.tagName=r;else{const c="children"in n?n.children:[n];n={type:"element",tagName:r,properties:{},children:c}}n.type==="element"&&o&&Object.assign(n.properties,Zd(o)),"children"in n&&n.children&&s!==null&&s!==void 0&&(n.children=s)}return n}function g5(e,t){const n=t.data||{},r="value"in t&&!(Ty.call(n,"hProperties")||Ty.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function b5(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:`
110`});++r<e.length;)r&&n.push({type:"text",value:`
111`}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:`
112`}),n}function k_(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function __(e,t){const n=p5(e,t),r=n.one(e,void 0),s=a5(n),o=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return s&&o.children.push({type:"text",value:`
113`},s),o}function v5(e,t){return e&&"run"in e?async function(n,r){const s=__(n,{file:r,...t});await e.run(s,r)}:function(n,r){return __(n,{file:r,...e||t})}}function x_(e){if(e)throw e}var Tm,E_;function w5(){if(E_)return Tm;E_=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,s=function(f){return typeof Array.isArray=="function"?Array.isArray(f):t.call(f)==="[object Array]"},o=function(f){if(!f||t.call(f)!=="[object Object]")return!1;var p=e.call(f,"constructor"),y=f.constructor&&f.constructor.prototype&&e.call(f.constructor.prototype,"isPrototypeOf");if(f.constructor&&!p&&!y)return!1;var b;for(b in f);return typeof b>"u"||e.call(f,b)},c=function(f,p){n&&p.name==="__proto__"?n(f,p.name,{enumerable:!0,configurable:!0,value:p.newValue,writable:!0}):f[p.name]=p.newValue}
vendor: 12,772 bytes, line 113
113,u=function(f,p){if(p==="__proto__")if(e.call(f,p)){if(r)return r(f,p).value}else return;return f[p]};return Tm=function h(){var f,p,y,b,v,k,w=arguments[0],E=1,_=arguments.length,A=!1;for(typeof w=="boolean"&&(A=w,w=arguments[1]||{},E=2),(w==null||typeof w!="object"&&typeof w!="function")&&(w={});E<_;++E)if(f=arguments[E],f!=null)for(p in f)y=u(w,p),b=u(f,p),w!==b&&(A&&b&&(o(b)||(v=s(b)))?(v?(v=!1,k=y&&s(y)?y:[]):k=y&&o(y)?y:{},c(w,{name:p,newValue:h(A,k,b)})):typeof b<"u"&&c(w,{name:p,newValue:b}));return w},Tm}var S5=w5();const Om=rh(S5);function Oy(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function k5(){const e=[],t={run:n,use:r};return t;function n(...s){let o=-1;const c=s.pop();if(typeof c!="function")throw new TypeError("Expected function as last argument, not "+c);u(null,...s);function u(h,...f){const p=e[++o];let y=-1;if(h){c(h);return}for(;++y<s.length;)(f[y]===null||f[y]===void 0)&&(f[y]=s[y]);s=f,p?_5(p,u)(...f):c(null,...f)}}function r(s){if(typeof s!="function")throw new TypeError("Expected `middelware` to be a function, not "+s);return e.push(s),t}}function _5(e,t){let n;return r;function r(...c){const u=e.length>c.length;let h;u&&c.push(s);try{h=e.apply(this,c)}catch(f){const p=f;if(u&&n)throw p;return s(p)}u||(h&&h.then&&typeof h.then=="function"?h.then(o,s):h instanceof Error?s(h):o(h))}function s(c,...u){n||(n=!0,t(c,...u))}function o(c){s(null,c)}}const fa={basename:x5,dirname:E5,extname:R5,join:C5,sep:"/"};function x5(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');pc(e);let n=0,r=-1,s=e.length,o;if(t===void 0||t.length===0||t.length>e.length){for(;s--;)if(e.codePointAt(s)===47){if(o){n=s+1;break}}else r<0&&(o=!0,r=s+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let c=-1,u=t.length-1;for(;s--;)if(e.codePointAt(s)===47){if(o){n=s+1;break}}else c<0&&(o=!0,c=s+1),u>-1&&(e.codePointAt(s)===t.codePointAt(u--)?u<0&&(r=s):(u=-1,r=c));return n===r?r=c:r<0&&(r=e.length),e.slice(n,r)}function E5(e){if(pc(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function R5(e){pc(e);let t=e.length,n=-1,r=0,s=-1,o=0,c;for(;t--;){const u=e.codePointAt(t);if(u===47){if(c){r=t+1;break}continue}n<0&&(c=!0,n=t+1),u===46?s<0?s=t:o!==1&&(o=1):s>-1&&(o=-1)}return s<0||n<0||o===0||o===1&&s===n-1&&s===r+1?"":e.slice(s,n)}function C5(...e){let t=-1,n;for(;++t<e.length;)pc(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":A5(n)}function A5(e){pc(e);const t=e.codePointAt(0)===47;let n=T5(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function T5(e,t){let n="",r=0,s=-1,o=0,c=-1,u,h;for(;++c<=e.length;){if(c<e.length)u=e.codePointAt(c);else{if(u===47)break;u=47}if(u===47){if(!(s===c-1||o===1))if(s!==c-1&&o===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(h=n.lastIndexOf("/"),h!==n.length-1){h<0?(n="",r=0):(n=n.slice(0,h),r=n.length-1-n.lastIndexOf("/")),s=c,o=0;continue}}else if(n.length>0){n="",r=0,s=c,o=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(s+1,c):n=e.slice(s+1,c),r=c-s-1;s=c,o=0}else u===46&&o>-1?o++:o=-1}return n}function pc(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const O5={cwd:N5};function N5(){return"/"}function Ny(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function D5(e){if(typeof e=="string")e=new URL(e);else if(!Ny(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return I5(e)}function I5(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){const r=t.codePointAt(n+2);if(r===70||r===102){const s=new TypeError("File URL path must not include encoded / characters");throw s.code="ERR_INVALID_FILE_URL_PATH",s}}return decodeURIComponent(t)}const Nm=["history","path","basename","stem","extname","dirname"];class nC{constructor(t){let n;t?Ny(t)?n={path:t}:typeof t=="string"||P5(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":O5.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<Nm.length;){const o=Nm[r];o in n&&n[o]!==void 0&&n[o]!==null&&(this[o]=o==="history"?[...n[o]]:n[o])}let s;for(s in n)Nm.includes(s)||(this[s]=n[s])}get basename(){return typeof this.path=="string"?fa.basename(this.path):void 0}set basename(t){Im(t,"basename"),Dm(t,"basename"),this.path=fa.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?fa.dirname(this.path):void 0}set dirname(t){R_(this.basename,"dirname"),this.path=fa.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?fa.extname(this.path):void 0}set extname(t){if(Dm(t,"extname"),R_(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=fa.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){Ny(t)&&(t=D5(t)),Im(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?fa.basename(this.path,this.extname):void 0}set stem(t){Im(t,"stem"),Dm(t,"stem"),this.path=fa.join(this.dirname||"",t+(this.extname||""))}fail(t,n,r){const s=this.message(t,n,r);throw s.fatal=!0,s}info(t,n,r){const s=this.message(t,n,r);return s.fatal=void 0,s}message(t,n,r){const s=new qt(t,n,r);return this.path&&(s.name=this.path+":"+s.name,s.file=this.path),s.fatal=!1,this.messages.push(s),s}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function Dm(e,t){if(e&&e.includes(fa.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+fa.sep+"`")}function Im(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function R_(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function P5(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const j5=(function(e){const r=this.constructor.prototype,s=r[e],o=function(){return s.apply(o,arguments)};return Object.setPrototypeOf(o,r),o}),L5={}.hasOwnProperty;class Ig extends j5{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=k5()}copy(){const t=new Ig;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(Om(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(Lm("data",this.frozen),this.namespace[t]=n,this):L5.call(this.namespace,t)&&this.namespace[t]||void 0:t?(Lm("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[n,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);const s=n.call(t,...r);typeof s=="function"&&this.transformers.use(s)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const n=ud(t),r=this.parser||this.Parser;return Pm("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),Pm("process",this.parser||this.Parser),jm("process",this.compiler||this.Compiler),n?s(void 0,n):new Promise(s);function s(o,c){const u=ud(t),h=r.parse(u);r.run(h,u,function(p,y,b){if(p||!y||!b)return f(p);const v=y,k=r.stringify(v,b);$5(k)?b.value=k:b.result=k,f(p,b)});function f(p,y){p||!y?c(p):o?o(y):n(void 0,y)}}}processSync(t){let n=!1,r;return this.freeze(),Pm("processSync",this.parser||this.Parser),jm("processSync",this.compiler||this.Compiler),this.process(t,s),A_("processSync","process",n),r;function s(o,c){n=!0,x_(o),r=c}}run(t,n,r){C_(t),this.freeze();const s=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?o(void 0,r):new Promise(o);function o(c,u){const h=ud(n);s.run(t,h,f);function f(p,y,b){const v=y||t;p?u(p):c?c(v):r(void 0,v,b)}}}runSync(t,n){let r=!1,s;return this.run(t,n,o),A_("runSync","run",r),s;function o(c,u){x_(c),s=u,r=!0}}stringify(t,n){this.freeze();const r=ud(n),s=this.compiler||this.Compiler;return jm("stringify",s),C_(t),s(t,r)}use(t,...n){const r=this.attachers,s=this.namespace;if(Lm("use",this.frozen),t!=null)if(typeof t=="function")h(t,n);else if(typeof t=="object")Array.isArray(t)?u(t):c(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function o(f){if(typeof f=="function")h(f,[]);else if(typeof f=="object")if(Array.isArray(f)){const[p,...y]=f;h(p,y)}else c(f);else throw new TypeError("Expected usable value, not `"+f+"`")}function c(f){if(!("plugins"in f)&&!("settings"in f))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");u(f.plugins),f.settings&&(s.settings=Om(!0,s.settings,f.settings))}function u(f){let p=-1;if(f!=null)if(Array.isArray(f))for(;++p<f.length;){const y=f[p];o(y)}else throw new TypeError("Expected a list of plugins, not `"+f+"`")}function h(f,p){let y=-1,b=-1;for(;++y<r.length;)if(r[y][0]===f){b=y;break}if(b===-1)r.push([f,...p]);else if(p.length>0){let[v,...k]=p;const w=r[b][1];Oy(w)&&Oy(v)&&(v=Om(!0,w,v)),r[b]=[f,v,...k]}}}}const M5=new Ig().freeze();function Pm(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function jm(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function Lm(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function C_(e){if(!Oy(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function A_(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function ud(e){return B5(e)?e:new nC(e)}function B5(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function $5(e){return typeof e=="string"||z5(e)}function z5(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const H5="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",T_=[],O_={allowDangerousHtml:!0},U5=/^(https?|ircs?|mailto|xmpp)$/i,K5=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function V5(e){const t=F5(e),n=q5(e);return G5(t.runSync(t.parse(n),n),e)}function F5(e){const t=e.rehypePlugins||T_,n=e.remarkPlugins||T_,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...O_}:O_;return M5().use(_U).use(n).use(v5,r).use(t)}function q5(e){const t=e.children||"",n=new nC;return typeof t=="string"&&(n.value=t),n}function G5(e,t){const n=t.allowedElements,r=t.allowElement,s=t.components,o=t.disallowedElements,c=t.skipHtml,u=t.unwrapDisallowed,h=t.urlTransform||W5;for(const p of K5)Object.hasOwn(t,p.from)&&(""+p.from+(p.to?"use `"+p.to+"` instead":"remove it")+H5+
113p.id,void 0);return tC(e,f),n3(e,{Fragment:x.Fragment,components:s,ignoreInvalidStyle:!0,jsx:x.jsx,jsxs:x.jsxs,passKeys:!0,passNode:!0});function f(p,y,b){if(p.type==="raw"&&b&&typeof y=="number")return c?b.children.splice(y,1):b.children[y]={type:"text",value:p.value},y;if(p.type==="element"){let v;for(v in Rm)if(Object.hasOwn(Rm,v)&&Object.hasOwn(p.properties,v)){const k=p.properties[v],w=Rm[v];(w===null||w.includes(p.tagName))&&(p.properties[v]=h(String(k||""),v,p))}}if(p.type==="element"){let v=n?!n.includes(p.tagName):o?o.includes(p.tagName):!1;if(!v&&r&&typeof y=="number"&&(v=!r(p,y,b)),v&&b&&typeof y=="number")return u&&p.children?b.children.splice(y,1,...p.children):b.children.splice(y,1),y}}}function W5(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),s=e.indexOf("/");return t===-1||s!==-1&&t>s||n!==-1&&t>n||r!==-1&&t>r||U5.test(e.slice(0,t))?e:""}const Y5=Ad({method:"POST"}).handler(R1("8644e9079ea50c1c9c7c793e0f7704840a877d7296208238b1c79d0095e02d87")),Mm="kebabiya-support-chat-v1",N_={role:"assistant",content:"Hi! I'm Kebabi, your virtual host at Kebabiya 🔥 I can help with bookings, the menu, delivery, catering or anything else. How can I help?"};function J5(){const[e,t]=N.useState(!1),[n,r]=N.useState([N_]),[s,o]=N.useState(""),[c,u]=N.useState(!1),h=N.useRef(null),f=jP(Y5);N.useEffect(()=>{try{const b=localStorage.getItem(Mm);if(b){const v=JSON.parse(b);Array.isArray(v)&&v.length>0&&r(v)}}catch{}},[]),N.useEffect(()=>{try{localStorage.setItem(Mm,JSON.stringify(n))}catch{}h.current?.scrollTo({top:h.current.scrollHeight,behavior:"smooth"})},[n,e]);async function p(){const b=s.trim();if(!b||c)return;const v=[...n,{role:"user",content:b}];r(v),o(""),u(!0);try{const k=await f({data:{messages:v}});r(w=>[...w,{role:"assistant",content:k.reply}])}catch{r(k=>[...k,{role:"assistant",content:"Sorry — I had trouble sending that. Please try again, or call (02) 8824 7944."}])}finally{u(!1)}}function y(){r([N_]);try{localStorage.removeItem(Mm)}catch{}}return x.jsxs(x.Fragment,{children:[!e&&x.jsxs("button",{onClick:()=>t(!0),"aria-label":"Open chat with Kebabiya",className:"fixed bottom-20 right-4 md:bottom-5 md:right-5 z-40 inline-flex items-center gap-2 rounded-full bg-primary px-4 py-3 text-xs font-semibold tracking-wider uppercase text-primary-foreground shadow-lg shadow-black/30 transition hover:scale-105 focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-primary",children:[x.jsx("span",{className:"flex h-6 w-6 items-center justify-center rounded-full bg-primary-foreground/15 text-sm",children:"🔥"}),x.jsx("span",{children:"Chat to Kebabiya"})]}),e&&x.jsx("div",{className:"fixed inset-0 z-50 flex items-end justify-end p-0 sm:p-5 pointer-events-none",children:x.jsxs("div",{className:"pointer-events-auto flex h-full w-full flex-col bg-background shadow-2xl sm:h-[600px] sm:max-h-[85vh] sm:w-[400px] sm:rounded-2xl border border-border overflow-hidden",children:[x.jsxs("div",{className:"flex items-center justify-between border-b border-border bg-primary px-4 py-3 text-primary-foreground",children:[x.jsxs("div",{className:"flex items-center gap-2",children:[x.jsx("div",{className:"flex h-9 w-9 items-center justify-center rounded-full bg-primary-foreground/15 text-base",children:"🔥"}),x.jsxs("div",{children:[x.jsx("div",{className:"font-display text-base leading-tight",children:"Kebabiya"}),x.jsx("div",{className:"text-xs opacity-80",children:"Usually replies instantly"})]})]}),x.jsx("button",{onClick:()=>t(!1),"aria-label":"Close chat",className:"rounded p-1 hover:bg-primary-foreground/10",children:x.jsx(yh,{className:"h-5 w-5"})})]}),x.jsxs("div",{ref:h,className:"flex-1 overflow-y-auto px-4 py-4 space-y-3 bg-muted/30",children:[n.map((b,v)=>x.jsx("div",{className:`flex ${b.role==="user"?"justify-end":"justify-start"}`,children:x.jsx("div",{className:`max-w-[85%] rounded-2xl px-3.5 py-2 text-sm leading-relaxed ${b.role==="user"?"bg-primary text-primary-foreground rounded-br-sm":"bg-background text-foreground border border-border rounded-bl-sm"}`,children:b.role==="assistant"?x.jsx("div",{className:"prose prose-sm max-w-none prose-p:my-1 prose-ul:my-1 prose-ol:my-1 prose-a:text-primary prose-a:underline",children:x.jsx(V5,{children:b.content})}):x.jsx("div",{className:"whitespace-pre-wrap",children:b.content})})},v)),c&&x.jsx("div",{className:"flex justify-start",children:x.jsxs("div",{className:"rounded-2xl rounded-bl-sm bg-background border border-border px-3.5 py-2 text-sm text-muted-foreground flex items-center gap-2",children:[x.jsx(Rk,{className:"h-3.5 w-3.5 animate-spin"})," Thinking…"]})})]}),x.jsxs("div",{className:"border-t border-border bg-background p-3",children:[x.jsxs("div",{className:"flex items-end gap-2",children:[x.jsx("textarea",{value:s,onChange:b=>o(b.target.value),onKeyDown:b=>{b.key==="Enter"&&!b.shiftKey&&(b.preventDefault(),p())},placeholder:"Ask about bookings, menu, delivery…",rows:1,maxLength:1e3,className:"flex-1 resize-none rounded-xl border border-input bg-background px-3 py-2 text-sm focus:outline-none focus:ring-2 focus:ring-ring max-h-32"}),x.jsx("button",{onClick:p,disabled:!s.trim()||c,"aria-label":"Send message",className:"inline-flex h-9 w-9 items-center justify-center rounded-full bg-primary text-primary-foreground disabled:opacity-40 transition hover:scale-105",children:c?x.jsx(Rk,{className:"h-4 w-4 animate-spin"}):x.jsx(VB,{className:"h-4 w-4"})})]}),x.jsxs("div",{className:"mt-2 flex items-center justify-between text-[10px] text-muted-foreground",children:[x.jsx("button",{onClick:y,className:"hover:underline",children:"Start over"}),x.jsx("a",{href:"https://wa.me/61433054219?text=Hi%20Kebabiya",target:"_blank",rel:"noopener noreferrer",className:"hover:underline",children:"Prefer WhatsApp?"})]})]})]})})]})}const Q5=(...e)=>{typeof window<"u"&&(typeof window.gtag>"u"&&(window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)}),window.gtag(...e))},X5=/^(a|an|and|as|at|but|by|en|for|if|in|nor|of|on|or|per|the|to|vs?\.?|via)$/i;function Z5(e){return e.toString().trim().replace(/[A-Za-z0-9\u00C0-\u00FF]+[^\s-]*/g,(t,n,r)=>n>0&&n+t.length!==r.length&&t.search(X5)>-1&&r.charAt(n-2)!==":"&&(r.charAt(n+t.length)!=="-"||r.charAt(n-1)==="-")&&r.charAt(n-1).search(/[^\s-]/)<0?t.toLowerCase():t.substr(1).search(/[A-Z]|\../)>-1?t:t.charAt(0).toUpperCase()+t.substr(1))}function eK(e){return typeof e=="string"&&e.indexOf("@")!==-1}const tK="REDACTED (Potential Email Address)";function nK(e){return eK(e)?(console.warn("This arg looks like an email address, redacting."),tK):e}function Bm(e="",t=!0,n=!0){let r=e||"";return t&&(r=Z5(e)),n&&(r=nK(r)),r}var aK=class{isInitialized;_testMode;_currentMeasurementId;_hasLoadedGA;_isQueuing;_queueGtag;constructor(){this.reset()}
113reset=()=>{this.isInitialized=!1,this._testMode=!1,this._currentMeasurementId="",this._hasLoadedGA=!1,this._isQueuing=!1,this._queueGtag=[]};_gtag=(...e)=>{this._testMode?this._queueGtag.push(e):this._isQueuing?this._queueGtag.push(e):Q5(...e)};gtag(...e){this._gtag(...e)}_loadGA=(e,t,n="https://www.googletagmanager.com/gtag/js")=>{if(!(typeof window>"u"||typeof document>"u")&&!this._hasLoadedGA){const r=document.createElement("script");r.async=!0,r.src=`${n}?id=${e}`,t&&r.setAttribute("nonce",t),document.body.appendChild(r),window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)},this._hasLoadedGA=!0}};_toGtagOptions=e=>{if(!e)return;const t={cookieUpdate:"cookie_update",cookieExpires:"cookie_expires",cookieDomain:"cookie_domain",cookieFlags:"cookie_flags",userId:"user_id",clientId:"client_id",anonymizeIp:"anonymize_ip",contentGroup1:"content_group1",contentGroup2:"content_group2",contentGroup3:"content_group3",contentGroup4:"content_group4",contentGroup5:"content_group5",allowAdFeatures:"allow_google_signals",allowAdPersonalizationSignals:"allow_ad_personalization_signals",nonInteraction:"non_interaction",page:"page_path",hitCallback:"event_callback"};return Object.entries(e).reduce((n,[r,s])=>(t[r]?n[t[r]]=s:n[r]=s,n),{})};initialize=(e,t={})=>{if(!e)throw new Error("Require GA_MEASUREMENT_ID");const n=typeof e=="string"?[{trackingId:e}]:e;this._currentMeasurementId=n[0].trackingId;const{gaOptions:r,gtagOptions:s,nonce:o,testMode:c=!1,gtagUrl:u}=t;if(this._testMode=c,c||this._loadGA(this._currentMeasurementId,o,u),this.isInitialized||(this._gtag("js",new Date),n.forEach(h=>{const f={...this._toGtagOptions({...r,...h.gaOptions}),...s,...h.gtagOptions};Object.keys(f).length?this._gtag("config",h.trackingId,f):this._gtag("config",h.trackingId)})),this.isInitialized=!0,!c){const h=[...this._queueGtag];for(this._queueGtag=[],this._isQueuing=!1;h.length;){const f=h.shift();this._gtag(...f),f[0]==="get"&&(this._isQueuing=!0)}}};set=e=>{if(!e){console.warn("`fieldsObject` is required in .set()");return}if(typeof e!="object"){console.warn("Expected `fieldsObject` arg to be an Object");return}Object.keys(e).length===0&&console.warn("empty `fieldsObject` given to .set()"),this._gaCommand("set",e)};_gaCommandSendEvent=(e,t,n,r,s)=>{this._gtag("event",t,{event_category:e,event_label:n,value:r,...s&&{non_interaction:s.nonInteraction},...this._toGtagOptions(s)})};_gaCommandSendEventParameters=(...e)=>{if(typeof e[0]=="string")this._gaCommandSendEvent(...e.slice(1));else{const{eventCategory:t,eventAction:n,eventLabel:r,eventValue:s,hitType:o,...c}=e[0];this._gaCommandSendEvent(t,n,r,s,c)}};_gaCommandSendTiming=(e,t,n,r)=>{this._gtag("event","timing_complete",{name:t,value:n,event_category:e,event_label:r})};_gaCommandSendPageview=(e,t)=>{if(t&&Object.keys(t).length){const{title:n,location:r,...s}=this._toGtagOptions(t)||{};this._gtag("event","page_view",{...e&&{page_path:e},...n&&{page_title:n},...r&&{page_location:r},...s})}else e?this._gtag("event","page_view",{page_path:e}):this._gtag("event","page_view")};_gaCommandSendPageviewParameters=(...e)=>{if(typeof e[0]=="string")this._gaCommandSendPageview(...e.slice(1));else{const{page:t,hitType:n,...r}=e[0];this._gaCommandSendPageview(t,r)}};_gaCommandSend=(...e)=>{const t=typeof e[0]=="string"?e[0]:e[0].hitType;switch(t){case"event":this._gaCommandSendEventParameters(...e);break;case"pageview":this._gaCommandSendPageviewParameters(...e);break;case"timing":this._gaCommandSendTiming(...e.slice(1));break;case"screenview":case"transaction":case"item":case"social":case"exception":console.warn(`Unsupported send command: ${t}`);break;default:console.warn(`Send command doesn't exist: ${t}`)}};_gaCommandSet=(...e)=>{typeof e[0]=="string"&&(e[0]={[e[0]]:e[1]}),this._gtag("set",this._toGtagOptions(e[0]))};_gaCommand=(e,...t)=>{switch(e){case"send":this._gaCommandSend(...t);break;case"set":this._gaCommandSet(...t);break;default:console.warn(`Command doesn't exist: ${e}`)}};ga=(...e)=>{if(typeof e[0]=="string")this._gaCommand(...e);else{const[t]=e;this._gtag("get",this._currentMeasurementId,"client_id",n=>{this._isQueuing=!1;const r=this._queueGtag;for(t({get:s=>s==="clientId"?n:s==="trackingId"?this._currentMeasurementId:s==="apiVersion"?"1":void 0});r.length;){const s=r.shift();this._gtag(...s)}}),this._isQueuing=!0}return this.ga};event=(e,t)=>
113{if(typeof e=="string")this._gtag("event",e,this._toGtagOptions(t));else{const{action:n,category:r,label:s,value:o,nonInteraction:c,transport:u}=e;if(!r||!n){console.warn("args.category AND args.action are required in event()");return}const h={hitType:"event",eventCategory:Bm(r),eventAction:Bm(n)};s&&(h.eventLabel=Bm(s)),typeof o<"u"&&(typeof o!="number"?console.warn("Expected `args.value` arg to be a Number."):h.eventValue=o),typeof c<"u"&&(typeof c!="boolean"?console.warn("`args.nonInteraction` must be a boolean."):h.nonInteraction=c),typeof u<"u"&&(typeof u!="string"?console.warn("`args.transport` must be a string."):(["beacon","xhr","image"].indexOf(u)===-1&&console.warn("`args.transport` must be either one of these values: `beacon`, `xhr` or `image`"),h.transport=u)),this._gaCommand("send",h)}};send=e=>{this._gaCommand("send",e)}},rK=new aK,$m=rK;let D_=!1;function iK(){const e=Ut();return N.useEffect(()=>{if(typeof window>"u")return;D_||($m.initialize("G-4705SRXZP9"),D_=!0,$m.send({hitType:"pageview",page:window.location.pathname+window.location.search}));const t=e.subscribe("onResolved",({toLocation:n})=>{$m.send({hitType:"pageview",page:n.pathname+(n.searchStr??"")})});return()=>t()},[e]),null}const Pg={"nav.10years":"10 Years","nav.menu":"Menu","nav.platters":"Platters","nav.drinks":"Drinks","nav.catering":"Catering","nav.locations":"Locations","nav.giftcards":"Gift Cards","cta.book":"Book a Table","cta.bookShort":"Book","cta.order":"Order Online","cta.orderShort":"Order","cta.directions":"Directions","cta.call":"Call","footer.newsletterTitle":"First to the table.","footer.newsletterBody":"Tasting-menu nights, anniversary feasts and one-off chef collabs — straight to your inbox. No spam, ever.","footer.newsletterPlaceholder":"[email protected]","footer.newsletterSubmit":"Subscribe","footer.newsletterThanks":"You're on the list. See you soon."},sK={"nav.10years":"१० वर्ष","nav.menu":"मेन्यू","nav.platters":"प्लैटर","nav.drinks":"पेय","nav.catering":"केटरिंग","nav.locations":"स्थान","nav.giftcards":"गिफ्ट कार्ड","cta.book":"टेबल बुक करें","cta.bookShort":"बुक करें","cta.order":"ऑर्डर ऑनलाइन","cta.orderShort":"ऑर्डर","cta.directions":"दिशा-निर्देश","cta.call":"कॉल","footer.newsletterTitle":"सबसे पहले टेबल पर।","footer.newsletterBody":"टेस्टिंग-मेन्यू रातें, सालगिरह की दावतें और शेफ कोलैब — सीधे आपके इनबॉक्स में।","footer.newsletterPlaceholder":"आपका@ईमेल.com","footer.newsletterSubmit":"सब्सक्राइब","footer.newsletterThanks":"आप सूची में हैं। जल्द मिलते हैं।"},oK={en:Pg,hi:sK},aC=N.createContext({lang:"en",setLang:()=>{},t:e=>Pg[e]??e});function lK({children:e}){const[t,n]=N.useState("en");N.useEffect(()=>{try{const o=localStorage.getItem("kebabiya.lang");(o==="hi"||o==="en")&&n(o)}catch{}},[]);const r=o=>{n(o);try{localStorage.setItem("kebabiya.lang",o),document.documentElement.lang=o==="hi"?"hi":"en"}catch{}},s=o=>oK[t][o]??Pg[o]??o;return x.jsx(aC.Provider,{value:{lang:t,setLang:r,t:s},children:e})}function rC(){return N.useContext(aC)}const cK="/assets/styles-sLsAgTdR.css";function uK(){return x.jsx("div",{className:"flex min-h-screen items-center justify-center bg-background px-4 py-16",children:x.jsxs("div",{className:"max-w-xl text-center",children:[x.jsx("span",{className:"font-mono text-[10px] uppercase tracking-[0.3em] text-primary",children:"404 · Lost in the kitchen"}),x.jsxs("h1",{className:"font-display text-5xl md:text-7xl mt-5 text-foreground leading-[0.95]",children:["That dish isn't ",x.jsx("i",{children:"on the menu"}),"."]}),x.jsx("p",{className:"mt-6 text-base text-muted-foreground leading-relaxed",children:"The chef checked the tandoor, the walk-in and the spice drawer — no luck. Maybe the link cooled off. Let's get you back to something hot."}),x.jsxs("div",{className:"mt-10 flex flex-wrap justify-center gap-3",children:[x.jsx(Pe,{to:"/menu",className:"inline-flex items-center justify-center bg-primary px-5 py-3 text-[11px] font-semibold tracking-widest uppercase text-primary-foreground hover:bg-primary/90 transition-colors",children:"See the Menu"}),x.jsx(Pe,{to:"/",className:"inline-flex items-center justify-center border border-foreground
113/20 px-5 py-3 text-[11px] font-semibold tracking-widest uppercase hover:border-primary hover:text-primary transition-colors",children:"Back to Home"})]}),x.jsxs("p",{className:"mt-10 font-mono text-[10px] uppercase tracking-[0.22em] text-muted-foreground",children:["Still hungry? Call the floor · ",x.jsx("a",{href:"tel:+61288247944",className:"hover:text-primary",children:"(02) 8824 7944"})]})]})})}function dK({error:e,reset:t}){console.error(e);const n=Ut();return x.jsx("div",{className:"flex min-h-screen items-center justify-center bg-background px-4",children:x.jsxs("div",{className:"max-w-md text-center",children:[x.jsx("h1",{className:"font-display text-3xl text-foreground",children:"This page didn't load"}),x.jsx("p",{className:"mt-3 text-sm text-muted-foreground",children:"Something went wrong on our end."}),x.jsxs("div",{className:"mt-6 flex flex-wrap justify-center gap-3",children:[x.jsx("button",{onClick:()=>{n.invalidate(),t()},className:"bg-primary text-primary-foreground px-5 py-2.5 text-xs font-semibold tracking-widest uppercase",children:"Try again"}
113),x.jsx("a",{href:"/",className:"border border-foreground/15 px-5 py-2.5 text-xs font-semibold tracking-widest uppercase",children:"Home"})]})]})})}const oe=fP()({head:()=>({meta:[{charSet:"utf-8"},{name:"viewport",content:"width=device-width, initial-scale=1"},{title:"Kebabiya · Live-Fire Indian Grill · Bella Vista, Sydney"},{name:"description",content:"Kebabiya — ten years of live-fire kebabs, sealed-pot biryani and family platters in Bella Vista, Sydney. Halal-sourced, fully licensed, 4.4★ Google."},{name:"author",content:"Kebabiya"},{property:"og:title",content:"Kebabiya · Live-Fire Indian Grill · Bella Vista, Sydney"},{property:"og:description",content:"Ten years of live-fire kebabs, sealed-pot biryani and family platters in the Hills District."},{property:"og:site_name",content:"Kebabiya"},{property:"og:type",content:"website"},{name:"twitter:card",content:"summary_large_image"},{name:"twitter:title",content:"Kebabiya · Live-Fire Indian Grill · Bella Vista, Sydney"},{name:"twitter:description",content:"Ten years of live-fire kebabs, sealed-pot biryani and family platters in the Hills District."},{name:"theme-color",content:"#5c1a1b"},{name:"apple-mobile-web-app-capable",content:"yes"},{name:"apple-mobile-web-app-status-bar-style",content:"black-translucent"},{name:"apple-mobile-web-app-title",content:"Kebabiya"}],scripts:[{src:"https://www.googletagmanager.com/gtag/js?id=AW-18195466912",async:!0},{children:`
vendor: 127 bytes, lines 113-116
113window.dataLayer = window.dataLayer || [];
114function gtag(){dataLayer.push(arguments);}
115gtag('js', new Date());
116gtag('config', '
116AW-18195466912
vendor: 3 bytes, line 116
116');
116`}],links:[{rel:"stylesheet",href:cK},{rel:"manifest",href:"/manifest.webmanifest"},{rel:"icon",href:"/icon-192.png",type:"image/png",sizes:"192x192"},{rel:"icon",href:"/icon-512.png",type:"image/png",sizes:"512x512"},{rel:"apple-touch-icon",href:"/apple-touch-icon.png",sizes:"180x180"},{rel:"preconnect",href:"https://fonts.googleapis.com"},{rel:"preconnect",href:"https://fonts.gstatic.com",crossOrigin:"anonymous"},{rel:"stylesheet",href:"https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;0,800;1,500;1,600&family=DM+Sans:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap"}]}),shellComponent:hK,component:fK,notFoundComponent:uK,errorComponent:dK});function hK({children:e}){return x.jsxs("html",{lang:"en",children:[x.jsx("head",{children:x.jsx(NP,{})}),x.jsxs("body",{children:[e,x.jsx(IP,{})]})]})}function fK(){const{queryClient:e}=oe.useRouteContext();return x.jsx(SB,{client:e,children:x.jsxs(lK,{children:[x.jsx("div",{className:"pb-14 md:pb-0 overflow-x-clip w-full",children:x.jsx(H1,{})}),x.jsx(J5,{}),x.jsx(Cz,{}),x.jsx(iK,{})]})})}const pK="modulepreload",mK=function(e){return"/"+e},I_={},ce=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){let h=function(f){return Promise.all(f.map(p=>Promise.resolve(p).then(y=>({status:"fulfilled",value:y}),y=>({status:"rejected",reason:y}))))};document.getElementsByTagName("link");const c=document.querySelector("meta[property=csp-nonce]"),u=c?.nonce||c?.getAttribute("nonce");s=h(n.map(f=>{if(f=mK(f),f in I_)return;I_[f]=!0;const p=f.endsWith(".css"),y=p?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${f}"]${y}`))return;const b=document.createElement("link");if(b.rel=p?"stylesheet":pK,p||(b.as="script"),b.crossOrigin="",b.href=f,u&&b.setAttribute("nonce",u),document.head.appendChild(b),p)return new Promise((v,k)=>{b.addEventListener("load",v),b.addEventListener("error",()=>k(new Error(`Unable to preload CSS for ${f}`)))})}))}function o(c){const u=new Event("vite:preloadError",{cancelable:!0});if(u.payload=c,window.dispatchEvent(u),!u.defaultPrevented)throw c}return s.then(c=>{for(const u of c||[])u.status==="rejected"&&o(u.reason);return t().catch(o)})},Dy="/assets/hero-banner-BOaDD35H.jpg",Gt=["https://www.instagram.com/kebabiya","https://www.facebook.com/kkebabiya","https://www.tiktok.com/@kebabiya_australiaa","https://www.youtube.com/@kebabiya","https://www.linkedin.com/company/kebabiya","https://www.ubereats.com/au/store/kebabiya-bella-vista","https://www.agfg.com.au/restaurant/kebabiya-bella-vista-57784"],pn={"@type":"AggregateRating",ratingValue:"4.4",reviewCount:"2000",bestRating:"5"};function dt(e){return{"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:e.map((t,n)=>({"@type":"ListItem",position:n+1,name:t.name,item:t.url}))}}function jg(e){return{"@context":"https://schema.org","@type":"Restaurant",name:`Kebabiya — Indian Restaurant serving ${e.suburbName}`,url:e.pageUrl,telephone:"+61288247944",servesCuisine:["Indian","North Indian","Mughlai","Kebab","Biryani","Halal"],priceRange:"$$",acceptsReservations:"True",address:{"@type":"PostalAddress",streetAddress:"Sky City, Level 1, A115, 20 Lexington Drive",addressLocality:"Bella Vista",addressRegion:"NSW",postalCode:"2153",addressCountry:"AU"},geo:{"@type":"GeoCoordinates",latitude:-33.7314,longitude:150.9476},areaServed:e.areaServed,aggregateRating:pn,sameAs:Gt,hasMenu:"https://kebabiya.com.au/menu"}}const yK=()=>ce(()=>import("./index-B-9O791a.js"),__vite__mapDeps([0,1])),gK=se()({head:()=>({meta:[{title:"Kebabiya · 4.4★ Indian Grill in Bella Vista, Sydney"},{name:"description",content:"4.4★ on Google and 4.2★ from 2,000+ Uber Eats reviews. Grilled kebabs, slow-cooked biryanis and family platters in Bella Vista, Sydney. Book a table or order online."},{property:"og:title",content:"Kebabiya · 4.4★ Indian Grill in Bella Vista, Sydney"},{property:"og:description",content:"4.4★ Google · 4.2★ from 2,000+ Uber Eats reviews. Grilled kebabs, biryani and family platters in Bella Vista, Sydney."}],scripts:[{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"Restaurant","@id":"https://kebabiya.com.au/#restaurant",name:"Kebabiya",url:"https://kebabiya.com.au/",image:"https://kebabiya.com.au"+Dy,servesCuisine:["Indian","Mughlai","Kebab","Biryani"],priceRange:"$$",telephone:"+61288247944",address:{"@type":"PostalAddress",streetAddress:"Sky City, Level 1, A115, 20 Lexington Drive",addressLocality:"Bella Vista",addressRegion:"NSW",postalCode:"2153",addressCountry:"AU"},geo:{"@type":"GeoCoordinates",latitude:-33.7314,longitude:150.9476},areaServed:["Bella Vista","Norwest","Baulkham Hills","Castle Hill","Kellyville","The Hills District","Sydney"],openingHoursSpecification:[{"@type":"OpeningHoursSpecification",dayOfWeek:["Tuesday","Wednesday","Thursday","Frid
116ay"],opens:"12:00",closes:"15:00"},{"@type":"OpeningHoursSpecification",dayOfWeek:["Monday","Tuesday","Wednesday","Thursday"],opens:"17:30",closes:"21:00"},{"@type":"OpeningHoursSpecification",dayOfWeek:"Friday",opens:"17:30",closes:"22:00"},{"@type":"OpeningHoursSpecification",dayOfWeek:"Saturday",opens:"12:00",closes:"22:00"},{"@type":"OpeningHoursSpecification",dayOfWeek:"Sunday",opens:"12:00",closes:"21:00"}],acceptsReservations:"True",hasMenu:{"@type":"Menu",name:"Kebabiya Menu",url:"https://kebabiya.com.au/menu",hasMenuSection:[{"@type":"MenuSection",name:"Sharing Platters",description:"Family-sized brass platters built to be passed around — perfect for group dining in Bella Vista.",hasMenuItem:[{"@type":"MenuItem",name:"Metre-Long Sharing Platter",description:"Our signature one-metre brass platter loaded with tandoori chicken, seekh kebabs, lamb chops, paneer tikka, biryani, naan and house chutneys — built for 6–10 guests.",suitableForDiet:"https://schema.org/HalalDiet",offers:{"@type":"Offer",priceCurrency:"AUD",availability:"https://schema.org/InStock"}},{"@type":"MenuItem",name:"One-Man Feast",description:"Single-diner tasting platter spanning the menu.",suitableForDiet:"https://schema.org/HalalDiet"}]},{"@type":"MenuSection",name:"Biryani",hasMenuItem:[{"@type":"MenuItem",name:"Hyderabadi Dum Biryani",suitableForDiet:"https://schema.org/HalalDiet"}]}]},amenityFeature:[{"@type":"LocationFeatureSpecification",name:"Halal-Sourced Meats",value:!0},{"@type":"LocationFeatureSpecification",name:"BYO Wine Allowed",value:!0},{"@type":"LocationFeatureSpecification",name:"Licensed Bar",value:!0},{"@type":"LocationFeatureSpecification",name:"Free Parking",value:!0},{"@type":"LocationFeatureSpecification",name:"Family Friendly",value:!0},{"@type":"LocationFeatureSpecification",name:"Phone-Free Dining Available",value:!0},{"@type":"LocationFeatureSpecification",name:"Vegetarian Options",value:!0},{"@type":"LocationFeatureSpecification",name:"Group Dining",value:!0}],paymentAccepted:"Cash, Credit Card, EFTPOS, Apple Pay, Google Pay",currenciesAccepted:"AUD",aggregateRating:{"@type":"AggregateRating",ratingValue:"4.4",reviewCount:"2000",bestRating:"5"},sameAs:Gt})},{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"FAQPage",mainEntity:[{"@type":"Question",name:"Is Kebabiya in Bella Vista Halal?",acceptedAnswer:{"@type":"Answer",text:"Every meat we cook is sourced from Halal-certified suppliers. Because Kebabiya is fully licensed and serves alcohol, the restaurant itself isn't Halal-certified — but the kitchen is 100% Halal-sourced."}},{"@type":"Question",name:"Does Kebabiya allow BYO or do they have a license?",acceptedAnswer:{"@type":"Answer",text:"Kebabiya is fully licensed and features our exclusive 'Sharabiya' house brew lager and a creative cocktail list. We also welcome BYO wine for our dining guests."}},{"@type":"Question",name:"What is the #PhoneFreeDining experience?",acceptedAnswer:{"@type":"Answer",text:"It is our signature dining ritual where guests can choose to hand over their mobile devices to Team Kebabiya at the start of the meal, allowing them to trade digital scrolling for real-life conversation, fire, and spice. Every table that participates goes home with a special token gift."}}]})},{type:"application/ld+json",children:JSON.stringify(dt([{name:"Home",url:"https://kebabiya.com.au/"}]))}],links:[{rel:"canonical",href:"https://kebabiya.com.au/"}]}),component:le(yK,"component")}),Iy="/assets/anniversary-poster-DpmrDv8Q.jpg",bK=()=>ce(()=>import("./10-years-BazL8A8x.js"),__vite__mapDeps([2,3,4])),vK=se()({head:()=>({meta:[{title:"10 Years of Street Grill — Whole Menu, 2016 Prices · 19–21 May | Kebabiya"},{name:"description",content:"For 3 nights only — 19, 20 & 21 May — our entire menu returns at 20–30% below today's prices. A decade thank-you from Kebabiya, Bella Vista."},{property:"og:title",content:"10 Years of Street Grill · Kebabiya"},{property:"og:description",content:"Whole menu returns at 20–30% off today's prices. 19–21 May, Bella Vista."},{property:"og:image",content:Iy},{property:"og:type",content:"event"},{property:"og:url",content:"https://kebabiya.com.au/10-years"}],links:[{rel:"canonical",href:"https://kebabiya.com.au/10-years"}],scripts:[{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"Event",name:"Kebabiya 10 Years of Street Grill",startDate:"2026-05-19T17:30+10:00",endD
116ate:"2026-05-21T22:30+10:00",eventStatus:"https://schema.org/EventScheduled",eventAttendanceMode:"https://schema.org/OfflineEventAttendanceMode",location:{"@type":"Place",name:"Kebabiya, Bella Vista",address:{"@type":"PostalAddress",streetAddress:"Sky City, Level 1, A115 / 20 Lexington Drive",addressLocality:"Bella Vista",addressRegion:"NSW",postalCode:"2153",addressCountry:"AU"}},image:[Iy],description:"Three-night anniversary dinner — Kebabiya's whole menu returns at 20–30% below today's prices.",organizer:{"@type":"Organization",name:"Kebabiya",url:"https://kebabiya.com.au"}})}]}),component:le(bK,"component")}),wK=()=>ce(()=>import("./bella-vista-lunch-VJRvGNku.js"),[]),SK=se()({head:()=>({meta:[{title:"Bella Vista Lunch | Kebabiya — Norwest Business Park"},{name:"description",content:"Bella Vista lunch at Kebabiya. Quick, high-quality Indian lunch for Norwest Business Park. Express kebabs, biryani bowls, group office orders. Sky City, 20 Lexington Drive."},{name:"keywords",content:"bella vista lunch, lunch bella vista, bella vista lunch spots, lunch near norwest, norwest business park lunch, indian lunch bella vista, office lunch bella vista, group lunch bella vista, quick lunch bella vista"},{property:"og:title",content:"Bella Vista Lunch · Kebabiya — Norwest Business Park"},{property:"og:description",content:"Bella Vista lunch done right. Express kebabs, biryani bowls and group orders for Norwest Business Park. Quick, quality, no compromise."},{property:"og:url",content:"https://kebabiya.com.au/bella-vista-lunch"},{property:"og:type",content:"website"}],links:[{rel:"canonical",href:"https://kebabiya.com.au/bella-vista-lunch"}],scripts:[{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"Restaurant",name:"Kebabiya — Bella Vista Lunch",url:"https://kebabiya.com.au/bella-vista-lunch",telephone:"+61288247944",servesCuisine:["Indian","North Indian","Mughlai","Kebabs","Biryani","Halal"],priceRange:"$$",acceptsReservations:"True",address:{"@type":"PostalAddress",streetAddress:"Sky City L1 A115, 20 Lexington Drive",addressLocality:"Bella Vista",addressRegion:"NSW",postalCode:"2153",addressCountry:"AU"},openingHoursSpecification:[{"@type":"OpeningHoursSpecification",dayOfWeek:["Tuesday","Wednesday","Thursday","Friday"],opens:"12:00",closes:"15:00"}],aggregateRating:{"@type":"AggregateRating",ratingValue:"4.2",reviewCount:"2000"},hasMenu:"https://kebabiya.com.au/menu"})}]}),component:le(wK,"component")}),kK=[{q:"What restaurants are in Bella Vista?",a:"Bella Vista's dining scene runs along Lexington Drive and Norwest Boulevard — Italian, Thai, pub food, burger joints, and Kebabiya, the Indian grill option at Sky City. Most are within a five-minute drive of each other."},{q:"What is the best restaurant in Bella Vista for a special occasion?",a:"Kebabiya's signature sharing platter — a metre-long brass platter built for four to six — is the local pick for birthdays, anniversaries and milestone dinners. Smart-casual, fully licensed, free undercover parking."},{q:"Are there halal restaurants in Bella Vista?",a:"Yes. Kebabiya's kitchen is 100% halal-sourced from certified suppliers — every meat dish on the menu, since 2014. Because we are fully licensed and serve alcohol, the restaurant itself does not qualify for formal Halal Certification, but no meat crosses the pass that isn't halal-sourced. Bring mixed groups to one table without an awkward conversation."},{q:"Where can I park to eat in Bella Vista?",a:"Sky City at 20 Lexington Drive has free undercover parking with a lift to the restaurants on Level 1. No street-parking lottery."},{q:"Which Bella Vista restaurants take large group bookings?",a:"Kebabiya regularly hosts groups of 8–40 for birthdays, work dinners and family events. Call +61 2 8824 7944 at least three days ahead for groups over eight."}],_K=["top","right","bottom","left"],Qr=Math.min,En=Math.max,eh=Math.round,dd=Math.floor,ka=e=>({x:e,y:e}),xK={left:"right",right:"left",bottom:"top",top:"bottom"};function Py(e,t,n){return En(e,Qr(t,n))}function or(e,t){return typeof e=="function"?e(t):e}function lr(e){return e.split("-")[0]}function yo(e){return e.split("-")[1]}function Lg(e){return e==="x"?"y":"x"}function Mg(e){return e==="y"?"height":"width"}function wa(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function Bg(e){return Lg(wa(e))}function EK(e,t,n){n===void 0&&(n=!1);const r=yo(e),s=Bg(e),o=Mg(s);let c=s==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(c=th(c)),[c,th(c)]}function RK(e){const t=th(e);return[jy(e),t,jy(t)]}function jy(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const P_=["left","right"],j_=["right","left"],CK=["top","bottom"],AK=["bottom","top"];
vendor: 11,046 bytes, line 116
116function TK(e,t,n){switch(e){case"top":case"bottom":return n?t?j_:P_:t?P_:j_;case"left":case"right":return t?CK:AK;default:return[]}}function OK(e,t,n,r){const s=yo(e);let o=TK(lr(e),n==="start",r);return s&&(o=o.map(c=>c+"-"+s),t&&(o=o.concat(o.map(jy)))),o}function th(e){const t=lr(e);return xK[t]+e.slice(t.length)}function NK(e){return{top:0,right:0,bottom:0,left:0,...e}}function iC(e){return typeof e!="number"?NK(e):{top:e,right:e,bottom:e,left:e}}function nh(e){const{x:t,y:n,width:r,height:s}=e;return{width:r,height:s,top:n,left:t,right:t+r,bottom:n+s,x:t,y:n}}function L_(e,t,n){let{reference:r,floating:s}=e;const o=wa(t),c=Bg(t),u=Mg(c),h=lr(t),f=o==="y",p=r.x+r.width/2-s.width/2,y=r.y+r.height/2-s.height/2,b=r[u]/2-s[u]/2;let v;switch(h){case"top":v={x:p,y:r.y-s.height};break;case"bottom":v={x:p,y:r.y+r.height};break;case"right":v={x:r.x+r.width,y};break;case"left":v={x:r.x-s.width,y};break;default:v={x:r.x,y:r.y}}switch(yo(t)){case"start":v[c]-=b*(n&&f?-1:1);break;case"end":v[c]+=b*(n&&f?-1:1);break}return v}async function DK(e,t){var n;t===void 0&&(t={});const{x:r,y:s,platform:o,rects:c,elements:u,strategy:h}=e,{boundary:f="clippingAncestors",rootBoundary:p="viewport",elementContext:y="floating",altBoundary:b=!1,padding:v=0}=or(t,e),k=iC(v),E=u[b?y==="floating"?"reference":"floating":y],_=nh(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(E)))==null||n?E:E.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(u.floating)),boundary:f,rootBoundary:p,strategy:h})),A=y==="floating"?{x:r,y:s,width:c.floating.width,height:c.floating.height}:c.reference,C=await(o.getOffsetParent==null?void 0:o.getOffsetParent(u.floating)),P=await(o.isElement==null?void 0:o.isElement(C))?await(o.getScale==null?void 0:o.getScale(C))||{x:1,y:1}:{x:1,y:1},K=nh(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:u,rect:A,offsetParent:C,strategy:h}):A);return{top:(_.top-K.top+k.top)/P.y,bottom:(K.bottom-_.bottom+k.bottom)/P.y,left:(_.left-K.left+k.left)/P.x,right:(K.right-_.right+k.right)/P.x}}const IK=50,PK=async(e,t,n)=>{const{placement:r="bottom",strategy:s="absolute",middleware:o=[],platform:c}=n,u=c.detectOverflow?c:{...c,detectOverflow:DK},h=await(c.isRTL==null?void 0:c.isRTL(t));let f=await c.getElementRects({reference:e,floating:t,strategy:s}),{x:p,y}=L_(f,r,h),b=r,v=0;const k={};for(let w=0;w<o.length;w++){const E=o[w];if(!E)continue;const{name:_,fn:A}=E,{x:C,y:P,data:K,reset:D}=await A({x:p,y,initialPlacement:r,placement:b,strategy:s,middlewareData:k,rects:f,platform:u,elements:{reference:e,floating:t}});p=C??p,y=P??y,k[_]={...k[_],...K},D&&v<IK&&(v++,typeof D=="object"&&(D.placement&&(b=D.placement),D.rects&&(f=D.rects===!0?await c.getElementRects({reference:e,floating:t,strategy:s}):D.rects),{x:p,y}=L_(f,b,h)),w=-1)}return{x:p,y,placement:b,strategy:s,middlewareData:k}},jK=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:s,rects:o,platform:c,elements:u,middlewareData:h}=t,{element:f,padding:p=0}=or(e,t)||{};if(f==null)return{};const y=iC(p),b={x:n,y:r},v=Bg(s),k=Mg(v),w=await c.getDimensions(f),E=v==="y",_=E?"top":"left",A=E?"bottom":"right",C=E?"clientHeight":"clientWidth",P=o.reference[k]+o.reference[v]-b[v]-o.floating[k],K=b[v]-o.reference[v],D=await(c.getOffsetParent==null?void 0:c.getOffsetParent(f));let I=D?D[C]:0;(!I||!await(c.isElement==null?void 0:c.isElement(D)))&&(I=u.floating[C]||o.floating[k]);const $=P/2-K/2,Y=I/2-w[k]/2-1,re=Qr(y[_],Y),z=Qr(y[A],Y),H=re,te=I-w[k]-z,Z=I/2-w[k]/2+$,G=Py(H,Z,te),M=!h.arrow&&yo(s)!=null&&Z!==G&&o.reference[k]/2-(Z<H?re:z)-w[k]/2<0,Q=M?Z<H?Z-H:Z-te:0;return{[v]:b[v]+Q,data:{[v]:G,centerOffset:Z-G-Q,...M&&{alignmentOffset:Q}},reset:M}}}),LK=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:s,middlewareData:o,rects:c,initialPlacement:u,platform:h,elements:f}=t,{mainAxis:p=!0,crossAxis:y=!0,fallbackPlacements:b,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:k="none",flipAlignment:w=!0,...E}=or(e,t);if((n=o.arrow)!=null&&n.alignmentOffset)return{};const _=lr(s),A=wa(u),C=lr(u)===u,P=await(h.isRTL==null?void 0:h.isRTL(f.floating)),K=b||(C||!w?[th(u)]:RK(u)),D=k!=="none";!b&&D&&K.push(...OK(u,w,k,P));const I=[u,...K],$=await h.detectOverflow(t,E),Y=[];let re=((r=o.flip)==null?void 0:r.overflows)||[];if(p&&Y.push($[_]),y){const Z=EK(s,c,P);Y.push($[Z[0]],$[Z[1]])}if(re=[...re,{placement:s,overflows:Y}],!Y.every(Z=>Z<=0)){var z,H;const Z=(((z=o.flip)==null?void 0:z.index)||0)+1,G=I[Z];if(G&&(!(y==="alignment"?A!==wa(G):!1)||re.every(ie=>wa(ie.placement)===A?ie.overflows[0]>0:!0)))return{data:{index:Z,overflows:re},reset:{placement:G}};let M=(H=re.filter(Q=>Q.overflows[0]<=0).sort((Q,ie)=>Q.overflows[1]-ie.overflows[1])[0])==null?void 0:H.placement;if(!M)switch(v){case"bestFit":{var te;const Q=(te=re.filter(ie=>{if(D){const Se=wa(ie.placement);return Se===A||Se==="y"}return!0}).map(ie=>[ie.placement,ie.overflows.filter(Se=>Se>0).reduce((Se,T)=>Se+T,0)]).sort((ie,Se)=>ie[1]-Se[1])[0])==null?void 0:te[0];Q&&(M=Q);break}case"initialPlacement":M=u;break}if(s!==M)return{reset:{placement:M}}}return{}}}};function M_(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function B_(e){return _K.some(t=>e[t]>=0)}const MK=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n,platform:r}=t,{strategy:s="referenceHidden",...o}=or(e,t);switch(s){case"referenceHidden":{const c=await r.detectOverflow(t,{...o,elementContext:"reference"}),u=M_(c,n.reference);return{data:{referenceHiddenOffsets:u,referenceHidden:B_(u)}}}case"escaped":{const c=await r.detectOverflow(t,{...o,altBoundary:!0}),u=M_(c,n.floating);return{data:{escapedOffsets:u,escaped:B_(u)}}}default:return{}}}}},sC=new Set(["left","top"]);async function BK(e,t){const{placement:n,platform:r,elements:s}=e,o=await(r.isRTL==null?void 0:r.isRTL(s.floating)),c=lr(n),u=yo(n),h=wa(n)==="y",f=sC.has(c)?-1:1,p=o&&h?-1:1,y=or(t,e);let{mainAxis:b,crossAxis:v,alignmentAxis:k}=typeof y=="number"?{mainAxis:y,crossAxis:0,alignmentAxis:null}:{mainAxis:y.mainAxis||0,crossAxis:y.crossAxis||0,alignmentAxis:y.alignmentAxis};return u&&typeof k=="number"&&(v=u==="end"?k*-1:k),h?{x:v*p,y:b*f}:{x:b*f,y:v*p}}const $K=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:s,y:o,placement:c,middlewareData:u}=t,h=await BK(t,e);return c===((n=u.offset)==null?void 0:n.placement)&&(r=u.arrow)!=null&&r.alignmentOffset?{}:{x:s+h.x,y:o+h.y,data:{...h,placement:c}}}}},zK=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:s,platform:o}=t,{mainAxis:c=!0,crossAxis:u=!1,limiter:h={fn:_=>{let{x:A,y:C}=_;return{x:A,y:C}}},...f}=or(e,t),p={x:n,y:r},y=await o.detectOverflow(t,f),b=wa(lr(s)),v=Lg(b);let k=p[v],w=p[b];if(c){const _=v==="y"?"top":"left",A=v==="y"?"bottom":"right",C=k+y[_],P=k-y[A];k=Py(C,k,P)}if(u){const _=b==="y"?"top":"left",A=b==="y"?"bottom":"right",C=w+y[_],P=w-y[A];w=Py(C,w,P)}const E=h.fn({...t,[v]:k,[b]:w});return{...E,data:{x:E.x-n,y:E.y-r,enabled:{[v]:c,[b]:u}}}}}},HK=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:s,rects:o,middlewareData:c}=t,{offset:u=0,mainAxis:h=!0,crossAxis:f=!0}=or(e,t),p={x:n,y:r},y=wa(s),b=Lg(y);let v=p[b],k=p[y];const w=or(u,t),E=typeof w=="number"?{mainAxis:w,crossAxis:0}:{mainAxis:0,crossAxis:0,...w};if(h){const C=b==="y"?"height":"width",P=o.reference[b]-o.floating[C]+E.mainAxis,K=o.reference[b]+o.reference[C]-E.mainAxis;v<P?v=P:v>K&&(v=K)}if(f){var _,A;const C=b==="y"?"width":"height",P=sC.has(lr(s)),K=o.reference[y]-o.floating[C]+(P&&((_=c.offset)==null?void 0:_[y])||0)+(P?0:E.crossAxis),D=o.reference[y]+o.reference[C]+(P?0:((A=c.offset)==null?void 0:A[y])||0)-(P?E.crossAxis:0);k<K?k=K:k>D&&(k=D)}return{[b]:v,[y]:k}}}},UK=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:s,rects:o,platform:c,elements:u}=t,{apply:h=()=>{},...f}=or(e,t),p=await c.detectOverflow(t,f),y=lr(s),b=yo(s),v=wa(s)==="y",{width:k,height:w}=o.floating;let E,_;y==="top"||y==="bottom"?(E=y,_=b===(await(c.isRTL==null?void 0:c.isRTL(u.floating))?"start":"end")?"left":"right"):(_=y,E=b==="end"?"top":"bottom");const A=w-p.top-p.bottom,C=k-p.left-p.right,P=Qr(w-p[E],A),K=Qr(k-p[_],C),D=!t.middlewareData.shift;let I=P,$=K;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&($=C),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(I=A),D&&!b){const re=En(p.left,0),z=En(p.right,0),H=En(p.top,0),te=En(p.bottom,0);v?$=k-2*(re!==0||z!==0?re+z:En(p.left,p.right)):I=w-2*(H!==0||te!==0?H+te:En(p.top,p.bottom))}await h({...t,availableWidth:$,availableHeight:I});const Y=await c.getDimensions(u.floating);return k!==Y.width||w!==Y.height?{reset:{rects:!0}}:{}}}};function _h(){return typeof window<"u"}function go(e){return oC(e)?(e.nodeName||"").toLowerCase():"#document"}function Tn(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Ra(e){var t;return(t=(oC(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function oC(e){return _h()?e instanceof Node||e instanceof Tn(e).Node:!1}function ra(e){return _h()?e instanceof Element||e instanceof Tn(e).Element:!1}function ur(e){return _h()?e instanceof HTMLElement||e instanceof Tn(e).HTMLElement:!1}function $_(e){return!_h()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Tn(e).ShadowRoot}function mc(e){const{overflow:t,overflowX:n,overflowY:r,display:s}=ia(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&s!=="inline"&&s!=="contents"}function KK(e){return/^(table|td|th)$/.test(go(e))}function xh(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const VK=/transform|translate|scale|rotate|perspective|filter/,FK=/paint|layout|strict|content/,Ri=e=>!!e&&e!=="none";let zm;function $g(e){const t=ra(e)?ia(e):e;return Ri(t.transform)||Ri(t.translate)||Ri(t.scale)||Ri(t.rotate)||Ri(t.perspective)||!zg()&&(Ri(t.backdropFilter)||Ri(t.filter))||VK.test(t.willChange||"")||FK.test(t.contain||"")}function qK(e){let t=Xr(e);for(;ur(t)&&!lo(t);){if($g(t))return t;if(xh(t))return null;t=Xr(t)}return null}function zg(){return zm==null&&(zm=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),zm}function lo(e){return/^(html|body|#document)$/.test(go(e))}function ia(e){return Tn(e).getComputedStyle(e)}function Eh(e){return ra(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Xr(e){if(go(e)==="html")return e;const t=e.assignedSlot||e.parentNode||$_(e)&&e.host||Ra(e);return $_(t)?t.host:t}function lC(e){const t=Xr(e);return lo(t)?e.ownerDocument?e.ownerDocument.body:e.body:ur(t)&&mc(t)?t:lC(t)}function cc(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const s=lC(e),o=s===((r=e.ownerDocument)==null?void 0:r.body),c=Tn(s);if(o){const u=Ly(c);
vendor: 7,577 bytes, line 116
116return t.concat(c,c.visualViewport||[],mc(s)?s:[],u&&n?cc(u):[])}else return t.concat(s,cc(s,[],n))}function Ly(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function cC(e){const t=ia(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const s=ur(e),o=s?e.offsetWidth:n,c=s?e.offsetHeight:r,u=eh(n)!==o||eh(r)!==c;return u&&(n=o,r=c),{width:n,height:r,$:u}}function Hg(e){return ra(e)?e:e.contextElement}function so(e){const t=Hg(e);if(!ur(t))return ka(1);const n=t.getBoundingClientRect(),{width:r,height:s,$:o}=cC(t);let c=(o?eh(n.width):n.width)/r,u=(o?eh(n.height):n.height)/s;return(!c||!Number.isFinite(c))&&(c=1),(!u||!Number.isFinite(u))&&(u=1),{x:c,y:u}}const GK=ka(0);function uC(e){const t=Tn(e);return!zg()||!t.visualViewport?GK:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function WK(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Tn(e)?!1:t}function ji(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect(),o=Hg(e);let c=ka(1);t&&(r?ra(r)&&(c=so(r)):c=so(e));const u=WK(o,n,r)?uC(o):ka(0);let h=(s.left+u.x)/c.x,f=(s.top+u.y)/c.y,p=s.width/c.x,y=s.height/c.y;if(o){const b=Tn(o),v=r&&ra(r)?Tn(r):r;let k=b,w=Ly(k);for(;w&&r&&v!==k;){const E=so(w),_=w.getBoundingClientRect(),A=ia(w),C=_.left+(w.clientLeft+parseFloat(A.paddingLeft))*E.x,P=_.top+(w.clientTop+parseFloat(A.paddingTop))*E.y;h*=E.x,f*=E.y,p*=E.x,y*=E.y,h+=C,f+=P,k=Tn(w),w=Ly(k)}}return nh({width:p,height:y,x:h,y:f})}function Rh(e,t){const n=Eh(e).scrollLeft;return t?t.left+n:ji(Ra(e)).left+n}function dC(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-Rh(e,n),s=n.top+t.scrollTop;return{x:r,y:s}}function YK(e){let{elements:t,rect:n,offsetParent:r,strategy:s}=e;const o=s==="fixed",c=Ra(r),u=t?xh(t.floating):!1;if(r===c||u&&o)return n;let h={scrollLeft:0,scrollTop:0},f=ka(1);const p=ka(0),y=ur(r);if((y||!y&&!o)&&((go(r)!=="body"||mc(c))&&(h=Eh(r)),y)){const v=ji(r);f=so(r),p.x=v.x+r.clientLeft,p.y=v.y+r.clientTop}const b=c&&!y&&!o?dC(c,h):ka(0);return{width:n.width*f.x,height:n.height*f.y,x:n.x*f.x-h.scrollLeft*f.x+p.x+b.x,y:n.y*f.y-h.scrollTop*f.y+p.y+b.y}}function JK(e){return Array.from(e.getClientRects())}function QK(e){const t=Ra(e),n=Eh(e),r=e.ownerDocument.body,s=En(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=En(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let c=-n.scrollLeft+Rh(e);const u=-n.scrollTop;return ia(r).direction==="rtl"&&(c+=En(t.clientWidth,r.clientWidth)-s),{width:s,height:o,x:c,y:u}}const z_=25;function XK(e,t){const n=Tn(e),r=Ra(e),s=n.visualViewport;let o=r.clientWidth,c=r.clientHeight,u=0,h=0;if(s){o=s.width,c=s.height;const p=zg();(!p||p&&t==="fixed")&&(u=s.offsetLeft,h=s.offsetTop)}const f=Rh(r);if(f<=0){const p=r.ownerDocument,y=p.body,b=getComputedStyle(y),v=p.compatMode==="CSS1Compat"&&parseFloat(b.marginLeft)+parseFloat(b.marginRight)||0,k=Math.abs(r.clientWidth-y.clientWidth-v);k<=z_&&(o-=k)}else f<=z_&&(o+=f);return{width:o,height:c,x:u,y:h}}function ZK(e,t){const n=ji(e,!0,t==="fixed"),r=n.top+e.clientTop,s=n.left+e.clientLeft,o=ur(e)?so(e):ka(1),c=e.clientWidth*o.x,u=e.clientHeight*o.y,h=s*o.x,f=r*o.y;return{width:c,height:u,x:h,y:f}}function H_(e,t,n){let r;if(t==="viewport")r=XK(e,n);else if(t==="document")r=QK(Ra(e));else if(ra(t))r=ZK(t,n);else{const s=uC(e);r={x:t.x-s.x,y:t.y-s.y,width:t.width,height:t.height}}return nh(r)}function hC(e,t){const n=Xr(e);return n===t||!ra(n)||lo(n)?!1:ia(n).position==="fixed"||hC(n,t)}function e6(e,t){const n=t.get(e);if(n)return n;let r=cc(e,[],!1).filter(u=>ra(u)&&go(u)!=="body"),s=null;const o=ia(e).position==="fixed";let c=o?Xr(e):e;for(;ra(c)&&!lo(c);){const u=ia(c),h=$g(c);!h&&u.position==="fixed"&&(s=null),(o?!h&&!s:!h&&u.position==="static"&&!!s&&(s.position==="absolute"||s.position==="fixed")||mc(c)&&!h&&hC(e,c))?r=r.filter(p=>p!==c):s=u,c=Xr(c)}return t.set(e,r),r}function t6(e){let{element:t,boundary:n,rootBoundary:r,strategy:s}=e;const c=[...n==="clippingAncestors"?xh(t)?[]:e6(t,this._c):[].concat(n),r],u=H_(t,c[0],s);let h=u.top,f=u.right,p=u.bottom,y=u.left;for(let b=1;b<c.length;b++){const v=H_(t,c[b],s);h=En(v.top,h),f=Qr(v.right,f),p=Qr(v.bottom,p),y=En(v.left,y)}return{width:f-y,height:p-h,x:y,y:h}}function n6(e){const{width:t,height:n}=cC(e);return{width:t,height:n}}function a6(e,t,n){const r=ur(t),s=Ra(t),o=n==="fixed",c=ji(e,!0,o,t);let u={scrollLeft:0,scrollTop:0};const h=ka(0);function f(){h.x=Rh(s)}if(r||!r&&!o)if((go(t)!=="body"||mc(s))&&(u=Eh(t)),r){const v=ji(t,!0,o,t);h.x=v.x+t.clientLeft,h.y=v.y+t.clientTop}else s&&f();o&&!r&&s&&f();const p=s&&!r&&!o?dC(s,u):ka(0),y=c.left+u.scrollLeft-h.x-p.x,b=c.top+u.scrollTop-h.y-p.y;return{x:y,y:b,width:c.width,height:c.height}}function Hm(e){return ia(e).position==="static"}function U_(e,t){if(!ur(e)||ia(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Ra(e)===n&&(n=n.ownerDocument.body),n}function fC(e,t){const n=Tn(e);if(xh(e))return n;if(!ur(e)){let s=Xr(e);for(;s&&!lo(s);){if(ra(s)&&!Hm(s))return s;s=Xr(s)}return n}let r=U_(e,t);for(;r&&KK(r)&&Hm(r);)r=U_(r,t);return r&&lo(r)&&Hm(r)&&!$g(r)?n:r||qK(e)||n}const r6=async function(e){const t=this.getOffsetParent||fC,n=this.getDimensions,r=await n(e.floating);return{reference:a6(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function i6(e){return ia(e).direction==="rtl"}const s6={convertOffsetParentRelativeRectToViewportRelativeRect:YK,getDocumentElement:Ra,getClippingRect:t6,getOffsetParent:fC,getElementRects:r6,getClientRects:JK,getDimensions:n6,getScale:so,isElement:ra,isRTL:i6};function pC(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function o6(e,t){let n=null,r;const s=Ra(e);function o(){var u;clearTimeout(r),(u=n)==null||u.disconnect(),n=null}function c(u,h){u===void 0&&(u=!1),h===void 0&&(h=1),o();const f=e.getBoundingClientRect(),{left:p,top:y,width:b,height:v}=f;if(u||t(),!b||!v)return;const k=dd(y),w=dd(s.clientWidth-(p+b)),E=dd(s.clientHeight-(y+v)),_=dd(p),C={rootMargin:-k+"px "+-w+"px "+-E+"px "+-_+"px",threshold:En(0,Qr(1,h))||1};let P=!0;function K(D){const I=D[0].intersectionRatio;if(I!==h){if(!P)return c();I?c(!1,I):r=setTimeout(()=>{c(!1,1e-7)},1e3)}I===1&&!pC(f,e.getBoundingClientRect())&&c(),P=!1}try{n=new IntersectionObserver(K,{...C,root:s.ownerDocument})}catch{n=new IntersectionObserver(K,C)}n.observe(e)}return c(!0),o}function l6(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:s=!0,ancestorResize:o=!0,elementResize:c=typeof ResizeObserver=="function",layoutShift:u=typeof IntersectionObserver=="function",animationFrame:h=!1}=r,f=Hg(e),p=s||o?[...f?cc(f):[],...t?cc(t):[]]:[];p.forEach(_=>{s&&_.addEventListener("scroll",n,{passive:!0}),o&&_.addEventListener("resize",n)});const y=f&&u?o6(f,n):null;let b=-1,v=null;c&&(v=new ResizeObserver(_=>{let[A]=_;A&&A.target===f&&v&&t&&(v.unobserve(t),cancelAnimationFrame(b),b=requestAnimationFrame(()=>{var C;(C=v)==null||C.observe(t)})),n()}),f&&!h&&v.observe(f),t&&v.observe(t));let k,w=h?ji(e):null;h&&E();function E(){const _=ji(e);w&&!pC(w,_)&&n(),w=_,k=requestAnimationFrame(E)}return n(),()=>{var _;p.forEach(A=>{s&&A.removeEventListener("scroll",n),o&&A.removeEventListener("resize",n)}),y?.(),(_=v)==null||_.disconnect(),v=null,h&&cancelAnimationFrame(k)}}const c6=$K,u6=zK,d6=LK,h6=UK,f6=MK,K_=jK,p6=HK,m6=(e,t,n)=>{const r=new Map,s={platform:s6,...n},o={...s.platform,_c:r};return PK(e,t,{...s,platform:o})};var y6=typeof document<"u",g6=function(){},Pd=y6?N.useLayoutEffect:g6;function ah(e,t){if(e===t)return!0;
vendor: 13,256 bytes, line 116
116if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,s;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!ah(e[r],t[r]))return!1;return!0}if(s=Object.keys(e),n=s.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,s[r]))return!1;for(r=n;r--!==0;){const o=s[r];if(!(o==="_owner"&&e.$$typeof)&&!ah(e[o],t[o]))return!1}return!0}return e!==e&&t!==t}function mC(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function V_(e,t){const n=mC(e);return Math.round(t*n)/n}function Um(e){const t=N.useRef(e);return Pd(()=>{t.current=e}),t}function b6(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:s,elements:{reference:o,floating:c}={},transform:u=!0,whileElementsMounted:h,open:f}=e,[p,y]=N.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[b,v]=N.useState(r);ah(b,r)||v(r);const[k,w]=N.useState(null),[E,_]=N.useState(null),A=N.useCallback(ie=>{ie!==D.current&&(D.current=ie,w(ie))},[]),C=N.useCallback(ie=>{ie!==I.current&&(I.current=ie,_(ie))},[]),P=o||k,K=c||E,D=N.useRef(null),I=N.useRef(null),$=N.useRef(p),Y=h!=null,re=Um(h),z=Um(s),H=Um(f),te=N.useCallback(()=>{if(!D.current||!I.current)return;const ie={placement:t,strategy:n,middleware:b};z.current&&(ie.platform=z.current),m6(D.current,I.current,ie).then(Se=>{const T={...Se,isPositioned:H.current!==!1};Z.current&&!ah($.current,T)&&($.current=T,hg.flushSync(()=>{y(T)}))})},[b,t,n,z,H]);Pd(()=>{f===!1&&$.current.isPositioned&&($.current.isPositioned=!1,y(ie=>({...ie,isPositioned:!1})))},[f]);const Z=N.useRef(!1);Pd(()=>(Z.current=!0,()=>{Z.current=!1}),[]),Pd(()=>{if(P&&(D.current=P),K&&(I.current=K),P&&K){if(re.current)return re.current(P,K,te);te()}},[P,K,te,re,Y]);const G=N.useMemo(()=>({reference:D,floating:I,setReference:A,setFloating:C}),[A,C]),M=N.useMemo(()=>({reference:P,floating:K}),[P,K]),Q=N.useMemo(()=>{const ie={position:n,left:0,top:0};if(!M.floating)return ie;const Se=V_(M.floating,p.x),T=V_(M.floating,p.y);return u?{...ie,transform:"translate("+Se+"px, "+T+"px)",...mC(M.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:Se,top:T}},[n,u,M.floating,p.x,p.y]);return N.useMemo(()=>({...p,update:te,refs:G,elements:M,floatingStyles:Q}),[p,te,G,M,Q])}const v6=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:s}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?K_({element:r.current,padding:s}).fn(n):{}:r?K_({element:r,padding:s}).fn(n):{}}}},w6=(e,t)=>{const n=c6(e);return{name:n.name,fn:n.fn,options:[e,t]}},S6=(e,t)=>{const n=u6(e);return{name:n.name,fn:n.fn,options:[e,t]}},k6=(e,t)=>({fn:p6(e).fn,options:[e,t]}),_6=(e,t)=>{const n=d6(e);return{name:n.name,fn:n.fn,options:[e,t]}},x6=(e,t)=>{const n=h6(e);return{name:n.name,fn:n.fn,options:[e,t]}},E6=(e,t)=>{const n=f6(e);return{name:n.name,fn:n.fn,options:[e,t]}},R6=(e,t)=>{const n=v6(e);return{name:n.name,fn:n.fn,options:[e,t]}};var C6="Arrow",yC=N.forwardRef((e,t)=>{const{children:n,width:r=10,height:s=5,...o}=e;return x.jsx(hn.svg,{...o,ref:t,width:r,height:s,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:x.jsx("polygon",{points:"0,0 30,0 15,10"})})});yC.displayName=C6;var A6=yC;function T6(e){const[t,n]=N.useState(void 0);return Jr(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(s=>{if(!Array.isArray(s)||!s.length)return;const o=s[0];let c,u;if("borderBoxSize"in o){const h=o.borderBoxSize,f=Array.isArray(h)?h[0]:h;c=f.inlineSize,u=f.blockSize}else c=e.offsetWidth,u=e.offsetHeight;n({width:c,height:u})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var Ug="Popper",[gC,bC]=dg(Ug),[O6,vC]=gC(Ug),wC=e=>{const{__scopePopper:t,children:n}=e,[r,s]=N.useState(null);return x.jsx(O6,{scope:t,anchor:r,onAnchorChange:s,children:n})};wC.displayName=Ug;var SC="PopperAnchor",kC=N.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...s}=e,o=vC(SC,n),c=N.useRef(null),u=sa(t,c),h=N.useRef(null);return N.useEffect(()=>{const f=h.current;h.current=r?.current||c.current,f!==h.current&&o.onAnchorChange(h.current)}),r?null:x.jsx(hn.div,{...s,ref:u})});kC.displayName=SC;var Kg="PopperContent",[N6,D6]=gC(Kg),_C=N.forwardRef((e,t)=>{const{__scopePopper:n,side:r="bottom",sideOffset:s=0,align:o="center",alignOffset:c=0,arrowPadding:u=0,avoidCollisions:h=!0,collisionBoundary:f=[],collisionPadding:p=0,sticky:y="partial",hideWhenDetached:b=!1,updatePositionStrategy:v="optimized",onPlaced:k,...w}=e,E=vC(Kg,n),[_,A]=N.useState(null),C=sa(t,ye=>A(ye)),[P,K]=N.useState(null),D=T6(P),I=D?.width??0,$=D?.height??0,Y=r+(o!=="center"?"-"+o:""),re=typeof p=="number"?p:{top:0,right:0,bottom:0,left:0,...p},z=Array.isArray(f)?f:[f],H=z.length>0,te={padding:re,boundary:z.filter(P6),altBoundary:H},{refs:Z,floatingStyles:G,placement:M,isPositioned:Q,middlewareData:ie}=b6({strategy:"fixed",placement:Y,whileElementsMounted:(...ye)=>l6(...ye,{animationFrame:v==="always"}),elements:{reference:E.anchor},middleware:[w6({mainAxis:s+$,alignmentAxis:c}),h&&S6({mainAxis:!0,crossAxis:!1,limiter:y==="partial"?k6():void 0,...te}),h&&_6({...te}),x6({...te,apply:({elements:ye,rects:Te,availableWidth:xe,availableHeight:ht})=>{const{width:Ct,height:Dt}=Te.reference,mn=ye.floating.style;mn.setProperty("--radix-popper-available-width",`${xe}px`),mn.setProperty("--radix-popper-available-height",`${ht}px`),mn.setProperty("--radix-popper-anchor-width",`${Ct}px`),mn.setProperty("--radix-popper-anchor-height",`${Dt}px`)}}),P&&R6({element:P,padding:u}),j6({arrowWidth:I,arrowHeight:$}),b&&E6({strategy:"referenceHidden",...te})]}),[Se,T]=RC(M),L=oo(k);Jr(()=>{Q&&L?.()},[Q,L]);const J=ie.arrow?.x,O=ie.arrow?.y,de=ie.arrow?.centerOffset!==0,[me,fe]=N.useState();return Jr(()=>{_&&fe(window.getComputedStyle(_).zIndex)},[_]),x.jsx("div",{ref:Z.setFloating,"data-radix-popper-content-wrapper":"",style:{...G,transform:Q?G.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:me,"--radix-popper-transform-origin":[ie.transformOrigin?.x,ie.transformOrigin?.y].join(" "),...ie.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:x.jsx(N6,{scope:n,placedSide:Se,onArrowChange:K,arrowX:J,arrowY:O,shouldHideArrow:de,children:x.jsx(hn.div,{"data-side":Se,"data-align":T,...w,ref:C,style:{...w.style,animation:Q?void 0:"none"}})})})});_C.displayName=Kg;var xC="PopperArrow",I6={top:"bottom",right:"left",bottom:"top",left:"right"},EC=N.forwardRef(function(t,n){const{__scopePopper:r,...s}=t,o=D6(xC,r),c=I6[o.placedSide];return x.jsx("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[c]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:x.jsx(A6,{...s,ref:n,style:{...s.style,display:"block"}})})});EC.displayName=xC;function P6(e){return e!==null}var j6=e=>({name:"transformOrigin",options:e,fn(t){const{placement:n,rects:r,middlewareData:s}=t,c=s.arrow?.centerOffset!==0,u=c?0:e.arrowWidth,h=c?0:e.arrowHeight,[f,p]=RC(n),y={start:"0%",center:"50%",end:"100%"}[p],b=(s.arrow?.x??0)+u/2,v=(s.arrow?.y??0)+h/2;let k="",w="";return f==="bottom"?(k=c?y:`${b}px`,w=`${-h}px`):f==="top"?(k=c?y:`${b}px`,w=`${r.floating.height+h}px`):f==="right"?(k=`${-h}px`,w=c?y:`${v}px`):f==="left"&&(k=`${r.floating.width+h}px`,w=c?y:`${v}px`),{data:{x:k,y:w}}}});function RC(e){const[t,n="center"]=e.split("-");return[t,n]}var L6=wC,CC=kC,M6=_C,B6=EC;function $6(e){const t=z6(e),n=N.forwardRef((r,s)=>{const{children:o,...c}=r,u=N.Children.toArray(o),h=u.find(U6);if(h){const f=h.props.children,p=u.map(y=>y===h?N.Children.count(f)>1?N.Children.only(null):N.isValidElement(f)?f.props.children:null:y);return x.jsx(t,{...c,ref:s,children:N.isValidElement(f)?N.cloneElement(f,void 0,p):null})}return x.jsx(t,{...c,ref:s,children:o})});return n.displayName=`${e}.Slot`,n}function z6(e){const t=N.forwardRef((n,r)=>{const{children:s,...o}=n;if(N.isValidElement(s)){const c=V6(s),u=K6(o,s.props);return s.type!==N.Fragment&&(u.ref=r?gh(r,c):c),N.cloneElement(s,u)}return N.Children.count(s)>1?N.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var H6=Symbol("radix.slottable");function U6(e){return N.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===H6}function K6(e,t){const n={...t};for(const r in t){const s=e[r],o=t[r];/^on[A-Z]/.test(r)?s&&o?n[r]=(...u)=>{const h=o(...u);return s(...u),h}:s&&(n[r]=s):r==="style"?n[r]={...s,...o}:r==="className"&&(n[r]=[s,o].filter(Boolean).join(" "))}return{...e,...n}}function V6(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var Ch="Popover",[AC]=dg(Ch,[bC]),yc=bC(),[F6,ri]=AC(Ch),TC=e=>{const{__scopePopover:t,children:n,open:r,defaultOpen:s,onOpenChange:o,modal:c=!1}=e,u=yc(t),h=N.useRef(null),[f,p]=N.useState(!1),[y,b]=zE({prop:r,defaultProp:s??!1,onChange:o,caller:Ch});return x.jsx(L6,{...u,children:x.jsx(F6,{scope:t,contentId:Od(),triggerRef:h,open:y,onOpenChange:b,onOpenToggle:N.useCallback(()=>b(v=>!v),[b]),hasCustomAnchor:f,onCustomAnchorAdd:N.useCallback(()=>p(!0),[]),onCustomAnchorRemove:N.useCallback(()=>p(!1),[]),modal:c,children:n})})};TC.displayName=Ch;var OC="PopoverAnchor",q6=N.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,s=ri(OC,n),o=yc(n),{onCustomAnchorAdd:c,onCustomAnchorRemove:u}=s;return N.useEffect(()=>(c(),()=>u()),[c,u]),x.jsx(CC,{...o,...r,ref:t})});q6.displayName=OC;var NC="PopoverTrigger",DC=N.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,s=ri(NC,n),o=yc(n),c=sa(t,s.triggerRef),u=x.jsx(hn.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.contentId,"data-state":MC(s.open),...r,ref:c,onClick:An(e.onClick,s.onOpenToggle)});return s.hasCustomAnchor?u:x.jsx(CC,{asChild:!0,...o,children:u})});DC.displayName=NC;var Vg="PopoverPortal",[G6,W6]=AC(Vg,{forceMount:void 0}),IC=e=>{const{__scopePopover:t,forceMount:n,children:r,container:s}=e,o=ri(Vg,t);return x.jsx(G6,{scope:t,forceMount:n,children:x.jsx(fo,{present:n||o.open,children:x.jsx(mg,{asChild:!0,container:s,children:r})})})};IC.displayName=Vg;var co="PopoverContent",PC=N.forwardRef((e,t)=>{const n=W6(co,e.__scopePopover),{forceMount:r=n.forceMount,...s}=e,o=ri(co,e.__scopePopover);return x.jsx(fo,{present:r||o.open,children:o.modal?x.jsx(J6,{...s,ref:t}):x.jsx(Q6,{...s,ref:t})})});PC.displayName=co;var Y6=$6("PopoverContent.RemoveScroll"),J6=N.forwardRef((e,t)=>{const n=ri(co,e.__scopePopover),r=N.useRef(null),s=sa(t,r),o=N.useRef(!1);return N.useEffect(()=>{const c=r.current;if(c)return XE(c)},[]),x.jsx(yg,{as:Y6,allowPinchZoom:!0,children:x.jsx(jC,{...e,ref:s,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:An(e.onCloseAutoFocus,c=>{c.preventDefault(),o.current||n.triggerRef.current?.focus()}),onPointerDownOutside:An(e.onPointerDownOutside,c=>{const u=c.detail.originalEvent,h=u.button===0&&u.ctrlKey===!0,f=u.button===2||h;o.current=f},{checkForDefaultPrevented:!1}),onFocusOutside:An(e.onFocusOutside,c=>c.preventDefault(),{checkForDefaultPrevented:!1})})})}),Q6=N.forwardRef((e,t)=>{const n=ri(co,e.__scopePopover),r=N.useRef(!1),s=N.useRef(!1);return x.jsx(jC,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{e.onCloseAutoFocus?.(o),o.defaultPrevented||(r.current||n.triggerRef.current?.focus(),o.preventDefault()),r.current=!1,s.current=!1},onInteractOutside:o=>{e.onInteractOutside?.(o),o.defaultPrevented||(r.current=!0,o.detail.originalEvent.type==="pointerdown"&&(s.current=!0));const c=o.target;n.triggerRef.current?.contains(c)&&o.preventDefault(),o.detail.originalEvent.type==="focusin"&&s.current&&o.preventDefault()}})}),jC=N.forwardRef((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:s,onCloseAutoFocus:o,disableOutsidePointerEvents:c,onEscapeKeyDown:u,onPointerDownOutside:h,onFocusOutside:f,onInteractOutside:p,...y}=e,b=ri(co,n),v=yc(n);return VE(),x.jsx(pg,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:s,onUnmountAutoFocus:o,children:x.jsx(fg,{asChild:!0,disableOutsidePointerEvents:c,onInteractOutside:p,onEscapeKeyDown:u,onPointerDownOutside:h,onFocusOutside:f,onDismiss:()=>b.onOpenChange(!1),children:x.jsx(M6,{"data-state":MC(b.open),role:"dialog",id:b.contentId,...v,...y,ref:t,style:{...y.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),LC="PopoverClose",X6=N.forwardRef((e,t)=>
116{const{__scopePopover:n,...r}=e,s=ri(LC,n);return x.jsx(hn.button,{type:"button",...r,ref:t,onClick:An(e.onClick,()=>s.onOpenChange(!1))})});X6.displayName=LC;var Z6="PopoverArrow",eV=N.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,s=yc(n);return x.jsx(B6,{...s,...r,ref:t})});eV.displayName=Z6;function MC(e){return e?"open":"closed"}var tV=TC,nV=DC,aV=IC,BC=PC;const rV=tV,iV=nV,$C=N.forwardRef(({className:e,align:t="center",sideOffset:n=4,...r},s)=>x.jsx(aV,{children:x.jsx(BC,{ref:s,align:t,sideOffset:n,className:ni("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-(--radix-popover-content-transform-origin)",e),...r})}));$C.displayName=BC.displayName;const sV={primary:"bg-primary text-primary-foreground px-6 py-3.5 text-xs font-semibold tracking-widest uppercase hover:bg-primary/90 transition-colors",outline:"border border-primary text-primary px-6 py-3.5 text-xs font-semibold tracking-widest uppercase hover:bg-primary hover:text-primary-foreground transition-colors",ghost:"border border-foreground
116/20 px-5 py-3 text-[11px] font-semibold tracking-widest uppercase hover:border-primary hover:text-primary transition-colors",dark:"bg-foreground text-background px-6 py-3.5 text-xs font-semibold tracking-widest uppercase hover:bg-foreground/90 transition-colors",compact:"border border-primary text-primary px-4 py-2.5 text-[11px] font-semibold tracking-widest uppercase hover:bg-primary hover:text-primary-foreground transition-colors"};function F_({variant:e="outline",label:t="Order Online",className:n="",children:r}){return x.jsxs(rV,{children:[x.jsx(iV,{asChild:!0,children:x.jsx("button",{type:"button",className:`${sV[e]} ${n}`,"aria-label":"Choose a delivery partner",children:r??t})}),x.jsxs($C,{align:"start",sideOffset:8,className:"w-80 p-0 border-foreground/10 bg-card",children:[x.jsxs("div",{className:"px-4 pt-4 pb-2",children:[x.jsx("p",{className:"text-[10px] uppercase tracking-[0.22em] text-muted-foreground font-semibold",children:"Order Online"}),x.jsx("p",{className:"text-sm text-foreground/80 mt-1",children:"Choose your delivery partner"})]}
116),x.jsx("ul",{className:"border-t border-foreground/10 divide-y divide-foreground/10",children:vt.delivery.map(s=>x.jsx("li",{children:x.jsxs("a",{href:s.href,target:"_blank",rel:"noreferrer",className:"flex items-center justify-between gap-3 px-4 py-3.5 hover:bg-primary/10 transition-colors group",children:[x.jsxs("div",{className:"min-w-0",children:[x.jsx("div",{className:"font-semibold text-sm text-foreground group-hover:text-primary transition-colors",children:s.name}),s.note&&x.jsx("div",{className:"text-xs text-muted-foreground mt-0.5 truncate",children:s.note})]}),x.jsx(AB,{className:"size-4 text-muted-foreground group-hover:text-primary shrink-0"})]})},s.name))})]})]})}const zC="/assets/kebabiya-logo-B2S7xdxD.png",q_={"/10-years":"nav.10years","/menu":"nav.menu","/platters":"nav.platters","/drinks":"nav.drinks","/catering":"nav.catering","/locations":"nav.locations","/gift-cards":"nav.giftcards"};function oV(){const[e,t]=N.useState(!1),{t:n}=rC(),r=(s,o)=>q_[s]?n(q_[s]):o;return x.jsxs("header",{className:"sticky top-0 z-50 bg-background/85 backdrop-blur-md border-b border-foreground
116/5",children:[x.jsxs("nav",{className:"max-w-7xl mx-auto px-6 h-20 flex items-center justify-between",children:[x.jsx(Pe,{to:"/",className:"flex items-center",onClick:()=>t(!1),"aria-label":"Kebabiya — Street Grill, Bella Vista Sydney",children:x.jsx("img",{src:zC,alt:"Kebabiya Street Grill — 10 Years",className:"h-14 sm:h-16 w-auto",width:280,height:112})}),x.jsx("div",{className:"hidden lg:flex items-center gap-7 text-[11px] uppercase tracking-[0.2em] font-medium",children:Ik.map(s=>x.jsx(Pe,{to:s.to,className:"hover:text-primary transition-colors",activeProps:{className:"text-primary"},children:r(s.to,s.label)},s.to))}),x.jsxs("div",{className:"flex items-center gap-2",children:[x.jsx("div",{className:"hidden sm:inline-flex",children:x.jsx(F_,{variant:"compact",label:n("cta.order")})}),x.jsx(Hl,{label:n("cta.book"),className:"hidden sm:inline-flex bg-primary text-primary-foreground px-4 py-2.5 text-[11px] font-semibold tracking-widest uppercase hover:bg-primary/90 transition-colors"}),x.jsx("div",{className:"inline-flex sm:hidden",children:x.jsx(F_,{variant:"compact",label:n("cta.orderShort"),className:"px-3 py-2 text-[10px]"})}),x.jsx(Hl,{label:n("cta.bookShort"),className:"inline-flex sm:hidden bg-primary text-primary-foreground px-3 py-2 text-[10px] font-semibold tracking-widest uppercase hover:bg-primary/90 transition-colors"}),x.jsx("button",{"aria-label":"Menu",className:"lg:hidden p-2 -mr-2",onClick:()=>t(s=>!s),children:e?x.jsx(yh,{className:"size-5"}):x.jsx($B,{className:"size-5"})})]})]}),e&&x.jsx("div",{className:"lg:hidden border-t border-foreground
116/5 bg-background",children:x.jsxs("div",{className:"px-6 py-6 flex flex-col gap-5 text-sm uppercase tracking-[0.18em]",children:[Ik.map(s=>x.jsx(Pe,{to:s.to,onClick:()=>t(!1),className:"hover:text-primary",children:r(s.to,s.label)},s.to)),x.jsxs("div",{className:"border-t border-foreground/10 pt-4 mt-2 space-y-2",children:[x.jsx("p",{className:"text-[10px] tracking-[0.22em] text-muted-foreground font-semibold",children:n("cta.order")}),vt.delivery.map(s=>x.jsx("a",{href:s.href,target:"_blank",rel:"noreferrer",onClick:()=>t(!1),className:"block border border-foreground/15 px-4 py-2.5 text-xs font-semibold tracking-widest hover:border-primary hover:text-primary",children:s.name},s.name))]}),x.jsx(Hl,{label:n("cta.book"),className:"bg-primary text-primary-foreground px-5 py-3 text-center font-semibold tracking-widest w-full"})]})})]})}function lV({className:e}){return x.jsx("svg",{viewBox:"0 0 24 24",fill:"currentColor",className:e,"aria-hidden":"true",children:x.jsx("path",{d:"M19.59 6.69a4.83 4.83 0 0 1-3.77-4.25V2h-3.45v13.67a2.89 2.89 0 0 1-5.2 1.74 2.89 2.89 0 0 1 2.31-4.64 2.93 2.93 0 0 1 .88.13V9.4a6.84 6.84 0 0 0-1-.05A6.33 6.33 0 0 0 5.8 20.1a6.34 6.34 0 0 0 10.86-4.43V8.78a8.16 8.16 0 0 0 4.77 1.52V6.85a4.85 4.85 0 0 1-1.84-.16z"})})}const cV=[{href:vt.socials.instagram,label:"Instagram",Icon:DB},{href:vt.socials.facebook,label:"Facebook",Icon:OB},{href:vt.socials.tiktok,label:"TikTok",Icon:lV},{href:vt.socials.youtube,label:"YouTube",Icon:GB},{href:vt.socials.linkedin,label:"LinkedIn",Icon:PB},{href:vt.socials.whatsapp,label:"WhatsApp",Icon:xE}];function uV({className:e="",iconClassName:t="size-[18px]"}){return x.jsx("ul",{className:`flex items-center gap-3 ${e}`,children:cV.map(({href:n,label:r,Icon:s})=>x.jsx("li",{children:x.jsx("a",{href:n,target:"_blank",rel:"noreferrer","aria-label":`Kebabiya on ${r}`,className:"inline-flex items-center justify-center size-9 border border-foreground
116/15 text-foreground/70 hover:text-primary hover:border-primary transition-colors",children:x.jsx(s,{className:t})})},r))})}function dV(){const{t:e}=rC(),[t,n]=N.useState(""),[r,s]=N.useState("idle");async function o(c){if(c.preventDefault(),!t||!/.+@.+\..+/.test(t)){s("error");return}s("loading"),await new Promise(u=>setTimeout(u,600)),s("done"),n("")}return x.jsxs("div",{children:[x.jsx("h3",{className:"font-display text-2xl text-foreground",children:e("footer.newsletterTitle")}),x.jsx("p",{className:"mt-3 text-sm text-muted-foreground leading-relaxed max-w-sm",children:e("footer.newsletterBody")}),x.jsxs("form",{onSubmit:o,className:"mt-5 flex w-full max-w-sm",children:[x.jsx("label",{htmlFor:"newsletter-email",className:"sr-only",children:e("footer.newsletterPlaceholder")}),x.jsx("input",{id:"newsletter-email",type:"email",autoComplete:"email",required:!0,value:t,onChange:c=>{n(c.target.value),r==="error"&&s("idle")},placeholder:e("footer.newsletterPlaceholder"),className:"flex-1 bg-transparent border border-foreground
116/20 px-3 py-2.5 text-sm focus:outline-none focus:border-primary placeholder:text-muted-foreground/60"}),x.jsx("button",{type:"submit",disabled:r==="loading",className:"bg-foreground text-background px-4 py-2.5 text-[11px] font-semibold tracking-widest uppercase hover:bg-primary disabled:opacity-60 transition-colors",children:r==="loading"?"…":e("footer.newsletterSubmit")})]}),x.jsxs("p",{className:`mt-3 font-mono text-[10px] uppercase tracking-widest min-h-[1em] ${r==="done"?"text-primary":"text-destructive"}`,role:"status",children:[r==="done"&&e("footer.newsletterThanks"),r==="error"&&"Please enter a valid email."]})]})}function hV(){return x.jsxs("footer",{className:"bg-card text-foreground mt-24 border-t border-border",children:[x.jsx("div",{className:"max-w-7xl mx-auto px-6 pt-14 pb-10 border-b border-foreground/10",children:x.jsx(dV,{})}),x.jsxs("div",{className:"max-w-7xl mx-auto px-6 py-14 grid md:grid-cols-12 gap-10",children:[x.jsxs("div",{className:"md:col-span-5",children:[x.jsx("img",{src:zC,alt:"Kebabiya Street Grill — 10 Years",className:"h-14 w-auto mb-4",width:260,height:104}),x.jsx("p",{className:"max-w-sm text-muted-foreground text-sm leading-relaxed",children:"A decade of spice, fire and shared plates in Bella Vista, Sydney."}),x.jsxs("address",{className:"not-italic mt-5 text-sm text-muted-foreground leading-relaxed",children:[vt.address.line1,", ",vt.address.line2,", ",vt.address.suburb,x.jsx("br",{}),x.jsx("a",{href:vt.phoneHref,className:"hover:text-primary",children:vt.phone})]}),x.jsx("div",{className:"mt-5 space-y-1 text-sm text-muted-foreground",children:vt.hours.map(e=>x.jsxs("div",{className:"flex justify-between gap-4",children:[x.jsx("span",{children:e.d}),x.jsx("span",{children:e.t})]},e.d+e.t))}),x.jsx(uV,{className:"mt-6"})]}),x.jsxs("div",{className:"md:col-span-4",children:[x.jsx("h3",{className:"font-mono text-[10px] uppercase tracking-widest mb-4 text-muted-foreground",children:"Explore"}),x.jsxs("ul",{className:"grid grid-cols-2 gap-y-2 text-sm",children:[x.jsx("li",{children:x.jsx(Pe,{to:"/why-kebabiya",className:"hover:text-primary",children:"Why Kebabiya"})}),x.jsx("li",{children:x.jsx(Pe,{to:"/10-years",className:"hover:text-primary",children:"10 Years"})}),x.jsx("li",{children:x.jsx(Pe,{to:"/menu",className:"hover:text-primary",children:"Menu"})}),x.jsx("li",{children:x.jsx(Pe,{to:"/platters",className:"hover:text-primary",children:"Platters"})}),x.jsx("li",{children:x.jsx(Pe,{to:"/drinks",className:"hover:text-primary",children:"Drinks"})}),x.jsx("li",{children:x.jsx(Pe,{to:"/one-man-feast",className:"hover:text-primary",children:"One Man Feast"})}),x.jsx("li",{children:x.jsx(Pe,{to:"/story",className:"hover:text-primary",children:"Story"})}),x.jsx("li",{children:x.jsx(Pe,{to:"/catering",className:"hover:text-primary",children:"Catering"})}),x.jsx("li",{children:x.jsx(Pe,{to:"/indian-catering-home-parties",className:"hover:text-primary",children:"Home Parties"})}),x.jsx("li",{children:x.jsx(Pe,{to:"/gallery",className:"hover:text-primary",children:"Gallery"})}),x.jsx("li",{children:x.jsx(Pe,{to:"/recipes",className:"hover:text-primary",children:"Recipes"})}),x.jsx("li",{children:x.jsx(Pe,{to:"/press",className:"hover:text-primary",children:"Press"})}),x.jsx("li",{children:x.jsx(Pe,{to:"/halal",className:"hover:text-primary",children:"Halal"})}),x.jsx("li",{children:x.jsx(Pe,{to:"/locations",className:"hover:text-primary",children:"Locations"})}),x.jsx("li",{children:x.jsx(Pe,{to:"/contact",className:"hover:text-primary",children:"Contact"})}),x.jsx("li",{children:x.jsx(Pe,{to:"/gift-cards",className:"hover:text-primary",children:"Gift Cards"})}),x.jsx("li",{children:x.jsx(Pe,{to:"/loyalty",className:"hover:text-primary",children:"Rewards"})})]}),x.jsx("h3",{className:"font-mono text-[10px] uppercase tracking-widest mt-6 mb-3 text-muted-foreground",children:"Hills District"}),x.jsxs("ul",{className:"grid grid-cols-2 gap-y-2 text-sm",children:[x.jsx("li",{children:x.jsx(Pe,{to:"/indian-restaurant-bella-vista",className:"hover:text-primary",children:"Bella Vista"})}),x.jsx("li",{children:x.jsx(Pe,{to:"/indian-restaurant-norwest",className:"hover:text-primary",children:"Norwest"})}),x.jsx("li",{children:x.jsx(Pe,{to:"/indian-restaurant-castle-hill",className:"hover:text-primary",children:"Castle Hill"})}),x.jsx("li",{children:x.jsx(Pe,{to:"/indian-restaurant-kellyville",className:"hover:text-primary",children:"Kellyville"})}),x.jsx("li",{children:x.jsx(Pe,{to:"/indian-restaurant-rouse-hill",className:"hover:text-primary",children:"Rouse Hill"})}),x.jsx("li",{children:x.jsx(Pe,{to:"/indian-restaurants-hills-district",className:"hover:text-primary",children:"All Hills District"})})]}),x.jsx("h3",{className:"font-mono text-[10px] uppercase tracking-widest mt-6 mb-3 text-muted-foreground",children:"Menu by Category"}),x.jsxs("ul",{className:"grid grid-cols-2 gap-y-2 text-sm",children:[x.jsx("li",{children:x.jsx(Pe,{to:"/indian-kebabs-sydney",className:"hover:text-primary",children:"Indian Kebabs"})}),x.jsx("li",{children:x.jsx(Pe,{to:"/biryani",className:"hover:text-primary",children:"Biryani"})}),x.jsx("li",{children:x.jsx(Pe,{to:"/indian-curries-sydney",className:"hover:text-primary",children:"Curries"})}),x.jsx("li",{children:x.jsx(Pe,{to:"/vegetarian-indian-sydney",className:"hover:text-primary",children:"Vegetarian"})}),x.jsx("li",{children:x.jsx(Pe,{to:"/tandoor-restaurant-sydney",className:"hover:text-primary",children:"Tandoor"})})]})]}),x.jsxs("div",{className:"md:col-span-3",children:[x.jsx("h3",{className:"font-mono text-[10px] uppercase tracking-widest mb-4 text-muted-foreground",children:"Order & Book"}),x.jsxs("ul",{className:"space-y-2 text-sm",children:[x.jsx("li",{children:x.jsx("a",{href:vt.uberEats,className:"hover:text-primary",target:"_blank",rel:"noreferrer",children:"Order Online"})}),x.jsx("li",{children:x.jsx(Hl,{label:"Book a Table",className:"hover:text-primary text-left"})}),x.jsx("li",{children:x.jsx(Pe,{to:"/gift-cards",className:"hover:text-primary",children:"Gift Cards"})}),x.jsx("li",{children:x.jsx(Pe,{to:"/loyalty",className:"hover:text-primary",children:"Rewards"})}),x.jsx("li",{children:x.jsx(Pe,{to:"/indian-catering-home-parties",className:"hover:text-primary",children:"Home Party Catering"})}),x.jsx("li",{children:x.jsx(Pe,{to:"/catering",className:"hover:text-primary",children:"All Catering"})})]}),x.jsxs("div",{className:"flex flex-wrap gap-3 mt-6",children:[x.jsx("a",{href:"https://www.agfg.com.au/restaurant/kebabiya-bella-vista-57784",title:"Kebabiya Bella Vista",target:"_blank",rel:"noreferrer",children:x.jsx("img",{src:"https://media1.agfg.com.au/images/links/write-review-sq-140x80.png",alt:"Kebabiya Bella Vista — Write a Review on AGFG",className:"rounded-sm",width:70,height:40})}),x.jsx("a",{href:"https://www.agfg.com.au/restaurant/kebabiya-bella-vista-57784",title:"Kebabiya Bella Vista",target:"_blank",rel:"noreferrer",children:x.jsx("img",{src:"https://media1.agfg.com.au/images/links/voteforus-sq-140x80.png",alt:"Kebabiya Bella Vista — Vote for us on AGFG",className:"rounded-sm",width:70,height:40})})]})]})]}),x.jsxs("div",{className:"max-w-7xl mx-auto px-6 py-6 border-t border-border flex flex-col md:flex-row justify-between gap-2 font-mono text-[10px] uppercase tracking-widest text-muted-foreground",children:[x.jsxs("p",{children:["© ",new Date().getFullYear()," Kebabiya · Bella Vista"]}),x.jsx("p",{children:"Halal · Licensed · BYO wine"})]})]})}const G_="kebabiya-spring-bar-2026-v1";function fV(){const[e,t]=N.useState(!1);return N.useEffect(()=>{typeof window>"u"||localStorage.getItem(G_)||t(!0)},[]),e?x.jsxs("div",{className:"relative bg-primary text-primary-foreground text-[11px] sm:text-xs tracking-wide",children:[x.jsxs(Pe,{to:"/menu",className:"block px-12 py-2.5 text-center hover:bg-primary/90 transition-colors",children:[x.jsx("span",{className:"font-mono uppercase tracking-[0.22em] mr-2 opacity-80",children:"Spring at Kebabiya"}),x.jsx("span",{className:"font-medium",children:"Longer days, warmer nights and shared feasts in Bella Vista"}),x.jsx("span",{className:"hidden sm:inline mx-2 opacity-60",children:"·"}),x.jsx("span",{className:"hidden sm:inline underline underline-offset-4 font-semibold",children:"Plan your visit →"})]}),x.jsx("button",{type:"button","aria-label":"Dismiss announcement",onClick:()=>{localStorage.setItem(G_,"1"),t(!1)},className:"absolute right-2 top-1/2 -translate-y-1/2 p-1.5 hover:opacity-70",children:x.jsx(yh,{className:"size-3.5"})})]}):null}function OW({children:e}){return x.jsxs("div",{className:"min-h-screen flex flex-col bg-background text-foreground",children:[x.jsx(fV,{}),x.jsx(oV,{}),x.jsx("main",{className:"flex-1",children:e}),x.jsx(hV,{})]})}function HC({children:e}){return x.jsx("span",{className:"font-mono text-[10px] text-primary uppercase tracking-[0.3em] block",children:e})}function NW({eyebrow:e,title:t,lede:n}
116){return x.jsxs("section",{className:"px-6 pt-20 pb-12 lg:pt-28 lg:pb-16 max-w-5xl mx-auto animate-fade-up",children:[x.jsx(HC,{children:e}),x.jsx("h1",{className:"font-display text-5xl lg:text-7xl leading-[0.95] mt-5 text-balance",children:t}),n&&x.jsx("p",{className:"mt-8 text-lg text-muted-foreground max-w-2xl leading-relaxed",children:n})]})}function DW({eyebrow:e="Frequently Asked",heading:t,items:n}){return x.jsxs("section",{className:"px-6 max-w-3xl mx-auto pb-20",children:[x.jsx(HC,{children:e}),x.jsx("h2",{className:"font-display text-3xl md:text-4xl mt-3 mb-8",children:t}),x.jsx("dl",{className:"space-y-6",children:n.map(r=>x.jsxs("div",{className:"border-t border-foreground/10 pt-5",children:[x.jsx("dt",{className:"font-display text-xl mb-2",children:r.q}),x.jsx("dd",{className:"text-foreground/80 leading-relaxed",children:r.a})]},r.q))})]})}function ot(e){return{"@context":"https://schema.org","@type":"FAQPage",mainEntity:e.map(t=>({"@type":"Question",name:t.q,acceptedAnswer:{"@type":"Answer",text:t.a}}))}}const pV=()=>ce(()=>import("./bella-vista-restaurants-CJNrQHSi.js"),[]),mV=se()({head:()=>({meta:[{title:"Bella Vista Restaurants | Kebabiya — Indian Dining"},{name:"description",content:"Among Bella Vista restaurants, Kebabiya is the Indian option. Live-fire kebabs, sealed-pot biryani, family platters. Sky City, 20 Lexington Drive. Book now."},{name:"keywords",content:"bella vista restaurants, restaurants bella vista, bella vista dining, bella vista food, bella vista dinner, bella vista lunch, indian restaurant bella vista, best restaurants bella vista, bella vista norwest restaurants"},{property:"og:title",content:"Bella Vista Restaurants · Kebabiya — Indian Dining"},{property:"og:description",content:"The Indian standout among Bella Vista restaurants. Grilled kebabs, biryani, family platters at Sky City."},{property:"og:url",content:"https://kebabiya.com.au/bella-vista-restaurants"},{property:"og:type",content:"website"}],links:[{rel:"canonical",href:"https://kebabiya.com.au/bella-vista-restaurants"}],scripts:[{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"Restaurant",name:"Kebabiya — Bella Vista Restaurants",url:"https://kebabiya.com.au/bella-vista-restaurants",telephone:"+61288247944",servesCuisine:["Indian","North Indian","Mughlai","Kebabs","Biryani","Halal"],priceRange:"$$",acceptsReservations:"True",address:{"@type":"PostalAddress",streetAddress:"Sky City L1 A115, 20 Lexington Drive",addressLocality:"Bella Vista",addressRegion:"NSW",postalCode:"2153",addressCountry:"AU"},aggregateRating:{"@type":"AggregateRating",ratingValue:"4.2",reviewCount:"2000"},hasMenu:"https://kebabiya.com.au/menu"})},{type:"application/ld+json",children:JSON.stringify(ot(kK))}]}),component:le(pV,"component")}),yV=()=>ce(()=>import("./best-indian-restaurant-bella-vista-ByBOzUQj.js"),[]),gV=se()({head:()=>({meta:[{title:"Best Indian Restaurant in Bella Vista | Kebabiya"},{name:"description",content:"4.2 stars across 2,000+ reviews. Ten years at Sky City. Grilled kebabs, sealed-pot biryani and Sydney's most-shared sharing platters."},{name:"keywords",content:"best indian restaurant bella vista, top indian restaurant bella vista, best indian food bella vista, best biryani bella vista, best kebabs bella vista, best indian sydney hills"},{property:"og:title",content:"Best Indian Restaurant in Bella Vista · Kebabiya"},{property:"og:description",content:"4.2★ from 2,000+ reviews. A decade at Sky City. Grilled kebabs, biryani, sharing platters."},{property:"og:url",content:"https://kebabiya.com.au/best-indian-restaurant-bella-vista"},{property:"og:type",content:"website"}],links:[{rel:"canonical",href:"https://kebabiya.com.au/best-indian-restaurant-bella-vista"}],scripts:[{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"Restaurant",name:"Kebabiya — Best Indian Restaurant in Bella Vista",url:"https://kebabiya.com.au/best-indian-restaurant-bella-vista",telephone:"+61288247944",servesCuisine:["Indian","Mughlai","Kebabs","Biryani"],priceRange:"$$",address:{"@type":"PostalAddress",streetAddress:"Sky City L1 A115, 20 Lexington Drive",addressLocality:"Bella Vista",addressRegion:"NSW",postalCode:"2153",addressCountry:"AU"},aggregateRating:{"@type":"AggregateRating",ratingValue:"4.2",reviewCount:"2000"},hasMenu:"https://kebabiya.com.au/menu"})}]}),component:le(yV,"component")}),W_=[{rank:1,name:"Kebabiya",cuisine:"North Indian · Kebabs · Biryani",price:"$$",suburb:"Bella Vista (Sydney Hills)",address:"Sky City L1 A115, 20 Lexington Drive",best:"Best for live-fire kebabs, sealed-pot biryani and big family sharing dinners",body:"Ten years at Sky City, 2,000+ reviews averaging 4.4 stars, 100% halal-sourced from certified suppliers. The kitchen is built around a live-fire tandoor — 24-hour marinated tandoori chicken, hand-minced lamb seekh, malai tikka — with sealed-pot Hyderabadi, Sindhi and Awadhi biryani. The signature sharing platter lands down the centre of the table and feeds four to six. Free undercover parking, fully licensed with the exclusive Sharabiya house lager, and BYO wine welcomed.",internal:{to:"/menu",label:"See the full menu"}},{rank:2,name:"Don's Restaurant",cuisine:"North Indian · Fine dining",price:"$$$",suburb:"Wentworthville",address:"70 Station Street",best:"Best fine-dining Indian in Western Sydney",body:"A Wentworthville institution. White tablecloths, a serious wine list, and a menu that treats North Indian classics with restraint. Book ahead for anniversaries and milestone birthdays — the room fills every weekend."},{rank:3,name:"Aki's",cuisine:"Modern Indian · Coastal",price:"$$$$",suburb:"Woolloomooloo",address:"Finger Wharf, Cowper Wharf Roadway",best:"Best waterfront Indian in the CBD",body:"On the Woolloomooloo finger wharf, with a menu that leans coastal — Goan, Keralan, Mangalorean seafood alongside the North Indian standards. One of the few Indian rooms in Sydney where the setting matches the plating."},{rank:4,name:"Manjit's at the Wharf",cuisine:"Modern Indian",price:"$$$",suburb:"Pyrmont",address:"Pyrmont Bay Wharf",best:"Best-known modern Indian in Sydney",body:"Manjit Gujral's flagship. Harbour views, a set-menu approach that suits groups, and a kitchen that has been shaping Sydney's Indian dining scene for two decades. Reliable for corporate dinners."},{rank:5,name:"Chatkazz",cuisine:"Indian · Vegetarian street food",price:"$$",suburb:"Harris Park",address:"Wigram Street",best:"Best vegetarian Indian street food",body:"The room in Harris Park's Little India strip that most Indian families point outsiders to first. Pav bhaji, dosa, chaat, Indo-Chinese — all vegetarian, all done properly, all priced for a weeknight."},{rank:6,name:"Billu's Indian Eatery",cuisine:"North Indian · Casual",price:"$$",suburb:"Harris Park",address:"Wigram Street",best:"Best late-night Indian in Sydney",body:"Open late, always busy, always loud. Butter chicken, garlic naan, and a queue out the door on Friday nights. If you're eating Indian at 10pm on a weekend, this is where the Indian diaspora goes."},{rank:7,name:"Maya Da Dhaba",cuisine:"Punjabi",price:"$$",suburb:"Surry Hills",address:"431 Cleveland Street",best:"Best Punjabi in the inner city",body:"A Cleveland Street stayer. Sizzling paneer, dhaba-style curries, and the kind of daal that reminds you of a north Indian home kitchen. Casual, cash-friendly, no fuss."},{rank:8,name:"Nilgiri's",cuisine:"South Indian",price:"$$$",suburb:"Neutral Bay",address:"Military Road",best:"Best South Indian on the North Shore",body:"Ajoy Joshi's Nilgiri's has been on Military Road for over 20 years. Kerala fish curry, Chettinad prawns, dosa done the way it should be. A rare North Shore Indian that treats regional cooking seriously."},{rank:9,name:"Malabar",cuisine:"South Indian · Keralan",price:"$$",suburb:"Crows Nest",address:"Willoughby Road",best:"Best Keralan seafood",body:"Coconut, 
116curry leaves, and a menu that reads like a South Indian home cook's playbook. Regulars order the meen moilee, appam, and any prawn dish on the specials."},{rank:10,name:"Maharajas Lakeside",cuisine:"North Indian",price:"$$",suburb:"Norwest",address:"Norwest Lake",best:"Best lakeside Indian in the Hills",body:"Curry-led Indian menu with one of the better outdoor settings in the Sydney Hills, right on the Norwest lake walk. A solid alternative when Kebabiya is booked out."}],bV=[{q:"What's the best Indian restaurant in Sydney?",a:"It depends on the night. For live-fire kebabs, sealed-pot biryani and family sharing dinners, Kebabiya at Sky City Bella Vista (4.4★, 2,000+ reviews, 10 years). For fine dining, Don's in Wentworthville or Aki's in Woolloomooloo. For late-night, Billu's in Harris Park. Full ranking above."},{q:"Where do Indian families in Sydney actually eat?",a:"Harris Park's Wigram Street strip (Chatkazz, Billu's, Not Just Curries) for casual and street food; Kebabiya in Bella Vista for kebabs, biryani and family occasions; Don's in Wentworthville for fine dining; Manjit's at the Wharf for corporate. Most families rotate through this shortlist."},{q:"Best Indian restaurant in Sydney for a large group or family occasion?",a:"Kebabiya's signature sharing platter feeds four to six and the room handles tables of twelve comfortably with notice — free parking at Sky City makes multi-car family bookings easy. Manjit's set menus also handle groups well."},{q:"Best halal Indian restaurant in Sydney?",a:"Kebabiya is 100% halal-sourced from certified suppliers, end to end. Because the restaurant is fully licensed and serves alcohol, it isn't formally halal-certified, but the kitchen protocol is halal-only. Billu's and Chatkazz in Harris Park are also popular halal choices."},{q:"Best Indian restaurant in Sydney for kebabs?",a:"Kebabiya is built around a live-fire tandoor — 24-hour marinated tandoori chicken, hand-minced lamb seekh, malai tikka, chapli, reshmi. That's the entire reason it exists, and no other Indian restaurant in Sydney runs its menu around the grill the same way."},{q:"Best Indian restaurant in Sydney for biryani?",a:"Kebabiya serves sealed-pot Hyderabadi, Sindhi and Awadhi biryani cooked in the dum style — sealed and finished on low heat. For a more casual biryani plate, Chatkazz in Harris Park is the go-to."},{q:"Best cheap Indian eats in Sydney?",a:"Harris Park is Sydney's Little India — Chatkazz, Billu's, Not Just Curries all sit under $25 a plate. Kebabiya's weekday lunch menu at Sky City is the value pick in the Hills District."},{q:"Best Indian restaurant in Sydney open late?",a:"Billu's in Harris Park is the diaspora's late-night default. Kebabiya runs to 10pm seven days at Sky City Bella Vista."}],vV=()=>ce(()=>import("./best-indian-restaurant-sydney-B8uSOCRO.js"),[]),wV={"@context":"https://schema.org","@type":"ItemList",name:"Best Indian Restaurants in Sydney",itemListOrder:"https://schema.org/ItemListOrderAscending",numberOfItems:W_.length,itemListElement:W_.map(e=>({"@type":"ListItem",position:e.rank,item:{"@type":"Restaurant",name:e.name,servesCuisine:e.cuisine,priceRange:e.price,address:{"@type":"PostalAddress",streetAddress:e.address,addressLocality:e.suburb.replace(/\s*\(.*\)\s*/,""),addressRegion:"NSW",addressCountry:"AU"}}}))},SV={"@context":"https://schema.org","@type":"Article",headline:"Best Indian Restaurants in Sydney (2026) — A Local's Ranked Guide",author:{"@type":"Organization",name:"Kebabiya"},publisher:{"@type":"Organization",name:"Kebabiya"},datePublished:"2026-07-08",dateModified:"2026-07-08",mainEntityOfPage:"https://kebabiya.com.au/best-indian-restaurant-sydney"},kV=se()({head:()=>({meta:[{title:"Best Indian Restaurants in Sydney (2026) | Ranked Local's Guide"},{name:"description",content:"The 10 best Indian restaurants in Sydney, ranked by a 10-year local operator. Kebabs, biryani, fine dining, Harris Park street food, halal. Addresses, what to order and who each place is for."},{name:"keywords",content:"best indian restaurant sydney, best indian restaurants sydney, top indian restaurants sydney, best indian food sydney, halal indian restaurant sydney, best biryani sydney, best kebabs sydney"},{property:"og:title",content:"Best Indian Restaurants in Sydney (2026)"},{property:"og:description",content:"Ranked by a 10-year Sydney Indian restaurant operator. Kebabs, biryani, fine dining, Harris Park, halal — what to order and who each place is for."},{property:"og:url",content:"https://kebabiya.com.au/best-indian-restaurant-sydney"},{property:"og:type",content:"article"}],links:[{rel:"canonical",href:"https://kebabiya.com.au/best-indian-restaurant-sydney"}],scripts:[{type:"application/ld+json",children:JSON.stringify(SV)},{type:"application/ld+json",children:JSON.stringify(wV)},{type:"application/ld+json",children:JSON.stringify(ot(bV))}]}),component:le(vV,"component")}),Y_=[{rank:1,name:"Seekh Patiala Shahi",meat:"Lamb mince · hand-chopped",origin:"Patiala, Punjab",best:"Best lamb seekh in Bella Vista",body:"Lamb chopped twice by hand on a wooden block — never machine-minced — kneaded with royal cumin (shahi jeera), fresh mint and fenugreek. Moulded onto the skewer in front of the tandoor. The fat stays in chunks, melts into the meat as it cooks, bastes from the inside. The seekh you order when you want to taste what seekh is supposed to taste like."}
116,{rank:2,name:"Lamb Chops (Barrah Kebab)",meat:"Lamb · French-trimmed",origin:"Old Delhi",best:"Best lamb kebab on the bone",body:"French-trimmed cutlets marinated 24 hours in yoghurt, ginger, garlic and a half-dozen spices ground that week. Fired golden in the tandoor, finished over coals. Pink in the middle, charred at the edges. Order with mint chutney and burnt-onion salad."},{rank:3,name:"Tandoori Chicken",meat:"Chicken · on the bone",origin:"Punjab",best:"Best classic tandoori in Sydney's Hills",body:"Yoghurt and spice marinade overnight, skewered through and dropped into a 450°C clay tandoor. Smoky, juicy, that unmistakable saffron-red crust. The dish every Indian grill is judged by — and the one regulars order for the table every single visit."},{rank:4,name:"Malai Tikka",meat:"Chicken thigh",origin:"Mughal kitchens",best:"Best creamy kebab",body:"Boneless chicken thigh marinated in cream, cheese, white pepper and green cardamom. No turmeric, no chilli powder — almost ivory off the skewer. The kebab to introduce someone who thinks they don't like Indian food."},{rank:5,name:"Peshawri Kebab",meat:"Lamb · boneless cubes",origin:"Peshawar, Pakistan",best:"Best kebab for big-bite eaters",body:"Bigger pieces of lamb marinated in yoghurt, chickpea flour and fenugreek — Peshawar's signature. Gentler spice than the seekh, deeper char. Built for tearing into."},{rank:6,name:"Galouti Kebab",meat:"Lamb · ultra-fine mince",origin:"Lucknow (Awadhi)",best:"Best melt-in-mouth kebab",body:"The Lucknow legend. Lamb pounded to a paste with raw papaya and 30+ spices, then pan-finished on the iron. So tender it melts before you chew. Served on a warm sheermal."},{rank:7,name:"Chapli Kebab",meat:"Lamb mince · patties",origin:"Khyber Pakhtunkhwa",best:"Best Pathan-style kebab",body:"Pathan-style flat patty seared on the grill — coriander seed, pomegranate, green chilli, tomato folded through the mince. Crisp edges, soft middle. Eat with raw onion and a squeeze of lime."},{rank:8,name:"Shami Kebab",meat:"Lamb mince + chana",origin:"Mughal courts",best:"Best soft kebab starter",body:"Minced lamb slow-cooked with chickpeas and whole spices, ground smooth, pan-fried in ghee. Soft, deep-flavoured, the cousin of seekh. Best on a small plate at the start of a long meal."},{rank:9,name:"Paneer Tikka (Achaari)",meat:"Paneer · vegetarian",origin:"Punjab",best:"Best vegetarian kebab",body:"House
116-pressed paneer cubes lacquered with achaari (pickle) masala — mustard, fennel, nigella — pulled smoking from the tandoor. The vegetarian order that the meat-eaters fight over."},{rank:10,name:"Veg Seekh Kebab",meat:"Vegetable + paneer",origin:"House",best:"Best veg seekh",body:"Garden vegetables and soft paneer bound with aromatic spices, moulded onto skewers, grilled. The seekh for the table's vegetarian — same fire, same char, same skewer treatment."}],_V=[{q:"What are the best kebabs in Bella Vista?",a:"Kebabiya at Sky City. Ten years on a live-fire tandoor, hand-minced seekh, 24-hour-marinated lamb chops, and a 4.2-star average across 2,000+ reviews. Order the seekh, the lamb chops and the malai tikka together — that's the kebab platter Bella Vista regulars build."},{q:"What's the best Indian kebab to order?",a:"If it's your first visit: Seekh Patiala Shahi (the signature lamb seekh), lamb chops, and malai tikka. That trio shows you the full range of the live grill — minced, on-the-bone, and creamy — for under $50."},{q:"Do you make kebabs over real fire?",a:"Yes. We run a live coal-fired tandoor and live grill — same setup since 2014. Most Indian kitchens in the Hills run gas because it's cleaner and faster; fire gives the char and smoke flavour gas can't."},{q:"Are your kebabs halal?",a:"Every meat kebab on the menu is halal-sourced from certified suppliers. Lamb is sourced from the Riverina, chicken from a long-standing NSW supplier we've used a decade. The restaurant is fully licensed so it isn't formally Halal-certified, but the kitchen is 100% halal-sourced."},{q:"Do you have vegetarian kebabs?",a:"Three: Veg Seekh, Paneer Tikka (Achaari) and Paneer Malai. Same skewers, same fire, same char. Vegetarians never get left out at the kebab platter."},{q:"Can I order kebabs for delivery in Bella Vista, Norwest or Castle Hill?",a:"Yes — kebabs travel well in the right packaging. We deliver across Bella Vista, Norwest, Baulkham Hills, Castle Hill, Kellyville and Rouse Hill via Uber Eats, DoorDash and Menulog."},{q:"What's the difference between a seekh kebab and a shami kebab?",a:"Seekh is hand-minced lamb pressed onto a skewer and cooked over fire — smoky, chunky-textured. Shami is slow-cooked minced lamb with chickpeas, ground smooth, pan-fried in ghee — soft, dense, deep-flavoured. Both are on our menu."},{q:"What kebab platter feeds a group?",a:"Our signature sharing platter combines seekh, lamb chops, tandoori chicken, malai tikka and paneer tikka with naan, rice and chutneys. Feeds four to six hungry adults. Pre-order for groups of eight or more."}],xV=()=>ce(()=>import("./best-kebabs-bella-vista-BKALvxGk.js"),[]),EV={"@context":"https://schema.org","@type":"ItemList",name:"Best Kebabs at Kebabiya Bella Vista",itemListOrder:"https://schema.org/ItemListOrderAscending",numberOfItems:Y_.length,itemListElement:Y_.map(e=>({"@type":"ListItem",position:e.rank,item:{"@type":"MenuItem",name:e.name,description:e.body}}))},RV={"@context":"https://schema.org","@type":"Restaurant",name:"Kebabiya — Best Kebabs in Bella Vista",url:"https://kebabiya.com.au/best-kebabs-bella-vista",telephone:"+61288247944",servesCuisine:["Indian","Kebabs","Tandoori","Mughlai","Halal"],priceRange:"$$",address:{"@type":"PostalAddress",streetAddress:"Sky City L1 A115, 20 Lexington Drive",addressLocality:"Bella Vista",addressRegion:"NSW",postalCode:"2153",addressCountry:"AU"},aggregateRating:{"@type":"AggregateRating",ratingValue:"4.2",reviewCount:"2000"}},CV={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Home",item:"https://kebabiya.com.au/"},{"@type":"ListItem",position:2,name:"Bella Vista",item:"https://kebabiya.com.au/indian-restaurant-bella-vista"},{"@type":"ListItem",position:3,name:"Best Kebabs",item:"https://kebabiya.com.au/best-kebabs-bella-vista"}]},AV=se()({head:()=>({meta:[{title:"Best Kebabs in Bella Vista (2026) | Kebabiya"},{name:"description",content:"The 10 best kebabs in Bella Vista — hand-minced lamb seekh, 24-hour-marinated lamb chops, tandoori chicken and malai tikka. Live fire, 4.2★ from 2,000+ reviews."},{name:"keywords",content:"best kebabs bella vista, best indian kebabs bella vista, best seekh kebab bella vista, best lamb kebab bella vista, kebabs norwest, kebabs hills district, tandoori chicken bella vista, malai tikka sydney"},{property:"og:title",content:"Best Kebabs in Bella Vista (2026)"},{property:"og:description",content:"Hand-minced seekh, 24-hour-marinated chops, real fire — the Bella Vista kebab order, ranked."},{property:"og:url",content:"https://kebabiya.com.au/best-kebabs-bella-vista"},{property:"og:type",content:"article"}],links:[{rel:"canonical",href:"https://kebabiya.com.au/best-kebabs-bella-vista"}],scripts:[{type:"application/ld+json",children:JSON.stringify(RV)},{type:"application/ld+json",children:JSON.stringify(EV)},{type:"application/ld+json",children:JSON.stringify(CV)},{type:"application/ld+json",children:JSON.stringify(ot(_V))}]}),component:le(xV,"component")}),J_=[{rank:1,name:"Seekh Patiala Shahi (Lamb Seekh)",style:"North Indian · Punjab",best:"Best Indian seekh kebab in Sydney",body:"Hand-minced lamb seasoned with royal cumin, fresh mint and fenugreek, moulded onto a skewer in front of the tandoor. Chunky texture, deep smoke, the kebab Patiala built its reputation on. At Kebabiya Bella Vista since 2014."}
116,{rank:2,name:"Lamb Chops (Barrah Kebab)",style:"Old Delhi",best:"Best lamb kebab in Sydney",body:"French-trimmed cutlets marinated 24 hours in yoghurt and ground spice, finished in the tandoor. Pink centre, charred edge, rendered fat. Sydney's best Indian lamb chop comes off a coal fire, not a gas grill."},{rank:3,name:"Tandoori Chicken",style:"Punjab · classic",best:"Best tandoori in Sydney's Hills District",body:"Marinated overnight in yoghurt and a half-dozen spices, dropped into a 450°C clay tandoor. The benchmark kebab every Indian kitchen is measured against. We've been measured 2,000+ times and average 4.2 stars."},{rank:4,name:"Malai Tikka",style:"Mughlai",best:"Best creamy kebab in Sydney",body:"Boneless chicken thigh in cream, cheese, white pepper and green cardamom. No chilli, no turmeric — almost ivory off the skewer. The kebab you order for someone who thinks they don't like Indian food."},{rank:5,name:"Galouti Kebab",style:"Lucknow · Awadhi",best:"Best melt-in-mouth kebab in Sydney",body:"Lamb pounded to a paste with raw papaya and 30+ spices, pan-finished. So tender it melts before you chew. Rare on Sydney menus and the dish to seek out at Kebabiya Bella Vista."},{rank:6,name:"Peshawri Kebab",style:"Khyber Pakhtunkhwa",best:"Best Pakistani-style kebab",body:"Boneless lamb cubes in yoghurt, chickpea flour and fenugreek. Bigger pieces, gentler spice than the seekh, deep char. Peshawar's most-eaten kebab, on the Bella Vista menu since day one."},{rank:7,name:"Chapli Kebab",style:"Pathan · NWFP",best:"Best flat-patty kebab",body:"Coriander seed, pomegranate, green chilli and tomato folded through lamb mince, seared on the iron. Crisp edges, soft middle. Eat with raw onion and lime."},{rank:8,name:"Shami Kebab",style:"Mughal courts",best:"Best soft kebab starter",body:"Minced lamb slow-cooked with chickpeas and whole spices, ground smooth, pan-fried in ghee. The cousin of seekh — soft, dense, deeply flavoured. A great first course."}],TV=[{q:"Where do you get the best Indian kebabs in Sydney?",a:"Kebabiya in Bella Vista (North-West Sydney, Hills District). Live coal-fired tandoor since 2014, hand-minced seekh, 24-hour-marinated lamb chops, 4.2-star average across 2,000+ reviews."},{q:"What's the best kebab to order at an Indian restaurant in Sydney?",a:"If you can only pick three: a lamb seekh (Patiala or Peshawri), lamb chops on the bone, and a malai tikka. Together those three show you the full range of an Indian grill — minced, on-the-bone, and creamy."},{q:"Are Indian kebabs the same as Turkish or Lebanese kebabs?",a:"No. Indian kebabs come from the Mughal-era kitchens of Lucknow, Delhi, Lahore and Peshawar. They're cooked in a clay tandoor at 450°C+ or on coals — not a vertical rotisserie. The marinades are yoghurt and spice, not garlic-yoghurt-and-lemon, and the meat is usually skewered, not stacked."},{q:"What's the best Indian kebab restaurant near North-West Sydney?",a:"Kebabiya in Bella Vista, on the Metro line and 15 minutes from Castle Hill, Baulkham Hills, Kellyville and Rouse Hill. Free parking, 100% halal-sourced kitchen, fully licensed."},{q:"Are your kebabs halal?",a:"Every meat kebab on the menu is halal-sourced from certified suppliers. Lamb from the Riverina, chicken from a long-standing NSW supplier. The restaurant is fully licensed so it isn't formally Halal-certified, but the kitchen is 100% halal-sourced."},{q:"Do you do kebab platters for groups?",a:"Yes. The signature sharing platter combines seekh, lamb chops, tandoori chicken, malai tikka and paneer tikka with naan, rice and chutneys. Feeds four to six. Larger group platters available with notice."}],OV=()=>ce(()=>import("./best-kebabs-sydney-ClB6TQaO.js"),[]),NV={"@context":"https://schema.org","@type":"ItemList",name:"Best Indian Kebabs in Sydney",itemListOrder:"https://schema.org/ItemListOrderAscending",numberOfItems:J_.length,itemListElement:J_.map(e=>({"@type":"ListItem",position:e.rank,item:{"@type":"MenuItem",name:e.name,description:e.body}}))},DV={"@context":"https://schema.org","@type":"Restaurant",name:"Kebabiya — Indian Kebabs Sydney",url:"https://kebabiya.com.au/best-kebabs-sydney",telephone:"+61288247944",servesCuisine:["Indian","Kebabs","Tandoori","Mughlai","Halal"],priceRange:"$$",address:{"@type":"PostalAddress",streetAddress:"Sky City L1 A115, 20 Lexington Drive",addressLocality:"Bella Vista",addressRegion:"NSW",postalCode:"2153",addressCountry:"AU"},aggregateRating:{"@type":"AggregateRating",ratingValue:"4.2",reviewCount:"2000"}},IV={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Home",item:"https://kebabiya.com.au/"},{"@type":"ListItem",position:2,name:"Sydney Kebab Guide",item:"https://kebabiya.com.au/best-kebabs-sydney"}]},PV=se()({head:()=>({meta:[{title:"Best Indian Kebabs in Sydney (2026) | Kebabiya Bella Vista"},{name:"description",content:"Sydney's best Indian kebabs, ranked. Hand-minced lamb seekh, Old-Delhi lamb chops, Lucknow galouti, malai tikka — live-fire tandoor at Kebabiya Bella Vista since 2014."},{name:"keywords",content:"best indian kebabs sydney, best kebabs sydney, best lamb kebab sydney, best seekh kebab sydney, best tandoori sydney, indian grill sydney, mughlai sydney, kebabs north west sydney, kebabs hills district"},{property:"og:title",content:"Best Indian Kebabs in Sydney (2026)"},{property:"og:description",content:"Hand-minced seekh, 24-hour lamb chops, real fire. The Sydney Indian-kebab order, ranked by what they're best at."},{property:"og:url",content:"https://kebabiya.com.au/best-kebabs-sydney"},{property:"og:type",content:"article"}],links:[{rel:"canonical",href:"https://kebabiya.com.au/best-kebabs-sydney"}],scripts:[{type:"application/ld+json",children:JSON.stringify(DV)},{type:"application/ld+json",children:JSON.stringify(NV)},{type:"application/ld+json",children:JSON.stringify(IV)},{type:"application/ld+json",children:JSON.stringify(ot(TV))}]}),component:le(OV,"component")}),Q_=[{rank:1,name:"Kebabiya",cuisine:"Indian · Kebabs · Biryani",price:"$$",address:"Sky City L1 A115, 20 Lexington Drive",best:"Best for groups, family dinners, big-occasion sharing platters",body:"Ten years at Sky City, 2,000+ reviews averaging 4.2 stars, fully halal end-to-e
116nd. The menu is built around a live-fire tandoor — tandoori chicken marinated 24 hours, hand-minced lamb seekh, malai tikka — backed by sealed-pot Hyderabadi, Sindhi and Awadhi biryani. The signature sharing platter lands down the centre of the table and feeds four to six. Free undercover parking, fully licensed, BYO wine, smart-casual.",internal:{to:"/indian-restaurant-bella-vista",label:"See the Bella Vista menu"}},{rank:2,name:"Ciel Restaurant",cuisine:"Modern Australian · Fine dining",price:"$$$$",address:"Norwest Quarter, Bella Vista",best:"Best for special-occasion fine dining",body:"The most ambitious kitchen in the postcode. Tasting menus, intricate plating, a serious wine list. Book well ahead for anniversaries and milestone birthdays."},{rank:3,name:"Sarino's",cuisine:"Italian",price:"$$$",address:"Norwest Marketown",best:"Best Italian in Bella Vista",body:"House-made pasta, wood-fired pizza, the kind of room that fills with family tables on a Saturday night. The carbonara and the lamb ragu are the orders to beat."},{rank:4,name:"Italian Street Kitchen",cuisine:"Italian · Casual",price:"$$",address:"Norwest Marketown",best:"Best for casual mid-week Italian",body:"Reliable, fast, kid-friendly. Pizza out of a real oven, pasta priced for a Tuesday. The go-to when you don't want to think about it."},{rank:5,name:"Trevi",cuisine:"Italian · Pizza",price:"$$",address:"Bella Vista",best:"Best wood-fired pizza",body:"Neapolitan-leaning pies, charred edges, simple toppings done properly. Small room, busy Friday nights."},{rank:6,name:"Zac's Great Food",cuisine:"Lebanese · Mediterranean",price:"$$",address:"Bella Vista",best:"Best for grills and mezze",body:"A Bella Vista institution. Whole charcoal chickens, mixed grills, mezze platters built for sharing. Takeaway queue out the door at 6pm on weekends — for good reason."},{rank:7,name:"Coco Cafe & Restaurant",cuisine:"All-day · Brunch",price:"$$",address:"Bella Vista",best:"Best brunch and weekend cafe",body:"The brunch room in Norwest. Big breakfasts, good coffee, all-day menu that bridges into a casual dinner. Walk-ins absorb the lake-walk crowd on Sunday."},{rank:8,name:"Maharajas Lakeside",cuisine:"Indian",price:"$$",address:"Norwest Lake",best:"Best lakeside dinner",body:"Curry-led Indian menu with one of the better outdoor settings in the Hills, right on the lake walk. A solid alternative if you've already done Kebabiya this month."},{rank:9,name:"The Bavarian",cuisine:"German · Pub",price:"$$",address:"Norwest Quarter",best:"Best for big group pub dinners",body:"Pork knuckle, schnitzels by the metre, steins. Booth seating, sport on the screens, easy to land twelve people on a Friday without a reservation drama."},{rank:10,name:"Quest Bella Vista (Restaurant)",cuisine:"Modern Australian · Hotel dining",price:"$$",address:"Lexington Drive, Bella Vista",best:"Best for a quiet weekday dinner",body:"Quietly competent hotel dining. Useful when you're after a calm room and a short menu without committing to fine dining prices."}],jV=[{q:"What's the best restaurant in Bella Vista?",a:"It depends on the night. For big-occasion sharing dinners and the most reviewed kitchen in the postcode, Kebabiya (4.2 stars, 2,000+ reviews, ten years at Sky City). For fine dining, Ciel. For Italian, Sarino's. The full local ranking is in the list above."},{q:"Where do Bella Vista locals actually eat?",a:"Locals rotate through a short list: Kebabiya for Indian and groups, Sarino's or Italian Street Kitchen for Italian, Zac's for charcoal grills, Coco for brunch, and Ciel for special occasions. Most regulars have a Tuesday-night spot and a Saturday-night spot."},{q:"What's the best Indian restaurant in Bella Vista?",a:"Kebabiya. 4.2-star average across 2,000+ reviews, fully halal, built around a live-fire tandoor with sealed-pot biryani and family-sized sharing platters. Full breakdown on our Indian restaurant Bella Vista page."},{q:"Best Bella Vista restaurant for a large group?",a:"Kebabiya's signature sharing platter feeds four to six and the room handles tables of twelve comfortably with notice. The Bavarian and Sarino's also do groups well."},{q:"Best Bella Vista restaurant for a date?",a:"Ciel for occasion-level fine dining; Trevi or Sarino's for a relaxed Italian date; Maharajas Lakeside if you want a lake view."},{q:"Best Bella Vista restaurant for families with kids?",a:"Kebabiya (real kids' menu, highchairs, staff who know the regulars' kids), Italian Street Kitchen, and Coco are the three locals default to with children."},{q:"Best cheap eats in Bella Vista?",a:"Zac's for charcoal chicken and mezze, Italian Street Kitchen weekday lunch specials, and Kebabiya's weekday lunch menu at Sky City."},{q:"Best Bella Vista restaurant open late?",a:"Kebabiya runs to 10pm seven days. The Bavarian and Sarino's also serve late on weekends."}],LV=()=>ce(()=>import("./best-restaurants-bella-vista-CfZ6Ehq_.js"),[]),MV={"@context":"https://schema.org","@type":"ItemList",name:"Best Restaurants in Bella Vista",itemListOrder:"https://schema.org/ItemListOrderAscending",numberOfItems:Q_.length,itemListElement:Q_.map(e=>({"@type":"ListItem",position:e.rank,item:{"@type":"Restaurant",name:e.name,servesCuisine:e.cuisine,priceRange:e.price,address:{"@type":"PostalAddress",streetAddress:e.address,addressLocality:"Bella Vista",addressRegion:"NSW",postalCode:"2153",addressCountry:"AU"}}}))},BV=se()({head:()=>({meta:[{title:"Best Restaurants in Bella Vista (2026) | Local's Guide"},{name:"description",content:"The 10 best restaurants in Bella Vista, ranked by a 10-year local. Indian, Italian, fine dining, brunch, late-night. Addresses, what to order, who they're for."},{name:"keywords",content:"best restaurants bella vista, best restaurant bella vista, top restaurants bella vista, where to eat bella vista, bella vista restaurants, best places to eat bella vista nsw"},{property:"og:title",content:"Best Restaurants in Bella Vista (2026)"},{property:"og:description",content:"Ranked by a 10-year local. Indian, Italian, fine dining, brunch, late-night — what to order and who each place is for."},{property:"og:url",content:"https://kebabiya.com.au/best-restaurants-bella-vista"},{property:"og:type",content:"article"}],links:[{rel:"canonical",href:"https://kebabiya.com.au/best-restaurants-bella-vista"}],scripts:[{type:"application/ld+json",children:JSON.stringify(MV)},{type:"application/ld+json",children:JSON.stringify(ot(jV))}]}),component:le(LV,"component")}),$V=()=>ce(()=>import("./biryani-BzSqeBtH.js"),__vite__mapDeps([5,6])),zV=se()({head:()=>({meta:[{title:"Best Biryani in Sydney · Sealed-Pot Dum · Kebabiya Bella Vista"},{name:"description",content:"Looking for the best biryani near you in Sydney? Hand-pounded spices, aged basmati, sealed-pot dum — Hyderabadi, Awadhi, Nawabi and Sindhi lamb biryani at Kebabiya, Hills District."},{property:"og:title",content:"Best Biryani in Sydney · Kebabiya Bella Vista"},{property:"og:description",content:"Hyderabadi dum, Awadhi murgh, Nawabi tarkari, Sindhi lamb — sealed-pot biryani in Sydney's Hills District since 2014."},{property:"og:url",content:"https://kebabiya.com.au/biryani"},{property:"og:type",content:"website"}],links:[{rel:"canonical",href:"https://kebabiya.com.au/biryani"}],scripts:[{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"FAQPage",mainEntity:[{"@type":"Question",name:"Where can I find the best biryani in Sydney?",acceptedA
116nswer:{"@type":"Answer",text:"Kebabiya in Bella Vista has been serving sealed-pot dum biryani since 2014 and is one of the most recommended biryani destinations in Sydney's Hills District. Hyderabadi, Awadhi, Nawabi and Sindhi styles are all on the menu."}},{"@type":"Question",name:"What is dum biryani?",acceptedAnswer:{"@type":"Answer",text:"Dum biryani is a slow-cooked layered rice dish where marinated meat and aged basmati rice are sealed in a heavy pot with dough and finished over low heat, allowing the steam (dum) to infuse the rice with spice, saffron and meat juices."}},{"@type":"Question",name:"Do you do lamb biryani?",acceptedAnswer:{"@type":"Answer",text:"Yes — our Sindhi lamb biryani uses Riverina halal lamb, slow-cooked with whole spices and aged basmati. Available dine-in and for delivery across the Hills District."}},{"@type":"Question",name:"Can I order biryani for delivery?",acceptedAnswer:{"@type":"Answer",text:"Yes. Biryani is available for delivery across Norwest, Castle Hill, Kellyville, Baulkham Hills and Dural, plus Sydney-wide pickup from our Bella Vista restaurant."}}]})}]}),component:le($V,"component")}),HV=[{q:"Where can I find the best butter chicken in Sydney?",a:"Kebabiya Bella Vista has served butter chicken (murgh makhani) since 2014 using tandoor-charred chicken thigh and a from-scratch tomato-and-cashew gravy — the way it was first plated at Moti Mahal, Delhi in 1948."},{q:"Is your butter chicken authentic?",a:"Yes. We char boneless thigh in the coal tandoor first, then finish it in a gravy of hand-pounded tomato, cashew, cardamom, kasoori methi and butter — no pre-made base and no shortcut sauce."},{q:"Is your butter chicken halal?",a:"Every piece of chicken we cook is halal-sourced from certified suppliers, end-to-end since 2014. The venue is fully licensed, so not formally Halal-certified — but no non-halal meat crosses our pass."},{q:"How spicy is your butter chicken?",a:"Mild by default — the classic Delhi profile is sweet-savoury with a whisper of chilli. Ask your server for extra heat and the kitchen dials it up on the plate."},{q:"Can I get butter chicken delivered across Sydney?",a:"Order direct from kebabiya.com.au (no platform fees) or via Uber Eats and DoorDash. Butter chicken travels well and reheats cleanly on a low pan."}],UV=()=>ce(()=>import("./butter-chicken-sydney-BXUDvILE.js"),__vite__mapDeps([7,6])),El="https://kebabiya.com.au/butter-chicken-sydney",KV=se()({head:()=>({meta:[{title:"Best Butter Chicken in Sydney · Kebabiya Bella Vista"},{name:"description",content:"Tandoor-charred chicken thigh in a hand-pounded tomato-cashew gravy, finished with butter and kasoori methi. Sydney's Delhi-style murgh makhani since 2014."},{name:"keywords",content:"best butter chicken sydney, butter chicken sydney, murgh makhani sydney, butter chicken bella vista, butter chicken hills district, butter chicken delivery sydney, halal butter chicken sydney"},{property:"og:title",content:"Best Butter Chicken in Sydney · Kebabiya"},{property:"og:description",content:"Delhi 1948. Coal tandoor. From-scratch tomato-cashew gravy. Kebabiya Bella Vista, since 2014."},{property:"og:url",content:El},{property:"og:type",content:"website"}],links:[{rel:"canonical",href:El}],scripts:[{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"MenuItem",name:"Butter Chicken (Murgh Makhani)",description:"Tandoor-charred chicken thigh in a hand-pounded tomato-cashew gravy, finished with butter and kasoori methi.",url:El,menuAddOn:["Garlic Naan","Basmati Rice"],suitableForDiet:"https://schema.org/HalalDiet",offers:{"@type":"Offer",availability:"https://schema.org/InStock",priceCurrency:"AUD"}})},{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"Restaurant",name:"Kebabiya — Butter Chicken, Sydney",url:El,telephone:"+61288247944",servesCuisine:["Indian","North Indian","Mughlai"],priceRange:"$$",address:{"@type":"PostalAddress",streetAddress:"Sky City, Level 1, A115, 20 Lexington Drive",addressLocality:"Bella Vista",addressRegion:"NSW",postalCode:"2153",addressCountry:"AU"},aggregateRating:pn,sameAs:Gt,hasMenu:"https://kebabiya.com.au/menu"})},{type:"application/ld+json",children:JSON.stringify(ot(HV))},{type:"application/ld+json",children:JSON.stringify(dt([{name:"Home",url:"https://kebabiya.com.au/"},{name:"Curries",url:"https://kebabiya.com.au/indian-curries-sydney"},{name:"Butter Chicken",url:El}]))}]}),component:le(UV,"component")}),VV=se()({beforeLoad:()=>{throw On({to:"/menu",statusCode:301})}}),FV=()=>ce(()=>import("./catering-ByyDqyeW.js"),[]),qV=se()({component:le(FV,"component")}),GV=se()({beforeLoad:()=>{throw On({to:"/catering",statusCode:301})}}),WV=[{q:"Where can I find the best chicken tikka in Sydney?",a:"Kebabiya Bella Vista cooks chicken tikka in a coal-and-clay tandoor at 450°C — boneless thigh marinated overnight in y
116oghurt, ginger-garlic and roasted spice, skewered and cooked over live fire."},{q:"What's the difference between chicken tikka and tandoori chicken?",a:"Tandoori chicken is bone-in and typically plated whole or halved. Chicken tikka is boneless thigh cut into cubes and skewered — same tandoor, same marinade family, faster cook, more char per bite."},{q:"Is your chicken tikka halal?",a:"Yes — every piece of chicken we cook is halal-sourced from certified suppliers, end-to-end since 2014. The venue is fully licensed, so not formally Halal-certified, but no non-halal meat crosses our pass."},{q:"Is chicken tikka spicy?",a:"Medium warmth by default, more aromatic than hot. We also serve malai tikka for guests who want no chilli at all, and Achari tikka for guests who want the pickle-oil edge."},{q:"Can I get chicken tikka delivered?",a:"Order direct from kebabiya.com.au (no platform fees) or via Uber Eats and DoorDash. Chicken tikka travels well — high-char, low-moisture, easy reheat."}],YV=()=>ce(()=>import("./chicken-tikka-sydney-DQ3DXYgD.js"),__vite__mapDeps([8,6])),Rl="https://kebabiya.com.au/chicken-tikka-sydney",JV=se()({head:()=>({meta:[{title:"Best Chicken Tikka in Sydney · Coal Tandoor · Kebabiya Bella Vista"},{name:"description",content:"Boneless chicken thigh in an overnight yoghurt-and-spice marinade, cooked over live coals in a 450°C clay tandoor. Sydney's Hills District chicken tikka since 2014."},{name:"keywords",content:"best chicken tikka sydney, chicken tikka sydney, tandoori chicken tikka sydney, chicken tikka bella vista, halal chicken tikka sydney, malai tikka sydney"},{property:"og:title",content:"Best Chicken Tikka in Sydney · Kebabiya"},{property:"og:description",content:"Overnight marinade. Coal tandoor. 450°C. Ten years of chicken tikka in Bella Vista."},{property:"og:url",content:Rl},{property:"og:type",content:"website"}],links:[{rel:"canonical",href:Rl}],scripts:[{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"MenuItem",name:"Chicken Tikka",description:"Boneless chicken thigh in an overnight yoghurt marinade, skewered and cooked in a 450°C coal tandoor.",url:Rl,suitableForDiet:"https://schema.org/HalalDiet",offers:{"@type":"Offer",availability:"https://schema.org/InStock",priceCurrency:"AUD"}})},{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"Restaurant",name:"Kebabiya — Chicken Tikka, Sydney",url:Rl,telephone:"+61288247944",servesCuisine:["Indian","Tandoor","North Indian"],priceRange:"$$",address:{"@type":"PostalAddress",streetAddress:"Sky City, Level 1, A115, 20 Lexington Drive",addressLocality:"Bella Vista",addressRegion:"NSW",postalCode:"2153",addressCountry:"AU"},aggregateRating:pn,sameAs:Gt,hasMenu:"https://kebabiya.com.au/menu"})},{type:"application/ld+json",children:JSON.stringify(ot(WV))},{type:"application/ld+json",children:JSON.stringify(dt([{name:"Home",url:"https://kebabiya.com.au/"},{name:"Kebabs",url:"https://kebabiya.com.au/indian-kebabs-sydney"},{name:"Chicken Tikka",url:Rl}]))}]}),component:le(YV,"component")}),QV=[{q:"Are you halal?",a:"Our meats are halal. Because we're licensed and serve alcohol, we are not Halal-certified — but the kitchen sources halal-only."},{q:"Are you BYO?",a:"Yes — BYO wine only. Corkage applies."},{q:"Do you cater?",a:"Yes. From office lunches to wedding banquets — see our catering page or call us directly."},{q:"Where do I park?",a:"Free parking on Levels B1 and B2 of Sky City. Lift access to Level 1."}],XV=()=>ce(()=>import("./contact-BkTfNsT_.js"),[]),ZV=se()({head:()=>({meta:[{title:"Contact & Hours | Kebabiya Bella Vista"},{name:"description",content:"Get in touch with Kebabiya Bella Vista. Address, phone, email, opening hours and social channels."},{property:"og:title",content:"Contact · Kebabiya"},{property:"og:description",content:"Address, phone, email and hours for Kebabiya Bella Vista, Sydney."}],links:[{rel:"canonical",href:"https://kebabiya.com.au/contact"}],scripts:[{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"Restaurant",name:"Kebabiya",url:"https://kebabiya.com.au/contact",telephone:"+61288247944",email:"[email protected]",servesCuisine:["Indian","Mughlai","Kebab","Biryani"],priceRange:"$$",acceptsReservations:"True",address:{"@type":"PostalAddress",streetAddress:"Sky City L1 A115, 20 Lexington Drive",addressLocality:"Bella Vista",addressRegion:"NSW",postalCode:"2153",addressCountry:"AU"},openingHoursSpecification:[{"@type":"OpeningHoursSpecification",dayOfWeek:["Tuesday","Wednesday","Thursday","Frid
116ay"],opens:"12:00",closes:"15:00"},{"@type":"OpeningHoursSpecification",dayOfWeek:["Monday","Tuesday","Wednesday","Thursday"],opens:"17:30",closes:"21:00"},{"@type":"OpeningHoursSpecification",dayOfWeek:"Friday",opens:"17:30",closes:"22:00"},{"@type":"OpeningHoursSpecification",dayOfWeek:"Saturday",opens:"12:00",closes:"22:00"},{"@type":"OpeningHoursSpecification",dayOfWeek:"Sunday",opens:"12:00",closes:"21:00"}]})},{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"FAQPage",mainEntity:QV.map(e=>({"@type":"Question",name:e.q,acceptedAnswer:{"@type":"Answer",text:e.a}}))})}]}),component:le(XV,"component")}),eF=se()({beforeLoad:()=>{throw On({to:"/contact",statusCode:301})}}),tF=()=>ce(()=>import("./decade-club-DpJhJOvE.js"),__vite__mapDeps([9,4])),nF=se()({head:()=>({meta:[{title:"The Decade Club — Kebabiya Loyalty | Bella Vista, Sydney"},{name:"description",content:"Join the Decade Club — early access to anniversary nights, menu previews and Kebabiya's next Sydney locations. Free, founding 100 members."},{property:"og:title",content:"The Decade Club · Kebabiya"},{property:"og:description",content:"Founding 100 patrons get early access to anniversary nights, new menus and our next Sydney locations."},{property:"og:url",content:"https://kebabiya.com.au/decade-club"}],links:[{rel:"canonical",href:"https://kebabiya.com.au/decade-club"}]}),component:le(tF,"component")}),aF=()=>ce(()=>import("./delivery-returns-CED-6gie.js"),[]),rF=se()({head:()=>({meta:[{title:"Delivery & Returns Policy | Kebabiya Bella Vista"},{name:"description",content:"Kebabiya Bella Vista delivery, refund and returns policy. Delivery via Uber Eats and DoorDash across the Hills District, Sydney."},{property:"og:title",content:"Delivery & Returns Policy | Kebabiya"},{property:"og:description",content:"How Kebabiya handles delivery, refunds and food quality issues for orders placed via Uber Eats and DoorDash."},{property:"og:url",content:"https://kebabiya.com.au/delivery-returns"}],links:[{rel:"canonical",href:"https://kebabiya.com.au/delivery-returns"}]}),component:le(aF,"component")}),iF="/assets/sharabiya-DR81fTXA.jpg",sF=()=>ce(()=>import("./drinks-CJ4_NmD3.js"),[]),oF=se()({head:()=>({meta:[{title:"Drinks, Cocktails & Sharabiya House Brew | Kebabiya"},{name:"description",content:"A creative bar built for spice. Sharabiya — our house lager designed to balance bold Indian kebabs — plus signature Kocktails, Mocktails and BYO wine."},{property:"og:title",content:"Drinks & Sharabiya · Kebabiya"},{property:"og:description",content:"Sharabiya house brew, signature Kocktails and Mocktails, BYO wine."},{property:"og:image",content:iF}],links:[{rel:"canonical",href:"https://kebabiya.com.au/drinks"}]}),component:le(sF,"component")}),lF=[{q:"Is Kebabiya halal?",a:"Every meat dish on our menu is halal-sourced from certified suppliers — chicken, lamb, mince, the lot. Because Kebabiya is fully licensed and serves alcohol, the restaurant itself does not qualify for formal Halal Certification, but the kitchen has been 100% halal-sourced end-to-e
116nd since we opened in 2014. No halal section, no halal-on-request."},{q:"Where is Kebabiya located?",a:"Sky City, Level 1, A115, 20 Lexington Drive, Bella Vista NSW 2153 — opposite the Hillsong Convention Centre, one block off Norwest Boulevard, four minutes from Bella Vista Metro."},{q:"Is there parking at Kebabiya?",a:"Yes. Free undercover parking at Sky City with a lift straight to Level 1. No street-parking lottery, no meters."},{q:"What are the opening hours?",a:"Lunch is served Tuesday to Friday from 12pm to 3pm. Dinner runs Monday to Thursday 5:30pm to 9pm, Friday 5:30pm to 10pm. Saturday 12pm to 10pm, Sunday 12pm to 9pm. Call +61 2 8824 7944 to confirm hours on public holidays."},{q:"Do I need to book a table?",a:"Walk-ins are welcome but Friday and Saturday nights fill quickly. Book online or call +61 2 8824 7944. Large groups (8+) should book at least three days ahead."},{q:"Do you cater to vegetarians and vegans?",a:"Yes. The menu has a full vegetarian section — paneer tikka, tarkari biryani, dal makhani, palak paneer, vegetable platters and tandoori vegetable skewers. Vegan and Jain options are available on request."},{q:"Is Kebabiya licensed? Can I BYO?",a:"Yes to both. We are fully licensed with cocktails, wine, beer and our house Sharabiya brews. BYO wine is accepted with a small corkage fee."},{q:"Do you do catering?",a:"Yes. Office lunches, family functions, weddings and corporate events across Greater Sydney. Mixed kebab trays, biryani by the kilo, naan bundles and full platter spreads. See the catering page or call us to plan a menu."},{q:"What is phone-free dining?",a:"Optional. Hand your phones to our team at the start of the meal and we will send you home with a small gift. The conversation gets better. The food tastes better. Try it once."},{q:"Do you have a kids menu?",a:"Yes. A proper kids menu with milder dishes, plus highchairs and crayons. We are a family restaurant — half our regulars have been bringing their kids since they were babies."},{q:"How do I get to Kebabiya from the CBD?",a:"About 30 minutes by car via the M2. By public transport, take the Metro to Bella Vista station (around 50 minutes from the city), then a 12-minute walk along Lexington Drive."},{q:"Does Kebabiya deliver?",a:"Yes. We are available on Uber Eats, DoorDash and Menulog across Bella Vista, Norwest, Castle Hill, Baulkham Hills, Kellyville and nearby suburbs. For large group orders call us directly."}],cF=()=>ce(()=>import("./faq-Cg9f5t26.js"),[]),uF=se()({head:()=>({meta:[{title:"FAQ | Kebabiya — Indian Restaurant Bella Vista"},{name:"description",content:"Frequently asked questions about Kebabiya — halal, parking, opening hours, bookings, catering, dietary options and phone-free dining at Sky City, Bella Vista."},{property:"og:title",content:"Frequently Asked Questions · Kebabiya"},{property:"og:description",content:"Halal, parking, hours, bookings, catering, vegan options — everything you need to know about Kebabiya Bella Vista."},{property:"og:url",content:"https://kebabiya.com.au/faq"},{property:"og:type",content:"website"}],links:[{rel:"canonical",href:"https://kebabiya.com.au/faq"}],scripts:[{type:"application/ld+json",children:JSON.stringify(ot(lF))}]}),component:le(cF,"component")}),dF=()=>ce(()=>import("./franchise-DHMuWnLE.js"),[]),hF=se()({head:()=>({meta:[{title:"Franchise & Partnership Opportunities | Kebabiya"},{name:"description",content:"Kebabiya is now expanding across Sydney. Partner with a 10-year-strong, 4.2★ Indian dining brand — register your interest."},{property:"og:title",content:"Franchise with Kebabiya"},{property:"og:description",content:"Now expanding across Sydney. Join a 10-year-strong Indian dining brand."}],links:[{rel:"canonical",href:"https://kebabiya.com.au/franchise"}]}),component:le(dF,"component")}),fF=()=>ce(()=>import("./gallery-tMo-p9EY.js"),__vite__mapDeps([10,11])),pF=se()({head:()=>({meta:[{title:"Gallery | Kebabiya Bella Vista, Sydney"},{name:"description",content:"Inside Kebabiya Bella Vista — platters, the bar, the room and a decade of family dining captured on camera."},{property:"og:title",content:"Kebabiya Gallery"},{property:"og:description",content:"Inside the room, the platters, the bar."}],links:[{rel:"canonical",href:"https://kebabiya.com.au/gallery"}]}
116),component:le(fF,"component")}),mF=[{q:"Where can I get the best garlic naan in Sydney?",a:"Kebabiya Bella Vista slaps every naan into a coal-and-clay tandoor to order. Garlic naan comes with fresh crushed garlic and coriander pressed into the dough before it hits the wall — never held on the pass."},{q:"How is naan cooked at Kebabiya?",a:"Traditionally. The dough is rolled by hand, wet on one side, and slapped directly onto the inside wall of a 450°C tandoor. Twenty to forty seconds later the naan is peeled off with a hook, brushed with ghee and sent straight to the table."},{q:"What naan varieties do you serve?",a:"Plain, butter, garlic, garlic-coriander, cheese, keema (spiced lamb), Kashmiri (nut and raisin), chilli-cheese and laccha paratha. Every one is tandoor-cooked to order."},{q:"Is your naan halal?",a:"Naan itself is a flour, yoghurt and yeast bread — inherently halal. Our keema (lamb) naan uses halal-sourced Riverina lamb. The venue is fully licensed and not formally Halal-certified, but every meat that touches our tandoor is halal-sourced."},{q:"Can I order naan for delivery?",a:"Yes, but naan is at its best straight from the tandoor. If you're ordering direct or via Uber Eats/DoorDash, we double-wrap so it stays soft. For events, we do bulk naan on request with catering."}],yF=()=>ce(()=>import("./garlic-naan-sydney-xvFch8EC.js"),__vite__mapDeps([12,6])),Cl="https://kebabiya.com.au/garlic-naan-sydney",gF=se()({head:()=>({meta:[{title:"Best Garlic Naan in Sydney · Tandoor-Baked · Kebabiya Bella Vista"},{name:"description",content:"Hand-rolled naan slapped straight onto a 450°C coal-and-clay tandoor wall. Garlic, cheese, keema, Kashmiri — all baked to order at Kebabiya Bella Vista."},{name:"keywords",content:"best garlic naan sydney, garlic naan sydney, naan bread sydney, tandoor naan sydney, keema naan sydney, cheese naan sydney, indian bread sydney, naan bella vista"},{property:"og:title",content:"Best Garlic Naan in Sydney · Kebabiya"},{property:"og:description",content:"Hand-rolled, slapped onto a live tandoor wall, brushed with ghee. Naan the way it should be."},{property:"og:url",content:Cl},{property:"og:type",content:"website"}],links:[{rel:"canonical",href:Cl}],scripts:[{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"MenuItem",name:"Garlic Naan",description:"Hand-rolled naan with fresh crushed garlic and coriander, baked to order on the wall of a 450°C coal-and-clay tandoor.",url:Cl,offers:{"@type":"Offer",availability:"https://schema.org/InStock",priceCurrency:"AUD"}})},{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"Restaurant",name:"Kebabiya — Garlic Naan, Sydney",url:Cl,telephone:"+61288247944",servesCuisine:["Indian","Tandoor","North Indian","Bakery"],priceRange:"$$",address:{"@type":"PostalAddress",streetAddress:"Sky City, Level 1, A115, 20 Lexington Drive",addressLocality:"Bella Vista",addressRegion:"NSW",postalCode:"2153",addressCountry:"AU"},aggregateRating:pn,sameAs:Gt,hasMenu:"https://kebabiya.com.au/menu"})},{type:"application/ld+json",children:JSON.stringify(ot(mF))},{type:"application/ld+json",children:JSON.stringify(dt([{name:"Home",url:"https://kebabiya.com.au/"},{name:"Tandoor",url:"https://kebabiya.com.au/tandoor-restaurant-sydney"},{name:"Garlic Naan",url:Cl}]))}]}),component:le(yF,"component")}),bF=()=>ce(()=>import("./gift-cards-P8KAbnIi.js"),__vite__mapDeps([13,14,15,16,17])),vF=se()({head:()=>({meta:[{title:"Gift Cards — Kebabiya | Indian Kebabs & Biryani, Bella Vista"},{name:"description",content:"Give the gift of Kebabiya. Digital and physical gift cards from $50 to $250+, redeemable in-restaurant for kebabs, biryanis, family platters and Sharabiya house brew."},{property:"og:title",content:"Kebabiya Gift Cards"},{property:"og:description",content:"Digital & physical gift cards from $50. Delivered by email or pick up in-store. Redeemable for dine-in at Kebabiya Bella Vista."},{property:"og:image",content:Dy},{property:"twitter:image",content:Dy}],links:[{rel:"canonical",href:"https://kebabiya.com.au/gift-cards"}]}),component:le(bF,"component")}),wF=()=>ce(()=>
116import("./halal-CwTU8aIn.js"),[]),SF=se()({head:()=>({meta:[{title:"Halal Indian Restaurant Bella Vista | Kebabiya"},{name:"description",content:"Halal Indian restaurant in Bella Vista — Riverina halal lamb, Steggles halal chicken, kebabs and biryani for Sydney's Hills District."},{name:"keywords",content:"halal Indian restaurant Sydney, halal Indian Bella Vista, halal food Hills District, halal kebabs Sydney, halal biryani, halal Norwest, halal Castle Hill, halal Kellyville, Steggles halal, Riverina halal lamb"},{property:"og:title",content:"Halal Indian Restaurant in Bella Vista · Kebabiya"},{property:"og:description",content:"Premium halal lamb from the Riverina, Steggles halal-certified chicken — halal kebabs, biryani and curries served across Sydney's Hills District."},{property:"og:type",content:"website"},{property:"og:url",content:"https://kebabiya.com.au/halal"},{name:"twitter:card",content:"summary_large_image"},{name:"twitter:title",content:"Halal Indian Restaurant in Bella Vista · Kebabiya"},{name:"twitter:description",content:"Premium halal lamb from the Riverina, Steggles halal-certified chicken — halal kebabs and biryani in Sydney's Hills District."}],links:[{rel:"canonical",href:"https://kebabiya.com.au/halal"}],scripts:[{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"Restaurant",name:"Kebabiya",servesCuisine:["Indian","Halal"],url:"https://kebabiya.com.au/halal",telephone:"+61288247944",priceRange:"$$",address:{"@type":"PostalAddress",streetAddress:"Sky City, Level 1, A115, 20 Lexington Drive",addressLocality:"Bella Vista",addressRegion:"NSW",postalCode:"2153",addressCountry:"AU"},hasMenu:"https://kebabiya.com.au/menu"})},{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"FAQPage",mainEntity:[{"@type":"Question",name:"Is Kebabiya halal?",acceptedAnswer:{"@type":"Answer",text:"Yes. All our lamb is sourced from certified halal suppliers in the Riverina region of NSW, and our chicken is Steggles halal-certified. Every dish is prepared to strict Islamic dietary principles."}},{"@type":"Question",name:"Is Kebabiya Halal Certified?",acceptedAnswer:{"@type":"Answer",text:"Kebabiya is a licensed premise with a bar onsite, so we do not qualify for formal Halal Certification. Our meats themselves remain halal-sourced and halal-prepared from certified suppliers."}},{"@type":"Question",name:"Where does Kebabiya source its halal lamb?",acceptedAnswer:{"@type":"Answer",text:"Our lamb comes from certified and trusted suppliers in the Riverina region of New South Wales — known for clean pastures and consistently tender cuts."}},{"@type":"Question",name:"What brand of halal chicken does Kebabiya use?",acceptedAnswer:{"@type":"Answer",text:"We use Steggles halal-certified chicken — one of Australia's most trusted poultry producers."}}]})}]}),component:le(wF,"component")}),kF=[{q:"Is Kebabiya 100% halal?",a:"Every meat dish is halal-sourced from certified suppliers — chicken, lamb, mince, all of it. The kitchen has been 100% halal-sourced end-to-e
116nd since 2014. Because Kebabiya is fully licensed and serves alcohol, the restaurant itself does not qualify for formal Halal Certification, but no meat crosses the pass that isn't from a certified halal supplier."},{q:"What halal Indian dishes do you serve?",a:"Fire-grilled kebabs (tandoori chicken, lamb seekh, malai tikka, chapli, galouti, lamb chops), dum-sealed biryanis (Hyderabadi chicken, Sindhi lamb, Awadhi murgh), slow-cooked curries (butter chicken, rogan josh, lamb korma, nihari), tandoor breads and family platters."},{q:"Where is the halal Indian restaurant?",a:"Sky City, Level 1, A115, 20 Lexington Drive, Bella Vista NSW 2153 — about 30 minutes from the Sydney CBD via the M2, four minutes from Bella Vista Metro."},{q:"Do you cater for Eid, mosque events and halal corporate functions?",a:"Yes. Catering covers the whole of Greater Sydney — Auburn, Lakemba, Bankstown, Parramatta, Liverpool, the Hills District. Mixed kebab trays, biryani by the kilo, full platter spreads. Call +61 2 8824 7944 to plan."},{q:"Are there other halal Indian restaurants in Sydney?",a:"A handful, mostly in Western Sydney. Kebabiya is the Hills District / Norwest option, and the only Sydney Indian restaurant built around a live-fire grill with a 100% halal-sourced kitchen."}],_F=()=>ce(()=>import("./halal-indian-restaurant-sydney-BTCYMOGD.js"),[]),xF=se()({head:()=>({meta:[{title:"Halal Indian Restaurant Sydney | Kebabiya"},{name:"description",content:"100% halal-sourced Indian restaurant in Sydney's North-West — grilled kebabs, dum biryani and slow-cooked curries at Sky City, Bella Vista. Meats from certified halal suppliers."},{name:"keywords",content:"halal indian restaurant sydney, halal indian bella vista, halal restaurant sydney hills, halal biryani sydney, halal kebabs sydney, halal indian norwest, halal indian castle hill"},{property:"og:title",content:"Halal Indian Restaurant · Sydney · Kebabiya"},{property:"og:description",content:"100% halal-sourced kitchen. Grilled kebabs, dum biryani, slow-cooked curries."},{property:"og:url",content:"https://kebabiya.com.au/halal-indian-restaurant-sydney"},{property:"og:type",content:"website"}],links:[{rel:"canonical",href:"https://kebabiya.com.au/halal-indian-restaurant-sydney"}],scripts:[{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"Restaurant",name:"Kebabiya — Halal Indian Restaurant Sydney",url:"https://kebabiya.com.au/halal-indian-restaurant-sydney",telephone:"+61288247944",servesCuisine:["Indian","Halal","Kebabs","Biryani","Mughlai"],priceRange:"$$",acceptsReservations:"True",address:{"@type":"PostalAddress",streetAddress:"Sky City L1 A115, 20 Lexington Drive",addressLocality:"Bella Vista",addressRegion:"NSW",postalCode:"2153",addressCountry:"AU"},areaServed:[{"@type":"Place",name:"Sydney"},{"@type":"Place",name:"Bella Vista"},{"@type":"Place",name:"Norwest"},{"@type":"Place",name:"Castle Hill"},{"@type":"Place",name:"Parramatta"}],aggregateRating:{"@type":"AggregateRating",ratingValue:"4.2",reviewCount:"2000"}})},{type:"application/ld+json",children:JSON.stringify(ot(kF))}]}),component:le(_F,"component")}),EF=()=>ce(()=>import("./indian-catering-bella-vista-BVuVugqs.js"),[]),RF=se()({head:()=>({meta:[{title:"Indian Catering Bella Vista & Sydney Hills | Kebabiya"},{name:"description",content:"Indian catering for Bella Vista, Norwest, Castle Hill and the Sydney Hills — corporate lunches, weddings, birthdays. Halal, vegetarian, Jain."},{name:"keywords",content:"indian catering bella vista, indian catering sydney hills, indian wedding catering sydney, indian corporate catering norwest, halal catering bella vista, biryani catering sydney, tandoor station catering"},{property:"og:title",content:"Indian Catering · Bella Vista & Sydney Hills · Kebabiya"},{property:"og:description",content:"Grilled kebabs, dum biryani and live tandoor stations for corporate, weddings and home parties."},{property:"og:url",content:"https://kebabiya.com.au/indian-catering-bella-vista"},{property:"og:type",content:"website"}],links:[{rel:"canonical",href:"https://kebabiya.com.au/indian-catering-bella-vista"}],scripts:[{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"FoodService",name:"Kebabiya Catering — Bella Vista",url:"https://kebabiya.com.au/indian-catering-bella-vista",telephone:"+61288247944",servesCuisine:["Indian","North Indian","Mughlai","Halal"],priceRange:"$$",address:{"@type":"PostalAddress",streetAddress:"Sky City L1 A115, 20 Lexington Drive",addressLocality:"Bella Vista",addressRegion:"NSW",postalCode:"2153",addressCountry:"AU"},areaServed:[{"@type":"Place",name:"Bella Vista"},{"@type":"Place",name:"Norwest"},{"@type":"Place",name:"Castle Hill"},{"@type":"Place",name:"Baulkham Hills"},{"@type":"Place",name:"Kellyville"},{"@type":"Place",name:"Rouse Hill"},{"@type":"Place",name:"Sydney Hills District"}]})}]}),component:le(EF,"component")}),CF=()=>ce(()=>import("./indian-catering-home-parties-wlJmfpuZ.js"),__vite__mapDeps([18,19])),AF=se()({head:()=>({meta:[{title:"Home Party Indian Catering Sydney · From $37pp | Kebabiya"},{name:"description",content:"Hosting at home? Kebabiya delivers Indian catering built for house parties across Sydney — kebabs, biryani, curries and breads for birthdays, Diwali, baby showers and family gatherings. Drop-off packs, bulk trays or a complete party package."},{property:"og:title",content:"Home Party Indian Catering Sydney · From $37pp | Kebabiya"},{property:"og:description",content:"Birthdays, baby showers, Diwali, family get-togethers — Indian catering delivered hot to your door, or served on-site by our team."},{property:"og:url",content:"https://kebabiya.com.au/indian-catering-home-parties"},{property:"og:type",content:"website"}],links:[{rel:"canonical",href:"https://kebabiya.com.au/indian-catering-home-parties"}],scripts:[{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"FAQPage",mainEntity:[{"@type":"Question",name:"What is the best Indian catering for home parties in Sydney?",acceptedA
116nswer:{"@type":"Answer",text:"Kebabiya offers Indian catering for home parties across Sydney with three formats: drop-off packs from $37 per person, bulk trays by the kilogram, or complete fixed party packages such as Spring Mehfil at $700 for 25 guests. All menus are halal with vegetarian, vegan and Jain options."}},{"@type":"Question",name:"How much does Indian food catering for a small party cost?",acceptedAnswer:{"@type":"Answer",text:"Small party catering starts at $37 per person for a drop-off pack of 4 kebabs and biryani. Bulk trays are priced by item — for example, 48 chicken tikka pieces for $120 or 2 kg biryani for $70 — making them ideal for 10–30 guests."}},{"@type":"Question",name:"Can I get Indian catering delivered to my home?",acceptedAnswer:{"@type":"Answer",text:"Yes. We deliver Indian catering across Sydney metro, including the Hills District, North Shore, Inner West, CBD, Eastern Suburbs, Parramatta and the Hawkesbury. Food arrives in insulated trolleys and stays hot for up to 4 hours."}},{"@type":"Question",name:"Do you cater home parties with vegetarian, vegan or Jain food?",acceptedAnswer:{"@type":"Answer",text:"Yes. We plan vegetarian, vegan and Jain menus as a full spread, not a single token dish. Popular options include paneer tikka, dahi ke kebab, hara bhara kebab, vegetable biryani, palak paneer and dal."}},{"@type":"Question",name:"What occasions do you cater at home?",acceptedAnswer:{"@type":"Answer",text:"We cater birthdays, anniversaries, baby showers, Diwali, Eid, housewarmings, family reunions, engagement parties, graduation parties and casual weekend get-togethers — anything that brings people together around a table."}},{"@type":"Question",name:"How far in advance should I book Indian catering for a home party?",acceptedAnswer:{"@type":"Answer",text:"Drop-off, bulk orders and party packages need 24–48 hours notice. For popular dates like Diwali and New Year's Eve, book 4–6 weeks ahead."}}]})}]}),component:le(CF,"component")}),TF=[{q:"Where can I find the best Indian curries in Sydney?",a:"Kebabiya in Bella Vista serves regional Indian curries from Kashmir, Rajasthan, Delhi, Chettinad, Punjab and Goa — each built from scratch daily, not from a pre-made base. Regulars drive in from Castle Hill, Kellyville, Cherrybrook and the North Shore."},{q:"Are your curries authentic or Australianised?",a:"Regional and honest. Our rogan josh is Kashmiri (no tomato). Our laal maas is Rajput (Mathania chilli, yoghurt, mustard oil). Our Chettinad is pepper-forward, our Goan curry is sour-coconut. Butter chicken is on the menu because it's genuinely from Delhi in 1948, not because everyone else has it."},{q:"How spicy are your curries?",a:"Every curry is dialled to house standard by default and we adjust to guest preference on request. Laal maas is our hottest, malai kofta and butter chicken are among the mildest. Ask your server for a recommendation."},{q:"Do you have vegetarian and vegan curries?",a:"Yes — dal makhani, paneer butter masala, bhindi masala, chana masala, malai kofta and a rotating Nawabi tarkari. Vegan options include chana masala, aloo gobi and the whole daal family without cream or ghee on request."},{q:"Can I get curries delivered across Sydney?",a:"Order direct from our website (no platform fees), or via Uber Eats and DoorDash. Free direct delivery over $60 across Norwest, Castle Hill, Kellyville, Baulkham Hills and West Pennant Hills."}],OF=()=>ce(()=>import("./indian-curries-sydney-BwTRXvOq.js"),__vite__mapDeps([20,21])),hd="https://kebabiya.com.au/indian-curries-sydney",NF=se()({head:()=>({meta:[{title:"Best Indian Curries in Sydney · Regional · Kebabiya Bella Vista"},{name:"description",content:"Regional Indian curries done seriously — Kashmiri rogan josh, Rajasthani laal maas, Chettinad, Goan fish, dal makhani, butter chicken. From-scratch daily at Kebabiya Bella Vista."},{name:"keywords",content:"indian curries sydney, best indian curry sydney, butter chicken sydney, rogan josh sydney, laal maas sydney, chettinad sydney, dal makhani sydney, curry bella vista, curry hills district"},{property:"og:title",content:"Best Indian Curries in Sydney · Kebabiya Bella Vista"},{property:"og:description",content:"Kashmir. Rajasthan. Delhi. Chettinad. Punjab. Goa. Regional curries built from scratch — not out of a pre-made base."},{property:"og:url",content:hd},{property:"og:type",content:"website"}],links:[{rel:"canonical",href:hd}],scripts:[{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"Restaurant",name:"Kebabiya — Indian Curries, Sydney",url:hd,telephone:"+61288247944",servesCuisine:["Indian","North Indian","Kashmiri","Rajasthani","Chettinad","Goan","Mughlai"],priceRange:"$$",acceptsReservations:"True",address:{"@type":"PostalAddress",streetAddress:"Sky City, Level 1, A115, 20 Lexington Drive",addressLocality:"Bella Vista",addressRegion:"NSW",postalCode:"2153",addressCountry:"AU"},aggregateRating:pn,sameAs:Gt,hasMenu:"https://kebabiya.com.au/menu"})},{type:"application/ld+json",children:JSON.stringify(ot(TF))},{type:"application/ld+json",children:JSON.stringify(dt([{name:"Home",url:"https://kebabiya.com.au/"},{name:"Menu",url:"https://kebabiya.com.au/menu"},{name:"Indian Curries Sydney",url:hd}]))}]}),component:le(OF,"component")}),DF=()=>ce(()=>import("./indian-dinner-bella-vista-DhSkr1ez.js"),[]),IF=se()({head:()=>({meta:[{title:"Indian Dinner Bella Vista — Sit-Down Restaurant | Kebabiya"},{name:"description",content:"A proper Indian sit-down dinner in Bella Vista — grilled kebabs, dum biryani and family platters at Sky City. Fully licensed, open seven nights."},{name:"keywords",content:"indian dinner bella vista, indian restaurant dinner sydney, indian dine in bella vista, romantic indian restaurant sydney, indian restaurant date night bella vista, family indian dinner hills"},{property:"og:title",content:"Indian Dinner · Bella Vista · Kebabiya"},{property:"og:description",content:"Sit-down Indian dinner. Grilled kebabs, dum biryani, family platters."},{property:"og:url",content:"https://kebabiya.com.au/indian-dinner-bella-vista"},{property:"og:type",content:"website"}],links:[{rel:"canonical",href:"https://kebabiya.com.au/indian-dinner-bella-vista"}],scripts:[{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"Restaurant",name:"Kebabiya — Indian Dinner Bella Vista",url:"https://kebabiya.com.au/indian-dinner-bella-vista",telephone:"+61288247944",servesCuisine:["Indian","North Indian","Mughlai","Halal"],priceRange:"$$",acceptsReservations:"True",address:{"@type":"PostalAddress",streetAddress:"Sky City L1 A115, 20 Lexington Drive",addressLocality:"Bella Vista",addressRegion:"NSW",postalCode:"2153",addressCountry:"AU"},aggregateRating:{"@type":"AggregateRating",ratingValue:"4.2",reviewCount:"2000"}})}]}),component:le(DF,"component")}),PF=()=>ce(()=>import("./indian-grill-bella-vista-nrjKW3ii.js"),[]),jF=se()({head:()=>({meta:[{title:"Indian Grill Bella Vista — Kebabs & Tandoor | Kebabiya"},{name:"description",content:"The only true Indian grill restaurant in Bella Vista — tandoori chicken, lamb seekh, malai tikka and lamb chops over live fire."},{name:"keywords",content:"indian grill bella vista, grilled kebabs sydney, tandoor restaurant bella vista, indian restaurant sydney, live grill sydney, tandoor chicken bella vista"},{property:"og:title",content:"Indian Grill · Bella Vista · Kebabiya"},{property:"og:description",content:"Tandoor-grilled kebabs since 2014. Lamb chops, malai tikka."},{property:"og:url",content:"https://kebabiya.com.au/indian-grill-bella-vista"},{property:"og:type",content:"website"}],links:[{rel:"canonical",href:"https://kebabiya.com.au/indian-grill-bella-vista"}],scripts:[{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"Restaurant",name:"Kebabiya — Indian Grill Bella Vista",url:"https://kebabiya.com.au/indian-grill-bella-vista",telephone:"+61288247944",servesCuisine:["Indian","Kebabs","Tandoori","Halal","Indian Grill"],priceRange:"$$",acceptsReservations:"True",address:{"@type":"PostalAddress",streetAddress:"Sky City L1 A115, 20 Lexington Drive",addressLocality:"Bella Vista",addressRegion:"NSW",postalCode:"2153",addressCountry:"AU"},aggregateRating:{"@type":"AggregateRating",ratingValue:"4.2",reviewCount:"2000"}})}]}),component:le(PF,"component")}),LF=[{q:"Where can I get the best Indian kebabs in Sydney?",a:"Kebabiya in Bella Vista has been building its menu around a coal-and-clay tandoor since 2014. Eight kebabs on the à la carte — from Patiala seekh to Awadhi galouti — plus the metre-long platter for tables of six or more."},{q:"Are your kebabs halal?",a:"Every piece of meat that touches our tandoor is halal-sourced from certified suppliers, end-to-e
116nd since 2014. The venue is fully licensed (so not formally Halal-certified), but no non-halal meat crosses the pass."},{q:"What's the difference between an Indian kebab and a Turkish or Lebanese kebab?",a:"Indian kebabs are marinated in yoghurt and whole-spice blends (garam masala, cardamom, mace) and cooked in a vertical clay tandoor at 450°C, not on a horizontal rotating spit. Textures range from chunky (seekh) to melt-in-mouth (galouti), and they're served with mint chutney and naan rather than pita and toum."},{q:"Do you deliver kebabs across Sydney?",a:"Direct order from our website (no platform fees) or via Uber Eats and DoorDash. We deliver hot to the Hills District, and pickup runs Sydney-wide from Bella Vista."},{q:"Which kebab do you recommend for a first visit?",a:"Order the metre-long Kebabiya Platter — seekh, tandoori chicken, malai tikka, paneer tikka and lamb chops on one metre of wood. Six people, one photograph, decision made."}],MF=()=>ce(()=>import("./indian-kebabs-sydney-CyaRKK2A.js"),__vite__mapDeps([22,21])),fd="https://kebabiya.com.au/indian-kebabs-sydney",BF=se()({head:()=>({meta:[{title:"Best Indian Kebabs in Sydney · Coal Tandoor · Kebabiya Bella Vista"},{name:"description",content:"Eight Indian kebabs off a live coal-and-clay tandoor — seekh, barrah, tandoori, malai, galouti and more. Halal-sourced, at Kebabiya Bella Vista since 2014."},{name:"keywords",content:"indian kebabs sydney, best indian kebabs sydney, tandoori kebabs sydney, seekh kebab sydney, lamb kebab sydney, halal indian kebabs sydney, kebabs bella vista, kebabs hills district"},{property:"og:title",content:"Best Indian Kebabs in Sydney · Kebabiya Bella Vista"},{property:"og:description",content:"Eight kebabs off a 450°C coal tandoor. Halal-sourced. A decade of getting the fire right."},{property:"og:url",content:fd},{property:"og:type",content:"website"}],links:[{rel:"canonical",href:fd}],scripts:[{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"Restaurant",name:"Kebabiya — Indian Kebabs, Sydney",url:fd,telephone:"+61288247944",servesCuisine:["Indian","North Indian","Mughlai","Kebab","Tandoor","Halal"],priceRange:"$$",acceptsReservations:"True",address:{"@type":"PostalAddress",streetAddress:"Sky City, Level 1, A115, 20 Lexington Drive",addressLocality:"Bella Vista",addressRegion:"NSW",postalCode:"2153",addressCountry:"AU"},aggregateRating:pn,sameAs:Gt,hasMenu:"https://kebabiya.com.au/menu"})},{type:"application/ld+json",children:JSON.stringify(ot(LF))},{type:"application/ld+json",children:JSON.stringify(dt([{name:"Home",url:"https://kebabiya.com.au/"},{name:"Menu",url:"https://kebabiya.com.au/menu"},{name:"Indian Kebabs Sydney",url:fd}]))}]}),component:le(MF,"component")}),$F=[{q:"What is the best Indian restaurant in Bella Vista?",a:"Kebabiya has been the Bella Vista local pick since 2014, with 2,000+ reviews averaging 4.2 stars. The menu is built around a live-fire live grill — tandoori chicken, lamb seekh, malai tikka — with sealed-pot biryani and family-sized sharing platters."},{q:"Is Kebabiya halal?",a:"Every meat dish is halal-sourced from certified suppliers, end-to-end. The kitchen has been 100% halal-sourced since 2014. Because Kebabiya is fully licensed and serves alcohol, the restaurant itself does not qualify for formal Halal Certification, but no meat crosses the pass that isn't halal-sourced."},{q:"Where exactly is Kebabiya in Bella Vista?",a:"Inside Sky City, Level 1 (A115), 20 Lexington Drive, Bella Vista NSW 2153 — opposite the Hillsong Convention Centre, four minutes from Bella Vista Metro."},{q:"Is there parking?",a:"Yes — free undercover parking at Sky City with a lift straight to Level 1."},{q:"Do I need to book?",a:"Walk-ins are welcome but Friday and Saturday nights fill quickly. Book online or call +61 2 8824 7944."},{q:"Do you have vegetarian options?",a:"Yes — a full vegetarian section with paneer tikka, tarkari biryani, dal makhani, palak paneer, and tandoor-fired vegetable skewers. Vegan and Jain on request."}
116,{q:"What are your opening hours?",a:"Lunch Tuesday to Friday 12 noon to 3pm. Dinner Monday to Thursday 5:30pm to 9pm, Friday 5:30pm to 10pm. Saturday 12 noon to 10pm, Sunday 12 noon to 9pm."},{q:"Do you deliver in Bella Vista 2153?",a:"Yes — order direct through our website for the best price (no platform fees), or via Uber Eats and DoorDash for fastest dispatch. Free delivery across Bella Vista, Norwest and surrounding 2153 streets on direct orders."},{q:"How does Kebabiya compare to other Indian restaurants in Bella Vista?",a:"Most Indian restaurants in the area are curry-led. Kebabiya is built around the live-fire tandoor — kebabs lead, biryani follows, curries support. It's also the only 100% halal-sourced Indian sit-down in the immediate Bella Vista / Norwest pocket."},{q:"Can you cater for events in Bella Vista and the Hills?",a:"Yes — we cater across Greater Sydney with food-drop trays, bulk biryani by the kilo, corporate lunches and complete party packages. See our catering page or call +61 2 8824 7944 to plan."}],zF=()=>ce(()=>import("./indian-restaurant-bella-vista-CrpoR32P.js"),[]),HF=se()({head:()=>({meta:[{title:"Indian Restaurant Bella Vista | Kebabiya"},{name:"description",content:"Bella Vista's Indian restaurant since 2014 — grilled kebabs, sealed-pot biryani and family platters at Sky City, 20 Lexington Drive."},{name:"keywords",content:"indian restaurant bella vista, indian restaurants bella vista, indian restaurant bella vista nsw, indian food bella vista, biryani bella vista, kebabs bella vista, bella vista restaurants, indian bella vista"},{property:"og:title",content:"Indian Restaurant Bella Vista · Kebabiya"},{property:"og:description",content:"Grilled kebabs, sealed-pot biryani, family platters. Bella Vista's Indian restaurant since 2014."},{property:"og:url",content:"https://kebabiya.com.au/indian-restaurant-bella-vista"},{property:"og:type",content:"website"}],links:[{rel:"canonical",href:"https://kebabiya.com.au/indian-restaurant-bella-vista"}],scripts:[{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"Restaurant",name:"Kebabiya — Indian Restaurant Bella Vista",url:"https://kebabiya.com.au/indian-restaurant-bella-vista",telephone:"+61288247944",servesCuisine:["Indian","North Indian","Mughlai","Kebabs","Biryani","Halal"],priceRange:"$$",acceptsReservations:"True",address:{"@type":"PostalAddress",streetAddress:"Sky City L1 A115, 20 Lexington Drive",addressLocality:"Bella Vista",addressRegion:"NSW",postalCode:"2153",addressCountry:"AU"},aggregateRating:{"@type":"AggregateRating",ratingValue:"4.4",reviewCount:"2000",bestRating:"5"},sameAs:Gt,hasMenu:"https://kebabiya.com.au/menu"})},{type:"application/ld+json",children:JSON.stringify(ot($F))},{type:"application/ld+json",children:JSON.stringify(dt([{name:"Home",url:"https://kebabiya.com.au/"},{name:"Bella Vista",url:"https://kebabiya.com.au/indian-restaurant-bella-vista"}]))}]}),component:le(zF,"component")}),UF=[{q:"Is Kebabiya in Castle Hill?",a:"Kebabiya's dining room is in Bella Vista at Sky City, Level 1, but we're the closest live-fire Indian restaurant to Castle Hill — six minutes down Old Northern Road, ten minutes from Castle Towers."},{q:"How long does it take to get to Kebabiya from Castle Hill?",a:"Six to twelve minutes depending on traffic. From Castle Towers, take Old Northern Road south, right onto Norwest Boulevard, left onto Lexington Drive."},{q:"Do you deliver Indian food to Castle Hill 2154?",a:"Yes. Order direct through our website for the best price (no platform fees), or via Uber Eats and DoorDash. Free delivery on direct orders to Castle Hill, Cherrybrook and West Pennant Hills over $60."},{q:"Is Kebabiya halal-friendly for Castle Hill families?",a:"Every meat dish is halal-sourced from certified suppliers, end-to-end since 2014. The restaurant is fully licensed (so not formally Halal-Certified), but no meat crosses the pass that isn't halal-sourced."},{q:"Where do Castle Hill families eat before events at Castle Hill Showground or Castle Towers?",a:"Kebabiya's a fifteen-minute roun
116d trip and we can seat groups of 8–20 with a phone call. Book the platter, park free at Sky City, be back at your event on time."},{q:"Do you cater for Castle Hill schools and offices?",a:"Yes — food-drop trays, bulk biryani by the kilo and corporate lunches delivered across 2154. Call +61 2 8824 7944 or use our catering form."}],KF=()=>ce(()=>import("./indian-restaurant-castle-hill-BpmpZmR5.js"),[]),pd="https://kebabiya.com.au/indian-restaurant-castle-hill",VF=se()({head:()=>({meta:[{title:"Indian Restaurant Castle Hill · Kebabiya (Bella Vista, 6 min)"},{name:"description",content:"Castle Hill's closest live-fire Indian restaurant — six minutes from Castle Towers. Grilled kebabs, sealed-pot biryani, halal-sourced, free parking, delivery to 2154."},{property:"og:title",content:"Indian Restaurant Castle Hill · Kebabiya"},{property:"og:description",content:"Six minutes from Castle Towers. Grilled kebabs, sealed-pot biryani, halal-sourced. Book, order or cater."},{property:"og:url",content:pd},{property:"og:type",content:"website"}],links:[{rel:"canonical",href:pd}],scripts:[{type:"application/ld+json",children:JSON.stringify(jg({suburbName:"Castle Hill",pageUrl:pd,areaServed:["Castle Hill","Cherrybrook","West Pennant Hills","Baulkham Hills","The Hills District"]}))},{type:"application/ld+json",children:JSON.stringify(ot(UF))},{type:"application/ld+json",children:JSON.stringify(dt([{name:"Home",url:"https://kebabiya.com.au/"},{name:"Hills District",url:"https://kebabiya.com.au/indian-restaurants-hills-district"},{name:"Castle Hill",url:pd}]))}]}),component:le(KF,"component")}),FF=[{q:"Is there an Indian restaurant in Kellyville?",a:"Kebabiya is the closest live-fire Indian dining room to Kellyville — eight minutes down Windsor Road from Kellyville Metro, seated inside Sky City Bella Vista at 20 Lexington Drive."},{q:"How do I get from Kellyville to Kebabiya?",a:"Windsor Road south, right onto Norwest Boulevard, left onto Lexington Drive. Eight to ten minutes door to door. Or one stop on the Metro from Kellyville to Bella Vista, then a four-minute walk."},{q:"Do you deliver to Kellyville 2155 and North Kellyville 2155?",a:"Yes. Direct orders through our website are cheapest (no platform fees) with free delivery over $60 to Kellyville, North Kellyville and The Ponds. Uber Eats and DoorDash also cover the postcode."},{q:"Where can Kellyville families eat halal Indian food?",a:"Every meat at Kebabiya is halal-sourced from certified suppliers, end-to-end since 2014. The venue is fully licensed so it's not formally Halal-Certified, but no meat leaves the kitchen that isn't halal-sourced."},{q:"Is Kebabiya good for kids' birthdays in Kellyville?",a:"Yes — highchairs, a real kids' menu, and we've plated birthday cakes for so many Kellyville families we keep candles behind the pass. Book the platter for 8+ and we'll take it from there."},{q:"What's near Kebabiya if we're coming from Kellyville?",a:"You're two minutes from the Hillsong Convention Centre, four from Norwest Marketown, ten from Rouse Hill Town Centre. Sky City has free undercover parking and a lift straight to Level 1."}],qF=()=>ce(()=>import("./indian-restaurant-kellyville-DDAmt1lw.js"),[]),md="https://kebabiya.com.au/indian-restaurant-kellyville",GF=se()({head:()=>({meta:[{title:"Indian Restaurant Kellyville · Kebabiya (Bella Vista, 8 min)"},{name:"description",content:"Kellyville's live-fire Indian dining room — eight minutes down Windsor Road. Kebabs, biryani, family platters, halal-sourced. Delivery to 2155 and free parking at Sky City."},{property:"og:title",content:"Indian Restaurant Kellyville · Kebabiya"},{property:"og:description",content:"Eight minutes from Kellyville Metro. Kebabs, biryani, family platters, halal-sourced."},{property:"og:url",content:md},{property:"og:type",content:"website"}],links:[{rel:"canonical",href:md}],scripts:[{type:"application/ld+json",children:JSON.stringify(jg({suburbName:"Kellyville",pageUrl:md,areaServed:["Kellyville","North Kellyville","The Ponds","Beaumont Hills","Rouse Hill"]}))},{type:"application/ld+json",children:JSON.stringify(ot(FF))},{type:"application/ld+json",children:JSON.stringify(dt([{name:"Home",url:"https://kebabiya.com.au/"},{name:"Hills District",url:"https://kebabiya.com.au/indian-restaurants-hills-district"},{name:"Kellyville",url:md}]))}]}),component:le(qF,"component")}),WF=[{q:"Is there an Indian restaurant in Norwest?",a:"Kebabiya is the closest sit-down Indian restaurant to the Norwest business park — two minutes by car from Norwest Marketown, five from Brookhollow and Century Circuit. We're at Sky City, 20 Lexington Drive, Bella Vista 2153."},{q:"Do you deliver to Norwest?",a:"Yes — free direct delivery across Norwest 2153. Order on our website for the best price (no platform fees), or via Uber Eats and DoorDash for the fastest dispatch."},{q:"Can I get an Indian lunch near the Norwest business park?",a:"Yes — weekday lunch service from 12 noon to 3pm. Most of our weekday lunch crowd is Norwest professionals. Quick lunch plates, biryani bowl
116s, and a One-Man Feast tasting option."},{q:"Is Kebabiya halal?",a:"100% halal-sourced end-to-end since 2014 — every meat dish comes from certified halal suppliers. Because we are fully licensed and serve alcohol, the restaurant itself isn't formally Halal-certified, but no meat in the kitchen is anything other than halal-sourced. Bring mixed groups without an awkward conversation."},{q:"Where do I park?",a:"Free undercover parking at Sky City with a lift straight to Level 1. No street-parking hunt."},{q:"Do you cater for Norwest offices?",a:"Yes — corporate catering across Norwest, food-drop trays, bulk biryani, finger-food platters and complete party packages. Call +61 2 8824 7944 to plan."}],YF=()=>ce(()=>import("./indian-restaurant-norwest-B4kLZSbN.js"),[]),JF=se()({head:()=>({meta:[{title:"Indian Restaurant Norwest | Kebabiya"},{name:"description",content:"Norwest's walk-to Indian restaurant — kebabs, biryani and curries at Sky City Bella Vista, two minutes from the Norwest business park."},{name:"keywords",content:"indian restaurant norwest, indian food norwest, biryani norwest, kebabs norwest, halal indian norwest, indian delivery norwest, norwest restaurant, norwest dinner"},{property:"og:title",content:"Indian Restaurant in Norwest · Kebabiya"},{property:"og:description",content:"Two minutes from the Norwest business park — kebabs, biryani, curries and free delivery to 2153."},{property:"og:url",content:"https://kebabiya.com.au/indian-restaurant-norwest"},{property:"og:type",content:"website"}],links:[{rel:"canonical",href:"https://kebabiya.com.au/indian-restaurant-norwest"}],scripts:[{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"Restaurant",name:"Kebabiya — Indian Restaurant near Norwest",url:"https://kebabiya.com.au/indian-restaurant-norwest",telephone:"+61288247944",servesCuisine:["Indian","North Indian","Kebabs","Biryani","Halal"],priceRange:"$$",acceptsReservations:"True",address:{"@type":"PostalAddress",streetAddress:"Sky City L1 A115, 20 Lexington Drive",addressLocality:"Bella Vista",addressRegion:"NSW",postalCode:"2153",addressCountry:"AU"},areaServed:[{"@type":"Place",name:"Norwest"},{"@type":"Place",name:"Norwest Business Park"},{"@type":"PostalCodeSpecification",postalCode:"2153",addressCountry:"AU"}],hasMenu:"https://kebabiya.com.au/menu"})},{type:"application/ld+json",children:JSON.stringify(ot(WF))}]}),component:le(YF,"component")}),QF=[{q:"Is there a good Indian restaurant near Rouse Hill Town Centre?",a:"Kebabiya at Sky City Bella Vista is the closest live-fire Indian dining room to Rouse Hill — twelve minutes down Windsor Road, easier parking than Rouse Hill Town Centre on a Saturday, and one Metro stop from Rouse Hill."},{q:"How far is Kebabiya from Rouse Hill?",a:"Twelve minutes by car via Windsor Road, or two stops on the Metro (Rouse Hill → Kellyville → Bella Vista) with a four-minute walk down Lexington Drive."},{q:"Do you deliver Indian food to Rouse Hill 2155?",a:"Yes. Order direct through our website (best price, no platform fees) or via Uber Eats and DoorDash. Free delivery on direct orders over $60 to Rouse Hill, Beaumont Hills, Kellyville Ridge and Stanhope Gardens."},{q:"Where to eat before or after a movie at Rouse Hill Reading Cinemas?",a:"Book Kebabiya an hour before your session. Twelve minutes each way, free parking, kebabs land within fifteen minutes of ordering. Faster than the food court at Rouse Hill Town Centre and better for you."},{q:"Is Kebabiya halal-friendly for Rouse Hill families?",a:"Every meat dish is halal-sourced from certified suppliers, end-to-end since 2014. Fully licensed so not formally Halal-Certified, but the kitchen is 100% halal-sourced."},{q:"Do you cater in Rouse Hill for parties and community events?",a:"Yes — we deliver bulk biryani, tandoor kebabs and full spreads to Rouse Hill homes, community halls and sports clubs. Insulated trays, hot arrival, minimum notice 48 hours."}],XF=()=>ce(()=>import("./indian-restaurant-rouse-hill-CpB81AF7.js"),[]),yd="https://kebabiya.com.au/indian-restaurant-rouse-hill",ZF=se()({head:()=>({meta:[{title:"Indian Restaurant Rouse Hill · Kebabiya (Bella Vista, 12 min)"},{name:"description",content:"Rouse Hill's live-fire Indian restaurant — twelve minutes down Windsor Road or two Metro stops from Rouse Hill. Kebabs, biryani, halal-sourced, delivery to 2155."},{property:"og:title",content:"Indian Restaurant Rouse Hill · Kebabiya"},{property:"og:description",content:"Twelve minutes down Windsor Road. Kebabs, biryani, halal-sourced. Delivery to Rouse Hill and Beaumont Hills."},{property:"og:url",content:yd},{property:"og:type",content:"website"}],links:[{rel:"canonical",href:yd}],scripts:[{type:"application/ld+json",children:JSON.stringify(jg({suburbName:"Rouse Hill",pageUrl:yd,areaServed:["Rouse Hill","Beaumont Hills","Kellyville Ridge","Stanhope Gardens","Box Hill"]}))},{type:"application/ld+json",children:JSON.stringify(ot(QF))},{type:"application/ld+json",children:JSON.stringify(dt([{name:"Home",url:"https://kebabiya.com.au/"},{name:"Hills District",url:"https://kebabiya.com.au/indian-restaurants-hills-district"},{name:"Rouse Hill",url:yd}]))}]}),component:le(XF,"component")}),e8=()=>ce(()=>import("./indian-restaurants-hills-district-4nrZ5aiP.js"),[]),t8=se()({head:()=>({meta:[{title:"Indian Restaurants in the Hills District | Kebabiya"},{name:"description",content:"The Sydney Hills' Indian restaurant of choice — grilled kebabs, dum biryani and free local delivery to Castle Hill, Kellyville and Rouse Hill."},{name:"keywords",content:"indian restaurants hills district, indian restaurant sydney hills, indian restaurant castle hill, indian restaurant kellyville, indian restaurant baulkham hills, indian restaurant rouse hill, halal indian hills district"},{property:"og:title",content:"Indian Restaurants · Sydney Hills District · Kebabiya"},{property:"og:description",content:"Grilled kebabs and dum biryani, ten minutes from Castle Hill, Kellyville, Baulkham Hills and Rouse Hill."},{property:"og:url",content:"https://kebabiya.com.au/indian-restaurants-hills-district"},{property:"og:type",content:"website"}],links:[{rel:"canonical",href:"https://kebabiya.com.au/indian-restaurants-hills-district"}],scripts:[{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"Restaurant",name:"Kebabiya — Indian Restaurant in the Sydney Hills",url:"https://kebabiya.com.au/indian-restaurants-hills-district",telephone:"+61288247944",servesCuisine:["Indian","North Indian","Kebabs","Biryani","Halal"],priceRange:"$$",address:{"@type":"PostalAddress",streetAddress:"Sky City L1 A115, 20 Lexington Drive",addressLocality:"Bella Vista",addressRegion:"NSW",postalCode:"2153",addressCountry:"AU"},areaServed:[{"@type":"Place",name:"Bella Vista"},{"@type":"Place",name:"Castle Hill"},{"@type":"Place",name:"Baulkham Hills"},{"@type":"Place",name:"Kellyville"},{"@type":"Place",name:"Rouse Hill"},{"@type":"Place",name:"Norwest"},{"@type":"Place",name:"The Hills District"}],hasMenu:"https://kebabiya.com.au/menu"})}]}),component:le(e8,"component")}),n8=()=>ce(()=>import("./kiosk-BKFdWKq0.js"),__vite__mapDeps([23,24,25,26,27,28,17,29])),a8=se()({head:()=>({meta:[{title:"Time Clock — Kebabiya"},{name:"robots",content:"noindex"}
116]}),component:le(n8,"component")}),r8=[{q:"Where can I get the best lamb biryani in Sydney?",a:"Kebabiya Bella Vista has served sealed-pot lamb biryani since 2014. Riverina halal lamb slow-cooked with whole spices and aged basmati, sealed under dough and finished over coals — Hyderabadi and Sindhi styles both on the menu."},{q:"What's the difference between Hyderabadi and Sindhi lamb biryani?",a:"Hyderabadi is dum-cooked from raw with mint, saffron and green chilli — layered, then sealed and finished by its own steam. Sindhi is bolder and tangier — heavier on tomato, mint and green chilli, with mustard oil giving it a coastal edge."},{q:"Is your lamb biryani halal?",a:"Yes — Riverina halal lamb, sourced end-to-end from certified suppliers since 2014. The venue is fully licensed and not formally Halal-certified, but no non-halal meat crosses our pass."},{q:"How spicy is your lamb biryani?",a:"Hyderabadi runs medium, Sindhi runs medium-hot. Ask the kitchen to dial either up or down — biryani is finished with its own gravy, so heat can be adjusted at the plate."},{q:"Do you deliver biryani by the kilo for catering?",a:"Yes. Bulk lamb biryani by the kilo, insulated tray delivery across the Hills District for parties, corporate lunches, weddings and Diwali gatherings. See our catering page or call the restaurant."}],i8=()=>ce(()=>import("./lamb-biryani-sydney-RHLxljoV.js"),__vite__mapDeps([30,6])),Al="https://kebabiya.com.au/lamb-biryani-sydney",s8=se()({head:()=>({meta:[{title:"Best Lamb Biryani in Sydney · Sealed-Pot Dum · Kebabiya Bella Vista"},{name:"description",content:"Searching lamb biryani near you in Sydney? Riverina halal lamb slow-cooked with aged basmati, sealed under dough and finished over coals. Hyderabadi & Sindhi styles at Kebabiya."},{property:"og:title",content:"Best Lamb Biryani in Sydney · Kebabiya"},{property:"og:description",content:"Sealed-pot dum. Aged basmati. Riverina halal lamb. Ten years of getting the dum right."},{property:"og:url",content:Al},{property:"og:type",content:"website"}],links:[{rel:"canonical",href:Al}],scripts:[{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"MenuItem",name:"Sindhi Lamb Biryani",description:"Riverina halal lamb slow-cooked with aged basmati, whole spices, tomato, mint and mustard oil, sealed under dough and finished over coals.",url:Al,suitableForDiet:"https://schema.org/HalalDiet",offers:{"@type":"Offer",availability:"https://schema.org/InStock",priceCurrency:"AUD"}})},{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"Restaurant",name:"Kebabiya — Lamb Biryani, Sydney",url:Al,telephone:"+61288247944",servesCuisine:["Indian","Hyderabadi","Sindhi","Mughlai","Halal"],priceRange:"$$",address:{"@type":"PostalAddress",streetAddress:"Sky City, Level 1, A115, 20 Lexington Drive",addressLocality:"Bella Vista",addressRegion:"NSW",postalCode:"2153",addressCountry:"AU"},aggregateRating:pn,sameAs:Gt,hasMenu:"https://kebabiya.com.au/menu"})},{type:"application/ld+json",children:JSON.stringify(ot(r8))},{type:"application/ld+json",children:JSON.stringify(dt([{name:"Home",url:"https://kebabiya.com.au/"},{name:"Biryani",url:"https://kebabiya.com.au/biryani"},{name:"Lamb Biryani",url:Al}]))}]}),component:le(i8,"component")}),o8=[{q:"Where can I find real Kashmiri rogan josh in Sydney?",a:"Kebabiya Bella Vista cooks rogan josh the Kashmiri way — no tomato, no cream, no yoghurt-thickened gravy. Just Riverina lamb shoulder slow-braised with Kashmiri chilli, fennel, dried ginger and a whisper of asafoetida."},{q:"What makes Kashmiri rogan josh different from restaurant rogan josh?",a:"Most Sydney restaurants build rogan josh from a common tomato-and-onion base. The Kashmiri Wazwan tradition uses none of that — the deep red colour comes from Kashmiri chilli and rattan jot (cockscomb flower), and the depth comes from slow reduction of the meat's own fat."},{q:"Is your lamb halal?",a:"Yes — every lamb dish at Kebabiya is halal-sourced from certified Riverina suppliers, end-to-end since 2014. The venue is fully licensed, so not formally Halal-certified — but no non-
116halal meat crosses the pass."},{q:"How spicy is your rogan josh?",a:"Medium — Kashmiri chilli is deeply flavoured but low in heat, so the dish tastes rich rather than fiery. Ask the kitchen to push the heat up if you want it hotter."},{q:"Do you do lamb rogan josh for delivery?",a:"Yes. Order direct from kebabiya.com.au (no platform fees) or via Uber Eats and DoorDash. Rogan josh actually improves in the container as the spices settle."}],l8=()=>ce(()=>import("./lamb-rogan-josh-sydney-Blm6Tp-u.js"),__vite__mapDeps([31,6])),Tl="https://kebabiya.com.au/lamb-rogan-josh-sydney",c8=se()({head:()=>({meta:[{title:"Best Lamb Rogan Josh in Sydney · Kashmiri · Kebabiya Bella Vista"},{name:"description",content:"Riverina lamb shoulder slow-braised with Kashmiri chilli, fennel and dried ginger — no tomato, no cream. The Wazwan-style rogan josh at Kebabiya Bella Vista."},{name:"keywords",content:"lamb rogan josh sydney, best rogan josh sydney, kashmiri rogan josh sydney, rogan josh bella vista, halal lamb curry sydney, kashmiri restaurant sydney"},{property:"og:title",content:"Kashmiri Lamb Rogan Josh · Kebabiya Sydney"},{property:"og:description",content:"No tomato, no cream. Kashmiri chilli, fennel, dried ginger. Riverina lamb, slow braised."},{property:"og:url",content:Tl},{property:"og:type",content:"website"}],links:[{rel:"canonical",href:Tl}],scripts:[{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"MenuItem",name:"Lamb Rogan Josh (Kashmiri)",description:"Riverina lamb shoulder slow-braised with Kashmiri chilli, fennel, dried ginger and asafoetida.",url:Tl,suitableForDiet:"https://schema.org/HalalDiet",offers:{"@type":"Offer",availability:"https://schema.org/InStock",priceCurrency:"AUD"}})},{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"Restaurant",name:"Kebabiya — Lamb Rogan Josh, Sydney",url:Tl,telephone:"+61288247944",servesCuisine:["Indian","Kashmiri","North Indian"],priceRange:"$$",address:{"@type":"PostalAddress",streetAddress:"Sky City, Level 1, A115, 20 Lexington Drive",addressLocality:"Bella Vista",addressRegion:"NSW",postalCode:"2153",addressCountry:"AU"},aggregateRating:pn,sameAs:Gt,hasMenu:"https://kebabiya.com.au/menu"})},{type:"application/ld+json",children:JSON.stringify(ot(o8))},{type:"application/ld+json",children:JSON.stringify(dt([{name:"Home",url:"https://kebabiya.com.au/"},{name:"Curries",url:"https://kebabiya.com.au/indian-curries-sydney"},{name:"Lamb Rogan Josh",url:Tl}]))}]}),component:le(l8,"component")}),u8=()=>ce(()=>import("./locations-2G4PDLrs.js"),__vite__mapDeps([32,11])),d8=se()({head:()=>({meta:[{title:"Indian Restaurant Bella Vista — Kebabiya"},{name:"description",content:"Kebabiya is Bella Vista's Indian restaurant — kebabs, biryani and family platters at Sky City since 2014. Free delivery to Norwest, Castle Hill & Kellyville."},{property:"og:title",content:"Indian Restaurant in Bella Vista · Kebabiya"},{property:"og:description",content:"Smart-casual Indian dining at Sky City Bella Vista — kebabs, biryani and #PhoneFreeDining since 2014. Serving Norwest, Castle Hill, Kellyville and Dural."},{property:"og:url",content:"https://kebabiya.com.au/locations"}],links:[{rel:"canonical",href:"https://kebabiya.com.au/locations"}],scripts:[{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"Restaurant","@id":"https://kebabiya.com.au/#restaurant",name:"Kebabiya Bella Vista",url:"https://kebabiya.com.au/",telephone:"+61288247944",image:"https://kebabiya.com.au/wp-content/uploads/2026/03/WhatsApp-Image-2026-03-23-at-12.53.39-PM-2-410x500.jpeg",servesCuisine:["Indian","North Indian","Kebabs","Biryani"],priceRange:"$$",acceptsReservations:"True",address:{"@type":"PostalAddress",streetAddress:"Sky City L1 A115, 20 Lexington Drive",addressLocality:"Bella Vista",addressRegion:"NSW",postalCode:"2153",addressCountry:"AU"},geo:{"@type":"GeoCoordinates",latitude:-33.7398,longitude:150.9536},areaServed:[{"@type":"City",name:"Bella Vista"},{"@type":"City",name:"Norwest"},{"@type":"City",name:"Castle Hill"},{"@type":"City",name:"Kellyville"},{"@type":"City",name:"Dural"},{"@type":"City",name:"Baulkham Hills"}],openingHoursSpecification:[{"@type":"OpeningHoursSpecification",dayOfWeek:["Tuesday","Wednesday","Thursday","Frid
116ay"],opens:"12:00",closes:"15:00"},{"@type":"OpeningHoursSpecification",dayOfWeek:["Monday","Tuesday","Wednesday","Thursday"],opens:"17:30",closes:"21:00"},{"@type":"OpeningHoursSpecification",dayOfWeek:["Friday"],opens:"17:30",closes:"22:00"},{"@type":"OpeningHoursSpecification",dayOfWeek:["Saturday"],opens:"12:00",closes:"22:00"},{"@type":"OpeningHoursSpecification",dayOfWeek:["Sunday"],opens:"12:00",closes:"21:00"}],aggregateRating:{"@type":"AggregateRating",ratingValue:"4.2",reviewCount:"2000"},menu:"https://kebabiya.com.au/menu",hasMenu:"https://kebabiya.com.au/menu",sameAs:["https://instagram.com/kebabiya","https://www.facebook.com/kkebabiya"]})}]}),component:le(u8,"component")}),X_="/assets/interior-DEFVwRZe.jpg",h8=()=>ce(()=>import("./loyalty-CPaoZ22D.js"),__vite__mapDeps([33,16,14,34,1])),f8=se()({head:()=>({meta:[{title:"Kebabiya Rewards — Loyalty Program | Bella Vista, Sydney"},{name:"description",content:"Earn a point with every dollar spent at Kebabiya. Redeem for free starters, complimentary Sharabiya, family platter discounts, and birthday surprises. Powered by Square."},{property:"og:title",content:"Kebabiya Rewards"},{property:"og:description",content:"Join the rewards program. Earn points on every visit, unlock free dishes, Sharabiya, and birthday treats. Sign up in 30 seconds."},{property:"og:image",content:X_},{property:"twitter:image",content:X_}],links:[{rel:"canonical",href:"https://kebabiya.com.au/loyalty"}]}),component:le(h8,"component")}),p8="/assets/menu-chicken-kebabs-BxMd3YWm.jpg",m8="/assets/menu-lamb-kebabs-DyMWzdP6.jpg",y8="/assets/menu-biryani-D6-r3ooC.jpg",g8="/assets/menu-vegetarian-IC45k90Z.jpg",b8="/assets/menu-starters-B1Y5-FXJ.jpg",v8="/assets/menu-seafood-oGcVv-Om.jpg",w8="/assets/menu-curries-CCq2b3WN.jpg",S8="/assets/menu-breads-BYx3dxmD.jpg",k8="/assets/menu-dessert-CVUzZO-8.jpg",UC="/assets/one-man-feast-DL2H2Khj.jpg",_8="/__l5e/assets-v1/bcd8acf1-1227-461d-85e5-008a287489bb/abeer-e-surkh.jpg",x8={url:_8},E8="/__l5e/assets-v1/a6f37a2d-f513-4a12-b6a3-fb8281e063ba/bhatti-da-murg.jpg",R8={url:E8},C8="/__l5e/assets-v1/f6e91cc9-7710-4cde-96f7-ee4bf82ac0ef/chicken-hyderabadi-biryani.jpg",KC={url:C8},A8="/__l5e/assets-v1/3f0807b0-fcfd-4e1c-8918-ed8c552091e7/kebabiya-special-daal.jpg",T8={url:A8},O8="/__l5e/assets-v1/b041708d-3f76-4bb2-a041-7d09efcdc6a1/paneer-anardana-kebab.jpg",N8={url:O8},D8="/__l5e/assets-v1/11aad109-bd40-43a6-b06b-74164294a83f/peshawri-kebab.jpg",I8={url:D8},P8="/__l5e/assets-v1/9e8baf6d-d0ea-4a80-b48d-f466659ead57/vegetarian-feast.jpg",j8={url:P8},L8="/__l5e/assets-v1/8ce4109c-e3c3-40d5-8dec-cf82f2501f6e/shikhampuri-kebab.jpg",M8={url:L8},B8="/__l5e/assets-v1/a9025759-973f-4a3d-8293-265ea96e23e5/barrah-kebab.jpg",$8={url:B8},z8="/__l5e/assets-v1/f813469f-ad40-466b-b97e-a66636ac8158/bharwan-sabz-tandoori.jpg",H8={url:z8},U8="/__l5e/assets-v1/96570224-aaf8-45dc-a04d-34244b7787da/tandoori-phool.jpg",K8={url:U8},V8="/__l5e/assets-v1/b061758f-3715-49d8-a199-033a376cea98/awadhi-biryani.jpg",F8={url:V8},q8="/__l5e/assets-v1/f38493d0-dee5-4e79-bf7d-34f627646e09/hariyali-chooza.jpg",G8={url:q8},W8="/__l5e/assets-v1/c52d52be-b30c-43cb-8303-9286754ac35c/moong-daal-halwa.jpg",Y8={url:W8},J8="/__l5e/assets-v1/22ba46bb-fcf3-4258-b304-3fb8a1f90163/seekh-patiala-shahi.jpg",Q8={url:J8},X8="/__l5e/assets-v1/ca12ece1-fd2a-4a3b-881b-2d1bba0385a3/chakhna-platter.jpg",Z8={url:X8},eq="/__l5e/assets-v1/1508b032-523e-4089-a578-f342421ace7e/smoked-platter.jpg",tq={url:eq},nq="/__l5e/assets-v1/ba641dfb-5480-4962-97a9-66925b576878/curries-sampler.jpg",aq={url:nq},VC=[{title:"Something to Start With",image:b8,imageAlt:"Indian starters — crispy sevpuri cups, papadums and chakhnas on a dark slate board",items:[{name:"Chakhna Platter",price:"$16",desc:"An ideal accompaniment for your drinks. Assortments of chakhnas (savouries) from the streets of India.",allergens:"Peanuts, Dairy",image:Z8.url,imageAlt:"Original photograph of the Chakhna Platter with street savouries"},{name:"Papadams",price:"$7",desc:"Papadams served with mint yoghurt chutney.",allergens:"Dairy"},{name:"Sevpuri",price:"$17",desc:"Crispy cups topped with condiments, veggies, herbs and assorted chutneys.",allergens:"Gluten, Dairy"}]},{title:"Kebabiya Sharing Platters",note:"Served with our 3 speciality chutneys, onion lacha salad, chana chat and mix bread basket",items:[{name:"Non-Vegetarian Platter (suits 4)",price:"$139",desc:"Seekh Patiala Shahi, Peshawri Kebab, Hariyali Chooza and Shikhampuri Kebab. With 2 rumali rotis & 2 zaffrani naans.",components:["Seekh Patiala Shahi","Peshawri Kebab","Hariyali Chooza","Shikhampuri Kebab","Rumali Roti","Zaffrani Naan","Onion Lacha Salad","Chana Chat (tempered black chickpeas)"]},{name:"Vegetarian Platter (suits 4)",price:"$129",desc:"Harra Bhara Kebab, Bharwan Sabz Tandoori, Paneer Anardana Kebab and Malai Chap. With 2 rumali rotis & 2 zaffrani naans.",components:["Harra Bhara Kebab (4 pcs)","Bharwan Sabz Tandoori","Paneer Anardana Kebab","Malai Chap","Rumali Roti","Zaffrani Naan","Onion Lacha Salad","Chana Chat (tempered black chickpeas)"]},{name:"Chicken Lovers Platter (suits 4)",price:"$135",desc:"Shikhampuri Kebab, Hariyali Chooza, Chicken Seekh Kebab and Abeer-e-Surkh. With 2 rumali rotis & 2 zaffrani naans.",components:["Shikhampuri Kebab","Hariyali Chooza","Chicken Seekh Kebab","Abeer-e-Surkh","Rumali Roti","Zaffrani Naan","Onion Lacha Salad","Chana Chat (tempered black chickpeas)"]},{name:"Smoked Platter — Non-Vegetarian (suits 2)",price:"$72",desc:"Peshawri Kebab, Lamb Shami Kebab, Shikhampuri Kebab and Punjabi by Nature. With 2 rumali rotis & 1 zaffrani naan.",components:["Peshawri Kebab","Shami Kebab","Shikhampuri Kebab","Punjabi by Nature","Rumali Roti","Zaffrani Naan","Onion Lacha Salad","Chana Chat (tempered black chickpeas)"],image:tq.url,imageAlt:"Original photograph of the Smoked Platter served under a smoke-filled glass dome"},{name:"Vegetarian Platter (suits 2)",price:"$68",desc:"Tandoori Phool, Paneer Anardana Kebab, Malai Chap and Dahi Ke Kebab. With 2 rumali rotis & 1 zaffrani naan.",components:["Tandoori Phool","Paneer Anardana Kebab","Malai Chap","Dahi Ke Kebab (4 pcs)","Rumali Roti","Zaffrani Naan","Onion Lacha Salad","Chana Chat (tempered black chickpeas)"]},{name:"Kebabiya Curries Sampler (suits 2)",price:"$49",desc:"A sampler of 3 curries from our curry section, served with onion lacha salad and 2 garlic naans.",components:["Kebabiya Special Daal","Chandani Gosht (Dum Style)","Keema (Dum Style)","Chicken Ghee Roast","Butter Chicken","Paneer Tikka Masala","Chicken Curry Mughlai","Kofta E Zamarud","Onion Lacha Salad","Garlic Naan"],componentChoice:!0,image:aq.url,imageAlt:"Original photograph of the Kebabiya Curries Sampler with three curries in copper bowls"},{name:"Add Kebabiya Daal",price:"$17",desc:"Rich, slow-cooked lentils finished with a touch of butter.",noPage:!0},{name:"Add Regular Biryani / Large",price:"$18 / $32",desc:"Aromatic dum biryani — choice of flavours.",noPage:!0}]},{title:"One Man Feast",note:"Our most popular — a whole feast, plated for one (no swaps, no substitutions)",image:UC,imageAlt:"A One Man Feast plated tray with grilled kebabs, fresh naan, daal and chutneys",items:[{name:"Mix Kebab Feast",price:"$42",desc:"Barrah Kebab, Shikhampuri Kebab, Kebabiya Daal with rumali roti, zaffrani naan, onion lacha salad and chutneys.",components:["Barrah Kebab","Shikhampuri Kebab","Kebabiya Special Daal","Rumali Roti","Zaffrani Naan","Onion Lacha Salad"]},{name:"Vegetarian Feast",price:"$35",desc:"Paneer Anardana Kebab, Malai Chap, Kebabiya Daal with rumali roti, zaffrani naan, accompaniments, onion lacha salad and chutneys.",components:["Paneer Anardana Kebab","Malai Chap","Kebabiya Special Daal","Rumali Roti","Zaffrani Naan","Onion Lacha Salad"],image:j8.url,imageAlt:"Original photograph of the Vegetarian Feast with daal, kebabs and breads"},{name:"Keema in Cob",price:"$24",desc:"Our traditional Keema Pav served with a twist. A feel-good dish."},{name:"Delhi Feast",price:"$29",desc:"Half Bhatti Da Murg or Paneer Anardana Kebab served with muska sauce, rumal
116i roti, butter naan and onion lacha salad.",components:["Bhatti Da Murg","Paneer Anardana Kebab","Rumali Roti","Butter Naan","Onion Lacha Salad"],componentChoice:!0},{name:"Rampur Special Feast",price:"$32",desc:"Shikhampuri Kebab and Chandani Gosht served with rumali roti, zaffrani naan and onion lacha salad.",components:["Shikhampuri Kebab","Chandani Gosht (Dum Style)","Rumali Roti","Zaffrani Naan","Onion Lacha Salad"]}],subSections:[{title:"Only for Kids",items:[{name:"Malai Feast",price:"$22",desc:"Shikhampuri Kebab or Malai Chap, mini butter naan, mint yoghurt chutney and a mango smoothie.",components:["Shikhampuri Kebab","Malai Chap","Butter Naan","Mint Yoghurt Chutney"],componentChoice:!0},{name:"Aussie Feast",price:"$22",desc:"Chicken tenders with tomato sauce, potato fries and a mango smoothie."}]}]},{title:"Bespoke Menu",note:"$59 per person · group menu (min. 4) · dine-in only · no takeaways",items:[{name:"Starters to Share",desc:"Chakhna Platter",noPage:!0},{name:"Kebabs to Share",desc:"Select any 3 from chicken, lamb or veg (max one lamb kebab; Barrah Kebab excluded)",noPage:!0},{name:"Mains to Share",desc:"Select any 3 curries and a choice of biryani",noPage:!0},{name:"Dessert to Share",desc:"Gulab jamun with rabri",noPage:!0},{name:"Masala Chai",desc:"A cup of comfort",noPage:!0},{name:"Accompaniments",desc:"Assorted breads and assorted condiments",noPage:!0},{name:"How it works",desc:"Sharing-style for the whole table. Each dish is served once with extra plain or garlic naan as needed. Not unlimited; whole table must participate.",noPage:!0}]},{title:"Chicken Kebabs",note:"Served with chutneys, rumali roti & onion lacha salad",image:p8,imageAlt:"Assorted Indian chicken kebabs on a dark slate board with lemon, mint and onion lacha",items:[{name:"Bhatti Da Murg",price:"Half $18 / Full $32",desc:"The “King of the Kebabs” — bone-in chicken marinated overnight in yoghurt and spices, grilled to perfection.",allergens:"Dairy",linkTo:"/tandoori-chicken",image:R8.url,imageAlt:"Original photograph of Bhatti Da Murg served on a grill",imageSmall:!0},{name:"Shikhampuri Kebab",price:"$29",desc:"Tender chicken in a smooth blend of yoghurt, cream, cheese, roasted channa daal and subtle spices, grilled for a juicy, smoky finish.",allergens:"Dairy",image:M8.url,imageAlt:"Original photograph of Shikhampuri Kebab with cream drizzle and naan"},{name:"Chicken Seekh Kebab",price:"$26",desc:"Melt-in-mouth chicken mince with cashews and fragrant spices.",allergens:"Cashews, Dairy",linkTo:"/seekh-kebab"},{name:"Abeer-e-Surkh",price:"$29",desc:"Our friend Abeer's special hot 'n' spicy recipe — not for the faint-hearted.",allergens:"Dairy",image:x8.url,imageAlt:"Original photograph of Abeer-e-Surkh chicken tikka with peppers and chutneys"},{name:"Hariyali Chooza",price:"$29",desc:"Boneless chicken with coriander, mint chutney and English spinach, slow roasted.",allergens:"Dairy",image:G8.url,imageAlt:"Original photograph of Hariyali Chooza with chutneys and salad"},{name:"Punjabi by Nature",price:"$29",desc:"Classic tandoori tikka — yoghurt, mustard oil and aromatic Punjabi spices.",allergens:"Dairy",linkTo:"/tandoori-chicken"},{name:"Add Yakhni Rice",price:"$7",desc:"Pairs best with Bhatti Da Murg, Abeer-e-Surkh or Punjabi by Nature.",noPage:!0}]},{title:"Lamb Kebabs",note:"Served with chutneys, rumali roti & onion lacha salad",image:m8,imageAlt:"Lamb seekh and barrah kebabs glistening on a live grill with glowing embers",items:[{name:"Shami Kebab",price:"$28",desc:"Minced lamb with chickpea flour, spices and herbs — slow cooked and pan-fried."},{name:"Peshawri Kebab",price:"$35",desc:"Boneless lamb marinated in yoghurt, chickpea flour and fenugreek. Peshawar's best-known kebab.",allergens:"Dairy",image:I8.url,imageAlt:"Original photograph of Peshawri lamb kebab",imageSmall:!0},{name:"Seekh Patiala Shahi",price:"$26",desc:"Lamb mince seasoned with royal cumin, fresh mint and fenugreek leaves, cooked on skewers.",linkTo:"/seekh-kebab",image:Q8.url,imageAlt:"Original photograph of Seekh Patiala Shahi lamb kebabs with chutneys and salad"},{name:"Barrah Kebab",price:"$42",desc:"Our most popular. Lamb cutlets on the bone marinated in spice and yoghurt, grilled golden.",allergens:"Dairy",image:$8.url,imageAlt:"Original photograph of Barrah Kebab lamb cutlets on the bone"}]},{title:"Seafood Kebabs",note:"Served with onion lacha salad & mint coriander chutney",
116image:v8,imageAlt:"Tandoori prawns and Amritsari fish on a sizzling platter with lemon and mint chutney",items:[{name:"Amritsari Fish",price:"$30",desc:"Barramundi fillet coated with chef's spices and carom seeds, fried golden brown.",allergens:"Gluten"},{name:"Aatish-e-Jhinga",price:"$30",desc:"Tandoori prawns in chilli-garlic marinade, lemon juice and flambé (contains alcohol).",allergens:"Shellfish"}]},{title:"Vegetarian Kebabs",note:"Served with chutneys, rumali roti & onion lacha salad",image:g8,imageAlt:"Paneer tikka and tandoori vegetable skewers with bell peppers and broccoli, charred edges, on a dark plate",items:[{name:"Paneer Anardana Kebab",price:"$29",desc:"Paneer cubes and bell peppers marinated in yoghurt and dried pomegranate powder.",allergens:"Dairy",linkTo:"/paneer-tikka",image:N8.url,imageAlt:"Original photograph of Paneer Anardana Kebab with peppers and chutneys"},{name:"Dahi Ke Kebab (4 pcs)",price:"$16",desc:"Melt-in-your-mouth kebabs of spiced yoghurt and gram flour.",allergens:"Dairy, Gluten"},{name:"Harra Bhara Kebab (4 pcs)",price:"$16",desc:"Potato and spinach kebab with tangy green chilli flavour.",allergens:"Dairy, Gluten"},{name:"Malai Chap",price:"$29",desc:"Soy chunks marinated in cheese, cream, lemon juice and spices.",allergens:"Dairy, Soy"},{name:"Tandoori Phool",price:"$22",desc:"Broccoli, cauliflower and pineapple in spiced yoghurt marinade, slow roasted.",allergens:"Dairy",image:K8.url,imageAlt:"Original photograph of Tandoori Phool grilled vegetables with pineapple"},{name:"Bharwan Sabz Tandoori",price:"$24",desc:"Eggplant, mushroom and banana chilli stuffed with spiced paneer and herbs.",allergens:"Dairy",image:H8.url,imageAlt:"Original photograph of Bharwan Sabz Tandoori stuffed mushrooms and chilli"}]},{title:"Biryani",image:y8,imageAlt:"Hyderabadi dum biryani in a brass handi with saffron rice, tender lamb, mint and rose petals",items:[{name:"Dum Pukht Awadhi Murg Biryani",price:"$26",desc:"Rice and chicken infused with saffron and rose petals (served with smoked raita).",allergens:"Dairy",linkTo:"/biryani",image:F8.url,imageAlt:"Original photograph of Dum Pukht Awadhi Murg Biryani with rose petals and raita"},{name:"Hyderabadi Dum Biryani — Chicken/Lamb",price:"$26",desc:"Traditional Hyderabadi biryani 'dum' to perfection (with mirchi ka salan).",allergens:"Dairy, Peanuts",linkTo:"/biryani",image:KC.url,imageAlt:"Original photograph of the chicken Hyderabadi dum biryani"},{name:"Nawabi Tarkari Biryani",price:"$24",desc:"Hyderabadi-style rice and vegetables cooked in 'dum' (with smoked raita).",allergens:"Dairy",linkTo:"/biryani"},{name:"Shahi Soy & Chickpea Biryani",price:"$24",desc:"Fragrant basmati layered with soya chunks, chickpeas and caramelised onions in rich shahi flavours.",allergens:"Soy",linkTo:"/biryani"},{name:"Chicken Yakhni Rice",price:"$10",desc:"Soft, slightly savoury rice cooked with strands of saffron.",allergens:"Dairy"},{name:"Saffron Rice",price:"$8",desc:"Soft, slightly savoury rice cooked with strands of saffron.",allergens:"Dairy"}]},{title:"Kebabiya Special Curries",image:w8,imageAlt:"Butter chicken, dal makhani and paneer tikka masala in copper handis with steam rising",items:[{name:"Kebabiya Special Daal",price:"$23",desc:"Black lentils, tomatoes and ginger simmered for hours, finished with cream and a dollop of unsalted white butter.",allergens:"Dairy",image:T8.url,imageAlt:"Original photograph of Kebabiya Special Daal in a copper handi"},{name:"Chandani Gosht (Dum Style)",price:"$32",desc:"Bone-in lamb cooked with clarified butter, mustard oil and spices, topped with varq (silver leaf).",allergens:"Cashews, Dairy"},{name:"Keema (Dum Style)",price:"$29",desc:"Lamb mince with spice, yoghurt, ginger and mint, slow cooked with smoky flavours.",allergens:"Dairy"},{name:"Chicken Ghee Roast",price:"$34",desc:"Mangalorean chicken smothered in dry-roasted aromatic spices, tamarind and jaggery.",allergens:"Cashews, Dairy"},{name:"Butter Chicken",price:"$29",desc:"Smoky chicken tikka in our signature creamy tomato sauce with fenugreek.",allergens:"Cashews, Dairy"},{name:"Paneer Tikka Masala",price:"$29",desc:"Grilled paneer in spicy gravy with onions and capsicums.",allergens:"Dairy",linkTo:"/paneer-tikka"},{name:"Chicken Curry Mughlai",price:"$29",desc:"Named after Genghis Khan — rich, creamy Mughlai curry popular in the streets of Delhi.",allergens:"Cashews, Dairy"},{name:"Kofta E Zamarud",price:"$29",desc:"A timeless recipe born in the Mughal era: spiced cottage cheese and potato kofta in a rich, creamy spinach gravy infused with aromatic North Indian spices.",allergens:"Dairy"}]},{title:"Breads",note:"All breads contain gluten and dairy",image:S8,imageAlt:"Assorted Indian breads — saffron naan, garlic naan, butter naan and rumali roti on a wooden board",items:[{name:"Zaffrani Naan",price:"$7",desc:"Royal naan made with saffron and milk-infused dough — exclusive to Kebabiya."},{name:"Rumali Roti",price:"$4.5",desc:"Thin, soft handkerchief bread from the Mughal era."},{name:"Plain Naan",price:"$4.5",desc:"Traditional Indian flatbread."},{name:"Garlic Naan",price:"$5",desc:"Naan topped with roasted garlic. Add chillies +$1."},{name:"Butter Naan",price:"$6",desc:"Multi-layered naan with butter inside and outside."},{name:"Cheese Naan",price:"$7",desc:"Naan stuffed with tasty cheese. Add chilli or garlic +$2."},{name:"Chilli Naan",price:"$7",desc:"Spicy twist on the classic."},{name:"Tawa Wholemeal Roti",price:"$4.5",desc:"Traditional north Indian flatbread made with wheat."}]},{title:"Sides & Chutneys",items:[{name:"Onion Lacha Salad",price:"$3"},{name:"Chana Chat (tempered black chickpeas)",price:"$6"},{name:"Raita",price:"$4"},{name:"Mint Yoghurt Chutney",price:"$2"},{name:"Mint Coriander Chutney",price:"$2"},{name:"Mango Chilli Salsa",price:"$3"},{name:"Mirchi Ka Salan",price:"$4",allergens:"Peanuts, Sesame"},{name:"Yakhni Ki Chutney",price:"$3"}]},{title:"Dessert",note:"Life is short. Eat dessert first.",image:k8,imageAlt:"Indian dessert platter — gulab jamun with rabri, faluda ice cream and moong dal halwa",items:[{name:"Gulab Jamun",price:"$8",desc:"Served with rabri.",allergens:"Dairy, Gluten"},{name:"Faluda Ice Cream",price:"$12",desc:"Served with pistachio ice cream.",allergens:"Dairy"},{name:"Malpua",price:"$12",desc:"Served with rabdi.",allergens:"Dairy, Gluten"},{name:"Moong Daal Halwa",price:"$9",desc:"Garnished with almonds.",allergens:"Almonds, Dairy",image:Y8.url,imageAlt:"Photograph of Moong Daal Halwa garnished with almonds",imageSmall:!0},{name:"Brownie",price:"$12",desc:"Vanilla ice cream and chocolate dressing.",allergens:"Cashews, Dairy"},{name:"Chocolate Naan",price:"$14",desc:"Chocolate-stuffed naan topped with chocolate, served with ice cream.",allergens:"Dairy, Gluten, Eggs, Nuts"}]},{title:"Frozen Desserts",items:[{name:"Salty Praline Pistachio",price:"$12",allergens:"Dairy, Pistachio"},{name:"Mango & Cream",price:"$12",allergens:"Dairy, Egg"}]}];function rq(e){return e.toLowerCase().replace(/&/g,"and").replace(/[^a-z0-9]+/g,"-").replace(/(^-|-$)/g,"")}const My=VC.flatMap(e=>[...e.items,...e.subSections?.flatMap(t=>t.items)??[]].filter(t=>!t.noPage).map(t=>({...t,slug:rq(t.name),section:e.title,sectionImage:e.image,sectionImageAlt:e.imageAlt,sectionNote:e.note})));function IW(e){if(!e.components)return[];const t=new Set;for(const n of e.components){const r=My.find(s=>s.name===n);r?.allergens?.split(",").forEach(s=>t.add(s.trim())),r?.section==="Breads"&&(t.add("Gluten"),t.add("Dairy"))}return[...t].sort()}const iq=()=>ce(()=>import("./menu-27sEpdV9.js"),[]),sq=se()({head:()=>({meta:[{title:"Menu — Kebabs, Biryani & Curries | Kebabiya"},{name:"description",content:"Kebabiya's full menu: tandoori kebabs, lamb seekh, dum biryani, butter chicken, paneer tikka and saffron naan. Dine in Bella Vista or order online."},{property:"og:title",content:"Kebabiya Menu · Kebabs, Biryani & Curries"},{property:"og:description",content:"Tandoori kebabs, dum biryani, butter chicken, paneer tikka masala, saffron naan — Indian dining at Bella Vista, Sydney since 2014."},{property:"og:url",content:"https://kebabiya.com.au/menu"},{property:"og:type",content:"website"},{name:"twitter:card",content:"summary_large_image"}],links:[{rel:"canonical",href:"https://kebabiya.com.au/menu"}],scripts:[{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"Menu",name:"Kebabiya Menu",inLanguage:"en-AU",provider:{"@type":"Restaurant",name:"Kebabiya",servesCuisine:"Indian",address:{"@type":"PostalAddress",streetAddress:"Sky City, Level 1, A115, 20 Lexington Drive",addressLocality:"Bella Vista",addressRegion:"NSW",postalCode:"2153",addressCountry:"AU"}},hasMenuSection:VC.map(e=>
116({"@type":"MenuSection",name:e.title,description:e.note,...e.image?{image:`https://kebabiya.com.au${e.image}`}:{},hasMenuItem:e.items.filter(t=>!!t.price).map(t=>({"@type":"MenuItem",name:t.name,description:t.desc,url:`https://kebabiya.com.au${t.linkTo??"/menu"}`,offers:{"@type":"Offer",price:t.price.replace(/[^0-9.]/g,""),priceCurrency:"AUD",availability:"https://schema.org/InStock",url:`https://kebabiya.com.au${t.linkTo??"/menu"}`}}))}))})},{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"FAQPage",mainEntity:[{"@type":"Question",name:"What is the most popular dish at Kebabiya?",acceptedAnswer:{"@type":"Answer",text:"Our Bhatti Da Murg (tandoori chicken) and Hyderabadi Dum Biryani are guest favourites. The Bhatti Da Murg is marinated overnight in yoghurt and spices then grilled in the tandoor, while the biryani is slow-cooked dum style with saffron and rose petals."}},{"@type":"Question",name:"Does Kebabiya offer vegetarian options?",acceptedAnswer:{"@type":"Answer",text:"Yes — our vegetarian menu includes paneer anardana kebab, dahi ke kebab, harra bhara kebab, Malai Chap, tandoori phool, bharwan sabz tandoori and the Nawabi Tarkari Biryani. We also have a full range of vegetarian curries and breads."}},{"@type":"Question",name:"Can I order Kebabiya online for delivery?",acceptedAnswer:{"@type":"Answer",text:"Yes. You can order online for pickup or delivery across Norwest, Castle Hill, Kellyville and surrounding areas. We partner with major delivery platforms — simply click the Order Online button on our website."}},{"@type":"Question",name:"Where is Kebabiya located?",acceptedAnswer:{"@type":"Answer",text:"Kebabiya is located at Sky City, Level 1, A115, 20 Lexington Drive, Bella Vista NSW 2153. We serve dine-in guests from our Bella Vista restaurant and offer delivery across Sydney's Hills District."}},{"@type":"Question",name:"Does Kebabiya cater for groups or events?",acceptedAnswer:{"@type":"Answer",text:"Yes. We offer a bespoke group menu at $59 per person (minimum 4 guests, dine-in only). It includes shared starters, a selection of 3 kebabs, 3 curries with biryani, dessert and accompaniments. Contact us to book."}},{"@type":"Question",name:"Are there gluten-free options on the menu?",acceptedAnswer:{"@type":"Answer",text:"Many of our kebabs, curries and rice dishes are naturally gluten-free. Please inform our staff of any dietary requirements and they can guide you through the menu. Note that all breads contain gluten."}}]})}]}),component:le(iq,"component")}),oq=[{q:"Which Norwest Indian restaurant do locals recommend?",a:"Kebabiya is the long-standing local pick — ten years at Sky City, 4.2 stars across 2,000+ reviews. Fire-grilled kebabs, sealed-pot biryani and family sharing platters, two minutes from Norwest Marketown."},{q:"Is the Norwest Indian restaurant halal?",a:"Kebabiya's kitchen has been 100% halal-sourced end-to-e
116nd since 2014 — every meat dish comes from certified halal suppliers. Because we are fully licensed and serve alcohol, the restaurant itself isn't formally Halal-certified, but no meat in the kitchen is anything other than halal-sourced."},{q:"Can I order Norwest Indian delivery?",a:"Yes — free direct delivery across Norwest 2153 when you order on our site (no platform fees). Uber Eats and DoorDash also serve Norwest."},{q:"Is there a Norwest Indian restaurant for lunch near the business park?",a:"Yes — weekday lunch 12 noon to 3pm. Five minutes from Brookhollow, Century Circuit and Solent Circuit. Quick plates, biryani bowls, One-Man Feast tasting option."},{q:"Where is the Norwest Indian restaurant located?",a:"Kebabiya is inside Sky City, Level 1 (A115), 20 Lexington Drive, Bella Vista 2153 — two minutes from Norwest Marketown, six from Norwest Metro."}],lq=()=>ce(()=>import("./norwest-indian-restaurant-CrZ-CoW-.js"),[]),cq=se()({head:()=>({meta:[{title:"Norwest Indian Restaurant | Kebabiya"},{name:"description",content:"The Norwest Indian restaurant locals book — fire-grilled kebabs, dum biryani and sharing platters at Sky City, two minutes from Norwest Marketown."},{name:"keywords",content:"norwest indian restaurant, norwest indian, indian restaurant in norwest, norwest indian food, norwest indian delivery, norwest indian lunch, norwest indian catering, indian norwest sydney"},{property:"og:title",content:"Norwest Indian Restaurant · Kebabiya"},{property:"og:description",content:"Fire-grilled kebabs, dum biryani, sharing platters — two minutes from Norwest Marketown."},{property:"og:url",content:"https://kebabiya.com.au/norwest-indian-restaurant"},{property:"og:type",content:"website"}],links:[{rel:"canonical",href:"https://kebabiya.com.au/norwest-indian-restaurant"}],scripts:[{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"Restaurant",name:"Kebabiya — Norwest Indian Restaurant",url:"https://kebabiya.com.au/norwest-indian-restaurant",telephone:"+61288247944",servesCuisine:["Indian","North Indian","Kebabs","Biryani","Halal"],priceRange:"$$",acceptsReservations:"True",address:{"@type":"PostalAddress",streetAddress:"Sky City L1 A115, 20 Lexington Drive",addressLocality:"Bella Vista",addressRegion:"NSW",postalCode:"2153",addressCountry:"AU"},areaServed:[{"@type":"Place",name:"Norwest"},{"@type":"Place",name:"Norwest Business Park"},{"@type":"Place",name:"Bella Vista"},{"@type":"PostalCodeSpecification",postalCode:"2153",addressCountry:"AU"}],aggregateRating:{"@type":"AggregateRating",ratingValue:"4.2",reviewCount:"2000"},hasMenu:"https://kebabiya.com.au/menu"})},{type:"application/ld+json",children:JSON.stringify(ot(oq))}]}),component:le(lq,"component")}),uq=()=>ce(()=>import("./one-man-feast-DJDl-sYS.js"),[]),dq=se()({head:()=>({meta:[{title:"One Man Feast — Solo Indian Kebab Feasts | Kebabiya Bella Vista"},{name:"description",content:"Solo dining, done generously. Plated kebab feasts for one — Mix Kebab, Vegetarian, Keema Pav, Delhi and Rampur Special, plus a Kids' menu."},{property:"og:title",content:"One Man Feast · Kebabiya"},{property:"og:description",content:"A whole feast, plated for one. Kebabs, daal, breads and chutneys on a single tray."},{property:"og:image",content:UC}],links:[{rel:"canonical",href:"https://kebabiya.com.au/one-man-feast"}]}),component:le(uq,"component")}),hq=[{q:"What is paneer tikka?",a:"Paneer tikka is cubes of Indian fresh cheese (paneer) marinated in spiced yoghurt and grilled — traditionally in a clay tandoor. Vegetarian, smoky, and a north Indian classic."},{q:"Where can I find the best paneer tikka in Sydney?",a:"Kebabiya in Bella Vista has been firing paneer tikka in a real clay tandoor since 2014. Our signature Paneer Anardana uses hung yoghurt and dried pomegranate (anardana) for a sweet-tart edge that sets it apart in Sydney's Hills District."},{q:"Is your paneer fresh?",a:"Yes. Paneer is broken down and cubed daily, marinated for several hours, then skewered before service. No frozen blocks."},{q:"Is paneer tikka vegetarian and Jain-friendly?",a:"Vegetarian by default. Jain-friendly on request — flag it at booking and the kitchen prepares it without onion or garlic."},{q:"Can I order paneer tikka for catering?",a:"Yes. Paneer tikka is one of our most-ordered vegetarian catering items for Diwali dinners, temple functions and corporate lunches across the Hills. See the catering page or call the restaurant."}],fq=()=>ce(()=>import("./paneer-tikka-ClDqpuKk.js"),__vite__mapDeps([35,6])),Ol="https://kebabiya.com.au/paneer-tikka",pq=se()({head:()=>({meta:[{title:"Paneer Tikka Sydney — Tandoor-Grilled Indian Cottage Cheese | Kebabiya Bella Vista"},{name:"description",content:"Hand-cubed paneer marinated in hung yoghurt and pomegranate, fired in a clay tandoor. Paneer Anardana, Tandoori Phool, Malai Chap and Paneer Tikka Masala at Kebabiya Bella Vista — Sydney's Hills District since 2014."},{name:"keywords",content:"paneer tikka sydney, paneer tikka bella vista, best paneer sydney, vegetarian indian sydney, paneer tikka masala sydney, indian vegetarian hills district, tandoori paneer, paneer anardana"},{property:"og:title",content:"Paneer Tikka Sydney · Kebabiya Bella Vista"},{property:"og:description",content:"Hand-cubed paneer in hung yoghurt and dried pomegranate, grilled 
116in a real tandoor — the way paneer should be."},{property:"og:url",content:Ol},{property:"og:type",content:"website"}],links:[{rel:"canonical",href:Ol}],scripts:[{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"MenuItem",name:"Paneer Anardana (Paneer Tikka)",description:"House-set paneer and bell peppers in hung yoghurt and dried pomegranate marinade, fired in the coal tandoor.",url:Ol,suitableForDiet:["https://schema.org/VegetarianDiet"],offers:{"@type":"Offer",availability:"https://schema.org/InStock",priceCurrency:"AUD"}})},{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"Restaurant",name:"Kebabiya — Paneer Tikka, Sydney",url:Ol,telephone:"+61288247944",servesCuisine:["Indian","Vegetarian","North Indian","Tandoor"],priceRange:"$$",address:{"@type":"PostalAddress",streetAddress:"Sky City, Level 1, A115, 20 Lexington Drive",addressLocality:"Bella Vista",addressRegion:"NSW",postalCode:"2153",addressCountry:"AU"},aggregateRating:pn,sameAs:Gt,hasMenu:"https://kebabiya.com.au/menu"})},{type:"application/ld+json",children:JSON.stringify(ot(hq))}
116,{type:"application/ld+json",children:JSON.stringify(dt([{name:"Home",url:"https://kebabiya.com.au/"},{name:"Vegetarian",url:"https://kebabiya.com.au/vegetarian-indian-sydney"},{name:"Paneer Tikka",url:Ol}]))}]}),component:le(fq,"component")}),mq=()=>ce(()=>import("./party-packages-DBaJ-PtX.js"),__vite__mapDeps([36,19,37,38])),yq=se()({head:()=>({meta:[{title:"Kebabiya Party Packages Sydney · Spring Mehfil $700 for 25 Guests"},{name:"description",content:"One complete party package: Spring Mehfil. A full Kebabiya feast for 25 guests at $700 ($28 per guest) with free delivery within 5 km. Everything included — you invite the guests, Kebabiya brings the feast."},{property:"og:title",content:"Kebabiya Party Packages · Spring Mehfil for 25 Guests"},{property:"og:description",content:"Spring Mehfil: a complete Kebabiya feast for 25 guests at $700. Everything included, delivered hot to your door."},{property:"og:url",content:"https://kebabiya.com.au/party-packages"},{property:"og:type",content:"website"},{name:"twitter:card",content:"summary_large_image"}],links:[{rel:"canonical",href:"https://kebabiya.com.au/party-packages"}],scripts:[{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"FAQPage",mainEntity:[{"@type":"Question",name:"What is included in the Spring Mehfil party package?",acceptedAnswer:{"@type":"Answer",text:"Spring Mehfil includes Punjabi by Nature kebabs, Mixed Dahi Kebab & Hara Bhara Kebab, Chicken Ghee Roast, Kofta Zamarud, Yakhni Rice, Rumali Roti and Onion Lacha Salad — a complete Kebabiya feast for 25 guests. Everything is included: chutneys, salads and delivery within 5 km of Kebabiya."}},{"@type":"Question",name:"How much does the Spring Mehfil party package cost?",acceptedAnswer:{"@type":"Answer",text:"Spring Mehfil is $700 for 25 guests — $28 per guest for a complete fixed menu of kebabs, curries, biryani rice, breads and salad."}},{"@type":"Question",name:"Does Spring Mehfil include delivery?",acceptedAnswer:{"@type":"Answer",text:"Yes. Delivery is free within a 5 km radius of Kebabiya. For suburbs beyond 5 km, delivery is quoted by distance across Sydney metro."}},{"@type":"Question",name:"Is the Spring Mehfil menu halal? Can you cater vegetarian guests?",acceptedAnswer:{"@type":"Answer",text:"All Kebabiya catering is 100% halal-sourced from certified suppliers. We can plan vegetarian, vegan and Jain spreads alongside or instead of the standard menu — just tell us when you enquire."}},{"@type":"Question",name:"How far in advance should I book Spring Mehfil?",acceptedAnswer:{"@type":"Answer",text:"Book 24–48 hours ahead for most dates. For popular dates such as Diwali and New Year’s Eve, book 2–4 weeks ahead."}}]})}]}),component:le(mq,"component")}),gq=[{q:"Is this mandatory?",a:"Never. It's an offer, not a rule. Take part if it sounds good to you."},{q:"What if I'm expecting an important call?",a:"Tell our staff. We'll keep one phone within reach and only interrupt if it rings."},{q:"Can I take photos of the food first?",a:"Of course — snap, post, then lock it away. The platter looks better in person anyway."},{q:"Does my whole table have to opt in?",a:"Each guest decides. Even one phone in the box changes the feel of the meal."}],bq=()=>ce(()=>import("./phone-free-dining-DuxSK0an.js"),[]),vq=se()({head:()=>({meta:[{title:"#PhoneFreeDining — Digital Detox at the Table | Kebabiya"},{name:"description",content:"Hand your devices to Team Kebabiya at the start of your meal. Trade scrolling for conversation — and we'll send you home with a small gift."},{property:"og:title",content:"#PhoneFreeDining at Kebabiya"},{property:"og:description",content:"A digital detox at the dinner table. Hand over the phones, get a surprise gift on the way out."}],links:[{rel:"canonical",href:"https://kebabiya.com.au/phone-free-dining"}],scripts:[{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"FAQPage",mainEntity:gq.map(e=>({"@type":"Question",name:e.q,acceptedAnswer:{"@type":"Answer",text:e.a}}))})}]}),component:le(bq,"component")}
116),wq="/assets/hero-platter-LX5LPwWR.jpg",Sq=()=>ce(()=>import("./platters-CXgxJdJx.js"),[]),kq=se()({head:()=>({meta:[{title:"Sharing Platters & Family Dining | Kebabiya Bella Vista"},{name:"description",content:"A metre-long rustic wooden platter built for four and beyond. Mixed kebabs, biryani, naan and chutneys served down the centre of the table."},{property:"og:title",content:"Sharing Platters · Kebabiya"},{property:"og:description",content:"The platter at the centre of the table — built for families and big appetites."},{property:"og:image",content:wq}],links:[{rel:"canonical",href:"https://kebabiya.com.au/platters"}]}),component:le(Sq,"component")}),_q=()=>ce(()=>import("./press-Dad-hNlQ.js"),__vite__mapDeps([39,3])),xq=se()({head:()=>({meta:[{title:"Press & Reviews | Kebabiya Bella Vista"},{name:"description",content:"Press, reviews and ratings for Kebabiya Bella Vista — 4.2★ from 2,000+ Uber Eats reviews, ranked top 25 of 85 Bella Vista restaurants."},{property:"og:title",content:"Press · Kebabiya"},{property:"og:description",content:"Reviews, ratings and quotes from a decade of dining at Kebabiya Bella Vista."}],links:[{rel:"canonical",href:"https://kebabiya.com.au/press"}]}),component:le(_q,"component")}),Eq=()=>ce(()=>import("./press-kit-D2hmCEyG.js"),[]),Rq=se()({head:()=>({meta:[{title:"Press Kit — 10 Years of Kebabiya | Bella Vista, Sydney"},{name:"description",content:"Media assets, fact sheet and quotes for Kebabiya's 10-year anniversary, 19–21 May. Hi-res photography and press contact."},{property:"og:title",content:"Kebabiya Press Kit · 10 Years"},{property:"og:description",content:"Hi-res photography, fact sheet and press contact for Kebabiya's 10-year celebration."},{property:"og:image",content:Iy},{property:"og:url",content:"https://kebabiya.com.au/press-kit"}],links:[{rel:"canonical",href:"https://kebabiya.com.au/press-kit"}]}),component:le(Eq,"component")}),Cq=se()({beforeLoad:()=>{throw On({to:"/press",statusCode:301})}}),Aq=()=>ce(()=>import("./recipes-DXHVgplx.js"),[]),Tq=se()({component:le(Aq,"component")}),Oq=[{q:"What is a seekh kebab?",a:"A seekh kebab is spiced minced meat — traditionally lamb — moulded by hand around a long metal skewer (seekh) and grilled over live coals in a tandoor. Originating in the Mughal kitchens of north India and Pakistan, it's defined by its smoky char and soft, juicy interior."},{q:"Where can I get the best seekh kebab in Sydney?",a:"Kebabiya in Bella Vista has been making seekh kebabs since 2014. Our Seekh Patiala Shahi uses hand-minced lamb, royal cumin, fresh mint and fenugreek, cooked on skewers in a real clay tandoor."},{q:"Is your seekh kebab halal?",a:"Yes. All our lamb is sourced from certified halal suppliers in the Riverina region of NSW. The venue is fully licensed, so not formally Halal-certified — but no non-halal meat crosses our pass."},{q:"Do you have vegetarian seekh?",a:"Yes — our Veg Seekh Kebab is garden vegetables and soft paneer with aromatic spices, grilled on skewers in the tandoor."},{q:"Can I order seekh kebabs for delivery?",a:"Yes. Order direct from kebabiya.com.au (no platform fees) or via Uber Eats and DoorDash across the Hills. Seekh reheats cleanly on a hot pan — thirty seconds per side."}],Nq=()=>ce(()=>import("./seekh-kebab-D6wmVT4I.js"),__vite__mapDeps([40,6])),Nl="https://kebabiya.com.au/seekh-kebab",Dq=se()({head:()=>({meta:[{title:"Seekh Kebab Sydney — Lamb Mince on Skewers, Fire-Fired | Kebabiya Bella Vista"},{name:"description",content:"Hand-minced lamb seekh kebabs on skewers, fired in a clay tandoor. Royal cumin, fresh mint and fenugreek — Peshawar and Patiala-style seekh at Kebabiya Bella Vista, Sydney's Hills District since 2014."},{name:"keywords",content:"seekh kebab sydney, lamb seekh kebab sydney, indian kebabs sydney, seekh kebab bella vista, peshawri kebab, patiala seekh, kebabs hills district, tandoori lamb sydney"},{property:"og:title",content:"Seekh Kebab Sydney · Kebabiya Bella Vista"},{property:"og:description",content:"Hand-minced lamb, royal cumin, mint and fenugreek — moulded onto skewers and fired in the tandoor."},{property:"og:url",content:Nl},{property:"og:type",content:"website"}],links:[{rel:"canonical",href:Nl}],scripts:[{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"MenuItem",name:"Seekh Patiala Shahi (Lamb Seekh Kebab)",description:"Hand-minced lamb with royal cumin, mint and fenugreek, moulded onto skewers and fired in the coal tandoor.",url:Nl,suitableForDiet:"https://schema.org/
116HalalDiet",offers:{"@type":"Offer",availability:"https://schema.org/InStock",priceCurrency:"AUD"}})},{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"Restaurant",name:"Kebabiya — Seekh Kebab, Sydney",url:Nl,telephone:"+61288247944",servesCuisine:["Indian","Mughlai","North Indian","Kebab"],priceRange:"$$",address:{"@type":"PostalAddress",streetAddress:"Sky City, Level 1, A115, 20 Lexington Drive",addressLocality:"Bella Vista",addressRegion:"NSW",postalCode:"2153",addressCountry:"AU"},aggregateRating:pn,sameAs:Gt,hasMenu:"https://kebabiya.com.au/menu"})},{type:"application/ld+json",children:JSON.stringify(ot(Oq))},{type:"application/ld+json",children:JSON.stringify(dt([{name:"Home",url:"https://kebabiya.com.au/"},{name:"Kebabs",url:"https://kebabiya.com.au/indian-kebabs-sydney"},{name:"Seekh Kebab",url:Nl}]))}]}),component:le(Nq,"component")}),Iq=()=>ce(()=>import("./sonas-kitchen-d4LY3qTh.js"),[]),Pq=se()({head:()=>({meta:[{title:"Sona's Kitchen — Chilled Indian Meals by Kebabiya | Australia-wide"},{name:"description",content:"Sona's Kitchen is Kebabiya's sister brand: chef-crafted, slow-cooked Indian meals — butter chicken, dal makhani, biryani — chilled, never frozen. Stocked at Coles Local, Woolworths Metro, Harris Farm & IGA. Delivered Australia-wide."},{name:"keywords",content:"Sona's Kitchen, Sonas Kitchen, chilled Indian meals Australia, ready meals Sydney, Kebabchi, butter chicken delivery, Indian meal delivery Australia, Kebabiya sister brand"},{property:"og:title",content:"Sona's Kitchen — Chilled Indian Meals by Kebabiya"},{property:"og:description",content:"Chef-crafted, slow-cooked Indian meals from the team behind Kebabiya. Chilled, never frozen. Delivered Australia-wide."},{property:"og:url",content:"https://kebabiya.com.au/sonas-kitchen"},{property:"og:type",content:"website"},{property:"og:image",content:"https://kebabiya.com.au/og/sonas-kitchen.jpg"}],links:[{rel:"canonical",href:"https://kebabiya.com.au/sonas-kitchen"}],scripts:[{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"Organization",name:"Sona's Kitchen",url:"https://sonaskitchen.com.au",logo:"https://sonaskitchen.com.au/favicon.ico",parentOrganization:{"@type":"Restaurant",name:"Kebabiya",url:"https://kebabiya.com.au"},description:"Chef-crafted, slow-cooked chilled Indian meals delivered Australia-wide. Sister brand of Kebabiya, Bella Vista.",sameAs:["https://sonaskitchen.com.au","https://sonaskitchen.com.au/kebabchi"]})}]}),component:le(Iq,"component")}),jq=()=>ce(()=>import("./story-B8SMmOTm.js"),__vite__mapDeps([41,3])),Lq=se()({head:()=>({meta:[{title:"About Kebabiya — Founder, Philosophy & Ambience"},{name:"description",content:"Kebabiya is the vision of Sanjeev Sharma and Sona — kebabs, biryanis and tikkas at the centre of Indian cuisine, freshly grilled to order in Bella Vista."},{property:"og:title",content:"About Kebabiya"},{property:"og:description",content:"Founder Sanjeev Sharma, co-founder Sona, and the philosophy behind Kebabiya's freshly grilled-to-order kebabs."},{property:"og:image",content:"https://kebabiya.com.au/about/sanjeev.jpg"}],links:[{rel:"canonical",href:"https://kebabiya.com.au/story"}]}),component:le(jq,"component")}),Mq=[{q:"What is a tandoor and does Kebabiya use a real one?",a:"A tandoor is a bell-shaped clay oven fired with coals or wood that runs at 450°C. The heat radiates from every wall and the fat drips onto the coals to smoke the meat from below. Kebabiya has run a coal-and-clay tandoor at Bella Vista since 2014 — not a gas grill, not an electric oven."},{q:"What's on your tandoori menu?",a:"Eight kebabs (seekh, barrah, tandoori chicken, malai, galouti, reshmi, fish, paneer), vegetarian and vegan tandoor plates (tandoori broccoli, paneer tikka, cauliflower), and every naan, roti, paratha and kulcha slapped into the oven wall to order."},{q:"Is the tandoor visible from the dining room?",a:"Yes. Our kitchen is semi-open. From most tables you can see the tandoor chef pulling naan off the wall and skewers out of the pit. Ask for a seat near the pass if you want a closer view."},{q:"Where in Sydney can I book a tandoor restaurant for a group?",a:"Kebabiya Bella Vista seats groups of 8–20 with a phone call and accommodates larger private events with our metre-long tandoor platters. Free undercover parking at Sky City, six minutes from Castle Hill and fifteen from Rouse Hill."},{q:"Can I order tandoor dishes for delivery?",a:"Yes — our tandoor dishes travel well because they're low-moisture and high-char. Order direct (no platform fees) or via Uber Eats and DoorDash across the Hills District."}],Bq=()=>ce(()=>import("./tandoor-restaurant-sydney-Cs-cnJ9Y.js"),__vite__mapDeps([42,21])),gd="https://kebabiya.com.au/tandoor-restaurant-sydney",$q=se()({head:()=>({meta:[{title:"Tandoor Restaurant Sydney · Coal & Clay Since 2014 · Kebabiya Bella Vista"},{name:"description",content:"A live coal-and-clay tandoor at 450°C running from 5pm to close. Tandoori chicken, lamb chops, seekh, malai, paneer, fish and naan to order. Kebabiya Bella Vista."},{name:"keywords",content:"tandoor restaurant sydney, tandoori restaurant sydney, coal tandoor sydney, tandoori chicken sydney, tandoor bella vista, indian grill sydney, clay oven restaurant sydney"},{property:"og:title",content:"Tandoor Restaurant Sydney · Kebabiya Bella Vista"},{property:"og:description",content:"Live coal-and-clay tandoor. 450°C from 5pm. Ten years, one fire."},{property:"og:url",content:gd},{property:"og:type",content:"website"}],links:[{rel:"canonical",href:gd}],scripts:[{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"Restaurant",name:"Kebabiya — Tandoor Restaurant, Sydney",url:gd,telephone:"+61288247944",servesCuisine:["Indian","Tandoor","North Indian","Mughlai","Kebab","Halal"],priceRange:"$$",acceptsReservations:"True",address:{"@type":"PostalAddress",streetAddress:"Sky City, Level 1, A115, 20 Lexington Drive",addressLocality:"Bella Vista",addressRegion:"NSW",postalCode:"2153",addressCountry:"AU"},aggregateRating:pn,sameAs:Gt,hasMenu:"https://kebabiya.com.au/menu"})},{type:"application/ld+json",children:JSON.stringify(ot(Mq))}
116,{type:"application/ld+json",children:JSON.stringify(dt([{name:"Home",url:"https://kebabiya.com.au/"},{name:"Menu",url:"https://kebabiya.com.au/menu"},{name:"Tandoor Restaurant Sydney",url:gd}]))}]}),component:le(Bq,"component")}),zq=[{q:"Where can I find the best tandoori chicken in Sydney?",a:"Kebabiya in Bella Vista has been firing tandoori chicken in a real coal-and-clay tandoor since 2014. Our Bhatti Da Murg — bone-in, marinated overnight in yoghurt, ginger and Punjabi spices — is widely considered one of the best tandoori chickens in Sydney's Hills District."},{q:"Is your tandoori chicken halal?",a:"Every piece of chicken we cook is halal-sourced from certified suppliers, end-to-end since 2014. The venue is fully licensed (so not formally Halal-certified), but no non-halal meat crosses our pass."},{q:"Do you cook in a real tandoor?",a:"Yes — a traditional coal-and-clay tandoor at 450°C. The smoke, the char and the aroma come from coals under a clay pot, not a gas oven or convection."},{q:"How long does tandoori chicken take?",a:"Bhatti Da Murg (bone-in) hangs in the pit for about eight minutes and rests two more. Boneless tandoori variants come off in five. That's why we skewer to order rather than pre-cook — timing decides the dish."},{q:"Can I order tandoori chicken for delivery?",a:"Order direct from kebabiya.com.au (no platform fees) or via Uber Eats and DoorDash. Free direct delivery over $60 across Norwest, Castle Hill, Kellyville, Baulkham Hills and Cherrybrook."}],Hq=()=>ce(()=>import("./tandoori-chicken-CP8CR5Ts.js"),__vite__mapDeps([43,6])),Dl="https://kebabiya.com.au/tandoori-chicken",Uq=se()({head:()=>({meta:[{title:"Tandoori Chicken Sydney · Coal-Fired, Bone-In · Kebabiya Bella Vista"},{name:"description",content:"Real tandoori chicken in Sydney. Bone-in Bhatti Da Murg, Punjabi tikka, saffron kesari and creamy malai — marinated overnight, fired in a coal-and-clay tandoor at Kebabiya Bella Vista since 2014."},{name:"keywords",content:"tandoori chicken sydney, best tandoori chicken sydney, tandoori chicken bella vista, tandoori chicken hills district, chicken tikka sydney, bhatti da murg, halal tandoori sydney"},{property:"og:title",content:"Tandoori Chicken Sydney · Kebabiya Bella Vista"},{property:"og:description",content:"Bone-in, coal-fired, marinated overnight. Sydney's tandoori chicken done the way Punjab intended."},{property:"og:url",content:Dl},{property:"og:type",content:"website"}],links:[{rel:"canonical",href:Dl}],scripts:[{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"MenuItem",name:"Bhatti Da Murg (Tandoori Chicken)",description:"Bone-in chicken marinated overnight in hung yoghurt, mustard oil, ginger, garlic and Punjabi masala, then fired in a 450°C coal-and-clay tandoor.",url:Dl,suitableForDiet:"https://schema.org/HalalDiet",offers:{"@type":"Offer",availability:"https://schema.org/InStock",priceCurrency:"AUD"}})},{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"Restaurant",name:"Kebabiya — Tandoori Chicken, Sydney",url:Dl,telephone:"+61288247944",servesCuisine:["Indian","Tandoor","North Indian","Punjabi"],priceRange:"$$",address:{"@type":"PostalAddress",streetAddress:"Sky City, Level 1, A115, 20 Lexington Drive",addressLocality:"Bella Vista",addressRegion:"NSW",postalCode:"2153",addressCountry:"AU"},aggregateRating:pn,sameAs:Gt,hasMenu:"https://kebabiya.com.au/menu"})},{type:"application/ld+json",children:JSON.stringify(ot(zq))},{type:"application/ld+json",children:JSON.stringify(dt([{name:"Home",url:"https://kebabiya.com.au/"},{name:"Tandoor",url:"https://kebabiya.com.au/tandoor-restaurant-sydney"},{name:"Tandoori Chicken",url:Dl}]))}]}),component:le(Hq,"component")}),Kq=()=>ce(()=>import("./thank-you-DNv6rquO.js"),[]),Vq=se()({validateSearch:e=>({order_id:typeof e.order_id=="string"?e.order_id:void 0,email:typeof e.email=="string"?e.email:void 0,country:typeof e.country=="string"?e.country:void 0,delivery:typeof e.delivery=="string"?e.delivery:void 0}),head:()=>({meta:[{title:"Thank You | Kebabiya Bella Vista"},{name:"description",content:"Thanks for your order at Kebabiya Bella Vista. We'd love your feedback through Google Customer Reviews."},{name:"robots",content:"noindex,nofollow"}],links:[{rel:"canonical",href:"https://kebabiya.com.au/thank-you"}],scripts:[{src:"https://apis.google.com/js/platform.js?onload=renderOptIn",async:!0,defer:!0}]}),component:le(Kq,"component")}),Fq=()=>ce(()=>import("./unsubscribe-Dki3mkVa.js"),__vite__mapDeps([44,45])),qq=se()({validateSearch:e=>({t:typeof e.t=="string"?e.t:""}),head:()=>({meta:[{title:"Unsubscribe — Kebabiya"},{name:"robots",content:"noindex"}
116]}),component:le(Fq,"component")}),Gq=[{q:"Is Kebabiya vegetarian-friendly?",a:"Very. Twenty per cent of our menu is vegetarian and around half of the vegetarian menu is vegan on request. Paneer, dals, sabzis, tandoor vegetables, biryani, breads, chaats — a full vegetarian meal from starter to dessert is easy here."},{q:"Do you have vegan Indian dishes?",a:"Yes. Chana masala, aloo gobi, bhindi masala, tandoori broccoli, most daals (without butter or cream on request), and every vegetable biryani are vegan. Ask for the vegan menu on arrival — we mark them so you don't have to guess."},{q:"Are your paneer dishes made with fresh paneer?",a:"Every day. We set paneer in-house from full-cream milk and lemon — no rubbery bought-in blocks. It's why our paneer tikka holds together on the skewer and our palak paneer melts in the gravy."},{q:"Is there separate cooking for vegetarian dishes?",a:"The kitchen uses dedicated vegetarian sections and utensils for tandoor vegetables and vegetarian gravies. Kindly flag strict requirements at booking and we'll coordinate around them."},{q:"Can I get vegetarian catering for a Diwali or family event?",a:"Yes — vegetarian and Jain-friendly catering menus for home parties, temple functions and corporate events across the Hills District. See our catering page or call the restaurant."}],Wq=()=>ce(()=>import("./vegetarian-indian-sydney-kkW9n1v7.js"),__vite__mapDeps([46,21])),bd="https://kebabiya.com.au/vegetarian-indian-sydney",Yq=se()({head:()=>({meta:[{title:"Best Vegetarian Indian Restaurant Sydney · Kebabiya Bella Vista"},{name:"description",content:"House-set paneer, 18-hour dal makhani, tandoor vegetables and Nawabi tarkari biryani. Sydney's Hills District vegetarian Indian menu with generous vegan and Jain-friendly options."},{name:"keywords",content:"vegetarian indian sydney, vegetarian indian restaurant sydney, vegan indian sydney, paneer tikka sydney, dal makhani sydney, vegetarian indian bella vista, jain food sydney, diwali catering sydney"},{property:"og:title",content:"Vegetarian Indian in Sydney · Kebabiya Bella Vista"},{property:"og:description",content:"House paneer, 18-hour dal makhani, tandoor vegetables. Vegetarian, vegan and Jain-friendly options across the Hills."},{property:"og:url",content:bd},{property:"og:type",content:"website"}],links:[{rel:"canonical",href:bd}],scripts:[{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"Restaurant",name:"Kebabiya — Vegetarian Indian, Sydney",url:bd,telephone:"+61288247944",servesCuisine:["Indian","Vegetarian","Vegan","North Indian","Jain-friendly"],priceRange:"$$",acceptsReservations:"True",address:{"@type":"PostalAddress",streetAddress:"Sky City, Level 1, A115, 20 Lexington Drive",addressLocality:"Bella Vista",addressRegion:"NSW",postalCode:"2153",addressCountry:"AU"},aggregateRating:pn,sameAs:Gt,hasMenu:"https://kebabiya.com.au/menu"})},{type:"application/ld+json",children:JSON.stringify(ot(Gq))},{type:"application/ld+json",children:JSON.stringify(dt([{name:"Home",url:"https://kebabiya.com.au/"},{name:"Menu",url:"https://kebabiya.com.au/menu"},{name:"Vegetarian Indian Sydney",url:bd}]))}]}),component:le(Wq,"component")}),Jq=se()({beforeLoad:()=>{throw On({to:"/menu",statusCode:301})}}),Qq=se()({beforeLoad:()=>{throw On({to:"/",statusCode:301})}}),Xq=[{q:"What makes Kebabiya different from other Indian restaurants in Sydney?",a:"Kebabiya is built around the live-fire tandoor, not around curries. The menu leads with kebabs — coal-grilled to order — and biryani sealed with dough. Founder Sanjeev Sharma spent three decades in Indian kitchens across the world before opening Kebabiya in Bella Vista in 2014."},{q:"How long has Kebabiya been open?",a:"Since 2014 — more than a decade in the same dining room at Sky City, Bella Vista. Same kitchen, same founder, same commitment to live-fire cooking."},{q:"Is Kebabiya halal?",a:"Every meat dish is halal-sourced from certified suppliers, end-to-end since day one. Because Kebabiya is fully licensed and serves alcohol, the venue itself is not formally Halal-Certified, but no meat crosses the pass that isn't halal-sourced."},{q:"What is Phone-Free Dining?",a:"Our signature ritual. Guests hand their phones to our team at the start of the meal, trade scrolling for conversation, and go home with a small token gift. It changes the meal — try it once."}
116,{q:"What is Sharabiya?",a:"Sharabiya is our exclusive house-brew lager, designed to balance spice rather than compete with it. Only poured at Kebabiya. Joined by a creative cocktail list and BYO wine."},{q:"Do you source ingredients locally?",a:"Where possible, yes — halal-certified NSW meat suppliers, fresh produce from Sydney markets, aged basmati imported directly from India for our biryani. Spices are ground in-house weekly."},{q:"Have you won any awards or received media coverage?",a:"Kebabiya's been featured across Sydney's dining press and holds a 4.4★ Google rating with 2,000+ Uber Eats reviews averaging 4.2★. See our press page for coverage."}],Z_="/assets/grill-kOw5UDki.jpg",Zq=()=>ce(()=>import("./why-kebabiya-Bm1vbjff.js"),[]),vd="https://kebabiya.com.au/why-kebabiya",e9=se()({head:()=>({meta:[{title:"Why Kebabiya · Ten Years of Live Fire in Bella Vista"},{name:"description",content:"Ten years of live-fire tandoor cooking in Bella Vista. Halal-sourced kebabs, sealed-pot biryani, Phone-Free Dining and Sharabiya house brew. Founded by Sanjeev Sharma, 2014."},{property:"og:title",content:"Why Kebabiya · Ten Years of Live Fire"},{property:"og:description",content:"Founded 2014. Halal-sourced. Live-fire tandoor. Phone-Free Dining. Sharabiya. The Bella Vista story."},{property:"og:url",content:vd},{property:"og:type",content:"article"},{property:"og:image",content:`https://kebabiya.com.au${Z_}`}],links:[{rel:"canonical",href:vd}],scripts:[{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"Restaurant",name:"Kebabiya",url:vd,image:`https://kebabiya.com.au${Z_}`,founder:{"@type":"Person",name:"Sanjeev Sharma"},foundingDate:"2014",foundingLocation:"Bella Vista, Sydney",servesCuisine:["Indian","North Indian","Mughlai","Kebab","Biryani","Halal"],priceRange:"$$",telephone:"+61288247944",address:{"@type":"PostalAddress",streetAddress:"Sky City L1 A115, 20 Lexington Drive",addressLocality:"Bella Vista",addressRegion:"NSW",postalCode:"2153",addressCountry:"AU"},aggregateRating:pn,sameAs:Gt})},{type:"application/ld+json",children:JSON.stringify(ot(Xq))},{type:"application/ld+json",children:JSON.stringify(dt([{name:"Home",url:"https://kebabiya.com.au/"},{name:"Why Kebabiya",url:vd}]))}]}),component:le(Zq,"component")}),t9=()=>ce(()=>import("./catering.index-BmP-MMcW.js"),__vite__mapDeps([47,19,48,16,34,37])),n9=se()({head:()=>({meta:[{title:"Indian Catering Sydney · Party Menus & Feast Packages | Kebabiya"},{name:"description",content:"Explore the Kebabiya Food Drop Menu, bulk orders, fixed party packages and corporate catering across Sydney."},{property:"og:title",content:"Indian Catering Sydney · Four Ways to Feast | Kebabiya"},{property:"og:description",content:"Choose a curated feast, build your own spread, order a complete party package, or cater your office."},{property:"og:url",content:"https://kebabiya.com.au/catering"},{property:"og:type",content:"website"},{name:"twitter:card",content:"summary_large_image"}],links:[{rel:"canonical",href:"https://kebabiya.com.au/catering"}],scripts:[{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"FAQPage",mainEntity:[{"@type":"Question",name:"What catering options does Kebabiya offer for home parties?",acceptedAnswer:{"@type":"Answer",text:"Kebabiya offers the curated Food Drop Menu priced per guest, Bulk Orders, complete fixed Party Packages and Corporate Catering across Sydney."}},{"@type":"Question",name:"How much does Indian catering for a small party cost?",acceptedAnswer:{"@type":"Answer",text:"The Kebabiya Food Drop Menu starts at $37 per person. Bulk Orders are priced by item, while complete fixed party packages start at $700 for 25 guests."}},{"@type":"Question",name:"Can I get Indian catering delivered to my home?",acceptedAnswer:{"@type":"Answer",text:"Yes. Kebabiya delivers catering across Sydney metro. Complete party packages include free delivery within a 5 km radius of Kebabiya, while delivery charges for other menus depend on distance."}},{"@type":"Question",name:"Do you cater home parties with vegetarian, vegan or Jain food?",acceptedA
116nswer:{"@type":"Answer",text:"Yes. We plan vegetarian, vegan and Jain menus as a full spread, with options including paneer tikka, dahi ke kebab, hara bhara kebab, vegetable biryani, palak paneer and dal."}},{"@type":"Question",name:"Which Sydney suburbs do you cater to?",acceptedAnswer:{"@type":"Answer",text:"We cater across Sydney metro, including the Hills District, North Shore, Inner West, CBD, Eastern Suburbs, Parramatta and the Hawkesbury."}},{"@type":"Question",name:"How far in advance should I book Indian catering?",acceptedAnswer:{"@type":"Answer",text:"The Food Drop Menu, Bulk Orders and Party Packages need 24–48 hours notice. For popular dates such as Diwali and New Year’s Eve, book 2–4 weeks ahead."}}]})}]}),component:le(t9,"component")}),a9=()=>ce(()=>import("./catering.bulk-orders-huPSKYse.js"),[]),r9=se()({head:()=>({meta:[{title:"Kebabiya Bulk Orders Sydney · Pre-Order 24 Hrs Ahead"},{name:"description",content:"Kebabiya bulk orders: build your own feast with bulk trays of kebabs, biryani, curries, breads, salads and sides. Pre-order 24 hours ahead."},{property:"og:title",content:"Kebabiya Bulk Orders (Pre-Order 24 Hrs Ahead)"},{property:"og:description",content:"Pick your favourites and build a party-size Kebabiya spread with individual dishes and quantities."},{property:"og:url",content:"https://kebabiya.com.au/catering/bulk-orders"},{property:"og:type",content:"website"},{name:"twitter:card",content:"summary_large_image"}],links:[{rel:"canonical",href:"https://kebabiya.com.au/catering/bulk-orders"}]}),component:le(a9,"component")}),i9=()=>ce(()=>import("./catering.corporate-DJUGP0B5.js"),[]),s9=se()({head:()=>({meta:[{title:"Corporate Catering Sydney — Office Lunches | Kebabiya"},{name:"description",content:"Office lunches made effortless. Boardroom meal deals, sliders, wraps and biryani boxes for Sydney offices, meetings and team events."},{property:"og:title",content:"Corporate Catering · Kebabiya"},{property:"og:description",content:"Sliders, wraps and boxed meals — fresh, flavourful and ready to impress your team or clients."},{property:"og:url",content:"https://kebabiya.com.au/catering/corporate"}],links:[{rel:"canonical",href:"https://kebabiya.com.au/catering/corporate"}]}),component:le(i9,"component")}),o9=()=>ce(()=>import("./catering.food-drop--zVoZMma.js"),[]),l9=se()({head:()=>({meta:[{title:"Kebabiya Food Drop Menu Sydney · From $37pp"},{name:"description",content:"Curated Kebab and Biryani food drop menus for Sydney home parties. Choose a complete pre-designed spread from $37 per guest."},{property:"og:title",content:"Kebabiya Food Drop Menu · Curated Party Catering"},{property:"og:description",content:"Easy, complete Kebab and Biryani menus prepared for your guests and delivered across Sydney."},{property:"og:url",content:"https://kebabiya.com.au/catering/food-drop"},{property:"og:type",content:"website"},{name:"twitter:card",content:"summary_large_image"}],links:[{rel:"canonical",href:"https://kebabiya.com.au/catering/food-drop"}]}),component:le(o9,"component")}),c9=se()({beforeLoad:()=>{throw On({to:"/coo/login"})}}),u9=()=>ce(()=>import("./coo.admin-BWycqGlg.js"),__vite__mapDeps([49,50,51,16,17,48,1,52,29])),d9=se()({head:()=>({meta:[{title:"Platform Admin — Kebabiya AI COO"},{name:"robots",content:"noindex"}]}),component:le(u9,"component")}),h9=()=>ce(()=>import("./coo.bookings-qzVhK838.js"),__vite__mapDeps([53,24,51,16,17,48,1,52,29,54,55,56,15,38])),f9=se()({head:()=>({meta:[{title:"Bookings — Kebabiya AI COO"},{name:"robots",content:"noindex"}]}),component:le(h9,"component")}),p9=()=>ce(()=>import("./coo.business-health-DcdVROjc.js"),__vite__mapDeps([57,50,51,16,17,48,1,52,29])),m9=se()({head:()=>({meta:[{title:"Business Health Report — Kebabiya AI COO"},{name:"robots",content:"noindex"}]}),component:le(p9,"component")}),y9=()=>ce(()=>import("./coo.catering-NU4ZdQs2.js"),__vite__mapDeps([58,50,51,16,17,48,1,52,29])),g9=se()({head:()=>({meta:[{title:"Catering — Kebabiya AI COO"},{name:"robots",content:"noindex"}]}),component:le(y9,"component")}),b9=()=>ce(()=>import("./coo.chat-D9eUJWMb.js"),__vite__mapDeps([59,51,16,17,48,1,52,29,55,60])),v9=se()({head:()=>({meta:[{title:"AI COO Chat — Kebabiya"},{name:"robots",content:"noindex"}
116]}),component:le(b9,"component")}),w9=()=>ce(()=>import("./coo.dashboard-DTQA1mtx.js"),__vite__mapDeps([61,24,51,16,17,48,1,52,29,55,62,63])),S9=se()({head:()=>({meta:[{title:"Dashboard — Kebabiya AI COO"},{name:"robots",content:"noindex"}]}),component:le(w9,"component")}),k9=()=>ce(()=>import("./coo.franchise-BGx9ivHI.js"),__vite__mapDeps([64,50,51,16,17,48,1,52,29])),_9=se()({head:()=>({meta:[{title:"Franchise — Kebabiya AI COO"},{name:"robots",content:"noindex"}]}),component:le(k9,"component")}),x9=()=>ce(()=>import("./coo.inventory-DqHeK6u2.js"),__vite__mapDeps([65,50,51,16,17,48,1,52,29])),E9=se()({head:()=>({meta:[{title:"Inventory — Kebabiya AI COO"},{name:"robots",content:"noindex"}]}),component:le(x9,"component")}),R9=()=>ce(()=>import("./coo.labor-BWGlnhEp.js"),__vite__mapDeps([66,50,51,16,17,48,1,52,29])),C9=se()({head:()=>({meta:[{title:"Labor — Kebabiya AI COO"},{name:"robots",content:"noindex"}]}),component:le(R9,"component")}),A9=()=>ce(()=>import("./coo.login-DzzapSYJ.js"),__vite__mapDeps([67,16])),T9=se()({head:()=>({meta:[{title:"Sign in — Kebabiya AI COO"},{name:"description",content:"Sign in to your Kebabiya AI COO dashboard."},{name:"robots",content:"noindex"}]}),component:le(A9,"component")}),O9=()=>ce(()=>import("./coo.manufacturing-B98EmT2E.js"),__vite__mapDeps([68,50,51,16,17,48,1,52,29])),N9=se()({head:()=>({meta:[{title:"Manufacturing — Kebabiya AI COO"},{name:"robots",content:"noindex"}]}),component:le(O9,"component")}),D9=()=>ce(()=>import("./coo.menu-intelligence-EIFPkxuu.js"),__vite__mapDeps([69,24,51,16,17,48,1,52,29,70,54,55,71,25,26,72,73])),I9=se()({head:()=>({meta:[{title:"Menu Intelligence — Kebabiya AI COO"},{name:"robots",content:"noindex"}]}),component:le(D9,"component")}),P9=()=>ce(()=>import("./coo.multi-location-DMlUhwjY.js"),__vite__mapDeps([74,50,51,16,17,48,1,52,29])),j9=se()({head:()=>({meta:[{title:"Multi Location — Kebabiya AI COO"},{name:"robots",content:"noindex"}]}),component:le(P9,"component")}),L9=()=>ce(()=>import("./coo.payroll-export-eVos1_5r.js"),__vite__mapDeps([75,24,51,16,17,48,1,52,29,54,76,55,38,77,73])),M9=se()({head:()=>({meta:[{title:"Payroll Export — Kebabiya AI COO"},{name:"robots",content:"noindex"}]}),component:le(L9,"component")}),B9=()=>ce(()=>import("./coo.purchasing-BnTpJvz1.js"),__vite__mapDeps([78,50,51,16,17,48,1,52,29])),$9=se()({head:()=>({meta:[{title:"Purchasing — Kebabiya AI COO"},{name:"robots",content:"noindex"}]}),component:le(B9,"component")}),z9=()=>ce(()=>import("./coo.reviews-C1cn7w65.js"),__vite__mapDeps([79,24,45,51,16,17,48,1,52,29,54,80,55,71,38,26])),H9=se()({head:()=>({meta:[{title:"Reviews — Kebabiya AI COO"},{name:"robots",content:"noindex"}]}),component:le(z9,"component")}),U9=()=>ce(()=>import("./coo.sales-BAbULdvh.js"),__vite__mapDeps([81,24,51,16,17,48,1,52,29,70,54,55,71,25,26,72,62,63,77])),K9=se()({head:()=>({meta:[{title:"Sales Analytics — Kebabiya AI COO"},{name:"robots",content:"noindex"}]}),component:le(U9,"component")}),V9=()=>ce(()=>import("./coo.staff-DjtE5Ns3.js"),__vite__mapDeps([82,50,51,16,17,48,1,52,29])),F9=se()({head:()=>({meta:[{title:"Staff — Kebabiya AI COO"},{name:"robots",content:"noindex"}]}),component:le(V9,"component")}),q9=()=>ce(()=>import("./coo.supplier-intelligence-BGTpcNsc.js"),__vite__mapDeps([83,50,51,16,17,48,1,52,29])),G9=se()({head:()=>({meta:[{title:"Supplier Intelligence — Kebabiya AI COO"},{name:"robots",content:"noindex"}]}),component:le(q9,"component")}),W9=()=>ce(()=>import("./coo.timesheets-KPy5CF5a.js"),__vite__mapDeps([84,24,51,16,17,48,1,52,29,54,76,55,28,73])),Y9=se()({head:()=>({meta:[{title:"Timesheets — Kebabiya AI COO"},{name:"robots",content:"noindex"}]}),component:le(W9,"component")}),J9=()=>ce(()=>import("./dish._slug-DUeDMrih.js"),__vite__mapDeps([85,27,38,86])),Q9=()=>ce(()=>Promise.resolve().then(()=>kW),void 0),X9="https://kebabiya.com.au/dish",Z9=se()({loader:({params:e})=>{const t=My.find(n=>n.slug===e.slug);if(!t)throw e.slug==="barrah-kebab-4-pcs"?On({to:"/dish/$slug",params:{slug:"barrah-kebab"}}):rx();return{slug:t.slug}},head:({loaderData:e})=>{const t=My.find(s=>s.slug===e?.slug);
116if(!t)return{meta:[{title:"Dish not found | Kebabiya"},{name:"robots",content:"noindex"}]};const n=`${X9}/${t.slug}`,r=t.desc??`${t.name} from Kebabiya's ${t.section} menu in Bella Vista, Sydney.`;return{meta:[{title:`${t.name} — Allergens & Highlights | Kebabiya`},{name:"description",content:`${r} Allergen advice and highlights.`.slice(0,160)},{property:"og:title",content:`${t.name} · Kebabiya`},{property:"og:description",content:r},{property:"og:url",content:n},{property:"og:type",content:"article"},{name:"twitter:card",content:"summary"}],links:[{rel:"canonical",href:n}],scripts:[{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"MenuItem",name:t.name,description:r,url:n,...t.price?{offers:{"@type":"Offer",price:t.price.replace(/[^0-9.].*$/,"").replace(/[^0-9.]/g,""),priceCurrency:"AUD"}}:{}})},{type:"application/ld+json",children:JSON.stringify(dt([{name:"Home",url:"https://kebabiya.com.au/"},{name:"Menu",url:"https://kebabiya.com.au/menu"},{name:t.name,url:n}]))}]}},notFoundComponent:le(Q9,"notFoundComponent"),component:le(J9,"component")}),e7=se()({beforeLoad:()=>{throw On({to:"/menu",statusCode:301})}}),t7=se()({beforeLoad:()=>{throw On({to:"/menu",statusCode:301})}}),n7=()=>ce(()=>import("./recipes.index-BLJaPcol.js"),__vite__mapDeps([87,88,89,37,16])),a7=se()({head:()=>({meta:[{title:"Indian Recipes, Cooking Tips & Spice Guide | Kebabiya"},{name:"description",content:"Cook Kebabiya-inspired Indian food at home with signature recipes, practical chef tips and a clear guide to essential spices."},{property:"og:title",content:"Recipes from the Kebabiya Kitchen"},{property:"og:description",content:"Signature Indian recipes, live-fire cooking tips and a practical spice guide from Kebabiya in Bella Vista."},{property:"og:url",content:"https://kebabiya.com.au/recipes"},{property:"og:type",content:"website"},{name:"twitter:card",content:"summary_large_image"}],links:[{rel:"canonical",href:"https://kebabiya.com.au/recipes"}],scripts:[{type:"application/ld+json",children:JSON.stringify(dt([{name:"Home",url:"https://kebabiya.com.au/"},{name:"Recipes",url:"https://kebabiya.com.au/recipes"}]))}]}),component:le(n7,"component")}),r7=()=>ce(()=>import("./recipes.garam-masala-D_NZl0Vn.js"),__vite__mapDeps([90,88,27,16,34,37])),Km="https://kebabiya.com.au/recipes/garam-masala",i7=se()({head:()=>({meta:[{title:"Our Signature Garam Masala – The King of Spices | Kebabiya"},{name:"description",content:"Meet Kebabiya's signature garam masala: ten spices including mace, nutmeg, cinnamon, green cardamom and rose petals, blended for kebab marinades, gravies, biryanis and curries."},{property:"og:title",content:"Our Signature Garam Masala – The King of Spices"},{property:"og:description",content:"Ten spices blended the Kebabiya way for kebab marinades, gravies, biryanis and curries."},{property:"og:url",content:Km},{property:"og:type",content:"website"},{name:"twitter:card",content:"summary_large_image"}],links:[{rel:"canonical",href:Km}],scripts:[{type:"application/ld+json",children:JSON.stringify(dt([{name:"Home",url:"https://kebabiya.com.au/"},{name:"Recipes",url:"https://kebabiya.com.au/recipes"},{name:"Garam Masala",url:Km}]))}]}),component:le(r7,"component")}),s7=se()({beforeLoad:()=>{throw On({to:"/recipes/hyderabadi-dum-biryani/$variant",params:{variant:"chicken"},statusCode:301})}}),o7=()=>ce(()=>import("./coo.marketing.index-JyCqGIJ8.js"),__vite__mapDeps([91,24,45,51,16,17,48,1,52,29,54,72,92,55,60,71,15,86,38])),l7=se()({head:()=>({meta:[{title:"Marketing — Kebabiya AI COO"},{name:"robots",content:"noindex"}]}),component:le(o7,"component")}),c7=()=>ce(()=>import("./coo.marketing._campaignId-CcL5MFcp.js"),__vite__mapDeps([93,24,51,16,17,48,1,52,29,92,55,27,15])),u7=se()({head:()=>({meta:[{title:"Campaign — Kebabiya AI COO"},{name:"robots",content:"noindex"}]}),component:le(c7,"component")}),d7=()=>ce(()=>import("./coo.marketing.new-PPvhAyly.js"),__vite__mapDeps([94,24,45,51,16,17,48,1,52,29,54,72,80,92,55,15,62,73,56])),h7=se()({head:()=>({meta:[{title:"New Campaign — Kebabiya AI COO"},{name:"robots",content:"noindex"}
116]}),component:le(d7,"component")}),f7=()=>ce(()=>import("./recipes.hyderabadi-dum-biryani.index-DQwOIE38.js"),__vite__mapDeps([95,27,89,34,37])),Vm="https://kebabiya.com.au/recipes/hyderabadi-dum-biryani",p7=se()({head:()=>({meta:[{title:"Hyderabadi Dum Biryani Recipes – Chicken or Veg | Kebabiya"},{name:"description",content:"Choose Kebabiya's chicken or vegetable Hyderabadi dum biryani recipe, with full ingredients and step-by-step method."},{property:"og:title",content:"Hyderabadi Dum Biryani – Chicken or Veg"},{property:"og:description",content:"Two versions of our signature dum biryani to cook at home."},{property:"og:url",content:Vm},{property:"og:type",content:"website"},{name:"twitter:card",content:"summary_large_image"}],links:[{rel:"canonical",href:Vm}],scripts:[{type:"application/ld+json",children:JSON.stringify(dt([{name:"Home",url:"https://kebabiya.com.au/"},{name:"Recipes",url:"https://kebabiya.com.au/recipes"},{name:"Hyderabadi Dum Biryani",url:Vm}]))}]}),component:le(f7,"component")}),m7="/assets/recipe-biryani-veg-qLj_Lemd.jpg",FC=KC.url,PW={slug:"hyderabadi-dum-biryani",name:"Hyderabadi Dum Biryani",kicker:"Chicken or Veg · Dum cooked",description:"Our signature sealed-pot biryani, in two versions. Choose chicken or vegetable and cook it the Kebabiya way.",image:FC,imageAlt:"Hyderabadi dum biryani with fragrant basmati rice and fresh herbs"},ex=[{slug:"chicken",variant:"chicken",variantLabel:"Chicken",name:"Chicken Hyderabadi Dum Biryani",kicker:"Traditional Hyderabadi flavours · Dum cooked",description:"Delicately spiced with traditional Hyderabadi flavours and cooked in signature 'dum' style.",image:FC,imageAlt:"Hyderabadi chicken dum biryani with fragrant basmati rice and fresh herbs",prep:"30 min + 1 hr marinating",cook:"45 min",prepIso:"PT1H30M",cookIso:"PT45M",difficulty:"Intermediate",serves:"4",ingredients:[{items:["120g basmati rice and 4 cups water","300g chicken and 80g yoghurt","15g ginger-garlic paste and 12g salt","8g turmeric, 12g chilli powder and 25g Hyderabadi masala","1 medium onion, sliced, and 2 tablespoons lemon juice","Cardamom, cinnamon, pepper and cloves","2 tablespoons ghee","Chopped coriander, mint, kewra water and rose water"]}],method:[{items:["Marinate the chicken with yoghurt, ginger-garlic paste, salt, turmeric, chilli powder, Hyderabadi masala and lemon juice. Set aside for 1 hour.","Rinse the rice, then soak it for 30 minutes and drain.","Heat the ghee in a heavy-bottomed pan. Add the cardamom, cinnamon, pepper and cloves, then sauté briefly until fragrant.","Add the sliced onion and sauté for 2–3 minutes until golden brown.","Add the marinated chicken and cook for 10 minutes, until about three-quarters cooked.","Layer the soaked rice over the chicken. Scatter over chopped coriander and mint, then add a few drops each of kewra water and rose water.","Pour in 4 cups of water, cover tightly and cook gently for about 30 minutes, or until the chicken and rice are fully cooked."]}]},{slug:"veg",variant:"veg",variantLabel:"Veg",name:"Veg Hyderabadi Dum Biryani",kicker:"Vegetables & paneer · Dum cooked",description:"Garden vegetables and paneer marinated in Hyderabadi masala, layered with whole-spiced basmati, saffron and kewra.",image:m7,imageAlt:"Vegetable Hyderabadi dum biryani with paneer, peas and fresh herbs",prep:"30 min",cook:"35 min",prepIso:"PT30M",cookIso:"PT35M",difficulty:"Intermediate",serves:"4",ingredients:[{title:"For the rice",items:["Rice — 300 g","Ghee — 50 g","Cloves — 1 g","Bay leaves — 1 g","Cardamom — 
1161 g","Cinnamon sticks — 1 g","Pepper — 1 g","Salt — 15 g","Water — 4 cups"]},{title:"For the vegetable masala",items:["Carrots (1-inch pieces) — 62 g","Beans (1-inch pieces) — 62 g","Peas — 62 g","Cauliflower (1-inch pieces) — 75 g","Paneer (1-inch pieces) — 75 g","Hyderabadi biryani masala — 7.5 g","Salt — 13 g","Turmeric (haldi) — 2 g","Chilli powder — 5 g","Ginger-garlic paste — 32 g","Fried onions — 25 g","Yoghurt — 125 g","Lemon juice — 2.5 ml","Ghee — 25 ml","Mint, finely chopped, leaves only — 15 g","Coriander, finely chopped, leaves only — 15 g","Kewra — a few drops","Saffron strands — a few, mixed in warm milk"]}],method:[{title:"Masala",items:["Marinate all vegetables with yoghurt, ginger-garlic paste, salt, turmeric, chilli powder, ghee, fried onions, Hyderabadi masala and lemon juice. Set aside."]},{title:"Rice",items:["Rinse the rice, then soak it for 30 minutes and drain.","Heat the ghee in a pan. Add the cardamom, cinnamon, pepper and cloves, then sauté briefly until fragrant.","Add the rice and water and cook until done. Strain any excess water."]},{title:"Biryani",items:["Pour the vegetable masala mix into a heavy-bottomed pan (the ghee is already added).","Cook the mix for 10–15 minutes until the vegetables are almost done.","Spread the mix evenly in the pan and top with the cooked rice. Sprinkle over the kewra and saffron milk, then scatter with chopped coriander and mint."]}]}],y7=()=>ce(()=>import("./recipes.hyderabadi-dum-biryani._variant-lIybZN9h.js"),__vite__mapDeps([96,27,89,34,52])),g7=()=>ce(()=>import("./recipes.hyderabadi-dum-biryani._variant-DiOb3nrB.js"),[]),tx="https://kebabiya.com.au/recipes/hyderabadi-dum-biryani",b7=se()({loader:({params:e})=>{const t=ex.find(n=>n.slug===e.variant);if(!t)throw rx();return{slug:t.slug}},head:({loaderData:e})=>{const t=ex.find(s=>s.slug===e?.slug);if(!t)return{meta:[{title:"Recipe not found | Kebabiya"},{name:"robots",content:"noindex"}]};const n=`${tx}/${t.slug}`,r={"@context":"https://schema.org","@type":"Recipe",name:t.name,description:t.description,author:{"@type":"Organization",name:"Kebabiya"},prepTime:t.prepIso,cookTime:t.cookIso,recipeYield:t.serves,recipeIngredient:t.ingredients.flatMap(s=>s.items),recipeInstructions:t.method.flatMap(s=>s.items).map(s=>({"@type":"HowToStep",text:s}))};return{meta:[{title:`${t.name} Recipe | Kebabiya`},{name:"description",content:`Make ${t.name.toLowerCase()} at home with Kebabiya's full ingredient list and step-by-step method.`},{property:"og:title",content:`${t.name} Recipe`},{property:"og:description",content:t.description},{property:"og:url",content:n},{property:"og:type",content:"article"},{name:"twitter:card",content:"summary_large_image"}],links:[{rel:"canonical",href:n}],scripts:[{type:"application/ld+json",children:JSON.stringify(r)},{type:"application/ld+json",children:JSON.stringify(dt([{name:"Home",url:"https://kebabiya.com.au/"},{name:"Recipes",url:"https://kebabiya.com.au/recipes"},{name:"Hyderabadi Dum Biryani",url:tx},{name:t.name,url:n}]))}]}},notFoundComponent:le(g7,"notFoundComponent"),component:le(y7,"component")}),v7=gK.update({id:"/",path:"/",getParentRoute:()=>oe}),w7=vK.update({id:"/10-years",path:"/10-years",getParentRoute:()=>oe}),S7=SK.update({id:"/bella-vista-lunch",path:"/bella-vista-lunch",getParentRoute:()=>oe}),k7=mV.update({id:"/bella-vista-restaurants",path:"/bella-vista-restaurants",getParentRoute:()=>oe}),_7=gV.update({id:"/best-indian-restaurant-bella-vista",path:"/best-indian-restaurant-bella-vista",getParentRoute:()=>oe}),x7=kV.update({id:"/best-indian-restaurant-sydney",path:"/best-indian-restaurant-sydney",getParentRoute:()=>oe}),E7=AV.update({id:"/best-kebabs-bella-vista",path:"/best-kebabs-bella-vista",getParentRoute:()=>oe}),R7=PV.update({id:"/best-kebabs-sydney",path:"/best-kebabs-sydney",getParentRoute:()=>oe}),C7=BV.update({id:"/best-restaurants-bella-vista",path:"/best-restaurants-bella-vista",getParentRoute:()=>oe}),A7=zV.update({id:"/biryani",path:"/biryani",getParentRoute:()=>oe}),T7=KV.update({id:"/butter-chicken-sydney",path:"/butter-chicken-sydney",getParentRoute:()=>oe}),O7=VV.update({id:"/cafe-lunch-menu",path:"/cafe-lunch-menu",getParentRoute:()=>oe}),gc=qV.update({id:"/catering",path:"/catering",getParentRoute:()=>oe}),N7=GV.update({id:"/catering-and-events",path:"/catering-and-events",getParentRoute:()=>oe}),D7=JV.update({id:"/chicken-tikka-sydney",path:"/chicken-tikka-sydney",getParentRoute:()=>oe}),I7=ZV.update({id:"/contact",path:"/contact",getParentRoute:()=>oe}),P7=eF.update({id:"/contact-us",path:"/contact-us",getParentRoute:()=>oe}),j7=nF.update({id:"/decade-club",path:"/decade-club",getParentRoute:()=>oe}),L7=rF.update({id:"/delivery-returns",path:"/delivery-returns",getParentRoute:()=>oe}),M7=oF.update({id:"/drinks",path:"/drinks",getParentRoute:()=>oe}),B7=uF.update({id:"/faq",path:"/faq",getParentRoute:()=>oe}),$7=hF.update({id:"/franchise",path:"/franchise",getParentRoute:()=>oe}),z7=pF.update({id:"/gallery",path:"/gallery",getParentRoute:()=>oe}),H7=gF.update({id:"/garlic-naan-sydney",path:"/garlic-naan-sydney",getParentRoute:()=>oe}),U7=vF.update({id:"/gift-cards",path:"/gift-cards",getParentRoute:()=>oe}),K7=SF.update({id:"/halal",path:"/halal",getParentRoute:()=>oe}),V7=xF.update({id:"/halal-indian-restaurant-sydney",path:"/halal-indian-restaurant-sydney",getParentRoute:()=>oe}),F7=RF.update({id:"/indian-catering-bella-vista",path:"/indian-catering-bella-vista",getParentRoute:()=>oe}),q7=AF.update({id:"/indian-catering-home-parties",path:"/indian-catering-home-parties",getParentRoute:()=>oe}),G7=NF.update({id:"/indian-curries-sydney",path:"/indian-curries-sydney",getParentRoute:()=>oe}),W7=IF.update({id:"/indian-dinner-bella-vista",path:"/indian-dinner-bella-vista",getParentRoute:()=>oe}),Y7=jF.update({id:"/indian-grill-bella-vista",path:"/indian-grill-bella-vista",getParentRoute:()=>oe}),J7=BF.update({id:"/indian-kebabs-sydney",path:"/indian-kebabs-sydney",getParentRoute:()=>oe}),Q7=HF.update({id:"/indian-restaurant-bella-vista",path:"/indian-restaurant-bella-vista",getParentRoute:()=>oe}),X7=VF.update({id:"/indian-restaurant-castle-hill",path:"/indian-restaurant-castle-hill",getParentRoute:()=>oe}),Z7=GF.update({id:"/indian-restaurant-kellyville",path:"/indian-restaurant-kellyville",getParentRoute:()=>oe}),eG=JF.update({id:"/indian-restaurant-norwest",path:"/indian-restaurant-norwest",getParentRoute:()=>oe}),tG=ZF.update({id:"/indian-restaurant-rouse-hill",path:"/indian-restaurant-rouse-hill",getParentRoute:()=>oe}),nG=t8.update({id:"/indian-restaurants-hills-district",path:"/indian-restaurants-hills-district",getParentRoute:()=>oe}),aG=a8.update({id:"/kiosk",path:"/kiosk",getParentRoute:()=>oe}),rG=s8.update({id:"/lamb-biryani-sydney",path:"/lamb-biryani-sydney",getParentRoute:()=>oe}),iG=c8.update({id:"/lamb-rogan-josh-sydney",path:"/lamb-rogan-josh-sydney",getParentRoute:()=>oe}),sG=d8.update({id:"/locations",path:"/locations",getParentRoute:()=>oe}),oG=f8.update({id:"/loyalty",path:"/loyalty",getParentRoute:()=>oe}),lG=sq.update({id:"/menu",path:"/menu",getParentRoute:()=>oe}),cG=cq.update({id:"/norwest-indian-restaurant",path:"/norwest-indian-restaurant",getParentRoute:()=>oe}),uG=dq.update({id:"/one-man-feast",path:"/one-man-feast",getParentRoute:()=>oe}),dG=pq.update({id:"/paneer-tikka",path:"/paneer-tikka",getParentRoute:()=>oe}),hG=yq.update({id:"/party-packages",path:"/party-packages",getParentRoute:()=>oe}),fG=vq.update({id:"/phone-free-dining",path:"/phone-free-dining",getParentRoute:()=>oe}),pG=kq.update({id:"/platters",path:"/platters",getParentRoute:()=>oe}),mG=xq.update({id:"/press",path:"/press",getParentRoute:()=>oe}),yG=Rq.update({id:"/press-kit",path:"/press-kit",getParentRoute:()=>oe}),gG=Cq.update({id:"/press-reviews",path:"/press-reviews",getParentRoute:()=>oe}),bo=Tq.update({id:"/recipes",path:"/recipes",getParentRoute:()=>oe}),bG=Dq.update({id:"/seekh-kebab",path:"/seekh-kebab",getParentRoute:()=>oe}),vG=Pq.update({id:"/sonas-kitchen",path:"/sonas-kitchen",getParentRoute:()=>oe}),wG=Lq.update({id:"/story",path:"/story",getParentRoute:()=>oe}),SG=$q.update({id:"/tandoor-restaurant-sydney",path:"/tandoor-restaurant-sydney",getParentRoute:()=>oe}),kG=Uq.update({id:"/tandoori-chicken",path:"/tandoori-chicken",getParentRoute:()=>oe}),_G=Vq.update({id:"/thank-you",path:"/thank-you",getParentRoute:()=>oe}),xG=qq.update({id:"/unsubscribe",path:"/unsubscribe",getParentRoute:()=>oe}),EG=Yq.update({id:"/vegetarian-indian-sydney",path:"/vegetarian-indian-sydney",getParentRoute:()=>oe}),RG=Jq.update({id:"/weekday-lunch",path:"/weekday-lunch",getParentRoute:()=>oe}),CG=Qq.update({id:"/whatson",path:"/whatson",getParentRoute:()=>oe}),AG=e9.update({id:"/why-kebabiya",path:"/why-kebabiya",getParentRoute:()=>oe}),TG=n9.update({id:"/",path:"/",getParentRoute:()=>gc}
116),OG=r9.update({id:"/bulk-orders",path:"/bulk-orders",getParentRoute:()=>gc}),NG=s9.update({id:"/corporate",path:"/corporate",getParentRoute:()=>gc}),DG=l9.update({id:"/food-drop",path:"/food-drop",getParentRoute:()=>gc}),IG=c9.update({id:"/coo/",path:"/coo/",getParentRoute:()=>oe}),PG=d9.update({id:"/coo/admin",path:"/coo/admin",getParentRoute:()=>oe}),jG=f9.update({id:"/coo/bookings",path:"/coo/bookings",getParentRoute:()=>oe}),LG=m9.update({id:"/coo/business-health",path:"/coo/business-health",getParentRoute:()=>oe}),MG=g9.update({id:"/coo/catering",path:"/coo/catering",getParentRoute:()=>oe}),BG=v9.update({id:"/coo/chat",path:"/coo/chat",getParentRoute:()=>oe}),$G=S9.update({id:"/coo/dashboard",path:"/coo/dashboard",getParentRoute:()=>oe}),zG=_9.update({id:"/coo/franchise",path:"/coo/franchise",getParentRoute:()=>oe}),HG=E9.update({id:"/coo/inventory",path:"/coo/inventory",getParentRoute:()=>oe}),UG=C9.update({id:"/coo/labor",path:"/coo/labor",getParentRoute:()=>oe}),KG=T9.update({id:"/coo/login",path:"/coo/login",getParentRoute:()=>oe}),VG=N9.update({id:"/coo/manufacturing",path:"/coo/manufacturing",getParentRoute:()=>oe}),FG=I9.update({id:"/coo/menu-intelligence",path:"/coo/menu-intelligence",getParentRoute:()=>oe}),qG=j9.update({id:"/coo/multi-location",path:"/coo/multi-location",getParentRoute:()=>oe}),GG=M9.update({id:"/coo/payroll-export",path:"/coo/payroll-export",getParentRoute:()=>oe}),WG=$9.update({id:"/coo/purchasing",path:"/coo/purchasing",getParentRoute:()=>oe}),YG=H9.update({id:"/coo/reviews",path:"/coo/reviews",getParentRoute:()=>oe}),JG=K9.update({id:"/coo/sales",path:"/coo/sales",getParentRoute:()=>oe}),QG=F9.update({id:"/coo/staff",path:"/coo/staff",getParentRoute:()=>oe}),XG=G9.update({id:"/coo/supplier-intelligence",path:"/coo/supplier-intelligence",getParentRoute:()=>oe}),ZG=Y9.update({id:"/coo/timesheets",path:"/coo/timesheets",getParentRoute:()=>oe}),eW=Z9.update({id:"/dish/$slug",path:"/dish/$slug",getParentRoute:()=>oe}),tW=e7.update({id:"/menus/kebabiya-curries-sampler",path:"/menus/kebabiya-curries-sampler",getParentRoute:()=>oe}),nW=t7.update({id:"/menus/kebabiya-daal",path:"/menus/kebabiya-daal",getParentRoute:()=>oe}),aW=a7.update({id:"/",path:"/",getParentRoute:()=>bo}),rW=i7.update({id:"/garam-masala",path:"/garam-masala",getParentRoute:()=>bo}),iW=s7.update({id:"/hyderabadi-dum-biryani-chicken",path:"/hyderabadi-dum-biryani-chicken",getParentRoute:()=>bo}),sW=l7.update({id:"/coo/marketing/",path:"/coo/marketing/",getParentRoute:()=>oe}),oW=u7.update({id:"/coo/marketing/$campaignId",path:"/coo/marketing/$campaignId",getParentRoute:()=>oe}),lW=h7.update({id:"/coo/marketing/new",path:"/coo/marketing/new",getParentRoute:()=>oe}),cW=p7.update({id:"/hyderabadi-dum-biryani/",path:"/hyderabadi-dum-biryani/",getParentRoute:()=>bo}),uW=b7.update({id:"/hyderabadi-dum-biryani/$variant",path:"/hyderabadi-dum-biryani/$variant",getParentRoute:()=>bo}),dW={CateringBulkOrdersRoute:OG,CateringCorporateRoute:NG,CateringFoodDropRoute:DG,CateringIndexRoute:TG},hW=gc._addFileChildren(dW),fW={RecipesGaramMasalaRoute:rW,RecipesHyderabadiDumBiryaniChickenRoute:iW,RecipesIndexRoute:aW,RecipesHyderabadiDumBiryaniVariantRoute:uW,RecipesHyderabadiDumBiryaniIndexRoute:cW},pW=bo._addFileChildren(fW),mW={IndexRoute:v7,R10YearsRoute:w7,BellaVistaLunchRoute:S7,BellaVistaRestaurantsRoute:k7,BestIndianRestaurantBellaVistaRoute:_7,BestIndianRestaurantSydneyRoute:x7,BestKebabsBellaVistaRoute:E7,BestKebabsSydneyRoute:R7,BestRestaurantsBellaVistaRoute:C7,BiryaniRoute:A7,ButterChickenSydneyRoute:T7,CafeLunchMenuRoute:O7,CateringRoute:hW,CateringAndEventsRoute:N7,ChickenTikkaSydneyRoute:D7,ContactRoute:I7,ContactUsRoute:P7,DecadeClubRoute:j7,DeliveryReturnsRoute:L7,DrinksRoute:M7,FaqRoute:B7,FranchiseRoute:$7,GalleryRoute:z7,GarlicNaanSydneyRoute:H7,GiftCardsRoute:U7,HalalRoute:K7,HalalIndianRestaurantSydneyRoute:V7,IndianCateringBellaVistaRoute:F7,IndianCateringHomePartiesRoute:q7,IndianCurriesSydneyRoute:G7,IndianDinnerBellaVistaRoute:W7,IndianGrillBellaVistaRoute:Y7,IndianKebabsSydneyRoute:J7,IndianRestaurantBellaVistaRoute:Q7,IndianRestaurantCastleHillRoute:X7,IndianRestaurantKellyvilleRoute:Z7,IndianRestaurantNorwestRoute:eG,IndianRestaurantRouseHillRoute:tG,IndianRestaurantsHillsDistrictRoute:nG,KioskRoute:aG,LambBiryaniSydneyRoute:rG,LambRoganJoshSydneyRoute:iG,LocationsRoute:sG,LoyaltyRoute:oG,MenuRoute:lG,NorwestIndianRestaurantRoute:cG,OneManFeastRoute:uG,PaneerTikkaRoute:dG,PartyPackagesRoute:hG,PhoneFreeDiningRoute:fG,PlattersRoute:pG,PressRoute:mG,PressKitRoute:yG,PressReviewsRoute:gG,RecipesRoute:pW,SeekhKebabRoute:bG,SonasKitchenRoute:vG,StoryRoute:wG,TandoorRestaurantSydneyRoute:SG,TandooriChickenRoute:kG,ThankYouRoute:_G,UnsubscribeRoute:xG,VegetarianIndianSydneyRoute:EG,WeekdayLunchRoute:RG,WhatsonRoute:CG,WhyKebabiyaRoute:AG,CooAdminRoute:PG,CooBookingsRoute:jG,CooBusinessHealthRoute:LG,CooCateringRoute:MG,CooChatRoute:BG,CooDashboardRoute:$G,CooFranchiseRoute:zG,CooInventoryRoute:HG,CooLaborRoute:UG,CooLoginRoute:KG,CooManufacturingRoute:VG,CooMenuIntelligenceRoute:FG,CooMultiLocationRoute:qG,CooPayrollExportRoute:GG,CooPurchasingRoute:WG,CooReviewsRoute:YG,CooSalesRoute:JG,CooStaffRoute:QG,CooSupplierIntelligenceRoute:XG,CooTimesheetsRoute:ZG,DishSlugRoute:eW,MenusKebabiyaCurriesSamplerRoute:tW,MenusKebabiyaDaalRoute:nW,CooIndexRoute:IG,CooMarketingCampaignIdRoute:oW,CooMarketingNewRoute:lW,CooMarketingIndexRoute:sW},yW=oe._addFileChildren(mW),gW=()=>{const e=new wB;return xP({routeTree:yW,context:{queryClient:e},scrollRestoration:!0,defaultPreloadStaleTime:0})};async function bW(){const e=await gW();let t;if(yk){const n=await yk.getOptions();n.serializationAdapters=n.serializationAdapters??[],window.__TSS_START_OPTIONS__=n,t=n.seri
116alizationAdapters,e.options.defaultSsr=n.defaultSsr}else t=[],window.__TSS_START_OPTIONS__={serializationAdapters:t};return t.push(DI),e.options.serializationAdapters&&t.push(...e.options.serializationAdapters),e.update({basepath:"",serializationAdapters:t}),e.stores.ids.get().length||await v2(e),e}var vW=bW;function wW(){return vW().finally(()=>window.$_TSR?.h())}var Fm;function SW(){return Fm||(Fm=wW()),x.jsx(PI,{promise:Fm,children:e=>x.jsx(CP,{router:e})})}N.startTransition(()=>{mO.hydrateRoot(document,x.jsx(N.StrictMode,{children:x.jsx(SW,{})}))});const kW=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));export{Vq as $,FF as A,WF as B,QF as C,r8 as D,HC as E,DW as F,o8 as G,VC as H,rq as I,oq as J,Y_ as K,Pe as L,UC as M,hq as N,F_ as O,OW as P,gq as Q,Hl as R,vt as S,wq as T,Dy as U,W_ as V,Z_ as W,iF as X,Oq as Y,Mq as Z,zq as _,NW as a,P1 as a0,jP as a1,Ad as a2,R1 as a3,Gq as a4,Xq as a5,Oi as a6,j1 as a7,Rk as a8,ni as a9,wR as aA,SR as aB,Ez as aC,xz as aD,lB as aE,tB as aF,yy as aG,bE as aH,ZM as aI,eB as aJ,my as aK,mE as aL,pB as aM,rB as aN,hn as aO,DB as aP,y8 as aQ,rh as aR,Ut as aS,_a as aT,ZI as aU,_W as aV,AW as aa,PW as ab,ex as ac,UB as ad,mh as ae,RW as af,sc as ag,gB as ah,Qt as ai,ea as aj,CW as ak,yh as al,VB as am,Z9 as an,My as ao,IW as ap,KC as aq,S8 as ar,b7 as as,nx as at,gh as au,WB as av,dc as aw,u7 as ax,kz as ay,vR as az,kK as b,bV as c,_V as d,J_ as e,TV as f,Q_ as g,jV as h,HV as i,x as j,H1 as k,WV as l,uV as m,QV as n,X_ as o,Iy as p,lF as q,N as r,VM as s,mF as t,kF as u,TF as v,LF as w,$F as x,Kn as y,UF as z};

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.